/* ============================================================
   WISHLIST.CSS — MV Moda Femenina
   Wishlist overlay panel
   ============================================================ */

/* ── Wishlist badge on header button ── */
.hdr-wish-btn {
    position: relative;
}

/* Ensure heart icon is visible on both transparent and solid header */
.hdr-wish-btn svg {
    stroke: var(--cream);
    transition: stroke 0.4s ease;
}

.mv-header.solid .hdr-wish-btn svg,
.mv-header.scrolled .hdr-wish-btn svg {
    stroke: var(--ink);
}

.hdr-wish-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: var(--gold);
    color: var(--ink);
    font-size: 9px;
    font-weight: 700;
    min-width: 15px;
    height: 15px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
}

/* ── Wishlist overlay (slides from right) ── */
.wl-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    pointer-events: none;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
}

.wl-overlay.open {
    pointer-events: auto;
    transform: translateY(0);
}

.wl-panel {
    display: contents;
}

.wl-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.wl-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ink);
}

.wl-title svg {
    color: var(--gold);
}

.wl-close {
    background: none;
    border: none;
    font-size: 18px;
    color: var(--warm-gray);
    cursor: pointer;
    padding: 6px;
    transition: color 0.2s;
    line-height: 1;
}

.wl-close:hover {
    color: var(--ink);
}

.wl-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
    -webkit-overflow-scrolling: touch;
}

/* Wishlist product row */
.wl-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}

.wl-item:hover {
    background: var(--cream-2);
}

.wl-item-img {
    width: 56px;
    height: 70px;
    object-fit: cover;
    object-position: center top;
    background: var(--cream-3);
    flex-shrink: 0;
}

.wl-item-info {
    flex: 1;
    min-width: 0;
}

.wl-item-name {
    font-family: var(--f-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.wl-item-cat {
    font-family: var(--f-italic);
    font-style: italic;
    font-size: 11px;
    color: var(--warm-gray);
    margin-bottom: 4px;
}

.wl-item-price {
    font-family: var(--f-display);
    font-size: 14px;
    color: var(--gold-dark);
}

.wl-item-remove {
    background: none;
    border: none;
    color: var(--warm-gray-2);
    cursor: pointer;
    padding: 6px;
    font-size: 16px;
    flex-shrink: 0;
    line-height: 1;
    transition: color 0.2s;
}

.wl-item-remove:hover {
    color: var(--bordeaux);
}

/* Empty state */
.wl-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 32px;
    text-align: center;
    gap: 12px;
}

.wl-empty-icon {
    font-size: 40px;
}

.wl-empty-text {
    font-family: var(--f-display);
    font-size: 20px;
    font-weight: 400;
    color: var(--ink);
}

.wl-empty-sub {
    font-size: 13px;
    color: var(--warm-gray);
    line-height: 1.6;
}

/* ── Mobile Menu — fullscreen, links at bottom ── */

