@media (min-width: 641px) and (max-width: 1024px) {

	body.home .mgk-section.mgk-flashwrap,
	body.home .mgk-section.mgk-promo,
	body.home .mgk-section.mgk-category,
	body.home .mgk-section.mgk-products { padding-left: 16px; padding-right: 16px; }

	body.home .mgk-sh { flex-direction: row; align-items: center; margin-bottom: 18px; }
	body.home .mgk-sh > .mgk-btn--link { flex-shrink: 0; white-space: nowrap; }
	body.home .mgk-sh__title,
	body.home .mgk-sh__title .mgk-cta__d { font-size: 16px; font-weight: 700; line-height: 22px; }
	body.home .mgk-sh__sub { margin-top: 2px; font-size: 14px; line-height: 18px; }

	body.home .mgk-freshpicks__arrows { display: none; }

	body.home .mgk-hero { --mgk-hero-ratio: auto; }
	body.home .mgk-hero .mgk-hero__banner {
		position: absolute; inset: 0; width: 100%; height: 100%;
		aspect-ratio: auto; object-position: right center;
	}
	body.home .mgk-hero__inner { position: relative; z-index: 2; min-height: 292px; padding: 24px 37px; }
	body.home .mgk-hero__copy { font-size: 10px; max-width: 360px; }
	body.home .mgk-hero__heading { margin: 0 0 12px; font-size: 32px; line-height: 36px; }
	body.home .mgk-hero__sub { max-width: 335px; margin: 0 0 14px; font-size: 10px; line-height: 16px; }
	body.home .mgk-hero__ctas { gap: 6px; }
	body.home .mgk-hero__btn { min-height: 30px; padding: 0 12px 0 14px; gap: 6px; border-width: 1px; border-radius: 6px; font-size: 12px; }
	body.home .mgk-hero__btn-arrow { width: 16px; height: 16px; }
	body.home .mgk-hero__marks { flex-wrap: nowrap; gap: 14px; margin: 16px 0 0; }
	body.home .mgk-hero__mark { padding: 0; border-left: 0; gap: 4px; }
	body.home .mgk-hero__mark-chip { width: 16px; height: 16px; }
	body.home .mgk-hero__mark-icon { width: 10px; height: 10px; }
	body.home .mgk-hero__mark-text { font-size: 10px; }

	body.home .mgk-flashwrap__box { padding: 18px 21px 20px; border-radius: 14px; }
	body.home .mgk-flashwrap__head { margin-bottom: 16px; }
	body.home .mgk-flashwrap__grid { gap: 18px; }
	body.home .mgk-section.mgk-flashwrap .mgk-flashcard { --mgk-flash-track-size: calc((100% - 54px) / 4); }

	body.home .mgk-section.mgk-products .mgk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }

	body.home [data-widget_type="mgk_trending_products.default"] .mgk-grid:not([data-mgk-trending-expanded]) .mgk-prod:nth-child(n+17) { display: none; }

	body.home .mgk-promo__tiles { gap: 16px; }
	body.home .mgk-promo .mgk-promo-tile { flex: 0 0 206px; width: 206px; min-height: 109px; height: 109px; border-radius: 8px; }

	body.home .mgk-catrow { gap: 8px; }
	body.home .mgk-category .mgk-cat-card { flex: 0 0 calc((100% - 48px) / 7); width: calc((100% - 48px) / 7); height: auto; gap: 8px; }
	body.home .mgk-category .mgk-cat-card__media { width: 60px; height: 60px; }
	body.home .mgk-category .mgk-cat-card__icon { font-size: 56px; }

	body.home .mgk-category .mgk-cat-card__name {
		display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
		white-space: normal; overflow: hidden;
	}

	body.home .mgk-section.mgk-abanner { --mgk-abanner-ratio: 5.14; width: auto; min-height: 0; margin: 0 6px; border-radius: 12px; }
	body.home .mgk-abanner .mgk-abanner__img { position: static; height: auto; aspect-ratio: var(--mgk-abanner-ratio); object-position: right center; }
	body.home .mgk-abanner__inner { position: absolute; inset: 0; min-height: 0; padding: 0 34px; }
	body.home .mgk-abanner__content { max-width: 360px; font-size: 11px; }
	body.home .mgk-abanner__heading { margin: 0 0 6px; font-size: 26px; line-height: 1.2; }
	body.home .mgk-abanner__sub { margin: 0 0 12px; font-size: 12px; line-height: 16px; }
	body.home .mgk-abanner__ctas { gap: 18px; }
	body.home .mgk-abanner__btn { min-width: 0; min-height: 23px; padding: 0 10px 0 12px; gap: 6px; border-width: 1px; border-radius: 4px; font-size: 11px; }
	body.home .mgk-abanner__btn .mgk-hero__btn-arrow { width: 12px; height: 12px; }

	body.home .mgk-abanner .mgk-hero__btn--ghost { padding: 0; background: transparent; border-color: transparent; }
	body.home .mgk-abanner .mgk-hero__btn--ghost:hover,
	body.home .mgk-abanner .mgk-hero__btn--ghost:focus-visible { background: transparent; color: var(--mgk-hero-blue); text-decoration: underline; }
}
