* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #FFF8F0;
    color: #333;
}


/* =========================
   HEADER
========================= */

.wishlist-header {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(180deg, #FFF4E8, #FFF8F0);
}

.back-btn {
    display: inline-block;
    margin-bottom: 25px;

    color: #8B2E2E;
    text-decoration: none;
    font-weight: 600;
}

.back-btn:hover {
    text-decoration: underline;
}

.wishlist-header h1 {
    color: #8B2E2E;
    font-size: 48px;
    margin-bottom: 12px;
}

.wishlist-header p {
    color: #666;
    font-size: 17px;
}


/* =========================
   WISHLIST CONTAINER
========================= */

.wishlist-container {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto 80px;
}


/* =========================
   WISHLIST GRID
========================= */

#wishlistItems {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* =========================
   PRODUCT CARD
========================= */

.wishlist-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

    transition: 0.3s;
}

.wishlist-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.13);
}


/* IMAGE */

.wishlist-card img {
    width: 100%;
    height: 300px;

    object-fit: cover;
    display: block;
}


/* NAME */

.wishlist-card h3 {
    color: #8B2E2E;
    font-size: 21px;

    margin: 20px 20px 10px;
}


/* PRICE */

.wishlist-card .price {
    color: #8B2E2E;

    font-size: 25px;
    font-weight: 700;

    margin: 0 20px 20px;
}


/* =========================
   BUTTONS
========================= */

.wishlist-buttons {
    display: flex;
    gap: 10px;

    padding: 0 20px 20px;
}

.wishlist-buttons a,
.wishlist-buttons button {
    flex: 1;

    padding: 12px;

    border: none;
    border-radius: 30px;

    font-family: inherit;
    font-size: 14px;

    text-align: center;
    text-decoration: none;

    cursor: pointer;
}


/* VIEW */

.view-btn {
    background: #8B2E2E;
    color: white;
}

.view-btn:hover {
    background: #A73D3D;
}


/* REMOVE */

.remove-btn {
    background: #F1E1D3;
    color: #8B2E2E;
}

.remove-btn:hover {
    background: #8B2E2E;
    color: white;
}


/* =========================
   EMPTY WISHLIST
========================= */

.empty-wishlist {
    grid-column: 1 / -1;

    background: white;

    padding: 70px 20px;

    border-radius: 25px;

    text-align: center;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.empty-wishlist h2 {
    color: #8B2E2E;
    font-size: 30px;

    margin-bottom: 12px;
}

.empty-wishlist p {
    color: #666;

    margin-bottom: 25px;
}


/* CONTINUE SHOPPING */

.shop-btn {
    display: inline-block;

    padding: 13px 28px;

    background: #8B2E2E;
    color: white;

    text-decoration: none;

    border-radius: 30px;

    font-weight: 600;
}

.shop-btn:hover {
    background: #A73D3D;
}


/* =========================
   TOAST MESSAGE
========================= */

#toast {
    position: fixed;

    top: 25px;
    right: 25px;

    background: #8B2E2E;
    color: white;

    padding: 15px 25px;

    border-radius: 12px;

    opacity: 0;
    transform: translateY(-20px);

    transition: 0.3s;

    z-index: 9999;
}

#toast.show {
    opacity: 1;
    transform: translateY(0);
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    #wishlistItems {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .wishlist-header h1 {
        font-size: 36px;
    }

    #wishlistItems {
        grid-template-columns: 1fr;
    }

    .wishlist-container {
        width: 92%;
    }

    .wishlist-card img {
        height: 280px;
    }

}