/* === Tokens from Pencil (.pen) variables === */
:root {
  --bg-page:        #FFFFFF;
  --bg-muted:       #FAF7F5;
  --border:         #ECE6E3;
  --border-soft:    #F2ECE8;
  --font-inverse:   #FFFFFF;
  --font-muted:     #A89FA2;
  --font-primary:   #2A1E22;
  --font-secondary: #7A6F73;
  --primary:        #C84B6B;
  --primary-dark:   #A53856;
  --primary-light:  #FDF1F4;
  --primary-soft:   #FBE4EA;
  --star:           #E8B923;
  --btn-border:     #EFC7D2;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-card:  0 4px 18px rgba(150, 90, 90, 0.06);
  --shadow-pop:   0 18px 40px rgba(150, 90, 90, 0.14);
  --shadow-deep:  0 30px 70px rgba(150, 90, 90, 0.18);

  --container-max: 1200px;
  --container-pad: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--font-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary); }

h1, h2, h3, h4 { font-family: 'Playfair Display', 'Georgia', serif; color: var(--font-primary); margin: 0 0 .5em; font-weight: 600; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.muted { color: var(--font-secondary); }
.small { font-size: 12px; }
.center { text-align: center; }
.row { display: flex; align-items: center; gap: 8px; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding: 10px 16px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .15s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary);
  color: var(--font-inverse);
  font-weight: 600;
  padding: 12px 22px;
  font-size: 15px;
  box-shadow: 0 6px 18px rgba(200, 75, 107, 0.22);
}
.btn-primary:hover { background: var(--primary-dark); color: var(--font-inverse); box-shadow: 0 12px 26px rgba(200, 75, 107, 0.3); }
.btn-outline {
  background: var(--bg-page);
  color: var(--primary);
  border-color: var(--btn-border);
  border-width: 1.5px;
}
.btn-outline:hover { background: var(--primary-light); }
.btn-ghost { background: transparent; color: var(--font-primary); }
.btn-ghost:hover { background: var(--primary-light); }
.btn-lg { padding: 14px 24px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-disabled { background: var(--bg-muted); color: var(--font-muted); cursor: not-allowed; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(150,90,90,.07); }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px var(--container-pad);
  max-width: var(--container-max);
  margin: 0 auto;
  height: 80px;
}
.brand { display: inline-flex; flex-direction: column; gap: 2px; align-items: flex-start; padding: 8px 4px 8px 0; min-height: 44px; justify-content: center; }
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--font-primary);
}
.brand-tagline {
  font-size: 11px;
  font-style: italic;
  color: var(--primary);
  letter-spacing: 1.5px;
}
.nav { display: flex; gap: 28px; align-items: center; }
.nav a {
  font-size: 14px;
  color: var(--font-primary);
  position: relative;
  padding: 4px 0;
  font-weight: 400;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--primary);
  transition: right .25s ease;
}
.nav a:hover::after,
.nav a.active::after { right: 0; }
.nav a:hover { color: var(--primary); }
.nav a.nav-accent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid var(--primary-soft);
}
.nav a.nav-accent::after { display: none; }
.nav a.nav-accent::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}
.nav a.nav-accent:hover { background: var(--primary-soft); }
.actions { display: inline-flex; align-items: center; gap: 20px; }
.icon-link {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--font-primary);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  position: relative;
  transition: color .2s ease, transform .15s ease;
}
.icon-link:hover { color: var(--primary); transform: translateY(-1px); }
.cart-btn { position: relative; }
.cart-count {
  position: absolute;
  top: 4px; right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--font-inverse);
  font-size: 9px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-page);
  transform: scale(0);
  transition: transform .2s ease;
}
.cart-btn.has-items .cart-count,
.fav-link.has-items .cart-count { transform: scale(1); }
.fav-link { position: relative; }
.cart-btn.bump { animation: bump .4s ease; }
@keyframes bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.12); }
  100% { transform: scale(1); }
}

/* === Hero === */
.hero-section { padding: 0; }
.hero {
  position: relative;
  width: 100%;
  height: 495px;
  overflow: hidden;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 0;
  animation: heroZoom 24s ease-in-out infinite alternate;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(253, 241, 244, 0.92) 0%, rgba(253, 241, 244, 0.78) 35%, rgba(253, 241, 244, 0.25) 58%, rgba(253, 241, 244, 0) 78%);
  z-index: 1;
}
@keyframes heroZoom {
  from { transform: scale(1.02); }
  to   { transform: scale(1.1); }
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.hero__content > * { max-width: 540px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-page);
  border: 1px solid var(--primary-soft);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  color: var(--font-primary);
  align-self: flex-start;
}
.hero__badge svg { color: var(--primary); }
.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -1.2px;
  margin: 0;
  color: var(--font-primary);
}
.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--primary);
}
.hero__sub {
  font-size: 16px;
  line-height: 1.5;
  color: var(--font-secondary);
  margin: 0;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* === Section helpers === */
.section {
  padding: 40px var(--container-pad) 0;
  max-width: var(--container-max);
  margin: 0 auto;
}
.section--last { padding-bottom: 60px; overflow: hidden; }
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 0;
}
.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
}
.section-link:hover { color: var(--primary-dark); }

/* === Categories === */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

.cat-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background-size: cover;
  background-position: center;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s ease;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.15) 100%);
  z-index: 0;
}
.cat-pill {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-page);
  border-radius: 999px;
  padding: 6px 12px 6px 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--font-primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.cat-pill svg { color: var(--primary); }

/* === Product cards === */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .prod-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 880px)  { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .prod-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px)  { .prod-grid { grid-template-columns: 1fr; } }

.prod {
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.prod:hover { transform: translateY(-4px); border-color: var(--primary-soft); box-shadow: var(--shadow-pop); }

.prod__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-muted);
  overflow: hidden;
  display: block;
}
.prod__photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.prod:hover .prod__photo img { transform: scale(1.07); }
.prod__fav {
  position: absolute;
  top: 8px; right: 8px;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: var(--bg-page);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform .2s ease, background .2s ease;
}
.prod__fav:hover { transform: scale(1.08); background: var(--primary-light); }
.prod__fav.is-active { background: var(--primary); color: var(--font-inverse); }
.prod__fav.is-active svg { fill: currentColor; stroke: currentColor; }
.prod__sold {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255,255,255,0.94);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--font-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.prod__badge {
  position: absolute;
  top: 12px; left: 12px;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
}
.prod__badge--hit {
  background: linear-gradient(135deg, #ff8a00, #ff5722);
  color: #fff;
  box-shadow: 0 3px 10px rgba(255,87,34,0.3);
}
.prod__badge--new {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff;
  box-shadow: 0 3px 10px rgba(102,126,234,0.3);
}
.prod__body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.prod__title {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  color: var(--font-primary);
  line-height: 1.25;
  min-height: 38px;
}
.prod__title a { color: inherit; }
.prod__title a:hover { color: var(--primary); }
.prod__price {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--font-primary);
}
.prod__btn { margin-top: auto; }

/* === Inline product CTA: button OR stepper === */
.prod__cta { margin-top: auto; }
.prod__cta .prod__btn--add { width: 100%; height: 40px; }
.prod__cta--lg { display: inline-block; }
.prod__cta--lg .prod__btn--add { width: auto; }
[hidden] { display: none !important; }

.prod__stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--primary-light);
  border: 1.5px solid var(--btn-border);
  border-radius: var(--radius-md);
  padding: 3px;
  gap: 4px;
  height: 40px;
  animation: stepperIn .25s ease;
}
@keyframes stepperIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}
.prod__stepper-btn {
  width: 30px;
  height: 30px;
  border: none;
  background: var(--bg-page);
  color: var(--primary);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, transform .15s ease, color .2s ease;
}
.prod__stepper-btn:hover { background: var(--primary); color: var(--font-inverse); }
.prod__stepper-btn:active { transform: scale(0.92); }
.prod__stepper-val {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.prod__stepper--lg {
  display: inline-grid;
  grid-template-columns: 44px minmax(56px, 1fr) 44px auto;
  align-items: center;
  padding: 5px;
  gap: 6px;
  background: var(--primary-light);
  border-radius: var(--radius-md);
}
.prod__stepper--lg .prod__stepper-btn {
  width: 44px;
  height: 44px;
}
.prod__stepper--lg .prod__stepper-val {
  font-size: 18px;
  padding: 0 8px;
}
.prod__cta-tocart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
  padding: 0 14px;
  height: 44px;
  background: var(--primary);
  color: var(--font-inverse);
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background .2s ease;
}
.prod__cta-tocart:hover { background: var(--primary-dark); color: var(--font-inverse); }
@media (max-width: 600px) {
  .prod__stepper--lg {
    grid-template-columns: 44px 1fr 44px;
  }
  .prod__cta-tocart {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: center;
    margin-left: 0;
    margin-top: 6px;
  }
}

/* === Gallery on product page === */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  outline: none;
}
.gallery__stage {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-muted);
  box-shadow: var(--shadow-card);
}
.gallery__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .4s ease;
}
.gallery__img.is-active { opacity: 1; }
.gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  color: var(--font-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: background .2s ease, transform .15s ease;
  z-index: 2;
}
.gallery__nav:hover { background: var(--primary); color: var(--font-inverse); }
.gallery__nav:active { transform: translateY(-50%) scale(0.92); }
.gallery__nav--prev { left: 12px; }
.gallery__nav--next { right: 12px; }
.gallery__dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 6px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.gallery__dot {
  width: 28px;
  height: 28px;
  padding: 10px;
  background-clip: content-box;
  background-color: var(--border);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, transform .15s ease;
}
.gallery__dot.is-active {
  background-color: var(--primary);
}
.gallery__dot.is-active { padding: 8px; }
.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 8px;
}
.gallery__thumb {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  transition: border-color .2s ease, transform .15s ease;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery__thumb:hover { transform: translateY(-2px); }
.gallery__thumb.is-active { border-color: var(--primary); }

/* === Delivery banner === */
.delivery {
  margin-top: 40px;
  border-radius: var(--radius-xl);
  background: var(--primary-light);
  display: grid;
  grid-template-columns: auto 1fr 38%;
  gap: 28px;
  align-items: stretch;
  min-height: 200px;
  padding: 0 0 0 28px;
  overflow: hidden;
  position: relative;
}
.delivery__badge { align-self: center; }
.delivery__text { align-self: center; padding: 28px 0; }
.delivery__badge {
  width: 56px; height: 56px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--font-inverse);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.delivery__text { padding: 4px 0; }
.delivery__heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 0 0 10px;
  line-height: 1.2;
}
.delivery__support {
  font-size: 16px;
  color: var(--font-secondary);
  margin: 0 0 8px;
}
.delivery__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #D48AA0;
  font-size: 14px;
  font-weight: 500;
  margin-top: 8px;
}
.delivery__link:hover { color: var(--primary); }
.delivery__van {
  width: 100%;
  height: 100%;
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  align-self: stretch;
}
.delivery__van::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--primary-light) 0%, rgba(253, 241, 244, 0.5) 18%, rgba(253, 241, 244, 0) 50%);
}
@media (max-width: 900px) {
  .delivery { grid-template-columns: auto 1fr; padding: 24px; }
  .delivery__van { display: none; }
}

/* === Advantages === */
.adv-section { padding-top: 40px; }
.adv-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 36px);
  font-weight: 700;
  margin: 0 0 32px;
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .adv-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .adv-grid { grid-template-columns: 1fr; } }
.adv {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.adv:hover { transform: translateY(-3px); border-color: var(--primary-soft); box-shadow: var(--shadow-card); }
.adv__icon {
  width: 48px; height: 48px;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
}
.adv__title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.adv__desc {
  font-size: 14px;
  line-height: 1.45;
  color: var(--font-secondary);
  margin: 0;
}

/* === Reviews === */
.rev-section {
  padding: 40px var(--container-pad) 60px;
  max-width: var(--container-max);
  margin: 0 auto;
}
.rev-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.rev-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 0;
}
.rev-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--font-secondary);
  font-size: 13px;
}
.rev-link:hover { color: var(--primary); }
.rev-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .rev-grid { grid-template-columns: 1fr; } }
.rev {
  background: var(--bg-muted);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: border-color .3s ease, transform .3s ease;
}
.rev:hover { transform: translateY(-2px); border-color: var(--primary-soft); }
.rev__top { display: flex; gap: 12px; align-items: center; }
.rev__av {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--primary-soft);
  object-fit: cover;
}
.rev__name { font-size: 15px; font-weight: 600; margin: 0 0 4px; }
.rev__stars { display: inline-flex; gap: 2px; color: var(--star); }
.rev__text {
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
  color: var(--font-primary);
}
.rev__date { font-size: 12px; color: var(--font-muted); }

/* === Footer === */
.site-footer {
  background: var(--bg-page);
  margin-top: 24px;
}
.footer-main {
  background: var(--primary-light);
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
  padding: 40px var(--container-pad) 28px;
}
.footer-cols {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 48px;
}
@media (max-width: 880px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-cols { grid-template-columns: 1fr; gap: 28px; } }
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--font-primary);
  margin: 0 0 12px;
}
.footer-col p, .footer-col li, .footer-col a {
  font-size: 12px;
  color: var(--font-primary);
  line-height: 1.55;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 0;
}
.footer-brand-tagline {
  font-size: 11px;
  color: var(--font-secondary);
  margin: 2px 0 14px;
}
.footer-desc {
  font-size: 12px;
  color: var(--font-secondary);
  margin: 0 0 14px;
}
.footer-soc { display: flex; gap: 10px; }
.footer-soc a {
  width: 34px; height: 34px;
  border-radius: 999px;
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--primary);
  transition: transform .2s ease, background .2s ease;
}
.footer-soc a:hover { transform: translateY(-2px); background: var(--primary); color: var(--font-inverse); }
.footer-contact {
  display: flex; align-items: center; gap: 8px; font-size: 12px;
}
.footer-contact svg { color: var(--primary); flex-shrink: 0; }
.footer-link-primary { color: var(--primary); font-size: 12px; font-weight: 500; }
.footer-news {
  display: flex;
  gap: 8px;
  align-items: center;
}
.footer-news input {
  flex: 1;
  height: 38px;
  background: var(--bg-page);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 0 12px;
  font: inherit;
  font-size: 12px;
  color: var(--font-primary);
}
.footer-news input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200, 75, 107, 0.12);
}
.footer-news button {
  width: 38px; height: 38px;
  border: none;
  background: var(--primary);
  color: var(--font-inverse);
  border-radius: var(--radius-md);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.footer-news button:hover { background: var(--primary-dark); }
.footer-bottom {
  background: var(--primary-light);
  padding: 16px var(--container-pad);
}
.footer-bottom-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: var(--font-secondary);
  flex-wrap: wrap;
}
.footer-bottom-inner a { color: var(--font-secondary); }
.footer-bottom-inner a:hover { color: var(--primary); }

/* === Static content pages === */
.static-page { padding: 56px var(--container-pad); }
.static-container {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.7;
  color: var(--font-primary);
}
.static-container h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 0 0 16px;
}
.static-container h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--font-primary);
  margin: 32px 0 12px;
}
.static-container p { margin: 0 0 14px; color: var(--font-secondary); }
.static-container .lead { font-size: 17px; color: var(--font-primary); }
.static-container ul { padding-left: 22px; margin: 0 0 14px; color: var(--font-secondary); }
.static-container li { margin-bottom: 4px; }
.static-container a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.static-container a:hover { color: var(--primary-dark); }
.static-container .crumbs { font-size: 13px; margin-bottom: 24px; color: var(--font-secondary); }
.static-container .muted { font-size: 13px; }
@media (max-width: 600px) {
  .static-page { padding: 32px 16px; }
}

/* Contacts page */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.contacts-card {
  background: var(--bg-page, #f9f7f5);
  border: 1px solid var(--border, #e8e0d8);
  border-radius: 12px;
  padding: 24px;
}
.contacts-card h2 {
  font-size: 14px;
  font-family: inherit;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--font-secondary, #666);
  margin: 0 0 8px;
}
.contacts-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--font-primary, #2a1e22);
  display: block;
  margin-bottom: 6px;
}
a.contacts-value { text-decoration: none; }
a.contacts-value:hover { color: var(--primary, #C84B6B); }

/* === Thanks page === */
.thanks {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px var(--container-pad);
}
.thanks__card {
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.thanks__mark {
  font-size: 3rem;
  margin-bottom: 12px;
}
.thanks h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 3vw, 32px);
  margin: 0 0 8px;
}
.thanks__note {
  margin: 24px 0 0;
  padding: 14px 18px;
  background: var(--primary-light);
  border: 1px solid var(--primary-soft);
  color: var(--font-primary);
  border-radius: var(--radius-md);
  font-size: 14px;
  text-align: left;
}
.thanks__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: left;
  margin: 32px 0;
  padding: 24px;
  background: var(--bg-muted);
  border-radius: var(--radius-lg);
}
.thanks__grid h3 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  margin: 0 0 12px;
  color: var(--primary);
}
.thanks__items {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}
.thanks__items li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.thanks__total {
  margin: 0;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  font-size: 14px;
  color: var(--font-secondary);
}
.thanks__total strong {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--primary);
  margin-left: 8px;
}
.thanks__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 600px) {
  .thanks { padding: 32px 16px; }
  .thanks__card { padding: 28px 22px; }
  .thanks__grid { grid-template-columns: 1fr; gap: 24px; padding: 20px; }
}

/* === Favorites empty state === */
.favorites-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 24px;
  gap: 12px;
}
.favorites-empty__mark { font-size: 3rem; }
.favorites-empty h2 { margin: 0; font-family: 'Playfair Display', serif; }

/* === Catalog toolbar (chips + sort/filter) === */
.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}
.catalog-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cat-chip {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--bg-page);
  border: 1px solid var(--border);
  color: var(--font-secondary);
  font-size: 13px;
  font-weight: 500;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cat-chip:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary-soft); }
.cat-chip.is-active {
  background: var(--primary);
  color: var(--font-inverse);
  border-color: var(--primary);
}
.cat-chip.is-active:hover { background: var(--primary-dark); color: var(--font-inverse); }

.catalog-tools {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  flex-shrink: 1;
  min-width: 0;
  overflow: hidden;
}
.catalog-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--font-primary);
  cursor: pointer;
  user-select: none;
}
.catalog-toggle input {
  appearance: none;
  -webkit-appearance: none;
  width: 18px; height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  background: var(--bg-page);
  cursor: pointer;
  position: relative;
  transition: background .15s ease, border-color .15s ease;
}
.catalog-toggle input:checked {
  background: var(--primary);
  border-color: var(--primary);
}
.catalog-toggle input:checked::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}
.catalog-sort {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--font-secondary);
}
.catalog-sort select {
  font-family: inherit;
  font-size: 13px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-page);
  color: var(--font-primary);
  cursor: pointer;
  max-width: 100%;
  text-overflow: ellipsis;
}
.catalog-sort select:focus {
  outline: none;
  border-color: var(--primary);
}
@media (max-width: 600px) {
  .catalog-toolbar { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; max-width: 100%; overflow: hidden; }
  .catalog-chips { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; width: 100%; max-width: 100%; }
  .catalog-chips::-webkit-scrollbar { display: none; }
  .cat-chip { flex-shrink: 0; }
  .catalog-tools { justify-content: space-between; max-width: 100%; }
  .catalog-sort span { display: none; }
  .catalog-sort select { max-width: 140px; }
}

/* === Page hero (catalog, product) === */
.page-hero {
  padding: 56px var(--container-pad) 24px;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-light), var(--bg-page));
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 0 0 8px;
}
.page-hero p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--font-secondary);
  font-size: 15px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 10px;
}

/* === Product page === */
.product-page { padding: 32px var(--container-pad); max-width: var(--container-max); margin: 0 auto; }
.crumbs { color: var(--font-secondary); font-size: 12px; margin-bottom: 24px; }
.crumbs a:hover { color: var(--primary); }
.product {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) { .product { grid-template-columns: 1fr; gap: 28px; } }
.product__media {
  display: flex;
  flex-direction: column;
}
.product__media > img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  background: var(--bg-muted);
}
.product__info h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}
.product__price {
  font-size: 28px;
  font-weight: 600;
  color: var(--primary);
  margin: 0 0 18px;
}
.product__desc { color: var(--font-secondary); font-size: 15px; line-height: 1.6; margin: 0 0 24px; }
.product__perks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 10px;
  font-size: 14px;
}
.product__perks li { display: flex; gap: 8px; align-items: center; color: var(--font-secondary); }
.product__perks svg { color: var(--primary); flex-shrink: 0; }
.product__video { margin-top: 24px; }
.product__video video {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* === Mobile sticky CTA on product page === */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-page);
  border-top: 1px solid var(--border);
  padding: 12px 16px;
  display: none;
  align-items: center;
  gap: 12px;
  z-index: 80;
  box-shadow: 0 -12px 30px rgba(80, 30, 40, 0.08);
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.mobile-sticky-cta.is-visible { transform: translateY(0); }
.mobile-sticky-cta__info {
  flex: 1;
  min-width: 0;
}
.mobile-sticky-cta__title {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--font-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-sticky-cta__price {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
}
.mobile-sticky-cta .btn { flex-shrink: 0; padding: 10px 18px; font-size: 14px; }
.mobile-sticky-cta .prod__stepper {
  flex-shrink: 0;
  width: auto;
  padding: 4px;
  gap: 8px;
}
.mobile-sticky-cta .prod__stepper-val { padding: 0 8px; min-width: 24px; }

@media (max-width: 600px) {
  .mobile-sticky-cta { display: flex; }
}

/* === Cart modal (centered) === */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cart-drawer.is-open { pointer-events: auto; }
.cart-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 30, 34, 0.48);
  opacity: 0;
  backdrop-filter: blur(2px);
  transition: opacity .25s ease;
}
.cart-drawer.is-open .cart-drawer__overlay { opacity: 1; }
.cart-drawer__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 48px);
  background: var(--bg-page);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(80, 30, 40, 0.32);
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity .25s ease, transform .3s cubic-bezier(.2,.7,.2,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}
.cart-drawer.is-open .cart-drawer__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.cart-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--bg-page);
  z-index: 1;
}
.cart-drawer__header h3 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
}
.cart-close {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-page);
  cursor: pointer;
  color: var(--font-secondary);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s ease, color .2s ease;
}
.cart-close:hover { background: var(--primary-light); color: var(--primary); }
.cart-drawer__items {
  padding: 14px 24px;
}
.cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
  color: var(--font-muted);
  gap: 12px;
}
.cart-drawer__empty-mark { font-size: 3rem; }
.cart-drawer__checkout {
  padding: 18px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-muted);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-drawer__checkout h4 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
}
.cart-drawer__checkout label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--font-secondary);
}
.cart-drawer__checkout input,
.cart-drawer__checkout textarea {
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-page);
  color: var(--font-primary);
  transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.cart-drawer__checkout input:focus,
.cart-drawer__checkout textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(200, 75, 107, 0.12);
}
.cart-delivery {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cart-delivery legend {
  font-size: 12px;
  font-weight: 600;
  color: var(--font-secondary);
  padding: 0;
  margin: 0 0 -2px;
}
.cart-delivery__dates {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.cart-delivery__chip {
  position: relative;
  cursor: pointer;
}
.cart-delivery__chip input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.cart-delivery__chip-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-page);
  transition: border-color .15s ease, background .15s ease;
  user-select: none;
}
.cart-delivery__chip-inner strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--font-primary);
}
.cart-delivery__chip-inner em {
  font-style: normal;
  font-size: 11px;
  color: var(--font-muted);
  text-transform: lowercase;
}
.cart-delivery__chip input:checked + .cart-delivery__chip-inner {
  border-color: var(--primary);
  background: var(--primary-light);
}
.cart-delivery__chip input:checked + .cart-delivery__chip-inner strong { color: var(--primary-dark); }
.cart-delivery__custom-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--font-secondary);
}
.cart-delivery__custom-label input {
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-page);
  color: var(--font-primary);
}
.cart-delivery__slots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cart-delivery__slots label {
  display: flex;
  cursor: pointer;
  flex: 1 1 0;
}
.cart-delivery__slots input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.cart-delivery__slots span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  transition: background .15s, border-color .15s, color .15s;
}
.cart-delivery__slots input:checked + span {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* Delivery spacing */
.cart-delivery legend { margin-bottom: 10px; }
.cart-delivery__time-label { font-size: 13px; font-weight: 600; color: var(--font-primary); margin: 14px 0 8px; }

/* Hidden native date input inside chip */
.cart-delivery__chip--custom { position: relative; }
.cart-delivery__date-native {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 0;
  opacity: 0;
  pointer-events: none;
  border: none;
  padding: 0;
}

/* Time slots with sub-labels */
.cart-delivery__slots span em {
  display: block;
  font-style: normal;
  font-size: 11px;
  opacity: .6;
  margin-top: 1px;
}
.cart-delivery__slots input:checked + span em { opacity: .85; }
.cart-delivery__slot-exact { flex: 1 1 100%; }

/* Time picker — single slider "К 14:00" */
.cart-delivery__time { margin-top: 10px; }
.time-picker { background: var(--bg-muted); border-radius: 12px; padding: 16px; }
.time-picker__display {
  text-align: center;
  font-size: 13px;
  color: var(--font-muted);
  margin-bottom: 8px;
}
.time-picker__display span {
  font-size: 28px;
  font-weight: 700;
  color: var(--font-primary);
  font-variant-numeric: tabular-nums;
}
.time-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: var(--border);
  outline: none;
}
.time-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.time-slider::-moz-range-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.time-picker__marks {
  display: flex;
  justify-content: space-between;
  padding: 4px 2px 0;
  font-size: 10px;
  color: var(--font-muted);
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0 4px;
  border-top: 1px dashed var(--border);
  font-size: 13px;
  color: var(--font-secondary);
}
.cart-drawer__total strong {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  color: var(--font-primary);
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item__img {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  object-fit: cover;
  background: var(--primary-soft);
}
.cart-item__title { font-weight: 500; font-size: 14px; margin: 0 0 4px; }
.cart-item__price { color: var(--font-secondary); font-size: 13px; }
.cart-item__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}
.cart-item__qty button {
  width: 28px; height: 28px;
  background: var(--bg-page);
  border: none;
  color: var(--font-primary);
  font-size: 16px;
  cursor: pointer;
}
.cart-item__qty button:hover { background: var(--primary-light); color: var(--primary); }
.cart-item__qty span { width: 28px; text-align: center; font-weight: 600; font-size: 13px; }
.cart-item__remove {
  background: none; border: none; cursor: pointer;
  color: var(--font-muted); font-size: 12px; padding: 0; margin-top: 4px;
}
.cart-item__remove:hover { color: var(--primary); }

/* === Search overlay === */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 80px 24px 24px;
}
.search-overlay.is-open { pointer-events: auto; }
.search-overlay__bg {
  position: absolute;
  inset: 0;
  background: rgba(42, 30, 34, 0.5);
  opacity: 0;
  backdrop-filter: blur(2px);
  transition: opacity .25s ease;
}
.search-overlay.is-open .search-overlay__bg { opacity: 1; }
.search-overlay__panel {
  position: relative;
  width: 100%;
  max-width: 620px;
  max-height: calc(100vh - 120px);
  background: var(--bg-page);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 80px rgba(80, 30, 40, 0.32);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity .2s ease, transform .25s cubic-bezier(.2,.7,.2,1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.search-overlay.is-open .search-overlay__panel {
  opacity: 1;
  transform: translateY(0);
}
.search-overlay__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--font-muted);
}
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.search-overlay__head input {
  flex: 1;
  border: none;
  outline: none;
  font: inherit;
  font-size: 16px;
  background: transparent;
  color: var(--font-primary);
  padding: 6px 0;
}
.search-overlay__head input::placeholder { color: var(--font-muted); }
.search-overlay__body {
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.search-overlay__hint {
  color: var(--font-muted);
  font-size: 13px;
  text-align: center;
  padding: 24px 0;
  margin: 0;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  color: var(--font-primary);
  text-decoration: none;
  transition: background .15s ease;
}
.search-result:hover { background: var(--primary-light); color: var(--font-primary); }
.search-result img {
  width: 48px; height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-muted);
}
.search-result__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.search-result__body strong { font-size: 14px; font-weight: 600; }
.search-result__body span { font-size: 13px; color: var(--primary); font-weight: 600; }
@media (max-width: 600px) {
  .search-overlay { padding: 12px; align-items: flex-end; }
  .search-overlay__panel { max-height: 90vh; }
}

/* === Toast === */
.toast {
  position: fixed;
  bottom: 96px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--font-primary);
  color: var(--font-inverse);
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 200;
  box-shadow: var(--shadow-deep);
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* === Floating cart bar (compact, like constructor summary) === */
.cart-float {
  position: fixed;
  left: 50%;
  bottom: 20px;
  z-index: 90;
  transform: translateX(-50%) translateY(120%);
  transition: transform .3s ease;
  background: #fff;
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,.12), 0 0 0 1px rgba(0,0,0,.04);
  display: flex;
  align-items: center;
  gap: 16px;
  width: auto;
  max-width: calc(100% - 32px);
}
.cart-float.is-visible { transform: translateX(-50%) translateY(0); }
.cart-float__info { display: flex; flex-direction: column; gap: 1px; }
.cart-float__count { font-size: 12px; color: var(--font-secondary, #666); }
.cart-float__sum { font-size: 18px; font-weight: 600; color: var(--primary, #C84B6B); }
.cart-float__btn {
  background: var(--primary, #C84B6B);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 10px 24px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.cart-float__btn:active { opacity: .85; }
@media (max-width: 480px) {
  .cart-float { bottom: 12px; padding: 10px 12px; gap: 10px; }
  .cart-float__sum { font-size: 16px; }
  .cart-float__btn { padding: 10px 16px; font-size: 13px; }
  .toast { bottom: 80px; }
}

/* === Reveal === */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__img { animation: none; }
}

/* === Tablet === */
@media (max-width: 880px) {
  .nav { display: none; }
  .hero { height: auto; min-height: 420px; }
  .hero__content {
    padding: 40px 32px;
    gap: 18px;
    max-width: 100%;
    width: 100%;
  }
  .hero__title { letter-spacing: -0.5px; }
  .hero__veil {
    background: linear-gradient(180deg, rgba(253,241,244,0.55) 0%, rgba(253,241,244,0.94) 75%);
  }
  .delivery { grid-template-columns: auto 1fr; padding: 24px; }
  .delivery__van { display: none; }
  .rev-grid { grid-template-columns: repeat(2, 1fr); }
  .rev:nth-child(3) { grid-column: 1 / -1; }
}

/* === Phones === */
@media (max-width: 600px) {
  :root { --container-pad: 16px; }
  .header-inner {
    height: auto;
    min-height: 64px;
    padding: 12px 16px;
    gap: 12px;
  }
  .brand { flex-shrink: 1; min-width: 0; }
  .brand-name { font-size: 18px; line-height: 1.1; }
  .brand-tagline { font-size: 10px; letter-spacing: 1.2px; }
  .actions { gap: 14px; flex-shrink: 0; }

  .hero { min-height: 380px; }
  .hero-section { padding: 16px 16px 0; }
  .hero__content { padding: 28px 22px; gap: 14px; }
  .hero__title {
    font-size: 28px;
    line-height: 1.12;
    letter-spacing: -0.3px;
    overflow-wrap: break-word;
  }
  .hero__sub { font-size: 14px; line-height: 1.45; }
  .hero__badge { font-size: 11px; padding: 7px 12px; }
  .hero__cta .btn { padding: 12px 20px; font-size: 14px; }

  .section { padding: 32px 16px 0; }
  .section-header { gap: 8px; margin-bottom: 16px; }
  .section-title { font-size: 22px; letter-spacing: -0.3px; }
  .section-link { font-size: 13px; }

  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card { height: 180px; padding: 10px; }
  .cat-pill { font-size: 12px; padding: 5px 10px 5px 8px; }

  .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod__body { padding: 10px; gap: 8px; }
  .prod__title { font-size: 14px; min-height: 36px; }
  .prod__price { font-size: 16px; }
  .prod__btn { padding: 8px 10px; font-size: 13px; }

  .delivery {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 22px 18px;
    gap: 16px;
  }
  .delivery__badge { margin: 0 auto; }
  .delivery__heading { font-size: 20px; }
  .delivery__support { font-size: 14px; }
  .delivery__link { justify-content: center; }

  .adv-section { padding-top: 32px; }
  .adv-title { font-size: 24px; margin-bottom: 20px; }
  .adv-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .adv { padding: 18px; gap: 10px; }
  .adv__icon { width: 40px; height: 40px; }
  .adv__icon svg { width: 20px; height: 20px; }
  .adv__title { font-size: 15px; }
  .adv__desc { font-size: 13px; }

  .rev-section { padding: 32px 16px 48px; }
  .rev-title { font-size: 20px; }
  .rev-grid { grid-template-columns: 1fr; gap: 12px; }
  .rev { padding: 18px; }

  .footer-main { padding: 32px 16px 24px; border-top-left-radius: var(--radius-xl); border-top-right-radius: var(--radius-xl); }
  .footer-cols { gap: 24px; }
  .footer-bottom-inner { font-size: 11px; gap: 8px; }

  .page-hero { padding: 36px 16px 16px; }
  .page-hero h1 { font-size: 26px; }
  .page-hero p { font-size: 14px; }
  .product-page { padding: 20px 16px; }
}

/* === Extra-small (iPhone SE, 320–375) === */
@media (max-width: 380px) {
  .brand-name { font-size: 16px; }
  .brand-tagline { display: none; }
  .actions { gap: 12px; }
  .actions .icon-link svg { width: 18px; height: 18px; }
  .hero__title { font-size: 26px; }
  .cat-grid, .prod-grid, .adv-grid { gap: 10px; }
  .cat-card { height: 160px; padding: 8px; }
  .prod__body { padding: 8px; }
  .cat-pill { font-size: 11px; }
}

/* === Cart bottom-sheet on phones === */
@media (max-width: 600px) {
  .cart-drawer {
    padding: 0;
    align-items: flex-end;
  }
  .cart-drawer__panel {
    width: 100%;
    max-width: 100%;
    max-height: 92vh;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transform: translateY(100%);
  }
  .cart-drawer.is-open .cart-drawer__panel {
    transform: translateY(0);
  }
  .cart-drawer__header { padding: 16px 18px; }
  .cart-drawer__items { padding: 10px 18px; }
  .cart-drawer__checkout { padding: 16px 18px 20px; }
  .cart-item {
    grid-template-columns: 56px 1fr auto;
    gap: 10px;
    padding: 12px 0;
  }
  .cart-item__img { width: 56px; height: 56px; }
  .cart-item__title { font-size: 13px; line-height: 1.3; }
  .cart-item__price { font-size: 12px; }
  .cart-item__remove { font-size: 11px; }
  .cart-item__qty button { width: 26px; height: 26px; }
  .cart-item__qty span { width: 22px; font-size: 12px; }
  .cart-drawer__total strong { font-size: 22px; }
  .cart-drawer__total { gap: 12px; }
}

/* ============================================================
 * Constructor promo on home + page itself
 * ============================================================ */
.constructor-promo {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  align-items: stretch;
  gap: 32px;
  padding: 40px 44px;
  background:
    radial-gradient(110% 130% at 100% 50%, rgba(255, 233, 221, 0.85) 0%, transparent 60%),
    linear-gradient(135deg, var(--primary-light) 0%, #FFF6EE 100%);
  border: 1px solid var(--primary-soft);
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: var(--font-primary);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.constructor-promo:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-pop);
}
.constructor-promo__text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.constructor-promo__eyebrow { color: var(--primary); margin: 0; }
.constructor-promo h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  font-family: 'Playfair Display', serif;
}
.constructor-promo p {
  margin: 0;
  color: var(--font-secondary);
  font-size: 15px;
  line-height: 1.5;
  max-width: 480px;
}
.constructor-promo__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 15px;
  margin-top: 4px;
}
.constructor-promo__art {
  position: relative;
  min-height: 160px;
}
.constructor-promo__bubble {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px; height: 64px;
  background: #fff;
  border-radius: 50%;
  font-size: 30px;
  box-shadow: var(--shadow-card);
  animation: floatBubble 4.5s ease-in-out infinite;
  animation-delay: var(--d);
}
.constructor-promo__bubble:nth-child(1) { top: 0; right: 60%; }
.constructor-promo__bubble:nth-child(2) { top: 20px; right: 25%; width: 80px; height: 80px; font-size: 38px; }
.constructor-promo__bubble:nth-child(3) { bottom: 10px; right: 50%; width: 56px; height: 56px; font-size: 26px; }
.constructor-promo__bubble:nth-child(4) { bottom: 0; right: 5%; }
.constructor-promo__bubble:nth-child(5) { top: 50%; right: 0; width: 48px; height: 48px; font-size: 22px; }
@keyframes floatBubble {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
@media (prefers-reduced-motion: reduce) {
  .constructor-promo__bubble { animation: none; }
}
@media (max-width: 880px) {
  .constructor-promo { grid-template-columns: 1fr; padding: 28px 24px; gap: 8px; }
  .constructor-promo__art { display: none; }
}

/* ============================================================
 * Constructor (Соберите свой букет)
 * ============================================================ */
.constructor-hero {
  background:
    radial-gradient(140% 100% at 20% 0%, var(--primary-soft) 0%, transparent 55%),
    radial-gradient(120% 90% at 90% 30%, #FFE9DD 0%, transparent 55%),
    var(--primary-light);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border-soft);
}
.constructor-hero__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.constructor-hero h1 {
  font-size: clamp(28px, 5vw, 48px);
  line-height: 1.1;
  margin: 8px 0 14px;
  max-width: 720px;
}
.constructor-hero > .constructor-hero__inner > p {
  color: var(--font-secondary);
  font-size: clamp(15px, 2.2vw, 18px);
  max-width: 620px;
  margin: 0 0 24px;
}
.constructor-hero__steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}
.constructor-hero__steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--font-primary);
  box-shadow: var(--shadow-card);
}
.constructor-hero__steps li span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--font-inverse);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
}

.constructor-section {
  padding-bottom: 120px;
}
body.has-constructor-summary .constructor-section {
  padding-bottom: 180px;
}

.stem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}
.stem-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.stem-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-soft);
  box-shadow: var(--shadow-card);
}
.stem-card__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-muted);
  overflow: hidden;
}
.stem-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}
.stem-card:hover .stem-card__photo img { transform: scale(1.03); }
.stem-card__body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.stem-card__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}
.stem-card__hint {
  margin: 0;
  font-size: 12.5px;
  color: var(--font-secondary);
  line-height: 1.35;
}
.stem-card__row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.stem-card__price {
  margin: 0;
  font-weight: 600;
  font-size: 17px;
  color: var(--font-primary);
}
.stem-card__price span {
  font-weight: 400;
  font-size: 12px;
  color: var(--font-muted);
}
.stem-card__btn {
  padding: 8px 12px;
  font-size: 13px;
  gap: 6px;
}
.stem-card .prod__cta { flex-shrink: 0; }
.stem-card .prod__stepper { padding: 4px; gap: 4px; }
.stem-card .prod__stepper-btn { width: 28px; height: 28px; }
.stem-card .prod__stepper-val { min-width: 22px; font-size: 14px; }

/* Sticky summary */
.constructor-summary {
  position: fixed;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  z-index: 50;
  width: min(720px, calc(100% - 32px));
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-deep);
  padding: 14px 18px;
  animation: summaryIn 0.35s cubic-bezier(.2,.7,.2,1);
}
@keyframes summaryIn {
  from { transform: translate(-50%, 20px); opacity: 0; }
  to   { transform: translate(-50%, 0);     opacity: 1; }
}
.constructor-summary__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}
.constructor-summary__info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.constructor-summary__info strong {
  font-size: 15px;
  color: var(--font-primary);
}
.constructor-summary__info span {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
}
.constructor-summary__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.constructor-summary__toggle {
  padding: 8px 12px;
  font-size: 13px;
  gap: 4px;
}
.constructor-summary.is-open .constructor-summary__toggle svg {
  transform: rotate(180deg);
}
.constructor-summary__toggle svg { transition: transform 0.2s ease; }
.constructor-summary__list {
  grid-column: 1 / -1;
  list-style: none;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
}
.constructor-summary__list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: var(--font-primary);
}

@media (max-width: 600px) {
  .constructor-hero { padding: 40px 0 36px; }
  .stem-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stem-card__body { padding: 10px 10px 12px; gap: 6px; }
  .stem-card__title { font-size: 14px; }
  .stem-card__hint { display: none; }
  .stem-card__row { flex-direction: column; align-items: stretch; gap: 6px; }
  .stem-card__price { font-size: 15px; }
  .stem-card__btn { width: 100%; justify-content: center; }
  .stem-card .prod__cta, .stem-card .prod__stepper { width: 100%; }
  .stem-card .prod__stepper { justify-content: space-between; }

  .constructor-summary {
    bottom: 12px;
    width: calc(100% - 16px);
    padding: 10px 12px;
    border-radius: var(--radius-lg);
  }
  .constructor-summary__inner { grid-template-columns: 1fr; gap: 8px; }
  .constructor-summary__actions { width: 100%; justify-content: space-between; }
  .constructor-summary__actions .btn-primary { flex: 1; justify-content: center; }
}

/* Wrapping selection */
.wrap-section-head { margin-bottom: 20px; text-align: center; }
.wrap-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--font-primary);
}
.wrap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.wrap-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--border, #e8e0d8);
  border-radius: var(--radius-lg, 12px);
  overflow: hidden;
  cursor: pointer;
  transition: border-color .15s ease, transform .15s ease;
}
.wrap-card input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.wrap-card:hover { border-color: var(--primary, #C84B6B); }
.wrap-card:has(input:checked) {
  border-color: var(--primary, #C84B6B);
  box-shadow: 0 4px 16px rgba(200, 75, 107, 0.15);
}
.wrap-card--off { opacity: 0.5; cursor: not-allowed; }
.wrap-card--off:hover { border-color: var(--border, #e8e0d8); }
.wrap-card__photo {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-page, #f9f7f5);
  overflow: hidden;
}
.wrap-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wrap-card__photo--none {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--font-secondary, #999);
}
.wrap-card__check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary, #C84B6B);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity .15s ease, transform .15s ease;
}
.wrap-card:has(input:checked) .wrap-card__check { opacity: 1; transform: scale(1); }
.wrap-card__body { padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.wrap-card__title { font-size: 14px; font-weight: 600; margin: 0; color: var(--font-primary); }
.wrap-card__hint { font-size: 12px; color: var(--font-secondary); margin: 0; }
.wrap-card__price { font-size: 14px; font-weight: 600; color: var(--primary, #C84B6B); margin: 4px 0 0; }
@media (max-width: 600px) {
  .wrap-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .wrap-card__body { padding: 10px; }
}

/* === Mobile bottom nav (icons + labels), shown only on small screens === */
.mnav { display: none; }
@media (max-width: 768px) {
  .mnav {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 96;
    background: #fff;
    border-top: 1px solid var(--border, #ece6e0);
    box-shadow: 0 -2px 16px rgba(150,90,90,.06);
    padding: 7px 2px calc(7px + env(safe-area-inset-bottom, 0px));
    justify-content: space-around;
    align-items: flex-end;
  }
  .mnav__item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    text-decoration: none;
    color: var(--font-secondary, #9a8f88);
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
    padding: 2px 0;
    transition: color .15s ease;
  }
  .mnav__item svg { width: 23px; height: 23px; }
  .mnav__item span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  .mnav__item.is-active { color: var(--primary, #C84B6B); }
  .mnav__item:active { opacity: .7; }
  /* center accent (Собрать) raised in a circle */
  .mnav__item--accent { color: var(--primary, #C84B6B); }
  .mnav__fab {
    width: 48px; height: 48px;
    margin-top: -20px;
    background: var(--primary, #C84B6B);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 5px 14px rgba(200,75,107,.42);
    border: 3px solid #fff;
  }
  .mnav__fab svg { width: 24px; height: 24px; }
  /* room for the bar + stack floats above it */
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .cart-float { bottom: calc(74px + env(safe-area-inset-bottom, 0px)); }
  .toast { bottom: calc(134px + env(safe-area-inset-bottom, 0px)); }
}
