/**
 * WooCommerce Custom Gift Engine - Frontend Styles
 * Premium, High-Converting & Eye-Catching Luxury Design
 * Author: Kodevio Limited
 */

:root {
	--wcge-primary: #059669;
	--wcge-primary-hover: #047857;
	--wcge-primary-light: #ecfdf5;
	--wcge-accent: #10b981;
	--wcge-dark: #0f172a;
	--wcge-dark-hover: #1e293b;
	--wcge-bg-track: #f1f5f9;
	--wcge-text-main: #0f172a;
	--wcge-text-muted: #64748b;
	--wcge-border: #f1f5f9;
	--wcge-border-card: #e2e8f0;
	--wcge-radius-sm: 6px;
	--wcge-radius-md: 10px;
	--wcge-radius-lg: 14px;
	--wcge-shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
	--wcge-shadow-card: 0 4px 14px -3px rgba(0, 0, 0, 0.08);
	--wcge-shadow-modal: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
}

/* Suppress redundant single-goal shipping bar in Rey, Ergocraft/VamTam and similar themes */
.vamtam-free-shipping-progress-bar,
.widget_shopping_cart .vamtam-free-shipping-progress-bar,
.elementor-menu-cart__main .vamtam-free-shipping-progress-bar,
.rey-cartShippingBar,
.rey-cartShippingNotice,
.rey-shipping-progress,
.rey-cartPanel-shippingNotice,
.rey-sideCart-shippingNotice,
.rey-cartPanel .rey-cartShippingBar,
.rey-sideCart .rey-cartShippingBar {
	display: none !important;
}

/* Sibling duplicate suppression */
.wcge-milestone-bar-container ~ .wcge-milestone-bar-container,
.wcge-milestone-bar-container + .wcge-milestone-bar-container,
.wcge-gift-card-trigger ~ .wcge-gift-card-trigger,
.wcge-gift-card-trigger + .wcge-gift-card-trigger {
	display: none !important;
}

/* Prevent duplicate milestone bar or trigger inside cart forms/tables on cart page */
.woocommerce-cart .woocommerce-cart-form .wcge-milestone-bar-container,
.woocommerce-cart .woocommerce-cart-formWrapper .wcge-milestone-bar-container,
.rey-cartPage-inner .wcge-milestone-bar-container,
.rey-cartPage .woocommerce-cart-form .wcge-milestone-bar-container,
.woocommerce-cart-form .wcge-milestone-bar-container {
	display: none !important;
}

/* Suppress checkout milestone notice completely on all checkout views */
.wcge-checkout-milestone-wrapper,
.woocommerce-checkout .wcge-checkout-milestone-wrapper,
.woocommerce-checkout-review-order .wcge-checkout-milestone-wrapper,
.wcge-checkout-notice {
	display: none !important;
}

/* Prevent milestone bars and gift selectors from rendering inside checkout tables and order review */
.woocommerce-checkout form.checkout .wcge-milestone-bar-container,
.woocommerce-checkout form.checkout .wcge-gift-card-trigger,
.woocommerce-checkout #order_review .wcge-milestone-bar-container,
.woocommerce-checkout #order_review .wcge-gift-card-trigger,
.woocommerce-checkout .woocommerce-checkout-review-order .wcge-milestone-bar-container,
.woocommerce-checkout .woocommerce-checkout-review-order .wcge-gift-card-trigger,
.woocommerce-checkout-review-order-table .wcge-milestone-bar-container,
.woocommerce-checkout-review-order-table .wcge-gift-card-trigger,
.woocommerce-table--order-review .wcge-milestone-bar-container,
.woocommerce-table--order-review .wcge-gift-card-trigger,
.product-name .wcge-milestone-bar-container,
.product-name .wcge-gift-card-trigger,
.woocommerce-mini-cart-item-title .wcge-milestone-bar-container,
.woocommerce-mini-cart-item-title .wcge-gift-card-trigger {
	display: none !important;
}

/* Ensure Rey theme recommendations & cross-sell buttons remain visible */
.rey-cartExtraProducts .button,
.rey-cartExtraProducts .add_to_cart_button,
.rey-crossSells-itemButtons .button,
.rey-crossSells-itemButtons .add_to_cart_button {
	display: inline-flex !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* ==========================================================================
   FREE Badge in Cart & Checkout Tables
   ========================================================================== */
.wcge-free-badge {
	display: inline-block;
	background: linear-gradient(135deg, var(--wcge-accent) 0%, var(--wcge-primary) 100%);
	color: #ffffff !important;
	font-weight: 800;
	font-size: 10px;
	letter-spacing: 0.5px;
	padding: 3px 8px;
	border-radius: 999px;
	text-transform: uppercase;
	line-height: 1.2;
	vertical-align: middle;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}
.wcge-locked-qty {
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}
.wcge-free-tag {
	display: inline-block;
	color: #059669;
	font-weight: 700;
	font-size: 11px;
	line-height: 1.2;
	padding: 2px 6px;
	border-radius: 4px;
	background: rgba(16, 185, 129, 0.1);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	vertical-align: middle;
}

/* ==========================================================================
   Milestone Progress Bar (Cart Drawer & Cart Page)
   ========================================================================== */
.wcge-milestone-bar-container {
	display: block !important;
	padding: 16px 20px 20px 20px;
	background: #ffffff;
	border-bottom: 1px solid var(--wcge-border);
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 auto !important;
	height: auto !important;
	container-type: inline-size;
	container-name: wcge-bar;
}
.elementor-menu-cart__main .wcge-milestone-bar-container,
.elementor-menu-cart__products .wcge-milestone-bar-container,
.widget_shopping_cart_content .wcge-milestone-bar-container,
#cart-drawer .wcge-milestone-bar-container,
uix-drawer#cart-drawer .wcge-milestone-bar-container,
.drawer-body .wcge-milestone-bar-container,
.rey-cartPanel .wcge-milestone-bar-container,
.xoo-wsc-container .wcge-milestone-bar-container,
.woofc-area .wcge-milestone-bar-container,
.fkcart-drawer .wcge-milestone-bar-container,
.cart-widget-side .wcge-milestone-bar-container,
.wp-block-woocommerce-cart .wcge-milestone-bar-container,
.wc-block-cart .wcge-milestone-bar-container,
[class*="cart-drawer"] .wcge-milestone-bar-container,
[class*="side-cart"] .wcge-milestone-bar-container,
[class*="slide-cart"] .wcge-milestone-bar-container {
	margin: 0 0 10px 0;
	border-top: none;
	border-bottom: 1px solid var(--wcge-border);
	width: 100%;
	box-sizing: border-box;
	flex: 0 0 auto !important;
	height: auto !important;
}
.wcge-gift-card-trigger {
	margin: 8px 14px 10px 14px;
	width: auto;
	max-width: calc(100% - 28px);
	display: flex;
	flex-direction: column;
	gap: 6px;
	box-sizing: border-box;
	container-type: inline-size;
	container-name: wcge-card;
}
.elementor-menu-cart__main .wcge-gift-card-trigger,
.elementor-menu-cart__products .wcge-gift-card-trigger,
.widget_shopping_cart_content .wcge-gift-card-trigger,
#cart-drawer .wcge-gift-card-trigger,
uix-drawer#cart-drawer .wcge-gift-card-trigger,
.drawer-body .wcge-gift-card-trigger,
.rey-cartPanel .wcge-gift-card-trigger,
.xoo-wsc-container .wcge-gift-card-trigger,
.woofc-area .wcge-gift-card-trigger,
.fkcart-drawer .wcge-gift-card-trigger,
.cart-widget-side .wcge-gift-card-trigger,
.wp-block-woocommerce-cart .wcge-gift-card-trigger,
.wc-block-cart .wcge-gift-card-trigger,
[class*="cart-drawer"] .wcge-gift-card-trigger,
[class*="side-cart"] .wcge-gift-card-trigger,
[class*="slide-cart"] .wcge-gift-card-trigger {
	margin: 6px 14px 10px 14px;
	width: auto;
	max-width: calc(100% - 28px);
	box-sizing: border-box;
	flex: 0 0 auto !important;
	height: auto !important;
}

.wcge-milestone-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}
.wcge-milestone-msg-wrap {
	min-width: 0;
	flex: 1;
}
.wcge-msg-dynamic {
	font-size: 12px;
	font-weight: 600;
	color: #1e293b;
	letter-spacing: -0.01em;
	line-height: 1.35;
	display: block;
}
.wcge-amount-needed {
	font-weight: 800;
	color: var(--wcge-primary);
}
.wcge-amount-needed .amount {
	font-weight: 800;
	color: var(--wcge-primary);
}
.wcge-tier-needed-title {
	font-weight: 800;
	color: var(--wcge-dark);
}
.wcge-unlocked-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--wcge-primary-light);
	border: 1px solid var(--wcge-accent);
	color: var(--wcge-primary);
	font-size: 11px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
	letter-spacing: 0.01em;
}
.wcge-check-icon {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	color: var(--wcge-primary);
}
.wcge-milestone-progress-stat {
	flex-shrink: 0;
}
.wcge-progress-percent {
	font-size: 11px;
	font-weight: 700;
	color: #64748b;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 2px 8px;
	border-radius: 999px;
	letter-spacing: 0.02em;
}

.wcge-milestone-track-wrap {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	padding: 8px 18px 28px 18px;
	box-sizing: border-box !important;
}
.wcge-milestone-track {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	height: 6px;
	background: var(--wcge-bg-track);
	border-radius: 999px;
	box-sizing: border-box !important;
}
.wcge-milestone-progress-fill {
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	background: linear-gradient(90deg, var(--wcge-accent) 0%, var(--wcge-primary) 100%);
	border-radius: 999px;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
	transition: width 0.45s cubic-bezier(0.25, 1, 0.5, 1);
	will-change: width;
}

.wcge-tier-pin {
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
}
.wcge-tier-pin.tier-20, .wcge-tier-pin.tier-tier_20 { left: 25%; }
.wcge-tier-pin.tier-40, .wcge-tier-pin.tier-tier_40 { left: 50%; }
.wcge-tier-pin.tier-60, .wcge-tier-pin.tier-tier_60 { left: 75%; }
.wcge-tier-pin.tier-70, .wcge-tier-pin.tier-tier_70 { left: 100%; }

.wcge-tier-pin.tier-70 .wcge-pin-label,
.wcge-tier-pin.tier-tier_70 .wcge-pin-label {
	right: -4px;
	left: auto;
	transform: none;
	align-items: flex-end;
	text-align: right;
}

/* Gutenberg Cart Block Wrapper */
.wcge-cart-block-wrapper {
	width: 100% !important;
	max-width: 100% !important;
	display: block !important;
	margin-bottom: 24px !important;
	clear: both !important;
	flex: 1 1 100% !important;
}
.wcge-cart-block-wrapper .wcge-milestone-bar-container {
	border-radius: 8px;
	border: 1px solid var(--wcge-border);
	margin-bottom: 14px;
}
.wcge-cart-block-wrapper .wcge-gift-card-trigger {
	border-radius: 8px;
	border: 1px solid var(--wcge-border);
	margin: 0;
	max-width: 100%;
}

.wcge-pin-icon {
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: #ffffff;
	border: 2px solid #e2e8f0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #94a3b8;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.wcge-pin-icon svg {
	width: 12px;
	height: 12px;
	display: block;
}
.wcge-tier-pin.active .wcge-pin-icon {
	border-color: var(--wcge-primary);
	background: var(--wcge-primary);
	color: #ffffff;
	box-shadow: 0 0 0 4px var(--wcge-primary-light);
	transform: scale(1.05);
}

@keyframes wcge-pin-pulse {
	0% {
		transform: scale(1);
	}
	40% {
		transform: scale(1.35);
	}
	70% {
		transform: scale(0.95);
	}
	100% {
		transform: scale(1.05);
	}
}

.wcge-pin-just-unlocked .wcge-pin-icon {
	animation: wcge-pin-pulse 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
	box-shadow: 0 0 16px var(--wcge-primary) !important;
}

.wcge-pin-label {
	position: absolute;
	top: 28px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	white-space: nowrap;
	pointer-events: none;
}
.wcge-pin-amount {
	font-size: 11px;
	font-weight: 700;
	color: #94a3b8;
	letter-spacing: 0.02em;
	transition: color 0.2s;
}
.wcge-pin-sub {
	font-size: 9px;
	font-weight: 500;
	color: #cbd5e1;
	margin-top: -1px;
	transition: color 0.2s;
}
.wcge-tier-pin.active .wcge-pin-label .wcge-pin-amount {
	color: var(--wcge-dark);
}
.wcge-tier-pin.active .wcge-pin-label .wcge-pin-sub {
	color: var(--wcge-primary);
	font-weight: 600;
}

/* ==========================================================================
   Gift Trigger Cards (Eye-Catching Luxury Reward Cards)
   ========================================================================== */
.wcge-reward-card {
	background: #ffffff;
	border: 1.5px solid var(--wcge-accent);
	border-radius: var(--wcge-radius-md);
	padding: 7px 12px 8px 12px;
	box-shadow: var(--wcge-shadow-card);
	box-sizing: border-box;
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
	width: 100%;
}
.wcge-reward-card:hover {
	box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
	transform: translateY(-1px);
}

.wcge-reward-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background: linear-gradient(135deg, var(--wcge-accent) 0%, var(--wcge-primary) 100%);
	color: #ffffff;
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	padding: 2px 6px;
	border-radius: 3px;
	margin-bottom: 5px;
	line-height: 1.3;
}
.wcge-badge-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #ffffff;
	animation: wcgePulse 1.5s infinite;
}
.wcge-reward-badge.wcge-badge-merch {
	background: linear-gradient(135deg, var(--wcge-primary) 0%, var(--wcge-primary-hover) 100%);
}

.wcge-reward-content-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}
.wcge-reward-left {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	flex: 1;
}
.wcge-reward-icon-wrap {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: var(--wcge-primary-light);
	color: var(--wcge-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.wcge-reward-icon-wrap svg {
	width: 14px;
	height: 14px;
}
.wcge-reward-icon-wrap.wcge-icon-merch {
	background: var(--wcge-primary-light);
	color: var(--wcge-primary-hover);
}

.wcge-reward-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.wcge-reward-title {
	font-size: 11.5px;
	font-weight: 700;
	color: var(--wcge-dark);
	line-height: 1.25;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.wcge-reward-status {
	font-size: 10px;
	color: var(--wcge-text-muted);
	margin-top: 1px;
}
.wcge-samples-counter {
	font-weight: 700;
	color: var(--wcge-primary);
}

.wcge-reward-right {
	flex-shrink: 0;
}
.wcge-btn-reward-action,
button.wcge-btn-reward-action,
.wcge-reward-right button.wcge-btn-reward-action,
.elementor-menu-cart__main button.wcge-btn-reward-action,
.elementor-menu-cart__products button.wcge-btn-reward-action,
.widget_shopping_cart button.wcge-btn-reward-action,
#cart-drawer button.wcge-btn-reward-action,
uix-drawer button.wcge-btn-reward-action,
.rey-cartPanel button.wcge-btn-reward-action,
[class*="cart-drawer"] button.wcge-btn-reward-action {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: transparent !important;
	color: var(--wcge-primary) !important;
	border: 1px solid var(--wcge-primary) !important;
	border-radius: 4px !important;
	padding: 2px 7px !important;
	height: auto !important;
	min-height: 0 !important;
	max-height: 24px !important;
	min-width: 0 !important;
	width: auto !important;
	font-size: 8.5px !important;
	font-weight: 700 !important;
	letter-spacing: 0.4px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	line-height: 1.2 !important;
	white-space: nowrap !important;
	box-shadow: none !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.15s ease !important;
	text-decoration: none !important;
}
.wcge-btn-reward-action:hover,
button.wcge-btn-reward-action:hover,
.wcge-reward-right button.wcge-btn-reward-action:hover {
	background: var(--wcge-primary) !important;
	color: #ffffff !important;
	border-color: var(--wcge-primary) !important;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
	transform: translateY(-1px) !important;
}
.wcge-btn-reward-action:active,
button.wcge-btn-reward-action:active {
	transform: scale(0.97) !important;
}
.wcge-btn-merch-action,
button.wcge-btn-merch-action,
.wcge-reward-right button.wcge-btn-merch-action {
	color: var(--wcge-primary) !important;
	border-color: var(--wcge-primary) !important;
}
.wcge-btn-merch-action:hover,
button.wcge-btn-merch-action:hover,
.wcge-reward-right button.wcge-btn-merch-action:hover {
	background: var(--wcge-primary) !important;
	color: #ffffff !important;
	border-color: var(--wcge-primary) !important;
}

@keyframes wcgePulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   Inline Cart Drawer Gift Selector (Sneak Energy Style, No Popups)
   Compact & Mobile-First Engineered Design
   ========================================================================== */
.wcge-inline-container {
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 8px !important;
	padding: 8px 10px !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
	box-sizing: border-box !important;
	margin: 6px 10px 10px 10px !important;
	width: auto !important;
	max-width: calc(100% - 20px) !important;
}

.wcge-inline-sample-section,
.wcge-inline-merch-section {
	width: 100% !important;
	box-sizing: border-box !important;
}

.wcge-inline-header {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 6px !important;
	margin-bottom: 6px !important;
}

.wcge-inline-title-wrap {
	display: flex !important;
	align-items: center !important;
	gap: 4px !important;
	min-width: 0 !important;
	flex: 1 !important;
}

.wcge-inline-title {
	font-size: 11px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	letter-spacing: -0.01em !important;
	line-height: 1.25 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
}

.wcge-inline-header-right {
	display: flex !important;
	align-items: center !important;
	gap: 5px !important;
	flex-shrink: 0 !important;
}

.wcge-inline-nav-arrows {
	display: inline-flex !important;
	align-items: center !important;
	gap: 3px !important;
}

.wcge-nav-btn {
	appearance: none !important;
	-webkit-appearance: none !important;
	width: 17px !important;
	height: 17px !important;
	min-width: 17px !important;
	max-width: 17px !important;
	min-height: 17px !important;
	max-height: 17px !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 50% !important;
	border: 1px solid #cbd5e1 !important;
	background: #ffffff !important;
	color: #64748b !important;
	font-size: 8px !important;
	font-weight: 700 !important;
	line-height: 1 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	transition: all 0.15s ease !important;
	outline: none !important;
	user-select: none !important;
}

.wcge-nav-btn:hover {
	background: #f1f5f9 !important;
	color: #0f172a !important;
	border-color: #94a3b8 !important;
}

.wcge-nav-btn:active {
	transform: scale(0.9) !important;
}

.wcge-inline-counter-badge {
	font-size: 9.5px !important;
	font-weight: 700 !important;
	color: #059669 !important;
	background: #ecfdf5 !important;
	border: 1px solid #a7f3d0 !important;
	padding: 1.5px 6px !important;
	border-radius: 999px !important;
	white-space: nowrap !important;
	flex-shrink: 0 !important;
	line-height: 1.2 !important;
}

.wcge-inline-counter-badge .wcge-samples-counter {
	font-weight: 800 !important;
	color: #047857 !important;
}

.wcge-inline-counter-badge.wcge-merch-badge {
	color: #2563eb !important;
	background: #eff6ff !important;
	border-color: #bfdbfe !important;
}

/* Horizontal Scroll Strip with smooth scrolling, drag-to-scroll & custom modern scrollbar */
.wcge-inline-samples-strip,
.wcge-inline-merch-strip {
	display: flex !important;
	gap: 6px !important;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	-webkit-overflow-scrolling: touch !important;
	scroll-behavior: smooth !important;
	scroll-snap-type: x proximity !important;
	padding: 2px 1px 6px 1px !important;
	width: 100% !important;
	box-sizing: border-box !important;
	cursor: grab !important;
	touch-action: pan-x pan-y !important;
	scrollbar-width: thin !important;
	scrollbar-color: #cbd5e1 transparent !important;
}

.wcge-inline-samples-strip.is-dragging,
.wcge-inline-merch-strip.is-dragging {
	cursor: grabbing !important;
	scroll-snap-type: none !important;
	scroll-behavior: auto !important;
	user-select: none !important;
}

/* Aesthetic modern thin scrollbar (4px pill) */
.wcge-inline-samples-strip::-webkit-scrollbar,
.wcge-inline-merch-strip::-webkit-scrollbar,
.custom-scrollbar::-webkit-scrollbar {
	display: block !important;
	height: 4px !important;
}

.wcge-inline-samples-strip::-webkit-scrollbar-track,
.wcge-inline-merch-strip::-webkit-scrollbar-track,
.custom-scrollbar::-webkit-scrollbar-track {
	background: #f1f5f9 !important;
	border-radius: 999px !important;
}

.wcge-inline-samples-strip::-webkit-scrollbar-thumb,
.wcge-inline-merch-strip::-webkit-scrollbar-thumb,
.custom-scrollbar::-webkit-scrollbar-thumb {
	background: #cbd5e1 !important;
	border-radius: 999px !important;
}

.wcge-inline-samples-strip::-webkit-scrollbar-thumb:hover,
.wcge-inline-merch-strip::-webkit-scrollbar-thumb:hover,
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
	background: #94a3b8 !important;
}

/* Remove ugly Windows arrow buttons from scrollbar */
.wcge-inline-samples-strip::-webkit-scrollbar-button,
.wcge-inline-merch-strip::-webkit-scrollbar-button,
.custom-scrollbar::-webkit-scrollbar-button {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}

/* ==========================================================================
   Sample Mini-Cards (Ultra Compact & Mobile Optimized)
   ========================================================================== */
.wcge-inline-sample-card {
	flex: 0 0 78px !important;
	width: 78px !important;
	min-width: 78px !important;
	max-width: 78px !important;
	scroll-snap-align: start !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	text-align: center !important;
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 6px !important;
	padding: 4px 3px 5px 3px !important;
	box-sizing: border-box !important;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, opacity 0.2s ease !important;
	position: relative !important;
	user-select: none !important;
}

.wcge-inline-sample-card:hover {
	border-color: #cbd5e1 !important;
}

.wcge-inline-sample-card.is-selected {
	border-color: var(--wcge-primary, #10b981) !important;
	box-shadow: 0 0 0 1px var(--wcge-primary, #10b981) !important;
	background: #fcfdfc !important;
}

.wcge-inline-sample-card.is-maxed-out {
	opacity: 0.55 !important;
}

.wcge-inline-sample-card.is-out-of-stock {
	opacity: 0.45 !important;
}

.wcge-inline-card-thumb {
	width: 38px !important;
	height: 38px !important;
	min-width: 38px !important;
	max-width: 38px !important;
	min-height: 38px !important;
	max-height: 38px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	position: relative !important;
	margin: 0 auto 3px auto !important;
	overflow: hidden !important;
	border-radius: 4px !important;
}

.wcge-inline-card-thumb img {
	width: 100% !important;
	height: 100% !important;
	max-width: 38px !important;
	max-height: 38px !important;
	object-fit: contain !important;
	display: block !important;
}

.wcge-inline-badge-oos {
	position: absolute !important;
	bottom: 0 !important;
	left: 0 !important;
	right: 0 !important;
	background: rgba(220, 38, 38, 0.9) !important;
	color: #ffffff !important;
	font-size: 7px !important;
	font-weight: 700 !important;
	text-align: center !important;
	padding: 1px !important;
	border-radius: 2px !important;
	text-transform: uppercase !important;
	line-height: 1 !important;
}

.wcge-inline-card-name {
	font-size: 9px !important;
	font-weight: 600 !important;
	color: #334155 !important;
	line-height: 1.15 !important;
	height: 21px !important;
	max-height: 21px !important;
	overflow: hidden !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	word-break: break-word !important;
	margin-bottom: 4px !important;
	text-align: center !important;
	width: 100% !important;
}

/* ==========================================================================
   Stepper (- 0 +) Nuclear Theme Overrides & Compact Styling
   ========================================================================== */
.wcge-inline-stepper {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	height: 20px !important;
	min-height: 20px !important;
	max-height: 20px !important;
	background: #f1f5f9 !important;
	border-radius: 4px !important;
	border: 1px solid #cbd5e1 !important;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box !important;
	overflow: hidden !important;
}

/* Stepper Buttons (- and +) with extreme specificity against theme drawers */
.wcge-inline-container .wcge-inline-step-btn,
.wcge-inline-stepper button.wcge-inline-step-btn,
.elementor-menu-cart__main .wcge-inline-stepper button,
.elementor-menu-cart__products .wcge-inline-stepper button,
.widget_shopping_cart .wcge-inline-stepper button,
#cart-drawer .wcge-inline-stepper button,
uix-drawer#cart-drawer .wcge-inline-stepper button,
uix-drawer .wcge-inline-stepper button,
.rey-cartPanel .wcge-inline-stepper button,
[class*="cart-drawer"] .wcge-inline-stepper button,
[class*="side-cart"] .wcge-inline-stepper button,
[class*="slide-cart"] .wcge-inline-stepper button {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 20px !important;
	min-width: 20px !important;
	max-width: 20px !important;
	height: 20px !important;
	min-height: 20px !important;
	max-height: 20px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: none !important;
	border-radius: 0 !important;
	background: #ffffff !important;
	color: #0f172a !important;
	font-size: 13px !important;
	font-weight: 700 !important;
	line-height: 20px !important;
	text-align: center !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	box-shadow: none !important;
	cursor: pointer !important;
	outline: none !important;
	flex: 0 0 20px !important;
	box-sizing: border-box !important;
	transition: background 0.15s, opacity 0.15s !important;
}

.wcge-inline-stepper button.wcge-inline-step-btn:hover:not(:disabled):not(.wcge-disabled) {
	background: #e2e8f0 !important;
	color: #0f172a !important;
}

.wcge-inline-stepper button.wcge-inline-step-btn:disabled,
.wcge-inline-stepper button.wcge-inline-step-btn.wcge-disabled {
	opacity: 0.25 !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
	background: #f8fafc !important;
	color: #94a3b8 !important;
}

.wcge-inline-stepper .wcge-inline-step-val {
	display: block !important;
	font-size: 10px !important;
	font-weight: 700 !important;
	color: #0f172a !important;
	line-height: 20px !important;
	text-align: center !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	padding: 0 !important;
	margin: 0 !important;
	user-select: none !important;
}

/* ==========================================================================
   Merchandise Inline Picker (€60 Tier) - Compact & Mobile First
   ========================================================================== */
.wcge-inline-merch-section {
	margin-top: 8px !important;
	padding-top: 8px !important;
	border-top: 1px dashed #cbd5e1 !important;
}

.wcge-inline-merch-card {
	flex: 0 0 108px !important;
	width: 108px !important;
	min-width: 108px !important;
	max-width: 108px !important;
	display: flex !important;
	flex-direction: column !important;
	background: #ffffff !important;
	border: 1px solid #e2e8f0 !important;
	border-radius: 6px !important;
	padding: 5px 4px 6px 4px !important;
	box-sizing: border-box !important;
	transition: all 0.2s ease !important;
	scroll-snap-align: start !important;
}

.wcge-inline-merch-card.is-claimed {
	border-color: var(--wcge-primary, #10b981) !important;
	background: #f0fdf4 !important;
	box-shadow: 0 0 0 1px var(--wcge-primary, #10b981) !important;
}

.wcge-inline-merch-media {
	width: 100% !important;
	height: 38px !important;
	min-height: 38px !important;
	max-height: 38px !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 auto 3px auto !important;
}

.wcge-inline-merch-media img {
	max-width: 38px !important;
	max-height: 38px !important;
	width: auto !important;
	height: auto !important;
	object-fit: contain !important;
	display: block !important;
}

.wcge-inline-merch-body {
	display: flex !important;
	flex-direction: column !important;
	flex-grow: 1 !important;
	justify-content: space-between !important;
	width: 100% !important;
}

.wcge-inline-merch-card .wcge-inline-card-name {
	font-size: 9px !important;
	font-weight: 600 !important;
	color: #334155 !important;
	line-height: 1.15 !important;
	height: 21px !important;
	max-height: 21px !important;
	overflow: hidden !important;
	text-align: center !important;
	margin-bottom: 3px !important;
}

.wcge-inline-variations {
	margin-bottom: 3px !important;
	width: 100% !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 2px !important;
}

.wcge-inline-attr-select {
	appearance: auto !important;
	-webkit-appearance: auto !important;
	width: 100% !important;
	height: 18px !important;
	min-height: 18px !important;
	max-height: 18px !important;
	font-size: 8.5px !important;
	line-height: 1 !important;
	padding: 0 2px !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 3px !important;
	background: #ffffff !important;
	color: #1e293b !important;
	box-sizing: border-box !important;
	outline: none !important;
}

/* Add to Cart / Claim Button with extreme specificity against theme drawers */
.wcge-inline-container .wcge-inline-claim-btn,
.wcge-inline-merch-card button.wcge-inline-claim-btn,
.elementor-menu-cart__main .wcge-inline-merch-card button,
.elementor-menu-cart__products .wcge-inline-merch-card button,
.widget_shopping_cart .wcge-inline-merch-card button,
#cart-drawer .wcge-inline-merch-card button,
uix-drawer#cart-drawer .wcge-inline-merch-card button,
uix-drawer .wcge-inline-merch-card button,
.rey-cartPanel .wcge-inline-merch-card button,
[class*="cart-drawer"] .wcge-inline-merch-card button,
[class*="side-cart"] .wcge-inline-merch-card button,
[class*="slide-cart"] .wcge-inline-merch-card button {
	appearance: none !important;
	-webkit-appearance: none !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	height: 22px !important;
	min-height: 22px !important;
	max-height: 22px !important;
	padding: 0 4px !important;
	margin: 2px 0 0 0 !important;
	border: 1px solid var(--wcge-primary, #10b981) !important;
	border-radius: 4px !important;
	background: var(--wcge-primary, #10b981) !important;
	color: #ffffff !important;
	font-size: 9px !important;
	font-weight: 700 !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	line-height: 1 !important;
	box-shadow: none !important;
	cursor: pointer !important;
	outline: none !important;
	box-sizing: border-box !important;
	transition: background 0.15s, opacity 0.15s !important;
}

.wcge-inline-merch-card button.wcge-inline-claim-btn:hover:not(:disabled):not(.is-claimed) {
	background: var(--wcge-primary-hover, #059669) !important;
	border-color: var(--wcge-primary-hover, #059669) !important;
	color: #ffffff !important;
}

.wcge-inline-merch-card button.wcge-inline-claim-btn.is-claimed {
	background: #059669 !important;
	border-color: #059669 !important;
	color: #ffffff !important;
	cursor: default !important;
}

.wcge-inline-merch-card button.wcge-inline-claim-btn:disabled:not(.is-claimed) {
	opacity: 0.4 !important;
	cursor: not-allowed !important;
	background: #94a3b8 !important;
	border-color: #94a3b8 !important;
	color: #ffffff !important;
}

.wcge-inline-empty {
	font-size: 10px !important;
	color: #64748b !important;
	margin: 2px 0 !important;
	font-style: italic !important;
}

/* ==========================================================================
   Modals (Flavor Picker & Variant Picker)
   ========================================================================== */
.wcge-modal-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(15, 23, 42, 0.55);
	backdrop-filter: blur(6px);
	z-index: 9999999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
	box-sizing: border-box;
}

.wcge-modal-dialog {
	background: #ffffff;
	border-radius: var(--wcge-radius-lg);
	width: 100%;
	max-width: 560px;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	box-shadow: var(--wcge-shadow-modal);
	border: 1px solid #f1f5f9;
	overflow: hidden;
	box-sizing: border-box;
	animation: wcgeModalFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes wcgeModalFadeIn {
	from {
		opacity: 0;
		transform: scale(0.96) translateY(6px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

.wcge-modal-header {
	padding: 12px 16px;
	border-bottom: 1px solid var(--wcge-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	background: #ffffff;
	flex-wrap: nowrap;
}
.wcge-modal-title-wrap {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	min-width: 0;
	flex: 1;
}
.wcge-modal-title-wrap h3 {
	margin: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--wcge-dark);
	letter-spacing: -0.01em;
	line-height: 1.3;
}
.wcge-modal-counter-badge {
	background: var(--wcge-primary-light);
	border: 1px solid var(--wcge-accent);
	color: var(--wcge-primary);
	font-size: 9.5px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 999px;
	white-space: nowrap;
}
.wcge-modal-close {
	background: #f1f5f9 !important;
	border: none !important;
	width: 26px !important;
	height: 26px !important;
	min-width: 26px;
	border-radius: 6px !important;
	font-size: 15px !important;
	line-height: 1 !important;
	cursor: pointer !important;
	color: var(--wcge-text-muted) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0;
	transition: background 0.15s, color 0.15s;
	box-shadow: none !important;
	padding: 0 !important;
}
.wcge-modal-close:hover {
	background: #e2e8f0 !important;
	color: var(--wcge-dark) !important;
}

.wcge-modal-search {
	padding: 10px 20px;
	background: #f8fafc;
	border-bottom: 1px solid var(--wcge-border);
}
.wcge-modal-search input {
	width: 100%;
	padding: 8px 14px;
	border: 1px solid var(--wcge-border-card);
	border-radius: 8px;
	font-size: 12px;
	outline: none;
	background: #ffffff;
	box-sizing: border-box;
	transition: border-color 0.15s;
}
.wcge-modal-search input:focus {
	border-color: var(--wcge-primary);
}

.wcge-modal-body {
	padding: 16px 20px;
	overflow-y: auto;
	flex: 1;
}
.wcge-flavor-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
	gap: 12px;
}
.wcge-flavor-card {
	border: 1px solid var(--wcge-border-card);
	border-radius: var(--wcge-radius-md);
	padding: 8px 6px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #ffffff;
	transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
	gap: 4px;
}
.wcge-flavor-card:hover {
	border-color: #cbd5e1;
}
.wcge-flavor-card.selected {
	border-color: var(--wcge-primary);
	background: var(--wcge-primary-light);
	box-shadow: 0 0 0 1px var(--wcge-primary);
}
.wcge-card-img {
	width: 44px;
	height: 44px;
	object-fit: contain;
	margin-bottom: 0;
}
.wcge-card-title {
	font-size: 10px;
	font-weight: 600;
	color: var(--wcge-dark);
	margin-bottom: 0;
	height: 24px;
	line-height: 1.25;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.wcge-stepper {
	display: inline-flex;
	align-items: center;
	border: 1.5px solid var(--wcge-border-card);
	border-radius: 6px;
	background: #f8fafc;
	overflow: hidden;
	height: 24px;
}
.wcge-step-btn {
	background: transparent !important;
	border: none !important;
	border-radius: 0 !important;
	width: 22px !important;
	height: 24px !important;
	min-width: 22px;
	font-size: 13px !important;
	font-weight: 700 !important;
	color: var(--wcge-primary) !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0;
	line-height: 1;
	padding: 0 !important;
	box-shadow: none !important;
	transition: background 0.12s, color 0.12s;
}
.wcge-step-btn:hover {
	background: var(--wcge-primary-light) !important;
	color: var(--wcge-primary) !important;
}
.wcge-step-minus {
	border-right: 1px solid var(--wcge-border-card) !important;
}
.wcge-step-plus {
	border-left: 1px solid var(--wcge-border-card) !important;
}
.wcge-step-val {
	min-width: 20px;
	font-size: 11px;
	font-weight: 700;
	color: var(--wcge-dark);
	text-align: center;
	line-height: 24px;
	background: #ffffff;
	padding: 0 2px;
}
/* Highlight stepper when qty > 0 */
.wcge-flavor-card.selected .wcge-stepper {
	border-color: var(--wcge-primary);
	background: var(--wcge-primary-light);
}
.wcge-flavor-card.selected .wcge-step-minus,
.wcge-flavor-card.selected .wcge-step-plus {
	border-color: var(--wcge-primary) !important;
}
.wcge-flavor-card.selected .wcge-step-val {
	background: var(--wcge-primary-light);
	color: var(--wcge-primary);
}

.wcge-modal-footer {
	padding: 10px 16px;
	border-top: 1px solid var(--wcge-border);
	background: #f8fafc;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}
.wcge-btn-cancel {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: transparent !important;
	border: 1.5px solid var(--wcge-border-card) !important;
	border-radius: 6px !important;
	padding: 5px 14px !important;
	font-size: 11px !important;
	font-weight: 600 !important;
	color: var(--wcge-text-muted) !important;
	cursor: pointer !important;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
	box-shadow: none !important;
}
.wcge-btn-cancel:hover {
	background: #e2e8f0 !important;
	color: var(--wcge-dark) !important;
	border-color: #cbd5e1 !important;
}
.wcge-btn-save {
	background: var(--wcge-primary) !important;
	color: #ffffff !important;
	border: none !important;
	border-radius: 6px !important;
	padding: 5px 16px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	cursor: pointer !important;
	transition: background 0.15s;
	box-shadow: none !important;
}
.wcge-btn-save:hover:not(:disabled) {
	background: var(--wcge-primary-hover) !important;
}
.wcge-btn-save:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* Merchandise Variant List */
.wcge-merch-item {
	display: flex;
	gap: 10px;
	padding: 10px;
	border: 1px solid var(--wcge-border-card);
	border-radius: var(--wcge-radius-md);
	background: #ffffff;
	margin-bottom: 8px;
	align-items: flex-start;
}
.wcge-merch-img-wrap {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	border-radius: var(--wcge-radius-sm);
	overflow: hidden;
	background: #f8fafc;
}
.wcge-merch-img-wrap img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.wcge-merch-info {
	flex: 1;
	min-width: 0;
}
.wcge-merch-name {
	margin: 0 0 3px 0;
	font-size: 12px;
	font-weight: 700;
	color: var(--wcge-dark);
	line-height: 1.3;
}
/* Claim gift button inside merch modal */
.wcge-btn-claim-single-merch {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: transparent !important;
	color: var(--wcge-primary) !important;
	border: 1.5px solid var(--wcge-primary) !important;
	border-radius: 5px !important;
	padding: 4px 12px !important;
	font-size: 9.5px !important;
	font-weight: 700 !important;
	letter-spacing: 0.5px !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	line-height: 1.3 !important;
	box-shadow: none !important;
	width: auto !important;
	margin-top: 6px !important;
	transition: background 0.18s ease, color 0.18s ease !important;
}
.wcge-btn-claim-single-merch:hover {
	background: var(--wcge-primary) !important;
	color: #ffffff !important;
}

/* ==========================================================================
   Gruum-Style Checkout Notice
   ========================================================================== */
.wcge-checkout-milestone-wrapper {
	margin: 18px 0 22px 0;
}
.wcge-checkout-notice {
	background: #ffffff;
	border: 1.5px solid var(--wcge-accent);
	border-radius: var(--wcge-radius-lg);
	padding: 14px 18px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}
.wcge-checkout-notice-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}
.wcge-icon-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: var(--wcge-primary-light);
	color: var(--wcge-primary);
	border-radius: 50%;
	flex-shrink: 0;
}
.wcge-notice-text {
	font-size: 13px;
	font-weight: 700;
	color: var(--wcge-dark);
}
.wcge-progress-track {
	width: 100%;
	height: 6px;
	background-color: var(--wcge-bg-track);
	border-radius: 999px;
	overflow: hidden;
}
.wcge-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, var(--wcge-accent) 0%, var(--wcge-primary) 100%);
	transition: width 0.35s ease;
	border-radius: 999px;
}

/* ==========================================================================
   Responsive Architecture & Device Screen Ratio Adaptation
   ========================================================================== */

/* 1. Container Queries: Auto-adapt based on actual container width */
@container wcge-bar (max-width: 440px) {
	.wcge-milestone-header {
		margin-bottom: 10px;
		gap: 8px;
	}
	.wcge-msg-dynamic {
		font-size: 11.5px;
	}
	.wcge-milestone-track-wrap {
		padding: 6px 14px 26px 14px;
	}
	.wcge-pin-icon {
		width: 22px;
		height: 22px;
	}
	.wcge-pin-icon svg {
		width: 10px;
		height: 10px;
	}
	.wcge-pin-label {
		top: 24px;
	}
	.wcge-pin-amount {
		font-size: 10px;
	}
	.wcge-pin-sub {
		font-size: 8px;
	}
}

@container wcge-bar (max-width: 350px) {
	.wcge-milestone-header {
		flex-wrap: wrap;
		gap: 6px;
	}
	.wcge-msg-dynamic {
		font-size: 10.5px;
		line-height: 1.3;
	}
	.wcge-progress-percent {
		font-size: 10px;
		padding: 1px 6px;
	}
	.wcge-milestone-track-wrap {
		padding: 4px 12px 24px 12px;
	}
	.wcge-pin-icon {
		width: 20px;
		height: 20px;
	}
	.wcge-pin-icon svg {
		width: 9px;
		height: 9px;
	}
	.wcge-pin-label {
		top: 22px;
	}
	.wcge-pin-amount {
		font-size: 9px;
	}
	.wcge-pin-sub {
		font-size: 7px;
	}
}

@container wcge-card (max-width: 440px) {
	.wcge-reward-card {
		padding: 9px 12px 10px 12px;
	}
	.wcge-reward-title {
		font-size: 12px;
	}
	.wcge-reward-icon-wrap {
		width: 32px;
		height: 32px;
	}
	.wcge-reward-icon-wrap svg {
		width: 16px;
		height: 16px;
	}
	.wcge-btn-reward-action,
	button.wcge-btn-reward-action {
		padding: 2px 6px !important;
		font-size: 8px !important;
		max-height: 22px !important;
		min-height: 0 !important;
	}
}

@container wcge-card (max-width: 360px) {
	.wcge-reward-content-row {
		flex-direction: column;
		align-items: stretch;
		gap: 6px;
	}
	.wcge-reward-right {
		width: 100%;
	}
	.wcge-btn-reward-action,
	button.wcge-btn-reward-action {
		width: 100% !important;
		justify-content: center !important;
		padding: 3px 6px !important;
		font-size: 8.5px !important;
		max-height: 24px !important;
		min-height: 0 !important;
	}
}

/* 2. Scoped Drawer Fallbacks: Guarantees compact styling in all theme cart drawers */
.elementor-menu-cart__main .wcge-milestone-header,
.widget_shopping_cart_content .wcge-milestone-header,
#cart-drawer .wcge-milestone-header,
uix-drawer .wcge-milestone-header,
.rey-cartPanel .wcge-milestone-header,
.xoo-wsc-container .wcge-milestone-header,
.woofc-area .wcge-milestone-header,
.cart-widget-side .wcge-milestone-header,
[class*="cart-drawer"] .wcge-milestone-header,
[class*="side-cart"] .wcge-milestone-header {
	margin-bottom: 10px;
	gap: 8px;
}

.elementor-menu-cart__main .wcge-msg-dynamic,
.widget_shopping_cart_content .wcge-msg-dynamic,
#cart-drawer .wcge-msg-dynamic,
uix-drawer .wcge-msg-dynamic,
.rey-cartPanel .wcge-msg-dynamic,
.xoo-wsc-container .wcge-msg-dynamic,
.woofc-area .wcge-msg-dynamic,
.cart-widget-side .wcge-msg-dynamic,
[class*="cart-drawer"] .wcge-msg-dynamic,
[class*="side-cart"] .wcge-msg-dynamic {
	font-size: 11.5px;
}

.elementor-menu-cart__main .wcge-milestone-track-wrap,
.widget_shopping_cart_content .wcge-milestone-track-wrap,
#cart-drawer .wcge-milestone-track-wrap,
uix-drawer .wcge-milestone-track-wrap,
.rey-cartPanel .wcge-milestone-track-wrap,
.xoo-wsc-container .wcge-milestone-track-wrap,
.woofc-area .wcge-milestone-track-wrap,
.cart-widget-side .wcge-milestone-track-wrap,
[class*="cart-drawer"] .wcge-milestone-track-wrap,
[class*="side-cart"] .wcge-milestone-track-wrap {
	padding: 6px 14px 26px 14px;
}

.elementor-menu-cart__main .wcge-pin-icon,
.widget_shopping_cart_content .wcge-pin-icon,
#cart-drawer .wcge-pin-icon,
uix-drawer .wcge-pin-icon,
.rey-cartPanel .wcge-pin-icon,
.xoo-wsc-container .wcge-pin-icon,
.woofc-area .wcge-pin-icon,
.cart-widget-side .wcge-pin-icon,
[class*="cart-drawer"] .wcge-pin-icon,
[class*="side-cart"] .wcge-pin-icon {
	width: 22px;
	height: 22px;
}

.elementor-menu-cart__main .wcge-pin-icon svg,
.widget_shopping_cart_content .wcge-pin-icon svg,
#cart-drawer .wcge-pin-icon svg,
uix-drawer .wcge-pin-icon svg,
.rey-cartPanel .wcge-pin-icon svg,
.xoo-wsc-container .wcge-pin-icon svg,
.woofc-area .wcge-pin-icon svg,
.cart-widget-side .wcge-pin-icon svg,
[class*="cart-drawer"] .wcge-pin-icon svg,
[class*="side-cart"] .wcge-pin-icon svg {
	width: 10px;
	height: 10px;
}

.elementor-menu-cart__main .wcge-pin-label,
.widget_shopping_cart_content .wcge-pin-label,
#cart-drawer .wcge-pin-label,
uix-drawer .wcge-pin-label,
.rey-cartPanel .wcge-pin-label,
.xoo-wsc-container .wcge-pin-label,
.woofc-area .wcge-pin-label,
.cart-widget-side .wcge-pin-label,
[class*="cart-drawer"] .wcge-pin-label,
[class*="side-cart"] .wcge-pin-label {
	top: 24px;
}

.elementor-menu-cart__main .wcge-pin-amount,
.widget_shopping_cart_content .wcge-pin-amount,
#cart-drawer .wcge-pin-amount,
uix-drawer .wcge-pin-amount,
.rey-cartPanel .wcge-pin-amount,
.xoo-wsc-container .wcge-pin-amount,
.woofc-area .wcge-pin-amount,
.cart-widget-side .wcge-pin-amount,
[class*="cart-drawer"] .wcge-pin-amount,
[class*="side-cart"] .wcge-pin-amount {
	font-size: 10px;
}

.elementor-menu-cart__main .wcge-pin-sub,
.widget_shopping_cart_content .wcge-pin-sub,
#cart-drawer .wcge-pin-sub,
uix-drawer .wcge-pin-sub,
.rey-cartPanel .wcge-pin-sub,
.xoo-wsc-container .wcge-pin-sub,
.woofc-area .wcge-pin-sub,
.cart-widget-side .wcge-pin-sub,
[class*="cart-drawer"] .wcge-pin-sub,
[class*="side-cart"] .wcge-pin-sub {
	font-size: 8px;
}

/* 3. Viewport Media Queries (Tablet, Mobile, Aspect Ratios) */

/* Tablet & Medium Devices */
@media (max-width: 768px) {
	.wcge-milestone-bar-container {
		padding: 14px 16px 18px 16px;
	}
	.wcge-gift-card-trigger {
		margin: 8px 16px 12px 16px;
	}
	.wcge-modal-dialog {
		max-width: 92vw;
	}
	.wcge-flavor-grid {
		grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
		gap: 10px;
	}
}

/* Mobile Phones (< 640px): Native Bottom-Sheet Modals & Touch Ergonomics */
@media (max-width: 640px) {
	.wcge-modal-backdrop {
		padding: 0;
		align-items: flex-end;
	}
	.wcge-modal-dialog {
		width: 100%;
		max-width: 100%;
		max-height: 88vh;
		border-radius: 20px 20px 0 0;
		border-bottom: none;
		border-left: none;
		border-right: none;
		animation: wcgeModalSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
	}
	@keyframes wcgeModalSlideUp {
		from {
			opacity: 0;
			transform: translateY(100%);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}
	.wcge-modal-header {
		padding: 14px 18px;
	}
	.wcge-modal-title-wrap h3 {
		font-size: 14px;
	}
	.wcge-modal-search {
		padding: 8px 18px;
	}
	.wcge-modal-body {
		padding: 12px 16px;
		-webkit-overflow-scrolling: touch;
	}
	.wcge-flavor-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.wcge-modal-footer {
		padding: 10px 18px calc(10px + env(safe-area-inset-bottom, 0px)) 18px;
	}
	.wcge-btn-save {
		flex: 1;
		padding: 10px 16px;
		font-size: 11px;
	}
	.wcge-btn-cancel {
		padding: 10px 14px;
	}

	.wcge-merch-item {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding: 12px;
	}
	.wcge-merch-img-wrap {
		width: 100%;
		height: 120px;
	}
	.wcge-merch-info {
		width: 100%;
	}
}

/* Standard Mobile Viewports (375px - 480px, Screen Ratios 9:16 to 9:21) */
@media (max-width: 480px) {
	.wcge-milestone-bar-container {
		padding: 12px 14px 16px 14px;
	}
	.wcge-gift-card-trigger {
		margin: 8px 14px 10px 14px;
	}
	.wcge-msg-dynamic {
		font-size: 11px;
	}
	.wcge-pin-icon {
		width: 22px;
		height: 22px;
	}
	.wcge-pin-icon svg {
		width: 10px;
		height: 10px;
	}
	.wcge-pin-amount {
		font-size: 9.5px;
	}
	.wcge-pin-sub {
		font-size: 8px;
	}
	.wcge-pin-label {
		top: 24px;
	}
	.wcge-reward-card {
		padding: 9px 12px 10px 12px;
	}
	.wcge-reward-title {
		font-size: 12px;
	}
	.wcge-reward-status {
		font-size: 10.5px;
	}
	.wcge-btn-reward-action,
	button.wcge-btn-reward-action {
		padding: 2px 6px !important;
		font-size: 8px !important;
		max-height: 22px !important;
		min-height: 0 !important;
	}
	.wcge-stepper {
		height: 28px;
	}
	.wcge-step-btn {
		width: 28px;
		height: 28px;
	}
	.wcge-checkout-notice {
		padding: 12px 14px;
	}
	.wcge-notice-text {
		font-size: 12px;
	}
	.wcge-inline-container {
		margin: 4px 6px 8px 6px !important;
		padding: 6px 8px !important;
		max-width: calc(100% - 12px) !important;
	}
	.wcge-inline-sample-card {
		flex: 0 0 72px !important;
		width: 72px !important;
		min-width: 72px !important;
		max-width: 72px !important;
		padding: 3px 2px 4px 2px !important;
	}
	.wcge-inline-card-thumb {
		width: 34px !important;
		height: 34px !important;
		min-width: 34px !important;
		max-width: 34px !important;
		min-height: 34px !important;
		max-height: 34px !important;
	}
	.wcge-inline-card-thumb img {
		max-width: 34px !important;
		max-height: 34px !important;
	}
	.wcge-inline-card-name {
		font-size: 8.5px !important;
		height: 19px !important;
		max-height: 19px !important;
	}
	.wcge-inline-merch-card {
		flex: 0 0 100px !important;
		width: 100px !important;
		min-width: 100px !important;
		max-width: 100px !important;
		padding: 4px 3px 5px 3px !important;
	}
	.wcge-inline-merch-media {
		height: 34px !important;
		min-height: 34px !important;
		max-height: 34px !important;
	}
	.wcge-inline-merch-media img {
		max-width: 34px !important;
		max-height: 34px !important;
	}
}

/* Small Screen Mobile Devices (< 360px, e.g. iPhone SE, compact Androids) */
@media (max-width: 360px) {
	.wcge-milestone-bar-container {
		padding: 10px 10px 14px 10px;
	}
	.wcge-gift-card-trigger {
		margin: 6px 10px 8px 10px;
	}
	.wcge-milestone-track-wrap {
		padding: 4px 12px 24px 12px;
	}
	.wcge-pin-icon {
		width: 20px;
		height: 20px;
	}
	.wcge-pin-icon svg {
		width: 9px;
		height: 9px;
	}
	.wcge-pin-amount {
		font-size: 8.5px;
	}
	.wcge-pin-sub {
		font-size: 7px;
	}
	.wcge-pin-label {
		top: 22px;
	}
	.wcge-reward-content-row {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}
	.wcge-reward-right {
		width: 100%;
	}
	.wcge-btn-reward-action,
	button.wcge-btn-reward-action {
		width: 100% !important;
		text-align: center !important;
		padding: 3px 6px !important;
		font-size: 8.5px !important;
		max-height: 24px !important;
		min-height: 0 !important;
	}
	.wcge-flavor-grid {
		gap: 8px;
	}
	.wcge-card-img {
		width: 40px;
		height: 40px;
	}
}

/* Landscape Phone Aspect Ratios (Short height, wide screen) */
@media (max-height: 540px) and (orientation: landscape) {
	.wcge-modal-backdrop {
		padding: 10px;
		align-items: center;
	}
	.wcge-modal-dialog {
		max-height: 96vh;
		border-radius: 12px;
	}
	.wcge-modal-header {
		padding: 8px 16px;
	}
	.wcge-modal-search {
		padding: 6px 16px;
	}
	.wcge-modal-search input {
		padding: 5px 12px;
	}
	.wcge-modal-body {
		padding: 8px 16px;
	}
	.wcge-flavor-grid {
		grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
		gap: 8px;
	}
	.wcge-card-img {
		width: 36px;
		height: 36px;
		margin-bottom: 4px;
	}
	.wcge-card-title {
		font-size: 10px;
		height: 22px;
		margin-bottom: 4px;
	}
	.wcge-modal-footer {
		padding: 8px 16px;
	}
}
