/* ===== NR Studio — tokens ===== */
:root {
  --ink: #12231f;          /* logo green */
  --ink-2: #2b3a36;
  --muted: #7b8783;
  --line: #dfe5e2;
  --bg: #ffffff;
  --bg-soft: #f4f6f5;
  --mint: #d6efe4;
  --mint-2: #eef6f2;
  --accent: #e4572e;       /* stars */
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --sans: "Inter Tight", system-ui, -apple-system, Segoe UI, sans-serif;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { font-family: var(--mono); color: var(--ink); background: var(--bg); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ===== Header ===== */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); }
.header__logo { display: grid; place-items: center; padding: 0 26px; border-right: 1px solid var(--line); }
.header__logo img { height: 30px; width: auto; }
.header__nav { display: flex; align-items: center; gap: 44px; padding: 0 36px; flex: 1; }
.header__nav a { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; position: relative; }
.header__nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: currentColor; transition: width .25s; }
.header__nav a:hover::after { width: 100%; }
.header__nav a.is-featured { color: #1f7a5a; }
.header__search { display: flex; align-items: center; gap: 14px; padding: 0 28px; width: 290px; border-left: 1px solid var(--line); }
.header__search svg { width: 22px; height: 22px; flex: none; }
.header__search input { border: 0; outline: 0; font: inherit; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; width: 100%; background: transparent; color: var(--ink); }
.header__search input::placeholder { color: var(--muted); transition: opacity .3s; }
.header__search input.fade::placeholder { opacity: 0; }
.header__icon { width: 72px; display: grid; place-items: center; border-left: 1px solid var(--line); }
.header__icon svg { width: 22px; height: 22px; }
.header__cart { width: 72px; display: grid; place-items: center; background: var(--ink); color: #fff; position: relative; }
.header__cart svg { width: 24px; height: 24px; }
.header__cart-count { position: absolute; top: 12px; right: 13px; min-width: 18px; height: 18px; border-radius: 9px; background: #fff; color: var(--ink); font-size: 10.5px; display: grid; place-items: center; font-weight: 600; }
.header__cart.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.12); } }
.header__burger { display: none; width: 64px; border-left: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.header__burger span { width: 20px; height: 1.6px; background: var(--ink); }

/* ===== Hero carousel ===== */
.hero { padding: 26px 0 40px; background: linear-gradient(180deg, #fff 0%, var(--mint-2) 100%); overflow: hidden; }
.hero__stage { position: relative; height: 560px; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.hero__stage.is-dragging { cursor: grabbing; }
.hero__stage.is-dragging .hero__track { transition: none; }
.hero__track { position: absolute; left: 0; top: 18px; display: flex; gap: 28px; transition: transform .9s cubic-bezier(.7,0,.2,1); will-change: transform; }
.hero__device { position: absolute; left: 50%; top: 9px; width: 258px; height: 538px; transform: translateX(-50%); border: 9px solid #0e1513; border-radius: 46px; pointer-events: none; box-shadow: 0 30px 60px -20px rgba(18,35,31,.45); z-index: 3; }
.hero__island { position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 82px; height: 24px; border-radius: 14px; background: #0e1513; }

/* each phone screen */
.screen { position: relative; flex: none; width: 240px; height: 520px; border-radius: 36px; background: #fff; overflow: hidden; font-family: var(--sans); font-size: 11px; color: #111; box-shadow: 0 10px 30px -14px rgba(18,35,31,.25); display: flex; flex-direction: column; }
.screen__status { display: flex; justify-content: space-between; padding: 14px 22px 6px; font-size: 11px; font-weight: 600; }
.screen__nav { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px; border-bottom: 1px solid #eee; }
.screen__nav b { font-weight: 700; letter-spacing: .08em; font-size: 12px; }
.screen__nav b.script { font-family: Georgia, serif; font-style: italic; color: #1d4d2c; font-size: 16px; letter-spacing: 0; }
.screen__nav i { width: 54px; height: 8px; border-radius: 4px; background: repeating-linear-gradient(90deg, #222 0 8px, transparent 8px 15px); opacity: .7; }
.screen__url { margin: auto 14px 14px; background: #f1f1f1; border-radius: 20px; padding: 8px 12px; text-align: center; font-size: 10px; color: #444; }
.screen h4 { font-weight: 600; letter-spacing: -.01em; }

.promo__bar { background: #1d4d2c; color: #fff; font-size: 8.5px; padding: 6px 10px; white-space: nowrap; overflow: hidden; }
.promo__hero { position: relative; margin: 8px; height: 330px; border-radius: 6px; overflow: hidden; background: #6f8f6d; }
.promo__hero img { width: 100%; height: 100%; object-fit: cover; }
.promo__copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding-top: 18px; gap: 10px; color: #fff; text-align: center; background: linear-gradient(180deg, rgba(29,77,44,.75), transparent 55%); }
.promo__rating { font-size: 8px; background: rgba(0,0,0,.35); padding: 3px 8px; border-radius: 10px; }
.promo__copy h4 { font-size: 21px; font-weight: 500; }
.pill { background: #fff; color: #111; padding: 6px 14px; border-radius: 20px; font-size: 9.5px; }
.promo__ticker { margin: 0 8px; background: #1d4d2c; color: #fff; font-size: 8.5px; padding: 7px 10px; white-space: nowrap; overflow: hidden; border-radius: 0 0 6px 6px; }

.spin__head { padding: 18px 18px 0; }
.spin__head small { color: #888; font-size: 8.5px; letter-spacing: .12em; }
.spin__head h4 { font-size: 20px; font-weight: 800; margin: 2px 0; }
.spin__head b { font-size: 12px; }
.spin__head u { display: block; margin-top: 6px; font-size: 9.5px; font-weight: 600; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.spin__shoes { position: relative; height: 170px; }
.spin__shoes img { position: absolute; object-fit: cover; border-radius: 10px; box-shadow: 0 14px 22px -12px rgba(0,0,0,.4); }
.spin__shoes .s1 { width: 132px; height: 92px; right: 14px; top: 8px; transform: rotate(-6deg); }
.spin__shoes .s2 { width: 108px; height: 76px; left: 16px; top: 82px; transform: rotate(5deg); }
.spin__sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0 30px; }
.spin__sizes span { border: 1px solid #ddd; border-radius: 3px; padding: 6px 0; text-align: center; font-weight: 600; font-size: 9.5px; }
.spin__sizes span:nth-child(3) { background: #111; color: #fff; border-color: #111; }
.spin__wheel { margin: 18px 30px 4px; height: 16px; border-radius: 10px; border: 1px solid #ccc; background: repeating-linear-gradient(90deg, #888 0 1px, #eee 1px 5px); }
.spin__hint { text-align: center; font-size: 7.5px; color: #999; letter-spacing: .14em; }

.rail__bg { position: relative; flex: 1; margin-bottom: 0; overflow: hidden; color: #fff; text-align: center; }
.rail__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }
.rail__bg > *:not(img) { position: relative; }
.rail__bg small { display: block; margin-top: 18px; font-size: 7.5px; letter-spacing: .16em; opacity: .9; }
.rail__bg h4 { font-size: 19px; margin-top: 4px; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.rail__bar { height: 3px; margin: 30px -10px 0; background: #ccc; border-radius: 2px; transform: rotate(-3deg); box-shadow: 0 2px 4px rgba(0,0,0,.3); }
.rail__items { display: flex; justify-content: space-around; padding: 0 8px; }
.rail__items span { width: 46px; height: 120px; border-radius: 8px 8px 3px 3px; font-size: 7px; padding-top: 6px; color: #111; background: linear-gradient(#fff 0 12px, transparent 12px), #2e3433; }
.rail__items span:nth-child(2) { background: linear-gradient(#fff 0 12px, transparent 12px), #b9bcbb; height: 132px; }
.rail__items span:nth-child(3) { background: linear-gradient(#fff 0 12px, transparent 12px), #1d4d2c; height: 112px; }
.rail__items span:nth-child(4) { background: linear-gradient(#fff 0 12px, transparent 12px), #e8dfcf; height: 126px; }
.rail__bg p { text-align: right; padding: 22px 14px 0 70px; font-size: 9.5px; font-weight: 600; line-height: 1.3; }
.rail__bg u { display: block; text-align: right; padding: 8px 14px; font-size: 9px; }

.screen--look > h4 { padding: 16px 16px 2px; font-size: 16px; font-weight: 500; }
.screen--look > small { padding: 0 16px; font-size: 8px; color: #777; }
.look__img { height: 190px; margin: 10px 0; overflow: hidden; }
.look__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.look__row { display: flex; justify-content: space-between; padding: 0 16px; }
.look__row small { color: #999; font-size: 7.5px; letter-spacing: .1em; }
.look__item { display: flex; align-items: center; gap: 10px; padding: 10px 16px; font-size: 9px; }
.look__item small { color: #888; font-size: 7px; letter-spacing: .1em; }
.look__item em { margin-left: auto; font-style: normal; font-size: 16px; }
.dot { width: 38px; height: 30px; border-radius: 4px; background: linear-gradient(135deg, #d9d9d9, #8e8e8e); flex: none; }
.look__cta { margin: 0 16px; background: #111; color: #fff; text-align: center; padding: 10px; font-size: 9px; }

.screen--story { background: #111; }
.screen--story .screen__status { color: #fff; position: relative; z-index: 2; }
.screen--story > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__bars { position: relative; z-index: 2; display: flex; gap: 4px; padding: 6px 14px; }
.story__bars i { flex: 1; height: 2px; background: rgba(255,255,255,.4); border-radius: 2px; }
.story__bars i.on { background: #fff; }
.story__card { position: absolute; left: 14px; right: 14px; bottom: 60px; background: #fff; border-radius: 10px; padding: 9px; display: flex; gap: 10px; align-items: center; font-size: 9.5px; }
.story__card em { margin-left: auto; font-style: normal; font-size: 16px; }
.screen--story .screen__url { position: relative; z-index: 2; }

/* ===== Marquee ===== */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 30px 0; margin-top: 10px; }
.marquee__inner { display: flex; gap: 34px; width: max-content; animation: marquee 32s linear infinite; font-size: clamp(26px, 3.2vw, 42px); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; align-items: center; }
.marquee__inner i { font-style: normal; font-size: .8em; color: #1f7a5a; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Products ===== */
.products { padding: 70px 0 80px; }
.products__head { display: flex; justify-content: space-between; align-items: end; padding: 0 30px 26px; }
.products__head h2, .faq h2 { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--muted); }
.arrows { display: flex; gap: 22px; }
.arrows--center { justify-content: center; margin-top: 34px; }
.arrow { font-size: 24px; line-height: 1; padding: 4px; transition: transform .2s; }
.arrow:hover { transform: translateX(var(--nudge, 3px)); }
.arrow[data-dir="-1"] { --nudge: -3px; }
.products__rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0 30px; }
.products__rail::-webkit-scrollbar { display: none; }
.card { flex: 0 0 calc((100% - 0px) / 4.3); min-width: 270px; scroll-snap-align: start; border-right: 1px solid var(--line); padding: 10px 10px 30px; display: flex; flex-direction: column; transition: background .25s; }
.card:hover { background: var(--bg-soft); }
.card__media { aspect-ratio: 1.2; background: linear-gradient(140deg, #cfe9dd 0%, #eef6f2 55%, #dfe7f3 100%); display: grid; place-items: center; overflow: hidden; position: relative; }
.card__screen { width: 84%; height: 74%; background: #fff; border-radius: 4px; box-shadow: 0 12px 30px -12px rgba(18,35,31,.35); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__screen { transform: translateY(-4px) scale(1.02); }
.card__chrome { height: 12px; flex: none; display: flex; align-items: center; gap: 3px; padding: 0 6px; border-bottom: 1px solid #eee; }
.card__chrome i { width: 4px; height: 4px; border-radius: 50%; background: #ccc; }
.card__screen img { flex: 1; width: 100%; min-height: 0; object-fit: cover; }
.card__body { padding: 26px 15px 0; display: flex; flex-direction: column; flex: 1; }
.badge { align-self: start; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 10px; }
.badge--new { background: #1f7a5a; }
.rating { margin-top: 14px; font-size: 13px; display: flex; gap: 10px; align-items: center; }
.rating span + span { border-left: 1px solid var(--line); padding-left: 10px; }
.card__title { margin-top: 12px; font-size: 14.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; line-height: 1.35; min-height: 3.9em; }
.card__title { margin-bottom: 22px; }
.card__meta { margin-top: auto; border-top: 1px solid var(--line); }
.card__meta div { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.card__meta dd { text-align: right; text-transform: uppercase; }
.price b { display: block; font-size: 14px; }
.price s { color: var(--muted); font-size: 12px; }
.card .btn { margin-top: 22px; align-self: start; }

/* ===== Buttons / tags ===== */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; transition: background .2s, transform .15s; }
.btn:active { transform: scale(.97); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #1f3a33; }
.btn--ghost { color: var(--ink); }
.btn--ghost:hover { background: var(--mint); }
.btn--block { width: 100%; justify-content: center; }
.tag { display: inline-block; background: var(--ink); color: #fff; padding: 6px 12px; font-size: 13px; font-weight: 500; }

/* ===== Featured theme ===== */
.theme { display: grid; grid-template-columns: 1fr 1fr; min-height: 620px; background: var(--bg-soft); }
.theme__media { overflow: hidden; }
.theme__media img { width: 100%; height: 100%; object-fit: cover; }
.theme__body { padding: 80px 10% 80px 12%; display: flex; flex-direction: column; justify-content: center; align-items: start; }
.theme__body h2 { font-family: var(--sans); font-size: clamp(32px, 3.4vw, 46px); font-weight: 500; letter-spacing: .01em; margin: 22px 0 18px; }
.theme__body p { max-width: 440px; font-size: 14px; color: var(--ink-2); }
.chips { list-style: none; display: flex; flex-direction: column; align-items: start; gap: 12px; margin: 26px 0 50px; }
.chips li { border: 1px solid #c9d2ce; padding: 7px 12px; font-size: 14px; font-weight: 500; background: #fff; }
.theme__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.theme__ctas .btn { font-family: var(--sans); letter-spacing: .02em; text-transform: none; font-size: 16px; font-weight: 600; }

/* ===== Benefits ===== */
.benefits { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.benefits__media { height: 100%; min-height: 560px; overflow: hidden; }
.benefits__media img { width: 100%; height: 100%; object-fit: cover; }
.benefits__body { padding: 80px 40px 80px 10%; }
.benefits__body h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; line-height: 1.3; margin: 40px 0 60px; }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th { text-align: left; font-weight: 500; font-size: 19px; letter-spacing: .08em; text-transform: uppercase; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.compare th + th, .compare td + td { text-align: right; }
.compare th:first-child { color: #1f7a5a; }
.compare td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.compare td:first-child::before { content: "✓ "; color: #1f7a5a; }
.compare td + td { color: var(--muted); }

/* ===== Reviews ===== */
.reviews { background: var(--bg-soft); display: grid; grid-template-columns: minmax(220px, 1fr) 2.6fr; gap: 30px; align-items: center; padding: 120px 30px 100px; }
.reviews__score strong { display: block; font-size: clamp(52px, 5vw, 68px); font-weight: 400; letter-spacing: .04em; line-height: 1; }
.reviews__score span { font-size: 15px; }
.reviews__wrap { min-width: 0; }
.reviews__rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.reviews__rail::-webkit-scrollbar { display: none; }
.review { flex: 0 0 calc((100% - 40px) / 3); min-width: 240px; scroll-snap-align: start; background: #fff; padding: 26px 24px 28px; display: flex; flex-direction: column; }
.stars { color: var(--accent); font-size: 21px; letter-spacing: 2px; }
.review blockquote { margin: 18px 0 30px; font-size: 13.5px; line-height: 1.75; flex: 1; }
.review b { display: block; font-weight: 500; font-size: 15px; }
.review small { color: #a2aaa7; font-size: 11px; }

/* ===== FAQ ===== */
.faq { padding: 90px 30px; max-width: 900px; margin: 0 auto; }
.faq__list { margin-top: 26px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-size: 16px; font-weight: 500; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); font-size: 14px; max-width: 680px; }

/* ===== Cart drawer & toast ===== */
.overlay { position: fixed; inset: 0; background: rgba(18,35,31,.4); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 80; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: #fff; z-index: 90; transform: translateX(100%); transition: transform .4s cubic-bezier(.7,0,.2,1); display: flex; flex-direction: column; }
body.cart-open .overlay { opacity: 1; pointer-events: auto; }
body.cart-open .drawer { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__empty { color: var(--muted); padding: 30px 0; font-size: 13px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 12.5px; }
.line img { width: 64px; height: 52px; object-fit: cover; background: var(--mint); }
.line button { color: var(--muted); font-size: 11px; text-decoration: underline; margin-top: 4px; }
.drawer__foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; margin-bottom: 16px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--ink); color: #fff; padding: 12px 20px; font-size: 13px; opacity: 0; transition: .3s; z-index: 100; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .header__nav { gap: 26px; padding: 0 24px; }
  .header__search { width: 220px; }
}
@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .header__logo { padding: 0 16px; border-right: 0; margin-right: auto; }
  .header__logo img { height: 24px; }
  .header__nav { position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: start; gap: 0; padding: 0; background: #fff; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .35s; z-index: -1; }
  .header__nav a { padding: 18px 16px; width: 100%; border-top: 1px solid var(--line); }
  body.nav-open .header__nav { transform: none; }
  .header__search { display: none; }
  .header__icon, .header__cart, .header__burger { width: 58px; }
  .header__burger { display: flex; }
  .theme, .benefits { grid-template-columns: 1fr; }
  .theme__media, .benefits__media { min-height: 0; height: 340px; }
  .theme__body, .benefits__body { padding: 50px 16px; }
  .reviews { grid-template-columns: 1fr; padding: 70px 16px; }
  .review { flex-basis: 82%; }
  .products__head { padding: 0 16px 20px; }
  .products__rail { margin: 0 16px; }
  .card { min-width: 78%; }
  .faq { padding: 70px 16px; }
}
@media (max-width: 560px) {
  .hero__stage { height: 500px; transform: scale(.9); transform-origin: top center; }
  .header__icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__inner { animation: none; }
  .hero__track { transition: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ===== Product card hover effects ===== */
.products__wrap { position: relative; margin: 0 30px; }
.products__wrap .products__rail { margin: 0; }
.arrow--float { position: absolute; top: 250px; z-index: 5; width: 40px; height: 40px; background: #fff; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; opacity: 0; transition: opacity .25s, transform .2s; font-size: 18px; box-shadow: 0 6px 16px -8px rgba(18,35,31,.35); }
.arrow--prev { left: -14px; }
.arrow--next { right: -14px; }
.products__wrap:hover .arrow--float { opacity: 1; }
.arrow--float:hover { background: var(--ink); color: #fff; }

.card__media { position: relative; }
.card { position: relative; }
.card__icon, .card__wand { position: absolute; z-index: 2; background: var(--ink); color: #fff; opacity: 0; transition: opacity .25s, transform .3s cubic-bezier(.2,.7,.2,1); pointer-events: none; display: grid; place-items: center; }
.card__icon { top: 18px; left: 18px; width: 36px; height: 36px; border-radius: 10px; transform: translateY(-6px) scale(.85); }
.card__icon svg, .card__wand svg { width: 18px; height: 18px; stroke-width: 1.7; }
.card__wand { bottom: 12px; right: 18px; width: 40px; height: 26px; border-radius: 14px; background: #5b6360; transform: translateY(6px); }
.card:hover .card__icon, .card:hover .card__wand { opacity: 1; transform: none; }
.card__screen { position: relative; }
.card__screen img, .card__screen video { transition: transform 3.5s cubic-bezier(.3,.1,.2,1); transform-origin: 50% 20%; }
.card__screen video { position: absolute; inset: 12px 0 0; width: 100%; height: calc(100% - 12px); object-fit: cover; opacity: 0; transition: opacity .3s; }
.card:hover .card__screen video { opacity: 1; }
.card:hover .card__screen img { transform: scale(1.12) translateY(-4%); }
.card:hover .card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.35) 50%, transparent 65%); background-size: 250% 100%; animation: sheen 1.4s ease-out; pointer-events: none; }
@keyframes sheen { from { background-position: 150% 0; } to { background-position: -50% 0; } }
@media (hover: none) { .arrow--float { display: none; } }
@media (max-width: 900px) { .products__wrap { margin: 0 16px; } .arrow--float { display: none; } }

/* drag-to-scroll rails */
.products__rail, .reviews__rail { cursor: grab; }
.products__rail.is-dragging, .reviews__rail.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.products__rail.is-dragging .card, .reviews__rail.is-dragging .review { pointer-events: none; }
.products__rail .btn, .card .btn { cursor: pointer; }

/* ===== Active nav item ===== */
.header__nav a.is-active { border: 1px solid var(--ink); padding: 7px 14px; margin: 0 -15px; }
.header__nav a.is-active::after { display: none; }
.header__nav a.is-active:hover { background: var(--ink); color: #fff; }
.products__head h2 a:hover { color: var(--ink); }

/* ===== Sections catalog page ===== */
.catalog { display: grid; grid-template-columns: 260px 1fr; gap: 0 26px; padding: 40px 30px 90px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); }
.filters__head { display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.filters__head h1 { font-size: 22px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.filters__close { display: none; font-size: 18px; padding: 6px; }
.filters__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 0 4px; }
.filters__chips:empty { display: none; }
.chip { display: inline-flex; align-items: center; gap: 10px; background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 10px; font-size: 13px; transition: background .2s; }
.chip span { color: var(--muted); font-size: 11px; }
.chip:hover { background: var(--mint); }
.chip--clear { background: none; border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.chip--clear:hover { background: none; color: #1f7a5a; }
.fgroup { border-top: 1px solid var(--line); padding: 18px 0 14px; margin-top: 14px; }
.fgroup summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 12px; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: ""; width: 7px; height: 7px; border-left: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .25s; margin-right: 6px; }
.fgroup:not([open]) summary { margin-bottom: 0; }
.fgroup:not([open]) summary::after { transform: rotate(225deg); }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span { width: 15px; height: 15px; border: 1px solid #b9c3bf; border-radius: 3px; display: grid; place-items: center; transition: background .15s, border-color .15s; flex: none; }
.check input:checked + span { background: var(--ink); border-color: var(--ink); }
.check input:checked + span::after { content: ""; width: 4px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: translateY(-1px) rotate(45deg); }
.check input:focus-visible + span { outline: 2px solid #1f7a5a; outline-offset: 2px; }
.check:hover span { border-color: var(--ink); }

.results__bar { display: flex; justify-content: flex-end; align-items: center; gap: 24px; min-height: 48px; margin-bottom: 16px; }
.results__filter-btn { display: none; margin-right: auto; border: 1px solid var(--ink); padding: 8px 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.results__count { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.sort { position: relative; }
.sort__btn { display: flex; align-items: center; gap: 6px; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; }
.sort__btn svg { width: 14px; height: 14px; transition: transform .2s; }
.sort__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.sort__menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 20; list-style: none; background: #fff; border: 1px solid var(--line); min-width: 230px; padding: 6px 0; box-shadow: 0 18px 40px -18px rgba(18,35,31,.35); opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .2s, transform .2s; }
.sort__menu.open { opacity: 1; transform: none; pointer-events: auto; }
.sort__menu li { padding: 10px 16px; font-size: 13px; cursor: pointer; display: flex; justify-content: space-between; }
.sort__menu li:hover { background: var(--bg-soft); }
.sort__menu li[aria-selected="true"]::after { content: "✓"; color: #1f7a5a; }
.view { display: flex; gap: 4px; }
.view__btn { width: 34px; height: 34px; display: grid; place-items: center; color: var(--muted); border-radius: 4px; transition: background .2s, color .2s; }
.view__btn svg { width: 20px; height: 20px; }
.view__btn .dots circle { fill: currentColor; stroke: none; }
.view__btn.is-active { background: var(--bg-soft); color: var(--ink); }
.view__btn:hover { color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid[data-cols="2"] { --cols: 2; }
.grid[data-cols="4"] { --cols: 4; }
.grid .card { min-width: 0; border-bottom: 1px solid var(--line); padding: 8px 8px 30px; animation: cardIn .45s cubic-bezier(.2,.7,.2,1) both; }
.grid .card__body { padding: 22px 12px 0; }
.grid .card__media { aspect-ratio: 1.2; }
.grid[data-cols="2"] .card__title { font-size: 16px; }
.grid[data-cols="4"] .card__title { font-size: 13px; }
.grid[data-cols="4"] .card__meta div { font-size: 12px; }
.grid[data-cols="4"] .btn { padding: 12px 16px; font-size: 12px; }
@keyframes cardIn { from { opacity: 0; transform: translateY(12px); } }
.grid .card:nth-child(2) { animation-delay: .04s; } .grid .card:nth-child(3) { animation-delay: .08s; }
.grid .card:nth-child(4) { animation-delay: .12s; } .grid .card:nth-child(n+5) { animation-delay: .16s; }
.empty { text-align: center; padding: 80px 20px; border: 1px solid var(--line); border-top: 0; }
.empty p { margin-bottom: 18px; color: var(--ink-2); }
.filters__overlay { display: none; }

@media (max-width: 1100px) {
  .grid[data-cols="4"] { --cols: 3; }
}
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; padding: 24px 16px 70px; }
  .header__nav a.is-active { margin: 0; border-width: 0 0 0 3px; padding: 18px 16px; }
  .filters { position: fixed; top: 0; left: 0; bottom: 0; width: min(320px, 86%); background: #fff; z-index: 95; padding: 20px; overflow-y: auto; transform: translateX(-100%); transition: transform .35s cubic-bezier(.7,0,.2,1); }
  .filters__close { display: block; }
  body.filters-open .filters { transform: none; }
  .filters__overlay { display: block; position: fixed; inset: 0; background: rgba(18,35,31,.4); z-index: 94; opacity: 0; pointer-events: none; transition: opacity .3s; }
  body.filters-open .filters__overlay { opacity: 1; pointer-events: auto; }
  .results__filter-btn { display: block; }
  .results__bar { gap: 14px; }
  .grid[data-cols="4"] { --cols: 2; }
}
@media (max-width: 560px) {
  .grid[data-cols="2"] { --cols: 1; }
  .results__count { display: none; }
}

/* ===== Footer (light, big wordmark) ===== */
.footer { background: var(--bg-soft); color: var(--ink); padding: 90px 44px 34px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer__news h3 { font-size: clamp(20px, 1.9vw, 26px); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1.35; max-width: 460px; }
.footer__field { display: flex; align-items: stretch; margin-top: 56px; border-bottom: 1px solid var(--ink); max-width: 560px; }
.footer__field input { flex: 1; min-width: 0; background: transparent; border: 0; outline: 0; font: inherit; font-size: 16px; padding: 14px 0; color: var(--ink); }
.footer__field input::placeholder { color: #55625e; }
.footer__field button { background: var(--ink); color: #fff; padding: 0 28px; margin-bottom: 4px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; transition: background .2s; }
.footer__field button:hover { background: #1f3a33; }
.footer__col b { display: block; font-weight: 400; font-size: 17px; margin-bottom: 32px; }
.footer__col a { display: block; font-size: 16px; padding: 7px 0; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s; }
.footer__col a:hover { background-size: 100% 1px; }
.footer__mark { font-family: var(--sans); font-weight: 500; letter-spacing: -.045em; line-height: .95; font-size: clamp(80px, 22.2vw, 460px); white-space: nowrap; margin: 70px -4px 40px -10px; color: #060a09; user-select: none; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 15px; }
.footer__bottom a { margin-left: 22px; }
.footer__bottom a:hover { text-decoration: underline; }
.footer__social { display: flex; gap: 22px; }
.footer__social a { margin: 0; display: grid; place-items: center; transition: transform .2s; }
.footer__social a:hover { transform: translateY(-3px); text-decoration: none; }
.footer__social svg { width: 26px; height: 26px; }

/* ===== Documentation page ===== */
.docs { padding: 66px 40px 120px; }
.docs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; align-items: start; }
.doc__media { position: relative; aspect-ratio: 1; overflow: hidden; }
.doc__media--phones { background: linear-gradient(180deg, #c9d9dd 0%, #e6edee 55%, #fff 100%); display: grid; place-items: center; }
.doc__media--phones img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.doc:hover .doc__media--phones img { transform: scale(1.06); }
.doc__media--paper { background: #f4f1ec; font-family: Georgia, "Times New Roman", serif; color: #1a1a18; }
.doc .card__icon, .doc .card__wand { opacity: 1; transform: none; }
.doc .card__icon { top: 24px; left: 24px; width: 48px; height: 48px; border-radius: 14px; background: #1a2238; }
.doc .card__icon svg { width: 24px; height: 24px; }
.doc .card__wand { right: 20px; bottom: 20px; width: 50px; height: 34px; border-radius: 18px; }
.paper__meta { position: absolute; top: 12px; left: 0; right: 0; padding: 0 26px; display: flex; justify-content: space-between; font: 500 9px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.paper__meta::after { content: ""; position: absolute; left: 26px; right: 26px; top: 24px; border-top: 1px solid #1a1a18; opacity: .45; }
.paper__title { position: absolute; left: 26px; right: 26px; bottom: 0; padding-bottom: 10px; }
.paper__title small { display: block; font: 500 8px var(--mono); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 4px; }
.paper__title h3 { font-weight: 400; font-size: clamp(30px, 3vw, 46px); letter-spacing: -.01em; line-height: 1.1; }
.paper__title em { font-size: 14px; display: block; margin-top: 8px; color: #55524a; }

.paper__rail { position: absolute; top: 74px; left: 0; right: 0; height: 50%; border-top: 3px solid #4a4944; display: flex; justify-content: space-evenly; align-items: flex-start; padding: 0 12%; }
.paper__rail i { width: 5.6%; min-width: 14px; height: 68%; background: #d3cdbf; border-radius: 3px 3px 40% 40% / 3px 3px 12% 12%; transform-origin: top center; animation: sway 5s ease-in-out infinite; }
.paper__rail i:nth-child(2n) { animation-delay: -1.4s; }
.paper__rail i:nth-child(3n) { animation-delay: -2.6s; }
.paper__rail i.shirt { width: 22%; height: 74%; border-radius: 0; clip-path: polygon(0 18%, 24% 0, 40% 9%, 60% 9%, 76% 0, 100% 18%, 88% 36%, 80% 31%, 80% 100%, 20% 100%, 20% 31%, 12% 36%); background: #cfc8b8; }
@keyframes sway { 50% { transform: rotate(1.6deg); } }
.doc:hover .paper__rail i { animation-duration: 1.8s; }

.advisor { position: absolute; inset: 40px 26px 22% 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--mono); }
.advisor__circle { width: 21%; aspect-ratio: 1; min-width: 70px; border: 1px solid #1a1a18; border-radius: 50%; display: grid; place-items: center; font: 400 clamp(26px, 3vw, 44px) Georgia, serif; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.doc:hover .advisor__circle { transform: scale(1.1); }
.advisor small { font-size: 8px; letter-spacing: .14em; text-transform: uppercase; margin: 14px 0 22px; color: #55524a; }
.advisor__scale { position: relative; width: 100%; padding-top: 22px; }
.advisor__you { position: absolute; top: 0; left: 40%; transform: translateX(-50%); font-size: 7.5px; letter-spacing: .12em; text-transform: uppercase; color: #55524a; transition: left .6s cubic-bezier(.2,.7,.2,1); }
.advisor__scale i { display: block; border-top: 1px solid #1a1a18; opacity: .5; margin-top: 8px; }
.advisor__scale b { position: absolute; top: 25px; left: 40%; width: 11px; height: 11px; border-radius: 50%; background: #1a1a18; transform: translateX(-50%); transition: left .6s cubic-bezier(.2,.7,.2,1); }
.advisor__scale ul { list-style: none; display: flex; justify-content: space-between; margin-top: 8px; font-size: 8px; color: #55524a; }
.advisor__scale li.on { color: #1a1a18; font-weight: 700; }
.doc:hover .advisor__scale b, .doc:hover .advisor__you { left: 60%; }

.doc__body { padding: 70px 16px 0; }
.doc__body h2 { font-family: var(--sans); font-weight: 400; font-size: clamp(22px, 2.1vw, 30px); text-transform: uppercase; letter-spacing: .01em; margin: 38px 0 40px; line-height: 1.2; }
.doc__body p { font-size: 15.5px; max-width: 520px; line-height: 1.55; }
.doc__link { margin-top: 38px; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s; }
.doc__link:hover { color: #1f7a5a; }
.doc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s ease; }
.doc__panel > ol { overflow: hidden; padding-left: 20px; font-size: 14px; line-height: 1.7; }
.doc__panel.open { grid-template-rows: 1fr; }
.doc__panel.open > ol { padding-top: 18px; }
.doc__panel li { margin-bottom: 8px; }
.doc__panel code { background: var(--bg-soft); padding: 1px 6px; font-size: 13px; }

@media (max-width: 1100px) {
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__news { grid-column: 1 / -1; }
  .docs__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .footer { padding: 60px 16px 26px; }
  .footer__mark { margin: 56px 0 34px; }
  .docs { padding: 36px 16px 80px; }
}
@media (max-width: 640px) {
  .docs__grid { grid-template-columns: 1fr; gap: 56px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__field { margin-top: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .footer__bottom a { margin: 0 14px 0 0; }
  .doc__body { padding: 36px 4px 0; }
}

/* ===== Card links ===== */
a.card__media { display: grid; }
.card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ===== Product page ===== */
.pdp__top { display: grid; grid-template-columns: minmax(0, 1fr) 420px; align-items: start; border-bottom: 1px solid var(--line); }
.pdp__gallery { display: flex; flex-direction: column; gap: 8px; border-right: 1px solid var(--line); }
.shot { aspect-ratio: 1.12; background: linear-gradient(135deg, #cfe9dd 0%, #eef6f2 50%, #dfe7f3 100%); display: grid; place-items: center; cursor: zoom-in; overflow: hidden; position: relative; }
.shot:nth-child(even) { background: linear-gradient(225deg, #d6e3f2 0%, #eef3f6 55%, #d3ebe0 100%); }
.mock { background: #fff; overflow: hidden; position: relative; box-shadow: 0 30px 60px -30px rgba(18,35,31,.45); }
.mock img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.shot:hover .mock img { transform: scale(1.04); }
.mock--desktop { width: 90%; aspect-ratio: 1.42; display: flex; flex-direction: column; border-radius: 4px; }
.mock--desktop img { flex: 1; min-height: 0; }
.mock__bar { height: 34px; flex: none; display: flex; align-items: center; gap: 18px; padding: 0 18px; font: 600 10px var(--sans); color: #222; border-bottom: 1px solid #eee; }
.mock__bar b { letter-spacing: .12em; margin-right: auto; }
.mock__bar i { width: 90px; height: 20px; border-radius: 10px; background: #f0f0f0; margin-left: auto; }
.shot--phones { gap: 3%; grid-auto-flow: column; justify-content: center; }
.mock--phone { width: 29%; min-width: 150px; aspect-ratio: .5; display: flex; flex-direction: column; border-radius: 6px; }
.mock__pbar { height: 30px; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 12px; font: 700 9px var(--sans); letter-spacing: .1em; border-bottom: 1px solid #eee; }
.mock__pbar i { width: 40px; height: 6px; border-radius: 3px; background: repeating-linear-gradient(90deg, #333 0 6px, transparent 6px 11px); }
.mock--phone img { flex: 1; min-height: 0; }
.mock__play { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.18); backdrop-filter: blur(6px); transition: transform .3s; }
.mock__play svg { width: 34px; height: 34px; margin-left: 4px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
.shot:hover .mock__play { transform: scale(1.1); }

.pdp__sticky { position: sticky; top: var(--header-h); padding: 48px 30px 60px; }
.pill-badge { display: inline-block; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 20px; }
.pdp__title { font-size: 21px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; margin: 14px 0 30px; max-width: 320px; }
.pdp__meta div { font-size: 14px; }
.pdp__price b { font-size: 16px; font-weight: 600; }
.pdp__price s { color: var(--muted); margin-left: 6px; font-size: 13px; }
.stats { display: inline-flex; margin-top: 24px; background: var(--bg-soft); font-size: 13px; }
.stats span { display: flex; align-items: center; gap: 8px; padding: 10px 14px; }
.stats span + span { border-left: 1px solid #fff; }
.stats svg { width: 17px; height: 17px; }
.stats b { font-weight: 600; }
#viewers { display: inline-block; min-width: 1ch; transition: opacity .3s; }
.perks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; margin: 30px 0; }
.perks li { display: flex; gap: 10px; align-items: flex-start; }
.perks svg { width: 18px; height: 18px; flex: none; margin-top: 1px; stroke-width: 2; }
.perks b { display: block; font-weight: 500; font-size: 13.5px; }
.perks small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.pdp__add { padding: 20px; font-size: 14px; font-weight: 600; }
.pdp__acc { margin-top: 26px; border-top: 1px solid var(--line); }
.pdp__acc details, .pdp__qa details { border-bottom: 1px solid var(--line); }
.pdp__acc summary, .pdp__qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 16px 0; font-size: 14px; }
.pdp__acc summary::-webkit-details-marker, .pdp__qa summary::-webkit-details-marker { display: none; }
.pdp__acc summary::after, .pdp__qa summary::after { content: "+"; font-size: 18px; line-height: 1; transition: transform .25s; }
.pdp__acc details[open] summary::after, .pdp__qa details[open] summary::after { transform: rotate(45deg); }
.pdp__acc p, .pdp__acc ul, .pdp__qa details p { font-size: 13px; color: var(--ink-2); padding: 0 0 16px; line-height: 1.6; }
.pdp__acc ul { padding-left: 18px; }

.pdp__features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 100px 44px; }
.feat__icon { width: 40px; height: 40px; background: var(--ink); color: #fff; border-radius: 6px; display: grid; place-items: center; }
.feat__icon svg { width: 20px; height: 20px; }
.feat h3 { font-size: 17px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin: 38px 0 22px; }
.feat p { font-size: 13.5px; max-width: 300px; color: var(--ink-2); }

.pdp__manual { display: grid; grid-template-columns: 1fr 1.1fr; margin: 0 24px; background: #f4f1ec; min-height: 520px; overflow: hidden; }
.pdp__manual-copy { padding: 60px 20px; align-self: end; max-width: 340px; margin-left: 20px; }
.pdp__manual-copy h2 { font-size: 21px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1.35; margin: 28px 0 34px; }
.pdp__manual-copy p { font-size: 13.5px; margin-bottom: 14px; }
.pdp__manual-copy .doc__link { margin-top: 14px; display: inline-block; }
.pdp__manual-art { position: relative; }
.pdp__manual-art .paper__rail { top: 120px; height: 62%; padding: 0 14%; }
.pdp__manual:hover .paper__rail i { animation-duration: 1.8s; }

.pdp__qa { display: grid; grid-template-columns: 1fr 1fr; margin: 100px 24px 110px; background: var(--bg-soft); }
.pdp__qa-media { background: linear-gradient(135deg, #cfe9dd 0%, #eef6f2 60%, #dfe7f3 100%); display: grid; place-items: center; padding: 50px 0; }
.pdp__qa-list { padding: 60px 50px; }
.pdp__qa-list h2 { font-size: 21px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; margin: 24px 0 26px; }

.buybar { position: fixed; bottom: 18px; left: calc((100% - 420px) / 2); transform: translateX(-50%); z-index: 40; display: flex; gap: 8px; padding: 8px; background: #fff; box-shadow: 0 16px 40px -16px rgba(18,35,31,.4); transition: opacity .3s, transform .3s; }
.buybar.is-hidden { opacity: 0; transform: translate(-50%, 20px); pointer-events: none; }
.buybar__add { background: var(--ink); color: #fff; padding: 12px 18px; font-size: 14px; display: flex; gap: 14px; align-items: center; transition: background .2s; }
.buybar__add:hover { background: #1f3a33; }
.buybar__add b { font-weight: 600; }
.buybar__demo { display: flex; align-items: center; gap: 22px; padding: 12px 12px 12px 14px; font-size: 14px; background: linear-gradient(90deg, var(--mint-2), #fff); }
.buybar__demo svg { width: 20px; height: 20px; }
.buybar__demo:hover { background: var(--mint); }

.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(10,18,16,.88); display: grid; place-items: center; padding: 40px; opacity: 0; pointer-events: none; transition: opacity .3s; cursor: zoom-out; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox__media img, .lightbox__media video { max-width: min(1200px, 92vw); max-height: 86vh; object-fit: contain; cursor: default; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox__close { position: absolute; top: 20px; right: 26px; color: #fff; font-size: 24px; }

@media (max-width: 1100px) {
  .pdp__top { grid-template-columns: minmax(0, 1fr) 360px; }
  .buybar { left: calc((100% - 360px) / 2); }
}
@media (max-width: 900px) {
  .pdp__top { grid-template-columns: 1fr; }
  .pdp__gallery { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-right: 0; }
  .pdp__gallery::-webkit-scrollbar { display: none; }
  .shot { flex: 0 0 88%; scroll-snap-align: start; }
  .pdp__sticky { position: static; padding: 32px 16px 40px; }
  .pdp__features { grid-template-columns: 1fr; gap: 34px; padding: 60px 16px; }
  .feat h3 { margin: 20px 0 12px; }
  .pdp__manual, .pdp__qa { grid-template-columns: 1fr; margin-left: 16px; margin-right: 16px; }
  .pdp__manual-art { min-height: 300px; order: -1; }
  .pdp__manual-copy { margin: 0; padding: 36px 20px; }
  .pdp__qa-list { padding: 40px 20px; }
  .buybar { left: 12px; right: 12px; bottom: 12px; transform: none; }
  .buybar.is-hidden { transform: translateY(20px); }
  .buybar__add { flex: 1; justify-content: space-between; }
  .buybar__demo { gap: 10px; }
}
@media (max-width: 420px) {
  .perks { grid-template-columns: 1fr; }
  .buybar__demo { font-size: 0; gap: 0; }
}

.pdp__info { align-self: stretch; }
@media (max-width: 900px) { .pdp__info { align-self: auto; } }

/* ===== Product page: videos + preview link ===== */
.mock video { width: 100%; flex: 1; min-height: 0; object-fit: cover; display: block; background: #111; }
.shot--video { cursor: pointer; }
.shot--video.is-playing .mock__play { opacity: 0; }
.mock__play { transition: transform .3s, opacity .3s; }
.pdp__preview { margin-top: 10px; justify-content: center; border: 1px solid var(--ink); padding: 16px; font-size: 13px; font-weight: 600; }
.pdp__preview svg { width: 18px; height: 18px; }
.pdp__acc p + p { margin-top: -8px; }
.card:hover .card__wand { pointer-events: auto; cursor: pointer; }
.card__wand:hover { background: var(--ink); }

/* ===== Checkout buttons & cart lines ===== */
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--sm { padding: 8px 12px; font-size: 11px; }
.line { grid-template-columns: 64px 1fr auto; }
.line__buy { display: grid; justify-items: end; gap: 6px; }
.drawer__note { font-size: 12px; color: var(--muted); line-height: 1.5; margin-top: 10px; }
.drawer__total { margin-bottom: 10px; }
.pdp__save { margin-top: 8px; border: 1px solid var(--line); padding: 14px; justify-content: center; font-size: 12px; }
.pdp__secure { margin-top: 10px; font-size: 11.5px; color: var(--muted); text-align: center; }
.buybar__add:disabled { opacity: .5; cursor: not-allowed; }

/* ===== Thank-you page ===== */
.thanks { min-height: 70vh; display: grid; place-items: center; padding: 80px 16px; background: linear-gradient(180deg, #fff, var(--mint-2)); }
.thanks__box { max-width: 560px; text-align: center; display: grid; justify-items: center; gap: 18px; }
.thanks__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.thanks__icon svg { width: 30px; height: 30px; stroke-width: 2.2; }
.thanks h1 { font-family: var(--sans); font-weight: 500; font-size: clamp(28px, 4vw, 40px); letter-spacing: -.01em; }
.thanks p { font-size: 14px; color: var(--ink-2); }
.thanks__ctas { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.thanks__help { font-size: 12.5px !important; color: var(--muted) !important; }
.thanks__help a { text-decoration: underline; }

/* thank-you: order status + downloads */
.thanks__icon.is-wait { background: var(--mint); color: var(--ink); animation: pulse 1.6s ease-in-out infinite; }
.thanks__icon.is-wait svg { opacity: 0; }
@keyframes pulse { 50% { transform: scale(.88); opacity: .6; } }
.downloads { list-style: none; width: 100%; display: grid; gap: 14px; text-align: left; margin-top: 6px; }
.downloads li { border: 1px solid var(--line); background: #fff; padding: 14px; display: grid; gap: 8px; }
.downloads b { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; }
.dl { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--bg-soft); font-size: 13px; transition: background .2s; }
.dl:hover { background: var(--mint); }
.dl span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.dl small { color: var(--muted); }
.dl i { font-style: normal; font-weight: 600; }
.thanks__save { font-size: 12.5px !important; background: var(--mint-2); padding: 10px 14px; }
