/* =========================================================
   MyBoo — Soft Blush
   ========================================================= */

:root {
  --color-bg: #fdf4f7;
  --color-bg-soft: #fbe7ee;
  --color-surface: #ffffff;
  --color-surface-light: #fff0f5;
  --color-accent: #ea8aa6;
  --color-accent-hover: #d96c8c;
  --color-text: #4a2c39;
  --color-text-muted: #8b6b76;
  --color-on-accent: #ffffff;
  --color-hot: #e23f73;
  --color-hot-hover: #cc3868;

  --font-sans: 'Outfit', sans-serif;
  --font-display: 'Outfit', sans-serif;

  --radius: 20px;
  --radius-lg: 28px;
  --transition: 0.3s ease;

  --header-h: 72px;
  --shadow-card: 0 4px 16px rgba(74, 44, 57, 0.06);
  --border-soft: 1px solid rgba(74, 44, 57, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text);
  background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-soft) 30%, var(--color-surface) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--color-accent-hover); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border: 0; border-radius: var(--radius);
  padding: .9rem 1.6rem;
  font-weight: 600; font-size: 1.05rem; line-height: 1.3; text-decoration: none; text-align: center;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), color var(--transition);
}
.btn:active { transform: scale(.98); }
.btn-block { width: 100%; }

.btn-hot { background: var(--color-hot); color: var(--color-on-accent); }
.btn-hot:hover { background: var(--color-hot-hover); }

.btn-outline {
  background: var(--color-surface); color: var(--color-accent-hover);
  border: 2px solid var(--color-accent);
}
.btn-outline:hover { background: var(--color-surface-light); }

.btn-link-danger {
  background: none; border: 0; padding: .25rem 0; color: #c62828; font-size: .95rem; text-decoration: underline;
}

/* ---------- Шапка ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253, 244, 247, 0.82);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(74, 44, 57, 0.06);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; height: var(--header-h);
  padding: 0 16px 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.header-left { display: flex; align-items: center; gap: .6rem; }
.logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1.7rem;
  color: var(--color-hot); text-decoration: none; letter-spacing: -.01em;
}
.header-socials { display: flex; align-items: center; }
.social-link {
  width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; transition: transform var(--transition);
}
.social-link:hover { transform: scale(1.1); }

.main-nav { display: flex; gap: 1.6rem; }
.main-nav a {
  color: var(--color-text); text-decoration: none; font-weight: 500; position: relative; padding: .25rem 0;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--color-accent); transform: scaleX(0); transition: transform var(--transition);
}
.main-nav a:hover::after { transform: scaleX(1); }

.cart-button {
  position: relative; width: 64px; height: 64px;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--color-text); border-radius: 50%;
  transition: color var(--transition), background var(--transition);
}
.cart-button:hover { color: var(--color-accent-hover); background: rgba(234, 138, 166, .12); }
.cart-badge {
  position: absolute; top: 8px; right: 6px;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--color-hot); color: #fff; font-size: .78rem; font-weight: 700; line-height: 22px; text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 20px 60px;
  display: flex; align-items: center; justify-content: center;
}
.hero-content { position: relative; z-index: 2; max-width: 900px; text-align: center; }
.hero-title {
  margin: 0 0 1rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(4rem, 12vw, 8rem); line-height: 1.02; letter-spacing: -.02em;
  color: var(--color-hot);
  text-shadow: 0 0 28px rgba(226, 63, 115, .35), 0 0 60px rgba(234, 138, 166, .3);
}
.hero-subtitle { margin: 0 0 1.75rem; font-size: clamp(1.1rem, 2.4vw, 1.4rem); color: var(--color-text-muted); }

.countdown { display: flex; justify-content: center; gap: .75rem; margin-bottom: 1.25rem; }
.countdown-item {
  min-width: 84px; padding: .75rem .5rem .6rem;
  background: var(--color-surface); border: var(--border-soft); border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; align-items: center;
}
.countdown-num { font-size: 2.2rem; font-weight: 700; line-height: 1.1; color: var(--color-text); font-variant-numeric: tabular-nums; }
.countdown-label { font-size: .7rem; font-weight: 600; letter-spacing: .08em; color: var(--color-text-muted); }

.hero-urgency { margin: 0 0 1.75rem; font-weight: 500; }

.hero-cta-glow {
  padding: 1.1rem 2.6rem; font-size: 1.25rem; font-weight: 700;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: var(--color-on-accent);
  border-radius: 999px;
  animation: cta-pulse 2.5s ease-in-out infinite;
}
.hero-cta-glow:hover { filter: brightness(1.05); }

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(217, 108, 140, .35), 0 0 0 0 rgba(234, 138, 166, .5); }
  50%      { box-shadow: 0 8px 28px rgba(217, 108, 140, .5), 0 0 0 14px rgba(234, 138, 166, 0); }
}

.trust-strip {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.4rem;
  font-size: .95rem; font-weight: 500; color: var(--color-text-muted);
}
.trust-strip li + li::before { content: '·'; margin-right: 1.4rem; margin-left: -.7rem; color: var(--color-accent); }

.hero-figure {
  position: absolute; z-index: 1; left: -2%; bottom: 0;
  height: 88%; width: auto; max-width: 34vw; object-fit: contain; opacity: .9;
  pointer-events: none;
  animation: figure-float 6s ease-in-out infinite;
}
@keyframes figure-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.hero-blob {
  position: absolute; z-index: 0; right: -120px; top: 18%;
  width: 420px; height: 420px; border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%;
  background: radial-gradient(circle at 30% 30%, rgba(234, 138, 166, .55), rgba(226, 63, 115, .25));
  filter: blur(40px); pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-cta-glow, .hero-figure { animation: none; }
}

/* ---------- Секції ---------- */
.section { padding: 72px 0; }
.section-title {
  margin: 0 0 .5rem; text-align: center;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.75rem); line-height: 1.2;
}
.section-subtitle { margin: 0 0 2rem; text-align: center; color: var(--color-text-muted); }
.section-title + .promo-grid,
.section-title + .reviews-slider,
.section-title + .shipping-grid,
.section-title + .howto-block { margin-top: 2rem; }

/* ---------- Акції ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.promo-card {
  padding: 2rem; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-light) 100%);
  border: 1px solid rgba(234, 138, 166, .35); box-shadow: var(--shadow-card);
}
.promo-card h3 { margin: 0 0 .5rem; font-size: 1.35rem; font-weight: 700; color: var(--color-hot); line-height: 1.3; }
.promo-card p { margin: 0; color: var(--color-text-muted); }

/* ---------- Каталог ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }

.product-card {
  background: var(--color-surface); border-radius: var(--radius-lg);
  border: var(--border-soft); box-shadow: var(--shadow-card);
  overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-4px); border-color: var(--color-accent); box-shadow: 0 10px 28px rgba(74, 44, 57, .1); }
.product-card.is-sold-out { cursor: default; }
.product-card.is-sold-out:hover { transform: none; border-color: rgba(74, 44, 57, .08); box-shadow: var(--shadow-card); }

.product-image { position: relative; aspect-ratio: 1; background: var(--color-surface-light); overflow: hidden; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:not(.is-sold-out):hover .product-image img { transform: scale(1.04); }
.product-image.fit-contain img { object-fit: contain; }
.product-image.img-auto img { height: auto; }
.product-card.is-sold-out .product-image::after {
  content: ''; position: absolute; inset: 0; background: rgba(255, 255, 255, 0.6);
}

.badge-sale {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  padding: .3rem .85rem; border-radius: var(--radius);
  background: var(--color-hot); color: #fff; font-size: .85rem; font-weight: 600;
  box-shadow: 0 0 14px rgba(226, 63, 115, .55);
}

.product-more {
  position: absolute; left: 50%; bottom: 16px; z-index: 3;
  transform: translate(-50%, 12px); opacity: 0;
  padding: .6rem 1.4rem; border: 0; border-radius: var(--radius);
  background: rgba(255, 255, 255, .95); color: var(--color-text); font-weight: 600; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(74, 44, 57, .15);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
}
.product-card:hover .product-more,
.product-more:focus-visible { opacity: 1; transform: translate(-50%, 0); }
.product-more:hover { background: var(--color-accent); color: #fff; }
.product-more:disabled { cursor: not-allowed; }
.product-card.is-sold-out .product-more { opacity: 1; transform: translate(-50%, 0); background: rgba(255,255,255,.9); color: var(--color-text-muted); }

.product-info { padding: 1.1rem 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.product-name { margin: 0 0 .2rem; font-size: 1.15rem; font-weight: 600; line-height: 1.35; }
.product-desc { margin: 0 0 .9rem; color: var(--color-text-muted); font-size: .95rem; }
.product-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.product-prices { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }

.price-old { color: var(--color-text-muted); text-decoration: line-through; font-size: .95rem; opacity: .8; }
.price-new { color: var(--color-hot); font-weight: 700; font-size: 1.3rem; }
.sold-out-label { font-weight: 700; color: var(--color-text-muted); letter-spacing: .04em; font-size: .95rem; }

.product-add {
  flex: none; width: 46px; height: 46px; border-radius: 50%; border: 0;
  background: var(--color-accent); color: #fff; font-size: 1.6rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.product-add:hover { background: var(--color-accent-hover); transform: scale(1.06); }
.product-add:disabled { background: #e6d6dc; cursor: not-allowed; transform: none; }

/* ---------- Відгуки ---------- */
.reviews-slider { position: relative; max-width: 560px; margin: 0 auto; }
.slider-viewport {
  width: 440px; max-width: 100%; margin: 0 auto; overflow: hidden;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-card); background: var(--color-surface);
  touch-action: pan-y;
}
.slider-track { display: flex; transition: transform .45s ease; }
.slide { flex: 0 0 100%; }
.slide img { width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--color-surface); color: var(--color-accent-hover); font-size: 2rem; line-height: 1;
  box-shadow: 0 4px 14px rgba(74, 44, 57, .12);
  display: inline-flex; align-items: center; justify-content: center; padding-bottom: 4px;
  transition: background var(--transition), color var(--transition);
}
.slider-arrow:hover { background: var(--color-accent); color: #fff; }
.slider-prev { left: 0; }
.slider-next { right: 0; }
.slider-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 1.25rem; }
.slider-dot {
  width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0;
  background: rgba(234, 138, 166, .35); transition: background var(--transition), transform var(--transition);
}
.slider-dot.is-active { background: var(--color-hot); transform: scale(1.25); }

/* ---------- Доставка ---------- */
.shipping-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.shipping-banner {
  display: flex; align-items: center; gap: 1.25rem;
  padding: 1.75rem 2rem; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-hover) 100%);
  color: #fff; box-shadow: 0 8px 24px rgba(217, 108, 140, .3);
}
.shipping-icon { flex: none; width: 56px; height: 56px; color: #fff; }
.shipping-icon circle[fill="#fff"] { fill: var(--color-accent-hover); }
.shipping-title { margin: 0; font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; line-height: 1.3; }
.shipping-sub { margin: .15rem 0 0; font-weight: 500; opacity: .92; letter-spacing: .04em; }

/* ---------- Як замовити + форма ---------- */
.howto-block, .order-block {
  background: var(--color-surface); border-radius: var(--radius-lg);
  border: var(--border-soft); box-shadow: var(--shadow-card);
  padding: 2rem 2.25rem;
}
.order-block { margin-top: 1.75rem; }
.block-title { margin: 0 0 1rem; font-size: 1.5rem; font-weight: 600; }
.howto-list { margin: 0; padding-left: 1.4rem; display: grid; gap: .35rem; }
.howto-list li::marker { color: var(--color-hot); font-weight: 700; }
.howto-note {
  display: inline-block; margin: 1.25rem 0 0; padding: .4rem 1rem; border-radius: var(--radius);
  background: var(--color-surface-light); color: var(--color-hot); font-weight: 700;
}

.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2rem; align-items: start; }
.order-cart h4 { margin: 0 0 .75rem; font-size: 1.15rem; }

/* ---------- Кошик ---------- */
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.cart-item {
  display: grid; grid-template-columns: 56px 1fr auto auto; align-items: center; gap: .75rem;
  padding: .6rem; border-radius: var(--radius); background: var(--color-surface-light);
}
.cart-item-img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; background: #fff; }
.cart-item-name { display: block; font-weight: 500; line-height: 1.3; font-size: .98rem; }
.cart-item-price { display: block; color: var(--color-hot); font-weight: 700; font-size: .95rem; }
.qty-stepper { display: inline-flex; align-items: center; background: #fff; border-radius: 999px; border: var(--border-soft); }
.qty-stepper button {
  width: 32px; height: 32px; border: 0; background: none; border-radius: 50%;
  font-size: 1.15rem; line-height: 1; color: var(--color-accent-hover);
}
.qty-stepper button:hover { background: var(--color-surface-light); }
.qty-stepper span { min-width: 22px; text-align: center; font-weight: 600; }
.cart-remove {
  width: 32px; height: 32px; border-radius: 50%; border: 0; background: none;
  color: var(--color-text-muted); font-size: 1.4rem; line-height: 1;
}
.cart-remove:hover { color: #c62828; background: rgba(198, 40, 40, .08); }
.cart-empty { margin: 0; color: var(--color-text-muted); }
.cart-total { margin: 1rem 0; font-size: 1.15rem; }
.cart-total strong { color: var(--color-hot); }

.checkout-items { list-style: none; margin: 0 0 1.25rem; padding: 0; border-radius: var(--radius); background: var(--color-surface-light); }
.checkout-items li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; }
.checkout-items li + li { border-top: 1px solid rgba(74, 44, 57, .08); }
.checkout-items .ci-price { flex: none; font-weight: 700; color: var(--color-hot); }

/* ---------- Форма ---------- */
.order-form { display: grid; gap: 1rem; }
.form-field { display: grid; gap: .35rem; }
.form-field > span, .form-fieldset legend { font-weight: 500; font-size: .98rem; }
.form-field input {
  width: 100%; padding: .85rem 1rem; border-radius: var(--radius);
  border: 1.5px solid rgba(74, 44, 57, .15); background: #fff; font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-field input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 4px rgba(234, 138, 166, .2); }
.form-fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: .5rem; }
.form-fieldset legend { padding: 0; margin-bottom: .4rem; }
.radio-option { display: flex; align-items: center; gap: .6rem; cursor: pointer; }
.radio-option input { width: 20px; height: 20px; accent-color: var(--color-hot); margin: 0; }
.form-total { margin: .25rem 0 0; font-size: 1.15rem; }
.form-total strong { color: var(--color-hot); }

.btn-submit-order {
  width: 100%; border: 0; border-radius: 0;
  padding: 1.25rem 1.2rem;
  background: var(--color-hot); color: #fff;
  font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.05em;
  transition: background var(--transition);
}
.btn-submit-order:hover { background: var(--color-hot-hover); }
.btn-submit-order:disabled { opacity: .65; cursor: wait; }
.form-message { margin: 0; font-weight: 500; }
.form-message.is-error { color: #c62828; }
.form-message.is-success { color: #2e7d32; }

/* ---------- Модалки ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); }
.modal-card {
  position: relative; z-index: 1;
  width: 100%; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow-y: auto;
  background: var(--color-surface); border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
  padding: 2rem;
  overscroll-behavior: contain;
}
.product-modal .modal-card { max-width: 980px; }
.checkout-modal .modal-card { max-width: 560px; }
.modal-title { margin: 0 0 1.25rem; font-size: 1.6rem; font-weight: 600; padding-right: 2.5rem; }
.modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--color-hot); color: #fff; font-size: 1.6rem; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; padding-bottom: 3px;
  box-shadow: 0 4px 12px rgba(226, 63, 115, .35);
  transition: background var(--transition), transform var(--transition);
}
.modal-close:hover { background: var(--color-hot-hover); transform: rotate(90deg); }

/* Модалка товару */
.pm-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem; }
.pm-main {
  position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius);
  background: var(--color-surface-light); touch-action: pan-y;
}
.pm-main img { width: 100%; height: 100%; object-fit: contain; transform-origin: center center; will-change: transform; }
.pm-thumbs { display: flex; gap: .6rem; margin-top: .75rem; overflow-x: auto; padding-bottom: 4px; }
.pm-thumb {
  flex: none; width: 72px; height: 72px; padding: 0; border-radius: 14px; overflow: hidden;
  border: 2px solid transparent; background: var(--color-surface-light); opacity: .7;
  transition: border-color var(--transition), opacity var(--transition);
}
.pm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pm-thumb.is-active, .pm-thumb:hover { border-color: var(--color-accent); opacity: 1; }

.pm-title { margin: 0 0 .5rem; font-size: 1.6rem; font-weight: 600; line-height: 1.25; padding-right: 2.5rem; }
.pm-prices { display: flex; align-items: baseline; gap: .75rem; margin-bottom: 1.25rem; }
.pm-prices .price-new { font-size: 1.7rem; }
.pm-field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.pm-field label { font-weight: 500; }
.pm-field-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pm-field select {
  width: 100%; padding: .8rem 1rem; border-radius: var(--radius);
  border: 1.5px solid rgba(74, 44, 57, .15); background: #fff; font-size: 1rem;
}
.pm-field select:focus { outline: none; border-color: var(--color-accent); }
.size-table-link {
  border: 0; background: none; padding: 0; color: var(--color-accent-hover); font-weight: 500; font-size: .95rem;
  text-decoration: underline; text-underline-offset: 3px;
}
.pm-actions { display: grid; gap: .75rem; margin: 1.5rem 0; }
.pm-actions .btn { width: 100%; padding: 1rem 1.2rem; }
.pm-actions .btn-hot { font-size: 1.15rem; font-weight: 700; }
.pm-desc { display: grid; gap: .5rem; font-size: .98rem; }
.pm-desc p { margin: 0; }
.pm-desc strong { font-weight: 600; }

/* ---------- Плаваюча кнопка менеджера ---------- */
.manager-widget {
  position: fixed; right: 14px; top: 50%; transform: translateY(-50%); z-index: 150;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.manager-panel {
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  transition: opacity var(--transition), transform var(--transition);
}
.manager-widget:not(.is-open) .manager-panel { opacity: 0; transform: translateX(80px); pointer-events: none; }
.manager-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--color-surface); color: var(--color-text); padding: .2rem .55rem; border-radius: 999px;
  box-shadow: 0 2px 8px rgba(74, 44, 57, .12);
}
.manager-btn {
  width: 54px; height: 54px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: transform var(--transition);
}
.manager-btn:hover { transform: scale(1.08); }
.manager-viber { background: linear-gradient(135deg, #8b7ce8, #7360f2); }
.manager-telegram { background: linear-gradient(135deg, #34b0e8, #229ED9); }
.manager-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: var(--color-surface); color: var(--color-text); font-size: 1.4rem; line-height: 1;
  box-shadow: 0 4px 12px rgba(74, 44, 57, .18);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 400;
  transform: translate(-50%, 140%); opacity: 0;
  max-width: calc(100% - 32px);
  padding: .9rem 1.5rem; border-radius: var(--radius);
  background: var(--color-accent); color: #fff; font-weight: 600; text-align: center;
  box-shadow: 0 10px 30px rgba(217, 108, 140, .4);
  transition: transform .35s ease, opacity .35s ease; pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Футер ---------- */
.site-footer { padding: 2.5rem 0; border-top: 1px solid rgba(74, 44, 57, .08); background: var(--color-surface); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-links a { color: var(--color-text-muted); text-decoration: none; font-size: .95rem; }
.footer-links a:hover { color: var(--color-accent-hover); }
.footer-copy { margin: 0; color: var(--color-text-muted); font-size: .9rem; }

/* ---------- Статичні сторінки ---------- */
.page-content { max-width: 820px; margin: 0 auto; padding: calc(var(--header-h) + 40px) 20px 64px; }
.page-content h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1.2; margin: 1rem 0 1.25rem; }
.page-content h2 { font-size: 1.3rem; margin: 2rem 0 .5rem; }
.page-content .card {
  background: var(--color-surface); border-radius: var(--radius-lg); border: var(--border-soft);
  box-shadow: var(--shadow-card); padding: 2rem 2.25rem;
}
.page-content .card > :first-child { margin-top: 0; }
.back-link { color: var(--color-accent-hover); text-decoration: none; font-weight: 500; }
.back-link:hover { text-decoration: underline; }
.page-updated { color: var(--color-text-muted); font-size: .95rem; }
.highlight-box {
  margin: 1.5rem 0; padding: 1.25rem 1.5rem; border-radius: var(--radius);
  background: var(--color-surface-light); border-left: 4px solid var(--color-hot);
}
.highlight-box p { margin: 0; }
.simple-header .header-inner { justify-content: flex-start; }

/* =========================================================
   Адаптивність
   ========================================================= */
@media (max-width: 1024px) {
  .product-modal .modal-card { max-width: 860px; }
  .pm-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 1.5rem; }
  .hero-figure { max-width: 30vw; opacity: .75; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }

  .main-nav, .hero-figure, .hero-blob { display: none; }
  .header-inner { padding: 0 6px 0 16px; }
  .logo { font-size: 1.5rem; }

  .hero { min-height: auto; padding: calc(var(--header-h) + 36px) 16px 56px; }
  .countdown { gap: .5rem; }
  .countdown-item { min-width: 0; flex: 1; max-width: 84px; }
  .countdown-num { font-size: 1.8rem; }
  .countdown-label { font-size: .62rem; }
  .hero-cta-glow { width: 100%; max-width: 360px; }
  .trust-strip { flex-direction: column; gap: .25rem; }
  .trust-strip li + li::before { display: none; }

  .section { padding: 56px 0; }
  .container { padding: 0 16px; }

  .promo-grid, .product-grid, .shipping-grid, .order-grid { grid-template-columns: 1fr; }
  .product-grid { gap: 1.25rem; }
  .product-more { opacity: 1; transform: translate(-50%, 0); }

  .slider-viewport { width: 360px; }
  .slider-arrow { width: 40px; height: 40px; font-size: 1.7rem; }

  .howto-block, .order-block { padding: 1.5rem 1.25rem; }
  .shipping-banner { padding: 1.4rem 1.5rem; }

  /* поля й кнопки під тач; 16px+ щоб iOS не зумив */
  .form-field input, .pm-field select { padding: 1rem; font-size: 1.05rem; }
  .qty-stepper button, .cart-remove { width: 38px; height: 38px; }

  /* Модалки */
  .modal { padding: 0; }
  .modal-close { position: fixed; top: 12px; right: 12px; }

  .product-modal { align-items: flex-start; }
  .product-modal .modal-card {
    max-width: none; border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    max-height: 100dvh; padding: 1rem 1rem 0;
  }
  .pm-grid { grid-template-columns: 1fr; gap: 1rem; }
  .pm-title { font-size: 1.35rem; }
  .pm-actions {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; margin: 0;
    padding: .75rem 1rem calc(.75rem + env(safe-area-inset-bottom));
    background: #fff; box-shadow: 0 -6px 20px rgba(74, 44, 57, .12);
    gap: .5rem;
  }
  .pm-actions .btn { padding: .85rem 1rem; }
  /* місце під липкі кнопки, щоб опис не ховався */
  .pm-desc { padding-bottom: 150px; }

  .checkout-modal { align-items: stretch; }
  .checkout-modal .modal-card {
    max-width: none; width: 100%; height: 100dvh; max-height: 100dvh;
    border-radius: 0; padding: 1.25rem 1rem calc(2rem + env(safe-area-inset-bottom));
  }
}

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .badge-sale { font-size: .75rem; padding: .2rem .65rem; top: 10px; left: 10px; }
  .manager-widget { top: 40%; right: 10px; }
  .manager-btn { width: 48px; height: 48px; }
  .cart-item { grid-template-columns: 48px 1fr auto; }
  .cart-item-img { width: 48px; height: 48px; }
  .cart-item .qty-stepper { grid-column: 2; justify-self: start; }
  .cart-item .cart-remove { grid-row: 1; grid-column: 3; }
  .page-content .card { padding: 1.5rem 1.25rem; }
}

@media (max-width: 400px) {
  .reviews-slider { margin: 0 -16px; }
  .slider-viewport { width: 100vw; border-radius: 0; }
  .slider-prev { left: 6px; }
  .slider-next { right: 6px; }
}
