:root {
    --button1: #1E8DF2;
    --button2: #00AAF8;
    --button3: #c32439;
    --button4: #ff0022;
    --button5: #00a0ca;
    --button6: #009933;
    --button7: #3b3b3b;
    --buttonbackground: var(--button3);
}

.custom-accordion-button {
    /* ...существующие стили... */
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: manipulation;
}

.custom-accordion-button:active {
    transform: scale(0.98);
}

.list_section {
    padding: 0 30px 10px;
}

h1.title {
    text-align: center;
    color: #fff;
}

.list_section h1.title {
    font-weight: 700;
    font-size: 30px;
    line-height: normal;
    text-align: center;
    text-transform: uppercase;
    color: #000;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    padding: 16px 0 0;
    margin-bottom: 5px !important;
}

.catalog-item:not(:last-child) {
    margin-bottom: 45px;
}

.catalog-item {
    background-color: #ffffff;
    padding: 18px 18px;
    margin-top: -10px;
    margin-right: -10px;
    margin-left: -10px;
    margin-bottom: 20px;
    border-radius: 40px;
    box-shadow: 0px 36px 60px 0px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #c5c5c5;
}

.catalog-item h4 {
    text-align: center;
    color: black;
    font-size: 25px;
    margin: 40px 0 0px;
    padding-bottom: 9px;
    text-transform: uppercase;
    font-weight: 700;
    border-bottom: 1px solid #c4c4c4;
}

.catalog-price {
    color: #262626;
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 4px 16px;
    max-width: 230px;
    margin: -2px auto 25px;
    background-color: white;
}

.catalog-price .old-price {
    font-size: 16px;
    text-decoration: line-through;
    opacity: 0.4;
}

.catalog-price .new-price {
    font-size: 22px;
    font-weight: 600;
}

.product-img img {
    border-radius: 25px;
    border: 5px solid #f2f2f2;
    width: 100%;
}

.button {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    display: block;
    margin: 0 auto;
    border: none;
    border-radius: 4px;
    background: var(--buttonbackground);
    font-family: "AvenirNextCyr", sans-serif;
    font-weight: 700;
    font-size: 21px;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
}

.button p {
    margin-bottom: 0;
}

.button1 {
    width: 365px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat Alternates", sans-serif;
    overflow: unset;
}

.button1:hover {
    color: white;
}


.custom-accordion {
    margin-bottom: 30px;
    padding: 0 15px;
}

.custom-accordion-button {
    background-color: #f1f1f1;
    padding: 10px;
    cursor: pointer;
    border: 1px solid #ddd;
    text-align: left;
    width: 100%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 5px;
    transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-accordion-button:focus {
    outline: none;
}

.custom-accordion-button:not(.custom-collapsed) {
    background-color: #fff;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.custom-accordion-button::after {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid #000;
    border-bottom: 2px solid #000;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.custom-accordion-button:not(.custom-collapsed)::after {
    transform: rotate(-135deg);
}

.custom-accordion-collapse {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease, padding 0.5s ease;
    padding: 0;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
}

.custom-accordion-collapse.show {
    max-height: 1000px;
    padding: 10px;
}

.custom-accordion-body {
    color: black;
    padding: 10px;
}

.custom-accordion-body ol, .custom-accordion-body ul {
    list-style: disc;
    margin-left: 20px;
}


/* Modal */
.modal-open .modal {
    overflow-x: hidden;
    overflow-y: hidden;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1055;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 1.75rem auto;
    pointer-events: none;
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translateY(-50px);
}

.modal.show .modal-dialog {
    transform: none;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-content * {
    font-family: "Montserrat", sans-serif !important;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    color: #000;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
}

.modal-footer>* {
    margin: 0.25rem;
}

.btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNiAxNiI+PHBhdGggc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjIiIGQ9Ik0xLjUgMS41bDEzIDEzTSAxNC41IDEuNUwxLjUgMTQuNSIvPjwvc3ZnPg==") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.375rem;
    opacity: 0.5;
}

.btn-close:hover {
    opacity: 0.75;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}

.modal-backdrop.fade {
    opacity: 0;
}

.modal-backdrop.show {
    opacity: 0.5;
}

.order-wrap {
    display: flex;
    align-items: flex-start;
    padding: 10px 40px 0;
}

.order-img {
    width: 40%;
    border-radius: 5px;
    margin-right: 22px;
}

.modal-title {
    font-weight: bold;
}

.order-info {
    color: #000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.order-info h3 {
    font-size: 18px;
    font-weight: bold;
}

.order-info .text {
    display: block
}

.order-info h2 {
    margin: 0 auto;
}

.modal-content .field {
    margin-top: 25px;
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: #f8f9fa;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    color: #333;
}

.modal-content .field {
    display: block;
    margin: 0 auto 20px;
    padding: 0 20px 0 80px;
    width: 400px;
    height: 66px;
    border: 1px solid #e6e6e6;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background-color: #fff;
    font-family: "Montserrat", sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #333;
}

.wpcf7-select {
    width: 400px !important;
}

/* .wpcf7-form select {
    width: 400px !important;
} */

.modal-content .field[name="name"] {
    background-image: url("../images/offer__name_icon.png");
    background-position: 23px center;
    background-repeat: no-repeat;
    padding-left: 75px;
}

.modal-content .field[name="phone"] {
    background-image: url("../images/offer__phone_icon.png");
    background-position: 23px center;
    background-repeat: no-repeat;
    padding-left: 75px;
}

.modal-content.offer_section .field {
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .modal-dialog {
        width: 90%;
    }

    .modal-content .field {
        width: 80%;
    }
/* 
    .wpcf7-select {
        width: 80% !important;
    }

    .wpcf7-form select {
        width: 80% !important;
    } */

    .button {
        width: 80%;
    }
}

.slick-prev, .slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 30px;
    height: 30px;
    /* color: #fff; */
    border: none;
    border-radius: 50%;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    cursor: pointer;
    z-index: 10;
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

.swiper-slide img {
    width: 100%;
}

.swiper-slide {
    width: 100%;
    height: auto;
}

.fade {
    transition: opacity .15s linear;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
}

@media (min-width: 576px) {
    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }
}

.modal-content h3 {
    margin-bottom: 15px;
}

.modal-content p {
    white-space: nowrap;
    margin-bottom: 0px;
}

.modal-content span,
.modal-content b,
.modal-content del {
    display: inline;
}


.component-wrapper .accent-color {
    background-color: var(--accent-color, var(--buttonbackground));
    color: #fff;
    border: none;
    padding: 10px 20px;
    text-transform: uppercase;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.component-wrapper .accent-color:hover {
    background-color: var(--accent-color, var(--buttonbackground));
    filter: brightness(0.9);
}

/* frame */
.frame-default {
    border: 1px solid #c5c5c5;
}

.frame-red {
    border: 2px solid #a00000;
    box-shadow: 1px 2px 20px 0px #ff0000;
}

.frame-orange {
    border: 2px solid #FF7D00;
    box-shadow: 1px 2px 20px 0px #ff8a19;
}

.frame-green {
    border: 2px solid #2ECC40;
    box-shadow: 1px 2px 20px 0px #5BFF75;
}

.frame-blue {
    border: 2px solid #425BD8;
    box-shadow: 1px 2px 20px 0px #425BD8;
}

.frame-yellow {
    border: 2px solid #FFD700;
    box-shadow: 1px 2px 20px 0px #FFEE9B;
}

/* Swipe */
/* .slick-slider {
    max-width: 800px;
    margin: 0 auto;
}

.slick-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.slick-prev,
.slick-next {
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 16px;
}

.slick-prev:hover,
.slick-next:hover {
    background: rgba(0, 0, 0, 0.8);
} */