
:root {
	--restaurant-ink: #1f2937;
	--restaurant-muted: #4b5563;
	--restaurant-cream: #faf7f2;
	--restaurant-saffron: #d97706;
	--restaurant-red: #c2410c;
	--restaurant-border: #e5e7eb;
	--restaurant-card-bg: #ffffff;
	--restaurant-accent: #059669;
}

/* Ď;ę&YzÍ */
body.restaurant-menu-page .entry-header,
body.restaurant-menu-page .page-header,
body.restaurant-menu-page .storefront-sorting {
	display: none !important;
}

/* Menu Page Header Card */
.restaurant-menu-intro {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	max-width: 1200px;
	margin: 0 auto 24px;
	padding: 24px 28px;
	border: 1px solid #f1e4d3;
	border-radius: 16px;
	background: linear-gradient(135deg, #fffdfa 0%, #fbf3e8 100%);
	box-shadow: 0 4px 16px rgba(180, 110, 40, 0.06);
	color: var(--restaurant-ink);
}

.restaurant-menu-intro--footer {
	margin-top: 36px;
	margin-bottom: 20px;
	padding: 20px 24px;
}

.restaurant-menu-intro__copy h1 {
	margin: 4px 0 8px;
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 800;
	line-height: 1.2;
	color: #2c1810;
}

.restaurant-menu-intro__copy p {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: #6b584d;
}

.restaurant-menu-intro__details {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin-top: 14px;
	font-size: 13px;
	font-weight: 500;
	color: #6b584d;
}

.restaurant-eyebrow {
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: #b45309 !important;
}

.restaurant-menu-intro__badge {
	display: flex;
	flex: 0 0 auto;
	gap: 8px;
}

.restaurant-menu-intro__badge span {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 16px;
	border: 1px solid #e8d7c2;
	border-radius: 999px;
	background: #fff;
	font-size: 13px;
	font-weight: 700;
	color: #9a3412;
	box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

/* Category Sticky Navigation */
.restaurant-menu-shortcode {
	max-width: 1200px;
	margin: 0 auto;
}

.restaurant-menu-category-nav {
	position: sticky;
	top: 10px;
	z-index: 10;
	margin: 0 0 24px;
	padding: 8px 12px;
	border: 1px solid rgba(229, 231, 235, 0.8);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.restaurant-menu-category-nav ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.restaurant-menu-category-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	background: #f9fafb;
	color: #374151;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	transition: all 0.2s ease;
}

.restaurant-menu-category-nav a:hover,
.restaurant-menu-category-nav a:focus {
	border-color: #d97706;
	background: #fffbeb;
	color: #b45309;
}

.restaurant-menu-section {
	margin: 0 0 42px;
	scroll-margin-top: 76px;
}

.restaurant-menu-section > h2 {
	margin: 0 0 18px;
	padding-bottom: 8px;
	border-bottom: 2px solid #f3f4f6;
	color: #1f2937;
	font-size: clamp(20px, 2.4vw, 26px);
	font-weight: 800;
}

/* ==========================================================================
   PRODUCT GRID & CARDS (High-End Restaurant Style)
   ========================================================================== */
.woocommerce ul.products,
.site-main ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)) !important;
	gap: 20px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.woocommerce ul.products li.product,
.site-main ul.products li.product {
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	position: relative !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 1px solid #f1f1f4 !important;
	border-radius: 16px !important;
	background: #ffffff !important;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
	overflow: hidden !important;
	text-align: left !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.woocommerce ul.products li.product:hover,
.site-main ul.products li.product:hover {
	transform: translateY(-3px) !important;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
	border-color: #fde68a !important;
}

/* Card Link wrapper */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	display: flex !important;
	flex-direction: column !important;
	flex: 1 1 auto !important;
	text-decoration: none !important;
	color: inherit !important;
	padding-bottom: 12px !important;
}

/* Dish Image - 16:10 Appetite Filling */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link img {
	width: 100% !important;
	height: 190px !important;
	object-fit: cover !important;
	border-radius: 0 !important;
	margin: 0 !important;
	display: block !important;
	background: #f9fafb !important;
	transition: transform 0.3s ease !important;
}

.woocommerce ul.products li.product:hover a.woocommerce-LoopProduct-link img {
	transform: scale(1.03) !important;
}

/* Primary Title (Norwegian) */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	margin: 14px 16px 4px !important;
	padding: 0 !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
	color: #111827 !important;
	min-height: auto !important;
}

/* Sub-names: English secondary + Chinese */
.restaurant-menu-subnames {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	margin: 2px 16px 8px;
	font-size: 13px;
	line-height: 1.3;
}

.restaurant-menu-subname-en {
	color: #6b7280;
	font-style: italic;
	font-weight: 500;
}

.restaurant-menu-subname-zh {
	color: #9ca3af;
	font-weight: 400;
}

/* Description / Ingredients snippet */
.restaurant-menu-desc {
	margin: 0 16px 10px !important;
	font-size: 13px !important;
	line-height: 1.45 !important;
	color: #4b5563 !important;
	display: -webkit-box !important;
	-webkit-line-clamp: 2 !important;
	-webkit-box-orient: vertical !important;
	overflow: hidden !important;
}

/* Price Display */
.woocommerce ul.products li.product .price {
	margin: 0 16px 10px !important;
	padding: 0 !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	color: #b45309 !important;
	display: flex !important;
	align-items: baseline !important;
	gap: 4px !important;
}

.woocommerce ul.products li.product .price .woocommerce-Price-currencySymbol {
	font-size: 14px !important;
	font-weight: 700 !important;
	color: #d97706 !important;
}

/* Badges / Chips: Portion, Allergen, Spice, Dietary */
.restaurant-menu-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0 16px 6px;
	font-size: 12px;
}

.restaurant-menu-badge {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 8px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1;
}

.restaurant-menu-badge--portion {
	background: #f3f4f6;
	color: #4b5563;
	border: 1px solid #e5e7eb;
}

.restaurant-menu-badge--dietary {
	background: #ecfdf5;
	color: #065f46;
	border: 1px solid #a7f3d0;
}

.restaurant-menu-badge--spice {
	background: #fff7ed;
	color: #9a3412;
	border: 1px solid #fed7aa;
}

.restaurant-menu-badge--allergen {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
	font-weight: 500;
}

/* ==========================================================================
   BUTTON & STEPPER INTERACTION
   ========================================================================== */
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce ul.products li.product a.button {
	margin: 6px 16px 16px !important;
	padding: 10px 18px !important;
	border: none !important;
	border-radius: 10px !important;
	background: #d97706 !important;
	color: #ffffff !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	text-align: center !important;
	width: calc(100% - 32px) !important;
	max-width: none !important;
	cursor: pointer !important;
	box-shadow: 0 3px 8px rgba(217, 119, 6, 0.25) !important;
	transition: background 0.15s ease, transform 0.1s ease !important;
}

.woocommerce ul.products li.product .button.add_to_cart_button:hover,
.woocommerce ul.products li.product a.button:hover {
	background: #b45309 !important;
	transform: translateY(-1px) !important;
}

.woocommerce ul.products li.product .button.add_to_cart_button:active,
.woocommerce ul.products li.product a.button:active {
	transform: translateY(1px) !important;
}

/* Modern Pill Stepper */
.woocommerce ul.products li.product .product-qty-stepper {
	display: none;
	align-items: center;
	justify-content: space-between;
	margin: 6px 16px 16px !important;
	padding: 4px !important;
	background: #fef3c7 !important;
	border: 1px solid #f59e0b !important;
	border-radius: 10px !important;
	box-shadow: 0 2px 6px rgba(245, 158, 11, 0.15) !important;
}

.woocommerce ul.products li.product .product-qty-stepper.visible {
	display: flex !important;
}

.product-qty-stepper .qty-btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 32px !important;
	height: 32px !important;
	padding: 0 !important;
	border: none !important;
	border-radius: 8px !important;
	background: #ffffff !important;
	color: #b45309 !important;
	font-size: 18px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	cursor: pointer !important;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
	transition: background 0.1s ease !important;
}

.product-qty-stepper .qty-btn:hover {
	background: #fffbeb !important;
}

.product-qty-stepper .qty-num {
	font-size: 15px !important;
	font-weight: 800 !important;
	color: #78350f !important;
	min-width: 24px !important;
	text-align: center !important;
}

.product-qty-stepper .qty-total {
	font-size: 12px !important;
	font-weight: 700 !important;
	color: #92400e !important;
	padding-right: 6px !important;
}

/* ==========================================================================
   FLOATING BOTTOM CART BAR (Food Delivery Style)
   ========================================================================== */
.restaurant-floating-cart-bar {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%) translateY(120%);
	z-index: 9999;
	width: calc(100% - 32px);
	max-width: 540px;
	opacity: 0;
	pointer-events: none;
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.restaurant-floating-cart-bar.is-active {
	transform: translateX(-50%) translateY(0);
	opacity: 1;
	pointer-events: auto;
}

.restaurant-floating-cart-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px 14px 10px 16px;
	border-radius: 16px;
	background: #111827;
	color: #ffffff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.15);
}

.restaurant-floating-cart-info {
	display: flex;
	align-items: center;
	gap: 12px;
}

.restaurant-floating-cart-badge {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	background: #d97706;
	color: #ffffff;
	font-weight: 800;
	font-size: 15px;
}

.restaurant-floating-cart-meta {
	display: flex;
	flex-direction: column;
}

.restaurant-floating-cart-title {
	font-size: 11px;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #9ca3af;
}

.restaurant-floating-cart-amount {
	font-size: 16px;
	font-weight: 800;
	color: #fef3c7;
}

.restaurant-floating-cart-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	border-radius: 10px;
	background: #d97706;
	color: #ffffff !important;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none !important;
	box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
	transition: background 0.15s ease;
}

.restaurant-floating-cart-btn:hover {
	background: #b45309;
}

/* Notice Bar */
.restaurant-order-notice {
	max-width: 1200px;
	box-sizing: border-box;
	margin: 0 auto 20px;
	padding: 14px 18px;
	border-left: 4px solid var(--restaurant-saffron);
	border-radius: 10px;
	background: #fffbeb;
	color: #92400e;
	font-size: 14px;
	line-height: 1.5;
}

.restaurant-order-notice strong {
	color: #78350f;
}

/* Mobile Responsiveness */
@media (max-width: 640px) {
	.woocommerce ul.products,
	.site-main ul.products {
		grid-template-columns: 1fr !important;
		gap: 16px !important;
		padding: 0 10px !important;
	}

	.restaurant-menu-intro {
		margin: 0 10px 18px;
		padding: 18px 16px;
		flex-direction: column;
		align-items: flex-start;
	}

	.restaurant-menu-category-nav {
		margin: 0 10px 18px;
		top: 6px;
	}

	.restaurant-menu-section {
		padding: 0 10px;
	}

	.restaurant-floating-cart-bar {
		bottom: 12px;
		width: calc(100% - 20px);
	}
}
