@media (max-width: 1180px) {
	.header-inner { grid-template-columns: auto 1fr auto; gap: 14px; }
	.primary-nav { display: none; }
	.menu-toggle { display: inline-grid; }
	.header-search { grid-column: 1 / -1; max-width: none; }
	.horizontal-scroll { grid-auto-columns: calc((100% - 32px) / 3); }
	.category-grid { grid-template-columns: repeat(4, 1fr); }
	.store-grid { grid-template-columns: repeat(4, 1fr); }
	.trust-row { margin-top: 12px; grid-template-columns: repeat(4, 1fr); }
	.home-duo { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
	body { padding-bottom: 72px; }
	.container, .hero-wrap, .header-inner, .footer-inner, .footer-bottom { width: min(100% - 24px, 1180px); }
	.header-inner { min-height: 54px; grid-template-columns: auto 1fr auto; gap: 8px; }
	.site-branding { justify-self: center; }
	.site-name { font-size: 19px; }
	.site-name::before { width: 17px; height: 17px; margin-right: 6px; }
	.header-search, .login-link, .join-link { display: none; }
	.mobile-search { display: block; width: min(100% - 24px, 1180px); margin: 0 auto 8px; }
	.mobile-search input { min-width: 0; height: 36px; font-size: 11px; }
	.header-actions { gap: 6px; }
	.header-actions .icon-button { width: 32px; height: 32px; font-size: 16px; }
	.mobile-panel {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(310px, 86vw);
		background: #fff;
		box-shadow: var(--cc-shadow);
		padding: 86px 22px 22px;
		z-index: 80;
	}
	.mobile-panel.open { display: block; }
	.mobile-menu { display: grid; gap: 16px; font-size: 18px; }
	.hero-wrap { margin-top: 10px; }
	.hero-slider { border-radius: 10px; }
	.hero-slide {
		min-height: 182px;
		grid-template-columns: 1.05fr .95fr;
		gap: 4px;
		padding: 20px 18px 34px;
		text-align: left;
	}
	.hero-content .eyebrow { font-size: 8px; margin-bottom: 4px; }
	.hero-content h1 { font-size: 20px; max-width: 190px; margin-bottom: 4px; }
	.hero-content p { font-size: 9px; max-width: 170px; margin: 0 0 8px; }
	.hero-content .button { min-height: 32px; padding: 0 12px; font-size: 10px; border-radius: 7px; }
	.offer-badge { position: absolute; top: 14px; right: 18px; width: 52px; height: 52px; display: grid; place-items: center; text-align: center; padding: 0; font-size: 12px; border-radius: 999px; background: var(--cc-green); color: #fff; }
	.hero-image { order: 0; align-self: end; }
	.hero-art { aspect-ratio: 1; font-size: 18px; border-radius: 12px; padding: 10px; }
	.slider-arrow { display: none; }
	.hero-dots { bottom: 8px; }
	.trust-row { display: none; }
	.cc-section { padding-top: 22px; }
	.section-heading { margin-bottom: 8px; }
	.section-heading h2 { font-size: 18px; }
	.section-heading p,
	.with-link > a { font-size: 11px; }
	.with-link { align-items: start; }
	.horizontal-scroll, .mobile-scroll {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 48%;
		grid-template-columns: none;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		gap: 10px;
	}
	.carousel-arrow { display: none; }
	.coupon-grid, .archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.coupon-card { min-height: 218px; padding: 12px; }
	.coupon-label { font-size: 8px; top: 7px; right: 7px; }
	.fav-button { top: 7px; left: 7px; }
	.coupon-store { min-height: 50px; margin: 10px 0 8px; }
	.coupon-store img,
	.cc-logo-fallback { width: 74px; height: 34px; font-size: 20px; }
	.coupon-card h3 { font-size: 14px; }
	.coupon-card p,
	.coupon-meta { font-size: 10px; }
	.coupon-card .button { min-height: 34px; font-size: 10px; }
	.category-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
	.category-card { min-height: 86px; padding: 8px 5px; }
	.category-card img, .category-icon { width: 34px; height: 34px; font-size: 23px; }
	.category-card strong { font-size: 10px; }
	.category-card span:last-child { display: none; }
	.exclusive-grid, .exclusive-card { grid-template-columns: 1fr; }
	.exclusive-card img, .promo-art { height: 160px; }
	.home-duo { width: min(100% - 24px, 1180px); gap: 0; }
	.home-duo .coupon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.newsletter-inner, .footer-inner, .footer-columns, .archive-layout, .coupon-single-grid { grid-template-columns: 1fr; }
	.newsletter-band { width: min(100% - 24px, 1180px); padding: 18px 0; }
	.newsletter-inner { width: calc(100% - 28px); }
	.newsletter-form { flex-direction: column; }
	.newsletter-form input { min-width: 0; width: 100%; }
	.newsletter-form input,
	.newsletter-form .button { border-radius: 8px; }
	.store-grid { grid-template-columns: repeat(2, 1fr); }
	.store-carousel { grid-auto-columns: 84px; }
	.store-card { min-height: 70px; }
	.site-footer { padding-bottom: 110px; }
	.bottom-nav {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 60;
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		background: #fff;
		border-top: 1px solid var(--cc-border);
		box-shadow: 0 -8px 24px rgba(16,24,32,.08);
	}
	.bottom-nav a { min-height: 64px; display: grid; place-items: center; gap: 2px; color: var(--cc-muted); font-size: 20px; }
	.bottom-nav span { font-size: 11px; font-weight: 700; }
	.bottom-nav a:hover, .bottom-nav a[aria-current="page"] { color: var(--cc-green); }
	.single-store .bottom-nav a[href*="/stores/"],
	.post-type-archive-store .bottom-nav a[href*="/stores/"] { color: var(--cc-green); }
	.modal-actions { grid-template-columns: 1fr; }
}

@media (min-width: 768px) and (max-width: 1023px) {
	.container, .hero-wrap, .header-inner, .footer-inner, .footer-bottom { width: min(100% - 34px, 1180px); }
	.hero-slide { min-height: 260px; padding: 32px 44px; }
	.hero-content h1 { font-size: 34px; }
	.coupon-grid, .archive-grid { grid-template-columns: repeat(2, 1fr); }
	.exclusive-grid { grid-template-columns: 1fr; }
	.store-grid { grid-template-columns: repeat(3, 1fr); }
	.horizontal-scroll { grid-auto-columns: calc((100% - 24px) / 3); }
	.home-duo .coupon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 380px) {
	.category-grid { grid-template-columns: repeat(2, 1fr); }
	.header-actions .icon-button:first-child { display: none; }
}
