/**
 * KerryPicks - Category Hub Stylesheet
 *
 * Ultra modern, high-converting, space-optimized category index with 3D icons,
 * interactive search, SEO subcategory chips, and responsive grids.
 *
 * @package KerryPicks
 */

/* ==========================================================================
   1. Page Layout & Container Normalization
   ========================================================================== */
body:has(.chc-categories-page) .site-content,
body:has(.chc-categories-page) #content,
body:has(.chc-categories-page) #primary,
body:has(.chc-categories-page) .content-area,
body:has(.chc-categories-page) .ast-container,
body:has(.chc-categories-page) .site-main {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

.chc-categories-page,
.chc-categories-page *,
.chc-categories-page *::before,
.chc-categories-page *::after {
	box-sizing: border-box;
}

.chc-categories-page {
	padding: 24px 0 64px;
	background: var(--kp-color-page, #ffffff);
	color: var(--kp-color-ink, #102E50);
	font-family: var(--kp-font-ui, "Plus Jakarta Sans", "Inter", sans-serif);
	overflow-x: hidden;
	width: 100%;
}

.chc-categories-page .chc-public__inner {
	width: min(var(--kp-container, 1180px), calc(100% - 32px));
	margin: 0 auto;
}

/* ==========================================================================
   2. Hero Section
   ========================================================================== */
.chc-cat-hero {
	background: linear-gradient(180deg, #FBF8F4 0%, #FFFFFF 100%);
	border: 1px solid var(--kp-color-border, #E2E6EA);
	border-radius: 24px;
	padding: 40px 24px 36px;
	text-align: center;
	margin-bottom: 36px;
	position: relative;
	box-shadow: 0 4px 16px rgba(16, 46, 80, 0.025);
}

.chc-cat-hero__inner {
	max-width: 820px;
	margin: 0 auto;
}

.chc-cat-hero__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: #ffffff;
	border: 1px solid var(--kp-color-border, #E2E6EA);
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	color: var(--kp-color-cobalt, #164D7D);
	box-shadow: 0 2px 6px rgba(16, 46, 80, 0.04);
	margin-bottom: 16px;
	max-width: 100%;
}

.chc-cat-hero__badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #059669;
	display: inline-block;
	flex-shrink: 0;
}

.chc-cat-hero__title,
.chc-categories-page .chc-cat-hero__title {
	font-family: var(--kp-font-ui, "Plus Jakarta Sans", "Inter", sans-serif);
	font-size: clamp(26px, 4vw, 42px);
	font-weight: 800;
	color: var(--kp-color-ink, #102E50);
	line-height: 1.18;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
	inline-size: 100% !important;
	max-width: 100% !important;
	white-space: normal !important;
	word-break: normal;
	overflow: visible !important;
}

.chc-cat-hero__subtitle {
	font-size: 15.5px;
	color: var(--kp-color-text-secondary, #596B7D);
	line-height: 1.6;
	margin: 0 auto 28px;
	max-width: 660px;
}

/* Hero Search & Filter */
.chc-cat-search-container {
	margin-top: 12px;
}

.chc-cat-search-box {
	position: relative;
	max-width: 620px;
	margin: 0 auto;
	background: #ffffff;
	border: 2px solid var(--kp-color-border, #E2E6EA);
	border-radius: 14px;
	box-shadow: 0 4px 14px rgba(16, 46, 80, 0.05);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	align-items: center;
}

.chc-cat-search-box:focus-within {
	border-color: var(--kp-color-cobalt, #164D7D);
	box-shadow: 0 4px 20px rgba(22, 77, 125, 0.12);
}

.chc-cat-search-icon {
	position: absolute;
	left: 18px;
	width: 18px;
	height: 18px;
	color: var(--kp-color-muted, #7E8A97);
	pointer-events: none;
	flex-shrink: 0;
}

.chc-cat-search-input {
	width: 100%;
	height: 52px;
	padding: 0 44px 0 52px !important;
	border: none;
	background: transparent;
	font-size: 15px;
	color: var(--kp-color-ink, #102E50);
	outline: none;
}

.chc-cat-search-input::placeholder {
	color: var(--kp-color-muted, #7E8A97);
	font-size: 14.5px;
}

.chc-cat-search-clear {
	position: absolute;
	right: 14px;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #E2E6EA;
	border: none;
	color: #596B7D;
	font-size: 18px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.chc-cat-search-clear:hover {
	background: #CBD5E1;
	color: #102E50;
}

/* Quick Filter Pills */
.chc-cat-filter-pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 18px;
}

.chc-filter-pill {
	background: #ffffff;
	border: 1px solid var(--kp-color-border, #E2E6EA);
	color: var(--kp-color-text-secondary, #596B7D);
	padding: 6px 14px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
	line-height: 1.3;
}

.chc-filter-pill:hover {
	background: #F8FAFC;
	border-color: #CBD5E1;
	color: var(--kp-color-ink, #102E50);
}

.chc-filter-pill.is-active {
	background: var(--kp-color-cobalt, #164D7D);
	border-color: var(--kp-color-cobalt, #164D7D);
	color: #ffffff;
	box-shadow: 0 2px 8px rgba(22, 77, 125, 0.25);
}

/* ==========================================================================
   3. Categories Grid & Cards
   ========================================================================= */
.chc-cat-section {
	margin-bottom: 48px;
}

.chc-cat-section__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
	flex-wrap: wrap;
	gap: 12px;
}

.chc-cat-section__title-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
}

.chc-cat-section__heading {
	font-size: 22px;
	font-weight: 800;
	color: var(--kp-color-ink, #102E50);
	margin: 0;
	letter-spacing: -0.01em;
}

.chc-cat-section__count {
	font-size: 13px;
	font-weight: 600;
	color: var(--kp-color-text-secondary, #596B7D);
	background: #F1F5F9;
	padding: 4px 12px;
	border-radius: 999px;
}

/* Responsive 3-Column Grid */
.chc-cat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

/* Category Card */
.chc-cat-card {
	background: #ffffff;
	border: 1px solid var(--kp-color-border, #E2E6EA);
	border-radius: 18px;
	padding: 22px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 10px rgba(16, 46, 80, 0.03);
	transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
	position: relative;
}

.chc-cat-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px rgba(16, 46, 80, 0.08);
	border-color: #CBD5E1;
}

/* Card Header */
.chc-cat-card__header {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 14px;
}

.chc-cat-card__icon-link {
	text-decoration: none;
	display: block;
	flex-shrink: 0;
}

.chc-cat-card__icon-wrap {
	width: 72px;
	height: 72px;
	border-radius: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	box-shadow: 0 4px 12px rgba(16, 46, 80, 0.06);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	border: 1px solid rgba(16, 46, 80, 0.05);
}

.chc-cat-card:hover .chc-cat-card__icon-wrap {
	transform: scale(1.05) rotate(-2deg);
	box-shadow: 0 8px 18px rgba(16, 46, 80, 0.12);
}

.chc-cat-card__icon-img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.08));
}

.chc-cat-card__title-meta {
	flex: 1;
	min-width: 0;
}

.chc-cat-card__title {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 6px;
}

.chc-cat-card__title a {
	color: var(--kp-color-ink, #102E50);
	text-decoration: none;
	transition: color 0.15s ease;
}

.chc-cat-card__title a:hover {
	color: var(--kp-color-cobalt, #164D7D);
}

.chc-cat-card__meta-badges {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.chc-cat-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11.5px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 6px;
	background: #F1F5F9;
	color: #475569;
}

.chc-cat-badge--popular {
	background: #ECFDF5;
	color: #047857;
	font-weight: 700;
}

.chc-cat-badge--popular svg {
	color: #059669;
}

.chc-cat-subcount-badge {
	font-size: 11px;
	font-weight: 600;
	color: #64748B;
	background: #F8FAFC;
	border: 1px solid #E2E8F0;
	padding: 2px 7px;
	border-radius: 6px;
}

/* Card Body */
.chc-cat-card__desc {
	font-size: 13.5px;
	color: var(--kp-color-text-secondary, #596B7D);
	line-height: 1.5;
	margin: 0 0 16px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Clickable Subcategory SEO Chips */
.chc-cat-card__subs {
	margin-bottom: 16px;
	padding: 12px 14px;
	background: #F8FAFC;
	border-radius: 12px;
	border: 1px solid #EDF2F7;
}

.chc-cat-card__subs-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--kp-color-muted, #7E8A97);
	margin-bottom: 8px;
}

.chc-cat-card__subs-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.chc-subcat-chip {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 4px 9px;
	background: #ffffff;
	border: 1px solid #E2E8F0;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
	color: #334155;
	text-decoration: none;
	transition: all 0.15s ease;
}

.chc-subcat-chip:hover {
	background: var(--kp-color-cobalt, #164D7D);
	color: #ffffff;
	border-color: var(--kp-color-cobalt, #164D7D);
}

.chc-subcat-chip__icon {
	width: 16px;
	height: 16px;
	border-radius: 4px;
	object-fit: cover;
	flex-shrink: 0;
	display: inline-block;
	vertical-align: middle;
}

.chc-subcat-chip__name {
	font-weight: 500;
}

.chc-subcat-chip__count {
	font-size: 11px;
	font-weight: 600;
	color: #64748B;
}

.chc-subcat-chip:hover .chc-subcat-chip__count {
	color: #ffffff;
}

/* Card Footer CTA */
.chc-cat-card__footer {
	margin-top: auto;
	padding-top: 6px;
}

.chc-cat-btn-explore {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 11px 16px;
	background: #F8FAFC;
	border: 1px solid var(--kp-color-border, #E2E6EA);
	border-radius: 10px;
	color: var(--kp-color-cobalt, #164D7D);
	font-size: 13.5px;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.2s ease;
}

.chc-cat-btn-explore svg {
	transition: transform 0.2s ease;
}

.chc-cat-btn-explore:hover {
	background: var(--kp-color-cobalt, #164D7D);
	color: #ffffff;
	border-color: var(--kp-color-cobalt, #164D7D);
	box-shadow: 0 4px 12px rgba(22, 77, 125, 0.2);
}

.chc-cat-btn-explore:hover svg {
	transform: translateX(4px);
}

/* Empty Results Message */
.chc-cat-no-results {
	background: #F8FAFC;
	border: 2px dashed #CBD5E1;
	border-radius: 18px;
	padding: 48px 24px;
	text-align: center;
	margin: 24px 0;
}

.chc-cat-no-results__icon {
	font-size: 40px;
	margin-bottom: 12px;
}

.chc-cat-no-results h3 {
	font-size: 20px;
	font-weight: 700;
	color: var(--kp-color-ink, #102E50);
	margin: 0 0 8px;
}

.chc-cat-no-results p {
	font-size: 14.5px;
	color: var(--kp-color-text-secondary, #596B7D);
	margin: 0 0 20px;
}

.chc-btn-reset-filter {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	background: var(--kp-color-cobalt, #164D7D);
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-weight: 600;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.15s ease;
}

.chc-btn-reset-filter:hover {
	background: var(--kp-color-cobalt-dark, #0B365F);
}

/* ==========================================================================
   4. Dual Highlights Section (Popular Stores & Trending Offers)
   ========================================================================== */
.chc-cat-highlights-section {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 48px;
	width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

.chc-highlight-box {
	background: #ffffff;
	border: 1px solid var(--kp-color-border, #E2E6EA);
	border-radius: 18px;
	padding: 24px;
	box-shadow: 0 2px 10px rgba(16, 46, 80, 0.03);
	min-width: 0;
	box-sizing: border-box;
}

.chc-highlight-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid #F1F5F9;
	gap: 12px;
	min-width: 0;
}

.chc-highlight-header__left {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 1;
}

.chc-highlight-icon {
	width: 38px;
	height: 38px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.chc-highlight-icon--star {
	background: #FEF3C7;
	color: #D97706;
}

.chc-highlight-icon--fire {
	background: #FEE2E2;
	color: #DC2626;
}

.chc-highlight-title {
	font-size: 16.5px;
	font-weight: 700;
	color: var(--kp-color-ink, #102E50);
	margin: 0;
	line-height: 1.3;
}

.chc-highlight-desc {
	font-size: 12px;
	color: var(--kp-color-muted, #7E8A97);
	margin: 2px 0 0;
}

.chc-highlight-link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 13px;
	font-weight: 600;
	color: var(--kp-color-cobalt, #164D7D);
	text-decoration: none;
	transition: color 0.15s ease;
	white-space: nowrap;
	flex-shrink: 0;
}

.chc-highlight-link:hover {
	color: var(--kp-color-cobalt-dark, #0B365F);
}

/* Popular Stores Grid */
.chc-highlight-stores-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	min-width: 0;
}

.chc-store-chip-card {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid #E2E8F0;
	border-radius: 10px;
	text-decoration: none;
	background: #ffffff;
	transition: all 0.15s ease;
	min-width: 0;
}

.chc-store-chip-card:hover {
	border-color: var(--kp-color-cobalt, #164D7D);
	background: #F8FAFC;
	transform: translateY(-2px);
}

.chc-store-chip-logo {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: #EFF6FF;
	color: var(--kp-color-cobalt, #164D7D);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
}

.chc-store-chip-logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.chc-store-chip-initials {
	font-size: 12px;
	font-weight: 700;
}

.chc-store-chip-info {
	min-width: 0;
	flex: 1;
	overflow: hidden;
}

.chc-store-chip-name {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--kp-color-ink, #102E50);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.chc-store-chip-count {
	display: block;
	font-size: 11px;
	color: var(--kp-color-muted, #7E8A97);
}

/* Trending Offers Stack */
.chc-trending-offers-stack {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
}

.chc-trending-offer-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 14px;
	border: 1px solid #E2E8F0;
	border-radius: 10px;
	background: #FBF8F4;
	transition: all 0.15s ease;
	min-width: 0;
}

.chc-trending-offer-item:hover {
	border-color: #CBD5E1;
	background: #ffffff;
	box-shadow: 0 4px 12px rgba(16, 46, 80, 0.04);
}

.chc-trending-offer-top {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.chc-trending-offer-avatar {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: var(--kp-color-cobalt, #164D7D);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.chc-trending-offer-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.chc-trending-offer-store {
	font-size: 12px;
	font-weight: 700;
	color: var(--kp-color-ink, #102E50);
	white-space: nowrap;
}

.chc-trending-offer-badge {
	font-size: 10px;
	font-weight: 700;
	padding: 1px 6px;
	border-radius: 4px;
	letter-spacing: 0.02em;
	width: fit-content;
}

.chc-trending-offer-badge--code {
	background: #EFF6FF;
	color: #1D4ED8;
}

.chc-trending-offer-badge--deal {
	background: #ECFDF5;
	color: #047857;
}

.chc-trending-offer-details {
	flex: 1;
	min-width: 0;
	overflow: hidden;
}

.chc-trending-offer-title {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--kp-color-ink, #102E50);
	margin: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.chc-trending-offer-action {
	flex-shrink: 0;
}

.chc-trending-offer-cta {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 12px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	flex-shrink: 0;
	transition: all 0.15s ease;
}

.chc-trending-offer-cta--code {
	background: #EFF6FF;
	color: #1D4ED8;
	border: 1px dashed #3B82F6;
}

.chc-trending-offer-cta--code:hover {
	background: #1D4ED8;
	color: #ffffff;
}

.chc-trending-offer-cta--deal {
	background: #ECFDF5;
	color: #047857;
	border: 1px solid #10B981;
}

.chc-trending-offer-cta--deal:hover {
	background: #047857;
	color: #ffffff;
}

/* ==========================================================================
   5. SEO FAQ Section
   ========================================================================== */
.chc-cat-faq-section {
	background: #FBF8F4;
	border: 1px solid var(--kp-color-border, #E2E6EA);
	border-radius: 20px;
	padding: 36px 32px;
	margin-bottom: 48px;
}

.chc-cat-faq-header {
	max-width: 720px;
	margin-bottom: 24px;
}

.chc-cat-faq-tag {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--kp-color-cobalt, #164D7D);
	margin-bottom: 8px;
}

.chc-cat-faq-title {
	font-size: clamp(20px, 3vw, 26px);
	font-weight: 800;
	color: var(--kp-color-ink, #102E50);
	margin: 0 0 8px;
	line-height: 1.25;
}

.chc-cat-faq-subtitle {
	font-size: 14.5px;
	color: var(--kp-color-text-secondary, #596B7D);
	margin: 0;
	line-height: 1.6;
}

.chc-cat-faq-accordion {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.chc-faq-item {
	background: #ffffff;
	border: 1px solid var(--kp-color-border, #E2E6EA);
	border-radius: 12px;
	overflow: hidden;
	transition: border-color 0.15s ease;
}

.chc-faq-item[open] {
	border-color: #CBD5E1;
}

.chc-faq-question {
	padding: 16px 20px;
	font-size: 15px;
	font-weight: 600;
	color: var(--kp-color-ink, #102E50);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	user-select: none;
	list-style: none;
}

.chc-faq-question::-webkit-details-marker {
	display: none;
}

.chc-faq-chevron {
	color: var(--kp-color-muted, #7E8A97);
	transition: transform 0.2s ease;
	flex-shrink: 0;
}

.chc-faq-item[open] .chc-faq-chevron {
	transform: rotate(180deg);
}

.chc-faq-answer {
	padding: 0 20px 18px;
	font-size: 14px;
	color: var(--kp-color-text-secondary, #596B7D);
	line-height: 1.65;
}

.chc-faq-answer p {
	margin: 0;
}

/* ==========================================================================
   6. Trust Signals Strip
   ========================================================================== */
.chc-trust-strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	margin-bottom: 48px;
}

.chc-trust-strip__item {
	background: #ffffff;
	border: 1px solid var(--kp-color-border, #E2E6EA);
	border-radius: 14px;
	padding: 18px;
	display: flex;
	align-items: center;
	gap: 14px;
}

.chc-trust-strip__icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.chc-trust-strip__text strong {
	display: block;
	font-size: 14px;
	font-weight: 700;
	color: var(--kp-color-ink, #102E50);
	margin-bottom: 2px;
}

.chc-trust-strip__text p {
	font-size: 12px;
	color: var(--kp-color-text-secondary, #596B7D);
	margin: 0;
	line-height: 1.4;
}

/* ==========================================================================
   7. Newsletter Banner
   ========================================================================== */
.chc-newsletter-banner {
	background: linear-gradient(135deg, #102E50 0%, #164D7D 100%) !important;
	border-radius: 20px;
	padding: 36px 40px;
	color: #ffffff !important;
	box-shadow: 0 8px 24px rgba(16, 46, 80, 0.12);
}

.chc-newsletter-banner .chc-newsletter-title {
	font-size: 20px;
	font-weight: 800;
	color: #ffffff !important;
	margin: 0 0 4px;
}

.chc-newsletter-banner .chc-newsletter-subtitle {
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.88) !important;
	margin: 0;
	line-height: 1.5;
}

.chc-newsletter-banner__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.chc-newsletter-banner__left {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 1;
	min-width: 280px;
}

.chc-newsletter-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.chc-newsletter-icon svg {
	stroke: #F5A300;
}

.chc-newsletter-banner__right {
	flex: 1;
	min-width: 280px;
	max-width: 440px;
}

.chc-newsletter-form {
	display: flex;
	gap: 8px;
	position: relative;
}

.chc-newsletter-input {
	flex: 1;
	height: 46px;
	padding: 0 16px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: #ffffff;
	color: #102E50;
	font-size: 14px;
	outline: none;
}

.chc-newsletter-input::placeholder {
	color: #94A3B8;
}

.chc-newsletter-input:focus {
	border-color: #F5A300;
	box-shadow: 0 0 0 3px rgba(245, 163, 0, 0.25);
}

.chc-btn--subscribe {
	height: 46px;
	padding: 0 20px;
	background: var(--kp-color-amber, #F5A300);
	color: #102E50;
	border: none;
	border-radius: 10px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease, transform 0.15s ease;
}

.chc-btn--subscribe:hover {
	background: #D88F00;
	transform: translateY(-1px);
}

.chc-newsletter-status {
	position: absolute;
	bottom: -22px;
	left: 0;
	font-size: 12px;
	color: #FDE047;
}

/* ==========================================================================
   8. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1080px) {
	.chc-cat-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px;
	}

	.chc-trust-strip {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.chc-categories-page {
		padding: 16px 0 48px;
	}

	.chc-categories-page .chc-public__inner {
		width: calc(100% - 24px) !important;
		margin: 0 auto !important;
	}

	.chc-cat-hero {
		padding: 22px 14px 18px !important;
		border-radius: 18px;
		margin-bottom: 24px;
	}

	.chc-cat-hero__badge {
		font-size: 11.5px;
		padding: 5px 12px;
		line-height: 1.3;
	}

	.chc-cat-hero__title,
	.chc-categories-page .chc-cat-hero__title {
		font-size: 22px !important;
		line-height: 1.25 !important;
		margin-bottom: 8px;
		word-break: normal;
		overflow-wrap: break-word;
	}

	.chc-cat-hero__subtitle {
		font-size: 13px;
		margin-bottom: 16px;
		line-height: 1.5;
	}

	.chc-cat-search-box {
		border-radius: 12px;
	}

	.chc-cat-search-input {
		height: 46px;
		font-size: 13.5px;
		padding: 0 38px 0 46px !important;
	}

	.chc-cat-search-icon {
		left: 14px;
		width: 16px;
		height: 16px;
	}

	.chc-filter-pill {
		font-size: 12px;
		padding: 5px 11px;
	}

	.chc-cat-section__header {
		margin-bottom: 16px;
	}

	.chc-cat-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.chc-cat-card {
		padding: 16px;
		border-radius: 14px;
	}

	.chc-cat-card__header {
		gap: 12px;
		margin-bottom: 10px;
	}

	.chc-cat-card__icon-wrap {
		width: 58px;
		height: 58px;
		border-radius: 14px;
		padding: 4px;
	}

	.chc-cat-card__title {
		font-size: 17px;
	}

	.chc-cat-card__desc {
		font-size: 13px;
		margin-bottom: 12px;
	}

	.chc-cat-card__subs {
		padding: 10px;
		border-radius: 10px;
		margin-bottom: 12px;
	}

	.chc-subcat-chip {
		font-size: 11.5px;
		padding: 3px 8px;
	}

	.chc-cat-highlights-section {
		grid-template-columns: 1fr !important;
		gap: 20px !important;
		margin-bottom: 32px;
		min-width: 0 !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.chc-highlight-box {
		padding: 18px 16px !important;
		border-radius: 16px !important;
		min-width: 0 !important;
		width: 100% !important;
		box-sizing: border-box !important;
		overflow: hidden !important;
	}

	.chc-highlight-header {
		margin-bottom: 14px !important;
	}

	.chc-highlight-title {
		font-size: 16px !important;
	}

	.chc-highlight-desc {
		font-size: 12px !important;
		line-height: 1.4 !important;
	}

	/* Stores 2-column compact thumb-friendly grid */
	.chc-highlight-stores-grid {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	.chc-store-chip-card {
		padding: 8px 10px !important;
		gap: 8px !important;
		min-width: 0 !important;
		border-radius: 10px !important;
		background: #ffffff !important;
		border: 1px solid var(--kp-color-border, #E2E6EA) !important;
	}

	.chc-store-chip-logo {
		width: 32px !important;
		height: 32px !important;
		min-width: 32px !important;
		border-radius: 8px !important;
	}

	.chc-store-chip-info {
		min-width: 0 !important;
		overflow: hidden !important;
		flex: 1 !important;
	}

	.chc-store-chip-name {
		font-size: 12px !important;
		line-height: 1.3 !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		display: block !important;
		color: var(--kp-color-ink, #102E50) !important;
	}

	.chc-store-chip-count {
		font-size: 11px !important;
		color: #047857 !important;
		font-weight: 600 !important;
		display: block !important;
	}

	/* Offers: Full-width modern coupon card with on-screen prominent CTAs */
	.chc-trending-offers-stack {
		display: flex !important;
		flex-direction: column !important;
		gap: 10px !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	.chc-trending-offer-item {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		gap: 10px !important;
		padding: 13px 14px !important;
		border-radius: 12px !important;
		background: #ffffff !important;
		border: 1px solid #E2E8F0 !important;
		box-shadow: 0 2px 6px rgba(16, 46, 80, 0.04) !important;
		min-width: 0 !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}

	.chc-trending-offer-top {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 8px !important;
		min-width: 0 !important;
		width: 100% !important;
	}

	.chc-trending-offer-avatar {
		width: 30px !important;
		height: 30px !important;
		min-width: 30px !important;
		border-radius: 7px !important;
		font-size: 11px !important;
		flex-shrink: 0 !important;
	}

	.chc-trending-offer-meta {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
		flex: 1 !important;
		min-width: 0 !important;
		gap: 8px !important;
	}

	.chc-trending-offer-store {
		font-size: 12.5px !important;
		font-weight: 700 !important;
		white-space: nowrap !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		color: var(--kp-color-ink, #102E50) !important;
	}

	.chc-trending-offer-badge {
		font-size: 9.5px !important;
		padding: 2px 6px !important;
		border-radius: 4px !important;
		white-space: nowrap !important;
		flex-shrink: 0 !important;
	}

	.chc-trending-offer-details {
		min-width: 0 !important;
		width: 100% !important;
	}

	.chc-trending-offer-title {
		font-size: 13px !important;
		line-height: 1.4 !important;
		font-weight: 600 !important;
		color: var(--kp-color-ink, #102E50) !important;
		margin: 0 !important;
		white-space: normal !important;
		display: -webkit-box !important;
		-webkit-line-clamp: 2 !important;
		-webkit-box-orient: vertical !important;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
	}

	.chc-trending-offer-action {
		width: 100% !important;
		margin-top: 2px !important;
	}

	.chc-trending-offer-cta {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		height: 38px !important;
		border-radius: 8px !important;
		font-size: 12px !important;
		font-weight: 700 !important;
		text-align: center !important;
		box-sizing: border-box !important;
		gap: 6px !important;
	}

	.chc-cat-faq-section {
		padding: 24px 18px;
		border-radius: 16px;
		margin-bottom: 32px;
	}

	.chc-cat-faq-title {
		font-size: 20px;
	}

	.chc-faq-question {
		padding: 14px 16px;
		font-size: 14px;
	}

	.chc-faq-answer {
		padding: 0 16px 14px;
		font-size: 13px;
	}

	.chc-trust-strip {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-bottom: 32px;
	}

	.chc-trust-strip__item {
		padding: 14px;
	}

	.chc-newsletter-banner {
		padding: 24px 20px;
		border-radius: 16px;
	}

	.chc-newsletter-banner__content {
		flex-direction: column;
		gap: 20px;
	}

	.chc-newsletter-banner__right {
		width: 100%;
		max-width: none;
	}

	.chc-newsletter-form {
		flex-direction: column;
	}

	.chc-btn--subscribe {
		width: 100%;
	}
}
