/* Storefront base styles. Every template restyles this through CSS variables set by the engine. */
:root {
  --bg: #fff; --surface: #fff; --surface2: #f4f4f4; --text: #111; --muted: #666; --border: #e5e5e5;
  --primary: #111; --on-primary: #fff; --accent: #c8a27a; --on-accent: #111;
  --radius: 8px; --btn-radius: 999px; --head-weight: 600; --head-transform: none; --head-tracking: -0.02em;
  --max: 1240px; --pad-y: 80px; --img-ratio: 1/1; --star: #111;
  --ann-bg: #111; --ann-text: #fff; --footer-bg: #f4f4f4; --footer-text: #111;
  --font-head: system-ui, sans-serif; --font-body: system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
html.no-scroll { overflow: hidden; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); text-transform: var(--head-transform); line-height: 1.12; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
.ic { width: 20px; height: 20px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.mt { margin-top: 40px; }
.accent-t { color: var(--accent); }

/* ── page grid ── */
.page { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: stretch; min-height: 100vh; align-content: start; }
.blk { grid-column: span 12; min-width: 0; position: relative; container-type: inline-size; }
.blk > .sec { height: 100%; }
.blk.fixed-h { overflow: hidden; }
.blk.is-sticky { position: sticky; top: 0; z-index: 40; align-self: start; }
.wrap { --gut: clamp(18px, 3.6vw, 44px); max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
/* sections sharing a row: outer edges line up with the page's content column, inner edges get a normal gutter */
.blk.part > .sec > .wrap { max-width: none; margin: 0; }
.blk.part.edge-l > .sec > .wrap { padding-left: max(var(--gut), calc((var(--pw, 100vw) - var(--max)) / 2 + var(--gut))); }
.blk.part.edge-r > .sec > .wrap { padding-right: max(var(--gut), calc((var(--pw, 100vw) - var(--max)) / 2 + var(--gut))); }
.sec { padding: var(--pad-y) 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(26px, 3.2cqi, 40px); }
.sec-head p { margin-top: 10px; }
.eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: .16em; font-weight: 600; margin-bottom: 14px; color: var(--muted); }
.empty-page { grid-column: span 12; text-align: center; padding: 160px 24px; color: var(--muted); }
.empty-page h2 { color: var(--text); margin-bottom: 8px; }

/* ── buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: var(--btn-radius); font-weight: 600; font-size: 14px; line-height: 1; border: 1.5px solid transparent; transition: transform .15s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost { border-color: currentColor; color: var(--text); }
.btn-ghost:hover { background: var(--text); color: var(--bg); }
.btn-light { background: #fff; color: #111; }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 28px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.ibtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; transition: background .2s; position: relative; }
.ibtn:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.ibtn.round { border: 1px solid var(--border); }
.link { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 4px; }
.link .ic { width: 14px; height: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-top: 22px; border-bottom: 1.5px solid currentColor; padding-bottom: 3px; }
.link-arrow .ic { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }

.stars { display: inline-block; font-size: 13px; letter-spacing: 1px; line-height: 1; }
.stars::before { content: '★★★★★'; background: linear-gradient(90deg, var(--star) calc(var(--r) / 5 * 100%), color-mix(in srgb, var(--text) 18%, transparent) 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rating { display: inline-flex; align-items: center; gap: 6px; }
.rating small { color: var(--muted); font-size: 12px; }
.price { font-weight: 600; }
.price s { color: var(--muted); font-weight: 400; margin-left: 6px; }
.price.on-sale { color: var(--accent); }
.paybadge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px 4px 4px; border-radius: 999px; background: color-mix(in srgb, var(--text) 7%, transparent); margin-right: 6px; white-space: nowrap; }
.paybadge b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 999px; color: #fff; font-size: 12px; }
.paybadge.cashapp b, .paylogo.cashapp { background: #00c244; }
.paybadge.venmo b, .paylogo.venmo { background: #008cff; }

/* ── announcement ── */
.ann { padding: 10px 0; text-align: center; font-size: 13px; background: var(--ann-bg); color: var(--ann-text); }
.ann-accent { background: var(--accent); color: var(--on-accent); }
.ann-subtle { background: var(--surface2); color: var(--text); }

/* ── header ── */
.hdr { padding: 0; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border); }
.hdr-in { display: flex; align-items: center; gap: 36px; min-height: 72px; }
.logo { font-family: var(--font-head); font-size: 22px; font-weight: 700; white-space: nowrap; }
.nav { display: flex; gap: 26px; flex: 1; flex-wrap: wrap; }
.nav a { font-size: 14px; font-weight: 500; position: relative; padding: 4px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: currentColor; transition: right .25s var(--ease); }
.nav a:hover::after { right: 0; }
.hicons { display: flex; gap: 2px; margin-left: auto; }
.hdr-center .hdr-in { display: grid; grid-template-columns: 1fr auto 1fr; }
.hdr-center .hdr-side { display: flex; align-items: center; gap: 12px; }
.hdr-center .logo { text-align: center; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.cart-count.zero { display: none; }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; }
.hdr-center .nav { flex-wrap: nowrap; gap: 20px; }
.hdr-center .nav a { white-space: nowrap; }
@container (max-width: 1180px) {
  .hdr-center .nav { display: none; }
  .hdr-center .menu-btn { display: inline-grid; }
}
@container (max-width: 860px) {
  .hdr .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .hdr-in { gap: 8px; }
}

/* ── hero ── */
.hero h1 { font-size: clamp(36px, 6cqi, 76px); }
.hero .lead { font-size: clamp(16px, 1.5cqi, 19px); color: var(--muted); margin-top: 18px; max-width: 540px; }
.al-center .hero-copy { text-align: center; margin-inline: auto; }
.al-center .lead { margin-inline: auto; }
.al-center .btn-row { justify-content: center; }
.hero-full { position: relative; min-height: min(720px, 86vh); display: flex; align-items: center; overflow: hidden; padding: 120px 0; }
.blk.fixed-h .hero-full { min-height: 0; }
.hero-full .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-full .hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 82%, transparent) 0%, color-mix(in srgb, var(--bg) 40%, transparent) 45%, transparent 70%); }
.hero-full.al-center .hero-shade { background: color-mix(in srgb, var(--bg) 55%, transparent); }
.hero-content { position: relative; width: 100%; }
.hero-full .hero-copy { max-width: 620px; }
.hero-full .lead { color: color-mix(in srgb, var(--text) 75%, transparent); }
.hero-split .hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5cqi, 72px); align-items: center; }
.hero-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: calc(var(--radius) * 1.5); }
.blk.fixed-h .hero-split .hero-grid, .blk.fixed-h .hero-media { height: 100%; }
.blk.fixed-h .hero-media img { height: 100%; aspect-ratio: auto; }
.hero-minimal { padding-bottom: 0; }
.hero-minimal .hero-copy { max-width: 900px; }
.hero-minimal h1 { font-size: clamp(40px, 7.5cqi, 104px); line-height: 1.02; }
.hero-wide { margin-top: 56px; }
.hero-wide img { width: 100%; aspect-ratio: 21/9; object-fit: cover; border-radius: var(--radius); }
@container (max-width: 720px) {
  .hero-split .hero-grid { grid-template-columns: 1fr; }
  .hero-full .hero-shade { background: color-mix(in srgb, var(--bg) 70%, transparent); }
  .hero-wide img { aspect-ratio: 4/3; }
}

/* ── features ── */
.feats { padding: calc(var(--pad-y) * .6) 0; }
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feat { display: flex; gap: 14px; align-items: flex-start; }
.feat .ic { width: 28px; height: 28px; color: var(--primary); stroke-width: 1.4; }
.feat h4 { font-size: 16px; margin-bottom: 2px; letter-spacing: 0; text-transform: none; }
.feat p { font-size: 14px; color: var(--muted); }
.feats-row { border-block: 1px solid var(--border); }
.feats-row .feat-grid { gap: 0; }
.feats-row .feat { padding: 4px 24px; border-left: 1px solid var(--border); }
.feats-row .feat:first-child { border-left: 0; padding-left: 0; }
.feats-cards .feat { flex-direction: column; background: var(--surface); padding: 28px; border-radius: var(--radius); border: 1px solid var(--border); }
.feats-compact { padding: 18px 0; background: var(--surface2); }
.feats-compact .feat p { display: none; }
.feats-compact .feat { align-items: center; justify-content: center; }
.feats-compact .feat .ic { width: 22px; height: 22px; }
@container (max-width: 860px) { .feat-grid { grid-template-columns: 1fr 1fr; gap: 24px; } .feats-row .feat { border: 0; padding: 0; } }
@container (max-width: 420px) { .feat-grid { grid-template-columns: 1fr; } }

/* ── categories ── */
.cat-grid { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 20px; }
.cat-img { overflow: hidden; border-radius: var(--radius); background: var(--surface2); }
.cat-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .6s var(--ease); }
.cat:hover .cat-img img { transform: scale(1.05); }
.cat-label { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.cat-label span { font-family: var(--font-head); font-size: 20px; font-weight: var(--head-weight); }
.cat-label small { color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.cat-label small .ic { width: 14px; height: 14px; }
.cats-overlay .cat { position: relative; display: block; }
.cats-overlay .cat-label { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 22px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .45)); border-radius: 0 0 var(--radius) var(--radius); flex-direction: column; gap: 2px; }
.cats-overlay .cat-label small { color: rgba(255, 255, 255, .85); }
.cats-overlay .cat-img img { aspect-ratio: 3/4; }
.cats-circles .cat { text-align: center; }
.cats-circles .cat-img { border-radius: 999px; aspect-ratio: 1; max-width: 220px; margin: 0 auto; }
.cats-circles .cat-img img { aspect-ratio: 1; }
.cats-circles .cat-label { flex-direction: column; align-items: center; }
.cats-circles .sec-head { justify-content: center; text-align: center; }
@container (max-width: 760px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── products ── */
.ptools { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.ptools-r { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); font-size: 13px; font-weight: 500; transition: .2s; }
.chip:hover { border-color: var(--text); }
.chip.on { background: var(--text); color: var(--bg); border-color: var(--text); }
.sort { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sort select { border: 1px solid var(--border); background: var(--surface); padding: 8px 10px; border-radius: 8px; color: var(--text); }
.pgrid { display: grid; gap: 32px 22px; }
.pgrid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pgrid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pgrid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pgrid.c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@container (max-width: 980px) { .pgrid.c4, .pgrid.c5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container (max-width: 720px) { .pgrid.c3, .pgrid.c4, .pgrid.c5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ptools-r { margin-left: 0; } }
@container (max-width: 380px) { .pgrid { grid-template-columns: 1fr !important; } }
.pcard { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pimg { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface2); cursor: pointer; }
.pimg img { width: 100%; aspect-ratio: var(--img-ratio); object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pimg img { transform: scale(1.04); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--surface); color: var(--text); font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.badge.sale { background: var(--accent); color: var(--on-accent); }
.wish { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border-radius: 999px; display: grid; place-items: center; background: color-mix(in srgb, var(--surface) 85%, transparent); color: var(--text); opacity: 0; transition: .2s; }
.wish .ic { width: 18px; height: 18px; }
.pcard:hover .wish, .wish.on { opacity: 1; }
.wish.on { color: #e0245e; }
.wish.on .ic { fill: currentColor; }
.quick { position: absolute; left: 12px; right: 12px; bottom: 12px; opacity: 0; transform: translateY(8px); transition: .25s var(--ease); padding: 12px; font-size: 13px; }
.pcard:hover .quick { opacity: 1; transform: none; }
.pinfo { padding-top: 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pcat { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.pname { font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; line-height: 1.35; }
.pname a:hover { text-decoration: underline; text-underline-offset: 3px; }
.prow { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 2px; }
.card-bordered { border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); padding: 10px; background: var(--surface); transition: border-color .2s; }
.card-bordered:hover { border-color: color-mix(in srgb, var(--primary) 60%, var(--border)); }
.card-bordered .pinfo { padding: 14px 6px 6px; }
.card-elevated { background: var(--surface); border-radius: calc(var(--radius) + 4px); box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px -12px rgba(0, 0, 0, .12); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.card-elevated:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(0, 0, 0, .04), 0 22px 44px -14px rgba(0, 0, 0, .2); }
.card-elevated .pimg { border-radius: 0; }
.card-elevated .pinfo { padding: 16px 18px 18px; }

/* ── spotlight ── */
.spot { background: var(--surface2); }
.spot-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5cqi, 80px); align-items: center; }
.spot-right .spot-media { order: 2; }
.spot-media { cursor: pointer; overflow: hidden; border-radius: var(--radius); }
.spot-media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease); }
.spot-media:hover img { transform: scale(1.03); }
.spot-info h2 { font-size: clamp(28px, 3.6cqi, 46px); margin-bottom: 12px; }
.spot-price { font-size: 22px; margin: 14px 0; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks .ic { color: var(--accent); width: 18px; height: 18px; }
.spot-pay { display: flex; align-items: center; gap: 8px; margin-top: 20px; flex-wrap: wrap; }
.spot-pay .ic { width: 16px; height: 16px; }
@container (max-width: 720px) { .spot-grid { grid-template-columns: 1fr; } .spot-right .spot-media { order: 0; } }

/* ── promo ── */
.promo { position: relative; overflow: hidden; display: flex; align-items: center; background: var(--primary); color: var(--on-primary); }
.promo-in { position: relative; width: 100%; }
.promo h2 { font-size: clamp(26px, 4cqi, 44px); max-width: 560px; }
.promo p { margin-top: 12px; opacity: .85; max-width: 480px; }
.promo .eyebrow { color: inherit; opacity: .75; }
.promo-accent { background: var(--accent); color: var(--on-accent); }
.promo-image { color: #fff; }
.promo-image .promo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .5), transparent 70%); }
.promo-image .promo-in { z-index: 1; }
.code-chip { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1.5px dashed currentColor; border-radius: var(--btn-radius); font-weight: 700; letter-spacing: .1em; }
.code-chip .ic { width: 16px; height: 16px; }
.code-chip:hover { background: rgba(255, 255, 255, .12); }

/* ── story ── */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6cqi, 96px); align-items: center; }
.story-image-right .story-media { order: 2; }
.story-text-only .story-grid { grid-template-columns: 1fr; max-width: 760px; text-align: center; }
.story-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.story-copy h2 { font-size: clamp(28px, 4cqi, 52px); margin-bottom: 20px; }
.story-copy p { font-size: 17px; color: var(--muted); }
@container (max-width: 640px) { .story-grid { grid-template-columns: 1fr; } .story-image-right .story-media { order: 0; } .story-media img { aspect-ratio: 4/3; } }

/* ── testimonials ── */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@container (max-width: 820px) { .tgrid { grid-template-columns: 1fr; } }
.tcard { margin: 0; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; flex-direction: column; gap: 16px; }
.tcard blockquote { margin: 0; font-size: 17px; line-height: 1.5; flex: 1; }
.tcard figcaption { display: flex; gap: 12px; align-items: center; }
.tcard figcaption span:last-child { display: flex; flex-direction: column; }
.tcard small { color: var(--muted); font-size: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: 13px; flex: none; }
.car-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 32%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.car-track::-webkit-scrollbar { display: none; }
.car-track .tcard { scroll-snap-align: start; }
.car-nav { display: flex; gap: 8px; }
.tests-quote .stars { font-size: 18px; }
.bigquote { font-family: var(--font-head); font-size: clamp(24px, 3.6cqi, 44px); line-height: 1.25; max-width: 900px; margin: 22px auto; font-weight: var(--head-weight); }
.dots { display: flex; gap: 8px; justify-content: center; margin-top: 26px; }
.dots button { width: 8px; height: 8px; border-radius: 99px; background: var(--border); transition: .3s; }
.dots button.on { width: 26px; background: var(--text); }

/* ── gallery ── */
.gal-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.gal-item { position: relative; overflow: hidden; border-radius: calc(var(--radius) / 2); }
.gal-item img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .6s var(--ease); }
.gal-item span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; color: #fff; font-weight: 600; background: rgba(0, 0, 0, .35); opacity: 0; transition: .25s; }
.gal-item span .ic { fill: #fff; stroke: none; }
.gal-item:hover span { opacity: 1; }
.gal-item:hover img { transform: scale(1.06); }
.gal-mosaic .gal-grid { grid-template-columns: repeat(var(--gc, 4), 1fr); }
.gal-mosaic .gal-item:first-child { grid-column: span 2; grid-row: span 2; }
.gal-mosaic .gal-item:first-child img { height: 100%; }
@container (max-width: 760px) { .gal-grid, .gal-mosaic .gal-grid { grid-template-columns: repeat(3, 1fr); } }

/* ── newsletter ── */
.news-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.news h2 { font-size: clamp(24px, 3.2cqi, 38px); }
.news-copy p { color: var(--muted); margin-top: 10px; }
.news-form { display: flex; gap: 8px; width: 100%; max-width: 460px; }
.news-form input { flex: 1; min-width: 0; padding: 14px 18px; border: 1px solid var(--border); border-radius: var(--btn-radius); background: var(--surface); }
.news-form input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.news-ok { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--primary); }
.news-card .news-box { background: var(--surface); border: 1px solid var(--border); border-radius: calc(var(--radius) * 1.5); padding: clamp(28px, 5cqi, 56px); }
.news-banner { background: var(--primary); color: var(--on-primary); }
.news-banner .news-box { flex-direction: row; justify-content: space-between; text-align: left; flex-wrap: wrap; }
.news-banner .news-copy p { color: inherit; opacity: .8; }
.news-banner .news-form input { background: transparent; border-color: color-mix(in srgb, var(--on-primary) 40%, transparent); color: var(--on-primary); }
.news-banner .news-form input::placeholder { color: color-mix(in srgb, var(--on-primary) 65%, transparent); }
.news-banner .btn-primary { background: var(--on-primary); color: var(--primary); }
.news-banner .news-ok { color: inherit; }
@container (max-width: 520px) { .news-form { flex-direction: column; } }

/* ── faq ── */
.faq-list { max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--border); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details p { padding-bottom: 20px; color: var(--muted); }
.pm { position: relative; width: 14px; height: 14px; flex: none; margin-top: 4px; }
.pm::before, .pm::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1.5px; background: currentColor; transition: transform .25s; }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0); }
.faq-split .faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
@container (max-width: 760px) { .faq-split .faq-grid { grid-template-columns: 1fr; } }

/* ── press ── */
.press { padding: calc(var(--pad-y) * .5) 0; }
.press-title { text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); margin-bottom: 22px; }
.press-row { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 20px 40px; }
.press-row span { font-family: var(--font-head); font-size: 20px; font-weight: 600; opacity: .55; white-space: nowrap; }
.press-boxed .press-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.press-boxed .press-row span { background: var(--bg); padding: 26px; text-align: center; }

/* ── countdown ── */
.cd { padding: 26px 0; background: var(--surface2); }
.cd-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cd h3 { font-size: 22px; }
.cd p { color: var(--muted); }
.cd-timer { display: flex; gap: 10px; }
.cd-timer div { min-width: 64px; text-align: center; padding: 10px 8px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.cd-timer b { display: block; font-family: var(--font-head); font-size: 26px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.cd-timer small { font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.cd-card { padding: var(--pad-y) 0; background: none; }
.cd-card .cd-box { flex-direction: column; text-align: center; background: var(--surface2); padding: 44px; border-radius: calc(var(--radius) * 1.5); }

/* ── footer ── */
.ftr { background: var(--footer-bg); color: var(--footer-text); padding-bottom: 28px; }
.ftr-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.ftr h5 { font-family: var(--font-body); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 16px; opacity: .7; }
.ftr-cols > div > a { display: block; padding: 5px 0; opacity: .85; font-size: 14px; }
.ftr-cols > div > a:hover { opacity: 1; text-decoration: underline; }
.ftr-brand p { margin: 14px 0 20px; opacity: .75; max-width: 320px; }
.socials { display: flex; gap: 8px; }
.socials .ibtn { border-color: color-mix(in srgb, var(--footer-text) 25%, transparent); }
.ftr .pays { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ftr .paybadge { background: color-mix(in srgb, var(--footer-text) 12%, transparent); }
.ftr-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid color-mix(in srgb, var(--footer-text) 18%, transparent); padding-top: 24px; opacity: .7; }
.ftr-minimal { padding: 32px 0; }
.ftr-row { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: space-between; }
.ftr-row nav { display: flex; gap: 20px; font-size: 14px; }
.ftr-row .pays { margin: 0; }
@container (max-width: 860px) { .ftr-cols { grid-template-columns: 1fr 1fr; } }
@container (max-width: 480px) { .ftr-cols { grid-template-columns: 1fr; } }

/* ── device-level responsive: stack partial-width sections on phones ── */
@media (max-width: 720px) {
  .blk { grid-column: span 12 !important; }
  .blk.fixed-h { height: auto !important; }
  .hide-sm { display: none !important; }
  :root { --pad-y: 56px !important; }
}

/* ═════════ overlays: product, cart, search, checkout ═════════ */
.ov { position: fixed; inset: 0; z-index: 1000; }
.ov-back { position: absolute; inset: 0; background: rgba(10, 10, 12, .45); opacity: 0; transition: opacity .22s; backdrop-filter: blur(2px); }
.ov.in .ov-back { opacity: 1; }
.ov-panel { position: absolute; background: var(--surface); color: var(--text); transition: transform .28s var(--ease), opacity .22s; overflow: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .25); }
.ov-modal .ov-panel { left: 50%; top: 50%; width: min(980px, calc(100vw - 32px)); max-height: calc(100vh - 32px); transform: translate(-50%, -46%); opacity: 0; border-radius: calc(var(--radius) + 6px); }
.ov-modal.in .ov-panel { transform: translate(-50%, -50%); opacity: 1; }
.ov-drawer .ov-panel { right: 0; top: 0; bottom: 0; width: min(440px, 100vw); transform: translateX(100%); display: flex; flex-direction: column; }
.ov-drawer.in .ov-panel { transform: none; }
.ov-left .ov-panel { left: 0; top: 0; bottom: 0; width: min(360px, 90vw); transform: translateX(-100%); }
.ov-left.in .ov-panel { transform: none; }
.ov-top .ov-panel { left: 0; right: 0; top: 0; transform: translateY(-100%); max-height: 80vh; }
.ov-top.in .ov-panel { transform: none; }
.ov-full .ov-panel { inset: 0; opacity: 0; transform: translateY(16px); background: var(--bg); }
.ov-full.in .ov-panel { opacity: 1; transform: none; }
.ov-x { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--surface); }

.pmod { display: grid; grid-template-columns: 1.05fr 1fr; }
.pm-media { background: var(--surface2); padding: 16px; }
.pm-media #pmMain { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }
.pm-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.pm-thumbs button { width: 72px; border-radius: calc(var(--radius) / 1.5); overflow: hidden; outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s; }
.pm-thumbs button.on { outline-color: var(--text); }
.pm-thumbs img { aspect-ratio: 1; object-fit: cover; }
.pm-info { padding: 40px 36px; display: flex; flex-direction: column; gap: 12px; }
.pm-info h2 { font-size: 30px; }
.pm-price { font-size: 22px; }
.lbl { font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { min-width: 48px; padding: 10px 14px; border: 1px solid var(--border); border-radius: calc(var(--radius) / 1.5 + 2px); font-size: 14px; transition: .15s; }
.opt:hover { border-color: var(--text); }
.opt.on { background: var(--text); color: var(--surface); border-color: var(--text); }
.pm-buy { display: flex; gap: 10px; margin-top: 8px; }
.grow { flex: 1; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--btn-radius); }
.stepper button { width: 42px; height: 46px; display: grid; place-items: center; }
.stepper .ic { width: 16px; height: 16px; }
.stepper span { min-width: 26px; text-align: center; font-weight: 600; }
.stepper.sm button { width: 32px; height: 32px; }
.pm-pay { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.pm-pay .ic { width: 16px; height: 16px; }
.pm-acc details { border-top: 1px solid var(--border); }
.pm-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 14px 0; font-weight: 600; font-size: 14px; }
.pm-acc summary::-webkit-details-marker { display: none; }
.pm-acc p { color: var(--muted); font-size: 14px; padding-bottom: 14px; }
@media (max-width: 760px) { .pmod { grid-template-columns: 1fr; } .pm-info { padding: 24px; } }

.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--border); }
.drawer-head h3 { font-size: 20px; }
.ship-bar { padding: 16px 24px; background: var(--surface2); font-size: 13px; }
.ship-bar p { display: flex; align-items: center; gap: 6px; }
.ship-bar .ic { width: 16px; height: 16px; color: var(--primary); }
.bar { height: 5px; background: var(--border); border-radius: 9px; margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--primary); border-radius: 9px; transition: width .4s var(--ease); }
.cart-lines { flex: 1; overflow: auto; padding: 8px 24px; }
.cline { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cline img { width: 84px; height: 84px; object-fit: cover; border-radius: calc(var(--radius) / 1.5); cursor: pointer; }
.cl-info { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.cl-info small { color: var(--muted); }
.cl-r { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-foot { padding: 20px 24px 24px; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.cart-foot .row { display: flex; justify-content: space-between; font-size: 17px; }
.cart-pay { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 40px; }
.cart-empty > .ic { width: 48px; height: 48px; opacity: .3; }
.cart-empty .btn { margin-top: 12px; }

.search-box { max-width: 760px; margin: 0 auto; padding: 20px 24px 28px; }
.search-in { display: flex; align-items: center; gap: 12px; border-bottom: 2px solid var(--text); padding-bottom: 8px; }
.search-in input { flex: 1; border: 0; background: none; font-size: 22px; outline: none; padding: 8px 0; }
.search-res { padding-top: 16px; display: grid; gap: 4px; }
.search-res h6 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.sres { display: grid; grid-template-columns: 52px 1fr auto; gap: 14px; align-items: center; padding: 8px; border-radius: 10px; }
.sres:hover { background: var(--surface2); }
.sres img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.sres span { display: flex; flex-direction: column; }
.sres small { color: var(--muted); }
.mnav { display: flex; flex-direction: column; padding: 8px 24px; }
.mnav a { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--border); font-size: 17px; font-weight: 500; }

/* checkout */
.co { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); min-height: 100%; }
.co-main { padding: 28px clamp(20px, 5vw, 72px) 60px; max-width: 760px; width: 100%; justify-self: end; }
.co-top { display: flex; align-items: center; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.co-top .muted { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; }
.co-top .muted .ic { width: 16px; height: 16px; }
.co-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 20px 0 8px; font-size: 13px; color: var(--muted); counter-reset: s; flex-wrap: wrap; }
.co-steps li { display: flex; align-items: center; gap: 8px; counter-increment: s; }
.co-steps li::before { content: counter(s); width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center; border: 1px solid var(--border); font-size: 11px; }
.co-steps li.on { color: var(--text); font-weight: 600; }
.co-steps li.on::before { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.co-steps li + li::after { content: none; }
.co h3 { font-size: 19px; margin: 30px 0 14px; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; text-transform: none; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fgrid.tight { gap: 12px; }
.span2 { grid-column: span 2; }
.f { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.f small { color: var(--muted); font-weight: 400; }
.f input, .f textarea, .promo-in-row input { padding: 13px 14px; border: 1px solid var(--border); border-radius: calc(var(--radius) / 2 + 4px); background: var(--surface); font-weight: 400; font-size: 15px; width: 100%; }
.f input:focus, .f textarea:focus, .promo-in-row input:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: transparent; }
.f input.bad, .promo-in-row input.bad { border-color: #d93025; background: color-mix(in srgb, #d93025 6%, var(--surface)); }
.form-err { color: #d93025; font-size: 14px; margin-top: 14px; }
.radios { display: grid; gap: 10px; margin-bottom: 14px; }
.rcard { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--border); border-radius: calc(var(--radius) / 2 + 6px); cursor: pointer; transition: border-color .2s, background .2s; background: var(--surface); }
.rcard input { position: absolute; opacity: 0; pointer-events: none; }
.rcard > span:not(.rdot):not(.paylogo) { display: flex; flex-direction: column; flex: 1; }
.rcard small { color: var(--muted); font-size: 13px; }
.rcard > .ic { color: var(--muted); }
.rdot { width: 18px; height: 18px; border-radius: 99px; border: 1.5px solid var(--border); flex: none; position: relative; }
.rcard.on { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 5%, var(--surface)); }
.rcard.on .rdot { border-color: var(--primary); }
.rcard.on .rdot::after { content: ''; position: absolute; inset: 3px; border-radius: 99px; background: var(--primary); }
.paylogo { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 20px; flex: none; font-family: system-ui, sans-serif; }
.pay-cashapp.on { border-color: #00c244; background: color-mix(in srgb, #00c244 6%, var(--surface)); }
.pay-cashapp.on .rdot { border-color: #00c244; } .pay-cashapp.on .rdot::after { background: #00c244; }
.pay-venmo.on { border-color: #008cff; background: color-mix(in srgb, #008cff 6%, var(--surface)); }
.pay-venmo.on .rdot { border-color: #008cff; } .pay-venmo.on .rdot::after { background: #008cff; }
.pay-note { display: flex; gap: 12px; padding: 14px 16px; background: var(--surface2); border-radius: calc(var(--radius) / 2 + 6px); font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.pay-note .ic { color: var(--primary); }
form[data-form="checkout"] .btn-lg { margin-top: 20px; }
form[data-form="checkout"] > .muted { margin-top: 12px; }
.co-sum { background: var(--surface2); padding: 40px clamp(20px, 4vw, 56px); border-left: 1px solid var(--border); }
.co-sum > * { max-width: 440px; }
.co-sum h3 { margin-top: 0; }
.sum-lines { display: grid; gap: 14px; margin-bottom: 20px; }
.sline { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; font-size: 14px; }
.sthumb { position: relative; }
.sthumb img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; border: 1px solid var(--border); }
.sthumb i { position: absolute; top: -7px; right: -7px; min-width: 21px; height: 21px; border-radius: 99px; background: var(--muted); color: #fff; font-size: 11px; font-style: normal; font-weight: 700; display: grid; place-items: center; padding: 0 5px; }
.sname { display: flex; flex-direction: column; }
.sname small { color: var(--muted); }
.promo-in-row { display: flex; gap: 8px; padding: 18px 0; border-block: 1px solid var(--border); }
.promo-in-row .btn { padding: 0 18px; }
.promo-ok { display: flex; align-items: center; gap: 8px; color: #188038; font-size: 14px; }
.promo-ok .ic { width: 16px; height: 16px; }
.sum-rows { display: grid; gap: 10px; padding: 18px 0; font-size: 14px; }
.sum-rows > div { display: flex; justify-content: space-between; }
.sum-rows .good { color: #188038; }
.sum-rows .total { font-size: 20px; font-weight: 700; padding-top: 12px; border-top: 1px solid var(--border); margin-top: 4px; }
.sum-hint { padding: 12px 14px; border: 1px dashed var(--border); border-radius: 10px; }
.sum-cust { border-top: 1px solid var(--border); padding-top: 18px; font-size: 14px; }
.sum-cust h6 { margin: 0 0 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.sum-cust p { margin-bottom: 14px; }
@media (max-width: 900px) { .co { grid-template-columns: minmax(0, 1fr); } .co-main, .co-sum { min-width: 0; } .pay-rows > div { grid-template-columns: 84px minmax(0, 1fr) auto; } .pay-amt { font-size: 22px; } .co-sum { order: -1; border-left: 0; border-bottom: 1px solid var(--border); padding-top: 24px; } .co-main { justify-self: stretch; } }

.done { text-align: center; padding: 28px 0; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.done h2 { font-size: 32px; }
.done-ic { width: 64px; height: 64px; border-radius: 99px; display: grid; place-items: center; background: #188038; color: #fff; animation: pop .5s var(--ease); }
.done-ic .ic { width: 32px; height: 32px; stroke-width: 2.5; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } }
.pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; }
.pill.warn { background: #fff4d6; color: #8a5a00; }
.pill.ok { background: #dcf3e3; color: #146c2e; }
.paybox { width: 100%; max-width: 480px; text-align: left; border: 2px solid; border-radius: 16px; padding: 22px; margin: 14px 0; display: grid; gap: 12px; background: var(--surface); }
.paybox.cashapp { border-color: #00c244; }
.paybox.venmo { border-color: #008cff; }
.paybox-head { display: flex; align-items: center; gap: 12px; }
.paybox-head > div { display: flex; flex-direction: column; flex: 1; }
.paybox-head small { color: var(--muted); }
.pay-amt { font-size: 28px; font-weight: 800; flex: none !important; }
.pay-rows { display: grid; gap: 2px; background: var(--surface2); border-radius: 10px; padding: 6px 14px; }
.pay-rows > div { display: grid; grid-template-columns: 110px 1fr auto; gap: 8px; align-items: center; padding: 8px 0; font-size: 14px; }
.pay-rows > div + div { border-top: 1px solid var(--border); }
.pay-rows span { color: var(--muted); }
.btn-pay { color: #fff; border-radius: 12px; font-size: 16px; padding: 18px; }
.cashapp .btn-pay { background: #00c244; }
.venmo .btn-pay { background: #008cff; }
.btn-pay:hover { filter: brightness(1.06); }
.paybox .btn-ghost { border-radius: 12px; }
.paid-ok { display: flex; gap: 10px; align-items: flex-start; background: #dcf3e3; color: #146c2e; padding: 14px; border-radius: 10px; font-size: 14px; }
.paid-ok .ic { flex: none; }
.next-steps { list-style: none; padding: 0; margin: 10px 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; max-width: 520px; counter-reset: n; }
.next-steps li { counter-increment: n; display: flex; flex-direction: column; align-items: center; font-size: 14px; }
.next-steps li::before { content: counter(n); width: 28px; height: 28px; border-radius: 99px; background: var(--surface2); display: grid; place-items: center; font-weight: 700; margin-bottom: 6px; }
.next-steps small { color: var(--muted); }

#toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: #16181d; color: #fff; padding: 12px 20px; border-radius: 12px; font-size: 14px; opacity: 0; pointer-events: none; transition: .25s var(--ease); z-index: 3000; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; max-width: calc(100vw - 32px); }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ═════════ layout editor chrome (inside the page) ═════════ */
.editing .blk { outline: 1px dashed rgba(76, 110, 245, .45); outline-offset: -1px; }
.editing .blk:hover { outline: 2px solid rgba(76, 110, 245, .7); outline-offset: -2px; z-index: 5; }
.editing .blk.selected { outline: 2px solid #4c6ef5; outline-offset: -2px; z-index: 6; }
.editing .blk.is-sticky { position: relative; }
.editing [data-edit] { cursor: text; border-radius: 3px; transition: box-shadow .15s; }
.editing [data-edit]:hover { box-shadow: 0 0 0 1.5px rgba(76, 110, 245, .55); }
.editing [data-edit]:focus { outline: none; box-shadow: 0 0 0 2px #4c6ef5; background: rgba(76, 110, 245, .06); }
.editing .pcard:hover .quick, .editing .pcard:hover .wish { opacity: 0; }
.ed { position: absolute; inset: 0; pointer-events: none; z-index: 30; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; }
.ed-bar { position: absolute; top: 6px; left: 6px; display: flex; align-items: center; gap: 2px; background: #1c1f26; color: #fff; border-radius: 9px; padding: 3px; font-size: 12px; pointer-events: auto; opacity: 0; transform: translateY(-3px); transition: .15s; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); max-width: calc(100% - 12px); overflow: hidden; }
.blk:hover > .ed .ed-bar, .blk.selected > .ed .ed-bar, .blk.resizing > .ed .ed-bar { opacity: 1; transform: none; }
.ed-bar .ic { width: 15px; height: 15px; }
.ed-grip { display: flex; align-items: center; gap: 6px; padding: 4px 8px 4px 4px; cursor: grab; white-space: nowrap; border-radius: 6px; }
.ed-grip:hover { background: rgba(255, 255, 255, .1); }
.ed-grip b { font-weight: 600; }
.ed-size { padding: 3px 7px; background: #4c6ef5; border-radius: 6px; font-variant-numeric: tabular-nums; font-weight: 600; margin-right: 2px; white-space: nowrap; }
.ed-bar button { width: 28px; height: 26px; display: grid; place-items: center; border-radius: 6px; color: #fff; }
.ed-bar button:hover { background: rgba(255, 255, 255, .14); }
.ed-rx { position: absolute; top: 0; bottom: 0; right: -5px; width: 10px; cursor: ew-resize; pointer-events: auto; display: grid; place-items: center; z-index: 2; }
.ed-ry { position: absolute; left: 0; right: 0; bottom: -5px; height: 10px; cursor: ns-resize; pointer-events: auto; display: grid; place-items: center; z-index: 2; }
.ed-rx i, .ed-ry i { display: block; background: #4c6ef5; border-radius: 9px; opacity: 0; transition: opacity .15s; box-shadow: 0 0 0 2px #fff; }
.ed-rx i { width: 5px; height: 44px; }
.ed-ry i { height: 5px; width: 56px; }
.blk:hover > .ed .ed-rx i, .blk:hover > .ed .ed-ry i, .blk.selected > .ed i, .blk.resizing > .ed i { opacity: 1; }
.blk.dragging { opacity: .35; }
.ed-busy, .ed-busy * { user-select: none !important; }
.ed-busy iframe { pointer-events: none; }
.drag-ghost { position: fixed; left: 0; top: 0; z-index: 4000; pointer-events: none; background: #4c6ef5; color: #fff; padding: 8px 14px 8px 10px; border-radius: 10px; font: 600 13px system-ui, sans-serif; display: flex; align-items: center; gap: 6px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.drag-ghost .ic { width: 16px; height: 16px; }
.drop-ind { position: fixed; z-index: 3999; pointer-events: none; background: #4c6ef5; border-radius: 6px; box-shadow: 0 0 0 3px rgba(76, 110, 245, .25); display: none; }

.pop, .panel, .dock { font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; color: #e9ecf2; font-size: 13px; line-height: 1.4; }
.pop { position: fixed; z-index: 2500; width: 300px; background: #1c1f26; border-radius: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35), 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; }
.pop-head, .panel-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.pop-head button, .panel-head > button { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; color: #aab1c0; }
.pop-head button:hover, .panel-head > button:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.pop-head .ic, .panel .ic { width: 16px; height: 16px; }
.pop-body { padding: 8px 14px 4px; max-height: 60vh; overflow: auto; }
.pop-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; }
.pop-row.col { flex-direction: column; align-items: stretch; }
.pop-row > span { color: #aab1c0; display: flex; justify-content: space-between; gap: 8px; }
.pop-row select, .pop-row input[type=number] { background: #2a2e38; border: 1px solid #3a3f4b; color: #fff; border-radius: 7px; padding: 6px 8px; max-width: 170px; font-size: 13px; }
.pop-row input[type=range] { width: 100%; accent-color: #4c6ef5; }
.pop-h { display: flex; gap: 6px; }
.pop-h input { width: 90px; }
.pop-h button, .pop-foot button, .lib-item button { background: #2a2e38; border: 1px solid #3a3f4b; color: #fff; border-radius: 7px; padding: 6px 10px; font-size: 12px; display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.pop-h button:hover, .pop-foot button:hover, .lib-item button:hover { background: #4c6ef5; border-color: #4c6ef5; }
.pop-foot button.danger:hover { background: #d93025; border-color: #d93025; }
.pop-tog { cursor: pointer; }
.pop-tog input { position: absolute; opacity: 0; }
.pop-tog i { width: 34px; height: 20px; border-radius: 99px; background: #3a3f4b; position: relative; transition: .2s; flex: none; }
.pop-tog i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 99px; background: #fff; transition: .2s; }
.pop-tog input:checked + i { background: #4c6ef5; }
.pop-tog input:checked + i::after { left: 17px; }
.pop-tip { color: #808899; font-size: 12px; margin: 8px 0; }
.pop-foot { display: flex; gap: 6px; padding: 10px 14px; border-top: 1px solid rgba(255, 255, 255, .08); justify-content: flex-end; }
.clr { display: flex; align-items: center; gap: 8px; }
.clr input { width: 32px; height: 26px; border: 0; padding: 0; background: none; cursor: pointer; }
.clr code, .pop-row code { color: #808899; font-size: 11px; }
.dock { position: fixed; left: 16px; bottom: 16px; z-index: 2400; display: flex; gap: 6px; background: #1c1f26; padding: 5px; border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); }
.dock button { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 8px; color: #fff; font-weight: 600; }
.dock button:hover { background: #4c6ef5; }
.dock .ic { width: 16px; height: 16px; }
.dot-n { background: #f59f00; color: #1c1f26; font-size: 11px; padding: 1px 7px; border-radius: 99px; }
.panel { position: fixed; left: 16px; bottom: 70px; z-index: 2450; width: 340px; max-height: calc(100vh - 100px); display: flex; flex-direction: column; background: #1c1f26; border-radius: 14px; box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 255, 255, .06); }
.panel .tabs { display: flex; gap: 4px; }
.panel .tabs button { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 7px; color: #aab1c0; font-weight: 600; }
.panel .tabs button.on { background: #2a2e38; color: #fff; }
.panel-body { overflow: auto; padding: 4px 14px 14px; }
.panel h6 { margin: 14px 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #808899; }
.lib-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.lib-item b { display: block; color: #fff; font-weight: 600; }
.lib-item small { color: #808899; }
.pal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pal { display: flex; flex-direction: column; gap: 5px; padding: 6px; border-radius: 9px; border: 1px solid #3a3f4b; background: #23262e; color: #cfd5e1; text-align: left; }
.pal:hover { border-color: #6b86ff; }
.pal.on { border-color: #4c6ef5; box-shadow: 0 0 0 1px #4c6ef5; background: #262c3d; color: #fff; }
.pal small { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pal-sw { display: flex; height: 18px; border-radius: 5px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.pal-sw i { flex: 1; }
.badge.so { background: var(--text); color: var(--bg); }
.pcard.is-sold .pimg img { opacity: .55; filter: grayscale(.4); }
.low-stock { color: #d93025; font-weight: 600; font-size: 13px; margin: 0; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ───── customer accounts ───── */
.acct-btn.signed::after { content: ''; position: absolute; right: 7px; bottom: 7px; width: 9px; height: 9px; border-radius: 99px; background: #1fa45a; border: 2px solid var(--bg); }
.ov-acct .ov-panel { overflow: auto; }
.acct { padding: 20px 24px 28px; display: grid; gap: 18px; align-content: start; }
.acct-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: color-mix(in srgb, var(--text) 7%, var(--surface)); }
.acct-tabs button { flex: 1; padding: 10px 8px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); transition: background .2s, color .2s; }
.acct-tabs button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.acct-form { display: grid; gap: 14px; }
.acct-form h4 { margin-top: 6px; font-size: 15px; }
.acct-form .form-err { margin: 0; }
.acct-form input:disabled { opacity: .65; }
.acct-note, .co-acct { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: calc(var(--radius) / 2 + 6px); background: color-mix(in srgb, var(--primary) 9%, var(--surface)); font-size: 14px; }
.acct-note .ic, .co-acct .ic { flex: none; color: var(--primary); }
.co-acct { margin-bottom: 6px; }
.co-acct .link { font-size: inherit; color: var(--text); font-weight: 700; }
.acct-perks { list-style: none; display: grid; gap: 10px; padding: 16px 0 0; margin: 0; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.acct-perks li { display: flex; gap: 10px; align-items: center; }
.acct-guest, .acct-out { justify-self: center; }
.acct-orders { display: grid; gap: 12px; }
.aord { border: 1px solid var(--border); border-radius: calc(var(--radius) / 2 + 6px); padding: 14px 16px; display: grid; gap: 6px; background: var(--surface); }
.aord-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.aord-items { font-size: 14px; line-height: 1.5; }
.aord-act { display: flex; gap: 8px; flex-wrap: wrap; }
.aord-act:empty { display: none; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.pill.bad { background: #fde3e1; color: #a52016; }
.acct-empty { text-align: center; padding: 30px 0; color: var(--muted); display: grid; gap: 10px; justify-items: center; }
.acct-empty .ic { width: 34px; height: 34px; }
.chk { display: flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--primary); }

/* section picked in the studio's section list */
.blk.hl::after { content: ''; position: absolute; inset: 0; z-index: 60; pointer-events: none; border: 3px solid #4c6ef5; box-shadow: inset 0 0 0 4px rgba(76, 110, 245, .18); }
.blk.hl::before { content: attr(data-hl-label); position: absolute; top: 8px; left: 8px; z-index: 61; background: #4c6ef5; color: #fff; font: 600 12px/1 system-ui, sans-serif; padding: 6px 9px; border-radius: 6px; pointer-events: none; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); }
