/* ============================================
   WISHLIST PAGE — wishlist.css
   ============================================ */

/* Active heart icon in navbar */


/* ===== HERO ===== */
.wl-hero {
    position: relative;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

.wl-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #1a1423 0%, #3d2a5a 60%, #6a4c93 100%);
    z-index: 0;
}

.wl-hero-blobs { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: hidden; }
.wl-hero-blobs .blob-1 { width: 260px; height: 260px; background: rgba(229,57,53,0.15); top: -80px; right: 8%; filter: blur(50px); border-radius: 50%; position: absolute; animation: float 14s infinite ease-in-out; }
.wl-hero-blobs .blob-2 { width: 180px; height: 180px; background: rgba(255,158,0,0.18); bottom: -50px; left: 8%; filter: blur(40px); border-radius: 50%; position: absolute; animation: float 20s infinite ease-in-out reverse; }

.wl-hero-content { position: relative; z-index: 2; padding: 0 20px; }

.wl-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(229,57,53,0.2);
    border: 1px solid rgba(229,57,53,0.4);
    color: orange;
    padding: 5px 18px;
    border-radius: 30px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.wl-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.wl-hero-content h1 span { color: orange; font-family: 'Samarkan', cursive;}

.wl-hero-content > p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 16px;
}

.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 0.78rem; font-family: 'Montserrat', sans-serif; opacity: 0.65; }
.breadcrumb a { color: white; text-decoration: none; }
.breadcrumb a:hover { color: #ff6b6b; }
.breadcrumb i { font-size: 0.6rem; }
.breadcrumb span { color: orange; font-weight: 600; }

/* ===== WISHLIST SECTION ===== */
.wl-section {
    padding: 60px 0 80px;
    background: var(--secondary);
    min-height: 50vh;
}

.wl-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== EMPTY STATE ===== */
.wl-empty {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.wl-empty-icon {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: #fff5f5;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
    color: #e57373;
    border: 2px dashed rgba(229,57,53,0.25);
}

.wl-empty h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 12px;
}

.wl-empty p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--gray-text);
    max-width: 420px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.wl-empty-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== HEADER BAR ===== */
.wl-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 2px solid #f0eaf8;
    flex-wrap: wrap;
    gap: 14px;
}

.wl-header-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    color: var(--dark);
    margin-bottom: 4px;
}

.wl-header-left h2 span {
    font-size: 1rem;
    color: var(--gray-text);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
}

.wl-header-left p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    color: var(--gray-text);
}

.wl-header-right { display: flex; gap: 10px; flex-wrap: wrap; }

.wl-add-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 3px 10px rgba(106,76,147,0.25);
}

.wl-add-all-btn:hover { background: var(--primary-light); transform: translateY(-2px); box-shadow: 0 6px 16px rgba(106,76,147,0.3); }

.wl-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background: transparent;
    color: var(--gray-text);
    border: 1.5px solid #e0d6f0;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.wl-clear-btn:hover { background: #fff0f0; border-color: #e57373; color: #e53935; }

/* ===== WISHLIST GRID ===== */
.wl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

/* Each wishlist card */
.wl-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
    transition: all 0.35s ease;
    position: relative;
    animation: wlCardIn 0.4s ease forwards;
    opacity: 0;
}

@keyframes wlCardIn {
    from { opacity: 0; transform: scale(0.95) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.wl-card:hover { transform: translateY(-8px); box-shadow: 0 16px 36px rgba(106,76,147,0.12); }

/* Image */
.wl-card-img-wrap {
    height: 240px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.wl-card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

.wl-card:hover .wl-card-img { transform: scale(1.06); }

/* Remove heart button */
.wl-card-remove {
    position: absolute;
    top: 12px; right: 12px;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    color: #e53935;
    font-size: 0.95rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    z-index: 2;
}

.wl-card-remove:hover { background: #e53935; color: white; transform: scale(1.1); }

/* Category badge */
.wl-card-cat {
    position: absolute;
    bottom: 12px; left: 12px;
    background: rgba(255,255,255,0.92);
    color: var(--primary);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 10px;
    text-transform: capitalize;
    backdrop-filter: blur(4px);
}

/* Card body */
.wl-card-body { padding: 16px 18px 18px; }

.wl-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 4px;
    cursor: pointer;
    transition: color 0.25s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wl-card-title:hover { color: var(--primary); }

.wl-card-artist {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.78rem;
    color: var(--gray-text);
    display: block;
    margin-bottom: 12px;
}

.wl-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.wl-card-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
}

.wl-card-add-btn {
    flex: 1;
    padding: 9px 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.wl-card-add-btn:hover { background: var(--primary-light); transform: translateY(-2px); }
.wl-card-add-btn.added { background: #4caf50; }

/* ===== DISCOVER MORE ===== */
.wl-discover {
    padding: 70px 0;
    background: white;
}

.wl-discover-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.wl-discover-header {
    text-align: center;
    margin-bottom: 40px;
}

.wl-discover-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.wl-discover-header h2 span { color: var(--primary); font-family: 'Samarkan', cursive; }

.wl-discover-header p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--gray-text);
}

.wl-discover-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 36px;
}

.disc-card {
    background: var(--secondary);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.06);
}

.disc-card:hover { transform: translateY(-8px); box-shadow: 0 14px 30px rgba(106,76,147,0.12); }

.disc-card-img {
    height: 175px;
    overflow: hidden;
    position: relative;
}

.disc-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.disc-card:hover .disc-card-img img { transform: scale(1.06); }

/* Heart overlay on discover cards */
.disc-card-heart {
    position: absolute;
    top: 10px; right: 10px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    color: #ccc;
    font-size: 0.85rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 2;
}

.disc-card-heart:hover, .disc-card-heart.loved { color: #e53935; background: white; }

.disc-card-body { padding: 12px 14px 14px; }
.disc-card-title { font-family: 'Playfair Display', serif; font-size: 0.92rem; color: var(--dark); font-weight: 700; margin-bottom: 4px; }
.disc-card-price { font-family: 'Montserrat', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; display: block; }

.disc-add-btn {
    width: 100%;
    padding: 7px;
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.disc-add-btn:hover { background: var(--primary); color: white; }

.wl-discover-cta { text-align: center; }

/* Footer fix */
.artist-cta-footer { margin-top: 25px; padding: 12px; background: rgba(255,255,255,0.05); border-radius: 8px; }
.artist-cta-footer p { margin-bottom: 4px; font-size: 0.85rem; opacity: 0.8; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .wl-discover-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .wl-hero { height: 220px; }
    .wl-hero-content h1 { font-size: 2.2rem; }
    .wl-header { flex-direction: column; align-items: flex-start; }
    .wl-header-right { width: 100%; }
    .wl-add-all-btn, .wl-clear-btn { flex: 1; justify-content: center; }
    .wl-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
    .wl-discover-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .wl-hero-content h1 { font-size: 1.8rem; }
    .wl-header-right { flex-direction: column; }
    .wl-add-all-btn, .wl-clear-btn { width: 100%; }
    .wl-grid { grid-template-columns: 1fr; }
    .wl-card-footer { flex-wrap: wrap; gap: 8px; }
    .wl-card-add-btn { flex: 1 1 100%; }
    .wl-discover-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .wl-empty-btns { flex-direction: column; align-items: center; }
    .wl-empty-btns .cta-button { width: 100%; max-width: 280px; justify-content: center; }
}

@media (max-width: 360px) {
    .wl-discover-grid { grid-template-columns: 1fr; }
}
