:root {
  color-scheme: light;
  --font-main: "Plus Jakarta Sans", Inter, Manrope, "Segoe UI", Arial, sans-serif;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f8fb;
  --surface-3: #edf1f6;
  --text: #0f172a;
  --text-soft: #334155;
  --muted: #667085;
  --line: rgba(15, 23, 42, 0.12);
  --line-strong: rgba(15, 23, 42, 0.18);
  --red: #e61e25;
  --red-2: #ff2a2a;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-soft: none;
  --glow: 0 18px 45px rgba(230, 30, 37, 0.13);
  --promo-text: #ffffff;
  --footer-bg: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  --footer-text: #0f172a;
  --bottom-card-bg: radial-gradient(circle at 0 0, rgba(230, 30, 37, 0.07), transparent 42%),
    linear-gradient(180deg, #ffffff, #f7f9fc);
  --bottom-card-text: #0f172a;
  --bottom-muted: #64748b;
  --bottom-line: rgba(15, 23, 42, 0.12);
  --bottom-strip-bg: linear-gradient(180deg, #ffffff, #f2f5fa);
  --bottom-chip-bg: rgba(255, 255, 255, 0.82);
  --bottom-app-bg: #0f172a;
  --bottom-app-text: #ffffff;
  --bottom-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
  --product-card-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --product-media-bg: linear-gradient(135deg, #f1f5f9, #ffffff);
  --product-text: #0f172a;
  --product-muted: #64748b;
  --product-line: rgba(15, 23, 42, 0.12);
  --product-chip-bg: rgba(255, 255, 255, 0.84);
  --product-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
  --auth-bg:
    radial-gradient(circle at 18% 0, rgba(230, 30, 37, 0.09), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
  --auth-card-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --auth-panel-bg:
    radial-gradient(circle at 16% 0, rgba(230, 30, 37, 0.14), transparent 32%),
    linear-gradient(145deg, #111827 0%, #07111c 100%);
  --auth-field-bg: #ffffff;
  --auth-soft: #64748b;
  --auth-line: rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  letter-spacing: 0;
  overflow-x: hidden;
}

:root[data-theme="dark"] {
  --bg: #07111c;
  --surface: #0b1522;
  --surface-2: #0e1b2a;
  --surface-3: #111f30;
  --text: #f8fafc;
  --text-soft: #d9e2ee;
  --muted: #a4b4c7;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.25);
  --glow: 0 24px 70px rgba(230, 30, 37, 0.18);
  --promo-text: #ffffff;
  --footer-bg: linear-gradient(180deg, #06101b 0%, #030812 100%);
  --footer-text: #eef4fb;
  --bottom-card-bg: radial-gradient(circle at 0 0, rgba(230, 30, 37, 0.14), transparent 42%),
    linear-gradient(180deg, #0b1725, #07111c);
  --bottom-card-text: #f8fafc;
  --bottom-muted: #94a3b8;
  --bottom-line: rgba(255, 255, 255, 0.08);
  --bottom-strip-bg: linear-gradient(180deg, #0a1623, #06101b);
  --bottom-chip-bg: rgba(255, 255, 255, 0.045);
  --bottom-app-bg: #020617;
  --bottom-app-text: #ffffff;
  --bottom-shadow: 0 14px 34px rgba(2, 8, 16, 0.18);
  --product-card-bg: linear-gradient(180deg, #0e1b2a 0%, #08121f 100%);
  --product-media-bg: radial-gradient(circle at 50% 0, rgba(230, 30, 37, 0.16), transparent 42%),
    linear-gradient(135deg, #111f30, #07111c);
  --product-text: #f8fafc;
  --product-muted: #a4b4c7;
  --product-line: rgba(255, 255, 255, 0.1);
  --product-chip-bg: rgba(7, 17, 28, 0.78);
  --product-shadow: 0 20px 54px rgba(0, 0, 0, 0.28);
  --auth-bg:
    radial-gradient(circle at 16% 0, rgba(230, 30, 37, 0.16), transparent 28%),
    linear-gradient(180deg, #07111c 0%, #030812 100%);
  --auth-card-bg: linear-gradient(180deg, #0e1b2a 0%, #08121f 100%);
  --auth-panel-bg:
    radial-gradient(circle at 12% 0, rgba(230, 30, 37, 0.22), transparent 36%),
    linear-gradient(145deg, #101b2b 0%, #030812 100%);
  --auth-field-bg: rgba(255, 255, 255, 0.045);
  --auth-soft: #a4b4c7;
  --auth-line: rgba(255, 255, 255, 0.1);
  color-scheme: dark;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

a,
button,
.feature-card,
.category-card,
.promo-card,
.recruit-card,
.advantages article,
.metrics article,
.brand-marquee span {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    background 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

img {
  display: block;
  max-width: 100%;
}

.icon-sprite {
  display: none;
}

.icon {
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.icon--xs {
  width: 0.8rem;
  height: 0.8rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.marketplace-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0, rgba(230, 30, 37, 0.08), transparent 26%),
    var(--bg);
}

:root[data-theme="light"] .marketplace-shell {
  background: #ffffff;
}

.top-strip,
.market-header,
.secondary-nav,
.hero,
.features,
.categories,
.product-showcase,
.promo-grid,
.seller-ambassador,
.advantages,
.brands,
.metrics,
.micro-trust,
.market-footer {
  width: min(1500px, calc(100% - 32px));
  margin-inline: auto;
}

.top-strip {
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
}

:root[data-theme="dark"] .top-strip {
  background: linear-gradient(90deg, #060d16, #0b1522 45%, #10090c);
}

.top-strip__inner {
  width: min(1500px, calc(100% - 32px));
  min-height: 34px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.local-pill,
.top-strip__links {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.flag-dot {
  display: grid;
  place-items: center;
  width: 1.7rem;
  height: 1.05rem;
  border-radius: 0.2rem;
  background: var(--red);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 900;
}

.top-strip__links a:hover {
  color: var(--red);
}

.market-header {
  position: sticky;
  top: 0;
  z-index: 140;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  backdrop-filter: blur(14px);
}

:root[data-theme="dark"] .market-header {
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.market-header__main {
  width: min(1500px, calc(100% - 32px));
  min-height: 76px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 190px minmax(480px, 1fr) auto;
  align-items: center;
  gap: 0.8rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 900;
  white-space: nowrap;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.35rem;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, var(--red), #9f1117);
  color: #fff;
  font-style: italic;
  box-shadow: 0 14px 30px rgba(230, 30, 37, 0.2);
}

.brand:hover .brand__mark {
  transform: translateY(-1px) rotate(-2deg);
  box-shadow: 0 18px 36px rgba(230, 30, 37, 0.28);
}

.search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, auto) 54px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: none;
}

:root[data-theme="light"] .search-bar {
  box-shadow: none;
}

.search-bar:focus-within {
  border-color: rgba(230, 30, 37, 0.48);
  box-shadow: 0 0 0 4px rgba(230, 30, 37, 0.08);
}

.search-bar input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  padding: 0.95rem 1rem;
  font-weight: 700;
  text-overflow: ellipsis;
}

.search-bar input::placeholder {
  color: var(--muted);
}

.search-bar__category,
.search-bar__submit {
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-bar__category {
  gap: 0.45rem;
  border-left: 1px solid var(--line);
  padding-inline: 0.85rem;
  background: var(--surface-2);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.search-bar__submit {
  background: var(--red);
  color: #fff;
}

.search-bar__submit:hover {
  background: #ff3333;
  transform: translateX(1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.header-action,
.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: var(--surface-2);
  color: var(--text-soft);
  padding: 0 0.68rem;
  font-size: 0.76rem;
  font-weight: 900;
}

.header-action:hover,
.theme-toggle:hover {
  border-color: rgba(230, 30, 37, 0.4);
  color: var(--red);
}

.cart-badge {
  position: absolute;
  top: -0.45rem;
  right: -0.35rem;
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
}

.theme-toggle {
  width: 40px;
  padding: 0;
}

:root[data-theme="light"] .theme-toggle__moon,
:root[data-theme="dark"] .theme-toggle__sun {
  display: none;
}

.mobile-drawer-toggle {
  display: none;
}

.mobile-drawer {
  display: none;
}

.secondary-nav {
  position: relative;
  z-index: 80;
  width: min(1500px, calc(100% - 32px));
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: transparent;
}

.category-hover {
  position: relative;
  flex: 0 0 auto;
}

.all-categories {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 0.6rem;
  background: var(--surface-2);
  color: var(--text);
  padding: 0 0.9rem;
  font-size: 0.82rem;
  font-weight: 900;
}

.all-categories:hover,
.category-hover--open .all-categories,
.category-hover:focus-within .all-categories {
  border-color: rgba(230, 30, 37, 0.44);
  background: linear-gradient(135deg, var(--red), #b4141a);
  color: #fff;
  box-shadow: var(--glow);
}

.category-mega {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 260;
  width: min(920px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  display: none;
  opacity: 1;
  pointer-events: none;
  transform: none;
}

.category-hover:hover .category-mega,
.category-hover:focus-within .category-mega,
.category-hover.category-hover--open .category-mega,
.category-mega.category-mega--open {
  display: block;
  pointer-events: auto;
}

.category-hover:hover .category-mega__panel,
.category-hover:focus-within .category-mega__panel,
.category-hover.category-hover--open .category-mega__panel,
.category-mega.category-mega--open .category-mega__panel {
  animation: megaMenuIn 180ms ease both;
}

.category-mega__panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.95rem;
  background:
    radial-gradient(circle at 8% 0, rgba(230, 30, 37, 0.08), transparent 26%),
    var(--surface);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.category-mega__branch {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: var(--surface-2);
  padding: 0.8rem;
}

.category-mega__branch::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--red);
  opacity: 0;
  transition: opacity 180ms ease;
}

.category-mega__branch:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 30, 37, 0.35);
  background: color-mix(in srgb, var(--surface-2) 82%, var(--red));
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
}

.category-mega__branch:hover::before {
  opacity: 1;
}

.category-mega h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.45rem;
  margin: 0 0 0.55rem;
  font-size: 0.9rem;
  font-weight: 900;
}

.category-mega h3 span {
  border-radius: 999px;
  background: rgba(230, 30, 37, 0.12);
  color: var(--red);
  padding: 0.18rem 0.42rem;
  font-size: 0.56rem;
  font-weight: 900;
  white-space: nowrap;
}

.category-mega a {
  display: block;
  padding: 0.36rem 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.category-mega a:hover {
  color: var(--red);
  transform: translateX(3px);
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  min-width: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 34px;
  border-radius: 0.55rem;
  color: var(--text-soft);
  padding: 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 900;
}

.nav-links a:hover {
  background: rgba(230, 30, 37, 0.1);
  color: var(--red);
  transform: translateY(-1px);
}

.nav-links span {
  border-radius: 0.22rem;
  background: var(--red);
  color: #fff;
  padding: 0.12rem 0.25rem;
  font-size: 0.62rem;
  font-weight: 900;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(270px, 0.92fr) minmax(390px, 1.16fr) 286px;
  gap: 0.9rem;
  min-height: 392px;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 70% 40%, rgba(255, 42, 42, 0.16), transparent 35%),
    var(--surface);
  box-shadow: var(--shadow);
  padding: 0.95rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.08) 42%, transparent 64%);
  transform: translateX(-120%);
  animation: shineSweep 8s ease-in-out infinite;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero__copy {
  align-self: center;
  padding: clamp(0.35rem, 1.65vw, 1.1rem);
}

.eyebrow {
  margin: 0;
  color: var(--red);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 620px;
  margin: 0.4rem 0 0;
  color: var(--text);
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(2.35rem, 4.45vw, 4.45rem);
  font-weight: 900;
  line-height: 0.92;
}

.hero h1 span {
  display: block;
  color: var(--red);
}

.hero__lead {
  margin: 0.82rem 0 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 900;
}

.hero__text {
  max-width: 520px;
  margin: 0.68rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
}

.hero__actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: 0.65rem;
  padding: 0 1rem;
  font-size: 0.84rem;
  font-weight: 900;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 30px rgba(230, 30, 37, 0.2);
}

.button--primary:hover {
  background: #ff2a2a;
}

.button--secondary,
.button--ghost {
  border-color: var(--line-strong);
  background: var(--surface-2);
  color: var(--text);
}

.button--secondary:hover,
.button--ghost:hover {
  border-color: rgba(230, 30, 37, 0.4);
  color: var(--red);
}

.hero__media {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--surface-2);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  transition: transform 700ms ease, filter 300ms ease;
}

.hero:hover .hero__media img {
  transform: scale(1.035);
  filter: saturate(1.16) contrast(1.06);
}

.hero__media-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 45%),
    radial-gradient(circle at 58% 78%, rgba(255, 42, 42, 0.38), transparent 28%);
}

.hero__floating {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.7rem;
  background: rgba(5, 11, 18, 0.78);
  color: #fff;
  padding: 0.6rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 900;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  animation: heroFloat 4.8s ease-in-out infinite;
}

.hero__floating--cart {
  left: 1rem;
  bottom: 1rem;
}

.hero__floating--tn {
  top: 1rem;
  left: 1rem;
  background: var(--red);
  animation-delay: 450ms;
}

.hero__floating--deal {
  right: 1rem;
  bottom: 1rem;
  color: #fff;
  background: linear-gradient(135deg, var(--red), #7f1d1d);
  animation-delay: 900ms;
}

.trust-panel {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-self: stretch;
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--surface-2);
  padding: 0.75rem;
}

.customer-proof {
  display: grid;
  gap: 0.25rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.72rem;
}

.avatar-stack {
  display: flex;
  margin-bottom: 0.35rem;
}

.avatar-stack img {
  width: 34px;
  height: 34px;
  margin-left: -0.35rem;
  border: 2px solid var(--surface-2);
  border-radius: 999px;
  object-fit: cover;
}

.avatar-stack img:first-child {
  margin-left: 0;
}

.customer-proof strong {
  font-size: 1.45rem;
  font-weight: 900;
}

.customer-proof span,
.trust-row span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
}

.trust-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
}

.trust-row .icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(230, 30, 37, 0.25);
  border-radius: 999px;
  color: var(--red);
  padding: 0.45rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.feature-card,
.metrics article,
.advantages article {
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 122px;
  padding: 0.85rem;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transform: translateX(-50%);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 30, 37, 0.35);
  box-shadow: var(--glow);
}

.feature-card:hover::after {
  opacity: 1;
  animation: shineSweep 1.8s ease-in-out;
}

.feature-card span,
.advantages .icon,
.metrics .icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(230, 30, 37, 0.28);
  border-radius: 999px;
  color: var(--red);
  margin-bottom: 0.65rem;
}

.feature-card:hover span,
.advantages article:hover .icon,
.metrics article:hover .icon {
  background: var(--red);
  color: #fff;
  transform: rotate(-4deg) scale(1.04);
}

.feature-card strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 900;
}

.feature-card p {
  margin: 0.3rem 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.35;
}

.categories,
.product-showcase,
.brands {
  margin-top: 1.5rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.section-heading h2 {
  margin: 0.15rem 0 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 900;
}

.section-heading span,
.text-link {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 900;
}

.section-heading__copy {
  max-width: 520px;
  margin: 0.28rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
}

.text-link:hover {
  color: var(--red);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.65rem;
}

.category-rail {
  min-width: 0;
}

.category-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 198px;
  flex-direction: column;
  gap: 0.65rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 0.7rem;
  isolation: isolate;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 24% 0, rgba(230, 30, 37, 0.1), transparent 32%),
    linear-gradient(180deg, transparent, rgba(230, 30, 37, 0.035));
  opacity: 0;
  transition: opacity 180ms ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(230, 30, 37, 0.42);
  box-shadow: var(--glow);
}

.category-card:hover::before {
  opacity: 1;
}

.category-card__image {
  position: relative;
  display: grid;
  min-height: 92px;
  place-items: end start;
  overflow: hidden;
  border-radius: 0.65rem;
  background-image:
    linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.5)),
    var(--cat-img);
  background-size: cover;
  background-position: center;
  padding: 0.5rem;
  transition: transform 220ms ease, filter 220ms ease;
}

.category-card:hover .category-card__image {
  transform: scale(1.025);
  filter: saturate(1.12) contrast(1.04);
}

.category-card__image .icon {
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 0.65rem;
  background: rgba(230, 30, 37, 0.78);
  color: #fff;
  padding: 0.45rem;
  transition: transform 220ms ease, background 220ms ease;
}

.category-card:hover .category-card__image .icon {
  background: rgba(255, 255, 255, 0.94);
  color: var(--red);
  transform: translateY(-2px) rotate(-4deg);
}

.category-card strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1.22;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-card small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

@media (min-width: 1250px) {
  .category-card:nth-last-child(3) {
    grid-column-start: 3;
  }
}

.product-showcase {
  position: relative;
  scroll-margin-top: 140px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--product-line);
  border-radius: 1rem;
  background: var(--product-card-bg);
  box-shadow: var(--shadow-soft);
  isolation: isolate;
  transition:
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 0, rgba(230, 30, 37, 0.13), transparent 28%),
    linear-gradient(180deg, transparent, rgba(230, 30, 37, 0.04));
  opacity: 0;
  transition: opacity 200ms ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(230, 30, 37, 0.38);
  box-shadow: var(--product-shadow);
}

.product-card:hover::before {
  opacity: 1;
}

.product-card__media {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--product-media-bg);
}

.product-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.34));
  opacity: 0.52;
  pointer-events: none;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease, filter 320ms ease;
}

.product-card:hover .product-card__image {
  transform: scale(1.055);
  filter: saturate(1.1) contrast(1.03);
}

.product-card__badges,
.product-card__actions {
  position: absolute;
  z-index: 2;
  display: flex;
  gap: 0.42rem;
}

.product-card__badges {
  top: 0.65rem;
  left: 0.65rem;
  flex-wrap: wrap;
}

.product-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid var(--product-line);
  border-radius: 999px;
  background: var(--product-chip-bg);
  color: var(--product-text);
  padding: 0 0.55rem;
  font-size: 0.66rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.product-card__badge--deal {
  border-color: rgba(230, 30, 37, 0.46);
  background: var(--red);
  color: #fff;
}

.product-card__actions {
  top: 0.65rem;
  right: 0.65rem;
  flex-direction: column;
}

.product-card__actions button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--product-line);
  border-radius: 999px;
  background: var(--product-chip-bg);
  color: var(--product-text);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(12px);
}

.product-card__actions button:hover {
  border-color: rgba(230, 30, 37, 0.42);
  background: var(--red);
  color: #fff;
  transform: translateY(-1px);
}

.product-card__body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1rem;
}

.product-card__meta,
.product-card__rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.product-card__meta {
  justify-content: space-between;
  color: var(--product-muted);
  font-size: 0.72rem;
  font-weight: 900;
}

.product-card__rating {
  color: #f59e0b;
  white-space: nowrap;
}

.product-card h3 {
  display: -webkit-box;
  min-height: 2.5em;
  margin: 0;
  overflow: hidden;
  color: var(--product-text);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card p {
  display: -webkit-box;
  min-height: 2.7em;
  margin: 0;
  overflow: hidden;
  color: var(--product-muted);
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0;
}

.product-card__price strong {
  color: var(--product-text);
  font-size: 1.18rem;
  font-weight: 900;
}

.product-card__price del {
  color: var(--product-muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.product-card__price span {
  color: var(--red);
  font-size: 0.68rem;
  font-weight: 900;
}

.product-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 40px;
  margin-top: 0.12rem;
  border: 0;
  border-radius: 0.72rem;
  background: linear-gradient(135deg, var(--red), #b4141a);
  color: #fff;
  padding: 0 0.78rem;
  font-size: 0.78rem;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(230, 30, 37, 0.18);
}

.product-card__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(230, 30, 37, 0.26);
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.promo-card {
  position: relative;
  display: grid;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: var(--surface);
  color: var(--promo-text);
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.promo-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 42, 42, 0.38);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(255, 42, 42, 0.08);
}

.promo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 650ms ease, filter 300ms ease;
}

.promo-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.12);
}

.promo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.25)),
    radial-gradient(circle at 72% 28%, rgba(255, 42, 42, 0.42), transparent 30%);
}

.promo-card > div:not(.deal-symbol) {
  position: relative;
  z-index: 2;
  align-self: end;
  padding: 1.15rem;
}

.promo-card h3 {
  margin: 0.2rem 0 0;
  color: #fff;
  font-size: clamp(1.42rem, 2.05vw, 2rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.promo-card p {
  max-width: 340px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.42;
}

.promo-card--deals {
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 26%, rgba(255, 174, 67, 0.34), transparent 28%),
    radial-gradient(circle at 10% 100%, rgba(255, 42, 42, 0.32), transparent 34%),
    linear-gradient(135deg, #310609, #08111c 54%, #150309);
}

.promo-card--deals::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent),
    conic-gradient(from 0deg, transparent, rgba(255, 42, 42, 0.48), transparent 38%, rgba(255, 180, 84, 0.4), transparent 72%);
  opacity: 0.18;
  pointer-events: none;
}

.promo-card--deals::after {
  z-index: 0;
  background:
    radial-gradient(circle at 74% 40%, rgba(255, 42, 42, 0.26), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 34%);
}

.promo-card__discount {
  margin: 0.35rem 0 0;
  color: #fff !important;
  font-size: 1.2rem !important;
}

.deal-symbol {
  position: absolute;
  right: 1.2rem;
  top: 1.15rem;
  z-index: 2;
  display: grid;
  width: 105px;
  height: 105px;
  place-items: center;
  border: 2px solid rgba(255, 42, 42, 0.55);
  border-radius: 1rem;
  color: #ffb4b4;
  font-size: 3.5rem;
  font-weight: 900;
  transform: rotate(12deg);
  box-shadow: 0 0 55px rgba(255, 42, 42, 0.28);
}

.deal-clock {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%, 360px);
  margin: 0.78rem 0 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.95rem;
  background:
    radial-gradient(circle at 84% 0, rgba(255, 122, 52, 0.26), transparent 34%),
    linear-gradient(145deg, rgba(31, 7, 10, 0.94), rgba(10, 13, 20, 0.94));
  box-shadow:
    0 0 0 1px rgba(255, 42, 42, 0.08) inset,
    0 18px 48px rgba(255, 42, 42, 0.14),
    0 14px 38px rgba(0, 0, 0, 0.28);
  contain: layout paint style;
  padding: 0.68rem;
}

.deal-clock > * {
  position: relative;
  z-index: 2;
}

.deal-clock::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 100% 100%, 100% 18px;
  opacity: 0.72;
  pointer-events: none;
}

.deal-clock::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 80% 18%, rgba(255, 42, 42, 0.2), transparent 36%);
  pointer-events: none;
}

.deal-clock__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.48rem;
  margin-bottom: 0.55rem;
}

.deal-clock__live,
.deal-clock__status,
.deal-clock__heat {
  display: inline-flex;
  align-items: center;
  min-height: 1.5rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.deal-clock__live {
  background: linear-gradient(135deg, #ff2a2a, #a60f17);
  box-shadow: 0 10px 28px rgba(255, 42, 42, 0.28);
  padding: 0 0.54rem;
}

.deal-clock__status {
  gap: 0.35rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  padding: 0 0.48rem;
}

.deal-clock__status span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #ff3434;
  box-shadow: 0 0 0 5px rgba(255, 42, 42, 0.16);
  animation: countdownCardPulse 1.25s ease-in-out infinite;
}

.deal-clock__heat {
  justify-content: center;
  min-width: 2.9rem;
  background:
    linear-gradient(135deg, #ffd36b, #ff672f 45%, #ff2a2a);
  color: #210407;
  box-shadow:
    0 10px 28px rgba(255, 116, 42, 0.32),
    0 0 0 1px rgba(255, 255, 255, 0.24) inset;
  transform: rotate(2deg);
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.countdown--pro {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.42rem;
}

.countdown-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 70px;
  grid-template-rows: 1fr auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 42, 42, 0.1) 48%, rgba(0, 0, 0, 0.34) 49%),
    rgba(10, 10, 13, 0.72);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    inset 0 -18px 28px rgba(255, 42, 42, 0.1),
    0 12px 24px rgba(0, 0, 0, 0.18);
  contain: layout paint style;
  perspective: 420px;
  transform-style: preserve-3d;
}

.countdown-card::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  right: 0.4rem;
  top: 50%;
  z-index: 2;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}

.countdown-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 16%, rgba(255, 255, 255, 0.16) 38%, transparent 56%);
  opacity: 0;
  transform: translateX(-40%);
  pointer-events: none;
}

.countdown-card__value {
  position: relative;
  z-index: 3;
  display: grid;
  width: 100%;
  min-height: 2.35rem;
  place-items: center;
  margin-top: 0.18rem;
  color: #fff;
  font-size: clamp(1.16rem, 2vw, 1.5rem);
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 22px rgba(255, 42, 42, 0.35);
}

.countdown-card small {
  position: relative;
  z-index: 3;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0.48rem;
  font-size: 0.53rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.countdown-card__next {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.countdown-card.is-ticking,
.countdown-card.is-ticking-alt {
  border-color: rgba(255, 82, 82, 0.64);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -18px 28px rgba(255, 42, 42, 0.16),
    0 0 22px rgba(255, 42, 42, 0.24);
}

.countdown-card.is-ticking::after,
.countdown-card.is-ticking-alt::after {
  animation: countdownFlipWash 460ms ease-out;
  opacity: 1;
}

.countdown-card.is-ticking .countdown-card__value {
  animation: countdownFlipValue 460ms cubic-bezier(0.16, 0.82, 0.25, 1);
  transform-origin: center bottom;
}

.countdown-card.is-ticking-alt .countdown-card__value {
  animation: countdownFlipValue 460ms cubic-bezier(0.16, 0.82, 0.25, 1);
  transform-origin: center bottom;
}

.countdown__progress {
  position: relative;
  grid-column: 1 / -1;
  overflow: hidden;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.38);
}

.countdown__progress::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(90deg, #ff2a2a, #ff7b34 48%, #ffd36b),
    #ff2a2a;
  box-shadow: 0 0 20px rgba(255, 42, 42, 0.5);
  transform: scaleX(var(--deal-progress, 1));
  transform-origin: left center;
  transition: transform 420ms linear;
}

.countdown__progress::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.56), transparent);
  transform: translateX(-100%);
  animation: progressScan 1.8s ease-in-out infinite;
}

@keyframes countdownFlipValue {
  0% {
    opacity: 0;
    transform: translateY(-0.46rem) rotateX(52deg) scale(0.96);
    text-shadow: 0 0 0 rgba(255, 42, 42, 0);
  }

  58% {
    opacity: 1;
    transform: translateY(0.04rem) rotateX(-7deg) scale(1.08);
    text-shadow: 0 0 24px rgba(255, 116, 42, 0.62);
  }

  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
    text-shadow: 0 0 22px rgba(255, 42, 42, 0.35);
  }
}

@keyframes countdownFlipWash {
  0% {
    opacity: 0;
    transform: translateX(-42%);
  }

  100% {
    opacity: 0;
    transform: translateX(42%);
  }
}

@keyframes progressScan {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(120%);
  }
}

@keyframes countdownCardPulse {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-1px);
  }
}

@keyframes megaMenuIn {
  from {
    opacity: 0.96;
    transform: translateY(6px) scale(0.992);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes softPulse {
  0%,
  100% {
    box-shadow: 0 0 42px rgba(255, 42, 42, 0.2);
    transform: rotate(12deg) scale(1);
  }
  50% {
    box-shadow: 0 0 72px rgba(255, 42, 42, 0.38);
    transform: rotate(12deg) scale(1.035);
  }
}

@keyframes shineSweep {
  0% {
    transform: translateX(-120%);
  }
  42%,
  100% {
    transform: translateX(120%);
  }
}

.seller-ambassador {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.recruit-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  min-height: 275px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.recruit-card > div {
  padding: 1.35rem;
}

.recruit-card h3 {
  margin: 0.2rem 0 0;
  font-size: 1.55rem;
  font-weight: 900;
}

.recruit-card ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.recruit-card li {
  position: relative;
  margin: 0.5rem 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
  padding-left: 1.35rem;
}

.recruit-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: var(--red);
}

.recruit-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.advantages {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  padding: 0.9rem;
}

.advantages article {
  display: grid;
  justify-items: center;
  min-height: 110px;
  background: var(--surface-2);
  padding: 0.8rem;
  text-align: center;
}

.advantages article:hover,
.metrics article:hover {
  transform: translateY(-3px);
  border-color: rgba(230, 30, 37, 0.32);
  box-shadow: var(--glow);
}

.advantages .icon {
  margin-bottom: 0.45rem;
}

.advantages strong {
  font-size: 0.9rem;
  font-weight: 900;
}

.advantages span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.brands {
  border: 1px solid var(--line);
  border-radius: 0.95rem;
  background: var(--surface);
  box-shadow: none;
  padding: 1.1rem;
}

.brand-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.brand-marquee__track {
  display: flex;
  width: max-content;
  gap: 0.8rem;
  animation: brandScroll 28s linear infinite;
}

.brand-marquee span {
  display: grid;
  min-width: 140px;
  min-height: 62px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 248, 251, 0.94));
  color: var(--brand-color);
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: none;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.brand-marquee span:hover {
  border-color: color-mix(in srgb, var(--brand-color) 42%, transparent);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 248, 251, 0.98));
  box-shadow: none;
}

.brand-logo {
  --brand-color: #0f172a;
  letter-spacing: 0;
}

.brand-logo--samsung {
  --brand-color: #1428a0;
}

.brand-logo--xiaomi {
  --brand-color: #ff6900;
}

.brand-logo--hp {
  --brand-color: #0096d6;
}

.brand-logo--beko {
  --brand-color: #0057b8;
}

.brand-logo--toshiba {
  --brand-color: #e60012;
}

.brand-logo--lg {
  --brand-color: #a50034;
}

.brand-logo--sony {
  --brand-color: #111827;
}

.brand-logo--jbl {
  --brand-color: #ff3300;
}

.brand-logo--acer {
  --brand-color: #83b81a;
}

.brand-logo--philips {
  --brand-color: #0053a6;
}

.brand-logo--tefal {
  --brand-color: #e31b23;
}

@keyframes brandScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.metrics {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.metrics article {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  grid-template-areas:
    "icon number"
    "icon label";
  align-items: center;
  column-gap: 0.62rem;
  overflow: hidden;
  min-height: 82px;
  border-color: var(--bottom-line);
  background: var(--bottom-card-bg);
  color: var(--bottom-card-text);
  box-shadow: var(--bottom-shadow);
  padding: 0.78rem;
}

.metrics article::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
}

.metrics article:hover::after {
  opacity: 1;
  animation: shineSweep 1.8s ease-in-out;
}

.metrics strong {
  grid-area: number;
  display: block;
  color: var(--bottom-card-text);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.metrics span {
  grid-area: label;
  color: var(--bottom-muted);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.25;
}

.metrics .icon {
  grid-area: icon;
  margin-bottom: 0;
}

.micro-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-top: 0.55rem;
  border: 1px solid var(--bottom-line);
  border-radius: 0.7rem;
  background: var(--bottom-strip-bg);
  color: var(--bottom-muted);
  padding: 0.55rem 0.78rem;
  font-size: 0.7rem;
  font-weight: 900;
}

.micro-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
}

.micro-trust span::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border: 1px solid rgba(230, 30, 37, 0.7);
  border-radius: 999px;
}

.market-footer {
  width: 100%;
  margin-top: 0.75rem;
  border-top: 1px solid var(--bottom-line);
  background: var(--footer-bg);
  color: var(--footer-text);
}

.footer-care,
.footer-grid,
.footer-bottom {
  width: min(1500px, calc(100% - 32px));
  margin-inline: auto;
}

.footer-care {
  display: none;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 0.8rem;
  padding-top: 1.2rem;
}

.footer-care > div,
.footer-care article {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--surface-2);
  padding: 1rem;
}

.footer-care h2 {
  margin: 0.2rem 0;
  font-size: 1.55rem;
  font-weight: 900;
}

.footer-care p,
.footer-care span,
.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.6;
}

.market-footer .footer-brand p {
  color: var(--bottom-muted);
}

.footer-care strong {
  display: block;
  margin-top: 0.6rem;
  font-weight: 900;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.45fr) repeat(4, minmax(112px, 0.8fr)) minmax(170px, 1fr);
  gap: 1.25rem;
  padding: 1.45rem 0 1.15rem;
}

.footer-grid h3 {
  margin: 0 0 0.6rem;
  color: var(--footer-text);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.footer-grid nav a,
.app-download a {
  display: block;
  color: var(--bottom-muted);
  font-size: 0.72rem;
  font-weight: 800;
  margin: 0.42rem 0;
}

.footer-grid nav a:hover,
.app-download a:hover {
  color: var(--red);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.socials span,
.app-download a {
  border: 1px solid var(--bottom-line);
  border-radius: 0.65rem;
  background: var(--bottom-chip-bg);
}

.socials span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--footer-text);
  font-size: 0.64rem;
  font-weight: 900;
}

.app-download {
  align-self: start;
  border: 1px solid var(--bottom-line);
  border-radius: 0.85rem;
  background: var(--bottom-chip-bg);
  padding: 0.78rem;
}

.app-download a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.55rem 0.7rem;
  background: var(--bottom-app-bg);
  color: var(--bottom-app-text);
  text-align: center;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--bottom-line);
  color: var(--bottom-muted);
  padding: 0.9rem 0 1.15rem;
  font-size: 0.7rem;
  font-weight: 800;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.country {
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.4rem 0.65rem;
}

.auth-body {
  min-height: 100vh;
  background: var(--auth-bg);
}

.auth-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(230, 30, 37, 0.08), transparent 32%),
    radial-gradient(circle at 88% 12%, rgba(15, 23, 42, 0.1), transparent 30%);
}

.auth-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin-inline: auto;
  padding: 1.1rem 0 1.6rem;
}

.auth-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.auth-topbar__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.auth-topbar__actions > a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--auth-line);
  border-radius: 0.72rem;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text-soft);
  padding: 0 0.76rem;
  font-size: 0.78rem;
  font-weight: 900;
}

.auth-topbar__actions > a:hover {
  border-color: rgba(230, 30, 37, 0.4);
  color: var(--red);
}

.auth-drawer-toggle,
.auth-mobile-drawer {
  display: none;
}

.auth-drawer-toggle {
  width: 44px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.24rem;
  border: 1px solid var(--auth-line);
  border-radius: 0.78rem;
  background: var(--surface-2);
  color: var(--text);
}

.auth-drawer-toggle span {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.auth-drawer-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(5px) rotate(45deg);
}

.auth-drawer-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.auth-drawer-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-5px) rotate(-45deg);
}

.auth-mobile-drawer {
  grid-column: 1 / -1;
}

.auth-mobile-drawer.auth-mobile-drawer--open {
  display: block;
}

.auth-mobile-drawer__panel {
  display: grid;
  gap: 0.5rem;
  border: 1px solid var(--auth-line);
  border-radius: 0.95rem;
  background: var(--auth-card-bg);
  box-shadow: var(--shadow);
  padding: 0.65rem;
}

.auth-mobile-drawer__panel a,
.auth-mobile-theme-toggle {
  min-height: 42px;
  justify-content: flex-start;
  border: 1px solid var(--auth-line);
  border-radius: 0.72rem;
  background: var(--surface-2);
  color: var(--text-soft);
  padding: 0 0.8rem;
  font-size: 0.78rem;
  font-weight: 900;
}

.auth-mobile-drawer__panel a {
  display: inline-flex;
  align-items: center;
}

.auth-mobile-theme-toggle {
  width: 100%;
}

.auth-mobile-theme-toggle span {
  display: inline;
}

.auth-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  gap: 1rem;
  align-items: start;
}

.auth-hero,
.auth-card {
  border: 1px solid var(--auth-line);
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
}

.auth-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  background: var(--auth-panel-bg);
  color: #fff;
  padding: clamp(1.2rem, 2.6vw, 2rem);
}

.auth-hero::after {
  content: "";
  position: absolute;
  inset: auto -20% -28% 28%;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 42, 42, 0.24), transparent 66%);
  opacity: 0.72;
}

.auth-hero__copy,
.auth-value-grid,
.auth-visual {
  position: relative;
  z-index: 1;
}

.auth-hero__copy h1 {
  max-width: 12ch;
  margin: 0.3rem 0 0;
  font-size: clamp(2.4rem, 4vw, 4.4rem);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 900;
}

.auth-hero__copy p:not(.eyebrow) {
  max-width: 58ch;
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.98rem;
  line-height: 1.65;
  font-weight: 700;
}

.auth-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.auth-value-grid article {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.85rem;
}

.auth-value__icon {
  display: inline-grid;
  min-width: 2.4rem;
  height: 2.1rem;
  place-items: center;
  border-radius: 0.66rem;
  background: rgba(230, 30, 37, 0.22);
  color: #fff;
  padding-inline: 0.55rem;
  font-size: 0.72rem;
  font-weight: 900;
}

.auth-value-grid strong,
.auth-value-grid p {
  display: block;
  margin: 0;
}

.auth-value-grid strong {
  margin-top: 0.62rem;
  font-size: 0.88rem;
  font-weight: 900;
}

.auth-value-grid p {
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.72rem;
  line-height: 1.45;
  font-weight: 700;
}

.auth-status-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 0 0, rgba(230, 30, 37, 0.28), transparent 44%),
    rgba(255, 255, 255, 0.075);
  padding: 0.95rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.auth-status-card__icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border-radius: 0.86rem;
  background: linear-gradient(135deg, var(--red), #a70f15);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(230, 30, 37, 0.26);
}

.auth-status-card strong,
.auth-status-card p {
  display: block;
  margin: 0;
}

.auth-status-card strong {
  font-size: 0.98rem;
  font-weight: 900;
}

.auth-status-card p {
  margin-top: 0.24rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  line-height: 1.45;
  font-weight: 750;
}

.auth-visual {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1rem;
  min-height: 260px;
  margin: 0;
  background: #08111d;
}

.auth-visual img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  opacity: 0.84;
}

.auth-card {
  background: var(--auth-card-bg);
  padding: clamp(1.1rem, 2.2vw, 1.6rem);
}

.auth-card__header {
  margin-bottom: 1rem;
}

.auth-card__header h2 {
  margin: 0.28rem 0 0;
  color: var(--text);
  font-size: clamp(1.6rem, 2.4vw, 2.25rem);
  line-height: 1;
  font-weight: 900;
}

.auth-card__header p:not(.eyebrow) {
  margin: 0.55rem 0 0;
  color: var(--auth-soft);
  font-size: 0.9rem;
  line-height: 1.55;
  font-weight: 700;
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
  border: 1px solid var(--auth-line);
  border-radius: 0.9rem;
  background: var(--surface-2);
  padding: 0.35rem;
  margin-bottom: 1rem;
}

.auth-tab {
  min-height: 42px;
  border: 0;
  border-radius: 0.68rem;
  background: transparent;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 900;
}

.auth-tab--active {
  background: linear-gradient(135deg, var(--red), #b4141a);
  color: #fff;
  box-shadow: 0 12px 28px rgba(230, 30, 37, 0.22);
}

.auth-form[hidden] {
  display: none;
}

.auth-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.78rem;
}

.auth-form[data-auth-panel="login"] {
  grid-template-columns: 1fr;
}

.auth-field,
.auth-file,
.auth-check {
  min-width: 0;
}

.auth-field {
  display: grid;
  gap: 0.42rem;
}

.auth-field--wide {
  grid-column: 1 / -1;
}

.auth-field > span:first-child,
.auth-kyc legend {
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 900;
}

.auth-field input,
.auth-field textarea,
.auth-password,
.auth-file {
  width: 100%;
  border: 1px solid var(--auth-line);
  border-radius: 0.78rem;
  background: var(--auth-field-bg);
  color: var(--text);
}

.auth-field input,
.auth-field textarea {
  min-height: 46px;
  outline: 0;
  padding: 0.78rem 0.85rem;
  font-weight: 800;
}

.auth-field textarea {
  min-height: 92px;
  resize: vertical;
  line-height: 1.45;
}

.auth-field input:focus,
.auth-field textarea:focus,
.auth-password:focus-within,
.auth-file:focus-within {
  border-color: rgba(230, 30, 37, 0.54);
  box-shadow: 0 0 0 4px rgba(230, 30, 37, 0.08);
}

.auth-password {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  overflow: hidden;
}

.auth-password input {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.auth-password button {
  align-self: stretch;
  border: 0;
  border-left: 1px solid var(--auth-line);
  background: transparent;
  color: var(--red);
  padding-inline: 0.75rem;
  font-size: 0.72rem;
  font-weight: 900;
}

.auth-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.auth-row--between {
  justify-content: space-between;
}

.auth-row a {
  color: var(--red);
  font-size: 0.76rem;
  font-weight: 900;
}

.auth-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.48rem;
  color: var(--auth-soft);
  font-size: 0.76rem;
  line-height: 1.45;
  font-weight: 800;
}

.auth-check input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.08rem;
  accent-color: var(--red);
}

.auth-submit {
  width: 100%;
  min-height: 48px;
}

.auth-layout--verify {
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.84fr);
}

.auth-hero--verify {
  min-height: 620px;
}

.auth-card--verify {
  align-self: center;
}

.auth-form--verify,
.auth-form--resend {
  grid-template-columns: 1fr;
}

.auth-form--resend {
  margin-top: 0.82rem;
  border-top: 1px solid var(--auth-line);
  padding-top: 0.82rem;
}

.verify-code {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.38rem, 1.2vw, 0.62rem);
  width: 100%;
}

.verify-code__input {
  min-width: 0;
  aspect-ratio: 1;
  min-height: 56px;
  border: 1px solid var(--auth-line);
  border-radius: 0.9rem;
  background:
    radial-gradient(circle at 50% 0, rgba(230, 30, 37, 0.08), transparent 48%),
    var(--auth-field-bg);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  outline: 0;
  padding: 0;
  text-align: center;
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 900;
}

.verify-code__input:focus {
  border-color: rgba(230, 30, 37, 0.62);
  box-shadow:
    0 0 0 4px rgba(230, 30, 37, 0.09),
    0 12px 24px rgba(230, 30, 37, 0.12);
}

.auth-help-text {
  margin: 0;
  color: var(--auth-soft);
  font-size: 0.82rem;
  line-height: 1.5;
  font-weight: 750;
}

.auth-kyc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.78rem;
  border: 1px solid var(--auth-line);
  border-radius: 0.95rem;
  margin: 0;
  padding: 0.9rem;
  background: color-mix(in srgb, var(--surface-2) 78%, transparent);
}

.auth-kyc legend {
  padding-inline: 0.32rem;
}

.auth-file {
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 0.2rem;
  cursor: pointer;
  padding: 0.82rem;
}

.auth-file input {
  width: 100%;
  max-width: 100%;
  color: var(--auth-soft);
  font-size: 0.7rem;
  font-weight: 800;
}

.auth-file span {
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 900;
}

.auth-file small {
  color: var(--auth-soft);
  font-size: 0.68rem;
  font-weight: 800;
}

@media (max-width: 1024px) {
  .auth-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(390px, 1fr);
  }

  .auth-hero {
    min-height: 660px;
  }

  .auth-value-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .auth-shell {
    width: min(100% - 24px, 680px);
    min-height: auto;
    padding: 0.9rem 0 1.2rem;
  }

  .auth-topbar {
    align-items: flex-start;
  }

  .auth-topbar__actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .auth-layout {
    grid-template-columns: 1fr;
  }

  .auth-hero {
    min-height: unset;
    gap: 0.8rem;
    padding: 1rem;
  }

  .auth-hero__copy h1 {
    max-width: 14ch;
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .auth-value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .auth-visual,
  .auth-visual img {
    min-height: 180px;
  }

  .auth-card {
    padding: 1rem;
  }

  .auth-hero--verify {
    min-height: unset;
  }

  .auth-status-card {
    padding: 0.74rem;
  }

  .auth-status-card__icon {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 0.72rem;
    font-size: 1rem;
  }

  .verify-code__input {
    min-height: 50px;
    border-radius: 0.78rem;
  }
}

@media (max-width: 520px) {
  .auth-shell {
    width: min(100% - 20px, 420px);
    padding: 0.72rem 0 1rem;
  }

  .auth-topbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .auth-topbar .brand {
    order: 0;
    justify-self: center;
  }

  .auth-topbar__actions {
    order: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    justify-content: stretch;
  }

  .auth-topbar__actions > a {
    min-width: 0;
    padding-inline: 0.5rem;
    font-size: 0.68rem;
  }

  .auth-topbar__actions .theme-toggle {
    width: 100%;
  }

  .auth-value-grid,
  .auth-form,
  .auth-kyc {
    grid-template-columns: 1fr;
  }

  .auth-hero__copy p:not(.eyebrow),
  .auth-card__header p:not(.eyebrow) {
    font-size: 0.84rem;
  }

  .auth-visual,
  .auth-visual img {
    min-height: 140px;
  }

  .auth-row--between {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-status-card p {
    display: none;
  }

  .verify-code {
    gap: 0.34rem;
  }

  .verify-code__input {
    min-height: 44px;
    border-radius: 0.68rem;
    font-size: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .category-grid {
    animation: none !important;
    transform: none !important;
  }

  .brand-marquee__track {
    animation: none !important;
    transform: none !important;
  }
}

@media (max-width: 1249px) {
  .market-header__main {
    grid-template-columns: 190px minmax(260px, 1fr);
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-bottom: 0.8rem;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .trust-panel {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .customer-proof {
    border-bottom: 0;
    border-right: 1px solid var(--line);
    padding-right: 0.7rem;
  }

  .features,
  .advantages {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .seller-ambassador,
  .promo-grid,
  .footer-care {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .market-header__main {
    grid-template-columns: 170px minmax(0, 1fr) auto;
    min-height: 68px;
    gap: 0.62rem;
  }

  .brand__mark {
    width: 2.35rem;
    height: 2.1rem;
  }

  .brand__text {
    font-size: 1.35rem;
  }

  .search-bar {
    grid-template-columns: minmax(0, 1fr) 48px;
  }

  .search-bar__category {
    display: none;
  }

  .header-action span:not(.cart-badge) {
    display: none;
  }

  .header-actions {
    grid-column: auto;
    justify-content: flex-end;
    padding-bottom: 0;
  }

  .header-action,
  .theme-toggle {
    width: 40px;
    padding: 0;
  }

  .category-mega {
    width: min(860px, calc(100vw - 32px));
  }

  .hero {
    min-height: 360px;
  }

  .hero__media {
    min-height: 320px;
  }

  .promo-card {
    min-height: 210px;
  }

  .product-card__body {
    gap: 0.62rem;
    padding: 0.9rem;
  }

  .footer-care {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .top-strip__inner,
  .market-header__main,
  .secondary-nav,
  .top-strip,
.hero,
.features,
.categories,
.product-showcase,
.promo-grid,
.seller-ambassador,
  .advantages,
  .brands,
  .metrics,
  .micro-trust,
  .footer-care,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 20px, 1500px);
  }

  .top-strip {
    width: 100%;
    display: none;
  }

  section {
    margin-top: 1.35rem;
  }

  .top-strip__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.42rem 0;
  }

  .top-strip__links {
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .top-strip__slogan {
    font-size: 0.74rem;
  }

  .market-header {
    position: sticky;
    top: 0;
    z-index: 320;
  }

  .market-header__main {
    min-height: auto;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-areas:
      "brand brand"
      "drawer search";
    gap: 0.62rem;
    padding: 0.72rem 0 0.68rem;
  }

  .brand {
    grid-area: brand;
  }

  .brand__mark {
    width: 2.4rem;
    height: 2.12rem;
    border-radius: 0.62rem;
  }

  .brand__text {
    font-size: 1.42rem;
  }

  .mobile-drawer-toggle {
    grid-area: drawer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 46px;
    border: 1px solid var(--line-strong);
    border-radius: 0.72rem;
    background: var(--surface-2);
    color: var(--text);
    box-shadow: none;
  }

  .mobile-drawer-toggle:hover,
  .mobile-drawer-toggle[aria-expanded="true"] {
    border-color: rgba(230, 30, 37, 0.45);
    background: linear-gradient(135deg, var(--red), #b4141a);
    color: #fff;
  }

  .search-bar {
    grid-area: search;
    grid-template-columns: minmax(0, 1fr) 48px;
    height: 46px;
    border-radius: 0.72rem;
  }

  .search-bar__category {
    display: none;
  }

  .search-bar input {
    min-width: 0;
    padding-inline: 0.86rem;
    font-size: 0.8rem;
  }

  .header-actions,
  .secondary-nav {
    display: none;
  }

  .mobile-drawer {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    z-index: 340;
    width: min(calc(100% - 20px), 440px);
    transform: translateX(-50%);
  }

  .mobile-drawer.mobile-drawer--open {
    display: block;
  }

  .mobile-drawer__panel {
    max-height: calc(100dvh - 122px);
    overflow: auto;
    border: 1px solid var(--line-strong);
    border-radius: 0.9rem;
    background:
      radial-gradient(circle at 12% 0, rgba(230, 30, 37, 0.08), transparent 32%),
      var(--surface);
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.28);
    padding: 0.74rem;
    scrollbar-width: thin;
  }

  :root[data-theme="light"] .mobile-drawer__panel {
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
  }

  .mobile-drawer__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }

  .mobile-drawer__action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.52rem;
    min-width: 0;
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 0.72rem;
    background: var(--surface-2);
    color: var(--text);
    padding: 0 0.72rem;
    font-size: 0.78rem;
    font-weight: 900;
    text-align: left;
  }

  .mobile-drawer__action:hover {
    border-color: rgba(230, 30, 37, 0.4);
    color: var(--red);
  }

  .mobile-drawer__action span:not(.cart-badge) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-drawer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.66rem;
  }

  .mobile-drawer__nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.34rem;
    min-height: 34px;
    border: 1px solid var(--line);
    border-radius: 0.65rem;
    background: var(--surface-2);
    color: var(--text);
    padding: 0 0.62rem;
    font-size: 0.74rem;
    font-weight: 900;
  }

  .mobile-drawer__nav span {
    display: inline-flex;
    align-items: center;
    min-height: 1.05rem;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    padding: 0 0.34rem;
    font-size: 0.62rem;
  }

  .mobile-drawer__categories {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.7rem;
  }

  .mobile-drawer__categories h2 {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 900;
  }

  .mobile-drawer__categories a {
    display: flex;
    align-items: center;
    gap: 0.48rem;
    min-width: 0;
    min-height: 42px;
    border: 1px solid var(--line);
    border-radius: 0.7rem;
    background: linear-gradient(135deg, var(--surface-2), var(--surface));
    color: var(--text-soft);
    padding: 0 0.62rem;
    font-size: 0.74rem;
    font-weight: 900;
  }

  .mobile-drawer__categories .icon {
    width: 17px;
    height: 17px;
    color: var(--red);
    flex: 0 0 auto;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 0.72rem;
    margin-top: 0.6rem;
    padding: 0.72rem;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(2.1rem, 11vw, 3.15rem);
  }

  .hero__lead {
    font-size: 1.02rem;
  }

  .hero p:not(.hero__lead) {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .hero__actions {
    gap: 0.5rem;
  }

  .hero__actions .button {
    flex: 1 1 150px;
  }

  .hero__media {
    min-height: 190px;
  }

  .hero__floating {
    padding: 0.48rem 0.58rem;
    font-size: 0.7rem;
  }

  .trust-panel {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.52rem;
    padding: 0.65rem;
  }

  .customer-proof {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-right: 0;
    padding-bottom: 0.65rem;
  }

  .trust-row {
    min-height: 42px;
    grid-template-columns: 32px 1fr;
  }

  .trust-row .icon {
    width: 32px;
    height: 32px;
  }

  .features {
    display: flex;
    gap: 0.58rem;
    overflow-x: auto;
    margin-top: 0.75rem;
    padding-bottom: 0.18rem;
    scroll-snap-type: x proximity;
    scroll-padding-inline: calc((100% - 188px) / 2);
    scrollbar-width: none;
  }

  .features::after {
    content: "";
    flex: 0 0 calc((100% - 188px) / 2);
  }

  .features::-webkit-scrollbar {
    display: none;
  }

  .feature-card {
    flex: 0 0 188px;
    min-height: 104px;
    padding: 0.72rem;
    scroll-snap-align: start;
  }

  .feature-card:last-child {
    scroll-snap-align: center;
  }

  .feature-card span {
    width: 36px;
    height: 36px;
    margin-bottom: 0.48rem;
  }

  .feature-card p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .section-heading {
    align-items: flex-start;
    gap: 0.45rem;
  }

  .section-heading span,
  .text-link {
    font-size: 0.74rem;
  }

  .category-rail {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.05rem;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
    user-select: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    scrollbar-width: none;
  }

  .category-rail.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
  }

  .category-rail::-webkit-scrollbar {
    display: none;
  }

  .category-grid {
    display: flex;
    width: max-content;
    max-width: none;
    gap: 0.58rem;
    padding-inline: 0.05rem;
  }

  .category-card {
    flex: 0 0 min(68vw, 168px);
    min-height: 146px;
    gap: 0.5rem;
    padding: 0.58rem;
    scroll-snap-align: start;
  }

  .category-card__image {
    min-height: 72px;
  }

  .category-card__image .icon {
    width: 32px;
    height: 32px;
    padding: 0.38rem;
  }

  .category-card strong {
    font-size: 0.78rem;
  }

  .category-card small {
    font-size: 0.67rem;
    -webkit-line-clamp: 1;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
  }

  .product-card {
    border-radius: 0.82rem;
  }

  .product-card__badges {
    top: 0.48rem;
    left: 0.48rem;
    gap: 0.3rem;
  }

  .product-card__badge {
    min-height: 22px;
    padding: 0 0.42rem;
    font-size: 0.58rem;
  }

  .product-card__actions {
    top: 0.48rem;
    right: 0.48rem;
  }

  .product-card__actions button {
    width: 30px;
    height: 30px;
  }

  .product-card__body {
    gap: 0.55rem;
    padding: 0.76rem;
  }

  .product-card__meta {
    font-size: 0.64rem;
  }

  .product-card h3 {
    min-height: 2.45em;
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.32;
  }

  .product-card p {
    min-height: 2.55em;
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.42;
    -webkit-line-clamp: 2;
  }

  .product-card__price {
    gap: 0.32rem;
    margin-top: 0;
  }

  .product-card__price strong {
    font-size: 0.96rem;
  }

  .product-card__price span {
    font-size: 0.6rem;
  }

  .product-card__cta {
    min-height: 36px;
    margin-top: 0.1rem;
    font-size: 0.7rem;
  }

  .product-showcase .text-link {
    display: none;
  }

  .promo-grid,
  .seller-ambassador,
  .advantages,
  .metrics,
  .footer-care,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .promo-grid {
    gap: 0.72rem;
    margin-top: 1rem;
  }

  .promo-card {
    min-height: 190px;
  }

  .promo-card > div:not(.deal-symbol) {
    padding: 0.95rem;
  }

  .promo-card h3 {
    font-size: clamp(1.25rem, 7vw, 1.8rem);
  }

  .promo-card p {
    display: -webkit-box;
    max-width: 76%;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.42;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .promo-card .button {
    min-height: 36px;
    padding: 0 0.75rem;
    font-size: 0.74rem;
  }

  .deal-symbol {
    top: 0.72rem;
    right: 0.72rem;
    width: 62px;
    height: 62px;
    font-size: 2.15rem;
  }

  .deal-clock {
    max-width: min(100%, 260px);
    padding: 0.48rem;
  }

  .countdown-card {
    min-height: 54px;
  }

  .countdown-card__value {
    min-height: 1.8rem;
    font-size: 1.08rem;
  }

  .countdown-card small {
    margin-bottom: 0.34rem;
    font-size: 0.48rem;
  }

  .recruit-card {
    grid-template-columns: 1fr;
    min-height: unset;
  }

  .recruit-card > div {
    padding: 1rem;
  }

  .recruit-card h3 {
    font-size: 1.25rem;
  }

  .recruit-card ul {
    margin-top: 0.68rem;
  }

  .recruit-card li {
    margin: 0.34rem 0;
    font-size: 0.78rem;
  }

  .recruit-card img {
    max-height: 138px;
    min-height: 0;
    object-position: top center;
  }

  .advantages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 0.58rem;
  }

  .advantages article {
    min-height: 96px;
    padding: 0.62rem;
  }

  .advantages span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .brand-marquee span {
    min-width: 118px;
    min-height: 56px;
  }

  .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .metrics article {
    min-height: 96px;
    padding: 0.66rem;
  }

  .micro-trust {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .micro-trust::-webkit-scrollbar {
    display: none;
  }

  .footer-care {
    gap: 0.5rem;
    padding-top: 0.9rem;
  }

  .footer-care > div,
  .footer-care article {
    padding: 0.82rem;
  }

  .footer-care h2 {
    font-size: 1.25rem;
  }

  .footer-care p,
  .footer-care span,
  .footer-brand p {
    font-size: 0.8rem;
    line-height: 1.45;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 0 0.85rem;
  }

  .footer-grid nav {
    display: none;
  }

  .footer-brand p {
    display: -webkit-box;
    max-width: 34rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .app-download {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    padding: 0.68rem;
  }

  .app-download h3 {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .app-download a {
    margin: 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.75rem 0 0.95rem;
  }

  .footer-bottom nav {
    gap: 0.7rem;
  }
}

@media (max-width: 520px) {
  .top-strip__links a:nth-child(n+3) {
    display: none;
  }

  .logo__icon {
    width: 42px;
    height: 42px;
  }

  .logo strong {
    font-size: 1.32rem;
  }

  .header-actions {
    justify-content: space-between;
  }

  .hero {
    border-radius: 0.78rem;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero__media {
    min-height: 168px;
  }

  .hero__floating--deal {
    display: none;
  }

  .customer-proof strong {
    font-size: 1.2rem;
  }

  .category-card {
    flex-basis: min(74vw, 154px);
    min-height: 136px;
  }

  .product-grid {
    gap: 0.5rem;
  }

  .product-card__price {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.18rem;
  }

  .product-card__badge:not(.product-card__badge--deal) {
    display: none;
  }

  .product-card__actions button:nth-child(n+2) {
    display: none;
  }

  .product-card__price del {
    display: none;
  }

  .product-card__price span {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .promo-card {
    min-height: 168px;
  }

  .promo-card p {
    max-width: 82%;
    -webkit-line-clamp: 1;
  }

  .deal-symbol {
    width: 52px;
    height: 52px;
    font-size: 1.8rem;
  }

  .deal-clock {
    max-width: 232px;
  }

  .countdown-card {
    min-height: 48px;
  }

  .seller-ambassador {
    gap: 0.72rem;
  }

  .recruit-card img {
    max-height: 118px;
  }

  .footer-grid {
    font-size: 0.92rem;
  }

  .footer-grid,
  .footer-bottom {
    width: min(100% - 20px, 1500px);
  }

  .socials span {
    width: 28px;
    height: 28px;
  }

  .footer-bottom nav a:nth-child(n+3) {
    display: none;
  }
}

@media (max-width: 820px) {
  .auth-topbar .brand {
    grid-area: auto;
  }

  .auth-topbar {
    position: sticky;
    top: 0.55rem;
    z-index: 30;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    border: 1px solid var(--auth-line);
    border-radius: 1rem;
    background: color-mix(in srgb, var(--auth-card-bg) 94%, transparent);
    backdrop-filter: blur(16px);
    padding: 0.55rem;
  }

  .auth-topbar .brand {
    justify-self: start;
  }

  .auth-topbar__actions {
    display: none;
  }

  .auth-drawer-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .auth-mobile-drawer {
    margin-top: 0.55rem;
  }

  .auth-hero {
    min-height: unset;
    gap: 0.55rem;
    border-radius: 1rem;
    padding: 0.82rem;
  }

  .auth-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(1.35rem, 6.4vw, 1.85rem);
    line-height: 0.98;
  }

  .auth-hero__copy p:not(.eyebrow) {
    display: -webkit-box;
    margin-top: 0.45rem;
    overflow: hidden;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .auth-value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .auth-value-grid article {
    min-height: 64px;
    padding: 0.52rem;
  }

  .auth-value__icon {
    min-width: 1.9rem;
    height: 1.65rem;
    border-radius: 0.52rem;
    font-size: 0.58rem;
  }

  .auth-value-grid strong {
    margin-top: 0.4rem;
    font-size: 0.68rem;
    line-height: 1.15;
  }

  .auth-value-grid p {
    display: none;
  }

  .auth-visual,
  .auth-visual img {
    min-height: 88px;
    max-height: 110px;
  }
}

@media (max-width: 520px) {
  .auth-topbar {
    grid-template-columns: minmax(0, 1fr) 44px;
  }

  .auth-topbar .brand {
    justify-self: start;
  }

  .auth-topbar__actions {
    display: none;
  }

  .auth-mobile-drawer__panel {
    grid-template-columns: 1fr;
  }

  .auth-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(1.28rem, 6.6vw, 1.72rem);
  }

  .auth-value-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .auth-visual,
  .auth-visual img {
    min-height: 78px;
    max-height: 98px;
  }
}
