/**
 * Karta produktu — port Astro (n1Fhty / NCP5W / X4Zxd).
 */

.dehoust-product {
	--dehoust-radius-btn: 8px;
	--dehoust-color-border: var(--dehoust-color-line);
	background: #fff;
}

/* —— Sekcja zakupu —— */
.dehoust-product-purchase {
	padding-top: 2.5rem;
	padding-bottom: 0;
	background: #fff;
}

.dehoust-product-purchase__inner {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	min-width: 0;
}

@media (min-width: 1280px) {
	.dehoust-product-purchase {
		padding-top: 100px;
		padding-bottom: 0;
	}

	.dehoust-product-purchase__inner {
		flex-direction: row;
		align-items: flex-start;
		gap: 54px;
	}

	.dehoust-product-purchase__inner > [data-animate-item]:first-child {
		flex: 1 1 auto;
		min-width: 0;
		max-width: 670px;
	}

	.dehoust-product-purchase__inner > [data-animate-item]:last-child {
		flex: 0 0 646px;
		width: 646px;
		max-width: 646px;
		min-width: 0;
	}
}

/* —— Galeria —— */
.dehoust-product-gallery {
	display: flex;
	flex-direction: column;
	gap: 16px;
	width: 100%;
	max-width: 670px;
	min-width: 0;
}

.dehoust-product-gallery__main {
	position: relative;
	width: 100%;
	height: 490px;
	overflow: hidden;
	border: 0.8px solid var(--dehoust-color-sky);
	border-radius: 8px;
	background: #fff;
}

.dehoust-product-gallery__viewport {
	width: 100%;
	height: 100%;
	overflow: hidden;
	touch-action: pan-y;
}

.dehoust-product-gallery__track {
	display: flex;
	height: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dehoust-product-gallery__track--animated {
	transition: transform 0.5s ease-out;
}

.dehoust-product-gallery__slide {
	display: flex;
	flex: 0 0 100%;
	align-items: center;
	justify-content: center;
}

.dehoust-product-gallery__image {
	width: auto;
	max-width: calc(100% - 120px);
	max-height: 456px;
	object-fit: contain;
}

.dehoust-product-gallery__badge {
	position: absolute;
	top: 24px;
	right: 24px;
	display: flex;
	height: 33px;
	min-width: 65px;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #00a2e0;
	padding: 0 10px;
	font-family: var(--dehoust-font-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	color: #fff;
}

.dehoust-product-gallery__arrow {
	position: absolute;
	top: 50%;
	display: flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
	transform: translateY(-50%);
}

.dehoust-product-gallery__arrow-icon {
	display: block;
	width: auto;
	height: 15px;
}

.dehoust-product-gallery__arrow--prev {
	left: 16px;
}

.dehoust-product-gallery__arrow--next {
	right: 16px;
}

.dehoust-product-gallery__arrow:focus-visible {
	outline: 2px solid var(--dehoust-color-primary);
	outline-offset: 2px;
	border-radius: 4px;
}

.dehoust-product-gallery__thumbs {
	display: flex;
	flex-wrap: nowrap;
	gap: 22px;
	width: 100%;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.dehoust-product-gallery__thumbs::-webkit-scrollbar {
	display: none;
}

.dehoust-product-gallery__thumb {
	display: flex;
	height: 113px;
	flex: 1 1 var(--dehoust-thumb-max, 150px);
	min-width: 0;
	max-width: var(--dehoust-thumb-max, 152px);
	align-items: center;
	justify-content: center;
	border: 0.8px solid var(--dehoust-color-sky);
	border-radius: 8px;
	background: #fff;
	padding: 0;
	cursor: pointer;
}

.dehoust-product-gallery__thumb[data-active] {
	border-color: var(--dehoust-color-sky);
	box-shadow: inset 0 0 0 1px var(--dehoust-color-sky);
}

.dehoust-product-gallery__thumb:focus-visible {
	outline: 2px solid var(--dehoust-color-primary);
	outline-offset: 2px;
}

.dehoust-product-gallery__thumb-image {
	width: auto;
	max-width: calc(100% - 24px);
	max-height: 101px;
	object-fit: contain;
}

@media (min-width: 1280px) {
	.dehoust-product-gallery {
		width: 100%;
		max-width: 670px;
		container-type: inline-size;
		container-name: product-gallery;
	}

	.dehoust-product-gallery__main {
		height: auto;
		aspect-ratio: 670 / 490;
		max-height: 490px;
	}

	.dehoust-product-gallery__image {
		max-height: min(456px, 68.06cqw);
	}
}

/* —— Panel zakupu —— */
.dehoust-product-panel {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
	max-width: 620px;
}

.dehoust-product-panel__title {
	margin: 0;
	font-family: var(--dehoust-font-heading);
	font-size: clamp(1.5rem, 5vw, 2rem);
	font-weight: 600;
	line-height: 1.25;
	color: var(--dehoust-color-text);
}

.dehoust-product-panel__sku {
	margin: 16px 0;
	font-family: var(--dehoust-font-heading);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.75;
	color: var(--dehoust-color-text-muted);
}

.dehoust-product-panel__delivery {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 16px;
	margin-top: 0;
	border-radius: 8px;
	background: var(--dehoust-color-surface);
	padding: 16px;
	container-type: inline-size;
	container-name: product-delivery;
}

.dehoust-product-panel__delivery-details {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: clamp(8px, 2.5vw, 16px);
	min-width: 0;
}

.dehoust-product-panel__delivery-item {
	display: flex;
	flex: 1 1 0;
	align-items: flex-start;
	gap: clamp(5px, 1.5vw, 7px);
	min-width: 0;
}

.dehoust-product-panel__delivery-icon {
	flex-shrink: 0;
	width: clamp(22px, 6vw, 37px);
	height: auto;
}

.dehoust-product-panel__delivery-text {
	margin: 0;
	min-width: 0;
	font-family: var(--dehoust-font-body);
	font-size: clamp(14px, 3.2vw, 16px);
	font-weight: 600;
	line-height: 1.25;
	color: var(--dehoust-color-text-muted);
	white-space: pre-line;
	overflow-wrap: break-word;
}

@media (max-width: 639px) {
	.dehoust-product-panel__delivery-details {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.dehoust-product-panel__delivery-item {
		flex: none;
		width: 100%;
	}
}

@container product-delivery (max-width: 420px) {
	.dehoust-product-panel__delivery-details {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.dehoust-product-panel__delivery-item {
		flex: none;
		width: 100%;
	}
}

.dehoust-product-panel__inquiry {
	display: inline-flex;
	height: 50px;
	width: 100%;
	min-width: 0;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--dehoust-color-primary);
	border-radius: var(--dehoust-radius-btn);
	background: #fff;
	padding: 0 16px;
	font-family: var(--dehoust-font-body);
	font-size: 16px;
	font-weight: 700;
	color: var(--dehoust-color-primary);
	cursor: pointer;
}

.dehoust-product-panel__inquiry:hover {
	background: var(--dehoust-color-surface);
}

.dehoust-product-panel__inquiry:focus-visible {
	outline: 2px solid var(--dehoust-color-primary);
	outline-offset: 2px;
}

/* Bez paska dostawy — przycisk w lewo, nie na całą szerokość (jak desktop w delivery). */
.dehoust-product-panel__inquiry--standalone {
	width: auto;
	min-width: 181px;
	align-self: flex-start;
}

.dehoust-product-panel__prices {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	margin-top: 32px;
}

.dehoust-product-panel__price-gross {
	margin: 0;
	font-family: var(--dehoust-font-heading);
	font-size: 28px;
	font-weight: 700;
	line-height: 0.8571428571;
	letter-spacing: 0.56px;
	color: var(--dehoust-color-accent);
}

.dehoust-product-panel__price-net {
	margin: 0;
	font-family: var(--dehoust-font-heading);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	letter-spacing: 0.32px;
	color: #6C6C6C;
}

.dehoust-product-panel__price-old {
	margin: 0;
	font-family: var(--dehoust-font-heading);
	font-size: 20px;
	font-weight: 400;
	line-height: 1.2;
	color: #7d7d7d;
	text-decoration: line-through;
}

/* Przy wariantach element istnieje zawsze — bez promocji ma zniknąć z układu. */
.dehoust-product-panel__price-old:empty {
	display: none;
}

/* Wybór wariantu (np. koloru) pod ceną netto. */
.dehoust-product-panel__variant {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 24px;
}

.dehoust-product-panel__variant-label {
	font-family: var(--dehoust-font-body);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.5;
	color: var(--dehoust-color-text);
}

.dehoust-product-panel__variant-select {
	width: 100%;
	height: 51px;
	border: 0.5px solid var(--dehoust-color-primary);
	border-radius: var(--dehoust-radius-btn);
	background: #fff;
	padding: 0 2.5rem 0 1rem;
	font-family: var(--dehoust-font-body);
	font-size: 16px;
	color: var(--dehoust-color-text-muted);
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d1d1d' stroke-width='1.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
}

.dehoust-product-panel__variant-select:focus-visible {
	outline: 2px solid var(--dehoust-color-primary);
	outline-offset: 1px;
}

.dehoust-product-panel__variant-select option:disabled {
	color: #9a9a9a;
}

/* Informacja o dostępności przy aktywnym „Dodaj do koszyka” (produkt na zamówienie) */
.dehoust-product-panel__stock-note {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin: 16px 0 0;
	border-radius: 0.5rem;
	background: #fff5e6;
	padding: 12px 14px;
}

.dehoust-product-panel__stock-note[hidden] {
	display: none;
}

.dehoust-product-panel__stock-note-icon {
	display: flex;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: #c77700;
	font-family: var(--dehoust-font-heading);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
}

.dehoust-product-panel__stock-note-text {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.5333333333;
	color: #8a5300;
}

.dehoust-product-panel__omnibus {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	margin: 16px 0 0;
}

.dehoust-product-panel__omnibus-icon {
	display: flex;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border: 1px solid #7d7d7d;
	border-radius: 9999px;
	background: #fff;
	font-family: var(--dehoust-font-heading);
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	color: #7d7d7d;
}

.dehoust-product-panel__omnibus-text {
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.5333333333;
	color: #7d7d7d;
}

.dehoust-product-panel__pdf-row {
	margin-top: 16px;
}

.dehoust-product-panel__pdf-btn {
	display: flex;
	width: 100%;
	height: 50px;
	min-width: 0;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: var(--dehoust-radius-btn);
	background: #323232;
	padding: 0 24px;
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
}

/* Ikona jest granatowa — na czarnym przycisku wybielamy ją filtrem zamiast trzymać drugi plik. */
.dehoust-product-panel__pdf-btn img {
	filter: brightness(0) invert(1);
}

.dehoust-product-panel__pdf-btn:hover {
	filter: brightness(0.95);
}

.dehoust-product-panel__pdf-btn:focus-visible {
	outline: 2px solid var(--dehoust-color-primary);
	outline-offset: 2px;
}

.dehoust-product-panel__params {
	margin-top: 48px;
}

.dehoust-product-panel__params-accent {
	display: flex;
	height: 7px;
	align-items: flex-end;
}

.dehoust-product-panel__params-accent-bar {
	width: 40px;
	height: 6px;
	flex-shrink: 0;
	background: var(--dehoust-color-primary);
}

.dehoust-product-panel__params-accent-line {
	height: 1px;
	flex: 1;
	background: var(--dehoust-color-line);
}

.dehoust-product-panel__params-heading {
	margin: 20px 0 0;
	font-family: var(--dehoust-font-heading);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--dehoust-color-text-muted);
}

.dehoust-product-panel__params-table {
	display: flex;
	flex-direction: column;
	margin: 9px 0 0;
}

.dehoust-product-panel__params-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 34px;
	padding: 0 16px;
	background: #fff;
}

.dehoust-product-panel__params-row.is-alt {
	background: #eff5f9;
}

.dehoust-product-panel__params-row dt,
.dehoust-product-panel__params-row dd {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--dehoust-color-text-muted);
}

.dehoust-product-panel__params-row dd {
	text-align: right;
}

.dehoust-product-panel__cart-form {
	margin: 0;
}

.dehoust-product-panel__cart-row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 16px;
	margin-top: 20px;
	min-width: 0;
}

.dehoust-product-panel__cart-form .added_to_cart {
	display: none !important;
}

.dehoust-product-panel__qty {
	display: flex;
	width: 98px;
	height: 50px;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	gap: 17px;
	overflow: hidden;
	border: 0.8px solid var(--dehoust-color-primary);
	border-radius: var(--dehoust-radius-btn);
	background: #fff;
}

.dehoust-product-panel__qty-btn {
	display: flex;
	width: 10px;
	height: 10px;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
	color: var(--dehoust-color-primary);
}

.dehoust-product-panel__qty-btn:focus-visible {
	outline: 2px solid var(--dehoust-color-primary);
	outline-offset: 2px;
	border-radius: 2px;
}

.dehoust-product-panel__qty-minus {
	display: block;
	width: 10px;
	height: 2px;
	border-radius: 1px;
	background: var(--dehoust-color-primary);
}

.dehoust-product-panel__qty-plus {
	display: block;
	width: 10px;
	height: 10px;
	font-size: 18px;
	font-weight: 600;
	line-height: 10px;
	text-align: center;
}

.dehoust-product-panel__qty-input {
	width: 14px;
	min-width: 14px;
	border: 0;
	background: transparent;
	padding: 0;
	font-family: var(--dehoust-font-body);
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	color: var(--dehoust-color-primary);
	text-align: center;
}

.dehoust-product-panel__qty-input:focus {
	outline: none;
}

.dehoust-product-panel__qty-input:focus-visible {
	outline: 2px solid var(--dehoust-color-primary);
	outline-offset: 2px;
	border-radius: 2px;
}

.dehoust-product-panel__cart-btn {
	display: inline-flex;
	position: relative;
	height: 50px;
	flex: 1;
	min-width: 0;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 0;
	border-radius: var(--dehoust-radius-btn);
	background: var(--dehoust-color-primary);
	padding: 0 clamp(8px, 2vw, 16px);
	font-size: clamp(14px, 3.5vw, 15px);
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
}

.dehoust-product-panel__cart-btn-content {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.dehoust-product-panel__cart-btn-loader {
	display: none;
	width: 20px;
	height: 20px;
	border: 2px solid rgb(255 255 255 / 35%);
	border-top-color: #fff;
	border-radius: 50%;
	animation: dehoust-cart-btn-spin 0.65s linear infinite;
}

.dehoust-product-panel__cart-btn.is-loading {
	cursor: wait;
}

.dehoust-product-panel__cart-btn.is-loading .dehoust-product-panel__cart-btn-content {
	opacity: 0;
	visibility: hidden;
}

.dehoust-product-panel__cart-btn.is-loading .dehoust-product-panel__cart-btn-loader {
	display: block;
	position: absolute;
	inset: 0;
	margin: auto;
}

@keyframes dehoust-cart-btn-spin {
	to {
		transform: rotate(360deg);
	}
}

.dehoust-product-panel__cart-btn:hover {
	background: var(--dehoust-color-primary-hover);
}

.dehoust-product-panel__cart-btn:focus-visible {
	outline: 2px solid var(--dehoust-color-primary);
	outline-offset: 2px;
}

@media (min-width: 640px) {
	.dehoust-product-panel__title {
		font-size: 32px;
	}

	.dehoust-product-panel__cart-btn {
		max-width: 241px;
	}
}

@media (min-width: 1280px) {
	.dehoust-product-panel {
		max-width: 646px;
		width: 100%;
	}

	.dehoust-product-panel__delivery {
		flex-direction: row;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
		min-height: 79px;
		padding: 0 24px;
	}

	.dehoust-product-panel__delivery-details {
		flex-direction: row;
		align-items: center;
		gap: 24px;
		flex: 1;
		min-width: 0;
	}

	.dehoust-product-panel__delivery-item {
		flex: 1 1 0;
		align-items: center;
		min-width: 0;
	}

	.dehoust-product-panel__delivery-icon {
		width: 37px;
	}

	.dehoust-product-panel__delivery-text {
		font-size: 16px;
	}

	.dehoust-product-panel__inquiry {
		width: auto;
		height: 51px;
		min-width: 181px;
		flex-shrink: 0;
		white-space: nowrap;
	}

	.dehoust-product-panel__prices {
		display: grid;
		grid-template-columns: auto auto;
		grid-template-rows: auto auto;
		column-gap: 16px;
		row-gap: 16px;
		align-items: start;
		margin-top: 40px;
	}

	.dehoust-product-panel__price-gross {
		grid-column: 1;
		grid-row: 1;
	}

	.dehoust-product-panel__price-net {
		grid-column: 1;
		grid-row: 2;
	}

	.dehoust-product-panel__price-old {
		grid-column: 2;
		grid-row: 1 / 3;
		align-self: start;
		padding-top: 4px;
	}

	.dehoust-product-panel__omnibus {
		align-items: center;
	}

	.dehoust-product-panel__pdf-btn {
		display: inline-flex;
		width: auto;
		min-width: 319px;
		padding: 0 48px;
	}

	.dehoust-product-panel__cart-btn {
		flex: 0 1 241px;
		max-width: 241px;
		padding: 0 16px;
		font-size: 15px;
	}
}

/* —— Zakładki —— */
.dehoust-product-tabs {
	padding-top: 32px;
	padding-bottom: 2.5rem;
	background: #fff;
}

.dehoust-product-tabs__header {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.dehoust-product-tabs__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.dehoust-product-tabs__scroll::-webkit-scrollbar {
	display: none;
}

.dehoust-product-tabs__list {
	display: flex;
	width: max-content;
	min-width: 100%;
	gap: 40px;
}

.dehoust-product-tabs__trigger {
	flex-shrink: 0;
	border: 0;
	background: transparent;
	padding: 0;
	font-family: var(--dehoust-font-heading);
	font-size: clamp(16px, 4vw, 20px);
	font-weight: 600;
	line-height: 1.85;
	color: rgb(37 37 37 / 0.7);
	cursor: pointer;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.dehoust-product-tabs__trigger[data-active] {
	color: var(--dehoust-color-text);
}

.dehoust-product-tabs__trigger:focus-visible {
	outline: 2px solid var(--dehoust-color-primary);
	outline-offset: 4px;
	border-radius: 2px;
}

.dehoust-product-tabs__accent {
	position: relative;
	height: 7px;
}

.dehoust-product-tabs__accent-bar {
	position: absolute;
	top: 0;
	left: 0;
	height: 6px;
	width: 136px;
	background: var(--dehoust-color-primary);
	transition:
		transform 0.25s ease,
		width 0.25s ease;
}

.dehoust-product-tabs__accent-line {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 1px;
	background: var(--dehoust-color-line);
}

.dehoust-product-tabs__panels {
	margin-top: 24px;
	background: var(--dehoust-color-surface);
}

.dehoust-product-tabs__panel {
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.dehoust-product-tabs__panel[hidden] {
	display: none !important;
}

.dehoust-product-tabs__prose {
	margin: 0;
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--dehoust-color-text-muted);
}

.dehoust-product-tabs__prose p {
	margin: 0 0 1em;
}

.dehoust-product-tabs__prose p:last-child {
	margin-bottom: 0;
}

.dehoust-product-tabs__spec-table {
	display: flex;
	max-width: 66.6667%;
	flex-direction: column;
	margin: 0;
}

.dehoust-product-tabs__spec-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 40px;
	padding: 0 16px;
	background: #fff;
}

.dehoust-product-tabs__spec-row + .dehoust-product-tabs__spec-row {
	border-top: 1px solid var(--dehoust-color-line);
}

.dehoust-product-tabs__spec-row dt,
.dehoust-product-tabs__spec-row dd {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--dehoust-color-text-muted);
}

.dehoust-product-tabs__spec-row dt {
	font-weight: 600;
}

.dehoust-product-tabs__spec-row dd {
	font-weight: 400;
	text-align: right;
}


.dehoust-product-tabs__reviews {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dehoust-product-tabs__review {
	border-radius: var(--dehoust-radius-btn);
	background: #fff;
	padding: 16px;
}

.dehoust-product-tabs__review-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	margin-bottom: 8px;
}

.dehoust-product-tabs__review-author {
	font-family: var(--dehoust-font-heading);
	font-size: 16px;
	font-weight: 600;
	color: var(--dehoust-color-text);
}

.dehoust-product-tabs__review-date {
	font-size: 14px;
	color: #7d7d7d;
}

.dehoust-product-tabs__review-rating {
	font-size: 14px;
	color: var(--dehoust-color-accent);
	letter-spacing: 1px;
}

.dehoust-product-tabs__review-text {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--dehoust-color-text-muted);
}

@media (min-width: 1280px) {
	.dehoust-product-tabs {
		padding-top: 64px;
		padding-bottom: 119px;
	}

	.dehoust-product-tabs__scroll {
		overflow-x: visible;
	}

	.dehoust-product-tabs__list {
		width: 100%;
	}

	.dehoust-product-tabs__trigger {
		font-size: 20px;
	}

	.dehoust-product-tabs__panel {
		padding-top: 41px;
		padding-bottom: 41px;
	}
}

/* —— Powiązane produkty —— */
.dehoust-related-products {
	background: #fff;
	padding-bottom: 2.5rem;
	overflow-x: clip;
}

/* Dwie karuzele pod sobą: dolny odstęp pierwszej sumował się z górnym drugiej,
   przez co nad „Akcesoriami” robiła się dziura na 182 px. */
.dehoust-related-products:has(+ .dehoust-related-products) {
	padding-bottom: 0;
}

/* Odstęp nad karuzelą dawała sekcja zakładek. Produkt bez opisu, danych technicznych
   i plików nie renderuje jej wcale — wtedy „Akcesoria” dosuwały się do miniatur galerii. */
.dehoust-product-purchase + .dehoust-related-products {
	padding-top: 2.5rem;
}

.dehoust-related-products__header {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.dehoust-related-products__title {
	margin: 0;
	font-family: var(--dehoust-font-heading);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
	color: var(--dehoust-color-text);
}

.dehoust-related-products__accent {
	display: flex;
	height: 6px;
	align-items: center;
}

.dehoust-related-products__accent-bar {
	width: 40px;
	height: 6px;
	flex-shrink: 0;
	background: var(--dehoust-color-primary);
}

.dehoust-related-products__accent-line {
	height: 1px;
	flex: 1;
	background: #e2f3ff;
}

.dehoust-related-products__carousel {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 2.5rem;
	width: 100%;
}

.dehoust-related-products__carousel-outer {
	width: 100%;
	min-width: 0;
	max-width: var(--dehoust-container-outer-xl);
	margin-inline: auto;
}

.dehoust-related-products__carousel-inset {
	margin-top: -1.5rem;
	padding-top: 1.5rem;
	padding-bottom: 1.25rem;
}

/* px-4 xl:px-10 — gutter wyrównany z kontenerem; overflow visible na cienie */
.dehoust-related-products__viewport {
	min-width: 0;
	width: 100%;
	padding-inline: var(--dehoust-gutter);
	overflow: visible;
}

@media (min-width: 1280px) {
	.dehoust-related-products__viewport {
		padding-inline: var(--dehoust-gutter-xl);
	}
}

/* Clip track; padding ±18px = miejsce na box-shadow karty (blur 17.5px) */
.dehoust-related-products__viewport-clip {
	box-sizing: border-box;
	min-width: 0;
	width: calc(100% + 36px);
	margin-inline: -18px;
	padding-inline: 18px;
	overflow-x: clip;
	overflow-y: visible;
	padding-bottom: 1.25rem;
	touch-action: pan-y;
	user-select: none;
}

@supports not (overflow: clip) {
	.dehoust-related-products__viewport-clip {
		overflow-x: hidden;
	}
}

.dehoust-related-products__viewport-clip.is-dragging,
.dehoust-related-products__viewport-clip.is-dragging * {
	cursor: grabbing;
	user-select: none;
	-webkit-user-select: none;
}

.dehoust-related-products__track {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dehoust-related-products__track.dehoust-featured__track--animated {
	transition: transform 0.5s ease-out;
}

.dehoust-related-products__slide {
	flex-shrink: 0;
	padding-block: 2px;
}

.dehoust-related-products__footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2.5rem;
}

.dehoust-related-products__status {
	margin: 0;
	font-size: 1rem;
	font-variant-numeric: tabular-nums;
	color: var(--dehoust-color-text-muted);
}

.dehoust-related-products__status-current {
	font-weight: 700;
	color: var(--dehoust-color-sky);
}

.dehoust-related-products__dots {
	display: none;
	max-width: 100%;
	justify-content: center;
	gap: 0.5rem;
	overflow: hidden;
}

.dehoust-related-products__cta {
	min-height: 50px;
	width: 100%;
	max-width: 288px;
	padding-inline: 0;
}

.dehoust-related-products [data-product-dot] {
	width: 10px;
	height: 10px;
	border: 0;
	border-radius: 9999px;
	background: var(--dehoust-color-line);
	padding: 0;
	cursor: pointer;
}

.dehoust-related-products [data-product-dot][data-active],
.dehoust-related-products .dehoust-featured__dot[data-active] {
	background-color: var(--dehoust-color-sky);
}

.dehoust-related-products .dehoust-featured__dot {
	width: 25px;
	height: 12px;
	cursor: pointer;
	border: 1px solid var(--dehoust-color-sky);
	border-radius: 7px;
	background: transparent;
	padding: 0;
}

.dehoust-related-products__slide .dehoust-product-card {
	height: 100%;
}

/* Karta produktu w karuzeli (port home.css — bez ładowania całego home.css). */
.dehoust-related-products .dehoust-product-card {
	display: flex;
	height: 100%;
	flex-direction: column;
	border-radius: 0.5rem;
	background: #fff;
	box-shadow: 0 4px 17.5px rgb(29 29 29 / 0.1);
}

.dehoust-related-products .dehoust-product-card__link {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 1rem;
	overflow: hidden;
	border-radius: 0.5rem;
	text-decoration: none;
	color: inherit;
}

.dehoust-related-products .dehoust-product-card__media {
	position: relative;
	display: flex;
	height: 19.5rem;
	align-items: center;
	justify-content: center;
	background: #fff;
}

.dehoust-related-products .dehoust-product-card__badge {
	position: absolute;
	top: 1rem;
	z-index: 1;
	padding: 0.375rem 0.5rem;
	font-size: 0.875rem;
	font-weight: 700;
	color: #fff;
}

.dehoust-related-products .dehoust-product-card__badge--new {
	left: 0;
	border-radius: 0 0.5rem 0.5rem 0;
	background: #f14e4e;
}

.dehoust-related-products .dehoust-product-card__badge--promo {
	right: 1rem;
	border-radius: 0.5rem;
	background: var(--dehoust-color-sky);
}

/* Element zajmuje cały kafel, więc zdjęcie skaluje się do jego wysokości.
   `cover` odpada — przycinał zbiornik do wąskiego wycinka. Jeśli produkt nadal
   wygląda na mały, biel jest wypalona w samym pliku i trzeba go przyciąć. */
.dehoust-related-products .dehoust-product-card__image {
	width: 100%;
	height: 100%;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.dehoust-related-products .dehoust-product-card__link:hover .dehoust-product-card__image {
	transform: scale(1.02);
}

.dehoust-related-products .dehoust-product-card__body {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	padding: 0 1rem;
}

/* Cena i przyciski w jednym rzędzie — poza linkiem karty (<a> w <a> jest niedozwolone). */
.dehoust-related-products .dehoust-product-card__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 1.5rem;
	padding: 0 1rem 1rem;
}

.dehoust-related-products .dehoust-product-card__title {
	margin: 0;
	font-family: var(--dehoust-font-heading);
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--dehoust-color-text);
}

.dehoust-related-products .dehoust-product-card__desc {
	margin: 0;
	white-space: pre-line;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--dehoust-color-text-muted);
}

/* Wypunktowania atrybutów — ten sam wzór co na liście produktów w kategorii. */
.dehoust-related-products .dehoust-product-card__specs {
	display: flex;
	flex-direction: column;
	gap: 1px;
	margin: -0.5rem 0 0;
	padding: 0;
	list-style: none;
}

.dehoust-related-products .dehoust-product-card__specs li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1rem;
	line-height: 1.5;
	color: var(--dehoust-color-text-muted);
}

.dehoust-related-products .dehoust-product-card__bullet {
	width: 8px;
	height: 8px;
	flex-shrink: 0;
	border: 0.5px solid var(--dehoust-color-sky);
	border-radius: 9999px;
}

/* Same ikony — pełne etykiety nie mieszczą się w rzędzie z ceną, więc opis niesie
   `title` (dymek) i `aria-label` (czytnik ekranu). */
.dehoust-related-products .dehoust-product-card__actions {
	display: flex;
	flex-shrink: 0;
	gap: 0.5rem;
}

.dehoust-related-products .dehoust-product-card__btn {
	display: inline-flex;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	padding: 0;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.dehoust-related-products .dehoust-product-card__btn--outline {
	border: 0.8px solid var(--dehoust-color-primary);
	background: #fff;
	color: var(--dehoust-color-primary);
}

.dehoust-related-products .dehoust-product-card__btn--outline:hover {
	background: var(--dehoust-color-surface);
	opacity: 1;
}

.dehoust-related-products .dehoust-product-card__btn--primary {
	border: 0;
	background: var(--dehoust-color-primary);
	color: #fff;
}

.dehoust-related-products .dehoust-product-card__btn--primary:hover {
	background: var(--dehoust-color-primary-hover);
	opacity: 1;
}

.dehoust-related-products .dehoust-product-card__btn:focus-visible {
	outline: 2px solid var(--dehoust-color-primary);
	outline-offset: 2px;
}

.dehoust-related-products .dehoust-product-card__price {
	margin: 0;
	font-family: var(--dehoust-font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--dehoust-color-accent);
}

.dehoust-related-products .dehoust-product-card__prices {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-end;
	gap: 0.8125rem;
}

.dehoust-related-products .dehoust-product-card__price,
.dehoust-related-products .dehoust-product-card__price-old {
	white-space: nowrap;
}

.dehoust-related-products .dehoust-product-card__price-old {
	margin: 0;
	font-family: var(--dehoust-font-heading);
	font-size: 1.125rem;
	line-height: 1.33;
	color: #5f5f5f;
	text-decoration: line-through;
}

@media (min-width: 640px) {
	.dehoust-related-products__carousel-inset {
		margin-top: -2.5rem;
		padding-top: 2.5rem;
	}

	.dehoust-related-products__footer {
		gap: 3.75rem;
	}

	.dehoust-related-products__dots {
		display: flex;
	}

	.dehoust-related-products__status {
		display: none;
	}
}

@media (min-width: 1280px) {
	.dehoust-related-products {
		padding-bottom: 100px;
		overflow-x: visible;
	}

	.dehoust-product-purchase + .dehoust-related-products {
		padding-top: 100px;
	}

	.dehoust-related-products__carousel {
		margin-top: 59px;
		gap: 2.5rem;
	}

	.dehoust-related-products__footer {
		gap: 60px;
	}
}

/* —— Modal zapytania —— */
body.dehoust-inquiry-modal-open {
	overflow: hidden;
}

.dehoust-inquiry-modal {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.dehoust-inquiry-modal[hidden] {
	display: none !important;
}

.dehoust-inquiry-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgb(29 29 29 / 0.55);
}

.dehoust-inquiry-modal__dialog {
	position: relative;
	width: 100%;
	max-width: 560px;
	max-height: calc(100vh - 32px);
	overflow-y: auto;
	border-radius: 8px;
	background: #fff;
	padding: 32px 24px 28px;
	box-shadow: 0 8px 32px rgb(29 29 29 / 0.18);
}

.dehoust-inquiry-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	display: flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 8px;
	background: transparent;
	padding: 0;
	font-size: 28px;
	line-height: 1;
	color: var(--dehoust-color-text-muted);
	cursor: pointer;
}

.dehoust-inquiry-modal__close:hover {
	background: var(--dehoust-color-surface);
	color: var(--dehoust-color-primary);
}

.dehoust-inquiry-modal__close:focus-visible {
	outline: 2px solid var(--dehoust-color-primary);
	outline-offset: 2px;
}

.dehoust-inquiry-modal__title {
	margin: 0;
	padding-right: 40px;
	font-family: var(--dehoust-font-heading);
	font-size: 28px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--dehoust-color-text);
}

.dehoust-inquiry-modal__lead {
	margin: 12px 0 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--dehoust-color-text-muted);
}

.dehoust-inquiry-modal__form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin-top: 24px;
}

.dehoust-inquiry-modal__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.dehoust-inquiry-modal__consent {
	display: flex;
	align-items: flex-start;
	gap: 0.8125rem;
	cursor: pointer;
}

/* Ten sam stopień pisma co etykiety pól wyżej — mniejszy wyglądał jak dopisek. */
.dehoust-inquiry-modal__consent-text {
	font-size: 15px;
	line-height: 1.5;
	color: #3a3a3a;
}

.dehoust-inquiry-modal__consent-text p {
	margin: 0;
}

.dehoust-inquiry-modal__consent-text a {
	color: var(--dehoust-color-primary);
	text-decoration: underline;
}

.dehoust-inquiry-modal__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.dehoust-inquiry-modal__error {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.4;
	color: #b3261e;
}

.dehoust-inquiry-modal__label {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--dehoust-color-text);
}

.dehoust-inquiry-modal__required {
	color: #f14e4e;
}

.dehoust-inquiry-modal__input,
.dehoust-inquiry-modal__textarea {
	box-sizing: border-box;
	width: 100%;
	min-height: 0;
	margin: 0;
	border: 1px solid var(--dehoust-color-border);
	border-radius: var(--dehoust-radius-btn);
	padding: 12px 16px;
	font-family: var(--dehoust-font-body);
	font-size: 16px;
	line-height: 1.5;
	color: var(--dehoust-color-text-muted);
	background: #fff;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
}

.dehoust-inquiry-modal__input:focus,
.dehoust-inquiry-modal__textarea:focus {
	outline: 2px solid var(--dehoust-color-primary);
	outline-offset: 0;
	border-color: var(--dehoust-color-primary);
}

.dehoust-inquiry-modal__input--readonly {
	background: var(--dehoust-color-surface);
	color: var(--dehoust-color-text);
	cursor: default;
}

.dehoust-inquiry-modal__textarea {
	min-height: 120px;
	resize: vertical;
}

.dehoust-inquiry-modal__submit {
	display: inline-flex;
	height: 50px;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	min-width: 160px;
	border: 0;
	border-radius: var(--dehoust-radius-btn);
	background: var(--dehoust-color-primary);
	padding: 0 32px;
	font-family: var(--dehoust-font-body);
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	cursor: pointer;
}

.dehoust-inquiry-modal__submit:hover {
	background: var(--dehoust-color-primary-hover);
}

.dehoust-inquiry-modal__submit:focus-visible {
	outline: 2px solid var(--dehoust-color-primary);
	outline-offset: 2px;
}

.dehoust-inquiry-modal__success {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding-top: 8px;
}

.dehoust-inquiry-modal__success[hidden] {
	display: none !important;
}

.dehoust-inquiry-modal__success-text {
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--dehoust-color-text-muted);
}

@media (min-width: 640px) {
	.dehoust-inquiry-modal__dialog {
		padding: 40px 40px 32px;
	}
}

/* —— Toast po dodaniu do koszyka —— */
.dehoust-cart-toast {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 1100;
	display: flex;
	max-width: min(360px, calc(100vw - 32px));
	align-items: flex-start;
	gap: 12px;
	border-radius: var(--dehoust-radius-btn);
	background: #fff;
	padding: 16px 18px;
	box-shadow: 0 8px 32px rgb(29 29 29 / 0.18);
	transform: translateY(120%);
	opacity: 0;
	transition: transform 0.35s ease, opacity 0.35s ease;
	pointer-events: none;
}

.dehoust-cart-toast.is-visible {
	transform: translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.dehoust-cart-toast__icon {
	display: flex;
	width: 36px;
	height: 36px;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border-radius: 9999px;
	background: var(--dehoust-color-surface);
	font-size: 18px;
	font-weight: 700;
	color: var(--dehoust-color-primary);
}

.dehoust-cart-toast__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.dehoust-cart-toast__message {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--dehoust-color-text);
}

.dehoust-cart-toast__link {
	align-self: flex-start;
	font-size: 14px;
	font-weight: 700;
	color: var(--dehoust-color-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.dehoust-cart-toast__close {
	display: flex;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 4px;
	background: transparent;
	padding: 0;
	font-size: 22px;
	line-height: 1;
	color: var(--dehoust-color-muted);
	cursor: pointer;
}

.dehoust-cart-toast__close:hover {
	background: var(--dehoust-color-surface);
	color: var(--dehoust-color-primary);
}

@media (min-width: 640px) {
	.dehoust-cart-toast {
		right: 24px;
		bottom: 24px;
	}
}

/* Produkt niedostępny — CTA zostaje na miejscu, ale wyraźnie nieaktywne. */
.dehoust-product-panel__cart-btn--disabled {
	background: #b9b9b9;
	cursor: not-allowed;
	pointer-events: none;
}

.dehoust-product-panel__cart-btn--disabled:hover {
	background: #b9b9b9;
	filter: none;
}

/* ==========================================================================
   Panel zakupu — przepisany wg Pencil `Gw6R1` (desktop) i `zbQoc` (mobile).
   Nowe style stoją na końcu pliku, więc wygrywają nad starymi regułami
   `.dehoust-product-panel__*` wyżej.
   ponytail: martwe reguły starego panelu zostają do osobnego sprzątania —
   usuwanie ich w tym samym kroku mieszałoby przepisanie z porządkami.
   ========================================================================== */

.dehoust-product-panel {
	display: flex;
	flex-direction: column;
	gap: 1.125rem; /* 18 */
	border-radius: 1.375rem; /* 22 */
	background: #edf5fc;
	padding: 1rem;
	font-family: var(--dehoust-font-body);
}

@media (min-width: 1024px) {
	.dehoust-product-panel {
		padding: 1.75rem; /* 28 */
	}
}

/* Nagłówek */
.dehoust-product-panel__header {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 0.75rem 0.75rem 0;
}

.dehoust-product-panel__title {
	margin: 0;
	font-family: var(--dehoust-font-heading);
	font-size: 1.875rem; /* 30 — mobile */
	font-weight: 600;
	line-height: 1.05;
	color: #1f1d1a;
}

@media (min-width: 1024px) {
	.dehoust-product-panel__title {
		font-size: 2.25rem; /* 36 */
		line-height: 1.02;
	}
}

.dehoust-product-panel__sku {
	margin: 0;
	font-size: 0.8125rem; /* 13 */
	color: #7d8fa3;
}

/* Biała karta: cena, wariant, parametry, koszyk */
.dehoust-product-panel__commerce {
	display: flex;
	flex-direction: column;
	gap: 0.875rem; /* 14 */
	border-radius: 1.125rem; /* 18 */
	background: #fff;
	padding: 1.125rem;
}

@media (min-width: 1024px) {
	.dehoust-product-panel__commerce {
		padding: 1.375rem 1.5rem; /* 22 / 24 */
	}
}

/* Ceny */
.dehoust-product-panel__pricing {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
}

.dehoust-product-panel__price-gross {
	margin: 0;
	font-size: 2rem; /* 32 — mobile */
	font-weight: 700;
	line-height: 1.1;
	color: #80bc00;
}

@media (min-width: 1024px) {
	.dehoust-product-panel__price-gross {
		font-size: 2.375rem; /* 38 */
	}
}

.dehoust-product-panel__price-secondary {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.625rem;
}

.dehoust-product-panel__price-net {
	margin: 0;
	font-size: 0.9375rem; /* 15 */
	color: #5f5a54;
}

.dehoust-product-panel__price-old {
	margin: 0;
	font-size: 0.9375rem;
	color: #7d8fa3;
	text-decoration: line-through;
}

.dehoust-product-panel__price-old:empty {
	display: none;
}

.dehoust-product-panel__price-meta {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	font-size: 0.75rem; /* 12 */
	color: #7d8fa3;
}

@media (min-width: 1024px) {
	.dehoust-product-panel__price-meta {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		gap: 0.75rem;
	}
}

.dehoust-product-panel__price-omnibus[hidden] {
	display: none;
}

/* Kreska akcentu między blokami */
.dehoust-panel-accent {
	display: block;
	position: relative;
	height: 1px;
	background: #e3e7ec;
}

.dehoust-panel-accent__bar {
	position: absolute;
	top: -1px;
	left: 0;
	width: 1.5rem; /* 24 */
	height: 3px;
	background: #176ec3;
}

/* Wybór wariantu i parametry */
.dehoust-product-panel__config {
	display: flex;
	flex-direction: column;
	gap: 0.875rem;
}

.dehoust-product-panel__config-title,
.dehoust-product-panel__specs-title {
	margin: 0;
	font-family: var(--dehoust-font-body);
	font-size: 0.875rem; /* 14 */
	font-weight: 700;
	color: #1f1d1a;
}

.dehoust-product-panel__variant {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.dehoust-product-panel__variant-label {
	font-size: 0.75rem;
	color: #7d8fa3;
}

.dehoust-product-panel__variant-options {
	display: flex;
	flex-wrap: wrap;
	gap: 0.625rem;
}

.dehoust-product-panel__variant-option {
	display: inline-flex;
	flex: 1 1 8rem;
	align-items: center;
	gap: 0.625rem;
	border: 1px solid rgb(105 101 100 / 0.9);
	border-radius: 0.875rem; /* 14 */
	background: #fff;
	padding: 0.75rem;
	cursor: pointer;
	text-align: left;
	transition: border-color 0.15s ease;
}

.dehoust-product-panel__variant-option:hover {
	border-color: #1f7dd9;
}

.dehoust-product-panel__variant-option[data-active] {
	border: 2px solid #1f7dd9;
	padding: calc(0.75rem - 1px);
}

.dehoust-product-panel__variant-option:focus-visible {
	outline: 2px solid #176ec3;
	outline-offset: 2px;
}

.dehoust-product-panel__variant-option:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.dehoust-product-panel__variant-swatch {
	width: 1.375rem; /* 22 */
	height: 1.375rem;
	flex-shrink: 0;
	border: 1px solid #bfb6ad;
	border-radius: 50%;
	background: var(--dehoust-swatch, #fff);
}

.dehoust-product-panel__variant-name {
	font-size: 0.8125rem; /* 13 */
	font-weight: 600;
	color: #1f1d1a;
}

.dehoust-product-panel__variant-out {
	margin-left: auto;
	font-size: 0.6875rem;
	color: #7d8fa3;
}

.dehoust-product-panel__variant-select {
	width: 100%;
	border: 1px solid #d8e5f2;
	border-radius: 0.875rem;
	background: #f8fbfe;
	padding: 0.75rem 1rem;
	font-family: inherit;
	font-size: 0.875rem;
}

/* Atrybut ustawia JS po podpięciu kafelków. Bez JS select zostaje widoczny —
   kafelki nic wtedy nie robią, więc wybór musi mieć gdzie się odbyć. */
.dehoust-product-panel__variant-select[data-pills-active] {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Tabela parametrów */
.dehoust-product-panel__specs {
	display: flex;
	margin: 0;
	flex-direction: column;
	gap: 0.375rem;
}

.dehoust-product-panel__specs-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.3125rem 0;
	font-size: 0.75rem;
}

.dehoust-product-panel__specs-row dt {
	color: #7d8fa3;
}

.dehoust-product-panel__specs-row dd {
	margin: 0;
	font-weight: 600;
	text-align: right;
	color: #1f1d1a;
}

/* Ilość + koszyk */
.dehoust-product-panel__cart {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	margin: 0;
	padding-top: 0.625rem;
}

@media (min-width: 1024px) {
	.dehoust-product-panel__cart {
		gap: 0.875rem;
	}
}

.dehoust-product-panel__qty {
	display: inline-flex;
	flex-shrink: 0;
	align-items: center;
	overflow: hidden;
	border: 1px solid #d8e5f2;
	border-radius: 0.75rem; /* 12 */
}

.dehoust-product-panel__qty-btn {
	width: 2.875rem; /* 46 */
	height: 2.875rem;
	border: 0;
	background: #fff;
	cursor: pointer;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	color: #1f1d1a;
	transition: background 0.15s ease;
}

.dehoust-product-panel__qty-btn:hover {
	background: #eef5fc;
}

.dehoust-product-panel__qty-input {
	width: 3.375rem; /* 54 */
	height: 2.875rem;
	border: 0;
	background: #f3f8fd;
	padding: 0;
	text-align: center;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 600;
	color: #1f1d1a;
}

.dehoust-product-panel__cart-btn {
	position: relative;
	display: inline-flex;
	flex: 1;
	min-height: 2.875rem;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 9999px;
	background: #176ec3;
	padding-inline: 1.25rem;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	color: #fff;
	transition: background 0.15s ease;
}

.dehoust-product-panel__cart-btn:hover {
	background: #1259a1;
}

.dehoust-product-panel__cart-btn:focus-visible {
	outline: 2px solid #176ec3;
	outline-offset: 2px;
}

.dehoust-product-panel__cart-btn--disabled,
.dehoust-product-panel__cart-btn--disabled:hover {
	background: #9db4c9;
	cursor: not-allowed;
}

.dehoust-product-panel__cart-btn-content {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
}

/* Wiersze: termin, dostawa, zapytanie */
.dehoust-product-panel__details {
	display: flex;
	flex-direction: column;
	padding-inline: 1.375rem; /* 22 */
}

.dehoust-product-panel__detail {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding-block: 0.625rem;
}

.dehoust-product-panel__detail--inquiry {
	border-top: 1px solid #d8e5f2;
	padding-block: 0.75rem;
}

.dehoust-product-panel__detail-title {
	font-size: 0.8125rem;
	font-weight: 700;
	color: #1f1d1a;
}

.dehoust-product-panel__detail-value {
	font-size: 0.875rem;
	color: #176ec3;
}

.dehoust-product-panel__detail-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.3125rem;
}

.dehoust-product-panel__detail-link,
.dehoust-product-panel__detail-phone {
	border: 0;
	background: none;
	padding: 0;
	cursor: pointer;
	font-family: inherit;
	font-size: 0.8125rem;
	text-decoration: none;
}

.dehoust-product-panel__detail-link {
	font-weight: 700;
	color: #176ec3;
}

.dehoust-product-panel__detail-phone {
	color: #5f5a54;
}

.dehoust-product-panel__detail-link:hover,
.dehoust-product-panel__detail-phone:hover {
	text-decoration: underline;
}

/* Karta katalogowa */
.dehoust-product-panel__catalog {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	border-radius: 1rem;
	padding: 0 1.125rem;
}

.dehoust-product-panel__catalog-title {
	font-size: 0.8125rem;
	font-weight: 700;
	color: #1f1d1a;
}

.dehoust-product-panel__catalog-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border: 1px solid #176ec3;
	border-radius: 9999px;
	background: #fff;
	padding: 0.75rem 1.125rem;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #176ec3;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}

.dehoust-product-panel__catalog-btn:hover {
	background: #176ec3;
	color: #fff;
}

/* Nota o dostępności */
.dehoust-product-panel__stock-note {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	border-radius: 0.75rem;
	background: #fff5e6;
	padding: 0.625rem 0.75rem;
	font-size: 0.8125rem;
	color: #5f5a54;
}

.dehoust-product-panel__stock-note[hidden] {
	display: none;
}

.dehoust-product-panel__stock-note-text {
	margin: 0;
}

/* Galeria — ramka i miniatury wg nowego projektu */
.dehoust-product-gallery__main {
	border: 1px solid #d8e5f2;
	border-radius: 1.125rem; /* 18 */
	background: #fff;
}

.dehoust-product-gallery__thumb {
	border: 1px solid #d8e5f2;
	border-radius: 0.75rem; /* 12 */
	background: #fff;
}

.dehoust-product-gallery__thumb[data-active] {
	border: 2px solid #1f7dd9;
}

/* Stary panel nadawał tym elementom własne wymiary — zerujemy je jawnie,
   inaczej pole ilości ściska się do kilkunastu pikseli. */
.dehoust-product-panel__qty {
	width: auto;
	height: auto;
}

.dehoust-product-panel__qty-btn,
.dehoust-product-panel__qty-input {
	flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Korekta wymiarów do projektu Pencil `Gw6R1`.
   Projekt ma treść szerokości 1427 px (668,73 + 56 + 702), a kontener serwisu
   ma 1370 px i jest wspólny dla wszystkich sekcji. Kolumny dostają więc
   proporcje z projektu, a nie surowe piksele — inaczej sekcja wychodziłaby
   poza siatkę reszty strony.
   -------------------------------------------------------------------------- */

@media (min-width: 1280px) {
	.dehoust-product-purchase__inner {
		gap: 56px;
	}

	.dehoust-product-purchase__inner > [data-animate-item]:first-child {
		flex: 0 1 668.733px;
		max-width: none;
	}

	.dehoust-product-purchase__inner > [data-animate-item]:last-child {
		flex: 0 1 702px;
		width: auto;
		max-width: none;
	}

	.dehoust-product-gallery {
		max-width: none;
	}

	/* Kadr zostaje przy proporcji 670 : 490 z pierwotnego kodu. Projekt ma tu 668 × 816,
	   ale przy realnych zdjęciach produktów taki kadr rozdmuchiwał je na pół ekranu —
	   wysoka ramka z makiety nie broni się na prawdziwych fotografiach. */
	.dehoust-product-gallery__main {
		height: auto;
		aspect-ratio: 670 / 490;
		max-height: 490px;
	}

	.dehoust-product-gallery__image {
		max-width: calc(100% - 120px);
		max-height: min(456px, 68.06cqw);
	}
}

/* Miniatury: 120 × 92, odstęp 14, bez rozciągania — w projekcie stoją do lewej */
.dehoust-product-gallery__thumbs {
	gap: 14px;
}

.dehoust-product-gallery__thumb {
	display: flex;
	width: 120px;
	height: 92px;
	flex: 0 0 120px;
	max-width: 120px;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 6px;
	border-radius: 12px;
	padding: 8px;
	box-shadow: none;
}

.dehoust-product-gallery__thumb[data-active] {
	border: 2px solid #1f7dd9;
	padding: 7px;
	box-shadow: none;
}

.dehoust-product-gallery__thumb-image {
	width: 100%;
	max-width: 100%;
	height: 52px;
	max-height: 52px;
	border-radius: 8px;
	object-fit: contain;
}

.dehoust-product-gallery__thumb-label {
	overflow: hidden;
	font-family: var(--dehoust-font-body);
	font-size: 12px;
	line-height: 1.2;
	color: #7d8fa3;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.dehoust-product-gallery__thumb[data-active] .dehoust-product-gallery__thumb-label {
	color: #1f1d1a;
}

@media (max-width: 1023px) {
	.dehoust-product-gallery__thumb {
		width: 86px;
		height: 74px;
		flex: 0 0 86px;
		max-width: 86px;
		gap: 4px;
		padding: 6px;
	}

	.dehoust-product-gallery__thumb[data-active] {
		padding: 5px;
	}

	.dehoust-product-gallery__thumb-image {
		height: 40px;
		max-height: 40px;
	}
}

/* Odstępy w bloku ceny — w projekcie 18 px między kwotą, ceną netto i notami */
.dehoust-product-panel__pricing {
	gap: 18px;
}

.dehoust-product-panel__price-secondary {
	gap: 18px;
}

/* Stary panel miał własne ograniczenie szerokości — teraz szerokość wyznacza
   kolumna, żeby proporcja kolumn zgadzała się z projektem. */
.dehoust-product-panel {
	width: 100%;
	max-width: none;
}

/* --------------------------------------------------------------------------
   Detale wg projektu: fonty, odstęp pod „Wybierz wariant”, wysokość kafelków.
   Stary panel dokładał tym elementom marginesy i krój nagłówkowy — zerujemy je.
   -------------------------------------------------------------------------- */

/* Ceny w projekcie są w Figtree, nie w kroju nagłówkowym */
.dehoust-product-panel__price-gross,
.dehoust-product-panel__price-net,
.dehoust-product-panel__price-old,
.dehoust-product-panel__sku {
	font-family: var(--dehoust-font-body);
}

/* 14 px pod „Wybierz wariant” — stara reguła dokładała własny margines */
.dehoust-product-panel__variant {
	margin: 0;
}

/* Przycisk nie dziedziczy kroju z rodzica — bez tego wchodzi systemowy Arial */
.dehoust-product-panel__variant-option {
	min-height: 41px;
	font-family: inherit;
	line-height: 1.3;
}

/* 17 + 2 × 12 padding = 41 px wysokości kafelka, tak jak w projekcie */
.dehoust-product-panel__variant-swatch {
	width: 17px;
	height: 17px;
}

/* Odnośniki w „Zapytaj o produkt” mają w projekcie kropkę na początku */
.dehoust-product-panel__detail-link::before,
.dehoust-product-panel__detail-phone::before {
	content: "• ";
}

/* Pencil rysuje obramowanie do środka, CSS dolicza je do wysokości. Odejmujemy
   je od paddingu, żeby kafelek miał 41 px i w stanie zwykłym, i w zaznaczonym. */
.dehoust-product-panel__variant-option {
	min-height: 0;
	padding: 11px 12px;
}

.dehoust-product-panel__variant-option[data-active] {
	padding: 10px 11px;
}

/* Wiersz „ilość + koszyk” (Pencil Ftmsx): stepper 146 × 46, przycisk 46 wysokości.
   Stary panel dokładał tu padding i większą wysokość, a obramowanie CSS dolicza się
   do rozmiaru — stąd komórki po 44 px i 1 px ramki daje 46 px w sumie. */
.dehoust-product-panel__qty {
	padding: 0;
	height: 46px;
}

.dehoust-product-panel__qty-btn {
	width: 45px;
	height: 44px;
	padding: 0;
}

.dehoust-product-panel__qty-input {
	width: 54px;
	height: 44px;
	min-width: 0;
}

.dehoust-product-panel__cart-btn {
	height: 46px;
	min-height: 0;
}

/* Komórki stepperów stykają się — stary panel rozstawiał je odstępem */
.dehoust-product-panel__qty {
	gap: 0;
}

/* Wiersze dostawy: 13/14 px z ciasną interlinią daje 37 px wysokości jak w projekcie */
.dehoust-product-panel__detail-title,
.dehoust-product-panel__detail-value,
.dehoust-product-panel__detail-link,
.dehoust-product-panel__detail-phone {
	line-height: 1.2;
}

/* Przycisk koszyka wypełnia resztę wiersza (Pencil: width fill_container).
   Stary panel ograniczał go do 241 px, więc flex nie miał czego rozciągać. */
.dehoust-product-panel__cart-btn {
	width: auto;
	max-width: none;
}

/* Ikona PDF jest obrazkiem, więc bieli się filtrem — razem z tłem i tekstem przycisku */
.dehoust-product-panel__catalog-btn img {
	transition: filter 0.15s ease;
}

.dehoust-product-panel__catalog-btn:hover img,
.dehoust-product-panel__catalog-btn:focus-visible img {
	filter: brightness(0) invert(1);
}

/* --------------------------------------------------------------------------
   Mobile wg Pencil `zbQoc`: panel idzie na całą szerokość ekranu (ramka 390,
   padding 16), bez zaokrąglenia. Wcześniej doliczał się jeszcze margines
   kontenera, przez co na treść zostawało 275 px zamiast 322 i napis
   „Dodaj do koszyka” nie mieścił się w przycisku.
   -------------------------------------------------------------------------- */

@media (max-width: 1023px) {
	.dehoust-product-panel {
		margin-inline: calc(var(--dehoust-gutter) * -1);
		border-radius: 0;
		padding: 16px 16px 24px;
	}

	/* Trzy warianty mieszczą się w jednym rzędzie, tak jak w projekcie */
	.dehoust-product-panel__variant-options {
		gap: 8px;
	}

	.dehoust-product-panel__variant-option {
		flex: 1 1 0;
		min-width: 0;
	}

	.dehoust-product-panel__variant-name {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	/* Odstęp w wierszu „ilość + koszyk” — w projekcie mobilnym 10 px */
	.dehoust-product-panel__cart {
		gap: 10px;
	}

	.dehoust-product-panel__cart-btn {
		min-width: 0;
		padding-inline: 0.75rem;
	}

	.dehoust-product-panel__cart-btn-content {
		min-width: 0;
	}

	/* Wiersze dostawy i karta katalogowa mają w projekcie mniejsze wcięcia */
	.dehoust-product-panel__details {
		padding-inline: 12px;
	}

	.dehoust-product-panel__catalog {
		padding-inline: 12px;
	}
}


@media (max-width: 1023px) {
	/* Bez tego szerokość 100% liczy się od kolumny i ujemny margines tylko
	   przesuwa panel zamiast rozciągnąć go na całą szerokość ekranu. */
	.dehoust-product-panel {
		width: auto;
	}

	.dehoust-product-panel__cart-btn {
		padding-inline: 0.5rem;
	}
}

/* Tabela „Dane techniczne”: na wąskim ekranie 66% szerokości ściskało ją do 209 px,
   a długie wartości („dwupłaszczowych”, „KOMBI, TRIOSAFE”) wychodziły poza ramkę. */
@media (max-width: 1023px) {
	.dehoust-product-tabs__spec-table {
		max-width: 100%;
	}

	.dehoust-product-tabs__spec-row {
		align-items: flex-start;
		gap: 12px;
		padding-block: 8px;
	}
}

.dehoust-product-tabs__spec-row dt,
.dehoust-product-tabs__spec-row dd {
	min-width: 0;
	overflow-wrap: anywhere;
}

/* Karuzele wychylały się o 18 px na cienie, a przy gutterze 16 px dawało to
   2 px poziomego przewijania całej strony. */
@media (max-width: 1023px) {
	.dehoust-related-products__viewport-clip,
	.dehoust-featured__viewport-clip {
		width: calc(100% + 2 * var(--dehoust-gutter));
		margin-inline: calc(var(--dehoust-gutter) * -1);
		padding-inline: var(--dehoust-gutter);
	}
}

/* Poniżej 640 px kolumna wartości jest za wąska i długie słowa łamią się w środku
   („dwupłaszczowyc/h”). Wartość idzie pod etykietę — czyta się to normalnie.
   Projekt mobilny nie obejmuje zakładek, więc to nasza decyzja układu. */
@media (max-width: 639px) {
	.dehoust-product-tabs__spec-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 2px;
		padding-block: 10px;
	}

	.dehoust-product-tabs__spec-row dd {
		text-align: left;
	}
}

.dehoust-product-tabs__spec-row dt,
.dehoust-product-tabs__spec-row dd {
	overflow-wrap: break-word;
}

/* Zdjęcie główne na telefonie: proporcja 358 : 286 z projektu mobilnego (zbQoc).
   Stara wersja miała sztywne 490 px wysokości i spychała miniatury poza ekran. */
@media (max-width: 1279px) {
	.dehoust-product-gallery__main {
		height: auto;
		aspect-ratio: 358 / 286;
	}

	.dehoust-product-gallery__image {
		max-width: calc(100% - 72px);
		max-height: 100%;
	}
}

/* Na telefonie stepper jest węższy niż w projekcie — przy 360 px pełne 146 px
   nie zostawiało miejsca na napis w przycisku koszyka. */
@media (max-width: 1023px) {
	.dehoust-product-panel__qty-btn {
		width: 36px;
	}

	.dehoust-product-panel__qty-input {
		width: 44px;
	}
}

/* Ustawiane przez skrypt na czas przewijania paska zakładek — bez tego każda
   klatka przewijania byłaby animowana i pasek wlókłby się za zakładką. */
.dehoust-product-tabs__accent-bar--instant {
	transition: none;
}

/* --------------------------------------------------------------------------
   Korekty stopni pisma i odstępów w panelu zakupu — na życzenie klienta,
   miejscami wbrew projektowi (odnotowane przy poszczególnych regułach).
   -------------------------------------------------------------------------- */

/* Nagłówki bloków: 16 px zamiast 14 */
.dehoust-product-panel__config-title,
.dehoust-product-panel__specs-title {
	font-size: 1rem;
}

/* Nazwy wariantów i tabela parametrów: 14 px zamiast 13 i 12 */
.dehoust-product-panel__variant-name {
	font-size: 0.875rem;
}

.dehoust-product-panel__specs-row {
	font-size: 0.875rem;
}

/* Wiersze dostawy, zapytania i karty katalogowej: 14 px */
.dehoust-product-panel__detail-title,
.dehoust-product-panel__detail-value,
.dehoust-product-panel__detail-link,
.dehoust-product-panel__detail-phone,
.dehoust-product-panel__catalog-title,
.dehoust-product-panel__catalog-btn {
	font-size: 0.875rem;
}

/* Cena netto i numer katalogowy bez pogrubienia */
.dehoust-product-panel__price-net,
.dehoust-product-panel__sku {
	font-weight: 400;
}

/* Kreska nad „Parametry produktu” stała za blisko obramowań kafelków wariantu */
.dehoust-product-panel__config > .dehoust-panel-accent {
	margin-top: 0.625rem;
}

/* Wbrew projektowi: „Zapytaj o produkt” i „Pobierz kartę katalogową” zaczynają się
   od tej samej linii — w Pencilu oba bloki mają różne wcięcia (22 i 18 px). */
.dehoust-product-panel__details,
.dehoust-product-panel__catalog {
	padding-inline: 1.375rem;
}

@media (max-width: 1023px) {
	.dehoust-product-panel__details,
	.dehoust-product-panel__catalog {
		padding-inline: 12px;
	}
}

/* Wiersze dostawy i zapytania bez wcięcia bocznego. Karta katalogowa dostaje to samo,
   żeby oba bloki nadal zaczynały się od jednej linii — o to było wcześniejsze ustalenie. */
.dehoust-product-panel__details,
.dehoust-product-panel__catalog {
	padding-inline: 0;
}
