.favorites-page {
    background: linear-gradient(to bottom, #fdfbf6 0%, #ffffff 100%);
    min-height: 100vh;
    padding: 40px 0;
}

.favorites-header {
    background: linear-gradient(135deg, #8a7a3f 0%, #6f6134 100%);
    color: white;
    padding: 30px 0;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(138, 122, 63, 0.15);
}

.favorites-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.favorites-header h1 i {
    font-size: 28px;
}

.favorites-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-top: 10px;
    opacity: 0.95;
}

.favorites-breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.favorites-breadcrumb a:hover {
    opacity: 0.8;
}

.favorites-breadcrumb span {
    opacity: 0.7;
}

.favorites-count-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.alert-modern {
    border: none;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.alert-modern i {
    font-size: 20px;
}

.alert-modern-success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.alert-modern-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.alert-modern .close {
    color: white;
    opacity: 0.8;
    font-size: 24px;
    font-weight: 300;
}

.product-card {
    background: white;
    border: 2px solid #e5d9c3;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: #8a7a3f;
    box-shadow: 0 12px 24px rgba(138, 122, 63, 0.15);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #faf6ed;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.1);
}

.favorite-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ef4444;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20% { transform: scale(1.05); }
}

.product-sale-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #10b981;
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.product-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #2f2f2f;
    margin-bottom: 10px;
    display: block;
    text-decoration: none;
    line-height: 1.4;
    min-height: 44px;
    transition: color 0.3s ease;
}

.product-title:hover {
    color: #8a7a3f;
}

.product-rating {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-rating i {
    color: #fbbf24;
    font-size: 14px;
}

.product-rating i.empty {
    color: #e5d9c3;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.product-price {
    font-size: 22px;
    font-weight: 700;
    color: #8a7a3f;
}

.product-old-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.btn-add-cart {
    flex: 1;
    background: linear-gradient(135deg, #8a7a3f 0%, #6f6134 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(138, 122, 63, 0.2);
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(138, 122, 63, 0.3);
    color: white;
}

.btn-remove {
    width: 44px;
    height: 44px;
    background: white;
    border: 2px solid #ef4444;
    border-radius: 10px;
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 18px;
    flex-shrink: 0;
}

.btn-remove:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

.empty-favorites-container {
    background: white;
    border: 2px solid #e5d9c3;
    border-radius: 20px;
    padding: 80px 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.empty-favorites-icon {
    font-size: 100px;
    color: #e5d9c3;
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.empty-favorites-title {
    font-size: 28px;
    font-weight: 700;
    color: #2f2f2f;
    margin-bottom: 12px;
}

.empty-favorites-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-start-shopping {
    background: linear-gradient(135deg, #8a7a3f 0%, #6f6134 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(138, 122, 63, 0.3);
}

.btn-start-shopping:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(138, 122, 63, 0.4);
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .favorites-page {
        padding: 20px 0;
    }

    .favorites-header {
        padding: 20px 0;
        margin-bottom: 24px;
    }

    .favorites-header h1 {
        font-size: 24px;
        flex-wrap: wrap;
    }

    .favorites-header h1 i {
        font-size: 22px;
    }

    .favorites-count-badge {
        font-size: 13px;
        padding: 4px 12px;
        margin-left: 0;
        margin-top: 8px;
    }

    .favorites-breadcrumb {
        font-size: 13px;
        margin-top: 12px;
    }

    .product-card {
        margin-bottom: 16px;
    }

    .product-title {
        font-size: 15px;
        min-height: 40px;
    }

    .product-price {
        font-size: 20px;
    }

    .empty-favorites-container {
        padding: 60px 20px;
    }

    .empty-favorites-icon {
        font-size: 70px;
    }

    .empty-favorites-title {
        font-size: 22px;
    }

    .empty-favorites-text {
        font-size: 15px;
    }

    .btn-start-shopping {
        font-size: 16px;
        padding: 14px 28px;
    }
}

@media (max-width: 576px) {
    .favorite-badge {
        width: 36px;
        height: 36px;
        font-size: 16px;
        top: 10px;
        right: 10px;
    }

    .product-sale-badge {
        font-size: 11px;
        padding: 5px 10px;
        top: 10px;
        left: 10px;
    }

    .product-content {
        padding: 16px;
    }

    .product-actions {
        gap: 8px;
    }

    .btn-add-cart {
        padding: 10px 12px;
        font-size: 13px;
    }

    .btn-remove {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}