/* Neutralize Divi's content wrappers on the shop route so our grid can center.
   Scoped to .ocg-cs-shop-route so we never leak into the rest of the site. */
body.ocg-cs-shop-route #main-content .container,
body.ocg-cs-shop-route #main-content #content-area,
body.ocg-cs-shop-route #main-content #left-area {
	float: none;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 0;
}
body.ocg-cs-shop-route #sidebar { display: none; }

/* Force Theme Builder header/footer rows to center. On synthetic routes Divi
   sometimes drops the auto margins from .et_pb_row, leaving the logo/nav stuck
   to the left edge. We ONLY override margins here — leaving Divi's float,
   display, and width logic intact so multi-column rows still flex correctly. */
body.ocg-cs-shop-route .et-l--header .et_pb_row,
body.ocg-cs-shop-route .et-l--footer .et_pb_row,
body.ocg-cs-shop-route #main-header .container,
body.ocg-cs-shop-route #main-footer .container {
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Restore Divi's default column layouts. Divi normally enqueues per-template
   CSS that sets these widths, keyed off the queried post ID. Our synthetic
   route has post ID = 0, so that per-template CSS never loads and columns
   collapse to a single stack. We re-apply the standard column ratios here. */
body.ocg-cs-shop-route .et-l--header .et_pb_row,
body.ocg-cs-shop-route .et-l--footer .et_pb_row {
	zoom: 1;
}
body.ocg-cs-shop-route .et-l--header .et_pb_row::after,
body.ocg-cs-shop-route .et-l--footer .et_pb_row::after {
	content: '';
	display: table;
	clear: both;
}
body.ocg-cs-shop-route .et-l--header .et_pb_row > .et_pb_column,
body.ocg-cs-shop-route .et-l--footer .et_pb_row > .et_pb_column {
	float: left;
	min-height: 1px;
}
/* Half columns: 47% / 6% gutter / 47% — Divi's stock spec. */
body.ocg-cs-shop-route .et-l--header .et_pb_row > .et_pb_column_1_2,
body.ocg-cs-shop-route .et-l--footer .et_pb_row > .et_pb_column_1_2 {
	width: 47%;
	margin-right: 6%;
}
body.ocg-cs-shop-route .et-l--header .et_pb_row > .et_pb_column_1_2.et-last-child,
body.ocg-cs-shop-route .et-l--footer .et_pb_row > .et_pb_column_1_2.et-last-child {
	margin-right: 0;
}
/* Third columns: 30.66% / 4% / 30.66% / 4% / 30.66% — Divi's stock spec. */
body.ocg-cs-shop-route .et-l--header .et_pb_row > .et_pb_column_1_3,
body.ocg-cs-shop-route .et-l--footer .et_pb_row > .et_pb_column_1_3 {
	width: 30.66%;
	margin-right: 4%;
}
body.ocg-cs-shop-route .et-l--header .et_pb_row > .et_pb_column_1_3.et-last-child,
body.ocg-cs-shop-route .et-l--footer .et_pb_row > .et_pb_column_1_3.et-last-child {
	margin-right: 0;
}
/* Quarter columns: 22% with 4% gutters. */
body.ocg-cs-shop-route .et-l--header .et_pb_row > .et_pb_column_1_4,
body.ocg-cs-shop-route .et-l--footer .et_pb_row > .et_pb_column_1_4 {
	width: 22%;
	margin-right: 4%;
}
body.ocg-cs-shop-route .et-l--header .et_pb_row > .et_pb_column_1_4.et-last-child,
body.ocg-cs-shop-route .et-l--footer .et_pb_row > .et_pb_column_1_4.et-last-child {
	margin-right: 0;
}
/* Full-width single column. */
body.ocg-cs-shop-route .et-l--header .et_pb_row > .et_pb_column_4_4,
body.ocg-cs-shop-route .et-l--footer .et_pb_row > .et_pb_column_4_4 {
	width: 100%;
	margin-right: 0;
}
/* Stack to one column on tablets/phones, matching Divi's responsive breakpoint. */
@media all and (max-width: 980px) {
	body.ocg-cs-shop-route .et-l--header .et_pb_row > .et_pb_column,
	body.ocg-cs-shop-route .et-l--footer .et_pb_row > .et_pb_column {
		width: 100%;
		margin-right: 0;
		float: none;
	}
}

/* =========================================================================
   OCG Card Shop — premium design system
   Brand palette is shared with /card-grading/ (see Odiz-Collectables/card-lookup.css):
   - Dark navy hero (#0a0e1a → #1a1f2e)
   - Gold accent (#fff400 → #fbbf24)
   - Gold→blue gradient signature (#fff400 → #2563eb)
   - White surfaces with deep shadow on the dark wash
   ========================================================================= */
.ocg-cs-shop {
	--cs-bg: #f4f5f9;
	--cs-surface: #ffffff;
	--cs-border: #e5e7eb;
	--cs-text: #1e293b;
	--cs-text-muted: #64748b;
	--cs-text-light: #94a3b8;
	--cs-navy: #0a0e1a;
	--cs-navy-2: #1a1f2e;
	--cs-gold: #fff400;
	--cs-gold-2: #fbbf24;
	--cs-blue: #2563eb;
	--cs-radius: 16px;
	--cs-radius-sm: 10px;
	--cs-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06);
	--cs-shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
	--cs-shadow-lg: 0 24px 48px -12px rgba(15, 23, 42, 0.18);
	width: 100%;
	margin: 0 auto;
	padding: 0 0 96px;
	box-sizing: border-box;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: var(--cs-text);
	background: var(--cs-bg);
}
.ocg-cs-shop *,
.ocg-cs-shop *::before,
.ocg-cs-shop *::after { box-sizing: border-box; }

/* ---------- Hero ---------- */
.ocg-cs-hero {
	background: linear-gradient(135deg, var(--cs-navy) 0%, var(--cs-navy-2) 100%);
	color: #fff;
	padding: 72px 24px 96px;
	margin-bottom: -56px;
	position: relative;
	overflow: hidden;
}
.ocg-cs-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 12% 20%, rgba(255, 244, 0, 0.08), transparent 40%),
		radial-gradient(circle at 88% 80%, rgba(37, 99, 235, 0.10), transparent 45%);
	pointer-events: none;
}
.ocg-cs-hero__inner {
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
	text-align: center;
}
.ocg-cs-hero__eyebrow {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cs-gold-2);
	margin-bottom: 14px;
}
.ocg-cs-hero__title {
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: -0.025em;
	margin: 0 0 14px;
	background: linear-gradient(135deg, var(--cs-gold) 0%, var(--cs-gold-2) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}
.ocg-cs-hero__subtitle {
	font-size: 17px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.72);
	margin: 0 auto 32px;
	max-width: 560px;
}
.ocg-cs-hero__filters {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}
.ocg-cs-hero__filter {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	padding: 6px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.10);
	border-radius: 999px;
	backdrop-filter: blur(8px);
	max-width: 100%;
}
.ocg-cs-hero__filter--price .ocg-cs-pill {
	font-size: 12px;
	padding: 8px 14px;
}
.ocg-cs-pill {
	display: inline-block;
	padding: 9px 18px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: rgba(255, 255, 255, 0.78);
	background: transparent;
	border-radius: 999px;
	text-decoration: none !important;
	transition: color 0.15s ease, background 0.15s ease;
}
.ocg-cs-pill:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.ocg-cs-pill.is-active {
	background: linear-gradient(135deg, var(--cs-gold) 0%, var(--cs-gold-2) 100%);
	color: var(--cs-navy) !important;
	box-shadow: 0 4px 14px rgba(251, 191, 36, 0.35);
}

/* ---------- Savings Panel (in-hero) ---------- */
.ocg-cs-savings {
	margin-top: 28px;
	animation: ocg-cs-savings-in 0.45s ease-out both;
}
@keyframes ocg-cs-savings-in {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}
.ocg-cs-savings__inner {
	max-width: 920px;
	margin: 0 auto;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(251, 191, 36, 0.28);
	border-radius: 18px;
	padding: 18px 22px;
	backdrop-filter: blur(10px);
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.05);
	text-align: left;
}
.ocg-cs-savings__title {
	margin: 0 0 14px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--cs-gold-2);
	display: flex;
	align-items: center;
	gap: 8px;
}
.ocg-cs-savings__title::before {
	content: "✦";
	color: var(--cs-gold);
	font-size: 14px;
	animation: ocg-cs-spark 2.4s ease-in-out infinite;
}
@keyframes ocg-cs-spark {
	0%, 100% { opacity: 0.55; transform: rotate(0deg); }
	50%      { opacity: 1;    transform: rotate(180deg); }
}

/* Empty state */
.ocg-cs-savings__empty {
	display: flex;
	align-items: center;
	gap: 14px;
}
.ocg-cs-savings__spark {
	font-size: 28px;
	background: linear-gradient(135deg, var(--cs-gold) 0%, var(--cs-gold-2) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	animation: ocg-cs-spark 2.4s ease-in-out infinite;
}
.ocg-cs-savings__empty-text { display: flex; flex-direction: column; gap: 2px; }
.ocg-cs-savings__empty-text strong {
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.02em;
}
.ocg-cs-savings__empty-text span {
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
}
.ocg-cs-savings__empty-text em {
	font-style: normal;
	font-weight: 800;
	background: linear-gradient(135deg, var(--cs-gold) 0%, var(--cs-gold-2) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Tier grid */
.ocg-cs-savings__tiers {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 12px;
}
.ocg-cs-savings__tier {
	position: relative;
	padding: 14px 16px 16px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-left: 3px solid var(--cs-gold);
	border-radius: 12px;
	overflow: hidden;
}
.ocg-cs-savings__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 6px;
}
.ocg-cs-savings__label {
	color: rgba(255, 255, 255, 0.82);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}
.ocg-cs-savings__pct {
	font-size: 28px;
	font-weight: 900;
	line-height: 1;
	background: linear-gradient(135deg, var(--cs-gold) 0%, var(--cs-gold-2) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	letter-spacing: -0.01em;
}
.ocg-cs-savings__pct small {
	font-size: 14px;
	font-weight: 700;
	margin-left: 1px;
}
.ocg-cs-savings__msg {
	margin: 0 0 10px;
	font-size: 13.5px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.86);
}
.ocg-cs-savings__msg strong { color: #fff; font-weight: 700; }
.ocg-cs-savings__msg .ocg-cs-savings__cta {
	background: linear-gradient(135deg, var(--cs-gold) 0%, var(--cs-gold-2) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	font-weight: 900;
}

/* Progress bar */
.ocg-cs-savings__bar {
	position: relative;
	height: 6px;
	background: rgba(255, 255, 255, 0.10);
	border-radius: 999px;
	overflow: hidden;
}
.ocg-cs-savings__bar > span {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--cs-gold) 0%, var(--cs-gold-2) 100%);
	border-radius: inherit;
	box-shadow: 0 0 12px rgba(251, 191, 36, 0.55);
	transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
	position: relative;
}
.ocg-cs-savings__bar > span::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
	animation: ocg-cs-shine 2.2s linear infinite;
}
@keyframes ocg-cs-shine {
	from { transform: translateX(-100%); }
	to   { transform: translateX(100%); }
}

/* Upcoming chips */
.ocg-cs-savings__upcoming {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px dashed rgba(255, 255, 255, 0.10);
}
.ocg-cs-savings__upcoming-label {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.55);
	margin-right: 2px;
}
.ocg-cs-savings__chip {
	font-size: 11.5px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.78);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.10);
	padding: 4px 9px;
	border-radius: 999px;
	letter-spacing: 0.02em;
}

/* Capped celebration state */
.ocg-cs-savings__tier.is-capped {
	background: linear-gradient(135deg, var(--cs-gold) 0%, var(--cs-gold-2) 100%);
	border-color: rgba(0, 0, 0, 0.12);
	border-left-color: rgba(0, 0, 0, 0.22);
	box-shadow: 0 8px 22px rgba(251, 191, 36, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45);
	animation: ocg-cs-capped-pulse 2.6s ease-in-out infinite;
}
@keyframes ocg-cs-capped-pulse {
	0%, 100% { box-shadow: 0 8px 22px rgba(251, 191, 36, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
	50%      { box-shadow: 0 10px 28px rgba(251, 191, 36, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
}
.ocg-cs-savings__tier.is-capped .ocg-cs-savings__label { color: rgba(10, 14, 26, 0.82); }
.ocg-cs-savings__tier.is-capped .ocg-cs-savings__pct {
	background: var(--cs-navy);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.ocg-cs-savings__tier.is-capped .ocg-cs-savings__msg { color: rgba(10, 14, 26, 0.92); }
.ocg-cs-savings__tier.is-capped .ocg-cs-savings__msg strong { color: var(--cs-navy); }
.ocg-cs-savings__crown {
	display: inline-block;
	color: var(--cs-navy);
	font-size: 15px;
	margin-right: 2px;
	animation: ocg-cs-crown-bounce 1.6s ease-in-out infinite;
}
@keyframes ocg-cs-crown-bounce {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50%      { transform: translateY(-2px) rotate(-8deg); }
}

/* Responsive */
@media (max-width: 720px) {
	.ocg-cs-savings__inner { padding: 14px 16px; }
	.ocg-cs-savings__tiers { grid-template-columns: 1fr; }
	.ocg-cs-savings__pct { font-size: 24px; }
	.ocg-cs-savings__msg { font-size: 13px; }
}



/* ---------- Empty state ---------- */
.ocg-cs-empty {
	max-width: 520px;
	margin: 0 auto;
	padding: 64px 32px;
	text-align: center;
	background: var(--cs-surface);
	border: 1px solid var(--cs-border);
	border-radius: var(--cs-radius);
	box-shadow: var(--cs-shadow-md);
	position: relative;
	z-index: 1;
}
.ocg-cs-empty__icon {
	font-size: 56px;
	line-height: 1;
	color: var(--cs-gold-2);
	margin-bottom: 12px;
}
.ocg-cs-empty h2 {
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 8px;
	color: var(--cs-text);
}
.ocg-cs-empty p { margin: 0; color: var(--cs-text-muted); }

/* ---------- Grid ---------- */
.ocg-cs-shop__grid {
	position: relative;
	z-index: 1;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 24px;
}

/* ---------- Card ---------- */
.ocg-cs-card {
	position: relative;
	background: var(--cs-surface);
	border: 1px solid var(--cs-border);
	border-radius: var(--cs-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--cs-shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.ocg-cs-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--cs-gold) 0%, var(--cs-blue) 100%);
	opacity: 0;
	transition: opacity 0.2s ease;
	z-index: 2;
}
.ocg-cs-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--cs-shadow-lg);
	border-color: rgba(37, 99, 235, 0.25);
}
.ocg-cs-card:hover::before { opacity: 1; }

.ocg-cs-card__media {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
	overflow: hidden;
}
.ocg-cs-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: opacity 0.35s ease, transform 0.5s ease;
}
.ocg-cs-card__img--back { opacity: 0; }
.ocg-cs-card__media:hover .ocg-cs-card__img--front { opacity: 0; }
.ocg-cs-card__media:hover .ocg-cs-card__img--back { opacity: 1; transform: scale(1.02); }
.ocg-cs-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	color: var(--cs-text-light);
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.ocg-cs-card__sport {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(10, 14, 26, 0.82);
	backdrop-filter: blur(6px);
	padding: 5px 10px;
	border-radius: 999px;
}

/* Case Hit badge — bottom-left of the media so it doesn't collide with the
   sport (top-left) or grade (top-right) badges. Gold gradient + soft glow
   to read as a "premium pull". */
.ocg-cs-case-badge {
	position: absolute;
	left: 12px;
	bottom: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #1a1200;
	background: linear-gradient(135deg, #fff400 0%, #fbbf24 100%);
	padding: 5px 10px 5px 8px;
	border-radius: 999px;
	box-shadow: 0 2px 8px rgba(251, 191, 36, 0.45), 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.ocg-cs-case-badge__icon {
	font-size: 12px;
	line-height: 1;
	filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.15));
}

/* Floating grade badge — color matches the grade pulled from Supabase */
.ocg-cs-grade-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 54px;
	padding: 8px 10px;
	background: #fff;
	border: 2px solid #e5e7eb;
	border-radius: 12px;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
	color: #1e293b;
	line-height: 1;
}
.ocg-cs-grade-badge__score {
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.02em;
}
.ocg-cs-grade-badge__name {
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-top: 2px;
}
.ocg-cs-grade-badge.pristine  { border-color: #10b981; color: #065f46; background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%); }
.ocg-cs-grade-badge.mint      { border-color: #3b82f6; color: #1e40af; background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); }
.ocg-cs-grade-badge.near-mint { border-color: #8b5cf6; color: #5b21b6; background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%); }
.ocg-cs-grade-badge.fair      { border-color: #f59e0b; color: #92400e; background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); }
.ocg-cs-grade-badge.poor      { border-color: #ef4444; color: #991b1b; background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%); }

/* ---------- Card body ---------- */
.ocg-cs-card__body {
	padding: 18px 20px 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}
.ocg-cs-card__eyebrow {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--cs-text-light);
}
.ocg-cs-card__title {
	margin: 0;
	font-size: 16px;
	line-height: 1.35;
	font-weight: 700;
	letter-spacing: -0.01em;
	min-height: 2.7em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.ocg-cs-card__title a {
	color: var(--cs-text);
	text-decoration: none;
	background-image: linear-gradient(transparent calc(100% - 1px), var(--cs-blue) 1px);
	background-size: 0% 100%;
	background-repeat: no-repeat;
	transition: background-size 0.3s ease;
}
.ocg-cs-card__title a:hover { background-size: 100% 100%; }

.ocg-cs-card__price {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -0.02em;
	color: var(--cs-navy);
	margin-top: auto;
	padding-top: 4px;
}
.ocg-cs-card__price .woocommerce-Price-currencySymbol {
	font-size: 16px;
	font-weight: 700;
	color: var(--cs-text-muted);
	margin-right: 1px;
}
.ocg-cs-card__price del {
	font-size: 14px;
	font-weight: 500;
	color: var(--cs-text-light);
	margin-right: 6px;
}
.ocg-cs-card__price ins {
	background: none;
	color: var(--cs-navy);
	text-decoration: none;
}

/* ---------- Buttons ---------- */
.ocg-cs-card__actions {
	display: flex;
	gap: 8px;
	margin-top: 6px;
}
.ocg-cs-btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	border-radius: 10px;
	text-decoration: none !important;
	border: 1px solid transparent;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	cursor: pointer;
}
.ocg-cs-btn--primary {
	background: var(--cs-navy);
	color: #fff !important;
	box-shadow: 0 4px 12px rgba(10, 14, 26, 0.18);
}
.ocg-cs-btn--primary:hover {
	background: linear-gradient(135deg, var(--cs-navy) 0%, var(--cs-navy-2) 100%);
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(10, 14, 26, 0.28);
}
.ocg-cs-btn--ghost {
	background: transparent;
	color: var(--cs-text) !important;
	border-color: var(--cs-border);
}
.ocg-cs-btn--ghost:hover {
	background: #f8fafc;
	border-color: var(--cs-blue);
	color: var(--cs-blue) !important;
}
/* WC AJAX add-to-cart states. */
.ocg-cs-card__actions .ocg-cs-btn.loading {
	opacity: 0.65;
	pointer-events: none;
	position: relative;
}
.ocg-cs-card__actions .ocg-cs-btn.added::after {
	content: " ✓";
	margin-left: 4px;
}
/* Hide the "View cart" link WC's add-to-cart.js auto-appends after success;
   the floating mini-cart / header cart already exposes it. */
.ocg-cs-card__actions .added_to_cart {
	display: none !important;
}

/* ---------- Pagination ---------- */
.ocg-cs-shop__pager {
	max-width: 1280px;
	margin: 48px auto 0;
	padding: 0 24px;
	display: flex;
	justify-content: center;
	gap: 6px;
}
.ocg-cs-shop__pager .page-numbers {
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--cs-surface);
	border: 1px solid var(--cs-border);
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--cs-text);
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.ocg-cs-shop__pager .page-numbers:hover {
	border-color: var(--cs-blue);
	color: var(--cs-blue);
}
.ocg-cs-shop__pager .page-numbers.current {
	background: var(--cs-navy);
	color: #fff;
	border-color: var(--cs-navy);
}
.ocg-cs-shop__pager .page-numbers.dots {
	background: transparent;
	border-color: transparent;
	color: var(--cs-text-light);
}

/* ---------- Floating Add Card button (admin-only) ----------
   The FAB lives outside .ocg-cs-shop, so it cannot read the CSS variables
   declared there. Use literal hex values so the gradient/colors always render. */
.ocg-cs-fab {
	position: fixed;
	left: 24px;
	bottom: calc(24px + env(safe-area-inset-bottom));
	z-index: 999;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(135deg, #fff400 0%, #fbbf24 100%) !important;
	background-color: #fbbf24 !important;
	color: #0a0e1a !important;
	padding: 14px 22px 14px 18px;
	border-radius: 999px;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	font-weight: 800;
	font-size: 14px;
	letter-spacing: 0.02em;
	line-height: 1;
	text-decoration: none !important;
	border: none;
	box-shadow: 0 12px 28px rgba(251, 191, 36, 0.45), 0 4px 12px rgba(10, 14, 26, 0.18);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ocg-cs-fab:hover,
.ocg-cs-fab:focus,
.ocg-cs-fab:active {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(251, 191, 36, 0.55), 0 6px 16px rgba(10, 14, 26, 0.22);
	color: #0a0e1a !important;
	background: linear-gradient(135deg, #fff400 0%, #fbbf24 100%) !important;
	text-decoration: none !important;
}
.ocg-cs-fab__plus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	background: #0a0e1a;
	color: #fff400;
	border-radius: 50%;
	font-weight: 900;
	font-size: 18px;
	line-height: 1;
}
.ocg-cs-fab__label { color: #0a0e1a; }

/* Floating "Review Comps" FAB — Comp Police red, stacked above Add Card on the
   bottom-left so it doesn't collide with the floating cart on the bottom-right. */
.ocg-cs-fab--review {
	bottom: calc(24px + env(safe-area-inset-bottom) + 68px);
	background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%) !important;
	background-color: #ef4444 !important;
	color: #fff !important;
	box-shadow: 0 12px 28px rgba(239, 68, 68, 0.45), 0 4px 12px rgba(10, 14, 26, 0.18);
}
.ocg-cs-fab--review:hover,
.ocg-cs-fab--review:focus,
.ocg-cs-fab--review:active {
	color: #fff !important;
	background: linear-gradient(135deg, #f87171 0%, #dc2626 100%) !important;
	box-shadow: 0 16px 32px rgba(239, 68, 68, 0.55), 0 6px 16px rgba(10, 14, 26, 0.22);
}
.ocg-cs-fab--review .ocg-cs-fab__label { color: #fff; }
.ocg-cs-fab--review .ocg-cs-fab__plus { background: #fff; color: #b91c1c; font-size: 14px; }
.ocg-cs-fab__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: #fff;
	color: #b91c1c;
	font-weight: 800;
	font-size: 12px;
	margin-left: 4px;
	box-shadow: 0 0 0 2px rgba(0,0,0,0.15);
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
	.ocg-cs-hero { padding: 48px 20px 80px; margin-bottom: -48px; }
	.ocg-cs-hero__subtitle { font-size: 15px; margin-bottom: 24px; }
	.ocg-cs-shop__grid { padding: 0 16px; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
	.ocg-cs-card__body { padding: 14px 16px 16px; }
	.ocg-cs-card__title { font-size: 15px; }
	.ocg-cs-card__price { font-size: 19px; }
}
@media (max-width: 480px) {
	.ocg-cs-shop__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.ocg-cs-card__body { padding: 12px 12px 14px; gap: 8px; }
	.ocg-cs-card__title { font-size: 14px; min-height: 2.6em; }
	.ocg-cs-card__price { font-size: 17px; }
	.ocg-cs-card__actions { flex-direction: column; gap: 6px; }
	.ocg-cs-card__sport, .ocg-cs-grade-badge { transform: scale(0.9); transform-origin: top right; }
	.ocg-cs-card__sport { transform-origin: top left; }
	.ocg-cs-case-badge { transform: scale(0.9); transform-origin: bottom left; }
	.ocg-cs-fab__label { display: none; }
	.ocg-cs-fab { padding: 16px; }
	.ocg-cs-fab__plus { width: 24px; height: 24px; font-size: 20px; }
}
