:root {
	--slate-950: #030712;
	--slate-900: #0f172a;
	--slate-700: #1e293b;
	--slate-200: #e2e8f0;
	--slate-100: #f1f5f9;
	--primary-500: #f97316;
	--primary-600: #ea580c;
	--accent-500: #14b8a6;
}

body {
	background:
		radial-gradient(circle at 5% 15%, rgba(20, 184, 166, 0.2), rgba(20, 184, 166, 0) 40%),
		radial-gradient(circle at 95% 85%, rgba(249, 115, 22, 0.22), rgba(249, 115, 22, 0) 50%),
		linear-gradient(135deg, #f8fafc 0%, #e0e7ff 50%, #fef3c7 100%);
	color: var(--slate-900);
	min-height: 100vh;
	font-family: 'Segoe UI', Tahoma, sans-serif;
}

.card {
	border: none;
	border-radius: 1.25rem;
	box-shadow: 0 24px 48px rgba(15, 23, 42, 0.12);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.88) 100%);
	backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.4);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
	transform: translateY(-2px);
	box-shadow: 0 28px 56px rgba(15, 23, 42, 0.16);
}

.card > .card-body {
	padding: 2rem;
}

.navbar {
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 41, 59, 0.92) 100%) !important;
	backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 8px 32px rgba(15, 23, 42, 0.3);
}

.navbar .btn-outline-light {
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff;
	background-color: rgba(255, 255, 255, 0.06);
}

.navbar .btn-outline-light:hover,
.navbar .btn-outline-light:focus {
	background-color: rgba(255, 255, 255, 0.18);
	border-color: rgba(255, 255, 255, 0.6);
}

.navbar .btn-outline-light.active {
	background-color: #fff;
	color: var(--slate-900);
	border-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

.navbar-brand {
	font-weight: 700;
	letter-spacing: 0.02em;
}

.menu-hero {
	position: relative;
	border-radius: 2rem;
	padding: clamp(2.75rem, 3.5vw, 4rem);
	background-size: cover;
	background-position: center;
	color: #fff;
	box-shadow: 0 32px 64px rgba(15, 23, 42, 0.28);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.18);
}

.menu-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at top right, rgba(252, 211, 77, 0.18), transparent 55%);
	opacity: 0.6;
}

.menu-hero__content {
	position: relative;
	z-index: 1;
	max-width: 640px;
}

.menu-hero__kicker {
	display: inline-block;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 0.8rem;
}

.menu-hero__title {
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	font-weight: 700;
	margin-bottom: 1rem;
}

.menu-hero__subtitle {
	font-size: 1.125rem;
	color: rgba(248, 250, 252, 0.86);
	margin-bottom: 2rem;
	max-width: 540px;
}

.menu-hero__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-bottom: 2rem;
}

.stat-chip {
	background: rgba(15, 23, 42, 0.35);
	border: 1px solid rgba(248, 250, 252, 0.35);
	border-radius: 999px;
	padding: 0.75rem 1.25rem;
	min-width: 118px;
}

.stat-chip__value {
	display: block;
	font-weight: 700;
	font-size: 1.125rem;
}

.stat-chip__label {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgba(248, 250, 252, 0.7);
}

.menu-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.menu-hero__actions .btn {
	border-radius: 999px;
	padding-inline: 1.75rem;
}

.menu-hero__actions .btn-outline-light {
	border-color: rgba(255, 255, 255, 0.45);
}

.menu-hero__actions .btn-outline-light:hover,
.menu-hero__actions .btn-outline-light:focus {
	border-color: rgba(255, 255, 255, 0.75);
	background-color: rgba(255, 255, 255, 0.12);
}

.category-pills {
	display: flex;
	gap: 0.75rem;
	overflow-x: auto;
	padding-bottom: 0.5rem;
	margin-bottom: 1.5rem;
	scroll-snap-type: x mandatory;
}

.category-pills::-webkit-scrollbar {
	height: 6px;
}

.category-pills::-webkit-scrollbar-thumb {
	background: rgba(15, 23, 42, 0.2);
	border-radius: 999px;
}

.category-pill {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding: 0.95rem 1.5rem;
	border-radius: 1.75rem;
	border: 1px solid rgba(15, 23, 42, 0.08);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.75) 100%);
	color: var(--slate-700);
	text-decoration: none;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	scroll-snap-align: start;
	backdrop-filter: blur(8px);
}

.category-pill__name {
	font-weight: 600;
	font-size: 0.95rem;
}

.category-pill__count {
	font-size: 0.75rem;
	color: rgba(15, 23, 42, 0.55);
}

.category-pill:hover,
.category-pill:focus {
	transform: translateY(-5px) scale(1.02);
	box-shadow: 0 20px 36px rgba(15, 23, 42, 0.18);
	border-color: rgba(249, 115, 22, 0.25);
}

.category-pill--active {
	background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-700) 100%);
	color: #f8fafc;
	border-color: rgba(248, 250, 252, 0.35);
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.35);
}

.category-pill--active .category-pill__count {
	color: rgba(248, 250, 252, 0.72);
}

.product-card {
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid rgba(255, 255, 255, 0.5);
}

.product-card:hover,
.product-card:focus-within {
	transform: translateY(-6px) scale(1.01);
	box-shadow: 0 32px 56px rgba(15, 23, 42, 0.22);
	border-color: rgba(249, 115, 22, 0.3);
}

.product-card__image {
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.02));
	display: block;
}

.product-card__image:focus {
	outline-offset: -4px;
	outline: 2px solid rgba(13, 110, 253, 0.65);
}

.product-card__image:hover img,
.product-card__image:focus img {
	transform: scale(1.02);
}

.product-card__image img {
	transition: transform 0.3s ease;
}

.product-card__placeholder {
	background: linear-gradient(135deg, rgba(148, 163, 184, 0.25), rgba(226, 232, 240, 0.4));
	color: rgba(15, 23, 42, 0.6);
	text-align: center;
}

.product-card__placeholder-icon {
	font-size: 1.75rem;
	margin-bottom: 0.35rem;
}

.product-card__placeholder-text {
	font-size: 0.85rem;
	font-weight: 600;
}

.product-card__body {
	position: relative;
}

.product-card__price {
	font-weight: 700;
	font-size: 0.95rem;
}

.product-card__category {
	font-size: 0.68rem;
	letter-spacing: 0.12em;
}

.product-card__description {
	line-height: 1.6;
}

.product-card__cta {
	border-radius: 0.75rem;
	font-weight: 600;
	padding: 0.85rem 1.2rem;
	box-shadow: 0 12px 24px rgba(13, 110, 253, 0.25);
}

.product-card__cta:hover,
.product-card__cta:focus {
	box-shadow: 0 18px 32px rgba(13, 110, 253, 0.3);
}

.btn-primary {
	background: var(--primary-500);
	border-color: var(--primary-500);
	box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary:hover,
.btn-primary:focus {
	background: var(--primary-600);
	border-color: var(--primary-600);
	transform: translateY(-2px);
	box-shadow: 0 18px 32px rgba(234, 88, 12, 0.32);
}

.btn {
	border-radius: 0.85rem;
	padding: 0.65rem 1.5rem;
	font-weight: 600;
}

.btn-lg {
	border-radius: 1rem;
	padding: 0.9rem 2rem;
}

.btn-outline-primary {
	border: 1px solid rgba(13, 110, 253, 0.35);
	color: #0d6efd;
	background: rgba(13, 110, 253, 0.08);
	box-shadow: 0 12px 22px rgba(13, 110, 253, 0.18);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
	border-color: rgba(13, 110, 253, 0.55);
	transform: translateY(-2px);
	box-shadow: 0 18px 30px rgba(13, 110, 253, 0.24);
	background: rgba(13, 110, 253, 0.12);
}

.btn-outline-secondary {
	border: 1px solid rgba(15, 23, 42, 0.16);
	color: var(--slate-700);
	background: rgba(255, 255, 255, 0.82);
	box-shadow: 0 12px 22px rgba(15, 23, 42, 0.09);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
	border-color: rgba(15, 23, 42, 0.28);
	transform: translateY(-2px);
	box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
	background: rgba(248, 250, 252, 0.9);
}

.btn-outline-light {
	border: 1px solid rgba(255, 255, 255, 0.55);
	color: #fff;
	box-shadow: 0 10px 20px rgba(15, 23, 42, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
	background: rgba(255, 255, 255, 0.15);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 16px 28px rgba(15, 23, 42, 0.28);
}

.btn-success {
	background: var(--accent-500);
	border-color: var(--accent-500);
	box-shadow: 0 12px 24px rgba(20, 184, 166, 0.25);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-success:hover,
.btn-success:focus {
	background: #0d9488;
	border-color: #0d9488;
	transform: translateY(-2px);
	box-shadow: 0 18px 32px rgba(13, 148, 136, 0.3);
}

.btn-link {
	color: var(--primary-500);
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.btn-link:hover,
.btn-link:focus {
	color: var(--primary-600);
	text-decoration: underline;
}

.cart-table {
	border-collapse: separate;
	border-spacing: 0;
}

.quantity-control {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	background: rgba(15, 23, 42, 0.04);
	padding: 0.35rem 0.5rem;
	border-radius: 999px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	min-width: 120px;
	justify-content: center;
}

.quantity-control__btn {
	width: 34px;
	height: 34px;
	border-radius: 999px;
	border: none;
	background: var(--slate-900);
	color: #fff;
	font-size: 1.35rem;
	line-height: 1;
	padding: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.quantity-control__btn:hover,
.quantity-control__btn:focus {
	background: #1e293b;
	box-shadow: 0 8px 16px rgba(15, 23, 42, 0.18);
	transform: translateY(-1px);
}

.quantity-control__btn:active {
	transform: scale(0.94);
}

.quantity-control__input {
	width: 64px;
	text-align: center;
	border: none;
	background: transparent;
	font-weight: 600;
	font-size: 1rem;
	color: var(--slate-900);
	outline: none;
	appearance: textfield;
	-moz-appearance: textfield;
}

.cart-table__cell--quantity .quantity-control {
	margin-left: auto;
	margin-right: auto;
}

.quantity-control__input::-webkit-inner-spin-button,
.quantity-control__input::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

@media (max-width: 576px) {
	.cart-table {
		display: block;
		width: 100%;
	}

	.cart-table thead {
		display: none;
	}

	.cart-table tbody {
		display: block;
	}

	.cart-table tbody tr {
		display: block;
		background: rgba(255, 255, 255, 0.92);
		border-radius: 1.25rem;
		padding: 1.1rem 1rem;
		margin-bottom: 1.1rem;
		box-shadow: 0 14px 30px rgba(15, 23, 42, 0.13);
	}

	.cart-table__cell {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 0.75rem;
		padding: 0.45rem 0 !important;
		text-align: left !important;
	}

	.cart-table__cell--image {
		justify-content: flex-start;
		padding-top: 0 !important;
		padding-bottom: 0.6rem !important;
	}

	.cart-table__cell--image img {
		width: 96px;
		height: 72px;
		object-fit: cover;
		border-radius: 0.85rem;
	}

	.cart-table__cell--name {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.35rem;
		padding-top: 0 !important;
	}

	.cart-table__cell--quantity {
		justify-content: center;
	}

	.cart-table__cell--unit,
	.cart-table__cell--total {
		font-size: 0.95rem;
		color: rgba(15, 23, 42, 0.72);
	}

	.cart-table__cell--actions {
		justify-content: flex-end;
		padding-bottom: 0 !important;
	}

	.cart-table tbody td[data-label]::before {
		content: attr(data-label);
		font-size: 0.7rem;
		letter-spacing: 0.08em;
		text-transform: uppercase;
		color: rgba(15, 23, 42, 0.55);
		margin-right: auto;
	}

	.quantity-control {
		width: auto;
		justify-content: center;
		padding: 0.45rem 0.6rem;
	}

	.quantity-control__input {
		width: 54px;
		margin: 0;
	}

	.quantity-control__btn {
		width: 36px;
		height: 36px;
		font-size: 1.25rem;
	}
}

.badge.text-bg-light {
	color: #0f172a;
	background: rgba(15, 23, 42, 0.08);
}

.btn-link {
	text-decoration: none;
}

.list-group-item {
	border: none;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.list-group-item:last-child {
	border-bottom: none;
}

.admin-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-bottom: 1.75rem;
	padding: 0.5rem;
	background: rgba(255, 255, 255, 0.7);
	border-radius: 1.25rem;
	backdrop-filter: blur(8px);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.admin-nav a {
	text-decoration: none;
	padding: 0.65rem 1.4rem;
	border-radius: 999px;
	background: transparent;
	color: var(--slate-700);
	font-weight: 600;
	font-size: 0.95rem;
	transition: all 0.2s ease;
	position: relative;
}

.admin-nav a:hover,
.admin-nav a:focus {
	background: var(--primary-500);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(249, 115, 22, 0.3);
}

.admin-nav a.active {
	background: var(--slate-900);
	color: #fff;
	box-shadow: 0 6px 16px rgba(15, 23, 42, 0.25);
}

.category-card {
	position: relative;
	color: #fff;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	text-decoration: none;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	min-height: 100%;
}

.category-card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(15, 23, 42, 0.75) 100%);
	opacity: 1;
	transition: opacity 0.3s ease;
}

.category-card:hover,
.category-card:focus {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px rgba(15, 23, 42, 0.2);
}

.category-card:hover::after,
.category-card:focus::after {
	opacity: 0.85;
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.category-card .card-body {
	position: relative;
	z-index: 1;
	color: #fff;
	background-color: transparent;
	min-height: 220px;
}

.category-card__desc {
	color: rgba(248, 250, 252, 0.85);
}

.category-card__badge {
	background: rgba(248, 250, 252, 0.9);
	color: #0f172a;
}

.table-light {
	background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.9) 100%);
	border-bottom: 2px solid rgba(15, 23, 42, 0.1);
}

.table-light th {
	font-weight: 700;
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	color: var(--slate-700);
	padding: 1rem 0.75rem;
}

.table tbody tr {
	transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
	border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.table tbody tr:hover {
	background: linear-gradient(90deg, rgba(249, 115, 22, 0.06) 0%, rgba(249, 115, 22, 0.02) 100%);
	transform: translateX(4px);
	box-shadow: -4px 0 0 0 var(--primary-500);
}

.alert {
	border-radius: 1rem;
	border: none;
	backdrop-filter: blur(8px);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.alert-success {
	background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(16, 185, 129, 0.12) 100%);
	color: #065f46;
	border-left: 4px solid var(--accent-500);
}

.alert-info {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%);
	color: #1e40af;
	border-left: 4px solid #3b82f6;
}

.alert-warning {
	background: linear-gradient(135deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.12) 100%);
	color: #92400e;
	border-left: 4px solid #f59e0b;
}

.display-6 {
	font-weight: 700;
	background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-700) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.form-control,
.form-select {
	border-radius: 0.75rem;
	border: 1px solid rgba(15, 23, 42, 0.12);
	padding: 0.75rem 1rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
	background: rgba(255, 255, 255, 0.9);
}

.form-control:focus,
.form-select:focus {
	border-color: var(--primary-500);
	box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.12);
	background: #fff;
}

.form-label {
	font-weight: 600;
	color: var(--slate-700);
	font-size: 0.9rem;
	margin-bottom: 0.5rem;
}

.form-check-input:checked {
	background-color: var(--accent-500);
	border-color: var(--accent-500);
}

.badge {
	border-radius: 999px;
	padding: 0.35rem 0.85rem;
	font-weight: 600;
	font-size: 0.75rem;
	letter-spacing: 0.02em;
}
