/* ==========================================================================
   Royal Winery Queen Marie — site.css
   Един файл за целия публичен сайт (без Bootstrap / тема).
   Шрифтове: Cormorant Garamond (заглавия) + Golos Text (текст), локални, с кирилица.
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("../fonts/cormorant-cyr.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("../fonts/cormorant-lat.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-italic-cyr.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-italic-lat.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/golos-cyr.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/golos-lat.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  --paper: #f6f1e9;
  --paper-2: #efe8dc;
  --surface: #fffcf7;
  --ink: #1e1815;
  --ink-2: #4b413b;
  --ink-3: #82766c;
  --line: #e2d8c9;
  --line-2: #d3c6b3;
  --wine: #6b1d2a;
  --wine-2: #561522;
  --gold: #b17e48;
  --gold-soft: #d9bf98;
  --night: #16110f;
  --night-2: #221a17;
  --night-line: rgba(255, 244, 228, .12);
  --on-night: #efe5d6;
  --on-night-2: #b3a696;
  --ok: #2f6b45;
  --err: #a12a2a;

  --serif: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --sans: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;

  /* съвместимост със стари inline стилове */
  --theme-color: var(--wine);
  --secondary-color: var(--ink);
  --higer-secondary-color: var(--ink-2);
  --white-color: #fff;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
html.no-scroll { overflow: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wine); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6 { font-variant-numeric: lining-nums; font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.005em; }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.3rem; }
h5, h6 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
[hidden] { display: none !important; }
::selection { background: var(--wine); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--surface); padding: 8px 14px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }

.ic { flex: none; }
.muted { color: var(--ink-3); }
.eyebrow {
  font: 600 .74rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 .9rem;
}

/* ---------- Layout ---------- */
.wrap, .medium-container, .auto-container, .large-container {
  width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);
}
.section { padding-block: clamp(40px, 6vw, 80px); }
.section--tight { padding-top: 8px; }
.section-title { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 1.4rem; }

/* ---------- Buttons ---------- */
.btn, .theme-btn-one, .theme-btn-two, .checkout-submit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.6em;
  border: 1px solid var(--ink); border-radius: var(--radius);
  background: transparent; color: var(--ink);
  font: 500 .95rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:hover, .theme-btn-one:hover, .theme-btn-two:hover { background: var(--ink); color: var(--paper); }
.btn--primary, .theme-btn-one, .theme-btn-two, .checkout-submit-btn { background: var(--wine); border-color: var(--wine); color: #fff; }
.btn--primary:hover, .theme-btn-one:hover, .theme-btn-two:hover, .checkout-submit-btn:hover { background: var(--wine-2); border-color: var(--wine-2); color: #fff; }
.btn--light { background: var(--on-night); border-color: var(--on-night); color: var(--night); }
.btn--light:hover { background: #fff; border-color: #fff; color: var(--night); }
.btn--ghost-light { border-color: rgba(239, 229, 214, .45); color: var(--on-night); }
.btn--ghost-light:hover { background: transparent; border-color: var(--on-night); color: #fff; }
.btn--block { width: 100%; }
.btn:active { transform: translateY(1px); }
.btn.is-loading, .card__add.is-loading { opacity: .6; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; color: var(--wine); text-decoration: none; }
.link-arrow .ic { transition: transform .18s; }
.link-arrow:hover .ic { transform: translateX(3px); }
.link-back { display: inline-flex; align-items: center; gap: .4em; margin-top: 14px; font-size: .92rem; color: var(--ink-3); text-decoration: none; }
.link-back:hover { color: var(--ink); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 42px; height: 42px; padding: 0 8px; border: 0; border-radius: var(--radius);
  background: transparent; color: inherit; text-decoration: none; position: relative;
}
.icon-btn:hover { color: var(--gold-soft); }
.icon-btn--muted { color: var(--ink-3); }
.icon-btn--muted:hover { color: var(--err); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--night); color: var(--on-night);
  border-bottom: 1px solid var(--night-line);
  transition: box-shadow .2s;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.site-header__logo img { width: 190px; height: auto; }
.site-header__burger { display: none; margin-left: -8px; }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 10px 12px; font-size: .92rem; letter-spacing: .02em;
  color: var(--on-night-2); text-decoration: none; position: relative;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 1px; background: var(--gold);
}
.site-header__tools { display: flex; align-items: center; gap: 2px; }
.site-header__tools .icon-btn { color: var(--on-night); }
.site-header__tools .icon-btn:hover { color: var(--gold-soft); }
.lang-current { font-size: .78rem; letter-spacing: .08em; }

.menu-pop { position: relative; }
.menu-pop > summary { list-style: none; }
.menu-pop > summary::-webkit-details-marker { display: none; }
.menu-pop__list, .mini-cart-dropdown {
  position: absolute; right: 0; top: calc(100% + 10px); z-index: 20;
  min-width: 180px; margin: 0; padding: 6px; list-style: none;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(30, 24, 21, .16);
}
.menu-pop__list a { display: block; padding: 9px 12px; border-radius: var(--radius); text-decoration: none; font-size: .93rem; }
.menu-pop__list a:hover, .menu-pop__list a.is-active { background: var(--paper); color: var(--wine); }

.cart-pop { position: relative; }
.cart-badge {
  position: absolute; top: 3px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--gold); color: var(--night); font: 600 11px/18px var(--sans); text-align: center;
}
.mini-cart-dropdown { width: 320px; padding: 12px; visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s; }
.cart-pop:hover .mini-cart-dropdown, .cart-pop:focus-within .mini-cart-dropdown { visibility: visible; opacity: 1; transform: none; }
.cart-pop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.mini-cart-item { display: flex; gap: 12px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--line); }
.mini-cart-item img { width: 44px; height: 58px; object-fit: cover; border-radius: 3px; background: var(--paper-2); }
.mini-cart-item-info a { display: block; font-size: .9rem; line-height: 1.3; text-decoration: none; }
.mini-cart-qty-price { font-size: .82rem; color: var(--ink-3); margin-top: 2px; }
.mini-cart-total { display: flex; justify-content: space-between; padding: 12px 4px 10px; font-size: .95rem; }
.mini-cart-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mini-cart-buttons a { display: flex; align-items: center; justify-content: center; height: 40px; border-radius: var(--radius); border: 1px solid var(--ink); font-size: .88rem; text-decoration: none; }
.mini-cart-buttons a:last-child { background: var(--wine); border-color: var(--wine); color: #fff; }
.mini-cart-empty { padding: 14px 6px; color: var(--ink-3); font-size: .92rem; text-align: center; }

/* Mobile nav */
.mobile-nav { position: fixed; inset: 0; z-index: 200; }
.mobile-nav__backdrop { position: absolute; inset: 0; background: rgba(10, 7, 6, .55); opacity: 0; transition: opacity .25s; }
.mobile-nav__panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 360px);
  background: var(--night); color: var(--on-night); padding: 18px 24px 28px;
  display: flex; flex-direction: column; gap: 24px; overflow-y: auto;
  transform: translateX(-100%); transition: transform .25s ease;
}
.mobile-nav.is-open .mobile-nav__backdrop { opacity: 1; }
.mobile-nav.is-open .mobile-nav__panel { transform: none; }
.mobile-nav__head { display: flex; justify-content: space-between; align-items: center; }
.mobile-nav__head .icon-btn { color: var(--on-night); margin-right: -8px; }
.mobile-nav__links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--night-line); }
.mobile-nav__links a { display: block; padding: 15px 0; border-bottom: 1px solid var(--night-line); font: 600 1.45rem/1.2 var(--serif); text-decoration: none; }
.mobile-nav__lang { display: flex; gap: 8px; }
.mobile-nav__lang a { padding: 6px 12px; border: 1px solid var(--night-line); border-radius: var(--radius); font-size: .82rem; letter-spacing: .08em; text-decoration: none; color: var(--on-night-2); }
.mobile-nav__lang a.is-active { border-color: var(--gold); color: var(--gold-soft); }
.mobile-nav__contact { margin-top: auto; font-size: .9rem; color: var(--on-night-2); }
.mobile-nav__contact a { color: var(--on-night); text-decoration: none; }

/* ---------- Hero (home) ---------- */
.hero { background: var(--night); color: var(--on-night); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(36px, 6vw, 72px); }
.hero__title { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; margin-bottom: .45em; }
.hero__title em { font-style: italic; font-weight: 500; color: var(--gold-soft); }
.hero__lead { max-width: 34em; color: var(--on-night-2); font-size: 1.06rem; margin-bottom: 1.8rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2rem; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .88rem; color: var(--on-night-2); }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts .ic { color: var(--gold); }
.hero__media { margin: 0; position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 60%; border-radius: var(--radius-lg); }
.hero__media::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid rgba(177, 126, 72, .45);
  border-radius: var(--radius-lg); pointer-events: none;
}

/* ---------- Page head / breadcrumbs ---------- */
.page-head { padding: clamp(28px, 4vw, 48px) 0 clamp(18px, 3vw, 28px); }
.page-head--compact { padding-bottom: 8px; }
.page-head__title { margin-bottom: .25em; }
.page-head__lead { max-width: 40em; color: var(--ink-2); margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--wine); }
.crumbs > span:last-child { color: var(--ink-2); }

/* Legacy breadcrumb bar (checkout, profile, login…) */
.breadcrumb-bar { padding: clamp(28px, 4vw, 44px) 0 8px; }
.breadcrumb-bar .medium-container { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: .84rem; color: var(--ink-3); }
.breadcrumb-bar a { color: var(--ink-3); text-decoration: none; }
.breadcrumb-bar a:hover { color: var(--wine); }
.breadcrumb-bar h1 { order: 10; flex-basis: 100%; margin: 10px 0 0; font-size: clamp(2.1rem, 4vw, 3rem); color: var(--ink); }
.breadcrumb-bar .medium-container > span:last-of-type { display: none; }

/* ---------- Shop ---------- */
.shop { padding: clamp(24px, 4vw, 44px) 0 clamp(48px, 7vw, 96px); }
.chips {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) clamp(24px, 4vw, 40px); padding: 2px var(--gutter);
}
.chips::-webkit-scrollbar { display: none; }
.chips a {
  flex: none; display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: .9rem; text-decoration: none; color: var(--ink-2); background: transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.chips a span { font-size: .78rem; color: var(--ink-3); }
.chips a:hover { border-color: var(--ink); color: var(--ink); }
.chips a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips a[aria-current="page"] span { color: var(--on-night-2); }

.shop-group + .shop-group { margin-top: clamp(48px, 7vw, 88px); }
.shop-group__head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 8px 28px;
  padding-bottom: 16px; margin-bottom: 26px; border-bottom: 1px solid var(--line);
}
.shop-group__head h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.shop-group__head p { margin: 0 0 4px; color: var(--ink-3); font-size: .93rem; max-width: 46em; }
.shop-group__head .link-arrow { font-size: .9rem; margin-bottom: 4px; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px) clamp(14px, 2vw, 26px); }

/* Product card */
.card { display: flex; flex-direction: column; min-width: 0; }
.card__media {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  background: var(--paper-2); aspect-ratio: 3 / 4;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.035); }
.card__body { display: flex; flex-direction: column; flex: 1; padding-top: 14px; }
.card__title { font-size: 1.32rem; line-height: 1.15; margin: 0 0 6px; }
.card__title a { text-decoration: none; }
.card__brand { display: block; margin-bottom: 4px; font: 600 .68rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.card__desc { margin: 0 0 12px; font-size: .88rem; line-height: 1.45; color: var(--ink-3); }
.card__contents { list-style: none; padding: 0; margin: 0 0 12px; font-size: .86rem; line-height: 1.4; color: var(--ink-2); }
.card__contents li { position: relative; padding-left: 14px; margin-bottom: 3px; }
.card__contents li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 5px; height: 1px; background: var(--gold); }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.card__add {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: transparent;
  font-size: .84rem; color: var(--ink); transition: background-color .15s, color .15s, border-color .15s;
}
.card__add:hover { background: var(--wine); border-color: var(--wine); color: #fff; }
.card__add.is-added { background: var(--ok); border-color: var(--ok); color: #fff; }

.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-variant-numeric: tabular-nums; }
.price__now { font-weight: 600; font-size: 1rem; color: var(--ink); }
.price__old { font-size: .84rem; color: var(--ink-3); }
.price--soon { font-size: .86rem; color: var(--ink-3); font-style: italic; }

.tag {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  padding: 5px 9px; border-radius: 3px; background: var(--surface); color: var(--ink);
  font: 600 .68rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase;
}
.tag--accent { background: var(--wine); color: #fff; }
.tag--dark { background: var(--night); color: var(--on-night); }

.empty { padding: 56px 0; text-align: center; color: var(--ink-2); }
.empty p { font-size: 1.1rem; }

/* Story + perks (home) */
.story { background: var(--paper-2); padding-block: clamp(48px, 7vw, 96px); }
.story__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 6vw, 88px); align-items: center; }
.story__media { margin: 0; }
.story__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.story__text { max-width: 36em; }
.story__text p { color: var(--ink-2); }
.perks { padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.perks__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.perks__grid > div { padding: 4px clamp(16px, 3vw, 36px); border-left: 1px solid var(--line); }
.perks__grid > div:first-child { border-left: 0; padding-left: 0; }
.perks h3 { font-size: 1.3rem; margin-bottom: .35em; }
.perks p { margin: 0; color: var(--ink-3); font-size: .92rem; }

/* ---------- Product page ---------- */
.product { padding: clamp(20px, 3vw, 36px) 0 clamp(40px, 6vw, 72px); }
.product__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.product__gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.product__main { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--paper-2); }
.product__main img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.product__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.product__thumbs button { flex: none; width: 72px; padding: 0; border: 1px solid transparent; border-radius: var(--radius); background: none; overflow: hidden; opacity: .65; transition: opacity .15s, border-color .15s; }
.product__thumbs button[aria-current="true"], .product__thumbs button:hover { opacity: 1; border-color: var(--ink); }
.product__thumbs img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.product__info { padding-top: 6px; }
.product__info .eyebrow { margin-bottom: .6rem; }
.product__title { font-size: clamp(2.4rem, 4.4vw, 3.5rem); margin-bottom: .3em; }
.product__lead { font-size: 1.08rem; color: var(--ink-2); max-width: 32em; }
.product__price { margin: 18px 0 24px; }
.product__price .price__now { font-variant-numeric: lining-nums tabular-nums; font-size: 1.6rem; font-family: var(--serif); font-weight: 600; }
.product__price .price__old { font-size: 1.05rem; }

.includes { margin: 0 0 24px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); }
.includes__title { display: flex; align-items: center; gap: 8px; font: 600 .78rem/1.2 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 0 0 12px; }
.includes__title .ic { color: var(--gold); }
.includes ul { list-style: none; margin: 0; padding: 0; }
.includes li { padding: 8px 0; border-top: 1px dashed var(--line); font-size: 1rem; }
.includes li:first-child { border-top: 0; padding-top: 0; }

.buy { display: flex; gap: 12px; margin-bottom: 22px; }
.buy .btn { flex: 1; min-height: 52px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); height: 52px; }
.qty__btn { width: 42px; height: 100%; border: 0; background: none; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); }
.qty__btn:hover { color: var(--wine); }
.qty__input { width: 42px; height: 100%; border: 0; background: none; text-align: center; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 40px; }
.qty--sm .qty__btn { width: 34px; }
.qty--sm .qty__input { width: 34px; }
.note { padding: 14px 16px; background: var(--paper-2); border-radius: var(--radius); color: var(--ink-2); }

.product__perks { list-style: none; padding: 0; margin: 0 0 24px; font-size: .9rem; color: var(--ink-2); }
.product__perks li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.product__perks .ic { color: var(--gold); }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.facts dt { color: var(--ink-3); }
.facts dd { margin: 0; text-align: right; }
.facts a { color: var(--wine); text-decoration: none; }

.product__desc { max-width: 760px; margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(28px, 4vw, 40px); border-top: 1px solid var(--line); }
.related { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); background: var(--paper-2); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Prose (descriptions, legal, blog) ---------- */
.prose, .portfolio__details__text, .blog-content { font-size: 1.02rem; line-height: 1.7; color: var(--ink-2); }
.prose > :first-child { margin-top: 0; }
.prose h2, .portfolio__details__text h2, .blog-content h2 { font-size: 1.75rem; margin: 1.6em 0 .5em; color: var(--ink); }
.prose h3, .portfolio__details__text h3, .blog-content h3 { font-size: 1.35rem; margin: 1.4em 0 .4em; color: var(--ink); }
.prose ul, .portfolio__details__text ul, .blog-content ul { padding-left: 1.2em; }
.prose li, .portfolio__details__text li { margin-bottom: .35em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a, .portfolio__details__text a, .blog-content a { color: var(--wine); }
.product__desc .prose ul { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.product__desc .prose ul li { display: grid; grid-template-columns: minmax(120px, 210px) 1fr; gap: 16px; margin: 0; padding: 11px 0; border-bottom: 1px solid var(--line); }
.product__desc .prose ul li strong { font-weight: 500; color: var(--ink-3); }
.portfolio__details__text .indent { padding-left: 1.4em; }

/* ---------- Cart page ---------- */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.cart__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.cart-row {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) auto 110px 42px; align-items: center; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--line); transition: opacity .25s;
}
.cart-row.is-removing { opacity: 0; }
.cart-row__img img { width: 80px; height: 107px; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); }
.cart-row__name { display: block; font: 600 1.25rem/1.2 var(--serif); text-decoration: none; margin-bottom: 4px; }
.cart-row__unit { display: block; font-size: .85rem; color: var(--ink-3); }
.cart-row__contents { display: block; font-size: .82rem; color: var(--ink-3); margin-top: 4px; }
.cart-row__total { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }

.summary { position: sticky; top: calc(var(--header-h) + 20px); padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.summary__title { font-size: 1.6rem; margin-bottom: 14px; }
.summary__rows { margin: 0 0 20px; }
.summary__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.summary__rows dt { color: var(--ink-2); }
.summary__rows dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.summary__total { border-bottom: 0 !important; padding-top: 14px !important; font-size: 1.1rem !important; }
.summary__total dt, .summary__total dd { color: var(--ink) !important; font-weight: 600; }
.summary .link-back { width: 100%; justify-content: center; }

/* ---------- Forms (login, register, checkout, profile) ---------- */
label { display: inline-block; margin-bottom: 6px; font-size: .88rem; font-weight: 500; color: var(--ink-2); }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="search"], input[type="date"], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); color: var(--ink);
  font-size: 1rem; transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 110px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2382766c' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(177, 126, 72, .18); }
input[readonly] { background: var(--paper-2); color: var(--ink-3); }
input::placeholder, textarea::placeholder { color: #a99d91; }
input[type="checkbox"], input[type="radio"] { width: 18px; height: 18px; accent-color: var(--wine); vertical-align: -3px; }

.form-group { margin-bottom: 18px; position: relative; }
.field-input { position: relative; }
.check-box { display: flex; align-items: center; gap: 10px; }
.check-box label { margin: 0; font-weight: 400; color: var(--ink); cursor: pointer; }
.input-clear-wrap .input-clear { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); cursor: pointer; color: var(--ink-3); font-size: 20px; line-height: 1; display: none; }

.alert-flash { padding: 13px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: .94rem; border: 1px solid; }
.alert-flash.success { background: #edf5ef; border-color: #b9d7c2; color: #24543a; }
.alert-flash.error { background: #f8ecec; border-color: #e4bcbc; color: #8a2222; }

/* Auth pages */
.login__section { padding: 12px 0 clamp(56px, 8vw, 100px); }
.login__section .col-lg-8 { max-width: 520px; margin: 0 auto; }
.login__section .form-inner { padding: clamp(22px, 4vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.contact__title h5 { font-size: 1.7rem; margin-bottom: 18px; }
.login__section .theme-btn-one { width: 100%; }
.login__section label a { color: var(--wine); }

/* Checkout & profile (legacy markup, new look) */
.checkout-section { padding: 12px 0 clamp(56px, 8vw, 100px); }
.checkout-section .left-column .inner-box,
.checkout-section .right-column .inner-box {
  padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.checkout-section .right-column .inner-box { position: sticky; top: calc(var(--header-h) + 20px); }
.sub-title { font-size: 1.6rem !important; line-height: 1.2 !important; margin-bottom: 18px !important; }
.order-list { list-style: none; margin: 0; padding: 0; }
.order-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.order-list li .pull-left, .order-list li .pull-right { float: none; }
.order-list li .pull-right { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.order-list .title___ordrer { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.order-list .order-total { border-bottom: 0; font-size: 1.08rem; }
.promo-code-box { margin-top: 22px; }
.promo-code-row { display: flex; gap: 8px; }
.promo-code-row input { flex: 1; }
.promo-code-row button { flex: none; padding: 0 18px; border: 1px solid var(--ink); border-radius: var(--radius); background: var(--ink); color: var(--paper); }
.promo-code-row button:hover { background: var(--wine); border-color: var(--wine); }
.promo-msg { font-size: .88rem; margin-top: 8px; }
.checkout__text { margin-top: 22px; font-size: .86rem; color: var(--ink-3); }
.checkout__text a { color: var(--wine); }
.button__checkout .checkout-submit-btn { width: 100%; min-height: 54px; font-size: 1rem; }
#speedy-office-list { max-height: 260px; overflow-y: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
#speedy-office-list:empty { display: none; }
#city-dropdown, #street-dropdown { left: 12px !important; right: 12px !important; border-color: var(--line-2) !important; background: var(--surface) !important; }

.cart-table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.cart-table th { text-align: left; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line-2); }
.cart-table td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-outer { overflow-x: auto; }
.billing-form { margin-bottom: 24px; }

/* Legacy grid shim (only what remaining pages use) */
.row { display: flex; flex-wrap: wrap; margin-inline: -12px; }
.row > [class*="col-"] { padding-inline: 12px; width: 100%; }
@media (min-width: 768px) {
  .col-md-4 { width: 33.333%; } .col-md-6 { width: 50%; } .col-md-8 { width: 66.666%; } .col-md-12 { width: 100%; }
}
@media (min-width: 576px) {
  .row > .col-sm-4 { width: 33.333%; } .row > .col-sm-8 { width: 66.666%; }
}
@media (min-width: 992px) {
  .row > .col-lg-3 { width: 25%; } .row > .col-lg-4 { width: 33.333%; } .row > .col-lg-6 { width: 50%; }
  .row > .col-lg-8 { width: 66.666%; } .row > .col-lg-9 { width: 75%; } .row > .col-lg-12 { width: 100%; }
  .checkout-section .row > .left-column { width: 58%; } .checkout-section .row > .right-column { width: 42%; }
}
.clearfix::after { content: ""; display: table; clear: both; }
.pull-left { float: left; } .pull-right { float: right; }
.text-center { text-align: center; }
.d_block, .d-block { display: block; }
.p_relative { position: relative; }
.m-0 { margin: 0 !important; } .p-0 { padding: 0 !important; } .mr-0 { margin-right: 0 !important; }
.mt_20 { margin-top: 20px; } .mt_30 { margin-top: 30px; } .mb_25 { margin-bottom: 25px; } .pt_30 { padding-top: 30px; }

/* ---------- Order confirmation / payment ---------- */
.order-confirmation .inner-box, .payment-box { padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.post-card__img { display: block; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); aspect-ratio: 3 / 2; margin-bottom: 14px; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__img img { transform: scale(1.03); }
.post-card__meta { font-size: .8rem; color: var(--ink-3); letter-spacing: .04em; margin-bottom: 6px; }
.post-card h2 { font-size: 1.55rem; margin-bottom: .35em; }
.post-card h2 a { text-decoration: none; }
.post-card p { color: var(--ink-2); font-size: .94rem; }
.article { max-width: 760px; margin-inline: auto; }
.article__cover { margin: 0 0 32px; border-radius: var(--radius-lg); overflow: hidden; }
.article__cover img { width: 100%; }
.article__meta { font-size: .85rem; color: var(--ink-3); margin-bottom: 24px; }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: clamp(28px, 5vw, 72px); align-items: start; padding-bottom: clamp(56px, 8vw, 100px); }
.legal__aside { position: sticky; top: calc(var(--header-h) + 20px); font-size: .9rem; color: var(--ink-3); padding-top: 6px; border-top: 1px solid var(--line); }
.legal__aside nav { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.legal__aside nav a { text-decoration: none; color: var(--ink-2); }
.legal__aside nav a[aria-current="page"] { color: var(--wine); font-weight: 500; }
.legal .prose > h2:first-child { margin-top: 0; }

/* ---------- About ---------- */
.about-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 6vw, 88px); align-items: center; padding-bottom: clamp(48px, 7vw, 96px); }
.about-intro .prose p:first-of-type { font-size: 1.15rem; color: var(--ink); }
.about-intro figure { margin: 0; }
.about-intro img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.varieties { background: var(--night); color: var(--on-night); padding-block: clamp(48px, 7vw, 96px); }
.varieties h2 { color: #fff; }
.varieties__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--night-line); margin-top: 28px; }
.varieties__grid > div { padding: 22px 22px 6px 0; border-right: 1px solid var(--night-line); }
.varieties__grid > div + div { padding-left: 22px; }
.varieties__grid > div:last-child { border-right: 0; }
.varieties__grid h3 { color: var(--gold-soft); font-size: 1.6rem; margin-bottom: .3em; }
.varieties__grid p { color: var(--on-night-2); font-size: .92rem; margin: 0; }
.events { padding-block: clamp(48px, 7vw, 96px); }
.events__box { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: center; padding: clamp(24px, 4vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.events__box p { margin: 0; color: var(--ink-2); max-width: 40em; }
.events__box h2 { margin-bottom: .3em; }
.events__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--on-night-2); padding-top: clamp(48px, 7vw, 80px); font-size: .93rem; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 48px; }
.site-footer__brand img { width: 190px; margin-bottom: 18px; }
.site-footer__brand p { max-width: 26em; }
.site-footer__title { font: 600 .74rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 6px 0 16px; }
.site-footer__links { list-style: none; padding: 0; margin: 0; }
.site-footer__links li { margin-bottom: 9px; }
.site-footer__hours { margin-top: 14px; color: var(--on-night-2); }
.social { display: flex; gap: 6px; list-style: none; padding: 0; margin: 18px 0 0; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--night-line); border-radius: 50%; }
.social a:hover { border-color: var(--gold); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; border-top: 1px solid var(--night-line); font-size: .8rem; }
.site-footer__bottom p { margin: 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; z-index: 300; right: 20px; top: calc(var(--header-h) + 14px);
  display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 40px);
  padding: 12px 14px 12px 12px; background: var(--ink); color: var(--paper);
  border-radius: var(--radius-lg); box-shadow: 0 16px 40px rgba(0, 0, 0, .25); font-size: .92rem;
  opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s;
}
.toast.is-visible { opacity: 1; transform: none; }
.toast__icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 13px; font-weight: 700; }
.toast--error .toast__icon { background: var(--err); }
.toast__link { color: var(--gold-soft); white-space: nowrap; margin-left: 6px; }
.toast__link:hover { color: #fff; }

/* ---------- Age modal ---------- */
.age-modal-overlay { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(14, 10, 9, .86); backdrop-filter: blur(4px); }
.age-modal { width: 100%; max-width: 440px; padding: 36px 32px; background: var(--night); color: var(--on-night); text-align: center; border: 1px solid var(--night-line); border-radius: var(--radius-lg); }
.age-modal img { width: 180px; margin: 0 auto 22px; }
.age-modal h2 { color: #fff; font-size: 1.9rem; }
.age-modal p { color: var(--on-night-2); font-size: .95rem; }
.age-modal-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.age-modal-buttons button { min-height: 48px; border-radius: var(--radius); border: 1px solid var(--on-night); font-weight: 500; }
.age-yes { background: var(--on-night); color: var(--night); }
.age-yes:hover { background: #fff; }
.age-no { background: transparent; color: var(--on-night-2); border-color: var(--night-line) !important; }

/* ---------- Promo banner (admin-managed pop-up) ---------- */
.promo-banner-overlay { position: fixed; inset: 0; z-index: 9000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(14, 10, 9, .7); opacity: 0; transition: opacity .3s; }
.promo-banner-overlay.promo-visible { opacity: 1; }
.promo-banner { position: relative; width: 100%; max-height: calc(100vh - 40px); overflow-y: auto; padding: 32px; background: var(--paper); border-radius: var(--radius-lg); text-align: center; }
.promo-banner.promo-banner-count-1 { max-width: 400px; }
.promo-banner.promo-banner-count-2 { max-width: 620px; }
.promo-banner.promo-banner-count-3 { max-width: 860px; }
.promo-banner.promo-banner-count-4, .promo-banner.promo-banner-count-5, .promo-banner.promo-banner-count-6 { max-width: 1040px; }
/* Sticky so it stays visible while the banner content scrolls; negative bottom margin keeps it out of the flow */
.promo-banner-x { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: -20px -20px -20px auto; padding: 0; border: 1px solid var(--line, rgba(0,0,0,.12)); border-radius: 50%; background: var(--paper); box-shadow: 0 2px 10px rgba(0,0,0,.18); font-size: 26px; line-height: 1; color: var(--ink); cursor: pointer; }
.promo-banner-x:hover { background: var(--ink); color: var(--paper); }
.promo-banner-head { margin-bottom: 24px; padding-inline: 32px; }
.promo-banner-head h2 { font-size: 2.1rem; margin-bottom: .2em; }
.promo-banner-head p { color: var(--ink-2); margin: 0; }
.promo-banner-products { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.promo-product { flex: 1 1 160px; max-width: 220px; display: flex; flex-direction: column; }
.promo-product-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); margin-bottom: 10px; }
.promo-product h5 { font-size: 1.15rem; margin-bottom: 6px; }
.promo-product h5 a { text-decoration: none; }
.promo-product-price { margin-bottom: 10px; font-size: .92rem; }
.promo-old { text-decoration: line-through; color: var(--ink-3); margin-right: 6px; }
.promo-now { font-weight: 600; color: var(--wine); }
.promo-add-btn { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border: 1px solid var(--wine); border-radius: var(--radius); background: var(--wine); color: #fff; font-size: .88rem; text-decoration: none; }
.promo-add-btn:hover { background: var(--wine-2); color: #fff; }
.promo-banner-foot { margin-top: 24px; }
.promo-banner-close { border: 0; background: none; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; font-size: .9rem; }

/* Google Translate cleanup */
.skiptranslate iframe, body > .skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-te-gadget { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .grid, .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-nav a { padding-inline: 9px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 62px; }
  .site-header__burger { display: inline-flex; }
  .site-nav { display: none; }
  .site-header__inner { gap: 10px; }
  .site-header__logo { margin-inline: auto; }
  .site-header__logo img { width: 150px; }
  .site-header__tools .lang-dropdown { display: none; }
  .mini-cart-dropdown { display: none; }

  .hero__grid { grid-template-columns: 1fr; padding-top: 28px; }
  .hero__media { order: -1; margin-right: 14px; }
  .hero__media img { aspect-ratio: 16 / 11; object-position: center 62%; }
  .story__grid, .about-intro { grid-template-columns: 1fr; }
  .story__media img { aspect-ratio: 16 / 11; }
  .perks__grid { grid-template-columns: 1fr; gap: 18px; }
  .perks__grid > div { border-left: 0; padding: 0; }
  .shop-group__head { grid-template-columns: 1fr; }
  .shop-group__head .link-arrow { justify-self: start; }

  .product__grid { grid-template-columns: 1fr; }
  .product__gallery { position: static; }
  .cart { grid-template-columns: 1fr; }
  .summary { position: static; }
  .legal { grid-template-columns: 1fr; }
  .legal__aside { position: static; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .varieties__grid { grid-template-columns: 1fr 1fr; }
  .varieties__grid > div { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid var(--night-line); }
  .events__box { grid-template-columns: 1fr; }
  .checkout-section .right-column { margin-top: 20px; }
  .checkout-section .right-column .inner-box { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .grid, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .card__title { font-size: 1.12rem; }
  .card__desc, .card__contents { font-size: .8rem; }
  .card__foot { flex-direction: column; align-items: stretch; gap: 8px; }
  .card__add { justify-content: center; }
  .price__now { font-size: .92rem; }
  .cart-row { grid-template-columns: 64px minmax(0, 1fr) 36px; grid-template-areas: "img info del" "img qty total"; gap: 8px 14px; }
  .cart-row__img { grid-area: img; align-self: start; }
  .cart-row__img img { width: 64px; height: 86px; }
  .cart-row__info { grid-area: info; }
  .cart-row .qty { grid-area: qty; justify-self: start; }
  .cart-row__total { grid-area: total; }
  .cart-row .icon-btn { grid-area: del; align-self: start; }
  .blog-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .buy { flex-direction: column; }
  .buy .qty { align-self: flex-start; }
  .toast { left: 12px; right: 12px; top: auto; bottom: 14px; }
  .product__desc .prose ul li { grid-template-columns: 1fr; gap: 2px; }
  .facts > div { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 860px) {
  .hero__media::before { display: none; }
  .hero__media { margin-right: 0; }
  .hero__actions .btn { flex: 1 1 auto; }
}
.qty .qty__input { min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font-size: .95rem; }
.cart-row__total, .price__now, .price__old { white-space: nowrap; }
.order-list li::after { display: none; }
.order-list li .pull-left { flex: 1; }
.order-info.pt_30 { padding-top: 0; }
