/* =========================================================================
   Homepage stories (reference: homepage Next.js app, Human DS utilities + inline styles)
   ========================================================================= */

/* Rows: flex, column < 992px / row ≥ 992px, 16px gap, 16px bottom padding */
.story-wrapper-row { padding-bottom: 16px; }
.story-wrapper-row > [data-testid="story-boundary"] { min-width: 0; }
/* Reference: fixed columns keep their % width ("shrink"), "flex-1 min-w-0" columns fill the remainder minus the 16px gap. */
@media (min-width: 992px) {
	.story-wrapper-row > .flex-1 { flex: 1 1 0%; width: auto; }
}
@media (max-width: 991px) {
	.story-wrapper-row > .flex-1 { flex: 0 0 auto; }
}
.story-wrapper-view, .story-wrapper-background-view, .story-wrapper-background-view > .h-full { width: 100%; }

/* ---------- Row 1: hero ---------- */
.hero-v2-bg-gradient { background: linear-gradient(135deg, #001e73 40%, #0089be 65%, #00c9ba 100%); }
.hero-v2-bg-gradient-football { background: linear-gradient(135deg, #001E73 20%, #003CAF 65%, #0046BE 80%, #00C9BA 100%); }
.hero-banner, .hero-v2 { border-radius: 16px; overflow: hidden; }
.hero-v2__inner { display: flex; justify-content: center; align-items: center; padding: 24px; }
.hero-v2__copy { display: flex; flex-direction: column; align-items: flex-start; padding-bottom: 12px; max-width: 760px; }
.hero-v2__badge { display: block; width: 150px; height: 72px; object-fit: contain; }
.hero-v2__badge--placeholder { visibility: hidden; }
.hero-v2__title { color: #fbfbfb; font-size: 44px; line-height: 48px; font-weight: 500; margin: 24px 0 0; }
.sports-trigger { color: #00C9BA; }
.hero-v2__sub { color: #fbfbfb; font-size: 20px; line-height: 24px; font-weight: 400; margin: 8px 0 0; }
.hero-v2__media { margin-left: 16px; display: flex; align-items: center; flex-shrink: 0; }
.hero-v2__img { display: block; width: 450px; height: 269px; object-fit: contain; }
.dct-be-btn .text-default-fixed { color: #030303; }
@media (max-width: 991px) {
	.hero-v2__inner { flex-direction: column; align-items: flex-start; padding: 24px 16px; }
	.hero-v2__copy { padding-bottom: 0; }
	.hero-v2__title { font-size: 32px; line-height: 40px; margin-top: 16px; }
	.hero-v2__sub { font-size: 16px; line-height: 20px; }
	.hero-v2__media { margin: 16px 0 0; width: 100%; justify-content: center; }
	.hero-v2__img { width: 100%; max-width: 450px; height: auto; aspect-ratio: 450 / 269; }
}

/* ---------- Row 2: sign-in bar ---------- */
.signin-body { border: 1px solid var(--colorBorderDefaultSubdued); border-radius: 8px; }
.signin-icon { color: var(--colorFgDefaultMuted); display: flex; align-items: center; min-width: 24px; }
.signin-actions { gap: 8px; flex-shrink: 0; }
.signin-btn { min-height: 32px; padding: 0 8px; white-space: nowrap; }
@media (min-width: 960px) { .signin-btn { min-height: 40px; padding: 0 16px; } }
@media (max-width: 639px) {
	.signin-row { flex-direction: column; align-items: flex-start; gap: 16px; }
	.signin-actions { margin-left: 0; width: 100%; }
	.signin-btn { flex: 1 1 0; }
	.signin-disclaimer { width: 100%; }
}

/* ---------- Row 3: primary message image pair (container queries) ---------- */
.responsive-height { }
.image-carousel a:focus-visible { outline-offset: -1px; border-radius: 16px; }
.image-carousel { container-type: inline-size; }
.image-carousel-img-pair { position: relative; width: 100%; }
.image-carousel-img-pair .image-carousel-img--wide { display: none; }
.image-carousel-img-pair .image-carousel-img--narrow { display: block; }
@container (min-width: 611px) {
	.image-carousel-img-pair--611 .image-carousel-img--narrow { display: none; }
	.image-carousel-img-pair--611 .image-carousel-img--wide { display: block; }
}
@container (min-width: 715px) {
	.image-carousel-img-pair--715 .image-carousel-img--narrow { display: none; }
	.image-carousel-img-pair--715 .image-carousel-img--wide { display: block; }
}
.image-carousel-img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
@media (min-width: 640px) { .image-carousel-img { height: 455px; aspect-ratio: auto; } }
@media (min-width: 1280px) { .image-carousel-img { height: 480px; } }

/* ---------- Story block header / footer ---------- */
.story-block-header .text-style-title-sm-500 { display: block; }
.story-block-header__cta { white-space: nowrap; align-self: flex-start; }
.story-block-header__cta:hover span { text-decoration: underline; }
.story-block-footer { display: block; padding-left: 16px; }
@media (min-width: 640px) { .story-block-footer { padding-left: 24px; } }
@media (min-width: 992px) {
	.story-block-footer { display: none; }
}
@media (max-width: 991px) {
	.story-block-header__cta { display: none; }
}

/* ---------- Row 4: flexible message (lead image + circle carousel) ---------- */
.flexible-message__row { display: flex; padding: 0 0 24px 24px; }
.flexible-message__inner { width: 100%; }
.flexible-message__lead-img { display: block; width: 428px; height: 242px; object-fit: cover; border-radius: 8px; }
.dept-section__head { padding-bottom: 4px; }
.dept-section__title { margin: 0; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.02em; color: #14181f; }
.dept-stage { display: grid; grid-template-columns: 4fr 6fr; gap: 16px; padding: 4px 16px 16px; align-items: stretch; }
.dept-rail { position: relative; min-width: 0; }
.dept-rail.bb-carousel.has-overflow .bb-carousel__arrow.is-enabled { opacity: 1 !important; pointer-events: auto !important; }
.dept-rail .bb-carousel__arrow { width: 36px; height: 36px; }
.dept-rail .bb-carousel__arrow--prev { left: -2px; }
.dept-rail .bb-carousel__arrow--next { right: -2px; }
.dept-rail::after {
	content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 16px; pointer-events: none;
	background: linear-gradient(90deg, rgba(255,255,255,0), #fff);
}
.dept-menu {
	list-style: none; margin: 0; padding: 0; height: 100%; min-height: 268px;
	display: grid; grid-auto-flow: column; grid-template-rows: 1fr 1fr; grid-auto-columns: 36%;
	gap: 8px 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
	cursor: grab; touch-action: pan-x; overscroll-behavior-x: contain;
	align-content: stretch;
}
.dept-menu::-webkit-scrollbar { display: none; }
.dept-menu.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.dept-menu li { scroll-snap-align: start; min-width: 0; }
.dept-pick {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	height: 100%; padding: 6px 4px; text-align: center; text-decoration: none; color: #1d252c;
}
.dept-pick:hover { text-decoration: none; }
.dept-pick__icon {
	width: 72px; height: 72px; border-radius: 16px; background: #f3f5f7;
	display: flex; align-items: center; justify-content: center; transition: background .2s ease;
}
.dept-pick:hover .dept-pick__icon { background: #e7ebf0; }
.dept-pick__icon img { width: 56px; height: 56px; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.dept-pick__name {
	font-size: 13px; line-height: 16px; font-weight: 500; max-width: 100%;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dept-pick:hover .dept-pick__name { text-decoration: underline; }
.dept-banner {
	position: relative; display: flex; align-items: flex-end; min-height: 280px; border-radius: 16px;
	overflow: hidden; text-decoration: none; background: #c9b2a6;
}
.dept-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% center; }
.dept-banner::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(244,232,226,.94) 0%, rgba(244,232,226,.72) 28%, rgba(244,232,226,0) 58%);
}
.dept-banner__copy {
	position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
	padding: 24px; max-width: 16em; font-family: "Everyday Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; color: #2a211c;
}
.dept-banner__title { font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: -0.02em; }
.dept-banner__cta { font-size: 14px; line-height: 18px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 991px) {
	.dept-stage { grid-template-columns: 1fr; gap: 12px; }
	.dept-menu { grid-auto-columns: 34%; min-height: 220px; }
	.dept-pick__icon { width: 64px; height: 64px; }
	.dept-pick__icon img { width: 48px; height: 48px; }
	.dept-banner { min-height: 200px; order: -1; }
	.dept-banner__title { font-size: 22px; }
}
.circle-item { width: 128px; }
.circle-item + .circle-item { margin-left: 8px; }
.circle-card__img { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; background: var(--colorBgDefault); border: 1px solid transparent; }
.circle-card__img img { width: 112px; height: 112px; object-fit: cover; border-radius: 50%; }
.circle-card__label { padding-top: 16px; width: 128px; }
.circle-card__label span { display: block; }
.circle-card:hover .circle-card__label span { text-decoration: underline; }
.bb-carousel--circles .bb-carousel__arrow-slot { position: relative; }
.bb-carousel--circles .bb-carousel__arrow--prev { left: -20px; top: 56px; transform: none; }
.bb-carousel--circles .bb-carousel__arrow--next { right: -20px; left: auto; top: 56px; transform: none; }
.bb-carousel--circles .bb-carousel__arrow-slot--end .bb-carousel__arrow--next { right: 20px; }
@media (max-width: 1199px) {
	.flexible-message__lead-img { width: 320px; height: 181px; }
}
@media (max-width: 991px) {
	.flexible-message__row { padding: 0 0 16px 16px; }
	.flexible-message__inner { flex-direction: column; align-items: flex-start; }
	.flexible-message__lead { width: 100%; padding-right: 16px; margin-bottom: 16px; }
	.flexible-message__lead > a { margin-right: 0; }
	.flexible-message__lead-img { width: 100%; height: auto; aspect-ratio: 856 / 484; }
	.flexible-message__circles { width: 100%; }
	.flexible-message__circles > div { margin-left: 0; }
	.circle-item { width: 112px; }
	.circle-card__label { width: 112px; }
}

/* ---------- Flexible message tiles (rows 6/8/12/14/17/19) ---------- */
.flex-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; }
.flex-tile { display: flex; flex-direction: column; color: inherit; }
.flex-tile__img { aspect-ratio: 1 / 1; background: var(--colorBgDefaultSubdued); }
.flex-tile__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.flex-tile__label { display: block; }
.flex-tile:hover .flex-tile__label { text-decoration: underline; }
@media (max-width: 639px) { .flex-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Row 5: ad panels / Rows 7 & 22: leaderboards ---------- */
.ad-panel .inner-container, .leaderboard .inner-container { display: block; border-radius: 16px; overflow: hidden; }
.ad-panel__img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; }
.leaderboard__img { display: block; width: 100%; height: auto; aspect-ratio: 1456 / 180; object-fit: cover; }
.atwb-display-ad .inner-text-container { position: absolute; display: inline-flex; justify-content: center; align-items: center; border-radius: 8px; background: rgba(0,0,0,.6); top: 8px; right: 8px; z-index: 10; }
.atwb-display-ad .inner-text.ad-text { padding: 4px; margin: 0; color: #fff; font-size: 10px; line-height: 12px; letter-spacing: .5px; text-transform: uppercase; }
@media (max-width: 1199px) {
	.leaderboard__img { aspect-ratio: 728 / 90; }
}
@media (max-width: 639px) {
	.leaderboard__img { aspect-ratio: 1 / 1; }
}

/* ---------- Row 9: sponsored (sbb) carousel ---------- */
.homepage-sbb-carousel { background-color: #fff; border-radius: 16px; padding: 24px; }
.homepage-sbb-carousel .banner-title-wrapper { margin-bottom: 16px; }
.homepage-sbb-carousel .banner-title { font-size: 20px; line-height: 24px; font-weight: 500; margin: 0; }
.homepage-sbb-carousel .attribution-text-l { font-size: 11px; line-height: 10px; font-weight: 400; color: #70757d; }
.homepage-sbb-carousel .disclaimer-wrapper { margin-right: 24px; flex-shrink: 0; }
.homepage-sbb-carousel .disclaimer-item { display: block; text-decoration: none; }
.homepage-sbb-carousel .disclaimer-item img { border-radius: 8px; display: block; width: 248px; height: 186px; object-fit: cover; }
.homepage-sbb-carousel .list-wrapper { height: 186px; width: 100%; min-width: 0; }
.homepage-sbb-carousel .bb-carousel__track { height: 186px; align-items: center; }
.product-flexbox-homepage-sbb { width: 304px; flex-shrink: 0; }
.product-flexbox-homepage-sbb + .product-flexbox-homepage-sbb { margin-left: 16px; }
.pc--sbb { display: flex; align-items: center; gap: 16px; height: 186px; }
.pc--sbb .pc__image { align-items: center; justify-content: center; border-radius: 8px; background: #fff; display: flex; filter: brightness(.9725); height: 96px; width: 96px; padding: 8px; flex-shrink: 0; }
.pc--sbb .pc__img { max-width: 80px; max-height: 80px; width: auto; height: auto; object-fit: contain; }
.pc--sbb .pc__info { min-height: 112px; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.pc--sbb .pc__title-link span { font-size: 13px; line-height: 15.6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 991px) {
	.homepage-sbb-carousel { padding: 32px 16px; border-radius: 0; }
	.homepage-sbb-carousel .disclaimer-wrapper { margin-right: 8px; }
	.homepage-sbb-carousel .disclaimer-item img { border: 1px solid #c4c8cf; width: 136px; height: 238px; }
	.homepage-sbb-carousel .list-wrapper, .homepage-sbb-carousel .bb-carousel__track { height: 238px; }
	.product-flexbox-homepage-sbb { width: 152px; height: 238px; border: 1px solid #e4e5e8; border-radius: 8px; }
	.product-flexbox-homepage-sbb + .product-flexbox-homepage-sbb { margin-left: 8px; }
	.pc--sbb { flex-direction: column; align-items: stretch; gap: 0; height: 238px; }
	.pc--sbb .pc__image { height: 136px; width: 100%; max-width: 152px; border-radius: 8px 8px 0 0; }
	.pc--sbb .pc__img { max-width: 120px; max-height: 120px; mix-blend-mode: multiply; }
	.pc--sbb .pc__info { padding: 0 4px; min-height: 0; justify-content: flex-start; }
	.pc--sbb .pc__title-link span { margin: 8px 0 2px; -webkit-line-clamp: 2; }
	.homepage-sbb-carousel .bb-carousel__arrow { display: none; }
}

/* ---------- Product cards (ghp / deals / grid) ---------- */
.product-story__item { width: 200px; }
.product-story__item + .product-story__item { margin-left: 16px; }
.product-story__item:last-child { padding-right: 24px; box-sizing: content-box; }
.pc { display: flex; flex-direction: column; color: var(--colorFgDefault); }
.pc__image { width: 100%; height: 136px; margin-bottom: 12px; display: flex; align-items: center; justify-content: center; }
.pc__img { max-width: 152px; max-height: 103px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
@media (min-width: 1200px) { .pc__img { max-width: 200px; max-height: 136px; } }
.pc__title { height: 54px; overflow: hidden; margin-bottom: 8px; }
.pc__title-link span { font-size: 15px; line-height: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--colorFgDefault); }
.pc__title-link:hover span { text-decoration: underline; }
.pc__rating { margin-bottom: 2px; min-height: 16px; display: flex; align-items: center; }
.pc__price { display: flex; flex-direction: column; gap: 2px; }
.pc__price-current { font-size: 15px; line-height: 20px; font-weight: 500; color: var(--colorFgDefault); }
.pc__price-current .woocommerce-Price-amount { font-weight: 500; }
.pc__price-regular { font-size: 12px; line-height: 16px; color: var(--colorFgDefaultSubdued); }
.pc__price-regular .woocommerce-Price-amount { text-decoration: line-through; }
.savings-value { color: #318000; font-weight: 500; font-size: 14px; line-height: 18px; }
.pc--deals .pc__price-current { color: #bb0628; font-size: 18px; line-height: 22px; }
.pc__atc { margin-top: 12px; }
.pc__atc-btn { width: 100%; }
.pc--grid .pc__image { height: 160px; }
@media (max-width: 991px) {
	.product-story__item { width: 136px; }
	.product-story__item + .product-story__item { margin-left: 16px; }
	.product-story__item:last-child { padding-right: 16px; }
	.pc__image { height: 93px; margin-bottom: 24px; }
	.pc__img { max-width: 93px; max-height: 93px; }
	.pc__title { height: 50px; }
	.pc__title-link span { font-size: 13px; line-height: 16px; }
	.pc__price-current { font-size: 14px; }
}

.product-story__body .bb-carousel__arrow--prev { left: 8px; }
.product-story__body .bb-carousel__arrow--next { right: 8px; }

/* ---------- Row 11: deal of the day ---------- */
.yellow-ends-bg { display: inline-block; width: 130px; height: 30px; overflow: hidden; background: #fff200; border-radius: 4px; }
.yellow-ends-text { display: block; font-size: 13px; line-height: 16px; font-weight: 600; color: #0046be; padding: 7px 8px; white-space: nowrap; }
.dotd__body { display: flex; gap: 24px; align-items: stretch; }
.dotd__main { display: flex; gap: 24px; flex: 1 1 58%; min-width: 0; padding: 16px; border: 1px solid var(--colorBorderDefaultSubdued); border-radius: 8px; }
.dotd__main-img { flex-shrink: 0; width: 260px; height: 260px; display: flex; align-items: center; justify-content: center; }
.dotd__main-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.dotd__main-info { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dotd__title { font-size: 16px; line-height: 20px; font-weight: 400; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dotd__title:hover { text-decoration: underline; }
.dotd__price { display: flex; flex-direction: column; gap: 2px; }
.dotd__price-current { font-size: 28px; line-height: 32px; font-weight: 500; color: #bb0628; }
.dotd__price-was { font-size: 12px; line-height: 16px; color: var(--colorFgDefaultSubdued); }
.dotd__price-was .woocommerce-Price-amount { text-decoration: line-through; }
.dotd__actions { margin-top: auto; padding-top: 8px; }
.dotd__actions .hbtn { min-width: 170px; }
.dotd__others { list-style: none; margin: 0; padding: 0; flex: 1 1 42%; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dotd__other { border: 1px solid var(--colorBorderDefaultSubdued); border-radius: 8px; padding: 8px 16px; }
.dotd__other .pc--sbb-l { display: flex; gap: 16px; align-items: center; }
.dotd__other .pc__image { width: 80px; height: 80px; margin: 0; flex-shrink: 0; }
.dotd__other .pc__img { max-width: 72px; max-height: 72px; }
.dotd__other .pc__title { height: auto; margin-bottom: 4px; }
.dotd__other .pc__title-link span { font-size: 13px; line-height: 16px; -webkit-line-clamp: 2; }
@media (max-width: 991px) {
	.dotd__body { flex-direction: column; gap: 16px; }
	.dotd__main { flex-direction: column; gap: 16px; }
	.dotd__main-img { width: 100%; height: auto; aspect-ratio: 1 / 1; max-height: 260px; }
	.dotd__main-img img { max-height: 260px; }
}

/* ---------- Promo mosaic (bento between departments and deals) ---------- */
@font-face {
	font-family: "Everyday Sans";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/everyday-sans.woff2") format("woff2");
}
@font-face {
	font-family: "Everyday Sans";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/everyday-sans-bold.woff2") format("woff2");
}
.promo-mosaic {
	display: grid;
	grid-template-columns: 1.25fr 0.72fr 0.72fr 0.95fr;
	grid-template-rows: minmax(180px, 1fr) minmax(180px, 1fr);
	gap: 12px;
	min-height: 440px;
	font-family: "Everyday Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.pm-tile {
	position: relative; display: flex; flex-direction: column; justify-content: space-between;
	overflow: hidden; border-radius: 16px; text-decoration: none; color: #1d252c;
	background: #fff; min-height: 0; padding: 20px 20px 16px;
}
.pm-tile:hover { text-decoration: none; }
.pm-tile--hero { grid-column: 1; grid-row: 1 / span 2; color: #10233f; }
.pm-tile--ship { grid-column: 2 / span 2; grid-row: 1; }
.pm-tile--grocery { grid-column: 2; grid-row: 2; }
.pm-tile--home { grid-column: 3; grid-row: 2; }
.pm-tile--tall { grid-column: 4; grid-row: 1 / span 2; }
.pm-tile::before {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.55) 14%, rgba(255,255,255,0) 32%);
}
.pm-tile--hero::before {
	background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.4) 20%, rgba(255,255,255,0) 38%);
}
.pm-tile__copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 92%; }
.pm-tile__kicker { font-size: 14px; line-height: 18px; font-weight: 400; }
.pm-tile__title { font-size: 20px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.pm-tile--hero .pm-tile__title { font-size: 36px; line-height: 1.05; letter-spacing: -0.025em; max-width: 11em; }
.pm-tile__cta {
	display: inline-flex; align-items: center; margin-top: 4px;
	background: #fff; color: #1d252c; border-radius: 999px;
	padding: 7px 14px; font-size: 14px; line-height: 18px; font-weight: 600;
	box-shadow: 0 1px 2px rgba(16, 35, 63, .08);
}
.pm-tile--hero .pm-tile__cta { background: #fff; }
.pm-tile:not(.pm-tile--hero) .pm-tile__cta { background: transparent; box-shadow: none; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.pm-tile__img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.pm-tile--ship .pm-tile__img { object-position: center 62%; }
.pm-tile--grocery .pm-tile__img { object-position: 82% 72%; }
.pm-tile--home .pm-tile__img { object-position: center 78%; }
.pm-tile--tall .pm-tile__img { object-position: center 32%; transform: scale(1.72); transform-origin: center 22%; }
@media (max-width: 991px) {
	.promo-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; min-height: 0; }
	.pm-tile--hero, .pm-tile--ship, .pm-tile--grocery, .pm-tile--home, .pm-tile--tall { grid-column: auto; grid-row: auto; min-height: 220px; }
	.pm-tile--hero { grid-column: 1 / -1; min-height: 280px; }
	.pm-tile--hero .pm-tile__title { font-size: 28px; }
	.pm-tile--ship { grid-column: 1 / -1; }
}

/* ---------- Home boards: blue-framed 2×2 columns ---------- */
.home-boards { background: transparent; padding: 4px 0 8px; }
.home-boards__track { align-items: stretch; width: 100%; min-width: 100%; padding: 4px 8px 8px; }
.home-board {
	flex: 1 0 250px; width: auto; min-width: 250px; box-sizing: border-box;
	border: 0; border-radius: 16px; background: #b7d4f8;
	padding: 12px; margin-right: 12px;
}
.home-board:last-child { margin-right: 0; }
.home-board__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; padding: 2px 4px 0; }
.home-board__title { margin: 0; font-size: 16px; line-height: 20px; font-weight: 700; color: #1d252c; }
.home-board__all { flex-shrink: 0; font-size: 13px; line-height: 18px; font-weight: 500; color: #1d252c; text-decoration: underline; }
.home-board__all:hover { color: #0046be; }
.home-board__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.home-mini {
	display: flex; flex-direction: column; gap: 4px; text-decoration: none; min-width: 0; color: #1d252c;
	background: #fff; border-radius: 12px; padding: 8px 8px 10px; height: 100%; box-sizing: border-box;
}
.home-mini:hover { text-decoration: none; }
.home-mini__media { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: #fff; }
.home-mini__media img { display: block; width: 100%; height: 100%; object-fit: contain; }
.home-mini__heart {
	position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; padding: 0;
	border: 0; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 1px 4px rgba(0,0,0,.12); color: #1d252c; cursor: pointer;
}
.home-mini__heart svg { fill: currentColor; }
.home-mini__heart.is-saved { color: #d7373f; }
.home-mini__price { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 4px; height: 20px; overflow: hidden; }
.home-mini__now { font-size: 16px; line-height: 20px; font-weight: 700; color: #1f7a34; }
.home-mini__now .woocommerce-Price-amount { font-weight: 700; color: inherit; }
.home-mini__current { font-size: 16px; line-height: 20px; font-weight: 700; color: #1d252c; }
.home-mini__was { font-size: 12px; line-height: 16px; color: #6b7280; text-decoration: line-through; }
.home-mini__name { font-size: 12px; line-height: 16px; color: #3d4652; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 32px; }
.home-mini:hover .home-mini__name { text-decoration: underline; }
.home-boards .bb-carousel__arrow--prev { left: 4px; }
.home-boards .bb-carousel__arrow--next { right: 4px; }
@media (max-width: 991px) {
	.home-board {
		flex: 0 0 100%;
		width: 100%;
		min-width: 0;
		max-width: 100%;
		margin-right: 12px;
	}
	.home-board__title { min-width: 0; }
	.home-board__grid > li { min-width: 0; }
}
.badges-story { background: #fff; border: 1px solid #eceff3; }
.badges-story__head {
	display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
	padding: 18px 18px 14px; border-bottom: 1px solid #f2f3f5;
}
.badges-story__titles { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.badge-chip {
	display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px;
	background: #f4f1ea; color: #5c5346; white-space: nowrap; font-size: 12px; line-height: 16px; font-weight: 600;
}
.badge-chip svg { fill: #8a7340; color: #8a7340; }
.badges-story__title { margin: 0; font-size: 18px; line-height: 22px; font-weight: 500; color: #1d252c; }
.badges-story__note { margin: 0; font-size: 13px; line-height: 18px; color: #6b7280; }
.badges-story__more { flex-shrink: 0; font-size: 14px; line-height: 18px; font-weight: 500; color: #1d252c; text-decoration: none; padding-top: 2px; }
.badges-story__more:hover { text-decoration: underline; }
.badges-story__body { padding: 14px 12px 16px; }
.badges-story__item { width: 188px; }
.badges-story__item + .badges-story__item { margin-left: 10px; }
.badges-story .pc--home {
	height: 100%; box-sizing: border-box; padding: 8px 8px 12px; border-radius: 12px;
	background: #fff; border: 1px solid #eef0f3;
	transition: border-color .2s, box-shadow .2s;
}
.badges-story .pc--home:hover { border-color: #e2e5ea; box-shadow: 0 8px 20px rgba(29, 37, 44, .06); }
.badges-story .pc--home .pc__image { height: 132px; margin-bottom: 10px; background: #f6f7f8; border-radius: 8px; }
.badges-story .pc--home .pc__title { height: auto; min-height: 36px; margin-bottom: 6px; }
.badges-story .pc--home .pc__title-link span { font-size: 13px; line-height: 17px; -webkit-line-clamp: 2; }
.badges-story .bb-carousel__arrow--prev { left: 2px; }
.badges-story .bb-carousel__arrow--next { right: 2px; }
@media (max-width: 991px) {
	.badges-story__head { padding: 16px; }
	.badges-story__item { width: 160px; }
	.badges-story .pc--home .pc__image { height: 112px; }
}

/* ---------- Row 16: drops teaser ---------- */
.drops { background: linear-gradient(135deg, #141d23 0%, #22272f 60%, #001e73 100%); color: #fbfbfb; }
.drops__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 40px; }
.drops__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; max-width: 560px; }
.drops__eyebrow { display: inline-block; padding: 4px 8px; border-radius: 4px; background: #fff200; color: #030303; }
.drops__title { font-size: 28px; line-height: 32px; font-weight: 500; margin: 8px 0 0; color: #fbfbfb; }
.drops__sub { margin: 0; color: #e4e5e8; }
.drops__cta { margin-top: 8px; }
.drops__media { flex-shrink: 0; width: 240px; height: 240px; border-radius: 16px; overflow: hidden; }
.drops__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 991px) {
	.drops__inner { flex-direction: column; align-items: flex-start; padding: 24px 16px; }
	.drops__media { width: 100%; height: auto; aspect-ratio: 1 / 1; max-width: 320px; }
	.drops__title { font-size: 24px; line-height: 28px; }
}

/* ---------- Row 18: sponsored grid + discover epilogue ---------- */
.sponsored-text-info { color: #70757d; font-size: 10px; line-height: 12px; }
.sponsored-grid__list { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; }
.sponsored-grid__item { min-width: 0; }
.discover-epilogue__list { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.discover-card__link { display: flex; flex-direction: column; gap: 4px; }
.discover-card__img { aspect-ratio: 16 / 9; background: var(--colorBgDefaultSubdued); margin-bottom: 8px; }
.discover-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.discover-card__link:hover .discover-card__title { text-decoration: underline; }
@media (max-width: 639px) {
	.discover-epilogue__list { grid-template-columns: 1fr; }
}

/* ---------- Row 21: value proposition ---------- */
.value-prop__list { list-style: none; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.value-prop__item { display: flex; gap: 12px; align-items: flex-start; }
.value-prop__icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--colorBgPrimary); color: var(--colorFgPrimary); display: flex; align-items: center; justify-content: center; }
.value-prop__copy { display: flex; flex-direction: column; gap: 4px; }
@media (max-width: 991px) { .value-prop__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .value-prop__list { grid-template-columns: 1fr; } }

/* ---------- Row 23: disclaimer ---------- */
.sale-event-disclaimer p { margin: 0; }

/* =========================================================================
   Tech Zone: dark, high-tech spotlight for Electronics + Video Games
   ========================================================================= */
.tech-zone {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	background:
		radial-gradient(900px 420px at 85% -10%, rgba(46, 230, 200, .18), transparent 60%),
		radial-gradient(700px 420px at 8% 110%, rgba(0, 110, 255, .28), transparent 55%),
		linear-gradient(135deg, #040d33 0%, #06184f 48%, #02102e 100%);
	color: #fff;
	isolation: isolate;
}
.tech-zone__grid {
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
	background-size: 44px 44px;
	-webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 85%);
	mask-image: radial-gradient(120% 90% at 50% 0%, #000 30%, transparent 85%);
}
.tech-zone__glow {
	position: absolute; z-index: 0; pointer-events: none;
	top: -140px; left: 50%; transform: translateX(-50%);
	width: 680px; height: 280px; border-radius: 50%;
	background: radial-gradient(closest-side, rgba(46, 230, 200, .22), transparent);
	filter: blur(10px);
	animation: tz-breathe 6s ease-in-out infinite;
}
@keyframes tz-breathe { 0%, 100% { opacity: .65; } 50% { opacity: 1; } }

.tech-zone__inner { position: relative; z-index: 1; padding: 40px 32px 36px; }

/* Head */
.tech-zone__head { text-align: center; max-width: 720px; margin: 0 auto 28px; }
.tech-zone__eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	color: #2ee6c8; border: 1px solid rgba(46, 230, 200, .45); border-radius: 999px;
	padding: 6px 14px; background: rgba(46, 230, 200, .08);
}
.tech-zone__eyebrow::before {
	content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2ee6c8;
	box-shadow: 0 0 0 0 rgba(46, 230, 200, .6); animation: tz-ping 1.8s ease-out infinite;
}
@keyframes tz-ping { 0% { box-shadow: 0 0 0 0 rgba(46, 230, 200, .55); } 70% { box-shadow: 0 0 0 8px rgba(46, 230, 200, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 230, 200, 0); } }
.tech-zone__title { margin: 16px 0 10px; font-size: 36px; line-height: 1.15; font-weight: 500; color: #fff; }
.tech-zone__title em {
	font-style: normal;
	background: linear-gradient(90deg, #2ee6c8, #6ea8ff);
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.tech-zone__sub { margin: 0; font-size: 15px; line-height: 22px; color: rgba(255, 255, 255, .72); }

/* Department spotlights */
.tech-zone__duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.tech-zone__spot {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 24px; border-radius: 14px; text-decoration: none;
	border: 1px solid rgba(255, 255, 255, .13);
	background: linear-gradient(145deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.tech-zone__spot:hover {
	border-color: rgba(46, 230, 200, .65);
	transform: translateY(-3px);
	box-shadow: 0 14px 40px rgba(0, 0, 0, .45), 0 0 24px rgba(46, 230, 200, .12);
	text-decoration: none;
}
.tech-zone__spot-info { min-width: 0; }
.tech-zone__spot-kicker { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.tech-zone__spot-name { margin: 6px 0 4px; font-size: 26px; line-height: 1.2; font-weight: 500; color: #fff; }
.tech-zone__spot-tag { margin: 0 0 4px; font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, .72); }
.tech-zone__spot-count { margin: 0 0 14px; font-size: 13px; line-height: 18px; color: #2ee6c8; }
.tech-zone__spot-cta {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 14px; font-weight: 600; color: #001e73;
	background: #ffe300; border-radius: 999px; padding: 9px 16px;
	transition: background .2s;
}
.tech-zone__spot:hover .tech-zone__spot-cta { background: #fff04d; }
.tech-zone__spot-cta svg { fill: currentColor; }
.tech-zone__spot-media { position: relative; flex-shrink: 0; width: 150px; }
.tech-zone__spot-media img {
	display: block; width: 150px; height: 150px; object-fit: contain;
	background: #fff; border-radius: 12px; padding: 8px; box-sizing: border-box;
	filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .5));
	transition: transform .25s;
}
.tech-zone__spot:hover .tech-zone__spot-media img { transform: scale(1.05) rotate(-1deg); }
.tech-zone__spot-badge {
	position: absolute; top: -10px; left: -10px; z-index: 1;
	background: #d7373f; color: #fff; font-size: 12px; font-weight: 700;
	border-radius: 999px; padding: 4px 9px; box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
}

/* Featured rail */
.tech-zone__rail-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.tech-zone__rail-title { margin: 0; font-size: 18px; line-height: 24px; font-weight: 500; color: #fff; }
.tech-zone__rail-link { font-size: 14px; color: #9fc3ff; text-decoration: none; }
.tech-zone__rail-link:hover { color: #fff; text-decoration: underline; }
.tech-zone__item + .tech-zone__item { margin-left: 12px; }

/* Dark product cards */
.pc--tech {
	display: flex; flex-direction: column; width: 196px; height: 100%;
	padding: 10px; box-sizing: border-box; border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, .13);
	background: rgba(255, 255, 255, .06);
	transition: border-color .2s, transform .2s, box-shadow .2s;
}
.pc--tech:hover { border-color: rgba(46, 230, 200, .6); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0, 0, 0, .4); }
.pc--tech .pc__image { position: relative; background: #fff; border-radius: 10px; padding: 8px; }
.pc--tech .pc__img { display: block; width: 100%; height: 150px; object-fit: contain; }
.pc--tech .pc__info { display: flex; flex-direction: column; gap: 6px; padding: 10px 2px 2px; flex: 1 1 auto; }
.pc--tech .pc__title-link span {
	color: #fff; font-size: 13px; line-height: 17px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.pc--tech .pc__title-link:hover span { text-decoration: underline; }
.pc--tech .bb-stars svg { fill: #ffe300; }
.pc--tech .bb-stars__count, .pc--tech .pc__not-reviewed { color: rgba(255, 255, 255, .6); font-size: 12px; }
.pc--tech .pc__price { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.pc--tech .pc__price-current { color: #ffe300; font-size: 18px; line-height: 22px; font-weight: 700; }
.pc--tech .pc__price-current .woocommerce-Price-amount { color: inherit; }
.pc--tech .pc__price-regular { color: rgba(255, 255, 255, .55); font-size: 12px; text-decoration: line-through; }
.pc--tech .pc__savings { color: #2ee6c8; font-size: 12px; font-weight: 600; }
.pc--tech .pc__atc { margin-top: 10px; }
.pc--tech .pc__atc-btn {
	display: flex; align-items: center; justify-content: center; width: 100%;
	background: #ffe300 !important; color: #001e73 !important; border: none !important;
	border-radius: 999px; font-weight: 600; font-size: 13px; padding: 9px 0; text-decoration: none;
}
.pc--tech .pc__atc-btn:hover { background: #fff04d !important; }

/* Responsive */
@media (max-width: 991px) {
	.tech-zone__inner { padding: 32px 16px 28px; }
	.tech-zone__title { font-size: 28px; }
	.tech-zone__duo { grid-template-columns: 1fr; gap: 12px; }
	.tech-zone__spot { padding: 18px; }
	.tech-zone__spot-name { font-size: 22px; }
	.tech-zone__spot-media, .tech-zone__spot-media img { width: 112px; }
	.tech-zone__spot-media img { height: 112px; }
	.pc--tech { width: 168px; }
	.pc--tech .pc__img { height: 124px; }
}

/* ---------- Clearance event (replaces Deal of the Day) ---------- */
.clearance { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid #e6ebf2; }
.clearance__band {
	display: flex; align-items: center; justify-content: space-between; gap: 28px;
	padding: 28px 32px;
	background:
		radial-gradient(520px 200px at 100% 0%, rgba(255, 227, 0, .22), transparent 62%),
		linear-gradient(105deg, #001e73 0%, #0046be 58%, #0b63e0 100%);
	color: #fff;
}
.clearance__copy { min-width: 0; max-width: 640px; }
.clearance__eyebrow {
	display: inline-block; background: #ffe300; color: #001e73;
	font-size: 11px; line-height: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	border-radius: 999px; padding: 5px 12px;
}
.clearance__title { margin: 12px 0 6px; font-size: 30px; line-height: 1.15; font-weight: 500; color: #fff; }
.clearance__sub { margin: 0; font-size: 15px; line-height: 22px; color: rgba(255, 255, 255, .82); }
.clearance__clock {
	display: flex; align-items: flex-start; gap: 8px; flex-shrink: 0;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 14px; padding: 12px 14px;
}
.clearance__unit { min-width: 58px; text-align: center; }
.clearance__num {
	display: block; font-size: 26px; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums;
	background: #fff; color: #001e73; border-radius: 8px; padding: 10px 0;
}
.clearance__lbl { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.clearance__sep { color: #ffe300; font-size: 22px; font-weight: 600; line-height: 1; margin-top: 8px; }
.clearance__rail { padding: 20px 16px 24px; }
.clearance__item { width: 210px; }
.clearance__item + .clearance__item { margin-left: 12px; }
.clearance__item .pc {
	height: 100%; box-sizing: border-box; padding: 10px; border: 1px solid #eef1f6; border-radius: 12px;
	transition: border-color .2s, box-shadow .2s;
}
.clearance__item .pc:hover { border-color: #c5d4f5; box-shadow: 0 8px 24px rgba(0, 30, 115, .08); }
.clearance__item .pc__image { height: 148px; margin-bottom: 10px; background: #f6f8fb; border-radius: 10px; }
.clearance__rail .bb-carousel__arrow--prev { left: 4px; }
.clearance__rail .bb-carousel__arrow--next { right: 4px; }
@media (max-width: 991px) {
	.clearance__band { flex-direction: column; align-items: stretch; gap: 18px; padding: 22px 16px; }
	.clearance__title { font-size: 24px; }
	.clearance__clock { justify-content: space-between; }
	.clearance__unit { flex: 1 1 0; min-width: 0; }
	.clearance__item { width: 168px; }
	.clearance__item .pc__image { height: 112px; }
}
