/*
 * Geek Alo child theme safety fixes.
 * Keep this file scoped so parent theme and plugin files stay untouched.
 */

/*
 * Homepage category loop carousel: prevent a full-size category image flash
 * before Elementor/Swiper finishes initializing the carousel.
 */
.elementor-126 .elementor-element.elementor-element-380fe22,
.elementor-126 .elementor-element.elementor-element-380fe22 .swiper,
.elementor-126 .elementor-element.elementor-element-380fe22 .elementor-loop-container {
	max-width: 100% !important;
	overflow: hidden !important;
	width: 100% !important;
}

.elementor-126 .elementor-element.elementor-element-380fe22 .swiper:not(.swiper-initialized) .swiper-wrapper {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 14px !important;
	overflow: hidden !important;
	width: 100% !important;
}

.elementor-126 .elementor-element.elementor-element-380fe22 .swiper:not(.swiper-initialized) .swiper-slide {
	flex: 0 0 calc((100% - 70px) / 6) !important;
	max-width: calc((100% - 70px) / 6) !important;
	min-width: 0 !important;
	overflow: hidden !important;
	width: calc((100% - 70px) / 6) !important;
}

.elementor-126 .elementor-element.elementor-element-380fe22 .swiper-slide img {
	aspect-ratio: 4 / 3 !important;
	display: block !important;
	height: auto !important;
	max-width: 100% !important;
	object-fit: cover !important;
	width: 100% !important;
}

@media (max-width: 1024px) {
	.elementor-126 .elementor-element.elementor-element-380fe22 .swiper:not(.swiper-initialized) .swiper-slide {
		flex-basis: calc((100% - 42px) / 4) !important;
		max-width: calc((100% - 42px) / 4) !important;
		width: calc((100% - 42px) / 4) !important;
	}
}

@media (max-width: 767px) {
	.elementor-126 .elementor-element.elementor-element-380fe22 .swiper:not(.swiper-initialized) .swiper-wrapper {
		gap: 4px !important;
	}

	.elementor-126 .elementor-element.elementor-element-380fe22 .swiper:not(.swiper-initialized) .swiper-slide {
		flex-basis: calc((100% - 8px) / 3) !important;
		max-width: calc((100% - 8px) / 3) !important;
		width: calc((100% - 8px) / 3) !important;
	}
}

.geekalo-floating-whatsapp {
	align-items: center;
	bottom: 24px;
	display: inline-flex;
	gap: 10px;
	position: fixed;
	right: 22px;
	text-decoration: none !important;
	z-index: 99990;
}

.geekalo-floating-whatsapp__icon {
	align-items: center;
	background: linear-gradient(135deg, #29d86d 0%, #12b955 52%, #059447 100%);
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	box-shadow: 0 18px 34px rgba(18, 185, 85, 0.34), 0 7px 18px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.34);
	color: #fff;
	display: inline-flex;
	height: 58px;
	justify-content: center;
	position: relative;
	transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease;
	width: 58px;
}

.geekalo-floating-whatsapp__icon::before {
	animation: geekalo-whatsapp-pulse 2.4s ease-out infinite;
	border: 1px solid rgba(18, 185, 85, 0.42);
	border-radius: inherit;
	content: "";
	inset: -7px;
	position: absolute;
}

.geekalo-floating-whatsapp__icon svg {
	display: block;
	fill: currentColor;
	height: 31px;
	width: 31px;
}

.geekalo-floating-whatsapp__text {
	background: #101214;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 999px;
	box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	opacity: 0;
	padding: 12px 15px;
	pointer-events: none;
	transform: translateX(10px) scale(0.96);
	transform-origin: right center;
	transition: opacity 220ms ease, transform 220ms ease;
	white-space: nowrap;
}

.geekalo-floating-whatsapp:hover .geekalo-floating-whatsapp__icon,
.geekalo-floating-whatsapp:focus-visible .geekalo-floating-whatsapp__icon {
	box-shadow: 0 20px 42px rgba(18, 185, 85, 0.42), 0 9px 22px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.38);
	filter: saturate(1.08);
	transform: translateY(-3px) scale(1.04);
}

.geekalo-floating-whatsapp:hover .geekalo-floating-whatsapp__text,
.geekalo-floating-whatsapp:focus-visible .geekalo-floating-whatsapp__text {
	opacity: 1;
	transform: translateX(0) scale(1);
}

.geekalo-floating-whatsapp:focus-visible {
	outline: 2px solid rgba(18, 185, 85, 0.5);
	outline-offset: 6px;
}

body.admin-bar .geekalo-floating-whatsapp {
	bottom: 34px;
}

@keyframes geekalo-whatsapp-pulse {
	0% {
		opacity: 0.5;
		transform: scale(0.88);
	}

	70%,
	100% {
		opacity: 0;
		transform: scale(1.35);
	}
}

/*
 * Elementor WooCommerce Product Price widgets should fully respect the
 * typography selected in Elementor. WooCommerce wraps prices in nested
 * amount/ins/del/bdi elements, and those children can otherwise keep an
 * older generated size or weight in loop cards and product templates.
 */
.woocommerce .elementor-widget-woocommerce-product-price .price .amount,
.woocommerce .elementor-widget-woocommerce-product-price .price .amount bdi,
.woocommerce .elementor-widget-woocommerce-product-price .price ins,
.woocommerce .elementor-widget-woocommerce-product-price .price ins .amount,
.woocommerce .elementor-widget-woocommerce-product-price .price ins .amount bdi,
.woocommerce .elementor-widget-woocommerce-product-price .price del,
.woocommerce .elementor-widget-woocommerce-product-price .price del .amount,
.woocommerce .elementor-widget-woocommerce-product-price .price del .amount bdi {
	font-family: inherit !important;
	font-size: inherit !important;
	font-style: inherit !important;
	font-weight: inherit !important;
	letter-spacing: inherit !important;
	line-height: inherit !important;
	text-transform: inherit !important;
}

.woocommerce .elementor-widget-woocommerce-product-price .price ins {
	text-decoration: none;
}

@media (max-width: 767px) {
	.e-loop-item .elementor-widget-woocommerce-product-title .elementor-heading-title {
		-webkit-box-orient: vertical;
		display: -webkit-box !important;
		line-clamp: 2;
		-webkit-line-clamp: 2;
		line-height: 1.35 !important;
		max-width: 100% !important;
		min-height: 2.7em;
		overflow: hidden !important;
		text-overflow: ellipsis !important;
		white-space: normal !important;
	}

	.geekalo-floating-whatsapp {
		bottom: 18px;
		right: 16px;
	}

	.geekalo-floating-whatsapp__icon {
		height: 54px;
		width: 54px;
	}

	.geekalo-floating-whatsapp__icon svg {
		height: 29px;
		width: 29px;
	}

	.geekalo-floating-whatsapp__text {
		font-size: 13px;
		padding: 11px 13px;
	}
}

/* --- Noobecom Hand Cursor Fix --- */
.elementor-button,
a.elementor-button,
button.elementor-button,
[role="button"].elementor-button,
a.elementor-button:not([href]),
[class*="-variation-add-cart"],
[class*="-variation-add-cart"] a,
[class*="-variation-add-cart"] button,
[class*="-variation-add-cart"] .elementor-button,
[class*="-variation-buy-now"],
[class*="-variation-buy-now"] a,
[class*="-variation-buy-now"] button,
[class*="-variation-buy-now"] .elementor-button,
[class*="-add-cart-icon"],
[class*="-add-cart-icon"] a,
[class*="-add-cart-icon"] button,
[class*="-add-cart-icon"] .elementor-button,
[class*="-buy-now-icon"],
[class*="-buy-now-icon"] a,
[class*="-buy-now-icon"] button,
[class*="-buy-now-icon"] .elementor-button,
[class*="-eac-btn"],
[class*="-eac-add-to-cart"],
[class*="-eac-buy-now"],
[class*="-eac-qty-btn"],
.woocommerce button.button,
.woocommerce a.button {
    cursor: pointer !important;
}

/*
 * WooCommerce Checkout: Sync perfectly with Elementor Primary Color
 */
:root {
	--acr-primary: var(--e-global-color-primary, #F0507C) !important;
	--acr-button: var(--e-global-color-primary, #F0507C) !important;
	--acr-brand-blue: var(--e-global-color-primary, #F0507C) !important;
}

.acr-checkout-scope,
.woocommerce-checkout {
	--acr-primary: var(--e-global-color-primary, #F0507C) !important;
	--acr-button: var(--e-global-color-primary, #F0507C) !important;
	--acr-brand-blue: var(--e-global-color-primary, #F0507C) !important;
}

.acr-checkout-scope .acr-btn-primary,
.acr-checkout-scope .acr-submit-btn,
.acr-checkout-scope button#place_order,
.woocommerce-checkout #place_order,
.woocommerce-checkout .woocommerce-form-login .button,
.woocommerce-checkout .woocommerce-form-coupon .button {
	background-color: var(--e-global-color-primary, #F0507C) !important;
	border-color: var(--e-global-color-primary, #F0507C) !important;
	color: #ffffff !important;
}

.acr-checkout-scope .acr-btn-primary:hover,
.acr-checkout-scope .acr-submit-btn:hover,
.acr-checkout-scope button#place_order:hover,
.woocommerce-checkout #place_order:hover {
	background-color: var(--e-global-color-918db0a, #D63864) !important;
	border-color: var(--e-global-color-918db0a, #D63864) !important;
	color: #ffffff !important;
}

.acr-checkout-scope .acr-delivery-tab.is-active,
.acr-checkout-scope .acr-delivery-tab:hover {
	border-color: var(--e-global-color-primary, #F0507C) !important;
}

.acr-checkout-scope input[type="radio"]:checked,
.acr-checkout-scope input[type="checkbox"]:checked {
	accent-color: var(--e-global-color-primary, #F0507C) !important;
}

/*
 * Header Logo & Mobile Header Proportions: Sleek, compact and aligned
 */
.site-header .elementor-widget-theme-site-logo img,
.elementor-1270 .elementor-widget-theme-site-logo img {
	height: auto !important;
	max-height: 52px !important;
	width: auto !important;
	max-width: 100% !important;
	object-fit: contain !important;
}

@media (max-width: 767px) {
	.site-header .elementor-widget-theme-site-logo img,
	.elementor-1270 .elementor-widget-theme-site-logo img {
		max-height: 34px !important;
		max-width: 100% !important;
	}

	/* 1. Announcement Bar: Slim ticker without nested padding bloat */
	.elementor-1270 .elementor-element-1b9dd9f8,
	.elementor-1270 .elementor-element-1b9dd9f8 .e-con-inner,
	.elementor-1270 .elementor-element-1b9dd9f8 .elementor-element-3c1f9301 {
		padding: 0 !important;
		margin: 0 !important;
		min-height: 0 !important;
	}
	.elementor-1270 .elementor-element-1b9dd9f8 {
		background: #fdf2f4 !important;
		border-bottom: 1px solid #fce7ec !important;
		padding: 5px 12px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		min-height: 28px !important;
	}
	.elementor-1270 .elementor-element-1b9dd9f8 .elementor-icon-list-item,
	.elementor-1270 .elementor-element-1b9dd9f8 .elementor-icon-list-text {
		font-size: 11px !important;
		font-weight: 600 !important;
		letter-spacing: 0.3px !important;
		color: #d63864 !important;
		line-height: 1.2 !important;
		text-align: center !important;
	}

	/* 2. Main Navbar Row (Hamburger, Logo, Cart) */
	.elementor-1270 .elementor-element-6c922522,
	.elementor-1270 .elementor-element-6c922522 .e-con-inner,
	.elementor-1270 .elementor-element-6c922522 .elementor-element-48737944 {
		padding: 0 !important;
		margin: 0 !important;
		min-height: 0 !important;
	}
	.elementor-1270 .elementor-element-6c922522 {
		background: #ffffff !important;
		border-bottom: 1px solid #f1f5f9 !important;
		padding: 0 14px !important;
		min-height: 52px !important;
	}
	.elementor-1270 .elementor-element-6c922522 .e-con-inner,
	.elementor-1270 .elementor-element-6c922522 .elementor-element-48737944 {
		display: flex !important;
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
		height: 52px !important;
		width: 100% !important;
	}
	.elementor-1270 .elementor-element-77ec02a6,
	.elementor-1270 .elementor-element-7da8a972,
	.elementor-1270 .elementor-element-3fae54e6 {
		padding: 0 !important;
		margin: 0 !important;
		min-height: 0 !important;
		display: flex !important;
		align-items: center !important;
	}
	.elementor-1270 .elementor-element-77ec02a6 {
		width: auto !important;
		flex: 0 0 auto !important;
	}
	.elementor-1270 .elementor-element-7da8a972 {
		flex: 1 1 auto !important;
		justify-content: center !important;
	}
	.elementor-1270 .elementor-element-3fae54e6 {
		width: auto !important;
		flex: 0 0 auto !important;
		justify-content: flex-end !important;
	}
	.elementor-1270 .elementor-element-5fe891a0 {
		padding: 0 !important;
		margin: 0 !important;
		display: flex !important;
		align-items: center !important;
	}
	.elementor-1270 .elementor-element-24cf87e5 {
		margin: 0 !important;
		padding: 0 !important;
		display: flex !important;
		justify-content: center !important;
	}
	.elementor-1270 .elementor-element-24cf87e5 img {
		max-height: 34px !important;
		width: auto !important;
		object-fit: contain !important;
	}
	.elementor-1270 .elementor-element-38e38ea3 {
		margin: 0 !important;
		padding: 0 !important;
	}
	.elementor-1270 .elementor-menu-cart__toggle_button {
		width: 38px !important;
		height: 38px !important;
		padding: 0 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
	}

	/* 3. Search Bar Row */
	.elementor-1270 .elementor-element-17fc600,
	.elementor-1270 .elementor-element-17fc600 .e-con-inner {
		padding: 0 !important;
		margin: 0 !important;
		min-height: 0 !important;
	}
	.elementor-1270 .elementor-element-17fc600 {
		padding: 6px 12px 8px !important;
		background: #ffffff !important;
		border-bottom: 1px solid #f1f5f9 !important;
	}
	.elementor-1270 .elementor-element-17fc600 .elementor-widget-search {
		margin: 0 !important;
		width: 100% !important;
	}
	.elementor-1270 .elementor-element-17fc600 .e-search-form {
		border-radius: 8px !important;
		overflow: hidden !important;
		border: 1px solid #e2e8f0 !important;
		box-shadow: 0 1px 2px rgba(0,0,0,0.03) !important;
		height: 38px !important;
	}
	.elementor-1270 .elementor-element-17fc600 .e-search-input {
		height: 38px !important;
		min-height: 38px !important;
		padding: 0 12px !important;
		font-size: 13px !important;
		background: #f8fafc !important;
		border: none !important;
	}
	.elementor-1270 .elementor-element-17fc600 .e-search-submit {
		height: 38px !important;
		min-height: 38px !important;
		padding: 0 14px !important;
		background: var(--e-global-color-primary, #F0507C) !important;
		border: none !important;
	}

	/* Distraction-free Checkout: On checkout page, hide the search bar on mobile so the order form is right at the top */
	.woocommerce-checkout .elementor-1270 .elementor-element-17fc600 {
		display: none !important;
	}
}/*
 * Hide Mobile Bottom Sticky Navigation Bar
 */
.elementor-element-41e5ee00,
.elementor-location-footer .elementor-sticky--active.elementor-hidden-desktop,
.elementor-location-footer .e-con.elementor-hidden-desktop[data-settings*="sticky"] {
	display: none !important;
}

/*
 * Hide Quantity Controls (Variation Popup & Product Actions)
 */
.geekalo-variation-qty,
.geekalo-eac-qty-control {
	display: none !important;
}

/*
 * Single Product: Hide "কার্টে যোগ করুন" and apply its color to "অর্ডার করুন"
 */
.geekalo-eac-add-to-cart,
.single-product .single_add_to_cart_button:not(.geekalo-eac-buy-now) {
	display: none !important;
}

.geekalo-eac-buy-now,
.single-product .geekalo-eac-buy-now,
.elementor-widget-geekalo_product_actions .geekalo-eac-buy-now {
	background-color: var(--e-global-color-primary, #F0507C) !important;
	border-color: var(--e-global-color-primary, #F0507C) !important;
	color: #ffffff !important;
	width: 100% !important;
}

.geekalo-eac-buy-now:hover,
.single-product .geekalo-eac-buy-now:hover,
.elementor-widget-geekalo_product_actions .geekalo-eac-buy-now:hover {
	background-color: var(--e-global-color-918db0a, #D63864) !important;
	border-color: var(--e-global-color-918db0a, #D63864) !important;
	color: #ffffff !important;
}

.geekalo-eac-buttons {
	width: 100% !important;
}

.geekalo-eac-buy-now-bottom .geekalo-eac-actions {
	display: none !important;
}

/*
 * Checkout Page: Hide Blog-style Header Banner (Title "Checkout" & Meta: Author, Date, Time)
 */
.woocommerce-checkout .elementor-element-bac88e4,
.woocommerce-checkout .elementor-page-title,
.woocommerce-checkout .elementor-widget-theme-post-title,
.woocommerce-checkout .elementor-widget-post-info,
.page .elementor-widget-post-info {
	display: none !important;
}

/*
 * Sticky Fixed Footer Bar for Product Page ("WhatsApp" + "অর্ডার করুন")
 * Strictly limited to single product pages only.
 */
.geekalo-sticky-product-bar {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	background: #ffffff;
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
	box-shadow: 0 -3px 16px rgba(0, 0, 0, 0.12);
	z-index: 99998;
	box-sizing: border-box;
}

body.single-product .geekalo-sticky-product-bar {
	display: block;
}

.geekalo-sticky-product-bar__inner {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 600px;
	margin: 0 auto;
	width: 100%;
}

.geekalo-sticky-bar__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 48px;
	border-radius: 6px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	border: none;
	outline: none;
	box-sizing: border-box;
	transition: opacity 0.2s ease, transform 0.1s ease;
}

.geekalo-sticky-bar__btn:active {
	transform: scale(0.98);
}

.geekalo-sticky-bar__whatsapp {
	flex: 1 1 40%;
	background-color: #189600 !important;
	color: #ffffff !important;
}

.geekalo-sticky-bar__whatsapp:hover {
	background-color: #158200 !important;
	color: #ffffff !important;
}

.geekalo-sticky-bar__order {
	flex: 1 1 60%;
	background-color: var(--e-global-color-primary, #F0507C) !important;
	color: #ffffff !important;
}

.geekalo-sticky-bar__order:hover {
	background-color: var(--e-global-color-918db0a, #D63864) !important;
	color: #ffffff !important;
}

/* Ensure page content has bottom padding so sticky bar never covers content at the very bottom */
body.single-product {
	padding-bottom: 70px !important;
}

/* ==========================================================================
   Minimal & Clean Checkout Form Design (Desktop & Mobile)
   ========================================================================== */

/* Reduce Excessive Top & Side Gaps on Checkout Page (Desktop) */
@media (min-width: 981px) {
	.woocommerce-checkout .elementor-location-single,
	.woocommerce-checkout .e-con,
	.woocommerce-checkout .elementor-widget-theme-post-content,
	.woocommerce-checkout .woocommerce {
		padding-top: 0 !important;
		margin-top: 0 !important;
	}

	.woocommerce-checkout .e-con-inner {
		padding-top: 16px !important;
		padding-bottom: 24px !important;
		margin-top: 0 !important;
		max-width: 1360px !important;
		width: 100% !important;
		padding-left: 20px !important;
		padding-right: 20px !important;
	}

	.acr-checkout-scope {
		padding-top: 0 !important;
		padding-bottom: 24px !important;
	}

	.acr-checkout-scope .acr-checkout-wrapper {
		max-width: 1320px !important;
		width: 100% !important;
		padding: 0 16px !important;
		margin: 0 auto !important;
	}

	.acr-checkout-scope .acr-checkout-grid {
		gap: 20px !important;
		grid-template-columns: 1.08fr 1fr !important;
	}
}

.acr-checkout-scope .woocommerce-notices-wrapper:empty {
	display: none !important;
	margin: 0 !important;
}

/* 1. Remove Clunky SVG Icon Boxes inside Input Fields */
.acr-checkout-scope #billing_first_name_field .woocommerce-input-wrapper::before,
.acr-checkout-scope #billing_email_field .woocommerce-input-wrapper::before,
.acr-checkout-scope #billing_phone_field .woocommerce-input-wrapper::before,
.acr-checkout-scope #billing_address_1_field .woocommerce-input-wrapper::before,
.acr-checkout-scope .acr-delivery-field .acr-select-wrapper::before,
.woocommerce-checkout #billing_first_name_field::before,
.woocommerce-checkout #billing_email_field::before,
.woocommerce-checkout #billing_phone_field::before,
.woocommerce-checkout #billing_address_1_field::before {
	display: none !important;
	content: none !important;
}

/* 2. Sleek, Minimal Input Fields - Direct ID Specificity to eliminate 58px / 74px left gaps */
.acr-checkout-scope #billing_first_name,
.acr-checkout-scope #billing_email,
.acr-checkout-scope #billing_phone,
.acr-checkout-scope #billing_address_1,
.acr-checkout-scope .input-text,
.acr-checkout-scope input[type="text"],
.acr-checkout-scope input[type="tel"],
.acr-checkout-scope input[type="email"],
.acr-checkout-scope input[type="number"],
.acr-checkout-scope textarea {
	min-height: 42px !important;
	padding: 9px 12px !important;
	padding-left: 12px !important;
	padding-right: 12px !important;
	font-size: 14.5px !important;
	line-height: 1.4 !important;
	text-align: left !important;
	color: #1f2937 !important;
	border: 1px solid #d1d5db !important;
	border-radius: 8px !important;
	background: #ffffff !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03) !important;
	box-sizing: border-box !important;
	transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
	width: 100% !important;
}

.acr-checkout-scope textarea#billing_address_1,
.acr-checkout-scope textarea {
	min-height: 56px !important;
	height: auto !important;
}

.acr-checkout-scope #billing_first_name:focus,
.acr-checkout-scope #billing_email:focus,
.acr-checkout-scope #billing_phone:focus,
.acr-checkout-scope #billing_address_1:focus,
.acr-checkout-scope .input-text:focus,
.acr-checkout-scope input[type="text"]:focus,
.acr-checkout-scope input[type="tel"]:focus,
.acr-checkout-scope input[type="email"]:focus,
.acr-checkout-scope textarea:focus {
	border-color: var(--e-global-color-primary, #F0507C) !important;
	box-shadow: 0 0 0 2px rgba(240, 80, 124, 0.16) !important;
	background: #ffffff !important;
	outline: none !important;
}

/* 3. Sleek, Minimal Field Labels */
.acr-checkout-scope .acr-field,
.acr-checkout-scope .form-row,
.acr-checkout-scope .woocommerce form .form-row {
	margin: 0 0 10px !important;
}

.acr-checkout-scope .acr-field label,
.acr-checkout-scope .form-row label {
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: #374151 !important;
	margin: 0 0 4px !important;
	display: block !important;
	letter-spacing: 0.1px !important;
}

.acr-checkout-scope .required {
	color: var(--e-global-color-primary, #F0507C) !important;
	text-decoration: none !important;
	font-weight: 700 !important;
	margin-left: 3px !important;
}

/* 4. Minimal Containers & Cards */
.acr-checkout-scope .acr-customer-card,
.acr-checkout-scope .acr-order-card {
	border: 1px solid #e5e7eb !important;
	border-radius: 12px !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
	background: #ffffff !important;
	overflow: hidden !important;
}

.acr-checkout-scope .acr-customer-card {
	padding-top: 0 !important;
}

/* 5. Sleek Top Note Banner ("অর্ডারটি সম্পন্ন করতে আপনার তথ্য দিয়ে নিচের "অর্ডার করুন" বাটনে ক্লিক করুন।") */
.acr-checkout-scope .acr-checkout-note {
	display: block !important;
	min-height: auto !important;
	background: #fdf2f4 !important;
	border-bottom: 1px solid #fce7ec !important;
	color: #be185d !important;
	padding: 9px 14px !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	text-align: center !important;
	margin: 0 !important;
}

/* 6. Minimal Card Title (Order Summary) */
.acr-checkout-scope .acr-card-title {
	background: #f9fafb !important;
	border-bottom: 1px solid #e5e7eb !important;
	color: #1f2937 !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	padding: 12px 18px !important;
	min-height: auto !important;
}

/* 7. Delivery Area Selector - Clean 2 Columns */
.acr-checkout-scope .acr-delivery-field {
	padding: 4px 18px 12px !important;
}

.acr-checkout-scope .acr-delivery-field .acr-delivery-label {
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: #374151 !important;
	margin-bottom: 6px !important;
	display: block !important;
}

.acr-checkout-scope .acr-delivery-tabs {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 10px !important;
}

.acr-checkout-scope .acr-delivery-field label.acr-delivery-tab {
	min-height: 44px !important;
	height: 44px !important;
	border: 1px solid #d1d5db !important;
	border-radius: 8px !important;
	padding: 6px 10px !important;
	background: #ffffff !important;
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 8px !important;
	box-shadow: none !important;
	transition: all 0.2s ease !important;
	cursor: pointer !important;
}

.acr-checkout-scope .acr-delivery-field label.acr-delivery-tab input[type="radio"] {
	position: static !important;
	display: block !important;
	width: 15px !important;
	height: 15px !important;
	min-width: 15px !important;
	min-height: 15px !important;
	margin: 0 !important;
	padding: 0 !important;
	flex-shrink: 0 !important;
	accent-color: var(--e-global-color-primary, #F0507C) !important;
}

.acr-checkout-scope .acr-delivery-field .acr-delivery-tab-copy {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: 100% !important;
	min-width: 0 !important;
	gap: 6px !important;
}

.acr-checkout-scope .acr-delivery-field .acr-delivery-tab-title {
	font-size: 12.5px !important;
	font-weight: 600 !important;
	color: #1f2937 !important;
	white-space: nowrap !important;
}

.acr-checkout-scope .acr-delivery-field .acr-delivery-tab-price {
	font-size: 12px !important;
	font-weight: 700 !important;
	color: var(--e-global-color-primary, #F0507C) !important;
	background: #fff0f3 !important;
	padding: 2px 6px !important;
	border-radius: 4px !important;
	white-space: nowrap !important;
}

.acr-checkout-scope .acr-delivery-field label.acr-delivery-tab.is-selected,
.acr-checkout-scope .acr-delivery-field label.acr-delivery-tab:has(input:checked) {
	border-color: var(--e-global-color-primary, #F0507C) !important;
	background: #fff8fa !important;
	box-shadow: none !important;
}

/* 8. Minimal Payment Method Box */
.acr-checkout-scope .acr-payment-box {
	border-top: 1px solid #f1f5f9 !important;
	padding: 12px 18px 14px !important;
	background: #fafafa !important;
}

.acr-checkout-scope .acr-payment-title {
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: #374151 !important;
	margin-bottom: 8px !important;
}

.acr-checkout-scope #payment {
	background: transparent !important;
}

.acr-checkout-scope #payment ul.payment_methods {
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
}

.acr-checkout-scope #payment ul.payment_methods li {
	padding: 10px 14px !important;
	border: 1px solid var(--e-global-color-primary, #F0507C) !important;
	border-radius: 8px !important;
	background: #fff8fa !important;
	margin-bottom: 4px !important;
}

.acr-checkout-scope #payment ul.payment_methods li label {
	font-size: 13.5px !important;
	font-weight: 600 !important;
	color: #1f2937 !important;
	cursor: pointer !important;
}

.acr-checkout-scope #payment ul.payment_methods li div.payment_box {
	margin: 3px 0 0 !important;
	padding: 2px 0 0 20px !important;
	font-size: 12px !important;
	color: #64748b !important;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

.acr-checkout-scope #payment ul.payment_methods li div.payment_box p {
	margin: 0 !important;
	padding: 0 !important;
}

.acr-checkout-scope #payment div.payment_box::before {
	display: none !important;
}

/* Fix Privacy Policy Text wrapping completely */
.acr-checkout-scope .woocommerce-privacy-policy-text {
	font-size: 11.5px !important;
	line-height: 1.4 !important;
	color: #64748b !important;
	margin: 8px 18px 12px !important;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
	word-wrap: break-word !important;
}

/* 9. Minimal Coupon Input Box */
.acr-checkout-scope .acr-coupon-box {
	border: none !important;
	background: transparent !important;
	padding: 0 !important;
	margin: 14px 16px !important;
	display: flex !important;
	gap: 8px !important;
	box-shadow: none !important;
}

.acr-checkout-scope .acr-coupon-input {
	border: 1px solid #d1d5db !important;
	border-radius: 8px !important;
	height: 42px !important;
	min-height: 42px !important;
	padding: 0 14px !important;
	background: #ffffff !important;
	font-size: 13.5px !important;
	flex: 1 !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

.acr-checkout-scope .acr-coupon-input:focus {
	border-color: var(--e-global-color-primary, #F0507C) !important;
	box-shadow: 0 0 0 3px rgba(240, 80, 124, 0.12) !important;
	outline: none !important;
}

.acr-checkout-scope .acr-coupon-button {
	border: none !important;
	background-color: var(--e-global-color-primary, #F0507C) !important;
	color: #ffffff !important;
	font-weight: 600 !important;
	font-size: 13.5px !important;
	padding: 0 18px !important;
	height: 42px !important;
	min-height: 42px !important;
	border-radius: 8px !important;
	cursor: pointer !important;
	white-space: nowrap !important;
	transition: background-color 0.2s ease !important;
}

.acr-checkout-scope .acr-coupon-button:hover {
	background-color: var(--e-global-color-918db0a, #D63864) !important;
}

/* 10. Primary Order Button */
.acr-checkout-scope #place_order {
	width: calc(100% - 36px) !important;
	margin: 0 18px 18px !important;
	height: 48px !important;
	min-height: 48px !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: 0.3px !important;
	border-radius: 8px !important;
	background-color: var(--e-global-color-primary, #F0507C) !important;
	border-color: var(--e-global-color-primary, #F0507C) !important;
	color: #ffffff !important;
	box-shadow: 0 4px 14px rgba(240, 80, 124, 0.35) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	cursor: pointer !important;
	transition: transform 0.15s ease, background-color 0.15s ease !important;
}

.acr-checkout-scope #place_order:hover {
	background-color: var(--e-global-color-918db0a, #D63864) !important;
}

.acr-checkout-scope #place_order:active {
	transform: scale(0.98) !important;
}

/* 11. Mobile Sticky Order Bar (Always Hidden on Desktop) */
.acr-mobile-sticky-bar {
	display: none;
}

/* ==========================================================================
   Mobile-First Order-Focused Checkout Optimizations (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
	body.woocommerce-checkout {
		padding-bottom: 74px !important;
	}

	.woocommerce-checkout .elementor-location-single,
	.woocommerce-checkout .e-con,
	.woocommerce-checkout .e-con-inner {
		padding-top: 6px !important;
		padding-bottom: 14px !important;
	}

	.acr-checkout-scope {
		padding: 6px 0 !important;
	}

	.acr-checkout-scope .acr-checkout-wrapper {
		padding: 0 8px !important;
	}

	.acr-checkout-scope .acr-checkout-grid {
		grid-template-columns: 1fr !important;
		gap: 12px !important;
	}

	.acr-checkout-scope .acr-customer-card,
	.acr-checkout-scope .acr-order-card {
		border-radius: 10px !important;
		margin-bottom: 12px !important;
	}

	.acr-checkout-scope .acr-customer-card {
		padding-top: 0 !important;
	}

	.acr-checkout-scope .acr-checkout-note {
		display: block !important;
		padding: 7px 10px !important;
		font-size: 11.5px !important;
		line-height: 1.35 !important;
		margin: 0 !important;
	}

	/* Sleek, Compact Field Group - No giant inputs */
	.acr-checkout-scope .acr-customer-details {
		padding: 8px 12px 2px !important;
	}

	.acr-checkout-scope .acr-field,
	.acr-checkout-scope .form-row,
	.acr-checkout-scope .woocommerce form .form-row {
		margin: 0 0 7px !important;
	}

	.acr-checkout-scope .acr-field label,
	.acr-checkout-scope .form-row label {
		font-size: 12.5px !important;
		font-weight: 600 !important;
		margin: 0 0 2px !important;
	}

	/* Compact inputs on mobile - Direct ID Specificity */
	.acr-checkout-scope #billing_first_name,
	.acr-checkout-scope #billing_email,
	.acr-checkout-scope #billing_phone,
	.acr-checkout-scope #billing_address_1,
	.acr-checkout-scope .input-text,
	.acr-checkout-scope input[type="text"],
	.acr-checkout-scope input[type="tel"],
	.acr-checkout-scope input[type="email"],
	.acr-checkout-scope textarea {
		min-height: 38px !important;
		height: 38px !important;
		padding: 6px 11px !important;
		padding-left: 11px !important;
		padding-right: 11px !important;
		font-size: 13.5px !important;
		border-radius: 6px !important;
		border: 1px solid #d1d5db !important;
		text-align: left !important;
	}

	.acr-checkout-scope textarea#billing_address_1,
	.acr-checkout-scope textarea {
		min-height: 50px !important;
		height: 50px !important;
	}

	/* Delivery Area - strictly 2 columns side by side on mobile */
	.acr-checkout-scope .acr-delivery-field {
		padding: 2px 12px 8px !important;
	}

	.acr-checkout-scope .acr-delivery-field .acr-delivery-label {
		font-size: 12.5px !important;
		margin-bottom: 4px !important;
	}

	.acr-checkout-scope .acr-delivery-tabs {
		display: grid !important;
		grid-template-columns: 1fr 1fr !important;
		gap: 6px !important;
	}

	.acr-checkout-scope .acr-delivery-field label.acr-delivery-tab {
		min-height: 40px !important;
		height: 40px !important;
		border-radius: 6px !important;
		padding: 4px 8px !important;
		display: flex !important;
		align-items: center !important;
		gap: 6px !important;
	}

	.acr-checkout-scope .acr-delivery-field label.acr-delivery-tab input[type="radio"] {
		width: 14px !important;
		height: 14px !important;
		min-width: 14px !important;
		min-height: 14px !important;
	}

	.acr-checkout-scope .acr-delivery-field .acr-delivery-tab-title {
		font-size: 11.5px !important;
	}

	.acr-checkout-scope .acr-delivery-field .acr-delivery-tab-price {
		font-size: 11.5px !important;
		padding: 2px 5px !important;
	}

	/* Compact Payment Box */
	.acr-checkout-scope .acr-payment-box {
		padding: 8px 12px 10px !important;
	}

	.acr-checkout-scope .acr-payment-title {
		font-size: 12.5px !important;
		margin-bottom: 5px !important;
	}

	.acr-checkout-scope #payment ul.payment_methods li {
		padding: 7px 10px !important;
		border-radius: 6px !important;
		margin-bottom: 3px !important;
	}

	.acr-checkout-scope #payment ul.payment_methods li label {
		font-size: 12.5px !important;
	}

	.acr-checkout-scope #payment ul.payment_methods li div.payment_box {
		margin: 2px 0 0 !important;
		padding: 1px 0 0 20px !important;
		font-size: 11px !important;
	}

	/* Privacy Policy */
	.acr-checkout-scope .woocommerce-privacy-policy-text {
		font-size: 10.5px !important;
		line-height: 1.35 !important;
		color: #94a3b8 !important;
		margin: 6px 12px 8px !important;
	}

	/* Place Order Button on Mobile */
	.acr-checkout-scope #place_order {
		width: calc(100% - 24px) !important;
		margin: 0 12px 12px !important;
		height: 46px !important;
		min-height: 46px !important;
		font-size: 15.5px !important;
		border-radius: 7px !important;
	}

	/* Active Mobile Sticky Order Bar */
	.acr-mobile-sticky-bar {
		display: flex;
		position: fixed;
		bottom: 0;
		left: 0;
		right: 0;
		z-index: 99999;
		background: rgba(255, 255, 255, 0.98);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
		border-top: 1px solid #e5e7eb;
		padding: 8px 12px;
		padding-bottom: max(8px, env(safe-area-inset-bottom));
		box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		transform: translateY(120%);
		opacity: 0;
		pointer-events: none;
		transition: transform 0.22s ease-out, opacity 0.22s ease-out;
	}

	.acr-mobile-sticky-bar.is-visible {
		transform: translateY(0);
		opacity: 1;
		pointer-events: auto;
	}

	.acr-sticky-info {
		display: flex;
		flex-direction: column;
		line-height: 1.15;
	}

	.acr-sticky-total-label {
		font-size: 10.5px;
		color: #64748b;
		font-weight: 500;
	}

	.acr-sticky-total-amount {
		font-size: 16px;
		font-weight: 800;
		color: var(--e-global-color-primary, #F0507C);
	}

	.acr-sticky-btn {
		flex: 1;
		max-width: 210px;
		height: 42px;
		background-color: var(--e-global-color-primary, #F0507C);
		color: #ffffff;
		border: none;
		border-radius: 7px;
		font-size: 14.5px;
		font-weight: 700;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 5px;
		cursor: pointer;
		box-shadow: 0 3px 10px rgba(240, 80, 124, 0.35);
		transition: transform 0.15s ease, background-color 0.15s ease;
	}

	.acr-sticky-btn:active {
		transform: scale(0.97);
	}
}

