/*--------------------------------------------------------------
# HHV-inspired Shop Layout Styles
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Section Header
--------------------------------------------------------------*/
.dm-shop-section-header {
	margin-bottom: var(--s6);
}

.dm-shop-section-header__banner {
	width: 100%;
	margin-bottom: var(--s4);
	border-radius: 0;
	overflow: hidden;
	background: var(--soft);
}

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

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

.dm-shop-section-header__title {
	font-size: clamp(24px, 4vw, 36px);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	margin: 0;
	color: var(--text);
	text-align: left;
}

@media (min-width: 900px) {
	.dm-shop-section-header {
		margin-bottom: var(--s7);
	}
	
	.dm-shop-section-header__banner {
		margin-bottom: var(--s5);
	}
}

/*--------------------------------------------------------------
# Shop Tabs Navigation
--------------------------------------------------------------*/
.dm-shop-tabs {
	width: 100%;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	margin-bottom: var(--s5);
}

.dm-shop-tabs__container {
	display: flex;
	gap: 0;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.dm-shop-tabs__container::-webkit-scrollbar {
	display: none;
}

.dm-shop-tabs__tab {
	display: inline-flex;
	align-items: center;
	padding: var(--s4) var(--s6);
	font-size: 14px;
	font-weight: 500;
	color: var(--text);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	white-space: nowrap;
	transition: all 0.2s ease;
	position: relative;
}

.dm-shop-tabs__tab:hover {
	color: var(--accent);
	text-decoration: none;
	opacity: 0.8;
}

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

@media (max-width: 600px) {
	.dm-shop-tabs__tab {
		padding: var(--s3) var(--s4);
		font-size: 13px;
	}
}

/*--------------------------------------------------------------
# Shop Banner Section (Title + Banner Image + Product Slider)
--------------------------------------------------------------*/
.dm-shop-banner-section {
	padding: var(--s6) 0 var(--s8);
	margin-bottom: var(--s7);
}

.dm-shop-banner-section__title {
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 0 var(--s6);
	color: var(--text);
	text-align: center;
}

.dm-shop-banner-section__banner {
	width: 100%;
	margin-bottom: var(--s6);
	border-radius: 0;
	overflow: hidden;
}

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

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

.dm-shop-banner-section__slider {
	position: relative;
	overflow: hidden;
	margin-bottom: var(--s6);
}

.dm-shop-banner-section__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc(50% - var(--s3));
	gap: var(--s5);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 0 var(--gutter);
}

.dm-shop-banner-section__track::-webkit-scrollbar {
	display: none;
}

.dm-shop-banner-section__item {
	scroll-snap-align: start;
	min-width: 0;
	width: 100%;
	color: inherit;
	text-decoration: none;
	display: block;
	transition: opacity 0.2s ease;
}

.dm-shop-banner-section__item:hover {
	text-decoration: none;
	opacity: 0.85;
}

.dm-shop-banner-section__image {
	width: 100%;
	margin-bottom: var(--s3);
}

.dm-shop-banner-section__image 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);
	border-radius: 0;
}

.dm-shop-banner-section__meta {
	text-align: center;
}

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

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

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

.dm-shop-banner-section__more-link {
	display: inline-flex;
	align-items: center;
	gap: var(--s2);
	padding: var(--s3) var(--s5);
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	text-decoration: none;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 0;
	transition: all 0.2s ease;
}

.dm-shop-banner-section__more-link:hover {
	background: var(--accent);
	color: #ffffff;
	border-color: var(--accent);
	text-decoration: none;
}

@media (min-width: 600px) {
	.dm-shop-banner-section__track {
		grid-auto-columns: calc(33.333% - var(--s4));
		gap: var(--s6);
	}
}

@media (min-width: 900px) {
	.dm-shop-banner-section__track {
		grid-auto-columns: calc(25% - var(--s5));
		gap: var(--s7);
	}
	
	.dm-shop-banner-section__title {
		margin-bottom: var(--s7);
	}
	
	.dm-shop-banner-section__banner {
		margin-bottom: var(--s8);
	}
}

/*--------------------------------------------------------------
# Asymmetric Category Grid (2 large + 3 small)
--------------------------------------------------------------*/
.dm-shop-category-grid-asymmetric {
	padding: var(--s5) 0;
	margin-bottom: var(--s6);
}

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

@media (min-width: 600px) {
	.dm-shop-category-grid-asymmetric__large {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--s6);
	}
}

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

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

.dm-shop-category-grid-asymmetric__item {
	color: inherit;
	text-decoration: none;
	border: 1px solid rgba(0, 0, 0, 0.08);
	transition: opacity 0.2s ease, border-color 0.2s ease;
	display: block;
	overflow: hidden;
}

.dm-shop-category-grid-asymmetric__item:hover {
	text-decoration: none;
	opacity: 0.85;
	border-color: rgba(0, 0, 0, 0.15);
}

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

.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%;
	display: block;
	margin: 0;
	padding: 0;
	object-fit: cover;
	object-position: center;
	transition: transform 0.3s ease;
}

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

.dm-shop-category-grid-asymmetric__name {
	margin-top: var(--s4);
	padding: 0 var(--s4) var(--s4);
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
	text-align: center;
}

.dm-shop-category-grid-asymmetric__item--large .dm-shop-category-grid-asymmetric__name {
	font-size: 18px;
	padding: 0 var(--s5) var(--s5);
}

@media (max-width: 599px) {
	.dm-shop-category-grid-asymmetric__large {
		margin-bottom: var(--s4);
	}
	
	.dm-shop-category-grid-asymmetric__small {
		grid-template-columns: 1fr;
	}
	
	.dm-shop-category-grid-asymmetric__item--large .dm-shop-category-grid-asymmetric__image,
	.dm-shop-category-grid-asymmetric__item--small .dm-shop-category-grid-asymmetric__image {
		aspect-ratio: 4 / 3;
	}
	
	.dm-shop-category-grid-asymmetric__name {
		font-size: 15px;
	}
	
	.dm-shop-category-grid-asymmetric__item--large .dm-shop-category-grid-asymmetric__name {
		font-size: 16px;
	}
}

/*--------------------------------------------------------------
# Layout Container
--------------------------------------------------------------*/
.dm-shop-layout-hhv {
	width: 100%;
}

.dm-shop-layout-hhv .dm-shell {
	padding: var(--s5) var(--gutter);
}

/* Blog section overrides the generic layout padding */
.dm-shop-layout-hhv .dm-shop-blog-posts .dm-shell {
	padding: 0 var(--gutter);
}

@media (max-width: 768px) {
	.dm-shop-layout-hhv .dm-shell {
		padding: var(--s4) var(--gutter);
	}
	
	.dm-shop-layout-hhv .dm-shop-blog-posts .dm-shell {
		padding: 0 var(--gutter);
	}
}

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

.dm-shop-new-in__title {
	font-size: clamp(32px, 5vw, 48px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
	margin: 0 0 var(--s6);
	color: var(--text);
	text-align: left;
}

/* Desktop: Grid (2 rows x 3 columns) */
.dm-shop-new-in__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--s7) var(--s6);
}

.dm-shop-new-in__item {
	color: inherit;
	text-decoration: none;
	transition: opacity 0.2s ease;
	display: block;
}

.dm-shop-new-in__item:hover {
	text-decoration: none;
	opacity: 0.85;
}

.dm-shop-new-in__image {
	width: 100%;
	margin-bottom: var(--s3);
}

.dm-shop-new-in__image img {
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
	display: block;
	background: #ffffff;
	border: none;
	border-radius: 0;
}

.dm-shop-new-in__meta {
	text-align: center;
	margin-top: var(--s3);
}

.dm-shop-new-in__brand {
	font-size: 14px;
	font-weight: 500;
	margin: 0 0 4px;
	color: var(--text);
	line-height: 1.4;
}

.dm-shop-new-in__name {
	font-size: 13px;
	font-weight: 400;
	margin: 0 0 4px;
	color: var(--text);
	line-height: 1.4;
}

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

/* Mobile: Slider */
.dm-shop-new-in__slider {
	display: none;
	position: relative;
	overflow: hidden;
}

.dm-shop-new-in__slider-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc(100% - var(--gutter) * 2);
	gap: var(--s5);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding: 0 var(--gutter);
}

.dm-shop-new-in__slider-track::-webkit-scrollbar {
	display: none;
}

.dm-shop-new-in__slider-slide {
	scroll-snap-align: start;
	min-width: 0;
}

.dm-shop-new-in__slider .dm-shop-new-in__item {
	width: 100%;
}

.dm-shop-new-in__slider .dm-shop-new-in__image {
	margin-bottom: var(--s3);
}

.dm-shop-new-in__slider .dm-shop-new-in__meta {
	margin-top: var(--s3);
}

/* Responsive: Show Grid on Desktop, Slider on Mobile */
@media (max-width: 599px) {
	.dm-shop-new-in__grid {
		display: none;
	}
	
	.dm-shop-new-in__slider {
		display: block;
	}
	
	.dm-shop-new-in__title {
		font-size: clamp(28px, 6vw, 40px);
		margin-bottom: var(--s5);
	}
}

@media (min-width: 600px) {
	.dm-shop-new-in__slider {
		display: none;
	}
}

/*--------------------------------------------------------------
# Shop Blog Posts – flush against footer, dark background
--------------------------------------------------------------*/
.dm-shop-blog-posts {
	padding: 56px 0 64px;
	margin: 0;
	background: #e8e4df;
}

.dm-shop-blog-posts .dm-shell {
	padding: 0 var(--gutter);
}

.dm-shop-blog-posts__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s4);
	margin-bottom: 32px;
	flex-wrap: wrap;
}

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

.dm-shop-blog-posts__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

.dm-shop-blog-posts__item {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.dm-shop-blog-posts__item:hover {
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
	transform: translateY(-4px);
}

.dm-shop-blog-posts__link {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.dm-shop-blog-posts__image {
	width: 100%;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #ddd;
}

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

.dm-shop-blog-posts__item:hover .dm-shop-blog-posts__image img {
	transform: scale(1.06);
}

.dm-shop-blog-posts__content {
	padding: 20px 24px 24px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.dm-shop-blog-posts__category {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #fff;
	background: var(--accent, #111);
	padding: 3px 10px;
	border-radius: 3px;
	margin-bottom: 10px;
	align-self: flex-start;
}

.dm-shop-blog-posts__title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	margin: 0 0 8px;
	color: var(--text);
	transition: color 0.2s ease;
}

.dm-shop-blog-posts__item:hover .dm-shop-blog-posts__title {
	color: var(--accent, #111);
}

.dm-shop-blog-posts__excerpt {
	font-size: 14px;
	color: var(--muted, #888);
	line-height: 1.65;
	margin-top: 4px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.dm-shop-blog-posts__meta {
	font-size: 13px;
	color: var(--muted, #999);
	margin-top: auto;
	padding-top: 12px;
}

.dm-shop-blog-posts__more-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	text-decoration: none;
	padding: 10px 24px;
	border: 1.5px solid var(--text);
	border-radius: 999px;
	transition: background 0.25s ease, color 0.25s ease;
}

.dm-shop-blog-posts__more-link:hover {
	background: var(--text);
	color: #fff;
	text-decoration: none;
}

/* Single post: limit width */
.dm-shop-blog-posts__grid .dm-shop-blog-posts__item:only-child {
	max-width: 400px;
}

@media (min-width: 540px) {
	.dm-shop-blog-posts__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 960px) {
	.dm-shop-blog-posts__grid {
		grid-template-columns: repeat(3, 1fr);
	}
	
	.dm-shop-blog-posts__title {
		font-size: 20px;
	}
}

/*--------------------------------------------------------------
# Dynamic: Double Banner (two side-by-side)
--------------------------------------------------------------*/
.dm-shop-double-banner {
	padding: var(--s6) 0;
	margin-bottom: var(--s6);
}

.dm-shop-double-banner__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s5);
}

@media (min-width: 700px) {
	.dm-shop-double-banner__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--s6);
	}
}

.dm-shop-double-banner__item {
	position: relative;
	border-radius: 0;
	overflow: hidden;
	min-height: 200px;
}

.dm-shop-double-banner__image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 220px;
	background-size: cover;
	background-position: center;
	padding: var(--s6);
}

.dm-shop-double-banner__content {
	text-align: center;
}

.dm-shop-double-banner__content--no-image {
	padding: var(--s6);
	background: var(--soft);
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.dm-shop-double-banner__eyebrow {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted);
	margin-bottom: var(--s2);
}

.dm-shop-double-banner__headline {
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 var(--s4);
	color: var(--text);
}

.dm-shop-double-banner__cta {
	display: inline-block;
	padding: var(--s3) var(--s5);
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	text-decoration: none;
	border: 1.5px solid var(--text);
	transition: background 0.2s ease, color 0.2s ease;
}

.dm-shop-double-banner__cta:hover {
	background: var(--text);
	color: #fff;
	text-decoration: none;
}

/*--------------------------------------------------------------
# Dynamic: Featured Product (Shop the Look)
--------------------------------------------------------------*/
.dm-shop-featured-product {
	padding: var(--s7) 0;
	margin-bottom: var(--s6);
	background: var(--soft);
}

.dm-shop-featured-product__inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--s6);
	align-items: center;
}

@media (min-width: 800px) {
	.dm-shop-featured-product__inner {
		grid-template-columns: 1fr 1fr;
		gap: var(--s8);
	}
}

.dm-shop-featured-product__eyebrow {
	display: block;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--muted);
	margin-bottom: var(--s2);
}

.dm-shop-featured-product__title {
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 var(--s3);
}

.dm-shop-featured-product__title a {
	color: var(--text);
	text-decoration: none;
}

.dm-shop-featured-product__title a:hover {
	color: var(--accent);
}

.dm-shop-featured-product__price {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: var(--s5);
	color: var(--text);
}

.dm-shop-featured-product__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s4);
}

.dm-shop-featured-product__btn {
	display: inline-block;
	padding: var(--s4) var(--s6);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	border: 1.5px solid var(--text);
	color: var(--text);
	transition: background 0.2s ease, color 0.2s ease;
}

.dm-shop-featured-product__btn:hover {
	background: var(--text);
	color: #fff;
	text-decoration: none;
}

.dm-shop-featured-product__btn--primary {
	background: var(--text);
	color: #fff;
	border-color: var(--text);
}

.dm-shop-featured-product__btn--primary:hover {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
}

.dm-shop-featured-product__image {
	width: 100%;
	overflow: hidden;
}

.dm-shop-featured-product__image img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 1;
	object-fit: cover;
}

.dm-shop-featured-product__image a:hover img {
	opacity: 0.9;
}

/*--------------------------------------------------------------
# Dynamic: Brand Logos Slider
--------------------------------------------------------------*/
.dm-shop-brand-logos {
	padding: var(--s6) 0;
	margin-bottom: var(--s6);
}

.dm-shop-brand-logos__title {
	font-size: clamp(20px, 2.5vw, 28px);
	font-weight: 700;
	text-align: center;
	margin: 0 0 var(--s5);
	color: var(--text);
}

.dm-shop-brand-logos__track {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: var(--s6);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	padding: var(--s4) 0;
}

.dm-shop-brand-logos__item {
	flex: 0 0 auto;
}

.dm-shop-brand-logos__link,
.dm-shop-brand-logos__img-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.7;
	transition: opacity 0.2s ease;
}

.dm-shop-brand-logos__link:hover,
.dm-shop-brand-logos__item:hover .dm-shop-brand-logos__img-wrap {
	opacity: 1;
}

.dm-shop-brand-logos__link img,
.dm-shop-brand-logos__img-wrap img {
	max-height: 48px;
	width: auto;
	object-fit: contain;
}

@media (min-width: 600px) {
	.dm-shop-brand-logos__link img,
	.dm-shop-brand-logos__img-wrap img {
		max-height: 56px;
	}
}

/* Category grid wrapper title (dynamic slot) */
.dm-shop-category-grid__title {
	font-size: clamp(24px, 3vw, 36px);
	font-weight: 700;
	margin: 0 0 var(--s5);
	color: var(--text);
}
