/**
 * DesignLamp 2026 — single product.
 * All rules are intentionally scoped to the TASK 05 body class.
 */

.dl-single-product {
	--dl-product-gap: clamp(2rem, 4vw, 4.75rem);
	--dl-product-card: #fff;
}

.dl-single-product .site-content > .ast-container,
.dl-single-product .site-content .ast-woocommerce-container {
	width: min(100% - (2 * var(--dl-gutter)), var(--dl-content));
	max-width: var(--dl-content);
	margin-inline: auto;
	padding-inline: 0;
}

.dl-single-product .woocommerce-breadcrumb {
	margin: 1.25rem 0 1.5rem;
	color: var(--dl-muted);
	font-size: 0.8rem;
	line-height: 1.5;
}

.dl-single-product .woocommerce-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.dl-single-product .woocommerce-breadcrumb a:hover {
	color: var(--dl-accent);
}

.dl-single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(25rem, 0.92fr);
	column-gap: var(--dl-product-gap);
	align-items: start;
	min-width: 0;
}

body.dl-single-product.woocommerce #content div.product div.images.woocommerce-product-gallery,
body.dl-single-product.woocommerce #content div.product div.summary {
	float: none;
	width: 100%;
	min-width: 0;
	margin: 0;
	clear: none;
}

.dl-single-product div.product .woocommerce-product-gallery {
	grid-column: 1;
	grid-row: 1;
	background: var(--dl-product-card);
	border: 1px solid var(--dl-border);
	border-radius: var(--dl-radius-lg);
	overflow: hidden;
}

.dl-single-product div.product .summary {
	grid-column: 2;
	grid-row: 1;
}

.dl-single-product div.product .woocommerce-tabs,
.dl-single-product div.product .dl-product-brand,
.dl-single-product div.product .upsells,
.dl-single-product div.product .related,
.dl-single-product div.product > .clear {
	grid-column: 1 / -1;
}

.dl-single-product div.product > .clear {
	display: none;
}

.dl-single-product .woocommerce-product-gallery__image a {
	display: grid;
	place-items: center;
	min-height: clamp(30rem, 49vw, 43rem);
	background: #fff;
}

.dl-single-product .woocommerce-product-gallery__image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 43rem;
	object-fit: contain;
	object-position: center;
}

/* Astra Pro's vertical/horizontal slider CSS has a more specific `cover`
 * rule than the base gallery selector. Keep the native slider, zoom and
 * lightbox, but never crop the product itself inside the main viewport. */
body.dl-single-product.woocommerce div.product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper .woocommerce-product-gallery__image img {
	object-fit: contain;
	object-position: center;
}

.dl-single-product .woocommerce-product-gallery .flex-control-thumbs {
	padding: 0.75rem;
	background: #fff;
}

.dl-single-product .woocommerce-product-gallery .flex-control-thumbs img {
	border: 1px solid transparent;
	border-radius: var(--dl-radius-sm);
	transition: border-color 160ms ease, opacity 160ms ease;
}

.dl-single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
.dl-single-product .woocommerce-product-gallery .flex-control-thumbs img:hover {
	border-color: var(--dl-accent);
	opacity: 1;
}

.dl-single-product .woocommerce-product-gallery__trigger {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border: 1px solid var(--dl-border);
	border-radius: 999px;
	background: rgb(255 255 255 / 92%);
	box-shadow: var(--dl-shadow-soft);
}

.dl-single-product .onsale {
	min-width: auto;
	min-height: auto;
	padding: 0.45rem 0.75rem;
	border-radius: 999px;
	background: var(--dl-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.dl-product-brand-eyebrow,
.dl-section-eyebrow,
.dl-promotion-card__eyebrow {
	display: inline-block;
	margin: 0 0 0.5rem;
	color: var(--dl-accent);
	font-size: 0.72rem;
	font-weight: 750;
	line-height: 1.4;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.13em;
}

.dl-product-brand-eyebrow:hover {
	color: var(--dl-text);
}

.dl-single-product .summary .product_title {
	margin: 0;
	color: var(--dl-text);
	font-family: var(--dl-font-editorial);
	font-size: clamp(2rem, 3vw, 3.15rem);
	font-weight: 500;
	line-height: 1.07;
	letter-spacing: -0.025em;
}

.dl-product-identifiers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 1rem;
	margin: 0.9rem 0 1.15rem;
	color: var(--dl-muted);
	font-size: 0.78rem;
}

.dl-product-identifier.is-empty {
	display: none;
}

.dl-product-identifier strong {
	color: var(--dl-text);
	font-weight: 650;
}

.dl-product-review-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--dl-muted);
	text-decoration: underline;
	text-decoration-color: rgb(107 102 95 / 35%);
	text-underline-offset: 0.2rem;
}

.dl-product-review-link:hover {
	color: var(--dl-accent);
}

.dl-product-review-link:focus-visible {
	border-radius: 0.15rem;
	outline: 3px solid var(--dl-accent);
	outline-offset: 3px;
}

.dl-product-review-link .star-rating {
	margin: 0;
	color: var(--dl-accent);
	font-size: 0.82rem;
}

.dl-single-product .summary > .price {
	margin: 0 0 1rem;
	color: var(--dl-text);
	font-size: clamp(1.55rem, 2.2vw, 2.15rem);
	font-weight: 750;
	line-height: 1.2;
}

.dl-single-product .summary > .price del {
	margin-right: 0.5rem;
	color: var(--dl-muted);
	font-size: 0.72em;
	font-weight: 500;
	opacity: 0.78;
}

.dl-single-product .summary > .price ins {
	color: var(--dl-danger);
	text-decoration: none;
}

.dl-single-product .woocommerce-product-details__short-description {
	margin: 0 0 1.25rem;
	color: var(--dl-muted);
	font-size: 0.95rem;
	line-height: 1.65;
}

.dl-single-product .woocommerce-product-details__short-description:empty {
	display: none;
}

.dl-product-promotions {
	display: grid;
	gap: 0.75rem;
	margin: 0 0 1.35rem;
}

.dl-product-promotions.is-empty {
	display: none;
}

.dl-promotion-card {
	padding: 1rem 1.1rem;
	border: 1px solid #ded2c5;
	border-radius: var(--dl-radius-md);
	background: linear-gradient(135deg, #f8f2ea, #fff);
}

.dl-promotion-card--coupon {
	background: #fff;
}

.dl-promotion-card__eyebrow {
	margin-bottom: 0.25rem;
}

.dl-promotion-card h2 {
	margin: 0 0 0.35rem;
	font-family: var(--dl-font-editorial);
	font-size: 1.16rem;
	font-weight: 600;
	line-height: 1.25;
}

.dl-promotion-card p {
	margin: 0;
	font-size: 0.82rem;
	line-height: 1.5;
}

.dl-promotion-thresholds {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0.75rem 0;
	padding: 0;
	list-style: none;
}

.dl-promotion-thresholds li {
	display: inline-flex;
	gap: 0.35rem;
	align-items: center;
	padding: 0.34rem 0.52rem;
	border: 1px solid rgb(168 117 72 / 24%);
	border-radius: 999px;
	background: rgb(255 255 255 / 72%);
	color: var(--dl-muted);
	font-size: 0.7rem;
}

.dl-promotion-thresholds strong {
	color: var(--dl-accent);
}

.dl-text-link {
	color: var(--dl-accent);
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22rem;
}

.dl-coupon-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.dl-coupon-row > strong {
	color: var(--dl-accent);
	font-size: 1.1rem;
}

.dl-single-product .dl-coupon-copy {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 2.75rem;
	padding: 0.55rem 0.75rem;
	border: 1px dashed var(--dl-accent);
	border-radius: var(--dl-radius-sm);
	background: #fff;
	color: var(--dl-text);
	font: inherit;
	font-weight: 800;
	letter-spacing: 0.08em;
	cursor: pointer;
}

.dl-single-product .dl-coupon-copy span {
	color: var(--dl-muted);
	font-size: 0.66rem;
	font-weight: 650;
	letter-spacing: normal;
}

.dl-single-product .dl-coupon-copy.is-copied {
	border-style: solid;
	border-color: var(--dl-success);
	color: var(--dl-success);
}

.dl-conditional-price {
	margin-top: 0.65rem !important;
}

.dl-conditional-price strong {
	color: var(--dl-success);
	font-size: 1.05rem;
}

.dl-promotion-conditions,
.dl-promotion-footnote {
	margin-top: 0.55rem !important;
	color: var(--dl-muted);
	font-size: 0.72rem !important;
}

.dl-promotion-footnote {
	margin: 0 !important;
	padding-inline: 0.25rem;
}

.dl-single-product form.cart,
.dl-single-product form.variations_form {
	display: block;
	margin: 0;
	padding: 0;
}

.dl-single-product table.variations {
	margin: 0 0 1rem;
	border: 0;
}

.dl-single-product table.variations th,
.dl-single-product table.variations td {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	text-align: left;
}

.dl-single-product table.variations th {
	margin-bottom: 0.45rem;
}

.dl-single-product table.variations label {
	color: var(--dl-text);
	font-size: 0.82rem;
	font-weight: 750;
}

.dl-single-product table.variations select {
	width: 100%;
	min-height: 3rem;
	margin: 0 0 0.7rem;
	padding: 0.65rem 2.5rem 0.65rem 0.85rem;
	border: 1px solid var(--dl-border);
	border-radius: var(--dl-radius-sm);
	background-color: #fff;
	color: var(--dl-text);
}

.dl-single-product .variations .ast-variation-button-group + select,
.dl-single-product tr.dl-swatches-ready select {
	position: absolute;
	display: block !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.dl-single-product .variations tr[hidden],
.dl-single-product .variations tr.dl-variation-row-empty {
	display: none !important;
}

.dl-single-product .ast-variation-button-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 0 0 0.9rem;
}

.dl-single-product .ast-variation-button-group .ast-single-variation {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	margin: 0;
	padding: 0.62rem 0.9rem;
	border: 1px solid var(--dl-border);
	border-radius: var(--dl-radius-sm);
	background: #fff;
	color: var(--dl-text);
	font-size: 0.78rem;
	font-weight: 650;
	line-height: 1.25;
	text-align: center;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.dl-single-product .ast-variation-button-group .ast-single-variation:hover:not(.disabled) {
	border-color: rgb(168 117 72 / 65%);
	background: var(--dl-accent-soft);
}

.dl-single-product .ast-variation-button-group .ast-single-variation:focus-visible {
	outline: 3px solid rgb(168 117 72 / 32%);
	outline-offset: 2px;
}

.dl-single-product .ast-variation-button-group .ast-single-variation.active,
.dl-single-product .ast-variation-button-group .ast-single-variation[aria-pressed="true"] {
	border-color: var(--dl-accent);
	background: var(--dl-accent);
	box-shadow: 0 0 0 2px rgb(168 117 72 / 18%);
	color: #fff;
}

.dl-single-product .ast-variation-button-group .ast-single-variation.active::after,
.dl-single-product .ast-variation-button-group .ast-single-variation[aria-pressed="true"]::after {
	margin-left: 0.4rem;
	font-size: 0.85em;
	font-weight: 800;
	content: "✓";
}

.dl-single-product .ast-variation-button-group .ast-single-variation.disabled,
.dl-single-product .ast-variation-button-group .ast-single-variation[aria-disabled="true"] {
	cursor: not-allowed;
	opacity: 0.42;
	text-decoration: line-through;
}

.dl-single-product tr.dl-astra-swatches-replaced .ast-variation-button-group {
	display: none;
}

.dl-variation-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 0 0 0.75rem;
}

.dl-single-product .dl-astra-color-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 0 0 0.75rem;
}

.dl-single-product .dl-astra-color-swatches .ast-single-variation {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 2.75rem;
	margin: 0;
	padding: 0.45rem 0.7rem;
	border: 1px solid var(--dl-border);
	border-radius: var(--dl-radius-sm);
	background: #fff;
	color: var(--dl-text);
	font-size: 0.76rem;
	font-weight: 500;
	line-height: 1.25;
	text-transform: none;
	letter-spacing: normal;
}

.dl-single-product .dl-astra-color-swatches .ast-single-variation:hover {
	border-color: rgb(168 117 72 / 60%);
}

.dl-single-product .dl-astra-color-swatches .ast-single-variation[aria-pressed="true"],
.dl-single-product .dl-astra-color-swatches .ast-single-variation.selected,
.dl-single-product .dl-astra-color-swatches .ast-single-variation.active {
	border-color: var(--dl-accent);
	box-shadow: 0 0 0 2px rgb(168 117 72 / 18%);
}

.dl-single-product .dl-astra-color-swatches .ast-single-variation.disabled {
	cursor: not-allowed;
	opacity: 0.45;
	text-decoration: line-through;
}

.dl-single-product .dl-variation-swatch {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 2.75rem;
	padding: 0.45rem 0.7rem;
	border: 1px solid var(--dl-border);
	border-radius: var(--dl-radius-sm);
	background: #fff;
	color: var(--dl-text);
	font: inherit;
	font-size: 0.76rem;
	font-weight: 650;
	line-height: 1.25;
	cursor: pointer;
}

.dl-single-product .dl-variation-swatch:hover {
	border-color: rgb(168 117 72 / 60%);
	background: var(--dl-accent-soft);
}

.dl-single-product .dl-variation-swatch:focus-visible {
	outline: 3px solid rgb(168 117 72 / 32%);
	outline-offset: 2px;
}

.dl-single-product .dl-variation-swatch.is-selected {
	border-color: var(--dl-accent);
	background: var(--dl-accent-soft);
	box-shadow: 0 0 0 2px rgb(168 117 72 / 18%);
}

.dl-single-product .dl-variation-swatch.is-selected::after {
	margin-left: auto;
	font-size: 0.85em;
	font-weight: 800;
	content: "✓";
}

.dl-single-product .dl-variation-swatch:disabled {
	cursor: not-allowed;
	opacity: 0.45;
	text-decoration: line-through;
}

.dl-variation-swatch__sample {
	position: relative;
	flex: 0 0 1.25rem;
	width: 1.25rem;
	height: 1.25rem;
	border: 1px solid rgb(23 22 20 / 20%);
	border-radius: 999px;
	background-position: center;
	background-size: cover;
}

.dl-variation-swatch.is-selected .dl-variation-swatch__sample::after {
	position: absolute;
	inset: 0.2rem;
	border: 2px solid #fff;
	border-radius: inherit;
	box-shadow: 0 0 0 1px rgb(23 22 20 / 40%);
	content: "";
}

.dl-single-product .reset_variations {
	display: inline-block;
	margin: 0.25rem 0 0.7rem;
	color: var(--dl-muted);
	font-size: 0.75rem;
	text-underline-offset: 0.2rem;
}

.dl-single-product .dl-variation-target {
	display: block;
	scroll-margin-top: 7rem;
}

.dl-single-product .woocommerce-variation-price,
.dl-single-product .woocommerce-variation-availability {
	display: none;
}

.dl-single-product .woocommerce-variation-description {
	margin-bottom: 0.75rem;
	color: var(--dl-muted);
	font-size: 0.84rem;
	line-height: 1.55;
}

.dl-product-availability {
	margin: 0 0 1rem;
	border: 1px solid var(--dl-border);
	border-radius: var(--dl-radius-md);
	background: #fff;
	overflow: hidden;
}

.dl-availability-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 1rem;
	min-height: 2.75rem;
	padding: 0.65rem 0.85rem;
	border-bottom: 1px solid var(--dl-border);
	font-size: 0.78rem;
	line-height: 1.35;
}

.dl-availability-row:last-child {
	border-bottom: 0;
}

.dl-availability-row > span {
	color: var(--dl-muted);
}

.dl-availability-row > strong {
	color: var(--dl-text);
	text-align: right;
}

.dl-estimate-note {
	display: block;
	margin-top: 0.18rem;
	color: var(--dl-muted);
	font-size: 0.65rem;
	font-weight: 500;
}

.dl-stock-status {
	position: relative;
	padding-left: 1rem;
}

.dl-stock-status::before {
	position: absolute;
	top: 50%;
	left: 0;
	width: 0.48rem;
	height: 0.48rem;
	border-radius: 999px;
	background: var(--dl-muted);
	content: "";
	transform: translateY(-50%);
}

.dl-stock-status--instock::before {
	background: var(--dl-success);
}

.dl-stock-status--outofstock::before {
	background: var(--dl-danger);
}

.dl-stock-status--onbackorder::before {
	background: var(--dl-accent);
}

.dl-single-product .single_variation_wrap .woocommerce-variation-add-to-cart,
.dl-single-product form.cart:not(.variations_form) {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.65rem;
}

.dl-single-product form.cart > .dl-product-availability,
.dl-single-product form.cart > .dl-purchase-assurances,
.dl-single-product .single_variation_wrap > .dl-product-availability {
	flex: 1 0 100%;
	width: 100%;
}

.dl-single-product form.cart .quantity {
	float: none;
	margin: 0;
}

.dl-single-product form.cart .quantity.dl-quantity-stepper {
	display: grid;
	flex: 0 0 7.5rem;
	grid-template-columns: 2.35rem minmax(0, 1fr) 2.35rem;
	width: 7.5rem;
	height: 3.35rem;
	border: 1px solid var(--dl-border);
	border-radius: var(--dl-radius-sm);
	background: #fff;
	overflow: hidden;
}

.dl-single-product form.cart .quantity .qty {
	width: 5.25rem;
	height: 3.35rem;
	min-height: 3.35rem;
	border: 1px solid var(--dl-border);
	border-radius: var(--dl-radius-sm);
	background: #fff;
	color: var(--dl-text);
}

.dl-single-product form.cart .quantity.dl-quantity-stepper .qty {
	width: 100%;
	min-width: 0;
	padding: 0.35rem 0.15rem;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	font-weight: 700;
	text-align: center;
	appearance: textfield;
}

.dl-single-product form.cart .quantity.dl-quantity-stepper .qty::-webkit-inner-spin-button,
.dl-single-product form.cart .quantity.dl-quantity-stepper .qty::-webkit-outer-spin-button {
	margin: 0;
	appearance: none;
}

.dl-single-product .dl-quantity-stepper__button {
	display: grid;
	place-items: center;
	min-width: 0;
	min-height: 100%;
	padding: 0;
	border: 0;
	background: #f7f3ee;
	color: var(--dl-text);
	font: inherit;
	font-size: 1.15rem;
	cursor: pointer;
}

.dl-single-product .dl-quantity-stepper__button:hover:not(:disabled) {
	background: var(--dl-accent-soft);
	color: var(--dl-accent-dark);
}

.dl-single-product .dl-quantity-stepper__button:disabled {
	cursor: not-allowed;
	opacity: 0.38;
}

.dl-single-product form.cart .single_add_to_cart_button {
	flex: 1 1 15rem;
	min-height: 3.35rem;
	padding: 0.8rem 1.3rem;
	border: 1px solid var(--dl-accent);
	border-radius: var(--dl-radius-sm);
	background: var(--dl-accent);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 750;
	line-height: 1.2;
	transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.dl-single-product form.cart .single_add_to_cart_button:hover:not(:disabled) {
	border-color: #8f6038;
	background: #8f6038;
	transform: translateY(-1px);
}

.dl-single-product form.cart .single_add_to_cart_button:disabled,
.dl-single-product form.cart .single_add_to_cart_button.disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.dl-purchase-assurances {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0.55rem;
	width: 100%;
	margin-top: 1rem;
}

.dl-assurance {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	min-width: 0;
	padding: 0.75rem;
	border: 1px solid var(--dl-border);
	border-radius: var(--dl-radius-sm);
	background: rgb(255 255 255 / 72%);
}

.dl-assurance strong {
	font-size: 0.73rem;
	line-height: 1.3;
}

.dl-assurance span,
.dl-assurance a {
	color: var(--dl-muted);
	font-size: 0.65rem;
	line-height: 1.4;
}

.dl-assurance a {
	text-decoration: underline;
	text-underline-offset: 0.18rem;
}

.dl-single-product .designlamp-help-box {
	margin-top: 1.25rem;
}

.dl-single-product div.product .woocommerce-tabs {
	margin-top: clamp(3rem, 6vw, 5rem);
	padding-top: 0;
	border-top: 1px solid var(--dl-border);
}

body.dl-single-product.woocommerce-js div.product .woocommerce-tabs ul.tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--dl-border);
	background: transparent;
	overflow: visible;
}

.dl-single-product .woocommerce-tabs ul.tabs::before,
.dl-single-product .woocommerce-tabs ul.tabs li::before,
.dl-single-product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

body.dl-single-product.woocommerce-js div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

body.dl-single-product.woocommerce-js div.product .woocommerce-tabs ul.tabs li a {
	position: relative;
	display: block;
	padding: 1.05rem 1.2rem 0.95rem;
	border: 0;
	border-radius: 0.35rem 0.35rem 0 0;
	background: transparent;
	color: var(--dl-muted);
	font-size: 0.9rem;
	font-weight: 650;
	line-height: 1.35;
	text-decoration: none;
	transition: background-color 150ms ease, color 150ms ease;
}

body.dl-single-product.woocommerce-js div.product .woocommerce-tabs ul.tabs li a::after {
	position: absolute;
	right: 1.2rem;
	bottom: -1px;
	left: 1.2rem;
	height: 2px;
	border-radius: 999px;
	background: transparent;
	content: "";
}

body.dl-single-product.woocommerce-js div.product .woocommerce-tabs ul.tabs li a:hover {
	background: rgb(168 117 72 / 6%);
	color: var(--dl-text);
}

body.dl-single-product.woocommerce-js div.product .woocommerce-tabs ul.tabs li a:focus-visible {
	outline: 3px solid rgb(168 117 72 / 32%);
	outline-offset: -3px;
}

body.dl-single-product.woocommerce-js div.product .woocommerce-tabs ul.tabs li.active a {
	background: transparent;
	color: var(--dl-text);
}

body.dl-single-product.woocommerce-js div.product .woocommerce-tabs ul.tabs li.active a::after {
	background: var(--dl-accent);
}

body.dl-single-product div.product .woocommerce-tabs .panel {
	margin: 0;
	padding: clamp(1.25rem, 2.4vw, 2rem) 0 0;
	color: var(--dl-muted);
	font-size: clamp(0.94rem, 1.1vw, 1rem);
	line-height: 1.65;
}

body.dl-single-product div.product .woocommerce-tabs .panel h2,
body.dl-single-product div.product .woocommerce-tabs .panel h3 {
	color: var(--dl-text);
	font-family: var(--dl-font-editorial);
	font-weight: 500;
}

body.dl-single-product div.product .woocommerce-tabs .panel > h2:first-child,
.dl-delivery-returns > h2 {
	margin: 0 0 clamp(1.25rem, 2vw, 1.75rem);
}

.dl-delivery-returns__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 2vw, 1.5rem);
}

.dl-delivery-returns__card {
	min-width: 0;
	padding: clamp(1.35rem, 2.2vw, 1.6rem);
	border: 1px solid var(--dl-border);
	border-radius: 0.8rem;
	background: #fbf8f4;
}

.dl-delivery-returns__card h3 {
	margin: 0 0 0.8rem;
	font-size: clamp(1rem, 1.4vw, 1.1rem);
	line-height: 1.35;
}

.dl-delivery-returns__card p {
	margin: 0 0 0.75rem;
	font-size: 0.96rem;
	line-height: 1.62;
}

.dl-delivery-returns__card p:last-of-type {
	margin-bottom: 0;
}

.dl-delivery-returns__card a {
	display: inline-block;
	margin-top: 0.15rem;
	color: var(--dl-accent);
	font-size: 0.92rem;
	font-weight: 650;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22rem;
}

.dl-delivery-returns__card a:hover {
	color: #704c2f;
}

.dl-delivery-returns__card a:focus-visible {
	border-radius: 0.2rem;
	outline: 3px solid rgb(168 117 72 / 32%);
	outline-offset: 3px;
}

.dl-single-product .woocommerce-product-attributes {
	border: 1px solid var(--dl-border);
	border-radius: var(--dl-radius-md);
	overflow: hidden;
}

.dl-single-product .woocommerce-product-attributes th,
.dl-single-product .woocommerce-product-attributes td {
	padding: 0.75rem 0.9rem;
	border-color: var(--dl-border);
	font-size: 0.8rem;
	text-align: left;
}

.dl-single-product .woocommerce-product-attributes th {
	width: 34%;
	background: #f7f3ee;
	color: var(--dl-text);
}

.dl-single-product #reviews #comments,
.dl-single-product #reviews #review_form_wrapper {
	float: none;
	width: 100%;
}

.dl-single-product #reviews,
.dl-single-product #reviews #comments,
.dl-single-product #reviews #review_form_wrapper,
.dl-single-product #reviews #reply-title {
	scroll-margin-top: calc(var(--ast-sticky-header-height, 5rem) + 1rem);
}

.dl-single-product #reviews #reply-title[tabindex="-1"] {
	display: block;
}

.dl-single-product #reviews #reply-title[tabindex="-1"]:focus {
	border-radius: 0.25rem;
	outline: 3px solid rgb(168 117 72 / 34%);
	outline-offset: 4px;
}

.admin-bar.dl-single-product #reviews,
.admin-bar.dl-single-product #reviews #comments,
.admin-bar.dl-single-product #reviews #review_form_wrapper,
.admin-bar.dl-single-product #reviews #reply-title {
	scroll-margin-top: calc(var(--ast-sticky-header-height, 5rem) + 3rem);
}

.dl-single-product #reviews .comment-form-rating,
.dl-single-product #reviews .comment-form-comment {
	margin-bottom: 1rem;
}

.dl-single-product #reviews textarea {
	width: 100%;
	border: 1px solid var(--dl-border);
	border-radius: var(--dl-radius-sm);
	background: #fff;
}

.dl-product-brand {
	display: grid;
	grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr);
	align-items: center;
	gap: clamp(1.5rem, 4vw, 4rem);
	margin-top: clamp(2.5rem, 5vw, 4.5rem);
	padding: clamp(1.5rem, 3vw, 2.75rem);
	border: 1px solid var(--dl-border);
	border-radius: var(--dl-radius-lg);
	background: var(--dl-product-card);
}

.dl-product-brand--compact {
	grid-template-columns: minmax(7rem, 11rem) minmax(0, 1fr);
	padding-block: 1.5rem;
}

.dl-product-brand--no-logo,
.dl-product-brand--no-logo.dl-product-brand--compact {
	grid-template-columns: minmax(0, 1fr);
}

.dl-product-brand__media {
	display: grid;
	place-items: center;
	width: 100%;
	min-width: 0;
	min-height: 6rem;
}

.dl-product-brand__logo {
	display: block;
	width: min(100%, 14rem);
	height: auto;
	max-height: 7rem;
	object-fit: contain;
}

.dl-product-brand__content {
	width: 100%;
	max-width: 52rem;
	min-width: 0;
	text-align: left;
}

/* Defensive fallback for cached/pre-0.10.1 markup that has no media node. */
.dl-product-brand > .dl-product-brand__content:only-child {
	grid-column: 1 / -1;
}

.dl-product-brand h2 {
	margin: 0 0 0.5rem;
	font-family: var(--dl-font-editorial);
	font-size: clamp(1.5rem, 2.5vw, 2.35rem);
	font-weight: 500;
}

.dl-product-brand__description {
	margin-bottom: 0.75rem;
	color: var(--dl-muted);
	line-height: 1.65;
}

.dl-single-product div.product .related,
.dl-single-product div.product .upsells {
	margin-top: clamp(3rem, 6vw, 5rem);
}

.dl-single-product .related > h2,
.dl-single-product .upsells > h2 {
	margin-bottom: 1.5rem;
	font-family: var(--dl-font-editorial);
	font-size: clamp(1.65rem, 2.6vw, 2.4rem);
	font-weight: 500;
	text-align: left;
}

.dl-single-product .related ul.products,
.dl-single-product .upsells ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(0.75rem, 2vw, 1.5rem);
}

.dl-single-product .related ul.products li.product,
.dl-single-product .upsells ul.products li.product {
	float: none;
	width: auto;
	min-width: 0;
	margin: 0;
}

.dl-single-product .related ul.products li.product .woocommerce-LoopProduct-link img,
.dl-single-product .upsells ul.products li.product .woocommerce-LoopProduct-link img {
	display: block;
	width: 100%;
	height: auto;
	padding: clamp(0.5rem, 1vw, 0.75rem);
	margin: 0;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	object-position: center;
}

.dl-mobile-buy {
	display: none;
}

@media (max-width: 1100px) {
	.dl-single-product div.product {
		grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.86fr);
		column-gap: 2rem;
	}

	.dl-purchase-assurances {
		grid-template-columns: 1fr;
	}

	.dl-promotion-thresholds li {
		font-size: 0.66rem;
	}
}

@media (max-width: 820px) {
	.dl-single-product div.product {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 1.5rem;
	}

	.dl-single-product div.product .woocommerce-product-gallery,
	.dl-single-product div.product .summary {
		grid-column: 1;
	}

	.dl-single-product div.product .woocommerce-product-gallery {
		grid-row: 1;
	}

	.dl-single-product div.product .summary {
		grid-row: 2;
	}

	.dl-single-product div.product .woocommerce-tabs,
	.dl-single-product div.product .dl-product-brand,
	.dl-single-product div.product .upsells,
	.dl-single-product div.product .related {
		grid-column: 1;
	}

	.dl-single-product .woocommerce-product-gallery__image a {
		min-height: min(100vw, 34rem);
	}

	.dl-single-product .woocommerce-tabs.dl-tabs-ready ul.tabs {
		display: none;
	}

	.dl-single-product .woocommerce-tabs.dl-tabs-ready .panel {
		padding: 1rem 0 1.35rem;
	}

	.dl-single-product .woocommerce-tabs.dl-tabs-ready .panel[hidden] {
		display: none !important;
	}

	.dl-single-product .dl-tab-toggle {
		display: flex;
		align-items: center;
		justify-content: space-between;
		width: 100%;
		min-height: 3.35rem;
		padding: 0.8rem 0;
		border: 0;
		border-bottom: 1px solid var(--dl-border);
		background: transparent;
		color: var(--dl-text);
		font: inherit;
		font-size: 0.9rem;
		font-weight: 750;
		text-align: left;
		cursor: pointer;
	}

	.dl-single-product .dl-tab-toggle:hover {
		color: var(--dl-accent);
	}

	.dl-single-product .dl-tab-toggle:focus-visible {
		border-radius: 0.3rem;
		outline: 3px solid rgb(168 117 72 / 32%);
		outline-offset: -3px;
	}

	.dl-single-product .dl-tab-toggle::after {
		content: "+";
		color: var(--dl-accent);
		font-size: 1.25rem;
		font-weight: 400;
	}

	.dl-single-product .dl-tab-toggle[aria-expanded="true"]::after {
		content: "−";
	}

	.dl-delivery-returns__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.dl-product-brand,
	.dl-product-brand--compact {
		grid-template-columns: minmax(0, 1fr);
	}

	.dl-product-brand__logo {
		max-width: 11rem;
	}

	.dl-product-brand__content {
		max-width: 40rem;
		margin-inline: auto;
	}

	.dl-single-product .related ul.products,
	.dl-single-product .upsells ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.dl-single-product .site-content > .ast-container,
	.dl-single-product .site-content .ast-woocommerce-container {
		width: min(100% - 2rem, var(--dl-content));
	}

	.dl-single-product .woocommerce-breadcrumb {
		margin: 0.9rem 0 1rem;
		font-size: 0.7rem;
	}

	.dl-single-product div.product {
		row-gap: 1.25rem;
	}

	.dl-single-product div.product .woocommerce-product-gallery {
		margin-inline: -0.5rem;
		border-radius: var(--dl-radius-md);
	}

	.dl-single-product .woocommerce-product-gallery__image a {
		min-height: calc(100vw - 2rem);
	}

	.dl-single-product .summary .product_title {
		font-size: clamp(1.85rem, 8vw, 2.55rem);
	}

	.dl-product-identifiers {
		gap: 0.35rem 0.75rem;
		font-size: 0.72rem;
	}

	.dl-promotion-card {
		padding: 0.9rem;
	}

	.dl-coupon-row {
		align-items: stretch;
	}

	.dl-single-product .dl-coupon-copy {
		min-height: 3rem;
	}

	.dl-variation-swatches {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dl-single-product .dl-astra-color-swatches {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dl-single-product .dl-astra-color-swatches .ast-single-variation {
		justify-content: flex-start;
		min-width: 0;
	}

	.dl-single-product .dl-variation-swatch {
		justify-content: flex-start;
		min-width: 0;
	}

	.dl-availability-row {
		align-items: start;
		gap: 0.65rem;
		font-size: 0.74rem;
	}

	.dl-single-product form.cart .single_add_to_cart_button {
		flex-basis: calc(100% - 6rem);
	}

	.dl-purchase-assurances {
		gap: 0.45rem;
	}

	.dl-assurance {
		padding: 0.7rem 0.8rem;
	}

	.dl-single-product div.product .woocommerce-tabs {
		margin-top: 2.75rem;
	}

	.dl-single-product .woocommerce-product-attributes th,
	.dl-single-product .woocommerce-product-attributes td {
		display: block;
		width: 100%;
	}

	.dl-single-product .woocommerce-product-attributes td {
		padding-top: 0.35rem;
	}

	.dl-single-product.dl-mobile-buy-active {
		padding-bottom: var(--dl-mobile-buy-height, 5rem);
	}

	.dl-single-product .dl-mobile-buy {
		position: fixed;
		z-index: 80;
		right: 0;
		bottom: 0;
		left: 0;
		display: grid;
		grid-template-columns: minmax(5.5rem, auto) minmax(7.25rem, 1fr);
		align-items: center;
		gap: 0.75rem;
		padding: 0.62rem max(4.75rem, env(safe-area-inset-right)) calc(0.62rem + env(safe-area-inset-bottom)) max(5.25rem, env(safe-area-inset-left));
		border-top: 1px solid var(--dl-border);
		background: rgb(255 255 255 / 96%);
		box-shadow: 0 -0.65rem 1.8rem rgb(23 22 20 / 12%);
		backdrop-filter: blur(12px);
	}

	.dl-single-product .dl-mobile-buy[hidden] {
		display: none;
	}

	.dl-mobile-buy__price {
		grid-column: 1 / -1;
		min-width: 0;
		color: var(--dl-text);
		font-size: 0.95rem;
		font-weight: 800;
		line-height: 1.2;
	}

	.dl-mobile-buy__quantity {
		display: grid;
		grid-template-columns: 2.35rem minmax(0, 1fr) 2.35rem;
		height: 3rem;
		border: 1px solid var(--dl-border);
		border-radius: var(--dl-radius-sm);
		background: #fff;
		overflow: hidden;
	}

	.dl-mobile-buy__quantity[hidden] {
		display: none;
	}

	.dl-mobile-buy__quantity button,
	.dl-mobile-buy__quantity output {
		display: grid;
		place-items: center;
		min-width: 0;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--dl-text);
		font: inherit;
		font-weight: 750;
	}

	.dl-mobile-buy__quantity button {
		background: #f7f3ee;
		font-size: 1rem;
		cursor: pointer;
	}

	.dl-mobile-buy__quantity button:disabled {
		cursor: not-allowed;
		opacity: 0.38;
	}

	.dl-mobile-buy__price del {
		display: block;
		color: var(--dl-muted);
		font-size: 0.7rem;
		font-weight: 500;
	}

	.dl-mobile-buy__price ins {
		color: var(--dl-danger);
		text-decoration: none;
	}

	.dl-single-product .dl-mobile-buy__button {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 3rem;
		padding: 0.65rem 0.85rem;
		border: 1px solid var(--dl-accent);
		border-radius: var(--dl-radius-sm);
		background: var(--dl-accent);
		color: #fff;
		font: inherit;
		font-size: 0.78rem;
		font-weight: 750;
		cursor: pointer;
		text-align: center;
		text-decoration: none;
	}

	.dl-single-product .dl-mobile-buy:not(.has-quantity) .dl-mobile-buy__button {
		grid-column: 1 / -1;
	}

	.dl-single-product .dl-mobile-buy__button[hidden] {
		display: none !important;
	}

	.dl-single-product .dl-mobile-buy__button:disabled {
		cursor: not-allowed;
		opacity: 0.55;
	}

	.dl-single-product.dl-mobile-buy-active #ast-scroll-top {
		display: none;
	}

	/* Keep the minimized Smartsupp control above the now two-row purchase bar.
	 * Only the outer, same-document wrapper is positioned; iframe contents are
	 * untouched. The offset follows the measured bar height from product.js. */
	.dl-single-product.dl-mobile-buy-active #smartsupp-widget-container > div:has(> #widgetButtonFrame) {
		bottom: calc(var(--dl-mobile-buy-height, 5rem) + 0.75rem) !important;
	}

	.dl-single-product.dl-main-buy-widget-clearance #smartsupp-widget-container > div:has(> #widgetButtonFrame) {
		bottom: var(--dl-main-buy-widget-clearance, 6rem) !important;
	}

	.dl-single-product.dl-mobile-buy-active :has(> button[data-testid="minimized-trustbadge-floating"]) {
		opacity: 0 !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}

	.dl-single-product.dl-mobile-buy-active button[data-testid="minimized-trustbadge-floating"] {
		visibility: hidden !important;
		pointer-events: none !important;
	}
}

@media (max-width: 390px) {
	.dl-variation-swatches {
		grid-template-columns: minmax(0, 1fr);
	}

	.dl-single-product .dl-astra-color-swatches {
		grid-template-columns: minmax(0, 1fr);
	}

	.dl-promotion-thresholds li {
		font-size: 0.64rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dl-single-product *,
	.dl-single-product *::before,
	.dl-single-product *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
