/* =========================================================
   Look & feel: dark teal, soft shapes, a little playful.
   The site is always dark. Change colors here; everything else follows.
   ========================================================= */
:root {
  --bg: #0e1b1c; --surface: #152829; --surface-2: #112223;
  --ink: #e3efed; --muted: #95afac; --line: #24393a;
  --accent: #3dbdb2; --accent-hover: #5fcdc3; --accent-ink: #052120;
  --accent-soft: #173938; --accent-tint: #22504d;
  --mint: #4fb3a8; --coral: #ff8a6b; --coral-soft: #3a2621; --sun: #ffcf6b; --sun-soft: #352d1a; --sky-soft: #172d3a;
  --plate: #23403f; --layer: rgba(61, 189, 178, .06);
  --ok: #5fcf9c; --ok-soft: #143429; --err: #f08a83; --err-soft: #3a1d1b;
  --r-xl: 32px; --r-l: 24px; --r-m: 16px; --r-s: 12px;
  --shadow: 0 2px 6px rgba(0, 0, 0, .25), 0 18px 40px -12px rgba(0, 0, 0, .5);
  --shadow-hover: 0 4px 10px rgba(0, 0, 0, .3), 0 26px 50px -14px rgba(0, 0, 0, .6);
  --hero: radial-gradient(1200px 500px at 85% -10%, #17423f 0%, transparent 60%), radial-gradient(900px 500px at 0% 30%, #13302f 0%, transparent 65%), linear-gradient(180deg, #112626, #0e1b1c);
  --display: "Fredoka", "Rubik", system-ui, sans-serif;
  color-scheme: dark;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--bg); color: var(--ink); font: 16px/1.65 "Rubik", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, .display { font-family: var(--display); font-weight: 600; letter-spacing: -.01em; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.hidden { display: none !important; }
mark { background: none; color: var(--accent); position: relative; white-space: nowrap; }
mark::after { content: ""; position: absolute; inset-inline: -2%; bottom: -.12em; height: .32em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q 20 2 40 7 T 80 6 T 118 5' fill='none' stroke='%23ff7a59' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }

/* Scroll-in reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Header ---------- */
header.site { position: sticky; top: 0; z-index: 20; padding: 12px 0; }
header.site .wrap { display: flex; align-items: center; gap: 18px; height: 60px; background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-radius: 999px; box-shadow: var(--shadow); padding: 0 10px 0 10px; max-width: 1076px; }
.brand { display: flex; align-items: center; gap: 10px; font: 600 21px var(--display); color: var(--ink); text-decoration: none; white-space: nowrap; padding-inline-start: 6px; }
.brand .logo { width: 40px; height: 40px; border-radius: 14px 14px 14px 4px; background: linear-gradient(135deg, var(--mint), var(--accent)); display: grid; place-items: center; flex: none; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.brand:hover .logo { transform: rotate(-12deg) scale(1.06); }
.brand .logo svg { width: 22px; height: 22px; stroke: #fff; }
.brand span { color: var(--coral); }
nav.main { display: flex; gap: 4px; flex: 1; justify-content: center; }
nav.main a { color: var(--muted); text-decoration: none; font-weight: 500; padding: 8px 16px; border-radius: 999px; transition: background .2s, color .2s; white-space: nowrap; }
nav.main a:hover { color: var(--ink); background: var(--surface-2); }
nav.main a.active { color: var(--accent-ink); background: var(--accent); }
.tools { display: flex; gap: 6px; }
.icon-btn, .lang-btn { border: 0; background: var(--surface-2); color: var(--ink); border-radius: 999px; height: 40px; cursor: pointer; font: inherit; font-size: 14px; font-weight: 500; display: grid; place-items: center; transition: background .2s, transform .2s; }
.lang-btn { padding: 0 16px; }
.icon-btn { width: 40px; padding: 0; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover, .lang-btn:hover { background: var(--accent-soft); transform: translateY(-1px); }
@media (max-width: 760px) {
  header.site { padding: 8px 0; }
  header.site .wrap { flex-wrap: wrap; height: auto; padding: 8px 8px; gap: 6px; border-radius: 26px; margin: 0 10px; }
  .brand { flex: 1; font-size: 19px; }
  .brand .logo { width: 36px; height: 36px; }
  nav.main { order: 3; flex-basis: 100%; min-width: 0; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
  nav.main a { padding: 7px 8px; font-size: 14px; flex: 1 1 auto; text-align: center; }
}

/* ---------- Hero ---------- */
.hero-band { position: relative; background: var(--hero); margin-top: -84px; padding-top: 84px; overflow: hidden; }
.hero-band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 7px, var(--layer) 7px 8px); mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent); pointer-events: none; }
.hero-band .wave { display: block; width: 100%; height: 70px; position: relative; color: var(--bg); margin-top: -1px; }
.blob { position: absolute; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; filter: blur(2px); opacity: .55; animation: float 14s ease-in-out infinite; pointer-events: none; }
.blob.b1 { width: 220px; height: 220px; background: var(--mint); top: 120px; inset-inline-start: -80px; opacity: .25; }
.blob.b2 { width: 120px; height: 120px; background: var(--coral); bottom: 90px; inset-inline-end: 8%; opacity: .18; animation-delay: -5s; }
.blob.b3 { width: 70px; height: 70px; background: var(--sun); top: 140px; inset-inline-end: 44%; opacity: .35; animation-delay: -9s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) rotate(0); } 33% { transform: translate(14px, -18px) rotate(20deg); } 66% { transform: translate(-10px, 10px) rotate(-12deg); } }

.hero { position: relative; padding: 40px 0 10px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: center; }
.hero h1 { font-size: clamp(36px, 6vw, 62px); line-height: 1.08; margin: 0 0 18px; }
.hero p { color: var(--muted); font-size: 19px; margin: 0; max-width: 560px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-art { position: relative; aspect-ratio: 1; max-height: 470px; width: 100%; }
.hero-art::before { content: ""; position: absolute; inset: 8%; background: radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--surface) 80%, transparent), transparent 70%); border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%; }
.hero-art canvas { position: relative; width: 100%; height: 100%; display: block; cursor: pointer; touch-action: pan-y; }
.chip { position: absolute; background: var(--surface); box-shadow: var(--shadow); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; display: flex; gap: 8px; align-items: center; white-space: nowrap; animation: bob 5s ease-in-out infinite; }
.chip i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; }
.chip.c1 { top: 12%; inset-inline-end: 2%; } .chip.c1 i { background: var(--sun-soft); }
.chip.c2 { bottom: 20%; inset-inline-start: 0; animation-delay: -1.7s; } .chip.c2 i { background: var(--coral-soft); }
.chip.c3 { bottom: 4%; inset-inline-end: 12%; animation-delay: -3.2s; } .chip.c3 i { background: var(--accent-soft); }
.art-hint { position: absolute; top: 2%; inset-inline-start: 4%; font-size: 13px; color: var(--muted); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.hero.small { padding: 34px 0 6px; }
.hero.small h1 { font-size: clamp(32px, 5vw, 50px); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-height: 360px; max-width: 420px; margin: 0 auto; }
  .hero { padding-top: 24px; }
}

/* ---------- How it works: a connected path ---------- */
.path { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; position: relative; margin: 8px 0 10px; }
.path::before { content: ""; position: absolute; top: 34px; inset-inline: 16%; border-top: 3px dashed var(--accent-tint); }
.path .node { position: relative; text-align: center; padding: 0 8px; }
.path .bubble { width: 68px; height: 68px; margin: 0 auto 12px; border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%; display: grid; place-items: center; background: var(--surface); box-shadow: var(--shadow); position: relative; }
.path .bubble svg { width: 28px; height: 28px; stroke: var(--accent); }
.path .bubble b { position: absolute; top: -6px; inset-inline-end: -6px; width: 26px; height: 26px; border-radius: 50%; background: var(--coral); color: #fff; font-size: 13px; display: grid; place-items: center; }
.path h3 { margin: 0; font-size: 19px; }
.path p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
@media (max-width: 640px) {
  .path { grid-template-columns: 1fr; gap: 14px; }
  .path::before { top: 34px; bottom: 34px; inset-inline-start: 33px; inset-inline-end: auto; border-top: 0; border-inline-start: 3px dashed var(--accent-tint); }
  .path .node { display: grid; grid-template-columns: 68px 1fr; gap: 14px; text-align: start; align-items: center; padding: 0; }
  .path .bubble { margin: 0; }
}

/* ---------- Section titles ---------- */
.section-title { text-align: center; margin: 56px 0 26px; }
.section-title h2 { font-size: clamp(26px, 4vw, 36px); margin: 0; }
.section-title p { color: var(--muted); margin: 6px 0 0; }

/* ---------- Three ways to order ---------- */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards3 a { --tint: var(--accent-soft); position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; background: var(--surface); border-radius: var(--r-xl); padding: 28px 26px 24px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), box-shadow .3s; }
.cards3 a:nth-child(2) { --tint: var(--sky-soft); }
.cards3 a:nth-child(3) { --tint: var(--coral-soft); }
.cards3 a::after { content: ""; position: absolute; width: 180px; height: 180px; inset-inline-end: -60px; top: -70px; background: var(--tint); border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%; z-index: 0; transition: transform .5s; }
.cards3 a > * { position: relative; z-index: 1; }
.cards3 a:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--shadow-hover); }
.cards3 a:hover::after { transform: scale(1.25) rotate(25deg); }
.cards3 .ico { width: 58px; height: 58px; border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; margin-bottom: 14px; transition: transform .4s cubic-bezier(.3, 1.8, .5, 1); }
.cards3 a:hover .ico { transform: rotate(-10deg) scale(1.08); }
.cards3 .ico svg { width: 28px; height: 28px; stroke: var(--accent); }
.cards3 b { font: 600 22px var(--display); }
.cards3 small { color: var(--muted); font-size: 15px; }
.cards3 .go { margin-top: auto; padding-top: 14px; color: var(--accent); font-weight: 600; font-size: 15px; display: inline-flex; gap: 6px; }
@media (max-width: 820px) { .cards3 { grid-template-columns: 1fr; } }

/* ---------- Panels (order steps) ---------- */
.panel { position: relative; background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--shadow); padding: 32px; margin: 26px 0; }
.panel h2 { margin: 0 0 4px; font-size: 26px; display: flex; align-items: center; gap: 14px; }
.panel .lead { color: var(--muted); margin: 0 0 20px; font-size: 15px; padding-inline-start: 56px; }
.step { flex: none; width: 42px; height: 42px; border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%; background: linear-gradient(135deg, var(--mint), var(--accent)); color: #fff; display: grid; place-items: center; font: 600 19px var(--display); }
.first { margin-top: 10px; }
@media (max-width: 640px) { .panel { padding: 22px 18px; border-radius: var(--r-l); } .panel .lead { padding-inline-start: 0; } .panel h2 { font-size: 22px; } }

/* ---------- Upload ---------- */
.drop { display: block; position: relative; border-radius: var(--r-l); padding: 44px 16px 38px; text-align: center; cursor: pointer; transition: background .25s, transform .25s; background:
  repeating-linear-gradient(0deg, transparent 0 9px, var(--layer) 9px 10px), var(--surface-2);
  outline: 2.5px dashed var(--accent-tint); outline-offset: -10px; }
.drop.over, .drop:hover { background-color: var(--accent-soft); outline-color: var(--accent); }
.drop.over { transform: scale(1.015); }
.drop .ico { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; transition: transform .3s; }
.drop:hover .ico, .drop.over .ico { transform: translateY(-6px); }
.drop .ico svg { width: 32px; height: 32px; stroke: var(--accent); }
.drop b { display: block; font: 600 20px var(--display); color: var(--ink); }
.drop small { color: var(--muted); }
.drop .fake-btn { display: inline-block; margin-top: 16px; background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 11px 24px; font-weight: 600; font-size: 15px; box-shadow: 0 8px 18px -8px var(--accent); }
#items:not(:empty) { margin-top: 18px; }

.item { display: grid; grid-template-columns: 150px 1fr auto; gap: 20px; align-items: center; padding: 16px; border-radius: var(--r-l); background: var(--surface-2); margin-top: 12px; }
.item canvas, .item .thumb { width: 150px; height: 150px; border-radius: 20px; background: radial-gradient(circle at 50% 40%, var(--surface), var(--accent-soft)); display: block; }
.item .name { font-weight: 600; word-break: break-all; }
.item .meta { color: var(--muted); font-size: 14px; }
.item .opts { display: flex; flex-wrap: wrap; gap: 12px 16px; margin-top: 12px; align-items: flex-end; }
.item .price { font: 600 26px var(--display); text-align: end; white-space: nowrap; color: var(--ink); }
.item .rm { background: none; border: 0; color: var(--muted); cursor: pointer; font: inherit; font-size: 14px; padding: 8px 10px; border-radius: 999px; }
.item .rm:hover { color: var(--err); background: var(--err-soft); }
.item .warn { color: var(--err); font-size: 14px; }
.item.pop-in { animation: popIn .55s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes popIn { 0% { opacity: 0; transform: translateY(16px) scale(.94); } 100% { opacity: 1; transform: none; } }
.field label { font-size: 13px; margin-bottom: 4px; }
@media (max-width: 640px) {
  .item { grid-template-columns: 96px 1fr; padding: 12px; gap: 12px; }
  .item canvas, .item .thumb { width: 96px; height: 96px; }
  .item .price { grid-column: 1 / -1; text-align: start; }
}

/* Color swatches */
.swatches { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; min-height: 42px; }
.swatch { width: 30px; height: 30px; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line), inset 0 -3px 6px rgba(0, 0, 0, .12); cursor: pointer; padding: 0; transition: transform .2s cubic-bezier(.3, 1.8, .5, 1), box-shadow .15s; }
.swatch:hover { transform: scale(1.15); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--accent), inset 0 -3px 6px rgba(0, 0, 0, .12); transform: scale(1.12); }
.swatch { position: relative; }
.swatch.has::after { content: ""; position: absolute; top: -5px; inset-inline-end: -5px; width: 11px; height: 11px; border-radius: 50%; background: var(--ok); border: 2px solid var(--surface); }
.stock-note { font-size: 13px; font-weight: 500; margin-top: 6px; min-height: 0; }
.stock-note:empty { display: none; }
.stock-note.in { color: var(--ok); }
.stock-note.later { color: var(--sun); }
.swatch-name { font-size: 13px; color: var(--ink); margin-inline-start: 4px; }

/* ---------- Forms ---------- */
label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--surface-2); border: 2px solid transparent; border-radius: var(--r-m); padding: 11px 14px; width: 100%; transition: border-color .2s, box-shadow .2s, background .2s; }
input:hover, select:hover, textarea:hover { border-color: var(--accent-tint); }
input:focus, select:focus, textarea:focus { outline: none; background: var(--surface); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.item input, .item select { background: var(--surface); }
.opts select, .opts input { width: auto; }
textarea { min-height: 130px; resize: vertical; }
input[type=file] { padding: 10px; }
input[type=file]::file-selector-button { font: inherit; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); padding: 7px 16px; margin-inline-end: 12px; cursor: pointer; font-weight: 600; }
.req { color: var(--coral); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.grid2 .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.seg { display: flex; gap: 10px; flex-wrap: wrap; }
.seg label { flex: 1; display: flex; gap: 10px; align-items: center; background: var(--surface-2); border: 2px solid transparent; border-radius: var(--r-m); padding: 11px 16px; cursor: pointer; color: var(--ink); margin: 0; font-weight: 500; min-width: 140px; transition: .2s; }
.seg input { width: auto; accent-color: var(--accent); margin: 0; }
.seg label:hover { border-color: var(--accent-tint); }
.seg label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }

/* ---------- Buttons ---------- */
.btn { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 999px; padding: 14px 28px; font: inherit; font-weight: 600; cursor: pointer; transition: background .2s, transform .25s cubic-bezier(.3, 1.6, .5, 1), box-shadow .25s; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; box-shadow: 0 10px 22px -10px var(--accent); }
.btn:hover:not(:disabled) { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 14px 26px -10px var(--accent); }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn.ghost { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.btn.ghost:hover:not(:disabled) { background: var(--surface); color: var(--accent); }
.btn.small { padding: 10px 20px; font-size: 15px; }
.btn.big { padding: 16px 36px; font-size: 18px; }
.btn.added { background: var(--ok); box-shadow: 0 10px 22px -10px var(--ok); }
.wiggle { animation: wiggle .5s; }
@keyframes wiggle { 0%, 100% { transform: none; } 25% { transform: rotate(-4deg) scale(1.06); } 60% { transform: rotate(3deg) scale(1.04); } }

/* ---------- Summary / CTA ---------- */
.cta { overflow: hidden; background:
  radial-gradient(500px 240px at 0% 100%, var(--accent-soft), transparent 70%),
  repeating-linear-gradient(0deg, transparent 0 9px, var(--layer) 9px 10px), var(--surface); }
.cta .nozzle { position: absolute; inset-inline-end: 48px; top: -8px; width: 96px; height: 106px; opacity: .85; pointer-events: none; }
.cta .totals { margin-top: 24px; }
.cta .nozzle * { stroke: var(--accent); }
.totals { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; position: relative; }
.totals .label { font-size: 14px; color: var(--muted); }
.totals .sum { font: 600 46px/1.1 var(--display); display: block; color: var(--accent); }
.totals small { color: var(--muted); display: block; font-size: 14px; font-weight: 400; max-width: 460px; margin-top: 4px; }
.sum.pop { animation: pricePop .45s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes pricePop { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 100% { transform: scale(1); } }
.submit-col { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.hint { font-size: 13px; color: var(--muted); }
.msg { padding: 16px 18px; border-radius: var(--r-m); margin-top: 18px; font-weight: 500; position: relative; }
.msg.err { background: var(--err-soft); color: var(--err); }
.msg.ok { background: var(--ok-soft); color: var(--ok); }
@media (max-width: 640px) { .submit-col { align-items: stretch; width: 100%; } .totals .sum { font-size: 38px; } .cta .nozzle { display: none; } }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 100; }
.confetti i { position: absolute; top: 0; left: 0; width: 9px; height: 14px; border-radius: 2px; }

/* ---------- Catalog ---------- */
.catalog { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 22px; margin: 18px 0 8px; }
.product { --tile: var(--accent-soft); background: var(--surface); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), box-shadow .3s; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.product .pic { position: relative; background: var(--tile); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.product .pic::before { content: ""; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%; background: color-mix(in srgb, var(--surface) 55%, transparent); transition: transform .6s; }
.product:hover .pic::before { transform: rotate(40deg) scale(1.08); }
.product img { position: relative; width: 62%; aspect-ratio: 1; object-fit: contain; display: block; transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.product:hover img { transform: rotate(-6deg) scale(1.06); }
.product .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.product .body b.title { font: 600 20px var(--display); }
.product .body p { color: var(--muted); font-size: 14px; margin: -6px 0 0; flex: 1; }
.product .row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 4px; }
.product .price-tag { font: 600 26px var(--display); }
@media (max-width: 640px) { .product .pic { aspect-ratio: 16 / 9; } .product img { width: 38%; } }
.product { position: relative; }
.alert-banner { margin: 0 0 14px; padding: 12px 16px; border-radius: 14px; background: var(--sun-soft); color: var(--sun); border: 1px solid color-mix(in srgb, var(--sun) 35%, transparent); }
.pickup-note { margin: 8px 0 0; font-size: 13px; color: var(--muted); }
.pickup-note a { color: var(--accent); font-weight: 600; text-decoration: none; }
.pickup-note a:hover span:last-child { text-decoration: underline; }
.pickup-note .wa-dot { color: #25d366; font-size: 10px; vertical-align: middle; }
.pay-choice { margin-top: 6px; }
.pay-now { margin-top: 14px; padding: 16px 18px; border-radius: 14px; background: var(--surface-2); color: var(--ink); text-align: start; }
.pay-now h3 { margin: 0 0 8px; font: 600 18px var(--display); }
.pay-now pre { white-space: pre-wrap; font-family: inherit; font-size: 15px; line-height: 1.6; margin: 0 0 12px; }
.pay-now .btn { margin-inline-end: 8px; }
.pay-note { margin: 0 0 10px; padding: 9px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); font-size: 14px; }
.pay-note::before { content: "💡 "; }
.pay-note.now::before { content: none; }
.pay-none { margin: 0; color: var(--muted); }
.pay-seg label { min-width: 120px; }
.pay-box { margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--surface-2); }
.pay-box pre { white-space: pre-wrap; font-family: inherit; font-size: 14px; line-height: 1.6; margin: 0 0 12px; max-height: 260px; overflow: auto; }
.pay-box .btn.wa { background: #25d366; color: #05210f; }
.settings-grid { display: grid; gap: 14px; }
.settings-grid fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px 16px; margin: 0; }
.settings-grid legend { padding: 0 6px; font-weight: 600; }
.settings-grid .show-toggle { display: inline-flex; gap: 8px; align-items: center; margin: 0 0 10px; cursor: pointer; color: var(--ink); font-weight: 500; }
.settings-grid .show-toggle input { width: auto; accent-color: var(--accent); }
.pay-warn a { color: inherit; text-decoration: underline; }
/* ---- Name keychain ---- */
@font-face { font-family: 'kc-secular'; src: url('/fonts/SecularOne-Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'kc-varela'; src: url('/fonts/VarelaRound-Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'kc-suez'; src: url('/fonts/SuezOne-Regular.ttf') format('truetype'); font-display: swap; }
.kc-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 26px; margin-top: 16px; align-items: start; }
.kc-grid > * { min-width: 0; }
.kc-left { position: sticky; top: 96px; }
.coin-note { margin: 8px 4px 0; font-size: 13px; color: var(--muted); text-align: center; }
.coin-note::before { content: "🪙 "; }
.card-coin { position: absolute; bottom: 8px; inset-inline-end: 10px; font-size: 11px; color: var(--muted); background: color-mix(in srgb, var(--bg) 60%, transparent); padding: 2px 8px; border-radius: 999px; pointer-events: none; opacity: 0; transition: opacity .5s; }
.pic.live.ready .card-coin { opacity: 1; }
.pic.live .pic-photo { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; opacity: 0; transition: opacity .35s; pointer-events: none; }
.pic.live.show-photo .pic-photo { opacity: 1; }
.pic.live .pic-thumb { position: absolute; top: 10px; inset-inline-end: 10px; width: 46px; height: 46px; border-radius: 12px; border: 2px solid color-mix(in srgb, var(--ink) 70%, transparent);
  background-size: cover; background-position: center; cursor: pointer; box-shadow: var(--shadow); z-index: 2; padding: 0; }
.pic.live .pic-thumb.is-3d { background-image: none !important; background: var(--surface-2); }
.pic.live .pic-thumb.is-3d::after { content: "3D"; font: 700 13px var(--display); color: var(--ink); }
.product:hover .pic.live .pic-photo { transform: none; }
.kc-stage { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden;
  background: radial-gradient(120% 90% at 50% 30%, color-mix(in srgb, var(--accent) 22%, var(--surface-2)), var(--surface-2) 70%); }
.kc-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
.kc-stage canvas:active { cursor: grabbing; }
.kc-hud { position: absolute; inset-inline: 14px; bottom: 12px; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; pointer-events: none; }
.kc-hud span { background: color-mix(in srgb, var(--bg) 70%, transparent); backdrop-filter: blur(6px); padding: 4px 10px; border-radius: 999px; }
.kc-hud .kc-drag { color: var(--muted); }
.kc-loading { position: absolute; inset: 0; display: grid; place-items: center; font-size: 32px; color: var(--muted); }
.kc-controls { display: flex; flex-direction: column; gap: 16px; }
.kc-controls .field { margin: 0; }
.kc-controls #kcName { font-size: 22px; padding: 12px 16px; }
.kc-count { color: var(--muted); font-weight: 400; margin-inline-start: 6px; }
.kc-err { color: var(--coral); display: block; margin-top: 6px; }
.kc-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.kc-chip { flex: 1; min-width: 92px; padding: 10px 12px; border-radius: var(--r-m); border: 2px solid transparent; background: var(--surface-2); color: var(--ink); font-size: 17px; cursor: pointer; transition: .2s; }
.kc-chip:hover { border-color: var(--accent-tint); }
.kc-chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }
.kc-controls input[type=range] { width: 100%; accent-color: var(--accent); padding: 0; }
.kc-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kc-seg label { min-width: 0; padding: 9px 12px; font-size: 14px; }
.kc-buy { display: flex; gap: 16px; align-items: end; justify-content: space-between; padding-top: 6px; border-top: 1px dashed var(--line); }
.kc-buy .field { width: 110px; }
.kc-price { display: flex; flex-direction: column; align-items: flex-end; text-align: end; }
.kc-price small { color: var(--muted); font-size: 12px; max-width: 220px; }
.product.custom { color: var(--ink); text-decoration: none; }
.product .custom-tag { background: var(--accent); color: var(--accent-ink); }
.product .price-tag small { font-size: 14px; color: var(--muted); font-weight: 500; }
@media (max-width: 860px) { .kc-grid { grid-template-columns: minmax(0, 1fr); } .kc-left { position: relative; top: 0; } }
@media (max-width: 480px) { .kc-two { grid-template-columns: 1fr; } }
.item-snap { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; background: #e4ebea; display: block; }
/* ---- Custom colour ---- */
.swatch.custom-swatch { background: conic-gradient(#e94b4b, #f6c445, #5ccf6b, #3fb9e0, #7a5cf0, #e94bb4, #e94b4b); color: #fff; font: 700 16px/1 var(--display); text-shadow: 0 1px 2px #0008; display: inline-grid; place-items: center; }
.custom-color { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; }
.custom-color input { font-size: 15px; }
.custom-color small { color: var(--sun); font-size: 12.5px; }
.price-after { font: 600 15px var(--display); color: var(--sun); }
.sum.price-after { font-size: 22px; }
.calm-note { margin: 0 0 14px; padding: 8px 14px; border-radius: 12px; background: color-mix(in srgb, var(--ink) 6%, transparent); color: var(--muted); font-size: 14px; }
.product .pic.photo::before, .product .pic.live::before { display: none; }
.product .pic.photo img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.product:hover .pic.photo img { transform: scale(1.05); }
.product .pic.live canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .5s; }
.product .pic.live.ready canvas { opacity: 1; }
.product .pic.live:not(.ready)::after { content: ""; width: 34px; height: 34px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--ink) 20%, transparent); border-top-color: var(--accent, #e2551b); animation: spin .9s linear infinite; }
.product .pic.live.failed::after { animation: none; border-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
.product .tag { position: absolute; top: 12px; inset-inline-start: 12px; padding: 4px 10px; border-radius: 999px; background: var(--sun, #ffc93c); color: #2a1a00; font: 600 13px var(--display); box-shadow: var(--shadow); }
.product .credit { color: var(--muted); font-size: 12px; margin-top: -4px; }
.product .credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) { .product .pic.photo img { width: 100%; } }
.empty { color: var(--muted); text-align: center; padding: 26px 18px; border-radius: var(--r-l); background: var(--surface-2); }
.empty::before { content: "🛒"; display: block; font-size: 30px; margin-bottom: 4px; }
.cart-badge { background: var(--coral); color: #fff; font: 600 14px "Rubik", sans-serif; border-radius: 999px; padding: 2px 10px; }
.go-cart { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 15; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), opacity .25s; }
.go-cart.off { transform: translateY(120px); opacity: 0; pointer-events: none; }
.go-cart .cart-badge { background: #fff; color: var(--accent); }

/* ---------- Contact ---------- */
#contact { margin: 64px 0 10px; scroll-margin-top: 100px; }
.contact-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: center; padding: 40px; border-radius: var(--r-xl); box-shadow: var(--shadow);
  background: radial-gradient(420px 260px at 100% 0%, var(--accent-tint), transparent 70%), radial-gradient(360px 240px at 0% 100%, var(--coral-soft), transparent 70%), var(--surface); }
.contact-card::after { content: ""; position: absolute; width: 160px; height: 160px; inset-inline-end: -50px; bottom: -60px; border-radius: 46% 54% 58% 42% / 44% 46% 54% 56%; background: var(--mint); opacity: .12; }
.contact-text h2 { font-size: clamp(30px, 4.5vw, 42px); margin: 0 0 8px; }
.contact-text p { color: var(--muted); margin: 0; font-size: 17px; max-width: 420px; }
.contact-links { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.c-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--r-m); background: var(--surface-2); color: var(--ink); text-decoration: none; font-weight: 500; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), background .2s; }
a.c-row:hover { transform: translateY(-2px); background: var(--accent-soft); }
.c-ico { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.c-ico svg { width: 20px; height: 20px; }
.c-soon { color: var(--muted); margin: 0; }
.wa-btn { background: #25d366; color: #06301a; box-shadow: 0 10px 24px -10px #25d366; margin-top: 6px; }
.wa-btn:hover:not(:disabled) { background: #3be27a; box-shadow: 0 14px 28px -10px #25d366; }
.wa-btn svg { width: 22px; height: 22px; }
.wa-float { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 16; display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 16px; border-radius: 999px; background: #25d366; color: #06301a; font-weight: 600; text-decoration: none; box-shadow: 0 12px 26px -8px rgba(37, 211, 102, .6); transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float .wa-ico svg { width: 26px; height: 26px; display: block; }
@media (max-width: 760px) {
  .contact-card { grid-template-columns: 1fr; padding: 26px 20px; }
  .wa-float { width: 56px; padding: 0; justify-content: center; bottom: 16px; inset-inline-start: 16px; }
  .wa-float .wa-label { display: none; }
  .go-cart { bottom: 16px; inset-inline-end: 16px; }
}

/* ---------- Footer ---------- */
footer.site { color: var(--muted); font-size: 14px; padding: 40px 0 96px; text-align: center; }
footer.site a { color: var(--accent); text-decoration: none; font-weight: 500; }

/* ---------- Admin ---------- */
table.orders { width: 100%; border-collapse: collapse; font-size: 14px; }
table.orders td, table.orders th { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
table.orders th { color: var(--muted); font-weight: 500; }
table.orders tbody tr { cursor: pointer; }
table.orders tbody tr:hover { background: var(--accent-soft); }
table.inv tbody tr { cursor: default; }
table.inv td { vertical-align: middle; }
table.inv input { width: 100px; padding: 8px 10px; }
table.inv tr.low { background: color-mix(in srgb, var(--coral) 12%, transparent); }
table.inv tr.low:hover { background: color-mix(in srgb, var(--coral) 18%, transparent); }
.low-badge { background: var(--coral-soft); color: var(--coral); }
.dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; box-shadow: 0 0 0 1px var(--line); margin-inline-end: 4px; }
.acts { display: flex; gap: 6px; flex-wrap: nowrap; }
.acts .btn { box-shadow: none; padding: 8px 14px; white-space: nowrap; }
.inv-add { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; align-items: end; }
.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Shipping options + order summary breakdown (discount, shipping, minimum order) */
.ship-opts label { flex: 1 1 260px; }
.ship-opts b { margin-inline-start: auto; font-weight: 600; white-space: nowrap; }
.ship-big { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }
.breakdown { margin: 8px 0 2px; max-width: 360px; font-size: 15px; }
.breakdown .bd-row { display: flex; justify-content: space-between; gap: 16px; padding: 2px 0; color: var(--ink); }
.breakdown .bd-row b { font-weight: 600; white-space: nowrap; }
.breakdown .bd-row.good b { color: var(--accent); }
.totals .breakdown small.bd-note { margin-top: 4px; }
.totals .breakdown small.bd-note.warn { color: var(--err); font-weight: 600; }

/* ---------- Accessibility (IS 5568 / WCAG 2.1 AA) ---------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 100; background: var(--accent); color: var(--accent-ink); font-weight: 600; padding: 10px 18px; border-radius: 999px; text-decoration: none; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
main:focus { outline: none; }
.drop:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.a11y-wrap { position: relative; }
.a11y-btn svg { width: 22px; height: 22px; }
.a11y-menu { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; z-index: 30; width: 230px; display: grid; gap: 6px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow); font-size: 14px; }
.a11y-menu[hidden] { display: none; }
.a11y-menu button { font: inherit; color: var(--ink); background: var(--surface-2); border: 2px solid transparent; border-radius: var(--r-s); padding: 8px 12px; cursor: pointer; text-align: start; }
.a11y-menu button:hover { border-color: var(--accent-tint); }
.a11y-menu button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.a11y-menu a { color: var(--accent); padding: 4px 2px; }
.a11y-row { display: flex; align-items: center; gap: 6px; }
.a11y-row span { flex: 1; }
.a11y-row button { min-width: 44px; text-align: center; font-weight: 700; }
body { zoom: var(--a11y-zoom, 1); }
html.a11y-links a { text-decoration: underline !important; text-underline-offset: 3px; }
html.a11y-contrast { --bg: #000; --surface: #000; --surface-2: #111; --ink: #fff; --muted: #e6e6e6; --line: #fff; --accent: #5ff5e9; --accent-hover: #9ffaf3; --accent-ink: #000; --accent-soft: #003b38; --accent-tint: #5ff5e9; --hero: #000; }
html.a11y-contrast .panel, html.a11y-contrast .product, html.a11y-contrast .cards3 a, html.a11y-contrast .contact-card, html.a11y-contrast header.site .wrap, html.a11y-contrast .faq details, html.a11y-contrast .prose { border: 2px solid #fff; }
html.a11y-contrast .blob { display: none; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-still .reveal { opacity: 1; transform: none; }
.infill-hint { flex-basis: 100%; color: var(--muted); font-size: 13px; }
.totals small.finish-note { color: var(--ok); margin-top: 8px; }

/* ---------- Reviews ---------- */
.reviews { margin-top: 64px; }
.reviews-empty { text-align: center; background: var(--surface); border-radius: var(--r-xl); padding: 36px 24px; box-shadow: var(--shadow); }
.reviews-empty p { color: var(--muted); max-width: 520px; margin: 8px auto 18px; }
.reviews-ico { font-size: 40px; }
.reviews-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.review { background: var(--surface); border-radius: var(--r-l); padding: 16px; box-shadow: var(--shadow); }
.review img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-m); }
.review .stars { color: var(--sun); }
.reviews-more { text-align: center; margin-top: 18px; }

/* ---------- FAQ & text pages ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border-radius: var(--r-l); box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font: 600 22px/1 var(--display); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 22px 18px; }
.faq .a p:first-child { margin-top: 0; }
.faq h2 { margin: 28px 0 4px; font-size: 22px; }
.prose { background: var(--surface); border-radius: var(--r-xl); padding: 32px; box-shadow: var(--shadow); }
.prose h2 { margin-top: 28px; font-size: 22px; }
.prose h2:first-child { margin-top: 0; }
html[lang="he"] [data-lang="en"], html[lang="en"] [data-lang="he"] { display: none; }
@media (max-width: 640px) { .prose { padding: 22px 18px; } }
