:root {
	--blx-red: #ef2b3a;
	--blx-orange: #f58220;
	--blx-orange-dark: #dc6810;
	--blx-dark-red: #a90000;
	--blx-soft-red: #ffc8c8;
	--blx-border: #d6d6d6;
	--blx-text: #151515;
}

.blx-order-form-active form.cart .variations,
.blx-order-form-active form.cart .reset_variations,
.blx-order-form-active form.cart .woocommerce-variation-price,
.blx-order-form-active .blx-order-panel .quantity,
.blx-order-form-active form.cart > .quantity,
.blx-order-form-active form.cart .woocommerce-variation-add-to-cart > .quantity {
	display: none !important;
}

.blx-order-form-active #bambino-order-loading {
	display: none !important;
}

.blx-order-panel,
.blx-order-panel * {
	box-sizing: border-box;
}

.blx-order-panel {
	width: 100%;
	margin: 16px 0 20px;
	padding: 16px;
	color: var(--blx-text);
	background: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
	font-family: inherit;
	direction: ltr;
}

.blx-intro {
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 600;
	text-align: left;
}

.blx-offers {
	display: grid;
	gap: 14px;
}

.blx-offer-card {
	position: relative;
	padding: 13px 11px;
	border: 1px solid var(--blx-border);
	border-radius: 6px;
	background: #fff;
	transition: border-color 160ms ease, background 160ms ease;
}

.blx-offer-card.is-selected {
	color: var(--blx-red);
	border: 2px solid var(--blx-orange);
	background: #fff;
}

.blx-offer-card.is-selected .blx-offer-heading > strong,
.blx-offer-card.is-selected .blx-item-number,
.blx-offer-card.is-selected .blx-item-field > span,
.blx-offer-card.is-selected .blx-print-row label > span {
	color: var(--blx-red) !important;
}

.blx-offer-card.is-selected .blx-offer-heading input[type="radio"]:checked {
	border-color: var(--blx-orange);
	background: var(--blx-orange);
	box-shadow: inset 0 0 0 3px #fff;
}

.blx-offer-heading {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr) auto;
	align-items: center;
	gap: 9px;
	margin: 0;
	cursor: pointer;
}

.blx-offer-heading input[type="radio"] {
	appearance: none;
	width: 20px;
	height: 20px;
	margin: 0;
	border: 1px solid #c9c9c9;
	border-radius: 50%;
	background: #fff;
	box-shadow: none;
	cursor: pointer;
}

.blx-offer-heading input[type="radio"]:checked {
	border: 2px solid var(--blx-red);
	box-shadow: inset 0 0 0 3px #fff;
	background: var(--blx-red);
}

.blx-offer-heading > strong {
	font-size: 15px;
	line-height: 1.25;
	text-align: right;
	direction: rtl;
}

.blx-offer-price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	line-height: 1.25;
	white-space: nowrap;
}

.blx-offer-price b,
.blx-offer-price b .woocommerce-Price-amount,
.blx-offer-price b .woocommerce-Price-currencySymbol {
	display: inline-block;
	color: #fff !important;
	background: transparent !important;
	font-weight: 800;
}

.blx-offer-price b {
	padding: 4px 8px !important;
	font-size: 15px !important;
	color: #fff !important;
	background: var(--blx-red) !important;
	border-radius: 4px;
	line-height: 1.25;
}

.blx-offer-badge,
.blx-offer-badge * {
	color: #fff !important;
}

.blx-offer-price del {
	margin-top: 2px;
	color: #262626;
	font-size: 13px;
}

.blx-offer-badge {
	position: absolute;
	z-index: 2;
	top: -11px;
	right: 14px;
	padding: 5px 10px;
	color: #fff;
	background: #e7325a;
	border-radius: 3px 3px 0 0;
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
}

.blx-offer-badge::before {
	position: absolute;
	left: -10px;
	bottom: 0;
	width: 0;
	height: 0;
	border-right: 10px solid #b3183c;
	border-top: 10px solid transparent;
	content: "";
}

.blx-offer-options {
	display: none;
	margin-top: 13px;
}

.blx-offer-card.is-selected .blx-offer-options {
	display: block;
}

.blx-item-row {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr) minmax(0, 1fr);
	align-items: end;
	gap: 8px;
	margin-top: 7px;
}

.blx-item-number {
	align-self: end;
	padding-bottom: 8px;
	font-size: 13px;
}

.blx-item-field,
.blx-print-row label {
	display: grid;
	gap: 4px;
	margin: 0;
}

.blx-item-field > span,
.blx-print-row label > span {
	font-size: 12px;
	font-weight: 700;
}

.blx-item-field select,
.blx-print-row input {
	width: 100%;
	height: 36px;
	margin: 0;
	padding: 5px 9px;
	color: #111;
	background: #fff;
	border: 1px solid #bcbcbc;
	border-radius: 5px;
	font-family: inherit;
	font-size: 14px;
	box-shadow: none;
}

.blx-print-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	margin: 8px 0 12px 34px;
}

.blx-print-row input {
	direction: rtl;
	text-align: right;
}

.blx-summary {
	margin-top: 15px;
	padding: 4px 8px;
	border: 1px solid var(--blx-border);
	border-radius: 5px;
	background: #fff;
}

.blx-summary > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 32px;
	gap: 15px;
	border-bottom: 1px solid #eee;
	font-size: 14px;
}

.blx-summary > div:last-child {
	border-bottom: 0;
}

.blx-summary strong {
	color: #171717;
	font-weight: 700;
}

.blx-summary .blx-discount-row strong {
	color: var(--blx-red);
}

.blx-summary .blx-total-row {
	min-height: 38px;
	font-weight: 700;
}

.blx-summary .blx-total-row strong {
	font-size: 18px;
}

.blx-discount-row.is-hidden {
	display: none;
}

.blx-customer-fields {
	display: grid;
	gap: 11px;
	margin-top: 15px;
}

.blx-customer-row {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr);
	align-items: center;
	gap: 9px;
	margin: 0;
}

.blx-label {
	font-size: 14px;
	font-weight: 700;
}

.blx-label em {
	color: var(--blx-red);
	font-style: normal;
}

.blx-input-wrap {
	position: relative;
	display: grid;
	grid-template-columns: 41px minmax(0, 1fr);
	min-width: 0;
	height: 43px;
	border: 1px solid #bcbcbc;
	border-radius: 5px;
	background: #fff;
	overflow: visible;
}

.blx-input-wrap > i {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #10202e;
	background: #e9e9e9;
	border-right: 1px solid #c8c8c8;
	border-radius: 4px 0 0 4px;
	font-family: Arial, sans-serif;
	font-size: 16px;
	font-style: normal;
}

.blx-input-wrap input {
	width: 100% !important;
	min-width: 0;
	height: 41px !important;
	margin: 0 !important;
	padding: 8px 13px !important;
	color: #222;
	background: #fff !important;
	border: 0 !important;
	border-radius: 0 4px 4px 0 !important;
	outline: 0;
	font-family: inherit;
	font-size: 13px !important;
	text-align: right;
	direction: rtl;
	box-shadow: none !important;
}

.blx-input-wrap input[type="tel"] {
	direction: ltr !important;
	text-align: left !important;
	font-family: Arial, sans-serif !important;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.2px;
}

.blx-input-wrap:focus-within {
	border-color: var(--blx-red);
	box-shadow: 0 0 0 2px rgba(239, 43, 58, 0.1);
}

.blx-city-wrap {
	z-index: 10;
}

.blx-city-results {
	position: absolute;
	z-index: 99999;
	top: calc(100% + 3px);
	left: 40px;
	right: 0;
	max-height: 220px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #d2d2d2;
	border-radius: 4px;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
}

.blx-city-results[hidden] {
	display: none;
}

.blx-city-result {
	display: block;
	width: 100%;
	padding: 9px 12px;
	color: #222;
	background: #fff;
	border: 0;
	border-bottom: 1px solid #eee;
	font-family: inherit;
	font-size: 13px;
	text-align: left;
	cursor: pointer;
}

.blx-city-result:hover,
.blx-city-result:focus {
	background: #f7f7f7;
}

.blx-native-button-wrap {
	margin-top: 15px;
}

.blx-order-panel .single_add_to_cart_button,
.blx-order-panel button.single_add_to_cart_button {
	display: block !important;
	float: none !important;
	width: 100% !important;
	min-height: 48px;
	margin: 0 !important;
	padding: 11px 18px !important;
	color: #fff !important;
	background: var(--blx-orange) !important;
	border: 0 !important;
	border-radius: 0 !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	cursor: pointer !important;
	box-shadow: none !important;
	opacity: 1 !important;
}

.blx-order-panel .single_add_to_cart_button.disabled,
.blx-order-panel .single_add_to_cart_button[disabled],
.blx-order-panel .single_add_to_cart_button[aria-disabled="true"] {
	color: #fff !important;
	background: var(--blx-orange) !important;
	cursor: pointer !important;
	pointer-events: auto !important;
	opacity: 1 !important;
}

.blx-order-panel .single_add_to_cart_button:hover,
.blx-order-panel .single_add_to_cart_button:focus {
	background: var(--blx-orange-dark) !important;
}

.blx-order-panel .single_add_to_cart_button::before {
	margin-inline-end: 8px;
	content: "▣";
}

form.cart.blx-order-locked .single_add_to_cart_button {
	pointer-events: none !important;
	opacity: 0.7 !important;
}

body.blx-checkout-ar main .entry-title,
body.blx-checkout-ar .woocommerce,
body.blx-checkout-ar .woocommerce-order {
	direction: rtl;
	text-align: right;
}

body.blx-checkout-ar .woocommerce ul.order_details {
	padding-right: 0;
	padding-left: 0;
}

body.blx-checkout-ar .woocommerce ul.order_details li {
	float: right;
	margin-right: 0;
	margin-left: 2em;
	padding-right: 0;
	padding-left: 2em;
	border-right: 0;
	border-left: 1px dashed #d3ced2;
}

body.blx-checkout-ar .woocommerce ul.order_details li:last-child {
	margin-left: 0;
	padding-left: 0;
	border-left: 0;
}

body.blx-checkout-ar .woocommerce table,
body.blx-checkout-ar .woocommerce th,
body.blx-checkout-ar .woocommerce td,
body.blx-checkout-ar .woocommerce address {
	text-align: right;
}

body.blx-order-received-ar main .entry-title,
body.blx-order-received-ar .woocommerce-order-overview {
	display: none !important;
}

body.blx-order-received-ar .woocommerce-order {
	max-width: 720px;
	margin: 0 auto;
	padding: 20px 14px 40px;
}

body.blx-order-received-ar .woocommerce-order > p:not(.woocommerce-thankyou-order-received) {
	display: none;
}

body.blx-order-received-ar .woocommerce-thankyou-order-received {
	margin: 0 0 38px !important;
	padding: 12px 8px 20px !important;
	border: 0 !important;
	background: transparent !important;
	color: #252525 !important;
	text-align: center !important;
}

body.blx-order-received-ar .blx-success-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 76px;
	height: 76px;
	margin: 0 auto 24px;
	border: 5px solid #86c440;
	border-radius: 50%;
	color: #86c440;
	font-size: 52px;
	font-weight: 400;
	line-height: 1;
}

body.blx-order-received-ar .blx-success-title,
body.blx-order-received-ar .blx-success-message,
body.blx-order-received-ar .blx-success-note,
body.blx-order-received-ar .blx-success-contact {
	display: block;
}

body.blx-order-received-ar .blx-success-title {
	margin-bottom: 14px;
	color: #86c440;
	font-size: 30px;
	font-weight: 500;
}

body.blx-order-received-ar .blx-success-message {
	color: #222;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.8;
}

body.blx-order-received-ar .blx-success-note {
	max-width: 620px;
	margin: 20px auto 0;
	color: #666;
	font-size: 16px;
	line-height: 1.8;
}

body.blx-order-received-ar .blx-success-contact {
	margin: 16px auto 0;
	color: #333;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.8;
}

body.blx-order-received-ar .blx-success-contact a,
body.blx-order-received-ar .blx-success-contact strong {
	display: inline-block;
	color: #78ae36;
	font-size: 21px;
	font-weight: 700;
	text-decoration: none;
}

body.blx-order-received-ar .woocommerce-order-details {
	display: none !important;
}

body.blx-order-received-ar .blx-custom-order-details {
	margin: 0 0 32px;
	border: 1px solid #e3e3e3;
	border-radius: 7px;
	background: #fff;
	overflow: hidden;
}

body.blx-order-received-ar .blx-order-products {
	padding: 12px 24px 0;
}

body.blx-order-received-ar .blx-product-table {
	display: grid;
	grid-template-columns: minmax(150px, 2fr) repeat(3, minmax(85px, 1fr));
	gap: 10px;
	align-items: center;
	padding: 16px 8px;
}

body.blx-order-received-ar .blx-product-table-head {
	border-bottom: 1px solid #e8e8e8;
	color: #999;
	font-size: 15px;
}

body.blx-order-received-ar .blx-product-table-row {
	color: #222;
	font-size: 16px;
}

body.blx-order-received-ar .blx-product-name strong {
	display: block;
	font-size: 18px;
}

body.blx-order-received-ar .blx-product-name .wc-item-meta {
	margin: 6px 0 0;
	padding: 0;
	color: #777;
	font-size: 13px;
	list-style: none;
}

body.blx-order-received-ar .blx-product-name .wc-item-meta li,
body.blx-order-received-ar .blx-product-name .wc-item-meta p {
	margin: 0;
	padding: 0;
}

body.blx-order-received-ar .blx-order-summary-card {
	padding: 26px 32px;
	border-top: 1px solid #e8e8e8;
}

body.blx-order-received-ar .blx-order-summary-card h2 {
	margin: 0 0 18px;
	color: #111;
	font-size: 24px;
	font-weight: 700;
	text-align: right;
}

body.blx-order-received-ar .blx-order-summary-card > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 12px 0;
	color: #222;
	font-size: 17px;
}

body.blx-order-received-ar .blx-order-summary-card .blx-grand-total {
	margin-top: 10px;
	padding-top: 20px;
	border-top: 1px solid #e8e8e8;
	font-size: 21px;
	font-weight: 700;
}

body.blx-order-received-ar .blx-return-shop {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	min-height: 70px;
	padding: 14px 20px;
	border: 2px solid #222;
	border-radius: 6px;
	background: #fff;
	color: #111;
	font-size: 23px;
	font-weight: 700;
	text-decoration: none;
}

body.blx-order-received-ar .blx-return-shop:hover,
body.blx-order-received-ar .blx-return-shop:focus {
	background: #f7f7f7;
	color: #111;
}

@media (max-width: 640px) {
	body.blx-order-received-ar .woocommerce-order {
		padding: 10px 4px 30px;
	}

	body.blx-order-received-ar .blx-success-icon {
		width: 64px;
		height: 64px;
		font-size: 43px;
	}

	body.blx-order-received-ar .blx-success-title {
		font-size: 25px;
	}

	body.blx-order-received-ar .blx-success-message {
		font-size: 20px;
	}

	body.blx-order-received-ar .woocommerce-order-details {
		display: none !important;
	}

	body.blx-order-received-ar .blx-order-products {
		padding: 8px 10px 0;
	}

	body.blx-order-received-ar .blx-product-table {
		grid-template-columns: minmax(115px, 1.8fr) repeat(3, minmax(58px, 1fr));
		gap: 5px;
		padding: 13px 3px;
		font-size: 13px;
	}

	body.blx-order-received-ar .blx-product-table-head {
		font-size: 12px;
	}

	body.blx-order-received-ar .blx-product-name strong {
		font-size: 15px;
	}

	body.blx-order-received-ar .blx-order-summary-card {
		padding: 22px 18px;
	}

	body.blx-order-received-ar .blx-return-shop {
		min-height: 62px;
		font-size: 20px;
	}

	body.blx-checkout-ar .woocommerce ul.order_details li {
		float: none;
		width: 100%;
		margin: 0;
		padding: 12px 0;
		border-left: 0;
		border-bottom: 1px solid #e5e5e5;
	}

	.blx-order-panel {
		padding: 12px;
		border-radius: 8px;
	}

	.blx-offer-heading {
		grid-template-columns: 20px minmax(0, 1fr);
	}

	.blx-offer-price {
		grid-column: 2;
		align-items: flex-start;
	}

	.blx-item-row {
		grid-template-columns: 25px minmax(0, 1fr);
	}

	.blx-item-row .blx-item-field:last-child {
		grid-column: 2;
	}

	.blx-print-row {
		grid-template-columns: 1fr;
		margin-left: 33px;
	}

	.blx-customer-row {
		grid-template-columns: 1fr;
		gap: 5px;
	}
}
