@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   1. VARIABLES
   ========================================================================== */
:root {
  --radius: 0.375rem;

  --background: oklch(98.5% 0 0);
  --foreground: oklch(22% 0.005 85);
  --card: oklch(100% 0 0);
  --card-foreground: oklch(12.9% 0.042 264.695);
  --popover: oklch(100% 0 0);
  --popover-foreground: oklch(12.9% 0.042 264.695);
  --primary: oklch(86% 0.175 89);
  --primary-foreground: oklch(20% 0 0);
  --secondary: oklch(96.8% 0.007 247.896);
  --secondary-foreground: oklch(20.8% 0.042 265.755);
  --muted: oklch(95.5% 0.002 85);
  --muted-foreground: oklch(53% 0.005 85);
  --accent: oklch(96.8% 0.007 247.896);
  --accent-foreground: oklch(20.8% 0.042 265.755);
  --destructive: oklch(57.7% 0.245 27.325);
  --destructive-foreground: oklch(98.4% 0.003 247.858);
  --border: oklch(90% 0.003 85);
  --input: oklch(92.9% 0.013 255.508);
  --ring: oklch(70.4% 0.04 256.788);

  --industrial: oklch(20.5% 0.003 85);
  --industrial-foreground: oklch(98% 0 0);
  --success: oklch(48% 0.11 148);
  --shadow-soft: 0 8px 30px oklch(20% 0 0 / 0.05);

  --spacing: 0.25rem;

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', 'Noto Sans', Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

  --default-transition-duration: 0.15s;
  --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.dark {
  --background: oklch(12.9% 0.042 264.695);
  --foreground: oklch(98.4% 0.003 247.858);
  --card: oklch(20.8% 0.042 265.755);
  --card-foreground: oklch(98.4% 0.003 247.858);
  --popover: oklch(20.8% 0.042 265.755);
  --popover-foreground: oklch(98.4% 0.003 247.858);
  --primary: oklch(92.9% 0.013 255.508);
  --primary-foreground: oklch(20.8% 0.042 265.755);
  --secondary: oklch(27.9% 0.041 260.031);
  --secondary-foreground: oklch(98.4% 0.003 247.858);
  --muted: oklch(27.9% 0.041 260.031);
  --muted-foreground: oklch(70.4% 0.04 256.788);
  --accent: oklch(27.9% 0.041 260.031);
  --accent-foreground: oklch(98.4% 0.003 247.858);
  --destructive: oklch(70.4% 0.191 22.216);
  --destructive-foreground: oklch(98.4% 0.003 247.858);
  --border: oklch(100% 0 0 / 0.1);
  --input: oklch(100% 0 0 / 0.15);
  --ring: oklch(55.1% 0.027 264.364);
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  border: 0 solid;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  line-height: 1.5;
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  background-color: var(--background);
  color: var(--foreground);
  letter-spacing: 0;
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b,
strong {
  font-weight: bolder;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  vertical-align: middle;
  display: block;
}

img,
video {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
optgroup,
textarea {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  opacity: 1;
  background-color: transparent;
  border-radius: 0;
}

button {
  cursor: pointer;
}

ol,
ul,
menu {
  list-style: none;
}

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* ==========================================================================
   3. COMPONENTS
   ========================================================================== */

/* Container */
.container {
  width: min(1240px, 100% - 80px);
  margin-inline: auto;
}

/* Button */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--spacing) * 2);
  white-space: nowrap;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition:
    color 0.15s,
    background-color 0.15s,
    border-color 0.15s,
    box-shadow 0.15s;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  text-decoration: none;
}

.button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 1px var(--ring);
}

.button:disabled {
  pointer-events: none;
  opacity: 0.5;
  cursor: not-allowed;
}

.button svg {
  pointer-events: none;
  width: calc(var(--spacing) * 4);
  height: calc(var(--spacing) * 4);
  flex-shrink: 0;
}

.button--primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
  box-shadow:
    0 1px 3px 0 rgb(0 0 0 / 0.1),
    0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.button--primary:hover {
  background-color: color-mix(in oklab, var(--primary) 90%, transparent);
}

.button--outline {
  border-color: color-mix(in oklab, var(--industrial-foreground) 40%, transparent);
  background-color: transparent;
  color: var(--industrial-foreground);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.button--outline:hover {
  background-color: color-mix(in oklab, var(--industrial-foreground) 10%, transparent);
  color: var(--industrial-foreground);
}

.button--ghost {
  background: transparent;
  color: inherit;
}

.button--ghost:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.button--dark {
  background-color: var(--industrial);
  color: var(--industrial-foreground);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.button--dark:hover {
  background-color: color-mix(in oklab, var(--industrial) 90%, transparent);
}

.button--link {
  background: transparent;
  color: var(--muted-foreground);
  padding: 0;
  height: auto;
  font-size: 0.75rem;
  text-underline-offset: 4px;
}

.button--link:hover {
  text-decoration: underline;
}

.button--sm {
  height: calc(var(--spacing) * 9);
  padding: 0 calc(var(--spacing) * 4);
}

.button--icon {
  height: calc(var(--spacing) * 9);
  width: calc(var(--spacing) * 9);
  padding: 0;
}

.button--lg {
  height: calc(var(--spacing) * 12);
  padding: 0 calc(var(--spacing) * 6);
}

.button--xl {
  height: 50px;
  padding: 0 calc(var(--spacing) * 4);
}

.button--block {
  width: 100%;
  height: calc(var(--spacing) * 10);
}

.button--bold {
  font-weight: 700;
}

/* Section helpers */
.section-space {
  padding-block: 54px;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
}

.section-eyebrow {
  margin-bottom: calc(var(--spacing) * 2);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted-foreground);
}

/* ==========================================================================
   4. TOP BAR
   ========================================================================== */
.top-bar {
  border-bottom: 1px solid var(--border);
  background-color: var(--muted);
  color: var(--muted-foreground);
}

.top-bar__inner {
  display: flex;
  height: calc(var(--spacing) * 9);
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.top-bar__item {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 2);
}

.top-bar__item svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

.top-bar__nav {
  display: none;
  align-items: center;
  gap: calc(var(--spacing) * 7);
}

.top__menu {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: calc(var(--spacing) * 7);
}

.top-bar__link {
  transition: color 0.2s;
}

.top-bar__link:hover {
  color: var(--primary);
}

.top-bar__link--icon {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 2);
}

.top-bar__link--icon svg {
  width: 12px;
  height: 12px;
}

@media (min-width: 768px) {
  .top-bar__nav {
    display: flex;
  }
}

/* ==========================================================================
   5. HEADER
   ========================================================================== */
.header {
  background-color: var(--card);
}

.header__inner {
  display: flex;
  height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--spacing) * 8);
}

.header__logo {
  flex-shrink: 0;
}

.header__logo img {
  width: 180px;
  height: auto;
}

@media (min-width: 768px) {
  .header__logo img {
    width: 210px;
  }
}

.header__search {
  display: none;
  max-width: 390px;
  flex: 1;
  align-items: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--muted);
}

.header__search-input {
  height: calc(var(--spacing) * 11);
  width: 100%;
  background: transparent;
  padding: 0 calc(var(--spacing) * 4);
  font-size: 0.75rem;
  outline: none;
}

@media (min-width: 1024px) {
  .header__search {
    display: flex;
  }
}

.header__contacts {
  display: none;
  flex-shrink: 0;
}

.header__phone {
  font-size: 1.125rem;
  font-weight: 800;
  display: block;
}

.header__callback {
  display: block;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  padding: 0;
  height: auto;
  text-underline-offset: 4px;
}

.header__callback:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .header__contacts {
    display: block;
  }
}

.header__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--spacing) * 9);
  width: calc(var(--spacing) * 9);
  border-radius: var(--radius);
  transition:
    background-color 0.2s,
    color 0.2s;
  position: relative;
  z-index: 999;
}

.header__burger:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

@media (min-width: 768px) {
  .header__burger {
    display: none;
  }
}

/* ==========================================================================
   6. NAV
   ========================================================================== */
.nav {
  background-color: var(--industrial);
  color: var(--industrial-foreground);
}

.nav__inner {
  display: flex;
  height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--spacing) * 6);
}

.nav__catalog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(var(--spacing) * 2);
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0 calc(var(--spacing) * 6);
  height: 100%;
  border-radius: 0;
  border: none;
}

.nav__catalog-btn:hover {
  background-color: color-mix(in oklab, var(--primary) 90%, transparent);
}

.nav__catalog-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.nav__catalog-btn .nav__chevron {
  margin-left: calc(var(--spacing) * 5);
  width: 24px;
  height: 24px;
}

.nav__menu {
  display: none;
  flex: 1;
  align-items: center;
  justify-content: space-evenly;
  gap: calc(var(--spacing) * 5);
}

.nav__link {
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
  background: transparent;
  border: none;
  padding: 0;
}

.nav__link:hover {
  color: var(--primary);
}

.nav__phone-mobile {
  display: block;
}

.nav__phone-mobile svg {
  width: 18px;
  height: 18px;
}

@media (min-width: 768px) {
  .nav__menu {
    display: flex;
  }
  .nav__phone-mobile {
    display: none;
  }
}

/* ==========================================================================
   7. HERO
   ========================================================================== */
.hero {
  background: var(--industrial);
  min-height: 500px;
  color: var(--industrial-foreground);
  position: relative;
  overflow: hidden;
}

.hero__photo {
  object-fit: cover;
  object-position: center 57%;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.hero::after {
  content: '';
  background: linear-gradient(90deg, oklch(12% 0 0 / 0.86), oklch(12% 0 0 / 0.35) 48%, transparent 75%);
  position: absolute;
  inset: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 65px 76px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 3);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero__eyebrow-line {
  height: 1px;
  width: calc(var(--spacing) * 7);
  background-color: var(--primary);
}

.hero__title {
  max-width: 670px;
  margin: 21px 0;
  font-size: 58px;
  font-weight: 800;
  line-height: 1.12;
}

.hero__title-accent {
  color: var(--primary);
}

.hero__text {
  opacity: 0.8;
  max-width: 410px;
  font-size: 16px;
  line-height: 1.8;
}

.hero__actions {
  margin-top: calc(var(--spacing) * 8);
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--spacing) * 3);
}

.hero__trust {
  margin-top: calc(var(--spacing) * 9);
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 2);
  font-size: 0.75rem;
  color: color-mix(in oklab, var(--industrial-foreground) 70%, transparent);
}

.hero__trust svg {
  width: 15px;
  height: 15px;
  color: var(--primary);
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .hero {
    min-height: 490px;
  }
  .hero__title {
    max-width: 460px;
    font-size: 40px;
  }
  .hero__content {
    padding-block: 50px;
  }
  .hero__photo {
    object-position: 65% center;
  }
  .hero::after {
    background: oklch(12% 0 0 / 0.65);
  }
}

/* ==========================================================================
   8. FINDER
   ========================================================================== */
.finder {
  border-bottom: 1px solid var(--border);
  background-color: var(--card);
}

.finder__inner {
  padding-block: calc(var(--spacing) * 7);
}

.finder__header {
  margin-bottom: calc(var(--spacing) * 5);
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 3);
}

.finder__header svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.finder__title {
  font-size: 1.125rem;
  font-weight: 800;
}

.finder__form {
  display: grid;
  align-items: end;
  gap: calc(var(--spacing) * 4);
}

.finder__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.finder__label {
  position: relative;
  display: block;
}

.finder__select {
  width: 100%;
  padding-right: 44px;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}

.finder__select option[hidden] {
  display: none;
}

.finder__select {
  border: 1px solid var(--border);
  background-color: var(--card);
  width: 100%;
  height: 50px;
  color: var(--foreground);
  font: inherit;
  border-radius: 4px;
  padding: 0 14px;
  font-size: 14px;
  margin-top: calc(var(--spacing) * 2);
}

.finder__submit {
  height: 50px;
  padding: 0 calc(var(--spacing) * 4);
  font-weight: 700;
}

@media (min-width: 768px) {
  .finder__form {
    grid-template-columns: 1fr 1fr 210px;
  }
}

/* ==========================================================================
   9. CATALOG
   ========================================================================== */
.catalog__header {
  margin-bottom: calc(var(--spacing) * 7);
}

.catalog__group {
  margin: 10px 0;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(var(--spacing) * 3);
}

.category-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  min-height: 205px;
  padding: 20px;
  transition:
    border-color 0.2s,
    transform 0.2s;
  text-align: left;
  white-space: normal;
  cursor: pointer;
  width: 100%;
}

.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.category-card__image {
  object-fit: contain;
  mix-blend-mode: multiply;
  width: 100%;
  height: 100px;
  margin-bottom: 14px;
}

.category-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(var(--spacing) * 2);
}

.category-card__title {
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.25rem;
}

.category-card__chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--muted-foreground);
}

@media (min-width: 768px) {
  .catalog__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1280px) {
  .catalog__grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* ==========================================================================
   10. FEATURES
   ========================================================================== */
.features {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: var(--card);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(var(--spacing) * 7);
  padding-block: calc(var(--spacing) * 7);
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: calc(var(--spacing) * 3);
}

.feature svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.feature__title {
  font-size: 0.75rem;
  font-weight: 800;
}

.feature__text {
  margin-top: var(--spacing);
  font-size: 11px;
  line-height: 1.25rem;
  color: var(--muted-foreground);
}

@media (min-width: 1024px) {
  .features__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ==========================================================================
   11. PRODUCTS
   ========================================================================== */
.products__header {
  margin-bottom: calc(var(--spacing) * 7);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: calc(var(--spacing) * 4);
}

.products__all-link {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 3);
  font-size: 0.75rem;
  font-weight: 600;
}

.products__all-link svg {
  width: 17px;
  height: 17px;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(var(--spacing) * 4);
}

.product-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: calc(var(--spacing) * 4);
  display: flex;
  flex-direction: column;
}

.product-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__brand {
  font-size: 10px;
  font-weight: 800;
  color: var(--muted-foreground);
}

.product-card__favorite {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: calc(var(--spacing) * 9);
  width: calc(var(--spacing) * 9);
  border-radius: var(--radius);
  background: transparent;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.2s,
    color 0.2s;
  margin-left: auto;
  display: none;
}

.product-card__favorite:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.product-card__favorite svg {
  width: 18px;
  height: 18px;
  color: var(--muted-foreground);
}

.product-card__photo {
  object-fit: contain;
  mix-blend-mode: multiply;
  width: 100%;
  height: 230px;
}

.product-card__category {
  margin-bottom: calc(var(--spacing) * 2);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted-foreground);
}

.product-card__name {
  font-size: 0.875rem;
  font-weight: 800;
  display: block;
  height: 42px;
  margin-bottom: auto;
}

.product-card__size {
  margin-top: var(--spacing);
  font-size: 1.125rem;
  font-weight: 700;
}

.product-card__price {
  margin-top: calc(var(--spacing) * 4);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--spacing);
}

.product-card__price-value {
  font-size: 1.5rem;
  font-weight: 800;
}

.product-card__price-unit {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.product-card__cta {
  margin-top: calc(var(--spacing) * 4);
  height: calc(var(--spacing) * 10);
  width: 100%;
  font-weight: 700;
}

@media (min-width: 768px) {
  .product-card {
    padding: calc(var(--spacing) * 5);
  }
}

@media (min-width: 1024px) {
  .products__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .product-card__photo {
    height: 180px;
  }
  .product-card__name {
    height: auto;
  }
  .footer__heading > br {
    display: none;
  }
  .footer__grid > div:nth-child(3) {
    margin-top: -45px;
  }
}

/* ==========================================================================
   12. CTA
   ========================================================================== */
.cta {
  background-color: var(--primary);
}

.cta__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: calc(var(--spacing) * 5);
  padding-block: calc(var(--spacing) * 9);
}

.cta__title {
  font-size: 1.5rem;
  font-weight: 800;
}

.cta__text {
  margin-top: calc(var(--spacing) * 2);
  font-size: 0.875rem;
}

.cta__button {
  height: calc(var(--spacing) * 12);
  padding: 0 calc(var(--spacing) * 7);
}

.cta__button svg {
  margin-left: calc(var(--spacing) * 3);
  width: 24px;
  height: 24px;
}

@media (min-width: 768px) {
  .cta__inner {
    flex-direction: row;
    align-items: center;
  }
}

.desc {
  /* padding: 54px 0; */
  background-color: #fff;
  padding-block: 38px;
}

/* ==========================================================================
   13. ARTICLES
   ========================================================================== */
.articles {
  background-color: var(--card);
}

.articles__header {
  margin-bottom: calc(var(--spacing) * 7);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.articles__all-link {
  display: flex;
  align-items: center;
  gap: calc(var(--spacing) * 2);
  font-size: 0.75rem;
  font-weight: 600;
}

.articles__all-link svg {
  width: 17px;
  height: 17px;
}

.articles__grid {
  display: grid;
  gap: calc(var(--spacing) * 7);
}

.article-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.article-card__image-wrap {
  overflow: hidden;
  border-radius: var(--radius);
}

.article-card__image {
  height: 210px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  margin-bottom: 10px;
}

.article-card:hover .article-card__image {
  transform: scale(1.05);
}

.article-card__category {
  margin-bottom: calc(var(--spacing) * 3);
  margin-top: calc(var(--spacing) * 5);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted-foreground);
}

.article-card__footer {
  display: flex;
  justify-content: space-between;
  gap: calc(var(--spacing) * 5);
}

.article-card__title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5rem;
}

.article-card__arrow {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (min-width: 768px) {
  .articles__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */
.footer {
  background-color: var(--industrial);
  color: var(--industrial-foreground);
}

.footer__grid {
  display: grid;
  gap: calc(var(--spacing) * 10);
  padding-block: calc(var(--spacing) * 12);
}

.footer__brand-name {
  font-size: 29px;
  font-weight: 900;
  line-height: 1;
}

.footer__brand-name-accent {
  color: var(--primary);
}

.footer__brand-text {
  margin-top: calc(var(--spacing) * 4);
  font-size: 0.75rem;
  line-height: 1.5rem;
  color: color-mix(in oklab, var(--industrial-foreground) 60%, transparent);
}

.footer__heading {
  margin-bottom: calc(var(--spacing) * 5);
  font-size: 0.75rem;
  font-weight: 700;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 3);
  font-size: 0.75rem;
  color: color-mix(in oklab, var(--industrial-foreground) 60%, transparent);
}

.footer__links a {
  transition: color 0.2s;
}

.footer__links a:hover {
  color: var(--industrial-foreground);
}

.footer__phone {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer__contacts {
  margin-top: calc(var(--spacing) * 5);
  display: flex;
  flex-direction: column;
  gap: calc(var(--spacing) * 3);
  font-size: 0.75rem;
  color: color-mix(in oklab, var(--industrial-foreground) 60%, transparent);
}

.footer__contact-row {
  display: flex;
  gap: calc(var(--spacing) * 2);
  align-items: flex-start;
}

.footer__contact-row svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.footer__contact-row--address svg {
  width: 15px;
  height: 15px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: calc(var(--spacing) * 3);
  border-top: 1px solid color-mix(in oklab, var(--industrial-foreground) 15%, transparent);
  padding-block: calc(var(--spacing) * 5);
  font-size: 10px;
  color: color-mix(in oklab, var(--industrial-foreground) 45%, transparent);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr 1.3fr;
  }
}

/* ==========================================================================
   15. RESPONSIVE (mobile tweaks)
   ========================================================================== */
@media (max-width: 800px) {
  .container {
    width: calc(100% - 32px);
  }
  .section-title {
    font-size: 27px;
  }
  .section-space {
    padding-block: 35px;
  }
  .category-card {
    min-height: 190px;
    padding: 14px;
  }
  .category-card__image {
    height: 100px;
  }
}

.content {
  display: block;
  width: 100%;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
  color: #252a30;
}

.content h2:first-child {
  margin-top: 0;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5 {
  color: #171b20;
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.content h1 {
  font-size: 36px;
  margin: 0 0 24px;
}

.content h2 {
  font-size: 30px;
  margin: 40px 0 16px;
}

.content h3 {
  font-size: 25px;
  margin: 32px 0 14px;
}

.content h4 {
  font-size: 21px;
  margin: 28px 0 12px;
}

.content h5 {
  font-size: 18px;
  margin: 24px 0 10px;
}

.content h2 + p,
.content h3 + p,
.content h4 + p,
.content h5 + p {
  margin-top: 0;
}

.content p {
  margin: 20px 0;
}

.content p:first-child:empty {
  display: none;
}

.content p:first-child:empty + h2 {
  margin-top: 0;
}

.content a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.content a:hover {
  color: var(--primary);
}

.content strong,
.content b {
  font-weight: 600;
  color: #171b20;
}

.content ul,
.content ol {
  margin: 20px 0;
  padding-left: 28px;
}

.content li {
  margin-bottom: 8px;
  padding-left: 4px;
}

.content li::marker {
  color: var(--primary);
}

.content ul li {
  list-style-type: disc;
}

.content ol li {
  list-style-type: decimal;
}

.content li > ul,
.content li > ol {
  margin: 10px 0;
}

.content hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 32px 0;
}

.wp-block-quote {
  max-width: 770px;
  width: 100%;
  margin: 28px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  background: #f5f7f6;
  line-height: 1.6;
}

.wp-block-quote:has(cite) {
  position: relative;
  padding: 28px 28px 24px 58px;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--primary);
  border-radius: 12px;
}

.wp-block-quote:has(cite)::before {
  content: '\201C';
  position: absolute;
  top: 18px;
  left: 20px;
  color: var(--primary);
  font-family: Georgia, serif;
  font-size: 42px;
  line-height: 1;
  opacity: 0.65;
}

.wp-block-quote p {
  margin: 0 0 14px;
}

.wp-block-quote p:last-child {
  margin-bottom: 0;
}

.wp-block-quote cite {
  display: block;
  margin-top: 14px;
  color: #6b7280;
  font-size: 14px;
  font-style: normal;
}

.content table {
  display: table;
  width: 100%;
  /* max-width: 768px; */
  margin: 28px 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  font-size: 15px;
}

.content th,
.content td {
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid #e5e7eb;
  border-right: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
}

.content th:last-child,
.content td:last-child {
  border-right: 0;
}

.content tr:last-child td {
  border-bottom: 0;
}

.content th {
  background: #f3f5f4;
  color: #252a30;
  font-size: 15px;
  font-weight: 600;
}

.content td {
  font-size: 15px;
}

.content tbody tr:nth-child(even) {
  background: #f9faf9;
}

.content tbody tr:hover {
  background: #f0f7f2;
}

.content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

.content figure {
  margin: 28px 0;
}

.content figcaption {
  margin-top: 10px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
}

.content iframe {
  display: block;
  width: 100%;
  max-width: 768px;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 400px;
  border: 0;
  border-radius: 12px;
}

.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  margin: 0;
  padding: 28px 12px 10px;
  color: #fff;
  background: linear-gradient(transparent, rgb(0 0 0 / 65%));
  border-radius: 0 0 12px 12px;
}

.content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.content .wp-block-button__link:hover {
  background: var(--primary);
  color: #fff;
}

.content code {
  padding: 3px 6px;
  border-radius: 5px;
  background: #f3f4f6;
  font-size: 0.88em;
}

.content pre {
  max-width: 100%;
  padding: 20px;
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #f8f9fa;
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .content {
    font-size: 16px;
    line-height: 1.7;
  }

  .content h1 {
    font-size: 30px;
  }

  .content h2 {
    font-size: 26px;
    margin-top: 32px;
  }

  .content h3 {
    font-size: 22px;
    margin-top: 26px;
  }

  .content h4 {
    font-size: 19px;
  }

  .content h5 {
    font-size: 17px;
  }

  .content p {
    margin: 16px 0;
  }

  .content ul,
  .content ol {
    padding-left: 22px;
  }

  .content table {
    font-size: 14px;
  }

  .content th,
  .content td {
    padding: 10px 12px;
  }

  .content iframe {
    min-height: 240px;
  }

  .wp-block-quote:has(cite) {
    padding: 24px 20px 20px 44px;
  }

  .wp-block-quote:has(cite)::before {
    left: 14px;
  }
}

.product-page {
  padding: 32px 0 0;
  color: var(--foreground);
  background: var(--background);
  font-family: var(--font-sans);
  line-height: 1.5;
}

.product-page__container {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}

.product-page__header {
  margin-bottom: 28px;
}

.product-page__title {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: start;
}

.product-gallery {
  min-width: 0;
}

.product-gallery__main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  aspect-ratio: 1 / 0.92;
  padding: 32px;
  overflow: hidden;
  color: var(--foreground);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
}

.product-gallery__main img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 500px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-gallery__main:hover img {
  transform: scale(1.035);
}

.product-gallery__zoom {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--muted-foreground);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.product-gallery__zoom svg {
  width: 20px;
  height: 20px;
}

.product-info {
  min-width: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.product-info__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--border);
}

.product-info__availability {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--success);
  font-size: 14px;
  font-weight: 600;
}

.product-info__availability-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--success);
  border-radius: 50%;
}

.product-info__sku {
  color: var(--muted-foreground);
  font-size: 13px;
}

.product-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 24px 0;
}

.product-price__label {
  color: var(--muted-foreground);
  font-size: 14px;
}

.product-price__value {
  color: var(--foreground);
  font-size: clamp(34px, 3vw, 44px);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.product-price__value span {
  font-size: 0.75em;
  font-weight: 600;
}

.product-info__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.product-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--default-transition-duration) var(--default-transition-timing-function),
    border-color var(--default-transition-duration) var(--default-transition-timing-function),
    color var(--default-transition-duration) var(--default-transition-timing-function);
}

.product-button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.product-button--primary {
  color: var(--primary-foreground);
  background: var(--primary);
}

.product-button--primary:hover {
  color: var(--primary-foreground);
  filter: brightness(0.96);
}

.product-button--secondary {
  color: var(--foreground);
  background: transparent;
  border-color: var(--border);
}

.product-button--secondary:hover {
  background: var(--muted);
}

.product-specs__header {
  margin-bottom: 8px;
}

.product-specs__header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-specs__list {
  margin: 0;
}

.product-specs__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.product-specs__row:last-child {
  border-bottom: 0;
}

.product-specs__row dt {
  color: var(--muted-foreground);
}

.product-specs__row dd {
  margin: 0;
  color: var(--foreground);
  font-weight: 550;
  text-align: right;
  overflow-wrap: anywhere;
}

.product-description {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.product-description__header {
  margin-bottom: 20px;
}

.product-description__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-foreground);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-description__header h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.product-description__content {
  max-width: 900px;
  color: var(--muted-foreground);
  font-size: 16px;
  line-height: 1.8;
}

.product-description__content p {
  margin: 0 0 16px;
}

.product-description__content p:last-child {
  margin-bottom: 0;
}

.product-contact {
  margin-top: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background-color: #fff;
}

.product-contact__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.product-contact h2 {
  margin: 0 0 6px;
  color: var(--foreground);
  font-size: 21px;
  font-weight: 700;
}

.product-contact p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 14px;
  line-height: 1.6;
}

.product-contact .product-button {
  flex: 0 0 auto;
}

@media (min-width: 900px) {
  .product-info {
    position: sticky;
    top: 24px;
  }
}

@media (max-width: 899px) {
  .product-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .product-gallery__main {
    min-height: 300px;
    max-height: 500px;
  }

  .product-description {
    margin-top: 28px;
  }
}

@media (max-width: 540px) {
  .product-page {
    padding: 20px 0 40px;
  }

  .product-page__container {
    width: min(100% - 28px, 1240px);
  }

  .product-page__header {
    margin-bottom: 20px;
  }

  .product-page__title {
    font-size: 27px;
  }

  .product-gallery__main {
    min-height: 250px;
    padding: 20px;
  }

  .product-info__top {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .product-price {
    padding: 20px 0;
  }

  .product-price__value {
    font-size: 36px;
  }

  .product-info__actions {
    flex-direction: column;
  }

  .product-button {
    width: 100%;
  }

  .product-specs__row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 12px;
    font-size: 13px;
  }

  .product-description {
    padding-top: 24px;
  }

  .product-description__header h2 {
    font-size: 23px;
  }

  .product-description__content {
    font-size: 15px;
  }

  .product-contact {
    padding: 22px 0;
  }

  .product-contact__content {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .product-contact h2 {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-page *,
  .product-page *::before,
  .product-page *::after {
    transition-duration: 0.01ms !important;
  }
}

.breadcrumbs {
  padding: 16px 0;
  font-size: 14px;
  color: var(--muted-foreground);
}

.breadcrumbs .container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 20px;
}

.breadcrumbs__nav a {
  color: var(--muted-foreground);
  text-decoration: none;
  transition: color var(--default-transition-duration) var(--default-transition-timing-function);
}

.breadcrumbs__nav a:hover {
  color: var(--foreground);
}

.breadcrumbs__nav .breadcrumb_last {
  color: var(--foreground);
}

.breadcrumbs__nav a + span,
.breadcrumbs__nav span + a {
  margin-left: 6px;
}

.nav__inner {
  position: relative;
}

.nav__catalog-panel {
  position: absolute;
  z-index: 1000;
  top: 100%;
  left: 0;
  width: min(500px, calc(100vw - 32px));
  max-height: min(56vh, 520px);
  overflow-y: auto;
  margin-top: 0px;
  padding: 12px;
  /* border: 1px solid var(--border); */
  /* border-radius: var(--radius); */
  /* background: var(--card); */
  background-color: var(--industrial);
  color: var(--industrial-foreground);
  /* color: var(--card-foreground); */
  box-shadow: var(--shadow-soft);
}

.nav__catalog-panel[hidden] {
  display: none;
}

.nav__catalog-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav__catalog-list li {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.nav__catalog-list a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  /* color: var(--foreground); */
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}

.nav__catalog-list a:hover {
  background: var(--muted);
  color: var(--foreground);
}

@media (max-width: 767px) {
  .nav__catalog-panel {
    position: absolute;
    left: 12px;
    right: 12px;
    width: auto;
    max-height: 70vh;
    padding: 8px;
  }

  .nav__catalog-list {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .nav__catalog-list a {
    padding: 12px;
    font-size: 15px;
  }
}

.navigation.pagination {
  text-align: center;
  margin: 50px 0 0;
}

.nav-links .page-numbers {
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 3px 13px;
}

.page-numbers.current {
  font-weight: 700;
}

.search-page {
  padding: 48px 0 64px;
}

.search-page__title {
  margin: 0 0 32px;
  font-size: 32px;
  line-height: 1.3;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.search-page__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.search-card {
  display: block;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.search-card:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.search-card__title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.4;
}

.search-card__excerpt {
  margin: 0 0 16px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
}

.search-card__link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}

.search-page__empty {
  padding: 24px;
  background: #f8fafc;
  border-radius: 12px;
  color: #64748b;
}

@media (max-width: 768px) {
  .search-page {
    padding: 32px 0 48px;
  }

  .search-page__title {
    font-size: 26px;
    margin-bottom: 24px;
  }

  .search-page__list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .search-card {
    padding: 18px;
  }

  .search-card__title {
    font-size: 18px;
  }
}

.category-sizes {
  padding: 24px;
  background: rgb(251 245 226);
  border-top: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
  margin: 10px 0;
}

.category-sizes__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.category-sizes__heading {
  min-width: 0;
}

.category-sizes__label {
  margin: 0;
  color: #6b7280;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.category-sizes__title {
  margin: 4px 0 0;
  color: #172033;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;
}

.category-sizes__close {
  display: inline-flex;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: #4b5563;
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.category-sizes__close:hover {
  color: #172033;
  background: #e2e8f0;
}

.category-sizes__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-sizes__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  color: #172033;
  background: #fff;
  border: 1px solid #dce3eb;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgb(0 0 0 / 5%);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.category-sizes__link:hover {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
  color: #000;
}

.category-sizes__link-icon {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}

@media (max-width: 767px) {
  .category-sizes {
    padding: 20px 16px;
  }

  .category-sizes__title {
    font-size: 17px;
  }

  .category-sizes__link {
    padding: 8px 12px;
    font-size: 13px;
  }
}

.category-sizes[hidden] {
  display: none;
}

.category-sizes__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-sizes__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.category-card__chevron {
  transition: transform 0.2s ease;
}

.category-card[aria-expanded='true'] .category-card__chevron {
  transform: rotate(180deg);
}

.category-card[aria-expanded='true'] {
  background-color: rgb(251 245 226);
}

.subcategories {
  width: 100%;
  font-family: var(--font-sans);
  margin-bottom: 20px;
}

.subcategories__list {
  display: flex;
  flex-wrap: wrap;
  gap: calc(var(--spacing) * 2);
}

.subcategory {
  display: inline-flex;
  align-items: center;
  gap: calc(var(--spacing) * 2);
  padding: calc(var(--spacing) * 2) calc(var(--spacing) * 3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--card-foreground);
  font-size: 0.875rem;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background-color var(--default-transition-duration) var(--default-transition-timing-function),
    border-color var(--default-transition-duration) var(--default-transition-timing-function),
    color var(--default-transition-duration) var(--default-transition-timing-function);
}

.subcategory:hover {
  border-color: var(--ring);
  background: var(--accent);
  color: var(--accent-foreground);
}

.subcategory:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.subcategory--active {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.subcategory--active:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.subcategory__checkbox {
  display: inline-flex;
  flex: 0 0 1rem;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--input);
  border-radius: calc(var(--radius) * 0.65);
  background: var(--background);
  color: var(--primary-foreground);
  transition:
    background-color var(--default-transition-duration) var(--default-transition-timing-function),
    border-color var(--default-transition-duration) var(--default-transition-timing-function);
}

.subcategory__checkbox svg {
  display: block;
  width: 0.75rem;
  height: 0.75rem;
}

.subcategory--active .subcategory__checkbox {
  border-color: var(--primary);
  background: var(--primary);
}

.subcategory__name {
  overflow-wrap: anywhere;
}

@media (max-width: 767px) {
  .subcategories__list {
    gap: var(--spacing) calc(var(--spacing) * 1.5);
  }

  .subcategory {
    gap: calc(var(--spacing) * 1.5);
    padding: calc(var(--spacing) * 1.5) calc(var(--spacing) * 2);
    font-size: 0.8125rem;
  }
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.company-stats__item {
  padding: 30px 24px;
  background: #f5f6f7;
  border: 1px solid #e6e8eb;
  border-radius: 8px;
  text-align: center;
}

.company-stats__number {
  margin-bottom: 12px;
  color: #222;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
}

.company-stats__text {
  color: #626870;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .company-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 28px 0;
  }

  .company-stats__item {
    padding: 22px 18px;
  }
}

.trak-contacts__worktime {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin: 20px 0 30px;
}

.trak-contacts__schedule {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.trak-contacts__info {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 30px;
}

.trak-contacts__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.trak-contacts__icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #e30613;
  font-size: 22px;
  line-height: 1;
}

.trak-contacts__item strong {
  display: block;
  margin-bottom: 6px;
}

.trak-contacts__item p {
  margin: 0;
}

.trak-contacts__item a {
  color: inherit;
  text-decoration: none;
}

.trak-contacts__item a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .trak-contacts__worktime {
    flex-direction: column;
    gap: 10px;
  }

  .trak-contacts__info {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.order-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 30px 0;
}

.order-steps__item {
  padding: 24px 20px;
  background: var(--primary);
  border-radius: 8px;
}

.order-steps__number {
  margin-bottom: 20px;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.order-steps__title {
  margin-bottom: 10px;
  color: #000;
  font-size: 18px;
  font-weight: 700;
}

.order-steps__item p {
  margin: 0;
  color: #000;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .order-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .order-steps {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .order-steps__item {
    padding: 20px;
  }

  .order-steps__number {
    margin-bottom: 14px;
    font-size: 30px;
  }
}

.tire-modal {
  position: relative;
  display: grid;
  gap: 16px;
  width: 100%;
  max-width: 512px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgb(0 0 0 / 10%);
  color: #171717;
  box-sizing: border-box;
}

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

.tire-modal__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 20px;
}

.tire-modal__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.tire-modal__description {
  margin: 0;
  color: #737373;
  font-size: 14px;
  line-height: 1.5;
}

.tire-modal__phone {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  color: #171717;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.tire-modal__email {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: #404040;
  font-size: 15px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.tire-modal__address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  color: #737373;
  font-size: 14px;
  line-height: 1.5;
}

.tire-modal__icon {
  display: block;
  flex-shrink: 0;
}

.tire-modal__phone .tire-modal__icon {
  color: var(--primary, #e30613);
}

.tire-modal__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  margin-top: 4px;
  padding: 12px 16px;
  border-radius: 6px;
  background: var(--primary, #e30613);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.tire-modal__button:hover {
  background: var(--primary-hover, #bd0510);
  color: #fff;
}

.tire-modal__button .tire-modal__icon {
  width: 20px;
  height: 20px;
}

.tire-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #737373;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.tire-modal__close:hover {
  background: #f5f5f5;
  color: #171717;
}

.tire-modal__close .tire-modal__icon {
  width: 18px;
  height: 18px;
}

.tire-modal a:focus-visible,
.tire-modal button:focus-visible {
  outline: 2px solid var(--primary, #e30613);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .tire-modal {
    gap: 14px;
    padding: 22px 18px;
    border-radius: 10px;
  }

  .tire-modal__title {
    font-size: 18px;
  }

  .tire-modal__phone {
    font-size: 21px;
  }

  .tire-modal__button {
    width: 100%;
  }
}

.tire-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  background: rgb(0 0 0 / 55%);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.tire-modal-overlay[hidden] {
  display: none;
}

.tire-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.tire-modal-overlay .tire-modal {
  width: 100%;
  max-width: 512px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.tire-modal-overlay.is-open .tire-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body.modal-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .tire-modal-overlay,
  .tire-modal-overlay .tire-modal {
    transition: none;
  }
}

/* Контейнер карты сайта — многоколоночная раскладка */
.sitemap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px 40px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Секция */
.sitemap__section {
  min-width: 0;
}

/* Заголовок */
.sitemap__title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid #eaeaea;
  color: #1a1a1a;
}

/* Список */
.sitemap__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sitemap__list li {
  padding: 4px 0;
  word-wrap: break-word;
}

/* Вложенные списки (для иерархии рубрик/страниц) */
.sitemap__list .children,
.sitemap__list .sub-menu {
  list-style: none;
  margin: 4px 0 0;
  padding-left: 16px;
}

/* Ссылки */
.sitemap__list a {
  color: #0073aa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sitemap__list a:hover {
  color: #005177;
  text-decoration: underline;
}

/* Адаптив: на мобильных — одна колонка */
@media (max-width: 600px) {
  .sitemap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.vertical-widget {
  position: fixed;
  right: 20px;
  bottom: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 997;
}

.widget-item {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.widget-item img {
  width: 28px;
  height: 28px;
}

@media (max-width: 992px) {
  .nav__menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(85%, 380px);
    height: 100dvh;
    padding: 90px 24px 32px;
    overflow-y: auto;
    background: var(--industrial);
    box-shadow: -10px 0 30px rgb(0 0 0 / 8%);
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.3s ease,
      visibility 0.3s ease;
  }

  .nav__menu.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav__menu a {
    display: block;
    padding: 14px 0;
  }

  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  body.menu-open::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgb(0 0 0 / 45%);
  }

  .header__burger.is-open {
    filter: grayscale(-1);
  }
}

@media (min-width: 993px) {
  .header__burger {
    display: none;
  }
}
