/*
 * Product page (design-shop 6.3, I.7; live computed styles
 * notes/ref/shop-computed-styles/product-{desktop,mobile}.json): breadcrumbs,
 * gallery + lightbox, summary, purchase box, calculator, tabs band, related.
 */

/* Breadcrumbs ------------------------------------------------------------ */

.lvt-product-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: -8px 0 46px;
	color: var(--lvt-c-text);
	font-size: 16px;
	line-height: 24px;
}

.lvt-product-crumbs__item {
	color: #767676;
}

.lvt-product-crumbs a.lvt-product-crumbs__item:hover {
	color: #333333;
}

.lvt-product-crumbs__item.is-current {
	color: #242424;
	font-weight: 600;
}

.lvt-product-crumbs__sep {
	margin: 0 8px;
	color: var(--lvt-c-text);
}

.lvt-product__notices:empty {
	display: none;
}

.lvt-product__notices .lvt-notice {
	margin: 0 0 30px;
}

/* Main two columns ------------------------------------------------------- */

.lvt-product__main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	column-gap: 30px;
	align-items: start;
}

.lvt-product__media,
.lvt-product__summary {
	min-width: 0;
}

/* Gallery ---------------------------------------------------------------- */

.lvt-gallery {
	display: flex;
	flex-direction: row-reverse;
	align-items: flex-start;
	gap: 10px;
}

.lvt-gallery__main {
	position: relative;
	flex: 1 1 auto;
	min-width: 0;
}

.lvt-gallery__stage {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: #EDEDED;
	touch-action: pan-y;
}

.lvt-gallery__slide {
	position: absolute;
	inset: 0;
	display: block;
	opacity: 0;
	visibility: hidden;
	cursor: zoom-in;
	transition: opacity .3s ease, visibility 0s linear .3s;
}

.lvt-gallery__slide.is-active {
	opacity: 1;
	visibility: visible;
	transition: opacity .3s ease, visibility 0s;
}

.lvt-gallery__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lvt-gallery__thumbs {
	display: flex;
	flex: none;
	flex-direction: column;
	gap: 10px;
	width: 122px;
}

.lvt-gallery__thumb {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: #EDEDED;
	cursor: pointer;
	transition: opacity .25s ease;
}

.lvt-gallery__thumb img {
	display: block;
	width: 100%;
	height: 80px;
	object-fit: cover;
}

.lvt-gallery__thumb.is-active {
	opacity: .5;
}

/*
 * Desktop thumbnail column (live Woodmart carousel): three 80px photos in
 * 90px steps (270px), then a 30px row with an up and a down arrow, so the
 * column is 300px tall whatever the number of photos; with more than three
 * the arrows (and the main photo) scroll it one photo at a time.
 */
.lvt-gallery__side {
	position: relative;
	display: flex;
	flex: none;
	flex-direction: column;
	width: 122px;
}

@media (min-width: 1025px) {
	.lvt-gallery__thumbs {
		gap: 0;
		height: 270px;
		overflow: hidden;
	}

	.lvt-gallery__thumb {
		flex: none;
		margin-bottom: 10px;
	}
}

/*
 * A first photo that is not 3:2 (--lvt-gallery-ratio "W / H", set by
 * product-gallery.php): live's column is as tall as that photo, i.e. the
 * three thumbnails share its height minus the 30px arrow row (alder at 1440:
 * 292px, thumbnails 77.3px). The photo is 132px narrower than the gallery
 * (122px column + 10px gap).
 */
@media (min-width: 1025px) {
	.lvt-gallery--natural {
		container-type: inline-size;
	}

	.lvt-gallery--natural .lvt-gallery__thumbs {
		height: calc((100cqw - 132px) / (var(--lvt-gallery-ratio)) - 30px);
	}

	.lvt-gallery--natural .lvt-gallery__thumb img {
		height: calc(((100cqw - 132px) / (var(--lvt-gallery-ratio)) - 30px) / 3 - 10px);
	}
}

.lvt-gallery__thumbs-nav {
	display: flex;
	gap: 5px;
	height: 30px;
}

.lvt-gallery__thumbs-arrow {
	display: flex;
	flex: 1 1 50%;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: none;
	color: #333333;
	cursor: pointer;
}

.lvt-gallery__thumbs-arrow .lvt-cicon {
	width: 14px;
	height: 8px;
	transform: translateY(-1px);
}

.lvt-gallery__thumbs-arrow .lvt-cicon--thumbs-left,
.lvt-gallery__thumbs-arrow .lvt-cicon--thumbs-right {
	display: none;
	width: 9px;
	height: 15px;
	transform: none;
}

.lvt-gallery__thumbs-arrow:disabled {
	color: #A5A5A5;
	cursor: default;
}

/* Not needed at this width (all thumbnails fit): live hides the arrows. */
.lvt-gallery__thumbs-nav.is-locked .lvt-gallery__thumbs-arrow {
	opacity: 0;
	pointer-events: none;
}

.lvt-gallery__arrow {
	position: absolute;
	top: 50%;
	z-index: 4;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	margin-top: -25px;
	padding: 0;
	border: 0;
	background: none;
	color: #333333;
	opacity: 0;
	cursor: pointer;
	transition: opacity .25s ease, transform .25s ease;
}

.lvt-gallery__arrow .lvt-cicon {
	width: 14px;
	height: 24px;
}

.lvt-gallery__arrow--prev {
	left: 0;
	transform: translateX(-30px);
}

.lvt-gallery__arrow--next {
	right: 0;
	transform: translateX(30px);
}

.lvt-gallery__main:hover .lvt-gallery__arrow,
.lvt-gallery__arrow:focus-visible {
	opacity: 1;
	transform: none;
}

.lvt-gallery__main:hover .lvt-gallery__arrow:disabled {
	opacity: .35;
	cursor: default;
}

.lvt-gallery__enlarge {
	position: absolute;
	bottom: 15px;
	left: 15px;
	z-index: 4;
	display: flex;
	align-items: center;
	gap: 0;
	max-width: 50px;
	height: 50px;
	padding: 0 16px;
	border: 0;
	border-radius: 36px;
	background: #FFFFFF;
	box-shadow: 0 0 5px rgba(0, 0, 0, .08);
	color: #666666;
	overflow: hidden;
	white-space: nowrap;
	cursor: pointer;
	transition: max-width .4s var(--lvt-ease), gap .4s var(--lvt-ease);
}

.lvt-gallery__enlarge .lvt-cicon {
	flex: none;
	width: 18px;
	height: 18px;
}

.lvt-gallery__enlarge-text {
	color: #333333;
	font-size: 14.4px;
	line-height: 16px;
	opacity: 0;
	transition: opacity .3s ease;
}

.lvt-gallery__enlarge:hover,
.lvt-gallery__enlarge:focus-visible {
	gap: 10px;
	max-width: 260px;
}

.lvt-gallery__enlarge:hover .lvt-gallery__enlarge-text,
.lvt-gallery__enlarge:focus-visible .lvt-gallery__enlarge-text {
	opacity: 1;
}

/* Labels on the main photo: top-right, all corners round except the grade (errata #8). */
.lvt-badges--product {
	top: 15px;
	right: 15px;
	z-index: 5;
	align-items: flex-end;
}

.lvt-badges--product .lvt-badge {
	border-radius: 3px;
}

.lvt-badges--product .lvt-badge--grade {
	justify-content: flex-start;
	border-radius: 0 3px 3px 0;
	text-align: left;
}

/* USP block under the gallery (hidden on phones) ------------------------- */

.lvt-product-usp {
	display: flex;
	flex-direction: column;
	gap: 20px;
	margin: 46px 0 0;
	padding: 10px;
}

.lvt-product-usp__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	border-right: 1px solid var(--lvt-c-line-2);
	text-align: center;
}

.lvt-product-usp__item:last-child {
	border-right: 0;
}

.lvt-product-usp__item .lvt-cicon {
	width: 41px;
	height: 40px;
}

.lvt-product-usp__item p {
	margin: 0;
	color: var(--lvt-c-text);
	font-size: 16px;
	line-height: 24px;
}

/* Summary ---------------------------------------------------------------- */

.lvt-product__summary {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	padding-top: 20px;
}

.lvt-product__summary > * {
	flex: none;
}

.lvt-product__title {
	margin: 0 0 20px;
	color: #333333;
	font-size: 34px;
	line-height: 40px;
	letter-spacing: -0.01px;
}

.lvt-product__short {
	margin: 0 0 20px;
	color: var(--lvt-c-text);
}

.lvt-product__short p {
	margin: 0 0 20px;
}

.lvt-product__short > p:last-child,
.lvt-product__short > p:has(+ .lvt-defects) {
	margin-bottom: 0;
}

/* A blank line after the defects row (live B-grade texts): 20px under the row, as between paragraphs. */
.lvt-product__short > .lvt-defects + p {
	margin-top: 20px;
}

.lvt-lang-lv .lvt-product__short em {
	font-style: normal;
}

/* B grade: permissible defects */
/* Live: a 24px row with the 17.6px link (15.6px line + 2px underline) centred in it. */
.lvt-defects {
	display: flex;
	align-items: center;
	min-height: 24px;
	margin-top: 20px;
}

/* Phones (live): the row is one 20px text line and the link sits on its baseline, 2.2px from the top. */
@media (max-width: 767px) {
	.lvt-defects {
		align-items: flex-start;
		min-height: 20px;
		padding-top: 2.2px;
	}
}

.lvt-defects__toggle {
	display: inline-block;
	padding: 0;
	border: 0;
	border-bottom: 2px solid var(--lvt-c-primary);
	background: none;
	color: #333333;
	font-family: var(--lvt-font-body);
	font-size: 13px;
	font-weight: 600;
	line-height: 15.6px;
	text-transform: uppercase;
	cursor: pointer;
}

.lvt-defects__toggle:hover {
	color: var(--lvt-c-primary);
}

/* Photo list read by the script (never shown, as live). */
.lvt-defects__grid[hidden] {
	display: none;
}

/* Price */
.lvt-product__price {
	display: flex;
	align-items: center;
	margin: 0 0 20px;
}

.lvt-price {
	display: flex;
	flex-wrap: wrap;
	align-items: center; /* live: the smaller "/pack (without VAT)" is centred on the price line */
	margin: 0;
	color: var(--lvt-c-secondary);
	font-size: 24.8px;
	font-weight: 600;
	line-height: 29.76px;
}

.lvt-price__old {
	color: #BBBBBB;
	font-size: .9em;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: line-through;
}

.lvt-price__new {
	color: #DA2C2C;
	text-decoration: none;
}

.lvt-price__suffix {
	color: #767676;
	font-size: 19.84px;
	font-weight: 400;
	line-height: 23.8px;
}

.lvt-product__per-m {
	margin: 17px 0 20px;
	color: var(--lvt-c-text);
	font-size: 15px;
	line-height: 24px;
}

/* Tooltips (VAT rates, calculator) */
.lvt-tip {
	position: relative;
	display: inline-flex;
	flex: none;
}

.lvt-tip--vat {
	margin-left: 10px;
}

.lvt-tip__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	background: none;
	color: var(--lvt-c-primary);
	cursor: help;
}

.lvt-tip__btn .lvt-cicon {
	width: 16px;
	height: 16px;
}

.lvt-tip__box {
	position: absolute;
	z-index: 30;
	display: block;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility 0s linear .3s;
	pointer-events: none;
}

.lvt-tip.is-open .lvt-tip__box {
	opacity: 1;
	visibility: visible;
	transition: opacity .3s ease, visibility 0s;
	pointer-events: auto;
}

.lvt-tip__line {
	display: block;
}

.lvt-tip--vat .lvt-tip__box {
	bottom: calc(100% + 19.6px);
	left: 50%;
	width: 366px;
	margin-left: -183px;
	padding: 5px 10px;
	border-radius: 6px;
	background: rgba(33, 28, 27, .9);
	color: #FAFAFA;
	font-size: 16px;
	font-weight: 400;
	line-height: 20px;
	text-align: left;
}

.lvt-tip--vat .lvt-tip__box::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -6px;
	border: 6px solid transparent;
	border-top-color: rgba(33, 28, 27, .9);
}

/* Live: text column 286px with automatic hyphenation inside the 366px box. */
.lvt-tip--vat .lvt-tip__line {
	max-width: 286px;
	overflow-wrap: break-word;
	hyphens: auto;
}

.lvt-tip--vat .lvt-tip__box strong {
	font-weight: 700;
}

/* Purchase form */
.lvt-cart-form {
	margin: 32px 0;
	padding: 32px 0;
	border-top: 1px solid var(--lvt-c-line-2);
	border-bottom: 1px solid var(--lvt-c-line-2);
}

.lvt-variation {
	margin: 0 0 24px;
	padding: 0 0 20px;
}

.lvt-variation__label {
	display: block;
	color: #222222;
	font-size: 16px;
	font-weight: 600;
	line-height: 25.6px;
}

.lvt-variation__label::after {
	content: ":";
	margin-left: 2px;
}

.lvt-variation .lvt-variation__select {
	display: block;
	max-width: 260px;
	height: 42px;
	padding: 0 30px 0 15px;
	color: var(--lvt-c-secondary);
	font-size: 14px;
	line-height: 19.6px;
	cursor: pointer;
}

.lvt-availability {
	margin: 0 0 20px;
}

.lvt-stock {
	display: flex;
	align-items: center;
	margin: 0;
	color: #333333;
	font-size: 16px;
	font-weight: 600;
	line-height: 19.2px;
}

.lvt-stock__icon {
	flex: none;
	width: 16px;
	height: 16px;
	margin-right: 2.4px;
	color: #27A323;
}

.lvt-stock__label {
	color: #27A323;
}

.lvt-stock__qty {
	margin-left: 5px;
}

.lvt-stock--out {
	color: #B50808;
}

.lvt-total {
	display: flex;
	flex-direction: column;
	margin: 0 0 30px; /* live: stepper 38px under the amount (ui-state-qty-at-max) */
	color: var(--lvt-c-text);
}

.lvt-total[hidden] {
	display: none;
}

.lvt-total__label {
	font-size: 16px;
	font-weight: 600;
	line-height: 24px;
}

.lvt-total__value {
	font-size: 20px;
	font-weight: 700;
	line-height: 26px;
}

.lvt-buy {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

/* Quantity stepper (design-shop 5.8, I.7) */
.lvt-qty {
	display: flex;
	flex: none;
	width: 134px;
	height: 48px;
}

.lvt-qty__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--lvt-c-form-border);
	background: transparent;
	color: #352F2D;
	cursor: pointer;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

.lvt-qty__btn--minus {
	border-radius: 5px 0 0 5px;
	color: #D9D9D9;
}

.lvt-qty__btn--plus {
	border-radius: 0 5px 5px 0;
}

.lvt-qty__btn:hover,
.lvt-qty__btn:focus-visible {
	border-color: var(--lvt-c-primary);
	background: var(--lvt-c-primary);
	color: #FFFFFF;
}

.lvt-qty__btn .lvt-cicon {
	width: 12px;
}

.lvt-qty .lvt-qty__input {
	width: 70px;
	height: 48px;
	padding: 0 5px;
	border-width: 1px 0;
	border-radius: 0;
	color: #352F2D;
	font-size: 14px;
	text-align: center;
	-moz-appearance: textfield;
}

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

.lvt-buy .lvt-add-to-cart.lvt-btn {
	min-height: 48px;
	padding: 15px 62px;
	font-size: 18px;
	font-weight: 500;
	line-height: 18px;
}

.lvt-add-to-cart.is-disabled,
.lvt-add-to-cart.is-disabled:hover {
	background: var(--lvt-gradient);
	opacity: .5;
	cursor: not-allowed;
}

.lvt-add-to-cart.is-loading {
	position: relative;
	color: transparent;
	pointer-events: none;
}

.lvt-add-to-cart.is-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid rgba(255, 255, 255, .4);
	border-top-color: #FFFFFF;
	border-radius: 50%;
	animation: lvt-spin .6s linear infinite;
}

@keyframes lvt-spin {
	to {
		transform: rotate(360deg);
	}
}

/* Calculator ------------------------------------------------------------- */

/*
 * Live: a 4 x 3 grid, the box as wide as the grid ("width: fit-content", 591.5px at 768), never wider than the
 * column. 769-1150px and phones: each row stacked (see the media block below).
 */
.lvt-calc {
	width: fit-content;
	max-width: 100%;
	margin: 0 0 20px;
	padding: 32px;
	border: 2px solid var(--lvt-c-line);
	border-radius: 5px;
}

.lvt-calc__title {
	display: flex;
	align-items: center;
	gap: 5px;
	margin: 0 0 22px;
	color: var(--lvt-c-secondary);
	font-size: 22px;
	font-weight: 600;
	line-height: 28px;
	letter-spacing: -0.22px;
}

.lvt-tip--calc {
	align-self: flex-end;
	margin-bottom: 7px;
}

.lvt-tip--calc .lvt-tip__btn .lvt-cicon {
	width: 12px;
	height: 12px;
}

.lvt-tip--calc .lvt-tip__box {
	top: -3px;
	left: 12px;
	width: 230px;
	padding: 20px;
	border: 1px solid #C8C8C8;
	border-radius: 5px;
	background: #FFFFFF;
	color: #222222;
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
	letter-spacing: 0;
}

.lvt-calc__row {
	display: grid;
	grid-template-columns: 3fr 2fr 2fr;
	margin: 0 0 10px;
}

.lvt-calc__row:last-child {
	margin-bottom: 0;
}

.lvt-calc__cell {
	display: flex;
	align-items: center;
	min-width: 0;
}

/* Live column spacing (20px after the first two cells); the tracks stay 3fr 2fr 2fr (cells may shrink). */
.lvt-calc__cell:not(:last-child) {
	margin-right: 20px;
}

/* Live: at least 68px, "Thickness" gets its own width where the column has room (768) and shrinks where not. */
.lvt-calc__label {
	flex: 0 1 auto;
	min-width: 68px;
	margin: 6px 8px 6px 0;
	color: #222222;
	font-size: 15px;
	font-weight: 500;
	line-height: 24px;
	cursor: default;
}

.lvt-calc .lvt-calc__input {
	flex: none;
	width: 85px;
	height: 36px;
	margin: 0 8px 0 0;
	padding: 0 15px 0 0; /* live number fields keep 15px for their (hidden) arrows, so the centred value sits 7.5px left of the middle */
	border: 1px solid var(--lvt-c-line-2);
	border-radius: 5px;
	color: #352F2D;
	font-size: 16px;
	line-height: 24px;
	text-align: center;
}

.lvt-calc .lvt-calc__input.is-fixed {
	background: var(--lvt-c-line-2);
	opacity: .6;
	cursor: default;
}

.lvt-calc__unit {
	margin: 6px 0;
	color: var(--lvt-c-text);
	font-size: 15px;
	line-height: 24px;
	white-space: nowrap;
}

.lvt-calc__unit sup {
	position: relative;
	top: -0.25em; /* live (theme reset): 75%, on the baseline, raised a quarter em */
	font-size: 75%;
	line-height: 1;
	vertical-align: baseline;
}

/*
 * Desktop grid (live child theme above 1150px): every row is its own
 * 3fr 2fr 2fr grid whose cells never get narrower than their content (the
 * first one at least 188px), so a long unit such as «iepak.» widens its
 * column in that row only; the box is as wide as the widest row, also when
 * that is a few pixels wider than the column (LV: 587.8px in a 581px column).
 * From 1200px only: between 1151 and 1199px live's wider box runs past the
 * screen edge and loses its right border (live bug), so there the box stays
 * inside the column and its cells shrink as below.
 */
@media (min-width: 1200px) {
	.lvt-calc {
		max-width: none;
	}

	.lvt-calc__cell {
		min-width: auto;
	}

	.lvt-calc__cell:first-child {
		min-width: 188px;
	}
}

/* Tabs band -------------------------------------------------------------- */

.lvt-product-tabs {
	margin: 40px 0 40px;
	padding: 0 0 40px;
	border-top: 1px solid rgba(0, 0, 0, .106);
	border-bottom: 1px solid rgba(0, 0, 0, .106);
}

.lvt-product-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 5px 30px;
	margin: -1px 0 30px; /* live: the tab titles sit on the line above the band, not under it */
}

.lvt-product-tabs__tab {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 42px;
	padding: 16px 0 10px;
	border: 0;
	background: none;
	color: rgba(51, 51, 51, .7);
	font-family: var(--lvt-font-figtree);
	font-size: 16px;
	font-weight: 600;
	line-height: 19.2px;
	text-transform: uppercase;
	cursor: pointer;
	transition: color .25s ease;
}

.lvt-product-tabs__tab span {
	position: relative;
	display: block;
	padding: 1px 0;
}

.lvt-product-tabs__tab span::after {
	content: "";
	position: absolute;
	top: -33px;
	left: 0;
	width: 0;
	height: 3px;
	background: var(--lvt-c-primary);
	transition: width .4s var(--lvt-ease);
}

.lvt-product-tabs__tab:hover,
.lvt-product-tabs__tab.is-active {
	color: #333333;
}

.lvt-product-tabs__tab.is-active span::after {
	width: 100%;
}

.lvt-product-tabs__acc {
	display: none;
}

.lvt-product-tabs__section:not(.is-active) .lvt-product-tabs__panel {
	display: none;
}

.lvt-product-desc > :last-child,
.lvt-delivery > :last-child {
	margin-bottom: 0;
}

.lvt-product-desc p {
	margin: 0 0 20px;
}

/* Descriptions live printed through the page builder: its column keeps 10px
   above and below the text (meta _lvt_desc_inset, set by the importer). */
.lvt-product-desc--inset {
	padding: 10px 0;
}

/* Shipping & Delivery tab (live: Elementor block with a 10px inset) */
.lvt-delivery {
	padding: 10px;
}

.lvt-delivery__heading,
.lvt-delivery__title {
	margin: 0 0 20px;
	color: #222222;
	font-size: 22px;
	line-height: 28px;
}

.lvt-delivery__heading span {
	color: var(--lvt-c-primary);
}

.lvt-delivery__contacts {
	display: flex;
	flex-wrap: wrap;
	gap: 5px 16px;
	margin: 0 0 46px;
	padding: 0;
	list-style: none;
}

.lvt-delivery__contacts li {
	display: flex;
}

.lvt-delivery__contacts a {
	display: inline-flex;
	align-items: center;
	gap: 3.5px;
	color: #333333;
	font-size: 16px;
	line-height: 24px;
}

.lvt-delivery__contacts a:hover {
	color: var(--lvt-c-primary);
}

.lvt-delivery__contacts .lvt-cicon {
	color: var(--lvt-c-primary);
}

.lvt-delivery__item {
	border-bottom: 1px solid var(--lvt-c-line-2);
}

.lvt-delivery__summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 15px 20px 15px 0;
	color: var(--lvt-c-secondary);
	font-size: 18px;
	line-height: 16px;
	list-style: none;
	cursor: pointer;
}

.lvt-delivery__summary::-webkit-details-marker {
	display: none;
}

.lvt-delivery__icon {
	flex: none;
	width: 24px;
	height: 24px;
}

.lvt-delivery__name {
	flex: 1 1 auto;
}

.lvt-delivery__state {
	flex: none;
	width: 16px;
	height: 16px;
}

.lvt-delivery__state--open,
.lvt-delivery__item[open] .lvt-delivery__state--closed {
	display: none;
}

.lvt-delivery__item[open] .lvt-delivery__state--open {
	display: block;
}

.lvt-delivery__body {
	padding: 15px 20px 15px 0;
}

.lvt-delivery__body > :last-child {
	margin-bottom: 0;
}

.lvt-delivery__body a {
	color: var(--lvt-c-primary);
}

/* Related products ------------------------------------------------------- */

.lvt-related__title {
	display: flex;
	align-items: center;
	margin: 0 0 20px;
	color: #222222;
	font-size: 34px;
	line-height: 40px;
}

/* Lightbox (built by shop-gallery.js) ------------------------------------ */

.lvt-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	background: #000000;
	color: #FFFFFF;
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility 0s linear .3s;
	touch-action: none;
}

.lvt-lightbox.is-open {
	opacity: 1;
	visibility: visible;
	transition: opacity .3s ease, visibility 0s;
}

.lvt-lightbox__bar {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 44px;
	padding: 0 0 0 10px;
}

.lvt-lightbox__counter {
	color: #FFFFFF;
	font-size: 13px;
	line-height: 44px;
	opacity: .75;
}

.lvt-lightbox__tools {
	display: flex;
}

.lvt-lightbox__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: #FFFFFF;
	opacity: .75;
	cursor: pointer;
	transition: opacity .2s ease;
}

.lvt-lightbox__btn:hover,
.lvt-lightbox__btn:focus-visible {
	opacity: 1;
}

.lvt-lightbox__btn .lvt-cicon {
	width: 20px;
	height: 20px;
}

.lvt-lightbox__stage {
	position: absolute;
	inset: 44px 0;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.lvt-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	user-select: none;
	-webkit-user-drag: none;
	cursor: zoom-in;
	transition: transform .3s ease;
}

.lvt-lightbox.is-zoomed .lvt-lightbox__img {
	cursor: zoom-out;
}

.lvt-lightbox__caption {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 3;
	min-height: 44px;
	padding: 12px 60px;
	color: #CCCCCC;
	font-size: 13px;
	line-height: 20px;
	text-align: center;
}

.lvt-lightbox--dim {
	background: rgba(0, 0, 0, .8);
}

.lvt-lightbox--dim .lvt-lightbox__caption {
	color: #FFFFFF;
	font-size: 16px;
	font-weight: 700;
	line-height: 24px;
}

.lvt-lightbox__caption:empty {
	display: none;
}

.lvt-lightbox__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 70px;
	height: 100px;
	margin-top: -50px;
}

.lvt-lightbox__arrow--prev {
	left: 0;
}

.lvt-lightbox__arrow--next {
	right: 0;
}

.lvt-lightbox__arrow[hidden] {
	display: none;
}

/* Chevrons are used by the 'dim' variant only. */
.lvt-lightbox__chev {
	display: none;
}

/*
 * 'dim' variant = the defects photos: live Elementor lightbox (1440x900: 60px
 * header with a 15px counter at 20/19 and 30px icon buttons, close 15px from
 * the right, photo inside a 70px inset (1140x760), 25px chevrons centred in
 * 15% wide side areas, 54px caption bar). The product photo lightbox keeps
 * the PhotoSwipe look above.
 */
.lvt-lightbox--dim .lvt-lightbox__bar {
	height: 60px;
	padding: 15px 15px 15px 20px;
}

.lvt-lightbox--dim .lvt-lightbox__counter {
	font-size: 15px;
	line-height: 22.5px;
	opacity: 1;
}

.lvt-lightbox--dim .lvt-lightbox__tools {
	align-items: center;
	gap: 14px;
}

.lvt-lightbox--dim .lvt-lightbox__btn {
	width: 30px;
	height: 30px;
	padding: 5px;
	color: rgba(237, 237, 237, .9);
	opacity: 1;
}

.lvt-lightbox--dim .lvt-lightbox__btn:hover,
.lvt-lightbox--dim .lvt-lightbox__btn:focus-visible {
	color: #FFFFFF;
}

/* Live order from the left: fullscreen, zoom, (share: not built), close. */
.lvt-lightbox--dim [data-lb-full] {
	order: 1;
}

.lvt-lightbox--dim [data-lb-zoom] {
	order: 2;
}

.lvt-lightbox--dim [data-lb-close] {
	position: relative;
	top: -2px;
	order: 3;
}

.lvt-lightbox--dim .lvt-lightbox__stage {
	inset: 70px;
}

.lvt-lightbox--dim .lvt-lightbox__img {
	border-radius: 2px;
	box-shadow: 0 0 30px rgba(0, 0, 0, .3), 0 0 8px -5px rgba(0, 0, 0, .3);
}

.lvt-lightbox--dim .lvt-lightbox__arrow {
	top: 60px;
	bottom: 60px;
	width: 15%;
	height: auto;
	margin-top: 0;
	padding: 0;
}

.lvt-lightbox--dim .lvt-lightbox__arrow-icon {
	display: none;
}

.lvt-lightbox--dim .lvt-lightbox__chev {
	display: block;
	width: 25px;
	height: 25px;
}

.lvt-lightbox--dim .lvt-lightbox__caption {
	min-height: 54px;
	padding: 15px 20px;
	color: rgba(237, 237, 237, .9);
}

/* <= 1024px -------------------------------------------------------------- */

@media (max-width: 1024px) {
	.lvt-gallery {
		flex-direction: column;
		align-items: stretch;
	}

	/* The thumbnails become a row under the photo; the arrows sit over its two ends (live: 40px boxes). */
	.lvt-gallery__side {
		width: auto;
	}

	.lvt-gallery__thumbs-nav {
		position: absolute;
		inset: 0;
		justify-content: space-between;
		align-items: center;
		height: auto;
		pointer-events: none;
	}

	.lvt-gallery__thumbs-arrow {
		flex: none;
		width: 40px;
		height: 40px;
		pointer-events: auto;
	}

	.lvt-gallery__thumbs-arrow .lvt-cicon--thumbs-up,
	.lvt-gallery__thumbs-arrow .lvt-cicon--thumbs-down {
		display: none;
	}

	.lvt-gallery__thumbs-arrow .lvt-cicon--thumbs-left,
	.lvt-gallery__thumbs-arrow .lvt-cicon--thumbs-right {
		display: block;
	}

	.lvt-gallery__thumbs {
		flex-direction: row;
		gap: 0;
		width: auto;
		margin: 0 -5px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.lvt-gallery__thumbs::-webkit-scrollbar {
		display: none;
	}

	/* 4 thumbnails per row on tablets, 3 on phones (as live). */
	.lvt-gallery__thumb {
		flex: 0 0 25%;
		max-width: 25%;
		padding: 0 5px;
		background: none;
	}

	.lvt-gallery__thumb img {
		height: auto;
		aspect-ratio: 3 / 2;
	}

	/* A photo that is not 3:2 keeps its own proportions in the row, top-aligned (live). */
	.lvt-gallery__thumb--natural {
		align-self: flex-start;
	}

	.lvt-gallery__thumb--natural img {
		aspect-ratio: auto;
	}

	.lvt-gallery__arrow {
		opacity: 1;
		transform: none;
		width: 40px;
		height: 40px;
		margin-top: -20px;
	}

	.lvt-gallery__main .lvt-gallery__arrow:disabled {
		opacity: .35;
		cursor: default;
	}

	/* Tablets and phones: breadcrumbs "Home / All products" without the product title, the last link bold (live). */
	.lvt-product-crumbs__item.is-current,
	.lvt-product-crumbs__sep:has(+ .is-current) {
		display: none;
	}

	.lvt-product-crumbs__item:has(+ .lvt-product-crumbs__sep + .is-current) {
		color: #242424;
		font-weight: 600;
	}

	.lvt-gallery__enlarge {
		max-width: 45px;
		height: 45px;
		padding: 0 14px;
	}

	.lvt-gallery__enlarge .lvt-cicon {
		width: 16px;
		height: 16px;
	}

	.lvt-product__title {
		font-size: 26px;
		line-height: 32px;
	}

	/* Live tablet price: 20.8px / suffix 16.64px, 15px under it. */
	.lvt-product__price {
		margin-bottom: 15px;
	}

	.lvt-price {
		font-size: 20.8px;
		line-height: 24.96px;
	}

	.lvt-price__suffix {
		font-size: 16.64px;
		line-height: 19.97px;
	}

	/* Live tablet/phone variations table: 5px under "Length:", the availability line 60px under the select. */
	.lvt-variation {
		margin-bottom: 40px;
	}

	.lvt-variation__label {
		margin-bottom: 5px;
	}

	.lvt-product-tabs {
		margin: 25px 0;
		padding: 25px 0;
		border-top: 0;
		border-bottom: 0;
	}

	.lvt-product-tabs__nav {
		display: none;
	}

	.lvt-product-tabs__section {
		border-top: 1px solid rgba(0, 0, 0, .106);
	}

	/* Live accordion: a 2px line above the first item, 1px lines under each. */
	.lvt-product-tabs__nav + .lvt-product-tabs__section {
		border-top-width: 2px;
	}

	.lvt-product-tabs__section:last-child {
		border-bottom: 1px solid rgba(0, 0, 0, .106);
	}

	.lvt-product-tabs__section:not(.is-active) .lvt-product-tabs__panel {
		display: block;
	}

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

	.lvt-product-tabs__panel {
		padding: 0 0 20px;
	}

	.lvt-product-tabs__acc {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		width: 100%;
		padding: 20px 0;
		border: 0;
		background: none;
		color: #333333;
		font-family: var(--lvt-font-figtree);
		font-size: 16px;
		font-weight: 600;
		line-height: 24px; /* live: 64px rows on tablets, 60px (20px text) on phones */
		text-align: left;
		cursor: pointer;
	}

	.lvt-product-tabs__acc[aria-expanded="true"] {
		color: var(--lvt-c-primary);
	}

	.lvt-product-tabs__acc-icon {
		flex: none;
		width: 12px;
		height: 7px;
		color: #BBBBBB;
		transition: transform .25s ease;
	}

	.lvt-product-tabs__acc[aria-expanded="true"] .lvt-product-tabs__acc-icon {
		transform: rotate(180deg);
	}
}

/*
 * Calculator, stacked form (live child theme: 769-1150px and phones). Each row: label, then the three fields
 * one under another (80% wide, 8px apart), 30px between rows (live 20px padding + 10px margin); the m³ row
 * stays one line in the right part of the box (live: after a 188px gap). Between 576 and 768px the grid above
 * is kept (it fits there, as on live); below 576px live overflows the screen, so the stacked form is used.
 */
@media (min-width: 769px) and (max-width: 1150px), (max-width: 575px) {
	.lvt-calc {
		width: auto;
		padding: 24px;
	}

	.lvt-calc__row {
		display: flex;
		flex-direction: column;
		gap: 8px;
		margin: 0 0 30px;
		padding: 0;
	}

	.lvt-calc__row:last-child {
		margin-bottom: 0;
	}

	.lvt-calc__cell:not(:last-child) {
		margin-right: 0;
	}

	.lvt-calc__cell--dim {
		flex-wrap: wrap;
	}

	.lvt-calc__label {
		flex: 0 0 100%;
		min-width: 0;
		margin: 0 0 8px;
		font-size: 16px;
		font-weight: 400;
		line-height: 24px;
	}

	.lvt-calc .lvt-calc__input {
		flex: 0 1 auto;
		width: 80%;
		min-width: 0;
		padding: 0 0 0 14px;
		text-align: left;
	}

	.lvt-calc__unit {
		flex: none;
	}

	.lvt-calc__row--no-dim {
		flex-direction: row;
		gap: 0;
		padding-left: clamp(0px, calc(100% - 217px), 188px);
	}

	.lvt-calc__row--no-dim .lvt-calc__cell--dim {
		display: none;
	}

	.lvt-calc__row--no-dim .lvt-calc__cell {
		flex: 1 1 0;
	}

	.lvt-calc .lvt-calc__row--no-dim .lvt-calc__input {
		flex: 1 1 auto;
		width: auto;
		max-width: none;
	}
}

/*
 * Phones: 14px labels, fields 61% of the screen (live), never pushing the unit out of the box; the m³ row
 * without the gap in front (live pushes it off the screen), so its price stays readable.
 */
@media (max-width: 575px) {
	.lvt-calc__label {
		font-size: 14px;
		line-height: 20px;
	}

	.lvt-calc__row--no-dim {
		padding-left: 0;
	}

	.lvt-calc .lvt-calc__input {
		width: 61vw;
		max-width: calc(100% - 66px);
	}
}

/* 769-1024px: the USP items stack 16px apart without dividers (live child theme). */
@media (min-width: 769px) and (max-width: 1024px) {
	.lvt-product-usp {
		gap: 16px;
	}

	.lvt-product-usp__item {
		border-right: 0;
	}
}

/* <= 768px (Woodmart "mobile" grid): one column, 3 thumbnails per row ------ */

@media (max-width: 768px) {
	.lvt-product__main {
		display: block;
	}

	.lvt-product__summary {
		padding-top: 40px;
	}

	.lvt-gallery__thumb {
		flex-basis: 33.3333%;
		max-width: 33.3333%;
	}

	/* Live pulls the one-column summary 20px up at its end (Woodmart -20px): no space under the calculator. */
	.lvt-calc {
		margin-bottom: 0;
	}
}

/* <= 767px (Elementor "mobile": text sizes, USP hidden, buy row may wrap) - */

@media (max-width: 767px) {
	.lvt-product-crumbs {
		margin-bottom: 46px;
		font-size: 14px;
		line-height: 20px;
	}

	.lvt-gallery__arrow .lvt-cicon {
		width: 10px;
		height: 18px;
	}

	.lvt-product-usp {
		display: none;
	}

	.lvt-product__short {
		font-size: 14px;
		line-height: 20px;
	}

	.lvt-price {
		font-size: 18.2px;
		line-height: 21.84px;
	}

	.lvt-price__suffix {
		font-size: 14.56px;
		line-height: 17.47px;
	}

	.lvt-product__per-m {
		line-height: 20px;
	}

	.lvt-variation__label {
		font-size: 14px;
		line-height: 22.4px;
	}

	.lvt-stock {
		font-size: 14px;
		line-height: 16.8px;
	}

	/*
	 * Phones: the tips span the content width (from the left edge of the price row / calculator box), so they
	 * never leave the screen. Positioned against those boxes (not the window), so they scroll with the page:
	 * a fixed box keeps the place it had before scrolling (Chrome), which put the calculator tip off screen.
	 */
	.lvt-product__price {
		position: relative;
	}

	.lvt-tip--vat {
		position: static;
	}

	.lvt-tip--vat .lvt-tip__box {
		position: absolute;
		top: auto;
		bottom: auto;
		left: 0;
		width: auto;
		max-width: 350px;
		margin: 0;
		transform: translateY(calc(-100% - 12px));
	}

	.lvt-tip--vat .lvt-tip__box::after {
		display: none;
	}

	/* Live: quantity and button stay side by side while they fit (down to about 415px), then wrap. */
	.lvt-buy {
		align-items: flex-start;
	}

	.lvt-buy .lvt-add-to-cart.lvt-btn {
		min-height: 50px;
		border: 1px solid var(--lvt-c-primary);
		padding: 15px 62px;
	}

	.lvt-product-tabs__acc {
		line-height: 20px;
	}

	.lvt-calc {
		position: relative;
	}

	.lvt-tip--calc {
		position: static;
	}

	.lvt-tip--calc .lvt-tip__box {
		position: absolute;
		top: auto;
		left: -2px;
		right: -2px;
		width: auto;
		transform: translateY(24px);
	}

	.lvt-delivery__heading,
	.lvt-delivery__title {
		font-size: 18px;
		line-height: 24px;
	}

	.lvt-related__title {
		font-size: 26px;
		line-height: 32px;
	}

	.lvt-lightbox__arrow {
		width: 44px;
	}

	/* Defects lightbox on phones (live Elementor): photo full width, chevrons at the screen edges. */
	.lvt-lightbox--dim .lvt-lightbox__stage {
		inset: 70px 0;
	}

	.lvt-lightbox--dim .lvt-lightbox__arrow {
		width: 20%;
	}

	.lvt-lightbox--dim .lvt-lightbox__arrow--prev {
		justify-content: flex-start;
	}

	.lvt-lightbox--dim .lvt-lightbox__arrow--next {
		justify-content: flex-end;
	}
}

/* <= 576px: labels 10px from the photo corner (live Woodmart). */
@media (max-width: 576px) {
	.lvt-badges--product {
		top: 10px;
		right: 10px;
	}
}
