@font-face {
  font-family: 'IRANYekanX';
  src: url('../fonts/IRANYekanX-Bold.woff2') format('woff2'),
       url('../fonts/IRANYekanX-Bold.woff') format('woff');
  font-style: normal;
  font-weight: 700;  /* Set font-weight to bold for the bold font */
  font-display: swap
}

@font-face {
  font-family: 'IRANYekanX';
  src: url('../fonts/IRANYekanX-Regular.woff2') format('woff2'),
       url('../fonts/IRANYekanX-Regular.woff') format('woff');
  font-style: normal;
  font-weight: 400;  /* Assuming this is the regular weight */
 font-display: swap
}


*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;  overflow-x: hidden;}
body {
  font-family: "IRANYekanX";
  cursor: default;
  direction: ltr;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  background-color: #fff;
  text-align: start;
   overflow-x:hidden; 
  overflow-y: auto;
	
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
}
.mce-content-body {
  font-family:  'IRANYekanX',sans-serif !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.post-content.single-content img
{
  border-radius: 2px;
}

figure {
    margin: 0;
}

p,
li {
  text-wrap: pretty;
}

.html-lazy {
  content-visibility: auto;
}


h1{
  font-size: 2rem;
  line-height: 1.5;
}
h2, h3,  h4,  h5, h6 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
}

a {

  text-decoration: none;
}


img {
  max-width: 100%;
  max-height: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  vertical-align: middle;
  transition: 0.4s;
}
.post-type-archive-product main,.tax-product_cat main,.single-product main
{
      background: #f6f0f4;
}





.swiper {
    width: 100%;
    height: 100%;
}

@media only screen and (min-width: 992px) {

  .main-page{
    margin-bottom: 100px;
  }
}

/* ============ Header / Main navigation ============
   Rebuilt to match chengyangchemical.com (RTL mirrored):
   - transparent overlay on the hero, turns solid white on scroll
   - hover dropdowns (desktop) aligned to the RIGHT edge of the parent
   - right-side slide-in drawer + submenu accordion (mobile)
   - header search toggle
   ================================================= */

/* ===== توکن‌های رنگ ===== */
:root{
  --sepka-navy:      #803266;
  --sepka-navy-deep: #5e2449;
  --sepka-muted:     #c591b4;
  --sepka-green:     #9a9a9a;
  --sepka-teal:      #737373;
  --sepka-teal-dark: #5e5e5e;
  --sepka-white:     #FFFFFF;
  --sepka-mist:      #f2ebef;
  --sepka-navy-card: #6e2b58;
  --sepka-header-h:  92px;
}

/* ===== پوسته هدر ===== */
.site-header{
  width:100%;
  z-index:100;
  transition:background .3s ease, box-shadow .3s ease, padding .3s ease;
}

/* حالت خانه: شناور روی اسلایدر */
.site-header--overlay{
  position:fixed;
  top:0; right:0; left:0;
      background-color: rgba(143,54,114, .5);
}

/* حالت بقیه صفحات: چسبان با پس‌زمینه سفید */
.site-header--solid{
  position:sticky;
  top:0;
  padding-bottom:5px;
  background:var(--sepka-white);
  box-shadow:0 6px 24px rgba(128,50,102,.08);
}

/* هدر شناور بعد از اسکرول → سفید و توپر */
.site-header--overlay.is-scrolled{

  background:var(--sepka-white);
  box-shadow:0 6px 24px rgba(128,50,102,.08);
}

.header-inner{
  margin:0 auto;
  min-height:var(--sepka-header-h);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;

}


/* ===== لوگو ===== */
.site-logo{ display:flex; align-items:center; flex-shrink:0; }
.site-logo a{ display:flex; align-items:center; }
.site-logo img{ height:45px; width:auto; display:block; transition:opacity .25s ease; }

/* جابجایی لوگوی روشن/تیره (دسکتاپ):
   لوگوی روشن فقط روی اسلایدر صفحه اصلی (هدر شناور و اسکرول‌نشده)،
   در بقیه حالت‌ها لوگوی تیره. !important برای غلبه بر کلاس‌های بوت‌استرپ لازم است. */
@media (min-width:992px){
  .site-logo .logo-light{ display:none  !important; }
  .site-logo .logo-dark { display:block !important; }
  .site-header--overlay:not(.is-scrolled) .site-logo .logo-light{ display:block !important; }
  .site-header--overlay:not(.is-scrolled) .site-logo .logo-dark { display:none  !important; }
}

/* ===== منوی اصلی (کانتینر) ===== */
.main-nav{
  display:flex;
  align-items:center;
}

/* ===== لیست منو ===== */
.main-nav__list{
  display:flex;
  align-items:center;
  gap:40px;
  list-style:none;
  margin:0;
  padding:0;
}
.main-nav__list li{ position:relative; }

.main-nav__list a{
  position:relative;
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px 0;
  font-size:16px;
  font-weight:600;
  line-height:calc(var(--sepka-header-h) - 12px);
  color:var(--sepka-white);
  text-decoration:none;
  white-space:nowrap;
  transition:color .2s ease, line-height .3s ease;
}

.site-header--solid .main-nav__list a{
  color:var(--sepka-navy);
  line-height:56px;
}
.site-header--overlay.is-scrolled .main-nav__list a{
  color:var(--sepka-navy);
 
}
/* زیرخط انیمیشنی — از سمت راست باز می‌شود (RTL) */
.main-nav__list > li > a::before{
  content:"";
  position:absolute;
  right:0; bottom:14px;
  width:100%; height:2px;
  background:var(--sepka-teal);
  transform:scaleX(0);
  transform-origin:right;
  transition:transform .28s ease;
}
.main-nav__list > li:hover > a::before,
.main-nav__list > li.current-menu-item > a::before,
.main-nav__list > li.current_page_item > a::before,
.main-nav__list > li.current-menu-parent > a::before,
.main-nav__list > li.current-menu-ancestor > a::before{ transform:scaleX(1); }

.main-nav__list > li:hover > a,
.main-nav__list > li.current-menu-item > a,
.main-nav__list > li.current_page_item > a,
.main-nav__list > li.current-menu-parent > a,
.main-nav__list > li.current-menu-ancestor > a{ color:var(--sepka-teal); }

/* فلش آیتم‌های دارای زیرمنو */
.main-nav__list .menu-item-has-children > a::after{
  content:"";
  width:7px; height:7px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:translateY(-2px) rotate(45deg);
  transition:transform .25s ease;
  flex-shrink:0;
}
.main-nav__list .menu-item-has-children:hover > a::after{ transform:translateY(1px) rotate(225deg); }

/* ===== زیرمنو — دسکتاپ (پنل سفید، تراز راست) ===== */
.main-nav__list .sub-menu{
  position:absolute;
  top:100%; left:0;
  min-width:230px;
  padding:8px 0;
  margin:0;
  list-style:none;
  background:var(--sepka-white);
  border-top:3px solid var(--sepka-teal);
  border-radius:0 0 6px 6px;
  box-shadow:0 20px 44px rgba(128,50,102,.16);
  opacity:0;
  visibility:hidden;
  transform:translateY(12px);
  transition:opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index:20;
}
.main-nav__list li:hover > .sub-menu{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.main-nav__list .sub-menu li{ position:relative; }
.main-nav__list .sub-menu a{
  display:block;
  padding:11px 22px;
  font-size:15px;
  font-weight:500;
  line-height:1.7;
  color:var(--sepka-navy);
     text-align: left;
  transition:color .2s ease, background .2s ease;
}
.main-nav__list .sub-menu a:hover{
  color:var(--sepka-teal);
  background:#f5f5f5;
}

/* دکمه آکاردئون زیرمنو — فقط موبایل */
.submenu-toggle{
  display:none;
  width:40px; height:40px;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  cursor:pointer;
}
.submenu-toggle::before{
  content:"";
  display:block;
  width:8px; height:8px;
  margin:0 auto;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg);
  transition:transform .25s ease;
}
.menu-item-has-children.is-open > .submenu-toggle::before{ transform:rotate(-135deg); }

/* ===== اکشن‌های سمت چپ هدر ===== */
.header-actions{
  display:flex;
  align-items:center;
  gap:16px;
  flex-shrink:0;
}

/* دکمه جستجو */
.header-search-wrap{
  position:relative;
  display:flex;
  align-items:center;
}
.header-search{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:42px; height:42px;
  padding:0;
  border:0;
  border-radius:50%;
  background:transparent;
  color:var(--sepka-white);
  cursor:pointer;
  transition:color .2s ease, background .2s ease;
}
.site-header--overlay.is-scrolled .header-search,
.site-header--solid .header-search{ color:var(--sepka-navy); }
.header-search:hover{ color:var(--sepka-teal); }
.header-search svg{ width:20px; height:20px; }

.header-search__form{
  position:absolute;
  top:calc(100% + 14px);
  right:0;
  display:flex;
  align-items:center;
  width:min(320px, 78vw);
  max-width:0;
  padding:0;
  overflow:hidden;
  background:var(--sepka-white);
  border-radius:8px;
  box-shadow:0 20px 44px rgba(128,50,102,.18);
  opacity:0;
  visibility:hidden;
  transition:max-width .3s ease, opacity .25s ease, visibility .25s ease, padding .3s ease;
}
.header-search__form.is-open{
  max-width:min(320px, 78vw);
  padding:8px;
  opacity:1;
  visibility:visible;
}
.header-search__form input[type="search"]{
  flex:1;
  min-width:0;
  height:40px;
  padding:0 12px;
  border:0;
  outline:0;
  background:transparent;
  font:inherit;
  color:var(--sepka-navy);

}
.header-search__form button{
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  width:40px; height:40px;
  border:0;
  border-radius:6px;
  background:var(--sepka-teal);
  color:#fff;
  cursor:pointer;
}
.header-search__form button svg{ width:18px; height:18px; }

/* ===== چیپ تماس ===== */
.contact-chip{
  display:flex;
  align-items:center;
  gap:10px;
  padding:11px 24px;
  border-radius:66px;
  background:var(--sepka-navy);
  text-decoration:none;
  flex-shrink:0;
  transition:background .25s ease;
}
.site-header--overlay.is-scrolled .contact-chip,
.site-header--solid .contact-chip{ background:#f6f0f4; }
.contact-chip:hover{ background:var(--sepka-teal); }
.contact-chip__icon{
  display:flex;
  width:22px; height:22px;
  color:var(--sepka-teal);
}
.site-header--overlay.is-scrolled .contact-chip:hover .contact-chip__icon,
.site-header--solid .contact-chip:hover .contact-chip__icon,
.contact-chip:hover .contact-chip__icon{ color:#fff; }
.contact-chip__icon svg{ width:100%; height:100%; }
.contact-chip__text{
  display:flex;
  flex-direction:column;
  gap:5px;
}
.contact-chip__label{
  font-size:11px;
  line-height:1;
  color:var(--sepka-muted);
  text-align:right;
}
.contact-chip__number{
  font-size:14px;
  line-height:1;
  color:var(--sepka-white);
  direction:ltr;
}
.site-header--overlay.is-scrolled .contact-chip__number,
.site-header--solid .contact-chip__number{ color:var(--sepka-navy); }
.site-header--overlay.is-scrolled .contact-chip:hover .contact-chip__number,
.site-header--solid .contact-chip:hover .contact-chip__number,
.site-header--overlay.is-scrolled .contact-chip:hover .contact-chip__label,
.site-header--solid .contact-chip:hover .contact-chip__label{ color:#fff; }

/* ===== نوار بالای هدر — تلفن/ایمیل/درخواست قیمت ===== */
.topbar{
  background:var(--sepka-navy);
  border-bottom:1px solid rgba(255,255,255,.1);
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding-top: 8px;
    padding-bottom: 8px;
}
.topbar-contacts{
  display:flex;
  align-items:center;
  gap:26px;
}
.topbar-item{
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--sepka-white);
  font-size:13px;
  text-decoration:none;
  opacity:.88;
  transition:opacity .2s ease, color .2s ease;
}
.topbar-item:hover{ opacity:1; color:var(--sepka-teal); }
.topbar-item svg{ width:15px; height:15px; flex-shrink:0; }
.topbar-item span{ direction:ltr; }

.topbar-quote{
  display:flex;
  align-items:center;
  gap:8px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--sepka-white);
  font:inherit;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  transition:color .2s ease;
}
.topbar-quote:hover{ color:var(--sepka-teal); }
.topbar-quote svg{ width:15px; height:15px; }

/* روی هیرو (هنوز اسکرول نشده): نوار بالا + ردیف منو هر دو با پس‌زمینه شیشه‌ای آبی */
.site-header--overlay:not(.is-scrolled) .topbar{
  background:rgb(16 42 70 / 6%);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  border-bottom-color:rgba(255,255,255,.16);
}



.topbar,
.header-inner{ transition:background .3s ease; }

/* چیپ تماس قدیمی جای خودش را به نوار بالا داده */
.contact-chip{ display:none; }

@media (max-width:991px){

.site-header--overlay .main-nav__list a{
  line-height:56px;
}
.site-header--overlay .main-nav__list ul a{
  line-height:auto;
}

  /* موبایل همیشه مثل حالت اسکرول‌شده دسکتاپ: نوار آبی + منوی سفید (هم برای هدر شناور صفحه اصلی و هم صفحات داخلی) */
  .site-header--overlay,
  .site-header--overlay.is-scrolled,
  .site-header--solid{ background:var(--sepka-white); }
  .site-header--overlay .topbar,
  .site-header--overlay.is-scrolled .topbar,
  .site-header--overlay:not(.is-scrolled) .topbar,
  .site-header--solid .topbar{
    background:var(--sepka-navy);
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
  .site-header--overlay .header-inner,
  .site-header--overlay.is-scrolled .header-inner,
  .site-header--solid .header-inner{
    background:transparent;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
  .site-header--overlay .main-nav:not(.is-open) .main-nav__list a,
  .site-header--overlay.is-scrolled .main-nav:not(.is-open) .main-nav__list a,
  .site-header--solid .main-nav:not(.is-open) .main-nav__list a{ color:var(--sepka-navy); }
}
@media (max-width:575px){
  .topbar-item span{ display:none; }
  .topbar-quote span{ display:none; }
  .topbar-contacts{ gap:16px; }
}

/* ===== پاپ‌آپ درخواست قیمت ===== */
.quote-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  visibility:hidden;
  opacity:0;
  transition:opacity .25s ease, visibility .25s ease;
}
.quote-modal.is-open{ visibility:visible; opacity:1; }
.quote-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(128,50,102,.55);
}
.quote-modal__panel{
  position:relative;
  width:min(480px, 100%);
  max-height:88vh;
  overflow-y:auto;
  background:#fff;
  border-radius:16px;
  padding:32px 28px;
  transform:translateY(16px);
  transition:transform .25s ease;
  box-shadow:0 30px 80px rgba(128,50,102,.35);
}
.quote-modal.is-open .quote-modal__panel{ transform:translateY(0); }
.quote-modal__close{
  position:absolute;
  top:16px; left:16px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px; height:32px;
  padding:0;
  border:0;
  border-radius:50%;
  background:#f6f0f4;
  color:var(--sepka-navy);
  cursor:pointer;
  transition:background .2s ease, color .2s ease;
}
.quote-modal__close:hover{ background:var(--sepka-teal); color:#fff; }
.quote-modal__title{
  margin:0 0 20px;
  font-size:20px;
  font-weight:800;
  color:var(--sepka-navy);
  text-align:center;
}

/* فرم تماس داخل پاپ‌آپ */
.quote-modal__body .form-group{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin-bottom:16px;
}
.quote-modal__body .wpcf7-form-container{ width:100%; }
.quote-modal__body input,
.quote-modal__body textarea{
  width:100%;
  border:1px solid #eae1e7;
  border-radius:8px;
  background:#fbf8fa;
  padding:11px 14px;
  font:inherit;
  font-size:14px;
  color:var(--sepka-navy);
  outline:0;
  transition:border-color .2s ease;
}
.quote-modal__body input:focus,
.quote-modal__body textarea:focus{ border-color:var(--sepka-teal); }
.quote-modal__body textarea{ min-height:110px; resize:vertical; }
.quote-modal__body .error-message{
  display:none;
  color:#E24C4B;
  font-size:12px;
  margin-top:2px;
}
.quote-modal__body .wpcf7-submit{
  width:100%;
  padding:12px;
  border:0;
  border-radius:8px;
  background:var(--sepka-teal);
  color:#fff;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  transition:background .2s ease;
}
.quote-modal__body .wpcf7-submit:hover{ background:var(--sepka-teal-dark); }
.quote-modal__body #loader{ text-align:center; margin-top:10px; color:var(--sepka-muted); font-size:13px; }
.quote-modal__body #response{ text-align:center; margin-top:10px; font-size:14px; }

body.quote-modal-open{ overflow:hidden; }

/* ===== دکمه همبرگری (فقط موبایل) ===== */
.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
   height:44px;
  padding:0;
  border:0;
  border-radius:10px;
  background:transparent;
  cursor:pointer;
}
.nav-toggle span{
  display:block;
  width:22px; height:2px;
  margin:0 auto;
  background:var(--sepka-navy);
  border-radius:2px;
  transition:transform .3s ease, opacity .3s ease;
}
.nav-toggle.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* دکمه بستن منوی موبایل */
.nav-close{
  display:none;
  position:absolute;
  top:18px; left:18px;
  width:36px; height:36px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--sepka-white);
  cursor:pointer;
}

/* ===== پوشش تیره پشت منوی موبایل ===== */
.nav-overlay{
  position:fixed; inset:0;
  background:rgba(0,0,0,.55);
  opacity:0; visibility:hidden;
  transition:opacity .3s ease, visibility .3s ease;
  z-index:98;
}
.nav-overlay.is-visible{ opacity:1; visibility:visible; }

/* آفست محتوای صفحات داخلی زیر هدر چسبان لازم نیست چون sticky در جریان است */

/* جبران نوار مدیریت وردپرس برای کاربران واردشده */
.admin-bar .site-header--overlay{ top:32px; }
@media screen and (max-width:991px){
  .admin-bar .site-header--overlay{ top:0px; }
}

/* ===================== موبایل و تبلت (≤ 991px) ===================== */
@media (max-width: 991px){

  :root{ --sepka-header-h:60px; }

  /* روی موبایل هدر همیشه سفید و توپر است */
  .site-header--overlay,
  .site-header--overlay.is-scrolled,
  .site-header--solid{
    position:sticky;
    top:0;
      padding-bottom:8px;
    background:var(--sepka-white);
    box-shadow:0 4px 18px rgba(128,50,102,.10);
  }

  .header-inner{
    min-height:56px;
    gap:10px;
  }

  /* ترتیب: همبرگری راست، لوگو وسط، اکشن‌ها چپ */
  .nav-toggle{ display:flex; order:1; }
  .site-logo{ order:2; margin-inline:auto; }
  .header-actions{ order:3; gap:8px; }

  /* روی موبایل فقط لوگوی .logo-mobile نمایش داده می‌شود (کلاس‌های بوت‌استرپ) */

  /* دکمه جستجوی گرد فیروزه‌ای */
  .header-search{
    width:40px; height:40px;
    background:var(--sepka-teal);
    color:#fff;
  }
  .header-search:hover{ background:var(--sepka-teal-dark); color:#fff; }
  .header-search__form{ left:auto; right:0; }

  /* چیپ تماس → فقط آیکون */
  .contact-chip{
    width:40px; height:40px;
    padding:0;
    justify-content:center;
    background:#f6f0f4;
  }
  .contact-chip__text{ display:none; }
  .contact-chip__icon{ color:var(--sepka-teal); }

  /* منو → کشوی کناری از سمت راست */
  .main-nav{
    position:fixed;
    top:0; right:0;
    width:300px; max-width:84vw;
    height:100vh;
    height:100dvh;
    flex-direction:column;
    align-items:stretch;
    margin:0;
    padding:84px 24px 32px;
    background:var(--sepka-navy-deep);
    transform:translateX(100%);
    transition:transform .3s ease;
    z-index:99;
    overflow-y:auto;
  }
  .main-nav.is-open{ transform:translateX(0); }
  .nav-close{ display:flex; align-items:center; justify-content:center; }

  .main-nav__list{
    flex-direction:column;
    align-items:stretch;
    gap:0;
    width:100%;
  }
  .main-nav__list li{
    border-bottom:1px solid rgba(197,145,180,.16);
  }
  .main-nav__list a{
    color:var(--sepka-white)!important;
    font-size:16px;
    line-height:1.6;
    padding:0;
  }
  .main-nav__list > li > a::before{ display:none; }
  .main-nav__list .menu-item-has-children > a::after{ display:none; }

  /* ردیف عنوان + دکمه آکاردئون */
  .main-nav__list .menu-item-has-children > a{
    display:flex;
    justify-content:space-between;
  }
  .submenu-toggle{
    display:block;
    position:absolute;
    top:4px; right:0;
    width:44px; height:44px;
    color:var(--sepka-white);
  }

  /* زیرمنو → آکاردئون */
  .main-nav__list .sub-menu{
    position:static;
    min-width:0;
    max-height:0;
    padding:0;
    border:0;
    border-radius:0;
    box-shadow:none;
    background:transparent;
    opacity:1;
    visibility:visible;
    transform:none;
    overflow:hidden;
    transition:max-height .3s ease;
  }
  .main-nav__list .menu-item-has-children.is-open > .sub-menu{
    max-height:640px;
    padding:2px 14px 10px;
  }
  .main-nav__list .sub-menu a{
    color:var(--sepka-muted);
    font-size:15px;
    padding:11px 0;
  }
  .main-nav__list .sub-menu a:hover{ background:transparent; color:var(--sepka-white); }
  .main-nav__list .sub-menu li{ border-bottom:0; }
}

@media (max-width: 575px){
  .site-logo img{ height:30px; }
}
/*------------ footer (سبک chengyangchemical.com) ------------*/
.ft{
    background:#8a346d;
    color:#c893b6;
    padding:60px 0 0;
    font-size:14px;
    line-height:1.9;
}

/* --- ردیف بالا: لوگو (چپ) + شبکه‌های اجتماعی (راست) --- */
.ft-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:20px;
    padding-bottom:44px;
}
.ft-logo{ display:block; max-width:190px; }
.ft-logo img{ width:100%; height:auto; display:block; }

.ft-social{
    display:flex;
    align-items:center;
    gap:14px;
    margin:0; padding:0;
    list-style:none;
}
.ft-social a{
    display:flex; align-items:center; justify-content:center;
    width:44px; height:44px;
    border:1.5px solid rgba(255,255,255,.35);
    border-radius:50%;
    transition:background .25s ease, border-color .25s ease;
}
.ft-social a:hover{ background:var(--sepka-teal); border-color:var(--sepka-teal); }
.ft-social img{ width:18px; height:18px; object-fit:contain; }

/* --- ردیف ستون‌ها --- */
.ft-grid{
    display:flex;
    flex-wrap:wrap;
    gap:40px 48px;
    padding-bottom:56px;
}
.ft-col{ flex:1 1 160px; min-width:0; }
.ft-col--contact{ flex:1 1 320px; max-width:360px; }

/* ستون ۱ — اطلاعات تماس */
.ft-contact{ margin-bottom:26px; }
.ft-contact:last-child{ margin-bottom:0; }
.ft-contact__label{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:8px;
    font-size:15px;
    font-weight:700;
    color:#fff;
}
.ft-contact__label svg{ width:20px; height:20px; color:var(--sepka-green); flex-shrink:0; }
.ft-contact__label--wa svg{ color:#25D366; }
.ft-contact__value{
    display:block;
    color:#e4d5df;
    font-weight:700;
    font-size:18px;
    word-break:break-word;
    transition:color .2s ease;
}
a.ft-contact__value:hover{ color:#fff; }
.ft-contact__value--lg{ font-size:20px; }
.ft-contact__value--sm{ font-size:14px; font-weight:400; color:#c893b6; line-height:1.8; }

/* ستون‌های ۲ تا ۴ — عنوان + لینک‌ها */
.ft-col-title{
    position:relative;
    margin:0 0 22px;
    padding-bottom:14px;
    font-size:19px;
    font-weight:700;
    color:#fff;
}
.ft-col-title::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:28px; height:3px;
    background:var(--sepka-green);
    border-radius:2px;
}
.ft-list{ margin:0; padding:0; list-style:none; }
.ft-list li{ margin-bottom:12px; }
.ft-list li:last-child{ margin-bottom:0; }
.ft-list a,
.ft-list span{
    color:#c893b6;
    transition:color .2s ease;
}
.ft-list a:hover{ color:#fff; }

/* --- کپی‌رایت --- */
.ft-copy{
    background:#843269;
    border-top:1px solid rgba(255,255,255,.07);
    padding:14px 0;
    font-size:12px;
    color:#7f90b4;
}
.ft-copy .container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    flex-wrap:wrap;
}
.ft-copy .text-left a{
    display:inline-flex;
    align-items:center;
    gap:6px;
    color:#c893b6;
    transition:color .2s ease;
}
.ft-copy .text-left a:hover{ color:#fff; }

/* --- تبلت / موبایل --- */
@media (max-width:1199px){
    .ft-col--contact{ flex-basis:100%; max-width:none; }
}
@media (max-width:991px){
    .ft{ padding-top:48px; }
    .ft-head{ justify-content:center; padding-bottom:32px; }
    .ft-grid{ gap:32px 40px; padding-bottom:40px; }
    .ft-col{ flex:1 1 44%; }
    .ft-copy .container{ flex-direction:column; text-align:center; gap:8px; }
}
@media (max-width:575px){
    .ft-col{ flex-basis:100%; }
    .ft-social a{ width:40px; height:40px; }
}

/*---------------breadcrumb---------------------*/

.rank-math-breadcrumb{
  border-radius: 5px;
  line-height: 50px;

}

.rank-math-breadcrumb .last {
  color: #212529;
}
.bread-crump {
   
background-color: #ffffff;
    border-top: 0px solid;
    line-height: 1.7;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    display-radio: flex;
    padding-top: 0px;
    padding-bottom: 0px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: rgba(0, 0, 0, 0.1);
    padding-top: 20px;
    padding-bottom: 20px;

}
  @media (max-width: 991px){
.bread-crump {
    padding-top: 10px;
    padding-bottom: 10px;
}

  }

.rank-math-breadcrumb, .rank-math-breadcrumb p {
 
  height: 100%;
   margin-bottom: 0 !important;
 
 color: #6c757d;;
  flex-wrap: wrap;
	line-height: 1.7;

}
.rank-math-breadcrumb p * {
  font-weight: 400;
  font-size: 13px;
  line-height: 1.7;
 color: #6c757d;;
  text-transform: capitalize;
}
.rank-math-breadcrumb p a:hover {
  color: var(--primery);
}
.rank-math-breadcrumb p > a:first-child::before{
  content:"";
  display:inline-block;
  width:16px;
  height:16px;
  margin-inline-end:6px;
  vertical-align:-2px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 1024'%3E%3Cpath fill='%2321cdc0' d='M512.546 86.050c0 0-12.561-0.546-24.030 7.1-12.015 8.192-462.029 380.109-462.029 380.109s-32.768 25.668 2.731 70.997 74.82 3.823 74.82 3.823l407.962-359.356 414.515 364.817c0 0 36.591 30.583 70.451-11.469 33.86-42.598-3.277-72.090-3.277-72.090l-121.242-99.942v-175.309h-164.932v39.868l-168.209-139.81c0 0-10.923-9.83-26.761-8.738z'/%3E%3Cpath fill='%2321cdc0' d='M512.546 241.152l-410.146 357.171v300.919l333.141 0.546v-246.306l152.917 1.638v244.122l333.141 0.546v-300.919z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.separator{
  color: #CBCBCB!important;
  font-family: monospace;

  }

/*--------403 404----------*/

/*----------------------*/
.error-section {
  width: 100%;
  min-height: 0;
  margin-top: 0;
  padding: 40px 0 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
	
}
.main-page:has(.error-section){ margin-bottom: 0; }
.error-section figure {
  width: 100%;
  max-height: 500px;
  display: flex;
  justify-content: center;
}


.error-section figure img {
  max-height: 500px;
  max-width: 80%;
}


.error-page-button {
  text-align: center;
}

.error-section span {
     font-size: 22px;
    color: #000;
    text-align: center;
    font-weight: 700;
    margin: 16px 0;
    display: flex;
    justify-content: center;
}
.search-form form input.s-text{
  width: calc(100% - 25px);
  padding: 5px 10px;
  font-size: 1rem;
  height: 100%;
  border: 0;
  outline: 0;
   background: #EDEDED;
}
.search-form form button{
 background: #EDEDED;
  border: none;
  color: var(--primery);
  font-size: 1.3rem;
}
.search-form form{
  border: 1px solid #EDEDED;
      background: #EDEDED;
      width: 234px;
  height: 36px;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.active>.page-link, .page-link.active {
    z-index: 3;
    color: #fff !important;
    background-color: #542042;
    border-color: #542042;
}
/*--------------blog / Blogs & Event--------------*/
.nw-section{
    padding:80px 0;
    background:#fff;
}

/* --- سربرگ وسط‌چین --- */
.nw-head{
    text-align:center;
    margin-bottom:46px;
}
.nw-title{
    margin:0 0 12px;
    font-size:clamp(26px, 3.4vw, 40px);
    font-weight:800;
    color:var(--sepka-navy);
}
.nw-sub{
    margin:0 0 14px;
    font-size:16px;
    color:var(--sepka-muted);
}
.nw-all{
    display:inline-block;
    font-size:14px;
    font-weight:600;
    color:var(--sepka-teal);
    border-bottom:1px solid currentColor;
    transition:color .2s ease;
}
.nw-all:hover{ color:var(--sepka-teal-dark); }

/* --- چیدمان: کارت شاخص + اسلایدر --- */
.nw-body{
    display:flex;
    gap:26px;
    align-items:stretch;
}
.nw-featured{ flex:0 0 46%; max-width:46%; }
.nw-slider-wrap{ flex:1; min-width:0; }

/* --- کارت شاخص --- */
.nw-featured{
    position:relative;
    min-height:460px;
    border-radius:18px;
    overflow:hidden;
    background:var(--sepka-navy-deep) center/cover no-repeat;
}
.nw-featured-link{ display:block; height:100%; }
.nw-featured::after{
    content:'';
    position:absolute; inset:0;
    background:linear-gradient(to top, rgba(84,32,66,.92) 12%, rgba(84,32,66,0) 62%);
}
.nw-featured-body{
    position:absolute;
    inset:auto 0 0 0;
    z-index:2;
    padding:30px 32px 34px;
    text-align:right;
}
.nw-featured .nw-date{
    display:block;
    margin-bottom:10px;
    font-size:13px;
    color:rgba(255,255,255,.8);
}
.nw-featured-title{
    display:block;
    margin:0;
    font-size:21px;
    font-weight:800;
    line-height:1.75;
    color:#fff;
}
.nw-cat{
    position:absolute;
    top:22px; right:22px;
    z-index:3;
    padding:7px 18px;
    border-radius:999px;
    background:rgba(255,255,255,.22);
    -webkit-backdrop-filter:blur(4px);
    backdrop-filter:blur(4px);
    color:#fff;
    font-size:13px;
    line-height:1;
}

/* --- کارت کوچک --- */
.nw-slider{ overflow:hidden; }

.nw-card-thumb{
    position:relative;
    display:block;
    height:230px;
    overflow:hidden;
    border-radius:16px;
    background:#EEF1F5;
}
.nw-card-thumb img{
    width:100%; height:100%;
    object-fit:cover;
    transition:transform .5s ease, border-radius .35s ease;
}
.nw-card:hover .nw-card-thumb img{
    transform:scale(1.05);
    border-radius:0 0 47px 0;
}

.nw-card-thumb::after{
    content:'';
    position:absolute;
    right:-1px; bottom:-1px;
    width:56px; height:44px;
    background-image:url('../image/card-corner-notch.png?v=2');
    background-repeat:no-repeat;
    background-position:bottom right;
    background-size:contain;
    border-bottom-right-radius:16px;
    transform-origin:100% 100%;
    transform:scale(0);
    transition:transform .35s ease;
    pointer-events:none;
}
.nw-card:hover .nw-card-thumb::after{ transform:scale(1); }

.nw-card .nw-date{
    display:block;
    margin:16px 0 8px;
    font-size:13px;
    color:var(--sepka-muted);
}
.nw-card-title{
    display:-webkit-box;
    margin:0 0 10px;
    font-size:17px;
    font-weight:800;
    line-height:1.8;
    color:var(--sepka-navy);
    -webkit-line-clamp:2;
    line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.nw-card-title a{ color:inherit; }
.nw-card-excerpt{
    margin:0;
    font-size:13px;
    line-height:2;
    color:var(--sepka-muted);
    display:-webkit-box;
    -webkit-line-clamp:3;
    line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

@media (max-width:991px){
    .nw-section{ padding:54px 0; }
    .nw-head{ margin-bottom:32px; }
    .nw-body{ flex-direction:column; }
    .nw-featured{ flex:0 0 auto; max-width:100%; min-height:320px; }
}

/* ظرف تصویر کارت — نقطه‌ی مرجع positioning برای نشان دسته‌بندی روی تصویر */
.nw-card-media{ position:relative; }
.nw-cat--card{ position:absolute; top:14px; right:14px; }

/* لینک «بیشتر بخوانید» */
.nw-more{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-top:4px;
    font-size:13px;
    font-weight:700;
    color:var(--sepka-teal-dark);
    transition:gap .2s ease;
}
.nw-more svg{ flex-shrink:0; transform:scaleX(-1); }
.nw-more:hover{ gap:12px; color:var(--sepka-navy); }

/* --- تب دسته‌بندی‌های بلاگ + برد کرامب --- */
.nw-tabs-sec{ padding:0; background:var(--sepka-mist); border-bottom:1px solid #ebe1e8; }
.nw-tabs-sec__inner{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:18px 0;
}
.nw-tabs-sec__bread{ flex-shrink:0; }
.nw-tabs-sec__bread .rank-math-breadcrumb,
.nw-tabs-sec__bread .rank-math-breadcrumb p{ line-height:1.7; margin:0 !important; }
.nw-tabs{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
}
.nw-tab{
    display:inline-flex;
    align-items:center;
    padding:10px 22px;
    border-radius:999px;
    background:#fff;
    color:var(--sepka-navy);
    font-size:13px;
    font-weight:700;
    transition:background .2s ease, color .2s ease;
}
.nw-tab:hover{ background:var(--sepka-navy); color:#fff; }
.nw-tab.is-active{ background:var(--sepka-teal); color:#fff; }

/* --- عنوان/توضیح صفحه‌ی آرشیو دسته‌بندی --- */
.nw-cat-title{
    margin:36px 0 12px;
    font-size:28px;
    font-weight:800;
    color:var(--sepka-navy);
}
.nw-cat-desc{
    margin:0 0 10px;
    font-size:14px;
    line-height:2;
    color:var(--sepka-muted);
}

/* --- ردیف اول: سه پست کنار هم (کارت‌ها مطابق طرح مرجع) --- */
.nw-featured-row{ margin-top:44px; }
.nw-featured-row .col-lg-4{ display:flex; }
.nw-featured-row .nw-card{
    display:flex;
    flex-direction:column;
    width:100%;
    padding:24px;
    border-radius:18px;
    background:var(--sepka-mist);
        text-align: left;
        box-shadow: 0px 0px 20px 0px rgb(29 56 75 / 0%);
    transform: translateY(0);
    transition: all .5s ease;
}
.nw-featured-row .nw-card:hover
{
  transform: translateY(-10px);
    background: #ffffff;
    box-shadow: 0px 10px 30px 10px rgb(0 0 0 / 10%);
}



.nw-featured-row .nw-card-date{
    display:block;
    margin:0 0 14px;
    font-size:13px;
    color:var(--sepka-muted);
}
.nw-featured-row .nw-card-title{
    margin:0 0 18px;
    font-size:19px;
    font-weight:800;
    line-height:1.5;
    color:var(--sepka-navy);
    display:-webkit-box;
    -webkit-line-clamp:2;
    line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    text-align: left;
}
.nw-featured-row .nw-card-media{ margin:0 0 18px; }
.nw-featured-row .nw-card-thumb{ height:220px; border-radius:12px; }
.nw-featured-row .nw-card-excerpt{
    flex:1;
    margin:0 0 20px;
    font-size:14px;
    line-height:1.9;
    color:rgba(128,50,102,.72);
    -webkit-line-clamp:3;
    line-clamp:3;
}
.nw-featured-row .nw-more{
    display:flex;
    width:100%;
    align-items:center;
    gap:14px;
    padding-top:16px;
    border-top:1px solid rgba(128,50,102,.12);
    justify-content: space-between;
}

.nw-featured-row .nw-more__circle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    width:26px;
    height:26px;
    border-radius:50%;
    border:1.5px solid var(--sepka-teal);
    color:var(--sepka-teal);
    transition:background .2s ease, color .2s ease;
}
.nw-featured-row .nw-more:hover{ gap:14px; }
.nw-featured-row .nw-more:hover .nw-more__circle{ background:var(--sepka-teal); color:#fff; }


/* --- بقیه‌ی پست‌ها: زیر هم (ردیف‌های مطابق طرح مرجع) --- */
.nw-list{
    display:flex;
    flex-direction:column;
    gap:16px;
    margin-top:20px;
}
.nw-row{
    display:flex;
    align-items:center;
    gap:28px;
    padding:26px 30px;
    border-radius:16px;
    background:var(--sepka-mist);
}
.nw-row-thumb{
    display:block;
    flex:0 0 220px;
    width:220px;
    height:150px;
    border-radius:12px;
    overflow:hidden;
    background:#ebe1e8;
}
.nw-row-thumb img{
    width:100%; height:100%;
    object-fit:cover;
    transition:transform .5s ease;
}
.nw-row:hover .nw-row-thumb img{ transform:scale(1.05); }

.nw-row-body{ flex:1; min-width:0; }
.nw-row-title{
    margin:0 0 10px;
    font-size:19px;
    font-weight:800;
    line-height:1.6;
    color:var(--sepka-navy);
}
.nw-row-title a{ color:inherit; }
.nw-row-title a:hover{ color:var(--sepka-teal-dark); }
.nw-row-excerpt{
    margin:0;
    font-size:14px;
    line-height:1.95;
    color:rgba(128,50,102,.7);
    display:-webkit-box;
    -webkit-line-clamp:2;
    line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.nw-row-date{
    flex:0 0 auto;
    font-size:13px;
    color:var(--sepka-muted);
    white-space:nowrap;
}

/* --- متای پست (تاریخ/بازدید) --- */
.nw-meta{
    display:flex;
    align-items:center;
    gap:18px;
    margin-bottom:12px;
}
.nw-meta-item{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-size:12.5px;
    color:var(--sepka-muted);
}
.nw-meta-item svg{ flex-shrink:0; }

@media (max-width:767px){
    .nw-row{ flex-wrap:wrap; gap:16px; padding:20px 22px; }
    .nw-row-thumb{ flex:0 0 100%; width:100%; height:180px; }
    .nw-row-date{ flex:0 0 auto; }
}

@media (max-width:575px){
    .nw-tab{ padding:8px 16px; font-size:12px; }
}

/*--------pagination----------------------------*/
  /*----------------------------------*/

.pagination
{
  width: 100%;
    margin-top: 24px;
    margin-bottom: 24px;
    display: flex;
     justify-content: center;
        align-items: center;
}

.pagination span, .pagination a {

  height: 30px;
  width: 30px;
  border-radius: 5px;
  border: 1px solid var(--gray);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  margin: 6px 6px;
  display: flex
;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--gray);
}

.page-numbers.current {
 border: 0px solid #a54485 !important;
    color: #fff !important;
    background-color: #a54485 !important;
}
.woocommerce nav.woocommerce-pagination ul li a{
color: #000;
}
.next.page-numbers,.prev.page-numbers{
  width: 50px;

} 
/*------ Product Center — card slider ------*/

.em-section{
    padding:78px 0;
      background: rgb(225 233 240);
}

/* --- سربرگ وسط‌چین --- */
.em-head{
    text-align:center;
    margin-bottom:40px;
}
.em-sub{
    display:block;
    margin-bottom:8px;
    font-size:15px;
    font-weight:600;
    color:var(--sepka-teal);
}
.em-title{
    margin:0;
    font-size:clamp(24px, 3.2vw, 36px);
    font-weight:800;
    color:var(--sepka-navy);
}

/* --- اسلایدر --- */
.em-slider-wrap{ position:relative; }
.em-slider{ overflow:hidden; padding:4px; margin:-4px; }
.em-slider .swiper-slide{ height:auto; }

.em-card{
    display:flex;
    flex-direction:column;
    align-items:center;
    height:100%;
    padding:26px 22px 24px;
    text-align:center;
    background:#fff;
    border-radius:16px;
    box-shadow:0 10px 30px rgba(128,50,102,.07);
    transition:transform .25s ease, box-shadow .25s ease;
}
.em-card:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 40px rgba(128,50,102,.13);
}
.em-card-title{
    display:block;
    margin:0 0 16px;
    font-size:19px;
    font-weight:800;
    line-height:1.55;
    color:var(--sepka-navy);
}
.em-card-img{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    height:190px;
    margin:0 0 20px;
    border-radius:10px;
    background:#f9f6f8;
    overflow:hidden;
}
.em-card-img img{
    max-width:86%;
    max-height:86%;
    object-fit:contain;
}
.em-card-actions{
    margin-top:auto;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px;
    width:100%;
}
.em-card-btn{
    display:inline-flex;
    align-items:center;
    gap:7px;
    padding:9px 17px;
    border-radius:999px;
    background:var(--sepka-navy-card);
    color:#fff;
    font-size:12.5px;
    font-weight:600;
    transition:background .2s ease;
}
.em-card-btn svg{ width:16px; height:16px; flex-shrink:0; }
.em-card-btn:hover{ background:var(--sepka-teal); }
.em-card-btn--inquiry{ background:var(--sepka-navy); }

/* --- نقطه‌ها (همیشه نمایش) --- */
.em-slider-wrap .em-dots{
    position:static;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:7px;
    width:auto;
    margin:34px 0 0;
    transform:none;
}
.em-dots .swiper-pagination-bullet{
    width:8px; height:8px;
    border-radius:999px;
    background:#C2CEDA;
    opacity:1;
    margin:0 !important;
    transition:width .3s ease, background .3s ease;
}
.em-dots .swiper-pagination-bullet-active{
    width:26px;
    background:var(--sepka-teal);
}

/* --- دکمه «مشاهده همه» --- */
.em-viewall-wrap{ text-align:center; margin-top:30px; }
.em-viewall{
    display:inline-flex;
    align-items:center;
    gap:9px;
    padding:14px 32px;
    border-radius:999px;
    background:var(--sepka-navy-card);
    color:#fff;
    font-size:14px;
    font-weight:700;
    transition:background .2s ease, transform .2s ease;
}
.em-viewall svg{ width:18px; height:18px; }
.em-viewall:hover{ background:var(--sepka-teal); transform:translateY(-2px); }

@media (max-width:991px){
    .em-section{ padding:50px 0; }
    .em-head{ margin-bottom:28px; }
}
@media (max-width:575px){
    .em-card-actions{ flex-direction:column; }
    .em-card-btn{ width:100%; justify-content:center; }
}

/* --- نقطه‌های اسلایدر وبلاگ --- */
.nw-slider-wrap .nw-dots{
    position:static;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:7px;
    width:auto;
    margin:26px 0 0;
    transform:none;
}
.nw-dots .swiper-pagination-bullet{
    width:8px; height:8px;
    border-radius:999px;
    background:#C2CEDA;
    opacity:1;
    margin:0 !important;
    transition:width .3s ease, background .3s ease;
}
.nw-dots .swiper-pagination-bullet-active{
    width:26px;
    background:var(--sepka-teal);
}

@media (max-width:767px){
 .nw-tabs-sec__bread{
        display: none;
    }
    .nw-tabs-sec__inner{ flex-wrap:nowrap; }
    .nw-tabs{
        flex-wrap:nowrap;
        width:100%;
        overflow-x:auto;
        -webkit-overflow-scrolling:touch;
        scrollbar-width:none;
        padding-bottom:2px;
    }
    .nw-tabs::-webkit-scrollbar{ display:none; }
    .nw-tab{ flex-shrink:0; white-space:nowrap; }
  }

.header_phone {
	position:relative;
	top:3px
}