/* =============================================
   ИнжТехника — Main Stylesheet
   ============================================= */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --color-primary:     #EC1E21;   /* Красный — основной */
  --color-dark:        #6B0000;   /* Тёмно-красный — hero, градиенты */
  --color-accent:      #EC1E21;   /* Акцент = primary */
  --color-accent-dark: #C61113;   /* Тёмный красный — hover */
  --color-accent-light: #FCDADB;  /* Светлый красный — фон иконок */
  --color-mid:         #C61113;   /* Средний красный — ссылки, hover */
  --color-light-bg:    #FCDADB;   /* Светлый красный фон */
  --color-page-bg:     #F9F5F5;   /* Страничный фон с лёгким тёплым тоном */
  --color-white:       #FFFFFF;
  --color-text:        #1A1A1A;
  --color-text-muted:  #5A6070;
  --color-success:     #2E7D32;
  --color-border:      #EDE0E0;   /* Рамки с тёплым оттенком */
  --color-footer-bg:   #1A0000;   /* Очень тёмный красный footer */

  --font-family: 'Manrope', sans-serif;
  --container-max: 1240px;
  --section-padding: 80px 0;
  --card-radius: 12px;
  --btn-radius: 8px;
  --input-radius: 8px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-page-bg);
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 16px; }

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

/* --- Section --- */
.section { padding: var(--section-padding); }
.section--light { background: var(--color-white); }
.section--bg { background: var(--color-page-bg); }
.section--dark { background: var(--color-primary); }
.section--darkest { background: var(--color-dark); }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}
.section-header--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
}
.section-subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-top: 8px;
}

/* --- Typography --- */
h1 { font-size: 48px; font-weight: 800; line-height: 1.1; }
h2 { font-size: 36px; font-weight: 700; line-height: 1.2; }
h3 { font-size: 24px; font-weight: 600; line-height: 1.3; }
h4 { font-size: 18px; font-weight: 600; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--btn-radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-accent-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(236,30,33,0.35); }

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.btn-outline:hover { background: var(--color-white); color: var(--color-primary); }

.btn-blue {
  background: var(--color-primary);
  color: var(--color-white);
}
.btn-blue:hover { background: var(--color-mid); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(198,17,19,0.3); }

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-ghost:hover { background: var(--color-primary); color: var(--color-white); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 17px; }
.btn-full { width: 100%; }

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.badge-success { background: #E8F5E9; color: var(--color-success); }
.badge-accent { background: var(--color-accent-light); color: var(--color-accent); }
.badge-info { background: var(--color-light-bg); color: var(--color-primary); }
.badge-new { background: var(--color-accent); color: white; }

/* --- Form Elements --- */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 14px; font-weight: 500; color: var(--color-text-muted); }
.form-input,
.form-textarea,
.form-select {
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--input-radius);
  background: var(--color-white);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--color-mid);
  box-shadow: 0 0 0 3px rgba(236,30,33,0.12);
}
.form-textarea { resize: vertical; min-height: 120px; }

.form-input--dark,
.form-textarea--dark {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: var(--color-white);
}
.form-input--dark::placeholder,
.form-textarea--dark::placeholder { color: rgba(255,255,255,0.5); }
.form-input--dark:focus,
.form-textarea--dark:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(236,30,33,0.2);
}

/* =============================================
   HEADER
   ============================================= */
.header {
  background: var(--color-primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.25); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 14px 24px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.logo-title { font-size: 22px; font-weight: 800; color: var(--color-white); letter-spacing: -0.5px; }
.logo-sub { font-size: 10px; font-weight: 400; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-link {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--color-white); background: rgba(255,255,255,0.12); }

.header-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone { color: var(--color-white); font-size: 15px; font-weight: 600; }
.header-phone:hover { color: rgba(255,255,255,0.8); }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.burger-line {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-open .burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger-line:nth-child(2) { opacity: 0; }
.menu-open .burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 280px;
  height: 100%;
  background: var(--color-dark);
  z-index: 2000;
  padding: 80px 24px 32px;
  flex-direction: column;
  gap: 8px;
  transform: translateX(-100%);
  transition: transform var(--transition);
  box-shadow: 4px 0 24px rgba(0,0,0,0.4);
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-link {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all var(--transition);
}
.mobile-drawer-link:hover { background: rgba(255,255,255,0.1); color: var(--color-white); }
.mobile-drawer-close {
  position: absolute;
  top: 20px; right: 20px;
  color: white;
  font-size: 20px;
  padding: 8px;
  cursor: pointer;
}
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
}
.drawer-overlay.open { display: block; }

/* =============================================
   HERO
   ============================================= */
.hero {
  background: var(--color-dark);
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1690973692388-239878450c7b?w=1400&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 60px 24px;
  max-width: var(--container-max);
  margin: 0 auto;
  width: 100%;
}

.hero-content { flex: 0 0 58%; }
.hero-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-form-wrap {
  flex: 0 0 38%;
}
.hero-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--card-radius);
  padding: 32px;
  backdrop-filter: blur(10px);
}
.hero-form-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 8px;
}
.hero-form-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 24px;
}
.hero-form .form-group { margin-bottom: 16px; }
.hero-form-note {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  margin-top: 12px;
  text-align: center;
}

/* =============================================
   BRANDS
   ============================================= */
.brands { padding: 40px 0; background: var(--color-white); }
.brands-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 24px;
}
.brands-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.brand-item {
  font-size: 18px;
  font-weight: 700;
  color: #BCC4D0;
  letter-spacing: 1px;
  transition: color var(--transition);
  cursor: pointer;
  padding: 8px;
}
.brand-item:hover { color: var(--color-primary); }

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

.category-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.category-card:hover {
  box-shadow: 0 8px 32px rgba(236,30,33,0.12);
  transform: translateY(-4px);
  border-color: transparent;
}
.category-icon {
  width: 52px;
  height: 52px;
  background: var(--color-light-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-primary);
}
.category-name { font-size: 17px; font-weight: 700; color: var(--color-text); }
.category-desc { font-size: 13px; color: var(--color-text-muted); line-height: 1.5; }
.category-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
}
.category-count { font-size: 13px; color: var(--color-text-muted); }
.category-arrow { color: var(--color-accent); font-size: 16px; }

/* =============================================
   PRODUCTS GRID
   ============================================= */
/* ─── Catalog Table ─── */
.catalog-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.catalog-table thead tr {
  background: var(--color-page-bg);
  border-bottom: 2px solid var(--color-border);
}
.catalog-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.catalog-table .col-thumb { width: 64px; }
.catalog-table .col-sku   { width: 150px; }
.catalog-table .col-stock { width: 120px; }
.catalog-table .col-action { width: 130px; text-align: right; }

.product-row {
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}
.product-row:last-child { border-bottom: none; }
.product-row:hover { background: var(--color-page-bg); }

.product-row td {
  padding: 12px 16px;
  vertical-align: middle;
}

/* Thumbnail */
.product-thumb-cell { padding: 8px 12px 8px 16px; }
.product-thumb-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  background: #fff;
  display: block;
}
.product-thumb-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  border: 1px solid var(--color-border);
  background: var(--color-page-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-border);
  font-size: 22px;
}

/* SKU & brand */
.product-sku-cell { white-space: nowrap; }
.product-sku {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  font-family: monospace;
  letter-spacing: 0.3px;
}
.product-brand {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 3px;
}

/* Name & specs */
.product-name-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  line-height: 1.4;
  display: block;
}
.product-name-link:hover { color: var(--color-primary); }
.product-specs-short {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* Stock */
.product-stock-cell { white-space: nowrap; }

/* Action */
.product-action-cell { text-align: right; white-space: nowrap; }

/* No results */
.catalog-table .no-results {
  text-align: center;
  padding: 40px;
  color: var(--color-text-muted);
  font-size: 15px;
}

/* Home page grid cards (kept for front-page popular products) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.products-grid--3 { grid-template-columns: repeat(3, 1fr); }

.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}
.product-card:hover {
  box-shadow: 0 8px 32px rgba(236,30,33,0.1);
  transform: translateY(-3px);
  border-color: transparent;
}
.product-card-image {
  position: relative;
  overflow: hidden;
  height: 160px;
  background: var(--color-page-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 8px;
}
.product-card-no-img {
  font-size: 36px;
  color: var(--color-border);
}
.product-card-badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex; gap: 6px;
}
.product-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-card-brand { font-size: 12px; font-weight: 600; color: var(--color-mid); text-transform: uppercase; letter-spacing: 0.5px; }
.product-card-name { font-size: 14px; font-weight: 600; color: var(--color-text); line-height: 1.4; }
.product-card-article { font-size: 12px; color: var(--color-text-muted); }
.product-card-footer { padding: 12px 16px; border-top: 1px solid var(--color-border); }

/* =============================================
   ADVANTAGES
   ============================================= */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.advantage-card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  padding: 28px 24px;
  text-align: center;
  border: 1px solid var(--color-border);
}
.advantage-icon {
  width: 60px; height: 60px;
  background: var(--color-light-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--color-primary);
  margin: 0 auto 16px;
}
.advantage-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.advantage-text { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; }

/* =============================================
   STATS / COUNTERS
   ============================================= */
.stats { background: var(--color-primary); padding: 60px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-value {
  font-size: 52px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 15px; color: rgba(255,255,255,0.75); font-weight: 500; }

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
  padding: 80px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--color-white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.7); font-size: 17px; margin-bottom: 32px; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 28px;
}
.testimonial-stars { color: #FFB800; font-size: 14px; margin-bottom: 16px; }
.testimonial-text { font-size: 14px; line-height: 1.7; color: var(--color-text-muted); margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
  color: var(--color-white);
  flex-shrink: 0;
}
.testimonial-name { font-size: 14px; font-weight: 700; }
.testimonial-pos { font-size: 12px; color: var(--color-text-muted); margin-top: 2px; }

/* =============================================
   NEWS
   ============================================= */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}
.news-card:hover { box-shadow: 0 6px 24px rgba(236,30,33,0.1); transform: translateY(-3px); border-color: transparent; }
.news-card-image { height: 200px; overflow: hidden; }
.news-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition); }
.news-card:hover .news-card-image img { transform: scale(1.04); }
.news-card-body { padding: 20px; }
.news-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.news-card-date { font-size: 12px; color: var(--color-text-muted); }
.news-card-cat { font-size: 11px; font-weight: 600; color: var(--color-accent); text-transform: uppercase; background: var(--color-accent-light); padding: 2px 8px; border-radius: 4px; }
.news-card-title { font-size: 15px; font-weight: 700; line-height: 1.4; margin-bottom: 10px; color: var(--color-text); }
.news-card-excerpt { font-size: 13px; color: var(--color-text-muted); line-height: 1.6; margin-bottom: 16px; }
.news-card-link { font-size: 13px; font-weight: 600; color: var(--color-mid); }
.news-card-link:hover { color: var(--color-accent); }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--color-footer-bg); color: rgba(255,255,255,0.7); }
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding: 60px 0 40px;
}
.footer-logo { display: flex; flex-direction: column; gap: 16px; }
.footer-logo-title { font-size: 24px; font-weight: 800; color: var(--color-white); }
.footer-logo-desc { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 15px;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--color-accent); color: white; }

.footer-col-title { font-size: 14px; font-weight: 700; color: var(--color-white); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--color-white); }
.footer-contact { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; }
.footer-contact + .footer-contact { margin-top: 12px; }
.footer-contact i { color: var(--color-accent); margin-top: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

/* =============================================
   BREADCRUMBS
   ============================================= */
.breadcrumbs {
  padding: 16px 0;
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
}
.breadcrumbs-list { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumbs-item { font-size: 13px; }
.breadcrumbs-item a { color: var(--color-mid); }
.breadcrumbs-item a:hover { color: var(--color-primary); }
.breadcrumbs-sep { color: var(--color-text-muted); font-size: 12px; }
.breadcrumbs-item.current { color: var(--color-text-muted); }

/* =============================================
   PAGE HERO (small)
   ============================================= */
.page-hero {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-primary) 100%);
  padding: 60px 0;
  min-height: 260px;
  display: flex;
  align-items: center;
}
.page-hero h1 { color: var(--color-white); font-size: 40px; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 16px; margin-top: 12px; }

/* =============================================
   CATALOG PAGE
   ============================================= */
.catalog-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 40px 0;
}
.catalog-sidebar {
  width: 260px;
  flex-shrink: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 24px;
}
.sidebar-title { font-size: 16px; font-weight: 700; margin-bottom: 20px; color: var(--color-text); }
.filter-group { margin-bottom: 24px; }
.filter-group-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-border);
}
.filter-item { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; cursor: pointer; }
.filter-item input[type="checkbox"] { accent-color: var(--color-primary); width: 16px; height: 16px; }
.filter-item label { font-size: 14px; color: var(--color-text); cursor: pointer; }
.filter-count { font-size: 12px; color: var(--color-text-muted); margin-left: auto; }

.range-slider-wrap { padding: 8px 0; }
.range-slider { width: 100%; accent-color: var(--color-primary); }
.range-values { display: flex; justify-content: space-between; font-size: 12px; color: var(--color-text-muted); margin-top: 6px; }
.filter-actions { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }

.catalog-main { flex: 1; min-width: 0; }
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding: 12px 16px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 8px;
}
.catalog-count { font-size: 14px; color: var(--color-text-muted); }
.catalog-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.catalog-sort select { padding: 6px 12px; border: 1px solid var(--color-border); border-radius: 6px; font-size: 14px; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.page-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-white);
  cursor: pointer;
  transition: all var(--transition);
}
.page-btn:hover,
.page-btn.active { background: var(--color-primary); color: white; border-color: var(--color-primary); }

/* =============================================
   PRODUCT PAGE
   ============================================= */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 40px 0;
  align-items: start;
}
.product-gallery { position: sticky; top: 80px; }
.gallery-main {
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-bottom: 12px;
  background: var(--color-white);
}
.gallery-main img { width: 100%; height: 420px; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 10px; }
.gallery-thumb {
  width: 88px; height: 72px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--color-border);
  cursor: pointer;
  transition: border-color var(--transition);
  flex-shrink: 0;
}
.gallery-thumb:hover,
.gallery-thumb.active { border-color: var(--color-primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.product-info {}
.product-brand-badge {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  color: var(--color-mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.product-title { font-size: 28px; font-weight: 800; line-height: 1.2; margin-bottom: 8px; }
.product-article { font-size: 13px; color: var(--color-text-muted); margin-bottom: 16px; }
.product-badges { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.product-price-block { margin-bottom: 24px; }
.product-price {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-primary);
}
.product-price-sub { font-size: 13px; color: var(--color-text-muted); margin-top: 4px; }
.product-qty {
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}
.qty-btn {
  width: 40px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--color-text);
  background: var(--color-page-bg);
  cursor: pointer;
  transition: background var(--transition);
}
.qty-btn:hover { background: var(--color-light-bg); }
.qty-input {
  width: 60px; height: 44px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  font-size: 16px; font-weight: 600;
}
.product-actions { display: flex; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.product-actions .btn { flex: 1; min-width: 160px; }
.product-download { font-size: 13px; color: var(--color-mid); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.product-download:hover { color: var(--color-primary); }

/* Specs table */
.specs-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.specs-table tr { border-bottom: 1px solid var(--color-border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 10px 12px; font-size: 14px; }
.specs-table td:first-child { color: var(--color-text-muted); width: 50%; }
.specs-table td:last-child { font-weight: 600; }
.specs-table tr:nth-child(even) td { background: var(--color-page-bg); }

/* Tabs */
.tabs { border-bottom: 2px solid var(--color-border); display: flex; gap: 4px; margin-bottom: 24px; }
.tab-btn {
  padding: 10px 20px;
  font-size: 14px; font-weight: 600;
  color: var(--color-text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition);
  background: none;
}
.tab-btn:hover { color: var(--color-primary); }
.tab-btn.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }
.tab-content { display: none; font-size: 14px; line-height: 1.7; color: var(--color-text-muted); }
.tab-content.active { display: block; }

/* Sticky buy bar */
.sticky-buy {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 900;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.08);
  transform: translateY(100%);
  transition: transform var(--transition);
}
.sticky-buy.visible { transform: translateY(0); }
.sticky-buy-name { font-size: 15px; font-weight: 600; }
.sticky-buy-price { font-size: 20px; font-weight: 800; color: var(--color-primary); }
.sticky-buy-actions { display: flex; gap: 12px; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-history {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-history-text h2 { margin-bottom: 20px; }
.about-history-text p { color: var(--color-text-muted); margin-bottom: 16px; }
.about-history-image { border-radius: var(--card-radius); overflow: hidden; }
.about-history-image img { width: 100%; height: 400px; object-fit: cover; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  text-align: center;
}
.team-card-image { height: 220px; overflow: hidden; }
.team-card-image img { width: 100%; height: 100%; object-fit: cover; }
.team-card-body { padding: 20px 16px; }
.team-card-name { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.team-card-pos { font-size: 13px; color: var(--color-mid); font-weight: 500; margin-bottom: 6px; }
.team-card-exp { font-size: 12px; color: var(--color-text-muted); }

.certs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cert-card {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 24px;
  text-align: center;
  transition: border-color var(--transition);
}
.cert-card:hover { border-color: var(--color-primary); }
.cert-icon { font-size: 32px; color: var(--color-primary); margin-bottom: 12px; }
.cert-name { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.cert-desc { font-size: 12px; color: var(--color-text-muted); }

/* =============================================
   SERVICES PAGE
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 32px 28px;
  transition: all var(--transition);
}
.service-card:hover { box-shadow: 0 8px 32px rgba(236,30,33,0.1); transform: translateY(-4px); border-color: transparent; }
.service-icon {
  width: 60px; height: 60px;
  background: var(--color-light-bg);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.service-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.service-text { font-size: 14px; color: var(--color-text-muted); line-height: 1.65; margin-bottom: 20px; }
.service-link { font-size: 13px; font-weight: 600; color: var(--color-mid); display: inline-flex; align-items: center; gap: 6px; }
.service-link:hover { color: var(--color-accent); }

/* =============================================
   PROJECTS PAGE
   ============================================= */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  border-radius: var(--card-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.project-card-image { height: 280px; }
.project-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.project-card:hover .project-card-image img { transform: scale(1.06); }
.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,25,41,0.9) 0%, rgba(10,25,41,0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: all var(--transition);
}
.project-card-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  opacity: 0;
  transition: all var(--transition);
}
.project-card:hover .project-card-btn { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.project-card-cat { font-size: 11px; font-weight: 600; color: var(--color-accent); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.project-card-name { font-size: 16px; font-weight: 700; color: white; line-height: 1.3; margin-bottom: 4px; }
.project-card-year { font-size: 12px; color: rgba(255,255,255,0.6); }

/* =============================================
   CONTACTS PAGE
   ============================================= */
.contacts-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  padding: 60px 0;
  align-items: start;
}
.contacts-form-card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  padding: 40px;
  border: 1px solid var(--color-border);
}
.contacts-form-card h2 { margin-bottom: 8px; }
.contacts-form-card p { color: var(--color-text-muted); margin-bottom: 28px; }
.contacts-form .form-group { margin-bottom: 16px; }

.contacts-info {}
.contacts-block {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 28px;
  margin-bottom: 20px;
}
.contacts-block h3 { font-size: 18px; margin-bottom: 16px; }
.contact-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.contact-row:last-child { margin-bottom: 0; }
.contact-icon { color: var(--color-accent); font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.contact-detail { font-size: 14px; }
.contact-detail strong { display: block; color: var(--color-text); font-weight: 600; margin-bottom: 2px; }
.contact-detail span { color: var(--color-text-muted); }
.map-placeholder {
  width: 100%;
  height: 240px;
  background: var(--color-light-bg);
  border-radius: var(--card-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--color-text-muted);
  border: 2px dashed var(--color-border);
  font-size: 14px;
}
.map-placeholder i { font-size: 32px; color: var(--color-primary); }

/* =============================================
   REVEAL ANIMATION
   ============================================= */
.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-up.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   UTILITIES
   ============================================= */
.text-center { text-align: center; }
.text-muted { color: var(--color-text-muted); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1200px) {
  .container { padding: 0 16px; }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .catalog-sidebar { width: 220px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-title { font-size: 38px; }
}

@media (max-width: 768px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  h3 { font-size: 20px; }

  .nav { display: none; }
  .header-phone { display: none; }
  .header-right .btn { display: none; }
  .burger { display: flex; }

  .mobile-drawer { display: flex; }

  .hero-inner { flex-direction: column; }
  .hero-content { flex: none; width: 100%; }
  .hero-form-wrap { flex: none; width: 100%; }
  .hero-title { font-size: 32px; }

  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-layout { flex-direction: column; }
  .catalog-sidebar { width: 100%; }
  .product-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .about-history { grid-template-columns: 1fr; }
  .contacts-layout { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .categories-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
  .products-grid--3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-actions { flex-direction: column; }
  .team-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  .advantages-grid { grid-template-columns: 1fr; }
  .contacts-form-card { padding: 24px; }
}

/* === WordPress specific === */
.wp-post-image { width:100%; height:100%; object-fit:cover; }
.products-grid--3 .product-card-image { height:200px; }
.products-grid--3 .product-card-image img { width:100%; height:100%; object-fit:cover; }
.no-results { grid-column:1/-1; text-align:center; padding:40px; color:var(--color-text-muted); font-size:16px; }
.filter-group-sub { margin-bottom:6px; }
.filter-parent { font-weight:600; }

/* Modal */
.modal-overlay { position:fixed; inset:0; background:rgba(0,0,0,0.55); z-index:9000; display:flex; align-items:center; justify-content:center; padding:20px; }
.modal-box { background:white; border-radius:var(--card-radius); padding:36px; max-width:480px; width:100%; position:relative; box-shadow:0 20px 60px rgba(0,0,0,0.3); }
.modal-close { position:absolute; top:16px; right:16px; font-size:20px; color:var(--color-text-muted); cursor:pointer; background:none; border:none; }
.modal-close:hover { color:var(--color-text); }

/* Product catalog grid adjustment */
.catalog-main .products-grid { grid-template-columns: repeat(3, 1fr); }
@media(max-width:900px) { .catalog-main .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:480px) { .catalog-main .products-grid { grid-template-columns: 1fr; } }

/* =============================================
   SINGLE PRODUCT PAGE
   ============================================= */

/* ─── Product header 3-column layout ─── */
.product-header-section {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  padding: 32px 0 24px;
}
.product-header-inner {
  display: grid;
  grid-template-columns: 160px 1fr 300px;
  gap: 32px;
  align-items: start;
}

/* Image column */
.product-img-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.product-main-img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-white);
  display: block;
}
.product-img-placeholder {
  width: 140px;
  height: 140px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-page-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--color-border);
}
.product-brand-under {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-primary);
  text-align: center;
}

/* Meta column */
.product-meta-col {}
.product-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  margin-bottom: 12px;
}
.product-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.product-sku-large {
  font-size: 13px;
  color: var(--color-text-muted);
}
.product-sku-large strong {
  color: var(--color-text);
  font-family: monospace;
}

/* Spec chips in header */
.product-specs-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.spec-chip {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  background: var(--color-page-bg);
  border: 1px solid var(--color-border);
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.product-desc-short {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* CTA column */
.product-cta-col {}
.product-cta-box {
  background: var(--color-page-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--card-radius);
  padding: 20px;
}
.product-cta-price-label {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 4px;
}
.product-cta-sub {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}
.product-cta-note {
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 10px;
}

/* Qty counter in CTA */
.product-qty {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 4px;
}
.qty-btn {
  width: 32px;
  height: 36px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-text);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: background var(--transition);
  flex-shrink: 0;
}
.qty-btn:hover { background: var(--color-page-bg); }
.qty-input {
  width: 56px;
  height: 36px;
  border: 1px solid var(--color-border);
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  background: var(--color-white);
  color: var(--color-text);
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ─── Product details section ─── */
.product-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.details-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
}

/* Specs full table */
.specs-table--full {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.specs-table--full td {
  padding: 8px 12px;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
}
.specs-table--full tr.specs-row-even td {
  background: var(--color-page-bg);
}
.specs-key {
  font-weight: 500;
  color: var(--color-text-muted);
  width: 48%;
}
.specs-val {
  color: var(--color-text);
  font-weight: 600;
}
.specs-full {
  color: var(--color-text);
}

/* Product description */
.product-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 24px;
}
.product-description p { margin-bottom: 12px; }
.product-description ul { margin-left: 20px; list-style: disc; }

/* Delivery box */
.product-delivery-box {
  background: var(--color-page-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 20px;
  margin-top: 24px;
}
.delivery-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.delivery-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--color-text);
}
.delivery-list li i {
  color: var(--color-primary);
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
}

/* ─── Single product responsive ─── */
@media(max-width:1024px) {
  .product-header-inner {
    grid-template-columns: 120px 1fr 260px;
    gap: 20px;
  }
}
@media(max-width:768px) {
  .product-header-inner {
    grid-template-columns: 1fr;
  }
  .product-img-col {
    flex-direction: row;
    align-items: center;
  }
  .product-main-img,
  .product-img-placeholder {
    width: 80px;
    height: 80px;
  }
  .product-details-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .product-cta-box { max-width: 100%; }
}
