body,
button,
input,
select,
optgroup,
textarea,
.woocommerce,
.site-main,
.site-header,
.site-footer,
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: "Cairo", sans-serif !important;
}

body {
	font-size: 17px;
	line-height: 1.75;
}

#header {
	margin-bottom: 0 !important;
}

#header [data-device="desktop"] [data-row="middle"] {
	--height: 90px !important;
}

#header [data-device="mobile"] [data-row="middle"] {
	--height: 80px !important;
}

#header [data-device="desktop"] .ct-container,
#header [data-device="mobile"] .ct-container {
	position: relative !important;
}

#header [data-device="desktop"] .site-branding[data-id="logo"],
#header [data-device="mobile"] .site-branding[data-id="logo"] {
	left: 50%;
	margin: 0 !important;
	position: absolute !important;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 5;
}

#header [data-device="desktop"] .site-logo-container,
#header [data-device="mobile"] .site-logo-container {
	align-items: center;
	display: flex !important;
	justify-content: center;
}

#header [data-device="desktop"] .site-logo-container img {
	height: 78px !important;
	max-height: 78px !important;
	max-width: none !important;
	object-fit: contain;
	width: 90px !important;
}

#header [data-device="mobile"] .site-logo-container img {
	height: 72px !important;
	max-height: 72px !important;
	max-width: none !important;
	object-fit: contain;
	width: 82px !important;
}

.woocommerce ul.products li.product,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .product-categories,
.woocommerce ul.products li.product .ct-woo-card-actions,
.woocommerce ul.products li.product .ct-woo-card-extra {
	text-align: center !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 1.16rem !important;
	font-weight: 750 !important;
	line-height: 1.65 !important;
	margin-inline: auto !important;
}

.woocommerce ul.products li.product .price {
	display: block !important;
	font-family: "Cairo", sans-serif !important;
	font-size: 1.04rem !important;
	font-weight: 800 !important;
	margin-inline: auto !important;
	width: 100%;
}

.woocommerce ul.products li.product .price *,
.woocommerce .price,
.woocommerce .price *,
.woocommerce .amount,
.woocommerce .amount * {
	font-family: "Cairo", sans-serif !important;
}

.woocommerce ul.products li.product .product-categories {
	display: block;
	font-size: 0.86rem;
	margin-inline: auto;
	width: 100%;
}

.single-product .summary > .product_title,
.single-product .summary > .price {
	text-align: center !important;
}

@media (min-width: 769px) {
	.single-product .summary > .product_title {
		display: inline-block !important;
		margin: 0 0 16px !important;
		padding-inline-end: 10px;
		text-align: right !important;
		vertical-align: middle;
		width: calc(100% - 172px);
	}

	.single-product .summary > .price {
		align-items: center;
		color: #0b1f38 !important;
		display: inline-flex !important;
		font-size: 1.75rem !important;
		font-weight: 900 !important;
		justify-content: center;
		line-height: 1.25 !important;
		margin: 0 0 16px !important;
		vertical-align: middle;
		white-space: nowrap;
		width: 166px;
	}
}

.single-product .summary > .price,
.single-product .summary > .price *,
.single-product .summary > .price .amount {
	color: #0b1f38 !important;
	font-weight: 900 !important;
}

.tax-product_cat .hero-section[data-type="type-2"] .entry-header,
.post-type-archive-product .hero-section[data-type="type-2"] .entry-header {
	min-height: 120px !important;
	padding-block: 22px !important;
}

.tax-product_cat .hero-section .page-title,
.post-type-archive-product .hero-section .page-title {
	margin-block: 0 !important;
}

.home .ecomflow-hero {
	min-height: 500px !important;
	padding-block: 44px !important;
}

.home .ecomflow-visual {
	min-height: 350px !important;
}

.home .ecomflow-card {
	height: 350px !important;
	width: min(100%, 360px) !important;
}

.home .ecomflow-category {
	background-repeat: no-repeat !important;
}

.home .ecomflow-category-content {
	position: relative;
	z-index: 2;
}

.woocommerce ul.products li.product .button {
	display: table;
	font-family: "Cairo", sans-serif !important;
	margin-inline: auto !important;
	text-align: center;
}

.single-product .ct-container-full[data-content="normal"] {
	padding-top: 0 !important;
}

.single-product .hero-section {
	display: none !important;
}

.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery .ct-product-gallery-container,
.single-product .woocommerce-product-gallery .ct-media-container {
	aspect-ratio: 1 / 1 !important;
	height: auto !important;
	overflow: hidden;
}

.single-product .woocommerce-product-gallery .ct-media-container img {
	aspect-ratio: 1 / 1 !important;
	height: 100% !important;
	object-fit: cover !important;
	width: 100% !important;
}

.single-product .product_meta {
	display: none !important;
}

body.ecomflow-direct-enabled.single-product .summary > .ct-product-divider,
body.ecomflow-direct-enabled.single-product .summary > .ct-product-add-to-cart {
	display: none !important;
}

body.ecomflow-direct-enabled.single-product .woocommerce-tabs {
	padding-top: 20px !important;
}

.woocommerce-order-received .woocommerce-order > .woocommerce-notice,
.woocommerce-order-received .woocommerce-order > .woocommerce-order-overview,
.woocommerce-order-received .woocommerce-order > .woocommerce-thankyou-order-details,
.woocommerce-order-received .woocommerce-order > p:not([class]),
.woocommerce-order-received .woocommerce-order-details,
.woocommerce-order-received .woocommerce-customer-details {
	display: none !important;
}

.woocommerce-order-received .hero-section,
.woocommerce-order-received .entry-header {
	display: none !important;
}

.woocommerce-order-received .ct-container-full[data-content="normal"] {
	padding-top: 18px !important;
}

.ecomflow-thankyou-panel {
	background: linear-gradient(145deg, #fffaf3 0%, #fff 58%, #eef9f2 100%);
	border: 1px solid #eadfce;
	border-radius: 20px;
	box-shadow: 0 16px 46px rgb(29 37 45 / 8%);
	font-family: "Cairo", sans-serif;
	margin: 18px 0 28px;
	padding: 30px 24px;
	text-align: center;
}

.ecomflow-upsell-section {
	background: #fff;
	border: 1px solid #e7eaf0;
	border-radius: 20px;
	box-shadow: 0 16px 46px rgb(29 37 45 / 7%);
	font-family: "Cairo", sans-serif;
	margin: 0 0 30px;
	padding: 28px 22px;
}

.ecomflow-upsell-heading {
	margin: 0 auto 22px;
	max-width: 680px;
	text-align: center;
}

.ecomflow-upsell-heading > span {
	background: #fff1e6;
	border-radius: 99px;
	color: #a64b0b;
	display: inline-block;
	font-size: 0.78rem;
	font-weight: 800;
	margin-bottom: 8px;
	padding: 5px 11px;
}

.ecomflow-upsell-heading h2 {
	color: #172238;
	font-family: "Cairo", sans-serif;
	font-size: clamp(1.35rem, 4vw, 1.85rem);
	margin: 0 0 7px;
}

.ecomflow-upsell-heading p {
	color: #657083;
	line-height: 1.8;
	margin: 0;
}

.ecomflow-upsell-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ecomflow-upsell-card {
	background: #fbfcfe;
	border: 1px solid #e4e8ef;
	border-radius: 16px;
	display: grid;
	grid-template-columns: 128px minmax(0, 1fr);
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ecomflow-upsell-card.is-added {
	background: #f1fbf5;
	border-color: #8fd3aa;
}

.ecomflow-upsell-image {
	background: #f1f3f6;
	aspect-ratio: 1 / 1;
	align-self: start;
	min-height: 0;
	overflow: hidden;
}

.ecomflow-upsell-image img {
	aspect-ratio: 1 / 1;
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.ecomflow-upsell-content {
	padding: 15px;
}

.ecomflow-upsell-badge {
	background: #df2f45;
	border-radius: 99px;
	color: #fff;
	display: inline-flex;
	font-size: 0.72rem;
	font-weight: 800;
	padding: 4px 9px;
}

.ecomflow-upsell-card h3 {
	color: #172238;
	font-family: "Cairo", sans-serif;
	font-size: 0.98rem;
	line-height: 1.55;
	margin: 8px 0 4px;
}

.ecomflow-upsell-variation {
	color: #667085;
	font-size: 0.78rem;
	line-height: 1.6;
	margin: 0 0 8px;
}

.ecomflow-upsell-price {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.ecomflow-upsell-price del {
	color: #8c95a3;
	font-size: 0.82rem;
}

.ecomflow-upsell-price strong {
	color: #172238;
	font-size: 1.08rem;
}

.ecomflow-upsell-saving {
	color: #1c8a4e;
	font-size: 0.76rem;
	font-weight: 700;
	margin: 3px 0 10px;
}

.ecomflow-upsell-add {
	background: #2368e8;
	border: 0;
	border-radius: 10px;
	color: #fff;
	cursor: pointer;
	font-family: "Cairo", sans-serif;
	font-size: 0.82rem;
	font-weight: 800;
	min-height: 42px;
	padding: 9px 12px;
	width: 100%;
}

.ecomflow-upsell-add:disabled {
	cursor: default;
	opacity: 0.76;
}

.ecomflow-upsell-card.is-added .ecomflow-upsell-add {
	background: #1f8b53;
}

.ecomflow-upsell-feedback {
	color: #1f8b53;
	font-size: 0.74rem;
	font-weight: 700;
	line-height: 1.5;
	margin: 7px 0 0;
	min-height: 1.2em;
}

.ecomflow-upsell-feedback.is-error {
	color: #c3273b;
}

.ecomflow-thankyou-check {
	align-items: center;
	background: #1f8b53;
	border-radius: 50%;
	box-shadow: 0 9px 24px rgb(31 139 83 / 24%);
	color: #fff;
	display: inline-flex;
	font-size: 1.6rem;
	font-weight: 800;
	height: 58px;
	justify-content: center;
	margin-bottom: 14px;
	width: 58px;
}

.ecomflow-thankyou-panel h2 {
	color: #172238;
	font-family: "Cairo", sans-serif;
	font-size: clamp(1.45rem, 4vw, 2rem);
	margin: 0 0 9px;
}

.ecomflow-thankyou-panel p {
	color: #536071;
	font-size: 0.98rem;
	line-height: 1.9;
	margin: 0 auto;
	max-width: 620px;
}

.ecomflow-thankyou-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 20px;
}

.ecomflow-thankyou-actions a {
	border-radius: 11px;
	font-weight: 800;
	padding: 11px 18px;
	text-decoration: none;
}

.ecomflow-thankyou-whatsapp {
	background: #1fa855;
	color: #fff !important;
}

.ecomflow-thankyou-shop {
	background: #172238;
	color: #fff !important;
}

.ecomflow-order-details-wrap {
	background: #fff;
	border: 1px solid #e4e8ef;
	border-radius: 20px;
	box-shadow: 0 16px 46px rgb(29 37 45 / 7%);
	font-family: "Cairo", sans-serif;
	margin: 0 0 30px;
	overflow: hidden;
	padding: 26px 24px;
}

.ecomflow-order-details-heading {
	align-items: center;
	border-bottom: 1px solid #e9edf3;
	display: flex;
	justify-content: space-between;
	margin-bottom: 18px;
	padding-bottom: 16px;
}

.ecomflow-order-details-heading span {
	color: #1f8b53;
	font-size: 0.78rem;
	font-weight: 800;
}

.ecomflow-order-details-heading h2 {
	color: #172238;
	font-family: "Cairo", sans-serif;
	font-size: clamp(1.3rem, 4vw, 1.75rem);
	margin: 2px 0 0;
}

.ecomflow-order-details-heading > strong {
	background: #eef4ff;
	border-radius: 10px;
	color: #2368e8;
	font-size: 1rem;
	padding: 8px 12px;
}

.ecomflow-order-products {
	display: grid;
	gap: 10px;
	margin-bottom: 18px;
}

.ecomflow-order-product {
	align-items: center;
	background: #f8fafc;
	border: 1px solid #e8ecf2;
	border-radius: 13px;
	display: grid;
	gap: 13px;
	grid-template-columns: 72px minmax(0, 1fr) auto;
	padding: 10px;
}

.ecomflow-order-product-image {
	aspect-ratio: 1 / 1;
	background: #eef1f5;
	border-radius: 9px;
	overflow: hidden;
}

.ecomflow-order-product-image img {
	display: block;
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.ecomflow-order-product-info h3 {
	color: #172238;
	font-family: "Cairo", sans-serif;
	font-size: 0.94rem;
	line-height: 1.55;
	margin: 0 0 3px;
}

.ecomflow-order-product-info > span {
	color: #667085;
	font-size: 0.76rem;
}

.ecomflow-order-product-meta,
.ecomflow-order-product-meta ul {
	color: #667085;
	font-size: 0.74rem;
	line-height: 1.55;
	list-style: none;
	margin: 0 0 3px;
	padding: 0;
}

.ecomflow-order-product-meta li {
	display: inline;
}

.ecomflow-order-product-total {
	color: #172238;
	font-size: 0.92rem;
	white-space: nowrap;
}

.ecomflow-order-customer-grid {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-bottom: 18px;
}

.ecomflow-order-customer-grid p {
	background: #fbfcfe;
	border: 1px solid #e8ecf2;
	border-radius: 11px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 0;
	padding: 11px 13px;
}

.ecomflow-order-customer-grid span {
	color: #7a8494;
	font-size: 0.72rem;
	font-weight: 700;
}

.ecomflow-order-customer-grid strong {
	color: #172238;
	font-size: 0.86rem;
	line-height: 1.55;
}

.ecomflow-order-office {
	grid-column: 1 / -1;
}

.ecomflow-order-totals {
	background: #f5f8fd;
	border-radius: 13px;
	padding: 12px 15px;
}

.ecomflow-order-totals p {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin: 0;
	padding: 7px 0;
}

.ecomflow-order-totals span {
	color: #667085;
	font-size: 0.82rem;
}

.ecomflow-order-totals strong {
	color: #172238;
	font-size: 0.9rem;
}

.ecomflow-order-grand-total {
	border-top: 1px solid #dfe5ef;
	margin-top: 4px !important;
	padding-top: 11px !important;
}

.ecomflow-order-grand-total span,
.ecomflow-order-grand-total strong {
	color: #172238;
	font-size: 1.05rem;
	font-weight: 900;
}

.ecomflow-order-contact-note {
	color: #267044;
	font-size: 0.8rem;
	font-weight: 700;
	margin: 14px 0 0;
	text-align: center;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3,
.woocommerce-checkout #ecomflow-dz-delivery h3 {
	font-size: 1.2rem;
	font-weight: 700;
	margin: 0 0 18px;
}

.woocommerce-checkout .form-row {
	margin-bottom: 14px;
}

.woocommerce-checkout .form-row label {
	font-weight: 600;
	margin-bottom: 7px;
}

.woocommerce-checkout #billing_country_field {
	display: none !important;
}

.woocommerce-checkout #billing_address_1_field .optional {
	display: none !important;
}

.woocommerce-checkout .input-text,
.woocommerce-checkout select {
	background: #fff;
	border: 1px solid #d8d8dc;
	border-radius: 10px;
	min-height: 50px;
	padding: 10px 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus {
	border-color: #111;
	box-shadow: 0 0 0 3px rgb(17 17 17 / 8%);
	outline: 0;
}

.ecomflow-dz-card {
	background: #fff;
	border: 1px solid #ececef;
	border-radius: 14px;
	box-shadow: 0 8px 30px rgb(15 23 42 / 5%);
	direction: rtl;
	margin: 22px 0;
	padding: 20px;
}

.ecomflow-delivery-type .woocommerce-input-wrapper {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ecomflow-delivery-type label {
	align-items: center;
	background: #fafafa;
	border: 1px solid #dedee3;
	border-radius: 12px;
	cursor: pointer;
	display: flex !important;
	font-weight: 700 !important;
	gap: 9px;
	margin: 0 !important;
	min-height: 54px;
	padding: 12px 14px;
}

.ecomflow-delivery-type input {
	accent-color: #111;
	height: 18px;
	margin: 0;
	width: 18px;
}

.ecomflow-dz-note {
	background: #fff8e7;
	border: 1px solid #f0d58b;
	border-radius: 10px;
	color: #5d4710;
	margin: 12px 0;
	padding: 11px 13px;
}

.ecomflow-dz-secure {
	color: #1f6c41;
	font-size: 0.9rem;
	font-weight: 700;
	margin: 12px 0 0;
}

.woocommerce-checkout-review-order {
	border-radius: 14px;
}

body.ecomflow-direct-enabled.single-product form.cart {
	display: none !important;
}

.ecomflow-direct-card {
	background: #fff;
	border: 1px solid #e7e8ec;
	border-radius: 16px;
	box-shadow: 0 12px 35px rgb(15 23 42 / 7%);
	color: #111827;
	margin: 12px 0 10px;
	overflow: hidden;
}

.ecomflow-direct-card,
.ecomflow-direct-card * {
	box-sizing: border-box;
}

.ecomflow-direct-heading {
	align-items: center;
	background: linear-gradient(135deg, #111827 0%, #25324a 100%);
	color: #fff;
	display: flex;
	gap: 14px;
	justify-content: space-between;
	padding: 13px 18px;
}

.ecomflow-direct-heading h3 {
	color: #fff;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.4;
	margin: 1px 0 0;
}

.ecomflow-direct-cod {
	background: rgb(255 255 255 / 12%);
	border: 1px solid rgb(255 255 255 / 22%);
	border-radius: 999px;
	color: #fff;
	flex: 0 0 auto;
	font-size: 0.72rem;
	font-weight: 800;
	padding: 7px 10px;
}

.ecomflow-direct-kicker {
	color: #f8dca5;
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.05em;
}

#ecomflow-direct-form {
	padding: 17px 18px 18px;
}

.ecomflow-direct-variants {
	border-bottom: 1px solid #edf0f3;
	display: grid;
	gap: 12px;
	grid-template-columns: 1fr;
	margin: 0 0 15px;
	padding: 0 0 15px;
}

.ecomflow-variant-group {
	border: 0;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.ecomflow-variant-group legend {
	color: #232a36;
	font-size: 0.88rem;
	font-weight: 800;
	margin: 0 0 7px;
}

.ecomflow-variant-group legend span {
	color: #d6293e;
}

.ecomflow-variant-options {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.ecomflow-variant-chip {
	cursor: pointer;
	margin: 0;
	position: relative;
}

.ecomflow-variant-chip input {
	height: 1px;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	width: 1px;
}

.ecomflow-variant-chip span {
	align-items: center;
	background: #fff;
	border: 1px solid #d8dce3;
	border-radius: 9px;
	color: #313846;
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 750;
	justify-content: center;
	line-height: 1.2;
	min-height: 39px;
	min-width: 58px;
	padding: 8px 12px;
	transition: background 0.18s ease, border-color 0.18s ease,
		box-shadow 0.18s ease, color 0.18s ease;
}

.ecomflow-variant-chip input:checked + span {
	background: #172238;
	border-color: #172238;
	box-shadow: 0 0 0 2px rgb(23 34 56 / 12%);
	color: #fff;
}

.ecomflow-variant-chip input:focus-visible + span {
	box-shadow: 0 0 0 3px rgb(47 112 237 / 24%);
}

.ecomflow-variant-chip.is-disabled {
	cursor: not-allowed;
	opacity: 0.35;
}

.ecomflow-direct-grid {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ecomflow-direct-field {
	margin: 0 0 14px;
}

.ecomflow-direct-field-wide {
	width: 100%;
}

.ecomflow-direct-field label,
.ecomflow-direct-quantity label,
.ecomflow-direct-delivery legend {
	color: #232a36;
	display: block;
	font-size: 0.9rem;
	font-weight: 750;
	margin: 0 0 7px;
}

.ecomflow-direct-field label span {
	color: #d6293e;
}

.ecomflow-direct-field input,
.ecomflow-direct-field select,
.ecomflow-direct-quantity input {
	background: #fff;
	border: 1px solid #d8dce3;
	border-radius: 10px;
	box-shadow: none;
	color: #111827;
	font-size: 0.95rem;
	height: 50px;
	margin: 0;
	padding: 9px 12px;
	width: 100%;
}

.ecomflow-direct-field input:focus,
.ecomflow-direct-field select:focus,
.ecomflow-direct-quantity input:focus {
	border-color: #27354e;
	box-shadow: 0 0 0 3px rgb(39 53 78 / 10%);
	outline: 0;
}

.ecomflow-direct-field select:disabled {
	background: #f4f5f7;
	color: #8b919c;
}

.ecomflow-direct-field small {
	color: #6b7280;
	display: block;
	font-size: 0.76rem;
	line-height: 1.5;
	margin-top: 6px;
}

.ecomflow-direct-office-note {
	background: #fff8e7;
	border: 1px solid #f0d58b;
	border-radius: 10px;
	color: #5d4710;
	font-size: 0.82rem;
	font-weight: 700;
	margin: -3px 0 13px;
	padding: 10px 12px;
}

.ecomflow-direct-office-details {
	align-items: flex-start;
	background: #eefbf4;
	border: 1px solid #b8e5ca;
	border-radius: 11px;
	color: #174c31;
	display: flex;
	gap: 10px;
	margin: -3px 0 14px;
	padding: 12px 13px;
}

.ecomflow-direct-office-details[hidden],
.ecomflow-direct-office-note[hidden] {
	display: none;
}

.ecomflow-office-icon {
	align-items: center;
	background: #d6f4e2;
	border-radius: 50%;
	display: inline-flex;
	flex: 0 0 32px;
	font-size: 1.1rem;
	height: 32px;
	justify-content: center;
}

.ecomflow-direct-office-details strong {
	display: block;
	font-size: 0.88rem;
	margin-bottom: 3px;
}

.ecomflow-direct-office-details p {
	font-size: 0.8rem;
	line-height: 1.55;
	margin: 0;
}

.ecomflow-direct-office-details small {
	display: block;
	font-size: 0.75rem;
	font-weight: 700;
	margin-top: 3px;
}

.ecomflow-direct-delivery {
	border: 0;
	margin: 3px 0 15px;
	padding: 0;
}

.ecomflow-direct-delivery-options {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ecomflow-direct-delivery-options > label {
	align-items: center;
	background: #f8f9fb;
	border: 1px solid #dfe2e7;
	border-radius: 11px;
	cursor: pointer;
	display: flex;
	gap: 10px;
	margin: 0;
	min-height: 59px;
	padding: 10px 13px;
}

.ecomflow-direct-delivery-options > label:has(input:checked) {
	background: #f1f5ff;
	border-color: #2f70ed;
	box-shadow: 0 0 0 1px #2f70ed;
}

.ecomflow-direct-delivery-options > label:has(input:disabled) {
	cursor: not-allowed;
	opacity: 0.45;
}

.ecomflow-direct-delivery-options input {
	accent-color: #2f70ed;
	flex: 0 0 auto;
	height: 18px;
	margin: 0;
	width: 18px;
}

.ecomflow-direct-delivery-options span {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.ecomflow-direct-delivery-options strong {
	font-size: 0.9rem;
}

.ecomflow-direct-delivery-options small {
	color: #737b88;
	font-size: 0.75rem;
}

.ecomflow-direct-bottom {
	align-items: stretch;
	background: #f8f9fb;
	border: 1px solid #e7e9ed;
	border-radius: 12px;
	display: grid;
	gap: 15px;
	grid-template-columns: 92px minmax(0, 1fr);
	margin-top: 5px;
	padding: 14px;
}

.ecomflow-direct-quantity {
	margin: 0;
}

.ecomflow-direct-quantity input {
	text-align: center;
}

.ecomflow-direct-summary p {
	align-items: center;
	display: flex;
	font-size: 0.85rem;
	justify-content: space-between;
	margin: 0 0 6px;
}

.ecomflow-direct-summary p:last-child {
	margin-bottom: 0;
}

.ecomflow-direct-summary span {
	color: #626a76;
}

.ecomflow-direct-summary strong {
	color: #111827;
	font-weight: 800;
}

.ecomflow-direct-summary .ecomflow-direct-grand-total {
	border-top: 1px solid #dfe2e7;
	font-size: 1rem;
	margin-top: 8px;
	padding-top: 9px;
}

.ecomflow-direct-message {
	border-radius: 9px;
	font-size: 0.87rem;
	font-weight: 700;
	margin-top: 13px;
	padding: 11px 13px;
}

.ecomflow-direct-message.is-error {
	background: #fff1f2;
	border: 1px solid #fecdd3;
	color: #a3112a;
}

.ecomflow-direct-message.is-success {
	background: #ecfdf3;
	border: 1px solid #a7f3c5;
	color: #126b3a;
}

#ecomflow_direct_submit.ecomflow-direct-submit {
	align-items: center;
	animation: ecomflow-cta-nudge 2.8s ease-in-out infinite;
	background: #2f70ed;
	border: 0;
	border-radius: 11px;
	box-shadow: 0 8px 20px rgb(47 112 237 / 22%);
	color: #fff;
	display: flex;
	flex-direction: column;
	font-size: 1rem;
	font-weight: 800;
	justify-content: center;
	line-height: 1.3;
	margin-top: 14px;
	min-height: 57px;
	padding: 10px 18px;
	transition: background 0.2s ease, transform 0.2s ease;
	width: 100%;
}

#ecomflow_direct_submit.ecomflow-direct-submit:hover {
	animation-play-state: paused;
	background: #1f5fd4;
	transform: translateY(-1px);
}

#ecomflow_direct_submit.ecomflow-direct-submit:disabled {
	animation: none;
	cursor: wait;
	opacity: 0.65;
	transform: none;
}

#ecomflow_direct_submit.ecomflow-direct-submit small {
	font-size: 0.72rem;
	font-weight: 600;
	opacity: 0.8;
}

.ecomflow-direct-trust {
	color: #267044;
	font-size: 0.79rem;
	font-weight: 700;
	margin: 11px 0 0;
	text-align: center;
}

.ecomflow-mobile-sticky-submit {
	display: none;
}

@keyframes ecomflow-cta-nudge {
	0%,
	58%,
	100% {
		transform: translateX(0);
	}

	66% {
		transform: translateX(3px);
	}

	74% {
		transform: translateX(-3px);
	}

	82% {
		transform: translateX(2px);
	}

	90% {
		transform: translateX(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	#ecomflow_direct_submit.ecomflow-direct-submit,
	.ecomflow-mobile-sticky-submit {
		animation: none !important;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 16px;
	}

	#header [data-device="mobile"] [data-row="middle"] {
		--height: 76px !important;
	}

	#header [data-device="mobile"] .site-logo-container img {
		height: 68px !important;
		max-height: 68px !important;
		max-width: none !important;
		object-fit: contain;
		width: 78px !important;
	}

	.woocommerce ul.products li.product .woocommerce-loop-product__title {
		font-size: 1.08rem !important;
	}

	.home .ecomflow-hero {
		min-height: auto !important;
		padding-block: 28px !important;
	}

	.home .ecomflow-visual {
		min-height: 270px !important;
	}

	.home .ecomflow-card {
		height: 270px !important;
		width: min(100%, 290px) !important;
	}

	.single-product .ct-container-full[data-content="normal"] {
		padding-top: 0 !important;
	}

	.single-product .summary > .product_title {
		margin-bottom: 3px !important;
	}

	.single-product .summary > .price {
		color: #0b1f38 !important;
		display: flex !important;
		font-size: 1.58rem !important;
		font-weight: 900 !important;
		justify-content: center;
		line-height: 1.3 !important;
		margin-bottom: 13px !important;
	}

	.tax-product_cat .hero-section[data-type="type-2"] .entry-header,
	.post-type-archive-product .hero-section[data-type="type-2"] .entry-header {
		min-height: 92px !important;
		padding-block: 14px !important;
	}

	body.ecomflow-direct-enabled.single-product .woocommerce-tabs {
		padding-top: 12px !important;
	}

	.ecomflow-thankyou-panel {
		border-radius: 15px;
		padding: 24px 16px;
	}

	.ecomflow-thankyou-actions {
		flex-direction: column;
	}

	.ecomflow-thankyou-actions a {
		width: 100%;
	}

	.ecomflow-upsell-section {
		border-radius: 15px;
		padding: 22px 13px;
	}

	.ecomflow-upsell-grid {
		grid-template-columns: 1fr;
	}

	.ecomflow-upsell-card {
		display: block;
	}

	.ecomflow-upsell-image {
		width: 100%;
	}

	.ecomflow-order-details-wrap {
		border-radius: 15px;
		padding: 20px 13px;
	}

	.ecomflow-order-details-heading {
		margin-bottom: 14px;
	}

	.ecomflow-order-product {
		gap: 9px;
		grid-template-columns: 58px minmax(0, 1fr);
		padding: 9px;
	}

	.ecomflow-order-product-total {
		grid-column: 2;
		justify-self: start;
	}

	.ecomflow-order-customer-grid {
		grid-template-columns: 1fr;
	}

	.ecomflow-order-office {
		grid-column: auto;
	}

	.ecomflow-dz-card {
		border-radius: 12px;
		padding: 16px;
	}

	.ecomflow-delivery-type .woocommerce-input-wrapper {
		grid-template-columns: 1fr;
	}

	.ecomflow-direct-card {
		border-radius: 13px;
		margin-top: 10px;
	}

	.ecomflow-direct-heading {
		padding: 11px 13px;
	}

	#ecomflow-direct-form {
		padding: 14px 13px 16px;
	}

	.ecomflow-direct-grid {
		grid-template-columns: 1fr;
	}

	.ecomflow-direct-delivery-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ecomflow-direct-grid {
		gap: 0;
	}

	.ecomflow-direct-bottom {
		grid-template-columns: 78px minmax(0, 1fr);
	}

	body.ecomflow-direct-enabled.single-product {
		padding-bottom: 82px;
	}

	.ecomflow-mobile-sticky-submit {
		align-items: center;
		animation: ecomflow-cta-nudge 2.8s ease-in-out infinite;
		background: #2368e8;
		border: 0;
		border-radius: 14px;
		bottom: max(10px, env(safe-area-inset-bottom));
		box-shadow: 0 10px 32px rgb(21 54 116 / 35%);
		color: #fff;
		display: flex;
		font-family: inherit;
		justify-content: space-between;
		left: 10px;
		min-height: 59px;
		padding: 9px 15px;
		position: fixed;
		right: 10px;
		text-align: right;
		z-index: 9998;
	}

	.ecomflow-mobile-sticky-submit span {
		display: flex;
		flex-direction: column;
		line-height: 1.3;
	}

	.ecomflow-mobile-sticky-submit strong {
		color: #fff;
		font-size: 0.96rem;
	}

	.ecomflow-mobile-sticky-submit small {
		font-size: 0.68rem;
		opacity: 0.82;
	}

	.ecomflow-mobile-sticky-submit b {
		background: rgb(255 255 255 / 14%);
		border-radius: 9px;
		color: #fff;
		font-size: 0.9rem;
		padding: 7px 10px;
	}

	.ecomflow-mobile-sticky-submit:disabled {
		cursor: wait;
		opacity: 0.68;
	}
}
