/**
 * Winners Warband commerce layout.
 *
 * This file deliberately loads after the main theme stylesheet. It provides
 * one stable source of truth for basket and checkout layout.
 */

body.woocommerce-cart,
body.woocommerce-checkout {
	overflow-x: hidden;
}

body.woocommerce-cart .ww-commerce-page,
body.woocommerce-checkout .ww-commerce-page {
	width: 100% !important;
	max-width: none !important;
	min-height: 65vh;
	padding: clamp(30px, 5vw, 72px) 20px 80px !important;
	margin: 0 !important;
	background:
		radial-gradient(circle at 50% 0%, rgba(192, 139, 35, 0.08), transparent 36rem),
		#050505;
	box-sizing: border-box;
}

body.woocommerce-cart .ww-commerce-inner,
body.woocommerce-checkout .ww-commerce-inner,
body.woocommerce-cart .ww-commerce-shell,
body.woocommerce-checkout .ww-commerce-shell {
	width: 100% !important;
	max-width: 1180px !important;
	margin: 0 auto !important;
	padding: 0 !important;
	box-sizing: border-box;
}

body.woocommerce-cart .ww-commerce-header,
body.woocommerce-checkout .ww-commerce-header {
	max-width: 900px;
	margin: 0 auto 34px !important;
	text-align: center;
}

body.woocommerce-cart .ww-commerce-header h1,
body.woocommerce-checkout .ww-commerce-header h1 {
	margin: 0 0 10px !important;
	font-size: clamp(3rem, 7vw, 5.4rem) !important;
	line-height: 0.92 !important;
	letter-spacing: -0.035em;
}

body.woocommerce-cart .ww-commerce-header p,
body.woocommerce-checkout .ww-commerce-header p {
	margin: 0 !important;
	color: #d8c7a3;
	font-size: 1rem;
}

body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

body.woocommerce-cart .woocommerce::before,
body.woocommerce-cart .woocommerce::after,
body.woocommerce-checkout .woocommerce::before,
body.woocommerce-checkout .woocommerce::after {
	display: none !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-notices-wrapper,
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout .woocommerce-form-coupon {
	grid-column: 1 / -1;
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 18px !important;
}

body.woocommerce-cart .woocommerce-error,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-message,
body.woocommerce-checkout .woocommerce-error,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message {
	width: 100% !important;
	margin: 0 0 18px !important;
	padding: 15px 18px 15px 48px !important;
	border: 1px solid #705315 !important;
	background: #161108 !important;
	color: #fff8e8 !important;
	box-sizing: border-box;
}

/* Basket */
body.woocommerce-cart .ww-commerce-shell > .woocommerce {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) 330px !important;
	gap: 24px !important;
	align-items: start !important;
}

body.woocommerce-cart .woocommerce-cart-form {
	grid-column: 1 !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	transform: none !important;
}

body.woocommerce-cart .cart-collaterals {
	grid-column: 2 !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	position: static !important;
	inset: auto !important;
	transform: none !important;
}

body.woocommerce-cart .shop_table {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	border: 1px solid #604811 !important;
	border-collapse: collapse !important;
	table-layout: auto !important;
	background: #080705 !important;
}

body.woocommerce-cart .shop_table th,
body.woocommerce-cart .shop_table td {
	position: static !important;
	padding: 16px !important;
	border: 0 !important;
	border-bottom: 1px solid #3d2e0d !important;
	background: transparent !important;
	color: #fff8e8 !important;
	vertical-align: middle !important;
	box-sizing: border-box;
}

body.woocommerce-cart .shop_table th {
	color: #d7a72f !important;
	font-size: 0.72rem !important;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

body.woocommerce-cart .product-remove {
	width: 48px !important;
	text-align: center;
}

body.woocommerce-cart .product-thumbnail {
	width: 128px !important;
}

body.woocommerce-cart .product-thumbnail img {
	display: block !important;
	width: 112px !important;
	height: 112px !important;
	max-width: 112px !important;
	object-fit: cover;
	border: 1px solid #705315;
}

body.woocommerce-cart .product-name {
	min-width: 230px;
}

body.woocommerce-cart .product-name a {
	color: #fff8e8 !important;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.18rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

body.woocommerce-cart .product-name dl,
body.woocommerce-cart .product-name .variation {
	margin: 7px 0 0 !important;
	color: #d8c7a3 !important;
	font-size: 0.88rem;
}

body.woocommerce-cart .quantity {
	display: inline-flex !important;
	width: auto !important;
}

body.woocommerce-cart .quantity .qty {
	width: 72px !important;
	min-height: 42px !important;
	padding: 8px !important;
	border: 1px solid #705315 !important;
	background: #050505 !important;
	color: #fff8e8 !important;
	text-align: center;
}

body.woocommerce-cart td.actions {
	padding: 14px !important;
}

body.woocommerce-cart td.actions::after {
	content: "";
	display: block;
	clear: both;
}

body.woocommerce-cart td.actions .coupon {
	display: inline-flex !important;
	align-items: stretch;
	gap: 8px;
	width: auto !important;
	max-width: 360px;
	margin: 0 10px 0 0 !important;
	float: left !important;
}

body.woocommerce-cart td.actions .coupon .input-text {
	width: 155px !important;
	min-height: 42px !important;
	margin: 0 !important;
	padding: 9px 11px !important;
	border: 1px solid #705315 !important;
	background: #050505 !important;
	color: #fff8e8 !important;
}

body.woocommerce-cart td.actions button,
body.woocommerce-cart td.actions .button {
	width: auto !important;
	min-height: 42px !important;
	margin: 0 !important;
	padding: 10px 16px !important;
	border: 1px solid #cda33f !important;
	background: #c99b36 !important;
	color: #080604 !important;
	font-size: 0.7rem !important;
	font-weight: 900 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

body.woocommerce-cart td.actions > button[name="update_cart"] {
	float: right !important;
}

body.woocommerce-cart .ww-cart-crowns {
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	width: 100% !important;
	max-width: none !important;
	min-height: 0 !important;
	margin: 12px 0 0 !important;
	padding: 10px 12px !important;
	float: left !important;
	clear: both !important;
	border: 1px solid #4e3a0e !important;
	background: #110d06 !important;
	box-sizing: border-box;
}

body.woocommerce-cart .ww-cart-crowns__coin {
	width: 38px !important;
	height: 38px !important;
	flex: 0 0 38px;
	object-fit: contain;
}

body.woocommerce-cart .ww-cart-crowns__copy {
	display: flex !important;
	flex: 1 1 155px;
	flex-direction: column;
	min-width: 0;
	text-align: left !important;
}

body.woocommerce-cart .ww-cart-crowns__copy strong {
	color: #e1b84d;
	font-size: 0.76rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

body.woocommerce-cart .ww-cart-crowns__copy span {
	color: #d8c7a3;
	font-size: 0.75rem;
}

body.woocommerce-cart .ww-cart-crowns__form {
	display: flex !important;
	align-items: stretch;
	gap: 7px;
	flex: 0 0 auto;
	margin: 0 !important;
}

body.woocommerce-cart .ww-cart-crowns__form input[type="number"] {
	width: 64px !important;
	min-height: 38px !important;
	margin: 0 !important;
	padding: 7px !important;
	border: 1px solid #705315 !important;
	background: #050505 !important;
	color: #fff8e8 !important;
}

body.woocommerce-cart .ww-cart-crowns__form button {
	min-height: 38px !important;
	padding: 7px 13px !important;
}

body.woocommerce-cart .cart_totals {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 20px !important;
	float: none !important;
	position: static !important;
	inset: auto !important;
	transform: none !important;
	border: 1px solid #705315 !important;
	background: #0b0905 !important;
	box-sizing: border-box;
}

body.woocommerce-cart .cart_totals h2 {
	margin: 0 0 16px !important;
	color: #e1b84d !important;
	font-size: 1.65rem !important;
}

body.woocommerce-cart .cart_totals .shop_table {
	border: 0 !important;
}

body.woocommerce-cart .cart_totals .shop_table th,
body.woocommerce-cart .cart_totals .shop_table td {
	padding: 13px 4px !important;
}

body.woocommerce-cart .wc-proceed-to-checkout {
	padding: 16px 0 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 100% !important;
	min-height: 54px !important;
	margin: 0 !important;
	padding: 12px 16px !important;
	border: 1px solid #e2bd64 !important;
	background: linear-gradient(180deg, #e4bd5e, #b78329) !important;
	color: #080604 !important;
	font-size: 0.76rem !important;
	font-weight: 900 !important;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}

/* Checkout */
body.woocommerce-checkout form.checkout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 420px) !important;
	grid-template-rows: auto 1fr !important;
	column-gap: 28px !important;
	row-gap: 0 !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	align-items: start !important;
}

body.woocommerce-checkout #customer_details {
	grid-column: 1 !important;
	grid-row: 1 / span 2 !important;
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 18px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 24px !important;
	float: none !important;
	position: static !important;
	inset: auto !important;
	transform: none !important;
	border: 1px solid #705315 !important;
	background: #0b0905 !important;
	box-sizing: border-box;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	position: static !important;
	transform: none !important;
}

body.woocommerce-checkout #customer_details h3,
body.woocommerce-checkout #order_review_heading {
	margin: 0 0 18px !important;
	color: #e1b84d !important;
	font-size: 1.65rem !important;
	line-height: 1.05;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 15px !important;
}

body.woocommerce-checkout .form-row {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	box-sizing: border-box;
}

body.woocommerce-checkout .form-row-wide,
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field,
body.woocommerce-checkout #billing_email_field,
body.woocommerce-checkout #order_comments_field {
	grid-column: 1 / -1 !important;
}

body.woocommerce-checkout .form-row label {
	display: block !important;
	margin: 0 0 7px !important;
	color: #e1b84d !important;
	font-size: 0.7rem !important;
	font-weight: 800;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-container {
	width: 100% !important;
	max-width: none !important;
	min-height: 46px !important;
	margin: 0 !important;
	box-sizing: border-box !important;
}

body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select,
body.woocommerce-checkout .select2-selection {
	border: 1px solid #705315 !important;
	border-radius: 0 !important;
	background: #050505 !important;
	color: #fff8e8 !important;
}

body.woocommerce-checkout input.input-text,
body.woocommerce-checkout textarea,
body.woocommerce-checkout select {
	padding: 11px 12px !important;
}

body.woocommerce-checkout textarea {
	min-height: 100px !important;
	resize: vertical;
}

body.woocommerce-checkout #order_review_heading {
	grid-column: 2 !important;
	grid-row: 1 !important;
	margin: 0 !important;
	padding: 22px 22px 0 !important;
	border: 1px solid #705315 !important;
	border-bottom: 0 !important;
	background: #0b0905 !important;
}

body.woocommerce-checkout #order_review {
	grid-column: 2 !important;
	grid-row: 2 !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 22px 22px !important;
	float: none !important;
	position: static !important;
	inset: auto !important;
	transform: none !important;
	border: 1px solid #705315 !important;
	border-top: 0 !important;
	background: #0b0905 !important;
	box-sizing: border-box;
}

body.woocommerce-checkout #order_review .shop_table {
	width: 100% !important;
	max-width: none !important;
	margin: 0 0 18px !important;
	border: 0 !important;
	border-collapse: collapse !important;
	table-layout: auto !important;
	background: transparent !important;
}

body.woocommerce-checkout #order_review th,
body.woocommerce-checkout #order_review td {
	padding: 13px 7px !important;
	border: 0 !important;
	border-bottom: 1px solid #3d2e0d !important;
	background: transparent !important;
	color: #fff8e8 !important;
	vertical-align: middle !important;
}

body.woocommerce-checkout .ww-checkout-product {
	display: flex !important;
	align-items: center !important;
	gap: 11px !important;
	min-width: 0;
}

body.woocommerce-checkout .ww-checkout-product__image {
	display: block !important;
	width: 82px !important;
	height: 82px !important;
	max-width: 82px !important;
	flex: 0 0 82px;
	object-fit: cover;
	border: 1px solid #705315;
}

body.woocommerce-checkout .ww-checkout-product__copy {
	min-width: 0;
	line-height: 1.35;
}

body.woocommerce-checkout #payment {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: #fff8e8 !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
	margin: 0 0 15px !important;
	padding: 0 !important;
	border: 0 !important;
}

body.woocommerce-checkout #payment .payment_box {
	margin: 10px 0 !important;
	padding: 14px !important;
	border: 1px solid #4e3a0e !important;
	background: #151008 !important;
	color: #d8c7a3 !important;
}

body.woocommerce-checkout #payment .payment_box::before {
	border-bottom-color: #151008 !important;
}

body.woocommerce-checkout #payment .place-order {
	margin: 0 !important;
	padding: 15px 0 0 !important;
}

body.woocommerce-checkout #place_order {
	width: 100% !important;
	min-height: 54px !important;
	margin: 0 !important;
	padding: 13px 18px !important;
	border: 1px solid #e2bd64 !important;
	background: linear-gradient(180deg, #e4bd5e, #b78329) !important;
	color: #080604 !important;
	font-size: 0.76rem !important;
	font-weight: 900 !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

@media (max-width: 900px) {
	body.woocommerce-cart .ww-commerce-shell > .woocommerce,
	body.woocommerce-checkout form.checkout {
		display: block !important;
	}

	body.woocommerce-cart .woocommerce-cart-form,
	body.woocommerce-cart .cart-collaterals,
	body.woocommerce-checkout #customer_details,
	body.woocommerce-checkout #order_review_heading,
	body.woocommerce-checkout #order_review {
		width: 100% !important;
		max-width: none !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	body.woocommerce-cart .cart-collaterals {
		margin-top: 20px !important;
	}

	body.woocommerce-checkout #order_review_heading {
		margin-top: 22px !important;
	}

	body.woocommerce-checkout #order_review {
		margin-top: 0 !important;
	}
}

/* Keep the checkout label optically centred at every cart breakpoint. */
html body.woocommerce-cart .ww-commerce-page--cart .wc-proceed-to-checkout a.checkout-button {
	display:flex !important;
	align-items:center !important;
	justify-content:center !important;
	width:100% !important;
	height:54px !important;
	min-height:54px !important;
	max-height:54px !important;
	margin:0 !important;
	padding:0 16px !important;
	box-sizing:border-box !important;
	line-height:1 !important;
	text-align:center !important;
}

@media (max-width: 680px) {
	body.woocommerce-cart .ww-commerce-page,
	body.woocommerce-checkout .ww-commerce-page {
		padding: 28px 12px 55px !important;
	}

	body.woocommerce-cart .ww-commerce-header h1,
	body.woocommerce-checkout .ww-commerce-header h1 {
		font-size: clamp(2.7rem, 15vw, 4rem) !important;
	}

	body.woocommerce-cart .shop_table thead {
		display: none !important;
	}

	body.woocommerce-cart .shop_table,
	body.woocommerce-cart .shop_table tbody,
	body.woocommerce-cart .shop_table tr,
	body.woocommerce-cart .shop_table td {
		display: block !important;
		width: 100% !important;
		box-sizing: border-box;
	}

	body.woocommerce-cart .shop_table tr.cart_item {
		display: grid !important;
		grid-template-columns: 36px 70px minmax(0, 1fr) !important;
		gap: 10px !important;
		padding: 14px !important;
		border-bottom: 1px solid #604811;
	}

	body.woocommerce-cart .shop_table tr.cart_item td {
		padding: 0 !important;
		border: 0 !important;
	}

	body.woocommerce-cart .shop_table tr.cart_item .product-remove {
		grid-column: 1;
		grid-row: 1 / span 3;
		width: 36px !important;
	}

	body.woocommerce-cart .shop_table tr.cart_item .product-thumbnail {
		grid-column: 2;
		grid-row: 1 / span 3;
		width: 70px !important;
	}

	body.woocommerce-cart .product-thumbnail img {
		width: 64px !important;
		height: 64px !important;
		max-width: 64px !important;
	}

	body.woocommerce-cart .shop_table tr.cart_item .product-name,
	body.woocommerce-cart .shop_table tr.cart_item .product-price,
	body.woocommerce-cart .shop_table tr.cart_item .product-quantity,
	body.woocommerce-cart .shop_table tr.cart_item .product-subtotal {
		grid-column: 3;
		min-width: 0;
		text-align: left !important;
	}

	body.woocommerce-cart .shop_table tr.cart_item .product-price::before {
		content: "Price: ";
		color: #b89242;
	}

	body.woocommerce-cart .shop_table tr.cart_item .product-subtotal::before {
		content: "Subtotal: ";
		color: #b89242;
	}

	body.woocommerce-cart td.actions {
		padding: 14px !important;
	}

	body.woocommerce-cart td.actions .coupon {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) auto;
		width: 100% !important;
		max-width: none !important;
		margin: 0 0 10px !important;
		float: none !important;
	}

	body.woocommerce-cart td.actions .coupon .input-text {
		width: 100% !important;
	}

	body.woocommerce-cart td.actions > button[name="update_cart"] {
		width: 100% !important;
		margin-bottom: 10px !important;
		float: none !important;
	}

	body.woocommerce-cart .ww-cart-crowns {
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: 8px !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 9px !important;
		float: none !important;
	}

	body.woocommerce-cart .ww-cart-crowns__coin {
		width: 32px !important;
		height: 32px !important;
		flex-basis: 32px;
	}

	body.woocommerce-cart .ww-cart-crowns__copy strong {
		font-size: 0.68rem !important;
	}

	body.woocommerce-cart .ww-cart-crowns__copy span {
		font-size: 0.66rem !important;
	}

	body.woocommerce-cart .ww-cart-crowns__form {
		width: auto !important;
		flex: 0 0 auto;
	}

	body.woocommerce-cart .ww-cart-crowns__form input[type="number"] {
		width: 52px !important;
		min-height: 34px !important;
	}

	body.woocommerce-cart .ww-cart-crowns__form button {
		min-height: 34px !important;
		padding: 6px 9px !important;
	}

	body.woocommerce-checkout #customer_details {
		padding: 18px !important;
	}

	body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
	body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
		display: block !important;
	}

	body.woocommerce-checkout .form-row {
		margin-bottom: 14px !important;
	}

	body.woocommerce-checkout #order_review_heading {
		padding: 18px 18px 0 !important;
	}

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

	body.woocommerce-checkout .ww-checkout-product__image {
		width: 48px !important;
		height: 48px !important;
		max-width: 48px !important;
		flex-basis: 48px;
	}
}

/* 0.9.17: crowns control must remain one vertically-centred horizontal row. */
body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns {
	display: flex !important;
	flex-flow: row nowrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 12px !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__coin,
body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__image,
body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns > img {
	display: flex !important;
	flex: 0 0 38px !important;
	align-self: center !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy {
	display: block !important;
	flex: 1 1 auto !important;
	align-self: center !important;
	min-width: 0 !important;
	margin: 0 !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__form {
	display: flex !important;
	flex: 0 0 auto !important;
	flex-flow: row nowrap !important;
	align-self: center !important;
	align-items: center !important;
	margin: 0 !important;
}

@media (max-width: 680px) {
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns {
		display: flex !important;
		flex-flow: row nowrap !important;
		gap: 7px !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__coin,
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__image,
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns > img {
		display: flex !important;
		flex-basis: 32px !important;
	}
}

@media (max-width: 390px) {
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns {
		display: flex !important;
		flex-flow: row nowrap !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__coin,
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__image,
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns > img {
		display: none !important;
	}
}

/* Keep mobile coupon geometry last so legacy desktop rules cannot distort it. */
@media (max-width: 680px) {
	html body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		align-items: stretch !important;
		gap: 8px !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 0 10px !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon #coupon_code,
	html body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon button[name="apply_coupon"] {
		width: 100% !important;
		min-width: 0 !important;
		height: 42px !important;
		min-height: 42px !important;
		margin: 0 !important;
		padding: 0 10px !important;
		box-sizing: border-box !important;
		line-height: 1 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon button[name="apply_coupon"] {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
	}
}

/* 0.9.20: mobile control proportions; intentionally higher than legacy rules. */
@media (max-width: 680px) {
	html body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
		grid-auto-rows: 44px !important;
		align-items: stretch !important;
		gap: 8px !important;
		width: 100% !important;
		max-width: none !important;
		height: 44px !important;
		margin: 0 0 10px !important;
		padding: 0 !important;
		float: none !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon #coupon_code,
	html body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon button[name="apply_coupon"] {
		position: static !important;
		align-self: stretch !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		height: 44px !important;
		min-height: 44px !important;
		max-height: 44px !important;
		margin: 0 !important;
		padding: 0 11px !important;
		border: 1px solid #705315 !important;
		border-radius: 0 !important;
		box-sizing: border-box !important;
		transform: none !important;
		line-height: 42px !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon button[name="apply_coupon"] {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		border-color: #cda33f !important;
		text-align: center !important;
		line-height: 1 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .wc-proceed-to-checkout a.checkout-button {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-height: 54px !important;
		padding: 12px 14px !important;
		box-sizing: border-box !important;
		text-align: center !important;
		line-height: 1.25 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns {
		display: flex !important;
		flex-flow: row nowrap !important;
		align-items: center !important;
		gap: 7px !important;
		padding: 8px !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__coin,
	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__image,
	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns > img {
		display: flex !important;
		flex: 0 0 30px !important;
		width: 30px !important;
		height: 30px !important;
		max-width: 30px !important;
		max-height: 30px !important;
		align-self: center !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__image img {
		display: block !important;
		width: 30px !important;
		height: 30px !important;
		max-width: 30px !important;
		max-height: 30px !important;
		object-fit: contain !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy {
		flex: 1 1 auto !important;
		min-width: 82px !important;
		overflow: visible !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy p,
	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy span {
		display: block !important;
		overflow: visible !important;
		margin: 2px 0 0 !important;
		white-space: normal !important;
		text-overflow: clip !important;
		font-size: 0.6rem !important;
		line-height: 1.2 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__form {
		display: flex !important;
		flex: 0 0 auto !important;
		align-items: center !important;
		gap: 5px !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-crowns__select {
		display: block !important;
		appearance: none !important;
		-webkit-appearance: none !important;
		width: 64px !important;
		min-width: 64px !important;
		height: 38px !important;
		min-height: 38px !important;
		margin: 0 !important;
		padding: 0 20px 0 8px !important;
		border: 1px solid #705315 !important;
		border-radius: 0 !important;
		background-color: #050505 !important;
		background-image:
			linear-gradient(45deg, transparent 50%, #d7a72f 50%),
			linear-gradient(135deg, #d7a72f 50%, transparent 50%) !important;
		background-position:
			calc(100% - 11px) 16px,
			calc(100% - 7px) 16px !important;
		background-repeat: no-repeat !important;
		background-size: 4px 4px, 4px 4px !important;
		color: #fff8e8 !important;
		text-align: center !important;
		text-align-last: center !important;
		line-height: 36px !important;
		box-sizing: border-box !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__form button {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		min-width: 64px !important;
		height: 38px !important;
		min-height: 38px !important;
		padding: 0 8px !important;
		line-height: 1 !important;
		text-align: center !important;
	}
}

@media (max-width: 390px) {
	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns {
		gap: 5px !important;
		padding: 7px 6px !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__coin,
	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__image,
	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns > img {
		display: flex !important;
		flex-basis: 26px !important;
		width: 26px !important;
		height: 26px !important;
		max-width: 26px !important;
		max-height: 26px !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__image img {
		width: 26px !important;
		height: 26px !important;
		max-width: 26px !important;
		max-height: 26px !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy {
		min-width: 76px !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy h2,
	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy h3,
	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy strong {
		font-size: 0.64rem !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy p,
	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy span {
		font-size: 0.54rem !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-crowns__select {
		width: 56px !important;
		min-width: 56px !important;
		padding-left: 5px !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__form button {
		min-width: 54px !important;
		padding-inline: 5px !important;
	}
}

/* 0.9.22: mobile Coupon / Crowns tab panel. */
@media (max-width: 680px) {
	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-tools {
		order: 1 !important;
		display: block !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 1px solid #604811 !important;
		background: #090704 !important;
		box-sizing: border-box !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__tabs {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		width: 100% !important;
		border-bottom: 1px solid #604811 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__tab {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-width: 0 !important;
		height: 38px !important;
		min-height: 38px !important;
		margin: 0 !important;
		padding: 0 8px !important;
		border: 0 !important;
		border-right: 1px solid #604811 !important;
		border-radius: 0 !important;
		background: #080603 !important;
		color: #bba77e !important;
		font-size: 0.62rem !important;
		font-weight: 900 !important;
		letter-spacing: 0.08em !important;
		line-height: 1 !important;
		text-align: center !important;
		text-transform: uppercase !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__tab:last-child {
		border-right: 0 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__tab.is-active {
		background: #c99b36 !important;
		color: #080604 !important;
		box-shadow: inset 0 -2px 0 #f0cc72 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel {
		display: block !important;
		width: 100% !important;
		min-height: 64px !important;
		padding: 10px !important;
		background: linear-gradient(100deg, rgba(188, 132, 32, 0.08), transparent 45%), #0b0906 !important;
		box-sizing: border-box !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel[hidden] {
		display: none !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel .coupon {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		width: 100% !important;
		height: 44px !important;
		margin: 0 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel .ww-cart-crowns {
		display: grid !important;
		grid-template-columns: 30px minmax(0, 1fr) 64px !important;
		grid-template-rows: auto 28px !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions > button[name="update_cart"] {
		order: 2 !important;
		margin: 0 !important;
	}
}

@media (max-width: 390px) {
	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__tab {
		padding-inline: 5px !important;
		font-size: 0.56rem !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel {
		padding: 8px !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel .ww-cart-crowns {
		grid-template-columns: 26px minmax(0, 1fr) 56px !important;
	}
}

/* 0.9.23: compact mobile tab contents. */
@media (max-width: 680px) {
	html body.woocommerce-cart .ww-commerce-page--cart td.actions {
		justify-content: flex-start !important;
		min-height: 0 !important;
		height: auto !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-tools {
		min-height: 0 !important;
		height: auto !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel {
		min-height: 0 !important;
		height: auto !important;
		max-height: none !important;
		padding: 9px !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel .coupon {
		display: flex !important;
		flex-flow: row nowrap !important;
		align-items: stretch !important;
		gap: 7px !important;
		width: 100% !important;
		min-height: 40px !important;
		height: 40px !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel .coupon label,
	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel .coupon .screen-reader-text {
		display: none !important;
		position: static !important;
		width: 0 !important;
		height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel .coupon #coupon_code {
		flex: 1 1 auto !important;
		width: auto !important;
		min-width: 0 !important;
		height: 40px !important;
		min-height: 40px !important;
		max-height: 40px !important;
		margin: 0 !important;
		padding: 0 10px !important;
		line-height: 38px !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel .coupon button[name="apply_coupon"] {
		flex: 0 0 116px !important;
		width: 116px !important;
		min-width: 116px !important;
		height: 40px !important;
		min-height: 40px !important;
		max-height: 40px !important;
		margin: 0 !important;
		padding: 0 7px !important;
		font-size: 0.58rem !important;
		line-height: 1 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel .ww-cart-crowns {
		min-height: 0 !important;
		height: auto !important;
		max-height: none !important;
		grid-template-rows: 38px 26px !important;
		gap: 6px 8px !important;
		padding: 0 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel .ww-cart-crowns__copy {
		align-self: center !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel .ww-cart-crowns__copy h2,
	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel .ww-cart-crowns__copy h3,
	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel .ww-cart-crowns__copy strong {
		margin: 0 0 1px !important;
		font-size: 0.68rem !important;
		line-height: 1 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel .ww-cart-crowns__copy p,
	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel .ww-cart-crowns__copy span {
		margin: 0 !important;
		font-size: 0.55rem !important;
		line-height: 1.1 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel .ww-cart-crowns__form button {
		height: 26px !important;
		min-height: 26px !important;
		max-height: 26px !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions > button[name="update_cart"] {
		position: static !important;
		align-self: stretch !important;
		width: 100% !important;
		margin: 0 !important;
		float: none !important;
		clear: both !important;
	}
}

@media (max-width: 390px) {
	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-tools__panel .coupon button[name="apply_coupon"] {
		flex-basis: 98px !important;
		width: 98px !important;
		min-width: 98px !important;
		padding-inline: 4px !important;
		font-size: 0.53rem !important;
	}
}

/* 0.9.21: mobile action stack and two-row Crowns card. */
@media (max-width: 680px) {
	html body.woocommerce-cart .ww-commerce-page--cart td.actions {
		display: flex !important;
		flex-flow: column nowrap !important;
		align-items: stretch !important;
		gap: 10px !important;
		width: 100% !important;
		padding: 12px !important;
		box-sizing: border-box !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon {
		order: 1 !important;
		flex: 0 0 44px !important;
		width: 100% !important;
		height: 44px !important;
		margin: 0 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions > button[name="update_cart"] {
		position: static !important;
		order: 2 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		align-self: stretch !important;
		width: 100% !important;
		min-width: 0 !important;
		height: 42px !important;
		min-height: 42px !important;
		margin: 0 !important;
		float: none !important;
		transform: none !important;
		text-align: center !important;
		line-height: 1 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns {
		order: 3 !important;
		display: grid !important;
		grid-template-columns: 30px minmax(0, 1fr) 64px !important;
		grid-template-rows: auto 28px !important;
		align-items: center !important;
		gap: 7px 9px !important;
		width: 100% !important;
		margin: 0 !important;
		padding: 9px !important;
		box-sizing: border-box !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__coin,
	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__image,
	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns > img {
		display: flex !important;
		grid-column: 1 !important;
		grid-row: 1 !important;
		width: 30px !important;
		height: 30px !important;
		margin: 0 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy {
		display: block !important;
		grid-column: 2 !important;
		grid-row: 1 !important;
		min-width: 0 !important;
		margin: 0 !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__form {
		display: contents !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__form label {
		display: none !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-crowns__select {
		grid-column: 3 !important;
		grid-row: 1 !important;
		align-self: center !important;
		width: 64px !important;
		min-width: 64px !important;
		height: 38px !important;
		min-height: 38px !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__form button {
		grid-column: 1 / -1 !important;
		grid-row: 2 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-width: 0 !important;
		height: 28px !important;
		min-height: 28px !important;
		margin: 0 !important;
		padding: 0 8px !important;
		font-size: 0.62rem !important;
		line-height: 1 !important;
		text-align: center !important;
	}
}

@media (max-width: 390px) {
	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns {
		grid-template-columns: 26px minmax(0, 1fr) 56px !important;
		grid-template-rows: auto 27px !important;
		gap: 6px 7px !important;
		padding: 8px !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart .ww-cart-crowns__select {
		width: 56px !important;
		min-width: 56px !important;
	}

	html body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__form button {
		height: 27px !important;
		min-height: 27px !important;
	}
}

/* 0.9.19: final mobile-only cart controls. */
@media (max-width: 680px) {
	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-name::before {
		display: none !important;
		content: none !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		align-items: stretch !important;
		gap: 8px !important;
		width: 100% !important;
		max-width: none !important;
		margin: 0 0 10px !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon #coupon_code,
	body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon button[name="apply_coupon"] {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 100% !important;
		min-width: 0 !important;
		height: 42px !important;
		min-height: 42px !important;
		margin: 0 !important;
		padding: 0 10px !important;
		border-width: 1px !important;
		box-sizing: border-box !important;
		line-height: 1 !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon #coupon_code {
		justify-content: flex-start !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart .ww-cart-crowns__select {
		display: block !important;
		width: 58px !important;
		min-width: 58px !important;
		height: 36px !important;
		min-height: 36px !important;
		margin: 0 !important;
		padding: 4px 22px 4px 7px !important;
		border: 1px solid #705315 !important;
		border-radius: 0 !important;
		background: #050505 !important;
		color: #fff8e8 !important;
		font: inherit !important;
		text-align: center !important;
		box-sizing: border-box !important;
	}
}

/*
 * 0.9.18 mobile basket card.
 * Desktop remains untouched; this replaces the legacy stacked-table treatment.
 */
@media (max-width: 680px) {
	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item {
		position: static !important;
		display: grid !important;
		grid-template-columns: 88px minmax(0, 1fr) 38px !important;
		grid-template-rows: auto auto auto auto !important;
		gap: 6px 12px !important;
		width: 100% !important;
		padding: 14px !important;
		border-bottom: 1px solid #604811 !important;
		box-sizing: border-box !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item td {
		position: static !important;
		display: block !important;
		width: auto !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		box-sizing: border-box !important;
		text-align: left !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-thumbnail {
		grid-column: 1 !important;
		grid-row: 1 / span 4 !important;
		align-self: start !important;
		width: 88px !important;
		height: 88px !important;
		padding: 0 !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-thumbnail a {
		display: block !important;
		width: 88px !important;
		height: 88px !important;
		aspect-ratio: 1 / 1 !important;
		overflow: hidden !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-thumbnail img {
		display: block !important;
		width: 88px !important;
		height: 88px !important;
		max-width: 88px !important;
		max-height: 88px !important;
		margin: 0 !important;
		object-fit: cover !important;
		object-position: center !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-name {
		grid-column: 2 !important;
		grid-row: 1 !important;
		align-self: start !important;
		padding: 0 !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-name a {
		display: block !important;
		padding: 0 !important;
		font-size: 1rem !important;
		line-height: 1.2 !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-name dl.variation {
		margin: 5px 0 0 !important;
		font-size: 0.72rem !important;
		line-height: 1.25 !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-remove {
		position: static !important;
		grid-column: 3 !important;
		grid-row: 1 !important;
		align-self: start !important;
		justify-self: end !important;
		width: 36px !important;
		height: 36px !important;
		z-index: auto !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-remove a {
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		width: 34px !important;
		height: 34px !important;
		margin: 0 !important;
		font-size: 1.35rem !important;
		line-height: 1 !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-price {
		grid-column: 2 / 4 !important;
		grid-row: 2 !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-quantity {
		grid-column: 2 / 4 !important;
		grid-row: 3 !important;
		display: flex !important;
		align-items: center !important;
		gap: 8px !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-subtotal {
		grid-column: 2 / 4 !important;
		grid-row: 4 !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-price,
	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-quantity,
	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-subtotal {
		padding: 1px 0 !important;
		font-size: 0.82rem !important;
		line-height: 1.2 !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-price::before,
	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-quantity::before,
	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-subtotal::before {
		display: inline !important;
		margin: 0 4px 0 0 !important;
		color: #cda947 !important;
		font-size: 0.72rem !important;
		font-weight: 800 !important;
		letter-spacing: 0.04em !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-price::before {
		content: "Price:" !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-quantity::before {
		content: "Quantity:" !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-subtotal::before {
		content: "Subtotal:" !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .quantity {
		display: inline-flex !important;
		margin: 0 !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .quantity .qty {
		width: 58px !important;
		min-height: 36px !important;
		height: 36px !important;
		padding: 4px !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions {
		padding: 12px !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon {
		display: grid !important;
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 8px !important;
		width: 100% !important;
		margin: 0 0 10px !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions > button[name="update_cart"] {
		width: 100% !important;
		margin: 0 0 10px !important;
	}
}

@media (max-width: 390px) {
	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item {
		grid-template-columns: 72px minmax(0, 1fr) 34px !important;
		gap: 5px 9px !important;
		padding: 11px !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-thumbnail,
	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-thumbnail a,
	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-thumbnail img {
		width: 72px !important;
		height: 72px !important;
		max-width: 72px !important;
		max-height: 72px !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-name a {
		font-size: 0.9rem !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-remove,
	body.woocommerce-cart .ww-commerce-page--cart table.shop_table tr.cart_item .product-remove a {
		width: 32px !important;
		height: 32px !important;
	}
}

@media (max-width: 430px) {
	body.woocommerce-cart .ww-cart-crowns {
		display: grid !important;
		grid-template-columns: 30px minmax(0, 1fr) auto !important;
	}

	body.woocommerce-cart .ww-cart-crowns__coin {
		width: 30px !important;
		height: 30px !important;
		flex-basis: 30px;
	}

	body.woocommerce-cart .ww-cart-crowns__copy span {
		display: none;
	}

	body.woocommerce-cart .ww-cart-crowns__form {
		display: flex !important;
	}

	body.woocommerce-cart .ww-cart-crowns__form input[type="number"] {
		width: 46px !important;
	}

	body.woocommerce-cart .ww-cart-crowns__form button {
		padding-inline: 7px !important;
	}
}

/*
 * Final component isolation.
 * style.css contains legacy high-specificity commerce rules, so these selectors
 * deliberately match that scope and keep the two components self-contained.
 */
body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns {
	display: grid !important;
	grid-template-columns: 40px minmax(150px, 1fr) auto !important;
	grid-template-rows: auto !important;
	align-items: center !important;
	gap: 10px !important;
	width: 100% !important;
	max-width: none !important;
	min-height: 58px !important;
	margin: 10px 0 0 !important;
	padding: 8px 10px !important;
	float: none !important;
	clear: both !important;
	box-sizing: border-box !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__coin,
body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__image,
body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns > img {
	grid-column: 1 !important;
	width: 38px !important;
	height: 38px !important;
	max-width: 38px !important;
	max-height: 38px !important;
	margin: 0 !important;
	object-fit: contain !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy {
	grid-column: 2 !important;
	min-width: 0 !important;
	margin: 0 !important;
	text-align: left !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy h2,
body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy h3,
body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy strong {
	margin: 0 0 2px !important;
	font-size: 0.8rem !important;
	line-height: 1.05 !important;
	white-space: nowrap !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy p,
body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy span {
	display: block !important;
	margin: 0 !important;
	font-size: 0.7rem !important;
	line-height: 1.25 !important;
	white-space: nowrap !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__form {
	grid-column: 3 !important;
	display: flex !important;
	grid-template-columns: none !important;
	align-items: center !important;
	gap: 6px !important;
	width: auto !important;
	margin: 0 !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__form label {
	display: none !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__form input[type="number"] {
	width: 58px !important;
	min-width: 58px !important;
	height: 36px !important;
	min-height: 36px !important;
	margin: 0 !important;
	padding: 5px 7px !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__form button {
	width: auto !important;
	min-width: 76px !important;
	height: 36px !important;
	min-height: 36px !important;
	margin: 0 !important;
	padding: 0 11px !important;
	white-space: nowrap !important;
}

body.woocommerce-checkout .ww-commerce-page--checkout form.checkout.woocommerce-checkout {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(340px, 420px) !important;
	grid-template-rows: auto !important;
	grid-template-areas: none !important;
	column-gap: 28px !important;
	align-items: start !important;
}

body.woocommerce-checkout .ww-commerce-page--checkout #customer_details {
	grid-column: 1 !important;
	grid-row: 1 !important;
}

body.woocommerce-checkout .ww-commerce-page--checkout #order_review_heading {
	display: none !important;
}

body.woocommerce-checkout .ww-commerce-page--checkout #order_review {
	grid-column: 2 !important;
	grid-row: 1 !important;
	align-self: start !important;
	margin: 0 !important;
	padding: 18px 22px 22px !important;
	border: 1px solid #705315 !important;
}

body.woocommerce-checkout .ww-commerce-page--checkout #order_review::before {
	content: "Your Order";
	display: block;
	margin: 0 0 14px;
	padding: 0 0 14px;
	border-bottom: 1px solid #3d2e0d;
	color: #e1b84d;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.65rem;
	font-weight: 700;
	line-height: 1.05;
	text-transform: uppercase;
}

@media (max-width: 900px) {
	body.woocommerce-checkout .ww-commerce-page--checkout form.checkout.woocommerce-checkout {
		display: block !important;
	}

	body.woocommerce-checkout .ww-commerce-page--checkout #order_review {
		margin-top: 18px !important;
	}
}

@media (max-width: 680px) {
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns {
		grid-template-columns: 34px minmax(105px, 1fr) auto !important;
		gap: 7px !important;
		min-height: 52px !important;
		padding: 7px 8px !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__coin,
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__image,
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns > img {
		width: 32px !important;
		height: 32px !important;
		max-width: 32px !important;
		max-height: 32px !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy h2,
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy h3,
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy strong {
		font-size: 0.7rem !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy p,
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy span {
		overflow: hidden;
		font-size: 0.62rem !important;
		text-overflow: ellipsis;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__form input[type="number"] {
		width: 48px !important;
		min-width: 48px !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__form button {
		min-width: 58px !important;
		padding-inline: 7px !important;
	}

	body.woocommerce-checkout .ww-commerce-page--checkout #order_review {
		padding: 15px !important;
	}

	body.woocommerce-checkout .ww-commerce-page--checkout #order_review::before {
		font-size: 1.4rem;
	}
}

@media (max-width: 390px) {
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns {
		grid-template-columns: minmax(90px, 1fr) auto !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__coin,
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__image,
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns > img {
		display: none !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy {
		grid-column: 1 !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__form {
		grid-column: 2 !important;
	}
}

/* 0.9.16: targeted alignment corrections only. */
body.woocommerce-checkout .ww-commerce-page--checkout #billing_first_name_field {
	grid-column: 1 !important;
	grid-row: auto !important;
	float: none !important;
	clear: none !important;
	width: 100% !important;
}

body.woocommerce-checkout .ww-commerce-page--checkout #billing_last_name_field {
	grid-column: 2 !important;
	grid-row: auto !important;
	float: none !important;
	clear: none !important;
	width: 100% !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	align-items: stretch !important;
	gap: 8px !important;
	width: min(100%, 370px) !important;
	max-width: 370px !important;
	margin: 0 !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon #coupon_code,
body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon button[name="apply_coupon"] {
	width: 100% !important;
	height: 42px !important;
	min-height: 42px !important;
	margin: 0 !important;
	padding: 0 12px !important;
	box-sizing: border-box !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon button[name="apply_coupon"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	line-height: 1 !important;
	text-align: center !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__image {
	display: flex !important;
	align-self: center !important;
	align-items: center !important;
	justify-content: center !important;
	overflow: visible !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__image img {
	display: block !important;
	width: 38px !important;
	height: 38px !important;
	max-width: 38px !important;
	max-height: 38px !important;
	margin: 0 !important;
	object-fit: contain !important;
}

@media (max-width: 680px) {
	body.woocommerce-checkout .ww-commerce-page--checkout #billing_first_name_field,
	body.woocommerce-checkout .ww-commerce-page--checkout #billing_last_name_field {
		grid-column: 1 / -1 !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .coupon {
		width: 100% !important;
		max-width: none !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__image img {
		width: 32px !important;
		height: 32px !important;
		max-width: 32px !important;
		max-height: 32px !important;
	}
}

/* Keep this last: override every legacy grid placement at all viewport sizes. */
body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns {
	display: flex !important;
	flex-flow: row nowrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 12px !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__coin,
body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__image,
body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns > img {
	flex: 0 0 38px !important;
	align-self: center !important;
	margin: 0 !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__copy {
	flex: 1 1 auto !important;
	align-self: center !important;
	min-width: 0 !important;
	margin: 0 !important;
}

body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__form {
	display: flex !important;
	flex: 0 0 auto !important;
	flex-flow: row nowrap !important;
	align-self: center !important;
	align-items: center !important;
	margin: 0 !important;
}

@media (max-width: 680px) {
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns {
		display: flex !important;
		flex-flow: row nowrap !important;
		gap: 7px !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__coin,
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__image,
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns > img {
		display: flex !important;
		flex-basis: 32px !important;
	}
}

@media (max-width: 390px) {
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns {
		display: flex !important;
		flex-flow: row nowrap !important;
	}

	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__coin,
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns__image,
	body.woocommerce-cart .ww-commerce-page--cart td.actions .ww-cart-crowns > img {
		display: none !important;
	}
}
