/**
 * FixSteel Products — Industrial RTL catalog UI
 */

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

body.fsp-products {
	margin: 0;
	min-height: 100vh;
	overflow-x: clip;
	max-width: 100%;
	font-family: 'Vazirmatn', Tahoma, 'Segoe UI', system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.65;
	color: #0f172a;
	background: transparent;
	direction: rtl;
	-webkit-font-smoothing: antialiased;
}

/* Line wash backgrounds — readable, brand-tinted */
body.fsp-products--economy.fsp-products--line,
body.fsp-products--economy.fsp-products--single {
	background: linear-gradient(180deg, #fff8f3 0%, #fffaf6 45%, #f8fafc 100%);
	color: #0f172a;
}

body.fsp-products--premium.fsp-products--line,
body.fsp-products--premium.fsp-products--single {
	background: linear-gradient(180deg, #f0f6ff 0%, #f5f9ff 45%, #f8fafc 100%);
	color: #0f172a;
}

body.fsp-products--aisi.fsp-products--line,
body.fsp-products--aisi.fsp-products--single {
	background: linear-gradient(180deg, #fffbeb 0%, #fffef5 45%, #fafaf8 100%);
	color: #0f172a;
}

body.fsp-products a {
	color: inherit;
}

/* ─── Shared buttons ───────────────────────────────────────── */
.fsp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 12px;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	border: 1px solid transparent;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.fsp-btn--primary {
	background: linear-gradient(135deg, var(--fsp-line-color, var(--fsp-blue, #1e40af)), #172554);
	color: var(--fsp-brand-gold, #ffcc00);
	box-shadow: 0 8px 24px rgba(30, 64, 175, 0.28);
}

body.fsp-products a.fsp-btn--primary {
	color: var(--fsp-brand-gold, #ffcc00);
}

.fsp-btn--primary:hover,
body.fsp-products a.fsp-btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 12px 32px rgba(30, 64, 175, 0.36);
	color: var(--fsp-brand-gold, #ffcc00);
}

/* AISI / gold line — blue label on gold button */
body.fsp-products--aisi .fsp-btn--primary {
	background: linear-gradient(135deg, var(--fsp-line-color, #ffcc00), #eab308);
	box-shadow: 0 8px 24px rgba(234, 179, 8, 0.32);
}

body.fsp-products--aisi .fsp-btn--primary,
body.fsp-products--aisi a.fsp-btn--primary,
body.fsp-products--aisi .fsp-btn--primary:hover,
body.fsp-products--aisi a.fsp-btn--primary:hover {
	color: var(--fsp-brand-blue, #1e40af);
}

/* Economy / orange line — light text for contrast */
body.fsp-products--economy .fsp-btn--primary,
body.fsp-products--economy a.fsp-btn--primary,
body.fsp-products--economy .fsp-btn--primary:hover,
body.fsp-products--economy a.fsp-btn--primary:hover {
	color: #fff;
}

.fsp-btn--ghost {
	background: #fff;
	border-color: #cbd5e1;
	color: #334155;
}

body.fsp-products a.fsp-btn--ghost {
	color: #334155;
}

.fsp-btn--ghost:hover,
body.fsp-products a.fsp-btn--ghost:hover {
	border-color: var(--fsp-line-color, #1e40af);
	color: var(--fsp-line-color, #1e40af);
}

/* ─── Nav: unified in public-shell.css ─────────────────────── */

/* Hub styles: modules/products/public/products-hub.css + modules/home/public/home.css */

/* ═══════════════════════════════════════════════════════════════
   LINE — /products/{line}/
   ═══════════════════════════════════════════════════════════════ */

.fsp-pline {
	min-height: 100vh;
	background: transparent;
}

.fsp-pline-banner {
	position: relative;
	padding: 36px 20px 40px;
	color: #fff;
	background: linear-gradient(135deg, var(--fsp-line-color) 0%, #172554 100%);
	overflow: hidden;
}

body.fsp-products--economy .fsp-pline-banner {
	background: linear-gradient(135deg, var(--fsp-line-color) 0%, #9a3412 100%);
}

body.fsp-products--aisi .fsp-pline-banner {
	color: #0f0c06;
	background: linear-gradient(135deg, var(--fsp-line-color) 0%, #eab308 100%);
}

.fsp-pline-banner__pattern {
	position: absolute;
	inset: 0;
	opacity: 0.12;
	background-image:
		repeating-linear-gradient(
			-45deg,
			transparent,
			transparent 12px,
			rgba(255, 255, 255, 0.15) 12px,
			rgba(255, 255, 255, 0.15) 13px
		);
	pointer-events: none;
}

.fsp-pline-banner__inner {
	position: relative;
	max-width: 1120px;
	margin: 0 auto;
}

.fsp-pline-crumb {
	margin-bottom: 14px;
	font-size: 13px;
	opacity: 0.85;
}

.fsp-pline-crumb a {
	color: inherit;
	text-decoration: none;
}

.fsp-pline-crumb a:hover {
	text-decoration: underline;
}

.fsp-pline-crumb span {
	opacity: 0.6;
	margin: 0 6px;
}

.fsp-pline-badge {
	display: inline-block;
	margin-bottom: 10px;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(6px);
}

body.fsp-products--aisi .fsp-pline-badge {
	background: rgba(0, 0, 0, 0.12);
}

.fsp-pline-banner h1 {
	margin: 0 0 8px;
	font-size: clamp(1.6rem, 3.5vw, 2.4rem);
	font-weight: 800;
}

.fsp-pline-tagline {
	margin: 0;
	max-width: 560px;
	font-size: 15px;
	opacity: 0.92;
	line-height: 1.6;
}

.fsp-pline-intro {
	margin: 12px 0 0;
	max-width: 640px;
	font-size: 14px;
	opacity: 0.85;
	line-height: 1.7;
}

.fsp-pline-toolbar {
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.fsp-pline-toolbar__inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.fsp-pline-toolbar__count {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: #64748b;
}

.fsp-pline-switch {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.fsp-pline-switch__link {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	color: #64748b;
	background: #f1f5f9;
	transition: background 0.15s ease, color 0.15s ease;
}

.fsp-pline-switch__link:hover {
	color: var(--fsp-line-color);
	background: color-mix(in srgb, var(--fsp-line-color) 12%, #fff);
}

.fsp-pline-switch__link.is-active {
	color: #fff;
	background: var(--fsp-line-color);
}

.fsp-pline-catalog {
	padding: 28px 20px 56px;
}

.fsp-pline-catalog__inner {
	max-width: 1120px;
	margin: 0 auto;
}

.fsp-pline-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 18px;
}

.fsp-pline-card {
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.fsp-pline-card:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--fsp-line-color) 35%, #e2e8f0);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.fsp-pline-card--incomplete {
	opacity: 0.88;
	cursor: default;
}

.fsp-pline-card--incomplete:hover {
	transform: none;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.fsp-pline-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: linear-gradient(145deg, #f1f5f9, #e2e8f0);
	overflow: hidden;
}

.fsp-pline-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
}

.fsp-pline-card:hover .fsp-pline-card__media img {
	transform: scale(1.03);
}

.fsp-pline-card__placeholder {
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, rgba(30, 64, 175, 0.08), rgba(249, 115, 22, 0.06)),
		repeating-linear-gradient(45deg, #e2e8f0 0, #e2e8f0 2px, #f8fafc 2px, #f8fafc 8px);
}

.fsp-pline-card__warn {
	position: absolute;
	bottom: 10px;
	right: 10px;
	padding: 4px 10px;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 700;
	color: #9a3412;
	background: #ffedd5;
}

.fsp-pline-card__body {
	padding: 16px 18px 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.fsp-pline-card__code {
	margin: 0 0 6px;
	font-family: ui-monospace, 'Cascadia Code', Consolas, monospace;
	font-size: 12px;
	font-weight: 700;
	color: var(--fsp-line-color);
	letter-spacing: 0.04em;
}

.fsp-pline-card__body h2 {
	margin: 0 0 10px;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
}

.fsp-pline-card__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}

.fsp-pline-card__chips li {
	padding: 3px 9px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 600;
	background: #f1f5f9;
	color: #475569;
}

.fsp-pline-card__dims {
	margin: 0 0 8px;
	font-size: 12px;
	font-family: ui-monospace, Consolas, monospace;
	color: #64748b;
}

.fsp-pline-card__summary {
	margin: 0 0 12px;
	font-size: 12px;
	color: #64748b;
	line-height: 1.55;
	flex: 1;
}

.fsp-pline-card__link {
	margin-top: auto;
	font-size: 12px;
	font-weight: 700;
	color: var(--fsp-line-color);
}

.fsp-pline-empty {
	padding: 48px 24px;
	text-align: center;
	border: 1px dashed #cbd5e1;
	border-radius: 16px;
	background: #fff;
}

.fsp-pline-empty p {
	margin: 0 0 16px;
	color: #64748b;
}

.fsp-pline-empty__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
}

.fsp-pline-empty--editorial {
	border-style: solid;
	border-color: color-mix(in srgb, var(--fsp-line-color, #1e293b) 35%, #e2e8f0);
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.88)),
		rgba(255, 255, 255, 0.55);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

/* Hardware category landing — /products/hardware/ */
.fsp-phardware-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 20px;
}

.fsp-phardware-body {
	padding: 32px 20px 56px;
}

.fsp-phardware-body__inner {
	max-width: 880px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.fsp-phardware-sections {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.fsp-phardware-section {
	padding: 20px 22px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-inline-start: 3px solid var(--fsp-line-color, #1e293b);
}

.fsp-phardware-section h2 {
	margin: 0 0 8px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
}

.fsp-phardware-section p {
	margin: 0;
	font-size: 14px;
	line-height: 1.75;
	color: #475569;
}

.fsp-phardware-grades {
	padding: 22px 24px;
	border-radius: 16px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.fsp-phardware-grades h2 {
	margin: 0 0 8px;
	font-size: 1.05rem;
	font-weight: 700;
}

.fsp-phardware-grades > p {
	margin: 0 0 16px;
	font-size: 13px;
	line-height: 1.65;
	color: #64748b;
}

.fsp-phardware-grades__links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.fsp-phardware-grade {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #e2e8f0;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.fsp-phardware-grade:hover {
	border-color: color-mix(in srgb, var(--fsp-line-color, #1e293b) 40%, #e2e8f0);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.fsp-phardware-grade strong {
	font-size: 14px;
	font-weight: 700;
	color: var(--fsp-line-color, #1e293b);
}

.fsp-phardware-grade span {
	font-size: 12px;
	color: #64748b;
	line-height: 1.4;
}

.fsp-phub-guides {
	margin-top: 28px;
	padding-top: 22px;
	border-top: 1px dashed #cbd5e1;
}

.fsp-phub-guides__label {
	margin: 0 0 12px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #64748b;
	text-transform: none;
}

.fsp-phub-row--guide {
	opacity: 0.98;
}

@media (max-width: 720px) {
	.fsp-phardware-grades__links {
		grid-template-columns: 1fr;
	}
}

/* ═══════════════════════════════════════════════════════════════
   SINGLE — /products/{line}/{code}/
   ═══════════════════════════════════════════════════════════════ */

body.fsp-products--single {
	background: linear-gradient(180deg, #f0f6ff 0%, #f8fafc 100%);
}

.fsp-psingle {
	display: flex;
	flex-direction: column;
	min-height: calc(100vh - var(--fsp-chrome-fixed-top, 64px));
	padding: 24px 0 0;
}

.fsp-psingle__inner {
	flex: 1 0 auto;
	max-width: 1140px;
	margin: 0 auto;
	padding-inline: 20px;
	width: 100%;
}

.fsp-psingle-crumb {
	margin-bottom: 20px;
	font-size: 13px;
	color: #64748b;
}

.fsp-psingle-crumb a {
	color: var(--fsp-line-color, #1e40af);
	text-decoration: none;
	font-weight: 600;
}

.fsp-psingle-crumb a:hover {
	text-decoration: underline;
}

.fsp-psingle-crumb span {
	margin: 0 6px;
	opacity: 0.5;
}

.fsp-psingle-layout {
	display: grid;
	grid-template-columns: minmax(300px, 460px) 1fr;
	gap: 24px;
	align-items: start;
}

.fsp-psingle-gallery {
	padding: 16px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.fsp-psingle-gallery__main {
	margin: 0;
	border-radius: 14px;
	overflow: hidden;
	background: linear-gradient(145deg, #f8fafc, #e2e8f0);
	border: 1px solid #e2e8f0;
}

.fsp-psingle-gallery__main img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.fsp-psingle-gallery__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.fsp-psingle-thumb {
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	background: none;
	cursor: pointer;
	width: 72px;
	height: 54px;
	transition: border-color 0.15s ease;
}

.fsp-psingle-thumb.is-active,
.fsp-psingle-thumb:hover {
	border-color: var(--fsp-line-color);
}

.fsp-psingle-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.fsp-psingle-gallery__empty {
	min-height: 320px;
	border-radius: 14px;
	background:
		linear-gradient(135deg, rgba(30, 64, 175, 0.06), rgba(249, 115, 22, 0.04)),
		repeating-linear-gradient(45deg, #e2e8f0 0, #e2e8f0 2px, #f8fafc 2px, #f8fafc 10px);
}

.fsp-psingle-sheet {
	padding: 24px 26px 28px;
	border-radius: 20px;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
}

.fsp-psingle-code {
	display: inline-block;
	margin: 0 0 10px;
	padding: 5px 12px;
	border-radius: 8px;
	font-family: ui-monospace, Consolas, monospace;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--fsp-line-color);
	background: color-mix(in srgb, var(--fsp-line-color) 10%, #fff);
	border: 1px solid color-mix(in srgb, var(--fsp-line-color) 25%, #e2e8f0);
}

.fsp-psingle-sheet h1 {
	margin: 0 0 6px;
	font-size: clamp(1.45rem, 3vw, 2rem);
	font-weight: 800;
	line-height: 1.2;
}

.fsp-psingle-line {
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 600;
	color: #64748b;
}

.fsp-psingle-dims {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 14px;
	margin-bottom: 22px;
	padding: 14px 16px;
	border-radius: 12px;
	background: linear-gradient(135deg, #f8fafc, #eff6ff);
	border-right: 4px solid var(--fsp-line-color);
}

.fsp-psingle-dims__label {
	font-size: 12px;
	font-weight: 600;
	color: #64748b;
}

.fsp-psingle-dims strong {
	font-family: ui-monospace, Consolas, monospace;
	font-size: 14px;
	color: #0f172a;
}

.fsp-psingle-specs h2,
.fsp-psingle-content h2 {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 700;
	color: #334155;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.fsp-psingle-specs__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px;
	margin: 0 0 24px;
}

.fsp-psingle-spec {
	margin: 0;
	padding: 12px 14px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.fsp-psingle-spec dt {
	margin: 0 0 4px;
	font-size: 11px;
	font-weight: 600;
	color: #64748b;
}

.fsp-psingle-spec dd {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
}

.fsp-psingle-content {
	margin-bottom: 24px;
}

.fsp-psingle-content__body {
	color: #334155;
	line-height: 1.75;
	font-size: 14px;
}

.fsp-psingle-content__body .wp-block-gallery,
.fsp-psingle-content__body .wp-block-image {
	display: none;
}

.fsp-psingle-content__body img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
}

.fsp-psingle-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	padding-top: 16px;
	margin-top: 4px;
	border-top: 1px solid #e2e8f0;
}

.fsp-psingle-secondary-actions {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.fsp-psingle-secondary-actions .fsp-btn {
	width: 100%;
	min-height: 48px;
}

.fsp-psingle-secondary-actions .fsp-btn:only-child {
	grid-column: 1 / -1;
}

.fsp-commerce-cta {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	width: 100%;
}

.fsp-commerce-purchase {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 10px;
	align-items: end;
}

.fsp-commerce-purchase:has(.fsp-btn--commerce-cart) {
	grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
}

.fsp-commerce-cart-form {
	display: contents;
	margin: 0;
}

.fsp-commerce-cart-form__qty {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.fsp-commerce-cart-form__qty-label {
	font-size: 0.82rem;
	font-weight: 600;
	color: #475569;
	white-space: nowrap;
}

.fsp-commerce-cta .fsp-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	height: 48px;
}

.fsp-commerce-cta .fsp-qty__btn {
	width: 44px;
	height: 48px;
	border: 0;
	background: #f8fafc;
	color: #0f172a;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
	flex-shrink: 0;
}

.fsp-commerce-cta .fsp-qty__btn:hover {
	background: #e2e8f0;
}

.fsp-commerce-cta .fsp-qty__input {
	width: 56px;
	height: 48px;
	border: 0;
	border-left: 1px solid #e2e8f0;
	border-right: 1px solid #e2e8f0;
	text-align: center;
	font: inherit;
	font-weight: 700;
	color: #0f172a;
	background: #fff;
	-moz-appearance: textfield;
}

.fsp-commerce-cta .fsp-qty__input::-webkit-outer-spin-button,
.fsp-commerce-cta .fsp-qty__input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.fsp-commerce-cart-form .fsp-btn--commerce,
.fsp-commerce-purchase > .fsp-btn--commerce-cart {
	width: 100%;
	min-height: 48px;
	margin: 0;
	cursor: pointer;
	font-family: inherit;
	white-space: nowrap;
}

.fsp-commerce-price-box {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	width: 100%;
	padding: 12px 14px;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
}

.fsp-commerce-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 12px;
	color: #0f172a;
	font-weight: 800;
	font-size: 1.35rem;
	line-height: 1.4;
}

.fsp-commerce-price .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.fsp-commerce-price del {
	color: #94a3b8;
	font-weight: 500;
	font-size: 1rem;
	text-decoration: line-through;
}

.fsp-commerce-price ins {
	text-decoration: none;
	color: #b45309;
}

.fsp-commerce-price .woocommerce-Price-amount {
	white-space: nowrap;
}

.fsp-commerce-price-note {
	width: 100%;
	margin: 0;
	color: #64748b;
	font-size: 0.78rem;
	line-height: 1.7;
}

.fsp-commerce-cart-state {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 3px 9px;
	border-radius: 999px;
	background: rgba(30, 64, 175, 0.08);
	color: #1e40af;
	font-size: 0.78rem;
	font-weight: 800;
}

.fsp-commerce-notices {
	width: 100%;
	margin-bottom: 4px;
}

.fsp-commerce-notices .woocommerce-message,
.fsp-commerce-notices .woocommerce-info,
.fsp-commerce-notices .woocommerce-error {
	border: 0;
	border-radius: 12px;
	padding: 12px 14px;
	margin: 0 0 10px;
	line-height: 1.8;
	font-size: 0.92rem;
}

.fsp-commerce-notices .woocommerce-message {
	background: #ecfdf5;
	color: #065f46;
}

.fsp-commerce-notices .woocommerce-error {
	background: #fff7ed;
	color: #9a3412;
}

.fsp-psingle > .fsp-brand-trust {
	flex-shrink: 0;
	margin-top: 48px;
	width: 100%;
	max-width: none;
	background: #eef2f7;
	border-top: 1px solid #e2e8f0;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.fsp-psingle > .fsp-brand-gateway {
	flex-shrink: 0;
	width: 100%;
	max-width: none;
	background: #fff;
	border-top: 1px solid #e2e8f0;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.fsp-psingle > .fsp-brand-gateway .fsp-brand-gateway__inner,
.fsp-pline > .fsp-brand-gateway .fsp-brand-gateway__inner {
	padding-bottom: calc(24px + var(--fsp-mobile-dock-h, 0px));
}

.fsp-pline > .fsp-brand-trust {
	margin-top: 40px;
	width: 100%;
	max-width: none;
	background: #eef2f7;
	border-top: 1px solid #e2e8f0;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.fsp-pline > .fsp-brand-gateway {
	width: 100%;
	max-width: none;
	background: #fff;
	border-top: 1px solid #e2e8f0;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

/* gateway inner padding: see combined rule above with .fsp-psingle */

/* ─── Notice ───────────────────────────────────────────────── */
.fsp-products-notice__inner {
	min-height: 50vh;
	display: grid;
	place-items: center;
	padding: 24px;
	text-align: center;
	color: #64748b;
}

/* ─── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
	.fsp-psingle-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.fsp-pline-switch {
		width: 100%;
	}

	.fsp-pline-toolbar__inner {
		flex-direction: column;
		align-items: stretch;
		padding-inline: var(--fsp-page-pad-x, 16px);
	}

	.fsp-pline-banner {
		padding: 28px var(--fsp-page-pad-x, 16px) 32px;
	}

	.fsp-pline-catalog {
		padding: 24px var(--fsp-page-pad-x, 16px) 40px;
	}

	.fsp-pline-grid {
		grid-template-columns: 1fr;
	}

	.fsp-psingle-sheet {
		padding: 18px var(--fsp-page-pad-x, 16px) 22px;
	}

	.fsp-psingle-specs__grid {
		grid-template-columns: 1fr;
	}

	.fsp-psingle-secondary-actions {
		grid-template-columns: 1fr;
	}

	.fsp-commerce-price-box {
		align-items: center;
		text-align: center;
	}

	.fsp-commerce-price {
		justify-content: center;
	}

	.fsp-commerce-purchase,
	.fsp-commerce-purchase:has(.fsp-btn--commerce-cart) {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.fsp-commerce-cart-form__qty {
		align-items: center;
	}

	.fsp-commerce-cart-form .fsp-btn--commerce,
	.fsp-commerce-purchase > .fsp-btn--commerce-cart {
		min-height: 52px;
	}

	.fsp-commerce-cart-state {
		align-self: center;
	}

	.fsp-psingle > .fsp-brand-gateway .fsp-brand-gateway__inner,
	.fsp-pline > .fsp-brand-gateway .fsp-brand-gateway__inner {
		padding-bottom: calc(28px + var(--fsp-mobile-dock-h, 56px));
	}
}
