.consumer-main { padding-bottom: 60px; }
header .logo { white-space: nowrap; }

/* HERO — full-bleed photo banner */
.hero-slider {
	position: relative;
	padding: 0;
	border-radius: 0;
	transition: background-image 0.8s ease;
	overflow: hidden;
	border: none;
	box-shadow: none;
	width: 100%;
	min-height: 340px;
	display: flex;
	align-items: center;
	background-size: cover;
	background-position: center;
	background-color: #0f766e;
}
.hero-slider::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(15,118,110,0.88) 0%, rgba(0,0,0,0.72) 100%);
	z-index: 1;
}
.hero-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 680px;
	padding: 48px 32px;
}
.hero-kicker {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255,255,255,0.18);
	border: 1px solid rgba(255,255,255,0.28);
	width: fit-content;
	color: #fff;
	backdrop-filter: blur(4px);
}
.hero-content h1 {
	margin: 0;
	color: #fff;
	text-shadow: 0 2px 8px rgba(0,0,0,0.3);
	font-size: 2rem;
	line-height: 1.15;
}
.hero-content .lead {
	margin: 0;
	color: rgba(255,255,255,0.88);
	text-shadow: 0 1px 4px rgba(0,0,0,0.2);
	font-size: 1.05rem;
}
.hero-fade-in { animation: heroFadeIn 500ms ease both; }
@keyframes heroFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* Hero arrows */
.hero-arrow,
.news-arrow { opacity: 0.4; transition: opacity 0.15s ease, background 0.15s ease, transform 0.15s ease; }
.hero-arrow:hover, .hero-arrow:focus,
.news-arrow:hover, .news-arrow:focus { opacity: 0.8; }

.hero-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,0.3);
	background: rgba(0,0,0,0.35);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	backdrop-filter: blur(4px);
}
.hero-arrow:hover,
.hero-arrow:focus { background: rgba(0,0,0,0.5); border-color: rgba(255,255,255,0.5); outline: none; }
.hero-arrow:active { transform: translateY(-50%) scale(0.96); }
.hero-arrow-left { left: 20px; }
.hero-arrow-right { right: 20px; }

.hero-slide-1 { background-image: url('https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?w=1400&q=80'); }
.hero-slide-2 { background-image: url('https://images.unsplash.com/photo-1556742049-0cfed4f6a45d?w=1400&q=80'); }
.hero-slide-3 { background-image: url('https://images.unsplash.com/photo-1483985988355-763728e1935b?w=1400&q=80'); }
.hero-slide-4 { background-image: url('https://images.unsplash.com/photo-1441986300917-64674bd600d8?w=1400&q=80'); }
.hero-slide-5 { background-image: url('https://images.unsplash.com/photo-1472851294608-062f824d29cc?w=1400&q=80'); }

.hero-search { display: none; max-width: 520px; }
.hero-search .app-form-input { width: 100%; }

/* Sections */
.hero-slider + .container { padding-top: 36px; }
.consumer-section { margin-bottom: 50px; }
.stores-section { margin-top: 0; }
.consumer-section h2 {
	font-size: 1.4rem;
	font-weight: 800;
	margin-bottom: 18px;
	color: #1a1a2e;
	background: none;
	border: none;
	box-shadow: none;
	padding: 0;
	border-bottom: 2px solid #e2e8f0;
	padding-bottom: 10px;
	display: block;
}

/* Nav handled entirely in index.css */

/* Page hero (thin banner for interior pages) */
.page-hero {
	background: linear-gradient(135deg, #0f766e 0%, #115e59 60%, #134e4a 100%);
	padding: 28px 0 24px;
	position: relative;
	overflow: hidden;
}
.page-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
	pointer-events: none;
}
.page-hero-inner {
	position: relative;
	z-index: 1;
}
.page-hero-title {
	color: #fff;
	font-size: 1.5rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	margin: 0;
	line-height: 1.2;
}
.page-hero-subtitle {
	color: rgba(255,255,255,0.75);
	font-size: 0.9rem;
	font-weight: 500;
	margin: 6px 0 0;
}
.page-hero + .consumer-main,
.page-hero + .page-auth {
	padding-top: 32px;
}

/* Popular stores */
.store-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.store-card {
	position: relative;
	overflow: hidden;
	border-radius: 14px;
	padding: 18px 20px;
	text-align: left;
	box-shadow: 0 2px 10px rgba(0,0,0,0.07);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	background: linear-gradient(135deg, #f0fdfa 0%, #e0f2fe 60%, #ede9fe 100%);
	border: 1px solid rgba(255,255,255,0.6);
}
.store-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.13); transform: translateY(-3px); }
.store-card a {
	display: flex;
	align-items: center;
	gap: 14px;
	color: #1a1a2e;
	text-decoration: none;
}
.store-card a:visited { color: #1a1a2e; }
.store-card a:hover strong,
.store-card a:focus strong { color: #0f766e; }
.store-card a strong {
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	transition: color 0.15s;
}

.store-card-logo {
	width: 44px;
	height: 44px;
	min-width: 44px;
	border-radius: 12px;
	object-fit: contain;
	background: #fff;
	border: 1px solid rgba(0,0,0,0.06);
	padding: 5px;
	box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* NEWS */
.news-slider {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	border: none;
	box-shadow: 0 4px 16px rgba(0,0,0,0.1);
	min-height: 190px;
	background:
		radial-gradient(circle at 18% 20%, rgba(13, 148, 136, 0.35), rgba(0,0,0,0) 52%),
		radial-gradient(circle at 80% 18%, rgba(37, 99, 235, 0.30), rgba(0,0,0,0) 50%),
		radial-gradient(circle at 70% 85%, rgba(249, 115, 22, 0.26), rgba(0,0,0,0) 55%),
		linear-gradient(135deg, #0f766e, #0d9488);
}
.news-slider::before {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(0deg, rgba(255,255,255,0.03), rgba(255,255,255,0.03) 2px, rgba(0,0,0,0.00) 2px, rgba(0,0,0,0.00) 7px);
	pointer-events: none;
}
.news-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.18); }
.news-content-link { position: relative; z-index: 2; display: block; padding: 18px 22px; text-decoration: none; color: rgba(255,255,255,0.96); }
.news-kicker {
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	padding: 6px 10px;
	border-radius: 999px;
	background: rgba(255,255,255,0.12);
	border: 1px solid rgba(255,255,255,0.18);
	margin-bottom: 10px;
}
.news-title { font-size: 1.15rem; font-weight: 900; line-height: 1.25; margin-bottom: 8px; }
.news-dek { color: rgba(255,255,255,0.84); line-height: 1.5; max-width: 72ch; }
.news-cta { margin-top: 10px; font-weight: 800; color: rgba(255,255,255,0.92); }
.news-content-link:hover .news-title,
.news-content-link:focus .news-title { text-decoration: underline; text-underline-offset: 3px; outline: none; }

/* NEWS arrows */
.news-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid rgba(255,255,255,0.28);
	background: rgba(0,0,0,0.20);
	color: rgba(255,255,255,0.95);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.news-arrow:hover,
.news-arrow:focus { background: rgba(0,0,0,0.32); border-color: rgba(255,255,255,0.40); outline: none; }
.news-arrow-left { left: 12px; }
.news-arrow-right { right: 12px; }

/* Latest Offers */
.latest-offers-header { display: flex; align-items: center; justify-content: flex-start; gap: 10px; margin-bottom: 14px; }
.latest-offers-header h2 {
	margin: 0;
	color: #1a1a2e;
	background: none;
	border: none;
	box-shadow: none;
	padding: 0;
	border-bottom: 2px solid #e2e8f0;
	padding-bottom: 10px;
	display: block;
	font-size: 1.4rem;
}
.refresh-link,
.refresh-link:visited {
	color: #64748b;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	border: 1px solid #e2e8f0;
	background: #fff;
}
.refresh-link:hover,
.refresh-link:focus {
	color: #0d9488;
	border-color: #0d9488;
	background: #f1f5f9;
	outline: none;
}
.refresh-link svg {
	stroke: currentColor;
}

/* Coupons */
.coupon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.coupon-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	padding: 16px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 8px rgba(0,0,0,0.06);
	transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
	overflow: hidden;
}
.coupon-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.12); transform: translateY(-3px); border-color: #cbd5e1; }
.coupon-card h3 {
	font-size: 1.1rem;
	font-weight: 700;
	line-height: 1.25;
	min-height: 2.5em;
	margin-bottom: 6px;
	color: #1a1a2e;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-word;
}
.coupon-meta {
	font-size: 0.9rem;
	color: #64748b;
	margin-bottom: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.coupon-meta a,
.coupon-meta a:visited { color: #1a1a2e; text-decoration: none; font-weight: 700; }
.coupon-meta a:hover,
.coupon-meta a:focus { text-decoration: underline; text-underline-offset: 2px; }

.coupon-card .app-btn { align-self: flex-start; font-size: 0.85rem; padding: 8px 14px; line-height: 1.2; border-radius: 6px; margin-bottom: 12px; }
.coupon-thumb {
	height: 120px;
	border-radius: 8px;
	border: 1px dashed #e2e8f0;
	background: #f8f9fb;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	font-weight: 800;
	letter-spacing: 1px;
	font-size: 0.85rem;
	user-select: none;
}

/* Categories / Browse stores page */
.cat-toolbar {
	margin: 24px 0 16px;
}
.cat-search-form {
	display: flex;
	max-width: 400px;
	gap: 8px;
}
.cat-search-input {
	flex: 1;
	height: 42px;
	border-radius: 10px;
	border: 1px solid #d1d5db;
	padding: 0 14px;
	font-size: 0.9rem;
	background: #fff;
	transition: border-color 0.15s;
}
.cat-search-input:focus {
	outline: none;
	border-color: #0f766e;
	box-shadow: 0 0 0 3px rgba(15,118,110,0.12);
}
.cat-search-btn {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	border: 1px solid #0f766e;
	background: #0f766e;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex-shrink: 0;
	transition: background 0.15s;
}
.cat-search-btn:hover { background: #0d9488; }

.cat-letters {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	margin-bottom: 28px;
	padding: 12px 0;
	border-bottom: 1px solid #e5e7eb;
}
.cat-letter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	border-radius: 8px;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none;
	color: #334155;
	background: #f1f5f9;
	border: 1px solid transparent;
	transition: all 0.15s;
}
.cat-letter:hover { background: #e2e8f0; color: #0f766e; }
.cat-letter.is-active {
	background: #0f766e;
	color: #fff;
	border-color: #0f766e;
}
.cat-letter.is-empty {
	color: #cbd5e1;
	pointer-events: none;
}

.cat-group { margin-bottom: 32px; }
.cat-group-letter {
	font-size: 1.3rem;
	font-weight: 800;
	color: #0f766e;
	border-bottom: 2px solid #e5e7eb;
	padding-bottom: 6px;
	margin-bottom: 14px;
}
.cat-store-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 10px;
}
.cat-store-card {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border-radius: 10px;
	text-decoration: none;
	color: #1a1a2e;
	background: #fff;
	border: 1px solid #e5e7eb;
	transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.cat-store-card:hover {
	border-color: #0d9488;
	box-shadow: 0 3px 12px rgba(0,0,0,0.08);
	transform: translateY(-1px);
}
.cat-store-card:visited { color: #1a1a2e; }
.cat-store-logo {
	width: 36px;
	height: 36px;
	min-width: 36px;
	border-radius: 8px;
	object-fit: contain;
	background: #f8fafc;
	border: 1px solid #e5e7eb;
	padding: 3px;
}
.cat-store-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
	overflow: hidden;
}
.cat-store-name {
	font-weight: 700;
	font-size: 0.88rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.cat-store-count {
	font-size: 0.75rem;
	color: #64748b;
	font-weight: 500;
}

.cat-empty {
	text-align: center;
	padding: 48px 20px;
	color: #64748b;
	font-size: 0.95rem;
}

/* MOBILE */
@media (max-width: 600px) {
	.header-search { display: none; }

	.hero-search { display: block; }
	.hero-content { min-height: 260px; justify-content: center; gap: 12px; padding: 36px 20px; }
	.hero-content h1 { font-size: 1.5rem; }
	.hero-slider { min-height: 280px; }

	.hero-arrow { display: none; }
	.news-arrow { display: none; }

	.news-content-link { padding: 16px; }

	header .logo { font-size: 1rem; }
	header .logo svg { width: 20px; height: 20px; }

	.consumer-section h2 { font-size: 1.2rem; }
	.news-slider { margin-top: 18px; }

	.popular-stores { display: none; }

	.page-hero { padding: 20px 0 18px; }
	.page-hero-title { font-size: 1.2rem; }

	.cat-letters { gap: 3px; }
	.cat-letter { min-width: 30px; height: 30px; font-size: 0.75rem; }
	.cat-store-grid { grid-template-columns: 1fr; }
	.cat-search-form { max-width: 100%; }
}
