.eg-option-basket-panel {
	margin: 16px 0 12px;
	padding: 16px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #fafafa;
}

.eg-option-basket-title {
	font-weight: 700;
	margin-bottom: 12px;
}

.eg-option-basket-empty {
	color: #6b7280;
	font-size: 14px;
	padding: 8px 0;
}

.eg-option-basket-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.eg-option-basket-row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 10px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #f3f4f6;
}

.eg-option-row-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}

.eg-option-row-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.eg-option-remove {
	flex-shrink: 0;
	border: 0;
	background: transparent;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	color: #9ca3af;
	padding: 0;
}

.eg-option-row-label {
	flex: 1;
	min-width: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.45;
	word-break: keep-all;
}

.eg-option-row-price {
	flex-shrink: 0;
	font-size: 18px;
	font-weight: 800;
	color: #111827;
	white-space: nowrap;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.eg-option-row-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
	flex-shrink: 0;
}

.eg-option-row-qty button {
	width: 32px;
	height: 32px;
	border: 0;
	background: #f3f4f6;
	cursor: pointer;
	font-size: 18px;
}

.eg-option-row-qty span {
	min-width: 28px;
	text-align: center;
	font-weight: 700;
}

.eg-option-basket-summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 8px;
	padding: 12px 14px;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	background: #f3f4f6;
	font-weight: 700;
}

.eg-option-basket-count {
	font-size: 15px;
	color: #374151;
}

.eg-option-basket-count strong {
	color: #dc2626;
	font-weight: 800;
}

.eg-option-basket-total-box {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-left: auto;
}

.eg-option-basket-total-label {
	font-size: 15px;
	color: #374151;
	font-weight: 600;
}

.eg-option-basket-total-value {
	font-size: 22px;
	font-weight: 800;
	color: #dc2626;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.eg-option-basket-actions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 0 0 16px;
	--eg-primary: #f97316;
	--eg-primary-hover: #ea580c;
	--eg-primary-soft: #fff7ed;
}

.eg-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.eg-btn-cart {
	border: 1px solid var(--eg-primary);
	background: #fff;
	color: #111827;
}

.eg-btn-cart:hover {
	background: var(--eg-primary-soft);
}

.eg-btn-buy-now {
	border: 1px solid var(--eg-primary);
	background: var(--eg-primary);
	color: #fff;
}

.eg-btn-buy-now:hover {
	background: var(--eg-primary-hover);
	border-color: var(--eg-primary-hover);
}

form.cart button.single_add_to_cart_button {
	display: none !important;
}

form.cart .quantity {
	display: none !important;
}

.wapf-product-totals {
	display: none !important;
}

/* Placeholder state: lighter gray than field labels above */
.wapf-field-select select.wapf-input.eg-wapf-select-empty {
	color: #9ca3af;
}

.wapf-field-select select.wapf-input:not(.eg-wapf-select-empty) {
	color: #111827;
}
