.page-browse-deals .container {
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 1rem;
}
.deals-hero {
	margin: 2.5rem 0 1.5rem;
	text-align: center;
}
.deals-title {
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	margin: 0 0 0.6rem;
}
.deal-excerpt {
	margin-top: 16px;
}
.deal-excerpt p {
	line-clamp: 3;
	-webkit-line-clamp: 3;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.deals-card-subtitle {
	color: var(--mid, #6a6f76);
	margin: 0;
}
.deals-subtitle {
	color: #4d4d4d;
	margin: 0;
}
[data-color-scheme='dark'] .deals-subtitle {
	color: #aaa;
}
.deals-hero-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 21/9;
	object-fit: cover;
	border-radius: 12px;
}

.deals-filters {
	padding: 4rem 0;
	text-align: center;
	margin: 2.7rem auto !important;
}
.deals-grid {
	margin-top: 2rem !important;
}

.filters-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}
.filter-btn {
	padding: 0.55rem 0.9rem;
	border: 1px solid #e3e6ea;
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	font-weight: 600;
	font-size: 0.95rem;
}
[data-color-scheme='dark'] .filter-btn {
	border: 1px solid #312e2e;
	color: #fff;
	background: #171717;
}
[data-color-scheme='dark'] .filter-btn.is-active {
	background: #676767;
	color: #fff;
	border-color: #1b1b1b;
}
.filter-btn.is-active {
	background: #111;
	color: #fff;
	border-color: #111;
}

.deal-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(12, 1fr);
}
.deal-card {
	grid-column: span 12;
	background: #fff;
	background-color: var(--ss-surface-unified) !important;
	border: 1px solid #eceff3;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
[data-color-scheme='dark'] .deal-card {
	border: 1px solid #312e2e;
}
@media (min-width: 560px) {
	.deal-card {
		grid-column: span 6;
	}
}
@media (min-width: 920px) {
	.deal-card {
		grid-column: span 4;
	}
}

.deal-image {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16/9;
	object-fit: cover;
}
.deal-image.placeholder {
	background: linear-gradient(180deg, #f6f7f9 0%, #eef1f5 100%);
	aspect-ratio: 16/9;
}

.deal-body {
	padding: 0.9rem 0.95rem 1rem;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	min-height: 210px;
}
.deal-title {
	font-size: 1.05rem;
	line-height: 1.3;
	margin: 0.2rem 0 0.35rem;
}

.deal-meta {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0.2rem 0 0.7rem;
	/* min-height: 1.75rem; */
}
.deal-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.28rem 0.55rem;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.85rem;
	background: #111;
	color: #fff;
}
.deal-badge.deal-new {
	background: #22c55e;
}
.deal-badge.deal-giveaway {
	background: #ef4444;
}
.deal-expiry {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #6a6f76;
	font-size: 0.9rem;
}
.deal-countdown {
	margin-left: 0.35rem;
	font-size: 0.9rem;
	color: #475569;
}

.deal-cta {
	margin-top: 0.2rem;
}
.btn {
	display: inline-block;
	padding: 0.6rem 0.9rem;
	border-radius: 10px;
	font-weight: 700;
	text-decoration: none;
}
.btn-primary {
	background: var(--ghost-accent-color, #e11d48);
	color: #fff;
	border: 1px solid var(--ghost-accent-color, #e11d48);
}
[data-color-scheme='dark'] .btn-primary {
	color: #000;
	border: 1px solid #000;
	transition: all 0.2s ease-in-out;
}
[data-color-scheme='dark'] .btn-primary:hover {
	color: #e11d48 !important;
}
.btn-primary:hover {
	background: #fff;
	color: var(--ghost-accent-color, #e11d48);
	border-color: var(--ghost-accent-color, #e11d48);
}

.no-results {
	text-align: center;
	color: #6a6f76;
	padding: 2rem 0;
}

.deal-title a {
	text-decoration: none;
}
