/* ============ Base ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-family);
  color: var(--color-text);
  background: var(--color-bg);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.cnt {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.center { text-align: center; }
.section { padding: var(--space-8) 0; }
.section-alt { background: var(--kt-white); border-top: 1px solid var(--kt-line); border-bottom: 1px solid var(--kt-line); }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--fw-heavy);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--kt-grey);
  margin-bottom: var(--space-2);
}
h1.section-title, h2.section-title {
  font-size: var(--fs-h2);
  font-weight: var(--fw-heavy);
  color: var(--kt-ink);
  letter-spacing: -0.01em;
}
p.section-sub {
  font-size: var(--fs-lead);
  color: var(--kt-ink-2);
  margin-top: var(--space-2);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  height: var(--kt-control-h);
  padding: 0 28px;
  border-radius: var(--r-sm);
  font-weight: var(--fw-bold);
  font-size: 15px;
  transition: filter .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { filter: brightness(.94); }
.btn-primary {
  background: var(--kt-orange);
  color: #fff;
}
.btn-outline {
  background: var(--kt-white);
  color: var(--kt-blue);
  box-shadow: inset 0 0 0 2px var(--kt-blue);
}
.btn-outline:hover { background: var(--kt-blue-tint); filter: none; }
.btn-dark {
  background: var(--kt-blue);
  color: #fff;
}
.btn-arrow {
  width: 34px;
  height: 34px;
  border-radius: var(--r-circle);
  background: rgba(255,255,255,.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn-outline .btn-arrow { background: var(--kt-blue-tint); }
.btn-arrow img { width: 14px; }

/* Ghost/on-navy variant of the outline button — any .btn-outline placed on a
   navy surface (hero, service banner) reads as a translucent white ghost
   button instead of a solid white block, per the design system's b-onblue. */
.hero .btn-outline,
.service-banner .btn-outline {
  background: rgba(255,255,255,.12);
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.45);
}
.hero .btn-outline:hover,
.service-banner .btn-outline:hover { background: rgba(255,255,255,.2); }
.hero .btn-outline .btn-arrow,
.service-banner .btn-outline .btn-arrow { background: rgba(255,255,255,.16); }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--kt-white);
  border-bottom: 1px solid var(--kt-line);
  transition: background .2s ease, border-color .2s ease;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: 14px 24px;
}
.header-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.header-logo img { display: none; height: 40px; }
.header-logo .logo-full.logo-normal { display: block; }
.site-header.scrolled .header-logo .logo-full.logo-normal { display: none; }
.site-header.scrolled .header-logo .logo-full.logo-invert { display: block; }
.header-nav-desktop { display: flex; align-items: center; gap: var(--space-5); }
.catalog-trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 12px 20px;
  border-radius: var(--r-sm);
  background: var(--kt-blue);
  color: #fff;
  font-weight: var(--fw-bold);
}
.header-nav-desktop nav ul { display: flex; gap: var(--space-5); }
.header-nav-desktop nav > ul > li { position: relative; }
.header-nav-desktop nav > ul > li > a {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
  color: var(--kt-ink-2);
  padding: 8px 0;
  display: inline-block;
}
.header-nav-desktop nav > ul > li:hover > a { color: var(--kt-blue-bright); }
.header-nav-desktop nav > ul > li > ul {
  position: absolute;
  top: 100%; left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--kt-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .15s ease;
}
.header-nav-desktop nav > ul > li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.header-nav-desktop nav > ul > li > ul li a {
  display: block;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  font-size: var(--fs-small);
  color: var(--kt-ink-2);
}
.header-nav-desktop nav > ul > li > ul li a:hover { background: var(--kt-blue-tint); color: var(--kt-blue-bright); }

.header-contacts { display: flex; align-items: center; gap: var(--space-5); }
.header-phone a { font-weight: var(--fw-bold); font-size: var(--fs-body); color: var(--kt-ink); }
.header-mail { font-size: var(--fs-xs); color: var(--kt-grey); line-height: 1.3; }
.header-mail a { color: var(--kt-blue-bright); font-weight: var(--fw-semibold); }
.header-icon-btn {
  width: 40px; height: 40px;
  border-radius: var(--r-circle);
  background: var(--kt-sand);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  color: var(--kt-ink-2);
}
.header-icon-btn .badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--kt-orange); color: #fff;
  font-size: 10px; font-weight: var(--fw-bold);
  width: 16px; height: 16px; border-radius: var(--r-circle);
  display: flex; align-items: center; justify-content: center;
}
.menu-toggle { display: none; }

/* Mega dropdown modal */
.mega-modal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(30,27,23,.55);
  z-index: 200;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 24px 24px;
  overflow-y: auto;
}
.mega-modal.open { display: flex; }
.mega-panel {
  background: #fff;
  border-radius: var(--r-lg);
  max-width: 1100px;
  width: 100%;
  padding: var(--space-6);
  box-shadow: var(--shadow-xl);
  position: relative;
}
.mega-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: var(--r-circle);
  background: var(--kt-sand);
  display: flex; align-items: center; justify-content: center;
}
.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-5);
}
.mega-cat h3 { font-size: var(--fs-body); font-weight: var(--fw-bold); margin-bottom: var(--space-3); color: var(--kt-blue); }
.mega-cat ul li a {
  display: flex; align-items: center; gap: var(--space-2);
  padding: 6px 0;
  font-size: var(--fs-small);
  color: var(--kt-ink-2);
}
.mega-cat ul li a img { width: 24px; height: 24px; object-fit: contain; border-radius: 6px; }
.mega-cat ul li a:hover { color: var(--kt-blue-bright); }

/* ============ Hero ============ */
.hero {
  position: relative;
  background: var(--kt-blue-deep);
  padding: var(--space-9) 0 var(--space-8);
  overflow: hidden;
}
.hero-inner { text-align: center; }
.hero .eyebrow { color: var(--kt-blue-pale); }
.hero .eyebrow::before {
  content: "";
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: var(--r-circle);
  background: var(--kt-orange);
  margin-right: 8px;
  vertical-align: middle;
}
.hero h1 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.02em;
  color: #fff;
  margin-top: var(--space-4);
}
.hero .price {
  display: inline-block;
  margin-top: var(--space-3);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: var(--fw-heavy);
  color: #fff;
}
.hero p.hero-sub {
  margin-top: var(--space-3);
  font-size: var(--fs-lead);
  color: var(--kt-blue-pale);
}
.hero-cta { display: flex; justify-content: center; gap: var(--space-4); margin-top: var(--space-6); flex-wrap: wrap; }
.hero-image { position: relative; margin-top: var(--space-8); display: flex; justify-content: center; }
.hero-image img { max-width: 560px; }

/* ============ 3 Steps ============ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-7);
}
.step-card { text-align: center; padding: 0 var(--space-4); }
.step-num {
  width: 64px; height: 64px;
  border-radius: var(--r-circle);
  background: var(--kt-blue);
  color: #fff;
  font-size: 1.5rem; font-weight: var(--fw-heavy);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-4);
}
.step-num svg { width: 28px; height: 28px; flex-shrink: 0; }
.step-card h4 { font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--kt-ink); }
.step-card p { margin-top: var(--space-2); color: var(--kt-ink-2); font-size: var(--fs-small); }

.gift-banner {
  position: relative;
  margin-top: var(--space-8);
  background: var(--kt-blue-deep);
  border-radius: var(--r-lg);
  padding: var(--space-7);
  display: flex;
  align-items: center;
  gap: var(--space-6);
  color: #fff;
  flex-wrap: wrap;
}
.gift-banner img, .gift-banner .gift-text, .gift-banner .btn { position: relative; z-index: 1; }
.gift-banner img { width: 120px; }
.gift-banner .gift-text { flex: 1; min-width: 240px; }
.gift-banner p.gift-headline { font-size: var(--fs-h3); font-weight: var(--fw-bold); }
.gift-banner .amber-tag {
  display: inline-block;
  background: var(--kt-orange-tint);
  color: var(--kt-orange-deep);
  font-weight: var(--fw-bold);
  font-size: var(--fs-xs);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: var(--space-2);
}

/* ============ Pain points ============ */
.pain-header h2 { max-width: 480px; }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.pain-card {
  background: #fff;
  border: 1px solid var(--kt-line);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  transition: box-shadow .2s ease, transform .2s ease;
}
.pain-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pain-card img { width: 48px; height: 48px; margin-bottom: var(--space-4); }
.pain-card p { font-size: var(--fs-small); color: var(--kt-ink-2); }
.pain-cta { text-align: center; margin-top: var(--space-7); }
/* Homepage-only accent — .pain-card is shared with the why-order.html
   partial (included on service and product pages), so this hover flourish
   is scoped to the homepage's "Поможем бизнесу" section via .home-pain. */
.home-pain .pain-card { position: relative; overflow: hidden; }
.home-pain .pain-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--kt-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.home-pain .pain-card:hover::before { transform: scaleX(1); }

/* ============ Why us ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-7);
}
.why-card { text-align: center; }
.why-num {
  width: 48px; height: 48px;
  border-radius: var(--r-circle);
  background: var(--kt-orange);
  color: #fff;
  font-weight: var(--fw-bold);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-3);
}
.why-card p { font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--kt-ink); }

/* ============ Catalog ============ */
.catalog-intro { margin-bottom: var(--space-3); }
.catalog-frame {
  border: 1px solid var(--kt-line);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  margin-top: var(--space-7);
  background: #fff;
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
}
.catalog-card { display: flex; flex-direction: column; transition: transform .2s ease; }
.catalog-card:hover { transform: translateY(-4px); }
.catalog-card img {
  border-radius: var(--r-lg);
  background: var(--kt-sand);
  aspect-ratio: 4/3;
  object-fit: contain;
  padding: var(--space-4);
}
.catalog-card h4 { margin-top: var(--space-4); font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--kt-ink); }
.catalog-card p { margin-top: var(--space-2); color: var(--kt-ink-2); font-size: var(--fs-small); flex: 1; }
.catalog-card .cat-link {
  margin-top: var(--space-3);
  display: inline-flex; align-items: center; gap: var(--space-2);
  color: var(--kt-blue); font-weight: var(--fw-bold); font-size: var(--fs-small);
  transition: color .2s ease;
}
.catalog-card:hover .cat-link { color: var(--kt-orange-deep); }
.rent-banner {
  margin-top: var(--space-6);
  background: var(--kt-blue-tint);
  border-radius: var(--r-lg);
  padding: var(--space-6);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-5);
  flex-wrap: wrap;
}
.rent-banner strong { font-size: var(--fs-h3); color: var(--kt-ink); }
/* Homepage-only variant — .rent-banner is shared with every category page,
   so scope via the ancestor .catalog-frame, which only exists on the
   homepage's catalog preview. */
.catalog-frame .rent-banner {
  background: var(--kt-orange-tint);
}

/* ============ Category product grid ============ */
.category-hero { max-width: 640px; margin: 0 auto var(--space-7); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-5);
}
.product-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--kt-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: transparent; }
.product-card-img {
  position: relative;
  background: #fff;
  aspect-ratio: 1/1;
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-3);
}
.product-card-img img { max-height: 100%; object-fit: contain; }
.product-card-discount-badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  background: var(--kt-orange-deep); color: #fff;
  font-size: var(--fs-xs); font-weight: var(--fw-bold);
  border-radius: var(--r-pill); padding: 3px 9px; line-height: 1.4;
}
.product-card-body { padding: var(--space-4); display: flex; flex-direction: column; flex: 1; gap: 2px; }
.product-card-body h3 {
  font-size: var(--fs-small); font-weight: var(--fw-regular); color: var(--kt-ink); line-height: 1.35;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  min-height: calc(var(--fs-small) * 1.35 * 2);
}
.product-desc { display: none; }
.product-price { display: flex; align-items: baseline; gap: var(--space-2); margin: var(--space-2) 0 var(--space-3); flex-wrap: wrap; order: -1; }
.price-current { font-size: var(--fs-h3); font-weight: var(--fw-heavy); color: var(--kt-ink); }
.price-current.is-partner-price { color: var(--kt-orange-deep); }
.price-partner-badge {
  display: inline-block; font-size: var(--fs-xs); font-weight: var(--fw-bold);
  color: var(--kt-orange-deep); background: var(--kt-orange-tint);
  border-radius: var(--r-pill); padding: 2px 10px;
}
.price-old { font-size: var(--fs-small); color: var(--kt-grey); text-decoration: line-through; }
.btn-sm { height: 40px; padding: 0 18px; font-size: var(--fs-small); width: 100%; justify-content: center; }

/* ============ Tabs ============ */
.tabs-wrap { margin-top: var(--space-6); }
.tabs-head {
  display: flex; justify-content: center; gap: var(--space-3);
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.tab-btn {
  padding: 12px 28px;
  border-radius: var(--r-pill);
  font-weight: var(--fw-bold);
  font-size: var(--fs-small);
  background: var(--kt-sand);
  color: var(--kt-grey);
  border: 1px solid var(--kt-line);
}
.tab-btn.active { background: var(--kt-blue); color: #fff; border-color: var(--kt-blue); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-frame {
  border: 1px solid var(--kt-line);
  border-radius: var(--r-lg);
  padding: var(--space-7);
  background: #fff;
}
.tab-frame h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--kt-ink); margin-bottom: var(--space-5); }
.feature-list li {
  display: flex; align-items: flex-start; gap: var(--space-3);
  padding: 10px 0;
  font-size: var(--fs-body);
}
.feature-list li::before {
  content: "";
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: var(--r-circle);
  background: var(--kt-blue);
  margin-top: 2px;
}
.feature-list.feature-list-negative li::before { background: var(--kt-error); }

/* Generic two-column list layout (e.g. "covered / not covered" comparisons) */
.split-list-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); }
.split-list-grid h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--kt-ink); margin-bottom: var(--space-2); }

.bank-row { display: flex; flex-wrap: wrap; gap: var(--space-5); align-items: center; margin: var(--space-6) 0; }
.bank-row img { height: 28px; width: auto; object-fit: contain; }

.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th, .compare-table td {
  border-bottom: 1px solid var(--kt-line);
  padding: var(--space-4);
  text-align: left;
  font-size: var(--fs-small);
}
.compare-table th { color: var(--kt-grey); font-weight: var(--fw-semibold); text-transform: uppercase; font-size: var(--fs-xs); }
.compare-table img { height: 32px; }

/* ============ Certificates & Clients ============ */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-6);
}
.cert-grid img {
  border-radius: var(--r-md);
  border: 1px solid var(--kt-line);
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: box-shadow .2s ease, transform .2s ease;
}
/* Homepage-only flourish — .cert-grid is shared with pages/contacts.html,
   so scope via .home-certs on the homepage's "Сертификаты" section. */
.home-certs .section-title { position: relative; }
.home-certs .section-title::after {
  content: "";
  display: block;
  width: 64px; height: 4px;
  margin: var(--space-3) auto 0;
  border-radius: var(--r-pill);
  background: var(--kt-orange);
}
.home-certs .cert-grid img:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.carousel-track {
  display: flex;
  gap: var(--space-6);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: var(--space-5) 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex; align-items: center; justify-content: center;
  width: 160px; height: 90px;
  background: var(--kt-white);
  border: 1px solid var(--kt-line);
  border-radius: var(--r-md);
}
.carousel-track .slide img { max-height: 48px; max-width: 120px; object-fit: contain; }
.reviews-embed {
  max-width: 720px;
  margin: var(--space-6) auto 0;
  border: 1px solid var(--kt-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.reviews-embed iframe { width: 100%; height: 500px; border: 0; display: block; }

/* ============ Footer ============ */
.site-footer { background: var(--kt-blue-deep); color: var(--kt-blue-pale); margin-top: var(--space-9); }
.footer-top { padding: var(--space-7) 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-top img { height: 36px; margin-bottom: var(--space-4); }
.footer-top p { color: var(--kt-blue-pale); font-size: var(--fs-small); max-width: 900px; }
.footer-top strong { color: #fff; }
.footer-body {
  padding: var(--space-7) 0;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--space-7);
}
.footer-block-title { font-weight: var(--fw-bold); color: #fff; margin-bottom: var(--space-3); font-size: var(--fs-small); text-transform: uppercase; letter-spacing: .05em; }
.footer-phone-numbers > div { margin-bottom: var(--space-2); font-size: var(--fs-small); }
.footer-phone-numbers a { color: #fff; font-weight: var(--fw-semibold); }
.footer-phone-numbers span a { color: var(--kt-blue-pale); font-weight: var(--fw-regular); display: block; }
.footer-soc { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.footer-soc a {
  width: 38px; height: 38px; border-radius: var(--r-circle);
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
}
.footer-right { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
.footer-right ul li { margin-bottom: var(--space-2); }
.footer-right ul li a { color: var(--kt-blue-pale); font-size: var(--fs-small); }
.footer-right ul li a:hover { color: #fff; }
.footer-tg { text-align: center; }
.footer-tg img.qr { width: 100px; margin: 0 auto; border-radius: var(--r-sm); }
.payments-strip { padding: var(--space-6) 0; border-top: 1px solid rgba(255,255,255,.12); }
.payments-strip img { max-width: 480px; }
.copyrights { padding: var(--space-5) 0; font-size: var(--fs-xs); color: var(--kt-blue-pale); border-top: 1px solid rgba(255,255,255,.12); }
.copyrights a { color: var(--kt-blue-pale); }

/* ============ Modal forms ============ */
.overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(30,27,23,.6);
  z-index: 300;
  align-items: center; justify-content: center;
  padding: 24px;
}
.overlay.open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: var(--r-lg);
  max-width: 420px; width: 100%;
  padding: var(--space-6);
  position: relative;
  box-shadow: var(--shadow-xl);
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: var(--r-circle);
  background: var(--kt-sand);
  display: flex; align-items: center; justify-content: center;
}
.modal-box h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--kt-ink); margin-bottom: var(--space-2); }
.modal-box .modal-sub { color: var(--kt-ink-2); font-size: var(--fs-small); margin-bottom: var(--space-5); }
.modal-box .price-line { color: var(--kt-blue); font-weight: var(--fw-bold); font-size: 1.25rem; margin-bottom: var(--space-4); }
.field-input {
  width: 100%;
  height: var(--kt-control-h);
  padding: 0 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--kt-line);
  font-size: var(--fs-body);
  margin-bottom: var(--space-4);
  font-family: inherit;
  background: #fff;
  color: var(--kt-ink);
}
.field-input:focus { outline: 2px solid var(--kt-blue-bright); border-color: transparent; }
.field-checkbox { display: flex; align-items: flex-start; gap: var(--space-2); font-size: var(--fs-xs); color: var(--kt-grey); margin-bottom: var(--space-5); }
.field-checkbox a { color: var(--kt-blue); }

/* ============ Captcha (server-generated arithmetic check, js/main.js loadCaptcha) ============ */
.captcha-field { margin-bottom: var(--space-4); }
.captcha-row { display: flex; align-items: center; gap: var(--space-2); }
.captcha-question {
  flex-shrink: 0;
  min-width: 64px;
  height: var(--kt-control-h);
  padding: 0 14px;
  border-radius: var(--r-sm);
  background: var(--kt-sand);
  border: 1px solid var(--kt-line);
  color: var(--kt-ink);
  font-weight: var(--fw-bold);
  display: flex; align-items: center; justify-content: center;
  font-variant-numeric: tabular-nums;
}
.captcha-answer { margin-bottom: 0; flex: 1; min-width: 0; }
.captcha-refresh {
  flex-shrink: 0;
  width: var(--kt-control-h); height: var(--kt-control-h);
  border-radius: var(--r-sm);
  background: var(--kt-sand);
  border: 1px solid var(--kt-line);
  color: var(--kt-ink-2);
  font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .2s ease, background .15s ease, color .15s ease;
}
.captcha-refresh:hover { background: var(--kt-blue-tint); color: var(--kt-blue); transform: rotate(45deg); }
.modal-box .btn { width: 100%; justify-content: center; }
.form-success { display: none; text-align: center; padding: var(--space-5) 0; }
.form-success.show { display: block; }
.form-success .check {
  width: 56px; height: 56px; border-radius: var(--r-circle);
  background: var(--kt-blue-tint); color: var(--kt-blue);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto var(--space-4); font-size: 1.5rem;
}

/* ============ Stub pages ============ */
.stub-page { padding: var(--space-9) 0; text-align: center; min-height: 40vh; }
.stub-page h1 { font-size: var(--fs-h1); font-weight: var(--fw-heavy); color: var(--kt-ink); }
.stub-page p { margin-top: var(--space-4); color: var(--kt-ink-2); font-size: var(--fs-lead); max-width: 560px; margin-left: auto; margin-right: auto; }
.stub-badge {
  display: inline-block; margin-bottom: var(--space-4);
  background: var(--kt-orange-tint); color: var(--kt-orange-deep);
  font-weight: var(--fw-bold); font-size: var(--fs-xs);
  padding: 6px 16px; border-radius: var(--r-pill);
}
.stub-page .btn { margin-top: var(--space-6); }

/* ============ Admin ============ */
.admin-wrap { max-width: var(--container-max); margin: var(--space-7) auto; padding: 0 24px; }
.admin-wrap h1 { font-size: var(--fs-h2); font-weight: var(--fw-heavy); color: var(--kt-ink); }
.admin-table { width: 100%; border-collapse: collapse; margin-top: var(--space-5); background: #fff; border: 1px solid var(--kt-line); border-radius: var(--r-lg); overflow: hidden; }
.admin-table th, .admin-table td { padding: var(--space-3) var(--space-4); text-align: left; font-size: var(--fs-small); border-bottom: 1px solid var(--kt-line); }
.admin-table th { background: var(--kt-sand); text-transform: uppercase; font-size: var(--fs-xs); color: var(--kt-grey); }
.admin-empty { color: var(--kt-ink-2); margin-top: var(--space-5); }
.admin-nav { display: flex; gap: var(--space-4); margin-bottom: var(--space-5); }
.admin-nav a { color: var(--kt-ink-2); font-size: var(--fs-small); }
.admin-nav a.active { color: var(--kt-blue); font-weight: var(--fw-bold); }
.admin-editor { display: grid; grid-template-columns: minmax(260px, 320px) 1fr; gap: var(--space-6); align-items: start; margin-top: var(--space-5); }
.admin-editor-picker select.field-input { margin-bottom: var(--space-3); }
.admin-editor-picker-row { display: flex; gap: var(--space-3); align-items: flex-start; }
.admin-editor-picker-row select.field-input { flex: 1; }
.admin-editor-picker-row .btn { flex-shrink: 0; white-space: nowrap; }
.admin-editor-label { display: block; font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--kt-grey); text-transform: uppercase; margin-bottom: 6px; }
.admin-editor-picker .field-input { height: auto; padding: 10px 12px; margin-bottom: var(--space-3); }
.admin-editor-url-preview { font-size: var(--fs-xs); color: var(--kt-ink-2); margin: -8px 0 var(--space-4); word-break: break-all; }
.admin-editor-meta { font-size: var(--fs-xs); color: var(--kt-ink-2); line-height: 1.6; }
.admin-editor-meta a { color: var(--kt-blue); }
.admin-editor-main textarea.field-input { height: auto; min-height: 60vh; font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: var(--fs-xs); line-height: 1.5; }
.admin-editor-actions { display: flex; gap: var(--space-3); align-items: center; margin-top: var(--space-3); }
.admin-editor-actions .btn { width: auto; }
.admin-editor-status { font-size: var(--fs-small); color: var(--kt-ink-2); }
.admin-editor-status.ok { color: var(--kt-success); }
.admin-editor-status.err { color: var(--kt-error); }
.admin-image-grid { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-3); }
.admin-image-item { position: relative; width: 84px; height: 84px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--kt-line); background: var(--kt-sand); }
.admin-image-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-image-badge { position: absolute; top: 2px; left: 2px; background: var(--kt-blue); color: #fff; font-size: 9px; font-weight: var(--fw-bold); padding: 1px 5px; border-radius: var(--r-pill); }
.admin-image-actions { position: absolute; inset: auto 0 0 0; display: flex; justify-content: center; gap: 2px; padding: 2px; background: rgba(30,27,23,0.6); opacity: 0; transition: opacity .15s; }
.admin-image-item:hover .admin-image-actions { opacity: 1; }
.admin-image-btn { width: 20px; height: 20px; line-height: 20px; text-align: center; padding: 0; border: none; border-radius: 4px; background: rgba(255,255,255,0.9); color: var(--kt-ink); font-size: 11px; cursor: pointer; }
.admin-image-btn-danger { background: #fff; color: var(--kt-error); }
.admin-image-grid.dragover { outline: 2px dashed var(--kt-blue); outline-offset: 2px; }
.admin-image-btn[disabled] { opacity: .4; cursor: default; pointer-events: none; }
@media (max-width: 860px) { .admin-editor { grid-template-columns: 1fr; } }

/* ============ Service page banner ============ */
.service-banner {
  background: var(--kt-blue-deep);
  color: #fff;
  padding: var(--space-8) 0 var(--space-7);
}
.service-banner .cnt { max-width: 760px; }
.service-banner .eyebrow { color: var(--kt-blue-pale); }
.service-banner h1 {
  font-size: var(--fs-h1);
  font-weight: var(--fw-heavy);
  letter-spacing: -0.01em;
  margin-top: var(--space-2);
  color: #fff;
}
.service-banner p.service-sub {
  margin-top: var(--space-3);
  font-size: var(--fs-lead);
  color: var(--kt-blue-pale);
  max-width: 560px;
}
.service-banner .feature-list { margin-top: var(--space-5); }
.service-banner .feature-list li { color: #fff; }
.service-banner .feature-list li::before { background: var(--kt-orange); }
.service-banner .hero-cta { margin-top: var(--space-6); }

.breadcrumb {
  padding: var(--space-3) 0;
  font-size: var(--fs-xs);
  color: var(--kt-grey);
  border-bottom: 1px solid var(--kt-line);
}
.breadcrumb a { color: var(--kt-blue); font-weight: var(--fw-semibold); }

/* ============ Audience icon grid ============ */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.audience-card {
  text-align: center;
  background: #fff;
  border: 1px solid var(--kt-line);
  border-radius: var(--r-lg);
  padding: var(--space-5) var(--space-4);
}
.audience-card img { width: 48px; height: 48px; margin: 0 auto 12px; object-fit: contain; }
.audience-card p { font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--kt-ink); }

/* ============ Terminal / spotlight cards ============ */
.spotlight {
  display: grid;
  grid-template-columns: minmax(200px, 340px) 1fr;
  gap: var(--space-6);
  align-items: flex-start;
  padding: var(--space-6) 0;
  border-bottom: 1px solid var(--kt-line);
}
.spotlight:last-child { border-bottom: none; }
.spotlight-img {
  background: var(--kt-sand);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  display: flex; align-items: flex-start; justify-content: center;
}
.spotlight-img img { max-height: 220px; object-fit: contain; }
.spotlight h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--kt-ink); margin-bottom: var(--space-3); }

/* ============ Product detail hero: Ozon-style buy box ============
   Left column stays sticky while the right column's flex order pulls the
   price + CTA above the long markdown description, matching Ozon's
   "price/buy-box near the top, specs below" reading order — achieved purely
   via flex `order` on the existing generate-product-pages.py markup, no
   template change needed. */
.product-hero { border-bottom: none; padding-top: 0; }
.product-hero .spotlight-img {
  background: #fff;
  border: 1px solid var(--kt-line);
  position: sticky;
  top: var(--space-4);
}
.product-hero .spotlight-img img { max-height: 340px; }
.product-hero > div:last-child { display: flex; flex-direction: column; }
.product-hero .product-category-badge { display: inline-block; align-self: flex-start; width: max-content; max-width: max-content; margin-bottom: var(--space-2); }
.product-hero h1 { font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--kt-ink); margin-bottom: var(--space-4); line-height: 1.3; }

/* The buy box: price + service add-ons + order CTA, grouped into one panel
   by wrapHeroBuyBox() in js/main.js — the Amazon/Ozon "purchase panel"
   pattern, sitting above the description via its default flex order (0). */
.product-hero .hero-buy-box {
  background: #fff;
  border: 1px solid var(--kt-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: var(--space-5);
  margin-bottom: var(--space-5);
}
.product-hero .product-price { margin: 0 0 var(--space-4); align-items: baseline; }
.product-hero .product-price .price-current { font-size: 34px; }
.product-hero .product-price .price-old { font-size: var(--fs-body); }
.product-hero .price-discount-badge {
  display: inline-flex; align-items: center;
  background: var(--kt-orange-tint); color: var(--kt-orange-deep);
  font-size: var(--fs-small); font-weight: var(--fw-bold);
  border-radius: var(--r-pill); padding: 3px 10px;
}
.product-hero .hero-buy-box .product-addons {
  border: none; background: var(--kt-sand); padding: var(--space-4); margin: 0 0 var(--space-4);
}
.product-hero .hero-buy-box .btn.btn-primary, .product-hero .hero-buy-box .hero-cta-row { width: 100%; }
.product-hero .hero-buy-box .btn.btn-primary { height: 52px; font-size: var(--fs-body); }
.product-hero .hero-buy-box .hero-cta-row .btn.btn-primary { flex: 1; width: auto; }
.product-hero .product-detail-desc, .product-hero .feature-list { order: 2; color: var(--kt-ink-2); font-size: var(--fs-body); line-height: 1.6; margin-bottom: var(--space-5); }
.product-hero .info-accordion { order: 3; }

/* ============ Product add-ons (service bundle picker) ============ */
.product-addons {
  border: 1px solid var(--kt-line);
  border-radius: var(--r-lg);
  background: var(--kt-sand);
  padding: var(--space-5);
  margin-bottom: var(--space-5);
}
.product-addons:empty { display: none; }
.product-addons-title { font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--kt-ink); margin-bottom: var(--space-3); }
.product-addons-list { display: flex; flex-flow: row wrap; gap: 6px; margin-bottom: var(--space-4); }
.addon-item {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid var(--kt-line); border-radius: var(--r-md);
  padding: 6px 9px; cursor: pointer; transition: border-color .15s ease, background .15s ease;
  flex: 0 1 auto; width: max-content; max-width: 100%;
}
.addon-item:hover { border-color: var(--kt-orange); }
.addon-item input[type="checkbox"] { width: 14px; height: 14px; accent-color: var(--kt-orange); flex-shrink: 0; cursor: pointer; }
.addon-item-title { font-size: var(--fs-xs); color: var(--kt-ink); line-height: 1.25; }
.addon-item-price { font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--kt-ink); white-space: nowrap; display: flex; align-items: baseline; gap: 5px; }
.addon-item input[type="checkbox"]:not(:checked) ~ .addon-item-price { color: var(--kt-ink-2); font-weight: var(--fw-regular); }
.addon-item-price-old { font-size: var(--fs-xs); font-weight: var(--fw-regular); color: var(--kt-grey); }
.addon-item-price-final { color: var(--kt-success); }
.product-addons-discount-note {
  font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--kt-success);
  margin: -6px 0 var(--space-3);
}
.product-addons-total {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-3);
  padding-top: var(--space-4); border-top: 1px solid var(--kt-line); margin-bottom: var(--space-4);
  font-size: var(--fs-body);
}
.product-addons-total-prices { display: flex; align-items: baseline; gap: var(--space-2); }
.product-addons-old-price { font-size: var(--fs-small); color: var(--kt-ink-2); }
.product-addons-total strong { font-size: var(--fs-h3); color: var(--kt-ink); }
.addon-add-btn {
  display: flex; align-items: center; justify-content: center; gap: var(--space-2);
  width: max-content; margin-left: auto; height: 40px; padding: 0 18px;
  border: none; border-radius: var(--r-md); cursor: pointer;
  background: var(--kt-success); color: #fff; font-family: inherit;
  font-size: var(--fs-small); font-weight: var(--fw-bold);
  transition: filter .15s ease, transform .15s ease;
}
.addon-add-btn:hover { filter: brightness(1.08); }
.addon-add-btn:active { transform: scale(.98); }
.addon-add-btn.is-added { background: var(--kt-ink-2); }

/* ============ Product photo gallery (main image + clickable thumbnail rail) ============ */
.product-gallery { display: flex; flex-direction: column; gap: var(--space-3); }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.gallery-thumb {
  width: 56px; height: 56px; padding: 4px;
  display: flex; align-items: center; justify-content: center;
  background: var(--kt-white);
  border: 2px solid var(--kt-line);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color .15s ease;
}
.gallery-thumb img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-thumb:hover { border-color: var(--kt-blue-bright); }
.gallery-thumb.active { border-color: var(--color-primary); }

/* ============ Markdown-rendered product description ============ */
.markdown-body { text-align: left; }
.markdown-body > *:first-child { margin-top: 0; }
.markdown-body > *:last-child { margin-bottom: 0; }
.markdown-body p { margin: 0 0 var(--space-3); }
.markdown-body strong { color: var(--kt-ink); font-weight: var(--fw-bold); }
.markdown-body em { font-style: italic; }
.markdown-body h3 {
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  color: var(--kt-ink);
  margin: var(--space-6) 0 var(--space-3);
}
.markdown-body h4 {
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--kt-ink);
  margin: var(--space-5) 0 var(--space-2);
}
.markdown-body ul {
  list-style: none;
  margin: 0 0 var(--space-4);
  padding: 0;
}
.markdown-body ul li {
  position: relative;
  padding-left: var(--space-4);
  margin-bottom: var(--space-2);
}
.markdown-body ul li::before {
  content: "";
  position: absolute;
  left: 2px; top: 9px;
  width: 6px; height: 6px;
  border-radius: var(--r-circle);
  background: var(--kt-orange);
}
.markdown-body .md-table-wrap { overflow-x: auto; margin-bottom: var(--space-4); }
.markdown-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
  background: #fff;
  border: 1px solid var(--kt-line);
  border-radius: 12px;
  overflow: hidden;
}
.markdown-body th, .markdown-body td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--kt-line);
}
.markdown-body th {
  font-weight: var(--fw-heavy);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--kt-grey);
  background: var(--kt-sand);
}
.markdown-body tr:last-child td { border-bottom: none; }

.terminal-type-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.terminal-type-card { text-align: center; }
.terminal-type-card img { max-height: 160px; margin: 0 auto var(--space-3); object-fit: contain; }
.terminal-type-card p.tt-label { font-weight: var(--fw-bold); color: var(--kt-ink); font-size: var(--fs-small); }
.terminal-type-card p.tt-model { color: var(--kt-ink-2); font-size: var(--fs-xs); margin-top: var(--space-1); }

/* ============ CMS badge row ============ */
.badge-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.cms-badge {
  padding: 10px 20px;
  border-radius: var(--r-pill);
  background: var(--kt-sand);
  border: 1px solid var(--kt-line);
  color: var(--kt-ink-2);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
}

/* ============ Badges ============ */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: var(--fw-heavy);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: var(--kt-orange-tint);
  color: var(--kt-orange-deep);
}
.badge.b-blue { background: var(--kt-blue-tint); color: var(--kt-blue); }

/* ============ Rate-by-category grid ============ */
.rate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-6);
}
.rate-card {
  background: #fff;
  border: 1px solid var(--kt-line);
  border-radius: var(--r-lg);
  padding: var(--space-5);
  text-align: center;
}
.rate-card .rate-value { font-size: var(--fs-h2); font-weight: var(--fw-heavy); color: var(--kt-blue); }
.rate-card p.rate-label { margin-top: var(--space-2); font-size: var(--fs-small); font-weight: var(--fw-semibold); color: var(--kt-ink); }
.rate-card p.rate-note { margin-top: var(--space-1); font-size: var(--fs-xs); color: var(--kt-ink-2); }

/* ============ Office / contact cards ============ */
.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-5);
  margin-top: var(--space-7);
}
.office-card {
  background: #fff;
  border: 1px solid var(--kt-line);
  border-radius: var(--r-lg);
  padding: var(--space-5);
}
.office-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-circle);
  background: var(--kt-blue-tint);
  color: var(--kt-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-4);
}
.office-card h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--kt-ink); }
.office-card .office-address { margin-top: var(--space-2); color: var(--kt-ink-2); font-size: var(--fs-small); }
.office-card .office-hours { margin-top: var(--space-2); color: var(--kt-ink-2); font-size: var(--fs-xs); }
.office-links { margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.office-links a { color: var(--kt-blue); font-weight: var(--fw-semibold); font-size: var(--fs-small); }
.office-map-link { margin-top: var(--space-3); display: inline-block; color: var(--kt-grey); font-size: var(--fs-xs); font-weight: var(--fw-semibold); }

.contact-row { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; margin-top: var(--space-6); }
.contact-pill {
  display: inline-flex; align-items: center; gap: var(--space-3);
  padding: 10px 20px 10px 10px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--kt-line);
  color: var(--kt-ink);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
}
.contact-pill .header-icon-btn { background: var(--kt-blue-tint); color: var(--kt-blue); }

/* ============ Category quick-nav (category/product/menu pages) ============ */
.category-quicknav { border-bottom: 1px solid var(--kt-line); background: var(--kt-white); }
.quicknav-track {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  padding: var(--space-3) 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.quicknav-track::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) {
  .quicknav-track { cursor: grab; }
  .quicknav-track.is-dragging { cursor: grabbing; }
}
.quicknav-pill {
  flex: 0 0 auto;
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: var(--kt-sand);
  border: 1px solid var(--kt-line);
  color: var(--kt-ink-2);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xs);
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.quicknav-pill:hover { border-color: var(--kt-blue); color: var(--kt-blue); }
.quicknav-pill.active { background: var(--kt-blue); color: #fff; border-color: var(--kt-blue); }

.quicknav-wrap { position: relative; }
.quicknav-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--kt-white);
  border: 1px solid var(--kt-line);
  color: var(--kt-ink);
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  transition: opacity .15s ease, border-color .15s ease, color .15s ease;
}
.quicknav-arrow svg { width: 16px; height: 16px; }
.quicknav-arrow:hover { border-color: var(--kt-blue); color: var(--kt-blue); }
.quicknav-arrow:disabled { opacity: 0; pointer-events: none; }
.quicknav-arrow-left { left: 0; }
.quicknav-arrow-right { right: 0; }
@media (hover: hover) and (pointer: fine) {
  .quicknav-wrap { padding: 0 36px; }
  .quicknav-arrow { display: flex; }
}

/* ============ Info accordion (Доставка / Гарантия / Возврат) ============ */
.info-accordion { margin-top: var(--space-7); border-top: 1px solid var(--kt-line); }
.accordion-item { border-bottom: 1px solid var(--kt-line); }
.accordion-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4) 2px;
  font-weight: var(--fw-bold);
  font-size: var(--fs-body);
  color: var(--kt-ink);
  text-align: left;
}
.accordion-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: var(--r-circle);
  background: var(--kt-sand);
  color: var(--kt-ink-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); background: var(--kt-orange-tint); color: var(--kt-orange-deep); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion-item.open .accordion-panel { max-height: 240px; }
.accordion-panel-inner { padding: 0 2px var(--space-4); color: var(--kt-ink-2); font-size: var(--fs-small); line-height: 1.6; }
.accordion-panel-inner a { color: var(--kt-blue); font-weight: var(--fw-semibold); }

/* ============ Blog ============ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-5);
}
.blog-card {
  background: #fff;
  border: 1px solid var(--kt-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.blog-card-link { display: flex; flex-direction: column; height: 100%; padding: var(--space-5); color: inherit; }
.blog-card-tag {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--kt-blue-tint); color: var(--kt-blue);
  font-size: var(--fs-xs); font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
}
.blog-card-tag.tag-orange { background: var(--kt-orange-tint); color: var(--kt-orange-deep); }
.blog-card h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--kt-ink); line-height: 1.3; }
.blog-card-excerpt { margin-top: var(--space-2); color: var(--kt-ink-2); font-size: var(--fs-small); flex: 1; }
.blog-card-meta { margin-top: var(--space-4); padding-top: var(--space-4); border-top: 1px solid var(--kt-line); color: var(--kt-grey); font-size: var(--fs-xs); font-weight: var(--fw-semibold); display: flex; align-items: center; gap: 6px; }

/* Article page */
.article-header { max-width: 760px; margin: 0 auto var(--space-6); text-align: center; }
.article-header .cms-badge { display: inline-block; margin-bottom: var(--space-4); }
.article-header h1 { font-size: var(--fs-h1); font-weight: var(--fw-heavy); color: var(--kt-ink); line-height: 1.15; }
.article-meta { margin-top: var(--space-3); color: var(--kt-grey); font-size: var(--fs-small); display: flex; gap: var(--space-3); justify-content: center; flex-wrap: wrap; }
.article-cover { max-width: 860px; margin: 0 auto var(--space-7); border-radius: var(--r-lg); overflow: hidden; background: var(--kt-sand); }
.article-cover img { width: 100%; max-height: 360px; object-fit: contain; display: block; margin: 0 auto; padding: var(--space-6) 0; }
.article-body { max-width: 760px; margin: 0 auto; }
.article-body .md-highlight {
  background: var(--kt-blue-tint);
  border-radius: var(--r-md);
  padding: var(--space-5);
  margin: var(--space-5) 0;
}
.article-body .md-highlight p:last-child { margin-bottom: 0; }
.article-cta {
  max-width: 760px; margin: var(--space-7) auto 0;
  background: var(--kt-sand); border: 1px solid var(--kt-line); border-radius: var(--r-lg);
  padding: var(--space-6); text-align: center;
}
.article-cta h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--kt-ink); margin-bottom: var(--space-2); }
.article-cta p { color: var(--kt-ink-2); margin-bottom: var(--space-5); }
.article-related { max-width: 760px; margin: var(--space-7) auto 0; }

/* ============ Promotions (dynamic — js/main.js renders from GET /api/promotions) ============ */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-5);
}
.promo-card {
  background: #fff;
  border: 1px solid var(--kt-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.promo-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.promo-card-img { position: relative; background: var(--kt-sand); aspect-ratio: 16/9; display: flex; align-items: center; justify-content: center; }
.promo-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.promo-badge {
  background: var(--kt-orange); color: #fff;
  font-weight: var(--fw-bold); font-size: var(--fs-small);
  padding: 6px 14px; border-radius: var(--r-pill);
  box-shadow: 0 4px 12px rgba(245,130,31,.4);
}
/* Overlay the badge on the image when there is one... */
.promo-card-img .promo-badge { position: absolute; top: var(--space-3); left: var(--space-3); z-index: 1; }
/* ...otherwise it sits inline above the title instead of floating over it. */
.promo-card-body > .promo-badge { align-self: flex-start; margin-bottom: var(--space-3); }
.promo-card-body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.promo-card-body h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--kt-ink); line-height: 1.3; }
.promo-card-desc { margin-top: var(--space-2); color: var(--kt-ink-2); font-size: var(--fs-small); flex: 1; }
.promo-card-valid { margin-top: var(--space-3); color: var(--kt-grey); font-size: var(--fs-xs); font-weight: var(--fw-semibold); }
.promo-card-body .btn { margin-top: var(--space-4); width: 100%; justify-content: center; }
.promo-empty { text-align: center; padding: var(--space-8) 0; color: var(--kt-ink-2); }
.promo-empty .btn { margin-top: var(--space-5); }

/* ============ Sticky order bar (product pages + homepage) ============ */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 240;
  background: #fff;
  border-top: 1px solid var(--kt-line);
  padding: var(--space-3) 0;
  transform: translateY(110%);
  transition: transform .3s ease;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.sticky-cta-info { display: flex; align-items: center; gap: var(--space-3); min-width: 0; }
.sticky-cta-info img { width: 44px; height: 44px; object-fit: contain; background: var(--kt-sand); border-radius: var(--r-md); flex-shrink: 0; padding: 4px; }
.sticky-cta-text { min-width: 0; }
.sticky-cta-text strong { display: block; font-size: var(--fs-small); color: var(--kt-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 320px; }
.sticky-cta-price { color: var(--kt-blue); font-weight: var(--fw-bold); font-size: var(--fs-body); }
.sticky-cta .btn { flex-shrink: 0; }

/* ============ Related-products carousel (reuses .carousel-track drag-scroll JS) ============ */
.carousel-track.product-carousel { gap: var(--space-5); }
.carousel-track.product-carousel .product-card { flex: 0 0 auto; width: 240px; scroll-snap-align: start; }


/* ============ Sticky/condensing header ============ */
.header-logo img { transition: height .2s ease, opacity .2s ease; }
.site-header.scrolled {
  background: var(--kt-blue-deep);
  border-color: var(--kt-blue-deep);
}
.site-header.scrolled .header-logo img { height: 30px; }
.site-header.scrolled .header-logo .logo-compact.logo-normal { display: none; }
.site-header.scrolled .header-logo .logo-compact.logo-invert { display: block; }
.site-header.scrolled .header-nav-desktop nav > ul > li > a { color: var(--kt-blue-pale); }
.site-header.scrolled .header-nav-desktop nav > ul > li:hover > a { color: #fff; }
.site-header.scrolled .catalog-trigger { background: #fff; color: var(--kt-blue); }
.site-header.scrolled .header-phone a { color: #fff; }
.site-header.scrolled .header-mail { color: var(--kt-blue-pale); }
.site-header.scrolled .header-mail a { color: #fff; }
.site-header.scrolled .header-icon-btn { background: rgba(255,255,255,.12); color: #fff; }

/* ============ Auth pages (login / register / account) ============ */
.auth-page { padding: var(--space-9) 0; }
.auth-card {
  max-width: 420px; margin: 0 auto;
  background: #fff; border: 1px solid var(--kt-line); border-radius: var(--r-lg);
  padding: var(--space-6); box-shadow: var(--shadow-md);
}
.auth-card h1 { font-size: var(--fs-h2); font-weight: var(--fw-heavy); color: var(--kt-ink); margin-bottom: var(--space-2); }
.auth-card .modal-sub { margin-bottom: var(--space-5); }
.field-label { display: block; font-size: var(--fs-xs); font-weight: var(--fw-bold); color: var(--kt-grey); text-transform: uppercase; margin-bottom: 6px; }
.form-error {
  display: none; background: #fdecea; color: var(--kt-error, #c0392b);
  border-radius: var(--r-sm); padding: 10px 14px; font-size: var(--fs-small); margin-bottom: var(--space-4);
}
.form-error.show { display: block; }
.auth-card .btn { width: 100%; justify-content: center; }
.auth-switch { text-align: center; margin-top: var(--space-5); font-size: var(--fs-small); color: var(--kt-ink-2); }
.auth-switch a { color: var(--kt-blue); font-weight: var(--fw-bold); }

/* ============ Wide multi-field forms (questionnaires, support requests) ============ */
.form-card {
  max-width: 680px; margin: 0 auto;
  background: #fff; border: 1px solid var(--kt-line); border-radius: var(--r-lg);
  padding: var(--space-7); box-shadow: var(--shadow-md);
}
.form-card h1, .form-card h2 { font-size: var(--fs-h2); font-weight: var(--fw-heavy); color: var(--kt-ink); margin-bottom: var(--space-2); }
.form-card .modal-sub { margin-bottom: var(--space-6); color: var(--kt-ink-2); }
.form-card .btn { width: 100%; justify-content: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-4); }
textarea.field-input { height: auto; min-height: 100px; padding: 12px 16px; resize: vertical; font-family: inherit; }
select.field-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238B8377' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px; padding-right: 40px; }
@media (max-width: 720px) {
  .form-card { padding: var(--space-5); }
  .form-row { grid-template-columns: 1fr; }
}
.account-summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-6); }
.account-summary-info div:first-child { font-weight: var(--fw-bold); font-size: var(--fs-lead); color: var(--kt-ink); }
.account-summary-info div:last-child { color: var(--kt-ink-2); font-size: var(--fs-small); }
.account-summary .btn { width: auto; }
.account-order { border: 1px solid var(--kt-line); border-radius: var(--r-md); padding: var(--space-4); margin-bottom: var(--space-3); }
.account-order-head { display: flex; justify-content: space-between; gap: var(--space-3); font-size: var(--fs-small); color: var(--kt-ink-2); margin-bottom: var(--space-2); }
.account-order-head strong { color: var(--kt-ink); }
.account-order ul { list-style: none; margin: 0; padding: 0; font-size: var(--fs-small); color: var(--kt-ink-2); }
.account-order li { display: flex; justify-content: space-between; padding: 4px 0; }

.order-status {
  display: inline-block; padding: 3px 12px; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: var(--fw-bold); white-space: nowrap;
}
.order-status-new { background: var(--kt-blue-tint); color: var(--kt-blue); }
.order-status-confirmed { background: var(--kt-orange-tint); color: var(--kt-orange-deep); }
.order-status-shipped { background: var(--kt-orange-tint); color: var(--kt-orange-deep); }
.order-status-completed { background: #e3f6e8; color: var(--kt-success, #2e8b52); }
.order-status-cancelled { background: #fdecea; color: var(--kt-error, #c0392b); }

/* ============ Cart ============ */
.cart-wrap { display: grid; grid-template-columns: 1fr 340px; gap: var(--space-6); align-items: start; }
.cart-empty { text-align: center; padding: var(--space-9) 0; color: var(--kt-ink-2); }
.cart-empty .btn { margin-top: var(--space-5); display: inline-flex; }
.cart-item {
  display: grid; grid-template-columns: 72px 1fr auto auto; gap: var(--space-4); align-items: center;
  padding: var(--space-4) 0; border-bottom: 1px solid var(--kt-line);
}
.cart-item-img { width: 72px; height: 72px; border-radius: var(--r-md); background: var(--kt-sand); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cart-item-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cart-item-title a { font-weight: var(--fw-bold); color: var(--kt-ink); font-size: var(--fs-small); }
.cart-item-price { color: var(--kt-ink-2); font-size: var(--fs-xs); margin-top: 4px; }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--kt-line); border-radius: var(--r-sm); }
.cart-qty button { width: 32px; height: 32px; font-weight: var(--fw-bold); color: var(--kt-ink-2); }
.cart-qty button:hover { color: var(--kt-blue); }
.cart-qty input { width: 40px; height: 32px; border: none; text-align: center; font-family: inherit; font-size: var(--fs-small); }
.cart-item-total { font-weight: var(--fw-bold); color: var(--kt-ink); white-space: nowrap; }
.cart-item-remove { width: 32px; height: 32px; border-radius: var(--r-circle); color: var(--kt-grey); display: flex; align-items: center; justify-content: center; }
.cart-item-remove:hover { background: var(--kt-sand); color: var(--kt-error, #c0392b); }
.cart-summary { background: #fff; border: 1px solid var(--kt-line); border-radius: var(--r-lg); padding: var(--space-5); position: sticky; top: 96px; }
.cart-summary h3 { font-size: var(--fs-h3); font-weight: var(--fw-bold); color: var(--kt-ink); margin-bottom: var(--space-4); }
.cart-summary-total { display: flex; justify-content: space-between; font-weight: var(--fw-bold); font-size: var(--fs-lead); color: var(--kt-ink); margin-bottom: var(--space-5); }
.cart-summary .btn { width: 100%; justify-content: center; }
.cart-summary textarea.field-input { height: auto; min-height: 72px; padding: 12px 16px; resize: vertical; }
.cart-guest-note { font-size: var(--fs-xs); color: var(--kt-ink-2); margin: -8px 0 var(--space-4); line-height: 1.5; }

/* Add-to-cart controls injected by js/main.js next to existing "Заказать" CTAs */
.btn-cart-icon {
  width: 44px; height: var(--kt-control-h); flex-shrink: 0;
  border-radius: var(--r-sm); background: var(--kt-sand); color: var(--kt-ink-2);
  display: inline-flex; align-items: center; justify-content: center;
  position: relative;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.btn-cart-icon:hover { background: var(--kt-blue-tint); color: var(--kt-blue); }
.btn-cart-icon:active { transform: scale(.92); }
.btn-cart-icon.in-cart { background: var(--kt-blue-tint); color: var(--kt-blue); }

/* Per-item quantity badge, shown once an item is in the cart */
.cart-icon-badge {
  position: absolute; top: -6px; right: -6px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: var(--r-circle);
  background: var(--kt-orange); color: #fff;
  font-size: 10px; font-weight: var(--fw-bold); line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(245,130,31,.45);
  transform: scale(0);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
.cart-icon-badge.is-visible { transform: scale(1); }
.cart-icon-badge.is-bump { animation: kt-badge-bump .35s ease; }

/* Shared "bump" pulse for cart badges (header icon + per-item) on add */
@keyframes kt-badge-bump {
  0% { transform: scale(1); }
  40% { transform: scale(1.4); }
  100% { transform: scale(1); }
}
.header-icon-btn .badge.is-bump { animation: kt-badge-bump .35s ease; }

/* Floating "+1" that rises and fades from the button on add-to-cart */
.cart-fly-plus {
  position: absolute;
  left: 50%; top: 2px;
  transform: translate(-50%, 0);
  color: var(--kt-orange-deep);
  font-weight: var(--fw-bold);
  font-size: 12px;
  pointer-events: none;
  animation: kt-fly-plus .75s ease forwards;
  z-index: 5;
}
@keyframes kt-fly-plus {
  0% { opacity: 0; transform: translate(-50%, 4px) scale(.8); }
  25% { opacity: 1; transform: translate(-50%, -6px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -30px) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .cart-icon-badge.is-bump, .header-icon-btn .badge.is-bump { animation: none !important; }
  .cart-fly-plus { animation: none !important; opacity: 0 !important; }
}
.product-hero .hero-cta-row { display: flex; gap: var(--space-3); align-items: stretch; flex-wrap: wrap; }
.product-card-cart-row { display: flex; gap: var(--space-2); margin-top: var(--space-2); }
.product-card-cart-row .btn-sm { margin-top: 0; flex: 1; width: auto; min-width: 0; }
.product-card-cart-row .btn-cart-icon { height: 40px; width: 40px; flex-shrink: 0; }

/* ============ Decorative accents & motion ============ */

/* Hero: glowing blobs + a slow-spinning dashed ring behind the illustration.
   .hero already has position:relative + overflow:hidden, so this is a pure
   CSS layer — no markup changes needed. */
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
.hero::before {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(245,130,31,.35), transparent 70%);
  top: -180px; right: -120px;
}
.hero::after {
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(55,103,190,.45), transparent 70%);
  bottom: -160px; left: -100px;
}
.hero-inner { position: relative; z-index: 1; }
.hero .price { text-shadow: 0 0 28px rgba(245,130,31,.5); }
.hero-image::before {
  content: "";
  position: absolute;
  inset: -30px;
  border: 2px dashed rgba(255,255,255,.16);
  border-radius: 50%;
  z-index: -1;
  animation: kt-spin 40s linear infinite;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 20px;
  background: radial-gradient(circle, rgba(245,130,31,.25), transparent 65%);
  filter: blur(20px);
  z-index: -1;
}
@keyframes kt-spin { to { transform: rotate(360deg); } }

/* Section titles get a small accent underline everywhere the class is used —
   inline-block sizes to the text itself, so it centers correctly whether the
   heading sits in a centered or left-aligned block. */
h1.section-title, h2.section-title { position: relative; display: inline-block; padding-bottom: 14px; }
h1.section-title::after, h2.section-title::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 44px; height: 4px;
  border-radius: var(--r-pill);
  background: var(--kt-orange);
}

/* Subtle dot-grid texture on every alternate ("section-alt") band site-wide. */
.section-alt { position: relative; }
.section-alt::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--kt-line) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .4;
  pointer-events: none;
}
.section-alt > .cnt { position: relative; z-index: 1; }

/* Numbered circles get gradient fills + a soft colored glow instead of a flat tint. */
.step-num {
  background: linear-gradient(135deg, var(--kt-blue-bright), var(--kt-blue));
  box-shadow: 0 10px 24px rgba(44,74,124,.35);
}
.why-num {
  background: linear-gradient(135deg, var(--kt-orange), var(--kt-orange-deep));
  box-shadow: 0 10px 24px rgba(245,130,31,.35);
}

/* Product imagery: gentle zoom-on-hover so cards feel more alive.
   (.product-card-img is a real wrapper, so overflow:hidden clips the scale;
   .catalog-card has no such wrapper around its <img>, so it's left as-is.) */
.product-card-img { overflow: hidden; }
.product-card-img img { transition: transform .35s ease; }
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-hero .spotlight-img img { animation: kt-float 5s ease-in-out infinite; }
@keyframes kt-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Primary/dark buttons lift with a soft colored glow on hover. */
.btn-primary, .btn-dark { transition: filter .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn-primary { box-shadow: 0 6px 16px rgba(245,130,31,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(245,130,31,.4); filter: none; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(28,48,85,.35); filter: none; }

/* Header icon buttons (account/cart) lift slightly and their badge carries a
   permanent soft glow so it reads as "active" rather than a flat dot. */
.header-icon-btn { transition: transform .15s ease, background .15s ease; }
.header-icon-btn:hover { transform: translateY(-2px); background: var(--kt-blue-tint); color: var(--kt-blue); }
.site-header.scrolled .header-icon-btn:hover { background: rgba(255,255,255,.2); color: #fff; }
.header-icon-btn .badge { box-shadow: 0 2px 8px rgba(245,130,31,.5); }

/* Contact pills (phone/mail chips) lift on hover like a card. */
.contact-pill { transition: transform .15s ease, box-shadow .15s ease; }
.contact-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* "Why us" tiles: icon lifts and gains a stronger glow on hover. */
.why-card { transition: transform .2s ease; }
.why-card:hover { transform: translateY(-3px); }
.why-card:hover .why-num { box-shadow: 0 14px 30px rgba(245,130,31,.45); }
.why-card:hover .step-num { box-shadow: 0 14px 30px rgba(44,74,124,.45); }

/* Mega-menu category headings get a small orange accent dot. */
.mega-cat h3 { display: flex; align-items: center; gap: 8px; }
.mega-cat h3::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--kt-orange);
  flex-shrink: 0;
}

/* Footer: thin gradient accent line along the top edge, and social icons
   pick up the orange accent + lift on hover instead of staying flat. */
.site-footer { position: relative; }
.site-footer::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--kt-orange), var(--kt-blue-bright));
}
.footer-soc a { transition: transform .15s ease, background .15s ease, color .15s ease; }
.footer-soc a:hover { background: var(--kt-orange); color: #fff; transform: translateY(-3px); }

/* Scroll-reveal: js/main.js tags repeating cards/sections with .reveal and
   flips .in-view once each scrolls into the viewport. */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-image::before, .product-hero .spotlight-img img { animation: none !important; }
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .steps-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-body { grid-template-columns: 1fr; }
  .footer-right { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .split-list-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .header-logo .logo-full { display: none !important; }
  .header-logo .logo-compact.logo-normal { display: block; }
  .header-inner { gap: var(--space-3); padding: 12px 16px; }
  .header-contacts { gap: var(--space-3); }
  .header-nav-desktop nav { display: none; }
  .header-contacts .header-mail { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gift-banner { flex-direction: column; text-align: center; }
  .footer-right { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .spotlight { grid-template-columns: 1fr; text-align: center; }
  .spotlight-img img { max-height: 180px; }
  .gallery-thumbs { justify-content: center; }
  .addon-add-btn { width: 100%; margin-left: 0; }
  .sticky-cta-text strong { max-width: 160px; }
  .sticky-cta .btn { height: 40px; padding: 0 16px; font-size: var(--fs-small); }
  .cart-wrap { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .cart-item { grid-template-columns: 56px 1fr auto; grid-template-rows: auto auto; }
  .cart-item-img { width: 56px; height: 56px; grid-row: 1 / 3; }
  .cart-qty { grid-column: 2; }
  .cart-item-total { grid-column: 2; grid-row: 2; justify-self: start; }
  .cart-item-remove { grid-row: 1 / 3; }
}
