/**
 * Food.Voto storefront Theme 3
 *
 * Mobile-first restaurant and venue ordering skin. Existing Store.Voto
 * commerce behavior remains the source of truth for catalog and checkout.
 */

body.theme-3 {
	--food-accent: #f26a21;
	--food-accent-dark: #d94f0d;
	--food-cream: #fff7ed;
	--food-cream-deep: #f8eadb;
	--food-ink: #111827;
	--food-navy: #101827;
	--food-panel: #ffffff;
	--food-line: #ead8c5;
	--food-muted: #6b625c;
	--primary: var(--food-accent);
	--primary-dark: var(--food-accent-dark);
	--bg: var(--food-cream);
	--card-bg: var(--food-panel);
	background: var(--food-cream);
	background-image:
		radial-gradient(circle at 8% 4%, rgba(242, 106, 33, .1), transparent 24rem),
		linear-gradient(180deg, #fffaf4 0, var(--food-cream) 32rem);
	color: var(--food-ink);
	padding-bottom: 94px;
}

body.theme-3.food-dark {
	--food-cream: #090c12;
	--food-cream-deep: #121720;
	--food-ink: #f8fafc;
	--food-navy: #0b1220;
	--food-panel: #151a21;
	--food-line: #2c333d;
	--food-muted: #aeb5bf;
	background: #090c12;
	background-image:
		radial-gradient(circle at 10% 2%, rgba(242, 106, 33, .11), transparent 23rem),
		linear-gradient(180deg, #0b0e14, #090c12);
}

body.theme-3 header {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	gap: 12px;
	padding: 13px max(16px, calc((100% - 1180px) / 2));
	background: rgba(16, 24, 39, .98);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	box-shadow: 0 8px 30px rgba(15, 23, 42, .16);
}

body.theme-3 .header-brand {
	max-width: none;
	color: #fff;
}

body.theme-3 .store-logo {
	width: 44px;
	height: 44px;
	border: 2px solid rgba(255, 255, 255, .16);
	border-radius: 50%;
	box-shadow: none;
}

body.theme-3 header h1 {
	background: none;
	color: #fff;
	-webkit-text-fill-color: currentColor;
	font-size: clamp(1.05rem, 3.8vw, 1.35rem);
	line-height: 1.15;
	letter-spacing: -.02em;
}

body.theme-3 .desktop-nav {
	gap: 8px;
}

body.theme-3 .desktop-nav > a,
body.theme-3 .desktop-nav .nav-dropdown-toggle {
	color: #e5e7eb;
	font-size: .9rem;
}

body.theme-3 .desktop-nav > a:hover {
	color: #fff;
}

body.theme-3 .nav-cart-link,
body.theme-3 .mobile-header-cart {
	border: 1px solid rgba(255, 255, 255, .18);
	background: rgba(255, 255, 255, .08);
	color: #fff;
}

body.theme-3 .hamburger {
	border-color: rgba(255, 255, 255, .22);
	background: rgba(255, 255, 255, .08);
	color: #fff;
}

.food-theme-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	cursor: pointer;
	font: 800 1rem/1 system-ui, sans-serif;
}

body.theme-3 .food-theme-toggle {
	display: inline-flex;
}

.food-venue-context {
	display: none;
}

body.theme-3 .food-venue-context {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 12px;
	width: min(calc(100% - 32px), 1180px);
	margin: 16px auto 0;
	padding: 14px;
	border: 1px solid var(--food-line);
	border-radius: 18px;
	background: color-mix(in srgb, var(--food-panel) 94%, transparent);
	box-shadow: 0 12px 34px rgba(15, 23, 42, .09);
}

.food-venue-mark {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 14px;
	background: var(--food-accent);
	color: #fff;
	font-weight: 900;
}

.food-venue-copy {
	min-width: 0;
}

.food-venue-copy strong,
.food-venue-copy span {
	display: block;
}

.food-venue-copy strong {
	color: var(--food-ink);
	font-size: .98rem;
	line-height: 1.2;
}

.food-venue-copy span {
	margin-top: 3px;
	overflow: hidden;
	color: var(--food-muted);
	font-size: .8rem;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.food-venue-service {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 13px;
	border: 1px solid color-mix(in srgb, var(--food-accent) 60%, var(--food-line));
	border-radius: 999px;
	color: var(--food-accent-dark);
	font-size: .78rem;
	font-weight: 900;
	white-space: nowrap;
}

body.theme-3 .hero,
body.theme-3 .hero-slider,
body.theme-3 .social-proof-section,
body.theme-3 .store-reels-section,
body.theme-3 .middle-home-banner {
	border-color: var(--food-line);
	border-radius: 20px;
	background-color: var(--food-panel);
	box-shadow: 0 12px 32px rgba(15, 23, 42, .08);
}

body.theme-3 .container {
	width: min(calc(100% - 32px), 1180px);
	max-width: none;
	padding-inline: 0;
}

body.theme-3 .search-sort-bar {
	border-color: var(--food-line);
	background: var(--food-panel);
	box-shadow: none;
}

body.theme-3 .search-sort-bar input,
body.theme-3 .search-sort-bar select {
	color: var(--food-ink);
	background-color: var(--food-panel);
	border-color: var(--food-line);
}

body.theme-3 .category-showcase {
	margin-top: 18px;
	padding: 14px;
	border: 1px solid var(--food-line);
	border-radius: 20px;
	background: var(--food-navy);
	box-shadow: 0 16px 36px rgba(15, 23, 42, .14);
}

body.theme-3 .category-showcase-head h2 {
	color: #fff;
	font-size: 1rem;
	letter-spacing: -.01em;
}

body.theme-3 .category-showcase-head a {
	color: #ffb77f;
}

body.theme-3 .category-scroll-btn {
	background: rgba(255, 255, 255, .1);
	color: #fff;
	border-color: rgba(255, 255, 255, .12);
}

body.theme-3 .category-strip {
	gap: 10px;
	padding-bottom: 2px;
}

body.theme-3 .category-tile {
	min-width: 86px;
	padding: 8px 7px;
	gap: 7px;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 15px;
	background: rgba(255, 255, 255, .06);
	color: #fff;
}

body.theme-3 .category-tile:hover,
body.theme-3 .category-tile:focus-visible {
	border-color: var(--food-accent);
	background: rgba(242, 106, 33, .12);
}

body.theme-3 .category-thumb {
	width: 54px;
	height: 54px;
	border: 2px solid rgba(255, 255, 255, .12);
}

body.theme-3 .category-name {
	color: #f8fafc;
	font-size: .75rem;
	font-weight: 800;
}

body.theme-3 .product-showcase-head {
	margin-top: 26px;
}

body.theme-3 .product-showcase-head h2 {
	color: var(--food-ink);
	font-size: clamp(1.45rem, 4vw, 2.1rem);
	letter-spacing: -.035em;
}

body.theme-3 .products-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

body.theme-3 .product-card {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--food-line);
	border-radius: 18px;
	background: var(--food-panel);
	box-shadow: 0 10px 26px rgba(15, 23, 42, .07);
	animation: none;
	opacity: 1;
	transform: none;
}

body.theme-3 .product-card:hover {
	border-color: color-mix(in srgb, var(--food-accent) 46%, var(--food-line));
	box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
	transform: translateY(-2px);
}

body.theme-3 .product-img {
	width: 100%;
	height: 220px;
	border-radius: 0;
	object-fit: cover;
}

body.theme-3 .product-info {
	padding: 16px;
}

body.theme-3 .product-info h3 {
	color: var(--food-ink);
	font-size: 1.05rem;
	line-height: 1.25;
}

body.theme-3 .product-desc {
	display: -webkit-box;
	overflow: hidden;
	color: var(--food-muted);
	font-size: .86rem;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

body.theme-3 .price {
	color: var(--food-ink);
	font-size: 1.2rem;
	font-weight: 900;
}

.food-type-badge {
	display: none;
}

body.theme-3 .food-type-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	width: fit-content;
	margin-bottom: 8px;
	color: #15803d;
	font-size: .72rem;
	font-weight: 900;
	text-transform: uppercase;
}

body.theme-3 .food-type-badge::before {
	content: "";
	width: 10px;
	height: 10px;
	border: 2px solid currentColor;
	border-radius: 2px;
	background: radial-gradient(circle, currentColor 0 3px, transparent 3px);
}

body.theme-3 .food-type-badge.non-veg {
	color: #dc2626;
}

body.theme-3 .checkout-buttons {
	margin-top: 12px;
}

body.theme-3 #productsGrid .checkout-buttons .btn-wa,
body.theme-3 #productsGrid .checkout-buttons .btn-cod,
body.theme-3 #productsGrid .checkout-buttons .btn-online,
body.theme-3 #productsGrid .checkout-buttons .btn-unavailable {
	display: none;
}

body.theme-3 .btn-cart,
body.theme-3 .btn-view,
body.theme-3 .store-pagination-btn {
	min-height: 44px;
	border: 0;
	border-radius: 12px;
	background: var(--food-accent);
	color: #fff;
	box-shadow: none;
	font-weight: 900;
}

body.theme-3 .btn-cart:hover,
body.theme-3 .btn-view:hover {
	background: var(--food-accent-dark);
}

body.theme-3 .bulk-discount {
	width: fit-content;
	border: 0;
	border-radius: 999px;
	background: #dcfce7;
	color: #15803d;
	font-size: .72rem;
	font-weight: 900;
}

body.theme-3 .cart-dock {
	left: 50%;
	right: auto;
	bottom: max(12px, env(safe-area-inset-bottom));
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	width: min(calc(100% - 24px), 620px);
	min-height: 66px;
	padding: 9px 10px 9px 14px;
	border: 1px solid rgba(255, 255, 255, .2);
	border-radius: 18px;
	background: linear-gradient(135deg, var(--food-accent), #ff812f);
	color: #fff;
	box-shadow: 0 18px 42px rgba(120, 48, 8, .34);
	transform: translateX(-50%);
}

body.theme-3 .cart-dock::before {
	content: "Cart";
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 13px;
	background: rgba(255, 255, 255, .16);
	font-size: .72rem;
}

.food-cart-copy {
	display: none;
}

body.theme-3 .food-cart-copy {
	display: grid;
	min-width: 0;
}

.food-cart-copy small {
	color: rgba(255, 255, 255, .82);
	font-size: .7rem;
	font-weight: 700;
}

.food-cart-copy strong {
	overflow: hidden;
	font-size: 1.05rem;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.theme-3 .cart-dock .cart-count {
	position: static;
	display: inline-grid;
	place-items: center;
	min-width: 38px;
	height: 38px;
	border-radius: 11px;
	background: #fff;
	color: var(--food-accent-dark);
	font-weight: 900;
}

body.theme-3 .whatsapp-float {
	right: 14px;
	bottom: 94px;
	width: 48px;
	height: 48px;
}

body.theme-3 footer {
	margin-bottom: 34px;
	background: var(--food-navy);
	color: #cbd5e1;
}

body.theme-3 footer a,
body.theme-3 footer strong {
	color: #fff;
}

@media (min-width: 769px) {
	body.theme-3 .cart-dock {
		right: 24px;
		left: auto;
		width: min(310px, calc(100% - 48px));
		transform: none;
	}
}

@media (max-width: 900px) {
	body.theme-3 .products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	body.theme-3 header {
		grid-template-columns: minmax(0, 1fr) auto auto auto;
		padding: 11px 14px;
	}

	body.theme-3 .desktop-nav {
		display: none;
	}

	body.theme-3 .mobile-nav.active {
		top: 68px;
		right: 12px;
		left: 12px;
		border: 1px solid rgba(255, 255, 255, .12);
		border-radius: 16px;
		background: #111827;
		box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
	}

	body.theme-3 .container {
		width: min(calc(100% - 24px), 1180px);
	}

	body.theme-3 .food-venue-context {
		width: calc(100% - 24px);
		margin-top: 12px;
	}

	body.theme-3 .category-showcase {
		width: calc(100% + 12px);
		margin-left: -6px;
		padding: 12px 10px;
		border-radius: 18px;
	}

	body.theme-3 .category-showcase-head {
		display: none;
	}

	body.theme-3 .category-scroll-btn {
		display: none;
	}

	body.theme-3 .category-strip {
		display: flex;
		gap: 8px;
		overflow-x: auto;
	}

	body.theme-3 .category-tile {
		display: flex;
		min-width: 76px;
	}

	body.theme-3 .category-thumb {
		width: 48px;
		height: 48px;
	}

	body.theme-3 .products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	body.theme-3 #productsGrid .product-card:nth-child(n + 5) {
		grid-column: 1 / -1;
		display: grid;
		grid-template-columns: minmax(0, 1fr) 122px;
		min-height: 146px;
	}

	body.theme-3 #productsGrid .product-card:nth-child(n + 5) > a {
		grid-column: 2;
		grid-row: 1;
	}

	body.theme-3 #productsGrid .product-card:nth-child(n + 5) .product-img {
		width: 122px;
		height: 100%;
		min-height: 146px;
	}

	body.theme-3 #productsGrid .product-card:nth-child(n + 5) .product-info {
		grid-column: 1;
		grid-row: 1;
		padding: 13px;
	}

	body.theme-3 .product-img {
		height: 145px;
	}

	body.theme-3 .product-info {
		padding: 12px;
	}

	body.theme-3 .product-info h3 {
		font-size: .95rem;
	}

	body.theme-3 .product-desc {
		font-size: .78rem;
		-webkit-line-clamp: 2;
	}

	body.theme-3 .price {
		font-size: 1.02rem;
	}

	body.theme-3 .btn-cart {
		min-height: 40px;
		font-size: .84rem;
	}

	body.theme-3 .mobile-shop-actions {
		bottom: 92px;
	}
}

@media (max-width: 420px) {
	body.theme-3 .food-venue-context {
		grid-template-columns: auto minmax(0, 1fr);
	}

	body.theme-3 .food-venue-service {
		grid-column: 1 / -1;
		justify-content: center;
		min-height: 34px;
	}

	body.theme-3 .product-img {
		height: 126px;
	}

	body.theme-3 .product-info {
		padding: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.theme-3 .product-card,
	body.theme-3 .btn-cart {
		transition: none;
	}
}
