.xs-product-mega[hidden] {
	display: none !important;
}

.xs-product-mega {
	--xs-mega-top: 0px;
	position: fixed;
	top: var(--xs-mega-top);
	right: 0;
	left: 0;
	z-index: 999;
	display: grid;
	grid-template-columns: 25% 75%;
	width: auto;
	height: min(720px, calc(100vh - var(--xs-mega-top)));
	max-width: none;
	box-sizing: border-box;
	background: #fff;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.09);
	overflow: hidden auto;
}

.xs-product-mega-trigger.is-product-mega-open {
	margin-right: -12px;
	margin-left: -12px;
	padding-right: 12px !important;
	padding-left: 12px !important;
	border-color: #000 !important;
	background: #000;
	color: #fff !important;
}

.xs-product-mega__left {
	display: flex;
	min-width: 0;
	flex-direction: column;
	background: #fff;
}

.xs-product-mega__featured {
	flex: 0 0 174px;
	padding: 12px 0 9px;
	background: #f7f2ea;
}

.xs-product-mega__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 28px;
	padding: 0 16px;
	color: #171717;
	font-size: 14px;
}

.xs-product-mega__title strong {
	font-weight: 500;
}

.xs-product-mega__title button {
	position: relative;
	width: 30px;
	height: 28px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.xs-product-mega__title button::before,
.xs-product-mega__title button::after {
	position: absolute;
	top: 13px;
	width: 8px;
	height: 1px;
	background: #777;
	content: "";
}

.xs-product-mega__title button::before {
	left: 8px;
	transform: rotate(45deg);
}

.xs-product-mega__title button::after {
	left: 13px;
	transform: rotate(-45deg);
}

.xs-product-mega__viewport {
	width: 100%;
	padding: 3px 14px 0;
	overflow: hidden;
}

.xs-product-mega__track {
	display: flex;
	gap: 12px;
	width: max-content;
	transform: translate3d(0, 0, 0);
	will-change: transform;
}

.xs-product-mega__mini {
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr);
	align-items: center;
	width: calc((25vw - 40px) / 2);
	min-width: 190px;
	height: 70px;
	padding: 5px;
	background: #fff;
	color: #111;
	text-decoration: none;
}

.xs-product-mega__mini-image {
	display: grid;
	width: 62px;
	height: 60px;
	place-items: center;
	overflow: hidden;
	background: #eee9e2;
}

.xs-product-mega__mini-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.xs-product-mega__placeholder {
	font-size: 12px;
	letter-spacing: 0.12em;
}

.xs-product-mega__mini-copy {
	min-width: 0;
	padding-left: 10px;
}

.xs-product-mega__mini-copy small,
.xs-product-mega__mini-copy strong {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.xs-product-mega__mini-copy small {
	margin-bottom: 4px;
	font-size: 11px;
}

.xs-product-mega__mini-copy strong {
	font-size: 12px;
	font-weight: 600;
}

.xs-product-mega__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	height: 46px;
	color: #222;
	font-size: 13px;
}

.xs-product-mega__controls button {
	width: 32px;
	height: 32px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #555;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.xs-product-mega__controls b {
	font-weight: 400;
}

.xs-product-mega__categories {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
	padding: 7px 32px 24px;
	background: #fff;
}

.xs-product-mega__categories a {
	display: block;
	width: 100%;
	padding: 10px 0;
	color: #373737;
	font-size: 14px;
	line-height: 1.2;
	text-decoration: none;
}

.xs-product-mega__categories a:hover,
.xs-product-mega__categories a:focus-visible {
	padding-left: 14px;
	background: #f8f5f0;
	color: #000;
}

.xs-product-mega__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	min-width: 0;
	min-height: 0;
	padding: 10px 10px 10px 5px;
	box-sizing: border-box;
	background: #fff;
	overflow: hidden;
}

.xs-product-mega__feature {
	position: relative;
	display: block;
	min-width: 0;
	min-height: 0;
	overflow: hidden;
	background: #ddd;
	color: #fff;
	text-decoration: none;
}

.xs-product-mega__feature > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.xs-product-mega__feature:hover > img {
	transform: scale(1.025);
}

.xs-product-mega__feature-shade {
	position: absolute;
	inset: 38% 0 0;
	background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.83));
}

.xs-product-mega__feature-copy {
	position: absolute;
	right: 0;
	bottom: 24px;
	left: 0;
	display: flex;
	align-items: center;
	flex-direction: column;
	text-align: center;
}

.xs-product-mega__feature-copy,
.xs-product-mega__feature-copy strong,
.xs-product-mega__feature-copy small,
.xs-product-mega__feature-copy > span {
	color: #fff !important;
}

.xs-product-mega__feature-copy strong,
.xs-product-mega__feature-copy small,
.xs-product-mega__feature-copy > span {
	display: block;
}

.xs-product-mega__feature-copy strong {
	font-size: 16px;
	font-weight: 400;
	line-height: 2;
}

.xs-product-mega__feature-copy small {
	font-size: 13px;
	line-height: 2;
}

.xs-product-mega__feature-copy > span {
	margin-top: 8px;
	border-bottom: 1px solid currentColor;
	font-size: 15px;
	line-height: 1.5;
}

@media (max-width: 1200px) {
	.xs-product-mega {
		grid-template-columns: 32% 68%;
	}

	.xs-product-mega__mini {
		width: calc((32vw - 40px) / 2);
	}
}

@media (max-width: 1024px) {
	.xs-product-mega {
		display: none !important;
	}
}
