/* ============================================================
   YERVIEW — Premium Electronics Store
   style.css — tokens, base, layout, components
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --c-white: #ffffff;
  --c-soft: #f5f5f7;
  --c-ink: #111111;
  --c-muted: #666666;
  --c-accent: #0066ff;
  --c-accent-dark: #0052d4;
  --c-accent-soft: rgba(0, 102, 255, 0.08);
  --c-line: rgba(17, 17, 17, 0.08);
  --c-danger: #ff3b30;

  --radius: 24px;
  --radius-sm: 14px;
  --radius-pill: 999px;

  --shadow-soft: 0 8px 30px rgba(17, 17, 17, 0.06);
  --shadow-hover: 0 24px 60px rgba(17, 17, 17, 0.12);
  --shadow-header: 0 1px 0 rgba(17, 17, 17, 0.05), 0 10px 30px rgba(17, 17, 17, 0.06);

  --trans: 0.35s ease;

  --header-h: 80px;
  --container: 1320px;

  --font-main: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

section {
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

/* ---------- Typography ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
}

.h2 {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-sub {
  color: var(--c-muted);
  max-width: 520px;
  font-size: 17px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background var(--trans), color var(--trans),
    transform var(--trans), box-shadow var(--trans);
  white-space: nowrap;
}

.btn-primary {
  background: var(--c-accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--c-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 102, 255, 0.35);
}

.btn-dark {
  background: var(--c-ink);
  color: #fff;
}

.btn-dark:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(17, 17, 17, 0.28);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.26);
  transform: translateY(-2px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--c-accent);
  transition: gap var(--trans), color var(--trans);
}

.link-arrow:hover {
  gap: 14px;
  color: var(--c-accent-dark);
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  background: var(--c-white);
  z-index: 1000;
  transition: box-shadow var(--trans), background var(--trans),
    backdrop-filter var(--trans);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--shadow-header);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.logo span {
  color: var(--c-accent);
}

/* --- Nav --- */
.nav {
  flex: 1;
}

.nav-list {
  display: flex;
  gap: 6px;
  justify-content: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  color: var(--c-ink);
  transition: background var(--trans), color var(--trans);
}

.nav-link .chev {
  transition: transform var(--trans);
}

.nav-item:hover > .nav-link,
.nav-link:focus-visible {
  background: var(--c-soft);
  color: var(--c-accent);
}

.nav-item:hover .chev {
  transform: rotate(180deg);
}

/* --- Dropdown (simple list) --- */
.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  translate: -50% 0;
  min-width: 260px;
  background: var(--c-white);
  border-radius: 20px;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-hover);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--trans), transform var(--trans),
    visibility var(--trans);
  z-index: 100;
}

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 11px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--c-ink);
  transition: background var(--trans), color var(--trans);
}

.dropdown a small {
  color: var(--c-muted);
  font-weight: 500;
}

.dropdown a:hover {
  background: var(--c-soft);
  color: var(--c-accent);
}

/* --- Mega menu --- */
.mega {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--c-white);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 40px 80px rgba(17, 17, 17, 0.12);
  padding: 44px 0 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--trans), transform var(--trans),
    visibility var(--trans);
  z-index: 90;
}

.nav-item:hover > .mega,
.nav-item:focus-within > .mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.mega-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 18px;
}

.mega-card {
  display: block;
  background: var(--c-soft);
  border-radius: 20px;
  padding: 18px;
  transition: transform var(--trans), box-shadow var(--trans),
    background var(--trans);
}

.mega-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  background: #fff;
}

.mega-card .thumb {
  display: block;
  height: 130px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 10px;
  background: linear-gradient(135deg, #e8ecf3, #f6f8fb);
}

.mega-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.mega-card h4 {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.mega-card p {
  font-size: 14px;
  font-weight: 600;
  color: var(--c-accent);
}

.mega-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.mega-col-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  font-weight: 500;
  transition: background var(--trans), color var(--trans);
}

.mega-col-list a:hover {
  background: var(--c-soft);
  color: var(--c-accent);
}

.mega-col-list .mini {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8ecf3, #f6f8fb);
}

.mega-col-list .mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mega-col-list small {
  display: block;
  color: var(--c-muted);
  font-weight: 500;
}

/* --- Header actions --- */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--c-ink);
  transition: background var(--trans), color var(--trans),
    transform var(--trans);
}

.icon-btn:hover {
  background: var(--c-soft);
  color: var(--c-accent);
  transform: translateY(-2px);
}

.icon-btn svg {
  width: 21px;
  height: 21px;
}

.badge-count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--c-accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform var(--trans), opacity var(--trans);
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 90vh;
  min-height: 560px;
  margin-top: var(--header-h);
  overflow: hidden;
  background: var(--c-ink);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 6s ease;
}

.hero-slide.active img {
  transform: scale(1);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 12, 18, 0.72) 0%,
    rgba(10, 12, 18, 0.35) 48%,
    rgba(10, 12, 18, 0.05) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  max-width: 640px;
}

.hero-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(24px);
}

.hero-title {
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(28px);
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 36px;
  max-width: 480px;
  opacity: 0;
  transform: translateY(28px);
}

.hero-cta {
  display: flex;
  gap: 14px;
  opacity: 0;
  transform: translateY(28px);
}

.hero-slide.active .hero-tag {
  animation: heroUp 0.8s 0.15s ease forwards;
}

.hero-slide.active .hero-title {
  animation: heroUp 0.8s 0.3s ease forwards;
}

.hero-slide.active .hero-sub {
  animation: heroUp 0.8s 0.45s ease forwards;
}

.hero-slide.active .hero-cta {
  animation: heroUp 0.8s 0.6s ease forwards;
}

/* --- Hero controls --- */
.hero-nav {
  position: absolute;
  z-index: 3;
  bottom: 44px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 34px;
  height: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.3);
  overflow: hidden;
  position: relative;
  transition: background var(--trans);
}

.hero-dot .fill {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}

.hero-dot.active .fill {
  animation: dotFill 8s linear forwards;
}

.hero-arrows {
  display: flex;
  gap: 10px;
}

.hero-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  transition: background var(--trans), transform var(--trans);
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-arrow svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   SECTIONS / CARDS
   ============================================================ */
.section {
  padding: 110px 0;
}

.section.tinted {
  background: var(--c-soft);
}

/* --- Tabs --- */
.tabs-bar {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--c-soft);
  border-radius: var(--radius-pill);
}

.section.tinted .tabs-bar {
  background: #fff;
}

.tab-btn {
  padding: 11px 26px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-muted);
  transition: color var(--trans), background var(--trans),
    box-shadow var(--trans);
}

.tab-btn:hover {
  color: var(--c-ink);
}

.tab-btn.active {
  background: var(--c-ink);
  color: #fff;
  box-shadow: 0 8px 20px rgba(17, 17, 17, 0.2);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
  animation: fadeIn 0.45s ease;
}

/* --- Popular grid: 1 big + 4 small --- */
.popular-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
}

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

/* --- Product card --- */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border-radius: var(--radius);
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans),
    border-color var(--trans);
}

.section:not(.tinted) .card {
  background: var(--c-soft);
  border-color: transparent;
}

.card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
  background: #fff;
  z-index: 2;
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 36px);
  background: linear-gradient(135deg, #f1f3f7, #fafbfc);
}

.card.big .card-media {
  aspect-ratio: auto;
  flex: 1;
  min-height: 320px;
}

.card-media img {
  width: 82%;
  height: 82%;
  max-width: 460px;
  max-height: 460px;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s ease;
}

.card:hover .card-media img {
  transform: scale(1.025);
}

.badge-sale {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-danger);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: none;
}

.card-title {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.card.big .card-title {
  font-size: 22px;
}

.card-specs {
  font-size: 13.5px;
  color: var(--c-muted);
}

.card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.price .now {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.card.big .price .now {
  font-size: 24px;
}

.price .old {
  font-size: 14px;
  color: var(--c-muted);
  text-decoration: line-through;
}

.installment {
  display: block;
  width: 100%;
  font-size: 12.5px;
  color: var(--c-muted);
  margin-top: 2px;
}

.btn-buy {
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-size: 14px;
  font-weight: 600;
  transition: background var(--trans), color var(--trans),
    box-shadow var(--trans), transform var(--trans);
}

.btn-buy-wide {
  width: 100%;
  text-align: center;
  margin-top: 4px;
}

.card:hover .btn-buy,
.btn-buy:hover {
  background: var(--c-accent);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.35);
}

/* ============================================================
   PRODUCTS BLOCK (banner tabs + row of 4)
   ============================================================ */
.product-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  background: var(--c-ink);
  color: #fff;
}

.product-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 12, 18, 0) 30%,
    rgba(10, 12, 18, 0.75) 100%
  );
}

.product-banner .banner-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  gap: 32px;
}

.banner-content h3 {
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.banner-content p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 440px;
}

.products-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

/* --- Promo card (4th) --- */
.promo-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  color: #fff;
  background: linear-gradient(160deg, #0a0c12, #1a2233);
  transition: transform var(--trans), box-shadow var(--trans);
  min-height: 100%;
}

.promo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 0.6s ease, opacity var(--trans);
}

.promo-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: var(--shadow-hover);
}

.promo-card:hover img {
  transform: scale(1.06);
  opacity: 0.7;
}

.promo-card > * {
  position: relative;
  z-index: 2;
}

.promo-card .top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
}

.promo-card .bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.promo-card .bottom h4 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

/* ============================================================
   WHY YERVIEW
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 34px 30px;
  border: 1px solid var(--c-line);
  transition: transform var(--trans), box-shadow var(--trans),
    border-color var(--trans);
}

.section.tinted .why-card {
  border-color: transparent;
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.why-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--c-accent-soft);
  color: var(--c-accent);
  margin-bottom: 22px;
  transition: background var(--trans), color var(--trans),
    transform var(--trans);
}

.why-card:hover .why-icon {
  background: var(--c-accent);
  color: #fff;
  transform: scale(1.06);
}

.why-icon svg {
  width: 26px;
  height: 26px;
}

.why-card h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.why-card p {
  font-size: 14.5px;
  color: var(--c-muted);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: var(--c-ink);
  color: #fff;
}

.about img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 10, 16, 0.85) 0%,
    rgba(8, 10, 16, 0.55) 55%,
    rgba(8, 10, 16, 0.2) 100%
  );
}

.about-content {
  position: relative;
  z-index: 2;
  padding: clamp(40px, 6vw, 90px);
  max-width: 640px;
}

.about-content .eyebrow {
  color: #9cc2ff;
}

.about-content .eyebrow::before {
  background: #9cc2ff;
}

.about-content h2 {
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.about-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  margin-bottom: 34px;
}

.about-stats {
  display: flex;
  gap: 48px;
  margin-bottom: 38px;
}

.about-stats b {
  display: block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.about-stats span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-viewport {
  overflow: hidden;
  margin-inline: -12px;
  padding: 12px;
}

.reviews-track {
  display: flex;
  transition: transform 0.55s ease;
}

.review-card {
  flex: 0 0 calc(100% / 3);
  padding: 0 12px;
}

.review-inner {
  height: 100%;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform var(--trans), box-shadow var(--trans),
    border-color var(--trans);
}

.review-inner:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.stars {
  display: flex;
  gap: 3px;
  color: #ffb400;
}

.stars svg {
  width: 17px;
  height: 17px;
}

.review-text {
  font-size: 15px;
  color: var(--c-ink);
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex: none;
}

.review-author b {
  display: block;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.review-author span {
  font-size: 13px;
  color: var(--c-muted);
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.ctrl-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  color: var(--c-ink);
  transition: background var(--trans), color var(--trans),
    transform var(--trans), box-shadow var(--trans);
}

.ctrl-btn:hover {
  background: var(--c-accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 102, 255, 0.3);
}

.ctrl-btn svg {
  width: 18px;
  height: 18px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--c-ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 90px 0 0;
  margin-top: 110px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 48px;
  padding-bottom: 64px;
}

.footer .logo {
  color: #fff;
  display: inline-block;
  margin-bottom: 18px;
}

.footer-about p {
  font-size: 14.5px;
  max-width: 300px;
  margin-bottom: 26px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background var(--trans), transform var(--trans);
}

.socials a:hover {
  background: var(--c-accent);
  transform: translateY(-3px);
}

.socials svg {
  width: 18px;
  height: 18px;
}

.footer h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 14.5px;
  padding: 6px 0;
  transition: color var(--trans), transform var(--trans);
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(4px);
}

.newsletter {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 34px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.newsletter h3 {
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.newsletter p {
  font-size: 14px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  flex: 0 0 auto;
}

.newsletter-form input {
  width: 300px;
  max-width: 100%;
  padding: 14px 22px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color var(--trans), background var(--trans);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.newsletter-form input:focus {
  border-color: var(--c-accent);
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 64px;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 13.5px;
}

.footer-bottom a:hover {
  color: #fff;
}

/* ============================================================
   INNER PAGES (support, catalog…)
   ============================================================ */
.page-hero {
  margin-top: var(--header-h);
  background: var(--c-soft);
  padding: 90px 0 70px;
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.page-hero p {
  color: var(--c-muted);
  font-size: 17px;
  max-width: 560px;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 13.5px;
  color: var(--c-muted);
  margin-bottom: 28px;
}

.breadcrumbs a:hover {
  color: var(--c-accent);
}

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

.support-card {
  display: block;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform var(--trans), box-shadow var(--trans),
    border-color var(--trans);
}

.support-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}

.support-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.support-card p {
  font-size: 14.5px;
  color: var(--c-muted);
  margin-bottom: 18px;
}

/* --- FAQ accordion --- */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow var(--trans), border-color var(--trans);
}

.faq-item.open {
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  color: var(--c-ink);
}

.faq-q .plus {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-soft);
  color: var(--c-ink);
  transition: background var(--trans), color var(--trans),
    transform var(--trans);
}

.faq-item.open .plus {
  background: var(--c-accent);
  color: #fff;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-a p {
  padding: 0 26px 24px;
  color: var(--c-muted);
  font-size: 15px;
}

/* --- Content prose (returns / warranty) --- */
.prose {
  max-width: 780px;
  margin-inline: auto;
}

.prose h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 44px 0 14px;
}

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

.prose p,
.prose li {
  color: var(--c-muted);
  font-size: 16px;
  margin-bottom: 12px;
}

.prose ul {
  padding-left: 4px;
}

.prose li {
  position: relative;
  padding-left: 26px;
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* --- Drivers table --- */
.drivers-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}

.drivers-table th,
.drivers-table td {
  text-align: left;
  padding: 18px 24px;
  font-size: 15px;
}

.drivers-table th {
  background: var(--c-soft);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-muted);
}

.drivers-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--c-line);
}

.drivers-table td .link-arrow {
  font-size: 14.5px;
}

/* --- Catalog grid --- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* --- Image fallback for missing files --- */
.img-fallback {
  position: relative;
  background: linear-gradient(135deg, #e3e8f0 0%, #f5f7fa 60%, #e9eef6 100%);
}

.img-fallback img {
  opacity: 0;
}

.img-fallback::before {
  content: "YERVIEW";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(17, 17, 17, 0.22);
  z-index: 1;
}

/* --- Focus & motion accessibility --- */
:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   ЯЗЫКИ (ru / kk)
   ============================================================ */
html[lang="ru"] .lang-kk { display: none !important; }
html[lang="kk"] .lang-ru { display: none !important; }

.lang-switch {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: var(--c-soft);
  border-radius: var(--radius-pill);
  margin-right: 6px;
}

.lang-switch button {
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  transition: background var(--trans), color var(--trans);
}

.lang-switch button:hover {
  color: var(--c-ink);
}

.lang-switch button.active {
  background: var(--c-ink);
  color: #fff;
}

/* ============================================================
   HERO — текст внизу слева (только desktop)
   ============================================================ */
@media (min-width: 993px) {
  .hero-content {
    justify-content: center;
    padding-top: 90px;   /* воздух между navbar и текстом */
    padding-bottom: 40px;
  }
}

/* ============================================================
   HERO — контент прижат к левому краю контейнера
   (.container с max-width центрировал блок — фиксируем)
   ============================================================ */
.hero-content {
  margin-left: max(24px, calc((100% - var(--container)) / 2));
  margin-right: auto;
}

@media (max-width: 640px) {
  .hero-content {
    margin-left: 16px;
    margin-right: 16px;
  }
}

/* ============================================================
   КОРЗИНА И ИЗБРАННОЕ
   ============================================================ */

/* --- Сердечко и корзина на карточке (быстрые действия) --- */
.card-media-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fav-btn,
.cart-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  color: var(--c-ink);
  box-shadow: 0 4px 14px rgba(17, 17, 17, 0.12);
  transition: transform var(--trans), color var(--trans),
    background var(--trans);
}

.fav-btn svg,
.cart-icon-btn svg {
  width: 19px;
  height: 19px;
}

.fav-btn:hover {
  transform: scale(1.1);
  color: var(--c-danger);
}

.cart-icon-btn:hover {
  transform: scale(1.1);
  background: var(--c-accent);
  color: #fff;
}

.fav-btn.active {
  color: var(--c-danger);
}

.fav-btn.active svg path {
  fill: var(--c-danger);
  stroke: var(--c-danger);
}

/* --- Drawer (корзина / избранное) --- */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--trans), visibility var(--trans);
  z-index: 1100;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: var(--c-white);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--trans);
  box-shadow: -30px 0 60px rgba(17, 17, 17, 0.15);
}

.drawer.open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--c-line);
}

.drawer-head h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.drawer-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--c-soft);
  color: var(--c-ink);
  transition: background var(--trans), transform var(--trans);
}

.drawer-close:hover {
  background: var(--c-ink);
  color: #fff;
  transform: rotate(90deg);
}

.drawer-close svg {
  width: 17px;
  height: 17px;
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.drawer-empty {
  margin: auto;
  color: var(--c-muted);
  text-align: center;
}

.drawer-item {
  display: flex;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  transition: box-shadow var(--trans), border-color var(--trans);
}

.drawer-item:hover {
  border-color: transparent;
  box-shadow: var(--shadow-soft);
}

.drawer-thumb {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8ecf3, #f6f8fb);
}

.drawer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-info {
  flex: 1;
  min-width: 0;
}

.drawer-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
}

.drawer-price {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}

.drawer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--c-soft);
  border-radius: var(--radius-pill);
  padding: 3px;
}

.qty button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-ink);
  display: grid;
  place-items: center;
  transition: background var(--trans), color var(--trans);
}

.qty button:hover {
  background: var(--c-accent);
  color: #fff;
}

.qty span {
  min-width: 26px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

.drawer-remove {
  font-size: 13px;
  font-weight: 600;
  color: var(--c-muted);
  transition: color var(--trans);
}

.drawer-remove:hover {
  color: var(--c-danger);
}

.drawer-foot {
  padding: 20px 24px;
  border-top: 1px solid var(--c-line);
}

.drawer-foot:empty {
  display: none;
}

.drawer-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--c-muted);
}

.drawer-total b {
  font-size: 20px;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}

.drawer-checkout {
  width: 100%;
}

/* --- Toast --- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  translate: -50% 0;
  z-index: 1300;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: var(--c-ink);
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--trans), transform var(--trans),
    visibility var(--trans);
  max-width: calc(100% - 32px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ============================================================
   МОДАЛКА ТОВАРА («Узнать»)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--trans), visibility var(--trans);
  z-index: 1150;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.product-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 1250;
  width: min(760px, calc(100% - 32px));
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: 0 40px 100px rgba(17, 17, 17, 0.3);
  display: grid;
  grid-template-columns: 1fr 1fr;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.96);
  transition: opacity var(--trans), transform var(--trans),
    visibility var(--trans);
}

.product-modal.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.modal-media {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 28px;
  background: linear-gradient(135deg, #e8ecf3, #f6f8fb);
}

.modal-media img {
  width: 88%;
  height: 88%;
  max-width: 360px;
  max-height: 360px;
  object-fit: contain;
  object-position: center;
}

.product-modal .modal-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}

.modal-cat {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--c-accent-soft);
  color: var(--c-accent);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-modal h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.modal-price .now {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.modal-price .installment {
  font-size: 14px;
  margin-top: 4px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.modal-fav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  background: var(--c-soft);
  color: var(--c-ink);
  font-size: 14.5px;
  font-weight: 600;
  transition: background var(--trans), color var(--trans);
}

.modal-fav svg {
  width: 18px;
  height: 18px;
}

.modal-fav:hover {
  background: #ececef;
}

.modal-fav.active {
  color: var(--c-danger);
}

.modal-fav.active svg path {
  fill: var(--c-danger);
  stroke: var(--c-danger);
}

@media (max-width: 640px) {
  .product-modal {
    grid-template-columns: 1fr;
  }

  .modal-media {
    min-height: 220px;
  }

  .product-modal .modal-body {
    padding: 24px 20px 28px;
  }
}

/* ============================================================
   WHATSAPP-ЗАКАЗ И KASPI
   ============================================================ */
.btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  background: #25d366;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: background var(--trans), transform var(--trans),
    box-shadow var(--trans);
}

.btn-wa:hover {
  background: #1eb857;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.4);
}

.btn-wa svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.drawer-checkout.btn-wa {
  width: 100%;
}

.modal-kaspi {
  display: inline-flex;
  align-items: center;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  background: #fff1f0;
  color: #f14635;
  font-size: 14.5px;
  font-weight: 700;
  transition: background var(--trans), transform var(--trans);
}

.modal-kaspi:hover {
  background: #ffe3e0;
  transform: translateY(-2px);
}

/* фото карточки открывает окно товара */
.card-media[data-info] {
  cursor: pointer;
}

/* ============================================================
   ДРАЙВЕРЫ — аккордеон со ссылками на скачивание
   ============================================================ */
.driver-list {
  max-width: 100%;
}

.driver-item .faq-q {
  font-size: 16.5px;
}

.driver-links {
  padding: 4px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.driver-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--c-soft);
  transition: background var(--trans), transform var(--trans);
}

.driver-link:hover {
  background: var(--c-accent-soft);
  transform: translateX(4px);
}

.driver-link-ico {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--c-accent);
}

.driver-link-ico svg {
  width: 17px;
  height: 17px;
}

.driver-link-text {
  flex: 1;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--c-ink);
}

.driver-link-go {
  flex: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-accent);
}

.card-support-link {
  display: inline-flex;
  margin: 8px 0 2px;
  color: #1677ff;
  font-size: 13px;
  font-weight: 700;
}

.seo-model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.seo-model-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--c-border);
  border-radius: 22px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}

.seo-model-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(17, 24, 39, .09);
}

.seo-model-card small { color: var(--c-muted); font-weight: 700; }
.seo-model-card h3 { font-size: 20px; line-height: 1.25; }
.seo-model-card p { color: var(--c-muted); font-size: 14px; line-height: 1.55; }
.seo-model-card .link-arrow { margin-top: auto; color: #1677ff; font-weight: 700; }

.model-support-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, .75fr);
  gap: 28px;
  align-items: start;
}

.model-support-main,
.model-support-aside {
  padding: 30px;
  border: 1px solid var(--c-border);
  border-radius: 24px;
  background: #fff;
}

.model-support-main h2 { margin: 0 0 14px; font-size: clamp(24px, 3vw, 34px); }
.model-support-main h3 { margin: 30px 0 10px; font-size: 21px; }
.model-support-main p,
.model-support-main li,
.model-support-aside p { color: var(--c-muted); line-height: 1.7; }
.model-support-main ol,
.model-support-main ul { padding-left: 22px; }
.model-support-aside img { width: 100%; max-height: 210px; object-fit: contain; margin-bottom: 18px; }
.model-support-aside .btn { width: 100%; margin-top: 10px; text-align: center; }
.model-downloads { display: grid; gap: 12px; margin: 20px 0; }
.model-note { padding: 16px 18px; border-radius: 14px; background: #f2f7ff; color: #24466f; line-height: 1.6; }

@media (max-width: 900px) {
  .seo-model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model-support-layout { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .seo-model-grid { grid-template-columns: 1fr; }
  .model-support-main, .model-support-aside { padding: 21px; }
}

@media (max-width: 640px) {
  .driver-link-go {
    display: none;
  }
}

/* ============================================================
   КНОПКА-КОНСУЛЬТАЦИЯ WHATSAPP НА КАРТОЧКЕ (компактная, рядом с Kaspi)
   ============================================================ */
.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-actions .btn-buy-wide {
  flex: 1;
  min-width: 0;
}

.wa-consult-btn {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  transition: background var(--trans), transform var(--trans),
    box-shadow var(--trans);
}

.wa-consult-btn:hover {
  background: #1eb857;
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
}

.wa-consult-btn svg {
  width: 21px;
  height: 21px;
}
