/* =============================================================================
   Wishlist page — Amber Oud (template-1)
   Deep oud / antique gold / warm parchment.
   ========================================================================== */

.wishlist-page {
    background: var(--bs-body);
    color: var(--bs-body-color);
    min-height: 60vh;
}

/* ---------- Heading ---------- */
.wishlist-heading {
    text-align: center;
    margin-bottom: 3rem;
}
.wishlist-eyebrow {
    font-family: var(--bs-body-font-family);
    text-transform: uppercase;
    letter-spacing: 0.24em;
    font-size: 0.72rem;
    color: var(--bs-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.wishlist-title {
    font-family: var(--bs-heading-font-family);
    font-size: clamp(2rem, 2.5vw + 1rem, 3rem);
    font-weight: 500;
    color: var(--bs-primary);
    margin: 0 0 0.75rem;
    letter-spacing: 0.005em;
}
.wishlist-flourish {
    display: block;
    width: 64px;
    height: 2px;
    background: var(--bs-secondary);
    margin: 0 auto 1rem;
}
.wishlist-sub {
    font-family: var(--bs-body-font-family);
    color: var(--bs-secondary-color);
    font-size: 0.95rem;
    margin: 0 auto;
    max-width: 42rem;
    font-style: italic;
}

/* ---------- Empty state ---------- */
.wishlist-empty {
    text-align: center;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    padding: 4rem 1.75rem;
    margin: 1rem auto 0;
    max-width: 38rem;
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.06);
}
.wishlist-empty-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bs-secondary-bg);
    color: var(--bs-secondary);
    border: 1px solid var(--bs-border-color);
}
.wishlist-empty-title {
    font-family: var(--bs-heading-font-family);
    font-size: 1.625rem;
    font-weight: 500;
    margin: 0 0 0.5rem;
    color: var(--bs-primary);
}
.wishlist-empty-sub {
    font-family: var(--bs-body-font-family);
    color: var(--bs-secondary-color);
    margin: 0 auto 1.75rem;
    max-width: 28rem;
    font-size: 0.95rem;
    line-height: 1.65;
}
.wishlist-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.85rem 1.75rem;
    background: var(--bs-primary);
    color: var(--bs-body);
    font-family: var(--bs-body-font-family);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    border-radius: 0.25rem;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
}
.wishlist-empty-btn:hover {
    background: var(--bs-body-color);
    color: var(--bs-secondary);
}

/* ---------- Grid item wrap (hosts the X remove button) ---------- */
.wishlist-item { position: relative; }
.wishlist-item-wrap { position: relative; }

.wishlist-remove-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--bs-border-color);
    background: rgba(var(--bs-body-bg-rgb), 0.96);
    color: var(--bs-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.wishlist-remove-btn:hover {
    background: var(--bs-danger);
    color: var(--bs-body);
    border-color: var(--bs-danger);
}
.wishlist-remove-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.wishlist-item.is-leaving { opacity: 0; transform: scale(0.97); transition: opacity 0.18s ease, transform 0.18s ease; }

@media (max-width: 575.98px) {
    .wishlist-heading { margin-bottom: 1.75rem; }
    .wishlist-empty { padding: 2.5rem 1.25rem; }
    .wishlist-empty-icon { width: 72px; height: 72px; }
    .wishlist-remove-btn { width: 26px; height: 26px; top: 8px; left: 8px; }
}
