/* ===========================================
   VINESTA — CUSTOM WISHLIST PAGE CSS
   wishlist-page.css naam se astra-child folder me upload karo
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Montserrat:wght@300;400;500&display=swap');

.page-template-default #page,
.page-template-default body,
.page-template-default .ast-container {
    background-color: #FAF7F2 !important;
}

.vn-wishlist-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 60px;
    font-family: 'Montserrat', sans-serif;
}

.vn-wishlist-title {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 600;
    color: #3B010B;
    text-align: center;
    margin: 0 0 36px;
}

/* Grid */
.vn-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Card */
.vn-wl-item {
    position: relative;
    background: #fff;
    border: 1px solid #e8e0d6;
    border-radius: 8px;
    overflow: hidden;
    transition: opacity 0.3s, box-shadow 0.2s;
}
.vn-wl-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

/* Remove (x) button */
.vn-wl-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: 1px solid #e8e0d6;
    color: #842029;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.vn-wl-remove:hover { background: #842029; color: #fff; border-color: #842029; }

/* Image */
.vn-wl-img-wrap {
    display: block;
    aspect-ratio: 1/1;
    overflow: hidden;
}
.vn-wl-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.vn-wl-item:hover .vn-wl-img-wrap img { transform: scale(1.04); }

/* Info */
.vn-wl-info { padding: 14px; }
.vn-wl-name {
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 500;
    color: #3B010B;
    text-decoration: none;
    display: block;
    margin-bottom: 6px;
    line-height: 1.4;
}
.vn-wl-name:hover { color: #C9A96E; }
.vn-wl-price {
    font-size: 14px;
    font-weight: 400;
    color: #C9A96E;
    display: block;
    margin-bottom: 14px;
}

/* Buttons */
.vn-wl-btns { display: flex; gap: 6px; }
.vn-wl-btn {
    flex: 1;
    text-align: center;
    padding: 9px 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s;
}
.vn-wl-cart {
    background: transparent;
    color: #3B010B;
    border: 1px solid #3B010B;
}
.vn-wl-cart:hover { background: #3B010B; color: #fff; }
.vn-wl-buy {
    background: #3B010B;
    color: #fff !important;
    border: 1px solid #3B010B;
}
.vn-wl-buy:hover { background: #C9A96E; border-color: #C9A96E; }

.vn-wl-outofstock {
    font-size: 11px;
    font-weight: 500;
    color: #842029;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Empty wishlist (reuses vn-cart-empty styles) */
.vn-cart-empty {
    max-width: 500px;
    margin: 60px auto;
    text-align: center;
    padding: 40px 24px;
}
.vn-cart-empty h2 {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 500;
    color: #3B010B;
    margin: 0 0 12px;
}
.vn-cart-empty p {
    font-size: 14px;
    font-weight: 300;
    color: #888;
    margin: 0 0 24px;
}
.vn-cart-btn {
    display: inline-block;
    background: #3B010B;
    color: #fff;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.2s;
}
.vn-cart-btn:hover { background: #C9A96E; }

/* Mobile */
@media (max-width: 900px) {
    .vn-wishlist-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
    .vn-wishlist-wrap { padding: 24px 14px 40px; }
    .vn-wishlist-title { font-size: 24px; margin-bottom: 24px; }
    .vn-wl-info { padding: 10px; }
    .vn-wl-name { font-size: 12px; }
    .vn-wl-btn { font-size: 9.5px; padding: 8px 2px; }
}