:root {
	--xc-primary: #dc2626;
	--xc-primary-dark: #ab1d1d;
	--xc-accent: #a16207;
	--xc-accent-soft: #f3e6c8;
	--xc-bg: #fbf6f1;
	--xc-surface: #ffffff;
	--xc-border: #e8dbcb;
	--xc-text: #2a1b15;
	--xc-text-muted: #8a7566;
	--xc-warning: #b5461f;
	--xc-radius: 14px;
	--xc-shadow: 0 10px 26px rgba(42,27,21,0.12);
	--xc-font-display: 'Baloo 2', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--xc-font-body: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body {
	margin: 0;
	padding: 0;
	background: var(--xc-bg);
	color: var(--xc-text);
	font-family: var(--xc-font-body);
	-webkit-font-smoothing: antialiased;
	-webkit-tap-highlight-color: transparent;
}

button, input, select, textarea {
	touch-action: manipulation;
	font-family: inherit;
}

:focus-visible {
	outline: 2px solid var(--xc-primary);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

.xc-body { padding-bottom: 80px; }

.xc-icon {
	width: 20px;
	height: 20px;
	flex: none;
}

.xc-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

.xc-hero {
	background:
		radial-gradient(circle at 15% 0%, color-mix(in srgb, var(--xc-accent) 18%, transparent), transparent 55%),
		var(--xc-bg);
	padding: 48px 20px 36px;
	text-align: center;
	border-bottom: 1px solid var(--xc-border);
}

.xc-hero-inner { max-width: 640px; margin: 0 auto; }

.xc-logo {
	max-width: 320px;
	width: 70%;
	height: auto;
	margin: 0 auto 18px;
	display: block;
}

.xc-logo-text {
	font-family: var(--xc-font-display);
	font-weight: 700;
	font-size: clamp(30px, 6vw, 42px);
	color: var(--xc-primary);
	margin: 0 0 12px;
}

.xc-hero-sub strong {
	color: var(--xc-primary);
}

.xc-hero-sub {
	color: var(--xc-text-muted);
	font-size: 16px;
	margin: 0;
	line-height: 1.5;
}

.xc-my-order-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	min-height: 40px;
	padding: 8px 18px;
	background: transparent;
	border: 1.5px solid var(--xc-primary);
	color: var(--xc-primary);
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

.xc-my-order-btn:hover {
	background: var(--xc-primary);
	color: #fff;
}

.xc-main {
	max-width: 1080px;
	margin: 0 auto;
	padding: 32px 16px 60px;
}

.xc-open-days {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 16px;
}

.xc-open-days-banner {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--xc-accent-soft);
	border: 1px solid color-mix(in srgb, var(--xc-accent) 45%, white);
	color: var(--xc-primary-dark);
	padding: 12px 16px;
	border-radius: var(--xc-radius);
	font-size: 14px;
	margin-top: 20px;
}

.xc-open-days-banner .xc-icon { color: var(--xc-primary); }

.xc-combos, .xc-drinks, .xc-extras {
	margin-top: 40px;
}

.xc-combos h2, .xc-drinks h2, .xc-extras h2 {
	font-family: var(--xc-font-display);
	font-weight: 700;
	font-size: 26px;
	margin: 0 0 4px;
	color: var(--xc-primary);
}

.xc-section-hint {
	margin: 0 0 20px;
	color: var(--xc-text-muted);
	font-size: 14px;
}

.xc-combo-grid, .xc-simple-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
}

.xc-combo-card {
	background: var(--xc-surface);
	border: 1px solid var(--xc-border);
	border-radius: var(--xc-radius);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	box-shadow: var(--xc-shadow);
	overflow: hidden;
}

.xc-combo-photo-wrap {
	margin: -20px -20px 0;
}

.xc-combo-photo {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.xc-combo-title-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.xc-combo-name {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	font-family: var(--xc-font-display);
	color: var(--xc-text);
}

.xc-combo-weight {
	flex: none;
	background: var(--xc-accent-soft);
	color: var(--xc-primary-dark);
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
}

.xc-combo-desc {
	margin: 0;
	color: var(--xc-text-muted);
	font-size: 14px;
	line-height: 1.55;
}

.xc-combo-sides-label {
	margin: 4px 0 6px;
	font-size: 12px;
	font-weight: 700;
	color: var(--xc-text-muted);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.xc-combo-sides-options {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.xc-side-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
	background: var(--xc-bg);
	border: 1px solid var(--xc-border);
	border-radius: 999px;
	padding: 6px 12px;
	font-size: 13px;
	cursor: pointer;
	user-select: none;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.xc-side-chip input {
	accent-color: var(--xc-primary);
	width: 16px;
	height: 16px;
}

.xc-side-chip.is-checked {
	background: var(--xc-accent-soft);
	border-color: var(--xc-primary);
	color: var(--xc-primary-dark);
	font-weight: 600;
}

.xc-combo-warning {
	color: var(--xc-warning);
	font-size: 12px;
	margin: 0;
}

.xc-combo-price-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
}

.xc-combo-price-old {
	font-size: 14px;
	color: var(--xc-text-muted);
	text-decoration: line-through;
}

.xc-combo-discount-badge {
	background: var(--xc-warning);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 999px;
}

.xc-combo-price {
	margin: 0;
	font-size: 21px;
	font-weight: 700;
	font-family: var(--xc-font-display);
	color: var(--xc-primary);
}

.xc-combo-per-person {
	margin: 0;
	font-size: 12px;
	color: var(--xc-text-muted);
}

.xc-simple-item {
	background: var(--xc-surface);
	border: 1px solid var(--xc-border);
	border-radius: var(--xc-radius);
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	box-shadow: var(--xc-shadow);
	overflow: hidden;
}

.xc-simple-item-photo-wrap:empty { display: none; }

.xc-simple-item-photo-wrap:not(:empty) {
	margin: -16px -16px 0;
}

.xc-simple-item-photo {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.xc-simple-item-name {
	margin: 0;
	font-weight: 700;
	font-size: 15px;
	color: var(--xc-text);
}

.xc-simple-item-price {
	margin: 0;
	font-weight: 700;
	font-family: var(--xc-font-display);
	color: var(--xc-primary);
	font-size: 17px;
}

.xc-combo-qty {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	padding-top: 8px;
}

.xc-qty-btn {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	border: 1px solid var(--xc-border);
	background: var(--xc-bg);
	color: var(--xc-text);
	font-size: 20px;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.xc-qty-btn:hover { border-color: var(--xc-primary); }

.xc-qty-value { min-width: 24px; text-align: center; font-weight: 700; font-size: 16px; }

.xc-add-btn {
	margin-top: 8px;
	min-height: 44px;
	background: var(--xc-primary);
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 15px;
	font-weight: 700;
	font-family: var(--xc-font-body);
	cursor: pointer;
	transition: background 0.15s ease, transform 0.1s ease;
}

.xc-add-btn:hover { background: var(--xc-primary-dark); }
.xc-add-btn:active { transform: scale(0.98); }

.xc-cart-fab {
	position: fixed;
	right: 20px;
	bottom: 20px;
	background: var(--xc-primary);
	color: #fff;
	border: none;
	border-radius: 999px;
	width: 60px;
	height: 60px;
	cursor: pointer;
	box-shadow: var(--xc-shadow);
	z-index: 40;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.15s ease;
}

.xc-cart-fab:hover { transform: scale(1.05); }
.xc-cart-fab .xc-icon { width: 24px; height: 24px; }

#xc-cart-count {
	font-family: var(--xc-font-body);
	font-size: 12px;
	font-weight: 700;
	background: #fff;
	color: var(--xc-primary-dark);
	border-radius: 999px;
	min-width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: -4px;
	right: -4px;
	padding: 0 2px;
}

.xc-cart-overlay {
	position: fixed;
	inset: 0;
	background: rgba(42,27,21,0.45);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	z-index: 45;
}

.xc-cart-overlay.is-open { opacity: 1; pointer-events: auto; }

.xc-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	height: 100%;
	width: min(420px, 100vw);
	background: var(--xc-surface);
	border-left: 1px solid var(--xc-border);
	transform: translateX(100%);
	transition: transform 0.25s ease;
	z-index: 50;
	display: flex;
	flex-direction: column;
}

.xc-cart-drawer.is-open { transform: translateX(0); }

.xc-cart-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	border-bottom: 1px solid var(--xc-border);
}

.xc-cart-header h2 {
	margin: 0;
	font-size: 19px;
	font-weight: 700;
	font-family: var(--xc-font-display);
	color: var(--xc-primary);
}

.xc-cart-close {
	background: none;
	border: none;
	color: var(--xc-text);
	font-size: 26px;
	cursor: pointer;
	line-height: 1;
	width: 44px;
	height: 44px;
}

.xc-cart-body {
	padding: 18px 20px 100px;
	overflow-y: auto;
	flex: 1;
}

.xc-cart-empty {
	color: var(--xc-text-muted);
	font-size: 14px;
	padding: 20px 0;
}

.xc-cart-item {
	background: var(--xc-bg);
	border: 1px solid var(--xc-border);
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 10px;
}

.xc-cart-item-top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 8px;
}

.xc-cart-item-name { font-weight: 700; font-size: 14px; }

.xc-cart-item-remove {
	background: none;
	border: none;
	color: var(--xc-warning);
	cursor: pointer;
	font-size: 13px;
	padding: 4px;
}

.xc-cart-item-detail {
	color: var(--xc-text-muted);
	font-size: 13px;
	margin: 4px 0 0;
	line-height: 1.4;
}

.xc-cart-item-price {
	margin-top: 6px;
	font-weight: 700;
	color: var(--xc-primary);
	font-size: 13px;
}

.xc-cart-form h3 {
	font-size: 15px;
	font-weight: 700;
	margin: 18px 0 8px;
	color: var(--xc-primary);
	font-family: var(--xc-font-display);
}

.xc-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 13px;
	color: var(--xc-text-muted);
	margin-bottom: 10px;
}

.xc-field input,
.xc-field textarea {
	background: var(--xc-surface);
	border: 1px solid var(--xc-border);
	color: var(--xc-text);
	padding: 10px;
	border-radius: 8px;
	font-size: 16px;
	font-family: inherit;
}

.xc-order-date-banner {
	background: var(--xc-accent-soft);
	border: 1px solid color-mix(in srgb, var(--xc-accent) 45%, white);
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 16px;
}

.xc-order-date-value {
	margin: 0;
	font-family: var(--xc-font-display);
	font-weight: 700;
	color: var(--xc-primary-dark);
	font-size: 14px;
}

.xc-points-hint {
	margin: -4px 0 10px;
	font-size: 12px;
	font-weight: 600;
	color: var(--xc-primary-dark);
}

.xc-orders-points {
	background: var(--xc-accent-soft);
	border: 1px solid color-mix(in srgb, var(--xc-accent) 45%, white);
	border-radius: 10px;
	padding: 12px 14px;
	margin: 16px 0;
	font-family: var(--xc-font-display);
	font-weight: 700;
	color: var(--xc-primary-dark);
	font-size: 15px;
}

.xc-order-result-item {
	background: var(--xc-bg);
	border: 1px solid var(--xc-border);
	border-radius: 10px;
	padding: 12px 14px;
	margin-bottom: 10px;
}

.xc-order-result-summary {
	margin: 0 0 6px;
	font-size: 13px;
	color: var(--xc-text-muted);
}

.xc-order-result-total {
	font-weight: 700;
	color: var(--xc-primary);
	font-size: 13px;
	margin: 0 0 8px;
}

.xc-order-status {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 999px;
}

.xc-order-status.is-previsto { background: var(--xc-accent-soft); color: var(--xc-primary-dark); }
.xc-order-status.is-preparo { background: #fde68a; color: #78350f; }
.xc-order-status.is-concluido { background: #d1fae5; color: #065f46; }

.xc-orders-empty,
.xc-orders-error {
	color: var(--xc-text-muted);
	font-size: 14px;
	margin-top: 16px;
}

.xc-toggle {
	display: flex;
	gap: 8px;
	margin-bottom: 8px;
}

.xc-toggle-btn {
	flex: 1;
	min-height: 44px;
	padding: 10px;
	border-radius: 8px;
	border: 1px solid var(--xc-border);
	background: var(--xc-surface);
	color: var(--xc-text-muted);
	cursor: pointer;
	font-weight: 600;
	font-size: 14px;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.xc-toggle-btn.is-active {
	background: var(--xc-primary);
	border-color: var(--xc-primary);
	color: #fff;
}

.xc-fulfillment-info {
	font-size: 12px;
	color: var(--xc-text-muted);
	margin: 0 0 10px;
}

.xc-totals {
	margin-top: 16px;
	border-top: 1px solid var(--xc-border);
	padding-top: 12px;
}

.xc-totals-row {
	display: flex;
	justify-content: space-between;
	font-size: 14px;
	color: var(--xc-text-muted);
	padding: 4px 0;
}

.xc-totals-total {
	font-size: 19px;
	font-weight: 700;
	font-family: var(--xc-font-display);
	color: var(--xc-primary);
	border-top: 1px solid var(--xc-border);
	margin-top: 6px;
	padding-top: 10px;
}

.xc-whatsapp-btn {
	width: 100%;
	min-height: 48px;
	background: #25D366;
	color: #06210f;
	border: none;
	border-radius: 10px;
	padding: 14px;
	font-size: 16px;
	font-weight: 700;
	font-family: var(--xc-font-body);
	margin-top: 16px;
	cursor: pointer;
	transition: filter 0.15s ease;
}

.xc-whatsapp-btn:hover:not(:disabled) { filter: brightness(0.95); }

.xc-whatsapp-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.xc-whatsapp-hint {
	text-align: center;
	font-size: 12px;
	color: var(--xc-text-muted);
	margin-top: 8px;
}

@media (max-width: 480px) {
	.xc-cart-drawer { width: 100vw; }
}
