/**
 * DSK storefront homepage.
 * Deliberately editorial and asymmetric so it remains distinct from the
 * catalogue, cart, checkout, and other bundled theme templates.
 */

.dsk-home {
	--dsk-home-accent: #dba87f;
	--dsk-home-dark: #20201f;
	--dsk-home-ink: #282725;
	--dsk-home-muted: #77726d;
	--dsk-home-line: #e7e1da;
	--dsk-home-paper: #f6f2ed;
	background: #fff;
	clear: both;
	color: var(--dsk-home-ink);
	display: block;
	isolation: isolate;
	overflow: hidden;
	width: 100%;
}

.dsk-home *,
.dsk-home *::before,
.dsk-home *::after {
	box-sizing: border-box;
}

.dsk-home img {
	max-width: 100%;
}

/*
 * The legacy theme supports an optional 1860px container. Keep homepage
 * modules on their own predictable canvas so the grid cannot be stretched
 * by that global rule or by a floated page/sidebar layout.
 */
#sns_content.dsk-home .container {
	float: none;
	margin-left: auto;
	margin-right: auto;
	max-width: 1200px;
	padding-left: 15px;
	padding-right: 15px;
	width: calc(100% - 50px);
}

.dsk-home > section {
	clear: both;
	display: block;
	float: none;
	position: relative;
	width: 100%;
}

.dsk-home-kicker {
	color: var(--dsk-home-accent);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .18em;
	line-height: 1.4;
	margin: 0 0 13px;
	text-transform: uppercase;
}

.dsk-home-intro {
	border-bottom: 1px solid var(--dsk-home-line);
	padding: 70px 0 66px;
}

.dsk-home-intro__inner {
	align-items: end;
	display: grid;
	gap: 36px 70px;
	grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
}

.dsk-home-intro__inner > .dsk-home-kicker {
	grid-column: 1 / -1;
	margin-bottom: -18px;
}

.dsk-home-intro h1 {
	color: var(--dsk-home-ink);
	font-size: clamp(42px, 5.5vw, 74px);
	font-weight: 500;
	letter-spacing: -.045em;
	line-height: 1.02;
	margin: 0;
	max-width: 860px;
	text-transform: none;
}

.dsk-home-intro__aside {
	border-left: 1px solid var(--dsk-home-line);
	padding-left: 30px;
}

.dsk-home-intro__aside p {
	color: var(--dsk-home-muted);
	font-size: 14px;
	line-height: 1.8;
	margin: 0 0 18px;
}

.dsk-home-text-link {
	color: inherit;
	display: inline-flex;
	font-size: 11px;
	font-weight: 700;
	gap: 9px;
	letter-spacing: .09em;
	padding-bottom: 5px;
	position: relative;
	text-transform: uppercase;
}

.dsk-home-text-link::after {
	background: currentColor;
	bottom: 0;
	content: "";
	height: 1px;
	left: 0;
	position: absolute;
	transition: width .25s ease;
	width: 38%;
}

.dsk-home-text-link:hover,
.dsk-home-text-link:focus {
	color: var(--dsk-home-accent);
}

.dsk-home-text-link:hover::after,
.dsk-home-text-link:focus::after {
	width: 100%;
}

.dsk-home-section {
	padding: 100px 0;
}

.dsk-home-section__heading {
	align-items: end;
	display: flex;
	gap: 40px;
	justify-content: space-between;
	margin: 0 0 42px;
}

.dsk-home-section__heading h2,
.dsk-home-editorial__content h2,
.dsk-home-featured h2 {
	color: var(--dsk-home-ink);
	font-size: clamp(32px, 3.5vw, 50px);
	font-weight: 500;
	letter-spacing: -.035em;
	line-height: 1.08;
	margin: 0;
	text-transform: none;
}

.dsk-home-section__heading > p {
	color: var(--dsk-home-muted);
	font-size: 13px;
	line-height: 1.7;
	margin: 0 0 4px;
	max-width: 320px;
	text-align: right;
}

/* Asymmetric category index. */
.dsk-home-collections {
	background: #fff;
}

.dsk-home-collections__grid {
	display: grid;
	gap: 16px;
	grid-auto-rows: 255px;
	grid-template-columns: repeat(12, minmax(0, 1fr));
}

.dsk-home-collection {
	background: #ddd6ce;
	display: block;
	overflow: hidden;
	position: relative;
}

.dsk-home-collection--1 {
	grid-column: 1 / 6;
	grid-row: 1 / 3;
}

.dsk-home-collection--2 {
	grid-column: 6 / 10;
}

.dsk-home-collection--3 {
	grid-column: 10 / 13;
}

.dsk-home-collection--4 {
	grid-column: 6 / 9;
}

.dsk-home-collection--5 {
	grid-column: 9 / 13;
}

/* Keep the mosaic balanced when a store has fewer than five categories. */
.dsk-home-collections__grid--1 .dsk-home-collection--1 {
	grid-column: 1 / -1;
	grid-row: 1 / 3;
}

.dsk-home-collections__grid--2 .dsk-home-collection--1 {
	grid-column: 1 / 8;
	grid-row: 1 / 3;
}

.dsk-home-collections__grid--2 .dsk-home-collection--2 {
	grid-column: 8 / 13;
	grid-row: 1 / 3;
}

.dsk-home-collections__grid--3 .dsk-home-collection--1 {
	grid-column: 1 / 7;
	grid-row: 1 / 3;
}

.dsk-home-collections__grid--3 .dsk-home-collection--2,
.dsk-home-collections__grid--3 .dsk-home-collection--3 {
	grid-column: 7 / 13;
}

.dsk-home-collections__grid--4 .dsk-home-collection--1 {
	grid-column: 1 / 7;
	grid-row: 1 / 3;
}

.dsk-home-collections__grid--4 .dsk-home-collection--2 {
	grid-column: 7 / 10;
}

.dsk-home-collections__grid--4 .dsk-home-collection--3 {
	grid-column: 10 / 13;
}

.dsk-home-collections__grid--4 .dsk-home-collection--4 {
	grid-column: 7 / 13;
}

.dsk-home-collection img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform .7s cubic-bezier(.2,.7,.2,1);
	width: 100%;
}

.dsk-home-collection__shade {
	background: linear-gradient(180deg, rgba(20, 19, 18, 0) 30%, rgba(20, 19, 18, .7) 100%);
	inset: 0;
	position: absolute;
	transition: background-color .3s ease;
}

.dsk-home-collection__content {
	bottom: 0;
	color: #fff;
	display: block;
	left: 0;
	padding: 26px 28px;
	position: absolute;
	right: 0;
}

.dsk-home-collection__content small,
.dsk-home-collection__content strong,
.dsk-home-collection__content em {
	display: block;
}

.dsk-home-collection__content small {
	font-size: 9px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: .14em;
	margin-bottom: 6px;
	opacity: .78;
	text-transform: uppercase;
}

.dsk-home-collection__content strong {
	font-size: 23px;
	font-weight: 500;
	line-height: 1.2;
}

.dsk-home-collection__content em {
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: .1em;
	margin-top: 11px;
	opacity: 0;
	text-transform: uppercase;
	transform: translateY(8px);
	transition: opacity .25s ease, transform .25s ease;
}

.dsk-home-collection:hover img,
.dsk-home-collection:focus img {
	transform: scale(1.045);
}

.dsk-home-collection:hover .dsk-home-collection__shade,
.dsk-home-collection:focus .dsk-home-collection__shade {
	background-color: rgba(30, 27, 24, .12);
}

.dsk-home-collection:hover .dsk-home-collection__content em,
.dsk-home-collection:focus .dsk-home-collection__content em {
	opacity: 1;
	transform: translateY(0);
}

/* Dark editorial product edit. */
.dsk-home-edit {
	background: var(--dsk-home-dark);
	color: #fff;
}

.dsk-home-section__heading--light h2,
.dsk-home-section__heading--light .dsk-home-text-link {
	color: #fff;
}

.dsk-home-edit__layout {
	align-items: stretch;
	display: grid;
	gap: 18px;
	grid-template-columns: minmax(0, 1.18fr) minmax(390px, .82fr);
}

.dsk-home-edit__supporting {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dsk-home-edit__supporting--1 {
	grid-template-columns: minmax(0, 1fr);
}

.dsk-home-product {
	min-width: 0;
	position: relative;
}

.dsk-home-product__media {
	background: #eee9e3;
	display: block;
	overflow: hidden;
	position: relative;
}

.dsk-home-product__media img {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform .55s cubic-bezier(.2,.7,.2,1);
	width: 100%;
}

.dsk-home-product:hover .dsk-home-product__media img {
	transform: scale(1.035);
}

.dsk-home-product__badge {
	align-items: center;
	background: var(--dsk-home-dark);
	box-sizing: border-box;
	color: #fff;
	display: inline-flex;
	font-size: 9px;
	font-weight: 700;
	justify-content: center;
	left: 13px;
	letter-spacing: .11em;
	max-width: calc(100% - 26px);
	min-height: 29px;
	min-width: 46px;
	padding: 7px 9px;
	position: absolute;
	top: 13px;
	text-transform: uppercase;
	white-space: nowrap;
	z-index: 2;
}

.dsk-home-product__body {
	padding-top: 17px;
}

.dsk-home-product__category {
	color: var(--dsk-home-muted);
	display: block;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .12em;
	margin-bottom: 7px;
	text-transform: uppercase;
}

.dsk-home-product h3 {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.45;
	margin: 0 0 9px;
	text-transform: none;
}

.dsk-home-product h3 a {
	color: var(--dsk-home-ink);
}

.dsk-home-product__meta {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
}

.dsk-home-product__price {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 5px;
	min-width: 0;
}

.dsk-home-product__price del,
.dsk-home-product__price ins {
	display: inline-block;
	margin: 0;
}

.dsk-home-product__price,
.dsk-home-product__price .amount {
	color: var(--dsk-home-ink);
	font-size: 14px;
	font-weight: 700;
}

.dsk-home-product__price del,
.dsk-home-product__price del .amount {
	color: #999;
	font-size: 12px;
	font-weight: 400;
}

.dsk-home-product__link {
	color: var(--dsk-home-muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.dsk-home-product h3 a:hover,
.dsk-home-product__link:hover {
	color: var(--dsk-home-accent);
}

.dsk-home-product--lead {
	background: #2b2b29;
	display: grid;
	grid-template-rows: minmax(440px, 1fr) auto;
}

.dsk-home-product--lead .dsk-home-product__body {
	padding: 28px 30px 30px;
}

.dsk-home-product--lead .dsk-home-product__category,
.dsk-home-product--lead .dsk-home-product__excerpt,
.dsk-home-product--lead .dsk-home-product__link {
	color: #aaa;
}

.dsk-home-product--lead h3 {
	font-size: 26px;
	font-weight: 500;
	margin-bottom: 10px;
}

.dsk-home-product--lead h3 a,
.dsk-home-product--lead .dsk-home-product__price,
.dsk-home-product--lead .dsk-home-product__price .amount {
	color: #fff;
}

.dsk-home-product__excerpt {
	font-size: 12px;
	line-height: 1.7;
	margin: 0 0 17px;
	max-width: 560px;
}

.dsk-home-product--compact {
	background: #2b2b29;
}

.dsk-home-product--compact .dsk-home-product__media {
	aspect-ratio: 1 / .82;
}

.dsk-home-product--compact .dsk-home-product__body {
	padding: 15px 16px 17px;
}

.dsk-home-product--compact .dsk-home-product__category,
.dsk-home-product--compact .dsk-home-product__link {
	color: #999;
}

.dsk-home-product--compact h3 a,
.dsk-home-product--compact .dsk-home-product__price,
.dsk-home-product--compact .dsk-home-product__price .amount {
	color: #fff;
}

.dsk-home-product--compact h3 {
	font-size: 13px;
}

/* Editorial interlude uses a split composition, not another card grid. */
.dsk-home-editorial {
	background: var(--dsk-home-paper);
	padding: 0;
}

.dsk-home-editorial__grid {
	align-items: stretch;
	display: grid;
	grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr);
	padding-left: 0;
}

/* Prevent Bootstrap's clearfix pseudo-elements from becoming grid items. */
.dsk-home-editorial__grid::before,
.dsk-home-editorial__grid::after {
	content: none;
	display: none;
}

.dsk-home-editorial__image {
	min-height: 610px;
	overflow: hidden;
}

.dsk-home-editorial__image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.dsk-home-editorial__content {
	align-items: flex-start;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 70px 30px 70px 76px;
}

.dsk-home-editorial__content h2 {
	margin-bottom: 25px;
}

.dsk-home-editorial__content > p:not(.dsk-home-kicker) {
	color: var(--dsk-home-muted);
	font-size: 14px;
	line-height: 1.85;
	margin: 0 0 30px;
	max-width: 430px;
}

@media (min-width: 992px) {
	.dsk-home-editorial__content {
		grid-column: 1;
		grid-row: 1;
	}

	.dsk-home-editorial__image {
		grid-column: 2;
		grid-row: 1;
	}
}

.dsk-home-button {
	background: var(--dsk-home-dark);
	border: 1px solid var(--dsk-home-dark);
	color: #fff;
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .11em;
	padding: 16px 24px;
	text-transform: uppercase;
}

.dsk-home-button:hover,
.dsk-home-button:focus {
	background: var(--dsk-home-accent);
	border-color: var(--dsk-home-accent);
	color: #fff;
}

/* Bestsellers use a calm catalogue rhythm after the editorial modules. */
.dsk-home-new {
	background: #fff;
}

.dsk-home-product-grid {
	display: grid;
	gap: 42px 22px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dsk-home-product--card .dsk-home-product__media {
	aspect-ratio: 4 / 5;
}

/* Featured products use a full-width, count-aware card grid. */
.dsk-home-featured {
	background: #e8ded3;
}

.dsk-home-featured__heading {
	align-items: end;
	border-top: 2px solid var(--dsk-home-dark);
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
	margin-bottom: 42px;
	padding-top: 24px;
}

.dsk-home-featured h2 {
	font-size: 34px;
	margin: 0;
}

.dsk-home-featured__heading > p {
	color: #716a64;
	font-size: 13px;
	line-height: 1.7;
	margin: 0;
	text-align: right;
}

.dsk-home-featured__products {
	display: grid;
	gap: 34px 22px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.dsk-home-featured__products--1 {
	grid-template-columns: minmax(0, 360px);
}

.dsk-home-featured__products--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 760px;
}

.dsk-home-featured__products--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dsk-home-product--feature {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
}

.dsk-home-product--feature .dsk-home-product__media {
	aspect-ratio: 4 / 5;
	flex: 0 0 auto;
}

.dsk-home-product--feature .dsk-home-product__badge {
	background: var(--dsk-home-accent);
}

.dsk-home-product--feature .dsk-home-product__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
}

.dsk-home-product--feature h3 {
	overflow-wrap: anywhere;
}

.dsk-home-product--feature .dsk-home-product__meta {
	margin-top: auto;
}

@media (max-width: 1199px) {
	.dsk-home-intro__inner {
		gap: 34px 45px;
	}

	.dsk-home-collections__grid {
		grid-auto-rows: 220px;
	}

	.dsk-home-edit__layout {
		grid-template-columns: minmax(0, 1fr) minmax(350px, .82fr);
	}

	.dsk-home-product--lead {
		grid-template-rows: minmax(390px, 1fr) auto;
	}

	.dsk-home-editorial__content {
		padding-left: 55px;
	}
}

@media (max-width: 991px) {
	#sns_content.dsk-home .container {
		max-width: 750px;
		width: 100%;
	}

	.dsk-home-section {
		padding: 78px 0;
	}

	.dsk-home-intro__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.dsk-home-intro__aside {
		border-left: 0;
		border-top: 1px solid var(--dsk-home-line);
		padding-left: 0;
		padding-top: 24px;
	}

	.dsk-home-intro__aside p {
		max-width: 600px;
	}

	.dsk-home-collections__grid {
		grid-auto-rows: 260px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dsk-home .dsk-home-collections__grid .dsk-home-collection {
		grid-column: auto;
		grid-row: auto;
	}

	.dsk-home .dsk-home-collections__grid .dsk-home-collection--1 {
		grid-column: 1 / -1;
		grid-row: span 2;
	}

	.dsk-home-edit__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.dsk-home-product--lead {
		grid-template-rows: minmax(520px, 1fr) auto;
	}

	.dsk-home-editorial__grid {
		grid-template-columns: minmax(0, 1fr);
		padding-right: 0;
	}

	.dsk-home-editorial__image {
		min-height: 520px;
	}

	.dsk-home-editorial__content {
		padding: 60px 40px 65px;
	}

	.dsk-home-product-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.dsk-home-featured__heading {
		grid-template-columns: minmax(0, 1fr);
	}

	.dsk-home-featured__heading > p {
		max-width: 500px;
		text-align: left;
	}

	.dsk-home-featured__products,
	.dsk-home-featured__products--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dsk-home-featured__products--1 {
		grid-template-columns: minmax(0, 360px);
	}
}

@media (max-width: 767px) {
	#sns_content.dsk-home .container {
		max-width: none;
		padding-left: 20px;
		padding-right: 20px;
		width: 100%;
	}

	.dsk-home-intro {
		padding: 48px 0 44px;
	}

	.dsk-home-intro__inner > .dsk-home-kicker {
		margin-bottom: -12px;
	}

	.dsk-home-intro h1 {
		font-size: clamp(38px, 12vw, 54px);
	}

	.dsk-home-section {
		padding: 62px 0;
	}

	.dsk-home-section__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
		margin-bottom: 30px;
	}

	.dsk-home-section__heading > p {
		max-width: 450px;
		text-align: left;
	}

	.dsk-home-section__heading h2,
	.dsk-home-editorial__content h2 {
		font-size: 34px;
	}

	.dsk-home-collections__grid {
		gap: 10px;
		grid-auto-rows: 215px;
	}

	.dsk-home .dsk-home-collections__grid .dsk-home-collection--1 {
		grid-row: span 1;
	}

	.dsk-home-collection__content {
		padding: 19px;
	}

	.dsk-home-collection__content strong {
		font-size: 19px;
	}

	.dsk-home-edit__supporting,
	.dsk-home-product-grid {
		gap: 28px 12px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.dsk-home-featured__products {
		gap: 30px 12px;
	}

	.dsk-home-product--lead {
		grid-template-rows: minmax(390px, 68vh) auto;
	}

	.dsk-home-product--lead .dsk-home-product__body {
		padding: 23px 20px 25px;
	}

	.dsk-home-product--compact .dsk-home-product__body {
		padding-left: 3px;
		padding-right: 3px;
	}

	.dsk-home-product__meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 5px;
	}

	.dsk-home-product__link {
		display: none;
	}

	.dsk-home-editorial__image {
		min-height: 400px;
	}

	.dsk-home-editorial__content {
		padding: 48px 20px 52px;
	}

	.dsk-home-featured__heading {
		gap: 18px;
		margin-bottom: 30px;
	}
}

@media (max-width: 479px) {
	#sns_content.dsk-home .container {
		padding-left: 15px;
		padding-right: 15px;
	}

	.dsk-home-collections__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.dsk-home .dsk-home-collections__grid .dsk-home-collection--1 {
		grid-column: auto;
	}

	.dsk-home-product--lead {
		grid-template-rows: 360px auto;
	}

	.dsk-home-featured__products,
	.dsk-home-featured__products--2,
	.dsk-home-featured__products--3 {
		grid-template-columns: minmax(0, 1fr);
		max-width: none;
	}

	.dsk-home-product--compact h3,
	.dsk-home-product--card h3,
	.dsk-home-product--feature h3 {
		font-size: 12px;
	}
}
