/*
Theme Name:   Store Theme
Description:  پوسته مستقل فروشگاه با الگوی آمازون: جستجوی بزرگ، کارت‌های فشرده، جعبه خرید جدا و «خرید فوری». هماهنگ با Store Core.
Version:      2.14.0
Author:       Store Core
Text Domain:  store-theme
Requires PHP: 7.4
*/

/* ==================================================================
   پایه
   ================================================================== */

@font-face { font-family: Vazirmatn; src: url(assets/fonts/Vazirmatn-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(assets/fonts/Vazirmatn-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(assets/fonts/Vazirmatn-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(assets/fonts/Vazirmatn-ExtraBold.woff2) format("woff2"); font-weight: 800; font-display: swap; }

:root {
	--nav: #131921;
	--nav-2: #232f3e;
	--nav-3: #37475a;
	--accent: #ff9900;
	--search-btn: #febd69;
	--btn-cart: #ffd814;
	--btn-cart-h: #f7ca00;
	--btn-buy: #ffa41c;
	--btn-buy-h: #fa8900;
	--link: #007185;
	--link-h: #c7511f;
	--ink: #0f1111;
	--ink-2: #565959;
	--line: #d5d9d9;
	--line-2: #e7e9ec;
	--bg: #eaeded;
	--soft: #f7f8f8;
	--ok: #007600;
	--deal: #cc0c39;
	--star: #ffa41c;
	--radius: 8px;
	--wrap: 1500px;

	/* رنگ‌های Store Core با همین سیستم */
	--sc-brand: #007185;
	--sc-brand-soft: #e7f4f5;
	--sc-line: var(--line);
	--sc-ink: var(--ink);
	--sc-ink-2: var(--ink-2);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }
html.st-lock { overflow: hidden; }

body {
	margin: 0;
	font-family: Vazirmatn, Tahoma, sans-serif;
	font-size: 14px;
	line-height: 1.75;
	color: var(--ink);
	background: #fff;
	direction: rtl;
}

body.home, body.page-template-default.home { background: #fff; }

img { max-width: 100%; height: auto; }

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-h); text-decoration: underline; }

button, input, select, textarea { font: inherit; color: inherit; }

.screen-reader-text {
	position: absolute !important; top: 0; inset-inline-start: 0; width: 1px; height: 1px; margin: -1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
}
.st-skip:focus { position: fixed !important; top: 8px; right: 8px; width: auto; height: auto; clip: auto; z-index: 100000; background: #fff; padding: 8px 12px; }

.st-i { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

.st-main { max-width: var(--wrap); margin: 0 auto; padding: 12px 12px 32px; }
.st-page, .st-wc-page { max-width: 1100px; }
.st-page-title { font-size: 20px; font-weight: 800; margin: 8px 0 14px; line-height: 1.5; }
.st-content > *:first-child { margin-top: 0; }

.st-btn, .button, button.button, a.button, input.button, .wc-block-components-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	border: 1px solid #fcd200; background: var(--btn-cart); color: var(--ink);
	border-radius: 100px; padding: 8px 18px; font-size: 13.5px; font-weight: 500; line-height: 1.4;
	cursor: pointer; text-decoration: none; box-shadow: 0 2px 5px rgba(213, 217, 217, .5);
}
.st-btn:hover, .button:hover { background: var(--btn-cart-h); color: var(--ink); text-decoration: none; }
.button.disabled, .button:disabled { opacity: .55; cursor: not-allowed; }

/* ==================================================================
   نوار قیمت اقساطی (Store Core) بالای سربرگ
   ================================================================== */

.sc-modebar { background: var(--nav-3); color: #fff; border: 0; border-radius: 0; margin: 0; padding: 6px 14px; font-size: 12.5px; }
.sc-modebar b { color: #fff; }
.sc-modebar-change { color: #fff !important; text-decoration: underline; font-weight: 700; }

.sc-ask { margin: 10px 12px; border-radius: var(--radius); border-inline-start-color: var(--accent); max-width: var(--wrap); }
.sc-ask-o button.is-primary { border-color: var(--link); background: var(--sc-brand-soft); color: var(--link); }

/* ==================================================================
   سربرگ
   ================================================================== */

.st-header { background: var(--nav); color: #fff; position: sticky; top: 0; z-index: 900; }
.admin-bar .st-header { top: 46px; }
@media (min-width: 783px) { .admin-bar .st-header { top: 32px; } }

.st-top {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px;
	max-width: var(--wrap); margin: 0 auto; padding: 8px 10px;
}

.st-burger, .st-nav-all {
	display: inline-flex; align-items: center; gap: 6px; background: transparent; border: 1px solid transparent;
	color: #fff; padding: 6px; border-radius: 4px; cursor: pointer; font-weight: 700;
}
.st-burger:hover, .st-nav-all:hover { border-color: #fff; }

.st-brand { flex: 1 1 auto; min-width: 0; }
.st-logo, .st-brand .custom-logo-link {
	display: inline-block; color: #fff; font-weight: 800; font-size: 21px; letter-spacing: -.2px;
	padding: 2px 6px; border: 1px solid transparent; border-radius: 4px; line-height: 1.5; text-decoration: none;
}
.st-logo:hover { color: #fff; border-color: #fff; text-decoration: none; }
.st-brand .custom-logo { max-height: 38px; width: auto; display: block; }

.st-account, .st-cart {
	display: inline-flex; align-items: center; gap: 6px; color: #fff; padding: 4px 6px;
	border: 1px solid transparent; border-radius: 4px; text-decoration: none; line-height: 1.3;
}
.st-account:hover, .st-cart:hover { color: #fff; border-color: #fff; text-decoration: none; }
.st-account-text { display: none; }
.st-account-text small { display: block; font-size: 11.5px; color: #ddd; }
.st-account-text b { font-size: 13px; }

.st-cart-icon { position: relative; display: inline-flex; }
.st-cart-icon .st-i { width: 30px; height: 30px; }
/* شمارنده‌ی سبد: دایره‌ی نارنجی پر با عدد فارسی تیره، گوشه‌ی بالای آیکن. */
.st-cart-count {
	position: absolute; top: -6px; right: -8px;
	min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box;
	display: inline-flex; align-items: center; justify-content: center;
	background: #f5a524; color: #131921; border-radius: 999px;
	font-weight: 800; font-size: 12.5px; line-height: 1;
	box-shadow: 0 0 0 2px var(--nav, #131921);
}
.st-cart-count:empty { display: none; }
.st-cart-text { display: none; font-size: 13px; }

/* جستجو: در موبایل ردیف کامل، در دسکتاپ وسط */
.st-search-wrap { order: 10; flex: 1 1 100%; }
.st-search-wrap .sc-search { max-width: none; }
.st-search-wrap .sc-search form, .st-search-wrap form { display: flex; gap: 0; }
.st-search-wrap .sc-search-input, .st-search-wrap input[type="search"] {
	flex: 1; min-width: 0; height: 42px; border: 0; border-radius: 0 8px 8px 0;
	padding: 0 12px; font-size: 15px; background: #fff; color: var(--ink); box-shadow: none;
}
.st-search-wrap .sc-search-input:focus { outline: 3px solid var(--accent); outline-offset: -3px; box-shadow: none; }
.st-search-wrap .sc-search-btn, .st-search-wrap button[type="submit"] {
	height: 42px; min-width: 50px; border: 0; border-radius: 8px 0 0 8px; background: var(--search-btn);
	color: var(--ink); font-weight: 700; padding: 0 14px; cursor: pointer;
}
.st-search-wrap .sc-search-btn:hover { background: #f3a847; }
.st-search-wrap .sc-search-results { color: var(--ink); border-radius: 8px; top: calc(100% + 2px); }

/* نوار دسته‌ها */
.st-nav { background: var(--nav-2); display: flex; align-items: center; gap: 4px; padding: 0 8px; }
.st-nav-all { flex: 0 0 auto; font-size: 13.5px; padding: 8px 8px; }
.st-nav-all .st-i { width: 20px; height: 20px; }
.st-nav-links {
	display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; white-space: nowrap;
	-webkit-overflow-scrolling: touch; max-width: var(--wrap);
}
.st-nav-links::-webkit-scrollbar { display: none; }
.st-nav-links a, .st-nav-links li { list-style: none; }
.st-nav-links a {
	display: inline-block; color: #fff; font-size: 13.5px; padding: 9px 9px; border: 1px solid transparent;
	border-radius: 3px; text-decoration: none; line-height: 1.3;
}
.st-nav-links a:hover { border-color: #fff; color: #fff; text-decoration: none; }
.st-nav-links a.is-deal { color: var(--search-btn); font-weight: 700; }

@media (min-width: 900px) {
	.st-burger { display: none; }
	.st-top { flex-wrap: nowrap; gap: 14px; padding: 8px 16px; }
	.st-brand { flex: 0 0 auto; }
	.st-search-wrap { order: 0; flex: 1 1 auto; }
	.st-account-text, .st-cart-text { display: block; }
	.st-account .st-i { display: none; }
	.st-nav { padding: 0 16px; }
}

/* کشو */
.st-drawer { position: fixed; inset: 0; z-index: 10000; background: rgba(0, 0, 0, .7); display: flex; }
.st-drawer[hidden] { display: none; }
.st-drawer-panel { width: min(360px, 86vw); height: 100%; background: #fff; overflow-y: auto; animation: st-in .18s ease-out; }
@keyframes st-in { from { transform: translateX(30px); opacity: .6; } to { transform: none; opacity: 1; } }
.st-drawer-head { display: flex; align-items: center; gap: 10px; background: var(--nav-2); color: #fff; padding: 14px 18px; font-weight: 800; font-size: 17px; }
.st-drawer-head a { color: #fff; }
.st-drawer-body { padding: 6px 0 24px; }
.st-drawer-body h3 { font-size: 16px; font-weight: 800; margin: 14px 18px 6px; }
.st-drawer-body ul { list-style: none; margin: 0; padding: 0; }
.st-drawer-cats > li, .st-drawer-links > li { border-bottom: 1px solid var(--line-2); }
.st-drawer-body a, .st-drawer-body summary { display: block; padding: 11px 18px; color: var(--ink); font-size: 14.5px; cursor: pointer; }
.st-drawer-body a:hover, .st-drawer-body summary:hover { background: var(--soft); text-decoration: none; }
.st-drawer-body summary { list-style: none; position: relative; }
.st-drawer-body summary::-webkit-details-marker { display: none; }
.st-drawer-body summary::after { content: "‹"; position: absolute; left: 18px; color: var(--ink-2); font-size: 18px; line-height: 1; top: 12px; }
.st-drawer-body details[open] summary::after { transform: rotate(-90deg); }
.st-drawer-body details ul a { padding-right: 34px; font-size: 14px; color: var(--ink-2); }
.st-drawer-close { background: transparent; border: 0; color: #fff; padding: 14px; height: fit-content; cursor: pointer; }
.st-drawer-close .st-i { width: 28px; height: 28px; }

/* ==================================================================
   صفحه اصلی
   ================================================================== */

.st-home { padding: 0 0 24px; }
.st-home .st-content { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.st-home .st-content > * { min-width: 0; }
.st-home .st-content > p:empty { display: none; }

/* بنر */
.st-home .sc-hero { display: block; margin: 0; position: relative; }
.st-home .sc-hero-main {
	border-radius: 0; min-height: 190px; padding: 26px 18px 70px; margin: 0;
	background: linear-gradient(160deg, #0f2a44 0%, #1d4d6b 55%, #2c7a7b 100%);
	background-size: cover; background-position: center; color: #fff;
}
.st-home .sc-hero-main h2 { font-size: 23px; font-weight: 800; margin: 0 0 6px; line-height: 1.5; color: #fff; }
.st-home .sc-hero-main p { margin: 0 0 16px; font-size: 14px; opacity: .92; max-width: 520px; color: #fff; }
.st-home .sc-hero-btn {
	display: inline-block; background: var(--btn-cart); color: var(--ink); border-radius: 100px;
	padding: 9px 22px; font-weight: 700; text-decoration: none; border: 1px solid #fcd200;
}
.st-home .sc-hero-btn:hover { background: var(--btn-cart-h); color: var(--ink); text-decoration: none; }
.st-home .sc-hero-side {
	display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: none; gap: 10px; padding: 0 12px;
	margin-top: -52px; position: relative;
}
.st-home .sc-hero-card {
	background: #fff; border-radius: var(--radius); min-height: 76px; padding: 12px 14px; display: flex; align-items: flex-end;
	font-weight: 800; font-size: 15px; color: var(--ink); box-shadow: 0 1px 3px rgba(15, 17, 17, .15); text-decoration: none; border: 0;
}
.st-home .sc-hero-card::after { content: "‹"; margin-inline-start: auto; color: var(--link); font-size: 20px; line-height: 1; }
.st-home .sc-hero-card:hover { color: var(--link-h); text-decoration: none; }

/* کارت‌های سفید روی زمینه خاکستری */
.st-home .sc-cat-row, .st-home .sc-row, .st-home .sc-trustbar, .st-home .sc-brands, .st-home .sc-guides {
	background: #fff; margin: 0 12px; border-radius: var(--radius); padding: 14px; box-shadow: none; border: 0;
}

/* دسته‌ها: شبکه مربعی با عنوان */
.st-home .sc-cat-row {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 12px 10px; overflow: visible;
}
.st-home .sc-cat-row::before { content: "خرید بر اساس دسته"; grid-column: 1 / -1; font-weight: 800; font-size: 17px; }
.st-home .sc-cat-item { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); min-width: 0; width: auto; }
.st-home .sc-cat-img {
	width: 100%; aspect-ratio: 1; height: auto; border-radius: 6px; background: var(--soft);
	display: flex; align-items: center; justify-content: center; overflow: hidden; border: 0;
}
.st-home .sc-cat-img img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.st-home .sc-cat-name { font-size: 13px; line-height: 1.5; text-align: center; color: var(--ink); }
.st-home .sc-cat-item:hover .sc-cat-name { color: var(--link-h); }

/* نوار اعتماد */
.st-home .sc-trustbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.st-home .sc-trustbar-item {
	display: flex; align-items: center; gap: 8px; font-size: 12.8px; font-weight: 600; color: var(--ink); background: none; padding: 0;
}
.st-home .sc-trustbar-item::before { content: "✓"; color: var(--ok); font-weight: 800; }

/* ردیف‌های محصول: اسکرول افقی */
.sc-row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.sc-row-head h2, .related > h2, .upsells > h2, .cross-sells > h2 { font-size: 18px; font-weight: 800; margin: 0; }
.sc-row-head a { font-size: 13px; }

.sc-row-list, .related ul.products, .upsells ul.products, .cross-sells ul.products {
	display: flex !important; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 0 10px !important;
	margin: 0 !important; scrollbar-width: thin; grid-template-columns: none !important;
}
.sc-row-list > li.product, .related ul.products > li.product, .upsells ul.products > li.product, .cross-sells ul.products > li.product {
	flex: 0 0 150px; width: 150px !important; scroll-snap-align: start; margin: 0 !important;
	display: flex !important; flex-direction: column; border: 0 !important; padding: 0 !important; background: transparent !important;
}
.sc-row-list .st-card-media, .related .st-card-media, .upsells .st-card-media, .cross-sells .st-card-media { width: 100%; border-radius: 6px; }
.sc-row-list .st-card-body, .related .st-card-body, .upsells .st-card-body, .cross-sells .st-card-body { padding: 6px 0 0 !important; }
.sc-row-list .button, .related .button, .upsells .button, .cross-sells .button,
.sc-row-list .st-card-brand, .related .st-card-brand, .upsells .st-card-brand,
.sc-row-list .sc-card-lt, .related .sc-card-lt, .upsells .sc-card-lt,
.sc-row-list .st-card-ship, .related .st-card-ship, .upsells .st-card-ship { display: none !important; }
.sc-row-list .woocommerce-loop-product__title, .related .woocommerce-loop-product__title, .upsells .woocommerce-loop-product__title {
	font-size: 13px !important; -webkit-line-clamp: 2 !important;
}

/* برندها و راهنماها */
.st-home .sc-brands { display: flex; flex-wrap: wrap; gap: 8px; }
.st-home .sc-brands::before { content: "برندهای محبوب"; flex: 1 1 100%; font-weight: 800; font-size: 17px; }
.st-home .sc-brand-chip {
	border: 1px solid var(--line); border-radius: 100px; padding: 5px 14px; font-size: 13px; color: var(--ink); background: #fff; text-decoration: none;
}
.st-home .sc-brand-chip:hover { background: var(--soft); color: var(--ink); text-decoration: none; }

@media (min-width: 900px) {
	.st-home { padding-bottom: 32px; }
	.st-home .st-content { max-width: var(--wrap); margin: 0 auto; gap: 18px; }
	.st-home .sc-hero-main { min-height: 300px; padding: 46px 40px 150px; }
	.st-home .sc-hero-main h2 { font-size: 34px; }
	.st-home .sc-hero-main p { font-size: 16px; }
	.st-home .sc-hero-side { grid-template-columns: repeat(2, minmax(0, 320px)); gap: 18px; padding: 0 20px; margin-top: -110px; }
	.st-home .sc-hero-card { min-height: 120px; font-size: 18px; padding: 18px; }
	.st-home .sc-cat-row, .st-home .sc-row, .st-home .sc-trustbar, .st-home .sc-brands, .st-home .sc-guides { margin: 0 20px; padding: 18px 20px; }
	.st-home .sc-cat-row { grid-template-columns: repeat(auto-fill, minmax(140px, 170px)); gap: 16px 20px; }
	.st-home .sc-trustbar { grid-template-columns: repeat(4, 1fr); }
	.sc-row-list > li.product, .related ul.products > li.product, .upsells ul.products > li.product, .cross-sells ul.products > li.product { flex-basis: 200px; width: 200px !important; }
}

/* ==================================================================
   کارت محصول (فهرست‌ها)
   ================================================================== */

ul.products { list-style: none; margin: 0; padding: 0; }
ul.products::before, ul.products::after { display: none !important; }

ul.products li.product {
	position: relative; float: none !important; width: auto !important; margin: 0 !important; text-align: right;
}

.st-card-media { position: relative; background: var(--soft); border-radius: 4px; overflow: hidden; }
.st-card-media a { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; }
.st-card-media img { width: 88% !important; height: 88% !important; object-fit: contain; margin: 0 !important; mix-blend-mode: multiply; }

.st-deal {
	position: absolute; top: 8px; right: 8px; z-index: 2; background: var(--deal); color: #fff;
	font-size: 11.5px; font-weight: 700; padding: 2px 7px; border-radius: 3px;
}

.st-card-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.st-card-brand { font-size: 12px; color: var(--ink-2); }

ul.products li.product .woocommerce-loop-product__title {
	font-size: 14.5px; font-weight: 500; line-height: 1.6; margin: 0; padding: 0;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
ul.products li.product .woocommerce-loop-product__title a { color: var(--ink); }
ul.products li.product .woocommerce-loop-product__title a:hover { color: var(--link-h); text-decoration: none; }

.st-rating { display: flex; align-items: center; gap: 5px; font-size: 13px; line-height: 1.4; }
.st-stars {
	position: relative; display: inline-block; width: 76px; height: 14px; flex: 0 0 76px;
	background: linear-gradient(90deg, #d5d9d9, #d5d9d9);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 76 14'%3E%3Cg%3E%3Cpath d='M7 .8l1.9 4 4.3.4-3.3 2.9 1 4.2L7 10 3.1 12.3l1-4.2L.8 5.2l4.3-.4z'/%3E%3Cpath transform='translate(15.5)' d='M7 .8l1.9 4 4.3.4-3.3 2.9 1 4.2L7 10 3.1 12.3l1-4.2L.8 5.2l4.3-.4z'/%3E%3Cpath transform='translate(31)' d='M7 .8l1.9 4 4.3.4-3.3 2.9 1 4.2L7 10 3.1 12.3l1-4.2L.8 5.2l4.3-.4z'/%3E%3Cpath transform='translate(46.5)' d='M7 .8l1.9 4 4.3.4-3.3 2.9 1 4.2L7 10 3.1 12.3l1-4.2L.8 5.2l4.3-.4z'/%3E%3Cpath transform='translate(62)' d='M7 .8l1.9 4 4.3.4-3.3 2.9 1 4.2L7 10 3.1 12.3l1-4.2L.8 5.2l4.3-.4z'/%3E%3C/g%3E%3C/svg%3E") no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 76 14'%3E%3Cg%3E%3Cpath d='M7 .8l1.9 4 4.3.4-3.3 2.9 1 4.2L7 10 3.1 12.3l1-4.2L.8 5.2l4.3-.4z'/%3E%3Cpath transform='translate(15.5)' d='M7 .8l1.9 4 4.3.4-3.3 2.9 1 4.2L7 10 3.1 12.3l1-4.2L.8 5.2l4.3-.4z'/%3E%3Cpath transform='translate(31)' d='M7 .8l1.9 4 4.3.4-3.3 2.9 1 4.2L7 10 3.1 12.3l1-4.2L.8 5.2l4.3-.4z'/%3E%3Cpath transform='translate(46.5)' d='M7 .8l1.9 4 4.3.4-3.3 2.9 1 4.2L7 10 3.1 12.3l1-4.2L.8 5.2l4.3-.4z'/%3E%3Cpath transform='translate(62)' d='M7 .8l1.9 4 4.3.4-3.3 2.9 1 4.2L7 10 3.1 12.3l1-4.2L.8 5.2l4.3-.4z'/%3E%3C/g%3E%3C/svg%3E") no-repeat;
}
.st-stars > span { position: absolute; inset: 0 0 0 auto; background: var(--star); }
.st-rate-num { font-weight: 700; color: var(--ink); }
.st-rate-count { color: var(--link); font-size: 12.5px; }

/* قیمت */
ul.products li.product .price, .st-buybox-price, .summary > .price {
	display: block; color: var(--ink); font-size: 20px; font-weight: 700; line-height: 1.4; margin: 2px 0 0;
}
ul.products li.product .price del, .summary .price del, .st-buybox-price del {
	display: block; font-size: 12.5px; font-weight: 400; color: var(--ink-2); opacity: 1;
}
.price ins { text-decoration: none; background: none; }
.woocommerce-Price-currencySymbol { font-size: .62em; font-weight: 500; margin-inline-start: 2px; }

.sc-card-lt { background: none !important; padding: 0 !important; margin: 0 !important; font-size: 12.3px; color: var(--link) !important; }
.sc-card-lt .woocommerce-Price-amount, .sc-card-lt-line .woocommerce-Price-amount { font-size: inherit !important; font-weight: 700; }
.sc-card-lt-line { display: block; line-height: 1.6; }

.st-card-ship { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--ink); }
.st-card-ship .st-i { width: 16px; height: 16px; color: var(--ink-2); }
.st-card-ship.is-today span, .st-buybox-ship.is-today span { color: var(--ok); font-weight: 700; }

.st-card-stock { font-size: 12.5px; }
.st-card-stock.is-low { color: var(--deal); }
.st-card-stock.is-out { color: var(--ink-2); }

ul.products li.product .button {
	align-self: flex-start; margin-top: 6px; font-size: 12.5px; padding: 5px 14px;
}
ul.products li.product .added_to_cart { font-size: 12.5px; margin-top: 4px; }

/* ناموجود: آرام و کم‌رنگ */
ul.products li.product.outofstock .st-card-media img { filter: grayscale(1); opacity: .5; }
ul.products li.product.outofstock .woocommerce-loop-product__title a,
ul.products li.product.outofstock .price { opacity: .65; }

/* ==================================================================
   فروشگاه و دسته
   ================================================================== */

.st-shop .st-crumbs, .woocommerce-breadcrumb { font-size: 12.5px; color: var(--ink-2); margin: 2px 0 8px; }
.st-crumbs a { color: var(--ink-2); }
.st-crumb-sep { margin: 0 6px; color: #999; }

.woocommerce-products-header { margin-bottom: 4px; }
.woocommerce-products-header__title { font-size: 19px; font-weight: 800; margin: 0; }
.term-description { font-size: 13px; color: var(--ink-2); }

.woocommerce-result-count { font-size: 13px; color: var(--ink-2); margin: 0; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select {
	border: 1px solid var(--line); border-radius: 8px; background: var(--soft); padding: 6px 10px; font-size: 13px;
	box-shadow: 0 2px 5px rgba(15, 17, 17, .08);
}
.st-shop .woocommerce-result-count, .st-shop .woocommerce-ordering { display: inline-block; vertical-align: middle; margin-bottom: 10px; }
.st-shop .woocommerce-ordering { float: left; }

.sc-filters-toggle { border-radius: 8px !important; }

/* موبایل: فهرست ردیفی مثل نتایج جستجوی آمازون */
.st-shop ul.products { display: grid; gap: 0; clear: both; }
.st-shop ul.products li.product {
	display: grid; grid-template-columns: 40% 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2);
}
.st-shop ul.products li.product .st-card-media { align-self: start; }

@media (min-width: 700px) {
	.st-shop ul.products { grid-template-columns: repeat(3, 1fr); gap: 20px 16px; }
	.st-shop ul.products li.product { display: flex; flex-direction: column; gap: 8px; padding: 0 0 14px; border: 0; }
}
@media (min-width: 1100px) {
	.st-shop ul.products { grid-template-columns: repeat(4, 1fr); }
	.st-main.st-shop { padding: 14px 20px 40px; }
}

.woocommerce-pagination ul { list-style: none; display: flex; justify-content: center; gap: 6px; padding: 0; margin: 20px 0; border: 0; }
.woocommerce-pagination ul li { border: 0 !important; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: inline-block; min-width: 36px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-align: center;
}
.woocommerce-pagination .current { border-color: var(--ink); font-weight: 700; }

/* ==================================================================
   صفحه محصول
   ================================================================== */

.single-product .st-main { padding-top: 8px; }
.single-product div.product { display: grid; grid-template-columns: 100%; gap: 14px; position: relative; }
.single-product div.product > * { min-width: 0; }

.woocommerce-product-gallery { position: relative; margin: 0 !important; width: 100% !important; float: none !important; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image { background: #fff; }
.woocommerce-product-gallery__image img { width: 100%; height: auto; object-fit: contain; aspect-ratio: 1; }
.woocommerce-product-gallery .flex-control-thumbs { list-style: none; display: flex; gap: 8px; padding: 0; margin: 8px 0 0; overflow-x: auto; }
.woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 56px; }
.woocommerce-product-gallery .flex-control-thumbs img {
	width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; opacity: .8; background: #fff;
}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active { border: 2px solid var(--link); opacity: 1; }
.woocommerce-product-gallery__trigger { position: absolute; top: 8px; left: 8px; z-index: 5; font-size: 0; width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.woocommerce-product-gallery__trigger::before { content: "⤢"; font-size: 17px; display: flex; align-items: center; justify-content: center; height: 100%; color: var(--ink); }

.summary { float: none !important; width: auto !important; margin: 0 !important; }
.st-pdp-brand { display: inline-block; font-size: 13px; margin-bottom: 2px; }
.summary .product_title { font-size: 19px; font-weight: 500; line-height: 1.6; margin: 0 0 4px; }
.summary .st-rating { margin: 2px 0 6px; }
.st-pdp-hr { border: 0; border-top: 1px solid var(--line-2); margin: 8px 0; }
.summary > .price { font-size: 26px; font-weight: 500; }
.summary > .price .woocommerce-Price-amount { font-weight: 700; }

.summary .sc-ltbox { max-width: none; border-radius: var(--radius); border-color: var(--line); }
.summary .sc-ltbox-title { font-size: 15px; }
.summary .sc-ltbox-row.is-active { border-color: var(--link); background: var(--sc-brand-soft); }

.st-about { margin: 6px 0 10px; }
.st-about h2 { font-size: 16px; font-weight: 800; margin: 0 0 6px; }
.st-about ul { margin: 0; padding-inline-start: 18px; }
.st-about li { margin: 3px 0; font-size: 14px; line-height: 1.7; }
.st-about li b { font-weight: 700; }
.st-about-more { font-size: 13px; }

/* جعبه خرید */
.st-buybox {
	border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 6px 0 4px; background: #fff;
}
.st-buybox-price { display: none; }
.st-buybox-ship { display: flex; align-items: center; gap: 6px; font-size: 14px; margin: 0 0 8px; }
.st-buybox-ship .st-i { width: 18px; height: 18px; color: var(--ink-2); }

.summary .stock { font-size: 16px; font-weight: 500; margin: 0 0 8px; }
.summary .stock.in-stock { color: var(--ok); }
.summary .stock.out-of-stock { color: var(--deal); }
.summary .stock.available-on-backorder { color: var(--link-h); }

.summary form.cart { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.summary form.cart .quantity { display: flex; align-items: center; gap: 8px; }
.summary form.cart .quantity::before { content: "تعداد:"; font-size: 13.5px; }
.summary form.cart .qty {
	width: 70px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft);
	box-shadow: 0 2px 5px rgba(15, 17, 17, .1); text-align: center;
}

.summary .single_add_to_cart_button, .st-buy-now {
	width: 100%; justify-content: center; font-size: 15px !important; font-weight: 500; padding: 10px 16px !important; border-radius: 100px !important;
}
.summary .single_add_to_cart_button { background: var(--btn-cart) !important; border-color: #fcd200 !important; color: var(--ink) !important; }
.summary .single_add_to_cart_button:hover { background: var(--btn-cart-h) !important; }
.st-buy-now { background: var(--btn-buy) !important; border: 1px solid #ff8f00 !important; color: var(--ink) !important; box-shadow: 0 2px 5px rgba(213, 217, 217, .5); }
.st-buy-now:hover { background: var(--btn-buy-h) !important; }
.st-buy-now.disabled { opacity: .55; }

.summary .woocommerce-variation-add-to-cart { display: flex; flex-direction: column; gap: 10px; }
.summary table.variations { width: 100%; border: 0; margin: 0 0 4px; border-collapse: collapse; }
.summary table.variations th, .summary table.variations td { display: block; padding: 0; border: 0; text-align: right; }
.summary table.variations label { font-size: 14px; font-weight: 700; }
.summary table.variations select {
	width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); margin: 4px 0;
	box-shadow: 0 2px 5px rgba(15, 17, 17, .08);
}
.summary .reset_variations { font-size: 12.5px; }
.summary .woocommerce-variation-price .price { font-size: 20px; font-weight: 700; }
.summary .woocommerce-variation-availability p { margin: 4px 0; }

.st-trust { list-style: none; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line-2); display: grid; gap: 4px; font-size: 12.8px; color: var(--ink-2); }
.st-trust li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-inline-end: 6px; }

.st-secure { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-2); margin-top: 10px; }
.st-secure .st-i { width: 15px; height: 15px; }

.summary .product_meta { font-size: 12.5px; color: var(--ink-2); margin-top: 10px; display: grid; gap: 2px; }
.summary .product_meta > span { display: block; }

/* بخش‌های پایین: همه باز، مثل آمازون (بدون تب) */
.woocommerce-tabs { border-top: 1px solid var(--line-2); padding-top: 6px; }
.woocommerce-tabs ul.tabs { display: none !important; }
.woocommerce-tabs .woocommerce-Tabs-panel { display: block !important; margin: 0 0 18px; padding: 12px 0 0; border-bottom: 1px solid var(--line-2); }
.woocommerce-tabs .woocommerce-Tabs-panel > h2:first-child, #reviews h2.woocommerce-Reviews-title { font-size: 19px; font-weight: 800; margin: 0 0 10px; }

table.shop_attributes, .woocommerce-product-attributes { width: 100%; border-collapse: collapse; border: 0; font-size: 14px; margin: 0 0 12px; }
.woocommerce-product-attributes tr { border-bottom: 1px solid var(--line-2); }
.woocommerce-product-attributes th {
	width: 38%; background: #f3f3f3; text-align: right; font-weight: 700; padding: 8px 12px; vertical-align: top; border: 0;
}
.woocommerce-product-attributes td { padding: 8px 12px; border: 0; }
.woocommerce-product-attributes td p { margin: 0; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td, .st-content li { unicode-bidi: plaintext; }

#reviews .commentlist { list-style: none; padding: 0; margin: 0; }
#reviews .commentlist li { border-bottom: 1px solid var(--line-2); padding: 10px 0; }
#reviews .avatar { display: none; }
#reviews .comment-text { margin: 0 !important; border: 0 !important; padding: 0 !important; }
#reviews .meta { font-size: 13px; color: var(--ink-2); }
#reviews .star-rating { color: var(--star); }
#review_form_wrapper { background: var(--soft); border-radius: var(--radius); padding: 12px 14px; }
#review_form input[type="text"], #review_form input[type="email"], #review_form textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; }
#review_form .form-submit input[type="submit"], .comment-form input[type="submit"] {
	border: 1px solid #fcd200; background: var(--btn-cart); border-radius: 100px; padding: 8px 22px; cursor: pointer; font-weight: 500;
}
p.stars { margin: 4px 0 10px; }
p.stars span { display: inline-flex; gap: 2px; }
p.stars a { position: relative; display: inline-block; width: 30px; height: 30px; font-size: 0; color: var(--star); text-decoration: none; }
p.stars a::before { content: "☆"; position: absolute; inset: 0; font-size: 28px; line-height: 30px; text-align: center; }
p.stars:hover a::before, p.stars.selected a::before { content: "★"; }
p.stars:hover a:hover ~ a::before, p.stars.selected a.active ~ a::before { content: "☆"; }
p.stars.selected a.active::before, p.stars:hover a:hover::before { content: "★"; }

.related, .upsells { margin-top: 8px; }

@media (min-width: 1000px) {
	.single-product div.product { grid-template-columns: 42% 1fr; gap: 28px; align-items: start; }
	.single-product div.product > *:not(.woocommerce-product-gallery):not(.summary) { grid-column: 1 / -1; }
	.woocommerce-product-gallery { position: sticky; top: 130px; }

	.summary { display: grid; grid-template-columns: minmax(0, 1fr) 280px; column-gap: 24px; align-items: start; }
	.summary > * { grid-column: 1; }
	.summary > .st-buybox { grid-column: 2; grid-row: 1 / span 30; margin: 0; position: sticky; top: 130px; }
	.st-buybox-price { display: block; font-size: 24px; margin-bottom: 8px; }
	.summary .product_title { font-size: 23px; }
}

/* نوار چسبان موبایل */
.st-sticky {
	position: fixed; inset: auto 0 0 0; z-index: 800; display: flex; align-items: center; gap: 10px; background: #fff;
	padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -2px 10px rgba(0, 0, 0, .12);
	transform: translateY(110%); transition: transform .2s ease;
}
.st-sticky.is-on { transform: none; }
.st-sticky-price { flex: 1; font-weight: 700; font-size: 16px; min-width: 0; }
.st-sticky-price del { display: none; }
.st-sticky-btn { border: 1px solid #fcd200; background: var(--btn-cart); border-radius: 100px; padding: 9px 18px; font-weight: 700; cursor: pointer; }
@media (min-width: 900px) { .st-sticky { display: none; } }

/* «با این کالا بخرید» Store Core */
.sc-bundle { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fff; }
.sc-bundle-title { font-size: 18px; font-weight: 800; }
.sc-bundle-add { background: var(--btn-cart) !important; color: var(--ink) !important; border: 1px solid #fcd200 !important; border-radius: 100px !important; }

/* جایگزین چند قاعده ضروری از استایل پیش‌فرض ووکامرس */
.woocommerce-product-gallery { opacity: 1 !important; }
.woocommerce-product-gallery .flex-viewport { border-radius: var(--radius); }
.woocommerce-product-gallery__image a { display: block; }
.onsale { display: none; }
.quantity .screen-reader-text { position: absolute !important; }
.woocommerce-store-notice, p.demo_store { position: fixed; bottom: 0; inset-inline: 0; margin: 0; background: var(--nav-3); color: #fff; padding: 10px; text-align: center; z-index: 999; }
.star-rating { display: none; }
.select2-container { width: 100% !important; }
.woocommerce form .form-row .input-text { box-sizing: border-box; }
.wc-item-meta { list-style: none; padding: 0; margin: 4px 0 0; font-size: 12.5px; color: var(--ink-2); }
.wc-item-meta p, .variation p { margin: 0; display: inline; }
dl.variation { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-2); }
dl.variation dt, dl.variation dd { display: inline; margin: 0; }

/* ==================================================================
   اعلان‌ها
   ================================================================== */

.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notices-wrapper > div {
	list-style: none; margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--line); border-inline-start: 4px solid var(--ok);
	border-radius: var(--radius); background: #fff; font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
}
.woocommerce-info { border-inline-start-color: var(--link); }
.woocommerce-error { border-inline-start-color: var(--deal); }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-inline-start: auto; padding: 5px 14px; font-size: 13px; }

/* ==================================================================
   سبد خرید و تسویه حساب (کلاسیک)
   ================================================================== */

.st-wc-page .st-page-title { font-size: 22px; }

.woocommerce-cart-form { background: #fff; }
table.shop_table { width: 100%; border-collapse: collapse; border: 0; font-size: 14px; }
table.shop_table th { text-align: right; font-weight: 700; padding: 8px; border-bottom: 1px solid var(--line); }
table.shop_table td { padding: 12px 8px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
table.shop_table .product-thumbnail img { width: 80px; height: 80px; object-fit: contain; background: var(--soft); border-radius: 6px; }
table.shop_table .product-name a { color: var(--ink); font-weight: 500; }
table.shop_table .product-remove a { color: var(--ink-2) !important; font-size: 20px; text-decoration: none; }
table.shop_table .qty { width: 64px; padding: 5px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); text-align: center; }
table.shop_table .coupon { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
table.shop_table .coupon input { border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; }
table.shop_table button[name="update_cart"] { background: #fff; border-color: var(--line); }

.cart-collaterals { margin-top: 14px; }
.cart_totals { background: var(--soft); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 14px 16px; }
.cart_totals h2 { font-size: 17px; margin: 0 0 6px; }
.cart_totals table.shop_table td, .cart_totals table.shop_table th { border-bottom: 1px solid var(--line-2); }
.cart_totals .order-total .amount { font-size: 19px; font-weight: 800; }
.wc-proceed-to-checkout .checkout-button { width: 100%; font-size: 15px; padding: 11px 16px; margin-top: 10px; }

/* موبایل: جدول سبد به شکل کارت */
@media (max-width: 768px) {
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: block; border-bottom: 1px solid var(--line-2); padding: 10px 0; }
	table.shop_table_responsive td { display: flex; justify-content: space-between; align-items: center; border: 0; padding: 4px 0; text-align: left; }
	table.shop_table_responsive td::before { content: attr(data-title); font-weight: 700; font-size: 13px; color: var(--ink-2); }
	table.shop_table_responsive td.product-thumbnail::before, table.shop_table_responsive td.product-remove::before, table.shop_table_responsive td.actions::before { display: none; }
	table.shop_table_responsive td.product-thumbnail { justify-content: flex-start; }
	table.shop_table_responsive td.actions { display: block; }
	.cart_totals table.shop_table_responsive th { display: none; }
	.cart_totals table.shop_table_responsive tr { padding: 6px 0; }
}

@media (min-width: 900px) {
	.woocommerce-cart .st-content > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
	.woocommerce-cart .woocommerce-notices-wrapper { grid-column: 1 / -1; }
	.cart-collaterals { margin: 0; position: sticky; top: 130px; }
}

/* تسویه حساب */
form.checkout { display: grid; gap: 18px; }
.woocommerce-billing-fields h3, #order_review_heading, .woocommerce-additional-fields h3, #ship-to-different-address { font-size: 17px; font-weight: 800; margin: 0 0 8px; }
.form-row { margin: 0 0 10px; display: flex; flex-direction: column; gap: 3px; }
.form-row label { font-size: 13px; font-weight: 700; }
.form-row .required { color: var(--deal); text-decoration: none; }
.form-row input.input-text, .form-row textarea, .form-row select, .select2-container .select2-selection--single {
	width: 100%; border: 1px solid #888c8c; border-radius: 8px; padding: 8px 10px; background: #fff; min-height: 40px;
	box-shadow: 0 1px 2px rgba(15, 17, 17, .15) inset;
}
.form-row input.input-text:focus, .form-row textarea:focus { outline: 0; border-color: #e77600; box-shadow: 0 0 3px 2px rgba(228, 121, 17, .5); }
#order_review { background: var(--soft); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 14px 16px; }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
#payment ul.payment_methods li { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
#payment .payment_box { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
#place_order { width: 100%; font-size: 16px; padding: 12px 16px; }

@media (min-width: 900px) {
	form.checkout { grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
	form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; }
	form.checkout #order_review_heading, form.checkout #order_review { grid-column: 2; }
	.woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
	.woocommerce-billing-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
}

/* حساب کاربری */
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.woocommerce-MyAccount-navigation a { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; color: var(--ink); }
.woocommerce-MyAccount-navigation .is-active a { border-color: var(--accent); background: #fff8e8; }
.woocommerce form.login, .woocommerce form.register { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; max-width: 420px; }

/* ==================================================================
   نوشته‌ها
   ================================================================== */

.st-posts { display: grid; gap: 16px; }
@media (min-width: 700px) { .st-posts { grid-template-columns: repeat(3, 1fr); } }
.st-post-card { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #fff; }
.st-post-card h2 { font-size: 16px; margin: 10px 12px 4px; }
.st-post-card p { margin: 0 12px 12px; color: var(--ink-2); font-size: 13px; }
.st-article .st-content { font-size: 15.5px; line-height: 2; max-width: 760px; }
.st-meta { color: var(--ink-2); font-size: 13px; margin: -8px 0 12px; }

/* ==================================================================
   پاورقی
   ================================================================== */

.st-footer { margin-top: 24px; color: #ddd; font-size: 13.5px; }
.home .st-footer { margin-top: 0; }
.st-backtop { display: block; text-align: center; background: var(--nav-3); color: #fff; padding: 14px; font-size: 13px; }
.st-backtop:hover { background: #485769; color: #fff; text-decoration: none; }
.st-footer-cols {
	background: var(--nav-2); display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 26px 18px;
}
.st-footer-col h4 { color: #fff; font-size: 15px; font-weight: 800; margin: 0 0 8px; }
.st-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.st-footer-col a, .st-footer-col span { color: #ddd; font-size: 13px; }
.st-footer-col a:hover { color: #fff; }
.st-footer-badges { background: var(--nav-2); border-top: 1px solid #3a4553; display: flex; justify-content: center; gap: 16px; padding: 16px; flex-wrap: wrap; }
.st-footer-badges img { max-height: 90px; width: auto; background: #fff; border-radius: 8px; padding: 4px; }
.st-footer-bottom { background: var(--nav); text-align: center; padding: 16px 12px calc(16px + env(safe-area-inset-bottom)); font-size: 12px; }
.st-footer-bottom p { margin: 0; }
.st-footer-menu ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; padding: 0; margin: 0 0 8px; }
.st-footer-menu a { color: #ddd; }

@media (min-width: 900px) {
	.st-footer-cols { grid-template-columns: repeat(4, minmax(0, 220px)); justify-content: center; gap: 40px; padding: 40px 20px; }
}

.single-product .st-footer { padding-bottom: 60px; }
@media (min-width: 900px) { .single-product .st-footer { padding-bottom: 0; } }

/* موبایل: در صفحه محصول مسیر لازم نیست (مثل آمازون) */
@media (max-width: 899px) { .single-product .st-crumbs { display: none; } }

/* انتخاب گزینه با کلیک */
.st-swatch-wrap { position: relative; }
.st-swatch-wrap select { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.st-swatch-now { font-size: 13.5px; color: var(--ink-2); margin: 2px 0 6px; }
.st-swatch-now b { color: var(--ink); }
.st-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.st-swatch {
	display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; padding: 5px 8px;
	background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 12.5px; line-height: 1.4; color: var(--ink);
}
.st-swatch.has-img { padding: 4px 4px 3px; }
.st-swatch img { width: 52px; height: 52px; object-fit: contain; border-radius: 5px; }
.st-swatch:hover { border-color: var(--ink-2); }
.st-swatch.is-on { border: 2px solid var(--link); background: var(--sc-brand-soft); padding: 4px 7px; }
.st-swatch.has-img.is-on { padding: 3px 3px 2px; }
.st-swatch.is-off { opacity: .45; border-style: dashed; }
.st-swatch.is-off span { text-decoration: line-through; }
.summary table.variations th { padding-top: 4px; }
.summary .reset_variations { display: none !important; }

/* ==================================================================
   نسخه ۲.۱ — جزئیات آمازون
   ================================================================== */

/* ---------- سربرگ ---------- */
.st-account-mini { display: inline; font-size: 13px; white-space: nowrap; }
.st-account-mini + .st-i { width: 24px; height: 24px; }
@media (min-width: 900px) { .st-account-mini { display: none; } .st-account .st-i { display: none; } }

.st-search-wrap .sc-search-btn {
	font-size: 0 !important; width: 50px; min-width: 50px; padding: 0;
	color: transparent !important;
	background: var(--search-btn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f1111' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21'/%3E%3C/svg%3E") center / 22px no-repeat !important;
}
.st-search-wrap .sc-search-input { box-shadow: 0 0 0 1px rgba(0,0,0,.05) inset; }

/* نوار «قیمت‌ها با …» زیر سربرگ، مثل «ارسال به …» آمازون */
.st-subbar .sc-modebar {
	background: var(--nav-3); color: #fff; margin: 0; border-radius: 0; padding: 7px 14px 7px 12px;
	font-size: 13px; display: flex; align-items: center; gap: 6px;
}
.st-subbar .sc-modebar::before {
	content: ""; width: 16px; height: 16px; flex: 0 0 16px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Crect x='3' y='6' width='18' height='13' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.st-subbar [hidden] { display: none !important; }
.st-subbar .sc-ask { margin: 10px 12px 0; border: 0; border-radius: 8px; box-shadow: 0 2px 8px rgba(15,17,17,.18); border-top: 3px solid var(--accent); }
.home .st-subbar .sc-ask { position: relative; z-index: 3; }
.st-subbar .sc-ask h4 { padding-inline-end: 26px; }
.st-subbar .sc-ask-x { inset-inline-start: auto; inset-inline-end: 8px; top: 6px; font-size: 22px; }
/* دسکتاپ: مثل پنجره کوچک «ارسال به …» آمازون، روی صفحه و نه یک نوار پهن */
@media (min-width: 900px) {
	.st-subbar { position: relative; }
	.st-subbar .sc-ask {
		position: absolute; z-index: 60; top: 8px; inset-inline-start: 20px; margin: 0;
		width: 360px; padding: 16px 18px;
	}
	.st-subbar .sc-ask::before {
		content: ""; position: absolute; top: -9px; inset-inline-start: 26px;
		border: 8px solid transparent; border-top: 0; border-bottom-color: var(--accent);
	}
	.home .st-subbar .sc-ask { position: absolute; }
}

/* ---------- کشو ---------- */
.admin-bar .st-drawer { top: 46px; }
@media (min-width: 783px) { .admin-bar .st-drawer { top: 32px; } }
.st-drawer-panel { display: flex; flex-direction: column; }
.st-drawer-head {
	display: flex; align-items: center; gap: 10px; background: var(--nav-2); color: #fff !important; padding: 16px 20px;
	font-weight: 800; font-size: 18px; text-decoration: none !important; flex: 0 0 auto;
}
.st-drawer-head .st-i { width: 30px; height: 30px; background: #fff; color: var(--nav-2); border-radius: 50%; padding: 4px; }
.st-dv-wrap { position: relative; overflow-x: hidden; flex: 1; }
.st-dv { padding: 4px 0 28px; }
.st-dv.is-sub { animation: st-slide .2s ease-out; }
@keyframes st-slide { from { transform: translateX(-40px); opacity: .4; } to { transform: none; opacity: 1; } }
.st-dv h3 { font-size: 17px; font-weight: 800; margin: 0; padding: 16px 20px 6px; }
.st-dv h3:not(:first-child) { border-top: 1px solid #d5dbdb; margin-top: 6px; }
.st-dv ul { list-style: none; margin: 0; padding: 0; }
.st-dv li a, .st-dv-go {
	display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 20px;
	color: var(--ink); font-size: 14.5px; background: none; border: 0; text-align: right; cursor: pointer; text-decoration: none;
}
.st-dv li a:hover, .st-dv-go:hover { background: #eaeded; text-decoration: none; color: var(--ink); }
.st-dv-chev { color: var(--ink-2); font-size: 22px; line-height: 1; }
.st-dv-back {
	display: flex; align-items: center; gap: 10px; width: 100%; padding: 14px 20px; background: none; border: 0;
	border-bottom: 1px solid #d5dbdb; font-weight: 800; font-size: 14.5px; color: var(--ink); cursor: pointer; text-align: right;
}
.st-dv-back span { font-size: 22px; line-height: 1; }
.st-drawer-body { display: none; }

/* ---------- قیمت: اعداد و تومان ---------- */
.woocommerce-Price-amount bdi { font-feature-settings: "tnum"; }
.woocommerce-Price-currencySymbol { font-size: .58em; font-weight: 500; vertical-align: .45em; margin-inline-start: 3px; }

.st-rating { gap: 4px; }
.st-rate-num { font-size: 13px; font-weight: 500; color: var(--ink); }
.st-rate-count { color: var(--link) !important; font-size: 13px; }

/* ---------- صفحه اصلی ---------- */
body.home { background: #fff; }
.st-home { max-width: none; padding: 0 0 20px; }
.st-hero {
	position: relative; height: 230px; color: #fff; overflow: hidden;
	background: var(--hero, none) center / cover no-repeat, linear-gradient(135deg, #0f2a44 0%, #1f5f7a 50%, #2f8f83 100%);
}
.st-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(234,237,237,0) 45%, var(--bg) 100%); }
.st-hero-in { position: relative; z-index: 1; padding: 22px 16px; max-width: var(--wrap); margin: 0 auto; }
.st-hero h1 { font-size: 22px; font-weight: 800; margin: 0 0 4px; line-height: 1.5; text-shadow: 0 1px 2px rgba(0,0,0,.25); }
.st-hero p { font-size: 13.5px; margin: 0 0 12px; max-width: 520px; opacity: .95; }
.st-hero-btn {
	display: inline-block; background: var(--btn-cart); color: var(--ink) !important; border: 1px solid #fcd200; border-radius: 100px;
	padding: 8px 22px; font-weight: 700; text-decoration: none !important;
}
.st-hero-btn:hover { background: var(--btn-cart-h); }

.st-home-in { max-width: var(--wrap); margin: -70px auto 0; position: relative; z-index: 2; padding: 0 10px; display: grid; gap: 12px; }
.st-home-in > * { min-width: 0; }

.st-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.st-qcard { background: #fff; padding: 12px 12px 14px; display: flex; flex-direction: column; min-width: 0; }
.st-qcard h2 { font-size: 16px; font-weight: 800; margin: 0 0 10px; line-height: 1.45; }
.st-quad { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 8px; flex: 1; }
.st-quad-item { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; min-width: 0; }
.st-quad-item:hover { text-decoration: none; color: var(--link-h); }
.st-quad-img { position: relative; aspect-ratio: 1; background: var(--soft); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.st-quad-img img { width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.st-quad-off { position: absolute; bottom: 4px; right: 4px; background: var(--deal); color: #fff; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 3px; }
.st-quad-cap { font-size: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.st-qcard-more { margin-top: 12px; font-size: 13px; }

.st-qcard-lt { grid-column: 1 / -1; }
.st-qcard-lt p { font-size: 13px; color: var(--ink-2); margin: -4px 0 10px; }
.st-lt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.st-lt-btn {
	flex: 1 1 auto; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 9px 14px; font-weight: 700;
	cursor: pointer; box-shadow: 0 2px 5px rgba(213,217,217,.5);
}
.st-lt-btn:hover { background: var(--soft); }
.st-lt-btn.is-active { border: 2px solid var(--link); background: var(--sc-brand-soft); color: var(--link); padding: 8px 13px; }
.st-lt-btn.is-cash { font-weight: 500; }

.st-rowcard { background: #fff; padding: 12px 12px 6px; }
.st-rowcard-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.st-rowcard-head h2 { font-size: 17px; font-weight: 800; margin: 0; }
.st-rowcard-head a { font-size: 13px; white-space: nowrap; }
.st-rowscroll { position: relative; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 10px; scrollbar-width: thin; }
.st-ri { position: relative; flex: 0 0 132px; display: flex; flex-direction: column; gap: 3px; color: var(--ink); text-decoration: none; scroll-snap-align: start; min-width: 0; }
.st-ri:hover { text-decoration: none; color: var(--ink); }
.st-ri:hover .st-ri-title { color: var(--link-h); }
.st-ri-img { aspect-ratio: 1; background: var(--soft); display: flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.st-ri-img img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.st-ri.is-out .st-ri-img img { filter: grayscale(1); opacity: .5; }
.st-ri-deal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.st-ri-pill { background: var(--deal); color: #fff; font-size: 11.5px; font-weight: 700; padding: 1px 7px; border-radius: 3px; }
.st-ri-limited { color: var(--deal); font-size: 11.5px; font-weight: 700; }
.st-ri-price { font-size: 16px; font-weight: 700; line-height: 1.4; }
.st-ri-price del { display: block; font-size: 11.5px; font-weight: 400; color: var(--ink-2); }
.st-ri-price .sc-card-lt, .st-ri-price .sc-card-lt-line { display: none !important; }
.st-ri-title { font-size: 12.8px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-ri .st-rating { font-size: 12px; }
.st-ri .st-stars { transform: scale(.9); transform-origin: right center; }

.st-signin { background: #fff; text-align: center; padding: 18px 12px; display: grid; gap: 8px; justify-items: center; }
.st-signin p { margin: 0; font-weight: 700; font-size: 15px; }
.st-signin .st-hero-btn { width: min(320px, 100%); }
.st-signin small { font-size: 12.5px; color: var(--ink-2); }

@media (min-width: 900px) {
	.st-hero { height: 380px; }
	.st-hero-in { padding: 44px 36px; }
	.st-hero h1 { font-size: 36px; }
	.st-hero p { font-size: 16px; }
	.st-home-in { margin-top: -150px; padding: 0 20px; gap: 20px; }
	.st-cards { grid-template-columns: repeat(4, 1fr); gap: 20px; }
	.st-qcard { padding: 20px 20px 16px; }
	.st-qcard h2 { font-size: 20px; }
	.st-qcard-lt { grid-column: auto; }
	.st-rowcard { padding: 20px 20px 10px; }
	.st-rowcard-head h2 { font-size: 21px; }
	.st-ri { flex-basis: 190px; }
	.st-ri-price { font-size: 19px; }
}

/* ---------- صفحه محصول ---------- */
.st-pdp-top { display: block; margin: 0 0 6px; }
.st-pdp-top-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.st-pdp-top .st-pdp-brand { font-size: 13px; }
.st-pdp-top-title { margin: 2px 0 0; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); font-weight: 500; }
@media (max-width: 999px) {
	.summary .product_title, .summary > .st-pdp-brand, .summary > .st-rating { display: none; }
	.summary > .st-pdp-hr:first-of-type { display: none; }
}
@media (min-width: 1000px) { .st-pdp-top { display: none; } }

/* گالری: در موبایل نقطه به‌جای عکس کوچک */
@media (max-width: 999px) {
	.woocommerce-product-gallery .flex-control-thumbs { justify-content: center; gap: 7px; margin-top: 6px; }
	.woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%; background: #c7cccc; overflow: hidden; }
	.woocommerce-product-gallery .flex-control-thumbs li:has(img.flex-active) { background: var(--ink); }
	.woocommerce-product-gallery .flex-control-thumbs img { opacity: 0 !important; width: 8px; height: 8px; border: 0; }
}

.st-price-row { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.st-off { color: var(--deal); font-size: 22px; font-weight: 300; line-height: 1.5; }
.summary .st-price-row .price { font-size: 26px; margin: 0; }
.summary .price del { order: 2; font-size: 13px !important; color: var(--ink-2); display: block; }
.summary .price del::before { content: "قیمت قبل: "; text-decoration: none; display: inline-block; margin-inline-end: 3px; }
.summary .price ins { font-weight: 700; }

.summary .sc-ltbox { padding: 10px 12px; margin: 10px 0; }
.summary .sc-ltbox-sub, .summary .sc-ltbox-hint { font-size: 11.5px; }
.summary .sc-ltbox-row { padding: 7px 10px; margin: 5px 0; }

.st-buybox-ship { font-size: 14.5px; font-weight: 500; }
.st-buybox-ship span { font-weight: 700; }
.st-buybox .stock { font-size: 18px !important; font-weight: 500; margin: 2px 0 6px; }

.st-buyinfo { width: 100%; border-collapse: collapse; font-size: 12.5px; margin: 10px 0 0; }
.st-buyinfo th { text-align: right; font-weight: 400; color: var(--ink-2); padding: 2px 0; width: 70px; vertical-align: top; }
.st-buyinfo td { padding: 2px 0; color: var(--ink); }
.st-secure { border-top: 1px solid var(--line-2); padding-top: 8px; }

.summary > .st-about { border-top: 1px solid var(--line-2); padding-top: 12px; margin-top: 12px; }

/* نظرات: خلاصه آمازونی */
.sc-rating { display: grid; gap: 10px; border: 0 !important; padding: 0 !important; background: none !important; margin-bottom: 14px; }
.sc-rating-score { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sc-rating-num { font-size: 20px; font-weight: 700; }
.sc-rating-num::after { content: " از ۵"; font-size: 15px; font-weight: 500; }
.sc-rating-stars { color: var(--star); font-size: 18px; letter-spacing: 1px; }
.sc-rating-count { width: 100%; font-size: 13px; color: var(--ink-2); }
.sc-rating-line { display: grid; grid-template-columns: 56px 1fr 34px; align-items: center; gap: 8px; font-size: 13px; }
.sc-rating-label { color: var(--link); }
.sc-rating-track { height: 20px; background: #f0f2f2; border: 1px solid #e3e6e6; border-radius: 4px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(15,17,17,.15); }
.sc-rating-fill { display: block; height: 100%; background: var(--star) !important; border-radius: 0; }
.sc-rating-n { color: var(--link); text-align: left; }

/* ==================================================================
   نسخه ۲.۲ — جزئیات بیشتر آمازون
   ================================================================== */

/* سربرگ: «بازگشت و سفارش‌ها» و انتخاب دسته در جستجو (دسکتاپ) */
.st-orders { display: none; color: #fff; padding: 4px 6px; border: 1px solid transparent; border-radius: 4px; line-height: 1.3; text-decoration: none; }
.st-orders small { display: block; font-size: 11.5px; color: #ddd; }
.st-orders b { font-size: 13px; }
.st-orders:hover { color: #fff; border-color: #fff; text-decoration: none; }
.st-search-cat { display: none; }
@media (min-width: 900px) {
	.st-orders { display: block; }
	.st-search-cat {
		display: block; order: -1; height: 42px; max-width: 150px; border: 0; border-inline-end: 1px solid #cdcdcd;
		border-radius: 0 8px 8px 0; background: #e6e6e6; color: #555; font-size: 12.5px; padding: 0 8px; cursor: pointer;
	}
	.st-search-cat:hover { background: #d4d4d4; color: var(--ink); }
	.st-search-wrap .st-search-cat + .sc-search-input { border-radius: 0; }
}

/* کارت: رنگ‌ها، «بیش از n خرید»، نشان پرفروش‌ترین */
.st-card-colors { display: flex; align-items: center; gap: 5px; margin: 2px 0 1px; }
.st-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--c, #ccc); box-shadow: 0 0 0 1px rgba(0,0,0,.25) inset, 0 0 0 1px #fff; }
.st-dot.is-na { background: #dcdee2; } /* رنگ ناشناخته: خاکستری روشن، نه چهاررنگ */
.st-dot-more { font-size: 12px; color: var(--ink-2); }
.st-bought { font-size: 12.5px; color: var(--ink-2); }
.st-bs {
	display: inline-block; background: #c45500; color: #fff; font-size: 12px; font-weight: 700;
	padding: 2px 8px 2px 12px; line-height: 1.6; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 6px 50%);
}
.st-pdp-badges { display: grid; gap: 4px; margin: 4px 0 2px; }
.st-bs-row { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--link); }

/* تحویل: «سفارش در … آینده» */
.st-dlv-cd { display: block; font-size: 13px; font-weight: 400; color: var(--ink-2); margin-top: 2px; }
.st-dlv-cd::before { content: ""; }
.st-buybox-ship { align-items: flex-start; }
.st-buybox-ship .st-i { margin-top: 3px; }

/* صفحه دسته و جستجو: ستون فیلتر + نتایج */
.st-listing { display: block; }
.st-results { min-width: 0; }
.st-rbar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px;
	padding: 8px 0 10px; border-bottom: 1px solid var(--line-2); margin-bottom: 12px;
}
.st-rbar-count { font-size: 14px; color: var(--ink); }
.st-rbar-q { color: #c45500; }
.st-rbar-tools { display: flex; align-items: center; gap: 8px; }
.st-rbar .woocommerce-ordering { float: none !important; margin: 0 !important; }
.st-rbar .woocommerce-ordering select {
	height: 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--soft); padding: 0 10px;
	font-size: 13px; box-shadow: 0 2px 5px rgba(15,17,17,.08); cursor: pointer;
}
.st-fbtn {
	display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 12px; border: 1px solid var(--line);
	border-radius: 8px; background: #fff; font-size: 13px; cursor: pointer; box-shadow: 0 2px 5px rgba(15,17,17,.08);
}
.st-fbtn .st-i { width: 16px; height: 16px; }
.st-fbtn span { color: var(--link); font-weight: 700; }
.st-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -4px 0 12px; }
.st-chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 16px; font-size: 12.5px;
	border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none;
}
.st-chip.is-on { background: #e7f4f5; border-color: #007185; color: #0f1111; }
.st-chip span { font-size: 15px; line-height: 1; color: var(--ink-2); }
.st-chip:hover { text-decoration: none; color: var(--ink); border-color: var(--ink-2); }
.st-chip-clear { font-size: 12.5px; }

.st-filters { display: none; }
.st-filters.is-open {
	display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 10001; background: #fff;
}
.st-f-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 17px; }
.st-f-head button { background: none; border: 0; padding: 4px; cursor: pointer; }
.st-f-head .st-i { width: 22px; height: 22px; }
.st-f-body { flex: 1; overflow-y: auto; padding: 4px 16px 16px; }
.st-f-foot { padding: 10px 16px; border-top: 1px solid var(--line); }
.st-f-done { width: 100%; height: 44px; border: 0; border-radius: 22px; background: var(--btn-cart); font-weight: 700; cursor: pointer; }
.st-f-sec { padding: 12px 0 6px; border-bottom: 1px solid var(--line-2); }
.st-f-sec:last-child { border-bottom: 0; }
.st-f-sec h3 { font-size: 14px; font-weight: 800; margin: 0 0 6px; }
.st-f-sec ul { list-style: none; margin: 0; padding: 0; }
.st-f-sec li { margin: 0; }
.st-f-cats a, .st-f-cats b { display: block; font-size: 13.5px; padding: 3px 0; color: var(--ink); }
.st-f-cats .is-child a { padding-inline-start: 12px; }
.st-f-cats a:hover { color: var(--link-h); }
.st-f-up { color: var(--ink-2) !important; }
.st-f-link, .st-f-check, .st-f-rate { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 13.5px; color: var(--ink); text-decoration: none; }
.st-f-link:hover, .st-f-check:hover, .st-f-rate:hover { color: var(--link-h); text-decoration: none; }
.st-f-link.is-on, .st-f-rate.is-on { font-weight: 800; }
.st-f-check small { color: var(--ink-2); }
.st-box { width: 16px; height: 16px; flex: 0 0 16px; border: 1px solid #888c8c; border-radius: 3px; background: #fff; box-shadow: 0 1px 2px rgba(15,17,17,.15) inset; }
.st-f-check.is-on .st-box {
	background: #007185 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
	border-color: #007185;
}
.st-f-list.is-long li:nth-child(n+9) { display: none; }
.st-f-more { background: none; border: 0; color: var(--link); font-size: 13px; padding: 4px 0; cursor: pointer; }
.st-f-price { display: flex; gap: 6px; margin-top: 8px; }
.st-f-price input { width: 0; flex: 1; height: 32px; border: 1px solid var(--line); border-radius: 6px; padding: 0 8px; font-size: 13px; }
.st-f-price button { height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; box-shadow: 0 2px 5px rgba(15,17,17,.1); }

@media (min-width: 1000px) {
	.st-listing { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; }
	.st-filters { display: block; position: static; }
	.st-f-head, .st-f-foot { display: none; }
	.st-f-body { padding: 0; overflow: visible; }
	.st-fbtn { display: none; }
	.st-shop ul.products { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1300px) { .st-shop ul.products { grid-template-columns: repeat(4, 1fr); } }
.st-shop .woocommerce-products-header__title { font-size: 20px; margin: 0 0 4px; }

/* صفحه محصول: اشتراک، مقایسه، سابقه بازدید */
.woocommerce-product-gallery { position: relative; }
.st-share {
	position: absolute; top: 8px; inset-inline-end: 8px; z-index: 5; width: 38px; height: 38px; border-radius: 50%;
	border: 0; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.25); display: grid; place-items: center; cursor: pointer;
}
.st-share .st-i { width: 18px; height: 18px; }
.st-toast {
	position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%); z-index: 10002; background: #232f3e; color: #fff;
	padding: 8px 16px; border-radius: 8px; font-size: 13.5px;
}

.st-compare { margin: 28px 0; }
.st-compare h2 { font-size: 20px; margin: 0 0 12px; }
.st-compare-scroll { overflow-x: auto; border: 1px solid var(--line-2); border-radius: 8px; }
.st-compare table { border-collapse: collapse; min-width: 640px; width: 100%; font-size: 13.5px; }
.st-compare th, .st-compare td { padding: 10px 12px; border-bottom: 1px solid var(--line-2); text-align: start; vertical-align: top; }
.st-compare tbody th { font-weight: 700; color: var(--ink); background: var(--soft); width: 150px; }
.st-compare thead td { vertical-align: bottom; width: 22%; }
.st-compare td.is-this { background: #fbfbf4; }
.st-cmp-item { display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
.st-cmp-item:hover { text-decoration: none; color: var(--link-h); }
.st-cmp-img { display: grid; place-items: center; aspect-ratio: 1; background: var(--soft); border-radius: 6px; }
.st-cmp-img img { max-height: 120px; width: auto; mix-blend-mode: multiply; }
.st-cmp-name { font-size: 13px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.st-cmp-name b { color: #c45500; }
.st-cmp-price .price, .st-cmp-price { font-weight: 700; }
.st-cmp-price del { display: block; font-weight: 400; color: var(--ink-2); font-size: 12px; }
.st-compare .st-rating { font-size: 12.5px; }

.st-seen { margin: 24px 0 8px; padding: 0; background: transparent; }
.st-seen-clear { background: none; border: 0; color: var(--link); font-size: 13px; cursor: pointer; }

/* ردیف افقی با فلش در دسکتاپ */
.st-carousel { position: relative; }
.st-car-btn { display: none; }
@media (min-width: 900px) {
	.st-car-btn {
		display: grid; place-items: center; position: absolute; top: 30%; z-index: 3; width: 44px; height: 90px;
		border: 1px solid var(--line); background: rgba(255,255,255,.95); font-size: 30px; line-height: 1; color: var(--ink);
		cursor: pointer; box-shadow: 0 2px 6px rgba(15,17,17,.18); border-radius: 6px; opacity: 0; transition: opacity .15s;
	}
	.st-carousel:hover .st-car-btn, .st-car-btn:focus-visible { opacity: 1; }
	.st-car-btn.is-prev { right: 0; }
	.st-car-btn.is-next { left: 0; }
}

/* پنل «به سبد اضافه شد» */
.woocommerce-message:has(.st-added) { border-inline-start-color: var(--ok); padding: 14px; }
.woocommerce-message:has(.st-added) > .button { display: none; }
.st-added { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; width: 100%; }
.st-added-main { display: flex; align-items: center; gap: 12px; }
.st-added-main img { width: 56px; height: 56px; object-fit: contain; border-radius: 6px; background: var(--soft); }
.st-added-ok { display: flex; align-items: center; gap: 6px; color: var(--ok); font-size: 16px; }
.st-added-ok::before {
	content: ""; width: 20px; height: 20px; border-radius: 50%;
	background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.st-added-sub { display: block; font-size: 13.5px; color: var(--ink); }
.st-added-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.st-added-btns a {
	display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 18px; font-size: 13.5px;
	color: var(--ink); text-decoration: none; border: 1px solid var(--line); background: #fff;
}
.st-added-btns a.st-added-pay { background: var(--btn-cart); border-color: var(--btn-cart); font-weight: 700; }
.st-added-btns a:hover { text-decoration: none; filter: brightness(.96); color: var(--ink); }
@media (max-width: 600px) { .st-added-btns { width: 100%; } .st-added-btns a { flex: 1; justify-content: center; } }

/* بالای سبد خرید */
.st-cart-top { background: #fff; padding: 12px 0 14px; margin-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.st-cart-top-sum { font-size: 17px; margin-bottom: 10px; }
.st-cart-top-sum b { font-size: 20px; }
.st-cart-top-btn {
	display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 22px; background: var(--btn-cart);
	color: var(--ink); font-weight: 700; text-decoration: none;
}
.st-cart-top-btn:hover { background: var(--btn-cart-h); color: var(--ink); text-decoration: none; }
@media (min-width: 900px) { .st-cart-top { display: none; } }

/* کارت «ادامه خرید» در صفحه اصلی */
.st-qcard[hidden] { display: none !important; }

/* نشان‌های روی عکس کارت: پرفروش‌ترین و تخفیف */
.st-badges { position: absolute; top: 8px; right: 8px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.st-badges .st-deal { position: static; }
.st-badges .st-bs { font-size: 11.5px; padding: 1px 7px 1px 11px; }

/* نظرات: خلاصه و نمودار در ستون کنار، دیدگاه‌ها در ستون اصلی (دسکتاپ) */
.woocommerce-Tabs-panel--reviews > .sc-rating::before { content: "نظرات مشتریان"; display: block; font-size: 20px; font-weight: 800; margin-bottom: 6px; }
@media (min-width: 1000px) {
	.woocommerce-tabs .woocommerce-Tabs-panel--reviews { display: grid !important; grid-template-columns: 320px minmax(0, 1fr); gap: 0 48px; align-items: start; }
	.woocommerce-Tabs-panel--reviews > .sc-rating { display: block; position: sticky; top: 130px; }
	.woocommerce-Tabs-panel--reviews > .sc-rating .sc-rating-bars { margin-top: 12px; }
}

/* مقایسه: عکس کوچک‌تر در دسکتاپ */
.st-cmp-img { max-height: 150px; aspect-ratio: auto; height: 130px; }
.st-cmp-img img { max-height: 110px; }

/* سبد خرید موبایل مثل آمازون: عکس کنار، زیرش تعداد با − / +، «حذف» */
@media (max-width: 768px) {
	.woocommerce-cart-form tr.cart_item {
		display: grid !important; grid-template-columns: 104px minmax(0, 1fr); column-gap: 12px;
		grid-template-areas: "img name" "img price" "qty rm"; padding: 14px 0 !important;
	}
	.woocommerce-cart-form tr.cart_item td { padding: 2px 0 !important; }
	.woocommerce-cart-form tr.cart_item td::before { display: none !important; }
	.woocommerce-cart-form td.product-thumbnail { grid-area: img; align-items: flex-start !important; }
	.woocommerce-cart-form td.product-thumbnail img { width: 104px; height: 104px; }
	.woocommerce-cart-form td.product-name { grid-area: name; display: block !important; text-align: start !important; line-height: 1.6; }
	.woocommerce-cart-form td.product-price { grid-area: price; justify-content: flex-start !important; font-weight: 800; font-size: 17px; }
	.woocommerce-cart-form td.product-quantity { grid-area: qty; justify-content: flex-start !important; margin-top: 8px; }
	.woocommerce-cart-form td.product-remove { grid-area: rm; justify-content: flex-start !important; margin-top: 8px; }
	.woocommerce-cart-form td.product-subtotal { display: none !important; }
}
.woocommerce-cart-form td.product-remove a.remove {
	font-size: 0 !important; display: inline-flex; align-items: center; height: 32px; padding: 0 14px;
	border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 2px 5px rgba(15,17,17,.08);
}
.woocommerce-cart-form td.product-remove a.remove::after { content: "حذف"; font-size: 13px; color: var(--ink); }
.st-ci-stock { font-size: 12.5px; color: var(--ok); }
.st-step {
	display: inline-flex; align-items: center; height: 32px; border: 3px solid var(--btn-cart); border-radius: 18px; overflow: hidden; background: #fff;
}
.st-step button { width: 32px; height: 100%; border: 0; background: transparent; font-size: 18px; font-weight: 700; cursor: pointer; line-height: 1; }
.st-step input.qty { width: 38px !important; height: 100%; border: 0 !important; background: transparent !important; text-align: center; padding: 0 !important; font-weight: 700; -moz-appearance: textfield; }
.st-step input.qty::-webkit-outer-spin-button, .st-step input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.st-js .woocommerce-cart-form button[name="update_cart"] { display: none; }

/* ==================================================================
   نسخه ۲.۳ — از گزارش صفحه واقعی آمازون
   ================================================================== */

/* «تعداد: ۱ ▾» */
.st-qty-hidden { display: none !important; }
.st-qty {
	display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 10px; margin: 2px 0 10px;
	background: #f0f2f2; border: 1px solid #d5d9d9; border-radius: 8px; box-shadow: 0 2px 5px rgba(15,17,17,.15);
	font-size: 13px; cursor: pointer;
}
.st-qty:hover { background: #e3e6e6; }
.st-qty select { border: 0; background: transparent; font-size: 13px; font-weight: 700; padding: 0 2px; cursor: pointer; }
.st-qty select:focus { outline: none; }
.st-qty:focus-within { box-shadow: 0 0 0 3px #c8f3fa, 0 2px 5px rgba(15,17,17,.15); border-color: #007185; }

/* مشخصات فنی جمع‌شونده */
.woocommerce-product-attributes.is-collapsed tr:nth-child(n+9) { display: none; }
.st-spec-more {
	display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 0; background: none; border: 0;
	color: var(--link); font-size: 14px; cursor: pointer;
}
.st-spec-more::after { content: "▾"; font-size: 12px; }
.st-spec-more[aria-expanded="true"]::after { content: "▴"; }
.st-spec-more:hover { color: var(--link-h); text-decoration: underline; }

/* دسکتاپ: ستون عمودی عکس‌های کوچک کنار عکس اصلی */
@media (min-width: 1000px) {
	.woocommerce-product-gallery { display: grid !important; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: start; }
	.woocommerce-product-gallery > .flex-viewport, .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper { grid-column: 2; grid-row: 1; }
	.woocommerce-product-gallery .flex-control-thumbs { grid-column: 1; grid-row: 1; flex-direction: column; margin: 0; overflow: visible; }
	.woocommerce-product-gallery .flex-control-thumbs li { flex: 0 0 auto; width: 56px !important; }
	.woocommerce-product-gallery .flex-control-thumbs img { width: 56px; height: 56px; border-radius: 8px; }
	.woocommerce-product-gallery .flex-control-thumbs img:hover { border: 2px solid #e77600; opacity: 1; }
}
/* دکمه اشتراک زیر دکمه بزرگ‌نمایی، نه روی آن */
.st-share { top: 50px; width: 34px; height: 34px; }
.st-qty { align-self: flex-start; width: max-content; max-width: 100%; }

/* ==================================================================
   نسخه ۲.۴ — از روی اسکرین‌شات‌های واقعی آمازون (موبایل و دسکتاپ)
   ================================================================== */

/* --- سربرگ --- */
@media (max-width: 899px) {
	.st-nav { display: none; }
	.st-nav.is-home { display: flex; padding: 2px 8px 8px; background: var(--nav); }
	.st-nav.is-home .st-nav-all { display: none; }
	.st-nav.is-home .st-nav-links a { font-size: 15px; padding: 6px 9px; }
}
.st-cashbar {
	display: flex; align-items: center; gap: 6px; width: 100%; border: 0; background: var(--nav-3); color: #fff;
	padding: 9px 14px; font-size: 13.5px; text-align: start; cursor: pointer;
}
.st-cashbar[hidden] { display: none; }
.st-cashbar::before {
	content: ""; width: 18px; height: 18px; flex: 0 0 18px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Crect x='3' y='6' width='18' height='13' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.st-cashbar::after { content: "⌄"; margin-inline-start: 2px; font-size: 14px; line-height: 1; }
.st-cashbar span { opacity: .85; }
@media (min-width: 900px) { .st-cashbar { display: none !important; } }

/* پیام «اعتبار اقساطی دارید؟» در موبایل مثل پیام تیره آمازون */
@media (max-width: 899px) {
	.st-subbar .sc-ask {
		margin: 0; border-radius: 0; box-shadow: none; border: 0; border-top: 1px solid rgba(255,255,255,.12);
		background: var(--nav-3); color: #fff; padding: 12px 16px 14px; text-align: center;
	}
	.st-subbar .sc-ask h4 { color: #fff; padding: 0; font-size: 15px; }
	.st-subbar .sc-ask p { color: #eef; opacity: .9; }
	.st-subbar .sc-ask-x { color: #fff; }
	.st-subbar .sc-ask-o { justify-content: center; }
}
.st-subbar .sc-ask-o button {
	border-radius: 20px !important; height: 34px; padding: 0 16px !important; background: #fff !important;
	color: var(--ink) !important; border: 1px solid #adb1b8 !important; font-weight: 500;
}
.st-subbar .sc-ask-o button.is-primary { background: var(--btn-cart) !important; border-color: var(--btn-cart) !important; }

/* --- صفحه اصلی: پس‌زمینه سفید، کارت‌های گرد --- */
body.home { background: #fff; }
.st-promos { padding: 12px 0 4px; }
.st-promo-track {
	display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 16px 8px;
	scrollbar-width: none; scroll-padding: 0 16px;
}
.st-promo-track::-webkit-scrollbar { display: none; }
.st-promo {
	position: relative; flex: 0 0 84%; height: 440px; border-radius: 16px; background: var(--bg, #e9e4dc);
	padding: 22px 20px; overflow: hidden; scroll-snap-align: start; color: var(--ink); text-decoration: none;
	display: flex; flex-direction: column; gap: 8px;
}
.st-promo:hover { text-decoration: none; color: var(--ink); }
.st-promo-h { position: relative; z-index: 1; font-size: 30px; font-weight: 800; line-height: 1.3; }
.st-promo-p { position: relative; z-index: 1; font-size: 14.5px; color: #333; max-width: 90%; }
.st-promo-btn {
	position: relative; z-index: 1; align-self: flex-start; background: var(--btn-cart); border-radius: 20px;
	padding: 8px 18px; font-weight: 700; font-size: 14px;
}
.st-promo-img { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); max-width: 78%; max-height: 58%; object-fit: contain; mix-blend-mode: multiply; }
.st-promo-img.is-cover { inset: 0; transform: none; max-width: none; max-height: none; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; opacity: .35; }
.st-signin-hint { display: block; padding: 10px 16px 0; font-size: 22px; font-weight: 800; color: #555; }
.st-signin-hint:hover { color: var(--link-h); text-decoration: none; }

.st-home-in { margin: 0 auto !important; padding: 16px 16px 0 !important; gap: 30px !important; }
.st-cards { grid-template-columns: 1fr !important; gap: 30px !important; }
.st-qcard, .st-rowcard { background: transparent !important; padding: 0 !important; border: 0; }
.st-qcard h2, .st-rowcard-head h2 { font-size: 23px; font-weight: 800; margin: 0 0 12px; line-height: 1.35; }
.st-qcard h2 a, .st-rowcard-head h2 a { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); text-decoration: none; }
.st-qcard h2 a:hover, .st-rowcard-head h2 a:hover { color: var(--link-h); }
.st-chev { margin-inline-start: auto; font-size: 30px; font-weight: 400; line-height: .9; }
.st-quad { gap: 14px 12px !important; }
.st-quad-img { border-radius: 12px; background: var(--soft); }
.st-quad-cap { font-size: 15px !important; color: var(--ink); -webkit-line-clamp: 2 !important; }
.st-qcard-lt { border: 1px solid var(--line) !important; border-radius: 12px; padding: 16px !important; }
.st-ri-img { border-radius: 12px; overflow: hidden; }
.st-signin { background: var(--soft) !important; border-radius: 12px; }
@media (min-width: 900px) {
	body.home, body.page-template-default.home { background: #f0f2f2; }
	.st-promo { flex-basis: calc(25% - 9px); height: 420px; }
	.st-promo-track { padding: 0 20px 8px; }
	.st-home-in { padding: 20px 20px 0 !important; gap: 20px !important; }
	.st-cards { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px !important; }
	.st-qcard, .st-rowcard { background: #fff !important; border: 1px solid var(--line-2) !important; border-radius: 12px; padding: 16px !important; }
	.st-qcard h2, .st-rowcard-head h2 { font-size: 20px; }
	.st-quad-cap { font-size: 13px !important; }
	.st-chev { font-size: 24px; }
}
@media (min-width: 1300px) { .st-cards { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }

/* --- کشو --- */
.st-dv-cats.is-folded > li:nth-child(n+5):not(.st-dv-all) { display: none; }
.st-dv-more { display: block; width: 100%; text-align: start; background: none; border: 0; padding: 12px 22px; font-size: 14.5px; cursor: pointer; color: var(--ink); }
.st-dv-more:hover { background: #eaeded; }

/* --- پاورقی --- */
.st-backtop span { display: block; font-size: 10px; line-height: 1; margin-bottom: 4px; }

/* --- نتایج جستجو و دسته (موبایل) --- */
.st-fbtn { display: none !important; }
.st-qchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 12px; margin: 0 -12px 4px; padding-inline: 12px; }
.st-qchips::-webkit-scrollbar { display: none; }
.st-qchip {
	flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 14px; border-radius: 18px;
	border: 1px solid #adb1b8; background: #fff; color: var(--ink); font-size: 14px; white-space: nowrap; text-decoration: none; cursor: pointer;
}
.st-qchip:hover { text-decoration: none; color: var(--ink); background: var(--soft); }
.st-qchip.is-on { border: 2px solid #2162a1; background: #edf5ff; }
.st-qchip.is-icon { padding: 0 22px; }
.st-qchip .st-i { width: 20px; height: 20px; }
.st-qchip .st-stars { width: 70px; }
@media (min-width: 1000px) { .st-qchips { display: none; } }

@media (max-width: 699px) {
	.st-shop ul.products li.product {
		grid-template-columns: 42% 1fr; gap: 0; padding: 0; margin-bottom: 10px; border: 1px solid #e3e6e6; border-radius: 8px; overflow: hidden; background: #fff;
	}
	.st-shop ul.products li.product .st-card-media { align-self: stretch; border-radius: 0; display: flex; align-items: center; }
	.st-shop ul.products li.product .st-card-media > a { width: 100%; }
	.st-shop ul.products li.product .st-card-body { padding: 10px 12px 12px; }
}
.st-card-media { position: relative; }
.st-card-brand { color: var(--ink) !important; font-size: 14px !important; font-weight: 700; }
ul.products li.product .woocommerce-loop-product__title { font-size: 15px; font-weight: 400; }
.st-heart {
	position: absolute; bottom: 8px; inset-inline-end: 8px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
	border: 0; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.22); display: grid; place-items: center; cursor: pointer; padding: 0;
}
.st-heart svg { width: 21px; height: 21px; fill: none; stroke: var(--ink); stroke-width: 1.8; }
.st-heart.is-on svg { fill: #cc0c39; stroke: #cc0c39; }
.st-card-colors { display: block; margin: 2px 0; }
.st-cc-label { display: block; font-size: 13.5px; color: var(--ink-2); }
.st-cc-label b { color: var(--ink); }
.st-cc-dots { display: flex; align-items: center; gap: 9px; margin-top: 6px; }
.st-card-colors .st-dot { width: 22px; height: 22px; }
.st-card-colors .st-dot.is-on { box-shadow: 0 0 0 1px rgba(0,0,0,.2) inset, 0 0 0 2px #fff, 0 0 0 3.5px #111; }
ul.products li.product .button.product_type_variable {
	background: #fff !important; border: 1px solid #888c8c !important; color: var(--ink) !important; box-shadow: 0 2px 5px rgba(213,217,217,.5);
}
@media (max-width: 699px) {
	.st-shop ul.products li.product .button { width: 100%; justify-content: center; text-align: center; border-radius: 20px; }
}

/* --- صفحه محصول --- */
.st-pdp-top-title { color: var(--ink-2) !important; font-size: 15px !important; font-weight: 400 !important; line-height: 1.6; }
@media (min-width: 1000px) {
	.summary .product_title { font-size: 24px !important; font-weight: 400 !important; line-height: 1.4 !important; margin-bottom: 2px !important; }
	.summary .st-pdp-brand { display: block; font-size: 14px; margin-bottom: 2px; }
}
.st-gal-acts { position: absolute; z-index: 6; bottom: -2px; inset-inline-end: 6px; display: flex; align-items: center; gap: 12px; }
.st-gal-acts .st-heart.is-plain, .st-gal-acts .st-share {
	position: static; width: 34px; height: 34px; background: transparent; box-shadow: none; border-radius: 0;
}
.st-gal-acts .st-heart.is-plain svg { width: 27px; height: 27px; }
.st-gal-acts .st-share .st-i { width: 24px; height: 24px; }
@media (min-width: 1000px) {
	.st-gal-acts { top: 50px; bottom: auto; inset-inline-end: 8px; }
	.st-gal-acts .st-heart.is-plain { display: none; }
	.st-gal-acts .st-share { background: #fff; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
	.st-gal-acts .st-share .st-i { width: 18px; height: 18px; }
}
.st-pchips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 10px -12px 6px; padding: 0 12px; }
.st-pchips::-webkit-scrollbar { display: none; }
.st-pchip {
	flex: 0 0 auto; height: 36px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 18px;
	background: #d6e7fb; color: #0f3f6e; font-size: 14px; white-space: nowrap; text-decoration: none;
}
.st-pchip.is-outline { background: #fff; border: 1.5px solid #2162a1; color: #2162a1; }
.st-pchip:hover { text-decoration: none; filter: brightness(.97); }
@media (min-width: 1000px) { .st-pchips { display: none; } }

/* گزینه‌ها: «رنگ: مشکی»، کاشی با قیمت، انتخاب با حاشیه آبی تیره */
.variations tr:has(.st-swatch-wrap) th, .variations tr:has(.st-swatch-wrap) th.label { display: none; }
.st-swatch-now { font-size: 14.5px !important; color: var(--ink) !important; margin: 4px 0 8px !important; }
.st-swatch-now b { font-weight: 700; }
.st-swatch { border-radius: 10px !important; border: 1px solid #8d9096 !important; background: #fff; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 76px; }
.st-swatch.is-on { border: 2px solid #2162a1 !important; background: #edf5ff !important; }
.st-sw-price { display: block; font-size: 12px; color: var(--ink); line-height: 1.4; }
.st-sw-price del, .st-sw-price .screen-reader-text { display: none; }
.st-sw-price .amount, .st-sw-price .sc-p { font-size: 12px !important; font-weight: 400 !important; }
.st-sw-price.is-out { color: var(--ink-2); }

/* جدول کوتاه مشخصات (Top highlights) */
.st-keyspecs { margin: 6px 0 10px; }
.st-keyspecs table { border-collapse: collapse; width: 100%; font-size: 14px; }
.st-keyspecs th { text-align: start; font-weight: 700; padding: 4px 0 4px 12px; width: 42%; vertical-align: top; }
.st-keyspecs td { padding: 4px 0; vertical-align: top; }
.st-keyspecs.is-folded tr:nth-child(n+6) { display: none; }
.st-seemore { background: none; border: 0; padding: 4px 0; color: var(--link); font-size: 14px; cursor: pointer; }
.st-seemore::before { content: "⌄ "; }
.st-seemore:hover { color: var(--link-h); text-decoration: underline; }
.st-about-more { display: inline-block; margin: 4px 0 8px; font-size: 13.5px; }

/* مشخصات فنی ساده مثل Product information */
.woocommerce-product-attributes tr { border: 0 !important; }
.woocommerce-product-attributes th { background: transparent !important; font-weight: 700 !important; width: 40%; padding: 6px 0 6px 12px !important; border: 0 !important; }
.woocommerce-product-attributes td { padding: 6px 0 !important; }

/* ذخیره این کالا */
.st-save { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); }
.st-save-h { display: block; font-size: 14.5px; margin-bottom: 8px; }
.st-addlist {
	width: 100%; height: 38px; border-radius: 19px; border: 1px solid #888c8c; background: #fff; color: var(--ink);
	font-size: 14px; cursor: pointer; box-shadow: 0 2px 5px rgba(213,217,217,.5);
}
.st-addlist:hover { background: var(--soft); }
.st-addlist.is-on { border-color: var(--ok); color: var(--ok); }

/* موبایل: «جزئیات کالا» با بخش‌های باز و بسته */
.st-pd-title { font-size: 24px; font-weight: 800; margin: 20px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.st-acc-h { display: flex; align-items: center; justify-content: space-between; cursor: pointer; margin: 0 !important; padding: 14px 0; font-size: 19px !important; }
.st-acc-h::after { content: "⌃"; font-size: 20px; line-height: 1; }
.woocommerce-Tabs-panel.is-closed .st-acc-h::after { content: "⌄"; }
.woocommerce-Tabs-panel.is-closed > *:not(.st-acc-h) { display: none !important; }

/* کالاهای مشابه در موبایل: شبکه دوستونی */
@media (max-width: 699px) {
	.related ul.products { display: grid !important; grid-template-columns: 1fr 1fr; gap: 16px 12px; overflow: visible !important; }
	.related ul.products > li.product { width: auto !important; flex: none !important; }
	.related ul.products > li.product:nth-child(n+7) { display: none; }
}
.related > h2, .upsells > h2 { font-size: 21px; font-weight: 800; }

/* سبد خالی */
.st-cart-empty { display: flex; align-items: center; gap: 16px; padding: 20px 0; }
.st-cart-empty-art { width: 130px; flex: 0 0 130px; }
.st-cart-empty h2 { font-size: 22px; font-weight: 800; margin: 0 0 2px; }
.st-cart-empty p { margin: 0 0 6px; color: var(--ink-2); font-size: 16px; }
.return-to-shop .button {
	display: flex !important; justify-content: center; align-items: center; width: 100%; height: 48px; border-radius: 24px !important;
	background: var(--btn-cart) !important; color: var(--ink) !important; font-size: 16px; border: 0;
}
@media (min-width: 900px) { .return-to-shop .button { width: 320px; } }

/* فهرست علاقه‌مندی‌ها */
.st-toast a { color: #fff; text-decoration: underline; }
.st-listsheet { position: fixed; inset: 0; z-index: 10003; background: rgba(0,0,0,.55); display: flex; align-items: flex-end; justify-content: center; }
.st-ls-panel { background: #fff; width: 100%; max-height: 86vh; overflow-y: auto; border-radius: 16px 16px 0 0; padding: 0 16px 20px; }
.st-ls-head { position: sticky; top: 0; background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line-2); margin-bottom: 12px; }
.st-ls-head button { background: none; border: 0; font-size: 20px; cursor: pointer; }
.st-ls-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.st-ls-item a { display: flex; flex-direction: column; gap: 6px; color: var(--ink); text-decoration: none; }
.st-ls-img { display: grid; place-items: center; aspect-ratio: 1; background: var(--soft); border-radius: 12px; }
.st-ls-img img { width: 85%; height: 85%; object-fit: contain; mix-blend-mode: multiply; }
.st-ls-t { font-size: 13.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-ls-rm { margin-top: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; height: 30px; padding: 0 14px; font-size: 13px; cursor: pointer; }
.st-ls-empty { text-align: center; color: var(--ink-2); padding: 30px 0; }
@media (min-width: 900px) {
	.st-listsheet { align-items: center; }
	.st-ls-panel { width: min(820px, 92vw); border-radius: 12px; }
	.st-ls-grid { grid-template-columns: repeat(4, 1fr); }
}

/* قیمت گزینه فقط یک بار، بالای صفحه (همان که با انتخاب رنگ عوض می‌شود) */
.single_variation_wrap .woocommerce-variation-price { display: none !important; }

/* دایره‌های رنگ کارت: قابل کلیک */
.st-card-colors button.st-dot { border: 0; padding: 0; cursor: pointer; }
.st-card-colors .st-dot.is-out { opacity: .45; }
a.st-dot-more { font-size: 12.5px; color: var(--ink-2); }
li.product.st-color-out .price { opacity: .5; }

/* رنگ و قیمت جابه‌جاشده داخل جعبه خرید موبایل */
.st-price-row.st-moved { margin: 10px 0 8px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.sc-ltbox.st-moved { margin: 0 0 10px; }

/* ---------- نسخه ۲.۵ ---------- */
/* قیمت نقدی در حالت اقساطی: واضح، زیر قیمت اصلی */
.st-cashline { margin: 4px 0 2px; font-size: 15px; font-weight: 600; color: var(--ink); }
.st-cashline .woocommerce-Price-amount { font-weight: 800; }
.st-cashline[hidden] { display: none !important; }
.sc-card-lt-line:not([data-mode="0"]) { color: var(--ink) !important; font-size: 13.5px; font-weight: 600; margin-top: 2px; }
.sc-card-lt-line:not([data-mode="0"]) .woocommerce-Price-amount { font-weight: 800; }

/* تحویل بر اساس منطقه */
.st-buybox-ship.is-region { align-items: flex-start; }
.st-rg { display: grid; gap: 6px; flex: 1; }
.st-rg-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.st-rg-l { font-weight: 400 !important; color: var(--ink-2); font-size: 13px; min-width: 78px; }
.st-rg-row .st-dlv { font-weight: 700; color: var(--ok); }
.st-rg-row + .st-rg-row .st-dlv { color: var(--ink); }
.st-rg-row .st-dlv-cd { flex-basis: 100%; margin-inline-start: 86px; margin-top: 0; }
.st-card-ship.is-region span { color: var(--ink); }

/* سبد خرید دسکتاپ: پیام‌ها تمام‌عرض، جدول سمت راست، جمع کل کنارش */
@media (min-width: 769px) {
	.woocommerce-cart .st-content > .woocommerce > :not(.woocommerce-cart-form):not(.cart-collaterals) { grid-column: 1 / -1; }
	.woocommerce-cart .st-content > .woocommerce > .woocommerce-cart-form { grid-column: 1; grid-row: auto; }
	.woocommerce-cart-form td.product-thumbnail { width: 110px; }
	.woocommerce-cart-form td.product-thumbnail img { width: 96px; height: 96px; object-fit: contain; }
	.woocommerce-cart-form td.product-name { min-width: 220px; line-height: 1.7; }
}
.st-price-row.st-moved + .st-cashline { margin-top: -6px; margin-bottom: 10px; }

/* ۲.۶: کالای کاملاً ناموجود */
.st-oos-msg { font-size: 20px; font-weight: 700; color: #b12704; margin: 4px 0 6px; }
.st-oos .st-buybox-price, .st-oos .st-cashline, .st-oos .sc-ltbox, .st-oos .st-off,
.st-oos form.cart .quantity, .st-oos form.cart .single_add_to_cart_button, .st-oos .st-buy-now,
.st-oos .woocommerce-variation-add-to-cart, .st-oos .single_variation .price, .st-oos .stock.out-of-stock { display: none !important; }
.st-oos .st-buybox::before { content: "این کالا الان موجود نیست."; display: block; font-size: 18px; font-weight: 700; color: #b12704; margin: 0 0 10px; }
@media (max-width: 999px) { .st-oos .st-buybox::before { display: none; } }
/* ناموجود: «تحویل تا…» و شمارش معکوس نمیاد؛ دکمه‌ی «خبرم کن» با زنگوله و فرم فقط با موبایل. */
.st-oos .st-buybox-ship, .st-oos .st-bb-loc, .st-oos .st-dlv-cd, .st-oos .st-pdp-ship { display: none !important; }
.st-oos .sc-alert.is-stock { margin: 4px 0 12px; }
.st-oos .sc-alert.is-stock .sc-alert-open.is-main { font-weight: 700; font-size: 15px; padding: 12px 14px; }
.st-oos .sc-alert.is-stock .sc-alert-open.is-main::before { content: "🔔"; margin-inline-end: 6px; }
.st-oos .sc-alert.is-stock .sc-alert-box { background: #f0f8fa; border-color: #c7e1e8; }
.st-oos .sc-alert.is-stock .sc-alert-e { display: none; }
.st-oos .sc-alert.is-stock .sc-alert-send { padding: 11px; font-size: 15px; }

/* ---------- ۲.۷: صفحه ورود بخش (مثل آمازون) ---------- */
.st-dep { max-width: 1500px; margin: 0 auto; padding: 10px 16px 30px; }
.st-dep-crumb { font-size: 12.5px; color: var(--ink-2); margin: 4px 0 2px; }
.st-dep-crumb a { color: var(--link); }
.st-dep-h { font-size: 24px; margin: 0 0 12px; }
.st-dep h2 { font-size: 19px; margin: 0 0 10px; }
.st-dep-circles, .st-dep-prices, .st-dep-brands { background: #fff; border-radius: 8px; padding: 14px; margin: 0 0 14px; }
.st-dep-cwrap { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.st-dep-cwrap::-webkit-scrollbar { display: none; }
.st-dep-c { flex: 0 0 96px; text-align: center; color: var(--ink) !important; text-decoration: none !important; }
.st-dep-ci { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 50%; background: #f0f2f2; overflow: hidden; margin: 0 auto 6px; }
.st-dep-ci img { width: 72px; height: 72px; object-fit: contain; mix-blend-mode: multiply; }
.st-dep-cn { display: block; font-size: 13px; line-height: 1.5; }
.st-dep-pwrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.st-dep-p { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 14px 8px; border-radius: 8px; background: #edfdff; border: 1px solid #c7e0f4; color: var(--ink) !important; text-decoration: none !important; }
.st-dep-p b { font-size: 24px; line-height: 1.3; }
.st-dep-p small { font-size: 12px; color: var(--ink-2); }
.st-dep-p.is-all { background: #f7f7f7; border-color: var(--line); }
.st-dep-bwrap { display: flex; flex-wrap: wrap; gap: 8px; }
.st-dep-b { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink) !important; text-decoration: none !important; font-size: 14px; }
.st-dep-b:hover { border-color: #a2a6a6; background: #f7fafa; }
.st-dep .st-rowcard { margin: 0 0 14px; }
.st-dep-all { text-align: center; margin: 18px 0 0; }
@media (min-width: 1000px) {
	.st-dep { padding: 14px 24px 40px; }
	.st-dep-h { font-size: 28px; }
	.st-dep-cwrap { gap: 22px; }
	.st-dep-c { flex-basis: 130px; }
	.st-dep-ci { width: 130px; height: 130px; }
	.st-dep-ci img { width: 96px; height: 96px; }
	.st-dep-pwrap { grid-template-columns: repeat(4, 1fr); }
}

/* ==================================================================
 * ۲.۸ — بقیه الگوهای آمازون
 * ================================================================== */

/* «قیمت قبل:» روی کارت و جعبه خرید هم (مثل List: آمازون) */
ul.products li.product .price del::before, .st-buybox-price del::before, .st-ri-price del::before {
	content: "قیمت قبل: "; text-decoration: none; display: inline-block; margin-inline-end: 3px;
}

/* «انتخاب ما» */
.st-pick {
	display: inline-block; background: #232f3e; color: #fff; font-size: 11.5px; font-weight: 600;
	padding: 2px 8px; line-height: 1.6; border-radius: 2px;
}
.st-pick b { color: #ff9900; font-weight: 800; }
.st-badges .st-pick { font-size: 11px; padding: 1px 7px; }

/* کمترین قیمت ۳۰ روز */
.st-low30 { display: inline-block; color: var(--deal); font-size: 12.5px; font-weight: 700; margin: 2px 0 4px; }
.st-low30[hidden] { display: none; }
.st-low30.is-card { font-size: 11.5px; margin: 0; }

/* پرچم رتبه */
.st-ri-img { position: relative; }
.st-rank {
	position: absolute; top: 0; right: 0; z-index: 2; background: #e47911; color: #fff; font-size: 12px; font-weight: 800;
	padding: 1px 8px 1px 12px; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 6px 50%);
}

/* نوار اصلی: «تخفیف‌های امروز» و «پرفروش‌ترین‌ها» */
.st-nav-links a.is-strong { font-weight: 700; }

/* نوار زیرمنوی هر بخش */
.st-dnav { background: #fff; border-bottom: 1px solid var(--line-2); box-shadow: 0 1px 2px rgba(15,17,17,.06); }
.st-dnav-in {
	max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 2px; overflow-x: auto;
	scrollbar-width: none; padding: 0 8px; white-space: nowrap;
}
.st-dnav-in::-webkit-scrollbar { display: none; }
.st-dnav a { color: var(--ink); font-size: 13.5px; padding: 9px 9px; border-bottom: 2px solid transparent; }
.st-dnav a:hover { text-decoration: none; border-bottom-color: var(--accent); }
.st-dnav a.is-on { border-bottom-color: var(--accent); font-weight: 700; }
.st-dnav a.st-dnav-h { font-weight: 800; font-size: 14.5px; padding-inline-end: 14px; border-inline-end: 1px solid var(--line-2); margin-inline-end: 4px; }

/* مرتب‌سازی با برچسب */
.st-sort { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); }

/* اسلایدر قیمت */
.st-range { --a: 0%; --b: 100%; margin: 8px 0 10px; grid-column: 1 / -1; width: 100%; }
.st-range-vals { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.st-range-track { position: relative; height: 22px; direction: ltr; }
.st-range-track::before, .st-range-track::after { content: ""; position: absolute; top: 9px; height: 4px; border-radius: 4px; }
.st-range-track::before { left: 0; right: 0; background: #d5d9d9; }
.st-range-track::after { left: var(--a); right: calc(100% - var(--b)); background: #007185; }
.st-range input[type=range] {
	position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; z-index: 2;
}
.st-range input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid #888c8c; box-shadow: 0 1px 3px rgba(0,0,0,.3); cursor: pointer;
}
.st-range input[type=range]::-moz-range-thumb {
	pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 1px solid #888c8c; box-shadow: 0 1px 3px rgba(0,0,0,.3); cursor: pointer;
}
.st-f-price { flex-wrap: wrap; }

/* جستجوهای مرتبط و «پیدا نشد» */
.st-related { background: #fff; padding: 14px 12px; margin: 12px 0; }
.st-related h2 { font-size: 17px; font-weight: 800; margin: 0 0 10px; }
.st-related-in { display: flex; flex-wrap: wrap; gap: 8px; }
.st-related-in a {
	display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 100px;
	padding: 6px 14px; color: var(--ink); font-size: 13.5px; background: #fff;
}
.st-related-in a:hover { background: var(--soft); text-decoration: none; }
.st-noresults { background: #fff; padding: 16px; margin: 0 0 12px; }
.st-noresults h2 { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.st-noresults h2 b { color: var(--link-h); }
.st-noresults ul { margin: 0; padding-inline-start: 20px; color: var(--ink-2); font-size: 14px; line-height: 2; }
.st-noresults p { margin: 8px 0 0; }

/* صفحه «به سبد اضافه شد» */
.st-added-page { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.st-ad-box { background: #fff; padding: 16px; display: grid; gap: 16px; }
.st-ad-item { display: flex; align-items: center; gap: 14px; }
.st-ad-item img { width: 100px; height: 100px; object-fit: contain; background: var(--soft); border-radius: 4px; mix-blend-mode: multiply; flex: 0 0 100px; }
.st-ad-ok { display: flex; align-items: center; gap: 8px; color: var(--ok); font-size: 20px; font-weight: 800; margin: 0 0 4px; }
.st-ad-ok::before {
	content: "✓"; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%;
	background: var(--ok); color: #fff; font-size: 14px;
}
.st-ad-name { font-size: 14px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-ad-var { font-size: 13px; color: var(--ink-2); }
.st-ad-side { display: grid; gap: 8px; align-content: start; }
.st-ad-sum { font-size: 16px; }
.st-ad-sum b { color: var(--ink); }
.st-ad-pay, .st-ad-cart {
	display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 100px; font-size: 14px; color: var(--ink);
}
.st-ad-pay { background: var(--btn-cart); border: 1px solid #fcd200; font-weight: 700; }
.st-ad-cart { background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 5px rgba(213,217,217,.5); }
.st-ad-pay:hover, .st-ad-cart:hover { filter: brightness(.96); text-decoration: none; color: var(--ink); }
.st-ad-back { font-size: 13px; text-align: center; }
@media (min-width: 900px) {
	.st-ad-box { grid-template-columns: 1fr 300px; align-items: center; padding: 20px 24px; }
	.st-ad-side { border-inline-start: 1px solid var(--line-2); padding-inline-start: 24px; }
}

/* سبد: «حذف | ذخیره برای بعد» و فهرست ذخیره‌شده‌ها */
.st-ci-acts { display: flex; gap: 8px; align-items: center; font-size: 12.5px; margin-top: 6px; color: var(--line); }
.st-ci-acts a, .woocommerce-cart-form .st-ci-acts a { color: var(--link) !important; font-weight: 400 !important; font-size: 12.5px !important; }
.st-sfl { background: #fff; padding: 14px 12px; margin: 12px 0; }
.st-sfl h2 { font-size: 18px; font-weight: 800; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.st-sfl-list { display: grid; gap: 12px; }
.st-sfl-item { display: flex; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.st-sfl-item:last-child { border-bottom: 0; padding-bottom: 0; }
.st-sfl-img { flex: 0 0 96px; aspect-ratio: 1; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.st-sfl-img img { width: 88%; height: 88%; object-fit: contain; mix-blend-mode: multiply; }
.st-sfl-body { min-width: 0; display: grid; gap: 3px; align-content: start; }
.st-sfl-t { color: var(--ink); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-sfl-var { font-size: 12.5px; color: var(--ink-2); }
.st-sfl-price { font-size: 16px; font-weight: 700; }
.st-sfl-price del { display: none; }
.st-sfl-price .sc-p[hidden] { display: none; }
.st-sfl-out { color: var(--deal); font-size: 13px; }
.st-sfl-acts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.st-sfl-acts a {
	display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 100px;
	font-size: 12.5px; color: var(--ink); background: #fff; box-shadow: 0 2px 5px rgba(213,217,217,.5);
}
.st-sfl-acts a.st-sfl-move { background: var(--btn-cart); border-color: #fcd200; }
.st-sfl-acts a:hover { text-decoration: none; filter: brightness(.96); }
@media (min-width: 900px) { .st-sfl-list { grid-template-columns: repeat(4, 1fr); } .st-sfl-item { flex-direction: column; border-bottom: 0; } .st-sfl-img { flex: none; width: 100%; } }

/* صفحه پرفروش‌ترین‌ها */
.st-is-best .st-page-title, .st-is-best .entry-title { display: none; }
.st-best-head { background: #fff; padding: 14px 12px; margin-bottom: 12px; }
.st-best-head h1 { font-size: 24px; font-weight: 800; margin: 0; }
.st-best-head p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.st-best-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.st-best { min-width: 0; }
.st-best-nav { background: #fff; padding: 12px; }
.st-best-nav h2 { font-size: 15px; font-weight: 800; margin: 0 0 6px; }
.st-best-nav ul { list-style: none; margin: 0; padding: 0; }
.st-best-nav ul ul { padding-inline-start: 14px; }
.st-best-nav a { display: block; padding: 3px 0; color: var(--ink); font-size: 14px; }
.st-best-nav a.is-on { font-weight: 800; }
.st-best-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.st-best-h { font-size: 18px; font-weight: 800; margin: 0; background: #fff; padding: 12px; }
.st-best-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 10px; background: #fff; padding: 12px; }
.st-best-grid .st-ri { flex: none; }
@media (max-width: 899px) {
	.st-best-nav ul { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
	.st-best-nav ul ul { display: none; }
	.st-best-nav a { white-space: nowrap; border: 1px solid var(--line); border-radius: 100px; padding: 4px 12px; }
	.st-best-nav a.is-on { border-color: var(--ink); }
	.st-best-nav h2 { display: none; }
}
@media (min-width: 700px) { .st-best-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) { .st-best-wrap { grid-template-columns: 230px minmax(0, 1fr); align-items: start; } }
@media (min-width: 1200px) { .st-best-grid { grid-template-columns: repeat(5, 1fr); } }

/* بخش کاشی‌دار (لوازم خانگی) */
.st-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 12px 0; }
.st-tile { background: #fff; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; padding: 10px; }
.st-tile:hover { text-decoration: none; color: var(--link-h); }
.st-tile-img { aspect-ratio: 1; background: var(--soft); display: flex; align-items: center; justify-content: center; }
.st-tile-img img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.st-tile-n { font-size: 14.5px; font-weight: 700; text-align: center; padding: 8px 4px 2px; }
@media (min-width: 700px) { .st-tiles { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .st-tiles { grid-template-columns: repeat(4, 1fr); } }

/* «حساب من» کاشی‌دار */
.st-acc-dash .woocommerce-MyAccount-navigation { display: none; }
.st-acc-dash .woocommerce-MyAccount-content { width: 100%; float: none; }
.st-acc-head h2 { font-size: 26px; font-weight: 500; margin: 0; }
.st-acc-head p { margin: 2px 0 14px; color: var(--ink-2); }
.st-acc-tiles { display: grid; gap: 12px; }
.st-acc-tile {
	display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); border-radius: 8px; padding: 14px 16px;
	color: var(--ink); background: #fff;
}
.st-acc-tile:hover { background: var(--soft); text-decoration: none; color: var(--ink); }
.st-acc-ic { flex: 0 0 44px; height: 44px; border-radius: 50%; background: #e7f4f5; display: flex; align-items: center; justify-content: center; }
.st-acc-ic .st-i { width: 24px; height: 24px; stroke: #007185; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.st-acc-tile b { display: block; font-size: 16px; font-weight: 500; }
.st-acc-tile small { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.6; }
@media (min-width: 700px) { .st-acc-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .st-acc-tiles { grid-template-columns: repeat(3, 1fr); } }

/* ۴۰۴ */
.st-404-box { background: #fff; padding: 20px 16px; display: grid; gap: 14px; justify-items: center; text-align: center; margin-bottom: 12px; }
.st-404-art { width: 180px; }
.st-404-h { font-size: 32px; font-weight: 800; margin: 0; color: #c45500; }
.st-404-p { margin: 4px 0 12px; color: var(--ink); font-size: 15px; max-width: 520px; }
.st-404-search { display: flex; max-width: 460px; margin: 0 auto 10px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.st-404-search input { flex: 1; border: 0; padding: 10px 12px; font: inherit; min-width: 0; }
.st-404-search button { border: 0; background: var(--search-btn); padding: 0 16px; font: inherit; font-weight: 700; cursor: pointer; }
@media (min-width: 800px) { .st-404-box { grid-template-columns: 220px 1fr; text-align: start; justify-items: start; padding: 32px; } .st-404-art { width: 220px; } .st-404-search { margin-inline: 0; } }

/* ==================================================================
 * ۲.۹
 * ================================================================== */

/* خط مشخصات زیر اسم کارت */
.st-card-feat { font-size: 12.3px; color: var(--ink-2); line-height: 1.6; margin-top: -1px; }

/* دکمه و شمارنده کارت */
a.st-add.is-disabled { pointer-events: none; opacity: .55; }
.st-card-body a.added_to_cart { display: none !important; }
.st-step {
	display: inline-flex; align-items: center; justify-content: space-between; gap: 4px; min-width: 116px; height: 34px;
	border: 3px solid var(--btn-cart); border-radius: 100px; background: #fff; padding: 0 4px; align-self: flex-start;
}
.st-step button { width: 30px; height: 26px; border: 0; background: none; font-size: 20px; line-height: 1; cursor: pointer; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.st-step button svg { width: 17px; height: 17px; }
.st-step span { font-weight: 700; font-size: 15px; min-width: 20px; text-align: center; }
.st-step.is-busy { opacity: .55; pointer-events: none; }

/* «ارسال به …» */
.st-loc {
	display: flex; align-items: center; gap: 6px; width: 100%; background: var(--nav-3); border: 0; border-bottom: 1px solid rgba(255,255,255,.12);
	color: #fff; font: inherit; font-size: 13.5px; padding: 8px 14px; cursor: pointer; text-align: start;
}
.st-loc::after { content: "⌄"; font-size: 14px; line-height: 1; }
@media (min-width: 900px) { .st-loc { background: #fff; color: var(--ink); border-bottom: 1px solid var(--line-2); padding: 6px max(16px, calc((100% - var(--wrap)) / 2 + 12px)); font-size: 13px; } .st-loc .st-i { stroke: var(--ink); } }
.st-loc .st-i { width: 17px; height: 17px; flex: 0 0 17px; stroke: #fff; fill: none; stroke-width: 1.8; }
.st-loc b { font-weight: 700; }
.st-locsheet { position: fixed; inset: 0; z-index: 10002; background: rgba(0,0,0,.55); display: flex; align-items: flex-end; justify-content: center; }
.st-loc-panel { background: #fff; width: 100%; max-width: 520px; max-height: 85vh; overflow: auto; border-radius: 14px 14px 0 0; padding: 14px 16px 20px; }
.st-loc-head { display: flex; justify-content: space-between; align-items: center; font-size: 17px; }
.st-loc-head button { border: 0; background: none; font-size: 20px; cursor: pointer; }
.st-loc-sub { color: var(--ink-2); font-size: 13.5px; margin: 4px 0 12px; }
.st-loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.st-loc-grid button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 9px 4px; font: inherit; font-size: 13.5px; cursor: pointer; }
.st-loc-grid button.is-on { border-color: var(--link); background: #e7f4f5; font-weight: 700; }
@media (min-width: 700px) { .st-locsheet { align-items: center; } .st-loc-panel { border-radius: 12px; } .st-loc-grid { grid-template-columns: repeat(4, 1fr); } }
[data-st-add][hidden] { display: none !important; }
.woocommerce-order:has(.sc-ty) .woocommerce-order-overview, .woocommerce-order:has(.sc-ty) > .woocommerce-notice--success { display: none; }
.st-dlv-chg { background: none; border: 0; padding: 0; font: inherit; font-size: 12.5px; color: var(--link); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.st-dlv-chg:hover { color: var(--link-h); }
.st-rg .st-dlv-chg { margin-top: 4px; }

/* منوی «همه»: بخش‌های پنجم به بعد تا «دیدن همه» زده نشه قایم بمونن، بدون فاصله اضافه */
li.st-dv-more { padding: 0; }
li.st-dv-more[hidden] { display: none !important; }
.st-nav-links .st-nav-btn {
	display: inline-block; color: #fff; font: inherit; font-size: 13.5px; padding: 9px 9px; border: 1px solid transparent;
	border-radius: 3px; background: none; line-height: 1.3; cursor: pointer; white-space: nowrap;
}
.st-nav-links .st-nav-btn:hover { border-color: #fff; }
@media (max-width: 899px) { .st-nav.is-home .st-nav-links .st-nav-btn { font-size: 15px; padding: 6px 9px; } }

/* ==================================================================
 * ۲.۱۰ — گزارش آخر آمازون
 * ================================================================== */

/* منوی «همه» */
.st-dv-hr { border: 0; border-top: 1px solid #d5dbdb; margin: 6px 0; }
.st-dv-back { font-weight: 700; letter-spacing: 0; }
.st-dv-title { font-size: 17px !important; font-weight: 800 !important; color: var(--ink) !important; }

/* «ارسال به» کنار لوگو (دسکتاپ) */
.st-loc-head { display: none; }
@media (min-width: 900px) {
	.st-loc-head {
		display: flex; align-items: flex-end; gap: 3px; background: none; border: 1px solid transparent; border-radius: 3px; color: #fff;
		font: inherit; padding: 4px 6px; cursor: pointer; text-align: start; white-space: nowrap; flex: 0 0 auto;
	}
	.st-loc-head:hover { border-color: #fff; }
	.st-loc-head .st-i { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.8; margin-bottom: 2px; }
	.st-loc-head .st-loc-t { font-size: 12px; line-height: 1.3; color: #ccc; }
	.st-loc-head .st-loc-t b { color: #fff; font-size: 14px; }
	.st-subbar > .st-loc { display: none !important; }
}

/* پنل «حساب و فهرست‌ها» */
.st-acc-wrap { position: relative; display: flex; }
.st-accfly, .st-accpop { display: none; }
@media (min-width: 900px) {
	.st-accfly {
		position: absolute; top: 100%; inset-inline-end: -60px; z-index: 1200; background: #fff; color: var(--ink); width: 420px;
		border-radius: 6px; box-shadow: 0 4px 18px rgba(0,0,0,.25); padding: 14px 18px 16px; margin-top: 4px;
	}
	.st-acc-wrap:hover .st-accfly, .st-acc-wrap:focus-within .st-accfly { display: block; }
	.st-accfly-in { text-align: center; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line-2); }
	.st-accfly-btn { display: block; width: 210px; margin: 0 auto 6px; background: var(--btn-cart); border: 1px solid #fcd200; border-radius: 8px; padding: 7px; color: var(--ink) !important; font-weight: 700; text-align: center; }
	.st-accfly-btn:hover { text-decoration: none; background: var(--btn-cart-h); }
	.st-accfly small, .st-accpop small { font-size: 11.5px; color: var(--ink); }
	.st-accfly small a, .st-accpop small a { color: var(--link); }
	.st-accfly-cols { display: grid; grid-template-columns: 1fr 1.3fr; gap: 18px; }
	.st-accfly-cols > div + div { border-inline-start: 1px solid var(--line-2); padding-inline-start: 18px; }
	.st-accfly-cols b { display: block; font-size: 15px; margin-bottom: 6px; }
	.st-accfly-cols a { display: block; color: #444; font-size: 13px; padding: 3px 0; }
	.st-accfly-cols a:hover { color: var(--link-h); text-decoration: underline; }
	.st-accpop:not([hidden]) {
		display: block; position: absolute; top: 100%; inset-inline-end: -40px; z-index: 1100; background: #fff; border-radius: 6px;
		box-shadow: 0 2px 10px rgba(0,0,0,.25); padding: 12px 14px; margin-top: 8px; text-align: center; width: 240px;
	}
	.st-accpop::before { content: ""; position: absolute; top: -8px; inset-inline-end: 60px; border: 8px solid transparent; border-top: 0; border-bottom-color: #fff; }
	.st-acc-wrap:hover .st-accpop { display: none; }
}

/* صفحه بخش: «خرید بر اساس دسته» کاشی مربعی (مثل Shop by Category آمازون) */
.st-dep-c { flex: 0 0 132px; }
.st-dep-ci { width: 132px; height: 132px; border-radius: 8px; background: #f3efe9; }
.st-dep-ci img { width: 104px; height: 104px; }
.st-dep-cn { font-weight: 700; font-size: 13.5px; }
@media (min-width: 900px) { .st-dep-c { flex-basis: 170px; } .st-dep-ci { width: 170px; height: 170px; } .st-dep-ci img { width: 136px; height: 136px; } }

/* «همه کالاها» پایین صفحه بخش */
.st-dep-allsec { background: #fff; border-radius: 8px; padding: 14px; margin: 0 0 14px; }
.st-dep-allsec > h2 { font-size: 20px; font-weight: 800; margin: 0; }
.st-dep-allsec .st-listing { margin-top: 8px; }

/* دسکتاپ: نتیجه‌ها ردیفی (عکس یه طرف، متن طرف دیگه) مثل جستجوی آمازون */
@media (min-width: 1000px) {
	.st-shop ul.products, .st-shop .st-results ul.products { grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; }
	.st-shop ul.products li.product {
		display: grid !important; grid-template-columns: 240px minmax(0, 1fr); gap: 20px; align-items: start;
		background: #fff; border: 1px solid #e3e6e6; border-radius: 8px; padding: 0 !important; overflow: hidden;
	}
	.st-shop ul.products li.product .st-card-media { border-radius: 0; height: 100%; display: flex; align-items: center; min-height: 240px; }
	.st-shop ul.products li.product .st-card-media > a { width: 100%; }
	.st-shop ul.products li.product .st-card-body { padding: 14px 4px 14px 16px; }
	.st-shop ul.products li.product .woocommerce-loop-product__title { font-size: 17px; line-height: 1.6; }
	.st-shop ul.products li.product .button, .st-shop ul.products li.product .st-step { align-self: flex-start; min-width: 150px; }
}

/* فیلترها */
.st-range-vals { justify-content: flex-start !important; gap: 6px; }
.st-range-reset { display: inline-block; font-size: 12.5px; margin-top: 6px; color: var(--link); }
.st-f-colors { display: flex; flex-wrap: wrap; gap: 6px; }
.st-f-color { width: 28px; height: 28px; border-radius: 4px; background: var(--c, #ccc); box-shadow: 0 0 0 1px rgba(0,0,0,.25) inset; }
.st-f-color.is-na { background: #dcdee2; }
.st-f-color.is-on { box-shadow: 0 0 0 1px rgba(0,0,0,.25) inset, 0 0 0 2px #fff, 0 0 0 4px var(--link-h); }
.st-f-check small { color: var(--ink-2); }

/* «نتیجه‌ها» و «نتیجه‌های بیشتر» */
.st-results-h { margin: 6px 0 10px; }
.st-results-h h2, .st-more-h { font-size: 20px; font-weight: 800; margin: 0; }
.st-more-h { margin: 6px 0 10px; }
.st-results-sub { margin: 0 0 8px; color: var(--ink-2); font-size: 13px; }
.st-noresults-f { background: #fff; padding: 10px 12px; margin: 0 0 10px; }
.st-needhelp { background: #fff; padding: 14px; margin: 12px 0; display: flex; flex-direction: column; gap: 2px; }
.st-needhelp b { font-size: 16px; }

/* کارت‌ها */
.st-card-opts { font-size: 12.5px; color: var(--ink-2); }
.st-card-opts a { color: var(--link); }
.st-dealrow { margin: 2px 0 -2px; }
.st-dealpill { display: inline-block; background: var(--deal); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 3px; }
.st-pick i { font-style: normal; font-size: 10px; opacity: .8; margin-inline-start: 2px; }
.st-card-ship b, .st-buybox-ship b { font-weight: 800; }
.st-dot-more { font-size: 12px; color: var(--link) !important; white-space: nowrap; }
.st-rating { position: relative; }
.st-rate-caret { background: none; border: 0; padding: 0 2px; margin: 0 -2px 0 2px; color: var(--ink-2); font-size: 12px; cursor: pointer; line-height: 1; }
.st-ratepop {
	position: absolute; z-index: 50; top: 100%; inset-inline-start: 0; margin-top: 6px; background: #fff; border: 1px solid #d5d9d9; border-radius: 8px;
	box-shadow: 0 4px 14px rgba(0,0,0,.18); padding: 12px 14px; width: 250px; display: grid; gap: 6px; font-size: 12.5px; color: var(--ink);
}
.st-ratepop[hidden] { display: none; }
.st-rp-h { font-size: 16px; }
.st-ratepop small { color: var(--ink-2); margin-top: -4px; }
.st-rp-row { display: grid; grid-template-columns: 52px 1fr 34px; align-items: center; gap: 6px; color: var(--link); }
.st-rp-row i { display: block; height: 14px; background: #f0f2f2; border: 1px solid #d5d9d9; border-radius: 3px; overflow: hidden; }
.st-rp-row b { display: block; height: 100%; background: #de7921; }
.st-ratepop a { color: var(--link); font-size: 12.5px; }

/* ===== ۲.۱۰ (ادامه): صفحه محصول، سبد، حساب، فوتر مثل آمازون ===== */

/* نوار چسبان بخش‌ها */
.st-pbar { position: fixed; inset-inline: 0; z-index: 890; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 6px rgba(15,17,17,.12); display: flex; align-items: center; gap: 14px; padding: 0 16px; height: 44px; transform: translateY(-120%); opacity: 0; pointer-events: none; transition: transform .2s, opacity .2s; }
.st-pbar.is-on { transform: none; opacity: 1; pointer-events: auto; }
.st-pbar-me { display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 300px; }
.st-pbar-me img { width: 32px; height: 32px; object-fit: contain; flex: none; }
.st-pbar-me span { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-pbar-l { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.st-pbar-l::-webkit-scrollbar { display: none; }
.st-pbar-l a { padding: 12px 10px; font-size: 13.5px; color: var(--ink); white-space: nowrap; border-bottom: 3px solid transparent; text-decoration: none; }
.st-pbar-l a.is-cur { border-bottom-color: #e47911; font-weight: 700; }
@media (max-width: 999px) {
	.st-pbar { padding: 0 8px; gap: 0; }
	.st-pbar-me { display: none; }
	.st-pbar-l a { padding: 12px 9px; font-size: 13px; }
	.st-pchips { display: none !important; }
}

/* جعبه خرید آکاردئونی (دسکتاپ) */
.st-buybox.has-acc .sc-ltbox { border: 0; padding: 0; margin: 0; max-width: none; background: none; }
.st-buybox.has-acc .sc-ltbox-title, .st-buybox.has-acc .sc-ltbox-sub { display: none; }
.st-buybox.has-acc .sc-ltbox-hint { font-size: 11.5px; margin-top: 10px; }
.st-buybox.has-acc .sc-ltbox-row { border: 1px solid var(--line); border-radius: 8px 8px 0 0; margin: 8px 0 0; padding: 11px 12px; background: #fff; position: relative; padding-inline-start: 36px; text-align: start; }
.st-buybox.has-acc .sc-ltbox-row:not(.is-active) { border-radius: 8px; }
.st-buybox.has-acc .sc-ltbox-row::before { content: ""; position: absolute; inset-inline-start: 12px; top: 50%; width: 16px; height: 16px; margin-top: -8px; border: 1px solid #888c8c; border-radius: 50%; background: #fff; }
.st-buybox.has-acc .sc-ltbox-row.is-active { background: #f0f8ff; border-color: #007185; }
.st-buybox.has-acc .sc-ltbox-row.is-active::before { border: 5px solid #007185; }
.st-buybox.has-acc .sc-ltbox-cash { border-style: solid; }
.st-buybox.has-acc .sc-ltbox-amt { font-size: 17px; }
.st-bb-body { border: 1px solid #007185; border-top: 0; border-radius: 0 0 8px 8px; padding: 12px; }
.st-bb-body > :first-child { margin-top: 0; }

/* «ارسال به ...» در جعبه خرید */
.st-bb-loc { display: flex; align-items: center; gap: 4px; background: none; border: 0; padding: 4px 0; margin: 4px 0 6px; color: var(--link); font: inherit; font-size: 13px; cursor: pointer; text-align: start; }
.st-bb-loc .st-i { width: 16px; height: 16px; flex: none; }
.st-bb-loc b { font-weight: 400; }
.st-bb-loc:hover { text-decoration: underline; color: #c45500; }

/* سبد: تاریخ تحویل و پیوندهای زیر هر کالا */
.woocommerce-cart table.cart td.product-remove, .woocommerce-cart table.cart th.product-remove { display: none; }
.st-ci-dlv { font-size: 12.5px; color: var(--ink); margin: 4px 0; }
.st-ci-dlv b { font-weight: 700; }
.st-ci-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 0; margin-top: 6px; font-size: 12.5px; }
.st-ci-acts a, .st-ci-acts button { color: var(--link); background: none; border: 0; padding: 0 8px; font: inherit; cursor: pointer; line-height: 1.4; }
.st-ci-acts > * + * { border-inline-start: 1px solid #ddd; }
.st-ci-acts > :first-child { padding-inline-start: 0; }
.st-ci-acts a:hover, .st-ci-acts button:hover { text-decoration: underline; color: #c45500; }

/* سبد خالی */
.st-cart-empty h2 { font-size: 22px; }
.st-ce-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.st-ce-btns a { padding: 7px 14px; border-radius: 100px; font-size: 13px; text-decoration: none; color: #0f1111; border: 1px solid #d5d9d9; background: #fff; }
.st-ce-btns a.st-ce-in { background: #ffd814; border-color: #fcd200; }

/* حساب کاربری: جعبه‌های پیوند */
.st-acc-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 18px; }
.st-acc-links section { padding: 0 18px; }
.st-acc-links section + section { border-inline-start: 1px solid var(--line); }
.st-acc-links h3 { font-size: 16px; margin: 0 0 8px; }
.st-acc-links ul { list-style: none; margin: 0; padding: 0; }
.st-acc-links li a { display: block; padding: 4px 0; font-size: 13.5px; color: var(--link); }
@media (max-width: 760px) {
	.st-acc-links { grid-template-columns: minmax(0, 1fr); }
	.st-acc-links section { padding: 12px 0; }
	.st-acc-links section + section { border-inline-start: 0; border-top: 1px solid var(--line); }
}

/* نظرها */
.st-rv-write { margin: 18px 0; padding-top: 16px; border-top: 1px solid var(--line); }
.st-rv-write h3 { font-size: 16px; margin: 0 0 4px; }
.st-rv-write p { font-size: 13px; margin: 0 0 10px; }
.st-rv-write a { display: block; text-align: center; padding: 6px 12px; border: 1px solid #d5d9d9; border-radius: 100px; color: #0f1111; text-decoration: none; font-size: 13px; }
.st-rv-meta { font-size: 12.5px; color: #565959; line-height: 1.8; }
.st-rv-meta .st-rv-var { color: #565959; }
.st-rv-meta .st-rv-ver { color: #c45500; font-weight: 700; }
.st-rv-help { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 8px; font-size: 12.5px; color: #565959; }
.st-rv-help .st-rv-n { width: 100%; }
.st-rv-help button { background: #fff; border: 1px solid #d5d9d9; border-radius: 100px; padding: 4px 18px; font: inherit; cursor: pointer; color: #0f1111; }
.st-rv-help button.is-done { border-color: transparent; color: #067d62; padding-inline: 0; }
.st-rv-help .st-rv-rep { border: 0; padding: 0 0 0 0; color: #565959; background: none; }
.st-rv-help > * + .st-rv-rep { border-inline-start: 1px solid #ddd; padding-inline-start: 10px; border-radius: 0; }

.st-foot-legal a { color: inherit; }
.st-buybox.has-acc .sc-ltbox-name { white-space: nowrap; }
/* کاشی ردیف‌ها مثل آمازون: اسم، ستاره، قیمت، تحویل */
.st-ri .st-rating { margin: 0; }
.st-ri:not(.is-deal) .st-ri-price { margin-top: 1px; }
.st-ri-dlv { font-size: 11.5px; color: var(--ink-2); line-height: 1.5; }
.st-ri-dlv b { color: var(--ink); font-weight: 700; }
/* عکس آماده با پس‌زمینه شفاف (آیفون Duo): بدون ترکیب رنگ، کمی بزرگ‌تر */
.st-promo-img.is-clean { mix-blend-mode: normal; max-width: 90%; max-height: 50%; bottom: auto; top: 67%; transform: translate(-50%, -50%); }

/* ===== ۲.۱۱: صفحه اول مثل آمازون — بنر چرخشی و کارت‌های پر ===== */
.st-hb { position: relative; overflow: hidden; }
.st-hb-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.st-hb-track::-webkit-scrollbar { display: none; }
.st-hb-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; height: 230px; display: flex; align-items: center; gap: 10px; padding: 18px 16px 26px; background: var(--hb, #eee); color: var(--ink); text-decoration: none; overflow: hidden; }
.st-hb-slide:hover { text-decoration: none; color: var(--ink); }
.st-hb-text { flex: 0 0 54%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; position: relative; z-index: 1; }
.st-hb-h { font-size: 21px; font-weight: 800; line-height: 1.35; }
.st-hb-p { font-size: 12.5px; line-height: 1.7; color: #333; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.st-hb-btn { margin-top: 4px; background: var(--btn-cart); border-radius: 100px; padding: 7px 16px; font-size: 13px; font-weight: 700; }
.st-hb-imgs { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; justify-content: center; }
.st-hb-imgs img { max-height: 100%; min-width: 0; object-fit: contain; mix-blend-mode: multiply; }
.st-hb-imgs.n2 img, .st-hb-imgs.n3 img { width: 50%; }
.st-hb-imgs.n3 img:nth-child(2) { width: 58%; z-index: 1; margin: 0 -14%; }
.st-hb-imgs.n3 img:nth-child(3) { display: none; }
.st-hb-slide.is-wide .st-hb-imgs img { mix-blend-mode: normal; width: 100%; max-height: 80%; }
.st-hb-slide.is-image { padding: 0; display: block; }
.st-hb-slide.is-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-hb-nav { display: none; }
.st-hb-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.st-hb-dots button { width: 7px; height: 7px; border-radius: 50%; border: 0; padding: 0; background: rgba(0,0,0,.25); cursor: pointer; }
.st-hb-dots button.is-on { background: #0f1111; width: 18px; border-radius: 4px; }

/* کارت دسته (مثل آمازون): یه عکس بزرگ؛ اگه عکس صحنه گذاشته باشی، کل کارت رو می‌پوشونه */
.st-dcard .st-promo-h { font-size: 28px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex-shrink: 0; }
.st-dcard-main { flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.st-dcard-main img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.st-dcard.is-clean .st-dcard-main img { mix-blend-mode: normal; }
.st-dcard.is-photo { padding: 0; }
.st-dcard.is-photo .st-dcard-main { position: absolute; inset: 0; }
.st-dcard.is-photo .st-dcard-main img { object-fit: cover; mix-blend-mode: normal; }
.st-dcard.is-photo .st-promo-h { position: relative; z-index: 1; padding: 22px 20px 0; }
.st-hb { display: none !important; }

/* فلش ورق زدن کارت‌های بالا (دسکتاپ) */
.st-promos { position: relative; }
.st-promo-nav { display: none; }

/* چهارخونه‌ها: کارت‌های کالا خاکستری ساده، کارت دسته‌ها هلویی صاف */
.st-quad-img { background: #f2f3f3 !important; border-radius: 10px !important; }
.st-qcard[data-tone="peach"] .st-quad-img { background: #fdeee6 !important; }

@media (min-width: 900px) {
	.st-promo-nav { display: flex; align-items: center; justify-content: center; position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 90px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.15); font-size: 34px; cursor: pointer; z-index: 2; }
	.st-promo-nav[hidden] { display: none; }
	.st-promo-nav.is-next { left: 8px; }
	.st-promo-nav.is-prev { right: 8px; }
	.st-hb-slide { height: 420px; align-items: flex-start; padding: 36px 70px 0; }
	.st-hb-slide::after { content: ""; position: absolute; inset: auto 0 0 0; height: 200px; background: linear-gradient(to bottom, rgba(240,242,242,0), #f0f2f2); pointer-events: none; }
	.st-hb-text { flex-basis: 42%; padding-top: 14px; }
	.st-hb-h { font-size: 36px; }
	.st-hb-p { font-size: 16px; }
	.st-hb-btn { font-size: 15px; padding: 9px 24px; margin-top: 8px; }
	.st-hb-imgs { height: 230px; }
	.st-hb-imgs.n3 img:nth-child(3) { display: block; }
	.st-hb-imgs.n3 img { width: 34%; }
	.st-hb-imgs.n3 img:nth-child(2) { width: 40%; margin: 0 -6%; }
	.st-hb-slide.is-wide .st-hb-imgs img { max-height: 100%; width: auto; max-width: 100%; }
	.st-hb-nav { display: flex; align-items: center; justify-content: center; position: absolute; top: 0; height: 230px; width: 70px; background: none; border: 0; font-size: 56px; color: #0f1111; cursor: pointer; z-index: 2; }
	.st-hb-nav.is-prev { right: 0; }
	.st-hb-nav.is-next { left: 0; }
	.st-hb-nav:focus-visible { outline: 3px solid var(--link); }
	.st-hb-dots { display: none; }
	.st-hb + .st-promos { position: relative; z-index: 2; margin-top: -170px; }
	.st-dcard .st-promo-h { font-size: 24px; }
	.st-dcard.is-photo .st-promo-h { padding: 18px 18px 0; }
}

/* ===== ۲.۱۲: جزئیات آمازون از اسکرین‌شات‌ها ===== */
/* ورود موبایل زیر کارت‌ها */
.st-signin-m { padding: 14px 16px 0; display: grid; gap: 10px; }
.st-signin-m h2 { font-size: 24px; font-weight: 800; margin: 0; }
.st-signin-m-btn { display: block; text-align: center; background: var(--btn-cart); border-radius: 100px; padding: 12px; font-weight: 700; color: var(--ink); text-decoration: none; }
.st-signin-m-new { font-size: 14.5px; color: var(--link); }
@media (min-width: 900px) { .st-signin-m { display: none; } }
/* کادر ورود پایین صفحه */
.st-signin { background: #fff !important; border: 1px solid var(--line); border-radius: 0 !important; padding: 26px 12px !important; }
.st-signin p { font-size: 22px; font-weight: 700; }
.st-signin .st-hero-btn { width: 150px; padding: 6px 0; font-size: 13px; text-align: center; border-radius: 100px; }
.st-signin small { font-size: 11.5px; color: var(--ink); }
/* «مشاهده گزینه‌ها»: دکمه سفید با حاشیه */
ul.products li.product .button.st-see-opts { background: #fff !important; border: 1px solid #8d9096 !important; color: var(--ink) !important; font-weight: 400; box-shadow: none; border-radius: 100px; }
ul.products li.product .button.st-see-opts:hover { background: #f7fafa !important; }
/* دایره‌های رنگ زیر دکمه */
.st-card-body .st-card-colors { margin-top: 8px; }
.st-card-body .st-cc-label { display: none; }
/* نشان‌ها: چسبیده به گوشه عکس */
.st-badges { top: 0; right: 0; }
.st-badges .st-bs { border-radius: 0; }
.st-badges .st-pick { background: #232f3e; border-radius: 0 0 0 3px; }
.st-badges .st-pick b { color: #fff; font-weight: 600; }
/* فوتر: ردیف لوگو بعد از ستون‌ها */
.st-footer-logo { background: var(--nav-2, #232f3e); border-top: 1px solid #3a4553; padding: 26px 16px; display: flex; justify-content: center; }
.st-footer-logo a { color: #fff; text-decoration: none; font-size: 22px; font-weight: 800; }
.st-footer-logo img { max-height: 32px; width: auto; }

/* سبد: ردیف تعداد + حذف + ذخیره برای بعد، و کالای ناموجود */
.st-ci-qrow { display: flex !important; flex-wrap: wrap; align-items: center; gap: 8px; }
.st-ci-qrow .st-ci-acts { margin: 0; gap: 8px; }
.st-ci-acts .st-ci-btn, .woocommerce-cart-form .st-ci-acts .st-ci-btn {
	display: inline-flex; align-items: center; height: 32px; padding: 0 14px !important; border: 1px solid #d5d9d9 !important;
	border-radius: 100px; background: #fff; box-shadow: 0 2px 5px rgba(15,17,17,.08); color: var(--ink) !important; font-size: 13px !important; text-decoration: none !important;
}
.st-ci-acts .st-ci-btn:hover { background: #f7fafa; color: var(--ink) !important; }
.st-ci-acts > * + * { border-inline-start: 0; }
.woocommerce-cart-form tr.st-oos td.product-thumbnail, .woocommerce-cart-form tr.st-oos td.product-name > a,
.woocommerce-cart-form tr.st-oos td.product-price { opacity: .5; filter: grayscale(1); }
.woocommerce-cart-form tr.st-oos .st-step, .woocommerce-cart-form tr.st-oos .st-ci-stock, .woocommerce-cart-form tr.st-oos .stock { display: none !important; }
.st-ci-oos { margin: 4px 0; display: flex; flex-direction: column; gap: 2px; }
.st-oos-tag { align-self: flex-start; background: #565959; color: #fff; border-radius: 5px; padding: 1px 9px; font-size: 12.5px; font-weight: 700; }
.st-ci-oos small { font-size: 12px; color: var(--ink-2); }
.st-ci-fixed { font-size: 12.5px; color: #b12704; font-weight: 600; margin: 4px 0; }
@media (max-width: 768px) {
	.woocommerce-cart-form tr.cart_item { grid-template-areas: "img name" "img price" "qty qty" !important; }
	.woocommerce-cart-form td.product-quantity.st-ci-qrow { flex-wrap: nowrap; }
	.st-ci-qrow .st-ci-acts { flex-wrap: nowrap; }
}

/* ===== ۲.۱۳: کالای ناموجود توی فهرست‌ها ===== */
li.product.st-card-oos { background: #fafafa; }
.st-card-oos .st-card-media img, .st-card-oos .st-card-brand, .st-card-oos .woocommerce-loop-product__title a { opacity: .55; }
.st-card-oos .price, .st-card-oos .sc-card-lt, .st-card-oos .st-card-ship, .st-card-oos .st-card-colors,
.st-card-oos .st-off, .st-card-oos .st-deal, .st-card-oos .st-card-bought, .st-card-oos .st-badges { display: none !important; }
.st-card-oosmsg { color: #b12704; font-weight: 700; font-size: 15px; margin: 6px 0 10px; }
a.st-card-notify { display: block; text-align: center; background: #f0f8fa; border: 1.5px solid #007185; color: #007185 !important; border-radius: 999px; padding: 8px 10px; font-size: 14px; font-weight: 700; text-decoration: none !important; margin-top: 6px; }
a.st-card-notify:hover { background: #e3f2f6; }
.st-qbox { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border: 1.5px solid currentColor; border-radius: 4px; margin-inline-end: 6px; font-size: 11px; line-height: 1; vertical-align: -2px; }

/* فلش‌ها: جای ثابت، بدون جابه‌جایی موقع رفتن موس */
@media (min-width: 900px) {
	.st-promo-nav { top: calc(50% - 45px) !important; transform: none !important; color: var(--ink); padding: 0; transition: background .15s; }
	.st-promo-nav:hover, .st-promo-nav:focus-visible { background: #f7f7f7; transform: none !important; }
	.st-car-btn:hover { transform: none !important; background: #fff; }
}
.st-promo-nav svg, .st-car-btn svg, .st-hb-nav svg { display: block; }

/* ۲.۱۴ — کاشی ردیف‌های صفحه‌ی اصلی: خط مشخصات، رنگ‌ها، کمترین قیمت ۳۰ روز */
.st-ri-spec { font-size: 11.5px; color: var(--ink-2); line-height: 1.5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-ri-dots { display: flex; align-items: center; gap: 5px; margin: 2px 0; }
.st-ri-dots .st-dot { width: 13px; height: 13px; }
.st-ri .st-low30.is-card { display: inline-block; align-self: flex-start; background: var(--deal); color: #fff; border-radius: 3px; padding: 1px 6px; }
.st-home .st-qcard-lt.is-top { margin: 12px 12px 0; }
@media (min-width: 900px) { .st-home .st-qcard-lt.is-top { display: none; } }
@media (max-width: 899px) { .st-home .st-qcard-lt.is-grid { display: none; } }
