

/* تعریف فونت YekanBakhFaNum-Light */
@font-face {
    font-family: 'YekanBakhFaNum-Light';
    src: url('https://mezonshabnam.com/wp-content/uploads/2025/07/YekanBakhFaNum-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
/* تعریف فونت YekanBakhFaNum-Bold */
@font-face {
    font-family: 'YekanBakhFaNum-Bold';
    src: url('https://mezonshabnam.com/wp-content/uploads/2025/07/YekanBakhFaNum-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* اعمال فونت YekanBakhFaNum-Light به body */
body {
    font-family: 'YekanBakhFaNum-Light', sans-serif;
    background-color: #FFFFF;
    margin: 0;
  padding: 0;
}
main{margin:50px 10px 10px 10px;}
h1, h2, h3, h4, h5, h6 {
    font-family: 'YekanBakhFaNum-Bold', sans-serif;
    font-weight: 700;
    color:#004a61;
}
p {
    font-family: 'YekanBakhFaNum-Light', sans-serif;
    font-weight: 300;
    color:#004a61;
    font-size:20px;line-height: 36px;
}
li {
  font-size: 19px;
  line-height: 45px;
}
a{text-decoration:none}
.wp-block-image img {margin: 10px 0 10px 0px;
  border-radius: 16px;
}
.wp-block-column.has-background.is-layout-flow.wp-block-column-is-layout-flow {
  padding: 20px;
}
/* محدود کردن عرض سایت به 1200 پیکسل */
.container {
    max-width: 1200px;
    margin: 0 auto;
}
/* تصویر ) */
.wp-block-gallery.has-nested-images figure.wp-block-image img {
  padding: 10px;
}
/* مخفی کردن منوهای کشویی پیش‌فرض */
.woocommerce div.product form.cart table.variations select#pa_color,
.woocommerce div.product form.cart table.variations select#pa_size {
    display: none !important;
}
/* استایل کلی کانتینر دکمه‌های سفارشی */
.custom-variations {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0;
}
/* استایل دکمه‌های رنگ */
.custom-variations .color-option {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}
.custom-variations .color-option:hover {
    border-color: #007bff;
    transform: scale(1.1);
}
.custom-variations .color-option.selected {
    border-color: #28a745;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
}
/* استایل دکمه‌های سایز */
.custom-variations .size-option {
    padding: 10px 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f8f9fa;
    cursor: pointer;
    font-size: 14px;
    font-family: 'IRANSans', sans-serif;
    transition: all 0.3s ease;
}
.custom-variations .size-option:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}
.custom-variations .size-option.selected {
    background-color: #28a745;
    color: #fff;
    border-color: #28a745;
}
/* تولتیپ برای دکمه‌ها */
.custom-variations .color-option[title]:hover:after,
.custom-variations .size-option[title]:hover:after {
    content: attr(title);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    z-index: 100;
    white-space: nowrap;
}
/* استایل دکمه پاک کردن */
.woocommerce div.product form.cart table.variations a.reset_variations {
    display: inline-block !important;
    visibility: visible !important;
    margin-top: 10px;
    padding: 8px 20px;
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-family: 'IRANSans', sans-serif;
    transition: all 0.3s ease;
}
.woocommerce div.product form.cart table.variations a.reset_variations:hover {
    background-color: #dc3545;
    color: #fff;
    border-color: #dc3545;
}
/* ریسپانسیو */
@media (max-width: 768px) {
    .custom-variations .color-option {
        width: 30px;
        height: 30px;
    }
    .custom-variations .size-option {
        padding: 8px 15px;
        font-size: 13px;
    }
}
/* تصویر شاخص و صفحه */
.post-thumbnail, .page-thumbnail {
    width: 100%;
    height: 100%;
}
.post-thumbnail img, .page-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.has-white-color a {
  color: var(--wp--preset--color--white) !important;
}
.wp-block-column.is-vertically-aligned-top.action.has-background.is-layout-flow.wp-block-column-is-layout-flow {
  border-radius: 16px;padding: 20px;
}
/* استایل برای بخش قیمت (همون استایل قبلی که دوست داشتید) */
.product-price .woocommerce-Price-amount {
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(90deg, #ff6f00, #e91e63); /* گرادیانت نارنجی-صورتی */
    padding: 8px 15px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}
.product-price .woocommerce-Price-amount:hover {
    transform: scale(1.05); /* زوم ملایم در هاور */
}
.product-price .woocommerce-Price-currencySymbol {
    font-size: 1rem;
    margin-right: 5px;
}
.archive-container {
        width: 100%;
        max-width: 1200px; /* حداکثر عرض 1200 پیکسل */
        margin: 0 auto; /* وسط‌چین کردن محتوا */
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 4 ستون در دسکتاپ */
        gap: 20px; /* فاصله بین آیتم‌ها */
    }
    .archive-item {
        /* استایل‌های کلی هر آیتم */
        border: 1px solid #ddd; /* حاشیه */
        border-radius: 8px; /* گوشه‌های گرد */
        overflow: hidden; /* محتوای بیرون‌زده را پنهان می‌کند */
    }
    .archive-item img {
        width: 100%; /* عرض کامل تصویر */
        height: auto; /* ارتفاع خودکار */
        display: block; /* برای جلوگیری از فضای خالی زیر تصویر */
    }
    .archive-item-content {
        padding: 15px; /* فاصله‌گذاری داخلی */
    }
    .archive-item-title {
        margin-top: 0; /* حذف فاصله بالا */
        font-size: 1.2em; /*اندازه فونت*/
    }
  .archive-item-title a{
    text-decoration: none; /*حذف خط زیر لینک*/
    color: inherit; /*رنگ پیشفرض*/
  }
    .archive-item-date {
        font-size: 0.8em; /* اندازه فونت کوچکتر */
        color: #666; /* رنگ خاکستری */
    }
    .archive-title{
      text-align: center; /*وسط چین*/
      margin: 40px auto; /*بالا و پایین 40 چپ و راست اتومات*/
    }
    /* استایل‌های مخصوص تبلت */
    @media (max-width: 1024px) {
        .archive-container {
            grid-template-columns: repeat(3, 1fr); /* 3 ستون در تبلت */
        }
    }
    /* استایل‌های مخصوص موبایل */
    @media (max-width: 767px) {
        .archive-container {
            grid-template-columns: repeat(2, 1fr); /* 2 ستون در موبایل */
        }
    }
    /* استایل‌های صفحه‌بندی (Pagination) */
    .pagination {
        display: flex;
        justify-content: center; /* وسط‌چین کردن */
        margin-top: 30px; /* فاصله از بالا */
        list-style: none; /* حذف علامت‌های لیست */
        padding: 0;
    }
    .pagination li {
        margin: 0 5px; /* فاصله بین آیتم‌های صفحه‌بندی */
    }
    .pagination a,
    .pagination span {
        display: inline-block; /* نمایش به صورت بلاک خطی */
        padding: 8px 12px; /* فاصله‌گذاری داخلی */
        border: 1px solid #ddd; /* حاشیه */
        border-radius: 4px; /* گوشه‌های گرد */
        text-decoration: none; /* حذف خط زیر لینک */
        color: #333; /* رنگ متن */
    }
    .pagination .current {
        background-color: #007bff; /* رنگ پس‌زمینه صفحه فعلی */
        color: #fff; /* رنگ متن صفحه فعلی */
        border-color: #007bff; /* رنگ حاشیه صفحه فعلی */
    }
.archive-item img {
    width: 100%;
    height: 250px; /* یک ارتفاع ثابت تعیین کنید. */
    object-fit: cover; /* مهم‌ترین بخش */
    display: block;
}
.archive-header {
    width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.content-container{
    width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.customers img {
  height: 50px;
  width: 50px;
 
  object-fit: cover; /* کاور کردن عکس */
  object-position: center; /* مرکزیت بخشیدن به عکس */
  border-radius: 999px;
  box-sizing: content-box;
  -o-object-fit: cover;
  object-fit: cover;
}
/* استایل برادکرامپ */
.breadcrumbs {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
   border: 1px solid rgba(0, 0, 0, 0.060);
  border-radius: 10px;
}
.rank-math-breadcrumb {
  padding-right: 10px;
}
.breadcrumbs a {
    color: #004a61;
    text-decoration: none;
}
.breadcrumbs a:hover {
    text-decoration: underline;
}
/* استایل آخرین بروزرسانی */
.last-updated {
    margin-bottom: 20px;
    font-size: 16px;
    color: #004a61;
    font-family: 'YekanBakhFaNum-Light', sans-serif;
}
.post-thumbnail img {margin-bottom: 20px;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
}
/* تنظیم پیش‌فرض برای همه اندازه‌ها - دو ستونه */
.row {
    display: flex;
    flex-wrap: wrap;
}
.col-md-8 {
    flex: 0 0 65%;
    max-width: 65%;padding: 0 0 0 20px;
   
}
.col-md-4 {
    flex: 0 0 34%;
    max-width: 34%;
}
/* تنظیم برای تبلت (768px تا 1024px) - همچنان دو ستونه */
@media (min-width: 768px) and (max-width: 1024px) {
    .col-md-8 {
        flex: 0 0 64%;
        max-width: 64%;
    }
    .col-md-4 {
        flex: 0 0 33%;
        max-width: 33%;
    }
        .container {
  padding: 0 15px;
}
}
/* تنظیم برای موبایل (زیر 767px) - تک‌ستونی */
@media (max-width: 767px) {
    .col-md-8, .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .sidebar .widget {
        margin-bottom: 20px;
    }
    .post-title {
        font-size: 28px;
    }
    .container {
  padding: 0 15px;
}
}
/* Reset default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Banner styles */
.cta-banner {
    width: 1200px;
    margin: 20px auto;
    background: linear-gradient(135deg, #2c3e50 0%, #2c4356 100%); /* گرادیانت از خاکستری تیره به آبی */
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Content inside the banner */
.cta-content {
    color: #ddccb8; /* رنگ متن */
   
}
.cta-content .cta-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}
.cta-content p {
     color:#ffffff;
    margin-bottom: 20px;
    opacity: 0.9;
}
/* CTA Button */
.cta-button {
    display: inline-block;
    background-color: #ddccb8; /* رنگ دکمه */
    color: #2c3e50; /* رنگ متن دکمه */
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.cta-button:hover {
    background-color: #c7b69e; /* رنگ دکمه هنگام هاور (کمی تیره‌تر) */
    transform: scale(1.05);
}
/* Responsive Design */
@media (max-width: 1200px) {
    .cta-banner {
        width: 90%;
        padding: 20px;
    }
    .cta-content .cta-title {
        font-size: 24px;
    }
    .cta-content p {
        color:#ffffff;
    }
    .cta-button {
        padding: 10px 25px;
        font-size: 16px;
    }
}
@media (max-width: 768px) {
    .cta-banner {
        padding: 15px;
    }
    .cta-content .cta-title {
        font-size: 20px;
    }
    .cta-content p {
        font-size: 13px;
    }
    .cta-button {
        padding: 8px 20px;
        font-size: 14px;
    }
}
/* CSS استایل خفن */
.seo-hero {border-radius: 16px;
  position: relative;
  background: linear-gradient(135deg, #031f2e, #083245);
  color: white;
  padding: 5rem 2rem;
  overflow: hidden;
}
.seo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  z-index: 1;
}
.seo-container {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 3rem;
  flex-wrap: wrap;
}
.seo-text {
  flex: 1;
  max-width: 600px;
  animation: fadeInRight 1s ease-out;
}
.seo-text h1 {
  font-size: 2.8rem;
  color: #00d084; /* سبز واتساپ */
  margin-bottom: 1rem;
}
.seo-text p {
  font-size: 1.2rem;
  line-height: 2.1;
  margin-bottom: 1rem;
  color: #f1f1f1;
}
.seo-btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: #00d084;
  color: #031f2e;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}
.seo-btn:hover {
  background: #00b670;
  transform: scale(1.05);
}
.seo-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 1s ease;
}
/* انیمیشن‌ها */
@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.results-section {
  background: #f9fafa;
  padding: 5rem 2rem;
  border-top: 6px solid #00d084;
}
.results-container {
  max-width: 1000px;
  margin: auto;
  text-align: right;
  color: #083245;
}
.results-container h2 {
  text-align: center;
  font-size: 2.4rem;
  color: #031f2e;
  margin-bottom: 1rem;
}
.results-container .intro {
  font-size: 1.2rem;
  color: #2f4f4f;
  margin-bottom: 2.5rem;
  text-align: center;
}
.case {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}
.case:hover {
  transform: translateY(-5px);
}
.case-header {
  font-weight: bold;
  color: #00b670;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.case ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.case li {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.case li strong {
  color: #031f2e;
}
.callout {
  font-size: 1.1rem;
  color: #444;
  text-align: center;
  margin-top: 2rem;
}
.main-header {
  max-width: 1200px;
  margin: 0 auto;
}
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: #fff;
  position: relative;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  width: 11%;
}
.search-container {
  position: relative;
  flex: 1;
  margin: 0 15px;
  max-width: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-input {
  width: 100%;
  padding: 8px 15px;
  border: 1px solid #ccc;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-size: 1rem;
}
.search-icon {
  background-color: transparent;
  border: none;
  margin-right: -35px;
  cursor: pointer;
  font-size: 1.2rem;
  z-index: 1;
}
.icons {
  display: flex;
  gap: 10px;
}
.icon {
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hamburger {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
margin: 3px 10px 0px 0px;
}
.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  color: #333;
  padding: 10px 15px;
  flex-wrap: wrap;
}
.menu {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}
.menu li {
  position: relative;
  cursor: pointer;
}
.menu li a {
  text-decoration: none;
  color: #333;
}
.mega-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  padding: 20px;
  z-index: 10;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  grid-template-columns: repeat(7, 1fr);
  gap: 20px;
}
.has-mega:hover .mega-menu {
  display: grid;
}
.mega-menu .column {
  min-width: 144.5px;
}
.mega-menu a {
  display: block;
  margin-top: 5px;
  color: #333;
}
.phone-number {
  font-size: 0.9rem;
  font-weight: bold;
  margin-top: 10px;
}
 .menu-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
    display: block;
  }
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
  .bottom-bar {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .bottom-bar.show {
    display: flex;
    animation: slideDown 0.3s ease forwards;
  }
  .menu {
    flex-direction: column;
    width: 100%;
  }
  .search-input {
    display: none;
  }
  .search-container.active .search-input {
    display: block;
    position: absolute;
    top: 45px;
    width: 100%;
    background: #fff;
    z-index: 1000;
    animation: fadeInDown 0.3s ease forwards;
  }
  .mega-menu {
    position: relative;
    top: 0;
    box-shadow: none;
    padding: 10px;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    background: #f9f9f9;
  }
  .mega-menu .column {
    background: #fff;
    padding: 10px;
    border-radius: 5px;
  }
  .has-mega:hover .mega-menu {
    display: none;
  }
  .has-mega.active .mega-menu {
    display: grid !important;
  }
  .phone-number {
    display: block;
    margin-top: 15px;
  }
  .logo {
  width: 20%;
}
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideDown {
  from {
    height: 0;
    opacity: 0;
  }
  to {
    height: auto;
    opacity: 1;
  }
}
.hero {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: auto;
}
.left-column {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.right-column {
  flex: 2 1 65%;
  position: relative;
}
.banner,
.slider {
  border-radius: 16px;
  overflow: hidden;
}
.banner {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #007bff, #ff4e50);
}
.banner img {
  width: 40%;
  object-fit: cover;
}
.banner-content p{color:#FFFFFF;font-size: 18px;}
.banner-content {
  color: white;
  padding: 20px;
  flex: 1;
}
.buy-button.small {
  padding: 6px 12px;
  font-size: 12px;
  border: 1px solid white;
  background: transparent;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  transition: 0.3s;
}
.buy-button.small:hover {
  background: white;
  color: #007bff;
}
/* SLIDER BASE */
.slider {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  animation: fadeSlider 12s infinite;
}
.slide1 { animation-delay: 0s; }
.slide2 { animation-delay: 4s; }
.slide3 { animation-delay: 8s; }
@keyframes fadeSlider {
  0% { opacity: 0; }
  8% { opacity: 1; }
  25% { opacity: 1; }
  33% { opacity: 0; }
  100% { opacity: 0; }
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}
.slide-content {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: white;
  text-align: right;
  z-index: 2;
}
.slide-content {
  font-size: 28px;
  margin-bottom: 10px;
}
.slide-content p {
  font-size: 16px;
  margin-bottom: 15px;
}
.buy-button {
  padding: 10px 20px;
  border: 2px solid #ff4e50;
  background: transparent;
  color: #ff4e50;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.buy-button:hover {
  background: #ff4e50;
  color: white;
}
.btitle{font-size:23px}
/* ریسپانسیو */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding: 20px;
  }
  .left-column,
  .right-column {
    width: 100%;
  }
  .banner,
  .slider {
    height: 300px;
  }
}
@media (max-width: 768px) {
  .banner,
  .slider {
    height: 250px;
  }
  .slide-content h2 {
    font-size: 20px;
  }
  .slide-content p {
    font-size: 14px;
  }
  .buy-button {
    padding: 8px 16px;
    font-size: 14px;
  }
}
/* Reset box-sizing for all elements */
*,
*::before,
*::after {
  box-sizing: border-box;
}
/* Container for WooCommerce product grid */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 4 columns for larger screens */
  gap: 20px; /* Space between products */
  margin: 40px 0;
  padding: 0;
  list-style: none;
  width: 100%;
}
/* Styling each product item */
.woocommerce ul.products li.product {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%; /* Ensure each product item takes full available width */
  margin: 0; /* Remove extra margins */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
/* Hover effect for each product item */
.woocommerce ul.products li.product:hover {
  transform: translateY(-10px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}
/* Product image styling */
.woocommerce ul.products li.product img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
/* Product title */
.woocommerce ul.products li.product h2 {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 15px 0 10px;
}
/* Product price */
.woocommerce ul.products li.product .price {
  font-size: 16px;
  color: #E91E63;
  font-weight: 600;
}
/* Button for adding to cart */
.woocommerce ul.products li.product .add_to_cart_button {
  background-color: #cb6ce6;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
/* Hover effect for add-to-cart button */
.woocommerce ul.products li.product .add_to_cart_button:hover {
  background-color: #C2185B;
}
/* Media Query for Tablets (up to 1024px) */
@media (max-width: 1024px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets */
  }
}
/* Media Query for Mobile (up to 768px) */
@media (max-width: 768px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
  }
}
/* Reset clearfix applied to .woocommerce ul.products */
.woocommerce .products ul::after,
.woocommerce .products ul::before,
.woocommerce ul.products::after,
.woocommerce ul.products::before {
  content: none; /* Remove clearfix styles */
  display: none; /* Hide clearfix tables */
}
/* Optional: if you need to remove clearfix from all page products */
.woocommerce-page ul.products::after,
.woocommerce-page ul.products::before {
  content: none;
  display: none;
}
/* Override WooCommerce default styles that are applying width */
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product {
  width: 100% !important; /* Ensure no width conflicts */
}
.woo-category-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 30px auto;
    max-width: 1300px;
    padding: 0;
}
.woo-category-item {
    flex: 1 0 12.5%;
    max-width: 12.5%;
    text-align: center;
    padding: 15px 0;
    box-sizing: border-box;
}
/* دایره کوچک‌تر پشت عکس */
.woo-category-image-wrapper {
    width: 120px;
    height: 120px;
    background-color: #eee; /* خیلی کم‌رنگ */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 8px;
    position: relative;
    z-index: 1;
}
.woo-category-image-wrapper img {border-radius: 50%;
    max-width: 140px;
    max-height: 140px;
    position: relative;
    z-index: 2;
}
.woo-category-title {
    font-size: 15px;
    color: #333;
    margin: 0;
}
/* تبلت */
@media (max-width: 1024px) {
    .woo-category-item {
        flex: 1 0 25%;
        max-width: 25%;
        padding: 20px 0;
    }
    .woo-category-image-wrapper {
        width: 120px;
        height: 120px;
    }
    .woo-category-image-wrapper img {
        max-width: 140px;
        max-height: 140px;
    }
    .woo-category-title {
        font-size: 16px;
    }
}
/* موبایل */
@media (max-width: 600px) {
    .woo-category-item {
        flex: 1 0 50%;
        max-width: 50%;
        padding: 20px 0;
    }
    .woo-category-image-wrapper {
        width: 120px;
        height: 120px;
    }
    .woo-category-image-wrapper img {
        max-width: 140px;
        max-height: 140px;
    }
    .woo-category-title {
        font-size: 17px;
    }
}
/* Soft-UI Styling */
.softui-product-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
/* Prevent scrolling when modal is open */
body.modal-open {
  overflow: hidden;
}
/* Soft Card Styling */
.soft-card {
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.soft-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}
/* Product Header */
.product-header {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
/* Product Images */
.product-images {
  flex: 1;
  min-width: 300px;
}
.main-product-image img {
  border-radius: 10px;
  cursor: pointer;
}
.product-gallery {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.gallery-thumb {
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.gallery-thumb:hover {
  opacity: 0.8;
}
.gallery-thumb.selected {
  border: 2px solid #3498db;
}
/* Product Info */
.product-info {
  flex: 1;
  min-width: 300px;
}
.product-title {
  font-size: 28px;
  margin-bottom: 15px;
  color: #333;
}
.short-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}
.product-price {
  font-size: 24px;
  color: #e74c3c;
  margin-bottom: 20px;
}
.add-to-cart .button {
  background: #3498db;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  transition: background 0.3s ease;
}
.add-to-cart .button:hover {
  background: #2980b9;
}
.product-meta {
  font-size: 14px;
  color: #777;
}
/* Feature Section */
.feature-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.feature-section .soft-card {
  text-align: center;
  font-size: 16px;
  color: #333;
}
/* Product Description */
.product-description {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}
/* Related Products */
.related-products {
  padding: 20px;
}
/* Reviews */
.product-reviews {
  padding: 20px;
}
/* Consultation */
.product-consult {
  text-align: center;
}
.product-consult h3 {
  font-size: 20px;
  margin-bottom: 10px;
}
.product-consult a {
  color: #3498db;
  font-size: 18px;
  text-decoration: none;
}
.product-consult a:hover {
  text-decoration: underline;
}
/* Image Zoom Modal */
.image-zoom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.image-zoom-modal.active {
  display: flex;
}
.zoom-container {
  max-width: 90%;
  max-height: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
}
#zoomed-image {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  border-radius: 10px;
}
.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}
.site-footer {
  background: linear-gradient(to top, #fff, #fff); /* سفید ساده با امکان تغییر */
  border-top: 1px solid #eee;
  padding: 60px 20px 70px;
  text-align: center;
  color: #333;
}
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-logo img {
  max-height: 80px;
  margin-bottom: 30px;
}
.footer-info p {
  margin: 10px 0;
  color: #444;
}
.footer-info a {
  color: #f44336;
  text-decoration: none;
  font-weight: bold;
}
.footer-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
}
.badge img {
  max-height: 90px;
  object-fit: contain;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  border-radius: 12px;
  background: #fff;
  padding: 6px;
  border: 1px solid #ddd;
}
.badge img:hover {
  transform: scale(1.06);
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 64px;
  height: 64px;
  background-color: #25D366;
  border-radius: 50%;
  z-index: 9999;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounceIn 1s ease-out;
  transition: transform 0.3s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}
.whatsapp-float img {
  width: 32px;
  height: 32px;
  animation: pulser 2.5s infinite;
}
/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  bottom: 80px;
  right: -20px;
  background: #333;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
  white-space: nowrap;
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.whatsapp-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}
/* Close button */
.tooltip-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  margin-left: 6px;
}
/* Pulse Animation */
@keyframes pulser {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
  100% { transform: scale(1); opacity: 1; }
}
/* BounceIn Animation */
@keyframes bounceIn {
  0% {
    transform: translateY(100px) scale(0.3);
    opacity: 0;
  }
  60% {
    transform: translateY(-10px) scale(1.05);
    opacity: 1;
  }
  80% {
    transform: translateY(5px) scale(0.95);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
.search-page-container {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
}
.search-title {
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
}
.search-results {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.search-result {
  display: flex;
  flex-direction: row;
  gap: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: box-shadow 0.3s;
}
.search-result:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.search-thumbnail img,
.no-thumbnail {
  width: 180px;
  height: 130px;
  object-fit: cover;
  display: block;
}
.no-thumbnail {
  background: #eee;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.search-content {
  padding: 15px 20px;
  flex: 1;
}
.search-content h2 {
  font-size: 20px;
  margin: 0 0 8px;
}
.search-content .meta {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}
.search-content .read-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  color: #e63946;
}
.no-results {
  text-align: center;
  padding: 60px 20px;
  background: #fafafa;
  border-radius: 12px;
}
.pagination {
  margin-top: 40px;
  text-align: center;
}
/* استایل کلی فرم جستجو */
.upseo-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
  padding: 0 10px;
  z-index: 100;
}
#upseo-search {
 width: 100%;font-family: 'YekanBakhFaNum-Bold';
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
/* استایل نتایج جستجو */
.upseo-search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  max-height: 450px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 0.2s ease-in-out;
  display: none;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  z-index: 999;
}
/* وقتی نتایج فعال هستند */
.upseo-search-results.active {
  visibility: visible;
  opacity: 1;
  display: grid;
}
/* استایل هر آیتم نتیجه */
.upseo-search-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 8px;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  text-align: center;
  transition: 0.2s;
}
.upseo-search-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.upseo-search-item img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 6px;
}
.upseo-search-item-title {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 4px;
}
.upseo-search-item-price {
  font-size: 13px;
  color: #888;
}
/* دکمه نتایج بیشتر */
.upseo-search-more {
  grid-column: 1 / -1;
  margin-top: 10px;
  text-align: center;
}
.upseo-search-more button {
  padding: 8px 20px;
  background-color: #0073aa;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}
.upseo-search-more button:hover {
  background-color: #005f8d;
}
/* ریسپانسیو موبایل - یک ستونه کردن نتایج */
@media screen and (max-width: 767px) {
  .upseo-search-results.active {
    grid-template-columns: 1fr !important;
  }
}
.custom-quantity {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #f8f9fa;
            padding: 5px;
            border-radius: 8px;
            border: 1px solid #e0e0e0;
            width: fit-content;
            direction: rtl;
        }
        .custom-quantity .qty {
            width: 60px;
            height: 40px;
            text-align: center;
            border: none;
            background: #fff;
            border-radius: 5px;
            font-size: 16px;
            color: #333;
            box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
            -moz-appearance: textfield;
        }
        .custom-quantity .qty::-webkit-inner-spin-button,
        .custom-quantity .qty::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        .custom-quantity .quantity-minus,
        .custom-quantity .quantity-plus {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #007bff, #0056b3);
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease, transform 0.2s ease;
        }
        .custom-quantity .quantity-minus:hover,
        .custom-quantity .quantity-plus:hover {
            background: linear-gradient(135deg, #0056b3, #003d80);
            transform: scale(1.05);
        }
        .custom-quantity .quantity-minus:disabled,
        .custom-quantity .quantity-plus:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
        }
        .custom-quantity .quantity-minus svg,
        .custom-quantity .quantity-plus svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            stroke-width: 2;
        }
       
       
       
       
       
       
       
       
       
        .custom-quantity {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #f8f9fa;
            padding: 5px;
            border-radius: 8px;
            border: 1px solid #e0e0e0;
            width: fit-content;
            direction: rtl;
        }
        .custom-quantity .qty {
            width: 60px;
            height: 40px;
            text-align: center;
            border: none;
            background: #fff;
            border-radius: 5px;
            font-size: 16px;
            color: #333;
            box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
            -moz-appearance: textfield;
        }
        .custom-quantity .qty::-webkit-inner-spin-button,
        .custom-quantity .qty::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }
        .custom-quantity .quantity-minus,
        .custom-quantity .quantity-plus {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, #007bff, #0056b3);
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease, transform 0.2s ease;
        }
        .custom-quantity .quantity-minus:hover,
        .custom-quantity .quantity-plus:hover {
            background: linear-gradient(135deg, #0056b3, #003d80);
            transform: scale(1.05);
        }
        .custom-quantity .quantity-minus:disabled,
        .custom-quantity .quantity-plus:disabled {
            background: #ccc;
            cursor: not-allowed;
            transform: none;
        }
        .custom-quantity .quantity-minus svg,
        .custom-quantity .quantity-plus svg {
            width: 16px;
            height: 16px;
            stroke: currentColor;
            stroke-width: 2;
        }