/* Единая индустриальная визуальная система для рабочего сайта.
   Контент, цены, ссылки и механики намеренно не меняются. */
:root {
  --industrial-bg: #0b1217;
  --industrial-panel: #121c23;
  --industrial-panel-2: #17242c;
  --industrial-line: rgba(255,255,255,.14);
  --industrial-text: #f3f5f6;
  --industrial-muted: #aeb9bf;
  --industrial-accent: #f24a24;
  --industrial-radius: 20px;
  --industrial-content: min(1440px, calc(100% - 64px));
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  width: 100%;
  margin: 0 !important;
  background: var(--industrial-bg) !important;
  color: var(--industrial-text) !important;
  font-family: Inter, Manrope, Arial, sans-serif !important;
  line-height: 1.45;
  overflow-x: hidden;
}
img, video { max-width: 100%; }
img[src=""] { display: none !important; }
a, button, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 2px solid var(--industrial-accent); outline-offset: 3px; }

/* Шапка */
.head_includes {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #0b1217 !important;
  border-bottom: 1px solid var(--industrial-line);
  box-shadow: 0 12px 36px rgba(0,0,0,.18);
}
.head_includes > #foton-0head-id {
  width: min(1440px, calc(100% - 64px)) !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 22px !important;
  background: transparent !important;
  color: var(--industrial-text) !important;
}
.head_includes > #foton-0head-id:first-child { min-height: 76px !important; }
.head_includes > #foton-0head-id:nth-child(2) {
  min-height: 48px !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  border-top: 1px solid rgba(255,255,255,.08);
}
.head_includes #foton-1head-id,
.head_includes .mainhref {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: var(--industrial-text) !important;
}
.head_includes #foton-2head-id { width: 54px !important; height: auto !important; }
.head_includes #foton-3head-id { color: var(--industrial-text) !important; font-size: 16px !important; font-weight: 900 !important; line-height: .9 !important; letter-spacing: -.03em !important; }
.head_includes #foton-4head-id { display: none !important; }
.head_includes #foton-5head-id {
  display: grid !important;
  grid-template-columns: 18px minmax(0, auto) !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  gap: 5px 9px !important;
  color: var(--industrial-muted) !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
}
.head_includes #foton-6head-id { grid-column: 1 !important; grid-row: 1 !important; }
.head_includes #foton-7head-id { grid-column: 2 !important; grid-row: 1 !important; }
.head_includes #foton-8head-id { grid-column: 1 !important; grid-row: 2 !important; }
.head_includes #foton-9head-id { grid-column: 2 !important; grid-row: 2 !important; }
.head_includes #foton-6head-id,
.head_includes #foton-8head-id { position: static !important; width: 18px !important; height: 18px !important; margin: 0 !important; object-fit: contain !important; filter: brightness(0) invert(1) !important; opacity: .65 !important; }
.head_includes #foton-7head-id,
.head_includes #foton-9head-id { width: auto !important; margin: 0 !important; color: var(--industrial-muted) !important; white-space: nowrap !important; }
.head_includes #foton-10head-id { display: flex !important; align-items: center !important; gap: 12px !important; }
.head_includes #foton-11head-id { display: grid !important; width: 42px !important; height: 42px !important; place-items: center !important; }
.head_includes #foton-12head-id { width: 38px !important; height: 38px !important; object-fit: contain !important; }
.head_includes #foton-13head-id,
.head_includes .phone {
  width: auto !important;
  min-height: 42px !important;
  padding: 0 16px !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: #fff !important;
  font-weight: 800 !important;
}
.head_includes #foton-16head-id { flex: 0 0 auto !important; width: auto !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; background: transparent !important; }
.head_includes #foton-17head-id { display: block !important; padding: 14px 12px !important; border-bottom: 2px solid transparent !important; background: transparent !important; color: rgba(255,255,255,.74) !important; font-size: 13px !important; font-weight: 750 !important; text-decoration: none !important; }
.head_includes #foton-17head-id { border-radius: 9px !important; transition: background-color .2s ease, color .2s ease !important; }
.head_includes #foton-17head-id:hover { border-bottom-color: transparent !important; background: var(--industrial-accent) !important; color: #fff !important; }
.head_includes .catalog-nav { position: relative !important; }
.head_includes .menucathead { border-color: var(--industrial-line) !important; background: #121c23 !important; box-shadow: 0 18px 42px rgba(0,0,0,.25) !important; }
.head_includes .menucathead a { color: #fff !important; }

/* Главная: сохраняем те же разделы и товары, меняем только подачу. */
.html_includes { background: var(--industrial-bg) !important; }
.html_includes > #foton-0html-id {
  width: min(1440px, calc(100% - 64px)) !important;
  margin: 46px auto 0 !important;
  display: grid !important;
  grid-template-columns: repeat(12, 1fr) !important;
  gap: 16px !important;
}
.html_includes > #foton-0html-id > #foton-1html-id {
  grid-column: span 6 !important;
  min-height: 320px !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: var(--industrial-panel) !important;
  box-shadow: none !important;
}
.html_includes > #foton-0html-id > #foton-1html-id:nth-child(1),
.html_includes > #foton-0html-id > #foton-1html-id:nth-child(4) { grid-column: span 7 !important; }
.html_includes > #foton-0html-id > #foton-1html-id:nth-child(2),
.html_includes > #foton-0html-id > #foton-1html-id:nth-child(3) { grid-column: span 5 !important; }
.html_includes > #foton-0html-id #foton-2html-id { width: 100% !important; height: 100% !important; object-fit: cover !important; }
.html_includes > #foton-0html-id #foton-3html-id { color: #fff !important; font-size: clamp(28px, 3vw, 48px) !important; font-weight: 900 !important; letter-spacing: -.05em !important; text-shadow: 0 3px 20px rgba(0,0,0,.55) !important; }
.html_includes > #foton-4html-id { width: min(1440px, calc(100% - 64px)) !important; margin: 26px auto !important; border: 1px solid rgba(242,74,36,.7) !important; background: #141f26 !important; }
.html_includes > #foton-5html-id { color: #fff !important; font-weight: 800 !important; }

/* Унифицированные блоки видео, поставки, слайдеры и отзывы. */
.company-video,
.delivery-showcase {
  border-color: var(--industrial-line) !important;
  background: var(--industrial-panel) !important;
  box-shadow: none !important;
}
.company-video__copy,
.delivery-showcase__copy { background: var(--industrial-panel) !important; color: #fff !important; }
.company-video__copy h2,
.delivery-showcase h2 { color: #fff !important; }
.company-video__copy p,
.delivery-showcase__copy > p { color: var(--industrial-muted) !important; }
.company-video__facts,
.delivery-showcase__photos figure { border-color: var(--industrial-line) !important; background: var(--industrial-panel-2) !important; }
.company-video__facts span,
.delivery-showcase__photos figcaption { color: #fff !important; }
.company-video__button { background: var(--industrial-accent) !important; color: #fff !important; }
.company-video__button b { color: var(--industrial-bg) !important; }

/* Ряды товаров и отзывы на главной — без изменения ассортимента. */
.itemmain,
#foton-7html-id { background: var(--industrial-bg) !important; }
#foton-7html-id { width: min(1440px, calc(100% - 64px)) !important; margin: 0 auto !important; padding: 58px 0 !important; }
#foton-8html-id { min-height: 0 !important; padding: 0 0 22px !important; background: transparent !important; }
#foton-9html-id { color: #fff !important; font-size: clamp(32px, 4vw, 58px) !important; font-weight: 900 !important; letter-spacing: -.055em !important; text-transform: uppercase !important; text-decoration: none !important; }
#foton-10html-id { background: var(--industrial-accent) !important; }
#foton-11html-id { overflow: visible !important; }
#foton-12html-id { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 18px !important; width: 100% !important; }
#foton-13html-id { width: auto !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; border: 1px solid var(--industrial-line) !important; border-radius: 18px !important; background: var(--industrial-panel) !important; box-shadow: none !important; }
#foton-14html-id { display: block !important; height: 250px !important; overflow: hidden !important; }
#foton-15html-id { width: 100% !important; height: 100% !important; object-fit: cover !important; }
#foton-16html-id { min-height: 54px !important; margin: 0 !important; padding: 19px 20px 5px !important; color: #fff !important; font-size: 18px !important; font-weight: 800 !important; line-height: 1.15 !important; }
#foton-17html-id { margin: 0 !important; padding: 0 20px 20px !important; }
#foton-18html-id { color: var(--industrial-accent) !important; font-size: 22px !important; font-weight: 900 !important; text-decoration: none !important; }
#foton-20html-id,
#foton-30html-id { background: #0d171d !important; color: #fff !important; }
#foton-24html-id,
#foton-34html-id { border-color: var(--industrial-line) !important; background: var(--industrial-panel) !important; color: #fff !important; box-shadow: none !important; }
#foton-42html-id { width: min(1120px, calc(100% - 64px)) !important; margin: 0 auto !important; padding: 68px 0 !important; color: var(--industrial-muted) !important; }
#foton-42html-id h1,
#foton-42html-id h2,
#foton-42html-id h3 { color: #fff !important; }

/* Каталоги и фильтры размеров. */
.catalog_includes { min-height: 70vh; padding: 46px 0 86px !important; background: var(--industrial-bg) !important; }
#foton-0catalog-id { width: min(1440px, calc(100% - 64px)) !important; margin: 0 auto !important; color: var(--industrial-text) !important; }
#foton-0catalog-id > * { min-width: 0 !important; }
#foton-1catalog-id { width: 100% !important; display: flex !important; gap: 8px !important; flex-wrap: wrap !important; padding: 0 0 30px !important; }
#foton-2catalog-id { width: auto !important; margin: 0 !important; }
#foton-3catalog-id { display: block !important; width: auto !important; padding: 11px 15px !important; border: 1px solid var(--industrial-line) !important; border-radius: 999px !important; color: #fff !important; background: transparent !important; font-size: 13px !important; font-weight: 750 !important; }
#foton-3catalog-id:hover { border-color: var(--industrial-accent) !important; background: rgba(242,74,36,.12) !important; }
#foton-6catalog-id { padding-top: 14px !important; }
#foton-8catalog-id,
#foton-15catalog-id { color: #fff !important; }
#foton-15catalog-id { margin: 22px 0 28px !important; font-size: clamp(38px, 5vw, 72px) !important; font-weight: 900 !important; line-height: .92 !important; letter-spacing: -.06em !important; text-transform: uppercase !important; }
#foton-9catalog-id, #foton-11catalog-id { color: var(--industrial-muted) !important; }
.product-size-filter { border-color: var(--industrial-line) !important; background: var(--industrial-panel) !important; box-shadow: none !important; }
.product-size-filter__heading strong, .product-size-filter__heading span, .product-size-filter__result { color: #fff !important; }
.product-size-filter__heading p { color: var(--industrial-muted) !important; }
.product-size-filter__tab { border-color: var(--industrial-line) !important; background: transparent !important; color: #fff !important; }
.product-size-filter__tab:hover, .product-size-filter__tab.is-active { border-color: var(--industrial-accent) !important; background: var(--industrial-accent) !important; color: #fff !important; }
#foton-17catalog-id { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 18px !important; width: 100% !important; }
#foton-18catalog-id { width: auto !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; overflow: hidden !important; border: 1px solid var(--industrial-line) !important; border-radius: 18px !important; background: var(--industrial-panel) !important; transition: transform .22s ease, border-color .22s ease !important; }
#foton-18catalog-id:hover { transform: translateY(-4px) !important; border-color: rgba(242,74,36,.82) !important; }
#foton-19catalog-id { display: block !important; overflow: hidden !important; background: #1a252b !important; }
#foton-20catalog-id { width: 100% !important; height: 250px !important; margin: 0 !important; }
#foton-20catalog-id img { width: 100% !important; height: 100% !important; object-fit: cover !important; }
#foton-21catalog-id { min-height: 62px !important; padding: 20px 20px 4px !important; color: #fff !important; font-size: 19px !important; font-weight: 800 !important; line-height: 1.15 !important; }
#foton-22catalog-id { padding: 0 20px 22px !important; }
#foton-23catalog-id { color: var(--industrial-accent) !important; font-size: 22px !important; font-weight: 900 !important; text-decoration: none !important; }
#foton-40catalog-id {
  width: min(1120px, calc(100% - 64px)) !important;
  margin: 0 auto 84px !important;
  padding: 38px !important;
  border: 1px solid var(--industrial-line) !important;
  border-radius: var(--industrial-radius) !important;
  background: var(--industrial-panel) !important;
  color: var(--industrial-muted) !important;
  line-height: 1.65 !important;
}
#foton-40catalog-id h1, #foton-40catalog-id h2, #foton-40catalog-id h3, #foton-40catalog-id strong { color: #fff !important; }
#foton-40catalog-id h1 { font-size: clamp(30px, 4vw, 54px) !important; line-height: 1 !important; letter-spacing: -.045em !important; }
#foton-40catalog-id h2 { margin-top: 42px !important; font-size: clamp(25px, 3vw, 38px) !important; line-height: 1.08 !important; }
#foton-40catalog-id h3 { margin-top: 26px !important; }
#foton-40catalog-id a { color: var(--industrial-accent) !important; text-decoration: none !important; }
#foton-40catalog-id hr { border: 0 !important; border-top: 1px solid var(--industrial-line) !important; margin: 38px 0 !important; }

/* Страницы товара: светлая архитектурная витрина под тёмной шапкой. */
.item_includes { min-height: 70vh; padding: 48px 0 150px !important; background: #f6f5f1 !important; }
#foton-0item-id { width: min(1560px, calc(100% - 64px)) !important; margin: 0 auto !important; color: #151b20 !important; }
#foton-1item-id { color: #727b82 !important; }
#foton-4item-id { color: #727b82 !important; text-decoration: none !important; }
#foton-4item-id:hover { color: var(--industrial-accent) !important; }
#foton-12item-id { color: #727b82 !important; }
#foton-13item-id { width: 100% !important; margin: 24px 0 34px !important; color: #11171b !important; font-size: clamp(42px, 5vw, 78px) !important; font-weight: 900 !important; line-height: .92 !important; letter-spacing: -.06em !important; text-transform: uppercase !important; }
#foton-14item-id { position: relative !important; width: 100% !important; display: grid !important; grid-template-columns: minmax(0, 1.08fr) minmax(480px, .92fr) !important; align-items: start !important; gap: 0 46px !important; margin: 0 !important; padding: 0 !important; background: transparent !important; color: #151b20 !important; }
#foton-15item-id { position: relative !important; grid-row: 1 / span 6; min-width: 0 !important; overflow: hidden !important; border: 1px solid #deded9 !important; border-radius: 22px !important; background: #e9e9e5 !important; box-shadow: 0 22px 60px rgba(22,28,32,.09) !important; }
#foton-16item-id { height: 720px !important; }
#foton-17item-id { min-width: 0 !important; height: 100% !important; }
#foton-18item-id { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center 62% !important; }
#foton-19item-id { width: auto !important; margin: 0 !important; padding: 15px 0 !important; border-bottom: 1px solid #dadeda !important; color: #171d21 !important; font-size: 16px !important; line-height: 1.45 !important; }
#foton-22item-id { color: #737c82 !important; }
#foton-23item-id { border-color: rgba(17,23,27,.16) !important; }
#foton-24item-id { max-height: none !important; margin: 22px 0 0 !important; padding: 0 !important; overflow: visible !important; color: #59636a !important; font-size: 14px !important; line-height: 1.48 !important; }
#foton-24item-id p { margin: 0 0 9px !important; }
#foton-24item-id b { color: #151b20 !important; }
.product-purchase { grid-column: 2 !important; display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(190px, 240px) !important; align-items: center !important; gap: 18px !important; margin-top: 26px !important; padding-top: 22px !important; border-top: 1px solid #dadeda !important; }
#foton-25item-id { margin: 0 !important; color: var(--industrial-accent) !important; font-size: clamp(30px, 3vw, 42px) !important; font-weight: 900 !important; white-space: nowrap !important; }
#foton-26item-id, .orders { width: 100% !important; min-height: 58px !important; margin: 0 !important; border: 0 !important; border-radius: 12px !important; background: var(--industrial-accent) !important; color: #fff !important; font-weight: 900 !important; box-shadow: 0 12px 28px rgba(242,74,36,.2) !important; }
.product-gallery-controls { position: absolute !important; inset: 0 !important; z-index: 4 !important; display: flex !important; align-items: center !important; justify-content: space-between !important; margin: 0 !important; padding: 0 18px !important; pointer-events: none !important; }
.product-gallery-controls button { width: 54px !important; height: 54px !important; border: 0 !important; border-radius: 50% !important; background: var(--industrial-accent) !important; color: #fff !important; font-size: 26px !important; box-shadow: 0 10px 28px rgba(0,0,0,.22) !important; pointer-events: auto !important; }
.product-gallery-controls span { position: absolute !important; left: 50% !important; bottom: 18px !important; min-width: 60px !important; padding: 8px 12px !important; transform: translateX(-50%) !important; border-radius: 999px !important; background: rgba(11,18,23,.76) !important; color: #fff !important; font-weight: 800 !important; text-align: center !important; }

/* О компании, контакты и юридические страницы. */
.company_includes, .contacts_includes, .price_includes, .legal-page { min-height: 65vh; padding: 44px 0 84px !important; background: var(--industrial-bg) !important; color: var(--industrial-text) !important; }
#foton-0company-id, #foton-0contacts-id { width: min(1120px, calc(100% - 64px)) !important; margin: 0 auto !important; color: var(--industrial-text) !important; }
#foton-7company-id, #foton-7contacts-id { margin: 24px 0 !important; color: #fff !important; font-size: clamp(38px, 5vw, 70px) !important; font-weight: 900 !important; line-height: .92 !important; letter-spacing: -.06em !important; text-transform: uppercase !important; }
#foton-8company-id, #foton-8contacts-id { padding: 34px !important; border: 1px solid var(--industrial-line) !important; border-radius: 18px !important; background: var(--industrial-panel) !important; color: var(--industrial-muted) !important; line-height: 1.6 !important; }
#foton-8company-id h2, #foton-8company-id h3, #foton-8contacts-id strong { color: #fff !important; }
#foton-8company-id a, #foton-8contacts-id a, .legal-footer-links a { color: var(--industrial-accent) !important; }
#foton-8company-id img, #foton-8contacts-id img {
  float: none !important;
  display: block !important;
  width: 100% !important;
  height: min(360px, 42vw) !important;
  margin: 0 0 28px !important;
  border-radius: 14px !important;
  object-fit: cover !important;
}
#foton-8company-id ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; padding-left: 20px; }

/* Низ сайта и формы. */
.foot_includes { border-top: 1px solid var(--industrial-line) !important; background: #080e12 !important; color: #fff !important; }
#foton-0foot-id { width: min(1440px, calc(100% - 64px)) !important; margin: 0 auto !important; padding: 48px 0 !important; background: #080e12 !important; color: #fff !important; }
#foton-1foot-id, #foton-11foot-id { width: 100% !important; min-width: 0 !important; margin: 0 !important; background: #080e12 !important; color: #fff !important; }
#foton-1foot-id { display: grid !important; grid-template-columns: auto minmax(0, 1fr) !important; gap: 16px 22px !important; align-items: start !important; }
#foton-4foot-id { grid-column: 1 / -1 !important; }
#foton-5foot-id { display: flex !important; flex-wrap: wrap !important; gap: 8px !important; }
#foton-11foot-id { border-top: 1px solid var(--industrial-line) !important; padding-top: 28px !important; }
#foton-12foot-id { width: 100% !important; margin: 0 !important; display: flex !important; justify-content: space-between !important; gap: 28px !important; }
#foton-13foot-id { display: flex !important; flex-wrap: wrap !important; gap: 12px 24px !important; }
#foton-14foot-id { color: rgba(255,255,255,.76) !important; text-decoration: none !important; }
#foton-16foot-id { max-width: 180px !important; height: auto !important; }
#foton-3foot-id, #foton-5foot-id, #foton-9foot-id, #foton-11foot-id, #foton-12foot-id, #foton-13foot-id { color: rgba(255,255,255,.68) !important; }
.hrefmenu, #foton-6foot-id, #foton-19foot-id, #foton-41foot-id { border-color: var(--industrial-line) !important; background: transparent !important; color: #fff !important; }
.popup, .slidernew { background: rgba(4,9,12,.82) !important; }
.popup > div, .slidernew > div { background: var(--industrial-panel) !important; color: #fff !important; }
.popup input, .slidernew input, .popup textarea, .slidernew textarea { border-color: var(--industrial-line) !important; background: #0b1217 !important; color: #fff !important; }

/* Форма заявки: единая тёмная поверхность без просвечивающих слоёв. */
.popup,
.showResult {
  background: #0b1217 !important;
  border: 1px solid rgba(255,255,255,.14) !important;
  color: #fff !important;
}
.popup > div,
.showResult > div {
  background: #0b1217 !important;
}
.popup .phoneform,
.popup .mailform {
  background: #0b1217 !important;
  border: 1px solid rgba(255,255,255,.5) !important;
  color: #fff !important;
  caret-color: var(--industrial-accent) !important;
}
.popup .phoneform::placeholder,
.popup .mailform::placeholder {
  color: rgba(255,255,255,.72) !important;
  opacity: 1 !important;
}
.popup .consent-row,
.popup .consent-row label {
  color: #fff !important;
}
.popup .consent-row a {
  color: var(--industrial-accent) !important;
}
.popup .consentform {
  accent-color: var(--industrial-accent) !important;
}

/* Документы сайта остаются читаемыми, но получают тот же визуальный язык. */
.legal-header, .legal-footer { background: #0b1217 !important; border-color: var(--industrial-line) !important; color: #fff !important; }
.legal-header .brand, .legal-header nav a, .legal-footer a { color: #fff !important; }
.legal-main { color: var(--industrial-muted) !important; background: var(--industrial-bg) !important; }
.legal-main h1, .legal-main h2, .legal-main strong, .legal-main dt { color: #fff !important; }
.legal-main .eyebrow, .legal-main a { color: var(--industrial-accent) !important; }
.legal-main section, .legal-main .details { border-color: var(--industrial-line) !important; background: var(--industrial-panel) !important; }

/* Текстовые страницы: одна спокойная колонка без наложений. */
.company_includes, .contacts_includes {
  min-height: auto !important;
  padding: 52px 0 96px !important;
}
#foton-0company-id, #foton-0contacts-id {
  display: block !important;
  width: min(1440px, calc(100% - 64px)) !important;
  margin: 0 auto !important;
}
#foton-1company-id, #foton-1contacts-id {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}
#foton-7company-id, #foton-7contacts-id {
  position: static !important;
  width: 100% !important;
  margin: 30px 0 26px !important;
  font-size: clamp(48px, 7vw, 104px) !important;
  line-height: .9 !important;
}
#foton-8company-id, #foton-8contacts-id {
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: clamp(28px, 4vw, 56px) !important;
  font-size: clamp(16px, 1.25vw, 20px) !important;
  line-height: 1.65 !important;
}
#foton-8company-id h2 { margin: 0 0 24px !important; font-size: clamp(30px, 4vw, 54px) !important; }
#foton-8company-id h3 { margin: 34px 0 10px !important; font-size: clamp(22px, 2.2vw, 32px) !important; }
#foton-8company-id ul { margin: 18px 0 28px !important; }
#foton-8contacts-id img { display: none !important; }
#foton-8contacts-id p { max-width: 1100px !important; margin: 0 0 24px !important; }
#foton-8contacts-id p:last-child { margin-bottom: 0 !important; }

@media (max-width: 900px) {
  :root { --industrial-content: calc(100% - 32px); }
  .head_includes { position: relative; }
  .head_includes > #foton-0head-id { width: calc(100% - 32px) !important; min-height: 70px !important; }
  .head_includes > #foton-0head-id:nth-child(2) { display: none !important; }
  .head_includes #foton-5head-id, .head_includes #foton-10head-id { display: none !important; }
  .html_includes > #foton-0html-id { width: calc(100% - 32px) !important; grid-template-columns: 1fr !important; }
  .html_includes > #foton-0html-id > #foton-1html-id:nth-child(n) { grid-column: auto !important; min-height: 260px !important; }
  #foton-0catalog-id, #foton-0item-id, #foton-0company-id, #foton-0contacts-id { width: calc(100% - 32px) !important; }
  #foton-17catalog-id { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  #foton-14item-id { grid-template-columns: 1fr !important; gap: 16px !important; }
  #foton-15item-id { grid-row: auto !important; }
  #foton-16item-id { height: 480px !important; }
  .product-purchase { grid-column: 1 !important; }
  #foton-40catalog-id { width: calc(100% - 32px) !important; padding: 28px !important; }
  #foton-0foot-id { width: calc(100% - 32px) !important; }
}

@media (max-width: 600px) {
  .head_includes #foton-3head-id { font-size: 13px !important; }
  .html_includes > #foton-0html-id, #foton-0catalog-id, #foton-0item-id, #foton-0company-id, #foton-0contacts-id { width: calc(100% - 24px) !important; }
  .html_includes > #foton-0html-id { margin-top: 24px !important; }
  #foton-17catalog-id { grid-template-columns: 1fr !important; }
  #foton-20catalog-id { height: 225px !important; }
  #foton-13item-id, #foton-15catalog-id, #foton-7company-id, #foton-7contacts-id { font-size: 38px !important; }
  .item_includes { padding: 30px 0 96px !important; }
  #foton-13item-id { margin-bottom: 24px !important; }
  #foton-14item-id { gap: 14px !important; }
  #foton-16item-id { height: 320px !important; }
  #foton-24item-id { font-size: 13px !important; line-height: 1.5 !important; }
  .product-gallery-controls { padding: 0 12px !important; }
  .product-gallery-controls button { width: 46px !important; height: 46px !important; }
  .product-purchase { grid-template-columns: 1fr !important; gap: 14px !important; margin-top: 18px !important; }
  #foton-26item-id, .orders { min-height: 56px !important; }
  #foton-8company-id, #foton-8contacts-id { padding: 22px !important; }
  #foton-8company-id ul { grid-template-columns: 1fr; }
  #foton-8company-id img, #foton-8contacts-id img { height: 240px !important; }
  #foton-40catalog-id { width: calc(100% - 24px) !important; padding: 22px !important; }
  #foton-0foot-id { width: calc(100% - 24px) !important; }
  #foton-12foot-id { flex-direction: column !important; }
}

/* Товарная страница: компактная галерея и широкое горизонтальное описание. */
@media (min-width: 901px) {
  #foton-14item-id {
    grid-template-columns: minmax(430px, .82fr) minmax(0, 1.18fr) !important;
    grid-template-rows: auto auto auto auto !important;
    gap: 0 38px !important;
    align-items: start !important;
  }

  #foton-15item-id {
    grid-column: 1 !important;
    grid-row: 1 / span 3 !important;
  }

  #foton-16item-id {
    height: 520px !important;
  }

  /* Размер, значение размера и цвет остаются компактной колонкой справа. */
  #foton-14item-id > #foton-19item-id:nth-of-type(2),
  #foton-14item-id > #foton-19item-id:nth-of-type(3),
  #foton-14item-id > #foton-19item-id:nth-of-type(4) {
    grid-column: 2 !important;
  }

  #foton-14item-id > #foton-19item-id:nth-of-type(2) { grid-row: 1 !important; }
  #foton-14item-id > #foton-19item-id:nth-of-type(3) { grid-row: 2 !important; }
  #foton-14item-id > #foton-19item-id:nth-of-type(4) { grid-row: 3 !important; }

  #foton-24item-id {
    grid-column: 1 / -1 !important;
    grid-row: 4 !important;
    margin-top: 34px !important;
    padding: 28px 0 10px !important;
    border-top: 1px solid #dadeda !important;
    column-count: 2 !important;
    column-gap: 52px !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  #foton-24item-id p {
    break-inside: avoid !important;
  }

  .product-purchase {
    grid-column: 1 / -1 !important;
    grid-row: 5 !important;
    grid-template-columns: minmax(0, 1fr) 220px !important;
    margin-top: 24px !important;
  }
}

/* Страницы товаров: футер сразу после описания, без пустого экрана. */
.item_includes {
  min-height: 0 !important;
  padding-bottom: 48px !important;
}
@media (max-width: 900px) {
  .item_includes { padding-bottom: 32px !important; }
}

/* Десктоп: характеристики идут одной последовательной колонкой слева. */
@media (min-width: 901px) {
  #foton-24item-id {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 28px 0 0 !important;
    padding: 24px 0 8px !important;
    border-top: 1px solid #dadeda !important;
    column-count: 1 !important;
    text-align: left !important;
    line-height: 1.35 !important;
  }
  #foton-24item-id p {
    display: block !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    line-height: 1.35 !important;
    text-align: left !important;
  }
}

/* Поле области и подсказки регионов начинаются от левого края. */
.popup .areaform {
  text-align: left !important;
  direction: ltr !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

/* Кастомные подсказки регионов: всегда начинаются от левого края поля. */
.popup .area-field {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  margin: 0 0 14px !important;
  z-index: 20 !important;
}
.popup .area-field .areaform {
  margin: 0 !important;
}
.popup .area-suggestions {
  position: absolute !important;
  top: calc(100% + 4px) !important;
  left: 0 !important;
  right: 0 !important;
  display: none !important;
  max-height: 240px !important;
  overflow-y: auto !important;
  padding: 6px !important;
  box-sizing: border-box !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  border-radius: 12px !important;
  background: #202020 !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.38) !important;
}
.popup .area-suggestions.is-open {
  display: block !important;
}
.popup .area-suggestion {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 8px !important;
  background: transparent !important;
  color: #fff !important;
  font: 17px/1.25 Arial, sans-serif !important;
  text-align: left !important;
  cursor: pointer !important;
}
.popup .area-suggestion:hover,
.popup .area-suggestion:focus-visible {
  background: rgba(255,255,255,.12) !important;
  outline: 0 !important;
}

@media (max-width: 900px) {
  #foton-14item-id {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: none !important;
  }

  #foton-15item-id,
  #foton-14item-id > #foton-19item-id:nth-of-type(2),
  #foton-14item-id > #foton-19item-id:nth-of-type(3),
  #foton-14item-id > #foton-19item-id:nth-of-type(4),
  #foton-24item-id,
  .product-purchase {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  #foton-16item-id { height: 420px !important; }
  #foton-24item-id { column-count: 1 !important; }
}

@media (max-width: 600px) {
  #foton-16item-id { height: 280px !important; }
  #foton-24item-id { padding-top: 18px !important; }
}

/* Форма заявки: все поля находятся внутри единой тёмной карточки. */
.popup {
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding: 34px 38px 38px !important;
}

#foton-17foot-id.popup {
  height: max-content !important;
  min-height: 0 !important;
  right: auto !important;
  bottom: auto !important;
  align-self: flex-start !important;
}

@media (min-width: 481px) {
  #foton-17foot-id.popup {
    top: 50% !important;
    bottom: auto !important;
    max-height: calc(100vh - 32px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    transform: translate(-50%, -50%) !important;
  }
}

.popup > * {
  position: static !important;
  float: none !important;
  transform: none !important;
  box-sizing: border-box !important;
}

.popup #foton-18foot-id {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 0 24px !important;
  text-align: center !important;
}

.popup .phoneform,
.popup .mailform,
.popup .nameform,
.popup .areaform,
.popup .consent-row,
.popup .order {
  position: static !important;
  float: none !important;
  clear: both !important;
}

.popup .consent-row {
  display: flex !important;
  width: 100% !important;
  min-height: 28px !important;
  margin: 2px 0 20px !important;
  padding: 0 !important;
}

.popup .order {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
}

.popup #foton-22foot-id {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: 28px !important;
  height: 28px !important;
  z-index: 20 !important;
  display: block !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

.popup #foton-22foot-id .closepopup,
.popup #foton-23foot-id {
  position: relative !important;
  z-index: 21 !important;
  display: block !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

@media (max-width: 480px) {
  .popup {
    top: 16px !important;
    bottom: auto !important;
    max-height: none !important;
    overflow: visible !important;
    transform: translateX(-50%) !important;
    padding: 26px 20px 24px !important;
  }
}

@media (max-width: 480px) and (min-height: 650px) {
  #foton-17foot-id.popup {
    top: 50% !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) !important;
  }
}

/* Товар: название и ключевые характеристики собраны в правой колонке. */
@media (min-width: 901px) {
  #foton-14item-id {
    grid-template-columns: minmax(430px, .92fr) minmax(0, 1.08fr) !important;
    grid-template-rows: auto auto auto auto auto !important;
    column-gap: 42px !important;
    row-gap: 0 !important;
    align-items: start !important;
  }

  #foton-13item-id {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: auto !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    font-size: clamp(34px, 3.25vw, 58px) !important;
    line-height: .98 !important;
    letter-spacing: -.05em !important;
  }

  #foton-15item-id {
    grid-column: 1 !important;
    grid-row: 1 / span 5 !important;
  }

  #foton-16item-id { height: 520px !important; }

  /* В DOM это: заголовок, галерея, подпись размера, значение, цвет. */
  #foton-14item-id > #foton-19item-id:nth-of-type(3),
  #foton-14item-id > #foton-19item-id:nth-of-type(4),
  #foton-14item-id > #foton-19item-id:nth-of-type(5) {
    grid-column: 2 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #dadeda !important;
    color: #151b20 !important;
    font-size: clamp(18px, 1.35vw, 24px) !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
  }

  #foton-14item-id > #foton-19item-id:nth-of-type(3) { grid-row: 2 !important; }
  #foton-14item-id > #foton-19item-id:nth-of-type(4) { grid-row: 3 !important; }
  #foton-14item-id > #foton-19item-id:nth-of-type(5) { grid-row: 4 !important; }
  #foton-14item-id > #foton-19item-id:nth-of-type(5) #foton-22item-id { display: inline-block !important; margin-right: 18px !important; color: #59636a !important; }
  #foton-14item-id > #foton-19item-id:nth-of-type(5) #foton-23item-id { display: inline-block !important; vertical-align: middle !important; }

  .product-purchase {
    grid-column: 2 !important;
    grid-row: 5 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(230px, 280px) !important;
    gap: 20px !important;
    width: 100% !important;
    margin: 24px 0 0 !important;
    padding-top: 22px !important;
    border-top: 1px solid #dadeda !important;
    align-items: center !important;
  }

  #foton-25item-id { font-size: clamp(32px, 3vw, 48px) !important; font-weight: 900 !important; }
  #foton-26item-id, .orders { min-height: 68px !important; font-size: 20px !important; border-radius: 14px !important; }

  #foton-24item-id {
    grid-column: 1 / -1 !important;
    grid-row: 6 !important;
    margin: 34px 0 0 !important;
    padding: 28px 0 10px !important;
    border-top: 1px solid #dadeda !important;
    column-count: 2 !important;
    column-gap: 52px !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }
  #foton-24item-id p { break-inside: avoid !important; }
}

@media (max-width: 900px) {
  #foton-14item-id { grid-template-columns: 1fr !important; grid-template-rows: none !important; gap: 14px !important; }
  #foton-13item-id,
  #foton-15item-id,
  #foton-14item-id > #foton-19item-id:nth-of-type(3),
  #foton-14item-id > #foton-19item-id:nth-of-type(4),
  #foton-14item-id > #foton-19item-id:nth-of-type(5),
  #foton-24item-id,
  .product-purchase { grid-column: 1 !important; grid-row: auto !important; width: 100% !important; }
  #foton-13item-id { margin: 0 0 14px !important; font-size: 38px !important; }
  #foton-15item-id { grid-row: auto !important; }
  #foton-16item-id { height: 320px !important; }
  #foton-24item-id { column-count: 1 !important; }
  .product-purchase { grid-template-columns: 1fr !important; }
}

@media (max-width: 600px) {
  #foton-13item-id { font-size: 30px !important; }
  #foton-16item-id { height: 280px !important; }
}

/* Финальная компоновка характеристик товара: цельные карточки в сетке 3×N. */
@media (min-width: 901px) {
  #foton-13item-id {
    margin-top: 32px !important;
    margin-bottom: 28px !important;
    font-size: clamp(40px, 3.8vw, 66px) !important;
  }

  #foton-24item-id {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    column-count: initial !important;
    gap: 24px 36px !important;
    width: 100% !important;
    margin-top: 42px !important;
    padding: 30px 0 8px !important;
    font-size: 16px !important;
    line-height: 1.48 !important;
  }

  #foton-24item-id p {
    min-width: 0 !important;
    margin: 0 !important;
    break-inside: avoid !important;
  }
}

@media (max-width: 900px) {
  #foton-24item-id { display: block !important; }
  #foton-24item-id p { margin: 0 0 9px !important; }
}

@media (min-width: 901px) {
  #foton-24item-id {
    row-gap: 14px !important;
    line-height: 1.28 !important;
  }
  #foton-24item-id p { line-height: 1.28 !important; }
}

/* Описания из старых карточек содержат встроенный белый фон и Arial. */
#foton-24item-id,
#foton-24item-id p,
#foton-24item-id span {
  background: transparent !important;
  font-family: inherit !important;
  color: inherit !important;
}
#foton-24item-id p { box-shadow: none !important; }

/* Единая типографика характеристик: обычный интервал и выравнивание по левому краю. */
#foton-24item-id,
#foton-24item-id p,
#foton-24item-id span,
#foton-24item-id b {
  text-align: left !important;
  vertical-align: top !important;
}
#foton-24item-id {
  align-content: start !important;
  align-items: start !important;
  justify-items: stretch !important;
  row-gap: 12px !important;
  line-height: 1.35 !important;
}
#foton-24item-id p {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  line-height: 1.35 !important;
}

/* Описания не должны растягивать строки по высоте контейнера. */
@media (min-width: 901px) {
  #foton-24item-id {
    height: fit-content !important;
    align-self: start !important;
    align-content: start !important;
    grid-auto-rows: max-content !important;
    grid-auto-flow: row !important;
    row-gap: 14px !important;
    line-height: 1.35 !important;
  }
  #foton-24item-id p { line-height: 1.35 !important; }
  .product-vagon #foton-24item-id p:first-child,
  .product-vagon #foton-24item-id p:last-child { grid-column: span 2 !important; }
}

/* Мобильная версия сохраняет компактную последовательную подачу текста. */
@media (max-width: 900px) {
  #foton-24item-id {
    height: auto !important;
    display: block !important;
    line-height: 1.5 !important;
  }
  #foton-24item-id p {
    margin: 0 0 9px !important;
    line-height: 1.5 !important;
  }
}

/* Каталог: общие категории и фильтр размеров начинаются от одной левой направляющей. */
@media (min-width: 761px) {
  #foton-1catalog-id {
    justify-content: flex-start !important;
    align-items: center !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  #foton-2catalog-id,
  #foton-3catalog-id { text-align: left !important; }
  .product-size-filter {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .product-size-filter__heading {
    justify-content: flex-start !important;
    text-align: left !important;
  }
  .product-size-filter__heading p,
  .product-size-filter__heading span,
  .product-size-filter__tabs,
  .product-size-filter__result { text-align: left !important; }
  .product-size-filter__tabs { justify-content: flex-start !important; }
}

/* Увеличение фотографии товара по клику. */
.product-gallery-track img {
  cursor: zoom-in !important;
}
.product-image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  box-sizing: border-box;
  background: rgba(5, 13, 18, .88);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
}
.product-image-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.product-image-lightbox img {
  display: block;
  max-width: min(94vw, 1500px);
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, .42);
}
.product-image-lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--industrial-accent, #f24a24);
  color: #fff;
  font: 400 38px/42px Arial, sans-serif;
  cursor: pointer;
}
.product-image-lightbox__prev,
.product-image-lightbox__next {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 54px;
  height: 54px;
  transform: translateY(-50%);
  border: 0;
  border-radius: 50%;
  background: var(--industrial-accent, #f24a24);
  color: #fff;
  font: 400 30px/1 Arial, sans-serif;
  cursor: pointer;
}
.product-image-lightbox__prev { left: 24px; }
.product-image-lightbox__next { right: 24px; }
body.lightbox-open { overflow: hidden !important; }
@media (max-width: 760px) {
  .product-image-lightbox { padding: 18px; }
  .product-image-lightbox img { max-width: 96vw; max-height: 86vh; border-radius: 10px; }
  .product-image-lightbox__close { top: 12px; right: 12px; width: 42px; height: 42px; font-size: 32px; line-height: 37px; }
  .product-image-lightbox__prev,
  .product-image-lightbox__next { width: 42px; height: 42px; font-size: 24px; }
  .product-image-lightbox__prev { left: 10px; }
  .product-image-lightbox__next { right: 10px; }
}

/* Последнее правило для десктопа: описание товара одной колонкой слева. */
@media (min-width: 901px) {
  #foton-24item-id {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 28px 0 0 !important;
    padding: 24px 0 8px !important;
    border-top: 1px solid #dadeda !important;
    column-count: 1 !important;
    align-content: initial !important;
    text-align: left !important;
    line-height: 1.35 !important;
  }
  #foton-24item-id p {
    display: block !important;
    width: 100% !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    line-height: 1.35 !important;
    text-align: left !important;
  }
}
