/*
 * Farhina Core — storefront styles.
 * Moved verbatim from Angie snippets 484 (cards, digits, sale banner), 486 (support badge) and 488 (mobile header)
 * so they ship as one cacheable file instead of inline <style> on every page.
 * Theme-coupled selectors are listed in the audit; they move to bazarak-child during the redesign phase.
 */

/* 1. Persian numerals (IRANSansXV stylistic set ss02) */
.price,
.amount,
.woocommerce-Price-amount,
.bazarak-product-card .font-bold,
.bazarak-product-card .mt-auto,
.bazarak-product-buybox .price,
.cart-subtotal,
.order-total,
.woocommerce-mini-cart__total,
del,
ins {
	font-feature-settings: "ss02" 1 !important;
}

/* 2. Mobile product card & sale banner */
@media (max-width: 767.98px) {
	.bazarak-products-widget .keen-slider__slide,
	.bazarak-sale-products-widget .keen-slider__slide {
		min-width: calc((100% - 12px) / 2) !important;
		max-width: calc((100% - 12px) / 2) !important;
		box-sizing: border-box !important;
	}
	.bazarak-product-card {
		border-radius: 14px !important;
		padding: 10px 8px !important;
		border: 1px solid #f1f5f9 !important;
		background-color: #ffffff !important;
		box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
		width: 100% !important;
		box-sizing: border-box !important;
		margin: 0 !important;
	}
	.bazarak-product-card .aspect-square {
		border-radius: 10px !important;
		background-color: #f8fafc !important;
		overflow: hidden !important;
	}
	.bazarak-product-card img {
		border-radius: 10px !important;
		max-height: 125px !important;
		width: auto !important;
		max-width: 100% !important;
		margin: 0 auto !important;
		object-fit: contain !important;
	}
	.bazarak-product-card [data-bazarak-product-card-cart] {
		bottom: 6px !important;
		inset-inline-end: 6px !important;
	}
	.bazarak-product-card [data-bazarak-product-card-cart] button[data-bazarak-card-cart-add] {
		width: 32px !important;
		height: 32px !important;
		border-radius: 8px !important;
		box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07) !important;
		border: 1px solid rgba(0, 0, 0, 0.05) !important;
	}
	.bazarak-product-card [data-bazarak-product-card-cart] button[data-bazarak-card-cart-add] svg {
		width: 15px !important;
		height: 15px !important;
	}
	.bazarak-product-card [data-bazarak-card-cart-quantity] {
		height: 32px !important;
		border-radius: 8px !important;
		padding: 0 4px !important;
	}
	.bazarak-product-card [data-bazarak-card-cart-quantity] button {
		width: 22px !important;
		height: 22px !important;
	}
	.bazarak-product-card .add-wishlist {
		width: 28px !important;
		height: 28px !important;
		border-radius: 8px !important;
		top: 6px !important;
		inset-inline-end: 6px !important;
		border: 1px solid rgba(0, 0, 0, 0.05) !important;
	}
	.bazarak-product-card .add-wishlist svg {
		width: 13px !important;
		height: 13px !important;
	}
	.bazarak-product-card-title {
		font-size: 11.5px !important;
		line-height: 1.45rem !important;
		min-height: 2.9rem !important;
		margin-top: 6px !important;
		font-weight: 700 !important;
		display: -webkit-box !important;
		-webkit-line-clamp: 2 !important;
		-webkit-box-orient: vertical !important;
		overflow: hidden !important;
		color: #1e293b !important;
	}
	.bazarak-product-card .mt-5 {
		margin-top: 4px !important;
	}
	.bazarak-product-card .mb-3 {
		margin-bottom: 2px !important;
		min-height: 16px !important;
	}
	.bazarak-product-card .text-emerald-600 {
		font-size: 10px !important;
		font-weight: 600 !important;
	}
	.bazarak-product-card .mt-auto.pt-4 {
		padding-top: 4px !important;
	}
	.bazarak-product-card del {
		font-size: 10px !important;
		line-height: 1.2rem !important;
		color: #94a3b8 !important;
	}
	.bazarak-product-card .text-sm.font-bold {
		font-size: 12px !important;
		font-weight: 800 !important;
		letter-spacing: -0.2px !important;
	}
	.bazarak-product-card .text-tiny.text-neutral-400 {
		font-size: 9px !important;
	}
	.bazarak-product-card .bg-primary-600.rounded-full {
		padding: 1px 5px !important;
		font-size: 10px !important;
		border-radius: 5px !important;
		font-weight: 700 !important;
	}
	.bazarak-sale-products-widget > div:first-child {
		border-radius: 16px !important;
		padding: 10px 14px !important;
		margin-bottom: 12px !important;
		min-height: unset !important;
		height: auto !important;
		display: block !important;
		background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
		box-shadow: 0 4px 12px rgba(2, 132, 199, 0.18) !important;
	}
	.bazarak-sale-products-widget > div:first-child > span.pointer-events-none {
		display: none !important;
	}
	.bazarak-sale-products-widget > div:first-child > div.relative {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: flex-start !important;
		gap: 8px !important;
		height: auto !important;
		padding: 0 !important;
	}
	.bazarak-sale-products-widget > div:first-child span.size-14 {
		width: 30px !important;
		height: 30px !important;
		min-width: 30px !important;
		border-radius: 8px !important;
		margin: 0 !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		background-color: #ffffff !important;
		color: #0284c7 !important;
	}
	.bazarak-sale-products-widget > div:first-child span.size-14 svg {
		width: 16px !important;
		height: 16px !important;
	}
	.bazarak-sale-products-widget > div:first-child h2.section-title {
		font-size: 13.5px !important;
		line-height: 1.3 !important;
		margin: 0 !important;
		font-weight: 800 !important;
		white-space: nowrap !important;
		color: #ffffff !important;
		display: block !important;
	}
	.bazarak-sale-products-widget > div:first-child p,
	.bazarak-sale-products-widget > div:first-child div.mt-6 {
		display: none !important;
	}
	.bazarak-sale-products-widget > div:first-child div.mt-auto {
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
		width: auto !important;
		margin-inline-start: auto !important;
	}
	.bazarak-sale-products-widget > div:first-child div.mt-auto a {
		height: 28px !important;
		padding: 0 10px !important;
		font-size: 11px !important;
		border-radius: 8px !important;
		font-weight: 700 !important;
		white-space: nowrap !important;
		background: rgba(255, 255, 255, 0.22) !important;
		border: 1px solid rgba(255, 255, 255, 0.35) !important;
		color: #ffffff !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 4px !important;
		margin: 0 !important;
	}
	.bazarak-sale-products-widget > div:first-child div.mt-auto a svg {
		width: 10px !important;
		height: 10px !important;
	}
}

/* 3. Mobile floating support badge (snippet 486) — logical properties, brand colour */
@media (max-width: 639.98px) {
	[data-bazarak-support-float] {
		padding-inline-start: 12px !important;
		padding-inline-end: 18px !important;
		height: 46px !important;
		border-radius: 14px !important;
		gap: 10px !important;
		box-shadow: 0 4px 16px rgba(35, 167, 158, 0.3) !important;
	}
	[data-bazarak-support-float] > span:first-child {
		width: 30px !important;
		height: 30px !important;
		min-width: 30px !important;
		border-radius: 9px !important;
		background-color: rgba(255, 255, 255, 0.22) !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
	}
	[data-bazarak-support-float] > span:last-child {
		display: inline-block !important;
		font-size: 13px !important;
		font-weight: 700 !important;
		color: #ffffff !important;
		white-space: nowrap !important;
		line-height: 1 !important;
	}
}

/* 4. Mobile header: centred logo (snippet 488) */
@media (max-width: 767.98px) {
	#bazarakStickyHeader .container > div.relative {
		position: relative !important;
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
	}
	#bazarakStickyHeader .container > div.relative > a:first-child {
		position: absolute !important;
		left: 50% !important;
		top: 50% !important;
		transform: translate(-50%, -50%) !important;
		z-index: 10 !important;
		margin: 0 !important;
		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: auto !important;
		max-width: none !important;
		pointer-events: auto !important;
	}
	#bazarakStickyHeader .bazarak-site-logo {
		width: var(--mobile-logo-width, 80px) !important;
		max-width: var(--mobile-logo-width, 80px) !important;
		height: auto !important;
		max-height: none !important;
		object-fit: contain !important;
		margin: 0 auto !important;
	}
	#bazarakStickyHeader .container > div.relative > div.lg\:hidden {
		width: 100% !important;
		display: flex !important;
		align-items: center !important;
		justify-content: flex-start !important;
		margin: 0 !important;
		z-index: 5 !important;
	}
	#bazarakStickyHeader #mobileMenuBtn {
		order: -1 !important;
		margin-inline-end: auto !important;
		margin-inline-start: 0 !important;
	}
	#bazarakStickyHeader .container > div.relative > div.lg\:hidden > a,
	#bazarakStickyHeader .container > div.relative > div.lg\:hidden > button:not(#mobileMenuBtn) {
		order: 1 !important;
	}
	#bazarakStickyHeader .container > div.relative > div.lg\:hidden > * {
		width: 44px !important;
		height: 44px !important;
		min-width: 44px !important;
		border-radius: 12px !important;
	}
}

/* 5. Mobile polish (2026-09-25) */
/* Breadcrumb: keep horizontal scroll, hide the scrollbar. */
[aria-label="بردکرامب"] { scrollbar-width: none; -ms-overflow-style: none; }
[aria-label="بردکرامب"]::-webkit-scrollbar { display: none; }

@media (max-width: 767.98px) {
	/* Home trust bar (Elementor widget 73274f5): compact 2x2 cards. */
	.elementor-element-73274f5 .grid > div {
		padding: 16px 12px !important;
		border-radius: 22px !important;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	.elementor-element-73274f5 .bazarak-feature-icon {
		width: 44px !important;
		height: 44px !important;
		margin-bottom: 10px !important;
		border-radius: 14px !important;
	}
	.elementor-element-73274f5 b { font-size: 13px; line-height: 1.6; }
	.elementor-element-73274f5 p { margin-top: 4px !important; font-size: 11.5px; line-height: 1.7; }

}

@media (max-width: 1023.98px) {
	/* Floating buttons: support lives in the bottom bar (kept on product pages, where the bottom bar is replaced by
	   the buy bar); the order-tracker button stays as a small labelled pill except where it would cover the buy/checkout UI. */
	.single-product .fsot--floating,
	.woocommerce-cart .fsot--floating,
	.woocommerce-checkout .fsot--floating,
	.page-id-806 .fsot--floating { display: none !important; }
}


/* 6. Mobile home sections (2026-09-25) */
@media (max-width: 1023.98px) {
	/* Order-tracker pill: icon + short label, sits above the bottom bar. */
	.fsot--floating .fsot__fab {
		width: auto !important;
		height: 44px !important;
		padding: 0 14px 0 12px !important;
		display: inline-flex !important;
		align-items: center;
		gap: 6px;
		border-radius: 14px !important;
		font: inherit;
		font-size: 12.5px;
		font-weight: 800;
	}
	.fsot--floating .fsot__fab-icon { width: 20px; height: 20px; }
	.fsot--floating .fsot__fab-icon svg { width: 20px !important; height: 20px !important; }
	.fsot--floating .fsot__fab::after { content: "پیگیری سفارش"; white-space: nowrap; }
}

@media (max-width: 767.98px) {
	/* Categories: one scrollable row of round "story" icons instead of a 2x2 grid. */
	.bazarak-categories-widget > .mb-8 { margin-bottom: 14px !important; }
	.bazarak-categories-widget > .grid {
		display: flex !important;
		justify-content: space-between;
		gap: 6px !important;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding: 5px 5px 6px;
	}
	.bazarak-categories-widget > .grid::-webkit-scrollbar { display: none; }
	.bazarak-categories-widget > .grid > a {
		flex: 0 0 82px;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		border-radius: 0 !important;
		text-align: center;
		scroll-snap-align: start;
		transform: none !important;
	}
	.bazarak-categories-widget > .grid > a > div:first-child {
		width: 80px !important;
		height: 80px !important;
		margin-inline: auto;
		padding: 3px;
		border-radius: 50% !important;
		background: #eef8f7 !important;
		box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(35, 167, 158, 0.35);
	}
	.bazarak-categories-widget > .grid > a > b {
		margin-top: 10px !important;
		font-size: 12px !important;
		line-height: 1.5;
		white-space: nowrap;
	}
	.bazarak-categories-widget > .grid > a > p { display: none !important; }

	/* FAQ: compact heading card (title, one line, support button) above tighter question items. */
	.bazarak-faq-widget > div:not(.faq-group) { order: 0 !important; }
	.bazarak-faq-widget > div:not(.faq-group) > .sticky {
		position: relative !important;
		top: auto !important;
		padding: 18px 18px 16px !important;
		border-radius: 22px !important;
	}
	.bazarak-faq-widget > div:not(.faq-group) > .sticky > .relative > div:first-child { display: none !important; }
	.bazarak-faq-widget > div:not(.faq-group) h2 { margin-top: 0 !important; font-size: 18px; }
	.bazarak-faq-widget > div:not(.faq-group) h2 + p { margin-top: 6px !important; font-size: 13px; line-height: 1.8; }
	.bazarak-faq-widget > div:not(.faq-group) .grid { display: none !important; }
	.bazarak-faq-widget > div:not(.faq-group) a.button { margin-top: 12px !important; height: 46px !important; }
	.bazarak-faq-widget .faq-group > * + * { margin-top: 8px !important; }
	.bazarak-faq-widget .bazarak-faq-item { border-radius: 18px !important; }
	.bazarak-faq-widget .bazarak-faq-button { padding: 14px 16px !important; gap: 12px !important; }
	.bazarak-faq-widget .bazarak-faq-button .text-base { font-size: 14px !important; line-height: 1.7; }
	.bazarak-faq-widget .bazarak-faq-button .mb-2 { margin-bottom: 2px !important; }
	.bazarak-faq-widget .bazarak-faq-icon { width: 34px !important; height: 34px !important; padding: 0 !important; border-radius: 12px !important; }
	.bazarak-faq-widget .bazarak-faq-content { padding: 0 16px 14px !important; }
	.bazarak-faq-widget .bazarak-faq-content > div { padding-top: 10px !important; font-size: 13px; line-height: 1.9; }
}.bazarak-categories-widget > .grid > a > div:first-child img { width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important; object-fit: cover; border-radius: 50%; }

/* 7. Home "about" (media CTA fa51003), trust features (73274f5) and compact mobile footer (2026-09-25) */
.elementor-element-fa51003 .bazarak-media-cta {
	position: relative;
	border: 0 !important;
	background: linear-gradient(135deg, #eef8f7 0%, #f7fbfb 45%, #fff 100%) !important;
	box-shadow: none !important;
	border-radius: 32px !important;
}
.elementor-element-fa51003 .bazarak-media-cta h1::before {
	content: "درباره فرهینا";
	display: table;
	margin-bottom: 12px;
	padding: 4px 12px;
	border: 1px solid rgba(35, 167, 158, 0.25);
	border-radius: 999px;
	background: #fff;
	color: #1a7f78;
	font-size: 12px;
	font-weight: 800;
	line-height: 1.8;
}
.elementor-element-fa51003 .bazarak-media-cta h1 { font-weight: 900; line-height: 1.7; }
.elementor-element-fa51003 .bazarak-media-cta p { line-height: 2; }
.elementor-element-fa51003 .bazarak-media-cta ul { display: grid; gap: 8px; }
.elementor-element-fa51003 .bazarak-media-cta ul > li {
	margin: 0 !important;
	padding: 8px 10px;
	border: 1px solid #e3f1ef;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.85);
	color: #2f3a4a;
	font-weight: 700;
}
.elementor-element-fa51003 .bazarak-media-cta ul > li > span:first-child { width: 28px; height: 28px; border-radius: 10px; background: #e3f4f2 !important; color: #1a7f78 !important; }
.elementor-element-fa51003 .bazarak-media-cta ul > li > span:first-child svg { width: 13px; height: 13px; fill: currentColor; }
.elementor-element-fa51003 .bazarak-media-cta .group { position: relative; }
.elementor-element-fa51003 .bazarak-media-cta .group img {
	position: relative;
	z-index: 1;
	width: 100% !important;
	aspect-ratio: 16 / 10;
	height: auto !important;
	object-fit: cover !important;
	border-radius: 24px !important;
	box-shadow: 0 28px 60px -32px rgba(15, 23, 42, 0.45);
}
.elementor-element-fa51003 .bazarak-media-cta .group::after {
	content: "✓  ۱۰۰٪ اصل با ضمانت اصالت";
	position: absolute;
	z-index: 2;
	bottom: 14px;
	right: 14px;
	padding: 7px 12px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.95);
	color: #1a7f78;
	font-size: 12px;
	font-weight: 800;
	box-shadow: 0 10px 24px -12px rgba(15, 23, 42, 0.35);
}
@media (min-width: 1024px) {
	.elementor-element-fa51003 .bazarak-media-cta { padding: 40px 44px !important; }
	.elementor-element-fa51003 .bazarak-media-cta > .grid { grid-template-columns: 1.05fr 1fr; gap: 48px; }
	.elementor-element-fa51003 .bazarak-media-cta h1 { font-size: 26px; }
	.elementor-element-fa51003 .bazarak-media-cta p { font-size: 15px; }
	.elementor-element-fa51003 .bazarak-media-cta .group img { aspect-ratio: 4 / 3; max-height: 400px; }
	.elementor-element-fa51003 .bazarak-media-cta .group::before {
		content: "";
		position: absolute;
		inset: 18px -14px -14px 18px;
		border-radius: 28px;
		background: rgba(35, 167, 158, 0.14);
		transform: rotate(-2deg);
	}
	.elementor-element-fa51003 .bazarak-media-cta a.mt-7 { margin-top: 22px !important; }
}
@media (max-width: 1023.98px) {
	.elementor-element-fa51003 .bazarak-media-cta { padding: 14px 14px 18px !important; border-radius: 24px !important; }
	.elementor-element-fa51003 .bazarak-media-cta > .grid { gap: 16px !important; }
	.elementor-element-fa51003 .bazarak-media-cta .group { order: -1; }
	.elementor-element-fa51003 .bazarak-media-cta > .grid > div:not(.group) { padding-inline: 4px; }
	.elementor-element-fa51003 .bazarak-media-cta h1 { font-size: 18px; }
	.elementor-element-fa51003 .bazarak-media-cta p { margin-top: 8px !important; font-size: 13.5px; line-height: 1.95; }
	.elementor-element-fa51003 .bazarak-media-cta ul { margin-top: 12px !important; }
	.elementor-element-fa51003 .bazarak-media-cta ul > li { font-size: 13px; padding: 7px 9px; }
	.elementor-element-fa51003 .bazarak-media-cta a.mt-7 { margin-top: 14px !important; height: 46px !important; }
	.elementor-element-fa51003 .bazarak-media-cta .group::after { bottom: 10px; right: 10px; font-size: 11px; padding: 5px 10px; }
}

/* Trust features: compact horizontal cards (icon beside text) on tablet/desktop. */
@media (min-width: 768px) {
	.elementor-element-73274f5 .grid > div {
		display: grid;
		grid-template-columns: auto 1fr;
		column-gap: 14px;
		align-items: center;
		padding: 16px 18px !important;
		border-radius: 20px !important;
	}
	.elementor-element-73274f5 .bazarak-feature-icon {
		grid-row: 1 / span 2;
		margin: 0 !important;
		width: 50px !important;
		height: 50px !important;
		border-radius: 16px !important;
	}
	.elementor-element-73274f5 .grid > div > b { align-self: end; font-size: 15px; line-height: 1.6; }
	.elementor-element-73274f5 .grid > div > p { align-self: start; margin-top: 2px !important; line-height: 1.8; }
	.elementor-element-73274f5 .grid > div:hover { transform: translateY(-3px) !important; }
}

/* Mobile/tablet footer: denser layout, merged cards, no oversized whitespace. */
@media (max-width: 1023.98px) {
	footer:not(.fsf) > .container > div:first-child {
		flex-direction: row !important;
		justify-content: space-between;
		gap: 12px !important;
		margin-bottom: 16px !important;
		padding: 12px 14px !important;
		border-radius: 22px !important;
	}
	footer:not(.fsf) > .container > div:first-child .bazarak-site-logo { width: auto !important; height: 46px !important; }
	footer:not(.fsf) > .container > div:first-child > div { gap: 8px !important; flex-wrap: nowrap !important; }
	footer:not(.fsf) > .container > div:first-child > div > a { height: 40px !important; padding-inline: 12px !important; border-radius: 12px !important; font-size: 13px; white-space: nowrap; }
	footer:not(.fsf) > .container > div:first-child > div > a:last-child { width: 40px; padding: 0 !important; font-size: 0 !important; gap: 0 !important; }
	footer:not(.fsf) > .container > div:first-child > div > a:last-child svg { width: 14px; height: 10px; }

	footer:not(.fsf) > .container > div:nth-child(2) { gap: 16px !important; padding-bottom: 16px !important; }
	/* About + trust seal side by side. */
	footer:not(.fsf) > .container > div:nth-child(2) > div:first-child {
		display: grid;
		grid-template-columns: 1fr auto;
		column-gap: 12px;
		align-items: start;
	}
	footer:not(.fsf) > .container > div:nth-child(2) > div:first-child > h3,
	footer:not(.fsf) > .container > div:nth-child(2) > div:first-child > p { grid-column: 1; }
	footer:not(.fsf) > .container > div:nth-child(2) > div:first-child > div {
		grid-column: 2;
		grid-row: 1 / span 2;
		display: flex !important;
		gap: 6px !important;
		margin-top: 0 !important;
	}
	footer:not(.fsf) > .container > div:nth-child(2) > div:first-child > div > div { width: 76px; min-height: 76px !important; padding: 4px !important; border-radius: 16px !important; }
	footer:not(.fsf) > .container > div:nth-child(2) > div:first-child > div img { width: 66px !important; height: auto !important; }
	footer:not(.fsf) > .container > div:nth-child(2) h3 { font-size: 15px !important; }
	footer:not(.fsf) > .container > div:nth-child(2) > div:first-child > p { margin-top: 6px !important; font-size: 12.5px; line-height: 1.95; }
	/* Link accordions merged into one card. */
	footer:not(.fsf) > .container > div:nth-child(2) > div:nth-child(2) {
		gap: 0 !important;
		border: 1px solid rgba(229, 231, 235, 0.7);
		border-radius: 18px;
		background: #fff;
		overflow: hidden;
	}
	footer:not(.fsf) > .container > div:nth-child(2) > div:nth-child(2) > div { border: 0 !important; border-radius: 0 !important; padding: 10px 14px !important; }
	footer:not(.fsf) > .container > div:nth-child(2) > div:nth-child(2) > div + div { border-top: 1px solid #f1f2f4 !important; }
	footer:not(.fsf) > .container > div:nth-child(2) [data-footer-accordion] span:first-child { font-size: 14px !important; }
	footer:not(.fsf) > .container > div:nth-child(2) [data-footer-accordion-icon] { width: 30px !important; height: 30px !important; border-radius: 10px !important; }
	footer:not(.fsf) > .container > div:nth-child(2) [data-footer-accordion-content] ul { margin-top: 8px !important; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
	footer:not(.fsf) > .container > div:nth-child(2) [data-footer-accordion-content] ul > li { margin: 0 !important; font-size: 13px; }
	/* Contact rows merged into one card. */
	footer:not(.fsf) > .container > div:nth-child(2) > div:nth-child(3) > .mt-5 {
		margin-top: 8px !important;
		padding: 2px 14px;
		border: 1px solid rgba(229, 231, 235, 0.7);
		border-radius: 18px;
		background: #fff;
	}
	footer:not(.fsf) > .container > div:nth-child(2) > div:nth-child(3) > .mt-5 > div {
		margin: 0 !important;
		padding: 10px 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		background: transparent !important;
		align-items: center !important;
	}
	footer:not(.fsf) > .container > div:nth-child(2) > div:nth-child(3) > .mt-5 > div + div { border-top: 1px solid #f1f2f4 !important; }
	footer:not(.fsf) > .container > div:nth-child(2) > div:nth-child(3) > .mt-5 > div > div:first-child { width: 34px !important; height: 34px !important; min-width: 34px; border-radius: 11px !important; }
	footer:not(.fsf) > .container > div:nth-child(2) > div:nth-child(3) > .mt-5 b { font-size: 13px; }
	footer:not(.fsf) > .container > div:nth-child(2) > div:nth-child(3) > .mt-5 b + div,
	footer:not(.fsf) > .container > div:nth-child(2) > div:nth-child(3) > .mt-5 div > div:last-child { font-size: 12px; line-height: 1.8; }
	/* Bottom bar: one compact row. */
	footer:not(.fsf) > .container > div:nth-child(3) {
		flex-direction: row !important;
		align-items: center;
		justify-content: space-between;
		gap: 10px !important;
		padding: 12px 0 16px !important;
		text-align: right !important;
	}
	footer:not(.fsf) > .container > div:nth-child(3) > p { font-size: 11.5px; line-height: 1.8; }
	footer:not(.fsf) > .container > div:nth-child(3) > div { flex-wrap: nowrap !important; }
	footer:not(.fsf) > .container > div:nth-child(3) > div > a { width: 38px !important; height: 38px !important; border-radius: 12px !important; }
}
/* fc-nav-narrow: on small desktops (1024-1199px) the header menu is ~80px wider than the bar, which pushed
   "شگفت‌انگیزها" off-screen and caused a horizontal scroll. Drop the item icons and tighten spacing there. */
@media (min-width: 1024px) and (max-width: 1199.98px) {
	#bazarakHeaderMenu > div:first-child { gap: 8px !important; }
	#bazarakHeaderMenu > div:first-child ul { gap: 4px !important; }
	#bazarakHeaderMenu > div:first-child ul > li > a { padding-inline: 6px !important; gap: 0 !important; }
	#bazarakHeaderMenu > div:first-child ul > li > a svg,
	#bazarakHeaderMenu > div:first-child ul > li > a img { display: none !important; }
	#bazarakHeaderMenu > div:last-child { gap: 6px !important; }
	#bazarakHeaderMenu > div:last-child > * { padding-inline: 10px !important; }
}
/* Question/answer blocks (core "details", e.g. the FAQ page) as cards. */
.wp-block-details { margin: 10px 0; padding: 0; border: 1px solid #e2e8f0; border-radius: 18px; background: #fff; overflow: hidden; }
.wp-block-details > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; list-style: none; cursor: pointer; font-weight: 800; color: #0f172a; line-height: 1.8; }
.wp-block-details > summary::-webkit-details-marker { display: none; }
.wp-block-details > summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid #94a3b8; border-bottom: 2px solid #94a3b8; transform: rotate(45deg); transition: transform .2s; }
.wp-block-details[open] > summary { color: #1a7f78; }
.wp-block-details[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.wp-block-details > :not(summary) { margin: 0; padding: 0 16px 16px; color: #475569; line-height: 2; }
.wp-block-details a { color: #1a7f78; font-weight: 700; }

/* Order-tracking page: the tracker card is inline there, so it must not float above the header/bottom bar,
   and its bottom-sheet drag handle does not belong on an inline card. */
.fsot--inline .fsot__modal { z-index: auto !important; }
.fsot--inline .fsot__dialog::after { display: none !important; }

/* Cart/checkout steps (سبد خرید / تسویه حساب / تکمیل سفارش) in one compact row on phones and tablets. */
@media (max-width: 1023.98px) {
	div.flex-col:has(> div.h-\[2px\]) { flex-direction: row !important; align-items: flex-start !important; gap: 6px !important; }
	div.flex-col:has(> div.h-\[2px\]) > div.h-\[2px\] { display: block !important; flex: 1 1 12px; min-width: 10px; margin-top: 19px; }
	div.flex-col:has(> div.h-\[2px\]) > div.flex-1 { flex: 0 0 auto !important; flex-direction: column; gap: 6px !important; text-align: center; }
	div.flex-col:has(> div.h-\[2px\]) > div.flex-1 > div:first-child { width: 40px !important; height: 40px !important; border-radius: 14px !important; box-shadow: none !important; }
	div.flex-col:has(> div.h-\[2px\]) > div.flex-1 > div:first-child svg { width: 18px; height: 18px; }
	div.flex-col:has(> div.h-\[2px\]) > div.flex-1 .text-base { font-size: 12px !important; line-height: 1.6; white-space: nowrap; }
	div.rounded-\[36px\]:has(> div.flex-col > div.h-\[2px\]) { padding: 12px 14px !important; border-radius: 24px !important; }
}
