@font-face {
    font-family: 'iransans-ultralight';
    src: url("../font/IRANSans/IRANSansWeb_UltraLight.woff");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: 'iransans-medium';
    src: url("../font/IRANSans/IRANSansWeb_Medium.woff");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: 'iransans';
    src: url("../font/IRANSans/IRANSansWeb.woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'iransans-bold';
    src: url("../font/IRANSans/IRANSansWeb_Bold.woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'iransans-light';
    src: url("../font/IRANSans/IRANSansWeb_Light.woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Vazir';
    src: url("../font/Vazir.ttf") format('.ttf'),
    url("../font/Vazir.eot") format('.eot'),
    url("../font/Vazir.woff") format('.woff'),
    url("../font/Vazir.woff2") format('.woff2');
    font-style: normal;
    font-weight: normal;
}

* {
    font-family: 'iransans';
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    line-height: 1rem;
}

/* Preloader Styles */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff; /* Background color of the preloader */
    z-index: 9999; /* Ensures the preloader is on top of all content */
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    border: 5px solid #f3f3f3; /* Light gray */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.bg-gray {
    background-color: #eef1f7;
}

.bg-white {
    background-color: #ffffff;
}

.box-shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.custom-box-style {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    background-color : #ffffff;
}

.sidebar-section {
    padding-right: 0 !important;
}


@media screen and (max-width: 992px) {
    .category-sidebar-section {
        display: none !important;
    }

    .banner-section {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
    }

    .banner-section div {
        width: calc(100% - 5px);
        margin: 0 auto;
    }
}

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

    .banner-fixed {
        position: fixed;
        top: 0;
        width: 17rem;
        z-index: 1000;
        transition: top 0.3s ease-in-out, bottom 0.3s ease-in-out;
    }

}


.header-nav-features-dropdown {
    display: none; /* Hide dropdown by default */
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0.5s ease, max-height 0.5s ease;
    visibility: hidden;
    max-height: 0;
    overflow-y: auto; /* Enable vertical scrolling */
    width: 100%; /* Adjust width as needed */
}

.header-nav-features-dropdown.show {
    display: block; /* Show dropdown */
    opacity: 1;
    visibility: visible;
    max-height: 500px; /* Adjust max-height as needed */
    width: auto;
}

.add-to-cart-product:hover {
    cursor: pointer;
}

.product-box {
    padding: 1rem 2rem;
}

.item .row {
    display: flex;
    align-items: center;
}

.product-image img {
    max-width: 100%;
    height: auto;
}

.product-details {
    flex-grow: 1;
    padding-right: 10px;
    font-size: 0.75rem;
    position: absolute;
    bottom: 1rem !important;
}

.btn-remove {
    font-size: 1.5rem;
    color: red;
    cursor: pointer;
}

.product-image {
    left: 3rem;
}

@media (max-width: 768px) {
    .item .row {
        /*flex-direction: column;*/
        align-items: flex-start;
    }

    .product-image, .product-details, .btn-remove {
        text-align: center;
    }

    .btn-remove {
        margin-top: 10px;
    }
}


.dropdown-toggle-icon {
    display: block;
    float: none;
    font-size: 1rem;
    margin-right: 5rem;
    padding: 5px;
    line-height: 14px;
    transition: transform 0.3s ease-in-out;
}

.dropdown-toggle-icon:hover {
    outline: 1px solid #cdd2a9;
    background-color: #cdcdcd;
}

.nav-item .nav-link {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}


.nav-item .nav-link.collapsed .dropdown-toggle-icon::before {
    content: '+';
}

.dropdown-toggle-icon::before:hover {
    border-radius: 50%;
}

.nav-item .nav-link:not(.collapsed) .dropdown-toggle-icon::before {
    content: '-';
}

.nav-item .nav-link + .collapse .nav-link {
    padding-left: 2rem;
}

/* سبک پیش‌فرض برای دستگاه‌های با صفحه نمایش بزرگتر */
.image-container {
    width: 100%;
    height: auto;
    border-radius: 15px; /* Apply border-radius to the container */
    overflow: hidden; /* Ensure the image fits within the rounded corners */
}

.img-fluid {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Maintain the image aspect ratio */
    /*margin: 1rem auto;*/
    margin-top: 0 !important;
}


/* Media query برای دستگاه‌های موبایل */
@media (max-width: 768px) {
    .img-fluid {
        height: auto;
        margin: 10px auto;
        border-radius: 5px;
    }

    .dropdown-toggle-icon {
        display: block;
        float: none;
        font-size: 1rem;
        margin-right: 15rem;
        font-weight: 600;
        padding: 5px;
        line-height: 14px;
        transition: transform 0.3s ease-in-out;
    }


}


.shop-footer-details {
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.shop-footer-details > li {
    margin: 1rem 2rem;
}


.payment-wrapper {
    border-radius: 0.25rem;
    border: 2px solid #dedede;
    background-color: #fcfcfc;
    font-size: 0.8rem;
    transition: 0.4s;
    direction: rtl;
    text-align: right;
}

.payment-wrapper:hover {
    border: 2px solid #00d2e2;
    background-color: #efefef;
    cursor: pointer;
    transition: 0.4s;
}

.payment-select input[type=radio] {
    display: none;
}

.payment-select input[type=radio]:checked + .payment-wrapper {
    border-color: #00b3c3;
    transition: 0.4s;
}

.payment-selected {
    position: absolute;
    bottom: 0.4rem;
    left: 0.4rem;
    display: none;
    color: #00b3c3;
    font-size: 0.7rem;
}

.alert-success, .alert-danger {
    width: 100%;
    text-align: right;
}

#category-box {
    border: 1px solid #f1f6f6;
    box-shadow: 1px 1px 10px 1px rgba(70, 130, 180, 0.5);
    border-radius: 15px;
    padding: 1rem 2rem;
    margin-bottom: 1rem;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.category-image {
    float: left;
    width: 250px; /* Adjust as needed */
    margin-right: 20px; /* Adjust spacing */
    margin-bottom: 20px; /* Adjust spacing */
}

.category-details {
    margin-right: 1rem;
    text-align: right !important;
}

@media (max-width: 992px) {
    .category-image {
        float: none;
        width: 60%;
        height: 60%;
        margin: 0 auto;
    }

    .category-details {
        margin: 10px 5px 10px 5px;
        text-align: right;
    }
}


.subcategory-header {
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.subcategory-details {
    border: 1px solid #cce5ff;
    box-shadow: 1px 1px 10px 1px rgba(70, 130, 180, 0.5);
    border-radius: 8px;
    margin: 1rem;
    padding: 1rem;
    text-align: center;
}

.subcategory-details img {
    border-radius: 8px;
}

.subcategory-name {
    padding: 5px 0;
    text-align: center;
}


.breadcrumb {
    background-color: inherit;
}

@media screen and (max-width: 576px) {
    .breadcrumb {
        font-size: 0.6rem;
    }
}

@media screen and (min-width: 991.98px) {

    .small-screen-search {
        display: none !important;
    }

    .header-menu-and-search {
        align-self: auto !important;
    }

}

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

    .big-screen-search {
        display: none !important;
    }

    .small-screen-search {
        width: 70%;
    }

}

.big-screen-search {
    display: flex;
    justify-content: flex-end;
    width: 50%;
    margin-left: auto; /* Aligns the search box to the right */
    text-align: right;
    margin-top: 1rem;
}

.big-screen-search .input-group {
    width: 50vw;
}

@media screen and (max-width: 992px) {
    .big-screen-search {
        display: none;
    }
}

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

    .owl-carousel .item img {
        display: block;
        width: 35%;
        text-align: right;
        margin: 0 auto;
        object-fit: contain;
    }
}

@media screen and (min-width: 1399px) {
    .big-screen-search .input-group {
        max-width: 499px;
        float: right !important;
        margin-right: 2rem;
    }
}

@media screen and (min-width: 1999px) {
    .big-screen-search .input-group {
        width: 30vw !important;
    }
}

/* header shopping cart header styles */
.mini-products-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mini-products-list .item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.mini-products-list .item .product-image img {
    max-width: 100%;
    height: auto;
}

.mini-products-list .item .row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.mini-products-list .item .col-2 {
    flex: 0 0 20%;
    max-width: 20%;
    /* padding: 5px; */
}

.mini-products-list .item .col-8 {
    flex: 1 0 60%;
    max-width: 100%;
    padding: 5px;
}

.mini-products-list .item .col-2:last-child {
    flex: 0 0 20%;
    max-width: 20%;
    padding: 5px;
    text-align: right;
}

/* Media Queries for Small Screens */
@media (max-width: 768px) {
    .mini-products-list .item .col-2,
    .mini-products-list .item .col-8 {
        flex: 1 0 100%;
        max-width: 100%;
        padding: 5px;
        text-align: center;
    }

    .mini-products-list .item .col-8 {
        order: 2;
    }

    .mini-products-list .item .col-2:first-child {
        order: 1;
    }

    .mini-products-list .item .col-2:last-child {
        order: 3;
    }
}

@media screen and (max-width: 768px) {
    .ecali span {
        display: none;
    }

    ul .col-lg-20 img {
        margin-right: 40%;
        margin-left: 40%;
    }
}

.onsale {
    border-bottom-color: #006da3;
    position: absolute;
    background-image: none;
    border-radius: 100%;
    left: auto;
    right: 0;
    /*top: -15px;*/
    text-shadow: none;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    text-align: center;
    z-index: 10;
    box-shadow: none;
    font-size: .9rem;
    color: #ffffff;
    border-bottom: 2px solid transparent;
}

@media screen and (max-width: 767px) {
    .owl-carousel .big-banner-slider-image {
        width: 100% !important;
    }
}

/* payment progressbar */
.steps-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.step {
    text-align: center;
    position: relative;
    flex: 1;
}

.step-number {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    background-color: #d8d8d8; /* Default (gray) for steps not completed or active */
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
}

.step-label {
    font-size: 14px;
    color: #333;
}

/* Active Step (red) */
.step.active .step-number {
    background-color: #dc3545; /* Red for the active step */
}

.step.active .step-label {
    color: #dc3545; /* Red for the active step label */
}

/* Completed Steps (green) */
.step.completed .step-number {
    background-color: #28a745; /* Green for completed steps */
}

.step.completed .step-label {
    color: #28a745; /* Green for the completed step label */
}

/* Connecting line */
.step::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: #d8d8d8;
    z-index: -1;
    transform: translateY(-50%);
}

/* Completed Step's line (green) */
.step.completed::after {
    background-color: #28a745; /* Green for completed steps line */
}

/* No line after the last step */
.step:last-child::after {
    display: none;
}

@media (max-width: 768px) {
    .steps-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .step {
        margin-bottom: 20px;
    }

    .step::after {
        display: none;
    }
}

.input-group-append .btn, .input-group-prepend .btn {
    z-index: 0 !important;
}

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

    .mini-products-list .item {
        /*border: 4px solid red;*/
        /*display: flex;*/
        /*width: 300px;*/
        /*flex-direction: column;*/
    }
}

.cart-item {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.cart-item-row {
    padding: .5rem;
    display: flex;
    align-items: end;
    justify-content: space-between; /* فاصله بین عناصر */
}

.product-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
}

.product-info {
    flex: 1; /* این بخش فضای بیشتری می‌گیرد */
    margin-left: 15px; /* فاصله بین تصویر و متن */
    text-align: right;
}

.product-name a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.qty-price {
    color: green;
    font-weight: bold;
    margin-top: 5px;
}

.btn-remove {
    color: #d9534f;
    font-size: 18px;
    text-decoration: none;
}

.btn-remove:hover {
    color: #c9302c;
}

.header-nav-features-dropdown .card-title {
    background: #f7f7f7;
    padding: 15px 5px;
    border-bottom: 1px solid #c7c7c7;
    border-bottom-color: rgb(199, 199, 199);
    margin: 0;
    text-transform: uppercase;
    font-size: 1rem;
    text-align: center;
    font-weight: 700;
}

.header-nav-features-dropdown .cart-title {
    display: flex; /* فعال کردن Flexbox */
    align-items: center; /* عمودی وسط‌چین کردن محتوا */
    justify-content: center; /* متن وسط قرار می‌گیرد */
    position: relative; /* برای موقعیت‌دهی به آیکون حذف */
    padding: 10px; /* فاصله داخلی */
    font-size: 18px; /* اندازه فونت */
    font-weight: bold; /* فونت ضخیم‌تر */
}

.remove-icon {
    position: absolute; /* آیکون حذف خارج از جریان اصلی */
    right: 10px; /* فاصله از سمت راست */
    top: 50%; /* وسط صفحه */
    transform: translateY(-50%); /* تنظیم دقیق برای عمودی وسط‌چین کردن */
    color: #d9534f; /* رنگ آیکون */
    font-size: 20px; /* اندازه آیکون */
    cursor: pointer; /* تغییر حالت موس */
}

.remove-icon:hover {
    color: #c9302c; /* تغییر رنگ آیکون هنگام hover */
}

.cart-container {
    display: block; /* سبد خرید نمایش داده شود */
    transition: all 0.3s ease; /* انیمیشن بستن */
}

.cart-container.hidden {
    display: none; /* مخفی کردن سبد خرید */
}

.owl-carousel.owl-rtl .item {
    height: 25em;
}

.owl-carousel .item {
    /*width: auto;*/
    height: auto;
    /* margin-right: .5rem !important; */
    padding: 0 0.25rem;
    text-align: right;
    border-radius: 5px;
    position: relative;
    /*margin-top: .25rem;*/
}


.owl-carousel .item .card-title {
    margin-bottom: 15px; /* Space below the title */
    margin-top: 15px;
}

.owl-carousel .item .price {
    margin-bottom: 15px; /* Space below the price */
}

.owl-carousel .item:hover .ajax-add-to-cart {
    bottom: 0; /* Ensure it's visible on hover */
}

.owl-carousel .item .product-details span {
    font-weight: bolder;
    font-size: 1rem;
}

.owl-nav button {
    position: absolute;
    top: 50%;
    background-color: #000;
    color: #fff;
    margin: 0;
    transition: all 0.3s ease-in-out;
}

.owl-nav button.owl-prev {
    left: 0;
}

.owl-nav button.owl-next {
    right: 0;
}

.owl-dots {
    display: none !important;
}

.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.38) !important;
}

.owl-nav button:focus {
    outline: none;
}

.owl-carousel {
    display: flex; /* Ensure items are inline-block */
    flex-wrap: nowrap; /* Prevent wrapping */
    overflow: hidden; /* Hide overflow to avoid layout recalculations */
}


.owl-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.owl-carousel {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
    visibility: visible !important;
    opacity: 1 !important;
}

.owl-carousel.owl-rtl .item {
    min-height: 25em;
    height: auto;
}

.big-banner-slider-image {
    border-radius: 0 !important;
    margin-right: 1rem !important;
}

.slider-products {
    border: 1px solid #f5f4f4;
    height: auto;
    text-align: right;
    direction: rtl;
}


/* Shop - Base */
.shop .products:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}

.shop .products .product {
    position: relative;
    margin-bottom: 1rem !important;
    /* padding-right: 0 !important; */
}

.shop .products .product a {
    text-decoration: none;
}


.shop .products .product .price {
    display: block;
    min-height: 28px;
}

.shop .products .product .price del {
    color: rgba(145, 145, 145, 0.5);
    font-size: 0.7em;
    margin: -2px 0 0;
}

.shop .products .product .price ins {
    text-decoration: none;
}

.shop .products .product .price .amount {
    font-size: 1.3em;
}

.shop .products .product .onsale {
    position: absolute;
    background-image: none;
    border-radius: 100%;
    left: auto;
    right: 0;
    top: -15px;
    text-shadow: none;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: inline-block;
    text-align: center;
    z-index: 10;
    -webkit-box-shadow: none;
    box-shadow: none;
    font-size: 0.9em;
    color: #FFF;
    border-bottom: 2px solid transparent;
}

.masonry-loader-showing .products {
    opacity: 0;
}

/* Product Info */
.product-info {
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    padding: 0;
    position: relative;
    /*border: 1px solid #DDD;*/
    /*background: #F7F9FC;*/
    display: block;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    max-width: 100%;
    text-align: center;
    padding: 0;
    text-decoration: none;
}

/*.product-info:hover {*/
/*    background-color: #FFF;*/
/*    text-decoration: none;*/
/*}*/

.product-info a {
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.product-info a:hover {
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.product-info img {
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.product-info h4 {
    color: #404751;
    letter-spacing: -1px;
    font-weight: 600;
    font-size: 1.4em;
    line-height: 1.1em;
    margin: 0;
    padding: 0;
}

.product-info + .product-info {
    margin-top: -5px;
}


.product-info .product-info-image {
    display: block;
    position: relative;
}

.product-info .product-info-image:before {
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #333;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.product-info:hover .product-info-image:before {
    opacity: 0.4;
}

.product-info .product-info-act {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    text-align: center;
    color: #FFF;
}

.product-info .product-info-act em {
    font-style: normal;
    position: relative;
    font-size: 1.2em;
    font-weight: 100;
}

.product-info .product-info-act-left, .product-info .product-info-act-right {
    float: left;
    overflow: hidden;
}

.product-info .product-info-act-left {
    text-align: right;
    width: 45%;
}

.product-info .product-info-act-left em {
    -webkit-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    left: 0%;
    opacity: 0;
}

.product-info .product-info-act-right {
    text-align: left;
    margin-left: 2%;
    width: 53%;
}

.product-info .product-info-act-right em {
    -webkit-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    right: 0%;
    font-weight: 600;
    opacity: 0;
}

.product-info:hover .product-info-act-left em {
    opacity: 1;
}

.product-info:hover .product-info-act-right em {
    opacity: 1;
}

.product-info .product-info-content {
    padding: 15px;
    text-align: left;
    display: block;
}

.product-info .product-info-caption {
    padding: 0 15px 15px;
    text-align: left;
    display: block;
}

.product-info .product-info-caption p {
    margin: 0;
    padding: 0 0 10px;
}

.product-info .product-info-extra {
    clear: both;
    padding: 10px 0 0;
    margin: 10px 0 0;
    border-top: 1px solid #EBEBF4;
    display: block;
}

.product-info .product-info-extra.social {
    text-align: center;
}

.product-info .product-info-extra.social a {
    border-right: 1px solid #EBEBF4;
    display: inline-block;
    margin-right: 10px;
    padding-right: 10px;
    font-size: 0.9em;
    color: #ACACAC;
    width: auto;
}

.product-info .product-info-extra.social a:last-child {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
}

.product-info .date {
    color: #9AA1AB;
    font-size: 0.9em;
}

.product-info.secondary .product-info-content {
    text-align: center;
}

.product-info.secondary .product-info-content h4 {
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    color: #FFF;
    position: relative;
    top: -25%;
    opacity: 0;
}

.product-info.secondary .product-info-content .date {
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    position: relative;
    top: 25%;
    display: block;
    opacity: 0;
}

.product-info.secondary .product-info-act {
    top: 30%;
}

.product-info.secondary .label {
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    clear: both;
    display: inline-block;
    margin-top: 15px;
    opacity: 0;
}

.product-info.secondary:hover .label {
    opacity: 1;
}

.product-info.secondary:hover .product-info-content h4 {
    top: 0;
    opacity: 1;
}

.product-info.secondary:hover .product-info-content .date {
    top: 0;
    opacity: 1;
}

.shop table.cart .product-remove {
    width: 1%;
}

.shop table.cart .product-thumbnail {
    width: 8%;
}

.shop table.cart .product-name {
    width: 60%;
}

.shop .product-meta {
    clear: both;
}

/* Product Thumb Info */
.product-thumb-info {
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    padding: 0;
    position: relative;
    border: 0;
    border-bottom: 3px solid #E3E4E8;
    background: #F7F9FC;
    display: block;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    max-width: 100%;
    text-align: center;
    border: 1px solid #DDD;
    text-decoration: none;
}

.product-thumb-info {
    background-color: #FFF;
    text-decoration: none;
}

.product-thumb-info:hover {
    box-shadow: 1px 1px 10px 1px rgba(70, 130, 180, 0.5);
}

.product-thumb-info a {
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.product-thumb-info a:hover {
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.product-thumb-info img {
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.product-thumb-info h4 {
    color: #34364d;
    letter-spacing: -1px;
    font-weight: 600;
    font-size: 1.4em;
    line-height: 1.1em;
    margin: 0;
    padding: 0;
}

.product-thumb-info + .product-thumb-info {
    margin-top: -5px;
}

.product-thumb-info .product-thumb-info-touch-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: none;
    background-color: transparent;
}

.product-thumb-info.hover .product-thumb-info-touch-hover {
    display: block;
}

.product-thumb-info .product-thumb-info-image {
    display: block;
    position: relative;
}

.product-thumb-info .product-thumb-info-image:before {
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFF;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.product-thumb-info:hover .product-thumb-info-image:before {
    opacity: 0.4;
}

.product-thumb-info .product-thumb-info-act {
    position: absolute;
    top: 40%;
    left: 0;
    right: 0;
    text-align: center;
    color: #FFF;
    opacity: 0;
}

.product-thumb-info:hover .product-thumb-info-act {
    opacity: 1;
    top: 50%;
}

.product-thumb-info .product-thumb-info-act em {
    font-style: normal;
}

.product-thumb-info .product-thumb-info-content {
    padding: 15px;
    text-align: left;
    display: block;
}

.product-thumb-info .product-thumb-info-caption {
    padding: 0 15px 15px;
    text-align: left;
    display: block;
}

.product-thumb-info .product-thumb-info-caption p {
    margin: 0;
    padding: 0 0 10px;
}

.product-thumb-info .product-thumb-info-extra {
    clear: both;
    padding: 10px 0 0;
    margin: 10px 0 0;
    border-top: 1px solid #EBEBF4;
    display: block;
}

.product-thumb-info .product-thumb-info-extra.social a:last-child {
    border-right: 0;
    margin-right: 0;
    padding-right: 0;
}

/* Product Thumb Info - Full Width */
.full-width .product-thumb-info .product-thumb-info-image:before {
    border-radius: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .shop .actions-continue {
        float: none;
    }

    .shop table.cart .product-thumbnail {
        width: 12%;
    }

    .shop table.cart .product-name {
        width: 35%;
    }

    #header nav.mega-menu .mega-menu-shop a {
        color: #FFF;
    }

    #header nav.mega-menu .mega-menu-shop a .fa-caret-down {
        display: none !important;
    }

    #header nav.mega-menu .mega-menu-shop > ul.dropdown-menu {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .shop table.cart .product-name {
        width: 65%;
    }

    .shop table.cart th.product-price, .shop table.cart td.product-price, .shop table.cart th.product-quantity, .shop table.cart td.product-quantity, .shop table.cart .product-thumbnail {
        display: none;
    }
}


.img-thumbnail {
    border: none;
}

.product:hover .add-to-cart-product {
    opacity: 1;
    bottom: 0; /* Make visible on hover */
}

.product:hover .add-to-cart-product:hover {
    background: #75b6aa;
}

@media (max-width: 768px) {
    .add-to-cart-product {
        width: 100%;
        display: block;
        margin-bottom: 20px;
    }

    .img-fluid {
        width: calc(100vw - 40px);
        /* height: 20vh; */
        object-fit: cover;
        margin: 0 auto;
    }

    .ajax-add-to-cart {
        width: 100%;

    }

    .btn-modern {
        margin: 0 auto;
        width: 70vw;
    }

    .btn-modern * {
        font-size: .75rem;
    }
}


.add-to-cart-product {
    width: 100%;
    transition: all 0.2s;
    position: absolute;
    /*bottom: -100% !important;*/
    left: 0;
    padding: 8px 0 5px;
    font-size: 0.9em;
    color: #FFF !important;
    border-radius: 5px;
    background: #05abb7;
    z-index: 1;
    opacity: 0;
    transform: translate3d(0, 0, 0);
}

.add-to-cart-product [class*="fa-"], .add-to-cart-product .icons {
    margin-right: 3px;
    font-size: 1.5em;
}

.product:hover .add-to-cart-product {
    opacity: 1;
    bottom: 0;
}

.product:hover .add-to-cart-product:hover {
    background: #75b6aa;
}

@media (max-width: 768px) {
    .add-to-cart-product {
        /* width: calc(100% - 5px); */
        margin: 0 auto;
        /* position: absolute;
        left: 50%;
        right: 50%;
        transform: translateX(-50%); */
        text-align: center;
        opacity: 1;
        bottom: 0;
    }
}

.ajax-add-to-cart {
    display: block;
    width: 100%;
    margin: 0 auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    transition: bottom .5s;
    opacity: 1; /* Ensure the button is visible */
}


.add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* Adjust the spacing between the text and icon */
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    text-transform: uppercase;
    background-color: #05abb7;
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
    background-color: #75b6aa;
}

.add-to-cart-btn .btn-text {
    margin-right: 0.5rem; /* Adjust spacing if needed */
    border-left: 1px solid #FFFFFF;
    padding-left: 0.5rem;
}

.add-to-cart-btn .btn-icon {
    font-size: 1.25rem; /* Adjust icon size if needed */
}

.add-to-cart-btn .btn-icon {
    display: flex;
    align-items: center;
}

/* Quantity controls */
.quantity {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity input[type="button"] {
    width: 2rem;
    height: 2rem;
    border: 1px solid #ddd;
    background: #f7f7f7;
    cursor: pointer;
    text-align: center;
    line-height: 2rem;
}

.quantity input.qty {
    width: 3rem;
    height: 2rem;
    border: 1px solid #ddd;
    text-align: center;
    margin: 0 0.5rem;
}

/* Price display */
#total-price {
    margin-top: 1rem;
}

/* Add to Cart Button */
.add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    text-transform: uppercase;
    background-color: #05abb7;
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    transition: background-color 0.3s;
}

.add-to-cart-btn:hover {
    background-color: #75b6aa;
}

.add-to-cart-btn .btn-text {
    margin-right: 0.5rem;
    border-left: 1px solid #FFFFFF;
    padding-left: 0.5rem;
}

.add-to-cart-btn .btn-icon {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
}

.owl-carousel.owl-drag .owl-item {
    padding-right: 3px !important;
    padding-left: 3px !important;
    max-height: 70vh;
    margin-top: 1rem;
}

.owl-item {
    margin-right: 0 !important;
}

.owl-carousel .item {
    max-height: 60vh;
}

.custom-shadow {
    border-radius: 5px;
    font-weight: bold;
    transition: box-shadow 0.3s ease; /* Optional for smooth shadow effects */
}

.custom-shadow:hover {
    box-shadow: 0 2px 8px rgba(225, 34, 34, 0.7); /* Adds a deeper shadow on hover */
}

.add-to-cart-btn {
    padding-left: 1px !important;
    padding-right: 1px !important;
}

.price-and-buy {
    display: flex;
    flex-direction: row;
    margin-bottom: 5px;
    align-items: center;
    justify-content: space-between;
}

.product-details-box h5 {
    font-size: 0.75rem !important;
    line-height: 25px !important;
}

@media screen and (max-width: 375px) {

    .price-and-buy {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        font-size: 0.9rem;
        margin-top: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .product-details-box .h5 {
        margin: 0.9rem 0;
        font-size: 1.25rem;
    }

}

.slider-section {
    /*margin-top: 0.875rem;*/
    margin-bottom: 0.875rem;
}

.banner-section {
    display: flex;
    flex-direction: column; /* Stack banners vertically by default */
    margin-top: 1rem;
    gap: 1rem; /* Add spacing between banners */
}

.banner-item {
    width: 100%; /* Full width by default */
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Optional: rounded corners */
}

@media (max-width: 992px) {
    .banner-section {
        flex-direction: row; /* Display items in a row for smaller screens */
        flex-wrap: wrap; /* Allow wrapping to the next line */
        justify-content: center; /* Center items */
        gap: 1rem;
    }

    .banner-item {
        flex: 1 1 calc(50% - 1rem); /* Two items per row */
        max-width: calc(50% - 1rem); /* Ensure consistent sizing */
    }
}

.breadcrumb-item + .breadcrumb-item::before {
    display: inline-block;
    padding-right: 0.5rem;
    color: #6c757d;
    content: ">" !important;
}

.custom-breadcrumb {
    text-align: right;
    direction: rtl;
    font-size: 0.7rem;
}

.cart #product_final_price {
    font-size: 1.5rem;
}


.owl-carousel {
    overflow: hidden !important; /* Ensure no overflow issues */
}

.owl-carousel .owl-item img {
    display: inline !important;
    /*width: 80%;*/
}

.owl-item {
    margin-top: 0 !important;
}

/*.row {*/
/*    margin-bottom: 1rem;*/
/*}*/

/* the big slider in eshop index page style start */
.special-offers-section {
    background-color: #eb2a2a; /* Red background */
    padding: 30px 30px 0 30px;
    color: white;
    border-radius: 10px;
    margin: 0 0 1rem 0;
    background-position: 100%;
    background-repeat: repeat;
    background-size: auto 100%;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff2c2c;
    color: white;
    padding: 5px 10px;
    border-radius: 100%;
    font-size: 14px;
    font-weight: bold;
}

.old-price {
    text-decoration: line-through;
    color: #888;
}

.new-price {
    font-weight: bold;
    font-size: 20px;
    color: black;
}

.btn-view-all {
    background: white;
    color: #eb2a2a;
    padding: 10px 20px;
    font-weight: bold;
    border-radius: 5px;
    display: block;
    text-align: center;
    text-decoration: none;
}

.btn-view-all:hover {
    background: #f5f5f5;
}

.btn-outline-light {
    width: 100%;
    margin: 0 auto;
}

.btn-outline-light:hover {
    color: #444;
    background-color: #fff;
    border-color: #fff;
}

/* the big slider finish */


.special-products-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.special-products-tile img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    width: 300px; /* Adjust as needed */
    /*margin-bottom: 50px;*/
}

.product-old-price {
    text-decoration: line-through !important;
}

.main-sliders img {
    border-radius: 5px !important;
}

/*برای نوار قرمز رنگه این قسمت*/
.special-offers-section {
    padding-bottom: 10px;
}

ul.dropdown-menu{
    direction : rtl;
}
