body,
h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-family: "Yekan", sans-serif !important;
}
.collapse {
    display: none;
    transition: height 0.35s ease;
}

    .collapse.show {
        display: block;
        visibility: visible
    }
.kendo-minimal-dropdown {
    font-size: 0.85rem;
    border-radius: 6px;
    padding: 4px 8px;
    height: 34px;
    border: 1px solid #ccc;
    transition: border-color 0.3s ease;
}

    .kendo-minimal-dropdown:focus {
        border-color: #66afe9;
        outline: none;
        box-shadow: none;
    }
select.form-control:focus {
    outline: none;
    box-shadow: none;
}
.no-outline {
    outline: none !important;
    box-shadow: none !important;
}

.shopname{
    text-align: center;
}


.panel-collapse {
    font-size: 12px;
    border-top: 1px solid #d5d5d5;
    padding: 16px;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    color: #575454;
}
.Loan-plan-item {
    text-decoration: none;
    font-size: 16px;
    margin-top: 12px;
    border-radius: 12px;
    font-weight: 600;
    color: rgb(72, 72, 72);
    border: 1px solid #d5d5d5;
}


.product-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 150px; 
    background-color: #fff; 
    cursor: pointer;
}

.image-wrapper img {
    max-height: 100%;
    max-width: 100%;
     object-fit: contain;
     transition: transform 0.3s ease;
     display: block;
        transform: scale(0.85);
}

.image-wrapper:hover img {
        transform: scale(1);
}



.secondary-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}
.product-info {
    padding: 10px;
}

.product-info h3 {
    font-size: 16px;
    margin: 10px 0;
    height: 40px;
    overflow: hidden;
}

.price-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
}

.old-price {
    text-decoration: line-through;
    color: #aaa;
    font-size: 14px;
}

.current-price {
    color: #e53935;
    font-weight: bold;
    font-size: 16px;
}

.btn-details {
    display: inline-block;
    background: #28a745;
    color: #fff !important;
    padding: 6px 32px;
    border-radius: 4px;
    transition: background 0.3s ease;
    font-size: 14px;
}

.btn-details:hover {
    background: #1e7e34;
}


#tablist li a.active {
    color: red !important;
}

.product_d_table table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}
.product_d_table table tr:nth-child(even) {
     background: #f9f9f9;
}

.product_d_table table td {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
    color: #333;
}

.product_d_table table td.first_child {
     width: 30%;
     font-weight: bold;
     background: #f3f6fa;
     color: #444;
        }

.product_d_table table tr:last-child td {
    border-bottom: none;
}

.product_d_table table tr:hover {
   background: #e9f2ff;
   transition: 0.2s;
}



.nav li a:hover {
    color: red;
}

.list-group {
    font-size: 14px;
}

.breadcrumb-item a {
    text-decoration: none !important;
    color: gray;
    font-size: 14px;
}

.breadcrumb-item.active {
    color: #423F3F;
    font-weight: 600;
}


/* حذف فلش‌ها در Chrome، Safari، Edge */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* حذف فلش‌ها در Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


#sidebar {
    margin-right: 20px;
    margin-left: 10px;
    margin-top: 10px;
    background-color: #fff;
}

#sidebar li {
    font-weight: 600;
}
    #sidebar li a{
        color: #333;
        padding-right: 5px
        
    }

#sidebar li:not(:last-child) {
        border-bottom: 1px solid #bbb;
      margin-bottom: 8px;
 }

        #sidebar li a:hover {
            color: #cb2c33;
            width: 100%;
        }

    #sidebar a:active {
        color: #cb2c33;
    }

.countinuing-btn {
    width: 100%;
}

    .countinuing-btn:hover {
        background-color: #cb2c33;
    }

select option {
    color: grey;
}

select, .selected {
    padding: 8px;
    font-size: 14px;
    color: #575454;
    background-color: white;
    outline: none;
    border: 1px solid #575454;
    border-radius: 4px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
}

.btn {
    font-size: 12px;
    padding: 10px;
}

.item {
    font-size: 14px;
}

.img-fluid {
    width: 100%;
    height: 100%;
    
}

.product-price-shopping {
    font-size: 14px;
}

.total-price p {
    font-size: 14px;
}

.header-button-div {
    width: 100%;
    display: flex;
    gap: 1rem;
    margin-left: 12px;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    margin-top: 40px;
    width: auto;
}

#mainImage {
    width: 100%;
    max-width: 400px;
    height: auto;
}

.prodcut-name {
    font-size: 18px;
    font-weight: 800;
    margin-top: 20px;
}

.router-text {
    font-size: 14px;
    margin-left: 0;
}

.item-border:not(:last-child) {
    border-bottom: 1px solid #ccc;
}

.quantity {
    display: inline-flex;
    align-items: center;
/*    border: 1px solid #db4a4a;*/
    border-radius: 6px;
    overflow: hidden;
    background-color: #f9f9f9;
/*    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);*/
}

    .quantity input {
        width: 35px;
        height: 40px;
        text-align: center;
        border: none;
        font-size: 16px;
        outline: none;
        background-color: transparent;
        font-family: "IRANSansX";
    }

.quantity-btn {
    width: 30px;
    height: 40px;
    font-size: 18px;
    border: none;
    background-color: #ffffff;
    color: #333;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .quantity-btn:hover {
        background-color: #d0d0d0;
    }

    .quantity-btn:active {
        background-color: #c0c0c0;
    }

.Padma-title {
    font-size: 18px;
    display: flex;
    justify-content: right;
    /* پایه = موبایل */
}

.item-service-padma {
    font-size: 12px;
}

.reservation {
    font-size: 12px;
}

.Boling-Time-title {
    font-size: 18px;
}

.Boling-time-tip {
    font-size: 14px;
}

.button-submit {
    width: 50%;
    font-size: 12px;
}

.sell-title {
    font-size: 18px;
}
.panel-heading{
    
    margin-top: 4px;
    margin-bottom: 4px
}

.Loan-plan-item a{
    display: block;
    border-radius: 14px;
    font-size: 12px;
    text-decoration: none;
    padding: 16px;
    margin-top: 12px;
    font-weight: 600;
    color: rgb(72, 72, 72);
}

.Loan-plan-item-conditions p {
    color: rgb(72, 72, 72);
    font-size: 12px;
}

.header-button-div {
    width: 100%;
}

.product-feature-item {
    color: #575454;
}

@media (min-width: 576px) {
    .image-wrapper:hover img {
        transform: scale(1);
    }
    .list-group {
        font-size: 14px;
    }
    .breadcrumb-item a {
        text-decoration: none !important;
        color: gray;
        font-size: 16px;
    }
    #sidebar {
        margin: 10px auto 0 auto;
        margin-right: 0px;
        width: 100%;
        overflow-y: auto;
        z-index: 1000;
        background-color: #fff;
    }

    .countinuing-btn {
        width: fit-content;
    }

    .product-price-shopping {
        font-size: 16px;
    }

    .total-price p {
        font-size: 16px;
    }

    .prodcut-feature-name {
        font-size: 18px;
    }

    .product-price {
        margin-top: 40px;
        width: 400px;
    }

    #mainImage {
        width: 100%;
        max-width: 350px;
        height: 350px;
    }

    .product-feature {
        margin-top: 0px;
        width: 240px;
    }

    .body-product-datails {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding-left: 12px;
    }

    .router-text {
        font-size: 14px;
        margin-right: 14px;
    }

    .prodcut-name {
        
        margin-top: 0px;
        font-size: 20px;
    }

    .Padma-title {
        font-size: 20px;
    }

    .item-service-padma {
        font-size: 14px;
    }

    .reservation {
        font-size: 14px;
    }

    .Boling-Time-title {
        font-size: 24px;
    }

    .Boling-time-tip {
        font-size: 20px;
    }

    .button-submit {
        width: 50%;
        font-size: 18px;
    }

    .sell-title {
        font-size: 20px;
    }

    .Loan-plan-item {
        text-decoration:none;
        font-size: 16px;
        margin-top: 12px;
        border-radius: 12px;
        font-weight: 600;
        color: rgb(72, 72, 72);
        border: 1px solid #d5d5d5;
    }
    .panel-collapse{
        font-size: 16px;
        border-top: 1px solid #d5d5d5;
        padding: 16px;
        border-bottom-left-radius: 12px;
        border-bottom-right-radius: 12px;
    }

    .header-button-div {
        width: 100%;
        display: flex;
        gap: 1rem;
        margin-left: 12px;
        justify-content: space-between;
        align-items: center;
    }
}

@media (min-width: 900px) {

    .w-md-75 {
        width: 75% !important;
    }
    .shopname-address{
        display: flex;
        justify-content: space-evenly;
        flex-direction: row;
       
    }
    .shopname {
        text-align: right;
    }

    .image-wrapper:hover img {
        transform: scale(1);
    }
    .list-group {
        font-size: 16px;
    }

    #sidebar {
        margin-top: 10px;
        
        background-color: #fff;
        border-left: 1px solid #ddd;
    }
    .list-unstyled{
        width: 100%
    }
    .countinuing-btn {
        width: fit-content;
    }

    .btn {
        font-size: 14px;
        padding: 10px;
    }

    .product-price-shopping {
        font-size: 18px;
    }

    .total-price p {
        font-size: 18px;
    }

    .shopping-cart-div:first-child {
        flex-wrap: nowrap;
    }

    .prodcut-feature-name {
        font-size: 18px;
        padding: 0px;
        margin: 0px;

    }

    .product-price {
        margin-top: 0px;
        width: auto;
        height: fit-content;
    }

    #mainImage {
        width: 100%;
        max-width: 400px;
        height: 400px;
    }

    .product-feature {
        margin-top: 0px;
        width: 35%;
    }

    .prodcut-name {
        width: 100%;
        max-width: 300px;
        font-size: 20px;
        margin-top: 0px;
    }

    .body-product-datails {
        display: flex;
        gap: 14px;
        padding-left: 0px;
    }

    .router-text {
        font-size: 16px;
        margin-left: 0;
        margin-right: 14px;
    }

    .Padma-title {
        font-size: 30px;
    }

    .item-service-padma {
        font-size: 18px;
    }

    .reservation {
        font-size: 18px;
    }

    .Boling-Time-title {
        font-size: 24px;
    }

    .Boling-time-tip {
        font-size: 16px;
    }

    .button-submit {
        width: 50%;
        font-size: 18px;
    }

    .sell-title {
        font-size: 20px;
    }

    .Loan-plan-item a{
        text-decoration: none;
        font-size: 16px;
        padding: 16px;
        margin-top: 12px;
        border-radius: 12px;
        font-weight: 600;
        color: rgb(72, 72, 72);
    }

    .Loan-plan-item-conditions p {
        color: rgb(72, 72, 72);
        font-size: 16px;
    }

    .Loan-plan-item-conditions {
        color: rgb(72, 72, 72);
        display: none;
    }

    .header-button-div {
        width: 15%;
        display: flex;
        gap: 1rem;
        margin-left: 12px;
        justify-content: end;
        align-items: center;
    }
}

a {
    color: #333;
}
/* Promo Start */
.promo {
    background-color: #cb2c33;
}
/* Promo End */

/* navbar Start */
.header-button {
    margin-left: 12 px;
    border: none;
}

    .header-button:active,
    .header-button:focus {
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
    }

.header-button {
    position: relative;
    background: none;
    border: none;
    font-size: 14px;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    z-index: 1; /* اگر نیاز شد بالاتر از nav قرار بگیره */
}

    .header-button::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        height: 2px;
        width: 0;
        background-color: #cb2c33;
        transition: width 0.3s ease;
    }

    .header-button:hover::after {
        width: 100%;
    }

.menu-link {
    color: #333;
    /* font-weight: 500; */
    position: relative;
    padding: 8px 16px;
    transition: color 0.3s ease;
}

    .menu-link:hover {
        color: #cb2c33;
    }
.salam{
    color:orangered;
}

.menu-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background-color: #cb2c33;
    transition: width 0.3s ease;
}

    .menu-link:hover::after {
        width: 100%;
        left: 0;
        right: auto;
    }

.nav-item {
    position: relative;
    margin-left: 16px;
    margin-right: 16px;
}

    .nav-item::after {
        content: "";
        position: absolute;
        top: 50%;
        left: -8px;
        transform: translateY(-50%);
        width: 1px;
        height: 14px; /* ارتفاع کوتاه */
        background-color: #cccccc;
    }

    .nav-item:last-child::after {
        display: none;
    }
/* navbar end */
/* category start */
.section-title-container {
    text-align: center;
    margin: 40px 0;
}

.section-title {
    position: relative;
    display: block;
    color: #333;
    font-weight: bold;
    padding-bottom: 12px;
}

    .section-title::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 160px;
        height: 3px;
        background-color: red;
        border-radius: 2px;
        /* انیمیشن اضافه می‌کنیم */
        animation: slideLine 2s infinite;
    }

/* تعریف انیمیشن */
@keyframes slideLine {
    0% {
        width: 0;
        opacity: 0;
        transform: translateX(-50%) translateX(40px);
    }

    50% {
        width: 160px;
        opacity: 1;
        transform: translateX(-50%);
    }

    100% {
        width: 0;
        opacity: 0;
        transform: translateX(-50%) translateX(-40px);
    }
}

.category-image {
    border: 3px solid #cb2c33;
}
/* category end */
/* popular start */
.popular-products-section {
    position: relative;
    background-color: #cb2c33;
    overflow: hidden; /* برای جلوگیری از بیرون زدن پارتیکل */
}

.particles-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.popular-title {
    background-color: transparent;
}

.popular-title-text {
    font-size: 38px;
}

.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

.object-fit-cover {
    object-fit: cover;
}

.btn-details {
    background-color: #cb2c33;
    color: #fff;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

    .btn-details:hover {
        background-color: #c82333;
    }

/* popular end */
/* services start */
.services-icon {
    color: #cb2c33 !important;
    font-size: 25px;
}
/* services end */
/* footer top start */
.footer-links h6 {
    font-size: 16px;
    color: #000;
}

.footer-links a:hover {
    color: #0d6efd;
}

/* footer top end */
/* footer buttom start */
.brand-name:hover{
    color: red !important;
}
/* footer buttom end */
/* active account start */
.active-timer {
    border-right: 1px solid gray;
    padding-right: 10px;
}
/* active account end */
