@font-face { font-family: "Lilita One"; src: url("fonts/lilita-one-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/figtree-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --yellow: #FFC629;
  --yellow-soft: #FFF1C4;
  --ink: #000000;
  --snow: #FFFFFF;
  --ice: #DCEAF2;
  --ice-deep: #A9CBE0;
  --tongue: #D7261E;
  --muted: #4A4A4A;
  --display: "Lilita One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--snow); }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
h1, h2 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -0.005em; }
h2 { font-size: clamp(40px, 5.4vw, 68px); line-height: 0.95; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--snow); padding: 8px 14px; border-radius: 99px; z-index: 50; }
.skip:focus { left: 8px; }

/* top */
.announce { background: var(--ink); color: var(--yellow); text-align: center; font-weight: 600; font-size: 14px; padding: 9px 16px; }
.announce:empty { display: none; }
.top { max-width: var(--wrap); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; justify-content: space-between; }
.brand img { height: 38px; width: auto; }
.top-buy { font-weight: 800; font-size: 15px; color: var(--ink); text-decoration: none; padding: 9px 18px; border: 2.5px solid var(--ink); border-radius: 99px; }
.top-buy:hover { background: var(--yellow); }

/* buy section */
.buy { display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(24px, 4vw, 64px); padding-top: 8px; padding-bottom: 72px; align-items: start; }
.gallery { position: sticky; top: 16px; min-width: 0; }
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 30px; background: var(--ice); scrollbar-width: none; aspect-ratio: 1; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; display: grid; place-items: center; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.product img { width: 90%; height: 90%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(40,70,90,.18)); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 3px; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: 0 0 auto; width: 68px; height: 68px; border-radius: 16px; border: 2.5px solid transparent; padding: 0; background: var(--ice); cursor: pointer; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-selected="true"] { border-color: var(--ink); }

.panel { padding-top: 8px; }
.product-name { font-weight: 600; color: var(--muted); font-size: 15px; }
.headline { font-size: clamp(50px, 6.6vw, 88px); line-height: 0.9; margin: 6px 0 16px; text-wrap: balance; }
.lede { max-width: 34ch; font-size: 18px; color: var(--muted); }

.price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 22px 0 26px; }
.price { font-family: var(--display); font-size: 42px; line-height: 1; }
.was { color: var(--muted); font-size: 19px; }
.was:empty, .save:empty { display: none; }
.save { background: var(--tongue); color: var(--snow); font-weight: 800; font-size: 14px; padding: 4px 11px; border-radius: 99px; }

legend { font-weight: 600; font-size: 15px; margin-bottom: 12px; padding: 0; }
legend strong { font-weight: 800; }
.face-note { color: var(--muted); font-weight: 400; }
.faces { margin-bottom: 26px; }
.swatches { display: flex; gap: clamp(10px, 2vw, 18px); }
.swatch { position: relative; text-align: center; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch .disc { display: block; width: clamp(62px, 17vw, 82px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--snow); box-shadow: 0 0 0 2px #D9D9D9; transition: box-shadow .15s, transform .15s; }
.swatch .disc img { width: 100%; height: 100%; object-fit: cover; }
.swatch span.label { display: block; margin-top: 7px; font-size: 14px; font-weight: 600; }
.swatch input:checked + .disc { box-shadow: 0 0 0 3px var(--snow), 0 0 0 6px var(--ink); transform: scale(1.04); }
.swatch input:focus-visible + .disc { outline: 3px solid var(--ice-deep); outline-offset: 6px; }

.packs { margin-bottom: 22px; }
.pack-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pack { position: relative; cursor: pointer; }
.pack input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pack .box { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 16px 12px 13px; border: 2.5px solid #D2D2D2; border-radius: 20px; background: var(--snow); transition: background .15s, border-color .15s; }
.pack .t { font-weight: 800; font-size: 15px; }
.pack .p { font-family: var(--display); font-size: 25px; line-height: 1.1; }
.pack .d { font-size: 13px; color: var(--muted); line-height: 1.3; }
.pack .tag { position: absolute; top: -11px; right: 10px; background: var(--ink); color: var(--yellow); font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 99px; }
.pack input:checked + .box { border-color: var(--ink); background: var(--yellow); }
.pack input:checked + .box .d { color: var(--ink); }
.pack input:focus-visible + .box { outline: 3px solid var(--ice-deep); outline-offset: 3px; }

.slots { margin-bottom: 22px; }
.slots-label { font-weight: 600; font-size: 15px; margin-bottom: 10px; }
.slot-row { display: flex; gap: 10px; }
.slot { display: flex; align-items: center; gap: 8px; padding: 5px 13px 5px 5px; border: 2.5px solid #D2D2D2; border-radius: 99px; background: var(--snow); cursor: pointer; font-size: 14px; font-weight: 600; }
.slot img { width: 34px; height: 34px; border-radius: 50%; }
.slot[aria-pressed="true"] { border-color: var(--ink); background: var(--yellow-soft); }

.cta { display: block; width: 100%; min-height: 64px; border: 0; border-radius: 99px; background: var(--ink); color: var(--yellow); font-family: var(--display); font-size: 25px; letter-spacing: 0.01em; cursor: pointer; transition: transform .12s; }
.cta:hover { transform: translateY(-2px); }
.cta:active { transform: translateY(0); }
.pay { text-align: center; font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.assure { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 2px solid #EDEDED; display: grid; gap: 8px; font-size: 15px; }
.assure li { padding-left: 26px; position: relative; }
.assure li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 2.5px var(--ink); }
.assure li:empty { display: none; }

/* lifestyle */
.scene { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-areas: "copy copy" "a b"; gap: 20px; padding-bottom: 96px; }
.scene-copy { grid-area: copy; display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 8px; }
.scene-copy p { max-width: 38ch; color: var(--muted); }
.scene figure { margin: 0; border-radius: 30px; overflow: hidden; }
.scene-a { grid-area: a; }
.scene-b { grid-area: b; align-self: end; }
.scene img { width: 100%; height: 100%; object-fit: cover; }

/* features */
.details { padding-bottom: 96px; }
.details h2 { margin-bottom: 36px; }
.detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; border-top: 3px solid var(--ink); padding-top: 26px; }
.detail h3 { font-family: var(--display); font-weight: 400; font-size: 26px; line-height: 1.05; margin: 0 0 10px; }
.detail p { color: var(--muted); font-size: 16px; }

/* squad */
.squad { background: var(--yellow); padding: clamp(56px, 8vw, 104px) 0; }
.squad-inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.squad-copy p { font-size: 19px; max-width: 32ch; margin: 18px 0 30px; }
.squad-photo { margin: 0; border-radius: 30px; overflow: hidden; border: 3px solid var(--ink); transform: rotate(1.5deg); }
.cta-dark { max-width: 340px; }

/* reviews */
.reviews { padding-top: 96px; }
.reviews h2 { margin-bottom: 32px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.review { border: 2.5px solid var(--ink); border-radius: 22px; padding: 22px; }
.review .stars { color: var(--ink); letter-spacing: 2px; font-size: 18px; }
.review p { margin: 10px 0 12px; }
.review .who { font-weight: 800; font-size: 14px; }

/* faq */
.faq { padding-top: 96px; padding-bottom: 110px; max-width: 900px; }
.faq h2 { margin-bottom: 26px; }
.faq details { border-bottom: 2px solid #E4E4E4; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 800; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 30px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* footer */
.foot { background: var(--ink); color: var(--snow); padding: 40px 0 120px; overflow: hidden; }
.foot-grin { display: block; width: 100%; height: clamp(90px, 16vw, 220px); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a { color: var(--snow); text-decoration: none; font-size: 15px; }
.foot-links a:hover { color: var(--yellow); }
.copy { color: #9A9A9A; font-size: 14px; width: 100%; }

/* sticky buy bar */
.sticky { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40; display: flex; align-items: center; gap: 12px; max-width: 560px; margin: 0 auto; background: var(--snow); border: 2.5px solid var(--ink); border-radius: 99px; padding: 7px 7px 7px 8px; box-shadow: 0 10px 30px rgba(0,0,0,.18); transform: translateY(160%); transition: transform .25s ease; }
.sticky.show { transform: none; }
.sticky img { width: 46px; height: 46px; border-radius: 50%; }
.sticky-text { display: flex; flex-direction: column; line-height: 1.15; flex: 1; min-width: 0; }
.sticky-text span { font-size: 13px; color: var(--muted); }
.sticky-text strong { font-family: var(--display); font-weight: 400; font-size: 22px; }
.cta-small { width: auto; min-height: 50px; padding: 0 26px; font-size: 20px; }

.toast { position: fixed; left: 50%; top: 18px; transform: translate(-50%, -150%); background: var(--ink); color: var(--snow); padding: 13px 20px; border-radius: 16px; font-size: 15px; max-width: min(92vw, 520px); z-index: 60; transition: transform .25s; }
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 900px) {
  .buy { grid-template-columns: 1fr; padding-bottom: 56px; gap: 18px; }
  .panel { display: flex; flex-direction: column; padding-top: 0; }
  .panel .lede { order: 3; margin-bottom: 22px; }
  .panel .price-row { order: 2; margin: 4px 0 14px; }
  .panel > :not(.lede):not(.price-row):not(.product-name):not(.headline) { order: 4; }
  .headline { margin-bottom: 10px; }
  .gallery { position: static; margin: 0 calc(var(--gutter) * -1); }
  .track, .slide { aspect-ratio: 10 / 9; border-radius: 0; }
  .thumbs { padding: 3px var(--gutter); }
  .scene { grid-template-columns: 1fr; grid-template-areas: "copy" "a" "b"; padding-bottom: 64px; }
  .scene-copy { flex-direction: column; align-items: start; gap: 12px; }
  .detail-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .details { padding-bottom: 64px; }
  .squad-inner { grid-template-columns: 1fr; }
  .squad-photo { transform: none; order: -1; }
  .cta-dark { max-width: none; }
  .reviews, .faq { padding-top: 64px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .headline { font-size: 48px; }
  .detail-grid { grid-template-columns: 1fr; }
  .pack .box { padding: 14px 10px 11px; border-radius: 18px; }
  .pack .p { font-size: 22px; }
  .slot { padding-right: 10px; font-size: 13px; }
  .slot img { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
