/* ============================================
   Font Face - Myriad Pro
   ============================================ */

@font-face {
    font-family: 'Myriad Pro';
    src: url('../fonts/Myriad-Pro/MyriadPro-Regular.woff2') format('woff2'),
         url('../fonts/Myriad-Pro/MyriadPro-Regular.woff') format('woff'),
		 url('../fonts/Myriad-Pro/MyriadPro-Regular.ttf') format('truetype');
	font-weight: normal;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'Myriad Pro';
    src: url('../fonts/Myriad-Pro/MyriadPro-Italic.woff2') format('woff2'),
         url('../fonts/Myriad-Pro/MyriadPro-Italic.woff') format('woff'),
		 url('../fonts/Myriad-Pro/MyriadPro-Italic.ttf') format('truetype');
	font-weight: normal;
    font-style: italic;
    font-display: block;
}
@font-face {
    font-family: 'Myriad Pro';
    src: url('../fonts/Myriad-Pro/MyriadPro-Light.woff2') format('woff2'),
         url('../fonts/Myriad-Pro/MyriadPro-Light.woff') format('woff'),
		 url('../fonts/Myriad-Pro/MyriadPro-Light.ttf') format('truetype');
	font-weight: 300;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'Myriad Pro';
    src: url('../fonts/Myriad-Pro/MyriadPro-LightItalic.woff2') format('woff2'),
         url('../fonts/Myriad-Pro/MyriadPro-LightItalic.woff') format('woff'),
		 url('../fonts/Myriad-Pro/MyriadPro-LightItalic.ttf') format('truetype');
	font-weight: 300;
    font-style: italic;
    font-display: block;
}
@font-face {
    font-family: 'Myriad Pro';
    src: url('../fonts/Myriad-Pro/MyriadPro-Semibold.woff2') format('woff2'),
         url('../fonts/Myriad-Pro/MyriadPro-Semibold.woff') format('woff'),
		 url('../fonts/Myriad-Pro/MyriadPro-Semibold.ttf') format('truetype');
	font-weight: 600;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'Myriad Pro';
    src: url('../fonts/Myriad-Pro/MyriadPro-SemiboldItalic.woff2') format('woff2'),
         url('../fonts/Myriad-Pro/MyriadPro-SemiboldItalic.woff') format('woff'),
		 url('../fonts/Myriad-Pro/MyriadPro-SemiboldItalic.ttf') format('truetype');
	font-weight: 600;
    font-style: italic;
    font-display: block;
}
@font-face {
    font-family: 'Myriad Pro';
    src: url('../fonts/Myriad-Pro/MyriadPro-Bold.woff2') format('woff2'),
         url('../fonts/Myriad-Pro/MyriadPro-Bold.woff') format('woff'),
		 url('../fonts/Myriad-Pro/MyriadPro-Bold.ttf') format('truetype');
	font-weight: 700;
    font-style: normal;
    font-display: block;
}
@font-face {
    font-family: 'Myriad Pro';
    src: url('../fonts/Myriad-Pro/MyriadPro-BoldItalic.woff2') format('woff2'),
         url('../fonts/Myriad-Pro/MyriadPro-BoldItalic.woff') format('woff'),
		 url('../fonts/Myriad-Pro/MyriadPro-BoldItalic.ttf') format('truetype');
	font-weight: 700;
    font-style: italic;
    font-display: block;
}

/* ============================================
   CSS Variables - Design System
   ============================================ */

:root {
  /* Colors - Primary */
  --color-primary: #FFFFFF;
  --color-secondary: #2F2F2F;
  --color-accent: #AFCA0B;

  /* Colors - Background */
  --color-background-default: #FFFFFF;
  --color-background-secondary: #F7F7F7;

  /* Colors - Text */
  --color-text-primary: #2F2F2F;
  --color-text-secondary: #C6C6C6;
  --color-text-on-accent: #FFFFFF;

  /* Colors - Additional */
  --color-alt: #C6C6C6;
  --color-error: #C53E3E;


  /* Typography - Headings */
  --font-size-h1: 3rem; /* 48px */
  --font-weight-h1: 700;
  --line-height-h1: 1.2em;

  --font-size-h2: 2.5rem; /* 40px */
  --font-weight-h2: 700;
  --line-height-h2: 1.2em;

  --font-size-h3: 2rem; /* 32px */
  --font-weight-h3: 700;
  --line-height-h3: 1.2em;

  --font-size-h4: 1.25rem; /* 24px */
  --font-weight-h4: 700;
  --line-height-h4: 1.2em;

  /* Typography - Body */
  --font-size-body-base: 1.25rem; /* 20px */
  --font-weight-body-base: 400;
  --line-height-body-base: 1.4em;

  --font-size-body-small: 1rem; /* 16px */
  --font-weight-body-small: 400;
  --line-height-body-small: 1.4em;

  --font-size-body-light: 1.25rem; /* 20px */
  --font-weight-body-light: 300;
  --line-height-body-light: 1.2em;

  --font-size-body-small-light: 1rem; /* 16px */
  --font-weight-body-small-light: 300;
  --line-height-body-small-light: 1.3em;

  --font-size-body-xs: 0.875rem; /* 14px */
  --font-weight-body-xs: 300;
  --line-height-body-xs: 1.3em;

  /* Typography - Mobile Headings */
  --font-size-h1-mobile: 2rem; /* 32px */
  --font-weight-h1-mobile: 700;
  --line-height-h1-mobile: 1.2em;

  --font-size-h2-mobile: 1.75rem; /* 28px */
  --font-weight-h2-mobile: 700;
  --line-height-h2-mobile: 1.2em;

  --font-size-h3-mobile: 1.25rem; /* 20px */
  --font-weight-h3-mobile: 700;
  --line-height-h3-mobile: 1.2em;

  --font-size-h4-mobile: 1.125rem; /* 18px */
  --font-weight-h4-mobile: 700;
  --line-height-h4-mobile: 1.2em;

  --font-size-h1-regular-mobile: 1.125rem; /* 18px */
  --font-weight-h1-regular-mobile: 400;
  --line-height-h1-regular-mobile: 1.2em;

  /* Typography - Mobile Body */
  --font-size-body-base-mobile: 1rem; /* 16px */
  --font-weight-body-base-mobile: 400;
  --line-height-body-base-mobile: 1.4em;

  --font-size-body-base-light-mobile: 1rem; /* 16px */
  --font-weight-body-base-light-mobile: 300;
  --line-height-body-base-light-mobile: 1.4em;

  /* Typography - Button & Caption (общие) */
  --font-size-button: 1rem; /* 16px */
  --font-weight-button: 400;
  --line-height-button: 1.4em;

  --font-size-caption-base: 0.875rem; /* 14px */
  --font-weight-caption-base: 300;
  --line-height-caption-base: 1.4em;

  --font-size-caption-small: 0.75rem; /* 12px */
  --font-weight-caption-small: 300;
  --line-height-caption-small: 1.2em;

  /* Spacing */
  --spacing-xs: 0.25rem; /* 4px */
  --spacing-sm: 0.5rem; /* 8px */
  --spacing-md: 0.75rem; /* 12px */
  --spacing-base: 1rem; /* 16px */
  --spacing-lg: 1.25rem; /* 20px */
  --spacing-xl: 1.5rem; /* 24px */
  --spacing-2xl: 2rem; /* 32px */
  --spacing-3xl: 2.5rem; /* 40px */
  --spacing-4xl: 3rem; /* 48px */
  --spacing-5xl: 3.125rem; /* 50px */

  /* Container Sizes */
  --container-content-width: 77.5rem; /* 1240px */

  /* Breakpoints */
  --breakpoint-mobile: 22.5rem; /* 360px */
  --breakpoint-tablet: 48rem; /* 768px */
  --breakpoint-desktop: 64rem; /* 1024px */
  --breakpoint-large: 90rem; /* 1440px */
  --breakpoint-xlarge: 120rem; /* 1920px */

  /* Gradients */
  --gradient-overlay: linear-gradient(180deg, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 1) 100%);

  /* Shadows */
  --shadow-sm: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.05);
  --shadow-md: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 0.625rem 0.9375rem rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-fast: 0.2s;
  --transition-base: 0.3s;
  --transition-slow: 0.5s;

  /* Easing */
  --easing-default: ease;
  --easing-in-out: ease-in-out;
}

/* ============================================
   Base Styles
   ============================================ */

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  overflow-x: hidden;
  width: 100%;
}

body {
    font-family: 'Myriad Pro';
  font-size: var(--font-size-body-base);
  font-weight: var(--font-weight-body-base);
  line-height: var(--line-height-body-base);
  color: var(--color-text-primary);
  background-color: var(--color-background-default);
  margin: 0;
  padding: 0;
  width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.mobile-menu-open {
  overflow: hidden;
}

body.search-menu-open {
  overflow: hidden;
}

/* ============================================
   Typography - Font Utility Classes
   ============================================ */

/* Font Weight Classes */
.font-light,
.font-light p,
.font-light li,
.font-light a {
  font-weight: 300;
}

.font-regular {
  font-weight: 400;
}

strong,
b, 
.font-semibold {
  font-weight: 600;
}

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

/* Typography Size Classes - Headings */
.text-h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-h1);
  line-height: var(--line-height-h1);
  text-transform: uppercase;
}

.text-h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-h2);
  line-height: var(--line-height-h2);
  text-transform: uppercase;
}

.text-h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-h3);
  line-height: var(--line-height-h3);
  text-transform: uppercase;
}

.text-h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-h4);
  line-height: var(--line-height-h4);
  text-transform: uppercase;
}

/* Typography Size Classes - Body */
.text-body-base {
  font-size: var(--font-size-body-base);
  font-weight: var(--font-weight-body-base);
  line-height: var(--line-height-body-base);
}

.text-body-small,
.text-body-small p,
.text-body-small li,
.text-body-small a {
  font-size: var(--font-size-body-small);
  font-weight: var(--font-weight-body-small);
  line-height: var(--line-height-body-small);
}

.text-body-light {
  font-size: var(--font-size-body-light);
  font-weight: var(--font-weight-body-light);
  line-height: var(--line-height-body-light);
}

.text-body-small-light {
  font-size: var(--font-size-body-small-light);
  font-weight: var(--font-weight-body-small-light);
  line-height: var(--line-height-body-small-light);
}

.text-body-xs {
  font-size: var(--font-size-body-xs);
  font-weight: var(--font-weight-body-xs);
  line-height: var(--line-height-body-xs);
}

/* Typography Size Classes - Button & Caption */
.text-button {
  font-size: var(--font-size-button);
  font-weight: var(--font-weight-button);
  line-height: var(--line-height-button);
}

.text-caption-base {
  font-size: var(--font-size-caption-base);
  font-weight: var(--font-weight-caption-base);
  line-height: var(--line-height-caption-base);
}

.text-caption-small,
.text-caption-small p,
.text-caption-small li,
.text-caption-small a {
  font-size: var(--font-size-caption-small);
  font-weight: var(--font-weight-caption-small);
  line-height: var(--line-height-caption-small);
}

/* Mobile Typography Classes */
@media (max-width: 568px) {
  .text-h1 {
    font-size: var(--font-size-h1-mobile);
    font-weight: var(--font-weight-h1-mobile);
    line-height: var(--line-height-h1-mobile);
  }

  .text-h2 {
    font-size: var(--font-size-h2-mobile);
    font-weight: var(--font-weight-h2-mobile);
    line-height: var(--line-height-h2-mobile);
  }

  .text-h3 {
    font-size: var(--font-size-h3-mobile);
    font-weight: var(--font-weight-h3-mobile);
    line-height: var(--line-height-h3-mobile);
  }

  .text-h4 {
    font-size: var(--font-size-h4-mobile);
    font-weight: var(--font-weight-h4-mobile);
    line-height: var(--line-height-h4-mobile);
  }

  .text-body-base {
    font-size: var(--font-size-body-base-mobile);
    font-weight: var(--font-weight-body-base-mobile);
    line-height: var(--line-height-body-base-mobile);
  }

  .text-body-light {
    font-size: var(--font-size-body-base-light-mobile);
    font-weight: var(--font-weight-body-base-light-mobile);
    line-height: var(--line-height-body-base-light-mobile);
  }
}

/* Typography - Base Styles */
/* ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  line-height: 1.2em;
  color: var(--color-text-primary);
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-h1);
  line-height: var(--line-height-h1);
  text-transform: uppercase;
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-h2);
  line-height: var(--line-height-h2);
  text-transform: uppercase;
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-h3);
  line-height: var(--line-height-h3);
  text-transform: uppercase;
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-h4);
  line-height: var(--line-height-h4);
  text-transform: uppercase;
}

p {
  margin: 0;
}

a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--transition-fast) var(--easing-default);
}
a:visited { color: var(--color-text-primary);}

/* ============================================
   Layout
   ============================================ */

.page-wrapper {
  min-width: 320px;
  min-height: 100vh;
  width: 100%;
}

.container {
  width: 100%;
  max-width: var(--container-content-width);
  margin: 0 auto;
  padding: 0 var(--spacing-base);
}

/* ============================================
   Header
   ============================================ */

.header {
  background-color: var(--color-secondary);
  width: 100%;
  position: relative;
    z-index: 100;
}

.header--no-bg {
  background-color: transparent;
  position: absolute;
  top: 0;
  left: 0;
}

@media (max-width: 991px) {
  .header--no-bg {
    background-color: var(--color-secondary);
    position: relative;
  }

  .header--no-bg .header__nav-link,
  .header--no-bg .header__phone-number,
  .header--no-bg .header__city {
    color: var(--color-text-on-accent);
  }

  .header--no-bg .header__action-btn img {
    filter: none;
  }

  .header--no-bg .header__menu-icon,
  .header--no-bg .header__menu-icon::before,
  .header--no-bg .header__menu-icon::after {
    background-color: var(--color-text-on-accent);
  }
}

@media (max-width: 768px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
  }

  .header--no-bg {
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--color-secondary);
    z-index: 1000;
  }
}

.header--no-bg .header__nav-link,
.header--no-bg .header__phone-number,
.header--no-bg .header__city {
  color: var(--color-primary);
}

.header--no-bg .header__menu-icon,
.header--no-bg .header__menu-icon::before,
.header--no-bg .header__menu-icon::after {
  background-color: var(--color-primary);
}

.header__container {
  width: 100%;
  max-width: var(--container-content-width);
  margin: 0 auto;
}

.header__content {
  display: flex;
  align-items: center;
    justify-content: space-between;
  height: 5rem; /* 80px */
    position: relative;
}

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

.header__logo-img {
  width: 10.5rem; /* 168px */
  height: auto;
  display: block;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: 1.875rem; /* 30px */
  list-style: none;
  margin: 0;
  padding: 0;
}

.header__nav-item { position: relative; margin: 0;}

.header__nav-link {
  display: flex;
  align-items: center;
  gap: 0.5625rem; /* 9px */
  font-size: var(--font-size-body-small);
  font-weight: var(--font-weight-body-small);
  line-height: var(--line-height-body-small);
  color: var(--color-text-on-accent);
  text-decoration: none;
  transition: color var(--transition-fast) var(--easing-default);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.header__nav-link:visited { color: var(--color-text-on-accent);}

.header__nav-link:hover,
.header__nav-item:hover .header__nav-link {
  color: var(--color-accent);
}

.header__nav-arrow {
  flex-shrink: 0;
  transition: transform var(--transition-fast) var(--easing-default);
}

.header__nav-link:hover .header__nav-arrow,
.header__nav-item:hover .header__nav-link .header__nav-arrow {
  transform: rotate(180deg);
}

.header__nav-item--catalog { position:static;}

.header__contacts {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__phone-block {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem; /* 10px */
}

.header__phone-block--dropdown {
  position: relative;
}
.header__phone-block--dropdown:hover:after { content:''; display: block; position: absolute; height: 32px; top:100%; left:0; width: 100%;}

.header__phone-icon {
  margin-top: 4px;
  width: 1.5rem; /* 24px */
  height: 1.5rem; /* 24px */
  flex-shrink: 0;
}

.header__phone-info {
  display: flex;
  flex-direction: column;
  gap: 0.1875rem; /* 3px */
}

.header__phone-row {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* 8px */
}

.header__phone-row--button-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* 8px */
}

.header__phone-dropdown-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: opacity var(--transition-fast) var(--easing-default);
}

.header__phone-dropdown-btn:hover,
.header__phone-dropdown-btn:focus {
  opacity: 0.7;
}

.header__phone-number {
  font-size: var(--font-size-body-base);
  font-weight: 700;
  color: var(--color-text-on-accent);
  text-decoration: none;
  transition: color var(--transition-fast) var(--easing-default);
  pointer-events: auto;
}


.header__phone-number:hover,
.header__phone-number:focus {
  color: var(--color-accent);
}

.header__phone-arrow {
  flex-shrink: 0;
  transition: transform var(--transition-fast) var(--easing-default);
}

.header__phone-dropdown-btn[aria-expanded="true"] .header__phone-arrow {
  transform: rotate(180deg);
}

.header__city {
  font-size: var(--font-size-body-small);
  font-weight: var(--font-weight-body-small);
  line-height: 1.125em; /* 18px / 16px */
  color: var(--color-text-on-accent);
}

.header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem; /* 20px */
  flex-shrink: 0;
  position: relative;
}

.header__action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem; /* 24px */
  height: 1.5rem; /* 24px */
  padding: 0;
  background: #fff;
  border: none;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}

.header__action-btn img {
  width: 100%;
  height: 100%;
  display: block;
}

.header__menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 1.5rem; /* 24px */
  height: 1.5rem; /* 24px */
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.header__menu-icon {
  display: block;
  width: 1.5rem; /* 24px */
  height: 0.125rem; /* 2px */
  background-color: var(--color-text-on-accent);
  transition: all var(--transition-fast) var(--easing-default);
}

.header__menu-icon::before,
.header__menu-icon::after {
  content: '';
  display: block;
  width: 1.5rem; /* 24px */
  height: 0.125rem; /* 2px */
  background-color: var(--color-text-on-accent);
  transition: all var(--transition-fast) var(--easing-default);
}

.header__menu-icon::before {
  transform: translateY(-0.5rem); /* -8px */
}

.header__menu-icon::after {
  transform: translateY(0.375rem); /* 6px */
}

.header__menu-btn[aria-expanded="true"] .header__menu-icon {
  background-color: transparent;
}

.header__menu-btn[aria-expanded="true"] .header__menu-icon::before {
  transform: translateY(0) rotate(45deg);
}

.header__menu-btn[aria-expanded="true"] .header__menu-icon::after {
  transform: translateY(0) rotate(-45deg);
}

.header__compare-badge {
  position: absolute;
  top: -12px;
  right: -9px;
  width: 14px;
  height: 14px;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4em;
  color: var(--color-text-on-accent);
}

/* ============================================
   Search Menu
   ============================================ */

.search-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 80px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base) var(--easing-default),
              visibility var(--transition-base) var(--easing-default);
}

.search-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-menu__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.search-menu__content {
  position: relative;
  width: 100%;
  max-width: 1920px;
  height: 300px;
  background-color: var(--color-background-default);
  border-radius: 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transform: translateY(-20px);
  transition: transform var(--transition-base) var(--easing-default);
  margin: 0 auto;
}

.search-menu[aria-hidden="false"] .search-menu__content {
  transform: translateY(0);
}

.search-menu__header {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.search-menu__close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition-fast) var(--easing-default);
    box-shadow:none;
}

.search-menu__close-btn:hover,
.search-menu__close-btn:focus {
  opacity: 0.7; background: none; border:none;
}

.search-menu__close-icon {
  width: 100%;
  height: 100%;
  display: block;
}

.search-menu__body {
  margin: 0 auto;
  max-width: 1273px; /* 1064px (input) + 189px (button) + 20px (gap) */
  padding: 0 20px 40px;
}

/* Form styles removed - forms should not have CSS classes or styles */

.search-menu__input-wrapper {
  display: flex;
  align-items: center;
  gap:10px;
}

.search-menu__input-container {
  position: relative;
  flex: 1;
  max-width: 1064px;
  display: flex;
  flex-direction: column;
}

.search-menu__input-container input.search-menu__input {
  width: 100%;
  height: 42px;
  padding: 8px 40px 8px 16px;
  font-size: var(--font-size-body-small);
  font-weight: var(--font-weight-body-small-light);
  line-height: 1.4em;
  color: var(--color-text-primary);
  background-color: var(--color-background-secondary);
  border: 1px solid transparent;
  border-radius: 2px;
  transition: border-color var(--transition-fast) var(--easing-default);
}

.search-menu__input-icon {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
    cursor: pointer;
    padding: 0;
    background: none !important; border:none !important; box-shadow: none !important;
}

.search-menu__input-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.search-menu__input:focus {
  border-color: var(--color-accent);
  outline: none;
}

.button.search-menu__submit-btn {
  flex-shrink: 0;
    width: 166px;
}

.search-menu__suggestions {
  position: absolute;
  top: calc(100% + 20px);
  left: 0;
  right: 0;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base) var(--easing-default),
              visibility var(--transition-base) var(--easing-default),
              transform var(--transition-base) var(--easing-default);
  transform: translateY(-10px);
}

.search-menu__suggestions--visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.search-menu__suggestions-content {
  background-color: var(--color-background-default);
  border-radius: 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 578px;
  max-width: 1064px;
}

.search-menu__suggestions-item {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  background: none;
  border: none;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: color var(--transition-fast) var(--easing-default);
  font-size: var(--font-size-body-small);
  font-weight: var(--font-weight-body-small-light);
  line-height: 1.4em;
  white-space: normal;
}

.search-menu__suggestions-item:hover,
.search-menu__suggestions-item:focus {
  color: var(--color-accent);
}

/* Search Menu - Mobile (до 9910px) */
@media (max-width: 991px) {
  .search-menu {
    padding-top: 60px;
  }

  .search-menu__content {
    height: auto;
  }

  .search-menu__header {
    height: 60px;
    padding: 0 20px;
  }

  .search-menu__body {
    max-width: 100%;
      width: 100%;
    padding: 0 20px 24px;
    min-height: auto;
  }

  .search-menu__input-container {
    max-width: 100%;
  }

.search-menu__input-container input.search-menu__input {
    width: 100%;
  }

  .search-menu__submit-btn {
    width: 100%;
  }

  .search-menu__suggestions {
    left: 0;
    right: 0;
    top: calc(100% + 16px);
  }

  .search-menu__suggestions-content {
    min-width: auto;
    max-width: 100%;
    padding: 16px;
    gap: 8px;
  }
}


/* ============================================
   Compare Menu
   ============================================ */

.header__compare-menu { position: absolute; top:62px; right:0; z-index: 15; visibility: hidden; opacity: 0; margin-top: 15px; transition: all 0.2s ease;}
.header__compare-menu.opened { visibility: visible; opacity: 1; margin-top: 0;}
@media (hover: hover) {
    .header__compare-menu.opened { visibility: hidden; opacity: 0; margin-top: 15px;}    
    .item-compare:hover .header__compare-menu, .item-compare:hover .header__compare-menu.opened { visibility: visible; opacity: 1; margin-top: 0;}
}
.header__compare-menu-content { width: 400px; background-color: var(--color-background-default); box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15); border-radius: 2px; padding: 20px;}

.header__compare-menu-body { max-height: 350px; overflow: auto;}

.header__compare-menu-list {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header__compare-menu-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__compare-menu-item-image {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
}

.header__compare-menu-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.header__compare-menu-item-title {
  margin: 0;
  color: var(--color-text-primary);
  flex: 1 1 auto;
  min-width: 0;
}
.header__compare-menu-item:hover .header__compare-menu-item-title { color:var(--color-accent)}

.header__compare-menu-footer {
  max-width: 357px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding-top: 30px;
}
.header__compare-menu-footer .header__compare-menu-clear { max-width: 197px; border:1px solid var(--color-secondary);}
.header__compare-menu-footer .header__compare-menu-link { max-width: 147px; width: 100%;}

/* Compare Menu - Responsive */

@media (max-width: 768px) {
    .header__content, .header__actions { position: static;}
    .header__compare-menu { right:0; top:100%; width: 100vw;}
    .header__compare-menu-content { width: 100%; border-radius: 0;}
    .header__compare-menu-body { max-height: 260px;}
  .header__compare-menu-item {
    gap: 12px;
  }

  .header__compare-menu-footer {
    gap: 8px;
    padding-top: 20px;
  }
}

@media (max-width: 568px) {
    .header__compare-menu-body { max-height: 170px;}
  .header__compare-menu-item {
    gap: 10px;
  }
    .search-menu__body { padding-bottom: 20px;}

  .search-menu__suggestions {
    left: 0;
    right: 0;
        max-width: 100%s;
    width: 100%;

  }

  .search-menu__suggestions-content {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
  }

  .header__compare-menu-item-title {
    font-size: 14px;
  }
}
@media (max-width: 365px) {
    .header__compare-menu-footer { flex-direction: column;}
    .header__compare-menu-footer .button { width: 100%; max-width: 100%;}
}

/* ============================================
   Catalog Menu
   ============================================ */

.header__catalog-menu {
    display: block;
  position: absolute;
  top:100%;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 100px);
  background-color: var(--color-background-default);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  visibility: hidden;
    opacity: 0;
  overflow: auto;
    margin-top: 25px;
    transition: all 0.2s ease;
}
.header__catalog-menu:before { content:''; display: block; position: absolute; left:0; bottom:100%; width: 100%; height: 15px;}

.header__nav-item--catalog:hover .header__catalog-menu {
  opacity: 1;
  visibility: visible;
  margin-top: 10px;
}

.header__catalog-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 30px 20px;
  width: 100%;
  height: 100%;
  padding: 40px 50px 30px 50px;
  box-sizing: border-box;
  align-content: start;
}
.header__catalog-menu-grid li { margin: 0;}

.header__catalog-menu-card {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: var(--color-text-primary);
  transition: opacity var(--transition-fast) var(--easing-default);
  padding: 0;
  margin: 0;
}

.header__catalog-menu-card:hover,
.header__catalog-menu-card:focus {
  color: var(--color-accent);
}

.header__catalog-menu-card-image {
  width: 85px;
  height: 85px;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header__catalog-menu-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.header__catalog-menu-card-text {
  line-height: 1.4em;
  text-align: left;
  text-transform: uppercase;
  margin: 0;
  white-space: normal;
    font-size: 1.25rem; 
    font-weight: 300;
}

@media (max-width: 1024px) {
  .header__catalog-menu-grid {
    gap: 30px 15px;
  }
}

/* Catalog Menu - Responsive */
@media (max-width: 991px) {
  .header__catalog-menu-content {
    position: fixed;
    left: 0;
    transform: translateX(0) translateY(-20px);
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 400px;
  }

  .header__catalog-menu-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 24px 20px;
    gap: 24px 16px;
  }

  .header__catalog-menu-card-image {
    width: 70px;
    height: 70px;
    margin-bottom: 8px;
  }

  .header__catalog-menu-card-text {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .header__catalog-menu-content {
    top: 70px;
  }

  .header__catalog-menu-grid {
    padding: 20px 16px;
    gap: 20px 12px;
  }

  .header__catalog-menu-card-image {
    width: 60px;
    height: 60px;
    margin-bottom: 6px;
  }

  .header__catalog-menu-card-text {
    font-size: 14px;
  }
}

/* ============================================
   User Menu
   ============================================ */

.header-account { position: relative;}
.header-account:hover:after, .item-compare:hover:after { content:''; position: absolute; top:100%; right:0; height: 68px; min-width: 40px; width: 100%;}
.header__action-btn--user {
  position: relative;
}

.header__user-menu {
  position: absolute;
  top: calc(100% + 38px);
  right: 0;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base) var(--easing-default),
              visibility var(--transition-base) var(--easing-default),
              transform var(--transition-base) var(--easing-default);
  transform: translateY(10px);
}

.header__user-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
@media (hover: hover) {
    .header__user-menu[aria-hidden="false"] { opacity:0; visibility: hidden; transform: translateY(10px);}
    .header-account:hover .header__user-menu, .header-account:hover .header__user-menu[aria-hidden="false"] { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0);}
}

.header__user-menu-content {
  background-color: var(--color-background-default);
  border-radius: 2px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  width: 318px;
  padding: 30px 20px 20px 20px;
}

.header__user-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.header__user-menu-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header__user-menu-indicator {
  width: 12px;
  height: 12px;
  min-width: 12px;
  border-radius: 50%;
  background-color: var(--color-accent);
  flex-shrink: 0;
  position: relative;
}

.header__user-menu-indicator-icon {
  display: none;
}

.header__user-menu-name {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4em;
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
}

.header__user-menu-close {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast) var(--easing-default);
  flex-shrink: 0;
}

.header__user-menu-close:hover,
.header__user-menu-close:focus {
  opacity: 0.7;
}
.header__user-menu-close img {
  width: 12px;
  height: 12px;
  display: block;
}

.header__user-menu-nav {
  margin: 0;
  padding: 0;
}

.header__user-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header__user-menu-item {
  margin: 0;
  padding: 0;
}

.header__user-menu-link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: var(--color-text-primary);
  font-size: var(--font-size-body-small);
  font-weight: var(--font-weight-body-small-light);
  line-height: 1.4em;
  padding: 0;
  margin: 0;
  transition: color var(--transition-fast) var(--easing-default);
}

.header__user-menu-link:hover,
.header__user-menu-link:focus {
  color: var(--color-accent);
}

.header__user-menu-item:not(:last-child) .header__user-menu-link {
  margin-bottom: 10px;
}

/* Mobile only sections */
.header__user-menu-mobile {
  display: none;
}

.header__user-menu-divider {
  height: 1px;
  background-color: var(--color-alt);
  margin: 20px 0;
  width: 100%;
}

.header__user-menu-contacts {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 40px;
}

.header__user-menu-phone-block {
  display: flex;
  align-items: center;
  gap: 8.75px;
}

.header__user-menu-phone-icon {
  width: 24.791px;
  height: 24.791px;
  flex-shrink: 0;
  display: block;
}

.header__user-menu-phone-number {
  font-size: 23.33px;
  font-weight: var(--font-weight-body-small-light);
  line-height: normal;
  color: var(--color-text-primary);
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition-fast) var(--easing-default);
}

.header__user-menu-phone-number:hover,
.header__user-menu-phone-number:focus {
  color: var(--color-accent);
}

.header__user-menu-phone-section {
  display: flex;
  flex-direction: column;
  gap: 7.291px;
}

.header__user-menu-phone-label {
  font-size: 14px;
  font-weight: var(--font-weight-body-small);
  line-height: 1.4em;
  color: var(--color-accent);
  margin: 0;
}

.header__user-menu-social {
  display: flex;
  flex-direction: column;
  gap: 7.291px;
}

.header__user-menu-social-label {
  font-size: 14px;
  font-weight: var(--font-weight-body-small);
  line-height: 1.4em;
  color: var(--color-text-primary);
  margin: 0;
}

.header__user-menu-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__user-menu-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: opacity var(--transition-fast) var(--easing-default);
}

.header__user-menu-social-link:hover,
.header__user-menu-social-link:focus {
  opacity: 0.7;
}

.header__user-menu-social-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Mobile version (991px and below) */
@media (max-width: 991px) {
  .header__user-menu {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 265px;
    height: 100vh;
    transform: translateX(100%);
    transition: transform var(--transition-base) var(--easing-default);
  }

  .header__user-menu[aria-hidden="false"] {
    transform: translateX(0);
  }

  .header__user-menu-content {
    width: 100%;
    max-height: 100%;
    padding: 18px 15px 23px 15px;
    border-radius: 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }

  .header__user-menu-header {
    margin-bottom: 30px;
  }

  .header__user-menu-user {
    gap: 10px;
  }

  .header__user-menu-indicator {
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .header__user-menu-indicator-icon {
    display: block;
  }

  .header__user-menu-name {
    font-size: 16px;
    font-weight: 600;
  }

  .header__user-menu-nav {
    margin-bottom: 0;
  }

  .header__user-menu-list {
    gap: 10px;
  }

  .header__user-menu-item:not(:last-child) .header__user-menu-link {
    margin-bottom: 0;
  }

  .header__user-menu-link {
    font-size: 16px;
  }

  /* Show mobile sections */
  .header__user-menu-mobile {
    display: flex;
    flex-direction: column;
  }

  .header__user-menu-contacts {
    gap: 20px;
  }

  .header__user-menu-phone-section {
    gap: 10px;
  }
}

/* ============================================
   Cities Menu
   ============================================ */

.header__cities-menu {
  position: absolute;
  top: calc(100% + 17px);
  right: 0;
  display: block;
  visibility: hidden;
    margin-top: 15px;
    opacity: 0;
    transition: all 0.2s ease;    
}

.header__phone-block--dropdown:hover .header__cities-menu {
  visibility: visible;
    opacity: 1;
     margin-top: 0;
}

.header__cities-menu-content {
  max-height:calc(100vh - 80px);
  background-color: var(--color-background-default);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  padding: 20px;
  box-sizing: border-box;
  overflow: auto;
}

.header__cities-menu-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 153px;
}

.header__cities-menu-item {
  margin: 0;
  height: 22px;
  margin-bottom: 10px;
}

.header__cities-menu-item:first-child {
  margin-top: 0;
}

.header__cities-menu-item:last-child {
  margin-bottom: 0;
}

.header__cities-menu-link {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--transition-fast) var(--easing-default);
  height: 22px;
  line-height: 22px;
    white-space: nowrap;
    font-weight: 300;
}

.header__cities-menu-link:hover,
.header__cities-menu-link:focus {
  color: var(--color-accent);
}

/* Cities Menu - Responsive */
@media (max-width: 991px) {
  .header__cities-menu-content {
    width: 180px;
    height: auto;
    max-height: 400px;
    padding: 16px;
  }

  .header__cities-menu-item {
    height: 20px;
    margin-bottom: 8px;
  }

  .header__cities-menu-link {
    height: 20px;
    line-height: 20px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .header__cities-menu-content {
    width: 160px;
    padding: 12px;
  }

  .header__cities-menu-item {
    height: 18px;
    margin-bottom: 6px;
  }

  .header__cities-menu-link {
    height: 18px;
    line-height: 18px;
    font-size: 13px;
  }
}

@media (max-width: 568px) {
  .header__cities-menu-content {
    width: 140px;
    padding: 10px;
  }

  .header__cities-menu-item {
    height: 16px;
    margin-bottom: 4px;
  }

  .header__cities-menu-link {
    height: 16px;
    line-height: 16px;
    font-size: 12px;
  }
}

/* ============================================
   Mobile Menu
   ============================================ */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1000;
  display: none;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu[aria-hidden="false"] {
  display: block;
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-base) var(--easing-default);
}

.mobile-menu[aria-hidden="false"] .mobile-menu__overlay {
  opacity: 1;
}

.mobile-menu__content {
  position: absolute;
  top: 0;
  right: 0;
  width: 16.5625rem; /* 265px */
  height: 43.75rem; /* 700px */
  background-color: var(--color-background-default); /* #FFFFFF */
  box-shadow: 0 0.25rem 0.625rem 0 rgba(0, 0, 0, 0.15); /* 0px 4px 10px 0px rgba(0, 0, 0, 0.15) */
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-base) var(--easing-default);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.8125rem 0.9375rem; /* 13px 15px */
}

@media (max-width: 991px) {
  .mobile-menu__content {
    height: 100vh;
    max-height: 100vh;
  }
}

.mobile-menu[aria-hidden="false"] .mobile-menu__content {
  transform: translateX(0);
}

.mobile-menu__close-btn {
  position: absolute;
    top: 1.2rem;
    right: 1.21875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 0.75rem; /* 12px */
  height: 0.75rem; /* 12px */
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: opacity var(--transition-fast) var(--easing-default);
  z-index: 10;
}

.mobile-menu__close-btn:hover,
.mobile-menu__close-btn:focus {
  opacity: 0.7;
}

.mobile-menu__close-icon {
  display: block;
  width: 100%;
  height: 100%;
}

.mobile-menu__body {
  display: flex;
  flex-direction: column;
  width: 14.6875rem; /* 235px - ширина контента минус padding */
  gap: 1.875rem; /* 30px между Frame 961 элементами */
}

/* Frame 960: Основные секции */
.mobile-menu__main-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* Личный кабинет */
.mobile-menu__account {
  display: flex;
  align-items: center;
  gap: 0.625rem; /* 10px */
  border-radius: 6.25rem; /* 100px */
  width: fit-content;
  padding: 0;
  margin: 0;
}

.mobile-menu__account-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem; /* 24px */
  height: 1.5rem; /* 24px */
  flex-shrink: 0;
  padding: 0;
}

.mobile-menu__account-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.mobile-menu__account-link {
  font-size: 1rem; /* 16px */
  font-weight: 300;
  line-height: 1.4em;
  text-transform: uppercase;
  color: var(--color-text-primary); /* #000000 */
  text-decoration: none;
  padding-right: 0.625rem; /* 10px */
  transition: opacity var(--transition-fast) var(--easing-default);
}

.mobile-menu__account-link:hover,
.mobile-menu__account-link:focus {
  opacity: 0.7;
}

/* Основное меню с разделителем */
.mobile-menu__nav-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* 20px между меню и разделителем */
}

/* Основное меню */
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem; /* 10px */
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 11.375rem; /* 182px - высота Frame 758 */
}

.mobile-menu__nav-item {
  margin: 0;
}

.mobile-menu__nav-link {
  display: block;
  font-size: 1rem; /* 16px */
  font-weight: 300;
  line-height: 1.4em;
  text-transform: uppercase;
  color: var(--color-text-primary); /* #2F2F2F */
  text-decoration: none;
  transition: color var(--transition-fast) var(--easing-default);
}

.mobile-menu__nav-link:hover,
.mobile-menu__nav-link:focus {
  color: var(--color-accent);
}

/* Разделитель */
.mobile-menu__divider {
  width: 100%;
  height: 0.0625rem; /* 1px */
  background-color: var(--color-text-secondary); /* #C6C6C6 */
  margin: 0;
}

/* Дополнительные ссылки с разделителем */
.mobile-menu__secondary-nav-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem; /* 20px между ссылками и разделителем */
}

/* Дополнительные ссылки */
.mobile-menu__secondary-nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu__secondary-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem; /* 10px */
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu__secondary-nav-item {
  margin: 0;
}

.mobile-menu__secondary-nav-link {
  display: block;
  font-size: 1rem; /* 16px */
  font-weight: 300;
  line-height: 1.4em;
  text-transform: uppercase;
  color: var(--color-text-primary); /* #2F2F2F */
  text-decoration: none;
  transition: color var(--transition-fast) var(--easing-default);
}

.mobile-menu__secondary-nav-link:hover,
.mobile-menu__secondary-nav-link:focus {
  color: var(--color-accent);
}

/* Телефоны */
.mobile-menu__phones {
  display: flex;
  flex-direction: column;
  gap: 0.9375rem; /* 15px между телефонами */
  min-height: 6.8125rem; /* 109px - высота Frame 835 */
}

.mobile-menu__phone-block {
  display: flex;
  align-items: center;
  gap: 0.546875rem; /* 8.75px */
}

.mobile-menu__phone-icon {
  width: 1.549375rem; /* 24.79px */
  height: 1.549375rem; /* 24.79px */
  flex-shrink: 0;
}

.mobile-menu__phone-number {
  font-size: 1.458125rem; /* 23.33px */
  font-weight: 300;
  line-height: 1.2em;
  text-transform: uppercase;
  color: var(--color-secondary); /* #2F2F2F */
  text-decoration: none;
  transition: color var(--transition-fast) var(--easing-default);
}

.mobile-menu__phone-number:hover,
.mobile-menu__phone-number:focus {
  color: var(--color-accent);
}

.mobile-menu__phone-section {
  display: flex;
  flex-direction: column;
  gap: 0.455625rem; /* 7.29px */
}

.mobile-menu__phone-label {
  font-size: 0.875rem; /* 14px */
  font-weight: 400;
  line-height: 1.4em;
  color: var(--color-accent); /* #AFCA0B */
  margin: 0;
  text-align: left;
}

/* Социальные сети */
.mobile-menu__social {
  display: flex;
  flex-direction: column;
  gap: 0.455625rem; /* 7.29px между лейблом и иконками */
  width: 100%;
  min-height: 2.75rem; /* 44px - высота Frame 956 */
}

.mobile-menu__social-label {
  font-size: 0.875rem; /* 14px */
  font-weight: 400;
  line-height: 1.4em;
  color: var(--color-text-primary); /* #2F2F2F */
  margin: 0;
  text-align: left;
}

.mobile-menu__social-links {
  display: flex;
  align-items: flex-end;
  gap: 0.625rem; /* 10px */
  justify-content: flex-start;
  height: 1.25rem; /* 20px */
}

.mobile-menu__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast) var(--easing-default);
  height: 1.25rem; /* 20px */
  width: auto;
}

.mobile-menu__social-link:hover,
.mobile-menu__social-link:focus {
  opacity: 0.7;
}

.mobile-menu__social-link img {
  width: auto;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background-color: var(--color-secondary);
  width: 100%;
}

.footer__container {
  width: 100%;
  max-width: var(--container-content-width);
  margin: 0 auto;
  padding: 0;
}

.footer__top {
  display: flex;
  align-items: flex-start;
    gap:2rem;
  padding-top: 6.3125rem; /* 101px */
  padding-bottom: 3.125rem; /* 50px */
}

.footer__left {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  flex-shrink: 0;
  width: calc(34% - 2rem);
  
}

.footer__nav-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 7rem;
  row-gap: 2.5rem; /* 40px */
  justify-content: flex-start;
}

.footer__nav-column {
  display: flex;
  flex-direction: column;
  gap: 1.125rem; /* 21px */
}

.footer__nav-column h4 {
  font-size: var(--font-size-h4);
  font-weight: 400;
  line-height: 1.2em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.53rem; /* 10px */
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__nav-list li {
  padding: 0;
  margin: 0;
  line-height: 1.3em;
  display: block;
}

.footer__nav-list li a {
  font-size: var(--font-size-body-small);
  font-weight: 300;
  line-height: 1.3em;
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast) var(--easing-default);
  display: block;
}

.footer__nav-list li a:hover,
.footer__nav-list li a:focus {
  color: var(--color-accent);
}

.footer__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer__logo-img {
  width: 100%;
  max-width: 12.875rem; /* 206px */
  height: auto;
  display: block;
}

.footer__description {
  font-size: var(--font-size-body-small);
  font-weight: 300;
  line-height: 1.3em;
  color: var(--color-primary);
  margin: 0 0 5rem; /* 0 0 125px */
    max-width: 18rem;
}

.footer__address {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* 8px */
  margin-top: 0;
    max-width: 18rem;
}

.footer__address-title {
  font-size: var(--font-size-h4);
  font-weight: 400;
  line-height: 1.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin: 0;
}

.footer__address-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* 8px */
  padding-top: 0.375rem; /* 6px */
}

.footer__address-text {
  font-size: var(--font-size-body-small);
  font-weight: 300;
  line-height: 1.3em;
  color: var(--color-primary);
  margin: 0;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  flex-shrink: 0;
    margin-left: auto;
}

.footer__phone-block {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem; /* 12px */
  width: 100%;
}

.footer__phone-block--service {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem; /* 12px */
}

.footer__phone-label-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.3125rem; /* 5px */
  margin-top: 50px;
}

.footer__phone-number {
  font-size: 2rem; /* 32px */
  font-weight: 300;
  line-height: 1.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast) var(--easing-default);
}

.footer__phone-number:hover,
.footer__phone-number:focus {
  color: var(--color-accent);
}

.footer__phone-info {
  display: flex;
  flex-direction: column;
  gap: 0.625rem; /* 10px */
  align-items: flex-end;
}

.footer__phone-label {
  font-size: var(--font-size-body-small);
  font-weight: 400;
  line-height: 1.3em;
  color: var(--color-accent);
  margin: 0;
  text-align: right;
}

.footer__social {
  display: flex;
  align-items: flex-end;
  gap: 0.625rem; /* 10px */
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: opacity var(--transition-fast) var(--easing-default);
}

.footer__social-link:hover,
.footer__social-link:focus {
  opacity: 0.7;
}

.footer__social-link img {
  width: 100%;
  height: 100%;
  display: block;
}

.footer__bottom {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-end;
  padding-bottom: 2.75rem; /* 44px */
}

.footer__disclaimer {
  display: flex;
  flex-direction: column;
  gap: 1rem; /* 16px */
  flex: 1;
  width: 100%;
  max-width: 51.375rem; /* 822px */
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem; /* 8px */
  flex-shrink: 0;
  width: 34%;
  padding-right:2rem;
}

.footer__disclaimer-text {
  font-size: var(--font-size-caption-base);
  font-weight: 300;
  line-height: 1.3em;
  color: var(--color-text-secondary);
  margin: 0;
}

.footer__legal-link {
  font-size: var(--font-size-caption-base);
  font-weight: 300;
  line-height: 1.3em;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast) var(--easing-default);
}

.footer__legal-link:hover,
.footer__legal-link:focus {
  color: var(--color-accent);
}

.footer__copyright {
  font-size: var(--font-size-caption-base);
  font-weight: 300;
  line-height: 1.3em;
  color: var(--color-text-secondary);
  margin: 0;
}

/* ============================================
   Buttons
   ============================================ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-size: var(--font-size-body-small);
    line-height: 24px;
    font-weight: 400;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-fast) var(--easing-default);
}
.button-sm { padding: 8px 20px; line-height: 24px;}
.button:hover, .button:active, .button:focus {
    box-shadow: none;
}
.button--primary {
  background-color: var(--color-accent);
  color: var(--color-text-on-accent);
  border: 1px solid transparent;
  max-width: 245px;
  width: auto;
}

.button--primary:visited {color: var(--color-text-on-accent);}

.button--primary:hover, .button--primary:active, .button--primary:focus {
  color: #2F2F2F;
  border: 1px solid #2F2F2F;
  background:#FFF;
}

.button--primary:hover .button__arrow, .button--primary:active .button__arrow {
  filter: brightness(0);
  transition: filter var(--transition-fast) var(--easing-default);
}

.button--primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.button--secondary {
  background-color: transparent;
    border:1px solid var(--color-text-primary);
  color: var(--color-text-primary);
    max-width: 245px;
  width: auto;
}
.button--secondary:visited { color: var(--color-text-primary);}

.button--secondary:hover, .button--secondary:active {
  border-color:var(--color-primary);
  background-color: var(--color-secondary);
  color: var(--color-primary);
}

.directions-hero .button--secondary {
  background-color: var(--color-background-default);
  color: var(--color-text-primary);
  border: 0.0625rem solid var(--color-background-default);
}

.directions-hero .button--secondary:hover {
  background-color: var(--color-background-default);
  color: var(--color-text-primary);
  opacity: 0.9;
}

.button--secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.button--link {
  background: none;
  border: none;
  color: var(--color-text-primary);
  text-decoration: underline;
  padding: 0;
}
.button--link:visited {color: var(--color-text-primary);}

.button--link:hover, .button--link:active {
  color: var(--color-accent);
}

/* ============================================
   Inputs
   ============================================ */

input.input {
  width: 100%;
  padding: 0.5rem var(--spacing-base);
  font-size: var(--font-size-body-small);
  line-height: 1.3em;
  color: var(--color-text-primary);
  background-color: var(--color-background-default);
  border: 0.0625rem solid var(--color-alt);
  transition: border-color var(--transition-fast) var(--easing-default);
}

input.input:focus {
  border-color: var(--color-accent);
  outline: none;
}

input.input--gray {
  background-color: var(--color-background-secondary);
}

input.input--error {
  border-color: var(--color-error);
}

input.input--success {
  border-color: var(--color-accent);
}

input.input--with-icon {
  padding-right: 2.5rem;
}

/* ============================================
   UNIFIED FORM ELEMENTS
   ============================================ */

/* Control wrapper for input fields */
.control {
  position: relative;
  width: 100%;
}

/* Отступы между полями форм (заменяют gap) */
form > .control:not(:last-child) {
  margin-bottom: 15px;
}

form > .checkbox-wrapper:not(:last-child) {
  margin-bottom: 15px;
}

form > button[type="submit"]:not(:first-child) {
  margin-top: 15px;
}

/* Исключаем price-form из общих стилей - у неё своя горизонтальная раскладка */
.price-form-row .control:not(:last-child) {
  margin-bottom: 0;
}

.price-form-row > button[type="submit"]:not(:first-child) {
  margin-top: 0;
}

/* Asterisk positioning - теперь относительно .control, позиционирование через JavaScript */
.control .warranty-form__asterisk,
.control .delivery-consultation-form__asterisk,
.control .selection-form__asterisk,
.control .modeling-form__asterisk,
.control .leasing-hero__asterisk,
.control .home-leasing-form__asterisk {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
}

/* Для textarea звездочка должна быть вверху */
.control .textarea ~ .warranty-form__asterisk,
.control .textarea ~ .delivery-consultation-form__asterisk,
.control .textarea ~ .selection-form__asterisk,
.control .textarea ~ .modeling-form__asterisk,
.control .textarea ~ .leasing-hero__asterisk,
.control .textarea ~ .home-leasing-form__asterisk {
  top: 21px;
  transform: none;
}

/* Base input text field */
input.input-text {
  width: 100%;
  padding: 6px var(--spacing-base);
  font-family: 'Myriad Pro', sans-serif;
  font-size: 1.25rem;
  font-weight: 300;
  line-height: 1.75rem;
  color: var(--color-text-primary);
  background-color: var(--color-background-default);
  border: 1px solid transparent;
  transition: border-color var(--transition-fast) var(--easing-default);
  border-radius: 2px;
  height: 42px;
}

/* Добавляем padding справа для инпутов с обязательными полями, чтобы текст не перекрывался звездочкой */
/* Padding для обязательных полей не нужен, так как позиционирование звездочки управляется через JavaScript */

input.input-text:focus {
  border-color: var(--color-accent);
  outline: none;
    box-shadow: none;
}

/* White input (default) */
input.input-text.input-white {
  background-color: var(--color-background-default);
}

/* Textarea */
textarea { display: block; overflow: auto;}
.textarea, textarea.input-text {
  width: 100%;
  padding: 0.5rem var(--spacing-base);
  font-family: 'Myriad Pro', sans-serif;
    font-weight: 300;
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: var(--color-text-primary);
  background-color: var(--color-background-default);
  border: 1px solid transparent;
  transition: border-color var(--transition-fast) var(--easing-default);
  border-radius: 2px;
  resize: vertical;
  height: 100px;
}

.textarea:focus, textarea.input-text:focus {
  border-color: var(--color-accent);
  outline: none;
}

/* Gray input */
input.input-text.input-gray, textarea.input-gray {
  background-color: var(--color-background-secondary);
}

/* Checkbox wrapper */
.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 30px;
}

.checkbox-wrapper .checkbox {
  flex-shrink: 0;
  margin-top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid var(--color-alt);
  background-color: var(--color-background-default);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast) var(--easing-default);
}

.checkbox-wrapper .checkbox:checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.checkbox-wrapper .checkbox:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--color-text-on-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Checkbox label */
.checkbox-label {
  color: var(--color-text-primary);
  line-height: 1.4em;
  cursor: pointer;
}

/* ============================================
   Checkbox & Radio
   ============================================ */

.checkbox,
.radio {
  width: 1.5rem;
  height: 1.5rem;
  border: 0.0625rem solid var(--color-alt);
  cursor: pointer;
  transition: all var(--transition-fast) var(--easing-default);
}

.checkbox--checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.radio {
  border-radius: 50%;
}

.radio--checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ============================================
   Utilities
   ============================================ */

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

/* ============================================
   Media Queries
   ============================================ */

/* Tablet: 1240px - 768px */
@media (max-width: 1240px) and (min-width: 768px) {
  /* Header Tablet */
  .header__container {
    padding: 0 var(--spacing-xl);
  }

  .header__logo-img {
    width: 9rem; /* 144px */
  }

  .header__nav-list {
    gap: 1rem; /* 16px */
  }

  .header__nav-link {
    font-size: 0.9375rem; /* 15px */
  }

  .header__phone-number {
    font-size: 1rem; /* 18px */
  }

  .header__city {
    font-size: 0.875rem; /* 14px */
  }

  .header__actions {
    gap: 1rem; /* 16px */
  }

  /* Footer Tablet */
  .footer__container {
    padding: 0 var(--spacing-xl);
  }

  .footer__top {
    padding-top: 4.5rem; /* 72px */
    padding-bottom: 2.5rem; /* 40px */
  }

  .footer__left {
    gap: 2rem; /* 32px */
  }

  .footer__nav-columns {
    column-gap: 3rem; /* 48px */
    row-gap: 2rem; /* 32px */
  }

  .footer__nav-column {
    gap: 0.875rem; /* 14px */
  }

  .footer__nav-column h4 {
    font-size: 1.125rem; /* 18px */
  }

  .footer__nav-list li a {
    font-size: 0.9375rem; /* 15px */
  }

  .footer__logo-img {
    max-width: 11rem; /* 176px */
  }

    .footer__description, .footer__address { max-width: 16rem;}
  .footer__description {
    font-size: 0.9375rem; /* 15px */
    margin-bottom: 3.5rem; /* 56px */
  }

  .footer__address-title {
    font-size: 1.125rem; /* 18px */
  }

  .footer__address-text {
    font-size: 0.9375rem; /* 15px */
  }

  .footer__phone-number {
    font-size: 1.75rem; /* 28px */
  }

  .footer__phone-label {
    font-size: 0.875rem; /* 14px */
  }

  .footer__bottom {
    padding-bottom: 2.25rem; /* 36px */
  }

  .footer__disclaimer-text {
    font-size: 0.8125rem; /* 13px */
  }

  
  .footer__legal-link,
  .footer__copyright {
    font-size: 0.8125rem; /* 13px */
  }


}

@media (max-width: 1024px) {
  .container {
    padding: 0 var(--spacing-lg);
  }

  /* Header 1024px */
  .header__container {
    padding: 0 var(--spacing-lg);
  }

  .header__content {
    height: 4.5rem; /* 72px */
  }

  .header__logo-img {
    width: 7.5rem; /* 120px */
  }

  .header__nav-list {
    gap: 0.75rem; /* 12px */
  }

  .header__nav-link {
    font-size: 0.875rem; /* 14px */
  }

  .header__city {
    font-size: 0.8125rem; /* 13px */
  }

  .header__actions {
    gap: 0.75rem; /* 12px */
  }


  /* Footer 1024px */
  .footer__container {
    padding: 0 var(--spacing-lg);
  }

  .footer__top {
    flex-wrap: wrap-reverse;
    padding-top: 4rem; /* 64px */
    padding-bottom: 2.5rem; /* 40px */
    gap: 2.5rem; /* 40px */
  }

  .footer__phone-label-block {
    margin-top: 15px;
  }

  .footer__left {
    width: 100%;
    gap: 2rem; /* 32px */
  }

  .footer__nav-columns {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4rem; /* 64px */
    row-gap: 2rem; /* 32px */
    width: 100%;
    max-width: 100%;
  }

  .footer__nav-column h4 {
    font-size: 1.125rem; /* 18px */
  }

  .footer__nav-list li a {
    font-size: 0.9375rem; /* 15px */
  }

  .footer__logo-img {
    max-width: 12rem; /* 192px */
  }

    .footer__description, .footer__address { max-width:none;}
  .footer__description {
    font-size: 0.9375rem; /* 15px */
    margin-bottom: 0;
  }

  .footer__address-title {
    font-size: 1.125rem; /* 18px */
  }

  .footer__address-text {
    font-size: 0.9375rem; /* 15px */
  }

  .footer__contacts {
    width: 100%;
    align-items: flex-start;
  }

  .footer__phone-block {
    order: 1;
  }

  .footer__social {
    order: 4;
  }

  .footer__phone-label-block {
    order: 2;
  }

  .footer__phone-block--service {
    order: 3;
  }

  .footer__phone-label {
    text-align: left;
  }

  .footer__bottom {
    padding-bottom: 2.5rem; /* 40px */
    gap: 1.5rem; /* 24px */
  }

  .footer__disclaimer {
    max-width: 48rem; /* 768px */
  }

  .footer__disclaimer-text {
    font-size: 0.8125rem; /* 13px */
  }

  .footer__legal {
      width: 100%;
    max-width: 18rem; /* 288px */
      padding-right: 0;
  }

  .footer__legal-link,
  .footer__copyright {
    font-size: 0.8125rem; /* 13px */
  }
}

/* Mobile: 991px и меньше - бургер меню */
@media (max-width: 991px) {
  /* Header Mobile */
  .header__container {
    padding: 0 1.25rem; /* 19px 20px 20px */
  }

  .header__content {
    height: 3.75rem; /* 60px */
    width: 100%;
  }

  .header__logo {
    margin-right: auto;
  }

  .header__logo-img {
    width: 8.125rem; /* 130px */
  }

  .header__nav {
    display: none;
  }

  .header__contacts {
    display: none;
  }

  .header__actions {
    gap: 0.625rem; /* 10px */
    order: 1;
  }

  .header__menu-btn {
    display: flex;
    order: 2;
  }

  /* Mobile Menu - показывать только на мобильных */
  .mobile-menu {
    display: block;
  }
}

/* Desktop: скрыть мобильное меню на больших экранах */
@media (min-width: 56.3125rem) {
  .mobile-menu {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 var(--spacing-base);
  }

  /* Mobile Typography */
  h1 {
    font-size: var(--font-size-h1-mobile);
    font-weight: var(--font-weight-h1-mobile);
    line-height: var(--line-height-h1-mobile);
  }

  h2 {
    font-size: var(--font-size-h2-mobile);
    font-weight: var(--font-weight-h2-mobile);
    line-height: var(--line-height-h2-mobile);
  }

  h3 {
    font-size: var(--font-size-h3-mobile);
    font-weight: var(--font-weight-h3-mobile);
    line-height: var(--line-height-h3-mobile);
  }

  h4 {
    font-size: var(--font-size-h4-mobile);
    font-weight: var(--font-weight-h4-mobile);
    line-height: var(--line-height-h4-mobile);
  }

  body {
    font-size: var(--font-size-body-base-mobile);
    font-weight: var(--font-weight-body-base-mobile);
    line-height: var(--line-height-body-base-mobile);
  }

  /* Header Mobile - стили уже в медиа-запросе 991px */
  .header__container {
    padding: 0 1.25rem; /* 19px 16px 20px */
  }


  /* Footer Mobile */
  .footer__container {
    padding: 0 var(--spacing-base); /* 0 16px */
  }

  .footer__top {
            flex-wrap: wrap-reverse;
    padding-top: 4.375rem; /* 70px */
    padding-bottom: 1.875rem; /* 30px */
    gap: 3.125rem; /* 30px */
  }

  .footer__nav-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem; /* 20px */
    width: 100%;
  }

  .footer__nav-column {
    gap: 0.625rem; /* 10px */
  }

  .footer__nav-column h4 {
    font-size: var(--font-size-h4-mobile);
    margin-bottom: 0.625rem; /* 10px */
  }

  .footer__nav-list li a {
    font-size: 0.9375rem; /* 15px */
    line-height: 1.3em;
  }

  .footer__logo-img {
    width: 100%;
    max-width: 12.875rem; /* 206px */
  }

  .footer__description {
    width: 100%;
    font-size: var(--font-size-caption-base);
  }

  .footer__address {
    margin-top: 1.25rem; /* 20px */
  }

  .footer__address-title {
    font-size: var(--font-size-h4-mobile);
  }

  .footer__address-text {
    font-size: var(--font-size-body-small);
    max-width: 20.5625rem; /* 329px */
  }

  .footer__contacts {
    align-items: flex-start;
    order: 1;
  }

  .footer__phone-block {
    width: 100%;
  }

  .footer__phone-block--service {
    flex-direction: row;
    align-items: flex-start;
  }

  .footer__phone-label-block {
    margin-top: 0;
  }

  .footer__phone-info {
    align-items: flex-start;
  }

  .footer__phone-label {
    text-align: left;
  }


  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 1.25rem; /* 20px */
    padding-bottom: 1.375rem; /* 22px */
    gap: 1.75rem; /* 28px */
  }

  .footer__disclaimer {
    width: 100%;
    max-width: none; /* 330px */
    margin-bottom: 0;
  }

  .footer__disclaimer-text {
    font-size: var(--font-size-caption-base);
  }

  .footer__legal {
    width: 100%;
    max-width: none; /* 310px */
    margin-left: 0;
  }

  .footer__legal-link,
  .footer__copyright {
    font-size: var(--font-size-caption-base);
  }
}

/* ============================================
   Section: Directions Hero
   ============================================ */

.directions-hero {
  position: relative;
  min-height: 860px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 250px;
}

.directions-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.directions-hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.directions-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.95) 100%);
  z-index: 1;
  pointer-events: none;
}

.directions-hero__overlay > * {
  pointer-events: auto;
}


.directions-hero__overlay-icon {
  position: absolute;
  width: auto;
  height: auto;
  display: block;
  z-index: 2;
  pointer-events: none;
}

.directions-hero__overlay-icon--left {
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
}

.directions-hero__overlay-icon--right {
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
}

.directions-hero__content {
  position: relative;
  z-index: 2;
  padding: 60px 0;
  color: var(--color-primary);
  text-align: left;
}

.directions-hero__title {
  color: var(--color-primary);
  text-transform: uppercase;
    max-width: 750px;
  margin-bottom: 20px;
}

.directions-hero__description {
  margin-bottom: 50px;
  max-width: 789px;
  text-align: left;
}

.directions-hero__description > p {
  color: var(--color-primary);
  margin: 0;
}

.directions-hero__actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.directions-hero__actions .button {
  width: 100%;
}

/* ============================================
   Section: Partners
   ============================================ */

.partners {
  padding-top: 30px;
    padding-bottom: 30px;
  background-color: var(--color-background-default);
}

.partners__list {
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.partners__list .swiper-wrapper {
  display: flex;
  align-items: center;
  transition-timing-function: linear;
}

.partners__list .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  flex-shrink: 0;
  padding: 0 20px;
}

.partners__logo {
  height: auto;
  max-height: 40px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.partners__logo:hover {
  opacity: 1;
}

/* ============================================
   Section: Solutions
   ============================================ */

.solutions {
  padding-top: 100px;
  background-color: var(--color-background-default);
}

.solutions__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 30px;
  text-align: center;
}

.solutions__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--color-alt);
}

.solutions__tab {
  padding: 12px 24px;
  width: 50%;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-weight: 300;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: -1px;
  text-transform: uppercase;
}

.solutions__tab:hover,
.solutions__tab:focus {
    background: none;
    border: none;
  border-bottom: 2px solid transparent;
  color: var(--color-accent);
}

.solutions__tab--active {
  border-bottom-color: var(--color-accent);
  color: var(--color-accent);
}

.solutions__content {
  position: relative;
}

.solutions__panel {
  display: none;
}

.solutions__panel--active {
  display: block;
}

.solution-card {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.solution-card__image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 580 / 470;
  border-radius: 2px;
  overflow: hidden;
}

.solution-card__image-wrapper img, .solution-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.solution-card__content {
   max-width: 640px;
   width: 100%;
  background-color: var(--color-background-default);
  border: 1px solid var(--color-alt);
  border-radius: 2px;
  padding: 50px 60px 50px 60px;
}

.solution-card__title {
    margin-bottom: 30px;
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-h3);
    line-height: var(--line-height-h3);
    text-transform: uppercase;
}
.solution-card__content h3 { margin-bottom: 30px;}

.solution-card__list {
  list-style: none;
  padding: 0;
  margin-bottom: 55px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.solution-card__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
    line-height: 24px;
}

.solution-card__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}

.solution-card__item span {
  color: var(--color-text-primary);
  flex: 1;
}

.solution-card__button {
  width: 100%;
  max-width: 248px;
}

  .solutions__title {
    text-align: left;
  }

  .solution-card__image-wrapper {
    width: 580px;
    flex-shrink: 0;
  }

  .solution-card__item {
    gap: 24px;
  }

  .solution-card__icon {
    width: 24px;
    height: 24px;
  }

  .solution-card__item span {
    display: block;
    min-height: 28px;
  }


/* ============================================
   Section: Popular Models
   ============================================ */

.popular-models {
  padding-top: 150px;
  background-color: var(--color-background-default);
  position: relative;
  z-index: 1;
}

.popular-models__header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 74px;
}

.popular-models__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  text-align: left;
}

.popular-models__button-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.popular-models__button-all--desktop {
  display: flex;
  width: auto;
  max-width: none;
  margin: 0;
}

.popular-models__button-all--mobile {
  display: none;
  width: 100%;
  margin: 0 auto;
  margin-top: 24px;
}

/* Slider wrapper на всю ширину экрана */
.popular-models__slider-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: 30px;
  padding: 0;
}

.popular-models__slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

@media (max-width: 767px) {
  .popular-models__slider {
    width: 100%;
  }
  
  .popular-models__slider .swiper-wrapper {
    width: 100%;
  }
}

.popular-models__slider .swiper-wrapper {
  display: flex;
}

.popular-models__slider .swiper-slide {
  width: auto;
  height: auto;
  flex-shrink: 0;
}

.popular-models__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  background-color: var(--color-background-default);
  border: 1px solid var(--color-secondary);
  border-radius: 2px;
    padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all var(--transition-fast);
  margin: 0;
}

.popular-models__arrow:hover,
.popular-models__arrow:focus {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.popular-models__arrow--prev {
  left: 20px;
}

.popular-models__arrow--next {
  right: 20px;
}

/* Скрываем стандартные кнопки Swiper */
.popular-models__slider .swiper-button-prev,
.popular-models__slider .swiper-button-next {
  display: none;
}

.product-card {
    display: block;
  width: 460px;
  height: 560px;
  background-color: var(--color-background-secondary);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
}

.product-card__image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items:flex-end;
  justify-content: center;
  padding: 34px 25px;
}

.product-card__image {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-card__header {
  position: absolute;
  top: 34px;
  left: 25px;
  right: 26px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  z-index: 1;
}

.product-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2em;
  color: var(--color-text-primary);
  text-transform: uppercase;
  flex: 1;
  margin: 0;
}

.product-card__add-btn {
  width: 42px;
  height: 42px;
  background-color: var(--color-background-default);
  border: 1px solid var(--color-secondary);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.product-card:hover .product-card__add-btn {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Кастомная пагинация-скроллбар - показывается по умолчанию (выше 568px) */
.popular-models__pagination--progressbar {
  position: relative;
  margin-top: 30px;
  max-width: 1240px;
  width: 100%;
  height: 2px;
  background-color: var(--color-background-secondary);
  overflow: visible;
  border-radius: 0;
  user-select: none;
  -webkit-user-select: none;
}

.popular-models__pagination-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 248px;
  height: 2px;
  background-color: var(--color-secondary);
  border-radius: 0;
  cursor: grab;
  transition: left 0.2s ease, height 0.2s ease;
  pointer-events: auto;
  touch-action: none;
  z-index: 10;
}

.popular-models__pagination-indicator:hover {
  height: 4px;
}

.popular-models__pagination-indicator:active {
  cursor: grabbing;
}

.popular-models__pagination-indicator:hover {
  cursor: grab;
}

.popular-models__pagination-indicator:active {
  cursor: grabbing;
}

.popular-models__pagination-line:hover .popular-models__pagination-indicator {
  height: 4px;
}

/* Bullets пагинация - показывается по умолчанию (с 568px) */
.popular-models__pagination--bullets {
  display: none;
  position: relative !important;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  width: 100%;
  max-width: 1240px;
}

.popular-models__pagination--bullets .swiper-pagination-bullet {
  width: 48.956px;
  height: 2px;
  background-color: var(--color-background-secondary);
  border: none;
  border-radius: 0;
  opacity: 1;
  margin: 0;
  transition: background-color var(--transition-fast);
  cursor: pointer;
}

.popular-models__pagination--bullets .swiper-pagination-bullet-active {
  background-color: var(--color-secondary);
}


@media (max-width: 767px) {
  .popular-models__slider .swiper-slide {
    width: 330px !important;
    min-width: 330px !important;
    max-width: 330px !important;
  }
    
    .popular-models__arrow--prev {
      left: 10px;
    }

    .popular-models__arrow--next {
      right: 10px;
    }


  .product-card {
    width: 330px;
    height: 430px;
  }
}

@media (max-width: 567px) {
  .popular-models__slider .swiper-slide {
    width: auto !important;
    min-width: auto !important;
    max-width: none !important;
  }
}


/* ============================================
   Section: Projects
   ============================================ */

.projects {
  padding-top: 150px;
  background-color: var(--color-background-default);
}

.projects__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 55px;
  text-align: left;
}

.projects__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
    padding: 2px 0;
}

.projects__subtitle {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
  text-align: left;
    text-overflow: ellipsis; overflow: hidden;  white-space: nowrap;
}

.projects__gallery {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.projects__gallery.swiper {
  display: block;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.projects__gallery.swiper .swiper-wrapper {
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.projects__gallery .swiper-wrapper {
  display: flex;
  width: 100%;
  max-width: 100%;
}

.projects__gallery .swiper-slide {
  width: 100% !important;
  flex-shrink: 0;
  height: auto;
  box-sizing: border-box;
}

.projects__slide-content {
  display:flex;
  gap: 20px;
}

.projects__main-image {
    display: block;
  position: relative;
  width:calc(76.2% - 20px);
}
.projects__main-image-inner, .projects__side-image-inner { display: block; position: relative;}
.projects__main-image-inner { padding-bottom: 53.5%;}
.projects__side-image-inner { height: 100%;}
.projects__main-image-inner img, .projects__side-image-inner img { display: block; position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 2px;}

.projects__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: var(--color-accent);
  border: none;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 1;
}

.projects__play-btn:hover,
.projects__play-btn:focus {
  opacity: 0.9;
}

.projects__side-images {
  display: flex;
  flex-direction: column;
  width: 23.8%;
  gap: 20px;
}

.projects__image-wrapper {
    display: block;
  width: 100%;
  height: calc(50% - 10px);
  position: relative;
}

.projects__controls {
  display: flex;
  gap: 10px;
    
}
.projects__gallery .projects__controls { position: absolute; top:0; right:0; z-index: 2;}

.projects__arrow {
  width: 42px;
  height: 42px;
  background-color: var(--color-background-default);
  border: 1px solid var(--color-secondary);
  border-radius: 2px;
    padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.projects__arrow:hover,
.projects__arrow:focus {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.projects__pagination {
  display: none;
  position: relative;
  margin-bottom: 30px;
}

.projects__pagination.swiper-pagination {
  display: none;
  position: relative;
  bottom: auto;
  left: auto;
  width: 100%;
  margin-top: 0;
}

.projects__pagination .swiper-pagination-bullet {
  flex: 1 0 0;
  height: 2px;
  background-color: var(--color-alt);
  border-radius: 0;
  opacity: 1;
  margin: 0;
}

.projects__pagination .swiper-pagination-bullet-active {
  background-color: var(--color-secondary);
}

.projects__button {
  width: 100%;
  max-width: 295px;
  padding-top: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
    margin-top: 20px;
}

/* ============================================
   Section: Price Form
   ============================================ */

.price-form {
  position: relative;
  min-height: 860px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 150px;
  overflow: hidden;
  z-index: 1;
}

.price-form__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.price-form__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.price-form__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.price-form__content {
  position: relative;
  z-index: 2;
  margin-top: 350px;
  background-color: var(--color-background-default);
  border-radius: 2px;
  padding: 60px 70px 60px 70px;
  max-width: 785px;
  width: 100%;
}

.price-form__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.price-form__description {
  margin-bottom: 30px;
}

.price-form__description > p {
  color: var(--color-text-primary);
  margin: 0;
}

/* Form styles removed - forms should not have CSS classes or styles */

/* Горизонтальная раскладка для формы price-form */
.price-form-row {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
}

.price-form__field {
  width: 100%;
}

.price-form__field .control {
  max-width: 430px;
}

.price-form__button {
  max-width: 192px;
  width: 100%;
}

/* ============================================
   Section: Constructor
   ============================================ */

.constructor {
  padding-top: 150px;
  background-color: var(--color-background-default);
}

.constructor__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 50px;
  text-align: left;
}

.constructor__content {
  display: flex;
  gap: 20px;
}

.constructor__image-wrapper {
  width: 580px;
  border-radius: 2px;
  overflow: hidden;
}

.constructor__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.constructor__text {
  width: 640px;
  border: 1px solid var(--color-alt);
  border-radius: 2px;
  padding: 110px 60px 90px 70px;
}

.constructor__description {
  max-width: 516px;
  width: 100%;
  margin-bottom: 50px;
}

.constructor__description > p {
  color: var(--color-text-primary);
  line-height: 140%;
  margin: 0;
}

.constructor__button {
  max-width: 300px;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* ============================================
   Section: FAQ
   ============================================ */

.faq {
  padding: 150px 0;
  background-color: var(--color-background-default);
}

.faq__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 50px;
  text-align: left;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq__item {
  border-top: 1px solid var(--color-alt);
}

.faq__item:last-child {
  border-bottom: 1px solid var(--color-alt);
}

.faq__item .text-h4 {
  font-weight: 400;
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 10px 20px 10px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-size: var(--font-size-h1-regular-mobile);
  font-weight: var(--font-weight-h1-regular-mobile);
  line-height: var(--line-height-h1-regular-mobile);
  color: var(--color-text-primary);
  text-transform: uppercase;
  transition: color var(--transition-fast);
}

.faq__question:hover {
  color: var(--color-accent);
}

.faq__question .text-h4 {
  flex: 1;
  color: var(--color-text-primary);
}

.faq__arrow {
  width: 12px;
  height: 17px;
  min-width: 12px;
  max-width: 12px;
  min-height: 17px;
  display: inline-block;
  flex-shrink: 0;
  flex-grow: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.faq__arrow::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
    background-image: url('../images/icons/faq-arrow-bottom.svg');
}
.faq__item--active .faq__arrow::before {
  background-image: url('../images/icons/faq-arrow-top.svg');
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base), padding var(--transition-base);
  padding: 0 10px;
}

.faq__item--active .faq__answer {
  max-height: 500px;
}

.faq__answer .text-body-light {
  max-width: 1170px;
  margin: 0 auto;
  color: var(--color-text-primary);
  line-height: 130%;
    padding-bottom: 50px;
}

.faq__answer .text-body-light > p {
  margin: 0 0 20px 0;
}

.faq__answer .text-body-light > :last-child {
  margin-bottom: 0;
}

.faq__button {
  margin-top: 50px;
  padding: 14px 40px;
  max-width: none;
  width: auto;
}

/* ============================================
   Responsive: Tablet and Desktop
   ============================================ */


/* Адаптив для directions-hero - начиная с 1200px */
@media (min-width: 1240px) {
  .container {
    padding: 0;
  }
}

@media (max-width: 1240px) {
  .container {
    padding: 0 var(--spacing-base);
  }

  /* Requisites Tab */
  .contacts__requisites {
    gap: 40px;
  }

  .contacts__requisites-title {
    font-size: var(--font-size-h2);
    line-height: var(--line-height-h2);
  }

  .contacts__requisites-line {
    gap: 10px;
  }

  .contacts__requisites-label,
  .contacts__requisites-value {
    font-size: var(--font-size-body-base);
    line-height: var(--line-height-body-base);
  }

}

@media (max-width: 1200px) {
  .directions-hero {
    min-height: 800px;
    padding-top: 220px;
  }

  .directions-hero__title {
    font-size: 50px;
  }

  .directions-hero__description > p {
    font-size: 18px;
  }

  .solutions {
    padding-top: 75px;
  }

  .solutions__title {
    font-size: var(--font-size-h2);
    text-align: left;
    margin-bottom: 30px;
  }

  .solutions__tabs {
    margin-bottom: 40px;
  }

  .solution-card {
    flex-direction: column;
    gap: 20px;
  }

  .solution-card__image-wrapper {
    width: 100%;
    flex-shrink: 1;
  }

  .solution-card__content {
    max-width: 100%;
    padding: 40px 30px;
  }

  .solution-card__content h3, .solution-card__title {
    font-size: var(--font-size-h3-mobile);
    text-align: center;
    margin-bottom: 20px;
  }

  .solution-card__list {
    margin-bottom: 40px;
    gap: 12px;
  }

  .solution-card__item {
    gap: 10px;
  }

  .solution-card__button {
    max-width: 100%;
  }

  .constructor__text {
    padding: 80px 40px 60px 40px;
  }
}



/* Адаптив для directions-hero - начиная с 1024px */
@media (max-width: 1024px) {
  .directions-hero {
    min-height: 700px;
    padding-top: 200px;
  }

  .directions-hero__title {
    font-size: 48px;
  }

  .directions-hero__description > p {
    font-size: 18px;
  }

  .popular-models,
  .projects,
  .constructor {
    padding-top: 100px;
  }

.price-form__content {
  margin-top: 150px;
}

  .projects__gallery .swiper-wrapper {
    display: flex;
  }
    .projects__main-image { width: calc(75% - 20px);}
    .projects__side-images { width: 25%;}
  .price-form {
    min-height: 700px;
  }

  .faq {
    padding: 100px 0;
  }

  .faq__question {
    font-weight: 400;
    gap: 10px;
    padding: 20px 10px;
  }

    .faq__answer .text-body-light { padding-bottom: 15px;}
    .faq__answer .text-body-light > p {
    margin-bottom: 15px;
  }

  .constructor__content {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}


/* Адаптив для directions-hero - 768px и ниже */
@media (max-width: 768px) {

  .faq__answer .text-body-light {
    padding-top: 20px;
  }
  
   .directions-hero__description {
    font-size: var(--font-size-body-base);
  }

  .solutions__title {
    font-size: var(--font-size-h2-mobile);
    font-weight: var(--font-weight-h2-mobile);
    line-height: var(--line-height-h2-mobile);
    text-align: left;
    margin-bottom: 20px;
  }

  .solutions__tabs {
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-alt);
  }

  .solutions__tab {
    padding: 9px 10px;
    font-size: var(--font-size-h4-mobile);
    font-weight: var(--font-weight-h4-mobile);
    line-height: var(--line-height-h4-mobile);
  }

  .solution-card {
    flex-direction: column;
    gap: 20px;
  }

  .solution-card__image-wrapper {
    width: 100%;
    aspect-ratio: 580 / 470;
  }

  .solution-card__content {
    padding: 30px 15px 40px;
    border: 1px solid var(--color-alt);
    max-width: 100%;
  }

  .solution-card__list {
    margin-bottom: 30px;
    gap: 10px;
  }

  .solution-card__item {
    gap: 10px;
  }

  .partners {
    padding-top: 20px;
      padding-bottom: 20px;
  }

  .solution-card__item span {
    font-size: var(--font-size-body-base-light-mobile);
  }

  .solution-card__icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
  }

  .solution-card__button {
    width: 100%;
    max-width: 100%;
  }

  .popular-models__button-all--desktop {
    display: none;
  }

  .product-card__image {
    margin-top: 60px;
  }

  .popular-models__button-all--mobile {
    display: flex;
  }

  .popular-models__slider-wrapper .swiper-slide {
    width: 330px !important;
  }

  .projects__title {
    text-align: left;
    margin-bottom: 30px;
  }

  .projects__gallery.swiper {
    padding-right: 20px;
  }

  .projects__gallery .swiper-wrapper {
    display: flex;
  }

  .projects__gallery .swiper-slide {
    width: calc(100% - 20px) !important;
    flex-shrink: 0;
    margin-right: 20px;
  }

  .projects__slide-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .projects__main-image, .projects__controls { display: none;}
  .projects__side-images { width: 100%;}
  .projects__image-wrapper { height: auto;}
  .projects__side-image-inner { height: auto; padding-bottom: 60%;}

  .projects__pagination.swiper-pagination {
    display: flex;
    gap: 7px;
    margin-top: 20px;
  }

  .projects__button {
    width: 100%;
    max-width: 100%;
    margin:30px 0 0;
  }

  .constructor__content {
    gap: 40px;
  }

  .constructor__text {
    flex: 1;
    padding: 40px 30px;
  }

    /* Constructor Tablet */
  .constructor {
      display: none;
  }

  .faq__question {
    gap: 20px;
    padding: 20px 0px;
    align-items: flex-start;
  }

  .faq__item--active .faq__question {
    border-bottom: 1px solid var(--color-alt);
  }

  .faq__button {
    display: none;
  }

    .directions-hero__title {
    font-size: 40px;
    margin-bottom: 16px;
  }

  .directions-hero__description {
    margin-bottom: 30px;
    max-width: 100%;
  }

  .directions-hero__description > p {
    font-size: 18px;
  }

  .directions-hero {
    min-height: 600px;
    padding-top: 150px;
  }

  .directions-hero__content {
    padding: 40px 0;
  }

  .directions-hero__overlay-icon--left {
    left: 16px;
  }

  .directions-hero__overlay-icon--right {
    right: 16px;
  }
}

/* Адаптив для directions-hero - 568px и ниже */
@media (max-width: 568px) {
  .directions-hero {
    min-height: 500px;
    padding-top: 120px;
  }

  .directions-hero__content {
    padding: 60px 0;
  }

  .directions-hero__title {
    font-size: var(--font-size-h1-mobile);
    margin-bottom: 12px;
  }

    .search-menu__submit-btn,
    .search-menu__header {
    display: none;
  }

  .search-menu__content {
    padding-top: 20px;
  }

  .directions-hero__description {
    margin-bottom: 24px;
  }

  .directions-hero__description > p {
    font-size: var(--font-size-body-base-mobile);
  }

  .directions-hero__actions {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .solutions__title {
    font-size: var(--font-size-h2-mobile);
    font-weight: var(--font-weight-h2-mobile);
    line-height: var(--line-height-h2-mobile);
    margin-bottom: 16px;
  }

  .solutions__tabs {
    display: none;
  }

  .solutions__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .solutions__panel {
    display: block !important;
  }

  .solution-card {
    gap: 20px;
  }

  .solution-card__image-wrapper {
    width: 100%;
  }

  .solution-card__content {
    padding: 30px 15px 40px;
  }

  .solution-card__list {
    margin-bottom: 30px;
    gap: 10px;
  }

  .solution-card__item {
    gap: 10px;
  }

  .solution-card__item span {
    font-size: var(--font-size-body-base-light-mobile);
  }

  .solution-card__button {
    width: 100%;
    max-width: 100%;
  }

  .popular-models,
  .projects,
  .price-form {
    padding-top: 70px;
  }

  .faq {
    padding: 70px 0;
  }

    .projects__side-image-inner { padding-bottom:75%;}
    
  .price-form {
    margin-top: 70px;
  }

  .popular-models__header {
    margin-bottom: 30px;
  }

  .popular-models__slider-wrapper {
    padding: 0 15px;
  }
  .popular-models__slider-wrapper {
    margin-bottom: 20px;
  }

    .popular-models__pagination--progressbar {
    display: none !important;
  }

  .popular-models__pagination--bullets {
    display: flex !important;
  }

  .popular-models__arrow {
    width: 36px;
    height: 36px;
  }

  .popular-models__button-all--mobile  {
    max-width: 100%;
  }

    .popular-models__title {
    font-size: var(--font-size-h2-mobile);
    text-align: left;
  }

  .popular-models__arrow--prev, .popular-models__arrow--next { display: none;}

  .popular-models__arrow svg {
    width: 16px;
    height: 16px;
  }

  .product-card__image-wrapper {
    padding: 24px 20px;
  }

  .product-card__header {
    top: 24px;
    left: 20px;
    right: 21px;
    gap: 12px;
  }

  .product-card__add-btn {
    width: 36px;
    height: 36px;
  }

  .product-card__add-btn svg {
    width: 16px;
    height: 16px;
  }

  .popular-models__pagination {
    margin-top: 20px;
  }

  .price-form {
    min-height: 640px;
  }

  .price-form__content {
    margin-top: 120px;
    padding: 30px 15px;
    max-width: 100%;
  }

  .price-form__title {
    margin-bottom: 16px;
  }

  .price-form__description {
    margin-bottom: 24px;
  }

  /* Form styles removed - forms should not have CSS classes or styles */

  .price-form-row {
    flex-direction: column;
    gap: 16px;
  }
    
  .price-form__field {
    max-width: 100%;
  }

  .price-form__field .control {
    max-width: 100%;
    width: 100%;
  }

  .price-form__button {
    max-width: 100%;
  }

    .faq__arrow {
    width: 12px;
    height: 17px;
  }

  .faq__title {
    margin-bottom: 30px;
  }

  .faq__answer .text-body-light > p {
    margin-bottom: 15px;
  }

    .faq__answer {
    padding: 0;
  }
}

/* ============================================
   Section: Projects Page
   ============================================ */

.projects-page {
  padding-top: 50px;
  padding-bottom: 150px;
  background-color: var(--color-background-default);
  position: relative;
}

.projects-page .container {
  position: relative;
}

.projects-page__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 51px;
}

.projects-page__title {
  color: var(--color-text-primary);
  margin: 0;
}

.projects-page__filters {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.projects-page__filter-wrapper {
  position: relative;
  width: 295px;
}

.projects-page__filter-input {
  width: 100%;
  height: 42px;
  padding: 10px 50px 10px 20px;
  background-color: var(--color-background-default);
  border: 1px solid var(--color-secondary);
  border-radius: 2px;
  font-size: var(--font-size-body-small);
  font-weight: var(--font-weight-body-small);
  line-height: 1.4em;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: border-color var(--transition-fast) var(--easing-default);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  outline: none;
}

.projects-page__filter-input:hover,
.projects-page__filter-input:focus {
  border-color: var(--color-accent);
}

.projects-page__filter-input option {
  padding: 10px;
  background-color: var(--color-background-default);
  color: var(--color-text-primary);
}

.projects-page__filter-arrow {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  pointer-events: none;
  transition: transform var(--transition-fast) var(--easing-default);
}

.projects-page__filter-wrapper:hover .projects-page__filter-arrow,
.projects-page__filter-input:focus ~ .projects-page__filter-arrow {
  transform: translateY(-50%) rotate(180deg);
}

.projects-page__reset-btn {
  height: 42px;
  padding: 14px 40px;
  max-width: none;
  width: auto;
}

.projects-page__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-background-default);
  border-radius: 2px;
  overflow: hidden;
  transition: transform var(--transition-fast) var(--easing-default);
}

.project-card:hover {
  transform: translateY(-2px);
}

.project-card--hidden {
  display: none !important;
}

.project-card--pagination-hidden {
  display: none !important;
}

.project-card__image-wrapper {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  border-radius: 2px 2px 0 0;
}

.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.project-card__content {
  padding: 20px;
  border: 1px solid var(--color-text-secondary);
  border-top: none;
  border-radius: 0 0 2px 2px;
  min-height: 60px;
  display: flex;
  align-items: center;
}

.project-card__title {
  color: var(--color-text-primary);
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2em;
  text-transform: uppercase;
}

/* Projects Page - Media Queries */

/* 1200px */
@media (max-width: 1200px) {
  .projects-page__grid {
    gap: 16px;
  }

  .project-card__image-wrapper {
    height: 320px;
  }

}

/* 1024px */
@media (max-width: 1024px) {
  .projects-page {
    padding-top: 40px;
    padding-bottom: 100px;
  }

  .projects-page__header {
    margin-bottom: 40px;
  }

  .projects-page__filters {
    flex-wrap: wrap;
    gap: 16px;
  }

  .projects-page__filter-wrapper {
    width: 100%;
    max-width: 295px;
  }

  .projects-page__reset-btn {
    width: 100%;
    max-width: 295px;
  }

  .projects-page__grid {
    gap: 20px;
  }

  .project-card__image-wrapper {
    height: 300px;
  }

}

/* 768px */
@media (max-width: 768px) {
  .projects-page {
    padding-top: 80px;
    padding-bottom: 70px;
  }

  .projects-page__header {
    margin-bottom: 30px;
  }

  .projects-page__title {
    font-size: var(--font-size-h1-mobile);
  }

  .projects-page__filters {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .projects-page__filter-wrapper {
    width: 100%;
    max-width: 100%;
  }

  .projects-page__reset-btn {
    width: 100%;
    max-width: 100%;
  }

  .projects-page__grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 30px;
  }

  .project-card__image-wrapper {
    height: 250px;
  }

  .project-card__content {
    padding: 16px 20px;
    min-height: 60px;
  }

  .project-card__title {
    font-size: 16px;
  }

}

/* 568px */
@media (max-width: 568px) {

  .projects-page__header {
    margin-bottom: 28px;
    gap: 8px;
  }

  .projects-page__title {
    font-size: var(--font-size-h1-mobile);
    line-height: var(--line-height-h1-mobile);
  }

  .projects-page__filters {
    margin-bottom: 28px;
  }

  .projects-page__filter-input {
    height: 42px;
    padding: 10px 50px 10px 20px;
  }

  .projects-page__filter-placeholder {
    font-size: 16px;
  }

  .projects-page__reset-btn {
    height: 42px;
    padding: 14px 40px;
  }

  .projects-page__grid {
    gap: 10px;
  }

  .project-card__image-wrapper {
    height: 195px;
  }

  .project-card__content {
    padding: 16px 20px 16px 20px;
    min-height: auto;
  }

  .project-card__title {
    font-size: 16px;
    line-height: 1.2em;
  }

}

/* ============================================
   Project Case Page
   ============================================ */

.project-case {
  padding-top: 51px;
  position: relative;
}

/* Section: Project Case Social */

.project-case__header {
  margin-bottom: 50px;
}

.project-case__title {
  margin: 0;
}

/* Gallery Section */
.project-case__gallery {
  margin-bottom: 60px;
}

.project-case__gallery-main {
  position: relative;
  margin-bottom: 20px;
  border-radius: 2px;
  overflow: hidden;
}

.project-case__gallery-slider {
  width: 100%;
  height: 688px;
}

.project-case__gallery-slider .swiper-slide {
  width: 100%;
  height: 100%;
}

.project-case__gallery-image {
  width: 100%;
  border-radius: 2px;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-case__gallery-arrow {
  position: absolute;
  bottom: 20px;
  width: 32px;
  height: 32px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast) var(--easing-default);
  padding: 0;
}

.project-case__gallery-arrow:hover,
.project-case__gallery-arrow:focus {
  opacity: 0.7;
}

.project-case__gallery-arrow--prev {
  right: 57px; /* 20px (next right) + 32px (button width) + 5px (gap) */
}

.project-case__gallery-arrow--next {
  right: 20px;
}

.project-case__gallery-arrow-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.project-case__gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.project-case__gallery-dot {
  width: 49px;
  height: 2px;
  background-color: var(--color-text-secondary);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast) var(--easing-default);
  padding: 0;
}

.project-case__gallery-dot--active {
  background-color: var(--color-secondary);
}

/* Description Section */
.project-case__description {
  margin-bottom: 50px;
}

.project-case__description-title {
  margin-bottom: 30px;
}

.project-case__description-text {
  max-width: 1240px;
}

.project-case__description-text > p {
  margin: 0;
}

/* Metrics Section */
.project-case__metrics {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 50px;
}

.project-case__metric {
  display: flex;
  align-items: flex-end;
  gap: 30px;
  flex: 1;
}

.project-case__metric-icon {
  width: 77px;
  height: 77px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-case__metric-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.project-case__metric-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.project-case__metric-value {
  font-size: 54px;
  font-weight: 700;
  line-height: 1.2em;
  color: var(--color-text-primary);
  white-space: nowrap;
}

.project-case__metric-unit {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2em;
  color: var(--color-text-primary);
  display: inline;
}

.project-case__metric-unit sup {
  font-weight: 700;
  vertical-align: super;
  top: -0.25em;
}

.project-case__metric-label {
  max-width: 274px;
}

.project-case__metric-label > p {
  margin: 0;
  color: var(--color-text-primary);
}

/* Equipment Section */
.project-case__equipment {
  padding-top: 100px; margin-bottom: 50px;
}

.project-case__equipment-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.project-case__equipment-title {
  margin: 0;
  flex-shrink: 1;
  min-width: 0;
}

.project-case__equipment-header-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.project-case__equipment-button {
  width: 255px;
  flex-shrink: 0;
}

.project-case__equipment-button--footer {
  display: none;
}

.project-case__equipment-controls {
  display: flex;
  gap: 10px;
}

/* Slider для ПК (отображается на > 768px) */
.project-case-slider-wrapper { position: relative;}
.project-case-slider-wrapper .projects__arrow { position: absolute; top:50%; transform:translateY(-50%); z-index: 20;}
.project-case-slider-wrapper .projects__arrow--prev { left:-56px;}
.project-case-slider-wrapper .projects__arrow--next { right:-56px;}
.project-case__equipment-slider {
  display: block;
  width: 100%;
  margin-bottom: 0;
  overflow: hidden;
}

.project-case__equipment-slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.project-case__equipment-slider .swiper-slide {
  width: calc((100% - 60px) / 4);
  flex-shrink: 0;
  height: auto;
}

.project-case__equipment-slider .swiper-slide .project-case__equipment-card {
  height: 100%;
}

/* Grid для мобильных (скрыт на > 768px) */
.project-case__equipment-grid {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

/* Other Projects Section */
.project-case__other {
  padding-top: 100px; margin-bottom: 50px;
}

.project-case__other-title {
  margin-bottom: 35px;
}

.project-case__other-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.project-case__other-button {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 280px;
}

/* Equipment Card Styles for Project Case */
.project-case__equipment-card {
  background-color: var(--color-background-default);
  border-radius: 2px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.project-case__equipment-card-image {
  width: 100%;
  height: 295px;
  overflow: hidden;
  border-radius: 2px;
  position: relative;
  margin-bottom: 0;
}

.project-case__equipment-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.project-case__equipment-card-compare:hover,
.project-case__equipment-card-compare:focus {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.project-case__equipment-card-compare img {
  display: block;
}

.project-case__equipment-card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  flex-grow: 1;
}

.project-case__equipment-card-title {
  width: 100%;
  text-align: left;
  margin: 0;
  color: var(--color-text-primary);
  text-transform: none;
}

.project-case__equipment-card-price {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  margin-top: auto;
}

.project-case__equipment-card-price-current > p {
  margin: 0;
  font-size: 24px;
  color: var(--color-text-primary);
  text-transform: uppercase;
}

.project-case__equipment-card-price-old > p {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-secondary);
  text-decoration: line-through;
}

/* Project Case - Media Queries */

/* 1400px */
@media (max-width: 1360px) {    
  .project-case-slider-wrapper .projects__arrow--prev { left:0;}
  .project-case-slider-wrapper .projects__arrow--next { right:0;}
}

/* 1300px */
@media (max-width: 1300px) {
  .project-case__equipment-header {
    gap: 20px;
  }

  .project-case__equipment-title {
    flex-shrink: 1;
    min-width: 0;
  }

  .project-case__equipment-header-controls {
    gap: 10px;
    flex-shrink: 0;
  }
  .project-case__equipment-controls {
    gap: 8px;
    flex-shrink: 0;
  }

  .project-case__equipment-controls .projects__arrow {
    width: 38px;
    height: 38px;
  }
}

/* 1200px */
@media (max-width: 1200px) {
  .project-case__gallery-slider {
    height: 500px;
  }

  .project-case__gallery-arrow {
    bottom: 20px;
  }

  .project-case__gallery-arrow--prev {
    right: 56px;
  }

  .project-case__gallery-arrow--next {
    right: 20px;
  }

  .project-case__other-grid {
    gap: 16px;
  }

  .project-case__metric-label > p {
    font-size: 18px;
  }

  .project-case__metric {
    gap: 20px;
  }
}

/* 1024px */
@media (max-width: 1024px) {
  .project-case {
    padding-top: 40px;
  }

  .project-case__header {
    margin-bottom: 40px;
  }

  .project-case__gallery {
    margin-bottom: 40px;
  }

  .project-case__gallery-slider {
    height: 400px;
  }

  .project-case__description {
    margin-bottom: 40px;
  }

  .project-case__metrics {
    flex-direction: column;
    justify-content: center;
  }

  .project-case__metric-value {
    font-size: 47px;
    margin-bottom: 10px;
  }

  .project-case__metric-unit {
    font-size: 28px;
  }

  .project-case__equipment {
    padding-top: 70px; margin-bottom: 30px;
  }

  .project-case__equipment-slider .swiper-slide {
    width: calc((100% - 40px) / 3);
  }
  
  .project-case__equipment-card-image {
    height: 250px;
  }

  .project-case__other {
    padding-top: 70px; margin-bottom: 30px;
  }

  .project-case__other-title {
    margin-bottom: 30px;
  }

  .project-case__other-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* 768px */
@media (max-width: 768px) {
  .project-case {
    padding-top: 80px;
  }

  .project-case__header {
    margin-bottom: 30px;
  }

  .project-case__gallery-slider {
    height: 242px;
  }

  .project-case__gallery-arrow {
    width: 24px;
    height: 24px;
  }

  .project-case__gallery-arrow {
    bottom: 20px;
  }

  .project-case__gallery-arrow--prev {
    right: 48px;
  }

  .project-case__gallery-arrow--next {
    right: 10px;
  }

  .project-case__gallery-arrow svg {
    width: 20px;
    height: 20px;
  }

  .project-case__gallery-pagination {
    gap: 8px;
  }

  .project-case__gallery-dot {
    width: 48.956px;
    height: 2px;
  }
  .project-case__equipment-slider .swiper-slide {
    width: calc((100% - 20px) / 2);
  }

  .project-case__description-title {
    margin-bottom: 20px;
  }

  .project-case__description-text > p {
    font-size: 16px;
    line-height: 1.4em;
  }


  .project-case__metrics {
    flex-direction: column;
    gap: 30px;
  }

  .project-case__metric {
    gap: 25px;
  }

  .project-case__metric-icon {
    width: 67px;
    height: 67px;
  }

  .project-case__metric-value {
    font-size: 47px;
    margin-bottom: 8px;
  }

  .project-case__metric-unit {
    font-size: 28px;
  }

  .project-case__equipment-header {
    margin-bottom: 30px;
  }

  .project-case__equipment-title {
    font-size: 28px;
  }

  .project-case__equipment-header-controls {
    display: none;
  }

  /* Скрываем слайдер на мобильных */
  .project-case__equipment-slider {
    display: none !important;
  }
    .project-case-slider-wrapper .projects__arrow { display: none;}

  /* Показываем grid на мобильных */
  .project-case__equipment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .project-case__equipment-card {
    padding: 10px;
  }

  .project-case__equipment-card-image {
    height: 200px;
  }

  .project-case__equipment-card-compare {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .project-case__equipment-card-title {
    font-size: 16px;
  }

  .project-case__equipment-card-price-current > p {
    font-size: 18px;
  }

  .project-case__equipment-card-price-old > p {
    font-size: 16px;
  }

  .project-case__other {
    padding-top: 40px; margin-bottom: 20px;
  }

  .project-case__other-grid {
    gap: 20px;
    margin-bottom: 20px;
  }

  .project-case__other-button {
    max-width: 100%;
    width: 100%;
  }

    .project-case__equipment-button--footer {
    display: flex;
    max-width: 100%;
    width: 100%;
    margin-top: 20px;
    justify-content: center;
  }

}

/* 568px */
@media (max-width: 568px) {

  .project-case__header {
    margin-bottom: 20px;
  }

  .project-case__gallery {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .project-case__gallery-slider {
    height: 242px;
  }

  .project-case__gallery-arrow {
    display: none;
  }


  .project-case__description-text > p {
    font-size: 16px;
    line-height: 1.4em;
  }

  .project-case__metrics {
    gap: 20px;
    margin-bottom: 20px;
  }

  .project-case__metric-label > p {
    font-size: 16px;
  }

  .project-case__equipment {
    padding-top: 30px; margin-bottom: 20px;
  }

  .project-case__equipment-title {
    font-size: 20px;
  }

  .project-case__equipment-button--header {
    display: none;
  }

  .project-case__equipment-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .project-case__equipment-card {
    padding: 10px;
  }

  .project-case__equipment-card-image {
    height: 180px;
  }

  .project-case__other-grid {
    gap: 16px;
    margin-bottom: 16px;
  }

  .project-case__other-button {
    width: 100%;
    font-size: 14px;
    padding: 12px 24px;
  }

}

/* ============================================
   Section: Warranty Service Page
   ============================================ */

/* Warranty Service Hero */
.warranty-service-hero {
  padding-top: 50px;
  padding-bottom: 0;
  background-color: var(--color-background-default);
}

.warranty-service-hero__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 50px;
}

.warranty-service-hero__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  border-bottom: 2px solid var(--color-alt);
  width: 100%;
  flex-wrap: nowrap;
    margin-bottom: 50px;
}

.warranty-service-hero__tab {
  padding: 9px 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: -2px;
  text-transform: uppercase;
  font-weight: 300;
  white-space: nowrap;
  flex: 1 1 0;
  text-align: center;
}

.warranty-service-hero__tab:not(.warranty-service-hero__tab--active):hover,
.warranty-service-hero__tab:not(.warranty-service-hero__tab--active):focus {
  color: var(--color-accent);
}

.warranty-service-hero__tab--active {
  border-bottom: 2px solid var(--color-secondary);
  color: var(--color-text-primary);
  font-weight: 400;
}

/* Warranty Content */
.warranty-content {
  padding-bottom: 0;
  background-color: var(--color-background-default);
}

.warranty-content__panel {
  display: none;
  width: 100%;
}

.warranty-content__panel--active {
  display: block;
}

.warranty-content__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 30px;
}

.warranty-content__block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
    justify-content: space-between;
  margin-bottom: 60px;
}

.warranty-content__text {
  flex: 1;
  max-width: 528px;
}

.warranty-content__description > p {
  line-height: var(--line-height-body-base);
  margin: 0;
}

.warranty-content__image-wrapper {
  flex: 1;
  max-width: 665px;
  border-radius: 2px;
  overflow: hidden;
}

.warranty-content__image-wrapper img, .warranty-content__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.warranty-content__features {
  display: flex;
  gap: 40px;
  padding-bottom: 115px;
}

.warranty-content__feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.warranty-content__feature-icon {
  flex-shrink: 0;
  width: 49px;
  height: 49px;
}

.warranty-content__feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.warranty-content__feature-content {
  flex: 1;
}

.warranty-content__feature-title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 15px;
}

.warranty-content__feature-description > p {
  color: var(--color-text-primary);
  margin: 0;
}

.warranty-content__feature-contacts {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.warranty-content__feature-contact {
  display: flex;
  gap: 10px;
  align-items: center;
}

.warranty-content__feature-contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.warranty-content__feature-contact-link {
  font-size: 20px;
  font-style: normal;
  font-weight: 300;
  line-height: 140%; /* 28px */
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.warranty-content__feature-contact-link:hover {
  color: var(--color-accent);
}

.warranty-content__feature-button {
  margin-top: 40px;
  max-width: 384px;
}

.feature-button {
  margin-top: 17px;
  margin-bottom: 15px;
  max-width: 256px;
}

/* Delivery Content */
.delivery-content {
  padding-bottom: 0;
  background-color: var(--color-background-default);
}

.delivery-content__header {
  margin-bottom: 50px;
}

.delivery-content__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 30px;
  text-align: left;
}

.delivery-content__block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
    justify-content: space-between;
  margin-bottom: 90px;
}

.delivery-content__text {
  flex: 1;
  max-width: 528px;
}

.delivery-content__description { margin-bottom: 30px;}
.delivery-content__description > p {
  color: var(--color-text-primary);
  line-height: var(--line-height-body-base);
}

.delivery-content__bullets {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.delivery-content__bullet {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.delivery-content__bullet-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.delivery-content__bullet-text > p {
  color: var(--color-text-primary);
  line-height: var(--line-height-body-base);
  margin: 0;
}

.delivery-content__image-wrapper {
  flex: 1;
  max-width: 665px;
  border-radius: 2px;
  overflow: hidden;
}

.delivery-content__image-wrapper img, .delivery-content__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.delivery-content__info {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}

.delivery-content__info-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.delivery-content__info-title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 0;
}

.delivery-content__info-description > p {
  color: var(--color-text-primary);
  line-height: var(--line-height-body-small-light);
  margin: 0;
}

.delivery-content__info-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.delivery-content__info-contact {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.delivery-content__info-contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.delivery-content__info-contact-text > p {
  color: var(--color-text-primary);
  line-height: var(--line-height-body-small-light);
  margin: 0;
}

.delivery-content__info-button {
  margin-top: 5px;
  max-width: 195px;
}

/* Assembly Content */
.assembly-content {
  padding-top: 100px;
  padding-bottom: 140px;
  background-color: var(--color-background-default);
}

.assembly-content__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 30px;
  text-align: left;
}

.assembly-content__description {
  margin-bottom:50px;
}
.assembly-content__description > p {
  color: var(--color-text-primary);
  line-height: var(--line-height-body-base);
}

.assembly-content__block {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.assembly-content__video-wrapper {
  flex: 1;
  max-width: 765px;
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}

.assembly-content__video-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.assembly-content__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: var(--color-accent);
  border: none;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  padding: 0;
}

.assembly-content__play-btn:hover {
  background-color: #9bb80a;
}

.assembly-content__services {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 435px;
}

.assembly-content__service {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.assembly-content__service-title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 0;
}

.assembly-content__service-description > p {
  color: var(--color-text-primary);
  line-height: var(--line-height-body-small-light);
  margin: 0;
}
.std .assembly-content__service-description > p {
  margin: 0;
}

/* Delivery Consultation Form */
.delivery-consultation-form {
  padding-top: 100px;
  padding-bottom: 140px;
  background-color: var(--color-background-secondary);
}

.delivery-consultation-form__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 50px;
  text-align: left;
}

.delivery-consultation-form__content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.delivery-consultation-form__image-wrapper {
  flex: 1;
  max-width: 677px;
  border-radius: 2px;
  overflow: hidden;
}

.delivery-consultation-form__image-wrapper img, .delivery-consultation-form__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.delivery-consultation-form__form-wrapper {
  flex: 1;
  max-width: 466px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.delivery-consultation-form__description > p {
  color: var(--color-text-primary);
  line-height: var(--line-height-body-base);
  margin: 0;
}
.std .delivery-consultation-form__description > p { margin: 0;}

/* Delivery consultation form - использует .form-white для стилей формы */

.delivery-consultation-form__field {
  position: relative;
  width: 100%;
}

/* Delivery consultation form - removed specific input styles, using .input-text */

.delivery-consultation-form__asterisk {
  color: #c53e3e;
  font-size: var(--font-size-body-base);
  display: none;
}

.delivery-consultation-form__input--required:not(:focus):placeholder-shown ~ .delivery-consultation-form__asterisk {
  display: block;
}

.delivery-consultation-form__checkbox-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  margin-top: 5px;
}

.delivery-consultation-form__checkbox-wrapper .checkbox {
  margin-top: 2px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid var(--color-alt);
  background-color: var(--color-background-default);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.delivery-consultation-form__checkbox-wrapper .checkbox:checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.delivery-consultation-form__checkbox-wrapper .checkbox:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.5L4.5 8L11 1.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.delivery-consultation-form__checkbox-label {
  color: var(--color-text-primary);
  line-height: var(--line-height-caption-base);
  cursor: pointer;
}

.delivery-consultation-form__submit {
  margin-top: 15px;
  padding-top: 13px;
  padding-bottom: 13px;
  max-width: 248px;
}

/* Warranty Form */
.warranty-form {
  padding-top: 100px;
  padding-bottom: 150px;
  background-color: var(--color-background-secondary);
}

.warranty-form__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 50px;
  text-align: left;
}

.warranty-form__description > p {
  color: var(--color-text-primary);
  text-align: left;
  margin: 0 0 33px 0;
  max-width: 466px;
}

/* Form styles removed - forms should not have CSS classes or styles */

.warranty-form__row {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
}

.warranty-form__column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.warranty-form__field {
  width: 100%;
}

.input--textarea {
  resize: vertical;
  min-height: 164px;
  padding: 16px;
  font-family: 'Myriad Pro', sans-serif;
  font-size: var(--font-size-body-base);
  font-weight: 300;
  border-radius: 2px;
  color: var(--color-text-primary);
}

/* Дополнительный отступ сверху для textarea в форме гарантии */
.warranty-form__field--textarea .input--textarea,
.warranty-form__field--textarea textarea.input--textarea {
  height: 164px;
  padding-top: 16px !important;
  padding-bottom: 16px;
  padding-left: 16px;
  padding-right: 16px;
}

/* Красные звездочки для обязательных полей - теперь работают с .control */
.warranty-form__asterisk {
  color: var(--color-error);
  font-size: var(--font-size-body-base);
  font-weight: 300;
  line-height: 1;
  display: none;
}

.warranty-form__input--required:not(:focus):placeholder-shown ~ .warranty-form__asterisk {
  display: block;
}


.warranty-form__file-input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  overflow: hidden;
}

.warranty-form__file-label {
  cursor: pointer;
  display: inline-block;
  background-color: var(--color-background-default);
  border: 1px solid var(--color-accent);
  color: var(--color-text-primary);
  padding: 14px 40px;
  border-radius: 2px;
  transition: all var(--transition-fast);
  max-width: 190px;
  text-align: center;
}

.warranty-form__file-label:hover {
  background-color: var(--color-accent);
  color: var(--color-primary);
}

.warranty-form__checkboxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
  max-width: 560px;
}

.warranty-form__checkboxes .checkbox-wrapper {
  margin-bottom: 0;
}

.warranty-form__checkbox-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.warranty-form__checkbox-wrapper:last-child {
  align-items: flex-end;
}

.warranty-form__checkbox-wrapper .checkbox {
  margin-top: 2px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid var(--color-alt);
  background-color: var(--color-background-default);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.warranty-form__checkbox-wrapper .checkbox:checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.warranty-form__checkbox-wrapper .checkbox:checked::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 10px;
  border: solid var(--color-background-default);
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

.warranty-form__checkbox-label {
  color: var(--color-text-primary);
  cursor: pointer;
  flex: 1;
}

.warranty-form__submit {
  display: block;
  margin-left: 0;
  margin-top: 15px;
  padding-top: 13px;
  padding-bottom: 13px;
  max-width: 205px;
}

/* Warranty Documents */
.warranty-documents {
  padding-top: 60px;
  padding-bottom: 150px;
  background-color: var(--color-background-default);
}

.warranty-documents__title, .warranty-documents h2 {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 20px;
    font-size: var(--font-size-h4);
}

.warranty-documents__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.warranty-documents__link, .warranty-documents a {
  color: var(--color-text-primary);
  text-decoration: underline;
  text-decoration-color: var(--color-text-primary);
  transition: color var(--transition-fast);
}

.warranty-documents__link:hover, .warranty-documents a:hover {
  color: var(--color-accent);
  text-decoration-color: var(--color-accent);
}

.warranty-documents p { font-size: var(--font-size-h4); font-weight: 400; line-height: var(--line-height-h4); text-transform: uppercase; margin-bottom: 15px;}
.warranty-documents > :last-child { margin-bottom: 0;} 

/* Адаптив для warranty-service - 1200px */
@media (max-width: 1200px) {
  .warranty-content__block {
    gap: 30px;
  }

  .warranty-content__features {
    gap: 30px;
  }

  .warranty-form__row {
    gap: 30px;
  }
    .warranty-service-hero__tabs {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--color-alt) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .warranty-service-hero__tabs::-webkit-scrollbar {
    height: 2px;
  }

  .warranty-service-hero__tabs::-webkit-scrollbar-track {
    background: transparent;
  }

  .warranty-service-hero__tabs::-webkit-scrollbar-thumb {
    background-color: var(--color-alt);
    border-radius: 2px;
  }

  .warranty-service-hero__tab {
    flex: 0 0 auto;
  }
}

/* Адаптив для warranty-service - 1024px */
@media (max-width: 1024px) {
  .warranty-form {
    padding-top: 75px;
    padding-bottom: 100px;
  }
  .warranty-documents {
    padding-top: 40px;
    padding-bottom: 100px;
  }
  .warranty-service-hero {
    padding-top: 40px;
  }

  .warranty-content__block {
    flex-direction: column;
    gap: 30px;
  }

  .warranty-content__text {
    max-width: 100%;
    display: contents;
  }

  .delivery-consultation-form {
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .warranty-content__title {
    order: 1;
  }

  .warranty-content__image-wrapper {
    max-width: 100%;
    order: 2;
  }

  .warranty-content__description {
    order: 3;
  }

  .warranty-content__features {
    flex-direction: column;
    padding-bottom: 90px;
  }

  .warranty-form__row {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 0;
  }

  .delivery-consultation-form__description > p {
    margin-top: 0;
  }
}

/* Адаптив для warranty-service - 768px */
@media (max-width: 768px) {
  .warranty-service-hero {
    padding-top: 80px;
  }

  .warranty-service-hero__title {
    margin-bottom: 30px;
  }

  .warranty-service-hero__tabs {
    flex-direction: column;
    border-bottom: none;
    overflow-x: visible;
    overflow-y: visible;
      margin-bottom: 40px;
  }

  .warranty-service-hero__tab {
    width: 100%;
    padding: 9px 16px;
    border-bottom: 2px solid var(--color-alt);
    text-align: center;
    font-size: var(--font-size-h4-mobile);
    margin-bottom: 0;
  }

  .warranty-service-hero__tab--active {
    border-bottom-color: var(--color-secondary);
  }

  .warranty-content__title {
    line-height: var(--line-height-h2-mobile);
    margin-bottom: 0;
  }

  .warranty-content__block {
    margin-bottom: 40px;
  }

  .warranty-content__description {
    line-height: var(--line-height-body-base-mobile);
  }

  .warranty-content__features {
    gap: 40px;
    padding-bottom: 80px;
  }

  .warranty-content__feature {
    flex-direction: column;
    gap: 15px;
  }

  .warranty-content__feature-icon {
    width: 49px;
    height: 49px;
  }

  .warranty-form {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .warranty-form__title {
    line-height: var(--line-height-h2-mobile);
    margin-bottom: 30px;
  }

  .warranty-form__description > p {
    line-height: var(--line-height-body-base-mobile);
    margin-bottom: 20px;
  }

  .warranty-form__column {
    gap: 15px;
  }

  .warranty-form__checkboxes {
    gap: 20px;
  }

  .warranty-documents { padding-bottom: 70px;}
  .warranty-documents__title, .warranty-documents h2 {
    line-height: var(--line-height-h4-mobile);
  }

  .warranty-documents__link {
    font-weight: 400;
    line-height: var(--line-height-h4-mobile);
  }

  .warranty-form__checkbox-wrapper:last-child {
    align-items: flex-start;
  }

  .warranty-form__submit {
    max-width: 100%;
    margin-top: 5px;
  }
}

/* Адаптив для warranty-service - 568px */
@media (max-width: 568px) {
  .warranty-content__title,
  .leasing-hero__title,
  .delivery-content__title {
    font-size: 28px;
  }

  .warranty-content__block {
    margin-bottom: 30px;
  }

  .warranty-content__feature-button {
    width: 100%;
  }

  .warranty-form__file-label {
    width: 100%;
    text-align: center;
  }

  .warranty-content__features {
    padding-bottom: 70px;
  }

  .warranty-documents__title, .warranty-documents h2, .warranty-documents p {
    font-size: var(--font-size-h4-mobile);
  }
    
  .feature-button {
    max-width: 100%;
  }
}

/* Адаптив для delivery-content - 1200px */
@media (max-width: 1200px) {
  .delivery-content__block {
    gap: 40px;
  }

  .delivery-content__info {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .assembly-content__block {
    gap: 30px;
  }

  .delivery-consultation-form__content {
    gap: 30px;
  }
}

/* Адаптив для delivery-content - 1024px */
@media (max-width: 1024px) {
  .delivery-content__block {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 60px;
  }

  .delivery-content__text {
    max-width: 100%;
    display: contents;
  }

  .delivery-content__title {
    order: 1;
    margin-bottom: 0;
  }

  .delivery-content__image-wrapper {
    order: 2;
    max-width: 100%;
    width: 100%;
  }

  .delivery-content__description {
    order: 3;
    margin-bottom: 0;
  }

  .delivery-content__bullets {
    order: 4;
  }

  .delivery-content__info {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .assembly-content__block {
    flex-direction: column;
    gap: 30px;
  }

  .assembly-content {
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .assembly-content__video-wrapper {
    max-width: 100%;
    width: 100%;
  }

  .assembly-content__services {
    max-width: 100%;
  }

  .delivery-consultation-form__content {
    flex-direction: column;
    gap: 30px;
  }

  .delivery-consultation-form__image-wrapper {
    max-width: 100%;
        width: 100%;
  }

  .delivery-consultation-form__form-wrapper {
    max-width: 100%;
      width: 100%;
  }
}

/* Адаптив для delivery-content - 768px */
@media (max-width: 768px) {

  .delivery-content__title {
    line-height: var(--line-height-h2-mobile);
    text-align: left;
  }

  .delivery-content__bullets {
    gap: 15px;
  }

  .delivery-content__bullet {
    gap: 15px;
  }

  .delivery-content__info {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .delivery-content__block {
    margin-bottom: 40px;
  }

  .delivery-content__info-button {
    max-width: 100%;
    width: 100%;
  }

  .assembly-content {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .assembly-content__title {
    margin-bottom: 30px;
    text-align: left;
  }

  .assembly-content__description {
    margin-bottom: 30px;
  }

  .assembly-content__services {
    gap: 15px;
  }

  .delivery-consultation-form {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .delivery-consultation-form__title {
    margin-bottom: 30px;
    text-align: left;
  }

  /* Form styles removed - forms should not have CSS classes or styles */
  .delivery-consultation-form__submit {
    margin-top: 5px;
  }
}

/* Адаптив для delivery-content - 568px */
@media (max-width: 568px) {

  .delivery-content__header {
    margin-bottom: 30px;
  }

  .delivery-content__block {
    margin-bottom: 30px;
  }

  .delivery-content__bullets {
    gap: 10px;
  }

  .delivery-content__bullet {
    gap: 15px;
  }

  .delivery-content__info-contacts {
    gap: 10px;
    margin-top: 10px;
  }

  .assembly-content__block {
    gap: 20px;
  }

  .delivery-consultation-form__checkbox-wrapper {
    align-items: flex-start;
  }

  .delivery-consultation-form {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .delivery-consultation-form__submit {
    max-width: 100%;
  }

  .delivery-consultation-form__content {
    gap: 20px;
  }
}

/* ============================================
   Selection Tab Styles
   ============================================ */

/* Section: Selection Content */

.selection-content__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 35px;
  text-align: left;
}

.selection-content__description { margin-bottom: 50px;}
.selection-content__description > p {
  color: var(--color-text-primary);
  line-height: var(--line-height-body-base);
}

/* Selection Advantages */
.selection-content__advantages {
  display: flex;
  gap: 20px;
  margin-bottom: 85px;
  flex-wrap: wrap;
}

.selection-advantage {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 24px;
  border: 1px solid var(--color-alt);
  border-radius: 2px;
  background-color: var(--color-background-default);
  flex: 1;
  min-width: 400px;
  max-width: 400px;
}

.selection-advantage__icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.selection-advantage__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.selection-advantage__content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.selection-advantage__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
}

.selection-advantage__description > p {
  color: var(--color-text-primary);
  margin: 0;
}
.std .selection-advantage__description > p { margin: 0;}

/* Section: Selection Project */
.selection-project {
  margin-bottom: 0;
}

.selection-project__content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding-bottom: 150px;
}

.selection-project__text {
  flex: 1;
  max-width: 610px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.selection-project__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
}

.selection-project__description {
  color: var(--color-text-primary);
}
.selection-project__description p, .std .selection-project__description p { margin-bottom: 20px;}

.selection-project__gallery {
  flex: 1;
  max-width: 610px;
}

/* Selection Gallery */
.selection-gallery {
  margin-bottom: 0;
}

.selection-gallery__main {
  position: relative;
  margin-bottom: 20px;
  border-radius: 2px;
  overflow: hidden;
}

.selection-gallery__slider {
  width: 100%;
  height: 335px;
}

.selection-gallery__slider .swiper-slide {
  width: 100%;
  height: 100%;
}

.selection-gallery__image, .selection-gallery__slider .swiper-slide img {
  width: 100%;
  border-radius: 2px;
  height: 100%;
  object-fit: cover;
  display: block;
}

.selection-gallery__arrow {
  position: absolute;
  bottom: 20px;
  width: 32px;
  height: 32px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast) var(--easing-default);
  padding: 0;
}

.selection-gallery__arrow:hover,
.selection-gallery__arrow:focus {
  opacity: 0.7;
}

.selection-gallery__arrow--prev {
  right: 57px; /* 20px (next right) + 32px (button width) + 5px (gap) */
}

.selection-gallery__arrow--next {
  right: 20px;
}

.selection-gallery__arrow img {
  width: 32px;
  height: 32px;
  display: block;
}

.selection-gallery__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.selection-gallery__dot {
  width: 49px;
  height: 2px;
  background-color: var(--color-text-secondary);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast) var(--easing-default);
  padding: 0;
}

.selection-gallery__dot--active {
  background-color: var(--color-secondary);
}

.selection-gallery__dot:hover,
.selection-gallery__dot:focus {
  background-color: var(--color-accent);
}

/* Section: Selection Form */
.selection-form {
  padding-top: 100px;
  padding-bottom: 150px;
  background-color: var(--color-background-secondary);
  margin-top: 0;
}

.selection-form__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 50px;
  text-align: left;
}

.selection-form__content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
    justify-content: space-between;
}

.selection-form__image-wrapper {
  flex: 1;
  max-width: 665px;
  border-radius: 2px;
  overflow: hidden;
}

.selection-form__image-wrapper img, .selection-form__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.selection-form__form-wrapper {
  flex: 1;
  max-width: 528px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.selection-form__description > p {
  color: var(--color-text-primary);
  line-height: var(--line-height-body-base);
}
.std .selection-form__description > p { margin: 0;}

/* Selection form - использует .form-white для стилей формы */

.selection-form__field {
  position: relative;
  width: 100%;
}

/* Selection form - removed specific input styles, using .input-text */

.selection-form__asterisk {
  color: var(--color-error);
  font-size: var(--font-size-body-base);
  display: none;
}

.selection-form__input--required:not(:focus):placeholder-shown ~ .selection-form__asterisk {
  display: block;
}

.selection-form__checkbox-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  margin-top: 5px;
}

.selection-form__checkbox-wrapper .checkbox {
  margin-top: 2px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid var(--color-alt);
  background-color: var(--color-background-default);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.selection-form__checkbox-wrapper .checkbox:checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.selection-form__checkbox-wrapper .checkbox:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.5L4.5 8L11 1.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.selection-form__checkbox-label {
  color: var(--color-text-primary);
  line-height: var(--line-height-caption-base);
  cursor: pointer;
}

.selection-form__submit {
  margin-top: 15px;
  padding-top: 13px;
  padding-bottom: 13px;
  max-width: 248px;
}

/* Адаптив для selection-content - 1024px */
@media (max-width: 1024px) {
  .selection-content__advantages {
    flex-direction: column;
    gap: 20px;
  }

  .selection-advantage {
    max-width: 100%;
    min-width: auto;
  }

  .selection-project__content {
    flex-direction: column;
    gap: 30px;
    padding-bottom: 100px;
  }

  .selection-project__text {
    max-width: 100%;
  }

  .selection-form {
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .selection-project__gallery {
    max-width: 100%;
  }

  .selection-form__content {
    flex-direction: column;
    gap: 30px;
  }

  .selection-form__image-wrapper {
    max-width: 100%;
    width: 100%;
  }

  .selection-form__form-wrapper {
    max-width: 100%;
      width: 100%;
  }
}

/* Адаптив для selection-content - 768px */
@media (max-width: 768px) {
  .selection-content {
    padding-top: 40px;
  }

  .selection-content__title {
    font-size: 28px !important;
    margin-bottom: 30px;
    line-height: var(--line-height-h2-mobile);
  }

    .selection-content__description { margin-bottom: 40px;}
  .selection-content__description > p {
    line-height: var(--line-height-body-base-mobile);
  }

  .selection-content__advantages {
    margin-bottom: 60px;
  }

  .selection-advantage {
    padding: 30px 20px;
    gap: 15px;
  }

  .selection-advantage__icon {
    width: 40px;
    height: 40px;
  }

  .selection-advantage__content {
    gap: 12px;
  }

  .selection-project__text {
    gap: 20px;
  }

  .selection-project__title {
    line-height: var(--line-height-h2-mobile);
  }

  .selection-project__description {
    gap: 15px;
  }

  .selection-gallery__slider {
    height: 250px;
  }

  .selection-gallery__arrow {
    bottom: 20px;
  }

  .selection-gallery__arrow--prev {
    right: 56px;
  }

  .selection-gallery__arrow--next {
    right: 20px;
  }

  .selection-gallery__pagination {
    gap: 8px;
  }

  .selection-gallery__dot {
    width: 48.956px;
  }

  .selection-form {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .selection-form__title {
    margin-bottom: 30px;
    line-height: var(--line-height-h2-mobile);
  }

  .selection-form__description > p {
    line-height: var(--line-height-body-base-mobile);
  }

  /* Form styles removed - forms should not have CSS classes or styles */

  .selection-form__submit {
    margin-top: 5px;
    max-width: 100%;
  }
}

/* Адаптив для selection-content - 568px */
@media (max-width: 568px) {
  .selection-content__advantages {
    margin-bottom: 40px;
  }

  .selection-advantage {
    padding: 24px 16px;
  }

  .selection-gallery__slider {
    height: 200px;
  }

  .selection-gallery__arrow {
    width: 24px;
    height: 24px;
  }

  .selection-gallery__arrow--prev {
    right: 48px;
  }

  .selection-gallery__arrow--next {
    right: 10px;
  }

  .selection-gallery__arrow img {
    width: 20px;
    height: 20px;
  }

  .selection-gallery__arrow {
    display: none;
  }

  .selection-form {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .selection-form__content {
    gap: 20px;
  }

  .selection-form__checkbox-wrapper {
    align-items: flex-start;
  }
}

/* ============================================
   3D Modeling Tab Styles
   ============================================ */

/* Section: Modeling Content */
.modeling-content {
  padding-bottom: 150px;
}

.modeling-content__wrapper {
  display: flex;
  gap: 65px;
  align-items: flex-start;
}

.modeling-content__left {
  flex: 1;
  max-width: 578px;
}

.modeling-content__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 30px;
}
.modeling-content__description  { margin-bottom: 30px;}
.modeling-content__description > p {
  color: var(--color-text-primary);
  line-height: var(--line-height-body-base);
}

.modeling-content__benefits {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modeling-benefit {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.modeling-benefit__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modeling-benefit__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modeling-benefit__text > p {
  color: var(--color-text-primary);
  line-height: var(--line-height-body-base);
  margin: 0;
}

.modeling-content__right {
  flex: 1;
  max-width: 610px;
}

.modeling-gallery {
  margin-bottom: 0;
}

.modeling-gallery__main {
  position: relative;
  margin-bottom: 20px;
  border-radius: 2px;
  overflow: hidden;
}

.modeling-gallery__slider {
  width: 100%;
  height: 400px;
}

.modeling-gallery__slider .swiper-slide {
  width: 100%;
  height: 100%;
}

.modeling-gallery__image, .modeling-gallery__slider .swiper-slide img {
  width: 100%;
  border-radius: 2px;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modeling-gallery__arrow {
  position: absolute;
  bottom: 20px;
  width: 32px;
  height: 32px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast) var(--easing-default);
  padding: 0;
}

.modeling-gallery__arrow:hover,
.modeling-gallery__arrow:focus {
  opacity: 0.7;
}

.modeling-gallery__arrow--prev {
  right: 57px;
}

.modeling-gallery__arrow--next {
  right: 20px;
}

.modeling-gallery__arrow img {
  width: 32px;
  height: 32px;
  display: block;
}

.modeling-gallery__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modeling-gallery__dot, .modeling-gallery__pagination span {
  width: 49px;
  height: 2px;
  background-color: var(--color-text-secondary);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast) var(--easing-default);
  padding: 0;
}

.modeling-gallery__dot--active, .modeling-gallery__pagination span.active {
  background-color: var(--color-secondary);
}

.modeling-gallery__dot:hover,
.modeling-gallery__dot:focus,
.modeling-gallery__pagination span:hover {
  background-color: var(--color-accent);
}

/* Section: Modeling Form */
.modeling-form {
  padding-top: 100px;
  padding-bottom: 150px;
  background-color: var(--color-background-secondary);
  margin-top: 0;
}

.modeling-form .checkbox-wrapper,
.selection-form .checkbox-wrapper,
.delivery-consultation-form .checkbox-wrapper {
  margin-bottom: 0;
}

.modeling-form__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 50px;
  text-align: left;
}

.modeling-form__content {
  display: flex;
  gap: 40px;
    justify-content: space-between;
  align-items: flex-start;
}

.modeling-form__image-wrapper {
  flex: 1;
  max-width: 665px;
  border-radius: 2px;
  overflow: hidden;
}

.modeling-form__image-wrapper img, .modeling-form__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.modeling-form__form-wrapper {
  flex: 1;
  max-width: 528px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modeling-form__description > p {
  color: var(--color-text-primary);
  line-height: var(--line-height-body-base);
  margin: 0;
}
.std .modeling-form__description > p { margin: 0;}

/* Modeling form - использует .form-white для стилей формы */

.modeling-form__field {
  position: relative;
  width: 100%;
}

/* Modeling form - removed specific input styles, using .input-text */

.modeling-form__asterisk {
  color: var(--color-error);
  font-size: var(--font-size-body-base);
  display: none;
}

.modeling-form__input--required:not(:focus):placeholder-shown ~ .modeling-form__asterisk {
  display: block;
}

.modeling-form__checkbox-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  margin-top: 5px;
}

.modeling-form__checkbox-wrapper .checkbox {
  margin-top: 2px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid var(--color-alt);
  background-color: var(--color-background-default);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.modeling-form__checkbox-wrapper .checkbox:checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.modeling-form__checkbox-wrapper .checkbox:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.5L4.5 8L11 1.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.modeling-form__checkbox-label {
  color: var(--color-text-primary);
  line-height: var(--line-height-caption-base);
  cursor: pointer;
}

.modeling-form__submit {
  margin-top: 15px;
  padding-top: 13px;
  padding-bottom: 13px;
  max-width: 285px;
}

/* Адаптив для modeling-content - 1200px */
@media (max-width: 1200px) {
  .modeling-content__wrapper {
    gap: 40px;
  }

  .modeling-content__left {
    max-width: 50%;
  }

  .modeling-content__right {
    max-width: 50%;
  }

  .modeling-gallery__slider {
    height: 350px;
  }
}

/* Адаптив для modeling-content - 1024px */
@media (max-width: 1024px) {
  .modeling-content {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .modeling-content__wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .modeling-content__left {
    max-width: 100%;
  }

  .modeling-content__right {
    max-width: 100%;
  }

  .modeling-gallery__slider {
    height: 300px;
  }

  .modeling-gallery__arrow {
    width: 28px;
    height: 28px;
  }

  .modeling-gallery__arrow img {
    width: 28px;
    height: 28px;
  }

  .modeling-gallery__arrow--prev {
    right: 50px;
  }

  .modeling-gallery__arrow--next {
    right: 16px;
  }

  .modeling-gallery__dot, .modeling-gallery__pagination span {
    width: 40px;
  }

  .modeling-form {
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .modeling-form__content {
    flex-direction: column;
    gap: 30px;
  }

  .modeling-form__image-wrapper {
    max-width: 100%;
    width: 100%;
  }

  .modeling-form__form-wrapper {
    max-width: 100%;
    width: 100%;
  }
}

/* Адаптив для modeling-content - 768px */
@media (max-width: 768px) {
  .modeling-content {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .modeling-content__title {
    font-size: 28px !important;
    margin-bottom: 16px;
  }

  .modeling-content__description > p {
    font-size: var(--font-size-body-base-mobile);
    line-height: var(--line-height-body-base-mobile);
  }

  .modeling-content__benefits {
    gap: 20px;
  }

  .modeling-benefit {
    gap: 16px;
  }

  .modeling-benefit__icon {
    width: 20px;
    height: 20px;
  }

  .modeling-benefit__text > p {
    font-size: var(--font-size-body-base-mobile);
    line-height: var(--line-height-body-base-mobile);
  }

  .modeling-gallery__slider {
    height: 250px;
  }

  .modeling-gallery__arrow {
    width: 24px;
    height: 24px;
    bottom: 16px;
  }

  .modeling-gallery__arrow img {
    width: 24px;
    height: 24px;
  }

  .modeling-gallery__arrow--prev {
    right: 44px;
  }

  .modeling-gallery__arrow--next {
    right: 12px;
  }

  .modeling-gallery__pagination {
    gap: 8px;
  }

  .modeling-gallery__dot, .modeling-gallery__pagination span {
    width: 32px;
    height: 2px;
  }

  .modeling-form {
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .modeling-form__title {
    font-size: var(--font-size-h2-mobile);
    margin-bottom: 30px;
  }

  .modeling-form__description > p {
    font-size: var(--font-size-body-base-mobile);
    line-height: var(--line-height-body-base-mobile);
    margin-top: 0;
  }

  /* Form styles removed - forms should not have CSS classes or styles */

  /* Modeling form mobile - removed specific input styles */

  .modeling-form__checkbox-wrapper {
    margin-top: 5px;
    gap: 8px;
  }

  .modeling-form__checkbox-wrapper .checkbox {
    width: 18px;
    height: 18px;
    margin-top: 2px;
  }

  .modeling-form__checkbox-label {
    font-size: var(--font-size-caption-base);
    line-height: var(--line-height-caption-base);
  }

  .modeling-form__submit {
    margin-top: 10px;
    max-width: 100%;
    width: 100%;
  }
}

/* ============================================
   Leasing Tab Styles
   ============================================ */

/* Section: Leasing Hero */

.leasing-hero__wrapper {
  display: block;
}

.leasing-hero__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 30px;
  text-align: left;
}

.leasing-hero__content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
    justify-content: space-between;
}

.leasing-hero__left {
  flex: 1;
  max-width: 528px;
}

.leasing-hero__form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.leasing-hero__description > p {
  color: var(--color-text-primary);
  line-height: var(--line-height-body-base);
  margin: 0 0 20px 0;
}

/* Form styles removed - forms should not have CSS classes or styles */

.leasing-hero__field {
  position: relative;
  width: 100%;
}

/* Leasing hero form - removed specific input styles, using .input-text */

.leasing-hero__asterisk {
  color: #c53e3e;
  font-size: var(--font-size-body-base);
  display: none;
}

.leasing-hero__input--required:not(:focus):placeholder-shown ~ .leasing-hero__asterisk {
  display: block;
}

.leasing-hero__checkbox-wrapper {
  display: none;
  gap: 10px;
  align-items: flex-start;
  margin-top: 5px;
}

.leasing-hero__checkbox-wrapper .checkbox {
  margin-top: 2px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid var(--color-text-secondary);
  appearance: none;
  cursor: pointer;
  position: relative;
  background-color: var(--color-background-default);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.leasing-hero__checkbox-wrapper .checkbox:checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.leasing-hero__checkbox-wrapper .checkbox:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -60%) rotate(45deg);
}

.leasing-hero__checkbox-label {
  color: var(--color-text-primary);
  line-height: var(--line-height-caption-base);
  cursor: pointer;
}

.leasing-hero__submit {
  margin-top: 70px;
  padding-top: 13px;
  padding-bottom: 13px;
  max-width: 195px;
}

.leasing-hero__image-wrapper {
  flex: 1;
  max-width: 665px;
  border-radius: 2px;
  overflow: hidden;
}

.leasing-hero__image-wrapper img, .leasing-hero__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Section: Leasing Partners */
.leasing-partners {
  padding-top: 130px;
  padding-bottom: 150px;
}

.leasing-partners__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 30px;
  text-align: left;
}

.leasing-partners__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.leasing-partner-card {
  background-color: var(--color-background-default);
  border: 1px solid var(--color-text-secondary);
  border-radius: 2px;
  padding: 30px 30px 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.leasing-partner-card__logo {
  height: 47px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.leasing-partner-card__logo img, .leasing-partner-card__logo-img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

.leasing-partner-card__special > p {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
}

.leasing-partner-card__company-name {
  color: var(--color-accent);
  text-transform: uppercase;
  margin: 0;
}

.leasing-partner-card__conditions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.leasing-partner-card__title {
  color: var(--color-text-primary);
  text-transform: none;
  margin: 0;
}

.leasing-partner-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.leasing-partner-card__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding-left: 20px;
  position: relative;
}
.std ul .leasing-partner-card__item { margin-bottom: 5px;}

.leasing-partner-card__text {
  color: var(--color-text-primary);
  line-height: var(--line-height-body-small-light);
}

.leasing-partner-card__contacts {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 35px;
}
.leasing-partner-card__contacts:last-child { margin-bottom: 0;}

.leasing-partner-card__contacts-title {
  color: var(--color-text-primary);
  text-transform: none;
  margin: 0;
  margin-bottom: 5px;
}

.leasing-partner-card__contact {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.leasing-partner-card__contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}

.leasing-partner-card:nth-child(3) .leasing-partner-card__contacts,
.leasing-partner-card:nth-child(4) .leasing-partner-card__contacts {
  margin-bottom: 70px;
}


.leasing-partner-card__contact-text {
  color: var(--color-text-primary);
  line-height: var(--line-height-body-small-light);
}

.leasing-partner-card__contact-link {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast) var(--easing-default);
}

.leasing-partner-card__contact-link:hover,
.leasing-partner-card__contact-link:focus {
  color: var(--color-accent);
  text-decoration: underline;
}

.leasing-partner-card__button {
  max-width: 180px;
  margin-top: auto;
}

/* Адаптив для leasing - 1200px */
@media (max-width: 1200px) {
  .leasing-hero__content {
    gap: 30px;
  }


  .leasing-hero__image-wrapper {
    max-width: 600px;
  }

  .leasing-partners__grid {
    gap: 24px;
  }

  .leasing-partner-card {
    padding: 24px;
  }
}

/* Адаптив для leasing - 1024px */
@media (max-width: 1024px) {

  .leasing-hero__wrapper {
    display: flex;
    flex-direction: column;
  }

  .leasing-hero__content {
    flex-direction: column;
    gap: 30px;
    display: flex;
  }

  .leasing-hero__left {
    max-width: 100%;
    display: contents;
  }

  .leasing-hero__title {
    order: 1;
    margin-bottom: 0;
  }

  .leasing-hero__form-wrapper {
    order: 3;
  }

  .leasing-hero__image-wrapper {
    order: 2;
    max-width: 100%;
    width: 100%;
  }

  .leasing-partners {
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .leasing-partners__title {
    margin-bottom: 40px;
  }

  .leasing-partners__grid {
    gap: 20px;
  }

  .leasing-partner-card {
    padding: 20px;
  }

  .leasing-hero__description > p {
    margin-bottom: 0;
  }

  .leasing-hero__submit {
    margin-top: 20px;
  }
}

/* Адаптив для leasing - 768px */
@media (max-width: 768px) {

  .leasing-hero__form {
    gap: 15px;
    max-width: 100%;
  }

  /* Leasing hero form mobile - removed specific input styles */

  .leasing-hero__checkbox-wrapper {
    display: flex;
    align-items: flex-start;
  }

  .leasing-hero__submit {
    max-width: 100%;
    margin-top: 10px;
  }

  .leasing-partners {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .leasing-partners__title {
    margin-bottom: 30px;
    font-size: var(--font-size-h2-mobile);
  }

  .leasing-partners__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .leasing-partner-card {
    padding: 20px;
  }

  .leasing-partner-card__title {
    font-size: var(--font-size-h4-mobile);
  }

  .leasing-partner-card__contacts-title {
    font-size: var(--font-size-h4-mobile);
  }

  .leasing-partner-card__button {
    max-width: 100%;
  }

}

/* Адаптив для leasing - 568px */
@media (max-width: 568px) {

  .leasing-hero {
    padding-bottom: 70px;
  }

  .leasing-partners {
    display: none;
  }

  .leasing-hero__form-wrapper {
    gap: 20px;
  }

  .leasing-hero__form {
    gap: 15px;
  }

  .leasing-hero__checkbox-wrapper {
    margin-top: 0;
  }

  .leasing-partners {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .leasing-partners__title {
    margin-bottom: 20px;
  }

  .leasing-partners__grid {
    gap: 15px;
  }

  .leasing-partner-card {
    padding: 16px;
    gap: 15px;
  }

  .leasing-partner-card__logo {
    height: 40px;
    margin-bottom: 5px;
  }

  .leasing-partner-card__title {
    font-size: 18px;
  }

  .leasing-partner-card__contacts-title {
    font-size: 18px;
  }
}

/* ============================================
   Section: Catalog
   ============================================ */

.catalog {
  padding-top: 50px;
  padding-bottom: 100px;
  background-color: var(--color-background-default);
  position: relative;
}

.catalog__header {
  margin-bottom: 50px;
}

.catalog__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-h2);
  line-height: var(--line-height-h2);
}

.catalog__content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.catalog__sidebar {
  flex-shrink: 0;
  width: 295px;
}

.catalog__tabs { display: block; list-style: none; background: none; padding: 0;}
.catalog__tabs li { margin-bottom: 10px;}
.catalog__tabs li a { display: block;
  background-color: var(--color-background-secondary);
  border: none;
  padding: 10px 16px;
  text-align: left;
  font-size: var(--font-size-h4);
  font-weight: 400;
  line-height: var(--line-height-h4);
  color: var(--color-text-primary);
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
  border-radius: 2px;
}

.catalog__tabs li a:hover {
  background-color: var(--color-accent);
  color: var(--color-text-on-accent);
}

.catalog__tabs li.active a {
  background-color: var(--color-accent);
  color: var(--color-text-on-accent);
}
.catalog__tabs li.active a:visited { color: var(--color-text-on-accent);}

.catalog__cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.catalog__cards-row {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.catalog-card {
  position: relative;
  height: 500px;
  background-color: var(--color-background-secondary);
  border-radius: 2px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
    border:none !important;
}

.catalog-card--fixed {
  width: 400px;
  flex-shrink: 0;
}

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

.catalog-card__image-wrapper {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  padding: 10% 0;
}

.catalog-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  max-width: 100%;
  max-height: 100%;
  margin-top: 25px;
}

.catalog__cards-row:nth-child(2) .catalog-card:nth-child(1) .catalog-card__image-wrapper {
  padding: 13.5% 0;
}

.catalog__cards-row:nth-child(2) .catalog-card:nth-child(2) .catalog-card__image-wrapper {
  padding: 13% 0;
}

.catalog__cards-row:nth-child(2) .catalog-card:nth-child(2) .catalog-card__image {
  margin-top: 75px;
}

.catalog__cards-row:nth-child(3) .catalog-card:nth-child(2) .catalog-card__image-wrapper {
  padding: 15% 0;
}

.catalog__cards-row:nth-child(3) .catalog-card:nth-child(2) .catalog-card__image {
  margin-top: 75px;
}

.catalog__cards-row:nth-child(4) .catalog-card:nth-child(2) .catalog-card__image-wrapper {
  padding: 15% 0;
}

.catalog__cards-row:nth-child(4) .catalog-card:nth-child(2) .catalog-card__image {
  margin-top: 100px;
}

.catalog__cards-row:nth-child(5) .catalog-card:nth-child(1) .catalog-card__image-wrapper {
  padding: 15% 0;
}

.catalog__cards-row:nth-child(5) .catalog-card:nth-child(1) .catalog-card__image {
  margin-top: 75px;
}


.catalog-card__content {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 34px 26px 34px 25px;
  z-index: 2;
  pointer-events: auto;
}

.catalog-card__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.catalog-card__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-h4);
  line-height: var(--line-height-h4);
  margin-bottom: 0;
}

.catalog-card__description > p {
  color: var(--color-text-primary);
  font-size: var(--font-size-body-small);
  font-weight: var(--font-weight-body-small-light);
  line-height: var(--line-height-body-small);
  margin: 0;
}

.catalog-card__button {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background-color: var(--color-background-default);
  border: 1px solid var(--color-secondary);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.catalog-card__button:hover,
.catalog-card__button:focus,
.catalog-card:hover .catalog-card__button{
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.catalog-card__button img {
  width: 20px;
  height: 14px;
  object-fit: contain;
}


/* Адаптив для catalog - 1200px */
@media (max-width: 1200px) {
  .catalog__content {
    gap: 16px;
  }

  .catalog__sidebar {
    width: 260px;
  }

  .catalog__cards {
    gap: 16px;
  }

  .catalog-card {
    height: 450px;
  }

  .catalog-card__content {
    top: 30px;
    left: 20px;
    right: 20px;
  }

  .catalog-card__button {
    width: 38px;
    height: 38px;
  }

  .catalog-card__button img {
    width: 18px;
    height: 12px;
  }
}

/* Адаптив для catalog - 1024px */
@media (max-width: 1024px) {
  .catalog {
    padding-top: 40px;
    padding-bottom: 80px;
  }

  .catalog__header {
    margin-bottom: 40px;
  }

  .catalog__title {
    font-size: var(--font-size-h2-mobile);
  }

  .catalog__content {
    flex-direction: column;
    gap: 20px;
  }

  .catalog__sidebar {
    width: 100%;
  }

  .catalog__tabs {
      display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 10px; 
      margin-bottom: 30px;
  }

  .catalog__tabs::-webkit-scrollbar {
    height: 4px;
  }

  .catalog__tabs::-webkit-scrollbar-track {
    background: var(--color-background-secondary);
    border-radius: 2px;
  }

  .catalog__tabs::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 2px;
  }
    .catalog__tabs li { margin: 0;}
  .catalog__tabs li a {
    flex: 0 0 auto;
    min-width: max-content;
    white-space: nowrap;
    text-align: center;
    font-size: var(--font-size-h4-mobile);
  }

  .catalog__cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .catalog__cards-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }

  .catalog-card--fixed,
  .catalog-card--flex {
    width: 100%;
    flex: 1;
  }

  .catalog-card {
    height: 400px;
  }

  .catalog-card__content {
    top: 20px;
    left: 16px;
    right: 16px;
  }

  .catalog-card__title {
    font-size: var(--font-size-h4-mobile);
  }

  .catalog-card__button {
    width: 36px;
    height: 36px;
  }

  .catalog-card__button img {
    width: 16px;
    height: 11px;
  }

}

/* Адаптив для catalog - 768px */
@media (max-width: 768px) {
  .catalog {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .catalog__header {
    margin-bottom: 30px;
  }

  .catalog__title {
    font-size: var(--font-size-h1-mobile);
  }

  .catalog-card {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .catalog-card__image-wrapper {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    max-height: 100%;
  }

  .catalog-card__image {
    max-height: 80%;
  }

  .catalog__cards-row:nth-child(4) .catalog-card:nth-child(2) .catalog-card__image-wrapper {
  padding: 2% 0;
  }

    .catalog__cards-row:nth-child(4) .catalog-card:nth-child(2) .catalog-card__image {
      margin-top: 25px;
  }

    .catalog__cards-row:nth-child(2) .catalog-card:nth-child(2) .catalog-card__image-wrapper {
    padding: 2% 0;
  }

  .catalog__cards-row:nth-child(2) .catalog-card:nth-child(2) .catalog-card__image {
    margin-top: 25px;
  }

  .catalog__cards-row:nth-child(2) .catalog-card:nth-child(1) .catalog-card__image-wrapper {
    padding: 2% 0;
}

.catalog__cards-row:nth-child(3) .catalog-card:nth-child(2) .catalog-card__image {
    margin-top: 25px;
}

.catalog__cards-row:nth-child(3) .catalog-card:nth-child(2) .catalog-card__image-wrapper {
    padding: 2% 0;
}

.catalog__cards-row:nth-child(5) .catalog-card:nth-child(1) .catalog-card__image-wrapper {
    padding: 2% 0;
}

.catalog__cards-row:nth-child(5) .catalog-card:nth-child(1) .catalog-card__image {
    margin-top: 25px;
}


  .catalog__cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .catalog__cards-row {
    display: flex;
    flex-direction: row;
    gap: 20px;
  }

  .catalog-card--fixed,
  .catalog-card--flex {
    width: 100%;
    flex: 1;
  }

  .catalog-card {
    height: 250px;
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .catalog-card__image-wrapper {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .catalog-card__content {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    gap: 0;
    padding: 0;
    z-index: 2;
  }

  .catalog-card__text {
    align-self: flex-start;
    width: 100%;
  }

  .catalog-card__title {
    font-size: 13px;
    line-height: 1.2em;
  }

  .catalog-card__description > p {
    font-size: var(--font-size-caption-base);
    line-height: var(--line-height-caption-base);
  }

  .catalog-card__button {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .catalog-card__button img {
    width: 20px;
    height: 14px;
  }


  .catalog__cards-row:nth-child(3) .catalog-card:nth-child(2) .catalog-card__image {
    max-height: 75%;
  }
}

/* Адаптив для catalog - 568px */
@media (max-width: 568px) {

  .catalog__header {
    margin-bottom: 20px;
  }

  .catalog__title {
    font-size: var(--font-size-h1-mobile);
  }

  .catalog__cards {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .catalog__cards-row {
    display: flex;
    flex-direction: row;
    gap: 15px;
  }

  .catalog-card--fixed,
  .catalog-card--flex {
    width: 100%;
    flex: 1;
  }

  .catalog-card {
    height: 250px;
  }


    .catalog-card__image {
    max-height: 85%;
  }

    .catalog__cards-row:nth-child(3) .catalog-card:nth-child(2) .catalog-card__image {
    max-height: 75%;
  }
}

/* ============================================
   Section: Strength Training Subcategory
   ============================================ */

.subcategory__cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 50px;
  min-width: 0;
}

.subcategory__section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.subcategory__section-title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
  line-height: var(--line-height-h3);
}

.subcategory__cards-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-wrap: wrap;
}

.subcategory-card {
  position: relative;
  height: 360px;
  width: calc((100% - 20px) / 3);
  min-width: 280px;
  flex-shrink: 0;
  background-color: var(--color-background-secondary);
  border-radius: 2px;
  overflow: hidden;
  display: grid;
  cursor: pointer;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.subcategory-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0);
  z-index: 1;
  pointer-events: none;
  transition: background-color var(--transition-fast);
}

.subcategory-card:hover::before {
  background-color: rgba(0, 0, 0, 0.03);
}

.subcategory-card__image-wrapper {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: none;
  margin-top: 50px;
  z-index: 0;
  padding: 10% 0;
}

.subcategory-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  max-width: 100%;
  max-height: 100%;
  mix-blend-mode: darken;
}

.subcategory-card__content {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 34px 26px 34px 25px;
  z-index: 2;
  pointer-events: auto;
}

.subcategory-card__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.subcategory-card__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  font-size: 1.125rem;
  font-weight: var(--font-weight-h4);
  line-height: var(--line-height-h4);
  margin: 0;
}

.subcategory-card__description {
  color: var(--color-text-primary);
  font-size: var(--font-size-body-small);
  font-weight: var(--font-weight-body-small-light);
  line-height: var(--line-height-body-small);
  margin: 0;
}

.subcategory-card__button {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background-color: var(--color-background-default);
  border: 1px solid var(--color-secondary);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
  padding: 0;
}

.subcategory-card:hover .subcategory-card__button {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.subcategory-card__button img {
  width: 20px;
  height: 14px;
  object-fit: contain;
}


/* Адаптив для strength-subcategory - 1300px */
@media (max-width: 1300px) {
  .subcategory-card {
    width: calc((100% - 20px) / 3);
    min-width: 260px;
  }
}

/* Адаптив для strength-subcategory - 1200px */
@media (max-width: 1200px) {
  .subcategory-card {
    height: 340px;
    width: calc((100% - 20px) / 3);
    min-width: 240px;
  }

  .subcategory-card__content {
    padding: 30px 20px;
  }
}

/* Адаптив для strength-subcategory - 1024px */
@media (max-width: 1024px) {
  .subcategory__cards {
    width: 100%;
  }

  .subcategory__cards-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .subcategory-card {
    width: calc(33.333% - 7px);
    height: 320px;
  }

  .subcategory-card__content {
    padding: 20px 16px;
  }

}

/* Адаптив для strength-subcategory - 768px */
@media (max-width: 768px) {
  .subcategory__cards {
    gap: 70px;
  }

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

  .subcategory__section-title {
    grid-column: 1 / -1;
  }

  .subcategory__cards-row {
    display: contents;
  }

  .subcategory-card {
    width: 100%;
    height: 250px;
    padding: 10px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  .subcategory-card__image-wrapper {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    padding: 3% 0;
  }

  .subcategory-card__image {
    max-height: 100%;
    object-fit: contain;
  }

  .subcategory-card__content {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    height: 100%;
    gap: 0;
    padding: 0;
    z-index: 2;
  }

  .subcategory-card__text {
    align-self: flex-start;
    width: 100%;
  }

  .subcategory-card__title {
    font-size: 13px;
    line-height: 1.2em;
  }

  .subcategory-card__description {
    font-size: var(--font-size-caption-base);
    line-height: var(--line-height-caption-base);
  }

  .subcategory-card__button {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
  }

  .subcategory-card__button img {
    width: 20px;
    height: 14px;
  }


}

/* Адаптив для strength-subcategory - 568px */
@media (max-width: 568px) {

  .subcategory__section-title {
    font-size: 24px !important;
    margin-bottom: 15px;
  }

  .subcategory__section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .subcategory__section-title {
    grid-column: 1 / -1;
  }

  .subcategory__cards-row {
    display: contents;
  }

  .subcategory-card {
    width: 100%;
    height: 250px;
    flex-shrink: 0;
    min-width: 0;
  }

  .subcategory-card__image-wrapper {
    margin-top: 0;
    padding: 15% 0;
  }

}

/* ============================================
   End Section: Strength Training Subcategory
   ============================================ */

/* Products */
.toolbar__controls {
  display: flex;
  align-items: center;
  justify-content:space-between;
}

.toolbar__controls-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.toolbar__filters-button {
  display: none;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color var(--transition-fast) var(--easing-default);
}

.toolbar__filters-button:hover,
.toolbar__filters-button:focus {
  color: var(--color-accent);
}

.toolbar__filters-label {
  color: var(--color-text-primary);
}

.toolbar__filters-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
  transition: filter var(--transition-fast) var(--easing-default);
}

.toolbar__sort { position: relative; font-size:1rem; line-height: 1.4;}

.toolbar__sort-button {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color var(--transition-fast) var(--easing-default);
}

.toolbar__sort-button:hover,
.toolbar__sort-button:focus {
  color: var(--color-accent);
}

.toolbar__sort-label {
  color: var(--color-text-primary);
}

.toolbar__sort-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-fast) var(--easing-default);
}

.toolbar__sort--open .toolbar__sort-arrow {
  transform: rotate(180deg);
}

.toolbar__sort-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  background-color: var(--color-background-default);
  border: 1px solid var(--color-text-secondary);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 8px 0;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition-fast) var(--easing-default),
              visibility var(--transition-fast) var(--easing-default),
              transform var(--transition-fast) var(--easing-default);
}

.toolbar__sort--open .toolbar__sort-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.toolbar__sort-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 8px 16px;
  background: none;
  border: none;
    white-space: nowrap;
  text-align: left;
    color: var(--color-text-primary);
  transition: background-color var(--transition-fast) var(--easing-default);
}

a.toolbar__sort-option:hover {
  background-color: var(--color-background-secondary);
}

.toolbar__sort-option--active {
  color: var(--color-accent);
    font-weight: 700;
}

.product-compare {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 40px;
  height: 40px;
  background-color: var(--color-background-default);
  border: 1px solid transparent;
  color: var(--color-secondary);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast) var(--easing-default);
  padding: 0;
  z-index: 2;
}
.product-compare svg, .product-compare img { display: block; width: 20px; height: 20px; margin: 0;}
.product-compare.added {
  border-color: var(--color-accent);
  color: var(--color-accent);
}
.product-compare:hover {
  border-color: var(--color-accent);
  color: var(--color-secondary);
}

.pagination { margin-top: 50px;}
.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: transparent;
  border: 1px solid var(--color-secondary);
  border-radius: 2px;
  color:var(--color-secondary);
  cursor: pointer;
  transition: all var(--transition-fast) var(--easing-default);
  padding: 0;
}

.pagination-btn:hover, .pagination-btn:focus {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
    color:var(--color-secondary);
}

.pagination-btn:disabled {
  border-color: var(--color-text-secondary);
  cursor: not-allowed;
  opacity: 0.5;
}

.pagination-btn svg {
  width: 22px;
  height: 22px;
}

.pagination-numbers {
  display: flex;
    flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.pagination-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 7px;
  background-color: transparent;
  border: none;
    text-align: center;
  border-radius: 2px;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4em;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: color var(--transition-fast) var(--easing-default);
}

.pagination-number:hover,
.pagination-number:focus {
  color: var(--color-accent);
}

.pagination-number--active {
  color: var(--color-accent);
    font-weight: 400;
  cursor: default;
}

.category-description {
  background-color: var(--color-background-secondary);
  border-radius: 2px;
    font-size: 1rem;
    line-height: 1.4;
  padding: 25px;
  margin-top: 40px;
    margin-bottom: 0;
}
.category-description div { padding: 0 !important; margin: 0 !important; border:none;}


/* Адаптив для strength-weight-stack - 1024px */
@media (max-width: 1024px) {
   .pagination-numbers { justify-content: center;}

  .toolbar__controls-left {
    flex: 1;
    justify-content: space-between;
  }

  .toolbar__filters-button.button-show {
    display: flex;
  }

  .toolbar__sort {
    margin-left: auto;
  }
}

/* Адаптив для strength-weight-stack - 768px */
@media (max-width: 768px) {
  .product-compare {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .category-description {
    padding: 25px;
    margin-top: 30px;
  }
    .pagination { margin-top: 36px;}
    
}

/* Адаптив для strength-weight-stack - 568px */
@media (max-width: 568px) {
  
  .toolbar__controls {
    flex-wrap: nowrap;
    gap: 20px;
  }

  .toolbar__controls-left {
    gap: 20px;
    flex-shrink: 0;
  }

  .pagination {
    gap: 8px;
  }
}

/* ============================================
   End Section: Strength Weight Stack Category
   ============================================ */

/* ============================================
   Section: Product Page
   ============================================ */

.product__toast {
  display: flex;
  align-items: center;
  padding: 6px 15px;
  background-color: var(--color-background-default);
  border: 1px solid var(--color-accent);
  border-radius: 2px;
  margin-bottom: 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.product__toast[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.product__toast-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product__toast-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.product__toast-text {
  color: var(--color-text-primary);
  margin: 0;
}

.product__toast-link {
  color: var(--color-text-primary);
  text-decoration: underline;
  text-underline-position: from-font;
}

.product__content {
  display: flex;
  gap: 50px;
  margin-bottom: 120px;
}

.product__gallery {
  flex: 0 0 580px;
  display: block;
    width: 580px;
}

.product__gallery-main {
  width: 100%;
}
.product__gallery-main .product-image { display: block; position: relative; padding-bottom: 100%;}
.product__gallery-main .product-image img { display: block; position: absolute; left:0; top:0; width: 100%; height: 100%; object-fit: contain; border-radius:2px;}

.product__gallery-thumbnails { display: block; margin-top: 20px; width: 100%;}

.product__gallery-thumbnail {
  width: 60px;
  height: 60px;
  border-radius: 2px;
  border: none;
  background-color: var(--color-background-secondary);
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: opacity var(--transition-fast);
}

.product__gallery-thumbnail--active, .product__gallery-thumbnail:hover { opacity: 0.8;}

.product__gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product__gallery-thumbnail--video::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.product__gallery-thumbnail-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  background-color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.product__gallery-progress {
  position: relative;
  margin-top: 20px;
  width: 100%;
  height: 2px;
  background-color: var(--color-background-secondary);
  overflow: visible;
  border-radius: 0;
  user-select: none;
  -webkit-user-select: none;
}

.product__gallery-progress-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--color-secondary);
  border-radius: 0;
  cursor: grab;
  transition: left 0.2s ease, height 0.2s ease;
  pointer-events: auto;
  touch-action: none;
  z-index: 10;
}

.product__gallery-progress-indicator:hover {
  height: 4px;
  cursor: grab;
}

.product__gallery-progress-indicator:active {
  cursor: grabbing;
  height: 4px;
}

.product__gallery-progress:hover .product__gallery-progress-indicator {
  height: 4px;
}

.product__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
    min-width: 0;
}

.product__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
}

.product__title--mobile {
  display: none;
}

.product__title--desktop {
  display: block;
}

.product__price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product__price {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
}

.product__stock {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product__stock-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.product__stock-text {
  color: var(--color-text-primary);
  margin: 0;
}

.product__variations {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product__variations-title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
}

.product__variations-list {
  display: flex;
  gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: thin;
    scrollbar-color: var(--color-alt) transparent;
 }

.product__variations-list::-webkit-scrollbar { height: 2px;}
.product__variations-list::-webkit-scrollbar-track { background: transparent;}
.product__variations-list::-webkit-scrollbar-thumb { background-color: var(--color-alt); border-radius: 2px;}

.product__variation-btn {
  height: 42px;
  padding: 10px 20px;
  border-radius: 2px;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid var(--color-secondary);
  background: var(--color-primary);
  color: var(--color-secondary);
    white-space: nowrap;
}
.product__variation-btn:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text-on-accent);
}

.product__actions {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.product__compare-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 40px;
    line-height: 24px;
  background-color: var(--color-background-default);
  border: 1px solid var(--color-secondary);
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.product__compare-btn:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.product__compare-btn:hover .product__compare-text {
  color: var(--color-text-on-accent);
}

.product__compare-btn img { background: #fff; border-radius: 50%;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.product__compare-text {
  color: var(--color-text-primary);
}

.product__request-btn {
  max-width: 100%;
  flex: 1 0 0;
}

.product__tabs {
  display: flex;
  border-bottom: 1px solid var(--color-alt);
}

.product__tab {
  flex: 1 1 auto;
  padding: 9px 8px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--color-alt);
    border-radius: 0;
  cursor: pointer;
  transition: border-color var(--transition-fast);
  text-transform: uppercase;
    white-space: nowrap;
    font-size: 1rem;
    line-height: 22px;
    margin-bottom: -1px;
}

.product__tab:hover, .product__tab:focus, .product__tab:active {background: none; box-shadow: none; border:none; border-bottom: 1px solid var(--color-alt);}
.product__tab:hover, .product__tab--active {
    border-bottom:1px solid var(--color-secondary);
}

.product__tab span {
  color: var(--color-text-primary);
    font-weight: 300;
}

.product__tab--active span {
   text-shadow: 0 0 0.0375rem var(--color-text-primary);
}

.product__tab-panel {
  display: none;
}

.product__tab-panel--active {
  display: block;
}


.product__description {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product__description-wrapper {
  position: relative;
}

.product__description-wrapper > .content-block {
  margin-bottom: 0;
}

.product__description-content {
  margin-top: 0;
}

.product__description-content > .content-block + .content-block {
  margin-top: 0;
}

.product__description-hidden > .content-block + .content-block {
  margin-top: 0;
}

.product__description-more {
  display: none;
}

.product__description-more-btn {
  background: none;
  border: none;
  color: var(--color-accent);
  cursor: pointer;
  padding: 0;
  text-align: right;
  font-size: 16px;
  line-height: 1.4em;
  transition: opacity var(--transition-fast);
}

.product__description-more-btn:hover {
  opacity: 0.8;
}

.product__description-text {
  margin: 0;
}

.product__description-text p {
  font-weight:300;
  color: var(--color-text-primary);
  margin: 0;
}

.product__description-text a {
  color: var(--color-text-primary);
  text-decoration: underline;
  text-underline-position: from-font;
  font-weight: 600;
}

.product__description-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product__description-list li {
  font-weight:300;
  color: var(--color-text-primary);
  position: relative;
  padding-left: 20px;
}

.product__description-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 50%;
}

.text-bold,
.text-bold p {
  font-weight: 600;
}

/* ============================================
   Specs List - Reusable Characteristics Block
   ============================================ */

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
    font-weight: 300;
  color: var(--color-text-primary);
    font-size: 16px;
  line-height: 1.4em;
}

.specs-list > div {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 23px;
}

.specs-list .spec-label {
  flex: 0 0 auto;  
}

.specs-list .line {
  flex: 1 1 auto;
  min-width: 0;
  height: 0;
  border-bottom: 1px solid #C6C6C6;
  margin: 0 10px;
  position: relative;
  top: -4px;
  opacity: 0.5;
}

.specs-list .spec-data {
  flex: 0 0 auto;
  text-align: right;
}

@media (max-width: 1200px) {
  .specs-list > div {
    min-height: 23px;
  }

  .specs-list .line {
    margin: 0;
  }
}

/* ============================================
   Content Block - Reusable Rich Text Block
   ============================================ */

.content-block {
  font-weight: 300;
  font-size: var(--font-size-body-small);
  line-height: var(--line-height-body-small);
  color: var(--color-text-primary);
  margin: 0;
}

.product__description-content > .content-block {
  margin-bottom: 20px;
}

.product__description-content > .content-block:last-child {
  margin-bottom: 0;
}

.product__description-hidden > .content-block {
  margin-bottom: 20px;
}

.product__description-hidden > .content-block:last-child {
  margin-bottom: 0;
}

.content-block p {
  color: var(--color-text-primary);
  font-size: var(--font-size-body-small);
  line-height: 1.4em;
  margin: 0 0 20px 0;
}

.content-block ul,
.content-block ol {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.content-block ul:last-child,
.content-block ol:last-child {
  margin-bottom: 0;
}

.content-block li {
  color: var(--color-text-primary);
  font-size: var(--font-size-body-small);
  line-height: 1.4em;
  position: relative;
  padding-left: 20px;
  margin: 0;
}

.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 50%;
}

.content-block a {
  color: var(--color-text-primary);
  text-decoration: underline;
  text-underline-position: from-font;
  font-weight: 600;
}

.content-block h1,
.content-block h2,
.content-block h3,
.content-block h4,
.content-block h5,
.content-block h6 {
  color: var(--color-text-primary);
  margin: 0 0 20px 0;
  font-weight: 700;
}

.content-block h1 {
  font-size: var(--font-size-h1);
  line-height: var(--line-height-h1);
}

.content-block h2 {
  font-size: var(--font-size-h2);
  line-height: var(--line-height-h2);
}

.content-block h3 {
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
}

.content-block h4 {
  font-size: var(--font-size-h4);
  line-height: var(--line-height-h4);
}

/* Content Block Modifiers */
.content-block--bold p {
  font-weight: 600;
  margin-bottom: 10px;
}

.content-block--small {
  font-size: var(--font-size-caption-base);
  line-height: var(--line-height-caption-base);
}

.content-block--small p {
  font-size: var(--font-size-caption-base);
  line-height: var(--line-height-caption-base);
}

.content-block--small li {
  font-size: var(--font-size-caption-base);
  line-height: var(--line-height-caption-base);
}

.content-block--disclaimer {
  color: var(--color-text-secondary);
}

.content-block--disclaimer p {
  color: var(--color-text-secondary);
  margin: 0;
}

.product__description-disclaimer {
  margin: 0;
}

.product__description-disclaimer p {
  color: var(--color-text-secondary);
  margin: 0;
}

/* Product Characteristics */
.product__characteristics {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product__characteristics-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product__characteristics-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 23px;
}

.product__characteristics-name {
  flex: 0 0 auto;
  font-weight:300;
  color: var(--color-text-primary);
}

.product__characteristics-dots {
  flex: 1 1 auto;
  min-width: 0;
  height: 0;
  border-bottom: 1px solid #C6C6C6;
  margin: 0 10px;
  position: relative;
  top: -4px;
  opacity: 0.5;
}

.product__characteristics-value {
  flex: 0 0 auto;
  font-weight:300;
  color: var(--color-text-primary);
  font-size: 16px;
  line-height: 1.4em;
  text-align: right;
}

.product__characteristics-value--mobile {
  display: none;
}

.product__characteristics-value--desktop {
  display: inline;
}

/* Product Documentation */
.product__documentation {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product__documentation-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product__documentation-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: var(--color-text-primary);
  transition: opacity var(--transition-fast);
}

.product__documentation-item:hover {
  opacity: 0.8;
}

.product__documentation-icon-wrapper {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
}

.product__documentation-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product__documentation-name {
  font-weight: 300;
  color: var(--color-text-primary);
  font-size: 16px;
  line-height: 1.4em;
}

/* Product Auction Description */
.product__auction {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product__auction > .content-block {
  margin: 0;
}

.product__auction-intro {
  margin: 0;
}

.product__auction-intro p {
  font-weight: 300;
  color: var(--color-text-primary);
  font-size: 16px;
  line-height: 1.4em;
  margin: 0;
}

.product__auction-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product__auction-list li {
  font-weight: 300;
  color: var(--color-text-primary);
  font-size: 16px;
  line-height: 1.4em;
  position: relative;
  padding-left: 20px;
  margin: 0;
}

.product__auction-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  background-color: var(--color-accent);
  border-radius: 50%;
}

.product__auction-specs {
  margin: 0;
}

.product__auction-specs p {
  font-weight: 300;
  color: var(--color-text-primary);
  font-size: 16px;
  line-height: 1.4em;
  margin: 0 0 10px 0;
}

.product__auction-specs p {
  margin: 0 0 10px 0;
}

.product__auction-specs p:last-child {
  margin-bottom: 0;
}

.product__related {
  margin-top: 50px;
}

.product__related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}

.product__related-title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
}

.product__related-button {
  max-width: 230px;
  display: flex;
  align-items: center;
  gap: 10px;
}

  .product__description-content > .content-block,
  .product__description-hidden > .content-block {
    margin-bottom: 10px;
  }

  .product__description-content > .content-block:last-child,
  .product__description-hidden > .content-block:last-child {
    margin-bottom: 0;
  }

.product__related-button--mobile {
  display: none;
}

.product__related-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.product__related-cards .project-case__equipment-card {
  flex: 1 0 0;
  min-width: 0;
}


/* Адаптив для product - 1200px */
@media (max-width: 1200px) {
  .product__title--mobile {
    display: block;
    margin-bottom: 20px;
  }

  .product__title--desktop {
    display: none;
  }

  .product__content {
    flex-direction: column;
  }

  .product__gallery {
    flex: 1 1 auto;
    max-width: 100%;
      width:100%;
  }

  .product__gallery-main .product-image { padding: 0; height: 500px;  }

  .product__info {
    flex: 1 1 auto;
  }

  .product__tab {
    flex: 1 1 auto;
    white-space: nowrap;
  }
}

/* Адаптив для product - 1024px */
@media (max-width: 1024px) {
  .product__gallery-main .product-image { height: 400px;}

  .product__variations-list {
    gap: 15px;
  }

}

/* Адаптив для product - 768px */
@media (max-width: 768px) {

  .product__toast {
    margin-bottom: 20px;
    padding: 6px 12px;
  }

  .product__toast-text {
    font-size: 14px;
  }

  .product__content {
    gap: 20px;
    margin-bottom: 60px;
  }
  
  .product__info {
    gap: 20px;
  }

  .product__title {
    font-size: 32px;
  }

  .product__price {
    font-size: 32px;
  }

  .product__variations-title {
    font-size: 20px;
  }

  .product__variations-list {
    gap: 20px;
  }

  .product__actions {
    flex-direction: column;
    gap: 15px;
  }

  .product__compare-btn {
    width: 100%;
    justify-content: center;
  }

  .product__compare-text--desktop {
    display: inline;
  }

  .product__request-btn {
    width: 100%;
  }


  .product__tab {
    flex: 1 1 auto;
    white-space: nowrap;
  }

  .product__related {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
  }

  .product__related-header {
    margin-bottom: 20px;
  }

  .product__related-title {
    font-size: 20px;
  }

  .product__related-button--desktop {
    display: none;
  }

  .product__related-cards {
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
    order: 2;
    margin-bottom: 20px;
  }

  .product__related-button--mobile {
    display: flex;
    width: 100%;
    justify-content: center;
    order: 3;
    max-width: 100%;
  }

  .product__related-cards .project-case__equipment-card {
    flex: 0 0 calc(50% - 10px);
    width: calc(50% - 10px);
    padding: 10px;
  }

  .product__related-cards .project-case__equipment-card-image {
    height: 156px;
  }

  .product__related-cards .project-case__equipment-card-compare {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .product__related-cards .project-case__equipment-card-title {
    font-size: 16px;
  }

  .product__related-cards .project-case__equipment-card-price-current > p {
    font-size: 18px;
  }

  .product__related-cards .project-case__equipment-card-price-old > p {
    font-size: 16px;
  }

  .project-case__equipment-card:nth-child(3),
  .project-case__equipment-card:nth-child(4) {
    display: none;
  }


  .product__description-wrapper {
    position: relative;
  }

  .product__description-content {
    position: relative;
    max-height: 120px;
    overflow: hidden;
  }

  .product__description-wrapper--expanded .product__description-content {
    max-height: none;
    overflow: visible;
  }

  .product__description-hidden {
    display: none;
  }

  .product__description-wrapper--expanded .product__description-hidden {
    display: block;
  }

  .product__description-more {
    display: block;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 40px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 1) 52.391%);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 0;
    padding-left: 50px;
    pointer-events: none;
  }

  .product__description-wrapper--expanded .product__description-more {
    display: none;
  }

  .product__description-more-btn {
    pointer-events: auto;
  }
}

/* Адаптив для product - 568px */
@media (max-width: 568px) {

  .product__gallery-main .product-image { padding-bottom: 100%; height: auto;}

  .product__title {
    font-size: 32px;
    margin-bottom: 5px;
  }

  .product__price {
    font-size: 32px;
  }
  .product__variations-list {
    gap: 20px;
  }

  .product__actions {
    flex-direction: row;
    gap: 20px;
    align-items: center;
  }

  .product__compare-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    flex-shrink: 0;
  }

  .product__compare-btn img {
    width: 18px;
    height: 18px;
  }

  .product__compare-text--desktop {
    display: none;
  }

  .product__request-btn {
    flex: 1 0 0;
    min-width: 0;
  }

  .product__related-cards {
    gap: 20px;
  }

  .product__related-cards .project-case__equipment-card {
    flex: 0 0 calc(50% - 10px);
    width: calc(50% - 10px);
    padding: 10px;
  }

  .product__related-cards .project-case__equipment-card-image {
    height: 156px;
  }

  .product__related-cards .project-case__equipment-card-compare {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .product__related-cards .project-case__equipment-card-title {
    font-size: 16px;
  }

  .product__related-cards .project-case__equipment-card-price-current > p {
    font-size: 18px;
  }

  .product__related-cards .project-case__equipment-card-price-old > p {
    font-size: 16px;
  }

  .product__characteristics-item {
    min-height: 23px;
  }

  .product__characteristics-name,
  .product__characteristics-value {
    font-size: 16px;
    line-height: 1.4em;
  }


  .product__characteristics-value--mobile {
    display: inline;
  }

  .product__characteristics-value--desktop {
    display: none;
  }
  .product__characteristics-dots {
    margin: 0;
  }

  .product__documentation-icon-wrapper {
    width: 30px;
    height: 30px;
  }

  .product__documentation-name {
    font-size: 16px;
    line-height: 1.4em;
  }

  .content-block p,
  .content-block li {
    font-size: 16px;
    line-height: 1.4em;
  }

  .content-block ul li {
    padding-left: 20px;
  }

  .content-block ul li::before {
    width: 4px;
    height: 4px;
    top: 9px;
  }
}


/* ============================================
   End Section: Product Page
   ============================================ */

/* ============================================
   Section: Compare Page
   ============================================ */

.compare-page {
  padding-top: 50px;
  padding-bottom: 150px;
  background-color: var(--color-background-default);
  position: relative;
}

.compare__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.compare__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
}

.compare__remove-all {
  margin-bottom: 30px;
}

.compare__remove-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background-color: var(--color-background-default);
  border: 1px solid var(--color-secondary);
  border-radius: 30px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.compare__remove-all-btn:hover {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.compare__remove-all-text {
  color: var(--color-text-primary);
}

.compare__remove-all-icon {
  width: 14px;
  height: 14px;
  display: block;
}

.compare__cards-wrapper { margin-bottom: 50px;}

.compare__cards {
  display: flex;
  gap: 20px;
  min-width: min-content;
}

.compare__card {
  width: 295px;
  background-color: var(--color-background-default);
  border-radius: 2px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  flex-shrink: 0;
}

.compare__card-image {
  width: 100%;
  border-radius: 2px;
  position: relative;
  margin-bottom: 0;
}
.compare__card-image img { border-radius: 2px;}

.compare__card-button {
  flex-shrink: 0;    
    width: 42px;
    height: 42px;
}
  .compare__card-button img {
    width: 20px;
    height: 14px;
  }
.compare__card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  align-items: flex-end;
}

.compare__card-title-wrapper {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}

.compare__card-title {
  flex: 1 0 0;
  margin: 0;
  color: var(--color-text-primary);
  text-transform: none;
  min-width: 0;
}

.compare__card-price-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: 100%;
}

.compare__card-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  flex: 1 0 0;
  min-width: 0;
}

.compare__card-price-current {
  margin: 0;
  color: var(--color-text-primary);
  text-transform: uppercase;
  line-height: 29px;
  font-size: 24px !important;
    font-weight: 700;
}
.compare__card-price-current .price { font-size: 24px;}

.compare__card-basket-btn {
  position: absolute;
  right: 25px;
  top: 25px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-secondary);
  border-radius: 2px;
  background-color: var(--color-background-default);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
  z-index: 2;
}

.compare__card-basket-btn:hover,
.compare__card-basket-btn:focus {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.compare__card-basket-btn img {
  display: block;
  width: 18px;
  height: 18px;
}

.comparison.table-wrapper {
    padding-bottom: 5px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) var(--color-background-secondary);
}

.comparison.table-wrapper::-webkit-scrollbar {
  height: 8px;
}

.comparison.table-wrapper::-webkit-scrollbar-track {
  background: var(--color-background-secondary);
  border-radius: 4px;
}

.comparison.table-wrapper::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 4px;
}

.comparison.table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #9bb00a;
}

.compare__table {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: max-content;
  min-width: 100%;
}

.compare__table-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compare__table-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.compare__table-header-text {
  margin: 0;
    line-height: 1.4;    
  color: var(--color-text-primary);
  text-transform: uppercase;
  font-weight: 400;
    position: sticky; 
    left:0;
}

.compare__table-header-text > p {
  margin: 0;
}

.compare__table-content {
  display: flex;
  gap: 10px;
  background-color: var(--color-background-secondary);
  padding: 0;
  border-radius: 2px;
  width: max-content;
  min-width: 100%;
}

.compare__table-value {
  margin: 0;
  flex: 0 0 294px;
  min-width: 0;
    padding:25px;
      color: var(--color-text-primary);
  font-size: 16px;
}
.compare__table-value:first-child { flex: 0 0 295px;}

.compare__table-value p {
  margin: 0;
}

.compare__table-divider {
  width: 0;
  margin-top: 22px;
    margin-bottom: 22px;
  border-left: 1px solid var(--color-alt);
  flex-shrink: 0;
}

.compare__related {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.compare__related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.compare__related-title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
}

.compare__related-button--desktop {
  max-width: 230px;
  display: flex;
  gap: 10px;
}

.compare__related-button--mobile {
  display: none;
}

.compare__related-cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.compare__related-card {
  flex: 1 0 0;
  min-width: 0;
}


/* Compare Page - Media Queries */

/* 1200px */
@media (max-width: 1200px) {
  .compare-page {
    padding-top: 40px;
    padding-bottom: 100px;
  }

  .compare__cards-wrapper {
    margin-bottom: 40px;
  }

  .compare__related {
    gap: 40px;
  }

  .compare__related-cards {
    gap: 15px;
  }

}

/* 1024px */
@media (max-width: 1024px) {

  .compare__header {
    margin-bottom: 15px;
  }

  .compare__remove-all {
    margin-bottom: 25px;
  }

  .compare__table-header-text {
    font-size: 18px;
  }

  .compare__related {
    gap: 30px;
  }

  .compare__related-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .compare__related-button--desktop {
    display: none;
  }

  .compare__related-button--mobile {
    display: flex;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .compare__related-cards {
    gap: 12px;
  }

  .compare__related-card {
    flex: 0 0 calc(50% - 6px);
  }

}

/* 768px */
@media (max-width: 768px) {
  .compare-page {
    padding-top: 80px;
    padding-bottom: 70px;
  }

  .compare__header {
    margin-bottom: 12px;
  }

  .compare__title {
    font-size: 28px;
  }

  .compare__remove-all {
    margin-bottom: 20px;
  }

  .compare__remove-all-btn {
    padding: 6px 12px;
  }

  .compare__remove-all-text {
    font-size: 14px;
  }

  .compare__remove-all-icon {
    width: 12px;
    height: 12px;
  }

  .compare__cards-wrapper {
    margin-bottom: 30px;
  }

  .compare__card {
    width: 275px;
    padding: 15px;
  }

  .compare__card-price-current {
    font-size: 18px !important;
  }
    .compare__card-price-current .price { font-size: 18px;}
    .compare__card-basket-btn { top:15px; right:15px;}
  .compare__table {
    gap: 10px;
  }

  .compare__table-value {
    flex: 0 0 274px;
      padding: 15px;
  }
    .compare__table-value:first-child { flex: 0 0 275px;}

  .compare__table-divider { margin-top: 12px; margin-bottom: 12px;}

  .compare__related {
    gap: 20px;
  }

  .compare__related-title {
    font-size: 20px;
  }

  .compare__related-cards {
    flex-direction: row;
    gap: 20px;
  }

  .compare__related-card {
    flex: 0 0 calc(50% - 10px);
  }

  .compare__related-card .project-case__equipment-card-image {
    height: 156px;
  }

  .compare__related-card .project-case__equipment-card-compare {
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
  }

  .compare__related-card .project-case__equipment-card-title {
    font-size: 16px;
  }

  .compare__related-card .project-case__equipment-card-price-current > p {
    font-size: 18px;
  }

  .compare__related-card .project-case__equipment-card-price-old > p {
    font-size: 16px;
  }

}

/* 568px */
@media (max-width: 568px) {

  .compare__header {
    margin-bottom: 10px;
  }

  .compare__title {
    font-size: 32px;
  }

  .compare__remove-all {
    margin-bottom: 15px;
  }

  .compare__cards {
    gap: 15px;
  }

  .compare__card {
    width: 220px;
    padding: 10px;
  }
    .compare__card-basket-btn { top:10px; right:10px;}

  .compare__table-header-text {
    font-size: 18px;
  }
    .compare__table-content { gap:7px;}
    .compare__table-value { flex: 0 0 220px; padding: 10px;}
    .compare__table-value:first-child { flex:0 0 220px;}
  .compare__table-value > p {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    margin: 0;
  }

  .compare__related-title {
    font-size: 20px;
  }

  .compare__related-card {
    flex: 1 0 0;
  }

  .compare__related-card:nth-child(3),
  .compare__related-card:nth-child(4) {
    display: none;
  }
}

/* ============================================
   End Section: Compare Page
   ============================================ */

/* ============================================
   Section: Contacts Page
   ============================================ */

.contacts {
  padding-top: 50px;
  padding-bottom: 150px;
}

.contacts__header {
  margin-bottom: 50px;
}

.contacts__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
}

.contacts__tabs {
  display: flex;
  border-bottom: 2px solid var(--color-alt);
  margin-bottom: 50px;
}

.contacts__tab {
    display: block;
  flex: 1 0 0;
  padding: 9px 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--color-text-primary);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color var(--transition-fast), color var(--transition-fast), font-weight var(--transition-fast);
  text-align: center;
}

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

.contacts__tab--active {
  border-bottom-color: var(--color-secondary);
  color: var(--color-text-primary);
  font-weight: 400;
  margin-bottom: -2px;
}

.contacts__panel {
  display: none;
}

.contacts__panel--active {
  display: block;
}

.contacts__team {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.contacts__team-title {
  color: var(--color-text-primary);
  text-transform: uppercase;
}

.contacts__department {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.contacts__department-title {
  color: var(--color-text-primary);
  text-transform: uppercase;
}

.contacts__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  row-gap: 50px;
}

.contacts__card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
    min-width: 0;
}

.contacts__card-image-wrapper {
  width: 210px;
  height: 210px;
    position: relative;
    background-color: var(--color-background-secondary);
    border-radius: 50%;
}

.contacts__card-image-wrapper--empty {
  background-color: var(--color-background-secondary);
}

.contacts__card-image { display: block; position: absolute; left:0; top:0;
  width: 100%;
  height: 100%;
    border-radius: 50%;
  object-fit: cover;
    object-position: center;
    background-color: var(--color-background-secondary);
}

.contacts__card-messenger {
  cursor: pointer;
  position: absolute;
  top: 150px;
  right: calc(50% - 65px);
  width: 60px;
  height: 60px;
  z-index: 10;
  transition: width var(--transition-base), height var(--transition-base), right var(--transition-base), top var(--transition-base);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.contacts__card-messenger--default {
  background-image: url('../images/qr-whatsapp.png');
}

.contacts__card-messenger--hover {
  background-image: url('../images/qr-whatsapp-big.png');
  width: 145px;
  height: 145px;
  right: calc(50% - 150px);
  top: calc(150px - 70px);
}


.contacts__card-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contacts__card-name {
  color: var(--color-text-primary);
  text-transform: uppercase;
}

.contacts__card-position > p {
  color: var(--color-text-primary);
  margin: 0;
}

.contacts__card-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contacts__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.contacts__contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}

.contacts__contact-text {
  color: var(--color-text-primary);
  flex: 1 0 0;
  line-height: 1.4em;
}

.contacts__contact-text a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* ============================================
   Section: Contacts - Tab: Offices
   ============================================ */

.contacts__offices {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.contacts__offices-title {
  color: var(--color-text-primary);
  text-transform: uppercase;
}

.contacts__offices-section {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.contacts__offices-section-title {
  color: var(--color-text-primary);
  text-transform: uppercase;
}

.contacts__offices-grid {
  display: flex;
  gap: 50px 20px;
  flex-wrap: wrap;
}

.contacts__office-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 0 0;
  min-width: 0;
}

.contacts__offices-grid .contacts__office-card {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 0;
}

.contacts__office-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.contacts__office-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform var(--transition-base);
}

.contacts__office-toggle-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform var(--transition-base);
}

.contacts__office-card--expanded .contacts__office-toggle-icon {
  transform: rotate(180deg);
}

.contacts__office-title {
  font-size: 24px !important;
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
}

.contacts__office-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: visible;
  max-height: none;
  opacity: 1;
}

.contacts__office-item { position: relative; padding-left: 34px;}
.contacts__office-item:before { content:''; display: block; position: absolute; left:0; top:2px; width: 24px; height: 24px; background-position: center; background-repeat: no-repeat; background-size: contain;}
.contacts__office-item.office-item-location:before { background-image: url(../images/icons/location-icon.svg);}
.contacts__office-item.office-item-telephone:before { background-image: url(../images/icons/telephone.svg);}
.contacts__office-item.office-item-worktime:before { background-image: url(../images/icons/build-icon.svg);}
.contacts__office-item.office-item-yandex:before { background-image: url(../images/icons/yandex-icon.svg);}
.contacts__office-item.office-item-2gis:before { background-image: url(../images/icons/location-selected.svg);}

.contacts__office-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}

.contacts__office-text {
  flex: 1 0 0;
}

.contacts__office-text > p {
  color: var(--color-text-primary);
  line-height: 1.4em;
  margin: 0;
}

.contacts__office-text > p a {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contacts__office-text > p a:hover {
  color: var(--color-accent);
}

.contacts__office-link {
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
  line-height: 1.4em;
}

.contacts__office-link:hover {
  color: var(--color-accent);
}

/* ============================================
   Section: Contacts Page - Requisites Tab
   ============================================ */

.contacts__requisites {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 0;
}

.contacts__requisites-title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
}

.contacts__requisites-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contacts__requisites-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-height: 23px;
}

.contacts__requisites-label {
  color: var(--color-text-primary);
  flex-shrink: 0;
  white-space: nowrap;
}

.contacts__requisites-dots {
  flex: 1 1 0;
  min-width: 10px;
  height: 0;
  border-bottom: 1px solid var(--color-alt);
  margin: 0 10px;
  position: relative;
  top: -1px;
}

.contacts__requisites-value {
  color: var(--color-text-primary);
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  min-width: 0;
}

/* ============================================
   End Section: Contacts Page - Requisites Tab
   ============================================ */



/* 1200px */
@media (max-width: 1200px) {
  .contacts__cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .contacts__card-messenger {
    right: calc(50% - 50px);
  }

  .contacts__card-messenger--hover {
    right: calc(50% - 125px);
  }



}

/* 1024px */
@media (max-width: 1024px) {
  .contacts__cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    row-gap: 40px;
  }

  .contacts__card-messenger {
    right: calc(50% -  85px);
  }

  .contacts__card-messenger:hover {
    right: calc(50% - 145px);
  }

  .contacts__offices {
    gap:50px 40px;
  }

  .contacts__offices-grid {
    gap: 40px;
  }

  .contacts__offices-grid .contacts__office-card {
    flex: 0 0 calc(50% - 20px);
  }

  /* Requisites Tab */
  .contacts__requisites {
    gap: 40px;
  }

  .contacts__requisites-title {
    font-size: var(--font-size-h2);
    line-height: var(--line-height-h2);
  }

  .contacts__requisites-line {
    gap: 10px;
  }

  .contacts__requisites-label,
  .contacts__requisites-value {
    font-size: var(--font-size-body-base);
    line-height: var(--line-height-body-base);
  }

}

/* 768px */
@media (max-width: 768px) {
  .contacts {
    padding-top: 80px;
    padding-bottom: 70px;
  }

  .contacts__header {
    margin-bottom: 30px;
  }

  .contacts__title {
    font-size: var(--font-size-h1-mobile);
    line-height: var(--line-height-h1-mobile);
  }

  .contacts__tabs {
    margin-bottom: 40px;
  }

  .contacts__tab {
    font-size: 20px;
    padding: 9px 16px;
  }

  .contacts__team-title {
    font-size: var(--font-size-h2-mobile);
    line-height: var(--line-height-h2-mobile);
  }

  .contacts__department {
    gap: 40px;
  }

  .contacts__offices {
    gap: 40px;
  }

  .contacts__offices-title {
    font-size: var(--font-size-h2-mobile);
    line-height: var(--line-height-h2-mobile);
  }

  .contacts__offices-section {
    gap: 20px;
  }

  .contacts__offices-section-title {
    font-size: var(--font-size-h3-mobile);
    line-height: var(--line-height-h3-mobile);
  }

  .contacts__offices-grid {
    gap:30px 20px;
  }
  .contacts__offices-grid .contacts__office-card {
    flex: 0 0 calc(50% - 10px);
  }
    .contacts__office-item:before { top:-1px;}

  /* Requisites Tab */
  .contacts__requisites {
    gap: 40px;
  }

  .contacts__requisites-title {
    font-size: var(--font-size-h2-mobile);
    line-height: var(--line-height-h2-mobile);
  }

  .contacts__requisites-label,
  .contacts__requisites-value {
    font-size: var(--font-size-body-base);
    line-height: var(--line-height-body-base);
  }

  .contacts__office-card {
    flex: 1 0 100%;
    width: 100%;
  }


  .contacts__office-text > p {
    font-size: var(--font-size-body-base-mobile);
    line-height: var(--line-height-body-base-mobile);
  }

  .contacts__office-link {
    font-size: var(--font-size-body-base-mobile);
    line-height: var(--line-height-body-base-mobile);
  }

  .contacts__cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
      row-gap: 40px;
  }

  .contacts__card-image-wrapper {
    max-width: 100%;
      height: auto;
      padding-bottom: 100%;
  }

  .contacts__card-messenger {
    top: 150px;
    right: calc(50% - 105px);
  }

  .contacts__card-content {
    width: 100%;
  }

  .contacts__card-name {
    font-size: var(--font-size-h4-mobile);
    line-height: var(--line-height-h4-mobile);
    text-align: left;
  }

  .contacts__card-position > p {
    text-align: left;
  }

  .contacts__card-contacts {
    width: 100%;
  }

  .contacts__contact-text {
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
  }


}

/* 568px */
@media (max-width: 568px) {

  .contacts__header {
    margin-bottom: 20px;
  }

  .contacts__title {
    font-size: var(--font-size-h1-mobile);
  }

  .contacts__tabs {
    margin-bottom: 30px;
  }

  .contacts__tab {
    font-size: 20px;
    padding: 9px 12px;
  }

  .contacts__team-title {
    font-size: var(--font-size-h2-mobile);
  }

  .contacts__department {
    gap: 30px;
  }

  .contacts__offices {
    gap: 0px;
  }
    .contacts__office-header { cursor: pointer; position: relative; min-height: 24px;}
    .contacts__office-header:after { content:''; display: block; position: absolute; top:0; right:0; height: 100%; width: 24px; background: url(../images/icons/arrow-bottom.svg) no-repeat center; background-size: contain; transform:rotate(0); transition: transform var(--transition-base);}
    .contacts__office-card--expanded .contacts__office-header:after { transform: rotate(180deg);}
  .contacts__offices-title {
    font-size: var(--font-size-h2-mobile);
    line-height: var(--line-height-h2-mobile);
  }

  .contacts__offices-section {
    gap: 0px;
  }

  .contacts__offices-section-title {
    margin-top: 50px;
    margin-bottom: 20px;
  }

  .main-title {
    margin-top: 40px;
    margin-bottom: 40px;
  }

  .contacts__offices-grid {
    flex-direction: column;
    gap: 20px;
  }

    .contacts__office-card { gap:0;}
  .contacts__offices-grid .contacts__office-card {
    max-width: 100%;
        width: 100%;
  }

  .contacts__office-toggle {
    display: flex;
  }

  .contacts__office-title {
    font-size: 18px !important;
  }

  .contacts__office-info {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height var(--transition-base), opacity var(--transition-base), margin-top var(--transition-base);
    margin-bottom: 0px;
  }

  .contacts__office-card--expanded .contacts__office-info {
    max-height: 2000px;
    opacity: 1;
      margin-top: 20px;
  }

  .contacts__office-text > p {
    font-size: var(--font-size-body-base-mobile);
    line-height: var(--line-height-body-base-mobile);
  }

  .contacts__office-link {
    font-size: var(--font-size-body-base-mobile);
    line-height: var(--line-height-body-base-mobile);
  }


  .contacts__card-messenger {
    top: 95px;
    right: calc(50% - 86.5px);
    width: 60px;
    height: 60px;
  }

  .contacts__card-name {
    font-size: 16px;
  }

  .contacts__card-position > p {
    font-size: var(--font-size-body-base-mobile);
  }

  .contacts__contact-icon {
    width: 20px;
    height: 20px;
  }

  .contacts__contact-text {
    font-size: var(--font-size-caption-base);
    word-break: break-word;
    overflow-wrap: break-word;
  }

  /* Requisites Tab */
  .contacts__requisites {
    gap: 40px;
  }

  .contacts__requisites-title {
    font-size: var(--font-size-h2-mobile);
    line-height: var(--line-height-h2-mobile);
  }

  .contacts__requisites-label {
    font-size: var(--font-size-body-base);
    line-height: var(--line-height-body-base);
    white-space: nowrap;
    flex-shrink: 0;
  }

  .contacts__requisites-dots {
    top: 20px;
    margin: 0px;
    flex: 1 1 10px;
    min-width: 10px;
  }

  .contacts__requisites-line {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .contacts__requisites-label {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .contacts__requisites-value {
    font-size: var(--font-size-body-base);
    line-height: var(--line-height-body-base);
    text-align: right;
    white-space: normal;
    word-break: break-all;
    overflow-wrap: anywhere;
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
  }
}

/* ============================================
   End Section: Contacts Page
   ============================================ */

/* ============================================
   Section: About Page
   ============================================ */

/* Section: About Hero */
.about-hero {
  position: relative;
  min-height: 860px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 250px;
}

.about-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.about-hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
  pointer-events: none;
}

.about-hero__overlay > * {
  pointer-events: auto;
}


.about-hero__content {
  position: relative;
  z-index: 2;
  margin-top: 75px;
  margin-bottom: 105px;
  color: var(--color-primary);
  text-align: left;
}

.about-hero__title {
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 20px;
  max-width: 925px;
}

.about-hero__title-mobile {
  display: none;
}

.about-hero__description {
  margin-bottom: 40px;
  max-width: 814px;
  text-align: left;
}

.about-hero__description > p {
  color: var(--color-primary);
  margin: 0;
}

.about-hero__stats {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-hero__stat-card {
  border: 1px solid var(--color-accent);
  border-radius: 2px;
  height: 72px;
  display: flex;
  flex-direction: row-reverse;
  gap: 20px;
  align-items: center;
  justify-content: flex-end;
  background: transparent;
  padding: 0 20px;
  box-sizing: border-box;
}

.about-hero__stat-number {
  color: var(--color-primary);
  text-transform: uppercase;
  margin: 0;
  line-height: 1.2em;
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-h2);
  line-height: var(--line-height-h2);
  padding: 0;
  flex-shrink: 0;
}

.about-hero__stat-unit {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.about-hero__stat-label {
  color: var(--color-primary);
  text-align: left;
  padding: 0;
  line-height: 1.3em;
  font-size: var(--font-size-body-small);
  font-weight: 300;
  flex: 1;
  margin: 0;
}

.about-hero__stat-card:first-child {
  width: 400px;
}

.about-hero__stat-card:last-child {
  width: 353px;
}

.about-hero__stat-card:last-child .about-hero__stat-label {
  max-width: 100%;
}


/* ============================================
   End Section: About Page
   ============================================ */

/* ============================================
   Section: We Are Zavodsporta
   ============================================ */

.we-are {
  padding-top: 100px;
  padding-bottom: 110px;
  background-color: var(--color-background-default);
}

.we-are__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
}

.we-are__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
  max-width: 588px;
}

.we-are__button {
  margin: 0;
  align-self: flex-start;
}

.we-are__content {
  display: flex;
  gap: 57px;
  align-items: flex-start;
}

.we-are__left {
  flex: 0 0 573px;
  max-width: 573px;
}

.we-are__description {
  margin-bottom: 50px;
}

.we-are__description > p {
  color: var(--color-text-primary);
  margin: 0 0 25px 0;
  font-weight: 300;
  font-size: var(--font-size-body-light);
  font-weight: var(--font-weight-body-light);
  line-height: var(--line-height-body-light);
}

.we-are__description > p:last-child {
  margin-bottom: 0;
}

.we-are__right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}

.we-are__images {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.we-are__images {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
}

.we-are__image-wrapper {
  width: 610px;
  height: 358px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}

.we-are__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.we-are__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 45px;
  column-gap: 50px;
}

.we-are__stat-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.we-are__stat-number {
  font-size: 50px;
  font-weight: 700;
  color: var(--color-text-primary);
  white-space: nowrap;
}

.we-are__stat-unit {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: var(--color-text-primary);
}

.we-are__stat-sup {
  font-size: 32.25px;
  vertical-align: super;
  line-height: 0;
  color: var(--color-text-primary);
}

.we-are__stat-label {
  color: var(--color-text-primary);
  line-height: 1.3em;
  max-width: 235px;
  font-size: var(--font-size-body-base);
}

/* 1200px */
@media (max-width: 1200px) {
  .we-are__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .we-are__left {
    display: contents;
  }

  .we-are__right {
    display: contents;
  }

  .we-are__image-wrapper {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 610 / 358;
  }

  .we-are__image-wrapper--first {
    order: 1;
  }

  .we-are__description {
    order: 2;
    margin-bottom: 0;
  }

  .we-are__image-wrapper--second {
    order: 3;
  }

  .we-are__stats {
    order: 4;
    margin-top: 0;
  }
}

/* ============================================
   End Section: We Are Zavodsporta
   ============================================ */

/* ============================================
   Section: Automated Production
   ============================================ */

.automated-production {
  padding-bottom: 150px;
  background-color: var(--color-background-default);
}

.automated-production__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 50px;
  text-align: left;
}

.automated-production__description {
  margin-bottom: 40px;
  max-width: 1203px;
  text-align: left;
}

.automated-production__description > p {
  color: var(--color-text-primary);
  line-height: 1.3em;
  margin: 0;
}

.automated-production__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--color-alt);
  width: 100%;
  flex-wrap: nowrap;
}

.automated-production__tab {
    display: block;
  padding: 9px 16px;
    font-size: 20px; line-height: 22px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: -2px;
  text-transform: uppercase;
  font-weight: 300;
  white-space: nowrap;
  flex: 1 1 0;
  text-align: center;
}

.automated-production__tab:not(.automated-production__tab--active):hover,
.automated-production__tab:not(.automated-production__tab--active):focus {
  color: var(--color-accent);
}

.automated-production__tab--active {
  border-bottom: 2px solid var(--color-secondary);
  color: var(--color-text-primary);
  font-weight: 400;
}

.automated-production__panels {
  position: relative;
}

.automated-production__panels-desktop {
  display: block;
}

.automated-production__panel {
  display: none;
  width: 100%;
}

.automated-production__panel--active {
  display: block;
}

.automated-production__content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 1240px;
  margin: 0 auto;
}

.automated-production__image-wrapper {
  width: 610px;
  height: 400px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: var(--color-background-secondary);
}

.automated-production__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.automated-production__text-wrapper {
  width: 610px;
  background-color: var(--color-background-secondary);
  display: flex;
  align-items: center;
  padding: 70px 40px;
  box-sizing: border-box;
}

.automated-production__text > p {
  color: var(--color-text-primary);
  line-height: 1.3em;
  margin: 0;
}

.automated-production__pagination {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.automated-production__dot {
    display: block;
  width: 49px;
  height: 2px;
  background-color: var(--color-text-secondary);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast) var(--easing-default);
  padding: 0;
}

.automated-production__dot--active {
  background-color: var(--color-secondary);
}

/* Slider Styles (Mobile) */
.automated-production__slider {
  width: 100%;
  overflow: hidden;
}

/* Hide slider above 1024px */
@media (min-width: 1025px) {

  .automated-production__panels-desktop {
    display: block !important;
  }
}

.automated-production__slide {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.automated-production__slide-title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.automated-production__slide-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.automated-production__slide-image-wrapper {
  width: 100%;
  aspect-ratio: 580 / 470;
  border-radius: 2px;
  overflow: hidden;
}

.automated-production__slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.automated-production__slide-text-wrapper {
  background-color: var(--color-background-default);
  border: 1px solid var(--color-alt);
  border-radius: 2px;
  padding: 40px 15px;
  width: 100%;
  box-sizing: border-box;
}

.automated-production__slide-text {
  margin: 0;
}

.automated-production__slide-text > p {
  color: var(--color-text-primary);
  line-height: 1.4em;
  margin: 0;
}


/* Media Queries for About Hero */

/* 1240px */
@media (max-width: 1240px) {

  .about-hero__title {
    max-width: 100%;
  }

  .about-hero__description {
    max-width: 100%;
  }

  .about-hero__stat-card:first-child {
    width: calc(50% - 6px);
  }

  .about-hero__stat-card:last-child {
    width: calc(50% - 6px);
  }

  .we-are {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .we-are__header {
    margin-bottom: 60px;
  }

  .we-are__content {
    gap: 20px;
  }

  .we-are__left {
    max-width: 100%;
    flex: 1;
  }

  .we-are__right {
    width: 100%;
    max-width: 610px;
    align-items: flex-start;
  }

  .we-are__button {
    align-self: flex-start;
  }

  .we-are__image-wrapper {
    width: 100%;
    max-width: 610px;
    height: auto;
    aspect-ratio: 610 / 358;
  }

  .we-are__stats {
    max-width: 100%;
  }

  .automated-production {
    padding-bottom: 120px;
  }

  .automated-production__tabs {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--color-alt) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .automated-production__tabs::-webkit-scrollbar {
    height: 4px;
  }

  .automated-production__tabs::-webkit-scrollbar-track {
    background: transparent;
  }

  .automated-production__tabs::-webkit-scrollbar-thumb {
    background-color: var(--color-alt);
    border-radius: 2px;
  }

  .automated-production__tab {
    flex: 1 1 auto;
  }

  .automated-production__content {
    align-items: center;
    gap: 20px;
  }

  .automated-production__image-wrapper {
    width: 100%;
    max-width: 502px;
    height: auto;
    aspect-ratio: 610 / 400;
  }

  .automated-production__text-wrapper {
    flex: 1 1 auto;
    padding: 30px;
    width: 502px;
  }

  .automated-production__text-wrapper {
    max-width: 100%;
  }
}

/* 1024px */
@media (max-width: 1024px) {
  .about-hero {
    min-height: 700px;
  }

  .about-hero__content {
    margin-top: 50px;
    margin-bottom: 65px;
  }

  .about-hero__stat-card {
    height: 60px;
    padding: 0 20px;
  }

  .we-are__header {
    margin-bottom: 30px;
  }

  .we-are__title {
    margin-bottom: 0;
  }

  .we-are__content {
    flex-direction: column;
    gap: 30px;
  }


  .we-are__right {
    width: 100%;
    gap: 20px;
    align-items: flex-start;
  }

  .we-are__images {
    width: 100%;
  }

  .we-are__image-wrapper {
    width: 100%;
    max-width: 100%;
  }


  .we-are__stat-number {
    font-size: 40px;
  }

  .we-are__stat-sup {
    font-size: 26px;
  }

  .automated-production {
    padding-bottom: 100px;
  }

  .automated-production__description {
    margin-bottom: 30px;
  }

  .automated-production__title {
    margin-bottom: 30px;
  }

  .automated-production__tabs {
    display: none;
  }

  .automated-production__pagination {
    display: flex;
  }

  .automated-production__content {
    max-width: 1024px;
  }

  .automated-production__image-wrapper {
    width: 100%;
    max-width: 502px;
    height: auto;
    aspect-ratio: 610 / 400;
  }

  .automated-production__text-wrapper {
    flex: 0 0 502px;
    width: 502px;
    height: auto;
    min-height: 400px;
  }

  .automated-production__slide-title {
    font-size: 24px;
  }

  .automated-production__panel { display: block;}

  .automated-production__slide-text-wrapper {
    padding: 40px 15px;
  }

  .automated-production__pagination {
    margin-top: 20px;
  }

  .automated-production__dot {
    width: 105px;
  }

  .certificates__title {
    margin-bottom: 30px;
  }
}

/* 768px */
@media (max-width: 768px) {
  .about-hero {
    min-height: 600px;
  }

  .about-hero__content {
    margin-top: 30px;
    margin-bottom: 50px;
  }

  .about-hero__title {
    margin-bottom: 16px;
  }

  .about-hero__description {
    margin-bottom: 30px;
  }

  .about-hero__stats {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .about-hero__stat-card:first-child,
  .about-hero__stat-card:last-child {
    width: 100%;
    padding: 0 12px;
  }


  .about-hero__stat-label {
    max-width: 100%;
  }


  .we-are {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .we-are__title {
    font-size: var(--font-size-h2-mobile);
  }

  .we-are__description > p {
    margin-bottom: 20px;
    font-size: var(--font-size-body-base-mobile);
    line-height: var(--line-height-body-base-mobile);
  }

  .we-are__description > p:last-child {
    margin-bottom: 0;
  }


  .we-are__stat-item {
    gap: 15px;
  }

  .we-are__stat-number {
    font-size: 30px;
  }

  .we-are__stat-sup {
    font-size: 19.35px;
  }

  .we-are__stat-label {
    font-size: 14px;
    line-height: 1.3em;
    max-width: 100%;
  }

  .automated-production {
    padding-bottom: 70px;
  }

  .automated-production__title {
    font-size: var(--font-size-h2-mobile);
    line-height: var(--line-height-h2-mobile);
  }
    .automated-production__slide-title { font-size: 20px;}

  .automated-production__slide-text > p {
    font-size: var(--font-size-body-base-mobile);
    line-height: var(--line-height-body-base-mobile);
  }

  .automated-production__slide-text-wrapper {
    padding: 20px 15px;
  }

}

/* 568px */
@media (max-width: 568px) {
  .about-hero {
    min-height: 500px;
  }

  .about-hero__title-full {
    display: none;
  }

  .about-hero__title-mobile {
    display: block;
  }

  .about-hero__description {
    margin-bottom: 20px;
  }

  .about-hero__stats {
    gap: 12px;
  }

  .about-hero__stat-number {
    font-size: 33px;
    line-height: 1.2em;
  }

  .about-hero__stat-label {
    max-width: 165px;
    font-size: 14px;
  }


  .we-are__header {
    margin-bottom: 20px;
  }


  .we-are__stats {
    gap: 25px;
    max-width: 100%;
  }

  .we-are__stat-item {
    gap: 10px;
  }

  .we-are__stat-label {
    max-width: 100%;
  }

  .we-are__button {
    display: none;
  }

    .automated-production__slide-title {
    font-size: var(--font-size-h3-mobile);
    line-height: var(--line-height-h3-mobile);
  }
}

/* ============================================
   Section: Own Brands
   ============================================ */

.own-brands {
  padding-bottom: 160px;
  background-color: var(--color-background-default);
}

.own-brands__header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  justify-content: space-between;
}

.own-brands__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
}

.own-brands__description {
  margin: 0;
  max-width: 715px;
}

.own-brands__description > p {
  color: var(--color-text-primary);
  line-height: 1.3em;
  margin: 0;
}

.own-brands__divider {
  width: 100%;
  height: 1px;
  background-color: var(--color-alt);
  margin-bottom: 100px;
}

.own-brands__brand {
  margin-bottom: 130px;
}

.own-brands__brand:last-child {
  margin-bottom: 0;
}

.own-brands__brand-header {
  display: flex;
  align-items: flex-start;
  gap: 50px;
  margin-bottom: 50px;
}

.own-brands__brand-header--right {
  justify-content: flex-end;
}

.own-brands__brand-header--right .own-brands__brand-logo {
  order: 2;
}

.own-brands__brand-header--right .own-brands__brand-description {
  order: 1;
  text-align: right;
  max-width: 590px;
}

.own-brands__brand-header--left {
  justify-content: flex-start;
}

.own-brands__brand-header--left .own-brands__brand-logo {
  order: 1;
}

.own-brands__brand-header--left .own-brands__brand-description {
  order: 2;
  text-align: left;
  max-width: 590px;
}

.own-brands__brand-logo {
  flex-shrink: 0;
  width: auto;
  height: auto;
}

.own-brands__brand-logo img, .own-brands__brand-logo-img {
  display: block;
  max-width: 100%;
  height: auto;
}

.own-brands__brand-description {
  margin: 0;
}

.own-brands__brand-description > p {
  color: var(--color-text-primary);
  line-height: 1.3em;
  margin: 0;
}

.own-brands__slider-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.own-brands__slider {
  width: 100%;
  overflow: hidden;
}

.own-brands__slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.own-brands__slider .swiper-slide {
  width: 502px;
  height: 426px;
  flex-shrink: 0;
}

.own-brands__slide-image-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 2px;
  overflow: hidden;
  background-color: var(--color-background-secondary);
}

.own-brands__slide-image-wrapper img, .own-brands__slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


/* ============================================
   Section: Certificates
   ============================================ */

.certificates {
  padding-top: 130px;
  padding-bottom: 150px;
  background-color: var(--color-background-secondary);
}

.certificates__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 50px;
  text-align: left;
}

.certificates__tabs {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--color-alt);
  width: 100%;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.certificates__tab {
    display: block;
  padding: 9px 16px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: -2px;
  text-transform: uppercase;
  font-weight: 300;
  white-space: nowrap;
  text-align: center;
  font-size: var(--font-size-h4);
  line-height: var(--line-height-h4);
  flex: 1 1 auto;
}

.certificates__tab:not(.certificates__tab--active):hover,
.certificates__tab:not(.certificates__tab--active):focus {
  color: var(--color-accent);
}

.certificates__tab--active {
  border-bottom: 2px solid var(--color-secondary);
  color: var(--color-text-primary);
  font-weight: 400;
}

.certificates__panels {
  position: relative;
}

.certificates__panel {
  display: none;
  width: 100%;
}

.certificates__panel--active {
  display: block;
}

.certificates__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

.certificates__item {
  width: 100%;
}

.certificates__image-wrapper {
  width: 100%;
  height: 428px;
  border-radius: 2px;
  overflow: hidden;
  background-color: var(--color-background-default);
}

.certificates__image-wrapper img, .certificates__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.certificates__sliders-mobile {
  display: none;
}

.certificates__slider-section {
  width: 100%;
  margin-bottom: 40px;
  display: none; /* Hidden by default, shown on mobile */
}

.certificates__slider-section:last-child {
  margin-bottom: 0;
}

.certificates__slider-title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: left;
  font-size: var(--font-size-h3);
  line-height: var(--line-height-h3);
  font-weight: var(--font-weight-h3);
}

.certificates__slider-wrapper {
  width: 100%;
  overflow: hidden;
}

.certificates__slider {
  width: 100%;
  overflow: hidden;
}

.certificates__slider .swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.certificates__slider .swiper-slide {
  width: auto;
  height: auto;
  flex-shrink: 0;
}

.certificates__slide-image-wrapper {
  width: 100%;
  height: 428px;
  border-radius: 2px;
  overflow: hidden;
  background-color: var(--color-background-default);
}

.certificates__slide-image-wrapper { height: auto; padding-bottom: 141.7%;}

.certificates__slide-image-wrapper img, .certificates__slide-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
    position: absolute; left:0; top:0;
}


/* 1240px */
@media (max-width: 1240px) {
  .own-brands {
    padding-bottom: 120px;
  }

  .own-brands__divider {
    margin-bottom: 100px;
  }

  .own-brands__brand {
    margin-bottom: 100px;
  }

  .own-brands__brand-header {
    margin-bottom: 80px;
  }

  .own-brands__slider-wrapper {
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
  }

  .own-brands__slider .swiper-slide {
    width: 400px;
    height: 340px;
  }


  .certificates__title {
    margin-bottom: 40px;
  }

  .certificates__tabs {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--color-alt) transparent;
    -webkit-overflow-scrolling: touch;
  }

  .certificates__tabs::-webkit-scrollbar {
    height: 4px;
  }

  .certificates__tabs::-webkit-scrollbar-track {
    background: transparent;
  }

  .certificates__tabs::-webkit-scrollbar-thumb {
    background-color: var(--color-alt);
    border-radius: 2px;
  }

  .certificates__tab {
    flex: 1 1 auto;
  }

  .certificates__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* 1024px */
@media (max-width: 1024px) {
  .own-brands {
    padding-bottom: 90px;
  }

  .own-brands__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
  }

  .own-brands__description {
    max-width: 100%;
  }

  .own-brands__divider {
    margin-bottom: 40px;
  }

  .own-brands__brand {
    margin-bottom: 40px;
  }

  .own-brands__brand-header {
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
  }

  .own-brands__brand-header--right .own-brands__brand-logo,
  .own-brands__brand-header--left .own-brands__brand-logo {
    order: 1;
  }

  .own-brands__brand-header--right .own-brands__brand-description,
  .own-brands__brand-header--left .own-brands__brand-description {
    order: 2;
    text-align: left;
    max-width: 100%;
  }

  .own-brands__slider-wrapper {
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
  }

  .own-brands__slider .swiper-slide {
    width: 271px;
    height: 230px;
  }

  .certificates {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .certificates__title {
    font-size: var(--font-size-h2-mobile);
    line-height: var(--line-height-h2-mobile);
    margin-bottom: 20px;
  }
}

/* 768px */
@media (max-width: 768px) {
  .own-brands {
    padding-bottom: 70px;
  }

  .own-brands__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    margin-bottom: 30px;
  }

  .own-brands__title {
    white-space: normal;
  }

  .own-brands__description {
    max-width: 100%;
  }

  .own-brands__divider {
    margin-bottom: 30px;
  }

  .own-brands__brand {
    margin-bottom: 40px;
  }

  .own-brands__brand-header {
    gap: 30px;
    margin-bottom: 20px;
  }

  .own-brands__slider-wrapper {
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
  }

  .own-brands__slider .swiper-slide {
    width: 271px;
    height: 230px;
  }

  .certificates {
    padding-top: 70px;
    padding-bottom: 140px;
  }

  .certificates__title {
    margin-bottom: 20px;
  }

  .certificates__tabs {
    display: none;
  }

  .certificates__panels-desktop {
    display: none;
  }

  .certificates__sliders-mobile {
    display: block;
  }

  .certificates__slider-section {
    display: block !important;
    margin-bottom: 40px;
  }

  .certificates__slider-section:last-child {
    margin-bottom: 0;
  }

  .certificates__slider-title {
    font-size: var(--font-size-h3-mobile);
    margin-bottom: 20px;
  }

  .certificates__slider .swiper-slide {
    width: 302px;
    height: 428px;
  }

}

/* 568px */
@media (max-width: 568px) {

  .own-brands__slider-wrapper {
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
  }  

     .partners__logo {
     max-height: 40px;
     max-width: 157px;
   }
    .own-brands__brand-logo img { max-width: 195px; max-height: 37px; object-fit: contain;}
   
   .certificates__title {
     margin-bottom: 20px;
   }

   .certificates__slider-section {
     margin-bottom: 40px;
   }

   .certificates__slider-section:last-child {
     margin-bottom: 0;
   }

  .certificates__slider-title {
    margin-bottom: 20px;
  }

 }

/* ============================================
   ЛИЧНЫЙ КАБИНЕТ - ОБЩИЕ СТИЛИ
   ============================================ */

/* Section: Account, Profile, Register */
.account,
.profile,
.register {
  position: relative;
}

.account__header,
.profile__header,
.register__header {
  margin-bottom: 48px;
}

.register__header {
  margin-bottom: 20px;
}

.account__title,
.profile__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0 0 20px;
}

.register__page-title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0 0 50px 0;
}

.register__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0 0 20px;
}

/* Social Messengers */

/* ============================================
   СТРАНИЦА ВХОДА В ЛК (login.html)
   ============================================ */

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

.account-card {
  background-color: var(--color-background-default);
  border: 1px solid var(--color-alt);
  border-radius: 2px;
  padding: 40px;
}

.account-card__title {
  font-size: 24px !important;
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0 0 20px;
}

.account-card__subtitle {
  color: var(--color-text-primary);
  margin: 0 0 20px;
}

/* Form styles removed - forms should not have CSS classes or styles */

.account-form__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.account-form__field input.input-text  {
  background: #F7F7F7;
}

.account-form__label {
  color: var(--color-text-primary);
}

.account-form__footer {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.account-form__link {
  font-weight: 300;
  font-size: var(--font-size-body-small);
  line-height: var(--line-height-body-small);
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.account-form__link:hover {
  color: var(--color-accent);
}

.account-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.account-benefits__item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.account-benefits__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.account-benefits__text {
  color: var(--color-text-primary);
}

/* ============================================
   СТРАНИЦА ПРОФИЛЯ (profile.html)
   ============================================ */

.profile__content {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 20px;
}

.profile__sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile__tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile__tab {
  background-color: var(--color-background-secondary);
  border: none;
  border-radius: 2px;
  padding: 10px 16px 8px;
  font-weight:400;
  font-size: var(--font-size-h4-regular);
  line-height: var(--line-height-h4);
  color: var(--color-text-primary);
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.profile__tab--active {
  background-color: var(--color-accent);
  color: var(--color-text-on-accent);
}

.profile__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile__tab-content {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.profile__tab-content[style*="display: flex"],
.profile__tab-content[style*="display: block"] {
  display: flex !important;
}

.profile-form {
  background-color: var(--color-background-default);
  border: 1px solid var(--color-alt);
  border-radius: 2px;
  padding: 25px;
}

.profile-form .control input.input-text {
    background-color: #F7F7F7;
}

.profile-form__title {
  font-size: 24px !important;
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0 0 16px;
}

.profile-form__checkboxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.profile-form__checkboxes .checkbox-wrapper {
  margin-bottom: 0;
}

.profile-form__fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.profile-form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.profile-form__field {
  display: flex;
  flex-direction: column;
}

.profile-form__row input.input-text {
  background-color: #F7F7F7;
}

.profile-form .form-white input.input-text {
  background-color: #F7F7F7;
}


/* Cart */
.cart__item {
  background-color: var(--color-background-secondary);
  border-radius: 2px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 130px;
}

.cart__item-image {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 2px;
  overflow: hidden;
  background-color: var(--color-background-default);
}

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

.cart__item-info {
  flex: 1;
  display: flex;
  align-items: center;
}

.cart__item-title {
  font-weight:400;
  font-size: var(--font-size-body-small);
  line-height: var(--line-height-body-small);
  color: var(--color-text-primary);
  margin: 0;
}

.cart__item-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 339px;
  justify-content: space-between;
}

.cart__item-counter {
  background-color: var(--color-background-secondary);
  border: 1px solid var(--color-text-primary);
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
}

.cart__counter-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.cart__counter-btn:hover, .cart__counter-btn:focus, .cart__counter-btn:active { background: none; border:none; box-shadow: none;}

.cart__counter-btn:hover:not(:disabled) {
  opacity: 0.7;
}

.cart__counter-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.cart__counter-btn img {
  width: 24px;
  height: 24px;
}

.cart__counter-value {
  font-weight:400;
  font-size: var(--font-size-body-base);
  line-height: var(--line-height-body-base);
  color: var(--color-text-primary);
  min-width: 20px;
  text-align: center;
}

.cart__item-price {
  flex-shrink: 0;
}

.cart__price {
  font-size: 24px !important;
  text-transform: uppercase;
  margin: 0;
}

.cart__item-remove {
    display: block;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: opacity 0.2s;
}

.cart__item-remove:hover {
  opacity: 0.7;
}

.cart__item-remove img {
  width: 24px;
  height: 24px;
}

.cart__total {
  background-color: var(--color-background-default);
  border: 1px solid var(--color-alt);
  border-radius: 2px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart__total-title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0;
}

.cart__total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.cart__total-amount {
  text-align: right;
}

.cart__total-title,
.cart__total-amount {
  font-size: 24px !important;
}

/* ============================================
   ИСТОРИЯ ЗАКАЗОВ
   ============================================ */

.orders {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.orders__table {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.orders__header {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
  border-bottom: 1px solid var(--color-alt);
  padding: 10px 25px;
  background-color: transparent;
}

.orders__header-cell {
  color: var(--color-text-primary);
  text-transform: uppercase;
  text-align: left;
}

.orders__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
  border-bottom: 1px solid var(--color-alt);
  padding: 10px 25px;
  transition: background-color 0.2s;
}

.orders__row:hover {
  background-color: var(--color-background-secondary);
}

.orders__cell {
  color: var(--color-text-primary);
  text-align: left;
}

/* ============================================
   СТРАНИЦА РЕГИСТРАЦИИ (register.html)
   ============================================ */

.register__tabs {
  display: flex;
  width: 100%;
  margin-bottom: 50px;
}

.register__tab {
  display: block;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--color-alt);
  padding: 9px 16px;
  font-weight: 300;
  font-size: var(--font-size-h4-regular);
  line-height: var(--line-height-h4);
  color: var(--color-text-primary);
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.register__tab:hover {
  background-color: var(--color-background-secondary);
}

.register__tab--active {
  border-bottom-color: var(--color-text-primary);
  font-weight: var(--font-weight-body-base);
}

.register__form-wrapper {
  background-color: var(--color-background-default);
  border: 1px solid var(--color-alt);
  border-radius: 2px;
  padding: 50px 40px 40px;
}

/* Form styles removed - forms should not have CSS classes or styles */

.register__section {
  display: block;
  margin-bottom: 40px;
}

.register__section:last-child {
  margin-bottom: 0;
}

.register__section-title {
    display: block;
  font-size: 24px !important;
  color: var(--color-text-primary);
  text-transform: uppercase;
  margin: 0 0 20px;
}

.register__fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
    margin-bottom: 20px;
}
.register__fields:last-child { margin-bottom: 0;}

.register__field-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.register__field-row--company, .register__field-row--half {
  grid-template-columns: 575px 575px;
}

.input--span-2 {
  grid-column: span 2;
}

.btn-save {
  margin-top: 10px;
}

.register__agreement {
  margin-top: -16px;
}
.modal__buttons {
  display: flex;
  gap: 12px;
}
.modal__buttons .button--primary {
  max-width: none;
}

.modal__buttons .button--secondary {
  max-width: none;
  background-color: var(--color-background-default);
  border: 1px solid var(--color-text-primary);
  color: var(--color-text-primary);
}

.modal__buttons .button--secondary:hover {
  background-color: var(--color-background-secondary);
  color: var(--color-text-primary);
}

/* ============================================
   СПЕЦИФИЧНЫЕ КНОПКИ ЛИЧНОГО КАБИНЕТА
   ============================================ */

/* Кнопка входа в ЛК */
.account-form__submit-button, .account-card__register-button { width: 245px;}

/* Кнопка сохранения в формах профиля */
.profile-form__save-button {
  max-width: 155px;
}

/* Кнопка регистрации */
.register-form__submit-button {
  max-width: 223px;
}

/* ============================================
   ОБЩИЕ КОМПОНЕНТЫ - ЛИЧНЫЙ КАБИНЕТ
   ============================================ */

/* Input для личного кабинета (серый фон) */
/* Account, profile, register forms - removed specific input styles, using .input-text */

/* Checkbox для личного кабинета (новая структура с label) */
/* Register agreement checkbox - используем стандартные стили через checkbox-wrapper */
.register__agreement.checkbox-wrapper .checkbox {
  flex-shrink: 0;
  margin-top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid var(--color-alt);
  background-color: var(--color-background-default);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast) var(--easing-default);
}

.register__agreement.checkbox-wrapper .checkbox:checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.register__agreement.checkbox-wrapper .checkbox:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--color-text-on-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.profile-form .checkbox-wrapper input[type="checkbox"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

.profile-form .checkbox-wrapper .checkbox {
  display: flex !important;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  width: auto !important;
  height: auto !important;
  border: none !important;
  background: none !important;
}

.profile-form .checkbox__box {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid var(--color-alt);
  border-radius: 2px;
  background-color: var(--color-background-default);
  position: relative;
  transition: all 0.2s;
}

.profile-form .checkbox-wrapper input[type="checkbox"]:checked + .checkbox .checkbox__box {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.profile-form .checkbox-wrapper input[type="checkbox"]:checked + .checkbox .checkbox__box::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--color-text-on-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.profile-form .checkbox__label {
  display: inline-block;
  color: var(--color-text-primary);
  white-space: nowrap !important;
  line-height: 1.4;
}

.profile-form .checkbox__label a {
  display: inline;
  color: var(--color-text-primary);
  text-decoration: underline;
  transition: color 0.2s;
  white-space: nowrap;
}

.profile-form .checkbox__label a:hover {
  color: var(--color-accent);
}


.input--company,
.input--inn {
  width: 575px;
  max-width: 575px;
}

.profile-form__field input {
  max-width: 770px !important;
  width: 100%;
}

/* ============================================
   МЕДИАЗАПРОСЫ - ЛИЧНЫЙ КАБИНЕТ - 1240px
   ============================================ */

@media (max-width: 1240px) {
  .account__content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .profile-form__field input {
    max-width: 100% !important;
    width: 100%;
  } 

  .profile__sidebar {
    order: 1;
  }

  .profile__main {
    order: 2;
  }

  .cart__item {
    flex-wrap: wrap;
  }

  .cart__item-actions {
    width: 100%;
    justify-content: space-between;
  }

  .orders__header,
  .orders__row {
    grid-template-columns: 0.8fr 1fr 1fr 0.8fr 1fr;
    gap: 8px;
    padding: 10px;
  }

  .orders__header-cell,
  .orders__cell {
    font-size: var(--font-size-body-small);
  }


  .register__field-row--company, .register__field-row--half {
    grid-template-columns: 1fr 1fr;
  }

  .input--company, .input--inn {
    max-width: 575px;
    width: 100%;
  }

  .input--span-2 {
    grid-column: span 1;
  }
}

/* ============================================
   МЕДИАЗАПРОСЫ - ЛИЧНЫЙ КАБИНЕТ - 1024px
   ============================================ */

@media (max-width: 1024px) {

  .account__header,
  .profile__header,
  .register__header {
    margin-bottom: 32px;
  }

  .profile__content {
    grid-template-columns: 1fr;
  }

    .profile__tabs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .account__title,
  .profile__title {
    font-size: var(--font-size-h1-mobile);
      margin-bottom: 24px;
  }

  .register__page-title {
    font-size: var(--font-size-h1-mobile);
  }

  .register__title {
    font-size: var(--font-size-h2-mobile);
      margin-bottom: 24px;
  }

  .account-card {
    padding: 32px;
  }

  .profile-form {
    padding: 20px;
  }

  .register__form-wrapper {
    padding: 40px 32px 32px;
  }

  .orders__header,
  .orders__row {
    padding: 10px;
  }

}

/* ============================================
   МЕДИАЗАПРОСЫ - ЛИЧНЫЙ КАБИНЕТ - 768px
   ============================================ */

@media (max-width: 768px) {
  .account__header,
  .profile__header,
  .register__header {
    margin-bottom: 24px;
  }

  .account-card {
    padding: 24px;
  }

  .account-card__title {
    font-size: var(--font-size-h4-mobile);
    margin-bottom: 16px;
  }

  .account-card__subtitle {
    font-size: var(--font-size-body-base-mobile);
    margin-bottom: 16px;
  }

  .account-form__footer {
    gap: 15px;
  }

  .account-form__link {
    text-align: center;
  }

  .profile__tabs {
    flex-direction: column;
  }

  .profile-form {
    padding: 16px;
  }

  .profile-form__row {
    grid-template-columns: 1fr;
  }

  .cart__item-info {
    width: 100%;
  }

  .cart__item-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 15px;
  }

  .cart__item-actions .cart__item-counter {
    order: 1;
  }

  .cart__item-price {
    order: 2;
  }

  .cart__item-remove {
    order: 3;
  }

  .cart__total {
    padding: 20px;
  }

  .register__form {
    gap: 32px;
  }

  .orders__header,
  .orders__row {
    grid-template-columns: 0.6fr 0.7fr 0.7fr 0.7fr 1fr;
    gap: 6px;
  }

  .orders__header-cell,
  .orders__cell {
    font-size: var(--font-size-body-small);
    line-height: 1.3;
  }

  .register__form-wrapper {
    padding: 32px 24px 24px;
  }

  .register__page-title,
  .register__tabs {
    margin-bottom: 30px;
  }

  .register__field-row {
    grid-template-columns: 1fr;
  }
  .modal__buttons {
    flex-direction: column;
  }

  /* Register form mobile - removed specific input styles */

}

/* ============================================
   МЕДИАЗАПРОСЫ - ЛИЧНЫЙ КАБИНЕТ - 410px
   ============================================ */

@media (max-width: 410px) {
  .profile__content {
    grid-template-columns: 1fr !important;
    gap: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .profile__sidebar {
    order: 1;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .profile__main {
    order: 2;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .profile-form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* ============================================
   МЕДИАЗАПРОСЫ - ЛИЧНЫЙ КАБИНЕТ - 568px
   ============================================ */

@media (max-width: 568px) {
  .account__title,
  .profile__title {
    font-size: 28px;
  }

  .register__page-title {
    font-size: 28px;
  }

  .register__title {
    font-size: 24px;
  }

  .account-card {
    padding: 20px;
  }

  .account-benefits {
    gap: 16px;
  }

  .cart__item {
    padding: 16px;
  }

  .cart__counter-value {
    font-size: var(--font-size-body-small);
  }

  .cart__total {
    padding: 16px;
  }

  .register__tabs {
    flex-direction: column;
  }

  .register__tab {
    border-bottom: 1px solid var(--color-alt);
    border-left: 2px solid transparent;
  }

  .register__tab--active {
    border-left-color: var(--color-accent);
    border-bottom-color: var(--color-alt);
  }

  .register__form-wrapper {
    padding: 24px 16px 16px;
  }

  .register__section-title {
    font-size: 20px !important;
  }

  .profile-form .checkbox__label {
    white-space: wrap !important;
  }

  .profile-form__title {
    font-size: 20px !important;
  }

  .orders__header {
    display: none;
  }

  .orders__row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-alt);
  }

  .orders__cell {
    display: flex;
    align-items: center;
    font-size: var(--font-size-body-small);
    padding: 4px 0;
  }

  .orders__cell::before {
    content: attr(data-label) ':';
    font-weight: 700;
    text-transform: uppercase;
    margin-right: 8px;
    min-width: 90px;
    font-size: var(--font-size-body-small);
    flex-shrink: 0;
  }

}

/* ============================================
   HOMEPAGE STYLES
   ============================================ */

/* Section: Home Hero */
.home-hero {
  position: relative;
  min-height: 860px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.home-hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.home-hero__bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.home-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
}

.home-hero__social {
  position: fixed;
  right: 35px;
  bottom:24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  z-index: 100;
}

.home-hero__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
    padding: 12px;
  min-width: 48px;
    line-height: 24px;
  border-radius: 100px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.3s ease,
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              gap 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              min-width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  position: relative;
  gap: 0;
  text-decoration: none;
}

.home-hero__social-link--useful {
  background-color: var(--color-accent);
  display: none;
}

.home-hero__social--authenticated .home-hero__social-link--useful {
  display: flex;
}

.home-hero__social-link--telegram {
  background-color: #25a4e3;
}

.home-hero__social-link--whatsapp {
  background: #25d366;
}
.home-hero__social-link--max {
  background:url(../images/max-bg.svg) no-repeat center;
    background-size: cover;
}

.home-hero__social:hover .home-hero__social-link,
.home-hero__social-link:focus {
  width: auto;
  min-width: auto;
    gap:8px;
  justify-content: flex-start;
}

/* На десктопе меню всегда видно, FAB и кнопка закрытия скрыты */
@media (min-width: 769px) {
  .home-hero__social-menu {
    display: flex;
  }

  .home-hero__social-fab {
    display: none !important;
  }

  .home-hero__social-close {
    display: none !important;
  }
}

.home-hero__social:hover .home-hero__social-link--useful,
.home-hero__social-link--useful:focus {
  background-color: var(--color-accent);
}

.home-hero__social:hover .home-hero__social-link--telegram,
.home-hero__social-link--telegram:focus {
  background-color: #25a4e3;
}

.home-hero__social:hover .home-hero__social-link--whatsapp,
.home-hero__social-link--whatsapp:focus {
  background-color: #25d366;
}

.home-hero__social-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
  filter: brightness(0) invert(1);
  transition: transform 0.3s ease,
              width 0.3s ease,
              height 0.3s ease;
}

.home-hero__social-text {
  display: block;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4em;
  color: var(--color-text-on-accent);
  white-space: nowrap;
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
              width 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s,
              margin-left 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
  margin-left: 0;
}

.home-hero__social:hover .home-hero__social-text,
.home-hero__social-link:focus .home-hero__social-text {
  opacity: 1;
  width: auto;
  margin-left: 0;
}

/* FAB кнопка и меню для мобильной версии */
.home-hero__social-fab {
  display: none;
}

.home-hero__social-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.home-hero__social-close {
  display: none;
}

/* На десктопе меню всегда видно */
@media (min-width: 769px) {
  .home-hero__social-menu {
    display: flex;
  }
}

/* Мобильная версия (768px и ниже) */
@media (max-width: 768px) {
  .home-hero__social {
    right: 15px;
    gap: 12px;
  }

  /* FAB кнопка видна только на мобильных */
  .home-hero__social-fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    min-height: 56px;
    border-radius: 56px;
    background-color: var(--color-accent);
    border: none;
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    padding: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
    z-index: 101;
  }

  .home-hero__social-fab:hover,
  .home-hero__social-fab:focus {
    opacity: 0.8;
  }

  .home-hero__social-fab-icon {
    width: 24px;
    height: 24px;
    display: block;
    filter: brightness(0) invert(1);
  }

  /* Меню скрыто по умолчанию на мобильных */
  .home-hero__social-menu {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
  }

  /* Меню видно когда открыто */
  .home-hero__social--open .home-hero__social-menu {
    display: flex;

  }

  /* FAB скрыт когда меню открыто */
  .home-hero__social--open .home-hero__social-fab {
    display: none;
  }

  /* Кнопки в меню всегда с текстом на мобильных */
  .home-hero__social-link {
    width: auto;
    min-width: auto;
    height: 42px;
    padding: 9px 12px;
      gap:8px;
    justify-content: flex-start;
  }

  /* Текст всегда виден на мобильных */
  .home-hero__social-text {
    opacity: 1;
    width: auto;
    margin-left: 0;
  }

  /* Иконка на мобильных */
  .home-hero__social-icon {
    width: 18px;
    height: 18px;
  }

  /* Кнопка закрытия */
  .home-hero__social-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 100px;
    background-color: var(--color-background-default);
    border: 1px solid var(--color-alt);
    cursor: pointer;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    padding: 0;
    transition: transform 0.3s ease, background-color 0.3s ease;
  }

  .home-hero__social-close:hover,
  .home-hero__social-close:focus {
    opacity: 0.8;
  }

  .home-hero__social-close-icon {
    width: 12px;
    height: 12px;
    display: block;
  }  
}

.home-hero__content {
  position: relative;
  z-index: 2;
  max-width: 857px;
  padding-top: 325px;
  color: var(--color-text-on-accent);
  line-height: 1.3;
}

.home-hero__content h1 {
  color: var(--color-text-on-accent);
  margin-bottom: 20px;
}

.home-hero__actions {
  display: flex;
  gap: 20px;
    margin-top: 50px;
}
.home-hero__actions .button { min-width: 190px;}

/* Button Variations */
.button--secondary-white {
  background-color: var(--color-background-default);
  color: var(--color-text-primary);
  border: 1px solid var(--color-secondary);
  padding: 14px 20px;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.button--secondary-white:hover,
.button--secondary-white:focus {
  background-color: var(--color-accent);
  color: var(--color-text-on-accent);
  border-color: var(--color-accent);
}

.button--secondary-glass {
  max-width: 210px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(1px);
  color: var(--color-text-on-accent);
  border: 1px solid var(--color-primary);
  padding: 10px 20px;
  border-radius: 2px;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
}

.button--secondary-glass:hover,
.button--secondary-glass:focus,
.home-directions__card:hover .button--secondary-glass {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-text-on-accent);
}

/* Section: Home Directions */
.home-directions {
  padding-top: 70px;
}

.home-directions__title {
  color: var(--color-text-primary);
  margin-bottom: 50px;
}

.home-directions__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 10px;
  justify-content: center;
}

.home-directions__card {
    display: block;
  position: relative;
  height: 450px;
    width:610px;
  border-radius: 2px;
  overflow: hidden;
  flex-shrink: 0;
}
@media (min-width: 1241px) {
.home-directions__card:nth-child(odd) { width: 620px;}
.home-directions__card.card-big { width: 715px;}
.home-directions__card.card-small { width: 515px;}
}

.home-directions__card-image {
  position: absolute;
    overflow: hidden;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.home-directions__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
    transform: scale(1);
    transition:all 0.25s ease;
}
.home-directions__card:hover .home-directions__card-img { transform: scale(1.05);}

.home-directions__card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 74.685%, rgba(0, 0, 0, 0.5) 100%);
}

.home-directions__card-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.home-directions__card-title {
  color: var(--color-text-on-accent);
  margin: 0;
}

.home-directions__card-title span {
  display: block;
}

/* Section: Home Catalog */
.home-catalog {
  padding-top: 150px;
  background-color: var(--color-background-default);
  position: relative;
  z-index: 1;
}

.home-catalog__header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 74px;
}

.home-catalog__title {
  color: var(--color-text-primary);
  text-transform: uppercase;
  text-align: left;
}

.home-catalog__button-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.home-catalog__button-all--desktop {
  display: flex;
  min-width: 226px;
  padding: 12px 20px;
  margin: 0;
}

.home-catalog__button-all--mobile {
  display: none;
  max-width: 100%;
  width: 100%;
  margin: 0 auto;
  margin-top: 30px;
}

.home-catalog__slider-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.home-catalog__slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.home-catalog__slider .swiper-wrapper {
  display: flex;
}

.home-catalog__slider .swiper-slide {
  width: auto;
  height: auto;
  flex-shrink: 0;
}
.home-catalog__slider-arrow--prev, .home-catalog__slider-arrow--next { position: absolute; z-index: 20; top:50%; transform:translateY(-50%);}
.home-catalog__slider-arrow--prev { left:20px;}
.home-catalog__slider-arrow--next { right:20px;}

/* Индивидуальные размеры карточек для ПК */
.catalog-card--cardio {
  width: 400px;
  height: 580px;
}

.catalog-card--cross-training {
  width: 586px;
  height: 580px;
}

.catalog-card--strength {
  width: 400px;
  height: 580px;
}

.catalog-card--weightlifting {
  width: 400px;
  height: 580px;
}

.catalog-card--outdoor {
  width: 400px;
  height: 580px;
}

.catalog-card--sports {
  width: 400px;
  height: 580px;
}

.catalog-card--fitness {
  width: 400px;
  height: 580px;
}

.catalog-card--additional {
  width: 400px;
  height: 580px;
}

.catalog-card--gto {
  width: 400px;
  height: 580px;
}

.catalog-card--sale {
  width: 400px;
  height: 580px;
}

/* Home Catalog Card */
.home-catalog-card {
  border-radius: 2px;
  background-color: var(--color-background-secondary);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
    width: 400px;
  height: 520px;
}

/* Индивидуальные размеры карточек для ПК */
.home-catalog-card--cardio {
  width: 400px;
  height: 580px;
}

.home-catalog-card--cross-training {
  width: 586px;
  height: 580px;
}

.home-catalog-card--strength {
  width: 400px;
  height: 580px;
}

.home-catalog-card--weightlifting {
  width: 400px;
  height: 580px;
}

.home-catalog-card--outdoor {
  width: 400px;
  height: 580px;
}

.home-catalog-card--sports {
  width: 400px;
  height: 580px;
}

.home-catalog-card--fitness {
  width: 400px;
  height: 580px;
}

.home-catalog-card--additional {
  width: 400px;
  height: 580px;
}

.home-catalog-card--gto {
  width: 400px;
  height: 580px;
}

.home-catalog-card--sale {
  width: 400px;
  height: 580px;
}

.home-catalog-card__image-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 30px 60px;
  overflow: hidden;
}

.home-catalog-card__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.catalog-card__header {
  position: absolute;
  top: 34px;
  left: 25px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.home-catalog-card__header {
  position: absolute;
  top: 34px;
  left: 25px;
  right: 26px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.home-catalog-card__text {
  flex: 1;
}

.catalog-card__title {
  color: var(--color-text-primary);
  margin-bottom: 1px;
}

.home-catalog-card__title {
  color: var(--color-text-primary);
  margin-bottom: 1px;
}

.catalog-card__subtitle {
  color: var(--color-text-primary);
  margin: 0;
}

.home-catalog-card__subtitle {
  color: var(--color-text-primary);
  margin: 0;
}

.catalog-card__add-btn {
  width: 42px;
  height: 42px;
  background-color: var(--color-background-default);
  border: 1px solid var(--color-secondary);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.catalog-card__add-btn:hover,
.catalog-card__add-btn:focus {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.home-catalog-card__add-btn {
  width: 42px;
  height: 42px;
  background-color: var(--color-background-default);
  border: 1px solid var(--color-secondary);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.home-catalog-card:hover .home-catalog-card__add-btn {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Catalog Pagination */
.home-catalog__pagination--progressbar {
  position: relative;
  margin-top: 30px;
  max-width: 1240px;
  width: 100%;
  height: 2px;
  background-color: var(--color-background-secondary);
  display: none;
}

.swiper-pagination {
  position: relative !important;
}

.home-catalog__pagination--bullets {
  display: flex;
  position: relative !important;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
  gap: 5px;
}

/* На 568px и выше показываем progressbar, скрываем bullets */
@media (min-width: 568px) {
  .home-catalog__pagination--progressbar {
    display: block;
  }

  .home-catalog__pagination--bullets {
    display: none !important;
  }
}

/* Адаптация progressbar на разрешениях меньше 1240px */
@media (max-width: 1240px) {
  .home-catalog__pagination--progressbar {
    max-width: 100%;
    padding-right: 16px;
  }
}

/* Адаптация progressbar на 768px и ниже */
@media (max-width: 768px) {
  .home-catalog__pagination--progressbar {
    margin-top: 24px;
  }
}

.home-catalog__pagination--bullets .swiper-pagination-bullet {
  width: 28px;
  height: 2px;
  background-color: var(--color-background-secondary);
  border: none;
  border-radius: 0;
  opacity: 1;
  margin: 0 !important;
}

.home-catalog__pagination--bullets .swiper-pagination-bullet-active {
  background-color: var(--color-secondary);
}

/* Section: Home Factory */
.home-factory {
  padding-top: 150px;
  background-color: var(--color-background-default);
}

.home-factory__title {
  color: var(--color-text-primary);
  margin-bottom: 50px;
}

.home-factory__description {
  color: var(--color-text-primary);
  max-width: 756px;
  margin-bottom: 30px;
  line-height: 1.3;
}

.home-factory__content {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}

.home-factory__left {
  flex: 1;
  max-width: 765px;
  display: flex;
  flex-direction: column;
}

.home-factory__video-wrapper {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.home-factory__video-wrapper:before { content:''; display: block; width: 100%; height: 100%; position: absolute; left:0; top:0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1;}

.home-factory__video-image {
  position: relative;
  width: 100%;
  height: 430px;
  display: block;
  border-radius: 2px;
}

.home-factory__play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background-color: var(--color-accent);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity var(--transition-fast);
    z-index: 2;
}

.home-factory__play-btn:hover,
.home-factory__play-btn:focus,
.home-factory__video-wrapper:hover .home-factory__play-btn{
  opacity: 0.9;
}

.home-factory__features {
  margin-top: 10px;
  flex: 1;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.home-factory__feature {
  display: flex;
  gap: 25px;
  align-items: center;
}

.home-factory__feature-icon {
  flex-shrink: 0;
  width: 53px;
  height: 57px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-factory__feature-icon img {
  max-width: 100%;
  max-height: 100%;
}

.home-factory__feature-content {
  flex: 1;
}

.home-factory__feature-title {
  color: var(--color-text-primary);
  margin-bottom: 15px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
}

.home-factory__feature-list {
  list-style: disc;
  padding-left: 24px;
  margin: 0;
    font-size: 1rem; line-height: 1.3; font-weight: 300;
}

.home-factory__feature-list li {
  margin-bottom: 0;
}

.home-factory__button {
  display: flex;
  justify-content: center;
  padding: 13px 20px;
  gap: 10px;
  max-width: 248px;
}

/* Section: Home Services */
.home-services {
  padding-top: 150px;
  padding-bottom: 150px;
  background-color: var(--color-background-default);
}

.home-services__title {
  color: var(--color-text-primary);
  margin-bottom: 50px;
}

.home-services__accordion {
  display: flex;
  flex-direction: column;
}

.home-services__item {
  border-top: 1px solid var(--color-alt);
}

.home-services__item:last-child {
  border-bottom: 1px solid var(--color-alt);
}

.home-services__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 0;
  padding: 20px 0;
  margin: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.home-services__header:hover .home-services__header-title {
  color: var(--color-accent);
}

.home-services__header-title {
  color: var(--color-text-primary);
  transition: color var(--transition-fast);
}

.home-services__arrow {
  width: 18px;
  height: 24px;
  min-width: 18px;
  min-height: 24px;
  display: inline-block;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--transition-fast);
  position: relative;
}

.home-services__arrow::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.home-services__arrow--top::before {
  background-image: url('../images/icons/arrow-top-green.svg');
}

.home-services__arrow--bottom::before {
  background-image: url('../images/icons/arrow-bottom-black.svg');
}

.home-services__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.home-services__content--open {
  max-height: 1000px;
}

.home-services__body {
  display: flex;
  gap: 47px;
  padding-bottom: 50px;
}

.home-services__text {
  flex: 1;
  max-width: 528px;
    display: flex;
    flex-direction: column; 
}

.home-services__text .text-inner { width: 100%; padding-top: 30px; color: var(--color-text-primary); font-size: var(--font-size-body-small-light); font-weight: var(--font-weight-body-small-light); line-height: var(--line-height-body-small-light);}
.home-services__text p {
  margin-bottom: 40px;
}

.home-services__text ul { list-style: none; padding: 0; margin: 0 0 40px; display: flex; flex-direction: column; gap: 20px;}
.home-services__text ul li { position: relative; padding-left: 20px; margin: 0;}
.home-services__text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 4px;
  height: 4px;
  background-color: var(--color-text-primary);
  border-radius: 50%;
}

.home-services__button {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  gap: 10px;
}
.home-services__text .home-services__button { margin-top: auto;}

.home-services__button--desktop {
  display: flex;
}

.home-services__button--mobile {
  display: none;
}

.home-services__image-wrapper {
  flex: 1;
  max-width: 665px;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.home-services__image-wrapper .home-services__button--mobile {
  margin-top: 20px;
  width: 100%;
  max-width: 100%;
}

.home-services__image {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
}

/* Section: Home Leasing Form */
.home-leasing-form {
  padding-top: 100px;
  padding-bottom: 150px;
  background-color: var(--color-background-secondary);
}

.home-leasing-form__title {
  color: var(--color-text-primary);
  margin-bottom: 50px;
}

.home-leasing-form__content {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.home-leasing-form__image-wrapper {
  flex: 1;
  max-width: 677px;
  max-height: 477px;
  border-radius: 2px;
  overflow: hidden;
}

.home-leasing-form__image {
  width: 100%;
  height: 477px;
  display: block;
  object-fit: cover;
  border-radius: 2px;
}

.home-leasing-form__form-wrapper {
  flex: 1;
  max-width: 466px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.home-leasing-form__description {
  color: var(--color-text-primary);
  line-height: 1.3;
  margin-bottom: 0;
}

/* Form styles removed - forms should not have CSS classes or styles */

.home-leasing-form__field {
  position: relative;
  width: 100%;
}

.home-leasing-form__field .control {
  max-width: 400px;
}

.home-leasing-form__asterisk {
  color: #c53e3e;
  font-size: var(--font-size-body-base);
  display: none;
}

.home-leasing-form__input--required:not(:focus):placeholder-shown ~ .home-leasing-form__asterisk {
  display: block;
}

.home-leasing-form__checkbox-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 5px;
}

.home-leasing-form__checkbox-wrapper .checkbox {
  margin-top: 2px;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 2px;
  border: 1px solid var(--color-alt);
  background-color: var(--color-background-default);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.home-leasing-form__checkbox-wrapper .checkbox:checked {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.home-leasing-form__checkbox-wrapper .checkbox:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.5L4.5 8L11 1.5' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.home-leasing-form__checkbox-label {
  margin-top: 2px;
  color: var(--color-text-primary);
  line-height: var(--line-height-caption-base);
  cursor: pointer;
}

.home-leasing-form__submit {
  margin-top: 15px;
  padding-top: 13px;
  padding-bottom: 13px;
  max-width: 197px;
}

/* ============================================
   HOMEPAGE MEDIA QUERIES - 1240px
   ============================================ */

@media (max-width: 1272px) {
  .home-directions__grid {
    gap: 20px;
  }

  .home-directions__card {
    width: calc(50% - 10px);
    max-width: 100%;
  }
}

@media (max-width: 1240px) {
  .home-catalog__slider-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .home-factory__content {
    flex-direction: column;
    gap: 40px;
  }

  .home-factory__left {
    max-width: 100%;
  }

  .home-factory__video-wrapper {
    max-width: 100%;
  }

  .home-factory__features {
    max-width: 100%;
  }

  .home-services__text {
    max-width: 100%;
  }

  .home-services__image-wrapper {
    max-width: 100%;
  }

  .home-leasing-form__content {
    flex-direction: column;
    gap: 30px;
  }

  .home-leasing-form__image-wrapper {
    max-width: 100%;
    max-height: 100%;
  }

  .home-leasing-form__image {
    height: 100%;
  }

  .home-leasing-form__form-wrapper {
    max-width: 100%;
      width: 100%;
  }
}

/* ============================================
   HOMEPAGE MEDIA QUERIES - 1024px
   ============================================ */

@media (max-width: 1024px) {
  .home-hero {
    min-height: 700px;
  }

  .home-hero__content {
    padding-top: 300px;
    padding-bottom: 65px;
  }

    .home-services__body {
    flex-direction: column;
    gap: 15px;
  }

  .home-services__button--desktop {
    display: none;
  }

  .home-services__button--mobile {
    display: flex;
  }

  /* Добавляем нижнюю границу для открытых элементов */
  .home-services__item--active .home-services__header {
    border-bottom: 1px solid var(--color-alt);
  }

  .home-directions {
    padding-top: 50px;
  }

  .home-directions__title {
    margin-bottom: 30px;
  }

  .button--secondary-glass {
    display: none;
  }

  .home-directions__card {
    height: 350px;
  }

  .home-catalog {
    padding-top: 100px;
  }

  .home-catalog__header {
    margin-bottom: 40px;
  }
  .home-factory__features {
    gap: 20px;
  }

  .home-factory {
    padding-top: 100px;
  }

  .home-services {
    padding-top: 100px;
    padding-bottom: 100px;
  }

  .home-services__title {
    margin-bottom: 40px;
  }

    .home-services__text .text-inner { padding-top: 15px;}
    .home-services__text p, .home-services__text ul {
    margin-bottom: 15px;
  }

  .home-leasing-form {
    padding-top: 80px;
    padding-bottom: 100px;
  }

  .home-leasing-form__title {
    margin-bottom: 30px;
  }
}

/* ============================================
   HOMEPAGE MEDIA QUERIES - 768px
   ============================================ */

@media (max-width: 768px) {
  .home-hero {
    min-height: 600px;
  }

  .home-hero__content {
    padding-top: 200px;
    padding-bottom: 65px;
    max-width: 100%;
  }

  .home-directions__title {
    margin-bottom: 20px;
  }

  .home-hero__actions {
      margin-top: 30px;
    flex-direction: column;
    gap: 15px;
  }

  .home-directions__grid {
    gap: 10px;
  }

  .home-directions__card {
    height: 300px;
    width: 100%;
  }

  .home-directions__card-content {
    max-width: 100%;
    width: 100%;
  }

  .home-catalog {
    padding-top: 70px;
  }

  .home-catalog__header {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }

  .home-catalog__button-all--desktop {
    display: none;
  }

  .home-catalog__button-all--mobile {
    display: flex;
  }

  .home-catalog-card {
    width: 330px;
    height: 430px;
  }

    .home-catalog-card__image-wrapper {
        padding: 120px 30px 40px;
    }

  .home-catalog-card__header {
    top: 20px;
    left: 16px;
    right: 16px;
  }

    .home-catalog__slider-arrow--prev { left:10px;}
    .home-catalog__slider-arrow--next { right:10px;}

  .home-hero__button-price {
    width: 193px;
    padding: 10px 20px;
  }

  .home-factory {
    padding-top: 70px;
  }


  .home-services {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  .home-services__header-title {
    font-size: var(--font-size-h3-mobile);
  }


  .home-leasing-form {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}

/* ============================================
   HOMEPAGE MEDIA QUERIES - 568px
   ============================================ */

@media (max-width: 568px) {
  .home-hero {
    min-height: 500px;
  }

  .home-leasing-form__form-wrapper {
    gap: 20px;
  }

  .home-hero__description--desktop {
    display: none;
  }

  .home-hero__description--mobile {
    display: block;
  }

  .home-directions {
    padding-top: 30px;
  }

  .home-directions__card {
    height: 250px;
  }

  .button--secondary-glass {
    padding: 12px 20px;
    font-size: 14px;
  }

  .home-catalog {
    padding-top: 50px;
  }
    .home-catalog-card {
    height: 420px;
  }

    .home-catalog-card__image-wrapper {
        padding: 90px 20px 40px;
    }

  .home-factory__feature-title {
    margin-bottom: 0;
  }

    .home-catalog__slider-arrow--prev, .home-catalog__slider-arrow--next { display: none;}
  .home-catalog__pagination--bullets {
    width: 100%;
    max-width: 100%;
  }

  .home-catalog-card__title {
    font-size: 16px;
  }

    .home-directions__card-title {
      display: flex;
      justify-content: flex-start;
      gap: 5px;
    }

  .home-directions__card-title span {
    display: inline;
  }

  .home-services__arrow {
    width: 12px;
    height: 17px;
  }

  .home-factory {
    padding-top: 50px;
  }

  .home-factory__title {
    margin-bottom: 30px;
  }

  .home-factory__description {
    margin-bottom: 0px;
  }

  .home-factory__left {
    max-width: 100%;
  }

  .home-factory__video-wrapper {
    display: none;
  }

  .home-factory__video-image {
    height: auto;
  }

  .home-factory__features {
    gap: 30px;
  }

  .home-factory__feature {
    flex-direction: row;
    gap: 20px;
    align-items: center;
  }

  .home-factory__feature-icon {
    width: 50px;
    height: 58px;
    flex-shrink: 0;
  }

  .home-factory__feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .home-factory__feature-content {
    flex: 1;
  }

  .home-factory__feature-list {
    display: none;
  }

  .home-factory__button {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }

  .home-factory__content {
    gap: 30px;
  }

  .home-services__title {
    margin-bottom: 30px;
  }

  .home-services__body {
    padding-bottom: 30px;
  }

  .home-services__button {
    width: 100%;
    justify-content: center;
  }


  .home-leasing-form__submit {
    max-width: 100%;
  }
}
