﻿/**
 * Public Rewards listing â€” marketplace refresh (R22.x)
 * Load with rewards-css.css
 */

.rewards-lp-market {
	--lp-blue: #4B8DF8;
	--lp-blue-dark: #1d4ed8;
	--lp-green: #16a34a;
	--lp-purple: #7c3aed;
	--lp-bg: #f8fafc;
	--lp-ink: #1e293b;
	--lp-muted: #64748b;
	--lp-border: #e2e8f0;
	--lp-radius: 12px;
	--lp-shadow: 0 2px 8px rgba(15, 23, 42, 0.06), 0 6px 20px rgba(15, 23, 42, 0.08);
	font-family: 'Lato', sans-serif;
}

/* Page shell */
.rewards-lp-market.main.ecommerce {
	padding: 0;
	clear: both;
	background: var(--lp-bg);
}

.rewards-lp-market .container--listing {
	min-height: 400px;
}

.rewards-lp-market .page-content {
	background: var(--lp-bg);
	clear: both;
	position: relative;
	z-index: 0;
}

.rewards-lp-market .rewards-list-page-row {
	margin-bottom: 16px;
}

.rewards-lp-top-band {
	padding-top: 0;
	padding-bottom: 0;
	margin-bottom: 0;
}

.rewards-lp-breadcrumb {
	display: block !important;
	margin: 0 0 4px !important;
	padding: 0 !important;
	background: transparent;
	border: none;
}

.rewards-lp-breadcrumb li {
	float: left;
	width: auto;
	font-size: 13px;
	line-height: 1.35;
}

.rewards-lp-sidebar {
	position: relative;
	min-width: 0;
}

@media (min-width: 992px) {
	.rewards-lp-market .rewards-list-page-row {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
	}

	.rewards-lp-market .rewards-list-page-row::before,
	.rewards-lp-market .rewards-list-page-row::after {
		display: none;
	}

	.rewards-lp-market .rewards-lp-top-band {
		flex: 0 0 100%;
		width: 100%;
		max-width: 100%;
		float: none;
	}

	.rewards-lp-market .rewards-lp-sidebar.public_sidebar_listing {
		flex: 0 0 310px;
		width: 310px;
		max-width: 310px;
		float: none;
	}

	.rewards-lp-market .rewards-lp-main {
		flex: 1 1 0;
		width: auto;
		max-width: none;
		min-width: 0;
		float: none;
		padding-left: 30px;
	}

	.rewards-lp-market .rewards-lp-ads.adv-holder {
		flex: 0 0 16.66666667%;
		width: 16.66666667%;
		max-width: 16.66666667%;
		float: none;
	}
}

/* Hero â€” soft color band with embedded search (low glare) */
.rewards-lp-hero {
	position: relative;
	/* visible so search suggestions can float over Sort By below */
	overflow: visible;
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 22px 22px 18px;
	margin-bottom: 18px;
	border-radius: 14px;
	border: 1px solid #c5d4e8;
	background:
		radial-gradient(ellipse 65% 80% at 100% 0%, rgba(134, 239, 172, 0.35) 0%, transparent 55%),
		radial-gradient(ellipse 50% 70% at 0% 100%, rgba(147, 197, 253, 0.4) 0%, transparent 52%),
		linear-gradient(135deg, #e8f0fa 0%, #eef6f1 48%, #f3f0ea 100%);
	box-shadow: 0 4px 16px rgba(51, 65, 85, 0.08);
	z-index: 5;
}

.rewards-lp-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	pointer-events: none;
	border-radius: inherit;
	background:radial-gradient(circle,rgba(238, 174, 202, 1) 0%, rgba(148, 187, 233, 1) 100%);
}

.rewards-lp-hero__top {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
}

.rewards-lp-hero__top-end {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px 12px;
	flex: 0 1 auto;
	min-width: 0;
}

.rewards-lp-hero__copy {
	flex: 1 1 260px;
	min-width: 0;
	align-self: center;
}

.rewards-lp-hero__title {
	margin: 0 0 6px;
	font-size: 22px;
	font-weight: 700;
	color: #000;
	line-height: 1.25;
	text-shadow: none;
}

.rewards-lp-hero__subtitle {
	margin: 0;
	font-size: 14px;
	color: #475569;
	max-width: 520px;
	line-height: 1.5;
}

.rewards-lp-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: stretch;
	flex: 0 1 auto;
}

.rewards-lp-hero__stat {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 112px;
	padding: 10px 12px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(148, 163, 184, 0.35);
	box-shadow: 0 2px 8px rgba(51, 65, 85, 0.06);
}

.rewards-lp-hero__stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 8px;
	font-size: 14px;
	flex-shrink: 0;
}

.rewards-lp-hero__stat-icon--rewards { background: #fef3c7; color: #b45309; }
.rewards-lp-hero__stat-icon--cats { background: #dcfce7; color: #15803d; }
.rewards-lp-hero__stat-icon--city { background: #dbeafe; color: #1d4ed8; }

.rewards-lp-hero__stat-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.rewards-lp-hero__stat-value {
	font-size: 16px;
	font-weight: 700;
	color: var(--lp-ink);
	line-height: 1.15;
}

.rewards-lp-hero__stat-value--city {
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 128px;
}

.rewards-lp-hero__stat-label {
	font-size: 11px;
	font-weight: 500;
	color: var(--lp-muted);
	line-height: 1.2;
	letter-spacing: 0.01em;
}

/* R30.x temp hide â€” left filters + hero Categories count (logic/markup unchanged) */
.rewards-lp-market .rewards-lp-filters {
	display: none !important;
}

.rewards-lp-market .rewards-lp-hero__stat:has(.rewards-lp-hero__stat-icon--cats) {
	display: none !important;
}

/* Search nestled in hero â€” reference pill search */
.rewards-lp-hero__search {
	position: relative;
	z-index: 2;
	width: 100%;
}
.rewards-lp-hero__search .rewards-public-filters-wrap {
	margin: 0 !important;
}
.rewards-lp-hero__search .rewards-public-filters--listing {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 8px;
	width: 100%;
	padding: 6px 6px 6px 10px;
	margin: 0;
	border-radius: 16px !important;
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.9);
	box-shadow: 0 8px 28px rgba(15, 23, 42, 0.14);
}
.rewards-lp-hero__search .rewards-public-filters__cat-col {
	flex: 0 1 170px;
	max-width: 190px;
	min-width: 120px;
	margin: 0;
}
.rewards-lp-hero__search .rewards-public-filters__category-group {
	border: 0;
	box-shadow: none;
	background: transparent;
}
.rewards-lp-hero__search .rewards-public-filters__category-addon {
	display: none;
}
.rewards-lp-hero__search .rewards-public-filters__category-select {
	height: 42px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #f8fafc !important;
	box-shadow: none !important;
	font-weight: 600;
	color: #334155;
}
.rewards-lp-hero__search .rewards-public-filters__search-col {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
}
.rewards-lp-hero__search .rewards-public-filters__search-wrap {
	position: relative;
	display: flex;
	align-items: center;
}
.rewards-lp-hero__search .rewards-public-filters__search-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 1;
	color: #e11d48;
	font-size: 16px;
	line-height: 1;
	pointer-events: none;
}
.rewards-lp-hero__search .rewards-public-filters__search-input {
	height: 42px !important;
	padding-right: 12px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	box-shadow: none !important;
	font-size: 15px;
	color: #334155;
}
.rewards-lp-hero__search .rewards-public-filters__search-input:focus {
	outline: none !important;
	box-shadow: none !important;
}
.rewards-lp-hero__search .rewards-public-filters__actions {
	display: flex;
	align-items: center;
	gap: 6px;
	flex: 0 0 auto;
	margin: 0;
}
.rewards-lp-hero__search #search_button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 42px !important;
	min-height: 42px !important;
	padding: 0 18px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: #e11d48 !important;
	color: #fff !important;
	font-weight: 700;
	font-size: 14px;
	box-shadow: 0 6px 16px rgba(225, 29, 72, 0.35);
}
.rewards-lp-hero__search #search_button:hover,
.rewards-lp-hero__search #search_button:focus {
	background: #be123c !important;
	color: #fff !important;
}
.rewards-lp-hero__search .rewards-public-filters__search-btn-arrow {
	font-size: 13px;
}
.rewards-lp-hero__search .rewards-public-filters__clear {
	height: 42px !important;
	border-radius: 999px !important;
	margin: 0 !important;
}

.rewards-lp-popular-searches {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	width: 100%;
	padding: 0 4px;
}
.rewards-lp-popular-searches__label {
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
	white-space: nowrap;
}
.rewards-lp-popular-searches__tag {
	font-size: 16px;
	font-weight: 600;
	color: #1d4ed8;
	text-decoration: none;
	white-space: nowrap;
}
.rewards-lp-popular-searches__tag:hover,
.rewards-lp-popular-searches__tag:focus {
	color: #1e3a8a;
	text-decoration: underline;
}

/* Prime cities strip (homepage_default_cities) */
.rewards-lp-prime-cities {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	padding: 10px 12px;
	border-radius: 16px !important;
	background: rgba(30, 41, 59, 0.42);
	border: 1px solid rgba(255, 255, 255, 0.22);
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.1);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.rewards-lp-prime-cities__lead {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	padding-right: 10px;
	border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.rewards-lp-prime-cities__gps {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: #e11d48;
	color: #fff;
	font-size: 16px;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}
.rewards-lp-prime-cities__gps:hover,
.rewards-lp-prime-cities__gps:focus {
	background: #be123c;
	color: #fff;
}
.rewards-lp-prime-cities__lead-copy {
	display: none;
	flex-direction: column;
	gap: 1px;
	line-height: 1.15;
}
.rewards-lp-prime-cities__lead-title {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
}
.rewards-lp-prime-cities__lead-sub {
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
}
.rewards-lp-prime-cities__scroller {
	display: flex;
	align-items: center;
	gap: 8px;
	flex: 1 1 auto;
	min-width: 0;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	padding-bottom: 2px;
}
.rewards-lp-prime-cities__scroller::-webkit-scrollbar {
	height: 4px;
}
.rewards-lp-prime-cities__scroller::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.28);
	border-radius: 999px;
}
.rewards-lp-prime-cities__chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
	min-height: 44px;
	margin: 0;
	padding: 6px 12px 6px 6px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 12px !important;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	text-align: left;
	cursor: pointer;
	white-space: nowrap;
}
.rewards-lp-prime-cities__chip:hover,
.rewards-lp-prime-cities__chip:focus {
	background: rgba(255, 255, 255, 0.22);
	color: #fff;
}
.rewards-lp-prime-cities__chip.is-active {
	background: #e11d48;
	border-color: #e11d48;
	box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35);
}
.rewards-lp-prime-cities__chip-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 8px !important;
	background: rgba(255,255,255,.12);
	color: #e11d48;
	font-size: 14px;
}
.rewards-lp-prime-cities__chip.is-active .rewards-lp-prime-cities__chip-icon {
	background: #fff;
	color: #e11d48;
}
.rewards-lp-prime-cities__chip-text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	line-height: 1.15;
	padding-right: 4px;
}
.rewards-lp-prime-cities__chip-city {
	font-size: 13px;
	font-weight: 700;
	color: #fff;
}
.rewards-lp-prime-cities__chip-state {
	font-size: 11px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.78);
}
@media (min-width: 768px) {
	.rewards-lp-prime-cities__lead-copy {
		display: flex;
	}
}

/* Hero CTAs — Get Rewards / Redeem Rewards (desktop/iPad: before stats; mobile: below cities) */
.rewards-lp-hero__ctas {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	align-items: center;
	gap: 10px;
	margin-top: 0;
}
.rewards-lp-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 10px 18px 10px 12px;
	border-radius: 14px !important;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none !important;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
	transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.rewards-lp-hero__cta:hover,
.rewards-lp-hero__cta:focus {
	transform: translateY(-1px);
	text-decoration: none !important;
	filter: brightness(1.05);
}
.rewards-lp-hero__cta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 10px !important;
	font-size: 15px;
	flex: 0 0 auto;
}
.rewards-lp-hero__cta--get {
	background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 55%, #d97706 100%);
	color: #78350f !important;
	border: 1px solid rgba(255, 255, 255, 0.35);
}
.rewards-lp-hero__cta--get:hover,
.rewards-lp-hero__cta--get:focus {
	color: #78350f !important;
	box-shadow: 0 10px 24px rgba(217, 119, 6, 0.35);
}
.rewards-lp-hero__cta--get .rewards-lp-hero__cta-icon {
	background: rgba(255, 255, 255, 0.55);
	color: #b45309;
}
.rewards-lp-hero__cta--redeem {
	background: linear-gradient(135deg, #c4b5fd 0%, #8b5cf6 55%, #7c3aed 100%);
	color: #fff !important;
	border: 1px solid rgba(255, 255, 255, 0.35);
}
.rewards-lp-hero__cta--redeem:hover,
.rewards-lp-hero__cta--redeem:focus {
	color: #2e1065 !important;
	box-shadow: 0 10px 24px rgba(124, 58, 237, 0.35);
}
.rewards-lp-hero__cta--redeem .rewards-lp-hero__cta-icon {
	background: rgba(255, 255, 255, 0.5);
	color: #6d28d9;
}
.rewards-lp-hero__cta.is-disabled,
.rewards-lp-hero__cta.is-disabled:hover,
.rewards-lp-hero__cta.is-disabled:focus {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
	transform: none;
	filter: none;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

/* Search toolbar */
.rewards-lp-market .rewards-public-filters-wrap.shadow-box {
	margin-bottom: 8px;
	padding: 8px 10px;
	border-radius: 10px;
	background: #fff;
	border: 1px solid var(--lp-border);
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
	-webkit-box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.rewards-lp-market .rewards-public-filters--listing {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 12px;
	margin: 0;
	width: 100%;
}

.rewards-lp-market .rewards-public-filters__cat-col {
	float: none !important;
	width: 230px;
	flex: 0 0 230px;
	max-width: 240px;
	min-width: 220px;
	padding: 0 !important;
	display: none !important;
}

.rewards-lp-market .rewards-public-filters__search-col {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
}

.rewards-lp-market .rewards-public-filters__category-group {
	display: flex;
	width: 100%;
	height: 42px;
	margin-bottom: 0;
	border-radius: 8px;
	overflow: hidden;
	border: none;
	box-shadow: none;
	border-collapse: separate;
}

.rewards-lp-market .rewards-public-filters__category-addon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 42px;
	line-height: 1;
	min-width: 40px;
	padding: 0 10px;
}

.rewards-lp-market .rewards-public-filters__category-select {
	flex: 1 1 auto;
	width: 100%;
	height: 42px !important;
	min-height: 42px;
	font-size: 14px !important;
	padding: 0 28px 0 8px;
}

.rewards-lp-market .rewards-public-filters__search-col {
	float: none !important;
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	padding: 0 !important;
}

.rewards-lp-market .rewards-public-filters__search-wrap {
	position: relative;
}
.rewards-lp-market .rewards-public-filters__search-icon {
	display: none;
}

.rewards-lp-market .rewards-public-filters__search-input {
	width: 100%;
	border-radius: 8px;
	border: 1px solid var(--lp-border);
	box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
	font-size: 14px;
	padding: 8px 12px;
}

.rewards-search-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.16);
	z-index: 1040;
	max-height: 420px;
	overflow-y: auto;
	padding: 8px 0;
}

.rewards-search-dropdown__title {
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	color: #555;
	background: #f8f8f8;
	border-bottom: 1px solid #eee;
}

.rewards-search-dropdown__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 14px;
	text-decoration: none;
	color: #222;
	transition: background-color 0.2s ease;
}

.rewards-search-dropdown__item:hover,
.rewards-search-dropdown__item:focus,
.rewards-search-dropdown__item.is-active {
	background: #f0f8ff;
	text-decoration: none;
	color: #222;
}

.rewards-search-dropdown__media {
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
}

.rewards-search-dropdown__img {
	display: block;
	width: 44px;
	height: 44px;
	border-radius: 8px;
	object-fit: cover;
}

.rewards-search-dropdown__img--fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.rewards-search-dropdown__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	flex: 1 1 auto;
}

.rewards-search-dropdown__name {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	color: #1f2937;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.rewards-search-dropdown__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 14px;
	font-size: 12px;
	line-height: 1.35;
	color: #6b7280;
}

.rewards-search-dropdown__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	min-width: 0;
}

.rewards-search-dropdown__reward {
	font-size: 12px;
	line-height: 1.35;
	font-weight: 700;
	color: var(--lp-green);
}

.rewards-search-dropdown__empty {
	padding: 12px 14px;
	font-size: 14px;
	color: #666;
}

.rewards-lp-market .rewards-public-filters__actions {
	flex: 0 0 auto;
	display: flex;
	align-items: stretch;
	gap: 8px;
	margin: 0 !important;
	float: none !important;
}

.rewards-lp-market .rewards-public-filters__submit {
	flex: 1 1 0;
	min-width: 120px;
	width: auto;
	max-width: 140px;
	height: 42px;
	min-height: 42px;
	margin: 0 !important;
	float: none !important;
	background: #4B8DF8 !important;
	border-color: #4B8DF8 !important;
	font-size: 14px;
	font-weight: 600;
	padding: 0 14px;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.rewards-lp-market .rewards-public-filters__clear {
	flex: 1 1 0;
	min-width: 110px;
	width: auto;
	max-width: 130px;
	height: 42px;
	min-height: 42px;
	margin: 0 !important;
	float: none !important;
	font-size: 14px;
	font-weight: 600;
	padding: 0 12px;
	white-space: nowrap;
}

.rewards-lp-market .rewards-public-filters__clear--hidden {
	display: none !important;
}

.rewards-lp-market .rewards-public-filters__submit:hover {
	background: var(--lp-blue-dark) !important;
	border-color: var(--lp-blue-dark) !important;
}

/* Sort + count */
.rewards-lp-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 25px;
	margin-bottom: 25px;
	position: relative;
	z-index: 1;
}

.rewards-lp-hashtag-heading {
	margin: 0 0 16px;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--lp-ink, #0f172a);
}

.rewards-lp-toolbar__sort {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.rewards-lp-toolbar__sort-label {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--lp-muted);
	white-space: nowrap;
}

.rewards-lp-toolbar__sort-select {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	opacity: 0;
	pointer-events: none;
}

.rewards-lp-toolbar__sort-pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.rewards-lp-toolbar__sort-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 6px 14px;
	border: 1px solid transparent;
	border-radius: 999px !important;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	background: #f3f4f6;
	color: #4b5563;
	transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.rewards-lp-toolbar__sort-pill--newest {
	background: #eff6ff;
	color: #1d4ed8;
	border-color: #bfdbfe;
}
.rewards-lp-toolbar__sort-pill--newest.is-active {
	background: #2563eb;
	color: #fff;
	border-color: #2563eb;
	box-shadow: 0 1px 3px rgba(37, 99, 235, 0.35);
}

.rewards-lp-toolbar__sort-pill--reward {
	background: #fef2f2;
	color: #b91c1c;
	border-color: #fecaca;
}
.rewards-lp-toolbar__sort-pill--reward.is-active {
	background: #dc2626;
	color: #fff;
	border-color: #dc2626;
	box-shadow: 0 1px 3px rgba(220, 38, 38, 0.35);
}

.rewards-lp-toolbar__sort-pill--az {
	background: #f0fdf4;
	color: #15803d;
	border-color: #bbf7d0;
}
.rewards-lp-toolbar__sort-pill--az.is-active {
	background: #16a34a;
	color: #fff;
	border-color: #16a34a;
	box-shadow: 0 1px 3px rgba(22, 163, 74, 0.35);
}

.rewards-lp-toolbar__sort-pill--za {
	background: #faf5ff;
	color: #7e22ce;
	border-color: #e9d5ff;
}
.rewards-lp-toolbar__sort-pill--za.is-active {
	background: #9333ea;
	color: #fff;
	border-color: #9333ea;
	box-shadow: 0 1px 3px rgba(147, 51, 234, 0.35);
}

.rewards-lp-toolbar__meta {
	font-size: 14px;
	font-weight: 600;
	color: var(--lp-ink);
}

.page_title {
	text-transform: none !important;
  }

/* Filters sidebar â€” Hot Deals control-center style */
.rewards-lp-filters {
	margin-bottom: 10px;
	border-radius: 0;
	background: #fff;
	border: 1px solid #d9dee3;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}

.rewards-lp-sidebar .rewards-lp-filters {
	position: sticky;
	top: 72px;
	z-index: 2;
}

.rewards-lp-filters__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 10px 12px;
	background: #2d8e73 !important;
	color: #fff !important;
	font-size: 17px;
	font-weight: 700;
	text-decoration: none !important;
	border-bottom: none;
}

.rewards-lp-filters__toggle:hover,
.rewards-lp-filters__toggle:focus {
	background: #267a63 !important;
	color: #fff !important;
	text-decoration: none !important;
}

.rewards-lp-filters__toggle .fa-filter {
	color: #fff !important;
	margin-right: 6px;
	font-size: 16px !important;
}

.rewards-lp-filters__chevron {
	color: rgba(255, 255, 255, 0.9);
	font-size: 12px;
	transition: transform 0.2s;
}

.rewards-lp-filters__toggle[aria-expanded="true"] .rewards-lp-filters__chevron {
	transform: rotate(180deg);
}

.rewards-lp-filters__panel {
	padding: 10px 12px 12px;
	background: #fff;
}

.rewards-lp-filters__section + .rewards-lp-filters__section {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #e5e7eb;
}

.rewards-lp-filters__section-title {
	margin: 0 0 6px;
	font-size: 12px;
	font-weight: 700;
	color: #374151;
	text-transform: none;
	letter-spacing: 0;
}

.rewards-lp-filters .reward-filter-option {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 5px;
	min-width: 0;
	font-size: 13px;
	font-weight: 500;
	color: #1f2937 !important;
	cursor: pointer;
}

.rewards-lp-filters .reward-filter-option input {
	flex: 0 0 auto !important;
	width: auto !important;
	margin: 0 !important;
}

.rewards-lp-filters .reward-filter-option__text,
.rewards-lp-filters .reward-filter-option span {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	max-width: 100% !important;
	color: #1f2937 !important;
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	font-size: 13px !important;
	line-height: 1.35 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

.rewards-lp-filters .reward-filter-option--hot .reward-filter-option__text {
	flex: 0 1 auto !important;
}

.rewards-lp-filters__cats {
	margin: 0;
	max-height: 200px;
	overflow-y: auto;
}

.rewards-lp-filters__cats li {
	min-width: 0;
	width: 100%;
}

.rewards-lp-filters__actions {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-top: 10px;
}

.rewards-lp-filters__apply {
	width: 100%;
	border-radius: 4px !important;
	background: var(--lp-blue) !important;
	border-color: var(--lp-blue) !important;
	color: #fff !important;
	font-weight: 600;
	font-size: 13px;
	padding: 7px 10px;
}

.rewards-lp-filters__clear {
	width: 100%;
	border-radius: 4px !important;
	background: #fff !important;
	border: 1px solid #d1d5db !important;
	color: #6b7280 !important;
	font-weight: 600;
	font-size: 13px;
	padding: 7px 10px;
}

/* Trending sidebar â€” Hot Deals Similar Listings style */
.rewards-lp-trending {
	margin-top: 10px;
	padding: 0;
	border-radius: 0;
	background: #fff;
	border: 1px solid #d9dee3;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
	overflow: hidden;
}

.rewards-lp-sidebar .rewards-lp-trending {
	position: sticky;
	top: calc(72px + 240px);
}

/* Reuses Filters toggle layout + chevron rotation; orange header only */
.rewards-lp-trending__toggle {
	background: #f26d22 !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.rewards-lp-trending__toggle:hover,
.rewards-lp-trending__toggle:focus {
	background: #d95f1c !important;
	color: #fff !important;
	text-decoration: none !important;
}

.rewards-lp-trending__title {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: #fff;
	line-height: 1.2;
}

.rewards-lp-trending__body {
	padding: 0;
	background: #fff;
}

.rewards-lp-trending__list {
	margin: 0;
	padding: 0;
}

.rewards-lp-trending__item {
	border-bottom: 1px solid #eee;
}

.rewards-lp-trending__item:last-child {
	border-bottom: none;
}

.rewards-lp-trending__link {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 10px;
	color: var(--lp-ink) !important;
	text-decoration: none !important;
}

.rewards-lp-trending__link:hover {
	background: #f9fafb;
	color: var(--lp-blue) !important;
}

.rewards-lp-trending__thumb {
	flex: 0 0 72px;
	width: 72px;
	height: 52px;
	border-radius: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid #eee;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rewards-lp-trending__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.rewards-lp-trending__copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	padding-top: 1px;
}

.rewards-lp-trending__name {
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rewards-lp-trending__date {
	font-size: 11px;
	color: #6b7280;
}

.rewards-lp-trending__view-all {
	display: block;
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--lp-blue) !important;
	text-decoration: none !important;
	border-top: 1px solid #eee;
	background: #fafafa;
	text-align: center;
}

.rewards-lp-trending__view-all:hover {
	background: #f3f4f6;
	color: var(--lp-blue-dark) !important;
}

/* Reward cards grid */
.rewards-lp-market #rewardsPublicGrid.rewards-lp-grid {
	display: grid;
	/* minmax(0, 1fr): avoid grid min-width:auto expanding past viewport (R30.62) */
	grid-template-columns: minmax(0, 1fr);
	gap: 30px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	/* Equal card height per row so View Reward bottoms line up */
	align-items: stretch;
}

.rewards-lp-market #rewardsPublicGrid > .alert {
	grid-column: 1 / -1;
	border-radius: 10px;
	background: #fff1f2 !important;
	border-color: #fecdd3 !important;
	color: #9f1239 !important;
}

/*
 * R30.63 â€” Listing inline ads: Events uses col-md-12 inside a Bootstrap row so ads
 * span the full content width. Rewards grid is 2-col from 768px; without a full-span
 * wrapper each ad block occupies one column (~50%) and compresses into strips.
 */
.rewards-lp-market #rewardsPublicGrid > .rewards-lp-grid-ad {
	grid-column: 1 / -1;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

.rewards-lp-card {
	border-radius: var(--lp-radius);
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--lp-border);
	box-shadow: var(--lp-shadow);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	margin-bottom: 0 !important;
}

.rewards-lp-card.rewards-public-listing-row {
	height: 100%;
	display: flex;
	flex-direction: column;
}

.rewards-lp-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.rewards-lp-card__link {
	display: block;
	color: inherit !important;
	text-decoration: none !important;
}

.rewards-lp-card.rewards-public-listing-row > .rewards-lp-card__link {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	height: 100%;
}

.rewards-lp-card__link:hover {
	color: inherit !important;
	text-decoration: none !important;
}

.rewards-lp-card__media {
	position: relative;
	/* ~19% taller than 16:9 (+10% on prior 9.75 height) so logos crop less */
	aspect-ratio: 16 / 13.725;
	background: #e2e8f0;
	overflow: hidden;
}

.rewards-lp-card.rewards-public-listing-row .rewards-lp-card__media {
	flex: 0 0 auto;
	width: 100%;
	/* Prevent flex column from crushing 16:9 banner when card stretches */
	flex-shrink: 0;
}

.rewards-lp-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	display: block;
}

.rewards-lp-card__overlay-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
	padding: 5px 10px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: #fff;
	line-height: 1.2;
}

.rewards-lp-card__overlay-badge--new {
	background: var(--lp-green);
}

.rewards-lp-card__overlay-badge--hot {
	background: #dc2626;
}

.rewards-lp-card__overlay-badge--featured {
	background: var(--lp-blue);
}

.rewards-lp-card__body {
	padding: 12px 14px 14px;
}

.rewards-lp-card.rewards-public-listing-row .rewards-lp-card__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	min-height: 0;
}

.rewards-lp-card__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 700;
	color: var(--lp-ink);
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-align: center;
}

.rewards-lp-card.rewards-public-listing-row .rewards-lp-card__title {
	/* Reserve 2 lines so shorter names donâ€™t shift the block below */
	/*min-height: calc(1.35em * 2);*/
	flex-shrink: 0;
}

/*
 * Pin category/city + Earn panel + View Reward as one bottom block
 * so they line up equally across cards in a row.
 */
.rewards-lp-card.rewards-public-listing-row .rewards-lp-card__meta-row {
	margin-top: auto;
	flex-shrink: 0;
	align-items: center;
}

.rewards-lp-card.rewards-public-listing-row .rewards-lp-card__title + .rewards-lp-card__reward {
	/* No meta row — still pin offer + CTA to bottom */
	margin-top: auto;
}

.rewards-lp-card.rewards-public-listing-row .rewards-lp-card__reward,
.rewards-lp-card.rewards-public-listing-row .rewards-lp-card__cta {
	flex-shrink: 0;
}

.rewards-lp-card__meta-row {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: flex-start;
	gap: 4px;
	margin: 0 0 10px;
	min-height: 0;
}

.rewards-lp-card__meta {
	margin: 0;
	font-size: 14px;
	color: var(--lp-muted);
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	min-width: 0;
	max-width: 100%;
}

.rewards-lp-card.rewards-public-listing-row .rewards-lp-card__meta--cat,
.rewards-lp-card.rewards-public-listing-row .rewards-lp-card__meta--city {
	flex: 0 0 auto;
	max-width: 100%;
	text-align: center;
	width: 100%;
}

.rewards-lp-card__meta .fa {
	margin-right: 5px;
}

.rewards-lp-card__meta--city .fa {
	color: #dc2626;
}

.rewards-lp-card__meta--cat .fa {
	color: var(--lp-blue);
}

.rewards-lp-card__reward {
	display: flex;
	align-items: center;
	gap: 0;
	margin: 0 0 12px;
	padding: 10px 12px;
	border-radius: 8px !important;
	background: #ecfdf5;
	border: 1px solid #bbf7d0;
	min-height: 64px;
	box-sizing: border-box;
}

.rewards-lp-card__reward-main {
	flex: 1 1 0;
	justify-content: center;
	align-items: center;
	min-width: 0;
	padding-right: 0;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 8px;
}

.rewards-lp-card__reward-label {
	display: inline;
	font-size: 20px;
	font-weight: 600;
	color: #166534;
	line-height: 1.25;
}

.rewards-lp-card__reward-amount {
	display: inline;
	font-size: 28px;
	font-weight: 700;
	color: #15803d;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.rewards-lp-card__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	padding: 10px 14px;
	border-radius: 8px !important;
	border: 1px solid var(--lp-blue);
	background: #fff;
	color: var(--lp-blue) !important;
	font-size: 14px;
	font-weight: 600;
	transition: background 0.15s, color 0.15s;
	box-sizing: border-box;
}

.rewards-lp-card:hover .rewards-lp-card__cta {
	background: #eff6ff;
}

/* Load more + loading */
.rewards-lp-load-more {
	border-radius: var(--lp-radius) !important;
	border: 1px solid var(--lp-border) !important;
	background: #fff !important;
	color: var(--lp-ink) !important;
	font-weight: 600;
	padding: 10px 24px;
}

.rewards-lp-market .rewards-public-loading {
	display: none;
	padding: 12px;
}

.rewards-lp-market .rewards-public-loading.is-loading {
	display: block;
}

/* Right ads */
.rewards-lp-market .rewards-lp-ads.adv-holder {
	margin-top: 0;
	position: relative;
	z-index: 1;
}

/* Trust footer strip */
.rewards-lp-trust {
	margin-top: 4px;
	padding: 12px 0 18px;
	background: #eff6ff;
	border-top: 1px solid #dbeafe;
}

.rewards-lp-trust__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.rewards-lp-trust__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #dbeafe;
	color: var(--lp-blue);
	font-size: 18px;
	flex-shrink: 0;
}

.rewards-lp-trust__copy {
	flex: 1 1 280px;
	min-width: 0;
}

.rewards-lp-trust__copy strong {
	display: block;
	font-size: 16px;
	color: var(--lp-ink);
	margin-bottom: 4px;
}

.rewards-lp-trust__copy p {
	margin: 0;
	font-size: 14px;
	color: var(--lp-muted);
	line-height: 1.45;
}

.rewards-lp-trust__link {
	font-size: 14px;
	font-weight: 600;
	color: var(--lp-blue) !important;
	text-decoration: none !important;
	white-space: nowrap;
}

/* Responsive */
@media (min-width: 768px) {
	.rewards-lp-market #rewardsPublicGrid.rewards-lp-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.rewards-lp-market #rewardsPublicGrid.rewards-lp-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	/*
	 * R30.63 â€” iPad: reuse global template.php ad sizing (.ads-row 2-up, auto image width).
	 * Ensure Rewards view-ad blocks (hero / bottom) stay full content width on tablet.
	 */
	.rewards-lp-market #rewardsPublicGrid > .rewards-lp-grid-ad {
		margin-top: 5px;
		margin-bottom: 5px;
	}

	.rewards-lp-market .rewards-public-mobile-ads,
	.rewards-lp-market .rewards-lp-main > .ipaddiv {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.rewards-lp-market .rewards-lp-main > .ipaddiv {
		display: block;
	}
}

@media (max-width: 991px) {
	.rewards-lp-sidebar .rewards-lp-filters,
	.rewards-lp-sidebar .rewards-lp-trending {
		position: static;
	}

	.rewards-lp-hero__title {
		font-size: 24px;
	}

	.rewards-lp-hero__stats {
		width: 100%;
	}

	.rewards-lp-hero__stat {
		flex: 1 1 calc(50% - 6px);
		min-width: 0;
	}

	.rewards-lp-market .rewards-lp-ads.adv-holder {
		margin-top: 10px;
	}

	.rewards-lp-market .rewards-public-filters--listing {
		flex-wrap: nowrap;
	}

	.rewards-lp-market .rewards-public-filters__cat-col {
		flex: 0 0 200px;
		width: 200px;
		min-width: 180px;
		max-width: 220px;
	}

	.rewards-lp-market .rewards-public-filters__actions {
		flex: 0 0 auto;
	}

	.rewards-lp-market .rewards-public-filters__submit,
	.rewards-lp-market .rewards-public-filters__clear {
		flex: 0 0 auto;
		width: auto;
		min-width: 100px;
		max-width: 120px;
		padding: 0 10px;
		font-size: 13px;
	}

	.rewards-search-dropdown {
		max-height: 320px;
	}
}

/* iPad: Get / Redeem / Rewards Available / Selected City in one row */
@media (min-width: 768px) and (max-width: 991px) {
	.rewards-lp-hero__top-end {
		display: flex;
		flex-wrap: nowrap;
		align-items: stretch;
		justify-content: flex-start;
		gap: 8px;
		width: 100%;
	}

	.rewards-lp-hero__ctas {
		display: flex;
		flex-wrap: nowrap;
		flex: 0 0 auto;
		gap: 8px;
		margin: 0;
	}

	.rewards-lp-hero__cta {
		flex: 0 1 auto;
		min-width: 0;
		padding: 8px 12px 8px 10px;
		font-size: 12px;
		min-height: 44px;
		gap: 8px;
	}

	.rewards-lp-hero__cta-icon {
		width: 28px;
		height: 28px;
		font-size: 13px;
	}

	.rewards-lp-hero__stats {
		display: flex;
		flex-wrap: nowrap;
		width: auto;
		flex: 1 1 auto;
		min-width: 0;
		gap: 8px;
	}

	.rewards-lp-hero__stat {
		flex: 1 1 0;
		min-width: 0;
		padding: 8px 10px;
	}

	.rewards-lp-hero__stat-value--city {
		max-width: 100%;
	}

	.rewards-lp-prime-cities__scroller {
		scrollbar-width: none;
		-ms-overflow-style: none;
		padding-bottom: 0;
	}

	.rewards-lp-prime-cities__scroller::-webkit-scrollbar {
		display: none;
		height: 0;
		width: 0;
	}
}

@media (max-width: 767px) {
	/*
	 * Keep Get/Redeem CTAs below prime cities on mobile (desktop/iPad keep
	 * them before Rewards Available in the hero top row).
	 */
	.rewards-lp-hero__top,
	.rewards-lp-hero__top-end {
		display: contents;
	}
	/* display:contents drops parent z-index — keep title/stats above ::before */
	.rewards-lp-hero__copy,
	.rewards-lp-hero__stats {
		position: relative;
		z-index: 1;
	}
	.rewards-lp-hero__copy {
		order: 1;
		width: 100%;
	}
	.rewards-lp-hero__stats {
		order: 2;
		display: flex;
		flex-wrap: nowrap;
		width: 100%;
		gap: 8px;
	}
	.rewards-lp-hero__stat {
		flex: 1 1 0;
		min-width: 0;
	}
	.rewards-lp-hero__search {
		order: 3;
	}
	.rewards-lp-popular-searches {
		order: 4;
	}
	.rewards-lp-prime-cities {
		order: 5;
	}
	.rewards-lp-hero__ctas {
		order: 6;
	}

	/*
	 * R30.62 â€” Reward cards overflowing viewport.
	 * Base grid used `1fr` (= minmax(auto, 1fr)); grid min-width:auto + large
	 * image intrinsic size pushed cards past the screen. Tablet/desktop already
	 * use minmax(0, 1fr). Mobile-only: allow tracks/items to shrink.
	 *
	 * R30.62b â€” Do not set max-width:100% on Bootstrap .row
	 * (.rewards-list-page-row). That capped the row at the container content
	 * width and broke the rowâ€™s -15px side margins, leaving a white strip on
	 * the right. Keep min-width:0 on wrappers so nested grid can shrink;
	 * overflow stays fixed via minmax(0,1fr) below.
	 */
	.rewards-lp-market.main.ecommerce,
	.rewards-lp-market .container--listing,
	.rewards-lp-market .rewards-list-page-row,
	.rewards-lp-market .rewards-lp-main,
	.rewards-lp-market .public_sidebar_listing {
		min-width: 0;
		box-sizing: border-box;
	}

	.rewards-lp-market .container--listing,
	.rewards-lp-market .rewards-lp-main,
	.rewards-lp-market .public_sidebar_listing {
		max-width: 100%;
	}

	/* Nested col-md-12 used padding-left:0 only â€” clear both gutters on mobile. */
	.rewards-lp-market .rewards-lp-main > .col-md-12 {
		padding-left: 0;
		padding-right: 0;
	}

	/* Breathing room under sticky REWARDS header â†’ Filters card. */
	.rewards-lp-market .public_sidebar_listing .rewards-lp-filters {
		margin-top: 10px;
	}

	.rewards-lp-market #rewardsPublicGrid.rewards-lp-grid {
		grid-template-columns: minmax(0, 1fr);
		width: 100%;
		max-width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}

	.rewards-lp-market #rewardsPublicGrid.rewards-lp-grid > *,
	.rewards-lp-card,
	.rewards-lp-card__link,
	.rewards-lp-card__body {
		min-width: 0;
		max-width: 100%;
		box-sizing: border-box;
	}

	/*
	 * R30.50 â€” Desktop uses flex-basis as WIDTH (e.g. cat-col 200â€“230px).
	 * With flex-direction:column that same basis becomes HEIGHT and leaves a
	 * large blank gap under the category dropdown. Reset basis on mobile only.
	 */
	.rewards-lp-market .rewards-public-filters--listing {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
		gap: 12px;
	}

	.rewards-lp-market .rewards-public-filters__cat-col,
	.rewards-lp-market .rewards-public-filters__search-col {
		flex: 0 0 auto;
		width: 100%;
		min-width: 0;
		max-width: none;
	}

	.rewards-lp-market .rewards-public-filters__actions {
		width: 100%;
		max-width: none;
		min-width: 0;
		flex: 0 0 auto;
	}

	.rewards-lp-market .rewards-public-filters__submit,
	.rewards-lp-market .rewards-public-filters__clear {
		flex: 1 1 0;
		width: auto;
		max-width: none;
	}

	.rewards-lp-hero__search .rewards-public-filters--listing {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"cat cat"
			"search actions";
		align-items: center;
		column-gap: 0;
		row-gap: 6px;
		border-radius: 999px !important;
	}
	.rewards-lp-hero__search .rewards-public-filters__cat-col {
		grid-area: cat;
		flex: none;
		max-width: none;
		min-width: 0;
		width: 100%;
	}
	.rewards-lp-hero__search .rewards-public-filters__search-col {
		grid-area: search;
		flex: none !important;
		width: auto !important;
		max-width: none !important;
		min-width: 0;
	}
	.rewards-lp-hero__search .rewards-public-filters__search-wrap {
		position: relative;
		display: flex;
		align-items: center;
		width: 100%;
		min-height: 36px;
	}
	.rewards-lp-hero__search .rewards-public-filters__search-icon {
		top: 50%;
		transform: translateY(-50%);
		left: 2px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		line-height: 1;
		font-size: 14px;
	}
	.rewards-lp-hero__search .rewards-public-filters__search-input {
		line-height: 20px !important;
		padding-top: 8px !important;
		padding-bottom: 8px !important;
		font-size: 14px;
		box-sizing: border-box !important;
	}
	.rewards-lp-hero__search .rewards-public-filters__actions {
		grid-area: actions;
		flex: none !important;
		width: auto !important;
		max-width: none !important;
		margin-left: -42px;
		position: relative;
		z-index: 2;
		gap: 4px;
	}
	.rewards-lp-hero__search #search_button .rewards-public-filters__search-btn-label {
		display: none;
	}
	.rewards-lp-hero__search #search_button {
		width: 32px !important;
		min-width: 32px !important;
		height: 32px !important;
		min-height: 32px !important;
		padding: 0 !important;
		border-radius: 50% !important;
		box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
	}
	.rewards-lp-hero__search .rewards-public-filters__clear-label {
		display: none;
	}
	.rewards-lp-hero__search .rewards-public-filters__clear {
		width: 32px !important;
		min-width: 32px !important;
		height: 32px !important;
		min-height: 32px !important;
		padding: 0 !important;
		border-radius: 50% !important;
		flex: none !important;
		line-height: 32px !important;
		text-align: center;
		font-size: 14px !important;
	}
	.rewards-lp-prime-cities {
		gap: 8px;
		padding: 8px;
	}
	.rewards-lp-prime-cities__lead {
		padding-right: 8px;
	}
	.rewards-lp-prime-cities__scroller {
		scrollbar-width: none;
		-ms-overflow-style: none;
		padding-bottom: 0;
	}
	.rewards-lp-prime-cities__scroller::-webkit-scrollbar {
		display: none;
		height: 0;
		width: 0;
	}
	.rewards-lp-hero__ctas {
		display: flex;
		flex-wrap: nowrap;
		justify-content: flex-end;
		align-items: stretch;
		gap: 8px;
		margin-top: 12px;
		width: 100%;
		order: 5;
	}
	.rewards-lp-hero__cta {
		flex: 1 1 0;
		min-width: 0;
		max-width: calc(50% - 4px);
		justify-content: center;
		min-height: 42px;
		padding: 8px 10px;
		font-size: 12px;
		border-radius: 12px !important;
		gap: 6px;
	}
	.rewards-lp-hero__cta-icon {
		width: 26px;
		height: 26px;
		font-size: 12px;
		border-radius: 8px !important;
	}
	.rewards-lp-hero__cta-label {
		white-space: nowrap;
	}

	/*
	 * R30.54b — fixed card image banner (~19% taller than original 200px).
	 * Do not use contain / white letterbox / auto sizing — image must fill the
	 * entire wrapper. Desktop (≥768) keeps taller aspect + cover from base rules.
	 * R30.62 — keep image inside the card (no max-width:none expansion).
	 */
	.rewards-lp-card__media {
		width: 100%;
		max-width: 100%;
		min-width: 0;
		height: 260px;
		max-height: 260px;
		aspect-ratio: auto;
		overflow: hidden;
		position: relative;
		background: #e2e8f0;
		box-sizing: border-box;
		flex: 0 0 260px;
	}

	.rewards-lp-card__img {
		display: block;
		width: 100%;
		height: 100%;
		max-width: 100%;
		max-height: 100%;
		object-fit: cover;
		object-position: top center;
	}

	.rewards-lp-toolbar {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		margin-top: 4px;
	}

	.rewards-lp-toolbar__sort {
		width: 100%;
	}

	.rewards-lp-toolbar__sort-pills {
		width: 100%;
	}

	.rewards-lp-hero {
		padding: 16px 18px;
		gap: 14px;
	}

	.rewards-lp-hero__copy {
		flex-basis: 100%;
	}

	.rewards-lp-hero__title {
		font-size: 20px;
	}

	.rewards-lp-trust__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
