/**
 * DesertTowel theme styles.
 * Mobile-first. Heat/cooling gradient system per approved mockup.
 */

/* ------------------------------------------------------------------
 * Fonts (self-hosted, no third-party requests)
 * ---------------------------------------------------------------- */
@font-face {
	font-family: "Anton";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/anton-latin.woff2") format("woff2");
}

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin.woff2") format("woff2");
}

/* ------------------------------------------------------------------
 * Tokens
 * ---------------------------------------------------------------- */
:root {
	--dt-red: #d92d16;
	--dt-orange: #f45a1f;
	--dt-yellow: #ffb800;
	--dt-blue-deep: #0037b8;
	--dt-blue: #006bff;
	--dt-ice: #58d8ff;
	--dt-black: #0a0a0a;
	--dt-bone: #f4efe6;
	--dt-white: #ffffff;

	/* Darker heat red for small text on light backgrounds (WCAG AA). */
	--dt-red-text: #b02412;

	--dt-heat-gradient: linear-gradient(150deg, var(--dt-red) 0%, var(--dt-orange) 55%, var(--dt-yellow) 100%);
	--dt-cool-gradient: linear-gradient(150deg, var(--dt-blue-deep) 0%, var(--dt-blue) 55%, var(--dt-ice) 100%);

	--dt-display: "Anton", "Arial Narrow", Impact, sans-serif;
	--dt-body: "Inter", "Helvetica Neue", Arial, sans-serif;

	--dt-gutter: clamp(1rem, 4vw, 4rem);
	--dt-section-pad: clamp(3.5rem, 8vw, 7rem);

	/* Fluid content width: 90% of the viewport, capped so lines never
	 * sprawl on large monitors. Used by the main container. */
	--dt-content-width: min(90%, 80rem);
}

/* ------------------------------------------------------------------
 * Base
 * ---------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	/* Clear the sticky utility bar + header when jumping to in-page anchors
	 * (#audiences, #custom-towel, #just-add-water …) so a section heading is
	 * never tucked underneath the fixed header. */
	scroll-padding-top: 7.5rem;
}

body {
	margin: 0;
	background: var(--dt-bone);
	color: var(--dt-black);
	font-family: var(--dt-body);
	font-size: 1rem;
	line-height: 1.6;
	overflow-x: clip;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
}

h1,
h2,
h3,
h4 {
	font-family: var(--dt-display);
	font-weight: 400;
	text-transform: uppercase;
	line-height: 0.95;
	letter-spacing: 0.01em;
	margin: 0 0 1rem;
	overflow-wrap: normal;
	hyphens: none;
}

/*
 * Specificity hardening: if a plugin stylesheet (e.g. an Elementor global
 * kit) still loads on a theme-rendered page, these body-scoped rules keep
 * the theme's typography and image sizing in charge.
 */
body.dt-theme {
	font-family: var(--dt-body);
}

body.dt-theme h1,
body.dt-theme h2,
body.dt-theme h3,
body.dt-theme h4 {
	font-family: var(--dt-display);
	font-weight: 400;
	text-transform: uppercase;
	line-height: 0.95;
}

body.dt-theme .dt-hero__img,
body.dt-theme .dt-water__step-media img,
body.dt-theme .dt-product-card__media img,
body.dt-theme .dt-audiences__tile img,
body.dt-theme .dt-custom__visual img,
body.dt-theme .dt-reviews__media img,
body.dt-theme .dt-story__portrait img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	max-width: 100%;
}

p {
	margin: 0 0 1rem;
}

:focus-visible {
	outline: 3px solid var(--dt-blue);
	outline-offset: 3px;
}

.dt-on-dark :focus-visible,
.dt-hero__panel :focus-visible,
.dt-water :focus-visible,
.dt-custom :focus-visible,
.dt-audiences :focus-visible,
.dt-reviews :focus-visible,
.dt-heatcheck :focus-visible,
.dt-footer :focus-visible,
.dt-marquee :focus-visible,
.dt-utility-bar :focus-visible {
	outline-color: var(--dt-ice);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100;
	width: auto;
	height: auto;
	clip: auto;
	padding: 0.85rem 1.25rem;
	background: var(--dt-black);
	color: var(--dt-white);
	font-weight: 700;
	text-decoration: none;
}

.dt-container {
	width: var(--dt-content-width);
	max-width: 100%;
	margin-inline: auto;
	padding: var(--dt-section-pad) 0;
}

.dt-section-heading {
	font-size: clamp(2.75rem, 7.5vw, 5.5rem);
}

/* Buttons */
.dt-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 3rem;
	padding: 0.8rem 1.6rem;
	border: 2px solid var(--dt-black);
	background: transparent;
	color: var(--dt-black);
	font-family: var(--dt-body);
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.dt-button:hover {
	transform: translateY(-2px);
}

.dt-button--dark {
	background: var(--dt-black);
	color: var(--dt-white);
}

.dt-button--dark:hover {
	background: #1f1f1f;
}

.dt-button--cool {
	border-color: var(--dt-blue);
	background: var(--dt-blue);
	color: var(--dt-white);
}

.dt-button--cool:hover {
	border-color: var(--dt-blue-deep);
	background: var(--dt-blue-deep);
}

.dt-button--outline {
	border-color: var(--dt-yellow);
	background: rgba(10, 10, 10, 0.88);
	color: var(--dt-yellow);
}

.dt-button--outline:hover {
	background: var(--dt-black);
}

.dt-button--outline-dark {
	border-color: var(--dt-black);
	background: transparent;
	color: var(--dt-black);
}

.dt-button--gradient {
	border: 0;
	background: var(--dt-heat-gradient);
	color: var(--dt-black);
}

/* Larger, higher-emphasis hero CTAs. Bigger tap target and type without
 * overpowering the headline; they wrap and can go full-width on narrow
 * screens so they never overflow. */
.dt-button--hero {
	min-height: 3.5rem;
	padding: 1rem 2rem;
	font-size: 0.98rem;
	letter-spacing: 0.06em;
}

.dt-button--hero.dt-button--cool {
	box-shadow: 0 10px 24px rgba(0, 55, 184, 0.28);
}

.dt-button--hero.dt-button--cool:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(0, 55, 184, 0.34);
}

.dt-link-arrow {
	display: inline-block;
	font-weight: 800;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 2px solid var(--dt-orange);
	padding-bottom: 0.15rem;
}

.dt-link-arrow::after {
	content: " →";
}

.dt-link-arrow--light {
	color: var(--dt-white);
	border-color: var(--dt-white);
}

/* Notices */
.dt-notice {
	padding: 0.9rem 1.1rem;
	margin-bottom: 1rem;
	font-weight: 600;
	border: 2px solid var(--dt-black);
}

.dt-notice--success {
	background: #e6f7ea;
	border-color: #17803d;
	color: #0d5427;
}

.dt-notice--error {
	background: #fdeae6;
	border-color: var(--dt-red);
	color: #8f1c0c;
}

/* ------------------------------------------------------------------
 * Utility bar
 * ---------------------------------------------------------------- */
.dt-utility-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	background: var(--dt-black);
	color: var(--dt-bone);
	padding: 0.5rem var(--dt-gutter);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.dt-utility-bar p {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

.dt-utility-bar__sep {
	opacity: 0.6;
}

/* ------------------------------------------------------------------
 * Header
 * ---------------------------------------------------------------- */
.dt-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--dt-bone);
	border-bottom: 2px solid var(--dt-black);
}

.dt-header.is-scrolled {
	box-shadow: 0 4px 18px rgba(10, 10, 10, 0.12);
}

.dt-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.8rem var(--dt-gutter);
	position: relative;
}

.dt-wordmark {
	display: inline-flex;
	align-items: center;
	gap: 0.15rem;
	text-decoration: none;
	font-family: var(--dt-display);
	font-size: clamp(1.5rem, 3vw, 1.9rem);
	letter-spacing: 0.02em;
	line-height: 1;
}

.dt-wordmark__mark {
	width: 0.85em;
	height: 1.1em;
	color: var(--dt-orange);
}

.custom-logo-link img {
	max-height: 3.25rem;
	width: auto;
}

.dt-nav .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1.4rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.dt-nav a {
	display: inline-block;
	padding: 0.35rem 0;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.dt-nav a:hover,
.dt-nav .current-menu-item > a {
	border-bottom-color: var(--dt-orange);
}

.dt-nav .sub-menu {
	list-style: none;
	margin: 0.25rem 0 0;
	padding: 0 0 0 1rem;
}

.dt-header__actions {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.dt-header-icon {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	padding: 0.45rem;
	color: var(--dt-black);
	text-decoration: none;
}

.dt-cart-link {
	position: relative;
}

.dt-cart-count {
	position: absolute;
	top: -0.15rem;
	right: -0.3rem;
	min-width: 1.15rem;
	height: 1.15rem;
	display: grid;
	place-items: center;
	padding: 0 0.25rem;
	background: var(--dt-red);
	color: var(--dt-white);
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 800;
	line-height: 1;
}

/* Mobile menu toggle */
.dt-menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: var(--dt-black);
	color: var(--dt-white);
	border: 0;
	padding: 0.6rem 0.9rem;
	font-family: var(--dt-body);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	cursor: pointer;
}

.dt-menu-toggle__bars {
	display: grid;
	gap: 4px;
}

.dt-menu-toggle__bars span {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.dt-menu-toggle[aria-expanded="true"] .dt-menu-toggle__bars span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.dt-menu-toggle[aria-expanded="true"] .dt-menu-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.dt-menu-toggle[aria-expanded="true"] .dt-menu-toggle__bars span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 29.99em) {
	.dt-header__inner {
		padding-inline: 0.85rem;
		gap: 0.5rem;
	}

	.dt-wordmark {
		font-size: 1.3rem;
	}

	.dt-header__actions {
		gap: 0.15rem;
	}

	.dt-header-icon {
		padding: 0.35rem;
	}

	.dt-menu-toggle {
		padding: 0.55rem 0.65rem;
	}

	/* Visually hidden but still the button's accessible name. */
	.dt-menu-toggle__label {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}
}

@media (max-width: 61.99em) {
	.dt-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--dt-bone);
		border-bottom: 2px solid var(--dt-black);
		padding: 1rem var(--dt-gutter) 1.5rem;
	}

	.dt-nav.is-open {
		display: block;
	}

	.dt-nav .menu {
		flex-direction: column;
		gap: 0.25rem;
	}

	.dt-nav a {
		font-size: 1.05rem;
		padding: 0.6rem 0;
	}
}

@media (min-width: 62em) {
	.dt-menu-toggle {
		display: none;
	}
}

/* ------------------------------------------------------------------
 * Hero
 * ---------------------------------------------------------------- */
.dt-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.dt-hero > * {
	min-width: 0;
}

.dt-hero__media {
	position: relative;
	min-height: min(60vh, 26rem);
	background: var(--dt-black);
}

.dt-hero__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 22%;
}

.dt-hero__panel {
	position: relative;
	background: var(--dt-heat-gradient);
	padding: clamp(2.5rem, 6vw, 5rem) var(--dt-gutter) clamp(8rem, 14vw, 10rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.dt-hero__heading {
	/* 13ch forces the mockup's two-line break: "THE DESERT / DOESN'T QUIT." */
	max-width: 13ch;
	font-size: clamp(2.75rem, 6.5vw, 5.75rem);
	line-height: 0.9;
	margin-bottom: 1.25rem;
	overflow-wrap: normal;
}

.dt-hero__subheading {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.46em;
	color: var(--dt-white);
}

.dt-hero__copy {
	max-width: 26rem;
	font-size: 1.05rem;
	font-weight: 600;
	margin-bottom: 1.75rem;
}

.dt-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
}

/* On very narrow screens the longer primary label ("SHOP THE ORIGINAL —
 * $10.99") would crowd a side-by-side layout, so let each CTA take a full
 * row — they never overflow. */
@media (max-width: 26em) {
	.dt-hero__actions .dt-button {
		flex: 1 1 100%;
	}
}

.dt-hero__badge {
	position: absolute;
	right: clamp(1.5rem, 4vw, 3.5rem);
	bottom: clamp(1.5rem, 3.5vw, 3rem);
	width: clamp(6rem, 10vw, 8.5rem);
	color: var(--dt-black);
}

.dt-badge-svg {
	width: 100%;
	height: auto;
	overflow: visible;
	animation: dt-rotate 26s linear infinite;
}

.dt-badge-text {
	font-family: var(--dt-body);
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	fill: currentColor;
}

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

@media (min-width: 62em) {
	.dt-hero {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.dt-hero__media {
		min-height: min(82vh, 46rem);
	}

	.dt-hero__panel {
		padding-bottom: clamp(3.5rem, 7vw, 6rem);
		padding-right: clamp(2.5rem, 5vw, 5rem);
	}

	/* Keep the CTA row clear of the rotating badge in the corner. */
	.dt-hero__actions {
		max-width: calc(100% - 10rem);
	}
}

/* ------------------------------------------------------------------
 * Marquee value strip
 * ---------------------------------------------------------------- */
.dt-marquee {
	overflow: hidden;
	background: var(--dt-black);
	color: var(--dt-bone);
	border-block: 2px solid var(--dt-black);
	padding: 0.55rem 0;
}

.dt-marquee__track {
	display: flex;
	width: max-content;
	animation: dt-marquee 26s linear infinite;
}

.dt-marquee__list {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}

.dt-marquee__list li {
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 0 1.1rem;
}

.dt-marquee__list li::after {
	content: "/";
	margin-left: 2.2rem;
	color: var(--dt-orange);
}

@keyframes dt-marquee {
	to {
		transform: translateX(-50%);
	}
}

/* ------------------------------------------------------------------
 * Just Add Water
 * ---------------------------------------------------------------- */
.dt-water {
	background: var(--dt-cool-gradient);
	color: var(--dt-white);
}

.dt-water__inner {
	max-width: 80rem;
	margin-inline: auto;
	padding: var(--dt-section-pad) var(--dt-gutter);
}

.dt-water__inner > * {
	min-width: 0;
}

.dt-water__heading {
	font-size: clamp(2.75rem, 8vw, 6rem);
	line-height: 0.92;
	overflow-wrap: normal;
}

.dt-water__copy {
	max-width: 34rem;
	font-weight: 600;
}

.dt-water__steps {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
	list-style: none;
	margin: 2.5rem 0 0;
	padding: 0;
}

.dt-water__step {
	min-width: 0;
}

.dt-water__step-media {
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border: 2px solid rgba(255, 255, 255, 0.35);
	background: rgba(10, 10, 10, 0.25);
}

/* Slanted editorial framing, per the approved mockup (desktop only). */
@media (min-width: 48em) {
	.dt-water__step-media {
		border: 0;
		clip-path: polygon(1.6rem 0, 100% 0, calc(100% - 1.6rem) 100%, 0 100%);
	}
}

.dt-water__step-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dt-water__step-title {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	margin: 1rem 0 0.35rem;
	font-size: 1.75rem;
	text-transform: uppercase;
}

.dt-water__step-num {
	font-family: var(--dt-body);
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--dt-ice);
	align-self: center;
}

.dt-water__step-text {
	margin: 0;
	font-weight: 500;
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.88);
}

@media (min-width: 48em) {
	.dt-water__steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 62em) {
	.dt-water__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr);
		gap: clamp(1.5rem, 4vw, 4rem);
		align-items: start;
	}

	.dt-water__steps {
		margin-top: 0;
	}
}

/* ------------------------------------------------------------------
 * Products — Pick Your Cool
 * ---------------------------------------------------------------- */
.dt-products__inner {
	max-width: 80rem;
	margin-inline: auto;
	/* Tighter than the global section pad so the shopping block feels
	 * intentional rather than editorial. */
	padding: clamp(2.5rem, 5vw, 4.25rem) var(--dt-gutter);
}

.dt-products__intro {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

/* Mockup layout: stacked "PICK / YOUR / COOL." heading beside the cards. */
@media (min-width: 62em) {
	.dt-products__inner {
		display: grid;
		grid-template-columns: minmax(0, 0.75fr) minmax(0, 2.7fr);
		gap: clamp(2rem, 4vw, 4rem);
		align-items: start;
	}

	.dt-products__intro {
		display: block;
		margin-bottom: 0;
	}

	.dt-products__intro .dt-section-heading {
		max-width: 5ch;
	}

	.dt-products__intro .dt-link-arrow {
		margin-top: 1.5rem;
		display: inline-block;
	}
}

.dt-products__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
}

.dt-products__grid > * {
	min-width: 0;
}

.dt-product-card {
	display: flex;
	flex-direction: column;
	background: transparent;
	border: 0;
}

.dt-product-card__media {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--dt-white);
}

.dt-product-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.25s ease;
}

.dt-product-card:hover .dt-product-card__media img {
	transform: scale(1.03);
}

.dt-product-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 0.4rem;
	padding: 1.1rem 0 0.5rem;
}

.dt-product-card__title {
	font-size: 1.75rem;
	line-height: 1;
	margin: 0;
}

.dt-product-card__title a {
	text-decoration: none;
}

/* Shorter, clamped to two lines so every card keeps the same height and the
 * price/CTA line up across the row. */
.dt-product-card__desc {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.4;
	color: rgba(10, 10, 10, 0.68);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.66em; /* reserve 2 lines so 1-line cards still align */
}

/* Small truthful benefit line (editable). */
.dt-product-card__benefit {
	margin: 0;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--dt-blue-deep);
}

.dt-product-card__benefit::before {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--dt-blue);
	flex: 0 0 auto;
}

.dt-product-card__price {
	margin: 0.1rem 0 0;
	font-weight: 800;
	font-size: 1.7rem;
	line-height: 1;
}

/* Color dots */
.dt-product-card__dots {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0.35rem 0 0;
	padding: 0;
	list-style: none;
}

.dt-dot-item {
	display: block;
}

.dt-dot {
	display: block;
	width: 1.15rem;
	height: 1.15rem;
	border-radius: 50%;
	background-color: var(--dt-dot, #ccc);
	border: 1px solid rgba(10, 10, 10, 0.2);
	background-clip: padding-box;
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.dt-dot:hover,
.dt-dot:focus-visible {
	transform: scale(1.18);
	box-shadow: 0 0 0 2px var(--dt-bone), 0 0 0 3px rgba(10, 10, 10, 0.55);
	outline: none;
}

.dt-dot--light {
	border-color: rgba(10, 10, 10, 0.35);
}

.dt-product-card__price del {
	opacity: 0.55;
	font-weight: 500;
	margin-right: 0.4rem;
}

.dt-product-card__stock {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dt-red-text);
}

.dt-product-card__actions {
	margin-top: auto;
	padding-top: 0.6rem;
}

.dt-product-card__actions .button,
.dt-product-card__actions a.added_to_cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3.1rem;
	width: 100%;
	padding: 0.8rem 1.3rem;
	border: 2px solid var(--dt-blue);
	background: var(--dt-blue);
	color: var(--dt-white);
	font-family: var(--dt-body);
	font-size: 0.9rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.dt-product-card__actions .button:hover {
	background: var(--dt-blue-deep);
	border-color: var(--dt-blue-deep);
	color: var(--dt-white);
}

.dt-product-card__actions a.added_to_cart {
	margin-top: 0.5rem;
	background: var(--dt-white);
	color: var(--dt-blue-deep);
	border-color: var(--dt-blue-deep);
}

.dt-product-card__actions .button.loading {
	opacity: 0.6;
}

@media (min-width: 34em) and (max-width: 59.99em) {
	.dt-products__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 60em) {
	.dt-products__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* --- Lead + supporting merchandising --- */
.dt-products__lead {
	margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

/* The lead (first) product is visually featured: image + details side by side
 * from a comfortable width, with larger title/price. Everything is still a real
 * WooCommerce product card — only the presentation changes. */
.dt-product-card--lead {
	position: relative;
	border-top: 3px solid var(--dt-orange);
	padding-top: 1.25rem;
}

.dt-product-card--lead .dt-product-card__title {
	font-size: clamp(1.6rem, 3.2vw, 2.4rem);
}

.dt-product-card--lead .dt-product-card__price {
	font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}

.dt-product-card--lead .dt-product-card__desc {
	font-size: 1.05rem;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	min-height: 0;
}

.dt-product-card--lead .dt-product-card__benefit {
	font-size: 0.85rem;
}

@media (min-width: 40em) {
	.dt-product-card--lead {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: clamp(1.5rem, 3vw, 2.75rem);
		align-items: center;
	}

	.dt-product-card--lead .dt-product-card__body {
		padding-top: 0;
		gap: 0.55rem;
	}
}

/* Supporting products sit under a configurable eyebrow label. */
.dt-products__kit-label {
	margin: 0 0 1.1rem;
	font-family: var(--dt-body);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--dt-red-text);
}

.dt-products__kit-label::before {
	content: "";
	display: inline-block;
	width: 1.6rem;
	height: 2px;
	margin-right: 0.6rem;
	vertical-align: middle;
	background: var(--dt-orange);
}

/* ------------------------------------------------------------------
 * Trust strip
 * ---------------------------------------------------------------- */
.dt-trust {
	background: var(--dt-black);
	color: var(--dt-bone);
	border-block: 2px solid var(--dt-black);
	padding: clamp(1.1rem, 2.5vw, 1.6rem) var(--dt-gutter);
}

.dt-trust__list {
	max-width: 80rem;
	margin: 0 auto;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1rem clamp(1.5rem, 5vw, 4rem);
}

.dt-trust__item {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.dt-trust__icon {
	flex: 0 0 auto;
	color: var(--dt-orange);
}

.dt-trust__label {
	line-height: 1.2;
}

/* ------------------------------------------------------------------
 * Custom towels
 * ---------------------------------------------------------------- */
.dt-custom {
	background-color: var(--dt-black);
	background-image:
		radial-gradient(ellipse 60rem 40rem at 15% 10%, rgba(244, 90, 31, 0.07), transparent 60%),
		radial-gradient(ellipse 50rem 35rem at 90% 90%, rgba(0, 107, 255, 0.06), transparent 60%);
	color: var(--dt-bone);
}

.dt-custom__inner {
	max-width: 80rem;
	margin-inline: auto;
	padding: var(--dt-section-pad) var(--dt-gutter);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
}

.dt-custom__inner > * {
	min-width: 0;
}

.dt-custom__visual {
	margin-top: 2rem;
	overflow: hidden;
	clip-path: polygon(0 0, 100% 0, calc(100% - 1.6rem) 100%, 0 100%);
}

.dt-custom__visual img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.dt-custom__heading {
	color: var(--dt-white);
	max-width: 12ch;
}

.dt-custom__copy {
	max-width: 30rem;
	color: rgba(244, 239, 230, 0.85);
}

.dt-custom__audiences {
	display: grid;
	grid-template-columns: repeat(2, auto);
	justify-content: start;
	gap: 1.1rem 2.25rem;
	list-style: none;
	margin: 1.75rem 0 0;
	padding: 0;
}

.dt-custom__audience {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.dt-custom__audience svg {
	color: var(--dt-orange);
	flex: 0 0 auto;
}

@media (min-width: 32em) {
	.dt-custom__audiences {
		grid-template-columns: repeat(4, auto);
	}
}

/* Prominent, trustworthy form panel: brighter surface, orange top accent, and
 * a subtle orange glow so it reads as the key action of the section rather than
 * a dark utility box. */
.dt-custom__form {
	position: relative;
	background: linear-gradient(180deg, #1f1f1f 0%, #161616 100%);
	border: 1px solid #34302b;
	border-top: 4px solid var(--dt-orange);
	padding: clamp(1.5rem, 3.5vw, 2.75rem);
	box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(244, 90, 31, 0.12), 0 0 60px rgba(244, 90, 31, 0.14);
}

.dt-custom__form-title {
	font-size: clamp(1.9rem, 3vw, 2.4rem);
	color: var(--dt-white);
	margin-bottom: 0.4rem;
}

.dt-custom__form-sub {
	font-size: 1rem;
	line-height: 1.5;
	color: rgba(244, 239, 230, 0.82);
	margin-bottom: 1rem;
}

/* Reassurance chips (No commitment required + optional turnaround / minimum). */
.dt-custom__reassure {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.9rem;
	margin: 0 0 1.4rem;
	padding: 0;
	list-style: none;
}

.dt-custom__reassure li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.82rem;
	font-weight: 700;
	color: rgba(244, 239, 230, 0.9);
}

.dt-custom__reassure li::before {
	content: "✓";
	color: var(--dt-orange);
	font-weight: 900;
}

/* Orange gradient submit button inside the custom-order card. */
.dt-custom__form .dt-button--gradient {
	width: 100%;
	min-height: 3.4rem;
	font-size: 0.95rem;
}

.dt-quote-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.9rem;
}

.dt-quote-form__hp,
.dt-signup-form__hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.dt-field {
	margin: 0;
	display: grid;
	gap: 0.35rem;
}

.dt-field label {
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.dt-req {
	color: var(--dt-orange);
}

.dt-field input,
.dt-field select,
.dt-field textarea {
	width: 100%;
	min-height: 3.1rem;
	padding: 0.85rem 1rem;
	background: #0f0f0f;
	border: 1px solid #4a453e;
	color: var(--dt-bone);
	font: inherit;
	font-size: 1rem;
}

.dt-field textarea {
	min-height: 6rem;
}

.dt-field input::placeholder,
.dt-field textarea::placeholder {
	color: rgba(244, 239, 230, 0.4);
}

.dt-field input:focus-visible,
.dt-field select:focus-visible,
.dt-field textarea:focus-visible {
	outline: 3px solid var(--dt-ice);
	outline-offset: 1px;
}

.dt-field input[type="file"] {
	padding: 0.55rem;
}

.dt-field__help {
	font-size: 0.78rem;
	color: rgba(244, 239, 230, 0.65);
}

.dt-field--full {
	grid-column: 1 / -1;
}

@media (min-width: 48em) {
	.dt-quote-form {
		grid-template-columns: 1fr 1fr;
	}
}

@media (min-width: 62em) {
	.dt-custom__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
		align-items: start;
	}
}

/* ------------------------------------------------------------------
 * Audience grid
 * ---------------------------------------------------------------- */
.dt-audiences {
	background: var(--dt-black);
	color: var(--dt-white);
	/* Real top padding so the heading is never clipped or covered by the cards
	 * (or tucked under the sticky header on an #audiences anchor jump). The
	 * cards keep their energetic full-bleed clip-path layout below it. Bottom
	 * padding is tightened so there isn't an oversized gap under the cards. */
	padding: clamp(2.75rem, 5vw, 4.25rem) 0 clamp(2rem, 4vw, 3.25rem);
	/* Extra scroll offset specific to this anchored section. */
	scroll-margin-top: 7.5rem;
}

.dt-audiences__heading {
	position: relative;
	z-index: 2; /* Heading always sits above the card layer — never covered. */
	text-align: center;
	/* Generous space below the heading so the first row of cards can't crowd
	 * or overlap it at any width. line-height keeps tall Anton caps un-clipped. */
	padding: 0 var(--dt-gutter);
	margin: 0 0 clamp(2rem, 4vw, 3rem);
	line-height: 1.02;
	font-size: clamp(2.25rem, 6vw, 4rem);
}

.dt-audiences__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px;
}

.dt-audiences__tile {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	text-decoration: none;
	background: #161616;
	min-width: 0;
}

.dt-audiences__tile img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.dt-audiences__tile:hover img {
	transform: scale(1.04);
}

.dt-audiences__label {
	position: absolute;
	left: 0.9rem;
	bottom: 0.9rem;
	z-index: 1;
	font-family: var(--dt-display);
	font-size: clamp(1.5rem, 3.5vw, 2.4rem);
	text-transform: uppercase;
	color: var(--dt-white);
	text-shadow: 0 2px 14px rgba(10, 10, 10, 0.8);
}

.dt-audiences__tile::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(10, 10, 10, 0.65) 0%, transparent 45%);
}

@media (min-width: 62em) {
	.dt-audiences__grid {
		grid-template-columns: repeat(4, 1fr);
		gap: 0;
		background: var(--dt-black);
	}

	/* Slanted separators between tiles, per the approved mockup. */
	.dt-audiences__tile {
		clip-path: polygon(1.1rem 0, 100% 0, calc(100% - 1.1rem) 100%, 0 100%);
	}

	.dt-audiences__label {
		writing-mode: vertical-rl;
		transform: rotate(180deg);
		left: 1.6rem;
		bottom: 1rem;
	}
}

/* ------------------------------------------------------------------
 * Founder story
 * ---------------------------------------------------------------- */
.dt-story__inner {
	max-width: 80rem;
	margin-inline: auto;
	padding: var(--dt-section-pad) var(--dt-gutter);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2rem, 4vw, 3.5rem);
}

.dt-story__inner > * {
	min-width: 0;
}

.dt-story__portrait img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 15%;
	border: 2px solid var(--dt-black);
	filter: grayscale(1);
}

.dt-story__eyebrow {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(10, 10, 10, 0.55);
	margin-bottom: 0.75rem;
}

.dt-story__founder {
	margin-top: 1.5rem;
}

.dt-story__founder strong {
	display: block;
	font-size: 1.05rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.dt-story__founder span {
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dt-red-text);
}

.dt-story__timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.5rem;
	align-content: start;
}

.dt-story__milestone {
	display: grid;
	grid-template-columns: 5rem 1fr;
	gap: 1rem;
	align-items: baseline;
	border-top: 2px solid var(--dt-black);
	padding-top: 1rem;
}

.dt-story__year {
	font-family: var(--dt-display);
	font-size: 1.9rem;
	color: var(--dt-red);
}

.dt-story__event {
	font-weight: 600;
}

@media (min-width: 48em) {
	.dt-story__portrait img {
		max-width: 24rem;
	}
}

@media (min-width: 62em) {
	.dt-story__inner {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr) minmax(0, 1fr);
		align-items: start;
	}

	.dt-story__portrait img {
		max-width: none;
	}
}

/* ------------------------------------------------------------------
 * Reviews
 * ---------------------------------------------------------------- */
.dt-reviews {
	background: var(--dt-heat-gradient);
	color: var(--dt-black);
}

.dt-reviews__inner {
	max-width: 72rem;
	margin-inline: auto;
	padding: clamp(3rem, 6vw, 5rem) var(--dt-gutter);
}

.dt-reviews__head {
	text-align: center;
	margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.dt-reviews__heading {
	font-size: clamp(2.25rem, 6vw, 4rem);
	margin: 0 0 0.9rem;
}

.dt-reviews__summary {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
}

.dt-stars {
	display: inline-flex;
	gap: 0.15rem;
	line-height: 0;
}

.dt-star {
	fill: rgba(10, 10, 10, 0.25);
}

.dt-star.is-on {
	fill: var(--dt-black);
}

.dt-stars--lg .dt-star {
	width: 28px;
	height: 28px;
}

.dt-reviews__rating {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
}

.dt-reviews__rating strong {
	font-family: var(--dt-display);
	font-size: 1.5rem;
	margin-right: 0.35rem;
}

/* Single review → striking full-width feature quote. */
.dt-reviews__feature {
	max-width: 55rem;
	margin: 0 auto;
	text-align: center;
}

.dt-reviews__quote {
	margin: 0;
}

.dt-reviews__feature .dt-reviews__quote p {
	font-family: var(--dt-display);
	font-size: clamp(2rem, 5.5vw, 3.75rem);
	line-height: 1;
	text-transform: uppercase;
	margin: 0 0 1rem;
}

/* Multiple reviews → uniform cards. */
.dt-reviews__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
}

.dt-reviews__grid > * {
	min-width: 0;
}

@media (min-width: 40em) {
	.dt-reviews__grid {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
	}
}

.dt-reviews__card {
	background: rgba(255, 255, 255, 0.18);
	border: 2px solid rgba(10, 10, 10, 0.18);
	padding: clamp(1.25rem, 3vw, 1.75rem);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.dt-reviews__card .dt-reviews__quote p {
	font-family: var(--dt-body);
	font-size: 1.02rem;
	font-weight: 600;
	line-height: 1.5;
	margin: 0;
}

.dt-reviews__attribution {
	margin: 0;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 0.85rem;
}

.dt-reviews__card .dt-reviews__attribution {
	margin-top: auto;
}

.dt-reviews__all {
	text-align: center;
	margin: clamp(1.75rem, 4vw, 2.5rem) 0 0;
}

.dt-link-arrow--dark {
	color: var(--dt-black);
	border-color: var(--dt-black);
}

/* ------------------------------------------------------------------
 * Get the Heat Check
 * ---------------------------------------------------------------- */
.dt-heatcheck {
	background: var(--dt-cool-gradient);
	color: var(--dt-white);
}

.dt-heatcheck__inner {
	max-width: 80rem;
	margin-inline: auto;
	padding: var(--dt-section-pad) var(--dt-gutter);
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(1.75rem, 4vw, 3rem);
	align-items: center;
}

.dt-heatcheck__inner > * {
	min-width: 0;
}

.dt-heatcheck__heading {
	max-width: 12ch;
	font-size: clamp(2.75rem, 6vw, 4.5rem);
}

.dt-heatcheck__copy {
	font-weight: 600;
	max-width: 26rem;
	margin-bottom: 1.1rem;
}

/* Weather card */
.dt-heatcheck__weather {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	text-align: center;
	background: rgba(255, 255, 255, 0.12);
	border: 2px solid rgba(255, 255, 255, 0.5);
	padding: 1.25rem 1.5rem;
	max-width: 16rem;
	justify-self: start;
}

.dt-heatcheck__weather-city {
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.dt-heatcheck__weather-main {
	display: flex;
	align-items: center;
	gap: 0.6rem;
}

.dt-heatcheck__weather-icon {
	color: var(--dt-yellow);
}

.dt-heatcheck__weather-temp {
	font-family: var(--dt-display);
	font-size: 3.25rem;
	line-height: 1;
}

.dt-heatcheck__weather-cond {
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	opacity: 0.92;
}

.dt-signup-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.dt-signup-form input[type="email"] {
	flex: 1 1 16rem;
	min-height: 3.25rem;
	padding: 0.75rem 1rem;
	border: 2px solid var(--dt-black);
	font: inherit;
}

.dt-signup-form .dt-button {
	min-height: 3.25rem;
}

@media (min-width: 62em) {
	.dt-heatcheck__inner {
		grid-template-columns: minmax(0, 1.1fr) auto minmax(0, 1.2fr);
	}

	.dt-heatcheck__weather {
		justify-self: center;
	}
}

/* ------------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------- */
.dt-footer {
	background: var(--dt-black);
	color: var(--dt-bone);
}

.dt-footer__inner {
	max-width: 80rem;
	margin-inline: auto;
	padding: clamp(2.5rem, 6vw, 4.5rem) var(--dt-gutter);
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

/* Footer wordmark: guaranteed high contrast on the black footer. The DESERT
 * and TOWEL lettering is forced to bone/white (it inherits black elsewhere and
 * would otherwise vanish here); the cactus mark stays orange. Header logo is
 * untouched. */
.dt-footer .dt-wordmark {
	color: var(--dt-bone);
}

.dt-footer .dt-wordmark__text {
	color: var(--dt-bone);
}

.dt-footer .dt-wordmark__mark {
	color: var(--dt-orange);
}

.dt-footer .dt-wordmark:hover .dt-wordmark__text,
.dt-footer .dt-wordmark:focus-visible .dt-wordmark__text {
	color: var(--dt-white);
}

.dt-footer .dt-wordmark:focus-visible {
	outline: 3px solid var(--dt-ice);
	outline-offset: 3px;
}

/* Footer logo: a dedicated dark-background upload, or the header logo. */
.dt-footer__logo {
	display: inline-block;
}

.dt-footer__logo img,
.dt-footer__logo-img {
	max-height: 3.25rem;
	width: auto;
	height: auto;
}

/* Optional: whiten a single-colour header logo for the dark footer. */
.dt-footer__logo--invert img {
	filter: brightness(0) invert(1);
}

.dt-footer__logo:focus-visible {
	outline: 3px solid var(--dt-ice);
	outline-offset: 3px;
}

.dt-footer__tag {
	max-width: 20rem;
	margin-top: 1rem;
	color: rgba(244, 239, 230, 0.75);
	font-size: 0.9rem;
}

.dt-footer__heading {
	font-family: var(--dt-body);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dt-orange);
	margin-bottom: 0.9rem;
}

.footer-menu,
.social-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.social-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.25rem;
}

.dt-footer a {
	color: rgba(244, 239, 230, 0.85);
	text-decoration: none;
	font-size: 0.92rem;
}

.dt-footer a:hover {
	color: var(--dt-white);
	text-decoration: underline;
}

.dt-footer__legal {
	border-top: 1px solid #262626;
	padding: 1.25rem var(--dt-gutter);
	font-size: 0.8rem;
	color: rgba(244, 239, 230, 0.6);
}

.dt-footer__legal p {
	max-width: 80rem;
	margin: 0 auto;
}

@media (min-width: 48em) {
	.dt-footer__inner {
		grid-template-columns: 1.4fr 1fr 1fr 1fr;
	}
}

/* ------------------------------------------------------------------
 * Inner pages / blog
 * ---------------------------------------------------------------- */
.dt-page-header {
	margin-bottom: 2.5rem;
}

.dt-page-header__title {
	font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.dt-entry {
	max-width: 46rem;
	margin: 0 auto 3rem;
}

.dt-entry__title {
	font-size: clamp(2rem, 5vw, 3.5rem);
}

.dt-entry__title a {
	text-decoration: none;
}

.entry-meta {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dt-red-text);
}

.dt-entry__thumb {
	margin: 1.5rem 0;
}

.dt-entry__content a {
	color: var(--dt-blue-deep);
}

.dt-404 {
	text-align: center;
}

.dt-404__title {
	font-size: clamp(3rem, 9vw, 6rem);
}

.dt-404__actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 1.5rem 0 2.5rem;
}

.dt-404 .search-form,
.dt-entry--none .search-form {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.search-form input[type="search"],
.search-form .search-field {
	min-height: 3rem;
	padding: 0.6rem 1rem;
	border: 2px solid var(--dt-black);
	font: inherit;
	background: var(--dt-white);
}

.search-form input[type="submit"],
.search-form .search-submit {
	min-height: 3rem;
	padding: 0.6rem 1.4rem;
	border: 2px solid var(--dt-black);
	background: var(--dt-black);
	color: var(--dt-white);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	cursor: pointer;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

.pagination .page-numbers {
	display: inline-flex;
	min-width: 2.6rem;
	min-height: 2.6rem;
	align-items: center;
	justify-content: center;
	padding: 0.4rem 0.8rem;
	border: 2px solid var(--dt-black);
	text-decoration: none;
	font-weight: 800;
}

.pagination .page-numbers.current {
	background: var(--dt-black);
	color: var(--dt-white);
}

/* ------------------------------------------------------------------
 * WooCommerce: shop, product, cart, checkout, account
 * Functionality untouched — presentation matched to the theme.
 * Selectors are body-scoped to outrank WooCommerce's own stylesheet
 * regardless of load order.
 * ---------------------------------------------------------------- */
.dt-woocommerce {
	max-width: 80rem;
	margin-inline: auto;
	padding: clamp(1.75rem, 3vw, 2.75rem) var(--dt-gutter) clamp(3rem, 6vw, 5rem);
	display: flow-root; /* Contain WooCommerce floats so the footer never overlaps. */
}

/* Collapse the empty notices wrapper so it doesn't add dead space up top. */
body.dt-theme .woocommerce-notices-wrapper:empty {
	margin: 0;
	padding: 0;
}

/* Page title spacing on shop/cart/checkout. */
body.dt-theme .dt-woocommerce > .woocommerce-products-header {
	margin-bottom: 1.5rem;
}

body.dt-theme .dt-woocommerce h1.entry-title,
body.dt-theme .dt-woocommerce .woocommerce-products-header__title {
	margin-top: 0;
}

.dt-shop,
.dt-shop__inner {
	display: flow-root;
}

.dt-woocommerce .woocommerce-products-header__title,
body.dt-theme .woocommerce-page h1.entry-title,
body.dt-theme .woocommerce h1 {
	font-size: clamp(2.5rem, 6vw, 4rem);
}

/* --- Buttons: replace WooCommerce's purple defaults --- */
body.dt-theme .woocommerce a.button,
body.dt-theme .woocommerce button.button,
body.dt-theme .woocommerce input.button,
body.dt-theme .woocommerce #respond input#submit,
body.dt-theme .woocommerce button[type="submit"],
body.dt-theme .woocommerce #place_order,
body.dt-theme .woocommerce div.product form.cart .button,
body.dt-theme .wc-proceed-to-checkout a.checkout-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.75rem 1.5rem;
	background: var(--dt-black);
	color: var(--dt-white);
	border: 2px solid var(--dt-black);
	border-radius: 0;
	font-family: var(--dt-body);
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

body.dt-theme .woocommerce a.button:hover,
body.dt-theme .woocommerce button.button:hover,
body.dt-theme .woocommerce input.button:hover,
body.dt-theme .woocommerce #place_order:hover,
body.dt-theme .woocommerce div.product form.cart .button:hover,
body.dt-theme .wc-proceed-to-checkout a.checkout-button:hover {
	background: #292929;
	color: var(--dt-white);
}

body.dt-theme .woocommerce a.button.alt,
body.dt-theme .woocommerce button.button.alt {
	background: var(--dt-black);
	color: var(--dt-white);
}

body.dt-theme .woocommerce button.button:disabled,
body.dt-theme .woocommerce button.button:disabled[disabled] {
	background: var(--dt-black);
	color: var(--dt-white);
	opacity: 0.4;
	padding: 0.75rem 1.5rem;
}

body.dt-theme .woocommerce a.added_to_cart {
	display: inline-block;
	margin-top: 0.6rem;
	font-weight: 800;
	font-size: 0.82rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

/* --- Prices --- */
body.dt-theme .woocommerce .price,
body.dt-theme .woocommerce div.product p.price,
body.dt-theme .woocommerce div.product span.price,
body.dt-theme .woocommerce ul.products li.product .price {
	color: var(--dt-black);
	font-weight: 800;
	font-size: 1.15rem;
}

body.dt-theme .woocommerce div.product p.price {
	font-size: 1.5rem;
}

body.dt-theme .woocommerce .price del {
	opacity: 0.5;
	font-weight: 500;
}

body.dt-theme .woocommerce .price ins {
	text-decoration: none;
	color: var(--dt-red-text);
}

/* --- Shop / archive grid --- */
body.dt-theme .woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem 1.5rem;
	margin: 0 0 2.5rem;
	padding: 0;
	list-style: none;
}

body.dt-theme .woocommerce ul.products::before,
body.dt-theme .woocommerce ul.products::after {
	display: none;
}

body.dt-theme .woocommerce ul.products li.product {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	min-width: 0;
}

body.dt-theme .woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none;
}

body.dt-theme .woocommerce ul.products li.product img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	background: var(--dt-white);
	margin: 0 0 0.9rem;
}

body.dt-theme .woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--dt-display);
	font-size: 1.2rem;
	text-transform: uppercase;
	color: var(--dt-black);
	padding: 0;
	margin: 0 0 0.3rem;
}

body.dt-theme .woocommerce ul.products li.product .price {
	margin-bottom: 0.75rem;
}

body.dt-theme .woocommerce ul.products li.product .button {
	margin-top: auto;
	width: 100%;
}

@media (max-width: 47.99em) {
	body.dt-theme .woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem 1rem;
	}
}

@media (max-width: 29.99em) {
	body.dt-theme .woocommerce ul.products {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Shop toolbar */
body.dt-theme .woocommerce .woocommerce-result-count {
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
}

body.dt-theme .woocommerce .woocommerce-ordering {
	margin-bottom: 1.5rem;
}

body.dt-theme .woocommerce .woocommerce-ordering select,
body.dt-theme .woocommerce select {
	padding: 0.5rem 0.75rem;
	border: 2px solid var(--dt-black);
	border-radius: 0;
	background: var(--dt-white);
	color: var(--dt-black);
	font: inherit;
	font-size: 0.9rem;
}

/* --- Single product ---
 * Use WooCommerce's own float layout (images left, summary right) rather
 * than a grid: the tabs / up-sells / related sections then clear naturally
 * below, with no risk of plugin-injected elements landing in a grid cell
 * and overlapping the title. The .dt-woocommerce wrapper is display:flow-root
 * so the floats are contained (footer never overlaps). */
body.dt-theme .woocommerce div.product {
	display: flow-root;
}

@media (min-width: 48em) {
	body.dt-theme .woocommerce div.product div.images {
		float: left;
		width: 48%;
		margin: 0;
	}

	body.dt-theme .woocommerce div.product div.summary {
		float: right;
		width: 47%;
		margin: 0;
	}
}

/* Stack cleanly on small screens. */
@media (max-width: 47.99em) {
	body.dt-theme .woocommerce div.product div.images,
	body.dt-theme .woocommerce div.product div.summary {
		float: none;
		width: 100%;
		margin: 0 0 1.5rem;
	}
}

/* Everything after the two columns spans full width and clears the floats. */
body.dt-theme .woocommerce div.product .woocommerce-tabs,
body.dt-theme .woocommerce div.product section.related,
body.dt-theme .woocommerce div.product section.up-sells,
body.dt-theme .woocommerce div.product .cross-sells {
	clear: both;
	float: none;
	width: 100%;
	margin-top: clamp(2.5rem, 5vw, 4rem);
}

body.dt-theme .woocommerce div.product .product_title {
	font-size: clamp(2rem, 4.5vw, 3.25rem);
}

/* Related / up-sells fill four columns on wide screens. */
@media (min-width: 62em) {
	body.dt-theme .woocommerce div.product section.related ul.products,
	body.dt-theme .woocommerce div.product section.up-sells ul.products {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

body.dt-theme .woocommerce div.product section.related > h2,
body.dt-theme .woocommerce div.product section.up-sells > h2 {
	font-size: clamp(1.5rem, 3vw, 2.25rem);
	margin-bottom: 1.25rem;
}

body.dt-theme .woocommerce div.product .woocommerce-product-gallery img {
	width: 100%;
}

body.dt-theme .woocommerce div.product form.cart {
	margin: 1.5rem 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: stretch;
}

body.dt-theme .woocommerce div.product form.cart.variations_form {
	display: block;
}

body.dt-theme .woocommerce div.product form.cart .variations {
	margin-bottom: 1.25rem;
}

body.dt-theme .woocommerce div.product form.cart .variations td,
body.dt-theme .woocommerce div.product form.cart .variations th {
	padding: 0.35rem 0;
	line-height: 1.4;
}

body.dt-theme .woocommerce div.product form.cart .variations label {
	font-weight: 800;
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.dt-theme .woocommerce div.product form.cart .variations select {
	min-width: 12rem;
	padding: 0.6rem 0.8rem;
	margin-right: 0;
}

body.dt-theme .woocommerce div.product form.cart .reset_variations {
	font-size: 0.8rem;
}

body.dt-theme .woocommerce div.product form.cart div.quantity {
	float: none;
	margin: 0;
}

body.dt-theme .woocommerce .quantity .qty {
	width: 4.25rem;
	min-height: 3rem;
	padding: 0.5rem;
	border: 2px solid var(--dt-black);
	border-radius: 0;
	background: var(--dt-white);
	font: inherit;
	font-weight: 700;
	text-align: center;
}

body.dt-theme .woocommerce div.product .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0 0 1.5rem;
	border-bottom: 2px solid var(--dt-black);
}

body.dt-theme .woocommerce div.product .woocommerce-tabs ul.tabs::before,
body.dt-theme .woocommerce div.product .woocommerce-tabs ul.tabs::after {
	border: 0;
}

body.dt-theme .woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
	border-radius: 0;
	margin: 0 1.25rem 0 0;
	padding: 0;
}

body.dt-theme .woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.dt-theme .woocommerce div.product .woocommerce-tabs ul.tabs li::after {
	display: none;
}

body.dt-theme .woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: 0.6rem 0.2rem;
	font-weight: 800;
	font-size: 0.85rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: rgba(10, 10, 10, 0.6);
}

body.dt-theme .woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	color: var(--dt-black);
	box-shadow: inset 0 -3px 0 var(--dt-orange);
}

/* --- Forms (checkout, account, coupon) --- */
body.dt-theme .woocommerce .input-text,
body.dt-theme .woocommerce input.input-text,
body.dt-theme .woocommerce textarea.input-text,
body.dt-theme .woocommerce-page .input-text {
	padding: 0.65rem 0.85rem;
	border: 2px solid var(--dt-black);
	border-radius: 0;
	background: var(--dt-white);
	color: var(--dt-black);
	font: inherit;
}

body.dt-theme .woocommerce form .form-row label {
	font-weight: 700;
	font-size: 0.85rem;
}

body.dt-theme .woocommerce form .form-row.woocommerce-invalid .input-text {
	border-color: var(--dt-red);
}

body.dt-theme .woocommerce form .form-row.woocommerce-validated .input-text {
	border-color: var(--dt-black);
}

/* --- Tables (cart, totals, order review) --- */
body.dt-theme .woocommerce table.shop_table {
	border: 2px solid var(--dt-black);
	border-radius: 0;
	border-collapse: collapse;
	background: var(--dt-white);
	margin-bottom: 1.5rem;
}

body.dt-theme .woocommerce table.shop_table th,
body.dt-theme .woocommerce table.shop_table td {
	border: 0;
	border-bottom: 1px solid #ddd6c8;
	padding: 0.8rem 0.9rem;
}

body.dt-theme .woocommerce table.shop_table thead th {
	border-bottom: 2px solid var(--dt-black);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

body.dt-theme .woocommerce table.shop_table td.product-name a {
	font-weight: 700;
	text-decoration: none;
}

body.dt-theme .woocommerce table.shop_table td.product-name a:hover {
	text-decoration: underline;
}

body.dt-theme .woocommerce a.remove {
	color: var(--dt-red) !important;
	font-weight: 400;
}

body.dt-theme .woocommerce a.remove:hover {
	background: var(--dt-red);
	color: var(--dt-white) !important;
}

body.dt-theme .woocommerce #coupon_code {
	min-height: 3rem;
	width: 10rem;
}

/* --- Cart totals / checkout review --- */
body.dt-theme .woocommerce .cart_totals h2,
body.dt-theme .woocommerce #order_review_heading {
	font-size: 1.75rem;
}

body.dt-theme .woocommerce .wc-proceed-to-checkout {
	padding: 0;
}

body.dt-theme .woocommerce .wc-proceed-to-checkout a.checkout-button {
	width: 100%;
	font-size: 1rem;
}

/* --- Checkout payment box --- */
body.dt-theme.woocommerce-checkout #payment {
	background: #e9e3d6;
	border-radius: 0;
}

body.dt-theme.woocommerce-checkout #payment div.payment_box {
	background: rgba(255, 255, 255, 0.7);
	border-radius: 0;
}

body.dt-theme.woocommerce-checkout #payment div.payment_box::before {
	display: none;
}

body.dt-theme .woocommerce #place_order {
	width: 100%;
	font-size: 1rem;
	margin-top: 0.5rem;
}

/* --- Notices --- */
body.dt-theme .woocommerce-message,
body.dt-theme .woocommerce-info,
body.dt-theme .woocommerce-error {
	border-radius: 0;
	background: var(--dt-white);
	color: var(--dt-black);
}

body.dt-theme .woocommerce-message {
	border-top-color: #17803d;
}

body.dt-theme .woocommerce-info {
	border-top-color: var(--dt-blue);
}

body.dt-theme .woocommerce-error {
	border-top-color: var(--dt-red);
}

/* --- My Account --- */
body.dt-theme .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.dt-theme .woocommerce-MyAccount-navigation li {
	border-bottom: 1px solid #ddd6c8;
}

body.dt-theme .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 0.7rem 0.25rem;
	font-weight: 700;
	text-decoration: none;
}

body.dt-theme .woocommerce-MyAccount-navigation li.is-active a {
	color: var(--dt-red-text);
}

/* ------------------------------------------------------------------
 * WooCommerce cascade guarantees.
 * These few high-visibility properties are hardened with !important so
 * they win even when a plugin sheet (WooCommerce default styles, Stripe,
 * WooCommerce Blocks, Zakeke, or leftover Customizer "Additional CSS")
 * loads late and re-colors them. Scope stays tight — only color/border on
 * buttons, prices, and form controls, never layout.
 * ---------------------------------------------------------------- */
body.dt-theme .woocommerce a.button,
body.dt-theme .woocommerce button.button,
body.dt-theme .woocommerce input.button,
body.dt-theme .woocommerce a.button.alt,
body.dt-theme .woocommerce button.button.alt,
body.dt-theme .woocommerce input.button.alt,
body.dt-theme .woocommerce #respond input#submit,
body.dt-theme .woocommerce #respond input#submit.alt,
body.dt-theme .woocommerce div.product form.cart .button,
body.dt-theme .woocommerce div.product form.cart .single_add_to_cart_button,
body.dt-theme .woocommerce #place_order,
body.dt-theme .wc-proceed-to-checkout a.checkout-button {
	background-color: var(--dt-black) !important;
	border-color: var(--dt-black) !important;
	color: var(--dt-white) !important;
	border-radius: 0 !important;
}

body.dt-theme .woocommerce a.button:hover,
body.dt-theme .woocommerce button.button:hover,
body.dt-theme .woocommerce a.button.alt:hover,
body.dt-theme .woocommerce button.button.alt:hover,
body.dt-theme .woocommerce div.product form.cart .single_add_to_cart_button:hover,
body.dt-theme .woocommerce #place_order:hover,
body.dt-theme .wc-proceed-to-checkout a.checkout-button:hover {
	background-color: #292929 !important;
	color: var(--dt-white) !important;
}

body.dt-theme .woocommerce .price,
body.dt-theme .woocommerce div.product p.price,
body.dt-theme .woocommerce div.product span.price,
body.dt-theme .woocommerce ul.products li.product .price,
body.dt-theme .woocommerce .woocommerce-Price-amount {
	color: var(--dt-black) !important;
}

body.dt-theme .woocommerce .price del,
body.dt-theme .woocommerce .price del .woocommerce-Price-amount {
	color: rgba(10, 10, 10, 0.5) !important;
}

body.dt-theme .woocommerce .price ins,
body.dt-theme .woocommerce .price ins .woocommerce-Price-amount {
	color: var(--dt-red-text) !important;
}

body.dt-theme .woocommerce .quantity .qty,
body.dt-theme .woocommerce .input-text,
body.dt-theme .woocommerce input.input-text,
body.dt-theme .woocommerce textarea.input-text,
body.dt-theme .woocommerce select,
body.dt-theme .woocommerce #coupon_code {
	border-color: var(--dt-black) !important;
	border-radius: 0 !important;
}

/* ------------------------------------------------------------------
 * Streamlined, Shopify-style checkout (CSS only — no template edits,
 * so all validation, fields, and payment behavior are untouched).
 * A clean centered single column: contact/billing, then a boxed order
 * summary with a prominent full-width Place Order button.
 * ---------------------------------------------------------------- */
/* Cart & checkout: use the full container width, not the 46rem reading
 * column the shortcode content would otherwise inherit from .dt-entry. */
body.dt-theme.woocommerce-cart .dt-entry,
body.dt-theme.woocommerce-cart .dt-entry__content,
body.dt-theme.woocommerce-checkout .dt-entry,
body.dt-theme.woocommerce-checkout .dt-entry__content {
	max-width: none;
	width: 100%;
	margin-inline: 0;
}

/* Cart: robust flex two-column — item table on the left, totals card on
 * the right. Flexbox (not floats) so the wide item table can never clip
 * into the totals card. Stacks to a single column on smaller screens. */
body.dt-theme.woocommerce-cart .woocommerce {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 2.5rem;
	width: 100%;
	max-width: none;
}

body.dt-theme.woocommerce-cart .woocommerce-cart-form {
	flex: 1 1 55%;
	min-width: 0;
	float: none;
	width: auto;
	margin-bottom: 0;
}

body.dt-theme.woocommerce-cart .cart-collaterals {
	flex: 1 1 22rem;
	min-width: 0;
	max-width: 26rem;
	float: none;
	width: auto;
	display: block;
}

body.dt-theme.woocommerce-cart .cart-collaterals .cart_totals {
	background: var(--dt-white);
	border: 2px solid var(--dt-black);
	padding: clamp(1.25rem, 3vw, 1.75rem);
	width: 100%;
	float: none;
}

/* Totals table stays inside its bordered card. Fixed layout stops the
 * long tax label from forcing the table wider than the card. */
body.dt-theme.woocommerce-cart .cart_totals table.shop_table {
	border: 0;
	margin: 0;
	width: 100%;
	table-layout: fixed;
}

body.dt-theme.woocommerce-cart .cart_totals table.shop_table th,
body.dt-theme.woocommerce-cart .cart_totals table.shop_table td {
	padding: 0.7rem 0;
	vertical-align: top;
	word-break: normal;
	overflow-wrap: break-word;
}

body.dt-theme.woocommerce-cart .cart_totals table.shop_table th {
	padding-right: 1rem;
	text-align: left;
	white-space: normal;
}

body.dt-theme.woocommerce-cart .cart_totals table.shop_table small {
	display: block;
	font-weight: 400;
	margin-top: 0.25rem;
}

/* Keep any express-pay buttons under the totals within the card width. */
body.dt-theme.woocommerce-cart .cart_totals .wc-proceed-to-checkout + div,
body.dt-theme.woocommerce-cart .cart_totals .wcpay-payment-request-wrapper,
body.dt-theme.woocommerce-cart .cart_totals .payment-request-button {
	max-width: 100%;
}

/* Mobile cart: stack the table into cards so it never overflows, regardless
 * of load order vs WooCommerce's own small-screen stylesheet. */
@media (max-width: 47.99em) {
	body.dt-theme.woocommerce-cart table.cart thead {
		display: none;
	}

	body.dt-theme.woocommerce-cart table.cart,
	body.dt-theme.woocommerce-cart table.cart tbody,
	body.dt-theme.woocommerce-cart table.cart tr,
	body.dt-theme.woocommerce-cart table.cart td {
		display: block;
		width: 100%;
	}

	body.dt-theme.woocommerce-cart table.cart tr.woocommerce-cart-form__cart-item {
		position: relative;
		padding: 1rem 0;
		border-bottom: 1px solid #ddd6c8;
	}

	body.dt-theme.woocommerce-cart table.cart td {
		border: 0;
		padding: 0.3rem 0;
		text-align: left;
	}

	body.dt-theme.woocommerce-cart table.cart td::before {
		content: attr(data-title);
		display: inline-block;
		min-width: 6rem;
		font-weight: 800;
		font-size: 0.75rem;
		text-transform: uppercase;
		letter-spacing: 0.05em;
	}

	body.dt-theme.woocommerce-cart table.cart td.product-remove {
		position: absolute;
		top: 0.85rem;
		right: 0;
		width: auto;
		padding: 0;
	}

	body.dt-theme.woocommerce-cart table.cart td.product-remove::before,
	body.dt-theme.woocommerce-cart table.cart td.product-thumbnail::before {
		display: none;
	}

	body.dt-theme.woocommerce-cart table.cart td.product-thumbnail img {
		width: 5rem;
		height: auto;
	}

	body.dt-theme.woocommerce-cart table.cart td.actions {
		display: flex;
		flex-wrap: wrap;
		gap: 0.5rem;
		padding-top: 1rem;
	}

	body.dt-theme.woocommerce-cart table.cart td.actions::before {
		display: none;
	}

	body.dt-theme.woocommerce-cart table.cart td.actions .button {
		float: none !important;
		width: 100%;
	}

	body.dt-theme.woocommerce-cart table.cart td.actions #coupon_code {
		width: 100%;
		flex: 1 1 100%;
	}
}

body.dt-theme.woocommerce-checkout form.checkout.woocommerce-checkout {
	max-width: 100%;
}

/* Flatten the login / coupon toggle info-bars into quiet inline prompts. */
body.dt-theme.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
body.dt-theme.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	background: transparent;
	border: 0;
	border-top: 1px solid #ddd6c8;
	padding: 0.85rem 0 0.85rem 0;
	margin: 0 0 0.5rem;
	font-size: 0.9rem;
	color: rgba(10, 10, 10, 0.7);
}

body.dt-theme.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before,
body.dt-theme.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
	display: none;
}

body.dt-theme.woocommerce-checkout .woocommerce-info a,
body.dt-theme.woocommerce-checkout .woocommerce-form-coupon-toggle a {
	color: var(--dt-blue-deep);
	font-weight: 700;
}

/* Stack billing / shipping columns into one clean flow. */
body.dt-theme.woocommerce-checkout #customer_details .col2-set,
body.dt-theme.woocommerce-checkout #customer_details .col-1,
body.dt-theme.woocommerce-checkout #customer_details .col-2 {
	width: 100%;
	float: none;
	margin: 0;
}

body.dt-theme.woocommerce-checkout #customer_details .col-2 {
	margin-top: 1.5rem;
}

/* Billing fields fill the full 58% column. First/last name stay paired. */
body.dt-theme.woocommerce-checkout #customer_details .form-row {
	width: 100%;
	float: none;
	margin: 0 0 1.1rem;
}

body.dt-theme.woocommerce-checkout #customer_details .input-text,
body.dt-theme.woocommerce-checkout #customer_details select,
body.dt-theme.woocommerce-checkout #customer_details textarea,
body.dt-theme.woocommerce-checkout #customer_details .select2-container {
	width: 100%;
}

@media (min-width: 40em) {
	body.dt-theme.woocommerce-checkout #customer_details .form-row-first {
		width: 48.5%;
		float: left;
		clear: left;
	}

	body.dt-theme.woocommerce-checkout #customer_details .form-row-last {
		width: 48.5%;
		float: right;
	}

	body.dt-theme.woocommerce-checkout #customer_details .form-row-wide {
		clear: both;
	}
}

body.dt-theme.woocommerce-checkout h3,
body.dt-theme.woocommerce-checkout #order_review_heading {
	font-size: 1.4rem;
	margin: 1.75rem 0 1rem;
}

/* Larger, calmer form fields. */
body.dt-theme.woocommerce-checkout .form-row {
	margin: 0 0 1.1rem;
}

body.dt-theme.woocommerce-checkout .form-row label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.02em;
}

body.dt-theme.woocommerce-checkout .input-text,
body.dt-theme.woocommerce-checkout select,
body.dt-theme.woocommerce-checkout .select2-selection {
	min-height: 3rem;
	padding: 0.7rem 0.9rem;
	font-size: 1rem;
}

body.dt-theme.woocommerce-checkout .select2-selection__rendered {
	line-height: 1.6rem;
}

/* Boxed order summary that reads like a Shopify order card. */
body.dt-theme.woocommerce-checkout #order_review {
	background: var(--dt-white);
	border: 2px solid var(--dt-black);
	padding: clamp(1.25rem, 3vw, 1.75rem);
	margin-top: 0.5rem;
}

body.dt-theme.woocommerce-checkout #order_review .shop_table {
	border: 0;
	margin: 0 0 1rem;
}

body.dt-theme.woocommerce-checkout #order_review .shop_table th,
body.dt-theme.woocommerce-checkout #order_review .shop_table td {
	padding: 0.6rem 0;
}

body.dt-theme.woocommerce-checkout #order_review .order-total th,
body.dt-theme.woocommerce-checkout #order_review .order-total td {
	border-top: 2px solid var(--dt-black);
	font-size: 1.1rem;
}

body.dt-theme.woocommerce-checkout #payment {
	background: transparent;
	margin-top: 0.5rem;
}

body.dt-theme.woocommerce-checkout #payment ul.payment_methods {
	border: 0;
	padding: 0;
	margin: 0 0 1rem;
}

body.dt-theme.woocommerce-checkout #payment div.form-row.place-order {
	padding: 0;
}

body.dt-theme.woocommerce-checkout #place_order {
	width: 100%;
	min-height: 3.4rem;
	font-size: 1rem;
	letter-spacing: 0.08em;
}

/* Two-column comfort on wide screens: customer details float left, the order
 * review (heading + boxed summary) floats right and stacks via clear:right.
 * Floats (not grid) so the review box grows to its natural height and never
 * clips or overlaps. form.checkout is display:flow-root to contain them. */
@media (min-width: 62em) {
	body.dt-theme.woocommerce-checkout form.checkout.woocommerce-checkout {
		display: flow-root;
	}

	body.dt-theme.woocommerce-checkout .woocommerce-form-login-toggle,
	body.dt-theme.woocommerce-checkout .woocommerce-form-coupon-toggle {
		clear: both;
	}

	body.dt-theme.woocommerce-checkout #customer_details {
		float: left;
		width: 58%;
		clear: left;
	}

	body.dt-theme.woocommerce-checkout form.checkout #order_review_heading {
		float: right;
		width: 38%;
		clear: right;
		margin-top: 0;
	}

	body.dt-theme.woocommerce-checkout form.checkout #order_review {
		float: right;
		width: 38%;
		clear: right;
	}
}

/* ------------------------------------------------------------------
 * Single product: robust add-to-cart, quantity row, gallery, swatches.
 * ---------------------------------------------------------------- */

/* The add-to-cart button must always be the big black button, even when a
 * plugin (TM Extra Product Options) wraps it or it renders out of stock —
 * WooCommerce's own button colors are off (opt-out class), so cover it
 * regardless of ancestor. */
body.dt-theme .woocommerce .single_add_to_cart_button,
body.dt-theme .woocommerce button.single_add_to_cart_button {
	/* Sizing is !important too: TM Extra Product Options' footer-inline CSS
	 * loads after the theme sheet and otherwise shrinks this button. */
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-height: 3.4rem !important;
	padding: 0.85rem 2rem !important;
	background-color: var(--dt-black) !important;
	border: 2px solid var(--dt-black) !important;
	color: var(--dt-white) !important;
	border-radius: 0 !important;
	font-family: var(--dt-body) !important;
	font-size: 0.9rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.07em !important;
	text-transform: uppercase !important;
	line-height: 1.2 !important;
	width: auto;
}

/* On the single product, let the add-to-cart fill the row beside quantity. */
body.dt-theme .woocommerce div.product form.cart .single_add_to_cart_button {
	flex: 1 1 auto;
}

body.dt-theme .woocommerce .single_add_to_cart_button.disabled,
body.dt-theme .woocommerce .single_add_to_cart_button:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* Quantity + add-to-cart on one tidy row. */
body.dt-theme .woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.75rem;
}

body.dt-theme .woocommerce div.product form.cart.variations_form {
	display: block;
}

body.dt-theme .woocommerce div.product form.cart.variations_form .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.75rem;
	margin-top: 1rem;
}

body.dt-theme .woocommerce div.product form.cart .quantity {
	flex: 0 0 auto;
}

body.dt-theme .woocommerce .quantity .qty {
	height: 3.4rem !important;
	min-height: 3.4rem !important;
	width: 4.5rem !important;
	border: 2px solid var(--dt-black) !important;
	border-radius: 0 !important;
	text-align: center;
	font-weight: 700;
}

/* Out-of-stock flag */
body.dt-theme .woocommerce div.product p.stock.out-of-stock {
	color: var(--dt-red-text);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.85rem;
}

/* Product gallery thumbnails into a tidy even row. */
body.dt-theme .woocommerce div.product .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0.5rem;
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
}

body.dt-theme .woocommerce div.product .flex-control-thumbs li {
	margin: 0;
	width: auto;
}

body.dt-theme .woocommerce div.product .flex-control-thumbs img {
	opacity: 0.65;
	transition: opacity 0.15s ease;
	aspect-ratio: 1;
	object-fit: cover;
}

body.dt-theme .woocommerce div.product .flex-control-thumbs img.flex-active,
body.dt-theme .woocommerce div.product .flex-control-thumbs img:hover {
	opacity: 1;
}

/* Variation "Clear" link */
body.dt-theme .woocommerce div.product form.cart .reset_variations {
	display: inline-block;
	margin-left: 0.75rem;
	font-weight: 700;
	color: var(--dt-red-text);
}

/* --- Color swatches (progressive enhancement over the native select) --- */
.dt-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
	margin: 0.25rem 0 0.25rem;
	padding: 0;
	list-style: none;
}

.dt-swatch {
	width: 2.4rem;
	height: 2.4rem;
	padding: 0;
	border-radius: 50%;
	border: 2px solid rgba(10, 10, 10, 0.25);
	background-color: var(--dt-swatch, #ccc);
	background-clip: padding-box;
	cursor: pointer;
	position: relative;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.dt-swatch:hover {
	transform: translateY(-2px);
}

.dt-swatch.is-active {
	border-color: var(--dt-black);
	box-shadow: 0 0 0 2px var(--dt-white) inset, 0 0 0 4px var(--dt-black);
}

.dt-swatch:focus-visible {
	outline: 3px solid var(--dt-blue);
	outline-offset: 3px;
}

.dt-swatch--light {
	border-color: rgba(10, 10, 10, 0.4);
}

.dt-swatch__check {
	position: absolute;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	color: var(--dt-white);
	font-size: 1rem;
	line-height: 1;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.dt-swatch--light .dt-swatch__check {
	color: var(--dt-black);
	text-shadow: none;
}

.dt-swatch.is-active .dt-swatch__check {
	display: flex;
}

/* When swatches are active, visually hide the paired select but keep it
 * available to assistive tech and to WooCommerce's variation JS. */
.dt-has-swatches > select {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

/* --- Shop consistency polish (styles existing WooCommerce output only) --- */

/* Sale flash: only renders when a merchant has set a real sale price. Squared,
 * on-brand — never a fabricated badge. */
body.dt-theme .woocommerce span.onsale {
	min-height: 0;
	min-width: 0;
	margin: 0;
	padding: 0.3rem 0.6rem;
	top: 0.6rem;
	right: 0.6rem;
	left: auto;
	border-radius: 0;
	background: var(--dt-black);
	color: var(--dt-white);
	font-family: var(--dt-body);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	line-height: 1.2;
}

/* Star ratings use the brand orange (only shown when reviews exist). */
body.dt-theme .woocommerce .star-rating span::before,
body.dt-theme .woocommerce p.stars a::before {
	color: var(--dt-orange);
}

/* Visible keyboard focus on catalog product links and pagination. */
body.dt-theme .woocommerce ul.products li.product a:focus-visible,
body.dt-theme .woocommerce nav.woocommerce-pagination a:focus-visible {
	outline: 3px solid var(--dt-blue);
	outline-offset: 3px;
}

/* Pagination matches the theme's squared controls. */
body.dt-theme .woocommerce nav.woocommerce-pagination ul {
	border: 0;
	gap: 0.4rem;
	display: flex;
	flex-wrap: wrap;
}

body.dt-theme .woocommerce nav.woocommerce-pagination ul li {
	border: 0;
	margin: 0;
}

body.dt-theme .woocommerce nav.woocommerce-pagination ul li a,
body.dt-theme .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 2.75rem;
	min-height: 2.75rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.4rem 0.7rem;
	border: 2px solid var(--dt-black);
	border-radius: 0;
	font-weight: 800;
}

body.dt-theme .woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--dt-black);
	color: var(--dt-white);
}

/* ------------------------------------------------------------------
 * Motion preferences
 * ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.dt-marquee__track {
		animation: none;
		width: 100%;
		flex-wrap: wrap;
	}

	.dt-marquee__list[aria-hidden="true"] {
		display: none;
	}

	.dt-badge-svg {
		animation: none;
	}
}

/* ------------------------------------------------------------------
 * Product page — conversion polish (1.6.0)
 * ---------------------------------------------------------------- */

/* Reassurance strip under the add-to-cart button. */
body.dt-theme .woocommerce div.product .summary .dt-pdp-assurances {
	list-style: none;
	margin: 1.25rem 0 0;
	padding: 1rem 0 0;
	border-top: 1px solid #ddd6c8;
	display: grid;
	gap: 0.55rem 1.25rem;
}

@media (min-width: 30em) {
	body.dt-theme .woocommerce div.product .summary .dt-pdp-assurances {
		grid-template-columns: 1fr 1fr;
	}
}

.dt-pdp-assurances__item {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	margin: 0;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #2a2a2a;
}

.dt-pdp-assurances__item .dt-trust__icon {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	color: var(--dt-blue-deep);
}

/* Sticky buy bar. Hidden until main.js reveals it on scroll. */
.dt-buybar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	background: rgba( 255, 255, 255, 0.97 );
	border-top: 2px solid var(--dt-black);
	box-shadow: 0 -6px 22px rgba( 10, 10, 10, 0.14 );
	-webkit-backdrop-filter: blur( 6px );
	backdrop-filter: blur( 6px );
	transform: translateY( 100% );
	transition: transform 0.22s ease;
	padding-bottom: env( safe-area-inset-bottom );
}

.dt-buybar[hidden] {
	display: none;
}

body.dt-has-buybar .dt-buybar {
	transform: translateY( 0 );
}

.dt-buybar__inner {
	max-width: 80rem;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.6rem var(--dt-gutter);
}

.dt-buybar__info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.2;
}

.dt-buybar__title {
	font-weight: 800;
	font-size: 0.9rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 46vw;
}

.dt-buybar__price {
	font-size: 0.85rem;
	color: #3a3a3a;
}

.dt-buybar__price .amount,
.dt-buybar__price ins {
	font-weight: 800;
	text-decoration: none;
}

.dt-buybar__price del {
	opacity: 0.55;
	margin-right: 0.35rem;
}

.dt-buybar__cta {
	flex: 0 0 auto;
	min-height: 2.9rem;
	padding: 0.7rem 1.4rem;
	white-space: nowrap;
}

.dt-buybar__cta[aria-disabled="true"] {
	opacity: 0.55;
	pointer-events: none;
}

/* Keep the buy bar from covering the footer's last content on short pages. */
@media (max-width: 47.99em) {
	body.dt-has-buybar {
		scroll-padding-bottom: 5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dt-buybar {
		transition: none;
	}
}
