/**
 * Checkout page — match cart layout & order summary sidebar.
 */

body.woocommerce-checkout {
	/* Stop WP global “wide size” from capping the checkout block (~1100px). */
	--wp--style--global--wide-size: min(1630px, 100%);
	--wp--style--global--content-size: min(1630px, 100%);
}

body.woocommerce-checkout .main-content-wrapper {
	background: #fff;
}

body.woocommerce-checkout .main-container.aakriti-checkout-page,
body.woocommerce-checkout .main-container {
	padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem);
	background: #fff;
	max-width: none !important;
	width: 100% !important;
}

body.woocommerce-checkout .aakriti-checkout-page > .wide-container,
body.woocommerce-checkout .aakriti-checkout-page .wide-container,
body.woocommerce-checkout .main-container > .wide-container,
body.woocommerce-checkout .main-container > .container {
	max-width: min(1630px, 100%) !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: clamp(1rem, 3vw, 2.5rem) !important;
	padding-right: clamp(1rem, 3vw, 2.5rem) !important;
	box-sizing: border-box !important;
}

body.woocommerce-checkout .aakriti-checkout-page .inner-container,
body.woocommerce-checkout .main-container .inner-container,
body.woocommerce-checkout .aakriti-checkout-page .inner-container > *:not(header) {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.woocommerce-checkout .aakriti-checkout-page__header {
	margin: 0 0 1.25rem;
}

body.woocommerce-checkout .aakriti-checkout-page__header h1 {
	margin: 0;
	font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 600;
	line-height: 1.1;
	color: #1a1a1a;
}

/* Full-width checkout block (overrides alignwide / global wide-size) */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide,
body.woocommerce-checkout .wp-block-woocommerce-checkout.alignfull,
body.woocommerce-checkout .wp-block-woocommerce-checkout.aligncenter,
body.woocommerce-checkout .is-layout-constrained > .wp-block-woocommerce-checkout,
body.woocommerce-checkout .entry-content > .wp-block-woocommerce-checkout,
body.woocommerce-checkout .inner-container > .wp-block-woocommerce-checkout {
	max-width: none !important;
	width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-top: 0 !important;
	box-sizing: border-box !important;
}

/*
 * Checkout root must stay ONE full-width column.
 * (If we put a 2-col grid here while Woo wraps children in sidebar-layout,
 * the second grid track stays empty — that was the big white gap on the right.)
 */
body.woocommerce-checkout .wp-block-woocommerce-checkout.wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout.is-loading {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
}

/* Loading markup: fields + totals are direct children */
body.woocommerce-checkout .wp-block-woocommerce-checkout.wc-block-checkout:has(> .wp-block-woocommerce-checkout-fields-block),
body.woocommerce-checkout .wp-block-woocommerce-checkout.is-loading:has(> .wp-block-woocommerce-checkout-fields-block) {
	display: grid !important;
	grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.95fr) !important;
	gap: clamp(1.5rem, 3vw, 3rem) !important;
	align-items: start !important;
}

/* Frontend markup: sidebar-layout wraps main + sidebar */
body.woocommerce-checkout .wc-block-components-sidebar-layout,
body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout {
	display: grid !important;
	grid-template-columns: minmax(0, 1.55fr) minmax(360px, 0.95fr) !important;
	gap: clamp(1.5rem, 3vw, 3rem) !important;
	align-items: start !important;
	margin: 0 !important;
	width: 100% !important;
	max-width: none !important;
	flex-wrap: nowrap !important;
	flex-direction: row !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block,
body.woocommerce-checkout .wc-block-components-main,
body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-main {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	padding-right: 0 !important;
	box-sizing: border-box !important;
}

/* ---------- Order summary sidebar (match cart) ---------- */
body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
body.woocommerce-checkout .wc-block-components-sidebar,
body.woocommerce-checkout .wc-block-checkout__sidebar,
body.woocommerce-checkout .wc-block-components-sidebar-layout > .wc-block-components-sidebar {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: clamp(1.25rem, 2.5vw, 1.75rem) !important;
	padding-left: clamp(1.25rem, 2.5vw, 1.75rem) !important;
	position: sticky;
	top: calc(var(--header-height, 64px) + 1rem);
	background: #faf8f4 !important;
	border: 1px solid #eeeae3 !important;
	border-radius: 8px !important;
	box-sizing: border-box !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block {
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

/* Order summary — always expanded on tablet/desktop */
@media (min-width: 768px) {
	body.woocommerce-checkout .wc-block-components-checkout-order-summary__content {
		display: block !important;
		height: auto !important;
		overflow: visible !important;
	}
}

/* Mobile accordion — title bar + toggle */
@media (max-width: 767.98px) {
	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 0.75rem !important;
		margin: 0 !important;
		padding: 1rem 0 !important;
		border-top: 1px solid #e5e1da !important;
		border-bottom: 1px solid #e5e1da !important;
		cursor: pointer !important;
		user-select: none;
		position: relative;
		z-index: 2;
	}

	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title.is-open {
		border-bottom-color: transparent !important;
	}

	body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
		flex: 1 1 auto !important;
		margin: 0 !important;
		font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif) !important;
		font-size: 1.25rem !important;
		font-weight: 600 !important;
	}

	body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-price {
		display: inline-flex !important;
		flex: 0 0 auto !important;
		font-size: 0.95rem !important;
		font-weight: 700 !important;
		color: #1a1a1a !important;
	}

	body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-icon {
		display: inline-flex !important;
		flex: 0 0 auto !important;
		align-items: center !important;
		width: 22px !important;
		height: 22px !important;
	}

	body.woocommerce-checkout .wc-block-components-checkout-order-summary__content:not(.is-open) {
		display: none !important;
	}

	body.woocommerce-checkout .wc-block-components-checkout-order-summary__content.is-open {
		display: block !important;
		padding-top: 0.75rem !important;
		border-bottom: 1px solid #e5e1da !important;
	}
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-title,
body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
	font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif) !important;
	font-weight: 600 !important;
	color: #1a1a1a !important;
	letter-spacing: 0.02em;
}

@media (min-width: 768px) {
	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title,
	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-checkout-order-summary__title-text,
	body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-title,
	body.woocommerce-checkout .wc-block-components-checkout-order-summary__title-text {
		margin: 0 0 1rem !important;
		font-size: 1.5rem !important;
	}
}

body.woocommerce-checkout .wc-block-components-order-summary {
	padding: 0 !important;
	margin: 0 0 0.75rem !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item {
	display: flex !important;
	align-items: flex-start !important;
	gap: 0.75rem !important;
	padding: 0.75rem 0 !important;
	border-bottom: 1px solid #ebe8e2 !important;
	font-size: 0.875rem !important;
	width: 100% !important;
	box-sizing: border-box !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image {
	display: block !important;
	flex: 0 0 48px !important;
	width: 48px !important;
	margin: 0 !important;
	padding: 0 !important;
	position: relative !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description {
	display: block !important;
	flex: 1 1 auto !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-name {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.35 !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__total-price {
	flex: 0 0 auto !important;
	margin: 0 0 0 auto !important;
	padding: 0 !important;
	text-align: right !important;
	white-space: nowrap !important;
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
	line-height: 1.35 !important;
}

/* Unit / sale prices under the name — one inline row, not stacked */
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices,
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-price {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: baseline !important;
	gap: 0.35rem 0.5rem !important;
	margin: 0.25rem 0 0 !important;
	padding: 0 !important;
	font-size: 0.8rem !important;
	line-height: 1.3 !important;
	color: #6b6b6b !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices .wc-block-components-product-price,
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-price {
	display: inline-flex !important;
	flex-wrap: wrap !important;
	align-items: baseline !important;
	gap: 0.35rem !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Match product-card: sale price larger, struck regular smaller */
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices ins,
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-price ins,
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices .wc-block-components-product-price__value,
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-price {
	display: inline !important;
	margin: 0 !important;
	text-decoration: none !important;
	color: #1a1a1a !important;
	font-size: 0.95rem !important;
	font-weight: 600 !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices del,
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-price del,
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices del bdi,
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices del .woocommerce-Price-amount,
body.woocommerce-checkout .wc-block-components-order-summary-item__individual-prices del span,
body.woocommerce-checkout .wc-block-components-order-summary-item__regular-individual-price,
body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-price__regular {
	display: inline !important;
	margin: 0 !important;
	color: #9a9a9a !important;
	font-size: 0.85rem !important;
	font-weight: 400 !important;
	text-decoration: line-through !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item:last-child {
	border-bottom: 0 !important;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image img {
	border-radius: 4px;
	background: #f5f3ee;
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-name {
	font-family: var(--font-body, "Nunito", sans-serif) !important;
	font-size: 0.9rem !important;
	font-weight: 700 !important;
	color: #1a1a1a !important;
	text-decoration: none !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-low-stock-badge,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-sale-badge {
	display: none !important;
}

body.woocommerce-checkout .wc-block-components-totals-wrapper {
	padding: 0.9rem 0 !important;
	border-color: #e5e1da !important;
}

/* Theme padding above must not keep empty fee/discount/tax rows open */
body.woocommerce-checkout .wc-block-components-totals-wrapper:empty,
body.woocommerce-checkout .wc-block-components-totals-wrapper:has(>:only-child:empty),
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-fee-block:empty,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-discount-block:empty,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-taxes-block:empty,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-fee-block:not(:has(.wc-block-components-totals-item)),
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-discount-block:not(:has(.wc-block-components-totals-item)),
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-taxes-block:not(:has(.wc-block-components-totals-item)) {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	overflow: hidden !important;
}

body.woocommerce-checkout .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-item__value {
	font-size: 0.875rem !important;
	color: #1a1a1a !important;
}

body.woocommerce-checkout .wc-block-components-totals-item__value {
	font-weight: 700 !important;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item {
	padding-top: 1rem !important;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 1.15rem !important;
	font-weight: 700 !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block {
	border-top: 1px solid #e5e1da !important;
	padding-bottom: 0 !important;
}

/* Keep subtotal → shipping → total tight when no middle rows */
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-wrapper {
	padding-top: 0.65rem !important;
	padding-bottom: 0.65rem !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-wrapper:first-child {
	padding-top: 0.9rem !important;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-totals-block .wc-block-components-totals-footer-item {
	padding-top: 0.75rem !important;
}

/* Coupon — match cart */
body.woocommerce-checkout .wc-block-components-totals-coupon__button,
body.woocommerce-checkout .wc-block-components-totals-coupon__button.wc-block-components-button,
body.woocommerce-checkout .wc-block-components-totals-coupon__button .wc-block-components-button__text {
	background: #2e4b30 !important;
	border-color: #2e4b30 !important;
	color: #fff !important;
}

body.woocommerce-checkout .wc-block-components-totals-coupon__button:hover,
body.woocommerce-checkout .wc-block-components-totals-coupon__button:hover .wc-block-components-button__text {
	background: #acb087 !important;
	border-color: #acb087 !important;
	color: #fff !important;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-totals-coupon__input input {
	border-color: #d9d7d2 !important;
	border-radius: 0 !important;
}

/* ---------- Hide empty checkout blocks (no content / no express pay / etc.) ---------- */
body.woocommerce-checkout .wp-block-woocommerce-checkout-express-payment-block:empty,
body.woocommerce-checkout .wp-block-woocommerce-checkout-pickup-options-block:empty,
body.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block:empty,
body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-method-block:empty,
body.woocommerce-checkout .wp-block-woocommerce-checkout-billing-address-block:empty,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-note-block:empty,
body.woocommerce-checkout .wp-block-woocommerce-checkout-fields-block > div:empty,
body.woocommerce-checkout .wc-block-components-main > div:empty {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	overflow: hidden !important;
}

/* Blocks that only wrap an empty shell (React often leaves a lone empty child) */
body.woocommerce-checkout .wp-block-woocommerce-checkout-express-payment-block:not(:has(*)),
body.woocommerce-checkout .wp-block-woocommerce-checkout-pickup-options-block:not(:has(*)),
body.woocommerce-checkout .wp-block-woocommerce-checkout-additional-information-block:not(:has(*)),
body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-method-block:not(:has(*)),
body.woocommerce-checkout .wp-block-woocommerce-checkout-express-payment-block:not(:has(.wc-block-components-express-payment, .wc-block-components-button, button, a)),
body.woocommerce-checkout .wp-block-woocommerce-checkout-pickup-options-block:not(:has(.wc-block-components-shipping-rates-control, .wc-block-components-radio-control, input)) {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

/* ---------- Left column: form sections (skip empty shells) ---------- */
body.woocommerce-checkout .wp-block-woocommerce-checkout-contact-information-block:not(:empty),
body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-address-block:not(:empty),
body.woocommerce-checkout .wp-block-woocommerce-checkout-billing-address-block:not(:empty),
body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block:not(:empty),
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block:not(:empty),
body.woocommerce-checkout .wc-block-checkout__contact-fields:not(:empty),
body.woocommerce-checkout .wc-block-checkout__shipping-fields:not(:empty),
body.woocommerce-checkout .wc-block-checkout__billing-fields:not(:empty),
body.woocommerce-checkout .wc-block-checkout__payment-method:not(:empty) {
	margin-bottom: 1.75rem;
	padding: clamp(1.15rem, 2vw, 1.5rem);
	background: #fff;
	border: 1px solid #eeeae3;
	border-radius: 8px;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading,
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title {
	font-family: var(--font-heading, "Cormorant Garamond", Georgia, serif) !important;
	font-size: 1.45rem !important;
	font-weight: 600 !important;
	color: #1a1a1a !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__description {
	font-size: 0.875rem;
	color: #626262;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea textarea,
body.woocommerce-checkout .wc-block-components-combobox .components-combobox-control__input,
body.woocommerce-checkout select {
	border: 1px solid #d9d7d2 !important;
	border-radius: 0 !important;
	background: #fff !important;
	color: #1a1a1a !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
	border-color: #2e4b30 !important;
	outline: none !important;
	box-shadow: 0 0 0 1px #2e4b30 !important;
}

/* Payment methods — keep all gateways (COD + Razorpay) visible */
body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block,
body.woocommerce-checkout .wc-block-checkout__payment-method {
	display: block !important;
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

body.woocommerce-checkout .wc-block-components-radio-control-accordion-option,
body.woocommerce-checkout .wc-block-components-radio-control__option {
	border-color: #e5e1da !important;
	border-radius: 6px !important;
	display: block !important;
}

body.woocommerce-checkout .wc-block-components-radio-control__option-layout {
	padding: 0.85rem 1rem !important;
}

/* Place order footer — clean bar, no sparse card */
body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block,
body.woocommerce-checkout .wp-block-woocommerce-checkout-actions-block:not(:empty) {
	margin: 1.25rem 0 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-checkout__actions {
	width: 100% !important;
	margin: 0 !important;
	padding: 1rem 1.15rem !important;
	background: #faf8f4 !important;
	border: 1px solid #eeeae3 !important;
	border-radius: 0 !important;
}

body.woocommerce-checkout .wc-block-checkout__actions_row {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 1rem !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
	flex: 0 1 auto !important;
	display: inline-flex !important;
	align-items: center !important;
	position: relative !important;
	min-width: 0 !important;
	max-width: 42% !important;
	margin: 0 !important;
	padding: 0.55rem 0.35rem 0.55rem 1.45rem !important;
	color: #2e4b30 !important;
	font-size: 0.84rem !important;
	font-weight: 600 !important;
	line-height: 1.3 !important;
	letter-spacing: 0.01em !important;
	text-decoration: none !important;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-shadow: none !important;
	background: transparent !important;
	border: 0 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button svg {
	display: block !important;
	position: absolute !important;
	left: 0 !important;
	top: 50% !important;
	width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	transform: translateY(-50%) !important;
	fill: currentColor !important;
	color: inherit !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Fallback arrow if WooCommerce SVG is missing */
body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button:not(:has(svg))::before {
	content: "\f060";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	font-size: 0.8rem;
	line-height: 1;
	color: inherit;
}

body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button:hover {
	color: #acb087 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button:hover svg {
	fill: currentColor !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained,
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button--full-width {
	display: inline-flex !important;
	flex: 1 1 auto !important;
	align-items: center !important;
	justify-content: center !important;
	width: auto !important;
	max-width: min(320px, 58%) !important;
	min-width: 180px !important;
	min-height: 48px !important;
	margin: 0 0 0 auto !important;
	padding: 0.95rem 1.75rem !important;
	background: #2e4b30 !important;
	background-color: #2e4b30 !important;
	border: 1px solid #2e4b30 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 0.82rem !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	letter-spacing: 0.06em !important;
	text-align: center !important;
	text-transform: uppercase !important;
	white-space: nowrap;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout button.wc-block-components-button.wp-element-button.wc-block-components-checkout-place-order-button.contained:hover {
	background: #acb087 !important;
	background-color: #acb087 !important;
	border-color: #acb087 !important;
	color: #fff !important;
	transform: none !important;
}

@media (max-width: 767.98px) {
	body.woocommerce-checkout .wc-block-checkout__actions {
		padding: 0.85rem !important;
	}

	body.woocommerce-checkout .wc-block-checkout__actions_row {
		flex-wrap: wrap !important;
		gap: 0.75rem !important;
	}

	body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
		max-width: 100% !important;
		order: 2;
		padding-left: 1.35rem !important;
	}

	body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
	body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button,
	body.woocommerce-checkout .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button--full-width {
		order: 1;
		flex: 1 1 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0.9rem 1rem !important;
	}
}

/* Express / terms */
body.woocommerce-checkout .wc-block-components-checkbox label {
	color: #565656 !important;
	font-size: 0.85rem !important;
}

@media (max-width: 991.98px) {
	body.woocommerce-checkout .wp-block-woocommerce-checkout.wc-block-checkout:has(> .wp-block-woocommerce-checkout-fields-block),
	body.woocommerce-checkout .wp-block-woocommerce-checkout.is-loading:has(> .wp-block-woocommerce-checkout-fields-block),
	body.woocommerce-checkout .wc-block-components-sidebar-layout,
	body.woocommerce-checkout .wp-block-woocommerce-checkout .wc-block-components-sidebar-layout {
		grid-template-columns: 1fr !important;
		gap: 2rem !important;
	}

	body.woocommerce-checkout .wp-block-woocommerce-checkout-totals-block,
	body.woocommerce-checkout .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-checkout__sidebar {
		position: static;
		order: -1;
	}
}

/* Mobile: Woo injects a fill-wrapper clone of order summary — hide the sidebar one so it only shows once */
@media (max-width: 767.98px) {
	body.woocommerce-checkout .wp-block-woocommerce-checkout:has(.checkout-order-summary-block-fill-wrapper) .wc-block-components-sidebar,
	body.woocommerce-checkout .wp-block-woocommerce-checkout:has(.checkout-order-summary-block-fill-wrapper) .wc-block-checkout__sidebar,
	body.woocommerce-checkout .wp-block-woocommerce-checkout:has(.checkout-order-summary-block-fill-wrapper) .wp-block-woocommerce-checkout-totals-block {
		display: none !important;
	}

	body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block.checkout-order-summary-block-fill-wrapper {
		display: block !important;
		overflow: visible !important;
		margin: 0 0 1.25rem !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
	}
}

@media (max-width: 575.98px) {
	body.woocommerce-checkout .main-container.aakriti-checkout-page {
		padding-top: 1rem;
	}

	body.woocommerce-checkout .aakriti-checkout-page__header h1 {
		font-size: 2rem;
	}

	body.woocommerce-checkout .wc-block-components-sidebar,
	body.woocommerce-checkout .wc-block-checkout__sidebar {
		padding: 1rem !important;
	}

	body.woocommerce-checkout .wp-block-woocommerce-checkout-contact-information-block:not(:empty),
	body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-address-block:not(:empty),
	body.woocommerce-checkout .wp-block-woocommerce-checkout-billing-address-block:not(:empty),
	body.woocommerce-checkout .wp-block-woocommerce-checkout-shipping-methods-block:not(:empty),
	body.woocommerce-checkout .wp-block-woocommerce-checkout-payment-block:not(:empty) {
		padding: 1rem;
	}
}

/* ---------- Order pay (Razorpay / classic #place_order) ---------- */
body.woocommerce-order-pay .woocommerce > p:has(#btn-razorpay),
body.woocommerce-order-pay .woocommerce p:has(#btn-razorpay) {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin: 1.25rem 0 0;
}

body.woocommerce-order-pay #btn-razorpay,
body.woocommerce-order-pay #place_order,
body.woocommerce-order-pay #order_review #place_order,
body.woocommerce-order-pay .woocommerce #payment #place_order {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 148px !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0.85rem 1.5rem !important;
	background: #2e4b30 !important;
	background-color: #2e4b30 !important;
	border: 1px solid #2e4b30 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #fff !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	letter-spacing: 0.04em !important;
	text-align: center !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

body.woocommerce-order-pay #btn-razorpay:hover,
body.woocommerce-order-pay #btn-razorpay:focus,
body.woocommerce-order-pay #place_order:hover,
body.woocommerce-order-pay #place_order:focus {
	background: #acb087 !important;
	background-color: #acb087 !important;
	border-color: #acb087 !important;
	color: #fff !important;
	transform: none !important;
	box-shadow: none !important;
}

body.woocommerce-order-pay #btn-razorpay-cancel {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	min-width: 0 !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0.85rem 1.35rem !important;
	background: transparent !important;
	background-color: transparent !important;
	border: 1px solid #2e4b30 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: #2e4b30 !important;
	font-size: 0.78rem !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
	cursor: pointer !important;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

body.woocommerce-order-pay #btn-razorpay-cancel:hover,
body.woocommerce-order-pay #btn-razorpay-cancel:focus {
	background: #2e4b30 !important;
	background-color: #2e4b30 !important;
	border-color: #2e4b30 !important;
	color: #fff !important;
	transform: none !important;
	box-shadow: none !important;
}
