/* =====================================================================
   v1.9.8 — مرتب‌سازی و ظاهر حرفه‌ای فروشگاه (دسکتاپ + موبایل)
   این فایل بعد از همه‌ی فایل‌های CSS بارگذاری می‌شود.
   ===================================================================== */

/* ---------- دکمه‌ی بازگشت به بالا: فلش رو به بالا، شفاف و ظریف ---------- */
html body .fd-to-top{
  width:42px;height:42px;border-radius:8px;
  background:rgba(255,255,255,.72);
  -webkit-backdrop-filter:blur(10px) saturate(1.4);backdrop-filter:blur(10px) saturate(1.4);
  color:var(--fd-blue-dd,#1b6f99);
  border:1px solid rgba(11,44,61,.12);
  box-shadow:0 8px 22px -12px rgba(11,44,61,.45);
  opacity:0;visibility:hidden;transform:translateY(12px);
  transition:opacity .3s,transform .3s,background .25s,color .25s,visibility 0s linear .3s;
}
html body .fd-to-top svg{transform:none;width:18px;height:18px}
html body .fd-to-top.show{opacity:.78;visibility:visible;transform:translateY(0);transition-delay:0s}
html body .fd-to-top.show:hover,html body .fd-to-top.show:focus-visible{opacity:1;background:var(--fd-blue,#46aee0);color:#fff;border-color:transparent}
@media(max-width:700px){
  html body .fd-to-top{width:36px;height:36px;border-radius:8px;bottom:72px;inset-inline-start:10px}
  html body .fd-to-top.show{opacity:.7}
}

/* ---------- چیدمان: ستون خالیِ سایدبار در موبایل حذف می‌شود ---------- */
@media(max-width:900px){
  html body .fd-shop{grid-template-columns:minmax(0,1fr);gap:0;padding:14px 0 28px}
  html body .fd-shop-main{min-width:0}
  html body .fd-shop-side{width:min(360px,90%);border-radius:0;box-shadow:0 0 60px rgba(11,44,61,.3)}
}

/* ---------- نوار ابزار (فیلتر / مرتب‌سازی / تعداد نتایج) ---------- */
html body .fd-toolbar{background:#fff;border:1px solid #e4eef5;border-radius:8px}
@media(max-width:900px){
  html body .fd-toolbar{
    display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;
    gap:8px 10px;padding:10px;margin-bottom:14px;border-radius:8px;
  }
  html body .fd-toolbar .fd-filter-btn{grid-column:1;grid-row:1;min-height:42px;padding:0 16px;border-radius:8px;white-space:nowrap;font-weight:700}
  html body .fd-toolbar-tools{grid-column:2;grid-row:1;display:block;min-width:0}
  html body .fd-toolbar-tools .woocommerce-ordering{margin:0;width:100%;float:none}
  html body .fd-toolbar-tools .fd-sel,html body .fd-toolbar-tools select{width:100%;min-width:0}
  html body .fd-toolbar-tools .fd-sel__btn{min-height:42px;border-radius:8px;font-size:.86rem;padding-inline:12px}
  html body .fd-toolbar-tools .fd-pp,html body .fd-toolbar-tools .fd-view{display:none}
  html body .fd-toolbar-count{grid-column:1/-1;grid-row:2;order:0;flex:none;padding-top:8px;border-top:1px dashed #e4eef5;font-size:.78rem;font-weight:600;color:var(--fd-ink2);text-align:start}
}

/* ---------- هدر صفحه‌ی فروشگاه در موبایل: فشرده و مرتب ---------- */
@media(max-width:700px){
  html body.woocommerce-shop .fd-ph-in,html body.post-type-archive-product .fd-ph-in,html body.tax-product_cat .fd-ph-in{padding-block:12px 14px}
  html body .fd-ph .fd-ph-text{gap:8px}
  html body .fd-ph .fd-ph-eyebrow{display:none}
  html body .fd-page-head.fd-ph h1{font-size:1.3rem}
  html body .fd-ph .fd-ph-chips{flex-wrap:nowrap;overflow-x:auto;gap:6px;margin:0;max-width:100%;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  html body .fd-ph .fd-ph-chips::-webkit-scrollbar{display:none}
  html body .fd-ph .fd-ph-chips li{flex:none;white-space:nowrap;font-size:.7rem;padding:2px 10px}
  html body .fd-ph .fd-ph-pills{flex-wrap:nowrap;overflow-x:auto;gap:6px;margin:0;max-width:100%;padding-bottom:2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  html body .fd-ph .fd-ph-pills::-webkit-scrollbar{display:none}
  html body .fd-ph .fd-ph-pills a{flex:none;white-space:nowrap;font-size:.76rem;padding:5px 12px;border-radius:8px}
  html body .fd-ph .fd-ph-pills a:hover{transform:none}
}

/* ---------- کارت کتاب (همه‌ی اندازه‌ها) ---------- */
html body .fd-bc{border-radius:8px;transition:transform .3s var(--fd-ease),box-shadow .3s,border-color .25s}
html body .fd-bc:hover{border-color:#cfe6f3;box-shadow:0 18px 36px -24px rgba(11,44,61,.55)}
html body .fd-bc-media{border-radius:8px}
html body .fd-bc-cover{display:block}
html body .fd-bc-img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;margin:0 auto}
html body .fd-bc-foot .fd-bc-price,html body .fd-bc-foot .price{font-weight:800;color:var(--fd-navy,#0b2c3d)}
html body .fd-bc-foot .price del{opacity:.55;font-weight:500;font-size:.85em}
html body .fd-bc-foot .price ins{text-decoration:none}
html body .fd-bc .button,html body .fd-bc a.add_to_cart_button{border-radius:8px;font-weight:800;text-align:center;justify-content:center}

/* ---------- کارت کتاب در موبایل: دو ستون تمیز و هم‌اندازه ---------- */
@media(max-width:700px){
  html body ul.products.fd-books,html body .fd-shop-main ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  html body .fd-bc{border-radius:8px}
  html body .fd-bc-media{margin:5px 5px 0;padding:10px 8px 8px;border-radius:8px}

  /* نشان‌ها: بالا-شروع، کوچک و تک‌ردیفی */
  html body .fd-badges{top:9px;inset-inline-start:9px;gap:3px;max-width:calc(100% - 52px)}
  html body .fd-badge{font-size:.62rem;line-height:1.7;padding:0 7px;border-radius:8px;box-shadow:none}

  /* دکمه‌های کارت: فقط علاقه‌مندی، گوشه‌ی بالا-پایان، با پس‌زمینه‌ی ملایم */
  html body .fd-bc-actions{
    opacity:1;transform:none;flex-direction:column;gap:6px;
    top:9px;bottom:auto;inset-inline-end:9px;inset-inline-start:auto;
  }
  html body .fd-bc-actions .fd-cmp,html body .fd-bc-actions .fd-qv{display:none}
  html body .fd-act{
    width:30px;height:30px;border-radius:8px;
    background:rgba(255,255,255,.88);box-shadow:0 4px 10px -4px rgba(11,44,61,.4);
  }
  html body .fd-act svg{width:15px;height:15px}

  /* متن کارت */
  html body .fd-bc-body{padding:8px 9px 10px;gap:0}
  html body .fd-bc-author{font-size:.68rem;min-height:1.4em;margin-bottom:2px;font-weight:700}
  html body .fd-bc-title{
    font-size:.8rem;line-height:1.7;font-weight:800;
    height:3.4em;min-height:3.4em;max-height:3.4em;
    -webkit-line-clamp:2;line-clamp:2;
  }
  html body .fd-bc-rate{min-height:0}
  html body .fd-bc-rate.is-empty{display:none}
  html body .fd-bc-foot{padding-top:8px;gap:8px;flex-direction:column;align-items:stretch;border-top:1px dashed #e4eef5;margin-top:auto}
  html body .fd-bc-foot .fd-bc-price,html body .fd-bc-foot .price{font-size:.86rem;text-align:start;line-height:1.5}
  html body .fd-bc .button,html body .fd-bc a.add_to_cart_button{width:100%;min-height:38px;padding:6px 6px;font-size:.76rem;border-radius:8px}
  html body .fd-bc-na{display:block;text-align:center;padding:8px 6px;border-radius:8px;background:#f1f5f8;color:#6b7780;font-size:.76rem;font-weight:800}
}
@media(max-width:360px){
  html body ul.products.fd-books,html body .fd-shop-main ul.products{gap:8px}
  html body .fd-bc-title{font-size:.76rem}
  html body .fd-bc .button,html body .fd-bc a.add_to_cart_button{font-size:.72rem}
}

/* ---------- صفحه‌بندی: تک‌ردیف، فشرده و مرتب ---------- */
html body .woocommerce nav.woocommerce-pagination{margin-top:26px}
html body .woocommerce nav.woocommerce-pagination ul li a,
html body .woocommerce nav.woocommerce-pagination ul li span{border-radius:8px}
@media(max-width:700px){
  html body .woocommerce nav.woocommerce-pagination{margin-top:22px;padding-bottom:6px}
  html body .woocommerce nav.woocommerce-pagination ul{flex-wrap:nowrap!important;gap:5px;justify-content:center;max-width:100%}
  html body .woocommerce nav.woocommerce-pagination ul li a,
  html body .woocommerce nav.woocommerce-pagination ul li span{min-width:36px;height:36px;padding:0 6px!important;font-size:.84rem;border-radius:8px}
  html body .woocommerce nav.woocommerce-pagination ul li span.dots{min-width:16px}
}

/* ---------- محصولات مرتبط / پیشنهادی در صفحه‌ی تک‌کتاب ---------- */
/* ووکامرس کلاس columns-5 می‌دهد (نه fd-cols-*) و قانون موبایل روی آن اثر نداشت */
html body .related.products ul.products,html body .upsells.products ul.products,
html body .fd-related ul.products{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px 16px}
@media(max-width:1180px){
  html body .related.products ul.products,html body .upsells.products ul.products,
  html body .fd-related ul.products{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 12px}
  html body .fd-related ul.products>li:nth-child(n+5){display:none}
}
@media(max-width:700px){
  html body .related.products ul.products,html body .upsells.products ul.products,
  html body .fd-related ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  html body .related.products>h2,html body .upsells.products>h2{margin:20px 0 14px;font-size:1.1rem}
  html body .fd-related{padding:6px 0 14px}
  html body .fd-related ul.products>li{width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;float:none!important}
}

/* ---------- عنوان کتاب: همیشه سه خط (حتی اگر کوتاه باشد)، با فونت کوچک‌تر ---------- */
html body .fd-bc-title{
  font-size:.85rem;line-height:1.7;font-weight:800;
  height:5.1em;min-height:5.1em;max-height:5.1em;
  -webkit-line-clamp:3;line-clamp:3;
}
@media(max-width:700px){
  html body .fd-bc-title{
    font-size:.72rem;line-height:1.7;
    height:5.1em;min-height:5.1em;max-height:5.1em;
    -webkit-line-clamp:3;line-clamp:3;
  }
}
@media(max-width:360px){
  html body .fd-bc-title{font-size:.68rem}
}
/* حالت لیستی هم همان سه خط */
html body .fd-books.is-list .fd-bc-title{font-size:.95rem;height:5.1em;min-height:5.1em;max-height:5.1em}

/* ---------- وبلاگ: محتوا وسط‌چین، نویسنده = لوگوی انتشارات ---------- */
/* سایدبار در صفحه‌های فهرست (مجله، دسته، جستجو) فضای خالی می‌ساخت و محتوا را به یک سو می‌برد */
html body:not(.single) .fd-blog-layout,
html body:not(.single) .fd-blog-layout:has(.fd-blog-side){grid-template-columns:minmax(0,1fr);justify-items:stretch}
html body:not(.single) .fd-blog-layout>.fd-blog-side{display:none}
html body:not(.single) .fd-blog-main{width:100%;max-width:none}

html body .fd-post-by img.fd-pub-logo{width:26px;height:26px;border-radius:50%;object-fit:contain;flex:none;padding:3px;background:#fff;border:1px solid #dbe9f2;box-shadow:0 2px 8px -2px rgba(11,44,61,.25)}
html body .fd-post-head .fd-post-by img.fd-pub-logo{width:32px;height:32px;border-color:rgba(255,255,255,.6)}
html body .fd-bauthor img.fd-pub-logo{width:72px;height:72px;border-radius:50%;object-fit:contain;padding:10px;background:#fff;border:1px solid #dbe9f2;flex:none}

/* ---------- عرض همه‌ی صفحه‌ها: حداکثر ۱۶۰۰ پیکسل، وسط‌چین ---------- */
html body .fd-container,html body .fd-wrap,html body .fd-header-in,html body .fd-topbar-in,html body .fd-mega-card{max-width:1600px;margin-inline:auto}
html body .fd-content-wide{max-width:1600px}

/* ---------- هدر صفحه‌ها در موبایل/تبلت (همه‌ی صفحه‌ها): مرتب و فشرده ---------- */
@media(max-width:820px){
  /* تصویر تزئینی در موبایل نمایش داده نمی‌شود (قانون display:grid بعدی آن را باطل می‌کرد) */
  html body .fd-ph .fd-ph-art,html body .fd-ph .fd-ph-art.fd-ph-art-ico{display:none!important}
  html body .fd-ph-in{grid-template-columns:minmax(0,1fr);padding-block:14px 18px;gap:0}
  html body .fd-ph .fd-ph-text{gap:10px;width:100%}
  html body .fd-ph .fd-ph-eyebrow{display:none}
  html body .fd-page-head.fd-ph h1{font-size:1.35rem;line-height:1.55}
  html body .fd-page-head.fd-ph .fd-ph-desc{font-size:.84rem;line-height:1.9;display:-webkit-box;-webkit-line-clamp:3;line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

  /* مسیر صفحه: تک‌ردیف */
  html body .fd-ph .fd-breadcrumb ol{font-size:.74rem;padding:4px 10px;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
  html body .fd-ph .fd-breadcrumb ol::-webkit-scrollbar{display:none}

  /* چیپ‌ها و دسته‌ها: یک ردیف قابل اسکرول، با محو شدن لبه */
  html body .fd-ph .fd-ph-chips,html body .fd-ph .fd-ph-pills{
    flex-wrap:nowrap;overflow-x:auto;gap:6px;margin:0;max-width:100%;
    padding-block:2px;scrollbar-width:none;-webkit-overflow-scrolling:touch;
    -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);
    mask-image:linear-gradient(90deg,transparent 0,#000 18px,#000 calc(100% - 18px),transparent 100%);
  }
  html body .fd-ph .fd-ph-chips::-webkit-scrollbar,html body .fd-ph .fd-ph-pills::-webkit-scrollbar{display:none}
  html body .fd-ph .fd-ph-chips li,html body .fd-ph .fd-ph-pills a{flex:none;white-space:nowrap;border-radius:8px;line-height:1.7}
  html body .fd-ph .fd-ph-chips li{font-size:.72rem;padding:3px 10px}
  html body .fd-ph .fd-ph-pills a{font-size:.78rem;padding:6px 12px}
  html body .fd-ph .fd-ph-pills a:hover{transform:none}

  /* دکمه‌های میان‌بر: دو ستون هم‌اندازه */
  html body .fd-ph .fd-ph-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0}
  html body .fd-ph .fd-ph-btn{justify-content:center;gap:6px;padding:9px 8px;min-height:42px;font-size:.82rem;border-radius:8px;white-space:nowrap}
  html body .fd-ph .fd-ph-btn svg{width:15px;height:15px;flex:none}
  html body .fd-ph .fd-ph-btn:hover{transform:none}
  html body .fd-ph .fd-ph-actions:has(.fd-ph-btn:only-child){grid-template-columns:minmax(0,1fr)}
}

/* ---------- گردی گوشه‌ی دکمه‌ها و تگ‌ها: همیشه ۸ پیکسل ---------- */
html body .fd-btn,html body .button,html body button.button,html body a.button,
html body .woocommerce a.button,html body .woocommerce button.button,html body .woocommerce input.button,
html body .woocommerce #respond input#submit,html body input[type=submit],html body input[type=button],
html body .fd-ph-btn,html body .fd-ph-pills a,html body .fd-ph-chips li,html body .fd-ph-eyebrow,
html body .fd-badge,html body .fd-pill,html body .fd-chip,html body .fd-chip-btn,html body .fd-tab,
html body .fd-tags a,html body .tagcloud a,html body .fd-post-cat,html body .fd-post-tag,
html body .fd-hero2-tags a,html body .fd-act,html body .fd-to-top,html body .fd-filter-btn,
html body .fd-view button,html body .fd-sel__btn,html body .fd-menu-toggle,html body .fd-drawer-close,
html body .fd-modal-close,html body .fd-cat-chip,html body .fd-share a,html body .fd-share button,
html body .woocommerce-pagination ul li a,html body .woocommerce-pagination ul li span,
html body .page-numbers,html body .fd-bc-na,html body .fd-tile-go,html body .fd-flist li a,
html body .fd-fchip,html body .fd-fpill,html body .fd-tagbtn{border-radius:8px}

/* ---------- مسیر صفحه (بردکرامب): همه‌جا کوچک‌تر و بدون باکس ---------- */
html body .fd-breadcrumb ol,
html body .fd-ph .fd-breadcrumb ol,
html body .fd-post-head .fd-breadcrumb ol,
html body .fd-crumb-strip .fd-breadcrumb ol{
  background:none;border:0;border-radius:0;padding:0;box-shadow:none;
  -webkit-backdrop-filter:none;backdrop-filter:none;
  font-size:.74rem;font-weight:500;line-height:1.8;gap:2px;
}
html body .fd-breadcrumb li+li::before{margin-inline:5px;opacity:.55}
html body .fd-breadcrumb .is-current span{font-weight:700;max-width:260px}
html body .fd-crumb-strip{background:none;border:0;padding:10px 0 0}
@media(max-width:820px){
  html body .fd-breadcrumb ol,
  html body .fd-ph .fd-breadcrumb ol,
  html body .fd-post-head .fd-breadcrumb ol,
  html body .fd-crumb-strip .fd-breadcrumb ol{font-size:.68rem;padding:0;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:none}
  html body .fd-breadcrumb .is-current span{max-width:170px}
  html body .fd-crumb-strip{padding:8px 0 0}
}

/* ---------- فونت: فقط IRANSansX از پوشه‌ی قالب (assets/fonts) در همه‌ی بخش‌ها ---------- */
html body,
html body :where(h1,h2,h3,h4,h5,h6,p,a,span,li,td,th,label,small,strong,b,em,blockquote,figcaption,input,button,select,textarea,option,optgroup,kbd,abbr,time,legend,summary,details,dt,dd,address,cite,q,mark),
html body .woocommerce :where(*),
html body .select2-container :where(*),html body .select2-dropdown :where(*),
html body .pswp :where(*),
html body .wp-block :where(*),html body .wc-block-components-form :where(*),
html body .elementor :where(*:not([class*="eicon"]):not([class*="fa-"]):not(.fas):not(.far):not(.fab):not(.dashicons):not(.elementor-icon)){
  font-family:var(--fd-font);
}
/* آیکن‌فونت‌ها دست‌نخورده می‌مانند */
html body .dashicons,html body [class*="eicon"],html body .fas,html body .far,html body .fab,html body [class*="fa-"]:not(.fd-fa){font-family:revert}
html body code,html body pre,html body kbd.fd-code,html body samp{font-family:var(--fd-font)}

/* ---------- نوار بالای سایت: کوچک و مرتب ---------- */
html body .fd-topbar{font-size:.72rem;line-height:1.6}
html body .fd-topbar-in{min-height:30px;padding-block:3px;gap:12px}
html body .fd-topbar-msg,html body .fd-topbar-tel{gap:6px}
html body .fd-topbar-msg svg,html body .fd-topbar-tel svg{width:14px;height:14px;flex:none}
html body .fd-topbar-tel{direction:rtl;font-weight:600;white-space:nowrap}
@media(max-width:700px){
  html body .fd-topbar{font-size:.66rem}
  html body .fd-topbar-in{min-height:28px;padding-block:4px;justify-content:center;text-align:center}
  html body .fd-topbar-msg{justify-content:center;gap:5px;line-height:1.55}
  html body .fd-topbar-msg svg{width:13px;height:13px}
}

/* دکمه‌ی بازگشت به بالا: سمت چپ صفحه */
html body .fd-to-top{left:20px;right:auto;inset-inline-start:auto;inset-inline-end:auto}
@media(max-width:700px){html body .fd-to-top{left:10px;right:auto;inset-inline-start:auto}}

/* فرم دیدگاه: برچسب‌ها راست‌چین و ستاره کنار متن */
html body .comment-form label{display:block!important;text-align:right!important;direction:rtl;width:100%;margin:0 0 6px;font-size:.88rem;font-weight:700;color:var(--fd-ink);line-height:1.7}
html body .comment-form .required{display:inline!important;margin-inline-start:3px;color:var(--fd-red);text-decoration:none;border:0}
html body .comment-form p{text-align:right}
html body .comment-form .comment-form-cookies-consent{display:flex;align-items:flex-start;gap:8px}
html body .comment-form .comment-form-cookies-consent label{display:inline!important;width:auto;margin:0;font-weight:400;color:var(--fd-ink2)}
html body .comment-form .comment-form-cookies-consent input{margin-top:.55em;flex:none}
html body .comment-notes,html body .logged-in-as{text-align:right}

/* ======================================================================
   v1.9.23 — صفحه‌ی تک‌کتاب در موبایل: مرتب‌تر، اندازه‌ی متن مناسب، پاراگراف‌های جاستیفای
   ====================================================================== */

/* پاراگراف‌های صفحه‌ی کتاب در همه‌ی اندازه‌ها جاستیفای */
html body .fd-single-excerpt,
html body .fd-single-excerpt p,
html body .fd-autodesc p,
html body .fd-desc-short p,
html body .woocommerce-Tabs-panel p,
html body .woocommerce-Tabs-panel li{text-align:justify;text-justify:inter-word}
html body .fd-single-excerpt{text-align:justify}

@media(max-width:700px){

  /* --- مسیر راهنما: یک خط با اسکرول افقی --- */
  html body .fd-crumb-strip .fd-breadcrumb ol{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;font-size:.74rem;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  html body .fd-crumb-strip .fd-breadcrumb ol::-webkit-scrollbar{display:none}

  /* --- عنوان و زیرعنوان --- */
  html body .fd-single-grid{gap:20px;padding-top:14px}
  html body .fd-single-summary h1.product_title{font-size:1.2rem;line-height:1.7;margin:2px 0 4px}
  html body .fd-single-sub{font-size:.9rem;line-height:1.8}
  html body .fd-single-orig{font-size:.78rem}
  html body .fd-single-series{font-size:.76rem;padding:2px 12px;margin-bottom:6px}

  /* --- نویسنده / مترجم: متن پشت‌سرهم و منظم، بدون شکستن بد --- */
  html body .fd-people{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;margin:8px 0 6px}
  html body .fd-people>div{display:block;padding:8px 12px;font-size:.84rem;line-height:1.95;text-align:start}
  html body .fd-people span{display:inline-block;margin:0 0 0 8px;font-size:.74rem;font-weight:700;color:var(--fd-ink2)}
  html body .fd-people a{font-size:.84rem;white-space:normal}

  /* --- امتیاز / فروش / موجودی --- */
  html body .fd-single-meta-row{padding:10px 0;margin:6px 0 2px;gap:6px 12px;font-size:.78rem}
  html body .fd-stock-in,html body .fd-stock-out{padding:1px 10px;font-size:.78rem}

  /* --- قیمت --- */
  html body .fd-single-price{margin:10px 0 12px;gap:8px 12px}
  html body .fd-single-price .price{font-size:1.45rem}
  html body .fd-single-price .price del{font-size:.9rem}
  html body .fd-single-price .fd-badge{font-size:.72rem;padding:1px 10px}

  /* --- توضیح کوتاه --- */
  html body .fd-single-excerpt{font-size:.88rem;line-height:1.95;padding:10px 14px;margin-bottom:12px;border-inline-start-width:3px}

  /* --- مشخصات سریع: کاشی‌های فشرده و هم‌اندازه --- */
  html body .fd-qs-wrap{margin:12px 0 8px}
  html body .fd-qs{gap:8px}
  html body .fd-qs li{gap:8px;padding:8px 10px}
  html body .fd-qs li .fd-ico{padding:6px;width:16px;height:16px}
  html body .fd-qs li small{font-size:.68rem}
  html body .fd-qs li b{font-size:.82rem}
  html body .fd-qs-isbn{font-size:.78rem;padding:7px 12px;gap:6px}

  /* --- جعبه‌ی خرید --- */
  html body .fd-buybox{padding:12px;margin-bottom:12px}
  html body .fd-buybox form.cart{gap:10px}
  html body .fd-buybox .single_add_to_cart_button{padding:12px 18px;font-size:.95rem}

  /* --- دکمه‌های علاقه‌مندی/مقایسه/اشتراک: ردیف‌های مرتب و هم‌عرض --- */
  html body .fd-single-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
  html body .fd-single-actions .fd-chip-btn{flex:1 1 calc(33.333% - 8px);min-width:0;justify-content:center;padding:8px 6px;font-size:.74rem;white-space:nowrap}
  html body .fd-single-actions .fd-chip-btn svg{width:15px;height:15px;flex:none}

  /* --- مزیت‌ها: ۳ ستون فشرده به‌جای ۳ ردیف بلند --- */
  html body .fd-trust{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-bottom:12px}
  html body .fd-trust li{flex-direction:column;justify-content:flex-start;text-align:center;gap:6px;padding:10px 6px;font-size:.7rem;line-height:1.7}
  html body .fd-trust svg{width:20px;height:20px}

  /* --- شناسه، دسته‌بندی، برچسب --- */
  html body .fd-single-meta{font-size:.76rem;gap:4px 14px;line-height:1.9}

  /* --- تب‌ها و متن معرفی --- */
  html body .fd-tabs-wrap{margin-top:22px;padding:2px 12px 6px}
  html body .woocommerce-tabs .panel{padding:16px 0 10px!important;font-size:.9rem;line-height:2}
  html body .woocommerce-Tabs-panel p,html body .woocommerce-Tabs-panel li{font-size:.9rem;line-height:2}
  html body .woocommerce-Tabs-panel h2{font-size:1.1rem;line-height:1.7;margin:1.2em 0 .5em}
  html body .woocommerce-Tabs-panel h3{font-size:1rem;line-height:1.7}
  html body .woocommerce-Tabs-panel ul,html body .woocommerce-Tabs-panel ol{padding-inline-start:20px}
  html body .fd-autodesc{padding:12px 14px;margin-top:16px}
  html body .fd-autodesc h3{font-size:.9rem}
  html body .fd-autodesc p{font-size:.86rem;line-height:1.95}

  /* --- مشخصات (تب) --- */
  html body .fd-spec-card h3,html body .fd-eds h3{padding:10px 14px;font-size:.88rem}
  html body .fd-spec-card dt{font-size:.8rem}
  html body .fd-spec-card dd{font-size:.84rem}
  html body .fd-spec-card dl>div{gap:12px}

  /* --- بخش‌های مرتبط --- */
  html body .fd-related .fd-sh h2,html body .fd-recent .fd-sh h2,html body .related.products>h2,html body .upsells.products>h2{font-size:1.05rem}
}

@media(max-width:380px){
  html body .fd-single-summary h1.product_title{font-size:1.12rem}
  html body .fd-single-actions .fd-chip-btn{flex-basis:calc(50% - 8px)}
  html body .fd-trust li{font-size:.66rem}
}
