
.header__logo-img {
    width: 180px !important;
    height: auto;
    display: block;
    max-width: 100%;

}

@media (max-width: 768px) {
    .header__logo-img {
        width: 100px;
    }
}
.range__inputs {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
}

.range__input {
    width: 100px;
    max-width: 100px;
    box-sizing: border-box;
}

[data-basket-btn="add"] .basket_btn_remove {
    display: none;
}

[data-basket-btn="remove"] .basket_btn_add {
    display: none;
}

.checkbox.checkbox-tagged input {
    display: none;
}

.checkbox.checkbox-tagged .checkbox__label {
    font-size: 14px;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
    margin: 4px 6px 4px 0;
    transition: border-color .3s;
    display: flex;
    align-items: center;
}

.checkbox.checkbox-tagged .checkbox__label:before, .checkbox.checkbox-tagged .checkbox__label:after {
    display: none;
}

.checkbox.checkbox-tagged:not(:last-child) {
    margin-bottom: 0;
}

.checkbox-tagged .checkbox__input:checked + .checkbox__label {
    color: #ffffff;
    background: #f04954;
}

@keyframes fadeIn {
    from {
        opacity: 0; /* Начальная прозрачность (невидимый) */
        transform: translateY(20px); /* Небольшое смещение вниз */
        /*transform: scale(0.95); /* Альтернатива: небольшое уменьшение размера */
    }
    to {
        opacity: 1; /* Конечная прозрачность (видимый) */
        transform: translateY(0); /* Возвращение в исходное положение */
        /*transform: scale(1); /* Альтернатива: исходный размер */
    }
}

#catalog_selected_items .catalog-content__filters-item, .checkbox.checkbox-tagged {
    animation: fadeIn 0.9s ease-out forwards;
}

.card {
    /* Ваши основные стили для карточки товара (ширина, отступы, тени и т.д.) */
    /* ... */

    /* Применяем анимацию при появлении */
    animation: fadeIn 0.9s ease-out forwards;
    /*
    * fadeIn - название анимации
    * 0.5s - длительность анимации
    * ease-out - функция сглаживания (скорость)
    * forwards - сохраняет конечное состояние анимации (opacity: 1, transform: translateY(0))
    */
}

[data-basket-btn="remove"].cart-btn {
    color: #fff;
}

[data-basket-btn="remove"].cart-btn > :after {
    filter: invert(1);
}

[data-basket-btn="remove"].cart-btn:before,
.active.cart-btn:before,
.cart-btn:active:before,
.cart-btn:hover:before {
    opacity: 1;
}


.checkout-grid-container {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
    padding-top: 15px;
}

* { box-sizing: border-box; }

.checkout-wrapper {
    max-width: 1300px;
    margin: 40px auto;
    background: #fff;
    padding: 50px 60px;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

@media (max-width: 1200px) {
    .checkout-wrapper {
        margin: 20px;
        padding: 30px;
    }
}

h2.checkout-title {
    font-size: 28px;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
    font-weight: 700;
}

.form-grid-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    column-gap: 40px;
    row-gap: 30px;
    align-items: start;
}

.grid-label {
    text-align: right;
    padding-top: 12px;
    font-weight: 600;
    font-size: 15px;
    color: #222;
}

.grid-input-area {
    width: 100%;
    position: relative;
}

.required { color: #EA5A5A; font-weight: bold; }

.modern-input, .modern-select, .modern-textarea {
    width: 100%;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    outline: none;
    transition: all 0.2s;
    color: #333;
}

.modern-input:focus, .modern-textarea:focus {
    border-color: #b1896b;
    box-shadow: 0 0 0 3px rgba(234, 167, 90, 0.1);
}

.modern-textarea {
    height: 100px;
    padding-top: 12px;
    resize: vertical;
}

.modern-input[readonly] {
    background-color: #f2f2f2;
    color: #666;
    border-color: #e0e0e0;
    cursor: default;
}
.select-arrow-style {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    cursor: pointer;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

.select-arrow-style:focus {
    border-color: #b1896b;
}
.payment-pulse {
    border: 1px solid #b1896b;
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(234, 150, 90, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(234, 90, 90, 0); }
    100% { box-shadow: 0 0 0 0 rgba(234, 90, 90, 0); }
}

.row-group { display: flex; gap: 20px; width: 100%; }
.col-phone { flex: 0 0 300px; }
.col-auto { flex-grow: 1; }

.slide-block {
    max-height: 5000px;
    opacity: 1;
    overflow: visible;
    transition: all 0.5s ease-in-out;
}
.slide-block.closed {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0; padding: 0;
}
.custom-check-label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    user-select: none;
    margin-right: 20px;
}
.custom-check-input {
    appearance: none;
    width: 20px; height: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
    background: #fff;
    flex-shrink: 0;
    cursor: pointer;
    position: relative;
    transition: 0.2s;
}
.custom-check-input:checked {
    background-color: #b1896b;
    border-color: #b1896b;
}
.custom-check-input:checked::after {
    content: '';
    position: absolute; left: 6px; top: 2px;
    width: 6px; height: 11px;
    border: solid white; border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.radio-group-line { display: flex; gap: 30px; margin-bottom: 15px; }

.address-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 15px;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 50px;
    margin-top: 10px;
}

.checkout-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    background: #fafafa;
    padding: 25px 30px;
    border-radius: 8px;
}
.footer-btn-back {
    background: #fff; color: #555;
    border: 1px solid #ddd;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s;
}
.footer-btn-back:hover { background: #f0f0f0; }

.footer-middle {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 40px;
    font-size: 14px;
    line-height: 1.5; color: #555;
}
.footer-middle span { color: #000; font-weight: 700; font-size: 15px; margin-left: 8px;}

.footer-right { display: flex; align-items: center; gap: 20px; }
.total-price { font-size: 22px; font-weight: 800; white-space: nowrap; margin-right: 10px; }

.pay-btn {
    background: #EA5A5A; color: #fff; border: none;
    height: 48px; padding: 0 40px;
    border-radius: 6px; font-weight: 700; font-size: 16px;
    cursor: pointer; transition: background 0.2s;
    box-shadow: 0 4px 10px rgba(234, 90, 90, 0.3);
}
.pay-btn:hover { background: #d64545; }

.agreement-footer {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}
.agreement-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: default;
}
.agreement-label span {
    font-size: 12px;
    color: #999;
    line-height: 1.2;
}
.agreement-checkbox {
    accent-color: #999;
    cursor: not-allowed;
    width: 16px;
    height: 16px;
    margin: 0;
}

@media (max-width: 992px) {
    .form-grid-container { grid-template-columns: 1fr; gap: 10px; }
    .grid-label { text-align: left; padding-top: 0; margin-bottom: 5px; }
    .row-group { flex-direction: column; gap: 15px; }
    .col-phone { flex: auto; }
    .address-details { grid-template-columns: 1fr 1fr; }
    .options-grid { grid-template-columns: 1fr; }

    .checkout-footer { flex-direction: column-reverse; padding: 20px; }
    .footer-middle { align-items: space-between; padding-right: 0; margin-bottom: 20px; border-bottom: 1px dashed #ddd; padding-bottom: 15px; width: 100%;}
    .footer-right { flex-direction: column; width: 100%; gap: 15px;}
    .footer-right select, .footer-right button { width: 100%; }
    .footer-btn-back { width: 100%; text-align: center;}
    .agreement-footer { justify-content: center; text-align: center; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

#postcards_list {
    width: 100%;
}

.postcard-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px dashed #eee;
    width: 100%;
    animation: fadeIn 0.4s ease;
}

.postcard-label {
    width: 140px;
    flex-shrink: 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    text-align: left;
    padding-top: 0;
}

.postcard-image-placeholder {
    width: 150px;
    height: 120px;
    flex-shrink: 0;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.postcard-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.postcard-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.postcard-content textarea {
    width: 100%;
    height: 120px !important;
    resize: none;
}

.postcard-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.postcard-content textarea {
    width: 100%;
    resize: vertical;
}

.btn-add-postcard {
    background-color: #5cb85c;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    transition: 0.2s;
    display: inline-block;
}
.btn-add-postcard:hover { background-color: #4cae4c; }

.btn-remove-postcard {
    background-color: #d9534f;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}
.btn-remove-postcard:hover { background-color: #c9302c; }

@media (max-width: 768px) {
    .postcard-row {
        flex-direction: column;
        gap: 15px;
    }
    .postcard-label {
        width: 100%;
        margin-bottom: 5px;
        text-align: left;
    }
    .postcard-image-placeholder {
        width: 100%;
        max-width: 150px;
        height: 150px;
    }
    .postcard-content {
        width: 100%;
        align-items: stretch;
    }
}

@media (max-width: 768px) {

    .checkout-wrapper {
        padding: 20px 15px;
    }

    h2.checkout-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .row-group {
        flex-direction: column;
        align-items: stretch !important;
        gap: 10px;
    }

    .row-group > div {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        text-align: left;
    }

    .row-group > div:nth-child(2) {
        font-size: 13px;
        color: #888;
        font-weight: 500;
        margin-top: 5px;
        margin-bottom: -5px;
        display: block;
    }

    .row-group > div:last-child {
        margin-top: 5px;
        font-size: 12px;
        line-height: 1.4;
    }

    .form-grid-container {
        row-gap: 20px;
    }
}

.main-advantages .wrapper {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
    align-items: center;
}

.main-advantages__item {
    display: flex;
    align-items: center;
    width: auto;
    margin: 0;
}

.main-advantages__icon {
    font-size: 30px;
    color: #e1b899;
    margin-right: 15px;
    min-width: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.main-advantages__item-text {
    font-size: 14px;
    line-height: 1.35;
    color: #333;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .main-advantages .wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .main-advantages .wrapper {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .main-advantages__item {
        border-bottom: 1px solid #f5f5f5;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    .main-advantages__item:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

.contacts-section {
    width: 100%;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: transparent;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.map-wrapper {
    width: 100%;
    height: 400px;
    background-color: #f0f0f0;
    margin-bottom: 40px;
    overflow: hidden;
    border-radius: 8px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(127.34deg, #764f32 5.92%, #e1b899 101.29%);
}

.card-title {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}


.card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(127.34deg, #764f32 5.92%, #e1b899 101.29%);
}

.company-name {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 0.95rem;
    color: #555;
}

.details-list li span {
    font-weight: 600;
    color: #333;
}

.address-block {
    font-style: normal;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #e0e0e0;
}
.contact-link {
    text-decoration: none;
    color: #333;
    transition: opacity 0.3s ease, color 0.3s ease;
    font-weight: 500;
}

.contact-link:hover {
    opacity: 0.7;
}

.email-link,
.phone-link {
    font-weight: 700;
    color: #764f32;
    display: inline-block;
    text-decoration: none;
}


.email-link:hover,
.phone-link:hover {
    color: #e1b899;
}

.phone-group {
    margin-bottom: 15px;
}

.phone-group .label {
    display: block;
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 2px;
}

.phone-link {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .map-wrapper {
        height: 300px;
    }

    .info-card {
        padding: 20px;
    }
}

.legal-page-wrapper {
    background-color: #fffbfb;
    padding: 40px 0;
    min-height: 600px;
}

.legal-document {
    background: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    max-width: 960px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

.legal-document h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
    line-height: 1.2;
}

.legal-document .date {
    font-size: 14px;
    color: #888;
    margin-bottom: 40px;
    display: block;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.legal-document h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #222;
    position: relative;
    padding-left: 15px;
}

.legal-document h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(127.34deg, #764f32 5.92%, #e1b899 101.29%);
    border-radius: 2px;
}

.legal-document p {
    margin-bottom: 15px;
    text-align: justify;
}

.legal-document ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.legal-document li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .legal-document {
        padding: 20px;
    }
    .legal-document h1 {
        font-size: 24px;
    }
}
.address-block {
    display: block;
    font-style: normal;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px dashed #e0e0e0;
}


.address-block p {
    margin-bottom: 5px;
}
.info-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(242, 82, 93, 0.08);
    position: relative;
    height: 100%;
}



.sticky-cart-node {
    width: 0 !important;
    height: 0 !important;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative !important;
}

.sticky-cart-node.is-visible {
    opacity: 1;
    visibility: visible;
    overflow: visible;

    width: 50px !important;
    height: 50px !important;
    position: relative !important;
    margin: -10px 0 -10px 20px !important;
    background: transparent !important;
    border: none !important;
}

.sticky-cart-node .header__buttons-item__link {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    background-position: center !important;
    background-repeat: no-repeat;
    background-size: 26px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sticky-cart-node .cart-items-count {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    margin: 0 !important;
    z-index: 15;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.info-card {
    background: #fff;
}

.card-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
}

.card-title {
    font-size: 26px;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.2;
}

.custom-details {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 15px;
    background: #fff;
}

.custom-details > summary {
    list-style: none !important;
    list-style-type: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 20px !important;
    cursor: pointer;
    background: none !important;
    outline: none !important;
}

.custom-details > summary::after,
.custom-details > summary::before {
    content: none !important;
    display: none !important;
    background: none !important;
}

.custom-details > summary::-webkit-details-marker {
    display: none !important;
}

.faq-text {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.faq-icon {
    position: relative;
    display: block;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 2px;
    height: 14px;
    background-color: #333;
    transition: transform 0.3s ease;
}

.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 2px;
    background-color: #333;
}

.custom-details[open] .faq-icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

.details-content {
    padding: 0 20px 20px 20px;
    color: #555;
    line-height: 1.5;
    border-top: 1px solid transparent;
}

.whatsapp-wrapper {
    margin-top: 10px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    transition: opacity 0.3s;
}

.whatsapp-btn:hover {
    opacity: 0.8;
    color: #25D366;
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 20px;
    }

    .map-wrapper #wrap_map {
        height: 300px !important;
    }

    .card-title {
        font-size: 22px;
    }

    .whatsapp-btn {
        font-size: 18px;
    }

    .custom-details > summary {
        padding: 12px 15px !important;
        font-size: 15px;
    }
}

.delivery-page-wrapper {
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.delivery-page-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.delivery-hero {
    position: relative;
    width: 100%;
    height: 350px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    overflow: hidden;
}


.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.delivery-hero h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.content-header {
    margin-bottom: 30px;
}

.delivery-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 10px 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.delivery-title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.delivery-accordion {
    border-top: 1px solid #e5e5e5;
    margin-bottom: 80px;
}

.accordion-item {
    border-bottom: 1px solid #e5e5e5;
    background: #fff;
}

.accordion-item > summary {
    list-style: none !important;
    list-style-type: none !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 25px 0 !important;
    cursor: pointer;
    background: none !important;
    outline: none !important;
    position: relative !important;
}

.accordion-item > summary::-webkit-details-marker,
.accordion-item > summary::before,
.accordion-item > summary::after {
    display: none !important;
    content: none !important;
}

.acc-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.acc-body {
    padding: 0 0 25px 0;
    color: #555;
    line-height: 1.6;
    font-size: 16px;
}

.acc-body p {
    margin: 0;
}

.acc-icon {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-left: 20px;
}

.acc-icon::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 2px; height: 100%;
    background-color: #333;
    transition: transform 0.3s ease;
}

.acc-icon::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 2px;
    background-color: #333;
}

.accordion-item[open] .acc-icon::before {
    transform: translate(-50%, -50%) rotate(90deg);
}

@media (max-width: 768px) {
    .delivery-hero {
        height: 250px;
    }
    .delivery-hero h1 {
        font-size: 32px;
    }
    .delivery-title {
        font-size: 28px;
    }
    .acc-text {
        font-size: 16px;
    }
}


.welcome-section {
    background-color: #5e402d;
    padding: 80px 0;
    color: #e4d4c1;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.welcome-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.welcome-col {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.welcome-title {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
    color: #e4d4c1;
}

.welcome-description p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

.small-text p {
    font-size: 16px;
    opacity: 0.9;
}

.welcome-logo img {
    max-width: 280px;
    height: auto;
    display: block;
    filter: invert(93%) sepia(13%) saturate(485%) hue-rotate(334deg) brightness(97%) contrast(88%);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}
.image-wrapper.vertical img {
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

@media (max-width: 992px) {
    .welcome-grid {
        grid-template-columns: 1fr 1fr;
    }
    .welcome-image-h-col {
        grid-column: span 2;
        flex-direction: row;
        align-items: center;
    }
    .welcome-image-h-col .image-wrapper {
        flex: 1;
    }
    .welcome-image-h-col .welcome-description {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .welcome-section {
        padding: 60px 0;
    }
    .welcome-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .welcome-title {
        font-size: 28px;
    }
    .welcome-description p {
        font-size: 16px;
    }
    .welcome-image-h-col {
        grid-column: span 1;
        flex-direction: column;
    }
    .welcome-logo {
        align-self: center;
    }
}

.about-us-section {
    padding: 100px 0 !important;
    background: #fff;
    color: #333;
    width: 100%;
    box-sizing: border-box;
}

.about-us-section .container {
    max-width: 1200px !important;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.about-us-section .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.about-us-section .about-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
    justify-content: center;
}

.about-us-section .image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-us-section .about-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
}

.about-us-section .about-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 42px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    color: #222 !important;
    margin-top: 0;
    margin-bottom: 30px !important;
}

.about-us-section .about-description p {
    font-size: 18px !important;
    line-height: 1.6 !important;
    color: #555 !important;
    margin-bottom: 50px !important;
}

.about-us-section .features-list {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.about-us-section .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.about-us-section .feature-icon {
    flex-shrink: 0;
    width: 40px;
    text-align: center;
    margin-top: 5px;
}

.about-us-section .feature-icon i {
    font-size: 32px !important;
    color: #c5a47e !important;
}

.about-us-section .feature-text h3 {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin: 0 0 12px 0 !important;
    color: #222 !important;
    line-height: 1.3 !important;
}

.about-us-section .feature-text p {
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #666 !important;
    margin: 0 !important;
}

@media (max-width: 1024px) {
    .about-us-section .about-grid {
        gap: 40px;
    }
    .about-us-section .about-title {
        font-size: 36px !important;
    }
}

@media (max-width: 900px) {
    .about-us-section .about-grid {
        grid-template-columns: 1fr;
    }
    .about-us-section .about-images {
        flex-direction: row;
    }
    .about-us-section .about-content {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .about-us-section .about-images {
        flex-direction: column;
    }
    .about-us-section .about-title {
        font-size: 30px !important;
    }
}
.main-advantages {
    padding: 15px 0;
    background: #fff;
    width: 100%;
}

.main-advantages .wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-advantages__item {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 12px;
}

.main-advantages__icon {
    font-size: 24px;
    color: #c5a47e;
    flex-shrink: 0;
}

.main-advantages__item-text {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.main-advantages__item-text small {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #888;
    margin-top: 3px;
}

/*@media (max-width: 768px) {
    .main-advantages {
        padding: 10px 0;
    }

    .main-advantages .wrapper {
        flex-wrap: nowrap;
        gap: 5px;
        align-items: flex-start;
        justify-content: space-between;
        padding: 0 5px;
    }

    .main-advantages__item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
        flex: 1;
        width: 33%;
        min-width: 0;
    }

    .main-advantages__icon {
        font-size: 20px;
        margin-bottom: 2px;
    }

    .main-advantages__item-text {
        font-size: 10px;
        line-height: 1.1;
        word-wrap: break-word;
    }

    .main-advantages__item-text small {
        font-size: 9px;
        margin-top: 2px;
    }
}*/


.main-banner--2 {
    position: relative;
    width: 100%;

    height: 350px;
    overflow: hidden;
    margin-bottom: 40px;
}

.main-banner--2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.main-banner__link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

@media (max-width: 768px) {
    .main-banner--2 {
        height: 180px;
    }
}

.main-delivery__list-item-text {
    display: none;
}

.main-delivery__list-item.active .main-delivery__list-item-text {
    display: block;
}

.main-delivery__list-item-title {
    cursor: pointer;
    user-select: none;
}

.header__catalog.menu-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 15px !important;
    padding: 20px 5px !important;
    width: 100% !important;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.header__catalog.menu-grid::-webkit-scrollbar {
    display: none;
}

.menu-grid__item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    min-width: 160px !important;
    width: 160px !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    border: none !important;
    text-decoration: none !important;
    background-color: #fff0e3 !important;
    border-radius: 12px !important;
    padding: 10px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    transition: all 0.2s ease !important;
}

.menu-grid__item:hover {
    background-color: #ffe4cc !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.12) !important;
}

.menu-grid__img {
    width: 100% !important;
    height: 100px !important;
    margin-bottom: 8px !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #fff !important;
    display: block !important;
}

.menu-grid__img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.menu-grid__title {
    font-size: 14px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    color: #333 !important;
    white-space: normal !important;
    font-weight: 600 !important;
    flex-grow: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

ul.mobile-cards-list {
    display: flex !important;
    flex-wrap: wrap !important;
    padding: 10px !important;
    gap: 10px !important;
    justify-content: space-between !important;
}

.mobile-card-item {
    width: calc(50% - 5px) !important;
    margin-bottom: 0 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #f9f9f9;
}

.mobile-card-item a {
    display: flex !important;
    flex-direction: column !important;
}

.mobile-card-img {
    width: 100% !important;
    height: 120px !important;
}

.mobile-card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.mobile-card-title {
    padding: 8px 5px !important;
    font-size: 13px !important;
    text-align: center !important;
    font-weight: 500 !important;
}


.success-icon-wrap.pending-icon {
    color: #ffb700 !important;
}

.footer-total-label.status-pending {
    color: #e6a500;
}

.success-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 30px;
    margin-bottom: 30px;
    border: 1px solid #eaeaea;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.success-body {
    padding: 40px;
    text-align: center;
}

.success-icon-wrap {
    color: #28a745;
    margin-bottom: 20px;
}
.success-icon-wrap svg {
    width: 64px;
    height: 64px;
}

.success-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #222;
}

.success-subtitle {
    font-size: 15px;
    color: #777;
    margin-bottom: 35px;
    line-height: 1.5;
}


.success-footer.footer-paid {
    justify-content: space-between;
}

.status-badge {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-badge.status-success {
    background-color: #e6fffa;
    color: #00a86b;
    border: 1px solid #b7ebd6;
}

.status-badge.status-info {
    background-color: #f0f7ff;
    color: #0066cc;
    border: 1px solid #cce5ff;
}

@media (max-width: 768px) {
    .status-badge {
        width: 100%;
        justify-content: center;
        margin-top: 10px;
    }
    .success-footer.footer-paid {
        flex-direction: column-reverse;
    }
}

.order-details {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 25px;
    text-align: left;
}

.order-details-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.order-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.order-row:last-child {
    border-bottom: none;
}

.order-item-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #222;
}

.order-item-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.order-item-count {
    font-size: 14px;
    color: #999;
}

.order-item-price {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #000;
    white-space: nowrap;
}

.order-info-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.info-group {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    border-bottom: 1px dashed #e0e0e0;
    padding-bottom: 5px;
}

.info-label {
    color: #666;
}
.info-value {
    font-weight: 600;
    color: #333;
}

.success-footer {
    background-color: #f9f9f9;
    border-top: 1px solid #eee;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-clean-back {
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    font-size: 15px;
}

.btn-clean-back:hover {
    border-color: #bbb;
    background: #fdfdfd;
    color: #000;
}

.footer-total-label {
    font-weight: 700;
    font-size: 18px;
    color: #222;
}

.btn-brand-pay {
    background-color: #e76565;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-shadow: 0 4px 10px rgba(231, 101, 101, 0.3);
    transition: all 0.2s;
}

.btn-brand-pay:hover {
    background-color: #d15050;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .success-body {
        padding: 20px 15px;
    }

    .success-footer {
        flex-direction: column-reverse;
        gap: 15px;
        padding: 20px;
    }

    .btn-clean-back, .btn-brand-pay {
        width: 100%;
        text-align: center;
        display: block;
    }

    .footer-total-label {
        display: none;
    }

    .order-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .order-item-right {
        width: 100%;
        justify-content: space-between;
    }
}


.card__badges-stack {
    position: absolute;
    top: 10px;
    right: -15px;
    z-index: 20;

    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
    pointer-events: none;
}

.badge-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border-radius: 20px;

    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    box-shadow: none;
}
.badge-hit   { background-color: #ff4757; }
.badge-new   { background-color: #2ed573; }
.badge-spicy { background-color: rgba(217, 83, 78, 0.75); }
.badge-sale  { background-color: #1e90ff; }
.badge-rec   { background-color: #fa853d; }


.header-inline-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.header-inline-wrapper .inner__title {
    margin: 0;
    line-height: 1.1;
    width: auto;
    margin-right: 15px;
}

.subcat-inline-card {
    display: inline-flex;
    align-items: center;
    background-color: #FFF0E5;
    border-radius: 50px;
    text-decoration: none;
    padding: 5px 15px 5px 5px;
    transition: transform 0.2s, background-color 0.2s;
    margin-right: 0;
}

.subcat-inline-card:hover {
    background-color: #ffe0cc;
    transform: translateY(-2px);
}

.subcat-inline-card__icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;

    background-color: #d4ac8d;
    color: #ffffff;
    border-radius: 50%;
    margin-right: 10px;

    font-size: 18px;
    line-height: 1;
    flex-shrink: 0;
}

.modifier-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.modifier-group-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #333;
}

.modifier-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    user-select: none;
    transition: opacity 0.2s;
}

.modifier-item:hover {
    opacity: 0.8;
}

.modifier-real-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.modifier-visual-input {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 12px;
    border: 1px solid #D1D1D1;
    border-radius: 50%;
    background-color: #fff;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.modifier-real-input:checked ~ .modifier-visual-input {
    background-color: #C19A6B;
    border-color: #C19A6B;
}

.modifier-real-input:checked ~ .modifier-visual-input::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
}

.modifier-name {
    flex-grow: 1;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.modifier-price {
    font-weight: 700;
    font-size: 13px;
    color: #000;
    margin-left: 10px;
}

.modifier-price.price-0,
.modifier-price.price- {
    display: none;
}

.product__tabs-content-page.active .product__tabs-content-cont .product__about p {
    font-family: 'Montserrat', 'Open Sans', sans-serif !important;
    font-size: 20px !important;
    line-height: 2.2 !important;
    color: #333333 !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    word-spacing: 5px !important;
    text-transform: capitalize !important;
    margin: 10px 0 !important;
    border: none !important;
    background: transparent !important;
}

.product__tabs-content-page.active .product__tabs-content-cont .product__about p::before {
    content: "• " !important;
    color: #333333 !important;
    font-weight: bold !important;
    font-size: 22px !important;
}
.scroll-top {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.scroll-top.show {
    opacity: 1;
    pointer-events: auto;
}

.main-banner--2::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    /* Тот же персиковый градиент: от плотного цвета слева к прозрачному справа */
    background: linear-gradient(to right, rgba(246, 208, 185, 0.9) 0%, rgba(246, 208, 185, 0) 75%);

    z-index: 2;
    transition: background 0.5s ease;
}







/* Контейнер */
.promotions__block-cont {
    position: relative;
    width: 100%;
    height: 172px;
    overflow: hidden;
    border-radius: 10px;
}

/* Обертка picture */
.promotions__block-img {
    display: block;
    width: 100%;
    height: 100%;
}

/* Сама картинка */
.promotions__block-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    display: block;
    z-index: 1; /* Картинка на нижнем слое */
}

/* ГРАДИЕНТНЫЙ ОВЕРЛЕЙ */
.promotions__block-cont::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Легкий градиент слева направо: от персикового к прозрачному */
    background: linear-gradient(to right, rgba(246, 208, 185, 0.9) 0%, rgba(246, 208, 185, 0) 70%);
    z-index: 2; /* Оверлей поверх картинки */
    pointer-events: none; /* Чтобы не мешал кликам, если будут ссылки */
}

/* Слайдер "Наша миссия" - показ по 1 карточке на экране */
.main-mission__cards.swiper-container {
    max-width: 600px;
    margin: 0 auto;
}

@media screen and (max-width: 767px) {
    .main-mission__cards.swiper-container {
        max-width: 100%;
    }
}

/* Фикс позиционирования стрелок внутри паддинга, чтобы они не обрезались из-за overflow: hidden */
.main-mission__cards .swiper-button-prev {
    left: 5px !important;
}

.main-mission__cards .swiper-button-next {
    right: 5px !important;
}
