:root {

    --primary: #1976ff;
    --red: #ff5d73;
    --bg: #f4f8fd;
    --text: #172133;
    --card: #fff;
    --border: #e8eef8;

}


* {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;


}


body {

    margin: 0;

    background: var(--bg);

    font-family: Vazirmatn, sans-serif;

    color: var(--text);

}



.saved-page {

    max-width: 700px;

    margin: auto;

    padding: 80px 16px 30px;

}



.saved-header {

    position: fixed;

    top: 0;

    right: 0;

    left: 0;

    max-width: 700px;

    margin: auto;

    height: 70px;

    background: #fff;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 12px 16px;

    z-index: 10;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, .05);

}


.saved-header h1 {

    font-size: 18px;

    margin: 0;

}



.circle-btn {

    width: 44px;

    height: 44px;

    border-radius: 50%;

    border: none;

    background: #fff;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, .08);

    color: var(--primary);

    font-size: 20px;

}



.count-box {

    background: #eef5ff;

    color: var(--primary);

    padding: 8px 12px;

    border-radius: 20px;

    font-size: 13px;

}



.products-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 14px;

}



.product-card {

    background: #fff;

    border-radius: 18px;

    overflow: hidden;

    border: 1px solid var(--border);

}



.product-card img {

    width: 100%;

    height: 150px;

    object-fit: cover;

}



.product-body {

    padding: 12px;

}



.product-body h3 {

    font-size: 14px;

    margin: 0 0 8px;

}



.store-name {

    font-size: 12px;

    color: #777;

}



.old-price {

    font-size: 12px;

    text-decoration: line-through;

    color: #999;

}



.price {

    font-size: 15px;

    font-weight: bold;

    color: var(--primary);

    margin-top: 5px;

}



.discount {

    background: var(--red);

    color: white;

    font-size: 12px;

    padding: 4px 8px;

    border-radius: 12px;

    position: absolute;

    top: 10px;

    right: 10px;

}



.image-box {

    position: relative;

}



.empty-box {

    display: none;

    text-align: center;

    padding: 80px 20px;

    color: #777;

}



.empty-box i {

    font-size: 50px;

    color: #ddd;

}


@media(max-width:450px) {

    .products-grid {

        grid-template-columns: 1fr;

    }

}