.jbdsc-wrap {
	margin: 24px 0;
	position: relative;
	border-radius: 28px;
	padding: 28px;
	background:
		radial-gradient(circle at top right, rgba(59, 130, 246, .16), transparent 26%),
		radial-gradient(circle at bottom left, rgba(168, 85, 247, .16), transparent 24%),
		linear-gradient(135deg, #0f172a 0%, #1e1b4b 45%, #111827 100%);
	box-shadow: 0 24px 60px rgba(15, 23, 42, .18);
	overflow: hidden;
}
.jbdsc-wrap::before {
	content: '';
	position: absolute;
	inset: -35%;
	background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.08), transparent, rgba(59,130,246,.12), transparent);
	animation: jbdsc-rotate 14s linear infinite;
	pointer-events: none;
}
.jbdsc-wrap::after {
	content: '';
	position: absolute;
	inset: 1px;
	border-radius: 27px;
	border: 1px solid rgba(255, 255, 255, .08);
	pointer-events: none;
}
.jbdsc-wrap > * {
	position: relative;
	z-index: 1;
}
.jbdsc-header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.jbdsc-header h3 {
	margin: 0 0 8px;
	font-size: clamp(22px, 3vw, 34px);
	line-height: 1.2;
	color: #fff;
}
.jbdsc-header p {
	margin: 0;
	max-width: 640px;
	color: rgba(226, 232, 240, .86);
	font-size: 14px;
	line-height: 1.8;
}

/* ── Page shortcode ── */
.jbdsc-list--page {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}
@media (min-width: 640px) {
	.jbdsc-list--page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
	.jbdsc-list--page { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
	.jbdsc-list--page { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.jbdsc-list--page .jbdsc-card {
	position: relative;
	border-radius: 22px;
	overflow: hidden;
	animation: jbdsc-float-in .7s cubic-bezier(.22,1,.36,1) both;
	animation-delay: var(--jbdsc-delay, 0s);
}
.jbdsc-list--page .jbdsc-card::after {
	content: '';
	position: absolute;
	inset: auto -20% -55% auto;
	width: 120px;
	height: 120px;
	background: radial-gradient(circle, rgba(255,255,255,.18), transparent 70%);
	transform: rotate(18deg);
	pointer-events: none;
}
.jbdsc-list--page .jbdsc-card-glow {
	display: block;
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #38bdf8, #8b5cf6, #ec4899, #f59e0b, #38bdf8);
	background-size: 300% 300%;
	animation: jbdsc-gradient 5s ease infinite;
	opacity: .95;
}
.jbdsc-list--page .jbdsc-card-inner {
	margin: 2px;
	padding: 18px;
	border-radius: 20px;
	background:
		linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,250,252,.92)),
		linear-gradient(120deg, rgba(255,255,255,.9), rgba(255,255,255,.7));
	backdrop-filter: blur(8px);
	min-height: 205px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	transition: transform .28s ease, box-shadow .28s ease;
}
.jbdsc-list--page .jbdsc-card:hover .jbdsc-card-inner {
	transform: translateY(-6px) scale(1.015);
	box-shadow: 0 24px 40px rgba(15, 23, 42, .16);
}
.jbdsc-list--page .jbdsc-card:hover .jbdsc-card-glow {
	animation-duration: 2.4s;
	filter: saturate(1.15);
}

/* ── Checkout ── */
.jbdsc-wrap--checkout {
	margin-bottom: 28px;
	padding: 18px;
	border-radius: 18px;
	background: linear-gradient(135deg, #fff7ed 0%, #eff6ff 50%, #fdf4ff 100%);
	border: 1px solid #e2e8f0;
	box-shadow: 0 8px 32px rgba(37, 99, 235, .08);
	overflow: hidden;
	position: relative;
}
.jbdsc-wrap--checkout::after {
	display: none;
}
.jbdsc-wrap--checkout::before {
	content: '';
	position: absolute;
	inset: -50%;
	background: conic-gradient(from 0deg, transparent, rgba(37,99,235,.06), transparent, rgba(168,85,247,.06), transparent);
	animation: jbdsc-rotate 8s linear infinite;
	pointer-events: none;
}
.jbdsc-checkout-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	position: relative;
	z-index: 1;
}
.jbdsc-checkout-icon {
	font-size: 28px;
	animation: jbdsc-bounce 2s ease-in-out infinite;
}
.jbdsc-checkout-title { display: block; font-size: 16px; color: #0f172a; }
.jbdsc-checkout-sub { margin: 4px 0 0; font-size: 12px; color: #64748b; }

.jbdsc-list--checkout {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	position: relative;
	z-index: 1;
}
@media (min-width: 640px) {
	.jbdsc-list--checkout { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
	.jbdsc-list--checkout { grid-template-columns: repeat(4, 1fr); }
}

.jbdsc-list--checkout .jbdsc-card {
	position: relative;
	border-radius: 14px;
	overflow: hidden;
	animation: jbdsc-slide-up .55s cubic-bezier(.22,1,.36,1) both;
	animation-delay: var(--jbdsc-delay, 0s);
}
.jbdsc-card-glow {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, #3b82f6, #a855f7, #ec4899, #3b82f6);
	background-size: 300% 300%;
	animation: jbdsc-gradient 4s ease infinite;
	opacity: .85;
}
.jbdsc-card-inner {
	position: relative;
	margin: 2px;
	border-radius: 12px;
	background: #fff;
	padding: 12px;
	height: calc(100% - 4px);
	transition: transform .25s ease, box-shadow .25s ease;
}
.jbdsc-list--checkout .jbdsc-card:hover .jbdsc-card-inner {
	transform: translateY(-3px) scale(1.02);
	box-shadow: 0 12px 28px rgba(37, 99, 235, .18);
}
.jbdsc-list--checkout .jbdsc-card:hover .jbdsc-card-glow {
	animation-duration: 2s;
}

.jbdsc-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.jbdsc-code {
	font-weight: 800;
	letter-spacing: .8px;
	color: #0f172a;
	font-size: 14px;
	word-break: break-all;
}
.jbdsc-copy,
.jbdsc-apply {
	border: 0;
	border-radius: 999px;
	padding: 8px 14px;
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
	white-space: nowrap;
	transition: transform .18s, background .18s, box-shadow .18s, opacity .18s;
}
.jbdsc-copy {
	background: linear-gradient(135deg, #2563eb, #7c3aed);
	color: #fff;
	box-shadow: 0 8px 18px rgba(99, 102, 241, .28);
}
.jbdsc-copy:hover {
	transform: translateY(-2px) scale(1.04);
	box-shadow: 0 14px 24px rgba(99, 102, 241, .38);
}
.jbdsc-copy.is-copied { background: #059669; }
.jbdsc-apply {
	background: linear-gradient(135deg, #2563eb, #7c3aed);
	color: #fff;
	box-shadow: 0 4px 14px rgba(37, 99, 235, .35);
	animation: jbdsc-pulse-btn 2.5s ease-in-out infinite;
}
.jbdsc-apply:hover { transform: scale(1.06); box-shadow: 0 6px 20px rgba(124, 58, 237, .45); }
.jbdsc-apply.is-applied { background: linear-gradient(135deg, #059669, #10b981); animation: none; }
.jbdsc-apply.is-error { background: #dc2626; animation: jbdsc-shake .4s ease; }
.jbdsc-apply.is-loading { opacity: .7; pointer-events: none; }

.jbdsc-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; align-items: center; }
.jbdsc-badge {
	background: linear-gradient(135deg, #fef3c7, #fde68a);
	color: #92400e;
	padding: 5px 11px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	animation: jbdsc-pulse-badge 2s ease-in-out infinite;
}
.jbdsc-expiry { color: #64748b; font-size: 11px; }
.jbdsc-desc {
	margin: 12px 0 0;
	color: #334155;
	font-size: 12px;
	line-height: 1.8;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.jbdsc-empty {
	color: #e2e8f0;
	background: rgba(15, 23, 42, .22);
	padding: 18px 20px;
	border-radius: 18px;
	border: 1px solid rgba(255,255,255,.1);
}

@media (max-width: 767px) {
	.jbdsc-wrap {
		padding: 18px;
		border-radius: 22px;
	}
	.jbdsc-header {
		display: block;
		margin-bottom: 18px;
	}
	.jbdsc-header h3 {
		font-size: 24px;
	}
}

@keyframes jbdsc-rotate { to { transform: rotate(360deg); } }
@keyframes jbdsc-bounce {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-6px) rotate(8deg); }
}
@keyframes jbdsc-gradient {
	0%, 100% { background-position: 0% 50%; }
	50% { background-position: 100% 50%; }
}
@keyframes jbdsc-slide-up {
	from { opacity: 0; transform: translateY(20px) scale(.95); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes jbdsc-float-in {
	from {
		opacity: 0;
		transform: translateY(28px) scale(.92) rotateX(10deg);
		filter: blur(8px);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1) rotateX(0deg);
		filter: blur(0);
	}
}
@keyframes jbdsc-pulse-btn {
	0%, 100% { box-shadow: 0 4px 14px rgba(37, 99, 235, .35); }
	50% { box-shadow: 0 4px 22px rgba(124, 58, 237, .55); }
}
@keyframes jbdsc-pulse-badge {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.05); }
}
@keyframes jbdsc-shake {
	0%, 100% { transform: translateX(0); }
	25% { transform: translateX(-4px); }
	75% { transform: translateX(4px); }
}
