.order-status-layout {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	margin: 0 -10px;
}

.order-status-layout > [class*="col-"] {
	padding: 0 10px;
}

.order-status-card > .in {
	padding: 24px;
	background: #fff;
	border: 1px solid #e7e1d7;
	border-radius: 12px;
	box-shadow: 0 4px 18px rgba(70, 58, 38, .08);
}

.order-status-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin: -24px -24px 22px;
	padding: 22px 24px 18px;
	background: #f6f8f1;
	border-bottom: 1px solid #e2e7d9;
	border-radius: 12px 12px 0 0;
}

.order-status-state {
	margin: 0;
	font-size: 26px;
	line-height: 1.25;
}

.order-status-number {
	margin: 5px 0 0;
	color: #6d685f;
	font-size: 20px;
	line-height: 1.3;
	white-space: nowrap;
}

.order-status-facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.order-status-fact {
	display: flex;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
	margin: 0;
	padding: 11px 13px;
	background: #faf8f4;
	border: 1px solid #eee9df;
	border-radius: 8px;
	line-height: 1.35;
}

.order-status-fact strong {
	color: #777067;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.order-status-fact span {
	color: #2f2c28;
	font-size: 15px;
}

.order-status-track {
	margin: 16px 0 0;
}

.order-status-track .btn.btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 20px;
	color: #fff;
	background: #4c703b;
	border: 1px solid #3e5d30;
	border-radius: 9px;
	box-shadow: 0 4px 12px rgba(62, 93, 48, .28);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	transition: background-color .15s, border-color .15s, box-shadow .15s, transform .15s;
}

.order-status-track .btn.btn-primary:before {
	margin-right: 9px;
	font-family: FontAwesome;
	font-size: 18px;
	font-weight: normal;
	content: "\f0d1";
}

.order-status-track .btn.btn-primary:hover,
.order-status-track .btn.btn-primary:focus {
	color: #fff;
	background: #3f5e31;
	border-color: #344e29;
	box-shadow: 0 6px 15px rgba(62, 93, 48, .34);
	transform: translateY(-1px);
}

.order-status-track .btn.btn-primary:focus {
	outline: 3px solid rgba(120, 146, 78, .28);
	outline-offset: 2px;
}

.order-status-shipping-note {
	margin: 14px 0 0;
	padding: 11px 14px;
	color: #536537;
	background: #f3f7eb;
	border-left: 3px solid #78924e;
	border-radius: 0 7px 7px 0;
}

.order-address-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 20px;
	padding-top: 20px;
	border-top: 1px solid #e7e1d7;
}

.order-address-card {
	min-width: 0;
	padding: 15px 16px;
	background: #f8f5ef;
	border: 1px solid #ebe4d8;
	border-radius: 9px;
	line-height: 1.45;
}

.order-address-card > strong {
	display: block;
	margin-bottom: 7px;
	color: #5e7040;
	font-size: 13px;
}

.order-address-card p {
	margin: 0;
	overflow-wrap: anywhere;
}

.order-address-contact {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 9px;
	background: #fff;
}

.order-address-contact p {
	display: flex;
	align-items: flex-start;
	gap: 9px;
}

.order-address-contact .fa {
	width: 18px;
	margin-top: 3px;
	color: #78924e;
	text-align: center;
	flex: 0 0 18px;
}

.order-company-id {
	display: inline-block;
	margin: 3px 8px 0 0;
	color: #625d55;
	font-size: 13px;
}

.order-address-message {
	display: flex;
	align-items: center;
	color: #625d55;
}

.order-status-card .table-zbozi {
	height: auto;
	margin-top: 22px;
	overflow-x: auto;
}

.order-status-card .table-zbozi h3 {
	margin: 0 0 12px;
}

.order-status-card .zbozi-table {
	width: 100%;
	min-width: 430px;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid #e8e2d8;
	border-radius: 8px;
	overflow: hidden;
}

.order-status-card .zbozi-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #eee9e1;
	vertical-align: top;
}

.order-status-card .zbozi-table tr:last-child td {
	border-bottom: 0;
}

.order-status-card .order-fees-row td {
	background: #fff7e4;
}

.order-vat-breakdown {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	margin-top: 16px;
}

.order-vat-breakdown h4 {
	width: 100%;
	max-width: 470px;
	margin: 0 0 7px;
	color: #5f594f;
	font-size: 14px;
	text-align: left;
}

.order-vat-table-wrap {
	width: 100%;
	max-width: 470px;
	overflow-x: auto;
}

.order-vat-table {
	width: 100%;
	min-width: 390px;
	border-collapse: collapse;
	font-size: 13px;
}

.order-vat-table th,
.order-vat-table td {
	padding: 7px 9px;
	border-bottom: 1px solid #e8e2d8;
	text-align: right;
	white-space: nowrap;
}

.order-vat-table th {
	color: #777067;
	background: #faf8f4;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .02em;
	text-transform: uppercase;
}

.order-vat-table th:first-child,
.order-vat-table td:first-child {
	text-align: left;
}

.order-vat-table tbody tr:last-child td {
	border-bottom: 0;
}

.order-status-card .celkem {
	margin: 16px 0 0;
	font-size: 22px;
	line-height: 1.25;
	text-align: right;
}

.order-status-card .celkem strong {
	font-size: 28px;
}

.order-repeat-action {
	margin: 12px 0 0;
	text-align: right;
}

.order-payment-card h2 {
	margin: 0 0 18px;
	font-size: 24px;
}

.order-payment-options {
	display: grid;
	gap: 10px;
}

.order-payment-option {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 58px;
	margin: 0;
	padding: 10px 14px;
	background: #fff;
	border: 1px solid #ded8cc;
	border-radius: 9px;
	cursor: pointer;
	transition: border-color .15s, background-color .15s, box-shadow .15s;
}

.order-payment-option:hover {
	background: #fbfcf8;
	border-color: #9eae7c;
}

.order-payment-option:has(input:checked) {
	background: #f5f8ef;
	border-color: #78924e;
	box-shadow: 0 0 0 1px #78924e;
}

.order-payment-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.order-payment-radio {
	position: relative;
	width: 20px;
	height: 20px;
	margin-right: 13px;
	background: #fff;
	border: 2px solid #aaa398;
	border-radius: 50%;
	flex: 0 0 20px;
}

.order-payment-option input:checked + .order-payment-radio {
	border-color: #78924e;
}

.order-payment-option input:checked + .order-payment-radio:after {
	position: absolute;
	inset: 4px;
	background: #78924e;
	border-radius: 50%;
	content: "";
}

.order-payment-option input:focus + .order-payment-radio {
	box-shadow: 0 0 0 3px rgba(120, 146, 78, .22);
}

.order-payment-content {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: 12px;
}

.order-payment-content img {
	display: block;
	width: auto;
	max-width: 145px;
	height: auto;
	max-height: 34px;
	object-fit: contain;
}

.order-payment-name {
	color: #38352f;
	font-weight: 600;
	line-height: 1.3;
}

.order-payment-submit {
	width: 100%;
	margin-top: 16px;
	padding: 11px 18px;
}

.order-payment-qr {
	margin-bottom: 24px;
	padding-bottom: 22px;
	border-bottom: 1px solid #e7e1d7;
	text-align: center;
}

.order-payment-qr .qrdes {
	display: block;
	text-align: left;
}

.order-payment-qr img {
	display: block;
	width: 100%;
	max-width: 270px;
	height: auto;
	margin: 18px auto 0;
}

@media (max-width: 991px) {
	.order-status-layout {
		display: block;
		margin: 0;
	}

	.order-status-layout > [class*="col-"] {
		width: 100%;
		padding: 0;
		float: none;
	}

	.order-payment-card {
		margin-top: 20px;
	}
}

@media (max-width: 680px) {
	.order-status-facts,
	.order-address-grid {
		grid-template-columns: 1fr;
	}

	.order-status-header {
		display: block;
	}

	.order-status-number {
		margin-top: 8px;
	}
}

@media (max-width: 520px) {
	.order-status-card > .in {
		padding: 18px 15px;
		border-radius: 9px;
	}

	.order-status-header {
		margin: -18px -15px 18px;
		padding: 18px 15px 15px;
		border-radius: 9px 9px 0 0;
	}

	.order-status-state {
		font-size: 22px;
	}

	.order-status-track .btn.btn-primary {
		width: 100%;
	}

	.order-payment-content {
		gap: 8px;
	}

	.order-payment-content img {
		max-width: 110px;
		max-height: 30px;
	}
}
