/*
 * Branded WooCommerce cart and checkout.
 * The selectors are scoped to JTU body classes so the rest of WooCommerce stays untouched.
 */

body.jtu-commerce {
	--jtu-primary: var(--emd-primary, #e2ba86);
	--jtu-secondary: var(--emd-secondary, #4c4b15);
	--jtu-secondary-dark: #34330d;
	--jtu-text: #302f23;
	--jtu-muted: #817c6a;
	--jtu-line: #e7ddd0;
	--jtu-soft: #fbf3e8;
	--jtu-bg: #faf8f4;
	--jtu-white: #ffffff;
	--jtu-shadow: 0 14px 38px rgba(76, 75, 21, .09);
	background: var(--jtu-bg);
	color: var(--jtu-text);
	direction: rtl;
	font-family: "Vazirmatn", "IRANSans", Tahoma, Arial, sans-serif;
}

body.jtu-commerce * {
	box-sizing: border-box;
}

body.jtu-commerce,
body.jtu-commerce button,
body.jtu-commerce input,
body.jtu-commerce select,
body.jtu-commerce textarea,
body.jtu-commerce .woocommerce {
	font-family: "Vazirmatn", "IRANSans", Tahoma, Arial, sans-serif;
}

body.jtu-commerce .site-content,
body.jtu-commerce .content-area,
body.jtu-commerce .woocommerce-page {
	color: var(--jtu-text);
}

body.jtu-commerce .woocommerce {
	width: min(1280px, calc(100% - 32px));
	max-width: 1280px;
	margin: 0 auto;
	padding: 30px 0 72px;
	direction: rtl;
}

body.jtu-commerce .woocommerce a {
	color: var(--jtu-secondary);
	transition: color .2s ease, opacity .2s ease;
}

body.jtu-commerce .woocommerce a:hover,
body.jtu-commerce .woocommerce a:focus {
	color: var(--jtu-secondary-dark);
}

body.jtu-commerce .woocommerce h1,
body.jtu-commerce .woocommerce h2,
body.jtu-commerce .woocommerce h3,
body.jtu-commerce .woocommerce h4,
body.jtu-commerce .entry-title {
	color: var(--jtu-secondary-dark);
	font-weight: 800;
}

/* Brand strip */

body.jtu-commerce .jtu-commerce-header {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 112px;
	margin: 0 0 22px;
	padding: 20px 24px;
	border: 1px solid rgba(226, 186, 134, .64);
	border-radius: 20px;
	background:
		radial-gradient(circle at 15% 10%, rgba(226, 186, 134, .22) 0 80px, transparent 81px),
		radial-gradient(circle at 55% 130%, rgba(226, 186, 134, .13) 0 130px, transparent 131px),
		linear-gradient(115deg, #34330d 0%, var(--jtu-secondary) 56%, #686322 100%);
	box-shadow: 0 15px 34px rgba(76, 75, 21, .16);
	overflow: hidden;
}

body.jtu-commerce .jtu-commerce-header::after {
	content: "";
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(135deg, transparent 0 31px, rgba(255, 255, 255, .035) 32px 33px);
	pointer-events: none;
}

body.jtu-commerce .jtu-commerce-brand,
body.jtu-commerce .jtu-commerce-heading,
body.jtu-commerce .jtu-commerce-trust {
	position: relative;
	z-index: 1;
}

body.jtu-commerce .jtu-commerce-brand {
	display: inline-flex;
	align-items: center;
	flex: 1 1 31%;
	gap: 12px;
	min-width: 190px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

body.jtu-commerce .jtu-commerce-brand:hover,
body.jtu-commerce .jtu-commerce-brand:focus {
	color: #fff;
	opacity: .9;
}

body.jtu-commerce .jtu-commerce-brand img,
body.jtu-commerce .jtu-commerce-logo-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	flex: 0 0 58px;
	border: 3px solid rgba(226, 186, 134, .75);
	border-radius: 50%;
	background: #f4dfbe;
	box-shadow: 0 4px 15px rgba(0, 0, 0, .15);
}

body.jtu-commerce .jtu-commerce-brand img {
	object-fit: cover;
}

body.jtu-commerce .jtu-commerce-logo-fallback {
	color: var(--jtu-secondary);
	font-size: 30px;
	font-weight: 900;
}

body.jtu-commerce .jtu-commerce-heading {
	display: flex;
	flex: 1 1 42%;
	flex-direction: column;
	gap: 2px;
	text-align: right;
}

body.jtu-commerce .jtu-commerce-heading span {
	color: #f0d2aa;
	font-size: 11px;
	font-weight: 600;
}

body.jtu-commerce .jtu-commerce-heading strong {
	color: #fff;
	font-size: clamp(20px, 2.2vw, 30px);
	font-weight: 900;
	line-height: 1.65;
}

body.jtu-commerce .jtu-commerce-heading small {
	color: rgba(255, 255, 255, .76);
	font-size: 11px;
}

body.jtu-commerce .jtu-commerce-trust {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 124px;
	padding: 10px 13px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

body.jtu-commerce .jtu-commerce-trust:first-letter {
	color: var(--jtu-primary);
}

/* Notices and coupon row */

body.jtu-commerce .woocommerce-notices-wrapper,
body.jtu-commerce .woocommerce-form-coupon-toggle,
body.jtu-commerce .woocommerce-form-login-toggle {
	margin: 0 0 16px;
}

body.jtu-commerce .woocommerce-message,
body.jtu-commerce .woocommerce-info,
body.jtu-commerce .woocommerce-error {
	position: relative;
	margin: 0 0 16px;
	padding: 14px 18px;
	border: 1px solid var(--jtu-line);
	border-radius: 13px;
	background: var(--jtu-white);
	box-shadow: 0 7px 18px rgba(48, 47, 35, .04);
	color: var(--jtu-text);
	font-size: 13px;
	line-height: 2;
}

body.jtu-commerce .woocommerce-message::before,
body.jtu-commerce .woocommerce-info::before,
body.jtu-commerce .woocommerce-error::before {
	color: var(--jtu-secondary);
}

body.jtu-commerce .woocommerce-error {
	border-color: #e4b9a5;
	background: #fff8f4;
}

body.jtu-commerce .woocommerce-form-coupon-toggle .woocommerce-info,
body.jtu-commerce .woocommerce-form-login-toggle .woocommerce-info {
	margin-bottom: 0;
	border-right: 4px solid var(--jtu-primary);
}

body.jtu-commerce .checkout_coupon,
body.jtu-commerce form.login {
	margin: 0 0 22px;
	padding: 20px;
	border: 1px solid var(--jtu-line);
	border-radius: 16px;
	background: var(--jtu-white);
	box-shadow: var(--jtu-shadow);
}

/* Reusable cards */

body.jtu-commerce .woocommerce-cart-form,
body.jtu-commerce .cart-collaterals,
body.jtu-commerce #customer_details,
body.jtu-commerce #order_review_heading,
body.jtu-commerce #order_review,
body.jtu-commerce .woocommerce-order {
	border: 1px solid var(--jtu-line);
	border-radius: 18px;
	background: var(--jtu-white);
	box-shadow: var(--jtu-shadow);
}

body.jtu-commerce .woocommerce-cart-form,
body.jtu-commerce #customer_details,
body.jtu-commerce #order_review,
body.jtu-commerce .woocommerce-order {
	padding: 22px;
}

body.jtu-commerce .cart-collaterals {
	padding: 0;
}

body.jtu-commerce .cart_totals {
	float: none;
	width: 100%;
	padding: 22px;
}

body.jtu-commerce .cart_totals h2,
body.jtu-commerce #order_review_heading {
	margin: 0;
	color: var(--jtu-secondary-dark);
	font-size: 19px;
	line-height: 1.8;
}

body.jtu-commerce .cart_totals h2 {
	margin-bottom: 16px;
	padding-bottom: 13px;
	border-bottom: 1px dashed var(--jtu-line);
}

body.jtu-commerce .cart_totals table,
body.jtu-commerce .woocommerce-checkout-review-order-table {
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
}

body.jtu-commerce .cart_totals th,
body.jtu-commerce .cart_totals td,
body.jtu-commerce .woocommerce-checkout-review-order-table th,
body.jtu-commerce .woocommerce-checkout-review-order-table td {
	padding: 12px 0;
	border: 0;
	border-bottom: 1px dashed var(--jtu-line);
	color: var(--jtu-text);
	font-size: 13px;
	vertical-align: middle;
}

body.jtu-commerce .cart_totals tr:last-child th,
body.jtu-commerce .cart_totals tr:last-child td,
body.jtu-commerce .woocommerce-checkout-review-order-table tr:last-child th,
body.jtu-commerce .woocommerce-checkout-review-order-table tr:last-child td {
	border-bottom: 0;
}

body.jtu-commerce .cart_totals .order-total th,
body.jtu-commerce .cart_totals .order-total td,
body.jtu-commerce .woocommerce-checkout-review-order-table .order-total th,
body.jtu-commerce .woocommerce-checkout-review-order-table .order-total td {
	color: var(--jtu-secondary-dark);
	font-size: 17px;
	font-weight: 900;
}

/* Cart table */

body.jtu-cart .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
	align-items: start;
	gap: 22px;
}

body.jtu-cart .woocommerce > .jtu-commerce-header,
body.jtu-cart .woocommerce > .woocommerce-notices-wrapper,
body.jtu-cart .woocommerce > .woocommerce-form-coupon-toggle,
body.jtu-cart .woocommerce > .woocommerce-form-login-toggle,
body.jtu-cart .woocommerce > .cart-empty,
body.jtu-cart .woocommerce > .return-to-shop {
	grid-column: 1 / -1;
}

body.jtu-cart .woocommerce > .woocommerce-cart-form {
	grid-column: 1;
	width: 100%;
	float: none;
	min-width: 0;
}

body.jtu-cart .woocommerce > .cart-collaterals {
	grid-column: 2;
	width: 100%;
	float: none;
	min-width: 0;
}

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

body.jtu-cart .woocommerce-cart-form table.shop_table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: separate;
	border-spacing: 0;
}

body.jtu-commerce table.shop_table thead th {
	padding: 0 10px 14px;
	border: 0;
	border-bottom: 1px solid var(--jtu-line);
	color: var(--jtu-muted);
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

body.jtu-commerce table.shop_table tbody td {
	padding: 18px 10px;
	border: 0;
	border-bottom: 1px dashed var(--jtu-line);
	color: var(--jtu-text);
	font-size: 13px;
	vertical-align: middle;
}

body.jtu-commerce table.shop_table tbody tr:last-child td {
	border-bottom: 0;
}

body.jtu-commerce .product-thumbnail {
	width: 92px;
}

body.jtu-commerce .product-thumbnail img {
	width: 76px;
	height: 76px;
	margin: 0;
	border: 1px solid var(--jtu-line);
	border-radius: 12px;
	object-fit: cover;
}

body.jtu-commerce .product-name a {
	color: var(--jtu-secondary-dark);
	font-weight: 800;
	text-decoration: none;
}

body.jtu-commerce .product-price,
body.jtu-commerce .product-subtotal {
	color: var(--jtu-secondary-dark);
	font-weight: 700;
white-space: nowrap;
}

body.jtu-commerce .product-subtotal {
	font-weight: 900;
}

body.jtu-commerce .product-remove {
	width: 34px;
	text-align: center;
}

body.jtu-commerce .product-remove a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 27px;
	height: 27px;
	border: 1px solid var(--jtu-line);
	border-radius: 50%;
	color: var(--jtu-muted) !important;
	font-size: 18px;
	font-weight: 400;
	line-height: 1;
	text-decoration: none;
}

body.jtu-commerce .product-remove a.remove:hover,
body.jtu-commerce .product-remove a.remove:focus {
	border-color: #d29679;
	background: #fff5ef;
	color: #b26445 !important;
}

body.jtu-commerce .quantity .qty {
	width: 68px;
	min-height: 38px;
	padding: 7px 8px;
	border: 1px solid var(--jtu-line);
	border-radius: 9px;
	background: #fff;
	color: var(--jtu-text);
	text-align: center;
}

body.jtu-commerce .quantity .qty:focus {
	border-color: var(--jtu-primary);
	outline: 3px solid rgba(226, 186, 134, .2);
}

body.jtu-commerce .actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding-top: 18px;
}

body.jtu-commerce .coupon {
	display: flex;
	align-items: center;
	gap: 8px;
	max-width: 440px;
}

body.jtu-commerce .coupon .input-text {
	width: 180px;
}

/* Checkout layout */

body.jtu-checkout form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
	align-items: start;
	gap: 22px;
	width: 100%;
}

body.jtu-checkout form.checkout > .woocommerce-NoticeGroup,
body.jtu-checkout form.checkout > .woocommerce-NoticeGroup-checkout {
	grid-column: 1 / -1;
}

body.jtu-checkout form.checkout #customer_details {
	grid-column: 1;
	min-width: 0;
	margin: 0;
}

body.jtu-checkout form.checkout #order_review_heading {
	grid-column: 2;
	min-width: 0;
	margin: 0;
	padding: 22px 22px 0;
	border-bottom: 0;
	border-radius: 18px 18px 0 0;
}

body.jtu-checkout form.checkout #order_review {
	grid-column: 2;
	min-width: 0;
	margin: -1px 0 0;
	padding: 12px 22px 22px;
	border-top: 0;
	border-radius: 0 0 18px 18px;
}

body.jtu-checkout .col2-set,
body.jtu-checkout .col-1,
body.jtu-checkout .col-2 {
	float: none;
	width: 100%;
	margin: 0;
}

body.jtu-checkout .col-2 {
	margin-top: 25px;
	padding-top: 22px;
	border-top: 1px dashed var(--jtu-line);
}

body.jtu-commerce #customer_details h3,
body.jtu-commerce #ship-to-different-address {
	margin: 0 0 18px;
	color: var(--jtu-secondary-dark);
	font-size: 19px;
}

body.jtu-commerce #ship-to-different-address {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

body.jtu-commerce #ship-to-different-address label {
	margin: 0;
}

body.jtu-commerce .woocommerce form .form-row {
	float: none;
	width: 100%;
	margin: 0 0 17px;
	padding: 0;
}

body.jtu-commerce .woocommerce form .form-row-first,
body.jtu-commerce .woocommerce form .form-row-last {
	width: calc(50% - 9px);
}

body.jtu-commerce .woocommerce form .form-row-first {
	float: right;
}

body.jtu-commerce .woocommerce form .form-row-last {
	float: left;
}

body.jtu-commerce .woocommerce form .form-row-wide {
	clear: both;
}

body.jtu-commerce .woocommerce form .form-row label {
	display: block;
	margin: 0 0 7px;
	color: var(--jtu-text);
	font-size: 13px;
	font-weight: 600;
}

body.jtu-commerce .woocommerce form .form-row label .required {
	color: #ba674c;
}

body.jtu-commerce .woocommerce form .form-row input.input-text,
body.jtu-commerce .woocommerce form .form-row select,
body.jtu-commerce .woocommerce form .form-row textarea,
body.jtu-commerce .woocommerce form .form-row .select2-selection--single {
	display: block;
	width: 100%;
	min-height: 45px;
	padding: 10px 13px;
	border: 1px solid #dfd3c4;
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
	color: var(--jtu-text);
	font-size: 13px;
	line-height: 1.8;
	transition: border-color .2s ease, box-shadow .2s ease;
}

body.jtu-commerce .woocommerce form .form-row textarea {
	min-height: 112px;
	resize: vertical;
}

body.jtu-commerce .woocommerce form .form-row input.input-text::placeholder,
body.jtu-commerce .woocommerce form .form-row textarea::placeholder {
	color: #aaa294;
	opacity: 1;
}

body.jtu-commerce .woocommerce form .form-row input.input-text:focus,
body.jtu-commerce .woocommerce form .form-row select:focus,
body.jtu-commerce .woocommerce form .form-row textarea:focus,
body.jtu-commerce .woocommerce form .form-row .select2-container--focus .select2-selection--single,
body.jtu-commerce .woocommerce form .form-row .select2-container--open .select2-selection--single {
	border-color: var(--jtu-primary);
	box-shadow: 0 0 0 3px rgba(226, 186, 134, .19);
	outline: 0;
}

body.jtu-commerce .select2-container {
	width: 100% !important;
}

body.jtu-commerce .select2-container--default .select2-selection--single {
	height: 45px;
}

body.jtu-commerce .select2-container--default .select2-selection--single .select2-selection__rendered {
	padding: 0;
	color: var(--jtu-text);
	font-size: 13px;
	line-height: 43px;
}

body.jtu-commerce .select2-container--default .select2-selection--single .select2-selection__arrow {
	right: auto;
	left: 8px;
	top: 9px;
}

body.jtu-commerce .select2-dropdown {
	border-color: var(--jtu-primary);
	font-family: "Vazirmatn", Tahoma, sans-serif;
}

body.jtu-commerce .woocommerce-privacy-policy-text,
body.jtu-commerce .woocommerce-terms-and-conditions-checkbox-text {
	color: var(--jtu-muted);
	font-size: 12px;
	line-height: 2;
}

body.jtu-commerce #payment,
body.jtu-commerce .woocommerce-checkout-payment {
	margin-top: 20px;
	padding: 16px;
	border: 1px solid var(--jtu-line);
	border-radius: 13px;
	background: var(--jtu-soft);
}

body.jtu-commerce #payment ul.payment_methods,
body.jtu-commerce .woocommerce-checkout-payment ul.payment_methods {
	margin: 0 0 15px;
	padding: 0 0 10px;
	border-bottom: 1px dashed var(--jtu-line);
	list-style: none;
}

body.jtu-commerce #payment ul.payment_methods li,
body.jtu-commerce .woocommerce-checkout-payment ul.payment_methods li {
	padding: 7px 0;
	color: var(--jtu-text);
	font-size: 13px;
}

body.jtu-commerce #payment div.payment_box,
body.jtu-commerce .woocommerce-checkout-payment div.payment_box {
	margin: 10px 0 4px;
	padding: 11px 13px;
	border-radius: 9px;
	background: rgba(255, 255, 255, .8);
	color: var(--jtu-muted);
	font-size: 12px;
	line-height: 2;
}

body.jtu-commerce #payment div.payment_box::before,
body.jtu-commerce .woocommerce-checkout-payment div.payment_box::before {
	display: none;
}

body.jtu-commerce #payment .place-order,
body.jtu-commerce .woocommerce-checkout-payment .place-order {
	margin: 0;
	padding: 0;
}

/* Buttons */

body.jtu-commerce .woocommerce a.button,
body.jtu-commerce .woocommerce button.button,
body.jtu-commerce .woocommerce input.button,
body.jtu-commerce .woocommerce #place_order,
body.jtu-commerce .wc-block-components-button {
	min-height: 45px;
	padding: 10px 20px;
	border: 1px solid var(--jtu-secondary) !important;
	border-radius: 10px;
	background: var(--jtu-secondary) !important;
	box-shadow: 0 8px 16px rgba(76, 75, 21, .14);
	color: #fff !important;
	font-size: 13px;
	font-weight: 800;
	line-height: 1.8;
	text-align: center;
	text-decoration: none;
	text-shadow: none;
	transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

body.jtu-commerce .woocommerce a.button:hover,
body.jtu-commerce .woocommerce button.button:hover,
body.jtu-commerce .woocommerce input.button:hover,
body.jtu-commerce .woocommerce #place_order:hover,
body.jtu-commerce .wc-block-components-button:hover {
	border-color: var(--jtu-secondary-dark) !important;
	background: var(--jtu-secondary-dark) !important;
	box-shadow: 0 10px 20px rgba(76, 75, 21, .2);
	color: #fff !important;
	transform: translateY(-1px);
}

body.jtu-commerce .woocommerce a.checkout-button,
body.jtu-commerce .woocommerce #place_order,
body.jtu-commerce .wc-block-components-checkout-place-order-button {
	width: 100%;
	margin-top: 16px;
	padding: 13px 20px;
	font-size: 14px;
}

body.jtu-commerce .woocommerce button.button:disabled,
body.jtu-commerce .woocommerce button.button.disabled,
body.jtu-commerce .woocommerce input.button:disabled,
body.jtu-commerce .woocommerce input.button.disabled {
	background: #b9b49f !important;
	border-color: #b9b49f !important;
	box-shadow: none;
	opacity: .7;
}

body.jtu-commerce .return-to-shop {
	margin-top: 16px;
}

/* Order received */

body.jtu-checkout .woocommerce-order {
	max-width: 850px;
	margin: 0 auto;
}

body.jtu-commerce .woocommerce-order-overview,
body.jtu-commerce .woocommerce-order-details,
body.jtu-commerce .woocommerce-customer-details {
	margin: 0 0 24px;
	padding: 18px;
	border: 1px solid var(--jtu-line);
	border-radius: 13px;
	background: var(--jtu-soft);
}

body.jtu-commerce .woocommerce-order-overview li {
	padding: 0 14px;
	border-color: var(--jtu-line);
	color: var(--jtu-muted);
	font-size: 12px;
}

/* WooCommerce Blocks cart and checkout */

body.jtu-commerce .wc-block-cart,
body.jtu-commerce .wc-block-checkout {
	color: var(--jtu-text);
	font-family: "Vazirmatn", "IRANSans", Tahoma, Arial, sans-serif;
}

body.jtu-commerce .wc-block-components-sidebar,
body.jtu-commerce .wc-block-cart-items,
body.jtu-commerce .wc-block-components-order-summary,
body.jtu-commerce .wc-block-components-checkout-step,
body.jtu-commerce .wc-block-components-totals-wrapper,
body.jtu-commerce .wc-block-components-panel {
	border-color: var(--jtu-line);
	border-radius: 16px;
}

body.jtu-commerce .wc-block-components-checkout-step,
body.jtu-commerce .wc-block-components-order-summary,
body.jtu-commerce .wc-block-components-sidebar {
	background: var(--jtu-white);
	box-shadow: var(--jtu-shadow);
}

body.jtu-commerce .wc-block-components-checkout-step {
	padding: 20px;
}

body.jtu-commerce .wc-block-components-form .wc-block-components-text-input input,
body.jtu-commerce .wc-block-components-text-input input,
body.jtu-commerce .wc-block-components-combobox .wc-block-components-combobox-control input,
body.jtu-commerce .wc-block-components-select .wc-block-components-select__container {
	min-height: 45px;
	border-color: #dfd3c4;
	border-radius: 10px;
	font-family: "Vazirmatn", Tahoma, sans-serif;
}

body.jtu-commerce .wc-block-components-text-input label,
body.jtu-commerce .wc-block-components-combobox label,
body.jtu-commerce .wc-block-components-select label {
	font-family: "Vazirmatn", Tahoma, sans-serif;
}

body.jtu-commerce .wc-block-components-totals-item,
body.jtu-commerce .wc-block-components-order-summary-item {
	border-color: var(--jtu-line);
}

body.jtu-commerce .wc-block-components-totals-item__label,
body.jtu-commerce .wc-block-components-totals-item__value,
body.jtu-commerce .wc-block-components-order-summary-item__description {
	color: var(--jtu-text);
	font-family: "Vazirmatn", Tahoma, sans-serif;
}

body.jtu-commerce .wc-block-components-button:not(.is-link) {
	min-height: 45px;
	border-radius: 10px;
}

/* Responsive */

@media (max-width: 900px) {
	body.jtu-commerce .woocommerce {
		width: min(100% - 24px, 680px);
		padding-top: 18px;
		padding-bottom: 48px;
	}

	body.jtu-commerce .jtu-commerce-header {
		align-items: flex-start;
		gap: 14px;
		min-height: 0;
		padding: 17px;
	}

	body.jtu-commerce .jtu-commerce-brand {
		min-width: 0;
		flex: 0 0 auto;
	}

	body.jtu-commerce .jtu-commerce-brand span:last-child {
		display: none;
	}

	body.jtu-commerce .jtu-commerce-brand img,
	body.jtu-commerce .jtu-commerce-logo-fallback {
		width: 48px;
		height: 48px;
		flex-basis: 48px;
	}

	body.jtu-commerce .jtu-commerce-heading {
		flex: 1 1 auto;
	}

	body.jtu-commerce .jtu-commerce-heading strong {
		font-size: 21px;
	}

	body.jtu-commerce .jtu-commerce-trust {
		min-width: 0;
		padding: 8px 10px;
		font-size: 0;
	}

	body.jtu-commerce .jtu-commerce-trust span {
		display: none;
	}

	body.jtu-commerce .jtu-commerce-trust:first-letter {
		font-size: 17px;
	}

	body.jtu-cart .woocommerce,
	body.jtu-checkout form.checkout {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
	}

	body.jtu-cart .woocommerce > .woocommerce-cart-form,
	body.jtu-cart .woocommerce > .cart-collaterals,
	body.jtu-checkout form.checkout #customer_details,
	body.jtu-checkout form.checkout #order_review_heading,
	body.jtu-checkout form.checkout #order_review {
		grid-column: 1;
	}

	body.jtu-cart .woocommerce > .cart-collaterals {
		grid-row: auto;
	}

	body.jtu-checkout form.checkout #order_review_heading {
		margin-top: 0;
	}
}

@media (max-width: 620px) {
	body.jtu-commerce .woocommerce {
		width: calc(100% - 20px);
		padding-top: 10px;
	}

	body.jtu-commerce .jtu-commerce-header {
		margin-bottom: 14px;
		padding: 14px;
		border-radius: 15px;
	}

	body.jtu-commerce .jtu-commerce-heading span {
		font-size: 9px;
	}

	body.jtu-commerce .jtu-commerce-heading strong {
		font-size: 18px;
	}

	body.jtu-commerce .jtu-commerce-heading small {
		font-size: 9px;
	}

	body.jtu-commerce .woocommerce-cart-form,
	body.jtu-commerce #customer_details,
	body.jtu-commerce #order_review,
	body.jtu-commerce .woocommerce-order {
		padding: 15px;
		border-radius: 15px;
	}

	body.jtu-commerce .cart_totals {
		padding: 17px;
	}

	body.jtu-commerce .cart_totals h2,
	body.jtu-commerce #order_review_heading,
	body.jtu-commerce #customer_details h3 {
		font-size: 17px;
	}

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

	body.jtu-commerce .actions,
	body.jtu-commerce .coupon {
		align-items: stretch;
		flex-direction: column;
	}

	body.jtu-commerce .coupon,
	body.jtu-commerce .coupon .input-text,
	body.jtu-commerce .coupon button {
		width: 100%;
		max-width: none;
	}

	/* Convert the classic cart table into readable product cards. */
	body.jtu-commerce .woocommerce-cart-form table.shop_table,
	body.jtu-commerce .woocommerce-cart-form table.shop_table tbody,
	body.jtu-commerce .woocommerce-cart-form table.shop_table tr.cart_item {
		display: block;
		width: 100%;
	}

	body.jtu-commerce .woocommerce-cart-form table.shop_table thead {
		display: none;
	}

	body.jtu-commerce .woocommerce-cart-form table.shop_table tr.cart_item {
		position: relative;
		display: grid;
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 4px 12px;
		padding: 14px 0;
		border-bottom: 1px dashed var(--jtu-line);
	}

	body.jtu-commerce .woocommerce-cart-form table.shop_table tr.cart_item:last-child {
		border-bottom: 0;
	}

	body.jtu-commerce .woocommerce-cart-form table.shop_table tr.cart_item td {
		display: block;
		width: auto;
		padding: 0;
		border: 0;
		text-align: right !important;
	}

	body.jtu-commerce .woocommerce-cart-form tr.cart_item td.product-thumbnail {
		grid-column: 1;
		grid-row: 1 / span 4;
		width: 72px;
	}

	body.jtu-commerce .woocommerce-cart-form tr.cart_item td.product-thumbnail img {
		width: 66px;
		height: 66px;
	}

	body.jtu-commerce .woocommerce-cart-form tr.cart_item td.product-name {
		grid-column: 2;
		padding-left: 24px;
	}

	body.jtu-commerce .woocommerce-cart-form tr.cart_item td.product-price,
	body.jtu-commerce .woocommerce-cart-form tr.cart_item td.product-quantity,
	body.jtu-commerce .woocommerce-cart-form tr.cart_item td.product-subtotal {
		grid-column: 2;
	}

	body.jtu-commerce .woocommerce-cart-form tr.cart_item td.product-quantity {
		padding-top: 4px;
	}

	body.jtu-commerce .woocommerce-cart-form tr.cart_item td.product-remove {
		position: absolute;
		top: 11px;
		left: 0;
		width: 27px;
	}

	body.jtu-commerce .woocommerce-cart-form tr.cart_item td::before {
		display: none !important;
	}

	body.jtu-commerce .woocommerce-cart-form .quantity .qty {
		min-height: 34px;
		width: 62px;
	}

	body.jtu-checkout form.checkout #order_review_heading {
		padding: 17px 17px 0;
	}

	body.jtu-checkout form.checkout #order_review {
		padding: 8px 17px 17px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.jtu-commerce * {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
	}
}
