/* Oye V27 – Cinematic homepage hero. Scoped to original theme hero only. */
.oye-cinema-hero {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  min-height: clamp(600px, 88svh, 1050px) !important;
  background: #211d1a !important;
  background-image: none !important;
}
.oye-cinema-hero.has-image { background-image: none !important; }
.oye-cinema-hero .oye-cinema-visuals,
.oye-cinema-hero .oye-cinema-endcard {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.oye-cinema-hero .oye-cinema-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1100ms ease-in-out;
  will-change: opacity;
}
.oye-cinema-hero .oye-cinema-frame.is-visible { opacity: 1; }
.oye-cinema-hero .oye-cinema-frame img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 43%;
  filter: saturate(.94) contrast(1.035);
}
.oye-cinema-hero .oye-cinema-frame.is-visible img {
  animation: oye-cinema-drift 7s ease-out both;
}
.oye-cinema-hero .oye-cinema-frame.is-alternate.is-visible img {
  animation-name: oye-cinema-drift-reverse;
}
@keyframes oye-cinema-drift {
  from { transform: scale(1.09) translateX(0); }
  to { transform: scale(1) translateX(-.7%); }
}
@keyframes oye-cinema-drift-reverse {
  from { transform: scale(1.02) translateX(-1.5%); }
  to { transform: scale(1.10) translateX(.7%); }
}
.oye-cinema-hero .oye-hero__veil {
  z-index: 1 !important;
  background: linear-gradient(90deg, rgba(9,8,7,.53) 0%, rgba(9,8,7,.19) 54%, rgba(9,8,7,.08) 100%),
    linear-gradient(0deg, rgba(9,8,7,.46), transparent 53%) !important;
  transition: opacity 900ms ease;
}
.oye-cinema-hero .oye-hero__content {
  position: relative;
  z-index: 3;
  transition: opacity 650ms ease, transform 650ms ease;
}
.oye-cinema-hero .oye-hero__content.oye-cinema-copy--intro {
  animation: oye-cinema-text-in 900ms cubic-bezier(.22,.8,.2,1) both;
}
@keyframes oye-cinema-text-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
.oye-cinema-hero .oye-hero__scroll { z-index: 3; right: max(145px, 10vw); }
.oye-cinema-hero .oye-cinema-endcard {
  z-index: 2;
  background: radial-gradient(circle at 50% 42%, #41352f 0%, #181410 60%, #100e0c 100%);
  opacity: 0;
  transition: opacity 1100ms ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  color: #fffaf3;
}
.oye-cinema-hero .oye-cinema-endcard.is-visible { opacity: 1; }
.oye-cinema-hero .oye-cinema-brand {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(94px, 13vw, 240px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.07em;
  transform: translateY(20px) scale(.96);
  opacity: 0;
  transition: transform 900ms 200ms ease, opacity 900ms 200ms ease;
}
.oye-cinema-hero .oye-cinema-endcard.is-visible .oye-cinema-brand {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.oye-cinema-hero .oye-cinema-brand img {
  display: block;
  width: min(34vw, 360px);
  max-height: 210px;
  object-fit: contain;
}
.oye-cinema-hero .oye-cinema-endcard p {
  color: #e3d7c7;
  font-size: clamp(9px, 1vw, 13px);
  text-align: center;
  letter-spacing: .2em;
  margin: 0;
}
.oye-cinema-hero.oye-cinema--endcard .oye-hero__content,
.oye-cinema-hero.oye-cinema--endcard .oye-hero__scroll {
  opacity: 0;
  pointer-events: none;
}
.oye-cinema-hero .oye-cinema-controls {
  position: absolute;
  z-index: 5;
  right: clamp(18px, 4vw, 70px);
  bottom: clamp(20px, 3vw, 45px);
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
}
.oye-cinema-hero .oye-cinema-progress {
  display: block;
  height: 2px;
  width: clamp(45px, 6vw, 100px);
  background: rgba(255,255,255,.35);
  overflow: hidden;
}
.oye-cinema-hero .oye-cinema-progress__fill { display: block; height: 100%; width: 100%; transform-origin: left; background: #fff; transform: scaleX(0); }
.oye-cinema-hero .oye-cinema-progress__fill.is-animating { animation: oye-cinema-progress 6000ms linear forwards; }
@keyframes oye-cinema-progress { from {transform: scaleX(0)} to {transform: scaleX(1)} }
.oye-cinema-hero .oye-cinema-toggle {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  min-width: 93px;
  min-height: 40px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 0;
  background: rgba(16,15,14,.24);
  color: #fff;
  cursor: pointer;
  padding: 7px 13px;
  font-family: inherit;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  backdrop-filter: blur(6px);
}
.oye-cinema-hero .oye-cinema-toggle:hover,
.oye-cinema-hero .oye-cinema-toggle:focus-visible {
  background: rgba(16,15,14,.65);
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.oye-cinema-hero .oye-cinema-toggle__icon { font-family: Arial,sans-serif; font-size: 15px; }
.oye-cinema-hero.oye-cinema--paused .oye-cinema-frame.is-visible img,
.oye-cinema-hero.oye-cinema--paused .oye-cinema-progress__fill { animation-play-state: paused !important; }
@media (max-width: 640px) {
  .oye-cinema-hero { min-height: 76svh !important; }
  .oye-cinema-hero .oye-cinema-frame img { object-position: center; }
  .oye-cinema-hero .oye-hero__content { padding-bottom: 100px; }
  .oye-cinema-hero .oye-hero__veil {
    background: linear-gradient(to top, rgba(9,8,7,.79), rgba(9,8,7,.2) 65%) !important;
  }
  .oye-cinema-hero .oye-cinema-controls { right: 18px; bottom: 16px; gap: 12px; }
  .oye-cinema-hero .oye-cinema-progress { width: 46px; }
  .oye-cinema-hero .oye-cinema-toggle { min-width: 78px; }
  .oye-cinema-hero .oye-cinema-endcard p { max-width: 250px; line-height: 1.8; }
  .oye-cinema-hero .oye-cinema-brand img { width: min(55vw, 250px); }
}
/* V27.3 — mobile-first cinematic composition.
   The visual slideshow is given its own stage above the editorial copy.
   The existing slideshow, logo endcard and pause controls are unchanged. */
@media (max-width: 767px) {
  .oye-cinema-hero {
    --oye-cinema-mobile-stage: clamp(320px, 100vw, 600px);
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    background: #f7f3ec !important;
    color: #171410 !important;
  }

  /* The photos remain fully visible; mobile no longer crops the handbag
     or places headline/buttons over the product. */
  .oye-cinema-hero .oye-cinema-visuals {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    width: 100% !important;
    height: var(--oye-cinema-mobile-stage) !important;
    flex: 0 0 var(--oye-cinema-mobile-stage) !important;
    overflow: hidden !important;
    background: #898581 !important;
  }
  .oye-cinema-hero .oye-cinema-frame {
    position: absolute;
    inset: 0;
  }
  .oye-cinema-hero .oye-cinema-frame img {
    object-fit: contain !important;
    object-position: center center !important;
  }
  .oye-cinema-hero .oye-cinema-frame.is-visible img {
    animation: oye-cinema-mobile-drift 7s ease-out both;
  }
  .oye-cinema-hero .oye-cinema-frame.is-alternate.is-visible img {
    animation-name: oye-cinema-mobile-drift-reverse;
  }
  @keyframes oye-cinema-mobile-drift {
    from { transform: scale(1); }
    to   { transform: scale(1.025); }
  }
  @keyframes oye-cinema-mobile-drift-reverse {
    from { transform: scale(1.025); }
    to   { transform: scale(1); }
  }

  /* The dark overlay was necessary for overlaid white text on desktop.
     Mobile copy now lives on its own light background. */
  .oye-cinema-hero .oye-hero__veil {
    display: none !important;
  }
  .oye-cinema-hero .oye-cinema-endcard {
    inset: 0 0 auto 0 !important;
    width: 100% !important;
    height: var(--oye-cinema-mobile-stage) !important;
    padding: 18px !important;
  }
  .oye-cinema-hero .oye-cinema-brand img {
    width: min(55vw, 250px);
  }

  /* Preserve the original controls; position them within the photograph,
     not over the explanatory copy. */
  .oye-cinema-hero .oye-cinema-controls {
    top: calc(var(--oye-cinema-mobile-stage) - 58px) !important;
    right: 16px !important;
    bottom: auto !important;
    left: auto !important;
    gap: 10px !important;
    color: #fff !important;
  }
  .oye-cinema-hero .oye-cinema-progress { width: 46px !important; }
  .oye-cinema-hero .oye-cinema-toggle {
    min-width: 78px !important;
    background: rgba(16,15,14,.66) !important;
  }

  /* Editorial copy follows the animation; all links stay clickable. */
  .oye-cinema-hero .oye-hero__content {
    position: relative !important;
    z-index: 3;
    width: min(92vw, 600px) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 28px 0 44px !important;
    flex: 0 0 auto !important;
    color: #171410 !important;
  }
  .oye-cinema-hero .oye-hero__content .oye-kicker {
    margin: 0 0 12px !important;
    color: #6d6861 !important;
  }
  .oye-cinema-hero .oye-hero__content h1 {
    max-width: 100% !important;
    margin: 0 !important;
    font-size: clamp(38px, 10vw, 54px) !important;
    line-height: 1.02 !important;
  }
  .oye-cinema-hero .oye-hero__copy {
    max-width: 100% !important;
    margin: 14px 0 0 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    color: #504b45 !important;
  }
  .oye-cinema-hero .oye-hero__actions {
    gap: 14px 22px !important;
    margin-top: 22px !important;
  }
  .oye-cinema-hero .oye-hero__actions .oye-button--light {
    background: #171410 !important;
    color: #fff !important;
    border-color: #171410 !important;
  }
  .oye-cinema-hero .oye-hero__actions .oye-button--light:hover,
  .oye-cinema-hero .oye-hero__actions .oye-button--light:focus-visible {
    background: transparent !important;
    color: #171410 !important;
  }
  .oye-cinema-hero .oye-link-on-dark { color: #171410 !important; }
  .oye-cinema-hero .oye-hero__scroll { display: none !important; }

  /* Logo finale covers only the photo stage. Keep the editorial copy below
     usable and visible instead of blanking the lower half of the page. */
  .oye-cinema-hero.oye-cinema--endcard .oye-hero__content {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oye-cinema-hero .oye-cinema-frame,
  .oye-cinema-hero .oye-cinema-endcard,
  .oye-cinema-hero .oye-cinema-brand,
  .oye-cinema-hero .oye-hero__content { animation: none !important; transition: none !important; }
  .oye-cinema-hero .oye-cinema-frame img,
  .oye-cinema-hero .oye-cinema-progress__fill { animation: none !important; }
}
