.elementor-33555 .elementor-element.elementor-element-f1939bf{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-8650bd4 *//* 🎨 СТИЛИЗАЦИЯ СТРАНИЦЫ ИЗБРАННОГО YITH */

/* Общий контейнер */
.yith-wcwl-form {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Заголовок страницы */
.yith-wcwl-form h2,
.yith-wcwl-form .entry-title {
    color: #3c4863;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Таблица избранного */
.yith-wcwl-form table.shop_table {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: none;
    margin-bottom: 30px;
    width: 100%;
}

/* Заголовки таблицы */
.yith-wcwl-form table.shop_table thead th {
    background: linear-gradient(to right, #3c4863, #4a5a7a);
    color: white;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    text-align: center;
    vertical-align: middle;
}

/* Ячейки таблицы */
.yith-wcwl-form table.shop_table tbody td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    color: #333;
    text-align: center;
}

/* 🔴 ИСПРАВЛЕНИЕ: Колонка удаления (крестик) */
.yith-wcwl-form table.shop_table td.product-remove,
.yith-wcwl-form table.shop_table th.product-remove {
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
    padding: 10px !important;
    text-align: center !important;
    vertical-align: middle !important;
}

/* Кнопка удаления (крестик) */
.yith-wcwl-form a.remove,
.yith-wcwl-form a.remove_from_wishlist,
.yith-wcwl-form button.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    margin: 0 auto !important;
    color: #e74c3c !important;
    background: rgba(231, 76, 60, 0.1) !important;
    border: 2px solid #e74c3c !important;
    border-radius: 50% !important;
    font-size: 18px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.yith-wcwl-form a.remove:hover,
.yith-wcwl-form a.remove_from_wishlist:hover,
.yith-wcwl-form button.remove:hover {
    background: #e74c3c !important;
    color: white !important;
    transform: scale(1.1) !important;
}

/* Строки таблицы при наведении */
.yith-wcwl-form table.shop_table tbody tr:hover {
    background: #f8f9fa;
    transition: all 0.3s;
}

/* Изображения товаров */
.yith-wcwl-form .product-thumbnail img,
.yith-wcwl-form td.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s;
    margin: 0 auto;
    display: block;
}

.yith-wcwl-form .product-thumbnail img:hover {
    transform: scale(1.05);
}

/* Колонка с изображением */
.yith-wcwl-form table.shop_table td.product-thumbnail,
.yith-wcwl-form table.shop_table th.product-thumbnail {
    width: 120px !important;
    min-width: 120px !important;
}

/* Название товара */
.yith-wcwl-form .product-name a,
.yith-wcwl-form td.product-name a {
    color: #3c4863;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.yith-wcwl-form .product-name a:hover {
    color: #e5b176;
}

/* Цена */
.yith-wcwl-form .product-price .amount,
.yith-wcwl-form td.product-price .amount {
    color: #e74c3c;
    font-weight: bold;
    font-size: 18px;
}

.yith-wcwl-form .product-price del .amount,
.yith-wcwl-form td.product-price del .amount {
    color: #999;
    font-weight: normal;
}

/* Кнопка "Добавить в корзину" */
.yith-wcwl-form a.add_to_cart,
.yith-wcwl-form button.add_to_cart,
.yith-wcwl-form td.product-add-to-cart a,
.yith-wcwl-form td.product-add-to-cart button {
    background: linear-gradient(to bottom, #3c4863, #4a5a7a);
    color: white !important;
    border: none;
    border-radius: 25px;
    padding: 10px 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    text-decoration: none !important;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.yith-wcwl-form a.add_to_cart:hover,
.yith-wcwl-form button.add_to_cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
    background: linear-gradient(to bottom, #4a5a7a, #3c4863);
}

/* Колонка "Добавить в корзину" */
.yith-wcwl-form table.shop_table td.product-add-to-cart,
.yith-wcwl-form table.shop_table th.product-add-to-cart {
    width: 180px !important;
}

/* ✅ СТАТУС "В НАЛИЧИИ" / "НЕТ В НАЛИЧИИ" */

/* Ячейка со статусом */
.yith-wcwl-form table.shop_table td.product-stock-status,
.yith-wcwl-form table.shop_table td.wishlist-status,
.yith-wcwl-form table.shop_table td[class*="stock"] {
    text-align: center !important;
    vertical-align: middle !important;
    padding: 15px 10px !important;
}

/* Сам статус - бейдж */
.yith-wcwl-form table.shop_table td.product-stock-status span,
.yith-wcwl-form table.shop_table td.wishlist-status span,
.yith-wcwl-form table.shop_table td[class*="stock"] span,
.yith-wcwl-form .yith-wcwl-stock-status,
.yith-wcwl-form .stock-status,
.yith-wcwl-form .in-stock,
.yith-wcwl-form .out-of-stock {
    display: inline-block !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: center !important;
    white-space: nowrap !important;
    margin: 0 auto !important;
}

/* В наличии - зелёный */
.yith-wcwl-form .in-stock,
.yith-wcwl-form .stock-status.in-stock,
.yith-wcwl-form .yith-wcwl-stock-status.in-stock,
.yith-wcwl-form table.shop_table td.product-stock-status .in-stock {
    color: #27ae60 !important;
    background: rgba(39, 174, 96, 0.1) !important;
    border: 1px solid rgba(39, 174, 96, 0.3) !important;
}

/* Нет в наличии - красный */
.yith-wcwl-form .out-of-stock,
.yith-wcwl-form .stock-status.out-of-stock,
.yith-wcwl-form .yith-wcwl-stock-status.out-of-stock,
.yith-wcwl-form table.shop_table td.product-stock-status .out-of-stock {
    color: #e74c3c !important;
    background: rgba(231, 76, 60, 0.1) !important;
    border: 1px solid rgba(231, 76, 60, 0.3) !important;
}

/* Если статус просто текст (без класса) */
.yith-wcwl-form table.shop_table td.product-stock-status {
    font-weight: 600 !important;
    font-size: 14px !important;
}

.yith-wcwl-form table.shop_table td.product-stock-status:contains("В наличии") {
    color: #27ae60 !important;
}

.yith-wcwl-form table.shop_table td.product-stock-status:contains("Нет в наличии") {
    color: #e74c3c !important;
}

/* Колонка статуса - фиксированная ширина */
.yith-wcwl-form table.shop_table td.product-stock-status,
.yith-wcwl-form table.shop_table th.product-stock-status {
    width: 140px !important;
    min-width: 140px !important;
}

/* Сообщение "Список пуст" */
.yith-wcwl-form .wishlist-empty {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.yith-wcwl-form .wishlist-empty p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.yith-wcwl-form .wishlist-empty a {
    background: linear-gradient(to bottom, #e5b176, #f0c48c);
    color: #3c4863 !important;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.yith-wcwl-form .wishlist-empty a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .yith-wcwl-form table.shop_table {
        font-size: 14px;
    }
    
    .yith-wcwl-form table.shop_table tbody td {
        padding: 12px 8px;
    }
    
    .yith-wcwl-form .product-thumbnail img,
    .yith-wcwl-form td.product-thumbnail img {
        width: 60px;
        height: 60px;
    }
    
    .yith-wcwl-form a.add_to_cart,
    .yith-wcwl-form button.add_to_cart {
        padding: 8px 18px;
        font-size: 12px;
    }
    
    .yith-wcwl-form table.shop_table td.product-remove {
        width: 40px !important;
        min-width: 40px !important;
    }
    
    .yith-wcwl-form a.remove {
        width: 28px !important;
        height: 28px !important;
        line-height: 28px !important;
        font-size: 16px !important;
    }
}/* End custom CSS */