.s-header-product-megamenu__children {
	left: 0;
	right: 0;
	width: 100%;
	background: white;
}

.s-header-product-megamenu__wrapper {
    margin-inline: auto;
    padding: 1.5rem var(--container-horizontal-padding-percent) 2rem;
    width: 100%;
}

.s-header-product-megamenu__wrapper--full {
    max-width: none;
}

.s-header-product-megamenu__wrapper--wide {
    max-width: calc(var(--container-large) + var(--container-horizontal-padding-percent) * 2);
}

.s-header-product-megamenu__wrapper--default {
    max-width: calc(var(--container-content) + var(--container-horizontal-padding-percent) * 2);
}

.s-header-product-megamenu__wrapper--medium {
    max-width: calc(var(--container-medium) + var(--container-horizontal-padding-percent) * 2);
}

.s-header-product-megamenu__wrapper--narrow {
    max-width: 72rem;
}

.s-header-product-megamenu__columns {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.s-header-product-megamenu__column {
	min-width: 0;
}

.s-header-product-megamenu__column-heading {
	font-family: var(--font-display);
	font-size: var(--font-static-xl);
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1rem;
}

.s-header-product-megamenu__products {
	display: grid;
	gap: .75rem;
}

.s-header-product-megamenu__product {
	align-items: center;
	background: var(--neutral-warm);
	display: grid;
	grid-template-columns: 5rem minmax(0, 1fr);
	gap: .5rem;
	min-width: 0;
	padding: .75rem;
	text-decoration: none;
}

.s-header-product-megamenu__product-image {
	aspect-ratio: 1;
	overflow: hidden;
}

.s-header-product-megamenu__product-image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.s-header-product-megamenu__product-info {
	display: grid;
	gap: .5rem;
	min-width: 0;
}

.s-header-product-megamenu__product-top {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
    justify-content: space-between;
}

.s-header-product-megamenu__product-label {
	color: var(--blue-darker);
	font-family: var(--font-body);
	font-size: var(--font-static-xxs);
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.s-header-product-megamenu__product-rating {
	--review-stars-icon-size: .75rem;
}

.s-header-product-megamenu__product-rating .c-review-stars {
	flex-wrap: nowrap;
}

.s-header-product-megamenu__product-rating .c-review-stars__count,
.s-header-product-megamenu__product-rating .c-review-stars__rating {
	font-size: var(--font-static-xxs);
}

.s-header-product-megamenu__product-rating .c-review-stars__count__reviews-text {
	clip: rect(0 0 0 0);
	border: 0;
	display: block;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
}

.s-header-product-megamenu__product-title-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.s-header-product-megamenu__product-title {
	font-family: var(--font-display);
	font-size: var(--font-static-lg);
	font-weight: 700;
	line-height: 1.2;
}

.s-header-product-megamenu__product-badge {
	background: var(--blue-darker);
    color: white;
	font-family: var(--font-body);
	font-size: var(--font-static-xxs);
	font-weight: 600;
	line-height: 1;
	border-radius: 3px;
	padding: 0.1875rem .5rem;
	text-transform: uppercase;
	white-space: nowrap;
}

.s-header-product-megamenu__product-description {
	font-family: var(--font-body-light);
	font-size: var(--font-static-sm);
	line-height: 1.4;
}

.s-header-product-megamenu__shop-all {
	align-items: center;
	display: grid;
	grid-template-columns: 5.5rem minmax(0, 1fr) auto;
	gap: 1rem;
	min-width: 0;
	padding: .75rem;
	text-decoration: none;
}

.s-header-product-megamenu__shop-all-image {
	aspect-ratio: 1;
	overflow: hidden;
}

.s-header-product-megamenu__shop-all-image img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.s-header-product-megamenu__shop-all-info {
	display: grid;
	gap: .25rem;
	min-width: 0;
}

.s-header-product-megamenu__shop-all-title {
	font-family: var(--font-display);
	font-size: var(--font-static-lg);
	font-weight: 700;
	line-height: 1.2;
}

.s-header-product-megamenu__shop-all-description {
	font-family: var(--font-body-light);
	font-size: var(--font-static-sm);
	line-height: 1.4;
}

.s-header-product-megamenu__shop-all-arrow {
	align-items: center;
	color: var(--primary-base);
	display: inline-flex;
	flex-shrink: 0;
	justify-content: center;
}

.s-header-product-megamenu__shop-all-arrow svg {
	display: block;
	height: 1rem;
	width: 1.25rem;
}

.s-header-product-megamenu__nav-badge {
	background-color: var(--primary-lighter);
	color: var(--primary-dark);
	display: inline-flex;
	align-items: center;
	font-family: var(--font-display);
	font-size: var(--font-static-xs);
	font-weight: 700;
	line-height: 1;
	margin-top: 2px;
	padding: 0.25rem 0.5rem;
	border-radius: 3px;
	text-transform: uppercase;
	white-space: nowrap;
}

/* Optional product image scaling */

.s-header-product-megamenu__product-image[style] img {
    transform: scale(var(--header-product-image-scale, 1));
    transform-origin: center;
}

/* Discover Mega Menu */

.s-header-discover-megamenu__cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

@media only screen and (min-width: 64em) {
	.s-header-product-megamenu__wrapper {
		padding-left: 2.5rem;
		padding-right: 2.5rem;
	}
}

@media only screen and (min-width: 79.5em) {
    .s-header-product-megamenu__wrapper--wide,
    .s-header-product-megamenu__wrapper--default {
        max-width: 93.75rem;
    }
}