/**
 * Luxury Theme - Wishlist Page Styles
 */

.profile-layout-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

@media(max-width: 900px) {
    .profile-layout-grid { grid-template-columns: 1fr; }
    .sidebar-col { margin-bottom: 40px; }
}

/* Filters */
.wishlist-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    scrollbar-width: none;
}

.wishlist-filters::-webkit-scrollbar {
    display: none;
}

.wishlist-filters a {
    padding: 10px 20px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid #eee;
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.wishlist-filters a:hover, .wishlist-filters a.active {
    background: #000;
    color: #fff;
    border-color: #000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Grid */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:not(.out-of-stock):hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

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

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:not(.out-of-stock):hover .card-image img {
    transform: scale(1.1);
}

.btn-remove {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    color: #e74c3c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 5;
    transition: 0.3s;
}

.btn-remove:hover {
    transform: scale(1.15);
    background: #fff;
    color: #c0392b;
}

.card-details {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-details h3 {
    font-size: 1.05rem;
    margin: 0 0 12px;
    line-height: 1.5;
    font-weight: 600;
}

.card-details h3 a {
    color: #222;
    text-decoration: none;
    transition: 0.2s;
}

.card-details h3 a:hover {
    color: #555;
}

.price-block {
    font-weight: 700;
    color: #000;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.old-price {
    text-decoration: line-through;
    color: #545b62;
    font-size: 0.95rem;
    margin-right: 10px;
}

.new-price {
    color: #e74c3c;
}

.price-drop-alert {
    margin-top: auto;
    margin-bottom: 15px;
    font-size: 0.8rem;
    color: #16a085;
    background: #f0fff4;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.badge-sale {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #000;
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    z-index: 4;
}

/* Empty State */
.empty-state { 
    text-align: center; 
    padding: 80px 40px; 
    background: #fdfdfd;
    border: 2px dashed #eee; 
    border-radius: 20px; 
    color: #888;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.empty-state:hover {
    border-color: #ddd;
    background: #fafafa;
}

.empty-state i { 
    font-size: 3.5rem; 
    margin-bottom: 25px; 
    color: #ddd;
}

.empty-state h4 { 
    color: #222; 
    margin-bottom: 12px; 
    font-weight: 700;
    font-size: 1.5rem;
}

.empty-state p { 
    font-size: 1rem; 
    color: #666; 
    max-width: 450px; 
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.btn-primary {
    background: #000;
    color: #fff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}