/* NATA GROUP Redesign — Design tokens */
:root {
  --accent: #008860;
  --accent-hover: #006e4d;
  --yellow: var(--accent);
  --yellow-hover: var(--accent-hover);
  --navy: #0B1F3A;
  --navy-light: #1A3358;
  --blue: #4A9FD4;
  --gray-50: #F7F8FA;
  --gray-100: #EEF0F4;
  --gray-200: #DDE1E8;
  --gray-400: #8B95A5;
  --gray-600: #5A6474;
  --white: #FFFFFF;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow: 0 4px 24px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 31, 58, 0.12);
  --font: 'Manrope', system-ui, sans-serif;
  --container: 1520px;
  --page-gutter: 32px;
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.container--narrow { max-width: 720px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 20px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn--primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}
.btn--outline:hover { border-color: var(--navy); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: transparent;
  padding: 16px 20px;
}
.btn--ghost:hover { color: var(--gray-600); }

.btn--light {
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn--light:hover { background: rgba(255,255,255,0.1); }

.btn--lg { padding: 18px 36px; font-size: 15px; }
.btn--full { width: 100%; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.header__aside {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.header__info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-600);
  padding-right: 20px;
  border-right: 1px solid var(--gray-200);
}

.header__phone {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  transition: color 0.2s;
}
.header__phone:hover { color: var(--accent); }

.header__dot { opacity: 0.35; }

.header__hours { white-space: nowrap; }

.header__lang {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
  padding-left: 12px;
  border-left: 1px solid var(--gray-200);
}

.header__lang a {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-400);
  transition: color 0.2s;
}
.header__lang a.active,
.header__lang a:hover { color: var(--accent); }

.logo {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.logo__img {
  display: block;
  width: 132px;
  height: auto;
  transition: opacity 0.2s;
}

.logo:hover .logo__img { opacity: 0.8; }

.nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}

.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
  background: none;
  border: none;
  font-family: var(--font);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav__link:hover { color: var(--navy); }

.nav__item { position: relative; }

/* Full-width mega menu panel */
.mega-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
  background: var(--white);
  border-top: 1px solid var(--gray-100);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  pointer-events: none;
  z-index: 200;
}

.mega-menu-panel::before {
  content: '';
  position: absolute;
  top: -32px;
  left: 0;
  right: 0;
  height: 32px;
}

.header.mega-open .mega-menu-panel,
.header:has(.nav__item--dropdown:hover) .mega-menu-panel,
.header:has(.nav__item--dropdown.open) .mega-menu-panel,
.mega-menu-panel:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-menu {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 36px 0 40px;
}

.mega-menu--mobile {
  display: none;
}

.mega-menu__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.mega-menu__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mega-menu__col a:not(.mega-menu__featured) {
  font-size: 14px;
  color: var(--gray-600);
  padding: 8px 0;
  transition: color 0.2s;
}
.mega-menu__col a:not(.mega-menu__featured):hover { color: var(--navy); }

.mega-menu__col a.mega-menu__featured {
  display: block;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: var(--gray-50);
  transition: all 0.2s;
}
.mega-menu__featured strong {
  display: block;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.35;
}
.mega-menu__featured span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}
.mega-menu__featured:hover { background: var(--gray-100); }
.mega-menu__col a.mega-menu__featured--yellow,
.mega-menu__featured--yellow { background: var(--accent); }
.mega-menu__col a.mega-menu__featured--yellow:hover,
.mega-menu__featured--yellow:hover { background: var(--accent-hover); }
.mega-menu__featured--yellow strong { color: var(--white); }
.mega-menu__featured--yellow span { color: rgba(255, 255, 255, 0.85); }

.mega-menu__all {
  font-weight: 600 !important;
  color: var(--navy) !important;
  margin-top: 4px;
}

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

.header-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.header-user:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(0, 136, 96, 0.12);
}

.header-user__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.header-user__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.header-user__text strong {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-user__text span {
  font-size: 11px;
  color: var(--gray-500);
}

.header__login { display: none; }

.icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: background 0.2s;
}
.icon-btn:hover { background: var(--gray-100); }

.icon-btn--cart { position: relative; }

.icon-btn__badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}

.icon-btn__badge:empty,
.icon-btn__badge[hidden] { display: none; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Hero */
.hero {
  padding: 64px 0 80px;
}

.hero__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
}

.hero__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero__accent { color: var(--navy-light); }

.hero__desc {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
}

.hero__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hero-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 420px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.hero-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hero-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-card__tags {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 48px 24px 24px;
  background: linear-gradient(to top, rgba(11, 31, 58, 0.35) 0%, transparent 100%);
}

.hero-card__tag {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 100%;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.hero-card__tag:not(.hero-card__tag--title) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.hero-card__tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 5px;
}

.hero-card__tag--title {
  font-size: 15px;
  font-weight: 700;
  padding: 16px 24px;
  -webkit-line-clamp: unset;
  display: inline-flex;
  white-space: nowrap;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section--gray { background: var(--gray-50); }

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 16px;
  flex-wrap: wrap;
}

.section__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section__title--center {
  text-align: center;
  margin-bottom: 48px;
}

/* Offer cards — PNG + big title */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.offer-card {
  position: relative;
  display: block;
  height: 420px;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: background 0.35s, transform 0.35s, box-shadow 0.35s;
}

.offer-card__title {
  position: relative;
  z-index: 2;
  padding: 32px 32px 0;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color 0.35s;
}

.offer-card__png {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  height: 68%;
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  transition: transform 0.4s, opacity 0.35s;
}

.offer-card__actions {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.35s;
}

.offer-card__actions .btn {
  min-width: 180px;
  pointer-events: none;
}

.offer-card__more {
  background: rgba(255,255,255,0.15) !important;
  border-color: rgba(255,255,255,0.35) !important;
  color: var(--white) !important;
}

.offer-card:hover {
  background: var(--navy);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.offer-card:hover .offer-card__title {
  color: var(--white);
}

.offer-card:hover .offer-card__png {
  opacity: 0.2;
  transform: translateX(-50%) scale(1.03);
}

.offer-card:hover .offer-card__actions {
  opacity: 1;
}

/* Promo */
.promo { padding: 0 0 80px; }

.promo__inner {
  border-radius: var(--radius-lg);
  background: var(--navy);
  min-height: 360px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.promo__image {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 12%, rgba(0, 0, 0, 0.85) 28%, #000 42%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.35) 12%, rgba(0, 0, 0, 0.85) 28%, #000 42%, #000 100%);
}

.promo__inner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(11, 31, 58, 1) 0%,
    rgba(11, 31, 58, 0.96) 28%,
    rgba(11, 31, 58, 0.82) 38%,
    rgba(11, 31, 58, 0.55) 48%,
    rgba(11, 31, 58, 0.28) 58%,
    rgba(11, 31, 58, 0.08) 68%,
    transparent 78%
  );
}

.promo__inner::after {
  content: '';
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 34%;
  width: 22%;
  z-index: 1;
  background: linear-gradient(90deg, var(--navy) 0%, transparent 100%);
  filter: blur(28px);
  opacity: 0.55;
  pointer-events: none;
}

.promo__content {
  position: relative;
  z-index: 2;
  padding: 48px;
  color: var(--white);
  max-width: 520px;
}

.promo__badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.promo__content h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.promo__content p {
  opacity: 0.8;
  margin-bottom: 28px;
  font-size: 15px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-grid__visual { position: relative; }

.about-grid__photo {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 52% 38%;
}

.about-grid__cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stat-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  max-width: 220px;
  font-size: 13px;
  line-height: 1.5;
  pointer-events: auto;
}
.stat-card__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-400);
  display: block;
  margin-bottom: 6px;
}
.stat-card--yellow { background: var(--accent); color: var(--white); top: 2%; right: -14%; transform: rotate(2deg); }
.stat-card--yellow strong { color: var(--white); }
.stat-card:nth-child(2) { top: 35%; left: -8%; }
.stat-card--navy { background: var(--navy); color: var(--white); bottom: 30%; right: -5%; }
.stat-card--blue { background: #D6EAF8; bottom: 8%; left: 5%; }

.lead {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-grid__text p {
  color: var(--gray-600);
  margin-bottom: 16px;
}

.stats-row {
  display: flex;
  gap: 32px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.stats-row__item strong {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
}
.stats-row__item span {
  font-size: 13px;
  color: var(--gray-600);
}

/* Brands list */
.brands-section__title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 900px;
  margin-bottom: 40px;
}

.brands-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.brands-list__col {
  display: flex;
  flex-direction: column;
}

.brand-row {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 16px 12px;
  border-bottom: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.brand-row:first-child {
  border-top: 1px solid var(--gray-200);
}

.brands-list__col .brand-row:first-child {
  border-top: 1px solid var(--gray-200);
}

.brand-row:hover {
  background: var(--gray-100);
}

.brand-row__thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.brand-row__info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand-row__info strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.brand-row__info span {
  font-size: 14px;
  color: var(--gray-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-row__meta {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
  flex-shrink: 0;
}

.brands-section__more {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  max-width: 100%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--gray-100);
  transition: box-shadow 0.2s;
}
.product-card:hover { box-shadow: var(--shadow); }

.product-card__img {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gray-50);
  margin-bottom: 16px;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--accent);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}

.product-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.4;
  min-height: calc(1.4em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__price {
  font-size: 14px;
  margin-top: auto;
  margin-bottom: 16px;
}
.product-card__price s { color: var(--gray-400); margin-right: 6px; }
.product-card__price strong { font-size: 16px; font-weight: 700; }

.product-card__actions {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.product-card__actions .btn--primary {
  flex: 1;
  padding: 12px 16px;
  font-size: 13px;
}

.product-card__cart {
  width: 48px;
  flex-shrink: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}

.product-card__cart:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-card__icon img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.feature-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--gray-600);
}

/* Reviews */
.rating-badge {
  font-size: 16px;
  font-weight: 700;
}
.rating-badge span {
  font-weight: 400;
  color: var(--gray-600);
  font-size: 14px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--gray-100);
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.review-card__stars { color: var(--accent); font-size: 14px; display: block; }

.review-card p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.review-card__product {
  font-size: 13px;
  color: var(--gray-400);
}

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: var(--gray-400);
}
.faq-item[open] summary::after { content: '−'; }

.faq-item p {
  padding: 0 24px 20px;
  color: var(--gray-600);
  font-size: 15px;
}

/* CTA */
.cta-section {
  padding: 80px 0;
  background: var(--navy);
}

.cta-section__inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
}

.cta-section__text { color: var(--white); }

.cta-section__text h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta-section__text p {
  opacity: 0.75;
  margin-bottom: 28px;
  font-size: 15px;
}

.cta-section__contacts {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
}

.cta-form h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.cta-form input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  margin-bottom: 12px;
  outline: none;
  transition: border-color 0.2s;
}
.cta-form input:focus { border-color: var(--accent); }

/* Footer */
.footer {
  background: var(--gray-50);
  padding: 64px 0 32px;
  border-top: 1px solid var(--gray-100);
}

.footer--compact {
  padding: 20px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer__brand p {
  font-size: 14px;
  color: var(--gray-600);
  margin-top: 16px;
  max-width: 280px;
}

.footer h5 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--gray-400);
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul a, .footer ul li {
  font-size: 14px;
  color: var(--gray-600);
  transition: color 0.2s;
}
.footer ul a:hover { color: var(--navy); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
  font-size: 13px;
  color: var(--gray-400);
}

.footer__socials { display: flex; gap: 20px; }
.footer__socials a { color: var(--gray-600); font-weight: 500; }
.footer__socials a:hover { color: var(--navy); }

/* Partners */
.partners-slider {
  overflow: hidden;
  margin-top: 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.partners-slider__track {
  display: flex;
  width: max-content;
  animation: partners-scroll 28s linear infinite;
}

.partners-slider:hover .partners-slider__track {
  animation-play-state: paused;
}

.partners-slider__group {
  display: flex;
  gap: 16px;
  padding-right: 16px;
  flex-shrink: 0;
}

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .partners-slider__track { animation: none; flex-wrap: wrap; justify-content: center; }
  .partners-slider__group:last-child { display: none; }
  .partners-slider { mask-image: none; -webkit-mask-image: none; }
}

.partner-logo {
  padding: 16px 28px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-600);
  letter-spacing: 0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Catalog page */
.page-hero {
  padding: 48px 0 32px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}

.page-hero--plain {
  background: transparent;
  border-bottom: none;
  padding-bottom: 16px;
}

.breadcrumbs {
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.breadcrumbs a { color: var(--gray-600); }
.breadcrumbs a:hover { color: var(--navy); }

.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--gray-600);
  max-width: 600px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  padding: 48px 0 80px;
}

.catalog-layout > * {
  min-width: 0;
}

.catalog-main {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.catalog-sidebar h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 16px;
}

.catalog-filters {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.catalog-filters a {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--gray-600);
  transition: all 0.2s;
}
.catalog-filters a:hover,
.catalog-filters a.active {
  background: var(--accent);
  color: var(--white);
  font-weight: 600;
}

.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--gray-600);
}

.catalog-filters__child {
  padding-left: 28px !important;
  font-size: 13px !important;
}

.catalog-filters__grandchild {
  padding-left: 42px !important;
  font-size: 12px !important;
  color: var(--gray-500) !important;
}

.catalog-filters__grandchild.active,
.catalog-filters__grandchild:hover {
  color: var(--white) !important;
}

/* Product page */
.product-top {
  display: grid;
  grid-template-columns: minmax(340px, 520px) minmax(260px, 1fr) minmax(280px, 340px);
  gap: 32px;
  align-items: start;
  padding: 32px 0 56px;
}

.product-gallery {
  display: flex;
  gap: 12px;
  width: 100%;
}

.product-gallery__main {
  flex: 1;
  min-width: 0;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-50);
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__thumbs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  align-self: flex-start;
  padding-top: 4px;
}

.product-gallery__thumbs img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.55;
  transition: opacity 0.2s, border-color 0.2s;
}

.product-gallery__thumbs img.active,
.product-gallery__thumbs img:hover {
  border-color: var(--accent);
  opacity: 1;
}

.product-summary {
  align-self: start;
}

.product-summary h1 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

.product-info__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--gray-600);
}

.product-info__rating-star {
  color: var(--accent);
  font-size: 18px;
  line-height: 1;
}

.product-info__rating strong {
  color: var(--navy);
  font-size: 15px;
}

.product-info__rating a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-info__rating a:hover { color: var(--accent-hover); }

.product-info__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.product-info__tags span {
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
}

.product-summary__excerpt {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-600);
}

.product-summary__excerpt a {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.product-summary__excerpt a:hover { color: var(--accent-hover); }

.product-order {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.product-order__price {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.product-order__price s {
  display: block;
  font-size: 16px;
  color: var(--gray-400);
  font-weight: 500;
  margin-bottom: 4px;
}

.product-order__actions {
  margin-bottom: 8px;
}

.product-order__actions-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.product-order__btn {
  flex: 1;
  padding: 16px 20px;
  border-radius: 15px;
}

.product-order__instruction {
  width: 100%;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 15px;
}

.product-order__details {
  margin: 0;
  padding-top: 8px;
}

.product-order__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.product-order__row:last-child { border-bottom: none; }

.product-order__row dt {
  font-size: 13px;
  color: var(--gray-400);
  flex-shrink: 0;
}

.product-order__row dd {
  font-size: 14px;
  font-weight: 600;
  text-align: right;
  margin: 0;
}

.product-order__in-stock { color: var(--accent); }

.product-description {
  padding: 48px 0 64px;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.product-description h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  margin-bottom: 20px;
}

.product-description__text {
  max-width: 900px;
}

.product-description__text p,
.product-description__text li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.product-description__text p:empty {
  display: none;
  margin: 0;
}

.product-description__text ul,
.product-description__text ol {
  margin: 0 0 16px 24px;
  padding: 0;
}

.product-description__text b,
.product-description__text strong {
  color: var(--navy);
  font-weight: 700;
}

.product-description__text h2,
.product-description__text h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0 12px;
}

.product-description__text.is-collapsed p:not(:first-child) {
  display: none;
}

.product-description__more {
  margin-top: 8px;
  border: none;
  background: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  padding: 8px 20px;
  border-radius: 100px;
  border: 2px solid var(--gray-200);
  transition: border-color 0.2s, color 0.2s;
}

.product-description__more:hover {
  border-color: var(--navy);
  color: var(--accent);
}

.qty-input {
  display: inline-flex;
  align-items: stretch;
  border: 2px solid var(--gray-200);
  border-radius: 15px;
  flex-shrink: 0;
  background: var(--white);
  overflow: hidden;
}

.qty-input button {
  width: 48px;
  min-height: 52px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--navy);
  transition: color 0.15s;
}

.qty-input button:hover { color: var(--accent); }

.qty-input input {
  width: 52px;
  min-height: 52px;
  text-align: center;
  border: none;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  background: var(--white);
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-input input::-webkit-outer-spin-button,
.qty-input input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.benefits-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 64px 0;
  background: var(--navy);
  color: var(--white);
}

.benefit-card-dark {
  text-align: center;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
}
.benefit-card-dark__icon { font-size: 36px; margin-bottom: 16px; }
.benefit-card-dark h4 {
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 8px;
}
.benefit-card-dark p {
  font-size: 13px;
  opacity: 0.75;
  line-height: 1.6;
}

/* Auth / Login */
.auth-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-h));
  padding: 48px 24px 80px;
  background: var(--gray-50);
}

.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.auth-card__head {
  text-align: center;
  margin-bottom: 32px;
}

.auth-card__head h1 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}

.auth-card__head p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.5;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form--hidden { display: none; }

.auth-field span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.auth-field input {
  width: 100%;
  padding: 16px 18px;
  border: 2px solid var(--gray-200);
  border-radius: 14px;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-field input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 136, 96, 0.1);
}

.auth-field input::placeholder {
  color: var(--gray-400);
}

.auth-field input[name="code"] {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.35em;
}

.auth-phone-display {
  font-size: 14px;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 4px;
}

.auth-phone-display strong { color: var(--navy); }

.auth-code {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.auth-code input {
  width: 56px;
  height: 64px;
  border: 2px solid var(--gray-200);
  border-radius: 14px;
  font-family: var(--font);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  color: var(--navy);
  transition: border-color 0.2s;
}

.auth-code input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 136, 96, 0.04);
}

.auth-error {
  font-size: 13px;
  color: #c0392b;
  text-align: center;
}

.auth-note {
  margin-top: 24px;
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .auth-card { padding: 32px 24px; }
  .auth-code input { width: 48px; height: 56px; font-size: 24px; }
}

/* Account page */
.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 48px 0 80px;
  min-height: calc(100vh - var(--header-h) - 40px);
}

.account-sidebar {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.account-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
  min-width: 0;
}

.account-user > div {
  min-width: 0;
}

.account-user__avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  aspect-ratio: 1;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.account-user strong {
  display: block;
  font-size: 15px;
  line-height: 1.35;
  word-break: break-word;
}
.account-user span { font-size: 13px; color: var(--gray-600); }

.account-nav { display: flex; flex-direction: column; gap: 4px; }
.account-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--gray-600);
  transition: all 0.2s;
}
.account-nav a:hover,
.account-nav a.active {
  background: var(--gray-50);
  color: var(--navy);
  font-weight: 600;
}

.account-nav form {
  margin: 8px 0 0;
  width: 100%;
}

.account-nav__logout {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  text-align: left;
  transition: background 0.2s, color 0.2s;
}

.account-nav__logout:hover {
  background: var(--gray-50);
  color: var(--navy);
}

.account-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--white);
  margin-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.account-banner h2 { font-size: 22px; font-weight: 700; }
.account-banner p { opacity: 0.75; font-size: 14px; margin-top: 6px; }

.account-settings__head {
  margin-bottom: 28px;
}

.account-settings__head p {
  font-size: 15px;
  color: var(--gray-600);
  margin-top: 8px;
}

.account-settings__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.account-settings__card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 28px;
}

.account-settings__card--muted {
  background: var(--gray-50);
}

.account-settings__card h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.account-settings__card h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.account-settings__hint {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 24px;
}

.account-settings__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.account-settings__field span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.account-settings__field input {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--navy);
  transition: border-color 0.2s;
}

.account-settings__field input:focus {
  outline: none;
  border-color: var(--accent);
}

.account-settings__field small {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--gray-400);
}

.account-settings__phone {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.account-settings__card--muted small {
  font-size: 13px;
  color: var(--gray-600);
}

.account-settings__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.account-settings__saved {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.orders-list { display: flex; flex-direction: column; gap: 16px; }

.order-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 24px;
}

.order-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.order-card__id { font-size: 14px; color: var(--gray-600); }
.order-card__id strong { color: var(--navy); display: block; font-size: 15px; }

.status-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}
.status-badge--new { background: #D6EAF8; color: #1A6FA0; }
.status-badge--ready { background: var(--accent); color: var(--white); }
.status-badge--done { background: var(--gray-100); color: var(--gray-600); }

.order-card__items {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.order-card__items img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--gray-50);
}

.order-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-card__price { font-size: 18px; font-weight: 700; }

.pagination {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 32px;
}
.pagination a, .pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
}
.pagination a.active, .pagination a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* Responsive */
@media (max-width: 1200px) {
  .header__hours { display: none; }
  .header__lang { border-left: none; padding-left: 0; margin-left: 0; }
}

@media (max-width: 1024px) {
  .header__info { display: none; }
  .mega-menu-panel { display: none; }
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-sidebar { display: none; }
  .product-top {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .product-gallery {
    min-height: 0;
  }

  .product-order {
    grid-column: 1 / -1;
    position: static;
  }
  .account-layout { grid-template-columns: 1fr; }
  .account-sidebar { position: static; }
  .account-settings__grid { grid-template-columns: 1fr; }
  .benefits-row { grid-template-columns: 1fr; }
  .hero__cards { grid-template-columns: 1fr; }
  .hero-card { min-height: 360px; }
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-list { gap: 0 32px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid__cards { display: none; }
  .cta-section__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root {
    --page-gutter: 20px;
  }

  .container.catalog-layout {
    padding-inline: 20px;
  }

  .header__aside { gap: 8px; }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--gray-100);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.3s;
    pointer-events: none;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav__link, .nav__trigger {
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 16px;
    width: 100%;
    text-align: left;
  }
  .mega-menu--mobile {
    display: block;
    position: static;
    transform: none;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 12px 0 12px 16px;
    grid-template-columns: 1fr;
    gap: 0;
  }
  .nav__item--dropdown:not(.open) .mega-menu--mobile { display: none; }
  .mega-menu__col { margin-bottom: 16px; }

  .burger { display: flex; }
  .header__login { display: none; }
  .header__actions .btn--primary { display: none; }

  .header-user {
    padding: 4px;
    border-radius: 50%;
    border-color: transparent;
    box-shadow: none;
  }

  .header-user:hover {
    border-color: transparent;
    box-shadow: none;
    background: var(--gray-100);
  }

  .header-user__text { display: none; }

  .header-user__avatar {
    width: 36px;
    height: 36px;
  }

  .hero__top { grid-template-columns: 1fr; gap: 24px; }
  .hero__cards { grid-template-columns: 1fr; }
  .hero-card { min-height: 320px; }
  .hero-card__tags { padding: 40px 16px 16px; }
  .hero-card__tag { font-size: 13px; padding: 12px 18px; white-space: normal; }
  .hero-card__tag--title { padding: 14px 20px; }

  .offer-grid { grid-template-columns: 1fr; }
  .offer-card { height: 300px; }
  .features-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .brands-list { grid-template-columns: 1fr; gap: 0; }
  .brands-list__col .brand-row:first-child { border-top: none; }
  .brands-list__col:first-child .brand-row:last-child { border-bottom: none; }
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .catalog-toolbar {
    gap: 12px;
    font-size: 12px;
    flex-wrap: wrap;
    max-width: 100%;
  }
  .product-card {
    padding: 12px;
    border-radius: var(--radius-sm);
    overflow: hidden;
  }
  .product-card__img {
    margin-bottom: 10px;
    border-radius: 10px;
  }
  .product-card h4 {
    font-size: 12px;
    min-height: calc(1.35em * 2);
    margin-bottom: 6px;
  }
  .product-card__price {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .product-card__price strong { font-size: 14px; }
  .product-card__actions {
    gap: 6px;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
  }
  .product-card__actions .btn--primary {
    padding: 10px 8px;
    font-size: 11px;
    border-radius: 10px;
    white-space: normal;
    width: 100%;
    flex: none;
    line-height: 1.25;
  }
  .product-card__cart {
    width: 100%;
    height: 38px;
    border-radius: 10px;
  }
  .product-card__badge {
    top: 6px;
    left: 6px;
    font-size: 10px;
    padding: 3px 8px;
  }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }

  .promo__inner { min-height: 420px; }
  .promo__image {
    width: 100%;
    opacity: 1;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 20%, #000 45%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 20%, #000 45%, #000 100%);
  }
  .promo__inner::before {
    background: linear-gradient(180deg, rgba(11, 31, 58, 0.94) 0%, rgba(11, 31, 58, 0.82) 55%, rgba(11, 31, 58, 0.45) 100%);
  }
  .promo__inner::after { display: none; }
  .promo__content { max-width: none; padding: 32px 24px; }

  .section { padding: 56px 0; }

  .product-top {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-bottom: 32px;
    align-items: start;
  }

  .product-gallery {
    min-height: 280px;
  }

  .product-gallery__thumbs img {
    width: 56px;
    height: 56px;
  }
}

/* Spotlight search */
.search-spotlight {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 24px 24px;
}

.search-spotlight.is-open {
  display: flex;
}

.search-spotlight__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.search-spotlight__panel {
  position: relative;
  width: 100%;
  max-width: 680px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(11, 31, 58, 0.28);
  overflow: hidden;
  transform: translateY(-12px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.search-spotlight.is-open .search-spotlight__panel {
  transform: translateY(0) scale(1);
}

.search-spotlight__input-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--gray-100);
}

.search-spotlight__input-wrap svg {
  flex-shrink: 0;
  color: var(--gray-400);
}

.search-spotlight__input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 20px;
  font-weight: 500;
  color: var(--navy);
  background: transparent;
}

.search-spotlight__input::placeholder { color: var(--gray-400); }

.search-spotlight__kbd {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  font-size: 11px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.search-spotlight__body {
  max-height: min(52vh, 420px);
  overflow-y: auto;
}

.search-spotlight__hint {
  padding: 28px 22px;
  text-align: center;
  color: var(--gray-400);
  font-size: 14px;
}

.search-spotlight__group + .search-spotlight__group {
  border-top: 1px solid var(--gray-100);
}

.search-spotlight__group-title {
  padding: 10px 22px 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
}

.search-spotlight__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 22px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.15s;
}

.search-spotlight__item:hover,
.search-spotlight__item.is-active {
  background: rgba(0, 136, 96, 0.08);
}

.search-spotlight__item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.search-spotlight__item-icon--product { background: rgba(0, 136, 96, 0.1); }
.search-spotlight__item-icon--category { background: rgba(74, 159, 212, 0.12); }
.search-spotlight__item-icon--brand { background: rgba(11, 31, 58, 0.06); }
.search-spotlight__item-icon--page { background: var(--gray-100); }

.search-spotlight__item-text {
  flex: 1;
  min-width: 0;
}

.search-spotlight__item-text strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-spotlight__item-text span {
  display: block;
  font-size: 13px;
  color: var(--gray-600);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-spotlight__item-text mark {
  background: rgba(0, 136, 96, 0.18);
  color: inherit;
  border-radius: 3px;
  padding: 0 2px;
}

.search-spotlight__item-arrow {
  flex-shrink: 0;
  color: var(--gray-400);
  opacity: 0;
  transition: opacity 0.15s;
}

.search-spotlight__item:hover .search-spotlight__item-arrow,
.search-spotlight__item.is-active .search-spotlight__item-arrow {
  opacity: 1;
}

.search-spotlight__empty {
  padding: 36px 22px;
  text-align: center;
}

.search-spotlight__empty strong {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
}

.search-spotlight__empty span {
  font-size: 14px;
  color: var(--gray-600);
}

.search-spotlight__footer {
  display: flex;
  gap: 16px;
  padding: 10px 22px;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
  font-size: 12px;
  color: var(--gray-600);
}

.search-spotlight__footer kbd {
  display: inline-block;
  min-width: 20px;
  padding: 2px 6px;
  margin-right: 4px;
  border-radius: 4px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  font-size: 11px;
  font-weight: 600;
  text-align: center;
}

body.search-open { overflow: hidden; }

/* Cart popup */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 10vh 24px 24px;
}

.cart-drawer.is-open {
  display: flex;
}

.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.cart-drawer__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: min(80vh, 640px);
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 24px 80px rgba(11, 31, 58, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(-12px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-drawer.is-open .cart-drawer__panel {
  transform: translateY(0) scale(1);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--gray-100);
}

.cart-drawer__header h2 {
  font-size: 22px;
  font-weight: 700;
}

.cart-drawer__count {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  margin-top: 2px;
}

.cart-drawer__close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--gray-50);
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.cart-drawer__close:hover { background: var(--gray-100); }

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 24px 16px;
  min-height: 120px;
}

.cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 200px;
  padding: 32px 24px;
  color: var(--gray-600);
}

.cart-drawer__empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gray-400);
}

.cart-drawer__empty strong {
  display: block;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 8px;
}

.cart-drawer__empty p {
  font-size: 14px;
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-100);
}

.cart-item:last-child { border-bottom: none; }

.cart-item__img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--gray-50);
  flex-shrink: 0;
}

.cart-item__info { flex: 1; min-width: 0; }

.cart-item__title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item__price {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.cart-item__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
}

.cart-item__qty button {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--gray-50);
  color: var(--navy);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s;
}

.cart-item__qty button:hover { background: var(--gray-100); }

.cart-item__qty span {
  min-width: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.cart-item__remove {
  border: none;
  background: none;
  color: var(--gray-400);
  font-size: 13px;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.15s;
}

.cart-item__remove:hover { color: #c0392b; }

.cart-drawer__footer {
  padding: 20px 24px 28px;
  border-top: 1px solid var(--gray-100);
  background: var(--gray-50);
}

.cart-drawer__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.cart-drawer__total span {
  font-size: 14px;
  color: var(--gray-600);
}

.cart-drawer__total strong {
  font-size: 22px;
  font-weight: 800;
}

.cart-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body.cart-open { overflow: hidden; }

@media (max-width: 768px) {
  .search-spotlight {
    padding: 0;
    align-items: stretch;
  }

  .search-spotlight__panel {
    max-width: none;
    min-height: 100%;
    border-radius: 0;
    transform: translateY(100%);
    display: flex;
    flex-direction: column;
  }

  .search-spotlight.is-open .search-spotlight__panel {
    transform: translateY(0);
  }

  .search-spotlight__input { font-size: 17px; }
  .search-spotlight__kbd { display: none; }
  .search-spotlight__body { max-height: none; flex: 1; }

  .cart-drawer {
    padding: 16px;
    align-items: center;
  }

  .cart-drawer__panel {
    max-width: none;
    max-height: calc(100vh - 32px);
    border-radius: 16px;
  }
}

/* Checkout */
.checkout-body { background: #f7f8fa; }

.checkout-page {
  padding: 28px 0 88px;
  min-height: calc(100vh - var(--header-h));
}

.container--checkout {
  max-width: var(--container);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
}

.checkout-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 0;
}

.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.checkout-back {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
  transition: border-color 0.2s, background 0.2s;
}

.checkout-back:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.checkout-head h1 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.checkout-panel {
  background: var(--white);
  border: 1px solid #e8eaed;
  border-radius: 18px;
  padding: 28px 28px 32px;
}

.checkout-panel__head {
  margin-bottom: 18px;
}

.checkout-panel__head h2,
.checkout-step-head h2 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.checkout-buyer-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  background: #f0f2f5;
  border-radius: 999px;
  margin-bottom: 22px;
}

.checkout-buyer-tabs__btn {
  padding: 10px 20px;
  border: none;
  border-radius: 999px;
  background: transparent;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.checkout-buyer-tabs__btn.is-active {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 136, 96, 0.25);
}

.checkout-buyer-panel--hidden { display: none; }

.checkout-buyer-hint {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.checkout-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  padding: 22px;
  background: #fafbfc;
  border: 1px solid #eceef1;
  border-radius: 16px;
}

.checkout-form-grid--single {
  grid-template-columns: 1fr;
}

.checkout-delivery-fields--ukr .checkout-form-grid,
.checkout-delivery-fields--meest .checkout-form-grid {
  padding: 0;
  background: transparent;
  border: none;
}

.checkout-step-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}

.checkout-step-num {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffe600;
  color: var(--navy);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin-top: 2px;
}

.checkout-step-head__main {
  flex: 1;
  min-width: 0;
}

.checkout-step-head__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.checkout-step-head__price {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.checkout-edit-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.checkout-edit-link:hover { color: var(--accent-hover); }

.checkout-products {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-product {
  display: flex;
  gap: 16px;
  padding: 16px;
  border: 1px solid #eceef1;
  border-radius: 16px;
  background: #fafbfc;
}

.checkout-product__img {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--white);
}

.checkout-product__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-product__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checkout-product__body h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.checkout-product__meta {
  font-size: 13px;
  color: var(--gray-500);
}

.checkout-product__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: auto;
}

.checkout-product__price s {
  font-size: 13px;
  color: var(--gray-400);
}

.checkout-product__price strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--accent);
}

.checkout-city-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
  margin-bottom: 16px;
  border: 1px solid #e0e3e8;
  border-radius: 14px;
  background: var(--white);
  cursor: pointer;
  font-family: var(--font);
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.checkout-city-bar:hover,
.checkout-city-bar:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 136, 96, 0.1);
}

.checkout-city-bar__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 136, 96, 0.1);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkout-city-bar__label {
  font-size: 13px;
  color: var(--gray-500);
  flex-shrink: 0;
}

.checkout-city-bar__value {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.checkout-city-bar input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.checkout-city-bar input:focus { outline: none; }

.checkout-city-bar__chevron {
  font-size: 22px;
  color: var(--gray-400);
  line-height: 1;
}

.checkout-delivery-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.checkout-delivery-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid #e0e3e8;
  border-radius: 16px;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.checkout-delivery-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-delivery-option__radio {
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}

.checkout-delivery-option__radio::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.15s;
}

.checkout-delivery-option input:checked + .checkout-delivery-option__radio::after {
  transform: scale(1);
}

.checkout-delivery-option__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checkout-delivery-option__content strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.checkout-delivery-option__content span {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.45;
}

.checkout-delivery-option__brand {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.checkout-delivery-option__brand--np {
  color: #e4002b;
  padding: 6px 10px;
  border: 1px solid #f5c6cf;
  border-radius: 8px;
  background: #fff5f6;
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
  max-width: 72px;
}

.checkout-delivery-option__brand--ukr {
  color: #1a1a1a;
  padding: 6px 10px;
  border: 1px solid #f5e6a8;
  border-radius: 8px;
  background: #fffbea;
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
  max-width: 72px;
}

.checkout-delivery-option__brand--meest {
  color: #0061af;
  padding: 6px 10px;
  border: 1px solid #c5ddf5;
  border-radius: 8px;
  background: #eef6ff;
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
  max-width: 72px;
}

.checkout-delivery-option.is-active,
.checkout-delivery-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(0, 136, 96, 0.03);
  box-shadow: 0 0 0 1px rgba(0, 136, 96, 0.08);
}

.checkout-delivery-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.checkout-delivery-fields[hidden] { display: none; }

.checkout-suggest {
  position: relative;
}

.checkout-suggest__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 20;
  max-height: 280px;
  overflow-y: auto;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: var(--white);
  border: 1px solid #e0e3e8;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
}

.checkout-suggest__item,
.checkout-suggest__empty {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--navy);
}

.checkout-suggest__item {
  cursor: pointer;
  transition: background 0.15s;
}

.checkout-suggest__item:hover {
  background: rgba(0, 136, 96, 0.08);
}

.checkout-suggest__empty {
  color: var(--gray-500);
}

.np-modal[hidden] { display: none; }

body.np-modal-open { overflow: hidden; }

.np-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.np-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 31, 58, 0.45);
}

.np-modal__dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: min(90vh, 640px);
  overflow: auto;
  background: var(--white);
  border-radius: 20px;
  padding: 28px 28px 20px;
  box-shadow: var(--shadow-lg);
}

.np-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--navy);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.np-modal__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  padding-right: 40px;
}

.np-modal__hint {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.np-modal__list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid #eceef1;
  border-radius: 14px;
  overflow: hidden;
}

.np-modal__item,
.np-modal__empty {
  padding: 14px 16px;
  font-size: 15px;
  color: var(--navy);
  border-bottom: 1px solid #f0f2f5;
}

.np-modal__item:last-child,
.np-modal__empty:last-child {
  border-bottom: none;
}

.np-modal__item {
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.np-modal__item:hover {
  background: var(--accent);
  color: var(--white);
}

.np-modal__empty {
  color: var(--gray-500);
}

.instruction-modal__dialog {
  width: min(100%, 920px);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
}

.instruction-modal__frame {
  width: 100%;
  min-height: 60vh;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: var(--gray-50);
}

.instruction-modal__download {
  margin-top: 16px;
  align-self: flex-start;
}

.instruction-modal__external {
  margin: 0 0 8px;
  color: var(--gray-600);
  font-size: 15px;
}

.checkout-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.checkout-sidebar__card {
  background: var(--white);
  border: 1px solid #e8eaed;
  border-radius: 18px;
  padding: 28px;
}

.checkout-summary {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

.checkout-summary h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.checkout-summary__rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  color: var(--gray-600);
}

.checkout-summary__row span:last-child {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.checkout-summary__free {
  color: var(--accent) !important;
}

.checkout-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-100);
}

.checkout-summary__total span {
  font-size: 15px;
  font-weight: 600;
}

.checkout-summary__total strong {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.checkout-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-field--full { grid-column: 1 / -1; }

.checkout-field--compact input { max-width: 120px; }

.checkout-field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
}

.checkout-field span em {
  color: #e74c3c;
  font-style: normal;
}

.checkout-field input,
.checkout-field textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid #dfe3e8;
  border-radius: 14px;
  font-family: var(--font);
  font-size: 15px;
  color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.checkout-field textarea {
  resize: vertical;
  min-height: 88px;
}

.checkout-field input:focus,
.checkout-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 136, 96, 0.1);
}

.checkout-field input::placeholder,
.checkout-field textarea::placeholder { color: var(--gray-400); }

.checkout-pay-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-pay-option {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid #e0e3e8;
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.checkout-pay-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-pay-option__radio {
  width: 24px;
  height: 24px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s;
}

.checkout-pay-option__radio::after {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--accent);
  transform: scale(0);
  transition: transform 0.15s;
}

.checkout-pay-option input:checked + .checkout-pay-option__radio {
  border-color: var(--accent);
}

.checkout-pay-option input:checked + .checkout-pay-option__radio::after {
  transform: scale(1);
}

.checkout-pay-option__content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.checkout-pay-option__label {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
}

.checkout-pay-option__logo {
  display: block;
  height: 22px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
}

.checkout-pay-option__badge {
  font-size: 12px;
  font-weight: 800;
  color: #6b2d8b;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f3ebf8;
  letter-spacing: 0.02em;
}

.checkout-pay-option.is-active,
.checkout-pay-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(0, 136, 96, 0.03);
  box-shadow: 0 0 0 1px rgba(0, 136, 96, 0.08);
}

.checkout-legal {
  margin-top: 14px;
  font-size: 12px;
  color: var(--gray-400);
  line-height: 1.5;
  text-align: center;
}

.checkout-legal a {
  color: var(--gray-600);
  text-decoration: underline;
}

.checkout-empty {
  text-align: center;
  padding: 80px 24px;
  max-width: 420px;
  margin: 0 auto;
}

.checkout-empty__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--white);
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: var(--shadow);
}

.checkout-empty h1 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.checkout-empty p {
  color: var(--gray-600);
  margin-bottom: 24px;
}

@media (max-width: 1024px) {
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-sidebar {
    position: static;
  }
}

@media (min-width: 520px) and (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 640px) {
  :root {
    --page-gutter: 20px;
  }

  .container.catalog-layout {
    padding-inline: 20px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card { padding: 10px; }

  .product-card h4 { font-size: 11px; }

  .product-card__price strong { font-size: 13px; }

  .product-card__actions .btn--primary {
    padding: 9px 6px;
    font-size: 10px;
  }

  .product-card__cart { height: 34px; }

  .checkout-page { padding: 20px 0 64px; }

  .checkout-panel {
    padding: 20px 18px 24px;
    border-radius: 16px;
  }

  .checkout-form-grid {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .checkout-delivery-fields {
    grid-template-columns: 1fr;
  }

  .checkout-field--compact input { max-width: none; }

  .checkout-step-head__row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .checkout-buyer-tabs {
    display: flex;
    width: 100%;
  }

  .checkout-buyer-tabs__btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
  }

  .checkout-delivery-option {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .checkout-delivery-option__brand {
    margin-left: 40px;
  }

  .checkout-sidebar__card {
    padding: 20px 18px 24px;
  }
}

/* Info / text pages */
.info-page {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  padding: 48px 0 80px;
  align-items: start;
}

.info-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  min-width: 0;
}

.info-page__head h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 8px;
}

.info-page__head p {
  color: var(--gray-600);
  max-width: 720px;
  line-height: 1.6;
}

.info-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 48px;
  padding: 48px 0 80px;
  align-items: start;
}

.info-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.info-sidebar h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 16px;
  padding: 0 14px;
}

.info-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.info-nav a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: background 0.2s, color 0.2s;
}

.info-nav a:hover {
  background: var(--gray-50);
  color: var(--navy);
}

.info-nav a.active {
  background: rgba(0, 136, 96, 0.08);
  color: var(--accent);
  font-weight: 600;
}

.info-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 48px;
  box-shadow: var(--shadow);
}

.info-content h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 12px;
}

.info-content h2:first-child { margin-top: 0; }

.info-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 24px 0 8px;
}

.info-content p {
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.75;
  font-size: 15px;
}

.info-content ul,
.info-content ol {
  margin: 0 0 16px;
  padding-left: 24px;
  color: var(--gray-600);
  font-size: 15px;
  line-height: 1.75;
}

.info-content li { margin-bottom: 8px; }

.info-content li::marker { color: var(--accent); }

.info-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.info-content a:hover { color: var(--accent-hover); }

.info-callout {
  background: var(--gray-50);
  border-left: 3px solid var(--accent);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

.info-content__updated {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
}

@media (max-width: 900px) {
  .info-page,
  .info-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .info-sidebar { position: static; }

  .info-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .info-content { padding: 28px 24px; }
}
