/* Nestorland WooCommerce — single scoped source of truth */
:root {
	--nw-green: #50b548;
	--nw-green-dark: #439e3d;
	--nw-bg: #111111;
	--nw-card: #1a1a1a;
	--nw-card-soft: #151515;
	--nw-muted: #8b8b8b;
	--nw-border: rgba(255,255,255,.06);
	--nw-text: #ffffff;
	--nw-radius: 2rem;
}
/* حالت روز (Light) — نگاشت توکن‌های فروشگاه */
html[data-theme="light"] {
	--nw-green: #3d9636;
	--nw-green-dark: #2f7a2a;
	--nw-bg: #f4f6f8;
	--nw-card: #ffffff;
	--nw-card-soft: #eef1f5;
	--nw-muted: #64748b;
	--nw-border: rgba(15,23,41,.10);
	--nw-text: #1f2937;
}
.nestor-single-product { color: var(--nw-text); font-family: Vazirmatn,system-ui,sans-serif; }
.nestor-single-product * { box-sizing: border-box; }
.nestor-single-product { width: min(100%,1300px); margin-inline: auto; padding-inline: 16px; }
.nestor-single-product .woocommerce-notices-wrapper:empty { display: none; }
.nestor-single-product { padding-top: 16px; padding-bottom: 110px; }
.nestor-single-product::before,
.nestor-single-product::after { display: none; }
/* بردکرامب پیش‌فرض ووکامرس (فروشگاه/دسته): فاصله و عرض استاندارد تا به لبه نچسبد */
.woocommerce-breadcrumb {
	width: min(100%, 1300px);
	margin: 20px auto 0;
	padding-inline: 16px;
	color: var(--nw-muted);
	font-size: 12px;
	font-weight: 700;
}
.woocommerce-breadcrumb a { color: var(--nw-muted); text-decoration: none; }
.woocommerce-breadcrumb a:hover { color: var(--nw-green); }
@media (min-width: 640px) { .woocommerce-breadcrumb { padding-inline: 24px; } }
/* در صفحه‌ی تک‌محصول بردکرامب سفارشی داریم؛ نسخه‌ی تکراری ووکامرس حذف شود */
.single-product .woocommerce-breadcrumb { display: none; }
/* نمایش امتیاز ثبت‌شده (★★★★★ با پرشدگی درصدی) */
.star-rating { position: relative; display: inline-block; width: 5.6em; height: 1.2em; overflow: hidden; font-size: 14px; line-height: 1.2; }
.star-rating::before { position: absolute; inset: 0; content: '★★★★★'; color: rgba(148,163,184,.45); letter-spacing: .1em; }
.star-rating span { position: absolute; top: 0; right: 0; height: 100%; overflow: hidden; font-size: 0; }
.star-rating span::before { position: absolute; top: 0; right: 0; content: '★★★★★'; color: #eab308; font-size: 14px; letter-spacing: .1em; white-space: nowrap; }
@media (min-width: 640px) { .nestor-single-product { padding-inline: 24px; } }


/* ══════════════════════════════════════════
   اصلاحات حالت روز (Light) برای رنگ‌های ثابت فروشگاه
══════════════════════════════════════════ */

/* دکمه‌های اصلی سبز: متن سفید در حالت روز برای کنتراست بهتر */
html[data-theme="light"] .woocommerce a.button,
html[data-theme="light"] .woocommerce button.button,
html[data-theme="light"] .woocommerce input.button,
html[data-theme="light"] .woocommerce .single_add_to_cart_button { color: #fff; }

html[data-theme="light"] .woocommerce .comment-form-rating label,
html[data-theme="light"] .woocommerce #review_form .comment-form label { color: var(--nw-muted); }



/* ══════════════════════════════════════════
   نگاشت متغیرهای رنگ ووکامرس به رنگ‌های قالب
   ووکامرس --wc-primary:#720eec (بنفش) تعریف می‌کند که روی دکمه‌ها و
   عناصر تعاملی اعمال می‌شود. اینها را به سبز نستورلند نگاشت می‌کنیم.
══════════════════════════════════════════ */
:root,
.woocommerce,
body {
	--wc-primary: var(--nw-green, #50b548);
	--wc-primary-text: #ffffff;
	--wc-secondary: var(--nw-card, #1a1a1a);
	--wc-secondary-text: var(--nw-text, #ffffff);
	--wc-highlight: var(--nw-green, #50b548);
	--wc-highlight-text: #ffffff;
	--wc-content-bg: var(--nw-card, #1a1a1a);
	--wc-subtext: var(--nw-muted, #8b8b8b);
	--wc-form-color-text: var(--nw-text, #ffffff);
	--wc-form-color-background: var(--nw-bg, #111111);
	--wc-form-border-color: var(--nw-border, rgba(255,255,255,.1));
	--wc-separator-color: var(--nw-border, rgba(255,255,255,.1));
}

/* دکمه‌های ووکامرس — سبز قالب به‌جای بنفش پیش‌فرض */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce .single_add_to_cart_button {
	background-color: var(--nw-green);
	background-image: none;
	color: #111;
	border: 0;
	text-shadow: none;
	font-family: inherit;
	font-weight: 900;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce .single_add_to_cart_button:hover {
	background-color: var(--nw-green-dark);
	color: #111;
}
.woocommerce a.button.disabled,
.woocommerce button.button:disabled,
.woocommerce button.button.disabled { opacity: .45; }

/* تب‌های محصول — رفع پس‌زمینه روشن پیش‌فرض ووکامرس */
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; border: 0; box-shadow: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: var(--nw-bg);
	border: 1px solid var(--nw-border);
	border-radius: 10px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	background: var(--nw-green);
	border-color: var(--nw-green);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--nw-muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #111; }
.woocommerce div.product .woocommerce-tabs .panel {
	background: transparent;
	color: var(--nw-text);
	border: 0;
	box-shadow: none;
}
.woocommerce div.product .woocommerce-tabs .panel h2 { color: var(--nw-text); font-size: 18px; font-weight: 900; }

/* فرم نظرات محصول — هماهنگ با تم */
/* انتخاب امتیاز در فرم نظر — ستاره به‌جای متن «۱ از ۵ ستاره» (فونت ستاره ووکامرس حذف شده است) */
.comment-form-rating p.stars { margin: 6px 0 0; line-height: 1; }
.comment-form-rating p.stars > span { display: inline-flex; gap: 4px; padding: 10px 14px; border: 1px solid var(--nw-border); border-radius: 14px; background: var(--nw-bg); }
.comment-form-rating p.stars a { position: relative; display: inline-block; width: 1.3em; height: 1.3em; overflow: hidden; font-size: 22px; text-decoration: none; text-indent: 999em; }
.comment-form-rating p.stars a::before { position: absolute; inset: 0; content: '★'; text-indent: 0; color: rgba(148,163,184,.45); text-align: center; transition: color .15s; }
.comment-form-rating p.stars:hover a::before,
.comment-form-rating p.stars.selected a::before { color: #eab308; }
.comment-form-rating p.stars a:hover ~ a::before,
.comment-form-rating p.stars.selected a.active ~ a::before { color: rgba(148,163,184,.45); }
.comment-form-rating p.stars.selected:hover a::before { color: #eab308; }
.comment-form-rating p.stars.selected:hover a:hover ~ a::before { color: rgba(148,163,184,.45); }
.woocommerce #review_form #respond textarea,
.woocommerce #review_form #respond input[type="text"],
.woocommerce #review_form #respond input[type="email"] {
	background: var(--nw-bg);
	border: 1px solid var(--nw-border);
	border-radius: 12px;
	color: var(--nw-text);
	padding: 12px 14px;
	font-family: inherit;
	width: 100%;
}
.woocommerce #review_form #respond .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: 12px;
	color: var(--nw-muted);
}
.woocommerce #review_form #respond .comment-form-cookies-consent input { width: auto; margin: 3px 0 0; flex-shrink: 0; }

/* اعلان‌ها — رنگ سبز به‌جای بنفش */
.woocommerce-message,
.woocommerce-info {
	background: var(--nw-card);
	border-top-color: var(--nw-green);
	color: var(--nw-text);
}
.woocommerce-message::before,
.woocommerce-info::before { color: var(--nw-green); }
.woocommerce-error { background: var(--nw-card); color: var(--nw-text); }

/* حالت روز — دکمه‌ها متن سفید */
html[data-theme="light"] .woocommerce a.button,
html[data-theme="light"] .woocommerce button.button,
html[data-theme="light"] .woocommerce input.button,
html[data-theme="light"] .woocommerce .single_add_to_cart_button { color: #fff; }
html[data-theme="light"] .woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: #fff; }


/* ══════════════════════════════════════════
   صفحه تشکر — رسید تلگرام و اعلان DNS
   (قبلاً به‌صورت <style> درون صفحه چاپ می‌شد؛ اکنون یک‌جا و هماهنگ با تم روز/شب)
══════════════════════════════════════════ */
.nestor-telegram-receipt { margin: 24px 0; overflow: hidden; border: 1px solid var(--nw-border); border-radius: 20px; background: var(--nw-card); box-shadow: 0 8px 30px rgba(0,0,0,.18); font-family: Vazirmatn, system-ui, sans-serif; }
.ntr-header { padding: 24px; background: var(--nw-card-soft); text-align: center; }
.ntr-logo { margin-bottom: 8px; font-size: 40px; }
.ntr-header h3 { margin: 0 0 4px; color: var(--nw-green); font-size: 1.25rem; font-weight: 900; }
.ntr-header p { margin: 0; color: var(--nw-muted); font-size: 13px; }
.ntr-status { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-bottom: 1px solid var(--nw-border); background: rgba(80,181,72,.08); }
.ntr-status-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--nw-green); color: #fff; font-size: 14px; font-weight: 900; }
.ntr-status span:last-child { color: var(--nw-green); font-size: 14px; font-weight: 700; }
.ntr-products, .ntr-info, .ntr-instruction, .ntr-actions { padding: 16px 20px; }
.ntr-products, .ntr-info, .ntr-instruction { border-bottom: 1px solid var(--nw-border); }
.ntr-product { margin-bottom: 12px; }
.ntr-product h4 { margin: 0 0 8px; color: var(--nw-text); font-size: 14px; font-weight: 700; }
.ntr-attrs { display: flex; flex-wrap: wrap; gap: 6px; }
.ntr-attr { padding: 4px 12px; border: 1px solid var(--nw-border); border-radius: 20px; background: var(--nw-bg); color: var(--nw-muted); font-size: 11px; }
.ntr-info-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; }
.ntr-info-label { color: var(--nw-muted); font-size: 12px; }
.ntr-info-value { color: var(--nw-text); font-size: 14px; font-weight: 700; }
.ntr-price { color: var(--nw-green); }
.ntr-instruction { background: rgba(80,181,72,.05); }
.ntr-instruction p { margin: 0; color: var(--nw-muted); font-size: 13px; line-height: 2; }
.ntr-actions { display: flex; gap: 10px; }
.ntr-btn-telegram, .ntr-btn-secondary { flex: 1; padding: 14px; border-radius: 12px; font-size: 14px; text-align: center; text-decoration: none; transition: background .2s, transform .2s, border-color .2s; }
.ntr-btn-telegram { background: #2AABEE; color: #fff; font-weight: 900; }
.ntr-btn-telegram:hover { background: #229ED9; color: #fff; transform: translateY(-2px); }
.ntr-btn-secondary { border: 1px solid var(--nw-border); background: var(--nw-bg); color: var(--nw-muted); font-weight: 700; }
.ntr-btn-secondary:hover { border-color: var(--nw-green); color: var(--nw-text); }
@media (max-width: 480px) { .ntr-actions { flex-direction: column; } }

.nestor-dns-alert { display: flex; flex-direction: column; align-items: center; gap: 16px; margin: 24px 0; padding: 24px; border: 2px solid var(--nw-green); border-radius: 16px; background: var(--nw-card); text-align: center; box-shadow: 0 8px 30px rgba(80,181,72,.15); animation: nestorFadeInUp .6s ease; }
.dns-alert-icon { display: grid; place-items: center; width: 56px; height: 56px; border: 2px solid var(--nw-green); border-radius: 50%; background: rgba(80,181,72,.15); color: var(--nw-green); font-size: 24px; }
.dns-alert-content h3 { margin: 0 0 8px; color: var(--nw-green); font-size: 1.25rem; font-weight: 900; }
.dns-alert-content p { margin: 0 0 16px; color: var(--nw-muted); font-size: 14px; line-height: 2; }
@keyframes nestorFadeInUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* ══════════════════════════════════════════
   صفحه تک‌محصول (np-*) — منطبق بر طرح مرجع نستورلند
   ستون اصلی ۸/۱۲ + سایدبار چسبان ۴/۱۲، نوار خرید و Bottom Sheet موبایل
   رنگ‌ها: توکن‌های --np-* (شب پیش‌فرض، روز پایین همین بخش) + --nw-green از پنل
══════════════════════════════════════════ */
/* صفحه محصول تمام‌عرض (w-full px-4 sm:px-8 lg:px-12 در طرح مرجع) */
.nestor-single-product.np { width: 100%; max-width: none; margin-inline: 0; }
.np {
	--np-g: var(--nw-green); --np-g-d: var(--nw-green-dark); --np-on-g: #111;
	--np-card: #151515; --np-inner: #101010; --np-tile: #161616; --np-hover: #1f1f1f;
	--np-sheet: #161616; --np-sheet-bar: #121212; --np-crumb: #181818; --np-tabs-bg: #0d0d0d; --np-code: rgba(0,0,0,.6);
	--np-line: rgba(255,255,255,.05); --np-line2: rgba(255,255,255,.1); --np-soft: rgba(255,255,255,.05); --np-soft2: rgba(255,255,255,.1);
	--np-text: #fff; --np-text2: #d1d5db; --np-muted: #9ca3af; --np-dim: #6b7280;
	--np-shadow: 0 25px 50px -12px rgba(0,0,0,.5); --np-shadow-sm: 0 10px 15px -3px rgba(0,0,0,.25);
	padding: 24px 16px 40px; color: var(--np-text);
}
html[data-theme="light"] .np {
	--np-on-g: #fff;
	--np-card: #fff; --np-inner: #f4f6f8; --np-tile: #fff; --np-hover: #f8fafc;
	--np-sheet: #fff; --np-sheet-bar: #f8fafc; --np-crumb: #fff; --np-tabs-bg: #eef1f5; --np-code: #fff;
	--np-line: rgba(15,23,41,.07); --np-line2: rgba(15,23,41,.12); --np-soft: rgba(15,23,41,.05); --np-soft2: rgba(15,23,41,.08);
	--np-text: #1f2937; --np-text2: #374151; --np-muted: #64748b; --np-dim: #94a3b8;
	--np-shadow: 0 20px 40px -16px rgba(15,23,41,.16); --np-shadow-sm: 0 8px 20px -8px rgba(15,23,41,.12);
}
.np *, .np *::before, .np *::after { box-sizing: border-box; }
.np [hidden] { display: none !important; }
.np a { color: inherit; text-decoration: none; }
.np .np-ico { flex-shrink: 0; }
.np .np-ico.is-fill { fill: currentColor; }
.np button { font-family: inherit; }
html.np-locked { overflow: hidden; }
.single-product .woocommerce-breadcrumb { display: none; }

/* مسیر صفحه */
.np-crumbs { display: flex; align-items: center; gap: 6px; margin-bottom: 16px; padding: 4px 0; overflow-x: auto; color: var(--np-muted); font-size: 11px; font-weight: 700; scrollbar-width: none; }
.np-crumbs::-webkit-scrollbar { display: none; }
.np-crumbs a, .np-crumbs .is-current { flex-shrink: 0; padding: 6px 10px; border-radius: 8px; background: var(--np-crumb); white-space: nowrap; transition: color .2s; }
.np-crumbs a:hover { color: var(--np-text); }
.np-crumbs .is-current { padding-inline: 12px; border: 1px solid color-mix(in srgb, var(--np-g) 20%, transparent); color: var(--np-g); }
.np-crumbs .np-ico { color: var(--np-dim); }

/* ستون اصلی تمام‌عرض */
.np-main { display: flex; min-width: 0; flex-direction: column; gap: 20px; }

/* دکمه‌ها */
.np-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 16px; border: 0; border-radius: 16px; background: var(--np-g); color: var(--np-on-g); font-size: 12px; font-weight: 900; line-height: 1.4; cursor: pointer; box-shadow: var(--np-shadow-sm); transition: background .2s, transform .15s, opacity .2s; }
.np-btn:hover { background: var(--np-g-d); color: var(--np-on-g); }
.np-btn:active { transform: scale(.95); }
.np-btn--sm { flex-shrink: 0; gap: 6px; padding: 12px 16px; border-radius: 12px; }
.np-btn--lg { width: 100%; }
.np-btn.is-loading, .np-btn:disabled { opacity: .6; pointer-events: none; }
.np-btn-ghost { padding: 8px 14px; border: 0; border-radius: 12px; background: var(--np-soft2); color: var(--np-text); font-size: 12px; font-weight: 900; cursor: pointer; transition: background .2s, color .2s; }
.np-btn-ghost:hover { background: var(--np-g); color: var(--np-on-g); }
.np-btn-soft { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid color-mix(in srgb, var(--np-g) 40%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--np-g) 15%, transparent); color: var(--np-g); font-size: 12px; font-weight: 900; cursor: pointer; transition: background .2s, transform .15s; }
.np-btn-soft:hover { background: color-mix(in srgb, var(--np-g) 25%, transparent); }
.np-btn-soft:active { transform: scale(.95); }
.np-btn-soft.is-loading .np-ico { animation: npSpin 1s linear infinite; }
.np-icon-btn { display: grid; flex-shrink: 0; place-items: center; padding: 8px; border: 1px solid var(--np-line2); border-radius: 12px; background: var(--np-soft); color: var(--np-muted); cursor: pointer; transition: color .2s, background .2s; }
.np-icon-btn:hover { background: var(--np-soft2); color: var(--np-text); }
.np-link { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--np-g); font-size: 12px; font-weight: 700; cursor: pointer; }
.np-link:hover { text-decoration: underline; }

/* کارت پایه بخش‌ها */
.np-card { padding: 16px; border: 1px solid var(--np-line); border-radius: 24px; background: var(--np-card); box-shadow: var(--np-shadow-sm); scroll-margin-top: 96px; }
.np-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.np-card__head h2, .np-card__title { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--np-text); font-size: 16px; font-weight: 900; line-height: 1.6; }
.np-card__title { margin-bottom: 20px; }
.np-card h2 > .np-ico, .np-subtitle > .np-ico { color: var(--np-g); stroke-width: 2.5; }
.np-card__sub { margin: 4px 0 0; color: var(--np-muted); font-size: 12px; }
.np-hint { display: none; color: var(--np-muted); font-size: 11px; font-weight: 700; }
.np-subtitle { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--np-text); font-size: 14px; font-weight: 900; }

/* ── کارت معرفی ── */
.np-hero { position: relative; padding: 16px; overflow: hidden; border: 1px solid var(--np-line); border-radius: 24px; background: var(--np-card); box-shadow: var(--np-shadow); }
.np-hero__glow { position: absolute; top: -96px; right: -96px; width: 288px; height: 288px; border-radius: 50%; background: radial-gradient(circle, var(--np-g) 0%, transparent 70%); opacity: .2; filter: blur(64px); pointer-events: none; }
.np-hero__in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.np-hero__cover { position: relative; width: min(260px, 100%); margin-top: 26px; flex-shrink: 0; }
.np-cover { position: relative; aspect-ratio: 4/5; overflow: hidden; border: 1px solid var(--np-line2); border-radius: 16px; background: #0a0a0a; box-shadow: 0 15px 40px rgba(0,0,0,.6); }
.np-cover img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .5s; }
.np-cover:hover img { transform: scale(1.05); }
.np-cover__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), transparent 50%, rgba(0,0,0,.2)); pointer-events: none; }
.np-cover__rating { position: absolute; top: 12px; right: 12px; display: flex; align-items: center; gap: 4px; padding: 4px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 8px; background: rgba(0,0,0,.75); backdrop-filter: blur(12px); color: #facc15; font-size: 12px; font-weight: 900; }
.np-cover__rating .np-ico { fill: currentColor; }
.np-cover__btn { position: absolute; right: 12px; bottom: 12px; left: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 12px; border: 0; border-radius: 12px; background: color-mix(in srgb, var(--np-g) 95%, transparent); color: #111; font-size: 12px; font-weight: 900; cursor: pointer; box-shadow: 0 10px 15px -3px rgba(0,0,0,.3); transition: background .2s, transform .15s; }
.np-cover__btn:hover { background: var(--np-g); color: #111; }
.np-cover__btn:active { transform: scale(.95); }
.np-cover__dns { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px; text-align: center; }
.np-cover__dns-icon { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 12px; border: 1px solid color-mix(in srgb, var(--np-g) 50%, transparent); border-radius: 16px; background: color-mix(in srgb, var(--np-g) 20%, transparent); backdrop-filter: blur(12px); color: var(--np-g); box-shadow: 0 0 30px color-mix(in srgb, var(--np-g) 40%, transparent); }
.np-cover__dns-icon .np-ico { stroke-width: 2.5; }
.np-cover__dns-ping { padding: 4px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 8px; background: rgba(0,0,0,.8); color: #fff; font-size: 12px; font-weight: 900; }
.np-cover__dns-sub { margin-top: 6px; padding: 2px 10px; border-radius: 6px; background: rgba(0,0,0,.7); color: var(--np-g); font-size: 10px; font-weight: 900; }
.np-hero__body { display: flex; width: 100%; flex: 1; flex-direction: column; justify-content: space-between; text-align: center; }
.np-chips { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-bottom: 12px; }
.np-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border: 1px solid var(--np-line2); border-radius: 999px; background: var(--np-soft); color: var(--np-text2); font-size: 11px; font-weight: 700; }
.np-chip .np-ico { color: var(--np-g); }
.np-chip.is-primary { border-color: transparent; background: var(--np-g); color: var(--np-on-g); font-weight: 900; box-shadow: 0 4px 6px -1px color-mix(in srgb, var(--np-g) 20%, transparent); }
.np-chip.is-primary .np-ico { color: inherit; }
.np-chip.is-danger { border-color: rgba(239,68,68,.25); background: rgba(239,68,68,.1); color: #f87171; }
.np-title { margin: 0 0 10px; color: var(--np-text); font-size: 20px; font-weight: 900; line-height: 1.375; letter-spacing: -.01em; }
.np-title span { display: block; color: var(--np-g); }
.np-lead { margin-bottom: 20px; color: var(--np-text2); font-size: 12px; line-height: 28px; text-align: justify; opacity: .9; }
.np-lead p { margin: 0; }
.np-specs { display: grid; width: 100%; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; padding: 12px; border: 1px solid var(--np-line); border-radius: 16px; background: var(--np-inner); }
.np-spec { display: flex; min-width: 0; flex-direction: column; align-items: center; padding: 10px; border: 1px solid var(--np-line); border-radius: 12px; background: var(--np-tile); text-align: center; }
.np-spec span { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; color: var(--np-dim); font-size: 10px; font-weight: 700; }
.np-spec span .np-ico { color: var(--np-g); }
.np-spec strong { max-width: 100%; color: var(--np-text); font-size: 12px; font-weight: 900; line-height: 1.6; overflow-wrap: anywhere; }

/* ── نوار خلاصه انتخاب ── */
.np-summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border: 1px solid color-mix(in srgb, var(--np-g) 30%, transparent); border-radius: 16px; background: linear-gradient(to left, color-mix(in srgb, var(--np-g) 12%, var(--np-card)), var(--np-card) 50%); box-shadow: var(--np-shadow-sm); }
.np-summary__info { display: flex; min-width: 0; align-items: center; gap: 12px; }
.np-summary__icon { display: grid; flex: 0 0 48px; place-items: center; height: 48px; border: 1px solid color-mix(in srgb, var(--np-g) 30%, transparent); border-radius: 16px; background: color-mix(in srgb, var(--np-g) 15%, transparent); color: var(--np-g); }
.np-summary small { display: block; margin-bottom: 2px; color: var(--np-muted); font-size: 11px; font-weight: 700; }
.np-summary__line { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.np-summary__line strong { color: var(--np-text); font-size: 14px; font-weight: 900; }
.np-summary__pill { padding: 2px 10px; border-radius: 6px; background: var(--np-g); color: var(--np-on-g); font-size: 10px; font-weight: 900; }

/* ── اعلان زمان تحویل ── */
.np-chip--deliver { border-color: rgba(245,158,11,.3); background: rgba(245,158,11,.12); color: #d97706; }
.np-chip--deliver .np-ico { color: inherit; }
.np-chip--deliver.is-instant { border-color: transparent; background: color-mix(in srgb, var(--np-g) 14%, transparent); color: color-mix(in srgb, var(--np-g) 88%, var(--np-text)); }
.np-deliver { display: flex; align-items: flex-start; gap: 12px; margin-top: 14px; padding: 14px 16px; border: 1px solid rgba(245,158,11,.28); border-radius: 18px; background: linear-gradient(135deg, rgba(245,158,11,.1), color-mix(in srgb, var(--np-card) 92%, transparent)); }
.np-deliver.is-instant { border-color: color-mix(in srgb, var(--np-g) 28%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--np-g) 10%, transparent), color-mix(in srgb, var(--np-card) 92%, transparent)); }
.np-deliver__ic { display: grid; flex: 0 0 42px; place-items: center; height: 42px; border-radius: 13px; background: rgba(245,158,11,.16); color: #d97706; }
.np-deliver.is-instant .np-deliver__ic { background: color-mix(in srgb, var(--np-g) 16%, transparent); color: var(--np-g); }
.np-deliver__txt { min-width: 0; }
.np-deliver__txt strong { display: block; margin-bottom: 3px; color: var(--np-text); font-size: 14px; font-weight: 900; }
.np-deliver__time { display: inline-block; margin-inline-start: 4px; padding: 1px 8px; border-radius: 999px; background: rgba(245,158,11,.16); color: #d97706; font-size: 11px; font-weight: 800; }
.np-deliver.is-instant .np-deliver__time { background: color-mix(in srgb, var(--np-g) 14%, transparent); color: color-mix(in srgb, var(--np-g) 85%, var(--np-text)); }
.np-deliver__txt p { margin: 0; color: var(--np-text2); font-size: 12.5px; line-height: 1.9; }

/* ── دسترسی سریع ── */
.np-quick { display: flex; gap: 10px; padding: 4px 0; overflow-x: auto; scrollbar-width: none; }
.np-quick::-webkit-scrollbar { display: none; }
.np-quick a { display: flex; flex: 0 0 140px; align-items: center; justify-content: center; gap: 10px; padding: 14px; border: 1px solid var(--np-line); border-radius: 16px; background: var(--np-tile); box-shadow: var(--np-shadow-sm); transition: background .2s, border-color .2s, transform .15s; }
.np-quick a:hover { border-color: color-mix(in srgb, var(--np-g) 40%, transparent); background: var(--np-hover); }
.np-quick a:active { transform: scale(.95); }
.np-quick a > span { display: grid; place-items: center; padding: 8px; border-radius: 12px; background: color-mix(in srgb, var(--np-g) 10%, transparent); color: var(--np-g); transition: transform .2s; }
.np-quick a:hover > span { transform: scale(1.1); }
.np-quick b { color: var(--np-text2); font-size: 12px; font-weight: 700; white-space: nowrap; }
.np-quick a:hover b { color: var(--np-text); }

/* ── ویدیو و گالری ── */
.np-media { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; }
.np-media__video { position: relative; display: block; width: 100%; aspect-ratio: 16/9; padding: 0; overflow: hidden; border: 1px solid var(--np-line2); border-radius: 16px; background: #000; cursor: pointer; box-shadow: 0 20px 25px -5px rgba(0,0,0,.3); }
.np-media__video img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .65; transition: transform .7s; }
.np-media__video:hover img { transform: scale(1.05); }
.np-media__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.2), transparent); }
.np-media__play { position: absolute; inset: 0; display: grid; place-items: center; }
.np-media__play .np-ico { box-sizing: content-box; width: 26px; height: 26px; padding: 15px; border: 4px solid rgba(255,255,255,.25); border-radius: 50%; background: var(--np-g); color: #111; box-shadow: 0 0 30px color-mix(in srgb, var(--np-g) 60%, transparent); transition: transform .3s; }
.np-media__video:hover .np-media__play .np-ico { transform: scale(1.1); }
.np-media__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.np-media__img { display: block; aspect-ratio: 1; padding: 0; overflow: hidden; border: 1px solid var(--np-line2); border-radius: 12px; background: #0a0a0a; cursor: zoom-in; }
.np-media__img img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .5s, opacity .3s; }
.np-media__img:hover img { transform: scale(1.1); opacity: 1; }

/* ── وضعیت سرورها (DNS) ── */
.np-ping .np-card__head { align-items: flex-start; margin-bottom: 24px; }
.np-ping__grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; align-items: stretch; }
.np-ping__list { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--np-line); border-radius: 16px; background: var(--np-inner); }
.np-ping__th { display: flex; justify-content: space-between; padding-bottom: 8px; border-bottom: 1px solid var(--np-line); color: var(--np-muted); font-size: 11px; font-weight: 700; }
.np-ping__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px; border: 1px solid var(--np-line); border-radius: 12px; background: var(--np-tile); }
.np-ping__row > div:first-child { display: flex; min-width: 0; align-items: center; gap: 10px; color: var(--np-text2); font-size: 12px; font-weight: 700; }
.np-ping__dot { flex: 0 0 10px; height: 10px; border-radius: 50%; background: var(--np-g); box-shadow: 0 0 8px var(--np-g); }
.np-ping__vals { display: flex; flex-shrink: 0; align-items: center; gap: 8px; }
.np-ping__loss { padding: 2px 8px; border-radius: 4px; background: var(--np-soft); color: var(--np-muted); font-family: ui-monospace, monospace; font-size: 10px; }
.np-ping__ms { padding: 4px 10px; border: 1px solid color-mix(in srgb, var(--np-g) 30%, transparent); border-radius: 8px; background: color-mix(in srgb, var(--np-g) 10%, transparent); color: var(--np-g); font-family: ui-monospace, monospace; font-size: 12px; font-weight: 900; }
.np-ping__panel { display: flex; flex-direction: column; justify-content: space-between; padding: 16px; border: 1px solid color-mix(in srgb, var(--np-g) 30%, transparent); border-radius: 16px; background: linear-gradient(to bottom, color-mix(in srgb, var(--np-g) 10%, var(--np-inner)), var(--np-inner)); }
.np-ping__panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.np-ping__panel-head > span:first-child { display: flex; align-items: center; gap: 6px; color: var(--np-g); font-size: 12px; font-weight: 900; }
.np-ping__panel-tag { padding: 2px 8px; border-radius: 6px; background: var(--np-g); color: var(--np-on-g); font-size: 10px; font-weight: 900; }
.np-ping__panel p { margin: 0 0 12px; color: var(--np-text2); font-size: 11px; line-height: 24px; }
.np-ping__codes { display: flex; flex-direction: column; gap: 8px; }
.np-ping__code { display: flex; align-items: center; justify-content: space-between; padding: 10px; border: 1px solid var(--np-line2); border-radius: 12px; background: var(--np-code); }
.np-ping__code small { display: block; color: var(--np-muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.np-ping__code b { color: var(--np-text); font-family: ui-monospace, monospace; font-size: 12px; font-weight: 900; letter-spacing: .05em; }
.np-ping__code + .np-ping__code b { color: var(--np-g); }
.np-ping__code .np-icon-btn { border: 0; background: var(--np-soft2); color: var(--np-text); }
.np-ping__code .np-icon-btn:hover { background: var(--np-g); color: #111; }

/* ── مزایا، توضیحات، سوالات متداول ── */
.np-benefits { display: grid; grid-template-columns: minmax(0,1fr); gap: 14px; margin-bottom: 24px; }
.np-benefit { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--np-line); border-radius: 16px; background: var(--np-inner); }
.np-benefit__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--np-g) 10%, transparent); color: var(--np-g); }
.np-benefit h3 { margin: 0; color: var(--np-text); font-size: 14px; font-weight: 900; }
.np-benefit p { margin: 0; color: var(--np-muted); font-size: 12px; line-height: 24px; }
.np-desc { margin-bottom: 8px; padding-top: 16px; border-top: 1px solid var(--np-line); }
.np-desc__body { position: relative; color: var(--np-text2); font-size: 13px; line-height: 2.1; text-align: justify; }
.np-desc__body p { margin: 0 0 12px; }
.np-desc__body img { max-width: 100%; height: auto; border-radius: 14px; }
.np-desc__body h2, .np-desc__body h3, .np-desc__body h4 { color: var(--np-text); font-size: 15px; font-weight: 900; }
.np-desc__body a { color: var(--np-g); }
.np-desc.is-collapsed .np-desc__body { max-height: 280px; overflow: hidden; }
.np-desc.is-collapsed .np-desc__body::after { position: absolute; right: 0; bottom: 0; left: 0; height: 90px; background: linear-gradient(to top, var(--np-card), transparent); content: ''; }
.np-desc__more { display: flex; align-items: center; gap: 6px; margin: 8px auto 0; padding: 8px 14px; border: 1px solid var(--np-line); border-radius: 12px; background: var(--np-inner); color: var(--np-g); font-size: 12px; font-weight: 900; cursor: pointer; }
.np-desc:not(.is-collapsed) .np-desc__more .np-ico { transform: rotate(180deg); }
.np-faq { padding-top: 16px; border-top: 1px solid var(--np-line); scroll-margin-top: 96px; }
.np-faq__list { display: flex; flex-direction: column; gap: 10px; }
.np-faq__item { overflow: hidden; border: 1px solid var(--np-line); border-radius: 16px; background: var(--np-inner); }
.np-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; color: var(--np-text); font-size: 12px; font-weight: 700; line-height: 1.8; list-style: none; cursor: pointer; transition: color .2s; }
.np-faq__item summary::-webkit-details-marker { display: none; }
.np-faq__item summary:hover { color: var(--np-g); }
.np-faq__item summary .np-ico { color: var(--np-muted); transition: transform .3s, color .3s; }
.np-faq__item[open] summary .np-ico { color: var(--np-g); transform: rotate(180deg); }
.np-faq__a { padding: 12px 16px 16px; border-top: 1px solid var(--np-line); color: var(--np-muted); font-size: 12px; line-height: 28px; }

/* ── نظرات ── */
.np-reviews .np-card__head { margin-bottom: 24px; }
.np-score { display: flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid var(--np-line); border-radius: 12px; background: var(--np-inner); color: var(--np-dim); font-size: 12px; font-weight: 700; }
.np-score .np-ico { color: #facc15; }
.np-score b { color: var(--np-text); font-weight: 900; }
.np-rev-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; align-items: start; }
.np-rev-list .commentlist, .np-rev-list .children { margin: 0; padding: 0; list-style: none; }
.np-rev-list .commentlist { display: flex; flex-direction: column; gap: 20px; }
.np-rev-list .children { margin-top: 12px; margin-inline-start: 20px; }
.np-rev__card { padding: 16px; border: 1px solid var(--np-line); border-radius: 16px; background: var(--np-inner); }
.np-rev__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.np-rev__who { display: flex; min-width: 0; align-items: center; gap: 12px; }
.np-rev__avatar { display: grid; flex: 0 0 40px; place-items: center; height: 40px; border: 1px solid var(--np-line2); border-radius: 16px; background: linear-gradient(135deg, var(--np-hover), var(--np-tile)); color: var(--np-g); font-size: 16px; font-weight: 900; }
.np-rev__name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 4px; }
.np-rev__name h4 { margin: 0; color: var(--np-text); font-size: 12px; font-weight: 700; }
.np-rev__verified { padding: 2px 8px; border-radius: 6px; background: color-mix(in srgb, var(--np-g) 15%, transparent); color: var(--np-g); font-size: 10px; font-weight: 700; }
.np-rev__meta { display: flex; align-items: center; gap: 8px; }
.np-rev__stars { color: #facc15; font-size: 12px; letter-spacing: 1px; }
.np-rev__stars i { color: var(--np-dim); font-style: normal; opacity: .4; }
.np-rev__variant { color: var(--np-dim); font-size: 10px; font-weight: 700; }
.np-rev__date { flex-shrink: 0; padding: 4px 10px; border-radius: 8px; background: var(--np-soft); color: var(--np-dim); font-size: 10px; font-weight: 700; }
.np-rev__text, .np-rev__text p { margin: 0; color: var(--np-text2); font-size: 12px; line-height: 28px; text-align: justify; }
.np-rev__pending { margin: 0 0 8px; color: #f59e0b; font-size: 11px; }
.np-rev__reply { padding: 16px; border: 1px solid color-mix(in srgb, var(--np-g) 30%, transparent); border-radius: 16px; background: color-mix(in srgb, var(--np-g) 10%, transparent); }
.np-rev__reply-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.np-rev__reply-head > span { display: grid; flex: 0 0 28px; place-items: center; height: 28px; border-radius: 12px; background: var(--np-g); color: #111; }
.np-rev__reply-head h4 { margin: 0; color: var(--np-g); font-size: 12px; font-weight: 900; }
.np-rev-empty { margin: 0; padding: 18px; border: 1px dashed var(--np-line2); border-radius: 16px; color: var(--np-muted); font-size: 12px; line-height: 2; text-align: center; }
.np-rev-form { padding: 16px; border: 1px solid var(--np-line); border-radius: 16px; background: var(--np-inner); }
.np-rev-form > h3 { margin: 0 0 4px; color: var(--np-text); font-size: 14px; font-weight: 900; }
.np-rev-form__sub { margin: 0 0 16px; color: var(--np-dim); font-size: 11px; font-weight: 700; }
.np-rev-form #respond { margin: 0; padding: 0; border: 0; background: none; }
.np-rev-form .comment-reply-title { display: flex; justify-content: space-between; margin: 0 0 8px; color: var(--np-text); font-size: 12px; }
.np-rev-form .comment-reply-title:empty { display: none; }
.np-rev-form .comment-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.np-rev-form .comment-form p { margin: 0; }
.np-rev-form input[type="text"], .np-rev-form input[type="email"], .np-rev-form textarea { width: 100%; padding: 14px; border: 1px solid var(--np-line); border-radius: 12px; outline: 0; background: var(--np-tile); color: var(--np-text); font: inherit; font-size: 12px; transition: border-color .2s; }
.np-rev-form textarea { resize: none; }
.np-rev-form input::placeholder, .np-rev-form textarea::placeholder { color: var(--np-dim); }
.np-rev-form input:focus, .np-rev-form textarea:focus { border-color: var(--np-g); }
.np-rev-form .comment-form-cookies-consent { display: flex; align-items: flex-start; gap: 8px; color: var(--np-muted); font-size: 11px; line-height: 1.8; }
.np-rev-form .comment-form-cookies-consent input { margin-top: 4px; accent-color: var(--np-g); }
.np-rev-form .form-submit .submit { width: 100%; padding: 14px 24px; font-size: 12px; }
.np-rev-form .must-log-in { color: var(--np-muted); font-size: 12px; }
.np-rev-form .must-log-in a { color: var(--np-g); font-weight: 700; }
.np-rate { display: flex; align-items: center; justify-content: space-between; padding: 12px; border: 1px solid var(--np-line); border-radius: 12px; background: var(--np-tile); }
.np-rate > span { color: var(--np-muted); font-size: 12px; font-weight: 700; }
.np-rate__stars { display: flex; flex-direction: row-reverse; gap: 4px; }
.np-rate__stars input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.np-rate__stars label { display: grid; color: var(--np-dim); cursor: pointer; transition: transform .15s, color .15s; }
.np-rate__stars label:hover { transform: scale(1.1); }
.np-rate__stars input:checked ~ label, .np-rate__stars:hover label:hover, .np-rate__stars label:hover ~ label { color: #facc15; }
.np-rate__stars input:checked ~ label .np-ico, .np-rate__stars label:hover .np-ico, .np-rate__stars label:hover ~ label .np-ico { fill: currentColor; }
.np-rate__stars:hover input:checked ~ label:not(:hover):not(:hover ~ label) { color: var(--np-dim); }
.np-rate__stars input:focus-visible + label { outline: 2px solid var(--np-g); outline-offset: 2px; border-radius: 4px; }
.np-reviews .woocommerce-pagination ul { display: flex; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }

/* قیمت‌های ووکامرس داخل بخش‌های np */
.np [data-np-sel="price"] .woocommerce-Price-currencySymbol, .np-opt__price strong .woocommerce-Price-currencySymbol { margin-inline-start: 4px; color: var(--np-muted); font-size: 12px; font-weight: 700; }
.np [data-np-sel="price"] ins { text-decoration: none; }
.np [data-np-sel="price"] del { margin-inline-end: 6px; color: var(--np-dim); font-size: .55em; font-weight: 600; }
.np del .woocommerce-Price-currencySymbol { display: none; }

/* ── تگ رنگی گزینه‌ها (به ترتیب مقدار ویژگی) ── */
.np-tag { padding: 2px 8px; border: 1px solid rgba(59,130,246,.3); border-radius: 6px; background: rgba(59,130,246,.2); color: #60a5fa; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.np-tag--1 { border-color: rgba(99,102,241,.3); background: rgba(99,102,241,.2); color: #a5b4fc; }
.np-tag--2 { border-color: rgba(16,185,129,.3); background: rgba(16,185,129,.2); color: #6ee7b7; }
.np-tag--3 { border-color: rgba(6,182,212,.3); background: rgba(6,182,212,.2); color: #67e8f9; }
.np-tag--4 { border-color: rgba(168,85,247,.3); background: rgba(168,85,247,.2); color: #d8b4fe; }
html[data-theme="light"] .np-tag { color: #1d4ed8; }
html[data-theme="light"] .np-tag--1 { color: #4338ca; }
html[data-theme="light"] .np-tag--2 { color: #047857; }
html[data-theme="light"] .np-tag--3 { color: #0e7490; }
html[data-theme="light"] .np-tag--4 { color: #7e22ce; }

/* ── محصولات مرتبط و هوک‌های افزونه ── */
.np-extra:empty { display: none; }
.np-related { margin-top: 28px; }
.np-related:empty { display: none; }
.np-related > section > h2 { margin: 0 0 16px; color: var(--np-text); font-size: 18px; font-weight: 900; }
.np-related ul.products { display: flex; gap: 12px; margin: 0; padding: 0 0 6px; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: none; }
.np-related ul.products > li { flex: 0 0 62%; min-width: 0; scroll-snap-align: start; }
.np-related ul.products::before, .np-related ul.products::after { display: none; }
.np-related ul.products::-webkit-scrollbar { display: none; }

/* ── نوار خرید پایین (موبایل) — کارت شناور بالای منوی پایین سایت ── */
.np-bar { position: fixed; z-index: 150; left: 50%; bottom: calc(82px + env(safe-area-inset-bottom, 0px)); width: min(540px, calc(100% - 20px)); padding: 12px 14px; border: 1px solid var(--np-line2); border-radius: 22px; background: color-mix(in srgb, var(--np-sheet-bar) 92%, transparent); backdrop-filter: blur(28px) saturate(1.3); -webkit-backdrop-filter: blur(28px) saturate(1.3); box-shadow: 0 16px 40px -8px rgba(0,0,0,.5); transform: translateX(-50%); animation: npBarIn .4s cubic-bezier(.33,1,.68,1); }
html[data-theme="light"] .np-bar { box-shadow: 0 12px 32px -6px rgba(15,23,41,.18); }
@keyframes npBarIn { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translateX(-50%); } }
.np-bar__in { display: flex; max-width: 1280px; align-items: center; justify-content: space-between; gap: 12px; margin: 0 auto; }
.np-bar__info { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; padding: 0; border: 0; background: none; color: inherit; text-align: right; cursor: pointer; }
.np-bar__label { display: flex; max-width: 100%; align-items: center; gap: 6px; }
.np-bar__label > span { overflow: hidden; padding: 2px 8px; border-radius: 6px; background: var(--np-soft2); color: var(--np-text); font-size: 11px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; }
.np-bar__label em { display: flex; flex-shrink: 0; align-items: center; color: var(--np-g); font-size: 10px; font-style: normal; font-weight: 700; }
.np-bar__price { margin-top: 4px; color: var(--np-g); font-size: 20px; font-weight: 900; line-height: 1; white-space: nowrap; }
.np-bar__price .woocommerce-Price-currencySymbol { font-size: 10px !important; }
.np-bar__price del { display: none; }
.np-bar .np-btn { flex: 1; max-width: 240px; min-height: 50px; padding: 13px 20px; border-radius: 15px; }
.np-bar .np-btn .np-ico { stroke-width: 2.5; }
body.single-product { padding-bottom: calc(178px + env(safe-area-inset-bottom, 0px)); }
body.single-product .nestor-back-to-top { bottom: calc(178px + env(safe-area-inset-bottom, 0px)); }

/* ── پنجره‌ها ── */
.np-modal { position: fixed; z-index: 1000; inset: 0; display: flex; align-items: flex-end; justify-content: center; }
.np-modal--center { align-items: center; padding: 16px; }
.np-modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.85); backdrop-filter: blur(12px); animation: npFade .2s ease; }
.np-sheet { position: relative; z-index: 1; display: flex; width: 100%; max-width: 512px; max-height: 88vh; max-height: 88dvh; flex-direction: column; overflow: hidden; border-top: 1px solid rgba(255,255,255,.15); border-radius: 40px 40px 0 0; background: var(--np-sheet); box-shadow: 0 -20px 70px rgba(0,0,0,.9); animation: npUp .3s cubic-bezier(.4,0,.2,1); }
html[data-theme="light"] .np-sheet { border-color: var(--np-line2); box-shadow: 0 -20px 60px rgba(15,23,41,.25); }
.np-sheet__handle { display: flex; justify-content: center; padding: 12px 0 4px; background: var(--np-sheet-bar); }
.np-sheet__handle span { width: 48px; height: 6px; border-radius: 99px; background: #4b5563; }
html[data-theme="light"] .np-sheet__handle span { background: #cbd5e1; }
.np-sheet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; border-bottom: 1px solid var(--np-line2); background: var(--np-sheet-bar); }
.np-sheet__product { display: flex; min-width: 0; align-items: center; gap: 12px; }
.np-sheet__product img { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid var(--np-line2); border-radius: 12px; object-fit: cover; }
.np-sheet__product h3 { margin: 0; color: var(--np-text); font-size: 14px; font-weight: 900; }
.np-sheet__product span { display: block; overflow: hidden; color: var(--np-g); font-size: 11px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.np-sheet__filters { display: flex; flex-direction: column; gap: 12px; padding: 16px 16px 8px; }
.np-sheet__filters-top { display: flex; align-items: center; justify-content: space-between; color: var(--np-muted); font-size: 12px; font-weight: 700; }
.np-sheet__filters-top .np-link { font-size: 11px; }
.np-tabs { display: grid; grid-template-columns: repeat(var(--np-tabs, 3), minmax(0,1fr)); gap: 6px; padding: 6px; border: 1px solid var(--np-line); border-radius: 12px; background: var(--np-tabs-bg); }
.np-tabs button { min-width: 0; padding: 8px 4px; overflow: hidden; border: 0; border-radius: 8px; background: transparent; color: var(--np-muted); font-size: 11px; font-weight: 900; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; transition: background .2s, color .2s; }
.np-tabs button:hover { color: var(--np-text); }
.np-tabs button.is-active { background: var(--np-g); color: var(--np-on-g); box-shadow: 0 4px 6px -1px rgba(0,0,0,.15); }
.np-sheet__body { flex: 1; overflow-y: auto; padding: 16px; overscroll-behavior: contain; scrollbar-width: none; }
.np-sheet__body::-webkit-scrollbar { display: none; }
.np-sheet__foot { display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--np-line2); background: var(--np-sheet-bar); }
.np-sheet__total { display: flex; width: 100%; align-items: center; justify-content: space-between; color: var(--np-muted); font-size: 11px; font-weight: 700; }
.np-sheet__total strong { color: var(--np-g); font-size: 18px; font-weight: 900; }
.np-sheet__total strong .woocommerce-Price-currencySymbol { font-size: 10px !important; color: var(--np-text2) !important; }

/* ── کارت‌های گزینه ── */
.np-options { display: flex; flex-direction: column; gap: 10px; }
.np-opt { position: relative; display: block; width: 100%; padding: 16px; border: 2px solid var(--np-line); border-radius: 16px; background: var(--np-sheet-bar); color: var(--np-text); text-align: right; cursor: pointer; transition: border-color .3s, background .3s, box-shadow .3s; }
.np-opt:hover { border-color: rgba(255,255,255,.15); background: var(--np-hover); }
html[data-theme="light"] .np-opt:hover { border-color: rgba(15,23,41,.18); }
.np-opt.is-selected { border-color: var(--np-g); background: linear-gradient(to left, color-mix(in srgb, var(--np-g) 15%, var(--np-sheet)), color-mix(in srgb, var(--np-g) 5%, var(--np-sheet)) 50%, var(--np-sheet)); box-shadow: 0 8px 25px color-mix(in srgb, var(--np-g) 15%, transparent); }
.np-opt:focus-visible { outline: 2px solid var(--np-g); outline-offset: 2px; }
.np-opt__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.np-opt__main { display: flex; min-width: 0; align-items: flex-start; gap: 14px; }
.np-opt__radio { display: grid; flex: 0 0 20px; place-items: center; height: 20px; margin-top: 2px; border: 2px solid #4b5563; border-radius: 50%; color: #111; transition: background .2s, border-color .2s; }
.np-opt:hover .np-opt__radio { border-color: #9ca3af; }
.np-opt__radio .np-ico { opacity: 0; stroke-width: 4; }
.np-opt.is-selected .np-opt__radio { border-color: var(--np-g); background: var(--np-g); }
.np-opt.is-selected .np-opt__radio .np-ico { opacity: 1; }
.np-opt__title { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.np-opt__title b { color: var(--np-text); font-size: 14px; font-weight: 900; }
.np-opt__badge { padding: 2px 8px; border: 1px solid rgba(245,158,11,.3); border-radius: 6px; background: rgba(245,158,11,.15); color: #fbbf24; font-size: 10px; font-weight: 700; }
html[data-theme="light"] .np-opt__badge { color: #b45309; }
.np-opt__meta { display: flex; align-items: center; gap: 8px; }
.np-opt__off { padding: 2px 8px; border-radius: 6px; background: var(--np-g); color: var(--np-on-g); font-size: 10px; font-weight: 900; }
.np-opt__sub { display: none; color: var(--np-muted); font-size: 11px; font-weight: 500; }
.np-opt__price { display: flex; flex-shrink: 0; flex-direction: column; align-items: flex-end; text-align: left; }
.np-opt__price del { margin-bottom: 2px; color: var(--np-dim); font-size: 11px; text-decoration-color: rgba(239,68,68,.6); }
.np-opt__price strong { color: var(--np-g); font-size: 16px; font-weight: 900; letter-spacing: -.02em; }
.np-opt__price strong .woocommerce-Price-currencySymbol { font-size: 10px; color: var(--np-text2); }
.np-opt__feats { display: none; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--np-line2); animation: npFade .2s ease; }
.np-opt.is-selected .np-opt__feats { display: grid; gap: 6px; }
.np-opt__feats > span { display: flex; align-items: center; gap: 6px; color: var(--np-text2); font-size: 11px; font-weight: 500; }
.np-opt__feats .np-ico { color: var(--np-g); }
.np-opt.is-soldout { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-width: 1px; background: color-mix(in srgb, var(--np-sheet-bar) 50%, transparent); opacity: .5; cursor: default; user-select: none; }
.np-opt.is-soldout:hover { border-color: var(--np-line); background: color-mix(in srgb, var(--np-sheet-bar) 50%, transparent); }
.np-opt.is-soldout .np-opt__main { align-items: center; gap: 12px; }
.np-opt.is-soldout .np-opt__radio { border-color: #374151; }
.np-opt.is-soldout .np-opt__title { margin: 0; }
.np-opt.is-soldout .np-opt__title b { color: var(--np-muted); font-weight: 700; }
.np-opt.is-soldout .np-tag { border: 0; background: var(--np-soft); color: var(--np-muted); }
.np-opt__soldout { flex-shrink: 0; padding: 4px 10px; border: 1px solid rgba(239,68,68,.2); border-radius: 8px; background: rgba(239,68,68,.1); color: rgba(248,113,113,.8); font-size: 12px; font-weight: 700; }

/* فرم اصلی ووکامرس داخل پنجره: فقط تعداد و پیام‌ها */
.np-form { margin-top: 14px; }
.np-form:has(form.cart .quantity input[type="hidden"]):not(.is-native) { display: none; }
.np-form form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.np-form:not(.is-native) .variations, .np-form:not(.is-native) .reset_variations, .np-form .single_add_to_cart_button, .np-form .woocommerce-variation-price, .np-form .woocommerce-variation-description { display: none !important; }
.np-form.is-native .variations { width: 100%; border-collapse: collapse; }
.np-form.is-native .variations th, .np-form.is-native .variations td { padding: 6px 0; color: var(--np-text); font-size: 12px; text-align: right; }
.np-form.is-native .variations select { width: 100%; min-height: 42px; padding: 0 12px; border: 1px solid var(--np-line2); border-radius: 12px; background: var(--np-tile); color: var(--np-text); font: inherit; }
.np-form .single_variation_wrap, .np-form .woocommerce-variation-add-to-cart { display: flex; width: 100%; flex-wrap: wrap; align-items: center; gap: 10px; }
.np-form .woocommerce-variation-availability, .np-form .stock { width: 100%; margin: 0; color: var(--np-muted); font-size: 12px; }
.np-form .stock.out-of-stock { color: #f87171; }
.np-form .quantity { display: flex; align-items: center; gap: 8px; float: none; margin: 0; }
.np-form .quantity::before { color: var(--np-muted); font-size: 12px; font-weight: 700; content: 'تعداد:'; }
.np-form .quantity:has(input[type="hidden"]) { display: none; }
.np-form .quantity .qty { width: 72px; min-height: 42px; border: 1px solid var(--np-line2); border-radius: 12px; background: var(--np-tile); color: var(--np-text); font: inherit; font-weight: 900; text-align: center; }
.np-form .group_table { width: 100%; color: var(--np-text); font-size: 12px; }
.np-form .group_table td { padding: 8px 4px; border-bottom: 1px solid var(--np-line); }
.np-form .nestor-countdown { width: 100%; }

/* پنجره راهنما */
.np-dialog { position: relative; z-index: 1; display: flex; width: 100%; max-width: 512px; max-height: 90vh; flex-direction: column; gap: 16px; padding: 20px; overflow-y: auto; border: 1px solid var(--np-line2); border-radius: 24px; background: var(--np-sheet); box-shadow: var(--np-shadow); animation: npZoom .25s ease; }
.np-dialog__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--np-line2); }
.np-dialog__head h3 { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--np-g); font-size: 16px; font-weight: 900; }
.np-dialog__head .np-icon-btn { border: 0; background: none; }
.np-guide { display: flex; flex-direction: column; gap: 12px; }
.np-guide__item { padding: 14px; border: 1px solid var(--np-line); border-radius: 16px; background: var(--np-inner); color: var(--np-text2); font-size: 12px; line-height: 28px; }
.np-guide__item strong { display: block; margin-bottom: 4px; color: var(--np-text); }
.np-dialog > .np-btn { padding: 12px; border-radius: 12px; font-size: 14px; }

/* پنجره تصویر / ویدیو */
.np-lightbox { position: relative; z-index: 1; width: 100%; max-width: 768px; overflow: hidden; border: 1px solid var(--np-line2); border-radius: 24px; background: var(--np-card); box-shadow: var(--np-shadow); animation: npZoom .25s ease; }
.np-lightbox header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px; border-bottom: 1px solid var(--np-line2); color: var(--np-text); font-size: 12px; font-weight: 700; }
.np-lightbox header .np-icon-btn { padding: 6px; border: 0; border-radius: 8px; }
.np-lightbox__body { background: #000; }
.np-lightbox__body img { display: block; width: 100%; max-height: 75vh; object-fit: contain; }
.np-lightbox__body iframe, .np-lightbox__body video { display: block; width: 100%; aspect-ratio: 16/9; border: 0; }

/* اعلان */
.np-toast { position: fixed; z-index: 1100; top: 80px; left: 50%; display: flex; width: 92%; max-width: 448px; flex-direction: column; gap: 12px; padding: 14px 16px; border: 1px solid var(--np-g); border-radius: 16px; background: color-mix(in srgb, var(--np-card) 95%, transparent); backdrop-filter: blur(24px); color: var(--np-text); box-shadow: 0 15px 40px rgba(0,0,0,.5); transform: translateX(-50%); animation: npDown .3s ease; }
.np-toast.is-error { border-color: #ef4444; }
.np-toast__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.np-toast__actions { display: flex; gap: 8px; padding-top: 12px; border-top: 1px solid var(--np-line); }
.np-toast__actions[hidden] { display: none; }
.np-toast__actions .np-btn--sm { flex: 1; min-height: 42px; padding: 10px 14px; border-radius: 12px; font-size: 13px; }
.np-toast__msg { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; line-height: 1.7; }
.np-toast__icon { display: grid; flex: 0 0 28px; place-items: center; height: 28px; border-radius: 12px; background: var(--np-g); color: #111; }
.np-toast__icon .np-ico { stroke-width: 3; }
.np-toast.is-error .np-toast__icon { background: #ef4444; color: #fff; }
.np-toast__x { padding: 4px; border: 0; background: none; color: var(--np-muted); cursor: pointer; }
.np-toast__x:hover { color: var(--np-text); }

/* ══════════════ راهنمای تعاملی خرید (coach) ══════════════ */
/* دکمه‌ی شناور */
.np-coach-fab { position: fixed; z-index: 160; inset-inline-start: 16px; bottom: calc(174px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px 11px 13px; border: 0; border-radius: 999px; background: var(--np-g); color: var(--np-on-g); font: inherit; font-size: 13px; font-weight: 900; cursor: pointer; box-shadow: 0 12px 28px -6px color-mix(in srgb, var(--np-g) 65%, transparent); transition: transform .18s, box-shadow .25s; }
.np-coach-fab:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -6px color-mix(in srgb, var(--np-g) 75%, transparent); }
.np-coach-fab:active { transform: scale(.96); }
.np-coach-fab .np-ico { stroke-width: 2.4; }
.np-coach-fab__ring { position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 color-mix(in srgb, var(--np-g) 60%, transparent); animation: npCoachPulse 2.4s ease-out infinite; pointer-events: none; }
@keyframes npCoachPulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--np-g) 55%, transparent); } 70% { box-shadow: 0 0 0 14px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.np-coach-fab.is-hidden { opacity: 0; visibility: hidden; transform: translateY(10px); }

/* دیالوگ coach */
.np-coach { align-items: center; padding: 16px; }
.np-coach__dialog { position: relative; z-index: 1; display: flex; width: 100%; max-width: 440px; flex-direction: column; overflow: hidden; border: 1px solid var(--np-line2); border-radius: 28px; background: var(--np-card); box-shadow: 0 30px 80px rgba(0,0,0,.6); animation: npCoachIn .35s cubic-bezier(.33,1,.68,1); }
html[data-theme="light"] .np-coach__dialog { box-shadow: 0 24px 60px rgba(15,23,41,.28); }
@keyframes npCoachIn { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
.np-coach__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; }
.np-coach__brand { display: flex; align-items: center; gap: 10px; }
.np-coach__spark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: color-mix(in srgb, var(--np-g) 16%, transparent); color: var(--np-g); }
.np-coach__brand strong { color: var(--np-text); font-size: 15px; font-weight: 900; }
.np-coach__progress { height: 4px; margin: 0 18px; border-radius: 99px; background: var(--np-line); overflow: hidden; }
.np-coach__progress-bar { display: block; width: 20%; height: 100%; border-radius: 99px; background: var(--np-g); transition: width .35s cubic-bezier(.33,1,.68,1); }
.np-coach__viewport { overflow: hidden; }
.np-coach__track { display: flex; transition: transform .35s cubic-bezier(.33,1,.68,1); }
.np-coach__slide { display: flex; flex: 0 0 100%; flex-direction: column; align-items: center; gap: 10px; padding: 26px 24px 8px; text-align: center; }
.np-coach__num { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--np-g) 14%, transparent); color: var(--np-g); font-size: 14px; font-weight: 900; }
.np-coach__ico { display: grid; place-items: center; width: 92px; height: 92px; margin-top: 4px; border-radius: 26px; background: linear-gradient(140deg, color-mix(in srgb, var(--np-g) 20%, transparent), color-mix(in srgb, var(--np-g) 6%, transparent)); color: var(--np-g); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--np-g) 22%, transparent); animation: npCoachFloat 3s ease-in-out infinite; }
.np-coach__ico .np-ico { stroke-width: 1.8; }
@keyframes npCoachFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.np-coach__title { margin: 6px 0 0; color: var(--np-text); font-size: 18px; font-weight: 900; }
.np-coach__desc { margin: 0; max-width: 320px; color: var(--np-text2); font-size: 13.5px; line-height: 2; }
.np-coach__dots { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 14px 0 4px; }
.np-coach__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: var(--np-line2); cursor: pointer; transition: width .25s, background .25s; }
.np-coach__dot.is-active { width: 22px; background: var(--np-g); }
.np-coach__foot { display: flex; gap: 10px; padding: 14px 18px 18px; }
.np-coach__foot .np-btn { flex: 1; min-height: 48px; border-radius: 15px; }
.np-coach__prev { flex: 0 0 42% !important; }
.np-coach__prev:disabled { opacity: .45; cursor: default; }
.np-coach__next.is-final { background: var(--np-g); color: var(--np-on-g); }
.np-coach__next.is-final .np-ico { stroke-width: 2.6; }
@media (max-width: 420px) { .np-coach__ico { width: 80px; height: 80px; } .np-coach__title { font-size: 16px; } }

@keyframes npFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes npUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes npZoom { from { opacity: 0; transform: scale(.95); } to { opacity: 1; transform: scale(1); } }
@keyframes npDown { from { opacity: 0; transform: translate(-50%,-20px); } to { opacity: 1; transform: translate(-50%,0); } }
@keyframes npSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .np *, .np *::before, .np *::after { animation: none !important; transition: none !important; } }

/* ── sm ≥ 640 ── */
@media (min-width: 640px) {
	.np { padding: 20px 24px 40px; }
	.np-crumbs { gap: 8px; margin-bottom: 24px; font-size: 12px; }
	.np-main { gap: 32px; }
	.np-btn { font-size: 14px; }
	.np-card { padding: 28px; border-radius: 32px; }
	.np-card__head { margin-bottom: 24px; }
	.np-card__head h2, .np-card__title { font-size: 20px; }
	.np-hint { display: inline; }
	.np-subtitle { font-size: 16px; }
	.np-hero { padding: 28px; border-radius: 40px; }
	.np-hero__glow { width: 384px; height: 384px; }
	.np-hero__in { flex-direction: row; align-items: stretch; gap: 28px; }
	.np-hero__cover { width: 208px; }
	.np-cover { border-radius: 24px; }
	.np-hero__body { text-align: right; }
	.np-chips { justify-content: flex-start; }
	.np-title { font-size: 24px; }
	.np-title span { display: inline; }
	.np-lead { font-size: 14px; line-height: 32px; }
	.np-specs { grid-template-columns: repeat(4, minmax(0,1fr)); padding: 16px; }
	.np-spec { align-items: flex-start; text-align: right; }
	.np-spec strong { font-size: 13px; }
	.np-summary { padding: 20px; }
	.np-summary__line strong { font-size: 16px; }
	.np-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(0,1fr)); gap: 16px; overflow: visible; }
	.np-quick a { flex-direction: column; padding: 16px; }
	.np-quick b { font-size: 13px; }
	.np-media { gap: 20px; }
	.np-media__video { border-radius: 24px; }
	.np-media__play .np-ico { width: 32px; height: 32px; padding: 20px; }
	.np-media__grid { gap: 12px; }
	.np-media__img { border-radius: 16px; }
	.np-ping__grid { gap: 20px; }
	.np-ping__code b { font-size: 14px; }
	.np-benefits { grid-template-columns: repeat(3, minmax(0,1fr)); }
	.np-faq__item summary, .np-faq__a { font-size: 14px; }
	.np-reviews .np-card__head { margin-bottom: 32px; }
	.np-rev-list .children { margin-inline-start: 40px; }
	.np-rev__card, .np-rev-form { padding: 24px; border-radius: 24px; }
	.np-rev__reply { padding: 20px; border-radius: 24px; }
	.np-rev__avatar { flex-basis: 48px; height: 48px; font-size: 18px; }
	.np-rev__name h4, .np-rev__reply-head h4, .np-rev__text, .np-rev__text p, .np-rev-form input[type="text"], .np-rev-form input[type="email"], .np-rev-form textarea, .np-rev-form .form-submit .submit { font-size: 14px; }
	.np-rev__date { font-size: 12px; }
	.np-rev-form > h3 { font-size: 16px; }
	.np-related ul.products { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; overflow: visible; }
	.np-related ul.products > li { flex: initial; }
	.np-bar { padding: 16px; }
	.np-bar__price { font-size: 20px; }
	.np-bar .np-btn { font-size: 14px; }
	.np-modal--sheet { align-items: center; padding: 16px; }
	.np-sheet { border: 1px solid rgba(255,255,255,.15); border-radius: 24px; animation-name: npZoom; }
	.np-sheet__handle { display: none; }
	.np-sheet__head, .np-sheet__body { padding: 20px; }
	.np-sheet__filters { padding: 16px 20px 8px; }
	.np-sheet__product h3 { font-size: 16px; }
	.np-tabs button { font-size: 12px; }
	.np-sheet__foot { flex-direction: row; padding: 20px; }
	.np-sheet__total { width: auto; flex-direction: column; align-items: flex-start; }
	.np-sheet__total strong { font-size: 20px; }
	.np-sheet__foot .np-btn { width: auto; min-width: 230px; font-size: 14px; }
	.np-opt__title b { font-size: 16px; }
	.np-opt__sub { display: inline; }
	.np-opt__price strong { font-size: 20px; }
	.np-dialog { padding: 24px; }
	.np-dialog__head h3 { font-size: 18px; }
	.np-guide__item { font-size: 14px; }
	.np-lightbox header { font-size: 14px; }
	.np-toast__msg { font-size: 14px; }
}
/* ── md ≥ 768 ── */
@media (min-width: 768px) {
	.np-hero__cover { width: 240px; }
	.np-media { grid-template-columns: 7fr 5fr; }
	.np-media.is-single { grid-template-columns: minmax(0,1fr); }
	.np-media__grid { grid-template-columns: repeat(2, minmax(0,1fr)); align-content: start; }
	.np-media__img { aspect-ratio: 4/3; }
	.np-media__img.is-wide { grid-column: 1 / -1; aspect-ratio: 21/9; }
	.np-media.is-single .np-media__grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
	.np-media.is-single .np-media__img.is-wide { grid-column: auto; aspect-ratio: 4/3; }
	.np-ping__grid { grid-template-columns: 7fr 5fr; }
	.np-ping__grid.is-single { grid-template-columns: minmax(0,1fr); }
}

/* ══════ ساختار تمام‌عرض (طرح مرجع): بدون سایدبار؛ همه بخش‌ها زیر هم ══════ */
.np-main { gap: 32px; }
.np-card { margin: 0; }
.np-hero__in { align-items: center; }
.np-cover__wish { position: absolute; top: 12px; left: 12px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid rgba(255,255,255,.15); border-radius: 12px; background: rgba(0,0,0,.75); backdrop-filter: blur(12px); color: #fff; cursor: pointer; transition: background .2s, color .2s; }
.np-cover__wish:hover { background: rgba(0,0,0,.9); }
.np-cover__wish.is-active { border-color: color-mix(in srgb, var(--np-g) 50%, transparent); background: color-mix(in srgb, var(--np-g) 25%, rgba(0,0,0,.75)); color: var(--np-g); }
.np-cover__wish.is-active .np-ico { fill: currentColor; }
.np-btn--dark { border: 1px solid var(--np-line2); background: var(--np-tile); color: var(--np-text); box-shadow: var(--np-shadow-sm); }
.np-btn--dark:hover { background: var(--np-hover); color: var(--np-text); }
.np-summary { flex-direction: column; align-items: stretch; padding: 20px; border-radius: 24px; box-shadow: var(--np-shadow); }
.np-summary__info { gap: 16px; }
.np-summary__icon { flex-basis: 56px; height: 56px; }
.np-summary small { font-size: 12px; }
.np-summary__line { gap: 4px 12px; }
.np-summary__line strong { font-size: 16px; }
.np-summary__pill { padding: 2px 12px; border-radius: 8px; font-size: 12px; }
.np-summary__price { color: var(--np-muted); font-size: 14px; font-weight: 700; }
.np-summary__price .woocommerce-Price-amount { color: inherit; }
.np-summary__price del { display: none; }
.np-summary__price ins { text-decoration: none; }
.np-summary__actions { display: grid; grid-auto-flow: row; grid-auto-columns: minmax(0,1fr); align-items: stretch; gap: 10px; }
.np-summary__actions .np-btn { width: 100%; min-height: 52px; padding: 12px 20px; border-radius: 16px; font-size: 14px; white-space: nowrap; }
.np-countdown { margin: 0; }
.np-countdown:empty { display: none; }

/* ── تایمر فروش ویژه روی کاور محصول ── */
.np-sale-cd {
	position: absolute; z-index: 5; top: 0; left: 50%; transform: translate(-50%, -50%);
	display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
	max-width: calc(100% - 8px); padding: 7px 10px;
	border: 1px solid rgba(255,255,255,.16); border-radius: 14px;
	background: linear-gradient(135deg, rgba(10,10,10,.9), rgba(10,10,10,.74));
	backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
	box-shadow: 0 14px 30px rgba(0,0,0,.5);
	color: #fff;
	animation: npCdIn .5s cubic-bezier(.4,0,.2,1);
}
.np-sale-cd[hidden] { display: none; }
.np-sale-cd__title { display: inline-flex; align-items: center; gap: 5px; max-width: 100%; font-size: 10.5px; font-weight: 800; color: #fff; line-height: 1; text-align: center; }
.np-sale-cd__title svg { flex-shrink: 0; width: 13px; height: 13px; color: var(--np-g); }
.np-sale-cd__title span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.np-sale-cd.is-urgent .np-sale-cd__title { color: #fecaca; }
.np-sale-cd.is-urgent .np-sale-cd__title svg { color: #ff5a5f; animation: npCdPulse 1.3s ease-out infinite; border-radius: 50%; }
.np-sale-cd__cells { display: flex; align-items: stretch; justify-content: center; gap: 3px; direction: ltr; }
.np-sale-cd__cell { display: flex; flex: 0 0 auto; min-width: 34px; flex-direction: column; align-items: center; gap: 2px; padding: 4px 5px; border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.08); }
.np-sale-cd__cell b { font-size: 16px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.np-sale-cd__cell small { font-size: 8px; font-weight: 700; color: rgba(255,255,255,.7); line-height: 1.1; white-space: nowrap; }
.np-sale-cd.is-urgent .np-sale-cd__cell { background: rgba(255,90,95,.16); border-color: rgba(255,90,95,.3); }
.np-sale-cd.is-urgent .np-sale-cd__cell b { color: #fff; }
.np-sale-cd__sep { display: none; }
@keyframes npCdIn { from { opacity: 0; transform: translate(-50%, calc(-50% - 8px)); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes npCdPulse { 0% { box-shadow: 0 0 0 0 rgba(255,90,95,.6); } 70% { box-shadow: 0 0 0 7px rgba(255,90,95,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,95,0); } }

/* تم روشن: متن تایمر روی زمینه‌ی تیره باقی می‌ماند (کاور همیشه تیره است) */
html[data-theme="light"] .np-sale-cd { background: linear-gradient(135deg, rgba(17,24,39,.9), rgba(17,24,39,.72)); border-color: rgba(255,255,255,.12); }

/* دکمه ذخیره (bookmark): از بالا به گوشه‌ی پایین‌چپ منتقل شد تا با تایمرِ لبه‌ی بالا تداخل نکند */
.np-cover__wish { top: auto; left: 12px; bottom: 56px; }
.np-cover:not(:has(.np-cover__btn)) .np-cover__wish { bottom: 12px; }
.np-quick { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; padding: 0; overflow: visible; }
.np-quick a { min-width: 0; flex: initial; padding: 20px; border-radius: 24px; box-shadow: var(--np-shadow-sm); }
.np-quick a > span { padding: 10px; border-radius: 16px; }
.np-quick b { font-size: 13px; white-space: normal; }
.np-media__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
.np-media__img.is-wide { grid-column: auto; }
.np-benefit { padding: 24px; border-radius: 24px; gap: 12px; }
.np-benefit__icon { width: 48px; height: 48px; border-radius: 16px; }
.np-benefit h3 { font-size: 16px; }
.np-benefit p { font-size: 14px; line-height: 28px; }
.np-faq__list { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
.np-faq__item { border-radius: 24px; }
.np-faq__item summary { padding: 24px; font-size: 14px; }
.np-faq__a { padding: 16px 24px 24px; font-size: 14px; line-height: 32px; color: var(--np-text2); }
.np-related { margin-top: 0; }

/* ── sm ≥ 640 ── */
@media (min-width: 640px) {
.np { padding: 24px 32px 40px; }
.np-hero { padding: 40px; border-radius: 40px; }
.np-hero__in { flex-direction: row; align-items: center; gap: 40px; }
.np-hero__cover { width: 288px; }
.np-title { font-size: 36px; }
.np-lead { font-size: 16px; line-height: 36px; }
.np-spec { padding: 16px; }
.np-spec span { font-size: 12px; }
.np-spec strong { font-size: 16px; }
.np-specs { gap: 16px; padding: 24px; border-radius: 24px; }
.np-summary { flex-direction: row; align-items: center; justify-content: space-between; padding: 24px; }
	.np-summary__actions { flex: 0 0 auto; grid-auto-flow: column; grid-auto-columns: 220px; gap: 12px; }
	.np-summary__actions .np-btn { min-height: 56px; padding: 14px 20px; font-size: 16px; }
.np-chip { padding: 6px 14px; font-size: 12px; }
.np-cover__rating { font-size: 14px; padding: 6px 12px; border-radius: 12px; }
.np-cover__btn { padding: 12px 16px; border-radius: 16px; font-size: 14px; }
.np-sale-cd { padding: 9px 12px; gap: 7px; }
.np-sale-cd__title { font-size: 11.5px; }
.np-sale-cd__cell { min-width: 42px; padding: 6px 7px; gap: 3px; }
.np-sale-cd__cell b { font-size: 20px; }
.np-sale-cd__cell small { font-size: 9px; }
.np-card { padding: 40px; border-radius: 40px; }
.np-card__head h2, .np-card__title { font-size: 24px; }
.np-quick a { flex-direction: row; }
.np-quick b { font-size: 16px; }
.np-faq__list { grid-template-columns: repeat(2, minmax(0,1fr)); }
.np-faq__item summary { font-size: 16px; }
}
/* ── lg ≥ 1024 ── */
@media (min-width: 1024px) {
.np { padding: 24px 48px 40px; }
.np-hero { padding: 56px; border-radius: 48px; }
.np-hero__in { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 56px; }
.np-hero__cover { grid-column: span 4 / span 4; width: auto; display: flex; justify-content: center; }
.np-cover { width: 100%; border-radius: 24px; }
.np-hero__body { grid-column: span 8 / span 8; text-align: right; }
.np-title { font-size: 48px; }
.np-lead { max-width: 64rem; margin-bottom: 32px; font-size: 18px; line-height: 36px; }
.np-specs { grid-template-columns: repeat(4, minmax(0,1fr)); }
.np-quick { grid-template-columns: repeat(4, minmax(0,1fr)); }
.np-card { padding: 48px; }
.np-media { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 24px; }
.np-media__video { grid-column: span 8 / span 8; border-radius: 24px; }
.np-media__grid { grid-column: span 4 / span 4; grid-template-columns: minmax(0,1fr); gap: 16px; align-content: stretch; }
.np-media.is-single { grid-template-columns: minmax(0,1fr); }
.np-media.is-single .np-media__video, .np-media.is-single .np-media__grid { grid-column: auto; }
.np-media.is-single .np-media__grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.np-media__img { aspect-ratio: 16/7; border-radius: 16px; }
.np-media.is-single .np-media__img { aspect-ratio: 4/3; }
.np-ping__grid { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 24px; }
.np-ping__list { grid-column: span 7 / span 7; }
.np-ping__panel { grid-column: span 5 / span 5; }
.np-ping__grid.is-single .np-ping__list { grid-column: 1 / -1; }
.np-benefits { gap: 24px; margin-bottom: 40px; }
.np-rev-grid { grid-template-columns: 7fr 5fr; gap: 32px; }
.np-rev-grid:not(:has(.commentlist)) { grid-template-columns: minmax(0,1fr); }
.np-rev-form { position: sticky; top: calc(var(--nestor-header-h, 105px) + 16px); }
.np-related ul.products { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px; }
/* در دسکتاپ نوار خرید تمام‌عرض و چسبیده به پایین است؛ منوی موبایل نمایش داده نمی‌شود */
.np-bar { left: 0; bottom: 0; width: 100%; max-width: none; border-radius: 0; border: 0; border-top: 1px solid var(--np-line2); transform: none; animation: none; }
.np-coach-fab { bottom: 92px; }
body.single-product { padding-bottom: 110px; }
body.single-product .nestor-back-to-top { bottom: 130px; }
}
@media (min-width: 1280px) { .np-hero__cover { grid-column: span 3 / span 3; } .np-hero__body { grid-column: span 9 / span 9; } }

/* ══════════════════════════════════════════
   فروشگاه (ns-*) — تمام‌عرض: بنر ویژه، دسته‌بندی + مرتب‌سازی، شبکه محصولات
   توکن‌ها مشترک با صفحه محصول (--np-*) هستند؛ رنگ سبز از پنل (--nw-green).
══════════════════════════════════════════ */
.ns, .np-related {
	--np-g: var(--nw-green); --np-g-d: var(--nw-green-dark); --np-on-g: #111;
	--np-card: #141414; --np-inner: #0d0d0d; --np-tile: #1a1a1a; --np-hover: #1a1a1a;
	--np-line: rgba(255,255,255,.05); --np-line2: rgba(255,255,255,.1); --np-soft: rgba(255,255,255,.05);
	--np-text: #fff; --np-text2: #d1d5db; --np-muted: #9ca3af; --np-dim: #6b7280;
	--np-shadow: 0 20px 25px -5px rgba(0,0,0,.35);
}
html[data-theme="light"] .ns, html[data-theme="light"] .np-related {
	--np-on-g: #fff;
	--np-card: #fff; --np-inner: #f4f6f8; --np-tile: #fff; --np-hover: #f8fafc;
	--np-line: rgba(15,23,41,.07); --np-line2: rgba(15,23,41,.12); --np-soft: rgba(15,23,41,.05);
	--np-text: #1f2937; --np-text2: #374151; --np-muted: #64748b; --np-dim: #94a3b8;
	--np-shadow: 0 12px 28px -12px rgba(15,23,41,.18);
}
.ns { width: 100%; padding: 24px 16px 40px; color: var(--np-text); font-family: Vazirmatn, system-ui, sans-serif; }
.ns *, .ns *::before, .ns *::after, .np-related *, .np-related *::before, .np-related *::after { box-sizing: border-box; }
.ns [hidden] { display: none !important; }
.ns a { color: inherit; text-decoration: none; }
.ns .np-ico { flex-shrink: 0; }
.ns .np-ico.is-fill { fill: currentColor; }
.ns .woocommerce-notices-wrapper:empty { display: none; }
.ns .woocommerce-notices-wrapper { margin-bottom: 20px; }
.woocommerce-breadcrumb { display: none; }

.ns-btn { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border: 0; border-radius: 16px; background: var(--np-g); color: var(--np-on-g) !important; font: inherit; font-size: 14px; font-weight: 900; cursor: pointer; box-shadow: var(--np-shadow); transition: background .2s, transform .15s; }
.ns-btn:hover { background: var(--np-g-d); }
.ns-btn:active { transform: scale(.95); }


/* دسته‌بندی + مرتب‌سازی */
.ns-bar { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; gap: 16px; margin-top: 32px; padding: 16px; border: 1px solid var(--np-line); border-radius: 24px; background: var(--np-card); }
.ns-cats { display: flex; align-items: center; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; }
.ns-cats::-webkit-scrollbar { display: none; }
.ns-cat { display: inline-flex; flex-shrink: 0; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 16px; background: var(--np-tile); color: var(--np-muted); font-size: 12px; font-weight: 700; white-space: nowrap; transition: background .2s, color .2s; }
.ns-cat:hover { background: var(--np-soft); color: var(--np-text); }
.ns-cat.is-active { background: var(--np-g); color: var(--np-on-g); font-weight: 900; box-shadow: var(--np-shadow); }
.ns-sort { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ns-sort__label { display: none; color: var(--np-muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.ns-sort .woocommerce-ordering { position: relative; width: 100%; margin: 0; float: none; }
.ns-sort .woocommerce-ordering::after { position: absolute; top: 50%; left: 16px; width: 8px; height: 8px; border: solid var(--np-muted); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); content: ''; pointer-events: none; }
.ns-sort select { width: 100%; padding: 12px 16px 12px 40px; border: 1px solid var(--np-line2); border-radius: 16px; outline: 0; background: var(--np-tile); color: var(--np-text); font: inherit; font-size: 12px; font-weight: 700; text-align: right; appearance: none; -webkit-appearance: none; cursor: pointer; }
.ns-sort select:focus-visible { border-color: var(--np-g); }

/* عنوان بخش + شبکه */
.ns-products { margin-top: 32px; }
.ns-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.ns-head h1 { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--np-text); font-size: 20px; font-weight: 900; line-height: 1.5; }
.ns-head h1 .np-ico { color: var(--np-g); stroke-width: 2.5; }
.ns-count { flex-shrink: 0; color: var(--np-muted); font-size: 12px; font-weight: 700; }
.ns-desc { margin: -8px 0 24px; color: var(--np-muted); font-size: 13px; line-height: 2; }
.ns ul.products { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; clear: both; margin: 0; padding: 0; list-style: none; }
.ns ul.products::before, .ns ul.products::after { display: none; }

/* کارت محصول (فروشگاه + مرتبط‌ها) */
.ns-card { position: relative; display: flex; min-width: 0; flex-direction: column; float: none; width: auto; margin: 0; padding: 12px; border: 1px solid var(--np-line); border-radius: 24px; background: var(--np-card); box-shadow: var(--np-shadow); transition: background .3s, border-color .3s; }
.ns-card:hover { border-color: color-mix(in srgb, var(--np-g) 40%, transparent); background: var(--np-hover); }
.ns-card__link { display: flex; flex: 1; flex-direction: column; color: inherit; }
.ns-card__tag { position: absolute; z-index: 2; top: 20px; right: 20px; padding: 4px 12px; border-radius: 999px; background: var(--np-g); color: var(--np-on-g); font-size: 10px; font-weight: 900; box-shadow: 0 4px 6px -1px rgba(0,0,0,.25); }
.ns-card__tag.is-sale { background: #ef4444; color: #fff; }
.ns-card__tag.is-badge { background: #f59e0b; color: #111; }
.ns-card__tag.is-out { background: #374151; color: #fff; }
.ns-card__media { position: relative; display: block; aspect-ratio: 4/5; margin-bottom: 16px; overflow: hidden; border-radius: 16px; background: var(--np-inner); }
.ns-card__img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; opacity: .85; transition: transform .5s; }
.ns-card:hover .ns-card__img { transform: scale(1.1); }
.ns-card__rating { position: absolute; bottom: 12px; left: 12px; display: flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 8px; background: rgba(0,0,0,.8); backdrop-filter: blur(12px); color: #facc15; font-size: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
.ns-card__rating b { font-weight: 900; }
.ns-card__body { display: block; margin-bottom: 16px; }
.ns-card .woocommerce-loop-product__title { display: -webkit-box; margin: 0; padding: 0; overflow: hidden; color: var(--np-text); font-size: 14px; font-weight: 900; line-height: 1.6; transition: color .2s; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.ns-card:hover .woocommerce-loop-product__title { color: var(--np-g); }
.ns-card__sub { display: -webkit-box; margin-top: 6px; overflow: hidden; color: var(--np-muted); font-size: 11px; font-weight: 500; line-height: 1.7; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
/* فوتر کارت محصول — باکس قیمت + پلتفرم‌ها + دکمه سبد */
.ns-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--np-line); }
.ns-card__price-wrap { display: flex; flex: 1; flex-direction: column; min-width: 0; gap: 6px; }

/* ── باکس قیمت (.npb) ── */
.npb { display: flex; align-items: center; gap: 8px; }
.npb__val { display: flex; flex-direction: column; min-width: 0; line-height: 1.4; }
.npb__amount { display: flex; align-items: baseline; gap: 3px; }
.npb__amount b { color: var(--np-g); font-size: 17px; font-weight: 900; letter-spacing: -.02em; white-space: nowrap; }
.npb__amount small { color: var(--np-muted); font-size: 10px; font-weight: 700; }
.npb__reg { display: block; order: -1; color: var(--np-dim); font-size: 10.5px; font-weight: 500; text-decoration-line: line-through; text-decoration-color: rgba(239,68,68,.55); white-space: nowrap; }
.npb__from { display: block; order: -1; color: var(--np-muted); font-size: 10px; font-weight: 700; }
.npb__off { display: inline-grid; place-items: center; flex-shrink: 0; min-width: 38px; height: 28px; padding: 0 8px; border-radius: 99px; background: rgba(239,68,68,.9); color: #fff; font-size: 11px; font-weight: 900; line-height: 1; white-space: nowrap; }
.npb__out { display: block; padding: 5px 0; color: var(--np-muted); font-size: 12px; font-weight: 700; }
.npb.has-off .npb__amount b { color: #ef4444; }
html[data-theme="light"] .npb__off { background: #ef4444; }

/* برچسب‌های پلتفرم */
.ns-card__platforms { display: flex; flex-wrap: wrap; gap: 4px; }
.ns-plat-tag { display: inline-grid; place-items: center; padding: 2px 8px; border-radius: 6px; background: rgba(255,255,255,.06); color: var(--np-muted); font-size: 10px; font-weight: 800; letter-spacing: .04em; white-space: nowrap; }
html[data-theme="light"] .ns-plat-tag { background: rgba(15,23,41,.07); }
.ns-card__cart { display: grid; flex-shrink: 0; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--np-tile); color: var(--np-text2); box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: background .2s, color .2s; }
.ns-card:hover .ns-card__cart, .ns-card__cart:hover, .ns-card__cart:focus-visible { background: var(--np-g); color: var(--np-on-g); }
.ns-card__cart.loading { opacity: .6; pointer-events: none; }
.ns-card__cart.added { background: var(--np-g); color: var(--np-on-g); }
.ns-card__cart.loading::after, .ns-card__cart.added::after { content: none; }
.ns-card .added_to_cart { display: none; }
.ns-card__cart:focus-visible, .ns-cat:focus-visible, .ns-btn:focus-visible { outline: 2px solid var(--np-g); outline-offset: 2px; }

/* صفحه‌بندی */
.ns .woocommerce-pagination { margin-top: 40px; }
.ns .woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; border: 0; list-style: none; }
.ns .woocommerce-pagination li { margin: 0; border: 0; }
.ns .woocommerce-pagination a, .ns .woocommerce-pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid var(--np-line2); border-radius: 12px; background: var(--np-card); color: var(--np-muted); font-size: 13px; font-weight: 700; transition: background .2s, color .2s; }
.ns .woocommerce-pagination a:hover { background: var(--np-soft); color: var(--np-text); }
.ns .woocommerce-pagination .current { border-color: var(--np-g); background: var(--np-g); color: var(--np-on-g); font-weight: 900; }

/* حالت خالی */
.ns-empty { padding: 64px 24px; border: 1px solid var(--np-line); border-radius: 24px; background: var(--np-card); text-align: center; }
.ns-empty > span { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 16px; background: var(--np-soft); color: var(--np-muted); }
.ns-empty h2 { margin: 0 0 8px; color: var(--np-text); font-size: 18px; font-weight: 900; }
.ns-empty p { margin: 0 0 24px; color: var(--np-muted); font-size: 14px; }

@media (min-width: 640px) {
	.ns { padding: 24px 32px 48px; }
	.ns-bar { flex-direction: row; align-items: center; padding: 20px; }
	.ns-cats { padding-bottom: 0; }
	.ns-cat { font-size: 14px; }
	.ns-sort { justify-content: flex-end; }
	.ns-sort__label { display: inline; }
	.ns-sort .woocommerce-ordering { width: 192px; }
	.ns-sort select { font-size: 14px; }
	.ns-head h1 { font-size: 24px; }
	.ns ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
}
@media (min-width: 768px) { .ns ul.products { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (min-width: 1024px) {
	.ns { padding-inline: 48px; }
	.ns ul.products { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
@media (min-width: 1280px) { .ns ul.products { grid-template-columns: repeat(5, minmax(0,1fr)); } }
@media (max-width: 380px) { .ns ul.products { gap: 8px; } .ns-card { padding: 8px; border-radius: 20px; } .ns-card__tag { top: 14px; right: 14px; } .ns-card__price .woocommerce-Price-amount { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .ns *, .np-related * { transition: none !important; animation: none !important; } }

/* ══════════════════════════════════════════
   تسویه حساب (nck-*) — دو ستون: صورتحساب ۷/۱۲ + خلاصه سفارش چسبان ۵/۱۲
   فرم و درگاه‌ها خود ووکامرس‌اند؛ اینجا فقط ظاهر. توکن‌ها مشترک با صفحه محصول.
══════════════════════════════════════════ */
.nck {
	--np-g: var(--nw-green); --np-g-d: var(--nw-green-dark); --np-on-g: #111;
	--np-card: #141414; --np-inner: #0d0d0d; --np-tile: #1c1c1c; --np-hover: #1a1a1a;
	--np-line: rgba(255,255,255,.05); --np-line2: rgba(255,255,255,.1); --np-soft: rgba(255,255,255,.05);
	--np-text: #fff; --np-text2: #d1d5db; --np-muted: #9ca3af; --np-dim: #6b7280;
	--np-shadow: 0 20px 25px -5px rgba(0,0,0,.35);
	width: 100%; padding: 24px 16px 48px; color: var(--np-text); font-family: Vazirmatn, system-ui, sans-serif;
}
html[data-theme="light"] .nck {
	--np-on-g: #fff;
	--np-card: #fff; --np-inner: #f4f6f8; --np-tile: #f8fafc; --np-hover: #f8fafc;
	--np-line: rgba(15,23,41,.07); --np-line2: rgba(15,23,41,.14); --np-soft: rgba(15,23,41,.05);
	--np-text: #1f2937; --np-text2: #374151; --np-muted: #64748b; --np-dim: #94a3b8;
	--np-shadow: 0 12px 28px -12px rgba(15,23,41,.18);
}
.nck *, .nck *::before, .nck *::after { box-sizing: border-box; }
.nck a { color: inherit; text-decoration: none; }
.nck .np-ico { flex-shrink: 0; }
.nck-head { margin-bottom: 28px; }
.nck-head h1 { margin: 0 0 8px; color: var(--np-text); font-size: 24px; font-weight: 900; line-height: 1.4; }
.nck-head p { margin: 0; color: var(--np-muted); font-size: 13px; font-weight: 500; }
.nck .woocommerce-notices-wrapper:empty { display: none; }
.nck .woocommerce-error, .nck .woocommerce-message, .nck .woocommerce-info { margin: 0 0 20px; padding: 14px 18px; list-style: none; border: 1px solid var(--np-line2); border-radius: 16px; background: var(--np-card); color: var(--np-text); font-size: 13px; line-height: 2; }
.nck .woocommerce-error { border-color: rgba(239,68,68,.4); }
.nck .woocommerce-message { border-color: color-mix(in srgb, var(--np-g) 40%, transparent); }
.nck .woocommerce-error li { margin: 0; }
.nck .woocommerce-info a, .nck .woocommerce-message a { color: var(--np-g); font-weight: 700; }

.nck-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 24px; align-items: start; }
.nck-main, .nck-side { min-width: 0; }
.nck-main { display: flex; flex-direction: column; gap: 24px; }
.nck-card { padding: 20px; border: 1px solid var(--np-line); border-radius: 28px; background: var(--np-card); box-shadow: var(--np-shadow); }
.nck-card__title { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; padding-bottom: 16px; border-bottom: 1px solid var(--np-line); color: var(--np-text); font-size: 17px; font-weight: 900; line-height: 1.5; }
.nck-card__title--sum .np-ico { color: var(--np-g); stroke-width: 2.5; }
.nck-num { display: grid; flex: 0 0 40px; place-items: center; height: 40px; border-radius: 16px; background: color-mix(in srgb, var(--np-g) 15%, transparent); color: var(--np-g); font-size: 16px; font-weight: 900; }
.nck-sub { display: flex; align-items: center; gap: 12px; margin: 24px 0 14px; color: var(--np-text); font-size: 15px; font-weight: 900; }
.nck-sub .nck-num { flex-basis: 32px; height: 32px; border-radius: 12px; font-size: 14px; }

/* فیلدهای فرم (ووکامرس) */
.nck-fields .woocommerce-billing-fields > h3, .nck-fields .woocommerce-shipping-fields > h3, .nck-fields .woocommerce-additional-fields > h3 { margin: 0 0 14px; color: var(--np-text); font-size: 14px; font-weight: 900; }
.nck-fields--ship { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--np-line); }
.nck .woocommerce-billing-fields__field-wrapper, .nck .woocommerce-shipping-fields__field-wrapper, .nck .woocommerce-additional-fields__field-wrapper { display: grid; grid-template-columns: minmax(0,1fr); gap: 16px; }
.nck .form-row { float: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
.nck .form-row label { display: block; margin: 0 0 8px; color: var(--np-muted); font-size: 12px; font-weight: 700; line-height: 1.6; }
.nck .form-row .required { color: #ef4444; text-decoration: none; }
.nck .form-row .optional { color: var(--np-dim); font-weight: 500; }
.nck .form-row .input-text, .nck .form-row input[type="text"], .nck .form-row input[type="tel"], .nck .form-row input[type="email"], .nck .form-row input[type="password"], .nck .form-row textarea, .nck .form-row select { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--np-line2); border-radius: 16px; outline: 0; background: var(--np-tile); color: var(--np-text); font: inherit; font-size: 14px; font-weight: 500; transition: border-color .2s; }
.nck .form-row textarea { min-height: 96px; resize: vertical; }
.nck .form-row .input-text:focus, .nck .form-row textarea:focus, .nck .form-row select:focus { border-color: var(--np-g); }
.nck .form-row input::placeholder, .nck .form-row textarea::placeholder { color: var(--np-dim); }
.nck .form-row input[type="tel"], .nck .form-row input[type="email"] { direction: ltr; text-align: left; }
.nck .form-row.woocommerce-invalid .input-text, .nck .form-row.woocommerce-invalid select { border-color: #ef4444; }
.nck .form-row .select2-container .select2-selection, .nck .form-row .selectWoo-container .select2-selection { min-height: 50px; border: 1px solid var(--np-line2); border-radius: 16px; background: var(--np-tile); }
.nck .woocommerce-account-fields, .nck .create-account { margin-top: 16px; color: var(--np-text2); font-size: 13px; }
.nck input[type="checkbox"], .nck input[type="radio"] { accent-color: var(--np-g); }

/* خلاصه سفارش */
.nck .shop_table { width: 100%; margin: 0; border: 0; border-collapse: collapse; color: var(--np-text2); font-size: 13px; }
.nck .shop_table thead { display: none; }
.nck .shop_table th, .nck .shop_table td { padding: 12px 0; border: 0; border-bottom: 1px solid var(--np-line); background: transparent; vertical-align: top; text-align: right; line-height: 1.8; }
.nck .shop_table td:last-child, .nck .shop_table tfoot td { text-align: left; white-space: nowrap; }
.nck .shop_table .product-name { color: var(--np-text); font-weight: 700; }
.nck .shop_table .product-quantity { color: var(--np-muted); font-weight: 500; }
.nck .shop_table .variation { margin: 4px 0 0; color: var(--np-muted); font-size: 11px; }
.nck .shop_table .variation dt, .nck .shop_table .variation dd { display: inline; margin: 0; }
.nck .shop_table .variation p { display: inline; margin: 0; }
.nck .shop_table tfoot th { color: var(--np-muted); font-weight: 700; }
.nck .shop_table tfoot td { color: var(--np-text); font-weight: 800; }
.nck .shop_table .cart-discount td { color: #34d399; }
.nck .shop_table .order-total th, .nck .shop_table .order-total td { padding-top: 16px; border-bottom: 0; color: var(--np-text); font-size: 16px; font-weight: 900; }
.nck .shop_table .order-total .woocommerce-Price-amount { color: var(--np-g); font-size: 22px; letter-spacing: -.02em; }
.nck .woocommerce-Price-currencySymbol { margin-inline-start: 4px; color: var(--np-muted); font-size: .65em; font-weight: 700; }
.nck .shop_table .order-total .woocommerce-Price-currencySymbol { font-size: 12px; }
.nck .shop_table ul#shipping_method { margin: 0; padding: 0; list-style: none; text-align: left; }

/* درگاه‌های پرداخت (ووکامرس) */
.nck #payment { background: transparent; border-radius: 0; }
.nck ul.wc_payment_methods { display: flex; flex-direction: column; gap: 12px; margin: 0 0 16px; padding: 0; border: 0; list-style: none; }
.nck ul.wc_payment_methods > li { margin: 0; padding: 0; border: 2px solid var(--np-line); border-radius: 16px; background: var(--np-tile); transition: border-color .2s, background .2s; }
.nck ul.wc_payment_methods > li:has(input:checked) { border-color: var(--np-g); background: color-mix(in srgb, var(--np-g) 10%, var(--np-tile)); }
.nck ul.wc_payment_methods > li > input { position: absolute; opacity: 0; pointer-events: none; }
.nck ul.wc_payment_methods > li > label { display: flex; align-items: center; gap: 12px; margin: 0; padding: 16px; color: var(--np-text); font-size: 13px; font-weight: 700; cursor: pointer; }
.nck ul.wc_payment_methods > li > label::before { display: grid; flex: 0 0 20px; place-items: center; height: 20px; border: 2px solid #4b5563; border-radius: 50%; color: transparent; font-size: 12px; font-weight: 900; line-height: 1; content: '✓'; transition: background .2s, border-color .2s, color .2s; }
.nck ul.wc_payment_methods > li:has(input:checked) > label::before { border-color: var(--np-g); background: var(--np-g); color: var(--np-on-g); }
.nck ul.wc_payment_methods > li > label img { max-height: 24px; margin-inline-start: auto; }
.nck .payment_box { margin: 0; padding: 0 16px 16px; background: transparent; color: var(--np-muted); font-size: 12px; line-height: 2; }
.nck .payment_box::before { display: none; }
.nck .payment_box p { margin: 0; }
.nck .woocommerce-privacy-policy-text, .nck .woocommerce-terms-and-conditions-wrapper { color: var(--np-muted); font-size: 11px; line-height: 1.9; }
.nck .woocommerce-privacy-policy-text a, .nck .woocommerce-terms-and-conditions-wrapper a { color: var(--np-g); }
.nck .place-order { margin: 0; padding: 0; }
.nck #place_order { display: flex; width: 100%; align-items: center; justify-content: center; gap: 10px; margin: 16px 0 0; padding: 16px 24px; border: 0; border-radius: 16px; background: var(--np-g); color: var(--np-on-g); font: inherit; font-size: 16px; font-weight: 900; line-height: 1.4; cursor: pointer; box-shadow: var(--np-shadow); transition: background .2s, transform .15s, opacity .2s; }
.nck #place_order:hover { background: var(--np-g-d); }
.nck #place_order:active { transform: scale(.98); }
.nck #place_order:disabled, .nck .processing #place_order { opacity: .55; cursor: wait; }
.nck-trust { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; color: var(--np-dim); font-size: 11px; font-weight: 700; text-align: center; line-height: 1.8; }
.nck-trust .np-ico { color: var(--np-g); }
.nck .blockUI.blockOverlay { border-radius: 28px; background: var(--np-card) !important; opacity: .6 !important; }

/* سبد خالی */
.nck-empty { max-width: 520px; margin: 24px auto 0; padding: 56px 24px; border: 1px solid var(--np-line); border-radius: 28px; background: var(--np-card); text-align: center; box-shadow: var(--np-shadow); }
.nck-empty > span { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 20px; background: var(--np-soft); color: var(--np-muted); }
.nck-empty h2 { margin: 0 0 8px; color: var(--np-text); font-size: 20px; font-weight: 900; }
.nck-empty p { margin: 0 0 28px; color: var(--np-muted); font-size: 14px; }
.nck-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 28px; border-radius: 16px; background: var(--np-g); color: var(--np-on-g) !important; font-size: 14px; font-weight: 900; box-shadow: var(--np-shadow); transition: background .2s; }
.nck-btn:hover { background: var(--np-g-d); }

@media (min-width: 640px) {
	.nck { padding: 32px 32px 64px; }
	.nck-head h1 { font-size: 30px; }
	.nck-head p { font-size: 14px; }
	.nck-card { padding: 32px; border-radius: 40px; }
	.nck-card__title { font-size: 19px; }
	.nck .woocommerce-billing-fields__field-wrapper, .nck .woocommerce-shipping-fields__field-wrapper, .nck .woocommerce-additional-fields__field-wrapper { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.nck .form-row-wide, .nck #order_comments_field, .nck #billing_address_1_field, .nck #shipping_address_1_field { grid-column: 1 / -1; }
}
@media (min-width: 1024px) {
	.nck { padding-inline: 48px; }
	.nck-grid { grid-template-columns: repeat(12, minmax(0,1fr)); gap: 32px; }
	.nck-main { grid-column: span 7 / span 7; }
	.nck-side { position: sticky; top: calc(var(--nestor-header-h, 105px) + 16px); grid-column: span 5 / span 5; align-self: start; }
}
@media (prefers-reduced-motion: reduce) { .nck * { transition: none !important; } }

/* ══════════════ سبد خرید (.nc-*) ══════════════ */
.nc {
	--np-g: var(--nw-green); --np-g-d: var(--nw-green-dark); --np-on-g: #111;
	--np-card: #141414; --np-inner: #0d0d0d; --np-tile: #1c1c1c; --np-hover: #1a1a1a;
	--np-line: rgba(255,255,255,.05); --np-line2: rgba(255,255,255,.1); --np-soft: rgba(255,255,255,.05); --np-soft2: rgba(255,255,255,.1);
	--np-text: #fff; --np-text2: #d1d5db; --np-muted: #9ca3af; --np-dim: #6b7280;
	--np-shadow: 0 20px 25px -5px rgba(0,0,0,.35); --np-shadow-sm: 0 10px 15px -3px rgba(0,0,0,.25);
	padding: 20px 16px 80px;
}
html[data-theme="light"] .nc {
	--np-on-g: #fff;
	--np-card: #fff; --np-inner: #f4f6f8; --np-tile: #f8fafc; --np-hover: #f8fafc;
	--np-line: rgba(15,23,41,.07); --np-line2: rgba(15,23,41,.14); --np-soft: rgba(15,23,41,.05); --np-soft2: rgba(15,23,41,.08);
	--np-text: #1f2937; --np-text2: #374151; --np-muted: #64748b; --np-dim: #94a3b8;
	--np-shadow: 0 12px 28px -12px rgba(15,23,41,.18); --np-shadow-sm: 0 8px 20px -8px rgba(15,23,41,.12);
}
.nc *, .nc *::before, .nc *::after { box-sizing: border-box; }
.nc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.nc-head__title { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--np-text); font-size: 22px; font-weight: 900; }
.nc-head__title .np-ico { color: var(--np-g); }
.nc-head__count { padding: 4px 12px; border-radius: 999px; background: var(--np-soft); color: var(--np-muted); font-size: 12px; font-weight: 800; }
.nc-notices:empty { display: none; }
.nc-notices { margin-bottom: 16px; }
.nc-notices .woocommerce-error, .nc-notices .woocommerce-message, .nc-notices .woocommerce-info { margin: 0 0 12px; padding: 14px 16px; list-style: none; border: 1px solid var(--np-line2); border-radius: 16px; background: var(--np-card); color: var(--np-text); font-size: 13px; line-height: 1.9; }
.nc-notices .woocommerce-message { border-color: color-mix(in srgb, var(--np-g) 40%, transparent); }
.nc-notices .woocommerce-error { border-color: rgba(239,68,68,.4); }
.nc-notices a { color: var(--np-g); font-weight: 800; }

.nc-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 20px; align-items: start; }

/* اقلام */
.nc-items { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.nc-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--np-line); border-radius: 20px; background: var(--np-card); box-shadow: var(--np-shadow-sm); }
.nc-item__media { display: block; width: 72px; height: 72px; overflow: hidden; border-radius: 14px; background: var(--np-soft); }
.nc-item__media img { width: 100%; height: 100%; object-fit: cover; }
.nc-item__body { min-width: 0; }
.nc-item__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; color: var(--np-text); font-size: 14px; font-weight: 800; line-height: 1.5; }
a.nc-item__name:hover { color: var(--np-g); }
.nc-item__body .variation, .nc-item__body dl { margin: 2px 0 6px; color: var(--np-muted); font-size: 11px; }
.nc-item__body .variation dt, .nc-item__body .variation dd, .nc-item__body .variation p { display: inline; margin: 0; }
.nc-item__deliver { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.nc-item__deliver.is-instant { background: color-mix(in srgb, var(--np-g) 12%, transparent); color: color-mix(in srgb, var(--np-g) 86%, var(--np-text)); }
.nc-item__deliver.is-ship { background: rgba(245,158,11,.14); color: #d97706; }
.nc-item__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.nc-item__price { color: var(--np-text); font-size: 14px; font-weight: 900; white-space: nowrap; }
.nc-item__price .woocommerce-Price-currencySymbol { color: var(--np-muted); font-size: .7em; }
.nc-qty { display: inline-flex; align-items: center; border: 1px solid var(--np-line2); border-radius: 12px; overflow: hidden; background: var(--np-tile); }
.nc-qty__btn { width: 32px; height: 34px; padding: 0; border: 0; background: transparent; color: var(--np-text); font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer; transition: background .15s; }
.nc-qty__btn:hover { background: var(--np-hover); color: var(--np-g); }
.nc-qty__in { width: 40px; height: 34px; padding: 0; border: 0; border-inline: 1px solid var(--np-line); background: transparent; color: var(--np-text); font-size: 13px; font-weight: 800; text-align: center; -moz-appearance: textfield; }
.nc-qty__in::-webkit-outer-spin-button, .nc-qty__in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nc-item__remove { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--np-soft); color: var(--np-muted); transition: background .18s, color .18s; }
.nc-item__remove:hover { background: rgba(239,68,68,.14); color: #ef4444; }
.nc-items__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

/* خلاصه سفارش */
.nc-sum { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--np-line); border-radius: 24px; background: var(--np-card); box-shadow: var(--np-shadow); }
.nc-sum__title { margin: 0 0 16px; color: var(--np-text); font-size: 17px; font-weight: 900; }
.nc-coupon { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; padding: 6px 6px 6px 14px; border: 1px solid var(--np-line2); border-radius: 14px; background: var(--np-tile); }
.nc-coupon > .np-ico { color: var(--np-muted); flex-shrink: 0; }
.nc-coupon input { flex: 1; min-width: 0; padding: 8px 0; border: 0; background: transparent; color: var(--np-text); font: inherit; font-size: 13px; }
.nc-coupon input:focus { outline: none; }
.nc-coupon__btn { flex-shrink: 0; padding: 9px 16px; border: 0; border-radius: 10px; background: var(--np-soft2); color: var(--np-text); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: background .18s, color .18s; }
.nc-coupon__btn:hover { background: var(--np-g); color: var(--np-on-g); }
.nc-coupons { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.nc-coupon-chip { display: flex; align-items: center; justify-content: space-between; padding: 8px 14px; border: 1px solid color-mix(in srgb, var(--np-g) 28%, transparent); border-radius: 12px; background: color-mix(in srgb, var(--np-g) 9%, transparent); }
.nc-coupon-chip span { display: inline-flex; align-items: center; gap: 6px; color: color-mix(in srgb, var(--np-g) 85%, var(--np-text)); font-size: 12px; font-weight: 800; }
.nc-coupon-chip a { color: var(--np-muted); }
.nc-coupon-chip a:hover { color: #ef4444; }
.nc-sum__rows { display: flex; flex-direction: column; gap: 10px; padding: 14px 0; border-top: 1px solid var(--np-line); border-bottom: 1px solid var(--np-line); }
.nc-sum__row { display: flex; align-items: center; justify-content: space-between; }
.nc-sum__row span { color: var(--np-muted); font-size: 13px; }
.nc-sum__row strong { color: var(--np-text); font-size: 14px; font-weight: 800; }
.nc-sum__row.is-discount strong { color: #34d399; }
.nc-sum__total { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.nc-sum__total span { color: var(--np-text); font-size: 14px; font-weight: 900; }
.nc-sum__total strong { color: var(--np-g); font-size: 20px; font-weight: 900; letter-spacing: -.02em; }
.nc-sum__total .woocommerce-Price-currencySymbol { color: var(--np-muted); font-size: .6em; font-weight: 700; }
.nc-sum__go { width: 100%; }
.nc-trust { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.nc-trust li { display: flex; align-items: center; gap: 8px; color: var(--np-muted); font-size: 12px; font-weight: 600; }
.nc-trust .np-ico { flex-shrink: 0; color: var(--np-g); }

/* دکمه‌ها */
.nc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border: 0; border-radius: 14px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; transition: background .2s, transform .15s, border-color .2s; }
.nc-btn:active { transform: scale(.98); }
.nc-btn--primary { padding: 15px 20px; background: var(--np-g); color: var(--np-on-g) !important; font-size: 15px; font-weight: 900; box-shadow: 0 12px 26px -8px color-mix(in srgb, var(--np-g) 55%, transparent); }
.nc-btn--primary:hover { background: var(--np-g-d); }
.nc-btn--primary .np-ico { stroke-width: 2.4; }
.nc-btn--ghost { border: 1px solid var(--np-line2); background: var(--np-tile); color: var(--np-text); }
.nc-btn--ghost:hover { border-color: color-mix(in srgb, var(--np-g) 40%, transparent); color: var(--np-g); }

/* سبد خالی */
.nc-empty { max-width: 480px; margin: 20px auto 0; padding: 56px 24px; border: 1px solid var(--np-line); border-radius: 28px; background: var(--np-card); text-align: center; box-shadow: var(--np-shadow); }
.nc-empty__ic { display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 20px; border-radius: 24px; background: color-mix(in srgb, var(--np-g) 10%, transparent); color: var(--np-g); }
.nc-empty h2 { margin: 0 0 8px; color: var(--np-text); font-size: 20px; font-weight: 900; }
.nc-empty p { margin: 0 0 24px; color: var(--np-muted); font-size: 14px; }

@media (min-width: 640px) {
	.nc { padding: 32px 24px 80px; }
	.nc-head__title { font-size: 28px; }
	.nc-item { grid-template-columns: 84px 1fr auto; padding: 16px; }
	.nc-item__media { width: 84px; height: 84px; }
	.nc-sum { padding: 24px; }
}
@media (min-width: 1024px) {
	.nc { padding-inline: 40px; }
	.nc-grid { grid-template-columns: minmax(0,1fr) 360px; gap: 28px; }
	.nc-sum { position: sticky; top: calc(var(--nestor-header-h, 105px) + 16px); }
}

/* ── نوتیس وضعیت تحویل سبد/چک‌اوت (آنی / ارسالی / ترکیبی) ── */
.nc-deliv-note { margin: 0 0 16px; padding: 16px 18px; border: 1px solid var(--np-line2); border-radius: 18px; background: var(--np-card); box-shadow: var(--np-shadow-sm); }
.nc-deliv-note.is-mixed { border-color: color-mix(in srgb, var(--np-g) 32%, transparent); background: linear-gradient(135deg, color-mix(in srgb, var(--np-g) 8%, transparent), var(--np-card) 60%); }
.nc-deliv-note.is-ship { border-color: rgba(245,158,11,.3); background: linear-gradient(135deg, rgba(245,158,11,.08), var(--np-card) 60%); }
.nc-deliv-note.is-instant { border-color: color-mix(in srgb, var(--np-g) 28%, transparent); }
.nc-deliv-note__head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; color: var(--np-text); font-size: 15px; font-weight: 900; }
.nc-deliv-note__head .np-ico { color: var(--np-g); }
.nc-deliv-note.is-ship .nc-deliv-note__head .np-ico { color: #d97706; }
.nc-deliv-note__list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.nc-deliv-note__list li { display: flex; align-items: flex-start; gap: 10px; color: var(--np-text2); font-size: 13px; line-height: 1.9; }
.nc-deliv-note__list li b { color: var(--np-text); font-weight: 800; }
.nc-deliv-note__ic { display: grid; flex: 0 0 30px; place-items: center; height: 30px; margin-top: 1px; border-radius: 10px; background: color-mix(in srgb, var(--np-g) 12%, transparent); color: var(--np-g); }
.nc-deliv-note__list li:nth-child(2) .nc-deliv-note__ic, .nc-deliv-note.is-ship .nc-deliv-note__ic { background: rgba(245,158,11,.14); color: #d97706; }
.nc-deliv-note.is-instant .nc-deliv-note__ic { background: color-mix(in srgb, var(--np-g) 12%, transparent); color: var(--np-g); }
.nc-deliv-note__hint { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--np-line2); color: var(--np-muted); font-size: 12px; line-height: 1.9; }

/* صفحه «سفارش دریافت شد» / «پرداخت سفارش» (خروجی ووکامرس + ماژول‌های صفحه تشکر) */
.nck-endpoint { max-width: 880px; margin: 0 auto; }
.nck-endpoint .woocommerce-order { display: flex; flex-direction: column; gap: 20px; }
.nck-endpoint .woocommerce-notice--success { margin: 0; padding: 20px 24px; border: 1px solid color-mix(in srgb, var(--np-g) 40%, transparent); border-radius: 24px; background: color-mix(in srgb, var(--np-g) 10%, var(--np-card)); color: var(--np-text); font-size: 15px; font-weight: 900; line-height: 1.9; }
.nck-endpoint ul.order_details { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; margin: 0; padding: 20px; border: 1px solid var(--np-line); border-radius: 24px; background: var(--np-card); list-style: none; }
.nck-endpoint ul.order_details li { margin: 0; padding: 12px 14px; border: 1px solid var(--np-line); border-radius: 16px; background: var(--np-tile); color: var(--np-muted); font-size: 11px; font-weight: 700; text-transform: none; }
.nck-endpoint ul.order_details li strong { display: block; margin-top: 4px; color: var(--np-text); font-size: 14px; font-weight: 900; }
.nck-endpoint .woocommerce-order-details, .nck-endpoint .woocommerce-customer-details, .nck-endpoint .woocommerce-bacs-bank-details { padding: 20px; border: 1px solid var(--np-line); border-radius: 24px; background: var(--np-card); color: var(--np-text2); font-size: 13px; line-height: 2; }
.nck-endpoint h2 { margin: 0 0 14px; color: var(--np-text); font-size: 17px; font-weight: 900; }
.nck-endpoint table { width: 100%; border-collapse: collapse; }
.nck-endpoint th, .nck-endpoint td { padding: 10px 0; border: 0; border-bottom: 1px solid var(--np-line); text-align: right; color: var(--np-text2); }
.nck-endpoint tfoot th { color: var(--np-muted); }
.nck-endpoint a { color: var(--np-g); font-weight: 700; }
@media (min-width: 640px) { .nck-endpoint ul.order_details { grid-template-columns: repeat(5, minmax(0,1fr)); } }
