/* Built 2026-07-07 — edit css/bundles-src/ then npm run build:css */
/* Public site — shared foundation */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap");

/* Design tokens — public site */
:root {
  /* Brand */
  --color-primary: #ff5c00;
  --color-primary-hover: #e8501a;
  --color-primary-soft: rgba(255, 92, 0, 0.12);
  --color-primary-glow: rgba(255, 92, 0, 0.35);

  /* Aliases (legacy + BEM blocks) */
  --brand: var(--color-primary);
  --home-orange: var(--color-primary);
  --contacts-orange: #ff6b27;
  --site-header-accent: #ff6b27;
  --site-footer-accent: #ff6b27;
  --product-search-accent: #ff6b27;

  --font-head: "Syne", sans-serif;

  /* Text */
  --color-text: #1d1d1f;
  --color-text-secondary: #6e6e73;
  --color-text-muted: #8a8a8a;
  --color-text-inverse: #ffffff;
  --text: #161616;
  --muted: #6a6a6a;
  --home-text: var(--color-text);
  --home-muted: var(--color-text-secondary);
  --contacts-text: #333333;
  --site-header-text: #333333;
  --site-footer-text: #1a1a1a;
  --product-search-text: #333333;

  /* Surfaces */
  --color-bg: #f5f5f7;
  --color-surface: #ffffff;
  --color-surface-muted: #f5f5f7;
  --color-surface-elevated: #ffffff;
  --bg: #f8f8f8;
  --white: #fff;
  --home-surface: var(--color-surface);
  --home-border: rgba(0, 0, 0, 0.08);

  /* Dark */
  --color-dark: #1d1d1f;
  --dark: #171a1d;

  /* Borders */
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-strong: #e5e5e5;
  --site-header-border: #e5e5e5;

  /* Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 20px;
  --radius-pill: 999px;
  --radius: 16px;
  --border-radius-md: var(--radius-md);

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
  --shadow-card: var(--shadow-md);
  --shadow-primary: 0 10px 28px rgba(255, 92, 0, 0.35);

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  --space-9: 48px;
  --space-10: 64px;

  /* Typography */
  --font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  --font-size-xs: 11px;
  --font-size-sm: 13px;
  --font-size-md: 15px;
  --font-size-lg: 18px;
  --font-size-xl: clamp(28px, 3.5vw, 48px);

  /* Motion */
  --transition-fast: 0.15s ease;
  --transition-default: 0.2s ease;
  --transition-slow: 0.45s ease;
  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);

  /* Z-index */
  --z-base: 1;
  --z-dropdown: 20;
  --z-header: 40;
  --z-overlay: 50;
  --z-modal: 100;

  /* Layout */
  --layout-max: 1180px;
  --layout-max-wide: 1200px;
  --layout-gutter: 40px;
  --layout-gutter-sm: 28px;
}

/* Breakpoints (for reference in comments / JS) */
/* --bp-sm: 720px; --bp-md: 769px; --bp-lg: 1080px; */

/**
 * Canonical max-width breakpoints (footer, header, hero).
 *
 * --bp-tablet-max: 960px  tablet and below — site-header menu, footer stack, hero card
 * --bp-mobile-max: 720px    phones — tighter gutters (--layout-gutter: 28px)
 *
 * Desktop layouts: min-width 961px.
 */

@media (max-width: 720px) {
  :root {
    --layout-gutter: 28px;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

/* Shared typography patterns */
.title {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 0 var(--space-6);
  font-size: var(--font-size-xl);
  font-weight: 600;
}

.accent {
  width: 14px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(150deg, #ffd05f, var(--color-primary));
  flex-shrink: 0;
}

.muted {
  color: var(--color-text-muted);
}

/* Unified page section headings (H2) — all public pages */
.page-head {
  margin: 0 0 clamp(28px, 4vw, 40px);
}

.page-eyebrow,
.home-section-eyebrow {
  margin: 0 0 10px;
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-primary);
  box-shadow: 0 4px 14px rgba(255, 92, 0, 0.28);
}

.page-lead,
.materials-section-desc {
  margin: 12px 0 0;
  max-width: 560px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.page-heading,
.home-section-title,
.contacts-section-title,
.materials-section-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--color-text);
}

.page-heading--light {
  color: var(--color-text-inverse);
}

/* Orange square accents — inner pages only; home uses .page-eyebrow */
.page-contacts .page-eyebrow,
.page-inner .page-eyebrow {
  display: none;
}

.page-contacts .page-heading,
.page-inner .page-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-title-accent,
.contacts-title-accent,
.materials-title-accent {
  display: none;
}

.page-contacts .page-title-accent,
.page-contacts .contacts-title-accent,
.page-inner .page-title-accent,
.page-inner .contacts-title-accent,
.page-inner .materials-title-accent {
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--color-primary);
  box-shadow: 0 0 18px rgba(255, 107, 39, 0.5);
  flex-shrink: 0;
}

.page-materials .page-title-accent,
.page-materials .materials-title-accent {
  width: 16px;
  height: 16px;
}

.home-title-accent {
  display: none;
}

.contacts-section-title,
.materials-section-title {
  display: flex;
}

.home-section-head {
  margin: 0 0 clamp(36px, 5vw, 52px);
}

.catalog-page-head {
  margin: 0 0 28px;
}

.page-materials .inner-main,
.page-product .inner-main,
.page-product-open .inner-main {
  padding-top: 40px;
}

.inner-main > .inner-wrap > .page-head {
  margin-bottom: 32px;
}

/* Unified page canvas — gray backdrop, white content */
body.page-inner,
body.page-contacts {
  background: var(--color-bg);
}

body.page-inner > main,
body.page-contacts > main {
  flex: 1 0 auto;
  min-height: 50vh;
  background: var(--color-surface);
}

body.page-inner > main.inner-main,
body.page-product-open > main.inner-main {
  min-height: calc(100vh - 84px - 180px);
}

.catalog-layout-figma {
  min-height: 420px;
}

.catalog-product-grid {
  min-height: 280px;
}

.catalog-category-grid {
  min-height: 320px;
}

#materials-brands-grid {
  min-height: 320px;
}

.product-detail-grid {
  min-height: 360px;
}

/* Avoid layout shift from scroll-reveal on above-the-fold blocks */
body.page-inner .inner-wrap,
body.page-contacts > main,
body.page-product-open .inner-wrap,
.page-head.reveal,
.catalog-layout-figma.reveal,
.contacts-main-grid.reveal,
#materials-brands-grid.reveal,
.product-detail-grid.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* Layout containers */
.container {
  width: min(var(--layout-max-wide), calc(100% - var(--layout-gutter)));
  margin: 0 auto;
}

.inner-wrap {
  width: min(var(--layout-max-wide), calc(100% - var(--layout-gutter)));
  margin: 0 auto;
}

.home-wrap {
  width: min(var(--layout-max), calc(100% - var(--layout-gutter)));
  margin: 0 auto;
}

.contacts-wrap {
  width: min(var(--layout-max-wide), calc(100% - var(--layout-gutter)));
  margin: 0 auto;
}

.section {
  margin-bottom: 68px;
}

@media (max-width: 720px) {
  .container,
  .inner-wrap,
  .home-wrap,
  .contacts-wrap {
    width: calc(100% - var(--layout-gutter-sm));
  }
}

/* Scroll reveal — only after JS enables (.js-reveal on <html>) */
.reveal {
  opacity: 1;
  transform: none;
}

@media (min-width: 769px) {
  html.js-reveal .reveal:not(.visible) {
    opacity: 0;
    transform: translateY(52px);
  }

  html.js-reveal .reveal {
    transition:
      opacity 0.7s var(--ease-out-expo),
      transform 0.7s var(--ease-out-expo);
    will-change: opacity, transform;
  }

  html.js-reveal .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Каскадне розкриття дітей всередині .reveal-секції */
  html.js-reveal .reveal .reveal-stagger > * {
    transition:
      opacity 0.55s var(--ease-out-expo),
      transform 0.55s var(--ease-out-expo);
  }

  html.js-reveal .reveal:not(.visible) .reveal-stagger > * {
    opacity: 0;
    transform: translateY(26px);
  }

  html.js-reveal .reveal.visible .reveal-stagger > * {
    opacity: 1;
    transform: translateY(0);
  }

  html.js-reveal .reveal.visible .reveal-stagger > :nth-child(1) { transition-delay: 0.05s; }
  html.js-reveal .reveal.visible .reveal-stagger > :nth-child(2) { transition-delay: 0.13s; }
  html.js-reveal .reveal.visible .reveal-stagger > :nth-child(3) { transition-delay: 0.21s; }
  html.js-reveal .reveal.visible .reveal-stagger > :nth-child(4) { transition-delay: 0.29s; }
  html.js-reveal .reveal.visible .reveal-stagger > :nth-child(5) { transition-delay: 0.37s; }
  html.js-reveal .reveal.visible .reveal-stagger > :nth-child(6) { transition-delay: 0.45s; }
  html.js-reveal .reveal.visible .reveal-stagger > :nth-child(7) { transition-delay: 0.53s; }
  html.js-reveal .reveal.visible .reveal-stagger > :nth-child(8) { transition-delay: 0.61s; }
}

@media (prefers-reduced-motion: reduce) {
  body {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal,
  .reveal:not(.visible),
  .reveal.visible,
  .reveal .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Primary / outline buttons — shared */
.btn {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 14px 36px;
  font-weight: 700;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform var(--transition-default),
    box-shadow var(--transition-default),
    background var(--transition-default);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-primary);
}

.btn-home-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  border-radius: var(--radius-pill);
  padding: 16px 44px;
  font: inherit;
  font-weight: 700;
  font-size: var(--font-size-md);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-primary);
  transition:
    transform var(--transition-default),
    box-shadow var(--transition-default);
}

.btn-home-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 92, 0, 0.45);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--radius-pill);
  padding: 14px 26px;
  font: inherit;
  font-weight: 700;
  font-size: var(--font-size-md);
  line-height: 1.2;
  cursor: pointer;
  transition:
    transform var(--transition-default),
    box-shadow var(--transition-default),
    background var(--transition-default),
    border-color var(--transition-default);
}

.hero-cta--primary {
  border: 0;
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-primary);
}

.hero-cta--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(255, 92, 0, 0.55);
}

.hero-cta--outline {
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(6px);
}

.hero-cta--outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  transform: translateY(-1px);
}

.catalog-clear-filters {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  font-family: inherit;
  color: var(--color-primary);
  background: var(--color-surface);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background var(--transition-fast),
    color var(--transition-fast);
}

.catalog-clear-filters:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

/* Base form controls */
form {
  display: grid;
  gap: var(--space-3);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  padding: 12px 14px;
  font: inherit;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

/* Legacy demo cards */
.card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border-bottom: 3px solid var(--color-primary);
  box-shadow: var(--shadow-md);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.card h3 {
  margin: 0;
  padding: 14px;
  font-size: 17px;
  min-height: 80px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.cert-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 10px;
  border: 1px solid #eaeaea;
}

.cert-card img {
  width: 100%;
  aspect-ratio: 1 / 1.25;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (max-width: 1024px) {
  .cards,
  .cert-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .cards,
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 36px;
}

.catalog-pagination a {
  text-decoration: none;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text);
  min-width: 28px;
  text-align: center;
  padding: 6px 4px;
  border-radius: var(--radius-xs);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.catalog-pagination a.is-active {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.catalog-pagination a:hover:not(.is-active) {
  color: var(--color-primary);
}

.home-products-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.home-products-dots[hidden] {
  display: none;
}

.home-products-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition:
    transform var(--transition-fast),
    background-color var(--transition-fast);
}

.home-products-dot.is-active {
  background: var(--color-primary);
  transform: scale(1.2);
}

/* Tokens: global/variables.css */

.product-search {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  padding: 4px 4px 4px 16px;
}

.product-search__input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px 8px 10px 0;
  font: inherit;
  font-size: 14px;
  color: var(--product-search-text);
  min-width: 0;
}

.product-search__input::placeholder {
  color: #9a9a9a;
}

.product-search__btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--product-search-accent);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-search__btn:hover {
  transform: scale(1.04);
  box-shadow: 0 4px 14px rgba(255, 107, 39, 0.35);
}

.site-header__search.product-search,
.site-header__search {
  min-width: 220px;
  flex: 0 1 280px;
}

.product-search:focus-within {
  border-color: var(--product-search-accent);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 39, 0.22);
}

.product-search__input:focus,
.product-search__input:focus-visible {
  outline: none;
  box-shadow: none;
}

.hero-search.product-search {
  flex-shrink: 1;
  min-width: 0;
  max-width: 230px;
}


/* Tokens: global/variables.css */

body.page-inner,
body.page-contacts {
  --contacts-orange: var(--site-header-accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--site-header-border);
}

.site-header__inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-header__brand-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: min(220px, 48vw);
  object-fit: contain;
}

.site-header__menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--site-header-border);
  border-radius: 12px;
  background: #fff;
  color: var(--site-header-text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}

.site-header__menu-icon,
.site-header__menu-icon::before,
.site-header__menu-icon::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.site-header__menu-icon::before,
.site-header__menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-header__menu-icon::before {
  top: -6px;
}

.site-header__menu-icon::after {
  top: 6px;
}

.site-header--menu-open .site-header__menu-icon {
  background: transparent;
}

.site-header--menu-open .site-header__menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header--menu-open .site-header__menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-header__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px 28px;
  flex: 1 1 auto;
  min-width: 0;
}

/* Внутрішні сторінки: навігація праворуч у хедері */
body.page-inner .site-header__panel,
body.page-contacts .site-header__panel {
  justify-content: flex-end;
}

.site-header__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 22px;
  flex: 1 1 auto;
  min-width: 0;
}

body.page-inner .site-header__nav,
body.page-contacts .site-header__nav {
  justify-content: flex-end;
  flex: 0 1 auto;
  margin-left: auto;
}

.site-header__nav-link {
  text-decoration: none;
  color: var(--site-header-text);
  font-weight: 600;
  font-size: 15px;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-header__nav-link:hover {
  color: var(--site-header-accent);
}

.site-header__nav-link.is-active,
.site-header__nav-link[aria-current="page"] {
  color: var(--site-header-accent);
  border-bottom-color: var(--site-header-accent);
}

.page-product .site-header__nav-link[data-nav="product"],
.page-product-open .site-header__nav-link[data-nav="product"],
.page-materials .site-header__nav-link[data-nav="materials"],
.page-certificates .site-header__nav-link[data-nav="materials"],
.page-contacts .site-header__nav-link[data-nav="contacts"],
.page-home .site-header__nav-link[data-nav="home"] {
  color: var(--site-header-accent);
  border-bottom-color: var(--site-header-accent);
}

.hero-nav a.is-active,
.hero-nav a[aria-current="page"],
.page-home .hero-nav a[data-nav="home"] {
  color: var(--home-orange, var(--site-header-accent));
  border-bottom-color: var(--home-orange, var(--site-header-accent));
}

/* Пошук лише на сторінці «Продукція» (toolbar / sidebar каталогу) */
.site-header__search.product-search {
  display: none !important;
}

@media (max-width: 960px) {
  .site-header__inner {
    flex-wrap: wrap;
    padding: 12px 0;
    min-height: 0;
  }

  .site-header__brand {
    flex: 0 0 auto;
    max-width: min(180px, 52vw);
  }

  .site-header__brand-logo {
    width: auto;
    height: 40px;
    max-width: 100%;
    object-fit: contain;
  }

  .site-header__menu-toggle {
    display: inline-flex;
  }

  .site-header__panel {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 16px;
    padding-top: 4px;
  }

  .site-header--menu-open .site-header__panel {
    display: flex;
  }

  body.page-inner .site-header__panel,
  body.page-contacts .site-header__panel {
    justify-content: stretch;
  }

  body.page-inner .site-header__nav,
  body.page-contacts .site-header__nav {
    justify-content: flex-start;
    margin-left: 0;
    width: 100%;
  }

  .site-header__nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .site-header__nav-link {
    width: 100%;
    padding: 10px 4px;
  }

}

@media (max-width: 720px) {
  .site-header__inner {
    width: calc(100% - 28px);
  }

  .site-header__brand-logo {
    height: 38px;
  }
}

/* Tokens: global/variables.css (--site-footer-accent, --site-footer-text) */
@import url("https://fonts.googleapis.com/css2?family=Syne:wght@700&display=swap");

.site-footer {
  background: transparent;
  padding: 40px 0 44px;
}

.site-footer__inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto minmax(0, 1.15fr);
  gap: 24px 32px;
  align-items: center;
}

.site-footer__col--phones,
.site-footer__col--social {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.site-footer__line {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.site-footer__link {
  color: var(--site-footer-text);
  text-decoration: none;
}

.site-footer__link:hover {
  color: var(--site-footer-accent);
}

.site-footer__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(255, 107, 39, 0.12);
  color: var(--site-footer-accent);
}

/* Логотип у футері: за замовчуванням зліва; для центру — .site-footer--logo-align-center на <footer> */
.site-footer__col--logo {
  display: flex;
  justify-content: flex-start;
  padding: 0 12px;
}

.site-footer.site-footer--logo-align-center .site-footer__col--logo {
  justify-content: center;
}

.site-footer__logo {
  display: flex;
}

.site-footer__logo img {
  display: block;
  width: auto;
  height: 69px;
  max-width: 100%;
  object-fit: contain;
}

.site-footer__col--nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: flex-end;
}

.site-footer__nav-link {
  text-decoration: none;
  color: var(--site-footer-text);
  font-weight: 600;
  font-size: 13px;
}

.site-footer__nav-link:hover {
  color: var(--site-footer-accent);
}

.page-home .site-footer__nav-link[data-nav="home"],
.page-product .site-footer__nav-link[data-nav="product"],
.page-product-open .site-footer__nav-link[data-nav="product"],
.page-materials .site-footer__nav-link[data-nav="materials"],
.page-certificates .site-footer__nav-link[data-nav="materials"],
.page-contacts .site-footer__nav-link[data-nav="contacts"] {
  color: var(--site-footer-accent);
}

.site-footer__social-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__social-label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--site-footer-text);
}

.site-footer__social {
  display: flex;
  gap: 10px;
}

.site-footer__social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--site-footer-accent);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.site-footer__social-btn svg {
  display: block;
  flex-shrink: 0;
}

.site-footer__social-btn.social-link-stub {
  opacity: 0.45;
  cursor: default;
}

.site-footer__social-btn:hover {
  background: #e8501a;
  transform: translateY(-2px);
}

.site-footer__address {
  margin: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  text-align: right;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
  color: var(--site-footer-text);
  max-width: 280px;
  margin-left: auto;
  transition: color 0.15s ease;
}

.site-footer__address:hover {
  color: var(--site-footer-accent);
}

/* Нижній блок: копірайт / брендинг розробника (зліва) */
.site-footer__bottom {
  width: min(1200px, calc(100% - 40px));
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
}

.footer-copyright-text {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0;
  font-family: var(--font-head, "Syne", sans-serif);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-decoration: none;
  color: var(--site-footer-text);
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.footer-copyright-text:hover {
  color: var(--site-footer-accent);
}

.footer-copyright-text:focus-visible {
  outline: 2px solid var(--site-footer-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-copyright-text__label {
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--site-footer-text);
}

.footer-copyright-text:hover .footer-copyright-text__label {
  color: inherit;
}

.footer-copyright-text__brand {
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer-copyright-text__dot {
  color: var(--site-footer-accent);
}

/* Планшет і мобільний — як у .site-header (max-width: 960px) */
@media (max-width: 960px) {
  .site-footer {
    padding: 32px 0 36px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
    align-items: center;
  }

  .site-footer__col--phones,
  .site-footer__col--social,
  .site-footer__col--nav,
  .site-footer__col--logo {
    grid-column: 1;
    align-items: center;
    width: 100%;
  }

  .site-footer__col--logo {
    order: -1;
    padding: 0 0 4px;
    justify-content: center;
  }

  .site-footer.site-footer--logo-align-center .site-footer__col--logo {
    justify-content: center;
  }

  .site-footer__logo img {
    height: 56px;
  }

  .site-footer__col--nav {
    gap: 12px;
  }

  .site-footer__line {
    justify-content: center;
  }

  .site-footer__nav {
    justify-content: center;
    gap: 8px 16px;
  }

  .site-footer__address {
    text-align: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 320px;
  }

  .site-footer__social {
    justify-content: center;
  }

  .site-footer__social-group {
    align-items: center;
  }

  .site-footer__bottom {
    width: calc(100% - 40px);
    margin-top: 22px;
    padding-top: 16px;
    justify-content: center;
    text-align: center;
  }

  .footer-copyright-text {
    font-size: 13px;
  }
}

@media (max-width: 720px) {
  .site-footer__inner {
    width: calc(100% - 28px);
  }

  .site-footer__bottom {
    width: calc(100% - 28px);
    margin-top: 18px;
    padding-top: 14px;
  }
}


/* ——— Внутрішні сторінки (шапка як у Контактах.pdf, Товар.pdf, …) ——— */
body.page-inner {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

body.page-product .inner-wrap,
body.page-product .catalog-layout-figma {
  overflow: visible;
}

body.page-inner > main {
  flex: 1 0 auto;
}

.inner-main {
  padding: 28px 0 56px;
}

.inner-wrap {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.catalog-layout-figma {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 32px 28px;
  align-items: start;
  width: 100%;
}

.catalog-sidebar-search {
  margin-bottom: 18px;
}

.catalog-sidebar-search .contacts-search {
  flex: 1 1 100%;
  max-width: none;
}

.catalog-breadcrumbs {
  margin: 0 0 14px;
  font-size: 14px;
  color: #888;
}

.catalog-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.catalog-breadcrumbs a:hover {
  color: var(--contacts-orange);
}

.catalog-tree {
  border-top: 1px solid #ececec;
  padding-top: 12px;
}

.catalog-tree-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  line-height: 1.35;
  color: #333;
}

.catalog-tree-row input {
  margin-top: 3px;
  accent-color: #ff5d1b;
}

.catalog-tree-row--all {
  font-weight: 700;
}

.catalog-tree-row--check input {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.catalog-tree-row--active {
  background: rgba(255, 93, 27, 0.06);
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 8px;
}

.catalog-tree-row--active input {
  outline: 2px solid #ff5d1b;
  outline-offset: 1px;
}

.catalog-main {
  min-width: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.catalog-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  align-content: start;
  width: 100%;
  min-width: 0;
}

.catalog-product-grid--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(240px, 38vh, 360px);
  padding: 32px 16px;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f2f2f2;
  border-radius: 14px;
  padding: 12px 12px 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

a.catalog-card:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

a.catalog-card:focus-visible {
  outline: 2px solid #ff5d1b;
  outline-offset: 2px;
}

.catalog-card-media {
  background: #fff;
  border-radius: 10px;
  aspect-ratio: 1 / 0.95;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.catalog-card-media img {
  width: 92%;
  height: 92%;
  object-fit: contain;
}

.catalog-card-title {
  margin: 0 0 2px;
  font-size: 16px;
  font-weight: 600;
  color: #484848;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  line-height: 1.3;
  min-height: 0;
}

.catalog-card-meta {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.3;
  color: #777;
  flex: 1 1 auto;
}

.catalog-card__cta {
  margin-top: auto;
  display: block;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #484848;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e2e2e2;
  background: #fff;
  transition: border-color 0.15s ease, color 0.15s ease;
}

a.catalog-card:hover .catalog-card__cta {
  border-color: #ff5d1b;
  color: #ff5d1b;
}



/* Картка товару */
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 36px;
  align-items: start;
}

.product-gallery-figma {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}

.product-gallery-main {
  position: relative;
  border-radius: 14px;
  border: 3px solid #ff5d1b;
  background: #fff;
  overflow: hidden;
  aspect-ratio: 1 / 0.72;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-gallery-zoom {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: #333;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.product-gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 14px;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #ff5d1b #f0f0f0;
  padding-bottom: 4px;
}

.product-gallery-thumbs::-webkit-scrollbar {
  height: 6px;
}

.product-gallery-thumbs::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 999px;
}

.product-gallery-thumbs::-webkit-scrollbar-thumb {
  background: #ff5d1b;
  border-radius: 999px;
}

.product-gallery-thumbs button {
  flex: 0 0 auto;
  width: 120px;
  height: 88px;
  scroll-snap-align: start;
  padding: 6px;
  border-radius: 10px;
  border: 2px solid #ff5d1b;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
}

.product-gallery-thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-detail-panel {
  padding-top: 4px;
}

.product-detail-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #484848;
}

.product-detail-vendor {
  margin: 0 0 22px;
  font-size: 17px;
  color: #686868;
}

.product-compact-specs {
  margin: 0 0 20px;
  display: grid;
  gap: 8px;
}

.product-compact-specs dt {
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

.product-compact-specs dd {
  margin: 0;
  font-size: 15px;
  color: #686868;
}

.spec-type-desc {
  margin: -4px 0 12px;
  font-size: 14px;
  color: #686868;
  line-height: 1.45;
}

.product-types-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 22px;
}

.product-type-card {
  padding: 14px 16px;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  background: #fafafa;
}

.product-type-card--primary {
  border-color: #ff5d1b;
  background: #fff8f4;
}

.product-type-card__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #484848;
}

.product-type-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #686868;
  white-space: pre-wrap;
}

.product-type-card .product-compact-specs {
  margin: 0;
}

.spec-block {
  margin-bottom: 14px;
}

.spec-label {
  display: block;
  font-size: 15px;
  color: #686868;
  margin-bottom: 8px;
}

.spec-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-pill {
  min-width: 48px;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid #d0d0d0;
  background: #fff;
  font-size: 14px;
  color: #686868;
  cursor: default;
}

.product-price-note {
  margin: 18px 0 16px;
  font-size: 16px;
  font-style: italic;
  color: #ff5d1b;
}

.product-cta-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.btn-cta-orange {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  border: 0;
  border-radius: 12px;
  padding: 16px 22px;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  color: #fff;
  background: #ff5d1b;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(255, 93, 27, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-cta-orange:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(255, 93, 27, 0.35);
}

.product-desc-block {
  margin-top: 44px;
  max-width: 900px;
}

.product-desc-block h2 {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 700;
  color: #1a1a1a;
}

.product-desc-block p,
.product-desc-block li {
  font-size: 17px;
  line-height: 1.55;
  color: #484848;
}

.product-desc-block ul {
  margin: 12px 0 0;
  padding-left: 22px;
}


/* Карусель карток товарів — головна + «Можливо вас зацікавить» на product-open */
.home-products,
.product-related.home-products {
  --home-orange: #ff5c00;
  --home-text: #1d1d1f;
  --home-muted: #6e6e73;
  --home-surface: #ffffff;
  --home-border: rgba(0, 0, 0, 0.08);
}

.home-section.home-products,
.product-related.home-products {
  background: #f5f5f7;
}

.home-products-carousel {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* overflow-x clips slides; padding + overflow-y visible so hover scale is not cut off */
.home-products-viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: visible;
  padding: 14px 6px 18px;
}

.home-products--mobile .home-products-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 8px;
  padding: 10px 4px 12px;
  cursor: grab;
  scrollbar-width: none;
}

.home-products--mobile .home-products-viewport::-webkit-scrollbar {
  display: none;
}

.home-products--mobile .home-products-viewport.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.home-products-track {
  display: flex;
  min-height: 280px;
  align-items: stretch;
  transition: transform 0.45s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}

.home-products-track--mobile {
  gap: 16px;
  width: max-content;
  transform: none !important;
  transition: none;
  padding: 4px 8px 8px;
}

.home-products-page {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  gap: 16px;
  padding: 6px 8px 10px;
  box-sizing: border-box;
}

.home-products--mobile .home-product-card {
  flex: 0 0 calc((100vw - 56px) / 1.45);
  max-width: 300px;
  min-width: 220px;
  scroll-snap-align: start;
}

.home-products:not(.home-products--mobile) .home-product-card {
  flex: none;
  max-width: none;
  min-width: 0;
  width: auto;
  scroll-snap-align: unset;
}

.home-products-arrow {
  display: grid;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--home-border);
  border-radius: 50%;
  background: var(--home-surface);
  color: var(--home-text);
  cursor: pointer;
  place-items: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
}

.home-products-arrow--next {
  border-color: transparent;
  background: var(--home-orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 92, 0, 0.28);
}

.home-products-arrow:hover:not(:disabled) {
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.home-products-arrow--next:hover:not(:disabled) {
  box-shadow: 0 10px 24px rgba(255, 92, 0, 0.35);
}

.home-products-arrow:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.home-products-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.home-products-dots[hidden] {
  display: none;
}

.home-products-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.home-products-dot.is-active {
  background: var(--home-orange);
  transform: scale(1.2);
}

.home-products-loading {
  margin: 0;
  padding: 48px 16px;
  width: 100%;
  min-width: min(100%, 320px);
  text-align: center;
  color: #888;
  font-size: 15px;
}

/* Empty / message state */
.home-products--empty .home-products-arrow {
  display: none;
}

.home-products--empty .home-products-track {
  min-height: 0;
}

.home-products-empty {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 16px 20px 8px;
}

.home-products-empty__art {
  display: block;
  width: 112px;
  height: 112px;
}

.home-products-empty__art svg {
  width: 100%;
  height: 100%;
}

.home-products-empty__title {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--home-text);
}

.home-products-empty__text {
  margin: 0;
  max-width: 440px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--home-muted);
}

.home-product-card {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  background: var(--home-surface);
  border-radius: 20px;
  padding: 14px 14px 0;
  overflow: hidden;
  border: 1px solid var(--home-border);
  box-shadow: none;
  text-decoration: none;
  color: inherit;
  transform: scale(1);
  transform-origin: center center;
  transition:
    transform 0.22s cubic-bezier(0.33, 1, 0.68, 1),
    border-color 0.22s ease;
}

.home-product-card:hover {
  z-index: 2;
  transform: scale(1.03);
  border-color: rgba(255, 93, 27, 0.4);
}

.home-product-card:focus-visible {
  outline: 2px solid var(--home-orange);
  outline-offset: 3px;
}

.home-product-category {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  min-height: calc(1.35em * 1);
  color: var(--home-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-product-media {
  background: #f5f5f7;
  border-radius: 16px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 10px;
}

.home-product-media img {
  width: 92%;
  height: 92%;
  object-fit: contain;
  transition: transform 0.22s cubic-bezier(0.33, 1, 0.68, 1);
}

.home-product-card:hover .home-product-media img {
  transform: scale(1.02);
}

.home-product-copy {
  flex-shrink: 0;
  margin-top: auto;
  margin-left: -14px;
  margin-right: -14px;
  margin-bottom: 0;
  width: calc(100% + 28px);
  min-height: 88px;
  padding: 14px 14px 16px;
  border-top: 1px solid var(--home-border);
  background: var(--home-surface);
  box-sizing: border-box;
}

.home-product-copy h3 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  min-height: calc(1.4em * 2);
  max-height: calc(1.4em * 2);
  color: var(--home-text);
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}

@media (max-width: 1099px) {
  .home-products-page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .home-products--mobile .home-product-card {
    flex-basis: calc((100vw - 64px) / 2.35);
    min-width: 200px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-products-track {
    transition: none;
  }

  .home-product-card,
  .home-product-media img {
    transition: border-color 0.15s ease;
  }

  .home-product-card:hover {
    transform: none;
  }

  .home-product-card:hover .home-product-media img {
    transform: none;
  }
}

.catalog-sidebar-search {
  margin-bottom: 18px;
}

.catalog-categories {
  border-top: 1px solid #ececec;
  padding-top: 12px;
  margin-bottom: 8px;
}

.catalog-categories-title {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}

.catalog-subcategories--nested {
  margin: -2px 0 6px;
  padding: 2px 0 4px 14px;
  margin-left: 10px;
  border-left: 2px solid rgba(255, 93, 27, 0.4);
  background: rgba(255, 93, 27, 0.04);
  border-radius: 0 0 0 8px;
}

.catalog-subcategories--nested .catalog-category {
  padding: 6px 8px 6px 0;
  border-bottom-color: #ececec;
}

.catalog-subcategories--nested .catalog-category:last-child {
  border-bottom: none;
  padding-bottom: 4px;
}

.catalog-category--sub .catalog-category__label {
  padding-left: 0;
  font-size: 12px;
  color: #555;
}

.catalog-category--parent .catalog-category__label {
  font-weight: 600;
}

.catalog-category--parent.catalog-category--expanded {
  border-bottom: none;
  padding-bottom: 6px;
}

.catalog-category {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 13px;
  line-height: 1.35;
  color: #333;
  cursor: pointer;
  text-align: left;
}

.catalog-category__control {
  width: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 2px;
}

.catalog-category__control input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #ff5d1b;
}

.catalog-category__label {
  min-width: 0;
  text-align: left;
}

.catalog-category--all {
  font-weight: 700;
}

.catalog-category--active {
  background: rgba(255, 93, 27, 0.06);
  margin: 0 -8px;
  padding-left: 8px;
  padding-right: 8px;
  border-radius: 8px;
}

.catalog-filters {
  border-top: 1px solid #ececec;
  padding-top: 8px;
}

.catalog-filter {
  border-bottom: 1px solid #f0f0f0;
}

.catalog-filter__toggle {
  width: 100%;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-align: left;
  cursor: pointer;
}

.catalog-filter__icon {
  width: 20px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1;
  color: #888;
}

.catalog-filter__panel {
  padding: 0 0 10px 30px;
}

.catalog-filter__panel[hidden] {
  display: none;
}

.catalog-filter__option {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.35;
  color: #444;
  cursor: pointer;
  text-align: left;
}

.catalog-filter__control {
  width: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 1px;
}

.catalog-filter__control input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #ff5d1b;
}

.catalog-filter__label {
  min-width: 0;
  text-align: left;
}

.product-gallery-thumbs button.is-active,
.product-gallery-thumb.is-active {
  border-color: #ff5d1b;
  box-shadow: 0 0 0 2px rgba(255, 93, 27, 0.25);
}

/* ---- Product open (modern layout) ---- */
.page-product-open .product-detail-grid {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
}

.product-detail-back {
  margin: 0 0 16px;
  text-decoration: none;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 13px;
  color: #888;
}
.product-breadcrumb a {
  color: #ff5d1b;
  text-decoration: none;
  font-weight: 600;
}
.product-breadcrumb a:hover {
  text-decoration: underline;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 420px);
  gap: 40px;
  align-items: start;
  margin-bottom: 32px;
}

.product-detail-gallery-col {
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.product-detail-info-col {
  min-width: 0;
}

.product-detail-panel--sticky {
  position: sticky;
  top: 100px;
  padding: 24px;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

.product-detail-meta {
  margin: 0 0 16px;
  font-size: 14px;
  color: #666;
}
.product-detail-meta__label {
  font-weight: 600;
  color: #888;
}

.product-specs-accordion .spec-block {
  margin-bottom: 12px;
}

.product-detail-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid #e8e8e8;
  margin-bottom: 0;
}

.product-detail-tab {
  padding: 12px 20px;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #888;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.product-detail-tab.is-active {
  color: #ff5d1b;
  border-bottom-color: #ff5d1b;
}

.product-detail-tab-panels {
  background: #fff;
  border: 1px solid #ececec;
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 24px 28px;
  margin-bottom: 48px;
}

.product-detail-tab-panel {
  display: none;
}
.product-detail-tab-panel.is-active {
  display: block;
}

.product-desc-content {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}
.product-desc-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 16px 0;
}
.product-desc-content ul,
.product-desc-content ol {
  margin: 12px 0;
  padding-left: 22px;
}

.product-specs-grid {
  display: grid;
  gap: 20px;
}

.spec-type-group {
  padding: 16px 18px;
  border-radius: 14px;
  background: #f8f8fa;
  border: 1px solid #ececec;
}

.spec-type-group + .spec-type-group {
  margin-top: 4px;
}

.spec-type-title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 700;
  color: #484848;
}

.product-variants-table-wrap {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #ececec;
}

.product-variants-table__title {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  color: #484848;
}

.product-variants-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.product-variants-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  font-size: 14px;
}

.product-variants-table th,
.product-variants-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #e8e8e8;
  color: #484848;
}

.product-variants-table th {
  font-weight: 700;
  color: #686868;
  background: #f5f5f7;
  white-space: nowrap;
}

.product-variants-table tbody tr:hover {
  background: #fafafa;
}

@media (max-width: 960px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
  .product-detail-panel--sticky {
    position: static;
  }

  .product-gallery-thumbs {
    gap: 10px;
    margin-right: -4px;
    padding-right: 4px;
  }

  .product-gallery-thumbs button {
    width: 96px;
    height: 72px;
  }
}

.catalog-main {
  min-width: 0;
}

.catalog-layout-figma--categories {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.catalog-layout-figma--categories .catalog-sidebar {
  display: none;
}

.catalog-layout-figma--categories .catalog-main {
  grid-column: 1 / -1;
  background: var(--color-surface, #fff);
  border-radius: 20px;
  padding: 8px 0 24px;
  min-height: 360px;
}

.catalog-category-tile--skeleton {
  pointer-events: none;
  background: #e7e7e9 !important;
  box-shadow: none;
  cursor: default;
}

.catalog-category-tile.catalog-category-tile--skeleton .catalog-category-tile__bg,
.catalog-category-tile.catalog-category-tile--skeleton .catalog-category-tile__label {
  display: none;
}

/* Deep-link URLs (?category_id / ?q / ?brand_id): products layout before JS init */
html.catalog-initial-products #catalog-layout.catalog-layout-figma--categories {
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
}

html.catalog-initial-products #catalog-layout.catalog-layout-figma--categories .catalog-sidebar {
  display: block;
}

html.catalog-initial-products #catalog-layout.catalog-layout-figma--categories .catalog-mobile-bar {
  display: none;
}

.catalog-layout-figma--categories .catalog-mobile-bar {
  display: none;
}

.catalog-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px 14px;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #484848;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.catalog-back-btn:hover {
  border-color: #ff5d1b;
  color: #ff5d1b;
}

.catalog-back-btn[hidden] {
  display: none;
}

.catalog-category-grid {
  --catalog-category-accent: #f97316;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
}

.catalog-subcategory-heading {
  grid-column: 1 / -1;
  margin: 0 0 4px;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 700;
  color: #1a1a1a;
}

.catalog-category-tile {
  position: relative;
  display: block;
  width: 100%;
  min-height: 200px;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  font: inherit;
  text-align: left;
  background: #1d1d1f;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.catalog-category-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(15, 23, 42, 0.22);
}

.catalog-category-tile:focus-visible {
  outline: 3px solid var(--catalog-category-accent);
  outline-offset: 3px;
}

.catalog-category-tile__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.catalog-category-tile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.catalog-category-tile:hover .catalog-category-tile__img {
  transform: scale(1.05);
}

.catalog-category-tile__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 10, 14, 0.82) 0%,
    rgba(8, 10, 14, 0.42) 42%,
    rgba(8, 10, 14, 0.12) 100%
  );
  transition: background 0.35s ease;
}

.catalog-category-tile:hover .catalog-category-tile__overlay {
  background: linear-gradient(
    to top,
    rgba(4, 6, 10, 0.92) 0%,
    rgba(4, 6, 10, 0.58) 48%,
    rgba(4, 6, 10, 0.22) 100%
  );
}

.catalog-category-tile__label {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.catalog-category-tile__title {
  display: inline-block;
  max-width: 100%;
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  border-left: 3px solid var(--catalog-category-accent);
  background: rgba(18, 20, 24, 0.48);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
  transition:
    background 0.35s ease,
    box-shadow 0.35s ease;
}

.catalog-category-tile:hover .catalog-category-tile__title {
  background: rgba(12, 14, 18, 0.62);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .catalog-category-tile,
  .catalog-category-tile__img,
  .catalog-category-tile__overlay,
  .catalog-category-tile__title {
    transition: none;
  }

  .catalog-category-tile:hover {
    transform: none;
  }

  .catalog-category-tile:hover .catalog-category-tile__img {
    transform: none;
  }
}

.product-type-picker {
  margin: 0 0 22px;
}

.product-type-picker__label {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #555;
}

.product-type-picker__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.product-type-picker__tab {
  padding: 8px 14px;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #555;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.product-type-picker__tab:hover {
  border-color: #ff5d1b;
  color: #ff5d1b;
}

.product-type-picker__tab.is-active {
  border-color: #ff5d1b;
  background: #fff8f4;
  color: #ff5d1b;
}

.product-type-picker__panel {
  padding: 14px 16px;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
  background: #fafafa;
}

.product-type-picker__desc {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #686868;
  white-space: pre-wrap;
}

.product-type-picker__panel .product-compact-specs {
  margin: 0;
}

.catalog-card-sub {
  margin: 0 0 12px;
  font-size: 14px;
  color: #888;
}

.catalog-card-sub-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: #888;
  cursor: pointer;
}

.catalog-card-sub-btn:hover {
  color: #ff5d1b;
}

.catalog-card__cta {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #ff5d1b;
  padding: 10px 12px;
  border-radius: 10px;
  border: 2px solid #ff5d1b;
  background: #fff;
  transition: background 0.15s ease, color 0.15s ease;
}

a.catalog-card:hover .catalog-card__cta {
  background: #ff5d1b;
  color: #fff;
}

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  margin-top: 36px;
}

.catalog-pagination__link,
.catalog-pagination__btn {
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  min-width: 28px;
  text-align: center;
  padding: 6px 8px;
  border-radius: 6px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
}

.catalog-pagination__link.is-active {
  background: #ff5d1b;
  color: #fff;
}

.catalog-pagination__link:hover:not(.is-active),
.catalog-pagination__btn:hover:not(:disabled) {
  color: #ff5d1b;
}

.catalog-pagination__btn:disabled,
.catalog-pagination__btn.is-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 1080px) {
  .catalog-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .catalog-category-grid {
    gap: 22px;
  }
}

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

  .catalog-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .catalog-category-tile {
    aspect-ratio: 16 / 10;
    min-height: 168px;
  }

  .catalog-category-tile__label {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .catalog-category-tile__title {
    padding: 10px 14px;
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  .catalog-category-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .catalog-category-tile {
    aspect-ratio: 16 / 9;
    min-height: 180px;
  }
}

/* Mobile catalog toolbar + filter drawer */
.catalog-mobile-bar {
  display: none;
}

.catalog-sidebar-head,
.catalog-drawer-backdrop,
.catalog-drawer-close {
  display: none;
}

.catalog-filter-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  min-width: 48px;
  height: 48px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: #ff5d1b;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease;
}

.catalog-filter-open:hover {
  background: #e8501a;
}

.catalog-filter-open__label {
  display: none;
}

.catalog-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.catalog-drawer-backdrop.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 900px) {
  body.catalog-drawer-open {
    overflow: hidden;
  }
}

@media (max-width: 900px) {
  .catalog-mobile-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }

  .catalog-mobile-bar[hidden] {
    display: none !important;
  }

  html.catalog-initial-products #catalog-layout.catalog-layout-figma--categories {
    grid-template-columns: minmax(0, 1fr);
  }

  html.catalog-initial-products #catalog-layout.catalog-layout-figma--categories .catalog-sidebar {
    display: none;
  }

  html.catalog-initial-products #catalog-layout.catalog-layout-figma--categories .catalog-mobile-bar {
    display: flex;
  }

  .catalog-mobile-search {
    flex: 1;
    min-width: 0;
  }

  .catalog-mobile-search .product-search,
  .catalog-mobile-search .contacts-search {
    width: 100%;
    max-width: none;
  }

  .catalog-filter-open__label {
    display: inline;
  }

  .catalog-layout-figma {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .catalog-sidebar {
    grid-column: 1;
    grid-row: 1;
  }

  .catalog-mobile-bar {
    grid-column: 1;
    grid-row: 1;
  }

  .catalog-main {
    grid-column: 1;
    grid-row: 2;
    min-height: 280px;
  }

  .catalog-sidebar-search--desktop {
    display: none;
  }

  .catalog-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ececec;
  }

  .catalog-sidebar-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #333;
  }

  .catalog-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f2f2f2;
    color: #333;
    cursor: pointer;
  }

  .catalog-drawer-backdrop {
    display: block;
  }

  .catalog-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 130;
    width: min(320px, 88vw);
    height: 100%;
    max-height: 100dvh;
    margin: 0;
    padding: 20px 18px 28px;
    background: #fff;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.12);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-105%);
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    visibility: hidden;
  }

  .catalog-sidebar.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .catalog-main {
    width: 100%;
  }

  .catalog-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .catalog-category-grid {
    gap: 18px;
  }

  .catalog-card {
    padding: 10px 10px 14px;
  }

  .catalog-card-title {
    font-size: 14px;
  }

  .catalog-card__cta {
    font-size: 13px;
    padding: 8px 10px;
  }
}

@media (max-width: 520px) {
  .catalog-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .catalog-filter-open__label {
    display: none;
  }

  .catalog-filter-open {
    padding: 0;
    width: 48px;
  }
}

/* Product gallery lightbox */
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.product-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.product-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.product-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.product-lightbox__nav--prev {
  left: 12px;
}

.product-lightbox__nav--next {
  right: 12px;
}

.product-lightbox__nav:disabled {
  opacity: 0.25;
  cursor: default;
}

.product-lightbox__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(96vw, 1100px);
  min-height: 0;
  touch-action: pan-y pinch-zoom;
}

.product-lightbox__img {
  max-width: 100%;
  max-height: min(78vh, 900px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.product-lightbox__counter {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.product-gallery-zoom {
  transition: transform 0.15s ease, background 0.15s ease;
}

.product-gallery-zoom:hover {
  transform: scale(1.06);
}

.product-gallery-main img {
  cursor: zoom-in;
}

body.product-lightbox-open {
  overflow: hidden;
}

/* Схожі товари — «Можливо вас зацікавить» */
.page-product-open .product-related.home-section {
  width: 100%;
  margin-top: 8px;
  padding: clamp(48px, 6vw, 72px) 0;
}

.page-product-open .product-related .home-wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.page-product-open .inner-main {
  padding-bottom: 0;
}
