/* فونت وزیرمتن — OFL */
@font-face { font-family: "Vazirmatn"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/Vazirmatn-Regular.woff2") format("woff2"); }
@font-face { font-family: "Vazirmatn"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/Vazirmatn-Medium.woff2") format("woff2"); }
@font-face { font-family: "Vazirmatn"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/Vazirmatn-Bold.woff2") format("woff2"); }
@font-face { font-family: "Vazirmatn"; font-weight: 800; font-style: normal; font-display: swap; src: url("fonts/Vazirmatn-ExtraBold.woff2") format("woff2"); }
/* BSK Store v1.3 — ظاهر فروشگاه */
:root {
	--bsk-ink: #0e1116;
	--bsk-ink-2: #171b22;
	--bsk-ink-3: #1f252e;
	--bsk-red: #e4262f;
	--bsk-red-d: #c4121f;
	--bsk-bg: #f5f6f8;
	--bsk-line: #e4e7ec;
	--bsk-text: #1f2937;
	--bsk-mute: #64748b;
	--bsk-r: 14px;
	--bsk-font: "Vazirmatn", "IRANSansX", "IRANSans", "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif;
}

body.bsk, body.bsk button, body.bsk input, body.bsk select, body.bsk textarea { font-family: var(--bsk-font); }
body.bsk { color: var(--bsk-text); }
.bsk-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* هدر و فوتر پیش‌فرض آسترا مخفی؛ هدر و فوتر BSK جایگزین است */
body.bsk .site-header, body.bsk #masthead, body.bsk .site-footer, body.bsk #colophon { display: none !important; }

/* لینک‌های بخش‌های BSK زیرخط نداشته باشند */
.bsk-topbar a, .bsk-header a, .bsk-home a, .bsk-footer a, .bsk-contact a, .bsk-float a { text-decoration: none; }

/* ---------- نوار بالا ---------- */
.bsk-topbar { background: var(--bsk-ink); color: #cbd5e1; font-size: 13px; border-bottom: 1px solid rgba(255,255,255,.06); }
.bsk-topbar .bsk-wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
.bsk-topbar a { color: #ff8a8a; font-weight: 700; direction: ltr; unicode-bidi: embed; }

/* ---------- هدر ---------- */
.bsk-header { background: var(--bsk-ink); color: #fff; position: sticky; top: 0; z-index: 999; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
body.admin-bar .bsk-header { top: 32px; }
.bsk-header-row { display: flex; align-items: center; gap: 22px; padding-top: 14px; padding-bottom: 14px; }
.bsk-burger { display: none; }

.bsk-brand { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; color: #fff; flex: none; }
.bsk-brand-mark { font-family: "Arial Black", Arial, sans-serif; font-weight: 900; font-size: 32px; letter-spacing: 3px; font-style: italic; color: #fff; position: relative; padding-bottom: 6px; }
.bsk-brand-mark::after { content: ""; position: absolute; right: 0; bottom: 0; width: 100%; height: 3px; background: var(--bsk-red); transform: skewX(-25deg); }
.bsk-brand-sub { font-size: 11px; color: #94a3b8; margin-top: 6px; letter-spacing: .5px; }

.bsk-hsearch { flex: 1; display: flex; max-width: 560px; margin-right: auto; margin-left: auto; background: var(--bsk-ink-3); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; overflow: hidden; }
.bsk-hsearch input[type=search] { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; padding: 0 16px; height: 46px; font-size: 14px; outline: none; box-shadow: none; }
.bsk-hsearch input::placeholder { color: #8b96a5; }
.bsk-hsearch button { width: 52px; border: 0; background: var(--bsk-red); color: #fff; cursor: pointer; display: grid; place-items: center; padding: 0; }
.bsk-hsearch button:hover { background: var(--bsk-red-d); }

.bsk-hactions { display: flex; align-items: center; gap: 12px; flex: none; }
.bsk-hphone { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; direction: ltr; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 0 14px; height: 46px; font-size: 14px; transition: border-color .15s; }
.bsk-hphone svg { color: var(--bsk-red); flex: none; }
.bsk-hphone:hover { border-color: var(--bsk-red); color: #fff; }
.bsk-cart { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--bsk-ink-3); color: #fff; border: 1px solid rgba(255,255,255,.1); }
.bsk-cart:hover { border-color: var(--bsk-red); color: #fff; }
.bsk-cart-count { position: absolute; top: -7px; left: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--bsk-red); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; line-height: 1; }

/* منوی اصلی */
.bsk-nav { background: var(--bsk-ink-2); border-top: 1px solid rgba(255,255,255,.06); }
.bsk-menu, .bsk-menu ul { list-style: none; margin: 0; padding: 0; }
.bsk-menu { display: flex; align-items: center; gap: 2px; }
.bsk-menu > li { position: relative; }
.bsk-menu > li > a { display: block; padding: 14px 16px; color: #e2e8f0; font-size: 14px; font-weight: 600; transition: color .15s, background .15s; }
.bsk-menu > li > a:hover, .bsk-menu > li:focus-within > a { color: #fff; background: rgba(255,255,255,.06); }
.bsk-has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg) translateY(-2px); margin-right: 8px; opacity: .7; }
.bsk-sub { position: absolute; top: 100%; right: 0; min-width: 210px; background: #fff; border-radius: 0 0 12px 12px; box-shadow: 0 18px 40px rgba(0,0,0,.25); padding: 8px 0; display: none; z-index: 20; }
.bsk-has-sub:hover > .bsk-sub, .bsk-has-sub:focus-within > .bsk-sub, .bsk-has-sub.is-open > .bsk-sub { display: block; }
.bsk-sub a { display: block; padding: 10px 18px; color: var(--bsk-text); font-size: 14px; }
.bsk-sub a:hover { background: var(--bsk-bg); color: var(--bsk-red-d); }

/* ---------- صفحه اصلی: هیرو ---------- */
.bsk-hero { background: radial-gradient(900px 380px at 12% 8%, rgba(228,38,47,.28), transparent 62%), linear-gradient(135deg, #0a0c10, var(--bsk-ink-2)); color: #fff; padding: 56px 0 64px; overflow: hidden; }
.bsk-hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.bsk-hero-text { max-width: 640px; }
.bsk-badge { display: inline-block; background: rgba(228,38,47,.18); color: #ff9a9a; border: 1px solid rgba(228,38,47,.55); border-radius: 999px; padding: 6px 14px; font-size: 13px; margin-bottom: 18px; }
.bsk-hero h1 { color: #fff; font-size: clamp(28px, 4.6vw, 44px); line-height: 1.5; margin: 0 0 14px; font-weight: 800; }
.bsk-hero p { color: #cbd5e1; font-size: 16px; line-height: 2; margin: 0 0 26px; }

.bsk-finder { background: #fff; color: var(--bsk-text); border-radius: var(--bsk-r); padding: 16px; box-shadow: 0 18px 40px rgba(0,0,0,.3); margin-bottom: 14px; }
.bsk-finder label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.bsk-finder-row { display: flex; gap: 10px; }
.bsk-finder select { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--bsk-line); border-radius: 10px; padding: 0 12px; background: #fff; font-size: 15px; }
.bsk-finder button, .bsk-search button { height: 48px; padding: 0 22px; border: 0; border-radius: 10px; background: var(--bsk-red); color: #fff; font-weight: 700; cursor: pointer; font-size: 15px; transition: background .15s; flex: none; }
.bsk-finder button:hover, .bsk-search button:hover { background: var(--bsk-red-d); }
.bsk-search { display: flex; gap: 10px; }
.bsk-search input[type=search] { flex: 1; min-width: 0; height: 48px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); color: #fff; padding: 0 14px; font-size: 15px; }
.bsk-search input::placeholder { color: #94a3b8; }
.bsk-search button { background: var(--bsk-ink-3); border: 1px solid rgba(255,255,255,.2); }

.bsk-hero-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bsk-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: var(--bsk-r); padding: 26px 18px; text-align: center; backdrop-filter: blur(4px); }
.bsk-stat b { display: block; font-size: 30px; font-weight: 800; color: #fff; line-height: 1.3; margin-bottom: 6px; }
.bsk-stat span { font-size: 13px; color: #aab4c3; }
.bsk-stat-red { background: var(--bsk-red); border-color: var(--bsk-red); }
.bsk-stat-red b, .bsk-stat-red span { color: #fff; }
.bsk-stat-red b { font-size: 24px; padding-top: 4px; }

/* اعتماد */
.bsk-trust { background: #fff; border-bottom: 1px solid var(--bsk-line); }
.bsk-trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.bsk-trust-grid > div { padding: 22px 16px; text-align: center; border-left: 1px solid var(--bsk-line); }
.bsk-trust-grid > div:last-child { border-left: 0; }
.bsk-trust-grid strong { display: block; font-size: 15px; color: var(--bsk-ink); margin-bottom: 4px; }
.bsk-trust-grid span { font-size: 13px; color: var(--bsk-mute); }

/* بخش‌ها */
.bsk-section { padding: 52px 0; }
.bsk-section-alt { background: var(--bsk-bg); }
.bsk-title { font-size: 26px; margin: 0 0 24px; color: var(--bsk-ink); font-weight: 800; position: relative; padding-right: 16px; line-height: 1.5; }
.bsk-title::before { content: ""; position: absolute; right: 0; top: 7px; bottom: 7px; width: 5px; border-radius: 3px; background: var(--bsk-red); }
.bsk-head-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bsk-head-row a { color: var(--bsk-red-d); font-weight: 700; }

.bsk-cars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bsk-car { display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--bsk-line); border-radius: var(--bsk-r); padding: 22px 12px; color: var(--bsk-ink); text-align: center; transition: transform .15s, box-shadow .15s, border-color .15s; }
.bsk-car svg { color: var(--bsk-red); }
.bsk-car strong { font-size: 16px; font-weight: 800; color: var(--bsk-ink); }
.bsk-car span { font-size: 12px; color: var(--bsk-mute); }
.bsk-car:hover { transform: translateY(-3px); border-color: var(--bsk-red); box-shadow: 0 12px 26px rgba(14,17,22,.1); color: var(--bsk-ink); }
.bsk-car-accent { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 18px; background: var(--bsk-ink); border-color: var(--bsk-ink); padding: 20px 12px; }
.bsk-car-accent strong { color: #fff; font-size: 18px; }
.bsk-car-accent span { color: #cbd5e1; font-size: 13px; }
.bsk-car-accent:hover strong { color: #fff; }

.bsk-parts { display: flex; flex-wrap: wrap; gap: 10px; }
.bsk-parts a { background: #fff; border: 1px solid var(--bsk-line); border-radius: 999px; padding: 10px 22px; color: var(--bsk-ink); font-weight: 700; transition: all .15s; }
.bsk-parts a:hover { background: var(--bsk-red); border-color: var(--bsk-red); color: #fff; }

.bsk-why { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.bsk-why p { line-height: 2.1; color: #475569; }
.bsk-why ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bsk-why li { background: var(--bsk-bg); border-radius: 12px; padding: 14px 18px; border-right: 4px solid var(--bsk-red); font-weight: 600; margin: 0; }

.bsk-cta { background: linear-gradient(135deg, var(--bsk-red), #ff5a4f); color: #fff; text-align: center; padding: 48px 0; }
.bsk-cta .bsk-title { color: #fff; margin: 0 0 8px; padding: 0; }
.bsk-cta .bsk-title::before { display: none; }
.bsk-cta p { margin: 0 0 18px; }
.bsk-btn { display: inline-block; background: var(--bsk-ink); color: #fff !important; padding: 12px 30px; border-radius: 10px; font-weight: 800; font-size: 18px; direction: ltr; }

/* ---------- فوتر ---------- */
.bsk-footer { background: var(--bsk-ink); color: #cbd5e1; padding: 48px 0 0; margin-top: 0; }
.bsk-footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 32px; }
.bsk-footer-brand { font-family: "Arial Black", Arial, sans-serif; font-style: italic; font-weight: 900; font-size: 34px; letter-spacing: 3px; color: #fff; margin-bottom: 8px; }
.bsk-footer p { line-height: 2; font-size: 14px; }
.bsk-footer h4 { color: #fff; margin: 0 0 14px; font-size: 16px; }
.bsk-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.bsk-footer a { color: #cbd5e1; }
.bsk-footer a:hover { color: #ff8a8a; }
.bsk-copy { border-top: 1px solid rgba(255,255,255,.1); margin-top: 32px; padding: 16px 20px; text-align: center; font-size: 13px; color: #94a3b8; }

/* دکمه شناور موبایل */
.bsk-float { position: fixed; bottom: 14px; left: 14px; z-index: 99; display: none; gap: 8px; }
.bsk-float a { padding: 12px 18px; border-radius: 999px; color: #fff; font-weight: 800; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.bsk-float-wa { background: #16a34a; }
.bsk-float-tel { background: var(--bsk-red); }

/* ---------- ووکامرس ---------- */
.bsk ul.products li.product { background: #fff; border: 1px solid var(--bsk-line); border-radius: var(--bsk-r); padding: 14px; transition: box-shadow .15s, transform .15s; }
.bsk ul.products li.product:hover { box-shadow: 0 12px 26px rgba(14,17,22,.1); transform: translateY(-3px); }
.bsk ul.products li.product img { border-radius: 10px; aspect-ratio: 1 / 1; object-fit: contain; width: 100%; background: #fff; }
.bsk ul.products li.product .ast-woo-product-category { font-size: 12px; color: var(--bsk-mute); }
.bsk ul.products li.product .woocommerce-loop-product__title { font-size: 15px; font-weight: 700; color: var(--bsk-ink); line-height: 1.8; padding: 0; }
.bsk ul.products li.product .woocommerce-loop-product__title::before { display: none; }
.bsk .price, .bsk ul.products li.product .price, .bsk .price .woocommerce-Price-amount, .bsk ul.products li.product .price .woocommerce-Price-amount { color: var(--bsk-red-d) !important; font-weight: 800; }
.bsk .price .woocommerce-Price-currencySymbol { font-size: .8em; font-weight: 600; }
.bsk .button, .bsk button.button, .bsk .single_add_to_cart_button, .bsk #place_order { background: var(--bsk-red) !important; color: #fff !important; border-radius: 10px !important; font-weight: 700; border: 0; }
.bsk .button:hover, .bsk .single_add_to_cart_button:hover, .bsk #place_order:hover { background: var(--bsk-red-d) !important; }
.bsk-callprice { color: var(--bsk-mute); font-weight: 700; }

.bsk-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; padding: 0; }
.bsk-badges li { background: #fff1f1; color: var(--bsk-red-d); border: 1px solid #ffc9c9; border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700; margin: 0; }
.bsk-ask { margin-top: 16px; padding: 14px; border: 1px dashed var(--bsk-line); border-radius: 12px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: var(--bsk-bg); }
.bsk-ask span { font-size: 14px; color: var(--bsk-mute); }
.bsk-ask a { background: var(--bsk-ink); color: #fff; border-radius: 8px; padding: 8px 16px; font-weight: 700; font-size: 14px; text-decoration: none; }

.bsk-note { background: #fff7e6; border: 1px solid #ffd99a; color: #7a4b00; border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; line-height: 1.9; }

/* تماس با ما */
.bsk-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 10px 0 30px; }
.bsk-contact-card { background: #fff; border: 1px solid var(--bsk-line); border-radius: var(--bsk-r); padding: 20px; }
.bsk-contact-card span { display: block; font-size: 13px; color: var(--bsk-mute); margin-bottom: 6px; }
.bsk-contact-card strong { font-size: 16px; color: var(--bsk-ink); }
.bsk-contact-card a { color: var(--bsk-red-d); }

/* ---------- موبایل و تبلت ---------- */
@media (max-width: 900px) {
	.bsk-hero-inner { grid-template-columns: 1fr; }
	.bsk-hero-panel { display: none; }
	.bsk-hero { padding: 36px 0 44px; }
	.bsk-trust-grid { grid-template-columns: repeat(2, 1fr); }
	.bsk-trust-grid > div { border-bottom: 1px solid var(--bsk-line); }
	.bsk-cars { grid-template-columns: repeat(2, 1fr); }
	.bsk-why, .bsk-footer-grid { grid-template-columns: 1fr; }
	.bsk-float { display: flex; }
	body.bsk { padding-bottom: 70px; }

	.bsk-header-row { flex-wrap: wrap; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
	.bsk-burger { display: grid; gap: 5px; width: 46px; height: 46px; place-content: center; background: var(--bsk-ink-3); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; cursor: pointer; padding: 0; order: 1; }
	.bsk-burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; display: block; }
	.bsk-brand { order: 2; margin-left: auto; margin-right: 4px; }
	.bsk-brand-mark { font-size: 26px; }
	.bsk-hactions { order: 3; margin-right: auto; margin-left: 0; }
	.bsk-hphone span { display: none; }
	.bsk-hphone { padding: 0; width: 46px; justify-content: center; }
	.bsk-hsearch { order: 4; flex: 1 1 100%; max-width: none; margin: 0; }
	.bsk-nav { display: none; }
	.bsk-nav.is-open { display: block; }
	.bsk-menu { flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 10px; }
	.bsk-menu > li > a { padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
	.bsk-sub { position: static; box-shadow: none; background: var(--bsk-ink-3); border-radius: 10px; margin: 4px 0 8px; display: none; }
	.bsk-has-sub:hover > .bsk-sub { display: none; }
	.bsk-has-sub.is-open > .bsk-sub { display: block; }
	.bsk-sub a { color: #e2e8f0; padding: 11px 16px; }
	.bsk-sub a:hover { background: rgba(255,255,255,.06); color: #fff; }
}

@media (max-width: 640px) {
	.bsk-topbar-text { display: none; }
	.bsk-topbar .bsk-wrap { justify-content: center; }
	.bsk-finder-row, .bsk-search { flex-direction: column; }
	.bsk-finder select, .bsk-search input[type=search] { flex: none; width: 100%; }
	.bsk-finder button, .bsk-search button { width: 100%; }
	.bsk-title { font-size: 22px; }
	.bsk-section { padding: 36px 0; }
	.bsk-car-accent { flex-direction: column; gap: 6px; }
}

/* v1.3.1: بدون زیرخط در کارت‌ها، قیمت خواناتر */
.bsk-home a, .bsk-home a *, .bsk-footer a, .bsk-header a, .bsk-topbar a, .bsk-contact a, .bsk-float a { text-decoration: none !important; }
.bsk ul.products li.product .price, .bsk ul.products li.product .price .woocommerce-Price-amount, .bsk ul.products li.product .price bdi { font-size: 17px !important; font-weight: 800 !important; }
.bsk ul.products li.product .price .woocommerce-Price-currencySymbol { font-size: 12px !important; font-weight: 600 !important; }

/* v1.4.2: نماد اینماد در فوتر */
.bsk-enamad { margin-top: 28px; text-align: center; }
.bsk-enamad a { display: inline-block; background: #fff; border-radius: 10px; padding: 8px 12px; line-height: 0; min-width: 90px; min-height: 90px; }
.bsk-enamad img { max-height: 80px; width: auto; display: block; margin: 0 auto; }

/* ================= v1.5.0: ظاهر حرفه‌ای‌تر ================= */
body.bsk, body.bsk h1, body.bsk h2, body.bsk h3, body.bsk h4, body.bsk h5, body.bsk h6,
body.bsk .button, body.bsk button, body.bsk input, body.bsk select, body.bsk textarea,
body.bsk .wc-block-components-text-input input, body.bsk .wc-block-components-button,
body.bsk .wc-block-components-product-name, body.bsk .wc-block-formatted-money-amount {
	font-family: var(--bsk-font) !important;
}
body.bsk { font-size: 15px; line-height: 1.9; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.bsk h1, body.bsk h2, body.bsk .bsk-title, body.bsk .entry-title { font-weight: 800; letter-spacing: 0; }
.bsk-menu > li > a { font-weight: 500; }
.bsk-brand-mark, .bsk-footer-brand { font-family: "Arial Black", Arial, sans-serif !important; }

/* کارت محصول: ارتفاع برابر، دکمه همیشه پایین کارت */
.bsk ul.products li.product { display: flex !important; flex-direction: column; }
.bsk ul.products li.product .astra-shop-summary-wrap { display: flex; flex-direction: column; flex: 1; }
.bsk ul.products li.product .woocommerce-loop-product__title { min-height: 3.6em; }
.bsk ul.products li.product .price { margin-top: auto; padding-top: 6px; }
.bsk ul.products li.product .button { width: 100%; text-align: center; margin-top: 10px; padding: 11px 14px; }
.bsk ul.products li.product .astra-shop-thumbnail-wrap { background: var(--bsk-bg); border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.bsk ul.products li.product img { object-fit: cover; }
.bsk ul.products li.product img[src*="placeholder"] { object-fit: contain; padding: 18px; background: var(--bsk-bg); }

/* سبد خرید و پرداخت: هم‌عرض سایت و هم‌رنگ برند */
body.woocommerce-cart #primary, body.woocommerce-checkout #primary,
body.woocommerce-cart .site-content > .ast-container, body.woocommerce-checkout .site-content > .ast-container { max-width: 1200px; margin-left: auto; margin-right: auto; }
body.woocommerce-cart .entry-header, body.woocommerce-checkout .entry-header { margin-bottom: 14px; }
body.woocommerce-cart .entry-title, body.woocommerce-checkout .entry-title { color: var(--bsk-ink); font-size: 30px; }
body.woocommerce-cart .site-content, body.woocommerce-checkout .site-content { padding-top: 24px; padding-bottom: 60px; background: var(--bsk-bg); }
body.woocommerce-cart #primary > main, body.woocommerce-checkout #primary > main { background: #fff; border: 1px solid var(--bsk-line); border-radius: var(--bsk-r); padding: 22px; }
.wp-block-woocommerce-cart a, .wp-block-woocommerce-checkout a { color: var(--bsk-ink); text-decoration: none; }
.wc-block-components-product-name { color: var(--bsk-ink) !important; font-weight: 700; text-decoration: none !important; }
.wc-block-components-product-price, .wc-block-formatted-money-amount { font-weight: 700; }
.wc-block-components-product-price .wc-block-formatted-money-amount { color: var(--bsk-red-d); }
.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-cart .wc-block-components-button:not(.is-link),
.wp-block-woocommerce-checkout .wc-block-components-button:not(.is-link) {
	background: var(--bsk-red) !important; color: #fff !important; border: 0 !important; border-radius: 10px !important; font-weight: 700; padding: 14px 18px;
}
.wc-block-cart__submit-button:hover, .wc-block-components-checkout-place-order-button:hover { background: var(--bsk-red-d) !important; }
.wc-block-components-button:disabled, .wc-block-components-checkout-place-order-button[disabled] { opacity: .55; cursor: not-allowed; }
.wc-block-components-text-input input, .wc-block-components-address-form select, .wc-blocks-components-select__select {
	border-radius: 10px !important; border-color: var(--bsk-line) !important;
}
.wc-block-components-text-input input:focus, .wc-blocks-components-select__select:focus { border-color: var(--bsk-red) !important; box-shadow: 0 0 0 3px rgba(228,38,47,.12) !important; outline: none; }
.wc-block-components-radio-control--highlight-checked::after,
.wc-block-components-radio-control-accordion-option--checked-option-highlighted::after { border-color: var(--bsk-red) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input:checked { background: var(--bsk-red); border-color: var(--bsk-red); }
.wc-block-components-title, .wc-block-components-checkout-step__title { color: var(--bsk-ink) !important; font-weight: 800; }
.wc-block-components-order-summary, .wp-block-woocommerce-cart-order-summary-block { border-radius: var(--bsk-r); }

@media (max-width: 640px) {
	body.woocommerce-cart #primary > main, body.woocommerce-checkout #primary > main { padding: 8px 4px; border-radius: 12px; }
	.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { overflow-x: hidden; }
	body.woocommerce-cart .entry-title, body.woocommerce-checkout .entry-title { font-size: 24px; }
}

/* v1.5.3: نشان گارانتی بالای صفحه اصلی سبز */
.bsk-badge { background: rgba(34,197,94,.16); color: #4ade80; border-color: rgba(34,197,94,.55); font-weight: 700; }


/* v1.5.4: جستجوی واحد با پیشنهاد زنده + جستجوی سریع */
/* Astra's own search stays hidden */
.ast-header-search,
.ast-search-menu-icon { display: none !important; }

/* 2) header search: let the suggestion box escape the rounded frame */
.bsk-hsearch { position: relative; overflow: visible; transition: border-color .15s, box-shadow .15s; }
.bsk-hsearch:focus-within { border-color: rgba(228,38,47,.7); box-shadow: 0 0 0 3px rgba(228,38,47,.18); }
.bsk-hsearch input[type="search"] { border-radius: 0 11px 11px 0; }
.bsk-hsearch button { border-radius: 11px 0 0 11px; }

/* 3) live suggestions */
.bsk-live { position: absolute; top: calc(100% + 8px); right: 0; left: 0; z-index: 1001; background: #fff; color: #1f2937;
  border-radius: 14px; box-shadow: 0 18px 44px rgba(0,0,0,.28); overflow: hidden; display: none; max-height: 70vh; overflow-y: auto; }
.bsk-live.is-open { display: block; }
.bsk-live a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #eef0f3; color: inherit; text-decoration: none !important; }
.bsk-live a:hover, .bsk-live a:focus { background: #f5f6f8; outline: none; }
.bsk-live img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; background: #f1f3f6; flex: 0 0 auto; }
.bsk-live .bl-name { flex: 1 1 auto; font-size: 14px; font-weight: 600; line-height: 1.7; }
.bsk-live .bl-price { flex: 0 0 auto; font-size: 13px; font-weight: 800; color: var(--bsk-red-d); white-space: nowrap; }
.bsk-live .bl-all { justify-content: center; font-weight: 700; color: var(--bsk-red-d); border-bottom: 0; background: #fafbfc; }
.bsk-live .bl-msg { padding: 16px; text-align: center; color: #64748b; font-size: 14px; }

/* 4) quick-search chips (replace the removed hero search) */
.bsk-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 2px; }
.bsk-chips > span { color: #94a3b8; font-size: 13px; margin-left: 4px; }
.bsk-chips a { display: inline-block; padding: 5px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #e2e8f0;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: background .15s, border-color .15s; }
.bsk-chips a:hover { background: var(--bsk-red); border-color: var(--bsk-red); color: #fff; }

/* v1.5.5: دکمه‌ی «برو بالا» روی دکمه‌های تماس/واتساپ موبایل نیفتد */
@media (max-width: 900px) {
	#ast-scroll-top { bottom: 84px !important; left: 14px !important; right: auto !important; }
}

/* =====================  نسخه ۱.۶: ظاهر حرفه‌ای‌تر و بخش‌های قابل ویرایش  ===================== */
.bsk-ann { text-align: center; color: #fff; font-size: 14px; font-weight: 700; padding: 9px 16px; }
.bsk-ann a { color: #fff; text-decoration: underline; }
.bsk-logo-img { display: block; height: 46px; width: auto; max-width: 190px; object-fit: contain; }
.bsk-footer-brand .bsk-logo-img { height: 54px; }

/* هیرو */
.bsk-hero { position: relative; }
.bsk-hero.has-bg { background: linear-gradient(135deg, rgba(10,12,16,.92), rgba(14,17,22,.72)), var(--bsk-hero-img) center/cover no-repeat; }
.bsk-hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4px; background: linear-gradient(90deg, transparent, var(--bsk-red), transparent); opacity: .8; }
.bsk-hero-inner.no-stats { grid-template-columns: minmax(0, 1fr); }
.bsk-hero-inner.no-stats .bsk-hero-text { max-width: 760px; }
.bsk-stat { transition: transform .2s, background .2s; }
.bsk-stat:hover { transform: translateY(-3px); background: rgba(255,255,255,.1); }
.bsk-badge { background: color-mix(in srgb, var(--bsk-red) 18%, transparent); border-color: color-mix(in srgb, var(--bsk-red) 55%, transparent); color: #fff; }
.bsk-hero h1 { text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.bsk-finder { box-shadow: 0 24px 50px rgba(0,0,0,.38); }
.bsk-chips a { transition: background .15s, border-color .15s, color .15s; }
.bsk-chips a:hover { background: var(--bsk-red); border-color: var(--bsk-red); color: #fff; }

/* عنوان بخش‌ها */
.bsk-title { letter-spacing: -.2px; }
.bsk-section { padding-top: 56px; padding-bottom: 56px; }
.bsk-head-row a { background: #fff; border: 1px solid var(--bsk-line); border-radius: 999px; padding: 7px 16px; font-size: 13px; font-weight: 700; color: var(--bsk-red-d); transition: all .15s; }
.bsk-head-row a:hover { background: var(--bsk-red); color: #fff; border-color: var(--bsk-red); }

/* کارت خودرو و نوع قطعه */
.bsk-car { transition: transform .2s, box-shadow .2s, border-color .2s; }
.bsk-car:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(14,17,22,.12); border-color: var(--bsk-red); }
.bsk-parts a { transition: all .15s; }
.bsk-parts a:hover { background: var(--bsk-red); color: #fff; border-color: var(--bsk-red); transform: translateY(-2px); }

/* نوار اعتماد */
.bsk-trust-grid > div { transition: background .2s; }
.bsk-trust-grid > div:hover { background: var(--bsk-bg); }
.bsk-trust-grid strong { position: relative; padding-top: 12px; }
.bsk-trust-grid strong::before { content: ""; position: absolute; top: 0; right: 50%; transform: translateX(50%); width: 28px; height: 3px; border-radius: 3px; background: var(--bsk-red); }

/* بنرها */
.bsk-banners-sec { padding-top: 36px; padding-bottom: 0; }
.bsk-banners { display: grid; grid-template-columns: 1fr; gap: 18px; }
.bsk-banners.two { grid-template-columns: 1fr 1fr; }
.bsk-banner { display: block; border-radius: var(--bsk-r); overflow: hidden; box-shadow: 0 10px 26px rgba(14,17,22,.1); transition: transform .2s, box-shadow .2s; }
a.bsk-banner:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(14,17,22,.16); }
.bsk-banner img { display: block; width: 100%; height: auto; }

/* مراحل سفارش */
.bsk-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; counter-reset: s; }
.bsk-step { position: relative; background: #fff; border: 1px solid var(--bsk-line); border-radius: var(--bsk-r); padding: 28px 22px 24px; text-align: center; transition: transform .2s, box-shadow .2s; }
.bsk-step:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(14,17,22,.1); }
.bsk-step i { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 50%; background: var(--bsk-red); color: #fff; font-style: normal; font-weight: 800; font-size: 20px; box-shadow: 0 8px 18px color-mix(in srgb, var(--bsk-red) 40%, transparent); }
.bsk-step strong { display: block; font-size: 16px; color: var(--bsk-ink); margin-bottom: 8px; }
.bsk-step span { display: block; font-size: 13.5px; line-height: 2; color: var(--bsk-mute); }

/* چرا BSK و CTA */
.bsk-why li { transition: transform .15s, background .15s; }
.bsk-why li:hover { transform: translateX(-4px); background: #fff; box-shadow: 0 8px 18px rgba(14,17,22,.07); }
.bsk-cta { background: linear-gradient(135deg, var(--bsk-red), color-mix(in srgb, var(--bsk-red) 70%, #ff9a3c)); }

/* کارت محصول */
.bsk ul.products li.product .woocommerce-loop-product__title { min-height: 3.6em; }
.bsk ul.products li.product .button { transition: background .15s, transform .15s; }
.bsk ul.products li.product .button:active { transform: scale(.98); }

/* موبایل */
@media (max-width: 768px) {
	.bsk-banners.two { grid-template-columns: 1fr; }
	.bsk-section { padding-top: 40px; padding-bottom: 40px; }
	.bsk-logo-img { height: 38px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
.bsk-hero h1, .bsk-title, .bsk-step strong { text-wrap: balance; }

/* v1.7 */
.bsk-hsearch-gap { flex: 1; }
.bsk-map { margin: 22px 0; border-radius: var(--bsk-r); overflow: hidden; border: 1px solid var(--bsk-line); }
.bsk-map iframe { width: 100%; height: 360px; border: 0; display: block; }
.bsk-contact-extra { line-height: 2.1; color: #475569; }
.bsk-custom .bsk-wrap { line-height: 2; }
.bsk-badges-extra { margin-top: 10px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; justify-content: center; }
.bsk-ann a { text-decoration: underline !important; }
.bsk-car, .bsk-step, .bsk-stat, .bsk-banner, .bsk-finder { border-radius: var(--bsk-r); }
body.bsk { background: var(--bsk-bg); }

/* ===== توضیح بالای صفحه‌ی دسته ===== */
.bsk-catintro{position:relative;margin:4px 0 26px;padding:20px 22px 18px;background:#fff;border:1px solid var(--bsk-line,#e4e7ec);border-radius:16px;box-shadow:0 6px 20px rgba(15,23,42,.04);overflow:hidden}
.bsk-catintro::before{content:"";position:absolute;top:0;bottom:0;right:0;width:5px;background:var(--bsk-red,#e4262f)}
.bsk-catintro__lead{margin:0 0 12px;font-size:15.5px;font-weight:700;line-height:2;color:var(--bsk-ink,#0e1116)}
.bsk-catintro__plat{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px}
.bsk-catintro__plat span{font-size:13px;color:var(--bsk-mute,#64748b)}
.bsk-catintro__plat b{font-size:13px;font-weight:700;padding:4px 12px;border-radius:999px;background:#fff5f5;border:1px solid #fbd5d7;color:var(--bsk-red-d,#c4121f)}
.bsk-catintro__pts{list-style:none;margin:0 0 6px;padding:0;display:flex;flex-wrap:wrap;gap:6px 22px}
.bsk-catintro__pts li{position:relative;padding-inline-start:24px;font-size:13.5px;color:#334155;line-height:2}
.bsk-catintro__pts li::before{content:"";position:absolute;inset-inline-start:0;top:8px;width:16px;height:16px;border-radius:50%;background:var(--bsk-red,#e4262f) no-repeat center/10px;background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7'/></svg>")}
.bsk-catintro__more{margin-top:8px}
.bsk-catintro__more summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-size:13.5px;font-weight:700;color:var(--bsk-red,#e4262f);padding:6px 0}
.bsk-catintro__more summary::-webkit-details-marker{display:none}
.bsk-catintro__more summary::after{content:"";width:8px;height:8px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg);margin-top:-3px;transition:transform .2s}
.bsk-catintro__more[open] summary::after{transform:rotate(-135deg);margin-top:3px}
.bsk-catintro__more[open] summary span{display:none}
.bsk-catintro__more[open] summary::before{content:"بستن"}
.bsk-catintro__more div{padding-top:6px;border-top:1px dashed var(--bsk-line,#e4e7ec);margin-top:4px}
.bsk-catintro__more p{margin:8px 0 0;font-size:14px;line-height:2.1;color:#475569}
@media(max-width:640px){.bsk-catintro{padding:16px 16px 12px;border-radius:14px}.bsk-catintro__lead{font-size:14.5px}.bsk-catintro__pts{display:block}}

/* ===== v2.0: رنگ جدا برای هر مورد نوار اعتماد، عکس خودرو، نمادهای فوتر ===== */
.bsk-trust-grid > div[style*="--tc"] strong{color:var(--tc)}
.bsk-trust-grid > div[style*="--tc"] strong::before{background:var(--tc)}
.bsk-car .bsk-car-img{width:100%;max-width:120px;height:62px;object-fit:contain;display:block;margin:0 auto}
.bsk-badges-extra a,.bsk-badges-extra .bsk-badge-img{display:inline-block;background:#fff;border-radius:10px;padding:8px 12px;line-height:0}
.bsk-badges-extra img{max-height:80px;width:auto;display:block}
