/* =================================
   MAMALOVE — Дизайн-система
   ================================= */

:root {
  /* Палитра — нежные тона для детского магазина */
  --pink-50:  #fff5f7;
  --pink-100: #ffe4ec;
  --pink-200: #ffc1d3;
  --pink-300: #ff9eb8;
  --pink-400: #ff7a9c;
  --pink-500: #ff5081;
  --pink-600: #e63465;

  --peach-100: #fff0e6;
  --peach-200: #ffd9bf;
  --peach-300: #ffb88a;

  --mint-100: #e6f7f0;
  --mint-200: #b8e6cf;
  --mint-300: #7dd3a8;

  --lav-100: #f0ecff;
  --lav-200: #d4c8ff;
  --lav-300: #a896ff;

  --sun-100: #fff8db;
  --sun-200: #ffe88a;

  --ink-900: #1a1325;
  --ink-700: #3d2e51;
  --ink-500: #6b5b85;
  --ink-400: #8a7da3;
  --ink-300: #b3aac4;
  --ink-200: #d8d2e3;
  --ink-100: #ece8f2;
  --ink-50:  #f7f5fb;

  --white: #ffffff;
  --bg:    #fdfcff;

  /* Градиенты */
  --grad-hero:    linear-gradient(135deg, #ffe4ec 0%, #fff0e6 50%, #f0ecff 100%);
  --grad-card:    linear-gradient(135deg, #fff5f7 0%, #ffffff 100%);
  --grad-pink:    linear-gradient(135deg, #ff7a9c 0%, #ff5081 100%);
  --grad-peach:   linear-gradient(135deg, #ffb88a 0%, #ff9e7c 100%);
  --grad-mint:    linear-gradient(135deg, #b8e6cf 0%, #7dd3a8 100%);
  --grad-lav:     linear-gradient(135deg, #d4c8ff 0%, #a896ff 100%);
  --grad-sun:     linear-gradient(135deg, #ffe88a 0%, #ffc97c 100%);

  /* Типографика */
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body:    'Manrope', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

  /* Скругления */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-2xl: 40px;
  --r-full: 9999px;

  /* Тени */
  --shadow-sm: 0 2px 8px rgba(26, 19, 37, 0.04);
  --shadow-md: 0 8px 24px rgba(26, 19, 37, 0.06);
  --shadow-lg: 0 16px 48px rgba(26, 19, 37, 0.10);
  --shadow-xl: 0 24px 64px rgba(255, 80, 129, 0.18);
  --shadow-glow: 0 0 0 6px rgba(255, 122, 156, 0.12);

  /* Скорости */
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-slow: 400ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; outline: none; }

::selection { background: var(--pink-200); color: var(--ink-900); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-50); }
::-webkit-scrollbar-thumb { background: var(--pink-200); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--pink-300); }

/* =================================
   Контейнер
   ================================= */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =================================
   Топ-бар
   ================================= */
.topbar {
  background: var(--ink-900);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
}
.topbar__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar__contact {
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0.9;
  transition: opacity var(--t-fast);
}
.topbar__contact:hover { opacity: 1; }
.topbar__group { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* =================================
   Шапка
   ================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 252, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--ink-100);
}
.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  transition: transform var(--t-fast);
}
.logo:hover { transform: scale(1.02); }
.logo__icon-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.logo__text-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo__name { letter-spacing: -0.04em; }
.logo__name span { background: var(--grad-pink); -webkit-background-clip: text; background-clip: text; color: transparent; }

.nav { display: flex; gap: 4px; align-items: center; }
.nav a {
  padding: 10px 16px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-700);
  transition: all var(--t-fast);
  position: relative;
}
.nav a:hover { background: var(--pink-50); color: var(--pink-600); }
.nav a.active { background: var(--ink-900); color: var(--white); }

.header__actions { display: flex; gap: 8px; align-items: center; }

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  display: grid;
  place-items: center;
  color: var(--ink-700);
  background: transparent;
  transition: all var(--t-fast);
  position: relative;
}
.icon-btn:hover { background: var(--pink-50); color: var(--pink-600); transform: translateY(-2px); }
.icon-btn svg { width: 22px; height: 22px; }

.cart-btn {
  background: var(--ink-900);
  color: var(--white);
  padding: 10px 20px 10px 16px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: all var(--t-base);
}
.cart-btn:hover { background: var(--pink-500); transform: translateY(-2px); box-shadow: var(--shadow-xl); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-badge {
  background: var(--pink-500);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--r-full);
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  margin-left: 4px;
  transition: transform var(--t-base) var(--ease-spring);
}
.cart-btn:hover .cart-badge { background: var(--white); color: var(--pink-500); }
.cart-badge.bump { animation: bump 0.5s var(--ease-spring); }
@keyframes bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

/* Бургер */
.burger { display: none; }

/* =================================
   Кнопки
   ================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all var(--t-base);
  border: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--grad-pink);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(255, 80, 129, 0.32);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(255, 80, 129, 0.42); }
.btn--primary:active { transform: translateY(-1px); }

.btn--ghost {
  background: var(--white);
  color: var(--ink-900);
  border: 2px solid var(--ink-100);
}
.btn--ghost:hover { border-color: var(--pink-300); color: var(--pink-600); transform: translateY(-2px); }

.btn--dark {
  background: var(--ink-900);
  color: var(--white);
}
.btn--dark:hover { background: var(--ink-700); transform: translateY(-2px); }

.btn--lg { padding: 18px 36px; font-size: 16px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--icon { width: 48px; padding: 0; }

/* =================================
   Hero
   ================================= */
.hero {
  position: relative;
  padding: 60px 0 100px;
  background: var(--grad-hero);
  overflow: hidden;
  border-radius: 0 0 var(--r-2xl) var(--r-2xl);
}
.hero__bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
  pointer-events: none;
  animation: float 8s var(--ease) infinite;
}
.hero__bg-blob.b1 { width: 400px; height: 400px; background: var(--pink-200); top: -100px; right: -100px; }
.hero__bg-blob.b2 { width: 300px; height: 300px; background: var(--lav-200); bottom: -80px; left: 10%; animation-delay: -3s; }
.hero__bg-blob.b3 { width: 220px; height: 220px; background: var(--mint-200); top: 30%; right: 30%; animation-delay: -5s; }
@keyframes float {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero__content { animation: slideUp 0.8s var(--ease) 0.1s both; }
.hero__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 8px 16px 8px 8px;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-700);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.hero__pill__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad-pink);
  display: grid;
  place-items: center;
  color: white;
  font-size: 14px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink-900);
  margin-bottom: 24px;
}
.hero__title span {
  background: var(--grad-pink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  position: relative;
}
.hero__title span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12'%3E%3Cpath d='M2 7c40-7 80 5 120-1s60-4 76 2' fill='none' stroke='%23ff7a9c' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.hero__lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-500);
  margin-bottom: 36px;
  max-width: 520px;
}

.hero__actions { display: flex; gap: 12px; margin-bottom: 48px; flex-wrap: wrap; }

.hero__stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(26, 19, 37, 0.08);
  flex-wrap: wrap;
}
.hero__stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.03em;
  color: var(--ink-900);
}
.hero__stat-num span { color: var(--pink-500); }
.hero__stat-label {
  font-size: 13px;
  color: var(--ink-500);
  margin-top: 4px;
}

.hero__visual {
  position: relative;
  height: 540px;
  animation: slideUp 0.8s var(--ease) 0.3s both;
}
.hero__card {
  position: absolute;
  background: var(--white);
  padding: 12px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--t-slow) var(--ease);
}
.hero__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-md);
}
.hero__card.c1 {
  width: 60%;
  height: 70%;
  top: 0;
  right: 0;
  transform: rotate(4deg);
  z-index: 2;
}
.hero__card.c2 {
  width: 50%;
  height: 50%;
  bottom: 0;
  left: 0;
  transform: rotate(-6deg);
  z-index: 3;
}
.hero__card.c3 {
  width: 40%;
  height: 35%;
  bottom: 12%;
  right: 8%;
  transform: rotate(3deg);
  z-index: 4;
  background: var(--grad-pink);
  color: white;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero__card.c3:hover { transform: rotate(0deg) scale(1.04); }
.hero__card.c1:hover { transform: rotate(0deg) scale(1.02); z-index: 5; }
.hero__card.c2:hover { transform: rotate(0deg) scale(1.02); z-index: 5; }

.hero__card__big { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1; }
.hero__card__small { font-size: 13px; opacity: 0.9; }

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =================================
   Бар трастов / преимуществ
   ================================= */
.trust {
  padding: 36px 0;
  background: var(--white);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.trust__item {
  display: flex;
  gap: 14px;
  align-items: center;
}
.trust__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-md);
  background: var(--pink-50);
  display: grid;
  place-items: center;
  color: var(--pink-500);
  flex-shrink: 0;
}
.trust__icon svg { width: 26px; height: 26px; }
.trust__item:nth-child(2) .trust__icon { background: var(--mint-100); color: var(--mint-300); }
.trust__item:nth-child(3) .trust__icon { background: var(--lav-100); color: var(--lav-300); }
.trust__item:nth-child(4) .trust__icon { background: var(--peach-100); color: var(--peach-300); }
.trust__title { font-weight: 700; font-size: 15px; color: var(--ink-900); }
.trust__desc { font-size: 13px; color: var(--ink-500); margin-top: 2px; }

/* =================================
   Категории
   ================================= */
.section { padding: 80px 0; }
.section__head { text-align: center; margin-bottom: 56px; }
.section__eyebrow {
  display: inline-block;
  background: var(--pink-50);
  color: var(--pink-600);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-full);
  margin-bottom: 16px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink-900);
  margin-bottom: 16px;
}
.section__lead {
  font-size: 18px;
  color: var(--ink-500);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  position: relative;
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 2px solid var(--ink-100);
  transition: all var(--t-base);
  overflow: hidden;
  cursor: pointer;
  min-height: 200px;
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-pink);
  opacity: 0;
  transition: opacity var(--t-base);
  z-index: 0;
}
.cat-card > * { position: relative; z-index: 1; }
.cat-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: var(--shadow-xl);
}
.cat-card:hover::before { opacity: 1; }
.cat-card:hover .cat-card__name,
.cat-card:hover .cat-card__count,
.cat-card:hover .cat-card__icon { color: var(--white); }
.cat-card:hover .cat-card__icon { background: rgba(255,255,255,0.2); }
.cat-card:hover .cat-card__arrow { background: var(--white); color: var(--pink-500); transform: rotate(-45deg); }

.cat-card__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  background: var(--pink-50);
  display: grid;
  place-items: center;
  font-size: 32px;
  transition: all var(--t-base);
}
.cat-card:nth-child(2) .cat-card__icon { background: var(--mint-100); }
.cat-card:nth-child(3) .cat-card__icon { background: var(--lav-100); }
.cat-card:nth-child(4) .cat-card__icon { background: var(--peach-100); }
.cat-card:nth-child(5) .cat-card__icon { background: var(--sun-100); }
.cat-card:nth-child(6) .cat-card__icon { background: var(--pink-50); }
.cat-card:nth-child(7) .cat-card__icon { background: var(--mint-100); }

.cat-card__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
  transition: color var(--t-base);
}
.cat-card__count {
  font-size: 14px;
  color: var(--ink-500);
  margin-top: -8px;
  transition: color var(--t-base);
}
.cat-card__arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink-100);
  display: grid;
  place-items: center;
  color: var(--ink-700);
  transition: all var(--t-base);
}

/* =================================
   Карточка товара
   ================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  transition: all var(--t-base);
  border: 1px solid var(--ink-100);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--pink-200);
}

.product-card__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--ink-50);
  cursor: pointer;
}
.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease);
}
.product-card:hover .product-card__media img { transform: scale(1.06); }

.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ink-900);
  color: var(--white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: var(--r-full);
  z-index: 2;
  text-transform: uppercase;
}
.product-card__badge.discount { background: var(--pink-500); }
.product-card__badge.new { background: var(--mint-300); }
.product-card__badge.preorder { background: var(--ink-400); }

.product-card__fav {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  background: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink-500);
  z-index: 2;
  transition: all var(--t-fast);
  box-shadow: var(--shadow-sm);
}
.product-card__fav:hover, .product-card__fav.active { color: var(--pink-500); transform: scale(1.1); }
.product-card__fav.active svg { fill: currentColor; }
.product-card__fav svg { width: 18px; height: 18px; }

.product-card__quick {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink-900);
  color: var(--white);
  padding: 10px 18px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: all var(--t-base);
  z-index: 2;
}
.product-card:hover .product-card__quick { opacity: 1; transform: translateX(-50%) translateY(0); }

.product-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.product-card__cat {
  font-size: 12px;
  color: var(--ink-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.product-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink-900);
  margin-bottom: 4px;
  cursor: pointer;
  transition: color var(--t-fast);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card__title:hover { color: var(--pink-500); }

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--ink-500);
}
.product-card__rating .star { color: var(--sun-200); }

.product-card__colors {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  margin-bottom: 8px;
}
.color-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--white);
  outline: 1px solid var(--ink-100);
  cursor: pointer;
  transition: all var(--t-fast);
}
.color-swatch:hover, .color-swatch.active { transform: scale(1.2); outline-color: var(--pink-500); outline-width: 2px; }

.product-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
}
.product-card__price {
  display: flex;
  flex-direction: column;
}
.product-card__price-old {
  font-size: 13px;
  color: var(--ink-400);
  text-decoration: line-through;
}
.product-card__price-new {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  color: var(--ink-900);
}

.product-card__add {
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--ink-900);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: all var(--t-base);
  flex-shrink: 0;
}
.product-card__add:hover { background: var(--pink-500); transform: rotate(90deg); }
.product-card__add svg { width: 20px; height: 20px; }
.product-card__add.added { background: var(--mint-300); }

/* =================================
   Hot deals баннер
   ================================= */
.banner {
  background: var(--grad-pink);
  border-radius: var(--r-2xl);
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.banner::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  top: -150px;
  right: -100px;
}
.banner::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  bottom: -120px;
  left: -80px;
}
.banner__content { position: relative; z-index: 1; }
.banner__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: var(--r-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.banner__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.banner__lead {
  font-size: 16px;
  opacity: 0.92;
  margin-bottom: 28px;
  max-width: 460px;
}
.banner__visual { position: relative; z-index: 1; }
.banner__visual img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 48px rgba(0,0,0,0.2);
  transform: rotate(-4deg);
  transition: transform var(--t-slow) var(--ease);
}
.banner__visual:hover img { transform: rotate(0deg) scale(1.02); }

/* =================================
   Footer
   ================================= */
.footer {
  background: var(--ink-900);
  color: var(--ink-200);
  padding: 80px 0 24px;
  margin-top: 80px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}
.footer__about p {
  font-size: 14px;
  line-height: 1.7;
  opacity: 0.7;
  margin-top: 16px;
  max-width: 320px;
}
.footer__col h5 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer__col a {
  font-size: 14px;
  opacity: 0.7;
  transition: all var(--t-fast);
}
.footer__col a:hover { opacity: 1; color: var(--pink-300); }

.footer__social { display: flex; gap: 10px; margin-top: 18px; }
.footer__social a {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all var(--t-fast);
  opacity: 1;
}
.footer__social a:hover { background: var(--pink-500); transform: translateY(-3px); }
.footer__social svg { width: 18px; height: 18px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 16px;
}

/* =================================
   Toast
   ================================= */
.toast-stack {
  position: fixed;
  top: 100px;
  right: 24px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.toast {
  background: var(--white);
  padding: 14px 20px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--pink-500);
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  font-size: 14px;
  font-weight: 600;
  animation: toastIn 0.4s var(--ease-spring);
  pointer-events: auto;
}
.toast.success { border-left-color: var(--mint-300); }
.toast.error   { border-left-color: #ef4444; }
.toast__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pink-50);
  display: grid;
  place-items: center;
  color: var(--pink-500);
  flex-shrink: 0;
}
.toast.success .toast__icon { background: var(--mint-100); color: var(--mint-300); }
.toast.error .toast__icon { background: #fee2e2; color: #ef4444; }
.toast.removing { animation: toastOut 0.3s var(--ease) forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

/* =================================
   Empty state, утилиты
   ================================= */
.empty {
  text-align: center;
  padding: 80px 24px;
}
.empty__icon {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--pink-50);
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  font-size: 42px;
}
.empty__title { font-family: var(--font-display); font-weight: 800; font-size: 24px; margin-bottom: 8px; }
.empty__lead { color: var(--ink-500); margin-bottom: 24px; }

.skeleton {
  background: linear-gradient(90deg, var(--ink-100) 0%, var(--ink-50) 50%, var(--ink-100) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: var(--r-sm);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* =================================
   Reveal анимация при скролле
   ================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: all 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* =================================
   Адаптив
   ================================= */
@media (max-width: 1100px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer__col:nth-child(4) { display: none; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { height: 420px; }
}
@media (max-width: 800px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__row { height: 70px; }
  .topbar { display: none; }
  .container { padding: 0 16px; }
  .hero { padding: 36px 0 60px; }
  .hero__visual { height: 320px; }
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 36px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card__title { font-size: 15px; }
  .product-card__price-new { font-size: 18px; }
  .product-card__body { padding: 14px 14px 16px; }
  .banner { grid-template-columns: 1fr; padding: 36px 28px; }
  .banner__visual { display: none; }
  .footer { padding: 56px 0 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__col:nth-child(4) { display: block; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .cart-btn span:not(.cart-badge) { display: none; }
  .cart-btn { padding: 10px; }
  .topbar__group:first-child { display: none; }
}
@media (max-width: 540px) {
  .products-grid, .cat-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 16px; }
  .hero__stat-num { font-size: 24px; }
}

/* =================================
   Мобильное меню
   ================================= */
.burger {
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  display: none;
  place-items: center;
  background: var(--ink-50);
  color: var(--ink-900);
}
.burger svg { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease);
  display: flex;
  flex-direction: column;
  padding: 24px;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink-100);
  margin-bottom: 24px;
}
.mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mobile-menu__nav a {
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink-900);
}
.mobile-menu__nav a:hover, .mobile-menu__nav a.active { background: var(--pink-50); color: var(--pink-600); }
