/* ---------- Design tokens ---------- */
:root {
  --bg: #FCFAF7;
  --surface: #FFFFFF;
  --ink: #22162E;
  --ink-2: #3E3149;
  --muted: #6B6176;
  --line: #ECE5F1;
  --line-2: #DCD1E6;
  --brand: #5B2A86;
  --brand-hover: #4A206F;
  --brand-2: #7E4DB8;
  --brand-soft: #F4EEFA;
  --accent: #D9567F;
  --accent-soft: #FBE9F0;
  --gold: #E8A93A;
  --ok: #2E7D57;
  --danger: #B83A55;
  --wa: #25D366;
  --wa-hover: #1EB457;

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(34, 22, 46, .06);
  --shadow: 0 12px 32px -14px rgba(34, 22, 46, .22);
  --shadow-lg: 0 24px 60px -20px rgba(34, 22, 46, .35);

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--brand-2); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--brand-soft); color: var(--brand); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-inline: 16px; }
@media (min-width: 768px) { .wrap { padding-inline: 32px; } }
.narrow { max-width: 640px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon-fill { fill: currentColor; stroke: none; }

.eyebrow { font: 600 .75rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--muted); }
.hint { color: var(--muted); font-size: .875rem; }
.error { color: var(--danger); font-weight: 500; font-size: .9rem; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 .95rem/1 var(--font-body); letter-spacing: .01em; cursor: pointer; white-space: nowrap;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .1s;
}
.btn:active { transform: scale(.985); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-outline { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--line-2); background: var(--brand-soft); }
.btn-light { background: #fff; color: var(--brand); }
.btn-light:hover { background: var(--brand-soft); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-lg { min-height: 54px; font-size: 1rem; padding: 0 28px; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn .icon { width: 18px; height: 18px; }
.link { color: var(--brand); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.link .icon { width: 16px; height: 16px; }

.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer; transition: background .2s; }
.icon-btn:hover { background: var(--brand-soft); }
.icon-btn .icon { width: 22px; height: 22px; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--brand); color: #EFE6F8; font-size: .8rem; letter-spacing: .02em; }
.announce .wrap { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 36px; text-align: center; }
.announce .dot { opacity: .5; }
@media (max-width: 640px) { .announce .opt { display: none; } }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(252, 250, 247, .9); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.site-header > .wrap { display: flex; align-items: center; gap: 16px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand img { width: 36px; height: 36px; }
.brand span { font: 600 1.3rem/1 var(--font-display); color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.brand span b { font-weight: 600; color: var(--brand); font-style: italic; }
.brand-light span { color: #fff; }
.brand-light span b { color: #E3CFF7; }

.nav-main { display: flex; gap: 2px; margin-left: 24px; }
.nav-main a { position: relative; padding: 8px 12px; font-size: .925rem; font-weight: 500; color: var(--ink-2); border-radius: 8px; transition: color .2s; }
.nav-main a:hover { color: var(--brand); }
.nav-main a.active { color: var(--brand); }
.nav-main a.active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font: 700 .7rem/18px var(--font-body); text-align: center; }
.badge.bump { animation: bump .35s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }

/* admin header nav */
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { padding: 8px 12px; font-weight: 500; font-size: .925rem; border-radius: 8px; }
.nav a:hover { background: var(--brand-soft); color: var(--brand); }

.only-sm { display: none; }
@media (max-width: 960px) {
  .nav-main { display: none; }
  .only-sm { display: inline-grid; }
  .hide-sm { display: none; }
  .site-header > .wrap { gap: 4px; }
  .site-header .brand { margin-inline: auto; }
  .header-actions { margin-left: 0; }
  .brand span { font-size: 1.2rem; }
}

/* ---------- Drawers ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(34, 22, 46, .45); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; }
.scrim.show { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 70; width: min(420px, 100%); background: var(--surface); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
.drawer-right { right: 0; transform: translateX(100%); }
.drawer-left { left: 0; transform: translateX(-100%); width: min(340px, 88%); }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 14px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.35rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); display: grid; gap: 10px; }
.drawer-foot .row { display: flex; justify-content: space-between; align-items: baseline; }
.drawer-foot .row strong { font: 600 1.25rem var(--font-display); }

.menu-links a { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); font: 500 1.2rem var(--font-display); }
.menu-links a .icon { color: var(--muted); width: 18px; height: 18px; }
.menu-contact { padding: 24px 0; display: grid; gap: 12px; color: var(--muted); font-size: .925rem; }
.menu-contact a, .menu-contact span { display: flex; align-items: center; gap: 10px; }
.menu-contact .icon { width: 18px; height: 18px; color: var(--brand); }

/* Bag lines */
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line-img { width: 76px; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: var(--brand-soft); }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-name { font-weight: 600; line-height: 1.35; }
.line-name:hover { color: var(--brand); }
.line-meta { color: var(--muted); font-size: .85rem; margin-top: 2px; }
.line-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.line-total { font-weight: 600; white-space: nowrap; }
.remove { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 4px; border-radius: 6px; display: inline-grid; }
.remove:hover { color: var(--danger); }
.remove .icon { width: 18px; height: 18px; }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; background: var(--surface); height: 48px; }
.stepper button { width: 44px; height: 100%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; color: var(--ink); border-radius: 999px; }
.stepper button:hover { color: var(--brand); }
.stepper button:disabled { color: var(--line-2); cursor: default; }
.stepper .icon { width: 16px; height: 16px; }
.stepper output { min-width: 28px; text-align: center; font-weight: 600; }
.stepper-sm { height: 34px; margin-top: 10px; }
.stepper-sm button { width: 32px; }
.stepper-sm output { min-width: 22px; font-size: .9rem; }

.bag-empty { text-align: center; padding: 48px 8px; display: grid; justify-items: center; gap: 12px; }
.bag-empty .icon-circle { width: 72px; height: 72px; }

.icon-circle { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.icon-circle .icon { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% 0%, var(--brand-soft), transparent 60%), radial-gradient(800px 400px at 0% 100%, var(--accent-soft), transparent 60%); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 72px 80px; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); line-height: 1.05; margin: 18px 0 20px; letter-spacing: -.02em; }
.hero h1 em { font-style: italic; color: var(--brand); }
.hero-lede { font-size: 1.125rem; color: var(--muted); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 28px; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; }
.hero-note .icon { color: var(--gold); width: 18px; height: 18px; }

.hero-art { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.hero-blob { position: absolute; inset: 6%; border-radius: 46% 54% 52% 48% / 52% 44% 56% 48%; background: linear-gradient(145deg, #EADCF7, #F9E1EB); display: grid; place-items: center; }
.hero-blob img { width: 58%; filter: drop-shadow(0 18px 30px rgba(91, 42, 134, .25)); }
.hero-chip { position: absolute; display: flex; align-items: center; gap: 8px; background: var(--surface); padding: 10px 16px; border-radius: 999px; box-shadow: var(--shadow); font-weight: 600; font-size: .875rem; }
.hero-chip .icon { width: 18px; height: 18px; color: var(--accent); }
.hero-chip.c1 { top: 10%; left: -2%; }
.hero-chip.c2 { bottom: 12%; right: -2%; }
.hero-chip.c2 .icon { color: var(--brand); }

.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 480px; justify-self: center; width: 100%; }
.hero-collage a { border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-soft); aspect-ratio: 4 / 5; box-shadow: var(--shadow); }
.hero-collage a:first-child { grid-row: span 2; aspect-ratio: auto; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hero-collage a:hover img { transform: scale(1.04); }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: var(--surface); }
.trust ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust li { display: flex; align-items: center; gap: 14px; padding: 22px 20px; }
.trust li + li { border-left: 1px solid var(--line); }
.trust .icon { width: 26px; height: 26px; color: var(--brand); }
.trust strong { display: block; font-weight: 600; font-size: .95rem; }
.trust span { color: var(--muted); font-size: .85rem; }

/* ---------- Sections ---------- */
.section { padding-block: 72px; }
.section-sm { padding-block: 48px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-top: 10px; }
.section-head p { color: var(--muted); margin-top: 8px; max-width: 36em; }

/* Category tiles */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; padding: 20px; border-radius: var(--radius-lg); overflow: hidden; background: var(--tint, var(--brand-soft)); isolation: isolate; transition: transform .3s var(--ease); }
.cat:hover { transform: translateY(-4px); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.cat:hover img { transform: scale(1.05); }
.cat.has-img::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(34, 22, 46, .7), rgba(34, 22, 46, 0) 60%); }
.cat.has-img h3, .cat.has-img p { color: #fff; }
.cat h3 { font-size: 1.5rem; }
.cat p { color: var(--muted); font-size: .85rem; margin-top: 4px; }
.cat .go { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; color: var(--ink); transition: transform .3s var(--ease); }
.cat:hover .go { transform: rotate(-45deg); }
.cat-icon { position: absolute; top: 18px; left: 18px; color: var(--brand); opacity: .45; }
.cat-icon .icon { width: 34px; height: 34px; stroke-width: 1.4; }
.cat .go .icon { width: 16px; height: 16px; }

/* ---------- Product grid + card ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 20px; }
.card { display: flex; flex-direction: column; gap: 14px; }
.card-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--brand-soft); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s var(--ease), transform .6s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img { transform: scale(1.03); }
.card:hover .card-media img.alt { opacity: 1; }
.label { position: absolute; top: 12px; left: 12px; background: var(--surface); color: var(--ink); font: 600 .72rem/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.label-out { background: var(--ink); color: #fff; }
.card-info { display: grid; gap: 4px; }
.card-cat { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }
.card-name { font: 500 1.08rem/1.3 var(--font-body); color: var(--ink); }
.card:hover .card-name { color: var(--brand); }
.card-price { font-weight: 600; color: var(--ink); }
.card.out .card-media img { filter: grayscale(.4); opacity: .75; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.step-card .num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font: 600 1.1rem var(--font-display); margin-bottom: 18px; }
.step-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.step-card p { color: var(--muted); font-size: .95rem; }

/* ---------- Custom order band ---------- */
.band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--brand); color: #EFE6F8; padding: 56px; display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .06); }
.band h2 { color: #fff; font-size: clamp(1.75rem, 3vw, 2.4rem); }
.band p { margin-top: 10px; max-width: 34em; }
.band .eyebrow { color: #F4B6CB; }

/* ---------- Page head + breadcrumbs ---------- */
.page-head { padding-block: 40px 28px; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); margin-top: 12px; }
.page-head p { color: var(--muted); margin-top: 10px; max-width: 40em; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .85rem; color: var(--muted); }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { opacity: .5; }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Shop toolbar ---------- */
.toolbar { position: sticky; top: var(--header-h); z-index: 20; background: var(--bg); padding-block: 12px; margin-bottom: 20px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; flex: 1 1 auto; min-width: 0; margin-inline: -4px; padding-inline: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; height: 38px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--surface); font: 500 .9rem var(--font-body); color: var(--ink-2); cursor: pointer; transition: all .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.toolbar-right { display: flex; gap: 10px; align-items: center; }
.search-field { position: relative; }
.search-field .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-field input { height: 40px; padding: 0 14px 0 40px; width: 220px; border-radius: 999px; }
.select { height: 40px; padding: 0 36px 0 14px; border-radius: 999px; width: auto; appearance: none; -webkit-appearance: none; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B6176' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; cursor: pointer; font-size: .9rem; }
.result-count { color: var(--muted); font-size: .875rem; margin-bottom: 20px; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; padding-block: 20px 64px; align-items: start; }
.gallery { display: grid; grid-template-columns: 72px 1fr; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.gallery.single { grid-template-columns: 1fr; }
.gallery-main { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--brand-soft); order: 2; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; flex-direction: column; gap: 10px; order: 1; }
.thumbs button { width: 72px; aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--brand-soft); cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.thumbs button:hover { opacity: 1; }
.thumbs button[aria-current='true'] { border-color: var(--ink); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin: 12px 0 14px; }
.pdp-price { font: 500 1.6rem var(--font-display); color: var(--ink); }
.stock { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .9rem; font-weight: 500; color: var(--ok); }
.stock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.stock.out { color: var(--danger); }
.pdp-desc { color: var(--ink-2); margin-top: 22px; white-space: pre-line; }
.pdp-buy { display: flex; gap: 12px; margin-top: 28px; }
.pdp-buy .btn { flex: 1; }
.pdp-actions { display: grid; gap: 12px; }
.pdp-actions .btn-outline { margin-top: 12px; }
.perks { display: grid; gap: 14px; margin-top: 28px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.perks li { display: flex; gap: 12px; align-items: flex-start; font-size: .925rem; color: var(--ink-2); }
.perks .icon { color: var(--brand); margin-top: 2px; }
.acc { border-bottom: 1px solid var(--line); }
.acc:first-of-type { margin-top: 20px; border-top: 1px solid var(--line); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 600; cursor: pointer; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); color: var(--muted); }
.acc[open] summary .icon { transform: rotate(180deg); }
.acc p { padding-bottom: 18px; color: var(--muted); font-size: .95rem; }

.buybar { display: none; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; padding-bottom: 72px; }
.checkout-form fieldset { border: 0; margin: 0 0 32px; padding: 0; }
.checkout-form legend { display: flex; align-items: center; gap: 12px; font: 500 1.35rem var(--font-display); margin-bottom: 18px; padding: 0; }
.checkout-form legend .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font: 600 .85rem var(--font-body); }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label, .label-text { display: block; font-weight: 600; font-size: .875rem; margin-bottom: 8px; color: var(--ink-2); }
.optional { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: 400 1rem var(--font-body); color: var(--ink);
  padding: 13px 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: #A79DB0; }
input:hover, select:hover, textarea:hover { border-color: #C6B8D4; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(126, 77, 184, .14); }
textarea { resize: vertical; min-height: 96px; }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .825rem; margin-top: 6px; display: none; }
.field.invalid .field-error { display: block; }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.choice label { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius); background: var(--surface); cursor: pointer; margin: 0; font-weight: 400; transition: border-color .2s, background .2s; }
.choice label:hover { border-color: #C6B8D4; }
.choice input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.choice label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.choice label:has(input:focus-visible) { box-shadow: 0 0 0 4px rgba(126, 77, 184, .2); }
.choice .icon { color: var(--brand); width: 22px; height: 22px; margin-top: 1px; }
.choice strong { display: block; font-weight: 600; color: var(--ink); }
.choice span span { display: block; font-size: .825rem; color: var(--muted); margin-top: 2px; }
.form-note { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: .85rem; margin-top: 14px; }
.form-note .icon { width: 18px; height: 18px; color: var(--ok); margin-top: 1px; }
.alert { background: #FCEDF1; color: var(--danger); border-radius: var(--radius-sm); padding: 12px 16px; font-weight: 500; font-size: .9rem; margin-bottom: 16px; }

.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary h2 { font-size: 1.3rem; margin-bottom: 8px; }
.summary .totals { border-top: 0; margin-top: 0; }
.summary .line { grid-template-columns: 64px 1fr auto; padding: 14px 0; }
.summary .line-img { width: 64px; position: relative; overflow: visible; }
.summary .line-img img { border-radius: var(--radius-sm); }
.qty-badge { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 .72rem/22px var(--font-body); text-align: center; }
.totals { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; display: grid; gap: 10px; font-size: .925rem; }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals .muted { text-align: right; }
.totals .grand { font: 600 1.25rem var(--font-display); padding-top: 12px; border-top: 1px solid var(--line); margin-top: 4px; }
.totals .grand:first-child { border-top: 0; padding-top: 0; margin-top: 0; }

.success { text-align: center; padding-block: 64px 80px; }
.success .icon-circle { width: 72px; height: 72px; margin: 0 auto 24px; background: #E6F4EC; color: var(--ok); }
.success .icon-circle .icon { width: 34px; height: 34px; stroke-width: 2.2; }
.success h1 { font-size: clamp(2rem, 4vw, 2.6rem); }
.success > p { color: var(--muted); margin: 12px auto 0; max-width: 32em; }
.success .summary { position: static; text-align: left; margin: 32px 0 24px; }
.success .actions { display: grid; gap: 12px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; padding-bottom: 72px; align-items: stretch; }
.contact-list { display: grid; gap: 12px; align-content: start; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
a.contact-item:hover { border-color: var(--brand-2); }
.contact-item .icon-circle { width: 44px; height: 44px; flex: none; }
.contact-item .icon-circle .icon { width: 20px; height: 20px; }
.contact-item strong { display: block; font-weight: 600; }
.contact-item span { color: var(--muted); font-size: .925rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .925rem; margin-top: 4px; }
.hours td { padding: 3px 0; color: var(--muted); }
.hours td:last-child { text-align: right; color: var(--ink); font-weight: 500; }
.map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--brand-soft); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Empty / 404 ---------- */
.empty { text-align: center; padding: 80px 16px; display: grid; justify-items: center; gap: 14px; }
.empty .icon-circle { width: 72px; height: 72px; }
.empty h1, .empty h2 { font-size: 1.8rem; }
.empty p { color: var(--muted); max-width: 28em; }

/* ---------- Skeleton ---------- */
.skeleton { background: linear-gradient(90deg, #F1EBF6 25%, #F8F4FB 37%, #F1EBF6 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: var(--radius); }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.sk-card .skeleton:first-child { aspect-ratio: 4 / 5; }
.sk-card .skeleton + .skeleton { height: 14px; margin-top: 14px; width: 70%; border-radius: 6px; }
.sk-card .skeleton + .skeleton + .skeleton { width: 40%; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #BDB2C8; margin-top: 24px; font-size: .925rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 40px; padding-block: 64px 48px; }
.footer-grid h3 { font: 600 .78rem var(--font-body); color: #fff; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid ul { display: grid; gap: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { margin: 16px 0 20px; max-width: 26em; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-block: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .825rem; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 30; width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(37, 211, 102, .55); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
body[data-page='product'] .wa-float, body[data-page='checkout'] .wa-float { display: none; }

.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, 16px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 500; font-size: .9rem; opacity: 0; pointer-events: none; transition: .25s var(--ease); max-width: calc(100% - 32px); box-shadow: var(--shadow); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.loading { padding: 80px 0; text-align: center; color: var(--muted); }

/* ---------- Admin (shared) ---------- */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.panel h1, .panel h2 { margin-bottom: 8px; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 500; margin: 14px 0; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--brand); padding: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .checkout-grid { grid-template-columns: 1fr 360px; gap: 32px; }
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-block: 40px 48px; gap: 32px; }
  .hero-art { max-width: 300px; }
  .hero-collage { max-width: none; }
  .trust ul { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .pdp, .checkout-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .pdp { padding-block: 12px 16px; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 3; overflow-x: auto; }
  .thumbs button { width: 60px; flex: none; }
  .summary { position: static; order: -1; }
  .steps { grid-template-columns: 1fr; }
  .band { grid-template-columns: 1fr; padding: 36px 24px; }
  .section { padding-block: 52px; }
  .toolbar-right { width: 100%; }
  .search-field { flex: 1; }
  .search-field input { width: 100%; }
  .buybar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; gap: 12px; align-items: center; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .3s var(--ease); }
  .buybar.show { transform: none; }
  .buybar .price { font: 500 1.2rem var(--font-display); flex: 1; }
  .buybar .btn { flex: 1.4; }
  body[data-page='product'] .site-footer { padding-bottom: 80px; }
}
@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .cats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cats .cat:first-child { grid-column: span 2; }
  .cat { min-height: 150px; padding: 16px; }
  .cat h3 { font-size: 1.25rem; }
  .card { gap: 10px; }
  .card-name { font-size: .95rem; }
  .label { top: 8px; left: 8px; font-size: .65rem; padding: 6px 8px; }
  .trust li { padding: 16px 12px; gap: 10px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 48px 32px; }
  .field-row, .choice { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 20px; }
  .section-head .link { flex: none; font-size: .9rem; }
  .cat .blurb { display: none; }
  .hero-art { display: none; }
  .hero .wrap { padding-block: 36px 40px; }
  .hero-cta .btn { flex: 1; }
  .drawer-body, .drawer-foot { padding-inline: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
