.cart-page,
.checkout-page {
	max-width: var(--stubborn-max-width);
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0 var(--stubborn-gutter);
	min-width: 0;
}

.stubborn-wc-page > h1 {
	margin: 16px 0 0;
	padding: 0 var(--stubborn-gutter);
}

.woocommerce-cart .cart-empty,
.woocommerce-cart .return-to-shop {
	max-width: var(--stubborn-max-width);
	margin-left: auto;
	margin-right: auto;
	padding: 0 var(--stubborn-gutter);
	min-width: 0;
}

.woocommerce-cart .return-to-shop {
	margin-top: 48px;
}

.woocommerce-cart .return-to-shop a.button {
	font-size: 1.2rem;
}

.woocommerce-cart .cart-empty {
	display: none;
}

.woocommerce-cart .wc-empty-cart-message {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 80px 24px 48px;
	min-height: 50vh;
}

.woocommerce-cart .wc-empty-cart-message::before {
	content: 'empty';
	display: block;
	font-family: var(--stubborn-font);
	font-size: 2.125rem;
	margin: 0 0 12px;
	color: var(--stubborn-text);
	line-height: 1;
}

.woocommerce-cart .wc-empty-cart-message::after {
	content: '';
	display: block;
	width: 200px;
	max-width: 60vw;
	aspect-ratio: 720 / 900;
	background: url('../images/empty-cart.jpeg') center / contain no-repeat;
}

.woocommerce-cart .woocommerce table.shop_table.cart {
	display: block;
	width: 100%;
	min-width: 0;
}

.woocommerce-cart .woocommerce table.shop_table.cart thead {
	display: none;
}

.woocommerce-cart .woocommerce table.shop_table.cart tbody {
	display: block;
}

.woocommerce-cart .woocommerce table.shop_table.cart tr {
	display: block;
	margin-bottom: 16px;
	position: relative;
	min-width: 0;
	overflow-wrap: anywhere;
	border: 1px solid var(--stubborn-border);
	padding: 16px;
}

.woocommerce-cart .woocommerce table.shop_table.cart td {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	min-width: 0;
	overflow-wrap: anywhere;
}

.woocommerce-cart .woocommerce table.shop_table.cart td:last-child {
	border-bottom: none;
}

.woocommerce-cart .woocommerce table.shop_table.cart td::before {
	content: attr(data-title);
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	flex-shrink: 0;
	margin-right: 12px;
}

.woocommerce-cart .woocommerce table.shop_table.cart .product-thumbnail {
	justify-content: center;
	padding: 0 0 12px 0;
}

.woocommerce-cart .woocommerce table.shop_table.cart .product-thumbnail::before {
	display: none;
}

.woocommerce-cart .woocommerce table.shop_table.cart .product-thumbnail img {
	max-width: 120px;
	height: auto;
	outline: 1px solid rgba(0, 0, 0, 0.1);
	outline-offset: -1px;
}

.woocommerce-cart .woocommerce table.shop_table.cart .product-name {
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	min-width: 0;
	overflow-wrap: anywhere;
	word-break: break-word;
}

.woocommerce-cart .woocommerce table.shop_table.cart .product-name::before {
	display: none;
}

.woocommerce-cart .woocommerce table.shop_table.cart .product-name a {
	overflow-wrap: anywhere;
	word-break: break-word;
	transition: opacity var(--stubborn-transition);
}

.woocommerce-cart .woocommerce table.shop_table.cart .product-name a:hover {
	opacity: 0.6;
}

.woocommerce-cart .woocommerce table.shop_table.cart .product-remove {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	padding: 0;
}

.woocommerce-cart .woocommerce table.shop_table.cart .product-remove::before {
	display: none;
}

.woocommerce-cart .woocommerce table.shop_table.cart .product-remove a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: var(--stubborn-touch-target);
	min-height: var(--stubborn-touch-target);
	font-size: 24px;
	transition: transform var(--stubborn-transition), opacity var(--stubborn-transition);
}

.woocommerce-cart .woocommerce table.shop_table.cart .product-remove a:hover {
	transform: scale(1.1);
}

.woocommerce-cart .woocommerce table.shop_table.cart .product-remove a:active {
	transform: scale(0.96);
}

.woocommerce-cart .woocommerce table.shop_table.cart .product-subtotal {
	border-top: 2px solid var(--stubborn-border);
	margin-top: 8px;
	padding-top: 12px;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
}

.woocommerce-cart .woocommerce table.shop_table.cart .product-price {
	font-variant-numeric: tabular-nums;
}

.woocommerce-cart .woocommerce table.shop_table.cart td.actions,
.woocommerce-cart .woocommerce table.shop_table.cart tr:has(td.actions) {
	display: none;
}

.woocommerce-cart .woocommerce-cart-form .coupon {
	display: none;
}

.woocommerce-cart .woocommerce-cart-form .button[name="update_cart"] {
	display: none;
}

.cart-page__totals {
	margin-top: 32px;
	min-width: 0;
}

.woocommerce-cart .cart-collaterals {
	min-width: 0;
	background: var(--stubborn-bg);
	border: 1px solid var(--stubborn-border);
	padding: 20px 24px 24px;
}

.woocommerce-cart .cart-collaterals .cart_totals > h2 {
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin: 0 0 16px;
	padding: 0 0 8px;
	border-bottom: 1px solid var(--stubborn-border);
	text-align: center;
}

.woocommerce-cart .cart-collaterals .shop_table {
	width: 100%;
	min-width: 0;
	border: none;
	background: transparent;
}

.woocommerce-cart .cart-collaterals .shop_table tr {
	display: flex;
	justify-content: space-between;
	padding: 0;
	margin-bottom: 12px;
}

.woocommerce-cart .cart-collaterals .shop_table tr:last-child {
	margin-bottom: 0;
}

.woocommerce-cart .cart-collaterals .shop_table th,
.woocommerce-cart .cart-collaterals .shop_table td {
	border: none;
	padding: 0;
	min-width: 0;
}

.woocommerce-cart .cart-collaterals .shop_table th {
	font-weight: 400;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.woocommerce-cart .cart-collaterals .shop_table td {
	font-variant-numeric: tabular-nums;
	font-size: 0.8125rem;
}

.woocommerce-cart .cart-collaterals .shop_table tr.order-total {
	padding-top: 16px;
	margin-top: 8px;
	border-top: 2px solid var(--stubborn-border);
}

.woocommerce-cart .cart-collaterals .shop_table tr.order-total th,
.woocommerce-cart .cart-collaterals .shop_table tr.order-total td {
	font-size: 1rem;
	font-weight: 700;
}

.woocommerce-cart .wc-proceed-to-checkout {
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--stubborn-border);
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
	display: block;
	width: 100%;
	min-height: 52px;
	padding: 16px 0;
	text-align: center;
	background: var(--stubborn-btn-bg);
	color: var(--stubborn-btn-color);
	border: 2px solid var(--stubborn-border);
	text-transform: uppercase;
	letter-spacing: 1px;
	white-space: nowrap;
	font-size: 0.75rem;
	transition: opacity var(--stubborn-transition), transform var(--stubborn-transition);
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
	opacity: 0.8;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button:active {
	transform: scale(0.96);
	opacity: 1;
}

.woocommerce form .form-row {
	width: 100%;
	float: none;
	padding-left: 0;
	padding-right: 0;
	margin-bottom: 16px;
	min-width: 0;
}

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

.woocommerce form .form-row label {
	display: block;
	margin-bottom: 8px;
	min-width: 0;
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
	word-break: normal;
	overflow-wrap: normal;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	width: 100%;
	min-height: 48px;
	padding: 12px;
	min-width: 0;
	border: 1px solid var(--stubborn-border);
	background: var(--stubborn-bg);
	color: var(--stubborn-text);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	border-color: var(--stubborn-text);
}

.woocommerce-checkout #payment {
	min-width: 0;
	border: 1px solid var(--stubborn-border);
}

.woocommerce-checkout .woocommerce #place_order {
	display: block;
	width: 100%;
	min-height: var(--stubborn-touch-target);
	padding: 14px 0;
	background: var(--stubborn-btn-bg);
	color: var(--stubborn-btn-color);
	border: 2px solid var(--stubborn-border);
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: opacity var(--stubborn-transition), transform var(--stubborn-transition);
}

.woocommerce-checkout .woocommerce #place_order:hover {
	opacity: 0.8;
}

.woocommerce-checkout .woocommerce #place_order:active {
	transform: scale(0.96);
	opacity: 1;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	min-width: 0;
	padding: 16px;
	border: 1px solid var(--stubborn-border);
	background: var(--stubborn-bg);
	animation: stubborn-notice-in 240ms cubic-bezier(0.2, 0, 0, 1) both;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle {
	padding: 8px 12px 8px var(--stubborn-gutter);
	font-size: 0.6875rem;
	font-family: var(--stubborn-font);
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	line-height: 1.4;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	padding: 0;
	background: transparent;
	border: none;
	font-size: inherit;
	font-family: inherit;
	font-weight: inherit;
	letter-spacing: inherit;
	text-transform: inherit;
	line-height: inherit;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a:hover {
	opacity: 0.6;
}

.woocommerce-checkout .checkout_coupon {
	display: flex;
	flex-wrap: nowrap;
	gap: 8px;
	margin: 0;
	padding: 8px 12px 8px var(--stubborn-gutter);
}

.woocommerce-checkout .checkout_coupon .form-row {
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
}

.woocommerce-checkout .checkout_coupon .form-row-first {
	flex: 0 0 200px;
	max-width: 200px;
	min-width: 0;
}

.woocommerce-checkout .checkout_coupon .form-row-last {
	flex: 0 0 auto;
}

.woocommerce-checkout .checkout_coupon input[name="coupon_code"] {
	width: 100%;
	height: 40px;
	margin: 0;
	padding: 0 12px;
	font-family: var(--stubborn-font-body);
	font-size: 0.875rem;
}

.woocommerce-checkout .checkout_coupon button[name="apply_coupon"] {
	height: 40px;
	margin: 0;
	padding: 0 16px;
	font-family: var(--stubborn-font);
	font-size: 0.6875rem;
	letter-spacing: 0.5px;
	color: var(--stubborn-bg);
	background: var(--stubborn-text);
	border: 1px solid var(--stubborn-text);
	white-space: nowrap;
	cursor: pointer;
}

.woocommerce-checkout .checkout_coupon button[name="apply_coupon"]:hover {
	opacity: 0.85;
}

.woocommerce-checkout .checkout_coupon button[name="apply_coupon"]:active {
	transform: scale(0.97);
	opacity: 1;
}

.woocommerce-checkout .checkout_coupon .clear {
	display: none;
}

@media (min-width: 769px) {
	.woocommerce-checkout .woocommerce-form-coupon-toggle,
	.woocommerce-checkout .checkout_coupon {
		padding-left: var(--stubborn-gutter-desktop);
	}
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	display: none;
}

@keyframes stubborn-notice-in {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.woocommerce-message.stubborn-dismissing,
.woocommerce-info.stubborn-dismissing,
.woocommerce-error.stubborn-dismissing {
	animation: stubborn-notice-out 240ms cubic-bezier(0.2, 0, 0, 1) forwards;
}

@keyframes stubborn-notice-out {
	from {
		opacity: 1;
		transform: translateY(0);
		max-height: 200px;
		margin-bottom: 16px;
		padding-top: 16px;
		padding-bottom: 16px;
	}
	to {
		opacity: 0;
		transform: translateY(-6px);
		max-height: 0;
		margin-bottom: 0;
		padding-top: 0;
		padding-bottom: 0;
		border-width: 0;
	}
}

.woocommerce select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding-right: 36px;
	cursor: pointer;
	border: 1px solid var(--stubborn-border);
	background-color: var(--stubborn-bg);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23013148' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	background-size: 12px 8px;
}

@media (min-width: 769px) {
	.woocommerce-cart .woocommerce table.shop_table.cart {
		display: table;
		border-collapse: collapse;
		border: 1px solid var(--stubborn-border);
		table-layout: fixed;
		width: 100%;
	}

	.woocommerce-cart .woocommerce table.shop_table.cart thead {
		display: table-header-group;
	}

	.woocommerce-cart .woocommerce table.shop_table.cart thead th {
		font-size: 0.75rem;
		text-transform: uppercase;
		border-bottom: 1px solid var(--stubborn-border);
		padding: 16px 12px;
		white-space: nowrap;
		text-align: left;
		background: rgba(1, 49, 72, 0.04);
	}

	.woocommerce-cart .woocommerce table.shop_table.cart tbody td {
		font-size: 0.8125rem;
		transition: background-color var(--stubborn-transition);
	}

	.woocommerce-cart .woocommerce table.shop_table.cart tbody tr:hover td {
		background-color: rgba(1, 49, 72, 0.03);
	}

	.woocommerce-cart .woocommerce table.shop_table.cart tbody {
		display: table-row-group;
	}

	.woocommerce-cart .woocommerce table.shop_table.cart tr {
		display: table-row;
		margin-bottom: 0;
		position: static;
		border: none;
		padding: 0;
	}

	.woocommerce-cart .woocommerce table.shop_table.cart td {
		display: table-cell;
		padding: 16px;
		border-bottom: 1px solid var(--stubborn-border);
		vertical-align: middle;
	}

	.woocommerce-cart .woocommerce table.shop_table.cart td::before {
		display: none;
	}

	.woocommerce-cart .woocommerce table.shop_table.cart .product-remove {
		width: 56px;
		position: static;
	}

	.woocommerce-cart .woocommerce table.shop_table.cart .product-thumbnail {
		width: 120px;
		padding: 12px;
	}

	.woocommerce-cart .woocommerce table.shop_table.cart .product-thumbnail img {
		max-width: 100%;
	}

	.woocommerce-cart .woocommerce table.shop_table.cart .product-name {
		flex-direction: row;
		align-items: center;
		min-width: 0;
		overflow-wrap: anywhere;
	}

	.woocommerce-cart .woocommerce table.shop_table.cart .product-price,
	.woocommerce-cart .woocommerce table.shop_table.cart .product-subtotal {
		width: 120px;
		white-space: nowrap;
	}

	.woocommerce-cart .woocommerce table.shop_table.cart .product-quantity {
		width: 150px;
	}

	.cart-page,
	.checkout-page,
	.stubborn-wc-page {
		padding: 0 var(--stubborn-gutter-desktop);
	}

	.stubborn-wc-page > h1 {
		max-width: var(--stubborn-max-width);
		margin: 24px auto 0;
		padding: 0 var(--stubborn-gutter-desktop);
	}
}

@media (min-width: 1200px) {
	.woocommerce-cart .cart-page {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 24px;
		align-items: start;
	}

	.woocommerce-cart .cart-page > form.woocommerce-cart-form,
	.woocommerce-cart .cart-page > .cart-collaterals {
		min-width: 0;
	}

	.woocommerce form .form-row-first {
		width: 48%;
		float: left;
	}

	.woocommerce form .form-row-last {
		width: 48%;
		float: right;
	}

	.woocommerce-checkout .woocommerce-form-coupon-toggle,
	.woocommerce-checkout .checkout_coupon {
		max-width: var(--stubborn-max-width);
		margin: 0 auto;
		padding-left: 24px;
	}
}

@media (max-width: 1199px) {
	/* Mobile order review table layout (below 1200px) */
	.woocommerce-checkout #order_review .shop_table {
		width: 100%;
		border-collapse: collapse;
		margin-bottom: 16px;
		background: transparent;
	}

	.woocommerce-checkout #order_review .shop_table th,
	.woocommerce-checkout #order_review .shop_table td {
		border: none;
		padding: 0;
		min-width: 0;
		font-variant-numeric: tabular-nums;
	}

	.woocommerce-checkout #order_review .shop_table thead th {
		font-family: var(--stubborn-font-body);
		font-weight: 400;
		font-size: 0.75rem;
		text-transform: uppercase;
		letter-spacing: 0.5px;
		padding: 0 0 8px;
	}

	.woocommerce-checkout #order_review .shop_table tbody td {
		font-size: 0.875rem;
	}

	.woocommerce-checkout #order_review .shop_table tr th:last-child,
	.woocommerce-checkout #order_review .shop_table tr td:last-child {
		text-align: right;
		white-space: nowrap;
		width: 1%;
	}

	.woocommerce-checkout #order_review .shop_table tr.cart_item td {
		padding: 12px 0;
		border-bottom: 1px solid rgba(26, 26, 26, 0.15);
		vertical-align: top;
	}

	.woocommerce-checkout #order_review .shop_table tr.cart_item td:first-child {
		text-align: left;
		white-space: normal;
		width: auto;
		padding-right: 12px;
	}

	.woocommerce-checkout #order_review .shop_table tr.cart_item .product-quantity {
		display: block;
		font-size: 0.75rem;
		opacity: 0.7;
		margin-top: 4px;
		font-weight: 400;
	}

	.woocommerce-checkout #order_review .shop_table tr.cart-subtotal th,
	.woocommerce-checkout #order_review .shop_table tr.cart-subtotal td {
		padding: 12px 0 0;
		font-size: 0.875rem;
	}

	.woocommerce-checkout #order_review .shop_table tr.order-total th,
	.woocommerce-checkout #order_review .shop_table tr.order-total td {
		padding-top: 12px;
		font-size: 1rem;
		font-weight: 700;
		border-top: 2px solid var(--stubborn-text);
	}

	/* Mobile payment section: reduce font size by 20% (0.7rem → 0.56rem) */
	.woocommerce-checkout .wc_payment_methods,
	.woocommerce-checkout .wc_payment_methods li,
	.woocommerce-checkout .wc_payment_methods label,
	.woocommerce-checkout .wc_payment_methods .payment_box,
	.woocommerce-checkout .woocommerce-privacy-policy-text {
		font-size: 0.56rem;
		line-height: 1.6;
	}
}

@media (min-width: 1200px) {
	.woocommerce-checkout form.checkout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 360px;
		gap: 32px;
		align-items: start;
		max-width: var(--stubborn-max-width);
		margin: 0 auto;
	}

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

	.woocommerce-checkout form.checkout #order_review_heading,
	.woocommerce-checkout form.checkout #order_review {
		grid-column: 2;
		min-width: 0;
	}

	.woocommerce-checkout #order_review_heading {
		display: none;
	}

	.woocommerce-checkout #order_review {
		position: relative;
	}

	.woocommerce-checkout #order_review::before {
		content: "Your order";
		display: block;
		font-size: 0.75rem;
		text-transform: uppercase;
		letter-spacing: 1px;
		margin: 0 0 16px;
		padding-bottom: 12px;
		border-bottom: 1px solid var(--stubborn-border);
		font-weight: 400;
	}

	.woocommerce-checkout #order_review {
		background: var(--stubborn-bg);
		border: 1px solid var(--stubborn-border);
		padding: 24px;
	}

	.woocommerce-checkout #order_review > h2,
	.woocommerce-checkout #order_review > h3 {
		font-size: 0.75rem;
		text-transform: uppercase;
		letter-spacing: 1px;
		margin: 0 0 16px;
		padding-bottom: 12px;
		border-bottom: 1px solid var(--stubborn-border);
		font-weight: 400;
	}

	.woocommerce-checkout #order_review .shop_table {
		width: 100%;
		min-width: 0;
		border: none;
		background: transparent;
		margin-bottom: 20px;
	}

	.woocommerce-checkout #order_review .shop_table th,
	.woocommerce-checkout #order_review .shop_table td {
		border: none;
		padding: 0;
		min-width: 0;
	}

	.woocommerce-checkout #order_review .shop_table th {
		font-weight: 400;
		font-size: 0.75rem;
		text-transform: uppercase;
		letter-spacing: 1px;
	}

	.woocommerce-checkout #order_review .shop_table td {
		font-variant-numeric: tabular-nums;
		font-size: 0.8125rem;
		text-align: right;
	}

	.woocommerce-checkout #order_review .shop_table tr th:last-child,
	.woocommerce-checkout #order_review .shop_table tr td:last-child {
		text-align: right;
		white-space: nowrap;
		width: 1%;
	}

	.woocommerce-checkout #order_review .shop_table tr.cart_item td {
		padding-bottom: 12px;
	}

	.woocommerce-checkout #order_review .shop_table tr.cart_item td:first-child {
		text-align: left;
		white-space: normal;
		width: auto;
	}

	.woocommerce-checkout #order_review .shop_table tr.cart_item .product-quantity {
		display: block;
		font-size: 0.75rem;
		opacity: 0.7;
		margin-top: 4px;
	}

	.woocommerce-checkout #order_review .shop_table tr.order-total {
		padding-top: 16px;
		margin-top: 8px;
		border-top: 2px solid var(--stubborn-border);
	}

	.woocommerce-checkout #order_review .shop_table tr.order-total th,
	.woocommerce-checkout #order_review .shop_table tr.order-total td {
		font-size: 1rem;
		font-weight: 700;
	}

	.woocommerce-checkout #payment {
		background: transparent;
		border: none;
		padding: 0;
		margin-top: 16px;
	}

	.woocommerce-checkout #payment ul.payment_methods {
		list-style: none;
		padding: 0;
		margin: 0 0 16px;
		border: 1px solid var(--stubborn-border);
	}

	.woocommerce-checkout #payment ul.payment_methods li {
		padding: 12px;
		border-bottom: 1px solid var(--stubborn-border);
	}

	.woocommerce-checkout #payment ul.payment_methods li:last-child {
		border-bottom: none;
	}

	.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
		margin-right: 8px;
	}

	.woocommerce-checkout #payment div.payment_box {
		padding: 12px;
		margin-top: 12px;
		background: var(--stubborn-bg);
		font-size: 0.8125rem;
	}

	.woocommerce-checkout #payment .place-order {
		margin-top: 16px;
	}

	.woocommerce-checkout .woocommerce #place_order {
		min-height: 52px;
		padding: 16px 0;
		font-size: 0.8125rem;
		margin-top: 16px;
	}
}

/* ==========================================================================
   Order Received Page (thankyou)
   ========================================================================== */

.woocommerce-order {
	font-family: var(--stubborn-font-body);
	font-size: 0.875rem;
	line-height: 1.6;
	color: var(--stubborn-text);
	padding: 0 var(--stubborn-gutter);
}

@media (min-width: 769px) {
	.woocommerce-order {
		padding: 0 var(--stubborn-gutter-desktop);
	}
}

@media (min-width: 1200px) {
	.woocommerce-order {
		padding: 0;
		max-width: var(--stubborn-max-width);
		margin: 0 auto;
	}
}

/* Thank you notice */
.woocommerce-thankyou-order-received {
	font-family: var(--stubborn-font);
	font-size: 0.8125rem;
	line-height: 1.6;
	background: var(--stubborn-text);
	color: var(--stubborn-bg);
	border: 1px solid var(--stubborn-text);
	padding: 12px 16px;
	margin: 0 0 24px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

@media (min-width: 769px) {
	.woocommerce-thankyou-order-received {
		font-size: 0.875rem;
		padding: 14px 20px;
	}
}

@media (min-width: 1200px) {
	.woocommerce-thankyou-order-received {
		max-width: var(--stubborn-max-width);
		margin-left: auto;
		margin-right: auto;
	}
}

/* Order overview list (Order number, Date, Email, Total, Payment method) */
.woocommerce-order-overview {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--stubborn-text);
	border-bottom: 1px solid var(--stubborn-text);
	padding: 20px 0;
}

.woocommerce-order-overview li {
	padding: 0;
	margin: 0;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.woocommerce-order-overview li strong {
	font-family: var(--stubborn-font);
	font-weight: 400;
	font-size: 0.75rem;
	color: var(--stubborn-text);
	text-transform: none;
	letter-spacing: 0;
	word-break: break-word;
}

@media (min-width: 769px) {
	.woocommerce-order-overview {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px 32px;
	}
}

@media (min-width: 1025px) {
	.woocommerce-order-overview {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1200px) {
	.woocommerce-order-overview {
		grid-template-columns: repeat(5, 1fr);
	}
}

/* Order details section (items table) */
.woocommerce-order-details {
	margin: 32px 0;
}

.woocommerce-order-details__title,
.woocommerce-column__title {
	font-family: var(--stubborn-font);
	font-size: 0.75rem;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 16px;
	padding: 0;
	color: var(--stubborn-text);
}

@media (min-width: 769px) {
	.woocommerce-order-details__title,
	.woocommerce-column__title {
		font-size: 0.875rem;
		margin-bottom: 20px;
	}
}

/* Order details table */
.woocommerce-table--order-details {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 24px;
	font-size: 0.8125rem;
	background: transparent;
}

.woocommerce-table--order-details thead th {
	font-family: var(--stubborn-font);
	font-weight: 400;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 12px 8px;
	text-align: left;
	border-bottom: 2px solid var(--stubborn-text);
	white-space: nowrap;
}

.woocommerce-table--order-details thead th:last-child,
.woocommerce-table--order-details tbody td:last-child {
	text-align: right;
}

.woocommerce-table--order-details tbody td {
	padding: 12px 8px;
	border-bottom: 1px solid rgba(26, 26, 26, 0.15);
	vertical-align: top;
	font-variant-numeric: tabular-nums;
}

.woocommerce-table--order-details tbody td:first-child {
	padding-left: 0;
}

.woocommerce-table--order-details tfoot th,
.woocommerce-table--order-details tfoot td {
	padding: 12px 8px;
	font-weight: 400;
	font-size: 0.8125rem;
	border-top: 1px solid var(--stubborn-text);
	border-bottom: none;
}

.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-table--order-details tfoot tr:last-child td {
	font-weight: 700;
	font-size: 0.875rem;
	border-top: 2px solid var(--stubborn-text);
	padding-top: 16px;
}

.woocommerce-table--order-details tfoot th {
	text-align: left;
}

@media (min-width: 769px) {
	.woocommerce-table--order-details thead th {
		font-size: 0.75rem;
		padding: 14px 12px;
	}
}

/* Customer details section */
.woocommerce-customer-details {
	margin: 32px 0;
}

.woocommerce-columns--addresses {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

.woocommerce-columns--addresses .woocommerce-column {
	background: var(--stubborn-bg);
	border: 1px solid var(--stubborn-text);
	padding: 16px;
}

.woocommerce-columns--addresses .woocommerce-column__title {
	margin: 0 0 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid var(--stubborn-text);
}

.woocommerce-columns--addresses address {
	font-style: normal;
	font-size: 0.8125rem;
	line-height: 1.6;
}

@media (min-width: 769px) {
	.woocommerce-columns--addresses {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}
	.woocommerce-columns--addresses .woocommerce-column {
		padding: 20px;
	}
}

/* Order again button */
.woocommerce-order .woocommerce-button,
.woocommerce-order a.button {
	display: inline-block;
	font-family: var(--stubborn-font);
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	background: var(--stubborn-text);
	color: var(--stubborn-bg);
	border: 1px solid var(--stubborn-text);
	padding: 12px 20px;
	min-height: 44px;
	text-decoration: none;
	transition: opacity var(--stubborn-transition);
	margin-top: 16px;
}

.woocommerce-order .woocommerce-button:hover,
.woocommerce-order a.button:hover {
	opacity: 0.85;
}

.woocommerce-order .woocommerce-button:active,
.woocommerce-order a.button:active {
	transform: scale(0.97);
}

@media (min-width: 769px) {
	.woocommerce-order .woocommerce-button,
	.woocommerce-order a.button {
		font-size: 0.75rem;
		padding: 14px 24px;
	}
}

/* Failed order notice */
.woocommerce-thankyou-order-failed {
	background: var(--stubborn-text);
	color: var(--stubborn-bg);
	border: 1px solid var(--stubborn-text);
	padding: 12px 16px;
	margin: 0 0 16px;
	font-size: 0.8125rem;
}

.woocommerce-thankyou-order-failed-actions {
	margin: 0 0 24px;
}

.woocommerce-thankyou-order-failed-actions .button {
	font-family: var(--stubborn-font);
	font-size: 0.6875rem;
	background: var(--stubborn-text);
	color: var(--stubborn-bg);
	border: 1px solid var(--stubborn-text);
	padding: 10px 16px;
	min-height: 40px;
	margin-right: 8px;
}
