

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@700;800&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #F2EDE6;
  --bg2:          #EDE7DF;
  --bg3:          #E6DFD6;
  --white:        #FAF8F5;
  --card:         #F7F3EE;
  --text:         #2A2420;
  --text-muted:   #8A8178;
  --text-dim:     #B5AFA8;
  --accent:       #7BAF9E;
  --accent-hover: #6A9E8D;
  --accent-light: rgba(123,175,158,0.12);
  --accent-border:rgba(123,175,158,0.3);
  --kaspi:        #E8643A;
  --border:       #DDD6CE;
  --border-light: #E8E2DA;
  --shadow-sm:    0 2px 12px rgba(42,36,32,0.06);
  --shadow:       0 6px 28px rgba(42,36,32,0.1);
  --shadow-lg:    0 16px 56px rgba(42,36,32,0.14);
  --r-sm:         8px;
  --r:            12px;
  --r-md:         16px;
  --r-lg:         22px;
  --r-xl:         28px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ===== HEADER ===== */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(242,237,230,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 12px rgba(42,36,32,0.05);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 68px; }

.logo-wrap { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo-img-slot {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg3); border: 1.5px solid var(--border);
  overflow: hidden; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: var(--shadow-sm);
}
.logo-img-slot img { width: 100%; height: 100%; object-fit: cover; }
.logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1.5rem;
  color: var(--text); letter-spacing: 0.01em;
}

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav-link {
  padding: 7px 16px; border-radius: 50px;
  font-size: 14px; font-weight: 400;
  color: var(--text-muted); transition: all .18s;
}
.nav-link:hover { color: var(--text); background: var(--bg3); }
.nav-link.active { color: var(--text); font-weight: 600; }

/* Kaspi кнопка в nav — как на скрине */
.kaspi-nav-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 16px; border-radius: 50px;
  background: var(--bg3); border: 1.5px solid var(--border);
  font-size: 14px; font-weight: 500; color: var(--text);
  transition: all .18s; cursor: pointer;
}
.kaspi-nav-btn:hover { border-color: var(--kaspi); color: var(--kaspi); background: rgba(232,100,58,0.06); }
.kaspi-nav-btn img { width: 20px; height: 20px; border-radius: 50%; }
.kaspi-link { display: none; } /* скрываем старую ссылку */

.cart-btn {
  display: flex; align-items: center; justify-content: center;
  position: relative; width: 44px; height: 44px;
  border-radius: 50%; background: var(--text);
  border: none; color: var(--white);
  transition: all .18s; flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.cart-btn:hover { background: #3D3530; transform: scale(1.05); }
.cart-count {
  position: absolute; top: -3px; right: -3px;
  background: var(--accent); color: white; border-radius: 50%;
  width: 17px; height: 17px; font-size: 9px; font-weight: 700;
  display: none; align-items: center; justify-content: center;
  border: 2px solid var(--bg);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 11px 24px; border-radius: 50px;
  font-weight: 500; font-size: 14px; font-family: inherit;
  transition: all .2s; cursor: pointer;
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--text); color: var(--white); border-color: var(--text); }
.btn-primary:hover { background: #3D3530; border-color: #3D3530; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline { background: transparent; color: var(--text-muted); border-color: var(--border); }
.btn-outline:hover { border-color: var(--text); color: var(--text); background: var(--bg3); }
.btn-accent { background: var(--accent); color: white; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-kaspi { background: var(--kaspi); color: white; border-color: var(--kaspi); margin-top: 10px; display: flex; }
.btn-kaspi:hover { background: #D45530; transform: translateY(-1px); }
.btn-sm { padding: 7px 18px; font-size: 13px; }
.btn-lg { padding: 14px 28px; font-size: 15px; width: 100%; }
.w-full { width: 100%; }

/* ===== HERO ===== */
.hero {
  padding: 28px 0 40px;
  background: var(--bg);
}
.hero-banner {
  background: var(--bg2);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 260px;
  position: relative;
  border: 1px solid var(--border-light);
}
.hero-bg { display: none; }
.hero-content { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--text-muted);
  margin-bottom: 16px; letter-spacing: 0.02em;
}
.hero-tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: 14px; color: var(--text); letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; color: var(--text); }
.hero-sub { font-size: 13.5px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.65; font-weight: 400; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-visual {
  display: block !important;
  position: relative; overflow: hidden;
  background: #2A2420;
  border-radius: 0 var(--r-xl) var(--r-xl) 0;
  min-height: 280px;
}
.hero-visual .laptop-icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.hero-visual .laptop-icon img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0.88;
}
.hero-circle { display: none; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Stats bar */
.hero-stats { padding: 0 0 32px; background: var(--bg); }
.hero-stats-inner {
  display: flex; background: var(--card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.stat-item { flex: 1; padding: 22px 28px; border-right: 1px solid var(--border-light); }
.stat-item:last-child { border-right: none; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; color: var(--text); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 400; }

/* ===== FEATURES ===== */
.features { padding: 0 0 48px; }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feature-card {
  padding: 26px 22px; background: var(--card);
  border: 1.5px solid var(--border-light); border-radius: var(--r-md);
  transition: all .22s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--border); }
.feature-icon {
  width: 36px; height: 36px; background: var(--accent-light);
  border: 1px solid var(--accent-border); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.feature-icon svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.feature-card h3 { font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.feature-card p { color: var(--text-muted); font-size: 12.5px; line-height: 1.6; }

/* ===== SECTION ===== */
.section-title { font-family: 'Playfair Display', serif; font-size: 1.7rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.section-sub { color: var(--text-muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 28px; font-weight: 500; }
.popular { padding: 0 0 56px; }
.center-btn { text-align: center; margin-top: 36px; }

/* ===== PRODUCTS GRID ===== */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); gap: 14px; }
.product-card {
  background: var(--card); border: 1.5px solid var(--border-light);
  border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  transition: all .25s; position: relative; display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--border); }
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-badge {
  position: absolute; top: 13px; left: 13px; z-index: 2;
  background: var(--accent); color: white;
  font-size: 10.5px; font-weight: 600; padding: 4px 10px;
  letter-spacing: 0.04em; border-radius: 50px;
}
.product-img-wrap {
  background: var(--bg2); padding: 28px;
  height: 200px; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.product-img-wrap img {
  max-height: 148px; object-fit: contain; width: 100%;
  transition: transform .35s ease;
  filter: drop-shadow(0 6px 16px rgba(42,36,32,0.15));
}
.product-info { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-weight: 500; font-size: 0.92rem; margin-bottom: 10px; line-height: 1.4; color: var(--text); }
.product-price { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.product-installment { font-size: 11.5px; color: var(--text-muted); margin-bottom: 16px; }
.product-actions { display: flex; gap: 8px; margin-top: auto; }

/* ===== PAGE HERO ===== */
.page-hero { background: var(--bg2); padding: 44px 0; border-bottom: 1px solid var(--border-light); }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: var(--text); }
.page-hero p { color: var(--text-muted); margin-top: 6px; font-size: 13.5px; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 12px 0; background: var(--bg); border-bottom: 1px solid var(--border-light); font-size: 13px; color: var(--text-dim); }
.breadcrumb a { color: var(--text-muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }

/* ===== CATALOG ===== */
.catalog-section { padding: 36px 0 80px; }
.catalog-layout { display: flex; gap: 26px; align-items: flex-start; }
.filters {
  width: 210px; flex-shrink: 0; background: var(--card);
  border: 1.5px solid var(--border-light); border-radius: var(--r-md);
  padding: 22px; position: sticky; top: 82px; box-shadow: var(--shadow-sm);
}
.filters h3 { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }
.filter-group { margin-bottom: 14px; }
.filter-group label { display: block; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); margin-bottom: 8px; }
.price-filter-btns { display: flex; flex-direction: column; gap: 4px; }
.filter-btn {
  padding: 8px 12px; border-radius: 50px;
  font-size: 13px; font-weight: 400;
  background: transparent; color: var(--text-muted);
  border: 1.5px solid transparent; text-align: left;
  transition: all .15s; font-family: inherit;
}
.filter-btn:hover { color: var(--text); background: var(--bg3); border-color: var(--border); }
.filter-btn.active { background: var(--text); color: var(--white); font-weight: 500; }
.catalog-main { flex: 1; min-width: 0; }
.catalog-top { margin-bottom: 16px; color: var(--text-muted); font-size: 13px; }

/* ===== PRODUCT DETAIL ===== */
.product-page { padding: 36px 0 80px; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.product-detail-img {
  position: relative; background: var(--bg2);
  border: 1.5px solid var(--border-light); border-radius: var(--r-xl);
  padding: 48px; display: flex; align-items: center; justify-content: center; min-height: 380px;
}
.product-detail-img img { max-height: 290px; object-fit: contain; filter: drop-shadow(0 12px 32px rgba(42,36,32,0.15)); }
.product-detail-img .product-badge { position: absolute; top: 18px; left: 18px; }
.product-detail-info { background: var(--card); border: 1.5px solid var(--border-light); border-radius: var(--r-xl); padding: 36px 38px; }
.product-detail-info h1 { font-family: 'Playfair Display', serif; font-size: 1.55rem; font-weight: 700; margin-bottom: 12px; color: var(--text); line-height: 1.25; }
.product-desc { color: var(--text-muted); margin-bottom: 24px; line-height: 1.75; font-size: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--border-light); }
.price-block { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--border-light); }
.big-price { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: var(--text); margin-bottom: 16px; }
.installment-title { font-size: 10.5px; font-weight: 600; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 10px; }
.installment-options { display: flex; gap: 8px; }
.inst-item {
  flex: 1; background: var(--bg2); border: 1.5px solid var(--border-light);
  border-radius: var(--r); padding: 12px 8px; text-align: center; transition: all .18s;
}
.inst-item:hover { border-color: var(--accent-border); background: var(--accent-light); }
.inst-months { display: block; font-size: 10px; color: var(--text-dim); margin-bottom: 4px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.06em; }
.inst-amount { font-weight: 700; font-size: 13px; color: var(--accent); }
.product-buy-btns { margin-bottom: 26px; display: flex; flex-direction: column; gap: 9px; }
.product-buy-btns .btn { justify-content: center; }
.specs-block { border-top: 1px solid var(--border-light); padding-top: 22px; }
.specs-block h3 { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 14px; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border-light); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 10px 0; font-size: 13.5px; }
.specs-table td:first-child { color: var(--text-muted); width: 44%; }
.specs-table td:last-child { font-weight: 500; color: var(--text); }

/* ===== ORDER PAGE ===== */
.order-section { padding: 36px 0 80px; }
.order-title { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 700; margin-bottom: 30px; color: var(--text); }
.order-layout { display: grid; grid-template-columns: 1fr 350px; gap: 24px; align-items: start; }
.order-form-wrap { background: var(--card); border: 1.5px solid var(--border-light); border-radius: var(--r-xl); padding: 34px; }
.order-step { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; margin-top: 30px; }
.order-step:first-child { margin-top: 0; }
.step-num { width: 28px; height: 28px; background: var(--text); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; flex-shrink: 0; border-radius: 50%; }
.order-step h3 { font-size: 13.5px; font-weight: 600; color: var(--text); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1/-1; }
.form-group label { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.07em; }
.form-group input, .form-group select, .form-group textarea {
  padding: 11px 14px; border: 1.5px solid var(--border);
  background: var(--bg); color: var(--text); font-family: inherit;
  font-size: 14px; transition: all .18s; resize: vertical;
  border-radius: var(--r); outline: none;
}
.form-group input::placeholder { color: var(--text-dim); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); background: var(--white); box-shadow: 0 0 0 3px var(--accent-light); }
.payment-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.payment-opt { cursor: pointer; }
.payment-opt input { display: none; }
.pay-card { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border: 1.5px solid var(--border-light); background: var(--bg2); font-size: 13px; font-weight: 400; transition: all .15s; color: var(--text-muted); border-radius: var(--r); }
.pay-card:hover { border-color: var(--border); color: var(--text); background: var(--bg3); }
.payment-opt input:checked + .pay-card { border-color: var(--accent-border); background: var(--accent-light); color: var(--accent); font-weight: 500; }
.pay-icon { font-size: 1rem; }
.order-summary { background: var(--card); border: 1.5px solid var(--border-light); border-radius: var(--r-xl); padding: 26px; position: sticky; top: 82px; box-shadow: var(--shadow-sm); }
.order-summary h3 { font-size: 11px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-light); }
.order-item-box { padding: 14px 0; margin-bottom: 12px; border-bottom: 1px solid var(--border-light); }
.order-product { display: flex; gap: 13px; align-items: center; }
.order-product img { width: 74px; height: 56px; object-fit: contain; background: var(--bg2); padding: 6px; flex-shrink: 0; border-radius: var(--r-sm); }
.order-product-name { font-weight: 500; font-size: 13px; margin-bottom: 3px; color: var(--text); line-height: 1.4; }
.order-product-price { color: var(--accent); font-weight: 600; font-size: 13px; }
.order-total-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; margin-bottom: 14px; }
.order-total-price { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--text); }
.inst-calc { background: var(--accent-light); border: 1.5px solid var(--accent-border); border-radius: var(--r); padding: 12px; font-size: 13px; margin-bottom: 14px; color: var(--accent); }
.order-note { font-size: 11.5px; color: var(--text-dim); text-align: center; margin-top: 12px; line-height: 1.6; }
.installment-info-box { margin-bottom: 8px; }

/* ===== MODAL ===== */
.modal { position: fixed; inset: 0; z-index: 999; background: rgba(42,36,32,0.5); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; }
.modal.hidden { display: none; }
.modal-box { background: var(--white); border: 1.5px solid var(--border-light); border-radius: var(--r-xl); padding: 48px 40px; max-width: 420px; width: 90%; text-align: center; box-shadow: var(--shadow-lg); }
.modal-icon { font-size: 3rem; margin-bottom: 14px; }
.modal-box h2 { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.modal-box p { color: var(--text-muted); margin-bottom: 26px; font-size: 14px; line-height: 1.7; }

/* ===== CART PAGE ===== */
.cart-section { padding: 36px 0 80px; }
.empty-cart { text-align: center; padding: 90px 20px; }
.empty-cart h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; margin: 14px 0 8px; color: var(--text); }
.empty-cart p { color: var(--text-muted); margin-bottom: 26px; }
.cart-list { display: flex; flex-direction: column; gap: 10px; }
.cart-row { display: flex; align-items: center; gap: 18px; background: var(--card); border: 1.5px solid var(--border-light); border-radius: var(--r-md); padding: 18px 22px; transition: all .18s; }
.cart-row:hover { box-shadow: var(--shadow-sm); border-color: var(--border); }
.cart-row img { width: 84px; height: 64px; object-fit: contain; background: var(--bg2); flex-shrink: 0; padding: 6px; border-radius: var(--r-sm); }
.cart-row-info { flex: 1; min-width: 0; }
.cart-row-name { font-weight: 500; margin-bottom: 3px; font-size: 14px; color: var(--text); }
.cart-row-price { color: var(--text-muted); font-size: 13px; }
.cart-row-qty { display: flex; align-items: center; gap: 10px; }
.cart-row-qty button { width: 30px; height: 30px; background: var(--bg2); border: 1.5px solid var(--border); font-size: 15px; font-weight: 500; transition: all .15s; color: var(--text-muted); border-radius: 50%; }
.cart-row-qty button:hover { background: var(--text); border-color: var(--text); color: white; }
.cart-row-qty span { font-weight: 600; min-width: 18px; text-align: center; color: var(--text); }
.cart-row-subtotal { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; min-width: 120px; text-align: right; color: var(--text); }
.cart-remove { background: transparent; color: var(--text-dim); font-size: 16px; padding: 5px 7px; border-radius: var(--r-sm); transition: all .15s; }
.cart-remove:hover { background: rgba(220,60,60,0.08); color: #D04040; }
.cart-footer { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; border-top: 1.5px solid var(--border-light); flex-wrap: wrap; gap: 14px; }
.cart-total { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--text); }
.cart-footer-btns { display: flex; gap: 10px; }

/* ===== CONTACTS ===== */
.contacts-section { padding: 52px 0 80px; }
.contacts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 52px; }
.contact-card { padding: 28px 24px; background: var(--card); border: 1.5px solid var(--border-light); border-radius: var(--r-lg); transition: all .2s; }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-icon { width: 36px; height: 36px; background: var(--accent-light); border: 1px solid var(--accent-border); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.contact-icon svg { width: 16px; height: 16px; stroke: var(--accent); fill: none; stroke-width: 1.5; }
.contact-card h3 { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 10px; color: var(--text-muted); }
.contact-card p { color: var(--text-muted); line-height: 1.7; font-size: 14px; }
.contact-link { color: var(--text); font-weight: 500; display: inline-block; margin-bottom: 5px; font-size: 15px; transition: color .18s; }
.contact-link:hover { color: var(--accent); }
.contact-note { font-size: 12px; color: var(--text-dim); margin-top: 6px; }
.map-section { margin-bottom: 52px; }
.map-section h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 18px; color: var(--text); }
.map-placeholder { border: 1.5px solid var(--border-light); border-radius: var(--r-xl); height: 260px; display: flex; align-items: center; justify-content: center; background: var(--bg2); }
.map-inner { text-align: center; }
.map-pin { font-size: 2.2rem; margin-bottom: 10px; }
.map-inner p { font-weight: 500; margin-bottom: 18px; color: var(--text); }
.delivery-info h2 { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; margin-bottom: 18px; color: var(--text); }
.delivery-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.delivery-item { background: var(--card); border: 1.5px solid var(--border-light); border-radius: var(--r-md); padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.delivery-item strong { font-size: 13px; color: var(--text); font-weight: 500; }
.delivery-item span { font-size: 12px; color: var(--text-muted); }

/* ===== FOOTER ===== */
.footer { background: var(--text); color: #8A8178; border-top: 1px solid var(--border); padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1.5fr 1fr; gap: 44px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer .logo { color: var(--white); margin-bottom: 10px; }
.footer p { font-size: 13px; line-height: 1.7; }
.footer h4 { color: #5A5450; font-size: 10px; font-weight: 600; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.12em; }
.footer a { display: block; margin-bottom: 9px; font-size: 13px; transition: color .18s; }
.footer a:hover { color: var(--white); }
.footer-bottom { padding: 20px 0; text-align: center; font-size: 11.5px; color: #4A4440; }

/* ===== CHAT WIDGET ===== */
#chatWidget { position: fixed !important; bottom: 26px; right: 26px; z-index: 99999; }
.chat-toggle { width: 52px; height: 52px; border-radius: 50%; background: var(--text); color: white; border: none; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: all .2s; }
.chat-toggle:hover { background: #3D3530; transform: scale(1.08); }
.chat-box {
  position: fixed;
  bottom: 86px;
  right: 26px;
  width: 310px;
  background: var(--white);
  border: 1.5px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  max-height: 70vh;
}.chat-box.hidden { display: none; }
.chat-header { background: var(--text); color: var(--white); padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; font-weight: 600; font-size: 13px; }
.chat-header button { background: transparent; color: rgba(255,255,255,0.6); font-size: 16px; padding: 0; transition: color .15s; }
.chat-header button:hover { color: white; }
.chat-messages { padding: 14px; max-height: 200px; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; background: var(--bg); }
.chat-msg { max-width: 90%; padding: 9px 13px; font-size: 13px; line-height: 1.5; border-radius: var(--r); }
.chat-msg.bot { background: var(--card); border: 1px solid var(--border-light); align-self: flex-start; color: var(--text-muted); }
.chat-msg.user { background: var(--text); color: white; align-self: flex-end; }
.chat-options { padding: 10px 12px 12px; border-top: 1px solid var(--border-light); display: flex; flex-direction: column; gap: 5px; max-height: 175px; overflow-y: auto; background: var(--white); }
.chat-opt-btn { text-align: left; padding: 8px 12px; background: var(--bg); border: 1.5px solid var(--border-light); border-radius: 50px; font-size: 12.5px; font-family: inherit; transition: all .15s; cursor: pointer; color: var(--text-muted); }
.chat-opt-btn:hover { border-color: var(--accent-border); color: var(--accent); background: var(--accent-light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .order-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .contacts-grid { grid-template-columns: 1fr 1fr; }
  .delivery-grid { grid-template-columns: 1fr 1fr; }
  .hero-banner { grid-template-columns: 1fr; }
  .hero-visual { display: none !important; }
  .hero-stats-inner { flex-wrap: wrap; }
  .stat-item { min-width: 50%; }
}
@media (max-width: 700px) {
  .features-grid { grid-template-columns: 1fr; }
  .catalog-layout { flex-direction: column; }
  .filters { width: 100%; position: static; }
  .contacts-grid { grid-template-columns: 1fr; }
  .delivery-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav { display: none; }
  .payment-options { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .installment-options { flex-direction: column; }
  .order-form-wrap { padding: 22px 18px; }
  .container { padding: 0 18px; }
}


/* ================================================
   MODERN ENHANCEMENTS — все улучшения одним блоком
   ================================================ */

/* ── 1. Кастомный скроллбар ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
* { scrollbar-width: thin; scrollbar-color: var(--border) var(--bg); }

/* ── 2. Цвет выделения текста ── */
::selection { background: rgba(123,175,158,0.25); color: var(--text); }
::-moz-selection { background: rgba(123,175,158,0.25); color: var(--text); }

/* ── 3. Плавное появление страницы ── */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
body { animation: pageFadeIn 0.35s ease both; }

/* ── 4. Шапка — тень появляется при скролле ── */
.header { transition: box-shadow 0.3s ease; }
.header.scrolled { box-shadow: 0 4px 24px rgba(42,36,32,0.1); }

/* ── 5. Ripple-эффект на кнопках ── */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.18);
  border-radius: inherit;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.btn:active::after { transform: scale(2.5); opacity: 1; transition: 0s; }

/* ── 6. Skeleton-загрузка картинок ── */
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.product-img-wrap img[src=""],
.product-img-wrap img:not([src]) {
  background: linear-gradient(90deg, var(--bg2) 25%, var(--bg3) 50%, var(--bg2) 75%);
  background-size: 800px 100%;
  animation: shimmer 1.4s infinite linear;
}
.product-img-wrap { position: relative; }
.product-img-wrap::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.12) 50%, transparent 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  pointer-events: none; opacity: 0;
  transition: opacity 0.3s;
}

/* ── 7. Карточки товаров — hover рамка ── */
.product-card:hover {
  border-color: var(--accent-border) !important;
  box-shadow: 0 8px 36px rgba(42,36,32,0.12), 0 0 0 1.5px rgba(123,175,158,0.2) !important;
}

/* ── 8. Пульсирующий бейдж на карточках ── */
.product-badge {
  position: absolute; top: 13px; left: 13px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
}
.product-badge::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: white; flex-shrink: 0;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* ── 9. Плавный переход картинок ── */
.product-img-wrap img { transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease; }
img { transition: opacity 0.3s ease; }

/* ── 10. Волна перед футером ── */
.footer-wave {
  height: 60px; overflow: hidden;
  background: var(--bg);
  line-height: 0;
}
.footer-wave svg { display: block; width: 100%; height: 60px; }

/* ── 11. Тонкая линия-прогресс скролла вверху ── */
#scrollProgress {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 2.5px; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ── 12. Анимация появления секций при скролле ── */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 13. Фокус-стили для accessibility ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ── 14. Активное состояние nav-ссылок — полоска снизу ── */
.nav-link.active {
  position: relative;
}
.nav-link.active::after {
  content: '';
  position: absolute; bottom: -2px; left: 16px; right: 16px;
  height: 2px; border-radius: 99px;
  background: var(--text);
}

/* ── 15. Tooltip на кнопке корзины ── */
.cart-btn { position: relative; }
.cart-btn::before {
  content: 'Корзина';
  position: absolute; bottom: calc(100% + 8px); right: 0;
  background: var(--text); color: var(--white);
  font-size: 11px; font-weight: 500;
  padding: 5px 10px; border-radius: var(--r-sm);
  white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translateY(4px);
  transition: all 0.2s ease;
}
.cart-btn::after {
  content: '';
  position: absolute; bottom: calc(100% + 2px); right: 14px;
  border: 5px solid transparent;
  border-top-color: var(--text);
  opacity: 0; transition: all 0.2s ease;
  pointer-events: none;
}
.cart-btn:hover::before,
.cart-btn:hover::after { opacity: 1; transform: translateY(0); }

/* ── 16. Улучшенные input-поля — floating label effect ── */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(123,175,158,0.15);
  transform: translateY(-1px);
}

/* ── 17. Плавный счётчик корзины ── */
.cart-count {
  animation: cartPop 0.3s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes cartPop {
  from { transform: scale(0); }
  to   { transform: scale(1); }
}

/* ── 18. Кнопки — чуть лучше нажатие ── */
.btn:active { transform: scale(0.97); }
.btn-primary:active { transform: scale(0.97) translateY(0); }

/* ── 19. Плавный скролл для якорей ── */
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

/* ── 20. Улучшенный footer — градиент-разделитель ── */
.footer::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin-bottom: 0;
}
/* ===================================================
   ДОБАВИТЬ В КОНЕЦ style.css
   =================================================== */

/* ── Хедер — правый блок (корзина + бургер) ── */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* ── Кнопка-бургер ── */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  cursor: pointer;
  padding: 0;
  transition: all .18s;
}
.burger-btn:hover {
  border-color: var(--text);
  background: var(--bg3);
}
.burger-btn span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  border-radius: 2px;
  transition: all .25s ease;
  transform-origin: center;
}

/* Анимация бургера → крестик */
.burger-btn.burger-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.burger-btn.burger-active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.burger-btn.burger-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Мобильное меню ── */
@media (max-width: 700px) {
  .burger-btn {
    display: flex;
  }

  .nav {
    display: flex !important; /* был display:none — теперь управляем классом */
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: rgba(242, 237, 230, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    gap: 4px;
    padding: 12px 18px 20px;
    box-shadow: 0 12px 40px rgba(42, 36, 32, 0.12);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
    z-index: 99;
  }

  .nav.nav-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav .nav-link,
  .nav .kaspi-nav-btn {
    padding: 12px 16px;
    border-radius: var(--r);
    font-size: 15px;
    border: 1.5px solid transparent;
  }

  .nav .nav-link:hover,
  .nav .kaspi-nav-btn:hover {
    background: var(--bg3);
    border-color: var(--border);
  }

  .nav .kaspi-nav-btn {
    margin-top: 6px;
    background: var(--bg2);
    border-color: var(--border);
    justify-content: center;
  }
}

/* ── Overlay под меню ── */
#menuOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(42, 36, 32, 0.3);
  backdrop-filter: blur(2px);
  z-index: 98;
  opacity: 0;
  transition: opacity .3s ease;
}
#menuOverlay.overlay-show {
  display: block;
  opacity: 1;
}

/* ── Toast уведомление "Добавлено в корзину" ── */
#cartToast {
  position: fixed;
  bottom: 90px;
  right: 26px;
  z-index: 9000;
  background: var(--text);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--r-md);
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  transition: all .3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
#cartToast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
#cartToast a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  white-space: nowrap;
}
#cartToast a:hover {
  color: var(--accent-hover);
}
/* ══════════════════════════════════════
   Добавить в конец style.css
   Стили остатков на карточках товаров
   ══════════════════════════════════════ */

.product-stock {
  font-size: 11.5px;
  font-weight: 500;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.product-stock.in-stock  { color: #3D9E6E; }
.product-stock.out-stock { color: #D04040; }
/* ══════════════════════════════════════
   Добавить в конец style.css
   Стили страницы "О компании"
   ══════════════════════════════════════ */

.about-page { padding: 52px 0 80px; }

/* ── Вступление ── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 64px;
}
.about-intro-text p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.8;
  margin-bottom: 14px;
}
.about-intro-text p:last-child { margin-bottom: 0; }
.about-intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-stat {
  background: var(--card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 24px 20px;
  text-align: center;
}
.about-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}
.about-stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

/* ── Галерея ── */
.about-gallery { margin-bottom: 72px; }
.gallery-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 12px;
}
.gallery-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-main {
  grid-row: 1 / 3;
}
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 18px 16px;
  background: linear-gradient(to top, rgba(42,36,32,0.7) 0%, transparent 100%);
  color: white;
  font-size: 12.5px;
  font-weight: 500;
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

/* ── Таймлайн ── */
.about-timeline { margin-bottom: 72px; }
.about-timeline .section-title { margin-bottom: 36px; }
.timeline {
  position: relative;
  padding-left: 28px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--border-light);
  border-radius: 2px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  margin-bottom: 28px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 14px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--accent-border);
}
.timeline-item-future::before {
  background: var(--border);
  box-shadow: 0 0 0 2px var(--border-light);
}
.timeline-year {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
  padding-top: 10px;
  flex-shrink: 0;
}
.timeline-item-future .timeline-year { color: var(--text-dim); }
.timeline-card {
  background: var(--card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 18px 20px;
  transition: all .2s;
}
.timeline-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
  transform: translateX(4px);
}
.timeline-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}
.timeline-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Ценности ── */
.about-values { margin-bottom: 64px; }
.about-values .section-title { margin-bottom: 28px; }
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.value-card {
  background: var(--card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 28px 22px;
  transition: all .22s;
}
.value-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--accent-border);
}
.value-icon {
  width: 40px; height: 40px;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.value-icon svg {
  width: 18px; height: 18px;
  stroke: var(--accent);
}
.value-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.value-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── CTA блок ── */
.about-cta {
  background: var(--text);
  border-radius: var(--r-xl);
  padding: 56px 48px;
  text-align: center;
}
.about-cta h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.about-cta p {
  color: rgba(255,255,255,0.55);
  font-size: 14.5px;
  margin-bottom: 28px;
}
.about-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.about-cta .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.about-cta .btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.about-cta .btn-outline {
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.75);
}
.about-cta .btn-outline:hover { border-color: white; color: white; background: transparent; }

/* ── Адаптив ── */
@media (max-width: 960px) {
  .about-intro { grid-template-columns: 1fr; gap: 32px; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-main { grid-row: auto; }
}
@media (max-width: 700px) {
  .about-intro-stats { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .timeline { padding-left: 20px; }
  .timeline-item { grid-template-columns: 60px 1fr; gap: 12px; }
  .about-cta { padding: 36px 24px; }
}
/* ══════════════════════════════════════
   Добавить в конец style.css
   Стили страницы "Поддержка"
   ══════════════════════════════════════ */

.support-page { padding: 48px 0 80px; }
.support-section { margin-bottom: 64px; }
.support-section-desc {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  margin-top: -16px;
}

/* ── Быстрая помощь ── */
.support-quick {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 56px;
}
.support-quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-lg);
  text-decoration: none;
  color: var(--text);
  transition: all .2s;
}
.support-quick-card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.support-quick-icon {
  width: 40px; height: 40px;
  background: var(--accent-light);
  border: 1px solid var(--accent-border);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.support-quick-icon svg { width: 18px; height: 18px; stroke: var(--accent); }
.support-quick-title { font-weight: 600; font-size: 13.5px; color: var(--text); }
.support-quick-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.support-quick-arrow {
  margin-left: auto;
  color: var(--text-dim);
  font-size: 16px;
  transition: transform .18s;
}
.support-quick-card:hover .support-quick-arrow { transform: translateX(4px); color: var(--accent); }

/* ── Карточки моделей с драйверами ── */
.drivers-list { display: flex; flex-direction: column; gap: 12px; }
.driver-model-card {
  background: var(--card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .2s;
}
.driver-model-card:hover { border-color: var(--border); }
.driver-model-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
}
.driver-model-img {
  width: 64px; height: 48px;
  background: var(--bg2);
  border-radius: var(--r-sm);
  overflow: hidden;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.driver-model-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.driver-model-name { font-weight: 600; font-size: 14px; color: var(--text); }
.driver-model-spec { font-size: 12px; color: var(--text-muted); margin-top: 3px; }
.driver-toggle-btn {
  margin-left: auto;
  display: flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  background: var(--bg2);
  border: 1.5px solid var(--border-light);
  border-radius: 50px;
  font-size: 12.5px;
  font-family: inherit;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .18s;
  flex-shrink: 0;
}
.driver-toggle-btn:hover { border-color: var(--accent-border); color: var(--accent); background: var(--accent-light); }
.driver-toggle-btn svg { transition: transform .25s ease; }

/* Файлы драйверов — аккордеон */
.driver-files {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  border-top: 0px solid var(--border-light);
}
.driver-files.open {
  max-height: 600px;
  border-top-width: 1px;
}
.driver-file {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border-light);
  transition: background .15s;
}
.driver-file:last-child { border-bottom: none; }
.driver-file:hover { background: var(--bg); }
.driver-file-icon {
  width: 34px; height: 34px;
  background: var(--bg2);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.driver-file-icon svg { width: 15px; height: 15px; stroke: var(--text-muted); }
.driver-file-name { font-size: 13.5px; font-weight: 500; color: var(--text); }
.driver-file-meta { font-size: 11.5px; color: var(--text-dim); margin-top: 2px; }
.driver-download-btn {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 16px;
  background: var(--text);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 12.5px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: all .18s;
  flex-shrink: 0;
}
.driver-download-btn:hover { background: #3D3530; transform: translateY(-1px); }
/* ── Рекомендуемое ПО ── */
.software-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.software-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-md);
  transition: all .2s;
}
.software-card:hover { box-shadow: var(--shadow-sm); border-color: var(--border); }
.software-icon {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.software-name { font-size: 13.5px; font-weight: 600; color: var(--text); }
.software-desc { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.software-card .driver-download-btn { margin-left: auto; flex-shrink: 0; }

/* ── FAQ аккордеон ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--card);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color .18s;
}
.faq-item.open { border-color: var(--accent-border); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 20px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  gap: 12px;
  transition: color .15s;
}
.faq-q:hover { color: var(--accent); }
.faq-q svg { flex-shrink: 0; transition: transform .25s ease; stroke: var(--text-dim); }
.faq-item.open .faq-q svg { transform: rotate(180deg); stroke: var(--accent); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.7;
  padding: 0 20px;
}
.faq-item.open .faq-a { padding: 0 20px 18px; }

/* ── Адаптив ── */
@media (max-width: 960px) {
  .support-quick { grid-template-columns: 1fr; }
  .software-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .software-grid { grid-template-columns: 1fr; }
  .driver-model-head { flex-wrap: wrap; }
  .driver-toggle-btn { margin-left: 0; width: 100%; justify-content: center; }
}
.coming-soon {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  background: var(--bg2) !important;
  color: var(--muted) !important;
  border-color: var(--border) !important;
}