:root {
	--cc-green: #00A859;
	--cc-green-dark: #008F4C;
	--cc-dark: #101820;
	--cc-muted: #667085;
	--cc-border: #E6EAF0;
	--cc-light: #F7F9FA;
	--cc-success: #EAF8F1;
	--cc-white: #fff;
	--cc-shadow: 0 12px 30px rgba(16, 24, 32, .08);
	--cc-radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	color: var(--cc-dark);
	font-family: Inter, Arial, Helvetica, sans-serif;
	background: var(--cc-white);
	line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.screen-reader-text, .skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 999; background: #fff; padding: 10px; }
:focus-visible { outline: 3px solid rgba(0,168,89,.35); outline-offset: 2px; }

.button, button.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border: 0;
	border-radius: 10px;
	background: var(--cc-green);
	color: #fff;
	font-weight: 700;
	transition: background .2s ease, transform .2s ease;
}
.button:hover { background: var(--cc-green-dark); transform: translateY(-1px); }

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255,255,255,.96);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--cc-border);
}
.header-inner {
	width: min(1240px, calc(100% - 32px));
	margin: auto;
	min-height: 76px;
	display: grid;
	grid-template-columns: auto auto 1fr auto;
	gap: 24px;
	align-items: center;
}
.site-branding img { max-height: 44px; width: auto; }
.site-name { color: var(--cc-green); font-size: 24px; font-weight: 800; letter-spacing: 0; }
.primary-menu, .mobile-menu { display: flex; gap: 20px; align-items: center; list-style: none; padding: 0; margin: 0; }
.primary-menu a { color: var(--cc-dark); font-weight: 600; font-size: 14px; }
.primary-menu a:hover { color: var(--cc-green); }
.header-search, .cc-search-form {
	position: relative;
	display: flex;
	align-items: center;
	background: var(--cc-light);
	border: 1px solid var(--cc-border);
	border-radius: 999px;
	overflow: visible;
}
.header-search input, .cc-search-form input {
	width: 100%;
	min-width: 260px;
	height: 46px;
	padding: 0 16px;
	border: 0;
	background: transparent;
	outline: none;
}
.cc-search-form button {
	width: 42px;
	height: 42px;
	margin-right: 2px;
	border: 0;
	border-radius: 999px;
	background: var(--cc-green);
	color: #fff;
	font-size: 20px;
}
.cc-search-results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	display: none;
	background: #fff;
	border: 1px solid var(--cc-border);
	border-radius: 14px;
	box-shadow: var(--cc-shadow);
	padding: 8px;
	z-index: 70;
}
.cc-search-results.active { display: block; }
.search-result {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: 10px;
	align-items: center;
	padding: 8px;
	border-radius: 10px;
}
.search-result:hover { background: var(--cc-light); }
.search-result img, .search-result .result-fallback { width: 36px; height: 36px; border-radius: 9px; background: var(--cc-success); display: grid; place-items: center; color: var(--cc-green); font-weight: 800; }
.search-result small { display: block; color: var(--cc-muted); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-button {
	width: 42px;
	height: 42px;
	border: 1px solid var(--cc-border);
	border-radius: 999px;
	background: #fff;
	display: inline-grid;
	place-items: center;
	font-size: 20px;
	color: var(--cc-dark);
}
.login-link { font-weight: 700; color: var(--cc-green); }
.join-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 38px;
	padding: 0 18px;
	border-radius: 8px;
	background: var(--cc-green);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}
.menu-toggle, .mobile-search, .mobile-panel { display: none; }
.menu-toggle span { width: 18px; height: 2px; background: currentColor; display: block; margin: 3px auto; }

.hero-wrap { width: min(1240px, calc(100% - 32px)); margin: 24px auto 0; }
.hero-slider {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	box-shadow: var(--cc-shadow);
}
.hero-track { display: flex; transition: transform .5s ease; touch-action: pan-y; }
.hero-slide {
	min-width: 100%;
	min-height: 430px;
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 24px;
	align-items: center;
	padding: clamp(28px, 5vw, 64px);
}
.hero-content .eyebrow, .coupon-label {
	margin: 0 0 10px;
	color: var(--cc-green);
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .08em;
}
.hero-content h1 { max-width: 590px; margin: 0 0 16px; font-size: clamp(34px, 5vw, 58px); line-height: 1.02; letter-spacing: 0; }
.hero-content p { max-width: 560px; color: var(--cc-muted); font-size: 17px; }
.offer-badge { display: inline-flex; margin: 10px 12px 10px 0; padding: 8px 12px; border-radius: 999px; background: #fff; color: var(--cc-green); font-weight: 800; }
.hero-art {
	aspect-ratio: 1.45;
	border-radius: 22px;
	background: linear-gradient(135deg, #fff, #dff7ea);
	display: grid;
	place-items: center;
	color: var(--cc-green);
	font-size: clamp(28px, 4vw, 52px);
	font-weight: 800;
	text-align: center;
	padding: 28px;
}
.slider-arrow, .carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 42px;
	height: 42px;
	border: 0;
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 8px 24px rgba(0,0,0,.12);
	font-size: 28px;
	color: var(--cc-dark);
	z-index: 2;
}
.hero-prev, .prev { left: 14px; }
.hero-next, .next { right: 14px; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; }
.hero-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(16,24,32,.25); }
.hero-dots button.active { width: 26px; background: var(--cc-green); }
.trust-row {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin-top: 16px;
}
.trust-row span { background: var(--cc-success); border-radius: 12px; padding: 14px 16px; color: var(--cc-green-dark); font-weight: 700; text-align: center; }

.cc-section { padding: 56px 0 0; }
.section-heading { margin-bottom: 22px; }
.section-heading h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
.section-heading p { margin: 0; color: var(--cc-muted); }
.with-link { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.with-link > a { color: var(--cc-green); font-weight: 800; }

.horizontal-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 64px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.horizontal-scroll > * { scroll-snap-align: start; }
.carousel-shell { position: relative; }
.campaign-carousel { scroll-behavior: smooth; }

.coupon-grid, .archive-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.coupon-card, .content-card, .store-card, .category-card, .store-tile {
	position: relative;
	background: #fff;
	border: 1px solid var(--cc-border);
	border-radius: var(--cc-radius);
	padding: 18px;
	box-shadow: 0 4px 18px rgba(16,24,32,.05);
}
.coupon-card { min-height: 310px; display: flex; flex-direction: column; }
.coupon-store { display: flex; align-items: center; gap: 10px; margin: 12px 0 16px; min-height: 46px; }
.coupon-store img, .cc-logo-fallback, .single-logo img { width: 46px; height: 46px; object-fit: contain; border: 1px solid var(--cc-border); border-radius: 12px; background: #fff; }
.cc-logo-fallback { display: grid; place-items: center; color: var(--cc-green); background: var(--cc-success); font-weight: 800; }
.coupon-card h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.15; }
.coupon-card p { margin: 0 0 12px; color: var(--cc-muted); }
.coupon-meta { display: grid; gap: 4px; color: var(--cc-muted); font-size: 14px; margin-bottom: 16px; }
.coupon-card .button { margin-top: auto; width: 100%; }
.details-link { margin-top: 10px; text-align: center; color: var(--cc-green); font-weight: 700; }
.fav-button { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 1px solid var(--cc-border); border-radius: 999px; background: #fff; color: var(--cc-green); font-size: 18px; z-index: 1; }
.fav-button.active { background: var(--cc-green); color: #fff; }

.category-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px; }
.category-card { text-align: center; min-height: 128px; display: grid; place-items: center; gap: 4px; }
.category-card img, .category-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--cc-success); display: grid; place-items: center; color: var(--cc-green); font-size: 23px; }
.category-card span:last-child { color: var(--cc-muted); font-size: 13px; }
.store-carousel { grid-auto-columns: 150px; }
.store-card, .store-tile { display: grid; justify-items: center; align-content: center; gap: 10px; min-height: 150px; text-align: center; }
.store-card img, .store-tile img { width: 68px; height: 48px; object-fit: contain; }
.store-card span, .store-tile span { color: var(--cc-muted); font-size: 13px; }

.exclusive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.exclusive-card { display: grid; grid-template-columns: 1fr .8fr; gap: 18px; align-items: center; overflow: hidden; border: 1px solid var(--cc-border); border-radius: 18px; padding: 22px; background: var(--cc-light); }
.exclusive-card img { border-radius: 14px; object-fit: cover; width: 100%; height: 220px; }
.discount-large { color: var(--cc-green); font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1; }
.promo-art { height: 220px; border-radius: 14px; background: var(--cc-success); display: grid; place-items: center; color: var(--cc-green); font-weight: 800; }
.expiring-section .coupon-card { border-color: #ffd9b0; }
.expiring-section .coupon-meta span:last-child { color: #b54708; font-weight: 700; }

.newsletter-band { margin-top: 64px; padding: 42px 0; background: var(--cc-dark); color: #fff; }
.newsletter-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.newsletter-inner h2 { margin: 0 0 6px; font-size: 32px; }
.newsletter-inner p { margin: 0; color: rgba(255,255,255,.72); }
.newsletter-form { display: flex; gap: 10px; }
.newsletter-form input { min-width: 280px; height: 46px; border-radius: 10px; border: 0; padding: 0 14px; }

.site-footer { background: #07120d; color: #fff; padding: 50px 0 90px; }
.footer-inner { width: min(1180px, calc(100% - 32px)); margin: auto; display: grid; grid-template-columns: .8fr 2fr; gap: 44px; }
.footer-brand p, .footer-columns a { color: rgba(255,255,255,.7); }
.footer-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-columns section { display: grid; gap: 8px; align-content: start; }
.footer-columns h3 { margin: 0 0 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.footer-bottom { width: min(1180px, calc(100% - 32px)); margin: 30px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); }
.bottom-nav { display: none; }

.page-hero { background: var(--cc-success); padding: 60px 0; }
.page-hero.compact h1 { margin: 0 0 8px; font-size: clamp(32px, 5vw, 48px); }
.page-content { padding: 50px 0; }
.archive-layout { display: grid; grid-template-columns: 260px 1fr; gap: 24px; padding-top: 36px; }
.filter-box { display: grid; gap: 14px; background: var(--cc-light); padding: 16px; border-radius: 14px; border: 1px solid var(--cc-border); }
.filter-box input, .filter-box select, .store-filter { width: 100%; min-height: 44px; border: 1px solid var(--cc-border); border-radius: 10px; padding: 0 12px; }
.store-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; padding-top: 36px; }
.coupon-single-hero, .store-single-hero { background: var(--cc-light); padding: 50px 0; }
.coupon-single-grid { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
.coupon-single-main, .coupon-single-side, .store-single-head { background: #fff; border: 1px solid var(--cc-border); border-radius: 18px; padding: 24px; }
.single-logo, .store-single-head { display: flex; gap: 16px; align-items: center; }
.coupon-actions .coupon-card { max-width: 420px; }

.empty-state { padding: 24px; border: 1px dashed var(--cc-border); border-radius: 14px; color: var(--cc-muted); background: var(--cc-light); }

/* Reference-inspired homepage polish: compact, coupon-app style. */
body {
	background:
		radial-gradient(circle at top right, rgba(0, 168, 89, .06), transparent 34rem),
		linear-gradient(90deg, #fff 0, #f7fbff 100%);
}
.container { width: min(1090px, calc(100% - 44px)); }
.site-header { background: rgba(255, 255, 255, .92); }
.header-inner {
	width: min(1120px, calc(100% - 44px));
	min-height: 56px;
	gap: 18px;
}
.site-name { font-size: 23px; }
.site-name::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	margin-right: 7px;
	vertical-align: -3px;
	border-radius: 6px 6px 6px 1px;
	background: var(--cc-green);
	transform: rotate(-45deg);
}
.primary-menu { gap: 18px; }
.primary-menu a { font-size: 12px; }
.header-search input,
.cc-search-form input { height: 38px; font-size: 12px; }
.cc-search-form button { width: 38px; height: 38px; border-radius: 0 9px 9px 0; margin-right: 0; }
.header-search,
.cc-search-form { border-radius: 9px; background: #fff; box-shadow: 0 3px 12px rgba(16,24,32,.04); }
.icon-button { width: 34px; height: 34px; border: 0; font-size: 18px; }
.login-link { color: var(--cc-dark); font-size: 12px; }

.hero-wrap { width: min(1090px, calc(100% - 44px)); margin-top: 16px; }
.hero-slider { border-radius: 16px; box-shadow: 0 10px 28px rgba(0, 0, 0, .06); }
.hero-slide {
	min-height: 300px;
	grid-template-columns: .98fr 1.02fr;
	padding: 42px 62px;
	background-image: radial-gradient(circle at 75% 10%, rgba(255, 214, 214, .9), transparent 18rem), radial-gradient(circle at 42% 0, rgba(226, 255, 229, .9), transparent 16rem);
}
.hero-content .eyebrow,
.coupon-label { font-size: 12px; letter-spacing: .05em; color: var(--cc-dark); }
.hero-content h1 {
	max-width: 500px;
	font-size: clamp(36px, 4.4vw, 54px);
	line-height: 1.03;
}
.hero-content h1::first-line { color: var(--cc-green); }
.hero-content p { color: var(--cc-dark); font-size: 16px; line-height: 1.35; }
.hero-content .button { min-height: 48px; padding-inline: 28px; }
.hero-art { aspect-ratio: 1.9; background: linear-gradient(135deg, #fff8ef, #ffe2e5); color: var(--cc-green); }
.slider-arrow { width: 48px; height: 48px; font-size: 34px; }
.hero-prev { left: -18px; }
.hero-next { right: -18px; }
.hero-dots { bottom: 10px; }
.hero-dots button { width: 10px; height: 10px; opacity: .55; }
.hero-dots button.active { width: 22px; opacity: 1; }
.trust-row { grid-template-columns: repeat(4, max-content); justify-content: start; gap: 24px; margin: -42px 0 0 28px; position: relative; z-index: 3; }
.trust-row span {
	background: transparent;
	padding: 0;
	color: var(--cc-dark);
	font-size: 12px;
}

.cc-section { padding-top: 28px; }
.section-heading { margin-bottom: 10px; }
.section-heading h2 { font-size: 25px; }
.section-heading p { font-size: 13px; color: #344054; }
.with-link > a { font-size: 12px; color: var(--cc-green); }
.horizontal-scroll { grid-auto-columns: calc((100% - 64px) / 5); gap: 14px; }

.coupon-card,
.content-card,
.store-card,
.category-card,
.store-tile {
	border-radius: 10px;
	padding: 16px;
	box-shadow: 0 6px 18px rgba(16, 24, 32, .045);
}
.coupon-card { min-height: 268px; }
.coupon-label {
	position: absolute;
	top: 10px;
	right: 12px;
	margin: 0;
	padding: 3px 8px;
	border-radius: 999px;
	background: #ff7a45;
	color: #fff;
	font-size: 10px;
	text-transform: none;
	letter-spacing: 0;
}
.fav-button {
	top: 10px;
	left: 10px;
	right: auto;
	width: 16px;
	height: 16px;
	border: 0;
	color: #c7d1dc;
	font-size: 12px;
}
.coupon-store {
	display: grid;
	justify-items: center;
	gap: 8px;
	margin: 16px 0 14px;
	min-height: 76px;
}
.coupon-store img,
.cc-logo-fallback {
	width: 112px;
	height: 52px;
	border: 0;
	border-radius: 0;
	object-fit: contain;
	background: transparent;
	font-size: 30px;
}
.coupon-store strong { font-size: 0; line-height: 0; }
.coupon-card h3 { font-size: 18px; margin-bottom: 2px; }
.coupon-card p { color: var(--cc-dark); font-size: 13px; margin-bottom: 10px; }
.coupon-meta { gap: 2px; font-size: 12px; margin-bottom: 12px; }
.coupon-card .button {
	min-height: 42px;
	border-radius: 8px;
	font-size: 13px;
}
.details-link { display: none; }
.coupon-card-default .button.reveal-code,
.coupon-card-recent .button.reveal-code,
.coupon-card-expiring .button.reveal-code {
	width: auto;
	min-height: 34px;
	margin-top: auto;
	align-self: start;
	padding-inline: 12px;
	border: 1px solid #bcebdd;
	background: #ecfbf6;
	color: var(--cc-green-dark);
	text-transform: uppercase;
	font-size: 12px;
}

.category-grid { gap: 14px; }
.category-card {
	min-height: 108px;
	padding: 14px 10px;
	background: linear-gradient(180deg, #fff, #fbfdff);
}
.category-card img,
.category-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	font-size: 30px;
	background: transparent;
}
.category-card:nth-child(1) .category-icon { color: #ff577f; }
.category-card:nth-child(2) .category-icon { color: #0b73de; }
.category-card:nth-child(3) .category-icon { color: #0b8dde; }
.category-card:nth-child(4) .category-icon { color: #ff7a1a; }
.category-card:nth-child(5) .category-icon { color: #7157d9; }
.category-card:nth-child(6) .category-icon { color: #ff9f2d; }
.category-card:nth-child(7) .category-icon { color: var(--cc-green); }
.category-card:nth-child(8) .category-icon { color: #5964d8; }
.category-card strong { font-size: 13px; }
.category-card span:last-child { display: none; }

.store-carousel { grid-auto-columns: 110px; }
.store-card,
.store-tile { min-height: 86px; padding: 12px; }
.store-card img,
.store-tile img { width: 82px; height: 38px; }
.store-card span { display: none; }

.exclusive-grid { gap: 14px; }
.exclusive-card {
	min-height: 210px;
	border: 0;
	border-radius: 10px;
	padding: 28px;
	background: linear-gradient(135deg, #0e86dd, #62c2ff);
	color: #fff;
}
.exclusive-card:nth-child(even) {
	background: linear-gradient(135deg, #fff1f1, #ffd8df);
	color: var(--cc-dark);
}
.exclusive-card .discount-large { color: inherit; }
.exclusive-card .button { background: #fff; color: var(--cc-dark); }
.exclusive-card img,
.promo-art { height: 170px; }

.home-duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: start;
}
.home-duo > .container {
	width: 100%;
	margin: 0;
}
.home-duo .coupon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.home-duo .coupon-card { min-height: 220px; padding: 14px; }
.home-duo .coupon-store { min-height: 50px; margin-top: 10px; }
.home-duo .coupon-store img,
.home-duo .cc-logo-fallback { width: 78px; height: 34px; }
.home-duo .coupon-card h3 { font-size: 16px; }
.home-duo .coupon-card p,
.home-duo .coupon-meta { font-size: 11px; }

.newsletter-band {
	width: min(1090px, calc(100% - 44px));
	margin: 28px auto 0;
	padding: 20px 0;
	border-radius: 10px;
	background: linear-gradient(135deg, #064537, #06231d);
}
.newsletter-inner { width: calc(100% - 48px); grid-template-columns: 1fr minmax(320px, 520px); }
.newsletter-inner h2 { font-size: 23px; }
.newsletter-form { gap: 0; }
.newsletter-form input { border-radius: 8px 0 0 8px; }
.newsletter-form .button { border-radius: 0 8px 8px 0; }

.site-footer {
	margin-top: 14px;
	background: transparent;
	color: var(--cc-dark);
	padding-top: 18px;
}
.footer-inner { width: min(1090px, calc(100% - 44px)); grid-template-columns: .75fr 2.4fr; gap: 40px; }
.footer-brand p,
.footer-columns a,
.footer-bottom { color: #344054; font-size: 12px; }
.footer-columns h3 { color: var(--cc-dark); font-size: 12px; }
.footer-bottom { border-top: 0; margin-top: 14px; }
