.product-box-item-title h3,.product-box-item-title h6{color:#333;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.product-box-item{background:#fff;padding:12px;border-radius:12px;text-align:center;box-shadow:0 4px 10px rgba(0,0,0,.1);transition:.3s ease-in-out;overflow:hidden}.product-box-item:hover{transform:translateY(-3px);box-shadow:0 6px 15px rgba(0,0,0,.15)}.product-box-item-img{width:100%;height:190px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:10px}.product-box-item-img img{object-fit:cover;border-radius:10px}.product-box-item-title h6{font-size:15px;font-weight:700;line-height:1.4;margin-top:10px}.product-box-price{display:flex;flex-direction:column;align-items:center;margin-top:8px}.new-price{font-size:16px;font-weight:700;color:#e63946}.old-price{font-size:14px;color:#888;text-decoration:line-through;margin-top:4px}.discount-badge{background:#e63946;color:#fff;padding:4px 8px;border-radius:6px;font-size:12px;font-weight:700;position:absolute;top:10px;left:10px}.sugget-title h6{font-size:14px;font-weight:700;padding:6px 10px;display:inline-block}#loading{position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.6);color:#fff;display:flex;justify-content:center;align-items:center;z-index:9999;font-family:Roboto,sans-serif;flex-direction:column;font-size:18px;opacity:0;animation:.5s forwards fadeIn}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.spinner{border:6px solid rgba(255,255,255,.3);border-top:6px solid #00d1b2;border-radius:50%;width:70px;height:70px;animation:1s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.loading-text{margin-top:20px;font-size:22px;color:#fff;font-weight:600;text-align:center;letter-spacing:1px;animation:1s ease-in-out infinite alternate textFade}@keyframes textFade{0%{color:#00d1b2}50%{color:tomato}100%{color:#fff}}.product-box-item-title h3{font-size:1em;font-weight:600;line-height:1.5;margin-bottom:.5em;max-width:100%}.product-descs__container{max-width:1200px;margin:0 auto}.product-descs__sub{border-radius:var(--border-radius);box-shadow:var(--box-shadow);padding:32px}.product-descs__article{margin-bottom:24px}.product-descs__title{font-size:24px;font-weight:600;margin-bottom:16px;color:var(--text-color)}.product-descs__accordion-button{width:100%;padding:16px;border:1px solid var(--border-color);border-radius:var(--border-radius);background-color:transparent;cursor:pointer;display:flex;align-items:center;justify-content:space-between;transition:background-color .3s}.product-descs__accordion-button:hover{background-color:#f9f9f9}.product-descs__icon{font-size:20px;margin-right:8px;color:var(--primary-color)}.product-descs__accordion-content{padding:16px;border:1px solid var(--border-color);border-top:none;border-radius:0 0 var(--border-radius) var(--border-radius);max-height:0;overflow:hidden;transition:max-height .3s}.product-descs__accordion-content[aria-hidden=false]{max-height:1000px}.product-descs__text{line-height:1.6;color:var(--muted-color)}.product-descs__text img{max-width:100%;height:auto}h1{font-size:1.5rem;line-height:1.2;margin-bottom:1rem}h2{font-size:1.4rem;line-height:1.3;margin-bottom:.8rem}h3{font-size:1.3rem;line-height:1.4;margin-bottom:.6rem}h4{font-size:1.2rem;line-height:1.5;margin-bottom:.4rem}h5{font-size:1rem;line-height:1.6;margin-bottom:.2rem}h6{font-size:.8rem;line-height:1.7;margin-bottom:.1rem}.product-descs__preview{margin-left:10px;font-size:.9em;color:#888}.tag-list-tag{display:flex;align-items:center;flex-wrap:wrap;margin-top:10px}.tag-list-tag i{margin-right:8px;color:#888;font-size:16px}.tag-list ul,.tag-list-tag ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap}.tag-item-tag{color:#007bff;padding:3px 8px;border-radius:20px;text-decoration:none;font-size:12px;transition:.3s;background-color:#f8f9fa}.tag-item-tag:hover{background-color:#e9ecef;transform:translateY(-2px);box-shadow:0 2px 4px rgba(0,0,0,.1)}.tag-more{background-color:#007bff;color:#fff;border:none;padding:8px 12px;border-radius:20px;cursor:pointer;margin-left:5px;transition:background-color .3s}.tag-more:hover{background-color:#0056b3}.remaining-tags-list{list-style:none;padding:0;margin:5px 0 0;flex-wrap:wrap}@media (max-width:768px){.product-descs__sub{padding:24px}.product-descs__title{font-size:20px}.tag-list-tag li{margin:5px 2px}.tag-item-tag{padding:4px 2px;font-size:12px}.tag-list li{margin:6px 10px}.tag-item{padding:10px 18px;font-size:17px}}.show-more-button{align-items:center;justify-content:center;background:linear-gradient(135deg,#6a11cb 0,#2575fc 100%);font-size:16px;font-weight:600;box-shadow:0 4px 8px rgba(0,0,0,.15);transition:transform .3s,box-shadow .3s}.show-more-button:hover{transform:translateY(-3px);box-shadow:0 6px 12px rgba(0,0,0,.2)}.product-details{margin-top:20px}.product-desc-tab{display:flex;justify-content:center;margin-bottom:20px}.nav-link1{padding:10px 20px;border:1px solid #ddd;border-radius:5px;margin:0 5px;cursor:pointer}.nav-link.active{background-color:#f0f0f0}.product-desc-contents{padding:20px}.show-more-button{display:block;margin-top:10px;padding:8px 15px;background-color:#007bff;color:#fff;border:none;border-radius:5px;cursor:pointer}.tag-list{display:flex;align-items:center;flex-wrap:wrap;margin-top:15px}.tag-list i{margin-right:10px;color:#777;font-size:18px}.tag-list li{margin:5px 8px}.tag-item{color:#007bff;padding:8px 16px;border-radius:20px;text-decoration:none;font-size:16px;transition:.3s;background-color:#f0f0f0}.tag-item:hover{background-color:#e0e0e0;transform:translateY(-2px);box-shadow:0 2px 5px rgba(0,0,0,.15)}.tag-more ul{display:none}.tag-more:hover ul{display:flex;flex-wrap:wrap}@media (max-width:768px){.nav-link1{padding:8px 15px;font-size:14px}.tag-list li{margin:6px 10px}.tag-item{padding:10px 18px;font-size:12px}}.product-desc-content h2,.product-desc-content h3{border-bottom:1px solid #ccc;padding-bottom:5px;margin-bottom:10px}.product-desc-content h2::after,.product-desc-content h3::after{content:"";display:block;width:50px;height:2px;background-color:#007bff;margin-top:5px}.product-box-item-img-frosh{position:relative;cursor:pointer;overflow:hidden;border-radius:8px;transition:transform .3s ease-in-out}@media (min-width:768px){.product-box-item-img-frosh:hover{transform:scale(1.05)}.product-box-item-img-frosh:hover img{transform:scale(1.1)}}.product-box-item-desc-frosh{display:none;position:absolute;bottom:10px;left:10px;right:10px;background:rgba(0,0,0,.7);padding:10px;border-radius:8px;color:#fff;opacity:0;transition:opacity .3s}.product-toggle:checked+label+.product-box-item-desc-frosh{display:block;opacity:1}.product-box-item-desc-frosh p{font-size:14px;line-height:1.5}.product-box-item-img-frosh label{display:block}.product-box-item-img-frosh img{width:100%;border-radius:8px;transition:transform .3s}.swiper-button-next,.swiper-button-prev{background-color:#ff5722;color:#fff;padding:10px;border-radius:50%;font-size:18px;box-shadow:0 0 5px rgba(0,0,0,.3)}.swiper-button-next:hover,.swiper-button-prev:hover{background-color:#e64a19}.btn-bank,.btn-bank-eghdam{background-color:#4caf50;color:#fff;font-size:16px;padding:12px 24px;border:none;border-radius:8px;cursor:pointer;transition:.3s;width:100%;text-align:center}.btn-bank-eghdam:hover,.btn-bank:hover{background-color:#45a049}.btn-bank-eghdam:active,.btn-bank:active{background-color:#3e8e41}.cart-payment{box-shadow:0 4px 6px rgba(0,0,0,.1)}
   .mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 10px 0;
    display: none;
}

@media (max-width: 768px) {
    .mobile-footer {
        display: block;
            padding: 3px;
    }

    .footer-menu {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .footer-menu ul {
        display: flex;
        list-style-type: none;
        padding: 0;
        margin: 0;
        width: 100%;
        justify-content: space-between;
    }

    .menu-item {
        text-align: center;
        padding: 10px;
        flex: 1;
        position: relative;
    }

    .menu-icon {
        width: 40px; /* اندازه آیکن */
        height: 40px;
        object-fit: cover;
    }

    .menu-item span {
        display: block;
        font-size: 12px;
        color: #333;
    }

    .menu-link {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 10; /* برای قابل کلیک بودن لینک */
    }

    .menu-item:hover {
        background-color: #f0f0f0;
        border-radius: 10px;
        transition: background-color 0.3s;
    }

    .menu-item span {
        display: none;
    }

    .menu-item:hover span {
        display: block;
    }

    /* تنظیم موقعیت آیکن‌ها */
    .footer-menu ul {
        display: flex;
        justify-content: space-between;
    }

    .footer-menu ul li {
        flex: 1; /* این قسمت باعث می‌شود که آیکن‌ها به طور مساوی در فضا توزیع شوند */
    }

    .footer-menu ul li:nth-child(1) {
        justify-content: center; /* برای یک آیکن در وسط */
    }

    .footer-menu ul li:nth-child(2) {
        justify-content: space-between; /* برای دو آیکن در طرفین */
    }

    .footer-menu ul li:nth-child(3) {
        justify-content: space-between; /* برای سه آیکن یکی وسط و دو طرف */
    }

    .footer-menu ul li:nth-child(4) {
        justify-content: space-between; /* برای چهار آیکن در طرفین */
    }

    .footer-menu ul li:nth-child(5) {
        justify-content: space-between; /* برای پنج آیکن یکی وسط و باقی طرفین */
    }
}
.ticker-title {
    text-align: right;
    font-size: 16px;
    font-weight: bold;
    color: #00ffe0;
    margin: 10px 20px 5px 20px;
}

.ticker-future-wrap {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(to left, #0f2027, #203a43, #2c5364);
    border-top: 2px solid #00ffe0;
    border-bottom: 2px solid #00ffe0;
    padding: 10px 0;
    direction: rtl;
}
.ticker-future {
    display: inline-block;
    white-space: nowrap;
        animation: tickerFutureAnim linear infinite; /* بدون زمان */

}


.ticker-future-item {
    display: inline-block;
    color: #00ffe0;
    margin: 0 40px;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}
.ticker-future-item:hover {
    color: #ffffff;
        animation-play-state: paused;

}
.ticker-future-item .price {
    margin-right: 5px;
    color: #ffd700;
}
.ticker-future-item .icon {
    margin-right: 5px;
    font-size: 16px;
}
@keyframes tickerFutureAnim {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
@media (max-width: 768px) {
    .ticker-future {
        animation-duration: 160s;
    }
    .ticker-future-item {
        font-size: 13px;
        margin: 0 25px;
    }
}
   /* جداول واکنش‌گرا در تب‌ها و آکاردئون */
.product-desc-content table {
    width: 100%;       /* همیشه 100% عرض والد */
    border-collapse: collapse;
    table-layout: auto; 
}

.product-desc-content th,
.product-desc-content td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
    word-break: break-word; /* شکستن کلمات طولانی */
}

.product-desc-content {
    overflow-x: auto; /* فعال کردن اسکرول افقی روی موبایل */
}

/* برای موبایل: جدول به صورت scrollable */
@media (max-width: 768px) {
    .product-desc-content table {
        display: block;
    }
}
/* فقط موبایل */
@media (max-width: 767px) {
    /* دکمه‌های آکاردئون */
    #mobileProductAccordion .accordion-button {
        background-color: #2e7d32; /* سبز تیره */
        color: #fff;               /* متن سفید */
        font-weight: 600;
    }

    /* وقتی باز شد */
    #mobileProductAccordion .accordion-button:not(.collapsed) {
        background-color: #388e3c; /* سبز روشن‌تر */
        color: #fff;
    }

    /* متن داخل آکاردئون */
    #mobileProductAccordion .accordion-body {
        color: #333; /* متن داخل محتوا مشکی */
    }
}


.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border: 1px solid #e0e0e0;
}

.product-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.product-card-img {
    width: 100%;
    height: 250px; /* ارتفاع ثابت */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-img:hover img {
    transform: scale(1.03);
}

.product-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.related-desc {
    font-size: 13px;
    color: #555;
    min-height: 36px;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    min-height: 48px;
}

.product-price {
    font-size: 14px;
    color: #2e7d32;
    font-weight: bold;
}

.order-btn {
    background: linear-gradient(135deg, #388e3c, #2e7d32);
    color: #fff;
    padding: 10px 0;
    border: none;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.order-btn:hover {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    transform: scale(1.02);
}
@media (max-width: 1200px) {
    .product-card-img {
        height: 220px; /* ارتفاع کمتر روی لپ‌تاپ‌های کوچک */
    }
}

@media (max-width: 992px) {
    .product-card-img {
        height: 200px; /* تبلت */
    }
    .product-title {
        font-size: 14px;
    }
    .related-desc {
        font-size: 12px;
    }
    .order-btn {
        font-size: 13px;
        padding: 8px 0;
    }
}

@media (max-width: 576px) {
    .product-card-img {
        height: 160px; /* موبایل */
    }
    .product-title {
        font-size: 13px;
    }
    .related-desc {
        font-size: 11px;
    }
    .order-btn {
        font-size: 12px;
        padding: 6px 0;
    }
}
