/* ---------- shop listing ---------- */
.shop-hero { padding: clamp(36px, 6vw, 72px) 0 clamp(20px, 3vw, 32px); }
.shop-hero .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: end; }
.shop-hero h1 { font-size: clamp(48px, 7.4vw, 92px); margin-top: 18px; }
.shop-hero p { margin: 0; color: var(--muted); max-width: 40ch; }
.shop-hero p em { font-style: normal; color: var(--text); font-weight: 500; }
@media (max-width: 760px) { .shop-hero .wrap { grid-template-columns: 1fr; } }

.toolbar { position: sticky; top: var(--header-h, 76px); z-index: 20; padding: 10px 0; }
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: 999px; background: rgba(20, 12, 36, .6); border: 1px solid var(--glass-line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 10px 16px; border-radius: 999px; border: 0; background: transparent; font: 500 14px/1 var(--body); color: var(--muted); transition: all .2s; }
.chip:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--ink); }
.chip-sep { flex: none; width: 1px; margin: 8px 4px; background: var(--glass-line-2); }
.empty .chip { background: var(--glass-2); color: var(--text); margin-left: 6px; }

.results-meta { display: flex; justify-content: space-between; align-items: center; color: var(--dim); font-size: 14px; padding: 14px 4px 18px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.sort select { appearance: none; -webkit-appearance: none; background: var(--glass) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23b9b0d6' stroke-width='2' d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; border: 1px solid var(--glass-line); color: var(--text); border-radius: 999px; padding: 10px 36px 10px 16px; font: 500 14px var(--body); }
.sort select option { background: #1b1030; }
.empty { padding: 56px 20px; text-align: center; color: var(--muted); border-radius: var(--r-lg); background: var(--glass); border: 1px dashed var(--glass-line-2); }

.promise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(40px, 6vw, 72px); }
.promise div { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.promise svg { width: 22px; height: 22px; flex: none; color: var(--lilac); margin-top: 2px; }
.promise b { display: block; font-weight: 600; margin-bottom: 2px; }
.promise span { color: var(--muted); font-size: 14px; }
@media (max-width: 820px) { .promise { grid-template-columns: 1fr; } }

/* ---------- product page ---------- */
.pdp { padding: 22px 0 0; }
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--dim); margin-bottom: 20px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.crumbs a:first-child { padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); color: var(--text); }
.crumbs a:hover { color: var(--text); }
.crumbs svg { width: 16px; height: 16px; }
.pdp-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: start; }

.gallery { position: sticky; top: calc(var(--header-h, 76px) + 16px); padding: 10px; border-radius: var(--r-xl); background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.stage { position: relative; border-radius: calc(var(--r-xl) - 8px); overflow: hidden; background: #efecf6; aspect-ratio: 1; }
.slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.slides::-webkit-scrollbar { display: none; }
.slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; }
.thumbs button { flex: 1; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; background: #efecf6; aspect-ratio: 1; opacity: .55; transition: opacity .2s, border-color .2s; }
.thumbs button[aria-current="true"] { opacity: 1; border-color: var(--lilac); }
.thumbs button:hover { opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery { display: flex; flex-direction: column-reverse; }
.gallery .thumbs { margin: 10px 0 0; }
.dots { position: absolute; left: 0; right: 0; bottom: 14px; display: none; justify-content: center; gap: 6px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(27, 15, 51, .25); transition: all .2s; }
.dots i.on { width: 20px; border-radius: 4px; background: var(--ink); }
@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .thumbs { display: none; }
  .dots { display: flex; }
}

.buy { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.buy .eyebrow { font-size: 12.5px; }
.buy h1 { font-size: clamp(32px, 3.8vw, 46px); margin: 16px 0 12px; }
.buy .pitch { font-size: 17px; color: var(--muted); margin: 0 0 20px; }
.buy .price-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 1px solid var(--glass-line); }
.buy .price { font: 700 32px/1 var(--head); letter-spacing: -.02em; }
.buy .price-note { font-size: 13px; color: var(--muted); }
.opt { padding: 20px 0 2px; }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: 14px; }
.opt-head b { font-weight: 600; }
.opt-head span { color: var(--muted); }
.opt-head .need { color: #f9a8d4; font-weight: 600; }
.colors { display: flex; flex-wrap: wrap; gap: 10px; }
.colors button { width: 38px; height: 38px; border-radius: 50%; border: 0; padding: 0; position: relative; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transition: transform .15s; }
.colors button:hover { transform: scale(1.08); }
.colors button[aria-pressed="true"]::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--lilac); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes button { min-width: 58px; height: 46px; padding: 0 14px; border-radius: 14px; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, .05); font: 600 14px/1 var(--body); transition: all .15s; }
.sizes button:hover { background: rgba(255, 255, 255, .1); }
.sizes button[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.opt.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.buy-actions { display: flex; gap: 10px; margin-top: 24px; }
.buy-actions .btn-primary { flex: 1; --h: 56px; font-size: 16px; background: var(--aurora-btn); color: #fff; box-shadow: 0 14px 36px -12px rgba(192, 38, 211, .8); }
.icon-btn { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--glass-line-2); background: var(--glass); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--glass-2); }
.secure { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.secure svg { width: 15px; height: 15px; color: var(--lilac); flex: none; }

.acc { margin-top: 24px; border-top: 1px solid var(--glass-line); }
.acc details { border-bottom: 1px solid var(--glass-line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font: 600 15.5px var(--head); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font: 400 22px/1 var(--body); color: var(--muted); transition: transform .2s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding: 0 0 18px; color: var(--muted); font-size: 14.5px; }
.acc .acc-body p { margin: 0 0 10px; }
.acc ul { margin: 0; padding-left: 18px; }
.acc li { margin-bottom: 6px; }

.related { margin-top: clamp(56px, 8vw, 96px); }
.related .eyebrow { margin-bottom: 14px; }
.related h2 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 24px; }

/* mobile sticky buy bar */
.buybar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 12px; padding: 8px 8px 8px 10px; border-radius: 22px; background: rgba(27, 16, 48, .82); border: 1px solid var(--glass-line-2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); transform: translateY(140%); transition: transform .3s ease; }
.buybar.show { transform: none; }
.buybar img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: #efecf6; }
.buybar .meta { flex: 1; min-width: 0; }
.buybar .meta b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .meta span { font-size: 12.5px; color: var(--lilac); }
.buybar .btn { --h: 44px; padding: 0 18px; background: var(--aurora-btn); color: #fff; }
@media (max-width: 900px) { .buybar { display: flex; } .site-footer { padding-bottom: 110px; } }

/* checkout hand-off */
.handoff { border: 0; padding: 0; background: transparent; color: var(--text); max-width: min(440px, calc(100vw - 32px)); width: 100%; }
.handoff::backdrop { background: rgba(8, 4, 15, .6); backdrop-filter: blur(6px); }
.handoff-card { border-radius: 28px; background: rgba(30, 18, 54, .9); border: 1px solid var(--glass-line-2); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); padding: 28px; box-shadow: 0 40px 80px -20px #000; }
.handoff-card .tick { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--aurora-btn); color: #fff; margin-bottom: 18px; }
.handoff-card .tick svg { width: 24px; height: 24px; }
.handoff-card h2 { font-size: 30px; margin: 0 0 10px; }
.handoff-card p { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
.handoff-item { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid var(--glass-line); margin-bottom: 20px; }
.handoff-item img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: #efecf6; }
.handoff-item b { display: block; font-size: 14.5px; }
.handoff-item span { font-size: 13px; color: var(--lilac); }
.handoff-card .row { display: flex; gap: 10px; flex-wrap: wrap; }
.handoff-card .row .btn { flex: 1; }
