﻿@font-face {
    font-family: "IRANSansWeb";
    font-style: normal;
    font-weight: normal;
    src: url('@Url.Content("~/Assets/fonts/IranSans/IRANSansWebFaNum.eot")') format('embedded-opentype'), url('@Url.Content("~/Assets/fonts/IranSans/IRANSansWebFaNum.woff2")') format('woff2'), url('@Url.Content("~/Assets/fonts/IranSans/IRANSansWebFaNum.woff")') format('woff'), url('@Url.Content("~/Assets/fonts/IranSans/IRANSansWebFaNum.ttf")') format('truetype');
    font-display: swap;
}

body {
    font-family: "IRANSansWeb";
}



.title-latestProducts {
    color: #000;
    font-size: 30px;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
}


.product-card {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-decoration: none;
}




.product-image {
    position: relative;
    width: 100%;
    padding: 30px 46px;
    background-color: #fff;
}

    .product-image img {
        width: 100%;
        height: 390px;
        object-fit: cover;
        position: relative;
        padding-bottom: 20px;
        display: block;
    }

    .product-image::after {
        content: "";
        position: absolute;
        bottom: 10px; 
        left: 0;
        width: 100%;
        height: 1px;
        background-color: #ddd;
    }


.product-info {
    text-align: center;
    padding: 10px 5px;
    text-decoration: none;
}

.product-title {
    font-weight: 500;
    color: #000;
    font-size: 16px;
    margin: 8px 0;
    text-decoration: none;
}

.product-subtitle {
    color: #555;
    font-size: 12px;
    margin-bottom: 10px;
}

.price-box {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    margin: 0 22px 18px 22px ;
}

    .price-box:hover {
        border: 2px solid #2A3256;
    }

/*.price-dot {
    width: 5px;
    height: 5px;
    background-color: #2A3256;
    border-radius: 50%;
    position: absolute;
    left: 41px;
    top: -2.78px;
}*/


.price-icon img {
    width: auto;
    height: 13px;
    max-height: 13px;
    object-fit: contain;
    -webkit-object-fit: contain;
    display: block;
}


.price-text {
    font-weight: 500;
    color: #000;
}


.breadcrumb-simple {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-right: -1px;
}

    .breadcrumb-simple a {
        text-decoration: none;
        color: #6E6D6D;
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

.breadcrumb-separator {
    display: flex;
    align-items: center;
    height: 32.438px;
    flex-shrink: 0;
}

.products-header {
    margin-left: -1px;
    margin-right: -1px;
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    border-radius: 10px;
    border: 2px solid #2F4497;
    overflow: hidden;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

    .pagination-wrapper .page-btn {
        padding: 8px 14px;
        border: none;
        background: #fff;
        cursor: pointer;
        transition: 0.3s;
        font-size: 14px;
    }

        .pagination-wrapper .page-btn.active {
            border-radius: 10px;
            background: #2F4497;
            color: #fff;
            pointer-events: none;
            padding: 5px 13px;
        }

        .pagination-wrapper .page-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

.page-btn img.page-icon {
    width: 6px;
    height: 12px;
    flex-shrink: 0;
    fill: #2F4497;
}

.page-btn.prev img.page-icon {
    transform: rotate(180deg);
}


.cards-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cards {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    border-radius: 10px;
    overflow: hidden;
}

.cards-img {
    position: relative;
    height: 450px;
    object-fit: cover;
    display: block;
    bottom: -8px;
    width: 100%;
    border-radius: 5px;
}

.cards-body {
    display: flex;
    justify-content: space-between;
    width: 100%;
    text-align: center;
    padding: 26px 10px 10px 10px;
    border: 1px solid #2F4497;
    border-radius: 10px 10px 10px 10px;
}

.card-price {
    display: flex;
    flex-direction: column;
}

.cards-title {
    font-size: 13px;
    white-space: nowrap;
    text-align: right;
    margin-bottom: 15px;
    padding: 4px 0 0 0;
    font-weight: 800;
    color: #1E1E1E;
}

.cards-text {
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
    font-weight: 800;
    margin-bottom: 0;
    color: #1E1E1E;
}

    .cards-text del {
        font-size: 11px;
    }


@media (min-width: 1026px) and (max-width: 1600px) {
    .container {
        max-width: 1175px !important;
    }

    .cards-title {
        font-size: 13px;
        margin-bottom: 15px;
        padding: 4px 0 0 0;
        font-weight: 800;
        color: #1E1E1E;
    }
}


@media (min-width: 992px) {
    .col-lg-5th {
        flex: 0 0 20%;
        max-width: 20%;
    }
}


@media (max-width:450px) {

    .title-latestProducts {
        color: #000;
        font-size: 16px;
        font-style: normal;
        font-weight: 800;
        line-height: normal;
    }

    .breadcrumb-simple {
        margin-right: 12px;
    }

    .products-header {
        margin-left: 12px;
        margin-right: 12px;
    }

    .sort-menu {
        right: -72px !important;
        left: 0;
    }


    .product-card img {
        width: 100%;
        height: auto !important;
        object-fit: cover;
        display: block;
    }

    .price-text {
        font-weight: 500;
        color: #000;
        font-size: 15px;
    }

    .bestSell-card img {
        width: 100%;
        height: 180px !important;
        object-fit: cover;
        display: block;
    }

    .price-box {
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 5px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 8px;
        gap: 15px;
        position: relative;
        margin: 0 7px 18px 7px;
    }

    .product-title {
        font-weight: 500;
        color: #000;
        font-size: 11px;
        margin: 8px 0;
        text-decoration: none;
    }

    .product-card {
        flex: 0 0 155px;
        scroll-snap-align: start;
    }

    .bestSell-card {
        min-width: 152px;
        scroll-snap-align: start;
    }

    .product-image {
        position: relative;
        width: 100%;
        padding: 19px 19px;
        background-color: #fff;
    }

    .Bestseller-image {
        position: relative;
        width: 100%;
        padding: 19px 19px;
        background-color: #fff;
    }

    .price-icon img {
        width: auto;
        height: 13px;
        max-height: 13px;
        object-fit: contain;
        -webkit-object-fit: contain;
        display: block;
    }

}
