section.feedback {
    padding: 50px 0;
}

.head-top-col-2 {
    font-size: 16px;
}

.single-content.is-text summary {
    font-weight: 600;
    font-size: larger;
}

.galery-service {
    width: 100%;
    float: left;
    margin-bottom: 50px;
}

.galery-service img {
    width: 50%;
    height: auto;
    float: left;
    padding: 15px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.test-drive-how {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}


.step-td {
    text-align: center;
}

.step-td-img {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.step-td-img img {
    max-height: 100%;
    width: auto;
    height: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.step-td h3 {
    margin: 10px 0;
    font-size: 24px;
}

@media (max-width: 1024px) {
    .test-drive-how {
        grid-template-columns: repeat(2, 1fr);
    }

    .step-td-img {
        height: 140px;
    }
}

@media (max-width: 640px) {
    .test-drive-how {
        grid-template-columns: 1fr;
    }

    .step-td-img {
        height: 120px;
    }

    .step-td h3 {
        font-size: 20px;
    }
}

.is-text p,
.is-text ol li,
.is-text ul li,
.prod-os-item-text.close-text {
    line-height: 24px;
    letter-spacing: 0.1px;
}

.wp-block-group p {
    margin: 10px 0 20px 0;
}

.single-buy-items4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.tab-product {
    border-bottom: 1px solid #a7a7a7;
    position: sticky;
    top: 108px;
    z-index: 1;
}

.tab-product .tab-list {
    position: sticky;
    top: 44px;
    background: #fff;
    z-index: 2;
    transition: top .2s ease-in-out;
}

.tab-product .flex-wrap {
    flex-wrap: wrap;
}

.tab-product .flex {
    flex-wrap: nowrap;
}

.tab-product .flex,
.grid {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tab-product .tab-list li {
    position: relative;
    margin-right: 10px;
}

.tab-product .tab-list li:hover {
    background-color: #e9e9e9;
}

.tab-product .tab-list li a {
    font-size: 16px;
    font-weight: 700;
    line-height: 25px;
    border-bottom: 2px solid #fff0;
    display: inline-block;
    position: relative;
    width: 100%;
    padding: 10px;
}

.tab-product .tab-list li a:hover {
    text-decoration: none;
}

.grid-icon-10 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.icon-10-border {
    border: 1px solid #c9c9c9;
    border-radius: 5px;
    background-color: #f7f7f7;
}

.icon-10-border img {
    padding: 15px;
}

.icon-10-border p.icon-10 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    padding: 0 10px 10px 10px;
    text-align: center;
}

.why-ep {
    margin-bottom: 30px;
    text-align: right;
}

.why-ep button {
    width: 250px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    background: red;
    border: none;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
    background: #e62222;
}

.why-ep button,
.why-ep button span {
    transition: 200ms;
}

.why-ep button .text {
    transform: translateX(35px);
    color: white;
    font-weight: bold;
}

.why-ep button .icon {
    position: absolute;
    border-left: 1px solid #c41b1b;
    transform: translateX(207px);
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-ep button svg {
    width: 15px;
    fill: #eee;
}

.why-ep button:hover {
    background: #ff3636;
}

.why-ep button:hover .text {
    color: transparent;
}

.why-ep button:hover .icon {
    width: 250px;
    border-left: none;
    transform: translateX(0);
}

.why-ep button:focus {
    outline: none;
}

.why-ep button:active .icon svg {
    transform: scale(0.8);
}

div#gallery-1 img {
    width: 50%;
    float: left;
    padding-right: 10px;
    padding-bottom: 10px;
}

details.wp-block-details.is-layout-flow.wp-block-details-is-layout-flow {
    box-shadow: 0px 0px 8px 0px #0000003b;
    border-radius: 10px;
    padding: 15px;
}

.wa-btn,
.tg-btn {
    position: fixed;
    height: 145px;
    right: 0;
    bottom: 25%;
    background-color: rgb(65, 202, 0);
    background: linear-gradient(180.00deg, rgb(65, 202, 0), rgb(46, 143, 0) 100%);
    padding: 15px 15px 10px 15px;
    border-radius: 30px 0 0 30px;
    box-shadow: 0px 0px 10px #00000060;
    z-index: 9999999;
    width: 50px;
}

.tg-btn {
    height: 275px;
    background: linear-gradient(180.00deg, #0f58d0, #4393d0 100%);
}

.wa-btn:hover {
    background: linear-gradient(180.00deg, rgb(47 137 5), rgb(46, 143, 0) 100%);
    transition: 0.3s;
}

.tg-btn:hover {
    background: linear-gradient(180.00deg, #224865, rgb(46, 143, 0) 100%);
    transition: 0.3s;
}

.wa-btn img {
    width: 100%;
    float: left;
    margin-right: 10px;
    margin-left: 4px;
}

.wa-btn p,
.tg-btn p {
    text-decoration: none;
    color: #ffffff;
    margin: 13px 0px 0px 0px;
    font-weight: 500;
    transform: rotate(180deg);
    float: left;
    writing-mode: vertical-rl;
}

div#itlcb-call-btn {
    width: 60px !important;
    height: 60px !important;
    margin: 0 !important;
    right: 53px !important;
    bottom: 53px !important;
}

#itlcb-wrapper {
    z-index: 999999 !important;
}

.b24-widget-button-position-bottom-right {
    bottom: 130px !important;
}

.xmodal-box-sales {
    background: #fff;
    width: 1000px;
    position: relative;
    z-index: 5;
    box-shadow: 0px 0px 20px 0px #00000045;
}

.xmodal-left {
    float: left;
    width: 60%;
    height: 100%;
    background-image: url(/wp-content/themes/exfork/img/sales.jpg);
    position: absolute;
    background-repeat: round;
}

.xmodal-right {
    width: 40%;
    float: right;
    padding: 40px 25px;
}

.xmodal-right p {
    text-align: center;
}

.main-page .first-subtitle.section-subtitle p {
    background-color: white;
    border-radius: 10px;
    padding: 10px;
    max-width: 88%;
    box-shadow: 0px 0px 10px #00000033;
}

section.prod-section.section {
    margin: 0 auto;
    padding-bottom: 70px;
}

/*предупреждение про куки*/
.warning {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: none;
    width: 300px;
    padding: 15px;
    background-color: #000000d9;
    z-index: 999999999999;
    border-radius: 8px;
}

button.warning__apply:hover {
    background-color: #154100;
}

button.warning__apply {
    padding: 8px;
    border-radius: 8px;
    background-color: #2e9100;
    color: white;
    width: 85px;
    margin: 10px 0;
}

.warning--active {
    display: flow;
}

.warning__text {
    width: 100%;
    color: white;
}

.warning__read {
    display: block;
    text-decoration: underline;
}

.warning__read:hover {
    text-decoration: none;
}

/*предупреждение про куки*/

.stories .grid-scroll {
    display: flex;
    overflow-x: auto;
    padding: 20px;
}

.stories .grid-scroll-item {
    margin: 0 10px;
    max-width: 250px;
}

.stories .desc-stories {
    max-width: max-content;
    padding-top: 10px;
}

.stories .button-style {
    width: 250px;
    height: 462px;
    background-size: cover;
    border: none;
    color: white;
    cursor: pointer;
    transition: background-image 0.3s;
    font-size: 50px;
    text-shadow: 0 0px 20px #ffc342;
}

.stories .button-clicked {
    background-image: unset;
    height: 0px;
    border: 0px;
    display: none;
}

.stories iframe {
    display: none;
}

section.stories {
    background-color: #ffffff;
}

section.stories iframe,
.stories .button-style {
    border: 4px solid #ffc342;
    border-radius: 10px;
    box-shadow: none;
    transition: 0.2s;
}

section.stories iframe:hover,
.stories .button-style:hover {
    box-shadow: 0px 0px 10px 0px #00000099;
    border-color: #c3281c;
    transition: 0.2s;
    text-shadow: 0 0px 20px #c3281c;
}

iframe.marquiz-widget__iframe {
    box-shadow: 0px 0px 20px 5px #00000070;
}

.table-container {
    overflow-x: auto;
}

.is-table {
    width: 100%;
    border-collapse: collapse;
}

.is-table th,
.is-table td {
    text-align: left;
    border: 1px solid #ddd;
}

#category-description {
    max-height: 450px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    /* Плавный переход для высоты */
}

#category-description.open {
    max-height: 10000px;
    /* Необходимо установить достаточно большое значение, чтобы вместить все содержимое */
    border-bottom: unset;
}

#show-more {
    margin: 30px auto;
    font-size: 15px;
    width: max-content;
    padding: 8px;
}

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

.weight-bold {
    font-weight: bold !important;
}

/* faq-section */
.faq {
    background-image: url(/wp-content/themes/exfork/img/question.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.faq-fixed {
    max-width: 1000px;
    margin: 0 auto;
}

details {
    display: block;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    padding: 10px 20px;
    box-shadow: 0px 0px 10px 0px #0000003d;
    transition: 0.1s;
}

details:hover {
    background: #efefef;
    box-shadow: 0px 0px 10px 0px #00000061;
    transition: 0.2s;
}

summary::-webkit-details-marker {
    display: none;
}

summary::-moz-list-bullet {
    list-style-type: none;
}

summary::marker {
    display: none;
}

summary {
    display: block;
    font-size: 1.4em;
    cursor: pointer;
    position: relative;
    transition: transform .5s;
}

summary:before {
    top: .4em;
    right: .3em;
    color: transparent;
    background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNMTYuNTkgOC41OUwxMiAxMy4xNyA3LjQxIDguNTkgNiAxMGw2IDYgNi02eiIvPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz48L3N2Zz4=") no-repeat 50% 50% / 1em 1em;
    width: 1em;
    height: 1em;
    content: "";
    position: absolute;
    transition: transform .5s;
}

details[open]>summary:before {
    transform: scale(1, -1);
    transition: transform .5s;
}

details[open] summary~* {
    animation: sweep .5s ease-in-out;
    transition: transform .5s;
}

@keyframes sweep {
    0% {
        opacity: 0;
        transition: transform .5s;
    }

    100% {
        opacity: 1;
        transition: transform .5s;
    }
}

summary:focus {
    outline: 0;
    transition: transform .5s;
}

/* faq-section */

video#bg-video {
    display: block;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* калькулятор лизинга */
.calculator .preset {
    padding-bottom: 20px;
    text-align: center;
}

.calculator button {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid black;
    border-radius: 50px;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-right: 10px;
}

.calculator button:hover {
    background-color: #dcdcdc;
}

.calculator button.active {
    background-color: black;
    color: white;
}

.calculator button.active:hover {
    background-color: #292929;
}

.calculator.row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 40px 20px 20px 20px;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 10px 20px rgb(0 0 0 / 25%);
}

.calculator.row div {
    flex: 1;
    margin: 0 10px;
}

.calculator .input {
    margin-bottom: 25px !important;
    position: relative;
}

.calculator label {
    position: absolute;
    left: 10px;
    top: 7px;
    font-size: 10px;
}

.calculator input[type="number"] {
    width: 97%;
    padding: 24px 10px 10px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    background-color: #efefef;
}

.calculator input[type="number"]:hover {
    background-color: #f5f5f5;
}

.calculator input[type="range"] {
    width: 94%;
    position: absolute;
    top: 45px;
    left: 8px;
}

.calculator input[type="number"]:focus {
    border-color: #e74c3c;
    outline: none;
    background-color: #ffffff;
}

.calculator input[type="range"]:focus {
    border-color: #e74c3c;
    outline: none;
}

.calculator .result {
    padding: 20px;
    background-color: #ecf0f1;
    border-radius: 5px;
    box-shadow: inset 0px 0px 2px #8f8f8f;
}

.calculator .result .mounth-price {
    font-weight: bold;
    font-size: 24px;
}

.calculator .result button {
    font-size: 20px !important;
    padding-top: 11px;
    width: 50px;
    height: 50px;
}

.min-max {
    display: flex;
    padding-top: 10px;
    font-size: 10px;
}

.min-max .middle {
    text-align: center;
}

.min-max .right {
    text-align: right;
}

.calculator .tblock-order.flex {
    display: block;
    text-align: center;
}

.calculator .tblock-order.flex a {
    position: relative;
    display: inline-block;
    font-size: 18px;
    width: 300px;
}

.no-offerta {
    font-size: 10px;
    padding-top: 10px;
}

/* Конец калькулятора лизинга */

.galery-brand {
    text-align: center;
}

.galery-brand img {
    margin: 20px;
}

.popupMessage {
    display: none;
    position: absolute;
    top: calc(100% + 7px) !important;
    left: 0 !important;
    background: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    z-index: 1000;
    font-size: 12px;
}

/* Новый дизайн карточки товаров */
.tab-product,
.prod-table,
.prod-os,
.close-cont,
.files-in,
.right-sidebar-prod,
.prod-main,
.close-video {
    padding: 15px;
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 1px 2px #00000050;
}

.show-more-tth {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: white;
    background: linear-gradient(0deg, rgba(224, 224, 224, 1) 40%, rgba(255, 255, 255, 1) 100%);
    height: 60px;
    color: black;
    font-weight: 700;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 1px 2px #0000003b;
    transition: background 0.2s;
}

.show-more-tth:hover {
    background: linear-gradient(0deg, rgb(206 206 206) 40%, rgba(255, 255, 255, 1) 100%);
    transition: background 0.2s;
}

.prod-main {
    padding-right: 0;
}

.nal-brand,
.prod-order {
    padding-right: 30px;
}

.prod-chars {
    margin-right: 30px;
}

.deadline-sales {
    width: 100%;
}

.deadline-sales .labels-item {
    width: fit-content;
}

#countdown-timer {
    font-size: 24px;
    line-height: 2;
    color: green;
}

.grid-scroll {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px;
}

.grid-scroll-item {
    flex: 0 0 auto;
    margin-right: 15px;
}

.certificate-image {
    width: 200px;
    object-fit: cover;
    border-radius: 8px;
    padding: 10px;
}

.head-slogan {
    /*white-space: nowrap;*/
    transition: opacity 1s;
    /* Плавный переход прозрачности */
}

.blocks-cabina {
    display: flex;
}

#kabina .prod-os-item-image {
    width: 300px;
}

#kabina .prod-os-item-cont {
    width: calc(100% - 350px);
    margin: auto;
}

#kabina .other-more {
    justify-content: left;
    margin-top: 20px;
}

#kabina li {
    font-size: 20px;
}

.offer-cabina {
    margin: auto 20px;
}

#sub_zero {
    background-image: url('/wp-content/themes/exfork/img/cold-back.webp');
    background-size: cover;
    background-position: center;
}

#sub_zero .close-text {
    max-width: 50%;
    padding: 30px;
}

#about-sub-zero {
    justify-content: left !important;
    margin-top: 20px;
}

.otsizv img {
    width: 20%;
    height: 100%;
    padding: 10px;
    margin: 10px auto;
}

.cat-section .fixed {
    max-width: 1850px;
}

.nav nav {
    margin: 0;
}

.nav p {
    font-weight: 600;
}

.nav {
    margin: 30px 0;
}