/* =========================================================
   Posuda Lux — storefront styles
   Palette: logo black + white/ivory + logo gold, garnet accent
   ========================================================= */
:root {
  /* brand primitives */
  --ink: #0B0A0A;          /* exact logo background */
  --ink-2: #1A1817;
  --ink-3: #2A2725;
  --paper: #FAF8F4;        /* warm ivory page background */
  --white: #FFFFFF;
  --stone: #F0ECE5;        /* product photo backdrop */
  --line: #E3DDD3;
  --gold: #DCB45B;         /* exact logo gold — use on dark only */
  --gold-soft: #EBD39A;
  --gold-deep: #7F611B;    /* gold for text on light (5.6:1 on ivory) */
  --garnet: #8E1B2B;       /* accent — 9.4:1 with white */
  --garnet-dark: #6F1220;

  /* semantic */
  --bg: var(--paper);
  --text: #171514;
  --text-muted: #5B554D;   /* 7:1 on ivory */
  --on-dark: #F6F2EA;
  --on-dark-muted: #BDB5A8;/* 9:1 on ink */
  --focus: #B8862B;

  --font-display: "Noto Serif Display", "Times New Roman", Georgia, serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 2px rgb(11 10 10 / .06);
  --shadow: 0 10px 30px -12px rgb(11 10 10 / .25);

  --container: 1320px;
  --gutter: 16px;
  --header-h: 64px;

  --ease-out: cubic-bezier(.2, .8, .2, 1);
  --dur: 200ms;

  --z-header: 40;
  --z-drawer: 100;
  --z-toast: 200;
}
@media (min-width: 768px) { :root { --gutter: 28px; --header-h: 76px; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 500 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .section--order :focus-visible { outline-color: var(--gold); }

.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: absolute; left: 12px; top: -60px; z-index: 300;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none; transition: top var(--dur) var(--ease-out);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: background-color var(--dur), color var(--dur), border-color var(--dur), transform 120ms var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(.98); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--garnet); color: #fff; }
.btn--ghost-light { border-color: rgb(246 242 234 / .45); color: var(--on-dark); }
.btn--ghost-light:hover { background: var(--garnet); border-color: var(--garnet); color: #fff; }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover { background: var(--garnet); }
.btn--accent { background: var(--garnet); color: #fff; }
.btn--accent:hover { background: var(--garnet-dark); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--garnet); border-color: var(--garnet); color: #fff; }
.btn:active:not(.btn--text) { background: var(--garnet-dark); border-color: var(--garnet-dark); color: #fff; }
.btn--text { min-height: 44px; padding: 8px 4px; background: none; border: 0; color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .45; pointer-events: none; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
  background: transparent; border: 0; color: inherit; position: relative;
  transition: background-color var(--dur);
}
.icon-btn:hover { background: var(--garnet); color: #fff; }
.icon-btn:active { background: var(--garnet-dark); color: #fff; }

/* ---------- promo bar ---------- */
.promo-bar { background: var(--garnet); color: #fff; font-size: 13px; }
.promo-bar__inner { display: flex; justify-content: center; align-items: center; gap: 6px 14px; flex-wrap: wrap; min-height: 36px; padding-block: 6px; text-align: center; }
.promo-bar__link { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 6px; border-radius: 999px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.promo-bar__link:hover { background: rgb(255 255 255 / .16); }
.promo-bar__phone { letter-spacing: .02em; }


/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: var(--ink); color: var(--on-dark); border-bottom: 1px solid rgb(220 180 91 / .25); }
.header-row {
  display: grid; align-items: center; gap: 8px 12px;
  grid-template-columns: auto 1fr auto auto;
  grid-template-areas: "menu brand lang cart" "search search search search";
  padding-block: 8px 12px;
}
.header-menu-btn { grid-area: menu; }
.brand { grid-area: brand; justify-self: center; display: block; border-radius: 4px; }
.brand img { height: 46px; width: auto; max-width: none; }
.search { grid-area: search; }
.lang-switch { grid-area: lang; }
.cart-btn { grid-area: cart; }
.main-nav { display: none; }

@media (min-width: 1080px) {
  .header-row {
    /* two rows, like the reference: logo / search / cart on top, category nav centred below */
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "brand search lang cart" "nav nav nav nav";
    column-gap: 20px; row-gap: 4px; padding-block: 10px 4px;
  }
  .header-menu-btn { display: none; }
  .brand { justify-self: start; }
  .brand img { height: 56px; }
  .search { width: min(520px, 100%); justify-self: center; }
  .main-nav { display: block; grid-area: nav; justify-self: stretch; border-top: 1px solid var(--ink-3); padding-top: 4px; }
  .main-nav__list { justify-content: center; gap: 8px; }
}

.main-nav__list { display: flex; align-items: center; gap: 2px; }
.main-nav__list a, .main-nav__catalog {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 12px;
  background: none; border: 0; border-radius: 999px; color: var(--on-dark);
  font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: color var(--dur), background-color var(--dur);
}
.main-nav__catalog { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.main-nav__list a:hover, .main-nav__catalog:hover, .main-nav__catalog[aria-expanded="true"] { background: var(--garnet); color: #fff; }
.main-nav__catalog .icon { transition: transform var(--dur) var(--ease-out); }
.main-nav__catalog[aria-expanded="true"] .icon { transform: rotate(180deg); }

.search { position: relative; }
.search__icon { position: absolute; left: 14px; top: 50%; translate: 0 -50%; color: var(--on-dark-muted); pointer-events: none; width: 20px; height: 20px; }
.search__input {
  width: 100%; min-height: 44px; padding: 10px 16px 10px 42px; border-radius: 999px;
  background: var(--ink-2); border: 1px solid var(--ink-3); color: var(--on-dark); font-size: 16px;
  transition: border-color var(--dur), background-color var(--dur);
}
.search__input::placeholder { color: var(--on-dark-muted); }
.search__input:hover { border-color: #4A4540; }
.search__input:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px rgb(220 180 91 / .3); }
.search__input::-webkit-search-cancel-button { filter: invert(1); }

.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--ink-3); }
.lang-switch__btn {
  min-width: 40px; min-height: 36px; padding: 0 8px; border: 0; border-radius: 999px; background: none;
  color: var(--on-dark-muted); font-size: 12px; font-weight: 700; letter-spacing: .06em;
}
.lang-switch__btn[aria-pressed="true"] { background: var(--garnet); color: #fff; }
.lang-switch__btn:not([aria-pressed="true"]):hover { color: var(--on-dark); }

.cart-btn__count {
  position: absolute; top: 2px; right: 0; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--garnet); color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
  font-variant-numeric: tabular-nums; border: 2px solid var(--ink); box-sizing: content-box;
}
.cart-btn__count[data-empty="true"] { display: none; }
.cart-btn.is-bump .cart-btn__count { animation: bump 400ms var(--ease-out); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* mega menu */
.mega { position: absolute; inset-inline: 0; top: 100%; background: var(--paper); color: var(--text); box-shadow: var(--shadow); border-top: 1px solid var(--line); }
.mega__inner { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding-block: 32px 36px; }
.mega__heading { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.mega__list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; text-decoration: none; font-size: 17px; border-bottom: 1px solid var(--line); }
.mega__list a:hover { color: var(--garnet); }
.mega__count { font-size: 13px; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.mega__features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card { display: block; text-decoration: none; border-radius: var(--radius); }
.feature-card__img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); background: var(--stone); }
.feature-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.feature-card:hover img { transform: scale(1.04); }
.feature-card__tag { position: absolute; left: 12px; top: 12px; background: var(--garnet); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 9px; border-radius: 4px; }
.feature-card__label { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 500; }
.feature-card:hover .feature-card__label { color: var(--garnet); }

/* ---------- hero ---------- */
.hero { background: radial-gradient(120% 90% at 85% 10%, #2A1F10 0%, var(--ink) 55%); color: var(--on-dark); overflow: hidden; }
.hero__inner { display: grid; gap: 40px; padding-block: 44px 56px; align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.05fr 1fr; gap: 56px; padding-block: 72px 88px; } }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--garnet); margin-bottom: 12px; }
.eyebrow--gold { color: var(--gold); }
.hero__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 7vw, 76px); line-height: 1.02; letter-spacing: -.01em; }
.hero__lead { margin-top: 20px; max-width: 34em; color: var(--on-dark-muted); font-size: clamp(16px, 1.6vw, 18px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgb(220 180 91 / .25); font-size: 14px; color: var(--on-dark-muted); }
.hero__facts strong { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }

.hero__media { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: clamp(340px, 52vw, 560px); }
.hero__frame { overflow: hidden; border-radius: var(--radius-lg); background: var(--ink-2); outline: 1px solid rgb(220 180 91 / .35); outline-offset: -1px; }
.hero__frame--tall { grid-row: span 2; }
/* photos carry a phone watermark bottom-left — zoom slightly from the top to keep it out of frame */
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.12); transform-origin: center 30%; }

/* ---------- sections ---------- */
.section { padding-block: 56px; }
@media (min-width: 768px) { .section { padding-block: 80px; } }
.section + .section, .cat-section + .cat-section { border-top: 1px solid var(--line); }
.section-head { margin-bottom: 28px; }
.section-head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 8px 24px; }
.section-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4.4vw, 48px); }
.section-blurb { margin-top: 8px; color: var(--text-muted); max-width: 40em; }

/* category tiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; background: var(--ink); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(11 10 10 / .88) 0%, rgb(11 10 10 / .25) 45%, transparent 70%); }
.tile:hover img { transform: scale(1.05); }
.tile__text { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 16px; }
.tile__name { display: block; font-family: var(--font-display); font-size: clamp(20px, 2.2vw, 28px); font-weight: 700; line-height: 1.1; }
.tile__meta { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: var(--gold-soft); }

/* category sections */
.cat-section { padding-block: 56px; }
@media (min-width: 768px) { .cat-section { padding-block: 72px; } }
.cat-section:nth-of-type(even) { background: var(--white); }
.cat-section__count { font-size: 14px; color: var(--text-muted); white-space: nowrap; }

/* product grid + card */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1080px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; } }
.grid > li[hidden] { display: none; }

.card { display: flex; flex-direction: column; height: 100%; }
.card__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--stone); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.card:hover .card__media img { transform: scale(1.035); }
.badge { position: absolute; z-index: 1; left: 10px; top: 10px; padding: 4px 9px; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--ink); color: var(--gold); }
.badge--accent { background: var(--garnet); color: #fff; }
.card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding-top: 12px; }
.card__name { font-size: 15px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
@media (min-width: 768px) { .card__name { font-size: 16px; } }
.card__price { font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.card__price small { font-size: 13px; font-weight: 600; color: var(--text-muted); margin-left: 2px; }
.card__price--ask { font-size: 14px; font-weight: 600; color: var(--gold-deep); }
.card__actions { margin-top: auto; padding-top: 6px; }
.card__btn { width: 100%; min-height: 44px; padding: 10px 14px; font-size: 14px; gap: 8px; white-space: normal; text-align: center; line-height: 1.2; }
.card__btn.is-added { background: var(--garnet); border-color: var(--garnet); color: #fff; }

.show-more { display: flex; justify-content: center; margin-top: 36px; }

.empty { padding: 32px; text-align: center; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--text-muted); }
.empty .btn { margin-top: 16px; }

/* ---------- order + payment ---------- */
.section--order { background: var(--ink); color: var(--on-dark); border-top: 0 !important; }
.section--order .section-title { color: var(--on-dark); }
.steps { display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { padding: 24px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid var(--ink-3); }
.step__num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1.5px solid var(--gold); color: var(--gold); font-family: var(--font-display); font-size: 22px; font-weight: 700; }
.step__title { margin: 16px 0 6px; font-size: 18px; font-weight: 600; }
.step p { color: var(--on-dark-muted); font-size: 15px; }
.pay-title { margin: 48px 0 20px; font-family: var(--font-display); font-size: clamp(26px, 3vw, 34px); font-weight: 700; }
.pay-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; max-width: 640px; }
.pay-card { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 24px; border-radius: var(--radius); background: var(--paper); color: var(--text); text-align: center; }
.pay-card__name { font-size: 20px; font-weight: 700; letter-spacing: .02em; }
.pay-card__qr { width: 180px; aspect-ratio: 1; border-radius: var(--radius-sm); object-fit: contain; background: #fff; }
.pay-card__placeholder { display: grid; place-items: center; gap: 6px; width: 180px; aspect-ratio: 1; padding: 16px; border: 2px dashed var(--line); border-radius: var(--radius-sm); color: var(--text-muted); font-size: 13px; }
.pay-card__placeholder .icon { width: 40px; height: 40px; color: var(--gold-deep); }
.pay-card .btn { min-height: 44px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); border-top: 1px solid rgb(220 180 91 / .25); font-size: 15px; }
.footer__grid { display: grid; gap: 36px; padding-block: 56px 40px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 40px; } }
.footer__emblem { width: 112px; height: 112px; border-radius: 50%; margin-bottom: 16px; }
.footer__heading { font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.footer__links a, .footer__contacts a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; text-decoration: none; color: var(--on-dark); }
.footer__links a:hover, .footer__contacts a:hover { color: var(--gold); }
.footer__contacts li { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.footer__contacts .icon { width: 20px; height: 20px; color: var(--gold); }
.footer__label { color: var(--on-dark-muted); font-weight: 500; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; border-top: 1px solid var(--ink-3); font-size: 13px; }
.footer__bottom a { color: var(--on-dark); min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- drawers (dialog) ---------- */
.drawer {
  position: fixed; inset: 0 auto 0 auto; margin: 0; padding: 0; border: 0;
  width: min(440px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh;
  background: var(--paper); color: var(--text); display: none; flex-direction: column;
}
.drawer[open] { display: flex; }
.drawer--right { right: 0; left: auto; }
.drawer--left { left: 0; right: auto; width: min(360px, 88vw); }
.drawer::backdrop { background: rgb(11 10 10 / .6); }
@media (prefers-reduced-motion: no-preference) {
  .drawer--right[open] { animation: in-right 260ms var(--ease-out); }
  .drawer--left[open] { animation: in-left 260ms var(--ease-out); }
  .drawer[open]::backdrop { animation: fade 260ms ease; }
}
@keyframes in-right { from { transform: translateX(100%); } }
@keyframes in-left { from { transform: translateX(-100%); } }
@keyframes fade { from { opacity: 0; } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 12px 12px 20px; background: var(--ink); color: var(--on-dark); }
.drawer__title { font-family: var(--font-display); font-size: 24px; font-weight: 700; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; }
.drawer__nav { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__nav a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 18px; }
.drawer__nav a:hover, .drawer__nav a:active { color: var(--garnet); }
.drawer__foot { padding: 16px 20px 24px; display: grid; gap: 12px; }

/* cart contents */
.cart-list { padding: 8px 20px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 72px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); background: var(--stone); }
.cart-item__name { font-size: 15px; font-weight: 500; line-height: 1.35; }
.cart-item__price { font-size: 14px; color: var(--text-muted); font-variant-numeric: tabular-nums; margin-top: 2px; }
.cart-item__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { display: grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; border-radius: 999px; }
.qty button:hover { background: var(--garnet); color: #fff; }
.qty output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-item__remove { color: var(--text-muted); }
.cart-item__remove:hover { color: var(--garnet); background: var(--stone); }
.cart-item__sum { font-weight: 700; font-variant-numeric: tabular-nums; }

.cart-summary { margin-top: auto; padding: 20px; border-top: 1px solid var(--line); background: #fff; display: grid; gap: 14px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 18px; }
.cart-total strong { font-size: 24px; font-variant-numeric: tabular-nums; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-size: 14px; font-weight: 600; }
.field input, .field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #CFC7BA; border-radius: var(--radius-sm); background: #fff; font-size: 16px; }
.field textarea { min-height: 72px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(184 134 43 / .35); }
.field__hint { font-size: 13px; color: var(--text-muted); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choice { display: flex; gap: 8px; flex-wrap: wrap; }
.choice label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; border: 1px solid #CFC7BA; border-radius: 999px; font-weight: 500; cursor: pointer; }
.choice input { accent-color: var(--garnet); width: 18px; height: 18px; margin: 0; }
.choice label:has(input:checked) { border-color: var(--garnet); background: #F7E9EB; color: var(--garnet-dark); }
.cart-pay { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--text-muted); }
.cart-pay a { color: var(--text); font-weight: 600; }
.cart-empty { display: grid; justify-items: center; gap: 14px; padding: 56px 24px; text-align: center; color: var(--text-muted); }
.cart-empty .icon { width: 48px; height: 48px; color: var(--gold-deep); }

/* toast */
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: var(--z-toast); translate: -50% 0;
  max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--on-dark);
  font-size: 14px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity 200ms, translate 200ms var(--ease-out);
}
.toast.is-visible { opacity: 1; translate: -50% -6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; transition-duration: 1ms !important; }
}
