/* Additions required for cart controls.
   All page-level design comes from the existing Gurus Gel stylesheet. */

body * {
	border-radius: 0 !important;
}

.order-heading {
	padding-top: 5vw;
}

.prototype-status {
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #ccc;
	font-size: 0.8rem;
	letter-spacing: 0.05em;
	margin: 2rem auto 0;
	max-width: 700px;
	padding: 0.75rem;
	text-align: center;
}

.order-products {
	margin-top: 3rem;
}

.order-products .list {
	grid-template-rows: auto 1fr auto;
}

.order-products .list figure {
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.order-products .list figure img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.product-price {
	font-size: 1.15rem !important;
	font-weight: bold !important;
	margin-top: 1rem !important;
	text-align: center;
}

.quantity-control {
	align-items: center;
	border: 1px solid #ccc;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 1rem !important;
	width: 100%;
}

.quantity-control button {
	align-items: center;
	background: #fff;
	border: 0;
	color: #333;
	cursor: pointer;
	display: flex;
	font-size: 1.3rem;
	height: 44px;
	justify-content: center;
	padding: 0 !important;
	width: 100%;
}

.quantity-control button:first-child {
	border-right: 1px solid #ccc;
}

.quantity-control button:last-child {
	border-left: 1px solid #ccc;
}

.quantity-control span {
	align-items: center;
	display: flex;
	font-variant-numeric: tabular-nums;
	height: 44px;
	justify-content: center;
	text-align: center;
	width: 100%;
}

.order-confirm {
	margin-bottom: 0;
	padding-bottom: 7vw;
	padding-top: 5vw;
}

.order-slip-b {
	background: var(--primary-color);
	box-shadow: 0 10px 30px rgba(0,0,0,0.14);
	color: var(--primary-inverse-color);
	margin: 2rem auto 0;
	max-width: 900px;
	padding: 2rem;
}

.order-slip-b-heading {
	align-items: end;
	border-bottom: 1px solid rgba(255,255,255,0.35);
	display: flex;
	justify-content: space-between;
	padding-bottom: 1.25rem;
}

.order-slip-b-heading h3 {
	font-size: 1.7rem;
	font-weight: normal;
	margin: 0;
}

.order-slip-label {
	color: var(--accent-color);
	font-size: 0.75rem;
	letter-spacing: 0.2em;
	margin: 0 0 0.25rem;
}

.order-count {
	color: rgba(255,255,255,0.7);
	font-size: 0.85rem;
	margin: 0;
}

.order-slip-lines {
	border-bottom: 1px dashed rgba(255,255,255,0.35);
	min-height: 120px;
	padding: 1.25rem 0;
}

.order-slip-line {
	align-items: baseline;
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr auto;
	padding: 0.5rem 0;
}

.order-slip-line strong {
	color: #fff;
	font-weight: normal;
}

.empty-order {
	color: rgba(255,255,255,0.6);
	margin: 0;
}

.order-slip-total {
	align-items: baseline;
	display: flex;
	justify-content: space-between;
	padding: 1.5rem 0 0.5rem;
}

.order-slip-total strong {
	color: #d8bc75;
	font-size: 2rem;
	font-weight: normal;
}

.payment-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	margin-top: 2rem;
}

.payment-button,
.cart-checkout button {
	background: var(--accent-color);
	border: 0;
	border-radius: 0;
	box-shadow: 0 0 20px rgba(0,0,0,0.1);
	color: var(--accent-inverse-color);
	cursor: pointer;
	display: block;
	font-family: inherit;
	font-size: 1.2rem;
	letter-spacing: 0.1em;
	margin: 0 auto;
	padding: 0.5rem 3rem;
}

.payment-button {
	margin: 0;
	min-width: 220px;
}

.credit-button {
	background: var(--accent-color);
	color: var(--accent-inverse-color);
}

.bank-button {
	background: transparent;
	border: 1px solid rgba(255,255,255,0.8);
	color: #fff;
}

.bank-button[aria-expanded="true"] {
	background: #000;
	color: #fff;
}

.payment-button:hover,
.cart-checkout button:hover {
	background: #000;
	color: #fff;
}

.payment-button:disabled,
.cart-checkout button:disabled {
	background: #999;
	box-shadow: none;
	cursor: not-allowed;
	opacity: 0.55;
}

.payment-note {
	color: rgba(255,255,255,0.65);
	font-size: 0.8rem;
	margin: 1rem 0 0;
	text-align: center;
}

.bank-transfer-form {
	border-top: 1px solid #ccc;
	margin: 4rem auto 0;
	max-width: 900px;
	padding-top: 4rem;
}

.bank-form-table {
	background: #fff;
	margin-top: 2rem;
	width: 100%;
}

.bank-form-table th {
	text-align: left;
	vertical-align: top;
	width: 210px;
}

.bank-form-table td,
.bank-form-table label {
	text-align: left;
}

.bank-form-table label {
	display: block;
}

.bank-form-table input,
.bank-form-table textarea {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 0;
	color: #333;
	font-family: inherit;
	font-size: 1rem;
	padding: 12px;
	width: 100%;
}

.bank-form-table textarea {
	resize: vertical;
}

.bank-details {
	background: #fff;
	margin-top: 2rem;
	width: 100%;
}

.bank-details th {
	text-align: left;
	vertical-align: top;
	width: 150px;
}

.bank-details td {
	text-align: left;
	vertical-align: top;
}

.bank-result {
	margin-top: 2rem;
}

.demo-result {
	background: #fff;
	border: 1px solid #ccc;
	margin: 3rem auto 0;
	max-width: 900px;
	padding: 2rem;
}

.demo-result h3 {
	border-bottom: 1px solid #ccc;
	font-size: 1.3rem;
	font-weight: normal;
	margin: 0 0 1rem;
	padding-bottom: 0.75rem;
}

.demo-line {
	border-bottom: 1px solid #ddd;
	display: grid;
	grid-template-columns: 1fr auto;
	padding: 0.5rem 0;
}

.demo-total {
	font-size: 1.1rem;
	font-weight: bold;
	text-align: right;
}

.form-message {
	color: #c00000;
	min-height: 2em;
}

@media screen and (max-width: 600px) {
	.order-heading {
		padding-top: 3rem;
	}

	.order-slip-b {
		padding: 1.25rem;
	}

	.cart-checkout button {
		width: 100%;
	}

	.payment-buttons {
		gap: 10px;
	}

	.payment-button {
		min-width: 0;
		width: 100%;
	}

	.bank-form-table th,
	.bank-form-table td,
	.bank-details th,
	.bank-details td {
		display: block;
		width: 100%;
	}
}
