/* Ella London Wholesale — premium storefront layer (3D + motion).
   Loaded after style.css on storefront pages only; admin keeps style.css alone.
   Colours come from the Design & themes engine (--accent, --bg-*, --text, --muted, --border). */

body.store {
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --glass: color-mix(in srgb, var(--bg-solid) 72%, transparent);
  --accent-soft: color-mix(in srgb, var(--accent) 16%, transparent);
  --accent-line: color-mix(in srgb, var(--accent) 45%, transparent);
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  background: var(--bg-solid);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.store h1, body.store h2, body.store h3 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: -.025em; }
body.store h4 { font-family: 'Manrope', sans-serif; }
body.store em, .grad-text { font-style: var(--em-style); font-family: var(--font-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-right: .04em; }
body.store .wrap { max-width: 1320px; padding-inline: clamp(16px, 4vw, 40px); }
body.store ::selection { background: var(--accent); color: var(--accent-text); }
.ico { width: 22px; height: 22px; flex: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: pulse 2s infinite; }
.pulse.hot { background: #ff5a4e; box-shadow: 0 0 0 0 #ff5a4e; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* cursor spotlight */
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, var(--accent-soft), transparent 65%); opacity: 0; transition: opacity .4s; will-change: transform; }
body.has-pointer .cursor-glow { opacity: 1; }
main, .ftr, .hdr, .ann { position: relative; z-index: 1; }

/* ---------- announcement ---------- */
.ann { background: var(--grad); color: var(--accent-text); overflow: hidden; white-space: nowrap; font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.ann-track { display: inline-flex; gap: 22px; padding: 9px 0; animation: mq 40s linear infinite; }
.ann .dot { opacity: .6; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hdr.scrolled { border-bottom-color: var(--border); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .5); }
.hdr-in { max-width: 1320px; margin: 0 auto; padding: 16px clamp(16px, 4vw, 40px); display: flex; align-items: center; gap: 28px; transition: padding .3s var(--ease); }
.hdr.scrolled .hdr-in { padding-top: 10px; padding-bottom: 10px; }
.brandmark { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.bm-mono { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-family: var(--font-head); font-style: normal; font-weight: var(--head-weight); font-size: 24px; color: var(--accent-text);
  background: var(--grad); box-shadow: 0 8px 24px -8px var(--accent), inset 0 1px 0 rgba(255,255,255,.4); transition: transform .5s var(--spring); }
.brandmark:hover .bm-mono { transform: rotate(-8deg) scale(1.06); }
.bm-text { display: flex; flex-direction: column; line-height: 1; }
.bm-text b { font-family: var(--font-head); font-weight: var(--head-weight); font-size: calc(21px * var(--head-scale, 1)); letter-spacing: -.01em; }
.bm-text small { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.hdr-nav { display: flex; gap: 4px; flex: 1; justify-content: center; flex-wrap: nowrap; overflow: hidden; }
.hdr-nav a { position: relative; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--text); opacity: .78; white-space: nowrap; transition: opacity .2s; }
.hdr-nav a::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.hdr-nav a:hover { opacity: 1; }
.hdr-nav a:hover::after { transform: scaleX(1); }
.hdr-actions { display: flex; align-items: center; gap: 8px; }
.hdr-search { display: flex; align-items: center; gap: 8px; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 999px; padding: 0 14px; height: 42px; color: var(--muted); transition: border-color .2s, width .4s var(--ease); width: 210px; }
.hdr-search:focus-within { border-color: var(--accent-line); width: 260px; }
.hdr-search .ico { width: 18px; height: 18px; }
.hdr-search input { background: none; border: 0; outline: 0; color: var(--text); font: inherit; font-size: 14px; width: 100%; }
.hdr-icon { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--text); transition: background .2s; }
.hdr-icon:hover { background: var(--bg-elevated); }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--accent); color: var(--accent-text); font-size: 11px; font-weight: 800; display: grid; place-items: center; animation: pop .5s var(--spring); }
@keyframes pop { from { transform: scale(0); } }
.hdr-burger { display: none; width: 42px; height: 42px; border: 0; background: none; cursor: pointer; position: relative; }
.hdr-burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .35s var(--ease); }
.hdr-burger span:first-child { top: 16px; } .hdr-burger span:last-child { top: 24px; }
.hdr-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.hdr-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mnav[hidden] { display: none; }
.mnav { border-top: 1px solid var(--border); padding: 10px clamp(16px, 4vw, 40px) 18px; display: flex; flex-direction: column; }
.mnav a { padding: 12px 0; font-size: 17px; font-weight: 600; border-bottom: 1px solid var(--border); animation: slideIn .5s var(--ease) both; }
.mnav-search input { width: 100%; height: 46px; margin: 6px 0 8px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--bg-elevated); color: var(--text); font: inherit; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-14px); } }

/* ---------- buttons ---------- */
body.store .btn { font-family: 'Manrope', sans-serif; font-weight: 700; letter-spacing: .01em; transition: transform .35s var(--spring), box-shadow .35s, background .25s, border-color .25s, color .25s; }
body.store .btn.primary { background: var(--grad); background-size: 160% 100%; background-position: 0 0; color: var(--accent-text); box-shadow: 0 14px 34px -14px var(--accent), inset 0 1px 0 rgba(255,255,255,.35); border: 0; }
body.store .btn.primary:hover { box-shadow: 0 20px 44px -14px var(--accent), inset 0 1px 0 rgba(255,255,255,.35); filter: none; }
body.store .btn.ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
body.store .btn.ghost:hover { border-color: var(--accent-line); background: var(--accent-soft); }
body.store .btn.lg { padding: 16px 28px; font-size: 15px; }
body.store .btn .ico { width: 18px; height: 18px; transition: transform .35s var(--ease); }
body.store .btn:hover .ico { transform: translateX(4px); }
.magnetic { will-change: transform; }

/* ---------- hero ---------- */
body.store .hero { position: relative; min-height: min(92vh, 860px); padding: 0; display: flex; align-items: center; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 600px at 78% 40%, var(--accent-soft), transparent 60%), radial-gradient(700px 500px at 0% 100%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 70%), var(--bg-solid); }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-canvas.ready { opacity: 1; }
.hero-fallback { position: absolute; right: 4%; top: 50%; width: min(46vw, 560px); aspect-ratio: 1; transform: translateY(-50%); z-index: -2; perspective: 1200px; }
.hero-canvas.ready ~ .hero-fallback { display: none; }
.hero-fallback img { position: absolute; width: 46%; aspect-ratio: 3/4; object-fit: cover; border-radius: 20px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
  left: calc(8% + var(--i) * 11%); top: 10%; transform: rotateY(-18deg) rotateZ(calc((var(--i) - 2) * 4deg)); animation: floaty 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.2s); }
.hero-fallback img:nth-child(even) { top: 32%; }
@keyframes floaty { 50% { translate: 0 -14px; } }
.hero-grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body.store .hero-in { width: 100%; padding-block: 70px 90px; pointer-events: none; }
.hero-copy { max-width: 640px; pointer-events: auto; }
.hero-title { font-size: calc(clamp(44px, 7vw, 96px) * var(--head-scale, 1)); line-height: .98; margin: 0 0 24px; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .w > span { display: inline-block; transform: translateY(110%) rotate(6deg); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi) * 70ms + 150ms); }
.hero-title.go .w > span { transform: none; }
.hero-title .w:nth-last-child(-n+2) > span { font-style: var(--em-style); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em; }
.hero-lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--muted); max-width: 520px; line-height: 1.6; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 48px); margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-stats dt { font-family: var(--font-head); font-size: clamp(30px, 3vw, 42px); color: var(--text); line-height: 1; }
.hero-stats dd { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.split-in { animation: fadeUp .9s var(--ease) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 2px solid var(--border); border-radius: 20px; translate: -50% 0; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--accent); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 60% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- trust strip ---------- */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--bg-elevated) 60%, transparent); }
.trust-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-in > div { display: flex; align-items: center; gap: 14px; padding: 24px 20px; border-left: 1px solid var(--border); }
.trust-in > div:first-child { border-left: 0; }
.trust .ico { width: 34px; height: 34px; color: var(--accent); padding: 7px; border-radius: 12px; background: var(--accent-soft); box-sizing: content-box; }
.trust b { display: block; font-size: 15px; }
.trust span { font-size: 13px; color: var(--muted); }

/* ---------- sections ---------- */
.sec { padding: clamp(60px, 9vw, 120px) 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.sec-head h2 { font-size: calc(clamp(32px, 4.4vw, 58px) * var(--head-scale, 1)); line-height: 1.02; margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--text); padding: 10px 0; border-bottom: 1px solid var(--accent-line); }
.link-arrow .ico { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover .ico { transform: translateX(5px); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- category rail ---------- */
.cat-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px 2px 26px; scrollbar-width: none; cursor: grab; perspective: 1200px; }
.cat-rail::-webkit-scrollbar { display: none; }
.cat-rail.dragging { cursor: grabbing; scroll-snap-type: none; }
.cat-tile { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; background: var(--bg-elevated); border: 1px solid var(--border); transform-style: preserve-3d; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-tile:hover img { transform: scale(1.08); }
.cat-shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5, 6, 10, .88)); }
.cat-meta { position: absolute; left: 20px; right: 64px; bottom: 20px; color: #fff; transform: translateZ(40px); }
.cat-meta b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 24px; line-height: 1.1; }
.cat-meta small { opacity: .75; font-size: 13px; }
.cat-go { position: absolute; right: 18px; bottom: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-text); transform: translateZ(50px) scale(.85); opacity: .9; transition: transform .4s var(--spring); }
.cat-tile:hover .cat-go { transform: translateZ(50px) scale(1) rotate(-45deg); }
.cat-go .ico { width: 18px; height: 18px; }

/* ---------- product cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; perspective: 1400px; }
.pcard { position: relative; border-radius: var(--radius); background: var(--bg-elevated); border: 1px solid var(--border); transform-style: preserve-3d; transition: border-color .3s, box-shadow .4s; }
.pcard:hover { border-color: var(--accent-line); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55), 0 0 0 1px var(--accent-soft); }
.pcard-media { position: relative; display: block; aspect-ratio: 1; margin: 10px 10px 0; border-radius: calc(var(--radius) - 8px); overflow: hidden; background: #fff; transform: translateZ(20px); }
.pcard-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: opacity .6s var(--ease), transform .9s var(--ease); }
.pcard-media .img-b { opacity: 0; transform: scale(1.06); }
.pcard:hover .pcard-media .img-a { transform: scale(1.06); }
.pcard:hover .pcard-media .img-b { opacity: 1; transform: scale(1); }
.pcard:hover .pcard-media:has(.img-b) .img-a { opacity: 0; }
.pcard-ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-head); font-size: 70px; color: #bbb; }
.pcard-glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .45), transparent 45%); opacity: 0; mix-blend-mode: soft-light; transition: opacity .3s; }
.pcard:hover .pcard-glare { opacity: 1; }
.pcard-badge { position: absolute; z-index: 2; top: 12px; left: 12px; padding: 5px 11px; border-radius: 99px; background: #ff5a4e; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .02em; box-shadow: 0 8px 20px -8px #ff5a4e; }
.pcard-badge.out { left: auto; right: 12px; background: #2b2d35; box-shadow: none; }
.pcard-body { padding: 16px 18px 18px; transform: translateZ(30px); }
.pcard-cat { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pcard-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 7px 0 14px; font-weight: 700; font-size: 15px; line-height: 1.35; min-height: 2.7em; }
.pcard-name:hover { color: var(--accent); }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard-price { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.pcard-price small { font-size: 12px; color: var(--muted); }
.pcard-price b { font-size: 20px; font-family: var(--font-head); font-weight: 600; }
.pcard-price s { font-size: 13px; color: var(--muted); }
.pcard-add { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; flex: none; color: var(--accent-text);
  background: var(--grad); box-shadow: 0 10px 24px -10px var(--accent); transition: transform .4s var(--spring); }
.pcard-add:hover { transform: scale(1.12) rotate(90deg); }

/* ---------- mystery box ---------- */
.mbox { position: relative; margin-top: clamp(70px, 10vw, 130px); padding: clamp(60px, 8vw, 110px) 0; overflow: hidden; isolation: isolate; }
.mbox-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 400px at 25% 50%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), radial-gradient(500px 400px at 80% 20%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 70%), linear-gradient(180deg, var(--bg-elevated), var(--bg-solid)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mbox-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.mbox-stage { position: relative; height: 440px; perspective: 1100px; display: grid; place-items: center; }
.cube { --s: 230px; position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d; animation: spin 18s linear infinite; }
.cube-face { position: absolute; inset: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.4); box-shadow: inset 0 0 60px rgba(0,0,0,.25); backface-visibility: hidden; }
.cube-face img { width: 100%; height: 100%; object-fit: contain; padding: 10%; }
.cube-face .ribbon-v, .cube-face .ribbon-h { position: absolute; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 65%, #000), color-mix(in srgb, var(--accent) 60%, #fff), color-mix(in srgb, var(--accent) 65%, #000)); opacity: .92; }
.cube-face .ribbon-v { left: 50%; top: 0; bottom: 0; width: 26px; margin-left: -13px; }
.cube-face .ribbon-h { top: 50%; left: 0; right: 0; height: 26px; margin-top: -13px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 65%, #000), color-mix(in srgb, var(--accent) 60%, #fff), color-mix(in srgb, var(--accent) 65%, #000)); }
.cube-face.front { transform: translateZ(calc(var(--s) / 2)); }
.cube-face.back { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); }
.cube-face.right { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); }
.cube-face.left { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); }
.cube-face.top { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); }
@keyframes spin { from { transform: rotateX(-22deg) rotateY(0); } to { transform: rotateX(-22deg) rotateY(360deg); } }
.cube-shadow { position: absolute; bottom: 40px; width: 260px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.55), transparent); animation: shadowPulse 4s ease-in-out infinite; }
.mbox-stage .cube { animation: spin 18s linear infinite, bob 4s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -18px; } }
@keyframes shadowPulse { 50% { transform: scale(.82); opacity: .7; } }
.sparks i { position: absolute; left: 50%; top: 45%; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent);
  animation: spark 3.2s var(--ease) infinite; animation-delay: calc(var(--i) * -.23s); --a: calc(var(--i) * 25.7deg); }
@keyframes spark { 0% { transform: rotate(var(--a)) translateX(60px) scale(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: rotate(var(--a)) translateX(230px) scale(1); opacity: 0; } }
.mbox-copy h2 { font-size: calc(clamp(34px, 4.5vw, 60px) * var(--head-scale, 1)); line-height: 1.03; margin-bottom: 18px; }
.mbox-copy p { color: var(--muted); font-size: 17px; max-width: 520px; }
.mbox-sizes { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }
.size-chip { display: flex; flex-direction: column; padding: 12px 18px; border-radius: 16px; border: 1px solid var(--border); background: color-mix(in srgb, var(--bg-elevated-2) 70%, transparent); transition: transform .35s var(--spring), border-color .25s; }
.size-chip b { font-size: 15px; }
.size-chip span { font-family: var(--font-head); color: var(--accent); font-size: 18px; }
.size-chip:hover { transform: translateY(-5px); border-color: var(--accent-line); }

/* ---------- marquee ---------- */
.marquee-band { margin-top: clamp(60px, 9vw, 120px); padding: 26px 0; overflow: hidden; white-space: nowrap; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); transform: rotate(-1.5deg) scale(1.03); background: var(--bg-elevated); }
.mq-track { display: inline-flex; align-items: center; gap: 34px; animation: mq 34s linear infinite; font-family: var(--font-head); font-weight: var(--head-weight); font-size: calc(clamp(30px, 5vw, 64px) * var(--head-scale, 1)); font-style: var(--em-style); }
.mq-track span:nth-child(4n+1) { color: transparent; -webkit-text-stroke: 1px var(--text); }
.mq-track i { color: var(--accent); font-style: normal; font-size: .5em; }

/* ---------- steps ---------- */
.steps-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1200px; }
.steps-grid li { position: relative; padding: 34px 28px; border-radius: var(--radius); border: 1px solid var(--border); background: linear-gradient(160deg, var(--bg-elevated-2), var(--bg-elevated)); transform-style: preserve-3d; overflow: hidden; }
.steps-grid .ico { width: 44px; height: 44px; color: var(--accent); margin-bottom: 22px; transform: translateZ(40px); }
.steps-grid b { display: block; font-family: var(--font-head); font-weight: 500; font-size: 24px; margin-bottom: 8px; transform: translateZ(30px); }
.steps-grid p { margin: 0; color: var(--muted); transform: translateZ(20px); }
.step-n { position: absolute; right: 18px; top: 6px; font-family: var(--font-head); font-size: 88px; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--border); }

/* ---------- trade CTA ---------- */
.trade { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 30px; padding: clamp(34px, 5vw, 64px); border-radius: 32px; border: 1px solid var(--accent-line);
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 18%, var(--bg-elevated)), var(--bg-elevated) 60%); isolation: isolate; }
.trade h2 { font-size: calc(clamp(30px, 3.8vw, 50px) * var(--head-scale, 1)); margin-bottom: 12px; }
.trade p { color: var(--muted); max-width: 520px; margin: 0; }
.trade-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.trade-orb { position: absolute; z-index: -1; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, var(--accent), var(--accent-2) 45%, transparent 70%); filter: blur(10px); opacity: .35; animation: orb 12s ease-in-out infinite; }
@keyframes orb { 50% { transform: translate(-60px, 50px) scale(1.15); } }

/* ---------- footer ---------- */
.ftr { margin-top: clamp(70px, 10vw, 130px); border-top: 1px solid var(--border); background: var(--bg-elevated); color: var(--muted); font-size: 14px; padding-bottom: env(safe-area-inset-bottom, 0px); }
.ftr-cta { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--border); }
.ftr-cta h3 { font-size: clamp(26px, 3vw, 38px); color: var(--text); margin: 0; }
.ftr-sub { display: flex; gap: 10px; background: var(--bg-solid); padding: 6px; border-radius: 99px; border: 1px solid var(--border); }
.ftr-sub input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 0 18px; color: var(--text); font: inherit; }
.ftr-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 30px; padding: 56px 0 40px; }
.ftr-grid h4 { color: var(--text); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.ftr-grid a { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; transition: color .2s; }
.ftr-grid a:hover { color: var(--accent); }
.ftr-grid .ico { width: 16px; height: 16px; }
.ftr-grid p { max-width: 300px; margin: 18px 0; }
.ftr-grid .brandmark { color: var(--text); }
.ftr-soc { display: flex; gap: 14px; }
.ftr-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0 30px; border-top: 1px solid var(--border); }
.pay-row { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-row img { height: 24px; width: auto; border-radius: 4px; background: #fff; }
.wa-fab { position: fixed; z-index: 60; right: 22px; bottom: calc(22px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); }
.wa-fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { to { transform: scale(1.6); opacity: 0; } }

/* ---------- inner pages: shop, product, cart, checkout ---------- */
body.store .products-page { padding-top: 40px; }
body.store .filters { border-radius: var(--radius); top: 96px; }
body.store .grid-products { grid-template-columns: repeat(3, 1fr); gap: 22px; perspective: 1400px; }
body.store .results-head h1 { font-size: clamp(30px, 3.4vw, 44px) !important; }
body.store .breadcrumb { margin-top: 30px; }
body.store .pdp { gap: clamp(30px, 5vw, 70px); }
body.store .pdp h1 { font-size: clamp(28px, 3vw, 42px); line-height: 1.1; }
body.store .pdp-price { font-family: var(--font-head); font-size: 34px; font-weight: 600; }
.pdp-media { position: sticky; top: 96px; }
.pdp-stage { perspective: 1200px; }
.pdp-main { position: relative; aspect-ratio: 1; border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--border); transform-style: preserve-3d; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.pdp-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 5%; transition: opacity .45s var(--ease), transform .6s var(--ease); }
.pdp-main img.leaving { opacity: 0; transform: scale(.96); }
.pdp-main .pcard-glare { z-index: 2; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
.pdp-thumbs button { flex: none; width: 76px; height: 76px; border-radius: 14px; border: 2px solid transparent; background: #fff; padding: 4px; cursor: pointer; transition: border-color .2s, transform .3s var(--spring); }
.pdp-thumbs button.on { border-color: var(--accent); }
.pdp-thumbs button:hover { transform: translateY(-3px); }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-save { display: inline-flex; padding: 5px 12px; border-radius: 99px; background: rgba(255, 90, 78, .14); color: #ff6a5e; font-weight: 800; font-size: 13px; margin-left: 10px; vertical-align: middle; font-family: 'Manrope', sans-serif; }
.pdp-perks { display: grid; gap: 10px; margin: 22px 0; padding: 18px; border-radius: 18px; border: 1px solid var(--border); background: var(--bg-elevated); }
.pdp-perks div { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.pdp-perks .ico { color: var(--accent); }
.pdp-desc { color: var(--muted); line-height: 1.7; white-space: normal; }
body.store .option-pill { padding: 11px 18px; border-radius: 14px; font-weight: 700; transition: transform .3s var(--spring), border-color .2s; }
body.store .option-pill:hover { transform: translateY(-2px); }
body.store .option-pill.active { background: var(--accent-soft); }
body.store .summary-card, body.store .card { border-radius: var(--radius); }
body.store .narrow { max-width: 820px; }
body.store .narrow h1 { font-size: clamp(34px, 4vw, 52px); }
body.store .narrow h2, body.store .narrow h3 { margin-top: 1.4em; }
body.store .narrow p, body.store .narrow li { color: var(--muted); line-height: 1.75; }
body.store .input:focus, body.store select.input:focus { outline: 0; border-color: var(--accent-line); box-shadow: 0 0 0 4px var(--accent-soft); }
body.store .table-wrap { border-radius: var(--radius); }

/* page transition curtain */
.curtain { position: fixed; inset: 0; z-index: 100; pointer-events: none; background: var(--bg-solid); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); }
.curtain.on { transform: scaleY(1); transform-origin: top; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .hdr-nav { display: none; }
  .hdr-burger { display: block; }
}
@media (max-width: 1024px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .ftr-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ftr-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .trust-in { grid-template-columns: 1fr 1fr; }
  .trust-in > div:nth-child(3) { border-left: 0; }
  .trust-in > div { border-top: 1px solid var(--border); }
  .mbox-in, .trade, .ftr-cta { grid-template-columns: 1fr; }
  .trade-cta { justify-content: flex-start; }
  .mbox-stage { height: 340px; }
  .cube { --s: 180px; }
  .steps-grid { grid-template-columns: 1fr; }
  body.store .grid-products { grid-template-columns: repeat(2, 1fr); }
  .pdp-media { position: static; }
  body.store .hero { min-height: auto; }
  body.store .hero-in { padding-block: 40px 380px; }
  .hero-canvas { height: 340px; } /* top is set by store.js under the active slide text */
  .hero-fallback { top: auto; bottom: 10px; right: 50%; transform: translateX(50%); width: 320px; }
  .scroll-hint { display: none; }
}
@media (max-width: 640px) {
  .hdr-search { display: none; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  body.store .grid-products { gap: 12px; }
  .pcard-body { padding: 12px 12px 14px; }
  .pcard-name { font-size: 13px; }
  .pcard-price b { font-size: 17px; }
  .pcard-add { width: 38px; height: 38px; }
  .pcard-media { margin: 6px 6px 0; }
  .trust-in > div { padding: 18px 10px; gap: 10px; }
  .trust .ico { width: 26px; height: 26px; }
  .trust b { font-size: 13px; }
  .trust span { font-size: 12px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .cat-rail { grid-auto-columns: 68%; }
  .bm-text b { font-size: 18px; }
  .hero-stats { gap: 22px; }
  .ftr-sub { flex-direction: column; border-radius: 20px; }
  .ftr-sub input { height: 46px; }
  .wa-fab { width: 52px; height: 52px; right: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-title .w > span { transform: none; transition: none; }
  .ann-track, .mq-track, .cube, .sparks i, .hero-fallback img, .trade-orb, .wa-fab::before { animation: none !important; }
  .cursor-glow { display: none; }
}

/* checkout / basket spacing */
body.store .checkout-grid { padding-top: 48px; }
body.store .checkout-grid h1 { font-size: clamp(34px, 4vw, 50px); }
body.store .summary-card { position: sticky; top: 100px; }

/* corner style chosen in Admin → Design & colours */
body.store .btn, body.store .pcard-add, body.store .hdr-search, body.store .ftr-sub, body.store .size-chip, body.store .option-pill { border-radius: var(--btn-radius, 999px); }
body.store .pcard-media { border-radius: calc(var(--radius) - 8px); }
body.store .cat-tile, body.store .steps-grid li, body.store .pcard { border-radius: var(--radius); }
body.store .trade { border-radius: calc(var(--radius) + 8px); }
body.store .btn.primary:hover { background-position: 100% 0; }
body.look-light .hero-stats dt, body.look-light .pcard-price b { color: var(--text); }
body.look-light .pcard { box-shadow: 0 18px 40px -28px rgba(20, 20, 40, .35); }
body.look-light .cursor-glow { opacity: .55; }
body.look-light .ann { color: #fff; }

/* light / dark switch */
.mode-btn { border: 0; background: none; cursor: pointer; color: var(--text); }
.mode-btn .ico { transition: transform .5s var(--spring), opacity .3s; position: absolute; }
body.look-dark .mode-btn .ico-moon, body.look-light .mode-btn .ico-sun { opacity: 0; transform: rotate(-90deg) scale(.5); }
body.store, .hdr, .card, .ftr, .trust { transition: background-color .45s ease, color .45s ease, border-color .45s ease; }

/* ---------- hero slider ---------- */
body.store .hero { flex-direction: column; align-items: stretch; justify-content: center; }
.hero-slides { display: grid; width: 100%; }
.hslide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s linear .8s; }
.hslide.is-on { opacity: 1; visibility: visible; transition: opacity .8s var(--ease), visibility 0s; }
body.store .hslide .hero-in { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 4vw, 60px); padding-block: 70px 24px; }
body.store .hslide.media-3d .hero-in { grid-template-columns: 1fr; }
.hs-el { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hslide.is-on .hs-el { opacity: 1; transform: none; transition-delay: var(--d, 0ms); }
.hslide-media { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; justify-self: center; perspective: 1200px; pointer-events: auto; }
.hslide-glow { position: absolute; inset: -4%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 40%, transparent), color-mix(in srgb, var(--accent-2) 18%, transparent) 45%, transparent 70%); filter: blur(24px); animation: orb 10s ease-in-out infinite; }
.hslide-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px dashed var(--accent-line); animation: spinRing 40s linear infinite; pointer-events: none; }
@keyframes spinRing { to { transform: rotate(360deg); } }
.hslide-frame { position: absolute; inset: 9%; border-radius: calc(var(--radius) + 6px); overflow: hidden; background: #fff; transform-style: preserve-3d;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .65), 0 0 0 1px var(--border); opacity: 0; transform: rotateY(-18deg) rotateX(8deg) scale(.86); transition: transform 1.2s var(--ease) .1s, opacity .8s .1s; }
.hslide.is-on .hslide-frame { opacity: 1; transform: rotateY(-7deg) rotateX(3deg); }
.hslide-frame img { width: 100%; height: 100%; object-fit: contain; padding: 6%; animation: kenburns 16s ease-in-out infinite alternate; }
@keyframes kenburns { to { transform: scale(1.08) translate(-1.5%, -1%); } }
.hero-canvas.ready { opacity: 0; }
.hero.show-3d .hero-canvas.ready { opacity: 1; }
.hero:not(.show-3d) .hero-fallback { opacity: 0; }
.hero-fallback { transition: opacity .6s; }
.hero-foot { width: 100%; position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 64px; pointer-events: none; }
.hero-foot > * { pointer-events: auto; }
body.store .hero-foot .hero-stats { margin-top: 0; }
.hero-ctrl { display: flex; align-items: center; gap: 12px; }
.hc-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: var(--glass); backdrop-filter: blur(10px); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, transform .3s var(--spring); }
.hc-btn:hover { border-color: var(--accent-line); transform: scale(1.08); }
.hc-dots { display: flex; gap: 8px; }
.hc-dot { width: 46px; padding: 12px 0; border: 0; background: none; cursor: pointer; }
.hc-dot i { position: relative; display: block; height: 4px; border-radius: 4px; background: var(--border); overflow: hidden; }
.hc-dot i::after { content: ''; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.hc-dot.on i::after { animation: heroProg var(--hero-dur, 7s) linear forwards; }
.hero.no-auto .hc-dot.on i::after { animation: none; transform: scaleX(1); }
@keyframes heroProg { to { transform: scaleX(1); } }
@media (max-width: 860px) {
  body.store .hslide .hero-in { grid-template-columns: 1fr; padding-block: 36px 8px; }
  body.store .hslide.media-3d .hero-in { padding-bottom: 340px; }
  .hslide-media { max-width: 360px; }
  .hero-canvas { bottom: auto; }
  .hero-foot { padding-bottom: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  .hslide-frame img, .hslide-ring, .hslide-glow { animation: none; }
}

/* ---------- zoom, share, recently viewed, account ---------- */
.pdp-main[data-zoom] { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 5, 12, .92); display: flex; align-items: center; justify-content: center; padding: 24px; animation: fadeUp .3s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 86vh; object-fit: contain; background: #fff; border-radius: 16px; }
.lb-close, .lb-nav { position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .12); width: 48px; height: 48px; border-radius: 50%; font-size: 28px; line-height: 1; display: grid; place-items: center; }
.lb-nav[hidden] { display: none; }
.lb-close { top: calc(18px + env(safe-area-inset-top, 0px)); right: 18px; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.share-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 16px 0 4px; }
.share-btn { font: inherit; font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: var(--btn-radius, 999px); border: 1px solid var(--border); background: transparent; color: var(--text); cursor: pointer; }
.share-btn:hover { border-color: var(--accent-line); color: var(--accent); }
.recent-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(160px, 200px); gap: 14px; overflow-x: auto; padding-bottom: 10px; scrollbar-width: thin; }
.recent-card { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-elevated); transition: border-color .2s, transform .3s var(--spring); }
.recent-card:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.recent-card img { aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: calc(var(--radius) - 10px); width: 100%; }
.recent-card span { font-size: 13px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.recent-card b { font-family: var(--font-head); }
.auth .auth-card { padding: clamp(24px, 4vw, 40px); }
.auth h1 { font-size: calc(clamp(30px, 4vw, 42px) * var(--head-scale, 1)); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; margin: 18px 0 6px; border-radius: var(--btn-radius, 999px); background: var(--bg-elevated-2); border: 1px solid var(--border); }
.auth-tabs a { text-align: center; padding: 10px; font-size: 14px; font-weight: 700; border-radius: var(--btn-radius, 999px); color: var(--muted); }
.auth-tabs a.on { background: var(--grad); color: var(--accent-text); }
.otp-input { font-size: 28px; letter-spacing: .5em; text-align: center; font-weight: 800; }
.alink { color: var(--accent); font-weight: 700; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; }
.acct-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .acct-grid { grid-template-columns: 1fr; } }

/* ---------- checkout (Shopify-style) ---------- */
.co { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: clamp(24px, 4vw, 56px); padding-block: 34px 60px; align-items: start; }
.co-steps { margin-bottom: 10px; }
.co-sec { margin-bottom: 26px; }
.co-sec h2 { font-size: calc(22px * var(--head-scale, 1)); margin: 0 0 14px; }
.fl { position: relative; margin-bottom: 12px; }
.fl .input { height: 54px; padding: 22px 14px 8px; border-radius: 12px; }
.fl textarea.input { height: auto; min-height: 64px; padding-top: 24px; }
.fl select.input { padding-top: 20px; }
.fl label { position: absolute; left: 15px; top: 17px; font-size: 14px; color: var(--muted); pointer-events: none; transition: all .18s var(--ease); }
.fl .input:focus + label, .fl .input:not(:placeholder-shown) + label, .fl select + label { top: 7px; font-size: 11px; }
.co-row3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.co-ship { display: flex; justify-content: space-between; align-items: center; padding: 16px; border-radius: 12px; border: 1px solid var(--accent-line); background: var(--accent-soft); }
.co-ship span { display: flex; align-items: center; gap: 10px; }
.pay-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 12px; }
.pay-tile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--border); background: var(--bg-elevated); color: var(--text); font: inherit; cursor: pointer; text-align: left; transition: border-color .2s, box-shadow .2s, transform .2s var(--spring); }
.pay-tile:hover { transform: translateY(-2px); }
.pay-tile.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pay-ico { width: 38px; height: 26px; border-radius: 6px; background: var(--bg-elevated-2); border: 1px solid var(--border); position: relative; }
.pay-ico-stripe::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 5px; background: var(--muted); opacity: .6; }
.pay-ico-paypal { background: #ffc439 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23003087' d='M8.3 21H5l2.3-15h6c3 0 4.6 1.6 4.2 4.3-.5 3.2-2.7 4.7-5.7 4.7H9.6z'/%3E%3C/svg%3E") center/16px no-repeat; border: 0; }
.pay-ico-cod { background: var(--bg-elevated-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='1.8'%3E%3Cpath d='M3 10l9-6 9 6M5 10v8M19 10v8M9 10v8M15 10v8M3 20h18'/%3E%3C/svg%3E") center/16px no-repeat; }
.pay-logos { display: flex; gap: 4px; }
.pay-logos img { height: 18px; width: auto; border-radius: 3px; background: #fff; }
.pay-panel { padding: 16px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-elevated); margin-bottom: 16px; }
.pay-panel[hidden] { display: none; }
.pay-note { margin: 10px 0 0; }
.bank-box { white-space: pre-wrap; font: 600 14px/1.6 'Manrope', monospace; background: var(--bg-elevated-2); border: 1px dashed var(--accent-line); border-radius: 10px; padding: 12px 14px; margin: 10px 0 0; color: var(--text); }
.co-submit { margin-top: 6px; height: 58px; font-size: 16px; }
.co-submit[hidden] { display: none; }
.co-side { position: sticky; top: 96px; }
.co-summary { padding: 22px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--bg-elevated); }
.co-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; margin-bottom: 14px; }
.co-thumb { position: relative; width: 64px; height: 64px; border-radius: 12px; background: #fff; border: 1px solid var(--border); }
.co-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; border-radius: 12px; }
.co-thumb i { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--grad); color: var(--accent-text); font-style: normal; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.co-name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.co-name small { display: block; color: var(--muted); font-weight: 500; }
.co-coupon { display: flex; gap: 8px; margin: 18px 0 10px; }
.co-coupon .input { height: 48px; }
.co-summary .summary-line.total { font-size: 20px; }
@media (max-width: 900px) {
  .co { grid-template-columns: 1fr; }
  .co-side { position: static; order: -1; }
  .co-row3 { grid-template-columns: 1fr 1fr; }
  .co-row3 .fl:first-child { grid-column: 1 / -1; }
}
.bm-logo { height: 46px; width: auto; max-width: 220px; object-fit: contain; }
.hdr.scrolled .bm-logo { height: 38px; }
