/* Approved cart layout. Keep the WooCommerce inputs and actions in place. */
@media (max-width: 700px) {
	body.woocommerce-cart #main article.page,
	body.woocommerce-cart #main .cart-collaterals .cart_totals {
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}
	body.woocommerce-cart #main form.woocommerce-cart-form,
	body.woocommerce-cart #main .cart-collaterals,
	body.woocommerce-cart #main .cart-collaterals .cart_totals {
		margin-block: 0 !important;
		padding: 0 !important;
	}
	body.woocommerce-cart #main .cart-collaterals { padding-block-start: 15px !important; }
	body.woocommerce-cart .woocommerce-cart-form table.shop_table tr.cart_item {
		grid-template-columns: 64px minmax(0, 1fr) 44px !important;
		grid-template-areas: "thumb name remove" "thumb price remove" "quantity quantity quantity" !important;
		grid-template-rows: auto auto auto !important;
		margin-block-end: 8px;
	}
	body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img { width: 64px !important; height: 66px !important; object-fit: contain !important; background: #17100b; }
	body.woocommerce-cart .woocommerce-cart-form td.product-remove { align-self: center !important; }
	body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove {
		width: 44px !important; height: 44px !important; border: 0 !important;
	}
	body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove::after {
		content: "" !important;
		width: 19px;
		height: 19px;
		background: currentColor;
		mask: var(--mz-trash) center / contain no-repeat;
	}
	body.woocommerce-cart {
		--mz-trash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M9 7V4h6v3M6 7l1 13h10l1-13M10 11v5m4-5v5'/%3E%3C/svg%3E");
	}
	body.woocommerce-cart .woocommerce-cart-form td.product-quantity { justify-content: flex-start !important; }
	body.woocommerce-cart .woocommerce-cart-form td.product-quantity .quantity {
		direction: ltr !important;
		grid-template-columns: repeat(3, 44px) !important;
		grid-template-areas: "minus qty plus" !important;
		gap: 0 !important;
		padding: 0 !important;
		border-color: #695136 !important;
		overflow: hidden;
	}
	body.woocommerce-cart .woocommerce-cart-form td.product-quantity .quantity :is(.qty,.minus,.plus) {
		border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important;
	}
	body.woocommerce-cart .woocommerce-cart-form td.product-quantity .quantity .qty { border-inline: 1px solid #4c3927 !important; }
	body.woocommerce-cart .woocommerce-cart-form td.product-quantity .quantity :is(.minus,.plus):active { background: #49351e !important; transform: none !important; }
	body.woocommerce-cart .woocommerce-cart-form td.product-quantity .quantity :is(.qty,.minus,.plus):focus-visible { outline-offset: -3px !important; }
	body.woocommerce-cart #main .cart_totals table { background: transparent !important; border: 0 !important; margin-block-end: 8px; }
	body.woocommerce-cart #main .cart_totals table tr > :is(th,td) { padding: 8px 3px !important; }
	body.woocommerce-cart #main .cart_totals .order-total > :is(th,td) {
		border: 0 !important; border-top: 1px solid #503b27 !important; border-radius: 0 !important; background: transparent !important;
	}
	body.woocommerce-cart #main .wc-proceed-to-checkout a.checkout-button,
	body.woocommerce-cart #main a.mcc-wa-btn.mcc-wa-cart {
		width: 100%; min-height: 48px !important; border-radius: 10px; margin-block: 0 8px;
	}
	body.woocommerce-cart #main a.mcc-wa-btn.mcc-wa-cart {
		border-color: #65967a !important; color: #b5e2c3 !important; background: transparent !important;
	}
	body.woocommerce-cart #main .mcc-wa-cart-hint { opacity: 1; color: #d1beab; }
	body.woocommerce-cart .product-name .mz-cart-duplicate-price { display: none !important; }
}

@media (max-width: 767px) {
	body.mz-opt-payment-mobile form.checkout .ct-order-review,
	body.mz-opt-payment-mobile #main #order_review {
		background: transparent !important; border: 0 !important; border-radius: 0 !important;
		padding: 0 !important; box-shadow: none !important; margin-block: 8px 0 !important;
	}
	body.mz-opt-payment-mobile #main #order_review #payment { border-top: 0 !important; padding: 0 !important; }
	body.mz-opt-payment-mobile #main #payment ul.wc_payment_methods {
		padding: 10px 12px !important; border: 1px solid #57402a !important;
		border-radius: 14px; background: #211710;
	}
	body.mz-opt-payment-mobile #main #payment li.wc_payment_method {
		border: 0 !important; box-shadow: none !important; padding: 7px 0 !important;
	}
	body.mz-opt-payment-mobile #main #payment div.payment_box { background: transparent !important; padding: 8px 0 0 !important; }
	body.mz-opt-payment-mobile #main #payment .place-order { padding-inline: 0 !important; }
	body.mz-opt-payment-mobile #main .mcc-wallet-pick .mcc-copy { min-height: 44px !important; }
}

.mz-checkout-summary, .mz-checkout-summary[hidden] { display: none !important; }
@media (min-width: 1024px) {
	body.mz-opt-payment-desktop form.checkout.mz-steps-on {
		display: grid !important; grid-template-columns: minmax(0, 1.6fr) minmax(265px, 1fr) !important;
		gap: 16px 24px !important; align-items: start; direction: rtl;
	}
	.mz-opt-payment-desktop form.mz-steps-on > * { grid-column: 1 / -1; min-width: 0; }
	.mz-opt-payment-desktop form.mz-steps-on > .mz-stepbar { grid-column: 1 / -1 !important; margin: 0 !important; }
	.mz-opt-payment-desktop form.mz-steps-on > .mz-checkout-fields { grid-column: 1; }
	.mz-opt-payment-desktop form.mz-steps-on.mz-checkout-data > .mz-checkout-summary:not([hidden]) {
		display: block !important; grid-column: 2; padding: 18px; border-radius: 16px; border: 1px solid #543c29;
		background: #211710;
	}
	.mz-opt-payment-desktop .mz-checkout-summary h3 { margin: 0 0 12px; font-size: 18px; }
	.mz-opt-payment-desktop form.mz-steps-on > .ct-order-review {
		grid-column: 1 / -1 !important; padding: 0 !important; background: none !important; border: 0 !important; width: 100%;
	}
	.mz-opt-payment-desktop form.mz-checkout-pay #order_review {
		display: grid !important; grid-template-columns: minmax(0, 1.6fr) minmax(265px, 1fr);
		gap: 8px 24px; align-items: start; background: none !important; border: 0 !important; padding: 0 !important; box-shadow: none;
	}
	.mz-opt-payment-desktop form.mz-checkout-pay #order_review > * { grid-column: 2; min-width: 0; }
	.mz-opt-payment-desktop form.mz-checkout-pay #order_review > #payment { grid-column: 1; grid-row: 1 / span 10; }
	.mz-opt-payment-desktop .mz-checkout-summary .woocommerce-checkout-review-order-table { margin: 0; }
}

.mz-opt-home-icons .mz-rail-fits { justify-content: center; }
.mz-opt-home-icons.home .mz-steps li::before { margin-inline: auto; box-shadow: 0 4px 12px #0004; }
.mz-opt-home-icons.home .mz-cats a { align-items: center; }
.mz-opt-home-icons.home .mz-cats img { box-shadow: 0 3px 10px #0005; }
.mz-scroll-rail { position: relative; min-width: 0; }
.mz-scroll-rail--sticky { position: sticky; top: var(--mz-tabs-top, 0px); z-index: 50; }
.mz-scroll-rail--sticky > .mz-tabs { position: static; }
.mz-scroll-rail > .mz-scroll-arrow {
	position: absolute; z-index: 51; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; padding: 0; border-radius: 50%;
	border: 1px solid #735731; background: #211710; color: #f3d08a;
	box-shadow: 0 0 14px 5px #140d09a8; font-size: 24px; line-height: 1; cursor: pointer;
}
.mz-scroll-arrow[hidden] { display: none !important; }
.mz-scroll-arrow[data-side="left"] { left: 2px; }
.mz-scroll-arrow[data-side="right"] { right: 2px; }
.mz-scroll-rail:has(.mz-scroll-arrow:not([hidden])) > :is(.mz-cats,.mz-subs,.mz-cards--scroll,.mz-tabs) {
	scroll-padding-inline: 46px;
}

.mz-opt-product-cards .mz-cards--scroll > .mz-card { flex-direction: column; }
.mz-opt-product-cards :is(.mz-cards--grid,.mz-cards--scroll) .mz-card__img { aspect-ratio: 1; background: #201710; }
.mz-opt-product-cards .mz-card:not(.mz-card--list) .mz-card__img img,
.mz-opt-product-cards .woocommerce ul.products li.product:not(.product-category) .ct-image-container img {
	object-fit: contain !important; object-position: center; background: #201710;
}
.mz-opt-product-cards .woocommerce ul.products li.product:not(.product-category) .ct-image-container { aspect-ratio: 1; }
.mz-opt-product-cards .woocommerce ul.products li.product:not(.product-category) .ct-image-container img { width: 100%; height: 100%; }
.mz-opt-product-cards .mz-card__foot { margin-top: auto; }
.mz-opt-product-cards .mz-card:not(.mz-card--list) .mz-card__title { min-block-size: 2.8em; }

@media (max-width: 1023px) {
	.mz-checkout-fields { display: contents; }
}
@media (min-width: 1024px) {
	.mz-opt-payment-desktop form.mz-checkout-pay > .mz-checkout-fields { display: none; }
	.mz-opt-payment-desktop .mz-checkout-summary table { margin: 0; }
}
@media (max-width: 700px) {
	body.woocommerce-cart #main .ct-cart-form { margin-block-end: 0 !important; }
	body.woocommerce-cart #main .cart-collaterals .order-total { background: transparent; }
}
@media (max-width: 767px) {
	body.mz-opt-payment-mobile form.mz-checkout-pay {
		row-gap: 10px !important;
	}
	body.mz-opt-payment-mobile form.mz-checkout-pay .ct-order-review { margin-block-start: 0 !important; }
	body.mz-opt-payment-mobile form.mz-checkout-pay #order_review_heading { margin: 6px 0 10px; }
}
