/*
Theme Name: Prosto Sedi
Theme URI: https://prosto-sedi.ru
Author: Your Name
Description: Тема для интернет-магазина на WooCommerce со шрифтом Montserrat
Version: 1.0
Text Domain: prosto-sedi
*/

/* Подключаем шрифт Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* Базовые стили с Montserrat */
:root {
    --primary-color: #e91e63;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --border-color: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-weight: 400;
    color: var(--text-color);
    background-color: #f8f9fa;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Типографика с Montserrat */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-weight: 700;
    font-size: 2.5rem;
}

h2 {
    font-weight: 600;
    font-size: 2rem;
}

h3 {
    font-weight: 600;
    font-size: 1.75rem;
}

h4 {
    font-weight: 600;
    font-size: 1.5rem;
}

h5 {
    font-weight: 500;
    font-size: 1.25rem;
}

h6 {
    font-weight: 500;
    font-size: 1rem;
}

p {
    margin-bottom: 1rem;
    font-weight: 400;
}

/* Сайдбар */
.sidebar {
    position: fixed;
    top: 60px;
    left: 0;
    width: 220px;
    height: calc(100% - 60px);
    background: #fff;
    border-right: 1px solid #ddd;
    padding: 20px 10px;
    overflow-y: auto;
    z-index: 100;
    font-family: 'Montserrat', Arial, sans-serif !important;
}

.sidebar a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.sidebar a:hover {
    background-color: #f0f0f0;
    color: var(--primary-color);
    padding-left: 15px;
}

/* Основной контент */
.content {
    margin-left: 240px;
    margin-top: 80px;
    padding: 20px;
    min-height: calc(100vh - 80px);
    font-family: 'Montserrat', Arial, sans-serif !important;
}

/* Навигация */
.navbar {
    font-family: 'Montserrat', Arial, sans-serif !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    letter-spacing: -0.5px;
}

.nav-link {
    font-weight: 500 !important;
    font-size: 0.95rem;
    padding: 8px 12px !important;
    color: #333 !important;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Карточки товаров */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #dee2e6;
    font-family: 'Montserrat', Arial, sans-serif !important;
}

.card-title {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card-text {
    font-weight: 400;
    font-size: 0.9rem;
}

.card small {
    font-weight: 500;
    color: #666;
    font-size: 0.85rem;
}

/* Кнопки */
.btn {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.buy-btn {
    background-color: #e91e63;
    border: none;
    color: white !important;
    font-weight: 600 !important;
    padding: 8px 20px !important;
    font-size: 0.9rem;
}

.buy-btn:hover {
    background-color: #c2185b;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(233, 30, 99, 0.3);
}

.btn-outline-primary {
    border-color: #e91e63;
    color: #e91e63;
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: #e91e63;
    border-color: #e91e63;
    color: white;
}

/* Цены */
.fw-bold {
    font-weight: 700 !important;
}

/* Формы */
input, textarea, select {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-weight: 400;
}

/* WooCommerce */
.woocommerce .product .price {
    font-weight: 700 !important;
    color: #e91e63;
    font-size: 1.2rem;
}

.woocommerce .star-rating {
    font-family: star !important;
}

/* Футер */
.footer {
    font-family: 'Montserrat', Arial, sans-serif !important;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer p {
    font-weight: 400;
    font-size: 0.95rem;
}

/* Модальные окна */
.modal-title {
    font-weight: 600;
}

.modal-body {
    font-weight: 400;
}

/* Badges */
.badge {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Хлебные крошки */
.breadcrumb {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-weight: 500;
}

/* Пагинация */
.pagination {
    font-family: 'Montserrat', Arial, sans-serif !important;
}

.page-link {
    font-weight: 500;
}

/* Таблицы */
table {
    font-family: 'Montserrat', Arial, sans-serif !important;
}

th {
    font-weight: 600 !important;
}

td {
    font-weight: 400 !important;
}

/* Специальные классы для шрифтов */
.font-light {
    font-weight: 300 !important;
}

.font-regular {
    font-weight: 400 !important;
}

.font-medium {
    font-weight: 500 !important;
}

.font-semibold {
    font-weight: 600 !important;
}

.font-bold {
    font-weight: 700 !important;
}

.font-extrabold {
    font-weight: 800 !important;
}

/* Адаптивность */
@media (max-width: 991px) {
    .sidebar {
        display: none;
    }
    .content {
        margin-left: 0;
        margin-top: 60px;
    }
    
    body {
        font-size: 15px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem !important;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-item {
    animation: fadeIn 0.5s ease forwards;
}

/* Прогресс-бар скролла */
#scroll-progress {
    font-family: 'Montserrat', Arial, sans-serif !important;
}

/* Нотификации */
.notification {
    font-family: 'Montserrat', Arial, sans-serif !important;
    font-weight: 500;
}
/* ============================================
   СТИЛИ ДЛЯ СТРАНИЦЫ КОРЗИНЫ WOOCOMMERCE
   ============================================ */

/* Общие стили для страницы корзины */
.woocommerce-cart .content {
    padding: 20px;
    min-height: calc(100vh - 140px);
}

/* Заголовок страницы корзины */
.woocommerce-cart h1 {
    font-weight: 700;
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e91e63;
}

/* Таблица корзины */
.woocommerce-cart table.shop_table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.woocommerce-cart table.shop_table thead {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.woocommerce-cart table.shop_table th {
    color: white;
    font-weight: 600;
    padding: 18px 15px;
    text-align: left;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-cart table.shop_table th.product-remove {
    width: 50px;
    text-align: center;
}

.woocommerce-cart table.shop_table th.product-thumbnail {
    width: 100px;
}

.woocommerce-cart table.shop_table td {
    padding: 20px 15px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.woocommerce-cart table.shop_table tr:last-child td {
    border-bottom: none;
}

.woocommerce-cart table.shop_table tr:hover {
    background-color: #fafafa;
}

/* Удаление товара */
.woocommerce-cart .product-remove .remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    line-height: 1;
}

.woocommerce-cart .product-remove .remove:hover {
    background: #ff3838;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(255, 71, 87, 0.3);
}

/* Изображение товара */
.woocommerce-cart .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.woocommerce-cart .product-thumbnail img:hover {
    border-color: #e91e63;
    transform: scale(1.05);
}

/* Название товара */
.woocommerce-cart .product-name {
    font-weight: 600;
    color: #333;
}

.woocommerce-cart .product-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.woocommerce-cart .product-name a:hover {
    color: #e91e63;
}

/* Цена */
.woocommerce-cart .product-price {
    font-weight: 700;
    color: #e91e63;
    font-size: 1.1rem;
}

/* Количество товаров */
.woocommerce-cart .quantity {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.woocommerce-cart .quantity .qty {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    background: white;
    -moz-appearance: textfield;
}

.woocommerce-cart .quantity .qty::-webkit-outer-spin-button,
.woocommerce-cart .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce-cart .quantity .minus,
.woocommerce-cart .quantity .plus {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-cart .quantity .minus:hover,
.woocommerce-cart .quantity .plus:hover {
    background: #e91e63;
    color: white;
}

/* Сумма */
.woocommerce-cart .product-subtotal {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
}

/* Купон */
.woocommerce-cart .coupon {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.woocommerce-cart .coupon label {
    font-weight: 600;
    color: #333;
    margin: 0;
}

.woocommerce-cart .coupon .input-text {
    flex: 1;
    height: 45px;
    padding: 0 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.woocommerce-cart .coupon .input-text:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    outline: none;
}

.woocommerce-cart .coupon .button {
    height: 45px;
    padding: 0 25px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.woocommerce-cart .coupon .button:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Кнопки действий */
.woocommerce-cart .actions {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.woocommerce-cart .button[name="update_cart"] {
    padding: 12px 25px;
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.woocommerce-cart .button[name="update_cart"]:hover {
    background: #138496;
    transform: translateY(-2px);
}

/* Итоги корзины */
.woocommerce-cart .cart_totals {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-top: 30px;
}

.woocommerce-cart .cart_totals h2 {
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e91e63;
}

.woocommerce-cart .cart_totals table {
    width: 100%;
    margin-bottom: 25px;
}

.woocommerce-cart .cart_totals th {
    text-align: left;
    padding: 12px 0;
    font-weight: 600;
    color: #666;
    width: 50%;
}

.woocommerce-cart .cart_totals td {
    text-align: right;
    padding: 12px 0;
    font-weight: 600;
    color: #333;
}

.woocommerce-cart .cart_totals tr.order-total th,
.woocommerce-cart .cart_totals tr.order-total td {
    font-size: 1.3rem;
    color: #e91e63;
    border-top: 2px solid #f0f0f0;
    padding-top: 20px;
}

/* Кнопка оформления заказа */
.woocommerce-cart .wc-proceed-to-checkout {
    margin-top: 25px;
}

.woocommerce-cart .checkout-button {
    display: block;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.woocommerce-cart .checkout-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(233, 30, 99, 0.3);
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%);
}

/* Пустая корзина */
.woocommerce-cart .cart-empty {
    text-align: center;
    padding: 60px 20px;
}

.woocommerce-cart .cart-empty .empty-cart-icon {
    font-size: 80px;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.woocommerce-cart .cart-empty h1 {
    color: #666;
    margin-bottom: 20px;
    border: none;
}

.woocommerce-cart .cart-empty p {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.woocommerce-cart .cart-empty .return-to-shop {
    display: inline-block;
    padding: 15px 35px;
    background: #e91e63;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
}

.woocommerce-cart .cart-empty .return-to-shop:hover {
    background: #c2185b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

/* Расчет доставки */
.woocommerce-cart .shipping-calculator-button {
    display: inline-block;
    color: #e91e63;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.woocommerce-cart .shipping-calculator-button:hover {
    color: #c2185b;
    text-decoration: underline;
}

.woocommerce-cart .shipping-calculator-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 15px;
}

.woocommerce-cart .shipping-calculator-form p {
    margin-bottom: 15px;
}

.woocommerce-cart .shipping-calculator-form .button {
    background: #e91e63;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.woocommerce-cart .shipping-calculator-form .button:hover {
    background: #c2185b;
}

/* Кросс-селы (рекомендуемые товары) */
.woocommerce-cart .cross-sells {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.woocommerce-cart .cross-sells h2 {
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .woocommerce-cart .content {
        padding: 15px;
    }
    
    .woocommerce-cart table.shop_table {
        display: block;
        overflow-x: auto;
    }
    
    .woocommerce-cart table.shop_table th,
    .woocommerce-cart table.shop_table td {
        padding: 12px 8px;
        font-size: 0.9rem;
    }
    
    .woocommerce-cart .product-thumbnail img {
        width: 60px;
        height: 60px;
    }
    
    .woocommerce-cart .quantity .qty {
        width: 50px;
        height: 36px;
    }
    
    .woocommerce-cart .quantity .minus,
    .woocommerce-cart .quantity .plus {
        width: 36px;
        height: 36px;
    }
    
    .woocommerce-cart .coupon {
        flex-direction: column;
        align-items: stretch;
    }
    
    .woocommerce-cart .actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .woocommerce-cart .cart_totals {
        padding: 20px;
    }
    
    .woocommerce-cart .checkout-button {
        padding: 15px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .woocommerce-cart h1 {
        font-size: 1.8rem;
    }
    
    .woocommerce-cart .product-name {
        font-size: 0.9rem;
    }
    
    .woocommerce-cart .cart_totals h2 {
        font-size: 1.5rem;
    }
    
    .woocommerce-cart .cart-empty .empty-cart-icon {
        font-size: 60px;
    }
}

/* Анимации */
@keyframes cartItemAdded {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.product-added {
    animation: cartItemAdded 0.3s ease;
}

/* Иконки */
.woocommerce-cart .product-remove .remove:before {
    content: '×';
    display: block;
}

/* Дополнительные стили для улучшения UX */
.woocommerce-cart .woocommerce-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #28a745;
}

.woocommerce-cart .woocommerce-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #dc3545;
}

.woocommerce-cart .woocommerce-info {
    background: #d1ecf1;
    color: #0c5460;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    border-left: 4px solid #17a2b8;
}
/* Мобильные стили для корзины */
@media (max-width: 768px) {
    .woocommerce-cart table.shop_table_responsive tr {
        display: block;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        margin-bottom: 15px;
        padding: 15px;
        background: white;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }
    
    .woocommerce-cart table.shop_table_responsive thead {
        display: none;
    }
    
    .woocommerce-cart table.shop_table_responsive td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .woocommerce-cart table.shop_table_responsive td:last-child {
        border-bottom: none;
    }
    
    .woocommerce-cart table.shop_table_responsive td:before {
        content: attr(data-title);
        font-weight: 600;
        color: #666;
        margin-right: 15px;
        flex: 0 0 40%;
    }
    
    .woocommerce-cart table.shop_table_responsive .product-remove {
        order: -1;
        justify-content: center;
        border-bottom: none !important;
    }
    
    .woocommerce-cart table.shop_table_responsive .product-remove:before {
        display: none;
    }
    
    .woocommerce-cart table.shop_table_responsive .product-thumbnail {
        justify-content: center;
        border-bottom: none !important;
    }
    
    .woocommerce-cart table.shop_table_responsive .product-thumbnail:before {
        display: none;
    }
}

/* Анимация для мобильного меню */
@media (max-width: 768px) {
    .woocommerce-cart .sidebar {
        display: none;
    }
    
    .woocommerce-cart .content {
        margin-left: 0;
    }
}
/* Счетчик корзины в шапке для страницы корзины */
 .cart-count {
    background: #e91e63;
    color: white;
    border-radius: 50%;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
/* ============================================
   СТИЛИ ДЛЯ СТАНДАРТНОЙ КОРЗИНЫ WOOCOMMERCE
   ============================================ */

/* Общие стили для страницы корзины */
.woocommerce-cart .content {
    padding: 20px;
    background: #f8f9fa;
    min-height: calc(100vh - 140px);
}

/* Заголовок */
.woocommerce-cart .woocommerce h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e91e63;
    text-align: center;
}

/* Карточка корзины */
.woocommerce-cart .woocommerce {
    margin: 0 auto;
}

/* Таблица товаров */
.woocommerce-cart table.shop_table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.woocommerce-cart table.shop_table thead {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.woocommerce-cart table.shop_table th {
    color: white;
    font-weight: 600;
    padding: 18px 15px;
    text-align: left;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.woocommerce-cart table.shop_table th.product-remove {
    width: 50px;
    text-align: center;
}

.woocommerce-cart table.shop_table th.product-thumbnail {
    width: 100px;
}

.woocommerce-cart table.shop_table th.product-name {
    width: 35%;
}

.woocommerce-cart table.shop_table td {
    padding: 20px 15px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    border: none;
}

.woocommerce-cart table.shop_table tr:last-child td {
    border-bottom: none;
}

.woocommerce-cart table.shop_table tr:hover {
    background-color: #fafafa;
}

/* Удаление товара */
.woocommerce-cart .product-remove a.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    transition: all 0.3s ease;
}

.woocommerce-cart .product-remove a.remove:hover {
    background: #ff3838;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(255, 71, 87, 0.3);
}

/* Изображение товара */
.woocommerce-cart .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s ease;
}

.woocommerce-cart .product-thumbnail img:hover {
    border-color: #e91e63;
    transform: scale(1.05);
}

/* Название товара */
.woocommerce-cart .product-name {
    font-weight: 600;
    color: #333;
}

.woocommerce-cart .product-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 600;
    font-size: 1.05rem;
}

.woocommerce-cart .product-name a:hover {
    color: #e91e63;
}

/* Вариации товара */
.woocommerce-cart .product-name .variation {
    margin-top: 5px;
}

.woocommerce-cart .product-name .variation dt {
    font-weight: 500;
    color: #666;
    font-size: 0.9rem;
}

.woocommerce-cart .product-name .variation dd {
    color: #333;
    font-size: 0.9rem;
    margin-left: 5px;
}

/* Цена */
.woocommerce-cart .product-price {
    font-weight: 700;
    color: #e91e63;
    font-size: 1.1rem;
}

/* Количество товаров */
.woocommerce-cart .quantity {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.woocommerce-cart .quantity .qty {
    width: 60px;
    height: 45px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    background: white;
    -moz-appearance: textfield;
    padding: 0;
}

.woocommerce-cart .quantity .qty::-webkit-outer-spin-button,
.woocommerce-cart .quantity .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce-cart .quantity .minus,
.woocommerce-cart .quantity .plus {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.woocommerce-cart .quantity .minus:hover,
.woocommerce-cart .quantity .plus:hover {
    background: #e91e63;
    color: white;
}

/* Сумма */
.woocommerce-cart .product-subtotal {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
}

/* Купон */
.woocommerce-cart .coupon {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.woocommerce-cart .coupon label {
    font-weight: 600;
    color: #333;
    margin: 0;
    font-size: 1rem;
}

.woocommerce-cart .coupon .input-text {
    flex: 1;
    height: 45px;
    padding: 0 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

.woocommerce-cart .coupon .input-text:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    outline: none;
}

.woocommerce-cart .coupon .button {
    height: 45px;
    padding: 0 25px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

.woocommerce-cart .coupon .button:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

/* Кнопки действий */
.woocommerce-cart .actions {
    padding: 20px;
    background: white;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.woocommerce-cart .button[name="update_cart"] {
    padding: 12px 25px;
    background: #17a2b8;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

.woocommerce-cart .button[name="update_cart"]:hover {
    background: #138496;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(23, 162, 184, 0.3);
}

/* Итоги корзины */
.woocommerce-cart .cart-collaterals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .woocommerce-cart .cart-collaterals {
        grid-template-columns: 1fr 1fr;
    }
}

.woocommerce-cart .cart_totals {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    order: 2;
}

@media (min-width: 992px) {
    .woocommerce-cart .cart_totals {
        order: 1;
    }
}

.woocommerce-cart .cart_totals h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e91e63;
    font-size: 1.5rem;
}

.woocommerce-cart .cart_totals table {
    width: 100%;
    margin-bottom: 25px;
    border: none;
}

.woocommerce-cart .cart_totals th {
    text-align: left;
    padding: 12px 0;
    font-weight: 600;
    color: #666;
    width: 60%;
    border: none;
    background: none;
}

.woocommerce-cart .cart_totals td {
    text-align: right;
    padding: 12px 0;
    font-weight: 600;
    color: #333;
    border: none;
}

.woocommerce-cart .cart_totals tr.order-total th,
.woocommerce-cart .cart_totals tr.order-total td {
    font-size: 1.3rem;
    color: #e91e63;
    border-top: 2px solid #f0f0f0;
    padding-top: 20px;
}

/* Кнопка оформления заказа */
.woocommerce-cart .wc-proceed-to-checkout {
    margin-top: 25px;
}

.woocommerce-cart .checkout-button {
    display: block;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.woocommerce-cart .checkout-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.3);
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%);
}

/* Пустая корзина */
.woocommerce-cart .cart-empty {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    margin: 0 auto;
}

.woocommerce-cart .cart-empty .cart-empty-icon {
    font-size: 80px;
    color: #e0e0e0;
    margin-bottom: 30px;
}

.woocommerce-cart .cart-empty .woocommerce-info {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.woocommerce-cart .cart-empty .woocommerce-info:before {
    display: none;
}

.woocommerce-cart .cart-empty p {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.woocommerce-cart .return-to-shop {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.woocommerce-cart .return-to-shop:hover {
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

/* Расчет доставки */
.woocommerce-cart .shipping-calculator-button {
    display: inline-block;
    color: #e91e63;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 15px;
    transition: color 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.woocommerce-cart .shipping-calculator-button:hover {
    color: #c2185b;
    text-decoration: underline;
}

.woocommerce-cart .shipping-calculator-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

.woocommerce-cart .shipping-calculator-form p {
    margin-bottom: 15px;
}

.woocommerce-cart .shipping-calculator-form .button {
    background: #e91e63;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s;
}

.woocommerce-cart .shipping-calculator-form .button:hover {
    background: #c2185b;
    transform: translateY(-2px);
}

/* Кросс-селы (рекомендуемые товары) */
.woocommerce-cart .cross-sells {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
    order: 1;
}

@media (min-width: 992px) {
    .woocommerce-cart .cross-sells {
        order: 2;
    }
}

.woocommerce-cart .cross-sells h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #333;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .woocommerce-cart .content {
        padding: 15px;
    }
    
    .woocommerce-cart .woocommerce h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .woocommerce-cart table.shop_table {
        display: block;
        overflow-x: auto;
    }
    
    .woocommerce-cart table.shop_table th,
    .woocommerce-cart table.shop_table td {
        padding: 15px 10px;
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    .woocommerce-cart .product-thumbnail img {
        width: 60px;
        height: 60px;
    }
    
    .woocommerce-cart .quantity .qty {
        width: 50px;
        height: 40px;
    }
    
    .woocommerce-cart .quantity .minus,
    .woocommerce-cart .quantity .plus {
        width: 40px;
        height: 40px;
    }
    
    .woocommerce-cart .coupon {
        flex-direction: column;
        align-items: stretch;
    }
    
    .woocommerce-cart .coupon label {
        margin-bottom: 10px;
    }
    
    .woocommerce-cart .actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .woocommerce-cart .cart_totals {
        padding: 20px;
    }
    
    .woocommerce-cart .cart_totals h2 {
        font-size: 1.3rem;
    }
    
    .woocommerce-cart .checkout-button {
        padding: 15px;
        font-size: 1rem;
    }
    
    .woocommerce-cart .cart-empty {
        padding: 40px 15px;
    }
    
    .woocommerce-cart .cart-empty-icon {
        font-size: 60px;
    }
}

@media (max-width: 576px) {
    .woocommerce-cart .woocommerce h1 {
        font-size: 1.8rem;
    }
    
    .woocommerce-cart table.shop_table {
        font-size: 0.85rem;
    }
    
    .woocommerce-cart .product-name a {
        font-size: 0.95rem;
    }
    
    .woocommerce-cart .cart_totals tr.order-total th,
    .woocommerce-cart .cart_totals tr.order-total td {
        font-size: 1.1rem;
    }
    
    .return-to-shop {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

/* Анимации */
@keyframes cartItemAdded {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.product-added {
    animation: cartItemAdded 0.3s ease;
}

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

.woocommerce-cart table.shop_table tbody tr {
    animation: fadeIn 0.5s ease forwards;
}

.woocommerce-cart table.shop_table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.woocommerce-cart table.shop_table tbody tr:nth-child(2) { animation-delay: 0.2s; }
.woocommerce-cart table.shop_table tbody tr:nth-child(3) { animation-delay: 0.3s; }
.woocommerce-cart table.shop_table tbody tr:nth-child(4) { animation-delay: 0.4s; }
.woocommerce-cart table.shop_table tbody tr:nth-child(5) { animation-delay: 0.5s; }

/* Иконки */
.woocommerce-cart .product-remove a.remove:before {
    content: '×';
    display: block;
    line-height: 1;
}

/* Дополнительные стили для улучшения UX */
.woocommerce-cart .woocommerce-message {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #28a745;
    animation: fadeIn 0.5s ease;
    font-family: 'Montserrat', sans-serif;
}

.woocommerce-cart .woocommerce-message:before {
    color: #28a745;
    float: left;
    margin-right: 10px;
}

.woocommerce-cart .woocommerce-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #dc3545;
    animation: fadeIn 0.5s ease;
    font-family: 'Montserrat', sans-serif;
}

.woocommerce-cart .woocommerce-error:before {
    color: #dc3545;
    float: left;
    margin-right: 10px;
}

.woocommerce-cart .woocommerce-info {
    background: #d1ecf1;
    color: #0c5460;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #17a2b8;
    animation: fadeIn 0.5s ease;
    font-family: 'Montserrat', sans-serif;
}

.woocommerce-cart .woocommerce-info:before {
    color: #17a2b8;
    float: left;
    margin-right: 10px;
}

/* Поля ввода в форме расчета доставки */
.woocommerce-cart .shipping-calculator-form input,
.woocommerce-cart .shipping-calculator-form select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.woocommerce-cart .shipping-calculator-form input:focus,
.woocommerce-cart .shipping-calculator-form select:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    outline: none;
}

/* Стили для мобильных уведомлений */
@media (max-width: 768px) {
    .woocommerce-cart .woocommerce-message,
    .woocommerce-cart .woocommerce-error,
    .woocommerce-cart .woocommerce-info {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

/* Ховер эффекты для таблицы */
.woocommerce-cart table.shop_table tbody tr {
    transition: all 0.3s ease;
}

.woocommerce-cart table.shop_table tbody tr:hover {
    background: linear-gradient(90deg, rgba(233, 30, 99, 0.03) 0%, rgba(233, 30, 99, 0.01) 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Стили для кнопок в количестве на мобильных */
@media (max-width: 576px) {
    .woocommerce-cart .quantity {
        justify-content: center;
    }
}

/* Счетчик товаров в корзине (в шапке) */
.woocommerce-cart .cart-count-badge {
    background: #e91e63;
    color: white;
    border-radius: 50%;
    padding: 3px 8px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Стили для текста "Бесплатная доставка" */
.woocommerce-cart .woocommerce-shipping-destination {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
}

/* Стили для выбора способа доставки */
.woocommerce-cart .shipping ul#shipping_method {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-cart .shipping ul#shipping_method li {
    margin-bottom: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.woocommerce-cart .shipping ul#shipping_method li:hover {
    border-color: #e91e63;
    background: rgba(233, 30, 99, 0.03);
}

.woocommerce-cart .shipping ul#shipping_method input[type="radio"] {
    margin-right: 10px;
}
/* ============================================
   СТИЛИ ДЛЯ КОРЗИНЫ И ОФОРМЛЕНИЯ ЗАКАЗА
   ============================================ */

/* Общие стили для страниц WooCommerce */
.custom-cart-page,
.custom-checkout-page {
    padding: 20px;
    min-height: calc(100vh - 140px);
    background: #f8f9fa;
}

/* Заголовки страниц */
.cart-header,
.checkout-header {
    margin-bottom: 40px;
}

.cart-title,
.checkout-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.cart-subtitle,
.checkout-subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* Карточки */
.cart-items-card,
.cart-summary-card,
.checkout-form-card,
.order-summary-card,
.cart-info-card,
.checkout-info-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 25px;
}

/* Заголовки карточек */
.cart-items-header,
.summary-header,
.section-title {
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e0e0e0;
}

.cart-items-header h4,
.summary-header h4 {
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Тело карточек */
.cart-items-body,
.summary-body,
.checkout-form-card {
    padding: 25px;
}

/* ========== СТРАНИЦА КОРЗИНЫ ========== */

/* Пустая корзина */
.empty-cart-card {
    text-align: center;
    padding: 60px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.empty-cart-icon {
    font-size: 80px;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.empty-cart-card h3 {
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

/* Элемент товара в корзине */
.cart-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s;
}

.cart-item:hover {
    background: #fafafa;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    flex: 0 0 100px;
    margin-right: 20px;
}

.cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #f0f0f0;
}

.cart-item-details {
    flex: 1;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr auto;
    gap: 20px;
    align-items: center;
}

.cart-item-name h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.cart-item-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.cart-item-name a:hover {
    color: #e91e63;
}

.cart-item-price .price {
    font-weight: 700;
    color: #e91e63;
    font-size: 1.1rem;
}

/* Управление количеством */
.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #e91e63;
    color: white;
}

.qty {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    background: white;
}

.cart-item-subtotal .subtotal {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
}

.cart-item-remove .remove-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.cart-item-remove .remove-item:hover {
    background: #ff3838;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(255, 71, 87, 0.3);
}

/* Футер корзины */
.cart-items-footer {
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.coupon-box {
    display: flex;
    gap: 10px;
}

.coupon-box .form-control {
    flex: 1;
}

/* Итоги корзины */
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.summary-row .label {
    color: #666;
    font-weight: 500;
}

.summary-row .value {
    font-weight: 600;
    color: #333;
}

.summary-row.total {
    background: #f8f9fa;
    margin: 20px -25px;
    padding: 20px 25px;
}

.summary-row.total .label {
    font-size: 1.2rem;
    color: #333;
}

.summary-row.total .value {
    font-size: 1.5rem;
    color: #e91e63;
    font-weight: 700;
}

.summary-footer {
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-top: 1px solid #e0e0e0;
}

.checkout-btn {
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s;
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.3);
}

/* Информационная карточка */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li i {
    color: #e91e63;
    width: 20px;
}

/* ========== СТРАНИЦА ОФОРМЛЕНИЯ ========== */

/* Шаги оформления */
.checkout-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    position: relative;
}

.checkout-steps:before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50%;
    font-weight: 600;
    color: #666;
    margin: 0 auto 10px;
}

.step.active .step-number {
    background: #e91e63;
    border-color: #e91e63;
    color: white;
}

.step-text {
    display: block;
    font-size: 0.9rem;
    color: #666;
}

.step.active .step-text {
    color: #e91e63;
    font-weight: 600;
}

/* Секции формы */
.form-section {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    padding: 0;
    background: none;
    border: none;
}

.section-title i {
    color: #e91e63;
}

/* Методы оплаты */
.payment-methods {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.wc_payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.wc_payment_method {
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.wc_payment_method label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

.wc_payment_method input[type="radio"] {
    margin-right: 10px;
}

/* Итоги заказа в оформлении */
.order-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.order-item .item-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

.order-item .item-details {
    flex: 1;
}

.order-item .item-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.order-item .item-meta {
    display: flex;
    justify-content: space-between;
    color: #666;
    font-size: 0.9rem;
}

.order-totals {
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    color: #666;
}

.total-row.grand-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    border-top: 2px solid #e0e0e0;
    margin-top: 15px;
    padding-top: 20px;
}

.grand-total-amount {
    color: #e91e63;
    font-size: 1.4rem;
}

.place-order-btn {
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.security-badges .badge {
    background: #e9ecef;
    color: #666;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
}

.security-badges .badge i {
    color: #e91e63;
    margin-right: 5px;
}

/* Информационные карточки */
.checkout-info-card {
    padding: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    font-size: 1.5rem;
    color: #e91e63;
    margin-right: 15px;
    width: 40px;
}

.info-item strong {
    display: block;
    color: #333;
    font-weight: 600;
}

.info-item small {
    color: #666;
    font-size: 0.9rem;
}

/* Адаптивность */
@media (max-width: 992px) {
    .custom-cart-page,
    .custom-checkout-page {
        padding: 0px;
    }
    
    .cart-item-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cart-item-image {
        flex: 0 0 80px;
    }
    
    .cart-item-image img {
        width: 80px;
        height: 80px;
    }
    
    .checkout-steps {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .step {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .cart-title,
    .checkout-title {
        font-size: 2rem;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .cart-item-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cart-item-details {
        grid-template-columns: 1fr;
    }
    
    .checkout-steps:before {
        display: none;
    }
    
    .step {
        flex: 0 0 100%;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .cart-title,
    .checkout-title {
        font-size: 1.8rem;
    }
    
    .coupon-box {
        flex-direction: column;
    }
    
    .quantity-control {
        justify-content: center;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
    }
    
    .info-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Анимации */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-item,
.order-item,
.form-section {
    animation: slideIn 0.5s ease forwards;
}

/* Эффекты при наведении */
.btn:hover,
.checkout-btn:hover,
.place-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.3);
}

/* Иконки */
.cart-item-remove .remove-item i,
.checkout-btn i,
.place-order-btn i {
    font-size: 1.1rem;
}

/* Поля формы */
.form-control {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    outline: none;
}

/* Кнопки */
.btn-primary {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 25px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #ff4757 0%, #ff3838 100%);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 12px 25px;
    transition: all 0.3s;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #ff3838 0%, #ff4757 100%);
    transform: translateY(-2px);
}
/* ============================================
   СТИЛИ ДЛЯ КАСТОМНОЙ КОРЗИНЫ
   ============================================ */

/* Общие стили */
.custom-cart-page {
    padding: 20px;
    min-height: calc(100vh - 140px);
    background: #f8f9fa;
}

.cart-header {
    margin-bottom: 40px;
}

.cart-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.cart-subtitle {
    font-size: 1.1rem;
    color: #666;
}

/* Карточки */
.cart-items-card,
.cart-summary-card,
.cart-info-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 25px;
}

/* Заголовки карточек */
.cart-items-header,
.summary-header {
    padding: 20px 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #e0e0e0;
}

.cart-items-header h4,
.summary-header h4 {
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Тело карточек */
.cart-items-body,
.summary-body {
    padding: 25px;
}

/* Пустая корзина */
.empty-cart-card {
    text-align: center;
    padding: 60px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.empty-cart-icon {
    font-size: 80px;
    color: #e0e0e0;
    margin-bottom: 25px;
}

.empty-cart-card h3 {
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

/* Элемент товара */
.cart-item {
    display: flex;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    flex: 0 0 100px;
    margin-right: 20px;
}

.cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #f0f0f0;
}

.cart-item-details {
    flex: 1;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1fr auto;
    gap: 20px;
    align-items: center;
}

.cart-item-name h5 {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.cart-item-price .price {
    font-weight: 700;
    color: #e91e63;
    font-size: 1.1rem;
}

/* Стандартный WooCommerce quantity с улучшениями */
.cart-item-quantity .quantity.custom-enhanced {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    display: inline-flex;
}

.cart-item-quantity .quantity input.qty {
    width: 60px;
    height: 45px;
    border: none;
    text-align: center;
    font-weight: 600;
    color: #333;
    background: white;
    padding: 0;
}

.cart-item-quantity .quantity .minus,
.cart-item-quantity .quantity .plus {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border: none;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.cart-item-subtotal .subtotal {
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
}

.cart-item-remove .remove-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #ff4757;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.cart-item-remove .remove-item:hover {
    background: #ff3838;
    transform: scale(1.1);
}

/* Футер корзины */
.cart-items-footer {
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
}

.coupon-box {
    display: flex;
    gap: 10px;
}

.coupon-box .form-control {
    flex: 1;
}

/* Итоги */
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.summary-row.total {
    background: #f8f9fa;
    margin: 20px -25px;
    padding: 20px 25px;
}

.summary-row.total .label {
    font-size: 1.2rem;
    color: #333;
}

.summary-row.total .value {
    font-size: 1.5rem;
    color: #e91e63;
    font-weight: 700;
}

/* Способы доставки */
.shipping-methods {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.shipping-method-select .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.shipping-method-select .form-select {
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 10px 15px;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s;
}

.shipping-method-select .form-select:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

/* Кнопки */
.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

.checkout-btn {
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    transition: all 0.3s;
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.3);
}

/* Информационная карточка */
.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li i {
    color: #e91e63;
    width: 20px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .cart-item-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cart-item-image {
        flex: 0 0 80px;
    }
    
    .cart-item-image img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .custom-cart-page {
        padding: 15px;
    }
    
    .cart-title {
        font-size: 2rem;
    }
    
    .cart-item {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .cart-item-image {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cart-items-footer .row {
        flex-direction: column;
        gap: 15px;
    }
    
    .coupon-box {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .cart-title {
        font-size: 1.8rem;
    }
    
    .empty-cart-icon {
        font-size: 60px;
    }
}

/* Анимации */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-item {
    animation: slideIn 0.5s ease forwards;
}

/* Индикатор загрузки */
.cart-summary-card.loading:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
    border-radius: 15px;
}

.cart-summary-card.loading:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 3px solid #f0f0f0;
    border-top: 3px solid #e91e63;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 11;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
/* ============================================
   СТИЛИ ДЛЯ СТРАНИЦЫ ТОВАРА
   ============================================ */

/* Общие стили для страницы товара */
.single-product-page {
    padding: 20px;
    min-height: calc(100vh - 140px);
    background: #f8f9fa;
}

/* Хлебные крошки */
.product-breadcrumbs {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.product-breadcrumbs .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
}

.product-breadcrumbs .breadcrumb-item a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.product-breadcrumbs .breadcrumb-item a:hover {
    color: #e91e63;
}

.product-breadcrumbs .breadcrumb-item.active {
    color: #333;
    font-weight: 600;
}

/* Основной контент продукта */
.product-main {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

/* Галерея изображений */
.product-gallery {
    padding: 25px;
    border-right: 1px solid #f0f0f0;
}

.product-main-image {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.product-main-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.product-main-image:hover img {
    transform: scale(1.05);
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.thumbnail-item {
    flex: 0 0 calc(25% - 10px);
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.thumbnail-item.active {
    border-color: #e91e63;
}

.thumbnail-item img {
    width: 100%;
    height: auto;
}

.thumbnail-item:hover {
    border-color: #e91e63;
    transform: translateY(-2px);
}

/* Информация о товаре */
.product-info {
    padding: 25px;
}

.product-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #333;
    margin-bottom: 15px;
}

.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
}

.rating-count {
    color: #666;
    font-size: 0.9rem;
}

.product-price {

    border-bottom: 2px solid #f0f0f0;
}

.current-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #e91e63;
    margin-right: 15px;
}

.old-price {
    font-size: 1.5rem;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    display: inline-block;
    background: #ff4757;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 15px;
}

.product-description {
    margin-bottom: 25px;
}

.product-description h6 {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.product-description p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Вариации товара */
.product-variations {
    margin-bottom: 25px;
}

.variation-item {
    margin-bottom: 20px;
}

.variation-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.variation-option {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: #666;
}

.variation-option:hover {
    border-color: #e91e63;
    color: #e91e63;
}

.variation-option.selected {
    background: #e91e63;
    border-color: #e91e63;
    color: white;
}

.variation-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Количество товара */
.product-quantity {
    margin-bottom: 25px;
}

.quantity-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.quantity-btn {
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #e91e63;
    color: white;
}

.qty {
    width: 70px;
    height: 45px;
    border: none;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    background: white;
    -moz-appearance: textfield;
}

.qty::-webkit-outer-spin-button,
.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Кнопки действий */
.product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.add-to-cart-btn {
    flex: 1;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 10px;
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.add-to-cart-btn:hover {
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.3);
}

.add-to-cart-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.add-to-cart-btn .loading-spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.add-to-cart-btn.loading .loading-spinner {
    display: block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.add-to-cart-btn .btn-text {
    display: block;
}

.add-to-cart-btn.loading .btn-text {
    display: none;
}

.wishlist-btn,
.compare-btn {
    width: 55px;
    height: 55px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.wishlist-btn:hover,
.compare-btn:hover {
    border-color: #e91e63;
    color: #e91e63;
    transform: translateY(-2px);
}

.wishlist-btn.active,
.compare-btn.active {
    background: #e91e63;
    border-color: #e91e63;
    color: white;
}

/* Мета-информация товара */
.product-meta {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.meta-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #666;
    font-size: 0.95rem;
}

.meta-item:last-child {
    margin-bottom: 0;
}

.meta-item i {
    color: #e91e63;
    width: 20px;
    margin-right: 10px;
}

.meta-item a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.meta-item a:hover {
    color: #e91e63;
}

/* Табы деталей товара */
.product-tabs {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    background: #f8f9fa;
}

.tab-btn {
    flex: 1;
    padding: 18px;
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #e91e63;
    transition: width 0.3s;
}

.tab-btn.active {
    color: #e91e63;
}

.tab-btn.active:after {
    width: 100%;
}

.tab-btn:hover:not(.active) {
    color: #333;
    background: rgba(233, 30, 99, 0.05);
}

.tab-content {
    padding: 30px;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Детальное описание */
.description-content {
    line-height: 1.6;
    color: #666;
}

.description-content h3 {
    color: #333;
    margin-top: 25px;
    margin-bottom: 15px;
}

.description-content ul,
.description-content ol {
    padding-left: 20px;
    margin-bottom: 15px;
}

.description-content li {
    margin-bottom: 8px;
}

/* Характеристики */
.specifications-table {
    width: 100%;
    border-collapse: collapse;
}

.specifications-table tr {
    border-bottom: 1px solid #f0f0f0;
}

.specifications-table tr:last-child {
    border-bottom: none;
}

.specifications-table td {
    padding: 15px;
}

.specifications-table td:first-child {
    font-weight: 600;
    color: #333;
    width: 30%;
    background: #f8f9fa;
}

.specifications-table td:last-child {
    color: #666;
}

/* Отзывы */
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 20px;
}

.average-rating {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.rating-stars {
    color: #ffd700;
    font-size: 1.5rem;
    margin: 5px 0;
}

.rating-count {
    color: #666;
    font-size: 0.9rem;
}

.write-review-btn {
    padding: 12px 25px;
    background: #e91e63;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.write-review-btn:hover {
    background: #c2185b;
    transform: translateY(-2px);
}

.reviews-list {
    margin-top: 25px;
}

.review-item {
    padding: 25px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    margin-bottom: 20px;
    background: #fafafa;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.reviewer-info h6 {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

.review-content p {
    color: #666;
    line-height: 1.6;
}

/* Сопутствующие товары */
.related-products {
    margin-top: 50px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}



.product-card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4757;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-card-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-card-image img {
    transform: scale(1.05);
}

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

.product-card-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 1rem;
}

.product-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.product-card-title a:hover {
    color: #e91e63;
}

.product-card-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.product-card-price .current {
    font-weight: 700;
    color: #e91e63;
    font-size: 1.2rem;
}

.product-card-price .old {
    color: #999;
    text-decoration: line-through;
    font-size: 0.9rem;
}

.product-card-actions {
    display: flex;
    gap: 10px;
}

.product-card-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.product-card-btn.primary {
    background: #e91e63;
    color: white;
}

.product-card-btn.primary:hover {
    background: #c2185b;
}

.product-card-btn.secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #e0e0e0;
}

.product-card-btn.secondary:hover {
    background: #e9ecef;
    border-color: #e91e63;
    color: #e91e63;
}

/* Уведомления */
.product-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 20px 25px;
    border-radius: 10px;
    background: white;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    align-items: center;
    gap: 15px;
    animation: slideInRight 0.3s ease;
    max-width: 400px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.product-notification.success {
    border-left: 4px solid #28a745;
}

.product-notification.error {
    border-left: 4px solid #dc3545;
}

.product-notification .notification-icon {
    font-size: 1.5rem;
}

.product-notification.success .notification-icon {
    color: #28a745;
}

.product-notification.error .notification-icon {
    color: #dc3545;
}

.product-notification .notification-content h6 {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.product-notification .notification-content p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 992px) {
    .product-gallery {
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .current-price {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .single-product-page {
        padding: 15px;
    }
    
    .tabs-nav {
        flex-direction: column;
    }
    
    .tab-btn {
        text-align: left;
        padding: 15px 20px;
    }
    
    .tab-btn:after {
        bottom: auto;
        top: 0;
        left: 0;
        width: 3px;
        height: 0;
    }
    
    .tab-btn.active:after {
        width: 3px;
        height: 100%;
    }
    
    .reviews-header {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .add-to-cart-btn {
        min-width: 100%;
    }
    
    .wishlist-btn,
    .compare-btn {
        width: 100%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 1.6rem;
    }
    
    .current-price {
        font-size: 1.8rem;
    }
    
    .product-card-image {
        height: 160px;
    }
    
    .product-card-info {
        padding: 15px;
    }
    
    .product-card-actions {
        flex-direction: column;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .variation-options {
        flex-direction: column;
    }
    
    .variation-option {
        text-align: center;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-main,
.product-tabs,
.related-products {
    animation: fadeIn 0.5s ease forwards;
}

/* Иконки */
.product-meta i,
.meta-item i {
    font-size: 1rem;
}

/* Загрузка изображений */
.image-loading {
    position: relative;
    background: #f8f9fa;
    min-height: 300px;
    border-radius: 10px;
    overflow: hidden;
}

.image-loading:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Состояние товара */
.product-availability {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.availability-label {
    font-weight: 600;
    color: #333;
}

.availability-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.availability-status.in-stock {
    background: #d4edda;
    color: #155724;
}

.availability-status.out-of-stock {
    background: #f8d7da;
    color: #721c24;
}

/* Социальные сети */
.product-social {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.social-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    display: block;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    color: #666;
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-link.facebook:hover {
    background: #3b5998;
    color: white;
}

.social-link.twitter:hover {
    background: #1da1f2;
    color: white;
}

.social-link.pinterest:hover {
    background: #bd081c;
    color: white;
}

.social-link.telegram:hover {
    background: #0088cc;
    color: white;
}

/* Аккордеон для мобильных */
.product-accordion {
    display: none;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid #f0f0f0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 20px;
    background: #f8f9fa;
    border: none;
    width: 100%;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.accordion-header:hover {
    background: #e9ecef;
}

.accordion-header.active {
    background: #e91e63;
    color: white;
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-content.active {
    padding: 20px;
    max-height: 1000px;
}

.accordion-icon {
    transition: transform 0.3s;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

@media (max-width: 768px) {
    .product-tabs {
        display: none;
    }
    
    .product-accordion {
        display: block;
    }
}

/* Дополнительные стили для улучшения UX */
.product-gallery .slick-slider {
    margin-bottom: 15px;
}

.product-gallery .slick-dots {
    bottom: -25px;
}

.product-gallery .slick-dots li button:before {
    font-size: 10px;
    color: #999;
}

.product-gallery .slick-dots li.slick-active button:before {
    color: #e91e63;
}

/* Счетчик просмотров */
.view-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #666;
    font-size: 0.9rem;
}

.view-count i {
    color: #e91e63;
}
/* ============================================
   СТИЛИ ДЛЯ СТРАНИЦЫ КАТЕГОРИЙ
   ============================================ */

.category-page {
    padding: 20px;
    background: #f8f9fa;
}

/* Заголовок категории */
.category-header {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.category-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.category-description {
    color: #666;
    line-height: 1.6;
    font-size: 1.1rem;
    max-width: 800px;
}

/* Фильтры и сортировка */
.category-filters {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

/* Сортировка */
.sorting-wrapper select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    color: #333;
    width: 100%;
    max-width: 250px;
    transition: all 0.3s;
}

.sorting-wrapper select:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    outline: none;
}

/* Результаты */
.result-count {
    color: #666;
    font-weight: 500;
}

/* Сайдбар категории */
.category-sidebar {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    position: sticky;
    top: 100px;
}

/* Виджеты фильтров */
.widget {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

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

.widget-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e91e63;
}

/* Чекбоксы фильтров */
.widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget li {
    margin-bottom: 8px;
}

.widget label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #666;
    font-weight: 500;
    transition: color 0.3s;
}

.widget label:hover {
    color: #e91e63;
}

.widget input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.widget input[type="checkbox"]:checked {
    background-color: #e91e63;
    border-color: #e91e63;
}

/* Фильтр по цене */
.price_slider_wrapper {
    padding: 10px 0;
}

.price_label {
    margin-top: 15px;
    font-weight: 600;
    color: #333;
}

.ui-slider {
    background: #e0e0e0;
    border-radius: 10px;
    height: 6px;
    margin: 15px 0;
}

.ui-slider-range {
    background: #e91e63;
    border-radius: 10px;
}

.ui-slider-handle {
    background: white;
    border: 3px solid #e91e63;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    top: -7px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.button {
    background: #e91e63;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    margin-top: 15px;
}

.button:hover {
    background: #c2185b;
    transform: translateY(-2px);
}

/* Сетка товаров */
#products-container {
    min-height: 400px;
}

/* Карточка товара в категории */
.product-card-category {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
    position: relative;
}

.product-card-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card-category .onsale {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4757;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.product-card-image-category {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.product-card-image-category img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card-category:hover .product-card-image-category img {
    transform: scale(1.05);
}

.product-card-content-category {
    padding: 20px;
}

.product-card-title-category {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 1rem;
    height: 40px;
    overflow: hidden;
}

.product-card-title-category a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.product-card-title-category a:hover {
    color: #e91e63;
}

.product-card-price-category {
    margin-bottom: 15px;
}

.price {
    display: block;
    font-weight: 700;
    color: #e91e63;
    font-size: 1.2rem;
}

.price del {
    color: #999;
    font-size: 0.9rem;
    margin-left: 5px;
}

.product-card-actions-category {
    display: flex;
    gap: 10px;
}

.product-card-actions-category .button {
    flex: 1;
    padding: 10px;
    font-size: 0.9rem;
    text-align: center;
}

/* Нет товаров */
.no-products {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.no-products i {
    margin-bottom: 20px;
}

.no-products h3 {
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
}

.no-products p {
    color: #666;
    margin-bottom: 20px;
}

/* Пагинация */
.category-pagination .page-numbers {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 5px;
}

.category-pagination .page-numbers li {
    margin: 0;
}

.category-pagination .page-numbers a,
.category-pagination .page-numbers span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    color: #666;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.category-pagination .page-numbers a:hover {
    background: #e91e63;
    border-color: #e91e63;
    color: white;
    transform: translateY(-2px);
}

.category-pagination .page-numbers .current {
    background: #e91e63;
    border-color: #e91e63;
    color: white;
}

.category-pagination .page-numbers .dots {
    border: none;
}

/* Адаптивность */
@media (max-width: 992px) {
    .category-page {
        padding: 15px;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .category-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    #products-container .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .category-header {
        padding: 20px;
    }
    
    .category-filters .row {
        flex-direction: column;
        gap: 15px;
    }
    
    .sorting-wrapper select {
        max-width: 100%;
    }
    
    .result-count {
        text-align: left;
    }
    
    #products-container .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .product-card-image-category {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .category-title {
        font-size: 1.8rem;
    }
    
    .product-card-image-category {
        height: 160px;
    }
    
    .category-pagination .page-numbers a,
    .category-pagination .page-numbers span {
        min-width: 40px;
        height: 40px;
        padding: 0 10px;
        font-size: 0.9rem;
    }
}
/* ============================================
   СТИЛИ ДЛЯ ЛИЧНОГО КАБИНЕТА
   ============================================ */

.account-page {
    padding: 20px;
    background: #f8f9fa;
    min-height: calc(100vh - 140px);
}

/* Заголовок */
.account-header {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.account-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.account-subtitle {
    color: #666;
    font-size: 1.1rem;
}

/* Контейнер */
.account-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Информация о пользователе */
.account-info-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

/* ============================================
   СТИЛИ ДЛЯ СТРАНИЦ ЛИЧНОГО КАБИНЕТА WOOCOMMERCE
   (Заказы, Адреса, Редактирование аккаунта и т.д.)
   ============================================ */

/* Общий контейнер для контента, который выводит WooCommerce */
.woocommerce-MyAccount-content {
    background: transparent;
    padding: 0;
}

/* Стили для заголовков страниц (Мои заказы, Адреса доставки и т.д.) */
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e91e63;
    font-size: 1.5rem;
}

/* ========== СТРАНИЦА "МОИ ЗАКАЗЫ" ========== */
.woocommerce-account .my_account_orders {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-account .my_account_orders thead {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.woocommerce-account .my_account_orders th {
    color: white;
    font-weight: 600;
    padding: 18px 15px;
    text-align: left;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.woocommerce-account .my_account_orders td {
    padding: 20px 15px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
    border: none;
}

.woocommerce-account .my_account_orders tr:last-child td {
    border-bottom: none;
}

.woocommerce-account .my_account_orders tr:hover {
    background-color: #fafafa;
}

/* Статусы заказов в таблице */
.woocommerce-account .my_account_orders .status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Кнопка "Посмотреть" в таблице заказов */
.woocommerce-account .my_account_orders .button {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.woocommerce-account .my_account_orders .button:hover {
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

/* ========== СТРАНИЦА "ПРОСМОТР ЗАКАЗА" ========== */
.woocommerce-account .order-details {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.woocommerce-account .order-details__title {
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.woocommerce-account .order-details .shop_table {
    border: none;
    border-radius: 10px;
    overflow: hidden;
}

.woocommerce-account .order-details th {
    font-weight: 600;
    color: #333;
    background: #f8f9fa;
    padding: 15px;
}

.woocommerce-account .order-details td {
    padding: 15px;
    border-color: #f0f0f0;
}

/* Информация о клиенте в заказе */
.woocommerce-account .customer_details {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.woocommerce-account .customer_details dt {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.woocommerce-account .customer_details dd {
    color: #666;
    margin-bottom: 15px;
}

/* ========== СТРАНИЦА "АДРЕСА" ========== */
.woocommerce-account .addresses {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.woocommerce-account .addresses .title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.woocommerce-account .addresses .title h3 {
    margin: 0;
    border: none;
    padding: 0;
}

.woocommerce-account .addresses .title .edit {
    background: #e91e63;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.woocommerce-account .addresses .title .edit:hover {
    background: #c2185b;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

.woocommerce-account .addresses address {
    color: #666;
    line-height: 1.6;
    font-style: normal;
}

/* ========== СТРАНИЦА "РЕДАКТИРОВАНИЕ АККАУНТА" ========== */
.woocommerce-EditAccountForm {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.woocommerce-EditAccountForm p {
    margin-bottom: 20px;
}

.woocommerce-EditAccountForm label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.woocommerce-EditAccountForm input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.woocommerce-EditAccountForm input:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    outline: none;
}

.woocommerce-EditAccountForm fieldset {
    margin-top: 25px;
    padding: 20px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
}

.woocommerce-EditAccountForm legend {
    font-weight: 600;
    color: #333;
    padding: 0 15px;
    width: auto;
    margin-bottom: 0;
}

/* Кнопка сохранения */
.woocommerce-EditAccountForm .button {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.woocommerce-EditAccountForm .button:hover {
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

/* ========== СТРАНИЦА "РЕДАКТИРОВАНИЕ АДРЕСА" ========== */
.woocommerce-address-fields {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.woocommerce-address-fields__field-wrapper {
    margin-bottom: 25px;
}

.woocommerce-address-fields .form-row {
    margin-bottom: 20px;
}

.woocommerce-address-fields .button {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.woocommerce-address-fields .button:hover {
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

/* ========== УВЕДОМЛЕНИЯ ========== */
.woocommerce-account .woocommerce-message {
    background: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #28a745;
    animation: fadeIn 0.5s ease;
    font-family: 'Montserrat', sans-serif;
}

.woocommerce-account .woocommerce-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #dc3545;
    animation: fadeIn 0.5s ease;
    font-family: 'Montserrat', sans-serif;
}

.woocommerce-account .woocommerce-info {
    background: #d1ecf1;
    color: #0c5460;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    border-left: 4px solid #17a2b8;
    animation: fadeIn 0.5s ease;
    font-family: 'Montserrat', sans-serif;
}

/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 768px) {
    .woocommerce-account .my_account_orders {
        display: block;
        overflow-x: auto;
    }
    
    .woocommerce-account .my_account_orders th,
    .woocommerce-account .my_account_orders td {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    
    .woocommerce-EditAccountForm,
    .woocommerce-address-fields,
    .addresses {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .woocommerce-account .addresses .title {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .woocommerce-account .my_account_orders .button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   СТИЛИ ДЛЯ СТРАНИЦЫ "ЗАКАЗ ОФОРМЛЕН" (THANK YOU)
   ============================================ */

.thankyou-page {
    max-width: 90%;
    margin: 0 auto;
}

/* Анимация успеха */
.success-animation {
    margin: 30px auto;
}

.checkmark-circle {
    width: 100px;
    height: 100px;
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin: 0 auto;
}

.checkmark-circle .checkmark-circle-inner {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid #e91e63;
    border-right-color: transparent;
    animation: rotate 1s linear;
}

.checkmark-circle .checkmark-circle-bg {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #e91e63;
    opacity: 0.1;
}

.checkmark-check {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 50px;
    border-right: 4px solid #e91e63;
    border-bottom: 4px solid #e91e63;
    transform: translate(-50%, -60%) rotate(45deg);
    animation: checkmark 0.5s ease 0.5s forwards;
    opacity: 0;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes checkmark {
    0% { opacity: 0; width: 0; height: 0; }
    100% { opacity: 1; width: 30px; height: 50px; }
}

/* Заголовки */
.thankyou-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
    animation: fadeInUp 0.5s ease;
}

.thankyou-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    animation: fadeInUp 0.5s ease 0.1s both;
}

/* Карточка с номером заказа */
.order-number-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    color: white;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: fadeInUp 0.5s ease 0.2s both;
}

.order-number-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.order-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1;
}

.order-date {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Статус и сумма */
.order-status-summary {
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease 0.3s both;
}

.summary-item {
    background: white;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
}

.summary-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.summary-item i {
    font-size: 2.5rem;
    color: #e91e63;
    margin-bottom: 15px;
}

.summary-label {
    display: block;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.summary-value {
    display: block;
    font-weight: 700;
    color: #333;
    font-size: 1.1rem;
}

.summary-value.total {
    color: #e91e63;
    font-size: 1.3rem;
}

/* Карточки */
.order-details-card,
.shipping-info-card,
.contact-info-card,
.order-note-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    animation: fadeInUp 0.5s ease 0.4s both;
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e91e63;
    font-size: 1.3rem;
}

.card-title i {
    color: #e91e63;
}

/* Товары в заказе */
.order-items {
    margin-bottom: 25px;
}

.order-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.item-image {
    flex: 0 0 70px;
    margin-right: 20px;
}

.item-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #f0f0f0;
}

.item-info {
    flex: 1;
}

.item-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    font-size: 1rem;
}

.item-variations {
    color: #666;
    font-size: 0.85rem;
}

.item-quantity {
    font-weight: 600;
    color: #666;
    margin-right: 20px;
    min-width: 60px;
    text-align: center;
}

.item-price {
    font-weight: 700;
    color: #e91e63;
    min-width: 100px;
    text-align: right;
}

/* Итоги */
.order-totals {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}

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

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

.total-row.discount {
    color: #28a745;
}

.total-row.grand-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    border-top: 2px solid #e0e0e0;
    margin-top: 10px;
    padding-top: 20px;
}

.grand-total-amount {
    color: #e91e63;
    font-size: 1.4rem;
}

/* Контактные данные */
.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
}

.contact-item strong {
    color: #333;
    margin-bottom: 5px;
}

.contact-item span {
    color: #666;
}

/* Адрес доставки */
.shipping-info-card address {
    font-style: normal;
    color: #666;
    line-height: 1.6;
}

/* Комментарий к заказу */
.order-note-card p {
    color: #666;
    line-height: 1.6;
    margin: 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

/* Кнопки */
.thankyou-actions {
    margin-top: 40px;
    animation: fadeInUp 0.5s ease 0.5s both;
}

.thankyou-actions .btn {
    padding: 15px 35px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s;
}

.thankyou-actions .btn-primary {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    border: none;
}

.thankyou-actions .btn-primary:hover {
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.3);
}

.thankyou-actions .btn-outline-primary {
    border-color: #e91e63;
    color: #e91e63;
}

.thankyou-actions .btn-outline-primary:hover {
    background: #e91e63;
    color: white;
    transform: translateY(-3px);
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .thankyou-title {
        font-size: 2rem;
    }
    
    .order-number {
        font-size: 2.5rem;
    }
    
    .order-item {
        flex-wrap: wrap;
        position: relative;
    }
    
    .item-image {
        flex: 0 0 60px;
        margin-right: 15px;
    }
    
    .item-info {
        flex: 1;
        min-width: 200px;
    }
    
    .item-quantity {
        margin-left: 75px;
        text-align: left;
    }
    
    .item-price {
        margin-left: 75px;
        text-align: left;
    }
    
    .thankyou-actions .btn {
        display: block;
        width: 100%;
        margin: 0 0 15px 0 !important;
    }
}

@media (max-width: 576px) {
    .thankyou-title {
        font-size: 1.8rem;
    }
    
    .order-number {
        font-size: 2rem;
    }
    
    .summary-item {
        padding: 20px;
    }
    
    .order-details-card,
    .shipping-info-card,
    .contact-info-card,
    .order-note-card {
        padding: 20px;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.card-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.user-details {
    display: grid;
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-label {
    font-weight: 600;
    color: #333;
    min-width: 100px;
}

.detail-value {
    color: #666;
}

/* Быстрые действия */
.account-actions-grid {
    margin: 30px 0;
}

.action-card {
    display: block;
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    color: #e91e63;
}

.action-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    color: white;
}

#contact-block {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 16px;
}
#contact-block > div {
    width: 28%;
    min-width: 185px;
}
.soc-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    margin-right: 10px;
}
#contacts-wrap a {
    color: #333;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    text-decoration: none;
}

.action-card:hover .action-icon {
    transform: scale(1.1);
}

.action-card h6 {
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.action-card p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Последние заказы */
.recent-orders-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.card-header h5 {
    font-weight: 600;
    color: #333;
    margin: 0;
}

.view-all {
    color: #e91e63;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.view-all:hover {
    color: #c2185b;
    transform: translateX(3px);
}

.card-body {
    padding: 25px;
}

/* Таблица заказов */
.orders-table .table {
    margin: 0;
}

.orders-table th {
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e91e63;
    padding: 15px;
}

.orders-table td {
    padding: 15px;
    vertical-align: middle;
    border-color: #f0f0f0;
}

.order-status {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.status-processing {
    background: #d1ecf1;
    color: #0c5460;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-cancelled {
    background: #f8d7da;
    color: #721c24;
}

/* Навигация WooCommerce */
.woocommerce-MyAccount-navigation {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.woocommerce-MyAccount-navigation li {
    flex: 1;
    min-width: 200px;
}

.woocommerce-MyAccount-navigation a {
    display: block;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.woocommerce-MyAccount-navigation a:hover {
    background: #e91e63;
    color: white;
    transform: translateX(5px);
    border-left-color: #c2185b;
}

.woocommerce-MyAccount-navigation .is-active a {
    background: #e91e63;
    color: white;
    border-left-color: #c2185b;
}

/* Формы в кабинете */
.woocommerce-EditAccountForm,
.woocommerce-address-fields {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.woocommerce-form-row {
    margin-bottom: 20px;
}

.woocommerce-form-row label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.woocommerce-form-row input,
.woocommerce-form-row select,
.woocommerce-form-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.woocommerce-form-row input:focus,
.woocommerce-form-row select:focus,
.woocommerce-form-row textarea:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    outline: none;
}

.button {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
}

.button:hover {
    background: linear-gradient(135deg, #c2185b 0%, #e91e63 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

/* Адаптивность */
@media (max-width: 992px) {
    .account-page {
        padding: 15px;
    }
    
    .account-title {
        font-size: 2rem;
    }
    
    .woocommerce-MyAccount-navigation ul {
        flex-direction: column;
    }
    
    .woocommerce-MyAccount-navigation li {
        min-width: 100%;
    }
    
    .action-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .account-header {
        padding: 20px;
    }
    
    .account-info-card .row {
        flex-direction: column;
        gap: 20px;
    }
    
    .account-info-card .col-md-4 {
        text-align: left;
    }
    
    .orders-table .table-responsive {
        overflow-x: auto;
    }
    
    .orders-table th,
    .orders-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .account-title {
        font-size: 1.8rem;
    }
    
    .account-actions-grid .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .action-card {
        margin-bottom: 15px;
    }
    
    .user-details {
        grid-template-columns: 1fr;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-label {
        min-width: auto;
    }
}
/* Кастомные кнопки количества в карточке товара */
.quantity-control-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #666;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.quantity-btn:hover {
    border-color: #e91e63;
    background: #e91e63;
    color: white;
    transform: scale(1.1);
}

.quantity-btn:active {
    transform: scale(0.95);
}

.quantity-display {
    min-width: 60px;
    text-align: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.quantity-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e91e63;
    margin-right: 3px;
}

.quantity-text {
    color: #666;
    font-size: 0.8rem;
}

.remove-from-cart-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.remove-from-cart-btn:hover {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
    transform: scale(1.1);
}

/* Кнопка добавления в корзину */
.add-to-cart-inline {
    padding: 10px 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.add-to-cart-inline:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

.add-to-cart-inline:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Анимация изменения количества */
@keyframes quantityChange {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.quantity-change {
    animation: quantityChange 0.3s ease;
}

/* Уведомление о добавлении в корзину */
.cart-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    max-width: 300px;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Счетчик в шапке */
.cart-count {
    background: #e91e63;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 5px;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-count.pulse {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* ============================================
   СТИЛИ ДЛЯ МОБИЛЬНОГО МЕНЮ (СВЕТЛАЯ ТЕМА)
   ============================================ */

/* Offcanvas меню */
.offcanvas {
    font-family: 'Montserrat', sans-serif !important;
    background: white;
    width: 50% !important; /* Половина ширины экрана */
    min-width: 280px;
    max-width: 400px;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.1);
}

.offcanvas-start {
    border-right: none;
}

.offcanvas-header {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    border-bottom: none;
    padding: 20px 25px;
}

.offcanvas-title {
    font-weight: 700 !important;
    color: white;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    margin: 0;
}

.offcanvas-body {
    padding: 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e91e63 #f5f5f5;
}

.offcanvas-body::-webkit-scrollbar {
    width: 6px;
}

.offcanvas-body::-webkit-scrollbar-track {
    background: #f5f5f5;
}

.offcanvas-body::-webkit-scrollbar-thumb {
    background: #e91e63;
    border-radius: 3px;
}

/* Кнопка закрытия */
.btn-close {
    filter: brightness(0.5);
    opacity: 0.8;
    transition: all 0.3s;
    padding: 10px !important;
    background-size: 1em !important;
    background-position: center !important;
}

.btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

/* Кнопка открытия меню */
[data-bs-toggle="offcanvas"] {
    font-size: 1.5rem;
    color: #e91e63;
    padding: 5px 10px;
    transition: all 0.3s;
    background: transparent;
    border: none;
    outline: none;
}

[data-bs-toggle="offcanvas"]:hover {
    color: #c2185b;
    transform: scale(1.1);
}

/* ============================================
   СТИЛИ ДЛЯ КАТЕГОРИЙ МЕНЮ
   ============================================ */

/* Категории в сайдбаре */
.sidebar .category-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar .category-menu a {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.sidebar .category-menu a:hover {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1) 0%, rgba(194, 24, 91, 0.1) 100%);
    color: #e91e63;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(233, 30, 99, 0.1);
}

.sidebar .category-menu a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: #e91e63;
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.sidebar .category-menu a:hover:before {
    transform: translateX(0);
}

/* Категории в мобильном меню */
.mobile-menu .category-menu {
    padding: 20px 25px;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-menu .category-menu a {
    display: block;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 8px;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.mobile-menu .category-menu a:last-child {
    margin-bottom: 0;
}

.mobile-menu .category-menu a:hover {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    border-color: #e91e63;
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(233, 30, 99, 0.2);
}

/* Offcanvas меню с категориями */
.offcanvas .category-menu {
    padding: 25px;
    background: #f8f9fa;
}

.offcanvas .category-menu a {
    display: block;
    padding: 14px 18px;
    background: white;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 10px;
    transition: all 0.3s;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.offcanvas .category-menu a:last-child {
    margin-bottom: 0;
}

.offcanvas .category-menu a:hover {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    transform: translateX(8px);
    border-color: #e91e63;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.3);
}

/* Иконки для категорий */
.offcanvas .category-menu a:before {
    content: '→';
    display: inline-block;
    margin-right: 10px;
    font-weight: 600;
    color: #e91e63;
    transition: all 0.3s;
}

.offcanvas .category-menu a:hover:before {
    color: white;
    transform: translateX(3px);
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 768px) {
    .offcanvas {
        width: 85% !important; /* На мобильных почти весь экран */
        max-width: none;
    }
    
    .offcanvas-header {
        padding: 15px 20px;
    }
    
    .offcanvas-title {
        font-size: 1.3rem;
    }
    
    .offcanvas .category-menu {
        padding: 20px;
    }
    
    .offcanvas .category-menu a {
        padding: 12px 15px;
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
}

@media (max-width: 576px) {
    .offcanvas {
        width: 90% !important;
    }
    
    .offcanvas-header {
        padding: 12px 15px;
    }
    
    .offcanvas-title {
        font-size: 1.2rem;
    }
    
    .offcanvas .category-menu {
        padding: 15px;
    }
    
    .offcanvas .category-menu a {
        padding: 10px 12px;
        font-size: 0.9rem;
        margin-bottom: 6px;
    }
}

/* ============================================
   АНИМАЦИИ
   ============================================ */

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.offcanvas .category-menu a {
    animation: slideInFromLeft 0.3s ease forwards;
    opacity: 0;
}

.offcanvas .category-menu a:nth-child(1) { animation-delay: 0.1s; }
.offcanvas .category-menu a:nth-child(2) { animation-delay: 0.15s; }
.offcanvas .category-menu a:nth-child(3) { animation-delay: 0.2s; }
.offcanvas .category-menu a:nth-child(4) { animation-delay: 0.25s; }
.offcanvas .category-menu a:nth-child(5) { animation-delay: 0.3s; }
.offcanvas .category-menu a:nth-child(6) { animation-delay: 0.35s; }
.offcanvas .category-menu a:nth-child(7) { animation-delay: 0.4s; }
.offcanvas .category-menu a:nth-child(8) { animation-delay: 0.45s; }
.offcanvas .category-menu a:nth-child(9) { animation-delay: 0.5s; }
.offcanvas .category-menu a:nth-child(10) { animation-delay: 0.55s; }
.offcanvas .category-menu a:nth-child(11) { animation-delay: 0.6s; }

/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ КАТЕГОРИЙ
   ============================================ */

/* Бейджи для количества товаров в категории */
.category-badge {
    display: inline-block;
    padding: 3px 8px;
    background: #e91e63;
    color: white;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

/* Категории с изображениями (если добавите в будущем) */
.category-with-image {
    position: relative;
    overflow: hidden;
}

.category-with-image img {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.2;
}

.category-with-image:hover img {
    opacity: 0.4;
}

/* Категории в виде карточек */
.category-card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(233, 30, 99, 0.15);
    border-color: #e91e63;
}

.category-card .category-title {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.category-card .category-count {
    color: #666;
    font-size: 0.85rem;
}

/* Горизонтальное меню категорий для десктопа */
.horizontal-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 0;
}

.horizontal-categories a {
    padding: 8px 16px;
    background: white;
    border-radius: 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 1px solid #e0e0e0;
}

.horizontal-categories a:hover {
    background: #e91e63;
    color: white;
    border-color: #e91e63;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.2);
}

/* Стили для функции prosto_sedi_display_categories() */
.prosto-sedi-categories {
    margin: 0;
    padding: 0;
    list-style: none;
}

.prosto-sedi-categories li {
    margin-bottom: 5px;
}

.prosto-sedi-categories a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
}

.prosto-sedi-categories a:hover {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
    color: white;
    border-color: #e91e63;
    padding-left: 20px;
}

.prosto-sedi-categories .count {
    background: #f8f9fa;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #666;
    transition: all 0.3s;
}

.prosto-sedi-categories a:hover .count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.payment-option, .partner-card { background: #fff; border-radius: 12px; padding: 25px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: 0.3s; height: 100%; }
.payment-option:hover, .partner-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(102,126,234,0.2); }
.payment-icon { text-align: center; margin-bottom: 20px; }
.payment-icon img { max-width: 80px; height: auto; }
.payment-title { font-size: 20px; font-weight: 700; color: #333; margin-bottom: 10px; text-align: center; }
.payment-descr { font-size: 14px; color: #555; line-height: 1.6; }
.bonus-option { background: linear-gradient(135deg, rgba(102,126,234,0.05), rgba(118,75,162,0.05)); border: 1px dashed #667eea; }
.notify-block { background: #f8f9fa; border-radius: 12px; padding: 30px; border-left: 4px solid #667eea; }
.fancy-list { list-style: none; padding: 0; margin: 0; }
.fancy-list li { padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid #eee; }
.fancy-list li:last-child { border-bottom: none; }
.fancy-list li i { position: absolute; left: 0; top: 12px; color: #667eea; }
.partner-card { text-align: center; display: flex; align-items: center; justify-content: center; }
.partner-card a { text-decoration: none; color: #667eea; font-weight: 600; font-size: 16px; display: block; width: 100%; }
.mt20 { margin-top: 20px; }
.mt30 { margin-top: 30px; }
.mb20 { margin-bottom: 20px; }