@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* ========== БАЗОВЫЕ СТИЛИ ========== */
body {
    font-family: 'Inter', sans-serif;
    font-size: clamp(14px, 2vw, 16px);
}

h1 {
    font-size: clamp(24px, 4vw, 28px);
    font-weight: 800;
}

h2 {
    font-size: clamp(22px, 3.5vw, 26px);
    font-weight: 600;
}

h3 {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 600;
    text-wrap: nowrap;
}

h4 {
    font-size: clamp(18px, 2.8vw, 22px);
    font-weight: 500;
}

h5 {
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 500;
}

h6 {
    font-size: clamp(15px, 2.2vw, 18px);
    font-weight: 500;
}

p {
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 400;
}
.title p {
    font-size: clamp(10px, 2vw, 12px);
    font-weight: 200;
    width: 200%;
    text-wrap: wrap;
}

a {
    font-size: clamp(14px, 2vw, 16px);
   
    font-weight: 400;
}
p + p {
    margin-top: 0.2em;
}

/* Бейдж с количеством товаров */
.cart-count {
    position: absolute;
    top: 3px;
    right: 120px;
    background-color: #ff4444;
    color: white;
    border-radius: 50%;
    width: 23px;
    height: 23px;
    font-size: clamp(10px, 1.5vw, 12px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* ========== FORMS CALLBACK ========== */
.callback {
    visibility: hidden;
    position: fixed;
    top: 25vh;
    width: 50%;
    height: 530px;
    z-index: 2000;
    border-radius: 20px;
    box-sizing: border-box;
    border: 1px solid #8B9649;
    background-color: #fff;
    display: flex;
    justify-content: center;
    padding: 50px;
}

.callback__form {
    width: 80%;
}

.callback__form input[name="phone"] {
    margin: 30px 0;
}

.callback__form input:not([type="radio"]):not([type="checkbox"]) {
    display: flex;
    flex-direction: column;
    width: 100%;
    border: none;
    border-bottom: 1px solid #B0B0B0;
    padding: 15px 10px;
    color: #B0B0B0;
    width: 400;
}

.callback__form input:not([type="radio"]):not([type="checkbox"]):focus {
    appearance: none;
    border: none;
    outline: none;
    border-bottom: 1px solid #B0B0B0;
    box-shadow: 0 2px 0 0 rgba(172, 188, 73, 0.2);
}

.callback__form input:not([type="radio"]):not([type="checkbox"]):hover {
    box-shadow: 0 2px 0 0 rgba(172, 188, 73, 0.2);
}

.callback__form input[type="radio"] {
    display: none;
}

.callback__form label[for="pickup"],
.callback__form label[for="delivery"] {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 20px 0 0;
    background: #f5f5f5;
    border-radius: 20px;
    cursor: pointer;
    color: #666;
    font-size: clamp(16px, 2.5vw, 20px);
    transition: all 0.3s;
    user-select: none;
}

.callback__form label[for="pickup"]:hover,
.callback__form label[for="delivery"]:hover {
    background: #e8e8e8;
}

#pickup:checked~label[for="pickup"],
#delivery:checked~label[for="delivery"] {
    background: #ACBC49;
    color: white;
    font-weight: 500;
}

.callback__form label[for="agree"] {
    font-size: clamp(12px, 1.8vw, 14px);
    color: #B0B0B0;
    letter-spacing: 3%;
}

.callback__form input[type="checkbox"] {
    border: 1px solid #ACBC49;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid #ACBC49;
    border-radius: 3px;
    background: white;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin-right: 8px;
}

.callback__form input[type="checkbox"]:checked {
    background-color: #ACBC49;
}

.callback__form input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: clamp(10px, 1.5vw, 12px);
    font-weight: 800;
}

.callback__form p.submit {
    margin: 20px;
    text-align: center;
}

.callback__form button {
    font-size: clamp(22px, 3.5vw, 28px);
    color: #ffffff;
    background-color: #ACBC49;
    padding: 10px 40px;
    margin-top: 20px;
    border-radius: 30px;
}

.button {
    font-size: clamp(16px, 2.5vw, 20px);
    color: #ffffff;
    background-color: #ACBC49;
    padding: 10px 30px;
    border-radius: 30px;
}

/* ========== NAV MENU ========== */
.nav-menu-container {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    scroll-behavior: smooth;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-menu-container.dragging,
.nav-menu-container:active {
    cursor: grabbing;
}

.nav-menu-container.dragging * {
    pointer-events: none;
}

.nav-menu-container::-webkit-scrollbar {
    display: none;
}

/* ========== SLIDERs ========== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

main {
    margin-top: 182px;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

.container {
    max-width: 1440px;
    padding: 40px 120px;
}

.container.backet {
    max-width: 1440px;
    padding: 0 !important;
    margin: 0 auto;
}

.container section+section {
    margin-top: 60px;
}

.slider {
    position: relative;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.price-old-main {
    font-size: clamp(12px, 2vw, 14px) !important;
    color: #a4b0be !important;
    text-decoration: line-through;
    font-weight: 300;
    opacity: 0.7;
    position: relative;
    display: inline-block;
}

.slider-wrapper {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    max-width: 100%;
    position: relative;
}

.action {
    transform: translateY(-50%) rotate(-20deg);
    text-transform: uppercase;
    width: 220px;
    height: 70px;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 30px;
    color: #fff;
    font-size: clamp(24px, 4vw, 30px);
    font-weight: 700;
    letter-spacing: 15%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: absolute;
    z-index: 80;
    display: flex;
    top: 30px;
    left: -50px;
    background: linear-gradient(135deg,
            #ff6767 0%,
            #ff4646 25%,
            #ff7070 50%,
            #fd2a2a 75%,
            #ff6e6e 100%);
    background-size: 200% 200%;
    animation: shine 3s infinite linear;
}

.action_new {
    transform: translateY(-50%) rotate(-20deg);
    text-transform: uppercase;
    width: 220px;
    height: 70px;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 30px;
    color: #fff;
    font-size: clamp(20px, 3.5vw, 30px);
    font-weight: 700;
    letter-spacing: 15%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: absolute;
    z-index: 80;
    display: flex;
    top: 30px;
    left: -50px;
    background: linear-gradient(135deg,
            #e9ffc1 0%,
            #b9d67e 25%,
            #a3c85a 50%,
            #8eb845 75%,
            #c7fb86 100%);
    background-size: 200% 200%;
    animation: shine 3s infinite linear;
}

@keyframes shine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.horizondSlider {
    animation: slideHorizontal 50s linear infinite;
}

@keyframes slideHorizontal {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 7.5px)); }
}

.slider-wrapper::-webkit-scrollbar {
    display: none;
}

.cards {
    display: flex;
    gap: 15px;
    padding: 10px 0;
    width: max-content;
}

.cards .cards_card {
    width: 200px;
    height: 250px;
    flex-shrink: 0;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.cards .cards_card img {
    object-fit: cover;
    flex-shrink: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.cards_card .card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.6) 50%,
            transparent 100%);
    z-index: 1;
}

.cards_card h3 {
    font-weight: 800;
    position: absolute;
    bottom: 70px;
    left: 8px;
    color: #fff;
    z-index: 2;
    font-size: clamp(18px, 3vw, 24px);
}

.cards_card h4 {
    font-weight: 300;
    position: absolute;
    text-wrap: wrap;
    text-align: left;
    height: 45px;
    width: 190px;
    bottom: 20px;
    overflow: hidden;
    left: 8px;
    color: #fff;
    z-index: 3;
    font-size: clamp(10px, 1.8vw, 12px);
}

.arrow {
    position: absolute;
}

.arrow-left {
    left: -80px;
    top: 40%;
}

.arrow-right {
    right: -80px;
    top: 40%;
}

/* ========== CARD for one ========== */
.cards2 {
    display: flex;
    gap: 50px;
    padding: 10px 0;
    width: max-content;
}

.card-one {
    display: block;
    text-align: center;
    max-width: 350px;
    max-height: 470px;
    text-align: left;
}

.card-one img {
    width: 350px;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    flex-shrink: 0;
    margin-bottom: 20px;
}

.card-one h1 {
    font-size: clamp(24px, 4vw, 30px);
    font-weight: 700;
}

.card-one p {
    white-space: wrap;
    margin: 20px 0;
    height: 55px;
    font-size: clamp(12px, 1.8vw, 15px);
}

.card-one .bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-new-main {
    color: #8B9649;
    font-weight: 500;
    font-size: clamp(16px, 2.5vw, 20px);
}

.card-one .bottom span {
    color: #8B9649;
    font-weight: 500;
    font-size: clamp(16px, 2.5vw, 20px);
    display: inline-flex;
    justify-content: space-between;
    gap: 15px;
}

.card-one .bottom h2 {
    display: flex;
    gap: 10px;
    color: #8B9649;
    font-weight: 500;
    font-size: clamp(16px, 2.5vw, 20px);
}

.card-one .bottom a {
    background-color: #ACBC49;
    color: #fff;
    border-radius: 30px;
    padding: 10px 25px;
    font-size: clamp(18px, 3vw, 25px);
    font-weight: 600;
}

.card-one .bottom a:hover {
    background-color: #9fad43;
}

/* ========== BLOCK_CARDS ========== */
.block__header {
    width: auto;
    height: 50px;
    display: inline-block;
    text-align: left;
    margin-bottom: 10px;
}

.block section {
    margin-top: 15px;
}

.block {
    margin-top: 40px;
}

.btn-backet-mobail {
    display: none;
}

.payment-options h3 {
    margin: 20px 0;
    font-weight: 300;
    font-size: clamp(16px, 2.5vw, 20px);
}

.block__header h1 {
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
    font-size: clamp(28px, 4.5vw, 35px);
}

.block__header img {
    width: 100%;
    height: auto;
    display: block;
    margin: 10px 0 40px;
}

.block__nav ul {
    overflow: visible;
    display: flex;
    justify-content: left;
    padding: 0 50px 0 0;
    gap: 20px;
    margin-bottom: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: clamp(24px, 4vw, 32px);
}

.block__nav ul a+a {
    margin: 40px 0 0;
}

.block__nav a {
    box-sizing: border-box;
    padding: 8px 20px;
    border-radius: 30px;
}

.block__nav a.active {
    background-color: #E4E6AE;
    transform: translateY(-2px);
}

.block__nav a:hover {
    background-color: #e4e6ae7c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(228, 230, 174, 0.3);
}

.block__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 35px;
}

.call-btn {
    left: 30px;
    transition: transform 0.5s ease;
    border-radius: inherit;
    position: fixed;
    z-index: 1100;
    bottom: 30px;
    width: 70px;
    height: 70px;
    background: #ACBC49;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(172, 188, 73, 0.3);
}

.call-btn:hover {
    animation: shake 0.8s ease 3;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* ========== PAGE: BACKET ========== */
.backet {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.position-one {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e2e2e2;
}

.img_title {
    display: flex;
    gap: 10px;
}

.position-one .main_img {
    width: 120px !important;
    height: 120px;
    object-fit: cover;
    border-radius: 20px;
}

.position-one .title {
    padding: 10px 0 0 10px;
    width: 200px;
    flex-wrap: wrap;
}

.position-one .title h2 {
    color: #B4B4B4;
    font-size: clamp(10px, 1.5vw, 12px);
}

.position-one .title h1 {
    color: #000000;
    font-size: clamp(14px, 2vw, 16px);
}

.position-one h3 {
    color: #B4B4B4;
    padding: 14px 0 0;
    font-size: clamp(10px, 1.5vw, 12px);
}

.position-one .price_btn {
    display: grid;
    text-align: center;
    height: 100%;
    align-items: end;
    padding: 0 0 25px;
}

.position-one .price_btn span {
    display: inline-block;
    margin-bottom: 10px;
    font-size: clamp(16px, 2.5vw, 20px);
}

.position-one .price_btn button {
    width: 30px;
    height: 30px;
    min-width: 0;
    flex-shrink: 1;
    display: flex;
    padding: 3px 0;
    gap: 15px;
    border-radius: 10px;
    border: 1px solid #8B9649;
}

.position-one .price_btn button:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.147);
}

.position-one .price_btn img {
    padding: 0 10px;
    width: 40px;
    height: 20px;
    object-fit: fill;
}

/* ========== backet bottom ========== */
.price_btn {
    margin-top: 15px;
}

.backet_bottom {
    position: fixed;
    display: block;
    bottom: 0;
    left: 23vw;
    z-index: 10;
    background-color: #fff;
    box-shadow: 5px 15px 25px rgba(0, 0, 0, 0.147);
    width: 55%;
    height: 300px;
    padding: 20px 60px;
}

.products,
.total {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #bbbbbb;
    padding: 10px 5px;
}

.promo form input {
    color: #919191;
    font-size: clamp(14px, 2.2vw, 18px);
}

.promo form input:focus {
    outline: none;
    border: none;
}

.promo button {
    color: #335527;
    font-size: clamp(14px, 2.2vw, 18px);
}

.promo button:hover {
    color: #335527;
}

.left {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.total h1 {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 700;
}

.total h2 {
    align-content: center;
}

.nav-btn {
    display: flex;
    justify-content: center;
    gap: 50%;
    padding: 20px 0px;
}

.nav-btn .order {
    color: #ffffff;
    background-color: #ACBC49;
    padding: 10px 40px;
    border-radius: 30px;
    transition: ease all 0.5s;
    font-size: clamp(18px, 3vw, 24px);
}

.nav-btn .back {
    transition: ease all 0.5s;
}

section.block {
    text-align: left;
}

.nav-btn .order:hover,
.back:hover {
    scale: calc(1.1);
}

.basket-mobail,
.btn-backet-btm,
.btn-backet-mobail {
    display: none;
}
.woocommerce-Price-amount {
    padding: 0px 0px 0px 18px;
}
footer {
    background: #fff;
    padding: 40px 20px 20px;
    margin: 30px 0;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    align-items: start;
}

.footer__logo img {
    max-width: 150px;
    height: auto;
}

.footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__contacts a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-size: clamp(14px, 2vw, 16px);
    transition: color 0.3s;
}

.footer__contacts a:hover {
    color: #ACBC49;
}

.footer__icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.footer__bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: #666;
    font-size: clamp(12px, 1.8vw, 14px);
}

.footer__bottom a {
    color: #666;
    text-decoration: none;
}

.footer__bottom a:hover {
    color: #ACBC49;
    text-decoration: underline;
}
.footer__left {
    display: flex;
    width: 60%;
    justify-content: space-between;
    align-items:center;
}
.product-variations {
    margin: 20px 0;
    padding: 15px 15px 5px;
    background: #f9f9f9;
    border-radius: 8px;
}
.woocommerce-Price-amount.amount:has(+ span[aria-hidden="true"] + .woocommerce-Price-amount.amount) + span[aria-hidden="true"],
.woocommerce-Price-amount.amount:has(+ span[aria-hidden="true"] + .woocommerce-Price-amount.amount) + span[aria-hidden="true"] + .woocommerce-Price-amount.amount,
.woocommerce-Price-amount.amount:first-child:has(~ .woocommerce-Price-amount.amount) ~ .woocommerce-Price-amount.amount,
.woocommerce-Price-amount.amount:first-child:has(~ .woocommerce-Price-amount.amount) ~ span[aria-hidden="true"],
.price .screen-reader-text {
    display: none !important;
}
.woocommerce-Price-amount {
    padding: 0 !important;  /* Убирает все отступы */
}
.variation-group {
    margin-bottom: 20px;
}

.variation-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.variation-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variation-button {
    padding: 10px 20px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
}

.variation-button:hover {
    border-color: #abbc3a;
    background: rgba(171, 188, 58, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.variation-button.selected {
    background: #abbc3a;
    border-color: #abbc3a;
    color: white;
    box-shadow: 0 4px 10px rgba(171, 188, 58, 0.3);
}

.variation-button:active {
    transform: translateY(0);
    box-shadow: none;
}

/* Для мобильных устройств */
@media (max-width: 480px) {
    .variation-button {
        padding: 8px 16px;
        font-size: 13px;
    }
}
/* Размытие фона при открытом модальном окне */
body.modal-open {
    overflow: hidden;
}

body.modal-open main,
body.modal-open header,
body.modal-open footer,
body.modal-open .backet_bottom {
    filter: blur(5px);
    transition: filter 0.3s ease;
    pointer-events: none;
}
/* Стили для сообщения об успешном заказе */
.success-message {
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: bounce 0.5s ease;
}

.success-message h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.order-number {
    font-size: 36px;
    font-weight: bold;
    color: #ACBC49;
    margin: 15px 0;
    padding: 10px 20px;
    background: white;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 2px 10px rgba(172, 188, 73, 0.2);
}

.order-status {
    color: #666;
    font-size: 16px;
    margin: 10px 0;
}

.thanks {
    color: #333;
    font-size: 18px;
    margin: 20px 0 25px;
}

.close-success-btn {
    background: #ACBC49;
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(172, 188, 73, 0.3);
}

.close-success-btn:hover {
    background: #9aab3d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(172, 188, 73, 0.4);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.error {
    background: #fff3f3;
    border: 2px solid #ff4444;
    color: #ff4444;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    font-size: 16px;
}

.callback {
    visibility: hidden;
    position: fixed;
    top: 15%;
    left: 27vw;
    width: 50%;
    height: auto;
    max-height: 80vh;
    z-index: 2000;
    border-radius: 20px;
    box-sizing: border-box;
    border: 1px solid #8B9649;
    background-color: #fff;
    display: flex;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.3s ease;
}

.callback[style*="visible"] {
    opacity: 1;
    transform: scale(1);
}
/* ========== МЕДИА-ЗАПРОСЫ ========== */
@media (max-width: 768px) {
    .footer__left {
        display: block;
    }
    .title p {
        width: 90%;
    }

     footer {
        padding: 30px 15px 15px;
        margin: 30px 0 80px;
    }
    
    .footer__container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer__bottom {
        margin: 10px auto 0;
        flex-direction: column;
        align-items: start !important;
    }
    .basket-mobail,
    .btn-backet-btm,
    .btn-backet-mobail {
        display: block;
    }
    
    .modal {
        padding: 0 50px 0 20px !important;
    }
    
    .modal h3 {
        font-size: clamp(18px, 3vw, 20px);
    }
    
    .modal h3+h3 {
        margin-top: 20px;
    }
    
    body {
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
        font-size: clamp(14px, 2vw, 16px);
    }
    
    section.block {
        text-align: left;
        width: 100%;
        font-size: clamp(24px, 4vw, 30px);
    }
    
    header {
        margin: 10px auto !important;
        max-width: 768px !important;
    }
    
    header,
    .nav-header {
        padding: 0 10px !important;
        max-width: 768px;
        width: 100% !important;
    }
    
    img.logo__mobail {
        display: block !important;
        max-width: 80px;
        width: 80px;
        max-height: 80px;
        height: 80px;
        object-fit: cover;
        object-position: center;
        flex-shrink: 1;
    }
    
    .call-btn {
        bottom: 10px;
        left: 15px;
    }
    
    .cards_card h4 {
        width: 90%;
        padding: 5px 0 0 0;
        font-size: clamp(10px, 2vw, 11px);
    }
    
    .card-one img {
        height: 150px;
    }
    
    .logo .header__logo {
        display: block !important;
    }
    .slider-multiple .arrow-right {
        right: -15px;
        top: 30%;
        height: 40px;
        max-width: 40px;
        pointer-events: none;
        opacity: 0.5;
        cursor: default;
    }
     .slider-single .arrow {
        display: none;
    }
    .arrow-right.slider-multiple {
        right: -15px;
        top: 30%;
        height: 40px;
        max-width: 40px;
    }
    .arrow.slider-single{
        display: none;
    }
    .container {
        margin-top: 0 !important;
        overflow-x: hidden;
        justify-content: center;
        justify-items: center;
        text-align: center;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box;
    }
    
    header .info {
        display: none !important;
    }
    
    .header__burger {
        display: block !important;
        box-sizing: border-box;
        width: 55px;
        height: 55px;
        padding: 8px;
    }
    .btn-backet {
        display: none !important;
    }
    .modal__close {
        padding: 8px;
    }

    .btn-backet-mobail {
        display: block !important;
        position: fixed !important;
        right: 10px !important;
        bottom: 20px !important;
        padding: 15px 25px !important;
        z-index: 1000 !important;
        border-radius: 50px !important;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2) !important;
        transition: all 0.3s ease !important;
        background-color: #ACBC49;
        margin-left: 40px;
        white-space: nowrap;
        color: #ffffff;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
    }
    
    .btn-backet-mobail > * {
        color: #ffffff;
        align-items: center;
        align-content: center;
        font-size: clamp(18px, 3vw, 21px);
    }
    
    .cart-count {
        top: -10px !important;
        right: 0px !important;
    }
    
    .nav-menu {
        display: inline-flex;
        justify-content: left;
        align-items: left;
        flex-wrap: nowrap;
        padding: 10px 0;
        margin: 10px 0 0;
        list-style: none;
        height: auto !important;
        width: 100% !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        scroll-behavior: smooth !important;
    }
    
    .nav ul {
        white-space: nowrap;
        justify-content: left;
        gap: 5px;
        padding: 0 !important;
    }
    
    .slider {
        padding: 0 20px;
        position: relative;
        max-width: 100%;
        width: 100%;
        margin: 0 10px;
    }
    
    .container section+section {
        margin-top: 20px;
        width: 100%;
    }
    
    .slider-wrapper {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
    }
    
    .cards {
        display: flex;
        gap: 15px;
        padding: 10px 0;
        width: max-content;
    }
    
    .cards .cards_card {
        width: 150px;
        height: 200px;
        flex-shrink: 0;
        border-radius: 20px;
        overflow: hidden;
    }
    
    .cards .cards_card img {
        object-fit: cover;
        flex-shrink: 0;
        position: relative;
        display: block;
    }
    
    .cards_card h3 {
        position: absolute;
        bottom: 60px;
        left: 8px;
        color: #fff;
        font-size: clamp(16px, 2.8vw, 20px);
    }
    
    .cards_card span {
        position: absolute;
        text-wrap: wrap;
        height: 45px;
        width: 130px;
        bottom: 10px;
        overflow: hidden;
        left: 8px;
        color: #fff;
        font-size: clamp(10px, 1.8vw, 11px);
    }
    
    .cards2 {
        display: flex;
        flex-wrap: nowrap;           /* Один ряд */
        overflow-x: auto;             /* Горизонтальный скролл */
        gap: 30px;
        padding: 10px 5px;
        width: 100%;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
    }
    
    .cards2::-webkit-scrollbar {
        display: none;
    }
    
    .card-one {
        flex: 0 0 auto;
        width: 200px;
        max-width: 200px;
        display: block;
        text-align: left;
        margin-right: 5px;
    }
    
    .card-one img {
        width: 100%;
        height: auto;
        aspect-ratio: 4/3;
        object-fit: cover;
    }
    
    .cards2::after {
        content: '';
        flex: 0 0 auto;
        width: 10px;
        height: 1px;
    }
    
    .bottom {
        display: grid !important;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
        gap: 30px;
        align-items: center;
    }
    
    .price-new-main {
        grid-column: 1 / 2;
        grid-row: 1;
        font-size: clamp(13px, 2.2vw, 15px);
    }
    
    .price {
        font-size: clamp(13px, 2.2vw, 15px);
    }
    
    .price-old-main {
        grid-column: 2 / 3;
        grid-row: 1;
        text-wrap: nowrap !important;
        font-size: clamp(10px, 1.8vw, 12px);
    }
    
    .card-one .bottom span {
        gap: 10px !important;
        margin-top: 2px;
        font-size: clamp(13px, 2.2vw, 15px);
    }
    
    .bottom button {
        grid-column: 1 / -1;
        grid-row: 2;
        padding: 8px 20px !important;
        width: fit-content;
        justify-self: right;
        font-size: clamp(12px, 2vw, 14px);
    }
    
    .bottom h2 {
        font-size: clamp(10px, 1.8vw, 12px);
    }
    
    .action {
        width: 120px !important;
        height: 40px !important;
        left: 0px !important;
        font-size: clamp(16px, 3vw, 20px);
    }
    
    .action_new {
        width: 120px !important;
        height: 40px !important;
        left: 0px !important;
        font-size: clamp(14px, 2.5vw, 16px);
    }
    
    .cards img {
        width: 160px;
        height: 200px;
    }
    .block__header img {
        height: 7px;
    }
    
    .block__header h1 {
        white-space: normal;
        text-align: left;
        font-size: clamp(24px, 4.5vw, 30px);
    }
    .block__nav ul {
        display: flex;
        align-items: center;
        gap: 5px;
        padding: 5px 10px 5px 0;
        border-radius: 30px;
        white-space: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
        margin-bottom: 20px;
        font-size: clamp(16px, 3vw, 20px);
    }
    .block__cards {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
    
    .card-one {
        display: grid;
        grid-template-columns: 120px 1fr;  /* Левая колонка 120px для фото, правая для текста */
        grid-template-rows: auto auto auto; /* Три строки: заголовок, описание, цена+кнопка */
        gap: 8px 12px;
        width: 100%;
        max-width: 100%;
        padding: 10px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        box-sizing: border-box;
        align-items: start;
    }
    
    .card-one img {
        grid-column: 1 / 2;
        grid-row: 1 / 4;  /* Фото занимает всю высоту (все 3 строки) */
        width: 120px;
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
        align-self: start;
    }
    
    .card-one h3 {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        margin: 0;
        font-size: clamp(16px, 4vw, 18px);
        font-weight: 600;
        line-height: 1.2;
        white-space: normal;
        word-break: break-word;
    }
    
    .card-one p {
        grid-column: 2 / 3;
        grid-row: 2 / 3;
        margin: 0;
        font-size: clamp(12px, 3vw, 13px);
        color: #666;
        line-height: 1.3;
        white-space: normal;
        word-break: break-word;
        height: auto;
        min-height: 32px;
        overflow: visible;
    }
    
    .card-one .bottom {
        grid-column: 2 / 3;
        grid-row: 3 / 4;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 8px;
    }
    
    .card-one .bottom h2 {
        margin: 0;
        font-size: clamp(14px, 4vw, 16px);
        font-weight: 600;
        color: #8B9649;
        white-space: nowrap;
    }
    
    .card-one .bottom a {
        padding: 8px 16px;
        background-color: #ACBC49;
        color: white;
        border-radius: 20px;
        font-size: clamp(13px, 3.5vw, 14px);
        font-weight: 500;
        text-decoration: none;
        white-space: nowrap;
        transition: background-color 0.3s;
    }
    
    .card-one .bottom a:hover {
        background-color: #9aab3d;
    }
  
    
    .btn-backet-btm {
        display: block !important;
        position: fixed;
        bottom: 33px;
        right: 10px;
        z-index: 200;
        background-color: #ACBC49;
        padding: 10px 25px;
        border-radius: 50px;
        margin-left: 40px;
        white-space: nowrap;
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.245);
    }
    
    .btn-backet-btm .basket-btm {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        color: #fff;
    }
    
    .btn-backet-btm .basket-btm h1 {
        font-size: clamp(20px, 3.5vw, 24px);
        font-weight: 500;
    }
    
    .horizondSlider {
        animation: slideHorizontal 5s linear infinite;
    }
    
    .callback {
        visibility: hidden;
        position: fixed;
        top: 25%;
        left: 5%;
        width: 90%;
        height: auto;
        max-height: 80vh;
        z-index: 2000;
        border-radius: 20px;
        box-sizing: border-box;
        border: 1px solid #8B9649;
        background-color: #fff;
        display: flex;
        justify-content: center;
        padding: 20px;
        overflow-y: auto;
    }
    
    .callback__form {
        width: 100%;
    }
    
    .callback__form label[for="pickup"],
    .callback__form label[for="delivery"] {
        display: inline-block;
        padding: 10px 10px;
        margin: 0 20px 0 0;
        background: #f5f5f5;
        border-radius: 20px;
        cursor: pointer;
        color: #666;
        transition: all 0.3s;
        user-select: none;
        font-size: clamp(12px, 2vw, 14px);
    }
    
    .callback__form button {
        color: #ffffff;
        background-color: #ACBC49;
        padding: 10px 40px;
        margin-top: 20px;
        border-radius: 30px;
        font-size: clamp(16px, 3vw, 20px);
    }
    
    /* ========== BACKET MOBILE ========== */
    .backet {
        margin: 90px 0 100px;
    }
    
    .position-one {
        gap: 30px;
        padding: 10px 2px 0;
        width: 100%;
        position: relative;
        height: auto !important;
        display: flex;
        margin-bottom: 0;
    }
    
    .position-one .title h1,
    .position-one .price_btn h4 {
        left: 35%;
    }
    
    .quantity-control {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .quantity-control .custom-quantity-buttons {
        order: 1;
    }
    
    .quantity-control a {
        order: 2;
    }
    
    .img_title {
        gap: 5px;
    }
    
}

/* Основные стили корзины (вне медиа-запроса) */
.woocommerce-cart .backet {
    background: #ffffff;
    min-height: 100vh;
}

.cart-item-extras {
    margin-top: 5px;
}

.extra-item {
    font-size: 12px;
    color: #666;
    padding: 2px 0;
    border-bottom: 1px dashed #eee;
}

.extra-item:last-child {
    border-bottom: none;
}

/* Адаптивность корзины */
@media (max-width: 768px) {
    .container {

    }
    .woocommerce-cart-form {
        width: 100%;
    }
   .woocommerce-cart .position-one {
    display: grid;
    grid-template-columns: 100px 1fr;  /* Левая колонка фото, правая для текста */
    grid-template-rows: auto auto auto; /* Три строки: заголовок, описание, цена+кнопка */
    gap: 4px 12px;
    padding: 12px;
    width: 100%;
    height: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 12px;
    box-sizing: border-box;
    align-items: start;
}

.woocommerce-cart .img_title {
    grid-column: 1 / 2;
    grid-row: 1 / 4;  /* Фото занимает всю высоту (все 3 строки) */
    width: 50vw;
    height: 100px;
}

.woocommerce-cart .main_img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

.woocommerce-cart .title {
    display: block;
    text-wrap: nowrap;
}
.product-price {
    padding: 0px 0px 0px 20px;
}
.woocommerce-cart .title h1 {
    font-size: clamp(14px, 4vw, 16px);
    font-weight: 600;
    margin: 0 0 2px 0;
    line-height: 1.3;
    color: #333;
}

.woocommerce-cart .title h2 {
    font-size: clamp(10px, 2.8vw, 12px);
    color: #999;
    margin: 0;
    font-weight: 400;
}

.woocommerce-cart .price_btn {
    grid-column: 3 / 3;
    grid-row: 1 / 4;  /* Третья строка - цена и кнопка */
    display: block;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.woocommerce-cart .price_btn span {
    font-size: clamp(15px, 4.2vw, 17px);
    font-weight: 600;
    color: #8B9649;
    white-space: nowrap;
}

.woocommerce-cart .quantity-control {
    display: flex;
    align-items: end;
    gap: 8px;
}

.woocommerce-cart .custom-quantity-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.woocommerce-cart .custom-quantity-buttons button {
    width: 28px;
    height: 28px;
    border: 1px solid #8B9649;
    background: #fff;
    color: #8B9649;
    border-radius: 6px;
    font-size: clamp(16px, 2.8vw, 16px);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.woocommerce-cart .custom-quantity-buttons span {
    font-size: 15px;
    font-weight: 500;
    min-width: 25px;
    text-align: center;
    color: #333;
}

.woocommerce-cart .quantity-control a {
    color: #ff4444;
    font-size: clamp(11px, 2.8vw, 12px);
    text-decoration: none;
    margin-left: 5px;
}
.backet_bottom {
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 20px 20px;
}
.nav-btn {
    display: flex;
    justify-content: center;
    gap: 0%;
}
.modal-container {
    width: 90%;
    height: 75vh;
    margin: 2.5vh auto;
}
.modal-content {
    height: 90% !important;
}
}