/**
 * Retailer single (reference: airy UK voucher layout).
 *
 * @package GeneratePress_Child_WPVoucher
 */

.wpv-retailer-page .site-content .content-area {
	max-width: none;
	width: 100%;
}

.wpv-retailer-page .inside-article {
	padding-left: 0;
	padding-right: 0;
}

/* Prevent horizontal scroll from full-bleed tricks / wide grids (100vw includes scrollbar width). */
body.wpv-retailer-page #page {
	overflow-x: hidden;
}

.wpv-retailer-main,
.wpv-retailer-shell {
	min-width: 0;
}

.wpv-retailer-shell {
	--wpv-r-hero-bg: #f0f7ff;
	--wpv-r-text: #1a2332;
	--wpv-r-muted: #4a5568;
	--wpv-r-border: #e3ecf6;
	--wpv-r-card-shadow: 0 1px 3px rgba(15, 35, 52, 0.06), 0 8px 28px rgba(15, 35, 52, 0.04);
	--wpv-r-container: 1280px;
	--wpv-r-radius: 12px;
	--wpv-r-primary: #1565c0;
	--wpv-r-primary-dark: #0d47a1;
	/* ≥4.5:1 white text on CTA; trust line on #f0f7ff hero */
	--wpv-r-cta: #166534;
	--wpv-r-cta-hover: #14532d;
	--wpv-r-trust: #14532d;
	--wpv-r-sidebar-heading: #0d1520;
	color: var(--wpv-r-text);
}

/* Hero band: fill parent only (avoid 100vw + negative margins — causes page-wide overflow). */
.wpv-retailer-hero {
	background: var(--wpv-r-hero-bg);
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
	padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 2rem);
	box-sizing: border-box;
	border-bottom: 1px solid var(--wpv-r-border);
}

.wpv-retailer-hero__inner {
	max-width: var(--wpv-r-container);
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(120px, 200px) 1fr;
	gap: clamp(1.5rem, 4vw, 3rem);
	align-items: center;
}

@media (max-width: 640px) {
	.wpv-retailer-hero__inner {
		grid-template-columns: 1fr;
		text-align: center;
		justify-items: center;
	}
}

.wpv-retailer-hero__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 200px;
	aspect-ratio: 1;
	background: #fff;
	border-radius: var(--wpv-r-radius);
	box-shadow: var(--wpv-r-card-shadow);
	padding: 1.25rem;
	box-sizing: border-box;
}

.wpv-retailer-hero__logo img {
	width: 100%;
	height: auto;
	max-height: 140px;
	object-fit: contain;
}

.wpv-retailer-hero__logo .wpv-brand-logo img {
	width: 100%;
	height: auto;
	max-height: 140px;
	object-fit: contain;
}

.wpv-retailer-hero__logo .wpv-brand-swatch--initials {
	width: 120px;
	height: 120px;
	min-width: 120px;
	font-size: 2.25rem;
}

.wpv-retailer-hero__logo-fallback {
	font-size: clamp(2rem, 6vw, 3rem);
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--wpv-r-primary);
	line-height: 1.1;
}

.wpv-retailer-hero__text {
	min-width: 0;
}

.wpv-retailer-hero__title {
	margin: 0 0 1rem;
	font-size: clamp(1.65rem, 3.2vw, 2.35rem);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--wpv-r-text);
}

.wpv-retailer-hero__lead {
	margin: 0;
	max-width: 52rem;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--wpv-r-muted);
}

.wpv-retailer-hero__logo:has(.wpv-retailer-hero__logo-img) {
	aspect-ratio: auto;
	max-width: 260px;
	padding: 1rem 1.35rem;
}

.wpv-retailer-hero__logo-img {
	width: 100%;
	height: auto;
	max-height: 100px;
	object-fit: contain;
}

.wpv-retailer-hero__trust {
	margin: 0.85rem 0 0;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--wpv-r-trust);
}

.wpv-retailer-hero__editorial {
	margin: 0.75rem 0 0;
	max-width: 52rem;
	font-size: 1rem;
	line-height: 1.62;
	color: var(--wpv-r-text);
}

@media (max-width: 640px) {
	.wpv-retailer-hero__editorial {
		text-align: left;
		justify-self: stretch;
		max-width: none;
	}
}

.wpv-retailer-hero__review {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 1rem 0 0;
	padding: 0.85rem 1rem;
	max-width: min(40rem, 100%);
	background: rgba(255, 255, 255, 0.65);
	border: 1px solid var(--wpv-r-border);
	border-radius: calc(var(--wpv-r-radius) - 2px);
	box-shadow: 0 1px 0 rgba(15, 35, 52, 0.04);
}

.wpv-retailer-hero__avatar {
	flex: 0 0 2.25rem;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: linear-gradient(145deg, #1565c0, #0d47a1);
	color: #fff;
	font-size: 1rem;
	font-weight: 800;
	display: grid;
	place-items: center;
	line-height: 1;
}

.wpv-retailer-hero__review-body {
	min-width: 0;
}

.wpv-retailer-hero__review-primary {
	margin: 0;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: var(--wpv-r-text);
}

.wpv-retailer-hero__review-meta {
	margin: 0.2rem 0 0;
	font-size: 0.8125rem;
	color: var(--wpv-r-muted);
	line-height: 1.4;
}

/* --- Main + sidebar --- */
.wpv-retailer-layout {
	max-width: var(--wpv-r-container);
	margin: 0 auto;
	padding: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 3vw, 1.5rem);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
	gap: clamp(1.75rem, 3vw, 2.75rem);
	align-items: start;
	box-sizing: border-box;
	min-width: 0;
}

@media (max-width: 960px) {
	.wpv-retailer-layout {
		grid-template-columns: 1fr;
	}
}

/* --- Voucher row: equal-height grid; 3 cols desktop → 1 col mobile --- */
.wpv-retailer-vgrid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 1.35rem;
	width: 100%;
}

@media (max-width: 900px) {
	.wpv-retailer-vgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 639px) {
	.wpv-retailer-vgrid {
		grid-template-columns: 1fr;
	}
}

.wpv-retailer-vgrid > .wpv-retailer-vcard {
	min-width: 0;
	height: 100%;
}

.wpv-retailer-vgrid > .wpv-retailer-empty {
	grid-column: 1 / -1;
	max-width: 28rem;
}

.wpv-retailer-vcard {
	background: #fff;
	border-radius: var(--wpv-r-radius);
	box-shadow: var(--wpv-r-card-shadow);
	border: 1px solid var(--wpv-r-border);
	padding: 0;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	box-sizing: border-box;
	min-height: 0;
	height: 100%;
	width: 100%;
	max-width: none;
	gap: 0;
	overflow: hidden;
}

.wpv-retailer-vcard__verified-bar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 0.35rem 0.65rem;
	width: 100%;
	padding: 0.5rem 0.85rem;
	background: linear-gradient(90deg, #e8f5e9 0%, #c8e6c9 50%, #e8f5e9 100%);
	border-bottom: 1px solid rgba(46, 125, 50, 0.22);
	color: #1b5e20;
}

.wpv-retailer-vcard__verified-text {
	font-size: 0.78rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	line-height: 1.2;
}

.wpv-retailer-vcard__verified-sub {
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	opacity: 0.9;
	line-height: 1.2;
}

.wpv-retailer-vcard__body {
	flex: 0 1 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	min-height: 0;
	width: 100%;
	padding: 1.15rem 1.5rem 0;
	box-sizing: border-box;
	overflow: hidden;
}

.wpv-retailer-vcard__footer {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.5rem;
	width: 100%;
	margin-top: auto;
	padding: 0 1.5rem 1.35rem;
	box-sizing: border-box;
}

.wpv-retailer-vcard__top {
	display: block;
	width: 100%;
}

.wpv-retailer-vcard__headline {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.45rem 0.55rem;
	width: 100%;
}

.wpv-retailer-vcard__pill {
	display: inline-block;
	font-size: 0.625rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.28rem 0.55rem;
	border-radius: 6px;
	line-height: 1.2;
	background: rgba(21, 101, 192, 0.14);
	color: var(--wpv-r-primary-dark);
	white-space: nowrap;
	max-width: 100%;
}

.wpv-retailer-vcard__pill--pct {
	background: rgba(21, 101, 192, 0.16);
}

.wpv-retailer-vcard__pill--cash {
	background: rgba(239, 108, 0, 0.16);
	color: #bf360c;
}

.wpv-retailer-vcard__pill--ship {
	background: rgba(46, 125, 50, 0.14);
	color: #1b5e20;
}

.wpv-retailer-vcard__disclaimer {
	margin: 0;
	font-size: 0.6875rem;
	line-height: 1.35;
	color: var(--wpv-r-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
}

.wpv-retailer-vcard__discount {
	margin: 0;
	font-size: clamp(1.05rem, 2.1vw, 1.28rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--wpv-r-primary-dark);
	line-height: 1.2;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wpv-retailer-vcard__badge {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: var(--wpv-r-primary-dark);
	background: rgba(21, 101, 192, 0.08);
	padding: 0.35rem 0.6rem;
	border-radius: 6px;
	line-height: 1.2;
}

.wpv-retailer-vcard__title {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--wpv-r-text);
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	word-break: break-word;
	overflow-wrap: anywhere;
	max-width: 100%;
}

.wpv-retailer-vcard__urgency {
	margin: 0;
	font-size: 0.8125rem;
	font-weight: 700;
	color: #c62828;
}

.wpv-retailer-vcard__verified-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #2e7d32;
	color: #fff;
	font-size: 0.65rem;
	line-height: 1;
	flex-shrink: 0;
	position: relative;
	box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.85);
}

.wpv-retailer-vcard__verified-icon::after {
	content: "✓";
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -52%);
	font-size: 9px;
	font-weight: 800;
}

.wpv-retailer-vcard__expiry {
	font-size: 0.8125rem;
	color: var(--wpv-r-muted);
	margin: 0;
}

.wpv-retailer-vcard__cta {
	flex-shrink: 0;
	align-self: stretch;
	margin-top: 0;
	padding-top: 0;
	width: 100%;
	appearance: none;
	border: none;
	border-radius: var(--wpv-r-radius);
	padding: 0.7rem 1.1rem;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	background: var(--wpv-r-cta);
	color: #ffffff;
	box-shadow: 0 1px 2px rgba(20, 83, 45, 0.28);
	transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

a.wpv-retailer-vcard__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	box-sizing: border-box;
}

.wpv-retailer-vcard__cta--disabled {
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0.55;
	cursor: not-allowed;
}

.wpv-retailer-vcard__cta:hover {
	background: var(--wpv-r-cta-hover);
	box-shadow: 0 2px 8px rgba(33, 136, 56, 0.35);
	transform: translateY(-1px);
}

.wpv-retailer-vcard__cta:focus-visible {
	outline: 2px solid var(--wpv-r-cta-hover);
	outline-offset: 2px;
}

/* --- Sidebar --- */
.wpv-retailer-sidebar {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	position: sticky;
	top: 1rem;
}

.wpv-retailer-sidebox {
	background: #fff;
	border: 1px solid var(--wpv-r-border);
	border-radius: var(--wpv-r-radius);
	box-shadow: var(--wpv-r-card-shadow);
	padding: 1.25rem 1.2rem;
}

.wpv-retailer-sidebox__title {
	margin: 0 0 1rem;
	font-size: 0.9375rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	color: var(--wpv-r-sidebar-heading);
}

.wpv-retailer-sidebox ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.wpv-retailer-sidebox a {
	color: var(--wpv-r-primary);
	text-decoration: none;
	font-size: 0.9375rem;
	line-height: 1.4;
	font-weight: 500;
}

.wpv-retailer-sidebox a:hover {
	text-decoration: underline;
}

.wpv-retailer-sidebox__muted {
	font-size: 0.8125rem;
	color: var(--wpv-r-muted);
	line-height: 1.45;
	margin: 0;
}

.wpv-retailer-muted {
	font-size: 0.8125rem;
	color: var(--wpv-r-muted);
	line-height: 1.45;
	margin: 0.85rem 0 0;
}

.wpv-retailer-mini {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--wpv-r-text);
}

.wpv-retailer-sidebox--facts .wpv-retailer-kv {
	display: grid;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
}

.wpv-retailer-kv__row {
	display: grid;
	grid-template-columns: minmax(0, 110px) 1fr;
	gap: 0.65rem;
	align-items: start;
	padding-bottom: 0.55rem;
	border-bottom: 1px solid rgba(227, 236, 246, 0.9);
	font-size: 0.8825rem;
	line-height: 1.45;
}

.wpv-retailer-kv__row:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: -0.1rem;
}

.wpv-retailer-kv__row dt {
	margin: 0;
	font-weight: 700;
	color: var(--wpv-r-muted);
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.wpv-retailer-kv__row dd {
	margin: 0;
	color: var(--wpv-r-text);
	font-weight: 500;
}

.wpv-retailer-sidebox--searched .wpv-retailer-searched {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.wpv-retailer-searched__fake {
	display: inline-flex;
	align-items: center;
	padding: 0.38rem 0.72rem;
	font-size: 0.80625rem;
	font-weight: 500;
	color: var(--wpv-r-text);
	line-height: 1.35;
	border-radius: 999px;
	background: #f8fafc;
	border: 1px solid var(--wpv-r-border);
}

.wpv-retailer-sidebox--trend,
.wpv-retailer-sidebox--season {
	background: linear-gradient(180deg, #fafcfe 0%, #fff 100%);
}

/* --- FAQ --- */
.wpv-retailer-faq {
	margin-top: clamp(2.5rem, 5vw, 4rem);
	padding-top: clamp(2rem, 4vw, 3rem);
	border-top: 1px solid var(--wpv-r-border);
}

.wpv-retailer-layout--sparse .wpv-retailer-faq {
	margin-top: clamp(1rem, 2.8vw, 1.75rem);
	padding-top: clamp(1.25rem, 3vw, 2rem);
}

.wpv-retailer-faq__title {
	margin: 0 0 1.5rem;
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--wpv-r-text);
}

.wpv-retailer-faq__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.wpv-retailer-faq details {
	background: #fafcfe;
	border: 1px solid var(--wpv-r-border);
	border-radius: var(--wpv-r-radius);
	padding: 0;
	overflow: hidden;
}

.wpv-retailer-faq summary {
	cursor: pointer;
	font-weight: 600;
	font-size: 1rem;
	padding: 1rem 1.15rem;
	list-style: none;
	color: var(--wpv-r-text);
}

.wpv-retailer-faq summary::-webkit-details-marker {
	display: none;
}

.wpv-retailer-faq__answer {
	margin: 0;
	padding: 0 1.15rem 1.15rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--wpv-r-muted);
}

.wpv-retailer-empty {
	grid-column: 1 / -1;
	text-align: center;
	padding: 2.5rem 1rem;
	color: var(--wpv-r-muted);
	font-size: 1rem;
	background: #fafcfe;
	border-radius: var(--wpv-r-radius);
	border: 1px dashed var(--wpv-r-border);
}

/* --- SEO copy --- */
.wpv-retailer-seo {
	margin-top: clamp(2rem, 4vw, 3rem);
	padding-top: clamp(1.75rem, 3vw, 2.5rem);
	border-top: 1px solid var(--wpv-r-border);
}

.wpv-retailer-seo__title {
	margin: 0 0 1rem;
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--wpv-r-text);
}

.wpv-retailer-seo__body {
	font-size: 0.95rem;
	line-height: 1.7;
	color: var(--wpv-r-muted);
}

.wpv-retailer-seo__body p {
	margin: 0;
}

.wpv-retailer-seo__body--rich h2 {
	margin: 1.5rem 0 0.55rem;
	font-size: 1.14rem;
	font-weight: 800;
	line-height: 1.3;
	color: var(--wpv-r-text);
	letter-spacing: -0.02em;
}

.wpv-retailer-seo__body--rich h2:first-child {
	margin-top: 0;
}

.wpv-retailer-seo__body--rich h3 {
	margin: 1.1rem 0 0.4rem;
	font-size: 1.02rem;
	font-weight: 800;
	color: var(--wpv-r-text);
}

.wpv-retailer-seo__body--rich p {
	margin: 0 0 0.85rem;
}

.wpv-retailer-seo__body--rich p:last-child {
	margin-bottom: 0;
}

.wpv-retailer-seo__body--rich a {
	font-weight: 700;
	color: var(--wpv-r-accent, #1565c0);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.wpv-retailer-seo__body--rich a:hover {
	color: #0d47a1;
}

.wpv-about-quick-facts {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0.85rem 1rem;
	border: 1px solid var(--wpv-r-border);
	border-radius: 10px;
	background: #f8fafc;
}

.wpv-about-quick-facts li {
	margin: 0.35rem 0;
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--wpv-r-text);
}

.wpv-about-quick-facts li strong {
	font-weight: 800;
	color: var(--wpv-r-text);
}

.wpv-retailer-seo__chunk .wpv-retailer-seo__p {
	margin: 0;
}

/* --- Expired archive --- */
.wpv-retailer-expired {
	margin-top: clamp(2.5rem, 5vw, 3.5rem);
	padding-top: clamp(1.75rem, 3vw, 2.5rem);
	border-top: 1px dashed var(--wpv-r-border);
	opacity: 0.88;
}

.wpv-retailer-expired__title {
	margin: 0 0 0.5rem;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--wpv-r-muted);
}

.wpv-retailer-expired__note {
	margin: 0 0 1.25rem;
	font-size: 0.82rem;
	color: var(--wpv-r-muted);
}

.wpv-retailer-vgrid--expired {
	opacity: 0.72;
}

.wpv-retailer-vcard--expired .wpv-retailer-vcard__verified-bar {
	display: none;
}

.wpv-retailer-vcard--expired .wpv-retailer-vcard__body {
	padding-top: 1.35rem;
}

.wpv-retailer-vcard--expired {
	filter: grayscale(0.25);
}

.wpv-retailer-vcard--expired .wpv-retailer-vcard__discount {
	font-size: 1.05rem;
	font-weight: 700;
}

.wpv-retailer-vcard__ghost-code {
	margin: 0;
	font-family: ui-monospace, monospace;
	font-size: 0.85rem;
	color: var(--wpv-r-muted);
	text-decoration: line-through;
}

/* --- Related stores (sidebar) --- */
.wpv-retailer-related {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.wpv-retailer-related__link {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	text-decoration: none;
	color: var(--wpv-r-text);
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.35rem 0;
	border-radius: 8px;
}

.wpv-retailer-related__link:hover {
	background: rgba(21, 101, 192, 0.06);
}

.wpv-retailer-related__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
}

.wpv-retailer-related__mark .wpv-brand-logo img,
.wpv-retailer-related__mark .wpv-brand-swatch {
	max-width: 40px;
	max-height: 40px;
	width: 40px;
	height: 40px;
}

.wpv-retailer-related__mark .wpv-brand-swatch--initials {
	font-size: 0.75rem;
}

.wpv-retailer-related__name {
	min-width: 0;
}

/* --- Star rating --- */
.wpv-retailer-rating {
	padding: 0.25rem 0;
}

.wpv-retailer-rating__stars {
	display: flex;
	gap: 0.15rem;
	margin-bottom: 0.35rem;
}

.wpv-retailer-rating__star {
	width: 18px;
	height: 18px;
	border-radius: 2px;
	background: #e0e0e0;
	position: relative;
}

.wpv-retailer-rating__star.is-full {
	background: linear-gradient(180deg, #ffb300, #f57c00);
}

.wpv-retailer-rating__star.is-half {
	background: linear-gradient(90deg, #ffb300 50%, #e0e0e0 50%);
}

.wpv-retailer-rating__meta {
	margin: 0;
	font-size: 0.82rem;
	color: var(--wpv-r-muted);
}

.wpv-retailer-vcard__cta.is-deal {
	background: var(--wpv-r-primary-dark);
	box-shadow: 0 1px 3px rgba(13, 71, 161, 0.25);
	color: #ffffff;
}

.wpv-retailer-vcard__cta.is-deal:hover {
	background: #0a3d7a;
	color: #ffffff;
}

/* --- Code teaser (dashed preview → full on reveal) --- */
.wpv-retailer-vcard__code-teaser {
	width: 100%;
	border: 2px dashed rgba(21, 101, 192, 0.65);
	border-radius: 10px;
	padding: 0.5rem 0.75rem 0.55rem;
	margin: 0;
	background: #f9f9f9;
	box-sizing: border-box;
}

.wpv-retailer-vcard__code-teaser-label {
	display: block;
	font-size: 0.65rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--wpv-r-muted);
	margin-bottom: 0.2rem;
}

.wpv-retailer-vcard__code-teaser-mono {
	display: block;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	color: var(--wpv-r-text);
	word-break: break-all;
}

.wpv-retailer-vcard__code-prefix {
	letter-spacing: 0.08em;
}

.wpv-retailer-vcard__code-blur {
	filter: blur(5px);
	opacity: 0.45;
	user-select: none;
}

/* JS replaces .wpv-retailer-vcard__code-teaser-mono text with full code on click */
.wpv-retailer-vcard__code-teaser.is-revealed {
	border-style: dashed;
	border-width: 2px;
	border-color: rgba(46, 125, 50, 0.65);
	background: #f2faf4;
}

/* --- Urgency & scarcity accents --- */
.wpv-retailer-vcard__urgency--hot {
	position: relative;
	color: #d84315;
	font-weight: 800;
	padding-left: 1.35rem;
}

.wpv-retailer-vcard__urgency--hot::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.1em;
	width: 1rem;
	height: 1rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d84315'%3E%3Cpath d='M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0.5 5H11v6l5.2 3.2.8-1.3-4.5-2.7V7z'/%3E%3C/svg%3E")
		center / contain no-repeat;
}

.wpv-retailer-vcard__title--scarce {
	color: #bf360c;
}

.wpv-retailer-vcard__discount--scarce {
	color: #e65100;
	font-weight: 900;
}

/* --- Sparse row + verified note --- */
.wpv-retailer-vgrid--sparse {
	margin-bottom: 0.15rem;
}

.wpv-verified-note {
	margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
	padding: 0.85rem 1rem;
	border-radius: var(--wpv-r-radius);
	border: 1px solid var(--wpv-r-border);
	background: #fafcfe;
	font-size: 0.88rem;
	line-height: 1.55;
	color: var(--wpv-r-muted);
}

.wpv-verified-note__title {
	display: block;
	font-size: 0.82rem;
	font-weight: 800;
	color: var(--wpv-r-text);
	margin-bottom: 0.35rem;
}

.wpv-verified-note__text {
	margin: 0;
}

/* --- SEO subsections --- */
.wpv-retailer-seo__chunk {
	margin-bottom: 1.35rem;
}

.wpv-retailer-seo__chunk:last-child {
	margin-bottom: 0;
}

.wpv-retailer-seo__sub {
	margin: 0 0 0.45rem;
	font-size: 1.02rem;
	font-weight: 800;
	color: var(--wpv-r-text);
	letter-spacing: -0.01em;
}

.wpv-retailer-seo__p {
	font-size: 0.95rem;
	line-height: 1.65;
	color: var(--wpv-r-muted);
}

/* --- Page TOC --- */
.wpv-retailer-toc {
	margin: 0 0 1.25rem;
	padding: 0.85rem 1rem;
	border-radius: var(--wpv-r-radius);
	border: 1px solid var(--wpv-r-border);
	background: #fafcfe;
	font-size: 0.875rem;
}

.wpv-retailer-toc__label {
	display: block;
	font-weight: 800;
	color: var(--wpv-r-text);
	margin-bottom: 0.5rem;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.wpv-retailer-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1rem;
}

.wpv-retailer-toc__list a {
	color: var(--wpv-r-primary);
	font-weight: 600;
	text-decoration: none;
}

.wpv-retailer-toc__list a:hover {
	text-decoration: underline;
}

/* --- Sidebar stats --- */
.wpv-retailer-sidebox--stats .wpv-retailer-stats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.wpv-retailer-stats__row {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	padding-bottom: 0.65rem;
	border-bottom: 1px solid var(--wpv-r-border);
}

.wpv-retailer-stats__row:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
}

.wpv-retailer-stats__k {
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--wpv-r-muted);
}

.wpv-retailer-stats__v {
	font-size: 1rem;
	font-weight: 700;
	color: var(--wpv-r-text);
}

.wpv-retailer-stats__tz {
	font-weight: 500;
	font-size: 0.8rem;
	color: var(--wpv-r-muted);
}

.wpv-retailer-stats__hint {
	margin: 0.75rem 0 0;
	font-size: 0.75rem;
	line-height: 1.45;
	color: var(--wpv-r-muted);
}

/* --- Card activity signals --- */
.wpv-retailer-vcard__signals {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.75rem;
	margin: 0 0 0.35rem;
	font-size: 0.72rem;
	font-weight: 700;
	color: var(--wpv-r-muted);
}

.wpv-retailer-vcard__signal {
	background: rgba(21, 101, 192, 0.06);
	border: 1px solid rgba(21, 101, 192, 0.12);
	border-radius: 6px;
	padding: 0.2rem 0.45rem;
	color: #37474f;
}

.wpv-retailer-vcard__signals--footer {
	margin: 0.35rem 0 0;
	padding-top: 0.65rem;
	border-top: 1px solid var(--wpv-r-border);
}

/* --- How-to steps --- */
.wpv-retailer-howto {
	margin-top: clamp(1.5rem, 3vw, 2.25rem);
	padding: 1.25rem 1.2rem;
	border-radius: var(--wpv-r-radius);
	border: 1px solid var(--wpv-r-border);
	background: #fff;
	box-shadow: var(--wpv-r-card-shadow);
}

.wpv-retailer-howto__title {
	margin: 0 0 1rem;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--wpv-r-text);
}

.wpv-retailer-howto__steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	counter-reset: wpvhow;
}

.wpv-retailer-howto__step {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.65rem 0.85rem;
	align-items: start;
	margin: 0;
	padding: 0;
}

.wpv-retailer-howto__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.85rem;
	height: 1.85rem;
	border-radius: 50%;
	background: var(--wpv-r-primary);
	color: #fff;
	font-weight: 800;
	font-size: 0.9rem;
	flex-shrink: 0;
}

.wpv-retailer-howto__text {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.55;
	color: var(--wpv-r-muted);
}

/* --- Share --- */
.wpv-retailer-share {
	margin-top: clamp(1.5rem, 3vw, 2.25rem);
	padding: 1.25rem 1.2rem;
	border-radius: var(--wpv-r-radius);
	border: 1px dashed rgba(21, 101, 192, 0.35);
	background: linear-gradient(180deg, #fafcfe 0%, #fff 100%);
}

.wpv-retailer-share__title {
	margin: 0 0 0.35rem;
	font-size: 1.1rem;
	font-weight: 800;
	color: var(--wpv-r-text);
}

.wpv-retailer-share__lead {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	color: var(--wpv-r-muted);
	line-height: 1.5;
}

.wpv-retailer-share__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
}

.wpv-retailer-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.45rem 0.75rem;
	border-radius: 8px;
	background: #fff;
	border: 1px solid var(--wpv-r-border);
	color: var(--wpv-r-primary-dark);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.wpv-retailer-share__btn-label {
	color: inherit;
}

.wpv-retailer-share__btn--icon {
	gap: 0.4rem;
}

.wpv-retailer-share__btn--icon svg {
	flex-shrink: 0;
	width: 1.15rem;
	height: 1.15rem;
}

.wpv-retailer-share__btn--icon[href*="wa.me"] {
	color: #0a5c52;
}

.wpv-retailer-share__btn--icon[href*="twitter.com"],
.wpv-retailer-share__btn--icon[href*="x.com"] {
	color: #141414;
}

.wpv-retailer-share__btn--icon[href*="facebook.com"] {
	color: #145dbf;
}

.wpv-retailer-share__fav.is-saved {
	border-color: #c62828;
	background: #fff5f5;
}

.wpv-retailer-share__fav.is-saved .wpv-retailer-share__fav-icon {
	color: #c62828;
}

.wpv-retailer-share__btn:hover {
	background: #f3f8fd;
	border-color: rgba(21, 101, 192, 0.35);
}

.wpv-retailer-share__fav {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.75rem;
	border-radius: 8px;
	border: 1px solid var(--wpv-r-border);
	background: #fff;
	cursor: pointer;
	font-size: 0.8125rem;
	font-weight: 600;
	color: var(--wpv-r-primary-dark);
}

.wpv-retailer-share__fav-icon {
	display: inline-flex;
	line-height: 0;
	color: var(--wpv-r-primary-dark);
}

.wpv-retailer-share__fav-icon svg {
	width: 1.15rem;
	height: 1.15rem;
}

/* --- Author (E-E-A-T) --- */
.wpv-retailer-author {
	margin-top: clamp(1.25rem, 2.5vw, 2rem);
	padding: 1.1rem 1.15rem;
	border-radius: var(--wpv-r-radius);
	border: 1px solid var(--wpv-r-border);
	background: #fafcfe;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 1rem;
	align-items: start;
}

.wpv-retailer-author__avatar {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background: var(--wpv-r-primary);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 1.25rem;
	flex-shrink: 0;
}

.wpv-retailer-author__name {
	margin: 0 0 0.35rem;
	font-size: 1rem;
	font-weight: 800;
	color: var(--wpv-r-text);
}

.wpv-retailer-author__bio {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--wpv-r-muted);
}

/* --- Popular category chips (sidebar) --- */
.wpv-retailer-sidebox--cats .wpv-cat-chips {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.wpv-cat-chip {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.5rem 0.65rem;
	border-radius: 10px;
	border: 1px solid var(--wpv-r-border);
	background: #f8fafc;
	text-decoration: none;
	color: var(--wpv-r-text);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.wpv-cat-chip:hover {
	border-color: color-mix(in srgb, var(--wpv-cat-tone, #1565c0) 40%, var(--wpv-r-border));
	background: #fff;
}

.wpv-cat-chip--pin {
	border-color: color-mix(in srgb, var(--wpv-cat-tone, #1565c0) 55%, var(--wpv-r-border));
	background: color-mix(in srgb, var(--wpv-cat-tone, #1565c0) 8%, #fff);
}

.wpv-cat-chip__icon {
	font-size: 1.1rem;
	line-height: 1;
}

.wpv-cat-chips__more {
	margin: 0.75rem 0 0;
	font-size: 0.8rem;
}

.wpv-cat-chips__more a {
	font-weight: 700;
	color: var(--wpv-r-primary);
	text-decoration: none;
}

.wpv-cat-chips__more a:hover {
	text-decoration: underline;
}

/* --- Bottom related brands --- */
.wpv-retailer-related-bottom {
	max-width: var(--wpv-r-container);
	margin: 0 auto;
	padding: 1.25rem clamp(1.25rem, 3vw, 1.5rem) clamp(1.5rem, 3vw, 2rem);
	border-top: 1px solid var(--wpv-r-border);
	box-sizing: border-box;
}

/* Tighter gap when grid ends above (sidebar may be shorter than main column). */
.wpv-retailer-layout + .wpv-retailer-related-bottom {
	margin-top: -0.5rem;
	padding-top: 1rem;
}

.wpv-retailer-related-bottom__title {
	margin: 0 0 1.25rem;
	font-size: clamp(1.2rem, 2.2vw, 1.45rem);
	font-weight: 800;
	color: var(--wpv-r-text);
}

.wpv-retailer-related-bottom__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 160px));
	gap: 1rem;
	justify-content: start;
}

.wpv-retailer-related-bottom__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.65rem;
	padding: 1.25rem 1rem;
	border-radius: var(--wpv-r-radius);
	border: 1px solid var(--wpv-r-border);
	background: #fff;
	box-shadow: var(--wpv-r-card-shadow);
	text-decoration: none;
	color: var(--wpv-r-text);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wpv-retailer-related-bottom__card:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 20px rgba(15, 35, 52, 0.08);
}

.wpv-retailer-related-bottom__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	border-radius: 12px;
	background: #f8fafc;
}

.wpv-retailer-related-bottom__mark .wpv-brand-swatch--initials {
	width: 64px;
	height: 64px;
	min-width: 64px;
	font-size: 1.35rem;
}

.wpv-retailer-related-bottom__name {
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.3;
}

.wpv-retailer-related-bottom__cta {
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--wpv-r-primary);
}

.wpv-retailer-related-bottom__intro {
	margin: 0 0 1rem;
	max-width: 42rem;
	font-size: 0.92rem;
	line-height: 1.5;
	color: var(--wpv-r-muted, #64748b);
}

.wpv-retailer-related-bottom__intro a {
	font-weight: 600;
	color: var(--wpv-r-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.wpv-retailer-related-bottom__intro a:hover {
	color: var(--wpv-r-cta-hover, #1a6f2e);
}

.wpv-retailer-related-bottom__category-link {
	margin: 1rem 0 0;
	font-size: 0.9rem;
	font-weight: 600;
}

.wpv-retailer-related-bottom__category-link a {
	color: var(--wpv-r-primary);
	text-decoration: none;
}

.wpv-retailer-related-bottom__category-link a:hover {
	text-decoration: underline;
}

@media (min-width: 961px) {
	.wpv-retailer-layout--sparse .wpv-retailer-sidebar {
		margin-top: -0.35rem;
	}
}

/* Student / NHS verification block — dual column aligns with voucher grid */
.wpv-retailer-student-nhs {
	margin: 2rem 0 1.5rem;
	padding: 1.35rem;
	width: 100%;
	box-sizing: border-box;
	background: var(--wpv-r-surface, #f8fafc);
	border: 1px solid var(--wpv-r-border, #e2e8f0);
	border-radius: var(--wpv-r-radius, 12px);
}

.wpv-retailer-student-nhs__header {
	margin: 0 0 1.15rem;
}

.wpv-retailer-student-nhs__title {
	margin: 0 0 0.4rem;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.25;
}

.wpv-retailer-student-nhs__lead {
	margin: 0;
	max-width: 52rem;
	color: var(--wpv-r-muted, #64748b);
	font-size: 0.9rem;
	line-height: 1.5;
}

.wpv-retailer-student-nhs__list {
	display: grid;
	gap: 1.35rem;
	margin: 0;
	padding: 0;
	width: 100%;
	list-style: none;
}

/* Two offers: equal columns, full width (matches .wpv-retailer-vgrid rhythm) */
.wpv-retailer-student-nhs--dual .wpv-retailer-student-nhs__list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: stretch;
}

.wpv-retailer-student-nhs--single .wpv-retailer-student-nhs__list {
	grid-template-columns: minmax(0, 1fr);
	max-width: 22rem;
}

@media (max-width: 639px) {
	.wpv-retailer-student-nhs--dual .wpv-retailer-student-nhs__list {
		grid-template-columns: 1fr;
	}

	.wpv-retailer-student-nhs--single .wpv-retailer-student-nhs__list {
		max-width: none;
	}
}

.wpv-retailer-student-nhs__item {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 0;
	min-height: 100%;
	padding: 0;
	background: #fff;
	border: 1px solid var(--wpv-r-border, #e2e8f0);
	border-radius: var(--wpv-r-radius, 10px);
	box-shadow: var(--wpv-r-card-shadow, 0 1px 3px rgba(15, 23, 42, 0.08));
	overflow: hidden;
}

.wpv-retailer-student-nhs__item-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 1rem 1.05rem 0.85rem;
}

.wpv-retailer-student-nhs__pill {
	display: inline-block;
	margin: 0;
	padding: 0.28rem 0.55rem;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	border-radius: 6px;
}

.wpv-retailer-student-nhs__item--student .wpv-retailer-student-nhs__pill {
	color: #1e3a8a;
	background: #dbeafe;
}

.wpv-retailer-student-nhs__item--nhs .wpv-retailer-student-nhs__pill {
	color: #0f766e;
	background: #ccfbf1;
}

.wpv-retailer-student-nhs__offer {
	margin: 0;
	width: 100%;
	font-size: 1.05rem;
	font-weight: 700;
	line-height: 1.35;
	color: var(--wpv-r-text, #0f172a);
}

.wpv-retailer-student-nhs__cta {
	flex-shrink: 0;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0.75rem 1rem;
	border: none;
	border-radius: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	background: var(--wpv-r-cta);
	color: #ffffff;
	box-shadow: none;
	transition: background-color 0.15s ease, transform 0.12s ease;
	box-sizing: border-box;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
}

.wpv-retailer-student-nhs__cta:hover {
	background: var(--wpv-r-cta-hover);
	color: #ffffff;
	transform: translateY(-1px);
}

.wpv-retailer-student-nhs__cta:focus-visible {
	outline: 2px solid var(--wpv-r-cta-hover, #1a6f2e);
	outline-offset: -2px;
}

.wpv-retailer-student-nhs__note {
	margin: 1rem 0 0;
	font-size: 0.82rem;
	color: var(--wpv-r-muted, #64748b);
	line-height: 1.45;
}

button.wpv-retailer-vcard__cta {
	font-family: inherit;
}

/* Coupon modal (?c= on store URL) — promocodes-style */
body.wpv-coupon-modal-open {
	overflow: hidden;
}

.wpv-coupon-modal[hidden] {
	display: none !important;
}

.wpv-coupon-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: clamp(0.75rem, 3vw, 1.25rem);
}

.wpv-coupon-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 18, 22, 0.58);
	backdrop-filter: blur(3px);
}

.wpv-coupon-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 480px);
	max-height: min(92vh, 640px);
	overflow: auto;
	padding: clamp(1.5rem, 4vw, 2rem) clamp(1.35rem, 4vw, 1.85rem) clamp(1.65rem, 4vw, 2.1rem);
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 28px 72px rgba(15, 18, 22, 0.24);
	border: 1px solid var(--wpv-border, #dee2e6);
}

.wpv-coupon-modal__close {
	position: absolute;
	top: 0.55rem;
	right: 0.55rem;
	z-index: 2;
	width: 2.35rem;
	height: 2.35rem;
	border: none;
	border-radius: 10px;
	background: transparent;
	font-size: 1.65rem;
	line-height: 1;
	color: var(--wpv-muted, #4f5963);
	cursor: pointer;
	transition: background 0.15s ease;
}

.wpv-coupon-modal__close:hover {
	background: rgba(15, 18, 22, 0.06);
}

.wpv-coupon-modal__close:focus-visible {
	outline: 2px solid var(--wpv-primary, #1565c0);
	outline-offset: 2px;
}

.wpv-coupon-modal__header {
	margin: 0 0 1.35rem;
	padding-right: 1.85rem;
	text-align: center;
}

.wpv-coupon-modal__logo-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 0.85rem;
	width: min(100%, 168px);
	height: 72px;
	padding: 0.5rem 0.85rem;
	border-radius: 12px;
	background: #f8fafc;
	border: 1px solid rgba(13, 71, 161, 0.08);
}

.wpv-coupon-modal__logo {
	display: block;
	max-width: 100%;
	max-height: 56px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.wpv-coupon-modal__title {
	margin: 0;
	font-size: clamp(1.2rem, 3.5vw, 1.5rem);
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.025em;
	color: var(--wpv-text, #212529);
}

.wpv-coupon-modal__subtitle {
	margin: 0.4rem 0 0;
	font-size: 0.9rem;
	font-weight: 500;
	line-height: 1.4;
	color: #4f5963;
}

.wpv-coupon-modal__subtitle[hidden] {
	display: none;
}

.wpv-coupon-modal__code-panel {
	margin-bottom: 0;
	width: 100%;
}

.wpv-coupon-modal__code-row {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.75rem;
	width: 100%;
}

.wpv-coupon-modal__code-box {
	width: 100%;
	box-sizing: border-box;
	padding: 1rem 1.1rem;
	border-radius: 12px;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
}

.wpv-coupon-modal__code-label {
	display: block;
	margin: 0 0 0.25rem;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	color: var(--wpv-muted, #4f5963);
}

.wpv-coupon-modal__code {
	margin: 0;
	font-family: ui-monospace, "Cascadia Code", "Segoe UI Mono", monospace;
	font-size: clamp(1.35rem, 4.5vw, 1.65rem);
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-align: center;
	color: var(--wpv-text, #212529);
	word-break: break-all;
}

.wpv-coupon-modal__copy {
	display: block;
	width: 100%;
	box-sizing: border-box;
	min-height: 54px;
	padding: 0.8rem 1.25rem;
	border: none;
	border-radius: 12px;
	font-size: 1rem;
	font-weight: 800;
	cursor: pointer;
	background: var(--wpv-primary, #1565c0);
	color: #fff;
	font-family: inherit;
	box-shadow: 0 4px 14px rgba(21, 101, 192, 0.28);
	transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
}

.wpv-coupon-modal__copy:hover {
	background: var(--wpv-primary-dark, #0d47a1);
	transform: translateY(-1px);
}

.wpv-coupon-modal__copy.is-copied {
	background: #15803d;
	box-shadow: 0 4px 14px rgba(21, 128, 61, 0.32);
}

.wpv-coupon-modal__copy.is-copied:hover {
	background: #166534;
}

.wpv-coupon-modal__hint {
	margin: 1.15rem 0 0;
	padding: 0 0.15rem;
	font-size: 0.875rem;
	line-height: 1.6;
	text-align: center;
	color: #4f5963;
}

.wpv-coupon-modal__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem 1rem;
	margin-top: 1.25rem;
	padding-top: 1.1rem;
	padding-bottom: 0.15rem;
	border-top: 1px solid var(--wpv-border-soft, #e8ecf0);
}

.wpv-coupon-modal__terms {
	margin: 0;
	flex: 1 1 12rem;
	min-width: 0;
	font-size: 0.78rem;
	line-height: 1.45;
	color: var(--wpv-muted, #4f5963);
}

.wpv-coupon-modal__terms[hidden] {
	display: none;
}

.wpv-coupon-modal__verified {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	flex-shrink: 0;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
	color: #166534;
	background: #ecfdf3;
	border: 1px solid #bbf7d0;
	white-space: nowrap;
}

.wpv-coupon-modal__verified[hidden] {
	display: none;
}

.wpv-coupon-modal__verified-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: #16a34a;
	line-height: 0;
}

.wpv-coupon-modal__verified-icon svg {
	display: block;
}

@media (max-width: 480px) {
	.wpv-coupon-modal__footer {
		flex-direction: column;
		align-items: center;
	}

	.wpv-coupon-modal__terms {
		text-align: center;
	}
}

/* --- Mobile polish (store / retailer pages) --- */
@media (max-width: 767px) {
	.wpv-retailer-hero {
		padding: clamp(1.35rem, 4vw, 2rem) clamp(1rem, 3.5vw, 1.25rem);
	}

	.wpv-retailer-hero__title {
		font-size: clamp(1.45rem, 6vw, 1.85rem);
	}

	.wpv-retailer-hero__lead,
	.wpv-retailer-hero__editorial {
		font-size: 0.98rem;
	}

	.wpv-retailer-hero__review {
		flex-direction: column;
		align-items: flex-start;
		max-width: none;
	}

	.wpv-retailer-layout {
		padding: clamp(1.25rem, 3.5vw, 1.75rem) clamp(1rem, 3vw, 1.25rem);
		gap: 1.35rem;
	}

	.wpv-retailer-vgrid {
		gap: 1rem;
	}

	.wpv-retailer-vcard__body {
		padding: 1rem 1rem 0;
	}

	.wpv-retailer-vcard__footer {
		padding: 0 1rem 1.1rem;
	}

	.wpv-retailer-vcard__discount {
		white-space: normal;
		overflow: visible;
		text-overflow: unset;
		line-height: 1.25;
	}

	.wpv-retailer-vcard__disclaimer {
		white-space: normal;
		overflow: visible;
		text-overflow: unset;
	}

	.wpv-retailer-vcard__cta {
		min-height: 48px;
		padding: 0.82rem 1rem;
		font-size: 1rem;
	}

	.wpv-retailer-sidebar {
		position: static;
		top: auto;
	}

	.wpv-retailer-related-bottom__grid {
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 120px), 1fr));
		gap: 0.65rem;
	}

	.wpv-retailer-student-nhs {
		margin: 1.35rem 0 1rem;
		padding: 1rem;
	}

	.wpv-retailer-student-nhs__cta {
		min-height: 48px;
	}
}

@media (max-width: 399px) {
	.wpv-retailer-vgrid {
		grid-template-columns: 1fr;
	}
}
