@font-face {

    font-family: "Cinzel";

    src:
        url("../assets/fonts/Cinzel-Regular.ttf")
        format("truetype");

    font-weight: 400;

    font-style: normal;

    font-display: swap;
}


@font-face {

    font-family: "Cinzel";

    src:
        url("../assets/fonts/Cinzel-SemiBold.ttf")
        format("truetype");

    font-weight: 500;

    font-style: normal;

    font-display: swap;
}


@font-face {

    font-family: "Cinzel";

    src:
        url("../assets/fonts/Cinzel-Bold.ttf")
        format("truetype");

    font-weight: 600;

    font-style: normal;

    font-display: swap;
}


@font-face {

    font-family: "Vazirmatn";

    src:
        url("../assets/fonts/Vazirmatn-Light.ttf")
        format("truetype");

    font-weight: 300;

    font-style: normal;

    font-display: swap;
}


@font-face {

    font-family: "Vazirmatn";

    src:
        url("../assets/fonts/Vazirmatn-Regular.ttf")
        format("truetype");

    font-weight: 400;

    font-style: normal;

    font-display: swap;
}


@font-face {

    font-family: "Vazirmatn";

    src:
        url("../assets/fonts/Vazirmatn-Medium.ttf")
        format("truetype");

    font-weight: 500;

    font-style: normal;

    font-display: swap;
}


@font-face {

    font-family: "Vazirmatn";

    src:
        url("../assets/fonts/Vazirmatn-SemiBold.ttf")
        format("truetype");

    font-weight: 600;

    font-style: normal;

    font-display: swap;
}



/* ========================================
   RESET
======================================== */

html,
body {

    margin: 0;

    padding: 0;

    width: 100%;

    min-height: 100%;

}


* {

    box-sizing: border-box;

}


body {

    background: #080808;

    color: #fff;

    font-family:
        "Vazirmatn",
        sans-serif;

    overflow-x: hidden;

}


button,
a {

    font-family: inherit;

}



/* ========================================
   HEADER
======================================== */

.wishlist-header {

    position: relative;

    width: 100%;

    min-height: 5.5rem;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0 5vw;

    border-bottom:
        1px solid
        rgba(255, 255, 255, 0.07);

    background:
        rgba(7, 7, 7, 0.96);

}


.wishlist-logo {

    font-family:
        "Cinzel",
        serif;

    font-size: 1rem;

    font-weight: 400;

    letter-spacing: 0.3rem;

    color: #fff;

    text-decoration: none;

    transition:
        opacity 0.3s ease;

}


.wishlist-logo:hover {

    opacity: 0.7;

}


.wishlist-back {

    position: absolute;

    right: 5vw;

    display: flex;

    align-items: center;

    gap: 0.6rem;

    font-family:
        "Vazirmatn",
        sans-serif;

    font-size: 0.62rem;

    font-weight: 400;

    color:
        rgba(255, 255, 255, 0.45);

    text-decoration: none;

    transition:
        color 0.3s ease;

}


.wishlist-back:hover {

    color: #fff;

}


.wishlist-back i {

    transition:
        transform 0.3s ease;

}


.wishlist-back:hover i {

    transform:
        translateX(0.2rem);

}


.wishlist-header-label {

    position: absolute;

    left: 5vw;

    font-family:
        "Cinzel",
        serif;

    font-size: 0.48rem;

    font-weight: 500;

    letter-spacing: 0.2rem;

    color:
        rgba(255, 255, 255, 0.25);

}



/* ========================================
   MAIN PAGE
======================================== */

.wishlist-page {

    position: relative;

    min-height:
        calc(100vh - 5.5rem);

    padding:
        4.5rem 5vw 3rem;

    overflow: hidden;

    background:

        radial-gradient(
            circle at 20% 20%,
            rgba(105, 8, 27, 0.14),
            transparent 28rem
        ),

        radial-gradient(
            circle at 85% 75%,
            rgba(80, 6, 22, 0.1),
            transparent 24rem
        ),

        #090909;

}



/* ========================================
   HEADING
======================================== */

.wishlist-heading {

    width:
        min(70rem, 100%);

    margin:
        0 auto 3.5rem;

    text-align: center;

}


.wishlist-chapter {

    display: block;

    margin-bottom: 0.9rem;

    font-family:
        "Cinzel",
        serif;

    font-size: 0.48rem;

    font-weight: 500;

    letter-spacing: 0.28rem;

    color:
        rgba(255, 255, 255, 0.3);

}


.wishlist-heading h1 {

    margin: 0;

    font-family:
        "Vazirmatn",
        sans-serif;

    font-size: 2rem;

    font-weight: 400;

    line-height: 1.7;

    color: #fff;

}


.wishlist-heading p {

    margin:
        0.5rem 0 0;

    font-family:
        "Vazirmatn",
        sans-serif;

    font-size: 0.62rem;

    font-weight: 400;

    color:
        rgba(255, 255, 255, 0.35);

}



/* ========================================
   CONTENT
======================================== */

.wishlist-content {

    width:
        min(62rem, 100%);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 1rem;

}



/* ========================================
   CARD
======================================== */

.wishlist-card {

    position: relative;

    min-width: 0;

    overflow: hidden;

    border:
        1px solid
        rgba(255, 255, 255, 0.08);

    border-radius: 0.3rem;

    background:
        rgba(255, 255, 255, 0.025);

    transition:
        border-color 0.4s ease,
        background 0.4s ease,
        transform 0.4s ease;

}


.wishlist-card:hover {

    border-color:
        rgba(170, 25, 45, 0.4);

    background:
        rgba(120, 10, 25, 0.045);

    transform:
        translateY(-0.3rem);

}



/* ========================================
   IMAGE
======================================== */

.wishlist-image {

    position: relative;

    width: 100%;

    height: 17rem;

    overflow: hidden;

    background: #111;

}


.wishlist-image::after {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.55),
            transparent 45%
        );

    pointer-events: none;

}


.wishlist-image img {

    width: 100%;

    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.8s
        cubic-bezier(.2, .7, .2, 1);

}


.wishlist-card:hover
.wishlist-image img {

    transform:
        scale(1.06);

}



/* ========================================
   NUMBER
======================================== */

.wishlist-number {

    position: absolute;

    right: 1rem;

    bottom: 0.8rem;

    z-index: 2;

    font-family:
        "Cinzel",
        serif;

    font-size: 0.45rem;

    font-weight: 500;

    letter-spacing: 0.12rem;

    color:
        rgba(255, 255, 255, 0.45);

}



/* ========================================
   REMOVE HEART
======================================== */

.wishlist-remove {

    position: absolute;

    top: 0.8rem;

    left: 0.8rem;

    z-index: 3;

    width: 2.2rem;

    height: 2.2rem;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.12);

    border-radius: 50%;

    background:
        rgba(5, 5, 5, 0.6);

    backdrop-filter:
        blur(0.5rem);

    color:
        rgba(255, 255, 255, 0.65);

    cursor: pointer;

    transition:
        color 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;

}


.wishlist-remove:hover {

    color:
        #b51d3b;

    border-color:
        rgba(181, 29, 59, 0.55);

    background:
        rgba(80, 5, 20, 0.5);

    transform:
        scale(1.08);

}


.wishlist-remove i {

    font-size: 0.7rem;

}



/* ========================================
   INFO
======================================== */

.wishlist-info {

    padding:
        1.3rem 1.3rem 1.4rem;

}


.wishlist-category {

    display: block;

    margin-bottom: 0.45rem;

    font-family:
        "Cinzel",
        serif;

    font-size: 0.42rem;

    font-weight: 500;

    letter-spacing: 0.18rem;

    color:
        rgba(255, 255, 255, 0.28);

}


.wishlist-info h2 {

    margin: 0;

    font-family:
        "Cinzel",
        serif;

    font-size: 0.88rem;

    font-weight: 500;

    color: #fff;

}


.wishlist-persian {

    margin:
        0.35rem 0 1.2rem;

    font-family:
        "Vazirmatn",
        sans-serif;

    font-size: 0.55rem;

    font-weight: 400;

    color:
        rgba(255, 255, 255, 0.35);

}



/* ========================================
   BOTTOM INFO
======================================== */

.wishlist-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 1rem;

    padding-top: 1rem;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.07);

}


.wishlist-price {

    font-family:
        "Vazirmatn",
        sans-serif;

    font-size: 0.58rem;

    font-weight: 400;

    white-space: nowrap;

    color:
        rgba(255, 255, 255, 0.7);

}


.wishlist-cart {

    display: flex;

    align-items: center;

    gap: 0.45rem;

    white-space: nowrap;

    font-family:
        "Vazirmatn",
        sans-serif;

    font-size: 0.5rem;

    font-weight: 400;

    color:
        black;

    text-decoration: none;

    transition:
        color 0.3s ease;

}


.wishlist-cart:hover {

    color:
        #b51d3b;

}


.wishlist-cart i {

    transition:
        transform 0.3s ease;

}


.wishlist-cart:hover i {

    transform:
        translateX(-0.2rem);

}



/* ========================================
   FOOTER NOTE
======================================== */

.wishlist-footer-note {

    width:
        min(72rem, 100%);

    margin:
        3.5rem auto 0;

    padding-top:
        1.5rem;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.06);

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 0.7rem;

    font-family:
        "Cinzel",
        serif;

    font-size: 0.4rem;

    font-weight: 500;

    letter-spacing: 0.12rem;

    color:
        rgba(255, 255, 255, 0.2);

}


.wishlist-footer-note span {

    color:
        rgba(165, 20, 40, 0.7);

}



/* ========================================
   EMPTY WISHLIST
======================================== */

.wishlist-content:has(.wishlist-empty) {

    display: flex;

    justify-content: center;

    align-items: center;

    width: 100%;

}


.wishlist-empty {

    width: 100%;

    max-width: 43.75rem;

    min-height: 35vh;

    margin: 0 auto;

    padding: 2rem 1rem;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

}


.wishlist-empty > i {

    display: none !important;

}


.wishlist-empty h2 {

    width: 100%;

    margin:
        0 0 0.5rem;

    text-align: center;

    color:
        rgba(255, 255, 255, 0.9);

    font-family:
        "Vazirmatn",
        sans-serif;

    font-size: 0.95rem;

    font-weight: 400;

    line-height: 1.8;

}


.wishlist-empty p {

    width: 100%;

    margin: 0;

    text-align: center;

    color:
        rgba(255, 255, 255, 0.4);

    font-family:
        "Vazirmatn",
        sans-serif;

    font-size: 0.72rem;

    font-weight: 400;

    line-height: 1.9;

}


.wishlist-empty a {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: fit-content;

    margin:
        1.3rem auto 0;

    padding:
        0.6rem 1rem;

    text-align: center;

    border:
        1px solid
        rgba(255, 255, 255, 0.14);

    border-radius: 0.4rem;

    color:
        rgba(255, 255, 255, 0.7);

    background: transparent;

    text-decoration: none;

    font-family:
        "Vazirmatn",
        sans-serif;

    font-size: 0.7rem;

    font-weight: 400;

    transition:
        all 0.3s ease;

}


.wishlist-empty a:hover {

    color: #fff;

    border-color:
        rgba(110, 0, 0, 0.6);

    background:
        rgba(180, 0, 0, 0.06);

}



/* ========================================
   TABLET
   769px — 1100px
======================================== */

@media (max-width: 1100px) {

    .wishlist-page {

        padding:
            4rem 4vw 3rem;

    }


    .wishlist-content {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        max-width: 48rem;

        gap: 1.2rem;

    }


    .wishlist-image {

        height: 16rem;

    }


    .wishlist-heading {

        margin-bottom: 3rem;

    }

}



/* ========================================
   SMALL TABLET
   601px — 768px
======================================== */

@media (max-width: 768px) {

    .wishlist-header {

        min-height: 5rem;

        padding:
            0 4vw;

    }


    .wishlist-logo {

        font-size: 0.9rem;

        letter-spacing: 0.24rem;

    }


    .wishlist-back {

        right: 4vw;

        font-size: 0.58rem;

    }


    .wishlist-header-label {

        left: 4vw;

        font-size: 0.42rem;

    }


    .wishlist-page {

        padding:
            3.5rem 4vw 2.5rem;

    }


    .wishlist-heading {

        margin-bottom: 2.5rem;

    }


    .wishlist-chapter {

        font-size: 0.42rem;

        letter-spacing: 0.2rem;

    }


    .wishlist-heading h1 {

        font-size: 1.7rem;

    }


    .wishlist-heading p {

        font-size: 0.58rem;

    }


    .wishlist-content {

        width: 100%;

        max-width: 44rem;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 0.9rem;

    }


    .wishlist-image {

        height: 14.5rem;

    }


    .wishlist-info {

        padding:
            1.1rem 1rem 1.2rem;

    }


    .wishlist-info h2 {

        font-size: 0.8rem;

    }


    .wishlist-persian {

        font-size: 0.52rem;

        margin-bottom: 1rem;

    }


    .wishlist-price {

        font-size: 0.54rem;

    }


    .wishlist-cart {

        font-size: 0.47rem;

    }


    .wishlist-footer-note {

        margin-top: 2.8rem;

        font-size: 0.36rem;

        letter-spacing: 0.09rem;

    }

}



/* ========================================
   MOBILE
   0 — 600px
======================================== */

@media (max-width: 600px) {

    .wishlist-header {

        min-height: 4.6rem;

        padding:
            0 1.1rem;

    }


    .wishlist-logo {

        font-size: 0.78rem;

        letter-spacing: 0.2rem;

    }


    .wishlist-back {

        right: 1.1rem;

        gap: 0.35rem;

        font-size: 0.5rem;

    }


    .wishlist-back i {

        font-size: 0.65rem;

    }


    .wishlist-header-label {

        left: 1.1rem;

        font-size: 0.35rem;

        letter-spacing: 0.12rem;

    }


    .wishlist-page {

        min-height:
            calc(100vh - 4.6rem);

        padding:
            2.8rem 1rem 2rem;

    }


    .wishlist-heading {

        width: 100%;

        margin:
            0 auto 2.2rem;

    }


    .wishlist-chapter {

        margin-bottom: 0.7rem;

        font-size: 0.36rem;

        letter-spacing: 0.14rem;

        white-space: nowrap;

    }


    .wishlist-heading h1 {

        font-size: 1.45rem;

        line-height: 1.7;

    }


    .wishlist-heading p {

        margin-top: 0.35rem;

        font-size: 0.53rem;

    }


    /*
       یک کارت در هر ردیف
    */

    .wishlist-content {

        width: 100%;

        display: grid;

        grid-template-columns: 1fr;

        gap: 1rem;

    }


    .wishlist-card {

        width: 100%;

    }


    /*
       عکس موبایل:
       کوتاه‌تر و متناسب‌تر
    */

    .wishlist-image {

        height: 12.5rem;

    }


    .wishlist-remove {

        top: 0.65rem;

        left: 0.65rem;

        width: 2rem;

        height: 2rem;

    }


    .wishlist-remove i {

        font-size: 0.65rem;

    }


    .wishlist-number {

        right: 0.8rem;

        bottom: 0.65rem;

        font-size: 0.4rem;

    }


    .wishlist-info {

        padding:
            1rem;

    }


    .wishlist-category {

        margin-bottom: 0.4rem;

        font-size: 0.37rem;

        letter-spacing: 0.14rem;

    }


    .wishlist-info h2 {

        font-size: 0.78rem;

    }


    .wishlist-persian {

        margin:
            0.3rem 0 0.9rem;

        font-size: 0.5rem;

    }


    .wishlist-bottom {

        gap: 0.5rem;

        padding-top: 0.8rem;

    }


    .wishlist-price {

        font-size: 0.52rem;

    }


    .wishlist-cart {

        gap: 0.3rem;

        font-size: 0.46rem;

    }


    .wishlist-cart i {

        font-size: 0.65rem;

    }


    .wishlist-footer-note {

        width: 100%;

        margin-top: 2.5rem;

        padding-top: 1.2rem;

        gap: 0.45rem;

        font-size: 0.32rem;

        letter-spacing: 0.06rem;

        text-align: center;

    }


    /* Empty */

    .wishlist-content:has(.wishlist-empty) {

        min-height: 45vh;

    }


    .wishlist-empty {

        min-height: 40vh;

        padding:
            1.5rem 0.5rem;

    }


    .wishlist-empty h2 {

        font-size: 0.85rem;

    }


    .wishlist-empty p {

        font-size: 0.62rem;

    }


    .wishlist-empty a {

        margin-top: 1.1rem;

        padding:
            0.55rem 0.9rem;

        font-size: 0.62rem;

    }

}



/* ========================================
   VERY SMALL MOBILE
   0 — 380px
======================================== */

@media (max-width: 380px) {

    .wishlist-header {

        min-height: 4.3rem;

    }


    .wishlist-logo {

        font-size: 0.7rem;

        letter-spacing: 0.16rem;

    }


    .wishlist-back {

        font-size: 0.45rem;

    }


    .wishlist-header-label {

        display: none;

    }


    .wishlist-page {

        padding:
            2.4rem 0.8rem 1.8rem;

    }


    .wishlist-heading {

        margin-bottom: 1.8rem;

    }


    .wishlist-chapter {

        font-size: 0.31rem;

        letter-spacing: 0.1rem;

    }


    .wishlist-heading h1 {

        font-size: 1.3rem;

    }


    .wishlist-heading p {

        font-size: 0.49rem;

    }


    .wishlist-image {

        height: 11.5rem;

    }


    .wishlist-info {

        padding:
            0.9rem;

    }


    .wishlist-info h2 {

        font-size: 0.74rem;

    }


    .wishlist-persian {

        font-size: 0.47rem;

    }


    .wishlist-price {

        font-size: 0.48rem;

    }


    .wishlist-cart {

        font-size: 0.42rem;

    }


    .wishlist-footer-note {

        font-size: 0.28rem;

    }

}