/* Clearwake product page sections (v2). Loaded after store.css. */
.stage-tag { position: absolute; top: 12px; left: 12px; background: var(--white); color: var(--navy); font: 600 13px var(--b); padding: 4px 10px; border-radius: 20px; }
.thumbs { grid-template-columns: repeat(9, 1fr); }
@media (max-width: 600px) { .thumbs { display: flex; overflow-x: auto; } .thumbs button { flex: 0 0 64px; } }
.as-in { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.as-in div { background: var(--white); border-radius: var(--r); padding: 12px 14px; font-size: 14px; color: var(--slate); }
.as-in b { display: block; font: 800 22px var(--h); color: var(--navy); }
.rated-for { font-size: 14px; color: var(--slate); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 14px; }
.rated-for span { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 3px 10px; color: var(--navy); font-weight: 500; }
.quote-card { margin: 0 0 18px; display: grid; grid-template-columns: 72px 1fr; gap: 12px; background: var(--white); border-radius: var(--r); padding: 12px; border: 1px solid var(--line); }
.quote-card img { width: 72px; height: 96px; object-fit: cover; border-radius: 8px; }
.quote-card blockquote { margin: 0; font-size: 15px; line-height: 1.5; }
.quote-card figcaption { font-size: 13px; color: var(--slate); margin-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; }
.bump { grid-template-columns: auto 48px 1fr auto; }
.bump img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.under-atc svg { width: 15px; height: 15px; vertical-align: -2px; fill: none; stroke: var(--slate); stroke-width: 2; }
.bnpl { text-align: center; font-size: 14px; color: var(--slate); margin: -6px 0 18px; }
.trust { grid-template-columns: repeat(2, 1fr); row-gap: 14px; }
@media (min-width: 480px) { .trust { grid-template-columns: repeat(4, 1fr); } }

.stats { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; text-align: center; }
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-grid b { display: block; font: 800 48px/1 var(--h); color: var(--navy); margin-bottom: 6px; }
.stat-grid b small { font-size: 22px; margin-left: 2px; }
.stat-grid span { font-size: 15px; color: var(--slate); }

.wipe { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; touch-action: none; cursor: crosshair; box-shadow: 0 24px 48px -28px rgba(15, 42, 68, .6); }
.wipe img, .wipe canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wipe-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: rgba(15, 42, 68, .85); color: var(--white); padding: 8px 16px; border-radius: 20px; font: 600 14px var(--b); pointer-events: none; transition: opacity .3s; }
.wipe-meter { font: 800 30px var(--h); margin: 8px 0 16px; }

.navy h2, .navy h3 { color: var(--white); }
.navy p { color: #DCE7F0; }
.ticks.light li::before { color: #7FD1A8; }
.demo-media { box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .7); }

.cards3, .cards4 { display: grid; gap: 20px; margin-top: 12px; }
@media (min-width: 760px) { .cards3 { grid-template-columns: repeat(3, 1fr); } .cards4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .cards4 { grid-template-columns: repeat(4, 1fr); } }
.cards3 article, .cards4 article { background: var(--white); border-radius: var(--r); overflow: hidden; position: relative; }
.cards3 img, .cards4 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.cards3 h3, .cards4 h3, .cards3 p, .cards4 p { padding: 0 20px; }
.cards3 h3, .cards4 h3 { margin-top: 18px; }
.cards3 p, .cards4 p { color: var(--slate); font-size: 16px; padding-bottom: 8px; }
.num { position: absolute; top: 12px; left: 12px; background: var(--navy); color: var(--white); font: 800 14px var(--h); border-radius: 20px; padding: 3px 10px; }
.who { background: var(--white); }
.who .cards4 article { background: var(--frost); }

.ana-img { position: relative; }
.pin { position: absolute; left: var(--x); top: var(--y); width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--navy); color: var(--white); font: 800 14px/30px var(--h); text-align: center; box-shadow: 0 0 0 5px rgba(255, 255, 255, .7); }
.ana-list { padding: 0; list-style: none; counter-reset: a; margin: 0 0 20px; }
.ana-list li { counter-increment: a; padding: 12px 0 12px 46px; position: relative; border-bottom: 1px solid var(--line); }
.ana-list li::before { content: counter(a); position: absolute; left: 0; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white); font: 800 14px/30px var(--h); text-align: center; }
table.spec { min-width: 0; font-size: 15px; }
table.spec th { width: 40%; color: var(--slate); font-weight: 500; }

.ba { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; max-width: 900px; margin: 12px auto 0; user-select: none; }
.ba > img, .ba-top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 2; }
.ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 4px; margin-left: -2px; background: var(--white); pointer-events: none; }
.ba::before { content: "\2194"; position: absolute; top: 50%; left: var(--pos, 50%); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--white); color: var(--navy); font: 800 20px/44px var(--b); text-align: center; z-index: 1; pointer-events: none; box-shadow: 0 4px 12px rgba(0,0,0,.25); }
.ba-l, .ba-r { position: absolute; top: 14px; background: rgba(15, 42, 68, .85); color: var(--white); font: 600 13px var(--b); padding: 4px 12px; border-radius: 20px; pointer-events: none; z-index: 1; }
.ba-l { left: 14px; } .ba-r { right: 14px; }

.calc-box { background: var(--navy); color: var(--white); border-radius: 20px; padding: 32px 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: center; }
@media (min-width: 860px) { .calc-box { grid-template-columns: 1.3fr 1fr; padding: 56px; } }
.calc-box h2 { color: var(--white); }
.calc-box .kicker { color: #C9DCEA; }
.calc-box label { display: flex; justify-content: space-between; font-weight: 600; margin-top: 20px; }
.calc-box output { font: 800 20px var(--h); }
.calc-box input[type=range] { width: 100%; accent-color: var(--ice); height: 28px; }
.calc-out { background: rgba(255, 255, 255, .08); border-radius: var(--r); padding: 28px 24px; text-align: center; }
.calc-out b { display: block; font: 800 54px/1.1 var(--h); color: var(--white); }
.calc-out span { display: block; color: #C9DCEA; margin: 8px 0 20px; }
.calc-out .btn-secondary { border-color: var(--white); color: var(--white); }

.fine { font-size: 13px; color: var(--slate); margin-top: 12px; }
.ugc-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; margin-top: 12px; }
.ugc-row figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 9 / 16; background: #000; cursor: pointer; }
.ugc-row video { width: 100%; height: 100%; object-fit: cover; }
.ugc-row figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); color: var(--white); font-size: 14px; font-weight: 500; }

.timeline { margin-top: 12px; }
.timeline span { color: var(--slate); }
.band.navy .timeline span { color: #C9DCEA; }
.timeline li { border-top-color: var(--navy); }
.gift-for { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.gift-for span { background: var(--white); border-radius: 20px; padding: 6px 12px; font-size: 14px; font-weight: 500; }
table.cutoff { min-width: 0; margin: 6px 0 22px; font-size: 15px; }
table.cutoff caption { text-align: left; font-weight: 600; padding: 0 0 8px; }

.rev-head { grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 960px) { .rev-head { grid-template-columns: 200px 1fr 1fr; gap: 40px; } }
.score small { margin-top: 4px; }
.mentions h3 { font-size: 15px; margin-bottom: 10px; }
.mentions div { display: flex; flex-wrap: wrap; gap: 8px; }
.mentions span, .mentions button { background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 6px 12px; font: 500 14px var(--b); color: var(--ink); cursor: pointer; min-height: 36px; }
.mentions button[aria-pressed=true] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.mentions button:hover { border-color: var(--navy); }
.rev-photos { margin: 8px 0 20px; }
.rev-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.btn-secondary.small { padding: 8px 16px; font-size: 14px; }

.g-steps { padding-left: 20px; color: #DCE7F0; margin: 0 0 16px; }
.g-steps li { margin-bottom: 8px; }
.g-steps b { color: var(--white); }
.g-war { font-weight: 600; color: var(--white) !important; }
.final img { margin-top: 24px; }
.final-box { background: var(--white); border-radius: 20px; padding: 28px 24px; color: var(--ink); }
.final-box .under-atc { color: var(--slate); }
.final-box legend { color: var(--navy); }

.form-box { background: var(--white); border-radius: var(--r); padding: 28px 24px; width: min(460px, 100%); max-height: 90vh; overflow-y: auto; }
.form-box .close { color: var(--navy); top: 8px; right: 12px; }
.form-box label { display: block; font-weight: 600; font-size: 14px; margin: 12px 0 0; }
.form-box input, .form-box select, .form-box textarea { width: 100%; border: 1px solid #B9C7D3; border-radius: 8px; padding: 10px 12px; font: 16px var(--b); margin-top: 4px; }
.form-box .atc { margin-top: 18px; }
.pdp-grid .buybox > * + .acc { margin-top: 8px; }

.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 12px 0 0; }
.ba-pair figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; }
.ba-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.ba-pair figcaption { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(15, 42, 68, .88); color: var(--white); font: 500 13px/1.35 var(--b); padding: 8px 12px; border-radius: 10px; }
.ba-pair figcaption b { display: block; font-size: 16px; }
@media (max-width: 600px) { .ba-pair { grid-template-columns: 1fr; } }

/* review wall: masonry cards, photo first (Loox / Judge.me pattern) */
.rev-photos { display: flex; gap: 8px; overflow-x: auto; margin: 8px 0 20px; scrollbar-width: thin; }
.rev-photos button { flex: 0 0 auto; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 10px; overflow: hidden; }
.rev-photos img { width: 104px; height: 138px; object-fit: cover; display: block; transition: transform .2s; }
.rev-photos button:hover img { transform: scale(1.04); }
.rev-count { font-size: 14px; color: var(--slate); margin: 4px 0 14px; }
.rev-list { columns: 1; column-gap: 16px; }
@media (min-width: 640px) { .rev-list { columns: 2; } }
@media (min-width: 1000px) { .rev-list { columns: 3; } }
.rev-list li { break-inside: avoid; display: block; background: var(--white); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; padding: 0; margin: 0 0 16px; }
.rev-list .r-photo { display: block; width: 100%; height: auto; padding: 0; border: 0; margin: 0; background: var(--ice); cursor: zoom-in; border-radius: 0; }
.rev-list .r-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; display: block; }
.r-body { padding: 14px 16px 16px; }
.r-body p { margin: 6px 0 10px; line-height: 1.55; }
.r-body .r-meta { margin: 2px 0 0; font-size: 13px; }
.lightbox .lb-box { display: grid; grid-template-columns: 1fr; max-width: 980px; width: calc(100% - 32px); padding: 0; overflow: hidden; position: relative; max-height: 92vh; }
.lightbox .lb-box > img { width: 100%; max-height: 60vh; object-fit: contain; background: #000; display: block; }
.lightbox .lb-text { padding: 18px 20px 22px; overflow-y: auto; }
.lightbox .lb-text p { line-height: 1.55; }
.lightbox .lb-text small { color: var(--slate); }
@media (min-width: 820px) { .lightbox .lb-box { grid-template-columns: 1.3fr 1fr; } .lightbox .lb-box > img { max-height: 86vh; height: 100%; } }
.lb-nav { position: absolute; top: 40%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); font: 700 28px/44px var(--b); cursor: pointer; z-index: 2; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
@media (min-width: 820px) { .lb-next { right: calc(43.5% + 10px); } }
.lightbox .lb-box { background: var(--white); border-radius: 16px; }
.lightbox .close { z-index: 3; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); font-size: 28px; line-height: 40px; padding: 0; }

.pays { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pays li { background: var(--white); color: var(--navy); font: 700 11px/1 var(--b); padding: 7px 9px; border-radius: 5px; letter-spacing: .01em; }
@media (max-width: 639px) { .rev-list .r-photo img { aspect-ratio: 4 / 3; } }
.co-form h2 { margin: 32px 0 6px; font-size: 22px; } .co-form h1 + * { margin-top: 0; }
