/* ==========================================
   NAVBAR
   (now defined globally in style.css —
   do not restyle it here)
========================================== */


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

.wishlist-header {
    text-align: center;

    padding: 85px 20px 65px;
}

.wishlist-header p {
    margin: 0 0 12px;

    color: #555555;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;
}

.wishlist-header h1 {
    margin: 0;

    color: #111111;

    font-size: 52px;

    font-weight: 500;
}

.wishlist-header span {
    display: block;

    margin-top: 16px;

    color: #777777;

    font-size: 15px;
}


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

.wishlist-container {
    width: min(1200px, 90%);

    margin: 0 auto 100px;
}


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

.wishlist-message {
    padding: 60px 20px;

    text-align: center;

    color: #777777;

    font-size: 15px;
}

.wishlist-error {
    color: #b00020;
}


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

.empty-wishlist {
    padding: 70px 20px;

    text-align: center;
}

.empty-wishlist-icon {
    width: 80px;
    height: 80px;

    margin: 0 auto 25px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f5f5f5;

    color: #222222;

    font-size: 38px;
}

.empty-wishlist h2 {
    margin: 0 0 12px;

    color: #111111;

    font-size: 26px;

    font-weight: 500;
}

.empty-wishlist p {
    margin: 0 0 28px;

    color: #777777;

    font-size: 14px;
}


/* ==========================================
   SHOP BUTTON
========================================== */

.continue-shopping {
    display: inline-block;

    padding: 14px 24px;

    background: #111111;

    color: #ffffff;

    text-decoration: none;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;

    transition: opacity 0.2s ease;
}

.continue-shopping:hover {
    opacity: 0.8;
}


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

.wishlist-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 32px;
}


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

.wishlist-card {
    overflow: hidden;

    background: #ffffff;

    border: 1px solid #eeeeee;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

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

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.08);
}


/* ==========================================
   IMAGE
========================================== */

.wishlist-image-wrapper {
    position: relative;

    width: 100%;

    aspect-ratio: 3 / 4;

    overflow: hidden;

    background: #f5f5f5;
}

.wishlist-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.45s ease;
}

.wishlist-card:hover .wishlist-image {
    transform: scale(1.04);
}


/* PLACEHOLDER */

.wishlist-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #999999;

    font-size: 12px;

    letter-spacing: 1px;
}


/* ==========================================
   REMOVE BUTTON
========================================== */

.remove-wishlist-btn {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background: #ffffff;

    color: #e00000;

    font-size: 22px;

    cursor: pointer;

    box-shadow:
        0 3px 12px rgba(0, 0, 0, 0.10);

    transition: transform 0.2s ease;
}

.remove-wishlist-btn:hover {
    transform: scale(1.08);
}


/* ==========================================
   PRODUCT INFO
========================================== */

.wishlist-info {
    padding: 20px;
}

.wishlist-category {
    margin: 0 0 8px;

    color: #777777;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}

.wishlist-name {
    margin: 0 0 15px;

    color: #111111;

    font-size: 19px;

    font-weight: 500;

    line-height: 1.35;
}

.wishlist-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;
}

.wishlist-price {
    color: #111111;

    font-size: 16px;

    font-weight: 700;
}

.wishlist-rating {
    color: #666666;

    font-size: 13px;
}


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

.wishlist-actions {
    display: flex;

    gap: 10px;

    margin-top: 18px;
}

.view-product-btn,
.wishlist-cart-btn {
    flex: 1;

    padding: 13px 10px;

    text-align: center;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

    text-decoration: none;

    cursor: pointer;

    box-sizing: border-box;
}

.view-product-btn {
    border: 1px solid #111111;

    background: #ffffff;

    color: #111111;
}

.wishlist-cart-btn {
    border: 1px solid #111111;

    background: #111111;

    color: #ffffff;
}

.wishlist-cart-btn:disabled {
    opacity: 0.55;

    cursor: not-allowed;
}


/* ==========================================
   FOOTER
========================================== */

.shop-footer {
    margin-top: 80px;

    padding: 55px 5% 25px;

    border-top: 1px solid #eeeeee;

    background: #ffffff;
}

.shop-footer-logo {
    color: #111111;

    text-decoration: none;

    font-size: 21px;

    font-weight: 700;

    letter-spacing: 2px;
}

.shop-footer-logo span {
    color: #111111;
}

.shop-footer p {
    margin-top: 12px;

    color: #777777;

    font-size: 14px;
}

.shop-footer-bottom {
    margin-top: 40px;

    padding-top: 20px;

    border-top: 1px solid #eeeeee;

    color: #888888;

    font-size: 12px;
}


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

@media (max-width: 900px) {

    .wishlist-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 24px;
    }

    .wishlist-header {
        padding-top: 65px;
    }

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


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

@media (max-width: 650px) {

    .wishlist-header {
        padding: 55px 20px 45px;
    }

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

    .wishlist-container {
        width: 90%;
    }

    .wishlist-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }

    .wishlist-actions {
        flex-direction: column;
    }

    .wishlist-info {
        padding: 18px;
    }
}