* {
	box-sizing: border-box;
}

:root {
	--bf-blue: #1356d8;
	--bf-indigo: #6b7cff;
	--bf-blue-soft: #eef4ff;
	--bf-green-soft: #e8fbef;
	--bf-green-text: #12703a;
	--bf-warm-soft: #fff8ef;
	--bf-shadow: 0 12px 30px rgba(19, 86, 216, 0.06);
}

body {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	background: linear-gradient(180deg, #f8fbff 0%, #f4f7fb 42%, #f3f5f7 100%);
	color: #1c2430;
}

a {
	color: inherit;
	text-decoration: none;
}

.wrap {
	width: min(1100px, calc(100% - 32px));
	margin: 0 auto;
}

.topbar {
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid #e3e8ef;
	backdrop-filter: blur(8px);
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 18px;
	padding-bottom: 10px;
}

.topbar-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.brand-logo-link {
	display: inline-flex;
	align-items: center;
}

a.brand:hover .brand-title,
a.brand:hover .brand-sub {
	text-decoration: none;
}

a.brand {
	color: inherit;
}

.brand-mark {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--bf-blue) 0%, var(--bf-indigo) 100%);
	color: #fff;
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.02em;
	line-height: 1;
	box-shadow: 0 8px 18px rgba(19, 86, 216, 0.18);
}

.brand-mark-image {
	width: 350px;
	height: 77px;
	padding: 0;
	background: transparent;
	border: none;
	overflow: hidden;
	box-shadow: none;
}

.brand-mark-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	display: block;
	border-radius: 0;
}

.brand-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.1;
}

.brand-sub {
	font-size: 13px;
	color: #6c7787;
	line-height: 1.2;
}

.lang-switch a {
	padding: 8px 12px;
	border: 1px solid #d9e0ea;
	border-radius: 8px;
	margin-left: 8px;
	background: #fff;
}

.lang-switch a.active {
	background: #1356d8;
	color: #fff;
	border-color: #1356d8;
}

.support-pill {
	display: inline-flex;
	flex-direction: column;
	padding: 8px 12px;
	border: 1px solid #d9e0ea;
	border-radius: 12px;
	background: #fff;
	min-width: 140px;
}

.support-pill span {
	font-size: 11px;
	color: #6c7787;
}

.support-pill strong {
	font-size: 13px;
	color: #1356d8;
}

.support-inline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 999px;
	background: linear-gradient(135deg, #eef4ff 0%, #f6f0ff 100%);
	color: #1356d8;
	font-weight: 700;
	box-shadow: 0 8px 18px rgba(19, 86, 216, 0.08);
}

.hero {
	display: grid;
	grid-template-columns: 1.6fr 1fr;
	gap: 24px;
	padding: 32px 0;
}

.page-head {
	padding: 32px 0 12px;
}

.hero-copy, .hero-panel, .card, .auth-card {
	background: #fff;
	border: 1px solid #e3e8ef;
	border-radius: 16px;
	padding: 24px;
	box-shadow: var(--bf-shadow);
}

.eyebrow {
	margin: 0 0 10px;
	color: #1356d8;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	font-size: 12px;
}

h1, h2 {
	margin: 0 0 12px;
}

.lead {
	margin: 0 0 20px;
	color: #506070;
	line-height: 1.6;
	max-width: 60ch;
}

.hero-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 10px;
	font-weight: 700;
}

.btn-primary {
	background: linear-gradient(135deg, var(--bf-blue) 0%, var(--bf-indigo) 100%);
	color: #fff;
	box-shadow: 0 10px 18px rgba(19, 86, 216, 0.16);
}

.btn-small {
	min-height: 38px;
	padding: 0 14px;
	border: 0;
}

.btn-secondary {
	background: linear-gradient(180deg, #eef3fa 0%, #e7edf7 100%);
	color: #1c2430;
}

.btn:hover {
	transform: translateY(-1px);
}

.btn-primary:hover {
	filter: saturate(1.03);
}

.btn-secondary:hover {
	background: linear-gradient(180deg, #eaf1fb 0%, #e2eaf5 100%);
}

.hero-panel .panel-title {
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 16px;
}

.panel-row {
	display: flex;
	justify-content: space-between;
	padding: 12px 0;
	border-top: 1px solid #eef2f6;
}

.grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	padding-bottom: 40px;
}

.home-action-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 14px;
}

.home-card-footer {
	display: flex;
	justify-content: flex-start;
	margin-top: auto;
}

.dashboard-stats {
	margin-bottom: 18px;
}

.admin-live-order-banner {
	margin-bottom: 16px;
}

.choice-row-tight {
	margin: 0;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 18px;
}

.stat-card {
	background: linear-gradient(180deg, #f7f9fc 0%, #eef4ff 100%);
	border: 1px solid #e1e7ef;
	border-radius: 14px;
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.stat-card span {
	font-size: 12px;
	color: #69788c;
}

.stat-card strong {
	font-size: 22px;
	color: #1c2430;
}

.dashboard-table-wrap {
	margin-top: 18px;
	overflow-x: auto;
}

.dashboard-table {
	width: 100%;
	border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
	padding: 12px 10px;
	border-bottom: 1px solid #eef2f6;
	text-align: left;
	white-space: nowrap;
}

.dashboard-table th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #6c7787;
}

.checkout-grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr;
	gap: 16px;
	padding-bottom: 40px;
}

.card p, .auth-card p {
	color: #5f6d7d;
	line-height: 1.6;
}

.menu-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.menu-slot-row {
	display: flex;
	justify-content: flex-start;
}

.menu-slot-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: linear-gradient(135deg, #eef4ff 0%, #f6f0ff 100%);
	color: #3a63cc;
	font-size: 12px;
	font-weight: 700;
}

.menu-image {
	height: 180px;
	border-radius: 14px;
	overflow: hidden;
	background: linear-gradient(135deg, #edf2f8 0%, #f6f0ff 100%);
}

.menu-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.menu-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.menu-badge {
	display: inline-flex;
	align-items: center;
	padding: 6px 10px;
	border-radius: 999px;
	background: linear-gradient(135deg, #eef4ff 0%, #f7f2ff 100%);
	color: #1356d8;
	font-size: 12px;
	font-weight: 700;
}

.menu-badge-soft {
	background: linear-gradient(135deg, #f2f5fa 0%, #fff6eb 100%);
	color: #546272;
}

.menu-badge-ok {
	background: linear-gradient(135deg, #e8fbef 0%, #f3fff5 100%);
	color: #12703a;
}

.menu-badge-muted {
	background: #eef1f5;
	color: #5a6677;
}

.menu-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: #506070;
}

.menu-ingredients {
	margin: 0;
	padding: 10px 12px;
	border-radius: 12px;
	background: #f7f9fc;
	color: #526174;
	line-height: 1.5;
}

.menu-ingredients span {
	font-weight: 700;
	color: #314155;
}

.menu-title-label {
	font-size: 12px;
	font-weight: 700;
	color: #6c7787;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.menu-actions {
	margin-top: auto;
}

.menu-cart-form {
	display: grid;
	gap: 18px;
}

.menu-order-form {
	display: grid;
	gap: 10px;
}

.menu-quantity-picker {
	display: grid;
	gap: 6px;
}

.menu-quantity-picker span {
	font-size: 12px;
	color: #5f6d7d;
	font-weight: 700;
}

.menu-quantity-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.menu-quantity-pill {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid #d9e0ea;
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
	font-weight: 700;
}

.menu-quantity-pill input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.menu-quantity-pill-active {
	border-color: #1356d8;
	background: linear-gradient(135deg, #eef4ff 0%, #f7f2ff 100%);
	color: #1356d8;
	box-shadow: 0 8px 18px rgba(19, 86, 216, 0.08);
}

.menu-quantity-select {
	min-height: 42px;
	border: 1px solid #d9e0ea;
	border-radius: 12px;
	padding: 0 12px;
	background: #fff;
	font-weight: 700;
}

.menu-quantity-select-active {
	border-color: #1356d8;
	background: linear-gradient(135deg, #eef4ff 0%, #f7f2ff 100%);
	color: #1356d8;
}

.menu-cart-footer {
	display: grid;
	gap: 12px;
}

.menu-cart-note {
	margin-bottom: 0;
}

.btn-wide {
	width: 100%;
}

.btn-disabled {
	pointer-events: none;
	background: #c9d3df;
	color: #65758a;
}

.notice {
	padding: 16px;
	border: 1px solid #ffd7ab;
	background: linear-gradient(135deg, #fff8ef 0%, #fffdf7 100%);
	border-radius: 12px;
	margin-bottom: 24px;
}

.notice-success {
	border-color: #a7e7b7;
	background: linear-gradient(135deg, #effcf2 0%, #f8fff9 100%);
}

.notice-error {
	border-color: #f3b1b1;
	background: linear-gradient(135deg, #fff1f1 0%, #fffaf9 100%);
}

.support-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 0 32px;
}

.site-footer {
	margin-top: 24px;
	background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
	border-top: 1px solid #e3e8ef;
}

.site-footer-inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	padding: 24px 0;
}

.site-footer h2 {
	margin-bottom: 8px;
}

.site-footer p {
	margin: 0;
	color: #5f6d7d;
	max-width: 60ch;
	line-height: 1.6;
}

.site-footer-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 220px;
}

.site-footer-links a {
	color: #1356d8;
	font-weight: 700;
}

.track-preview {
	display: grid;
	gap: 16px;
	margin-bottom: 16px;
}

.track-form {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.track-form label {
	min-width: 0;
}

.track-form input {
	width: 100%;
	min-width: 0;
}

.track-form > div {
	align-self: end;
}

.choice-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.choice-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 14px;
	border: 1px solid #d9e0ea;
	border-radius: 999px;
	background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
	cursor: pointer;
}

.choice-pill-active {
	border-color: #1356d8;
	background: linear-gradient(135deg, #eef4ff 0%, #f7f2ff 100%);
	box-shadow: 0 8px 18px rgba(19, 86, 216, 0.08);
}

.choice-pill input {
	margin: 0;
}

.checkout-panel {
	padding-top: 8px;
}

.address-book-panel {
	display: grid;
	gap: 12px;
}

.address-book-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 10px;
	align-items: center;
}

.address-book-actions {
	display: flex;
	justify-content: flex-end;
}

.saved-address-select {
	min-height: 42px;
	padding: 0 12px;
	border: 1px solid #d9e0ea;
	border-radius: 12px;
	background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
	width: 100%;
}

.saved-address-remember {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.checkout-form {
	display: grid;
	gap: 18px;
}

.order-items {
	display: grid;
	gap: 12px;
}

.order-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 10px;
	padding: 14px;
	border: 1px solid #d9e0ea;
	border-radius: 14px;
	background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
	cursor: pointer;
}

.order-item input {
	margin-top: 4px;
}

.order-item-body {
	display: grid;
	gap: 6px;
	min-width: 0;
}

.order-item-title {
	display: block;
	line-height: 1.2;
	word-break: break-word;
}

.order-item-category {
	font-size: 12px;
	font-weight: 700;
	color: #0063c0;
}

.order-item-text {
	margin: 0;
	line-height: 1.5;
	color: #526174;
}

.order-item-text-soft {
	color: #6c7787;
}

.order-item-disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.addon-card {
	padding: 14px;
	border: 1px solid #d9e0ea;
	border-radius: 14px;
	background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
	display: grid;
	gap: 12px;
}

.addon-card-inline {
	background: linear-gradient(135deg, #fbfcff 0%, #fff8ef 100%);
}

.addon-image {
	border-radius: 12px;
	overflow: hidden;
	background: linear-gradient(135deg, #eef3ff 0%, #fff5ea 100%);
	aspect-ratio: 16 / 10;
}

.addon-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.addon-switch {
	display: flex;
	align-items: center;
	gap: 12px;
	cursor: pointer;
}

.addon-switch input {
	margin-top: 2px;
}

.addon-switch span {
	display: grid;
	gap: 4px;
}

.addon-switch small {
	color: #6c7787;
	font-size: 12px;
}

.addon-qty {
	display: grid;
	gap: 6px;
}

.addon-size {
	display: grid;
	gap: 6px;
}

.addon-size span {
	font-size: 12px;
	font-weight: 700;
	color: #6c7787;
}

.addon-size select {
	width: 100%;
	min-height: 42px;
	padding: 0 12px;
	border: 1px solid #d9e0ea;
	border-radius: 10px;
	background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
	font-weight: 700;
}

.extras-details {
	padding: 14px 16px;
	border: 1px solid #d9e0ea;
	border-radius: 14px;
	background: linear-gradient(180deg, #ffffff 0%, #fffdf9 100%);
}

.extras-details > summary {
	list-style: none;
	cursor: pointer;
	display: grid;
	gap: 4px;
	font-weight: 700;
}

.extras-details > summary::-webkit-details-marker {
	display: none;
}

.extras-summary small {
	font-weight: 400;
	color: #5f6d7d;
}

.extras-body {
	padding-top: 16px;
	display: grid;
	gap: 14px;
}

.checkout-rating {
	display: grid;
	gap: 8px;
	padding: 14px;
	border: 1px solid #d9e0ea;
	border-radius: 14px;
	background: linear-gradient(180deg, #ffffff 0%, #fffdf9 100%);
}

.checkout-rating-stars {
	display: inline-flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: flex-start;
	gap: 4px;
}

.checkout-rating-stars input {
	display: none;
}

.checkout-rating-stars label {
	font-size: 28px;
	line-height: 1;
	color: #c8d2df;
	cursor: pointer;
	transition: color 0.15s ease, transform 0.15s ease;
}

.checkout-rating-stars label:hover,
.checkout-rating-stars label:hover ~ label,
.checkout-rating-stars input:checked ~ label {
	color: #ffb300;
}

.checkout-rating-stars label:hover {
	transform: translateY(-1px);
}

.rating-stars-static {
	display: inline-flex;
	gap: 2px;
	color: #c8d2df;
	font-size: 16px;
	line-height: 1;
	vertical-align: middle;
}

.rating-stars-static .is-filled {
	color: #ffb300;
}

.admin-cancel-reason[hidden] {
	display: none !important;
}

.extras-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.special-note {
	display: grid;
	gap: 8px;
}

.special-note textarea {
	width: 100%;
	min-height: 96px;
	resize: vertical;
}

@media (max-width: 900px) {
	.extras-grid {
		grid-template-columns: 1fr;
	}
}

.addon-qty span {
	font-size: 12px;
	font-weight: 700;
	color: #6c7787;
}

.addon-qty input {
	width: 120px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #d9e0ea;
	border-radius: 10px;
}

.order-item-meta {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 12px;
	color: #6c7787;
	margin: 0;
	min-width: 0;
}

.order-item-meta > span {
	min-width: 0;
}

.order-item-meta > strong {
	flex: 0 0 auto;
	white-space: nowrap;
}

.checkout-cart-qty {
	min-width: 72px;
	height: 34px;
	margin-left: 8px;
	padding: 0 10px;
	border: 1px solid #d9e0ea;
	border-radius: 10px;
	background: #fff;
}

.payment-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}

.payment-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border: 1px solid #d9e0ea;
	border-radius: 999px;
	background: #fff;
	cursor: pointer;
}

.payment-pill input {
	margin: 0;
}

.checkout-actions {
	display: flex;
	justify-content: flex-end;
}

.checkout-summary {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	padding: 16px;
	border-radius: 14px;
	background: #f7f9fc;
}

.checkout-summary div {
	padding: 12px 14px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #e6ecf4;
}

.checkout-summary span {
	display: block;
	font-size: 12px;
	color: #6c7787;
	margin-bottom: 6px;
}

.checkout-summary strong {
	font-size: 16px;
}

.mini-grid-form {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-grid-form label {
	display: grid;
	gap: 6px;
	padding: 14px;
	background: #f7f9fc;
	border-radius: 12px;
	align-self: start;
}

.mini-grid-form > div {
	padding: 14px;
	background: #f7f9fc;
	border-radius: 12px;
	align-self: start;
}

.mini-grid-form input,
.mini-grid-form textarea {
	width: 100%;
}

.admin-extra-image-field {
	grid-column: 1 / -1;
}

.admin-extra-size-field {
	grid-column: 1 / -1;
}

.admin-extras-form {
	display: grid;
	gap: 18px;
}

.admin-form-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.admin-form-head h2 {
	margin: 0 0 6px;
}

.admin-form-head p {
	margin: 0;
	color: #5f6d7d;
}

.admin-extras-list {
	display: grid;
	gap: 14px;
}

.admin-extra-row {
	padding: 14px;
	border: 1px solid #d9e0ea;
	border-radius: 14px;
	background: #fff;
	display: grid;
	gap: 12px;
}

.admin-extra-row-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.quantity-select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #d9e0ea;
	border-radius: 12px;
	background: #fff;
	font: inherit;
}

.section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 14px;
}

.panel-note {
	margin: 0 0 14px;
	color: #506070;
	line-height: 1.6;
}

.panel-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 14px;
}

.geo-summary {
	padding: 12px 14px;
	border: 1px solid #d9e0ea;
	border-radius: 12px;
	background: #f7f9fc;
	color: #36506c;
	min-height: 48px;
	display: flex;
	align-items: center;
}

.map-placeholder,
.checkout-map {
	height: 260px;
	border: 1px dashed #c7d1de;
	border-radius: 16px;
	background: linear-gradient(135deg, #f6f8fb, #edf2f8);
	display: grid;
	place-items: center;
	color: #8a97a8;
	font-weight: 700;
	letter-spacing: 0.1em;
}

.checkout-map {
	overflow: hidden;
	border-style: solid;
	background: #eef3f9;
	letter-spacing: 0;
}

.hidden {
	display: none !important;
}

.auth-shell {
	display: grid;
	place-items: center;
	min-height: calc(100vh - 140px);
}

.auth-card {
	width: min(560px, 100%);
}

.auth-form {
	display: grid;
	gap: 14px;
	margin-top: 16px;
}

.auth-form label {
	display: grid;
	gap: 6px;
}

.auth-form span {
	font-size: 13px;
	font-weight: 700;
}

.auth-form input {
	height: 44px;
	border: 1px solid #d9e0ea;
	border-radius: 10px;
	padding: 0 14px;
	font-size: 15px;
}

.auth-form select,
.auth-form textarea {
	border: 1px solid #d9e0ea;
	border-radius: 10px;
	padding: 12px 14px;
	font-size: 15px;
	font-family: inherit;
	background: #fff;
}

.mini-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	margin-top: 18px;
}

.mini-grid div {
	padding: 14px;
	background: #f7f9fc;
	border-radius: 12px;
}

.mini-grid .mini-grid-ok {
	background: #eefaf0;
	border: 1px solid #c8ebd0;
}

.mini-grid span {
	display: block;
	font-size: 12px;
	color: #6c7787;
	margin-bottom: 6px;
}

.mini-grid strong {
	font-size: 16px;
}

.success-layout {
	display: grid;
	grid-template-columns: 1.4fr 0.9fr;
	gap: 16px;
	padding-bottom: 40px;
}

.admin-order-grid {
	grid-template-columns: 1fr;
}

.admin-order-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0 8px;
}

.admin-order-card {
	display: grid;
	gap: 16px;
}

.admin-order-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.admin-order-total {
	padding: 12px 14px;
	border-radius: 14px;
	background: #eef4ff;
	color: #1356d8;
	min-width: 160px;
	text-align: right;
}

.admin-order-items {
	display: grid;
	gap: 10px;
}

.admin-order-item {
	padding: 12px 14px;
	border-radius: 12px;
	background: #f7f9fc;
}

.admin-order-item p {
	margin: 6px 0 0;
}

.admin-order-form {
	padding-top: 4px;
	border-top: 1px solid #e6ecf4;
}

.admin-order-inline {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr auto;
	gap: 12px;
	align-items: end;
}

.admin-order-inline label {
	display: grid;
	gap: 6px;
}

.admin-order-inline span {
	font-size: 12px;
	font-weight: 700;
	color: #6c7787;
}

.admin-order-inline select {
	height: 42px;
	border: 1px solid #d9e0ea;
	border-radius: 10px;
	padding: 0 12px;
	font-size: 14px;
	background: #fff;
}

.admin-order-save {
	display: flex;
	justify-content: flex-end;
}

.admin-order-gps {
	padding: 14px;
	border: 1px solid #dfe7f1;
	border-radius: 14px;
	background: #f8fbff;
	display: grid;
	gap: 12px;
}

.admin-order-gps-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.admin-order-gps-head p {
	margin: 4px 0 0;
	color: #6d7685;
	font-size: 14px;
}

.admin-order-gps-badge {
	padding: 8px 12px;
	border-radius: 999px;
	background: #eaf2ff;
	color: #1356d8;
	font-size: 12px;
	font-weight: 700;
}

.admin-order-gps-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.admin-order-gps-links .btn {
	text-decoration: none;
}

.courier-live-card {
	display: grid;
	gap: 16px;
}

.courier-live-grid {
	display: grid;
	grid-template-columns: minmax(280px, 360px) 1fr;
	gap: 16px;
	align-items: stretch;
}

.courier-live-coords {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 10px;
}

.courier-live-coords strong {
	padding: 10px 12px;
	border-radius: 10px;
	background: #eef4ff;
	color: #1356d8;
}

.courier-live-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 14px 0;
}

.courier-live-map {
	min-height: 380px;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid #dfe7f1;
}

.admin-stock-card {
	display: grid;
	gap: 16px;
}

.stock-table-wrap {
	overflow-x: auto;
}

.admin-stock-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 760px;
}

.admin-stock-table th,
.admin-stock-table td {
	padding: 14px 12px;
	border-bottom: 1px solid #e6ecf4;
	text-align: left;
	vertical-align: top;
}

.admin-stock-table th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #6c7787;
}

.admin-stock-table td strong {
	display: block;
	font-size: 15px;
}

.stock-subtext {
	margin-top: 6px;
	font-size: 12px;
	color: #6c7787;
}

.admin-stock-table input[type="number"] {
	width: 110px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #d9e0ea;
	border-radius: 10px;
	font-size: 14px;
}

.stock-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 42px;
	font-weight: 700;
}

.table-action-links {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.table-action-links a {
	font-weight: 700;
	color: #1f5fd0;
}

.success-card,
.success-side {
	display: grid;
	gap: 18px;
}

.success-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.success-kicker {
	margin: 0 0 8px;
	font-size: 12px;
	font-weight: 700;
	color: #6c7787;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.success-total {
	padding: 12px 14px;
	border-radius: 14px;
	background: #eef4ff;
	color: #1356d8;
	min-width: 160px;
	text-align: right;
}

.success-total span,
.success-summary span {
	display: block;
	font-size: 12px;
	color: #6c7787;
	margin-bottom: 4px;
}

.success-meta {
	display: block;
	margin-top: 4px;
	font-size: 12px;
	color: #6c7787;
}

.success-summary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	padding: 16px;
	background: #f7f9fc;
	border-radius: 14px;
}

.success-items {
	display: grid;
	gap: 12px;
}

.success-item {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	padding: 14px 0;
	border-top: 1px solid #e6ecf4;
}

.success-item p {
	margin: 4px 0 0;
}

.success-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (max-width: 900px) {
	.hero,
	.grid,
	.checkout-grid,
	.success-layout,
	.admin-order-inline {
		grid-template-columns: 1fr;
	}

	.topbar-inner {
		gap: 12px;
		flex-direction: column;
		align-items: flex-start;
	}

	.support-banner {
		flex-direction: column;
		align-items: flex-start;
	}

	.section-head {
		flex-direction: column;
		align-items: flex-start;
	}

	.mini-grid,
	.mini-grid-form,
	.checkout-summary,
	.courier-live-grid,
	.track-form {
		grid-template-columns: 1fr;
	}
}
