/* body css */
body {
	margin:0;
	padding:0
}
#logosign {
	width:48px;
	height:auto;
}

#tooranlogodesk {
	border:0
}

.current-datetime {
	color:#fff;
	font-size:11px;
	font-weight:600;
	font-family:Iranian Sans;
}


/* text marquee header */
.text-marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
  direction: rtl; /* متن فارسی */
  background: transparent;
}

.text-track {
  display: inline-block;
  white-space: nowrap;
  /* حرکت بی‌وقفه */
  animation: marqueeLTR 120s linear infinite;
}

.scroll-item {
     display: inline-flex; /* برای هم‌تراز کردن متن و تصویر */
  align-items: center;
  margin-right: 80px;
    font-size: 12px;
    color: #000;
    font-family: Iranian Sans;
    font-weight: bold;
	padding-top:5px;
}


.scroll-item .scroll-icon {
  width: 14px;
  height: 14px;
  margin-left: 3px; /* فاصله بین تصویر و متن */
  flex-shrink: 0; /* جلوگیری از کوچک شدن تصویر */
}


/* keyframes با تکرار محتوا */
@keyframes marqueeLTR {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(50%); /* نصف محتوا */
  }
}

/* توقف هنگام hover */
.text-marquee:hover .text-track {
  animation-play-state: paused;
}


@media screen and (max-width:1600px)

{
	#header {
		zoom:0.9;
	}
}

@media screen and (max-width:1366px)

{
	#header {
		zoom:0.85;
	}
}


/* @media screen and (max-width:1280px)

{
	#header {
display:none;	}
} */


@font-face {
    font-family: 'Iranian Sans';
    font-style: normal;
    font-weight: 400;
    src: local('Iranian Sans'), url('../fonts/irsans.woff') format('woff');
}
@font-face {
    font-family: 'Iranian Sans';
    font-style: normal;
    font-weight: 800;
    src: local('Iranian Sans'), url('../fonts/irsansb.woff') format('woff');
}


/* live price style */

.product-title.ap-product-title  a {
    font-family: Iranian Sans;
    color: #000;
    text-decoration: none;
    font-size: 12px;
}

.product-price.ap-product-price  {
    font-size: 12px !important;
    color: #333 !important;
    margin: 5px 0 0 0;
    padding-top: 5px;
    font-weight: bold;
	font-family:  Iranian Sans;

}

.woocommerce-Price-currencySymbol {
    padding-right: 5px;
}





/* story section */


.insta-stories-wrapper {
    display: flex;
    justify-content: space-between; /* فاصله برابر بین استوری‌ها */
    width: 100%;
    max-width: 1600px; /* اندازه سکشن */
    margin: 0 auto; /* وسط چین کردن */
    padding: 5px 0;
    box-sizing: border-box;
}

.insta-story-item {
    cursor: pointer;
    flex: 0 0 auto; /* اجازه نمی‌دهد عکس‌ها کش بیایند */
}

.insta-story-circle{
    width:100px;
    height:100px;
    border-radius:50%;
    padding:4px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(45deg,#FFE100,#f2a900);
    box-sizing:border-box;
}

.insta-story-img-wrapper{
    width:100%;
    height:100%;
    border-radius:50%;
    overflow:hidden;
    border:4px solid #fff;
    box-sizing:border-box;
    display:flex;
}

.insta-story-img-wrapper img{
    width:100%;
    height:100%;
    object-fit:cover !important;
    object-position:center !important;
    display:block;
}

/*style live price products icon */
.pi-liveprice {
	width:30%;
	height:30%;
	margin:0 auto;
	text-align:center;
}

/*
#close-ad {
	position:absolute !important;
	z-index:99999 !important;
	top:-50px;
	left:10px;
} */



/* close button for header ad */
/* دکمه بستن تبلیغ */
.ad-close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #1C2326;
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 16px;
  cursor: pointer;
  line-height: 20px;
  text-align: center;
  padding: 0;
  z-index: 9999;
}


/* ابتدا همه تبلیغ‌ها مخفی باشند */
#headeradsdesktop,
#headeradsres {
  display: none !important;
}




/* style titles */

.tooran-title-main h2
{
	font-family:'Iranian Sans' !important;
	font-size: 20px !important;
}

.tooran-title-cards h2
{
	font-family:'Iranian Sans' !important;
	font-size: 16px !important;
}

/* other price seciton */
/* جدول محصولات */
.acf-product-table { 
    display: flex; 
    gap: 10px; 
}

/* ستون دسته‌ها */
.acf-category-list {
    width: 10em;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.acf-category-title {
    all: unset;
    cursor: pointer;
    padding: 12px;
    border: 1px solid #eee;
    text-align: right;
    background: #fff;
    transition: 0.3s;
    font-family: 'Iranian Sans';
    font-size: 12px;
	color:#000;
}
.acf-category-title:hover { 
    background: #f7f7f7; 
}
.acf-category-title.active { 
    background: #ffe100; 
    font-weight: bold; 
	font-size:13px;
	color:#000;
}

/* ستون محصولات */
.acf-products-wrapper { 
    width: 90em; 
    position: relative; 
}
.acf-products {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.acf-products.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    position: relative;
}

.acf-products-header, 
.acf-product-item {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr 1fr 1fr 1fr;
    gap: 10px;
    align-items: center;
    font-family: 'Iranian Sans';
    font-size: 12px;
    margin-bottom: 7px;
}

.acf-products-header {
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    padding: 10px 5px;
    background: #fff;
	font-size:13px;
	color:#000 !important;
}

.acf-product-item {
    padding: 10px 5px;
    border-bottom: 1px solid #eee;
    background: #fff;
	color:#000 !important;
}

/* موجودی رنگی */
.stock-status.in-stock { 
    color: #28a745; 
    font-weight: bold; 
}
.stock-status.out-of-stock { 
    color: #dc3545; 
    font-weight: bold; 
}

/* دکمه مشاهده همه محصولات */
.view-all-products { 
    text-align: center; 
    margin-top: 10px; 
}
.view-all-products .button {
    display: inline-block;
    padding: 12px;
    background: #FFE100;
    color: #000;
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s;
    font-family: 'Iranian Sans';
    font-size: 11px;
    font-weight: 600;
	float:right;
}
.view-all-products .button:hover { 
    background: #000; 
    color:#fff; 
}

/* لینک محصول */
.acf-product-item .product-title a { 
    color: inherit; 
    text-decoration: none; 
}

/* آیکون نمودار قیمت */
.price-chart-icon { 
    cursor: pointer; 
    font-size: 18px; 
    text-align: right; 
}

/* پاپ‌آپ نمودار */
#price-chart-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    z-index: 9999;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}
#price-chart-popup .close-popup {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}
#price-chart-overlay {
    display: none;
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

/* ============================= */
/* عنوان نمودار قیمت (اضافه شده) */
/* ============================= */
#price-chart-title {
    margin-bottom: 15px;
    font-family: 'Iranian Sans';
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    color: #000;
}

/* استایل متن در حال بارگذاری */
.loading-text {
    font-family: 'Iranian Sans'; /* یا هر فونتی که میخوای */
    font-size: 14px;
    color: #333; /* رنگ دلخواه */
    text-align: center;
    display: block;
    margin-top: 20px;
}


/* dealmakers section */
/* ===============================
   Turan Sales Experts Section
================================ */

.turan-sales-wrapper {
    direction: rtl;
    font-family: IRANSans, sans-serif;
}

/* Tabs */
.turan-sales-tabs {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #575757;
    margin-bottom: 20px;
	justify-content: center;
	padding-top:15px;
}

.turan-tab {
    position: relative;
    padding: 12px 0;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    transition: color .3s ease;
    font-weight: 400; /* ثابت تا عرض تب‌ها تغییر نکند */
	font-family:'Iranian Sans';
}

.turan-tab.active {
    color: #ffe100; /* فقط رنگ عوض می‌شود */
}

.turan-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e5e5e5, #ffe100);
    animation: tabLine .4s ease;
}

@keyframes tabLine {
    from { width: 0; }
    to { width: 100%; }
}

/* Contents */
.turan-tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out; /* Fade-in effect */
}

.turan-tab-content.active {
    display: block;
    opacity: 1;
}

/* Cards */
.turan-sales-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, 220px); /* کارت‌ها ثابت 220px */
    gap: 25px;
    justify-content: center; /* وسط‌چین کردن کارت‌ها */
	margin-bottom:25px;
}



.turan-sales-card {
    background: #fff;
    border-radius: 18px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 12px 35px rgba(0,0,0,.08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.turan-sales-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0,0,0,.12);
}

/* Avatar */
.turan-sales-avatar {
    width: 80px;
    height: 80px !important;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 15px;
}

/* Name & Position */
.turan-sales-name {
    margin: 10px 0 5px;
    font-size: 14px;
    font-weight: 700;
	font-family: 'Iranian Sans';
	color:#333;
}

.turan-sales-position {
    font-size: 10px;
    color: #868e96;
    display: block;
    margin-bottom: 18px;
	font-family: 'Iranian Sans';

}

/* Call Button */
.turan-call-btn {
    display: inline-block;
    padding: 10px 22px;
    background: #FFE100;
    color: #000;
    border-radius: 30px;
    font-size: 14px;
    text-decoration: none;
    transition: background .3s ease, transform .2s ease;
	font-family:'Iranian Sans';
}

.turan-call-btn:hover {
    background: #000;
    transform: translateY(-2px);
	color:#fff;

}


/* ===============================
   Homepage Slider – Swiper + Elementor
   =============================== */

/* Wrapper اسلایدر */
.homepage-slider-wrapper {
    max-width: 1195px;
    margin: 0 auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    border-radius: 10px;
    overflow: hidden;
}


/* خود اسلایدر */
.homepage-slider {
    width: 100%;
    max-height: 290px;
    position: relative;
    display: block;
}

/* ساختار داخلی Swiper */
.homepage-slider .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.homepage-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

/* تصویر و picture */
.homepage-slider .swiper-slide picture,
.homepage-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    display: block;
}

/* تصویر اصلی */
.homepage-slider .swiper-slide img {
    object-fit: cover;
	background:#000;
}

/* لینک کل اسلاید */
.homepage-slider .swiper-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

/* موبایل – حالت مربعی */
@media (max-width: 1024px) {
    .homepage-slider {
        height: auto;
        aspect-ratio: 1 / 1;
        max-height: none;
    }
	.homepage-slider,
.homepage-slider .swiper-wrapper,
.homepage-slider .swiper-slide {
    height: 100%;
}

}


/* ===============================
   Pagination
   =============================== */

.homepage-slider .swiper-pagination {
    bottom: 15px !important;
}

.homepage-slider .swiper-pagination-bullet {
    width: 16px;
    height: 5px;
    margin: 0 4px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
    opacity: 1;
    transition: all 0.3s ease;
}

.homepage-slider .swiper-pagination-bullet-active {
    width: 32px;
    background: #ffffff;
}

/* Pagination موبایل */
@media (max-width: 600px) {
    .homepage-slider .swiper-pagination-bullet {
        width: 12px;
        height: 4px;
        margin: 0 3px;
    }

    .homepage-slider .swiper-pagination-bullet-active {
        width: 24px;
    }
}

/*small slider */
/* ===============================
   Homepage Small Slider
   =============================== */

.homepage-small-slider-wrapper {
    max-width: 385px;
    max-height: 290px;
    border-radius: 10px;
    overflow: hidden;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);

}

.homepage-small-slider {
    width: 100%;
    height: 100%;
}

.homepage-small-slider .swiper-wrapper,
.homepage-small-slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.homepage-small-slider picture,
.homepage-small-slider img,
.homepage-small-slider a {
    width: 100%;
    height: 100%;
    display: block;
}

/* نمایش کامل تصویر */
.homepage-small-slider img {
    object-fit: contain;
    background-color: #000;
}

/* موبایل */
@media (max-width: 768px) {
    .homepage-small-slider-wrapper {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }
}




/* Homepage carousel special products discount */
.sp-carousel-section {
    display: flex;
    gap: 30px;
    align-items: center;
    background: #ffe100;
    padding: 20px 25px;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.sp-carousel-section.is-visible {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.3s ease;
}

.sp-carousel-right {
    width: 20%;
    text-align: center;
}

.sp-carousel-right img {
    width: 25%;
}

.sp-carousel-image {
    margin-bottom: 10px;
}

.sp-carousel-image img {
    max-width: 60px;
    height: auto;
    display: block;
    width: 80px;
    position: relative;
    margin: 0 auto;
}

.sp-carousel-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    font-family:'Iranian Sans';
	color:#000;
}

.sp-countdown {
    display: flex;
    gap: 10px;
    direction: ltr;
    justify-content: center;
}

.sp-time-box {
    background: #fff;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 10px 8px;
    text-align: center;
    min-width: 50px;
	color:#000;
}

.sp-time {
    font-size: 20px;
    font-weight: bold;
    display: block;
    font-family:'Iranian Sans';
}

.sp-label {
    font-size: 12px;
    color: #666;
    font-family: 'Iranian Sans';
}

.sp-carousel-left {
    width: 80%;
}

/* کارت محصول */
.sp-product-card {
    background: #fff;
    border-radius: 14px;
    padding: 15px 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    position: relative; /* مهم برای badge */
    text-align: center;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sp-product-image {
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.sp-product-image img {
    width: 90px;
    margin: 0 auto;
    display: block;
    border-radius:10px !important;
}

.sp-product-title {
    font-size: 12px;
    margin: 3px 0 10px;
    color: #333;
    line-height: 1.7;
    font-family: 'Iranian Sans';
}

.sp-product-price {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-family:'Iranian Sans';
}

.sp-product-price ins {
    order: 1;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-family:'Iranian Sans';
}

.sp-product-price del {
    order: 2;
    color: #b5b5b5;
    font-size: 12px;
    font-family:'Iranian Sans';
}

/* badge درصد تخفیف بالا سمت راست کارت */
.sp-product-card .sp-discount-badge {
    position: absolute;  /* بالا سمت راست */
    top: 10px;
    right: 10px;
    background: #FFE100;
    color: #000;
    padding: 3px 8px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: bold;
    font-family:'Iranian Sans';
    z-index: 10;
}

/* دکمه‌های کنار هم */
.sp-product-buttons {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 10px;
}

.sp-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 14px;
}

.sp-btn-cart {
    background: #000;
    color: #fff;
}

.sp-btn-more {
    background: #FFE100;
    color: #000;
}

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

/* Swiper */
.sp-products-swiper .swiper-button-next,
.sp-products-swiper .swiper-button-prev {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.sp-products-swiper:hover .swiper-button-next,
.sp-products-swiper:hover .swiper-button-prev {
    opacity: 1;
    visibility: visible;
    background-color: rgba(0,0,0,0.3);
	width:35px !important;
	height:35px !important;
	border-radius:50px;
	color:#fff !important;
	padding:10px;
    font-weight: 700 !important;
}

.sp-products-swiper .swiper-button-next::after,
.sp-products-swiper .swiper-button-prev::after {
    color: #fff !important;
}



.sp-btn-cart i {
    font-size: 16px;
    transform: scaleX(-1); /* ← برعکس کردن افقی */
}


/*homepage ads banner responsive */
@media (max-width:768px) {

.custom-ad-banners {
	gap: 30px !important;
}	
}



/* homepage ads banner */

.custom-ad-banners {
    display: flex;
    gap: 60px;
    justify-content: right;
    align-items: stretch;
}

.custom-ad-banner-item {
    flex: 1 1 48%;
    max-width: 48%;
}

.custom-ad-banner-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
}

/* موبایل */
@media (max-width: 768px) {
    .custom-ad-banners {
        flex-direction: column;
    }

    .custom-ad-banner-item {
        max-width: 100%;
        flex-basis: 100%;
    }
}


/* product button on desktop mode */
#product-button span {
	font-family:Iranian Sans !important;
	font-size:12px  !important;
}

#product-button:hover {
	cursor:pointer;
}

/* .product-button-box {
	position: relative;
}
*/

/* blur related body and show menu */

.page-content, .pagecontent , #header-bottom {
  transition: filter 0.3s ease;
}

body.blur .page-content,
body.blur .pagecontent,
body.blur #header-bottom {
  filter: blur(6px);
}

/* منوها blur نشن */
#hormenu,
#mapmenu {
  position: relative;
  /* z-index: 1000; */
}
#mapmenu span {
	font-family:Iranian Sans !important;
	font-size:11px;
}

/* change font family to iranian sans */
#hormenu a {
	font-family:'Iranian Sans' !important;
	font-size:12px;
}

.ttla , .ttla:hover {
cursor:pointer;
}

#darkmode , #darkmode:hover , #lightmode , #lightmode:hover {
cursor:pointer;
}

/* بک‌گراند دارک مود */
#page-content.dark-bg , .pagecontent.dark-bg    {
  background-color: #000 !important;
  color: #fff;
}

.page-content.dark-bg {
background-color: #000 !important;

}


/* رنگ آیکن فعال */
#darkmode.active,
#darkmode.active i,
#darkmode.active svg,
#darkmode.active svg path,
#lightmode.active,
#lightmode.active i,
#lightmode.active svg,
#lightmode.active svg path,
#darkmode-res.active,
#darkmode-res.active i,
#darkmode-res.active svg,
#darkmode-res.active svg path,
#lightmode-res.active,
#lightmode-res.active i,
#lightmode-res.active svg,
#lightmode-res.active svg path {
  color: #FFD700 !important;
  fill: #FFD700 !important;
}

/* آیکن غیر فعال خاکستری */
#darkmode,
#lightmode,
#darkmode-res,
#lightmode-res {
  color: #888;
}




/* searchbox category recomended */
.suggestion-item-dark {
    background: #f0f0f0;
    color: #000;
    text-decoration: none;
}

.suggestion-item-dark:hover {
    color: #000;
}



.quick-links-wrapper {
    display: inline-grid; /* مهم: grid به اندازه محتوا جمع می‌شود */
    grid-template-columns: repeat(auto-fit, minmax(120px, auto)); /* ستون‌ها به اندازه محتوا */
    gap: 10px;
    margin: 0 auto; /* وسط‌چین کردن کل grid */
}





.quick-link-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #333;
    text-decoration: none;
}

.quick-link-item:hover {
    color: #000;
}

.quick-link-bullet {
    width: 8px;
    height: 8px;
    background-color: #f5c400; /* زرد */
    border-radius: 50%;
    flex-shrink: 0;
}

/* موبایل */
@media (max-width: 600px) {
    .quick-links-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ===== New Products Carousel ===== */

/* مخفی کردن کروسل تا لود کامل */
.newproducts-carousel-wrapper {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

/* نمایش بعد از لود */
.newproducts-carousel-wrapper.is-loaded {
    opacity: 1;
    visibility: visible;
}

/* navigation داخل کروسل (مخفی در حالت عادی) فقط دکمه‌های navigation */
.newproducts-carousel-wrapper .npc-carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* غیر فعال در حالت مخفی */
    opacity: 0;           /* مخفی */
    transition: opacity 0.3s ease;
    z-index: 10;
}

/* نمایش دکمه‌ها وقتی موس روی کروسل است */
.newproducts-carousel-wrapper:hover .npc-carousel-nav {
    pointer-events: all;
    opacity: 1;
}

/* خود دکمه‌ها navigation */
.newproducts-carousel-wrapper .npc-carousel-nav .npc-swiper-button-next,
.newproducts-carousel-wrapper .npc-carousel-nav .npc-swiper-button-prev {
    width: 35px;
    height: 35px;
    background: rgba(0,0,0,0.3) !important;
    border-radius: 50%;
    pointer-events: all;
	color: #fff;
    padding: 10px;
}

.newproducts-carousel-wrapper .npc-carousel-nav .npc-swiper-button-next::after,
.newproducts-carousel-wrapper .npc-carousel-nav .npc-swiper-button-prev::after {
    color: #fff !important;
    font-size: 16px;
    font-weight: bold;
}

/* card */
.newproducts-card {
    background: #fff;
    border-radius: 14px;
    padding: 15px 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    position: relative;
    text-align: center;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* new badge */
.newproducts-badge-new {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffe100;
    color: #000;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: bold;
    font-family: 'Iranian Sans';
    z-index: 2;
}

/* discount badge */
.newproducts-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 3px 8px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: bold;
    font-family:Iranian Sans;
}

/* image */
.newproducts-image {
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.newproducts-image img {
    width: 90px;
    margin: 0 auto;
    display: block;
    border-radius: 10px !important;
}

/* title & price */
.newproducts-title {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 8px;
    font-family: 'Iranian Sans';
    color: #333;
}

.newproducts-price {
    font-size: 12px;
    font-weight: bold;
    font-family: 'Iranian Sans';
    color:#333;
}

.newproducts-price ins { text-decoration: none; }
.newproducts-price del {
    color: #b5b5b5;
    font-size: 11px;
}

/* buttons (سبد و توضیحات بیشتر) بدون تغییر */
.newproducts-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.newproducts-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.newproducts-cart {
    background: #000;
    color: #fff;
}

.newproducts-more {
    background: #ffe100;
    color: #000;
}

.newproducts-cart i {
    transform: scaleX(-1);
}



/*********header button styles *********/
.receipt-button span , .consulting-button span {
	font-family: Iranian Sans;
	font-size:11px;

}



/* sign side by side title */
.signcls {
	width:20px;
	height:20px;
	padding-top:4px
}




/* ===============================
   Introduction Section
================================ */

.introduction-section {
    padding: 10px 0;
}

.introduction-row--two-col {
    display: flex;
    align-items: center;
    gap: 40px;
}

.introduction-column {
    width: 50%;
}

.introduction-column--content {
    text-align: right;
}

.introduction-title {
    font-family: Iranian Sans;
    font-size: 28px;
    font-weight: 700;
    margin: 0 30px 10px;
}

.introduction-text p {
    font-family: Iranian Sans;
    line-height: 2.5;
    font-size: 13px;
    padding: 0 30px 15px;
    text-align: justify;
}

/* ===============================
   Counters
================================ */

.introduction-stats {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 20px 30px 0;
    flex-wrap:wrap;
}

.introduction-stat {
    flex: 1;
    text-align: center;
}

.introduction-stat__top {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.introduction-stat__icon {
    font-size: 26px;
    color: #ffe100;
}

.introduction-stat__number {
    font-family: Iranian Sans;
    font-size: 26px;
    font-weight: 700;
    color: #000;
}

.introduction-stat__number::before {
    content: "+";
}

.introduction-stat__label {
    margin-top: 6px;
    font-size: 11px;
    color: #555;
	font-family:Iranian Sans;
	font-weight:600;
}

/* ===============================
   Responsive (Mobile)
================================ */

@media (max-width: 768px) {

    .introduction-row--two-col {
        flex-direction: column;
        gap: 20px;
    }

    .introduction-column {
        width: 100%;
    }

    /* Slider */
    .introduction-column--slider {
        margin-bottom: 10px;
    }

    .introduction-slider-card {
        margin: 10px;
        padding: 10px;
        border-radius: 14px;
    }

    .introduction-slider__image {
        height: 240px !important;
    }

    /* Title & Text */
    .introduction-title {
        font-size: 22px;
        margin: 10px 15px;
        text-align: center;
    }

    .introduction-text p {
        font-size: 13px;
        line-height: 2.2;
        padding: 0 15px 10px;
    }

    /* Counters */
    .introduction-stats {
        flex-direction: column;
        margin: 15px;
        gap: 12px;
    }

    .introduction-stat__number {
        font-size: 22px;
    }

    .introduction-stat__icon {
        font-size: 22px;
    }
}

/* ===============================
   Extra Small Devices
================================ */

@media (max-width: 480px) {

    .introduction-slider__image {
        height: 200px !important;
    }

}

/* ===============================
   Pagination (زیر تصویر)
================================ */

.introduction-slider__pagination {
    position: relative !important;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.introduction-slider__pagination .swiper-pagination-bullet {
    width: 28px;
    height: 7px;
    border-radius: 4px;
    background-color: #ccc;
    opacity: 1;
    transition: all 0.3s ease;
}

.introduction-slider__pagination .swiper-pagination-bullet-active {
    width: 45px;
    background-color: #ffe100;
}


/* =============================== Slider Card (Album Frame) ================================ */ .introduction-slider-card { position: relative; background: #fff; border-radius: 18px; padding: 15px; box-shadow: 0 15px 35px rgba(0,0,0,0.25), inset 0 0 0 1px rgba(255,255,255,0.6); margin:15px; } /* Swiper */ .introduction-slider { width: 100%; overflow: hidden; border-radius: 14px; } /* اسلاید */ .introduction-slider__slide { position: relative; } /* تصویر */ .introduction-slider__image { width: 100%; height: 400px !important; object-fit: cover; border-radius: 14px !important; display: block; }


/* benefits section */
.turan-benefits-section {
	padding: 10px 0px;
	direction: rtl;
	font-family: inherit;
}

.turan-benefits-title {
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	color: #000;
	margin-bottom: 40px;
	position: relative;
	font-family:Iranian Sans;
}

.turan-benefits-title::after {
	content: "";
	display: block;
	width: 80px;
	height: 4px;
	background: #ffe100;
	margin: 15px auto 0;
	border-radius: 2px;
}

.turan-benefits-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 20px;
}

.turan-card {
	background: #fff;
	border-radius: 12px;
	padding: 20px;
	box-shadow: 0 10px 25px rgba(0,0,0,0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.turan-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.turan-card-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 16px;
	font-weight: 600;
	color: #000;
	font-family:Iranian Sans;
}

.turan-card-header i {
	font-size: 28px;
	color: #ffe100;
}

i.fas.fa-truck {
	transform:scaleX(-1) !important;
}

i.fa-solid.fa.fa-list {
	 transform: scaleX(-1);
}


.turan-card p {
	font-size: 12px;
	line-height: 1.9;
	color: #444;
	margin: 0;
	font-family: 'Iranian Sans';
}

/* ریسپانسیو */
@media (max-width: 1200px) {
	.turan-benefits-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 768px) {
	.turan-benefits-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}


/* acc style Q&A */
.acc-qa {
    font-family: 'Iranian Sans';
}

.acc-qa p {
    font-family: 'Iranian Sans';
    line-height: 2;
    font-size: 13px;
}


/* help to buy section */
.helptobuy {
    padding: 20px 0;
    direction: rtl;
    font-family: inherit;
}

.helptobuy-header {
    text-align: center;
    margin-bottom: 40px;
}

.helptobuy-header h2 {
    color: #000;
    font-size: 28px;
    margin-bottom: 10px;
}

.helptobuy-header p {
    color: #555;
    font-size: 15px;
	font-family: 'Iranian Sans';
}

.helptobuy-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.helptobuy-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.helptobuy-card:hover {
    transform: translateY(-5px);
}

.helptobuy-card .card-title {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-weight: bold;
    color: #000;
	font-family: 'Iranian Sans';
}

.helptobuy-card .card-title i {
    font-size: 22px;
    color: #ffe100; /* زرد */
    margin-left: 8px;
}

.helptobuy-card p {
    font-size: 12px;
    color: #555;
    line-height: 1.8;
	font-family: 'Iranian Sans';
}

/* ریسپانسیو */
@media (max-width: 1200px) {
    .helptobuy-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .helptobuy-cards {
        grid-template-columns: repeat(1, 1fr);
    }
}


/* mag section */
/* ساختار کلی */
.news-section {
    display: flex;
    gap: 30px;
	background:#fff;
	padding-top: 20px;
	box-shadow: rgba(0, 0, 0, 0.08) 0px 10px 25px;
	border-radius:10px;
}
.news-right {
	    width: 35%;

}

.news-left {
    width: 65%;
}

/* پست اصلی */
.main-post-img {
    position: relative;
}
.main-post-img img {
    width: 100%;
	border-radius: 10px !important;
    padding-right: 5px;
}
.main-post-link {
    display: block;
}
.main-post-link:hover img {
    opacity: 0.9;
}
.post-cat {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffe100;
    padding: 4px 10px;
    font-size: 12px;
	font-family: Iranian Sans;
	color:#333;
	font-weight:600;
}
.post-overlay {
    position: absolute;
    bottom: 10px;
    right: 15px;
    left: 10px;
    color: #fff;
	font-family: Iranian Sans;
	font-size:10px;
	padding: 10px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.6);
    line-height: 2;
}


.post-overlay h3 {
	font-family:iranian Sans;
}

/* لیست زیر پست اصلی */
.side-posts li {
    display: flex;
    align-items: center;
	padding:10px;
}

.side-posts li a {
font-family:Iranian Sans;
color:#333;
font-weight:600;
font-size:13px;
white-space: nowrap;
display: block;
text-overflow: ellipsis;
overflow: hidden;
}



.side-posts .bullet {
    width: 6px;
    height: 6px;
    background: #ffe100;
    margin-left: 8px;
}
.news-right .side-posts hr {
    border: none !important;
    border-top: 1px solid #f1f1f1 !important;
    margin: 5px 0 !important;
}

.side-posts {
	padding:0;
}

/* تب‌ها */
.tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.tab-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-weight: bold;
    position: relative;
	font-family: iranian Sans;
	font-size:12px;
}
.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    left: 0;
    height: 2px;
    background: #ffe100;

}

/* پست‌های تب – دو ستون */
.tab-posts.two-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 15px;
	padding-top: 10px;
	padding-left: 20px;
}

.tab-post {
    display: flex;
    gap: 10px;
}
/* تصاویر بندانگشتی تب‌ها */
.tab-post .thumb {
    width: 80px;       /* عرض ثابت */
    height: 80px;      /* ارتفاع ثابت */
    flex-shrink: 0;    /* جلوگیری از کوچک شدن */
    overflow: hidden;
    border-radius: 6px;
}

.tab-post .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;  /* کراپ و حفظ نسبت تصویر */
    display: block;
}


/* متا */
.meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tab-post .tags span,
.tab-post .tags a {
    display: inline-block;  /* مهم: باعث میشه هر تگ جدا باشه */
    background: #eee;
    padding: 4px 6px;
    margin: 2px  ;/* فاصله بالا/پایین و بین تگ‌ها */
    font-family: Iranian Sans;
    font-size: 8px;        /* سایز دلخواه */
    border-radius: 3px;
}
.tab-post .tags span:hover,
.tab-post .tags span:hover a {
    background: #ffe100;
    color: #333;
}


/* دکمه مشاهده همه */
.view-more {
display: block;
    margin: 20px 10px;
    padding: 10px;
    background: #ffe100;
    text-align: center;
    font-weight: bold;
    border-radius: 6px;
    font-family: Iranian Sans;
    font-size: 10px;
    color: #333;
    width: 20%;
    float: left;
}

.view-more:hover {
	background:#000;
	color:#fff;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .news-section {
        flex-direction: column;
        gap: 15px;
        padding: 10px;
    }

    .news-right, .news-left {
        width: 100%;
    }

    .main-post-img img {
        width: 100%;
        height: auto;
    }

    .side-posts li {
        padding: 5px 0;
    }

    .tab-posts.two-col {
        grid-template-columns: 1fr;
        gap: 10px;
        padding-left: 0;
    }

    .tab-post {
        flex-direction: row;
        gap: 10px;
    }

    .tab-post .thumb {
        width: 60px;
        height: 60px;
    }

    .tab-post .info a {
        font-size: 10px;
        max-width: 100%;
    }

    .tab-post .tags span {
        font-size: 7px;
        padding: 3px 4px;
    }

    .view-more {
        width: 100%;
        float: none;
        text-align: center;
        margin: 15px 0;
    }

    .tabs {
        gap: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        flex: 0 0 auto;
        font-size: 10px;
        padding: 5px 10px;
		color:#000;
    }
}



.info a {
color: #333;
    font-family: Iranian Sans;
    font-size: 11px;
    font-weight: 600;
    white-space: normal;      /* متن می‌تواند چند خط شود */
    overflow: hidden;
    text-overflow: ellipsis;  /* فقط اگر محدودیت خط داشت */
    display: block;
    width: 100%;              /* عرض لینک همیشه با عرض div هماهنگ شود */
    max-width: 380px;         /* اگر می‌خواهی محدودیت داشته باشد */
    padding: 5px 0;
    box-sizing: border-box;   /* padding را داخل عرض حساب کند */
}

.date-mag {
	font-size:10px;
	color:#333;
	font-family: Iranian sans;
	display: flex;
	align-items: center;
}


.tab-post .tags {
    display: flex;
    flex-wrap: wrap;
    min-height: 32px;   /* ارتفاع ثابت برای تگ‌ها */
    align-items: flex-start;
}

/* change font liveprice heading */
.livepriceheading h2 {
	font-family: Iranian Sans !important;
}

/* shadowbox for services section */
.services-card , .livepricecards {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
/* small slider hide */
@media screen and (max-width:1024px) {
	.small-sl {
		display: none;
	}
} 

/* footer css */
.selected-product a {
    font-family: 'Iranian Sans' !important;
    font-size: 12px;
}

.general-text span , .general-text h2 , .vertical-menu-link a , .general-text a , .general-text p {
	 font-family: 'Iranian Sans' !important;
}


.about-us-footer {
  line-height: 1.6em;
  max-height: 4.8em; /* حدود 3 خط */
  overflow: hidden;

  /* fade روی خود متن */
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0.6) 65%,
    rgba(0,0,0,0.2) 85%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0,0,0,1) 0%,
    rgba(0,0,0,1) 40%,
    rgba(0,0,0,0.6) 65%,
    rgba(0,0,0,0.2) 85%,
    rgba(0,0,0,0) 100%
  );
}


.about-us-footer-mag h2 , .about-us-footer-mag a {
font-family:Iranian Sans !important;	
}

/* حالت باز */
.about-us-footer.expanded {
  max-height: none;
  -webkit-mask-image: none;
  mask-image: none;
}

.about-us-footer span {
font-family: 'Iranian Sans' !important;
}


.about-us-more span {
	font-family: 'Iranian Sans' !important;
	font-size:12px !important;
}



/* mag css */
#maghormenu a {
	font-family:'Iranian Sans' !important;
	font-size:12px;
}


.mag-ad-item {
    margin: 10px 0;
	padding:5px;
}


/* ساختار کلی */
#mag-post-tile.mag-post-tile-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    height: 460px;
}

/* لینک */
#mag-post-tile .mag-post-tile-link {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* تیتر ۱ و ۲ */
#mag-post-tile .mag-post-tile-main,
#mag-post-tile .mag-post-tile-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

/* ستون راست */
#mag-post-tile .mag-post-tile-secondary {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#mag-post-tile .mag-post-tile-item {
    height: calc(50% - 8px);
}

/* بک‌گراند */
#mag-post-tile .mag-post-tile-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    will-change: transform;
}

/* زوم روی هاور */
#mag-post-tile .mag-post-tile-main:hover .mag-post-tile-bg,
#mag-post-tile .mag-post-tile-item:hover .mag-post-tile-bg {
    transform: scale(1.08);
}

/* اورلی */
#mag-post-tile .mag-post-tile-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75),
        rgba(0,0,0,0.35),
        rgba(0,0,0,0)
    );
}

/* دسته‌بندی */
#mag-post-tile .mag-post-tile-category {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    background: #ffe100;
    color: #333;
    font-size: 12px;
	font-family:Iranian Sans;
	font-weight:bold;
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 8px;
    white-space: nowrap;
}

/* عناوین */
#mag-post-tile .mag-post-tile-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #fff;
	font-family: 'Iranian Sans';
}

#mag-post-tile .mag-post-tile-subtitle {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #fff;
	font-family: 'Iranian Sans';
}




/* ===============================
   Intro New Product Posts
   =============================== */

.intoro-new-product {
    display: grid;
    grid-template-columns: 3fr 1fr; /* ستون چپ 75% / ستون راست 25% */
    gap: 24px;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch; /* ستون‌ها همیشه یکسان ارتفاع */
    box-sizing: border-box;
}

/* ---------- ستون چپ ---------- */
.intoro-new-product .intoro-left {
    display: flex;
    gap: 20px;
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    box-sizing: border-box;
}

/* متن سمت چپ */
.intoro-left-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    order: 1; /* اول در Flex */
    min-width: 0;
}

.intoro-left-content h2 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
	font-family: 'Iranian Sans';
}

.intoro-left-content p {
    font-size: 15px;
    color: #666;
    line-height: 2;
    margin-bottom: 10px;
    white-space: normal;       /* متن چند خطی */
    word-break: break-word;    /* جلوگیری از overflow */
	font-family:Iranian Sans;
	text-align:justify;
}

/* دکمه ادامه مطلب */
.intoro-read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #eacb02, #ffe100);
    color: #333;
    border-radius: 30px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    align-self: flex-start;
	font-family:Iranian Sans;
	font-weight:bold;
}

.intoro-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216, 202, 3, 0.4);
}

/* تصویر سمت راست */
.intoro-left-image {
    flex: 0 0 560px;
    order: 2; /* بعد از متن */
}

.intoro-left-image img {
    width: 100%;
    height: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 5px !important;
    display: block;
}

/* ---------- ستون راست ---------- */
.intoro-new-product .intoro-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* آیتم‌های ستون راست */
.intoro-side-post {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.intoro-side-post:hover {
    transform: translateY(-2px);
}

/* تامبنیل ستون راست */
.intoro-side-thumb {
    flex: 0 0 70px;
}

.intoro-side-thumb img {
    width: 70px;
    height: 55px !important;
    object-fit: cover;
    border-radius: 5px !important;
    display: block;
}

/* عنوان ستون راست */
.intoro-side-title a {
    font-size: 13px;
    color: #333;
    text-decoration: none;
    line-height: 1.5;
	font-family:Iranian Sans;
}

.intoro-side-title a:hover {
    color: #696969;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 768px) {
    .intoro-new-product {
        grid-template-columns: 1fr;
    }

    .intoro-new-product .intoro-left {
        flex-direction: column;
    }

    .intoro-left-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .intoro-left-image img {
        max-height: 220px;
    }
}


/* تاریخ پست اصلی */
.intoro-left-content .intoro-post-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
	font-family:Iranian Sans;
}

/* تاریخ پست‌های ستون راست */
.intoro-side-title .intoro-side-post-date {
    font-size: 11px;
    color: #aaa;
    line-height: 1.2;
    margin-top: 2px;
	font-family:Iranian Sans;
}





/* ===============================
   Analysis Posts
   =============================== */

.analysis {
    display: grid;
    grid-template-columns: 3fr 1fr; /* ستون چپ 75% / ستون راست 25% */
    gap: 24px;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: stretch;
    box-sizing: border-box;
}

/* ---------- ستون چپ ---------- */
.analysis .analysis-left {
    display: flex;
    gap: 20px;
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    box-sizing: border-box;
}

/* متن سمت چپ */
.analysis-left-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    order: 1;
    min-width: 0;
}

.analysis-left-content h2 {
    font-size: 20px;
    margin-bottom: 12px;
    line-height: 1.4;
    font-family: 'Iranian Sans';
}

.analysis-left-content p {
    font-size: 15px;
    color: #666;
    line-height: 2;
    margin-bottom: 10px;
    white-space: normal;
    word-break: break-word;
    font-family: Iranian Sans;
    text-align: justify;
}

/* دکمه ادامه مطلب */
.analysis-read-more {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #eacb02, #ffe100);
    color: #333;
    border-radius: 30px;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s ease;
    align-self: flex-start;
    font-family: Iranian Sans;
    font-weight: bold;
}

.analysis-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216, 202, 3, 0.4);
}

/* تصویر سمت راست */
.analysis-left-image {
    flex: 0 0 560px;
    order: 2;
}

.analysis-left-image img {
    width: 100%;
    height: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 5px !important;
    display: block;
}

/* ---------- ستون راست ---------- */
.analysis .analysis-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* آیتم‌های ستون راست */
.analysis-side-post {
    display: flex;
    gap: 10px;
    align-items: center;
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.analysis-side-post:hover {
    transform: translateY(-2px);
}

/* تامبنیل ستون راست */
.analysis-side-thumb {
    flex: 0 0 70px;
}

.analysis-side-thumb img {
    width: 70px;
    height: 55px !important;
    object-fit: cover;
    border-radius: 5px !important;
    display: block;
}

/* عنوان ستون راست */
.analysis-side-title a {
    font-size: 13px;
    color: #333;
    text-decoration: none;
    line-height: 1.5;
    font-family: Iranian Sans;
}

.analysis-side-title a:hover {
    color: #696969;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 768px) {
    .analysis {
        grid-template-columns: 1fr;
    }

    .analysis .analysis-left {
        flex-direction: column;
    }

    .analysis-left-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .analysis-left-image img {
        max-height: 220px;
    }
}

/* تاریخ پست اصلی */
.analysis-left-content .analysis-post-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 8px;
    font-family: Iranian Sans;
}

/* تاریخ پست‌های ستون راست */
.analysis-side-title .analysis-side-post-date {
    font-size: 11px;
    color: #aaa;
    line-height: 1.2;
    margin-top: 2px;
    font-family: Iranian Sans;
}


/*searchbox mag css */
.search-mag-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease;
    z-index: 9999;
}

.search-mag-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-mag-content {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    position: relative;
    transform: translateY(30px) scale(.95);
    transition: all .4s ease;
}

.search-mag-modal.active .search-mag-content {
    transform: translateY(0) scale(1);
}

.search-mag-field {
    display: flex;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
}

.search-mag-field input {
    flex: 1;
    border: none;
    padding: 18px 20px;
    font-size: 18px;
    outline: none;
	font-family:Iranian Sans;
}

.search-mag-btn {
    border: none;
    background: #ffe100;
    color: #000;
    padding: 0 25px;
    font-size: 20px;
    cursor: pointer;
    transition: background .3s;
}

.search-mag-btn:hover {
    background: #000;
	color:#fff;
}

.search-mag-close {
    position: absolute;
    top: -60px;
    right: 10px;
    font-size: 45px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    transition: transform .3s;
}

.search-mag-close:hover {
    transform: rotate(90deg);
}

.search-mag-error {
    margin-top: 15px;
    color:red;
    text-align: center;
    display: none;
	font-family:Iranian Sans;
	font-weight:bold;
}


.mag-head-title {
	border-right:5px solid #ffe100;
}



.gm-post-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.gm-thumb img {
	width: 85px;
    height: 65px !important;
    border-radius: 5px !important;
    display: block;
    aspect-ratio: 16 / 9;
	min-width:85px;
}

.gm-title a {
	text-decoration: none;
    font-weight: 600;
    line-height: 1.4;
    font-family: 'Iranian Sans';
    font-size: 12px;
    color: #333;
}

.gm-title a:hover {
    color: #000;
}



.gm-date {
  display: block;
  font-size: 11px;
  color: #888;
  margin-top: 6px;
font-family:Iranian Sans;
}





.dc-post-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.dc-thumb img {
	width: 85px;
    height: 65px !important;
    border-radius: 5px !important;
    display: block;
    aspect-ratio: 16 / 9;
	min-width:85px;
}

.dc-title a {
	text-decoration: none;
    font-weight: 600;
    line-height: 1.4;
    font-family: 'Iranian Sans';
    font-size: 12px;
    color: #333;
}

.dc-title a:hover {
    color: #000;
}



.financial-post-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.financial-thumb img {
	width: 85px;
    height: 65px !important;
    border-radius: 5px !important;
    display: block;
    aspect-ratio: 16 / 9;
	min-width:85px;
}

.financial-title a {
	text-decoration: none;
    font-weight: 600;
    line-height: 1.4;
    font-family: 'Iranian Sans';
    font-size: 12px;
    color: #333;
}

.financial-title a:hover {
    color: #000;
}





/* shopping cart icon on header */

.custom-cart-wrapper {
    position: relative;
    display: inline-block;
}

.custom-cart-icon {
    color: #fff;
    font-size: 22px;
    position: relative;
}

.custom-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ffe100;
    color: #000;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
    font-family: tahoma;
}

/* dropdown */

.custom-cart-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: -145px;
    width: 330px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    padding: 10px;
    z-index: 999;
    margin: 5px 0;
    border-radius: 8px;
}

.custom-cart-wrapper:hover .custom-cart-dropdown {
    display: block;
}

/* items list — EXACTLY 3 ROWS */

.cart-items {
    max-height: 144px;          /* 3 × 48px */
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 5px;
}

/* each item — fixed height */

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 48px;
    box-sizing: border-box;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.cart-item:last-child {
    border-bottom: none;
}

/* product name */

.cart-item a.item-name {
    color: #000;
    text-decoration: none;
    font-family: Iranian Sans;
    font-size: 11px;
    flex: 1;
    margin-left: 8px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* right side (price + remove) */

.item-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item .price {
    color: #333;
    white-space: nowrap;
    font-family: Iranian Sans;
    font-size: 11px;
}

/* remove button */

.remove-item-cart {
    color: #ff0000 !important;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    line-height: 1;
}

.remove-item-cart:hover {
    opacity: .7;
}

/* empty cart */

.cart-empty {
    text-align: center;
    padding: 12px;
    font-family: Iranian Sans;
    font-weight: bold;
    font-size: 12px;
}

.cart-empty i {
    font-size: 30px;
    margin-bottom: 10px;
    color: #999;
    display: block;
}

/* bottom buttons */

.cart-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.cart-btn {
    flex: 1;
    background: #000;
    color: #fff;
    text-align: center;
    padding: 8px 5px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 12px;
    font-family: Iranian Sans;
    transition: .2s;
}

.cart-btn:hover {
    background: #222;
}




/* icon memeber on header */
.member-fa-icon {
    color: #fff;
    font-size: 22px;
	padding-top:1px;
}


/* footer mag menu */
.footermg-toori a , .footermg-other a {
	font-family:Iranian Sans !important;
	font-size:10px;
}

/* darkmode elements */
/* حالت لایت */
.header-bottom {
  background-color: #fff;
}


.header-bottom.dark-bg {
  background-color: #0e1213
 !important;
}


/* حالت عادی (لایت مود) */
.scroll-item {
  color: inherit; /* یا هر رنگی که قبلاً داشتی */
}

/* دارک مود */
.dark-bg .scroll-item {
  color: #fff;
}


/* حالت لایت (پیش‌فرض) */
.nvosan-slider-item {
  color: inherit; /* یا رنگ فعلی خودت */
}

/* دارک مود */
.dark-bg .nvosan-slider-item {
  color: #fff;
}


/* حالت عادی */
.insta-story-label {
  color: inherit; /* یا رنگ پیش‌فرض خودت */
}

/* دارک مود */
.dark-bg .insta-story-label {
  color: #fff;
}
/* حالت عادی */
.dark-bg .tooran-title-main h2  {
  color: inherit; /* یا رنگ پیش‌فرض خودت */
}

/* دارک مود */
.dark-bg .tooran-title-main h2 , .dark-bg .faq-question {
  color: #000 !important;
}

/* حالت دارک مود */
.dark-bg .scroll-item,
.dark-bg .nvosan-slider-item,
.dark-bg .insta-story-label {
    color: #fff !important;
}


/* حالت دارک مود */

.dark-bg .turan-benefits-title , .dark-bg .product-unit-sp .pus-title , .product-instock-check .pic-title , .dark-bg .product-unit-sp .pus-value , .dark-bg .tooran-cart-empty {
    color: #fff !important;
}

/* حالت دارک مود */

.dark-bg .checkout_header i  , .dark-bg .checkout_header  {
    color: #fff !important;
}

/* حالت دارک مود */

.dark-bg .helptobuy-header p  {
    color: #fff !important;
}

/* حالت دارک مود */

.dark-bg .introduction-stat__number , .dark-bg .introduction-stat__label {

    color: #fff !important;
}
/* صفحه تک محصول حالت دارک مود */

.dark-bg .product-single-widgetbar .psw-item i {
    color:#fff;
}

.dark-bg .single-product-content-tabs .tab-item.active , .dark-bg .excerpt-single-product , .dark-bg .monthly-price-change {
        color:#fff !important;

}

.dark-bg .product-user-rated i , .dark-bg .product-user-rated .pur-average , .dark-bg .tooran-products-tags-icon , .dark-bg .single-product-content-tabs .tabs-content .tab-content
 {
    color:#fff !important;
}


.dark-bg .single-product-content-tabs .tab-item.active::after {
    background-color:#fff;
}

.dark-bg .single-product-content-tabs .tabs-header-divider {
    background-color: #888;
}

.dark-bg .related-post-title h2 {
color:#fff !important;
}

.dark-bg .tooran-cart-title  {
    color:#fff !important;
}

.dark-bg .tooran-cart-header i {
    color:#fff !important;
}

/* dark mode landing page */
.dark-bg .landing-pages-title h2 , .dark-bg .landing-pages-title h3 , .dark-bg .landing-pages-title h4 , .dark-bg .landing-pages-title a , .dark-bg .about-us-text-desc h2 {
	 color:#fff !important;
}

/* buttons title on 404 page */
.buttons-title span {
	font-family: Iranian Sans !important;
}


/* header ads banner */
.ads-fullbanner-wrapper{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.ads-fullbanner-image{
    max-width:100%;
    height:auto;
    display:block;
}


/* mega menu header style */
/* ============================= */
/* ========================= */
/*        DESKTOP ONLY       */
/* ========================= */

/* ===================================== */
/*        MEGA MENU - DESKTOP ONLY      */
/* ===================================== */

@media (min-width: 992px) {

    .tg-mega-menu {
        position: absolute;
		top: calc(100% - 65px);
        right: 0;
        width: 100%;
        max-width: 1600px;
        background: #fff;
        padding: 10px 30px;
        box-shadow: 0 30px 80px rgba(0,0,0,0.08);
        border-radius: 16px;
        display: none !important; /* 👈 کاملاً مخفی */
        opacity: 0;
        transform: translateY(25px);
        transition: opacity .35s cubic-bezier(.4,0,.2,1),
                    transform .35s cubic-bezier(.4,0,.2,1);
        z-index: 9999;
    }

	.tg-wrapper {
		position: absolute !important;
	}

    .tg-mega-menu.active {
        display: block !important; /* 👈 فقط هنگام hover */
        opacity: 1;
        transform: translateY(0);
    }

    /* حذف بولت پیشفرض */
    .tg-mega-list,
    .tg-mega-list li {
        list-style: none !important;
        margin: 0;
        padding: 0;
    }

    /* ساختار اصلی */
    .tg-mega-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        row-gap: 30px;
        column-gap: 40px;
        direction: rtl;
    }

    /* ستون‌هایی که زیرمنو دارند */
    .tg-mega-list > li.menu-item-has-children {
        flex: 1 1 160px;
        max-width: 220px;
        order: 1;
    }

    /* ستون آیتم‌های بدون زیرمنو (ستون آخر) */
    .tg-mega-list > li:not(.menu-item-has-children) {
        flex: 0 0 180px;
        order: 2;
    }

    /* تیتر لول 1 */
    .tg-mega-list > li > a {
        font-family: 'Iranian Sans';
        font-weight: 700;
        font-size: 16px;
        color: #000;
        text-decoration: none;
        display: flex;
        align-items: center;
        margin-bottom: 15px;
    }

    /* بولت مربعی زرد */
    .tg-mega-list > li > a::before {
        content: "";
        width: 8px;
        height: 8px;
        background: #f4c400;
        margin-left: 10px;
        display: inline-block;
        flex-shrink: 0;
    }

    /* زیرمنو */
    .tg-mega-list > li > ul {
        margin: 0;
        padding: 0;
    }

    .tg-mega-list > li > ul > li {
        margin-bottom: 8px;
    }

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

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

}


/* ===================================== */
/*              MOBILE OFF               */
/* ===================================== */

@media (max-width: 991px) {
    .tg-mega-menu {
        display: none !important;
    }

	.tg-wrapper {
		display: none !important;
	}
}

/*
#searchbox-modal-footer {
	display: none;
}
*/



/* header layout settings on desktop mode 
#headertop1 {
	display:flex !important;
	justify-content: center !important;
}



#header-middle {
display:flex !important;
justify-content: center !important;	
flex: 1 1 ;
padding:0 20px;
}

*/


/* tooltip style */
/* استایل تولتیپ المنتور */
.custom-tooltip {
  position: absolute;
  background-color: #333;
  color: #fff;
  padding: 5px 8px;
  border-radius: 4px;
  font-size: 10px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 9999;
  font-family: Iranian Sans, Artal , sans-serif;
  display:none;
}

.custom-tooltip.show {
  opacity: 1;
  display:block;
}

@media (max-width: 768px) {
  .custom-tooltip {
    display: none;
  }
}


/* single post mag font style */
.post-mag-content {
font-family: Iranian Sans !important;
font-size:13px !important;
}

.mag-post-title h1 {
font-family: Iranian Sans !important;
}




/* easy table of content style customize */
div#ez-toc-container p.ez-toc-title
 {
    direction: rtl;
    float: right;
	font-weight: bold;
	margin: 0 10px;
}


#ez-toc-container li, #ez-toc-container ul, #ez-toc-container ul li, .ez-toc-widget-container, .ez-toc-widget-container li {
    line-height: 2.5;
}

.ez-toc-title-container {
	margin-bottom: 10px;
}

.ez-toc-title, .ez-toc-title-toggle {
	float:left;
	display:block !important;
}

#ez-toc-container {
	width:100% !important;
}


/* sidebar ads style */
body.single-post .mag-ad-item {
margin: 0 !important;
padding: 0 5px 5px !important;
}

@media (min-width: 768px) {
    .elementor-12455 .elementor-element.elementor-element-162e5bf {
        padding: 0 5px 10px !important;
    }
}


/* custom breadcrumb */
.custom-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.custom-breadcrumb .breadcrumb-item {
    background: #ffffff;
    border: 1px solid #e0e0e2;
    border-radius: 5px;
    padding: 5px 7px;
}

.custom-breadcrumb .breadcrumb-item a {
    text-decoration: none;
    color: #6a6a6a;
	font-family: Iranian Sans;
    font-size: 11px;
}

.custom-breadcrumb .breadcrumb-separator i {
    font-size: 12px;
    color: #6a6a6a;
}



/* single post views on mag */
.single-post-views {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #fff;
    font-family: Iranian Sans;
    position: absolute;
    top: -45px;
    right: 20px;
	background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 5px;
}

.single-post-views i {
    font-size: 14px;
}


/* tooran tags */
.tooran-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
	padding: 20px 10px;
    margin: 20px 0 10px;
}

.tooran-tags .tooran-tag-item {
    background: #ffffff;
    border: 1px solid #e0e0e2;
    padding: 5px;
    border-radius: 5px;
}

.tooran-tags .tooran-tag-item a {
    text-decoration: none;
    color: #6a6a6a;
    font-size: 13px;
	font-family: Iranian Sans;
}

.tooran-tags-icon {
    display: flex;
    align-items: center;
    font-size: 20px;
    color: #6a6a6a;
    margin-left: 5px; /* فاصله از تگ‌ها در حالت RTL */
}


/* tooran product tags */
.tooran-products-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    padding: 20px 10px;
    margin: 0 0 10px;
}

.tooran-products-tags .tooran-products-tag-item {
    background: #ffffff;
    border: 1px solid #e0e0e2;
    padding: 5px;
    border-radius: 5px;
}

.tooran-products-tags .tooran-products-tag-item a {
    text-decoration: none;
    color: #6a6a6a;
    font-size: 11px;
    font-family: Iranian Sans;
}

.tooran-products-tags-icon {
    display: flex;
    align-items: center;
    font-size: 20px;
    color: #000;
    margin-left: 5px; /* RTL spacing */
}


/* share post */
.tooran-share {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
	margin: 0px 10px 20px;
}

.share-item {
    border-radius: 6px;
    padding: 6px 10px;
}

.share-item a,
.share-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 11px;
    text-decoration: none;
    cursor: pointer;
	font-family: 'Iranian Sans';
    font-weight: 500;
}

.share-item i {
    font-size: 14px;
}

.share-item img {
    width: 14px;
    height: 14px;
}

/* رنگ‌ها */
.whatsapp { background: #25D366; }
.telegram { background: #0088cc; }
.x        { background: #000000; }
.linkedin { background: #0b63bd; }
.copy-link{ background: #6a6a6a; }




/* five related single posts on mag */

.five-related-single-post {
    display: flex;
    flex-direction: column;
    font-family: 'Iranian Sans';
    font-size: 13px;
    color: #333;
    padding: 25px 10px;
}

/* هر آیتم */
.related-post-item {
    padding: 20px 0;
}

/* لینک */
.five-related-single-post .related-post-item a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.five-related-single-post .related-post-item a:hover {
    color: #000; 
}

/* بولت زرد */
.five-related-single-post .related-bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #FFD700;
    flex-shrink: 0;
}

/* دیوایدر */
.related-divider {
    border: none;
    border-top: 1px solid #f1f1f1;
    margin: 0;
}

/* عنوان‌های احتمالی */
.related-post-title h2 {
    font-family: Iranian Sans !important;
}

.related-post-title-table {
    border-right: 5px solid #FFD700;
    margin: 10px 10px 0;
}


/* random posts on mag */

.tooran-random-posts {
    display: flex;
    flex-direction: column;
}

/* هر آیتم */
.random-post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
}

/* تصویر */
.random-post-thumb {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.random-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* عنوان */
.random-post-title {
    flex: 1;
}

.random-post-title a {
    text-decoration: none;
    color: #333;
    font-family: 'Iranian Sans';
    font-size: 12px;
    transition: color 0.3s ease;
}

.random-post-title a:hover {
    color: #000;
}

/* دیوایدر */
.random-divider {
    width: 100%;
    border: none;
    border-top: 1px solid #f1f1f1;
    margin: 0;
}

/* استیکی */
#right-side-random-posts  {
    position: sticky;
    top: 20px;
}

#left-side-ads-mag {
    position: sticky;
    top: 20px;
}

#lastpost-sidebar {
    position: sticky;
    top: 20px;
}

#leftside-category-ads {
	position: sticky;
    top: 20px;
}

#leftside-sr-ads {
	position: sticky;
    top: 20px;
}

#author-rightside {
	position: sticky;
    top: 20px;	
}

#author-leftside {
	position: sticky;
    top: 20px;	
}

#tag-rightsidebar {
	position: sticky;
    top: 20px;	
}

#tag-leftsidebar {
	position: sticky;
    top: 20px;
}

#leftside-ad-ptag {
	position: sticky;
    top: 20px;
}

#recomended-ptag-post {
	position: sticky;
    top: 20px;
}

#sidebarcategory-archive {
position: sticky;
    top: 20px;
}


/* show date on single post */
.showdate-singlepost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: Iranian Sans;
    font-size: 12px;
    color: #444;
}

.showdate-singlepost i {
    font-size: 14px;
    color: #888;
}

.showdate-singlepost:hover i {
    color: #000;
    transition: 0.3s;
}


/* reading time single post */
.readingtime-singlepost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: Iranian Sans;
    font-size: 12px;
    color: #444;
}

.readingtime-singlepost i {
    font-size: 14px;
    color: #888;
}

.readingtime-singlepost:hover i {
    color: #000;
    transition: 0.3s;
}




/* comments style */
.custom-comment-wrapper {
    font-family: Iranian Sans;
    max-width: 100%;
}

.comment-note {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
}

.custom-comment-wrapper textarea,
.custom-comment-wrapper input[type="text"],
.custom-comment-wrapper input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-family: Iranian Sans;
    font-size: 14px;
    transition: all 0.3s ease;
}

.custom-comment-wrapper textarea {
    height: 130px;
    resize: vertical;
    margin-bottom: 20px;
}

.custom-comment-wrapper textarea:focus,
.custom-comment-wrapper input:focus {
    border-color: #000;
    outline: none;
}

.custom-comment-wrapper ::placeholder {
    font-family: Iranian Sans;
    color: #999;
}

/* ردیف نام و ایمیل */
.comment-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.field-group {
    flex: 1;
}

.field-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
}

.field-group label span {
    color: red;
}

/* چک باکس سفارشی */
.custom-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 13px;
    margin-bottom: 20px;
    position: relative;
}

.custom-checkbox input {
    display: none;
}

.custom-checkbox .checkmark {
    width: 18px;
    height: 18px;
    border: 1px solid #000;
    border-radius: 4px;
    margin-left: 8px;
    position: relative;
}

.custom-checkbox input:checked + .checkmark::after {
    content: "✓";
    position: absolute;
    top: -2px;
    right: 3px;
    font-size: 14px;
    color: #000;
}

/* دکمه */
.custom-comment-wrapper button {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    cursor: pointer;
    font-family: Iranian Sans;
    font-size: 14px;
    transition: 0.3s;
}

.custom-comment-wrapper button:hover {
    opacity: 0.85;
}

/* پیام‌ها */
.success-msg {
    background: #e6f4ea;
    color: #1e7e34;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
}

.error-msg {
    background: #ffdddd;
    color: #a30000;
    padding: 12px;
    border-radius: 8px;
    margin-top: 15px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .comment-row {
        flex-direction: column;
    }
}




/* ===== Comment List Style ===== */

.comment-list {
    font-family: Iranian Sans;
	font-size: 12px;
}

/* باکس هر کامنت */
.comment-list .comment {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
	margin-top: 20px;
}

/* آواتار دایره‌ای */
.comment-list .avatar {
    border-radius: 50%;
}

/* نام نویسنده */
.comment-list .comment-author {
    font-family: Iranian Sans;
    font-weight: bold;
    margin-bottom: 5px;
}

/* تاریخ و زمان */
.comment-list .comment-metadata,
.comment-list .comment-metadata a {
    font-family: Iranian Sans;
    color: #000;
    font-size: 13px;
}

/* متن کامنت */
.comment-list .comment-content {
    font-family: Iranian Sans;
    color: #000;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.8;
}

/* لینک پاسخ */
.comment-list .reply a {
    background: #999;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-family: Iranian Sans;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
    transition: 0.3s;
}

.comment-list .reply a:hover {
    background: #777;
}

/* لینک ویرایش */
.comment-list .edit-link a {
    font-family: Iranian Sans;
    color: #000;
    font-size: 13px;
    margin-right: 10px;
    text-decoration: none;
}


.comment-meta.commentmetadata a {
    color: #000;
    font-size: 10px;
}

.comment-author.vcard {
    font-size: 16px;
}

.comment-login-required {
    font-family: Iranian Sans;
    font-size: 12px;
    font-weight: bold;
    color: #000;
    padding-bottom: 20px;
}







/*last 5 posts for mag sidebar */
.last-five-post-on-mag {
    display: flex;
    flex-direction: column;
}

/* هر آیتم */
.last-five-post-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
}

/* تصویر */
.last-five-post-thumb {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.last-five-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* عنوان */
.last-five-post-title {
    flex: 1;
}

.last-five-post-title a {
    text-decoration: none;
    color: #333;
    font-family: 'Iranian Sans';
    font-size: 12px;
    transition: color 0.3s ease;
}

.last-five-post-title a:hover {
    color: #000;
}

/* دیوایدر */
.last-five-divider {
    width: 100%;
    border: none;
    border-top: 1px solid #f1f1f1;
    margin: 0;
}



/* post archieve on mag */
.tooran-archive-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    font-family: Iranian Sans;
}

.tooran-archive-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
    overflow: hidden; /* جلوگیری از بیرون زدن محتوا */
}

/* تصویر سمت راست */
.tooran-archive-thumb {
    width: 220px;
    height: 160px; /* ارتفاع ثابت */
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.tooran-archive-thumb img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    border-radius: 0; /* فقط wrapper ریدوس دارد */
}

/* محتوای سمت چپ */
.tooran-archive-content {
    flex: 1;
    min-width: 0; /* مهم برای کار کردن ellipsis داخل flex */
}

/* عنوان */
.tooran-archive-title {
    font-size: 20px;
    margin: 0 0 8px 0;
}

.tooran-archive-title a {
    text-decoration: none;
    color: #000;
    font-family: Iranian Sans;
    font-size: 18px;
    display: block;
    white-space: nowrap;      /* جلوگیری از رفتن به خط دوم */
    overflow: hidden;         /* مخفی کردن متن اضافی */
    text-overflow: ellipsis;  /* سه نقطه */
}

/* تاریخ */
.tooran-archive-date {
    font-size: 10px;
    color: #888;
    margin: 10px 0;
    font-family: Iranian Sans;
}

/* خلاصه مطلب */
.tooran-archive-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* فقط دو خط */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.8; /* فاصله خطوط بیشتر */
    font-size: 13px;
    margin-bottom: 15px;
	width: 100%;
}

/* فوتر پایین */
.tooran-archive-footer {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* دکمه ادامه مطلب */
.tooran-readmore-btn {
    background: #000;
    color: #fff;
    padding: 8px 18px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 11px;
    font-family: Iranian Sans;
    transition: 0.3s;
}

.tooran-readmore-btn:hover {
    opacity: 0.85;
}

/* کامنت */
.tooran-archive-comments {
    font-size: 11px;
    color: #888;
    font-family: Iranian Sans;
    margin-right: 10px;
}

.tooran-archive-meta {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .tooran-archive-item {
        flex-direction: column;
    }

    .tooran-archive-thumb {
        width: 80px;
        height: 80px;
    }
}


/* ================= Pagination ================= */

.tooran-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    direction: rtl;
}

.tooran-page-number,
.tooran-page-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.08) !important;
    font-family: Iranian Sans;
    font-size: 14px;
    transition: 0.3s;
	font-weight:bold;
}

.tooran-page-number:hover,
.tooran-page-arrow:hover {
    background: #000;
    color: #fff;
}

.tooran-page-number.active {
    background: #ffe100;
    color: #000;
}

.tooran-page-number:not(a) {
    pointer-events: none;
}


/* author post */
.author-post {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Iranian Sans', sans-serif;
    direction: rtl; /* برای اینکه آواتار سمت راست باشه و متن سمت چپ */
	margin-right:5px;
}

.author-post .author-avatar img {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    opacity: 0.7;
}

.author-post .author-info {
    text-align: right;
    flex: 1;
}

.author-post .author-name {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
	font-family: Iranian Sans !important;
}

.author-post .author-name a {
    text-decoration: none;
    color: #6a6a6a;
	font-size:12px;
}

.author-post .author-name a:hover {
    color: #000;
}



/* tooran author post page */
.tooran-author-post {
    display: flex;
    flex-direction: column; /* هر ردیف فقط یک پست */
    gap: 30px;
    font-family: Iranian Sans;
}

.tooran-author-post-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
    overflow: hidden;
}

.tooran-author-post-thumb {
    width: 220px;
    height: 160px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.tooran-author-post-thumb img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.tooran-author-post-content {
    flex: 1;
    min-width: 0;
}

.tooran-author-post-title {
    font-size: 18px;
    margin: 0 0 8px 0;
}

.tooran-author-post-title a {
    text-decoration: none;
    color: #000;
    font-family: Iranian Sans;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tooran-author-post-meta {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
	margin-top:20px;
}

.tooran-author-post-date,
.tooran-author-post-comments {
    font-size: 10px;
    color: #888;
}

.tooran-author-post-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* تا ۳ خط با ... */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.8;
    font-size: 13px;
    margin-bottom: 15px;
}

.tooran-readmore-btn {
    background: #000;
    color: #fff;
    padding: 8px 18px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 12px;
    font-family: Iranian Sans;
    transition: 0.3s;
}

.tooran-readmore-btn:hover {
    opacity: 0.85;
}

/* pagination */
.tooran-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    direction: rtl;
}

.tooran-page-number,
.tooran-page-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.08);
    font-family: Iranian Sans;
    font-size: 14px;
    font-weight: bold;
    transition: 0.3s;
}

.tooran-page-number:hover,
.tooran-page-arrow:hover {
    background: #000;
    color: #fff;
}

.tooran-page-number.active {
    background: #ffe100;
    color: #000;
}

/* responsive */
@media (max-width: 768px) {
    .tooran-author-post-item {
        flex-direction: column;
        gap: 15px;
        padding-bottom: 20px;
    }

    .tooran-author-post-thumb {
        width: 100%;
        height: 180px;
    }

    .tooran-author-post-title a {
        font-size: 16px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tooran-author-post-meta {
        gap: 10px;
        flex-wrap: wrap;
    }

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

    .tooran-author-post-excerpt {
        font-size: 13px;
    }

    .tooran-readmore-btn {
        font-size: 11px;
        padding: 7px 16px;
    }

    .tooran-page-number,
    .tooran-page-arrow {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}


/* tooran tags post on mag */
/* post archive on tag */
.tooran-tags-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    font-family: Iranian Sans;
}

.tooran-tags-item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    border-bottom: 1px solid #eee;
    padding-bottom: 25px;
    overflow: hidden;
}

.tooran-tags-thumb {
    width: 220px;
    height: 160px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
}

.tooran-tags-thumb img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

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

.tooran-tags-title {
    font-size: 20px;
    margin: 0 0 8px 0;
}

.tooran-tags-title a {
    text-decoration: none;
    color: #000;
    font-family: Iranian Sans;
    font-size: 18px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tooran-tags-date, .tooran-tags-comments {
    font-size: 10px;
    color: #888;
    font-family: Iranian Sans;
}

.tooran-tags-meta {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.tooran-tags-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.8;
    font-size: 13px;
    margin-bottom: 15px;
}

.tooran-tags-readmore-btn {
    background: #000;
    color: #fff;
    padding: 8px 18px;
    text-decoration: none;
    border-radius: 6px;
    font-size: 11px;
    font-family: Iranian Sans;
    transition: 0.3s;
}

.tooran-tags-readmore-btn:hover {
    opacity: 0.85;
}

/* Pagination */
.tooran-tags-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    direction: rtl;
}

.tooran-tags-page-number,
.tooran-tags-page-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.08) !important;
    font-family: Iranian Sans;
    font-size: 14px;
    transition: 0.3s;
    font-weight: bold;
}

.tooran-tags-page-number:hover,
.tooran-tags-page-arrow:hover {
    background: #000;
    color: #fff;
}

.tooran-tags-page-number.active {
    background: #ffe100;
    color: #000;
}

.tooran-tags-page-number:not(a) {
    pointer-events: none;
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .tooran-tags-item {
        flex-direction: column;
        gap: 15px;
        padding-bottom: 20px;
    }

    .tooran-tags-thumb {
        width: 100%;
        height: 180px;
    }

    .tooran-tags-title a {
        font-size: 15px;
        line-height: 1.6;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tooran-tags-meta {
        gap: 15px;
        flex-wrap: wrap;
    }

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

    .tooran-tags-excerpt {
        font-size: 12px;
        line-height: 1.9;
        -webkit-line-clamp: 2;
    }

    .tooran-tags-readmore-btn {
        font-size: 11px;
        padding: 7px 16px;
    }

    .tooran-tags-page-number,
    .tooran-tags-page-arrow {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
}



/* Product Breadcrumb */
.product-breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    direction: rtl;
	margin-bottom:10px;
}

.product-breadcrumb-item {
    background: #ffffff;
    border: 1px solid #e0e0e2;
    border-radius: 5px;
    padding: 5px 8px;
}

.product-breadcrumb-item a {
    text-decoration: none;
    color: #6a6a6a;
    font-family: Iranian Sans;
    font-size: 11px;
}

/* آخرین آیتم (نام محصول) بدون بوردر و بکگراند */
.product-breadcrumb-item.active {
    background: transparent;
    border: none;
    padding: 0;
    color: #000;
    font-family: Iranian Sans;
    font-size: 11px;
}

.product-breadcrumb-separator i {
    font-size: 12px;
    color: #6a6a6a;
}



/* single product page */
/* product picture frame */
/* =========================
   Main Image (صفحه محصول)
========================= */

.product-picture-single {
    max-width: 600px;
}

/* کارت برای عکس اصلی محصول */
/* کارت عکس اصلی محصول */
.pps-main-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    cursor: pointer;

    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.2);
    transition: all .3s ease;
}

/* تصویر کامل کارت را بپوشاند */
.pps-main-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
	padding:10px;
}

/* افکت ملایم هاور */
.pps-main-image:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.pps-main-image:hover img {
    transform: scale(1.04);
}





/* گالری زیر عکس - وسط چین */
.pps-thumbs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center; /* ← وسط چین شد */
	margin: 35px 0;
}

.pps-thumb {
    width: 90px;
    height: 90px;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
}

.pps-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	padding:5px;
}


/* =========================
   Modal
========================= */

.pps-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,1);
    justify-content: center;
    align-items: center;
    z-index: 999999;
    flex-direction: column;
}

/* عکس اصلی وسط صفحه و بزرگ */
/* تصویر بزرگ داخل مودال - خیلی بزرگتر */
.pps-modal-image {
    width: 40%;
    height: auto;
    max-width: 1100px;   /* بزرگتر از 700 */
    max-height: 85vh;    /* نزدیک به ارتفاع صفحه */
    object-fit: contain;
	border-radius: 10px !important;
}

/* تامبنیل های مودال بزرگتر */
.pps-modal-thumbs {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

.pps-modal-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    opacity: .6;
    border-radius: 6px;
    transition: .2s ease;
}

.pps-modal-thumb.active {
    opacity: 1;
    border: 2px solid #fff;
}


/* =========================
   Close Button
========================= */

/* ضربدر بالا سمت چپ صفحه */
/* ضربدر مینیمال بدون بک گراند */
.pps-close {
    position: fixed;
    top: 30px;
    left: 30px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    z-index: 9999999;
    padding: 0;
    line-height: 1;
}

.pps-close:hover {
    opacity: 0.7;
}


/* =========================
   Navigation Arrows
========================= */

/* فلش ها سمت راست و چپ صفحه */
.pps-prev,
.pps-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    font-size: 28px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999999;
}

/* جابجا شدن جای فلش ها */
.pps-prev {
    left: 30px; /* ← رفت سمت راست صفحه */
}

.pps-next {
    right: 30px; /* ← رفت سمت چپ صفحه */
}


/* عنوان محصول داخل مودال */
.pps-modal-title {
    position: fixed;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: Iranian Sans;
    font-weight: bold;
    font-size: 22px;
    text-align: center;
    z-index: 9999998;
}


/* Product Category Breadcrumb */

.psc-breadcrumb {
    font-family: Iranian Sans;
    font-size: 13px;
}

.psc-breadcrumb a {
    color: #928f8f;
    text-decoration: none;
    transition: .2s ease;
}

.psc-breadcrumb a:hover {
    opacity: .7;
}

.psc-separator {
    color: #999;
    margin: 0 6px;
}

.product-title-singleproduct h1 {
	font-family: Iranian Sans !important;
}

.product-title-singleproduct h2 {
font-family: Iranian Sans !important;
}


/* Product Instock Check */

.product-instock-check {
    font-family: Iranian Sans;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-instock-check .pic-title {
    color: #333;
    font-weight: 500;
	font-size:13px;
}

.product-instock-check .pic-status {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* آیکن */
.product-instock-check .pic-icon {
    font-size: 16px;
}

/* موجود */
.product-instock-check .in-stock {
    color: #28a745;
	font-size:12px;
}

/* ناموجود */
.product-instock-check .out-of-stock {
    color: #dc3545;
	font-size:13px;
}

/* به زودی */
.product-instock-check .coming-soon {
    color: #3ec6ff;
}


/* Product Unit Shortcode - بدون دیوایدر */
.product-unit-sp {
    font-family: Iranian Sans;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-unit-sp .pus-title {
    font-weight: 500;
    color: #333;
	font-family: Iranian Sans;
	font-size:13px;
}

.product-unit-sp .pus-value {
    font-weight: 600;
    color: #333;
	font-family: Iranian Sans;
	font-size:13px;
}

/* Product User Rated Interactive + Average */
.product-user-rated {
    font-family: "Font Awesome 5 Free";
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.product-user-rated .pur-stars {
    display: flex;
    gap: 4px;
}

.product-user-rated i {
    color: #000;
    display: inline-block;       /* اطمینان از بلوک هم‌راستا */
    width: 1em;                  /* تمام ستاره‌ها عرض یکسان */
    text-align: center;           /* مرکز چین کردن ستاره‌ها */
    line-height: 1;               /* جلوگیری از جابه‌جایی عمودی */
    vertical-align: middle; }

/* ستاره کامل */
.product-user-rated .full-star {
    font-weight: 900;
}

/* ستاره نصفه */
.product-user-rated .half-star {
    font-weight: 900;
	 width: 1em;
}

/* ستاره خالی */
.product-user-rated .empty-star {
    font-weight: 400;
}

/* عدد میانگین */
.product-user-rated .pur-average {
    font-family: Iranian Sans;
    font-weight: 600;
    font-size: 16px;
    color: #333 !important;
    margin-left: 6px;
}

/* ریسپانسیو موبایل */
@media (max-width: 768px){
    .product-user-rated {
        font-size: 20px;
        gap: 6px;
    }
    .product-user-rated .pur-average {
        font-size: 14px;
    }
}


.product-user-rated i.fas,
.product-user-rated i.far,
.product-user-rated i.half-star {
    line-height: 1 !important;      /* اطمینان از خط ارتفاع ثابت */
    vertical-align: middle !important; /* هم‌راستا کردن عمودی */
}

/* جلوگیری کامل از پرش عمودی هنگام هاور */
.product-user-rated {
    line-height: 1;
}

.product-user-rated .pur-stars {
    align-items: center;
    height: 1.2em;   /* ارتفاع ثابت برای جلوگیری از reflow */
}

.product-user-rated i {
    position: relative;
    top: 0;
}

/* راست‌چین کردن سیستم امتیاز برای سایت فارسی */
.product-user-rated .pur-stars {
    direction: rtl;
}

/* برعکس کردن نیم ستاره */
.product-user-rated .half-star {
    transform: scaleX(-1);
}


/* tooran product comments */
.tooran-product-comments {
    background-color: #f0f0f1;
    border-radius: 20px;
    font-family: 'Iranian Sans', sans-serif;
    padding: 6px 12px;
    display: inline-block;
    color: #424750;
    font-size: 11px;
	font-weight:500;
	cursor:pointer;
}



/* product like user */
.product-like-user {
    background-color: #f0f0f1;
    border-radius: 20px;
    font-family: 'Iranian Sans', sans-serif;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #424750;
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
}

.product-like-user .like-icon {
    font-size: 13px;
}

.product-like-user.liked .like-icon {
    color: #000;
}



/* product single widgetbar */
.product-single-widgetbar {
    position: absolute;
    top: 0px;
    right: 0px;
    padding: 10px 5px;
    border-radius: 12px;
    z-index: 99;
}

.product-single-widgetbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.product-single-widgetbar li {
    margin: 25px 0;
    text-align: center;
}

.product-single-widgetbar .psw-item {
    position: relative;
    display: inline-block;
    color: #000000;
    font-size: 18px;
    text-decoration: none;
}

.product-single-widgetbar .psw-item i {
    color: #000000;
}

/* Tooltip */
.product-single-widgetbar .psw-item::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 35px;
    top: 50%;
    transform: translateY(-50%);
    background: #3f4064;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-size: 13px;
    font-family: 'Iranian Sans', sans-serif;
}

.product-single-widgetbar .psw-item:hover::after {
    opacity: 1;
    visibility: visible;
}

.fa-solid.fa-list  {
transform:scaleX(-1);
}


/* share product in single product page */
.psw-share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.4); /* نیمه شفاف */
    backdrop-filter: blur(5px); /* بلور بک‌گراند */
    -webkit-backdrop-filter: blur(5px); /* برای مرورگرهای وبکیت */
    z-index: 9999999;
}
.psw-share-modal-content {
    position:absolute; top:50%; left:50%;
    transform:translate(-50%,-50%);
    background:#fff; border-radius:10px; padding:20px; width:450px;
    font-family: 'Iranian Sans', sans-serif; color:#000;
}
.psw-share-modal-header {
    display:flex; justify-content:space-between; align-items:center;
    font-weight:bold; font-size:16px;    padding: 10px;
}
.psw-share-modal-close { cursor:pointer; font-size:20px; }
.psw-share-modal hr { margin:10px 0; border:1px solid #ddd; }
.psw-share-modal-text { text-align:right; margin-bottom:15px;   padding: 10px;}
.psw-copy-btn {
    display:flex; justify-content:center; align-items:center;
    width:90%; margin:0 auto; padding:10px; font-size:12px;
    border:none; border-radius:5px; cursor:pointer;font-weight:bold;
    background:#3f4064; color:#fff; gap:8px;font-family:Iranian Sans;
}
.psw-copy-btn i { color:#fff; }



/* show price chart modal */
.psw-price-modal {
    position: fixed;
    top: 0; left: 0; right:0; bottom:0;
    background: rgba(0,0,0,0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.psw-price-modal-content {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.psw-price-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Iranian Sans', sans-serif;
}

.psw-price-modal-close {
    cursor: pointer;
    font-size: 22px;
}


/* conter product share by users on single product */
/* share counter by users */
.counter-share-by-users {
    background-color: #f0f0f1;
    border-radius: 20px;
    font-family: 'Iranian Sans', sans-serif;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #424750;
    font-size: 11px;
    font-weight: 500;
}

.counter-share-by-users i {
    font-size: 12px;
}



/* excerpt single product */

.excerpt-single-product {
	font-family: Iranian Sans;
	font-size:12px;
	display: -webkit-box;
  -webkit-line-clamp: 3;   /* تعداد خطوط */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height:34px;
}


body.single-product .turan-benefits-title {
    display: none;
}


/* price box on single product */
.pricebox-singleproduct {
    background: #f7f7f7;
    border: 1px solid #e0e0e2;
    border-radius: 10px;
    padding: 15px;
    font-family: 'Iranian Sans', sans-serif;
    direction: rtl;
	max-width:95%;
}

.pricebox-singleproduct .header-box {
    text-align: right;
    font-weight: bold;
    margin-bottom: 5px;
}

.pricebox-singleproduct .shop-info {
    text-align: right;
    font-family: 'Iranian Sans';
    margin-bottom: 25px;
	padding-top: 20px;
}

.pricebox-singleproduct .shop-info i {
    margin-left: 5px;
}

.pricebox-singleproduct hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 10px 0;
}

.pricebox-singleproduct .price-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.pricebox-singleproduct .price-label {
    font-weight: bold;
	font-size:13px;
}

.pricebox-singleproduct .price-values {
    text-align: right;
	font-weight: bold;
}

.pricebox-singleproduct .old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 0.9em;
    top: -10px;
    position: relative;
    right: -20px;
}

.pricebox-singleproduct .sale-price {
    color: #000;
    font-size: 1.1em;
    font-weight: bold;
}

.pricebox-singleproduct .discount-badge {
    position: absolute;
    left: 0;
    top: 5px;
    background: red;
    color: #fff;
    font-weight: bold;
    padding: 2px 9px;
    border-radius: 15px;
    font-size: 13px;
    width: 40px;
}

/* دکمه افزودن به سبد خرید */
.pricebox-singleproduct .add-to-cart-wrapper {
    text-align: center;
    margin-top: 10px;
}

.pricebox-singleproduct .custom-add-to-cart {
    display: inline-block;
    width: 100%;
    background-color: #ffe100;
    color: #000;
    font-family: 'Iranian Sans', sans-serif;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    padding: 15px 0;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s;
}

.pricebox-singleproduct .custom-add-to-cart:hover {
    background-color: #ffd500;
}

.pricebox-float {
	position: sticky !important;
    top: 50px;           /* فاصله از بالای صفحه */
}

.left-sidebar-sp {
    display: flex !important;
    flex-direction: column; /* فرزندها عمودی شوند */
    align-items: flex-start; /* چیدمان فرزندها */
    position: relative;      /* برای sticky فرزند */
}

.price-section {
	padding-top:20px;
}


/* consultation section */
.pricebox-singleproduct .consultation-wrapper {
    font-family: 'Iranian Sans', sans-serif;
    font-size: 11px;
    color: #333;
}

/* هدر */
.pricebox-singleproduct .consultation-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: bold;
    font-size: 13px;
    margin-bottom: 10px;
}

.pricebox-singleproduct .consultation-title a {
    text-decoration: none;
    color: #333;
}

/* آیتم ها */
.pricebox-singleproduct .consultation-item {
    margin-bottom: 8px;
}

.pricebox-singleproduct .consultation-item a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #333;
    font-size: 12px;
	padding-top:10px;
}

.pricebox-singleproduct .consultation-item a:hover {
    opacity: 0.8;
}

/* consultation header row مثل shipping */
.pricebox-singleproduct .consultation-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.pricebox-singleproduct .consultation-right {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: bold;
    font-size: 13px;
}

.pricebox-singleproduct .consultation-right a {
    text-decoration: none;
    color: #333;
}

.pricebox-singleproduct .consultation-left i {
    font-size: 14px;
    color: #333;
}


/* guarantee section */
.pricebox-singleproduct .guarantee-wrapper {
    margin-top: 20px;
    text-align: right;
}

.pricebox-singleproduct .guarantee-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Iranian Sans', sans-serif;
    font-size: 12px;
    color: #333;
    text-decoration: none;
}

.pricebox-singleproduct .guarantee-link i {
    font-size: 14px;
    color: #333;
}

.pricebox-singleproduct .guarantee-link:hover {
    opacity: 0.8;
}


/* divider */
.pricebox-singleproduct .pricebox-divider {
    margin: 15px 0;
    border: none;
    border-top: 1px solid #e0e0e2;
}

/* shipping section */
.pricebox-singleproduct .shipping-wrapper {
    font-family: 'Iranian Sans', sans-serif;
    font-size: 12px;
    color: #333;
}
.shipping-right i {
    transform: scaleX(-1);
}

/* ردیف اول */
.pricebox-singleproduct .shipping-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.pricebox-singleproduct .shipping-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pricebox-singleproduct .shipping-left i {
    font-size: 14px;
    color: #333;
}

/* آیتم ها */
.pricebox-singleproduct .shipping-item {
    margin-bottom: 8px;
}

.pricebox-singleproduct .shipping-item a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #333;
	font-weight: normal;
    font-size: 12px; /* کمی کوچک‌تر از هدر */
	padding-top:10px;
}

/* هدر روش و هزینه ارسال */
.pricebox-singleproduct .shipping-header span {
    font-weight: bold;
    font-size: 13px; /* کمی بزرگ‌تر */
}


.pricebox-singleproduct .shipping-item a:hover {
    opacity: 0.8;
}

/* دات زرد */
.pricebox-singleproduct .yellow-dot {
    width: 6px;
    height: 6px;
    background-color: #ffe100;
    border-radius: 50%;
    display: inline-block;
}


/* دکمه قرمز حالت ناموجود */
.notify-me-button {
    background-color: #ef4056;
    color: #fff;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 15px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size:13px;
    width:100%;
}

.notify-me-button:hover {
    background-color: #ef4056;
}




/* statistics single product */
.stc-single-product {
    font-family: 'Iranian Sans', sans-serif;
    color: #333;
    position: relative;
    overflow: hidden;
    height: 40px;
	font-weight:500;
}

.statictics_single_product {
    position: relative;
    height: 40px;
}

.stc-item {
    position: absolute;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    direction: rtl;
    padding-top:20px;

    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s ease;
}

/* ورود از پایین */
.stc-item.enter {
    opacity: 0;
    transform: translateY(100%);
}

/* حالت نمایش وسط */
.stc-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* خروج به بالا */
.stc-item.exit {
    opacity: 0;
    transform: translateY(-100%);
}

.stc-item i {
    font-size: 12px;
    margin-left: 5px;
    color: #333;
    transform: scaleX(-1);
}


/* single product content tabs */
.single-product-content-tabs {
    font-family: 'Iranian Sans', sans-serif;
    direction: rtl;
}

.single-product-content-tabs .tabs-header {
    display: flex;
    gap: 20px;
}

.single-product-content-tabs .tab-item {
    cursor: pointer;
    padding: 10px 0;
    color: #888;
    font-weight: normal;
    position: relative;
	font-size:14px;
}

.single-product-content-tabs .tab-item.active {
    color: #000;
    font-weight: bold;
}

.single-product-content-tabs .tabs-header-divider {
    width: 100%;
    height: 2px; /* می‌توانی 3px هم بزاری */
    background-color: #e1e1e1;
    margin-bottom: 15px;
}

/* خط زیر تب فعال */
.single-product-content-tabs .tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    left: 0;
    height: 3px;
    background-color: #000;
}

/* محتواها */
.single-product-content-tabs .tabs-content .tab-content {
    display: none;
}

.single-product-content-tabs .tabs-content .tab-content.active {
    display: block;
}

/* لیست مشخصات */
.single-product-content-tabs .product-attributes {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-product-content-tabs .product-attributes li {
    margin-bottom: 5px;
}

/* تب‌ها - محتوا */
.single-product-content-tabs .tabs-content .tab-content {
    display: none;
    font-size: 0.8em;       /* سایز فونت کوچک‌تر */
    font-weight: 400;      /* وزن نرمال */
    line-height: 3;      /* ارتفاع خط مناسب برای خوانایی */
    text-align: justify;   /* ترازبندی متن */
    color: #333;
    margin-bottom: 15px;
}

.single-product-content-tabs .tabs-content .tab-content.active {
    display: block;
}


/* pricebox bottom in single product */
/* Price Box Bottom */
.pricebox-bottom {
    background: #f7f7f7;
    border: 1px solid #e0e0e2;
    border-radius: 10px;
    padding: 15px;
    font-family: 'Iranian Sans', sans-serif;
    direction: rtl;
    max-width:95%;
}

/* هد بالا: تولید و عرضه */
.pricebox-bottom .header-box {
    text-align: right;
    font-weight: bold;
    margin-bottom: 5px;
}

.pricebox-bottom .shop-info {
    text-align: right;
    font-family: 'Iranian Sans';
    margin-bottom: 25px;
    padding-top: 20px;
}

.pricebox-bottom .shop-info i {
    margin-left: 5px;
}

/* خط افقی زیر هد */
.pricebox-bottom hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 10px 0;
}

/* بخش قیمت */
.pricebox-bottom .price-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
}

.pricebox-bottom .price-label {
    font-weight: bold;
    font-size:13px;
}

.pricebox-bottom .price-values {
    text-align: right;
    font-weight: bold;
}

.pricebox-bottom .old-price {
    text-decoration: line-through;
    color: #888;
    font-size: 0.9em;
    top: -10px;
    position: relative;
    right: -20px;
}

.pricebox-bottom .sale-price {
    color: #000;
    font-size: 1.1em;
    font-weight: bold;
}

.pricebox-bottom .discount-badge {
    position: absolute;
    left: 0;
    top: 5px;
    background: red;
    color: #fff;
    font-weight: bold;
    padding: 2px 9px;
    border-radius: 15px;
    font-size: 13px;
    width: 40px;
}

/* دکمه افزودن به سبد خرید */
.pricebox-bottom .add-to-cart-wrapper {
    text-align: center;
    margin-top: 20px;
}

.pricebox-bottom .custom-add-to-cart {
    display: inline-block;
    width: 100%;
    background-color: #ffe100;
    color: #000;
    font-family: 'Iranian Sans', sans-serif;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    padding: 15px 0;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.3s;
}

.pricebox-bottom .custom-add-to-cart:hover {
    background-color: #ffd500;
}

/* گارانتی */
.pricebox-bottom .guarantee-wrapper {
    margin-top: 20px;
    text-align: right;
}

.pricebox-bottom .guarantee-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Iranian Sans', sans-serif;
    font-size: 12px;
    color: #333;
    text-decoration: none;
}

.pricebox-bottom .guarantee-link i {
    font-size: 14px;
    color: #333;
}

.pricebox-bottom .guarantee-link:hover {
    opacity: 0.8;
}

/* Divider */
.pricebox-bottom .pricebox-divider {
    margin: 15px 0;
    border: none;
    border-top: 1px solid #e0e0e2;
}



/* related product */
/* ===== Product Related Carousel ===== */

.product-related-carousel-wrapper {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    position: relative;
}


.swiper.product-related-swiper .swiper-wrapper {
	display:flex;
/*	justify-content: center;  */
	margin:0 0 20px;
}



.product-related-carousel-wrapper.is-loaded {
    opacity: 1;
    visibility: visible;
}

/* navigation */
.product-related-carousel-wrapper .pr-carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.product-related-carousel-wrapper:hover .pr-carousel-nav {
    pointer-events: all;
    opacity: 1;
}

.product-related-carousel-wrapper .pr-swiper-button-next,
.product-related-carousel-wrapper .pr-swiper-button-prev {
    width: 35px;
    height: 35px;
    background: rgba(0,0,0,0.3) !important;
    border-radius: 50%;
    color: #fff;
    padding: 10px;
}

.product-related-carousel-wrapper .pr-swiper-button-next::after,
.product-related-carousel-wrapper .pr-swiper-button-prev::after {
    color: #fff !important;
    font-size: 16px;
    font-weight: bold;
}

/* card */
.product-related-card {
    background: #fff;
    border-radius: 14px;
    padding: 15px 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    position: relative;
    text-align: center;
   /* min-height: 260px; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* discount */
.product-related-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #000;
    color: #fff;
    padding: 3px 8px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: bold;
}

/* image */
.product-related-image {
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.product-related-image img {
    width: 90px;
    margin: 0 auto;
    display: block;
    border-radius: 10px !important;
}

/* title & price */
.product-related-title {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 8px;
    font-family: 'Iranian Sans';
    color: #333;
}

.product-related-price {
    font-size: 12px;
    font-weight: bold;
    font-family: 'Iranian Sans';
    color:#333;
	padding:10px 0;
}

.product-related-price ins { text-decoration: none; }
.product-related-price del {
    color: #b5b5b5;
    font-size: 11px;
    font-family: 'Iranian Sans';
}

/* buttons */
.product-related-buttons {
    display: flex;
    justify-content: center !important;
    gap: 8px;
    margin-top: 10px;
}

.product-related-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.product-related-cart {
    background: #000;
    color: #fff;
}

.product-related-more {
    background: #ffe100;
    color: #000;
}

.product-related-cart i {
    transform: scaleX(-1);
}

/* woocommerce message */
.woocommerce-message {
display:none;
}


/* search result page style */
/* search result */
/* Wrapper */
#myprefix-search-results {
  display: flex;
  flex-direction: column;
  gap: 30px;
    padding:0 0 0 10px;

}

/* Each Item */
.myprefix-search-item {
  display: flex;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow:0 5px 8px 0 rgba(0, 0, 0, 0.05);
}

/* Left Side */
.myprefix-result-left .myprefix-thumb-wrap {
  position: relative;
  display: inline-block;
  width:160px;
  padding: 5px;
  box-shadow: 0 5px 10px #e1e1e1;
  border-radius: 10px;
}

.myprefix-result-left .myprefix-thumb-wrap img {
	height:125px !important;
	aspect-ratio: 16 / 9;
	width:160px;
}

.myprefix-result-left img {
  width: 100%;
  display: block;
  height:165px !important;
  border-radius: 12px !important;
}

.myprefix-result-left {
    height:155px;
}

.myprefix-category-label {
    position: absolute;
    top: 0px;
    right: 0;
    background: #ffe100;
    color: #333;
    padding: 4px 10px;
    font-size: 9px;
    font-weight: 600;
    border-radius: 6px;
    font-family: 'Iranian Sans';
}

/* Right Side */
.myprefix-result-right .myprefix-post-title {
    margin: 0px 0 5px;
    font-size: 13px;
	font-family: Iranian Sans;
}

.myprefix-result-right .myprefix-post-title a {
  text-decoration: none;
  color: #222;
font-family: 'Iranian Sans';
}

.myprefix-result-right .myprefix-post-title a:hover {
  color: #333;
}

.myprefix-post-meta {
  font-size: 10px;
  color: #666;
  margin-bottom: 2px;
}

.myprefix-post-meta .myprefix-comments {
  margin-right: 15px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  float:left;
  font-family: 'Iranian Sans';
  padding-left: 20px;
}

.myprefix-comments i {
    font-size:14px !important;
}
.myprefix-excerpt {
     display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 2.2;
    font-size: 12px;
    margin-bottom: 10px;
	font-family: Iranian Sans;
	width:100%
}

.myprefix-excerpt p {
padding-left:20px;
text-align:justify;
}

/* Pagination */
.myprefix-pagination {
  text-align: center;
  margin-top: 30px;
}

.myprefix-pagination .page-numbers {
    display: inline-block;
    margin: 0 3px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-family: 'Iranian Sans';
    font-size: 11px;
	font-weight:600;
}

.myprefix-pagination .current {
    background: #ffe100;
    color: #333;
    border-color: #ffe100;
    font-weight: 600;
    font-family: 'Iranian Sans';
}


.myprefix-author
 {
    font-family: 'Iranian Sans';
    font-size: 10px;
    font-weight:600;
    color:#acafb4;
}


#myprefix-no-results {
    font-family:Iranian Sans;
    font-size:13px;
    text-align: center;
}

/* search result for product */
.product-thumb-wrap {
    width: 100px;
	padding: 5px;
    box-shadow: 0 5px 10px #e1e1e1;
    border-radius: 10px;
}

.product-post-title h3 {
    font-family: 'Iranian Sans';
    font-size: 13px;
}

.product-thumb-wrap img {
    border-radius: 10px !important;
}

.product-result-right {
    padding-right: 10px;
}

.product-search-item {
    display: flex;
    flex: 1 1 calc(100% - 16px);
    padding: 0 0 15px;
    box-shadow: 0 5px 8px 0 rgba(0, 0, 0, 0.05);
	margin: 0px 0 15px;
}

.product-post-title a {
    color: #222;
	font-family: Iranian Sans;
	font-size:13px;
}

.product-post-title a:hover {
    color: #333;
	font-family: Iranian Sans;
	font-size:13px;
}


.product-search-results {
    display: flex;
    flex-wrap: wrap;
}

.product-related-buttons {
	justify-content: right;
}

.product-sr-price span {
	font-family:iranian Sans;
	font-size:11px;
	color:#333;
	font-weight:600;
}

.product-post-title {
	margin:0;
}


/* Product Pagination */
.product-pagination {
  text-align: center;
  margin-top: 30px;
}

.product-pagination .page-numbers {
    display: inline-block;
    margin: 0 3px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-family: 'Iranian Sans';
    font-size: 11px;
	font-weight:600;
}


.product-pagination .page-numbers:hover {
	    color: #fff;
		background:#000;

}

.product-pagination .current {
    background: #ffe100;
    color: #333;
    border-color: #ffe100;
    font-weight: 600;
    font-family: 'Iranian Sans';
}

#product-no-results {
  font-size: 13px;
  font-family:Iranian Sans;
  text-align: center;
}

/* tooran product tag page */
/* tooran product tag page - styled like search results */
.tooran-product-tag-page {
  padding: 20px;
  max-width: 1300px;
  margin: 0 auto;
  display: block;
}

/* Grid structure */
.tooran-product-tag-page .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

/* Product card */
.tooran-product-tag-page .product-item {
  box-shadow: 0 5px 8px rgba(0,0,0,0.05);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  padding: 10px;
  margin-bottom:20px;
}

.tooran-product-tag-page .product-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

/* Product image */
.tooran-product-tag-page .product-thumb a img {
  width: 100%;
  border-radius: 10px;
}

.tooran-product-tag-page .product-thumb {
	width:150px;
	margin:0 auto;
	padding:5px;
	box-shadow: 0 5px 10px #e1e1e1;
	border-radius:10px;
}

/* Info section */
.tooran-product-tag-page .product-details {
  padding-top: 10px;
  text-align: center;
}

.tooran-product-tag-page .product-title a {
  color: #222;
  font-family: 'Iranian Sans';
  font-size: 13px;
  text-decoration: none;
  font-weight: 600;
}

.tooran-product-tag-page .product-title a:hover {
  color: #333;
}

.tooran-product-tag-page .product-title  {
	margin:5px;
}

.tooran-product-tag-page .product-price {
  display: flex;
  margin: 10px 0;
  font-family: 'Iranian Sans';
  font-size: 12px;
  color: #333;
  font-weight: 600;
  justify-content: center;
}

/* Buttons */
.tooran-product-tag-page .product-actions {
    display: flex;
    gap: 8px;
    margin: 6px auto;
    width: 38px;
    justify-content: center;
	padding:10px 0;
}

.tooran-product-tag-page .product-btn {
  /* General button style - remains unchanged */
  color: #333;
  border-radius: 6px;
  padding: 12px;
  font-size: 13px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

/* Specific style for Add to Cart button */
.tooran-product-tag-page .cart-btn  {
  background: #000; /* Black background */
  color: #fff;     /* White font color */
}



.tooran-product-tag-page .cart-btn i {
	transform: scaleX(-1);
	font-size: 14px;
}

/* Style for the 'More Info' button (fa-solid fa-list) - remains unchanged */
.tooran-product-tag-page .more-btn  {
  background: #ffe100; /* Current yellow background */
  color: #333;
}

.tooran-product-tag-page .more-btn i {
  font-size: 14px;
}

/* Pagination (same style as search) */
.tooran-product-tag-page .product-pagination {
  text-align: center;
  margin-top: 30px;
}

.tooran-product-tag-page .product-pagination .page-numbers {
  display: inline-block;
  margin: 0 3px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-family: 'Iranian Sans';
  font-size: 11px;
  font-weight: 600;
}

.tooran-product-tag-page .product-pagination .page-numbers:hover {
color: #fff;
background: #000;
}


.tooran-product-tag-page .product-pagination .current {
  background: #ffe100;
  color: #333;
  border-color: #ffe100;
}

.no-products {
  text-align: center;
  color: #555;
  font-size: 16px;
  margin: 20px 0;
}



/* product category page style */
/* استایل‌های عمومی صفحه دسته‌بندی محصولات */
.product-archive-page {
    direction: rtl;
    padding: 20px;
    font-family: iranyekan, sans-serif;
}

/* ===== Toolbar بالا ===== */
.product-archive-page .product-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    padding: 10px 15px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    border-radius: 8px;
    gap: 15px;
}

.product-archive-page .product-toolbar .toolbar-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-archive-page .product-toolbar i {
    font-size: 20px;
    cursor: pointer;
    color: #888;
    transition: color 0.3s;
}

.product-archive-page .product-toolbar i.active {
    color: #ffd700;
}

.product-details .price span {
    color: #333 !important;
    font-family: 'Iranian Sans';
    font-size: 13px;
}

.product-archive-page .product-toolbar select {
    padding: 6px 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 13px;
	font-family: 'Iranian Sans';
}

/* ===== Toggle Switch ===== */
.product-archive-page .switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}
.product-archive-page .switch input {
    display: none;
}
.product-archive-page .slider {
    position: absolute;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background-color: #ccc;
    border-radius: 24px;
    cursor: pointer;
    transition: 0.3s;
}
.product-archive-page .slider:before {
    content: "";
    position: absolute;
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}
.product-archive-page input:checked + .slider {
    background-color: #ffd700;
}
.product-archive-page input:checked + .slider:before {
    transform: translateX(22px);
}

.product-archive-page .toggle-label {
    font-size: 13px;
    color: #333;
font-family: 'Iranian Sans';
    font-weight: 600;
}

/* ===== Grid و List Layout ===== */
.product-archive-page .products-wrapper.grid-view {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.product-archive-page .products-wrapper.list-view {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== کارت محصول ===== */
.product-archive-page .product-card {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    background-color: #fff;
    transition: box-shadow 0.3s;
}
.product-archive-page .product-card:hover {
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.product-archive-page .product-card img {
    width: 100%;
    height: auto;
    border-radius: 5px;
	box-shadow: 0 5px 10px #e1e1e1;
}

.product-archive-page .product-title {
    font-size: 15px;
    margin: 8px 0;
    color: #000;
}

.product-archive-page .product-title a {
	    color: #333;
		font-family: 'Iranian Sans';
    font-size: 13px;
}
.product-archive-page .product-title a:hover {
	    color: #000;
}

.product-archive-page .product-price {
    color: #000;
    font-weight: bold;
    margin: 6px 0;
}

.product-archive-page .product-actions {
    margin: 15px;
    padding: 10px 0;
	}

.product-btn-cart-btn {
    background: #000;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
	margin-left:5px;

}	

.product-btn-cart-btn i{
	transform: scaleX(-1);
}


.product-btn-more-btn {
    background: #ffe100;
    padding: 10px;
    border-radius: 10px;
	color:#000;
	margin-right:5px;
}

.product-card .price span {
	color:#333;
	font-weight:600;
	font-size:12px;
}

.product-archive-page .product-desc {
    font-size: 13px;
    color: #666;
    margin-top: 8px;
    line-height: 1.5;
}

/* ===== صفحه‌بندی ===== */
.product-archive-page .pagination {
    margin-top: 25px;
    text-align: center;
}
.product-archive-page .pagination a,
.product-archive-page .pagination span {
   display: inline-block;
    margin: 0 3px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-family: 'Iranian Sans';
    font-size: 11px;
    font-weight: 600;
}
.product-archive-page .pagination a:hover {
    background-color: #000;
    color: #fff;
}
.product-archive-page .pagination .current {
    background: #ffe100;
    color: #333;
    border-color: #ffe100;
}

.tooran-product-archive-page {
    padding: 5px;
    display: inline-block;
    margin: 0 auto !important;
}

.tooran-product-archive-page .more-btn {
	background: #ffe100;
    color: #333;

}

.tooran-product-archive-page .cart-btn {
    background: #000;
    color: #fff;
}

.product-image {
    width: 250px;
    margin: 0 auto;
	padding:15px;
}

/* ===== حالت موبایل ===== */
@media (max-width: 768px) {
    .product-archive-page .products-wrapper {
        display: flex !important;
        flex-direction: column;
    }
    .product-archive-page .product-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .product-archive-page .product-toolbar .view-mode {
        display: none !important;
    }
}



/*product category right sidebar */
.product_category_list_menu {
    font-family: 'Iranian Sans', sans-serif;
    width: 100%;
}

.product_category_list_menu .category-item {
    margin-bottom: 5px;
    border: 1px solid #eee;
    padding: 10px 15px;
    box-sizing: border-box;
}

.product_category_list_menu .category-title {
    color: #000;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    width: 100%;
}

/* استایل برای زمانی که دسته سطح اول فعال است */
.product_category_list_menu .category-title.active .category-name {
    color: #f1ad21 !important; /* رنگ فونت زرد برای دسته فعال */
}

/* استایل برای دسته سطح اول در صورتی که دارای زیرمجموعه باشد */
.product_category_list_menu .category-title.has-subcategories:not(.active) .category-name {
     /* استایل پیش‌فرض برای نام دسته در صورت فعال نبودن */
     color: #000;
}

/* اگر خواستید زیردسته فعال هم هایلایت شود */
.product_category_list_menu .subcategory-item.sub-active a {
     color: #f1ad21 !important;
}


.product_category_list_menu .icon {
    width: 8px;
    height: 8px;
    background-color: #ffd700;
    flex-shrink: 0;
}

.product_category_list_menu .category-name {
    flex-grow: 1;
    font-size: 15px;
    font-weight: bold;
    transition: color 0.3s ease; /* انیمیشن نرم برای تغییر رنگ */
	color:#333;
}
.product_category_list_menu .category-name:hover {
	color:#000;
}

.product_category_list_menu .arrow {
    font-size: 16px;
    color: #000;
    font-family: 'Font Awesome 5 Free'; 
    font-weight: 900;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: transform 0.3s ease; 
}

.product_category_list_menu .subcategories {
    padding-left: 30px;
    margin-top: 8px;
    border-left: 1px dashed #ccc;
    margin-left: 15px;
    overflow: hidden;                   /* جلوگیری از اضافه شدن اسکرول در انیمیشن */
    max-height: 0;                      /* در حالت عادی بسته */
    opacity: 0;                         /* در حالت بسته محو باشد */
    transition: max-height 0.4s ease, opacity 0.4s ease;
}

/* حالت باز با انیمیشن نرم */
.product_category_list_menu .subcategories.open {
    max-height: 500px;                  /* ارتفاع مناسب برای محتوا؛ در صورت نیاز مقدار را زیاد کنید */
    opacity: 1;
}


/* آیتم‌های درون زیرمنو هم نرم ظاهر شوند */
.product_category_list_menu .subcategories.open .subcategory-item {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

.product_category_list_menu .subcategory-item {
    padding: 5px 0;
	opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.3s ease, transform 0.3s ease;

}

.product_category_list_menu .subcategory-item a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.product_category_list_menu .subcategory-item a:hover {
    color: #000;
    text-decoration: underline;
}

/* adjust product card archive page */
@media (min-width:767px) and (max-width:1024px) {

.product-archive-page .products-wrapper.grid-view {
	display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}


}

@media (min-width:1025px) and (max-width:1280px) {

.product-archive-page .products-wrapper.grid-view {
	display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}


}

.cat-arch-title h2 {
	font-family: Iranian Sans !important;
}

/* اگر محصول کلاس outofstock دارد، دکمه افزودن به سبد خرید مخفی شود */
.out-of-stock .product-btn-cart-btn {
    display: none !important;
}


/* call button on desktop mode */
/* استایل برای دکمه تماس گرد */
.call-button-desktop-btn {
    position: fixed;
    bottom: 80px; /* تنظیم فاصله از پایین */
    right: 20px;  /* تنظیم فاصله از سمت راست */
    padding:13px;
    background-color: #ffe100; /* رنگ پس‌زمینه */
    color: #333; /* رنگ آیکون */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%; /* دایره کامل */
    font-size: 24px; /* اندازه آیکون */
    z-index: 999;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: background-color 0.3s, transform 0.2s;
}

.call-button-desktop-btn i {
    transform:scaleX(-1);
}

/* تغییر رنگ هنگام هاور */
.call-button-desktop-btn:hover {
    background-color: #ffd700; /* مثلا رنگ کمی تیره‌تر یا متمایز */
    transform: scale(1.05);
}


/* login page style */
.login_user_page-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #ffffff;
  padding: 15px; /* اضافه کردن padding برای موبایل */
  box-sizing: border-box; /* برای اینکه padding روی عرض کلی تاثیر نگذارد */
}

.login_user_page-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px; /* اضافه کردن فاصله */
}

.login_user_page-header i {
    color: #424750;
    font-size: 22px;
    cursor:pointer;
}


.login_user_page-header a {
    padding-left: 15px;
}

.login_user_page-logo img {
  height: 55px !important;
  padding: 0 45px;
}

.login_user_page-back {
  font-size: 22px;
  color: #333;
  text-decoration: none;
}

.login_user_page-box {
  border-radius: 10px;
  padding: 40px 30px;
  text-align: right;
  position: relative;
  border: 1px solid #e0e0e2;
  width: 100%; /* عرض کامل در موبایل */
  max-width: 400px; /* حداکثر عرض در دسکتاپ */
  box-sizing: border-box; /* برای اطمینان از اینکه padding و border روی width تاثیر نگذارند */
  box-shadow: 0 5px 0 #e0e0e2;
}

.login_user_page-title {
  font-size: 14px; /* کمی بزرگتر برای خوانایی بهتر */
  margin-top: 30px;
  font-weight: bold;
  font-family: 'Iranian Sans';
}

.login_user_page-subtitle {
  font-size: 12px; /* کمی بزرگتر */
  margin: 15px 0 25px;
  color: #444;
  line-height: 2;
  font-family:Iranian Sans;
}

.login_user_page-subtext {
  font-size: 12px; /* کمی بزرگتر */
  margin: 5px 0 5px;
  color: #444;
  line-height: 1.5;
  font-family:Iranian Sans;
}

.login_user_page-subtext a {
    color:#000;
    font-weight:600;
    font-size:11px;
}

.login_user_page-form input[type="text"],
.login_user_page-form button {
  width: 100%;
  padding: 12px 15px; /* کمی padding بیشتر */
  border-radius: 6px;
  border: 1px solid #ccc;
  margin-bottom: 15px;
  font-size: 12px; /* فونت بزرگتر */
  font-family:Iranian Sans;
  box-sizing: border-box; /* برای اطمینان از اینکه padding و border روی width تاثیر نگذارند */
}

.login_user_page-form button {
  background: #000;
  color: #fff;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.login_user_page-form button:hover {
  background: #333;
}

/* Media Queries برای اندازه‌های مختلف صفحه */

/* تبلت و صفحه نمایش‌های کوچک‌تر */
@media (max-width: 768px) {
  .login_user_page-box {
    width: 90%; /* عرض بیشتری در تبلت‌ها */
    padding: 30px 20px;
  }
  .login_user_page-logo img {
    height: 45px !important; /* لوگو کمی کوچکتر */
  }
  .login_user_page-title {
    font-size: 16px;
  }
  .login_user_page-subtitle {
    font-size: 13px;
  }
  .login_user_page-form input[type="text"],
  .login_user_page-form button {
    font-size: 13px;
  }
}

/* موبایل */
@media (max-width: 480px) {
  .login_user_page-box {
    width: 100%; /* عرض کامل در موبایل‌های کوچک */
    padding: 25px 15px;
    margin: 0 10px; /* کمی فاصله از طرفین */
  }
  .login_user_page-header {
      justify-content: center; /* آیکن و لوگو وسط چین شوند */
      flex-direction: column; /* عناصر عمودی شوند */
  }
  .login_user_page-header i {
      order: -1; /* آیکن فلش برود بالا */
      margin-bottom: 10px;
      position: absolute; /* برای اینکه روی بقیه عناصر نیفتد */
      right: 15px; /* جایگاه آیکن */
      top: 15px;
  }
   .login_user_page-logo img {
    height: 50px !important; /* لوگو کوچکتر */
  }
  .login_user_page-title {
    font-size: 14px;
    margin-top: 10px;
  }
  .login_user_page-subtitle {
    font-size: 12px;
    margin: 10px 0 20px;
  }
  .login_user_page-form {
      margin-top: 20px;
  }
  .login_user_page-form input[type="text"],
  .login_user_page-form button {
    font-size: 12px;
  }
}

/* اhide default title header on some page */
body.login-page-hide-header header , body.welcome-page-hide-header header , body.register-page-hide-header header , body.forgotpassword-page-hide-header header {
    display: none !important;
}


/* toorangostar mylist profile */
.toorangostar_mylist h3{
    font-family: Iranian Sans;
    margin-bottom: 15px;
}

.toorangostar_mylist .mylist_table{
    width:100%;
    border-collapse: collapse;
    font-size:13px;
    text-align: center;
}

.toorangostar_mylist .mylist_table tbody tr td  a{
color:#333;
}

.toorangostar_mylist .mylist_table thead tr{
    background:#000;
    color:#fff;
    text-align:center;
}

.toorangostar_mylist .mylist_table td,
.toorangostar_mylist .mylist_table th{
    padding:10px;
    border:1px solid #ddd;
}

.mylist_add_to_cart_btn{
    background:#000;
    color:#fff !important;
    padding:7px 12px;
    display:inline-block;
    border-radius:4px;
}

.mylist_remove_btn{
    cursor:pointer;
    font-size:22px;
    color:red;
    font-weight:bold;
}

/* مودال لاگین */
.mylist_modal_login,
.mylist_modal_exists{
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.6);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:100000;
}

.mylist_modal_content{
    background:#fff;
    padding:20px;
    width:350px;
    position:relative;
    text-align:center;
    border-radius:6px;
    font-family:Iranian Sans;
    font-size:14px;
}

.mylist_login_btn{
    background:#000;
    color:#fff !important;
    padding:8px 18px;
    display:inline-block;
    border-radius:4px;
    margin-top:15px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 13px;
    text-decoration: none;
}

.mylist_modal_close{
    position:absolute;
    top:8px;
    right:10px;
    cursor:pointer;
    font-size:20px;
    color:#d50404;
}



/* checkout page */

.tooran_checkout_page {
    font-family: "Iranian Sans", sans-serif;
    direction: rtl;
}

.checkout_header {
    text-align: center;
    margin-bottom: 35px;
}

.checkout_header i {
    font-size: 48px;
    color: #000;
}

.checkout_header h2 {
    margin-top: 10px;
    font-size: 26px;
    font-weight: bold;
}

/* ستون‌ها */

.checkout_content {
    display: flex;
    gap: 25px;
}

.checkout_col {
    flex: 1;
}

/* کارت‌ها */

.card_box {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    margin-bottom: 25px;
}

.card_box h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

/* فرم */

.tooran_checkout_page label {
    font-size: 13px;
    font-weight: bold;
    display: inline !important;
    margin-bottom: 6px;
    line-height:2.5;
}

.tooran_checkout_page label .required {
    color: red !important;
}

.buyer-real label .required,
.buyer-legal label .required {
    display: none !important;
}

.tooran_checkout_page input,
.tooran_checkout_page select,
.tooran_checkout_page textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 16px;
    font-family: inherit;
}

/* دکمه ثبت سفارش */

.place_order_button {
    width: 100%;
    background: #ffe100;
    color: #000;
    border: none;
    padding: 16px;
    border-radius: 10px;
    font-size: 17px;
    font-family: "Iranian Sans";
    cursor: pointer;
    font-weight:600;
}

.place_order_button:hover {
    opacity: 0.85;
}

/* جدول فاکتور */

.woocommerce-checkout-review-order-table {
    width:100%;
    border-collapse: collapse;
    text-align:right;
}

/* هدر جدول */

.woocommerce-checkout-review-order-table thead th {
    background:#000;
    color:#fff;
    padding:12px;
    text-align:center;
    font-size:14px;
}

/* ردیف‌ها */

.woocommerce-checkout-review-order-table tbody td {
    background:#fff;
    color:#000;
    padding:12px;
    text-align:center;
    border-bottom:1px solid #eee;
}

/* ستون محصول */

.woocommerce-checkout-review-order-table .product-name{
    text-align:right;
    width:55%;
}

/* ستون تعداد */

.tooran-qty{
    font-weight:bold;
    font-size:15px;
    display:block;
}

/* ستون جمع */

.woocommerce-checkout-review-order-table .product-total{
    width:30%;
}

/* کوپن */

.woocommerce-form-coupon-toggle {
    border-top:2px solid #000 !important;
}

/* مخفی کردن کشور */

#billing_country_field{
    display:none !important;
}
.checkout .checkout-inline-error-message {
color: red !important;
font-weight:bold;
}




.woocommerce-shipping-methods {
    list-style: none !important;
    padding: 0 !important;
}


/* ستون‌بندی تمیز */
.woocommerce-checkout-review-order-table th {
text-align:right;
}
.woocommerce-checkout-review-order-table td{
    text-align:left;
}

.woocommerce-checkout-review-order-table th.product-name,
.woocommerce-checkout-review-order-table td.product-name{
    text-align:right;
    width:55%;
}

.woocommerce-checkout-review-order-table th.product-qty,
.woocommerce-checkout-review-order-table td.product-qty{
    width:15%;
    font-weight:bold;
}

.woocommerce-checkout-review-order-table th.product-total,
.woocommerce-checkout-review-order-table td.product-total{
    width:30%;
    text-align:left;
}

/* ظاهر تعداد */
.tooran-qty{
    font-weight:bold;
    font-size:15px;
    display:inline-block;
    min-width:24px;
}

/* فاصله مطمئن بین جمع جزء و حمل‌ونقل */
.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal td,
.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th {
    padding-bottom: 18px !important;
    border-bottom: 0 !important;
}



.tooran_checkout_page .woocommerce_checkout_place_order {
    display: none !important;
}


.tooran-payment-radio {
    display: none !important;
}


.woocommerce-error li a , .woocommerce-error li {
    color: red;
    font-size:13px;
    font-weight:600;
    padding:5px 0;
}

.woocommerce-billing-fields h3 {
    display: none;
}


.optional  {
    display: none !important;
}


#add_payment_method #payment, .woocommerce-cart #payment, .woocommerce-checkout #payment {
    background: #fff;
}



/* woocommerce checkout page style */
/* استایل کلی تمام فیلدهای ورودی */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout input[type="password"],
.woocommerce-checkout input[type="number"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    border: 2px solid #e1e1e1 !important;
    border-radius: 8px !important;
    padding: 15px !important;
    box-shadow: none !important;
    background: #fff !important;
}

/* استایل Select2 برای استان و شهر */
body.woocommerce-checkout .select2-container .select2-selection--single {
    height: auto !important;
    border: 2px solid #e1e1e1 !important;
    border-radius: 8px !important;
    padding: 5px  !important;
    background: #fff !important;
    box-shadow: none !important;
}

/* استایل متن داخل Select2 */
body.woocommerce-checkout .select2-selection__rendered {
    line-height: normal !important;
    padding-left: 0 !important;
    color: #333 !important;
}

/* استایل فلش دراپ‌دان */
body.woocommerce-checkout .select2-selection__arrow {
    top: 50% !important;
    transform: translateY(-50%);
    right: 10px !important;
}


.shipping_method {
	vertical-align: middle;
}


.select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered {
	padding-right:20px !important;
}

/* hide privacy comment */
.woocommerce-privacy-policy-text {
	display:none !important;
}

/* resize rules text on checkout */
.woocommerce-terms-and-conditions-checkbox-text {
    font-size: 11px !important;
}

.woocommerce ul#shipping_method li input {
	    vertical-align: middle !important;
}


#place_order  {
    background: #000 !important;
    padding: 15px !important;
    border-radius: 5px !important;
    font-family: 'Iranian Sans' !important;
    margin-top: 15px !important;
	width: 100% !important;
}


@media  (max-width:768px) {
.checkout_content {
	display: grid;
}

.woocommerce ul.order_details li {
	padding:10px;
}
}

/* livepriceheading css border 
.livepriceheading {
	border-bottom:3px solid #ffe100;
	padding-bottom:10px;
}
*/



.livepriceheading {
    position: relative;
}

.livepriceheading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
	top:20px;
    width: 100%;
    height: 2px; /* ضخامت خط */
    background: linear-gradient(
        to right,
        transparent,
        #ffe100,
        #ffe100,
        transparent
    );
}


@media  (max-width:768px) {
.livepriceheading {
    position: relative;
}

.livepriceheading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
	top:30px;
    width: 100%;
    height: 2px; /* ضخامت خط */
    background: linear-gradient(
        to right,
        transparent,
        #ffe100,
        #ffe100,
        transparent
    );
} 
}


/* landing page style */
.landing-pages-title h2 {
    font-family:'Iranian Sans' !important;
}

.about-us-text-desc h2 , .landing-pages-title h3 {
    font-family:'Iranian Sans' !important;
}


/* contact form 7 */
.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required {
    padding: 8px !important;
    width: 100%;
    margin-top: 5px;
}

.wpcf7-form.init p label , .wpcf7-form.invalid p label {
    font-family: 'Iranian Sans';
	font-weight: bold;
    font-size: 14px;
}

.hidden-fields-container  {
	display:none !important;
}

input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required  {
    padding: 15px !important;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
	font-family: 'Iranian Sans';
}


input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    font-family: Iranian Sans;
	font-weight:600;
	width:100%;
	cursor:pointer;
	color:#000;
}

textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e1e1e1;
}

.screen-reader-response ul li {
display:none;
}

span.wpcf7-not-valid-tip {
    color: red;
	font-size:12px;
}

.screen-reader-response {
    display: none;
}

.wpcf7-response-output {
    display: none;
}





.wpcf7 label {
    font-family: 'Iranian Sans' !important;
    font-weight: bold;
    font-size: 14px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 textarea {
    font-family: 'Iranian Sans' !important;
    padding: 15px !important;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    width: 100%;
}


.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
    font-family: 'Iranian Sans' !important;
}


.wpcf7 *,
.wpcf7 input,
.wpcf7 textarea,
.wpcf7 label,
.wpcf7 select,
.wpcf7 button {
    font-family: 'Iranian Sans' !important;
}

/* contact us page - navigation button style */

.app-button span {
font-family: Iranian Sans;
font-weight:bold;
}



/* ai fence css - tooranyar */

input#ai-fence-input {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #e1e1e1;
    font-family: 'Iranian Sans';
}


button#ai-fence-send {
    padding: 10px;
    width: 100%;
    font-family: 'Iranian Sans';
    font-weight: bold;
    color: #000;
    background: #ffe100;
    border-radius: 10px;
   }

   #ai-fence-output p {
    font-family: 'Iranian Sans';
    font-size: 14px;
	padding-top:10px;
	line-height:2;
}

/* tooran product attributes css upper shortcode description in single product page */
.tooran-p-att {
    font-family: "Iranian Sans", sans-serif;
}

.tooran-p-att table {
    width: 100%;
    border-collapse: collapse;
}

.tooran-p-att tr.even {
    background: #f2f2f2;
}

.tooran-p-att tr.odd {
    background: #ffffff;
}

.tooran-p-att td {
    padding: 10px 12px;
    border-bottom: 1px solid #ddd;
}

.tooran-p-att .att-title {
    font-weight: bold;
    font-size: 15px;
    color: #222;
    width: 40%;
}

.tooran-p-att .att-value {
    font-weight: normal;
    font-size: 13px;
    color: #555;
}

.tooran-p-att.no-att {
    font-family: "Iranian Sans", sans-serif;
    padding: 12px;
    background: #f5f5f5;
    color: #777;
    text-align: center;
    border: 1px dashed #ccc;
    font-size: 12px;
}




/*tooran faq in single product page */
.tooran-faq {
    font-family: "Iranian Sans", sans-serif;
}

.faq-item {
    border: 1px solid #e5e5e5;
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
}

.faq-question {
    background: #f7f7f7;
    padding: 12px 15px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    position: relative;
}

.faq-question::after {
    content: "+";
    position: absolute;
    left: 15px;
    font-size: 18px;
}

.faq-item.active .faq-question::after {
    content: "-";
}

.faq-answer {
    display: none;
    padding: 12px 15px;
    background: #fff;
    font-size: 13px;
    color: #444;
    line-height: 1.8;
}

/*link color on sinbgle product page */
#tab-intro-scroll a {
    color: #ccc;
}