.tetebu-delivery-location {
	--tetebu-location-green: var(--e-global-color-primary, #214b33);
	--tetebu-location-gold: var(--e-global-color-accent, #b9924c);
	--tetebu-location-ink: var(--e-global-color-text, #2d2d2d);
	--tetebu-location-surface: #faf8f3;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	clear: none;
	margin: 0 0 24px;
	padding: 18px;
	border: 1px solid rgba(45, 45, 45, 0.18);
	border-radius: 12px;
	background: var(--tetebu-location-surface);
	color: var(--tetebu-location-ink);
}

/*
 * Classic Cart layout: keep Tetebu's interactive delivery step as a sibling of
 * WooCommerce Cart totals, then reuse the theme's existing bordered-panel
 * language. Checkout intentionally keeps the compact standalone summary.
 */
.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(320px, 2fr);
	align-items: start;
	gap: 24px;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals::before,
.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals::after {
	display: none;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .tetebu-delivery-location,
.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .cart_totals {
	float: none;
	width: 100%;
	min-width: 0;
	clear: none;
	margin: 0 0 32px;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .cross-sells {
	grid-column: 1 / -1;
	grid-row: 2;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .tetebu-delivery-location {
	grid-column: 1;
	grid-row: 1;
	padding: 0 20px 20px;
	border-color: #ded7ca;
	border-radius: 0;
	background: #fff;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .cart_totals {
	grid-column: 2;
	grid-row: 1;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .tetebu-delivery-location .tetebu-delivery-location__copy {
	margin: 0 -20px 20px;
	padding: 25.2px 36px;
	background: #fbfbfb;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .tetebu-delivery-location .tetebu-delivery-location__copy h2 {
	margin: 0;
	color: var(--tetebu-location-green);
	font-family: var(--e-global-typography-primary-font-family, "Cormorant Garamond"), serif;
	font-size: 36px;
	font-weight: 500;
	line-height: 1.2;
}

.tetebu-delivery-location__lead {
	max-width: 60ch;
	margin: 0;
}

.tetebu-delivery-schedule {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid #ded7ca;
}

.tetebu-delivery-location.is-address-editing .tetebu-delivery-schedule {
	display: none;
}

.tetebu-delivery-schedule h3 {
	margin: 0 0 6px;
	color: var(--tetebu-location-green);
	font: inherit;
	font-size: 1.125rem;
	font-weight: 700;
}

.tetebu-delivery-schedule__cutoff,
.tetebu-delivery-schedule__status,
.tetebu-delivery-schedule__note {
	margin: 0;
	font-size: 0.875rem;
}

.tetebu-delivery-schedule__cutoff {
	color: rgba(45, 45, 45, 0.76);
}

.tetebu-delivery-schedule__note {
	max-width: 52ch;
	color: rgba(45, 45, 45, 0.76);
}

.tetebu-delivery-schedule__form {
	display: grid;
	margin-top: 12px;
	gap: 14px;
}

.tetebu-delivery-schedule__form fieldset {
	display: grid;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.tetebu-delivery-schedule__option {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
	gap: 10px;
	padding: 12px 0;
	border-bottom: 1px solid #ded7ca;
	cursor: pointer;
}

.tetebu-delivery-schedule__option:first-of-type {
	border-top: 1px solid #ded7ca;
}

.tetebu-delivery-schedule__option input {
	width: 18px;
	height: 18px;
	margin: 3px 0 0;
	accent-color: var(--tetebu-location-green);
}

.tetebu-delivery-schedule__option span {
	display: grid;
	min-width: 0;
	gap: 2px;
}

.tetebu-delivery-schedule__option strong {
	color: var(--tetebu-location-ink);
	font-weight: 700;
}

.tetebu-delivery-schedule__option small {
	color: rgba(45, 45, 45, 0.76);
	font-size: 0.875rem;
}

.tetebu-delivery-schedule__date {
	display: grid;
	max-width: 320px;
	gap: 6px;
}

.tetebu-delivery-schedule__date label {
	font-size: 0.875rem;
	font-weight: 700;
}

.tetebu-delivery-schedule__date small {
	color: rgba(45, 45, 45, 0.76);
	font-size: 0.8rem;
}

.woocommerce .tetebu-delivery-schedule__date input {
	width: 100%;
	min-height: 44px;
	box-sizing: border-box;
	margin: 0;
	padding: 9px 11px;
	border: 1px solid rgba(45, 45, 45, 0.38);
	border-radius: 4px;
	background: #fff;
	color: var(--tetebu-location-ink);
	font: inherit;
}

.woocommerce .tetebu-delivery-schedule__date input.tetebu-delivery-schedule__calendar-input {
	cursor: pointer;
}

.tetebu-delivery-datepicker {
	--tetebu-datepicker-green: var(--e-global-color-primary, #214b33);
	--tetebu-datepicker-gold: var(--e-global-color-accent, #b9924c);
	--tetebu-datepicker-ink: var(--e-global-color-text, #2d2d2d);
	width: 320px;
	box-sizing: border-box;
	padding: 14px;
	border: 1px solid #ded7ca;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(45, 45, 45, 0.16);
	color: var(--tetebu-datepicker-ink);
	font-family: var(--e-global-typography-secondary-font-family, "Inter"), sans-serif;
	z-index: 100000 !important;
}

.tetebu-delivery-datepicker .ui-datepicker-header {
	display: grid;
	min-height: 40px;
	margin-bottom: 8px;
	grid-template-columns: 40px minmax(0, 1fr) 40px;
	align-items: center;
}

.tetebu-delivery-datepicker .ui-datepicker-prev,
.tetebu-delivery-datepicker .ui-datepicker-next {
	display: grid;
	width: 36px;
	height: 36px;
	box-sizing: border-box;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	border-radius: 4px;
	color: var(--tetebu-datepicker-green);
	cursor: pointer;
	text-decoration: none;
}

.tetebu-delivery-datepicker .ui-datepicker-prev {
	grid-column: 1;
	grid-row: 1;
}

.tetebu-delivery-datepicker .ui-datepicker-next {
	grid-column: 3;
	grid-row: 1;
}

.tetebu-delivery-datepicker .ui-datepicker-prev::after,
.tetebu-delivery-datepicker .ui-datepicker-next::after {
	font-family: Arial, sans-serif;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;
}

.tetebu-delivery-datepicker .ui-datepicker-prev::after {
	content: "‹";
}

.tetebu-delivery-datepicker .ui-datepicker-next::after {
	content: "›";
}

.tetebu-delivery-datepicker .ui-datepicker-prev span,
.tetebu-delivery-datepicker .ui-datepicker-next span {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.tetebu-delivery-datepicker .ui-datepicker-prev:hover,
.tetebu-delivery-datepicker .ui-datepicker-next:hover {
	border-color: #ded7ca;
	background: rgba(33, 75, 51, 0.07);
}

.tetebu-delivery-datepicker .ui-datepicker-prev:focus-visible,
.tetebu-delivery-datepicker .ui-datepicker-next:focus-visible,
.tetebu-delivery-datepicker .ui-datepicker-calendar a:focus-visible {
	outline: 2px solid var(--tetebu-datepicker-green);
	outline-offset: 1px;
}

.tetebu-delivery-datepicker .ui-datepicker-title {
	grid-column: 2;
	grid-row: 1;
	color: var(--tetebu-datepicker-ink);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: normal;
	text-align: center;
	text-transform: none;
}

.tetebu-delivery-datepicker .ui-datepicker-calendar {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 2px;
	table-layout: fixed;
}

.tetebu-delivery-datepicker .ui-datepicker-calendar th,
.tetebu-delivery-datepicker .ui-datepicker-calendar td {
	width: 14.285%;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: center;
}

.tetebu-delivery-datepicker .ui-datepicker-calendar th span {
	display: block;
	padding: 6px 0;
	color: rgba(45, 45, 45, 0.68);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: normal;
	text-transform: none;
}

.tetebu-delivery-datepicker .ui-datepicker-calendar .ui-state-default {
	display: grid;
	width: 36px;
	height: 36px;
	box-sizing: border-box;
	margin: 0 auto;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	border-radius: 50%;
	background: transparent;
	color: var(--tetebu-datepicker-ink);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
}

.tetebu-delivery-datepicker .tetebu-datepicker-available a.ui-state-default:hover {
	border-color: var(--tetebu-datepicker-green);
	background: rgba(33, 75, 51, 0.07);
	color: var(--tetebu-datepicker-green);
}

.tetebu-delivery-datepicker .ui-datepicker-current-day .ui-state-active {
	border-color: var(--tetebu-datepicker-green);
	background: var(--tetebu-datepicker-green);
	color: #fff;
}

.tetebu-delivery-datepicker .ui-datepicker-today:not(.ui-datepicker-current-day) .ui-state-default {
	border-color: var(--tetebu-datepicker-gold);
}

.tetebu-delivery-datepicker .tetebu-datepicker-unavailable .ui-state-default,
.tetebu-delivery-datepicker .ui-datepicker-unselectable .ui-state-default {
	background: #f5f2ec;
	color: #9f9b93;
	cursor: not-allowed;
	opacity: 0.48;
}

.tetebu-delivery-datepicker .ui-datepicker-other-month .ui-state-default {
	opacity: 0.3;
}

.tetebu-delivery-datepicker .ui-datepicker-prev.ui-state-disabled,
.tetebu-delivery-datepicker .ui-datepicker-next.ui-state-disabled {
	cursor: default;
	opacity: 0.35;
}

.woocommerce .tetebu-delivery-schedule__save,
.woocommerce .tetebu-delivery-schedule__save:hover {
	width: fit-content;
	min-height: 44px;
	box-sizing: border-box;
	margin: 0;
	padding: 10px 16px;
	border: 1px solid var(--tetebu-location-green);
	border-radius: 4px;
	background: transparent;
	color: var(--tetebu-location-green);
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.woocommerce .tetebu-delivery-schedule__save:hover {
	background: rgba(33, 75, 51, 0.08);
}

.woocommerce .tetebu-delivery-schedule__save:disabled {
	cursor: not-allowed;
	opacity: 0.7;
}

.woocommerce .tetebu-delivery-schedule__save[aria-busy="true"] {
	cursor: wait;
}

.woocommerce-cart.tetebu-delivery-schedule-editing .checkout-button {
	opacity: 0.55;
}

.tetebu-delivery-schedule-summary {
	display: grid;
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(45, 45, 45, 0.14);
	gap: 3px;
}

.tetebu-delivery-schedule-summary strong {
	color: var(--tetebu-location-green);
}

.tetebu-delivery-schedule-summary span {
	font-size: 0.875rem;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .tetebu-delivery-location.is-confirmed:not(.is-address-editing) .tetebu-google-location {
	display: none;
}

.tetebu-delivery-location [hidden] {
	display: none !important;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .woocommerce-shipping-calculator {
	display: none;
}

.tetebu-delivery-location__copy h2,
.tetebu-delivery-location__copy h3 {
	margin: 0 0 8px;
	color: var(--tetebu-location-green);
	font: inherit;
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	font-weight: 700;
}

.tetebu-google-location {
	display: grid;
	margin-top: 16px;
	gap: 7px;
}

.tetebu-google-location__label {
	font-size: 0.875rem;
	font-weight: 700;
}

.tetebu-google-location__search,
.tetebu-google-location__search gmp-place-autocomplete {
	display: block;
	width: 100%;
	min-width: 0;
}

.tetebu-google-location__search gmp-place-autocomplete {
	min-height: 46px;
	box-sizing: border-box;
	border: 1px solid rgba(45, 45, 45, 0.38);
	border-radius: 4px;
	background: #fff;
	color: var(--tetebu-location-ink);
}

.tetebu-google-location__hint,
.tetebu-google-location__map-help,
.tetebu-google-location__status {
	margin: 0;
	font-size: 0.875rem;
}

.tetebu-google-location__hint {
	color: rgba(45, 45, 45, 0.76);
}

.tetebu-google-location__map-panel {
	display: grid;
	margin-top: 5px;
	gap: 10px;
}

.woocommerce .tetebu-google-location__confirm,
.woocommerce .tetebu-google-location__confirm:hover {
	width: fit-content;
	min-height: 44px;
	box-sizing: border-box;
	margin: 0;
	padding: 10px 16px;
	border: 1px solid var(--tetebu-location-green);
	border-radius: 4px;
	background: var(--tetebu-location-green);
	color: #fff;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
}

.woocommerce .tetebu-google-location__confirm:disabled {
	border-color: #737373;
	background: #737373;
	cursor: not-allowed;
	opacity: 0.72;
}

.tetebu-delivery-location__address {
	display: grid;
	margin-top: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.tetebu-delivery-location__field {
	display: grid;
	min-width: 0;
	gap: 6px;
}

.tetebu-delivery-location__field--wide {
	grid-column: 1 / -1;
}

.tetebu-delivery-location__field label {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
}

.tetebu-delivery-location__field .optional {
	font-weight: 400;
}

.woocommerce .tetebu-delivery-location__field input,
.woocommerce .tetebu-delivery-location__field select {
	width: 100%;
	min-height: 44px;
	box-sizing: border-box;
	margin: 0;
	padding: 9px 11px;
	border: 1px solid rgba(45, 45, 45, 0.38);
	border-radius: 4px;
	background: #fff;
	color: var(--tetebu-location-ink);
	font: inherit;
}

.tetebu-delivery-location__address-status {
	align-self: center;
	margin: 0;
	font-size: 0.875rem;
}

.tetebu-delivery-location__intro p,
.tetebu-delivery-location__status,
.tetebu-delivery-location__coordinates,
.tetebu-delivery-location__summary-copy span {
	margin: 0;
}

.tetebu-delivery-location__privacy,
.tetebu-delivery-location__instructions {
	margin: 8px 0 0;
	font-size: 0.875rem;
}

.tetebu-delivery-location__instructions {
	margin: 8px 0;
	color: rgba(45, 45, 45, 0.78);
	font-size: 0.8rem;
}

.tetebu-delivery-location__privacy {
	margin-top: 0;
	font-weight: 400;
}

.tetebu-delivery-location__privacy strong {
	font-weight: 700;
}

.tetebu-delivery-location__announcer {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.tetebu-delivery-location__actions {
	display: flex;
	margin: 16px 0 10px;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.woocommerce .tetebu-delivery-location__locate,
.woocommerce .tetebu-delivery-location__confirm,
.woocommerce .tetebu-delivery-location__adjust,
.woocommerce .tetebu-delivery-location__change-address,
.woocommerce .tetebu-delivery-location__check {
	min-height: 44px;
	box-sizing: border-box;
	margin: 0;
	padding: 10px 16px;
	border-radius: 4px;
	font: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.woocommerce .tetebu-delivery-location__locate,
.woocommerce .tetebu-delivery-location__adjust,
.woocommerce .tetebu-delivery-location__change-address {
	border: 1px solid var(--tetebu-location-green);
	background: transparent;
	color: var(--tetebu-location-green);
}

.woocommerce .tetebu-delivery-location__check,
.woocommerce .tetebu-delivery-location__check:hover {
	align-self: end;
	border: 1px solid var(--tetebu-location-green);
	background: var(--tetebu-location-green);
	color: #fff;
}

.woocommerce .tetebu-delivery-location__check:disabled {
	cursor: wait;
	opacity: 0.7;
}

.woocommerce-cart.tetebu-delivery-address-editing .checkout-button[aria-disabled="true"] {
	opacity: 0.55;
}

.tetebu-delivery-location__picker {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(45, 45, 45, 0.14);
}

.woocommerce .tetebu-delivery-location__locate:hover,
.woocommerce .tetebu-delivery-location__adjust:hover,
.woocommerce .tetebu-delivery-location__change-address:hover {
	border-color: var(--tetebu-location-green);
	background: rgba(33, 75, 51, 0.08);
	color: var(--tetebu-location-green);
}

.tetebu-delivery-location__map {
	width: 100%;
	height: 220px;
	box-sizing: border-box;
	border: 1px solid rgba(45, 45, 45, 0.32);
	border-radius: 8px;
	background: #e8e4dc;
	z-index: 0;
}

.tetebu-delivery-location__coordinates {
	margin-top: 8px;
	font-size: 0.8rem;
	font-variant-numeric: tabular-nums;
}

.tetebu-delivery-location__footer {
	display: grid;
	margin-top: 12px;
	grid-template-columns: max-content minmax(0, 1fr);
	align-items: center;
	gap: 12px;
}

.woocommerce .tetebu-delivery-location__confirm,
.woocommerce .tetebu-delivery-location__confirm:hover {
	border: 1px solid var(--tetebu-location-green);
	background: var(--tetebu-location-green);
	color: #fff;
}

.woocommerce .tetebu-delivery-location__confirm:disabled {
	border-color: #737373;
	background: #737373;
	cursor: not-allowed;
	opacity: 0.72;
}

.tetebu-delivery-location.is-confirmed {
	border-color: var(--tetebu-location-green);
}

.tetebu-delivery-location--checkout.is-missing {
	border-color: var(--tetebu-location-gold);
}

.tetebu-delivery-location--checkout.is-missing .tetebu-delivery-location__summary-icon {
	background: var(--tetebu-location-gold);
	color: var(--tetebu-location-ink);
}

.tetebu-delivery-location.is-confirmed .tetebu-delivery-location__copy > p {
	display: none;
}

.tetebu-delivery-location.is-confirmed .tetebu-delivery-location__lead {
	display: none;
}

.tetebu-delivery-location.is-confirmed[data-context="cart"] .tetebu-delivery-location__address {
	display: none;
}

.tetebu-delivery-location.is-confirmed.is-address-editing[data-context="cart"] .tetebu-delivery-location__address {
	display: grid;
}

.tetebu-delivery-location.is-collapsed {
	padding-block: 16px;
}

.tetebu-delivery-location.is-collapsed .tetebu-delivery-location__copy h2,
.tetebu-delivery-location.is-collapsed .tetebu-delivery-location__copy h3 {
	margin-bottom: 12px;
}

.tetebu-delivery-location__summary {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
}

.tetebu-delivery-location[data-context="cart"] .tetebu-delivery-location__summary {
	grid-template-columns: auto minmax(0, 1fr);
	align-items: start;
}

.tetebu-delivery-location__summary-actions {
	display: flex;
	min-width: 0;
	justify-content: flex-end;
	gap: 12px;
	flex-wrap: wrap;
}

.tetebu-delivery-location[data-context="cart"] .tetebu-delivery-location__summary-actions {
	display: grid;
	grid-column: 1 / -1;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tetebu-delivery-location[data-context="cart"] .tetebu-delivery-location__summary-actions > .button {
	width: 100%;
	min-width: 0;
}

.tetebu-delivery-location__summary-icon {
	display: grid;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--tetebu-location-green);
	color: #fff;
	font-weight: 700;
	place-items: center;
}

.tetebu-delivery-location__summary-copy {
	display: grid;
	gap: 2px;
}

.tetebu-delivery-location__summary-copy strong {
	color: var(--tetebu-location-green);
}

.tetebu-delivery-location__summary-copy span {
	font-size: 0.875rem;
	overflow-wrap: anywhere;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-google-location__label,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-location__field label,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-schedule__option strong,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-schedule__option small,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-schedule__date label,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-schedule__date small {
	letter-spacing: normal !important;
	text-transform: none !important;
}

.woocommerce .tetebu-delivery-location__field input:focus,
.woocommerce .tetebu-delivery-location__field select:focus,
.woocommerce .tetebu-delivery-schedule__date input:focus {
	border-color: var(--tetebu-location-green) !important;
	outline: none !important;
	box-shadow: none !important;
}

.tetebu-delivery-location button:focus-visible,
.tetebu-delivery-location a:focus-visible,
.tetebu-delivery-location__map:focus-visible,
.tetebu-delivery-unavailable:focus-visible {
	outline: 2px solid var(--tetebu-location-green, #214b33);
	outline-offset: 2px;
}

.tetebu-google-location__search gmp-place-autocomplete:focus-within {
	border-color: var(--tetebu-location-green, #214b33);
	outline: none;
	box-shadow: none;
}

.tetebu-delivery-location button,
.tetebu-delivery-location a,
.tetebu-delivery-location__map,
.tetebu-delivery-unavailable {
	scroll-margin-block: 96px;
}

.tetebu-delivery-location .leaflet-marker-icon:focus-visible,
.tetebu-delivery-location .leaflet-control a:focus-visible {
	outline: 3px solid #fff;
	box-shadow: 0 0 0 6px var(--tetebu-location-ink);
}

.tetebu-delivery-location .leaflet-control-attribution {
	font-size: 11px;
}

/*
 * Cart design system. Astra and WooCommerce both style these controls, so the
 * enhanced Cart owns a small, explicit set of geometry and state tokens. Hover
 * states change colour only; they never change border, padding, or dimensions.
 */
.woocommerce-cart.tetebu-delivery-location-enhanced {
	--tetebu-cart-green: var(--e-global-color-primary, #214b33);
	--tetebu-cart-green-hover: #183a27;
	--tetebu-cart-border: #ded7ca;
	--tetebu-cart-muted-surface: #e7ece8;
	--tetebu-cart-muted-text: #4f5d55;
}

.woocommerce-cart.tetebu-delivery-location-enhanced main h1,
.woocommerce-cart.tetebu-delivery-location-enhanced .entry-content > h1:first-child {
	font-size: clamp(2.5rem, 3vw, 2.625rem);
	line-height: 1.15;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .tetebu-delivery-location,
.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .cart_totals {
	background: #fff;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .tetebu-delivery-location .tetebu-delivery-location__copy {
	border-bottom: 1px solid var(--tetebu-cart-border);
}

.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .tetebu-delivery-location .tetebu-delivery-location__copy h2 {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .woocommerce-cart-form button.button,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-location button.button,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-location a.button {
	min-height: 46px;
	box-sizing: border-box;
	padding: 12px 24px !important;
	border: 1px solid var(--tetebu-cart-green) !important;
	border-radius: 4px !important;
	font-family: var(--e-global-typography-secondary-font-family, "Inter"), sans-serif;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0 !important;
	text-align: center;
	text-decoration: none !important;
	text-transform: none !important;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .woocommerce-cart-form button[name="apply_coupon"],
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-location__check,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-location__confirm,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-google-location__confirm,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-schedule__save {
	background: var(--tetebu-cart-green) !important;
	color: #fff !important;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .woocommerce-cart-form button[name="apply_coupon"]:hover,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-location__check:hover,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-location__confirm:hover,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-google-location__confirm:hover,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-schedule__save:hover {
	border-color: var(--tetebu-cart-green-hover) !important;
	background: var(--tetebu-cart-green-hover) !important;
	color: #fff !important;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .woocommerce-cart-form button[name="update_cart"],
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-location__locate,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-location__adjust,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-location__change-address {
	background: #fff !important;
	color: var(--tetebu-cart-green) !important;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .woocommerce-cart-form button[name="update_cart"]:hover,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-location__locate:hover,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-location__adjust:hover,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-location__change-address:hover {
	border-color: var(--tetebu-cart-green) !important;
	background: rgba(33, 75, 51, 0.08) !important;
	color: var(--tetebu-cart-green) !important;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .woocommerce-cart-form button.button:disabled,
.woocommerce-cart.tetebu-delivery-location-enhanced .tetebu-delivery-location button.button:disabled {
	border-color: #cbd4ce !important;
	background: var(--tetebu-cart-muted-surface) !important;
	color: var(--tetebu-cart-muted-text) !important;
	cursor: not-allowed;
	opacity: 1 !important;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .cart_totals .checkout-button {
	display: flex;
	min-height: 56px;
	box-sizing: border-box;
	padding: 14px 24px !important;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--tetebu-cart-green) !important;
	border-radius: 4px !important;
	background: var(--tetebu-cart-green) !important;
	color: #fff !important;
	font-family: var(--e-global-typography-secondary-font-family, "Inter"), sans-serif;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0 !important;
	text-align: center;
	text-decoration: none !important;
	text-transform: none !important;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .cart_totals .checkout-button:hover {
	border-color: var(--tetebu-cart-green-hover) !important;
	background: var(--tetebu-cart-green-hover) !important;
	color: #fff !important;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .woocommerce-cart-form .coupon {
	display: flex;
	align-items: stretch;
	gap: 8px;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .woocommerce-cart-form .coupon input[name="coupon_code"] {
	min-height: 46px;
	box-sizing: border-box;
	margin: 0;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .woocommerce-cart-form input.qty {
	width: 56px;
	min-height: 44px;
	box-sizing: border-box;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .woocommerce-cart-form a.remove {
	display: inline-grid !important;
	width: 44px !important;
	height: 44px !important;
	align-items: center;
	justify-content: center;
	line-height: 1 !important;
}

.woocommerce-cart.tetebu-delivery-location-enhanced .cart_totals #shipping_method label {
	letter-spacing: 0 !important;
	text-transform: none !important;
}

@media (max-width: 900px) {
	.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}

	.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .cross-sells {
		grid-column: auto;
		grid-row: auto;
		order: 3;
	}

	.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .tetebu-delivery-location {
		grid-column: 1;
		grid-row: auto;
		order: 1;
	}

	.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .cart_totals {
		grid-column: 1;
		grid-row: auto;
		order: 2;
	}

	.tetebu-delivery-location__map {
		height: 220px;
	}
}

@media (max-width: 600px) {
	.tetebu-delivery-datepicker {
		width: calc(100vw - 32px);
		max-width: 340px;
		padding: 12px;
	}

	.woocommerce-cart.tetebu-delivery-location-enhanced main h1,
	.woocommerce-cart.tetebu-delivery-location-enhanced .entry-content > h1:first-child {
		font-size: 2.25rem;
	}

	.tetebu-delivery-location {
		margin-bottom: 20px;
		padding: 16px;
	}

	.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .tetebu-delivery-location {
		padding: 0 16px 16px;
	}

	.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .tetebu-delivery-location .tetebu-delivery-location__copy {
		margin: 0 -16px 16px;
		padding: 20px 24px;
	}

	.woocommerce-cart.tetebu-delivery-location-enhanced .cart-collaterals > .tetebu-delivery-location .tetebu-delivery-location__copy h2 {
		font-size: clamp(1.75rem, 8vw, 2.25rem);
	}

	.tetebu-delivery-location__address {
		grid-template-columns: 1fr;
	}

	.tetebu-delivery-location__field--wide {
		grid-column: auto;
	}

	.tetebu-delivery-location__actions,
	.tetebu-delivery-location__footer,
	.tetebu-delivery-location__summary {
		display: grid;
		grid-template-columns: 1fr;
	}

	.tetebu-delivery-location__summary {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.tetebu-delivery-location[data-context="cart"] .tetebu-delivery-location__summary {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.tetebu-delivery-location__summary-actions,
	.tetebu-delivery-location[data-context="cart"] .tetebu-delivery-location__summary-actions {
		display: grid;
		grid-column: 1 / -1;
		grid-template-columns: 1fr;
	}

	.woocommerce .tetebu-delivery-location__locate,
	.woocommerce .tetebu-delivery-location__confirm,
	.woocommerce .tetebu-delivery-location__check {
		width: 100%;
	}

	.woocommerce .tetebu-delivery-location__summary-actions .tetebu-delivery-location__change-address,
	.woocommerce .tetebu-delivery-location__summary-actions .tetebu-delivery-location__adjust {
		width: 100%;
	}

	.woocommerce .tetebu-google-location__confirm {
		width: 100%;
	}

	.woocommerce .tetebu-delivery-schedule__save,
	.tetebu-delivery-schedule__date {
		width: 100%;
		max-width: none;
	}

	.tetebu-delivery-location__map {
		height: 200px;
	}

	.woocommerce-cart.tetebu-delivery-location-enhanced .cart_totals .woocommerce-shipping-totals > th {
		padding-right: 16px;
		vertical-align: top;
	}

	.woocommerce-cart.tetebu-delivery-location-enhanced .cart_totals .woocommerce-shipping-totals > td,
	.woocommerce-cart.tetebu-delivery-location-enhanced .cart_totals .tetebu-delivery-date-row > td {
		display: block;
		padding-right: 16px;
		padding-left: 16px;
		text-align: left !important;
		overflow-wrap: anywhere;
	}

	.woocommerce-cart.tetebu-delivery-location-enhanced .cart_totals .woocommerce-shipping-totals > td::before,
	.woocommerce-cart.tetebu-delivery-location-enhanced .cart_totals .tetebu-delivery-date-row > td::before {
		display: block;
		float: none;
		width: 100%;
		margin: 0 0 8px;
		text-align: left;
	}

	.woocommerce-cart.tetebu-delivery-location-enhanced .cart_totals #shipping_method li {
		line-height: 1.45;
		text-align: left;
	}

	.woocommerce-cart.tetebu-delivery-location-enhanced .woocommerce-cart-form .coupon {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
	}

	.woocommerce-cart.tetebu-delivery-location-enhanced .woocommerce-cart-form .coupon input[name="coupon_code"] {
		width: 100% !important;
	}
}

@media (forced-colors: active) {
	.tetebu-delivery-location,
	.tetebu-delivery-location__map,
	.tetebu-delivery-location__summary-icon {
		border: 2px solid CanvasText;
	}
}
