/* GlobalCouponCodes — store archive page (taxonomy-store.php) */

#gcc-store {
	--gcc-blue: #2563eb;
	--gcc-blue-dark: #1d4ed8;
	--gcc-blue-tint: #eaf1fd;
	--gcc-navy: #0f172a;
	--gcc-ink: #1e293b;
	--gcc-muted: #64748b;
	--gcc-border: #e2e8f0;
	--gcc-gray: #f8fafc;
	--gcc-green-tint: #ecfdf3;
	--gcc-green: #15803d;
	--gcc-radius: 14px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--gcc-ink);
	overflow-x: hidden;
	max-width: 100vw;
}
#gcc-store, #gcc-store *, #gcc-store *::before, #gcc-store *::after { box-sizing: border-box; }
#gcc-store .gcc-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
#gcc-store .gcc-section { padding: 40px 0 64px; }

/* Sidebar (left) + coupon list (right). Main content comes first in the
   source order (mobile-first: coupons before widgets, and no CSS needed for
   the mobile stack), then `order` swaps them visually on wider screens. */
#gcc-store .gcc-sp-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: start;
}
@media (min-width: 861px) {
	#gcc-store .gcc-sp-layout { grid-template-columns: 280px 1fr; }
	#gcc-store .gcc-sp-sidebar { order: 1; }
	#gcc-store .gcc-sp-main { order: 2; }
}

/* BREADCRUMB */
#gcc-store .gcc-sp-breadcrumb {
	padding: 18px 20px 0;
	font-size: 0.82rem;
	color: var(--gcc-muted);
	display: flex;
	align-items: center;
	gap: 8px;
}
#gcc-store .gcc-sp-breadcrumb a { color: var(--gcc-muted); text-decoration: none; }
#gcc-store .gcc-sp-breadcrumb a:hover { color: var(--gcc-blue); }
#gcc-store .gcc-sp-current { color: var(--gcc-ink); font-weight: 600; }
/* HERO */
#gcc-store .gcc-sp-hero {
	background: #fff;
	padding: 28px 0 36px;
	border-bottom: 1px solid var(--gcc-border);
}
#gcc-store .gcc-sp-hero-inner {
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}
#gcc-store .gcc-sp-logo {
	flex: none;
	width: 96px;
	height: 96px;
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
#gcc-store .gcc-sp-logo img { max-width: 76px; max-height: 76px; object-fit: contain; }
#gcc-store .gcc-sp-logo-fallback {
	font-size: 2.4rem;
	font-weight: 800;
	color: var(--gcc-blue);
}
#gcc-store .gcc-sp-hero-copy { flex: 1; min-width: 240px; }
#gcc-store .gcc-sp-hero-copy h1 {
	margin: 0 0 6px;
	font-size: 1.6rem;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--gcc-navy);
}
#gcc-store .gcc-sp-hero-copy p { margin: 0 0 12px; color: var(--gcc-muted); font-size: 0.92rem; }

/* Star rating — two stacked copies of the same star glyphs, the top one
   clipped to a percentage width to show partial stars, same technique used
   site-wide for anything needing a "fill level" without per-star SVGs. */
#gcc-store .gcc-sp-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
#gcc-store .gcc-sp-stars { position: relative; display: inline-block; font-size: 1.05rem; line-height: 1; letter-spacing: 2px; }
#gcc-store .gcc-sp-stars-bg { color: var(--gcc-border); }
#gcc-store .gcc-sp-stars-fg { position: absolute; top: 0; left: 0; overflow: hidden; white-space: nowrap; color: #f59e0b; }
#gcc-store .gcc-sp-rating-num { font-size: 0.88rem; font-weight: 700; color: var(--gcc-navy); }

#gcc-store .gcc-sp-stats { display: flex; flex-wrap: wrap; gap: 8px; }
#gcc-store .gcc-sp-stat {
	display: inline-block;
	background: #fff;
	border: 1px solid var(--gcc-border);
	color: var(--gcc-navy);
	font-size: 0.78rem;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 999px;
}
#gcc-store .gcc-sp-visit {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--gcc-blue);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.9rem;
	border-radius: 999px;
	padding: 12px 22px;
	white-space: nowrap;
	transition: background 0.15s ease;
}
#gcc-store .gcc-sp-visit:hover { background: var(--gcc-blue-dark); }

/* HERO — store details card: the page stays light and the store details sit
   in a white card topped by a slim soft-slate info bar (breadcrumb + last
   updated). */
#gcc-store .gcc-sp-hero {
	background: transparent;
	border-bottom: 0;
	padding: 26px 0 4px;
}
#gcc-store .gcc-sp-hero-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--gcc-border);
	border-radius: 20px;
	box-shadow: 0 6px 22px rgba(15, 23, 42, 0.05);
	overflow: hidden;
}
/* Top bar of the card: breadcrumb on the left, "Updated" date on the right,
   on a soft grey strip divided from the card body by a thin rule. */
#gcc-store .gcc-sp-hero-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 6px 16px;
	padding: 12px 28px;
	background-color: #2f4670;
	background-image:
		radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.6px),
		linear-gradient(120deg, #2a3d60 0%, #34507f 60%, #4a6798 100%);
	background-size: 18px 18px, cover;
	font-size: 0.8rem;
	color: rgba(226, 232, 240, 0.78);
}
#gcc-store .gcc-sp-hero-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
#gcc-store .gcc-sp-hero-crumbs a { color: rgba(226, 232, 240, 0.78); text-decoration: none; }
#gcc-store .gcc-sp-hero-crumbs a:hover { color: #fff; }
#gcc-store .gcc-sp-hero-crumbs span[aria-hidden] { color: rgba(226, 232, 240, 0.4); }
#gcc-store .gcc-sp-hero-crumbs .gcc-sp-current { color: #fff; }
#gcc-store .gcc-sp-hero-updated { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
#gcc-store .gcc-sp-hero-updated::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #4ade80;
	box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.22);
}
#gcc-store .gcc-sp-hero-updated time { color: #fff; font-weight: 600; }

#gcc-store .gcc-sp-hero-card .gcc-sp-hero-inner {
	align-items: center;
	padding: 24px 28px;
}
#gcc-store .gcc-sp-hero-card .gcc-sp-logo {
	border: 1px solid var(--gcc-border);
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
#gcc-store .gcc-sp-hero-card .gcc-sp-visit { align-self: center; }
/* Offer counts as a plain line of text with thin dividers (no pill badges). */
#gcc-store .gcc-sp-hero-card .gcc-sp-stats {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.86rem;
	color: var(--gcc-muted);
}
#gcc-store .gcc-sp-hero-card .gcc-sp-stats li { display: inline-flex; align-items: baseline; gap: 4px; }
#gcc-store .gcc-sp-hero-card .gcc-sp-stats li + li::before {
	content: "";
	align-self: center;
	width: 1px;
	height: 14px;
	margin: 0 14px;
	background: var(--gcc-border);
}
#gcc-store .gcc-sp-hero-card .gcc-sp-stats strong { color: var(--gcc-ink); font-weight: 700; }
#gcc-store .gcc-sp-hero-card .gcc-sp-stats .gcc-sp-stat-best { color: #c2410c; }

/* TABS */
#gcc-store .gcc-sp-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--gcc-border);
}
#gcc-store .gcc-sp-tabs a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 4px;
	margin-bottom: -1px;
	border-bottom: 2px solid transparent;
	color: var(--gcc-muted);
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
}
#gcc-store .gcc-sp-tabs a span {
	background: var(--gcc-gray);
	color: var(--gcc-muted);
	font-size: 0.72rem;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 999px;
}
#gcc-store .gcc-sp-tabs a.is-active { color: var(--gcc-blue); border-bottom-color: var(--gcc-blue); }
#gcc-store .gcc-sp-tabs a.is-active span { background: var(--gcc-blue-tint); color: var(--gcc-blue-dark); }
#gcc-store .gcc-sp-tabs a:hover { color: var(--gcc-blue); }

/* Dims the list briefly while an AJAX page fetch is in flight (see
   initCouponRegion() in store.js), instead of a full page reload/blank flash. */
#gcc-store .gcc-sp-coupon-region.is-loading { opacity: 0.5; pointer-events: none; transition: opacity 0.15s ease; }

/* CARD LIST — each coupon is its own separate, bordered cell (not rows in
   one shared table), spaced apart with a gap. */
#gcc-store .gcc-sp-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
#gcc-store .gcc-sp-card {
	display: flex;
	align-items: stretch;
	background: #fff;
	border: 1px solid var(--gcc-border);
	border-radius: var(--gcc-radius);
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.09);
	overflow: hidden;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}
#gcc-store .gcc-sp-card:hover { box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14); transform: translateY(-2px); }

/* Discount badge — an inset, fully-rounded "chip" floating inside the card
   with room around it, rather than a flat panel sharing the card's own
   edges/corners (the earlier edge-to-edge block read as dated). A soft
   gradient instead of a flat tint gives it a little more depth. */
#gcc-store .gcc-sp-discount {
	position: relative;
	flex: none;
	width: 104px;
	margin: 14px 0 14px 14px;
	padding: 4px 6px;
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	overflow: hidden;
	line-height: 1;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-variant-numeric: tabular-nums;
}
#gcc-store .gcc-sp-type-coupon,
#gcc-store .gcc-sp-type-deal {
	background: linear-gradient(160deg, #eef4fe 0%, #dce8fb 100%);
	color: var(--gcc-blue-dark);
}
#gcc-store .gcc-sp-discount-prefix {
	position: relative;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: uppercase;
	opacity: 0.85;
	margin-bottom: 1px;
}
#gcc-store .gcc-sp-discount-amt { position: relative; font-size: 2rem; font-weight: 700; letter-spacing: normal; }
/* "Get 1" in a Buy X Get Y Free badge: words need more room than "25%" */
#gcc-store .gcc-sp-discount-amt.gcc-sp-discount-amt-sm { font-size: 1.5rem; margin: 2px 0; }
#gcc-store .gcc-sp-discount-label {
	position: relative;
	margin-top: 0;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: uppercase;
	opacity: 0.85;
}
#gcc-store .gcc-sp-discount-free {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}
/* "Free" is a much shorter word than "Delivery" — sized up so the two lines
   span roughly the same width instead of the first line looking stubby. */
#gcc-store .gcc-sp-discount-free-top {
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.1;
}
#gcc-store .gcc-sp-discount-free-bottom {
	margin-top: 2px;
	font-size: 0.84rem;
	font-weight: 700;
	letter-spacing: normal;
	line-height: 1.1;
}
#gcc-store .gcc-sp-card-main {
	flex: 1;
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 20px;
}
#gcc-store .gcc-sp-card-body { min-width: 0; padding: 4px 0; }
#gcc-store .gcc-sp-card-body h2 {
	margin: 0;
	padding: 2px 0 8px;
	font-size: 1.15rem !important; /* the parent theme forces h2 { font-size: 26px !important } on phones */
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--gcc-navy);
}
#gcc-store .gcc-sp-card-desc { margin: 0 0 8px; font-size: 0.86rem; color: var(--gcc-muted); }
/* Title and description are clamped to one line each so every coupon card
   stays the same height however wordy the offer; "Show more" (store.js)
   lifts the clamp on that card only. */
#gcc-store .gcc-sp-card-text h2,
#gcc-store .gcc-sp-card-text .gcc-sp-card-desc {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	line-clamp: 1;
	overflow: hidden;
	overflow-wrap: anywhere;
}
#gcc-store .gcc-sp-card-text .gcc-sp-card-desc { margin-bottom: 8px; }
/* spacing as margin, not padding: padding sits inside the clipped box and
   would let a sliver of the third line show through */
#gcc-store .gcc-sp-card-body .gcc-sp-card-text h2 { padding-bottom: 0; margin-bottom: 8px; }
#gcc-store .gcc-sp-card.is-expanded .gcc-sp-card-text h2,
#gcc-store .gcc-sp-card.is-expanded .gcc-sp-card-text .gcc-sp-card-desc {
	display: block;
	-webkit-line-clamp: unset;
	line-clamp: none;
	overflow: visible;
}
#gcc-store .gcc-sp-card-toggle {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	order: 9; /* last item in the category/expiry row */
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--gcc-blue);
	font: inherit;
	font-size: 0.8rem;
	font-weight: 700;
	cursor: pointer;
}
#gcc-store .gcc-sp-card-toggle[hidden] { display: none; }
#gcc-store .gcc-sp-card-toggle::after {
	content: "";
	width: 6px;
	height: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform 0.15s ease;
}
#gcc-store .gcc-sp-card-toggle[aria-expanded="true"]::after { transform: translateY(1px) rotate(-135deg); }
#gcc-store .gcc-sp-card-toggle:hover { text-decoration: underline; }
#gcc-store .gcc-sp-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.78rem; color: var(--gcc-muted); }
/* Button + Verified stacked together on the right, Verified now a plain,
   minimal line of text underneath the button rather than a colored pill. */
#gcc-store .gcc-sp-card-actions { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; }
#gcc-store .gcc-sp-verified { color: var(--gcc-green); font-weight: 600; font-size: 0.74rem; }
#gcc-store a.gcc-sp-card-cat {
	background: var(--gcc-gray);
	color: var(--gcc-muted);
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 0.72rem;
	text-decoration: none;
}
#gcc-store a.gcc-sp-card-cat:hover { background: var(--gcc-blue); color: #fff; }
#gcc-store .gcc-sp-expiring { color: #be123c; font-weight: 600; }
#gcc-store .gcc-sp-card-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--gcc-blue);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	font-size: 0.82rem;
	border-radius: 8px;
	padding: 10px 22px;
	min-width: 130px;
	white-space: nowrap;
}
#gcc-store .gcc-sp-card-btn:hover { background: var(--gcc-blue-dark); }

/* ---- Coupon list emphasis -------------------------------------------------
   Colour is concentrated on the list itself: a solid discount chip per card
   (blue = code, orange = deal), a CODE/DEAL label and matching buttons. */
#gcc-store .gcc-sp-list-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin-bottom: 10px;
}
#gcc-store .gcc-sp-list-head h2 {
	margin: 0;
	font-size: 1.35rem !important;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--gcc-navy);
}

#gcc-store .gcc-sp-card { --tone: #2563eb; --tone-2: #1e40af; --tone-tint: #eff5ff; }
#gcc-store .gcc-sp-card-deal { --tone: #f97316; --tone-2: #c2410c; --tone-tint: #fff4ec; }

/* solid colour discount chip */
#gcc-store .gcc-sp-card .gcc-sp-discount {
	background: linear-gradient(150deg, var(--tone) 0%, var(--tone-2) 100%);
	color: #fff;
	box-shadow: 0 8px 18px color-mix(in srgb, var(--tone) 30%, transparent);
}
#gcc-store .gcc-sp-card .gcc-sp-discount-amt { font-weight: 800; letter-spacing: -0.02em; }
#gcc-store .gcc-sp-card .gcc-sp-discount-label,
#gcc-store .gcc-sp-card .gcc-sp-discount-prefix { opacity: 0.9; }

/* CODE / DEAL label */
#gcc-store .gcc-sp-card-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 6px; }
#gcc-store .gcc-sp-kind {
	padding: 3px 9px;
	border-radius: 6px;
	background: var(--tone-tint);
	color: var(--tone-2);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* buttons in the card's colour */
#gcc-store .gcc-sp-card .gcc-sp-card-btn {
	background: var(--tone);
	font-size: 0.86rem;
	padding: 11px 22px;
	border-radius: 10px;
	box-shadow: 0 6px 14px color-mix(in srgb, var(--tone) 32%, transparent);
	transition: background 0.15s ease, transform 0.15s ease;
}
#gcc-store .gcc-sp-card .gcc-sp-card-btn:hover { background: var(--tone-2); color: #fff; transform: translateY(-1px); }


/* EMPTY STATE */
#gcc-store .gcc-sp-empty {
	background: #fff;
	border: 1px dashed var(--gcc-border);
	border-radius: var(--gcc-radius);
	padding: 32px;
	text-align: center;
	color: var(--gcc-muted);
}

/* "{Store} Promo Code Not Working?" — below the coupon list, same card
   language as everything else on this page (white box, border, shadow). */
#gcc-store .gcc-sp-troubleshoot {
	background: #fff;
	border: 1px solid var(--gcc-border);
	border-radius: var(--gcc-radius);
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
	padding: 28px;
	margin-top: 28px;
}
#gcc-store .gcc-sp-troubleshoot h2 {
	margin: 0 0 4px;
	font-size: 1.3rem !important;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--gcc-navy);
}
#gcc-store .gcc-sp-troubleshoot .gcc-sp-section-sub { margin: 0 0 20px; font-size: 0.88rem; color: var(--gcc-muted); }
#gcc-store .gcc-sp-steps-wide {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 28px;
	row-gap: 18px;
}
@media (max-width: 700px) {
	#gcc-store .gcc-sp-steps-wide { grid-template-columns: 1fr; }
}

/* "VIEW MORE" — replaces numbered pagination (assets/js/store.js appends the next page) */
#gcc-store .gcc-sp-more-wrap { display: flex; justify-content: center; margin-top: 22px; }
#gcc-store .gcc-sp-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 26px;
	border: 1.5px solid var(--gcc-blue);
	border-radius: 999px;
	background: #fff;
	color: var(--gcc-blue);
	font-weight: 700;
	font-size: 0.92rem;
	text-decoration: none;
	transition: background 0.15s ease, color 0.15s ease;
}
#gcc-store .gcc-sp-more span { font-weight: 600; opacity: 0.75; }
#gcc-store .gcc-sp-more:hover { background: var(--gcc-blue); color: #fff; }
#gcc-store .gcc-sp-more.is-loading { opacity: 0.7; cursor: progress; pointer-events: none; }
#gcc-store .gcc-sp-card-new { animation: gcc-sp-in 0.3s ease both; }
@keyframes gcc-sp-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #gcc-store .gcc-sp-card-new { animation: none; } }
@media (max-width: 600px) { #gcc-store .gcc-sp-more { width: 100%; justify-content: center; } }

/* SIDEBAR WIDGETS — deliberately flatter/quieter than the main coupon list
   (border only, no shadow, smaller headings). The sidebar is reference
   material; giving it the same elevation as the coupon cards was pulling
   attention away from the actual coupons, which are the page's main job. */
#gcc-store .gcc-sp-sidebar { display: flex; flex-direction: column; gap: 20px; }
#gcc-store .gcc-sp-widget {
	background: #fff;
	border: 1px solid var(--gcc-border);
	border-radius: var(--gcc-radius);
	padding: 20px;
}
#gcc-store .gcc-sp-widget h3 {
	margin: 0 0 14px;
	font-size: 0.86rem;
	font-weight: 700;
	color: var(--gcc-navy);
}
#gcc-store .gcc-sp-about p { margin: 0; font-size: 0.88rem; line-height: 1.6; color: var(--gcc-muted); }

/* Sidebar widgets: white body with a separate heading band on top (one
   neutral grey for all widgets), divided from the content by a thin rule,
   so the heading reads as its own strip rather than part of the text.
   The tone vars below only colour the list markers (ticks, step numbers). */
#gcc-store .gcc-sp-widget { position: relative; overflow: hidden; }
#gcc-store .gcc-sp-tone-violet { --w-tone: #7c3aed; --w-tint: #f6f2ff; }
#gcc-store .gcc-sp-tone-rose   { --w-tone: #e11d63; --w-tint: #fff3f7; }
#gcc-store .gcc-sp-tone-green  { --w-tone: #0f9d58; --w-tint: #eefaf3; }
#gcc-store .gcc-sp-tone-amber  { --w-tone: #d97706; --w-tint: #fff8ec; }
#gcc-store .gcc-sp-widget-head {
	position: relative;
	margin: -20px -20px 16px;
	padding: 14px 20px;
	background: #f6f8fb; /* same neutral band on every widget */
	border-bottom: 1px solid var(--gcc-border);
}
#gcc-store .gcc-sp-widget-head h3 {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.35;
	font-weight: 700;
	color: var(--gcc-navy);
}
#gcc-store .gcc-sp-widget > p,
#gcc-store .gcc-sp-widget > ul,
#gcc-store .gcc-sp-widget > ol,
#gcc-store .gcc-sp-widget > form,
#gcc-store .gcc-sp-widget > .gcc-sp-rate { position: relative; }
/* list markers pick up each widget's colour */
#gcc-store .gcc-sp-tone-green .gcc-sp-trust-check { background: var(--w-tint); color: var(--w-tone); }
#gcc-store .gcc-sp-tone-amber .gcc-sp-step-num { background: var(--w-tint); color: var(--w-tone); }

/* "Rate this store" — purely decorative, client-side only: clicking a star
   just shows a thank-you message, nothing is sent or stored anywhere. */
#gcc-store .gcc-sp-rate { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--gcc-border); text-align: center; }
#gcc-store .gcc-sp-rate-label { margin: 0 0 8px; font-size: 0.82rem; font-weight: 600; color: var(--gcc-ink); }
#gcc-store .gcc-sp-rate-stars { display: flex; align-items: center; justify-content: center; gap: 4px; }
#gcc-store .gcc-sp-rate-star {
	background: none;
	border: 0;
	padding: 2px;
	font-size: 1.6rem;
	line-height: 1;
	color: var(--gcc-border);
	cursor: pointer;
	transition: color 0.1s ease, transform 0.1s ease;
}
#gcc-store .gcc-sp-rate-star:hover { transform: scale(1.12); }
#gcc-store .gcc-sp-rate-star.is-filled { color: #f59e0b; }
#gcc-store .gcc-sp-rate-star:disabled { cursor: default; opacity: 1; -webkit-text-fill-color: currentColor; }
#gcc-store .gcc-sp-rate-star:disabled.is-filled { color: #f59e0b; }
#gcc-store .gcc-sp-rate-star:disabled:hover { transform: none; }
#gcc-store .gcc-sp-rate-thanks { margin: 8px 0 0; font-size: 0.84rem; font-weight: 600; color: var(--gcc-green); }

/* "How to Apply Coupon Codes" — numbered steps, same blue-circle language
   as the homepage's How It Works section, condensed for the sidebar. */
#gcc-store .gcc-sp-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
#gcc-store .gcc-sp-steps li { display: flex; align-items: flex-start; gap: 12px; }
#gcc-store .gcc-sp-step-num {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 999px;
	background: var(--gcc-blue-tint);
	color: var(--gcc-blue-dark);
	font-size: 0.82rem;
	font-weight: 800;
}
#gcc-store .gcc-sp-steps p { margin: 0; font-size: 0.86rem; line-height: 1.55; color: var(--gcc-muted); padding-top: 2px; }
#gcc-store .gcc-sp-steps strong { color: var(--gcc-navy); }

/* "Why GlobalCouponCodes" trust list */
#gcc-store .gcc-sp-trust-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
#gcc-store .gcc-sp-trust-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.86rem;
	line-height: 1.5;
	color: var(--gcc-ink);
}
#gcc-store .gcc-sp-trust-check {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 999px;
	background: var(--gcc-green-tint);
	color: var(--gcc-green);
	font-size: 0.72rem;
	font-weight: 800;
	margin-top: 1px;
}

/* Newsletter widget — same visual language as the homepage's card, in a
   more compact form to fit a 280px sidebar column. */
/* Newsletter: a plain white widget like the rest of the sidebar (the blue
   version competed with the coloured coupon badges). */
#gcc-store .gcc-sp-newsletter h3 { margin-bottom: 6px; }
#gcc-store .gcc-sp-newsletter p { margin: 0 0 14px; font-size: 0.82rem; color: var(--gcc-muted); line-height: 1.5; }
#gcc-store .gcc-sp-newsletter-form .input-group {
	display: flex;
	align-items: center;
	gap: 2px;
	padding: 4px;
	background: var(--gcc-gray);
	border: 1px solid var(--gcc-border);
	border-radius: 999px;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
#gcc-store .gcc-sp-newsletter-form .input-group:focus-within {
	background: #fff;
	border-color: var(--gcc-blue);
	box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
#gcc-store .gcc-sp-newsletter-form input[type="email"] {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 9px 6px 9px 14px;
	font-size: 0.85rem;
	border-radius: 999px;
	color: var(--gcc-ink);
}
#gcc-store .gcc-sp-newsletter-form input[type="email"]:focus { outline: none; }
#gcc-store .gcc-sp-newsletter-form button {
	flex: none;
	background: var(--gcc-blue);
	color: #fff;
	border: 0;
	font-weight: 700;
	border-radius: 999px;
	padding: 8px 16px;
	font-size: 0.82rem;
	cursor: pointer;
}
#gcc-store .gcc-sp-newsletter-form button:hover { background: var(--gcc-blue-dark); }
#gcc-store .gcc-sp-newsletter-form button[disabled] { opacity: 0.75; cursor: default; }
#gcc-store .gcc-sp-newsletter-form.gcc-invalid .input-group { border-color: #fca5a5; box-shadow: 0 0 0 3px rgba(248, 113, 113, 0.18); }
#gcc-store .gcc-sp-newsletter-msg { margin: 10px 0 0; font-size: 0.76rem; font-weight: 600; color: #be123c; }
#gcc-store .gcc-sp-newsletter-msg[data-status="success"] { color: var(--gcc-green); }
#gcc-store .gcc-sp-newsletter-msg[hidden] { display: none; }
#gcc-store .gcc-hp-wrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* SIMILAR STORES — full-width section below the coupons (not in the sidebar) */
#gcc-store .gcc-sp-similar {
	padding: 48px 0 52px;
	background: #fff;
	border-top: 1px solid var(--gcc-border);
}
#gcc-store .gcc-sp-similar-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}
#gcc-store .gcc-sp-similar-head h2 {
	margin: 0 0 4px;
	font-size: 1.4rem !important; /* the parent theme forces h2 sizes on phones */
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--gcc-navy);
}
#gcc-store .gcc-sp-similar-head p { margin: 0; font-size: 0.9rem; color: var(--gcc-muted); }
#gcc-store .gcc-sp-similar-head > a { flex: none; font-size: 0.9rem; font-weight: 700; color: var(--gcc-blue); text-decoration: none; white-space: nowrap; }
#gcc-store .gcc-sp-similar-head > a:hover { text-decoration: underline; }
#gcc-store .gcc-sp-similar-grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}
#gcc-store .gcc-sp-similar-card {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 12px;
	background: #fff;
	border: 1px solid var(--gcc-border);
	border-radius: var(--gcc-radius);
	text-decoration: none;
	color: var(--gcc-ink);
	transition: border-color 0.15s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
#gcc-store .gcc-sp-similar-card:hover { border-color: var(--gcc-blue); box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07); transform: translateY(-2px); }
#gcc-store .gcc-sp-similar-logo {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	padding: 3px;
	border: 1px solid var(--gcc-border);
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}
#gcc-store .gcc-sp-similar-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
#gcc-store .gcc-sp-similar-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
#gcc-store .gcc-sp-similar-name { font-weight: 700; font-size: 0.9rem; color: var(--gcc-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#gcc-store .gcc-sp-similar-card:hover .gcc-sp-similar-name { color: var(--gcc-blue); }
#gcc-store .gcc-sp-similar-count { font-size: 0.76rem; color: var(--gcc-muted); }
/* the breadcrumb right after it no longer needs its own divider line */
@media (max-width: 1100px) {
	#gcc-store .gcc-sp-similar-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	#gcc-store .gcc-sp-similar-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	#gcc-store .gcc-sp-similar { padding: 34px 0 36px; }
	#gcc-store .gcc-sp-similar-head { flex-direction: column; align-items: flex-start; gap: 8px; }
	#gcc-store .gcc-sp-similar-head h2 { font-size: 1.2rem !important; }
	#gcc-store .gcc-sp-similar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	#gcc-store .gcc-sp-similar-card { flex-direction: column; text-align: center; gap: 8px; padding: 12px 8px; }
	#gcc-store .gcc-sp-similar-text { align-items: center; max-width: 100%; }
}

@media (max-width: 600px) {
	#gcc-store .gcc-sp-hero-inner { flex-direction: column; text-align: center; }
	#gcc-store .gcc-sp-hero-card .gcc-sp-hero-inner { gap: 12px; padding: 20px 16px; }
	#gcc-store .gcc-sp-hero-card .gcc-sp-hero-copy { min-width: 0; width: 100%; }
	#gcc-store .gcc-sp-hero-card .gcc-sp-rating { justify-content: center; }
	#gcc-store .gcc-sp-hero-bar { padding: 10px 16px; justify-content: center; text-align: center; }
	#gcc-store .gcc-sp-hero-crumbs { justify-content: center; }
	#gcc-store .gcc-sp-stats, #gcc-store .gcc-sp-hero-card .gcc-sp-stats { justify-content: center; }
	/* the line wraps on phones: drop the dividers so no row starts with one */
	#gcc-store .gcc-sp-hero-card .gcc-sp-stats { gap: 4px 16px; }
	#gcc-store .gcc-sp-hero-card .gcc-sp-stats li + li::before { display: none; }
	#gcc-store .gcc-sp-visit { width: 100%; }
	#gcc-store .gcc-sp-discount { width: 96px; }
	#gcc-store .gcc-sp-discount-amt { font-size: 1.7rem; }
	#gcc-store .gcc-sp-discount-amt.gcc-sp-discount-amt-sm { font-size: 1.3rem; }
	#gcc-store .gcc-sp-card-main { flex-direction: column; align-items: stretch; padding: 14px 16px; gap: 10px; }
	#gcc-store .gcc-sp-card-actions { width: 100%; }
	#gcc-store .gcc-sp-card-btn { width: 100%; }
	#gcc-store .gcc-sp-troubleshoot h2 { font-size: 1.15rem !important; line-height: 1.3; }
	#gcc-store .gcc-sp-card-body h2 { font-size: 1.02rem !important; line-height: 1.35; padding-bottom: 6px; }
}

/* GET CODE / GET DEAL MODAL — lives inline in taxonomy-store.php (critical
   CSS + markup output immediately after get_header()) rather than here, so
   it paints as fast as possible instead of waiting on this stylesheet and
   the footer-loaded store.js. Nothing to define in this file for it. */

/* =============================================================================
   CATEGORY PAGES (taxonomy-listing.php) — same layout as the store page.
   ========================================================================== */

/* Coupon cards on category pages: the store's logo replaces the discount
   badge (same size/position), and the store name links to its page. */
#gcc-store .gcc-sp-card-logo {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 104px;
	margin: 14px 0 14px 14px;
	border: 1px solid var(--gcc-border);
	border-radius: 14px;
	background: #fff;
	text-decoration: none;
	overflow: hidden;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
#gcc-store .gcc-sp-card-logo:hover { border-color: #cbd5e1; box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08); }
#gcc-store .gcc-sp-card-logo img { width: 80px; height: 80px; object-fit: contain; }
#gcc-store .gcc-sp-card-logo-initial { font-size: 2rem; font-weight: 800; color: var(--gcc-blue); }
#gcc-store .gcc-sp-card-store {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--gcc-ink);
	text-decoration: none;
}
#gcc-store a.gcc-sp-card-store:hover { color: var(--gcc-blue); text-decoration: underline; }

/* category icon in the details card, in place of a store logo */
#gcc-store .gcc-cat-icon { border: 0 !important; box-shadow: none !important; }
#gcc-store .gcc-cat-icon svg { width: 44px; height: 44px; }

/* sidebar: subcategory chips */
#gcc-store .gcc-cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
#gcc-store .gcc-cat-chips a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border: 1px solid var(--gcc-border);
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--gcc-ink);
	text-decoration: none;
}
#gcc-store .gcc-cat-chips a span { color: var(--gcc-muted); font-weight: 500; font-size: 0.76rem; }
#gcc-store .gcc-cat-chips a:hover { border-color: var(--gcc-blue); color: var(--gcc-blue); }

/* sidebar: top stores in this category */
#gcc-store .gcc-cat-store-list { margin: 0; padding: 0; list-style: none; }
#gcc-store .gcc-cat-store-list li + li { border-top: 1px solid var(--gcc-border); }
#gcc-store .gcc-cat-store-list a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 0;
	text-decoration: none;
	color: var(--gcc-ink);
}
#gcc-store .gcc-cat-store-list a:hover .gcc-cat-store-name { color: var(--gcc-blue); }
#gcc-store .gcc-cat-store-logo {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--gcc-border);
	border-radius: 10px;
	background: #fff;
	font-weight: 800;
	color: var(--gcc-blue);
	overflow: hidden;
}
#gcc-store .gcc-cat-store-logo img { width: 32px; height: 32px; object-fit: contain; }
#gcc-store .gcc-cat-store-name { flex: 1; min-width: 0; font-size: 0.88rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#gcc-store .gcc-cat-store-n { flex: none; font-size: 0.76rem; color: var(--gcc-muted); }

@media (max-width: 600px) {
	#gcc-store .gcc-sp-card-logo { width: 96px; }
	#gcc-store .gcc-sp-card-logo img { width: 72px; height: 72px; }
}

/* =============================================================================
   PHONES: coupon card layout. The full-height badge column squeezed the text
   into half the card, so on phones the badge (or store logo on category
   pages) becomes a compact square beside the label + title, and the meta row
   and button run the full width of the card underneath.
   ========================================================================== */
@media (max-width: 600px) {
	#gcc-store .gcc-sp-card {
		display: grid;
		grid-template-columns: 72px minmax(0, 1fr);
		grid-template-areas:
			"badge tags"
			"badge text"
			"meta  meta"
			"act   act";
		grid-template-rows: auto 1fr auto auto;
		column-gap: 12px;
		padding: 14px;
		align-items: start;
	}
	#gcc-store .gcc-sp-card > .gcc-sp-card-main,
	#gcc-store .gcc-sp-card .gcc-sp-card-body { display: contents; }

	#gcc-store .gcc-sp-card > .gcc-sp-discount,
	#gcc-store .gcc-sp-card > .gcc-sp-card-logo {
		grid-area: badge;
		width: 72px;
		height: 72px;
		margin: 0;
		padding: 4px;
		border-radius: 12px;
		align-self: start;
	}
	#gcc-store .gcc-sp-card .gcc-sp-discount-prefix { font-size: 0.56rem; margin-bottom: 1px; }
	#gcc-store .gcc-sp-card .gcc-sp-discount-amt { font-size: 1.4rem; }
	#gcc-store .gcc-sp-card .gcc-sp-discount-amt.gcc-sp-discount-amt-sm { font-size: 1.02rem; margin: 1px 0; }
	#gcc-store .gcc-sp-card .gcc-sp-discount-label { font-size: 0.62rem; }
	#gcc-store .gcc-sp-card > .gcc-sp-card-logo img { width: 56px; height: 56px; }
	#gcc-store .gcc-sp-card .gcc-sp-card-logo-initial { font-size: 1.5rem; }

	#gcc-store .gcc-sp-card .gcc-sp-card-tags { grid-area: tags; margin-bottom: 4px; }
	#gcc-store .gcc-sp-card .gcc-sp-card-text { grid-area: text; min-width: 0; }
	#gcc-store .gcc-sp-card .gcc-sp-card-text h2 { margin-top: 0; }
	#gcc-store .gcc-sp-card .gcc-sp-card-meta { grid-area: meta; margin-top: 8px; }
	#gcc-store .gcc-sp-card .gcc-sp-card-meta:empty { display: none; }
	#gcc-store .gcc-sp-card .gcc-sp-card-actions { grid-area: act; width: 100%; margin-top: 12px; }
}
