.modal {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    z-index: 999;
}
.modal-overlay {
    width: 100%;
    height: 100vh;
    position: fixed;
    background: rgba(255, 255, 255, 0.9);
}
.modal-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    padding: 40px;
}
.modal-container {
    width: 500px;
    position: relative;
    z-index: 3;
    max-width: 100%;
    margin: auto;
    position: relative;
}
.modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    z-index: 2;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    transition: all 0.4s;
}
.modal .main-wrapper__content {
    background: #000;
}
.modal-close svg {
    width: 24px;
    height: 24px;
    display: block;
}
.modal .vs-btn {
    width: 100%;
}
.modal .main-form__button {
    width: 100%;
}
.modal .main-form__button p {
    margin: 0;
    width: 100%;
}

.main-wrapper__last-btn::after, .main-wrapper__last-btn::before {
    display: none;
}
.main-wrapper__last-btn {
    background: transparent;
    border: 1px solid #ad8858;
    color: #ad8858;
}
.main-wrapper__last-btn:hover {
    background: #ad8858;
    color: #fff;
}
.btn-w-full {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
}
#main .main-wrapper__content {
    width: 40%;
}

.catalog-list > ul {
    display: flex;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
}
.catalog-block {
    width: 25%;
    padding-left: 10px;
    padding-right: 10px;
    margin-top: 20px;   
}
.catalog-item__price {
    font-weight: bold;
}
.catalog-block h2 {
    margin-top: 12px;
}

.ptb {
    padding: 60px 0 !important;
}
.catalog-item {
    position: relative;
}
.catalog-item a {
    position: absolute;
    z-index: 4;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.ptb > .products {
    padding-top: 24px;
}

.card-main {
    padding-top: 24px;
}

.card-main {
    direction: rtl;
}

.info-box form {
    display: flex;
    align-items: center;
}
.info-box input {
    width: 100px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid #ccc;
    background: #fff;
    font-weight: bold;
    font-size: 18px;
    margin-left: 12px;
    text-align: center;
    border: 1px solid #ad8858;
    border-radius: 60px;
}
.info-box button {
    border: none;
    display: inline-block;
    text-transform: capitalize;
    line-height: 1;
    font-size: 16px;
    font-weight: 600;
    background-color: var(--theme-color);
    color: var(--white-color);
    border-radius: 9999px;
    text-align: center;
    overflow: hidden;
    position: relative;
    z-index: 1;
    width: 200px !important;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #ad8858;
    color: #ad8858;
}

.woocommerce-checkout input, .woocommerce-checkout textarea {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    height: 50px;
    border: 1px solid #ad8858;
    display: flex;
    align-items: center;
    padding-right: 20px;
    color: #000;
}
input[type="tel"] {
    direction: ltr !important;
    text-align: right !important;
}
.woocommerce-checkout textarea {
    padding-top: 20px;
    display: block;
    height: 120px !important;
}

.price-plan-wrapper {
    padding-bottom: 0 !important;
}
.price-plan-wrapper .catalog-block {
    padding: 0 !important;
    width: 100% !important;
}

.catalog-block .image {
    width: 100% !important;
    max-width: 100% !important;
}
.catalog-block .image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

.cart-li a {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.cart-li svg {
    display: block;
    width: 19px;
    height: 19px;
}
.cart-li span {
    width: 22px;
    height: 22px;
    right: -6px;
    top: -6px;
    background: #ad8858;
    color: #fff;
    border-radius: 100%;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 2;
}
.outline-social ul {
    display: flex;
    align-items: center;
}

.woocommerce, .rtl {
    direction: rtl;
}

.products_btn {
	margin: 0 auto;
    display: block;
    width: fit-content;
}

#billing_policy {
    /* Скрываем стандартный чекбокс */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ad8858; /* Черная рамка */
    border-radius: 3px; /* Закругленные углы */
    position: relative;
    cursor: pointer;
    outline: none;
    padding: 0;
    opacity: 1;
    visibility: visible;
}
.page-policy {
    padding: 60px 0;
}
.bottom-links {
    text-align: center;
    margin-top: 32px;
}
.bottom-links a {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    margin: 0 10px;
}
.bottom-links a:hover {
    text-decoration: underline;
}
#billing_policy:checked {
    background-color: #ad8858; /* Фон чекбокса при выборе */
    border-color: #ad8858; /* Цвет границы при выборе */
}

#billing_policy:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.page-policy__content {
	direction: rtl;
}

.product-flex-gallery {
	position: relative;
}

.figure-grid svg,
.product-flex-gallery svg {
	position: absolute;
	left: 0;
}

.product__extra-description {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    transition: all 0.3s ease;
}


.product__extra-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 5px 0 5px 10px;   
    transition: all 0.3s ease;
    cursor: pointer;
}

.product__extra-btn svg{   
    transition: all 0.3s ease;
 }

.product__extra-content{
    min-height: 0;
    transition: all 0.3s ease;   
}

.product__extra-content-wrapper {
    transform: translateY(-100%);
    visibility: hidden;
    padding: 30px 0 0 0;
    transition: all 0.5s ease;
}

.product__extra-text {
    margin: 0;
}

.product__extra-description.open {
    grid-template-rows: 1fr;
}

.product__extra-btn.open {
    border-bottom: 1px solid #d9d9d9;
}

.product__extra-btn.open svg{
   transform: rotate(180deg);
}


.product__extra-description.open .product__extra-content{   
    grid-row: auto;
}

.product__extra-description.open .product__extra-content-wrapper {
    transform: translateY(0);
    visibility: visible;
}

.slick-slide img {
	max-width: 400px;
}

@media (max-width: 992px) {
    #main .main-wrapper__content {
        width: 500px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        border-radius: 0 0 12px 12px
    }
    .main-wrapper {
        row-gap: 0;
    }
    .catalog-block {
        width: 33.333%;
    }
}
@media (max-width: 767px) {
    .catalog-block {
        width: 50%;
    }
    .product-flex-gallery {
        order: -1;
        margin-bottom: 24px;
    }
}
@media (max-width: 576px) {
    .catalog-block {
        width: 100%;
    }
    .catalog-item img {
        width: 100%;
        height: auto;
    }
    .header-logo {
        position: static;
        transform: none;
    }
    .mobile-no-wrap {
        flex-wrap: nowrap;
    }
    .outline-social a {
            width: 24px;
            height: 24px;
            border-width: 1px;
            display: flex;
            align-items: center;
            justify-content: center;
    }
    .outline-social a i {
        font-size: 12px;
    }
    .cart-li svg {
        width: 14px;
        height: 14px;
    }
    .cart-li span {
        width: 16px;
        height: 16px;
        font-size: 10px;
        top: -8px;
        right: -8px;
    }
}

@media (max-width: 360px) {
    .header-logo {
        max-width: 128px;
    }
}