/**
 * Ori — WC Bulk Products: Frontend Styles
 *
 * Minimal base styles. Most styling is configurable via Elementor widget controls.
 * All classes use the ori-bulk- prefix.
 *
 * @package ori-wc-bulk-products
 */

/* Purchase mode toggle */
.ori-bulk-toggle-shell {
	width: 100%;
	margin-bottom: 16px;
}

.ori-bulk-toggle-heading {
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
}

.ori-bulk-toggle-wrapper {
	display: flex;
	gap: var(--ori-bulk-toggle-gap, 12px);
	column-gap: var(--ori-bulk-toggle-gap, 12px);
	row-gap: var(--ori-bulk-toggle-gap, 12px);
	width: 100%;
}

.ori-bulk-toggle-wrapper--vertical {
	flex-direction: column;
}

.ori-bulk-toggle-label {
	position: relative;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.ori-bulk-toggle-label:hover {
	border-color: #999;
}

.ori-bulk-toggle-active {
	border-color: #2271b1;
	background-color: #f0f6fc;
}

.ori-bulk-toggle-radio {
	flex: 0 0 auto;
	margin: 0;
}

.ori-bulk-toggle-radio--hidden {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	opacity: 0;
	pointer-events: none;
}

.ori-bulk-toggle-wrapper--cards {
	flex-direction: column;
	align-items: stretch;
}

.ori-bulk-toggle-wrapper--cards.ori-bulk-toggle-wrapper--cards_horizontal {
	flex-direction: row;
}

.ori-bulk-toggle-card {
	width: 100%;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 14px;
	padding: 16px;
	border: 1px solid #d9dfe3;
	border-radius: 6px;
	background: #fff;
	color: #111;
}

.ori-bulk-toggle-card .ori-bulk-toggle-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 1 1 260px;
	gap: 16px;
	min-width: 0;
}

.ori-bulk-toggle-copy,
.ori-bulk-toggle-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.ori-bulk-toggle-meta {
	align-items: flex-start;
	text-align: start;
}

.ori-bulk-toggle-title {
	display: block;
	color: #36adbd;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}

.ori-bulk-toggle-subtitle,
.ori-bulk-toggle-unit-price {
	display: block;
	font-size: 13px;
	line-height: 1.35;
	color: #222;
}

.ori-bulk-toggle-price {
	display: block;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;
	color: #111;
	white-space: nowrap;
}

.ori-bulk-toggle-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-start;
	padding: 3px 10px;
	border-radius: 3px;
	background: #27a983;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

.ori-bulk-toggle-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	color: #666;
	line-height: 1;
}

.ori-bulk-toggle-icon svg,
.ori-bulk-toggle-icon img {
	display: block;
	width: 36px;
	height: 36px;
	object-fit: contain;
	fill: currentColor;
}

.ori-bulk-toggle-detail {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 100%;
	gap: 8px;
	margin: 0 -16px -16px;
	padding: 12px 16px;
	border-radius: 0 0 6px 6px;
	background: #e9f9fb;
	color: #111;
	font-size: 13px;
	line-height: 1.4;
}

.ori-bulk-toggle-detail-mark {
	font-weight: 700;
	color: currentColor;
}

.ori-bulk-toggle-wrapper--cards_horizontal .ori-bulk-toggle-card {
	flex: 1 1 0;
}

/* Savings badge */
.ori-bulk-savings-badge {
	display: inline-block;
	padding: 4px 10px;
	background-color: #4caf50;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	border-radius: 3px;
	margin-top: 8px;
}

/* Box description */
.ori-bulk-box-description {
	margin-top: 8px;
	font-size: 14px;
	color: #555;
}

/* Bulk info wrapper (hidden by default, shown when box mode is selected) */
.ori-bulk-info-wrapper {
	margin-bottom: 12px;
}

/* Archive badge */
.ori-bulk-archive-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	background-color: #2271b1;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	border-radius: 3px;
	margin-top: 4px;
}

/* Loop add-to-box button */
.ori-bulk-loop-add-to-box .button {
	margin-top: 4px;
}

/* Loop purchase module */
.ori-bulk-loop-purchase {
	--ori-loop-actions-gap: 10px;
	--ori-loop-actions-min-height: 32px;
	--ori-loop-price-current-order: 1;
	--ori-loop-price-regular-order: 2;
	--ori-loop-price-badge-order: 3;
	--ori-loop-toggle-track-order: 1;
	--ori-loop-toggle-label-order: 2;
	--ori-loop-quantity-order: 1;
	--ori-loop-button-order: 2;
	--ori-loop-quantity-width: 92px;
	--ori-loop-quantity-height: 32px;
	--ori-loop-quantity-button-width: 28px;
	--ori-loop-quantity-separator-color: #edf1f6;
	--ori-loop-button-width: auto;
	--ori-loop-button-min-height: 32px;
	--ori-loop-button-min-width: 0;
	--ori-loop-button-icon-size: 16px;
	--ori-loop-notice-min-height: 14px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	border: 1px solid #e11d1d;
	border-radius: 6px;
	background: #fff;
	color: #111827;
	line-height: 1.35;
}

.ori-bulk-loop-purchase--rtl {
	direction: rtl;
}

.ori-bulk-loop-purchase--ltr {
	direction: ltr;
}

.ori-bulk-loop-purchase *,
.ori-bulk-loop-purchase *::before,
.ori-bulk-loop-purchase *::after {
	box-sizing: border-box;
}

.ori-bulk-loop-price-row {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
	min-height: 24px;
	font-variant-numeric: tabular-nums;
}

.ori-bulk-loop-price-current {
	order: var(--ori-loop-price-current-order);
	font-weight: 800;
	font-size: 18px;
	line-height: 1.1;
	white-space: nowrap;
}

.ori-bulk-loop-price-regular {
	order: var(--ori-loop-price-regular-order);
	font-size: 12px;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration-thickness: 1px;
}

.ori-bulk-loop-discount-badge {
	display: inline-flex;
	order: var(--ori-loop-price-badge-order);
	align-items: center;
	justify-content: center;
	min-height: 20px;
	padding: 2px 7px;
	border-radius: 2px;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.elementor-widget-ori_bulk_loop_add_to_box.elementor-widget-ori_bulk_loop_add_to_box .ori-bulk-loop-purchase.ori-bulk-loop-purchase .ori-bulk-loop-price-current .amount,
.elementor-widget-ori_bulk_loop_add_to_box.elementor-widget-ori_bulk_loop_add_to_box .ori-bulk-loop-purchase.ori-bulk-loop-purchase .ori-bulk-loop-price-current .woocommerce-Price-amount,
.elementor-widget-ori_bulk_loop_add_to_box.elementor-widget-ori_bulk_loop_add_to_box .ori-bulk-loop-purchase.ori-bulk-loop-purchase .ori-bulk-loop-price-current .amount.woocommerce-Price-amount,
.elementor-widget-ori_bulk_loop_add_to_box.elementor-widget-ori_bulk_loop_add_to_box .ori-bulk-loop-purchase.ori-bulk-loop-purchase .ori-bulk-loop-price-current bdi,
.elementor-widget-ori_bulk_loop_add_to_box.elementor-widget-ori_bulk_loop_add_to_box .ori-bulk-loop-purchase.ori-bulk-loop-purchase .ori-bulk-loop-price-current .woocommerce-Price-currencySymbol,
.elementor-widget-ori_bulk_loop_add_to_box.elementor-widget-ori_bulk_loop_add_to_box .ori-bulk-loop-purchase.ori-bulk-loop-purchase .ori-bulk-loop-price-regular .amount,
.elementor-widget-ori_bulk_loop_add_to_box.elementor-widget-ori_bulk_loop_add_to_box .ori-bulk-loop-purchase.ori-bulk-loop-purchase .ori-bulk-loop-price-regular .woocommerce-Price-amount,
.elementor-widget-ori_bulk_loop_add_to_box.elementor-widget-ori_bulk_loop_add_to_box .ori-bulk-loop-purchase.ori-bulk-loop-purchase .ori-bulk-loop-price-regular .amount.woocommerce-Price-amount,
.elementor-widget-ori_bulk_loop_add_to_box.elementor-widget-ori_bulk_loop_add_to_box .ori-bulk-loop-purchase.ori-bulk-loop-purchase .ori-bulk-loop-price-regular bdi,
.elementor-widget-ori_bulk_loop_add_to_box.elementor-widget-ori_bulk_loop_add_to_box .ori-bulk-loop-purchase.ori-bulk-loop-purchase .ori-bulk-loop-price-regular .woocommerce-Price-currencySymbol,
.ori-bulk-loop-price-current .amount,
.ori-bulk-loop-price-current .woocommerce-Price-amount,
.ori-bulk-loop-price-current .amount.woocommerce-Price-amount,
.ori-bulk-loop-price-current bdi,
.ori-bulk-loop-price-current .woocommerce-Price-currencySymbol,
.ori-bulk-loop-price-regular .amount,
.ori-bulk-loop-price-regular .woocommerce-Price-amount,
.ori-bulk-loop-price-regular .amount.woocommerce-Price-amount,
.ori-bulk-loop-price-regular bdi,
.ori-bulk-loop-price-regular .woocommerce-Price-currencySymbol {
	color: inherit !important;
	font: inherit !important;
	font-size: inherit !important;
	font-weight: inherit !important;
	line-height: inherit !important;
	letter-spacing: inherit !important;
	text-decoration: inherit;
}

.ori-bulk-loop-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 38px;
	max-width: 100%;
	padding: 6px 14px;
	border: 1px solid #d7dce2;
	border-radius: 999px;
	background: #fff;
	box-shadow: inset 0 1px 2px rgba(17, 24, 39, 0.04);
	cursor: pointer;
}

.ori-bulk-loop-toggle-input {
	position: absolute;
	inline-size: 1px;
	block-size: 1px;
	opacity: 0;
	pointer-events: none;
}

.ori-bulk-loop-toggle-track {
	position: relative;
	display: inline-flex;
	order: var(--ori-loop-toggle-track-order);
	flex: 0 0 auto;
	width: 38px;
	height: 22px;
	border-radius: 999px;
	transition: background-color 0.2s ease;
}

.ori-bulk-loop-toggle-knob {
	position: absolute;
	top: 3px;
	left: 3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.2);
	transition: transform 0.2s ease;
}

.ori-bulk-loop-purchase--mode-box .ori-bulk-loop-toggle-knob {
	transform: translateX(16px);
}

.ori-bulk-loop-purchase--rtl.ori-bulk-loop-purchase--mode-box .ori-bulk-loop-toggle-knob {
	transform: translateX(-16px);
}

.ori-bulk-loop-purchase--rtl .ori-bulk-loop-toggle-knob {
	left: auto;
	right: 3px;
}

.ori-bulk-loop-toggle-label {
	display: block;
	order: var(--ori-loop-toggle-label-order);
	min-width: 0;
	overflow-wrap: anywhere;
	text-align: center;
	font-size: 13px;
	font-weight: 700;
}

.ori-bulk-loop-segmented {
	display: inline-grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	width: min(100%, 220px);
	padding: 3px;
	border: 1px solid #d7dce2;
	border-radius: 999px;
	background: #fff;
}

.ori-bulk-loop-segment {
	min-height: 30px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #111827;
	font: inherit;
	font-size: 12px;
	font-weight: 700;
	cursor: pointer;
}

.ori-bulk-loop-segment--active {
	background: #51c3cf;
	color: #fff;
}

.ori-bulk-loop-savings {
	width: 100%;
	min-height: 16px;
	text-align: center;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.ori-bulk-loop-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: var(--ori-loop-actions-gap);
	width: 100%;
	min-height: var(--ori-loop-actions-min-height);
	min-width: 0;
}

.ori-bulk-loop-purchase--rtl .ori-bulk-loop-actions {
	flex-direction: row;
}

.ori-bulk-loop-purchase--ltr .ori-bulk-loop-actions {
	flex-direction: row;
}

.ori-bulk-loop-purchase--rtl .ori-bulk-loop-quantity {
	order: var(--ori-loop-quantity-order);
}

.ori-bulk-loop-purchase--rtl .ori-bulk-loop-cart-button {
	order: var(--ori-loop-button-order);
}

.ori-bulk-loop-purchase--ltr .ori-bulk-loop-quantity {
	order: var(--ori-loop-quantity-order);
}

.ori-bulk-loop-purchase--ltr .ori-bulk-loop-cart-button {
	order: var(--ori-loop-button-order);
}

/*
 * Row Layout (CSS Grid mode). The --grid class is added in PHP when the
 * "Side-by-side rows" control is on; the parent's display:grid + column
 * template come from Elementor selectors. Each row reads its order and
 * column span from the --ori-loop-row-*-* custom properties emitted inline
 * by get_layout_order_style_attr(). display:contents dissolves the actions
 * wrapper so the quantity and button become independent grid items that can
 * be ordered and spanned separately. Scoped to --grid (and placed after the
 * within-actions order rules) so normal stacked mode is untouched.
 */
.ori-bulk-loop-purchase--grid .ori-bulk-loop-actions {
	display: contents;
}

.ori-bulk-loop-purchase--grid .ori-bulk-loop-price-row {
	order: var(--ori-loop-row-price-order, 1);
	grid-column: var(--ori-loop-row-price-span, 1 / -1);
}

.ori-bulk-loop-purchase--grid .ori-bulk-loop-toggle,
.ori-bulk-loop-purchase--grid .ori-bulk-loop-segmented {
	order: var(--ori-loop-row-toggle-order, 2);
	grid-column: var(--ori-loop-row-toggle-span, 1 / -1);
}

.ori-bulk-loop-purchase--grid .ori-bulk-loop-savings {
	order: var(--ori-loop-row-savings-order, 3);
	grid-column: var(--ori-loop-row-savings-span, 1 / -1);
}

.ori-bulk-loop-purchase--grid .ori-bulk-loop-quantity {
	order: var(--ori-loop-row-quantity-order, 4);
	grid-column: var(--ori-loop-row-quantity-span, 1 / -1);
}

.ori-bulk-loop-purchase--grid .ori-bulk-loop-cart-button {
	order: var(--ori-loop-row-button-order, 5);
	grid-column: var(--ori-loop-row-button-span, 1 / -1);
}

.ori-bulk-loop-purchase--grid .ori-bulk-loop-notice {
	order: var(--ori-loop-row-notice-order, 6);
	grid-column: var(--ori-loop-row-notice-span, 1 / -1);
}

/*
 * "One column on mobile" — when the row layout is on, this collapses the grid
 * to a single column on phones so every row (including the split quantity and
 * button) stacks. Forces the track list to 1fr AND resets every row to span
 * the full width: a leftover per-row span (e.g. "span 2") would otherwise make
 * the grid generate an implicit second column, re-introducing a side-by-side
 * layout. !important overrides the Elementor-generated track list and the
 * inline per-row span custom properties. 767px = Elementor's mobile breakpoint.
 */
@media (max-width: 767px) {
	.ori-bulk-loop-purchase--stack-mobile {
		grid-template-columns: 1fr !important;
		justify-items: center;
	}

	.ori-bulk-loop-purchase--stack-mobile .ori-bulk-loop-price-row,
	.ori-bulk-loop-purchase--stack-mobile .ori-bulk-loop-toggle,
	.ori-bulk-loop-purchase--stack-mobile .ori-bulk-loop-segmented,
	.ori-bulk-loop-purchase--stack-mobile .ori-bulk-loop-savings,
	.ori-bulk-loop-purchase--stack-mobile .ori-bulk-loop-quantity,
	.ori-bulk-loop-purchase--stack-mobile .ori-bulk-loop-cart-button,
	.ori-bulk-loop-purchase--stack-mobile .ori-bulk-loop-notice {
		grid-column: 1 / -1 !important;
	}

	/* Keep the add-to-cart button full width (typical mobile CTA) while
	   justify-items: center centers the narrower rows (quantity, toggle). */
	.ori-bulk-loop-purchase--stack-mobile .ori-bulk-loop-cart-button {
		justify-self: stretch;
	}
}

.ori-bulk-loop-quantity {
	display: inline-grid;
	grid-template-columns: var(--ori-loop-quantity-button-width) minmax(28px, 1fr) var(--ori-loop-quantity-button-width);
	align-items: center;
	overflow: hidden;
	direction: ltr;
	width: var(--ori-loop-quantity-width);
	height: var(--ori-loop-quantity-height);
	min-height: 32px;
	border: 1px solid #dce3ed;
	background: #fff;
}

.ori-bulk-loop-qty-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 30px;
	padding: 0;
	border: 0;
	background: transparent;
	line-height: 1;
	cursor: pointer;
}

.ori-bulk-loop-qty-button svg,
.ori-bulk-loop-qty-button i {
	width: 12px;
	height: 12px;
	fill: currentColor;
}

.ori-bulk-loop-qty-input {
	width: 100%;
	min-width: 0;
	height: 30px;
	padding: 0;
	border: 0;
	border-inline: 1px solid #edf1f6;
	background: transparent;
	text-align: center;
	font-size: 13px;
	font-weight: 800;
	line-height: 30px;
	appearance: textfield;
	-moz-appearance: textfield;
}

.ori-bulk-loop-qty-input::-webkit-outer-spin-button,
.ori-bulk-loop-qty-input::-webkit-inner-spin-button {
	margin: 0;
	-webkit-appearance: none;
}

.ori-bulk-loop-purchase .ori-bulk-loop-quantity,
.elementor-widget-ori_bulk_loop_add_to_box .ori-bulk-loop-purchase .ori-bulk-loop-quantity {
	display: inline-grid !important;
	grid-template-columns: var(--ori-loop-quantity-button-width) minmax(28px, 1fr) var(--ori-loop-quantity-button-width) !important;
	grid-auto-flow: column;
	align-items: stretch;
	width: var(--ori-loop-quantity-width) !important;
	height: var(--ori-loop-quantity-height);
	min-height: var(--ori-loop-quantity-height);
	max-height: var(--ori-loop-quantity-height);
	padding: 0 !important;
	gap: 0 !important;
	line-height: 1;
	overflow: hidden;
	box-sizing: border-box;
}

.ori-bulk-loop-purchase .ori-bulk-loop-qty-button,
.elementor-widget-ori_bulk_loop_add_to_box .ori-bulk-loop-purchase .ori-bulk-loop-qty-button {
	appearance: none;
	-webkit-appearance: none;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: var(--ori-loop-quantity-button-width) !important;
	min-width: var(--ori-loop-quantity-button-width) !important;
	max-width: var(--ori-loop-quantity-button-width) !important;
	height: 100% !important;
	min-height: 0 !important;
	max-height: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	color: inherit;
	font: inherit;
	line-height: 1 !important;
	text-align: center;
	text-indent: 0;
	text-transform: none;
	position: static;
	box-sizing: border-box;
}

.ori-bulk-loop-purchase .ori-bulk-loop-qty-button svg,
.ori-bulk-loop-purchase .ori-bulk-loop-qty-button i,
.elementor-widget-ori_bulk_loop_add_to_box .ori-bulk-loop-purchase .ori-bulk-loop-qty-button svg,
.elementor-widget-ori_bulk_loop_add_to_box .ori-bulk-loop-purchase .ori-bulk-loop-qty-button i {
	display: block;
	width: 12px !important;
	height: 12px !important;
	margin: 0 !important;
}

.ori-bulk-loop-purchase .ori-bulk-loop-qty-input,
.elementor-widget-ori_bulk_loop_add_to_box .ori-bulk-loop-purchase .ori-bulk-loop-qty-input {
	appearance: textfield;
	-moz-appearance: textfield;
	-webkit-appearance: none;
	display: block !important;
	width: 100% !important;
	min-width: 28px !important;
	max-width: none !important;
	height: 100% !important;
	min-height: 0 !important;
	max-height: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-inline: 1px solid var(--ori-loop-quantity-separator-color) !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	color: inherit;
	text-align: center !important;
	font-size: 13px;
	font-weight: 800;
	line-height: normal !important;
	box-sizing: border-box;
}

.ori-bulk-loop-cart-button.button,
.ori-bulk-loop-cart-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 var(--ori-loop-button-width);
	min-width: var(--ori-loop-button-min-width);
	min-height: var(--ori-loop-button-min-height);
	gap: 0;
	border: 0;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.ori-bulk-loop-button-text {
	display: inline-block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ori-bulk-loop-button-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	line-height: 1;
}

.ori-bulk-loop-button-icon svg,
.ori-bulk-loop-button-icon i {
	display: block;
	width: var(--ori-loop-button-icon-size);
	height: var(--ori-loop-button-icon-size);
	fill: currentColor;
}

.ori-bulk-loop-cart-button--loading,
.ori-bulk-loop-cart-button--disabled,
.ori-bulk-loop-purchase--disabled .ori-bulk-loop-cart-button,
.ori-bulk-loop-purchase--disabled .ori-bulk-loop-toggle,
.ori-bulk-loop-purchase--disabled .ori-bulk-loop-qty-button,
.ori-bulk-loop-purchase--disabled .ori-bulk-loop-qty-input {
	cursor: not-allowed;
	opacity: 0.75;
}

.ori-bulk-loop-notice {
	min-height: var(--ori-loop-notice-min-height);
	width: 100%;
	text-align: center;
	font-size: 11px;
	line-height: 1.25;
}

.ori-bulk-loop-purchase--hide-wc-forward .ori-bulk-loop-actions > .added_to_cart.wc-forward {
	display: none !important;
}

.ori-bulk-loop-purchase--editor-empty {
	padding: 10px;
	border-color: #d7dce2;
	color: #555;
	font-size: 12px;
	text-align: center;
}

@media (max-width: 360px) {
	.ori-bulk-loop-actions {
		flex-wrap: nowrap;
	}
}

.ori-bulk-cart-item-badge {
	font-weight: 600;
}

.ori-bulk-cart-purchase-line {
	display: inline-block;
	font-size: 0.9em;
	line-height: 1.45;
}

.woocommerce dl.variation dt[class~="variation-"],
dl.variation dt[class~="variation-"],
dl.variation dt:has(+ dd .ori-bulk-cart-purchase-line) {
	display: none !important;
}

.woocommerce dl.variation dd[class~="variation-"],
dl.variation dd:has(.ori-bulk-cart-purchase-line) {
	margin-inline-start: 0 !important;
	margin-inline-end: 0 !important;
}

.ori-bulk-cart-purchase-line strong {
	font-weight: 700;
}

/* Responsive: stack toggle on narrow screens */
@media (max-width: 480px) {
	.ori-bulk-toggle-wrapper {
		flex-direction: column;
	}

	.ori-bulk-toggle-card .ori-bulk-toggle-main {
		align-items: flex-start;
		flex-direction: column;
	}

	.ori-bulk-toggle-wrapper--cards_horizontal .ori-bulk-toggle-card {
		flex-basis: auto;
	}
}
