/* ============================================
   Design 01-classic - UralPromTek
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
a { text-decoration: none; transition: color .2s, border-color .2s, background .2s, box-shadow .2s, transform .2s, background-size .3s; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }
:root {
  --primary: #1b5576; --primary-light: #3d7ea3; --primary-dark: #0e3a52;
  --accent: #d04000; --accent-hover: #b03600;
  --link: #0072ba;
  --text: #2d3748; --text-muted: #718096; --text-light: #a0aec0;
  --bg: #fff; --bg-alt: #f7fafc; --bg-body: #f0f4f8;
  --border: #e2e8f0;
  --radius: 8px; --radius-sm: 4px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 4px 10px rgba(0,0,0,0.05);
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text); background: var(--bg-body);
  font-size: 15px; line-height: 1.6;
  /* max-width: 1260px; margin: 0 auto; */
}
h1, h2, h3, h4 { font-weight: 700; color: var(--primary-dark); line-height: 1.25; }
h1 { font-size: 32px; }
h2 { font-size: 24px; margin-bottom: 20px; }
h3 { font-size: 16px; margin-bottom: 12px; }
h4 { font-size: 14px; }
.badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: #fff; padding: 5px 18px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 16px;
}
/* --- Header --- */
.site-header {
  background: #fff; padding: 18px 40px;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100;
}
.logo { display: flex; align-items: center; gap: 14px; border: none; color: var(--text); }
.logo:hover { color: var(--primary); }
.site-header .logo { flex-shrink: 1; min-width: 0; }
.site-header .site-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; gap: 2px; }
.logo-text strong { font-size: 18px; font-weight: 700; color: var(--primary-dark); }
.logo-text span { font-size: 12px; color: var(--text-muted); }
.header-contacts { text-align: right; }
.header-phone { font-size: 16px; font-weight: 700; color: var(--primary-dark); white-space: nowrap; }
.header-email { font-size: 13px; color: var(--link); }
.header-email:hover { color: var(--accent); }
@media (max-width: 768px) {
  .site-header { padding: 12px 16px; flex-wrap: wrap; gap: 12px; }
  .site-header .site-logo { height: 48px; max-width: 160px; }
  .logo-text strong { font-size: 16px; }
  .logo-text span { font-size: 11px; }
}
/* --- Navigation --- */
.main-nav {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  padding: 0 40px; display: flex; gap: 0;
  box-shadow: var(--shadow-md);
  list-style: none;
}
.main-nav ul { list-style: none; display: flex; gap: 0; width: 100%; }
.main-nav li { position: relative; }
.main-nav > ul > li:last-child { margin-left: auto; list-style: none; display: flex; align-items: center; }
.main-nav > ul > li.active_li > a::after { width: 60%; }
.main-nav > ul > li.active_li > a { background: rgba(0,0,0,0.15); color: #fff; }
.main-nav a {
  color: rgba(255,255,255,0.9); padding: 13px 22px;
  font-size: 14px; font-weight: 500; border: none;
  transition: background .2s, color .2s;
  position: relative;
  display: block;
  white-space: nowrap;
}
.main-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 3px; background: #fff; border-radius: 3px 3px 0 0;
  transition: width .2s;
}
.main-nav a:hover { background: rgba(0,0,0,0.15); color: #fff; }
.main-nav a:hover::after { width: 60%; }
.main-nav a.active { background: rgba(0,0,0,0.15); color: #fff; }
.main-nav a.active::after { width: 60%; }
/* .pole_mini_search styled as native header control */
.main-nav .pole_mini_search input[type="search"] {
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 6px;
  font-size: 13px;
  width: 220px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.main-nav .pole_mini_search input[type="search"]::placeholder {
  color: rgba(255,255,255,0.75);
}
.main-nav .pole_mini_search input[type="search"]:focus {
  border-color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.18);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.18);
}

/* --- Dropdown Menu --- */
.main-nav .nav-dropdown-menu > li { list-style: none; }
.main-nav .nav-dropdown-menu .podmenu { display: none; }
.nav-dropdown {
  position: relative;
}
.nav-dropdown-trigger {
  display: flex; align-items: center; gap: 4px;
}
.nav-dropdown-trigger::after {
  content: ''; display: inline-block; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid rgba(255,255,255,0.7);
  transition: transform .2s;
}
.nav-dropdown:hover .nav-dropdown-trigger::after {
  transform: rotate(180deg);
}
.nav-dropdown-menu {
  position: absolute; top: 100%; left: 0; z-index: 100;
  background: #fff; border-radius: 8px; min-width: 220px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: all .25s ease;
  padding: 6px 0;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}
.main-nav .nav-dropdown-menu a, .main-nav .nav-dropdown-menu .nav-dropdown-item {
  display: block; padding: 9px 20px;
  font-size: 14px; color: #333;
  border: none; transition: all .2s;
  white-space: nowrap;
}

.main-nav .pole_mini_search {
  margin-left: auto;
  display: flex;
  align-items: center;
  padding: 0 10px;
  min-height: 48px;
}
.main-nav .pole_mini_search table {
  border-collapse: separate;
  border-spacing: 0;
}
.nav-dropdown-menu {
  right: auto;
}
@media (max-width: 768px) {
  .nav-dropdown-menu { right: 0; left: auto; }
}
.main-nav .nav-dropdown-menu a:hover, .main-nav .nav-dropdown-menu .nav-dropdown-item:hover {
  background: #fdf4f0; color: var(--accent);
  padding-left: 26px;
}

.main-nav .pole_mini_search input[type="submit"] {
  height: 34px;
  padding: 0 14px;
  border: none;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  margin-left: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform .15s, box-shadow .2s, filter .2s;
}
.main-nav .pole_mini_search input[type="submit"]:hover {
  filter: brightness(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transform: translateY(-1px);
}

/* --- Hamburger Menu --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin: 8px 12px 8px auto;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.hamburger:hover { background: rgba(255,255,255,0.2); }
.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 90;
  opacity: 0;
  transition: opacity .3s ease;
}
.nav-overlay.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
  .main-nav .nav-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    max-height: 80vh;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
    pointer-events: none;
  }
  .main-nav .nav-wrapper.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav .nav-wrapper ul {
    flex-direction: column;
    width: 100%;
  }
  .main-nav .nav-wrapper li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav .nav-wrapper li:last-child {
    border-bottom: none;
  }
  .main-nav .nav-wrapper a {
    padding: 14px 22px;
  }
  .main-nav .nav-wrapper .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
    background: rgba(0,0,0,0.12);
    min-width: auto;
  }
  .main-nav .nav-wrapper .nav-dropdown-menu a {
    padding-left: 36px;
    color: rgba(255,255,255,0.8);
  }
  .main-nav .nav-wrapper .nav-dropdown-menu a:hover {
    padding-left: 42px;
    background: rgba(255,255,255,0.08);
    color: #fff;
  }
  .main-nav .pole_mini_search {
    margin-left: 0;
    padding: 10px 22px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav .pole_mini_search input[type="search"] {
    width: 100%;
  }
  .main-nav .pole_mini_search input[type="submit"] {
    margin-left: 8px;
    padding: 0 12px;
  }
}
/* --- Frontpage --- */
.page-front .tpl-block-42 {
  display: none;
}
.catalog-empty-notice {
  margin: 24px 0 32px;
  padding: 20px 24px;
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}
.catalog-empty-notice p {
  margin: 0;
  padding: 0;
  line-height: 1.6;
}
/* --- Hero --- */
/* --- Product Page (inner-card-wrapper) --- */
.inner-card-wrapper { max-width: 100%; }
.inner-card-wrapper-top {
  display: flex; gap: 24px; align-items: flex-start;
}
.inner-card-wrapper--left-column {
  width: 380px; flex-shrink: 0;
}
.inner-card-wrapper--left-column-image {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px; margin-bottom: 16px;
  background: #fff;
}
.inner-card-wrapper--left-column-image .nav-item-container {
  width: 100%; height: 280px;
  background-size: contain; background-position: center; background-repeat: no-repeat;
  position: relative;
}
.inner-card-wrapper--left-column-image .nav-item-container a {
  display: block; width: 100%; height: 100%; border: none;
}
.slider-nav {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 12px;
}
.slider-nav .nav-item-container {
  width: 60px; height: 60px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background-size: contain; background-position: center; background-repeat: no-repeat;
  cursor: pointer; transition: border-color .2s;
}
.slider-nav .nav-item-container:hover {
  border-color: var(--primary);
}
.inner-card-wrapper--right-column {
  flex: 1; min-width: 0;
}

/* Product summary: title + price + CTA */
.product-summary {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 8px;
}
.product-summary .product-badges {
  margin-bottom: 12px;
}
.product-summary h1,
.inner-card-wrapper--right-column .product-summary h1 {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--primary-dark);
  margin: 0 0 8px;
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: break-word;
}
.product-summary__price {
  position: relative;
  margin: 0 0 8px;
  padding: 2px 0 2px 16px;
  background: none;
  border: none;
  border-radius: 0;
}
.product-summary__price-accent {
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.75;
}
.product-summary__price-amount {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.35em;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-dark);
  font-variant-numeric: tabular-nums;
}
.product-summary__price [itemprop="price"] {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.product-summary__price-currency {
  font-size: 0.9em;
  font-weight: 700;
  color: var(--primary-dark);
}
.product-summary__price-old {
  font-size: 0.72em;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: line-through;
}
.product-summary__price-discount {
  color: #dc2626;
  font-weight: 700;
}

/* Один знак валюты: убрать legacy ::after из style.min.css на карточке товара */
.product-summary__price-amount span::after,
.inner-card-wrapper--right-column-price.product-summary__price span::after {
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}

/* Похожие товары: legacy ::after из style.min.css */
.inner-card-wrapper-related .product-preview .price--rub::after {
  content: ' ₽' !important;
  display: inline !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  font-size: 0.9em;
  font-weight: 500;
}

.product-summary .inner-card--controls,
.inner-card-wrapper--right-column .product-summary .inner-card--controls,
.inner-card--controls {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 20px;
}
.product-summary .inner-card--controls .controls-button.popup-opener-button,
.inner-card--controls .controls-button.popup-opener-button {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 15px rgba(208, 64, 0, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-summary .inner-card--controls .controls-button.popup-opener-button:hover,
.inner-card--controls .controls-button.popup-opener-button:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(208, 64, 0, 0.4);
}
.product-summary .inner-card--controls .passport,
.inner-card--controls .passport {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0;
  margin-top: 2px;
  background: none;
  border: none;
  border-radius: 0;
  color: var(--link);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.product-summary .inner-card--controls .passport span,
.inner-card--controls .passport span {
  border-bottom: 1px solid rgba(0, 114, 186, 0.45);
}
.product-summary .inner-card--controls .passport:hover,
.inner-card--controls .passport:hover {
  color: var(--accent);
  background: none;
}
.product-summary .inner-card--controls .passport:hover span,
.inner-card--controls .passport:hover span {
  border-color: rgba(208, 64, 0, 0.5);
}

/* Product tagline — спокойная подпись под CTA (перебивает style.min.css) */
.inner-card-wrapper--right-column .quote.product-tagline {
  position: relative;
  margin-top: 14px;
  padding: 8px 0 8px 16px;
  width: 100%;
  display: block;
  background: none;
  border: none;
  border-radius: 0;
}
.inner-card-wrapper--right-column .quote.product-tagline blockquote {
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-muted);
  text-align: left;
  letter-spacing: 0.01em;
}

/* Description section */
.description {
  margin-top: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.description-header {
  padding: 12px 16px;
  background: var(--bg-alt);
  font-weight: 600; font-size: 14px;
  border-bottom: 1px solid var(--border);
  cursor: pointer; user-select: none;
}
.description-header span { color: var(--primary-dark); }
.description_text {
  padding: 16px;
  font-size: 14px; line-height: 1.7;
  color: var(--text);
}
.description_text p { padding-bottom: 10px; }
.description-trigger {
  text-align: center; padding: 8px;
  font-size: 13px; color: var(--link);
  cursor: pointer;
}
.description-trigger span { border-bottom: 1px dashed var(--link); }
.description-trigger span:hover { color: var(--accent); border-color: var(--accent); }

/* Specifications */
.specifications-head {
  margin: 30px 0 16px;
}
.specifications-head h2 {
  font-size: 20px; padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

/* FAQ */
.faq-header h2 {
  font-size: 20px; margin-top: 30px;
  border-bottom: 2px solid var(--primary);
  padding-bottom: 8px;
}

/* Packages / equipment section */
.packages { margin-top: 24px; }
.packages h2 {
  font-size: 16px; margin-bottom: 8px;
  color: var(--primary-dark);
}
.equipment, .additional-equipment {
  font-size: 14px; line-height: 1.7;
  color: var(--text); margin-bottom: 16px;
}

/* Bottom section (FAQ, favorites) */
.inner-card-wrapper-bottom {
  display: flex; gap: 30px;
  margin-top: 40px;
}

/* Related products */
.inner-card-wrapper-related {
  margin-top: 40px;
  content-visibility: auto;
  contain-intrinsic-size: 200px;
}

/* Responsive: stack columns on mobile */
@media (max-width: 768px) {
  .inner-card-wrapper-top {
    flex-direction: column;
  }
  .inner-card-wrapper--left-column {
    width: 100%;
  }
  .inner-card-wrapper--left-column-image .nav-item-container {
    height: 220px;
  }
  .inner-card-wrapper-bottom {
    flex-direction: column;
  }
  .product-summary .inner-card--controls .controls-button.popup-opener-button,
  .inner-card--controls .controls-button.popup-opener-button {
    width: 100%;
  }
  .gallery-image-product .item-image-inner {
    float: none; display: block;
    margin: 0 auto 16px;
    text-align: center;
  }
  .gallery-image-product .item-image-inner img {
    max-width: 100%;
  }
}

/* Price badge (pricein) - override old yellow style */
.pricein {
  display: inline-block;
  font-size: 24px; font-weight: 700;
  color: var(--primary);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 6px 16px;
  line-height: 1.3;
  margin: 0 0 12px;
  white-space: nowrap;
  background: #fff;
}

/* Скидочная цена (перечёркнутая) — без рамки */
.pricein s {
  color: var(--text-light); font-weight: 400;
  margin-right: 12px;
  border: none;
  padding: 0;
  display: inline;
  background: none;
}

@media (max-width: 768px) {
  .pricein {
    font-size: 20px;
    padding: 5px 12px;
  }
}

.pricein span[style*="color:red"] {
  color: #dc2626 !important;
  font-weight: 700;
}

@media (max-width: 768px) {
  .product-preview .image {
    aspect-ratio: 1;
  }
}

/* Gallery */
.gallery-image-product {
  margin-bottom: 20px;
}
.gallery-image-product .item-image-inner {
  display: inline-block; float: right;
  margin: 0 0 16px 16px;
}
.gallery-image-product .item-image-inner img {
  max-width: 250px; height: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px;
}
.gallery-image-product .item-image-inner p {
  text-align: center; font-size: 12px;
  color: var(--link); margin-top: 4px;
}

/* Passport link outside controls */
.passport-production {
  margin: 12px 0;
}
.passport-production a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text); font-size: 13px;
  text-decoration: none; transition: all .2s;
}
.passport-production a:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #e8f0f6 0%, #d4e4ef 50%, #f0f4f8 100%);
  padding: 60px 40px; text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero-content { max-width: 720px; margin: 0 auto; }
.hero h1 { margin-bottom: 16px; color: var(--primary-dark); }
.hero p { font-size: 17px; color: var(--text-muted); margin-bottom: 28px; line-height: 1.7; }
.hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #fff; padding: 14px 38px; border-radius: 6px;
  font-size: 15px; font-weight: 600; border: none;
  box-shadow: 0 4px 15px rgba(208,64,0,0.3);
  transition: transform .2s, box-shadow .2s;
}
.hero-btn:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(208,64,0,0.4); }
/* --- Layout --- */
.layout { display: flex; gap: 30px; padding: 30px 40px 50px; background: #fff; max-width: 1260px; margin: 0 auto; }
.sidebar { width: 270px; flex-shrink: 0; }
.sidebar h3 {
  font-size: 15px; color: var(--primary-dark); padding: 0 0 12px; margin-bottom: 8px;
  border-bottom: 2px solid var(--primary); text-transform: uppercase; letter-spacing: 0.5px;
}
/* --- Sidebar Categories (nc_browse_sub: .categories > ul > li) --- */
.categories > ul {
  display: flex; flex-direction: column; gap: 0;
}
.categories > ul > li {
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.categories > ul > li:last-child { border: none; }
.categories > ul > li > a {
  padding: 10px 0; color: var(--text); font-size: 14px; border: none; flex: 1;
}
.categories > ul > li > a:hover {
  color: var(--accent); padding-left: 4px;
}
/* Active category */
.categories > ul > li.active-li > a { color: var(--primary-dark); font-weight: 600; }
.categories .podmenu li.active_li > a { color: var(--primary-dark); font-weight: 600; }
.count { font-size: 12px; color: var(--text-light); }
.content { flex: 1; min-width: 0; }
.breadcrumbs {
  font-size: 13px; color: var(--text-muted);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateX(-15px);
  animation: breadcrumbsIn 0.5s ease 0.2s forwards;
}
.breadcrumbs a { color: var(--link); border: none; }
.breadcrumbs a:hover { color: var(--accent); }

/* Анимация появления хлебных крошек слева направо */
@keyframes breadcrumbsIn {
  from {
    opacity: 0;
    transform: translateX(-15px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/* --- Sidebar submenu (podmenu 2nd & 3rd level) --- */
.categories .podmenu {
  width: 100%;
  padding-left: 16px;
}
.categories .podmenu li {
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.categories .podmenu li a {
  font-size: 13px; padding: 6px 0;
  color: var(--text-muted) !important;
  border: none; flex: 1;
}
.categories .podmenu li a:hover {
  color: var(--accent) !important;
  padding-left: 4px;
}
/* --- Products Grid --- */
/* --- Products Grid (classic design) --- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* --- Product Preview (NetCat catalog listing) --- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.product-preview {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  padding: 12px;
  gap: 0;
  position: relative;
  cursor: pointer;
  min-width: 0;
  height: 100%;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: transform .3s ease, box-shadow .3s ease;
  contain: none !important;
  justify-self: stretch;
  width: 100%;
  color: inherit;
  text-decoration: none;
}
.product-preview:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
}

/* Image block */
.product-preview .image {
  display: block !important;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border) !important;
  overflow: hidden;
  background: linear-gradient(135deg, #edf2f7, #e2e8f0);
  background-size: contain; background-position: center; background-repeat: no-repeat;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 !important;
  margin: 0 0 12px;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease, filter 0.6s ease;
  will-change: filter;
}

/* Blur-up эффект при lazy loading изображений */
.product-preview .image.blur-loading {
  filter: blur(16px);
  transform: scale(1.08);
}

.product-preview .image:hover {
  border-color: var(--primary-light) !important;
  box-shadow: 0 12px 36px rgba(61,126,163,0.35), 0 0 0 4px rgba(61,126,163,0.18);
  transform: scale(1.05);
}
.product-preview .image img {
  display: block;
  width: 100% !important; height: 100% !important;
  object-fit: contain;
  border: none !important;
}

.product-preview__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.product-preview .title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  margin: 0;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--primary-dark);
  text-decoration: none;
  transition: color .25s ease;
  white-space: normal;
  overflow-wrap: break-word;
}
.product-preview:hover .title {
  color: var(--primary-dark);
}
.product-preview__footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  min-height: 0;
}
.product-preview .price {
  font-size: 16px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--primary-dark);
  padding: 0;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.product-preview .price--rub::after {
  content: ' ₽';
  font-size: 0.9em;
  font-weight: 500;
}
.product-preview .price--eur::after {
  content: none;
}
.product-preview .price__currency {
  margin-left: 0.2em;
}
.product-preview:hover .price {
  color: var(--primary-dark);
}

/* Hide <br /> */
.product-preview br { display: none; }

/* --- Entrance animation for product cards (без opacity — цена не мигает) --- */
@keyframes fadeInUp {
  from {
    transform: translateY(12px);
  }
  to {
    transform: translateY(0);
  }
}
.product-preview.is-animated {
  animation: fadeInUp 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}
.product-preview.is-animated:nth-child(1) { animation-delay: 0s; }
.product-preview.is-animated:nth-child(2) { animation-delay: 0.08s; }
.product-preview.is-animated:nth-child(3) { animation-delay: 0.16s; }
.product-preview.is-animated:nth-child(4) { animation-delay: 0.24s; }
.product-preview.is-animated:nth-child(5) { animation-delay: 0.32s; }
.product-preview.is-animated:nth-child(6) { animation-delay: 0.4s; }
.product-preview.is-animated:nth-child(n+7) { animation-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .product-preview.is-animated { animation: none !important; }
  .product-preview { opacity: 1 !important; }
}

/* --- Skeleton loading shimmer for product cards --- */

/* Анимация бегущего блика */
@keyframes skeleton-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Состояние загрузки: показываем скелет вместо контента */
.product-preview.is-loading {
  opacity: 1;
}

/* Блик поверх изображения */
.product-preview.is-loading .image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 100%
  );
  animation: skeleton-shimmer 1.8s ease-in-out infinite;
  pointer-events: none;
}

/* Скелет для названия товара */
.product-preview.is-loading .title {
  display: block !important;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  width: 75%;
  height: 16px;
  margin-top: 0;
  background: linear-gradient(135deg, #e2e8f0 0%, #edf2f7 50%, #e2e8f0 100%);
  border-radius: 4px;
  color: transparent !important;
  position: relative;
  overflow: hidden;
  padding: 0 4px !important;
}

.product-preview.is-loading .title::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.5) 50%, transparent 100%);
  animation: skeleton-shimmer 1.8s ease-in-out infinite;
}

/* Цену не маскируем скелетоном — остаётся видимой при загрузке карточки */
.product-preview.is-loading .product-preview__footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

/* Скелет для бейджа */
.product-preview.is-loading .product-badge {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .product-preview.is-loading .image::before,
  .product-preview.is-loading .title::after {
    animation: none !important;
    display: none;
  }
  .product-preview.is-loading .title {
    background: #e2e8f0;
  }
}

@media (max-width: 768px) {
  .products, .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .products, .products-grid { grid-template-columns: 1fr; }
}
.product-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 18px; position: relative;
  transition: box-shadow .25s, transform .25s;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--accent); color: #fff; padding: 2px 10px;
  border-radius: 10px; font-size: 11px; font-weight: 700;
}
.product-img {
  height: 120px; background: linear-gradient(135deg, #edf2f7, #e2e8f0);
  border-radius: var(--radius-sm); margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; color: var(--text-muted); font-weight: 500;
  overflow: hidden;
}
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card h4 { margin-bottom: 6px; }
.product-card h4 a { color: var(--primary-dark); border: none; font-size: 14px; }
.product-card h4 a:hover { color: var(--link); }
.product-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 17px; font-weight: 700; color: var(--primary-dark); }
.product-cart {
  display: inline-block; background: var(--primary);
  color: #fff; padding: 7px 16px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 500; border: none; }

/* --- Sitemap --- */
.sitemap { padding: 20px 0; }
.sitemap ul { list-style: none; padding-left: 24px; margin: 0; }
.sitemap > ul { padding-left: 0; }
.sitemap li {
  padding: 6px 0;
  position: relative;
}
.sitemap li::before {
  content: '';
  position: absolute;
  left: -16px;
  top: 14px;
  width: 10px;
  height: 1px;
  background: var(--border);
}
.sitemap a {
  color: var(--link);
  font-size: 14px;
  border: none;
  transition: color .2s, padding-left .2s;
}
.sitemap a:hover {
  color: var(--accent);
  padding-left: 4px;
}
.sitemap li > a {
  font-weight: 500;
}
.sitemap li li > a {
  font-weight: 400;
  color: var(--text);
}

/* --- Site Footer --- */

/* --- Hero / Slider --- */
.hero {
  position: relative;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 100px 40px; text-align: center; overflow: hidden;
  min-height: 420px; display: flex; align-items: center; justify-content: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,20,45,0.82) 0%, rgba(0,0,0,0.65) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 720px; margin: 0 auto;
}
.hero h1 {
  color: #fff; font-size: 38px; margin-bottom: 16px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero p {
  color: rgba(255,255,255,0.85); font-size: 17px;
  margin-bottom: 28px; line-height: 1.7;
}
.hero .badge {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff; padding: 5px 18px; border-radius: 20px;
  font-size: 11px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 16px;
}
.hero .hero-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ea580c, #dc2626);
  color: #fff; padding: 14px 38px; border-radius: 6px;
  font-size: 15px; font-weight: 600; border: none;
  box-shadow: 0 4px 15px rgba(220,38,38,0.3);
  transition: transform .2s, box-shadow .2s;
}
.hero .hero-btn:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220,38,38,0.4);
}
.hero-dots {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%); display: flex; gap: 10px; z-index: 2;
}
.hero-dots .dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background 0.3s;
}
.hero-dots .dot.active,
.hero-dots .dot:hover { background: #fff; }
.site-footer {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: rgba(255,255,255,0.8); padding: 40px 40px 0;
  content-visibility: auto;
  contain-intrinsic-size: 250px;
}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 30px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 14px; }
.footer-col p, .footer-col a { font-size: 13px; line-height: 1.8; }
.footer-col a { display: block; color: rgba(255,255,255,0.7); border: none; }
.footer-col a:hover { color: #fff; padding-left: 4px; }
.footer-col .footer-callback a {
  display: inline-block; color: rgba(255,255,255,0.7);
  text-decoration: underline; font-size: 13px; border: none;
}
.footer-col .footer-callback a:hover { color: #fff; padding-left: 4px; text-decoration: none; }

.footer-social {
  display: flex; gap: 10px; margin-top: 14px;
}
.footer-social .social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7);
  transition: all 0.2s ease; border: none;
}
.footer-social .social-link:hover {
  background: rgba(255,255,255,0.2); color: #fff;
  padding-left: 0; transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 16px 0; text-align: center; font-size: 13px; color: rgba(255,255,255,0.5);
}

/* --- Hero CSS Variables --- */
:root {
  --hero-badge-from: #2563eb;
  --hero-badge-to: #1d4ed8;
  --hero-btn-from: #ea580c;
  --hero-btn-to: #dc2626;
}

/* --- Hero Parallax & Entrance Animation --- */

/* Анимация появления контента hero-секции */
.hero-content {
  animation: heroContentIn 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Каждый дочерний элемент появляется со своей задержкой */
.hero-content .badge {
  opacity: 0;
  animation: heroElementIn 0.5s ease 0.15s forwards;
}
.hero-content h1 {
  opacity: 0;
  animation: heroElementIn 0.6s ease 0.35s forwards;
}
.hero-content p {
  opacity: 0;
  animation: heroElementIn 0.6s ease 0.55s forwards;
}
.hero-content .hero-btn {
  opacity: 0;
  animation: heroElementIn 0.6s ease 0.8s forwards;
}

/* Ключевые кадры */
@keyframes heroContentIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroElementIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Отключаем фиксированный фон + адаптив на мобильных */
@media (max-width: 768px) {
  .hero { background-attachment: scroll; padding: 60px 20px; min-height: 320px; }
  .hero h1 { font-size: 26px; }
  .hero p { font-size: 15px; }
  .hero .hero-btn { padding: 12px 28px; font-size: 14px; }
}

/* Для пользователей, предпочитающих минимум анимации */
@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .hero-content .badge,
  .hero-content h1,
  .hero-content p,
  .hero-content .hero-btn {
    animation: none !important;
    opacity: 1 !important;
  }
  .feature-number.visible {
    opacity: 1 !important;
  }
  .breadcrumbs {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  #page-progress-bar {
    display: none;
  }
  
  /* Микроанимации hover */
  .categories > ul > li > a::after,
  .categories .podmenu li a::after,
  .breadcrumbs a::after,
  .sitemap a::after,
  .header-email::after,
  .description-trigger span {
    border-bottom-style: dashed !important;
  }
  .hero-btn:hover,
  .hero .hero-btn:hover,
  .product-cart:hover,
  .inner-card--controls .controls-button.popup-opener-button:hover,
  .main-nav .pole_mini_search input[type="submit"]:hover,
  button:hover,
  input[type="submit"]:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  .product-preview .image:hover {
    transform: none !important;
    box-shadow: 0 10px 32px rgba(61,126,163,0.3), 0 0 0 4px rgba(61,126,163,0.15) !important;
  }
  .footer-social .social-link:hover {
    transform: translateY(-2px) !important;
    box-shadow: none !important;
  }
}

/* --- Progress bar загрузки страницы --- */
#page-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 999999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}
#page-progress.active {
  opacity: 1;
}
#page-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 10px rgba(61, 126, 163, 0.4);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: width;
}
#page-progress.done {
  opacity: 0;
  transition: opacity 0.5s ease 0.3s;
}
#page-progress.done #page-progress-bar {
  width: 100% !important;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

/* --- Feature counters animation --- */
.feature-number {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}
.feature-number.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Микроанимации при наведении (hover micro-animations) --- */

/* 1. Underline slide для текстовых ссылок */
/* Подчёркивание наезжает слева направо при наведении */
.categories > ul > li > a,
.categories .podmenu li a,
.breadcrumbs a,
.sitemap a,
.header-email,
.description-trigger span {
  position: relative;
  border-bottom: 1px dashed var(--link);
  transition: color .2s, border-color .2s;
}
.description-trigger span:hover {
  border-bottom-style: solid;
}

.categories > ul > li > a::after,
.categories .podmenu li a::after,
.breadcrumbs a::after,
.sitemap a::after,
.header-email::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  opacity: 0.7;
}

.categories > ul > li > a:hover::after,
.categories .podmenu li a:hover::after,
.breadcrumbs a:hover::after,
.sitemap a:hover::after,
.header-email:hover::after {
  transform: scaleX(1);
}

/* 2. Scale + glow для кнопок */
/* Лёгкое увеличение и подсветка тенью при наведении */
.hero-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 28px rgba(208,64,0,0.45);
}
.hero .hero-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 28px rgba(220,38,38,0.45);
}
.product-cart:hover {
  transform: scale(1.06);
  box-shadow: 0 4px 15px rgba(27,85,118,0.35);
}
.inner-card--controls .controls-button.popup-opener-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(208, 64, 0, 0.4);
}
.main-nav .pole_mini_search input[type="submit"]:hover {
  transform: scale(1.06);
  box-shadow: 0 3px 12px rgba(208,64,0,0.4);
}
button:hover,
input[type="submit"]:hover {
  transform: scale(1.04);
}

/* 3. Подсветка иконок соцсетей */
.footer-social .social-link:hover {
  transform: translateY(-3px) scale(1.12);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
