/* Product Hero (Oscilla Product Header) */
.product-hero {
  position: relative;
  overflow: hidden;
}
.product-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
}
.product-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* Style 1 — Image Overlay */
.product-hero--style-1 {
  background-color: #5519e4; /* fallback when no image uploaded yet */
}
.product-hero--style-1 .product-hero__overlay {
  background: linear-gradient(90deg,
    rgba(20, 10, 45, 0.10) 0%,
    rgba(85, 25, 228, 0.45) 42%,
    rgba(108, 33, 226, 0.94) 100%);
}
.product-hero__inner {
  position: relative;
  z-index: 2;
}
.product-hero--style-1 .product-hero__container {
  min-height: 78vh;
  display: flex;
  align-items: center;
}
.product-hero__content {
  padding: 60px 0;
  color: #fff;
  max-width: 600px;
}
.product-hero--align-right .product-hero__content {
  margin-left: auto;
}
.product-hero--align-center .product-hero__content {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.product-hero--align-left .product-hero__content {
  margin-right: auto;
}
.product-hero__eyebrow {
  display: inline-block;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  opacity: 0.9;
  margin-bottom: 10px;
}
.product-hero__heading,
.product-hero__heading h1,
.product-hero__heading h2,
.product-hero__heading h3 {
  color: #fff;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1.18;
  margin: 0;
}
.product-hero__body {
  color: #f3eefe;
  font-size: 1.02rem;
  line-height: 1.65;
  margin-top: 18px;
}
.product-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.product-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  border-radius: 50px;
  padding: 12px 28px;
  min-height: 48px;          /* consistent height: filled & outline match */
  min-width: 180px;          /* short labels don't look cramped */
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.25s ease;
}
.product-hero__btn--light { background: #fff; color: #2a1666; }
.product-hero__btn--light:hover { background: #ede7ff; color: #2a1666; }
.product-hero__btn--dark { background: #111; color: #fff; }
.product-hero__btn--dark:hover { background: #000; color: #fff; transform: translateY(-2px); }

/* =========================================================================
   Style 2 — Image Split / Light: light banner background, content block on
   the LEFT with dark text (product name in near-black, descriptor in brand
   purple), product image composed on the right of the banner. No dark overlay.
   ========================================================================= */
.product-hero--style-2 {
  background-color: #f1f1f3; /* fallback before the banner loads */
}
.product-hero--style-2 .product-hero__media img {
  object-position: right center; /* keep the device visible on wide crops */
}
.product-hero--style-2 .product-hero__overlay {
  background: none;
}
.product-hero--style-2 .product-hero__container {
  min-height: 62vh;
  display: flex;
  align-items: center;
}
.product-hero--style-2 .product-hero__content {
  color: #1a1a1a;
  max-width: 560px;
}
.product-hero--style-2 .product-hero__eyebrow {
  color: var(--taevas-blue, #5519e4);
  opacity: 1;
}
.product-hero--style-2 .product-hero__heading,
.product-hero--style-2 .product-hero__heading h1,
.product-hero--style-2 .product-hero__heading h2,
.product-hero--style-2 .product-hero__name {
  color: #111;
}
.product-hero--style-2 .product-hero__tagline {
  color: var(--taevas-purple, #7c3aed);
}
.product-hero--style-2 .product-hero__body {
  color: #555;
}
/* On the light background: 1st CTA = filled purple, others = outline. */
.product-hero--style-2 .product-hero__btn--light {
  background: var(--taevas-blue, #5519e4);
  color: #fff;
}
.product-hero--style-2 .product-hero__btn--light:hover {
  background: #4413c0;
  color: #fff;
  transform: translateY(-2px);
}
.product-hero--style-2 .product-hero__btn--dark {
  background: transparent;
  color: var(--taevas-blue, #5519e4);
  border: 1.5px solid var(--taevas-blue, #5519e4);
}
.product-hero--style-2 .product-hero__btn--dark:hover {
  background: var(--taevas-blue, #5519e4);
  color: #fff;
  transform: translateY(-2px);
}

/* =========================================================================
   Style 3 — Banner artwork hero. The supplied banner already has the heading,
   copy and CTAs baked into the artwork, so we display it as-is (responsive
   desktop/mobile sources, shown at natural aspect — never cropped).
   PROVISIONS for future live content: populate the hero fields (eyebrow,
   two-tone heading, body, buttons) and the overlay below renders over the
   banner; swap the image for a device-only cutout when that happens.
   ========================================================================= */
.product-hero--style-3 .product-hero__media {
  position: relative;     /* in flow: the banner defines the hero height */
  inset: auto;
}
.product-hero--style-3 .product-hero__media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.product-hero--style-3 .product-hero__overlay { display: none; }
/* Live-overlay provisions (only visible once hero fields are populated) */
.product-hero--style-3 .product-hero__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}
.product-hero--style-3 .product-hero__container { min-height: 0; }
.product-hero--style-3 .product-hero__content { color: #fff; max-width: 600px; }
.product-hero--style-3 .product-hero__eyebrow { color: var(--taevas-purple, #a046f0); opacity: 1; }
.product-hero--style-3 .product-hero__name { color: var(--taevas-purple, #a046f0); }
.product-hero--style-3 .product-hero__tagline,
.product-hero--style-3 .product-hero__heading,
.product-hero--style-3 .product-hero__heading h1,
.product-hero--style-3 .product-hero__heading h2 { color: #fff; }
.product-hero--style-3 .product-hero__body { color: #e9e3fb; }

/* =========================== Responsive =========================== */
/* The site navbar is position:absolute over the hero (≈66px tall on mobile,
   ≈82px on tablet). On smaller screens we top-align the hero content and add
   top clearance so the heading never sits beneath the logo / hamburger. */

/* Tablet (≤991px) */
@media (max-width: 991px) {
  .product-hero--style-1 .product-hero__container,
  .product-hero--style-2 .product-hero__container {
    align-items: flex-start;
    min-height: 0;
    padding-top: 104px;
    padding-bottom: 52px;
  }
  .product-hero__content { padding: 0; max-width: 640px; }
  .product-hero__heading,
  .product-hero__heading h1,
  .product-hero__heading h2 { font-size: 2.2rem; }
  /* style 1 keeps a readable photo height behind the content */
  .product-hero--style-1 .product-hero__container { min-height: 58vh; }
  /* style 2: device banner sits behind a light scrim so dark text stays legible */
  .product-hero--style-2 .product-hero__overlay {
    background: linear-gradient(180deg, rgba(241,241,243,0.94) 0%, rgba(241,241,243,0.74) 48%, rgba(241,241,243,0.25) 100%);
  }
  .product-hero--style-2 .product-hero__media img { object-position: center bottom; }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
  .product-hero--style-1 .product-hero__container,
  .product-hero--style-2 .product-hero__container {
    padding-top: 84px;
    padding-bottom: 36px;
  }
  .product-hero--style-1 .product-hero__container { min-height: 0; }
  .product-hero__content { padding: 0; text-align: left; max-width: 100%; margin: 0; }
  .product-hero--align-center .product-hero__content { text-align: center; }
  .product-hero__heading,
  .product-hero__heading h1,
  .product-hero__heading h2 { font-size: 1.9rem; line-height: 1.2; }
  .product-hero__body { font-size: 0.95rem; margin-top: 14px; }
  .product-hero__buttons { gap: 10px; margin-top: 22px; }
  .product-hero__btn { padding: 11px 22px; font-size: 0.92rem; min-height: 46px; min-width: 150px; }
}

/* Small phones (≤480px) */
@media (max-width: 480px) {
  .product-hero__heading,
  .product-hero__heading h1,
  .product-hero__heading h2 { font-size: 1.6rem; }
  .product-hero__body { font-size: 0.92rem; }
  .product-hero__buttons { flex-direction: column; align-items: stretch; }
  .product-hero__btn { width: 100%; min-width: 0; }
}
