.esq-quota-card {
	background: #ffffff;
	border: 1px solid #e6d8ba;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(31, 41, 55, 0.08);
	color: #1f2937;
	margin: 18px 0;
	max-width: 520px;
	padding: 18px;
}

.esq-quota-header,
.esq-quota-meta {
	align-items: center;
	display: flex;
	justify-content: space-between;
	gap: 14px;
}

.esq-quota-label {
	color: #6b7280;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.esq-quota-status {
	color: #9a6b14;
	font-size: 16px;
	font-weight: 800;
	text-align: right;
}

.esq-quota-progress {
	background: #f3f4f6;
	border-radius: 999px;
	height: 12px;
	margin: 16px 0 12px;
	overflow: hidden;
}

.esq-quota-progress span {
	background: linear-gradient(90deg, #d8a536, #16a34a);
	border-radius: inherit;
	display: block;
	height: 100%;
	min-width: 0;
	transition: width 240ms ease;
}

.esq-quota-meta {
	color: #4b5563;
	font-size: 14px;
}

.esq-quota-meta strong {
	color: #111827;
	font-size: 18px;
}

.esq-disabled-add-to-cart {
	background: #f3f4f6 !important;
	border-color: #e5e7eb !important;
	box-shadow: none !important;
	color: #9ca3af !important;
	cursor: not-allowed !important;
	opacity: 0.72;
	pointer-events: none !important;
	transform: none !important;
}

.esq-disabled-add-to-cart:hover,
.esq-disabled-add-to-cart:focus,
.esq-disabled-add-to-cart:active {
	background: #f3f4f6 !important;
	border-color: #e5e7eb !important;
	box-shadow: none !important;
	color: #9ca3af !important;
	cursor: not-allowed !important;
	transform: none !important;
}

.esq-product-quota-unavailable {
	position: relative;
}

.esq-product-quota-unavailable > *:not(.esq-sold-out-badge) {
	opacity: 0.52;
}

.esq-product-quota-unavailable img {
	filter: grayscale(0.25);
}

.esq-product-quota-unavailable a[href*="add-to-cart"],
.esq-product-quota-unavailable .add_to_cart_button,
.esq-product-quota-unavailable button[name="add-to-cart"],
.esq-product-quota-unavailable input[name="add-to-cart"] {
	background: #f3f4f6 !important;
	border-color: #e5e7eb !important;
	box-shadow: none !important;
	color: #9ca3af !important;
	cursor: not-allowed !important;
	pointer-events: none !important;
	transform: none !important;
}

.esq-sold-out-badge {
	background: #b42318;
	border-radius: 999px;
	box-shadow: 0 8px 20px rgba(180, 35, 24, 0.18);
	color: #ffffff;
	display: inline-flex;
	font-size: 12px;
	font-weight: 800;
	left: 14px;
	line-height: 1;
	padding: 8px 12px;
	position: absolute;
	text-transform: uppercase;
	top: 14px;
	z-index: 4;
}

.esq-sold-out-badge--inline {
	left: auto;
	position: static;
	top: auto;
}

.esq-quota-badge,
.esq-quota-bar {
	background: #ffffff;
	border: 1px solid #eadfca;
	border-radius: 8px;
	box-shadow: 0 6px 16px rgba(28, 34, 51, 0.06);
	color: #2c355d;
	display: block;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 12px;
	max-width: 360px;
	padding: 10px 12px;
	width: 100%;
}

.esq-quota-badge--empty,
.esq-quota-bar--empty {
	background: #fff8f8;
	border-color: #fecdd3;
	color: #b42318;
}

.esq-quota-badge__top,
.esq-quota-bar__row {
	align-items: center;
	display: flex;
	gap: 8px;
	justify-content: space-between;
}

.esq-quota-bar__label {
	color: #2c355d;
	font-size: 13px;
	font-weight: 800;
}

.esq-quota-bar__count {
	color: #7a5a12;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}

.esq-quota-badge__bar,
.esq-quota-bar__track {
	background: #edf0f5;
	border-radius: 999px;
	height: 7px;
	margin-top: 8px;
	overflow: hidden;
}

.esq-quota-badge__bar span,
.esq-quota-bar__track span {
	background: linear-gradient(90deg, #f5a400 0%, #f5a400 35%, #18a56b 100%);
	border-radius: inherit;
	display: block;
	height: 100%;
	transition: width 240ms ease;
}

.esq-quota-badge--empty .esq-quota-badge__bar,
.esq-quota-bar--empty .esq-quota-bar__track {
	background: rgba(190, 18, 60, 0.16);
}

.esq-quota-badge--empty .esq-quota-badge__bar span,
.esq-quota-bar--empty .esq-quota-bar__track span {
	background: #be123c;
}

.esq-quota-bar--card {
	box-shadow: none;
	font-size: 12px;
	margin-bottom: 10px;
	max-width: none;
	padding: 9px 10px;
}

.esq-quota-bar--card .esq-quota-bar__label,
.esq-quota-bar--card .esq-quota-bar__count {
	font-size: 12px;
}

.esq-quota-bar--detail {
	max-width: 420px;
}

.esq-hype-badge {
	align-items: center;
	background: linear-gradient(135deg, #ff7a00 0%, #f5a400 48%, #ffd166 100%);
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 999px;
	box-shadow: 0 10px 22px rgba(245, 164, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.45);
	color: #ffffff;
	display: inline-flex;
	font-size: 12px;
	font-weight: 900;
	gap: 7px;
	justify-content: center;
	letter-spacing: 0;
	line-height: 1;
	margin: 0 0 10px;
	padding: 8px 12px;
	position: relative;
	text-transform: uppercase;
	width: auto;
}

.esq-hype-badge::after {
	background: rgba(255, 255, 255, 0.38);
	border-radius: 999px;
	content: "";
	height: 4px;
	left: 15%;
	position: absolute;
	right: 35%;
	top: 3px;
}

.esq-hype-badge__spark {
	background: #ffffff;
	border-radius: 50%;
	box-shadow: 0 -6px 0 -2px #ffffff, 5px -3px 0 -3px #ffffff, 5px 4px 0 -3px #ffffff, -5px 4px 0 -3px #ffffff, -5px -3px 0 -3px #ffffff;
	display: inline-block;
	height: 7px;
	position: relative;
	width: 7px;
}

.esq-hype-badge__label {
	color: #ffffff;
	text-shadow: 0 1px 1px rgba(119, 67, 0, 0.28);
}

.esq-hype-badge--card {
	margin-bottom: 10px;
}

.esq-hype-badge--detail {
	margin-bottom: 12px;
	padding: 10px 14px;
}

.esq-viewing-badge {
	align-items: center;
	background: #f7fbff;
	border: 1px solid #bfdbfe;
	border-radius: 8px;
	color: #17406d;
	display: inline-flex;
	font-size: 13px;
	font-weight: 800;
	gap: 8px;
	line-height: 1.25;
	margin: 0 0 10px;
	max-width: 100%;
	padding: 8px 10px;
	width: auto;
}

.esq-viewing-badge__dot {
	background: #22c55e;
	border-radius: 50%;
	box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
	display: inline-block;
	flex: 0 0 auto;
	height: 8px;
	width: 8px;
}

.esq-viewing-badge__label {
	color: #17406d;
}

.esq-viewing-badge--card {
	font-size: 12px;
	margin-bottom: 10px;
}

.esq-viewing-badge--detail {
	font-size: 14px;
	margin-bottom: 12px;
	padding: 10px 12px;
}

.product .esq-quota-badge,
.product .esq-quota-bar,
.product .esq-hype-badge,
.product .esq-viewing-badge {
	clear: both;
}

.esq-single-quota-notice {
	margin-bottom: 12px;
}

@media (max-width: 480px) {
	.esq-quota-card {
		padding: 16px;
	}

	.esq-quota-header,
	.esq-quota-meta {
		align-items: flex-start;
		flex-direction: column;
		gap: 8px;
	}

	.esq-quota-status {
		text-align: left;
	}
}
