@font-face {
    font-family: 'iranyekan';
    src: url('../fonts/iranyekanr.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-feature-settings: "ss02";
    font-display: swap;

}

@font-face {
    font-family: 'iranyekan';
    src: url('../fonts/iranyekanb.woff2') format('woff2');
    font-weight: bold;
    font-style: normal;
    font-feature-settings: "ss02";
    font-display: swap;

}

@font-face {
    font-family: 'Font Awesome 5 Free';
    font-style: normal;
    font-weight: 900;
    font-display: swap !important;
    src: url('../webfonts/fa-solid-900.woff2') format('woff2');
}


.ss02 {
    -moz-font-feature-settings: "ss02";
    -webkit-font-feature-settings: "ss02";
    font-feature-settings: "ss02";
}
.woocommerce,
.woocommerce * {
    font-family: 'iranyekan' !important;
}
body {
    font-family: 'iranyekan' !important;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    direction: rtl;
background-color:#fff;
 
}
.container-home{

margin:5px auto;
}
/* General Body Styles */
/* sliders */


.slider-container {
    position: relative;
    margin: 25px auto;
    overflow: hidden;
    border-radius: 40px;
max-width:1200px;

}

.slides {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    width: 50%;
    height: 100%;
    flex-shrink: 0;
    background: #000;
    position: relative;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover !important;
    object-position: center top;
    display: block;
}

/* متن و دکمه روی اسلاید */
.slide-content-b {
    position: absolute;
    top: 81%;
    right: 15%;
    transform: translateY(-50%);
    z-index: 5;
    text-align: right;
    max-width:550px;
    color: #ffffff;
}


.slide-btn {
    display: inline-block;
    padding: 12px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    color: #000;
    background: #ffcc00;
    box-shadow: 0 8px 25px rgba(255, 143, 199, 0.30);
    transition: all 0.3s ease;
}

.slide-btn.second{ color: #fff;
    background:#cf0207;
}
.slide-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(169, 216, 255, 0.35);
 background: #c40909;
  color: #fff;
}

/* فلش‌ها */
.nav-arrow {
    position: absolute;
    top: 50%;
    background: rgba(0,0,0,0.35);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
    transform: translateY(-50%);
}

.prev { left: 15px; }
.next { right: 15px; }

.nav-arrow:hover {
    background: rgba(0,0,0,0.9);
}

/* حفظ اسلایدر */
@media (max-width: 768px) {
    .slider,
    .slick-slider,
    .owl-carousel {
        overflow: visible !important;
    }

    .slick-track,
    .owl-stage {
        overflow: visible !important;
    }

    .slider-container {
        margin: 25px 5px 15px;
    }

    .slide-content-b {
           position: absolute;
            top: 88%;
        right: 32%;
    }
    .slide-content-b.secound {
           position: absolute;
            top: 88%;
        right: 23%;
    }

   
    .slide-btn {
        padding: 10px 15px;
        font-size: 13px;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/*********** باکس پیشنهدات شگفت انگیز***************/
.custom-section{
    position: relative;
    overflow: hidden;
    padding: 0 0 40px;
    margin-top:20px;

    background:
        radial-gradient(circle at 50% 20%, rgba(255,0,0,.25) 0%, transparent 40%),
        linear-gradient(
            180deg,
            #1b1b1b 0%,
            #252525 30%,
            #e60000 60%,
            #ff1010 100%
        );
}

/* موج بالا */
.custom-section::before{
    content:"";
    position:absolute;
    top:28%;
    left:-10%;
    width:120%;
    height:180px;

    background:#252525;

    border-radius:
        0 0 50% 50% /
        0 0 100% 100%;
}

/* موج پایین */
.custom-section::after{
    content:"";
    position:absolute;
    bottom:-90px;
    left:-10%;
    width:120%;
    height:180px;

    background:#252525;

    border-radius:
        50% 50% 0 0 /
        100% 100% 0 0;
}

.custom-section > *{
    position:relative;
    z-index:2;
}

:root {
    --main-red: #f35252;
    --main-blue: #f01516;
    --border-color: #f0f0f0;
    --text-dark: #333;
    --text-muted: #b5b5b5; /* رنگ کم‌رنگ‌تر برای قیمت قبلی */
}

.special-offers-container {
    display: flex;
    direction: rtl;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    font-family: 'Vazir', Tahoma, sans-serif;
    overflow: hidden;
    max-width: 1200px;
    margin: 20px auto;
}

/* ستون سمت راست */
.product-sidebar-right {
    width: 30%;
    border-left: 1px solid var(--border-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background: #fff;
}

.sidebar-header {
    background: var(--main-blue);
    color: #fff;
    width: 100%;
    text-align: center;
    padding: 8px 0;
    border-radius: 6px;
    font-size: 14px;
}

.product-img-slider-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    margin: 15px 0;
}

.product-img-wrapper {
    width: 70%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: none;
}

.slide-img.active {
    display: block;
}

.nav-btn {
    background: none;
    border: 1px solid var(--border-color);
    font-size: 28px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    color: #999;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: #f5f5f5;
    color: var(--text-dark);
}

/* ساختار جدید تایمر */
.timer-section-wrapper {
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.timer-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.countdown-timer-fixed {
    display: flex;
    gap: 12px;
    direction: ltr;
    justify-content: center;
}

.countdown-timer-fixed .time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-timer-fixed .num-box {
    background: #f0f2f5;
    border-radius: 6px;
    padding: 6px 12px;
    min-width: 45px;
    text-align: center;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.countdown-timer-fixed .num-box span {
    font-size: 18px;
    font-weight: bold;
    color: var(--main-blue);
}

.countdown-timer-fixed small {
    font-size: 11px;
    color: #777;
    margin-top: 4px;
}

/* ستون وسط */
.offers-slider-content-mid {
    width: 45%;
    padding: 25px;
}

.offers-slider-content-mid .slide-content {
    display: none;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
}

.offers-slider-content-mid .slide-content.active {
    display: flex;
}

.prod-title {
    font-size: 18px;
    color: var(--text-dark);
    margin: 0 0 15px 0;
}

/* اصلاح باکس قیمت و خط خوردن قیمت قدیمی */
.price-discount-compact-box {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    max-width: 280px;
    margin-bottom: 20px;
}

.price-side {
    width: 70%;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    background: #fafafa;
}

.old-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 2px;
}

.new-price {
    font-size: 20px;
    font-weight: bold;
    color: var(--text-dark);
}

.discount-side {
    width: 30%;
    background: var(--main-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

/* اصلاح چیدمان لیست مشخصات و متن ویژگی‌ها */
.product-short-excerpt {
    font-size: 13px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 25px;
}

.product-short-excerpt ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-short-excerpt ul li {
    margin-bottom: 8px;
    position: relative;
    padding-right: 15px;}
product-short-excerpt ul li::before {
    content: "•";
    color: var(--main-blue);
    position: absolute;
    right: 0;
    font-weight: bold;
}

.add-to-cart-btn {
    background: var(--main-red);
    color: #fff;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(243, 82, 82, 0.25);
    transition: background 0.3s;
}

.add-to-cart-btn:hover {
    background: #d44343;
}

/* ستون سمت چپ */
.offers-tabs-left {
    width: 25%;
    background: #fafafa;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.offers-tabs-left .tab-item {
    padding: 18px 15px;
    font-size: 13px;
    color: var(--text-dark);
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.offers-tabs-left .tab-item.active {
    background: #fff;
    color: var(--main-blue);
    font-weight: bold;
    border-right: 3px solid var(--main-blue);
}
@media (max-width: 768px) {
    /* ۱. تک ستونه کردن کانتینر اصلی */
    .special-offers-container {
        flex-direction: column;
        max-width: 100%;
        margin: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        border: 1px solid var(--border-color);
        position: relative;
    }

    /* ۲. حذف تب‌های سمت چپ در موبایل برای خلوت شدن صفحه مطابق عکس */
    .offers-tabs-left {
        display: none !important;
    }

    /* ۳. تنظیم بخش سایدبار (تصویر و تایمر) */
    .product-sidebar-right {
        width: 100% !important;
        border-left: none; /* حذف مرز عمودی */
        padding: 15px;
        box-sizing: border-box;
    }

    /* هدر پیشنهاد ویژه بالای عکس قرار می‌گیرد */
    .sidebar-header {
        font-size: 15px;
        font-weight: bold;
        padding: 10px 0;
        background: linear-gradient(90deg, #5171e3, #3b5998); /* تم آبی گرادینت شبیه عکس */
        border-radius: 10px;
    }

    /* شناور کردن فلش‌های چپ و راست روی تصویر دقیقا مثل عکس */
    .product-img-slider-wrapper {
        position: relative;
        margin: 20px 0 10px 0;
        justify-content: center;
    }

    .product-img-wrapper {
        width: 100%;
        height: 250px; /* یکم بزرگتر برای جلوه بهتر در موبایل */
    }

    .nav-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        background: rgba(255, 255, 255, 0.8);
        border: none;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .prev-btn {
        left: -5px; /* چسبیده به چپ کادر */
    }

    .next-btn {
        right: -5px; /* چسبیده به راست کادر */
    }

    /* ۴. جابجایی باکس محتوا به زیر عکس */
    .offers-slider-content-mid {
        width: 100% !important;
        padding: 0 20px 20px 20px;
        box-sizing: border-box;
        text-align: center; /* راست‌چین یا وسط‌چین کردن متن‌ها بر اساس عکس */
    }

    .offers-slider-content-mid .slide-content.active {
        align-items: center; /* وسط‌چین کردن آیتم‌های داخلی در موبایل */
    }

    .prod-title {
        font-size: 16px;
        line-height: 1.6;
        text-align: center;
        margin-bottom: 10px;
    }

    /* ۵. استایل باکس قیمت فشرده شبیه عکس */
    .price-discount-compact-box {
        max-width: 100%;
        width: 100%;
        border: none;
        background: transparent;
        justify-content: center;
        margin-bottom: 15px;
    }

    .price-side {
        width: auto;
        background: transparent;
        padding: 0;
        flex-direction: row-reverse; /* قیمت تخفیف خورده و اصلی کنار هم قرار بگیرند */
        align-items: center;
        gap: 10px;
    }

    .new-price {
        font-size: 18px;
        color: #2b55da; /* رنگ آبی قیمت در عکس */
    }

    .old-price {
        font-size: 13px;
        margin-bottom: 0;
    }

    .discount-side {
        display: none;
    }

  
    .product-sidebar-right {
        display: flex;
        flex-direction: column;
    }
    
    .timer-section-wrapper {
        order: 3;
        margin-top: 15px;
        border-top: 1px dashed var(--border-color);
        padding-top: 15px;
    }

    .countdown-timer-fixed {
        gap: 8px;
    }

    .countdown-timer-fixed .num-box {
        min-width: 40px;
        padding: 4px 8px;
    }

    .countdown-timer-fixed .num-box span {
        font-size: 16px;
    }

    /* ۷. دکمه خرید محصول */
    .add-to-cart-btn {
        align-self: center; 
        width: 70%;
        justify-content: center;
        margin-top: 10px;
        border-radius: 8px;
        padding: 10px 20px;
    }
    .product-short-excerpt {
       display:none;
       
    }

    }
   /***************** دایره های دسته بندیها**************/
.image-links-section {
    padding: 20px 0 60px;
max-width:1200px;
margin:0 auto;
}

.section-title-b {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
        margin: 7px auto;
color:#fff;
}

.image-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.image-card {
    display: block;
    border-radius: 16px;
}

.image-card img {
    width: 100%;
    display: block;
    transition: transform 0.35s ease;
}

.image-card:hover img {
    transform: scale(1.08);
}

@media (max-width: 768px) {
    .image-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/********************** تازه ترین محصولات ******************/
.latest-products-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}


.latest-products-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.section-title {
    font-size: 20px;
    color: #2b2d42;
    font-weight: bold;
    margin: 0;
    order: 1; /* اصرار بر قرارگیری در اولین موقعیت سمت راست */
}

.products-tabs {
    display: flex;
    gap: 20px;
    order: 2; /* قرارگیری در سمت چپ */
}

.tab-control {
    font-size: 14px;
    color: #7f8c8d;
    cursor: pointer;
    padding-bottom: 12px;
    position: relative;
    transition: color 0.2s;
}

.tab-control:hover, .tab-control.active {
    color: #cf0207;
    font-weight: bold;
}

.tab-control.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #cf0207;
    border-radius: 3px 3px 0 0;
}

/* ساختار اسلایدر */
.products-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.products-carousel-track {
    display: flex;
    gap: 15px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
    padding: 10px 0;
}

/* کارت محصول و تنظیمات انیمیشن سریع */
.product-card-item , .row-product-card-item {
    min-width: calc(20% - 12px);
    box-sizing: border-box;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s, box-shadow 0.3s, opacity 0.2s ease-in-out;
    overflow: hidden;
    opacity: 1;
}

/* کلاسی برای مخفی شدن آنی و بدون فریز شدن مرورگر */
.product-card-item.is-hidden {
    display: none !important;
}

.product-card-item:hover, .row-product-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.prod-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

.prod-img-box {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    box-sizing: border-box;
    position: relative;
    background: #fff;
}

.prod-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.discount-badge-round {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #cf0207;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 20px;
    z-index: 2;
}

.prod-details-box {
    padding: 15px;
    text-align: center;
    border-top: 1px solid #f9f9f9;
}

.product-item-title {
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    height: 42px;
    overflow: hidden;
    margin: 0 0 15px 0;
}

.product-item-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.old-price-val {
    text-decoration: line-through;
    color: #b5b5b5;
    font-size: 15px;
}

.new-price-val {
    color: #cf0207;
    font-size: 15px;
    font-weight: bold;
}

.carousel-nav {
    position: absolute;
    bottom: -45px;
    background: #cf0207;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 5;
}

.prev-item { right: 0; }
.next-item { right: 38px; }

.latest-products-section {
    margin-bottom: 80px;
}

.prod-img-box {
    position: relative;
    overflow: hidden; 
}

/* باکس اصلی دکمه‌های هاور */
.product-hover-actions {
    position: absolute;
    bottom: -60px; 
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    gap: 12px;
    z-index: 10;
    width: auto;
    white-space: nowrap;
    opacity: 0;
    transition: bottom 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

/* بالا آمدن دکمه‌ها هنگام هاور روی کارت محصول */
.product-card-item:hover, .row-product-card-item:hover .product-hover-actions {
    bottom: 15px; /* به موقعیت استاندارد روی عکس می‌رسد */
    opacity: 1;
}
.product-card-item:hover .product-hover-actions {
    bottom: 15px; /* به موقعیت استاندارد روی عکس می‌رسد */
    opacity: 1;
}

/* استایل تکی دکمه‌ها */
.hover-action-btn {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    color: #555e6b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

/* استایل آیکون‌های داخلی */
.hover-action-btn .action-icon {
    width: 20px;
    height: 20px;
    stroke: #555e6b;
    transition: stroke 0.2s ease, fill 0.2s ease;
}

/* افکت هاور روی هر دکمه */
.hover-action-btn:hover .action-icon {
    stroke: #3f51b5; /* تغییر رنگ آیکون به سرمه‌ای در هاور */
    transform: scale(1.1);
}

/* استایل دکمه علاقه‌مندی زمانی که فعال (Active) است */
.hover-action-btn.my-wishlist-btn.active .action-icon {
    stroke: #f35252;
    fill: #f35252; /* قرمز پر شده برای محصولاتی که در لایست لایک هستند */
}

/* استایل دکمه مقایسه زمانی که فعال است */
.hover-action-btn.my-compare-btn.active .action-icon {
    stroke: #2ecc71;
}


@media (max-width: 780px) {
    .product-card-item, .row-product-card-item { min-width: calc(50% - 8px); }
    .products-tabs { overflow-x: auto; padding-bottom: 5px; }
    .tab-control { white-space: nowrap;font-size: 13px;padding-bottom:0; }
  .latest-products-header { flex-direction: column-reverse; align-items: stretch; gap: 15px; }
.section-title {order: 2;}
.carousel-nav {width: 23px;}
}


/***************** دسته بندیها */
.custom-category-row-section {
    max-width: 1200px;
    margin: 40px auto 60px auto;
    direction: rtl;
    padding:  15px;
background: #dddddd;
}

.category-row-header {
    display: flex;
    flex-direction: row; /* تنظیم ردیف راست به چپ */
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    margin-bottom: 25px;
    width: 100%;

}



.header-left-side {
    order: 2; /* لینک مشاهده همه در سمت چپ قرار گیرد */
}

.row-view-all-link {
    font-size: 13.5px;
    color: #3f51b5;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}
.row-view-all-link {
    font-size: 13.5px;
    color: #3f51b5;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.row-view-all-link:hover {
    color: #2c3b8c;
}

/* ساختار ریل کاروسل */
.row-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.row-carousel-track {
    display: flex;
    gap: 15px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    width: 100%;
    padding: 10px 0;
}

/* کارت محصول یکسان */
.custom-category-row-section .product-card-item, .row-product-card-item {
    min-width: calc(20% - 12px);
    box-sizing: border-box;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.custom-category-row-section .product-card-item:hover,.row-product-card-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.custom-category-row-section .prod-img-box {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    overflow: hidden;
    background: #fff;
}

.custom-category-row-section .prod-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* باکس اقدامات هاور ۴ گانه */
.custom-category-row-section .product-hover-actions {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    gap: 12px;
    z-index: 10;
    opacity: 0;
    transition: bottom 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.custom-category-row-section .product-card-item:hover .product-hover-actions .row-product-card-item:hover {
    bottom: 15px;
    opacity: 1;
}

.custom-category-row-section .hover-action-btn {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-category-row-section .hover-action-btn .action-icon {
    width: 20px;
    height: 20px;
    stroke: #555e6b;
    transition: stroke 0.2s, transform 0.2s;
}

.custom-category-row-section .hover-action-btn:hover .action-icon {
    stroke: #3f51b5;
    transform: scale(1.1);
}

.custom-category-row-section .my-wishlist-btn.active .action-icon {
    stroke: #f35252;
    fill: #f35252;
}

.custom-category-row-section .my-compare-btn.active .action-icon {
    stroke: #2ecc71;
}

/* جزییات قیمت */
.custom-category-row-section .prod-details-box {
    padding: 15px;
    text-align: center;
    border-top: 1px solid #f9f9f9;
}

.custom-category-row-section .product-item-title {
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    height: 42px;
    overflow: hidden;
    margin: 0 0 15px 0;
    font-weight: normal;
}

.custom-category-row-section .new-price-val {
    color: #3f51b5;
    font-size: 15px;
    font-weight: bold;
}

.discount-badge-round {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #3f51b5;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 20px;
    z-index: 2;
}

.old-price-val {
    text-decoration: line-through;
    color: #b5b5b5;
    font-size: 11px;
    margin-left: 5px;
}

/* دکمه‌های ناوبری اسلایدر */
.row-carousel-nav {
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}


/* ریسپانسیو */
@media (max-width: 992px) {
    .custom-category-row-section .product-card-item, .row-product-card-item { min-width: calc(33.33% - 10px); }
}
@media (max-width: 576px) {
    .custom-category-row-section .product-card-item, .row-product-card-item { min-width: calc(50% - 8px); }
}

.category-row-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
    margin-bottom:30px;
}

.header-side-info{
    min-width:220px;
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.header-side-title{
    margin:0 0 20px;
    font-size:42px;
    font-weight:700;
    color:#222;
    line-height:1.3;
}

.row-section-title{
    flex:1;
    text-align:right;
    font-size:28px;
    font-weight:700;
    color:#222;
    margin:0;

}

.row-view-all-link{
    display:inline-block;
    color:#fff;
    text-decoration:none;
    padding:14px 28px;
    border-radius:6px;
    font-size:15px;
    font-weight:700;
    transition:.3s;
}

.row-view-all-link:hover{
    background:#d92d26;
    color:#fff;
}
.category-layout{
    display:flex;
    gap:40px;
    align-items:flex-start;
}

.category-sidebar{
    width:240px;
    flex-shrink:0;
    text-align:center;
    padding-top:80px;
}

.sidebar-title{
    font-size:28px;
    font-weight:700;
    color:#222;
    margin-bottom:25px;
}

.category-content{
    flex:1;
    min-width:0;
}

.category-row-header{
    border-bottom:2px solid #e5e5e5;
    margin-bottom:25px;
    padding-bottom:15px;
}


.row-view-all-link{
    display:inline-block;
    background:#ef3b33;
    color:#fff;
    text-decoration:none;
    padding:14px 28px;
    border-radius:6px;
    font-weight:700;
}

.row-view-all-link:hover{
    color:#fff;
}
.row-carousel-container{
    position: relative;
}

.row-carousel-nav{
position: absolute;
    top: -20%;
    font-size:32px;
    font-weight:300;
    background:none;
   color: #9a9a9a;
    background: none;
    border: 1px solid #d0d0d0;
    border-radius: 17px;
}

.category-sidebar{
    order:2;
}

.category-content{
    order:1;
}
.row-carousel-nav.next-item{
right:97%;
}
.row-carousel-nav.prev-item{
right:93%;
}
/* =========================
   Mobile Responsive
========================= */
@media (max-width: 768px){

    .custom-category-row-section{
        padding:15px 10px;
        margin:20px auto;
    }

    /* دو ستون تبدیل به یک ستون */
    .category-layout{
        flex-direction:column;
        gap:0px;
    }

    .category-sidebar,
    .category-content{
        width:100%;
        order:unset;
    }

    /* سایدبار */
    .category-sidebar{
        padding-top:0;
        text-align:center;
    }

    .sidebar-title{
        font-size:24px;
        margin-bottom:15px;
    }

    /* هدر بخش */
    .category-row-header{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
        margin-bottom:15px;
        padding-bottom:10px;
    }

    .row-section-title{
        font-size:22px;
        width:100%;
    }

    .row-view-all-link{
        width:100%;
        text-align:center;
        padding:12px;
        box-sizing:border-box;
    }

    /* کارت محصولات */
    .row-product-card-item,
    .custom-category-row-section .product-card-item{
        min-width:calc(50% - 8px);
    }

    .custom-category-row-section .prod-img-box{
        height:140px;
        padding:10px;
    }

    .custom-category-row-section .product-item-title{
        font-size:12px;
        height:38px;
    }

    .custom-category-row-section .new-price-val{
        font-size:13px;
    }

    /* مخفی شدن دکمه‌های هاور */
    .product-hover-actions{
        display:none !important;
    }

    /* فلش‌های اسلایدر */
    .row-carousel-nav{
        display:none;
    }

    .row-carousel-track{
        overflow-x:auto;
        scroll-snap-type:x mandatory;
        -webkit-overflow-scrolling:touch;
        padding-bottom:10px;
    }

    .row-product-card-item{
        scroll-snap-align:start;
    }

    .mobile-none{
        display:none !important;
    }
}
@media (max-width:768px){

    .category-layout{
        display:flex;
        flex-direction:column;
    }

    .category-content{
        order:1;
        width:100%;
    }

    .category-sidebar{
        order:2;
        width:100%;
        padding-top:20px;
        text-align:center;
    }

}
/* بنر تنفسی  */
/*********************
    Banner Category
*********************/
.featured-banner-bg{
 min-height:280px;
    height:280px;
     margin:114px auto 77px;
 background:
    linear-gradient(
        120deg,
        #4a4a4a 0%,
        #5b4a4f 25%,
        #7d2336 55%,
        #c10025 80%,
        #e60023 100%
    );
}
.featured-banner{
 max-width:1200px;
    width:100%;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:space-between;
      min-height:280px;
    height:280px;
     margin:60px auto;
    overflow:visible;
    border-radius:0;
   
}
.featured-banner-image{
    width:40%;
    position:relative;
    height:100%;
}

.featured-banner-image img{
    position:absolute;

    left:20px;
    bottom:-25px;

    height:400px;
    width:auto;

    z-index:3;
}


.featured-banner-content{
    width:45%;
    text-align:right;
    padding-left:60px;
    padding-right:80px;
    z-index:5;
}

.featured-banner-content h4{
    color:#fff;
    font-size:24px;
    line-height:1.8;
    font-weight:700;
    margin-bottom:40px;
}

.featured-banner-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:200px;
    height:60px;

    background:#1d1d22;
    color:#fff;

    border-radius:50px;

    font-size:17px;
    font-weight:700;

    text-decoration:none;

    transition:.3s;
}

.featured-banner-btn:hover{
    background:#111;
    transform:translateY(-3px);
}

@media (max-width:768px){

    .featured-banner-bg{
        height:auto;
        min-height:auto;
        margin:40px 0;
        overflow:hidden;
    }

    .featured-banner{
        flex-direction:column-reverse;
        justify-content:center;
        align-items:center;

        height:auto;
        min-height:auto;

        margin:0 auto;
        
    }

    .featured-banner-content{
        width:100%;
        padding:0;
        text-align:center;
        order:2;
    }

    .featured-banner-content h4{
        font-size:22px;
        line-height:1.6;
        margin:20px 0;
    }

    .featured-banner-image{
        width:100%;
        height:auto;
        order:1;
        display:flex;
        justify-content:center;
        align-items:center;
    }

    .featured-banner-image img{
        position:static;
        height:auto;
        width:70%;
        max-width:280px;
    }

    .featured-banner-btn{
        min-width:200px;
        height:52px;
        font-size:15px;
    }

}
@media (max-width:768px){

    .featured-banner-bg{
        height:auto;
        min-height:auto;
        margin:60px 0 40px;
        overflow:visible;
    }

    .featured-banner{
        flex-direction:column;
        align-items:center;

        height:auto;
        min-height:auto;

        margin:0 auto;
       
        overflow:visible;
    }

    .featured-banner-image{
        width:100%;
        height:180px;
        position:relative;
        display:flex;
        justify-content:center;
        margin-top:40px;
    }

    .featured-banner-image img{
        position:relative;
        left:auto;
        bottom:auto;

        width:75%;
        max-width:280px;
        height:auto;

        transform:translateY(-30px);
    }

    .featured-banner-content{
        width:100%;
        padding:44px 0;
        text-align:center;
    }

    .featured-banner-content h4{
        font-size:22px;
        margin:0 0 20px;
    }

    .featured-banner-btn{
        min-width:200px;
        height:52px;
        font-size:15px;
    }
}
/****************************** ترین های فروشگاه */
/* باکس اصلی بخش ترین‌های فروشگاه */
.valuable-products-section {
    max-width: 1200px;
    margin: 50px auto;
    direction: rtl;
    padding: 0 15px;
}

/* هدر تراز شده */
.valuable-products-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.valuable-section-title {
    font-size: 20px;
    color: #2b2d42;
    font-weight: bold;
    margin: 0;
}

/* دکمه‌های ناوبری تب‌ها */
.valuable-tabs {
    display: flex;
    gap: 10px;
  order: 1
}

.v-tab-btn {
    background: #f4f6f9;
    border: 1px solid #e1e4e8;
    padding: 8px 16px;
    font-size: 13px;
    color: #555;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease;
 order: 2; 
}

.v-tab-btn:hover, .v-tab-btn.active {
    background: #df1f28;
    color: #fff;
    border-color: #df1f28;
}

/* ریل کاروسل */
.valuable-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.valuable-carousel-track {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

/* مدیریت نمایش/مخفی‌سازی تب‌ها */
.valuable-tab-content {
    display: none;
    width: 100%;
    gap: 15px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.valuable-tab-content.active {
    display: flex; /* فقط تب اکتیو به صورت فلکس اسلایدر نمایش داده شود */
}

/* کارت‌های محصول اختصاصی */
.v-product-card {
    min-width: calc(25% - 12px); /* نمایش ۴ محصول همزمان */
    box-sizing: border-box;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.v-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.v-img-container {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #fff;
    overflow: hidden;
}

.v-img-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* باکس دکمه‌های شناور هنگام هاور */
.v-hover-actions-box {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    gap: 12px;
    z-index: 10;
    opacity: 0;
    transition: bottom 0.3s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.3s ease;
}

.v-product-card:hover .v-hover-actions-box {
    bottom: 15px;
    opacity: 1;
}

/* جزئیات کارت */
.v-details-container {
    padding: 15px;
    text-align: center;
    border-top: 1px solid #f9f9f9;
}

.v-product-title {
    font-size: 13px;
    color: #333;
    line-height: 1.6;
    height: 42px;
    overflow: hidden;
    margin: 0 0 15px 0;
    font-weight: normal;
}

.v-new-price {
    color: #3f51b5;
    font-size: 15px;
    font-weight: bold;
}

.v-old-price {
    text-decoration: line-through;
    color: #b5b5b5;
    font-size: 11px;
    margin-left: 5px;
}

.v-discount-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #3f51b5;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 20px;
    z-index: 2;
}

/* دکمه‌های فلش چپ و راست کاروسل */
.valuable-nav {
    position: absolute;
    bottom: -45px;
    background: #3f51b5;
    color: #fff;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 5;
}

.prev-v-item { right: 0; }
.next-v-item { right: 38px; }

.valuable-products-section {
    padding-bottom: 50px; /* ایجاد فضا برای دکمه‌های ناوبری پایینی */
}

/* ریسپانسیو */
@media (max-width: 992px) {
    .v-product-card { min-width: calc(33.33% - 10px); }
}

@media (max-width: 780px) {
 .v-product-card { min-width: calc(50% - 8px); }
    .tab-control { white-space: nowrap; }
    .tab-control {font-size: 13px;}
  .valuable-products-header { flex-direction: column-reverse; align-items: stretch; gap: 15px; }
.valuable-section-title {order: 2;}
}
html,
body,
div,
span,
p,
a,
li,
ul,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
button,
label {
    font-family: 'iranyekan' !important;
}
body {
    overflow-x: hidden;
}
@media (max-width: 780px) {
 html, body {
    max-width: 100%;
    overflow-x: hidden;
}
}
