/* ═══════════════════════════════════════════════════════════════
   Gift Card System — Frontend shortcode [gift-card-display]
   ═══════════════════════════════════════════════════════════════ */

.gc-display-wrap {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 12px;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--gc-accent: var(--rd-site-accent, #c4715a);
}

.gc-display-title {
	font-size: 1.35rem;
	font-weight: 700;
	color: #111827;
	margin: 0 0 20px;
	letter-spacing: -0.02em;
	font-family: Georgia, 'Times New Roman', Times, serif;
}

/* ── Two-column card grid ──────────────────────────────────── */
.gc-display-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-bottom: 28px;
}

@media (max-width: 640px) {
	.gc-display-grid {
		grid-template-columns: 1fr;
	}
}

.gc-display-card {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
	border-radius: 16px;
	border: 1px solid #e8e4df;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	transition: border-color 0.18s, box-shadow 0.18s, transform 0.15s;
}

.gc-display-card:hover {
	border-color: color-mix(in srgb, var(--gc-accent) 45%, #e8e4df);
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
	transform: translateY(-1px);
}

.gc-display-card:has(.gc-display-radio:checked) {
	border-color: var(--gc-accent);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--gc-accent) 35%, transparent), 0 6px 20px rgba(0, 0, 0, 0.07);
}

@supports not selector(:has(*)) {
	.gc-display-card.is-selected {
		border-color: var(--gc-accent);
		box-shadow: 0 0 0 2px rgba(196, 113, 90, 0.35), 0 6px 20px rgba(0, 0, 0, 0.07);
	}
}

/* Visually hide radio but keep keyboard / SR */
.gc-display-radio {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	pointer-events: none;
}

.gc-display-card-inner {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 18px 18px 16px;
	min-height: 100%;
	box-sizing: border-box;
}

/* Thumbnail */
.gc-display-card-thumb {
	width: 100%;
	aspect-ratio: 16 / 10;
	border-radius: 12px;
	overflow: hidden;
	background: #f6f4f1;
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gc-display-card-thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gc-display-card-thumb-placeholder {
	color: #c4bbb2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

/* Body text */
.gc-display-card-body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	flex: 1;
	min-width: 0;
}

.gc-display-card-kicker {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gc-accent);
	margin-bottom: 2px;
}

.gc-display-card-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: #111827;
	line-height: 1.25;
	font-family: Georgia, 'Times New Roman', Times, serif;
}

.gc-display-card-desc {
	margin: 4px 0 0;
	font-size: 14px;
	line-height: 1.5;
	color: #5c5855;
	flex: 1;
}

.gc-display-card-price {
	margin-top: 10px;
	font-size: 15px;
	font-weight: 700;
	color: #3d3a38;
}

/* ── CTA ───────────────────────────────────────────────────── */
.gc-display-footer {
	text-align: center;
	max-width: 420px;
	margin: 0 auto;
}

.gc-display-btn {
	display: block;
	width: 100%;
	padding: 14px 24px;
	background: #e53935;
	color: #fff;
	border: none;
	border-radius: 10px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.08em;
	cursor: pointer;
	transition: background 0.15s, opacity 0.15s, filter 0.15s;
}

.gc-display-btn:hover:not(:disabled) {
	filter: brightness(0.94);
}

.gc-display-btn:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.gc-display-notice {
	margin-top: 12px;
	font-size: 13px;
	color: #dc2626;
}
