/*
 * Pre-M6 R4 public UX refinement.
 * Layout patterns are inspired by mature coupon directories, but all content,
 * colors, data and trust language remain CouponVerity's own.
 */

/* Store directory --------------------------------------------------------- */
.cv-grid--store-directory {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.cv-store-card--directory {
	border: 1px solid #d7e0ea;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.035);
}

.cv-store-card--directory .cv-store-card__link {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	min-height: 118px;
	padding: 18px;
	color: inherit;
	text-decoration: none;
}

.cv-store-card--directory .cv-store-card__logo {
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	padding: 7px;
	border: 1px solid #e0e6ee;
	border-radius: 10px;
	background: #fff;
}

.cv-store-card--directory .cv-store-card__logo img,
.cv-store-card--featured .cv-store-card__logo img,
.cv-related-stores .cv-store-card__logo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.cv-store-card__hint {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	line-height: 1.35;
	font-weight: 600;
	color: #64748b;
}

.cv-store-card__arrow {
	font-size: 20px;
	color: #0b3a7a;
	transition: transform 140ms ease;
}

.cv-store-card--directory .cv-store-card__name {
	font-size: 17px;
	line-height: 1.25;
}

.cv-store-card--directory:hover,
.cv-store-card--directory:focus-within {
	border-color: #b9c8d8;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.075);
}

.cv-store-card--directory .cv-store-card__link:hover,
.cv-store-card--directory .cv-store-card__link:focus-visible {
	text-decoration: none;
}

.cv-store-card--directory .cv-store-card__link:hover .cv-store-card__arrow,
.cv-store-card--directory .cv-store-card__link:focus-visible .cv-store-card__arrow {
	transform: translateX(4px);
}

/* Featured Store cards: cleaner brand-first tiles with no offer-count badge. */
.cv-grid--featured-stores .cv-store-card--featured .cv-store-card__link {
	display: grid;
	grid-template-columns: 58px minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	min-height: 96px;
	padding: 14px 16px;
	color: inherit;
	text-decoration: none;
}

.cv-store-card--featured .cv-store-card__logo {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	padding: 6px;
	border: 1px solid #e0e6ee;
	border-radius: 9px;
	background: #fff;
}

.cv-store-card--featured .cv-store-card__hint {
	display: none;
}

/* Related Stores keeps compact shape but drops decorative counts. */
.cv-related-stores .cv-store-card__link {
	grid-template-columns: 58px minmax(0, 1fr) auto;
}

.cv-related-stores .cv-store-card__logo {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	padding: 6px;
	border: 1px solid #e0e6ee;
	border-radius: 9px;
	background: #fff;
}

.cv-related-stores .cv-store-card__hint {
	font-size: 11px;
}

/* Store Offer cards ------------------------------------------------------- */
.cv-offer-card,
.cv-offer-card--deal {
	grid-template-columns: 150px minmax(0, 1fr) 240px;
	min-height: 170px;
	border-radius: 11px;
	box-shadow: 0 4px 13px rgba(15, 23, 42, 0.08);
}

.cv-offer-card__value,
.cv-offer-card--deal .cv-offer-card__value {
	padding: 24px 18px;
	border-right: 1px dashed #b9c3cf;
}

.cv-offer-card__value-figure {
	font-size: 48px;
	font-weight: 650;
	letter-spacing: -0.05em;
	color: #252a31;
}

.cv-offer-card__value-figure--generic {
	font-size: 28px;
	letter-spacing: -0.025em;
}

.cv-offer-card__value-suffix {
	margin-top: 7px;
	font-size: 17px;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.cv-offer-card__merchant img,
.cv-offer-card__merchant-fallback {
	width: 32px;
	height: 32px;
	flex-basis: 32px;
	object-fit: contain;
}

.cv-offer-card__merchant {
	gap: 9px;
	font-size: 13px;
	font-weight: 600;
}

.cv-offer-card__title,
.cv-offer-card--deal .cv-offer-card__title {
	font-size: 22px;
	line-height: 1.18;
	font-weight: 650;
}

.cv-offer-card__info,
.cv-offer-card--deal .cv-offer-card__info {
	padding: 24px 24px;
}

.cv-offer-card__action {
	padding: 24px 16px;
}

/* Coupon reveal: preserve native details/summary semantics, add the familiar
   peel/reveal motion without exposing or inventing any extra information. */
.cv-show-code__summary {
	--cv-reveal-height: 54px;
	--cv-reveal-peek-track: 86px;
	--cv-reveal-overlap: 12px;
	overflow: visible;
}

.cv-show-code__button {
	transition: transform 160ms ease, background 120ms ease, box-shadow 160ms ease;
}

.cv-show-code__peek {
	transition: width 160ms ease, transform 160ms ease, background 160ms ease;
}

.cv-show-code:not([open]) .cv-show-code__summary:hover .cv-show-code__button,
.cv-show-code:not([open]) .cv-show-code__summary:focus-visible .cv-show-code__button {
	transform: translateX(-8px);
	box-shadow: 0 7px 16px rgba(8, 46, 106, 0.24);
}

.cv-show-code:not([open]) .cv-show-code__summary:hover .cv-show-code__peek,
.cv-show-code:not([open]) .cv-show-code__summary:focus-visible .cv-show-code__peek {
	transform: translateX(4px);
	background: #fff;
}

/* Homepage Top Coupons carousel ------------------------------------------ */
.cv-home-top {
	padding-top: 42px;
	padding-bottom: 42px;
}

.cv-home-top__heading {
	margin-bottom: 22px;
}

.cv-top-carousel {
	max-width: 1180px;
	margin: 0 auto;
}

.cv-top-carousel__viewport {
	border-radius: 14px;
}

.cv-top-carousel:not(.cv-carousel--ready) .cv-top-carousel__viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
}

.cv-top-carousel.cv-carousel--ready .cv-top-carousel__viewport {
	overflow: hidden;
}

.cv-home-top__rail.cv-top-carousel__track {
	display: flex;
	grid-auto-flow: unset;
	grid-auto-columns: unset;
	gap: 16px;
	margin: 0;
	padding: 0;
	overflow: visible;
	scroll-snap-type: none;
	transition: transform 420ms cubic-bezier(.2,.72,.24,1);
}

.cv-top-carousel__track .cv-home-offer-card--featured {
	flex: 0 0 calc((100% - 32px) / 3);
	width: calc((100% - 32px) / 3);
	scroll-snap-align: start;
}

.cv-home-offer-card--featured,
.cv-home-offer-card--standard,
.cv-home-offer-card--exclusive {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr) 230px;
	align-items: stretch;
	background: #fff;
	border: 1px solid #d3dde8;
	border-radius: 13px;
	box-shadow: 0 5px 16px rgba(15, 23, 42, 0.075);
	overflow: hidden;
}

.cv-home-offer-card--featured {
	grid-template-columns: 1fr;
	grid-template-rows: auto 1fr auto;
	min-height: 270px;
}

.cv-home-offer-card--featured .cv-home-offer-card__value {
	align-items: flex-start;
	justify-content: flex-start;
	min-height: 86px;
	padding: 20px 20px 16px;
	border-right: 0;
	border-bottom: 1px dashed #b9c3cf;
	text-align: left;
}

.cv-home-offer-card--featured .cv-home-offer-card__value strong {
	font-size: 38px;
}

.cv-home-offer-card--featured .cv-home-offer-card__value span {
	font-size: 13px;
}

.cv-home-offer-card--featured .cv-home-offer-card__main {
	padding: 18px 20px 14px;
}

.cv-home-offer-card--featured .cv-home-offer-card__brand {
	margin-bottom: 12px;
}

.cv-home-offer-card--featured h3 {
	font-size: 18px;
	line-height: 1.32;
}

.cv-home-offer-card--featured .cv-home-offer-card__action {
	padding: 0 20px 20px;
}

.cv-home-offer-card--featured .cv-home-offer-card__cta {
	width: 100%;
	justify-content: center;
}

.cv-home-offer-card--standard,
.cv-home-offer-card--exclusive {
	min-height: 156px;
}

.cv-home-offer-card--featured:hover,
.cv-home-offer-card--featured:focus-within,
.cv-home-offer-card--standard:hover,
.cv-home-offer-card--standard:focus-within,
.cv-home-offer-card--exclusive:hover,
.cv-home-offer-card--exclusive:focus-within {
	transform: none;
	border-color: #bdcad8;
	box-shadow: 0 9px 24px rgba(15, 23, 42, 0.10);
}

.cv-home-offer-card__value {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 22px 14px;
	border-right: 1px dashed #b9c3cf;
	background: #fff;
	text-align: center;
}

.cv-home-offer-card__value strong {
	font-size: 46px;
	line-height: .95;
	font-weight: 650;
	letter-spacing: -0.045em;
	color: #252a31;
}

.cv-home-offer-card__value span {
	margin-top: 8px;
	font-size: 16px;
	font-weight: 550;
	letter-spacing: .02em;
	color: #252a31;
}

.cv-home-offer-card__main {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 26px 28px;
}

.cv-home-offer-card__brand {
	min-height: 34px;
	gap: 9px;
	font-size: 13px;
	font-weight: 650;
	color: #4b5563;
}

.cv-home-offer-card__exclusive-badge {
	display: inline-flex;
	align-items: center;
	margin-left: 4px;
	padding: 4px 8px;
	border-radius: 999px;
	background: #e8f7ee;
	color: #16723a;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.cv-home-exclusive {
	position: relative;
}

.cv-home-offer-card--exclusive {
	border-color: #bfdcca;
}

.cv-home-offer-card--exclusive .cv-home-offer-card__value {
	background: #f7fcf8;
}

.cv-home-offer-card--exclusive .cv-home-offer-card__cta {
	background: #16834a;
}

.cv-home-offer-card--exclusive .cv-home-offer-card__cta:hover,
.cv-home-offer-card--exclusive .cv-home-offer-card__cta:focus-visible {
	background: #116d3d;
}

.cv-home-offer-card__brand img,
.cv-home-offer-card__monogram {
	width: 38px;
	height: 38px;
	padding: 3px;
	border-radius: 6px;
}

.cv-home-offer-card h3 {
	margin: 12px 0 0;
	font-size: 22px;
	line-height: 1.22;
	letter-spacing: -0.025em;
}

.cv-home-offer-card--featured h3 {
	font-size: 27px;
}

.cv-home-offer-card h3 a {
	color: #20252c;
	text-decoration: none;
}

.cv-home-offer-card h3 a:hover,
.cv-home-offer-card h3 a:focus-visible {
	color: #082e6a;
	text-decoration: underline;
}

.cv-home-offer-card__description {
	margin: 7px 0 0;
	color: #667085;
	font-size: 13px;
}

.cv-home-offer-card__action {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 18px;
}

.cv-home-offer-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	width: 100%;
	max-width: 200px;
	padding: 0 18px;
	border-radius: 5px;
	background: #163f91;
	color: #fff !important;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 3px 8px rgba(8, 46, 106, .16);
	transition: transform 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.cv-home-offer-card__cta:hover,
.cv-home-offer-card__cta:focus-visible {
	background: #0d3279;
	transform: translateY(-1px);
	box-shadow: 0 7px 16px rgba(8, 46, 106, .22);
}

.cv-top-carousel__controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 16px;
}

.cv-top-carousel__arrow {
	display: inline-grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid #cbd5e1;
	border-radius: 50%;
	background: #fff;
	color: #0b3a7a;
	cursor: pointer;
}

.cv-top-carousel__arrow:disabled {
	opacity: .42;
	cursor: default;
}

.cv-top-carousel__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
}

.cv-top-carousel__dots button {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 1px solid #91a0b3;
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.cv-top-carousel__dots button[aria-current="true"] {
	background: #7f8b9a;
	border-color: #7f8b9a;
}

/* Homepage latest offers use CouponFollow-like rows, not a dense four-card grid. */
.cv-home-offer-list {
	list-style: none;
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
}

/* A little less internal/technical tone on the public homepage. */
.cv-home-trust-band {
	border-top: 1px solid #dbe3ec;
}

@media (max-width: 1020px) {
	.cv-top-carousel__track .cv-home-offer-card--featured {
		flex-basis: calc((100% - 16px) / 2);
		width: calc((100% - 16px) / 2);
	}
}

@media (max-width: 980px) {
	.cv-grid--store-directory {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cv-home-offer-card--standard,
	.cv-home-offer-card--exclusive,
	.cv-offer-card,
	.cv-offer-card--deal {
		grid-template-columns: 128px minmax(0, 1fr) 205px;
	}

	.cv-home-offer-card__value strong,
	.cv-offer-card__value-figure {
		font-size: 40px;
	}
}

@media (max-width: 720px) {
	.cv-top-carousel__track .cv-home-offer-card--featured {
		flex-basis: 100%;
		width: 100%;
	}

	.cv-grid--store-directory {
		grid-template-columns: 1fr;
	}

	.cv-store-card--directory .cv-store-card__link {
		grid-template-columns: 62px minmax(0, 1fr) auto;
		min-height: 100px;
		padding: 14px;
	}

	.cv-store-card--directory .cv-store-card__logo {
		width: 62px;
		height: 62px;
	}

	.cv-home-offer-card--standard,
	.cv-home-offer-card--exclusive,
	.cv-offer-card,
	.cv-offer-card--deal {
		grid-template-columns: 92px minmax(0, 1fr);
	}

	.cv-home-offer-card--featured .cv-home-offer-card__value {
		min-height: 76px;
		padding: 16px 18px 13px;
	}

	.cv-home-offer-card--featured .cv-home-offer-card__main {
		padding: 16px 18px 12px;
	}

	.cv-home-offer-card--featured .cv-home-offer-card__action {
		grid-column: auto;
		padding: 0 18px 18px;
	}

	.cv-home-offer-card__action,
	.cv-offer-card__action {
		grid-column: 1 / -1;
		padding: 14px 16px 18px;
	}

	.cv-home-offer-card__value,
	.cv-offer-card__value,
	.cv-offer-card--deal .cv-offer-card__value {
		grid-row: 1;
		padding: 18px 10px;
	}

	.cv-home-offer-card__main,
	.cv-offer-card__info,
	.cv-offer-card--deal .cv-offer-card__info {
		padding: 18px 16px;
	}

	.cv-home-offer-card--featured h3,
	.cv-home-offer-card h3,
	.cv-offer-card__title,
	.cv-offer-card--deal .cv-offer-card__title {
		font-size: 18px;
	}

	.cv-home-offer-card__value strong,
	.cv-offer-card__value-figure {
		font-size: 30px;
	}

	.cv-home-offer-card__value span,
	.cv-offer-card__value-suffix {
		font-size: 12px;
	}

	.cv-home-offer-card__brand img,
	.cv-home-offer-card__monogram,
	.cv-offer-card__merchant img,
	.cv-offer-card__merchant-fallback {
		width: 30px;
		height: 30px;
		flex-basis: 30px;
	}

	.cv-home-top__heading,
	.cv-section-heading {
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cv-top-carousel__track,
	.cv-show-code__button,
	.cv-show-code__peek,
	.cv-home-offer-card__cta,
	.cv-store-card__arrow {
		transition: none !important;
	}
}

/* ========================================================================
 * R11.2 — Brand / typography / hero-density system
 * Reference principles: compact top-offer cards, strong brand imagery and a
 * small, repeatable type scale. This is a CouponVerity system, not a clone.
 * ===================================================================== */
:root {
	--cv-type-page: clamp(34px, 3.3vw, 44px);
	--cv-type-section: clamp(26px, 2.4vw, 30px);
	--cv-type-subsection: 22px;
	--cv-type-card: 19px;
	--cv-type-body: 15px;
	--cv-type-small: 13px;
}

/* One hierarchy across public page types. */
.cv-public .cv-home-top__heading h1,
.cv-public .cv-store-intro h1,
.cv-public .cv-page-header h1,
.cv-public .cv-editorial-hero h1,
.cv-public .cv-guide-article__header h1 {
	font-size: var(--cv-type-page);
	line-height: 1.08;
	font-weight: 700;
	letter-spacing: -0.035em;
}

.cv-public .cv-section-heading h2,
.cv-public .cv-offer-section__heading h2,
.cv-public .cv-offer-section--deal .cv-offer-section__heading h2,
.cv-public .cv-related-stores__heading h2,
.cv-public .cv-store-about h2,
.cv-public .cv-store-faq h2,
.cv-public .cv-store-guides h2,
.cv-public .cv-guide-listing > h2 {
	font-size: var(--cv-type-section);
	line-height: 1.18;
	font-weight: 650;
	letter-spacing: -0.028em;
	color: #202a37;
}

.cv-public .cv-store-sidepanel__section h2,
.cv-public .cv-footer__explore h2 {
	font-size: var(--cv-type-subsection);
	line-height: 1.2;
	font-weight: 650;
	letter-spacing: -0.022em;
}

.cv-public .cv-offer-card__title,
.cv-public .cv-offer-card--deal .cv-offer-card__title,
.cv-public .cv-guide-card__title,
.cv-public .cv-category-card__name,
.cv-public .cv-store-card__name {
	font-size: var(--cv-type-card);
	line-height: 1.28;
	font-weight: 650;
	letter-spacing: -0.018em;
}

.cv-public .cv-home-top__heading p:not(.cv-section-heading__eyebrow),
.cv-public .cv-section-heading p:not(.cv-section-heading__eyebrow),
.cv-public .cv-store-sidepanel__stats dt,
.cv-public .cv-store-sidepanel__stats dd,
.cv-public .cv-store-sidepanel__website,
.cv-public .cv-store-sidepanel__browse {
	font-size: var(--cv-type-body);
}

.cv-public .cv-breadcrumb,
.cv-public .cv-section-heading__eyebrow,
.cv-public .cv-category-intro__eyebrow,
.cv-public .cv-store-intro__affiliate-note,
.cv-public .cv-offer-section__count,
.cv-public .cv-footer__bottom,
.cv-public .cv-footer__nav h2 {
	font-size: var(--cv-type-small);
}

.cv-public .cv-footer__nav h2 {
	font-weight: 750;
	letter-spacing: .08em;
	text-transform: uppercase;
}

/* Homepage hero: three genuinely useful cards above the fold, not three large
   form-like panels. */
.cv-home-top {
	padding-top: 32px;
	padding-bottom: 30px;
}

.cv-home-top__heading {
	align-items: end;
	margin-bottom: 18px;
}

.cv-home-top__heading p:not(.cv-section-heading__eyebrow) {
	margin-top: 7px;
	line-height: 1.48;
}

.cv-top-carousel {
	position: relative;
	max-width: 980px;
}

.cv-top-carousel__viewport {
	border-radius: 12px;
}

.cv-home-top__rail.cv-top-carousel__track {
	gap: 14px;
}

.cv-top-carousel__track .cv-home-offer-card--featured {
	flex-basis: calc((100% - 28px) / 3);
	width: calc((100% - 28px) / 3);
}

.cv-home-offer-card--featured {
	grid-template-rows: auto minmax(0, 1fr) auto;
	min-height: 222px;
	border-radius: 10px;
	box-shadow: 0 3px 10px rgba(15, 23, 42, 0.06);
}

.cv-home-offer-card--featured .cv-home-offer-card__value {
	min-height: 62px;
	padding: 14px 16px 10px;
	border-bottom: 1px solid #e3e9f0;
}

.cv-home-offer-card--featured .cv-home-offer-card__value strong {
	font-size: 30px;
	line-height: 1;
	font-weight: 700;
}

.cv-home-offer-card--featured .cv-home-offer-card__value span {
	margin-top: 3px;
	font-size: 11px;
	font-weight: 700;
}

.cv-home-offer-card--featured .cv-home-offer-card__main {
	padding: 13px 16px 10px;
}

.cv-home-offer-card--featured .cv-home-offer-card__brand {
	min-height: 44px;
	margin-bottom: 8px;
	gap: 9px;
	font-size: 12px;
	font-weight: 650;
}

.cv-home-offer-card--featured .cv-home-offer-card__brand img,
.cv-home-offer-card--featured .cv-home-offer-card__monogram {
	width: 44px;
	height: 44px;
	padding: 4px;
	border: 1px solid #e1e7ee;
	border-radius: 8px;
	background: #fff;
	object-fit: contain;
}

.cv-home-offer-card--featured h3 {
	display: -webkit-box;
	overflow: hidden;
	margin-top: 6px;
	font-size: 18px;
	line-height: 1.24;
	font-weight: 650;
	letter-spacing: -0.022em;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.cv-home-offer-card--featured .cv-home-offer-card__action {
	justify-content: flex-start;
	padding: 0 16px 14px;
}

.cv-home-offer-card--featured .cv-home-offer-card__cta {
	width: auto;
	min-height: 40px;
	max-width: none;
	padding: 0 15px;
	border-radius: 5px;
	font-size: 13px;
	font-weight: 700;
}

.cv-top-carousel__controls {
	gap: 10px;
	margin-top: 12px;
}

.cv-top-carousel__arrow {
	width: 30px;
	height: 30px;
}

.cv-top-carousel__dots {
	gap: 7px;
}

.cv-top-carousel__dots button {
	width: 8px;
	height: 8px;
}

/* Store pages: H1 owns the page, H2 owns a section, offer titles stay one
   level below it. */
.cv-store-intro {
	padding-top: 24px;
	padding-bottom: 28px;
}

.cv-store-intro__logo {
	width: 116px;
	height: 116px;
	flex-basis: 116px;
}

.cv-offer-section__heading {
	margin-bottom: 14px;
}

.cv-offer-card__title,
.cv-offer-card--deal .cv-offer-card__title {
	font-size: 20px;
	line-height: 1.24;
}

.cv-store-sidepanel__section h2 {
	margin-bottom: 12px;
	font-size: 18px;
}

/* Footer: the brand stays a brand; the navigation labels stay labels. */
.cv-footer__explore h2 {
	font-size: 26px;
}

.cv-footer__tagline,
.cv-footer__disclosure,
.cv-footer__nav a {
	font-size: 14px;
	line-height: 1.55;
}

.cv-footer__nav h2 {
	font-size: 12px;
	line-height: 1.2;
}

@media (max-width: 1020px) {
	.cv-top-carousel {
		max-width: 760px;
	}

	.cv-top-carousel__track .cv-home-offer-card--featured {
		flex-basis: calc((100% - 14px) / 2);
		width: calc((100% - 14px) / 2);
	}
}

@media (max-width: 720px) {
	:root {
		--cv-type-page: 31px;
		--cv-type-section: 24px;
		--cv-type-subsection: 19px;
		--cv-type-card: 18px;
		--cv-type-body: 15px;
		--cv-type-small: 12px;
	}

	.cv-home-top {
		padding-top: 26px;
		padding-bottom: 26px;
	}

	.cv-home-top__heading {
		margin-bottom: 16px;
	}

	.cv-top-carousel {
		max-width: none;
	}

	.cv-top-carousel__track .cv-home-offer-card--featured {
		flex-basis: 100%;
		width: 100%;
	}

	.cv-home-offer-card--featured {
		min-height: 210px;
	}

	.cv-home-offer-card--featured .cv-home-offer-card__value {
		min-height: 58px;
		padding: 12px 15px 9px;
	}

	.cv-home-offer-card--featured .cv-home-offer-card__value strong {
		font-size: 28px;
	}

	.cv-home-offer-card--featured .cv-home-offer-card__main {
		padding: 12px 15px 9px;
	}

	.cv-home-offer-card--featured .cv-home-offer-card__action {
		padding: 0 15px 14px;
	}

	.cv-store-intro__logo {
		width: 82px;
		height: 82px;
		flex-basis: 82px;
	}

	.cv-offer-card__title,
	.cv-offer-card--deal .cv-offer-card__title {
		font-size: 18px;
	}
}

/* ========================================================================
 * R11.3 — Final visual polish before M6
 * Four presentation-only corrections:
 * 1) make merchant identity stronger in the homepage hero,
 * 2) bring the first Store offer closer to the merchant intro,
 * 3) keep small/supporting copy readable without competing with headings,
 * 4) preserve the R11.2 type hierarchy and responsive card count.
 * ===================================================================== */

/* Homepage hero: the merchant should be recognizable before the user reads
   the discount. Preserve three cards on desktop, two on tablet and one on
   mobile; only the brand/logo hierarchy changes here. */
.cv-home-offer-card--featured .cv-home-offer-card__brand {
	min-height: 52px;
	gap: 10px;
	font-size: 12.5px;
}

.cv-home-offer-card--featured .cv-home-offer-card__brand img,
.cv-home-offer-card--featured .cv-home-offer-card__monogram {
	width: 54px;
	height: 54px;
	padding: 2px;
	border-radius: 8px;
}

.cv-home-offer-card--featured .cv-home-offer-card__main {
	padding-top: 11px;
}

.cv-home-offer-card--featured h3 {
	margin-top: 5px;
}

/* Store page: remove the dead zone between merchant identity and the first
   actionable coupon/deal without changing the two-column desktop structure. */
.cv-store-intro {
	padding-bottom: 12px;
}

@media (min-width: 1024px) {
	.cv-store-layout {
		row-gap: 12px;
	}
}

/* Supporting text remains clearly subordinate, but not tiny. */
.cv-public .cv-breadcrumb,
.cv-public .cv-store-intro__affiliate-note,
.cv-public .cv-offer-section__count,
.cv-public .cv-footer__bottom {
	font-size: 13.5px;
	line-height: 1.5;
}

.cv-public .cv-store-sidepanel__stats dt,
.cv-public .cv-store-sidepanel__stats dd,
.cv-public .cv-store-sidepanel__website,
.cv-public .cv-store-sidepanel__browse {
	font-size: 15px;
	line-height: 1.45;
}

.cv-footer__tagline,
.cv-footer__disclosure,
.cv-footer__nav a {
	font-size: 14.5px;
	line-height: 1.58;
}

.cv-footer__nav h2 {
	font-size: 12.5px;
}

@media (max-width: 720px) {
	.cv-home-offer-card--featured .cv-home-offer-card__brand img,
	.cv-home-offer-card--featured .cv-home-offer-card__monogram {
		width: 50px;
		height: 50px;
	}

	.cv-store-intro {
		padding-bottom: 16px;
	}

	.cv-public .cv-breadcrumb,
	.cv-public .cv-store-intro__affiliate-note,
	.cv-public .cv-offer-section__count,
	.cv-public .cv-footer__bottom {
		font-size: 13px;
	}
}


/* ========================================================================
 * PRE-M6 R12 — Responsive + Offer Density hardening
 * One responsive contract: desktop >1180px, tablet 768–1180px, mobile <=767px.
 * Presentation-only: no Store/Offer business caps or verification claims.
 * ===================================================================== */

/* Homepage: merchant identity first. The title already carries the savings,
   so the featured card no longer repeats a large savings block above it. */
.cv-home-offer-card--featured {
	grid-template-rows: 1fr auto;
	min-height: 214px;
}

.cv-home-offer-card--featured > .cv-home-offer-card__value {
	display: none;
}

.cv-home-offer-card--featured .cv-home-offer-card__main {
	justify-content: flex-start;
	padding: 18px 18px 10px;
}

.cv-home-offer-card--featured .cv-home-offer-card__brand {
	min-height: 70px;
	gap: 12px;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 700;
	color: #27384f;
}

.cv-home-offer-card--featured .cv-home-offer-card__brand img,
.cv-home-offer-card--featured .cv-home-offer-card__monogram {
	width: 62px;
	height: 62px;
	padding: 4px;
	border: 1px solid #dce4ee;
	border-radius: 10px;
	background: #fff;
	object-fit: contain;
}

.cv-home-offer-card--featured h3 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin: 4px 0 0;
	font-size: 19px;
	line-height: 1.28;
}

.cv-home-offer-card--featured .cv-home-offer-card__action {
	justify-content: flex-start;
	padding: 0 18px 17px;
}

.cv-home-offer-card--featured .cv-home-offer-card__cta {
	width: auto;
	min-width: 0;
	padding: 0 16px;
	min-height: 42px;
}

/* Store coupon action: reserve enough real width for both CTA and code peek.
   This supersedes the older 240px action track that could clip the label. */
.cv-offer-card--code {
	grid-template-columns: 148px minmax(0, 1fr) minmax(278px, 31%);
}

.cv-show-code__summary {
	--cv-reveal-height: 52px;
	--cv-reveal-peek-track: 78px;
	--cv-reveal-overlap: 8px;
}

.cv-show-code__button {
	padding-left: 12px;
	padding-right: 12px;
	font-size: 14px;
}

.cv-show-code__peek {
	padding-right: 10px;
	font-size: 12px;
	letter-spacing: 0.02em;
}

/* Progressive disclosure for long Deal lists. All Deals remain rendered and
   available; only the initial visual density changes. */
.cv-offer-more {
	margin-top: 14px;
}

.cv-offer-more__summary {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 18px;
	border: 1px solid #cbd7e5;
	border-radius: 9px;
	background: #fff;
	color: #0b3a7a;
	font-size: 14px;
	font-weight: 750;
	cursor: pointer;
	list-style: none;
}

.cv-offer-more__summary::-webkit-details-marker {
	display: none;
}

.cv-offer-more__summary:hover,
.cv-offer-more__summary:focus-visible {
	border-color: #9fb3ca;
	background: #f7faff;
	outline: none;
}

.cv-offer-more__open {
	display: none;
}

.cv-offer-more[open] .cv-offer-more__closed {
	display: none;
}

.cv-offer-more[open] .cv-offer-more__open {
	display: inline;
}

.cv-offer-more__icon {
	font-size: 20px;
	line-height: 1;
	transition: transform 160ms ease;
}

.cv-offer-more[open] .cv-offer-more__icon {
	transform: rotate(45deg);
}

.cv-offer-list--more {
	margin-top: 14px;
}

/* Related Store names must wrap by words, never as narrow mid-word columns. */
.cv-related-stores .cv-store-card__details,
.cv-related-stores .cv-store-card__name {
	min-width: 0;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

/* Tablet contract: header switches to menu, carousel uses 2 cards, and Store
   pages become a single action-first column with the sidebar after content. */
@media (max-width: 1180px) {
	.cv-primary-nav {
		display: none;
	}

	.cv-menu {
		display: block;
	}

	.cv-header .cv-brand-lockup__text {
		display: none;
	}

	.cv-top-carousel {
		max-width: 780px;
	}

	.cv-top-carousel__track .cv-home-offer-card--featured {
		flex-basis: calc((100% - 14px) / 2);
		width: calc((100% - 14px) / 2);
	}

	.cv-store-layout {
		grid-template-columns: minmax(0, 1fr) !important;
		grid-template-areas:
			"intro"
			"content"
			"sidebar" !important;
		column-gap: 0 !important;
		row-gap: 20px !important;
	}

	.cv-store-sidebar {
		position: static !important;
		top: auto !important;
		width: 100%;
	}

	.cv-store-sidepanel {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0 22px;
	}

	.cv-store-sidepanel__section {
		min-width: 0;
	}

	.cv-related-stores__grid {
		grid-template-columns: repeat(2, minmax(260px, 1fr));
	}

	.cv-offer-card--code {
		grid-template-columns: 142px minmax(0, 1fr) 270px;
	}
}

/* Mobile contract: one coupon at a time, one Store column, one Related Store
   column and full-width action controls. */
@media (max-width: 767px) {
	.cv-header__bar--menu-search {
		grid-template-columns: auto auto;
		gap: 8px 10px;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.cv-header__search {
		grid-column: 1 / -1;
		grid-row: 2;
		max-width: none;
	}

	.cv-menu {
		justify-self: end;
	}

	.cv-top-carousel {
		max-width: none;
	}

	.cv-top-carousel__track .cv-home-offer-card--featured {
		flex-basis: 100%;
		width: 100%;
	}

	.cv-home-offer-card--featured {
		min-height: 198px;
	}

	.cv-home-offer-card--featured .cv-home-offer-card__brand img,
	.cv-home-offer-card--featured .cv-home-offer-card__monogram {
		width: 56px;
		height: 56px;
	}

	.cv-store-sidepanel {
		display: block;
	}

	.cv-related-stores__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.cv-related-stores .cv-store-card__link {
		display: grid;
		grid-template-columns: 58px minmax(0, 1fr) auto;
		gap: 12px;
		min-height: 84px;
	}

	.cv-related-stores .cv-store-card__name {
		font-size: 15px;
		line-height: 1.25;
	}

	.cv-offer-card--code,
	.cv-offer-card--deal {
		grid-template-columns: minmax(0, 1fr);
	}

	.cv-show-code__summary {
		grid-template-columns: minmax(0, 1fr);
	}

	.cv-show-code__peek {
		display: none;
	}

	.cv-show-code__button {
		width: 100%;
	}

	.cv-offer-more__summary {
		justify-content: space-between;
	}
}

/* ========================================================================
 * PRE-M6 R12.2 — Directory + interaction UX hardening
 * ===================================================================== */

/* Homepage Featured Coupons: remove the small "logo inside a box" treatment.
   Real merchant marks get room to breathe; monogram fallbacks remain bounded. */
.cv-home-offer-card--featured .cv-home-offer-card__brand img {
	width: 82px;
	height: 58px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	object-fit: contain;
}

.cv-home-offer-card--featured .cv-home-offer-card__monogram {
	width: 58px;
	height: 58px;
	padding: 0;
	border: 1px solid #dce4ee;
	border-radius: 10px;
	background: #f8fbff;
}

.cv-home-offer-card--featured .cv-home-offer-card__brand {
	min-height: 64px;
	gap: 14px;
}

/* Force the responsive carousel basis instead of relying on flex-basis alone;
   this wins cleanly over the earlier desktop `flex` shorthand. */
@media (max-width: 1180px) {
	.cv-top-carousel__track .cv-home-offer-card--featured {
		flex: 0 0 calc((100% - 14px) / 2);
		width: calc((100% - 14px) / 2);
	}

	.cv-grid--store-directory {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.cv-top-carousel__track .cv-home-offer-card--featured {
		flex: 0 0 100%;
		width: 100%;
	}

	.cv-grid--store-directory {
		grid-template-columns: minmax(0, 1fr);
	}

	.cv-home-offer-card--featured .cv-home-offer-card__brand img {
		width: 72px;
		height: 52px;
	}
}

/* Coupon reveal: show only the genuine tail characters; no decorative dots. */
.cv-show-code__summary {
	--cv-reveal-peek-track: 58px;
}

.cv-show-code__peek {
	padding-left: 8px;
	padding-right: 8px;
	font-weight: 800;
	letter-spacing: .04em;
}

/* Store directory finding tools ------------------------------------------------ */
.cv-store-directory-tools {
	margin: 6px 0 26px;
	padding: 20px 22px;
	border: 1px solid #d7e0ea;
	border-radius: 12px;
	background: #fff;
}

.cv-store-directory-tools__heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 16px;
}

.cv-store-directory-tools__heading h2 {
	margin: 3px 0 0;
	font-size: 22px;
	line-height: 1.2;
}

.cv-store-directory-tools__clear {
	color: #0b3a7a;
	font-size: 13px;
	font-weight: 750;
	text-underline-offset: 3px;
}

.cv-store-alphabet {
	display: grid;
	grid-template-columns: repeat(14, minmax(32px, 1fr));
	gap: 7px;
}

.cv-store-alphabet__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 38px;
	padding: 0 8px;
	border: 1px solid #d3dde8;
	border-radius: 7px;
	background: #f8fbff;
	color: #0b3a7a;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.cv-store-alphabet__item:hover,
.cv-store-alphabet__item:focus-visible {
	border-color: #95abc4;
	background: #eef5fc;
	outline: none;
}

.cv-store-alphabet__item.is-active {
	border-color: #0b3a7a;
	background: #0b3a7a;
	color: #fff;
}

.cv-store-alphabet__item.is-disabled {
	background: #f7f8fa;
	color: #a4afbc;
	cursor: default;
}

.cv-store-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin: 28px 0 10px;
	padding: 18px 0 4px;
	border-top: 1px solid #dce4ed;
}

.cv-store-pagination__status {
	margin: 0;
	color: #526276;
	font-size: 13px;
}

.cv-store-pagination__nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 7px;
}

.cv-store-pagination__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid #cfd9e5;
	border-radius: 7px;
	background: #fff;
	color: #0b3a7a;
	font-size: 13px;
	font-weight: 750;
	text-decoration: none;
}

.cv-store-pagination__link:hover,
.cv-store-pagination__link:focus-visible {
	border-color: #95abc4;
	background: #f4f8fc;
	outline: none;
}

.cv-store-pagination__link.is-active {
	border-color: #0b3a7a;
	background: #0b3a7a;
	color: #fff;
}

.cv-store-pagination__link--wide {
	padding-left: 14px;
	padding-right: 14px;
}

.cv-store-pagination__ellipsis {
	padding: 0 2px;
	color: #7c8998;
}

/* Let logos occupy more of their directory frame without losing alignment
   across inconsistent merchant source assets. */
.cv-store-card--directory .cv-store-card__logo {
	padding: 3px;
}

@media (max-width: 1180px) {
	.cv-store-alphabet {
		grid-template-columns: repeat(9, minmax(32px, 1fr));
	}
}

@media (max-width: 767px) {
	.cv-store-directory-tools {
		margin-bottom: 20px;
		padding: 17px 16px;
	}

	.cv-store-directory-tools__heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.cv-store-alphabet {
		grid-template-columns: repeat(7, minmax(34px, 1fr));
		gap: 6px;
	}

	.cv-store-alphabet__item {
		height: 36px;
	}

	.cv-store-pagination {
		align-items: flex-start;
		flex-direction: column;
	}

	.cv-store-pagination__nav {
		justify-content: flex-start;
	}
}

/* Category directory: expose real taxonomy depth without inventing rankings.
   Chips are informational previews inside the clickable category card. */
.cv-category-card__subcategories {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 10px 0 12px;
}

.cv-category-card__subcategories span {
	display: inline-flex;
	align-items: center;
	min-height: 26px;
	padding: 3px 9px;
	border: 1px solid #e0e6ee;
	border-radius: 999px;
	background: #f6f8fb;
	color: #536275;
	font-size: 11px;
	font-weight: 650;
	line-height: 1.2;
}

.cv-category-card__body {
	min-width: 0;
}

/* ========================================================================
 * PRE-M6 R12.3 — Store directory density + merchant-logo hierarchy
 * ===================================================================== */
.cv-store-directory-tools--compact {
	margin: 12px 0 20px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}
.cv-store-directory-tools--compact .cv-store-directory-tools__heading {
	align-items: center;
	margin-bottom: 9px;
}
.cv-store-directory-tools--compact .cv-store-directory-tools__heading h2 {
	margin: 0;
	font-size: 15px;
	font-weight: 750;
	line-height: 1.25;
}
.cv-store-directory-tools--compact .cv-store-alphabet {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}
.cv-store-directory-tools--compact .cv-store-alphabet__item {
	flex: 0 0 auto;
	min-width: 31px;
	height: 32px;
	padding: 0 7px;
	border-radius: 6px;
	font-size: 12px;
}
.cv-store-directory-tools--compact .cv-store-alphabet__item:first-child {
	min-width: 44px;
}
.cv-home-offer-card--featured .cv-home-offer-card__brand img {
	width: 96px;
	height: 64px;
}
.cv-home-offer-card--featured .cv-home-offer-card__brand {
	min-height: 68px;
}
@media (min-width: 901px) and (max-width: 1180px) {
	.cv-grid--store-directory {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.cv-home-offer-card--featured .cv-home-offer-card__brand img {
		width: 88px;
		height: 60px;
	}
}
@media (min-width: 641px) and (max-width: 900px) {
	.cv-grid--store-directory {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 767px) {
	.cv-store-directory-tools--compact {
		margin-bottom: 16px;
		padding: 0;
	}
	.cv-store-directory-tools--compact .cv-store-directory-tools__heading {
		flex-direction: row;
		align-items: center;
		gap: 12px;
	}
	.cv-store-directory-tools--compact .cv-store-alphabet {
		flex-wrap: nowrap;
		overflow-x: auto;
		overscroll-behavior-inline: contain;
		padding-bottom: 6px;
		-webkit-overflow-scrolling: touch;
	}
	.cv-store-directory-tools--compact .cv-store-alphabet__item {
		min-width: 32px;
	}
	.cv-home-offer-card--featured .cv-home-offer-card__brand img {
		width: 80px;
		height: 56px;
	}
}
@media (max-width: 640px) {
	.cv-grid--store-directory {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ========================================================================
 * PRE-M6 R12.4 — Final visual lock
 * 1) keep the full brand visible whenever the hamburger is present,
 * 2) make DEAL benefit labels specific instead of generic where the existing
 *    Offer data/title already states an explicit benefit,
 * 3) tighten Deal-card density,
 * 4) remove the legacy duplicate Related-store arrow,
 * 5) compact Category-index guidance.
 * ===================================================================== */

/* Header: public-foundation-r4.css loads after site-shell.css, so the final
   responsive contract belongs here as the last cascade authority. */
@media (max-width: 1180px) {
	.cv-header .cv-brand-lockup__text {
		display: inline;
		font-size: 20px;
	}
}

/* At compact tablet/mobile widths, protect the brand instead of letting the
   search field squeeze it down to the mark alone. */
@media (max-width: 980px) {
	.cv-header__bar--menu-search {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 9px 12px;
	}

	.cv-header .cv-header__logo {
		grid-column: 1;
		grid-row: 1;
		justify-self: start;
		min-width: 0;
	}

	.cv-menu {
		grid-column: 2;
		grid-row: 1;
		justify-self: end;
	}

	.cv-header__search {
		grid-column: 1 / -1;
		grid-row: 2;
		width: 100%;
		max-width: none;
		justify-self: stretch;
	}
}

@media (max-width: 420px) {
	.cv-header .cv-brand-lockup__text {
		font-size: 17px;
	}
}

/* Deal cards: show the actual benefit prominently when OfferValuePresenter
   can derive it from stored savings or an already-published DEAL title. */
.cv-offer-card--deal {
	grid-template-columns: 150px minmax(0, 1fr) 220px;
	min-height: 146px;
}

.cv-offer-card--deal .cv-offer-card__value {
	padding: 18px 14px;
}

.cv-offer-card--deal .cv-offer-card__info {
	padding: 18px 22px;
}

.cv-offer-card--deal .cv-offer-card__action {
	padding: 18px 16px;
}

.cv-offer-card__value-figure--deal {
	max-width: 132px;
	font-size: 32px;
	line-height: 1.02;
	text-align: center;
	letter-spacing: -0.035em;
	color: #1b6f17;
}

.cv-offer-card__value-figure--deal.cv-offer-card__value-figure--generic {
	font-size: 28px;
	letter-spacing: -0.02em;
}

.cv-offer-card__value-suffix--deal {
	max-width: 126px;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 750;
	line-height: 1.15;
	text-align: center;
	letter-spacing: 0.035em;
	color: #2e6f2a;
}

.cv-offer-card--deal .cv-offer-card__merchant {
	font-size: 12px;
}

.cv-offer-card--deal .cv-offer-card__title {
	font-size: 19px;
	line-height: 1.22;
}

.cv-offer-card--deal .cv-offer-card__meta {
	margin-top: 5px;
}

/* The template already contains one semantic arrow span. Disable the older
   legacy pseudo-element so Related Store cards never show two arrows. */
.cv-related-stores .cv-store-card__link::after {
	content: none;
	display: none;
}

/* Coupon peek should read as a deliberate two-character tail, not a second
   empty input field. */
.cv-show-code__summary {
	--cv-reveal-peek-track: 48px;
}

.cv-show-code__peek {
	padding-left: 6px;
	padding-right: 6px;
}

/* Category index: page-header counts already explain the directory size, so
   use one concise guidance line rather than a tall explanatory callout. */
.cv-category-intro {
	max-width: 900px;
	margin: -4px 0 24px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #58687b;
	font-size: 14px;
	line-height: 1.55;
}

@media (max-width: 767px) {
	.cv-offer-card--deal {
		grid-template-columns: 92px minmax(0, 1fr);
		min-height: 0;
	}

	.cv-offer-card--deal .cv-offer-card__value {
		grid-column: 1;
		grid-row: 1;
		padding: 16px 8px;
	}

	.cv-offer-card--deal .cv-offer-card__info {
		grid-column: 2;
		grid-row: 1;
		padding: 16px 14px;
	}

	.cv-offer-card--deal .cv-offer-card__action {
		grid-column: 1 / -1;
		grid-row: 2;
		padding: 0 14px 14px;
	}

	.cv-offer-card__value-figure--deal,
	.cv-offer-card__value-figure--deal.cv-offer-card__value-figure--generic {
		font-size: 23px;
	}

	.cv-offer-card__value-suffix--deal {
		font-size: 10px;
	}
}

/* ========================================================================
 * PRE-M6 R12.5 — Typography hierarchy + shell-tone lock
 * Founder direction: stronger editorial hierarchy, while keeping supporting
 * copy compact; header/footer should sit only slightly lighter than the navy
 * ticket mark rather than the washed mid-blue used in R11.4.
 * ===================================================================== */
:root {
	--cv-type-page: clamp(40px, 3.6vw, 50px);
	--cv-type-section: clamp(28px, 2.6vw, 34px);
	--cv-type-subsection: 23px;
	--cv-type-card: 20px;
}

.cv-public .cv-home-top__heading h1,
.cv-public .cv-store-intro h1,
.cv-public .cv-page-header h1,
.cv-public .cv-editorial-hero h1,
.cv-public .cv-guide-article__header h1 {
	font-weight: 760;
	letter-spacing: -0.04em;
}

.cv-public .cv-section-heading h2,
.cv-public .cv-offer-section__heading h2,
.cv-public .cv-offer-section--deal .cv-offer-section__heading h2,
.cv-public .cv-related-stores__heading h2,
.cv-public .cv-store-about h2,
.cv-public .cv-store-faq h2,
.cv-public .cv-store-guides h2,
.cv-public .cv-guide-listing > h2 {
	font-weight: 720;
	letter-spacing: -0.032em;
}

.cv-public .cv-offer-card__title,
.cv-public .cv-offer-card--deal .cv-offer-card__title,
.cv-public .cv-guide-card__title,
.cv-public .cv-category-card__name,
.cv-public .cv-store-card__name {
	font-weight: 700;
}

/* Directory/category scan hierarchy: names should win; helper text should
   remain clearly secondary instead of looking equal to the title. */
.cv-store-directory-tools--compact .cv-store-directory-tools__heading h2 {
	font-size: 16px;
	font-weight: 800;
}

.cv-store-card--directory .cv-store-card__name {
	font-size: 18.5px;
	font-weight: 720;
	line-height: 1.2;
}

.cv-store-card--directory .cv-store-card__hint,
.cv-category-card__cta {
	font-size: 13px;
	font-weight: 650;
}

.cv-category-card__name {
	font-size: 20px;
	font-weight: 720;
	line-height: 1.18;
}

.cv-category-intro {
	font-size: 15px;
}

/* Store offer titles need to sit clearly below section headings but above
   merchant/meta copy. */
.cv-offer-card--deal .cv-offer-card__title,
.cv-offer-card--code .cv-offer-card__title {
	font-size: 20px;
	font-weight: 700;
}

/* Footer remains compact, but the CTA and brand should read as real headings
   rather than supporting copy. */
.cv-footer__explore h2 {
	font-size: 25px;
	font-weight: 750;
}

.cv-footer .cv-brand-lockup__text {
	font-size: 22px;
	font-weight: 800;
}

.cv-footer__nav h2 {
	font-size: 12.5px;
	font-weight: 800;
}

@media (max-width: 720px) {
	:root {
		--cv-type-page: 33px;
		--cv-type-section: 25px;
		--cv-type-subsection: 20px;
		--cv-type-card: 18.5px;
	}

	.cv-category-card__name,
	.cv-store-card--directory .cv-store-card__name {
		font-size: 18px;
	}

	.cv-footer__explore h2 {
		font-size: 23px;
	}
}


/* ========================================================================
 * PRE-M6 R12.6 — Conversion-flow polish
 * Stronger discovery loop without fabricated popularity/verification claims.
 * ===================================================================== */
.cv-current-deals-band {
	border-top: 1px solid #dce5ef;
	border-bottom: 1px solid #dce5ef;
	background: #f8fbff;
}

.cv-current-deals-grid {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
}

.cv-current-deal-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	min-height: 226px;
	padding: 20px;
	border: 1px solid #d4deea;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 14px rgba(15, 23, 42, .055);
}

.cv-current-deal-card:hover,
.cv-current-deal-card:focus-within {
	border-color: #bdcad8;
	box-shadow: 0 8px 22px rgba(15, 23, 42, .085);
}

.cv-current-deal-card__topline,
.cv-current-deal-card__brand,
.cv-current-deal-card__value {
	display: flex;
	align-items: center;
}

.cv-current-deal-card__topline {
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 16px;
}

.cv-current-deal-card__brand {
	min-width: 0;
	gap: 10px;
	color: #253244;
	font-size: 13px;
	font-weight: 700;
}

.cv-current-deal-card__brand img,
.cv-current-deal-card__monogram {
	width: 52px;
	height: 40px;
	flex: 0 0 52px;
	object-fit: contain;
	border-radius: 7px;
}

.cv-current-deal-card__monogram {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #eef4fb;
	color: #123f73;
	font-weight: 800;
}

.cv-current-deal-card__brand span:last-child {
	overflow-wrap: anywhere;
}

.cv-current-deal-card__value {
	flex: 0 0 auto;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1;
	text-align: right;
}

.cv-current-deal-card__value strong {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.035em;
	color: #1f7a22;
}

.cv-current-deal-card__value span {
	margin-top: 4px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .06em;
	color: #4e5d6e;
}

.cv-current-deal-card h3 {
	margin: 0 0 18px;
	font-size: 18px;
	font-weight: 720;
	line-height: 1.28;
	letter-spacing: -0.025em;
}

.cv-current-deal-card h3 a {
	color: #172235;
	text-decoration: none;
}

.cv-current-deal-card h3 a:hover,
.cv-current-deal-card h3 a:focus-visible {
	color: #082e6a;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.cv-current-deal-card__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin-top: auto;
	padding: 0 16px;
	border-radius: 6px;
	background: #2f7d21;
	color: #fff !important;
	font-weight: 750;
	text-decoration: none !important;
}

.cv-current-deal-card__cta:hover,
.cv-current-deal-card__cta:focus-visible {
	background: #26691b;
}

/* The long-form guide cards need more breathing room before desktop width. */
@media (min-width: 768px) and (max-width: 1100px) {
	.cv-guide-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Pull the first actionable Offer closer to the Store identity. */
@media (min-width: 1024px) {
	.cv-store-intro {
		padding-bottom: 6px;
	}

	.cv-store-layout {
		row-gap: 7px;
	}
}

@media (max-width: 980px) {
	.cv-current-deals-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.cv-current-deals-grid {
		grid-template-columns: 1fr;
	}

	.cv-current-deal-card {
		min-height: 0;
		padding: 18px;
	}
}

/* ========================================================================
 * PRE-M6 R12.7 — Merchant identity + coupon reveal + editorial hierarchy
 * Visual normalization only; source logos and Offer/CODE values are intact.
 * ===================================================================== */

/* Merchant logos: enlarge the usable stage and remove avoidable inner
   whitespace from our own layout. Source image pixels are never cropped or
   rewritten, so inconsistent merchant artwork remains honest. */
.cv-home-offer-card--featured .cv-home-offer-card__brand img {
	width: 94px;
	height: 64px;
	max-width: 94px;
	max-height: 64px;
}

.cv-home-offer-card--featured .cv-home-offer-card__brand {
	min-height: 68px;
	gap: 15px;
}

.cv-current-deal-card__brand img {
	width: 60px;
	height: 44px;
	flex-basis: 60px;
	max-width: 60px;
	max-height: 44px;
	object-fit: contain;
}

.cv-current-deal-card__brand {
	gap: 11px;
	font-size: 13.5px;
	font-weight: 720;
}

.cv-offer-card__merchant img {
	width: 48px;
	height: 34px;
	flex: 0 0 48px;
	max-width: 48px;
	max-height: 34px;
	object-fit: contain;
}

.cv-offer-card__merchant-fallback {
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
}

.cv-offer-card__merchant {
	gap: 10px;
	font-size: 13.5px;
	font-weight: 650;
}

.cv-store-card--featured .cv-store-card__logo,
.cv-related-stores .cv-store-card__logo {
	padding: 3px;
}

.cv-store-card--directory .cv-store-card__logo {
	padding: 2px;
}

/* Coupon tail: visually read as the exposed end of one coupon control rather
   than a second input/button. The two genuine tail characters are unchanged. */
.cv-show-code__summary {
	--cv-reveal-peek-track: 46px;
}

.cv-show-code__peek {
	border-left: 0 !important;
	border-radius: 0 7px 7px 0 !important;
	background: #f8fbff;
	color: #123f73;
	font-size: 12.5px;
	font-weight: 850;
	letter-spacing: .035em;
}

.cv-show-code__button {
	border-radius: 7px 0 0 7px !important;
}

.cv-show-code[open] .cv-show-code__button {
	border-radius: 7px !important;
}

/* Store editorial content: restore a clear H2 -> H3 -> body reading ladder so
   the lower page feels like a shopping guide rather than a flat document. */
.cv-public .cv-store-about h3,
.cv-public .cv-store-about__content h3,
.cv-public .cv-store-content h3 {
	margin: 24px 0 8px;
	font-size: 21px;
	line-height: 1.22;
	font-weight: 720;
	letter-spacing: -0.022em;
	color: #263548;
}

.cv-public .cv-store-about p,
.cv-public .cv-store-about li,
.cv-public .cv-store-about__content p,
.cv-public .cv-store-about__content li,
.cv-public .cv-store-content p,
.cv-public .cv-store-content li {
	font-size: 15px;
	line-height: 1.68;
	color: #4f6074;
}

.cv-public .cv-store-about h2 {
	margin-bottom: 12px;
}

@media (max-width: 767px) {
	.cv-home-offer-card--featured .cv-home-offer-card__brand img {
		width: 84px;
		height: 58px;
		max-width: 84px;
		max-height: 58px;
	}

	.cv-current-deal-card__brand img {
		width: 54px;
		height: 40px;
		flex-basis: 54px;
	}

	.cv-offer-card__merchant img {
		width: 44px;
		height: 32px;
		flex-basis: 44px;
	}

	.cv-public .cv-store-about h3,
	.cv-public .cv-store-about__content h3,
	.cv-public .cv-store-content h3 {
		font-size: 19px;
	}
}


/* ========================================================================
 * PRE-M6 R12.8 — Conversion polish
 * Clear single-action CODE reveal + stronger interactive affordance.
 * ===================================================================== */

/* Coupon CODE starts as one clean action. No partial code tail is shown before
   intent; the real full code remains inside the existing native <details>. */
.cv-show-code__summary {
	--cv-reveal-peek-track: 0px;
}

.cv-show-code__peek {
	display: none !important;
}

.cv-show-code__button,
.cv-show-code[open] .cv-show-code__button {
	border-radius: 7px !important;
}

/* Store cards are full-card links, so make the whole tile feel interactive
   without turning decorative elements into competing buttons. */
.cv-store-card--directory,
.cv-store-card--featured,
.cv-related-stores .cv-store-card {
	transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease, background-color 150ms ease;
}

.cv-store-card--featured:hover,
.cv-store-card--featured:focus-within,
.cv-related-stores .cv-store-card:hover,
.cv-related-stores .cv-store-card:focus-within {
	transform: translateY(-2px);
	border-color: #b9c8d8;
	background: #fff;
	box-shadow: 0 8px 20px rgba(15, 23, 42, .075);
}

.cv-store-card--featured .cv-store-card__arrow,
.cv-related-stores .cv-store-card__arrow {
	transition: transform 150ms ease;
}

.cv-store-card--featured:hover .cv-store-card__arrow,
.cv-store-card--featured:focus-within .cv-store-card__arrow,
.cv-related-stores .cv-store-card:hover .cv-store-card__arrow,
.cv-related-stores .cv-store-card:focus-within .cv-store-card__arrow {
	transform: translateX(4px);
}

.cv-current-deal-card {
	transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.cv-current-deal-card:hover,
.cv-current-deal-card:focus-within {
	transform: translateY(-2px);
}

.cv-current-deal-card__cta {
	transition: background-color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

.cv-current-deal-card__cta:hover,
.cv-current-deal-card__cta:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 5px 12px rgba(47, 125, 33, .18);
}

@media (prefers-reduced-motion: reduce) {
	.cv-store-card--directory,
	.cv-store-card--featured,
	.cv-related-stores .cv-store-card,
	.cv-store-card__arrow,
	.cv-current-deal-card,
	.cv-current-deal-card__cta {
		transition: none !important;
		transform: none !important;
	}
}


/* ========================================================================
 * PRE-M6 R12.9 — Visual hierarchy + Category conversion
 * Stronger US-shopping hierarchy without adding any verification/popularity
 * claim. Existing public data, routes and publication contracts stay intact.
 * ===================================================================== */

/* One deliberate type ladder. Large headings lead; card titles and supporting
   copy stay clearly subordinate instead of competing at nearly the same size. */
:root {
	--cv-type-page: clamp(42px, 4vw, 52px);
	--cv-type-section: clamp(30px, 2.8vw, 36px);
	--cv-type-subsection: 24px;
	--cv-type-card: 20px;
}

.cv-public .cv-home-top__heading h1,
.cv-public .cv-store-intro h1,
.cv-public .cv-page-header h1,
.cv-public .cv-editorial-hero h1,
.cv-public .cv-guide-article__header h1 {
	font-size: var(--cv-type-page);
	line-height: 1.04;
	font-weight: 790;
	letter-spacing: -0.045em;
}

.cv-public .cv-section-heading h2,
.cv-public .cv-offer-section__heading h2,
.cv-public .cv-offer-section--deal .cv-offer-section__heading h2,
.cv-public .cv-related-stores__heading h2,
.cv-public .cv-store-about h2,
.cv-public .cv-store-faq h2,
.cv-public .cv-store-guides h2,
.cv-public .cv-guide-listing > h2 {
	font-size: var(--cv-type-section);
	line-height: 1.12;
	font-weight: 760;
	letter-spacing: -0.036em;
}

.cv-public .cv-category-card__name,
.cv-public .cv-store-card__name,
.cv-public .cv-guide-card__title,
.cv-public .cv-offer-card__title,
.cv-public .cv-offer-card--deal .cv-offer-card__title {
	font-weight: 720;
	letter-spacing: -0.024em;
}

/* Store Offer identity should read as a real merchant, not tiny metadata. */
.cv-offer-card__merchant {
	gap: 12px;
	font-size: 14.5px;
	font-weight: 760;
	color: #26374a;
}

.cv-offer-card__merchant img {
	width: 68px;
	height: 46px;
	max-width: 68px;
	max-height: 46px;
	flex: 0 0 68px;
	object-fit: contain;
}

.cv-offer-card__title,
.cv-offer-card--deal .cv-offer-card__title,
.cv-offer-card--code .cv-offer-card__title {
	font-size: 20.5px;
	line-height: 1.24;
}

/* Restore only the genuine final two characters as a teaser. It is one joined
   coupon control: no ellipsis, no fake token, and the full code stays hidden. */
.cv-show-code__summary {
	--cv-reveal-peek-track: 46px;
}

.cv-show-code__peek {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 46px;
	border-left: 0 !important;
	border-radius: 0 7px 7px 0 !important;
	background: #f8fbff;
	color: #123f73;
	font-size: 12.5px;
	font-weight: 850;
	letter-spacing: .035em;
}

.cv-show-code__button {
	border-radius: 7px 0 0 7px !important;
}

.cv-show-code[open] .cv-show-code__peek {
	display: none !important;
}

.cv-show-code[open] .cv-show-code__button {
	border-radius: 7px !important;
}

/* Category directory: shopper-facing semantic iconography with one coherent
   visual system. Colors are attached to semantic icon keys, never Category ids
   or slugs, so future Categories still receive the neutral fallback safely. */
.cv-category-card {
	--cv-category-accent: #315b86;
	--cv-category-soft: #eef4fa;
	position: relative;
	border: 1px solid #d6e0ea;
	border-radius: 18px;
	background: linear-gradient(160deg, #ffffff 0%, #fbfdff 68%, var(--cv-category-soft) 150%);
	box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
	overflow: hidden;
}

.cv-category-card--icon-car { --cv-category-accent: #2563a6; --cv-category-soft: #e9f3ff; }
.cv-category-card--icon-baby { --cv-category-accent: #b26818; --cv-category-soft: #fff4df; }
.cv-category-card--icon-sparkles { --cv-category-accent: #a24678; --cv-category-soft: #fcecf5; }
.cv-category-card--icon-briefcase { --cv-category-accent: #27677e; --cv-category-soft: #e8f5f8; }
.cv-category-card--icon-monitor { --cv-category-accent: #4659ad; --cv-category-soft: #eef0ff; }
.cv-category-card--icon-shirt { --cv-category-accent: #7c4b9f; --cv-category-soft: #f4edfb; }
.cv-category-card--icon-utensils { --cv-category-accent: #ad5b1a; --cv-category-soft: #fff1e5; }
.cv-category-card--icon-heart { --cv-category-accent: #b53f55; --cv-category-soft: #fff0f3; }
.cv-category-card--icon-gamepad { --cv-category-accent: #684da4; --cv-category-soft: #f1edff; }
.cv-category-card--icon-home { --cv-category-accent: #3f7c38; --cv-category-soft: #edf8eb; }
.cv-category-card--icon-paw { --cv-category-accent: #93651e; --cv-category-soft: #fff5df; }
.cv-category-card--icon-mountain { --cv-category-accent: #24756c; --cv-category-soft: #e9f7f4; }

.cv-category-card::before {
	content: '';
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: var(--cv-category-accent);
	pointer-events: none;
}

.cv-category-card::after {
	content: '';
	position: absolute;
	right: -42px;
	top: -48px;
	width: 132px;
	height: 132px;
	border-radius: 999px;
	background: var(--cv-category-soft);
	opacity: .7;
	pointer-events: none;
}

.cv-category-card:hover,
.cv-category-card:focus-within {
	transform: translateY(-4px);
	border-color: #bdcad8;
	box-shadow: 0 14px 34px rgba(15, 23, 42, .10);
}

.cv-category-card__link {
	position: relative;
	z-index: 1;
	min-height: 192px;
	padding: 23px 23px 20px;
}

.cv-category-card__header {
	margin-bottom: 17px;
}

.cv-category-card__icon {
	width: 58px;
	height: 58px;
	border: 1px solid rgba(15, 23, 42, .055);
	border-radius: 17px;
	background: var(--cv-category-soft);
	color: var(--cv-category-accent);
	box-shadow: 0 5px 14px rgba(15, 23, 42, .055), inset 0 0 0 1px rgba(255, 255, 255, .72);
}

.cv-category-card__icon svg {
	width: 31px;
	height: 31px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.cv-category-card__icon .cv-icon-accent {
	fill: currentColor;
	stroke: none;
	opacity: .12;
}

.cv-category-card__name {
	font-size: 21px;
	line-height: 1.16;
	font-weight: 760;
	color: #172235;
	letter-spacing: -0.026em;
}

.cv-category-card__count {
	padding: 6px 10px;
	border: 1px solid #d9e8d2;
	border-radius: 999px;
	background: #f2faee;
	color: #337629;
	font-size: 12px;
	font-weight: 820;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .025);
}

.cv-category-card__subcategories {
	gap: 6px;
	margin-top: 2px;
}

.cv-category-card__subcategories span {
	padding: 5px 9px;
	border: 1px solid #dce5ee;
	border-radius: 999px;
	background: rgba(255, 255, 255, .88);
	color: #4b5e73;
	font-size: 12px;
	font-weight: 650;
}

.cv-category-card__footer {
	margin-top: 7px;
	padding-top: 11px;
	border-top: 1px solid #e7edf3;
	color: var(--cv-category-accent);
	font-size: 13.5px;
	font-weight: 780;
}

.cv-category-card__link:hover .cv-category-card__footer,
.cv-category-card__link:focus-visible .cv-category-card__footer {
	text-decoration: none;
}

/* Mobile footer stays useful but yields screen space to shopping content. */
@media (max-width: 767px) {
	:root {
		--cv-type-page: 34px;
		--cv-type-section: 26px;
		--cv-type-subsection: 21px;
		--cv-type-card: 18.5px;
	}

	.cv-offer-card__merchant {
		font-size: 14px;
	}

	.cv-offer-card__merchant img {
		width: 60px;
		height: 42px;
		max-width: 60px;
		max-height: 42px;
		flex-basis: 60px;
	}

	.cv-category-card__link {
		min-height: 174px;
		padding: 19px 18px 17px;
	}

	.cv-category-card__icon {
		width: 52px;
		height: 52px;
		border-radius: 15px;
	}

	.cv-category-card__icon svg {
		width: 28px;
		height: 28px;
	}

	.cv-category-card__name {
		font-size: 19.5px;
	}


	.cv-footer {
		margin-top: 32px;
		padding-bottom: 16px;
	}

	.cv-footer__explore {
		padding-top: 18px;
		padding-bottom: 18px;
	}

	.cv-footer__bottom {
		margin-top: 16px;
		padding-top: 12px;
	}
}


/* Public Status UI V1 — every public Offer receives a restrained, textual
 * status derived from finalized Verification history or protected-code policy. */
.cv-verification-note {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 9px;
	margin: 10px 0 0;
	font-size: 13px;
	line-height: 1.35;
	color: #64748b;
}

.cv-verification-note__mark {
	display: inline-grid;
	place-items: center;
	width: 18px;
	height: 18px;
	border-radius: 999px;
	background: #f1f5f9;
	font-size: 12px;
	font-weight: 800;
}

.cv-verification-note--verified {
	color: #315a36;
}

.cv-verification-note--verified .cv-verification-note__mark {
	background: #eaf6e8;
}

.cv-verification-note--caution {
	color: #7c5a12;
}

.cv-verification-note--caution .cv-verification-note__mark {
	background: #fff7d6;
}

.cv-verification-note--exclusive {
	color: #475569;
}

.cv-verification-note--exclusive .cv-verification-note__mark {
	background: #eef2ff;
}

.cv-verification-note > span:not(.cv-verification-note__mark) {
	color: #64748b;
}
