/* =============================================
   ONEPAD — Global Styles
   Apple-like minimalism, mobile-first
   ============================================= */

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

:root {
  --white:      #FFFFFF;
  --black:      #1D1D1F;
  --black-2:    #111214;
  --gray-1:     #F5F5F7;
  --gray-2:     #E8E8ED;
  --gray-3:     #AEAEB2;
  --gray-4:     #6E6E73;
  --gray-5:     #3A3A3C;
  --blue:       #1D1D1F;
  --blue-hover: #0F1012;
  --green:      #28A745;
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.22s ease;
  --max-width:  1160px;
  --font:       -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Inter, sans-serif;
}

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

/* Offset anchor jumps because header is sticky */
[id] { scroll-margin-top: 88px; }

body {
  font-family: var(--font);
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFBFC 100%);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-hover); }

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

ul { list-style: none; }

/* --- Layout --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section { padding: 56px 0; }
.section--gray { background: var(--gray-1); }
.section--dark { background: var(--black); color: var(--white); }

/* --- Typography --- */
.h1 { font-size: clamp(28px, 5vw, 52px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.h2 { font-size: clamp(22px, 4vw, 40px); font-weight: 700; letter-spacing: -0.015em; line-height: 1.2; }
.h3 { font-size: clamp(18px, 3vw, 26px); font-weight: 600; letter-spacing: -0.01em; }
.h4 { font-size: 18px; font-weight: 600; }
.lead { font-size: clamp(16px, 2.5vw, 20px); color: var(--gray-4); line-height: 1.7; }
.caption { font-size: 13px; color: var(--gray-3); }
.price { font-size: 24px; font-weight: 700; color: var(--black); }
.price--lg { font-size: 32px; }
.price--old { font-size: 16px; color: var(--gray-3); text-decoration: line-through; font-weight: 400; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 13px 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: all var(--transition);
  border: 1.5px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: -0.015em;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.btn--primary {
  background: linear-gradient(180deg, #1A1A1C 0%, #101012 100%);
  color: var(--white);
  border-color: rgba(0,0,0,0.18);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #242427 0%, #161618 100%);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.btn--outline {
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(247,247,248,0.95) 100%);
  color: var(--black);
  border: 1.5px solid #D8D8DD;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.btn--outline:hover {
  background: #FFFFFF;
  color: var(--black);
  border-color: #C6C6CD;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.btn--dark {
  background: linear-gradient(180deg, #0F1012 0%, #070708 100%);
  color: var(--white);
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 10px 24px rgba(0,0,0,0.16);
}
.btn--dark:hover {
  background: linear-gradient(180deg, #1B1C1F 0%, #0D0D0E 100%);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.22);
}

.btn--product {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 18px rgba(10, 11, 14, 0.16);
}
.btn--product:hover {
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(10, 11, 14, 0.24);
}
.btn--product.tone-black {
  background: linear-gradient(180deg, #121316 0%, #090A0C 100%);
}
.btn--product.tone-black:hover {
  background: linear-gradient(180deg, #1B1C20 0%, #111216 100%);
}
.btn--product.tone-graphite {
  background: linear-gradient(180deg, #2A2D34 0%, #1E2128 100%);
}
.btn--product.tone-graphite:hover {
  background: linear-gradient(180deg, #343843 0%, #242833 100%);
}
.btn--product.tone-steel {
  background: linear-gradient(180deg, #4F5561 0%, #3E4450 100%);
}
.btn--product.tone-steel:hover {
  background: linear-gradient(180deg, #5C6371 0%, #484F5C 100%);
}

.btn--white {
  background: var(--white);
  color: var(--black);
}
.btn--white:hover {
  background: var(--gray-1);
  color: var(--black);
  transform: translateY(-1px);
}

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

.btn--tg {
  background: #29B6F6;
  color: var(--white);
}
.btn--tg:hover {
  background: #0288D1;
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(41,182,246,0.4);
}

.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--full { width: 100%; }

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17,18,20,0.88);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  text-decoration: none;
}
.logo__icon {
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 14px;
  font-weight: 800;
}

.nav { display: flex; align-items: center; flex: 1; justify-content: center; gap: 0; }

.nav__link {
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: all var(--transition);
}
.nav__link:hover, .nav__link.active {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

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

.header__tg {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  transition: all var(--transition);
}
.header__tg:hover {
  background: rgba(255,255,255,0.11);
  border-color: rgba(255,255,255,0.14);
  color: var(--white);
}
.header__tg svg { color: #29B6F6; }

.header__account {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: all var(--transition);
}
.header__account:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
}
.header__account svg { flex-shrink: 0; }

.header__cart {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  color: var(--white);
  text-decoration: none;
  transition: all var(--transition);
}
.header__cart:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
}
.header__cart svg { flex-shrink: 0; }
.header__cart-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.header__cart-count {
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--white);
  color: var(--black-2);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  line-height: 1;
}

.header__platform-links {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header__quick {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  transition: all var(--transition);
  white-space: nowrap;
}
.header__quick:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.28);
  color: var(--white);
}
.header__quick--strong {
  background: rgba(255,255,255,0.2);
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: block;
  background: var(--white);
  border-bottom: 1px solid transparent;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  padding: 0 20px;
  transition:
    max-height 0.34s ease,
    opacity 0.24s ease,
    transform 0.24s ease,
    padding 0.24s ease,
    border-color 0.24s ease;
}
.mobile-nav.open {
  max-height: 680px;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  border-bottom-color: var(--gray-2);
  padding: 16px 20px;
}
.mobile-nav-backdrop {
  position: fixed;
  inset: 64px 0 0;
  z-index: 98;
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  background: rgba(17, 18, 20, 0.26);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}
.mobile-nav-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav__links { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  border: 1px solid transparent;
}
.mobile-nav__link:hover { background: var(--gray-1); color: var(--black); border-color: #ECECF0; }
.mobile-nav__icon {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1px solid #DDE1EA;
  background: #F4F6F9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4F5563;
  flex-shrink: 0;
}
.mobile-nav__icon img,
.mobile-nav__icon svg {
  width: 15px;
  height: 15px;
  display: block;
}
.mobile-nav__icon img {
  opacity: 0.9;
  filter: grayscale(1) contrast(2) brightness(0.38);
}
.mobile-nav__account {
  background: #F3F5FA;
  border: 1px solid #E3E8F2;
}
.mobile-nav__link--platform {
  background: #F2F7FF;
  border: 1px solid #DFE9FF;
}
.mobile-nav__badge {
  margin-left: auto;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #15161A;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  line-height: 1;
}
.mobile-nav__tg {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 13px 14px;
  background: #F2F8FF;
  border: 1px solid #DCEBFC;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: #0B7BCB;
}

/* --- Hero Panel --- */
.hero-img {
  padding: 0;
  background: #161618;
}
.hero-img__inner {
  max-width: none;
  margin: 0 auto;
  padding: 0;
}
.hero-img__wrap {
  position: relative;
  display: block;
}
.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  border-radius: 0;
  border: none;
  background:
    radial-gradient(circle at 50% -8%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 28%, transparent 58%),
    linear-gradient(180deg, #1B1B1E 0%, #17171A 46%, #151518 100%);
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.04);
}
.hero-panel__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center 18%, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.012) 24%, transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0) 38%);
  pointer-events: none;
}
.hero-panel__content {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  padding: 110px 32px 118px;
  text-align: center;
}
.hero-panel__eyebrow {
  margin: 0 0 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.28);
}
.hero-panel__icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}
.hero-panel__icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid #D2D5DE;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(243,244,248,0.98) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 18px rgba(17,18,20,0.08);
  animation: hero-icon-float 4.8s ease-in-out infinite;
}
.hero-panel__icon-wrap:nth-child(2) {
  animation-delay: .24s;
}
.hero-panel__icon-wrap:nth-child(3) {
  animation-delay: .48s;
}
.hero-panel__icon-image {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: grayscale(1) contrast(1.24);
  opacity: 0.94;
}
.hero-panel__title {
  max-width: 1100px;
  margin: 0 auto 26px;
  text-wrap: balance;
}
.hero-panel__title-line {
  display: block;
  font-size: clamp(56px, 7vw, 102px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.96;
}
.hero-panel__title-line--primary {
  color: #FFFFFF;
}
.hero-panel__title-line--secondary {
  margin-top: 6px;
  color: rgba(255,255,255,0.22);
}
.hero-panel__subtitle {
  max-width: 620px;
  margin: 0 auto 42px;
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
  color: rgba(255,255,255,0.48);
  letter-spacing: -0.018em;
}
.hero-panel__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 292px));
  justify-content: center;
  align-items: stretch;
  gap: 14px;
  max-width: 600px;
  margin: 0 auto;
}
.hero-panel__action {
  width: 100%;
  min-height: 62px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 700;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background .25s ease, color .25s ease;
}
.hero-panel__action--primary {
  background: linear-gradient(180deg, #FFFFFF 0%, #F2F2F4 100%);
  color: #1A1A1C;
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 12px 26px rgba(0,0,0,0.16);
}
.hero-panel__action--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.22);
  color: #1A1A1C;
}
.hero-panel__action--support {
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.hero-panel__action--support:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
  color: #FFFFFF;
  transform: translateY(-1px);
}
.hero-panel__action--left {
  transform: none;
}
.hero-panel__action--right {
  transform: none;
}
.hero-panel__action--helper {
  white-space: normal !important;
  padding: 12px 16px;
  line-height: 1.3;
  letter-spacing: -0.012em;
}
.hero-panel__helper-text {
  display: block;
}
.hero-panel__helper-text br {
  display: none;
}
.hero-panel__action--helper:hover {
  transform: translateY(-1px);
}
.hero-panel__actions .header__account,
.hero-panel__actions .header__quick,
.hero-panel__actions .mobile-nav__account {
  display: none !important;
}

@keyframes hero-icon-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
/* --- Home advantages --- */
.home-advantages {
  padding: 12px 0 14px;
}
.home-advantages__panel {
  border-radius: 28px;
  border: 1px solid #DEE2EA;
  background: linear-gradient(168deg, #F7F8FB 0%, #ECEEF3 56%, #F6F7F9 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 16px 32px rgba(17,18,20,0.07);
  padding: 14px;
}
.home-advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.home-adv {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(17,18,20,0.10);
  background: rgba(255,255,255,0.9);
  box-shadow: 0 10px 22px rgba(17,18,20,0.06);
  padding: 16px 46px 14px 14px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 104px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.home-adv:hover {
  transform: translateY(-2px);
  border-color: rgba(17,18,20,0.18);
  box-shadow: 0 18px 32px rgba(17,18,20,0.12);
}
.home-adv--featured {
  border-color: rgba(17,18,20,0.2);
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(245,247,255,0.96) 100%);
  box-shadow: 0 16px 28px rgba(17,18,20,0.12);
}
.home-adv__icon {
  min-width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #111214;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  margin-top: 1px;
}
.home-adv__title {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
  line-height: 1.25;
}
.home-adv__text {
  margin-top: 6px;
  font-size: 14px;
  color: var(--gray-4);
  line-height: 1.45;
}
.home-adv__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  min-width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(17,18,20,0.10);
  background: rgba(255,255,255,0.84);
  color: rgba(17,18,20,0.66);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* --- Hero --- */
.hero {
  padding: 0;
  background: #F7F7F8;
}
.hero__card {
  background: url('../img/hero-bg.png') center center / cover no-repeat;
  border: none;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
  padding: 72px 64px 80px;
  max-width: 1100px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 1. Title */
.hero__title {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 800;
  color: #0A0A0A;
  letter-spacing: -0.03em;
  line-height: 1.6;
  margin-bottom: 18px;
  text-align: center;
  white-space: nowrap;
}

/* 2. Subtitle */
.hero__sub {
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  color: #1f2329;
  line-height: 1.4;
  max-width: none;
  width: auto;
  white-space: nowrap;
  margin-top: 10px;
  margin-bottom: 12px;
  display: block;
  background: rgba(255,255,255,0.4);
  border: 1.5px solid rgba(31,35,41,0.18);
  border-radius: 14px;
  padding: 5px 14px;
  text-align: center;
}

/* Decorative divider — visually attached to subtitle */
.hero__divider {
  width: 96px;
  height: 2px;
  background: #D1D1D6;
  border: none;
  border-radius: 2px;
  margin: 0 auto 28px;
}

/* 3. Hint */
.hero__hint {
  font-size: 11px;
  color: #9CA3AF;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}

/* 4. Model chips */
.hero__models {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0;
}
.hero__model-chip {
  background: #fff;
  color: #1f2329;
  border: 1.5px solid #d1d1d6;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.18s ease, box-shadow 0.18s ease;
  cursor: pointer;
  white-space: nowrap;
}
.hero__model-chip:hover {
  background: #f5f5f7;
  border-color: #b0b0b8;
}
.hero__model-chip--active {
  background: #1f2329;
  color: #fff;
  border-color: #1f2329;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  font-weight: 600;
}

/* 5. Trust row */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 36px;
  width: 100%;
  padding-top: 28px;
  border-top: 1px solid #EBEBEB;
}
.hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #4B5563;
  white-space: nowrap;
  line-height: 1;
}
.hero__trust-check {
  font-size: 11px;
  font-weight: 700;
  color: #1C1C1E;
}

@media (max-width: 860px) {
  .hero-panel {
    min-height: auto;
  }
  .hero-panel__content {
    padding: 86px 22px 86px;
  }
  .hero-panel__title {
    max-width: 760px;
  }
}
@media (max-width: 680px) {
  .hero-img {
    padding-top: 0;
  }
  .hero-img__inner {
    padding: 0;
  }
  .hero-panel {
    min-height: auto;
  }
  .hero-panel__content {
    padding: 62px 18px 66px;
  }
  .hero-panel__eyebrow {
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 0.14em;
  }
  .hero-panel__title {
    margin-bottom: 18px;
  }
  .hero-panel__title-line {
    font-size: clamp(42px, 15vw, 64px);
    line-height: 0.98;
  }
  .hero-panel__title-line--secondary {
    margin-top: 4px;
  }
  .hero-panel__subtitle {
    max-width: 330px;
    font-size: 15px;
    margin-bottom: 28px;
  }
  .hero-panel__icons {
    gap: 8px;
    margin-bottom: 12px;
  }
  .hero-panel__icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 8px 14px rgba(17,18,20,0.07);
  }
  .hero-panel__icon-image {
    width: 21px;
    height: 21px;
  }
  .hero-panel__actions {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 0;
  }
  .hero-panel__actions .btn,
  .hero-panel__action {
    width: 100%;
    min-height: 56px;
    border-radius: 16px;
    font-size: 17px;
    transform: none !important;
  }
  .hero-panel__action--helper {
    font-size: 14px;
    padding: 12px 14px;
    line-height: 1.35;
  }
  .hero-panel__helper-text br {
    display: block;
  }
}
@media (max-width: 480px) {
  .hero-panel__title {
    font-size: clamp(24px, 9.4vw, 38px);
    line-height: 1.08;
    margin: 0 auto 14px;
  }
  .hero-panel__subtitle {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 20px;
  }
  .hero-panel__icons {
    gap: 7px;
  }
  .hero-panel__icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
  }
  .hero-panel__icon-image {
    width: 18px;
    height: 18px;
  }
}

/* --- Category Grid --- */
.categories { padding: 80px 0; background: linear-gradient(180deg, #FFFFFF 0%, #FBFBFC 100%); }
.categories__sub { color: #999; font-size: 15px; margin-top: 6px; }
.h2__arrow {
  display: inline-block;
  font-style: normal;
  font-weight: 300;
  color: #999;
  font-size: 0.85em;
  line-height: 1;
  vertical-align: middle;
  margin-left: 4px;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 40px;
  align-items: stretch;
}

.cat-card {
  background: #fff;
  border: 1px solid #E6E6EA;
  border-radius: 22px;
  padding: 34px 22px 30px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(17,18,20,0.08);
  border-color: #D0D0D7;
}
.cat-card__icon {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-card__icon img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  filter: brightness(0.92);
}
.cat-card__name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  white-space: nowrap;
  letter-spacing: -0.015em;
}
.cat-card__count {
  font-size: 12px;
  font-weight: 500;
  color: #666;
  line-height: 1.55;
}

/* Featured first category card */
.cat-card--featured {
  background: linear-gradient(180deg, #FAFAFB 0%, #F4F4F6 100%);
  border: 1.5px solid #B9BAC1;
  box-shadow: 0 12px 28px rgba(17,18,20,0.08);
  padding-top: 40px;
}
.cat-card--featured .cat-card__icon img {
  filter: brightness(0.78);
}
.cat-card--featured:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(17,18,20,0.1);
  border-color: #8D8E97;
}

.cat-card__count--featured {
  color: #222;
  font-weight: 600;
  font-size: 13px;
}

.cat-card__social {
  margin-top: 8px;
  font-size: 11px;
  color: #888;
  font-weight: 400;
}

/* Badge on featured card */
.cat-card__badge {
  position: absolute;
  top: 11px;
  right: 11px;
  background: #1D1D1F;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

/* --- Compatibility Block --- */
.compat {
  padding: 56px 0 58px;
  background: linear-gradient(180deg, #F7F7F8 0%, #F2F2F4 100%);
}
.compat .section-header {
  max-width: 860px;
}
.compat .section-header .h2 {
  font-size: clamp(34px, 4.2vw, 58px);
  letter-spacing: -0.035em;
}
.compat .section-header .lead {
  font-size: 16px;
  color: var(--gray-4);
}
.compat__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 12px;
  margin-top: 28px;
  max-width: 1260px;
  margin-left: auto;
  margin-right: auto;
}
.compat__helper {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}
.compat__helper-btn {
  min-height: 52px;
  border-radius: 16px;
  padding: 0 24px;
  font-size: 15px;
}
.compat-chip {
  --chip-border: #DADCE3;
  --chip-bg: rgba(255,255,255,0.9);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 214px;
  min-height: 104px;
  background: var(--white);
  border: 1.5px solid var(--chip-border);
  border-radius: 20px;
  padding: 17px 13px;
  text-align: center;
  transition: transform .28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .28s cubic-bezier(0.22, 1, 0.36, 1), border-color .25s ease, background .25s ease, color .25s ease;
  cursor: pointer;
  text-decoration: none;
  color: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--chip-bg);
  box-shadow: 0 8px 18px rgba(17,18,20,0.05);
  animation: compat-chip-in .55s ease both;
}
.compat-chip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.52) 45%, rgba(255,255,255,0.0) 70%);
  transform: translateX(-160%);
  transition: transform .8s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: -1;
}
.compat-chip:hover {
  border-color: #C9CCD5;
  color: var(--black);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 18px 34px rgba(17,18,20,0.10);
}
.compat-chip:hover::before {
  transform: translateX(160%);
}
.compat-chip:focus-visible {
  border-color: #7FA6D7;
  box-shadow: 0 0 0 3px rgba(0,102,204,0.18), 0 14px 28px rgba(17,18,20,0.12);
}
.compat-chip--active {
  --chip-border: #20232D;
  --chip-bg: radial-gradient(120% 120% at 12% 8%, #2B3240 0%, #1D212A 54%, #12151B 100%);
  color: #F3F6FC;
  box-shadow: 0 18px 34px rgba(13,16,24,0.34);
}
.compat-chip--active .compat-chip__model,
.compat-chip--active .compat-chip__gen {
  color: #F3F6FC;
}
.compat-chip--active .compat-chip__gen {
  opacity: 0.86;
}
.compat-chip--help {
  border-style: dashed;
  background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(246,246,248,0.96) 100%);
  color: var(--black);
  border-color: #CFD3DD;
}
.compat-chip__model {
  font-size: clamp(19px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.compat-chip__gen {
  font-size: clamp(14px, 1.6vw, 15px);
  font-weight: 500;
  color: var(--gray-3);
  letter-spacing: -0.01em;
}
.compat-chip:hover .compat-chip__gen { color: var(--gray-4); }
.compat-chip--active:hover .compat-chip__gen { color: #F3F6FC; }

@keyframes compat-chip-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .compat-chip {
    animation: none;
    transition: border-color .2s ease, background .2s ease, color .2s ease;
  }
  .compat-chip:hover {
    transform: none;
  }
  .compat-chip::before {
    display: none;
  }
}

/* --- Trust block --- */
.trust { padding: 56px 0; }
.trust-banner {
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #E3E6EC;
  background: #F5F7FA;
  box-shadow: 0 16px 34px rgba(17,18,20,0.08);
}
.trust-banner__image {
  width: 100%;
  height: auto;
  display: block;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.trust-item {
  text-align: left;
  background: rgba(255,255,255,0.86);
  border: 1px solid #E7E7EB;
  border-radius: 22px;
  padding: 24px 22px;
  box-shadow: 0 10px 28px rgba(17,18,20,0.04);
}
.trust-item__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(180deg, #F7F7F8 0%, #EDEDF1 100%);
  border: 1px solid #E0E0E6;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  font-size: 22px;
}
.trust-item__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.trust-item__text { font-size: 14px; color: var(--gray-4); line-height: 1.7; }

/* --- Upsell add-ons --- */
.addons { padding: 56px 0; background: linear-gradient(180deg, #F8F8F9 0%, #F3F3F5 100%); }
.addons__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.addon-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid #E4E4E9;
  border-radius: 22px;
  padding: 26px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 10px 28px rgba(17,18,20,0.04);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.addon-card:hover {
  box-shadow: 0 18px 36px rgba(17,18,20,0.08);
  border-color: #D5D5DC;
  transform: translateY(-3px);
}
.addon-card__img {
  width: 80px;
  height: 80px;
  background: linear-gradient(180deg, #F7F7F8 0%, #EFEFF2 100%);
  border: 1px solid #E2E2E8;
  border-radius: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.addon-card__img img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  filter: grayscale(1) contrast(1.28);
  transition: transform .28s ease, filter .28s ease;
}
.addon-card:hover .addon-card__img img {
  transform: scale(1.03);
  filter: grayscale(1) contrast(1.42);
}
.addon-card__content { flex: 1; }
.addon-card__name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.addon-card__desc { font-size: 13px; color: var(--gray-4); margin-bottom: 12px; line-height: 1.65; }
.addon-card__price { font-size: 17px; font-weight: 700; }

/* --- How to find model --- */
.find-model { padding: 22px 0 34px; }
.find-model__banner {
  max-width: 1120px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #E3E6EC;
  background: #F5F7FA;
  box-shadow: 0 18px 40px rgba(17,18,20,0.08);
}
.find-model__banner-image {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Reviews --- */
.reviews { padding: 56px 0; background: linear-gradient(180deg, #F7F7F8 0%, #F2F2F4 100%); }
.trust-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 1040px;
  margin: 34px auto 0;
}
.trust-metric {
  border: 1px solid #E1E3EA;
  border-radius: 20px;
  background: rgba(255,255,255,0.88);
  box-shadow: 0 10px 22px rgba(17,18,20,0.04);
  padding: 18px;
  text-align: center;
}
.trust-metric__value {
  font-size: clamp(26px, 2.4vw, 36px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 6px;
}
.trust-metric__label {
  font-size: 13px;
  line-height: 1.5;
  color: var(--gray-4);
  max-width: 210px;
  margin: 0 auto;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-top: 40px;
}
.reviews__grid--compact {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 14px;
}
.review-card {
  background: rgba(255,255,255,0.92);
  border: 1px solid #E4E4E9;
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 10px 28px rgba(17,18,20,0.04);
}
.review-card__stars { color: #111214; font-size: 14px; margin-bottom: 14px; letter-spacing: 0.08em; }
.review-card__text { font-size: 14px; color: var(--gray-5); line-height: 1.78; margin-bottom: 18px; }
.review-card__author { display: flex; align-items: center; gap: 10px; }
.review-card__avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(180deg, #F2F2F4 0%, #E6E6EB 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-4);
}
.review-card__name { font-size: 13px; font-weight: 600; }
.review-card__date { font-size: 12px; color: var(--gray-3); }

/* --- Telegram CTA --- */
.tg-cta {
  padding: 76px 0;
  background: linear-gradient(180deg, #141416 0%, #0D0D0E 100%);
  text-align: center;
  color: var(--white);
}
.tg-cta__icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  border-radius: 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}
.tg-cta__title { margin-bottom: 12px; color: var(--white); }
.tg-cta__sub { max-width: 560px; margin: 0 auto 34px; color: rgba(255,255,255,0.74); font-size: 16px; line-height: 1.75; }
.tg-cta__benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}
.tg-cta__benefit {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
}

/* --- Delivery strip --- */
.delivery-strip {
  padding: 32px 0 40px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(246,246,248,0.92) 100%);
  border-top: 1px solid #E9E9EE;
  border-bottom: 1px solid #E9E9EE;
}
.delivery-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.delivery-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.74);
  border: 1px solid #E7E7EB;
  border-radius: 18px;
  padding: 18px 18px;
}
.delivery-item__icon {
  width: 40px;
  height: 40px;
  font-size: 20px;
  border-radius: 12px;
  background: linear-gradient(180deg, #F6F6F8 0%, #ECECF0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.delivery-item__label { font-size: 14px; color: var(--gray-4); }
.delivery-item__value { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }

/* --- Section header --- */
.section-header { text-align: center; max-width: 640px; margin: 0 auto; }
.section-header .lead { margin-top: 14px; }
.section-header .h2 {
  letter-spacing: -0.025em;
}

/* --- Page intro / support blocks --- */
.page-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.page-intro__lead {
  margin-top: 12px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.feature-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.catalog-toolbar {
  background: #1D1D1F;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.catalog-toolbar__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.catalog-toolbar__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.catalog-toolbar__breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255,255,255,0.26);
  white-space: nowrap;
}
.catalog-toolbar__breadcrumb a { color: rgba(255,255,255,0.28); }
.catalog-toolbar__title {
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  white-space: nowrap;
}
.catalog-toolbar__count {
  font-size: 14px;
  color: rgba(255,255,255,0.34);
  white-space: nowrap;
}
.catalog-toolbar__filters {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.catalog-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.70);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.015em;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  text-decoration: none;
}
.catalog-chip:hover,
.catalog-chip.is-active {
  background: #FFFFFF;
  border-color: #FFFFFF;
  color: #1D1D1F;
  transform: translateY(-1px);
}
.catalog-empty {
  margin-top: 18px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid #E1E3E8;
  background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(246,246,248,0.98) 100%);
  text-align: center;
  box-shadow: 0 16px 30px rgba(17,18,20,0.05);
}
.catalog-empty__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.catalog-empty__text {
  font-size: 14px;
  color: var(--gray-4);
  line-height: 1.7;
  margin-bottom: 18px;
}
.promo-card {
  margin-top: 48px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(245,245,247,0.92) 100%);
  border: 1px solid #E3E3E8;
  border-radius: 24px;
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: 0 14px 30px rgba(17,18,20,0.05);
}
.promo-card--center {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  justify-content: center;
}
.promo-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-4);
  margin-bottom: 8px;
}
.promo-card__title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.promo-card__text {
  color: var(--gray-4);
  font-size: 14px;
  line-height: 1.7;
  max-width: 520px;
}
.support-card {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.support-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: linear-gradient(180deg, #F8F8FA 0%, #EEEEF2 100%);
  border: 1px solid #E2E2E8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.support-card__text {
  color: var(--gray-4);
  font-size: 15px;
  margin-bottom: 24px;
}
.support-card__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Product content blocks --- */
.product-copy {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-2);
}
.product-copy--aside {
  margin-top: 20px;
  padding-top: 0;
  border-top: 0;
}
.product-copy__inner {
  max-width: 760px;
  background: rgba(255,255,255,0.82);
  border: 1px solid #E6E6EB;
  border-radius: 24px;
  padding: 28px 28px 18px;
  box-shadow: 0 14px 30px rgba(17,18,20,0.04);
}
.product-copy--aside .product-copy__inner {
  max-width: 100%;
  padding: 22px 22px 12px;
  border-radius: 22px;
}
.product-copy__title {
  margin-bottom: 20px;
}
.product-copy__text {
  font-size: 15px;
  color: var(--gray-5);
  line-height: 1.85;
  margin-bottom: 14px;
}
.related-products {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--gray-2);
}
.related-products__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.related-products__item {
  min-width: 220px;
  flex-shrink: 0;
}
.related-products__visual {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

/* --- Accessory feature pages --- */
.hardware-feature {
  border-radius: 28px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
.hardware-feature--dark {
  background: linear-gradient(180deg, #17181A 0%, #101012 100%);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 24px 50px rgba(0,0,0,0.18);
}
.hardware-feature--light {
  background: linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(244,244,246,0.94) 100%);
  border: 1px solid #E4E4E9;
  box-shadow: 0 16px 34px rgba(17,18,20,0.05);
}
.hardware-feature__title {
  margin-bottom: 12px;
}
.hardware-feature__text {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 20px;
}
.hardware-feature--dark .hardware-feature__text {
  color: rgba(255,255,255,0.76);
}
.hardware-feature--light .hardware-feature__text {
  color: var(--gray-4);
}
.hardware-feature__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.hardware-feature__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.65;
}
.hardware-feature__item-icon {
  flex-shrink: 0;
  color: var(--green);
}
.hardware-feature__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}
.hardware-feature__price-value {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.hardware-feature__visual {
  aspect-ratio: 1/1;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 96px;
}
.hardware-feature--dark .hardware-feature__visual {
  background: radial-gradient(circle at top, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 68%);
  border: 1px solid rgba(255,255,255,0.08);
}
.hardware-feature--light .hardware-feature__visual {
  background: linear-gradient(180deg, #F6F6F8 0%, #ECECF0 100%);
  border: 1px solid #E3E3E8;
}

/* --- Product Grid (category pages) --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.product-grid.product-grid--single {
  grid-template-columns: minmax(280px, 360px);
  justify-content: center;
}

.product-card {
  background: var(--white);
  border: 1px solid #E4E4E9;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(17,18,20,0.04);
  transition: all var(--transition);
  text-decoration: none;
  color: var(--black);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: 0 18px 36px rgba(17,18,20,0.09);
  border-color: #D7D7DE;
  transform: translateY(-4px);
  color: var(--black);
}

.product-card__img {
  aspect-ratio: 1/1;
  background: linear-gradient(180deg, #F7F7F8 0%, #F0F0F3 100%);
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid rgba(17,18,20,0.04);
}
.product-card__img img { width: 100%; height: 100%; object-fit: cover; }
.product-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #76767C;
  font-size: 60px;
}
.product-card__placeholder-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0.92;
  filter: grayscale(1) contrast(1.8) brightness(0.45);
}
.product-card__placeholder--device {
  color: #C2C4CC;
}
.product-card__device-icon {
  width: 74px;
  height: 74px;
}
.product-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(17,18,20,0.94);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.product-card__badge--pop {
  background: #EAF6EE;
  color: #1F6D3F;
  border: 1px solid #CFE6D8;
}

.product-card__body { padding: 22px 22px 20px; flex: 1; display: flex; flex-direction: column; }
.product-card--kit {
  border: 1px solid #DBDCE3;
  border-radius: 24px;
  box-shadow: 0 10px 26px rgba(17,18,20,0.05);
}
.product-card--kit:hover {
  border-color: #C9CBD4;
  box-shadow: 0 16px 34px rgba(17,18,20,0.08);
  transform: translateY(-3px);
}
.product-card--kit .product-card__img {
  aspect-ratio: 1 / 0.86;
  background: linear-gradient(180deg, #F8F8FA 0%, #F1F1F4 100%);
  border-bottom: 1px solid #E4E4EA;
}
.product-card--kit .product-card__placeholder {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  font-size: 34px;
  background: linear-gradient(180deg, #F1F1F4 0%, #E7E7EC 100%);
  color: var(--black);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.92);
}
.product-card--kit .product-card__placeholder-icon {
  width: 54px;
  height: 54px;
}
.product-card__body--kit { padding: 20px 20px 18px; }
.product-card__name--kit {
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.product-card__name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}
.product-card__compat {
  font-size: 12px;
  color: var(--gray-4);
  margin-bottom: 14px;
  line-height: 1.55;
}
.product-card__compat--kit {
  font-size: 13px;
  color: var(--gray-4);
  margin-bottom: 14px;
}
.product-card__description {
  font-size: 14px;
  color: var(--gray-4);
  line-height: 1.65;
  margin-bottom: 18px;
}
.product-card__description--kit {
  font-size: 14px;
  color: var(--black);
  margin-bottom: 18px;
}
.product-card__pricing {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
  margin-top: auto;
}
.product-card__pricing--kit {
  padding-top: 16px;
  border-top: 1px solid #E7E7EC;
}
.product-card__price { font-size: 20px; font-weight: 700; }
.product-card__old { font-size: 13px; color: var(--gray-3); text-decoration: line-through; }
.product-card .btn { margin-top: 2px; }

.category-page--cases .page-header,
.category-page--cases .feature-strip {
  display: none;
}
.section--catalog-cases {
  padding-top: 38px;
  background: linear-gradient(180deg, #F7F7F8 0%, #F2F2F4 100%);
}
.category-page--cases .product-grid {
  margin-top: 0;
  gap: 18px;
}
.category-page--cases .product-card {
  border-radius: 24px;
  border-color: #E3E4EA;
  box-shadow: 0 10px 26px rgba(17,18,20,0.05);
}
.category-page--cases .product-card:hover {
  box-shadow: 0 20px 38px rgba(17,18,20,0.09);
  transform: translateY(-3px);
}
.category-page--cases .product-card__img {
  aspect-ratio: 1 / 0.88;
  background: linear-gradient(180deg, #F7F7F9 0%, #F3F3F5 100%);
}
.category-page--cases .product-card__body {
  padding: 18px 20px 20px;
}
.category-page--cases .product-card__name {
  font-size: 15px;
  margin-bottom: 7px;
}
.category-page--cases .product-card__compat {
  font-size: 12px;
  color: #9A9CA5;
  margin-bottom: 10px;
}
.category-page--cases .product-card__pricing {
  margin-bottom: 14px;
}
.category-page--cases .product-card__price {
  font-size: 19px;
}
.category-page--cases .product-card .btn {
  min-height: 46px;
  border-radius: 14px;
}
.category-page--cases .promo-card {
  margin-top: 32px;
}

/* --- Product page --- */
.product-page { padding: 40px 0 80px; }
.product-page__breadcrumb {
  font-size: 13px;
  color: var(--gray-3);
  margin-bottom: 32px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.product-page__breadcrumb a { color: var(--gray-4); }
.product-page__breadcrumb a:hover { color: var(--blue); }

.product-page__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.product-page__left {
  display: flex;
  flex-direction: column;
  grid-column: 1;
  grid-row: 1;
}
.product-page__info {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.product-gallery__main {
  aspect-ratio: 1/1;
  background: linear-gradient(180deg, #F7F7F8 0%, #F0F0F3 100%);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid #E6E6EB;
}
.product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.product-gallery__thumbs {
  display: flex;
  gap: 8px;
}
.product-gallery__thumb {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--gray-1);
  overflow: hidden;
  cursor: pointer;
  border: 1.5px solid #E1E1E6;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.product-gallery__thumb.active {
  border-color: #111214;
  box-shadow: 0 8px 18px rgba(17,18,20,0.12);
}
.product-gallery__thumb:hover { transform: translateY(-1px); }
.product-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info__title { margin-bottom: 8px; }
.product-info__compat { font-size: 14px; color: var(--gray-4); margin-bottom: 20px; }
.product-info__pricing {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 24px;
}
.product-info__features {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.product-info__feature {
  display: flex;
  gap: 10px;
  font-size: 14px;
}
.product-info__feature-icon { color: var(--green); font-size: 16px; flex-shrink: 0; }

.product-info__variant-label { font-size: 13px; font-weight: 600; color: var(--gray-4); margin-bottom: 10px; }
.product-info__variants { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.variant-btn {
  padding: 8px 16px;
  border: 2px solid var(--gray-2);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--black);
  font-family: var(--font);
}
.variant-btn:hover, .variant-btn.active {
  border-color: var(--blue);
  color: var(--blue);
}

.product-buybox {
  border: 1px solid #E3E6ED;
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F9FC 100%);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: 0 10px 24px rgba(17,18,20,0.06);
}
.product-buybox__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.product-buybox__qty-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-4);
}
.qty-picker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border-radius: 999px;
  background: #F3F5F9;
  border: 1px solid #E0E4ED;
}
.qty-picker__btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: #FFFFFF;
  color: #1D1D1F;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(17,18,20,0.08);
}
.qty-picker__btn:hover {
  background: #FAFAFC;
}
.qty-picker__input {
  width: 42px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
}
.qty-picker__input:focus {
  outline: none;
}
.qty-picker__input::-webkit-outer-spin-button,
.qty-picker__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.qty-picker__input[type=number] {
  -moz-appearance: textfield;
}
.product-info__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.product-info__cta .btn {
  min-height: 52px;
}
.product-buybox__tg {
  width: 100%;
  min-height: 50px;
}

.product-info__meta {
  border: 1px solid #E5E5EA;
  background: rgba(255,255,255,0.8);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-info__meta-item {
  display: flex;
  gap: 8px;
  font-size: 13px;
}
.product-info__meta-key { color: var(--gray-3); min-width: 100px; }
.product-info__meta-val { font-weight: 500; }

/* --- Upsell block (on product page) --- */
.upsell-block {
  background: linear-gradient(180deg, #F7F7F8 0%, #F1F1F4 100%);
  border: 1px solid #E4E4E9;
  border-radius: 20px;
  padding: 20px;
  margin-top: 20px;
}
.upsell-block__title { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--black); }
.upsell-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--gray-2);
}
.upsell-item:first-of-type { border-top: none; }
.upsell-item__img {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.upsell-item__name { font-size: 13px; font-weight: 600; flex: 1; }
.upsell-item__price { font-size: 14px; font-weight: 700; }
.upsell-item__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.upsell-item__add {
  min-height: 32px;
  padding: 7px 12px;
  font-size: 12px;
  line-height: 1;
}

/* --- Info pages --- */
.info-page { padding: 56px 0 80px; max-width: 800px; }
.info-page h1 { margin-bottom: 32px; }
.info-page h2 { font-size: 22px; margin: 36px 0 14px; }
.info-page h3 { font-size: 17px; margin: 24px 0 10px; }
.info-page p { font-size: 15px; color: var(--gray-5); line-height: 1.8; margin-bottom: 14px; }
.info-page ul, .info-page ol { margin: 14px 0 14px 20px; }
.info-page li { font-size: 15px; color: var(--gray-5); line-height: 1.8; margin-bottom: 6px; }
.info-page ul li { list-style: disc; }
.info-page ol li { list-style: decimal; }

/* --- Page Header (category) --- */
.page-header {
  padding: 44px 0 32px;
  border-bottom: 1px solid #EBEBEF;
  background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(247,247,248,0.7) 100%);
  margin-bottom: 0;
}
.page-header__breadcrumb {
  font-size: 12px;
  color: var(--gray-3);
  margin-bottom: 16px;
  display: flex;
  gap: 6px;
  align-items: center;
}
.page-header__breadcrumb a { color: var(--gray-4); }

/* --- Footer --- */
.footer {
  background: linear-gradient(180deg, #141416 0%, #0D0D0E 100%);
  color: rgba(255,255,255,0.6);
  padding: 64px 0 32px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__brand { }
.footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.footer__logo-icon {
  width: 30px;
  height: 30px;
  background: var(--white);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-size: 13px;
  font-weight: 800;
}
.footer__desc { font-size: 13px; line-height: 1.7; margin-bottom: 20px; max-width: 280px; }
.footer__socials { display: flex; gap: 10px; }
.footer__social {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition);
  font-size: 14px;
}
.footer__social:hover { background: rgba(255,255,255,0.12); color: var(--white); }

.footer__col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__link { font-size: 13px; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer__link:hover { color: var(--white); }

.footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom a { color: rgba(255,255,255,0.35); }
.footer__bottom a:hover { color: rgba(255,255,255,0.7); }

/* --- Scroll to top --- */
.scroll-top {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom));
  right: 24px;
  width: 46px;
  height: 46px;
  background: rgba(17,18,20,0.94);
  color: var(--white);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  z-index: 90;
  box-shadow: var(--shadow-md);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-2px); }

/* --- Notifications / toast --- */
.toast {
  position: fixed;
  bottom: calc(18px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--black);
  color: var(--white);
  padding: 14px 24px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  z-index: 200;
  transition: transform 0.3s ease;
  white-space: normal;
  text-align: center;
  width: fit-content;
  max-width: min(calc(100% - 24px), 720px);
  box-shadow: var(--shadow-lg);
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* --- Online chat widget --- */
.chat-widget {
  position: fixed;
  right: 20px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 210;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}
.chat-widget > * {
  pointer-events: auto;
}

.chat-widget__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  min-height: 50px;
  padding: 0 16px;
  background: linear-gradient(180deg, #17181B 0%, #0F1012 100%);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 26px rgba(5,6,8,0.28);
  cursor: pointer;
  transition: transform 160ms cubic-bezier(0.22, 0.7, 0.2, 1), box-shadow 160ms cubic-bezier(0.22, 0.7, 0.2, 1), background 160ms ease;
  will-change: transform;
}
.chat-widget__toggle:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #202227 0%, #15171B 100%);
  box-shadow: 0 18px 34px rgba(5,6,8,0.34);
}
.chat-widget__toggle:active {
  transform: translateY(0) scale(0.985);
}
.chat-widget__toggle-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.chat-widget__toggle-live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ED573;
  box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.5);
  animation: chat-live-pulse 1.8s ease-out infinite;
}
.chat-widget__toggle-label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.chat-widget__toggle-badge {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #101113;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 6px 12px rgba(17,18,20,0.24);
}

.chat-widget__panel {
  width: min(380px, calc(100vw - 18px));
  background: linear-gradient(180deg, rgba(25,26,30,0.98) 0%, rgba(16,17,20,0.98) 100%);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
  padding: 0;
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  transform-origin: bottom right;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms cubic-bezier(0.22, 0.7, 0.2, 1), transform 180ms cubic-bezier(0.22, 0.7, 0.2, 1), visibility 180ms linear;
  will-change: transform, opacity;
}
.chat-widget.open .chat-widget__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
}

.chat-widget__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: linear-gradient(180deg, #2E3139 0%, #22252C 100%);
  border-radius: 20px 20px 0 0;
}
.chat-widget__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.chat-widget__close {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 150ms ease, transform 150ms ease;
}
.chat-widget__close:hover {
  background: rgba(255,255,255,0.12);
  transform: scale(1.05);
}

.chat-widget__status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}
.chat-widget__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2ED573;
  box-shadow: 0 0 0 4px rgba(46,213,115,0.2);
}

.chat-widget__messages {
  margin: 0 12px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 9px;
  max-height: 240px;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-widget__messages.is-empty {
  justify-content: center;
}
.chat-widget__empty {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 10px 6px;
}

.chat-widget__message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  animation: chat-rise 180ms cubic-bezier(0.22, 0.7, 0.2, 1);
}
.chat-widget__message.is-client {
  align-items: flex-end;
}
.chat-widget__bubble {
  max-width: 92%;
  padding: 9px 11px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.08);
  color: #fff;
  text-wrap: pretty;
}
.chat-widget__bubble.has-attachment {
  padding: 8px;
}
.chat-widget__bubble-text {
  display: block;
}
.chat-widget__bubble.has-attachment .chat-widget__bubble-text {
  margin-top: 8px;
}
.chat-widget__message.is-client .chat-widget__bubble {
  background: linear-gradient(180deg, #2C313B 0%, #1E232D 100%);
  border-color: rgba(255,255,255,0.16);
}
.chat-widget__message.is-operator .chat-widget__bubble {
  background: rgba(255,255,255,0.06);
}
.chat-widget__image-link {
  display: block;
}
.chat-widget__image {
  display: block;
  width: 100%;
  max-height: 190px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.18);
}
.chat-widget__meta {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  padding: 0 2px;
}

.chat-widget__form {
  margin-top: 8px;
  padding: 0 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.chat-widget__optional {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.chat-widget__phone-toggle {
  align-self: flex-start;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
  border-radius: 999px;
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.chat-widget__phone-toggle:hover {
  background: rgba(255,255,255,0.12);
}
.chat-widget__phone-wrap {
  display: block;
}
.chat-widget__attach {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.chat-widget__attach-btn {
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.88);
  border-radius: 999px;
  min-height: 30px;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.chat-widget__attach-btn:hover {
  background: rgba(255,255,255,0.12);
}
.chat-widget__attach-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.9);
  padding: 0 9px;
}
.chat-widget__attach-name {
  font-size: 11px;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-widget__attach-clear {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.16);
  color: #fff;
  cursor: pointer;
  line-height: 1;
  font-size: 11px;
}
.chat-widget__attach-clear:hover {
  background: rgba(255,255,255,0.26);
}
.chat-widget__input,
.chat-widget__textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-family: var(--font);
  font-size: 13px;
  padding: 10px 12px;
  transition: border-color 140ms ease, background 140ms ease;
}
.chat-widget__input::placeholder,
.chat-widget__textarea::placeholder {
  color: rgba(255,255,255,0.5);
}
.chat-widget__input:focus,
.chat-widget__textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.09);
}
.chat-widget__textarea {
  min-height: 76px;
  resize: vertical;
}

.chat-widget__form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.chat-widget__hint {
  font-size: 11px;
  line-height: 1.4;
  color: rgba(255,255,255,0.58);
  max-width: 190px;
}
.chat-widget__submit {
  min-width: 112px;
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: linear-gradient(180deg, #FFFFFF 0%, #EEF0F3 100%);
  color: #16181C;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  padding: 0 16px;
  cursor: pointer;
  transition: transform 140ms ease, box-shadow 140ms ease, opacity 140ms ease;
}
.chat-widget__submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.chat-widget__submit:disabled {
  opacity: 0.68;
  cursor: default;
  transform: none;
  box-shadow: none;
}

@keyframes chat-rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chat-live-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(46, 213, 115, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(46, 213, 115, 0);
  }
}

/* --- Pill / chip --- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.88);
  border: 1px solid #E3E3E8;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-5);
  letter-spacing: 0.01em;
}
.pill--blue { background: #ECEFF4; color: #23262E; border-color: #D3D7E0; }
.pill--green { background: #EAFAF0; color: var(--green); }

a.pill {
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
}
a.pill:hover {
  transform: translateY(-1px);
  border-color: #D2D2D8;
  box-shadow: 0 10px 18px rgba(17,18,20,0.06);
  color: var(--black);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(0,102,204,0.55);
  outline-offset: 2px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .product-page__grid { grid-template-columns: 1fr; }
  .product-page__left,
  .product-page__info {
    grid-column: auto;
    grid-row: auto;
  }
  .product-info__cta { grid-template-columns: 1fr; }
  .delivery-strip__grid { grid-template-columns: 1fr; }
  .hardware-feature { grid-template-columns: 1fr; }
  .home-advantages__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-advantages__grid .home-adv:last-child { grid-column: span 2; }
  .compat__grid { gap: 12px; margin-top: 28px; }
  .compat-chip { width: calc(50% - 6px); min-height: 102px; }
  .compat-chip__model { font-size: 20px; }
  .compat-chip__gen { font-size: 14px; }
  .compat__helper { margin-top: 14px; }
  .compat__helper-btn { width: min(100%, 380px); min-height: 50px; font-size: 14px; }
  .catalog-toolbar__inner {
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
    align-items: flex-start;
    flex-direction: column;
  }
  .catalog-toolbar__meta {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .catalog-toolbar__filters {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .nav { display: none; }
  .header__tg span { display: none; }
  .header__account span { display: none; }
  .header__cart-label { display: none; }
  .header__platform-links { display: none; }
  .burger { display: flex; }
  .mobile-nav-backdrop {
    display: block;
  }
  .section { padding: 40px 0; }
  .hero { padding: 34px 0 40px; }
  .trust-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }
  .trust-metric { padding: 16px 14px; border-radius: 16px; }
  .reviews__grid--compact {
    margin-top: 10px;
    gap: 12px;
  }
  .trust-banner { border-radius: 18px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__desc { max-width: 100%; }
  .find-model__banner { border-radius: 20px; }
  .tg-cta { padding: 48px 0; }
  .compat .section-header .h2 { font-size: clamp(34px, 9.2vw, 42px); }
  .compat .section-header .lead { font-size: 14px; line-height: 1.5; }
  .compat__grid { gap: 10px; margin-top: 20px; }
  .compat-chip { width: calc(50% - 5px); min-height: 92px; padding: 12px 10px; border-radius: 16px; }
  .compat-chip__model { font-size: 16px; margin-bottom: 5px; }
  .compat-chip__gen { font-size: 12px; }
  .compat__helper-btn { width: min(100%, 320px); min-height: 46px; border-radius: 14px; font-size: 13px; }
  .catalog-toolbar__title {
    font-size: 22px;
    white-space: normal;
  }
  .catalog-toolbar__count,
  .catalog-toolbar__breadcrumb {
    font-size: 13px;
  }
  .catalog-toolbar__filters {
    gap: 8px;
  }
  .catalog-chip {
    min-height: 36px;
    padding: 0 14px;
    font-size: 14px;
  }
  .section--catalog-cases {
    padding-top: 24px;
  }
  .category-page--cases .product-grid {
    gap: 14px;
  }
  .category-page--cases .product-card {
    border-radius: 20px;
  }
  .category-page--cases .product-card__img {
    aspect-ratio: 1 / 0.84;
  }
  .category-page--cases .product-card__body {
    padding: 16px 16px 18px;
  }
  .category-page--cases .product-card__name {
    font-size: 14px;
  }
  .category-page--cases .product-card__price {
    font-size: 18px;
  }
  .category-page--cases .product-card .btn {
    min-height: 44px;
    border-radius: 13px;
  }
  .delivery-strip__grid { gap: 20px 32px; }
  .home-advantages { padding-top: 12px; }
  .home-advantages__panel { border-radius: 22px; padding: 12px; }
  .home-advantages__grid { grid-template-columns: 1fr; gap: 10px; }
  .home-advantages__grid .home-adv:last-child { grid-column: span 1; }
  .home-adv { padding: 16px 44px 15px 14px; min-height: 0; }
  .home-adv__title { font-size: 16px; }
  .home-adv__text { margin-top: 6px; font-size: 14px; }
  .home-adv__badge { top: 12px; right: 12px; min-width: 30px; height: 30px; font-size: 10px; }
  .reviews__grid .review-card:nth-child(n+3) { display: none; }
  .promo-card { padding: 24px; }
  .product-copy__inner { padding: 24px 20px 14px; }
  .product-copy--aside {
    margin-top: 16px;
  }
  .product-copy--aside .product-copy__inner {
    padding: 20px 18px 10px;
    border-radius: 20px;
  }
  .hardware-feature { padding: 28px 24px; gap: 24px; }
  .toast {
    bottom: calc(74px + env(safe-area-inset-bottom));
    padding: 12px 14px;
    font-size: 13px;
    border-radius: 12px;
    max-width: calc(100% - 16px);
  }
  .scroll-top {
    bottom: calc(88px + env(safe-area-inset-bottom));
    right: 16px;
  }
  .chat-widget {
    right: 10px;
    bottom: calc(16px + env(safe-area-inset-bottom));
  }
  .chat-widget__toggle {
    min-height: 46px;
    padding: 0 14px;
    font-size: 13px;
  }
  .chat-widget__panel {
    width: min(360px, calc(100vw - 12px));
    border-radius: 18px;
    padding: 0;
  }
  .chat-widget__panel-head {
    border-radius: 18px 18px 0 0;
  }
  .chat-widget__form {
    padding: 0 10px 10px;
  }
  .chat-widget__hint {
    display: none;
  }
  .chat-widget__messages {
    max-height: 196px;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .compat-chip__model { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .chat-widget__panel,
  .chat-widget__toggle,
  .chat-widget__close,
  .chat-widget__submit,
  .chat-widget__message {
    animation: none !important;
    transition: none !important;
  }
}
