/* === Общие стили для всей страницы === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('/img/background-image.png?v=1');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    font-family: "Montserrat", sans-serif;
    color: #fff;
    margin: 0;
}


/* === index.html === */
/* === Логотип и хеде === */
header {
    border-radius: 0 0 30px 30px;
    width: 100%;
    height: 11vh;
    background: #131313;
    display: flex;
    justify-content: space-between;
    padding: 0 30px 0 30px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    margin-left: 1%;
    height: 100%;
    align-items: center;
    display: flex;
}

.time {
    color: #fafafa;
    white-space: nowrap;
    font-size: clamp(7px, 1.5vw, 9px);
    line-height: 1.55;
    font-weight: 500;
    background-position: center center;
    border-color: transparent;
    /* border-style: solid; */
}

.logo img {
    height: 67%;
}

.menu {
    display: flex;
    justify-content: center;
    flex-grow: 1;
}

.menu ul {
    list-style: none;
    display: flex;
    width: 39%;
    justify-content: space-between;
    margin-right: 10%;
    min-width: 230px;
}

.menu a {
    text-decoration: none;
    font-size: clamp(10px, 1vw, 18px);
    color: #fff;
}

.phone {
    text-align: left;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0 1%;
    font-size: clamp(10px, 1vw, 18px);
}

/* === Сетка главной части страницы === */
.container {
    display: flex;
    align-items: stretch;
    gap: 30px;
    padding: 1.5%;
    /* height: calc(100vh - 11vh); */
    height: auto;
}

.left-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.item {
    padding: 1%;
}

.item5 {
    flex: 0 0 45%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    /* height: 100%; */
    height: auto;
    width: 100%;

}

/* === Заголовок и описание конструктора === */
h1 {
    font-weight: 500;
    font-size: clamp(24px, 4vw, 80px);
    line-height: 120%;
    color: #ffcd00;
    margin: 1.5% 0;
}

.intro {
    font-weight: 400;
    font-size: clamp(10px, 1.3vw, 25px);
    line-height: 120%;
    color: #c9c9c9;
    text-align: justify;
    margin: 0;
    hyphens: auto;
    word-spacing: -1px;
    hyphens: none;
}

/* === Этапы (шаги) === */
.step {
    display: flex;
    align-items: center;
    margin: 1% 0;
}

.step-number {
    background: #ffcd00;
    color: black;
    font-weight: 500;
    font-size: clamp(10px, 1vw, 20px);
    text-align: center;
    border-radius: 50%;
    margin-right: 15px;
    text-align: center;
    align-items: center;
    display: grid;
    width: 2vw;
    height: 2vw;
}

.step p {
    font-size: clamp(13px, 2vw, 20px);
}

/* === Кастомный select (пункт 1) === */
.custom-select {
    position: relative;
    display: inline-block;
    width: 30%;
    min-width: 240px;
}

.custom-select select {
    width: 100%;
    border: 1px solid #565656;
    border-radius: 10px;
    padding: 5% 7%;
    padding-right: 55px;
    background: #1a1a1a;
    font-weight: 400;
    font-size: clamp(18px, 1vw, 20px);
    line-height: 120%;
    color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.custom-select select:focus {
    border-color: #ffcd00;
    outline: none;
}

select option {
    font-size: 15px;
}

.custom-select .arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    /* width: 29px; */
    width: 1.5vw;
    /* height: 29px; */
    pointer-events: none;
}

/* === Секции выбора: Перешив / Тюнинг === */
.options {
    display: flex;
    gap: 3%;
}

.option {
    flex: 1;
    padding: 2%;
    background: #1a1a1a;
    color: white;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: border 0.3s ease;
}

.option.active {
    border-color: #ffc107;
}

.option .radio {
    position: absolute;
    top: 15px;
    right: 15px;
    height: 35px;
    width: 2vw;
}

.option .radio img {
    width: 100%;
    height: auto;
}

.option p {
    font-weight: 400;
    font-size: clamp(13px, 1vw, 18px);
    line-height: 120%;
    color: #a2a2a2;
    hyphens: auto;
    word-spacing: -1px;
    margin-top: 4%;
}

/* === Главная кнопка "Начать" === */
.main_button {
    display: inline-block;
    padding: 1.5% 0;
    width: 100%;
    background: #ffcd00;
    color: black;
    font-size: clamp(9px, 2vw, 25px);
    text-decoration: none;
    border-radius: 10px;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease;
    margin-top: 2%;
    font-weight: 500;
    line-height: 120%;
}

.main_button:hover {
    background: #e0a800;
    transform: scale(1.01);
}

.main_button:active {
    background: #d39e00;
    transform: scale(0.98);
}

/* === Заголовок внутри блоков опций === */
h2 {
    font-weight: 400;
    font-size: clamp(15px, 1.5vw, 40px);
    line-height: 120%;
    color: #fff;
    margin: 0;
}

/* === Блок с рулем справа (фон + руль) === */


.item5 img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
    max-width: 100%;
    height: auto;
    pointer-events: none;
}

h6 {
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: #747474;
}

.steering-preview {
    position: relative;
    width: 95%;
    aspect-ratio: 885 / 834;
}

.background-img {
    display: block;
    width: 100%;
    height: auto;
}

#steeringImage,
#steeringImageTuning {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 114%;
    height: auto;
    z-index: 1;
    pointer-events: none;
}





.steering-preview img {
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
    width: 95%;
    height: 100%;
}












/*-----------pereshiv.html------------*/

/* === Контейнер сетки всей страницы === */
.container-prsh {
    display: grid;
    grid-template-columns: 57% 43%;
    grid-template-rows: 6% 72% 10% 5%;
    width: 100vw;
    height: 98vh;
    padding: 10px;
    gap: 10px;
}

/* === Первый блок: шапка с логотипом, заголовком и кнопкой "Сбросить" === */
.header-prsh {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0% 1.5%;
    border-radius: 10px;
    align-items: center;
    margin-top: 1%;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #ffc700;
}

.reset-btn {
    background: #171717;
    font-weight: 400;
    font-size: clamp(8px, 1vw, 20px);
    line-height: 120%;
    text-transform: capitalize;
    text-align: center;
    color: #fff;
    border: 1px solid #b23535;
    border-radius: 10px;
    width: 15%;
    height: 100%;
    cursor: pointer;
    display: flex;
    gap: 5%;
    justify-content: center;
    align-items: center;
}

/* === Второй блок: вертикальные навигационные кнопки === */
.nav-buttons {
    grid-column: 1;
    grid-row: 2;
    width: 5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3%;
    align-items: center;
    margin-left: 4%;
    height: 115%;
}

.nav-btn {
    height: clamp(30px, 4vw, 72px);
    width: clamp(30px, 4vw, 72px);
    position: relative;
    /* width: clamp(60px, 5.5vh, 75px); */
    background: #171717;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.nav-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

/* Скрытие/отображение вкладок */
.nav-content {
    display: none;
}

.nav-content.active {
    display: block;
    height: calc(100vh - 19%);
    overflow-y: scroll;
    padding-right: 2%;
}

/* === Третий блок: модель руля === */
.wheel-model {
    grid-column: 1;
    grid-row: 2;
    /* width: 85%; */
    justify-self: center;
    align-self: center;
    margin-left: 12%;
    background: #1e1e1e;
    border-radius: 50px;
    /* height: 89%; */
    width: 85%;
    height: 112%;
    margin-top: 13%;
}

.wheel-model svg {
    object-fit: contain;
    height: 100%;
    width: 100%;
}

/* === Четвёртый блок: кнопка "Вернуться" снизу слева === */
.bottom-left {
    grid-column: 1;
    grid-row: 3;
    display: flex;
    align-items: flex-start;
    padding-left: 3%;
}

.back-btn {
    background: none;
    border: none;
    cursor: pointer;
    height: 30%;
    display: flex;
    align-items: center;
    gap: 12%;
    font-weight: 400;
    line-height: 120%;
    text-transform: capitalize;
    text-align: center;
    color: #fff;
    font-size: clamp(10px, 1vw, 18px);
}

.back-btn img {
    height: 36%;
}

/* === Пятый блок: панель с настройками руля === */
.settings-panel {
    grid-column: 2;
    grid-row: 1 / span 4;
    display: flex;
    flex-direction: column;
    padding: 1% 6% 0px 20px;
    /* overflow-y: auto; */
    height: calc(100% + 1% + 20px);
}

/* === Верхняя часть панели (заголовок + иконки) === */
.header-settings-panel {
    display: flex;
    justify-content: end;
}

.header-settings-panel h3 {
    font-weight: 400;
    font-size: clamp(15px, 1.5vw, 40px);
    line-height: 120%;
    text-transform: capitalize;
    color: #ffcd00;
}

.header-settings-panel-right {
    display: flex;
    font-weight: 400;
    font-size: clamp(8px, 1vw, 20px);
    line-height: 120%;
    color: #fff;
    gap: 1.5vw;
    align-items: center;
}

.header-settings-panel-right img {
    height: clamp(15px, 4vw, 24px);
    cursor: pointer;
}

.download {
    display: flex;
    align-items: center;
    gap: 0.3vw;
    cursor: pointer;
}


.toggle-wrapper {
    overflow: hidden;
    transition: max-height ease;
    /* max-height: 1000px; */
}



.materials.collapsed .toggle-wrapper,
.colors.collapsed .toggle-wrapper,
.marks.collapsed .toggle-wrapper,
.thread-color.collapsed .toggle-wrapper {
    max-height: 0;
}

.bottom-section .material-img,
.thread-color .color-img {
    border: 1px solid transparent;
    transition: border 0.3s;
    width: 100%;
}

.materials.collapsed .spaced-bottom,
.colors.collapsed .spaced-bottom,
.marks.collapsed .spaced-bottom,
.thread-color.collapsed .spaced-bottom {
    margin-bottom: -3%;
}



/* optional: padding collapse */
.materials.collapsed .toggle-wrapper,
.colors.collapsed .toggle-wrapper {
    padding-top: 0;
    padding-bottom: 0;
}

/* rotate arrow */
.toggle-icon {
    transition: transform 0.3s ease;
}

.materials.collapsed .toggle-icon,
.colors.collapsed .toggle-icon,
.marks.collapsed .toggle-icon,
.thread-color .toggle-icon {
    transform: rotate(180deg);
}


/* === Подпись выбранной ткани/цвета === */
.cloth,
.cloth2,
.cloth3 {
    align-items: center;
    display: flex;
    gap: 5px;
    font-weight: 400;
    font-size: clamp(8px, 1vw, 16px);
    line-height: 120%;
    color: #adadad;
}

.cloth img,
.cloth2 img,
.cloth3 img {
    margin-left: 1vw;
    cursor: pointer;
    width: 1vw;
}

.cloth.toggle-btn,
.cloth2.toggle-btn,
.cloth3.toggle-btn {
    cursor: pointer;
}




/* === Блоки "Фильтры" и "Псевдоперфорация" === */
.filters,
.perforation {
    display: flex;
    align-items: center;
    font-weight: 400;
    font-size: clamp(8px, 1vw, 20px);
    line-height: 120%;
    color: #c5c5c5;
    gap: 1vw;
    cursor: pointer;
}

.perforation.disabled {
    pointer-events: none;
    opacity: 0.4;
}

.filter-more-toggle {
    cursor: pointer;
    margin-left: 8px;
    background: #232323;
    color: #fff;
    border-radius: 10px;
    padding: 5% 20%;
    font-size: clamp(5px, 1vw, 15px);
    display: inline-flex;
    align-items: center;
    border: none;
    outline: none;
}

.filter-more-list {
    position: absolute;
    background: #232323;
    border-radius: 10px;
    box-shadow: 0 4px 24px 0 #0003;
    top: 38px;
    right: 0;
    min-width: 120px;
    z-index: 30;
    padding: 6px 12px;
    display: none;
    flex-direction: column;
    gap: 8px;
}

.filter-more-list.open {
    display: flex;
}


/* === Заголовок внутри активной вкладки и надписи блоков === */
.nav-content.active h3,
.materials h3,
.shadow-header h3 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: clamp(8px, 1.8vw, 30px);
    line-height: 100%;
    color: #fff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.spaced-bottom {
    margin-bottom: 4%;
    transition: margin-bottom 0.5s ease;
    font-size: clamp(8px, 1.8vw, 30px);
}

.sub-counter {
    font-weight: 400;
    font-size: clamp(8px, 1vw, 20px);
    line-height: 100%;
    color: #a1a1a1;
    vertical-align: top;
}

/* === Контейнеры для материалов и цветов === */
.materials,
.colors,
.marks,
.thread-color {
    border: 1px solid #757575;
    border-radius: 5px;
    padding: 2.5% 4% 5% 4%;
    margin-bottom: 2%;
    transition: all 0.3s ease;
    overflow: hidden;
    margin-top: 2%;
}


.top-notification {
    position: absolute;
    top: -10%;
    right: -48%;
    z-index: 10;
    height: 34% !important;
    pointer-events: none;
}


/* === Единичный материал / цвет === */
.color {
    border: 1px solid transparent;
    border-radius: 8px;
    /* padding: 7px 10px; */
    padding: 1% 1.4%;
    /* margin-right: 3%; */
    /* margin-bottom: 3%; */
    cursor: pointer;
    transition: border 0.2s;
    width: 20.8%;
}

.color.active {
    border: 1px solid #757575;
}

.color.active img {
    border: 1px solid #757575;
}

.material {
    border: 1px solid transparent;
    border-radius: 8px;
    /* padding: 7px 10px; */
    padding: 1% 1.4%;
    cursor: pointer;
    transition: border 0.2s ease;
    width: 20.8%;
}

.material.active {
    border: 1px solid #757575;
}

.color-black {
    border: 1px solid #757575 !important;
}

.material.active img {
    border: 1px solid #757575;
}

.material img {
    border: 1px solid transparent;
    border-radius: 13px;
    transition: border 0.2s ease;
    width: 100%;
}

.color img,
.color-img {
    border: 1px solid #75757500;
    border-radius: 13px;
    width: 100%;
}

/* === Списки материалов и цветов === */
.material-list,
.color-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1vw;
}

/* === Информация под материалами === */
.material-img,
.color-img {
    margin-bottom: 10%;
}

.desc {
    line-height: 1%;
}

.desc-label {
    font-weight: 400;
    font-size: clamp(5px, 1vw, 15px);
    line-height: 120%;
    color: #767678;
}

.desc-name {
    font-weight: 400;
    font-size: clamp(8px, 1vw, 20px);
    line-height: 120%;
    color: #adadad;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    hyphens: auto;
}

.desc-price {
    font-weight: 400;
    font-size: clamp(10px, 1vw, 25px);
    line-height: 120%;
    color: #fff;
    display: inline-block;
    margin-top: 2%;
}

.color p {
    border: 1px solid #0000;
}

/* === Фильтры и цена сверху === */
.filters-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 3%;
}

.labels-between {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
    line-height: 120%;
    color: #fff;
    font-size: clamp(8px, 1vw, 30px);
    margin-top: 5%;
    margin-bottom: 3%;
}

/* === Кнопки "Назад" и "Далее" === */


.prev-button:disabled,
.next-button:disabled,
.next-button.disabled {
    color: #484848;
    background: #2f2f2f;
    cursor: not-allowed;
    pointer-events: none;
}

.prev-button,
.next-button {
    border-radius: 6px;
    padding: 2.2% 3.2%;
    font-weight: 500;
    font-size: clamp(9px, 1vw, 20px);
    line-height: 100%;
    color: #000;
    background: #fff;
    cursor: pointer;
    border: none;
    margin-right: 4%;
    margin-bottom: 3%;
    align-items: center;
    display: flex;
    justify-content: space-evenly;
    width: 18%;
    height: 57%;
}

.prev-button img,
.next-button img {
    height: 100%;
    width: 0.4vw;
}

/* === Бейджи скидок === */
.sales {
    display: none !important;
    display: flex;
    margin-bottom: 3%;
    height: 12%;
}

.extra-sale {
    border-radius: 40px;
    /* padding: 3% 5%; */
    padding: 0.8vw;
    /* width: 16.5%; */
    height: 100%;
    background: #e6cd87;
    font-weight: 400;
    font-size: clamp(6px, 1vw, 20px);
    line-height: 100%;
    color: #000;
    display: flex;
    gap: 7%;
    margin-right: 1.5%;
    justify-content: center;
    align-items: center;
    /* min-width: 90px; */
}


.sale {
    border-radius: 40px;
    /* padding: 1% 3%; */
    padding: 0.5vw;
    /* width: 8.8%; */
    /* min-width: 45px; */
    /* height: 100%; */
    background: #e5e4e4;
    font-weight: 400;
    font-size: clamp(6px, 1vw, 20px);
    line-height: 100%;
    color: #000;
    display: grid;
    align-items: center;
    text-align: center;
}

/* === Цена и скидка === */
.prices {
    align-items: self-end;
    display: flex;
}

.price-new {
    font-weight: 400;
    font-size: clamp(25px, 3vw, 45px);
    line-height: 100%;
    color: #fff;
    margin-right: 3.5%;
}

.price-old {
    font-weight: 300;
    font-size: clamp(6px, 2vw, 24px);
    line-height: 100%;
    color: #919191;
    position: relative;
    display: inline-block;
}

.price-old::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -10px;
    right: -10px;
    height: 1px;
    background-color: #878787;
    transform: translateY(-50%);
}

/* === SVG значок скидки (ценник) === */
.discount-svg-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14%;
    height: 2vw;
    background: url('/img/icons/price-tag.svg?v=1') no-repeat center/contain;
    font-size: clamp(5px, 1vw, 27px);
    font-weight: 600;
    color: #bebebe;
    padding-left: 8px;
    margin-left: 3.5%;
}



.marks .section-header {
    margin-bottom: 0;
    align-items: baseline;
    align-items: center;
}


.marks .section-header h3 {
    display: flex;
    align-items: center;
    width: 60%;
    /* margin-bottom: 3% !important; */
}

.section-title img {
    width: 3vw;
}

.marks h2 {
    font-weight: 400;
    font-size: clamp(12px, 1vw, 30px);
    line-height: 120%;
    color: #fff;
    margin-top: 4%;
}

.mark-cost {
    font-size: clamp(12px, 1vw, 30px);

}

.marks .section-header h3 img {
    margin-right: 1vw;
}

#rim_top_mark {
    display: none;
}




.reset-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9998;
}

.reset-modal,
.modal-content {
    background: #121212;
    color: white;
    padding: 1.5% 2.1%;
    border-radius: 12px;
    width: 32%;
    position: relative;
    text-align: center;
}

.reset-modal h2,
.modal-content h2 {
    font-size: clamp(7px, 1vw, 40px);
    margin-bottom: 4%;
    font-weight: 500;
    line-height: 100%;
    color: #fff;
    text-align: left;
}

.reset-modal p,
.modal-content p {
    font-size: clamp(5px, 1vw, 30px);
    margin-bottom: 5%;
    font-weight: 500;
    line-height: 100%;
    color: #fff;
    text-align: initial;
}

.reset-modal .modal-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.reset-modal .modal-buttons button,
.modal-content .modal-buttons button {
    flex: 1;
    padding: 1vw;
    font-size: clamp(3px, 1vw, 20px);
    border: none;
    border-radius: 8px;
    background-color: #FFD400;
    font-weight: bold;
    cursor: pointer;
}

.modal-close {
    position: absolute;
    top: 8%;
    right: 4%;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    height: 18%;
}

.modal-close img {
    height: 100%;
}



.marks .color.disabled {
    pointer-events: none;
    opacity: 0.4;
}

#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('/img/loader-background.png?v=1');
    background-size: cover;
    background-position: center;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-icon {
    width: 80px;
    aspect-ratio: 1 / 1;
    animation: rotate-loader 1s linear infinite;
    transform-origin: center center;
    display: block;
}

@keyframes rotate-loader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    z-index: 999;
}

.filter-panel {
    position: fixed;
    right: -100%;
    top: 0;
    height: 100%;
    width: 24%;
    background: #171717;
    color: #fff;
    z-index: 1000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding: 2.1%;
}

.filter-panel.open {
    right: 0;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: clamp(8px, 1vw, 40px);
    line-height: 100%;
    color: #fff;
}

.filter-header img {
    cursor: pointer;
    width: 1.5vw;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 3%;
    margin-top: 9%;
    margin-bottom: 8%;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 7%;
    font-weight: 500;
    font-size: clamp(10px, 1vw, 40px);
    line-height: 100%;
    color: #fff;
}


.filter-option img {
    width: 1.2vw;
    height: 1.2vw;
}

#applyFilter {
    background: #ffc700;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: clamp(10px, 1vw, 40px);
    line-height: 120%;
    color: #0b0b0b;
    border-radius: 11px;
    padding: 5.5%;
}




.active-filters {
    display: flex;
    gap: 8px;
    height: 2vw;
    margin-left: 6%;
    align-items: center;
}

.active-filters .filter-tag {
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 7% 0.7vw;
    width: 100%;
    height: 100%;
    background: #ffcd00;
    font-weight: 400;
    font-size: clamp(5px, 1vw, 10px);
    line-height: 100%;
    color: #000;
    justify-content: space-between;
}

.active-filters .filter-tag span {
    margin-right: 8px;
}

.active-filters .filter-tag img {
    cursor: pointer;
    width: 1vw;
    height: 1vw;
}




.active-filter-pill {
    background: #eee;
    border-radius: 30px;
    padding: 5px 10px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
}

.remove-filter {
    cursor: pointer;
}







.buttons-prev-next {
    display: flex;
    box-shadow: 0px -10px 11px 9px #171717;
    margin-top: 1%;
    background-color: #171717;
}



.shadow-header {
    position: relative;
    z-index: 10;
    /* box-shadow: 0px 15px 16px 17px #171717; */
}

.shadow-header h3 {
    box-shadow: 0px 5px 11px 9px #171717;
}

.color.disabled,
.material.disabled,
.nav-btn.disabled {
    opacity: 0.35;
    pointer-events: none;
}


.mobile-overlay {
    display: none;
    /* По умолчанию скрыт */
}




/* === Общая модалка === */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9998;
}

/* === Контент модалки === */
.share-modal-content {
    position: relative;
    width: 32%;
    padding: 1.6% 2.1%;
    background: #171717;
    border-radius: 15px;
}

/* === Заголовок + крестик === */
.share-header {
    font-weight: 500;
    font-size: clamp(10px, 1.5vh, 30px);
    line-height: 100%;
    color: #fff;
}

#closeShareModal {
    position: absolute;
    right: 5%;
    top: 9%;
    height: 16%;
    cursor: pointer;
}

/* === Инпут ссылки === */
.share-input-wrapper {
    width: 100%;
    height: 1vw;
    display: flex;
    align-items: center;
    padding: 6%;
    border: 1px solid #FFCD00;
    border-radius: 11px;
    box-sizing: border-box;
    margin-top: 7%;
    margin-bottom: 5.5%;
}

#shareLinkInput {
    width: 100%;
    border: none;
    background: transparent;
    color: #fff;
    font-size: clamp(10px, 1.5vh, 20px);
    font-weight: 400;
    outline: none;
}

/* === Кнопка копирования === */
#copyLinkButton {
    width: 100%;
    height: 3vw;
    background: #FFCD00;
    border-radius: 11px;
    border: none;
    font-weight: 600;
    font-size: clamp(10px, 1.5vh, 20px);
    color: #0B0B0B;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

#copyLinkButton img {
    width: 1vw;
    height: 1vw;
}










.order-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56%;
    background: #171717;
    border-radius: 30px;
    padding: 2% 3%;
    box-sizing: border-box;
    display: none;
    flex-direction: column;
    align-items: center;
    z-index: 9998;
    overflow-y: auto;
    /* height: 80%; */
    max-height: 80vh;
}

.order-modal h1 {
    font-weight: 500;
    font-size: clamp(14px, 1.5vw, 36px);
    line-height: 100%;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 4%;
}

.order-content {
    display: flex;
    width: 100%;
    align-items: stretch;
    /* 🔑 тянет обе колонки по высоте */
    gap: 4.5%;
}

.price-breakdown {
    width: 100%;
}

.order-preview {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.divider {
    width: 1px;
    background-color: #6B6B6B;
    height: auto;
    align-self: stretch;
}

.order-h3 {
    font-weight: 400;
    font-size: clamp(10px, 1.5vw, 25px);
    line-height: 120%;
    /* text-transform: capitalize; */
    color: #fff;
    margin-bottom: 2.5%;
    width: 100%;
}

.preview-columns {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
    /* между левой и правой частью */
    height: 100%;
}

.preview-left {
    aspect-ratio: 1.6 / 1;
    width: 100%;
    /* background: #262626;
  border-radius: 8px;
  margin-bottom: 5%; */

    background: #262626;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 5%;
}

#priceBreakdown {
    font-size: 16px;
}

.preview-right {

    margin-bottom: 5%;
}

.preview-left img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: #262626;
    object-fit: cover;
    border: 1px solid #171717;
}



.preview-right h3 {
    font-size: clamp(8px, 1vw, 20px);
    font-weight: 400;
    color: #fff;
    margin-bottom: 3%;
}

.preview-right .article {
    font-size: clamp(5px, 1vw, 10px);
    color: #585858;
    margin: 0 0 15px;
    margin-bottom: 10%;
}

.preview-right .label {
    font-size: clamp(8px, 1vw, 20px);
    color: #fff;
    margin: 0;
    margin-bottom: 2%;
}

.preview-right .price {
    font-size: clamp(10px, 1.5vw, 30px);
    color: #FFCD00;
    line-height: 100%;
}

.order-preview p,
.note {
    font-size: clamp(8px, 1.5vh, 14px);
    line-height: 140%;
    color: #fff;
    width: 100%;
    height: 100%;
    text-align: justify;
    margin-top: auto;
    font-weight: 400;
    line-height: 90%;
}



.order-preview p a {
    color: #FFCD00;
    text-decoration: underline;
}

form#orderForm,
form#orderForm2,
form#orderForm22,
form#orderFormTuning {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* gap: 6%; */
    gap: 4%;
}

#orderForm div p {
    margin-bottom: 0;
    margin-top: 0%;
    font-size: clamp(5px, 1vw, 11px);
    line-height: 90%;
}

.order-modal hr {
    width: 100%;
    margin-bottom: 8%;
    color: #6b6b6b;
    height: 1px;
    background-color: #6b6b6b;
}

form#orderForm input,
form#orderForm textarea,
form#orderForm2 input,
form#orderForm2 textarea,
form#orderForm22 input,
form#orderForm22 textarea,
form#orderFormTuning input,
form#orderFormTuning textarea {
    padding: 4% 12px;
    background: #262626;
    color: #BCBCBC;
    font-size: clamp(8px, 1vw, 25px);
    border: none;
    border-radius: 7px;
    font-family: 'Montserrat', sans-serif;
    height: 11%;
}

form#orderForm textarea,
form#orderForm2 textarea,
form#orderForm22 textarea,

form#orderFormTuning textarea {
    resize: none;
    /* height: 100px; */
    /* height: 22%; */
    height: auto;
}

form#orderForm .checkbox,
form#orderFormTuning .checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(10px, 1vw, 14px);
    color: white;
}

form#orderForm .checkbox input,
form#orderFormTuning .checkbox input {
    width: 1.5vw;
    /* height: 18px; */
    accent-color: #FFCD00;
    height: 100%;
}

form#orderForm .submit-button,
form#orderForm2 .submit-button,
form#orderForm22 .submit-button,
form#orderFormTuning .submit-button {
    background: #FFCD00;
    color: #0B0B0B;
    font-weight: 600;
    font-size: clamp(10px, 1vw, 30px);
    padding: 4%;
    border: none;
    border-radius: 13px;
    cursor: pointer;
}

.modal-close {
    position: absolute;
    top: 8%;
    right: 5%;
    color: white;
    font-size: clamp(15px, 1vw, 24px);
    cursor: pointer;
}

.policy {
    font-weight: 400;
    font-size: clamp(8px, 1vw, 18px);
    line-height: 100%;
    color: #fff;
}

.policy-link {
    font-weight: 300;
    color: #ffcd00;
}

#modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    display: none;
}


.image-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    z-index: 2;
}

.loader-circle {
    width: 30px;
    height: 30px;
    border: 4px solid #FFCD00;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


.material-group-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.material-group {
    display: flex;
    flex-direction: column;
}

.group-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 500;
    line-height: 120%;
    color: #fff;
    font-size: clamp(8px, 1vw, 30px);
    margin-top: 2%;
    margin-bottom: 3%;
}








.price-item {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 4px;
}

.price-item .label-text {
    display: flex;
    flex: 1;
    align-items: center;
}

.price-item .label-content {
    white-space: nowrap;
    margin-right: 4px;
    position: relative;
    z-index: 1;
    font-weight: 400;
    font-size: clamp(8px, 1vw, 14px);
    line-height: 120%;
    color: #fff;
}

.price-item .dots {
    flex-grow: 1;
    border-bottom: 1px dotted #999;
    height: 1em;
    margin-left: -1%;
    margin-right: -3%;
}

.price-item .value-text {
    white-space: nowrap;
    margin-left: 10px;
    position: relative;
    z-index: 1;
    font-size: clamp(8px, 1vw, 14px);

}

#wheelPreviewContainer {
    height: 100%;
}

#wheelPreviewContainer svg {
    /* max-width: 100%;
  height: 100%;
  display: flex; */

    width: 100%;
    height: 100%;
    display: block;
}



#colorHueRange::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: white;
    border: 2px solid red;
    border-radius: 50%;
    cursor: pointer;
    margin-top: -2px;
}

#colorHueRange::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: white;
    border: 2px solid red;
    border-radius: 50%;
    cursor: pointer;
}

#colorSliderThumb {
    transition: left 0.1s ease;
}

.tooltip {
    position: absolute;
    top: 50%;
    left: 110%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 0 5px 5px 5px;
    padding: 5px 10px;
    font-weight: 400;
    font-size: clamp(8px, 1.5vh, 16px);
    line-height: 100%;
    text-align: center;
    color: #fff;
    display: none;
    z-index: 9999;
    font-family: "Montserrat", sans-serif;
}


.nav-btn:hover .tooltip {
    display: block;
}







/* TUNING */

.descr-anatomy {
    font-weight: 500;
    font-size: clamp(10px, 1.5vw, 20px);
    line-height: 100%;
    color: #fff;
    margin-top: 6%;
    margin-bottom: 2%;
}

.block-descr-anatomy {
    font-weight: 300;
    /* font-size: clamp(10px, 1.5vw, 16px); */
    font-size: clamp(5px, 1vw, 15px);
    line-height: 100%;
    color: #fff;
    margin-bottom: 2%;
    text-align: initial;
    line-height: 110%;
}



/* Стиль для модального окна МНЕНИЕ */
.modal {
    display: none;
    position: fixed;
    z-index: 9998;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    /* Полупрозрачный фон */
    justify-content: center;
    align-items: center;
}



.close-btn {
    color: #aaa;
    font-size: 2vw;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

.submit-button {
    background-color: #ffcc00;
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}


.modal-content .modal-buttons {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}





.blur-effect {
    filter: blur(8px);
    /* Режим размытия */
    pointer-events: none;
    /* Отключаем события на размытой области */
}


.filter-option.disabled {
    opacity: .5;
    pointer-events: none;
    /* мышь */
}

.filter-option.disabled * {
    pointer-events: none;
}

.filter-option[aria-disabled="true"] {
    user-select: none;
}


.bottom-badge-img {
    position: absolute;
    bottom: -5%;
    right: -5%;
    width: 25%;
    height: auto;
    z-index: 10;
    pointer-events: none;
}
.icon-wrapper {
    position: relative;
    /* display: inline-block; */
}








.material.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  position: relative;
  pointer-events: auto; 
}





/* Мягкий эффект подсветки (пульс) */
@keyframes pulseGlow {
  0% {
    filter: none;
    opacity: 1;
  }
  20% {
    filter: url(#red-glow);
    opacity: 1;
  }
  60% {
    filter: url(#red-glow);
    opacity: 1;
  }
  100% {
    filter: none;
    opacity: 1;
  }
}

/* Класс для временной мягкой подсветки */
.highlighted-pulse {
  animation: pulseGlow 1.8s ease-in-out;
}
