/*--------------------------------------------------------------
# WooCommerce Overrides
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Trust Bar (Service Promises)
--------------------------------------------------------------*/
.dm-trust-bar {
	border-bottom: 1px solid var(--border);
	padding: var(--s4) 0;
	background: var(--bg);
}

.dm-trust-bar__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--s4) var(--s5);
}

@media (min-width: 768px) {
	.dm-trust-bar__grid {
		grid-template-columns: repeat(4, 1fr);
		gap: var(--s5);
	}
}

.dm-trust-bar__item {
	display: flex;
	align-items: flex-start;
	gap: var(--s2);
}

.dm-trust-bar__icon {
	flex-shrink: 0;
	color: var(--text);
	opacity: 0.7;
	margin-top: 2px;
}

.dm-trust-bar__icon svg {
	display: block;
}

.dm-trust-bar__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dm-trust-bar__label {
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	letter-spacing: 0.01em;
}

.dm-trust-bar__sub {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.4;
}

@media (max-width: 479px) {
	.dm-trust-bar__grid {
		grid-template-columns: 1fr;
		gap: var(--s3);
	}
}

/*--------------------------------------------------------------
# Section Header (Enhanced – Eyebrow + Title + Link)
--------------------------------------------------------------*/
.dm-section-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--s3);
	margin-bottom: var(--s5);
}

.dm-section-header__left {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dm-section-header__eyebrow {
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--muted);
}

.dm-section-header__title {
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: var(--text);
	margin: 0;
}

.dm-section-header__subtitle {
	font-size: 15px;
	color: var(--muted);
	margin: var(--s1) 0 0;
	max-width: 50ch;
}

.dm-section-header__link {
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
	text-decoration: none;
	border-bottom: 1px solid var(--text);
	padding-bottom: 2px;
	transition: opacity 0.2s ease;
	white-space: nowrap;
}

.dm-section-header__link:hover {
	opacity: 0.7;
}

/*--------------------------------------------------------------
# Shop Section Header (banner variant)
--------------------------------------------------------------*/
.dm-shop-section-header {
	margin: var(--s7) 0 var(--s5);
}

.dm-shop-section-header__banner {
	margin-bottom: var(--s4);
	overflow: hidden;
}

.dm-shop-section-header__banner img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.4s ease;
}

.dm-shop-section-header__banner a:hover img {
	transform: scale(1.02);
}

.dm-shop-section-header__title {
	font-size: clamp(22px, 2.6vw, 34px);
	font-weight: 700;
	line-height: 1.15;
	margin: 0 0 var(--s4);
}

/*--------------------------------------------------------------
# Shop Category Strip (Sportiq-style horizontal row)
--------------------------------------------------------------*/
.dm-shop-category-strip {
	margin: var(--s5) 0;
	padding: 0 0 var(--s5);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.dm-shop-category-strip__track {
	display: flex;
	flex-wrap: nowrap;
	gap: var(--s4);
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	padding-bottom: var(--s2);
}

.dm-shop-category-strip__track::-webkit-scrollbar {
	height: 4px;
}

.dm-shop-category-strip__track::-webkit-scrollbar-thumb {
	background: rgba(0, 0, 0, 0.15);
	border-radius: 2px;
}

.dm-shop-category-strip__card {
	flex: 0 0 auto;
	width: 150px;
	scroll-snap-align: start;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	gap: var(--s2);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.dm-shop-category-strip__card:hover {
	transform: translateY(-2px);
	opacity: 0.9;
}

.dm-shop-category-strip__image {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--soft);
}

.dm-shop-category-strip__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.dm-shop-category-strip__card:hover .dm-shop-category-strip__image img {
	transform: scale(1.05);
}

.dm-shop-category-strip__placeholder {
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.06);
}

.dm-shop-category-strip__body {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.dm-shop-category-strip__name {
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--text);
}

.dm-shop-category-strip__count {
	font-size: 13px;
	color: var(--muted);
	margin-top: 2px;
}

@media (min-width: 600px) {
	.dm-shop-category-strip__card {
		width: 170px;
	}
}

@media (min-width: 900px) {
	.dm-shop-category-strip__track {
		flex-wrap: nowrap;
		overflow-x: visible;
		scroll-snap-type: none;
		justify-content: space-between;
	}

	.dm-shop-category-strip__card {
		width: 0;
		flex: 1 1 0%;
		max-width: 220px;
		scroll-snap-align: none;
	}
}

/*--------------------------------------------------------------
# Bestsellers Section
--------------------------------------------------------------*/
.dm-shop-bestsellers {
	padding: var(--s7) 0;
}

.dm-shop-bestsellers__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--s6) var(--s4);
}

@media (min-width: 600px) {
	.dm-shop-bestsellers__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--s7) var(--s5);
	}
}

@media (min-width: 900px) {
	.dm-shop-bestsellers__grid {
		grid-template-columns: repeat(4, 1fr);
		gap: var(--s8) var(--s6);
	}
}

.dm-shop-bestsellers__item {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	gap: var(--s2);
	transition: transform 0.2s ease;
}

.dm-shop-bestsellers__item:hover {
	transform: translateY(-3px);
}

.dm-shop-bestsellers__image {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--soft);
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.dm-shop-bestsellers__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.dm-shop-bestsellers__item:hover .dm-shop-bestsellers__image img {
	transform: scale(1.04);
}

.dm-shop-bestsellers__badge {
	position: absolute;
	top: var(--s2);
	left: var(--s2);
	z-index: 2;
	background: var(--accent);
	color: #fff;
	padding: 3px 8px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.dm-shop-bestsellers__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dm-shop-bestsellers__cat {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--muted);
	line-height: 1.4;
}

.dm-shop-bestsellers__name {
	font-size: 15px;
	font-weight: 500;
	color: var(--text);
	line-height: 1.4;
	transition: color 0.2s ease;
}

.dm-shop-bestsellers__item:hover .dm-shop-bestsellers__name {
	color: var(--accent);
}

.dm-shop-bestsellers__price {
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
	margin-top: 2px;
}

.dm-shop-bestsellers__price del {
	color: var(--muted);
	font-size: 12px;
	margin-right: 4px;
}

.dm-shop-bestsellers__price ins {
	text-decoration: none;
	color: var(--accent);
	font-weight: 600;
}

/*--------------------------------------------------------------
# Newsletter CTA (Mid-page)
--------------------------------------------------------------*/
.dm-shop-newsletter {
	padding: var(--s8) 0;
	background: var(--soft);
	margin: var(--s7) 0;
}

.dm-shop-newsletter__inner {
	max-width: 640px;
	margin: 0 auto;
	text-align: center;
}

.dm-shop-newsletter__title {
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 700;
	color: var(--text);
	margin: 0 0 var(--s2);
	letter-spacing: -0.01em;
}

.dm-shop-newsletter__text {
	font-size: 15px;
	line-height: 1.7;
	color: var(--muted);
	margin: 0 0 var(--s2);
}

.dm-shop-newsletter__promo {
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	margin: 0 0 var(--s5);
}

.dm-shop-newsletter__message {
	padding: var(--s4) var(--s5);
	border-radius: var(--r2);
	font-size: 15px;
	margin: 0 0 var(--s4);
}

.dm-shop-newsletter__message--success {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #166534;
}

.dm-shop-newsletter__message--info {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1e40af;
}

.dm-shop-newsletter__message--error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #991b1b;
}

.dm-shop-newsletter__form {
	width: 100%;
}

.dm-shop-newsletter__input-wrap {
	display: flex;
	border: 1px solid var(--border);
	background: #fff;
	overflow: hidden;
}

.dm-shop-newsletter__input-wrap input {
	flex: 1;
	padding: 14px 18px;
	border: 0;
	font-size: 15px;
	color: var(--text);
	background: transparent;
	outline: none;
	font-family: var(--font);
	min-width: 0;
}

.dm-shop-newsletter__input-wrap input::placeholder {
	color: var(--muted);
}

.dm-shop-newsletter__btn {
	padding: 14px 28px;
	border: 0;
	background: var(--accent);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	font-family: var(--font);
	text-transform: uppercase;
	letter-spacing: 0.05em;
	transition: opacity 0.2s ease;
	white-space: nowrap;
}

.dm-shop-newsletter__btn:hover {
	opacity: 0.85;
}

.dm-shop-newsletter__privacy {
	font-size: 12px;
	color: var(--muted);
	margin: var(--s2) 0 0;
}

.dm-shop-newsletter__privacy a {
	color: var(--text);
	text-decoration: underline;
}

@media (max-width: 599px) {
	.dm-shop-newsletter__input-wrap {
		flex-direction: column;
	}

	.dm-shop-newsletter__btn {
		border-top: 1px solid var(--border);
	}
}

/*--------------------------------------------------------------
# Testimonial / Customer Quote
--------------------------------------------------------------*/
.dm-shop-testimonial {
	padding: var(--s8) 0;
	margin: var(--s5) 0 0;
}

.dm-shop-testimonial__inner {
	max-width: 740px;
	margin: 0 auto;
	text-align: center;
}

.dm-shop-testimonial__quote-icon {
	margin-bottom: var(--s3);
	color: var(--text);
}

.dm-shop-testimonial__quote-icon svg {
	display: inline-block;
}

.dm-shop-testimonial__blockquote {
	margin: 0;
	padding: 0;
}

.dm-shop-testimonial__text {
	font-size: clamp(18px, 2.5vw, 24px);
	font-weight: 500;
	line-height: 1.65;
	color: var(--text);
	margin: 0 0 var(--s4);
	font-style: normal;
}

.dm-shop-testimonial__footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
}

.dm-shop-testimonial__name {
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
	font-style: normal;
}

.dm-shop-testimonial__role {
	font-size: 14px;
	color: var(--muted);
}

/*--------------------------------------------------------------
# Shop Layout HHV (Section Spacing & Polish)
--------------------------------------------------------------*/
.dm-shop-layout-hhv {
	/* no bottom padding: last section (e.g. blog) sits flush against footer */
}

.dm-shop-layout-hhv > section,
.dm-shop-layout-hhv > .dm-shop-section-header {
	/* Consistent vertical rhythm between sections */
}

/* Section: New In */
.dm-shop-new-in {
	padding: var(--s6) 0;
}

.dm-shop-new-in__title {
	font-size: clamp(22px, 2.6vw, 34px);
	font-weight: 700;
	margin: 0 0 var(--s5);
	letter-spacing: -0.01em;
}

/* Section: Banner */
.dm-shop-banner-section {
	padding: var(--s5) 0;
}

.dm-shop-banner-section__title {
	font-size: clamp(22px, 2.6vw, 34px);
	font-weight: 700;
	margin: 0 0 var(--s4);
	letter-spacing: -0.01em;
}

.dm-shop-banner-section__banner {
	overflow: hidden;
	margin-bottom: var(--s5);
}

.dm-shop-banner-section__banner img {
	width: 100%;
	height: auto;
	display: block;
	transition: transform 0.4s ease;
}

.dm-shop-banner-section__banner a:hover img {
	transform: scale(1.02);
}

.dm-shop-banner-section__slider {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
	margin: 0 calc(var(--gutter) * -1);
	padding: 0 var(--gutter);
}

.dm-shop-banner-section__track {
	display: flex;
	gap: var(--s4);
	padding-bottom: var(--s2);
}

.dm-shop-banner-section__item {
	flex: 0 0 auto;
	width: 160px;
	scroll-snap-align: start;
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	gap: var(--s2);
	transition: transform 0.2s ease;
}

.dm-shop-banner-section__item:hover {
	transform: translateY(-2px);
}

@media (min-width: 600px) {
	.dm-shop-banner-section__item {
		width: 180px;
	}
}

@media (min-width: 900px) {
	.dm-shop-banner-section__item {
		width: 200px;
	}

	.dm-shop-banner-section__slider {
		overflow-x: visible;
		margin: 0;
		padding: 0;
	}

	.dm-shop-banner-section__track {
		flex-wrap: wrap;
	}

	.dm-shop-banner-section__item {
		width: calc((100% - (3 * var(--s4))) / 4);
		flex: 0 0 auto;
	}
}

.dm-shop-banner-section__image {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--soft);
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.dm-shop-banner-section__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.dm-shop-banner-section__item:hover .dm-shop-banner-section__image img {
	transform: scale(1.04);
}

.dm-shop-banner-section__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dm-shop-banner-section__name {
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
	line-height: 1.4;
}

.dm-shop-banner-section__price {
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
}

.dm-shop-banner-section__price del {
	color: var(--muted);
	font-size: 12px;
}

.dm-shop-banner-section__price ins {
	text-decoration: none;
	color: var(--accent);
	font-weight: 600;
}

.dm-shop-banner-section__more {
	margin-top: var(--s5);
	text-align: center;
}

.dm-shop-banner-section__more-link {
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
	text-decoration: none;
	border-bottom: 1px solid var(--text);
	padding-bottom: 2px;
	transition: opacity 0.2s ease;
}

.dm-shop-banner-section__more-link:hover {
	opacity: 0.7;
}

/* Section: Category Grid Asymmetric */
.dm-shop-category-grid-asymmetric {
	padding: var(--s5) 0;
}

.dm-shop-category-grid-asymmetric__large {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--s4);
	margin-bottom: var(--s4);
}

.dm-shop-category-grid-asymmetric__small {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--s4);
}

@media (max-width: 599px) {
	.dm-shop-category-grid-asymmetric__large {
		grid-template-columns: 1fr;
	}

	.dm-shop-category-grid-asymmetric__small {
		grid-template-columns: repeat(2, 1fr);
	}
}

.dm-shop-category-grid-asymmetric__item {
	display: flex;
	flex-direction: column;
	gap: 0;
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease;
}

.dm-shop-category-grid-asymmetric__item:hover {
	transform: translateY(-2px);
}

.dm-shop-category-grid-asymmetric__image {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.dm-shop-category-grid-asymmetric__item--large .dm-shop-category-grid-asymmetric__image {
	aspect-ratio: 16 / 9;
}

.dm-shop-category-grid-asymmetric__image img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	transition: transform 0.4s ease;
}

.dm-shop-category-grid-asymmetric__item:hover .dm-shop-category-grid-asymmetric__image img {
	transform: scale(1.04);
}

.dm-shop-category-grid-asymmetric__name {
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* Section: New In – Grid & Slider polish */
.dm-shop-new-in__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--s6) var(--s4);
}

@media (min-width: 600px) {
	.dm-shop-new-in__grid {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--s7) var(--s5);
	}
}

.dm-shop-new-in__item {
	display: flex;
	flex-direction: column;
	gap: var(--s2);
	text-decoration: none;
	color: inherit;
	transition: transform 0.2s ease;
}

.dm-shop-new-in__item:hover {
	transform: translateY(-2px);
}

.dm-shop-new-in__image {
	position: relative;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	background: var(--soft);
	border: 1px solid rgba(0, 0, 0, 0.06);
}

.dm-shop-new-in__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.dm-shop-new-in__item:hover .dm-shop-new-in__image img {
	transform: scale(1.04);
}

.dm-shop-new-in__meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dm-shop-new-in__brand {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--muted);
}

.dm-shop-new-in__name {
	font-size: 15px;
	font-weight: 500;
	color: var(--text);
	line-height: 1.4;
}

.dm-shop-new-in__item:hover .dm-shop-new-in__name {
	color: var(--accent);
}

.dm-shop-new-in__price {
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
}

.dm-shop-new-in__price del {
	color: var(--muted);
	font-size: 12px;
}

.dm-shop-new-in__price ins {
	text-decoration: none;
	color: var(--accent);
	font-weight: 600;
}

/* Slider (mobile) */
.dm-shop-new-in__slider {
	display: none;
}

@media (max-width: 599px) {
	.dm-shop-new-in__grid {
		display: none;
	}

	.dm-shop-new-in__slider {
		display: block;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		margin: 0 calc(var(--gutter) * -1);
		padding: 0 var(--gutter);
	}

	.dm-shop-new-in__slider-track {
		display: flex;
		gap: var(--s3);
	}

	.dm-shop-new-in__slider-slide {
		flex: 0 0 70%;
		scroll-snap-align: start;
	}
}

/*
 * Blog Posts styles → moved to pages/shop-layout-hhv.css
 * (that file loads AFTER this one and has the authoritative styles)
 */

/* ── Flush to footer: zero out all spacing below blog ─────────── */
.dm-shop-layout-hhv {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}
#primary.dm-shop,
main.dm-shop {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}
/* Footer directly after shop: no gap */
.site-footer {
	margin-top: 0 !important;
}
.woocommerce .site-footer {
	border-top: 0;
}

/* Shop Tabs (Brands) */
.dm-shop-tabs {
	padding: var(--s4) 0;
	border-bottom: 1px solid var(--border);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.dm-shop-tabs__container {
	display: flex;
	gap: var(--s4);
	align-items: center;
	min-width: max-content;
}

.dm-shop-tabs__tab {
	font-size: 14px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--muted);
	text-decoration: none;
	padding: var(--s1) 0;
	border-bottom: 2px solid transparent;
	transition: color 0.2s ease, border-color 0.2s ease;
	white-space: nowrap;
}

.dm-shop-tabs__tab:hover {
	color: var(--text);
}

.dm-shop-tabs__tab.is-active {
	color: var(--text);
	border-bottom-color: var(--accent);
	font-weight: 600;
}

/* Shop Grid */
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--s7) var(--s5);
	margin: var(--s7) 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 600px) and (max-width: 899px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(3, 1fr);
		gap: var(--s8) var(--s6);
	}
}

@media (min-width: 900px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(4, 1fr);
		gap: var(--s9) var(--s7);
	}
}

.woocommerce ul.products li.product {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
	transition: transform 0.3s ease;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-2px);
}

.woocommerce ul.products li.product a {
	display: block;
	color: inherit;
	text-decoration: none;
	position: relative;
}

.woocommerce ul.products li.product a:hover {
	text-decoration: none;
}

/* Product Image Container */
.woocommerce ul.products li.product a img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	display: block;
	background: var(--soft);
	border: 1px solid rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	border-radius: 0;
}

.woocommerce ul.products li.product:hover a img {
	border-color: rgba(0, 0, 0, 0.15);
	box-shadow: none;
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: var(--s3) 0 var(--s1);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.4;
	color: var(--text);
	transition: color 0.2s ease;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
	color: var(--accent);
}

/* Product Price */
.woocommerce ul.products li.product .price {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--text);
}

.woocommerce ul.products li.product .price del {
	color: var(--muted);
	font-size: 13px;
	margin-right: var(--s1);
}

.woocommerce ul.products li.product .price ins {
	text-decoration: none;
	color: var(--accent);
	font-weight: 600;
}

/* Sale Badge */
.woocommerce ul.products li.product .onsale {
	position: absolute;
	top: var(--s2);
	right: var(--s2);
	z-index: 2;
	background: var(--accent);
	color: #fff;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	border-radius: var(--r2);
}

/* Hide Add-to-Cart in Grid */
.woocommerce ul.products li.product .button {
	display: none !important;
}

/* Result Count & Ordering */
.woocommerce-result-count {
	font-size: 14px;
	color: var(--muted);
	margin: 0 0 var(--s5);
	font-weight: 500;
}

.woocommerce-ordering {
	margin: 0 0 var(--s5);
}

.woocommerce-ordering select {
	padding: 10px 14px;
	border: 1px solid var(--border);
	border-radius: var(--r2);
	font-size: 14px;
	color: var(--text);
	background: #fff;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.woocommerce-ordering select:hover,
.woocommerce-ordering select:focus {
	border-color: var(--accent);
	outline: none;
}

/* Before Shop Loop (Result Count + Ordering) */
.woocommerce-before-shop-loop {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: var(--s6);
	padding-bottom: var(--s4);
	border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
	.woocommerce-before-shop-loop {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--s3);
	}
}

/* Pagination */
.woocommerce-pagination {
	margin-top: var(--s8);
	padding-top: var(--s6);
	border-top: 1px solid var(--border);
}

.woocommerce-pagination ul.page-numbers {
	display: flex;
	justify-content: center;
	gap: var(--s2);
	list-style: none;
	padding: 0;
	margin: 0;
}

.woocommerce-pagination ul.page-numbers li {
	margin: 0;
}

.woocommerce-pagination ul.page-numbers a,
.woocommerce-pagination ul.page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 var(--s3);
	border: 1px solid var(--border);
	background: #fff;
	color: var(--text);
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	border-radius: var(--r2);
	transition: all 0.2s ease;
}

.woocommerce-pagination ul.page-numbers a:hover {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}

.woocommerce-pagination ul.page-numbers span.current {
	border-color: var(--accent);
	background: var(--accent);
	color: #fff;
}

/* Hide WooCommerce Shop Title */
.woocommerce .woocommerce-products-header__title.page-title,
.woocommerce-products-header__title.page-title {
	display: none;
}

/*--------------------------------------------------------------
# WooCommerce Notices (Messages, Errors, Info)
--------------------------------------------------------------*/
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	padding: var(--s4) var(--s5);
	margin-bottom: var(--s5);
	border-radius: var(--r2);
	font-size: 15px;
	line-height: 1.6;
	position: relative;
	border-left: 4px solid;
}

.woocommerce-message {
	background: #f0fdf4;
	border-left-color: #22c55e;
	color: #166534;
}

.woocommerce-info {
	background: #eff6ff;
	border-left-color: #3b82f6;
	color: #1e40af;
}

.woocommerce-error {
	background: #fef2f2;
	border-left-color: #ef4444;
	color: #991b1b;
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
	color: inherit;
	text-decoration: underline;
	font-weight: 600;
}

.woocommerce-message a:hover,
.woocommerce-info a:hover,
.woocommerce-error a:hover {
	opacity: 0.8;
}

.woocommerce-message::before,
.woocommerce-info::before {
	display: none;
}

/* Error List */
.woocommerce-error li {
	list-style: none;
	margin-bottom: var(--s2);
}

.woocommerce-error li:last-child {
	margin-bottom: 0;
}

.woocommerce-error ul {
	margin: 0;
	padding: 0;
}

/*--------------------------------------------------------------
# Single Product (PDP)
--------------------------------------------------------------*/

/* ──────────────────────────────────────────────────────────────
   SINGLE PRODUCT PAGE – Premium, modern layout
   ────────────────────────────────────────────────────────────── */

/* Breadcrumbs */
.dm-breadcrumbs {
	font-size: 13px;
	color: var(--muted);
	margin-bottom: var(--s5);
	line-height: 1.4;
}

.dm-breadcrumbs a {
	color: var(--muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.dm-breadcrumbs a:hover {
	color: var(--accent);
}

.dm-breadcrumbs__sep {
	margin: 0 6px;
	opacity: 0.5;
}

.dm-breadcrumbs__current {
	color: var(--text);
	font-weight: 500;
}

/* Single-product wrapper (gleiches Schema wie Cart/Checkout) */
.dm-single-product-wrap {
	padding: var(--s7) 0;
	margin-bottom: 0;
}

/* Bewertungsfunktion ausgeblendet */
.single-product .woocommerce-product-rating {
	display: none !important;
}

/* Product layout: 2-column grid */
.single-product .product {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s6);
	margin-bottom: 0;
}

@media (min-width: 900px) {
	.single-product .product {
		grid-template-columns: 55% 1fr;
		gap: var(--s8);
		align-items: start;
	}
}

/* Gallery – sticky on desktop */
.single-product .woocommerce-product-gallery {
	position: relative;
	margin-bottom: 0;
}

@media (min-width: 900px) {
	.single-product .woocommerce-product-gallery {
		position: sticky;
		top: 24px;
		align-self: start;
	}
}

.single-product .woocommerce-product-gallery__wrapper {
	margin: 0;
}

.single-product .woocommerce-product-gallery__image {
	margin-bottom: 8px;
}

.single-product .woocommerce-product-gallery img {
	width: 100%;
	height: auto;
	display: block;
	border: none;
	border-radius: 6px;
	background: #f5f5f3;
}

/* Sale badge on gallery */
.single-product .onsale {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 5;
	background: var(--accent);
	color: #fff;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	border-radius: 4px;
	line-height: 1;
}

/* Thumbnails */
.single-product .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.single-product .flex-control-thumbs li {
	margin: 0;
	cursor: pointer;
}

.single-product .flex-control-thumbs li img {
	border: 2px solid transparent;
	border-radius: 4px;
	transition: border-color 0.2s ease, opacity 0.2s ease;
	opacity: 0.55;
	background: #f5f5f3;
}

.single-product .flex-control-thumbs li img:hover,
.single-product .flex-control-thumbs li.flex-active img {
	border-color: var(--text);
	opacity: 1;
}

/* ── Summary ────────────────────────────────── */
.single-product .summary {
	min-width: 0;
	padding-top: 4px;
}

/* Brand */
.dm-product-brand {
	margin-bottom: 6px;
}

.dm-product-brand a {
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted);
	text-decoration: none;
	transition: color 0.2s ease;
}

.dm-product-brand a:hover {
	color: var(--accent);
}

/* Title */
.single-product .product_title {
	font-size: clamp(26px, 3.5vw, 40px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin: 0 0 var(--s4);
	color: var(--text);
}

/* Price */
.single-product .price {
	font-size: 28px;
	font-weight: 700;
	color: var(--text);
	margin: 0 0 var(--s5);
	letter-spacing: -0.01em;
}

.single-product .price del {
	color: var(--muted);
	font-size: 22px;
	margin-right: 8px;
	font-weight: 400;
}

.single-product .price ins {
	text-decoration: none;
	color: var(--accent);
}

/* Short Description */
.single-product .woocommerce-product-details__short-description {
	font-size: 15px;
	line-height: 1.7;
	color: var(--text);
	opacity: 0.9;
	margin-bottom: var(--s6);
	padding-bottom: var(--s6);
	border-bottom: 1px solid var(--border);
}

/* ── Add to Cart ────────────────────────────── */
.single-product form.cart {
	margin-bottom: var(--s6);
	display: flex;
	flex-wrap: wrap;
	gap: var(--s4);
	align-items: center;
}

.single-product form.cart .quantity {
	display: flex;
	align-items: center;
	border: 2px solid var(--border);
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.single-product form.cart .quantity input.qty {
	width: 72px;
	padding: 14px 10px;
	border: 0;
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
	background: transparent;
	-moz-appearance: textfield;
}

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

.single-product form.cart .quantity input.qty:focus {
	outline: none;
}

/* Add to Cart Button – full black, premium */
.single-product form.cart .single_add_to_cart_button {
	flex: 1;
	min-width: 200px;
	padding: 16px 32px;
	background: var(--text, #111);
	color: #fff;
	border: 2px solid var(--text, #111);
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	cursor: pointer;
	transition: all 0.25s ease;
	text-align: center;
	text-decoration: none;
	line-height: 1.4;
	text-transform: uppercase;
}

.single-product form.cart .single_add_to_cart_button:hover {
	background: transparent;
	color: var(--text, #111);
}

.single-product form.cart .single_add_to_cart_button.disabled {
	background: var(--border);
	border-color: var(--border);
	color: var(--muted);
	cursor: not-allowed;
}

/* ── Trust Badges ───────────────────────────── */
.dm-product-trust {
	display: flex;
	flex-direction: column;
	gap: var(--s3);
	padding: var(--s5) 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
	margin-bottom: var(--s5);
}

.dm-product-trust__item {
	display: flex;
	align-items: center;
	gap: var(--s3);
	font-size: 13px;
	font-weight: 500;
	color: var(--text);
}

.dm-product-trust__item svg {
	flex-shrink: 0;
	color: var(--muted);
}

/* ── Delivery Estimate ──────────────────────── */
.dm-product-delivery {
	display: flex;
	align-items: center;
	gap: var(--s3);
	padding: var(--s4) var(--s5);
	background: var(--soft);
	border: 1px solid var(--border);
	border-radius: var(--r2);
	font-size: 14px;
	color: var(--text);
	margin-bottom: var(--s6);
}

.dm-product-delivery svg {
	flex-shrink: 0;
	color: var(--text);
}

/* ── Product Meta ───────────────────────────── */
.single-product .product_meta {
	padding: var(--s5) 0;
	font-size: 13px;
	color: var(--muted);
	line-height: 1.8;
}

.single-product .product_meta > span {
	display: block;
	margin-bottom: 2px;
}

.single-product .product_meta a {
	color: var(--text);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.single-product .product_meta a:hover {
	color: var(--accent);
	text-decoration: underline;
}

/* ── Tabs ───────────────────────────────────── */
.single-product .woocommerce-tabs {
	grid-column: 1 / -1;
	margin-top: var(--s8);
	border-top: 1px solid var(--border);
	padding-top: var(--s7);
}

.single-product .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 0;
	list-style: none;
	padding: 0;
	margin: 0 0 var(--s6);
	border-bottom: 1px solid var(--border);
}

.single-product .woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
	position: relative;
}

.single-product .woocommerce-tabs ul.tabs li a {
	display: block;
	padding: 12px 24px;
	color: var(--muted);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	transition: color 0.2s ease;
	white-space: nowrap;
}

.single-product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--text);
}

.single-product .woocommerce-tabs ul.tabs li.active a {
	color: var(--text);
}

.single-product .woocommerce-tabs ul.tabs li.active::after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--text);
}

.single-product .woocommerce-tabs .panel {
	font-size: 15px;
	line-height: 1.75;
	color: var(--text);
	max-width: 780px;
}

.single-product .woocommerce-tabs .panel h2 {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 20px;
	color: var(--text);
}

.single-product .woocommerce-tabs .panel p {
	margin-bottom: 16px;
}

/* ── Related Products ───────────────────────── */
.single-product .related.products {
	grid-column: 1 / -1;
	margin-top: var(--s8);
	padding-top: var(--s8);
	border-top: 1px solid var(--border);
}

.single-product .related.products > h2 {
	font-size: clamp(22px, 2.5vw, 30px);
	font-weight: 700;
	margin: 0 0 var(--s6);
	color: var(--text);
	letter-spacing: -0.01em;
}

/* Up-sells */
.single-product .upsells.products {
	grid-column: 1 / -1;
	margin-top: var(--s8);
	padding-top: var(--s8);
	border-top: 1px solid var(--border);
}

.single-product .upsells.products > h2 {
	font-size: clamp(22px, 2.5vw, 30px);
	font-weight: 700;
	margin: 0 0 var(--s6);
	color: var(--text);
}

/* ── Variations ─────────────────────────────── */
.single-product .variations {
	margin-bottom: 20px;
	border-collapse: collapse;
	width: 100%;
}

.single-product .variations tr {
	border-bottom: 1px solid var(--border);
}

.single-product .variations td {
	padding: 12px 0;
	vertical-align: middle;
}

.single-product .variations td.label {
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--text);
	padding-right: 16px;
	width: 110px;
}

.single-product .variations td.value select {
	width: 100%;
	max-width: 280px;
	padding: 12px 14px;
	border: 2px solid var(--border);
	border-radius: 6px;
	font-size: 15px;
	color: var(--text);
	background: #fff;
	transition: border-color 0.2s ease;
}

.single-product .variations td.value select:focus {
	outline: none;
	border-color: var(--text);
}

.single-product .reset_variations {
	margin-left: 8px;
	color: var(--muted);
	text-decoration: underline;
	font-size: 13px;
	cursor: pointer;
}

.single-product .reset_variations:hover {
	color: var(--accent);
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 899px) {
	.dm-single-product-wrap {
		padding: var(--s5) 0;
	}

	.single-product form.cart {
		flex-direction: column;
		align-items: stretch;
	}

	.single-product form.cart .quantity {
		justify-content: center;
	}

	.single-product form.cart .single_add_to_cart_button {
		width: 100%;
		min-width: 0;
	}

	.single-product .woocommerce-tabs ul.tabs {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		gap: 0;
	}

	.single-product .woocommerce-tabs ul.tabs::-webkit-scrollbar {
		display: none;
	}

	.single-product .woocommerce-tabs ul.tabs li a {
		padding: 10px 16px;
		font-size: 13px;
	}

	.single-product .flex-control-thumbs {
		grid-template-columns: repeat(4, 1fr);
	}

	.single-product .variations td.label {
		display: block;
		width: 100%;
		padding-bottom: 4px;
	}

	.single-product .variations td.value {
		display: block;
		width: 100%;
	}

	.single-product .variations td.value select {
		max-width: 100%;
	}
}

