/* responsive style template */

/*mag header */
@media screen and (max-width:768px) {
	#headermagdesk {
		display: none;
	}
}


@media screen and (min-width:768px) {
	#headermagres {
		display: none;
	}
}



/*tile mag on mobile */
/* ===== موبایل ===== */
@media (max-width: 768px) {

    #mag-post-tile.mag-post-tile-wrapper {
        grid-template-columns: 1fr;
        height: auto;
    }

    /* پست اصلی بالا */
    #mag-post-tile .mag-post-tile-main {
        height: 260px;
    }

    /* بخش پست‌های فرعی → دو ستونه */
    #mag-post-tile .mag-post-tile-secondary {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    #mag-post-tile .mag-post-tile-item {
        height: 160px;
    }

    /* سایز فونت موبایل */
    #mag-post-tile .mag-post-tile-title {
        font-size: 16px;
    }

    #mag-post-tile .mag-post-tile-subtitle {
        font-size: 14px;
    }

    #mag-post-tile .mag-post-tile-overlay {
        padding: 14px;
    }
}



/* footer mage - price links hide */
@media (max-width:768px) {
#footermg-other , #footermg-toori {
	display: block;
}
} 

/* desktop Header hide */
@media (max-width:768px) {
	#header , #header-bottom {
			display: none;
	}
}

/* hide header responsive on desktop mode */
@media (min-width:768px) {
	#headerres {
			display: none;
	}
}

/* mobile menu */
/* ========== Mobile Menu ========== */

/* Menu Icon */
#mobile-mainmenu {
    cursor: pointer;
}
#mobile-mainmenu i {
    color: #fff;
    font-size: 35px;
}

/* Overlay */
#mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

/* Overlay Active */
#mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Modal */
#mobile-menu-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background: #000;
    color: #fff;
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

/* Modal Active */
#mobile-menu-modal.active {
    transform: translateX(0);
}

/* Header */
.mobile-menu-header {
    position: relative;
    text-align: center;
}
.mobile-menu-header img {
    width: 50%;
    height: auto;
    margin-bottom: 10px;
}
.mobile-menu-header hr {
    border-color: #333;
}

/* Close Button */
#mobile-menu-close {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 28px;
    color: #ff3b3b;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
}
#mobile-menu-close:hover {
    transform: rotate(90deg);
    color: #ff6b6b;
}

/* Menu */
.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mobile-menu-list li {
    border-bottom: 1px solid #222;
}
.mobile-menu-list li a {
    color: #fff;
    padding: 12px 0;
    display: block;
    text-decoration: none;
	font-family:Iranian Sans;
	font-size:12px;
	font-weight:600;
}



/* other price acf table section on responisve mode */
/* ============================= */
/* نسخه موبایل */
/* ============================= */
@media (max-width: 768px) {

    /* مخفی کردن ستون‌ها */
    .acf-products-header span:nth-child(2),
    .acf-products-header span:nth-child(3),
    .acf-products-header span:nth-child(4),
    .acf-product-item span:nth-child(2),
    .acf-product-item span:nth-child(3),
    .acf-product-item span:nth-child(4) {
        display: none;
    }

    /* چیدمان جدید گرید */
    .acf-products-header,
    .acf-product-item {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }

}


/*dealmakers on responsive mode */

/* ============================= */
/* Turan Sales – Mobile Optimize */
/* ============================= */
@media (max-width: 768px) {

    /* Tabs */
    .turan-sales-tabs {
        gap: 15px;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 10px 5px;
        scrollbar-width: none; /* Firefox */
    }

    .turan-sales-tabs::-webkit-scrollbar {
        display: none; /* Chrome */
    }

    .turan-tab {
        font-size: 13px;
        white-space: nowrap;
    }

    /* Cards Grid */
    .turan-sales-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 0 10px;
    }

    /* Card */
    .turan-sales-card {
        padding: 18px 12px;
        border-radius: 14px;
    }

    /* Avatar */
    .turan-sales-avatar {
        width: 65px;
        height: 65px !important;
        margin-bottom: 12px;
    }

    /* Name */
    .turan-sales-name {
        font-size: 13px;
    }

    /* Position */
    .turan-sales-position {
        font-size: 9px;
        margin-bottom: 14px;
    }

    /* Call Button */
    .turan-call-btn {
        font-size: 13px;
        padding: 9px 18px;
    }
}

/* موبایل خیلی کوچک (مثلاً آیفون SE) */
@media (max-width: 480px) {

    .turan-sales-cards {
        grid-template-columns: 1fr;
    }

}



/* special offers carousel discount responsive css */
/* ============================= */
/* Special Products Carousel – Mobile */
/* ============================= */
@media (max-width: 768px) {

    /* کل سکشن */
    .sp-carousel-section {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
    }

    /* بخش راست */
    .sp-carousel-right {
        width: 100%;
        order: 1;
    }

    .sp-carousel-right img {
        width: 90px;
        margin-bottom: 10px;
    }

    .sp-carousel-title {
        font-size: 20px !important;
        margin-bottom: 10px;
    }

    /* Countdown */
    .sp-countdown {
        gap: 6px;
    }

    .sp-time-box {
        min-width: 82px;
        padding: 6px 5px;
        border-radius: 10px;
    }

    .sp-time {
        font-size: 20px !important;
    }

    .sp-label {
        font-size: 16px;
    }

    /* بخش چپ (اسلایدر) */
    .sp-carousel-left {
        width: 100%;
        order: 2;
    }

    /* کارت محصول */
    .sp-product-card {
        min-height: 230px;
        padding: 12px 8px;
        border-radius: 12px;
    }

    .sp-product-image img {
        width: 70px;
    }

    .sp-product-title {
        font-size: 14px;
        line-height: 1.6;
    }

    .sp-product-price {
        font-size: 11px;
    }

    /* badge تخفیف */
    .sp-product-card .sp-discount-badge {
        font-size: 10px;
        padding: 2px 7px;
        top: 8px;
        right: 8px;
    }

    /* دکمه‌ها */
    .sp-product-btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .sp-product-btn i {
        font-size: 14px;
    }

    /* فلش‌های اسلایدر همیشه دیده شوند */
    .sp-products-swiper .swiper-button-next,
    .sp-products-swiper .swiper-button-prev {
        opacity: 1;
        visibility: visible;
        width: 30px !important;
        height: 30px !important;
        background: rgba(0,0,0,0.4);
        border-radius: 50%;
    }
}

/* موبایل خیلی کوچک */
@media (max-width: 480px) {

    .sp-time {
        font-size: 13px;
    }

    .sp-carousel-title {
        font-size: 14px;
    }

    .sp-product-image img {
        width: 65px;
    }

}

@media (max-width: 768px) {

    /* دکمه‌های Swiper */
    .sp-products-swiper .swiper-button-prev {
        transform: scaleX(-1); /* آیکن برعکس شود */
    }



}
/* ============================= */
/* Swiper navigation – Mobile Hover */
/* ============================= */
@media (max-width: 768px) {

    /* دکمه‌ها به طور پیش‌فرض مخفی */
    .sp-products-swiper .swiper-button-next,
    .sp-products-swiper .swiper-button-prev {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        pointer-events: none; /* جلوگیری از کلیک روی مخفی */
    }

    /* وقتی اسلایدر لمس / هاور شد، دکمه‌ها ظاهر شوند */
    .sp-products-swiper:hover .swiper-button-next,
    .sp-products-swiper:hover .swiper-button-prev,
    .sp-products-swiper:active .swiper-button-next,
    .sp-products-swiper:active .swiper-button-prev {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* آیکن سمت چپ برعکس */
    .sp-products-swiper .swiper-button-prev , .newproducts-carousel-wrapper .npc-carousel-nav .npc-swiper-button-prev {
        transform: scaleX(-1);
    }
}


/*mobile menu slide css */
.mobile-menu-header {
	border-bottom: 2px solid #ffe100;
}

#mobile-menu-close  {
left:0 !important;
font-size:36px !important;
}

.mobile-menu-list {
    padding: 15px 0;
}

/* liveprice */
 @media (max-width: 768px) {
.pi-liveprice  {
display:none !important;
}
.livepriceheading h2 {
	margin-top:10px;
}
}


@media (max-width: 768px) {

  .liveprice-more {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.6s ease;
  }

  .liveprice-more.is-open {
    max-height: 3000px; /* عدد بزرگ */
    opacity: 1;
  }
}
  /* افکت فید روی لبه بالا */
 @media (max-width: 767px) {

  .liveprice-fade {
    height: 140px;
    margin-top: -140px;
    background: linear-gradient(
      to bottom,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,0.6) 40%,
      #fff 100%
    );
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    opacity: 1;
    visibility: visible;
  }

  /* وقتی باز میشه، فید کاملاً حذف */
  .liveprice-fade.is-hidden {
    opacity: 0;
    visibility: hidden;
  }
}


@media (max-width: 767px) {

  /* دکمه toggle */
  .toggle-liveprice {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
	font-family:Iranian Sans;
    padding: 12px 16px !important; /* پدینگ ثابت */
    min-height: 44px !important;   /* ارتفاع ثابت */
    box-sizing: border-box !important;
    background: #ffe100 !important;
    color: #000 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-decoration: none !important;
  }

  /* hover / focus / active */
  .toggle-liveprice:hover,
  .toggle-liveprice:focus,
  .toggle-liveprice:active {
    background: #ffe100 !important;
    color: #000 !important;
	font-family:Iranian Sans;
  }

  #toggle-liveprice span {
    font-size: 14px !important;
	font-family:Iranian Sans;
   }

       .elementor-8 .elementor-element.elementor-element-f99b2a6 .elementor-button {
        font-size: 14px !important;
        border-radius: 5px 5px 5px 5px;
        padding: 3px 3px 3px 3px !important;
        font-family: Iranian Sans !important;
    }
}


/* hide show more button on desktop mode */
@media (min-width:768px) {

.toggle-liveprice {
	display: none !important;
}
}


@media (max-width:768px) {
	#headeradsres img {
    height: 30px !important;
    object-fit: cover !important;
}

#headeradsres {
	padding:5px !important;
}
}



/* fixed footer menu */
.ffm-pro-wrapper {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 10px;
    background: #000;
    opacity: 0.9;
    border-radius: 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 6px;
    z-index: 1000;
    direction: rtl;
    backdrop-filter: blur(6px);
}

.ffm-pro-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-family: "Iranian Sans", sans-serif;
    font-size: 13px;
    min-width: 55px;
}

.ffm-pro-item i {
    font-size: 20px;
    margin-bottom: 4px;
    color: #fff;
    transition: all .2s ease;
}

.ffm-pro-label {
    font-size: 10px;
    line-height: 1.5;
	font-weight:600;
	
}

/* حالت فعال */
.ffm-pro-item.active i,
.ffm-pro-item.active .ffm-pro-label {
    color: #ffe100;
}

/* افکت لمس */
.ffm-pro-item:active {
    transform: scale(0.92);
}

/* فقط موبایل */
@media (min-width: 768px) {
    .ffm-pro-wrapper {
        display: none !important;
    }
}

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


/* sticky mobile header */
.topheader.sticky-mobile {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999 !important;
  background:#1C2326;
}


/* mega menu on responsive mode */
@media (max-width: 991px) {

    .ffm-mobile-mega {
        position: fixed;
        inset: 0;
        z-index: 9999;
        pointer-events: none;
    }

    .ffm-mobile-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.4);
        opacity: 0;
        transition: opacity .3s ease;
    }

    .ffm-mobile-mega-inner {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
        height: 85vh;
        background: #fff;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        transition: transform .4s cubic-bezier(.4,0,.2,1);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .ffm-mobile-mega.active {
        pointer-events: auto;
    }

    .ffm-mobile-mega.active .ffm-mobile-overlay {
        opacity: 1;
    }

    .ffm-mobile-mega.active .ffm-mobile-mega-inner {
        transform: translateY(0);
    }

    .ffm-mobile-header {
        padding: 18px;
        font-weight: 700;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
		font-family:Iranian Sans;
    }

    .ffm-mobile-content {
        padding: 20px;
        overflow-y: auto;
    }

    /* ساختار لیست مشابه دسکتاپ ولی ستونی */
  .ffm-mobile-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    direction: rtl;
}

   .ffm-mobile-list > li {
    width: 50%;              /* دو ستونه */
    margin-bottom: 20px;
    padding-left: 10px;
    box-sizing: border-box;
}

  .ffm-mobile-list > li > a {
    font-family: 'Iranian Sans';
    font-weight: 700;
    font-size: 15px;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

   /* زیرمنو */
.ffm-mobile-list > li > ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

   .ffm-mobile-list > li > ul > li {
    margin-bottom: 6px;
}

   .ffm-mobile-list > li > ul > li > a {
    font-family: 'Iranian Sans';
    font-size: 13px;
    color: #555;
    text-decoration: none;
    display: inline-block;
    transition: .25s ease;
}

.ffm-mobile-list > li > ul > li > a:hover {
    color: #f4c400;
    transform: translateX(-3px);
}

	/* بولت مربعی زرد سمت راست */
.ffm-mobile-list > li > a::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #f4c400;
    margin-left: 8px;
    flex-shrink: 0;
}


.ffm-mobile-mega {
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s ease;
}

.ffm-mobile-mega.active {
    visibility: visible;
    opacity: 1;
}


}



@media (min-width:992px) {


.ffm-mobile-mega {
display:none !important;
}
}


/* priority show on mobile mode for div container on single post and categoty */
@media (max-width: 767px) {

  /* کانتینر والد این سه تا */
  .mag-main-container {
    display: flex !important;
    flex-direction: column !important;
  }

  /* ترتیب نمایش */
  .mag-middle-side {
    order: 1 !important;
  }

  .mag-right-side {
    order: 2 !important;
  }

  .mag-left-side {
    order: 3 !important;
  }

}




/* responsive post archieve */
/* ================= Mobile Optimization ================= */

@media (max-width: 768px) {

    .tooran-archive-item {
        flex-direction: column;
        gap: 15px;
        padding-bottom: 20px;
    }

    /* تصویر بزرگ‌تر و متناسب‌تر */
    .tooran-archive-thumb {
        width: 100%;
        height: 180px;
    }

    /* عنوان اصلاح شده برای دو خط با سه نقطه */
    .tooran-archive-title a {
        font-size: 15px;
        line-height: 1.6;
        white-space: normal;              /* حذف nowrap */
        display: -webkit-box;
        -webkit-line-clamp: 2;            /* فقط دو خط */
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* متا */
    .tooran-archive-meta {
        gap: 15px;
        flex-wrap: wrap;
    }

    .tooran-archive-date,
    .tooran-archive-comments {
        font-size: 11px;
    }

    /* خلاصه کوچکتر */
    .tooran-archive-excerpt {
        font-size: 12px;
        line-height: 1.9;
        -webkit-line-clamp: 2;
    }

    /* دکمه */
    .tooran-readmore-btn {
        font-size: 11px;
        padding: 7px 16px;
    }

    /* pagination کوچکتر */
    .tooran-page-number,
    .tooran-page-arrow {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

}




/* single product header fixed menu */
.single-product-fm-header{
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    flex-direction:column;
    padding-bottom:0;
}

.single-product-fm-header i{
    color:#333;
    font-size:20px;
}

.spf-left{
    display:flex;
    align-items:center;
    gap:25px;
}

.spf-item{
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
}

.spf-cart svg{
    width:22px;
    height:22px;
}

@media(max-width:768px){
    body.single-product .single-product-fm-header{
        display:flex;
    }
}

/* ردیف بالا */
.spf-top-row{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

/* ============================= */
/* تب‌های هدر ثابت */
/* ============================= */

.spf-fixed-tabs{
    display:flex;
    overflow-x:auto;
    gap:20px;
    width:100%;
    padding:10px 0 5px 0;
    font-family:'Iranian Sans';
    font-weight:bold;
    font-size:13px;
}

/* حذف اسکرول بار */
.spf-fixed-tabs::-webkit-scrollbar{
    display:none;
}
.spf-fixed-tabs{
    -ms-overflow-style:none;
    scrollbar-width:none;
}

/* آیتم تب */
.spf-fixed-tabs .tab-item{
    cursor:pointer;
    white-space:nowrap;
    opacity:0.5;
    transition:0.25s;
    position:relative;
    padding-bottom:8px;
    color:#666;
}

/* تب فعال */
.spf-fixed-tabs .tab-item.active{
    opacity:1;
    color:#000;
}

/* خط زیر تب فعال */
.spf-fixed-tabs .tab-item.active::after{
    content:'';
    position:absolute;
    bottom:0;
    right:0;
    width:100%;
    height:2px;
    background:#000; /* اگر رنگ برند داری اینو تغییر بده */
    border-radius:2px;
}



/* خط زیر تب‌ها */
.spf-tabs-divider{
    width:100%;
    height:1px;
    background:#eee;
}

/* hide single product header on mobile mode */
@media (max-width: 768px){
    .single-product #headerres,
    .single-product #ftop1,
    .single-product #ftop2,
    .single-product #fbottom1,
    .single-product #fbottom2,
	.single-product .ffm-pro-wrapper,
	.single-product .product-single-widgetbar{
        display: none !important;
    }
}



/* single product widgetbar on mobile */
/* single product widgetbar on mobile */
/* overlay */
.spf-bottom-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.5);
    z-index:9998;
    opacity:0;
    visibility:hidden;
    transition:0.3s;
}

/* bottom sheet */
.spf-bottom-sheet{
    position:fixed;
    bottom:-100%;
    right:0;
    width:100%;
    max-height:50vh; /* افزایش ارتفاع برای جا شدن همه آیتم‌ها */
    background:#fff;
    border-radius:10px 10px 0 0;
    z-index:9999;
    transition:0.35s ease;
    padding:15px 20px;
    display:flex;
    flex-direction:column;
    overflow-y:auto; /* اگر تعداد آیتم زیاد شد اسکرول بیاد */
}

/* فعال */
.spf-bottom-overlay.active{
    opacity:1;
    visibility:visible;
}

.spf-bottom-sheet.active{
    bottom:0;
}

/* header */
.spf-sheet-header{
    display:flex;
    justify-content:flex-end; /* سمت چپ در RTL */
    margin-bottom:15px;
}

.spf-sheet-close{
    font-size:24px;
    cursor:pointer;
    color:#333;
}

/* آیتم ها */
.spf-sheet-content{
    display:flex;
    flex-direction:column;
    gap: 15px; /* فاصله کمی کمتر تا مرتب‌تر بشه */
	margin-bottom: 10px;
}

.spf-sheet-item{
    display:flex;
    align-items:center;
    gap:12px;
    cursor:pointer;
    font-family: 'Iranian Sans';
    font-weight: bold;
    font-size:12px; /* کمی بزرگ‌تر برای خوانایی */
}

.spf-sheet-item i{
    color:#333;
    font-size:18px;
}

/* خطوط جداکننده */
.spf-sheet-divider {
    width: 100%;
    height: 1px;               /* ضخامت خط */
    background-color: #e0e0e0; /* رنگ قابل مشاهده */
    margin: 2px 0;             /* فاصله بالا و پایین */
}




/* share link action on mobile widget bar */
/* overlay */
.spf-share-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
	pointer-events: none;
}

/* فعال شدن overlay */
.spf-share-overlay.active {
    opacity: 1;
    visibility: visible;
	pointer-events: auto;
}

/* modal */
.spf-share-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 90%;
    max-width: 320px;
    background: #fff;
    border-radius: 10px;
    z-index: 9999;
    opacity: 0;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Iranian Sans';
	pointer-events: none; /* اضافه شده */

}

/* فعال شدن modal */
.spf-share-modal.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
	pointer-events: auto;

}

/* header */
.spf-share-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    font-weight: bold;
 /*   border-bottom: 1px solid #eee; /* خط جداکننده زیر عنوان */ */
    font-size: 14px;
}

.spf-share-title {
    font-weight: bold;
}

.spf-share-close {
    cursor: pointer;
    font-size: 20px;
}

/* متن زیر خط */
.spf-share-text {
    font-family: 'Iranian Sans', sans-serif;
    font-size: 13px;
    margin: 10px 0;
    color: #333;
    padding: 0 15px;
}

/* content */
.spf-share-content {
    padding: 15px;
    display: flex;
    justify-content: center;
}

.spf-copy-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f7f7f7;
    border: none;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
	font-family: Iranian sans;
	color:#333;
}

.spf-copy-btn i {
    font-size: 16px;
	color:#333;
}

.spf-more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;     /* پهنا */
    height: 40px;    /* ارتفاع */
    cursor: pointer;
    position: relative;
    z-index: 10000;
}


/* خط جداکننده زیر عنوان اشتراک گذاری */
.spf-share-divider {
    width: 90%;
    height: 1px; /* ضخامت خط */
    background-color: #e0e0e0; /* رنگ طوسی روشن */
    margin: 0 auto; /* فاصله بالا و پایین */
}


/* single product modal image on responsive mode */

@media  (max-width:768px) {

.pps-modal-image {
	width:90%;
}

.pps-prev, .pps-next {
display: none;
}

/* breadcrumb style and product pictures on mobile mode */

.product-breadcrumb {
    flex-wrap: nowrap;
    overflow-x: auto;     /* اسکرول افقی فعال */
    overflow-y: hidden;
    position: relative;
    margin-top: 95px;
    margin-bottom: 0;
    -webkit-overflow-scrolling: touch;
    
    /* مخفی کردن اسکرول بار */
    scrollbar-width: none;        /* Firefox */
    -ms-overflow-style: none;     /* IE */
}

/* Chrome / Safari */
.product-breadcrumb::-webkit-scrollbar {
    display: none;
}

.product-breadcrumb-item {
    white-space: nowrap;
    flex: 0 0 auto;   /* جلوگیری از فشرده شدن */
}
.pps-main-image img {
	padding:15px;
}

.pps-thumbs {
	flex-wrap: nowrap;
    justify-content: center;
    margin: 25px 0;
}

.pps-thumb {
	height:auto;
}

.pps-thumb img {
	height:100% !important;
}

}

/* short description eclipsis problem on safari */
@media (max-width:768px) {
.excerpt-single-product {
   word-break: break-word;
    line-height: 1.6;
    max-height: calc(1.6em * 4.5);
}
}


/* pricebox on mobile */
/* Fixed Price Box Mobile */
/* =======================
   Fixed Price Box Mobile
   ======================= */
.fixed-price-box-on-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9995;
    font-family: 'Iranian Sans', sans-serif;
    padding: 10px 15px;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.fixed-price-box-on-mobile-content {
    display: flex;
    width: 100%;
    max-width: 500px;
    justify-content: space-between;
    align-items: center;
}

/* ستون سمت راست: قیمت */
.fixed-price-box-on-mobile-right {
    display: flex;
    flex-direction: column;
    text-align: right;
}

/* ردیف قدیمی قیمت و بدج کنار هم */
.fixed-price-box-on-mobile-old-price-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;  /* فاصله بین بدج و قیمت قدیمی */
}

/* بدج تخفیف */
.fixed-price-box-on-mobile-discount {
    background-color: red;
    color: #fff;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 12px;
    font-size: 12px;
    display: inline-block;
    text-align: center;
    min-width: 25px;
}

/* قیمت قدیمی */
.fixed-price-box-on-mobile-old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 12px;
}

/* قیمت فروش ویژه */
.fixed-price-box-on-mobile-sale-price {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

/* قیمت عادی زمانی که تخفیف نیست */
.fixed-price-box-on-mobile-regular-price {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

/* ستون سمت چپ: افزودن به سبد خرید */
.fixed-price-box-on-mobile-left {
    display: flex;
    align-items: center;
}

.fixed-price-box-on-mobile-add-to-cart {
    display: inline-block;
    background-color: #ffe100;
    color: #000;
    font-weight: bold;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
	font-size:13px !important;
}

.fixed-price-box-on-mobile-add-to-cart:hover {
    background-color: #ffd500;
}




/* فقط روی موبایل نمایش داده شود */
@media (min-width: 768px) {
    .fixed-price-box-on-mobile {
        display: none;
    }
}


/* hide price box bottom on mobile mode */
@media (max-width: 768px){

.pricebox-bottom   {
display:none;
}

}


/* prefix search result on mobile mode */
@media (max-width:768px) {
	.myprefix-post-title {
		overflow:hidden;
		text-overflow: ellipsis;
		display: -webkit-box;
    -webkit-line-clamp: 1; /* فقط دو خط */
    -webkit-box-orient: vertical;
	}
	.myprefix-excerpt {
	word-break: break-word;
    line-height: 1.8;
	width:100%;
	}
}

/* fixed price bar - notify me button */
/* دکمه حالت ناموجود */
.fixed-price-box-on-mobile .notify-me-button {
    background-color: #ef4056; /* قرمز */
    color: #fff;               /* متن سفید */
    border-color: #ef4056;
    text-align: center;
    padding: 10px 16px;
    font-weight: 600;
    border-radius: 6px;
    display: inline-block;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fixed-price-box-on-mobile .notify-me-button:hover {
    background-color: #b22222; /* قرمز تیره‌تر هنگام hover */
    color: #fff;
}




