:root {
	--wd-text-font: "IRSansx", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: #777777;
	--wd-text-font-size: 16px;
	--wd-title-font: "IRSansx", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 700;
	--wd-title-color: #242424;
	--wd-entities-title-font: "IRSansx", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 700;
	--wd-entities-title-transform: none;
	--wd-entities-title-color: rgb(36,36,36);
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "IRSansx", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "IRSansx", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 700;
	--wd-widget-title-transform: none;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "IRSansx", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 600;
	--wd-header-el-transform: capitalize;
	--wd-header-el-font-size: 14px;
	--wd-otl-style: dotted;
	--wd-otl-width: 2px;
	--wd-primary-color: rgb(8,82,147);
	--wd-alternative-color: rgb(111,178,26);
	--btn-default-font-family: "IRSansx", Arial, Helvetica, sans-serif;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-bgcolor: rgb(8,82,147);
	--btn-accented-bgcolor-hover: rgb(0,73,137);
	--wd-form-brd-width: 0px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
	--wd-link-color: #333333;
	--wd-link-color-hover: rgb(18,70,171);
	--wd-sticky-btn-height: 95px;
}
.wd-age-verify-wrap {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: rgb(248,248,248);
	background-image: url();
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.wd-promo-popup-wrap {
	--wd-popup-width: 800px;
}
:is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.woodmart-archive-shop .wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgba(15,15,15,0.04);
	--wd-bordered-bg:rgba(15,15,15,0.04);
}
:is(.woodmart-woocommerce-layered-nav, .wd-product-category-filter) .wd-scroll-content {
	max-height: 223px;
}
.wd-page-title .wd-page-title-bg img {
	object-fit: cover;
	object-position: center center;
}
.wd-footer {
	background-color: #ffffff;
	background-image: none;
}
html .wd-nav.wd-nav-secondary > li > a {
	font-family: "IRansansX, sans-serif", Arial, Helvetica, sans-serif;
	font-weight: 700;
}
html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
	font-size: 18px;
	text-transform: none;
}
html .wd-nav-mobile > li > a {
	text-transform: none;
}
.whb-general-header .wd-nav.wd-nav-secondary > li > a {
	font-weight: 400;
	color: rgb(119,119,119);
}
.whb-general-header .wd-nav.wd-nav-secondary > li:hover > a, .whb-general-header .wd-nav.wd-nav-secondary > li.current-menu-item > a {
	color: rgb(36,36,36);
}
.woodmart-archive-shop:not(.single-product) :is(.wd-page-content, .whb-header) {
	background-color: rgb(252,252,252);
	background-image: none;
}
html .entry-summary .single_add_to_cart_button, .wd-single-add-cart .single_add_to_cart_button, html .wd-sticky-btn-cart .single_add_to_cart_button, html .wd-sticky-btn-cart .wd-sticky-add-to-cart, html .wd-sticky-btn.wd-quantity-overlap div.quantity :is(input[type],.btn) {
	background: rgb(95,171,18);
}
html .entry-summary .single_add_to_cart_button:hover, .wd-single-add-cart .single_add_to_cart_button:hover, html .wd-sticky-btn-cart .single_add_to_cart_button:hover, html .wd-sticky-btn-cart .wd-sticky-add-to-cart:hover, html .wd-sticky-btn.wd-quantity-overlap .cart:hover > div.quantity :is(input[type],.btn), html .wd-sticky-btn.wd-quantity-overlap .cart:hover > div.quantity+.button {
	background: rgb(84,157,10);
}
body, [class*=color-scheme-light], [class*=color-scheme-dark], .wd-search-form[class*="wd-header-search-form"] form.searchform, .wd-el-search .searchform {
	--wd-form-color: rgb(119,119,119);
	--wd-form-placeholder-color: rgb(119,119,119);
	--wd-form-bg: rgba(15,15,15,0.04);
}
.mfp-wrap.wd-popup-quick-view-wrap {
	--wd-popup-width: 920px;
}

@media (max-width: 1024px) {
	:root {
		--wd-sticky-btn-height: 95px;
	}

}

@media (max-width: 768.98px) {
	:root {
		--wd-sticky-btn-height: 42px;
	}
	html .product.wd-cat .wd-entities-title, html .product.wd-cat.cat-design-replace-title .wd-entities-title, html .wd-masonry-first .wd-cat:first-child .wd-entities-title {
		font-size: 16px;
	}

}
:root{
--wd-container-w: 1390px;
--wd-form-brd-radius: 5px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #fff;
--btn-accented-color-hover: #fff;
--btn-default-brd-radius: 5px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 5px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 12px;
}



.wd-page-title {
background-color: rgb(40,89,184);
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    font-family: 'IRsansX';
}


.shop_attributes td {
    text-align: right;
}









/* رنگ منوی چپ هدر */
.whb-general-header .wd-nav.wd-nav-secondary>li>a { color: #000;}
.wd-search-cat>a>span { color: #000;}
.wd-search-cat>a  {color :#000}




/* mega menu */
.wd-dropdown {    border-radius: 0 0 8px 8px;}
.wd-dropdown-menu:is(.wd-design-sized,.wd-design-full-width,.wd-design-full-height)>.container>.wd-grid-f-inline {    --wd-f-basis: 11%;}
.wd-sub-accented>li>a {border-bottom: 3px solid #e2e1e7;margin-bottom: 10px;margin-top: -20px;}

/* menu SHop Category */
.wd-page-title {background-color: #6fb21a;}


/* blog */
.blog-design-masonry.wd-add-shadow .article-inner {padding: 12px;   box-shadow: 2px 5px 30px rgba(0, 0, 0, .1);    border-radius: 8px;}
.post-img-wrapp { border-radius: 10px;}
.wd-post-date.wd-style-with-bg { border-radius: 10px;}
.blog-design-masonry .post-title {font-size: 16px !important;  margin: 15px 0px 25px;}
.blog-design-masonry.has-post-thumbnail .wd-post-date { border-radius: 10px;}
.wd-post.blog-style-bg .wd-post-inner {padding: 15px; box-shadow: 2px 5px 30px rgba(0, 0, 0, .1); border-radius: 8px;}
.wd-post-img img { border-radius: 8px;}
h3.wd-entities-title.title.post-title a { font-size: 17px;}
.wd-post-desc { font-size: 13px;}


/* استایل کامنت نظرات باگ */
.comments-area .comment-respond {
    padding: 30px;
    background: #fff;
    box-shadow: 2px 5px 30px rgba(0, 0, 0, .1);
    border-radius: 12px;
}


/* نمایش سریع */
table :is(tbody,tfoot) th {font-size: 13px;}
.product-image-summary .entry-title { font-size: 18px !important}


/* تصاویر شاخص بلاگ */
.wd-single-post-img img { border-radius: 10px;height: 500px; object-fit: fill;}
.wd-post-img img :hover { border-radius: 8px;}
.wd-single-post-img img:hover { border-radius: 8px;}


/* تصویر شاخص در صفحه محصول */
.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:first-child {
width: 100%;max-width: 500px;aspect-ratio: 1 / 1;   margin: 0 auto;padding: 5px;
background-color: #eee;   border-radius: 5px; overflow: hidden;}
.single-product .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image:first-child img {
width: 100%;height: 100%;object-fit: cover;border-radius: 5px;}



/* کاور تصویر محصول دسته بندی */
.elementor-element-1f38592,.elementor-element-f64e60d , .elementor-element-ba965f4{
    --wd-prod-bg: #d9dadf4f;
    --wd-bordered-bg: #d9dadf4f;
}


/* استیکی چسبان */
.wd-sticky-btn .wd-sticky-btn-cart .wd-action-btn.wd-style-icon { display: none;}

/* امتیازدهی کامنت ها */
span#reply-title { font-size: 14px;}
.comment-form>.comment-form-rating { border: 1px solid #eabe12;  border-radius: 41px;   padding: 13px;}


/* login */
.woocommerce-LostPassword.lost_password { display: none;}
.login-form-footer { display: none;}
/* login shadow profile */
.wd-dropdown.wd-dropdown-menu.wd-dropdown-my-account.wd-design-default {max-width: 190px;border-radius: 11px;top: 37px;box-shadow: 2px 5px 30px rgba(0, 0, 0, .1);}

/* Cart*/
.wd-checkout-steps {font-size: 18px;}
.cart-totals-inner tr.shipping td > *:last-child {display: none;}

/* popup خرید  */
.popup-added_to_cart h3 {  font-size: 18px; }
.wd-popup { padding: var(--wd-popup-padding, 60px 10px); }


/* قیمت محصولات در دسته بندی ها */
.price .amount {
    line-height: 3;
}


/* کارت محصول */
.products-bordered-grid.wd-products-with-bg.elements-grid>.wd-col { background: #fff !important;}

/* صفحه جزیییات محصول */
.product-summary-shadow .summary-inner {box-shadow: 2px 5px 30px  rgba(0,0,0,.1) !important ;}
.woocommerce-breadcrumb{
background: rgb(248 248 248);   padding: 5px 20px; border-radius: 7px;}


/* صفحه  checkout  */
/* توضیحات تکمیلی */
.shop_attributes th { background: #eee;  width: 200px; padding: 10px; border-radius: 6px;}
.shop_attributes td { background: #f8f8f8; width: 100%; padding: 10px; border-radius: 6px;}

/* checkout *//* آیکن کارت محصول */
.wd-action-btn.wd-style-icon>a {width: 40px;}
.wd-buttons[class*="wd-pos-r"] { border-radius: 44px;}

/* استایل اختصاصی فقط برای صفحه checkout */
.woocommerce-privacy-policy-text { display: none;}

/* کد تخفیف */
:root :is(.woocommerce-form-coupon-toggle,.woocommerce-form-login-toggle)>div {display : none;}
:is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review) { background-color: #bdcbe8;}
:is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review):before {    background-image: radial-gradient(farthest-side, transparent 6px, #bdcbe8 0);}
:is(.woocommerce-checkout>.checkout-order-review,.woocommerce-order-pay #order_review):after { background-image: radial-gradient(farthest-side, transparent 6px, #bdcbe8 0); }

/* گزینه های پست */
input#shipping_method_0_free_shipping28 {display: none;}


/* سایدبار */
/* widget سایدبار shop*/
:is(.widget,.wd-widget,div[class^="vc_wp"]) {
box-shadow: 0 5px 8px -3px rgba(0, 0, 0, .1);
background: #fff;
padding: 15px;
border-radius: 8px;}
.widget:last-child {
padding-bottom: 10px;padding-top: 10px;}

/* متن سبد خرید سایدبار */
.wd-heading .title {font-size: 100%;}

/* سایدبار عنوان محصول */
.product_list_widget>li .wd-entities-title {  font-size: 12px;}

/* سایدبار - حمل رایگان */
.progress-msg {padding: 10px;border-radius: 10px; font-size: 13px;line-height: 2; background: #6fb21a21;}
.wd-progress-bar .progress-bar { background-color: rgb(111 178 26);}

/* متن کلوز */
.wd-action-btn.wd-style-text>a { font-size: 13px;}



/* آیکن کارت محصول */
.wd-action-btn.wd-style-icon>a {width: 40px;}
.wd-buttons[class*="wd-pos-r"] { border-radius: 44px;}

/* کارت محصول */
.products-bordered-grid.wd-products-with-bg.elements-grid>.wd-col { background: #fff !important;}





/*   استایل محصول ناموجود  */
.product-label.out-of-stock {
background-color: #242424; color: #ffffff;padding: 6px 12px; border-radius: 6px;}
.outofstock{ filter: grayscale(1);}
.outofstock .woocommerce-Price-amount {filter: blur(5px); }

/* محو کردن قیمت نوار چسبان وقتی محصول ناموجود است */
.wd-sticky-btn-cart:has(.stock.out-of-stock) .price,
.wd-sticky-btn-cart:has(.stock.out-of-stock) .woocommerce-Price-amount {
    filter: blur(5px);
    user-select: none;
}
/* محو کردن قیمت نوار چسبان وقتی محصول ناموجود است */
.wd-sticky-btn-cart:has(.stock.out-of-stock) .price,
.wd-sticky-btn-cart:has(.stock.out-of-stock) .woocommerce-Price-amount {
    filter: blur(5px);
    user-select: none;
}






/* پیامک اطلاع رسانی */
form#sms-notif-form-1 {
    background: rgb(238, 238, 238);
    padding: 15px;
    border-radius: 10px;
}
label#sms-notif-enable-label-1 {
    margin-bottom: 15px;
}
input#sms-notif-mobile-1 {
    background: #fff;
    margin-bottom: 10px;
}


/* برای عدم نمایش تصویر دسته بندی در عنوان ها */
.wd-page-title.page-title.page-title-default.title-size-small.title-design-default.color-scheme-light.with-back-btn.without-title.wd-nav-side-hidden-mb-on { background: #6fb21a; background-image: unset !important;}


/* پنل پیشخوان کاربران */
.woocommerce-MyAccount-navigation ul li a {background: #FFFFFF; margin: 10px 0; padding: 15px !important; border-radius: 8px; text-align: right; }


/* پیشخوان */
.woocommerce-MyAccount-title.entry-title {
    padding: 10px !important;
    color: #ffffff !important;
    background: #1246ab !important;
    border-radius: 8px !important;
}

/* علاقه مندی پنل */
a.wd-wishlist-remove {background: red; padding: 5px 10px; border-radius: 0 0 6px 6px;color: #fff; margin-top: -18px;}

.wd-my-account-sidebar.woodmart-my-account-sidebar { box-shadow: -2px 2px 30px #00000010; border-radius: 10px; border: none; text-align: right; padding: 15px 0 15px 0; max-width: 20%;}
.woocommerce-MyAccount-title.entry-title {  font-size: 17px; padding-right: 20px;  font-weight: 600;  color: #444;    text-align: right;}
.woocommerce-MyAccount-content {Box-shadow: -2px 2px 30px #00000010; border-radius: 10px; padding: 40px;background: #FFF;}
.wd-my-account-sidebar {border: none;}
.wd-my-account-links a {box-shadow: none;border: 1px solid #e9e9e9;border-radius: 18px;}
.woocommerce-EditAccountForm fieldset { border-radius: 8px; border: 1px solid #eee;}
/* استایل‌های واکنشگرا */
@media (max-width: 768px) {
.woocommerce-MyAccount-navigation,.woocommerce-MyAccount-content { float: none !important; width: 100%; padding: 15px; }
	a.wd-wishlist-remove {    margin-top: 0px;}	
.wd-my-account-sidebar { padding: 0;}
.woocommerce-my-account-wrapper { margin-inline: 0;}
.rtl .woocommerce-MyAccount-content {padding-right: 15px;}
/* استایل منوی افقی در موبایل */
.woocommerce-MyAccount-navigation { overflow-x: auto; -webkit-overflow-scrolling: touch;padding: 10px !important;    }
.woocommerce-MyAccount-navigation ul {display: flex; flex-wrap: nowrap;  gap: 10px; padding-bottom: 5px;}
.woocommerce-MyAccount-navigation ul li {margin: 0;padding: 0; border-bottom: none;flex: 0 0 auto; }
.woocommerce-MyAccount-navigation ul li a {padding: 8px 15px; font-size: 13px; border: 1px solid #e6e6e6; border-radius: 20px; }
/* نمایش اسکرولبار افقی به صورت زیبا */
.woocommerce-MyAccount-navigation::-webkit-scrollbar { height: 4px;    }
.woocommerce-MyAccount-navigation::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px;}
.woocommerce-MyAccount-navigation::-webkit-scrollbar-thumb { background: #333; border-radius: 4px;}
}




/********  موبایل **********/

@media (max-width: 768px) { 
.woocommerce-shipping-methods label {font-size: 12px !important;}
.wd-checkout-prod-title>:is(.cart-product-label-link,.cart-product-label) {font-size: 14px;}	
.woocommerce-billing-fields>h3 { font-size: 16px;background: #70b21a; color: #fff; padding: 8px;border-radius: 6px;
    font-weight: 500;}	
.woocommerce-additional-fields>h3 { font-size: 16px;background: #70b21a; color: #fff; padding: 8px;border-radius: 6px; font-weight: 500;}	
	
	
}
















/*
 * Pars Nevis - Static CSS
 * Extracted from plugin version 3.0.0
 *
 * Add this code to your child theme's style.css.
 * The dynamic Table of Contents still requires PHP.
 */

:root {
    --pai-primary: #1e3a8a;
    --pai-secondary: #f97316;
    --pai-accent: #3b82f6;
    --pai-radius: 12px;
    --pai-wrapper-bg: #ffffff;
    --pai-text: #334155;
}

/* =========================================================
   پارس نویس - Dynamic Styles v2.1
   ========================================================= */

.pai-article-wrapper {
    line-height: 2.1;
    color: var(--pai-text);
    background: var(--pai-wrapper-bg);
    max-width: 100%;
    overflow-x: hidden;
    direction: rtl;
    padding: 0 8px;
    font-size: 1.05em;
}

.pai-article-wrapper h1 {
    background: linear-gradient(135deg, var(--pai-primary) 0%, var(--pai-accent) 50%, var(--pai-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(1.8em, 4vw, 2.6em);
    margin-bottom: 10px;
    padding-bottom: 15px;
    font-weight: 900;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--pai-primary), var(--pai-accent), var(--pai-secondary)) 1;
    line-height: 1.4;
}

.pai-article-wrapper h2 {
    color: var(--pai-primary);
    border-right: 5px solid var(--pai-accent);
    padding: var(--pai-radius) 18px var(--pai-radius) 15px;
    margin: 45px 0 20px;
    font-size: clamp(1.4em, 3vw, 1.9em);
    font-weight: 800;
    background: linear-gradient(90deg, #eff6ff, #f8fafc);
    border-radius: 0 var(--pai-radius) var(--pai-radius) 0;
    scroll-margin-top: 100px;
}

.pai-article-wrapper h3 {
    color: var(--pai-text);
    font-weight: 700;
    margin: 30px 0 15px;
    font-size: 1.3em;
    padding-right: var(--pai-radius);
    border-right: 3px solid #94a3b8;
    scroll-margin-top: 100px;
}

.pai-article-wrapper p {
    margin-bottom: 18px;
    text-align: justify;
}

.pai-article-wrapper ul,
.pai-article-wrapper ol {
    padding-right: 30px;
    margin-bottom: 22px;
}

.pai-article-wrapper li {
    margin-bottom: 10px;
    line-height: 1.9;
}


/* =========================================================
   جداول
   ========================================================= */

.pai-table-content {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    border-radius: var(--pai-radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
    font-size: 0.95em;
}

.pai-table-content thead {
    background: linear-gradient(135deg, var(--pai-primary), var(--pai-accent), #60a5fa);
    color: white;
}

.pai-table-content th {
    padding: 16px 18px;
    text-align: right;
    font-weight: 700;
}

.pai-table-content td {
    padding: 13px 18px;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    color: #475569;
    vertical-align: top;
}

.pai-table-content tbody tr:nth-child(even) td {
    background-color: #f8fafc;
}

.pai-table-content tbody tr:hover td {
    background-color: #eff6ff;
    transition: 0.2s;
}


/* =========================================================
   باکس‌های ویژه
   ========================================================= */

.pai-highlight-box {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-right: 5px solid var(--pai-secondary);
    padding: 18px 22px;
    border-radius: var(--pai-radius);
    margin: 25px 0;
    color: #92400e;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(245,158,11,0.15);
}

.pai-info-box {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-right: 5px solid var(--pai-accent);
    padding: 18px 22px;
    border-radius: var(--pai-radius);
    margin: 25px 0;
    color: var(--pai-primary);
    box-shadow: 0 2px 8px rgba(59,130,246,0.12);
}

.pai-warning-box {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border-right: 5px solid #ef4444;
    padding: 18px 22px;
    border-radius: var(--pai-radius);
    margin: 25px 0;
    color: #991b1b;
    box-shadow: 0 2px 8px rgba(239,68,68,0.12);
}

.pai-success-box {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    border-right: 5px solid #059669;
    padding: 18px 22px;
    border-radius: var(--pai-radius);
    margin: 25px 0;
    color: #065f46;
    box-shadow: 0 2px 8px rgba(5,150,105,0.12);
}

.pai-purple-box {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    border-right: 5px solid #7c3aed;
    padding: 18px 22px;
    border-radius: var(--pai-radius);
    margin: 25px 0;
    color: #5b21b6;
    box-shadow: 0 2px 8px rgba(124,58,247,0.12);
}

.pai-medical-disclaimer {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid #fca5a5;
    border-radius: var(--pai-radius);
    padding: 20px 25px;
    margin: 30px 0;
    color: #991b1b;
    font-weight: 600;
}

.pai-recipe-box {
    background: #fffbeb;
    border: 2px solid var(--pai-secondary);
    border-radius: var(--pai-radius);
    padding: 25px;
    margin: 25px 0;
}

.pai-recipe-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.pai-recipe-meta span {
    background: #fef3c7;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9em;
    color: #92400e;
    font-weight: 600;
}


/* =========================================================
   مراحل و FAQ
   ========================================================= */

.pai-step-box {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: var(--pai-radius);
    padding: 22px;
    margin: 20px 0;
    position: relative;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
    transition: all 0.3s;
}

.pai-step-box:hover {
    border-color: var(--pai-accent);
    box-shadow: 0 4px 20px rgba(59,130,246,0.1);
}

.pai-step-box .step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, var(--pai-primary), var(--pai-accent));
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1em;
    box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}

details.pai-faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: var(--pai-radius);
    margin-bottom: var(--pai-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

details.pai-faq-item[open] {
    border-color: var(--pai-accent);
    box-shadow: 0 4px 15px rgba(59,130,246,0.12);
}

summary.pai-faq-question {
    padding: 16px 22px;
    cursor: pointer;
    font-weight: 700;
    color: #1e293b;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8fafc;
    user-select: none;
    transition: background 0.2s;
}

summary.pai-faq-question::-webkit-details-marker {
    display: none;
}

summary.pai-faq-question::after {
    content: '+';
    font-size: 1.6em;
    color: var(--pai-accent);
    font-weight: bold;
    transition: transform 0.3s;
    line-height: 1;
}

details.pai-faq-item[open] summary.pai-faq-question::after {
    content: '−';
    transform: rotate(180deg);
    color: #ef4444;
}

details.pai-faq-item[open] summary.pai-faq-question {
    background: #eff6ff;
    color: var(--pai-primary);
    border-bottom: 1px solid #e2e8f0;
}

.pai-faq-answer {
    padding: 20px 22px;
    color: #475569;
    line-height: 2;
    background: #fff;
}


/* =========================================================
   فهرست مطالب - Dynamic TOC
   ========================================================= */

.pai-toc {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid #bae6fd;
    border-radius: var(--pai-radius);
    margin: 25px 0 35px;
    position: relative;
    overflow: hidden;
}

.pai-toc::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--pai-primary), var(--pai-accent), var(--pai-secondary));
}

.pai-toc-title {
    padding: 18px 22px;
    font-weight: 800;
    color: #0369a1;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.pai-toc-title::-webkit-details-marker {
    display: none;
}

.pai-toc-title::marker {
    display: none;
}

.pai-toc-title-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pai-toc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--pai-accent);
    color: #fff;
    border-radius: 7px;
    font-size: 14px;
}

.pai-toc-toggle {
    width: 28px;
    height: 28px;
    border: 1px solid #bae6fd;
    border-radius: 50%;
    background: #fff;
    position: relative;
    flex-shrink: 0;
}

.pai-toc-toggle::before {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border-right: 2px solid #0284c7;
    border-bottom: 2px solid #0284c7;
    transform: rotate(45deg);
    top: 8px;
    left: 9px;
    transition: transform 0.25s ease;
}

.pai-toc[open] .pai-toc-toggle::before {
    transform: rotate(225deg);
    top: 11px;
}

.pai-toc-content {
    padding: 0 22px 22px;
}

.pai-toc-list,
.pai-toc-sublist {
    margin: 0;
}

.pai-toc-list {
    padding-right: 22px;
}

.pai-toc-sublist {
    padding-right: 25px;
    margin-top: 7px;
    margin-bottom: 8px;
}

.pai-toc-item {
    margin-bottom: 8px;
    line-height: 1.8;
}

.pai-toc-item-h2 {
    font-weight: 600;
}

.pai-toc-item-h3 {
    font-size: 0.94em;
    font-weight: 400;
}

.pai-toc a {
    color: #0284c7;
    text-decoration: none;
    transition: color 0.2s ease, padding-right 0.2s ease;
}

.pai-toc a:hover {
    color: var(--pai-primary);
    padding-right: 4px;
}

.pai-toc a:focus-visible {
    outline: 2px solid var(--pai-accent);
    outline-offset: 3px;
    border-radius: 3px;
}


/* =========================================================
   Divider
   ========================================================= */

.pai-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
    margin: 35px 0;
    border: none;
}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {

    .pai-article-wrapper {
        padding: 0 5px;
        font-size: 1em;
    }

    .pai-toc {
        padding: 18px;
        margin: 20px 0 30px;
    }

    .pai-toc-list {
        padding-right: 18px;
    }

    .pai-toc-sublist {
        padding-right: 18px;
    }

    .pai-toc-item {
        margin-bottom: 7px;
    }

    .pai-article-wrapper h2 {
        margin-top: 35px;
        padding: 10px 14px;
    }

    .pai-article-wrapper h3 {
        margin-top: 25px;
    }
}


/* =========================================================
   Accessibility
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .pai-toc a {
        transition: none;
    }
}