/* ===== СТИЛИ ДЛЯ КАСТОМНОЙ ШАПКИ (.custom-header) ===== */

/* Основные стили шапки */
.custom-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-color: #ece3d2;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.custom-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

/* Логотип */
.custom-header .logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    color: #000000 !important;
    letter-spacing: -0.5px;
}

.custom-header .logo span {
    color: #e74c3c !important;
    font-style: italic;
}

/* Кнопки меню */
.custom-header .nav a,
.custom-header .catalog-trigger,
.custom-header .nav button {
    color: #000000 !important;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
}

.custom-header .nav a:hover,
.custom-header .catalog-trigger:hover {
    color: #e74c3c !important;
}

/* Иконки */
.custom-header .user-actions a,
.custom-header .user-actions i,
.custom-header .mobile-menu-btn,
.custom-header .mobile-menu-btn i {
    color: #000000 !important;
}

.custom-header .user-actions a:hover,
.custom-header .user-actions a:hover i {
    color: #e74c3c !important;
}

/* Мобильное меню */
.custom-header .mobile-nav a,
.custom-header .mobile-nav button,
.custom-header .mobile-submenu a {
    color: #000000 !important;
    text-decoration: none;
}

/* Выпадающее меню */
.custom-header .catalog-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fcfbf9;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    z-index: 1001;
    border: 1px solid #ece3d2;
    border-top: none;
}

.custom-header .catalog-dropdown a {
    display: block;
    padding: 12px 20px;
    color: #1e1e1e;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.custom-header .catalog-dropdown a:hover {
    background: #ece3d2;
    color: #e74c3c;
}

/* Адаптив */
@media (max-width: 768px) {
    .custom-header {
        padding: 15px 0;
    }
    .custom-header .nav {
        display: none;
    }
    .custom-header .mobile-menu-btn {
        display: block;
    }
}

@media (min-width: 769px) {
    .custom-header .mobile-menu-btn {
        display: none;
    }
    .custom-header .mobile-nav {
        display: none !important;
    }
}

/* ===== СТИЛИ ДЛЯ КНОПОК ТОВАРА ===== */
.t-store__prod-popup__col-right .t-product__option-variants_buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.t-store__prod-popup__col-right .t-product__option-item {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.t-store__prod-popup__col-right .t-product__option-item:not(.t-product__option-item_active) .t-product__option-title_buttons {
    background: #e74c3c !important;
    color: #ffffff !important;
    border: 1px solid #e74c3c !important;
    padding: 8px 24px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    display: inline-block !important;
}

.t-store__prod-popup__col-right .t-product__option-item_active .t-product__option-title_buttons {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
    padding: 8px 24px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    display: inline-block !important;
}

.t-store__prod-popup__col-right .t-product__option-item:not(.t-product__option-item_active) .t-product__option-title_buttons:hover {
    background: #c0392b !important;
    border-color: #c0392b !important;
}

.t-store__prod-popup__col-right .t-product__option-select {
    width: 100% !important;
    padding: 10px 14px !important;
    border-radius: 6px !important;
    border: 1px solid #ddd !important;
    background: #fff !important;
    font-size: 14px !important;
    margin-bottom: 15px !important;
    cursor: pointer !important;
}

.t-store__prod-popup__col-right .t-product__option-title {
    font-size: 11px !important;
    font-weight: 600 !important;
    color: #999 !important;
    text-transform: uppercase !important;
    margin-top: 12px !important;
    margin-bottom: 6px !important;
}

.t-store__prod-popup__col-right .t-store__prod-popup__btn {
    background: #e74c3c !important;
    color: #fff !important;
    border: 1px solid #e74c3c !important;
    border-radius: 6px !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    width: 100% !important;
    margin-top: 15px !important;
    cursor: pointer !important;
}

.t-store__prod-popup__col-right .t-store__prod-popup__btn:hover {
    background: #c0392b !important;
    border-color: #c0392b !important;
}

.t-product__option-checkmark_buttons {
    display: none !important;
}

.custom-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}