/* ═══════════════════════════════════════════════════
   Product Technical Sheet Modal — Zara / COS style
   ═══════════════════════════════════════════════════ */

.bh-open-tech {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 12px 0 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #1a1a1a;
	font: 500 12px/1.4 var(--bh-font-body, "Akzidenz-Grotesk BQ", "Helvetica Neue", sans-serif);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
	appearance: none;
}

.bh-open-tech:hover,
.bh-open-tech:focus-visible {
	opacity: 0.65;
	outline: none;
}

.bh-modal {
	position: fixed;
	inset: 0;
	z-index: 100050;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.28s ease, visibility 0.28s ease;
}

.bh-modal.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.bh-modal[hidden] {
	display: none !important;
}

.bh-modal.is-open[hidden] {
	display: flex !important;
}

.bh-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	border: 0;
	padding: 0;
	cursor: pointer;
}

.bh-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 560px;
	max-height: min(92vh, 920px);
	margin: 0;
	background: #fff;
	color: #1a1a1a;
	box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
	transform: translateY(18px);
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
	display: flex;
	flex-direction: column;
	border-radius: 12px 12px 0 0;
	overflow: hidden;
}

.bh-modal.is-open .bh-modal__dialog {
	transform: translateY(0);
}

.bh-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border: 0;
	background: transparent;
	color: #1a1a1a;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.bh-modal__close:hover,
.bh-modal__close:focus-visible {
	opacity: 0.55;
	outline: none;
}

.bh-modal__content {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 28px 22px 36px;
	scrollbar-width: thin;
}

.bh-modal__header {
	margin: 0 28px 20px 0;
	text-align: left;
}

.bh-modal__eyebrow {
	margin: 0 0 8px;
	font: 600 11px/1.3 var(--bh-font-body, "Akzidenz-Grotesk BQ", "Helvetica Neue", sans-serif);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #6b6b6b;
}

.bh-modal__product-name {
	margin: 0;
	font: 500 20px/1.25 var(--bh-font-body, "Akzidenz-Grotesk BQ", "Helvetica Neue", sans-serif);
	letter-spacing: 0.01em;
	text-transform: none;
}

.bh-modal__media {
	margin: 0 0 28px;
	background: #f5f5f3;
	aspect-ratio: 3 / 4;
	overflow: hidden;
}

.bh-modal__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	display: block;
}

.bh-modal__section {
	margin: 0 0 28px;
	padding-top: 24px;
	border-top: 1px solid #e8e6e2;
}

.bh-modal__section-title {
	margin: 0 0 10px;
	font: 600 12px/1.3 var(--bh-font-body, "Akzidenz-Grotesk BQ", "Helvetica Neue", sans-serif);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.bh-modal__section-body {
	font: 400 14px/1.65 var(--bh-font-body, "Akzidenz-Grotesk BQ", "Helvetica Neue", sans-serif);
	color: #333;
}

.bh-modal__section-body p {
	margin: 0 0 0.85em;
}

.bh-modal__section-body p:last-child {
	margin-bottom: 0;
}

.bh-modal__stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px 16px;
}

.bh-modal__stat-value {
	margin: 0 0 4px;
	font: 500 18px/1.2 var(--bh-font-body, "Akzidenz-Grotesk BQ", "Helvetica Neue", sans-serif);
}

.bh-modal__stat-label {
	margin: 0;
	font: 400 12px/1.4 var(--bh-font-body, "Akzidenz-Grotesk BQ", "Helvetica Neue", sans-serif);
	color: #6b6b6b;
	letter-spacing: 0.02em;
}

.bh-modal__footer {
	margin-top: 8px;
	padding-top: 22px;
	border-top: 1px solid #e8e6e2;
}

.bh-modal__delivery {
	margin: 0;
	font: 400 12px/1.5 var(--bh-font-body, "Akzidenz-Grotesk BQ", "Helvetica Neue", sans-serif);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6b6b6b;
	text-align: center;
}

body.bh-tech-modal-open {
	overflow: hidden;
}

@media (min-width: 768px) {
	.bh-modal {
		align-items: center;
		padding: 24px;
	}

	.bh-modal__dialog {
		max-height: min(88vh, 860px);
		border-radius: 0;
		box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
		transform: translateY(12px) scale(0.985);
	}

	.bh-modal.is-open .bh-modal__dialog {
		transform: translateY(0) scale(1);
	}

	.bh-modal__content {
		padding: 36px 40px 44px;
	}

	.bh-modal__product-name {
		font-size: 22px;
	}
}
