/* Цвета и градиенты */
:root {
    /* Color */
    --Bg-Liposom-Background: #eff4ff;
    --Blue-0: #d5e1f9;
    --Blue-01: #d5e1f9;
    --Blue-10: #E5EDFF;
    --Blue-20: #ECF2FF;
    --Blue-100: #b9cdf6;
    --Blue-150: #a8c1f0;
    --Blue-200: #94abd3;
    --Blue-300: #597eb3;
    --Blue-400: #005de0;
    --Blue-600: #416CAD;
    --Blue-700: #1f406e;
    --Blue-800: #0f284b;
    --Blue-7001: #1f406e;
    --Blue-7002: #1f406e;
    --Blue-8001: #0f284b;
    --Btn-Default: #005de0;
    --color-midnightblue: rgba(0, 41, 121, 0.14);
    --color-white: #fff;
    --Other-Grey: #8f9eb4;
    --Other-White: #fcfdff;

    /* Button States */
    --Btn-Primary-Default: #005de0;
    --Btn-Primary-Hover-Start: #005de0;
    --Btn-Primary-Hover-End: #005de0;
    --Btn-Primary-Pressed-Start: #005de0;
    --Btn-Primary-Pressed-End: #0b3675;
    --Btn-Primary-Disabled-Dark: #9DA1A7;
    --Btn-Primary-Disabled-Light: #E0E1E4;
    --Btn-Primary-Text-Disabled: #A0A4AD;
    --Blue-50: #EFF4FF;

    /* Gradients */
    --Bg-Card-1: linear-gradient(163.73deg, #bcdbff, #ded7ff);
    --Bg-Card-2: linear-gradient(239.86deg, #7ac1fa, #d6d5fb);
    --Other-Bg-Header: linear-gradient(
            90.36deg,
            rgba(255, 255, 255, 0.5),
            rgba(243, 243, 243, 0.5)
    );
    --Other-Logo-Home-Page: linear-gradient(
            135deg,
            var(--Btn-Default),
            #00327a
    );
}
/* Отступы и радиусы */
:root {
    /* Gap */
    --gap-0: 0rem;
    --gap-2: 0.125rem;
    --gap-4: 0.25rem;
    --gap-5: 0.312rem;
    --gap-8: 0.5rem;
    --gap-10: 0.625rem;
    --gap-12: 0.75rem;
    --gap-16: 1rem;
    --gap-20: 1.25rem;
    --gap-24: 1.5rem;
    --gap-32: 2rem;

    /* Padding */
    --padding-0: 0;
    --padding-4: 0.25rem;
    --padding-6: 0.375rem;
    --padding-8: 0.5rem;
    --padding-10: 0.625rem;
    --padding-12: 0.75rem;
    --padding-16: 1rem;
    --padding-20: 1.25rem;
    --padding-24: 1.5rem;
    --padding-32: 2rem;
    --padding-34: 2.25rem;
    --padding-36: 2.375rem;
    --padding-38: 2.5rem;
    --padding-39: 2.75rem;
    --padding-40: 3rem;

    /* BorderRadius */
    --br-8: 8px;
    --br-16: 16px;
    --br-32: 32px;
    --br-48: 48px;
    --br-50: 50%;

    /* WidthHeights */
    --height-20: 1.25rem;
    --height-28: 1.75rem;
    --height-32: 2rem;
    --height-42: 2.625rem;
    --width-20: 1.25rem;
    --width-28: 1.75rem;
    --width-32: 2rem;
}
/* Шрифты и типографика */
:root {
    /* Font */
    --font-montserrat: Montserrat;

    /* FontSize - дополнено согласно Typography system Web */
    --fs-8: 0.5rem;         /* Input */
    --fs-12: 0.75rem;       /* Body S */
    --fs-14: 0.875rem;      /* Body XS */
    --fs-16: 1rem;          /* Body XL, Body L, Body M */
    --fs-18: 1.125rem;      /* From articles */
    --fs-20: 1.25rem;       /* Subtitle 2, Button M */
    --fs-24: 1.5rem;        /* Button L */
    --fs-28: 1.75rem;       /* H5, Subtitle 1 */
    --fs-30: 1.875rem;      /* H4 */
    --fs-36: 2.25rem;       /* H3 */
    --fs-72: 4.5rem;        /* H2 */
    --fs-90: 5.625rem;      /* H1 */
    --fs-140: 8.75rem;      /* SH */

    /* LineHeights - дополнено согласно Typography system Web */
    --lh-8: 0.5rem;         /* Input */
    --lh-16: 1rem;          /* Body S */
    --lh-18: 1.125rem;      /* Body XS */
    --lh-20: 1.25rem;       /* Body XL, Button S */
    --lh-22: 1.375rem;      /* From articles */
    --lh-24: 1.5rem;        /* Body L, Body M */
    --lh-26: 1.625rem;      /* Subtitle 2, Button M */
    --lh-28: 1.75rem;       /* Subtitle 2, Button L */
    --lh-30: 1.875rem;      /* H5 */
    --lh-34: 2.125rem;      /* H4, Subtitle 1 */
    --lh-44: 2.75rem;       /* H3 */
    --lh-72: 4.5rem;        /* H2 */
    --lh-90: 5.625rem;      /* H1 */
    --lh-140: 8.75rem;      /* SH */

    /* LetterSpacings - дополнено согласно Typography system Web */
    --ls-0: 0em;            /* H2, H3, H4, H5, Subtitle1, Subtitle2, Body, Button L */
    --ls--0_03: -0.03em;    /* SH, H1, Button M, Button S */
    --ls--0_05: -0.05em;    /* H5 */
    --ls--0_08: -0.08em;    /* H4 */

    /* Font Weights */
    --fw-regular: 400;      /* H4, H5, Subtitle2, Body */
    --fw-medium: 500;       /* Subtitle1 */
    --fw-semibold: 600;     /* SH, H1, H2, H3, Body XL, Button */

    /* Borders */
    --border-1: none;

    /* Breakpoints */
    --bp-xs: 320px;
    --bp-sm: 480px;
    --bp-md: 768px;
    --bp-lg: 1024px;
    --bp-xl: 1280px;
    --bp-xxl: 1440px;
}
/* Базовый reset */
*, *::before, *::after {
    box-sizing: border-box;
}
/* Базовые стили элементов */
body {
    margin: 0;
    font-family: var(--font-montserrat, "Montserrat", sans-serif);
    line-height: var(--lh-24);
    color: var(--Blue-800);
    background-color: var(--Bg-Liposom-Background);
}
/* Base Typography & Utility Classes */
/* --- Headings --- */
h1, .text-h1 {
    font-size: var(--fs-90);
    line-height: var(--lh-90);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls--0_03);
}
h2, .text-h2 {
    font-size: 36px;
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-0);
}
h3, .text-h3 {
    font-size: var(--fs-36);
    line-height: var(--lh-44);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-0);
}
h4, .text-h4 {
    font-size: var(--fs-30);
    line-height: var(--lh-34);
    font-weight: var(--fw-regular);
    letter-spacing: var(--ls--0_08);
    text-transform: uppercase;
}
h5, .text-h5 {
    font-size: var(--fs-28);
    line-height: var(--lh-30);
    font-weight: var(--fw-regular);
    letter-spacing: var(--ls--0_05);
    text-transform: uppercase;
}
h6, .text-h6 {
    /* H6 is not defined in the typography system, using H5 as a base */
    font-size: var(--fs-28);
    line-height: var(--lh-30);
    font-weight: var(--fw-regular);
}
/* --- Subtitles --- */
.text-subtitle-1 {
    font-size: var(--fs-28);
    line-height: var(--lh-34);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls-0);
    text-transform: uppercase;
}
.text-subtitle-2 {
    font-size: var(--fs-20);
    line-height: var(--lh-28);
    font-weight: var(--fw-regular);
    letter-spacing: var(--ls-0);
}
/* --- Body Text --- */
.text-body-xl {
    font-size: var(--fs-16);
    line-height: var(--lh-20);
    font-weight: var(--fw-semibold);
}
.text-body-l {
    font-size: var(--fs-16);
    line-height: var(--lh-24);
    font-weight: var(--fw-medium);
}
.text-body-m {
    font-size: var(--fs-16);
    line-height: var(--lh-24);
    font-weight: var(--fw-regular);
}
.text-body-xs {
    font-size: var(--fs-14);
    line-height: var(--lh-18);
    font-weight: var(--fw-regular);
}
.text-body-s {
    font-size: var(--fs-12);
    line-height: var(--lh-16);
    font-weight: var(--fw-regular);
}
/* --- Buttons --- */
.text-btn-l {
    font-size: var(--fs-24);
    line-height: var(--lh-28);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-0);
}
.text-btn-m {
    font-size: var(--fs-20);
    line-height: var(--lh-26);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls--0_03);
}
.text-btn-s {
    font-size: var(--fs-16);
    line-height: var(--lh-20);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls--0_03);
}
/* --- Input --- */
.text-input {
    font-size: var(--fs-8);
    line-height: var(--lh-8);
    font-weight: var(--fw-regular);
}
/* Page wrapper splits background and content for sticky layouts */
.page-wrapper {
    position: relative;
    min-height: 100vh;
}
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.bg-liposom-icon {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
}
.page-wrapper .layout {
    position: relative;
    z-index: 1;
}
/* ���⥩���� � layout */
.layout {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}
/* ��騩 ���⥩���-������� ��� ��� ᥪ権 */
.content-wrapper {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: var(--padding-32);
    box-sizing: border-box;
    z-index: 1;
}
/* �����蠥� �������� �� �������� */
@media (max-width: 767px) {
    .content-wrapper {
        padding: var(--padding-16);
    }
}
/* #B8;8BK :=>?>: */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--br-32);
    padding: var(--padding-6) var(--padding-16);
    font-weight: 600;
    font-size: var(--fs-20);
    line-height: var(--lh-26);
    cursor: pointer;
    border: var(--border-1);
    font-family: var(--font-montserrat);
}
.btn-pill--light {
    background: var(--Btn-Primary-Default);
    color: var(--Other-White);
    border: none;
    transition: color 0.3s ease, transform 0.1s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.btn-pill--light::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--Btn-Primary-Hover-Start) 0%, var(--Btn-Primary-Hover-End) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}
.btn-pill--light:hover:not(:disabled):not(.is-disabled):not(.is-active)::before {
    opacity: 1;
}
.btn-pill--light:active:not(:disabled):not(.is-disabled),
.btn-pill--light.is-active {
    background: linear-gradient(90deg,
    var(--Btn-Primary-Pressed-Start) 0%,
    var(--Btn-Primary-Pressed-End) 100%);
    transform: translateY(1px);
    color: var(--Other-White);
}
.btn-pill--primary {
    background: var(--Btn-Primary-Default);
    color: var(--Other-White);
    border: none;
    transition: background 0.2s ease, transform 0.1s ease;
}
.btn-pill--primary:hover:not(:disabled):not(.is-disabled) {
    background: linear-gradient(135deg,
    var(--Btn-Primary-Hover-Start) 0%,
    var(--Btn-Primary-Hover-End) 100%);
    color: var(--Other-White);
}
.btn-pill--primary:active:not(:disabled):not(.is-disabled),
.btn-pill--primary.is-pressed {
    background: linear-gradient(90deg,
    var(--Btn-Primary-Pressed-Start) 0%,
    var(--Btn-Primary-Pressed-End) 100%);
    transform: translateY(1px);
    color: var(--Other-White);
}
.btn-pill--primary.is-disabled-dark,
.btn-pill--primary:disabled {
    background: var(--Btn-Primary-Disabled-Dark);
    color: var(--Btn-Primary-Text-Disabled);
    cursor: not-allowed;
    box-shadow: none;
}
.btn-pill--primary.is-disabled-light {
    background: var(--Btn-Primary-Disabled-Light);
    color: var(--Btn-Primary-Text-Disabled);
    cursor: not-allowed;
    box-shadow: none;
}
/* Primary Button Class */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--padding-12) var(--padding-32);
    border-radius: var(--br-32);
    font-weight: 600;
    font-size: var(--fs-20);
    line-height: var(--lh-26);
    border: none;
    background: var(--Btn-Primary-Default);
    color: var(--Other-White);
    font-family: var(--font-montserrat);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}
.btn-primary:hover:not(:disabled):not(.is-disabled) {
    background: linear-gradient(135deg,
    var(--Btn-Primary-Hover-Start) 0%,
    var(--Btn-Primary-Hover-End) 100%);
    color: var(--Other-White);
}
.btn-primary:active:not(:disabled):not(.is-disabled),
.btn-primary.is-pressed {
    background: linear-gradient(90deg,
    var(--Btn-Primary-Pressed-Start) 0%,
    var(--Btn-Primary-Pressed-End) 100%);
    transform: translateY(1px);
    color: var(--Other-White);
}
.btn-primary.is-disabled-dark,
.btn-primary:disabled {
    background: var(--Btn-Primary-Disabled-Dark);
    color: var(--Btn-Primary-Text-Disabled);
    cursor: not-allowed;
    box-shadow: none;
}
.btn-primary.is-disabled-light {
    background: var(--Btn-Primary-Disabled-Light);
    color: var(--Btn-Primary-Text-Disabled);
    cursor: not-allowed;
    box-shadow: none;
}
/* Компонент header */
.header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    box-sizing: border-box;
    text-align: left;
    font-size: var(--fs-14);
    color: var(--Btn-Default);
    font-family: var(--font-montserrat);
}
.hero__header,
.header__container {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.hero__header {
    backdrop-filter: blur(4px);
    border-radius: 45px;
    background: var(--Other-Bg-Header);
    overflow: hidden;
    padding: var(--padding-16) var(--padding-24);
}
.header__container {
    flex: 1;
    gap: var(--gap-0);
}
.header__logo {
    width: 8rem;
    position: relative;
    display: block;
}
.header-nav {
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--gap-8);
}
.header-nav__item {
    cursor: pointer;
    border: var(--border-1);
    padding: var(--padding-6) var(--padding-16);
    background: #d5e1f9; /* New background color */
    border-radius: var(--br-16);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease, transform 0.1s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
/* Общий контейнер для градиентного ховера, чтобы применить его и к ЛК */
.header-nav__item::before,
.header__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0057d3 0%, #01429f 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
    border-radius: var(--br-16); /* Наследуем скругление */
}
/* Показываем градиент при наведении */
.header-nav__item:hover::before,
.header__cta:hover::before {
    opacity: 1;
}
/* Убираем старый :active, чтобы не конфликтовать с .is-active */
.header-nav__item:active {
    transform: translateY(1px);
}
/* Стиль для активной кнопки (текущая страница) */
.header-nav__item.is-active {
    background: linear-gradient(135deg, #0f57bf 0%, #0b3676 100%);
}
/* --- Стили текста --- */
/* Убираем подчеркивание у ссылок в хэдере */
a.header-nav__item,
a.header__cta {
    text-decoration: none;
}
/* Добавляем позиционирование для кнопки ЛК, чтобы ховер-эффект работал корректно */
.header__cta {
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.header-nav__text {
    position: relative;
    font-size: var(--fs-16);
    line-height: var(--lh-20);
    font-weight: 500;
    font-family: var(--font-montserrat);
    color: #0f284b; /* New text color */
    text-align: center;
    transition: color 0.3s ease;
}
.header__button-text {
    font-size: var(--fs-16);
    line-height: var(--lh-20);
    font-weight: 500;
    font-family: var(--font-montserrat);
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* Белый цвет текста при наведении и для активной кнопки */
.header-nav__item:hover .header-nav__text,
.header-nav__item.is-active .header-nav__text,
.header__cta:hover .header__button-text /* Добавлено для ЛК */
{
    color: var(--Other-White);
}
/* Бургер-кнопка */
.menu-toggle {
    display: none;
    width: var(--width-42, 2.625rem);
    height: var(--height-42);
    border-radius: var(--br-50);
    background-color: var(--Other-White);
    border: var(--border-1);
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.menu-toggle:active {
    transform: scale(0.95);
}
.menu-toggle__icon {
    width: auto;
    height: auto;
}
/* Компонент hero */
.hero {
    align-self: stretch;
    position: relative;
    border-radius: var(--br-48);
    background-color: var(--Blue-0);
    overflow: hidden;
    flex-shrink: 0;
}
.hero__container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    padding: var(--padding-32); /* единообразный padding для всего контента */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between; /* разносим top и certifications */
    text-align: left;
    font-size: clamp(3.875rem, 12vw, 8.75rem); /* 62px -> 140px, увеличен коэффициент */
    color: var(--Blue-800);
    font-family: var(--font-montserrat);
    padding-top: 2rem; /* постоянный отступ от header */
    flex: 1; /* занимаем всю доступную высоту */
    position: relative;
    z-index: 100;
}
.hero__content-top {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-32);
}
.hero__title-wrapper {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.hero__title {
    width: 100%;
    position: relative;
    letter-spacing: var(--ls--0_03);
    font-weight: 600;
    background: var(--Other-Logo-Home-Page);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    flex-shrink: 0;
}
.hero__title-main {
    line-height: clamp(3.875rem, 12vw, 8.75rem); /* 62px -> 140px, увеличен коэффициент для средних экранов */
    display: inline;
}
.hero__title-sub {
    font-size: clamp(2.5rem, 7.5vw, 5.625rem); /* 40px -> 90px, увеличен коэффициент */
    line-height: clamp(2.5rem, 7.5vw, 5.625rem);
    display: inline;
}
.hero__subtitle-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-8);
}
/* Hero subtitles */
.hero__subtitle-primary {
    font-family: var(--font-montserrat);
    color: var(--Blue-800);
    margin: 0;
}
.hero__subtitle-secondary {
    font-family: var(--font-montserrat);
    color: var(--Blue-800);
    margin: 0;
}
/* Декорация hero секции */
.hero__decoration {
    position: absolute;
    height: 248.92%;
    width: 198.27%;
    top: -107.48%;
    right: -14.97%;
    bottom: -41.44%;
    left: -83.31%;
    pointer-events: none; /* не блокировать клики по меню */
}
.hero__decoration-image {
    position: absolute;
    top: 38.438rem;
    left: 79.813rem;
    width: 57.938rem;
    height: auto;
    -o-object-fit: cover;
    object-fit: cover;
    transition: left 0.3s ease, top 0.3s ease, width 0.3s ease;
}
/* ><?>=5=B A5@B8D8:0F89 */
.certifications {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: flex-start; /* прижимаем к левому краю */
    gap: var(--gap-4);
    color: var(--Blue-700);
}
.certifications__description {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.certifications__caption {
    width: 21.75rem;
    position: relative;
    line-height: var(--lh-18);
    font-size: var(--fs-14);
    display: inline-block;
    margin-block-start: 0;
    margin-block-end: 12px;
}
.certifications__note {
    width: 21.75rem;
    position: relative;
    line-height: var(--lh-18);
    font-size: var(--fs-14);
    display: inline-block;
    margin-block-start: 0;
    margin-block-end: 0;
}
.certifications__logos {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
.certifications__list {
    display: flex;
    align-items: center;
    gap: var(--gap-32); /* используем переменную вместо clamp */
    margin-bottom: var(--padding-24);
}
.certifications__logo {
    position: relative;
    height: auto;
    flex-shrink: 1;
}
.certifications__logo--haccp {
    width: clamp(4rem, 7vw, 8rem); /* min: 64px -> max: 128px */
}
.certifications__logo--fda {
    width: clamp(7rem, 12vw, 14rem); /* min: 112px -> max: 224px */
}
.certifications__logo--gmp {
    width: clamp(3.5rem, 6vw, 6.5rem); /* min: 56px -> max: 104px */
}
.certifications__logo--iso {
    width: clamp(3rem, 5vw, 5.5rem); /* min: 48px -> max: 88px */
}
/* ><?>=5=B 2845>-30;5@58 */
.video-gallery {
    align-self: stretch;
    padding: 0;
    gap: var(--gap-32);
    z-index: 2;
    text-align: left;
    font-size: var(--fs-72);
    color: var(--Blue-800);
    font-family: var(--font-montserrat);
    overflow: hidden; /* Prevent horizontal overflow */
}
.video-gallery__header {
    padding: 0;
}
.video-gallery__list {
    --end-gap: max(0px, calc(50vw - 40rem + var(--padding-32) + 64px));
    --start-gap: var(--end-gap); /* B0:>9 65 >BABC? A;520 */

    display: flex;
    align-items: center;
    gap: 1.563rem; /* Фиксированный gap 25px (1.563rem) */
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100vw; /* =0 2AN H8@8=C M:@0=0 */
    margin-left: calc(var(--start-gap) * -1); /* :><?5=A8@C5< ;52K9 >BABC? */
    padding-left: var(--start-gap); /* 4>102;O5< ;52K9 >BABC? */
    scroll-padding-inline-start: var(--start-gap);
    scroll-padding-inline-end: var(--end-gap);
}
/* 8@BC0;L=K9 "E2>AB" 4;O @0AH8@5=8O >1;0AB8 A:@>;;0 */
.video-gallery__list::after {
    content: "";
    flex: 0 0 var(--end-gap);
}
.video-gallery__list::-webkit-scrollbar {
    display: none;
}
.video-gallery__item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    font-size: var(--fs-20);
    color: var(--Blue-800);
    font-family: var(--font-montserrat);
    flex-shrink: 0;
    scroll-snap-align: center;
}
.video-gallery__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-16);
    /* width: 50rem; */
    height: auto;
}
.video-gallery__thumbnail {
    width: 100%;
    height: 28rem; /* 448px на больших экранах */
    max-height: 50vh; /* Не более половины высоты экрана */
    position: relative;
    border-radius: var(--br-32);
    overflow: hidden;
    flex-shrink: 0;
    -o-object-fit: cover;
    object-fit: cover;
    background-image: url(./images/Frame-54@2x.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top;
}
.video-gallery__title {
    align-self: stretch;
    display: flex;
    align-items: start;
    justify-content: start;
    padding: 0px;
}
.video-gallery__title-text {
    margin: 0;
    flex: 1;
    position: relative;
    font-size: inherit;
    line-height: var(--lh-28);
    font-weight: 400;
    font-family: inherit;
    /* Обрезание текста в одну строку */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Максимальная ширина на всех экранах */
    max-width: 650px;
}
@media (max-width: 1023px) {
    .video-gallery__title-text {
        max-width: 200px !important;
        flex: 0 0 200px !important;
    }
}
.video-gallery__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    display: none;
}
.video-gallery__pagination-wrapper {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--padding-32) 5.187rem var(--padding-0);
}
/* Simple Pagination Dots */
.pagination-web {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 6px;
    border: none;
    background: var(--Blue-100);
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease;
}
.pagination-dot:hover {
    background: var(--Blue-200);
}
.pagination-dot.active {
    width: 54px;
    border-radius: 6px;
    background: var(--Btn-Default);
}
/* Video Gallery Thumbnail Container */
.video-gallery__thumbnail-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 16px;
}
.video-gallery__thumbnail {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.video-gallery__thumbnail-container:hover .video-gallery__thumbnail {
    transform: scale(1.05);
}
.video-gallery__play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.video-gallery__thumbnail-container:hover .video-gallery__play-button {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}
/* TODO: 70<5=8BL A:@8?B ?038=0F88 =0 548=CN DC=:F8N */
/* Articles Page Styles */
.articles-page {
    display: flex;
    flex-direction: column;
    gap: var(--gap-32);
    padding: var(--padding-32) 0; /* Add vertical padding for consistent spacing */
}
.articles-page .articles-grid__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--gap-24);
    list-style: none;
    padding: 0;
    margin: 0;
}
.articles-page__search {
    max-width: 100%; /* Make search bar full width */
}
.articles-search {
    position: relative;
    display: flex;
    align-items: center;
}
.articles-search__icon {
    position: absolute;
    left: 16px;
    color: var(--Other-Grey);
    pointer-events: none;
}
.articles-search__field {
    width: 100%;
    height: 56px;
    border-radius: 28px;
    border: 1px solid var(--Blue-0);
    padding: 0 24px 0 56px;
    font-size: var(--fs-16);
    font-family: var(--font-montserrat);
    background: var(--Other-White);
}
.articles-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-16);
}
.articles-filter__button {
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    background-color: var(--Other-White);
    color: var(--Blue-600);
}
.articles-filter__button--active {
    background-color: var(--Blue-600);
    color: var(--Other-White);
}
.articles-filter__button:hover:not(.articles-filter__button--active) {
    border-color: var(--Blue-600);
}
.article-card {
    background: var(--Other-White);
    border-radius: var(--br-32);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 69, 172, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 69, 172, 0.12);
}

.article-card__link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.article-card__media {
    margin: 0;
    height: 300px;
    overflow: hidden;
}
.article-card__image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.article-card__title,
.article-card__excerpt,
.article-card__date {
    padding: 0 var(--padding-24);
}
.article-card__title {
    font-size: var(--fs-20);
    font-weight: var(--fw-semibold);
    margin: var(--gap-16) 0;
    line-height: var(--lh-22);
    /* Ограничение текста как на главной */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-card__excerpt {
    font-size: var(--fs-16);
    color: var(--Blue-700);
    margin: 0 0 var(--gap-16) 0;
    flex-grow: 1;
    /* Ограничение текста как на главной */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.article-card__date {
    font-size: var(--fs-14);
    color: var(--Other-Grey);
    padding-bottom: var(--padding-24);
}
.popular-articles {
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
    background: var(--Blue-10);
    padding: var(--padding-32);
    border-radius: var(--br-32);
}
.popular-articles__title {
    margin: 0;
    font-size: 24px;
    color: var(--Blue-700);
    font-weight: 600;
}
.popular-articles__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
}
.popular-articles__item {
    background: var(--Other-White);
    border-radius: var(--br-16);
    padding: var(--padding-20);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-12);
}
.popular-articles__link {
    text-decoration: none;
    color: var(--Blue-600);
    font-size: 16px;
    font-weight: var(--fw-medium);
    transition: color 0.2s ease;
}
.popular-articles__link:hover {
    color: var(--Blue-400);
}
.popular-articles__date {
    font-size: var(--fs-14);
    color: #9DA1A7;
    flex-shrink: 0;
}
/* --- Recovered styles from index_old.css for homepage articles section --- */
.articles {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    box-sizing: border-box;
    gap: 0;
    z-index: 3;
}
.articles__header {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-0);
    margin: 20px 0;
}
.articles__heading {
    font-weight: 600;
}
.articles__cta {
    cursor: pointer;
    border: var(--border-1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--padding-10) var(--padding-24) var(--padding-10) var(--padding-20);
    background: var(--Btn-Primary-Default);
    height: 3.438rem;
    border-radius: var(--br-32);
    box-sizing: border-box;
    gap: 15px;
    color: var(--Other-White);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.1s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.articles__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0057d3 0%, #01429f 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}
.articles__cta:hover::before {
    opacity: 1;
}
.articles__cta:active {
    background: linear-gradient(90deg, var(--Btn-Primary-Pressed-Start) 0%, var(--Btn-Primary-Pressed-End) 100%);
    transform: translateY(1px);
    color: var(--Other-White);
}
.articles__cta-text {
    font-size: 16px;
    line-height: var(--lh-28);
    font-weight: 600;
    font-family: var(--font-montserrat);
}
.articles__cta .arrow-up-right-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease; /* Плавный переход для иконки */
}
.articles__content {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-32);
    font-size: var(--fs-16);
    padding: 32px 24px;
    background-image: url(./images/articles-bg.png);
    background-size: cover;
    background-position: center;
    border-radius: var(--br-32);
    overflow: hidden;
}
.articles__grid {
    display: flex;
    gap: 12px;
    width: 100%;
}
.articles__card {
    background-color: var(--Other-White);
    border-radius: var(--br-32);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    flex-grow: 25;
    flex-basis: 0;
}
.articles__card:first-child {
    flex-grow: 40;
}
.articles__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.articles__card-image {
    width: 100%;
    height: 308px;
    overflow: hidden;
    padding: var(--padding-24);
    box-sizing: border-box;
}
.articles__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--br-16);
}
.articles__card-content {
    padding: var(--padding-24);
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
    flex-grow: 1;
}
.articles__card-title {
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    font-weight: 600;
    color: var(--Blue-800);
    font-family: var(--font-montserrat);
    margin: 0;
    /* Обрезка заголовка после 2 строк */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.articles__card-description {
    font-size: var(--fs-14);
    line-height: var(--lh-20);
    color: var(--Blue-600);
    font-family: var(--font-montserrat);
    margin: 0;
    /* Обрезка описания после 3 строк */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Компонент production */
.production {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: var(--gap-16);
    margin-top: 16px;
}
.production__content,
.production__text {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.production__content {
    flex: 1;
    border-radius: var(--br-32);
    background: var(--Bg-Card-1);
    overflow: hidden;
    justify-content: space-between;
    padding: var(--padding-32);
    gap: var(--gap-0);
    text-align: left;
    font-size: var(--fs-16);
    color: var(--Blue-800);
    font-family: var(--font-montserrat);
}
.production__text {
    gap: var(--gap-24);
}
.production__title {
    margin: 0;
    position: relative;
    font-size: var(--fs-36);
    line-height: var(--lh-44);
    font-weight: 600;
    font-family: inherit;
}
.production__description {
    align-self: stretch;
    position: relative;
    font-size: var(--fs-16);
    line-height: var(--lh-24);
}
.production__highlight {
    color: var(--Btn-Default);
}
.production__text-strong {
    color: var(--Blue-800);
}
.production__paragraph {
    text-indent: 22px;
    margin-block-start: 0;
    margin-block-end: 12px;
}
.production__paragraph:last-child {
    margin: 0;
}
.production__cta-wrapper {
    cursor: pointer;
    border: var(--border-1);
    padding: var(--padding-0);
    background-color: transparent;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
}
.production__cta {
    cursor: pointer;
    border: var(--border-1);
    padding: var(--padding-10) var(--padding-24) var(--padding-10) var(--padding-20);
    background: var(--Btn-Primary-Default);
    height: 3.438rem;
    border-radius: var(--br-32);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    margin-top: var(--gap-16);
    transition: color 0.3s ease, transform 0.1s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    color: var(--Other-White);
    text-decoration: none;
}
.production__cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0057d3 0%, #01429f 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}
.production__cta:hover::before {
    opacity: 1;
}
.production__cta:active {
    background: linear-gradient(90deg, var(--Btn-Primary-Pressed-Start) 0%, var(--Btn-Primary-Pressed-End) 100%);
    transform: translateY(1px);
    color: var(--Other-White);
}
.production__cta-content {
    display: flex;
    align-items: center;
    gap: 15px;
}
.production__cta-text {
    cursor: pointer;
    border: var(--border-1);
    padding: var(--padding-0);
    background-color: transparent;
    position: relative;
    font-size: var(--fs-16);
    line-height: var(--lh-28);
    font-weight: 600;
    font-family: var(--font-montserrat);
    color: var(--Other-White);
    text-align: left;
    display: inline-block;
}
.production__cta-icon {
    cursor: pointer;
    border: var(--border-1);
    padding: var(--padding-0);
    background-color: transparent;
    height: 20px;
    width: 20px;
    border-radius: var(--br-32);
}
/* Обертка Bitrix для режима визуального редактирования */
div[id^="bx_incl_area"] {
    flex: 1.5;
    display: flex;
    flex-direction: column;
}
.production__media-wrapper {
    flex: 1.5;
    border-radius: 32px;
    background: linear-gradient(135deg, #D7E3F9 0%, #C4D6F6 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    box-sizing: border-box;
    gap: 24px;
}
/* Старый класс для обратной совместимости */
.production__media {
    flex: 1.5;
    border-radius: 32px;
    background: linear-gradient(135deg, #D7E3F9 0%, #C4D6F6 100%);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    box-sizing: border-box;
    gap: 24px;
}
.production__media-image {
    width: 100%;
    position: relative;
    border-radius: var(--br-32);
    max-height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.production__media-text {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}
.production__media-description {
    flex: 1;
    position: relative;
    font-size: var(--fs-16);
    line-height: var(--lh-24);
    color: var(--Blue-800);
    font-family: var(--font-montserrat);
}
.production__media-description span:not([class]) {
    color: var(--Blue-800);
}
/* Фиксируем размеры video-gallery__thumbnail-container внутри production__media-wrapper */
.production__media-wrapper .video-gallery__thumbnail-container,
.production__media .video-gallery__thumbnail-container {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}
.production__media-wrapper .video-gallery__thumbnail,
.production__media .video-gallery__thumbnail {
    width: 100%;
    height: auto;
    display: block;
}
/* Ограничиваем размеры редактируемых областей Bitrix внутри production__media-wrapper */
.production__media-wrapper div[id^="bx_incl_area"],
.production__media div[id^="bx_incl_area"] {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
}
.production__media-wrapper div[id^="bx_incl_area"] img,
.production__media-wrapper div[id^="bx_incl_area"] video,
.production__media div[id^="bx_incl_area"] img,
.production__media div[id^="bx_incl_area"] video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
}
@media (max-width: 900px) {
    .production {
        flex-direction: column;
        align-items: stretch;
    }

    .production__content,
    .production__media,
    .production__media-wrapper {
        width: 100%;
        flex: none; /* Reset flex property */
    }
}
/* ><?>=5=B D>@< */
.inputs {
    width: 19.188rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-10);
}
.input-web {
    width: 100%;
    border: var(--border-1);
    outline: 0;
    background-color: var(--Other-White);
    align-self: stretch;
    height: var(--height-42);
    border-radius: 500px;
    display: flex;
    align-items: center;
    padding: var(--padding-16) var(--padding-24);
    box-sizing: border-box;
    font-family: var(--font-montserrat);
    font-size: var(--fs-14);
}
.input-web:focus-visible {
    outline: 2px solid var(--Btn-Default);
    outline-offset: 2px;
}
/* Red asterisk in placeholder - we'll use a different approach */
.input-web::-moz-placeholder {
    color: var(--Blue-200);
}
.input-web::placeholder {
    color: var(--Blue-200);
}
/* For inputs with asterisk in auth modal */
.auth-modal__input[placeholder*="*"]::-moz-placeholder {
    background: linear-gradient(to right, var(--Blue-200) 0%, var(--Blue-200) calc(100% - 1ch), #ff0000 calc(100% - 1ch), #ff0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.auth-modal__input[placeholder*="*"]::placeholder {
    background: linear-gradient(to right, var(--Blue-200) 0%, var(--Blue-200) calc(100% - 1ch), #ff0000 calc(100% - 1ch), #ff0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.textarea-web-parent {
    height: 11.938rem;
    width: 21.375rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.687rem;
}
.textarea-web {
    align-self: stretch;
    height: 8.625rem;
    border-radius: 20px;
    background-color: var(--Other-White);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: var(--padding-16) var(--padding-24);
    box-sizing: border-box;
    gap: var(--gap-0);
}
.textarea-web:focus-visible {
    outline: 2px solid var(--Btn-Default);
    outline-offset: 2px;
}
.form__hint,
.form__label {
    align-self: stretch;
    position: relative;
    font-size: var(--fs-14);
    line-height: var(--lh-18);
    font-family: var(--font-montserrat);
    color: var(--Blue-200);
    text-align: left;
}
.form__hint {
    font-size: var(--fs-12);
    line-height: var(--lh-16);
    text-align: right;
}
.submit-button,
.submit-button-wrapper {
    cursor: pointer;
    border: var(--border-1);
    height: var(--height-42);
    display: flex;
}
.submit-button-wrapper {
    padding: var(--padding-0);
    background-color: transparent;
    align-self: stretch;
    align-items: flex-start;
}
.submit-button {
    padding: var(--padding-8) var(--padding-20);
    background-color: var(--Btn-Default);
    flex: 1;
    border-radius: var(--br-32);
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.form__agreement {
    position: relative;
    font-size: var(--fs-16);
    line-height: var(--lh-24);
    font-weight: 500;
    font-family: var(--font-montserrat);
    color: var(--Other-White);
    text-align: left;
}
/* Video Modal Component */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(20, 30, 50, 0.95));
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 40px;
    box-sizing: border-box;
    animation: modalFadeIn 0.3s ease-out;
}
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
.video-modal.active {
    display: flex;
}
.video-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.video-modal__content {
    position: relative;
    max-width: 1200px;
    width: 90vw;
    max-height: 90vh;
    background: linear-gradient(135deg, #1e1e2e, #2a2a40);
    border-radius: 20px;
    overflow: hidden;
    z-index: 1001;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: contentSlideIn 0.4s ease-out;
}
@keyframes contentSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.video-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    background: linear-gradient(135deg, #2a2a40, #3a3a5a);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}
.video-modal__header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 32px;
    right: 32px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}
.video-modal__title {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: var(--fs-20);
    font-weight: 600;
    margin: 0;
    flex: 1;
    padding-right: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.video-modal__close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}
.video-modal__close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.05);
}
.video-modal__close:active {
    transform: scale(0.95);
}
.video-modal__player {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
}
.video-modal__player video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    border-radius: 0 0 20px 20px;
}
/* Responsive adjustments moved to layout/_breakpoints.css */
/* Auth Modal Component */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 40, 75, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: var(--padding-32);
    box-sizing: border-box;
}
.auth-modal.active {
    display: flex;
    animation: authModalFadeIn 0.3s ease-out;
}
@keyframes authModalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.auth-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}
.auth-modal__content {
    position: relative;
    max-width: 1104px;
    width: 100%;
    max-height: 90vh;
    background: linear-gradient(180deg, #ECF2FF 0%, #E5EDFF 100%);
    border-radius: var(--br-48);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1001;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    animation: authContentSlideIn 0.4s ease-out;
    scrollbar-width: thin;
    scrollbar-color: var(--Blue-300) transparent;
}
.auth-modal__content::-webkit-scrollbar {
    width: 8px;
}
.auth-modal__content::-webkit-scrollbar-track {
    background: transparent;
}
.auth-modal__content::-webkit-scrollbar-thumb {
    background-color: var(--Blue-300);
    border-radius: 10px;
}
.auth-modal__content::-webkit-scrollbar-thumb:hover {
    background-color: var(--Blue-400);
}
.auth-modal__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./images/auth_background.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}
@keyframes authContentSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
.auth-modal__header {
    position: relative;
    padding: var(--padding-32);
    z-index: 1;
}
.auth-modal__header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--padding-16) var(--padding-24);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 40px;
}
.auth-modal__logo {
    width: 128px;
    height: auto;
}
.auth-modal__close {
    background: var(--Blue-0);
    border: none;
    cursor: pointer;
    padding: var(--padding-8);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--br-50);
    transition: all 0.2s ease;
    color: var(--Blue-600);
    width: 40px;
    height: 40px;
}
.auth-modal__close:hover {
    background: var(--Blue-100);
    transform: scale(1.05);
}
.auth-modal__close:active {
    transform: scale(0.95);
}
.auth-modal__body {
    padding: 0 var(--padding-32) var(--padding-32);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}
.auth-modal__title {
    color: var(--Blue-400);
    text-align: center;
    margin: 0 0 var(--gap-32) 0;
    font-family: var(--font-montserrat);
}
.auth-modal__tabs {
    display: flex;
    gap: 0;
    margin-bottom: var(--gap-32);
    background: rgba(255, 255, 255, 0.5);
    border-radius: var(--br-32);
    padding: var(--padding-4);
    width: 100%;
    max-width: 704px;
}
.auth-modal__tab {
    flex: 1;
    padding: var(--padding-12) var(--padding-24);
    background: transparent;
    border: none;
    border-radius: var(--br-32);
    font-family: var(--font-montserrat);
    font-size: var(--fs-20);
    font-weight: 500;
    color: var(--Blue-600);
    cursor: pointer;
    transition: all 0.3s ease;
}
.auth-modal__tab--active {
    background: var(--Blue-600);
    color: var(--Other-White);
    box-shadow: 0 2px 8px rgba(65, 108, 173, 0.3);
}
.auth-modal__tab:not(.auth-modal__tab--active):hover {
    background: rgba(255, 255, 255, 0.7);
}
.auth-modal__form {
    display: none;
    flex-direction: column;
    gap: var(--gap-16);
    width: 100%;
    max-width: 704px;
}
.auth-modal__form--active {
    display: flex;
}
.auth-modal__form form {
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
    width: 100%;
}
.auth-modal__form-group {
    width: 100%;
}
.auth-modal__input {
    width: 100%;
    box-sizing: border-box;
}
.auth-modal__checkbox-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: var(--gap-16);
}
.auth-modal__checkbox-group--single {
    justify-content: flex-start;
}
/* Toggle Slider (like from your image) */
.auth-modal__toggle {
    display: flex;
    align-items: center;
    gap: var(--gap-12);
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    position: relative;
}
.auth-modal__toggle-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.auth-modal__toggle-slider {
    position: relative;
    width: 64px;
    height: 32px;
    background: var(--Blue-100);
    border-radius: 32px;
    transition: background 0.3s ease;
    flex-shrink: 0;
}
.auth-modal__toggle-slider::before {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--Other-White);
    top: 4px;
    left: 4px;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.auth-modal__toggle-input:checked + .auth-modal__toggle-slider {
    background: var(--Blue-400);
}
.auth-modal__toggle-input:checked + .auth-modal__toggle-slider::before {
    transform: translateX(32px);
}
.auth-modal__toggle-label {
    font-family: var(--font-montserrat);
    font-size: var(--fs-16);
    color: var(--Blue-800);
}
.auth-modal__forgot-link {
    font-family: var(--font-montserrat);
    font-size: var(--fs-16);
    color: var(--Blue-400);
    text-decoration: none;
    transition: color 0.2s ease;
    white-space: nowrap;
}
.auth-modal__forgot-link:hover {
    color: var(--Blue-600);
    text-decoration: underline;
}
.auth-modal__submit {
    width: 50%;
}
/* Agreement checkbox */
.auth-modal__agreement {
    display: flex;
    align-items: flex-start;
    margin-top: var(--gap-8);
}
.auth-modal__checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--gap-12);
    cursor: pointer;
}
.auth-modal__checkbox-input {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--Blue-400);
}
.auth-modal__checkbox-label {
    font-family: var(--font-montserrat);
    font-size: var(--fs-14);
    color: var(--Blue-800);
    line-height: 1.4;
}
.auth-modal__link {
    color: var(--Blue-400);
    text-decoration: none;
    transition: color 0.2s ease;
}
.auth-modal__link:hover {
    color: var(--Blue-600);
    text-decoration: underline;
}
/* CAPTCHA */
.auth-modal__captcha {
    display: flex;
    justify-content: center;
    padding: var(--padding-16) 0;
}
.auth-modal__captcha-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--br-8);
    border: 1px solid rgba(0, 0, 0, 0.1);
}
/* Login link */
.auth-modal__login-link {
    text-align: center;
    font-family: var(--font-montserrat);
    font-size: var(--fs-14);
    color: var(--Blue-800);
}
/* Footer row with button and login link */
.auth-modal__form-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--gap-24);
    width: 100%;
    margin-top: var(--gap-16);
}
/* >18;L=>5 <5=N */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: -moz-fit-content;
    height: fit-content;
    padding: var(--padding-32);
    overflow-y: auto;
    background: linear-gradient(135deg, #FFFFFF, #F3F3F3);
    z-index: 1000;
    border-radius: 32px;
    margin: var(--padding-32);
}
.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--padding-24);
}
.mobile-menu__logo {
    width: 5.688rem;
    height: auto;
}
.mobile-menu__close {
    cursor: pointer;
    border: none;
    background: none;
    padding: var(--padding-8);
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-menu__close img {
    width: auto;
    height: auto;
}
.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: var(--gap-8);
}
.mobile-menu__link {
    cursor: pointer;
    border: none;
    width: 100%;
    height: 47px;
    background-color: var(--Blue-0);
    border-radius: var(--br-32);
    color: var(--Blue-800);
    font-family: var(--font-montserrat);
    font-weight: 600;
    font-size: var(--fs-20);
    letter-spacing: var(--ls--0_03);
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-menu__link--cta {
    margin-top: var(--gap-16);
    background: var(--Btn-Primary-Default);
    color: var(--Other-White);
}
.mobile-menu__link--cta:hover {
    background: linear-gradient(135deg, var(--Btn-Primary-Hover-Start) 0%, var(--Btn-Primary-Hover-End) 100%);
    color: var(--Other-White);
}
.mobile-menu__link--cta:active {
    background: linear-gradient(90deg, var(--Btn-Primary-Pressed-Start) 0%, var(--Btn-Primary-Pressed-End) 100%);
    transform: translateY(1px);
}
.mobile-menu__link:hover {
    background-color: var(--Blue-100);
    transform: translateY(-1px);
}
.mobile-menu__link:active {
    transform: translateY(0);
}
/* =8<0F88 ?>O2;5=8O/A:@KB8O */
@keyframes mobile-menu-open {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes mobile-menu-close {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}
html.menu-open .mobile-menu {
    display: block;
    animation: mobile-menu-open 0.2s ease;
}
html.menu-closing .mobile-menu {
    display: block;
    animation: mobile-menu-close 0.2s ease forwards;
}
/* Компонент footer */
.footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--padding-32) 0;
    gap: var(--gap-32);
    z-index: 4;
    text-align: center;
    font-size: var(--fs-36);
    color: var(--Other-Grey);
    font-family: var(--font-montserrat);
    box-sizing: border-box;
}
.footer__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    align-content: center;
    padding: var(--padding-10);
    gap: 0;
    box-sizing: border-box;
}
.footer__legal-main,
.footer__legal-sub {
    position: relative;
    text-transform: uppercase;
    white-space: normal;
}
.footer__legal-main {
    flex-shrink: 0;
    font-size: 32px;
    letter-spacing: 1px;
}
.footer__legal-sub {
    font-size: 25px;
    letter-spacing: 0.5px;
    line-height: var(--lh-30);
    display: inline-block;
    flex-shrink: 0;
}
@media (min-width: 1200px) and (max-width: 1279px) {
    .footer__legal-main {
        font-size: 28px;
    }
    .footer__legal-sub {
        font-size: 22px;
    }
}
@media (min-width: 1000px) and (max-width: 1199px) {
    .footer__legal-main {
        font-size: 23px;
    }
    .footer__legal-sub {
        font-size: 18px;
    }
}
@media (min-width: 850px) and (max-width: 999px) {
    .footer__legal-main {
        font-size: 19px;
    }
    .footer__legal-sub {
        font-size: 15px;
    }
}
@media (max-width: 849px) {
    .footer__legal-main {
        font-size: 17px;
    }
    .footer__legal-sub {
        font-size: 13px;
        letter-spacing: 0.9px;
    }
}
@media (max-width: 767px) {
    .footer__legal-main,
    .footer__legal-sub {
        display: block;
        width: 100%;
        text-align: center;
    }
}
.footer__content {
    align-self: stretch;
    border-radius: var(--br-48);
    background-color: var(--Blue-0);
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: var(--padding-32) var(--padding-32) 2.375rem;
    gap: var(--gap-32);
    text-align: left;
    font-size: var(--fs-14);
    color: var(--Blue-7001);
}
.footer__body {
    width: 100%;
}
.footer__brand {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-0);
}
.footer__logo {
    height: 3rem;
    width: 8.438rem;
    position: relative;
}
.footer__social {
    width: 11rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-content: center;
    gap: var(--gap-8);
}
.footer__social-text {
    position: relative;
    line-height: var(--lh-18);
}
.footer__social-icon {
    cursor: pointer;
    border: var(--border-1);
    padding: var(--padding-0);
    background-color: var(--Blue-7001);
    height: var(--height-32);
    width: var(--width-32);
    position: relative;
    border-radius: var(--br-8);
    overflow: hidden;
    flex-shrink: 0;
}
.footer__social-icon img {
    position: absolute;
    height: 37.5%;
    width: 62.5%;
    top: 31.25%;
    right: 18.75%;
    bottom: 31.25%;
    left: 18.75%;
    max-width: 100%;
    overflow: hidden;
    max-height: 100%;
}
.footer__links {
    align-self: stretch;
    border-radius: var(--br-32);
    background-color: var(--Btn-Default);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: var(--padding-32) var(--padding-24);
    gap: var(--gap-24);
    text-align: left;
    font-size: var(--fs-20);
    color: var(--Other-White);
    font-family: var(--font-montserrat);
}
.footer__links-group {
    display: flex;
    align-items: flex-start;
    gap: var(--gap-32);
    flex: 1;
    width: 100%;
}
.footer__company-help-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: var(--gap-32);
}
.footer__nav-section {
    width: 14.75rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-10);
}
.footer__nav-title {
    margin: 0;
    align-self: stretch;
    position: relative;
    font-size: inherit;
    letter-spacing: var(--ls--0_03);
    line-height: var(--lh-26);
    font-weight: 600;
    font-family: inherit;
}
.footer__nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-10);
    font-size: var(--fs-14);
}
.footer__nav-item {
    align-self: stretch;
    position: relative;
}
/* Стили для ссылок в навигации футера */
a.footer__nav-item {
    color: var(--Other-White);
    text-decoration: none;
    cursor: pointer;
}
a.footer__nav-item:hover {
    /* Без hover эффекта по требованию */
    color: var(--Other-White);
    text-decoration: none;
}
.footer__products {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-10);
    width: 100%;
}
.footer__categories {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 2.625rem;
    font-size: var(--fs-14);
}
.footer__category {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-10);
}
.footer__category--wide {
    width: 13.313rem;
}
.footer__contact-section {
    align-self: stretch;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--gap-0);
    text-align: left;
    font-size: var(--fs-28);
    color: var(--Other-White);
    font-family: var(--font-montserrat);
}
.footer__contact {
    width: 100%;
    border-radius: var(--br-32);
    background-color: var(--Btn-Default);
    padding: var(--padding-32) var(--padding-24);
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.footer__contact-content {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--gap-0);
}
.footer__email {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-5);
}
.footer__email-header {
    display: flex;
    align-items: center;
    gap: var(--gap-10);
}
.footer__email-icon {
    cursor: pointer;
    border: var(--border-1);
    padding: var(--padding-0);
    background-color: var(--Btn-Default);
    height: var(--height-28);
    width: var(--width-28);
    position: relative;
}
.footer__email-address {
    margin: 0;
    position: relative;
    font-size: inherit;
    line-height: var(--lh-30);
    color: inherit;
}
.footer__legal-footer {
    align-self: stretch;
    position: relative;
    font-size: var(--fs-14);
    line-height: var(--lh-18);
    color: var(--Blue-7001);
}
/* Контактная секция футера */
.footer__contact-details-parent {
    align-self: stretch;
    margin-top: var(--gap-32);
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: var(--gap-32);
    text-align: left;
    font-size: var(--fs-28);
    color: var(--Other-White);
    font-family: var(--font-montserrat);
}
.footer__contact-details {
    flex: 1;
    border-radius: var(--br-32);
    background-color: var(--Btn-Default);
    padding: var(--padding-32) var(--padding-24);
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.footer__email-details {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--gap-0);
    width: 100%;
}
.footer__email-address-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--gap-5);
}
.footer__email-icon-container {
    display: flex;
    align-items: center;
    gap: var(--gap-10);
}
.footer__contact-icon {
    cursor: pointer;
    border: var(--border-1);
    padding: var(--padding-0);
    background-color: var(--Btn-Default);
    height: var(--height-28);
    width: var(--width-28);
    position: relative;
}
.footer__contact-icon img {
    position: absolute;
    height: 74.64%;
    width: 73.93%;
    top: 12.5%;
    right: 12.86%;
    bottom: 12.86%;
    left: 13.21%;
    max-width: 100%;
    overflow: hidden;
    max-height: 100%;
}
.footer__contact-text {
    margin: 0;
    position: relative;
    font-size: inherit;
    text-transform: uppercase;
    font-family: inherit;
}
.footer__contact-phone-container {
    align-self: stretch;
    display: flex;
    align-items: center;
    gap: var(--gap-10);
    width: 100%;
}
.footer__contact-phone-icon {
    cursor: pointer;
    border: var(--border-1);
    padding: var(--padding-0);
    background-color: var(--Btn-Default);
    overflow: hidden;
    height: var(--height-28);
    width: var(--width-28);
    position: relative;
    flex-shrink: 0;
}
.footer__contact-phone-icon img {
    position: absolute;
    height: 75%;
    width: 75%;
    top: 12.5%;
    right: 12.5%;
    bottom: 12.5%;
    left: 12.5%;
    max-width: 100%;
    max-height: 100%;
}
.footer__address-elements-parent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.125rem;
    font-size: var(--fs-20);
}
.footer__address-elements {
    align-self: stretch;
    display: flex;
    align-items: center;
    gap: var(--gap-8);
}
.footer__address-icon {
    cursor: pointer;
    border: var(--border-1);
    padding: var(--padding-0);
    background-color: var(--Btn-Default);
    height: var(--height-20);
    width: var(--width-20);
    position: relative;
}
.footer__address-icon img {
    position: absolute;
    height: 58.5%;
    width: 75%;
    top: 21%;
    right: 12.5%;
    bottom: 20.5%;
    left: 12.5%;
    max-width: 100%;
    overflow: hidden;
    max-height: 100%;
}
.footer__address-text {
    margin: 0;
    position: relative;
    font-size: inherit;
    font-family: inherit;
}
/* Форма обратной связи */
.footer__form-parent {
    align-self: stretch;
    flex: 2;
    position: relative;
    border-radius: var(--br-32);
    background-color: var(--Blue-100);
    background-image: url('./images/Bg@2x.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--padding-32) var(--padding-24);
    box-sizing: border-box;
    min-height: 15.775rem;
}
.footer__form {
    margin: 0;
    position: static;
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    box-sizing: border-box;
    gap: var(--gap-32);
}
.footer__form-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.312rem;
    width: 100%;
}
.footer__form-title {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer__form-title h3 {
    margin: 0;
    position: relative;
    font-size: 21px;
    line-height: var(--lh-28);
    font-weight: 600;
    font-family: var(--font-montserrat);
    color: var(--Other-White);
    text-align: center;
}
.footer__form-inputs {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-10);
}
.footer__form-input {
    width: 100%;
    border: var(--border-1);
    outline: 0;
    background-color: var(--Other-White);
    align-self: stretch;
    height: var(--height-42);
    border-radius: 500px;
    display: flex;
    align-items: center;
    padding: var(--padding-16) var(--padding-24);
    box-sizing: border-box;
    font-family: var(--font-montserrat);
    font-size: 13px;
}
.footer__form-textarea-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.687rem;
}
.footer__form-textarea {
    align-self: stretch;
    border-radius: 20px;
    background-color: var(--Other-White);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: var(--padding-24);
    box-sizing: border-box;
    gap: var(--gap-0);
    flex-grow: 1;
}
.footer__form-label {
    align-self: stretch;
    position: relative;
    font-family: var(--font-montserrat);
    color: var(--Blue-200);
    text-align: left;
    flex-grow: 1;
    resize: none;
    outline: none;
    border: none;
    background: transparent;
}
.footer__form-hint {
    align-self: stretch;
    position: relative;
    font-size: var(--fs-12);
    line-height: var(--lh-16);
    font-family: var(--font-montserrat);
    color: var(--Blue-200);
    text-align: right;
}
.footer__form-submit-wrapper {
    cursor: pointer;
    border: var(--border-1);
    padding: var(--padding-0);
    background-color: var(--Btn-Default);
    align-self: stretch;
    height: var(--height-42);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    border-radius: var(--br-32);
}
.footer__form-submit {
    cursor: pointer;
    border: var(--border-1);
    height: var(--height-42);
    width: 100%;
    align-self: stretch;
    border-radius: var(--br-32);
    background-color: var(--Btn-Default);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--padding-0) var(--padding-24);
    box-sizing: border-box;
    font-size: var(--fs-16);
    line-height: var(--lh-22);
    font-weight: 600;
    font-family: var(--font-montserrat);
    color: var(--Other-White);
    text-align: center;
}
.footer__form-submit-text {
    position: relative;
    font-size: var(--fs-16);
    line-height: var(--lh-22);
    font-weight: 600;
    font-family: var(--font-montserrat);
    color: var(--Other-White);
    text-align: left;
    display: inline-block;
}
@media (max-width: 1279px) {
    .footer__header {
        justify-content: center;
        align-items: stretch;
        text-align: center;
        gap: 0;
    }

    .footer__legal-main,
    .footer__legal-sub {
        flex: 1 1 100%;
        width: 100%;
    }
}
/* Компонент каталога товаров */
/* === Catalog Page === */
.catalog-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--Blue-800);
    font-family: var(--font-montserrat);
    padding: var(--padding-32) 0;
}
/* === Breadcrumbs === */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: var(--gap-8);
    font-size: var(--fs-14);
    line-height: var(--lh-18);
    flex-wrap: wrap;
}
.breadcrumbs__item {
    color: var(--Blue-700);
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumbs__item:hover {
    color: var(--Btn-Default);
}
.breadcrumbs__item--current {
    color: var(--Blue-800);
    font-weight: 500;
    pointer-events: none;
}
.breadcrumbs__item:last-child {
    color: var(--Blue-800);
    font-weight: 500;
}
.breadcrumbs__separator {
    color: var(--Blue-200);
}
/* === Catalog Controls === */
.catalog-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-32);
}
.catalog-controls__title {
    margin: 0;
    flex-shrink: 0;
    width: 320px;
}
/* === Catalog Toolbar === */
.catalog-page__main {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
}
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-16);
    flex-wrap: wrap;
    width: 100%;
}
.catalog-controls__group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--gap-16);
}
.catalog-controls__view-toggle {
    display: flex;
    align-items: center;
    gap: var(--gap-8);
}
.catalog-controls__view-button {
    cursor: pointer;
    border: none;
    background: transparent;
    width: var(--width-32);
    height: var(--height-32);
    border-radius: var(--br-50);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.catalog-controls__view-button img {
    filter: brightness(0) saturate(100%) invert(48%) sepia(18%) saturate(1034%) hue-rotate(178deg) brightness(92%) contrast(89%);
    /* Blue-300: #597EB3 */
    transition: filter 0.2s ease;
}
.catalog-controls__view-button:hover img {
    opacity: 0.8;
}
.catalog-controls__view-button--active img {
    filter: brightness(0) saturate(100%) invert(21%) sepia(94%) saturate(3571%) hue-rotate(207deg) brightness(97%) contrast(101%);
    /* Btn-Default: #005DE0 */
    opacity: 1;
}
.catalog-controls__sort {
    display: flex;
    align-items: center;
    gap: var(--gap-8);
}
.catalog-controls__sort-label {
    color: var(--Other-Grey);
}
.catalog-controls__sort-link {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    color: var(--Btn-Default);
    font-family: var(--font-montserrat);
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.2s ease;
}
.catalog-controls__sort-link:hover {
    color: var(--Blue-600);
}
/* === Filter Toggle Button (for ≤1100px) === */
.catalog-controls__filter-toggle {
    display: none; /* Hidden by default, shown at ≤1100px */
    cursor: pointer;
    border: none;
    background: var(--Btn-Default);
    padding: var(--padding-10) var(--padding-16);
    border-radius: var(--br-32);
    font-family: var(--font-montserrat);
    font-size: var(--fs-16);
    font-weight: 600;
    color: var(--Other-White);
    align-items: center;
    gap: var(--gap-8);
    transition: background 0.2s ease, transform 0.1s ease;
    flex-shrink: 0;
}
.catalog-controls__filter-toggle:hover {
    background: linear-gradient(135deg,
    var(--Btn-Primary-Hover-Start) 0%,
    var(--Btn-Primary-Hover-End) 100%);
}
.catalog-controls__filter-toggle:active {
    background: linear-gradient(90deg,
    var(--Btn-Primary-Pressed-Start) 0%,
    var(--Btn-Primary-Pressed-End) 100%);
    transform: translateY(1px);
}
.catalog-controls__filter-toggle img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1); /* Белая иконка */
}
/* === Category Filter Modal === */
.category-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
}
html.category-modal-open .category-modal {
    display: block;
    animation: category-modal-open 0.3s ease;
}
html.category-modal-closing .category-modal {
    display: block;
    animation: category-modal-close 0.3s ease forwards;
}
@keyframes category-modal-open {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes category-modal-close {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}
.category-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--Bg-Liposom-Background);
    z-index: 1;
}
.category-modal__content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    padding: var(--padding-20);
    gap: var(--gap-16);
}
.category-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--padding-16);
}
.category-modal__logo {
    height: 2rem;
    width: auto;
}
.category-modal__close {
    cursor: pointer;
    border: none;
    background: none;
    padding: var(--padding-8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}
.category-modal__close:hover {
    opacity: 0.7;
}
.category-modal__close:active {
    opacity: 0.5;
}
.category-modal__close img {
    width: auto;
    height: auto;
}
.category-modal__close svg {
    color: var(--Blue-800);
    width: 24px;
    height: 24px;
}
.category-modal__title {
    width: 100%;
}
.category-modal__title-button {
    width: 100%;
    border: none;
    background: var(--Btn-Default);
    color: var(--Other-White);
    font-family: var(--font-montserrat);
    font-size: var(--fs-20);
    font-weight: 700;
    padding: var(--padding-16) var(--padding-24);
    border-radius: var(--br-32);
    cursor: default;
    text-align: center;
}
.category-modal__list {
    display: flex;
    flex-direction: column;
    gap: var(--gap-12);
    padding-bottom: var(--padding-32);
}
.category-modal__item {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--gap-16);
    padding: var(--padding-16) var(--padding-24);
    background: var(--Other-White);
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    font-family: var(--font-montserrat);
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    font-weight: 500;
    color: var(--Blue-800);
    text-align: left;
    width: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.category-modal__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.category-modal__item:active {
    transform: translateY(0);
}
.category-modal__item--active {
    background: var(--Blue-600);
    color: var(--Other-White);
}
.category-modal__icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.category-modal__icon img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}
/* Белая иконка для активного состояния */
.category-modal__item--active .category-modal__icon img {
    filter: brightness(0) invert(1);
}
.category-modal__text {
    flex: 1;
}
.catalog-controls__sort-icon {
    display: none; /* Hidden by default, shown on mobile */
    cursor: pointer;
    border: none;
    background: transparent;
    padding: 0;
}
.catalog-controls__sort {
    position: relative;
}
.sort-modal {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.sort-modal:not([hidden]) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.sort-modal__backdrop {
    display: none;
}
.sort-modal__content {
    background: var(--Other-White);
    border-radius: var(--br-16);
    box-shadow: 0 8px 24px rgba(15, 40, 75, 0.12);
    min-width: 14rem;
    border: 1px solid rgba(15, 40, 75, 0.08);
}
.sort-modal__list {
    list-style: none;
    margin: 0;
    padding: var(--padding-8);
    display: flex;
    flex-direction: column;
    gap: var(--gap-2);
}
.sort-modal__item {
    cursor: pointer;
    padding: var(--padding-10) var(--padding-12);
    border-radius: var(--br-8);
    color: var(--Blue-800);
    font-family: var(--font-montserrat);
    font-size: var(--fs-14);
    line-height: var(--lh-18);
    transition: background-color 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}
.sort-modal__item:hover {
    background: var(--Blue-50);
}
.sort-modal__item--active {
    background: var(--Btn-Default);
    color: var(--Other-White);
    font-weight: 600;
}
.sort-modal__item--active:hover {
    background: linear-gradient(90deg,
    var(--Btn-Primary-Hover-Start) 0%,
    var(--Btn-Primary-Hover-End) 100%);
}
/* === Catalog Layout === */
.catalog-page__layout {
    display: flex;
    align-items: flex-start;
    gap: var(--gap-32);
    position: relative;
    min-height: 100vh; /* Ensure parent is tall enough for sticky to work */
}
/* === Catalog Filter (Sidebar) === */
.catalog-filter {
    width: 320px;
    flex-shrink: 0;
    position: sticky;
    top: var(--gap-32);
    align-self: flex-start;
    max-height: calc(100vh - var(--gap-32) * 2);
    overflow-y: auto;
    z-index: 10;
}
/* Scrollbar styling for filter */
.catalog-filter::-webkit-scrollbar {
    width: 4px;
}
.catalog-filter::-webkit-scrollbar-track {
    background: transparent;
}
.catalog-filter::-webkit-scrollbar-thumb {
    background: var(--Blue-200);
    border-radius: 2px;
}
.catalog-filter::-webkit-scrollbar-thumb:hover {
    background: var(--Blue-300);
}
.catalog-filter__list {
    display: flex;
    flex-direction: column;
    gap: var(--gap-8);
}
.catalog-filter__item {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--gap-12);
    padding: var(--padding-10) var(--padding-16);
    background: var(--Other-White);
    border: 1px solid transparent;
    border-radius: var(--br-32);
    color: var(--Blue-800);
    font-family: var(--font-montserrat);
    font-size: var(--fs-16);
    line-height: var(--lh-20);
    font-weight: var(--fw-regular);
    text-align: left;
    width: 100%;
    transition: all 0.3s ease-in-out;
}
.catalog-filter__item:hover {
    border-color: var(--Blue-600);
}
.catalog-filter__item:active {
    opacity: 1;
    transform: none;
}
.catalog-filter__item--active {
    background: var(--Blue-600);
    color: var(--Other-White);
    border-color: var(--Blue-600);
}
/* Белая иконка для активного элемента sidebar */
.catalog-filter__item--active .catalog-filter__icon img {
    filter: brightness(0) invert(1);
}
.catalog-filter__icon {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.catalog-filter__title {
    flex: 1;
}
/* === Product Grid === */
.product-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap-24);
}
/* Пагинация должна занимать всю ширину grid */
.product-grid .pagenav__top-nav {
    grid-column: 1 / -1;
}
/* List Simple Mode - Компактный список */
.product-grid--list-simple {
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
}
/* List Detailed Mode - Развернутый с описанием */
.product-grid--list-detailed {
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
}
/* === Product Card === */
.product-card {
    background: var(--Other-White);
    border-radius: var(--br-32);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    padding: var(--padding-24);
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 0;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}
/* Product Card - List Simple (Компактный список) */
.product-grid--list-simple .product-card {
    flex-direction: row;
    align-items: center;
    padding: var(--padding-16) var(--padding-24);
    gap: var(--gap-20);
}
/* Распаковка footer и buy-block для строчного режима */
.product-grid--list-simple .product-card__footer {
    display: contents;
}
.product-grid--list-simple .product-card__buy-block {
    display: contents;
}
.product-grid--list-simple .product-card__media {
    flex-shrink: 0;
    width: 5rem;
    height: 5rem;
    order: 1;
}
.product-grid--list-simple .product-card__image {
    width: 5rem;
    height: 5rem;
    aspect-ratio: 1;
    border-radius: var(--br-16);
}
.product-grid--list-simple .product-card__title {
    font-size: var(--fs-16);
    line-height: var(--lh-20);
    margin: 0;
    order: 2;
    flex: 1;
}
.product-grid--list-simple .product-card__status {
    display: flex;
    order: 3;
    position: absolute;
    margin-top: 2.75rem;
    margin-left: 6.25rem;
}
.product-grid--list-simple .product-card__description {
    display: none;
}
.product-grid--list-simple .product-card__price {
    font-size: var(--fs-20);
    line-height: var(--lh-24);
    font-weight: 600;
    margin: 0;
    order: 4;
    margin-left: auto;
}
.product-grid--list-simple .product-card__actions {
    margin: 0;
    order: 5;
}
.product-grid--list-simple .product-card__button {
    min-width: 9.5rem;
    height: 2.75rem;
    border-radius: var(--br-32);
    padding: 0 var(--padding-24);
    font-size: var(--fs-16);
    font-weight: 600;
}
.product-grid--list-simple .product-card__icon-cart {
    display: none;
}
.product-grid--list-simple .product-card__button::after {
    content: 'Купить';
}
.product-grid--list-simple .quantity-control {
    display: none;
}
/* List Simple - Product in Cart State */
.product-grid--list-simple .product-card--in-cart .quantity-control {
    display: inline-flex !important;
    order: 4;
}
.product-grid--list-simple .product-card--in-cart .product-card__price {
    order: 3;
}
.product-grid--list-simple .product-card--in-cart .product-card__actions {
    order: 5;
}
.product-grid--list-simple .product-card--in-cart .product-card__button {
    min-width: 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    border: none;
}
.product-grid--list-simple .product-card--in-cart .product-card__button:hover {
    background: transparent;
    transform: scale(1.05);
}
.product-grid--list-simple .product-card--in-cart .product-card__button::after {
    content: '';
}
.product-grid--list-simple .product-card--in-cart .product-card__icon-cart--svg {
    display: none;
}
.product-grid--list-simple .product-card--in-cart .product-card__icon-cart--img {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
}
/* Product Card - List Detailed (Развернутый с описанием) */
.product-grid--list-detailed .product-card {
    display: grid;
    grid-template-columns: minmax(200px, 280px) 1fr;
    grid-template-rows: auto 1fr auto;
    gap: var(--gap-24);
    padding: var(--padding-24);
}
/* Левая колонка: изображение (1/4 пространства) */
.product-grid--list-detailed .product-card__media {
    grid-column: 1;
    grid-row: 1 / -1;
    align-self: start;
    position: sticky;
    top: 0;
    width: 100%;
}
.product-grid--list-detailed .product-card__image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--br-16);
}
/* Правая колонка: контент (3/4 пространства) */
/* Строка 1: заголовок + бейдж */
.product-grid--list-detailed .product-card__title {
    grid-column: 2;
    grid-row: 1;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    font-weight: 600;
    text-align: left;
    margin: 0;
    padding-right: 2rem;
}
.product-grid--list-detailed .product-card__status {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    align-self: start;
    display: flex !important;
}
/* Строка 2: описание */
.product-grid--list-detailed .product-card__description {
    grid-column: 2;
    grid-row: 2;
    display: block !important;
    color: var(--Blue-700);
    font-size: var(--fs-14);
    line-height: var(--lh-20);
}
/* Строка 3: footer */
.product-grid--list-detailed .product-card__footer {
    grid-column: 2;
    grid-row: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-16);
    align-self: end;
}
.product-grid--list-detailed .product-card__buy-block {
    display: flex;
    align-items: center;
    gap: var(--gap-12);
    min-width: 0;
    flex-shrink: 1;
}
.product-grid--list-detailed .product-card__price {
    font-size: var(--fs-20);
    line-height: var(--lh-24);
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}
.product-grid--list-detailed .quantity-control {
    display: none;
}
.product-grid--list-detailed .product-card--in-cart .quantity-control {
    display: inline-flex;
}
.product-grid--list-detailed .product-card__actions {
    margin: 0;
}
.product-grid--list-detailed .product-card__button {
    min-width: 8rem;
    height: 2.75rem;
    border-radius: var(--br-32);
    padding: 0 var(--padding-24);
    font-size: var(--fs-16);
    font-weight: 600;
    flex-shrink: 1;
}
.product-grid--list-detailed .product-card__icon-cart {
    display: none;
}
.product-grid--list-detailed .product-card__button::after {
    content: 'Купить';
}
.product-card__media {
    display: block;
    text-decoration: none;
}
.product-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    -o-object-fit: contain;
    object-fit: contain;
    border-radius: var(--br-16);
}
.product-card__title {
    margin: 0;
    font-weight: 600;
    min-width: 0;
}
.product-card__title a {
    color: var(--Blue-800);
    text-decoration: none;
    transition: color 0.2s ease;
    overflow-wrap: break-word;
    word-break: break-word;
}
.product-card__title a:hover {
    color: var(--Btn-Default);
}
.product-card__status {
    display: none; /* Hidden by default in grid mode */
    align-items: center;
    gap: var(--gap-6);
}
.product-card__status-icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}
.product-card__status-text {
    color: #4CAF50;
    font-size: var(--fs-14);
    line-height: var(--lh-18);
    font-weight: 500;
}
.product-card__status--coming-soon .product-card__status-text {
    color: #9DA1A7;
}
/* Show status in grid mode (tiles) */
.product-grid--grid-3 .product-card__status {
    display: flex;
}
.product-card__description {
    display: none; /* Hidden by default, shown only in list-detailed mode */
}
.product-card__price {
    margin: 0;
    color: var(--Blue-800);
    font-weight: 600;
    font-size: 24px;
}
.product-card__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--gap-12);
    margin-top: auto;
}
.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-16);
    min-width: 0;
}
.product-card__buy-block {
    display: flex;
    align-items: center;
    gap: var(--gap-12);
    min-width: 0;
}
/* Grid (card) view adjustments */
.product-grid--grid-3 .product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-16);
    margin-top: auto;
}
.product-grid--grid-3 .product-card__buy-block {
    display: flex;
    align-items: center;
    gap: var(--gap-12);
    justify-content: space-between;
    width: 100%;

}
.product-grid--grid-3 .product-card__actions {
    margin-top: 0;
}
.product-grid--grid-3 .product-card--in-cart .product-card__price {
    display: none;
}
.product-grid--grid-3 .product-card--in-cart .quantity-control {
    display: inline-flex !important;
}
.product-grid--grid-3 .product-card__icon-cart--svg {
    display: none;
}
.product-grid--grid-3 .product-card__icon-cart--img {
    display: block;
    width: var(--width-42, 2.625rem);
    height: var(--height-42);
    max-width: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}
/* Hide IMG icon by default, show SVG */
.product-card__icon-cart--img {
    display: none;
}
.product-card__button {
    width: var(--width-42, 2.625rem);
    height: var(--height-42);
    border-radius: var(--br-50);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.1s ease;
}
.product-card__button:hover {
    background: linear-gradient(90deg,
    var(--Btn-Primary-Hover-Start) 0%,
    var(--Btn-Primary-Hover-End) 100%);
}
.product-card__icon-cart {
    width: 1.25rem;
    height: 1.25rem;
    stroke: currentColor;
}
/* === Product Card: Coming Soon State === */
.product-card--coming-soon .product-card__button {
    background: #E0E1E4;
    color: #A0A4AD;
    cursor: not-allowed;
    pointer-events: none;
}
.product-card--coming-soon .product-card__button:hover {
    background: #E0E1E4;
    transform: none;
}
/* List Simple Mode - Coming Soon */
.product-grid--list-simple .product-card--coming-soon .product-card__button,
.product-grid--grid-3 .product-card--in-cart .product-card__button
{
    background: #E0E1E4;
    color: #A0A4AD;
}

/* List Detailed Mode - Coming Soon */
.product-grid--list-detailed .product-card--coming-soon .product-card__button {
    background: #E0E1E4;
    color: #A0A4AD;
}
/* === Quantity Control === */
.quantity-control {
    display: none; /* Hidden by default */
    align-items: center;
    background: transparent;
    border-radius: var(--br-32);
    padding: var(--padding-4) var(--padding-8);
    gap: var(--gap-8);
    border: 2px solid var(--Blue-0);
}
/* Show quantity control in grid mode when product is in cart */
.product-card--in-cart .quantity-control {
    display: inline-flex;
}
.quantity-control__button {
    cursor: pointer;
    border: none;
    background: transparent;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: var(--br-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--Blue-800);
    font-size: var(--fs-20);
    line-height: 1;
    font-weight: 600;
    transition: background-color 0.2s ease;
}
.quantity-control__button:hover {
    background: var(--Blue-100);
}
.quantity-control__button:active {
    transform: scale(0.95);
}
.quantity-control__input {
    border: none;
    background: transparent;
    width: 2rem;
    text-align: center;
    font-family: var(--font-montserrat);
    font-size: var(--fs-16);
    line-height: var(--lh-20);
    font-weight: 600;
    color: var(--Blue-800);
    -moz-appearance: textfield;
}
.quantity-control__input::-webkit-outer-spin-button,
.quantity-control__input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.quantity-control__input:focus {
    outline: none;
}
/* === Catalog Disclaimer === */
.catalog-disclaimer {
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    color: var(--Other-Grey);
    padding: var(--padding-32) 0;
}
/* === Responsive Behavior === */
/* Large Desktop - ≥1440px */
@media (min-width: 1440px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
/* Desktop - 1280px to 1439px */
@media (min-width: 1280px) and (max-width: 1439px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
/* Tablet - ≤768px (changed from 1024px to keep sticky on laptops) */
@media (max-width: 768px) {
    .catalog-page__layout {
        flex-direction: column;
    }

    .catalog-filter {
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        position: static;
    }

    .catalog-filter::-webkit-scrollbar {
        display: none;
    }

    .catalog-filter__list {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: var(--padding-8);
    }

    .catalog-filter__item {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* Mobile - ≤768px */
@media (max-width: 768px) {
    .catalog-page {
        padding: var(--padding-16) 0;
    }

    .catalog-controls {
        gap: var(--gap-12);
    }

    .catalog-controls__view-toggle {
        display: none;
    }

    .catalog-controls__sort {
        width: 100%;
        justify-content: flex-end;
    }

    /* Сброс режимов отображения - только grid */
    .product-grid,
    .product-grid--list-simple,
    .product-grid--list-detailed {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--gap-16);
    }

    /* Сброс стилей карточек - только grid стиль */
    .product-grid--list-simple .product-card,
    .product-grid--list-detailed .product-card {
        flex-direction: column;
        padding: var(--padding-16);
        gap: var(--gap-12);
    }

    .product-grid--list-simple .product-card__media,
    .product-grid--list-detailed .product-card__media {
        width: 100%;
        height: auto;
    }

    .product-grid--list-simple .product-card__image,
    .product-grid--list-detailed .product-card__image {
        width: 100%;
        height: auto;
        max-width: none;
        aspect-ratio: 4 / 3;
    }

    .product-grid--list-simple .product-card__title,
    .product-grid--list-detailed .product-card__title {
        font-size: var(--fs-16);
        line-height: var(--lh-20);
        text-align: left;
    }

    .product-grid--list-simple .product-card__price,
    .product-grid--list-detailed .product-card__price {
        font-size: var(--fs-20);
        text-align: left;
        margin: 0;
    }

    .product-grid--list-simple .product-card__actions,
    .product-grid--list-detailed .product-card__actions {
        flex-direction: row;
        justify-content: flex-end;
        margin-top: auto;
    }

    .product-grid--list-simple .product-card__button,
    .product-grid--list-detailed .product-card__button {
        width: var(--width-42, 2.625rem);
        height: var(--height-42);
        min-width: auto;
        min-height: auto;
        padding: 0;
        font-size: var(--fs-16);
    }

    .product-grid--list-detailed .product-card__description {
        display: none;
    }

    .product-card {
        padding: var(--padding-16);
        gap: var(--gap-12);
    }
}
/* === Fixed Cart Button === */
.cart-fixed {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.4375rem;
    height: 3.4375rem;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.cart-fixed[hidden] {
    display: none;
}
.cart-fixed:hover {
    transform: scale(1.1);
}
.cart-fixed:active {
    transform: scale(0.95);
}
.cart-fixed__icon {
    width: 100%;
    height: 100%;
    display: block;
}
.cart-fixed__badge {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    min-width: 1.25rem;
    height: 1.25rem;
    background: #FF3B30;
    color: var(--Other-White);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-montserrat);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    padding: 0 0.25rem;
    box-shadow: 0 2px 8px rgba(255, 59, 48, 0.4);
}
/* Small Mobile - ≤480px */
@media (max-width: 480px) {
    .cart-fixed {
        bottom: 1rem;
        right: 1rem;
        width: 3rem;
        height: 3rem;
    }

    .catalog-controls__title {
        font-size: var(--fs-36);
        line-height: var(--lh-44);
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .product-card__button {
        width: var(--width-42, 2.625rem);
        height: var(--height-42, 2.625rem);
        border-radius: var(--br-50);
        min-width: auto;
    }

    .quantity-control {
        width: 32%;
        justify-content: space-between;
    }

    @media (min-width: 768px) and (max-width: 1100px) {
        .product-card__price.text-h5 {
            font-size: var(--fs-20);
        }
    }
}
/* ============================================
   Product Page Styles
   Based on Card Page.png mockup design
   ============================================ */
/* Product Page Container */
.product-page {
    display: flex;
    flex-direction: column;
    gap: var(--gap-32);
    margin-top: var(--gap-24);
    color: var(--Blue-800);
    font-family: var(--font-montserrat);
}
/* Breadcrumbs - already styled in catalog */
.product-page__breadcrumbs {
    margin-bottom: var(--gap-16);
}
/* Main Content Grid: Gallery + Info */
.product-page__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap-32);
    align-items: start;
}
/* ============================================
   Product Gallery (Left Column)
   ============================================ */
.product-gallery {
    padding: 0;
}
.product-gallery__main {
    display: flex;
    gap: var(--gap-16);
}
.product-gallery__thumbnails {
    display: flex;
    flex-direction: column;
    gap: var(--gap-12);
    flex-shrink: 0;
}
.product-gallery__thumbnail {
    width: 80px;
    height: 80px;
    border-radius: var(--br-16);
    background: var(--color-white);
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}
.product-gallery__thumbnail img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}
.product-gallery__thumbnail:hover {
    border-color: #85B5F8;
}
.product-gallery__thumbnail--active {
    border-color: #0066FF;
    box-shadow: 0 2px 8px rgba(0, 102, 255, 0.2);
}
.product-gallery__preview {
    flex: 1;
    background: var(--color-white);
    border-radius: var(--br-32);
    padding: var(--padding-32);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}
.product-gallery__preview img {
    max-width: 100%;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
}
.product-gallery__badge {
    position: absolute;
    top: var(--gap-16);
    left: var(--gap-16);
    padding: var(--gap-8) var(--gap-16);
    border-radius: 20px;
    font-size: var(--fs-14);
    font-weight: var(--fw-semibold);
    display: inline-flex;
    align-items: center;
    gap: var(--gap-5);
    color: var(--color-white);
}
.product-gallery__badge--available {
    background-color: #22C55E;
}
.product-gallery__badge--out-of-stock {
    background-color: #EF4444;
}
.product-gallery__badge svg {
    width: var(--gap-16);
    height: var(--gap-16);
}
/* ============================================
   Product Info (Right Column)
   ============================================ */
.product-info {
    background: var(--color-white);
    border-radius: var(--br-32);
    padding: var(--padding-32);
    display: flex;
    flex-direction: column;
    gap: var(--gap-20);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
/* Title */
.product-info__title {
    font-size: var(--fs-36);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-44);
    color: var(--Blue-7001);
    margin: 0 0 var(--gap-8) 0;
}
/* Meta Row: SKU + Rating */
.product-info__meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap-16);
    margin-bottom: var(--gap-8);
}
.product-info__sku {
    font-size: var(--fs-14);
    color: #64748B;
    font-weight: var(--fw-regular);
}
.product-info__rating {
    display: flex;
    align-items: center;
    gap: var(--gap-8);
}
.product-info__stars {
    display: flex;
    gap: var(--gap-4);
    list-style: none;
    padding: 0;
    margin: 0;
}
.product-info__stars li {
    line-height: 0;
}
.product-info__reviews {
    font-size: var(--fs-14);
    color: #64748B;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
.product-info__reviews:hover {
    color: var(--Blue-7001);
    text-decoration: underline;
}
/* Price Block */
.product-info__price-block {
    display: flex;
    align-items: baseline;
    gap: var(--gap-12);
    margin-bottom: var(--gap-4);
}
.product-info__price {
    font-size: 36px;
    font-weight: var(--fw-semibold);
    color: var(--Blue-7001);
    line-height: 1;
}
.product-info__price-old {
    font-size: var(--fs-18);
    font-weight: var(--fw-regular);
    color: #94A3B8;
    text-decoration: line-through;
}
/* Actions: Quantity + Buy Button */
.product-info__actions {
    display: flex;
    gap: var(--gap-12);
    align-items: stretch;
    margin-bottom: var(--gap-4);
}
.product-info__quantity {
    flex-shrink: 0;
    width: 160px;
}
.product-info__button {
    flex: 1;
    min-height: 56px;
    font-size: var(--fs-18);
    font-weight: var(--fw-semibold);
}
/* Special Offer Block */
.product-info__special-offer {
    display: flex;
    align-items: center;
    gap: var(--gap-5);
    padding: var(--gap-12) var(--gap-16);
    background: #EBF5FF;
    border-radius: var(--br-16);
    font-size: var(--fs-14);
    color: var(--Blue-7001);
}
.product-info__special-offer-text {
    font-weight: var(--fw-semibold);
    color: var(--Blue-7001);
}
.product-info__special-offer-label {
    font-weight: var(--fw-regular);
    color: #64748B;
}
.product-info__special-offer-icon {
    background: transparent;
    border: none;
    padding: 0;
    width: 18px;
    height: 18px;
    cursor: pointer;
    color: #64748B;
    margin-left: auto;
    flex-shrink: 0;
}
.product-info__special-offer-icon:hover {
    color: var(--Blue-7001);
}
/* Description */
.product-info__description {
    font-size: var(--fs-12);
    line-height: var(--lh-16);
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.product-info__description p {
    margin: 0;
}
/* ============================================
   Product Tabs (Desktop & Mobile)
   ============================================ */
.product-tabs {
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
}
/* Desktop: Horizontal Tab List */
.product-tabs__list {
    display: flex;
    gap: var(--gap-12);
    background: #E8F2FF;
    border-radius: var(--br-32);
    padding: var(--padding-8);
}
.product-tabs__button {
    flex: 1;
    padding: var(--gap-16) var(--gap-32);
    font-size: var(--fs-16);
    font-weight: var(--fw-semibold);
    color: var(--Blue-700);
    background: transparent;
    border: none;
    border-radius: var(--br-32);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--gap-8);
}
.product-tabs__button span {
    display: inline;
}
/* Hide accordion icons on desktop */
.product-tabs__icon {
    display: none;
}
.product-tabs__button:hover {
    background: rgba(255, 255, 255, 0.5);
}
.product-tabs__button--active {
    background: var(--color-white);
    color: var(--Blue-800);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
/* Tab Panels */
.product-tabs__panel {
    width: 100%;
    padding: var(--gap-24) 0;
    display: none;
}
.product-tabs__panel--active {
    display: block;
}
/* ============================================
   Product Specs Table
   ============================================ */
.product-specs {
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
}
.product-specs__row {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--gap-24);
    padding: var(--gap-20) var(--gap-24);
    border-radius: var(--br-8);
    transition: background-color 0.2s ease;
}
.product-specs__row:nth-child(odd) {
    background-color: var(--color-white);
}
.product-specs__row:nth-child(even) {
    background-color: var(--Blue-50);
}
.product-specs__label {
    font-size: var(--fs-16);
    font-weight: var(--fw-semibold);
    color: var(--Blue-800);
    margin: 0;
}
.product-specs__value {
    font-size: var(--fs-16);
    line-height: var(--lh-24);
    color: var(--Blue-800);
    margin: 0;
}
/* ============================================
   Text Block (Reviews, Videos placeholders)
   ============================================ */
.product-text-block {
    font-size: var(--fs-16);
    line-height: var(--lh-24);
    color: var(--Blue-700);
}
.product-text-block p {
    margin: 0 0 var(--gap-16) 0;
}
.product-text-block p:last-child {
    margin-bottom: 0;
}
/* ============================================
   Reviews (Отзывы)
   ============================================ */
.reviews-items {
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
}
.reviews-item {
    background: var(--Other-White);
    border-radius: var(--br-16);
    padding: var(--padding-24);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.reviews-item-content {
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
}
.reviews-item-date {
    font-size: var(--fs-14);
    color: var(--Blue-400);
    font-weight: 500;
}
.reviews-item-name {
    font-size: var(--fs-18);
    font-weight: 600;
    color: var(--Blue-800);
    margin: 0;
}
.reviews-item-properties {
    display: flex;
    flex-direction: column;
    gap: var(--gap-12);
}
.reviews-item-property {
    display: flex;
    flex-direction: column;
    gap: var(--gap-8);
}
.reviews-item-property-name {
    font-size: var(--fs-14);
    font-weight: 600;
    color: var(--Blue-700);
}
.reviews-item-property-value {
    font-size: var(--fs-14);
    line-height: var(--lh-22);
    color: var(--Blue-700);
}
.reviews-item-rating {
    display: flex;
    align-items: center;
}
.reviews-item-stars {
    display: flex;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}
.reviews-item-stars li {
    line-height: 0;
}
/* ============================================
   Gallery Enhancements for Lightbox
   ============================================ */
.product-gallery__preview {
    cursor: zoom-in;
    position: relative;
}
.product-gallery__zoom-hint {
    position: absolute;
    bottom: var(--gap-16);
    right: var(--gap-16);
    width: var(--br-48);
    height: var(--br-48);
    background: rgba(0, 0, 0, 0.6);
    border-radius: var(--br-50);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.product-gallery__preview:hover .product-gallery__zoom-hint {
    opacity: 1;
}
.product-gallery__thumbnail--video {
    position: relative;
}
.product-gallery__play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
/* ============================================
   Lightbox Styles
   ============================================ */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}
.lightbox.lightbox--active {
    display: flex;
}
.lightbox__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}
.lightbox__container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 80px 20px 120px;
    z-index: 1;
}
/* Close Button */
.lightbox__close {
    position: absolute;
    top: var(--gap-20);
    right: var(--gap-20);
    width: var(--br-48);
    height: var(--br-48);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: var(--br-50);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}
.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}
/* Navigation Arrows */
.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}
.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.2);
}
.lightbox__nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}
.lightbox__nav--prev {
    left: 20px;
}
.lightbox__nav--next {
    right: 20px;
}
/* Media Content */
.lightbox__content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox__media {
    display: none;
    max-width: 100%;
    max-height: 100%;
    animation: scaleIn 0.3s ease;
}
.lightbox__media--active {
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox__media--image img {
    max-width: 100%;
    max-height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    border-radius: 8px;
}
.lightbox__media--video video {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
}
/* Counter */
.lightbox__counter {
    position: absolute;
    top: var(--gap-20);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-white);
    padding: var(--gap-8) var(--gap-16);
    border-radius: 20px;
    font-size: var(--fs-14);
    font-weight: var(--fw-semibold);
    z-index: 10;
}
/* Thumbnails Navigation */
.lightbox__thumbnails {
    position: absolute;
    bottom: var(--gap-20);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--gap-12);
    padding: var(--gap-12);
    background: rgba(0, 0, 0, 0.6);
    border-radius: var(--br-16);
    overflow-x: auto;
    max-width: 90%;
    z-index: 10;
}
.lightbox__thumbnails::-webkit-scrollbar {
    height: 4px;
}
.lightbox__thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}
.lightbox__thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}
.lightbox__thumb {
    width: 64px;
    height: 64px;
    border-radius: var(--br-8);
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: #000;
    position: relative;
}
.lightbox__thumb img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.lightbox__thumb:hover {
    border-color: rgba(255, 255, 255, 0.5);
}
.lightbox__thumb--active {
    border-color: #FFFFFF;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}
.lightbox__thumb--video::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--gap-24);
    height: var(--gap-24);
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--br-50);
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox__thumb--video::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 52%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-left: 8px solid #333;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    z-index: 1;
}
/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
/* Prevent body scroll when lightbox is open */
body.lightbox-open {
    overflow: hidden;
}
/* ============================================
   About Page Component
   Based on About Company desktop.png mockup
   ============================================ */
/* About Page Container */
.about-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
    padding: var(--padding-32) 0;
    color: var(--Blue-800);
    font-family: var(--font-montserrat);
}
/* Breadcrumbs at top */
.about-page__breadcrumbs {
    margin-bottom: var(--gap-16);
}
/* Two-column Layout: Sidebar + Content */
.about-page__layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: var(--gap-32);
    align-items: start;
    min-width: 0;
}
/* ============================================
   Sidebar Navigation
   ============================================ */
.about-page__sidebar {
    position: sticky;
    top: var(--gap-32);
    align-self: flex-start;
}
.about-nav__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap-12);
}
.about-nav__item {
    margin: 0;
}
.about-nav__link {
    display: flex;
    align-items: center;
    height: 72px;
    padding: var(--padding-24) var(--padding-16);
    font-family: var(--font-montserrat);
    font-size: var(--fs-16);
    line-height: var(--lh-20);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls--0_03);
    color: var(--Blue-700);
    text-decoration: none;
    background: var(--Other-White);
    border: 1px solid transparent;
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
}
.about-nav__link:hover {
    border-color: var(--Blue-600);
}
.about-nav__item--active .about-nav__link {
    background: var(--Blue-600);
    color: var(--Other-White);
    font-weight: var(--fw-semibold);
}
/* ============================================
   Main Content Area
   ============================================ */
.about-page__content {
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
    min-width: 0;
    overflow: hidden;
}
/* ============================================
   Hero Title and Media
   ============================================ */
.about-hero__title {
    margin-top: 0;
}
.about-hero__media {
    width: 100%;
    max-width: 100%;
    height: 400px;
    border-radius: var(--br-32);
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #E8F2FF 0%, #F5F9FF 100%);
    margin: 0;
}
.about-hero__image {
    width: 100%;
    max-width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
}
/* ============================================
   Highlights Section
   ============================================ */
.about-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
}
.about-highlights__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-24);
    list-style: none;
    padding: var(--padding-24) 0;
    margin: 0;
    min-width: 0;
}
.about-highlights__item {
    background: var(--Other-White);
    border-radius: var(--br-32);
    padding: var(--padding-32);
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
}
.about-highlights__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.about-highlights__header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--gap-16);
}
.about-highlights__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
}
.about-highlights__icon img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}
.about-highlights__title {
    margin: 0;
    font-size: var(--fs-20);
    line-height: var(--lh-26);
}
.about-highlights__description {
    margin: 0;
}
/* ============================================
   Main Article Content
   ============================================ */
.about-article {
    display: flex;
    flex-direction: column;
    background: var(--Other-White);
    border-radius: var(--br-32);
    padding: var(--padding-32);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    min-width: 0;
}
.about-article__header {
    margin-bottom: var(--gap-8);
}
.about-article__title {
    font-size: var(--fs-36);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-44);
    background: var(--Other-Logo-Home-Page);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 16px 0;
}
.about-article__body {
    display: flex;
    flex-direction: column;
}
.about-article__subtitle {
    font-size: var(--fs-24);
    font-weight: var(--fw-semibold);
    line-height: var(--lh-30);
    color: var(--Blue-600);
    margin: var(--gap-24) 0 var(--gap-8) 0;
}
.about-article__text {
    font-size: var(--fs-16);
    line-height: var(--lh-26);
    color: var(--Blue-700);
    margin: 0;
    text-indent: 32px;
}
.about-article__text strong {
    font-weight: var(--fw-semibold);
    color: var(--Blue-800);
}
.about-article__list {
    list-style: disc;
    padding-left: var(--padding-24);
    margin: 0;
    display: flex;
    flex-direction: column;
}
.about-article__list li {
    padding-left: var(--padding-8);
}
.about-article__list .about-article__text {
    text-indent: 0;
}
/* ============================================
   Certificates Grid
   ============================================ */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--gap-24);
}
.certificate-card {
    background: var(--Other-White);
    border-radius: var(--br-32);
    padding: var(--padding-32);
    display: flex;
    flex-direction: column;
    gap: var(--gap-20);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
}
.certificate-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.certificate-card__image-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--br-16);
    overflow: hidden;
    background: #f5f5f5;
}
.certificate-card__image {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: center;
    object-position: center;
}
.certificate-card__title {
    margin: 0;
    text-align: center;
    color: var(--Blue-800);
}
/* ============================================
   Policy Accordion (Mobile only)
   ============================================ */
.policy-accordion {
    display: none; /* Hidden on desktop */
}
.about-nav__link--accordion {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 72px;
    padding: var(--padding-24) var(--padding-16);
    cursor: pointer;
    border: none;
    background: var(--Other-White);
    border-radius: 20px;
    color: var(--Blue-700);
    font-family: var(--font-montserrat);
    font-size: var(--fs-16);
    line-height: var(--lh-20);
    font-weight: var(--fw-medium);
    letter-spacing: var(--ls--0_03);
    transition: all 0.3s ease;
    text-align: left;
}
.about-nav__icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--Blue-700);
}
/* Active accordion state */
.policy-accordion--active .about-nav__link--accordion {
    background: var(--Blue-50);
    border: 2px solid var(--Other-White);
    color: var(--Blue-800);
}
.policy-accordion--active .about-nav__icon {
    transform: rotate(180deg);
    color: var(--Blue-800);
}
/* Mobile content sections - hidden by default */
.policy-section-mobile {
    display: none;
}
/* Desktop policy sections - always visible */
.policy-section {
    display: block;
}
/* ============================================
   Public Offer Card
   ============================================ */
.offer-card {
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
    background: var(--Other-White);
    border-radius: 20px;
    padding: var(--padding-0) var(--padding-10);
    box-shadow: none;
    min-width: 0;
    height: 90px;
    justify-content: center;
}
.offer-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--gap-16);
}
.offer-card__title-wrapper {
    display: flex;
    align-items: center;
    gap: var(--gap-16);
    flex: 1;
}
.offer-card__icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    border-radius: 50%;
    padding: var(--padding-0);
}
.offer-card__icon img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}
.offer-card__title {
    font-size: var(--fs-16);
    font-weight: var(--fw-medium);
    line-height: var(--lh-24);
    color: var(--Blue-600);
    margin: 0;
}
.offer-card__cta {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.1s ease;
    flex-shrink: 0;
}
.offer-card__cta:hover {
    background: transparent;
}
.offer-card__cta:active {
    transform: scale(0.97);
}
.offer-card__cta:focus-visible {
    outline: 2px solid rgba(0, 93, 224, 0.5);
    outline-offset: 2px;
}
.offer-card__cta-icon {
    width: 40px;
    height: 40px;
    -o-object-fit: contain;
    object-fit: contain;
}
/* ============================================
   News Page Component
   Based on News Web.png mockup
   ============================================ */
/* News Page Container */
.news-page {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--gap-32);
    padding: var(--padding-32) 0;
    color: var(--Blue-800);
    font-family: var(--font-montserrat);
}
/* Breadcrumbs */
.news-page__breadcrumbs {
    margin-bottom: var(--gap-0);
}
/* ============================================
   Search Section
   ============================================ */
.news-search {
    display: flex;
    align-items: center;
    gap: var(--gap-12);
    padding: var(--padding-12) var(--padding-24);
    border-radius: var(--br-32);
    background: var(--Other-White);
    box-shadow: 0 16px 40px rgba(0, 69, 172, 0.08);
    width: 100%;
}
.news-search__icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--Other-Grey);
    cursor: pointer;
}
.news-search__icon svg {
    width: 100%;
    height: 100%;
}
.news-search__field {
    flex: 1;
    border: none;
    background: transparent;
    font-size: var(--fs-16);
    line-height: var(--lh-24);
    font-weight: var(--fw-regular);
    color: var(--Blue-800);
    outline: none;
    font-family: var(--font-montserrat);
}
.news-search__field::-moz-placeholder {
    color: var(--Other-Grey);
}
.news-search__field::placeholder {
    color: var(--Other-Grey);
}
/* ============================================
   News Grid
   ============================================ */
.news-grid__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap-24);
    list-style: none;
    margin: 0;
    padding: 0;
}
.news-grid__item {
    min-width: 0;
}
/* ============================================
   News Card
   ============================================ */
.news-card {
    height: 470px;
    display: flex;
    flex-direction: column;
    background: var(--Other-White);
    border-radius: var(--br-32);
    box-shadow: 0 24px 64px rgba(0, 93, 224, 0.12);
    padding: var(--padding-24);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 80px rgba(0, 93, 224, 0.16);
}
.news-card__link {
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.news-card__link:focus-visible {
    outline: 2px solid rgba(0, 93, 224, 0.5);
    outline-offset: 2px;
    border-radius: var(--br-32);
}
.news-card__media {
    margin: 0;
    border-radius: 24px;
    overflow: hidden;
    height: 250px;
    background: linear-gradient(135deg, #E8F2FF 0%, #F5F9FF 100%);
}
.news-card__image {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: center;
    display: block;
}
.news-card__title {
    font-size: var(--fs-16);
    line-height: var(--lh-24);
    font-weight: var(--fw-medium);
    color: var(--Blue-800);
    margin: 0;
    /* Ограничение текста - 2 строки */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.news-card__excerpt {
    font-size: var(--fs-14);
    line-height: var(--lh-18);
    font-weight: var(--fw-regular);
    color: var(--Blue-700);
    margin: 0;
    flex: 1;
    /* Ограничение текста - 3 строки */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* ============================================
   News Detail Page Styles
   ============================================ */
.news-open {
    display: flex;
    flex-direction: column;
    gap: var(--gap-32);
    padding: var(--padding-32) 0;
    color: var(--Blue-800);
}
.news-open__breadcrumbs {
    margin: 0;
}
.news-open__search {
    width: 100%;
    margin: 0;
}
.news-search__reset {
    border: none;
    background: none;
    width: 24px;
    height: 24px;
    color: var(--Other-Grey);
    cursor: pointer;
    padding: 0;
    display: none;
}
.news-search__field:not(:-moz-placeholder) ~ .news-search__reset {
    display: block;
}
.news-search__field:not(:placeholder-shown) ~ .news-search__reset {
    display: block;
}
.news-open__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: var(--gap-32);
    align-items: start;
}
.news-article {
    background: var(--color-white);
    border-radius: var(--br-32);
    box-shadow: 0 32px 80px rgba(0, 69, 224, 0.12);
    padding: var(--padding-32);
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
}
.news-article__title {
    margin: 0;
    color: var(--Blue-400);
}
.news-article__meta {
    display: flex;
    align-items: center;
    gap: var(--gap-12);
    color: var(--Other-Grey);
}
.news-article__body {
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
    font-size: var(--fs-18);
    line-height: var(--lh-28);
}
.news-article__paragraph {
    margin: 0;
}
.news-article__paragraph--lead {
    font-weight: var(--fw-semibold);
    color: var(--Blue-700);
}
.news-article__quote {
    margin: 0;
    padding: var(--padding-20);
    border-left: 4px solid var(--Blue-100);
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--br-16);
    font-style: italic;
    color: var(--Blue-700);
}
.news-popular {
    background: none;
    border-radius: var(--br-32);
    padding: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: var(--gap-20);
}
.news-popular__title {
    margin: 0;
    color: var(--Blue-800);
}
.news-popular__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
}
.news-popular__item {
    min-width: 0;
}
.news-popular__link {
    display: flex;
    flex-direction: column;
    gap: var(--gap-8);
    padding: var(--padding-16) var(--padding-20);
    border-radius: var(--br-32);
    background: var(--Other-White);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}
.news-popular__link:focus-visible {
    outline: 2px solid var(--Blue-400);
    outline-offset: 4px;
}
.news-popular__link:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 93, 224, 0.16);
    color: var(--Blue-400);
}
.news-popular__headline {
    font-weight: var(--fw-medium);
    margin: 0;
    color: var(--Blue-600);
}
.news-popular__date {
    color: var(--Other-Grey);
}
.link-back {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-12);
    text-decoration: none;
    color: var(--Blue-700);
    font-weight: var(--fw-semibold);
}
.link-back:hover {
    color: var(--Blue-400);
}
.link-back__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1279px) {
    .news-open__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .news-popular {
        order: 1;
    }

    .news-open__article {
        order: 0;
    }
}
@media (max-width: 1023px) {
    .news-open__search {
        margin: 0;
        max-width: 100%;
    }

    .news-open__layout {
        gap: var(--gap-24);
    }
}
@media (max-width: 767px) {
    .news-open {
        padding: var(--padding-16) 0;
        gap: var(--gap-24);
    }

    .news-article {
        padding: var(--padding-24);
    }

    .news-article__title {
        font-size: var(--fs-20);
        line-height: var(--lh-28);
    }

    .news-popular {
        padding: 0;
    }
}
@media (max-width: 479px) {
    .news-article,
    .news-popular {
        border-radius: var(--br-16);
    }

    .news-popular__link {
        padding: var(--padding-12) var(--padding-16);
    }

    .link-back {
        justify-content: center;
    }
}
/* Payment Conditions Page */
.payment-page {
    display: flex;
    flex-direction: column;
    gap: var(--gap-32);
    color: var(--Blue-800);
    padding: var(--padding-32) var(--padding-24);
    max-width: 1440px;
    margin: 0 auto;
}
.payment-page__layout {
    display: grid;
    grid-template-columns: minmax(200px, 0.8fr) 1fr;
    gap: var(--gap-24);
    align-items: start;
}
.payment-page__sidebar {
    position: sticky;
    top: 120px;
}
.payment-page__content {
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
}
/* Info tabs (shared navigation pills) */
.info-tabs {
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
}
.info-tabs__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
}
.info-tabs__item {
    margin: 0;
}
.info-tabs__link {
    text-decoration: none;
    font-weight: 600;
    color: inherit;
}
.info-tabs__link--active,
.where-sidebar__link--active {
    background: var(--Btn-Primary-Default);
    color: var(--Other-White);
}
/* Hero */
.payment-hero {
    width: 100%;
    background: var(--Other-White);
    border-radius: var(--br-32);
    box-shadow: 0 24px 64px rgba(0, 69, 172, 0.12);
    overflow: hidden;
}
.payment-hero__media {
    display: block;
}
.payment-hero__image {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}
/* Card */
.payment-card {
    background: var(--Other-White);
    border-radius: var(--br-32);
    box-shadow: 0 24px 64px rgba(0, 69, 172, 0.12);
    padding: var(--padding-32);
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
}
.payment-card__title {
    margin: 0;
    background: var(--Other-Logo-Home-Page, linear-gradient(139.19deg, #005de0, #00327a));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.payment-card__text {
    margin: 0;
    color: var(--Blue-700);
}
.payment-logos {
    display: flex;
    flex-wrap: wrap;
    gap: var(--gap-24);
    align-items: stretch;
}
.payment-logos__item {
    flex: 1 1 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--Other-White);
    border-radius: var(--br-32);
    padding: var(--padding-24);
    box-shadow: 0 16px 40px rgba(0, 69, 172, 0.08);
    border: 1px solid rgba(0, 93, 224, 0.08);
}
.payment-logos__image {
    max-width: 100%;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
}
.payment-page__disclaimer {
    margin: var(--gap-24) 0 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    color: rgba(0, 41, 121, 0.7);
}
/* Responsive */
@media (min-width: 1440px) {
    .payment-page__content {
        max-width: 960px;
    }

    .payment-page__sidebar {
        width: 240px;
    }
}
@media (max-width: 1439px) and (min-width: 1280px) {
    .payment-page {
        gap: var(--gap-24);
    }

    .payment-page__layout {
        gap: var(--gap-20);
    }

    .payment-card {
        padding: 28px;
    }
}
@media (max-width: 1024px) {
    .payment-page__layout {
        grid-template-columns: 1fr;
    }

    .payment-page__sidebar {
        position: static;
    }

    .info-tabs__list,
    .where-sidebar__list {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--gap-12);
    }

    .payment-card {
        padding: var(--padding-24);
    }

    .payment-hero__image {
        aspect-ratio: 4 / 3;
    }
}
@media (max-width: 768px) {
    .payment-logos {
        gap: var(--gap-16);
    }

    .payment-logos__item {
        flex: 1 1 100%;
        box-shadow: 0 12px 32px rgba(0, 69, 172, 0.12);
    }
}
@media (max-width: 600px) {
    .payment-page {
        padding: var(--padding-24) var(--padding-16);
    }

    .info-tabs__list,
    .where-sidebar__list {
        flex-direction: column;
    }

    .payment-card {
        padding: var(--padding-20);
    }

    .payment-page__disclaimer {
        text-align: left;
    }
}
@media (max-width: 480px) {
    .payment-hero,
    .payment-card {
        border-radius: 24px;
    }

    .payment-logos__item {
        padding: var(--padding-16);
    }
}
/* Delivery Page Styles */
/* 1. Standard white card for delivery info */
.delivery-card {
    background: var(--Other-White);
    border-radius: var(--br-32);
    box-shadow: 0 24px 64px rgba(0, 69, 172, 0.12);
    padding: var(--padding-32);
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
}
/* 2. Title with gradient color */
.delivery-card__title {
    text-align: start;
    background: var(--Other-Logo-Home-Page, linear-gradient(139.19deg, #005de0, #00327a));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* Separator lines between sections */
.delivery-card__section {
    padding-bottom: var(--gap-24);
    border-bottom: 1px solid var(--Blue-10);
}
.delivery-card__section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
/* 3. Subtitle with Button M typography */
.delivery-card__subtitle {
    /* From .text-btn-m */
    font-size: var(--fs-20);
    line-height: var(--lh-26);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls--0_03);
    /* Customizations */
    color: var(--Blue-700);
    margin: 0 0 var(--gap-16) 0;
}
.delivery-card__text {
    font-size: var(--fs-16);
    line-height: var(--lh-24);
    color: var(--Blue-800);
    margin: 0 0 var(--gap-12) 0;
}
.delivery-card__text:last-child {
    margin-bottom: 0;
}
.delivery-card__text--important {
    color: var(--Blue-700);
    font-weight: var(--fw-medium);
}
/* Where to Buy Page */
/* Main Container */
.where-to-buy-page {
    display: flex;
    flex-direction: column;
    gap: var(--gap-32);
    color: var(--Blue-800);
    padding: var(--padding-32) var(--padding-24);
    max-width: 1440px;
    margin: 0 auto;
}
/* Layout and Sidebar use about-page__layout and about-page__sidebar classes */
/* Intro Card */
.where-to-buy-page__intro {
    background: var(--Blue-10);
}
/* Card Component */
.where-card {
    background: var(--Blue-20);
    border-radius: var(--br-32);
    padding: var(--padding-32);
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
}
.where-card__title {
    margin: 0;
    color: var(--Blue-800);
    font-size: var(--fs-24);
    line-height: var(--lh-28);
    font-weight: var(--fw-semibold);
    letter-spacing: var(--ls-0);
    text-transform: none;
    text-align: center;
}
.where-card__list {
    margin: 0;
    padding-left: 1.5rem;
    list-style-type: disc;
    color: var(--Blue-800);
}
.where-card__list li {
    margin-bottom: var(--gap-8);
}
.where-card__list li:last-child {
    margin-bottom: 0;
}
.where-card__body {
    margin: 0;
    color: var(--Blue-800);
}
.where-card__logo {
    max-width: 100%;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
    background: transparent;
}
/* Marketplaces Section */
.marketplaces__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--gap-24);
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
}
.marketplaces__item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--Other-White);
    border-radius: var(--br-32);
    padding: var(--padding-32);
    min-height: 140px;
}
.marketplaces__item a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.marketplaces__item--primary {
    box-shadow: 0 24px 64px rgba(0, 93, 224, 0.12);
}
.marketplaces__logo {
    max-width: 100%;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
    background: transparent;
}
/* Pharmacy Grid */
.pharmacy-grid__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--gap-24);
    list-style: none;
    margin: 0;
    padding: 0;
}
.pharmacy-grid__item {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--Other-White);
    border-radius: var(--br-24);
    padding: var(--padding-20);
    box-shadow: 0 12px 36px rgba(0, 69, 172, 0.12);
    min-height: 120px;
}
.pharmacy-grid__logo {
    max-width: 100%;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
    background: transparent;
}
/* Disclaimer */
.where-to-buy-page__disclaimer {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    color: rgba(0, 41, 121, 0.7);
    margin: var(--gap-32) 0 0 0;
    font-size: 12px;
    line-height: 1.5;
}
/* Responsive: Tablet (≤1024px) */
@media (max-width: 1024px) {
    .where-card {
        padding: var(--padding-24);
    }
}
/* Responsive: Tablet Small (768-1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .pharmacy-grid__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--gap-16);
    }
}
/* Responsive: Mobile Large (≤600px) */
@media (max-width: 600px) {
    .where-to-buy-page {
        padding: var(--padding-24) var(--padding-16);
    }

    .where-card__list {
        text-align: left;
        padding-left: 1.2rem;
    }

    .pharmacy-grid__list {
        grid-template-columns: 1fr;
        max-width: 280px;
        margin: 0 auto;
    }

    .pharmacy-grid__item {
        padding: var(--padding-16);
    }

    .marketplaces__list {
        grid-template-columns: 1fr;
    }

    .where-to-buy-page__disclaimer {
        text-align: left;
    }
}
/* Responsive: Mobile Small (≤480px) */
@media (max-width: 480px) {
    .where-card {
        border-radius: 24px;
    }

    .where-to-buy-page__disclaimer {
        font-size: 10px;
    }
}
/* Style overrides based on mockup feedback (and HTML refactor) */
.about-page__intro.where-card {
    background: var(--Other-White);
}
.about-page__section.where-card.marketplaces,
.about-page__section.where-card.pharmacy-grid {
    background: var(--Blue-0);
    box-shadow: none;
}
/* ============================================
   Article Detail Page Styles
   ============================================ */
.article-open {
    display: flex;
    flex-direction: column;
    gap: var(--gap-32);
    padding: var(--padding-32) 0;
    color: var(--Blue-800);
}
.article-open__breadcrumbs {
    margin: 0;
}
.article-open__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 22rem;
    gap: var(--gap-32);
    align-items: start;
}
.article-open__article {
    background: var(--Other-White);
    border-radius: var(--br-32);
    box-shadow: 0 8px 32px rgba(0, 69, 172, 0.08);
    padding: var(--padding-32);
}
.article-content {
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
}
.article-content__title {
    margin: 0;
    padding-bottom: 30px;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 600;
    color: var(--Blue-400);
}
.article-content__meta {
    display: flex;
    align-items: center;
    gap: var(--gap-12);
    color: var(--Other-Grey);
}
.article-content__feature-image {
    margin: 0;
    border-radius: var(--br-16);
    overflow: hidden;
}
.article-content__feature-image img {
    width: 100%;
    height: auto;
    display: block;
}
.article-content__body {
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
    font-size: var(--fs-18);
    line-height: var(--lh-28);
    word-wrap: break-word;
    overflow-wrap: break-word;
}
/* Стили для элементов внутри body */
.article-content__body p,
.article-content__body h2,
.article-content__body h3,
.article-content__body blockquote,
.article-content__body ul,
.article-content__body ol {
    margin: 0;
}
.article-content__body a {
    color: var(--Blue-600);
    text-decoration: underline;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}
.article-content__body a:hover {
    color: var(--Blue-400);
}
.article-content__paragraph {
    margin: 0;
}
.article-content__paragraph--lead {
    font-weight: var(--fw-semibold);
    color: var(--Blue-700);
}
.article-content__subtitle {
    font-size: var(--fs-24);
    line-height: var(--lh-32);
    font-weight: var(--fw-bold);
    color: var(--Blue-600);
    margin: 0;
}
.article-content__quote {
    margin: 0;
    padding: var(--padding-20);
    border-left: 4px solid var(--Blue-100);
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--br-16);
    font-style: italic;
    color: var(--Blue-700);
}
.article-open__sidebar {
    background: none;
    border-radius: var(--br-32);
    padding: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: var(--gap-20);
}
.article-open__back {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-12);
    text-decoration: none;
    color: var(--Blue-700);
    font-weight: var(--fw-semibold);
}
.article-open__back:hover {
    color: var(--Blue-400);
}
/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1279px) {
    .article-open__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .article-open__sidebar {
        order: 1;
    }

    .article-open__article {
        order: 0;
    }

    .link-back {
        justify-content: center;
    }
}
@media (max-width: 1023px) {
    .article-open__search {
        margin: 0;
        max-width: 100%;
    }

    .article-open__layout {
        gap: var(--gap-24);
    }

    .article-content__title {
        font-size: 32px;
    }
}
@media (max-width: 767px) {
    .article-open {
        padding: var(--padding-16) 0;
        gap: var(--gap-24);
    }

    .article-content {
        padding: var(--padding-24);
    }

    .article-content__title {
        font-size: var(--fs-20);
    }
}
@media (max-width: 479px) {
    .article-content {
        border-radius: var(--br-16);
    }
}
/* ============================================
   Contacts Page Styles
   ============================================ */
.contacts-page {
    display: flex;
    flex-direction: column;
    gap: var(--gap-32);
    padding: var(--padding-32) 0;
}
/* Section for the contact plates */
.contacts-plates {
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
}
/* List of contact plates */
.contacts-plates__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap-24);
    list-style: none;
    padding: 0;
    margin: 0;
}
/* Individual contact plate */
.contacts-plates__item {
    background: var(--Other-White);
    border-radius: var(--br-32);
    padding: var(--padding-32);
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.contacts-plates__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}
.contacts-plates__header {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: var(--gap-16);
}
.contacts-plates__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-shrink: 0;
}
.contacts-plates__icon img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}
.contacts-plates__title {
    margin: 0;
    font-size: var(--fs-20);
    line-height: var(--lh-26);
}
.contacts-plates__description {
    margin: 0;
}
/* Map container */
.contacts-page__map {
    width: 100%;
    min-height: 600px;
    border-radius: var(--br-32);
    overflow: hidden;
    background-color: var(--Blue-50); /* Placeholder color */
}
/* --- Responsive --- */
/* Tablet: 2 columns */
@media (max-width: 1279px) {
    .contacts-plates__list {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Mobile: 1 column */
@media (max-width: 767px) {
    .contacts-plates__list {
        grid-template-columns: 1fr;
    }

    .contacts-page__map {
        min-height: 400px;
    }
}
/* === Redesigned LK Page Layout === */
.lk-redesign {
    padding: 20px 0;
}
.lk-redesign__top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--gap-20);
    margin-bottom: var(--gap-24);
}
.lk-redesign__nav-buttons {
    display: flex;
    gap: 16px;
}
.lk-redesign__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center; /* Center text horizontally */
    padding: var(--padding-12) 26px;
    font-family: var(--font-montserrat);
    font-size: var(--fs-16);
    line-height: var(--lh-20);
    font-weight: var(--fw-medium);
    color: var(--Blue-700);
    text-decoration: none;
    background: var(--Other-White);
    border: 1px solid transparent;
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
}
.lk-redesign__nav-btn:hover {
    border-color: var(--Blue-600);
}
.lk-redesign__nav-btn--active {
    background: var(--Blue-600);
    color: var(--Other-White);
    font-weight: var(--fw-semibold);
}
.lk-redesign__logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--Blue-400);
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: var(--fs-16);
    font-weight: var(--fw-semibold);
    text-decoration: none;
}
.lk-redesign__logout-icon {
    width: 24px;
    height: 24px;
}
.lk-redesign__content {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
}
.lk-redesign__form-container {
    border-radius: 20px;
    overflow: hidden;
}
.lk-redesign__form-header {
    background-color: var(--Blue-100, #B9CDF6);
    color: var(--Blue-700, #1F406E);
    padding: 16px 24px;
    font-size: var(--fs-18);
    font-weight: 700;
    border-radius: 20px;
}
/* === Redesigned LK Form === */
.lk-form {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.lk-form__group {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: center;
    gap: 20px;
}
.lk-form__label {
    font-size: var(--fs-16);
    color: var(--Blue-600, #416CAD);
    font-weight: var(--fw-medium);
}
.lk-form__password-section-title {
    font-size: var(--fs-16);
    color: var(--Blue-700, #1F406E);
    font-weight: var(--fw-semibold);
    margin-top: 16px;
    margin-bottom: 8px;
}
.lk-form__input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--Blue-0, #D5E1F9);
    border-radius: 12px;
    background-color: var(--color-white);
    font-size: var(--fs-16);
    box-sizing: border-box;
}
.lk-form__input:focus {
    outline: none;
    border-color: var(--Blue-600);
}
.lk-form__actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}
.lk-form__submit-btn {
    padding: 12px 24px;
    background-color: var(--Blue-600);
    color: var(--color-white);
    border: none;
    border-radius: 12px;
    font-size: var(--fs-16);
    font-weight: var(--fw-bold);
    cursor: pointer;
    transition: background-color 0.2s;
}
.lk-form__submit-btn:hover {
    background-color: var(--Blue-700);
}
/* === Accordion === */
.lk-accordion {
    overflow: hidden;
    border-radius: 22px;
}
.lk-accordion__toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background-color: var(--Blue-100, #B9CDF6);
    color: var(--Blue-700, #1F406E);
    font-family: var(--font-montserrat);
    font-size: var(--fs-18);
    font-weight: 700;
    border: none;
    cursor: pointer;
}
.lk-accordion__icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}
.lk-accordion__svg-bg {
    fill: var(--Blue-600);
    transition: fill 0.3s ease;
}
.lk-accordion__svg-arrow {
    stroke: var(--Other-White);
    transition: stroke 0.3s ease;
}
.lk-accordion__toggle[aria-expanded="true"] {
    border-radius: 22px;
}
.lk-accordion__toggle[aria-expanded="true"] .lk-accordion__icon {
    transform: rotate(180deg);
}
.lk-accordion__toggle[aria-expanded="true"] .lk-accordion__svg-bg {
    fill: var(--color-white);
}
.lk-accordion__toggle[aria-expanded="true"] .lk-accordion__svg-arrow {
    stroke: var(--Blue-700);
}
.lk-accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
}
/* === Responsive === */
@media (max-width: 599px) {
    .lk-form__group {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}
/* === Orders Page Specific Styles === */
.orders-nav {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}
.orders-nav__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-family: var(--font-montserrat);
    font-size: var(--fs-16);
    line-height: var(--lh-20);
    font-weight: var(--fw-medium);
    color: var(--Blue-700);
    text-decoration: none;
    background: var(--Other-White);
    border: 1px solid transparent;
    border-radius: 20px;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
}
.orders-nav__btn:hover {
    border-color: var(--Blue-600);
}
.orders-nav__btn--active {
    background: var(--Blue-600);
    color: var(--Other-White);
    font-weight: var(--fw-semibold);
}
.orders-list-container {
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
}
/* Order Card */
.order-card {
    display: flex;
    gap: var(--gap-32);
    align-items: start;
    padding: var(--padding-24);
    background: var(--Other-White);
    border-radius: var(--br-32);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
/* Left section: Product image + name */
.order-card__left {
    display: flex;
    align-items: center;
    gap: var(--gap-16);
    width: 250px;
    flex-shrink: 0;
}
.order-card__image {
    width: 50px;
    height: 50px;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: var(--br-16);
    flex-shrink: 0;
}
.order-card__product-name {
    font-size: 14px;
    font-weight: var(--fw-semibold);
    color: var(--Blue-800);
    line-height: var(--lh-20);
    word-wrap: break-word;
    overflow-wrap: break-word;
}
/* Middle section: Order details */
.order-card__middle {
    display: flex;
    gap: var(--gap-32);
    flex: 1;
    min-width: 0;
}
.order-card__detail-group {
    display: flex;
    flex-direction: column;
    gap: var(--gap-8);
    flex: 1;
    min-width: 0;
}
.order-card__detail-label {
    font-size: var(--fs-14);
    font-weight: var(--fw-medium);
    color: var(--Blue-800);
    line-height: var(--lh-18);
    text-decoration: none !important;
}
.order-card__detail-value {
    font-size: var(--fs-14);
    font-weight: var(--fw-regular);
    color: var(--Blue-700);
    line-height: var(--lh-18);
}
/* Order number color */
.order-card__detail-group:nth-child(1) .order-card__detail-value {
    color: var(--Blue-600);
}
.order-card__detail-link {
    font-size: var(--fs-14);
    font-weight: var(--fw-medium);
    color: var(--Blue-400);
    line-height: var(--lh-18);
    text-decoration: underline;
    transition: color 0.2s ease;
}
.order-card__detail-link:hover {
    color: var(--Blue-400);
    text-decoration: underline;
}
/* Payment status color variants */
.order-card__payment--paid {
    color: #2E9608 !important;
    font-weight: var(--fw-semibold);
}
.order-card__payment--pending {
    color: var(--Blue-400);
    font-weight: var(--fw-medium);
}
.order-card__payment--cancelled {
    color: #DC2626;
    font-weight: var(--fw-semibold);
}
/* Right section: Order status */
.order-card__right {
    display: flex;
    flex-direction: column;
    gap: var(--gap-8);
    width: 150px;
    flex-shrink: 0;
}
.order-card__status-label {
    font-size: var(--fs-14);
    font-weight: var(--fw-medium);
    color: var(--Blue-800);
    line-height: var(--lh-18);
}
.order-card__status-value {
    font-size: var(--fs-14);
    font-weight: var(--fw-regular);
    color: var(--Blue-700);
    line-height: var(--lh-18);
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}
/* === Responsive Styles for LK pages === */
/* Below 1050px */
@media (max-width: 1050px) {
    .order-card__left {
        width: 180px;
    }
}
/* 769px - 800px */
@media (min-width: 769px) and (max-width: 800px) {
    .order-card__left {
        min-width: 150px;
    }
}
/* Tablet: 768px - 1150px */
@media (min-width: 768px) and (max-width: 1150px) {
    .order-card__image {
        width: 50px;
        height: 50px;
    }

    .order-card__product-name {
        font-size: 10px;
    }

    .order-card__detail-label,
    .order-card__detail-value,
    .order-card__detail-link,
    .order-card__status-label,
    .order-card__status-value {
        font-size: var(--fs-12);
    }
}
/* Mobile: <= 768px */
@media (max-width: 768px) {
    .lk-redesign__top-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .lk-redesign__nav-buttons {
        flex-direction: column;
        width: 100%;
    }

    .lk-redesign__nav-btn {
        height: auto;
        padding: 16px;
    }

    .lk-redesign__logout-btn {
        justify-content: center;
        padding: 8px;
        background-color: var(--Blue-50);
        border-radius: 20px;
    }

    .orders-nav {
        overflow-x: auto;
        padding-bottom: 12px;
        scrollbar-width: thin;
        scrollbar-color: var(--Blue-100) transparent;
    }

    .orders-nav::-webkit-scrollbar {
        height: 6px;
    }

    .orders-nav::-webkit-scrollbar-track {
        background: transparent;
    }

    .orders-nav::-webkit-scrollbar-thumb {
        background-color: var(--Blue-100);
        border-radius: 3px;
    }

    .orders-nav__btn {
        flex-shrink: 0;
        padding: 8px 16px;
        font-size: var(--fs-14);
    }

    /* Order card mobile layout */
    .order-card {
        display: grid;
        grid-template-areas:
      "date price"
      "number number"
      "product product"
      "payment status";
        grid-template-columns: 1fr 1fr;
        gap: var(--gap-12);
        padding: var(--padding-32);
        align-items: start;
    }

    /* Middle section flattening */
    .order-card__middle {
        display: contents;
    }

    /* Date - top left */
    .order-card__detail-group:nth-child(2) {
        grid-area: date;
    }

    /* Order number - second row, full width */
    .order-card__detail-group:nth-child(1) {
        grid-area: number;
    }

    .order-card__detail-group:nth-child(1) .order-card__detail-value::before {
        content: "№ заказа ";
        color: var(--Blue-800);
    }

    .order-card__detail-group:nth-child(1) .order-card__detail-value {
        font-size: var(--fs-16);
        font-weight: var(--fw-semibold);
        color: var(--Blue-600);
    }

    /* Price - top right */
    .order-card__detail-group:nth-child(3) {
        grid-area: price;
        text-align: right;
    }

    .order-card__detail-group:nth-child(3) .order-card__detail-value {
        font-size: var(--fs-20);
        font-weight: var(--fw-bold);
        color: var(--Blue-800);
    }

    /* Payment - bottom left */
    .order-card__detail-group:nth-child(4) {
        grid-area: payment;
    }

    /* Hide all labels except payment and status */
    .order-card__detail-label {
        display: none;
    }

    /* Show payment label */
    .order-card__detail-group:nth-child(4) .order-card__detail-label {
        display: block;
        font-size: var(--fs-18);
        font-weight: var(--fw-semibold);
        color: var(--Blue-800);
        margin-bottom: 4px;
    }

    .order-card__detail-group:nth-child(4) .order-card__detail-value {
        font-size: var(--fs-16);
    }

    /* Product section - third row, full width */
    .order-card__left {
        grid-area: product;
        width: 100%;
        gap: var(--gap-12);
        padding: 25px 0;
    }

    .order-card__image {
        width: 80px;
        height: 80px;
    }

    .order-card__product-name {
        font-size: var(--fs-18);
        font-weight: 400;
    }

    /* Status section - bottom right */
    .order-card__right {
        grid-area: status;
        width: 100%;
    }

    .order-card__status-label {
        display: block;
        font-size: var(--fs-18);
        font-weight: var(--fw-semibold);
        color: var(--Blue-800);
        margin-bottom: 4px;
    }

    .order-card__status-value {
        font-size: var(--fs-16);
    }

    .order-card__payment--paid,
    .order-card__payment--pending,
    .order-card__payment--cancelled {
        font-size: var(--fs-16);
    }
}
/* Mobile Small: <= 450px */
@media (max-width: 450px) {
    .order-card__product-name {
        font-size: 15px;
    }

    .order-card__detail-label,
    .order-card__detail-value,
    .order-card__status-label,
    .order-card__status-value {
        font-size: 15px;
    }

    .order-card__payment--paid,
    .order-card__payment--pending,
    .order-card__payment--cancelled {
        font-size: 15px;
    }

    /* Override specific 4th child (Payment) selectors */
    .order-card__detail-group:nth-child(4) .order-card__detail-label {
        font-size: 15px;
    }

    .order-card__detail-group:nth-child(4) .order-card__detail-value {
        font-size: 15px;
    }

    /* Override status selectors from 768px breakpoint */
    .order-card__right .order-card__status-label {
        font-size: 15px;
    }

    .order-card__right .order-card__status-value {
        font-size: 15px;
    }

    .order-card__image {
        width: 50px;
        height: 50px;
    }
}
/* Mobile Extra Small: <= 380px */
@media (max-width: 380px) {
    .order-card__product-name {
        font-size: 12px;
    }

    .order-card__detail-label,
    .order-card__detail-value,
    .order-card__status-label,
    .order-card__status-value {
        font-size: 12px;
    }

    .order-card__payment--paid,
    .order-card__payment--pending,
    .order-card__payment--cancelled {
        font-size: 12px;
    }

    /* Override specific 4th child (Payment) selectors */
    .order-card__detail-group:nth-child(4) .order-card__detail-label {
        font-size: 12px;
    }

    .order-card__detail-group:nth-child(4) .order-card__detail-value {
        font-size: 12px;
    }

    /* Override status selectors from 768px breakpoint */
    .order-card__right .order-card__status-label {
        font-size: 12px;
    }

    .order-card__right .order-card__status-value {
        font-size: 12px;
    }
}
/* === Filled Cart Page === */
.cart-page {
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
    margin-bottom: var(--gap-48);
}
.cart-page__content {
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
}
.cart-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
}
.cart-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px 160px 140px auto;
    align-items: center;
    gap: var(--gap-16);
    padding: var(--padding-24) var(--padding-38) var(--padding-24) var(--padding-32);
    background: var(--Other-White);
    border-radius: var(--br-32);
    box-shadow: 0 24px 48px rgba(0, 93, 224, 0.08);
    border: 1px solid rgba(0, 93, 224, 0.05);
}
.cart-item__product {
    display: flex;
    align-items: center;
    gap: var(--gap-16);
    min-width: 0;
}
.cart-item__image {
    width: 96px;
    height: 96px;
    border-radius: var(--br-16);
    -o-object-fit: contain;
    object-fit: contain;
    flex-shrink: 0;
}
.cart-item__details {
    display: flex;
    flex-direction: column;
    gap: var(--gap-8);
    min-width: 0;
}
.cart-item__title,.cart-item__title * {
    margin: 0;
    font-size: var(--fs-16);
    line-height: var(--lh-24);
    font-weight: var(--fw-semibold);
    color: var(--Blue-800);
    text-transform: uppercase;
    text-decoration: none;
}
.cart-item__unit-price,
.cart-item__total {
    display: flex;
    flex-direction: column;
    gap: var(--gap-4);
    align-items: end;

}
.cart-item__unit-price{
    align-items: flex-start;
}
.cart-item__amount {
    font-size: var(--fs-20);
    line-height: var(--lh-24);
    font-weight: var(--fw-medium);
    color: var(--Blue-800);
}
.cart-item__amount--total {
    font-size: var(--fs-24);
    line-height: var(--lh-30);
    font-weight: var(--fw-semibold);
}
.cart-item__note {
    font-size: 10px;
    line-height: var(--lh-16);
    font-weight: var(--fw-regular);
    color: var(--Blue-600);
}
.cart-item__quantity {
    display: flex;
    justify-content: center;
    width: fit-content;
}
.cart-item .quantity-control {
    display: inline-flex;
}
.cart-item .quantity-control__button,
.cart-item .quantity-control__input {
    font-size: 16px;
}
.cart-item__remove {
    justify-self: end;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    color: var(--Blue-600);
    cursor: pointer;
    transition: transform 0.2s ease;
    position: absolute;
    right: 20px;
    top: 20px;
}
.cart-item__remove:hover {
    transform: scale(1.05);
}
.cart-item__remove:active {
    transform: scale(0.95);
}
.cart-item__remove-icon {
    width: 24px;
    height: 24px;
}
.cart-page__footer {
    display: flex;
    gap: var(--gap-16);
    align-items: center;
    flex-wrap: nowrap;
    background: var(--Other-White);
    border-radius: var(--br-32);
    padding: var(--padding-24) var(--padding-32);
    border: 1px solid rgba(0, 93, 224, 0.05);
    box-shadow: 0 24px 48px rgba(0, 93, 224, 0.08);
}
.cart-promo {
    flex: 1 1 430px;
    max-width: 430px;
    display: flex;
    flex-direction: column;
    gap: var(--gap-8);
    padding: 0;
    border: none;
    background: transparent;
}
.cart-promo__label {
    font-size: var(--fs-16);
    line-height: 1;
    color: var(--Blue-700);
    margin: 0;
}
.cart-promo__input {
    width: 100%;
    height: 48px;
    border-radius: var(--br-32);
    border: 1px solid var(--Blue-0);
    padding: 0 var(--padding-24);
    font-size: var(--fs-16);
    line-height: var(--lh-20);
    font-family: var(--font-montserrat);
    color: var(--Blue-800);
    background: var(--Other-White);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.cart-promo__input:focus {
    outline: none;
    border-color: var(--Btn-Default);
    box-shadow: 0 0 0 3px rgba(0, 93, 224, 0.12);
}
.cart-promo__input.is-valid {
    border-color: #2cab6f;
    box-shadow: 0 0 0 3px rgba(44, 171, 111, 0.18);
}
.cart-promo__input.is-error {
    border-color: #ff4d4f;
    background: rgba(255, 77, 79, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 77, 79, 0.14);
}
.cart-promo__input:disabled {
    background: var(--Blue-0);
    color: var(--Other-Grey);
    cursor: not-allowed;
}
.cart-promo__feedback {
    display: none;
    font-size: var(--fs-14);
    line-height: var(--lh-18);
    margin: 0;
}
.cart-promo__feedback--success {
    display: block;
    color: #2cab6f;
}
.cart-promo__feedback--error {
    display: block;
    color: #ff4d4f;
}
.cart-summary {
    flex: 1 1 auto;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: var(--gap-32);
    background: transparent;
    border-radius: 0;
    padding: 0;
    border: none;
    box-shadow: none;
}
.cart-summary__totals {
    display: flex;
    flex-direction: column;
    gap: var(--gap-8);
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: end;
    align-items: flex-end;
    text-align: right;
}
.cart-summary__label {
    font-size: var(--fs-16);
    line-height: 1;
    color: var(--Blue-600);
}
.cart-summary__value {
    font-size: var(--fs-28);
    line-height: 1;
    font-weight: var(--fw-semibold);
    color: var(--Blue-800);
}
.cart-summary__weight {
    font-size: var(--fs-14);
    line-height: var(--lh-18);
    color: var(--Blue-600);
    width: 100%;
}
.cart-summary__action {
    white-space: nowrap;
}
@media (max-width: 1024px) {
    .cart-item {
        grid-template-columns: minmax(0, 1fr) 140px 140px 120px auto;
        padding: var(--padding-20) var(--padding-38) var(--padding-20) var(--padding-24);
    }

    .cart-item__image {
        width: 60px;
        height: 60px;
    }

    .cart-item__title {
        font-size: 14px;
        line-height: 1.4;
    }

    .cart-item__amount {
        font-size: 16px;
        line-height: 1.4;
    }

    .cart-item__amount--total {
        font-size: 16px;
        line-height: 1.4;
    }

    .cart-summary__value {
        font-size: 20px;
    }
    .cart-promo__label{
        font-size: var(--fs-12);
    }
}
@media (max-width: 900px) and (min-width: 856px) {
    .cart-item__title {
        font-size: 12px;
        line-height: 1.3;
    }
}
@media (max-width: 855px) and (min-width: 691px) {
    .cart-item {
        grid-template-columns: minmax(0, 1fr) auto auto auto auto;
        gap: var(--gap-12);
    }

    .cart-item__unit-price,
    .cart-item__quantity,
    .cart-item__total {
        justify-self: end;
    }



    .cart-item__note {
        text-align: right;
    }

    .cart-item__quantity {
        justify-content: flex-end;
    }

    .cart-item__total {
        align-items: flex-end;
    }
}
@media (max-width: 690px) and (min-width: 601px) {
    .cart-item__title {
        font-size: 10px;
        line-height: 1.3;
    }

    .cart-item {
        grid-template-columns: minmax(0, 1fr) auto auto auto auto;
        gap: var(--gap-10);
    }

    .cart-item__unit-price,
    .cart-item__quantity,
    .cart-item__total {
        justify-self: end;
    }
}
@media (max-width: 1000px) and (min-width: 769px) {
    .cart-promo {
        flex: 0 0 230px;
        max-width: 230px;
    }

    .cart-promo__input {
        max-width: 230px;
    }
    .vi-hide-hote{
        display: none;
    }
}
@media (max-width: 768px) {
    .cart-page__footer {
        flex-direction: column;
        gap: var(--gap-16);
    }

    .cart-summary {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--gap-24);
        margin-left: 0;
    }

    .cart-promo {
        width: 100%;
        flex: 1 1 100%;
        max-width: 100%;
        align-items: center;
        text-align: center;
    }

    .cart-promo__label {
        width: 100%;
        text-align: center;
        font-size: var(--fs-12);
    }

    .cart-summary__action {
        width: 100%;
        text-align: center;
    }

    .cart-summary__totals {
        width: 100%;



    }

}
@media (max-width: 600px) {
    .cart-item {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
        gap: var(--gap-12);
        padding-right: var(--padding-24);
    }

    .cart-item__product {
        grid-column: 1 / -1;
        width: 100%;
    }

    .cart-item__unit-price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: var(--gap-4);
        justify-self: start;
    }

    .cart-item__quantity {
        justify-self: center;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .cart-item .quantity-control {
        width: auto;
        justify-content: center;
        gap: var(--gap-8);
        padding: 0;
    }

    .cart-item .quantity-control__button {
        font-size: 16px;
        width: 44px;
        height: 44px;
    }

    .cart-item .quantity-control__input {
        width: 48px;
        max-width: 72px;
        font-size: 16px;
        text-align: center;
    }

    .cart-item__total {
        display: flex;
        flex-direction: column;
        gap: var(--gap-4);
        align-items: flex-end;
        justify-self: end;
    }

    .cart-item__remove {
        position: absolute;
        top: var(--padding-24);
        right: var(--padding-24);
    }

    .cart-item__image {
        width: 70px;
        height: 70px;
    }

    .cart-item__title {
        font-size: 12px;
        line-height: 1.4;
        font-weight: 400;
        padding-right: var(--padding-32);
    }

    .cart-item__amount {
        font-size: 16px;
        line-height: 1.3;
    }

    .cart-item__amount--total {
        font-size: 16px;
        line-height: 1.3;
    }

    .cart-summary__value {
        font-size: 20px;
        line-height: 1.4;
    }
}
@media (max-width: 440px) {
    .cart-item .quantity-control {
        gap: var(--gap-4);
    }

    .cart-item .quantity-control__button {
        width: 38px;
        height: 38px;
    }

    .cart-item .quantity-control__input {
        width: 40px;
        font-size: 16px;
    }
}
@media (max-width: 380px) {
    .cart-item .quantity-control {
        gap: var(--gap-2);
    }

    .cart-item .quantity-control__button {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .cart-item .quantity-control__input {
        width: 34px;
        font-size: 15px;
    }

    .cart-item__amount,
    .cart-item__amount--total {
        font-size: 14px;
        line-height: 1.2;
    }
}
/* === Empty Cart State === */
.empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--padding-64) var(--padding-24);
    margin-bottom: var(--gap-48);
    text-align: center;
}
.empty-cart__icon {
    width: 120px;
    height: 120px;
    margin-bottom: var(--gap-24);
}
.empty-cart__title {
    font-family: var(--font-montserrat);
    font-size: var(--fs-36);
    line-height: var(--lh-44);
    font-weight: var(--fw-semibold);
    background: linear-gradient(90deg, #005DE0 0%, #00327A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--gap-16);
}
.empty-cart__text {
    font-family: var(--font-montserrat);
    font-size: var(--fs-16);
    line-height: var(--lh-24);
    font-weight: var(--fw-regular);
    color: var(--Blue-700);
    max-width: 600px;
    margin-bottom: var(--gap-32);
}
.empty-cart__button {
    padding: var(--padding-16) var(--padding-32);
    font-size: var(--fs-16);
    line-height: var(--lh-20);
    font-weight: var(--fw-semibold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media( max-width: 768px ){
    body .lk-redesign__top-nav,
    .lk-redesign__top-nav .lk-redesign__logout-btn
    {
        display: none;
    }
}

/* === Popular Products === */
.popular-products {
    margin-top: var(--gap-48);
}
.popular-products__title {
    font-family: var(--font-montserrat);
    font-size: var(--fs-28);
    line-height: var(--lh-36);
    font-weight: var(--fw-bold);
    color: var(--Blue-800);
    margin-bottom: var(--gap-24);
}
/* === Responsive Styles === */
/* Desktop: >= 900px - 4 cards */
@media (min-width: 900px) {
    .popular-products__grid {
        grid-template-columns: repeat(4, 1fr) !important;
    }

    .popular-products .product-card__price {
        font-size: 24px;
    }
}
/* Tablet: 767px - 899px - 3 cards */
@media (min-width: 767px) and (max-width: 899px) {
    .popular-products__grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }

    .empty-cart__title {
        font-size: var(--fs-24);
        line-height: var(--lh-32);
    }

    .empty-cart__icon {
        width: 100px;
        height: 100px;
    }

    .popular-products .product-card__price {
        font-size: 20px;
    }
}
/* Mobile: 466px - 766px - 2 cards */
@media (min-width: 466px) and (max-width: 766px) {
    .popular-products__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .empty-cart {
        padding: var(--padding-32) var(--padding-16);
    }

    .empty-cart__icon {
        width: 80px;
        height: 80px;
    }

    .empty-cart__title {
        font-size: var(--fs-20);
        line-height: var(--lh-28);
    }

    .empty-cart__text {
        font-size: var(--fs-14);
        line-height: var(--lh-20);
    }

    .popular-products__title {
        font-size: var(--fs-20);
        line-height: var(--lh-28);
    }

    .popular-products .product-card__price {
        font-size: 20px;
    }
}
/* Mobile Small: <= 465px - 1 card */
@media (max-width: 465px) {
    .popular-products__grid {
        grid-template-columns: 1fr !important;
    }

    .empty-cart {
        padding: var(--padding-32) var(--padding-16);
    }

    .empty-cart__icon {
        width: 80px;
        height: 80px;
    }

    .empty-cart__title {
        font-size: var(--fs-20);
        line-height: var(--lh-28);
    }

    .empty-cart__text {
        font-size: var(--fs-14);
        line-height: var(--lh-20);
    }

    .popular-products__title {
        font-size: var(--fs-20);
        line-height: var(--lh-28);
    }

    .popular-products .product-card__price {
        font-size: 14px;
    }
}
/* Background icon for cart page */
.cart-background-icon {
    width: 200px;
    height: 200px;
    position: absolute;
    margin: 0 !important;
    top: 0;
    right: 0;
    max-width: 100%;
    overflow: hidden;
    -o-object-fit: cover;
    object-fit: cover;
    z-index: 0;
    opacity: 0.5; /* Example style, can be adjusted */
}
/* ===================================
   Checkout Page Component (BEM)
   =================================== */
/* Main Checkout Container */
.checkout {
    width: 100%;
    padding-top: var(--padding-32);
}
/* Back to Cart Link */
.checkout__back {
    display: inline-flex;
    align-items: center;
    gap: var(--gap-8);
    font-family: var(--font-montserrat);
    font-size: 16px;
    line-height: 1.5;
    font-weight: var(--fw-medium);
    color: var(--Blue-600);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}
.checkout__back:hover {
    color: var(--Btn-Default);
}
.checkout__back:hover .checkout__back-icon {
    transform: translateX(-4px);
}
.checkout__back-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}
.checkout__back-text {
    display: inline-block;
}
.checkout__title {
    font-family: var(--font-montserrat);
    font-size: var(--fs-36);
    line-height: var(--lh-44);
    font-weight: 600;
    background: var(--Other-Logo-Home-Page);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.checkout__order-number {
    /* Wrapper for order number - Bitrix will insert value here */
}
.checkout__container {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--gap-32);
    align-items: flex-start;
}
.checkout__main {
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
}
/* Sections */
.checkout__section {
    width: 100%;
}
.checkout__section-title {
    font-family: var(--font-montserrat);
    font-size: 24px;
    line-height: var(--lh-32);
    font-weight: 600;
    background: var(--Other-Logo-Home-Page);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--gap-16);
}
.checkout__card {
    background: var(--Other-White);
    border-radius: var(--br-16);
    padding: 32px 24px;
    box-shadow: 0 2px 8px rgba(0, 41, 121, 0.08);
}
.checkout__card .checkout__section-title {
    margin-top: 0;
    margin-bottom: var(--gap-16);
}
/* ===================================
   Region Selection
   =================================== */
.checkout-region {
    background: var(--Other-White);
    border-radius: var(--br-16);
    padding: 32px 24px;
    box-shadow: 0 2px 8px rgba(0, 41, 121, 0.08);
}
.checkout-region__content {
    display: flex;
    flex-direction: column;
    gap: var(--gap-12);
}
.checkout-region__label {
    font-family: var(--font-montserrat);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--Blue-800);
}
.checkout-region__required {
    color: #f44336;
    margin-left: 2px;
}
.checkout-region__search {
    position: relative;
    display: flex;
    align-items: center;
}
.checkout-region__search-icon {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: var(--Blue-300);
    pointer-events: none;
    z-index: 1;
}
.checkout-region__input {
    flex: 1;
    height: 48px;
    padding: var(--padding-12) var(--padding-20);
    padding-left: 48px;
    border: 1px solid var(--Blue-100);
    border-radius: 24px;
    font-family: var(--font-montserrat);
    font-size: var(--fs-16);
    line-height: var(--lh-24);
    color: var(--Blue-800);
    background: var(--Other-White);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.checkout-region__input:focus {
    outline: none;
    border-color: var(--Btn-Default);
    box-shadow: 0 0 0 3px rgba(0, 93, 224, 0.1);
}
.checkout-region__input::-moz-placeholder {
    color: var(--Blue-200);
}
.checkout-region__input::placeholder {
    color: var(--Blue-200);
}
.checkout-region__hint {
    font-family: var(--font-montserrat);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--Blue-800);
    margin: 0;
}
/* ===================================
   Delivery Methods
   =================================== */
.checkout-delivery {
    background: var(--Other-White);
    border-radius: var(--br-16);
    padding: 32px 24px;
    box-shadow: 0 2px 8px rgba(0, 41, 121, 0.08);
}
.checkout-delivery .checkout__section-title {
    margin-top: 0;
    margin-bottom: var(--gap-16);
}
.checkout-delivery__list {
    display: flex;
    flex-direction: column;
    gap: var(--gap-12);
    margin-bottom: var(--gap-20);
}
.checkout-delivery__item {
    position: relative;
    display: block;
    cursor: pointer;
    border: 1px solid var(--Blue-200);
    border-radius: 20px;
    padding: var(--padding-20);
    background: var(--Other-White);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.checkout-delivery__item:hover {
    border: 2px solid var(--Blue-400);
    padding: calc(var(--padding-20) - 1px); /* Compensate for border width change */
}
.checkout-delivery__radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.checkout-delivery__item:has(.checkout-delivery__radio:checked) {
    border: 2px solid var(--Btn-Default);
    padding: calc(var(--padding-20) - 1px); /* Compensate for border width change */
    box-shadow: 0 4px 12px rgba(0, 93, 224, 0.15);
}
.checkout-delivery__content {
    display: flex;
    gap: var(--gap-24);
    align-items: center;
}
/* Block 1: Icon + Name */
.checkout-delivery__main {
    display: flex;
    align-items: center;
    gap: var(--gap-12);
    flex: 1;
}
.checkout-delivery__icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.checkout-delivery__icon img {
    width: 40px;
    height: 40px;
    -o-object-fit: contain;
    object-fit: contain;
}
.checkout-delivery__name {
    font-family: var(--font-montserrat);
    font-size: 16px;
    line-height: var(--lh-24);
    font-weight: 400;
    color: var(--Blue-800);
}
/* Block 2: Price */
.checkout-delivery__price-block {
    display: flex;
    flex-direction: column;
    gap: var(--gap-4);
    min-width: 150px;
}
.checkout-delivery__price-label {
    font-family: var(--font-montserrat);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--Blue-800);
}
.checkout-delivery__price-value {
    font-family: var(--font-montserrat);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--Blue-800);
}
/* Block 3: Duration */
.checkout-delivery__duration-block {
    display: flex;
    flex-direction: column;
    gap: var(--gap-4);
    min-width: 120px;
}
.checkout-delivery__duration-label {
    font-family: var(--font-montserrat);
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--Blue-800);
}
.checkout-delivery__duration-value {
    font-family: var(--font-montserrat);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--Blue-800);
}
.checkout-delivery__note {
    font-family: var(--font-montserrat);
    font-size: 16px;
    line-height: 1.5;
    color: var(--Blue-800);
    margin: 0;
}
.checkout-delivery__note-link {
    color: var(--Blue-400);
    text-decoration: none;
    transition: color 0.2s ease;
}
.checkout-delivery__note-link:hover {
    color: var(--Btn-Default);
    text-decoration: underline;
}
/* ===================================
   Recipient Form
   =================================== */
.checkout-recipient__form {
    display: flex;
    flex-direction: column;
    gap: var(--gap-20);
}
.checkout-recipient__field {
    display: flex;
    flex-direction: column;
    gap: var(--gap-8);
}
.checkout-recipient__label {
    font-family: var(--font-montserrat);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: var(--Blue-800);
}
.checkout-recipient__required {
    color: #f44336;
    margin-left: 2px;
}
.checkout-recipient__input {
    height: 48px;
    padding: var(--padding-12) var(--padding-20);
    border: 1px solid var(--Blue-100);
    border-radius: 24px;
    font-family: var(--font-montserrat);
    font-size: var(--fs-16);
    line-height: var(--lh-24);
    color: var(--Blue-800);
    background: var(--Other-White);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.checkout-recipient__input:focus {
    outline: none;
    border-color: var(--Btn-Default);
    box-shadow: 0 0 0 3px rgba(0, 93, 224, 0.1);
}
.checkout-recipient__input::-moz-placeholder {
    color: var(--Blue-200);
}
.checkout-recipient__input::placeholder {
    color: var(--Blue-200);
}
/* ===================================
   Payment Methods
   =================================== */
.checkout-payment__logos {
    display: flex;
    gap: var(--gap-24);
    align-items: center;
    flex-wrap: wrap;
}
.checkout-payment__logos-item {
    display: flex;
    align-items: center;
    padding: var(--padding-12) var(--padding-16);
    border: 1px solid var(--Blue-200);
    border-radius: 20px;
    background: var(--Other-White);
}
.checkout-payment__logos-image {
    height: auto;
    max-height: 60px;
    width: auto;
    max-width: 200px;
    -o-object-fit: contain;
    object-fit: contain;
}
/* ===================================
   Order Items
   =================================== */
.checkout-items__list {
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
}
.checkout-items__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--gap-16);
    padding: var(--padding-12) 24px;
    border: 1px solid var(--Blue-200);
    border-radius: 20px;
}
.checkout-items__image {
    width: 80px;
    height: 80px;
    border-radius: var(--br-8);
    overflow: hidden;
    background: var(--Other-White);
    display: flex;
    align-items: center;
    justify-content: center;
}
.checkout-items__image img {
    width: 100%;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}
.checkout-items__left {
    display: flex;
    align-items: center;
    gap: var(--gap-16);
}
.checkout-items__right {
    display: flex;
    align-items: center;
    gap: var(--gap-16);
}
.checkout-items__name {
    font-family: var(--font-montserrat);
    font-size: 16px;
    line-height: var(--lh-24);
    font-weight: 400;
    color: var(--Blue-800);
}
.checkout-items__quantity {
    font-family: var(--font-montserrat);
    font-size: 16px;
    line-height: var(--lh-24);
    font-weight: 400;
    color: var(--Blue-800);
}
.checkout-items__price {
    font-family: var(--font-montserrat);
    font-size: 16px;
    line-height: var(--lh-24);
    font-weight: 500;
    color: var(--Blue-800);
    white-space: nowrap;
}
/* ===================================
   Terms Agreement
   =================================== */
.checkout__terms {
    padding: var(--padding-16);
    background: var(--Blue-10);
    border-radius: var(--br-8);
    margin-top: var(--gap-8);
}
.checkout__terms-text {
    font-family: var(--font-montserrat);
    font-size: var(--fs-12);
    line-height: var(--lh-18);
    color: var(--Blue-700);
    margin: 0;
}
.checkout__terms-link {
    color: var(--Btn-Default);
    text-decoration: underline;
    transition: color 0.2s ease;
}
.checkout__terms-link:hover {
    color: var(--Blue-700);
    text-decoration: none;
}
/* ===================================
   Sidebar Summary
   =================================== */
.checkout__sidebar {
    position: sticky;
    top: 100px;
}
.checkout-summary {
    background: var(--Other-White);
    border-radius: var(--br-16);
    padding: var(--padding-24);
    box-shadow: 0 4px 16px rgba(0, 41, 121, 0.12);
}
.checkout-summary__title {
    font-family: var(--font-montserrat);
    font-size: var(--fs-20);
    line-height: var(--lh-26);
    font-weight: var(--fw-bold);
    color: var(--Blue-800);
    margin-bottom: var(--gap-20);
}
.checkout-summary__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--gap-12);
}
.checkout-summary__label {
    font-family: var(--font-montserrat);
    font-size: 16px;
    line-height: var(--lh-20);
    font-weight: 400;
    background: var(--Other-Logo-Home-Page);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.checkout-summary__value {
    font-family: var(--font-montserrat);
    font-size: 16px;
    line-height: var(--lh-20);
    font-weight: 400;
    color: var(--Blue-800);
}
.checkout-summary__row--total {
    margin-top: var(--gap-16);
    margin-bottom: var(--gap-20);
}
.checkout-summary__row--total .checkout-summary__label {
    font-size: 20px;
    line-height: var(--lh-24);
    font-weight: 600;
    background: var(--Blue-800);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.checkout-summary__total {
    font-size: 20px;
    line-height: var(--lh-32);
    font-weight: 600;
    color: var(--Blue-800);
}
.checkout-summary__button {
    width: 100%;
    height: 56px;
    padding: 10px 32px;
    font-size: var(--fs-18);
    line-height: var(--lh-24);
    font-weight: var(--fw-bold);
}

/* ============================================
   Contacts Page Styles
   ============================================ */

.contacts-page {
  display: flex;
  flex-direction: column;
  gap: var(--gap-32);
  padding: var(--padding-32) 0;
}

/* Section for the contact plates */
.contacts-plates {
  display: flex;
  flex-direction: column;
  gap: var(--gap-24);
}

/* List of contact plates */
.contacts-plates__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-24);
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Individual contact plate */
.contacts-plates__item {
  background: var(--Other-White);
  border-radius: var(--br-32);
  padding: var(--padding-32);
  display: flex;
  flex-direction: column;
  gap: var(--gap-16);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contacts-plates__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.contacts-plates__header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--gap-16);
}

.contacts-plates__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-shrink: 0;
}

.contacts-plates__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contacts-plates__title {
  margin: 0;
  font-size: var(--fs-20);
  line-height: var(--lh-26);
}

.contacts-plates__description {
  margin: 0;
}

/* Map container */
.contacts-page__map {
  width: 100%;
  min-height: 600px;
  border-radius: var(--br-32);
  overflow: hidden;
  background-color: var(--Blue-50);
}

/* --- Responsive --- */

/* Tablet: 2 columns */
@media (max-width: 1279px) {
  .contacts-plates__list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
  .contacts-plates__list {
    grid-template-columns: 1fr;
  }

  .contacts-page__map {
    min-height: 400px;
  }
}

/* ===================================
   Responsive Styles
   =================================== */
/* Move sidebar below main content on screens < 1040px */
@media (max-width: 1040px) {
    .checkout__container {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .checkout__main {
        order: 1;
    }

    .checkout__sidebar {
        order: 2;
        position: static;
    }
}
/* Tablet: 768px - 1024px */
@media (max-width: 1024px) {
    .checkout__container {
        grid-template-columns: 1fr;
        gap: var(--gap-24);
    }

    .checkout__title {
        font-size: var(--fs-28);
        line-height: var(--lh-36);
    }

    .checkout__section-title {
        font-size: var(--fs-20);
        line-height: var(--lh-28);
    }

    .checkout__card {
        padding: var(--padding-20);
    }

    .checkout-delivery {
        padding: var(--padding-20);
    }

    .checkout-delivery__icon {
        width: 45px;
        height: 45px;
    }

    .checkout-delivery__icon img {
        width: 35px;
        height: 35px;
    }

    .checkout-delivery__name {
        font-size: 15px;
    }

    .checkout-delivery__duration-label,
    .checkout-delivery__price-label {
        font-size: 13px;
    }

    .checkout-delivery__duration-value,
    .checkout-delivery__price-value {
        font-size: 15px;
    }

    .checkout-summary {
        padding: var(--padding-20);
    }

    .checkout-region {
        padding: var(--padding-20);
    }
}
/* Tablet & Mobile: 360-768px */
@media (max-width: 768px) {
    .checkout__back {
        font-size: 14px;
    }

    .checkout__back-icon {
        width: 20px;
        height: 20px;
    }

    .checkout-region__label,
    .checkout-region__hint {
        font-size: 16px;
    }
}
/* Mobile: <= 767px */
@media (max-width: 767px) {
    .checkout {
        padding-top: var(--padding-24);
    }

    .checkout__title {
        font-size: var(--fs-24);
        line-height: var(--lh-32);
        margin-bottom: var(--gap-24);
    }

    .checkout__container {
        grid-template-columns: 1fr;
        gap: var(--gap-24);
    }

    .checkout__main {
        gap: var(--gap-20);
    }

    .checkout__section-title {
        font-size: var(--fs-18);
        line-height: var(--lh-24);
        margin-bottom: var(--gap-12);
    }

    .checkout__card {
        padding: var(--padding-16);
    }

    .checkout-region {
        padding: var(--padding-16);
    }

    /* Region */
    .checkout-region__input {
        height: 44px;
        padding: var(--padding-10) var(--padding-16);
        padding-left: 44px;
        font-size: var(--fs-14);
    }

    .checkout-region__search-icon {
        left: 12px;
        width: 18px;
        height: 18px;
    }

    .checkout-region__label,
    .checkout-region__hint {
        font-size: 14px;
    }

    /* Delivery */
    .checkout-delivery {
        padding: var(--padding-16);
    }

    .checkout-delivery__list {
        gap: var(--gap-10);
        margin-bottom: var(--gap-16);
    }

    .checkout-delivery__item {
        padding: var(--padding-16);
    }

    .checkout-delivery__content {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--gap-12);
    }

    .checkout-delivery__main {
        width: 100%;
        gap: var(--gap-10);
        justify-content: space-between;
    }

    .checkout-delivery__icon {
        width: 40px;
        height: 40px;
    }

    .checkout-delivery__icon img {
        width: 32px;
        height: 32px;
    }

    .checkout-delivery__name {
        font-size: 12px;
        line-height: var(--lh-20);
        text-align: right;
    }

    .checkout-delivery__price-block,
    .checkout-delivery__duration-block {
        width: 100%;
        min-width: unset;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .checkout-delivery__price-label,
    .checkout-delivery__duration-label {
        font-size: 12px;
    }

    .checkout-delivery__price-value {
        font-size: 16px;
        font-weight: 700;
    }

    .checkout-delivery__duration-value {
        font-size: 14px;
    }

    .checkout-delivery__note {
        font-size: 12px;
    }

    /* Recipient */
    .checkout-recipient__form {
        gap: var(--gap-16);
    }

    .checkout-recipient__input {
        height: 44px;
        padding: var(--padding-10) var(--padding-16);
        font-size: var(--fs-14);
    }

    /* Payment */
    .checkout-payment__icons {
        gap: var(--gap-12);
    }

    .checkout-payment__icon {
        height: 28px;
    }

    /* Items */
    .checkout-items__item {
        gap: var(--gap-12);
    }

    .checkout-items__image {
        width: 60px;
        height: 60px;
    }

    .checkout-items__name,
    .checkout-items__quantity,
    .checkout-items__price {
        font-size: 12px;
    }

    /* Terms */
    .checkout__terms {
        padding: var(--padding-12);
    }

    .checkout__terms-text {
        font-size: var(--fs-11);
        line-height: var(--lh-16);
    }

    /* Sidebar */
    .checkout__sidebar {
        position: static;
        order: -1;
    }

    .checkout-summary {
        padding: var(--padding-16);
    }

    .checkout-summary__title {
        font-size: var(--fs-18);
        line-height: var(--lh-24);
        margin-bottom: var(--gap-16);
    }

    .checkout-summary__row {
        margin-bottom: var(--gap-10);
    }

    .checkout-summary__label,
    .checkout-summary__value {
        font-size: 12px;
    }

    .checkout-summary__row--total .checkout-summary__label {
        font-size: 20px;
    }

    .checkout-summary__total {
        font-size: 20px;
    }

    .checkout-summary__button {
        height: 48px;
        padding: var(--padding-12) var(--padding-24);
        font-size: var(--fs-16);
        line-height: var(--lh-22);
    }
}
/* Extra Small Mobile: <= 360px (using 480px as closest breakpoint) */
@media (max-width: 360px) {
    .checkout__back {
        font-size: 12px;
    }

    .checkout__back-icon {
        width: 16px;
        height: 16px;
    }

    .checkout__section-title {
        font-size: 20px;
    }

    .checkout-region__label,
    .checkout-region__hint {
        font-size: 14px;
    }

    .footer__address-elements-parent {
        font-size: 12px;
    }

    .footer__address-text.text-subtitle-2 {
        font-size: 12px;
    }
}
/* Экраны от 360px до 425px */
@media (min-width: 360px) and (max-width: 425px) {
    .footer__address-elements-parent {
        font-size: 14px;
    }

    .footer__address-text.text-subtitle-2 {
        font-size: 14px;
    }
}
/* Экраны менее 425px для footer__contact-text */
@media (max-width: 425px) {
    .footer__contact-text.text-subtitle-1 {
        font-size: 18px;
    }
}
/* Extra Small Mobile: <= 480px */
@media (max-width: 480px) {
    .checkout__title {
        font-size: var(--fs-20);
        line-height: var(--lh-28);
    }

    .checkout-delivery__content {
        gap: var(--gap-10);
    }

    .checkout-delivery__main {
        gap: var(--gap-8);
    }

    .checkout-delivery__icon {
        width: 36px;
        height: 36px;
    }

    .checkout-delivery__icon img {
        width: 28px;
        height: 28px;
    }

    .checkout-delivery__name {
        font-size: 13px;
    }

    .checkout-delivery__price-label,
    .checkout-delivery__duration-label {
        font-size: 11px;
    }

    .checkout-delivery__price-value {
        font-size: 14px;
    }

    .checkout-delivery__duration-value {
        font-size: 13px;
    }

    .checkout-items__item {
        gap: var(--gap-8);
    }

    .checkout-items__image {
        width: 50px;
        height: 50px;
    }
}
/* Extra Small Mobile: <= 420px */
@media (max-width: 420px) {
    .checkout-payment__logos-image {
        min-height: 25px;
    }
}
/* Extra Small Mobile: <= 400px */
@media (max-width: 400px) {
    .checkout-items__item {
        padding: 12px;
    }

    .checkout-items__image {
        width: 30px;
        height: 30px;
    }

    .checkout-payment__logos-image {
        max-height: 40px;
    }
}
/* Password Reset Page */
.password-reset-page {
    background: var(--Other-White);
    border-radius: var(--br-32);
    padding: var(--padding-32);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    margin: var(--padding-32) 0;
}
.password-reset {
    display: flex;
    flex-direction: column;
    gap: var(--gap-32);
}
.password-reset__title {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
    background: var(--Other-Logo-Home-Page);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}
.password-reset__description {
    font-size: var(--fs-16);
    line-height: 1.5;
    color: var(--Blue-600);
    text-align: left;
    margin: 0;
}
.password-reset__form {
    display: flex;
    flex-direction: column;
    gap: var(--gap-24);
    margin: 0;
}
.password-reset__field {
    display: flex;
    flex-direction: column;
    gap: var(--gap-12);
    margin: 0;
}
.password-reset__label {
    font-size: 20px;
    font-weight: 500;
    color: var(--Blue-600);
    margin: 0;
    text-align: left;
}
.password-reset__input {
    width: 100%;
    padding: var(--padding-16);
    border: 1px solid var(--Blue-200);
    border-radius: var(--br-16);
    font-size: var(--fs-16);
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}
.password-reset__input:focus {
    border-color: var(--Blue-600);
}
.password-reset__input::-moz-placeholder {
    color: var(--Blue-200);
}
.password-reset__input::placeholder {
    color: var(--Blue-200);
}
.password-reset__submit {
    max-width: 330px;
}
.password-reset__back {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--gap-8);
    color: var(--Blue-600);
    text-decoration: none;
    font-size: var(--fs-16);
    font-weight: 500;
    transition: color 0.2s;
    margin: 0;
}
.password-reset__back:hover {
    color: var(--Blue-400);
}
.password-reset__back svg {
    width: 24px;
    height: 24px;
}
/* Tablet */
@media (max-width: 768px) {
    .password-reset-page {
        padding: var(--padding-32);
    }

    .password-reset {
        gap: var(--gap-24);
    }
}
/* Mobile */
@media (max-width: 480px) {
    .password-reset-page {
        padding: var(--padding-24);
        border-radius: var(--br-24);
    }

    .password-reset {
        gap: var(--gap-20);
    }

    .password-reset__title {
        font-size: 20px;
    }

    .password-reset__description {
        font-size: var(--fs-14);
    }

    .password-reset__label {
        font-size: var(--fs-14);
    }

    .password-reset__input {
        padding: var(--padding-12);
        font-size: var(--fs-14);
    }


    .password-reset__back {
        font-size: var(--fs-14);
    }

    .password-reset__back svg {
        width: 20px;
        height: 20px;
    }

}
.page-404 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--gap-48);
    min-height: 70vh;
    padding: var(--padding-48) 0;
    text-align: center;
    color: var(--Blue-800);
}
.page-404__hero {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.page-404__code {
    font-size: clamp(7rem, 18vw, 14rem);
    font-weight: var(--fw-semibold);
    letter-spacing: -0.05em;
    color: var(--Blue-400);
    text-shadow: 0 24px 64px rgba(0, 93, 224, 0.18);
    line-height: 1;
    margin: 0;
}
.page-404__info {
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
    max-width: 540px;
}
.page-404__info--centered {
    align-items: center;
}
.page-404__subtitle {
    margin: 0;
    font-size: var(--fs-20);
    line-height: var(--lh-28);
    font-weight: var(--fw-medium);
    color: var(--Blue-600);
}
.page-404__description {
    margin: 0;
    font-size: var(--fs-16);
    line-height: var(--lh-24);
    color: var(--Blue-700);
    max-width: 420px;
}
.page-404__actions {
    display: flex;
    gap: var(--gap-16);
}
.page-404__actions--centered {
    justify-content: center;
}
.page-404__button {
    padding: var(--padding-10) var(--padding-24);
    font-size: var(--fs-16);
    line-height: var(--lh-20);
}
.page-404__button--main {
    text-decoration: none;
}
@media (max-width: 768px) {
    .page-404 {
        min-height: 60vh;
        padding: var(--padding-40) var(--padding-16);
    }

    .page-404__subtitle {
        font-size: var(--fs-18);
    }

    .page-404__description {
        font-size: var(--fs-14);
        line-height: var(--lh-20);
    }
}
@media (max-width: 480px) {
    .page-404__code {
        font-size: clamp(5rem, 22vw, 9rem);
    }

    .page-404__button {
        width: 100%;
        text-align: center;
    }
}
/* Медиазапросы и брейкпоинты */
/* Mobile Menu Logo - Tablet */
@media (min-width: 768px) and (max-width: 1279px) {
    .mobile-menu__logo {
        width: 110px;
        height: auto;
    }
}
/* Tablet breakpoint 768–1279 */
@media (min-width: 768px) and (max-width: 1279px) {
    /* Отступы контейнера остаются */
    .hero__container { padding: var(--padding-32); }

    /* Переход на бургер */
    .header-nav, .header__cta { display: none !important; }
    .menu-toggle { display: flex !important; }

    /* Увеличенный логотип в шапке */
    .header__logo {
        width: 7rem;
        height: auto;
    }

    /* Адаптивное позиционирование картинки - флюидная формула */
    /* .hero__decoration-image {
    left: clamp(
      781.008px,                                        /* = 48.813rem */
    /* calc(781.008px + (100vw - 768px) * 0.96875),     /* 0.96875 = (1277.008 - 781.008) / (1280 - 768) */
    /* 1277.008px                                       /* = 79.813rem */
    /* );
  } */

    /* Всплывающее меню полной ширины поверх hero */
    html.menu-open .mobile-menu {
        display: block;
        animation: mobile-menu-open .2s ease;
        margin-top: var(--padding-32); /* отступ сверху от hero */
    }

    /* Анимация скрытия меню */
    html.menu-closing .mobile-menu {
        display: block;
        animation: mobile-menu-close .2s ease forwards;
    }

    /* Типографика hero по таб‑шкале - теперь контролируется через hero__container */


    /* Контактная секция футера - колонка на планшетах и ниже */
    .footer__contact-details-parent {
        flex-direction: column;
        gap: var(--gap-32);
    }

    .footer__contact-details {
        width: 100%;
        height: auto;
    }

    .footer__form-parent {
        max-width: 100%;
    }

    .footer__email-details {
        flex-direction: row;
        justify-content: space-between;
    }

    .footer__email-address-section {
        width: 50%;
    }

    .footer__contact-phone-container {
        width: 100%;
    }

    .footer__address-elements-parent {
        width: 50%;
    }

    /* Footer adaptive layout */
    .footer__links-group {
        gap: 0;
    }

    .footer__company-help-wrapper {
        flex-direction: column;
        gap: var(--gap-24);
    }

    .footer__categories {
        flex-direction: column;
        gap: var(--gap-10);
    }
}
/* Override for footer email details on larger tablets up to 850px */
@media (min-width: 768px) and (max-width: 850px) {
    .footer__email-details {
        flex-direction: column;
        gap: var(--gap-24); /* Add gap for column layout */
    }

    .footer__email-address-section,
    .footer__address-elements-parent {
        width: 100%; /* Make sections full width in column layout */
    }
}
/* Large Mobile override - 577px to 767px (должен быть после общего мобильного блока) */
@media (min-width: 577px) and (max-width: 767px) {
    .footer__company-help-wrapper {
        flex-direction: row;
    }

    .footer__categories {
        flex-direction: row;
    }
}
/* Анимации мобильного меню (дублированы из components/_mobile-menu.css для планшетного брейкпоинта) */
@keyframes mobile-menu-open {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes mobile-menu-close {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-8px);
    }
}
/* Desktop and Tablet - от 768px */
@media (min-width: 768px) {
    /* Hero content gap */
    .hero__content-top {
        gap: var(--gap-16);
    }

    /* Certifications padding-top */
    .certifications {
        padding-top: 100px;
    }
}
/* 800px - 953px */
@media (min-width: 800px) and (max-width: 953px) {
    .hero__decoration-image {
        top: 59.438rem;
        left: clamp(
                732.808px,                                    /* 45.813rem на 800px */
                calc(732.808px + (100vw - 800px) * 1.559),   /* плавное изменение */
                973.008px                                     /* 60.813rem на 954px */
        );
        width: clamp(
                43.938rem,                                    /* на 800px */
                calc(43.938rem + (100vw - 800px) * 0.012987), /* плавное изменение */
                45.938rem                                     /* на 954px */
        );
    }
}
/* 954px - 1199px */
@media (min-width: 954px) and (max-width: 1199px) {
    .hero__decoration-image {
        top: clamp(
                63.438rem,                                    /* на 954px */
                calc(63.438rem + (100vw - 954px) * 0.00813), /* плавное изменение */
                65.438rem                                     /* на 1200px */
        );
        left: clamp(
                973.008px,                                    /* 60.813rem на 954px */
                calc(973.008px + (100vw - 954px) * 1.106),   /* плавное изменение */
                1245.008px                                    /* 77.813rem на 1200px */
        );
        width: clamp(
                45.938rem,                                    /* на 954px */
                calc(45.938rem + (100vw - 954px) * 0.0325),  /* плавное изменение */
                53.938rem                                     /* на 1200px */
        );
    }
}
/* 1200px - 1279px */
@media (min-width: 1200px) and (max-width: 1279px) {
    .hero__decoration-image {
        top: clamp(63.438rem, calc(63.438rem + (100vw - 75rem) * -0.6), 58.438rem);
        left: clamp(77.813rem, calc(77.813rem + (100vw - 75rem) * 0.6), 82.813rem);
        width: clamp(53.938rem, calc(53.938rem + (100vw - 75rem) * 0.36), 56.938rem);
    }
}
/* 1280px and up */
@media (min-width: 1280px) {
    .hero__decoration-image {
        top: 58.438rem;
        left: 82.813rem;
        width: 56.938rem;
    }
}
/* Desktop - от 1280px */
@media (min-width: 1280px) {
    /* Показываем обычное меню, скрываем бургер */
    .header-nav, .header__cta { display: flex !important; }
    .menu-toggle { display: none !important; }
}
/* Mobile - до 768px (объединенный блок) */
@media (max-width: 768px) {
    /* --- Header --- */
    .header-nav, .header__cta { display: none !important; }
    .menu-toggle { display: flex !important; }
    .header__logo {
        width: 7rem;
        height: auto;
    }

    /* --- Hero --- */
    /* .hero__decoration-image {
    left: clamp(240px, calc(240px + (100vw - 320px) * 1.2), 781.008px);
  } */

    /* Hero container - уменьшаем padding на мобильных */
    .hero__container {
        padding: var(--padding-16);
    }

    /* --- Video Modal --- */
    .video-modal { padding: 10px; }
    .video-modal__content { max-width: 95vw; max-height: 95vh; }
    .video-modal__header { padding: 16px 20px; }
    .video-modal__title { font-size: var(--fs-16); }

    /* --- Footer --- */
    .footer__content { align-items: stretch; }
    .footer__links {
        flex-direction: column;
        gap: var(--gap-16);
        background-color: transparent;
        padding: 0;
        align-self: stretch;
        width: 100%;
    }
    .footer__links-group {
        background-color: var(--Btn-Default);
        border-radius: var(--br-32);
        padding: var(--padding-32) var(--padding-24);
    }
    .footer__company-help-wrapper {
        flex-direction: column;
        gap: var(--gap-10);
    }
    .footer__categories {
        flex-direction: column;
        gap: var(--gap-10);
    }
    .footer__category {
        width: 50%;
    }
    .footer__nav-section {
        width: 50%;
    }
    .footer__form,
    .footer__contact-details-parent {
        flex-direction: column;
        align-items: stretch;
        gap: var(--gap-32);
    }
    .footer__form-header {
        width: 100%;
    }
}
/* Small Mobile - до 576px: все элементы футера на 100% */
@media (max-width: 576px) {
    .footer__category {
        width: 100%;
    }
    .footer__nav-section {
        width: 100%;
    }
    .footer__form,
    .footer__contact-details-parent {
        width: 100%;
    }
    .footer__contact-details {
        width: 100%;
    }
    .footer__form-parent {
        width: 100%;
    }
    .footer__social-text {
        display: none;
    }
}
/* Large Mobile override - 577px to 767px (должен быть после общего мобильного блока) */
@media (min-width: 577px) and (max-width: 767px) {
    .footer__company-help-wrapper {
        flex-direction: row;
    }

    .footer__categories {
        flex-direction: row;
    }
}
/* --- Ступенчатое масштабирование подзаголовков Hero --- */
/* 600px - 767px: плавный переход */
@media (min-width: 600px) and (max-width: 767px) {
    .certifications {
        padding-top: 100px;
    }

    .hero__decoration-image {
        top: clamp(47.438rem, 47.438rem + (100vw - 37.5rem) * 0.7664, 55.438rem);
        left: clamp(34.813rem, 34.813rem + (100vw - 37.5rem) * 1.5328, 50.813rem);
        width: clamp(34.813rem, 34.813rem + (100vw - 37.5rem) * 0.2992, 37.938rem);
    }
}
/* 768px - 799px */
@media (min-width: 768px) and (max-width: 799px) {
    .hero__decoration-image {
        top: clamp(
                55.438rem,                                    /* на 768px */
                calc(55.438rem + (100vw - 768px) * 0.129),   /* плавное изменение */
                59.438rem                                     /* на 800px */
        );
        left: clamp(
                652.608px,                                    /* 40.813rem на 768px */
                calc(652.608px + (100vw - 768px) * 2.506),   /* плавное изменение */
                732.808px                                     /* 45.813rem на 800px */
        );
        width: clamp(
                47.938rem,                                    /* на 768px */
                calc(47.938rem + (100vw - 768px) * -0.125),  /* плавное изменение */
                43.938rem                                     /* на 800px */
        );
    }
}
/* Articles: скрываем третий пост и делаем два по 50/50 */
@media (min-width: 600px) and (max-width: 1079px) {
    .articles__card:nth-child(3) {
        display: none;
    }

    .articles__card:first-child {
        flex-grow: 1; /* Сбрасываем на 1 для равного распределения */
    }

    .articles__card {
        flex-grow: 1; /* Все карточки одинаково по 50% */
        flex-basis: 0;
    }
}
/* Articles: колонка на малых экранах */
@media (max-width: 599px) {
    .articles__grid {
        flex-direction: column;
    }

    .articles__card {
        width: 100%;
        flex-grow: 0;
        flex-basis: auto;
    }
}
/* Footer header: адаптивный размер текста на малых экранах */
@media (max-width: 750px) {
    .footer__header {
        padding: var(--padding-16);
    }
}
/* Video gallery: адаптивная ширина на средних и малых экранах */
@media (max-width: 1023px) {
    .video-gallery__content {
        /* Адаптивная ширина с учетом соотношения сторон */
        width: clamp(20rem, 70vw, 45rem); /* 320px → 720px */
    }
}
/* Скрываем мобильную декорацию на всех экранах кроме мобильных */
.hero__mobile-decoration {
    display: none;
}
/* Мобильные экраны до 599px: кардинальная перестройка hero layout */
@media (max-width: 599px) {
    /* Скрываем оригинальную сложную decoration */
    .hero__decoration {
        display: none;
    }

    /* Убираем фиксированную высоту на мобильных */
    .hero {
        height: auto;
    }

    /* Hero container: flex для упорядочивания элементов */
    .hero__container {
        display: flex;
        flex-direction: column;
    }

    /* Hero header: над липосомой */
    .hero__header {
        position: relative;
        z-index: 1;
    }

    /* Mobile decoration: фоновая картинка липосомы */
    .hero__mobile-decoration {
        position: absolute;
        width: 100%;
        display: block;
        height: 28rem; /* 448px - можно увеличить по необходимости */
        background-image: url('./images/hero-liposome.png');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        margin-bottom: var(--gap-24);
        z-index: 0; /* под контентом */
    }

    .hero__mobile-decoration-image {
        display: none; /* скрываем img, используем background */
    }

    /* Hero content: в потоке */
    .hero__content {
        justify-content: flex-start;
        gap: var(--gap-24);
        padding-top: clamp(16rem, calc(16rem + (100vw - 360px) * 0.01255), 19rem); /* 16rem на 360px → 19rem на 599px */
        position: relative;
        z-index: 100; /* над липосомой */
    }

    /* Hero content-top: растягиваем на всю ширину */
    .hero__content-top {
        width: 100%;
        align-self: stretch;
    }

    /* Certifications: растягиваем, центрируем */
    .certifications {
        width: 100%;
        align-self: stretch;
        align-items: center;
        text-align: center;
        gap: var(--gap-0);
    }

    .certifications__description {
        align-items: center;
        gap: var(--gap-0);
        width: 100%;
    }

    .certifications__caption,
    .certifications__note {
        width: 100%;
        max-width: none;
        text-align: center;
        margin: 0;
        font-size: clamp(0.625rem, 3.5vw, var(--fs-14)); /* 10px → 14px, адаптивный под ширину */
        line-height: 1.2;
    }

    .certifications__logos {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .certifications__list {
        width: 100%;
        justify-content: center;
        gap: var(--gap-16);
        flex-wrap: wrap;
    }
}
/* H2: менее 480px */
@media (max-width: 480px) {
    h2, .text-h2 {
        font-size: 24px; /* 24px */
    }
}
/* Мобильные устройства - адаптация типографики */
@media (max-width: 930px) {
    /* Subtitle 1: 28px → 20px на мобильных */
    .text-subtitle-1,
    .hero__subtitle-primary {
        font-size: var(--fs-20);
        line-height: var(--lh-28);
        letter-spacing: var(--ls--0_03);
    }

    /* Subtitle 2: 20px → 16px на мобильных */
    .text-subtitle-2,
    .hero__subtitle-secondary {
        font-size: var(--fs-16);
        line-height: var(--lh-22);
    }
}
/* Hero titles на экранах до 599px - максимальный размер под ширину */
@media (max-width: 599px) {
    .hero__title-main {
        font-size: 15vw; /* максимум под ширину экрана */
        line-height: 15vw;
    }

    .hero__title-sub {
        font-size: 10vw; /* пропорционально меньше */
        line-height: 10vw;
    }
}
/* --- Certifications adaptive --- */
/* Средние экраны - начинаем сдвигать весь контент влево */
@media (max-width: 650px) {
    /* Hero container уже имеет padding из общего правила @768px */

    .certifications__caption,
    .certifications__note {
        width: 100%;
        max-width: none;
    }

    .certifications__list {
        gap: var(--gap-16); /* уменьшаем gap на средних экранах */
    }

    /* Hero content-top: уменьшаем gap */
    .hero__content-top {
        gap: var(--gap-10);
    }
}
/* Малые мобильные - дополнительное уменьшение */
@media (max-width: 480px) {
    .hero__container {
        padding: var(--padding-16); /* оставляем минимум 16px */
    }

    .certifications__list {
        gap: var(--gap-8); /* уменьшаем gap между логотипами */
    }
}
/* Очень малые экраны - ниже 400px */
@media (max-width: 400px) {
    /* Mobile decoration: увеличиваем ширину и уменьшаем высоту */
    .hero__mobile-decoration {
        width: 120%;
        height: 24rem;
        left: -10%; /* центрируем */
    }

    /* Уменьшаем все сертификаты на 1rem */
    .certifications__logo--haccp {
        width: clamp(3rem, 7vw, 7rem); /* было 4rem -> 3rem */
    }

    .certifications__logo--fda {
        width: clamp(6rem, 12vw, 13rem); /* было 7rem -> 6rem */
    }

    .certifications__logo--gmp {
        width: clamp(2.5rem, 6vw, 5.5rem); /* было 3.5rem -> 2.5rem */
    }

    .certifications__logo--iso {
        width: clamp(2rem, 5vw, 4.5rem); /* было 3rem -> 2rem */
    }

    /* Hero subtitle secondary - уменьшаем размер шрифта */
    .hero__subtitle-secondary {
        font-size: var(--fs-14);
        line-height: var(--lh-18);
    }
}
/* ============================================
   About Page Responsive Styles
   ============================================ */
/* Screens below 1280px - Single column layout */
@media (max-width: 1279px) {
    .about-page__layout {
        grid-template-columns: 1fr;
        gap: var(--gap-24);
    }

    /* Sidebar becomes horizontal tabs */
    .about-page__sidebar {
        position: static;
        order: -1;
        width: 100%;
    }

    .about-nav__list {
        flex-direction: row;
        gap: var(--gap-12);
        flex-wrap: wrap;
    }

    .about-nav__item {
        flex: 1;
        min-width: 200px;
    }

    .about-nav__link {
        width: 100%;
    }

    /* Highlights in single column */
    .about-highlights__list {
        grid-template-columns: 1fr;
    }

    /* Highlights items in row layout on tablets */
    .about-highlights__item {
        flex-direction: row;
        align-items: center;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.01);
    }

    .about-highlights__item:hover {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.02);
    }

    .about-highlights__header {
        flex-direction: row;
        align-items: center;
        flex: 1;
    }

    .about-highlights__description {
        flex: 1;
    }

    /* Certificates grid - two columns on tablets */
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Offer card - adjust padding on tablets */
    .offer-card {
        padding: var(--padding-0) var(--padding-10);
    }

    .offer-card__icon {
        width: 50px;
        height: 50px;
    }

    .offer-card__title {
        font-size: var(--fs-16);
        line-height: var(--lh-24);
    }

    .offer-card__cta {
        width: 40px;
        height: 40px;
    }

    .offer-card__cta-icon {
        width: 40px;
        height: 40px;
    }
}
/* Mobile breakpoint 0–767px */
@media (max-width: 767px) {
    .about-page {
        padding: var(--padding-16) 0;
        gap: var(--gap-16);
    }

    /* Navigation becomes vertical stack on mobile */
    .about-nav__list {
        flex-direction: column;
        gap: var(--gap-8);
    }

    .about-nav__item {
        flex: none;
        min-width: 0;
    }

    .about-nav__link {
        height: 56px;
        padding: var(--padding-16);
        font-size: var(--fs-14);
    }

    /* Show policy accordions on mobile */
    .policy-accordion {
        display: block;
    }

    .about-nav__link--accordion {
        height: auto;
        min-height: 56px;
    }

    /* Show mobile accordion sections */
    .policy-section-mobile {
        display: none;
        padding: var(--padding-16);
        margin-top: var(--gap-8);
    }

    .policy-accordion--active .policy-section-mobile {
        display: block;
    }

    /* Keep article white card on mobile */
    .about-page__section.about-article {
        background: var(--Other-White);
        padding: var(--padding-20);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    }

    /* Style mobile policy content */
    .policy-content {
        display: flex;
        flex-direction: column;
        gap: var(--gap-16);
    }

    /* Hero adjustments */
    .about-hero__title {
        font-size: var(--fs-32);
        line-height: var(--lh-40);
    }

    .about-hero__media {
        height: 240px;
        border-radius: var(--br-16);
    }

    /* Highlights items - back to column on mobile */
    .about-highlights__item {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--padding-20);
    }

    .about-highlights__icon {
        width: 40px;
        height: 40px;
    }

    .about-highlights__title {
        font-size: var(--fs-20);
    }

    .about-article__title {
        font-size: var(--fs-28);
        line-height: var(--lh-34);
    }

    .about-article__subtitle {
        font-size: var(--fs-20);
        line-height: var(--lh-26);
        margin: var(--gap-16) 0 var(--gap-12) 0;
    }

    .about-article__text {
        font-size: var(--fs-14);
        line-height: var(--lh-22);
    }

    /* Certificates grid - single column on mobile */
    .certificates-grid {
        grid-template-columns: 1fr;
    }

    /* Certificate cards - smaller padding on mobile */
    .certificate-card {
        padding: var(--padding-20);
    }

    .certificate-card__title {
        font-size: var(--fs-20);
    }

    /* Offer card - mobile adjustments */
    .offer-card {
        padding: var(--padding-0) var(--padding-10);
    }

    .offer-card__icon {
        width: 40px;
        height: 40px;
        padding: var(--padding-0);
    }

    .offer-card__title {
        font-size: var(--fs-14);
        line-height: var(--lh-18);
    }

    .offer-card__cta {
        width: 32px;
        height: 32px;
    }

    .offer-card__cta-icon {
        width: 40px;
        height: 40px;
    }
}
/* ============================================
   Product Page Responsive Styles
   ============================================ */
/* Tablet: ≤1024px */
@media (max-width: 1024px) {
    .product-page__content {
        grid-template-columns: 1fr;
        gap: var(--gap-24);
    }

    .product-gallery__main {
        gap: var(--gap-12);
    }

    .product-gallery__thumbnail {
        width: 64px;
        height: 64px;
    }

    .product-gallery__preview {
        min-height: 350px;
        padding: var(--padding-24);
    }

    .product-info {
        padding: var(--padding-24);
    }

    .product-info__title {
        font-size: var(--fs-28);
    }

    .product-info__price {
        font-size: var(--fs-32);
    }

    .product-specs__row {
        grid-template-columns: 1fr;
        gap: var(--gap-12);
    }
}
/* Mobile: ≤768px */
@media (max-width: 768px) {
    .product-page {
        gap: var(--gap-24);
        margin-top: var(--gap-16);
    }

    /* Gallery - horizontal thumbnails slider */
    .product-gallery__main {
        flex-direction: column-reverse;
        gap: var(--gap-12);
    }

    .product-gallery__thumbnails {
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        gap: var(--gap-8);
        padding-bottom: var(--gap-8);
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }

    .product-gallery__thumbnails::-webkit-scrollbar {
        height: 4px;
    }

    .product-gallery__thumbnails::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 2px;
    }

    .product-gallery__thumbnails::-webkit-scrollbar-thumb {
        background: #888;
        border-radius: 2px;
    }

    .product-gallery__thumbnail {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .product-gallery__preview {
        min-height: 300px;
        padding: var(--padding-20);
    }

    /* Product Info */
    .product-info {
        padding: var(--padding-20);
        gap: var(--gap-16);
    }

    .product-info__title {
        font-size: var(--fs-20);
        margin-bottom: var(--gap-8);
    }

    .product-info__meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--gap-8);
        margin-bottom: var(--gap-8);
    }

    .product-info__price-block {
        margin-bottom: var(--gap-16);
    }

    .product-info__price {
        font-size: var(--fs-24);
    }

    .product-info__price-old {
        font-size: var(--fs-14);
    }

    /* Actions - keep quantity and button in row but adjust proportions */
    .product-info__actions {
        flex-direction: row;
        gap: var(--gap-12);
    }

    .product-info__quantity {
        flex-shrink: 0;
    }

    .product-info__button {
        flex: 1;
    }

    .product-info__special-offer {
        flex-wrap: wrap;
        font-size: var(--fs-12);
        padding: var(--gap-10) var(--gap-12);
    }

    .product-info__description {
        font-size: var(--fs-12);
        line-height: 1.5;
    }

    /* Tabs - convert to accordion-style on mobile */
    .product-tabs {
        gap: var(--gap-12);
    }

    /* Hide horizontal tab list on mobile */
    .product-tabs__list {
        display: flex;
        flex-direction: column;
        gap: var(--gap-12);
        background: transparent;
        padding: 0;
    }

    .product-tabs__button {
        width: 100%;
        text-align: left;
        padding: var(--gap-16) var(--gap-20);
        background: var(--color-white);
        border-radius: var(--br-16);
        border: none;
        cursor: pointer;
        font-size: var(--fs-18);
        font-weight: var(--fw-semibold);
        color: var(--Blue-800);
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        transition: box-shadow 0.2s ease;
    }

    .product-tabs__button:hover {
        background: var(--color-white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .product-tabs__button--active {
        background: var(--color-white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .product-tabs__button span {
        flex: 1;
    }

    /* Show accordion icons on mobile */
    .product-tabs__icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
        transition: transform 0.3s ease;
        display: block;
    }

    .product-tabs__button--active .product-tabs__icon {
        transform: rotate(180deg);
    }

    /* Accordion panel behavior */
    .product-tabs__panel {
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }

    .product-tabs__panel--active {
        max-height: 5000px;
        padding: var(--gap-16) 0 0 0;
    }

    .product-specs__row {
        padding: var(--padding-12);
        gap: var(--gap-8);
    }

    .product-specs__label,
    .product-specs__value {
        font-size: var(--fs-14);
    }

    /* Reviews on mobile */
    .reviews-item {
        padding: var(--padding-16);
    }

    .reviews-item-name {
        font-size: var(--fs-16);
    }

    .reviews-item-date {
        font-size: var(--fs-12);
    }

    .reviews-item-property-name,
    .reviews-item-property-value {
        font-size: var(--fs-13);
    }

    /* === Order Card Mobile Layout (v2 markup only) === */
    .order-card.order-card--v2 {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
      "info amount"
      "product product"
      "payment status";
        gap: var(--gap-16) var(--gap-12);
        align-items: start;
    }

    .order-card--v2 .order-card__left,
    .order-card--v2 .order-card__middle,
    .order-card--v2 .order-card__right {
        display: contents;
    }

    .order-card--v2 .order-card__product {
        grid-area: product;
        display: flex;
        align-items: center;
        gap: var(--gap-16);
    }

    .order-card.order-card--v2 .order-card__info-group { grid-area: info; }
    .order-card.order-card--v2 .order-card__detail-group[data-area="amount"] { grid-area: amount; text-align: right; }
    .order-card.order-card--v2 .order-card__detail-group[data-area="payment"] { grid-area: payment; }
    .order-card.order-card--v2 .order-card__detail-group[data-area="status"] { grid-area: status; }

    .order-card.order-card--v2 .order-card__detail-group[data-area="amount"] .order-card__detail-label,
    .order-card.order-card--v2 .order-card__detail-group[data-area="date"] .order-card__detail-label {
        display: none;
    }

    .order-card.order-card--v2 .order-card__detail-group[data-area="date"] .order-card__detail-value {
        font-size: var(--fs-12);
        color: var(--Blue-300);
    }

    .order-card.order-card--v2 .order-card__detail-group[data-area="amount"] .order-card__detail-value {
        font-size: var(--fs-20);
        font-weight: 600;
    }

    .order-card.order-card--v2 .order-card__detail-group[data-area="number"] .order-card__detail-label {
        font-size: var(--fs-16);
        font-weight: 600;
    }
}
/* Small Mobile: ≤480px */
@media (max-width: 480px) {
    .product-info {
        padding: var(--padding-20);
    }

    .product-info__title {
        font-size: var(--fs-20);
    }

    .product-info__price {
        font-size: var(--fs-24);
    }

    .product-info__price-old {
        font-size: var(--fs-14);
    }

    .product-info__special-offer {
        font-size: var(--fs-12);
        padding: var(--padding-10) var(--gap-12);
    }

    .product-gallery__thumbnail {
        width: 56px;
        height: 56px;
    }

    .product-specs__label,
    .product-specs__value {
        font-size: var(--fs-14);
    }
}
/* ============================================
   News Page Responsive Styles
   ============================================ */
/* Tablet and below: 2 columns */
@media (max-width: 1279px) {
    .news-grid__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--gap-20);
    }

    .news-page {
        gap: var(--gap-24);
    }
}
/* Mobile: 1 column */
@media (max-width: 767px) {
    .news-page {
        padding: var(--padding-16) 0;
        gap: var(--gap-16);
    }

    .news-search {
        padding: var(--padding-10) var(--padding-20);
        min-height: 56px;
    }

    .news-grid__list {
        grid-template-columns: 1fr;
        gap: var(--gap-16);
    }

    .news-card {
        height: 480px;
        padding: var(--padding-20);
        border-radius: 24px;
    }

    .news-card__media {
        border-radius: 20px;
        aspect-ratio: 4 / 3;
    }

    .news-card__title {
        font-size: 18px;
    }

    .news-card__excerpt {
        font-size: 15px;
        line-height: 22px;
    }
}
@media (max-width: 767px) {
    .articles__cta-text,
    .production__cta-text {
        font-size: 14px;
    }

    .footer__email-address-section {
        padding-bottom: 1rem; /* 16px */
    }
}
/* Breakpoint 1100px: Hide view toggle, show filter button */
@media (max-width: 1100px) {
    .catalog-controls {
        flex-direction: column;
        align-items: start;
        gap: 16px;
    }

    .catalog-controls__view-toggle {
        display: none;
    }

    .catalog-page__sidebar {
        display: none;
    }

    .catalog-controls__filter-toggle {
        display: flex;
    }
}
/* Catalog layout for tablets */
@media (min-width: 769px) and (max-width: 1100px) {
    .product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
/* Catalog controls for mobile */
@media (max-width: 767px) {
    .catalog-controls__sort-label,
    .catalog-controls__sort-link {
        display: none;
    }
    .catalog-controls__sort-icon {
        display: block;
    }
}
/* ============================================
   Auth Modal Responsive Styles
   ============================================ */
/* Tablets: ≤768px but >360px */
@media (max-width: 768px) and (min-width: 361px) {
    .auth-modal {
        padding: var(--padding-16);
    }

    .auth-modal__content {
        max-width: 768px;
        border-radius: var(--br-32);
    }

    .auth-modal__header-container {
        padding: var(--padding-16) var(--padding-24);
    }

    .auth-modal__logo {
        width: 100px;
    }

    .auth-modal__close {
        width: 36px;
        height: 36px;
    }

    .auth-modal__body {
        padding: 0 var(--padding-24) var(--padding-24);
    }

    .auth-modal__title {
        font-size: var(--fs-28);
        margin-bottom: var(--gap-24);
    }

    .auth-modal__tabs {
        max-width: 100%;
        margin-bottom: var(--gap-24);
    }

    .auth-modal__tab {
        font-size: var(--fs-16);
        padding: var(--padding-10) var(--padding-20);
    }

    .auth-modal__form {
        max-width: 100%;
        gap: var(--gap-12);
    }

    .auth-modal__checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--gap-12);
    }

    .auth-modal__forgot-link {
        font-size: var(--fs-14);
    }

    .auth-modal__submit {
        margin-top: var(--gap-12);
        font-size: var(--fs-16);
        padding: var(--padding-10) var(--padding-20);
        width: auto;
        min-width: 140px;
    }
}
/* Mobile: ≤450px - footer in column */
@media (max-width: 450px) {
    .auth-modal__form-footer {
        flex-direction: column;
        align-items: stretch;
        gap: var(--gap-16);
    }

    .auth-modal__submit {
        width: 100%;
    }

    .auth-modal__login-link {
        width: 100%;
    }
}
/* Mobile: ≤360px */
@media (max-width: 360px) {
    .auth-modal {
        padding: var(--padding-10);
    }

    .auth-modal__content {
        max-width: 360px;
        width: calc(100vw - 20px);
        max-height: 95vh;
        border-radius: var(--br-24);
    }

    .auth-modal__header-container {
        padding: var(--padding-12) var(--padding-16);
    }

    .auth-modal__logo {
        width: 80px;
    }

    .auth-modal__close {
        width: 32px;
        height: 32px;
        padding: var(--padding-6);
    }

    .auth-modal__close svg {
        width: 18px;
        height: 18px;
    }

    .auth-modal__body {
        padding: 0 var(--padding-16) var(--padding-16);
    }

    .auth-modal__title {
        font-size: var(--fs-24);
        margin-bottom: var(--gap-20);
    }

    .auth-modal__tabs {
        margin-bottom: var(--gap-20);
    }

    .auth-modal__tab {
        font-size: var(--fs-14);
        padding: var(--padding-8) var(--padding-12);
    }

    .auth-modal__toggle-slider {
        width: 56px;
        height: 28px;
    }

    .auth-modal__toggle-slider::before {
        width: 20px;
        height: 20px;
    }

    .auth-modal__toggle-input:checked + .auth-modal__toggle-slider::before {
        transform: translateX(28px);
    }

    .auth-modal__toggle-label,
    .auth-modal__forgot-link {
        font-size: var(--fs-12);
    }

    .auth-modal__submit {
        font-size: var(--fs-14);
        padding: var(--padding-8) var(--padding-12);
        width: auto;
        min-width: 120px;
    }
}
/* Horizontal orientation or small height screens */
@media (max-height: 600px) {
    .auth-modal__content {
        max-height: 95vh;
    }

    .auth-modal__header {
        padding: var(--padding-16);
    }

    .auth-modal__body {
        padding: 0 var(--padding-16) var(--padding-16);
    }

    .auth-modal__title {
        font-size: var(--fs-24);
        margin-bottom: var(--gap-16);
    }

    .auth-modal__tabs {
        margin-bottom: var(--gap-16);
    }

    .auth-modal__form {
        gap: var(--gap-12);
    }

    .auth-modal__submit {
        font-size: var(--fs-16);
        padding: var(--padding-10) var(--padding-20);
        width: auto;
        min-width: 140px;
    }
}

/* ========================================
   Review Form Styles
   ======================================== */

.review-form-wrapper {
    background: var(--Other-White);
    border-radius: var(--br-16);
    padding: var(--padding-24);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-top: var(--gap-32);
}

.review-form__title {
    font-size: var(--fs-20);
    font-weight: 600;
    color: var(--Blue-800);
    margin: 0 0 var(--gap-24) 0;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: var(--gap-20);
}

.review-form__row {
    display: flex;
    flex-direction: column;
    gap: var(--gap-16);
}

.review-form__group--half {
    width: 100%;
}

.review-form__group {
    display: flex;
    flex-direction: column;
    gap: var(--gap-8);
}

.review-form__label {
    font-size: var(--fs-16);
    color: var(--Blue-600);
    font-weight: 500;
}

.review-form__required {
    color: #ff0000;
    margin-left: 2px;
}

.review-form__rating-container {
    display: flex;
    flex-direction: column;
    gap: var(--gap-8);
}

.review-form__rating-error {
    font-size: var(--fs-12);
    color: #F44336;
    min-height: 16px;
}

.review-form__notice {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: var(--fs-14);
    margin-bottom: var(--gap-16);
}

.review-form__notice--error {
    background: rgba(244, 67, 54, 0.08);
    color: #C62828;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.review-form__notice--success {
    background: rgba(25, 181, 85, 0.08);
    color: #0F9D58;
    border: 1px solid rgba(25, 181, 85, 0.3);
}

    /*margin-bottom: var(--gap-16);
    padding: 12px 16px;
    background: rgba(0, 93, 224, 0.08);
    border-radius: 12px;
    font-size: var(--fs-12);
    color:#1f406e;
    white-space: pre-wrap;
    word-break: break-word;
}*/

.review-stars {
    display: flex;
    gap: 8px;
    align-items: center;
}

.review-star {
    cursor: pointer;
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
}

.review-star:hover {
    transform: scale(1.1);
}

.review-star path {
    fill: #E0E1E4;
    transition: fill 0.2s ease;
}

.review-star.review-star--active path {
    fill: #FFB800;
}

.review-form__input,
.review-form__textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--Blue-0);
    border-radius: 12px;
    background-color: var(--color-white);
    font-size: var(--fs-16);
    font-family: var(--font-montserrat);
    color: var(--Blue-800);
    transition: border-color 0.2s ease;
}

.review-form__input::placeholder,
.review-form__textarea::placeholder {
    color: var(--Blue-200);
}

.review-form__input:focus,
.review-form__textarea:focus {
    outline: none;
    border-color: var(--Blue-600);
}

.review-form__textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.review-form__captcha {
    display: flex;
    flex-direction: column;
    gap: var(--gap-12);
    margin-top: var(--gap-8);
}

.review-form__captcha-image {
    border-radius: 8px;
    border: 1px solid var(--Blue-0);
}

.review-form__actions {
    margin-top: var(--gap-8);
}

.review-form__actions .btn-primary {
    width: 100%;
    max-width: 300px;
}

/* Mobile responsiveness for review form */
@media (max-width: 768px) {
    .review-form-wrapper {
        padding: var(--padding-20);
    }

    .review-form__title {
        font-size: var(--fs-18);
        margin-bottom: var(--gap-20);
    }

    .review-form {
        gap: var(--gap-16);
    }

    .review-form__label {
        font-size: var(--fs-14);
    }

    .review-form__input,
    .review-form__textarea {
        font-size: var(--fs-14);
        padding: 10px 14px;
    }

    .review-stars {
        gap: 6px;
    }

    .review-star {
        width: 28px;
        height: 28px;
    }

    .review-form__actions .btn-primary {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .review-form-wrapper {
        padding: var(--padding-16);
        margin-top: var(--gap-16);
    }

    .review-form__title {
        font-size: var(--fs-16);
        margin-bottom: var(--gap-16);
    }

    .review-form {
        gap: var(--gap-12);
    }

    .review-stars {
        gap: 4px;
    }

    .review-star {
        width: 24px;
        height: 24px;
    }

    .review-form__textarea {
        min-height: 100px;
    }
}

@media (min-width: 768px) {
    .review-form__row {
        flex-direction: row;
        gap: var(--gap-20);
    }

    .review-form__group--half {
        flex: 1;
    }
}
