@charset "UTF-8"; .header-category .container .open-panel-btn, .header-category .container .open-panel-btn-mobail {
    /* padding: 12px 24px; */
    background-color: none!important;
    color: black;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    /* margin-bottom: 20px; */
    transition: background-color 0.3s;
}

.open-panel-btn .icon, .open-panel-btn-mobail .icon {
    font-size: 28px;
    filter: none;
    width: 20%;
}

button.open-panel-btn ,button.open-panel-btn-mobail {
    background: none!important;
}

button.open-panel-btn {
    font-size: 0.7rem;
    display: flex;
    max-width: 140px;
    height: 100%;
    line-height: normal;
    padding: 0;
    margin: 0;
    flex-direction: column;
    background-color: #2eb1a8 !important;
    align-items: center;
}

.open-panel-btn img {
    width: 100%;
    max-width: 30px;
}

.open-panel-btn:hover, .open-panel-btn-mobail:hover {
    color: #03A9F4;
    transition: background-color 0.3s;
}

/* СТИЛИ ОВЕРЛЕЯ (ИСПРАВЛЕННЫЙ КЛАСС .overley-any) */
.overley-any {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.overley-any.active {
    display: block;
    opacity: 1;
}

/* СТИЛИ ПАНЕЛИ КАТАЛОГА */
.shop-name-any {
    position: fixed;
    top: 0;
    left: -95%;
    width: 95%;
    max-width: 1140px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 15px rgba(0,0,0,0.2);
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.shop-name-any.active {
    left: 0;
}

.panel-header {
    padding: 20px;
    background: #4a3637;
    background: radial-gradient(circle at center, #ffffff 0%, #2eb1a8 50%, #2eb1a8 100%);
    color: white;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    border-bottom: 1px solid #ddd;
    flex-shrink: 0;
}

.panel-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-right: 50px;
}

.panel-title a {
    color: white;
    border: none
}

.panel-title a:hover {
    color: beige
}

.close-panel-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.close-panel-btn:hover {
    background-color: rgba(255,255,255,0.2);
}

.categories-container {
    display: flex;
    flex: 1;
    /* overflow-y: auto; */
}

.categories-column {
    flex: 1;
    overflow-y: auto;
    border-right: 1px solid #eee;
    margin-top: 20px;
}

.subcategories-column {
    flex: 1;
    overflow-y: auto;
    margin-top: 20px;
}

.subcategories-column h3 {
    padding: 15px 20px 5px;
    margin: 0;
    font-size: 1em;
    font-family: 'Roboto', serif;
    letter-spacing: 1px;
    color: #007bff;
    border-bottom: 1px solid #eee;
}

.subcategories-column a {
    font-size: 14px;
    margin: 0;
    float: left;
    width: 50%;
}

.subcategories-column a:hover {
    border: none;
    color: #C52440;
}

#subcategoriesColumn a.category-item.level-2:last-child {
}

#subcategoriesColumn a.category-item.parent-title-link:first-child {
    width: 100%;
    letter-spacing: 1px;
    padding: 6px!important;
    border-radius: 0!important;
    background-color: #c1e7e5 !important;
    text-align: center;
}

.subcategories-column span {
    font-size: 14px;
    margin-left: 0;
    padding: 0;
    font-weight: 500;
    break-inside: avoid;
    display: inline-block;
    width: 100%;
    text-align: left;
    line-height: 22px;
}

.category-item {
    padding: 4px 10px 0;
    border-bottom: none;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    min-height: 20px;
    user-select: none;
    color: #333;
    text-decoration: none;
}

#categoriesColumn .category-item {
    margin-left: 35px;
    padding: 4px 10px 0;
    border-bottom: none;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    min-height: 40px;
    user-select: none;
    color: #333;
    text-decoration: none;
}

.category-item:hover a {
    background-color: #f8f9fa;
    text-decoration: none
}

.category-item img {
    margin: 0 15px 0 0
}

.category-item.active {
    background-color: #b0e1de;
    border-right: 4px solid #007bff;
    font-weight: normal;
}

.categories-container-conten-img {
    width: 100%;
    max-width: 400px
}

/* Контейнер для картинки */
#categories-content-img {
    min-height: 200px;
    /* Рекомендуется задать высоту, чтобы контент не прыгал */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px 0 60px 0;
}

.subcategory-item {
    padding: 0 20px!important;
    border-bottom: 1px solid #eee!important;
    min-height: 40px!important;
    display: flex!important;
    align-items: center!important;
    cursor: pointer!important;
    transition: background-color 0.2s!important;
    text-decoration: none!important;
    color: #333!important;
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: nowrap;
}

.subcategory-item:hover {
    background-color: #f8f9fa;
}

.category-image {
    width: 100%;
    max-width: 64px;
    object-fit: contain;
    /* ИЗМЕНЕНО: Отступ слева (после названия) */
    border-radius: 4px;
    margin: 0 5px;
}

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    padding: 40px;
    color: #666;
    text-align: center;
}

.empty-state-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* СТИЛИ СКРОЛЛБАРОВ */
.categories-column::-webkit-scrollbar, .subcategories-column::-webkit-scrollbar {
    width: 6px;
}

.categories-column::-webkit-scrollbar-track, .subcategories-column::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.categories-column::-webkit-scrollbar-thumb, .subcategories-column::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.categories-column::-webkit-scrollbar-thumb:hover, .subcategories-column::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.img-cat {
    width: 100%;
    padding: 20px
}

/*--checkout--*/
/* 1. Общие настройки контейнера */
#cont-shop-checkout {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    max-width: 1000px;
    margin: 20px auto;
    color: #333;
}

/* 2. Стилизация корзины */
.transformed-cart {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 25px;
    overflow: hidden;
    display: block;
}

/* Шапка */
.order-head {
    display: none !important;
}

/* Строка товара */
.order-item {
    display: flex !important;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px solid #f0f0f0;
    background: #fff;
    justify-content: space-evenly; /* Ваш стиль распределения */
}

/* Колонки */
.order-item-nom {
    display: none !important;
}

.order-item-img {
    width: 80px;
    text-align: center;
}

.order-item-img img {
    width: 100%;
    max-width: 100px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #eee;
}

/* ТУТ ИЗМЕНЕНИЯ: Блок названия и артикула */
.order-item-name {
    flex: 2;
    padding: 0 15px;
    max-width: 40%;
    display: flex;
    flex-direction: column; /* Ставит название и артикул друг под друга */
    text-align: left; /* Выравнивание текста по левому краю для красоты */
}

.order-item-name a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    display: block;
}

/* Новый стиль для артикула */
.order-item-art {
    display: block !important;
    font-size: 11px;
    color: #888;
    margin-top: 3px;
}

.order-item-price {
    width: 110px;
    font-weight: 600;
    text-align: right;
}

.order-item-cnt {
    width: 100px;
    text-align: center;
}

.order-item-cnt input {
    width: 45px;
    padding: 6px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.order-item-sum {
    width: 120px;
    font-weight: 700;
    text-align: right;
    padding-right: 10px;
}

.order-item-del {
    width: 80px; /* Немного увеличил ширину для слова */
    text-align: center;
    cursor: pointer;
}

/* Ваша кнопка "удалить" */
.order-item-del::after {
    content: "удалить";
    font-weight: bold;
    color: red;
    font-size: 12px;
    text-decoration: underline;
}

/* Футер корзины */
.order-table-footer {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #fdfdfd;
    border-top: 1px solid #eee;
}

.footer-btns {
    display: flex;
    gap: 10px;
}

.footer-summary {
    text-align: right;
    font-size: 18px;
    font-weight: 600;
}

.footer-summary b {
    font-size: 24px;
    color: #d93025;
    margin-left: 10px;
}

/* Кнопки */
#order-but-continue, #order-but-recalc {
    cursor: pointer;
    border-radius: 5px;
    transition: 0.2s;
    font-weight: 600;
    padding: 10px 15px;
}

#order-but-continue {
    background: #f1f1f1;
    border: 1px solid #ccc;
    color: #444;
}

#order-but-recalc {
    background: #444;
    border: none;
    color: #fff;
}

#order-but-recalc:hover {
    background: #000;
}

/* Адаптивность */
@media (max-width: 768px) {
    .order-item {
        display: flex;
        text-align: center;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .order-item-name {
        max-width: 100% !important;
        text-align: center;
        align-items: center;
    }

    .order-item > div {
        width: 100% !important;
        margin: 5px 0;
        padding: 0 !important;
        text-align: center;
    }

    .order-table-footer {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .footer-btns {
        width: 100%;
        flex-direction: column;
    }

    #order-but-continue, #order-but-recalc {
        width: 100%;
    }
}
/*--Доставки оплата--*/

/* Контейнеры для способов оплаты и доставки */
.order-methods-section {
    margin-top: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Две колонки на десктопе */
    gap: 20px;
}

.method-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
}

.method-card h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #222;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.method-card-title {
    font-weight: 700;
    color: #007bff;
    display: block;
    margin-bottom: 5px;
}

.method-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Контактные данные */
.contact-info-section {
    margin-top: 30px;
    background: #f9f9f9;
    border-radius: 8px;
    padding: 25px;
    border: 1px solid #eee;
}

.contact-info-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.order-field {
    margin-bottom: 15px;
}

.order-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.order-field input, .order-field textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box; /* Чтобы padding не раздувал ширину */
    font-size: 15px;
    transition: border-color 0.2s;
}

.order-field input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .order-methods-section {
        grid-template-columns: 1fr; /* Одна колонка на мобильных */
    }
}

/*---оплата ----*/

/* Контейнер итоговых сумм */
#total-sum {
    display: flex;
    justify-content: flex-end; /* Выравнивание к правому краю */
    flex-wrap: wrap;
    gap: 30px;
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

/* Индивидуальные блоки (Налог, Скидка, Итог) */
.total-block {
    text-align: right;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.total-block h4 {
    margin: 0 0 5px 0;
    font-size: 13px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Значения сумм */
.total-val {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

/* Особый стиль для финальной суммы к оплате */
.total-pay-block .total-val {
    font-size: 26px;
    color: #d93025; /* Красный акцент на цене */
    font-weight: 800;
}

.total-block strike {
    color: #999;
    font-size: 14px;
    margin-right: 5px;
}

/* Адаптивность для телефонов */
@media (max-width: 768px) {
    #total-sum {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    .total-block {
        text-align: center;
    }
}