:root {
	--trango-border: #e2e5e9;
	--trango-muted: #687079;
	--trango-panel: #f7f8f9;
	--trango-radius: 14px;
	--trango-shadow: 0 8px 24px rgba(21, 27, 35, 0.055);
}

/* Keep the catalogue categories visible in Astra's desktop and mobile drawers. */
#ast-desktop-toggle-menu > .trango-catalog-always-open > .sub-menu,
#ast-hf-mobile-menu > .trango-catalog-always-open > .sub-menu {
	display: block !important;
	position: static !important;
	width: 100% !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
}

#ast-desktop-toggle-menu > .trango-catalog-always-open > .ast-menu-toggle,
#ast-hf-mobile-menu > .trango-catalog-always-open > .ast-menu-toggle {
	display: none !important;
}

/* Checkout layout */
.woocommerce-checkout form.checkout.woocommerce-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
	gap: 28px 42px;
	align-items: start;
}

.woocommerce-checkout form.checkout #customer_details,
.woocommerce-checkout form.checkout .trango-shipping-methods,
.woocommerce-checkout form.checkout .trango-payment-section,
.woocommerce-checkout form.checkout #ast-order-review-wrapper,
.woocommerce-checkout form.checkout .trango-order-summary {
	float: none;
	width: auto;
	margin: 0;
}

.woocommerce-checkout form.checkout #customer_details {
	grid-column: 1;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

.woocommerce-checkout form.checkout .trango-shipping-methods,
.woocommerce-checkout form.checkout .trango-payment-section {
	grid-column: 1;
}

.woocommerce-checkout form.checkout #ast-order-review-wrapper {
	grid-column: 2;
	grid-row: 1 / span 3;
	position: sticky;
	top: 24px;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

.woocommerce-checkout form.checkout .trango-order-summary {
	position: static;
	width: 100% !important;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
	float: none !important;
	width: 100% !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.woocommerce-checkout #customer_details .col-2 {
	margin-top: 22px;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
	float: none !important;
	width: 100% !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.woocommerce-checkout #order_review_heading {
	margin: 0;
	padding: 22px 24px 10px;
	border: 1px solid var(--trango-border);
	border-bottom: 0;
	background: #fff;
	text-align: left;
	font-size: 20px;
}

.woocommerce-checkout #order_review {
	padding: 0 24px 24px;
	border: 1px solid var(--trango-border);
	border-top: 0;
	background: #fff;
}

.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-additional-fields,
.woocommerce-checkout .ast-customer-info,
.trango-shipping-methods,
.trango-payment-section {
	box-sizing: border-box;
	padding: 24px;
	border: 1px solid var(--trango-border);
	border-radius: var(--trango-radius);
	background: #fff;
	box-shadow: var(--trango-shadow);
}

.woocommerce-checkout .ast-customer-info {
	margin-bottom: 22px;
}

/* Merge the Astra email/login card into the main buyer details card. */
.woocommerce-checkout .trango-buyer-heading {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 20px;
}

.woocommerce-checkout .trango-buyer-heading > h3 {
	margin: 0 !important;
}

.woocommerce-checkout .trango-buyer-heading .woocommerce-billing-fields__customer-login-label {
	flex: 0 0 auto;
	font-size: 15px;
	line-height: 1.4;
	white-space: nowrap;
}

.woocommerce-checkout .trango-buyer-heading #ast-customer-login-url {
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.woocommerce-checkout .woocommerce-billing-fields .ast-customer-info.trango-customer-info-merged {
	width: 100%;
	min-width: 0;
	margin: 0 0 18px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.woocommerce-checkout .trango-customer-info-merged .woocommerce-billing-fields-custom,
.woocommerce-checkout .trango-customer-info-merged .woocommerce-billing-fields__customer-info-wrapper {
	margin: 0 !important;
	padding: 0 !important;
}

.woocommerce-checkout .trango-customer-info-merged #billing_email_field {
	margin-bottom: 8px;
}

.woocommerce-checkout .trango-email-note {
	margin: 0 0 16px;
	color: var(--trango-muted);
	font-size: 14px;
	line-height: 1.45;
}

.woocommerce-checkout .trango-customer-info-merged #ast-customer-login-section {
	margin: 0 0 4px;
	padding: 16px;
	border: 1px solid var(--trango-border);
	border-radius: 10px;
	background: var(--trango-panel);
}

.woocommerce-checkout .trango-customer-info-merged #ast-customer-login-section[style*="display: block"] {
	max-height: none !important;
	overflow: visible !important;
}

.woocommerce-checkout .trango-customer-info-merged .ast-customer-login-inner-wrap {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
	align-items: end;
}

.woocommerce-checkout .trango-customer-info-merged #billing_password_field {
	margin: 0;
}

.woocommerce-checkout .trango-customer-info-merged .ast-customer-login-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 1px;
}

.woocommerce-checkout .trango-customer-info-merged #ast-customer-login-section__login-button {
	min-height: 48px;
	margin: 0;
	padding: 10px 22px;
	border-radius: 10px;
}

.woocommerce-checkout .trango-customer-info-merged .ast-customer-login-lost-password-url {
	font-size: 14px;
	white-space: nowrap;
}

.woocommerce-checkout .ast-customer-info .woocommerce-billing-fields-custom {
	margin: 0;
}

.woocommerce-checkout .ast-customer-info .ast-checkout-form-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	margin: 0 0 20px;
}

.woocommerce-checkout .ast-customer-info .ast-checkout-form-heading h3,
.woocommerce-checkout .ast-customer-info .ast-checkout-form-heading p {
	margin: 0;
	text-align: left;
}

.woocommerce-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-additional-fields > h3,
.trango-shipping-methods h2,
.trango-payment-section > h3,
.trango-payment-section .ast-payment-option-heading h3 {
	margin: 0 0 20px;
	text-align: left;
	font-size: 22px;
}

.woocommerce-checkout #billing_city_field,
.woocommerce-checkout #billing_state_field,
.woocommerce-checkout #billing_postcode_field {
	float: none !important;
	width: 100% !important;
}

.woocommerce-checkout .form-row label {
	font-weight: 600;
}

/*
 * Astra hides checkout labels while a field is empty and only floats them
 * after a saved value is detected. Keep the required customer fields in the
 * same, readable floating-label state for guests and signed-in customers.
 */
body.woocommerce-checkout.ast-checkout-labels-as-placeholders form.checkout .ast-customer-info #billing_email_field > label,
body.woocommerce-checkout.ast-checkout-labels-as-placeholders form.checkout #customer_details :is(
	#billing_first_name_field,
	#billing_last_name_field,
	#billing_address_1_field,
	#billing_city_field,
	#billing_state_field,
	#billing_postcode_field,
	#billing_phone_field
) > label {
	opacity: 1 !important;
}

body.woocommerce-checkout.ast-checkout-labels-as-placeholders form.checkout .ast-customer-info #billing_email_field .woocommerce-input-wrapper > input[type="email"],
body.woocommerce-checkout.ast-checkout-labels-as-placeholders form.checkout #customer_details :is(
	#billing_first_name_field,
	#billing_last_name_field,
	#billing_address_1_field,
	#billing_city_field,
	#billing_state_field,
	#billing_postcode_field,
	#billing_phone_field
) .woocommerce-input-wrapper > :is(input[type="email"], input[type="tel"], input[type="text"]) {
	padding: 1.3em 0.8em 0.2em !important;
}

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

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row .select2-selection {
	min-height: 48px;
	border: 1px solid #cfd4da;
	border-radius: 10px;
	background: #fff;
}

.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row textarea:focus,
.woocommerce-checkout .form-row .select2-container--focus .select2-selection {
	border-color: #111;
	box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.08);
}

.woocommerce-checkout .form-row textarea {
	min-height: 110px;
}

.woocommerce-checkout .woocommerce-shipping-totals.shipping {
	display: none;
}

.woocommerce-checkout .woocommerce-shipping-fields {
	display: none !important;
}

.woocommerce-checkout .trango-shipping-methods__content ul#shipping_method {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px !important;
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-checkout .trango-shipping-methods__content ul#shipping_method li {
	display: flex !important;
	gap: 12px !important;
	align-items: center;
	text-indent: 0 !important;
	min-height: 56px;
	margin: 0 !important;
	padding: 12px 16px !important;
	border: 1px solid var(--trango-border);
	border-radius: 10px;
	background: #fff;
	box-sizing: border-box;
}

.trango-shipping-methods__content li:last-child {
	margin-bottom: 0;
}

.trango-shipping-methods__content li:has(input:checked) {
	border-color: #111;
	box-shadow: 0 0 0 1px #111;
}

body.woocommerce-checkout .trango-shipping-methods__content ul#shipping_method li label {
	position: static !important;
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	min-height: 0;
	margin: 0 !important;
	padding: 0 !important;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	font-weight: 600;
	line-height: 1.35;
	text-indent: 0 !important;
	transform: none !important;
}

body.woocommerce-checkout .trango-shipping-methods__content ul#shipping_method li input[type="radio"] {
	position: static !important;
	display: block !important;
	flex: 0 0 18px;
	width: 18px !important;
	min-width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: none !important;
}

body.woocommerce-checkout .trango-shipping-methods__content input.shipping_method[type="radio"],
body.woocommerce-cart .cart_totals ul#shipping_method input.shipping_method[type="radio"] {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: block !important;
	flex: 0 0 18px !important;
	width: 18px !important;
	min-width: 18px !important;
	height: 18px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1.5px solid #747b82 !important;
	border-radius: 50% !important;
	background: #fff !important;
	box-shadow: none !important;
	box-sizing: border-box !important;
	transform: none !important;
}

body.woocommerce-checkout .trango-shipping-methods__content input.shipping_method[type="radio"]:checked,
body.woocommerce-cart .cart_totals ul#shipping_method input.shipping_method[type="radio"]:checked {
	border-color: #111 !important;
	background: radial-gradient(circle at center, #111 0 4px, #fff 4.5px) !important;
}

/* Astra Addon stretches an invisible ::after layer over every shipping row. */
body.woocommerce-checkout .trango-shipping-methods__content input.shipping_method[type="radio"]::after,
body.woocommerce-cart .cart_totals ul#shipping_method input.shipping_method[type="radio"]::after {
	content: none !important;
	display: none !important;
}

.trango-shipping-note,
.trango-account-note {
	color: var(--trango-muted);
	font-size: 14px;
}

.woocommerce-checkout #payment {
	border-radius: 0;
	background: transparent;
}

.woocommerce-checkout #payment ul.payment_methods {
	padding: 18px;
	border: 1px solid var(--trango-border);
	border-radius: 10px;
	background: var(--trango-panel);
}

.woocommerce-checkout #payment div.payment_box {
	margin-top: 12px;
	background: #fff;
	line-height: 1.55;
}

.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: #fff;
}

.woocommerce-checkout #payment .place-order {
	padding: 20px 0 0;
}

.woocommerce-checkout #place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
	min-height: 50px;
	border-radius: 10px;
	font-weight: 700;
}

body.woocommerce-checkout .trango-order-summary {
	overflow: hidden;
	border: 1px solid var(--trango-border);
	border-radius: var(--trango-radius);
	background: #fff;
	box-shadow: var(--trango-shadow);
}

body.woocommerce-checkout .trango-order-summary #order_review_heading {
	padding: 24px 24px 14px !important;
	border: 0 !important;
	background: #fff !important;
}

body.woocommerce-checkout .trango-order-summary #order_review {
	padding: 0 24px 24px !important;
	border: 0 !important;
	background: #fff !important;
}

body.woocommerce-checkout .trango-order-summary table.shop_table {
	margin-bottom: 0;
	border: 0;
}

#order_review label.for-checkbox {
	display: grid;
	grid-template-columns: 18px 1fr;
	gap: 9px;
	align-items: start;
	line-height: 1.35;
}

#order_review label.for-checkbox input {
	margin: 2px 0 0;
}

/* Cart */
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals {
	box-sizing: border-box;
}

.woocommerce-cart #ast-cart-wrapper {
	display: grid;
	grid-template-columns: minmax(0, 2.1fr) minmax(340px, 1fr);
	gap: 28px;
	align-items: start;
}

.woocommerce-cart #ast-cart-wrapper .ast-cart-non-sticky {
	width: 100% !important;
}

.woocommerce-cart .woocommerce-cart-form {
	float: none !important;
	width: 100% !important;
}

.woocommerce-cart #ast-cart-wrapper .woocommerce-cart-form {
	width: 100% !important;
}

.woocommerce-cart .cart-collaterals {
	float: none !important;
	width: 100% !important;
}

.woocommerce-cart .cart-collaterals .cart_totals {
	float: none;
	width: 100%;
	padding: 22px;
	overflow: hidden;
	border: 1px solid var(--trango-border);
	border-radius: var(--trango-radius);
	background: #fff;
	box-shadow: var(--trango-shadow);
}

.woocommerce-cart .woocommerce-cart-form table.shop_table {
	overflow: hidden;
	border: 1px solid var(--trango-border);
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--trango-radius);
	background: #fff;
	box-shadow: var(--trango-shadow);
}

.woocommerce-cart .woocommerce-cart-form table.shop_table thead {
	background: var(--trango-panel);
}

.woocommerce-cart .woocommerce-cart-form table.shop_table th,
.woocommerce-cart .woocommerce-cart-form table.shop_table td {
	padding: 16px;
}

.woocommerce-cart .woocommerce-cart-form .cart_item {
	position: relative;
}

.woocommerce-cart .woocommerce-cart-form td.product-price,
.woocommerce-cart .woocommerce-cart-form td.product-subtotal,
.woocommerce-cart .woocommerce-cart-form td.product-price .woocommerce-Price-amount,
.woocommerce-cart .woocommerce-cart-form td.product-subtotal .woocommerce-Price-amount {
	white-space: nowrap !important;
}

.woocommerce-cart .woocommerce-cart-form td.product-remove {
	top: 8px !important;
	right: 8px !important;
	width: 34px !important;
	height: 34px !important;
	padding: 7px !important;
	transform: none !important;
}

.woocommerce-cart .cart_totals h2 {
	width: auto !important;
	margin: -22px -22px 18px !important;
	padding: 20px 22px !important;
	text-align: left;
}

@media (min-width: 922px) {
	.woocommerce-cart .woocommerce-cart-form th.product-price,
	.woocommerce-cart .woocommerce-cart-form td.product-price {
		width: 110px;
		min-width: 110px;
	}

	.woocommerce-cart .woocommerce-cart-form th.product-quantity,
	.woocommerce-cart .woocommerce-cart-form td.product-quantity {
		width: 145px;
		min-width: 145px;
	}

	.woocommerce-cart .woocommerce-cart-form th.product-subtotal,
	.woocommerce-cart .woocommerce-cart-form td.product-subtotal {
		width: 145px;
		min-width: 145px;
		padding-right: 52px !important;
	}
}

.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
.woocommerce-cart .cart_totals .woocommerce-shipping-calculator {
	display: none;
}

.woocommerce-cart .cart_totals ul#shipping_method {
	display: flex !important;
	flex-direction: column;
	gap: 10px !important;
	width: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

body.woocommerce-cart .cart_totals ul#shipping_method li {
	display: flex !important;
	align-items: center;
	gap: 10px !important;
	text-indent: 0 !important;
	width: 100%;
	min-height: 48px;
	margin: 0 !important;
	padding: 10px 12px !important;
	border: 1px solid var(--trango-border);
	border-radius: 10px;
	background: #fff;
	box-sizing: border-box;
}

body.woocommerce-cart .cart_totals ul#shipping_method li label {
	position: static !important;
	display: block !important;
	flex: 1 1 auto;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.35;
	text-indent: 0 !important;
	transform: none !important;
}

.woocommerce-cart .cart_totals ul#shipping_method li:has(input:checked) {
	border-color: #111;
}

/* Account */
.woocommerce-account #customer_login {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px;
}

.woocommerce-account #customer_login::before,
.woocommerce-account #customer_login::after {
	display: none !important;
	content: none !important;
}

.woocommerce-account #customer_login .u-column1,
.woocommerce-account #customer_login .u-column2 {
	float: none;
	width: auto;
}

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
	min-height: calc(100% - 52px);
	padding: 24px;
	border: 1px solid var(--trango-border);
	border-radius: var(--trango-radius);
	background: #fff;
	box-shadow: var(--trango-shadow);
}

body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .woocommerce-form-register {
	border: 1px solid var(--trango-border) !important;
	border-radius: var(--trango-radius) !important;
}

.woocommerce-account .woocommerce-form .form-row {
	margin-bottom: 16px;
}

.woocommerce-account .woocommerce-form input.input-text {
	min-height: 48px;
	border: 1px solid #cfd4da;
	border-radius: 10px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: block;
	padding: 10px 14px;
	border-bottom: 1px solid var(--trango-border);
}

/* WooCommerce renders this as an empty button. Keep it an eye control instead
 * of letting the theme turn it into a large black rectangle. */
.woocommerce .password-input,
.woocommerce-page .password-input {
	position: relative;
	display: block;
}

.woocommerce .password-input input,
.woocommerce-page .password-input input {
	padding-right: 52px !important;
}

.woocommerce button.show-password-input,
.woocommerce-page button.show-password-input {
	position: absolute !important;
	top: 50% !important;
	right: 4px !important;
	display: block !important;
	width: 40px !important;
	min-width: 40px !important;
	height: 40px !important;
	min-height: 40px !important;
	margin: 0 !important;
	padding: 0 !important;
	transform: translateY(-50%);
	border: 0 !important;
	border-radius: 8px !important;
	background-color: transparent !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-6 10-6 10 6 10 6-3.5 6-10 6S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	box-shadow: none !important;
	font-size: 0 !important;
}

.woocommerce button.show-password-input:hover,
.woocommerce button.show-password-input:focus,
.woocommerce-page button.show-password-input:hover,
.woocommerce-page button.show-password-input:focus {
	background-color: var(--trango-panel) !important;
}

/* Information pages */
.trango-info-page {
	width: 100%;
	max-width: none;
	padding: 0 !important;
}

.trango-info-page > .wp-block-group__inner-container > :first-child {
	margin-top: 0 !important;
}

.trango-info-page > .wp-block-group__inner-container > :last-child {
	margin-bottom: 0 !important;
}

.trango-info-page h2,
.trango-info-page h3 {
	margin-top: 1.4em;
	text-align: left;
}

.trango-info-page .wp-block-columns {
	align-items: stretch;
	gap: 20px;
	margin: 20px 0 26px !important;
}

.trango-info-page .wp-block-column {
	box-sizing: border-box;
	padding: 24px;
	border: 1px solid var(--trango-border);
	border-radius: var(--trango-radius);
	background: #fff;
	box-shadow: var(--trango-shadow);
}

.trango-info-page .wp-block-columns + p {
	margin-top: 0 !important;
}

/* Social links supplied from the unified settings screen. */
.trango-social-links {
	display: flex;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.trango-social-links li {
	margin: 0;
}

.trango-social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #191919;
	color: #fff;
	text-decoration: none;
}

.trango-social-icon {
	display: block;
	width: 19px;
	height: 19px;
	fill: currentColor;
}

.trango-social-icon--max {
	object-fit: contain;
}

.trango-social-label {
	display: inline-block;
}

/* Keep the primary footer phone easy to notice without enlarging nearby text. */
#colophon .site-footer-primary-section-3 .ast-footer-copyright a[href^="tel:"] {
	font-size: 17px;
}

#colophon #block-21 .trango-social-links {
	display: flex !important;
	align-items: center;
	justify-content: flex-end;
	gap: 10px !important;
}

#colophon #block-21 .trango-social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: auto;
	height: 40px;
	padding: 0 13px !important;
	border: 1px solid #111;
	border-radius: 999px;
	background: #111;
	color: #fff;
	font-size: 13px !important;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	transition: opacity 0.18s ease, transform 0.18s ease;
}

#colophon #block-21 .trango-social-links svg.trango-social-icon {
	display: block !important;
	width: 19px !important;
	height: 19px !important;
}

#colophon #block-21 .trango-social-links a::before,
#colophon #block-21 .trango-social-links a::after {
	display: none !important;
	content: none !important;
}

#colophon #block-21 .trango-social-links a:hover {
	background: #111;
	color: #fff;
	opacity: 0.78;
	transform: translateY(-1px);
	text-decoration: none;
}

/* Make the existing cookie notice compact without changing its consent text. */
.cookie_modal .cookie_modal__wrap {
	width: 680px !important;
	padding: 12px 16px !important;
	grid-gap: 16px !important;
}

.cookie_modal .cookie_modal__close {
	min-height: 36px !important;
	padding: 8px 14px !important;
}

/* Mobile header: menu + logo + search/account/cart stay on one line. */
#ast-desktop-header .site-header-primary-section-right > .ast-header-search,
#ast-mobile-header .site-header-primary-section-right > .ast-header-search {
	order: 10;
}

#ast-desktop-header .site-header-primary-section-right > .ast-header-account,
#ast-mobile-header .site-header-primary-section-right > .ast-header-account {
	order: 11;
}

#ast-desktop-header .site-header-primary-section-right > .ast-header-wishlist-counter,
#ast-mobile-header .site-header-primary-section-right > .ast-header-wishlist-counter {
	order: 12;
}

#ast-desktop-header .site-header-primary-section-right > .ast-header-woo-cart,
#ast-mobile-header .site-header-primary-section-right > .ast-header-woo-cart {
	order: 13;
}

#masthead .site-header-primary-section-right {
	column-gap: 6px !important;
}

#masthead .ast-builder-layout-element[data-section="section-header-search"],
#masthead .ast-builder-layout-element[data-section="section-header-account"],
#masthead .ast-builder-layout-element[data-section="section-header-wishlist-counter"],
#masthead .ast-builder-layout-element[data-section="section-header-woo-cart"] {
	margin-right: 0 !important;
	margin-left: 0 !important;
	width: auto !important;
	min-width: 0 !important;
	height: 38px !important;
	min-height: 38px !important;
	padding: 0 !important;
}

#masthead .ast-header-search svg,
#masthead .ast-header-account svg,
#masthead .ast-header-woo-cart svg {
	display: block !important;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	fill: #111 !important;
	color: #111 !important;
}

#masthead .ast-header-account svg path,
#masthead .ast-header-account svg circle {
	fill: #111 !important;
}

#masthead .ast-header-search,
#masthead .ast-header-search a,
#masthead .ast-header-account,
#masthead .ast-header-account a,
#masthead .ast-header-wishlist-counter,
#masthead .ast-header-wishlist-counter a,
#masthead .ast-header-woo-cart,
#masthead .ast-header-woo-cart a,
#masthead .ast-header-woo-cart .cart-container {
	color: #111 !important;
}

#masthead .ast-header-wishlist-counter,
#masthead .ast-header-wishlist-counter a,
#masthead .ast-header-wishlist-counter i,
#masthead .ast-header-wishlist-counter i::before {
	color: #111 !important;
}

#masthead .ast-header-search a,
#masthead .ast-header-account a,
#masthead .ast-header-wishlist-counter .wlfmc-counter > a,
#masthead .ast-header-woo-cart .cart-container {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0 !important;
}

#masthead .ast-header-wishlist-counter,
#masthead .ast-header-wishlist-counter-wrap,
#masthead .wlfmc-counter-wrapper,
#masthead .wlfmc-counter,
#masthead .wlfmc-counter-icon {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 38px !important;
	height: 38px !important;
	margin: 0 !important;
	padding: 0 !important;
}

#masthead .wlfmc-counter-icon i {
	display: block !important;
	width: 20px !important;
	height: 20px !important;
	font-size: 20px !important;
	line-height: 20px !important;
}

#masthead .wlfmc-counter-icon .wlfmc-counter-number {
	top: -4px !important;
	right: -7px !important;
	left: auto !important;
	min-width: 16px !important;
	height: 16px !important;
	padding: 0 4px !important;
	border-radius: 8px !important;
	background: #111 !important;
	color: #fff !important;
	font-size: 10px !important;
	font-weight: 600 !important;
	line-height: 16px !important;
	text-align: center !important;
	box-sizing: border-box !important;
}

#masthead .ast-header-woo-cart .ast-site-header-cart,
#masthead .ast-header-woo-cart .ast-site-header-cart-li,
#masthead .ast-header-woo-cart .cart-container {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 38px !important;
	height: 38px !important;
	min-height: 38px !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 38px !important;
}

#masthead .ast-header-woo-cart .ast-addon-cart-wrap,
#masthead .ast-header-woo-cart .astra-icon.ast-icon-shopping-cart,
#masthead .ast-header-woo-cart .ast-icon.icon-cart {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 20px !important;
	height: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 20px !important;
}

#ast-mobile-header .site-header-primary-section-right {
	flex-wrap: nowrap;
	gap: 0;
}

#ast-mobile-header .ast-builder-layout-element {
	margin-right: 0;
	margin-left: 0;
}

@media (max-width: 921px) {
	.woocommerce-checkout form.checkout.woocommerce-checkout {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	.woocommerce-checkout form.checkout #customer_details,
	.woocommerce-checkout form.checkout .trango-shipping-methods,
	.woocommerce-checkout form.checkout .trango-payment-section,
	.woocommerce-checkout form.checkout #ast-order-review-wrapper,
	.woocommerce-checkout form.checkout .trango-order-summary {
		grid-column: 1;
		grid-row: auto;
	}

	.woocommerce-checkout form.checkout #ast-order-review-wrapper,
	.woocommerce-checkout form.checkout .trango-order-summary {
		position: static;
	}

	.woocommerce-cart .woocommerce-cart-form,
	.woocommerce-cart .cart-collaterals {
		float: none !important;
		width: 100% !important;
	}

	.woocommerce-cart #ast-cart-wrapper {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}
}

@media (max-width: 600px) {
	.woocommerce-checkout .trango-buyer-heading {
		align-items: flex-start;
		flex-direction: column;
		gap: 6px;
	}

	.woocommerce-checkout .trango-buyer-heading .woocommerce-billing-fields__customer-login-label {
		white-space: normal;
	}

	.woocommerce-checkout .trango-customer-info-merged .ast-customer-login-inner-wrap {
		grid-template-columns: minmax(0, 1fr);
	}

	.woocommerce-checkout .trango-customer-info-merged .ast-customer-login-actions {
		flex-wrap: wrap;
		align-items: center;
	}

	.woocommerce-checkout .woocommerce-billing-fields,
	.woocommerce-checkout .woocommerce-additional-fields,
	.woocommerce-checkout .ast-customer-info,
	.trango-shipping-methods,
	.trango-payment-section,
	.woocommerce-checkout #order_review,
	.woocommerce-cart .cart-collaterals .cart_totals {
		padding: 16px;
	}

	.woocommerce-checkout .ast-customer-info .ast-checkout-form-heading {
		flex-direction: column;
		gap: 6px;
	}

	.woocommerce-account #customer_login {
		grid-template-columns: minmax(0, 1fr);
		gap: 22px;
	}

	.woocommerce-account .woocommerce-form-login,
	.woocommerce-account .woocommerce-form-register {
		min-height: 0;
		padding: 18px;
	}

	.trango-info-page .wp-block-columns {
		gap: 18px;
		margin: 18px 0 22px !important;
	}

	#colophon #block-21 .trango-social-links {
		justify-content: center;
	}

	.woocommerce-checkout #order_review_heading {
		padding: 18px 16px 8px;
	}

	body.woocommerce-checkout .trango-order-summary #order_review_heading {
		padding: 18px 16px 10px !important;
	}

	body.woocommerce-checkout .trango-order-summary #order_review {
		padding: 0 16px 18px !important;
	}

	.woocommerce-checkout .form-row-first,
	.woocommerce-checkout .form-row-last {
		float: none;
		width: 100%;
	}

	.woocommerce-cart table.shop_table_responsive tr td.product-name {
		padding-top: 14px;
	}

	.woocommerce-cart .cart_totals h2 {
		margin: -16px -16px 18px !important;
		padding: 18px 16px !important;
	}

	.cookie_modal {
		bottom: 6px !important;
	}

	.cookie_modal .cookie_modal__wrap {
		max-width: calc(100vw - 12px) !important;
		padding: 10px 12px !important;
		grid-template-columns: 1fr auto !important;
		gap: 10px !important;
		text-align: left !important;
		font-size: 9px !important;
		border-radius: 9px !important;
	}

	.cookie_modal .cookie_modal__close {
		min-width: 78px !important;
		min-height: 32px !important;
		padding: 6px 8px !important;
	}

	#ast-mobile-header .ast-header-account-wrap svg,
	#ast-mobile-header .ast-search-icon svg {
		width: 18px;
		height: 18px;
	}

	#masthead .ast-header-search a,
	#masthead .ast-header-account a,
	#masthead .ast-header-wishlist-counter .wlfmc-counter > a,
	#masthead .ast-header-woo-cart .cart-container {
		width: 34px;
		height: 38px;
	}

	#ast-mobile-header .astra-icon.ast-icon-shopping-cart::after {
		top: -7px !important;
		right: -3px !important;
		left: auto !important;
	}
}
