/**
 * BDShield Cart, Checkout & Confirmation Styles
 *
 * Deploy to: /home/bestyhab/getbdshield.com/wp-content/themes/bdshield-theme/assets/css/cart-checkout.css
 *
 * Prefix: bd-cc-
 */

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
	--bd-cc-ivory: #F7F5F0;
	--bd-cc-charcoal: #1A1A1A;
	--bd-cc-warm-black: #0D0D0D;
	--bd-cc-gold: #C9A96E;
	--bd-cc-gold-light: #DFC598;
	--bd-cc-gold-dim: rgba(201, 169, 110, 0.12);
	--bd-cc-sand: #E8E2D8;
	--bd-cc-stone: #9B9488;
	--bd-cc-cream: #FDFCFA;
	--bd-cc-soft-border: rgba(26, 26, 26, 0.08);
	--bd-cc-green: #2E8B57;
	--bd-cc-green-dim: rgba(46, 139, 87, 0.08);
	--bd-cc-blue: #3B82F6;
	--bd-cc-blue-dim: rgba(59, 130, 246, 0.08);
	--bd-cc-red: #DC2626;
	--bd-cc-red-dim: rgba(220, 38, 38, 0.08);
	--bd-cc-card-shadow: 0 2px 40px rgba(0, 0, 0, 0.04);
	--bd-cc-card-hover-shadow: 0 12px 60px rgba(0, 0, 0, 0.08);
	--bd-cc-radius: 16px;
	--bd-cc-radius-sm: 10px;
	--bd-cc-radius-pill: 100px;
	--bd-cc-font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--bd-cc-font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--bd-cc-font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
	--bd-cc-transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	--bd-cc-transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Animations
   ========================================================================== */

@keyframes bd-cc-fadeUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bd-cc-fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@keyframes bd-cc-slideDown {
	from {
		opacity: 0;
		max-height: 0;
		padding-top: 0;
		padding-bottom: 0;
	}
	to {
		opacity: 1;
		max-height: 200px;
		padding-top: 16px;
		padding-bottom: 0;
	}
}

@keyframes bd-cc-checkmark-circle {
	0% {
		stroke-dashoffset: 151;
	}
	100% {
		stroke-dashoffset: 0;
	}
}

@keyframes bd-cc-checkmark-check {
	0% {
		stroke-dashoffset: 36;
	}
	100% {
		stroke-dashoffset: 0;
	}
}

@keyframes bd-cc-shimmer {
	0% {
		background-position: -200% 0;
	}
	100% {
		background-position: 200% 0;
	}
}

@keyframes bd-cc-confettiDrop {
	0% {
		opacity: 1;
		transform: translateY(0) rotate(0deg);
	}
	100% {
		opacity: 0;
		transform: translateY(100vh) rotate(720deg);
	}
}

@keyframes bd-cc-pulse {
	0%, 100% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
}

.bd-cc-animate-up {
	animation: bd-cc-fadeUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) both;
}

/* ==========================================================================
   Base Wrapper
   ========================================================================== */

.bd-cc-wrapper {
	background: var(--bd-cc-ivory);
	min-height: calc(100vh - 72px);
	padding: 0 0 80px 0;
	font-family: var(--bd-cc-font-body);
	color: var(--bd-cc-charcoal);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.bd-cc-wrapper *,
.bd-cc-wrapper *::before,
.bd-cc-wrapper *::after {
	box-sizing: border-box;
}

/* ==========================================================================
   Progress Steps Bar
   ========================================================================== */

.bd-cc-progress {
	background: #fff;
	border-bottom: 1px solid var(--bd-cc-soft-border);
	padding: 20px 0;
	margin-bottom: 40px;
	position: sticky;
	top: 72px;
	z-index: 90;
}

.bd-cc-progress-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	max-width: 480px;
	margin: 0 auto;
	padding: 0 20px;
}

.bd-cc-step {
	display: flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
}

.bd-cc-step-circle {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--bd-cc-font-body);
	font-size: 13px;
	font-weight: 600;
	transition: all var(--bd-cc-transition);
	flex-shrink: 0;
}

.bd-cc-step-label {
	font-size: 14px;
	font-weight: 500;
	transition: all var(--bd-cc-transition);
}

/* Step States */
.bd-cc-step--active .bd-cc-step-circle {
	background: var(--bd-cc-charcoal);
	color: #fff;
}

.bd-cc-step--active .bd-cc-step-label {
	color: var(--bd-cc-charcoal);
	font-weight: 600;
}

.bd-cc-step--done .bd-cc-step-circle {
	background: var(--bd-cc-green);
	color: #fff;
}

.bd-cc-step--done .bd-cc-step-label {
	color: var(--bd-cc-green);
	font-weight: 500;
}

.bd-cc-step--dimmed .bd-cc-step-circle {
	background: var(--bd-cc-sand);
	color: var(--bd-cc-stone);
	opacity: 0.5;
}

.bd-cc-step--dimmed .bd-cc-step-label {
	color: var(--bd-cc-stone);
	opacity: 0.5;
}

/* Connectors */
.bd-cc-step-connector {
	width: 80px;
	height: 2px;
	background: var(--bd-cc-sand);
	margin: 0 16px;
	border-radius: 1px;
	transition: background var(--bd-cc-transition);
	flex-shrink: 0;
}

.bd-cc-step-connector--done {
	background: var(--bd-cc-green);
}

/* ==========================================================================
   Grid Layout
   ========================================================================== */

.bd-cc-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 32px;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
	align-items: start;
}

.bd-cc-main {
	min-width: 0;
}

.bd-cc-sidebar {
	position: sticky;
	top: 128px;
}

/* ==========================================================================
   Panel Base
   ========================================================================== */

.bd-cc-panel {
	background: #fff;
	border-radius: var(--bd-cc-radius);
	box-shadow: var(--bd-cc-card-shadow);
	padding: 32px;
	border: 1px solid var(--bd-cc-soft-border);
}

.bd-cc-panel-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--bd-cc-soft-border);
}

.bd-cc-panel-title-group {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bd-cc-panel-title {
	font-family: var(--bd-cc-font-heading);
	font-size: 24px;
	font-weight: 700;
	color: var(--bd-cc-charcoal);
	margin: 0;
	line-height: 1.2;
}

.bd-cc-item-count-badge {
	background: var(--bd-cc-gold-dim);
	color: var(--bd-cc-gold);
	font-size: 12px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: var(--bd-cc-radius-pill);
	letter-spacing: 0.02em;
}

.bd-cc-clear-all {
	color: var(--bd-cc-stone);
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: color var(--bd-cc-transition);
	cursor: pointer;
}

.bd-cc-clear-all:hover {
	color: var(--bd-cc-red);
}

/* ==========================================================================
   Cart Items
   ========================================================================== */

.bd-cc-cart-items {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.bd-cc-cart-item {
	display: flex;
	gap: 20px;
	padding: 24px 0;
	border-bottom: 1px solid var(--bd-cc-soft-border);
	transition: background var(--bd-cc-transition);
}

.bd-cc-cart-item:last-child {
	border-bottom: none;
}

.bd-cc-cart-item-thumb {
	flex-shrink: 0;
	width: 72px;
	height: 58px;
	border-radius: var(--bd-cc-radius-sm);
	overflow: hidden;
	background: var(--bd-cc-ivory);
	border: 1px solid var(--bd-cc-soft-border);
}

.bd-cc-cart-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bd-cc-cart-item-thumb a {
	display: block;
	width: 100%;
	height: 100%;
}

.bd-cc-cart-item-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.bd-cc-cart-item-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
}

.bd-cc-cart-item-details {
	flex: 1;
	min-width: 0;
}

.bd-cc-cart-item-name {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 6px 0;
	line-height: 1.3;
	color: var(--bd-cc-charcoal);
}

.bd-cc-cart-item-name a {
	color: inherit;
	text-decoration: none;
	transition: color var(--bd-cc-transition);
}

.bd-cc-cart-item-name a:hover {
	color: var(--bd-cc-gold);
}

.bd-cc-cart-item-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.bd-cc-meta-type {
	font-size: 12px;
	color: var(--bd-cc-stone);
	font-weight: 500;
}

.bd-cc-meta-license {
	font-size: 11px;
	font-weight: 600;
	color: var(--bd-cc-gold);
	background: var(--bd-cc-gold-dim);
	padding: 2px 8px;
	border-radius: var(--bd-cc-radius-pill);
	letter-spacing: 0.02em;
}

.bd-cc-cart-item-price-col {
	flex-shrink: 0;
	text-align: right;
}

.bd-cc-cart-item-price {
	font-family: var(--bd-cc-font-heading);
	font-size: 20px;
	font-weight: 700;
	color: var(--bd-cc-charcoal);
	white-space: nowrap;
}

.bd-cc-cart-item-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.bd-cc-cart-item-qty {
	display: flex;
	align-items: center;
	gap: 8px;
}

.bd-cc-qty-label {
	font-size: 13px;
	color: var(--bd-cc-stone);
	font-weight: 500;
}

/* WooCommerce quantity input styling */
.bd-cc-cart-item-qty .quantity {
	display: flex;
	align-items: center;
}

.bd-cc-cart-item-qty .quantity input[type="number"] {
	width: 56px;
	height: 34px;
	border: 1px solid var(--bd-cc-soft-border);
	border-radius: 8px;
	text-align: center;
	font-family: var(--bd-cc-font-body);
	font-size: 14px;
	font-weight: 600;
	color: var(--bd-cc-charcoal);
	background: var(--bd-cc-cream);
	-moz-appearance: textfield;
	transition: border-color var(--bd-cc-transition);
	outline: none;
	padding: 0;
}

.bd-cc-cart-item-qty .quantity input[type="number"]:focus {
	border-color: var(--bd-cc-gold);
	box-shadow: 0 0 0 3px var(--bd-cc-gold-dim);
}

.bd-cc-cart-item-qty .quantity input[type="number"]::-webkit-outer-spin-button,
.bd-cc-cart-item-qty .quantity input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.bd-cc-cart-item-remove {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--bd-cc-stone);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	transition: color var(--bd-cc-transition);
	cursor: pointer;
}

.bd-cc-cart-item-remove:hover {
	color: var(--bd-cc-red);
}

.bd-cc-cart-item-remove svg {
	transition: transform var(--bd-cc-transition);
}

.bd-cc-cart-item-remove:hover svg {
	transform: scale(1.15);
}

/* ==========================================================================
   Coupon Section
   ========================================================================== */

.bd-cc-coupon-section {
	margin-top: 24px;
	padding-top: 24px;
	border-top: 1px solid var(--bd-cc-soft-border);
}

.bd-cc-coupon-toggle {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--bd-cc-stone);
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: color var(--bd-cc-transition);
	user-select: none;
}

.bd-cc-coupon-toggle:hover {
	color: var(--bd-cc-charcoal);
}

.bd-cc-coupon-chevron {
	margin-left: auto;
	transition: transform var(--bd-cc-transition);
}

.bd-cc-coupon-toggle.bd-cc-coupon-toggle--open .bd-cc-coupon-chevron {
	transform: rotate(180deg);
}

.bd-cc-coupon-form {
	overflow: hidden;
	max-height: 0;
	opacity: 0;
	transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, padding 0.35s ease;
	padding-top: 0;
}

.bd-cc-coupon-form.bd-cc-coupon-form--open {
	max-height: 200px;
	opacity: 1;
	padding-top: 16px;
}

.bd-cc-coupon-input-group {
	display: flex;
	gap: 10px;
}

.bd-cc-coupon-input {
	flex: 1;
	height: 44px;
	border: 1px solid var(--bd-cc-soft-border);
	border-radius: var(--bd-cc-radius-sm);
	padding: 0 16px;
	font-family: var(--bd-cc-font-mono);
	font-size: 14px;
	color: var(--bd-cc-charcoal);
	background: var(--bd-cc-cream);
	outline: none;
	transition: border-color var(--bd-cc-transition), box-shadow var(--bd-cc-transition);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bd-cc-coupon-input::placeholder {
	color: var(--bd-cc-stone);
	text-transform: none;
	letter-spacing: normal;
	font-family: var(--bd-cc-font-body);
}

.bd-cc-coupon-input:focus {
	border-color: var(--bd-cc-gold);
	box-shadow: 0 0 0 3px var(--bd-cc-gold-dim);
}

.bd-cc-coupon-btn {
	height: 44px;
	padding: 0 24px;
	background: var(--bd-cc-charcoal);
	color: #fff;
	border: none;
	border-radius: var(--bd-cc-radius-sm);
	font-family: var(--bd-cc-font-body);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--bd-cc-transition), transform var(--bd-cc-transition);
	white-space: nowrap;
}

.bd-cc-coupon-btn:hover {
	background: var(--bd-cc-gold);
	transform: translateY(-1px);
}

/* Applied Coupon */
.bd-cc-applied-coupon {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 12px;
	padding: 8px 14px;
	background: var(--bd-cc-green-dim);
	border-radius: 8px;
	font-size: 13px;
}

.bd-cc-applied-coupon-code {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--bd-cc-green);
	font-weight: 600;
	font-family: var(--bd-cc-font-mono);
	letter-spacing: 0.04em;
}

.bd-cc-remove-coupon {
	color: var(--bd-cc-stone);
	text-decoration: none;
	font-size: 12px;
	margin-left: auto;
	transition: color var(--bd-cc-transition);
}

.bd-cc-remove-coupon:hover {
	color: var(--bd-cc-red);
}

.bd-cc-applied-coupon--compact {
	margin-top: 0;
	padding: 6px 10px;
	font-size: 12px;
}

/* Update Cart Button */
.bd-cc-update-cart-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 20px;
	padding: 10px 20px;
	background: var(--bd-cc-ivory);
	color: var(--bd-cc-charcoal);
	border: 1px solid var(--bd-cc-soft-border);
	border-radius: var(--bd-cc-radius-sm);
	font-family: var(--bd-cc-font-body);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--bd-cc-transition);
}

.bd-cc-update-cart-btn:hover {
	background: var(--bd-cc-sand);
	border-color: var(--bd-cc-sand);
}

.bd-cc-update-cart-btn:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* ==========================================================================
   Order Summary Panel
   ========================================================================== */

.bd-cc-summary-panel {
	background: #fff;
	border-radius: var(--bd-cc-radius);
	box-shadow: var(--bd-cc-card-shadow);
	padding: 32px;
	border: 1px solid var(--bd-cc-soft-border);
}

.bd-cc-summary-title {
	font-family: var(--bd-cc-font-heading);
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 24px 0;
	color: var(--bd-cc-charcoal);
}

.bd-cc-summary-lines {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.bd-cc-summary-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.bd-cc-summary-line-label {
	font-size: 14px;
	color: var(--bd-cc-stone);
	font-weight: 500;
}

.bd-cc-summary-line-value {
	font-size: 14px;
	font-weight: 600;
	color: var(--bd-cc-charcoal);
}

.bd-cc-summary-line--discount .bd-cc-summary-line-label,
.bd-cc-summary-line--discount .bd-cc-summary-line-value {
	color: var(--bd-cc-green);
}

.bd-cc-summary-divider {
	height: 1px;
	background: var(--bd-cc-soft-border);
	margin: 20px 0;
}

.bd-cc-summary-total {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
}

.bd-cc-summary-total-label {
	font-size: 16px;
	font-weight: 600;
	color: var(--bd-cc-charcoal);
}

.bd-cc-summary-total-value {
	font-family: var(--bd-cc-font-heading);
	font-size: 32px;
	font-weight: 700;
	color: var(--bd-cc-charcoal);
	line-height: 1;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.bd-cc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var(--bd-cc-font-body);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	border: none;
	cursor: pointer;
	transition: all var(--bd-cc-transition);
	letter-spacing: 0.01em;
}

.bd-cc-btn--primary {
	background: var(--bd-cc-charcoal);
	color: #fff;
	padding: 16px 32px;
	border-radius: var(--bd-cc-radius-pill);
}

.bd-cc-btn--primary:hover {
	background: var(--bd-cc-gold);
	color: #fff;
	box-shadow: 0 8px 32px rgba(201, 169, 110, 0.3);
	transform: translateY(-2px);
}

.bd-cc-btn--secondary {
	background: transparent;
	color: var(--bd-cc-charcoal);
	padding: 16px 32px;
	border-radius: var(--bd-cc-radius-pill);
	border: 1.5px solid var(--bd-cc-soft-border);
}

.bd-cc-btn--secondary:hover {
	border-color: var(--bd-cc-charcoal);
	background: var(--bd-cc-ivory);
	transform: translateY(-1px);
}

.bd-cc-btn--full {
	width: 100%;
	margin-top: 24px;
}

/* ==========================================================================
   Trust Badges
   ========================================================================== */

.bd-cc-trust-badges {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid var(--bd-cc-soft-border);
}

.bd-cc-trust-badge {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--bd-cc-stone);
	font-weight: 500;
}

.bd-cc-trust-badge svg {
	flex-shrink: 0;
}

/* Payment Badges (Colored SVG Icons) */
.bd-cc-payment-badges {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 20px;
	flex-wrap: wrap;
}

.bd-cc-payment-icon {
	width: 48px;
	height: 30px;
	border-radius: 4px;
	flex-shrink: 0;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bd-cc-payment-icon:hover {
	transform: translateY(-1px);
	box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

/* Legacy text badge fallback */
.bd-cc-payment-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 10px;
	background: var(--bd-cc-ivory);
	border: 1px solid var(--bd-cc-soft-border);
	border-radius: 6px;
	font-size: 10px;
	font-weight: 700;
	color: var(--bd-cc-stone);
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* ==========================================================================
   Checkout: Summary Items (Compact)
   ========================================================================== */

.bd-cc-summary-items {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 20px;
}

.bd-cc-summary-item {
	display: flex;
	align-items: center;
	gap: 12px;
}

.bd-cc-summary-item-thumb {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--bd-cc-ivory);
	border: 1px solid var(--bd-cc-soft-border);
	flex-shrink: 0;
	position: relative;
}

.bd-cc-summary-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bd-cc-summary-item-qty {
	position: absolute;
	top: -5px;
	right: -5px;
	width: 18px;
	height: 18px;
	background: var(--bd-cc-charcoal);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
}

.bd-cc-summary-item-info {
	flex: 1;
	min-width: 0;
}

.bd-cc-summary-item-name {
	font-size: 13px;
	font-weight: 600;
	color: var(--bd-cc-charcoal);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.4;
}

.bd-cc-summary-item-price {
	font-family: var(--bd-cc-font-heading);
	font-size: 15px;
	font-weight: 700;
	color: var(--bd-cc-charcoal);
	white-space: nowrap;
	flex-shrink: 0;
}

.bd-cc-summary-coupons {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin-bottom: 16px;
}

/* ==========================================================================
   Checkout Form Sections
   ========================================================================== */

.bd-cc-checkout-form {
	width: 100%;
}

.bd-cc-checkout-sections {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.bd-cc-checkout-section {
	padding: 28px 0;
	border-bottom: 1px solid var(--bd-cc-soft-border);
}

.bd-cc-checkout-section:first-child {
	padding-top: 0;
}

.bd-cc-checkout-section:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.bd-cc-section-header {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 24px;
}

.bd-cc-section-number {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--bd-cc-charcoal);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
	flex-shrink: 0;
	margin-top: 2px;
}

.bd-cc-section-header-text {
	flex: 1;
}

.bd-cc-section-title {
	font-family: var(--bd-cc-font-heading);
	font-size: 20px;
	font-weight: 700;
	color: var(--bd-cc-charcoal);
	margin: 0 0 4px 0;
	line-height: 1.3;
}

.bd-cc-section-desc {
	font-size: 14px;
	color: var(--bd-cc-stone);
	margin: 0;
	font-weight: 400;
	line-height: 1.4;
}

.bd-cc-section-body {
	padding-left: 48px;
}

/* ==========================================================================
   WooCommerce Form Field Overrides
   ========================================================================== */

/* General WC form rows */
.bd-cc-panel .woocommerce-billing-fields__field-wrapper,
.bd-cc-panel .woocommerce-shipping-fields__field-wrapper,
.bd-cc-panel .woocommerce-additional-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.bd-cc-panel .form-row-wide {
	grid-column: 1 / -1;
}

.bd-cc-panel .form-row-first {
	grid-column: 1;
}

.bd-cc-panel .form-row-last {
	grid-column: 2;
}

.bd-cc-panel .form-row {
	margin: 0;
	padding: 0;
}

.bd-cc-panel .form-row label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	color: var(--bd-cc-charcoal);
	margin-bottom: 6px;
	letter-spacing: 0.01em;
}

.bd-cc-panel .form-row label .required {
	color: var(--bd-cc-red);
	margin-left: 2px;
}

.bd-cc-panel .form-row label .optional {
	color: var(--bd-cc-stone);
	font-weight: 400;
	font-size: 12px;
}

.bd-cc-panel .form-row input[type="text"],
.bd-cc-panel .form-row input[type="email"],
.bd-cc-panel .form-row input[type="tel"],
.bd-cc-panel .form-row input[type="number"],
.bd-cc-panel .form-row input[type="password"],
.bd-cc-panel .form-row input[type="url"],
.bd-cc-panel .form-row textarea,
.bd-cc-panel .form-row select,
.bd-cc-panel .form-row .select2-container .select2-selection--single {
	width: 100%;
	height: 48px;
	border: 1px solid var(--bd-cc-soft-border);
	border-radius: var(--bd-cc-radius-sm);
	padding: 0 16px;
	font-family: var(--bd-cc-font-body);
	font-size: 14px;
	color: var(--bd-cc-charcoal);
	background: var(--bd-cc-cream);
	outline: none;
	transition: border-color var(--bd-cc-transition), box-shadow var(--bd-cc-transition);
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.bd-cc-panel .form-row textarea {
	height: auto;
	min-height: 100px;
	padding: 14px 16px;
	resize: vertical;
}

.bd-cc-panel .form-row input:focus,
.bd-cc-panel .form-row textarea:focus,
.bd-cc-panel .form-row select:focus {
	border-color: var(--bd-cc-gold);
	box-shadow: 0 0 0 3px var(--bd-cc-gold-dim);
}

.bd-cc-panel .form-row input::placeholder,
.bd-cc-panel .form-row textarea::placeholder {
	color: var(--bd-cc-stone);
}

/* Select2 overrides for WC country/state selectors */
.bd-cc-panel .select2-container--default .select2-selection--single {
	height: 48px;
	border: 1px solid var(--bd-cc-soft-border);
	border-radius: var(--bd-cc-radius-sm);
	background: var(--bd-cc-cream);
}

.bd-cc-panel .select2-container--default .select2-selection--single .select2-selection__rendered {
	line-height: 48px;
	padding-left: 16px;
	color: var(--bd-cc-charcoal);
	font-family: var(--bd-cc-font-body);
	font-size: 14px;
}

.bd-cc-panel .select2-container--default .select2-selection--single .select2-selection__arrow {
	height: 48px;
	right: 12px;
}

.bd-cc-panel .select2-container--open .select2-selection--single {
	border-color: var(--bd-cc-gold);
	box-shadow: 0 0 0 3px var(--bd-cc-gold-dim);
}

/* WC validation states */
.bd-cc-panel .form-row.woocommerce-validated input {
	border-color: var(--bd-cc-green);
}

.bd-cc-panel .form-row.woocommerce-invalid input {
	border-color: var(--bd-cc-red);
	box-shadow: 0 0 0 3px var(--bd-cc-red-dim);
}

/* Checkbox styling */
.bd-cc-panel .form-row input[type="checkbox"] {
	width: 18px;
	height: 18px;
	border-radius: 4px;
	border: 1.5px solid var(--bd-cc-soft-border);
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	position: relative;
	vertical-align: middle;
	padding: 0;
	background: var(--bd-cc-cream);
	transition: all var(--bd-cc-transition);
}

.bd-cc-panel .form-row input[type="checkbox"]:checked {
	background: var(--bd-cc-charcoal);
	border-color: var(--bd-cc-charcoal);
}

.bd-cc-panel .form-row input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 2px;
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* WC notices */
.bd-cc-wrapper .woocommerce-error,
.bd-cc-wrapper .woocommerce-message,
.bd-cc-wrapper .woocommerce-info {
	max-width: 1120px;
	margin: 0 auto 20px;
	padding: 14px 20px;
	border-radius: var(--bd-cc-radius-sm);
	font-family: var(--bd-cc-font-body);
	font-size: 14px;
	font-weight: 500;
	border: none;
	list-style: none;
}

.bd-cc-wrapper .woocommerce-error {
	background: var(--bd-cc-red-dim);
	color: var(--bd-cc-red);
}

.bd-cc-wrapper .woocommerce-message {
	background: var(--bd-cc-green-dim);
	color: var(--bd-cc-green);
}

.bd-cc-wrapper .woocommerce-info {
	background: var(--bd-cc-blue-dim);
	color: var(--bd-cc-blue);
}

.bd-cc-wrapper .woocommerce-error::before,
.bd-cc-wrapper .woocommerce-message::before,
.bd-cc-wrapper .woocommerce-info::before {
	display: none;
}

/* ==========================================================================
   Payment Section (WC Order Review)
   ========================================================================== */

.bd-cc-payment-section .shop_table {
	display: none;
}

.bd-cc-payment-section #payment {
	background: transparent;
	border-radius: 0;
	padding: 0;
}

.bd-cc-payment-section #payment .payment_methods {
	list-style: none;
	padding: 0;
	margin: 0;
	border: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.bd-cc-payment-section #payment .payment_methods li {
	background: var(--bd-cc-cream);
	border: 1.5px solid var(--bd-cc-soft-border);
	border-radius: var(--bd-cc-radius-sm);
	padding: 0;
	transition: all var(--bd-cc-transition);
	overflow: hidden;
}

.bd-cc-payment-section #payment .payment_methods li:hover {
	border-color: var(--bd-cc-sand);
}

.bd-cc-payment-section #payment .payment_methods li.bd-cc-payment-active,
.bd-cc-payment-section #payment .payment_methods li input[type="radio"]:checked ~ * {
	border-color: var(--bd-cc-charcoal);
}

.bd-cc-payment-section #payment .payment_methods li label {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 18px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 600;
	color: var(--bd-cc-charcoal);
	margin: 0;
}

.bd-cc-payment-section #payment .payment_methods li label img {
	max-height: 24px;
	width: auto;
}

.bd-cc-payment-section #payment .payment_methods li input[type="radio"] {
	width: 18px;
	height: 18px;
	border: 2px solid var(--bd-cc-sand);
	border-radius: 50%;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	position: relative;
	flex-shrink: 0;
	background: #fff;
	transition: all var(--bd-cc-transition);
}

.bd-cc-payment-section #payment .payment_methods li input[type="radio"]:checked {
	border-color: var(--bd-cc-charcoal);
	background: var(--bd-cc-charcoal);
	box-shadow: inset 0 0 0 3px #fff;
}

.bd-cc-payment-section #payment .payment_methods li .payment_box {
	padding: 0 18px 18px 48px;
	font-size: 13px;
	color: var(--bd-cc-stone);
	line-height: 1.6;
	background: transparent;
}

.bd-cc-payment-section #payment .payment_methods li .payment_box::before {
	display: none;
}

/* Payment box internal fields (e.g. Stripe card element) */
.bd-cc-payment-section #payment .payment_methods li .payment_box fieldset {
	border: none;
	padding: 0;
	margin: 0;
}

.bd-cc-payment-section #payment .payment_methods li .payment_box .form-row {
	margin-bottom: 12px;
}

.bd-cc-payment-section #payment .payment_methods li .payment_box input[type="text"],
.bd-cc-payment-section #payment .payment_methods li .payment_box input[type="number"] {
	height: 44px;
	font-family: var(--bd-cc-font-mono);
}

/* Place Order Button */
.bd-cc-payment-section #payment .place-order {
	padding: 24px 0 0 0;
	margin: 0;
}

.bd-cc-payment-section #payment #place_order,
.woocommerce-checkout #place_order {
	width: 100%;
	height: 56px;
	background: var(--bd-cc-charcoal);
	color: #fff;
	border: none;
	border-radius: var(--bd-cc-radius-pill);
	font-family: var(--bd-cc-font-body);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: all var(--bd-cc-transition);
	letter-spacing: 0.01em;
}

.bd-cc-payment-section #payment #place_order:hover,
.woocommerce-checkout #place_order:hover {
	background: var(--bd-cc-gold);
	box-shadow: 0 8px 32px rgba(201, 169, 110, 0.3);
	transform: translateY(-2px);
}

/* Terms and conditions text */
.bd-cc-payment-section .woocommerce-terms-and-conditions-wrapper {
	margin-top: 12px;
	font-size: 12px;
	color: var(--bd-cc-stone);
	text-align: center;
	line-height: 1.6;
}

.bd-cc-payment-section .woocommerce-terms-and-conditions-wrapper a {
	color: var(--bd-cc-charcoal);
	text-decoration: underline;
}

/* Privacy policy text */
.bd-cc-payment-section .woocommerce-privacy-policy-text {
	font-size: 12px;
	color: var(--bd-cc-stone);
	margin-top: 8px;
	text-align: center;
}

.bd-cc-payment-section .woocommerce-privacy-policy-text a {
	color: var(--bd-cc-charcoal);
}

/* ==========================================================================
   Confirmation Page
   ========================================================================== */

.bd-cc-wrapper--thankyou .bd-cc-confirmation {
	max-width: 640px;
	margin: 0 auto;
	padding: 0 24px;
	text-align: center;
}

/* Checkmark Icon */
.bd-cc-confirm-icon {
	width: 88px;
	height: 88px;
	border-radius: 50%;
	background: var(--bd-cc-green-dim);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 28px;
}

.bd-cc-confirm-icon--failed {
	background: var(--bd-cc-red-dim);
}

/* Animated checkmark SVG */
.bd-cc-checkmark-svg {
	overflow: visible;
}

.bd-cc-checkmark-circle {
	stroke-dasharray: 151;
	stroke-dashoffset: 151;
	animation: bd-cc-checkmark-circle 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.2s forwards;
}

.bd-cc-checkmark-check {
	stroke-dasharray: 36;
	stroke-dashoffset: 36;
	animation: bd-cc-checkmark-check 0.35s cubic-bezier(0.65, 0, 0.45, 1) 0.7s forwards;
}

.bd-cc-confirm-title {
	font-family: var(--bd-cc-font-heading);
	font-size: 36px;
	font-weight: 700;
	color: var(--bd-cc-charcoal);
	margin: 0 0 12px;
	line-height: 1.2;
}

.bd-cc-confirm-subtitle {
	font-size: 15px;
	color: var(--bd-cc-stone);
	margin: 0 0 36px;
	line-height: 1.7;
}

.bd-cc-confirm-subtitle strong {
	color: var(--bd-cc-charcoal);
	font-weight: 600;
}

/* Order Card */
.bd-cc-order-card {
	background: #fff;
	border-radius: var(--bd-cc-radius);
	box-shadow: var(--bd-cc-card-shadow);
	border: 1px solid var(--bd-cc-soft-border);
	padding: 28px;
	text-align: left;
	margin-bottom: 32px;
}

.bd-cc-order-meta {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
}

.bd-cc-order-meta-item {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.bd-cc-order-meta-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--bd-cc-stone);
	font-weight: 600;
}

.bd-cc-order-meta-value {
	font-size: 14px;
	font-weight: 700;
	color: var(--bd-cc-charcoal);
	font-family: var(--bd-cc-font-mono);
}

/* Order Items */
.bd-cc-order-items {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.bd-cc-order-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 16px 0;
	border-bottom: 1px solid var(--bd-cc-soft-border);
}

.bd-cc-order-item:last-child {
	border-bottom: none;
}

.bd-cc-order-item-info {
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1;
	min-width: 0;
}

.bd-cc-order-item-thumb {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--bd-cc-ivory);
	border: 1px solid var(--bd-cc-soft-border);
	flex-shrink: 0;
}

.bd-cc-order-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.bd-cc-order-item-details {
	flex: 1;
	min-width: 0;
}

.bd-cc-order-item-name {
	font-size: 14px;
	font-weight: 600;
	color: var(--bd-cc-charcoal);
	display: block;
	line-height: 1.4;
}

.bd-cc-order-item-name a {
	color: inherit;
	text-decoration: none;
	transition: color var(--bd-cc-transition);
}

.bd-cc-order-item-name a:hover {
	color: var(--bd-cc-gold);
}

.bd-cc-order-item-qty-badge {
	font-size: 12px;
	color: var(--bd-cc-stone);
	font-weight: 500;
	margin-left: 4px;
}

.bd-cc-order-item-meta {
	font-size: 12px;
	color: var(--bd-cc-stone);
	display: block;
	margin-top: 2px;
}

.bd-cc-order-item-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 8px;
	flex-shrink: 0;
}

.bd-cc-order-item-price {
	font-family: var(--bd-cc-font-heading);
	font-size: 16px;
	font-weight: 700;
	color: var(--bd-cc-charcoal);
	white-space: nowrap;
}

/* Download Button */
.bd-cc-download-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	background: var(--bd-cc-green-dim);
	color: var(--bd-cc-green);
	border-radius: var(--bd-cc-radius-pill);
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	transition: all var(--bd-cc-transition);
	white-space: nowrap;
}

.bd-cc-download-btn:hover {
	background: var(--bd-cc-green);
	color: #fff;
	transform: translateY(-1px);
}

/* Order Totals */
.bd-cc-order-totals {
	padding-top: 4px;
}

.bd-cc-order-totals .bd-cc-summary-line {
	margin-bottom: 10px;
}

.bd-cc-order-totals .bd-cc-summary-divider {
	margin: 16px 0;
}

.bd-cc-order-totals .bd-cc-summary-total-value {
	font-size: 28px;
}

/* Confirm Actions */
.bd-cc-confirm-actions {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 40px;
}

/* Support Banner */
.bd-cc-support-banner {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fff;
	border: 1px solid var(--bd-cc-soft-border);
	border-radius: var(--bd-cc-radius);
	padding: 20px 24px;
	text-align: left;
	box-shadow: var(--bd-cc-card-shadow);
}

.bd-cc-support-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	background: var(--bd-cc-gold-dim);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.bd-cc-support-text {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bd-cc-support-text strong {
	font-size: 14px;
	font-weight: 700;
	color: var(--bd-cc-charcoal);
}

.bd-cc-support-text span {
	font-size: 13px;
	color: var(--bd-cc-stone);
}

.bd-cc-support-link {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	background: var(--bd-cc-ivory);
	border: 1px solid var(--bd-cc-soft-border);
	border-radius: var(--bd-cc-radius-pill);
	font-size: 13px;
	font-weight: 600;
	color: var(--bd-cc-charcoal);
	text-decoration: none;
	transition: all var(--bd-cc-transition);
	white-space: nowrap;
	flex-shrink: 0;
}

.bd-cc-support-link:hover {
	background: var(--bd-cc-charcoal);
	color: #fff;
	border-color: var(--bd-cc-charcoal);
}

/* ==========================================================================
   Confetti Canvas
   ========================================================================== */

.bd-cc-confetti-canvas {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
	z-index: 9999;
}

/* ==========================================================================
   WC Cart Collaterals Override (hide default cross-sells etc.)
   ========================================================================== */

.bd-cc-wrapper .cart-collaterals .cross-sells {
	display: none;
}

.bd-cc-wrapper .cart-collaterals .cart_totals {
	display: none;
}

/* Hide WC's default shipping calculator in our sidebar */
.bd-cc-summary-panel .woocommerce-shipping-calculator {
	margin-top: 8px;
}

/* ==========================================================================
   WC Login / Create Account form in checkout
   ========================================================================== */

.bd-cc-wrapper .woocommerce-form-login-toggle,
.bd-cc-wrapper .woocommerce-form-coupon-toggle {
	max-width: 1120px;
	margin: 0 auto 16px;
	padding: 0 24px;
}

.bd-cc-wrapper .woocommerce-form-login-toggle .woocommerce-info,
.bd-cc-wrapper .woocommerce-form-coupon-toggle .woocommerce-info {
	margin: 0;
}

.bd-cc-wrapper .checkout_coupon,
.bd-cc-wrapper .woocommerce-form-login {
	max-width: 1120px;
	margin: 0 auto 20px;
	padding: 24px;
	background: #fff;
	border: 1px solid var(--bd-cc-soft-border);
	border-radius: var(--bd-cc-radius);
	box-shadow: var(--bd-cc-card-shadow);
}

.bd-cc-wrapper .checkout_coupon p,
.bd-cc-wrapper .woocommerce-form-login p {
	margin: 0 0 12px;
	font-size: 14px;
	color: var(--bd-cc-stone);
}

.bd-cc-wrapper .checkout_coupon .input-text,
.bd-cc-wrapper .woocommerce-form-login .input-text {
	height: 48px;
	border: 1px solid var(--bd-cc-soft-border);
	border-radius: var(--bd-cc-radius-sm);
	padding: 0 16px;
	font-family: var(--bd-cc-font-body);
	font-size: 14px;
	color: var(--bd-cc-charcoal);
	background: var(--bd-cc-cream);
	outline: none;
}

.bd-cc-wrapper .checkout_coupon .button,
.bd-cc-wrapper .woocommerce-form-login .button {
	height: 48px;
	padding: 0 24px;
	background: var(--bd-cc-charcoal);
	color: #fff;
	border: none;
	border-radius: var(--bd-cc-radius-sm);
	font-family: var(--bd-cc-font-body);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background var(--bd-cc-transition);
}

.bd-cc-wrapper .checkout_coupon .button:hover,
.bd-cc-wrapper .woocommerce-form-login .button:hover {
	background: var(--bd-cc-gold);
}

/* ==========================================================================
   WC "Returning customer?" and "Have a coupon?" inline login/coupon
   ========================================================================== */

.bd-cc-wrapper .woocommerce-form-login-toggle + .woocommerce-form-login,
.bd-cc-wrapper .woocommerce-form-coupon-toggle + .checkout_coupon {
	padding-left: 24px;
	padding-right: 24px;
}

/* ==========================================================================
   Create account fields in checkout
   ========================================================================== */

.bd-cc-panel .woocommerce-account-fields {
	margin-top: 16px;
}

.bd-cc-panel .create-account {
	padding: 16px;
	background: var(--bd-cc-ivory);
	border-radius: var(--bd-cc-radius-sm);
	margin-top: 12px;
}

.bd-cc-panel .create-account p {
	font-size: 13px;
	color: var(--bd-cc-stone);
	margin: 0 0 12px;
}

/* ==========================================================================
   Checkout Summary Panel (sticky on right)
   ========================================================================== */

.bd-cc-summary-panel--checkout {
	/* Ensures it's sticky alongside checkout form */
}

/* ==========================================================================
   WooCommerce Default Element Resets
   ========================================================================== */

.bd-cc-wrapper .woocommerce-cart-form__cart-item {
	display: none;
}

.bd-cc-wrapper .shop_table {
	border: none;
}

/* Hide default WC buttons that we've replaced */
.bd-cc-wrapper .wc-proceed-to-checkout .checkout-button {
	display: none;
}

/* WC order details on thank you (hide default, we have custom) */
.bd-cc-wrapper .woocommerce-order-details,
.bd-cc-wrapper .woocommerce-customer-details {
	max-width: 640px;
	margin: 24px auto;
	padding: 0 24px;
}

.bd-cc-wrapper .woocommerce-order-details .shop_table {
	width: 100%;
	border-collapse: collapse;
	font-family: var(--bd-cc-font-body);
	font-size: 14px;
}

.bd-cc-wrapper .woocommerce-order-details .shop_table th,
.bd-cc-wrapper .woocommerce-order-details .shop_table td {
	padding: 12px 0;
	border-bottom: 1px solid var(--bd-cc-soft-border);
	text-align: left;
}

.bd-cc-wrapper .woocommerce-order-details .shop_table th {
	font-weight: 600;
	color: var(--bd-cc-charcoal);
}

.bd-cc-wrapper .woocommerce-order-details .shop_table td {
	color: var(--bd-cc-stone);
}

.bd-cc-wrapper .woocommerce-customer-details address {
	font-family: var(--bd-cc-font-body);
	font-size: 14px;
	color: var(--bd-cc-stone);
	line-height: 1.7;
	padding: 16px;
	background: #fff;
	border-radius: var(--bd-cc-radius-sm);
	border: 1px solid var(--bd-cc-soft-border);
}

/* ==========================================================================
   Responsive: 1024px (Tablet)
   ========================================================================== */

@media (max-width: 1024px) {
	.bd-cc-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.bd-cc-sidebar {
		position: static;
	}

	.bd-cc-progress {
		position: static;
		margin-bottom: 24px;
	}

	.bd-cc-step-connector {
		width: 48px;
		margin: 0 10px;
	}

	.bd-cc-wrapper {
		padding-bottom: 60px;
	}

	.bd-cc-confirm-title {
		font-size: 30px;
	}

	.bd-cc-summary-total-value {
		font-size: 28px;
	}
}

/* ==========================================================================
   Responsive: 768px (Mobile)
   ========================================================================== */

@media (max-width: 768px) {
	.bd-cc-wrapper {
		padding-bottom: 40px;
	}

	.bd-cc-grid {
		padding: 0 16px;
		gap: 20px;
	}

	.bd-cc-panel {
		padding: 20px;
		border-radius: 12px;
	}

	.bd-cc-panel-title {
		font-size: 20px;
	}

	.bd-cc-summary-panel {
		padding: 20px;
		border-radius: 12px;
	}

	.bd-cc-progress-inner {
		padding: 0 12px;
	}

	.bd-cc-step-connector {
		width: 32px;
		margin: 0 6px;
	}

	.bd-cc-step-label {
		font-size: 12px;
	}

	.bd-cc-step-circle {
		width: 28px;
		height: 28px;
		font-size: 12px;
	}

	.bd-cc-step {
		gap: 6px;
	}

	/* Cart items stacked */
	.bd-cc-cart-item {
		flex-direction: column;
		gap: 12px;
		padding: 20px 0;
	}

	.bd-cc-cart-item-thumb {
		width: 100%;
		height: 120px;
		border-radius: 8px;
	}

	.bd-cc-cart-item-top {
		flex-direction: column;
		gap: 8px;
	}

	.bd-cc-cart-item-price-col {
		text-align: left;
	}

	.bd-cc-cart-item-price {
		font-size: 18px;
	}

	/* Checkout section body no left padding on mobile */
	.bd-cc-section-body {
		padding-left: 0;
	}

	.bd-cc-section-header {
		gap: 12px;
	}

	.bd-cc-section-number {
		width: 28px;
		height: 28px;
		font-size: 12px;
	}

	.bd-cc-section-title {
		font-size: 17px;
	}

	/* Form fields single column on mobile */
	.bd-cc-panel .woocommerce-billing-fields__field-wrapper,
	.bd-cc-panel .woocommerce-shipping-fields__field-wrapper,
	.bd-cc-panel .woocommerce-additional-fields__field-wrapper {
		grid-template-columns: 1fr;
	}

	.bd-cc-panel .form-row-first,
	.bd-cc-panel .form-row-last {
		grid-column: 1;
	}

	/* Confirmation */
	.bd-cc-confirm-title {
		font-size: 26px;
	}

	.bd-cc-confirm-icon {
		width: 72px;
		height: 72px;
		margin-bottom: 20px;
	}

	.bd-cc-checkmark-svg {
		width: 40px;
		height: 40px;
	}

	.bd-cc-order-card {
		padding: 20px;
	}

	.bd-cc-order-meta {
		gap: 16px;
	}

	.bd-cc-confirm-actions {
		flex-direction: column;
		align-items: stretch;
	}

	.bd-cc-confirm-actions .bd-cc-btn {
		width: 100%;
	}

	.bd-cc-support-banner {
		flex-direction: column;
		text-align: center;
		gap: 12px;
		padding: 20px;
	}

	.bd-cc-support-link {
		width: 100%;
		justify-content: center;
	}

	/* Summary total */
	.bd-cc-summary-total-value {
		font-size: 24px;
	}

	.bd-cc-order-totals .bd-cc-summary-total-value {
		font-size: 22px;
	}

	/* Order items stacked on very small screens */
	.bd-cc-order-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.bd-cc-order-item-right {
		align-items: flex-start;
		flex-direction: row;
		gap: 12px;
		width: 100%;
		justify-content: space-between;
	}
}

/* ==========================================================================
   Responsive: 480px (Small Mobile)
   ========================================================================== */

@media (max-width: 480px) {
	.bd-cc-grid {
		padding: 0 12px;
	}

	.bd-cc-panel {
		padding: 16px;
	}

	.bd-cc-summary-panel {
		padding: 16px;
	}

	.bd-cc-step-label {
		display: none;
	}

	.bd-cc-step-connector {
		width: 40px;
	}

	.bd-cc-coupon-input-group {
		flex-direction: column;
	}

	.bd-cc-coupon-btn {
		width: 100%;
	}

	.bd-cc-payment-badges {
		justify-content: center;
	}
}


/* ==========================================================================
   Aggressive WC Default Element Hiding
   ========================================================================== */

/* Hide default WC cart collaterals completely */
.bd-cc-sidebar .cart-collaterals {
	display: none !important;
}

.woocommerce-cart .cart-collaterals {
	display: none !important;
}

.woocommerce-cart .wc-proceed-to-checkout {
	display: none !important;
}

.woocommerce-cart .cart_totals {
	display: none !important;
}

/* Hide WC's cross-sells */
.woocommerce-cart .cross-sells {
	display: none !important;
}

/* Ensure our wrapper fills the page properly */
.woocommerce-cart .bd-cc-wrapper,
.woocommerce-checkout .bd-cc-wrapper {
	width: 100%;
}
/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
	.bd-cc-progress,
	.bd-cc-confetti-canvas,
	.bd-cc-trust-badges,
	.bd-cc-payment-badges,
	.bd-cc-support-banner,
	.bd-cc-confirm-actions {
		display: none !important;
	}

	.bd-cc-wrapper {
		background: #fff;
		padding: 0;
	}

	.bd-cc-panel,
	.bd-cc-summary-panel,
	.bd-cc-order-card {
		box-shadow: none;
		border: 1px solid #ddd;
	}
}

/* ==========================================================================
   Accessibility / Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.bd-cc-animate-up {
		animation: none;
		opacity: 1;
		transform: none;
	}

	.bd-cc-checkmark-circle,
	.bd-cc-checkmark-check {
		animation: none;
		stroke-dashoffset: 0;
	}

	.bd-cc-coupon-form {
		transition: none;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* ==========================================================================
   Loading / Shimmer States
   ========================================================================== */

.bd-cc-shimmer {
	background: linear-gradient(
		90deg,
		var(--bd-cc-ivory) 25%,
		var(--bd-cc-cream) 50%,
		var(--bd-cc-ivory) 75%
	);
	background-size: 200% 100%;
	animation: bd-cc-shimmer 1.5s ease-in-out infinite;
	border-radius: 4px;
}

/* ==========================================================================
   WooCommerce BlockUI overlay styling
   ========================================================================== */

.bd-cc-wrapper .blockUI.blockOverlay {
	background: rgba(255, 255, 255, 0.7) !important;
	opacity: 1 !important;
	border-radius: var(--bd-cc-radius);
}

.bd-cc-wrapper .loader,
.bd-cc-wrapper .blockUI.blockMsg {
	display: none !important;
}

/* Custom loading indicator */
.bd-cc-wrapper .processing .bd-cc-panel::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(
		90deg,
		var(--bd-cc-gold-dim),
		var(--bd-cc-gold),
		var(--bd-cc-gold-dim)
	);
	background-size: 200% 100%;
	animation: bd-cc-shimmer 1.2s ease-in-out infinite;
	border-radius: var(--bd-cc-radius) var(--bd-cc-radius) 0 0;
}
