/* =========================================
   WISHLIST SECTION
========================================= */

.wishlist-section {
    width: 100%;
    padding: 80px 0 110px;
    background: #f8fafc;
}

.wishlist-container {
    width: calc(100% - 160px);
    max-width: 1400px;
    margin: auto;
}


/* =========================================
   WISHLIST HEADING
========================================= */

.wishlist-heading {
    max-width: 750px;
    margin: 0 auto 55px;
    text-align: center;
}

.wishlist-heading > span {
    display: inline-block;

    color: #2563eb;

    font-size: 14px;
    font-weight: 800;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.wishlist-heading h1 {
    margin: 15px 0;

    color: #111827;

    font-size: 46px;
    line-height: 1.2;

    font-family: 'Nunito', sans-serif;
    font-weight: 900;
}

.wishlist-heading h1 span {
    color: #2563eb;

    font-size: inherit;

    letter-spacing: normal;
    text-transform: none;
}

.wishlist-heading p {
    margin: 0;

    color: #64748b;

    font-size: 17px;
    line-height: 1.7;
}


/* =========================================
   TOP BAR
========================================= */

.wishlist-topbar {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 25px;

    padding: 18px 22px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 12px;
}

.wishlist-count {
    display: flex;

    align-items: center;

    gap: 10px;

    color: #111827;

    font-size: 15px;

    font-weight: 800;
}

.wishlist-count i {
    color: #2563eb;

    font-size: 18px;
}

.continue-shopping {
    display: flex;

    align-items: center;

    gap: 8px;

    color: #2563eb;

    font-size: 14px;

    font-weight: 800;

    text-decoration: none;

    transition: .25s ease;
}

.continue-shopping:hover {
    gap: 12px;
}


/* =========================================
   WISHLIST GRID
========================================= */

.wishlist-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 25px;
}


/* =========================================
   WISHLIST CARD
========================================= */

.wishlist-card {
    position: relative;

    display: grid;

    grid-template-columns: 220px 1fr;

    gap: 25px;

    padding: 22px;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 18px;

    box-shadow:
        0 8px 25px rgba(15, 23, 42, .04);

    transition: all .3s ease;
}

.wishlist-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 15px 35px rgba(37, 99, 235, .10);
}


/* =========================================
   REMOVE BUTTON
========================================= */

.wishlist-remove {
    position: absolute;

    top: 15px;
    right: 15px;

    width: 34px;
    height: 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid #e5e7eb;

    border-radius: 50%;

    background: #ffffff;

    color: #94a3b8;

    cursor: pointer;

    z-index: 2;

    transition: all .25s ease;
}

.wishlist-remove:hover {
    color: #ef4444;

    border-color: #ef4444;

    background: #fff5f5;
}


/* =========================================
   PRODUCT IMAGE
========================================= */

.wishlist-image {
    width: 100%;
    height: 220px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #f8fafc;

    border-radius: 14px;

    overflow: hidden;
}

.wishlist-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 15px;

    box-sizing: border-box;

    transition: transform .35s ease;
}

.wishlist-card:hover .wishlist-image img {
    transform: scale(1.05);
}


/* =========================================
   PRODUCT CONTENT
========================================= */

.wishlist-content {
    display: flex;

    flex-direction: column;

    justify-content: center;

    min-width: 0;
}

.wishlist-category {
    margin-bottom: 8px;

    color: #2563eb;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.wishlist-content h2 {
    margin: 0 0 12px;

    padding-right: 30px;

    color: #111827;

    font-size: 21px;

    line-height: 1.4;

    font-family: 'Nunito', sans-serif;
}


/* =========================================
   RATING
========================================= */

.wishlist-rating {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 15px;
}

.wishlist-rating .stars {
    color: #f59e0b;

    font-size: 13px;

    letter-spacing: 1px;
}

.wishlist-rating > span {
    color: #64748b;

    font-size: 13px;

    font-weight: 700;
}


/* =========================================
   PRICE
========================================= */

.wishlist-price {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 20px;
}

.wishlist-price strong {
    color: #111827;

    font-size: 24px;

    font-weight: 900;
}

.wishlist-price del {
    color: #94a3b8;

    font-size: 15px;
}


/* =========================================
   ACTIONS
========================================= */

.wishlist-actions {
    display: flex;

    gap: 10px;
}

.wishlist-cart-btn,
.wishlist-view-btn {
    height: 45px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0 15px;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;

    transition: all .25s ease;

    box-sizing: border-box;
}


/* ADD TO CART */

.wishlist-cart-btn {
    flex: 1;

    border: 2px solid #2563eb;

    background: #ffffff;

    color: #2563eb;
}

.wishlist-cart-btn:hover {
    background: #2563eb;

    color: #ffffff;
}


/* VIEW PRODUCT */

.wishlist-view-btn {
    flex: 1;

    border: 1px solid #d1d5db;

    background: #ffffff;

    color: #475569;

    text-decoration: none;
}

.wishlist-view-btn:hover {
    border-color: #2563eb;

    color: #2563eb;
}


/* =========================================
   EMPTY WISHLIST
========================================= */

.wishlist-empty {
    display: none;

    padding: 80px 25px;

    text-align: center;

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 18px;
}

.wishlist-empty.show {
    display: block;
}

.wishlist-empty-icon {
    width: 80px;
    height: 80px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    background: #eff6ff;

    color: #2563eb;

    border-radius: 50%;

    font-size: 32px;
}

.wishlist-empty h2 {
    margin: 0 0 10px;

    color: #111827;

    font-size: 28px;

    font-family: 'Nunito', sans-serif;
}

.wishlist-empty p {
    max-width: 550px;

    margin: 0 auto 25px;

    color: #64748b;

    font-size: 15px;

    line-height: 1.7;
}

.wishlist-empty a {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 13px 22px;

    background: #2563eb;

    color: #ffffff;

    border-radius: 8px;

    text-decoration: none;

    font-size: 14px;

    font-weight: 800;

    transition: .25s ease;
}

.wishlist-empty a:hover {
    background: #1d4ed8;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1100px) {

    .wishlist-container {
        width: calc(100% - 80px);
    }

    .wishlist-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .wishlist-section {
        padding: 60px 0 80px;
    }

    .wishlist-container {
        width: calc(100% - 40px);
    }

    .wishlist-heading {
        margin-bottom: 40px;
    }

    .wishlist-heading h1 {
        font-size: 35px;
    }

    .wishlist-heading p {
        font-size: 15px;
    }

    .wishlist-topbar {
        padding: 15px;

        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }

    .wishlist-card {
        grid-template-columns: 180px 1fr;

        gap: 20px;

        padding: 18px;
    }

    .wishlist-image {
        height: 180px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 550px) {

    .wishlist-container {
        width: calc(100% - 30px);
    }

    .wishlist-heading h1 {
        font-size: 30px;
    }

    .wishlist-card {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .wishlist-image {
        height: 240px;
    }

    .wishlist-content h2 {
        font-size: 20px;
    }

    .wishlist-actions {
        flex-direction: column;
    }

    .wishlist-cart-btn,
    .wishlist-view-btn {
        width: 100%;
    }

}
/* =========================================
   ADD TO CART LINK
========================================= */

.add-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 50%;
    height: 44px;

    padding: 0 20px;

    background: #ffffff;
    color: #2563EB;

    border: 2px solid #2563EB;
    border-radius: 10px;

    font-size: 16px;
    font-weight: 800;
    font-family: inherit;

    text-decoration: none;

    cursor: pointer;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.2s ease,
        box-shadow 0.3s ease;

    box-sizing: border-box;
}

/* Icon */
.add-cart-btn i {
    font-size: 17px;
}

/* Hover */
.add-cart-btn:hover {
    background: #2563EB;
    color: #ffffff;
    border-color: #2563EB;

    transform: translateY(-2px);

    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.20);
}

/* Click */
.add-cart-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .add-cart-btn {
        height: 52px;
        font-size: 15px;
    }

    .add-cart-btn i {
        font-size: 16px;
    }

}