/* ================================================
   ALHIDAYA — Styles Page Wishlist
   ================================================ */

/* ================================================
   HEADER
   ================================================ */
.wishlist-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 32px 0 24px;
}

.wishlist-titre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 36px;
    font-weight: 600;
    color: var(--text);
}

.wishlist-count {
    font-size: 14px;
    color: var(--text-muted);
    background: var(--warm-gray);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ================================================
   GRILLE
   ================================================ */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

/* ================================================
   ITEM WISHLIST
   ================================================ */
.wishlist-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.wishlist-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/* Image */
.wishlist-item-img {
    height: 200px;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 12px;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
}

.wishlist-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.3s;
}

.wishlist-item:hover .wishlist-item-img img {
    transform: scale(1.05);
}

.wishlist-no-img {
    font-size: 48px;
    color: var(--border);
}

/* Tags */
.wl-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}

.tag-promo { background: #e53e3e; color: white; }

/* Body */
.wishlist-item-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wishlist-item-cat {
    font-size: 10px;
    color: var(--teal);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.wishlist-item-nom {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    line-height: 1.4;
    flex: 1;
}

.wishlist-item-nom:hover { color: var(--teal); }

.wishlist-item-prix {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.prix-now {
    font-size: 17px;
    font-weight: 700;
    color: var(--teal-dark);
}

.prix-old {
    font-size: 12px;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Stock out */
.wishlist-stock-out {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #e53e3e;
    margin-bottom: 10px;
}

/* Actions */
.wishlist-item-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.wl-btn-panier {
    flex: 1;
    background: linear-gradient(135deg, var(--teal), var(--teal-dark));
    color: white;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.wl-btn-panier:hover { opacity: 0.88; }
.wl-btn-panier:disabled {
    background: var(--border);
    color: var(--text-muted);
    cursor: not-allowed;
}

.wl-btn-retirer {
    width: 40px;
    height: 40px;
    border: 1.5px solid #fde8e8;
    border-radius: 8px;
    background: #fde8e8;
    color: #e53e3e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.15s;
    text-decoration: none;
    flex-shrink: 0;
}

.wl-btn-retirer:hover {
    background: #e53e3e;
    color: white;
    border-color: #e53e3e;
}

/* ================================================
   FOOTER
   ================================================ */
.wishlist-footer {
    padding: 20px 0 60px;
    display: flex;
    justify-content: center;
}

/* ================================================
   WISHLIST VIDE
   ================================================ */
.wishlist-vide {
    text-align: center;
    padding: 100px 20px 60px;
}

.wishlist-vide-icon {
    font-size: 72px;
    color: var(--border);
    margin-bottom: 20px;
    line-height: 1;
}

.wishlist-vide-titre {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.wishlist-vide-desc {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 991px) {
    .wishlist-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .wishlist-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .wishlist-grid { grid-template-columns: 1fr; }
    .wishlist-titre { font-size: 28px; }
}