/* =========================================================
   Aromatic Hero — main-slider (full-bleed lifestyle + editorial)
   Store font comes from layout.jinja (--aro-font / customization)
   ========================================================= */

.aro-hero {
  --aro-navy: #1a428a;
  --aro-navy-deep: #0f2856;
  --aro-ink: #12305f;
  --aro-muted: #5a5f66;
  --aro-danger: #c63a2a;
  --aro-sky: #a1b1c8;
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--aro-hero-fallback, var(--aro-navy-deep));
  isolation: isolate;
}

.aro-hero__viewport {
  position: relative;
  height: auto;
  min-height: 0;
}

.aro-hero__slide {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.8s ease;
  z-index: 1;
}

.aro-hero__slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  z-index: 2;
}

.aro-hero__slide--editorial.is-active {
  min-height: 560px;
}

/* ---------- Lifestyle media ---------- */
.aro-hero__media {
  position: relative;
  display: block;
  line-height: 0;
  width: 100%;
}

.aro-hero__picture {
  display: block;
  width: 100%;
}

.aro-hero__bg-img,
.aro-hero__video {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  vertical-align: top;
}

.aro-hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.aro-hero__shade--side {
  background: linear-gradient(
    300deg,
    rgba(9, 22, 44, 0.88) 0%,
    rgba(9, 22, 44, 0.6) 32%,
    rgba(9, 22, 44, 0.2) 62%,
    rgba(9, 22, 44, 0.05) 82%
  );
}

.aro-hero__shade--bottom {
  background: linear-gradient(
    to top,
    rgba(9, 22, 44, 0.62),
    rgba(9, 22, 44, 0.2) 40%,
    transparent 62%
  );
}

.aro-hero__shade--top {
  display: none;
  background: linear-gradient(
    to bottom,
    rgba(9, 22, 44, 0.5) 0%,
    rgba(9, 22, 44, 0.28) 32%,
    rgba(9, 22, 44, 0.06) 55%,
    transparent 68%
  );
}

html[dir="ltr"] .aro-hero__shade--side {
  background: linear-gradient(
    60deg,
    rgba(9, 22, 44, 0.88) 0%,
    rgba(9, 22, 44, 0.6) 32%,
    rgba(9, 22, 44, 0.2) 62%,
    rgba(9, 22, 44, 0.05) 82%
  );
}

/* ---------- Lifestyle content ---------- */
.aro-hero__content {
  position: absolute;
  inset: 0;
  z-index: 3;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: start;
  color: var(--aro-hero-text, #fff);
}

.aro-hero__eyebrow {
  font-family: var(--aro-font);
  font-size: 12px;
  color: rgb(255, 255, 255);
  margin-bottom: 14px;
  font-weight: 600;
}

.aro-hero__title {
  font-family: var(--aro-font);
  font-size: 46px;
  line-height: 1.25;
  font-weight: 800;
  color: #fff;
  margin: 0 0 16px;
  max-width: 600px;
  margin-inline-start: 0;
  margin-inline-end: auto;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.35);
}

.aro-hero__sub {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  max-width: 400px;
  margin: 0 0 28px;
  margin-inline-start: 0;
  margin-inline-end: auto;
  font-weight: 300;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.aro-hero__actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.aro-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 100px;
  padding: 13px 30px;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  border: 1.5px solid transparent;
  line-height: 1;
}

.aro-hero__btn--ghost {
  background: none;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.aro-hero__btn--ghost:hover,
.aro-hero__btn--ghost:focus-visible {
  background: #fff;
  color: var(--aro-navy-deep);
  border-color: #fff;
  outline: none;
}

.aro-hero__btn--solid {
  background: var(--aro-navy);
  border-color: var(--aro-navy);
  color: #fff;
  padding: 12px 26px;
}

.aro-hero__btn--solid:hover,
.aro-hero__btn--solid:focus-visible {
  background: var(--aro-ink);
  border-color: var(--aro-ink);
  outline: none;
}

html[dir="ltr"] .aro-hero__btn svg {
  transform: scaleX(-1);
}

/* Floating product card — physical left (matches Aromatic reference) */
.aro-hero__product-card {
  position: absolute;
  z-index: 4;
  left: 52px;
  right: auto;
  bottom: 64px;
  width: 320px;
  max-width: 320px;
  box-sizing: border-box;
  background: rgba(20, 28, 42, 0.22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease;
}

.aro-hero__product-card:hover,
.aro-hero__product-card:focus-visible {
  transform: translateY(-3px);
  outline: none;
}

.aro-hero__product-card-thumb {
  flex: none;
  width: 74px;
  height: 74px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef2f7;
}

.aro-hero__product-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.aro-hero__product-card-body {
  min-width: 0;
  text-align: start;
  flex: 1;
}

.aro-hero__product-card-badge {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--aro-sky);
  margin-bottom: 4px;
}

.aro-hero__product-card-title {
  font-family: var(--aro-font);
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}

.aro-hero__product-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  padding-bottom: 2px;
}

html[dir="ltr"] .aro-hero__product-card-cta svg {
  transform: scaleX(-1);
}

/* ---------- Editorial layout ---------- */
.aro-hero__slide--editorial {
  background: linear-gradient(160deg, #f2efe6, #e9e4d6);
}

.aro-hero__editorial-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #f2efe6, #e9e4d6);
}

.aro-hero__editorial-texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.14;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.aro-hero__editorial-grid {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  margin: 0 auto;
  height: 100%;
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  align-items: stretch;
  gap: 0;
  padding: 0;
}

.aro-hero__editorial-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 52px 0 40px;
}

.aro-hero__title--dark {
  color: var(--aro-ink);
  text-shadow: none;
  max-width: none;
  font-size: 46px;
  line-height: 1.22;
  margin-bottom: 12px;
}

.aro-hero__sub--dark {
  color: var(--aro-muted);
  text-shadow: none;
  font-size: 16.5px;
  line-height: 1.85;
  max-width: 440px;
  margin-bottom: 36px;
}

.aro-hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26, 66, 138, 0.08);
  border: 1px solid rgba(26, 66, 138, 0.14);
  color: var(--aro-navy);
  font-size: 13px;
  font-weight: 800;
  padding: 7px 15px;
  border-radius: 100px;
  width: fit-content;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.aro-hero__pill:hover,
.aro-hero__pill:focus-visible {
  background: rgba(26, 66, 138, 0.14);
  border-color: rgba(26, 66, 138, 0.3);
  outline: none;
}

.aro-hero__watch {
  background: none;
  border: none;
  border-bottom: 1px solid rgba(26, 66, 138, 0.4);
  border-radius: 0;
  color: var(--aro-navy);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.aro-hero__watch:hover,
.aro-hero__watch:focus-visible {
  opacity: 0.7;
  outline: none;
}

html[dir="ltr"] .aro-hero__watch svg {
  transform: scaleX(-1);
}

.aro-hero__rating-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.aro-hero__editorial-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 24px 24px 0;
  transform: translateX(9%);
}

.aro-hero__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 112%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #c3d3e6, rgba(195, 211, 230, 0));
  z-index: 0;
  pointer-events: none;
}

.aro-hero__product-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1510px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 30px 50px rgba(15, 40, 86, 0.22));
}

.aro-hero__callout {
  position: absolute;
  top: 6%;
  left: 30%;
  right: auto;
  z-index: 2;
  text-align: end;
  max-width: 190px;
  font-family: var(--aro-font);
  font-size: 15px;
  color: var(--aro-navy);
  font-weight: 600;
  line-height: 1.4;
  pointer-events: none;
}

.aro-hero__callout svg {
  display: block;
  margin-top: 6px;
}

html[dir="rtl"] .aro-hero__callout svg {
  margin-inline-start: auto;
}

.aro-hero__disc-card {
  position: absolute;
  z-index: 3;
  bottom: 95px;
  left: 60px;
  right: auto;
  background: #fff;
  border-radius: 16px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 14px 34px rgba(15, 40, 86, 0.2);
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease;
  cursor: pointer;
}

.aro-hero__disc-card:hover,
.aro-hero__disc-card:focus-visible {
  box-shadow: 0 18px 40px rgba(15, 40, 86, 0.28);
  outline: none;
}

.aro-hero__disc-badge {
  background: var(--aro-danger);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  border-radius: 10px;
  padding: 9px 11px;
  line-height: 1;
}

.aro-hero__disc-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.aro-hero__disc-label {
  font-size: 11.5px;
  color: #6b7280;
}

.aro-hero__disc-price {
  font-weight: 800;
  font-size: 18px;
  color: var(--aro-navy);
}

/* ---------- Dash indicators ---------- */
.aro-hero__dots {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 12px;
  z-index: 6;
  pointer-events: none;
}

.aro-hero__dot {
  width: 46px;
  height: 3px;
  border: none;
  border-radius: 2px;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
  position: relative;
  pointer-events: auto;
}

.aro-hero__slide--editorial ~ .aro-hero__dots .aro-hero__dot,
.aro-hero:has(.aro-hero__slide--editorial.is-active) .aro-hero__dot {
  background: rgba(26, 66, 138, 0.2);
}

.aro-hero__dot-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  height: 100%;
  background: #fff;
  border-radius: 2px;
  transition: width 0.15s linear;
}

.aro-hero:has(.aro-hero__slide--editorial.is-active) .aro-hero__dot-fill {
  background: var(--aro-navy);
}

.aro-hero__dot.is-active .aro-hero__dot-fill {
  /* width driven by JS */
}

/* Hide legacy slick/container constraints if any theme CSS leaks */
.aro-hero .container-slider,
.aro-hero .main-slider,
.aro-hero .s-slider {
  all: unset;
  display: contents;
}

/* ---------- Mobile ≤768 (picture breakpoint + overlay copy) ---------- */
@media (max-width: 768px) {
  .aro-hero__content {
    padding: 28px 20px 52px;
    justify-content: flex-end;
  }

  .aro-hero__content.has-card {
    padding-bottom: 140px;
    justify-content: center;
  }

  .aro-hero__title {
    font-size: 30px;
    line-height: 1.25;
    max-width: 100%;
    margin-bottom: 16px;
  }

  .aro-hero__sub {
    font-size: 15px;
    max-width: 90%;
    margin-bottom: 22px;
    white-space: normal;
  }

  .aro-hero__btn {
    padding: 13px 30px;
  }

  .aro-hero__btn--solid {
    padding: 12px 26px;
  }

  .aro-hero__product-card {
    left: 16px;
    right: auto;
    bottom: 48px;
    width: calc(100% - 32px);
    max-width: 360px;
  }

  .aro-hero__product-card-thumb {
    width: 64px;
    height: 64px;
  }

  .aro-hero__shade--top {
    display: block;
  }

  .aro-hero__dots {
    bottom: 16px;
    z-index: 20;
  }
}

/* ---------- Editorial mobile ≤760 ---------- */
@media (max-width: 760px) {
  .aro-hero__slide--editorial.is-active {
    min-height: 0;
    padding-bottom: 20px;
  }
  .aro-hero__editorial-bg,
  .aro-hero__editorial-texture {
    position: absolute;
    inset: 0;
  }

  .aro-hero__editorial-grid {
    position: relative;
    grid-template-columns: 1fr;
    height: auto;
    padding: 0;
    align-content: stretch;
  }

  .aro-hero__editorial-copy {
    order: 0;
    padding: 32px 20px 0;
    justify-content: flex-start;
  }

  .aro-hero__title--dark {
    font-size: 26px;
    line-height: 1.22;
    margin-bottom: 12px;
  }

  .aro-hero__sub--dark {
    font-size: 16.5px;
    line-height: 1.85;
    max-width: 85%;
    margin-bottom: 36px;
    white-space: normal;
  }

  .aro-hero__editorial-media {
    order: 0;
    padding: 0 60px 0 0;
    margin-top: -40px;
    min-height: 0;
    transform: none;
    justify-content: flex-end;
  }

  .aro-hero__product-img {
    max-width: 260px;
  }

  .aro-hero__glow {
    width: 52%;
  }

  .aro-hero__callout {
    top: 2%;
    left: 4%;
    right: auto;
    max-width: 140px;
    font-size: 13px;
    z-index: 4;
  }

  .aro-hero__callout svg {
    width: 48px;
    height: 40px;
  }

  .aro-hero__disc-card {
    bottom: 10px;
    left: 24px;
    right: auto;
    padding: 8px 12px;
    transform: scale(0.85);
    transform-origin: bottom left;
    z-index: 3;
  }

  .aro-hero__disc-badge {
    font-size: 12px;
    padding: 6px 8px;
  }

  .aro-hero__disc-price {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aro-hero__slide {
    transition: none;
  }
  .aro-hero__product-card,
  .aro-hero__btn,
  .aro-hero__dot-fill {
    transition: none !important;
  }
}
