/* Сердечко-кнопка */
.wc-fav-btn {
font-size: 12px;
position: absolute;
    width: 32px;
    height: 32px;
    color: #8d6e63;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex
;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 15;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(141, 110, 99, 0.2);
    padding: 0;
}
.wc-fav-btn:hover {
    color: #e74c3c;
}
.wc-favorites-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    padding: 15px 0;
    border-bottom: 1px solid #bdbdbd66;
}
.wc-fav-btn.favorited {
    color: #e74c3c; /* красное сердечко */
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
    border-color: rgba(231, 76, 60, 0.3);
}

/* Всплывающее сообщение */
.wc-fav-notice {
    position: fixed;
    top: 80px;
    right: 20px;
    background: #27ae60;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    display: none;
    z-index: 9999;
    font-weight: bold;
}
/* Счетчик в шапке как ссылка */
#wc-favorites-counter a {
    position: relative;
    color: #5d4037;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    padding: 11px 12px;
    border-radius: 50%;
}
#wc-favorites-counter a:hover {
    color: #8d6e63;
    background: rgba(141, 110, 99, 0.08);
}
/* Стиль страницы избранного */
.wc-favorites-list {
list-style: none;
    background: #fff;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    position: sticky;
    top: 130px;
    transition: transform 0.2s ease-out;
    will-change: transform;
}
.wc-fav-to-cart {
    text-align: center !important;
    background: #a100ff00 !important;
    color: var(--wf-main-color) !important;
    border: 1px solid var(--wf-main-color) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    padding: 3px 8px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}
.wc-fav-to-cart:hover {
    background: var(--wf-main-color) !important;
    color: #ffffff !important;
    border: 1px solid var(--wf-main-color) !important;
}
.wc-favorites-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.wc-fav-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.wc-fav-img img {
    width: 80px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
}

.wc-fav-info {
    flex: 1;
}

.wc-fav-info a {
text-decoration: none;
    font-weight: 600;
    color: #5d4037;
    font-size: 13px;
}
/* Стили для кастомизации цен WooCommerce */
.wcts-price-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px 0;
margin-bottom: 0;
}

.wcts-price-wrapper .woocommerce-Price-amount {
    font-size: 16px;
    font-weight: bold;
}

.wcts-regular-price .woocommerce-Price-amount {
    color: #999 !important;
    font-size: 14px !important;
    text-decoration: line-through !important;
    font-weight: 500;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .wcts-price-wrapper {
        align-items: flex-start;
        gap: 3px !important;
    }
    
    .wcts-sale-price .woocommerce-Price-amount {
        font-size: 16px !important;
    }
    
    .wcts-normal-price .woocommerce-Price-amount {
        font-size: 16px !important;
    }
    
    .wcts-discount-badge {
        font-size: 10px !important;
        padding: 2px 5px !important;
        margin-left: 5px !important;
    }
}

/* Стили для страницы избранного */
.wc-favorites-list .wcts-price-wrapper {
    justify-content: flex-start;
    margin: 0;
}

.wc-favorites-list .wcts-sale-price .woocommerce-Price-amount {
    font-size: 16px !important;
}

.wc-favorites-list .wcts-normal-price .woocommerce-Price-amount {
    font-size: 16px !important;
}
.wc-fav-info button {
margin-top: 5px;
    background: #f7f7f700;
    border: 0px solid #ccc;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-weight: 400;
}

#wc-favorites-counter {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
}

#wc-favorites-counter.hidden {
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
}