:root {
    --font-base: 'Inter', sans-serif;
    --bg-panel: #ffffff;
    --text-primary: #1a1a1a;
    --accent-dark: #1c1c1c;
    --border: #e0e0e0;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-base);
    color: var(--text-primary);
    background: var(--bg-panel);
}

/* Оверлей */
#orderModal {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.6);
    font-family: var(--font-base);
    justify-content: center;
    align-items: center;
}

/* Модальное окно */
#orderModal .modal-content {
    background: var(--bg-panel);
    color: var(--text-primary);
    border-radius: 12px;
    max-width: 792px;
    width: 95%;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Кнопка закрытия */
#orderModal .modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-primary);
    z-index: 10000;
}

/* Заголовок формы */
#orderModal .form-header {
    color: #000000;
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    border-radius: 12px;
    position: relative;
    padding-top: 15px;
}

.filter_reset_btn:active {
    transform: translateY(2px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    filter: brightness(0.9);
}

.filter_reset_btn {
    /* плавный переход для трансформации и тени */
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}

.filter_reset_btn:active {
    transform: translateY(2px);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}


/* Тело модалки */
#orderModal .modal-body {
    padding: 15px 10px;
}

/* Форма */
#orderForm {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.form-group {
    flex: 1 1 45%;
    display: flex;
    flex-direction: column;
}

.form-group.full {
    flex: 1 1 100%;
}

label {
    font-weight: 500;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 1rem;
    box-sizing: border-box;
}

textarea {
    resize: vertical;
}

/* Сетка для количества, цен и полного названия шины */
.quantity-grid {
    display: grid;
    grid-template-columns: 48px 80px 48px 120px 120px 240px;
    gap: 0.75rem 1rem;
    align-items: center;
    margin-top: 0.5rem;
}

.quantity-grid .label-count {
    grid-column: 1 / 4;
    text-align: left;
    font-weight: 500;
    white-space: nowrap;
}

.quantity-grid .label-unit {
    grid-column: 4; /* убрали center */
    text-align: left;
    font-weight: 500;
}

.quantity-grid .label-total {
    grid-column: 5; /* убрали center */
    text-align: left;
    font-weight: 500;
}

.quantity-grid .label-name {
    grid-column: 6; /* убрали center */
    text-align: left;
    font-weight: 500;
}

/* Кнопки и поля в сетке */
.qty-btn,
.price-inline,
.tyre-model {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--accent-dark);
    color: #fff;
    border-radius: 6px;
    box-sizing: border-box;
}

.qty-btn {
    width: 48px;
    height: 48px;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#qty-input {
    width: 80px;
    padding: 0.75rem;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 6px;
}

.price-inline {
    width: 120px;
    height: 48px;
    font-size: 1rem;
    border: none;
}

.tyre-model {
    width: 240px;
    height: 48px;
    font-size: 1rem;
    border: none;
}

.modal-close {
    cursor: pointer;
}

/* Убираем стрелки у number */
#qty-input::-webkit-outer-spin-button,
#qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

#qty-input {
    -moz-appearance: textfield;
}

/* Кнопка отправки */
button[type="submit"] {
    flex: 1 1 100%;
    padding: 1.2rem;
    background: var(--accent-dark);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 5px;
}

button[type="submit"]:hover {
    opacity: 0.9;
}

.fs_item.selected .fs_checkbox {
    background-color: black;
}

.fs_item.selected .fs_checboxdot {
    display: block;
}

.fs_checboxdot {
    display: none;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
}

.filter_option {
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.filter_option.active {
    box-shadow: inset 0 0 0 4px black;
    border-radius: 8px;
}

.filter_option.active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.10);
    border-radius: 12px;
    pointer-events: none;
}

.filter_select {
    padding: 10px 40px 10px 12px;
    border-radius: 12px;
    border: 1px solid #ccc;
    font-weight: 500;
    font-family: inherit;
    width: 100%;
    background-color: white;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 4 5%27%3E%3Cpath fill=%27%23000%27 d=%27M2 5L0 0h4z%27/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 10px 10px;
}

.fs_item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.fs_item.selected .fs_checkbox {
    background-color: black;
}

.fs_item.selected .fs_checboxdot {
    display: block;
}

.fs_checboxdot {
    display: none;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
}

.fs_checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid #444;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
}

.filter_price_wrap {
    margin-bottom: -15px;
}

.pf_prices_inputs_wrap {
    margin-top: 4px;
    display: flex;
    gap: 8px;
}

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

.pf_price_input_lower_wrap input {
    width: 100%;
    box-sizing: border-box;
    text-align: right;
    padding: 4px;
}

.pf_kc_sign {
    margin-left: 4px;
    white-space: nowrap;
}

:root {
    --bg-page: #f9f9f9;
    --bg-panel: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --accent: #007BFF;
    --border: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.05);
    --font-base: 'Inter', sans-serif;
    --max-width: 1300px; /* выравнивание по каталогу */
}

body {
    margin: 0;
    background: var(--bg-page);
    font-family: var(--font-base);
    color: var(--text-primary);
}

/* Заголовок перед контейнером */
.benefits-heading {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 1rem 1rem;
    color: var(--text-primary);
}

@media (max-width: 600px) {
    .benefits-heading {
        font-size: 1.4rem;
        margin: 0px 0.5rem 1rem;
    }

    .nhp_hero_content.v2 {
        padding: 1rem !important;
    }
}

.benefit-item-inner {
    text-align: center;
    padding: 1rem;
}

.benefit-item-image img {
    max-width: 50px;
}

.benefit-item-name {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.nhp_hero.v2 {
    padding: 0;
    background-color: white;
}

.benefit-item-perex {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 600px) {
    .benefit-item-name {
        font-size: 1rem;
    }

    .benefit-item-perex {
        font-size: 0.85rem;
    }
}

.filter_option {
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

.filter_option.active {
    box-shadow: inset 0 0 0 4px black;
    border-radius: 8px;
}

.filter_option.active::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    pointer-events: none;
}

.filter_option.dropdown img.image-15 {
    display: none;
}

.filter_option.dropdown.active img.image-15 {
    display: inline;
}

.dropdown_options {
    display: none;
    flex-direction: column;
    gap: 4px;
    margin-top: 5px;
}

.dropdown_wrapper.open .dropdown_options {
    display: flex;
}

.filter_reset_btn {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: black;
    background-color: #f3f3f3;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid #bbb;
    transition: 0.2s ease;
    white-space: nowrap;
}

.filter_reset_btn:hover {
    background-color: #eaeaea;
}

.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    width: 500px;
    max-width: 95%;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 6px;
    box-sizing: border-box;
}

.error {
    color: red;
    font-size: 0.875em;
}

.filter_reset_btn img {
    width: 18px;
    height: 18px;
}

.fs_item.selected .fs_checkbox {
    background-color: black;
}

.fs_item.selected .fs_checboxdot {
    display: block;
}

.fs_checboxdot {
    display: none;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 50%;
}

.fs_heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.hero__benefits {
    background: rgba(255, 255, 255);
    padding: 15px 123px 0px 180px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.benefit-item-inner {
    flex: 1 1 10px;
}

.filter_option .filtr_option_text {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter_option {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 5px 10px;
    border: 0px solid transparent;
    border-radius: 3px;
    outline: 1px solid #e2e2e2;
    height: 36px;
    line-height: 1;
    box-sizing: border-box;
}


.filter_option:has(.filtr_option_text:checked) {
    border-color: #000;
    background-color: rgba(0, 0, 0, 0.05);
    filter: brightness(0.95);
}

/* 4) Убираем синий outline при фокусе */
.filter_option:focus,
.filter_option:focus-within {
    outline: none;
}

/* Скрываем родные радио-кнопки */
.sort_products_wrapper .filtr_option_text {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Базовый вид кнопок сортировки */
.sort_products_wrapper .sort_button {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s ease,
    background-color 0.2s ease,
    filter 0.2s ease;
}

/* Состояние “checked” */
.sort_products_wrapper .sort_button:has(.filtr_option_text:checked) {
    border-color: #000;
    background-color: rgba(0, 0, 0, 0.05);
    filter: brightness(0.95);
}

/* Убираем синий outline при фокусе */
.sort_products_wrapper .sort_button:focus-within {
    outline: none;
}

.spinner-grow,
.spinner-border {
    display: inline-block;
    width: var(--bs-spinner-width);
    height: var(--bs-spinner-height);
    vertical-align: var(--bs-spinner-vertical-align);
    border-radius: 50%;
    animation: var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name);
}

@keyframes spinner-border {
    to {
        transform: rotate(360deg) /* rtl:ignore */;
    }
}

.spinner-border {
    --bs-spinner-width: 2rem;
    --bs-spinner-height: 2rem;
    --bs-spinner-vertical-align: -0.125em;
    --bs-spinner-border-width: 0.185rem;
    --bs-spinner-animation-speed: 0.65s;
    --bs-spinner-animation-name: spinner-border;
    border: var(--bs-spinner-border-width) solid currentcolor;
    border-right-color: transparent;
}

.spinner-border-sm {
    --bs-spinner-width: 1rem;
    --bs-spinner-height: 1rem;
    --bs-spinner-border-width: 0.145em;
}

@media (prefers-reduced-motion: reduce) {
    .spinner-border,
    .spinner-grow {
        --bs-spinner-animation-speed: 1.3s;
    }
}

.blockui .blockui-overlay .spinner-border {
    height: 1.35rem;
    width: 1.35rem;
}

.blockui .blockui-message {
    display: flex;
    align-items: center;
    border-radius: 0.475rem;
    box-shadow: var(--bs-blockui-message-box-shadow);
    background-color: var(--bs-blockui-message-bg);
    color: var(--bs-gray-700);
    font-weight: 600;
    margin: 0 !important;
    width: auto;
    padding: 0.85rem 1.75rem !important;
}

.blockui .blockui-message .spinner-border {
    margin-right: 0.65rem;
}

.product_card {
    outline-offset: 0px;
    cursor: pointer;
    border: 1px solid #eee;
    border-radius: .625rem;
    outline: 3px solid #fff;
    flex-direction: column;
    flex: none;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    max-width: 245px;
    outline-width: 0;
}


.product_card:hover {
    outline-offset: 0px;
    outline: 3px solid #d6d6d6;
    outline-color: #0000;
}

.product_card.hidden {
    display: none;
}

.product_card.product_test_article {
    height: 32rem;
}

.product_card.horizontal_layout {
    background-color: #f8f8f8;
    background-color: var(--pc_background);
    flex-flow: row;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 50rem;
    height: 11.5rem;
    overflow: visible;
    max-width: none;
    height: 10rem;
}

.d-none {
    display: none !important;
}

.koupit_text {
    color: #1c1c1c;
    font-weight: bold;
    text-align: center;
}

.model-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 1px solid;
    border-top: 1px solid;
    padding-bottom: 10px;
    padding-top: 10px;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.price-container {
    display: grid;
    max-width: 400px;
    grid-column-gap: .5rem;
    grid-row-gap: .5rem;
    grid-template-columns: 1fr 1fr;
}

.hero__benefits {
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 0;
}

.nhp_hero_content.v2 {
    /* Main container */
    clip-path: polygon(0px 0%, 100% 0%, 100% 100%, 0% 100%);
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    max-width: 900px;
    margin: auto;
    padding: 2rem 2.5rem;
    border-radius: 0 0 35px 35px;
    box-sizing: border-box;
    text-align: center;

    /* Desktop layout: heading + row of 3 items */
    display: grid;
    grid-template-rows: auto 1fr;
    row-gap: 1px;
}

/* Desktop: 3 logos in one row */
.nhp_hero_content.v2 .benefits-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 equal columns */
    column-gap: 24px;
    align-items: start;
    justify-items: center;
}

.nhp_hero_content.v2 .benefit-item-inner {
    text-align: center;
}

.nhp_hero_content.v2 .benefit-item-image {
    height: 50px;                   /* equal height for logo row */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;             /* text closer to logo */
}

.nhp_hero_content.v2 .benefit-item-image img {
    max-height: 100px;
    width: auto;
    height: auto;
    display: block;
}


.mobile-filter-reset{
    display: none;
}


/* 📱 Mobile version: vertical list, logo left + text right */
@media (max-width: 768px) {
    .nhp_hero_content.v2 {
        display: block;             /* reset grid */
        padding: 2.5rem 1.5rem;
        text-align: left;           /* text aligned left for list style */
    }

    .nhp_hero_content.v2 .benefits-container {
        display: flex;
        flex-direction: column;     /* stack items vertically */
        gap: 16px;
        width: 100%;
    }


    .mobile-filter-reset{
        display: block;
    }


    .nhp_hero_content.v2 .benefit-item-inner {
        display: flex;              /* horizontal alignment */
        flex-direction: row;        /* logo left, text right */
        align-items: center;        /* vertically centered */
        text-align: left;
        gap: 12px;                  /* space between logo and text */
    }

    .nhp_hero_content.v2 .benefit-item-image {
        flex: 0 0 50px;             /* fixed width for logo column */
        height: 50px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nhp_hero_content.v2 .benefit-item-image img {
        max-height: 40px;
        width: auto;
        height: auto;
        display: block;
    }

    .nhp_hero_content.v2 .benefit-item-name {
        flex: 1;                    /* text takes remaining space */
        line-height: 1.4;
    }
}


.nhp_hero_content.v2 .benefit-item-inner {
    padding-bottom: 0px;
}

.hero__benefits img {
    width: 100%;
    max-width: 225px;
}

@media screen and (max-width: 768px) {
    .pc_info_wrap {
        grid-column-gap: 6px;
        grid-row-gap: 6px;
        flex-direction: column;
        align-items: center;
        display: flex;
        text-align: center;
    }

    .pc_price_wrap {
        align-items: center;
        display: flex;
        text-align: center;

    }

    .price_infos_wrapper_mobile_technical_inner {
        justify-content: center;
        padding-top: 4px;
    }
}


@media screen and (max-width: 500px) {
    .filtered_products_grid {
        grid-column-gap: .5rem;
        grid-row-gap: .5rem;
        grid-template-columns: 1fr;
    }

    .pc_info_wrap {
        grid-column-gap: 6px;
        grid-row-gap: 6px;
        flex-direction: column;
        align-items: center;
        display: flex;
        text-align: center;
    }

    .price_infos_wrapper_mobile_technical_inner {
        justify-content: center;
        padding-top: 4px;
    }
}

.pf_slider_wrap {
    display: block;
    width: 100%;
    margin-top: 25px;
}

.noUi-connect {
    background: #232323;
}

.text-right {
    text-align: right !important;
}

.pc_name_wrap {
    grid-column-gap: .25rem;
    grid-row-gap: .25rem;
    flex-direction: column;
}

.navbar_menu {
    width: 100%;
    background-color: #232323;
    padding: 35px 0;
    box-sizing: border-box;
}

.menu_podlozka {
    background-color: #232323;
}

.content_wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.nav_top_left {
    position: absolute;
    left: 0;
    top: 0;
}

.logo_wrapper {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.logo_img,
.banner_img {
    height: 250px;
    max-width: 100%;
    width: auto;
    display: block;
}

.header_center {
    display: flex;
    justify-content: center;
    width: 100%;
}

.mobile_logo {
    display: none; /* Hidden by default */
}

.benefits-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 1080px) {
    .header_center {
        justify-content: flex-end;
    }

    .header_center .logo_wrapper img {
        max-width: 600px;
    }
}

/* Tablets and phones */
@media (max-width: 768px) {
    .content_wrapper {
        flex-direction: column;
        align-items: center;
        position: static;
    }

    .benefits-container {
        display: block;
    }

    /* Hide desktop logos and banner */
    .nav_top_left,
    .header_center {
        display: none;
    }

    /* Show mobile logo */
    .mobile_logo {
        display: flex;
        justify-content: center;
        width: 100%;
        padding: 20px 0;
    }

    .mobile_logo img {
        width: 100vw;
        max-width: 600px;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 768px) {
    .mobile_logo img {
        max-width: 90vw;
        max-height: 170px;
        width: auto;
        height: auto;
    }
}

.product_counter_wrap {
    font-weight: 600;
    font-size: 1rem;
    color: #222;
    margin-right: 125px;
}

#buyModal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.6);
}

#buyModal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 90%;
}

#buyModal button {
    margin-top: 20px;
    padding: 8px 16px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}


#buyModal.modal-hidden {
    display: none;
}

#buyModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 1rem;
}

.modal-content {
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 600px; /* limit the maximum width */
    width: 600px; /* fixed width on desktop */
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-inner .phone-icon {
    margin-bottom: 20px;
}

.contact-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.phone-number {
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
}

.phone-number:hover {
    text-decoration: underline;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #25D366;
    font-size: 16px;
    font-weight: 500;
}

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

.whatsapp-icon {
    width: 20px;
    height: 20px;
}


.contact-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 15px;
}

.phone-number,
.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    text-decoration: none;
    color: #000; /* черный цвет */
}

.phone-number {
    font-weight: 400; /* менее жирный */
}

.whatsapp-link {
    font-weight: 500; /* можно оставить немного жирнее */
}

.phone-number:hover,
.whatsapp-link:hover {
    text-decoration: underline;
}

.whatsapp-icon {
    width: 20px;
    height: 20px;
}


.modal-inner p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #333;
}

.modal-inner button {
    padding: 10px 20px;
    font-size: 1rem;
    background-color: #242820;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.modal-inner button:hover {
    background-color: #1b1e1c;
}

@media (max-width: 480px) {
    .modal-content {
        padding: 20px 15px;
    }

    .modal-inner p {
        font-size: 1rem;
    }

    .modal-inner .phone-icon svg {
        width: 36px;
        height: 36px;
    }
}

/* Mobile version — vertical benefits, images on the left, compact layout */
@media (max-width: 768px) {
    .products_header_wrapper {
        flex-direction: column;
        align-items: center;
    }

    .product_counter_wrap {
        margin-right: 0;
        margin-top: 0.5rem;
        text-align: center;
    }

    .prodcts_filtered_heading {
        margin: 0;
    }

    .benefits-heading {
        font-size: 1.1rem !important;
        margin-bottom: 1rem;
    }

    .benefits-container {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.8rem !important;
    }

    .benefit-item-inner {
        display: flex !important;
        align-items: center !important;
        gap: 0.6rem !important;
        max-width: 100% !important;
        text-align: left;
    }

    .benefit-item-image img {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        max-width: 40px !important;
        object-fit: contain;
    }

    .benefit-item-name {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
        margin: 0 !important;
        display: flex;
        align-items: center;
    }

    .pc_buy_wrap {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 40px;
        box-sizing: border-box;
        cursor: pointer;
    }

    .left_panel {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: #ffffff;
        z-index: 3000;
        overflow-y: auto;
        padding: 1rem;
        transition: transform 0.3s ease;
        transform: translateY(0);
    }

    .left_panel.phone_hidden {
        transform: translateY(-100%);
        pointer-events: none;
    }

    .mobile_show_filter {
        position: fixed;
        bottom: 0;
        z-index: 3500;
    }

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