/* =========================================================
   WPX Black Friday Deals — frontend
   ========================================================= */
:root {
	--bf-bg: #07070a;
	--bf-surface: #111117;
	--bf-surface-2: #18181f;
	--bf-line: rgba(255, 255, 255, .08);
	--bf-text: #f4f4f6;
	--bf-muted: #9a9aa8;
	--bf-red: #ff2d3d;
	--bf-orange: #ff6a1a;
	--bf-gold: #ffc933;
	--bf-hot: linear-gradient(135deg, #ff2d3d 0%, #ff6a1a 100%);
	--bf-display: "Anton", "Bebas Neue", Impact, "Arial Narrow", sans-serif;
	--bf-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------------- Sitewide top bar ---------------- */
.wpxbf-bar {
	position: relative; z-index: 99990; overflow: hidden;
	background: #050507; color: #fff; font-family: var(--bf-body);
	border-bottom: 1px solid rgba(255, 201, 51, .25);
}
.wpxbf-bar__glow {
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(90deg, rgba(255,45,61,.0) 0%, rgba(255,45,61,.35) 30%, rgba(255,106,26,.35) 50%, rgba(255,201,51,.25) 70%, rgba(255,45,61,0) 100%);
	background-size: 200% 100%; animation: wpxbf-sweep 6s linear infinite;
}
.wpxbf-bar__inner {
	position: relative; display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
	gap: 10px 16px; max-width: 1280px; margin: 0 auto; padding: 9px 48px; font-size: 14px; line-height: 1.3;
}
.wpxbf-bar__pill {
	background: var(--bf-gold); color: #111; font-weight: 900; font-size: 11px; letter-spacing: .14em;
	padding: 4px 9px; border-radius: 4px;
}
.wpxbf-bar__text { font-weight: 700; letter-spacing: .01em; }
.wpxbf-bar__timer { color: var(--bf-gold); font-weight: 600; font-variant-numeric: tabular-nums; }
.wpxbf-bar__timer b { font-weight: 800; }
.wpxbf-bar__cta {
	display: inline-flex; align-items: center; gap: 6px; background: var(--bf-hot); color: #fff !important;
	text-decoration: none !important; font-weight: 800; padding: 7px 14px; border-radius: 99px; font-size: 13px;
	box-shadow: 0 4px 18px rgba(255, 45, 61, .45); transition: transform .15s ease;
}
.wpxbf-bar__cta:hover { transform: translateY(-1px) scale(1.03); }
.wpxbf-bar__close {
	position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
	background: transparent; border: 0; color: #fff; opacity: .6; font-size: 22px; line-height: 1; cursor: pointer; padding: 4px 8px;
}
.wpxbf-bar__close:hover { opacity: 1; }
.wpxbf-bar.is-hidden { display: none; }

/* ---------------- Floating button ---------------- */
.wpxbf-float {
	position: fixed; z-index: 99991;
	--wpxbf-gap: 24px; --wpxbf-top: 0px; --wpxbf-tx: 0; --wpxbf-ty: 0;
	transform: translate(var(--wpxbf-tx), var(--wpxbf-ty)); display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 22px 14px 16px; border-radius: 99px; text-decoration: none !important;
	background: #0b0b0f; color: #fff !important; font-family: var(--bf-body); font-weight: 800; font-size: 15px;
	border: 2px solid transparent;
	background-image: linear-gradient(#0b0b0f, #0b0b0f), linear-gradient(135deg, #ffc933, #ff2d3d, #ff6a1a);
	background-origin: border-box; background-clip: padding-box, border-box;
	box-shadow: 0 10px 30px rgba(255, 45, 61, .45), 0 0 0 0 rgba(255, 45, 61, .6);
	animation: wpxbf-pulse 2.2s ease-out infinite; transition: transform .2s ease, top .15s ease-out;
}
/* 8 positions */
.wpxbf-float--top-left, .wpxbf-float--top-middle, .wpxbf-float--top-right { top: calc(var(--wpxbf-gap) + var(--wpxbf-top)); }
.wpxbf-float--bottom-left, .wpxbf-float--bottom-middle, .wpxbf-float--bottom-right { bottom: var(--wpxbf-gap); }
.wpxbf-float--middle-left, .wpxbf-float--middle-right { top: 50%; --wpxbf-ty: -50%; }
.wpxbf-float--top-left, .wpxbf-float--middle-left, .wpxbf-float--bottom-left { left: var(--wpxbf-gap); }
.wpxbf-float--top-right, .wpxbf-float--middle-right, .wpxbf-float--bottom-right { right: var(--wpxbf-gap); }
.wpxbf-float--top-middle, .wpxbf-float--bottom-middle { left: 50%; --wpxbf-tx: -50%; }
body.admin-bar .wpxbf-float { --wpxbf-top: 32px; }
.wpxbf-float:hover { transform: translate(var(--wpxbf-tx), calc(var(--wpxbf-ty) - 3px)) scale(1.04); }
/* Left-side buttons: badge on the outer (right) corner still reads fine; top buttons: badge below */
.wpxbf-float--top-left .wpxbf-float__badge, .wpxbf-float--top-middle .wpxbf-float__badge, .wpxbf-float--top-right .wpxbf-float__badge { top: auto; bottom: -12px; }
@media (max-width: 782px) { body.admin-bar .wpxbf-float { --wpxbf-top: 46px; } }
.wpxbf-float__icon { font-size: 22px; animation: wpxbf-wiggle 1.6s ease-in-out infinite; }
.wpxbf-float__text { white-space: nowrap; }
.wpxbf-float__badge {
	position: absolute; top: -12px; right: -6px; background: var(--bf-gold); color: #111; font-weight: 900; font-size: 12px;
	padding: 3px 8px; border-radius: 99px; box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
}

/* ---------------- Landing wrapper ---------------- */
body.wpxbf-fullpage { margin: 0; background: var(--bf-bg); }
.wpxbf-topnav {
	display: flex; justify-content: space-between; align-items: center; padding: 14px 28px;
	background: var(--bf-bg); border-bottom: 1px solid var(--bf-line); font-family: var(--bf-body);
}
.wpxbf-topnav a { color: #fff !important; text-decoration: none !important; font-weight: 700; }
.wpxbf-topnav__home { opacity: .65; font-size: 14px; font-weight: 500 !important; }
.wpxbf-topnav__home:hover { opacity: 1; }

.wpxbf, .wpxbf * { box-sizing: border-box; }
.wpxbf {
	background: var(--bf-bg); color: var(--bf-text); font-family: var(--bf-body); font-size: 15px; line-height: 1.5;
	-webkit-font-smoothing: antialiased; overflow: hidden;
}
.wpxbf a { color: inherit; text-decoration: none; }
.wpxbf h1, .wpxbf h2, .wpxbf h3 { margin: 0; padding: 0; color: inherit; border: 0; text-transform: none; letter-spacing: normal; }
.wpxbf img { max-width: 100%; height: auto; border: 0; box-shadow: none; }

/* Admin-only preview notice (view disabled) */
.wpxbf-preview {
	display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 8px; padding: 12px 20px; text-align: center;
	background: repeating-linear-gradient(135deg, #2a2205 0 14px, #231c04 14px 28px); color: #ffe7a3; font-size: 14px;
	border-bottom: 1px solid rgba(255, 201, 51, .35);
}
.wpxbf-preview strong { color: var(--bf-gold); }
.wpxbf-preview a { color: #fff !important; font-weight: 800; text-decoration: underline !important; }
.wpxbf-preview__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--bf-red); box-shadow: 0 0 0 4px rgba(255,45,61,.25); }

/* ---------------- Hero ---------------- */
.wpxbf-hero { position: relative; padding: 70px 24px 46px; text-align: center; isolation: isolate; }
.wpxbf-hero--small { padding: 48px 24px 34px; }
.wpxbf-hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden;
	background:
		radial-gradient(ellipse 60% 55% at 50% 0%, rgba(255, 45, 61, .30), transparent 70%),
		repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 26px);
}
.wpxbf-hero__bg span { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: wpxbf-float-blob 12s ease-in-out infinite; }
.wpxbf-hero__bg span:nth-child(1) { width: 380px; height: 380px; left: -80px; top: 40px; background: #ff2d3d; }
.wpxbf-hero__bg span:nth-child(2) { width: 320px; height: 320px; right: -60px; top: -40px; background: #ff6a1a; animation-delay: -4s; }
.wpxbf-hero__bg span:nth-child(3) { width: 260px; height: 260px; left: 45%; bottom: -160px; background: #ffc933; opacity: .25; animation-delay: -8s; }
.wpxbf-hero__inner { position: relative; max-width: 1100px; margin: 0 auto; }
.wpxbf-hero__kicker {
	display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .18em;
	padding: 7px 14px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid var(--bf-line); color: #fff;
}
.wpxbf-hero__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #22e36b; box-shadow: 0 0 0 0 rgba(34,227,107,.7); animation: wpxbf-live 1.6s infinite; }
.wpxbf-hero__title {
	font-family: var(--bf-display) !important; font-weight: 400 !important; font-size: clamp(56px, 11vw, 148px) !important;
	line-height: .92 !important; letter-spacing: .01em !important; margin: 22px 0 14px !important; text-transform: uppercase !important;
	color: #fff; text-shadow: 0 6px 40px rgba(255, 45, 61, .35);
}
.wpxbf-hero--small .wpxbf-hero__title { font-size: clamp(40px, 7vw, 92px) !important; }
.wpxbf-hero__title .yr {
	display: inline-block; background: linear-gradient(180deg, #ffe27a 0%, #ffc933 45%, #ff8a1a 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
	filter: drop-shadow(0 6px 26px rgba(255, 170, 40, .4));
}
.wpxbf-hero__sub { max-width: 640px; margin: 0 auto; color: #c9c9d3; font-size: 18px; }
.wpxbf-hero__row { display: flex; justify-content: center; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 34px; }

.wpxbf-sticker {
	width: 132px; height: 132px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
	background: var(--bf-hot); color: #fff; transform: rotate(-10deg); box-shadow: 0 14px 40px rgba(255,45,61,.5), inset 0 0 0 4px rgba(255,255,255,.18);
	animation: wpxbf-bob 3s ease-in-out infinite;
}
.wpxbf-sticker small { font-weight: 900; font-size: 12px; letter-spacing: .16em; }
.wpxbf-sticker strong { font-family: var(--bf-display); font-weight: 400; font-size: 44px; line-height: 1; margin: 2px 0; }

.wpxbf-countdown { background: rgba(255,255,255,.04); border: 1px solid var(--bf-line); border-radius: 18px; padding: 14px 18px 16px; backdrop-filter: blur(6px); }
.wpxbf-countdown__label { font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--bf-gold); margin-bottom: 10px; }
.wpxbf-countdown__boxes { display: flex; gap: 10px; }
.wpxbf-countdown__boxes div { width: 76px; padding: 10px 0 8px; border-radius: 12px; background: #000; border: 1px solid rgba(255,255,255,.1); }
.wpxbf-countdown__boxes b { display: block; font-family: var(--bf-display); font-weight: 400; font-size: 38px; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.wpxbf-countdown__boxes span { display: block; font-size: 11px; color: var(--bf-muted); text-transform: uppercase; letter-spacing: .12em; margin-top: 4px; }

.wpxbf-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.wpxbf-chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 99px; font-weight: 700; font-size: 14px;
	background: var(--bf-surface); border: 1px solid var(--bf-line); color: #fff; transition: all .18s ease;
}
.wpxbf-chip em { font-style: normal; color: var(--bf-gold); font-weight: 800; }
.wpxbf-chip:hover { border-color: var(--bf-red); background: #1b0d10; transform: translateY(-2px); }

/* ---------------- Main ---------------- */
.wpxbf-main { max-width: 1240px; margin: 0 auto; padding: 10px 24px 60px; }
.wpxbf-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.wpxbf-section-head h2 { font-family: var(--bf-display); font-weight: 400; font-size: clamp(30px, 4vw, 44px); line-height: 1; text-transform: uppercase; letter-spacing: .01em; display: flex; align-items: center; gap: 12px; }
.wpxbf-flame, .wpxbf-cat__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--bf-hot); font-size: 24px; font-family: var(--bf-body); box-shadow: 0 8px 24px rgba(255,45,61,.35); }
.wpxbf-cat__meta { display: flex; gap: 10px; align-items: center; }
.wpxbf-upto { background: rgba(255,201,51,.12); color: var(--bf-gold); border: 1px solid rgba(255,201,51,.35); font-weight: 800; padding: 6px 12px; border-radius: 99px; font-size: 13px; }
.wpxbf-cnt { color: var(--bf-muted); font-size: 13px; font-weight: 600; }

/* ---------------- Slider ---------------- */
.wpxbf-slider { position: relative; margin: 18px 0 64px; padding: 26px; border-radius: 26px;
	background: linear-gradient(180deg, #16161d 0%, #0e0e13 100%); border: 1px solid var(--bf-line);
	box-shadow: 0 30px 80px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.05); }
.wpxbf-slider::before { content: ""; position: absolute; inset: -1px; border-radius: 26px; padding: 1px; pointer-events: none;
	background: linear-gradient(120deg, rgba(255,201,51,.6), rgba(255,45,61,.0) 35%, rgba(255,45,61,0) 65%, rgba(255,106,26,.6));
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.wpxbf-slider__nav { display: flex; gap: 8px; }
.wpxbf-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--bf-line); background: #000; color: #fff; font-size: 26px; line-height: 1; cursor: pointer; transition: all .15s; padding: 0; }
.wpxbf-arrow:hover { background: var(--bf-red); border-color: var(--bf-red); }
.wpxbf-slider__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 54px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.wpxbf-slider__track::-webkit-scrollbar { display: none; }
.wpxbf-slide { scroll-snap-align: start; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #0a0a0e; border: 1px solid var(--bf-line); transition: transform .2s ease, border-color .2s; }
.wpxbf-slide:hover { transform: translateY(-4px); border-color: rgba(255,45,61,.6); }
.wpxbf-slide__media { position: relative; display: flex; align-items: center; justify-content: center; height: 220px; background: #fff; padding: 18px; }
.wpxbf-slide__media img { max-height: 184px; width: auto; object-fit: contain; transition: transform .3s ease; }
.wpxbf-slide:hover .wpxbf-slide__media img { transform: scale(1.06); }
.wpxbf-ribbon { position: absolute; top: 12px; left: 12px; background: var(--bf-hot); color: #fff; font-family: var(--bf-display); font-size: 26px; line-height: 1; padding: 8px 12px 6px; border-radius: 10px; box-shadow: 0 8px 18px rgba(255,45,61,.45); z-index: 1; }
.wpxbf-slide__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.wpxbf-slide__cat { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--bf-orange); }
.wpxbf-slide__body h3 { font-size: 15px !important; font-weight: 700 !important; line-height: 1.35 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.wpxbf-slide__body .wpxbf-btn { margin-top: auto; }
.wpxbf-slider__dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.wpxbf-slider__dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.2); cursor: pointer; transition: all .2s; }
.wpxbf-slider__dots button.is-active { width: 26px; background: var(--bf-gold); }

/* ---------------- Category grid (2 columns) ---------------- */
.wpxbf-cat { margin: 0 0 70px; scroll-margin-top: 90px; }
.wpxbf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }

.wpxbf-card--row {
	position: relative; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 0; overflow: hidden;
	background: linear-gradient(180deg, var(--bf-surface-2), var(--bf-surface)); border: 1px solid var(--bf-line); border-radius: 20px;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.wpxbf-card--row:hover { transform: translateY(-3px); border-color: rgba(255,45,61,.55); box-shadow: 0 18px 46px rgba(255,45,61,.16); }
.wpxbf-card__media { position: relative; display: flex; align-items: center; justify-content: center; background: #fff; padding: 20px; min-height: 210px; }
.wpxbf-card__media img { max-height: 170px; width: auto; object-fit: contain; transition: transform .3s ease; }
.wpxbf-card--row:hover .wpxbf-card__media img { transform: scale(1.06); }
.wpxbf-off { position: absolute; top: 10px; left: 10px; z-index: 1; display: flex; flex-direction: column; align-items: center; line-height: 1;
	background: var(--bf-hot); color: #fff; padding: 8px 9px 6px; border-radius: 12px; box-shadow: 0 6px 16px rgba(255,45,61,.4); }
.wpxbf-off b { font-family: var(--bf-display); font-weight: 400; font-size: 24px; }
.wpxbf-off small { font-size: 9px; font-weight: 900; letter-spacing: .16em; margin-top: 2px; }
.wpxbf-rank { position: absolute; bottom: 10px; left: 10px; background: #000; color: var(--bf-gold); font-weight: 900; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.wpxbf-card__body { padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wpxbf-dealtag { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--bf-gold); background: rgba(255,201,51,.1); border: 1px solid rgba(255,201,51,.3); padding: 3px 8px; border-radius: 6px; }
.wpxbf-card__brand { font-size: 12px; color: var(--bf-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.wpxbf-card__title { font-size: 16px !important; font-weight: 700 !important; line-height: 1.35 !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wpxbf-card__title a:hover { color: var(--bf-gold); }
.wpxbf-card__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.wpxbf-card__price strong { font-size: 26px; font-weight: 900; color: #fff; letter-spacing: -.01em; }
.wpxbf-card__price s { color: var(--bf-muted); font-size: 15px; }
.wpxbf-card__save { font-size: 13px; font-weight: 700; color: #22e36b; }
.wpxbf-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: auto; padding: 12px 18px; border-radius: 12px;
	background: var(--bf-hot); color: #fff !important; font-weight: 800; font-size: 14px; text-decoration: none !important;
	box-shadow: 0 8px 22px rgba(255,45,61,.32); transition: transform .15s ease, box-shadow .15s ease, filter .15s;
}
.wpxbf-btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 12px 28px rgba(255,45,61,.45); }
.wpxbf-btn--gold { background: linear-gradient(135deg, #ffd85a, #ffb21a); color: #111 !important; box-shadow: 0 8px 22px rgba(255,190,40,.3); }

.wpxbf-more { display: flex; justify-content: center; margin-top: 26px; }
.wpxbf-more__btn {
	display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; border-radius: 99px; font-weight: 800; font-size: 16px;
	color: #111 !important; background: linear-gradient(135deg, #ffe27a, #ffc933 50%, #ff9a1a); box-shadow: 0 12px 34px rgba(255,190,40,.3);
	transition: transform .15s ease, box-shadow .15s ease;
}
.wpxbf-more__btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 40px rgba(255,190,40,.45); }

.wpxbf-back { display: inline-block; margin: 0 0 22px; color: var(--bf-muted) !important; font-weight: 600; }
.wpxbf-back:hover { color: #fff !important; }

.wpxbf-empty { padding: 60px 24px; text-align: center; border: 2px dashed rgba(255,255,255,.15); border-radius: 20px; color: var(--bf-muted); font-size: 16px; margin: 20px 0 60px; }
.wpxbf-disclosure { border-top: 1px solid var(--bf-line); padding-top: 22px; color: #77778a; font-size: 12px; line-height: 1.6; }
.wpxbf-disclosure p { margin: 0 0 6px; }

/* "View more" promo tile (fills the odd grid cell) */
.wpxbf-more-tile {
	position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
	border-radius: 20px; padding: 28px; color: #111 !important; min-height: 100%;
	background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.35), transparent 40%), linear-gradient(135deg, #ffe27a 0%, #ffc933 45%, #ff8a1a 100%);
	box-shadow: 0 18px 46px rgba(255,190,40,.18); transition: transform .2s ease, box-shadow .2s ease;
}
.wpxbf-more-tile:hover { transform: translateY(-3px); box-shadow: 0 22px 54px rgba(255,190,40,.32); }
.wpxbf-more-tile__big { font-family: var(--bf-display); font-size: 64px; line-height: .9; }
.wpxbf-more-tile__label { font-family: var(--bf-display); font-size: 30px; line-height: 1; text-transform: uppercase; }
.wpxbf-more-tile__sub { font-weight: 700; font-size: 14px; opacity: .8; }
.wpxbf-more-tile__go { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; background: #0b0b0f; color: #fff; font-weight: 800; padding: 12px 22px; border-radius: 99px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
	.wpxbf-slider__track { grid-auto-columns: calc((100% - 36px) / 3); }
}
@media (max-width: 860px) {
	.wpxbf-grid { grid-template-columns: 1fr; }
	.wpxbf-slider__track { grid-auto-columns: calc((100% - 18px) / 2); }
}
@media (max-width: 560px) {
	.wpxbf-hero { padding: 48px 16px 34px; }
	.wpxbf-main { padding: 0 14px 40px; }
	.wpxbf-slider { padding: 16px; border-radius: 18px; }
	.wpxbf-slider__track { grid-auto-columns: 78%; }
	.wpxbf-card--row { grid-template-columns: 120px minmax(0, 1fr); }
	.wpxbf-card__media { min-height: 150px; padding: 10px; }
	.wpxbf-card__media img { max-height: 110px; }
	.wpxbf-card__body { padding: 12px 14px; }
	.wpxbf-card__price strong { font-size: 21px; }
	.wpxbf-countdown__boxes div { width: 62px; }
	.wpxbf-sticker { width: 104px; height: 104px; }
	.wpxbf-sticker strong { font-size: 40px; }
	.wpxbf-bar__inner { padding: 7px 36px 7px 12px; font-size: 12px; justify-content: space-between; flex-wrap: nowrap; gap: 10px; }
	.wpxbf-bar__pill, .wpxbf-bar__timer { display: none; }
	.wpxbf-bar__text { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
	.wpxbf-bar__cta { flex: none; padding: 6px 11px; font-size: 12px; }
	.wpxbf-sticker strong { font-size: 34px; }
	.wpxbf-more-tile { min-height: 160px; }
	.wpxbf-float { --wpxbf-gap: 16px; padding: 12px 16px 12px 12px; font-size: 14px; }
	/* Middle-side positions turn into a round icon on phones so they don't cover the content. */
	.wpxbf-float--middle-left, .wpxbf-float--middle-right { padding: 12px; }
	.wpxbf-float--middle-left .wpxbf-float__text, .wpxbf-float--middle-right .wpxbf-float__text { display: none; }
	.wpxbf-float--middle-left { left: 10px; }
	.wpxbf-float--middle-right { right: 10px; }
}

/* ---------------- Animations ---------------- */
@keyframes wpxbf-sweep { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes wpxbf-pulse {
	0% { box-shadow: 0 10px 30px rgba(255,45,61,.45), 0 0 0 0 rgba(255,45,61,.55); }
	70% { box-shadow: 0 10px 30px rgba(255,45,61,.45), 0 0 0 18px rgba(255,45,61,0); }
	100% { box-shadow: 0 10px 30px rgba(255,45,61,.45), 0 0 0 0 rgba(255,45,61,0); }
}
@keyframes wpxbf-wiggle { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-14deg) scale(1.1); } 40% { transform: rotate(10deg); } 60% { transform: rotate(0); } }
@keyframes wpxbf-live { 0% { box-shadow: 0 0 0 0 rgba(34,227,107,.7); } 70% { box-shadow: 0 0 0 10px rgba(34,227,107,0); } 100% { box-shadow: 0 0 0 0 rgba(34,227,107,0); } }
@keyframes wpxbf-bob { 0%, 100% { transform: rotate(-10deg) translateY(0); } 50% { transform: rotate(-6deg) translateY(-6px); } }
@keyframes wpxbf-float-blob { 0%, 100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px, 20px) scale(1.12); } }
@media (prefers-reduced-motion: reduce) {
	.wpxbf *, .wpxbf-float, .wpxbf-float *, .wpxbf-bar * { animation: none !important; transition: none !important; }
}

/* =========================================================
   Today's Best Deals mode (evergreen, after Black Friday)
   ========================================================= */
body.wpxbf-mode-tbd, .wpxbf--tbd {
	--bf-red: #7c5cff;
	--bf-orange: #ff4fa3;
	--bf-hot: linear-gradient(135deg, #6d5dfc 0%, #b14dff 50%, #ff4fa3 100%);
}
body.wpxbf-mode-tbd .wpxbf-bar { border-bottom-color: rgba(177, 77, 255, .35); }
body.wpxbf-mode-tbd .wpxbf-bar__glow { background: linear-gradient(90deg, rgba(109,93,252,0) 0%, rgba(109,93,252,.35) 30%, rgba(255,79,163,.35) 55%, rgba(255,201,51,.2) 75%, rgba(109,93,252,0) 100%); background-size: 200% 100%; }
body.wpxbf-mode-tbd .wpxbf-bar__cta, body.wpxbf-mode-tbd .wpxbf-btn { box-shadow: 0 8px 22px rgba(124, 92, 255, .35); }
body.wpxbf-mode-tbd .wpxbf-float { background-image: linear-gradient(#0b0b12, #0b0b12), linear-gradient(135deg, #ffc933, #b14dff, #ff4fa3); animation-name: wpxbf-pulse-tbd; }
@keyframes wpxbf-pulse-tbd {
	0% { box-shadow: 0 10px 30px rgba(124,92,255,.45), 0 0 0 0 rgba(177,77,255,.55); }
	70% { box-shadow: 0 10px 30px rgba(124,92,255,.45), 0 0 0 18px rgba(177,77,255,0); }
	100% { box-shadow: 0 10px 30px rgba(124,92,255,.45), 0 0 0 0 rgba(177,77,255,0); }
}
.wpxbf--tbd .wpxbf-hero__bg { background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(124, 92, 255, .32), transparent 70%), repeating-linear-gradient(115deg, rgba(255,255,255,.025) 0 2px, transparent 2px 26px); }
.wpxbf--tbd .wpxbf-hero__bg span:nth-child(1) { background: #6d5dfc; }
.wpxbf--tbd .wpxbf-hero__bg span:nth-child(2) { background: #ff4fa3; }
.wpxbf--tbd .wpxbf-hero__bg span:nth-child(3) { background: #22d3ee; opacity: .2; }
.wpxbf--tbd .wpxbf-hero__title { text-shadow: 0 6px 40px rgba(124, 92, 255, .4); }
.wpxbf--tbd .wpxbf-sticker { box-shadow: 0 14px 40px rgba(124,92,255,.5), inset 0 0 0 4px rgba(255,255,255,.18); }
.wpxbf--tbd .wpxbf-off, .wpxbf--tbd .wpxbf-ribbon { box-shadow: 0 6px 16px rgba(124,92,255,.45); }
.wpxbf--tbd .wpxbf-flame, .wpxbf--tbd .wpxbf-cat__icon { box-shadow: 0 8px 24px rgba(124,92,255,.4); }
.wpxbf--tbd .wpxbf-card--row:hover { border-color: rgba(177,77,255,.6); box-shadow: 0 18px 46px rgba(124,92,255,.18); }
.wpxbf--tbd .wpxbf-slide:hover { border-color: rgba(177,77,255,.6); }
.wpxbf--tbd .wpxbf-chip:hover { border-color: #b14dff; background: #160f24; }
.wpxbf--tbd .wpxbf-arrow:hover { background: #7c5cff; border-color: #7c5cff; }
.wpxbf--tbd .wpxbf-slider::before { background: linear-gradient(120deg, rgba(124,92,255,.7), rgba(0,0,0,0) 35%, rgba(0,0,0,0) 65%, rgba(255,79,163,.6)); }
