.elementor-widget-section .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-section .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-13109 .elementor-element.elementor-element-e5c2501:not(.elementor-motion-effects-element-type-background), .elementor-13109 .elementor-element.elementor-element-e5c2501 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F3F2EE;}.elementor-13109 .elementor-element.elementor-element-e5c2501 > .elementor-container{min-height:169px;}.elementor-13109 .elementor-element.elementor-element-e5c2501{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;}.elementor-13109 .elementor-element.elementor-element-e5c2501 > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-widget-theme-post-title .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-theme-post-title .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-theme-post-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-13109 .elementor-element.elementor-element-69b05e9{text-align:center;}.elementor-13109 .elementor-element.elementor-element-69b05e9 .elementor-heading-title{font-family:"IRANSANS", Sans-serif;font-size:24px;font-weight:600;color:#1F1F1F;}.elementor-13109 .elementor-element.elementor-element-6c40420{margin-top:020px;margin-bottom:0px;}.elementor-13109 .elementor-element.elementor-element-f05b9d8 > .elementor-element-populated{margin:0px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;padding:0px 0px 0px 0px;}.elementor-widget-html .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-html .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-shortcode .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-shortcode .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-13109 .elementor-element.elementor-element-0f33dc4 > .elementor-element-populated{padding:0px 30px 0px 0px;}.elementor-widget-theme-post-featured-image .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-theme-post-featured-image .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-theme-post-featured-image .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-13109 .elementor-element.elementor-element-44f025b{width:var( --container-widget-width, 102.822% );max-width:102.822%;--container-widget-width:102.822%;--container-widget-flex-grow:0;}.elementor-13109 .elementor-element.elementor-element-44f025b > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 3px 0px 0px;}.elementor-widget-theme-post-content .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-theme-post-content .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-theme-post-content{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-13109 .elementor-element.elementor-element-36266aa > .elementor-widget-container{padding:030px 20px 0px 20px;}.elementor-13109 .elementor-element.elementor-element-36266aa{color:#3A3A3A;font-family:"IRANSANS", Sans-serif;font-size:15px;font-weight:400;line-height:24px;}.elementor-widget-post-comments .eael-protected-content-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-post-comments .protected-content-error-msg{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}@media(max-width:1024px){.elementor-13109 .elementor-element.elementor-element-0f33dc4 > .elementor-element-populated{padding:0px 0px 0px 0px;}}@media(max-width:767px){.elementor-13109 .elementor-element.elementor-element-69b05e9 .elementor-heading-title{font-size:18px;line-height:1.4em;}.elementor-13109 .elementor-element.elementor-element-6c40420{padding:0px 30px 0px 30px;}.elementor-13109 .elementor-element.elementor-element-36266aa > .elementor-widget-container{margin:30px 0px 0px 0px;padding:0px 0px 0px 0px;}}@media(min-width:768px){.elementor-13109 .elementor-element.elementor-element-f05b9d8{width:23.25%;}.elementor-13109 .elementor-element.elementor-element-0f33dc4{width:76.75%;}}/* Start custom CSS for html, class: .elementor-element-810a714 *//* ===== CONTACT CARD – SINGLE COLUMN / CLEAN ===== */
.contact-card{
  direction: rtl;
}

/* ظرف کلی کارت */
.contact-card .cc-wrap{
  background:#fff !important;
  border:1px solid #e5e7eb !important;
  border-radius:18px !important;
  padding:18px 16px !important;
  box-shadow:0 10px 22px rgba(17,24,39,.06) !important;
}

/* =====================
   HEADER
   ===================== */
.contact-card .cc-head{
  text-align:center !important;
  margin-bottom:18px !important;
}

/* لوگو */
.contact-card .cc-logo{
  display:block !important;
  margin:0 auto 10px !important;
  max-width:120px !important;
  height:auto !important;
  border-radius:999px !important;
  padding:8px !important;
  background:#fff !important;
  border:1px solid #e5e7eb !important;
}

/* خط نارنجی زیر لوگو */
.contact-card .cc-head::after{
  content:"" !important;
  display:block !important;
  height:3px !important;
  width:56px !important;
  margin:8px auto 12px !important;
  border-radius:999px !important;
  background:#f59e0b !important;
}

/* عنوان */
.contact-card .cc-title{
  font-weight:900 !important;
  font-size:16px !important;
  color:#111827 !important;
  margin-top:4px !important;
}

/* زیرعنوان */
.contact-card .cc-sub{
  font-size:12px !important;
  color:#6b7280 !important;
  margin-top:4px !important;
}

/* =====================
   ITEMS (ONE COLUMN)
   ===================== */
.contact-card .cc-item{
  border:1px solid #eef2f7 !important;
  border-radius:16px !important;
  background:#fff !important;
  padding:12px !important;
  margin-top:12px !important;
  text-align:center !important;
}

/* متن‌ها */
.contact-card .cc-role{
  font-size:12px !important;
  color:#6b7280 !important;
  margin-bottom:4px !important;
}

.contact-card .cc-name{
  font-size:14px !important;
  font-weight:900 !important;
  color:#111827 !important;
  margin-bottom:10px !important;
}

/* =====================
   BUTTONS
   ===================== */
.contact-card .cc-btn{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  width:fit-content !important;
  margin:0 auto !important;
  padding:8px 12px !important;
  border-radius:999px !important;
  font-weight:900 !important;
  text-decoration:none !important;
  border:1px solid rgba(245,158,11,.22) !important;
  background:rgba(245,158,11,.10) !important;
  color:#b45309 !important;
  box-shadow:none !important;
}

/* فاصله بین دکمه‌ها */
.contact-card .cc-item .cc-btn + .cc-btn{
  margin-top:10px !important;
}

/* =====================
   ICONS
   ===================== */
.contact-card .cc-ico{
  width:26px !important;
  height:26px !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  color:#fff !important;
  border:none !important;
  box-shadow:none !important;
}

/* آیکن تلفن – نارنجی ساده */
.contact-card .cc-call .cc-ico{
  background:#f59e0b !important;
}

/* واتساپ – سبز ساده (بدون ابر) */
.contact-card .cc-wa{
  border-color:rgba(34,197,94,.25) !important;
  background:rgba(34,197,94,.10) !important;
  color:#047857 !important;
}

.contact-card .cc-wa .cc-ico{
  background:#22c55e !important;
}

/* حذف هر افکت اضافی */
.contact-card .cc-ico::before,
.contact-card .cc-ico::after{
  content:none !important;
}
/* ===== FIX: replace emoji with real white icons (no cloud / no pink) ===== */

.contact-card .cc-ico{
  position:relative !important;
  width:30px !important;
  height:30px !important;
  border-radius:999px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  /* ایموجی داخل span را عملاً حذف کن */
  font-size:0 !important;
  line-height:0 !important;
  color:transparent !important;
  text-indent:-9999px !important;
  overflow:hidden !important;

  border:none !important;
  box-shadow:none !important;
}

/* آیکن سفید با ماسک */
.contact-card .cc-ico::before{
  content:"" !important;
  position:absolute !important;
  inset:7px !important;            /* اندازه آیکن داخل دایره */
  background:#fff !important;      /* آیکن سفید */
  display:block !important;
}

/* دایره نارنجی + آیکن تلفن سفید */
.contact-card .cc-call .cc-ico{
  background:#f59e0b !important;
}
.contact-card .cc-call .cc-ico::before{
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M6.62%2010.79a15.05%2015.05%200%200%200%206.59%206.59l2.2-2.2a1%201%200%200%201%201.01-.24c1.12.37%202.33.57%203.58.57a1%201%200%200%201%201%201v3.5a1%201%200%200%201-1%201C10.07%2021.01%202.99%2013.93%202.99%205.99a1%201%200%200%201%201-1h3.5a1%201%200%200%201%201%201c0%201.25.2%202.46.57%203.59a1%201%200%200%201-.25%201.01l-2.19%202.19z%27/%3E%3C/svg%3E") no-repeat center / contain !important;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M6.62%2010.79a15.05%2015.05%200%200%200%206.59%206.59l2.2-2.2a1%201%200%200%201%201.01-.24c1.12.37%202.33.57%203.58.57a1%201%200%200%201%201%201v3.5a1%201%200%200%201-1%201C10.07%2021.01%202.99%2013.93%202.99%205.99a1%201%200%200%201%201-1h3.5a1%201%200%200%201%201%201c0%201.25.2%202.46.57%203.59a1%201%200%200%201-.25%201.01l-2.19%202.19z%27/%3E%3C/svg%3E") no-repeat center / contain !important;
}

/* دایره سبز + آیکن واتساپ سفید (بدون ابر) */
.contact-card .cc-wa .cc-ico{
  background:#22c55e !important;
}
.contact-card .cc-wa .cc-ico::before{
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M20.52%203.48A11.9%2011.9%200%200%200%2012.06%200C5.45%200%200.06%205.39%200.06%2012c0%202.1.55%204.16%201.6%205.98L0%2024l6.2-1.62A11.9%2011.9%200%200%200%2012.06%2024C18.67%2024%2024.06%2018.61%2024.06%2012c0-3.19-1.24-6.19-3.54-8.52zM12.06%2021.8c-1.88%200-3.72-.5-5.33-1.45l-.38-.23-3.68.96.98-3.59-.25-.37A9.7%209.7%200%200%201%202.26%2012c0-5.36%204.44-9.8%209.8-9.8%202.62%200%205.08%201.02%206.93%202.87A9.74%209.74%200%200%201%2021.86%2012c0%205.36-4.44%209.8-9.8%209.8zm5.65-7.33c-.31-.16-1.83-.9-2.12-1-.29-.11-.5-.16-.71.16-.21.31-.81%201-.99%201.2-.18.21-.37.23-.68.08-.31-.16-1.32-.49-2.52-1.55-.93-.83-1.56-1.86-1.74-2.17-.18-.31-.02-.48.14-.64.14-.14.31-.37.47-.55.16-.18.21-.31.31-.52.1-.21.05-.39-.03-.55-.08-.16-.71-1.71-.97-2.34-.26-.62-.52-.53-.71-.54h-.6c-.21%200-.55.08-.84.39-.29.31-1.1%201.07-1.1%202.61s1.13%203.03%201.29%203.24c.16.21%202.22%203.39%205.39%204.76.75.32%201.34.51%201.8.65.76.24%201.45.21%202%2012.77.61-.94.69-1.31.77-1.52.08-.21.08-.39-.19-.55z%27/%3E%3C/svg%3E") no-repeat center / contain !important;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M20.52%203.48A11.9%2011.9%200%200%200%2012.06%200C5.45%200%200.06%205.39%200.06%2012c0%202.1.55%204.16%201.6%205.98L0%2024l6.2-1.62A11.9%2011.9%200%200%200%2012.06%2024C18.67%2024%2024.06%2018.61%2024.06%2012c0-3.19-1.24-6.19-3.54-8.52zM12.06%2021.8c-1.88%200-3.72-.5-5.33-1.45l-.38-.23-3.68.96.98-3.59-.25-/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-c73d0c0 *//* =========================================================
   LATEST POSTS (recent-post-*) — ONE COLUMN
   Image LEFT (circle) + Text RIGHT
   Clean hover fill, no text cutting
   Scope: only inside .latest-products-onecol
   ========================================================= */

.latest-products-onecol{
  direction: rtl;
}

/* هر آیتم زیر هم */
.latest-products-onecol .recent-post-item{
  display:block !important;
}

/* لینک اصلی (ردیفی) */
.latest-products-onecol .recent-post-item a{
  position:relative;
  display:flex !important;
  flex-direction:row !important;     /* عکس چپ، متن راست */
  align-items:center !important;
  gap:14px !important;

  padding:12px 10px !important;
  border-radius:14px !important;
  overflow:hidden !important;

  transition: background-color .3s ease, box-shadow .3s ease;
}

/* هاور پایه */
.latest-products-onecol .recent-post-item a:hover{
  background-color:#ffb26b;
  box-shadow:0 4px 12px rgba(255,159,67,.30);
}

/* افکت نارنجی تیره روی کل ردیف */
.latest-products-onecol .recent-post-item a::before{
  content:"";
  position:absolute;
  inset:0;
  width:0%;
  height:100%;
  right:0;
  background-color:#f7921e;
  z-index:0;
  transition: width .9s ease;
}
.latest-products-onecol .recent-post-item a:hover::before{
  width:100%;
}

/* محتوا روی افکت باشد */
.latest-products-onecol .recent-post-item a > *{
  position:relative !important;
  z-index:1 !important;
}

/* تصویر دایره‌ای سمت چپ */
.latest-products-onecol .recent-post-item img,
.latest-products-onecol .recent-post-item .recent-post-thumb,
.latest-products-onecol .recent-post-item .sidebar-thumb{
  width:86px !important;
  height:86px !important;
  border-radius:999px !important;
  object-fit:cover !important;
  flex:0 0 86px !important;
  border:4px solid #fff !important;
  box-shadow:0 10px 20px rgba(17,24,39,.10) !important;
  order:1 !important; /* عکس */
}

/* عنوان: مثل عکس شما (دو خط واضح، بدون نصف شدن) */
.latest-products-onecol .recent-post-title{
  order:2 !important;     /* متن */
  flex:1 !important;

  color:#000 !important;
  font-size:14px !important;
  line-height:1.6 !important;
  margin:0 !important;
  text-align:right !important;

  /* نمایش دو خط */
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
  overflow:hidden !important;

  /* مهم: هیچ height/max-height که نصف کند نده */
  height:auto !important;
  max-height:none !important;

  transition: color .3s ease;
}

/* هاور: متن سفید */
.latest-products-onecol .recent-post-item a:hover .recent-post-title{
  color:#fff !important;
}
/* =========================
   ADD CLEAN BORDER (CARD LOOK)
   ========================= */

/* کادر برای کل آیتم */
.latest-products-onecol .recent-post-item a{
  border:1px solid #e5e7eb !important;
  background:#fff !important;
}

/* کادر در حالت هاور هم حفظ شود */
.latest-products-onecol .recent-post-item a:hover{
  border-color:#f7921e !important;
}

/* چون افکت نارنجی زیر می‌آید، پس پس‌زمینه متن شفاف شود */
.latest-products-onecol .recent-post-title{
  background:transparent !important;
}
/* فاصله بین کارت‌ها */
.latest-products-onecol .recent-post-item{
  margin-bottom:12px !important;
}

/* اگر آخرین آیتم هم فاصله نداشته باشد */
.latest-products-onecol .recent-post-item:last-child{
  margin-bottom:0 !important;
}/* End custom CSS */
/* Start custom CSS for column, class: .elementor-element-f05b9d8 *//* ===== Isolated Contact Card (NO bleed into page text) ===== */

/* فقط داخل عنصرِ دارای کلاس contact-card */
.contact-card{
  direction: rtl;
}

/* استایل کارت فقط برای محتوای داخلی همین کانتینر */
.contact-card > .elementor-widget-container,
.contact-card .widget,
.contact-card .widget_text,
.contact-card .textwidget{
  background:#fff !important;
  border:1px solid #e5e7eb !important;
  border-radius:18px !important;
  padding:18px 16px !important;
  box-shadow:0 10px 22px rgba(17,24,39,.06) !important;
}

/* تراز فقط داخل کارت (نه کل صفحه) */
.contact-card > .elementor-widget-container *,
.contact-card .widget *,
.contact-card .textwidget *{
  text-align:center !important;
}

/* نوار بالای کارت فقط روی خود کارت */
.contact-card > .elementor-widget-container::before,
.contact-card .widget::before{
  content:"" !important;
  display:block !important;
  height:3px !important;
  width:56px !important;
  margin:0 auto 12px !important;
  border-radius:999px !important;
  background:linear-gradient(to left,#f59e0b,#d97706) !important;
}

/* لوگو فقط داخل کارت */
.contact-card img{
  display:block !important;
  margin:0 auto 10px !important;
  max-width:120px !important;
  height:auto !important;
  border-radius:999px !important;
  padding:8px !important;
  background:#fff !important;
  border:1px solid #e5e7eb !important;
}

/* خط‌ها فقط داخل کارت */
.contact-card hr{
  border:0 !important;
  height:1px !important;
  background:linear-gradient(to left,transparent,#e5e7eb,transparent) !important;
  margin:12px 0 !important;
}

/* لینک‌ها فقط داخل کارت */
.contact-card a{
  color:#d97706 !important;
  text-decoration:none !important;
  font-weight:700 !important;
  border-bottom:1px dashed rgba(217,119,6,.35) !important;
  padding-bottom:1px !important;
}
.contact-card a:hover{
  color:#f59e0b !important;
  border-bottom-color:rgba(245,158,11,.6) !important;
}

/* اگر شماره‌ها tel لینک هستند */
.contact-card a[href^="tel:"]{
  display:inline-block !important;
  margin-top:6px !important;
  padding:6px 10px !important;
  border-radius:999px !important;
  background:rgba(245,158,11,.10) !important;
  border:1px solid rgba(245,158,11,.18) !important;
  color:#d97706 !important;
  font-weight:800 !important;
}


.contact-test-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 12px;
}

.contact-test-icons a,
.contact-test-icons span {
    width: 44px;
    height: 44px;
    background: #f59e0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.contact-test-icons i {
    color: #fff !important;
    font-size: 20px;
}

.contact-test-icons a:hover {
    background: #111827;
    transform: scale(1.1);
}

.contact-test-icons span {
    cursor: default;
}

/* لیست */
.contact-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* آیتم */
.contact-card ul li {
    border-bottom: 1px solid #eee;
}

/* لینک */
.contact-card ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: #000; /* مشکی */
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* هاور نارنجی */
.contact-card ul li a:hover {
    color: #f39c12;
}

/* تصویر واقعی پست */
.contact-card .sidebar-thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    background-color: #f2f2f2;
}


/* مهم: هیچ استایلی بیرون contact-card اعمال نشود */* End custom CSS */
/* Start custom CSS for post-comments, class: .elementor-element-e7de70f *//* WP / Elementor Comments – Soft Gray + Light Orange Focus (FINAL) */
:root{
  --c-bg:#ffffff;
  --c-surface:#f9fafb;
  --c-border:#e5e7eb;     /* طوسی خیلی ملایم */
  --c-text:#1f2937;
  --c-muted:#6b7280;

  /* Soft amber orange */
  --c-primary:#f59e0b;
  --c-primary-hover:#d97706;

  --radius:14px;
}

/* Container */
.comment-respond,
#respond{
  max-width: 980px;
  margin: 0 auto;
  padding: 22px;
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  direction: rtl;
}

/* Title */
.comment-reply-title{
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--c-text);
}

/* Notes */
.comment-notes,
.logged-in-as{
  margin-bottom: 14px;
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.8;
}

/* Labels */
.comment-form label{
  margin: 8px 0 6px;
  font-weight: 500;
  font-size: 14px;
  color: var(--c-text);
}

/* Inputs – normal state */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea{
  width: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-border); /* طوسی */
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  color: var(--c-text);
  box-sizing: border-box;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.comment-form textarea{
  min-height: 160px;
  line-height: 1.9;
  resize: vertical;
}

/* Focus – exactly like you wanted */
.comment-form input:focus,
.comment-form textarea:focus{
  border-color: var(--c-border); /* همون طوسی */
  box-shadow: 0 0 0 3px rgba(245,158,11,.12); /* هاله نارنجی خیلی نرم */
  background: #fff;
  outline: none;
}

/* Required star */
.comment-form .required{
  color: var(--c-primary);
}

/* Cookies checkbox */
.comment-form-cookies-consent{
  margin-top: 10px;
  display:flex;
  gap:8px;
  align-items:flex-start;
  font-size: 13px;
  color: var(--c-muted);
}
.comment-form-cookies-consent input{
  margin-top: 3px;
}

/* Submit button – small & clean */
.form-submit{
  margin-top: 14px;
  display:flex;
  justify-content:flex-end;
}

.comment-form .submit,
#submit{
  background:#fff;
  color: var(--c-primary);
  border: 1px solid var(--c-border);
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.comment-form .submit:hover,
#submit:hover{
  background: var(--c-primary);
  color:#fff;
  border-color: var(--c-primary-hover);
}

/* Desktop layout */
@media (min-width: 768px){
  .comment-form{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
  }
  .comment-form-comment,
  .comment-form-cookies-consent,
  .form-submit,
  .comment-notes,
  .logged-in-as{
    grid-column: 1 / -1;
  }
}

/* Comments list */
.comments-area{
  max-width: 980px;
  margin: 18px auto 0;
  direction: rtl;
}
.comment-list{
  list-style:none;
  padding:0;
  margin:0;
}
.comment-list > li{
  margin: 12px 0;
  padding: 14px;
  border:1px solid var(--c-border);
  border-radius: var(--radius);
  background:#fff;
}
.comment-author{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 600;
}
.comment-author img{
  border-radius: 999px;
}
.comment-metadata,
.comment-metadata a{
  font-size: 12px;
  color: var(--c-muted);
  text-decoration: none;
}
.comment-content{
  margin-top: 6px;
  line-height: 1.9;
}
.reply a{
  margin-top: 8px;
  display:inline-block;
  color: var(--c-primary);
  font-size: 13px;
  text-decoration:none;
}
.reply a:hover{
  text-decoration: underline;
}








/* ============================================================
   اصلاح تودرتو بودن پاسخ‌ها (Nested Replies) — به انتهای CSS اضافه شود
   ============================================================ */

/* هر سطح پاسخ، نسبت به والدش تورفتگی می‌گیرد (RTL: از راست) */
.comment-list .children{
  list-style: none;
  margin: 0;
  padding-right: 28px;          /* میزان تورفتگی هر سطح */
  border-right: 2px solid #f1d9b0; /* خط راهنمای کنار پاسخ‌ها (نارنجی ملایم) */
  margin-right: 6px;
}

/* فاصله و ظاهر خود آیتم پاسخ */
.comment-list .children > li{
  margin: 10px 0;
  padding: 14px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  background: #fcfcfd;          /* کمی روشن‌تر از کامنت اصلی تا تمایز دیده شود */
}

/* در موبایل تورفتگی کمتر تا جا تنگ نشود */
@media (max-width: 600px){
  .comment-list .children{
    padding-right: 14px;
    margin-right: 3px;
  }
}

/* ============================================================
   متمایزکردن پاسخِ نویسنده/مدیر سایت (Tehran Chem)
   ============================================================ */
.comment-list .bypostauthor{
  background: #fff7ed;          /* پس‌زمینه نارنجیِ خیلی ملایم */
  border: 1px solid #f6d7b0;
}

/* نشانِ «پاسخ فروشنده» کنار نام مدیر */
.comment-list .bypostauthor .comment-author .fn::after{
  content: "فروشنده";
  display: inline-block;
  margin-right: 8px;
  background: var(--c-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 9px;
  border-radius: 999px;
  vertical-align: middle;
}

/* ============================================================
   تمیزکاری چیدمان هدر کامنت (نام + تاریخ کنار هم، مرتب)
   ============================================================ */
.comment-list .comment-body{
  position: relative;
}
.comment-author .fn{
  font-style: normal;           /* وردپرس گاهی نام را ایتالیک می‌کند */
}
.comment-metadata{
  margin-top: 2px;
}

/* دکمه پاسخ کمی متمایزتر */
.reply a{
  background: #fff;
  border: 1px solid var(--c-border);
  padding: 4px 12px;
  border-radius: 8px;
}
.reply a:hover{
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
  text-decoration: none;
}/* End custom CSS */
/* Start Custom Fonts CSS */@font-face {
	font-family: 'IRANSANS';
	font-style: normal;
	font-weight: normal;
	font-display: auto;
	src: url('https://tehran-chem.com/wp-content/uploads/2024/11/IRANSansX-Regular.woff2') format('woff2'),
		url('https://tehran-chem.com/wp-content/uploads/2024/11/IRANSansX-Regular.woff') format('woff');
}
@font-face {
	font-family: 'IRANSANS';
	font-style: normal;
	font-weight: bold;
	font-display: auto;
	src: url('https://tehran-chem.com/wp-content/uploads/2024/11/IRANSansX-Bold.woff2') format('woff2'),
		url('https://tehran-chem.com/wp-content/uploads/2024/11/IRANSansX-Bold.woff') format('woff');
}
/* End Custom Fonts CSS */