/* Perfect Fleet — storefront styles. Palette and type follow the brand flyer:
   deep plum + magenta on warm cream, antique-gold accents, Playfair headings,
   Great Vibes script, brush-stroke title banners. */

:root {
  --plum-900: #3b0a2a;
  --plum: #5a1440;
  --magenta: #9c2a6b;
  --rose: #c2477f;
  --blush: #f8e9ee;
  --blush-2: #fdf3f6;
  --cream: #fbf6f0;
  --gold: #c39a4a;
  --gold-dark: #8f6a26;
  --gold-soft: #f3e6c8;
  --ink: #3b0a2a;
  --muted: #7a5a6a;
  --line: #ead8df;
  --white: #fff;
  --ok: #2f7d4f;
  --err: #b3261e;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Great Vibes", "Brush Script MT", cursive;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(59, 10, 42, .06), 0 8px 24px rgba(59, 10, 42, .08);
  --shadow-lg: 0 16px 40px rgba(59, 10, 42, .16);
  --container: 1180px;
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 16px/1.6 var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta); text-underline-offset: 3px; }
a:hover { color: var(--plum); }
h1, h2, h3, .h3 { font-family: var(--serif); color: var(--plum); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.8rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); }
h3, .h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--magenta); color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: 1.15rem; color: var(--muted); }
.script { font-family: var(--script); font-size: 1.9rem; line-height: 1.2; color: var(--magenta); margin: 0 0 .2em; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .72rem; font-weight: 600; color: var(--gold-dark); margin: 0 0 .3em; }
.sr-only, .hp { 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: absolute; left: 8px; top: -60px; z-index: 100; background: var(--plum); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 8px; }

.icon { width: 22px; height: 22px; flex: none; }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .65em 1.4em; border-radius: 999px; border: 1.5px solid transparent;
  font: 500 1rem/1.2 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .1s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 20px; height: 20px; }
.btn-primary { background: var(--plum); color: #fff; box-shadow: 0 6px 18px rgba(90, 20, 64, .25); }
.btn-primary:hover { background: var(--magenta); color: #fff; }
.btn-ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.btn-ghost:hover { background: var(--plum); color: #fff; }
.btn-gold { background: linear-gradient(135deg, #d8b46a, var(--gold) 50%, #a8822f); color: var(--plum-900); }
.btn-gold:hover { color: var(--plum-900); box-shadow: 0 6px 18px rgba(143, 106, 38, .35); }
.btn-light { background: #fff; color: var(--plum); }
.btn-light:hover { background: var(--gold-soft); color: var(--plum); }
.btn-block { width: 100%; }
.btn-lg { min-height: 54px; font-size: 1.05rem; }
.btn-small { min-height: 34px; padding: .3em .9em; font-size: .9rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0; }
.btn-row.center { justify-content: center; }
.link-btn { background: none; border: 0; padding: 0; color: var(--magenta); font: inherit; font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-arrow { color: var(--magenta); font-weight: 500; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--plum); cursor: pointer; text-decoration: none; position: relative; }
.icon-btn:hover { background: var(--blush); color: var(--plum); }

/* ── Announcement + header ────────────────────────────────────────────── */
.announce { background: var(--plum); color: var(--gold-soft); font-size: .85rem; text-align: center; padding: 6px 0; letter-spacing: .03em; }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(251, 246, 240, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 12px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--plum); }
.logo-mark { width: 40px; height: 40px; flex: none; }
.logo-text { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: -.01em; color: var(--plum); }
.logo-text b { font-weight: 700; color: var(--magenta); }
.logo-text small { font-size: .65em; color: var(--gold-dark); font-weight: 500; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.site-nav a { display: block; white-space: nowrap; padding: 10px 12px; color: var(--plum); text-decoration: none; font-weight: 500; border-radius: 999px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--blush); color: var(--magenta); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.header-search { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding-left: 14px; }
.header-search input { border: 0; background: transparent; font: inherit; width: 170px; outline: none; color: var(--ink); }
.header-search .icon-btn { width: 40px; height: 40px; }
.bag-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--magenta); color: #fff; font-size: .72rem; font-weight: 600; display: grid; place-items: center; padding: 0 5px; }
.nav-toggle, .nav-close { display: none; }

@media (max-width: 1100px) {
  .nav-toggle { display: inline-grid; }
  /* backdrop-filter would make the header the containing block for the
     fixed drawer below, trapping it inside the 72px bar. */
  .site-header { backdrop-filter: none; background: var(--cream); }
  .site-nav { position: fixed; inset: 0 auto 0 0; width: min(320px, 86vw); background: var(--cream); box-shadow: var(--shadow-lg); padding: 80px 16px 24px; transform: translateX(-105%); transition: transform .25s ease; z-index: 50; overflow-y: auto; }
  .site-nav.open { transform: none; }
  .nav-close { display: inline-grid; position: absolute; top: 16px; right: 12px; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 14px 16px; font-size: 1.1rem; }
  /* Below the header (z 40), whose stacking context holds the drawer. */
  .nav-backdrop { position: fixed; inset: 0; background: rgba(59, 10, 42, .4); z-index: 39; }
  .header-search { display: none; }
  .logo-text { font-size: 1.3rem; }
  .logo-mark { width: 34px; height: 34px; }
}
@media (max-width: 1100px) and (min-width: 600px) { .header-search { display: flex; } }

/* ── Flash ────────────────────────────────────────────────────────────── */
.flash { padding: 12px 0; font-weight: 500; }
.flash .container { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.flash-success { background: #e9f5ee; color: var(--ok); }
.flash-error { background: #fbeaea; color: var(--err); }
.flash-close { background: none; border: 0; font-size: 1.5rem; line-height: 1; color: inherit; cursor: pointer; padding: 0 6px; }

/* ── Sections ─────────────────────────────────────────────────────────── */
.section { padding: clamp(48px, 6vw, 88px) 0; }
.section-tight { padding: clamp(28px, 4vw, 48px) 0; }
.section-blush { background: var(--blush-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.section-title { text-align: center; margin-bottom: 28px; }

/* Brush-stroke title banner, as on the flyer */
.brush-title {
  display: inline-block; position: relative; color: #fff; padding: .25em .9em .3em; margin-bottom: .5em;
  font-weight: 600; isolation: isolate;
}
.brush-title::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, var(--plum-900), var(--plum) 35%, var(--magenta) 85%, rgba(156, 42, 107, .75));
  clip-path: polygon(1% 18%, 6% 4%, 30% 9%, 55% 2%, 82% 8%, 99% 3%, 97% 40%, 100% 78%, 93% 97%, 70% 91%, 44% 98%, 18% 92%, 3% 99%, 0 62%);
  border-radius: 4px;
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { background: radial-gradient(1200px 500px at 85% 0%, var(--blush) 0%, transparent 60%), var(--cream); padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.hero-media { position: relative; isolation: isolate; }
.hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px var(--radius) var(--radius); box-shadow: var(--shadow-lg); border: 6px solid #fff; }
.hero-media::after { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1.5px solid var(--gold); border-radius: 230px 230px var(--radius) var(--radius); z-index: -1; }
.hero h1 { font-size: clamp(2.3rem, 1.6rem + 3.2vw, 4rem); font-weight: 600; margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--magenta); }
.hero-script { font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem); }
.roundels { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.roundels a { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; text-decoration: none; color: var(--plum); font-size: .92rem; font-weight: 500; line-height: 1.3; padding: 6px; border-radius: var(--radius); }
.roundels a:hover { background: var(--blush); }
.roundel-icon { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #fff; border: 1.5px solid var(--gold); color: var(--magenta); box-shadow: 0 4px 14px rgba(195, 154, 74, .25); }
.roundel-icon .icon { width: 32px; height: 32px; }

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 300px; margin: 0 auto; }
  .hero-copy { text-align: center; }
  .hero .btn-row { justify-content: center; }
  .roundels { grid-template-columns: repeat(2, 1fr); }
}

/* ── Chips / pills ────────────────────────────────────────────────────── */
.chips { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips li { font-size: .8rem; padding: 3px 10px; border-radius: 999px; background: var(--blush); color: var(--plum); }
.pill-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pill-links a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--plum); font-weight: 500; }
.pill-links a:hover { border-color: var(--magenta); color: var(--magenta); }

/* ── Category cards ───────────────────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cat-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.cat-card img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; }
.cat-card-body { padding: 0 18px 20px; margin-top: -26px; position: relative; display: flex; flex-direction: column; flex: 1; }
.cat-card .brush-title { font-size: 1.05rem; align-self: flex-start; }
.cat-card p { color: var(--muted); font-size: .95rem; }
.cat-card .link-arrow { margin-top: auto; }
@media (max-width: 1020px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }

/* ── Steps ────────────────────────────────────────────────────────────── */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.steps li { background: #fff; border-radius: var(--radius); padding: 28px 24px; text-align: center; box-shadow: var(--shadow); position: relative; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 14px; left: 18px; font-family: var(--serif); font-size: 1.6rem; color: var(--gold); }
.step-icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--blush); color: var(--magenta); margin-bottom: 12px; }
.step-icon .icon { width: 28px; height: 28px; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ── Item cards ───────────────────────────────────────────────────────── */
.item-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1020px) { .item-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.item-card { overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.item-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.item-card-media { position: relative; display: block; background: var(--blush); }
.item-card-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.item-card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.item-card h3 { font-size: 1.05rem; margin-bottom: .2em; }
.item-card h3 a { color: var(--plum); text-decoration: none; }
.item-card h3 a:hover { color: var(--magenta); }
.item-card-sub { color: var(--muted); font-size: .88rem; margin-bottom: .6em; }
.item-card .price { margin: auto 0 0; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--magenta); color: #fff; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.badge-gold { background: var(--gold); color: var(--plum-900); }
.badge-muted { background: var(--muted); }
@media (max-width: 520px) {
  .item-card-body { padding: 10px 12px 14px; }
  .item-card h3 { font-size: .95rem; }
  .item-card-sub { display: none; }
}

.price { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--plum); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price s { font-family: var(--sans); font-weight: 400; font-size: .85rem; color: var(--muted); }
.price-unit { font-family: var(--sans); font-weight: 400; font-size: .8rem; color: var(--muted); }
.price-lg { font-size: 1.8rem; margin: .4em 0 .6em; }
.price-lg s { font-size: 1rem; }
.price-lg .price-unit { font-size: .95rem; }

/* ── Spotlight + CTA ──────────────────────────────────────────────────── */
.spotlight { background: linear-gradient(180deg, var(--cream), var(--blush-2)); }
.spotlight-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.spotlight-media { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.spotlight-media img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.spotlight-media img:nth-child(2) { transform: translateY(-18px); }
.ticks { list-style: none; padding: 0; margin: 0 0 24px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.ticks .icon { color: var(--magenta); margin-top: 2px; }
@media (max-width: 760px) { .spotlight-grid { grid-template-columns: 1fr; } }

.cta-band { background: var(--plum); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; border: 1.5px solid rgba(195, 154, 74, .45); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--gold-soft); margin: 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; position: relative; }

/* ── Page hero (category/about) ───────────────────────────────────────── */
.page-hero { background: radial-gradient(900px 400px at 90% 0%, var(--blush), transparent 60%), var(--cream); padding: clamp(24px, 4vw, 48px) 0; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: center; }
.page-hero-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.page-hero .brush-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
@media (max-width: 760px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-img { display: none; }
}
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs-page { padding-top: 20px; margin: 0; }

.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.toolbar p { margin: 0; }
.sort-form { display: flex; align-items: center; gap: 8px; }
.sort-form label { font-size: .9rem; color: var(--muted); }

.empty { text-align: center; padding: 48px 16px; background: #fff; border-radius: var(--radius); border: 1px dashed var(--line); }

/* ── Forms ────────────────────────────────────────────────────────────── */
input, select, textarea { font: inherit; color: var(--ink); }
.field { margin-bottom: 16px; border: 0; padding: 0; min-width: 0; }
.field > label, .field > legend { display: block; font-weight: 500; margin-bottom: 6px; padding: 0; color: var(--plum); }
.optional { font-weight: 400; color: var(--muted); font-size: .88em; }
.field input:not([type="radio"]):not([type="checkbox"]), .field textarea, select {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
select { width: auto; min-height: 42px; padding: 6px 12px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, select:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(156, 42, 107, .15); }
.has-error input, .has-error textarea { border-color: var(--err); }
.field-error, .line-error { color: var(--err); font-size: .88rem; margin: 6px 0 0; }
.hint { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }
.hint.is-error { color: var(--err); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-card, .checkout-form { padding: clamp(20px, 3vw, 32px); }
.checkout-form h2 { margin-top: 8px; }

.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: flex; flex-direction: column; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; font-weight: 500; transition: border-color .15s, background-color .15s; }
.choice small { font-weight: 400; color: var(--muted); font-size: .8rem; }
.choice input:checked + span { border-color: var(--magenta); background: var(--blush-2); color: var(--plum); box-shadow: inset 0 0 0 1px var(--magenta); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.choice-block { display: block; margin-bottom: 20px; }
.choice-block span { padding: 14px 16px; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.slot-grid .hint { grid-column: 1 / -1; margin: 0; }
.slot-grid .choice span { align-items: center; padding: 10px 6px; font-size: .92rem; }
.slot-grid .choice input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; background: var(--cream); }

.stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button { width: 44px; border: 0; background: transparent; font-size: 1.3rem; color: var(--plum); cursor: pointer; }
.stepper button:hover { background: var(--blush); }
.field .stepper input[type="number"], .stepper input { width: 52px; min-height: 44px; border: 0 !important; text-align: center; -moz-appearance: textfield; padding: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-sm button { width: 34px; font-size: 1.1rem; }
.stepper-sm input { width: 40px; min-height: 34px; }
.field-inline { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.field-inline > label { margin: 0; }

/* ── Product page ─────────────────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery-main img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--blush); }
.gallery-thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: flex; gap: 8px; }
.gallery-thumbs button { padding: 0; border: 2px solid transparent; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: none; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--magenta); }
.gallery-thumbs img { width: 72px; height: 86px; object-fit: cover; }
.product-info h1 { margin-bottom: .2em; }
.book-form { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); margin: 16px 0; }
.book-form .btn-row { margin: 8px 0 0; }
.book-form .btn-row .btn { flex: 1 1 160px; }
.note { display: flex; gap: 8px; align-items: flex-start; background: var(--gold-soft); color: var(--plum-900); padding: 10px 14px; border-radius: var(--radius-sm); font-size: .95rem; }
.note-warn { background: #fdecef; color: var(--magenta); font-weight: 500; }
.assure { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: .9rem; }
.assure li { display: flex; align-items: center; gap: 6px; }
.assure .icon { color: var(--magenta); width: 20px; height: 20px; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.4em; }
@media (max-width: 860px) {
  .product-grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
}

/* ── Cart / checkout ──────────────────────────────────────────────────── */
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
@media (max-width: 900px) { .checkout-grid { grid-template-columns: 1fr; } }
.lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.line { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; background: #fff; padding: 14px; border-radius: var(--radius); box-shadow: var(--shadow); }
.line img { width: 88px; height: 106px; object-fit: cover; border-radius: var(--radius-sm); }
.line-problem { box-shadow: inset 0 0 0 2px var(--err), var(--shadow); }
.line-title { font-size: 1.05rem; margin-bottom: .2em; }
.line-title a { color: var(--plum); text-decoration: none; }
.line-meta { color: var(--muted); font-size: .88rem; margin: 0 0 4px; }
.line-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; }
.line-price { font-family: var(--serif); font-weight: 600; color: var(--plum); text-align: right; margin: 0; display: flex; flex-direction: column; }
.line-price small { font-family: var(--sans); font-weight: 400; font-size: .78rem; color: var(--muted); }
@media (max-width: 520px) {
  .line { grid-template-columns: 72px 1fr; }
  .line img { width: 72px; height: 86px; }
  .line-price { grid-column: 2; text-align: left; flex-direction: row; gap: 8px; align-items: baseline; }
}
.summary-card { padding: 22px; position: sticky; top: 96px; }
.summary-card .btn { margin-top: 10px; }
.summary { margin: 0 0 8px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 500; }
.summary dt small { display: block; font-size: .78rem; }
.summary-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px !important; }
.summary-total dt, .summary-total dd { color: var(--plum); font-weight: 600; font-size: 1.1rem; }
.summary-total dd { font-family: var(--serif); }
.summary-deposit { background: var(--gold-soft); border-radius: var(--radius-sm); padding: 8px 10px !important; margin-top: 6px; }
.summary-deposit dt { color: var(--plum-900); }
.assure-line { display: flex; gap: 8px; align-items: flex-start; font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.assure-line .icon { color: var(--magenta); width: 20px; height: 20px; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 12px; }
.mini-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); align-items: start; }
.mini-lines img { width: 56px; height: 68px; object-fit: cover; border-radius: 6px; }
.mini-title { font-weight: 500; margin: 0 0 2px; color: var(--plum); }
.mini-lines span { font-weight: 500; }

/* ── Order confirmation ───────────────────────────────────────────────── */
.success-head { text-align: center; margin-bottom: 24px; }
.success-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--ok); color: #fff; margin-bottom: 8px; }
.success-icon .icon { width: 38px; height: 38px; stroke-width: 2.4; }
.order-card { padding: clamp(18px, 3vw, 28px); }
.order-head { display: flex; flex-wrap: wrap; gap: 16px 40px; border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 14px; }
.order-head p { margin: 0; }
.order-no { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--plum); letter-spacing: .04em; }
.status { display: inline-block; padding: 2px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--blush); color: var(--plum); }
.status-confirmed, .status-in_progress { background: var(--gold-soft); color: var(--gold-dark); }
.status-completed { background: #e9f5ee; color: var(--ok); }
.status-cancelled { background: #f1eaea; color: var(--muted); }
.progress { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: p; }
.progress li { position: relative; text-align: center; font-size: .8rem; color: var(--muted); padding-top: 28px; counter-increment: p; }
.progress li::before { content: counter(p); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--line); color: #fff; font-size: .72rem; display: grid; place-items: center; z-index: 1; }
.progress li::after { content: ""; position: absolute; top: 10px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.progress li:first-child::after { display: none; }
.progress li.done { color: var(--plum); font-weight: 500; }
.progress li.done::before, .progress li.done::after { background: var(--magenta); }
.order-address { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.order-address p:last-child { margin: 0; }

/* ── FAQ, contact, about ──────────────────────────────────────────────── */
.faq details { background: #fff; border-radius: var(--radius); margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 500; color: var(--plum); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--magenta); }
.faq details[open] summary::after { content: "−"; }
.faq-a { padding: 0 20px 16px; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; }
.contact-info { padding: clamp(20px, 3vw, 32px); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value { padding: 24px; }
.value > .icon { width: 36px; height: 36px; color: var(--magenta); margin-bottom: 10px; }
.value p { color: var(--muted); margin: 0; }
@media (max-width: 1020px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .value-grid { grid-template-columns: 1fr; } }
.search-big { display: flex; gap: 10px; margin: 0 0 24px; max-width: 640px; }
.search-big input { flex: 1; min-height: 50px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.site-footer { background: var(--plum-900); color: #e9d6df; margin-top: 0; }
.trust-band { background: var(--plum); border-bottom: 1px solid rgba(195, 154, 74, .35); padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-grid div { display: flex; align-items: center; gap: 12px; color: #fff; font-size: .95rem; line-height: 1.3; }
.trust-grid .icon { width: 34px; height: 34px; color: var(--gold); flex: none; }
@media (max-width: 760px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { padding: 4px 0; }
.footer-grid a { color: #e9d6df; text-decoration: none; }
.footer-grid a:hover { color: var(--gold); }
.footer-h { font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; color: var(--gold); margin-bottom: 14px; }
.footer-brand .logo-text, .footer-brand .logo-text b { color: #fff; }
.footer-brand .logo-text small { color: var(--gold); }
.footer-brand .logo-mark { --plum: #e9d6df; --magenta: #f2a6c9; }
.footer-tag { margin: 12px 0 4px; color: #e9d6df; }
.footer-brand .script { color: var(--gold); font-size: 1.7rem; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 20px; height: 20px; color: var(--gold); margin-top: 3px; }
.contact-info .footer-contact { list-style: none; padding: 0; margin: 12px 0 20px; }
.contact-info .footer-contact li { padding: 6px 0; }
.contact-info .footer-contact .icon { color: var(--magenta); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; padding-bottom: 88px; font-size: .85rem; color: #bfa3b1; }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); transition: transform .2s; }
.wa-float:hover { transform: scale(1.06); color: #fff; }
.wa-float .icon { width: 30px; height: 30px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Playfair defaults to old-style figures (0 reads as "o"); prices need lining digits. */
body { font-variant-numeric: lining-nums; }
