/* Belhasa Dynamic Product Page — scoped frontend styles */
.bsp-page,
.bsp-page * {
	box-sizing: border-box;
}

.bsp-page {
	--bsp-accent: #f7940a;
	--bsp-navy: #142330;
	--bsp-text: #4f5d6b;
	--bsp-muted: #73808d;
	--bsp-line: #e4e9ed;
	--bsp-soft: #f5f7f8;
	--bsp-white: #fff;
	color: var(--bsp-text);
	font-family: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
	font-size: 15px;
	line-height: 1.6;
}

.bsp-page button,
.bsp-page input,
.bsp-page textarea {
	font: inherit;
}

.bsp-page img {
	display: block;
	max-width: 100%;
}

.bsp-page a {
	color: inherit;
	text-decoration: none;
}

.bsp-shell {
	width: min(100% - 40px, 1440px);
	margin: 0 auto;
	padding: 18px 0 72px;
}

.bsp-breadcrumb,
.bsp-breadcrumb .woocommerce-breadcrumb {
	margin: 0 0 25px;
	color: #74808d;
	font-size: 13px;
}

.bsp-breadcrumb span {
	display: inline-block;
	margin: 0 9px;
	color: #a4adb5;
}

.bsp-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(34px, 5vw, 74px);
	align-items: start;
}

.bsp-gallery {
	display: grid;
	grid-template-columns: 86px minmax(0, 1fr);
	gap: 20px;
	min-width: 0;
}

.bsp-thumbnails {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bsp-thumb {
	width: 86px;
	min-width: 0;
	aspect-ratio: 1 / 1;
	padding: 7px;
	border: 1px solid var(--bsp-line);
	border-radius: 8px;
	background: var(--bsp-soft);
	cursor: pointer;
	overflow: hidden;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bsp-thumb:hover,
.bsp-thumb:focus-visible,
.bsp-thumb.is-active {
	border-color: var(--bsp-accent);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--bsp-accent) 18%, transparent);
	outline: 0;
}

.bsp-thumb:hover {
	transform: translateY(-2px);
}

.bsp-thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.bsp-main-image-wrap {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 570px;
	padding: clamp(28px, 5vw, 64px);
	border-radius: 8px;
	background: linear-gradient(145deg, #f6f8f9, #edf1f3);
	overflow: hidden;
}

.bsp-main-image {
	width: 100%;
	max-height: 480px;
	object-fit: contain;
	filter: drop-shadow(0 18px 22px rgba(19, 35, 48, .13));
	transition: opacity .16s ease, transform .25s ease;
}

.bsp-main-image.is-changing {
	opacity: .25;
	transform: scale(.98);
}

.bsp-expand {
	position: absolute;
	top: 15px;
	right: 15px;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 10px;
	border: 0;
	border-radius: 8px;
	background: rgba(255, 255, 255, .92);
	color: var(--bsp-navy);
	box-shadow: 0 8px 24px rgba(20, 35, 48, .08);
	cursor: pointer;
}

.bsp-expand svg,
.bsp-modal-close svg,
.bsp-lightbox button svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.bsp-summary {
	min-width: 0;
	padding-top: 3px;
}

.bsp-brand {
	margin-bottom: 5px;
	color: #687584;
	font-size: 17px;
	font-weight: 500;
}

.bsp-title {
	margin: 0;
	color: var(--bsp-navy);
	font-size: clamp(31px, 3.1vw, 49px);
	font-weight: 700;
	letter-spacing: -.035em;
	line-height: 1.16;
	text-wrap: balance;
}

.bsp-subtitle {
	margin: 8px 0 15px;
	color: #667384;
	font-size: 17px;
}

.bsp-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 0;
	margin-bottom: 18px;
	color: #667584;
	font-size: 14px;
}

.bsp-meta span + span::before {
	content: "";
	display: inline-block;
	width: 1px;
	height: 16px;
	margin: 0 18px -3px;
	background: #cdd4d9;
}

.bsp-meta a {
	color: var(--bsp-accent);
	font-weight: 600;
}

.bsp-short-description {
	margin-bottom: 22px;
	color: #586574;
	font-size: 15px;
}

.bsp-short-description p:last-child {
	margin-bottom: 0;
}

.bsp-features {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 0 20px;
	border: 1px solid var(--bsp-line);
	border-radius: 8px;
	background: #fbfcfc;
	overflow: hidden;
}

.bsp-feature {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 72px;
	padding: 12px;
	color: var(--bsp-navy);
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.35;
}

.bsp-feature + .bsp-feature {
	border-left: 1px solid var(--bsp-line);
}

.bsp-feature svg,
.bsp-trust svg,
.bsp-quote-button svg,
.bsp-form-footer svg {
	flex: 0 0 auto;
	width: 29px;
	height: 29px;
	fill: none;
	stroke: var(--bsp-accent);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
}

.bsp-spec-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 22px;
}

.bsp-spec-card {
	min-width: 0;
	min-height: 72px;
	padding: 12px 14px;
	border-radius: 7px;
	background: var(--bsp-soft);
}

.bsp-spec-card span,
.bsp-spec-card strong {
	display: block;
}

.bsp-spec-card span {
	margin-bottom: 3px;
	color: #64717e;
	font-size: 11px;
}

.bsp-spec-card strong {
	color: #596673;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	overflow-wrap: anywhere;
}

.bsp-quote-button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	width: 100%;
	min-height: 62px;
	padding: 14px 28px;
	border: 2px solid var(--bsp-accent);
	border-radius: 7px;
	background: var(--bsp-accent);
	color: var(--bsp-white);
	font-weight: 700;
	letter-spacing: .015em;
	cursor: pointer;
	box-shadow: 0 12px 24px color-mix(in srgb, var(--bsp-accent) 20%, transparent);
	transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.bsp-quote-button svg,
.bsp-form-footer button svg {
	width: 22px;
	height: 22px;
	stroke: currentColor;
}

.bsp-quote-button:hover,
.bsp-quote-button:focus-visible {
	background: var(--bsp-white);
	color: var(--bsp-accent);
	box-shadow: 0 8px 18px color-mix(in srgb, var(--bsp-accent) 16%, transparent);
	transform: translateY(-1px);
	outline: 0;
}

.bsp-trust {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 15px;
	margin-top: 18px;
}

.bsp-trust > div {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: #3f4c59;
	font-size: 11.5px;
	text-align: center;
}

.bsp-trust svg {
	width: 23px;
	height: 23px;
}

.bsp-tabs {
	margin-top: 42px;
	border: 1px solid var(--bsp-line);
	border-radius: 8px;
	background: #fff;
	overflow: hidden;
}

.bsp-tab-list {
	display: flex;
	gap: 0;
	border-bottom: 1px solid var(--bsp-line);
	overflow-x: auto;
	scrollbar-width: none;
}

.bsp-tab-list::-webkit-scrollbar {
	display: none;
}

.bsp-tab {
	position: relative;
	flex: 0 0 auto;
	min-height: 58px;
	padding: 15px 32px;
	border: 0;
	background: transparent;
	color: var(--bsp-navy);
	font-weight: 500;
	cursor: pointer;
}

.bsp-tab::after {
	content: "";
	position: absolute;
	right: 18px;
	bottom: -1px;
	left: 18px;
	height: 3px;
	border-radius: 2px 2px 0 0;
	background: transparent;
}

.bsp-tab:hover,
.bsp-tab:focus-visible,
.bsp-tab.is-active {
	color: var(--bsp-accent);
	outline: 0;
}

.bsp-tab.is-active::after {
	background: var(--bsp-accent);
}

.bsp-tab-panel {
	padding: 25px 28px 30px;
}

.bsp-tab-panel[hidden] {
	display: none;
}

.bsp-tab-panel h2 {
	margin: 0 0 6px;
	color: var(--bsp-navy);
	font-size: 25px;
	font-weight: 700;
	line-height: 1.3;
}

.bsp-tab-panel p:last-child {
	margin-bottom: 0;
}

.bsp-spec-table {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	border: 1px solid var(--bsp-line);
	border-radius: 7px;
	overflow: hidden;
}

.bsp-spec-table > div {
	display: grid;
	grid-template-columns: minmax(100px, .7fr) 1fr;
	gap: 15px;
	padding: 13px 16px;
	border-bottom: 1px solid var(--bsp-line);
}

.bsp-spec-table > div:nth-child(odd) {
	border-right: 1px solid var(--bsp-line);
}

.bsp-spec-table span {
	color: var(--bsp-muted);
}

.bsp-spec-table strong {
	color: var(--bsp-navy);
	font-weight: 600;
}

.bsp-application-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 11px 28px;
	margin: 15px 0 0;
	padding: 0;
	list-style: none;
}

.bsp-application-list li {
	position: relative;
	padding-left: 22px;
}

.bsp-application-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--bsp-accent);
	font-weight: 800;
}

.bsp-related {
	margin-top: 42px;
}

.bsp-section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
}

.bsp-section-heading h2 {
	margin: 0;
	color: var(--bsp-navy);
	font-size: clamp(26px, 2.4vw, 34px);
	font-weight: 700;
	letter-spacing: -.025em;
}

.bsp-section-heading a {
	color: var(--bsp-accent);
	font-size: 14px;
	font-weight: 600;
}

.bsp-product-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.bsp-product-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 15px;
	border: 1px solid var(--bsp-line);
	border-radius: 8px;
	background: var(--bsp-white);
	box-shadow: 0 10px 32px rgba(20, 35, 48, .035);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.bsp-product-card:hover {
	border-color: color-mix(in srgb, var(--bsp-accent) 45%, var(--bsp-line));
	box-shadow: 0 14px 32px rgba(20, 35, 48, .09);
	transform: translateY(-3px);
}

.bsp-card-image {
	display: grid;
	place-items: center;
	aspect-ratio: 1.18 / 1;
	margin-bottom: 13px;
	border-radius: 6px;
	background: #fff;
	overflow: hidden;
}

.bsp-card-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.bsp-product-card h3 {
	margin: 0 0 15px;
	color: var(--bsp-navy);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
}

.bsp-product-card h3 a:hover {
	color: var(--bsp-accent);
}

.bsp-card-quote {
	align-self: flex-start;
	margin-top: auto;
	padding: 9px 18px;
	border: 1px solid #e2e6e9;
	border-radius: 5px;
	background: #f1f3f5;
	color: var(--bsp-navy);
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.bsp-card-quote:hover,
.bsp-card-quote:focus-visible {
	border-color: var(--bsp-accent);
	background: var(--bsp-accent);
	color: #fff;
	outline: 0;
}

.bsp-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: grid;
	place-items: center;
	padding: 24px;
	opacity: 0;
	visibility: hidden;
	transition: opacity .22s ease, visibility .22s ease;
}

.bsp-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.bsp-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(9, 22, 32, .67);
	backdrop-filter: blur(3px);
}

.bsp-modal-dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 820px);
	max-height: calc(100vh - 48px);
	padding: 27px 30px 24px;
	border-radius: 11px;
	background: #fff;
	box-shadow: 0 28px 80px rgba(0, 0, 0, .28);
	overflow-y: auto;
	transform: translateY(16px) scale(.98);
	transition: transform .22s ease;
}

.bsp-modal.is-open .bsp-modal-dialog {
	transform: translateY(0) scale(1);
}

.bsp-modal-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	padding: 8px;
	border: 0;
	border-radius: 50%;
	background: #f1f3f5;
	color: var(--bsp-navy);
	cursor: pointer;
}

.bsp-modal-close:hover {
	background: var(--bsp-accent);
	color: #fff;
}

.bsp-modal-head {
	padding-right: 38px;
}

.bsp-modal-head h2 {
	margin: 0;
	color: var(--bsp-navy);
	font-size: 27px;
	font-weight: 700;
	line-height: 1.25;
}

.bsp-modal-head p {
	margin: 4px 0 19px;
	color: #687584;
	font-size: 13px;
}

.bsp-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 20px;
}

.bsp-form-grid label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	color: var(--bsp-navy);
	font-size: 12px;
	font-weight: 600;
}

.bsp-form-grid em {
	color: #e23b2f;
	font-style: normal;
}

.bsp-form-grid input,
.bsp-form-grid textarea {
	width: 100%;
	min-width: 0;
	padding: 11px 13px;
	border: 1px solid #d6dde2;
	border-radius: 5px;
	background: #fff;
	color: #374553;
	font-size: 13px;
	font-weight: 400;
	outline: 0;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.bsp-form-grid input {
	height: 45px;
}

.bsp-form-grid input[readonly] {
	background: #edf1f3;
	color: #71808c;
	cursor: default;
}

.bsp-form-grid input:focus,
.bsp-form-grid textarea:focus {
	border-color: var(--bsp-accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--bsp-accent) 14%, transparent);
}

.bsp-form-grid .is-invalid {
	border-color: #d9322b;
	box-shadow: 0 0 0 3px rgba(217, 50, 43, .1);
}

.bsp-form-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 20px;
}

.bsp-form-footer p {
	display: flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	color: #73808d;
	font-size: 11px;
}

.bsp-form-footer p svg {
	width: 18px;
	height: 18px;
}

.bsp-form-footer button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 11px 25px;
	border: 2px solid var(--bsp-accent);
	border-radius: 5px;
	background: var(--bsp-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}

.bsp-form-footer button:hover,
.bsp-form-footer button:focus-visible {
	background: #fff;
	color: var(--bsp-accent);
	outline: 0;
}

.bsp-form-footer button:disabled {
	opacity: .65;
	cursor: wait;
}

.bsp-form-status {
	min-height: 0;
	margin-top: 0;
	padding: 0;
	border-radius: 5px;
	font-size: 13px;
}

.bsp-form-status:not(:empty) {
	margin-top: 15px;
	padding: 10px 12px;
}

.bsp-form-status.is-success {
	background: #eaf8ef;
	color: #19733c;
}

.bsp-form-status.is-error {
	background: #fff0ef;
	color: #a92923;
}

.bsp-honeypot {
	position: absolute !important;
	left: -99999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

body.bsp-modal-open {
	overflow: hidden;
}

.bsp-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000000;
	display: grid;
	place-items: center;
	padding: 50px;
	background: rgba(8, 17, 24, .92);
	opacity: 0;
	visibility: hidden;
	transition: opacity .2s ease, visibility .2s ease;
}

.bsp-lightbox.is-open {
	opacity: 1;
	visibility: visible;
}

.bsp-lightbox img {
	max-width: min(1100px, 94vw);
	max-height: 88vh;
	object-fit: contain;
}

.bsp-lightbox button {
	position: absolute;
	top: 18px;
	right: 18px;
	width: 44px;
	height: 44px;
	padding: 10px;
	border: 1px solid rgba(255,255,255,.25);
	border-radius: 50%;
	background: rgba(255,255,255,.1);
	color: #fff;
	cursor: pointer;
}

@media (max-width: 1199px) {
	.bsp-shell {
		width: min(100% - 34px, 1180px);
	}

	.bsp-hero {
		gap: 34px;
	}

	.bsp-gallery {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 14px;
	}

	.bsp-thumb {
		width: 72px;
	}

	.bsp-main-image-wrap {
		min-height: 470px;
	}

	.bsp-features,
	.bsp-spec-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bsp-feature:nth-child(3) {
		border-left: 0;
		border-top: 1px solid var(--bsp-line);
	}

	.bsp-feature:nth-child(4) {
		border-top: 1px solid var(--bsp-line);
	}
}

@media (max-width: 900px) {
	.bsp-shell {
		width: min(100% - 30px, 760px);
		padding-bottom: 55px;
	}

	.bsp-hero {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.bsp-gallery {
		grid-template-columns: 82px minmax(0, 1fr);
	}

	.bsp-thumb {
		width: 82px;
	}

	.bsp-main-image-wrap {
		min-height: 520px;
	}

	.bsp-title {
		font-size: clamp(31px, 5vw, 42px);
	}

	.bsp-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.bsp-page {
		font-size: 14px;
	}

	.bsp-shell {
		width: min(100% - 24px, 520px);
		padding-top: 12px;
	}

	.bsp-breadcrumb,
	.bsp-breadcrumb .woocommerce-breadcrumb {
		margin-bottom: 17px;
		font-size: 11px;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.bsp-gallery {
		display: flex;
		flex-direction: column-reverse;
		gap: 12px;
	}

	.bsp-thumbnails {
		flex-direction: row;
		gap: 9px;
		overflow-x: auto;
		padding: 2px 2px 7px;
		scroll-snap-type: x proximity;
	}

	.bsp-thumb {
		flex: 0 0 66px;
		width: 66px;
		scroll-snap-align: start;
	}

	.bsp-main-image-wrap {
		min-height: auto;
		aspect-ratio: 1 / 1;
		padding: 32px;
	}

	.bsp-title {
		font-size: 28px;
		line-height: 1.2;
	}

	.bsp-brand,
	.bsp-subtitle {
		font-size: 14px;
	}

	.bsp-meta {
		display: grid;
		gap: 5px;
	}

	.bsp-meta span + span::before {
		display: none;
	}

	.bsp-feature {
		min-height: 76px;
		padding: 10px;
		font-size: 10.5px;
	}

	.bsp-feature svg {
		width: 24px;
		height: 24px;
	}

	.bsp-spec-cards {
		gap: 9px;
	}

	.bsp-spec-card {
		min-height: 66px;
		padding: 10px;
	}

	.bsp-quote-button {
		min-height: 56px;
	}

	.bsp-trust {
		grid-template-columns: 1fr;
		gap: 9px;
	}

	.bsp-trust > div {
		justify-content: flex-start;
	}

	.bsp-tabs,
	.bsp-related {
		margin-top: 32px;
	}

	.bsp-tab {
		min-height: 52px;
		padding: 13px 19px;
		font-size: 13px;
	}

	.bsp-tab-panel {
		padding: 20px 17px 23px;
	}

	.bsp-tab-panel h2 {
		font-size: 21px;
	}

	.bsp-spec-table,
	.bsp-application-list {
		grid-template-columns: 1fr;
	}

	.bsp-spec-table > div:nth-child(odd) {
		border-right: 0;
	}

	.bsp-spec-table > div {
		grid-template-columns: minmax(90px, .65fr) 1fr;
	}

	.bsp-section-heading {
		align-items: flex-end;
	}

	.bsp-section-heading h2 {
		font-size: 25px;
	}

	.bsp-section-heading a {
		font-size: 12px;
		white-space: nowrap;
	}

	.bsp-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.bsp-product-card {
		padding: 10px;
	}

	.bsp-product-card h3 {
		font-size: 12px;
	}

	.bsp-card-quote {
		width: 100%;
		padding: 8px 9px;
	}

	.bsp-modal {
		align-items: end;
		padding: 0;
	}

	.bsp-modal-dialog {
		width: 100%;
		max-height: 94vh;
		padding: 23px 18px calc(20px + env(safe-area-inset-bottom));
		border-radius: 14px 14px 0 0;
		transform: translateY(30px);
	}

	.bsp-modal-head h2 {
		font-size: 24px;
	}

	.bsp-form-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.bsp-form-grid label:nth-child(2) {
		order: -1;
	}

	.bsp-form-footer {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	.bsp-form-footer button {
		width: 100%;
	}

	.bsp-lightbox {
		padding: 35px 16px;
	}
}

@media (max-width: 380px) {
	.bsp-features,
	.bsp-spec-cards,
	.bsp-product-grid {
		grid-template-columns: 1fr;
	}

	.bsp-feature + .bsp-feature,
	.bsp-feature:nth-child(3) {
		border-top: 1px solid var(--bsp-line);
		border-left: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bsp-page *,
	.bsp-modal,
	.bsp-modal-dialog,
	.bsp-lightbox {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}
}
