@font-face {
    font-family: 'IRANSans-500';
    src: url("/static/font/IRANSansX-Medium(500).woff");
}

* {
    box-sizing: border-box;
    font-family: 'IRANSans-500';
}


html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;

}


.navbar {
    box-shadow: 0px 2px 4px 0px #0000001A;
    max-width: none;
}

.navbar .container-fluid {
    max-width: 1400px;
}

.product-sort-container, .product-container {
    max-width: 1400px;

}
/*======================= sepehr ===================*/

/*footer namad styles  */
.footer-namad-container {
    width: 130px;
    height: 174px;
}

@media screen and (max-width: 800px) {
    .footer-namad-container {
        width: 100px;
        height: 150px;
    }
}
@media screen and (max-width: 500px) {
    .footer-namad-container {
        width: 80px;
        height: 110px;
    }
}


/*logo container styles */
.logo-container {
    width: 64px;
    height: 64px;
    overflow: hidden;
    border-radius: 100px;
    flex-shrink: 0;
}

.logo-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 100px;
}

#searchbar-logo-container {
    gap: 48px;
}

@media screen and (max-width: 600px) {
    #searchbar-logo-container {
        gap: 24px;
    }

    .logo-container {
        width: 48px;
        height: 48px;
    }
}

@media screen and (max-width: 470px) {
    #searchbar-logo-container {
        gap: 16px;
    }
}
/* product card styles */
.product-container .card-component {
    overflow: hidden;
}




/*======================= sepehr - end  ===================*/

.product-sort-container nav {
    height: fit-content;
}

.product-sort-component {
    border-bottom: 1px solid #CDCDCD;
}

.product-sort-btn-style {
    background: #F5F5F5;
    border-radius: 4px;
    width: 128px;
    height: 40px;
    opacity: 1;
    border: none;
}

.product-sort-btn-style img, .filter-btn-in-resp img {
    width: 20px;
    height: 20px;
}

.product-sort-btn-style:hover, .product-sort-btn-style:active, .product-sort-btn-style:focus {
    border: 1px solid #808080;
}

.breadcrumb-item, .breadcrumb-item a {
    font-weight: 400;
    font-size: 12px;
    line-height: 100%;
    color: #000000 !important;

}

.product-sort-menu {
    border: 1px solid #808080;
    width: 128px;
    height: 184px;
    gap: 8px;
    opacity: 1;
    border-radius: 4px;
    top: 118%;
    display: none;
    z-index: 1000;
    background: #FFFFFF;
}

.product-sort-menu.active {
    display: flex !important;
}

.product-sort-item a, .product-sort-btn-style {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #070707;

}

.product-sort-item {
    cursor: pointer;
}

.product-sort-item:hover {
    background: #F5F5F5;

}


.filter-btn-in-resp {
    width: 71px;
    height: 32px;
    opacity: 1;
    border-radius: 4px;
    font-weight: 500;
    font-size: 10px;
    line-height: 16px;
    border: none;
}

/*=========================================================== loader*/

.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.loader-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.loader {
    height: 50px;
    width: 50px;
    position: relative;
}

.block {
    height: 10px;
    width: 10px;
    background-color: black;
    position: absolute;
    opacity: 0;
}

.b_1 {
    top: 0;
    left: 0;
    animation: load 2s infinite;
    animation-delay: 0s;
}

.b_2 {
    top: 0;
    left: 20px;
    animation: load 2s infinite;
    animation-delay: 0.25s;
}

.b_3 {
    top: 0;
    right: 0;
    animation: load 2s infinite;
    animation-delay: 0.5s;
}

.b_4 {
    top: 20px;
    right: 0;
    animation: load 2s infinite;
    animation-delay: 0.75s;
}

.b_5 {
    bottom: 0;
    right: 0;
    animation: load 2s infinite;
    animation-delay: 1s;
}

.b_6 {
    bottom: 0;
    left: 20px;
    animation: load 2s infinite;
    animation-delay: 1.25s;
}

.b_7 {
    bottom: 0;
    left: 0;
    animation: load 2s infinite;
    animation-delay: 1.5s;
}

.b_8 {
    top: 20px;
    left: 0;
    animation: load 2s infinite;
    animation-delay: 1.75s;
}

@keyframes load {
    0% {
        opacity: 1;
    }

    85% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/*======================================= accordion */
.accordion-button {
    height: 40px;

    font-weight: 500;
    font-size: 14px;
    line-height: 20px;

}

.filter-remove-filter-product {
    height: 40px;
    border-radius: 4px;
    border: 1px solid #8C9D79;
    background: #FFFFFF;
    padding: 8px 11px;
}

.filter-remove-filter-product p, .filter-remove-filter-product button {

    font-weight: 500;
    font-size: 14px;
    line-height: 20px;

}

.filter-remove-filter-product button {
    color: #AA1A1A;
    border: none;
    background: inherit;

}

.accordion-body {
    padding: 8px 11px;
}

.accordion-body li p, .accordion-body li span, .filter-available-product, .filter-discount-product, .field {
    font-weight: 500;
    font-size: 13px;
    line-height: 20px;


}

.accordion {
    border-radius: 4px !important;
    --bs-accordion-btn-bg: none;
    --bs-accordion-bg: #F5F5F5;
    gap: 8px;
    border: 1px solid #8C9D79;
}

.accordion-item:last-of-type, .accordion-item:first-of-type {


}


.accordion-body {
    background: #FFFFFF;
    max-height: 400px;
    overflow-y: auto;
}


.accordion-button:not(.collapsed) {
    background: inherit;
    color: inherit;

}

.accordion-button:focus {
    box-shadow: none;
}

input[type='checkbox'] {
    width: 16px;
    height: 16px;
    border: 1.5px solid #808080 !important;
}

.form-check-input:checked[type=checkbox] {
    --bs-form-check-bg-image: url('/static/images/check.svg');
}

.form-check-input:checked {
    border: 1.5px solid #070707 !important;
}

.form-check-input:focus {

    box-shadow: none !important;
}

.filter-color-component div:first-child {
    width: 12px;
    height: 12px;
}

.accordion-body li, .filter-available-product, .filter-discount-product {
    height: 40px;
    background: #F5F5F5;
    padding: 10px 12px;
}


/*======================================= range input */
::selection {
    color: #fff;
    background: #17a2b8;
}

.wrapper {
    width: 400px;
    border-radius: 10px;
}

.price-input, .price-input-360, .package-price-input-360 {
    width: 100%;
    display: flex;

}

.price-input .field, .price-input-360 .field, .package-price-input-360 .field {
    display: flex;
    width: 100%;
    height: 45px;
    align-items: center;
    background: #F5F5F5;
    padding: 10px 12px;

}

.field input, .package-field-360 input {
    width: 100%;
    height: 100%;
    outline: none;
    -moz-appearance: textfield;
    border-radius: 8px;
    border: none;
    background: #F5F5F5;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.slider, .slider-360, .package-slider-360 {
    height: 4px;
    position: relative;
    background: #F5F5F5;
    border-radius: 5px;
}

.slider .progress, .slider-360 .progress-360, .package-slider-360 .package-progres-360 {
    height: 100%;
    left: 0;
    right: 0;
    position: absolute;
    border-radius: 5px;
    background: #8C9D79;
}

.range-input, .range-input-360, .package-range-input-360 {
    position: relative;
}

.range-input input, .range-input-360 input, .package-range-input-360 input {
    direction: ltr;
    position: absolute;
    width: 100%;
    height: 5px;
    top: -5px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    background: #8C9D79;
    pointer-events: auto;
    -webkit-appearance: none;
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    height: 17px;
    width: 17px;
    border: none;
    border-radius: 50%;
    background: #8C9D79;
    pointer-events: auto;
    -moz-appearance: none;
}

/*============================================ product card*/

.product-card-container {
    height: fit-content;
}

.product-card-container .col {
    margin-bottom: 24px;
    padding: 0 12px;
}


@media screen and  (min-width: 1200px) {
    .product-sort-btn-style img {
        width: 24px;
        height: 24px;
    }

    .product-sort-container, .product-container {
        padding: 0 130px !important;
    }

    .product-filter-container {
        width: 267px !important;
    }

}

@media screen and (max-width: 1199px) and (min-width: 992px) {

    .breadcrumb-item, .breadcrumb-item a {
        font-size: 10px;
        line-height: 16px;

    }

    .product-sort-item a, .product-sort-btn-style {
        font-size: 12px;
        line-height: 100%;

    }

    .product-sort-btn-style {
        width: 107px;
        height: 32px;

    }

    .product-sort-container, .product-container {
        padding: 0 120px !important;
    }

    .product-filter-container {
        width: 307px !important;
    }

    .product-card-container .col {
        padding: 0 10px;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 991px) and (min-width: 768px) {
    .breadcrumb-item, .breadcrumb-item a {
        font-size: 10px;
        line-height: 16px;

    }

    .product-sort-item a, .product-sort-btn-style {
        font-size: 12px;
        line-height: 100%;

    }

    .product-sort-btn-style {
        width: 107px;
        height: 32px;

    }

    .product-sort-container, .product-container {
        padding: 0 100px !important;
    }

    .product-filter-container {
        width: 253px !important;
    }

    .accordion-button, .filter-remove-filter-product p, .filter-remove-filter-product button {
        font-size: 12px;
        line-height: 100%;
    }

    .accordion-body li p, .accordion-body li span, .filter-available-product, .filter-discount-product, .field {
        font-size: 10px;
        line-height: 16px;
    }

    .product-card-container .col {
        padding: 0 7.5px;
        margin-bottom: 16px;
    }
}

@media screen and (max-width: 767px) and (min-width: 576px) {

    .product-sort-item a, .product-sort-btn-style {
        font-size: 10px;
        line-height: 16px;

    }

    .product-sort-btn-style {
        width: 86px;
        height: 32px;

    }

    .accordion-button, .filter-remove-filter-product p, .filter-remove-filter-product button {
        font-size: 12px;
        line-height: 100%;
    }

    .accordion-body li p, .accordion-body li span, .filter-available-product, .filter-discount-product, .field {
        font-size: 10px;
        line-height: 16px;
    }

    #filterContainer {
        width: 100%;
    }

    .product-card-container .col {
        padding: 0 8px;
        margin-bottom: 16px;
    }
}


@media screen and (max-width: 575px) and (min-width: 300px) {

    .product-sort-item a, .product-sort-btn-style {
        font-size: 10px;
        line-height: 16px;

    }

    .product-sort-btn-style {
        width: 86px;
        height: 32px;

    }

    .accordion-button, .filter-remove-filter-product p, .filter-remove-filter-product button {
        font-size: 12px;
        line-height: 100%;
    }

    .accordion-body li p, .accordion-body li span, .filter-available-product, .filter-discount-product, .field {
        font-size: 10px;
        line-height: 16px;
    }

    #filterContainer {
        width: 100%;
    }

    .product-card-container .col {
        padding: 0 8px;
        margin-bottom: 16px;
    }
}

@media screen and (max-width: 575px) and (min-width: 457px) {

    .product-sort-container, .product-container {
        padding: 0 48px !important;
    }
}

@media screen and (max-width: 456px) and (min-width: 300px) {
    .product-sort-component {
        padding-bottom: 4px !important;
    }

}

