
/* =====================================
   ADVIWELLNESS WISHLIST PAGE
===================================== */

.advi-wishlist-page {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 35px 20px 60px;
    box-sizing: border-box;
}

/* HOME BUTTON */

.advi-wishlist-topbar {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 25px;
}

.advi-wishlist-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #222;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.advi-wishlist-home svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.advi-wishlist-home:hover {
    color: #b68a45;
}

/* HEADING */

.advi-wishlist-heading {
    text-align: center;
    margin-bottom: 35px;
}

.advi-wishlist-heading h1 {
    font-size: 32px;
    font-weight: 600;
    color: #222;
    margin: 0 0 10px;
}

.advi-wishlist-heading p {
    font-size: 15px;
    color: #777;
    margin: 0;
}

/* WISHLIST GRID */

.advi-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.advi-wishlist-card {
    min-width: 0;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.advi-wishlist-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

/* PRODUCT IMAGE */

.advi-wishlist-card > a {
    display: block;
}

.advi-wishlist-image {
    display: block;
    width: 100%;
    height: 240px;
    object-fit: contain;
    padding: 15px;
    box-sizing: border-box;
}

/* PRODUCT DETAILS */

.advi-wishlist-details {
    padding: 15px;
}

.advi-wishlist-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 0 10px;
    color: #222;
}

.advi-wishlist-price {
    font-size: 17px;
    font-weight: 600;
    color: #222;
}

/* ACTION BUTTONS */

.advi-wishlist-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.advi-wishlist-add-cart,
.advi-wishlist-remove {
    display: inline-flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 12px;
    border: none;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.advi-wishlist-add-cart {
    background: #222;
    color: #fff;
}

.advi-wishlist-add-cart:hover {
    background: #b68a45;
    color: #fff;
}

.advi-wishlist-remove {
    background: #f2f2f2;
    color: #333;
}

.advi-wishlist-remove:hover {
    background: #e5e5e5;
}

/* LOADING */

.advi-wishlist-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 15px;
    color: #777;
}

/* EMPTY WISHLIST */

.advi-wishlist-empty {
    text-align: center;
    padding: 60px 20px;
}

.advi-wishlist-empty[hidden] {
    display: none;
}

.advi-wishlist-empty h2 {
    font-size: 24px;
    color: #222;
    margin-bottom: 10px;
}

.advi-wishlist-empty p {
    color: #777;
    font-size: 15px;
}

.advi-wishlist-empty a {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: #222;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.advi-wishlist-empty a:hover {
    background: #b68a45;
}

/* TABLET */

@media (max-width: 991px) {
    .advi-wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
}

/* MOBILE */

@media (max-width: 575px) {
    .advi-wishlist-page {
        padding: 25px 15px 40px;
    }

    .advi-wishlist-heading h1 {
        font-size: 26px;
    }

    .advi-wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .advi-wishlist-image {
        height: 160px;
        padding: 8px;
    }

    .advi-wishlist-details {
        padding: 10px;
    }

    .advi-wishlist-title {
        font-size: 13px;
    }

    .advi-wishlist-price {
        font-size: 14px;
    }

    .advi-wishlist-actions {
        flex-direction: column;
        gap: 8px;
    }

    .advi-wishlist-add-cart,
    .advi-wishlist-remove {
        width: 100%;
        min-height: 38px;
    }
}

.advi-wishlist-button.is-active svg {
    fill: #e63946;
    stroke: #e63946;
}

.advi-wishlist-button svg {
    fill: none;
    stroke: #e63946;
    stroke-width: 1.8;
}
