/* Промышленный каталог Secutex / Secuflex */
:root {
  --bg-dark: #141821;
  --bg-header: #1B202B;
  --bg-nav: #232A38;
  --bg-page: #F4F6F8;
  --bg-card: #FFFFFF;
  --bg-subtle: #EDF0F4;
  --text-main: #181D26;
  --text-secondary: #374151;
  --text-muted: #64748B;
  --accent: #E05600;
  --accent-hover: #BF4800;
  --blue-link: #005A9C;
  --border-color: #DCE1E8;
  --border-strong: #C4CDD8;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-page);
  line-height: 1.55;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--blue-link);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--accent);
}

.container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Верхняя информационная полоса */
.topbar {
  background: var(--bg-dark);
  color: #CBD5E1;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 7px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: #94A3B8;
}

.topbar-left strong {
  color: #F1F5F9;
  font-weight: 600;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar-phone-link {
  color: #FDBA74;
  font-weight: 700;
  font-size: 14px;
}

.topbar-phone-link:hover {
  color: #FFFFFF;
}

/* Шапка сайта */
.site-header {
  background: var(--bg-header);
  color: #FFFFFF;
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #FFFFFF;
}

.brand-logo:hover {
  color: #FFFFFF;
}

.brand-mark {
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 17px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #FFFFFF;
  line-height: 1.2;
}

.brand-subtitle {
  font-size: 12.5px;
  color: #9CA3AF;
}

.header-search-wrap {
  flex: 1;
  max-width: 460px;
  min-width: 240px;
  position: relative;
}

.header-search-input {
  width: 100%;
  background: #283040;
  border: 1px solid #3E485B;
  color: #FFFFFF;
  padding: 9px 14px 9px 36px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  outline: none;
  transition: border-color 0.15s;
}

.header-search-input::placeholder {
  color: #9CA3AF;
}

.header-search-input:focus {
  border-color: var(--accent);
  background: #1E2532;
}

.header-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9CA3AF;
  pointer-events: none;
  font-size: 13px;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  color: var(--text-main);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  border: 1px solid var(--border-strong);
  max-height: 400px;
  overflow-y: auto;
  display: none;
  z-index: 1200;
}

.search-dropdown.active {
  display: block;
}

.search-result-item {
  display: block;
  padding: 9px 14px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 13px;
}

.search-result-item:hover {
  background: #FFF7ED;
  color: var(--accent);
}

.search-result-title {
  font-weight: 700;
  margin-bottom: 2px;
}

.search-result-meta {
  font-size: 12px;
  color: var(--text-muted);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 15px;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
  white-space: nowrap;
}

.phone-cta-btn:hover {
  background: var(--accent-hover);
}

/* Главное меню — помещается целиком на экран в 2 компактных ряда без прокрутки */
.nav-bar {
  background: var(--bg-nav);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 6px 0;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  list-style: none;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #D1D5DB;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.nav-link:hover, .nav-link.active {
  background: var(--accent);
  color: #FFFFFF;
  border-color: var(--accent);
}

/* Хлебные крошки */
.breadcrumbs-bar {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-color);
  padding: 9px 0;
  font-size: 13px;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  color: var(--text-muted);
}

.breadcrumbs-list li::after {
  content: "/";
  margin-left: 8px;
  color: #94A3B8;
}

.breadcrumbs-list li:last-child::after {
  content: "";
}

.breadcrumbs-list a {
  color: var(--text-secondary);
}

.breadcrumbs-list a:hover {
  color: var(--accent);
}

/* Промо-блок на главной и в заголовках разделов */
.hero {
  background: #1B202B;
  color: #FFFFFF;
  padding: 36px 0;
  border-bottom: 1px solid #2E3646;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-kicker {
  display: inline-block;
  background: rgba(224, 86, 0, 0.18);
  border: 1px solid rgba(224, 86, 0, 0.45);
  color: #FDBA74;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.hero-lead {
  font-size: 15px;
  color: #D1D5DB;
  margin-bottom: 20px;
  max-width: 780px;
}

.hero-contact-card {
  background: #232A38;
  border: 1px solid #374151;
  border-top: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 22px;
}

.hero-contact-title {
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.hero-contact-desc {
  font-size: 13.5px;
  color: #CBD5E1;
  margin-bottom: 14px;
}

.hero-phone-box {
  background: #141821;
  border: 1px solid #374151;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  text-align: center;
  margin-bottom: 14px;
}

.hero-phone-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #9CA3AF;
  margin-bottom: 4px;
}

.hero-phone-number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #FDBA74 !important;
  letter-spacing: 0.4px;
}

.hero-contact-list {
  list-style: none;
  font-size: 13px;
  color: #CBD5E1;
}

.hero-contact-list li {
  padding: 3px 0;
}

/* Компактное меню навигации внутри раздела (вмещается целиком на экран без прокрутки фрейма) */
.compact-nav-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 22px 0;
}

.compact-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-color);
}

.compact-nav-title {
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-main);
}

.compact-nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 6px 10px;
  list-style: none;
}

.compact-nav-grid li a {
  display: block;
  font-size: 12.5px;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  line-height: 1.3;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.compact-nav-grid li a:hover, .compact-nav-grid li a.active {
  background: #FFF7ED;
  border-color: var(--accent);
  color: var(--accent);
  font-weight: 600;
}

/* Карточки разделов на главной */
.section-block {
  padding: 34px 0;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.section-heading {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
}

.section-subheading {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.sections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
}

.section-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.section-card:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.section-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.section-badge {
  background: #FFF7ED;
  color: var(--accent);
  border: 1px solid #FDBA74;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--radius-sm);
}

.section-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-main);
}

.section-card-en {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.section-items-preview {
  list-style: none;
  margin: 8px 0 16px;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
}

.section-items-preview li {
  padding: 3.5px 0;
}

.section-items-preview li a {
  color: var(--text-secondary);
}

.section-items-preview li a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-header);
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.btn-primary:hover {
  background: var(--accent);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #FFFFFF;
  color: var(--text-main) !important;
  border: 1px solid var(--border-strong);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: border-color 0.15s, color 0.15s;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}

/* Карточка товара / серии */
.product-article {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
  margin-bottom: 24px;
}

.subsection-banner {
  background: var(--bg-header);
  color: #FFFFFF;
  padding: 13px 18px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
  margin: 26px 0 16px;
  font-size: 17px;
  font-weight: 700;
}

.product-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.product-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.product-code-badge {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  border: 1px solid var(--border-strong);
  font-weight: 700;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
}

.product-page-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--blue-link);
}

.product-page-link:hover {
  color: var(--accent);
  text-decoration: underline;
}

.product-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.3;
}

.product-model-bar {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.product-description {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 12px 0;
  line-height: 1.65;
}

.product-subheading {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin: 18px 0 10px;
}

.dash-list {
  list-style: none;
  margin: 10px 0 16px;
  padding-left: 4px;
}

.dash-list li {
  position: relative;
  padding: 4px 0 4px 18px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.dash-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 4px;
  font-weight: 700;
  color: var(--accent);
}

/* Крупные изображения товаров без лишних текстовых ссылок под ними */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 18px;
  margin: 18px 0;
}

.image-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #FFFFFF;
}

.image-frame {
  height: 340px;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.image-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Блок PDF документации */
.pdf-box {
  background: #F8FAFC;
  border: 1px solid var(--border-strong);
  border-left: 4px solid #B91C1C;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.pdf-box-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
}

.pdf-badge {
  background: #B91C1C;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}

/* Таблицы характеристик */
.table-wrapper {
  margin: 18px 0;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #FFFFFF;
}

.table-toolbar {
  background: var(--bg-subtle);
  padding: 9px 14px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.table-toolbar-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
}

.table-filter-input {
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 13px;
  min-width: 240px;
  background: #FFFFFF;
  outline: none;
}

.table-filter-input:focus {
  border-color: var(--accent);
}

.table-scroll {
  overflow-x: auto;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.spec-table th {
  background: #232A38;
  color: #FFFFFF;
  font-weight: 600;
  text-align: left;
  padding: 10px 12px;
  border-right: 1px solid #374151;
  white-space: nowrap;
}

.spec-table th:last-child {
  border-right: none;
}

.spec-table td {
  padding: 8.5px 12px;
  border-bottom: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  color: var(--text-main);
  vertical-align: middle;
}

.spec-table td:last-child {
  border-right: none;
}

.spec-table tbody tr:nth-child(even) {
  background: #F9FAFB;
}

.spec-table tbody tr:hover {
  background: #FFF7ED;
}

.sku-code {
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  color: #1E293B;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-weight: 600;
  font-size: 12.5px;
  padding: 2px 6px;
  border-radius: 3px;
  cursor: pointer;
  display: inline-block;
  transition: background 0.15s, border-color 0.15s;
}

.sku-code:hover {
  background: #FFEDD5;
  border-color: var(--accent);
  color: #9A3412;
}

.color-pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
}

/* Блок артикулов внутри карточки товара */
.seo-sku-box {
  margin-top: 16px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.seo-sku-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.seo-sku-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* Плашка телефона внутри карточки */
.direct-order-strip {
  margin-top: 18px;
  background: #1B202B;
  color: #FFFFFF;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.direct-order-text {
  font-size: 14px;
  color: #E2E8F0;
}

.direct-order-text strong {
  color: #FFFFFF;
  display: block;
  font-size: 14.5px;
  margin-bottom: 2px;
}

/* Подвал сайта */
.site-footer {
  background: var(--bg-dark);
  color: #9CA3AF;
  padding: 42px 0 26px;
  margin-top: auto;
  border-top: 3px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 0.9fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

@media (max-width: 960px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  color: #F3F4F6;
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  font-size: 13px;
}

.footer-links li {
  margin-bottom: 6px;
}

.footer-links a {
  color: #9CA3AF;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  font-size: 12px;
  color: #6B7280;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-dev-credit {
  color: #64748B;
  font-size: 11.5px;
}

/* Кнопка быстрого вызова */
.floating-phone {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--accent);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 14.5px;
  padding: 11px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 8px;
}

.floating-phone:hover {
  background: var(--accent-hover);
}

/* Уведомление о копировании артикула */
.copy-toast {
  position: fixed;
  bottom: 74px;
  right: 20px;
  background: #1B202B;
  color: #FFFFFF;
  border-left: 4px solid var(--accent);
  padding: 11px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  z-index: 1300;
  display: none;
}

.copy-toast.show {
  display: block;
}
