/* ============================================================
   ИП Лещева Ирина Фёдоровна — Медицинское оборудование
   Бирюзовая тема · Roboto Slab + PT Sans
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&family=PT+Sans:wght@400;700&display=swap');

/* ── VARIABLES ─────────────────────────────────────────── */
:root {
  --blue-main:   #2CB5A8;   /* основной бирюзовый */
  --blue-dark:   #1A9E92;   /* тёмный бирюзовый — hover */
  --blue-light:  #E8FAF8;   /* светлый бирюзовый фон */
  --blue-mid:    #7DE8DF;   /* средний бирюзовый — декор */
  --accent:      #F59E0B;   /* янтарный акцент */
  --white:       #FFFFFF;
  --gray-50:     #F4FCFB;
  --gray-100:    #E8FAF8;
  --gray-200:    #CFF1EC;
  --gray-400:    #8FB8B3;
  --gray-600:    #4A6A66;
  --gray-800:    #123B38;
  --gray-900:    #0A2422;
  --text:        #16302D;
  --text-light:  #5A726E;
  --radius:      8px;
  --radius-lg:   12px;
  --shadow-sm:   0 1px 3px rgba(18,59,56,.08);
  --shadow-md:   0 4px 16px rgba(18,59,56,.12);
  --shadow-lg:   0 8px 32px rgba(18,59,56,.16);
  --header-h:    72px;
}

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'PT Sans', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── HEADER ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 32px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-emblem {
  width: 42px; height: 42px;
  background: var(--blue-main);
  border-radius: 50%;
  color: var(--white);
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  line-height: 1;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
  font-family: 'Roboto Slab', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--blue-main);
}
.logo-sub { font-size: 11px; color: var(--text-light); letter-spacing: .03em; }

.header-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.header-nav a {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  color: var(--gray-600);
  transition: background .18s, color .18s;
}
.header-nav a:hover { background: var(--blue-light); color: var(--blue-main); }
.header-nav a.active { color: var(--blue-main); background: var(--blue-light); }

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  flex-shrink: 0;
  font-size: 13px;
}
.header-contacts a { color: var(--blue-main); font-weight: 700; }
.header-contacts a:hover { text-decoration: underline; }
.hc-label { color: var(--text-light); }

.header-call-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-main);
  font-size: 18px;
  flex-shrink: 0;
  margin-left: auto;
}

/* ── HERO SLIDER ───────────────────────────────────────── */
.hero-slider {
  position: relative;
  width: 100%;
  height: 440px;
  overflow: hidden;
  background: var(--gray-800);
}
.slider-track { position: relative; width: 100%; height: 100%; }
.slide {
  position: absolute; inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
}
.slide.active { opacity: 1; visibility: visible; }
.slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,36,34,.05) 0%, rgba(10,36,34,.15) 55%, rgba(10,36,34,.75) 100%);
}
.slide-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 24px 40px;
  max-width: 1280px;
  margin: 0 auto;
  color: #fff;
}
.slide-eyebrow {
  display: inline-block;
  background: var(--blue-main);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.slide-caption h2 {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 700;
  max-width: 640px;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background .2s;
  z-index: 2;
}
.slider-arrow:hover { background: rgba(255,255,255,.32); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }
.slider-dots {
  position: absolute;
  bottom: 18px;
  right: 24px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.slider-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: all .2s;
}
.slider-dot.active { background: #fff; width: 24px; border-radius: 5px; }

@media (max-width: 768px) {
  .hero-slider { height: 320px; }
  .slide-caption { padding: 0 16px 28px; }
  .slider-arrow { width: 36px; height: 36px; font-size: 20px; }
  .slider-prev { left: 10px; }
  .slider-next { right: 10px; }
}
@media (max-width: 480px) {
  .hero-slider { height: 240px; }
  .slide-eyebrow { font-size: 10px; padding: 4px 10px; }
  .slider-arrow { display: none; }
}

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-light) 55%, #D6F5F1 100%);
  padding: 64px 0 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-200);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232cb5a8' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}
.hero-title {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-title span { color: var(--blue-dark); }
.hero-desc {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: all .2s;
  cursor: pointer;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-white {
  background: var(--white);
  color: var(--blue-main);
}
.btn-white:hover { background: var(--blue-light); box-shadow: 0 4px 12px rgba(0,0,0,.15); }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-blue {
  background: var(--blue-main);
  color: #fff;
}
.btn-blue:hover { background: var(--blue-dark); box-shadow: var(--shadow-md); }

.btn-orange {
  background: var(--accent);
  color: #fff;
}
.btn-orange:hover { background: #E65100; box-shadow: var(--shadow-md); }

.btn-outline {
  background: transparent;
  color: var(--blue-main);
  border-color: var(--blue-main);
}
.btn-outline:hover { background: var(--blue-light); }

.hero-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-banner-wrap {
  width: 100%;
}
.hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.hero-badge {
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  text-align: center;
  min-width: 110px;
}
.hero-badge-num {
  font-family: 'Roboto Slab', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--blue-main);
  line-height: 1;
}
.hero-badge-label { font-size: 12px; color: var(--text-light); margin-top: 4px; }

/* ── SECTION COMMON ────────────────────────────────────── */
.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue-main);
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 36px;
  line-height: 1.25;
}

/* ── CATEGORIES (главная) ───────────────────────────────── */
.categories {
  padding: 56px 0;
  background: var(--gray-50);
}
.categories-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.cat-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow .25s, border-color .25s, transform .25s;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(18,59,56,.05);
}
.cat-card:hover {
  box-shadow: 0 10px 24px rgba(18,59,56,.12);
  border-color: var(--blue-main);
  transform: translateY(-3px);
}
.cat-card:hover .cat-bg { transform: scale(1.06); }
.cat-img-wrap {
  width: 100%;
  aspect-ratio: 16/11;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-light), var(--gray-100));
  position: relative;
  border-bottom: 1px solid var(--gray-200);
}
.cat-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.cat-info {
  padding: 12px 14px 13px;
}
.cat-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.3;
}
.cat-count {
  font-size: 11.5px;
  color: var(--text-light);
  margin-top: 3px;
}
/* fallback if image missing */
.cat-bg-ph {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
}

/* ── ADVANTAGES ────────────────────────────────────────── */
.advantages {
  padding: 56px 0;
  background: var(--white);
}
.advantages-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.adv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.adv-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow .2s;
}
.adv-card:hover { box-shadow: var(--shadow-md); }
.adv-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}
.adv-title {
  font-family: 'Roboto Slab', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 8px;
}
.adv-desc { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ── FEATURED ───────────────────────────────────────────── */
.featured {
  padding: 56px 0;
  background: var(--gray-50);
}
.featured-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
.featured-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 16px;
}
.feat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

/* ── PRODUCT CARDS ─────────────────────────────────────── */
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(18,59,56,.06);
  transition: box-shadow .25s, border-color .25s, transform .25s;
}
.product-card:hover {
  box-shadow: 0 12px 28px rgba(18,59,56,.14);
  border-color: var(--blue-main);
  transform: translateY(-4px);
}
.product-img {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-light), var(--gray-100));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-img img { transform: scale(1.07); }
.product-img-ph {
  font-size: 48px;
}
.product-body { padding: 16px 18px; flex: 1; }
.product-brand {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue-dark);
  background: var(--blue-light);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}
.product-name {
  font-family: 'Roboto Slab', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 6px;
  line-height: 1.3;
}
.product-desc { font-size: 13px; color: var(--text-light); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-more {
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue-main);
  display: flex;
  align-items: center;
  gap: 4px;
}
.product-card:hover .product-more { gap: 8px; }
.product-action {
  padding: 0 16px 16px;
}
.product-action button {
  width: 100%;
  padding: 10px;
  background: var(--blue-main);
  color: var(--white);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  transition: background .18s;
}
.product-action button:hover { background: var(--blue-dark); }

/* ── CTA BAND ───────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--blue-main), var(--blue-dark));
  padding: 56px 24px;
  text-align: center;
  color: #fff;
}
.cta-band h2 {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 12px;
}
.cta-band p { font-size: 16px; opacity: .92; margin-bottom: 28px; }

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--gray-50);
  color: var(--text-light);
  padding: 48px 0 0;
  border-top: 1px solid var(--gray-200);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
}
.footer-brand .logo-name { color: var(--gray-800); }
.footer-brand .logo-sub  { color: var(--text-light); }
.footer-about { font-size: 13px; color: var(--text-light); margin-top: 14px; line-height: 1.7; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-800);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a:hover { color: var(--blue-main); }
.contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: 14px;
}
.contact-item a:hover { color: var(--blue-main); text-decoration: underline; }
.contact-icon { flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding: 16px 24px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--gray-400);
  flex-wrap: wrap;
  gap: 8px;
}

/* ── PAGE HERO ──────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-light) 100%);
  padding: 48px 24px;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-200);
}
.page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-800);
}
.page-hero p { font-size: 15px; color: var(--text-light); }

/* ── CATALOG LAYOUT ─────────────────────────────────────── */
.catalog-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: calc(100vh - var(--header-h));
}

/* ── STICKY BREADCRUMB NAV ──────────────────────────────── */
.catalog-breadcrumb-bar {
  position: sticky;
  top: var(--header-h);
  z-index: 60;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: 0 2px 8px rgba(18,59,56,.04);
}
.catalog-breadcrumb {
  max-width: 1280px;
  margin: 0 auto;
  padding: 13px 24px;
  font-size: 13.5px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.catalog-breadcrumb a { color: var(--blue-main); font-weight: 600; }
.catalog-breadcrumb a:hover { text-decoration: underline; }
.crumb-sep { color: var(--gray-400); }
.crumb-current { color: var(--gray-800); font-weight: 700; }

/* ── CATALOG MAIN ───────────────────────────────────────── */
.catalog-main { padding: 24px 0; }
.catalog-categories { padding: 4px 0 8px; }
.catalog-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.search-wrap {
  flex: 1;
  position: relative;
  min-width: 200px;
}
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  pointer-events: none;
}
#searchInput {
  width: 100%;
  padding: 10px 12px 10px 38px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .18s;
  background: var(--white);
}
#searchInput:focus { border-color: var(--blue-main); }
.catalog-count {
  font-size: 13px;
  color: var(--text-light);
  white-space: nowrap;
}

/* ── CATALOG SECTIONS ───────────────────────────────────── */
.catalog-section { margin-bottom: 40px; }
.catalog-section-title {
  font-family: 'Roboto Slab', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gray-800);
  padding: 0 0 12px;
  margin-bottom: 16px;
  border-bottom: 2px solid var(--blue-main);
  display: flex;
  align-items: center;
  gap: 10px;
}
.catalog-section-title .s-icon { font-size: 20px; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

/* ── PARTNER PAGE ───────────────────────────────────────── */
.partner-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.partner-block h2 {
  font-family: 'Roboto Slab', serif;
  font-size: 22px;
  color: var(--gray-800);
  margin-bottom: 14px;
}
.partner-block p { font-size: 14px; color: var(--text-light); margin-bottom: 12px; line-height: 1.7; }
.partner-block ul { margin: 8px 0 0 0; }
.partner-block ul li {
  font-size: 14px;
  color: var(--text-light);
  padding: 5px 0 5px 20px;
  position: relative;
}
.partner-block ul li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--blue-main);
  font-weight: 700;
}

.requisites-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.requisites-card h3 {
  font-family: 'Roboto Slab', serif;
  font-size: 18px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--blue-main);
  color: var(--gray-800);
}
.req-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.req-row:last-child { border-bottom: none; }
.req-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); }
.req-value { font-size: 14px; color: var(--gray-800); }

/* ── MODAL ──────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-overlay.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modal-in .2s ease;
}
@keyframes modal-in { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-header {
  background: var(--blue-main);
  color: #fff;
  padding: 18px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.modal-header h3 { font-size: 15px; font-weight: 700; line-height: 1.35; }
.modal-close {
  color: rgba(255,255,255,.8);
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1;
  transition: color .15s;
}
.modal-close:hover { color: #fff; }
/* ── PRODUCT DETAIL MODAL ───────────────────────────────── */
.modal-box-product {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 820px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modal-in .2s ease;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  max-height: 90vh;
  position: relative;
}
.modal-product-img {
  width: 300px;
  flex-shrink: 0;
  overflow: hidden;
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-product-img img {
  width: 100%; height: 100%;
  object-fit: contain;
}
.modal-product-img-ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 72px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  border-radius: var(--radius);
}
.modal-product-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  font-size: 15px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s, color .15s;
  line-height: 1;
  z-index: 2;
  box-shadow: var(--shadow-sm);
}
.modal-product-close:hover { background: var(--gray-100); color: var(--gray-800); }
.modal-product-body {
  padding: 26px 28px 20px;
  overflow-y: auto;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.modal-product-brand {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue-dark);
  background: var(--blue-light);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  align-self: flex-start;
}
.modal-product-name {
  font-family: 'Roboto Slab', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 12px;
  line-height: 1.25;
}
.modal-product-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 18px;
  white-space: pre-line;
}
.modal-product-specs {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 16px 4px;
  margin-bottom: 20px;
}
.modal-product-specs-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-light);
  margin-bottom: 6px;
}
.modal-spec-row {
  display: flex;
  gap: 8px;
  font-size: 13px;
  padding: 7px 0;
  border-bottom: 1px solid var(--gray-200);
}
.modal-spec-row:last-child { border-bottom: none; }
.modal-spec-label {
  color: var(--text-light);
  flex: 0 0 40%;
}
.modal-spec-value {
  color: var(--gray-800);
  font-weight: 600;
  flex: 1;
}
.modal-product-footer {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.btn-request {
  padding: 13px 22px;
  background: var(--blue-main);
  color: #fff;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  transition: background .18s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-request:hover { background: var(--blue-dark); }
@media (max-width: 700px) {
  .modal-box-product { flex-direction: column; max-height: 95vh; }
  .modal-product-img { width: 100%; height: 220px; border-right: none; border-bottom: 1px solid var(--gray-200); }
  .modal-product-body { padding: 18px 18px 16px; }
  .modal-product-footer { padding: 12px 0 0; }
  .modal-product-name { font-size: 18px; }
  .modal-spec-label { flex: 0 0 110px; }
}

.modal-body { padding: 20px; }
.form-row { margin-bottom: 12px; display: flex; flex-direction: column; gap: 5px; }
.form-row label { font-size: 12px; font-weight: 700; color: var(--gray-600); }
.form-row input, .form-row textarea {
  padding: 9px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .18s;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--blue-main); }
.form-status {
  display: none;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 12px;
  font-weight: 700;
}
.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.captcha-question {
  background: var(--blue-light);
  border: 1px solid var(--blue-main);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-main);
}
.captcha-eq { font-size: 18px; font-weight: 700; }
.captcha-row input[type="number"] {
  width: 70px;
  padding: 8px 12px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
  outline: none;
}
.captcha-row input:focus { border-color: var(--blue-main); }
.btn-submit {
  width: 100%;
  padding: 12px;
  background: var(--blue-main);
  color: #fff;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  transition: background .18s;
}
.btn-submit:hover { background: var(--blue-dark); }
.btn-submit:disabled { opacity: .6; cursor: not-allowed; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > :first-child { grid-column: 1/-1; }
}
@media (max-width: 768px) {
  .header-contacts { display: none; }
  .header-call-mobile { display: flex; }
  .header-inner { gap: 12px; padding: 0 16px; }
  .header-nav { margin-left: 8px; }
  .header-nav a { padding: 7px 11px; font-size: 13px; }
  .logo-sub { display: none; }
  .catalog-breadcrumb { padding: 11px 16px; font-size: 12.5px; }
  .partner-content { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hero { padding: 40px 0 36px; }
  .feat-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .footer-bottom { flex-direction: column; }
  .hero-banner-img { max-height: 220px; }
  .adv-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .catalog-topbar { flex-direction: column; align-items: stretch; }
  .catalog-count { text-align: center; }
  .modal-spec-row { flex-direction: column; gap: 2px; }
  .modal-spec-label { flex: none; }
  .partner-content { padding: 24px 16px; }
  .header-logo .logo-name { font-size: 15px; }
}
@media (max-width: 360px) {
  .cat-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: 1fr; }
}

