@font-face {
  font-family: 'e-Ukraine';
  src: url('../fonts/e-Ukraine-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'e-Ukraine';
  src: url('../fonts/e-Ukraine-UltraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'e-Ukraine';
  src: url('../fonts/e-Ukraine-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'e-Ukraine';
  src: url('../fonts/e-Ukraine-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'e-Ukraine';
  src: url('../fonts/e-Ukraine-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'e-Ukraine';
  src: url('../fonts/e-Ukraine-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'e-Ukraine_Head';
  src: url('../fonts/e-UkraineHead-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-red:        #8F2B35;
  --color-red-dark:   #962B30;
  --color-red-light:  #E9D3D8;
  --color-red-muted:  rgba(143, 43, 53, 0.1);
  --color-red-zero:   rgba(143, 43, 53, 0);

  --color-dark:       #3A3837;
  --color-dark-1:     #1C1C1E;
  --color-black-soft: #030303;
  --color-gray:       #737373;
  --color-border:     #E9E9E9;
  --color-bg-fill:    #F2F2F4;
  --color-bg-cream:   #F4F3EE;
  --color-bg-light:   #FAFAFA;
  --color-white:      #FFFFFF;
  --color-black:      #000000;

  --color-text:       var(--color-dark);
  --color-text-muted: var(--color-gray);
  --color-bg:         var(--color-white);
  --color-accent:     var(--color-red);

  --font-base:    'e-Ukraine', Arial, sans-serif;
  --font-heading: 'e-Ukraine_Head', 'e-Ukraine', Arial, sans-serif;

  --fw-ultralight: 200;
  --fw-light:      300;
  --fw-regular:    400;
  --fw-medium:     500;
  --fw-bold:       700;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-15:   0.9375rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.375rem;
  --fs-2xl:  1.625rem;
  --fs-3xl:  2.625rem;
  --fs-4xl:  3.875rem;
  --fs-hero: 4rem;

  --lh-none:  1.0;
  --lh-tight: 1.2;
  --lh-snug:  1.3;
  --lh-base:  1.4;
  --lh-loose: 1.6;

  --ls-hero:    -0.02em;
  --ls-heading: -0.02em;
  --ls-wide:     0.02em;
  --ls-tight:   -0.025em;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  --radius-xs:   4px;
  --radius-sm:   6px;
  --radius-md:   8px;
  --radius-lg:   10px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  --shadow-btn:  0 7px 6.5px rgba(0, 0, 0, 0.10);
  --shadow-card: 0 4px 5px rgba(0, 0, 0, 0.15);
  --shadow-red:  0 8px 5px rgba(115, 26, 26, 0.10);
  --shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.08);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  --z-base:     0;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-hamburger:   400;
  --z-modal:    500;
  --z-toast:    600;

  --top-bar-height:   50px;
  --header-height:    80px;
  --container-top:    1800px;
  --container-header: 1680px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  line-height: var(--lh-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-dark);
}

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

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

.top-bar {
  position: relative;
  height: var(--top-bar-height);
  background-color: var(--color-black);
}

.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-top);
  margin-inline: auto;
  padding-inline: 20px;
}

.top-bar__contacts {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.top-bar__contact {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--color-bg-cream);
  white-space: nowrap;
  transition: opacity var(--transition-fast);
}

.top-bar__contact:hover {
  opacity: 0.75;
}

.top-bar__icon {
  flex-shrink: 0;
}

.top-bar__socials {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.top-bar__social {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
}

.top-bar__social:hover {
  opacity: 0.75;
}

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background-color: var(--color-white);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--container-header);
  margin-inline: auto;
  padding-inline: 20px;
}

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

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

.header__nav {
  display: flex;
  align-items: center;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.header__nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 10px;
  font-family: var(--font-base);
  font-size: var(--fs-15);
  font-weight: var(--fw-regular);
  color: var(--color-gray);
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast);
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 10px;
  right: 10px;
  height: 2px;
  background-color: var(--color-red);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.header__nav-link:hover,
.header__nav-link.active {
  color: var(--color-red);
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
  opacity: 1;
}

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

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--color-white);
  border-top: 1px solid var(--color-bg-light);
  box-shadow: 0 14px 7px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  z-index: var(--z-dropdown);
}

.mega-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mega-menu__inner {
  display: flex;
  align-items: stretch;
  gap: 20px;
  max-width: 1800px;
  margin-inline: auto;
  padding: 30px 20px;
}

.mega-menu__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  flex: 1;
  height: 320px;
  padding: 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--transition-base);
}

.mega-menu__card:hover {
  transform: translateY(-4px);
}

.mega-menu__card {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.mega-menu__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
}

.mega-menu__card-title {
  position: relative;
  font-family: var(--font-base);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--color-white);
  z-index: 1;
}

.cat-menu {
  gap: 60px;
  align-items: flex-start;
}

.cat-menu__col {
  display: flex;
  flex: 1;
  min-width: 0;
}

.cat-menu__col--split {
  flex-direction: column;
  gap: 20px;
}

.cat-menu__group {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

.cat-menu__img {
  width: 220px;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  flex-shrink: 0;
}

.cat-menu__col--split .cat-menu__img {
  height: 100%;
  min-height: 120px;
}

.cat-menu__links {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  flex: 1;
  min-width: 0;
}

.cat-menu__title {
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-black);
  line-height: var(--lh-base);
  transition: color var(--transition-fast);
}

.cat-menu__title:hover {
  color: var(--color-red);
}

.cat-menu__link {
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-light);
  color: var(--color-gray);
  line-height: var(--lh-base);
  transition: color var(--transition-fast);
}

.cat-menu__link:hover {
  color: var(--color-red);
}

.header__controls {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

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

.header__consult {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 46px;
  padding: 4px 16px;
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--color-red);
  border: 1.2px solid var(--color-red);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.header__consult:hover {
  background-color: var(--color-red);
  color: var(--color-white);
}

.header__consult:hover .header__consult-icon {
  filter: brightness(0) invert(1);
}

.header__consult-icon {
  flex-shrink: 0;
  transition: filter var(--transition-fast);
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  flex-shrink: 0;
}

.header__burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-dark);
  border-radius: var(--radius-full);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.header__burger.open .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.header__burger.open .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__burger.open .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hamburger {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-hamburger);
  background-color: var(--color-white);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.hamburger.open {
  transform: translateX(0);
}

.hamburger__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  padding-inline: 20px;
  border-bottom: 1px solid var(--color-border);
  flex-shrink: 0;
}

.hamburger__logo {
  display: flex;
  align-items: center;
}

.hamburger__logo img {
  height: 23px;
  width: auto;
}

.hamburger__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-dark);
  cursor: pointer;
  flex-shrink: 0;
  transition: color var(--transition-fast);
}

.hamburger__close:hover {
  color: var(--color-red);
}

.hamburger__nav-list {
  display: flex;
  flex-direction: column;
  padding-inline: 20px;
}

.hamburger__nav-link {
  display: block;
  font-family: var(--font-base);
  font-size: var(--fs-md);
  font-weight: var(--fw-regular);
  color: var(--color-dark);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-fast);
}

.hamburger__nav-link:hover,
.hamburger__nav-link.active {
  color: var(--color-red);
}

.hamburger__nav-link--toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.hamburger__nav-arrow {
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.hamburger__nav-item--dropdown.open .hamburger__nav-arrow {
  transform: rotate(180deg);
}

.hamburger__nav-item--dropdown.open .hamburger__nav-link--toggle {
  color: var(--color-red);
}

.hamburger__submenu {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-base);
}

.hamburger__nav-item--dropdown.open .hamburger__submenu {
  grid-template-rows: 1fr;
}

.hamburger__submenu-list {
  overflow: hidden;
  min-height: 0;
}

.hamburger__submenu-link {
  display: block;
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-ultralight);
  color: var(--color-gray);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-fast);
}

.hamburger__submenu-link:hover {
  color: var(--color-red);
}

.hamburger__footer {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: auto;
  padding: var(--space-8) 20px var(--space-10);
}

.hamburger__consult {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: 100%;
  height: 48px;
  padding: 4px 16px;
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--color-white);
  background-color: var(--color-red);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.hamburger__consult img {
  filter: brightness(0) invert(1);
}

.hamburger__consult:hover {
  background-color: var(--color-red-dark);
}

.hamburger__contact {
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--color-gray);
  transition: color var(--transition-fast);
}

.hamburger__contact:hover {
  color: var(--color-red);
}

.hamburger__overlay {
  position: fixed;
  inset: 0;
  z-index: calc(var(--z-hamburger) - 1);
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.hamburger__overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.footer {
  position: relative;
  background-color: var(--color-black-soft);
  color: var(--color-white);
  overflow: hidden;
}

.footer__container {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding: 100px 20px 40px;
}

.footer__top {
  display: flex;
  gap: 160px;
  align-items: flex-start;
  margin-bottom: var(--space-8);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  flex-shrink: 0;
  width: 340px;
}

.footer__logo img {
  height: 40px;
  width: auto;
}

.footer__desc {
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-light);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--lh-base);
}

.footer__socials {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.footer__social:hover {
  opacity: 1;
}

.footer__cols {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  flex: 1;
  min-width: 0;
}

.footer__col--partner {
  flex: 0 0 220px;
}

.footer__col-title {
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-light);
  color: var(--color-white);
  line-height: var(--lh-base);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__nav-link {
  font-family: var(--font-base);
  font-size: var(--fs-xs);
  font-weight: var(--fw-light);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--lh-base);
  transition: color var(--transition-fast);
}

.footer__nav-link:hover {
  color: var(--color-white);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  height: 24px;
}

.footer__contact-item img {
  flex-shrink: 0;
  opacity: 0.5;
}

.footer__contact-link {
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

a.footer__contact-link:hover {
  color: var(--color-white);
}

.footer__partner-text {
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-light);
  color: rgba(255, 255, 255, 0.5);
  line-height: var(--lh-base);
}

.footer__dealer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 4px 32px;
  font-family: var(--font-base);
  font-size: var(--fs-xs);
  font-weight: var(--fw-regular);
  color: var(--color-white);
  background-color: var(--color-red);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background-color var(--transition-fast);
}

.footer__dealer-btn:hover {
  background-color: var(--color-red-dark);
}

.footer__divider {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-8);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.footer__copy,
.footer__privacy {
  font-family: var(--font-base);
  font-size: var(--fs-xs);
  font-weight: var(--fw-light);
  color: rgba(255, 255, 255, 0.4);
  line-height: normal;
}

.footer__privacy {
  transition: color var(--transition-fast);
}

.footer__privacy:hover {
  color: var(--color-white);
}

@media (max-width: 1024px) {
  .footer__top {
    flex-direction: column;
    gap: var(--space-12);
  }

  .footer__brand {
    width: 100%;
  }

  .footer__cols {
    flex-wrap: wrap;
    gap: var(--space-8);
  }

  .footer__col {
    flex: 1 1 180px;
    min-width: 0;
  }

  .footer__col--partner {
    flex: 1 1 180px;
  }

  .footer__contact-link {
    white-space: normal;
    word-break: break-word;
  }
}

@media (max-width: 767px) {
  .footer__container {
    padding: 60px 16px 32px;
  }

  .footer__cols {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
    align-items: flex-start;
  }

  .footer__col {
    flex: 1 1 0;
    min-width: 0;
  }

  .footer__nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
}

.page-main {
  flex: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 26px;
  height: 56px;
  font-family: var(--font-base);
  font-size: var(--fs-md);
  font-weight: var(--fw-light);
  line-height: 1;
  letter-spacing: var(--ls-wide);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast),
              border-color var(--transition-fast), opacity var(--transition-fast);
}

.btn--red {
  background-color: var(--color-red-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
}

.btn--red:hover {
  background-color: rgba(143, 43, 53, 0.6);
}

.btn--outline-dark {
  background-color: transparent;
  color: var(--color-dark);
  border: 1px solid var(--color-dark);
  box-shadow: var(--shadow-btn);
}

.btn--outline-dark:hover {
  background-color: rgba(58, 56, 55, 0.7);
  color: var(--color-white);
}

.btn--outline-white {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid var(--color-white);
  box-shadow: var(--shadow-btn);
}

.btn--outline-white:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.btn--sm-red {
  height: 40px;
  padding: 4px 32px;
  font-size: var(--fs-xs);
  font-weight: var(--fw-regular);
  background-color: var(--color-red);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  letter-spacing: 0;
}

.btn--sm-red:hover {
  background-color: rgba(143, 43, 53, 0.7);
}

.btn--consult {
  height: 46px;
  padding: 4px 16px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--color-red);
  border: 1.2px solid var(--color-red);
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.btn--consult:hover,
.btn--consult.active {
  background-color: var(--color-red);
  color: var(--color-white);
}

.btn-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  height: 48px;
  padding: 4px 32px;
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--color-dark);
  border: 1.2px solid var(--color-gray);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.btn-detail:hover {
  background-color: var(--color-bg-light);
}

.btn-detail--red {
  background-color: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
  box-shadow: var(--shadow-btn);
}

.btn-detail--red:hover {
  background-color: var(--color-red-dark);
}

.btn-detail--red-outline {
  color: var(--color-red);
  border-color: var(--color-red);
  background-color: transparent;
}

.btn-detail--red-outline:hover {
  background-color: var(--color-red);
  color: var(--color-white);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--color-red);
  line-height: var(--lh-loose);
  white-space: nowrap;
  transition: gap var(--transition-base);
}

.link-more:hover {
  gap: 18px;
}

.link-more__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  filter: brightness(0) saturate(100%) invert(20%) sepia(70%) saturate(900%) hue-rotate(320deg) brightness(90%);
}

.cat-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: rgba(0, 0, 0, 0.5);
  background-color: var(--color-bg-light);
  border-radius: var(--radius-xs);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.cat-tab:hover {
  background-color: var(--color-bg-fill);
  color: var(--color-black);
}

.cat-tab.active {
  background-color: var(--color-red);
  color: var(--color-white);
}

.power-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 10px 7px;
  font-family: var(--font-base);
  font-size: var(--fs-xs);
  font-weight: var(--fw-light);
  color: var(--color-gray);
  background-color: var(--color-bg-light);
  border-radius: var(--radius-xs);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.power-tag:hover {
  background-color: var(--color-red-muted);
  color: var(--color-red);
}

.power-tag.active {
  background-color: var(--color-red);
  color: var(--color-white);
}

.btn-reset {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 36px;
  padding: 4px 32px;
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-light);
  color: var(--color-gray);
  border: 1.2px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.btn-reset:hover {
  background-color: var(--color-bg-light);
  color: var(--color-dark);
}

.checkbox {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

.checkbox__input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox__box {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  border: 1px solid var(--color-border);
  background-color: var(--color-white);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.checkbox:hover .checkbox__box {
  border-color: var(--color-red);
}

.checkbox__input:checked ~ .checkbox__box {
  background-color: var(--color-red);
  border-color: var(--color-red);
}

.checkbox__input:checked ~ .checkbox__box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 7px;
  transform: translate(-50%, -55%);
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='7' viewBox='0 0 10 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 3L4 6L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.spec {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: var(--space-2);
  background-color: var(--color-bg-light);
  border-radius: var(--radius-sm);
}

.spec__label {
  font-family: var(--font-base);
  font-size: var(--fs-15);
  font-weight: var(--fw-ultralight);
  color: var(--color-gray);
  line-height: var(--lh-base);
}

.spec__value {
  font-family: var(--font-base);
  font-size: var(--fs-15);
  font-weight: var(--fw-regular);
  color: var(--color-black);
  line-height: var(--lh-base);
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
  padding: var(--space-6);
  background-color: var(--color-white);
  border: 1px solid rgba(115, 115, 115, 0.2);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover,
.product-card.active {
  border-color: var(--color-red);
  box-shadow: var(--shadow-card);
}

.product-card__image {
  position: relative;
  height: 360px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card__image img {
  width: 294px;
  height: 360px;
  /* Product shots are portrait and vary in aspect ratio (some very tall);
     `cover` cropped them inside the fixed 360px box. `contain` fits the whole
     product within the box (centred, letterboxed) — matching the catalog grid
     card (.catalog-card__img-wrap), which already uses contain. */
  object-fit: contain;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.product-card__title {
  font-family: var(--font-base);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--color-dark);
  line-height: var(--lh-snug);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(var(--fs-md) * var(--lh-snug) * 2);
}

.product-card__desc {
  font-family: var(--font-base);
  font-size: var(--fs-15);
  font-weight: var(--fw-ultralight);
  color: var(--color-gray);
  line-height: var(--lh-base);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(var(--fs-15) * var(--lh-base) * 3);
}

.product-card__specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card__specs-row {
  display: flex;
  gap: 10px;
}

.product-card__specs-row .spec {
  flex: 1;
  min-width: 0;
}

.product-card__actions {
  display: flex;
  gap: 10px;
}

.product-card__actions .btn-detail,
.product-card__actions .btn-detail--red {
  flex: 1;
}

.tab-card {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background-color: var(--color-bg-fill);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  cursor: pointer;
  text-align: left;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.tab-card__inner {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.tab-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  padding: 10px;
  background-color: var(--color-red-light);
  border-radius: var(--radius-md);
  font-family: var(--font-base);
  font-size: var(--fs-md);
  font-weight: var(--fw-medium);
  color: var(--color-red);
  line-height: var(--lh-tight);
}

.tab-card__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex: 1;
  min-width: 0;
}

.tab-card__title {
  font-family: var(--font-base);
  font-size: var(--fs-md);
  font-weight: var(--fw-bold);
  color: var(--color-dark);
  line-height: 1;
}

.tab-card__text {
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-ultralight);
  color: var(--color-gray);
  line-height: var(--lh-base);
}

.tab-card:hover {
  background-color: var(--color-white);
  border-color: var(--color-red-light);
}

.tab-card.active {
  background-color: var(--color-white);
  border-color: var(--color-red);
}

.step {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  align-items: center;
  padding-bottom: var(--space-4);
  width: 330px;
}

.step__header {
  display: flex;
  align-items: center;
  width: 100%;
}

.step__line {
  flex: 1;
  height: 1px;
  background-color: var(--color-border);
}

.step__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-red);
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--color-red);
  line-height: var(--lh-base);
}

.step__circle--filled {
  background-color: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 0 0 10px var(--color-red-light);
}

.step__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-start;
  padding-inline: var(--space-4);
  width: 100%;
  text-align: center;
}

.step__title {
  font-family: var(--font-base);
  font-size: var(--fs-md);
  font-weight: var(--fw-regular);
  color: var(--color-black);
  line-height: var(--lh-tight);
  width: 100%;
}

.step__text {
  font-family: var(--font-base);
  font-size: var(--fs-15);
  font-weight: var(--fw-ultralight);
  color: var(--color-black);
  line-height: var(--lh-base);
  width: 100%;
}

.news-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  background-color: var(--color-bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
}

.news-card:hover {
  box-shadow: var(--shadow-card);
}

.news-card__image {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.news-card:hover .news-card__image img {
  transform: scale(1.04);
}

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding: 0 var(--space-4) var(--space-6);
}

.news-card__title {
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-medium);
  color: var(--color-dark);
  line-height: var(--lh-snug);
}

.news-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}

.news-card__date {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-ultralight);
  color: var(--color-dark);
  line-height: var(--lh-base);
}

.news-card__date-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.news-card__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  height: 48px;
  padding: 10px;
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--color-dark-1);
  letter-spacing: var(--ls-wide);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-red);
  transition: opacity var(--transition-fast);
  white-space: nowrap;
}

.news-card__btn:hover {
  opacity: 0.8;
}

.slider-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background-color: var(--color-white);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  overflow: hidden;
}

.slider-arrow--inactive {
  background-color: rgba(115, 115, 115, 0.3);
}

.slider-arrow img {
  width: 10px;
  height: 16px;
}

.pagination-dots {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.pagination-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: var(--color-border);
  transition: width var(--transition-base), background-color var(--transition-base);
}

.pagination-dot.active {
  width: 30px;
  background-color: var(--color-red);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.breadcrumb__item {
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-light);
  color: var(--color-gray);
  line-height: var(--lh-base);
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.breadcrumb__item.active {
  color: var(--color-red);
}

.btn-doc {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  height: 48px;
  padding: 4px 24px;
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--color-dark);
  border: 1.2px solid rgba(58, 56, 55, 0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  white-space: nowrap;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.btn-doc:hover {
  border-color: var(--color-dark);
  background-color: var(--color-bg-light);
}

.btn-doc--red {
  color: var(--color-red);
  border-color: rgba(143, 43, 53, 0.4);
}

.btn-doc--red:hover {
  border-color: var(--color-red);
  background-color: var(--color-red-muted);
}

.btn-doc__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--color-red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: var(--lh-base);
}

.section-label--light {
  color: var(--color-white);
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 4px 16px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex: 1;
  height: 358px;
  padding: 10px;
  background-color: var(--color-bg-light);
  border-radius: var(--radius-lg);
  text-align: center;
}

.stat-card__number {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  color: var(--color-red);
  line-height: 1;
  letter-spacing: var(--ls-hero);
  text-transform: uppercase;
}

.stat-card__label {
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--color-dark);
  line-height: var(--lh-base);
}

.heading-hero {
  font-family: var(--font-heading);
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  line-height: var(--lh-none);
  letter-spacing: var(--ls-hero);
  text-transform: uppercase;
  color: var(--color-red);
}

.heading-section {
  font-family: var(--font-base);
  font-size: var(--fs-4xl);
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-heading);
  text-transform: uppercase;
  color: var(--color-dark);
}

.heading-sub {
  font-family: var(--font-base);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-medium);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-heading);
  text-transform: uppercase;
  color: var(--color-dark);
}

.heading-title {
  font-family: var(--font-base);
  font-size: var(--fs-2xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-base);
  color: var(--color-dark);
}

.heading-card {
  font-family: var(--font-base);
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
  color: var(--color-black);
}

.text-body {
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-ultralight);
  line-height: var(--lh-base);
  color: var(--color-dark);
}

.text-muted {
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-ultralight);
  line-height: var(--lh-base);
  color: var(--color-gray);
}

@media (max-width: 1312px) {
  .header__nav {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  /* Burger nav takes over here; the header language switcher would otherwise
     compete with the burger for horizontal space and (with flex-shrink:0 +
     nowrap) push the burger off-screen on narrow viewports. Language switching
     moves into the hamburger footer (.lang-switcher--mobile). Selector is
     scoped to .header__controls so it outranks the base .lang-switcher rule
     defined later in the file. */
  .header__controls .lang-switcher--header {
    display: none;
  }

  .mega-menu {
    display: none;
  }
}

@media (max-width: 1024px) {
  .mega-menu__inner {
    padding: 20px 40px;
    gap: 12px;
  }

  .mega-menu__card {
    height: 260px;
    padding: 20px;
  }
}

@media (max-width: 1024px) {
  :root {
    --fs-hero: 3rem;
    --fs-4xl: 2.75rem;
    --fs-3xl: 2rem;
  }

  .top-bar__contacts {
    gap: var(--space-4);
  }
}

@media (max-width: 767px) {
  :root {
    --fs-hero: 2.25rem;
    --fs-4xl: 2rem;
    --fs-3xl: 1.625rem;
    --fs-2xl: 1.25rem;
  }

  .container {
    padding-inline: 16px;
  }

  .top-bar__contact:last-child {
    display: none;
  }

  .top-bar__inner {
    padding-inline: 16px;
  }

  .header__inner {
    padding-inline: 16px;
  }

  .header__actions {
    display: none;
  }

  .step {
    width: 100%;
  }

  .product-card__specs-row {
    flex-wrap: wrap;
  }

  .btn {
    font-size: var(--fs-base);
    height: 48px;
    padding: 10px 20px;
  }
}

/* ─── Dealer CTA ─────────────────────────────────────────────── */

.dealer-cta {
  position: relative;
  padding: 120px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--color-dark);
}

.dealer-cta .container {
  position: relative;
  z-index: 1;
}

.dealer-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  max-width: 1080px;
  margin-inline: auto;
}

.dealer-cta__title {
  font-family: var(--font-base);
  font-size: var(--fs-3xl);
  font-weight: var(--fw-medium);
  color: var(--color-white);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-heading);
  text-transform: uppercase;
}

.dealer-cta__desc {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--color-white);
  line-height: var(--lh-base);
}

.dealer-cta__btn {
  height: 60px;
  padding: 14px 26px;
  font-size: var(--fs-md);
}

.dealer-cta__contact {
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  color: var(--color-white);
  line-height: var(--lh-loose);
}

.dealer-cta__email {
  color: var(--color-white);
  text-decoration: underline;
  transition: opacity var(--transition-fast);
}

.dealer-cta__email:hover {
  opacity: 0.8;
}

@media (max-width: 767px) {
  .dealer-cta {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .dealer-cta {
    padding: 40px 0;
  }
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.popup-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.popup-consult {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 1120px;
  border-radius: 24px;
  overflow: hidden;
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.popup-overlay.open .popup-consult {
  transform: translateY(0);
}

/* Single-panel order popup ("Залишити заявку" from catalog cards). Reuses the
   shared .popup__form / .popup__field / .popup__consent / .popup__submit styles;
   only the container + heading need their own rules (no left photo panel). */
.popup-order {
  position: relative;
  width: 100%;
  max-width: 480px;
  background-color: #f3f3f3;
  border-radius: 24px;
  padding: 56px 48px 48px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(16px);
  transition: transform 0.25s ease;
}

.popup-overlay.open .popup-order {
  transform: translateY(0);
}

.popup-order__head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

/* Success message shown in place of a popup form after a successful submit
   (consult .popup__right and order .popup-order both use this). */
.popup__success {
  font-family: var(--font-base);
  font-size: 18px;
  font-weight: var(--fw-medium);
  color: var(--color-dark);
  text-align: center;
  padding: 32px 8px;
  line-height: var(--lh-base);
}

.popup__left {
  position: relative;
  flex: 0 0 464px;
  background-color: var(--color-white);
  background-image: url('/theme-assets/sunwoda/img/popup-bg.webp');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 60px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.popup__left-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.popup__texts {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.popup__title {
  font-family: var(--font-base);
  font-size: 32px;
  font-weight: var(--fw-regular);
  color: var(--color-dark);
  line-height: 1.3;
}

.popup__desc {
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  color: var(--color-dark);
  line-height: var(--lh-base);
}

.popup__benefits {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.popup__benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  color: var(--color-dark);
  line-height: var(--lh-base);
}

.popup__right {
  position: relative;
  flex: 1;
  min-width: 0;
  background-color: #f3f3f3;
  padding: 60px;
  overflow-y: auto;
}

.popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #333;
  transition: background-color var(--transition-fast);
}

.popup__close:hover {
  background-color: rgba(0, 0, 0, 0.08);
}

.popup__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.popup__fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup__field {
  position: relative;
  display: flex;
  align-items: center;
}

.popup__field-icon {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.popup__field--textarea .popup__field-icon {
  top: 20px;
  transform: none;
}

.popup__field-input {
  width: 100%;
  height: 50px;
  padding: 10px 24px 10px 50px;
  background-color: var(--color-white);
  border: 1px solid #e7ebf0;
  border-radius: var(--radius-md);
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  color: var(--color-dark);
  transition: border-color var(--transition-fast);
}

.popup__field-input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

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

.popup__field-textarea {
  width: 100%;
  height: 160px;
  padding: 20px 24px;
  background-color: var(--color-white);
  border: 1px solid #e7ebf0;
  border-radius: var(--radius-md);
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-light);
  color: var(--color-dark);
  resize: vertical;
  transition: border-color var(--transition-fast);
}

.popup__field-textarea::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.popup__field-textarea:focus {
  border-color: var(--color-red);
  outline: none;
}

.popup__submit-area {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.popup__consent {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-light);
  color: var(--color-dark);
  line-height: var(--lh-base);
  cursor: pointer;
}

.popup__consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  accent-color: var(--color-red);
  cursor: pointer;
}

.popup__consent-link {
  color: var(--color-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.popup__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  background-color: var(--color-red);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 5px rgba(115, 26, 26, 0.1);
  font-family: var(--font-base);
  font-size: var(--fs-base);
  font-weight: var(--fw-regular);
  color: var(--color-white);
  letter-spacing: 0.32px;
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

.popup__submit:hover {
  background-color: #6e1f28;
}

@media (max-width: 1024px) {
  .popup__left {
    flex: 0 0 340px;
    padding: 40px;
  }

  .popup__right {
    padding: 40px;
  }
}

@media (max-width: 767px) {
  .popup-consult {
    flex-direction: column;
    max-width: 90%;
    max-height: 88vh;
    overflow-y: auto;
    border-radius: 16px;
  }

  .popup__left {
    flex: none;
    padding: 32px 24px 24px;
  }

  .popup__right {
    padding: 24px 20px 32px;
    overflow-y: visible;
  }

  .popup-order {
    max-width: 90%;
    padding: 40px 20px 28px;
    border-radius: 16px;
  }

  .popup__title {
    font-size: 24px;
  }
}

/* CMS wiring (added on import, pass 3): success message shown in place of an
   inline CMS form after a successful AJAX submit. */
.form-success__message {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  padding: 32px 16px;
}

/* ── CMS wiring: intl-tel-input on phone fields (added with /aif-fix) ──
   The plugin wraps each input[type=tel] in a .iti container and renders
   its own flag / dial-code button at the left edge of the input, so the
   theme's decorative phone icon is hidden to avoid overlap. */
.iti {
  width: 100%;
}

.popup__field:has(.iti) .popup__field-icon,
.contact-field:has(.iti) .contact-field__icon {
  display: none;
}

input.phone-intl-invalid {
  border-color: #e23838 !important;
}

.phone-intl-error {
  display: block;
  font-size: 12px;
  line-height: 1.3;
  color: #e23838;
}

/* popup / contact fields are horizontal flex rows — anchor the error
   below the input; the partner .form-field is a column, normal flow. */
.popup__field .phone-intl-error,
.contact-field .phone-intl-error {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 2px;
}

/* ─── Language switcher (header / footer / mobile) ───────────────── */

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.lang-switcher__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  font-family: var(--font-base);
  font-size: var(--fs-sm);
  font-weight: var(--fw-regular);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background-color var(--transition-fast);
}

.lang-switcher__link:hover {
  color: var(--color-red);
}

.lang-switcher__link.is-active {
  color: var(--color-white);
  background-color: var(--color-red);
  font-weight: var(--fw-medium);
  pointer-events: none;
}

/* Footer variant — sits on the dark footer background. */
.lang-switcher--footer .lang-switcher__link {
  color: rgba(255, 255, 255, 0.55);
}

.lang-switcher--footer .lang-switcher__link:hover {
  color: var(--color-white);
}

.lang-switcher--footer .lang-switcher__link.is-active {
  color: var(--color-white);
  background-color: var(--color-red);
}

/* Mobile variant — inside the hamburger footer. */
.lang-switcher--mobile {
  margin-top: var(--space-2);
}
