@font-face {
  font-family: "Aeonik";
  src: url("assets/fonts/Aeonik-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aeonik";
  src: url("assets/fonts/Aeonik-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aeonik";
  src: url("assets/fonts/Aeonik-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.nav-actions img {
  width: 22px;
  height: 22px;
  display: block;
  filter: invert(1);
  transition: filter .2s;
}

.nav-row:hover .nav-actions img,
.nav-row:focus-within .nav-actions img {
  filter: none;
}

.search-button img {
  width: 19px;
  height: 19px;
}

.line-icon {
  line-height: 1;
  padding: 0 !important;
  position: relative;
}

.deal-star {
  font-size: 15px;
  line-height: 1;
  padding: 18px 1px !important;
}

.hero-copy {
  left: 6.5%;
  right: auto;
  bottom: 8%;
  width: min(960px, 87%);
  text-align: left;
}

.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity .65s ease, visibility .65s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 44%;
}

.hero-slide > img.split-image {
  right: auto;
  width: 200%;
  max-width: none;
  object-position: left center;
}

.hero-controls {
  position: absolute;
  z-index: 4;
  right: 3.45vw;
  bottom: 4.2%;
  display: flex;
  gap: 8px;
}

.hero-controls button {
  width: 28px;
  height: 2px;
  border: 0;
  background: rgba(255,255,255,.45);
  padding: 0;
  cursor: pointer;
  transition: background .2s, width .2s;
}

.hero-controls button.active {
  width: 46px;
  background: #fff;
}

.hero-copy h1 {
  font-size: clamp(3.65rem, 5vw, 5rem);
  font-weight: 300;
  letter-spacing: -.05em;
  line-height: .94;
  margin-bottom: 1.5rem;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy p {
  max-width: 470px;
  margin: 0 0 2.25rem;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.product-media {
  background: #f3f1ed;
  transition: box-shadow .3s ease, transform .3s ease;
}

.product-media .card-shot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .38s ease, transform .55s ease;
}

.card-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 31px;
  height: 31px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.82);
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity .2s, background .2s;
  cursor: pointer;
}

.card-prev { left: 9px; }
.card-next { right: 9px; }
.product-card:hover .card-arrow,
.product-card:focus-within .card-arrow { opacity: 1; }
.card-arrow:hover { background: var(--lav); }
.card-count {
  position: absolute;
  z-index: 3;
  left: 10px;
  bottom: 10px;
  padding: 4px 7px;
  border-radius: 20px;
  background: rgba(255,255,255,.66);
  backdrop-filter: blur(7px);
  font-size: 8px;
}

.product-card:hover .product-media,
.product-card:focus-visible .product-media {
  background: #fff;
  box-shadow: 0 12px 28px rgba(28,22,20,.13);
  transform: translateY(-2px);
}

.verified-badge {
  font-weight: 500;
  letter-spacing: .08em;
}

.quick-buy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px 42px;
  gap: 7px;
  margin-top: 13px;
}

.quick-buy label {
  position: relative;
  border: 1px solid #c9c4be;
  min-height: 42px;
}

.quick-buy label span {
  position: absolute;
  left: 9px;
  top: 4px;
  color: #68636a;
  font-size: 8px;
  letter-spacing: .04em;
}

.quick-length {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 13px 8px 2px;
  font-size: 11px;
  outline: none;
}

.icon-action {
  min-height: 42px;
  border: 1px solid #111;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-action img {
  width: 18px;
  height: 18px;
}

.quick-add {
  background: #111;
}

.quick-add img {
  filter: invert(1);
}

.icon-action:hover,
.icon-action:focus-visible,
.quick-heart[aria-pressed="true"],
.save-product[aria-pressed="true"],
.quick-heart.saved {
  background: var(--lav);
}

.quick-add:hover img,
.quick-add:focus-visible img {
  filter: none;
}

.decision-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 0 2.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.decision-facts div {
  padding: 13px 10px 13px 0;
}

.decision-facts dt {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.decision-facts dd {
  margin: 0;
  font-size: 11px;
}

.cart-thumb {
  width: 85px;
  height: 105px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.product-gallery-shot {
  width: 100%;
  height: 100%;
  min-height: 760px;
  background-image: url("assets/product-body-wave-studio.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

/* Product page: deep information, quiet hierarchy */
.product-view { background: #fbfaf8; }
.product-page {
  grid-template-columns: minmax(0, 1.12fr) minmax(430px, .88fr);
  align-items: start;
}
.product-gallery {
  position: sticky;
  top: 0;
  min-height: 0;
  height: 100vh;
  background: #eeebe7;
  overflow: hidden;
}
.product-gallery-stage { width: 100%; height: 100%; }
.product-gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: opacity .25s;
}
.product-gallery-stage img.product-object { object-fit: contain; background: #fff; }
.product-gallery>.verified-badge { top: 122px; left: 24px; }
.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  cursor: pointer;
  transform: translateY(-50%);
}
.gallery-prev { left: 22px; }
.gallery-next { right: 22px; }
.product-thumbs {
  position: absolute;
  z-index: 4;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.product-thumbs button {
  width: 50px;
  height: 62px;
  padding: 0;
  border: 1px solid transparent;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}
.product-thumbs button.active { border-color: #111; }
.product-thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-info { padding: 7.6rem 4.5vw 4rem; position: static; }
.back-to-shop {
  position: absolute;
  z-index: 5;
  left: 24px;
  top: 76px;
  border: 0;
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  margin: 0;
  padding: 10px 14px;
  font-size: 12px;
  cursor: pointer;
}
.product-eyebrow { display: flex; justify-content: space-between; align-items: center; }
.save-product { border: 0; background: none; padding: 8px; cursor: pointer; }
.save-product img { width: 21px; height: 21px; }
.product-info h1 { font-size: clamp(3.3rem,5vw,5.6rem); margin-bottom: .2rem; }
.product-byline { margin: 0 0 1.2rem; color: var(--muted); }
.rating-line { display: flex; align-items: center; gap: 12px; margin-bottom: 1.25rem; font-size: 12px; }
.rating-line span { letter-spacing: .12em; }
.rating-line button { border: 0; border-bottom: 1px solid; background: none; padding: 0 0 2px; cursor: pointer; }
.choice-block { margin: 1.6rem 0; }
.choice-heading { display: flex; justify-content: space-between; margin-bottom: .8rem; font-size: 12px; }
.swatches { display: flex; gap: 9px; }
.swatches button { width: 28px; height: 28px; border: 3px solid #fbfaf8; outline: 1px solid transparent; border-radius: 50%; background: #141313; cursor: pointer; }
.swatches button:nth-child(2) { background: #5f3d2f; }
.swatches button:nth-child(3) { background: #a94f28; }
.swatches button.active { outline-color: #111; }
.part-options { flex-wrap: wrap; }
.formation-note { display: block; color: var(--muted); margin-top: 7px; font-size: 10px; }
.text-link { border: 0; border-bottom: 1px solid; background: none; padding: 0 0 2px; margin-top: 10px; font-size: 11px; cursor: pointer; }
.garden-offer { width: 100%; display: flex; justify-content: space-between; gap: 2rem; text-align: left; margin-top: 10px; padding: 15px; border: 0; background: #e9dcff; cursor: pointer; }
.garden-offer strong { white-space: nowrap; }
.garden-offer span { color: #403a45; font-size: 11px; line-height: 1.35; }
.product-accordions { margin-top: 2.5rem; }
.product-accordions summary { display: flex; justify-content: space-between; }
.product-accordions summary::after { content: '+'; font-size: 18px; font-weight: 300; }
.product-accordions details[open] summary::after { content: '−'; }
.spec-list { margin: 1rem 0 0; }
.spec-list div { display: grid; grid-template-columns: 38% 1fr; gap: 1rem; padding: 8px 0; border-top: 1px solid #e4e0db; font-size: 11px; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; }
.verification-record ul { padding-left: 18px; line-height: 1.8; color: var(--muted); }
.verification-record button { cursor: pointer; }
.delivery-check { margin: 2rem 0; }
.delivery-check>label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 500; }
.delivery-check>div { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid #111; }
.delivery-check input { border: 0; background: none; padding: 12px 0; outline: none; }
.delivery-check button { border: 0; background: none; font-weight: 500; cursor: pointer; }
.delivery-check small { display: block; margin-top: 7px; color: var(--muted); }
.security-row { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.security-row div { padding: 16px 10px 16px 0; }
.security-row strong,.security-row span { display: block; }
.security-row strong { font-size: 11px; margin-bottom: 4px; }
.security-row span { color: var(--muted); font-size: 9px; line-height: 1.35; }

.cap-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 7vw; padding: 8rem 6vw; background: #d9c0ff; }
.cap-story h2,.recommendations h2,.reviews-section h2 { font-size: clamp(2.8rem,4vw,4.8rem); font-weight: 300; letter-spacing: -.045em; line-height: 1; margin: 1rem 0 1.5rem; }
.cap-story>div:first-child>p:not(.kicker) { max-width: 530px; line-height: 1.55; margin-bottom: 2rem; }
.cap-diagram { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(17,17,17,.35); }
.cap-diagram button { min-height: 180px; padding: 24px; border: 0; border-right: 1px solid rgba(17,17,17,.25); border-bottom: 1px solid rgba(17,17,17,.25); background: rgba(255,255,255,.12); text-align: left; cursor: pointer; }
.cap-diagram button:nth-child(even) { border-right: 0; }
.cap-diagram button:nth-last-child(-n+2) { border-bottom: 0; }
.cap-diagram span,.cap-diagram strong,.cap-diagram small { display: block; }
.cap-diagram strong { margin: 2.8rem 0 .35rem; font-size: 1.2rem; font-weight: 400; }
.cap-diagram small { color: #4a4052; }
.recommendations { padding: 7rem 3.45vw; }
.recommendations .product-grid { grid-template-columns: repeat(3,1fr); }
.reviews-section { padding: 7rem 6vw 9rem; background: #fff; }
.reviews-head { display: grid; grid-template-columns: 1fr 260px; gap: 5vw; align-items: end; }
.reviews-head>div:first-child>p:last-child { max-width: 680px; line-height: 1.55; }
.empty-rating { padding: 2rem; border: 1px solid var(--line); text-align: center; }
.empty-rating strong,.empty-rating span { display: block; }
.empty-rating strong { font-size: 3rem; font-weight: 300; }
.empty-rating button { margin-top: 1.2rem; border: 0; border-bottom: 1px solid; background: none; padding: 0 0 3px; cursor: pointer; }
.review-media-placeholder { margin-top: 4rem; min-height: 210px; display: grid; place-content: center; text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }
.review-media-placeholder span { color: #111; font-size: 1.15rem; }

.info-dialog { width: min(820px,calc(100% - 32px)); max-height: calc(100vh - 32px); overflow: auto; border: 0; padding: 4.5rem; background: #fbfaf8; color: #111; }
.info-dialog::backdrop { background: rgba(17,17,17,.45); backdrop-filter: blur(3px); }
.dialog-close { position: absolute; right: 22px; top: 18px; border: 0; background: none; font-size: 25px; cursor: pointer; }
.info-dialog h2 { font-size: clamp(2.8rem,5vw,4.8rem); font-weight: 300; line-height: 1; letter-spacing: -.045em; margin: 1rem 0 2rem; }
.dialog-specs,.care-steps { display: grid; grid-template-columns: 1fr 1fr; margin: 2rem 0; border-top: 1px solid var(--line); }
.dialog-specs article,.care-steps article { padding: 1.5rem 1rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.dialog-specs h3,.care-steps h3 { font-weight: 400; }
.dialog-specs p,.care-steps p { color: var(--muted); line-height: 1.5; }
.review-dialog form { display: grid; gap: 1rem; }
.review-dialog label { display: grid; gap: 7px; font-size: 11px; }
.review-dialog input:not([type=checkbox]),.review-dialog select,.review-dialog textarea { width: 100%; border: 1px solid var(--line); background: #fff; padding: 12px; font: inherit; }

@media (max-width: 980px) {
  .product-page { grid-template-columns: 1fr; }
  .product-gallery { position: relative; height: min(88vh,780px); }
  .product-info { padding: 3.5rem 6vw 5rem; }
  .cap-story { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .nav-actions .search-button img {
    filter: invert(1);
  }

  .nav-row:hover .nav-actions .search-button img,
  .nav-row:focus-within .nav-actions .search-button img {
    filter: none;
  }

  .hero-copy {
    left: 6%;
    bottom: 6%;
    text-align: left;
  }

  .hero-copy h1 {
    font-size: clamp(2.55rem, 12vw, 3.45rem);
  }

  .hero-copy h1 span { white-space: normal; }

  .hero-copy p {
    margin: 0 0 2rem;
  }

  .hero-slide > img {
    object-position: 52% center;
  }

  .hero-slide > img.split-image {
    object-position: left center;
  }

  .hero-controls {
    right: 6%;
    bottom: 3%;
  }

  .product-gallery-shot {
    min-height: 500px;
  }

  .product-gallery { height: 72vh; min-height: 540px; }
  .gallery-arrow { width: 38px; height: 38px; }
  .gallery-prev { left: 12px; }
  .gallery-next { right: 12px; }
  .product-thumbs { left: 12px; right: 12px; bottom: 12px; overflow-x: auto; justify-content: flex-start; }
  .product-thumbs button { flex: 0 0 44px; height: 54px; }
  .product-info h1 { font-size: 3.2rem; }
  .garden-offer { display: grid; gap: 6px; }
  .security-row { grid-template-columns: 1fr; }
  .security-row div { border-bottom: 1px solid var(--line); }
  .security-row div:last-child { border-bottom: 0; }
  .cap-story,.recommendations,.reviews-section { padding: 5rem 6vw; }
  .cap-diagram { grid-template-columns: 1fr; }
  .cap-diagram button { border-right: 0; border-bottom: 1px solid rgba(17,17,17,.25) !important; min-height: 140px; }
  .cap-diagram button:last-child { border-bottom: 0 !important; }
  .recommendations .product-grid { grid-template-columns: 1fr 1fr; }
  .reviews-head { grid-template-columns: 1fr; }
  .info-dialog { padding: 4rem 1.5rem 2rem; }
  .dialog-specs,.care-steps { grid-template-columns: 1fr; }
  .card-arrow { opacity: 1; }

  .quick-buy {
    grid-template-columns: minmax(0, 1fr) 38px 38px;
  }
}

/* Gallery selection is the sole image state, including hover and keyboard focus. */
.product-media .card-shot,.product-card:hover .product-media .card-shot { object-fit:contain; object-position:center top; opacity:1; transform:none; background:#f5f3f0; }
.card-heading { display:flex; justify-content:space-between; align-items:baseline; gap:8px; }
.card-heading h3 { display:flex; align-items:center; gap:5px; min-width:0; }
.card-title { border:0; background:none; padding:0; text-align:left; font:inherit; cursor:pointer; }
.card-verification { color:var(--muted); font-size:9px; text-align:right; max-width:84px; line-height:1.3; flex-shrink:0; }
.card-colours { display:flex; align-items:center; gap:5px; margin:8px 0; min-height:28px; }
.card-colours>span { margin-left:3px; font-size:9px; color:var(--muted); }
.card-swatch,.card-more-colours { width:28px; height:28px; flex:0 0 28px; border:1px solid #c9c4be; border-radius:50%; background:var(--swatch,#fff); box-shadow:inset 0 0 0 3px var(--paper); cursor:pointer; padding:0; }
.card-more-colours { font-size:9px; box-shadow:none; }
.sale-stars { color:#9563c8; font-size:11px; letter-spacing:1px; }
.card-price { display:flex; align-items:center; flex-wrap:wrap; gap:8px; }
.card-price s { font-size:11px; }
.merchandising-tag { font-size:9px; padding:3px 7px; border:1px solid var(--line); border-radius:12px; }
.product-card :focus-visible { outline:2px solid #8252b3; outline-offset:3px; }
.feeling-feature { min-height:0; background:#ce98ff; align-items:center; }
.feeling-feature>img { display:block; height:auto; width:100%; object-fit:contain; }
.feeling-feature>div { padding:6vw; }
.deal-star { letter-spacing:2px; font-size:12px; }
@media(max-width:700px) { .card-heading { gap:4px; } .card-verification { font-size:8px; max-width:64px; } .card-colours { gap:3px; flex-wrap:wrap; } .card-colours>span { font-size:8px; } .feeling-feature>img { height:auto; } }
@media(hover:none) { .card-arrow { opacity:1; } }

.hero-slide > img.braids-hero { width: 100%; object-fit: cover; object-position: center 38%; }
@media (max-width: 700px) { .hero-slide > img.braids-hero { object-position: 42% center; } }
.hero-slide:has(.braids-hero) .hero-copy { color: #111; }
.hero-slide:has(.braids-hero) .hero-shade { background: none; }
.hero-slide:has(.braids-hero) .hero-cta { color: #111; background: rgba(255,255,255,.45); }
@media (max-width: 900px) {
 .hero-slide:has(.braids-hero) .hero-copy { color: #fff; }
 .hero-slide:has(.braids-hero) .hero-shade { background: linear-gradient(0deg,rgba(0,0,0,.52),transparent 65%); }
 .hero-slide:has(.braids-hero) .hero-cta { color: #fff; background: rgba(17,17,17,.2); }
}

.straight-slide picture { position: absolute; inset: 0; display: block; }
.straight-slide picture img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.straight-slide .hero-copy { color: #111; width: min(450px,35%); }
.straight-slide .hero-shade { background: none; }
.straight-slide .hero-cta { color: #111; background: rgba(255,255,255,.65); }
@media(max-width:900px) {
 .straight-slide picture img { object-position: center top; }
 .straight-slide .hero-copy { color: #fff; width: 87%; }
 .straight-slide .hero-shade { background: linear-gradient(0deg,rgba(0,0,0,.6),transparent 55%); }
 .straight-slide .hero-cta { color: #fff; background: rgba(17,17,17,.25); }
}
.straight-slide .hero-copy { color: #fff; width: min(520px,87%); }
.straight-slide .hero-shade { background: linear-gradient(0deg,rgba(0,0,0,.65),transparent 62%); }
.straight-slide .hero-cta { color: #fff; background: rgba(17,17,17,.25); }
body:has(.view.active .straight-slide.active) .nav-row { color: #111; }
body:has(.view.active .straight-slide.active) .nav-actions img { filter: brightness(0); }
@media(max-width:700px) { .straight-slide picture img { object-fit: contain; object-position: center top; background:#fafafa; } }

/* Cart badge: hidden when empty, shown as count badge when items are in bag */
#cart-count:empty { display: none !important; }

/* Badge always dark regardless of nav text colour */
#cart-count, /* removed */
/* #saved-count {
  background: var(--ink) !important;
  color: var(--paper) !important;
}

/* Grade chip — small square code on product card image */
.grade-chip {
  display: inline-flex;
  align-items: center;
  font-size: 9px;
  padding: 3px 7px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  letter-spacing: .06em;
  vertical-align: middle;
}

/* Larger chip inside accordion */
.grade-chip--lg {
  position: static;
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 4px;
  margin-right: 10px;
}

.grade-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 1.2rem;
  font-size: 13px;
  font-weight: 500;
}

/* ── Verification panel ─────────────────────────────────── */
.vp-header { margin: 0 0 .75rem; }

.grade-chip--panel {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: .04em;
}

.vp-release {
  font-size: 11px;
  color: var(--stone, #7A6E62);
  margin: 0 0 1.1rem;
  letter-spacing: .02em;
}

.vp-criteria {
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vp-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line, #e5e1db);
  font-size: 12px;
}

.vp-row:first-child { border-top: 1px solid var(--line, #e5e1db); }

.vp-row dt {
  color: var(--stone, #7A6E62);
  font-weight: 500;
  flex: 0 0 38%;
  min-width: 0;
}

.vp-row dd {
  margin: 0;
  text-align: right;
  flex: 1;
  min-width: 0;
}

.vp-context {
  display: block;
  font-size: 10px;
  color: var(--stone, #7A6E62);
  margin-top: 1px;
}

.vp-pending {
  font-size: 12px;
  color: var(--stone, #7A6E62);
  line-height: 1.55;
  margin: 0 0 1.1rem;
}
