/* ============================================================
   АР Подшипник — WordPress Theme CSS
   Точная копия дизайна HTML-прототипа
   ============================================================ */

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

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem; line-height: 1.65; color: #1A1A1A; background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Container ── */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Typography ── */
h1 { font-size: 2.5rem; font-weight: 700; line-height: 1.15; color: #1A1A1A; }
h2 { font-size: 1.75rem; font-weight: 700; line-height: 1.2;  color: #1A1A1A; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3;  color: #1A1A1A; }
h4 { font-size: 1rem;    font-weight: 600; line-height: 1.4;  color: #1A1A1A; }
.label-tag {
  font-size: 0.6875rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em;
}
.text-primary { color: #EC1E21; }

/* ── Section Padding ── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.bg-white { background: #fff; }
.bg-light  { background: #F9F5F5; }
.mt-4 { margin-top: 2rem; }
.text-center { text-align: center; }
@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; font-size: 0.9375rem; font-weight: 600;
  border-radius: 6px; border: 2px solid transparent;
  transition: all 0.2s ease; white-space: nowrap; text-align: center; justify-content: center;
}
.btn-accent { background: #E85D24; color: #fff; border-color: #E85D24; }
.btn-accent:hover { background: #C44D1A; border-color: #C44D1A; transform: scale(1.02); }
.btn-primary { background: #EC1E21; color: #fff; border-color: #EC1E21; }
.btn-primary:hover { background: #6B0000; border-color: #6B0000; transform: scale(1.02); }
.btn-outline-primary { background: transparent; color: #EC1E21; border-color: #EC1E21; }
.btn-outline-primary:hover { background: #EC1E21; color: #fff; transform: scale(1.02); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; transform: scale(1.02); }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; }
.btn-icon {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: none; background: transparent; color: #6B7280;
  transition: background 0.2s, color 0.2s;
}
.btn-icon:hover { background: #FCDADB; color: #EC1E21; }

/* ── Badges ── */
.badge {
  display: inline-block; padding: 0.2rem 0.6rem; font-size: 0.6875rem; font-weight: 500;
  border-radius: 4px; text-transform: uppercase; letter-spacing: 0.04em;
}
.badge-success { background: #dcfce7; color: #166534; }
.badge-warning { background: #fef9c3; color: #854d0e; }
.badge-primary  { background: #FCDADB; color: #EC1E21; }

/* ── Cards ── */
.card {
  background: #fff; border-radius: 12px; border: 1px solid #EDE0E0; overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: 0 8px 32px rgba(236,30,33,0.12); transform: translateY(-3px); }

/* ── Skeleton ── */
.skeleton {
  background: linear-gradient(90deg, #FCDADB 25%, #e8e8e8 50%, #FCDADB 75%);
  background-size: 200% 100%; animation: skeleton-shimmer 1.5s infinite; border-radius: 4px;
}
@keyframes skeleton-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Scroll Reveal ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ════════════════════════════════
   HEADER
════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 100; height: 72px; background: #fff;
  border-bottom: 1px solid #EDE0E0; display: flex; align-items: center;
  transition: box-shadow 0.2s ease;
}
.site-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.08); }
.header-inner { display: flex; align-items: center; gap: 2rem; width: 100%; }
.logo { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.logo__icon {
  width: 40px; height: 40px; background: #EC1E21; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 1.25rem; flex-shrink: 0;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-size: 1rem; font-weight: 700; color: #1A1A1A; }
.logo__tagline { font-size: 0.6875rem; color: #6B7280; font-weight: 400; }
.main-nav { display: flex; align-items: center; gap: 0.25rem; flex: 1; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 0.25rem; padding: 0.5rem 0.75rem;
  font-size: 0.9375rem; font-weight: 500; color: #1A1A1A; border-radius: 6px;
  transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.nav-link:hover { background: #FCDADB; color: #EC1E21; }
.nav-link svg { transition: transform 0.2s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: calc(100% + 0.5rem); left: 0; width: 320px;
  background: #fff; border: 1px solid #EDE0E0; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12); padding: 0.75rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.25rem;
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: all 0.2s ease;
}
.nav-item:hover .nav-dropdown, .nav-dropdown:hover { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown a { padding: 0.5rem 0.75rem; font-size: 0.875rem; color: #1A1A1A; border-radius: 6px; transition: background 0.15s, color 0.15s; }
.nav-dropdown a:hover { background: #FCDADB; color: #EC1E21; }
.header-right { display: flex; align-items: center; gap: 1rem; flex-shrink: 0; }
.header-phone { font-size: 1rem; font-weight: 700; color: #EC1E21; white-space: nowrap; }
.hamburger {
  width: 40px; height: 40px; display: none; flex-direction: column;
  justify-content: center; align-items: center; gap: 5px;
  border: none; background: transparent; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: #1A1A1A; border-radius: 2px; transition: all 0.3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; inset: 72px 0 0 0; background: #fff;
  z-index: 99; overflow-y: auto; padding: 1.5rem; flex-direction: column; gap: 0.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 0.875rem 1rem; font-size: 1.125rem; font-weight: 500;
  color: #1A1A1A; border-radius: 8px; border-bottom: 1px solid #EDE0E0; transition: background 0.15s;
}
.mobile-menu a:hover { background: #FCDADB; }
.mobile-menu .mobile-phone {
  margin-top: 1rem; padding: 1rem; background: #FCDADB; border-radius: 8px;
  text-align: center; font-size: 1.25rem; font-weight: 700; color: #EC1E21; border-bottom: none;
}
.search-overlay {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(26,0,0,0.7); backdrop-filter: blur(4px);
  align-items: flex-start; justify-content: center; padding-top: 20vh;
}
.search-overlay.open { display: flex; }
.search-box {
  background: #fff; border-radius: 12px; padding: 1.5rem;
  width: 100%; max-width: 600px; margin: 0 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.search-input-row { display: flex; gap: 0.75rem; }
.search-input {
  flex: 1; padding: 0.875rem 1rem; border: 2px solid #EDE0E0;
  border-radius: 6px; font-size: 1rem; outline: none; transition: border-color 0.2s;
}
.search-input:focus { border-color: #EC1E21; }
.search-hint { margin-top: 0.5rem; font-size: 0.8125rem; color: #6B7280; }
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-phone { display: none; }
  .header-right .btn { display: none; }
}
@media (max-width: 768px) { .site-header { height: 64px; } }

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.hero {
  background-color: #5a0000; /* fallback if image not loaded */
  position: relative; overflow: hidden;
  min-height: 560px; display: flex; align-items: center;
}
/* Flipped background image with red colour filter */
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  transform: scaleX(-1);
  /* grayscale → apply red tint via hue-rotate */
  filter: grayscale(1) sepia(0.6) saturate(3) hue-rotate(320deg) brightness(0.55);
  z-index: 0;
  pointer-events: none;
}
/* Dark red overlay + subtle dot texture */
.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(135deg, rgba(100, 5, 5, 0.70) 0%, rgba(40, 3, 3, 0.78) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr;
  max-width: 800px;
  align-items: center; width: 100%;
}
.hero-content { color: #fff; }
.hero-label {
  display: inline-block; background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9);
  padding: 0.375rem 0.875rem; border-radius: 4px; font-size: 0.75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1.25rem;
}
.hero h1 { color: #fff; font-size: 2.75rem; margin-bottom: 1.25rem; }
.hero-subtitle { color: rgba(255,255,255,0.85); font-size: 1.0625rem; line-height: 1.7; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }

/* Hero search form */
.hero-search-form { margin-top: 1.5rem; }
.hero-search-fields {
  display: flex; gap: 0.5rem; flex-wrap: wrap; background: rgba(255,255,255,0.1);
  border-radius: 8px; padding: 0.75rem;
}
.hero-field {
  padding: 0.75rem 1rem; border: none; border-radius: 6px; font-size: 0.9375rem;
  background: rgba(255,255,255,0.95); color: #1A1A1A; outline: none; transition: box-shadow 0.2s;
  flex: 1; min-width: 80px;
}
.hero-field--wide { flex: 2; min-width: 160px; }
.hero-field:focus { box-shadow: 0 0 0 2px #E85D24; }
.hero-field::placeholder { color: #6B7280; }
.hero-field option { color: #1A1A1A; background: #fff; }
.hero-search-btn {
  padding: 0.75rem 1.25rem; background: #E85D24; color: #fff; border: none;
  border-radius: 6px; font-weight: 600; font-size: 0.9375rem; cursor: pointer;
  transition: background 0.2s; display: flex; align-items: center; gap: 0.5rem; white-space: nowrap;
}
.hero-search-btn:hover { background: #C44D1A; }
@media (max-width: 1024px) {
  .hero { min-height: auto; padding: 4rem 0; }
}
@media (max-width: 640px) {
  .hero h1 { font-size: 1.875rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-search-fields { flex-direction: column; }
  .hero-field, .hero-field--wide { min-width: 100%; }
}

/* Search results dropdown */
.hero-search-results, .search-results-dropdown {
  background: #fff; border-radius: 10px; box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  margin-top: 0.5rem; overflow: hidden; display: none;
}
.hero-search-results.open, .search-results-dropdown.open { display: block; }
.search-result-item {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.875rem 1rem; border-bottom: 1px solid #EDE0E0; transition: background 0.15s; cursor: pointer;
}
.search-result-item:hover { background: #FCDADB; }
.search-result-item:last-child { border-bottom: none; }
.sri-article { font-weight: 600; font-size: 0.9375rem; color: #1A1A1A; }
.sri-brand { color: #EC1E21; font-weight: 500; font-size: 0.875rem; margin-left: 0.5rem; }
.sri-type  { font-size: 0.8125rem; color: #6B7280; margin-top: 0.1rem; }
.sri-dims  { font-size: 0.8125rem; color: #9CA3AF; }
.search-loading { padding: 1rem; text-align: center; color: #6B7280; font-size: 0.875rem; }
.search-empty   { padding: 1rem; text-align: center; color: #6B7280; font-size: 0.875rem; }
.search-footer  { padding: 0.75rem 1rem; border-top: 1px solid #EDE0E0; text-align: center; }
.search-all-link { color: #EC1E21; font-size: 0.875rem; font-weight: 500; }
.search-all-link:hover { text-decoration: underline; }

/* ── Trust Bar ── */
.trust-bar { background: #fff; border-top: 1px solid #EDE0E0; border-bottom: 1px solid #EDE0E0; }
.trust-bar-inner { display: grid; grid-template-columns: repeat(4,1fr); height: 80px; }
.trust-item { display: flex; align-items: center; gap: 0.875rem; padding: 0 1.5rem; border-right: 1px solid #EDE0E0; }
.trust-item:last-child { border-right: none; }
.trust-icon {
  width: 40px; height: 40px; background: #FCDADB; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: #EC1E21;
}
.trust-value { font-size: 1.25rem; font-weight: 700; color: #EC1E21; line-height: 1; }
.trust-label { font-size: 0.8125rem; color: #6B7280; }
@media (max-width: 768px) {
  .trust-bar-inner { grid-template-columns: repeat(2,1fr); height: auto; }
  .trust-item { padding: 1.25rem; border-right: none; border-bottom: 1px solid #EDE0E0; }
  .trust-item:nth-child(odd) { border-right: 1px solid #EDE0E0; }
  .trust-item:nth-last-child(-n+2) { border-bottom: none; }
}

/* ── Brands ── */
.brands-section { background: #F9F5F5; padding: 3rem 0; }
.brands-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 2rem; }
.brand-pill {
  padding: 0.625rem 1.5rem; border: 1.5px solid #EDE0E0; border-radius: 8px;
  font-size: 1rem; font-weight: 700; color: #6B7280; background: #fff; letter-spacing: 0.02em;
  transition: all 0.2s ease; cursor: default;
}
.brand-pill:hover { background: #EC1E21; color: #fff; border-color: #EC1E21; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(236,30,33,0.2); }
.brand-country { display: block; font-size: 0.6875rem; font-weight: 400; opacity: 0.7; text-align: center; margin-top: 0.1rem; }

/* ── Categories ── */
.categories-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; margin-top: 2.5rem; }
.category-card { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16/11; cursor: pointer; display: block; }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.category-card:hover img { transform: scale(1.07); }
.category-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(107,0,0,0.85) 0%, rgba(107,0,0,0.2) 60%, transparent 100%); transition: background 0.3s; }
.category-card:hover .category-overlay { background: linear-gradient(to top, rgba(107,0,0,0.92) 0%, rgba(107,0,0,0.5) 60%, rgba(107,0,0,0.15) 100%); }
.category-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.25rem; color: #fff; }
.category-info h3 { color: #fff; font-size: 1.0625rem; }
.category-info p  { font-size: 0.8125rem; opacity: 0.8; margin-top: 0.2rem; }
.category-arrow {
  position: absolute; top: 1rem; right: 1rem; width: 32px; height: 32px;
  background: rgba(255,255,255,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #fff; opacity: 0; transform: translateX(-4px); transition: all 0.2s ease;
}
.category-card:hover .category-arrow { opacity: 1; transform: translateX(0); }
@media (max-width: 1024px) { .categories-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px) {
  .categories-grid { grid-template-columns: repeat(2,240px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.5rem; }
  .category-card { scroll-snap-align: start; }
}

/* ── Industries ── */
.industries-section { background: #EC1E21; padding: 5rem 0; }
.industries-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; margin-top: 2.5rem; }
.industry-card {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 1.5rem 1.25rem; color: #fff; transition: background 0.2s, transform 0.2s;
}
.industry-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-3px); }
.industry-icon { font-size: 2rem; margin-bottom: 0.875rem; }
.industry-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; }
.industry-desc  { font-size: 0.8125rem; opacity: 0.75; line-height: 1.5; }
@media (max-width: 1024px) { .industries-grid { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 768px)  { .industries-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px)  { .industries-grid { grid-template-columns: 1fr; } }

/* ── Advantages ── */
.advantages-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; margin-top: 2.5rem; }
.advantage-card { background: #fff; border: 1px solid #EDE0E0; border-radius: 12px; padding: 1.75rem 1.5rem; transition: box-shadow 0.2s, transform 0.2s; }
.advantage-card:hover { box-shadow: 0 8px 32px rgba(236,30,33,0.1); transform: translateY(-3px); }
.advantage-icon { width: 48px; height: 48px; background: #FCDADB; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #EC1E21; margin-bottom: 1rem; }
.advantage-title { font-size: 1.0625rem; font-weight: 600; margin-bottom: 0.5rem; }
.advantage-text  { font-size: 0.875rem; color: #6B7280; line-height: 1.6; }
@media (max-width: 1024px) { .advantages-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .advantages-grid { grid-template-columns: 1fr; } }

/* ── Product Cards ── */
.product-card { background: #fff; border-radius: 12px; border: 1px solid #EDE0E0; overflow: hidden; transition: box-shadow 0.2s, transform 0.2s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: 0 8px 32px rgba(236,30,33,0.14); transform: translateY(-3px); }
.product-card__img { position: relative; overflow: hidden; background: #F9F5F5; }
.product-card__img img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.3s ease; }
.product-card:hover .product-card__img img { transform: scale(1.04); }
.product-card__badge { position: absolute; top: 0.75rem; left: 0.75rem; }
.product-card__body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.4rem; }
.product-card__article { font-size: 0.75rem; color: #6B7280; font-weight: 500; }
.product-card__title   { font-size: 1rem; font-weight: 600; color: #1A1A1A; line-height: 1.3; }
.product-card__brand   { font-size: 0.875rem; color: #EC1E21; font-weight: 500; }
.product-card__dims    { font-size: 0.8125rem; color: #6B7280; }
.product-card__footer  { padding: 0 1.25rem 1.25rem; margin-top: auto; }

/* ── Products Grid ── */
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; margin-top: 1.5rem; }
@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px)  { .products-grid { grid-template-columns: 1fr; } }

/* ── Tabs ── */
.tabs { display: flex; gap: 0; border-bottom: 2px solid #EDE0E0; margin-top: 2rem; overflow-x: auto; }
.tab-btn {
  padding: 0.75rem 1.25rem; font-size: 0.9375rem; font-weight: 500; color: #6B7280;
  background: transparent; border: none; border-bottom: 2px solid transparent;
  margin-bottom: -2px; cursor: pointer; transition: color 0.2s, border-color 0.2s; white-space: nowrap;
}
.tab-btn:hover { color: #EC1E21; }
.tab-btn.active { color: #EC1E21; border-bottom-color: #EC1E21; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Section Header ── */
.section-header { text-align: center; max-width: 640px; margin: 0 auto; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p  { color: #6B7280; font-size: 1.0625rem; }

/* ── CTA Section ── */
.cta-section { background: linear-gradient(135deg, #EC1E21 0%, #6B0000 100%); padding: 5rem 0; }
.cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.cta-text { color: #fff; }
.cta-text h2 { color: #fff; font-size: 2rem; margin-bottom: 1rem; }
.cta-text p  { color: rgba(255,255,255,0.8); line-height: 1.7; }
.cta-icon-wrap { width: 36px; height: 36px; background: rgba(255,255,255,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cta-form { background: #fff; border-radius: 16px; padding: 2rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.8125rem; font-weight: 500; color: #1A1A1A; margin-bottom: 0.375rem; }
.form-control { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid #EDE0E0; border-radius: 6px; font-size: 0.9375rem; color: #1A1A1A; background: #fff; transition: border-color 0.2s; outline: none; }
.form-control:focus { border-color: #EC1E21; }
.form-control::placeholder { color: #9CA3AF; }
textarea.form-control { resize: vertical; min-height: 80px; }
.form-disclaimer { font-size: 0.75rem; color: #9CA3AF; margin-top: 0.75rem; text-align: center; }
@media (max-width: 768px) { .cta-inner { grid-template-columns: 1fr; gap: 2rem; } }

/* ── Footer ── */
.site-footer { background: #1A0000; color: rgba(255,255,255,0.8); padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo__name { color: #fff; }
.footer-brand .logo__tagline { color: rgba(255,255,255,0.5); }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.7; margin: 1rem 0; }
.footer-contact { font-size: 0.9375rem; color: rgba(255,255,255,0.9); margin-bottom: 0.25rem; }
.footer-contact a { color: rgba(255,255,255,0.9); transition: color 0.2s; }
.footer-contact a:hover { color: #fff; }
.footer-col h4 { color: #fff; font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-links a:hover { color: #fff; }
.footer-address { font-size: 0.875rem; color: rgba(255,255,255,0.6); line-height: 1.6; margin-bottom: 0.75rem; }
.footer-hours  { font-size: 0.8125rem; color: rgba(255,255,255,0.5); margin-bottom: 1rem; }
.footer-social-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: background 0.2s; }
.footer-social-btn:hover { background: rgba(255,255,255,0.15); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; font-size: 0.8125rem; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(2,1fr); gap: 2rem; } }
@media (max-width: 640px)  { .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; } .footer-bottom { flex-direction: column; text-align: center; } }

/* ════════════════════════════════
   CATALOG ARCHIVE
════════════════════════════════ */
.catalog-layout { padding: 2rem 0 4rem; }
.catalog-inner { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.catalog-sidebar { background: #fff; border: 1px solid #EDE0E0; border-radius: 12px; padding: 1.5rem; position: sticky; top: 88px; }
.sidebar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; padding-bottom: 0.75rem; border-bottom: 1px solid #EDE0E0; }
.sidebar-header h3 { font-size: 1rem; }
.filter-group { margin-bottom: 1.25rem; border-bottom: 1px solid #EDE0E0; padding-bottom: 1.25rem; }
.filter-group:last-of-type { border-bottom: none; }
.filter-label { font-size: 0.75rem; font-weight: 600; color: #1A1A1A; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.625rem; display: block; }
.filter-check { display: flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0; cursor: pointer; font-size: 0.875rem; color: #374151; }
.filter-check input { accent-color: #EC1E21; width: 15px; height: 15px; cursor: pointer; }
.filter-check small { color: #9CA3AF; margin-left: auto; }
.filter-input { width: 100%; padding: 0.625rem 2.5rem 0.625rem 0.875rem; border: 1.5px solid #EDE0E0; border-radius: 6px; font-size: 0.875rem; outline: none; transition: border-color 0.2s; }
.filter-input:focus { border-color: #EC1E21; }
.filter-range-row { display: flex; align-items: center; gap: 0.5rem; }
.filter-range-input { flex: 1; padding: 0.5rem 0.75rem; border: 1.5px solid #EDE0E0; border-radius: 6px; font-size: 0.875rem; outline: none; width: 100%; }
.filter-range-input:focus { border-color: #EC1E21; }
.catalog-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; flex-wrap: wrap; gap: 0.75rem; }
.catalog-found { font-size: 1rem; color: #6B7280; }
.catalog-found strong { color: #1A1A1A; }
.catalog-sort { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: #6B7280; flex-wrap: wrap; }
.sort-link { padding: 0.375rem 0.75rem; border-radius: 6px; font-size: 0.875rem; color: #6B7280; transition: background 0.15s, color 0.15s; }
.sort-link:hover, .sort-link.active { background: #FCDADB; color: #EC1E21; }
.catalog-grid { grid-template-columns: repeat(3,1fr); }
.catalog-empty { grid-column: 1/-1; text-align: center; padding: 4rem 2rem; color: #6B7280; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.pagination { display: flex; justify-content: center; gap: 0.375rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 0.75rem; border-radius: 8px;
  font-size: 0.9375rem; color: #374151; border: 1px solid #EDE0E0; transition: all 0.15s;
}
.pagination .page-numbers:hover { background: #FCDADB; color: #EC1E21; border-color: #EC1E21; }
.pagination .page-numbers.current { background: #EC1E21; color: #fff; border-color: #EC1E21; }
.pagination .page-numbers.dots { border: none; cursor: default; }
@media (max-width: 1024px) { .catalog-inner { grid-template-columns: 1fr; } .catalog-sidebar { position: static; } }
@media (max-width: 640px) { .catalog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .catalog-grid { grid-template-columns: 1fr; } }

/* ════════════════════════════════
   SINGLE BEARING
════════════════════════════════ */
.breadcrumbs { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: #6B7280; flex-wrap: wrap; }
.breadcrumbs a { color: #EC1E21; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs--light .breadcrumbs, .breadcrumbs--light { color: rgba(255,255,255,0.7); }
.breadcrumbs--light a { color: rgba(255,255,255,0.9); }
.product-layout { display: grid; grid-template-columns: 45% 1fr; gap: 3rem; margin-top: 2rem; }
.product-gallery { display: flex; flex-direction: column; gap: 1rem; }
.product-main-img img { width: 100%; border-radius: 12px; border: 1px solid #EDE0E0; }
.product-drawing { background: #F9F5F5; border-radius: 8px; padding: 1rem; }
.drawing-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 600; color: #6B7280; margin-bottom: 0.75rem; }
.product-drawing img { max-height: 180px; margin: 0 auto; }
.product-article-label { font-size: 0.875rem; color: #6B7280; margin-bottom: 0.25rem; }
.product-article-label strong { color: #1A1A1A; }
.product-title { font-size: 1.75rem; margin-bottom: 0.75rem; }
.product-brand-row { font-size: 0.9375rem; color: #6B7280; margin-bottom: 1.25rem; }
.product-brand-link { color: #EC1E21; font-weight: 600; }
.product-brand-link:hover { text-decoration: underline; }
.product-price-block { background: #F9F5F5; border-radius: 12px; padding: 1.5rem; margin-bottom: 1.5rem; }
.product-price-text { font-size: 1.5rem; font-weight: 700; color: #1A1A1A; }
.product-specs { margin-top: 1.5rem; }
.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid #EDE0E0; }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 0.625rem 0.5rem; font-size: 0.875rem; vertical-align: top; }
.specs-table td:first-child { color: #6B7280; width: 60%; }
.product-tabs-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #EDE0E0; }
.product-tabs-section .tab-panel { padding: 1.5rem 0; }
.product-description { font-size: 0.9375rem; line-height: 1.8; color: #374151; }
.product-description h2, .product-description h3 { margin: 1.5rem 0 0.75rem; }
.product-description ul, .product-description ol { padding-left: 1.5rem; margin: 0.75rem 0; }
.product-description li { margin-bottom: 0.375rem; }
.analogs-intro { font-size: 0.875rem; color: #6B7280; margin-bottom: 1rem; }
.analogs-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.analog-badge { padding: 0.375rem 0.875rem; background: #FCDADB; color: #EC1E21; border-radius: 6px; font-size: 0.875rem; font-weight: 500; transition: background 0.15s; }
.analog-badge:hover { background: #EC1E21; color: #fff; }
.related-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #EDE0E0; }
@media (max-width: 1024px) { .product-layout { grid-template-columns: 1fr; } }

/* ════════════════════════════════
   ABOUT & CONTACTS
════════════════════════════════ */
.about-grid { grid-template-columns: 1fr 1fr; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr !important; } .stats-grid { grid-template-columns: repeat(2,1fr) !important; } }
.cert-card { display: flex; align-items: center; gap: 1rem; background: #fff; border: 1px solid #EDE0E0; border-radius: 12px; padding: 1.25rem; transition: box-shadow 0.2s; }
.cert-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.cert-icon { width: 48px; height: 48px; background: #FCDADB; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #EC1E21; flex-shrink: 0; }
.cert-name { font-size: 0.875rem; font-weight: 500; color: #1A1A1A; }
.cert-year { font-size: 0.75rem; color: #6B7280; margin-top: 0.2rem; }
.cert-btn { margin-left: auto; flex-shrink: 0; }
@media (max-width: 640px) { .certs-grid { grid-template-columns: 1fr !important; } }
.contacts-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contacts-form-col .cta-form { background: #F9F5F5; }
.contact-info-block { background: #fff; border: 1px solid #EDE0E0; border-radius: 12px; padding: 2rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-icon { width: 40px; height: 40px; background: #FCDADB; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #EC1E21; flex-shrink: 0; }
.contact-info-label { font-size: 0.75rem; font-weight: 600; color: #6B7280; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.25rem; }
@media (max-width: 768px) { .contacts-layout { grid-template-columns: 1fr; } .delivery-grid { grid-template-columns: 1fr !important; } }

/* ── Print ── */
@media print {
  .site-header, .site-footer, .cta-section, .catalog-sidebar { display: none; }
  .product-layout { grid-template-columns: 1fr; }
}

/* ── Price Guarantee Block ── */
.price-guarantee-block {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  background: linear-gradient(135deg, #FFFBEB, #FEF3C7);
  border: 1.5px solid #FCD34D;
  border-left: 4px solid #F59E0B;
  border-radius: 8px;
  padding: 0.875rem 1.125rem;
  margin-bottom: 1.25rem;
}
.price-guarantee-icon {
  color: #D97706;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.price-guarantee-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #92400E;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-guarantee-sub {
  font-size: 0.8125rem;
  color: #B45309;
  margin-top: 0.1rem;
}

/* ── Product Quote CTA strip ── */
.product-quote-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}
.product-quote-cta__text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: #92400E;
  font-size: 0.9375rem;
}
.product-quote-cta__text strong { font-size: 1.0625rem; }
@media (max-width: 640px) {
  .product-quote-cta { flex-direction: column; align-items: flex-start; }
}

/* ── Quote Modal ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: modalIn 0.2s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #9CA3AF;
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.15s, background 0.15s;
}
.modal-close:hover { color: #1A1A1A; background: #F3F4F6; }
