/* =========================================================
   Bellos Lanches — main.css
   ========================================================= */

:root {
	--bellos-cor-principal: #e63946;
	--bellos-cor-secundaria: #ffba08;
	--bellos-text: #1a1a1a;
	--bellos-muted: #666;
	--bellos-border: #e6e6ea;
	--bellos-bg: #fafafa;
	--bellos-card-bg: #fff;
	--bellos-radius: 12px;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--bellos-bg);
	color: var(--bellos-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.5;
}

a { color: var(--bellos-cor-principal); text-decoration: none; }
a:hover { text-decoration: underline; }

.bellos-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ===== Header ===== */
.bellos-header {
	background: #fff;
	border-bottom: 1px solid var(--bellos-border);
	position: sticky; top: 0; z-index: 100;
}
.bellos-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 20px; padding: 14px 24px; max-width: 1280px; margin: 0 auto;
}
.bellos-header__brand {
	display: inline-flex;
	align-items: center;
	max-height: 50px;
	flex-shrink: 0;
}
.bellos-header__brand .custom-logo-link,
.bellos-header__brand a {
	display: inline-flex;
	align-items: center;
	line-height: 0;
	max-height: 50px;
}
.bellos-header__brand img,
.bellos-header__brand .custom-logo {
	max-height: 50px !important;
	width: auto !important;
	height: auto !important;
	max-width: 180px !important;
	object-fit: contain !important;
	display: block;
}
.bellos-header__brand-text { font-weight: 800; font-size: 1.4rem; color: var(--bellos-cor-principal); }

@media (max-width: 720px) {
	.bellos-header__brand,
	.bellos-header__brand .custom-logo-link,
	.bellos-header__brand a { max-height: 40px; }
	.bellos-header__brand img,
	.bellos-header__brand .custom-logo {
		max-height: 40px !important;
		max-width: 140px !important;
	}
}
.bellos-header__menu {
	list-style: none; margin: 0; padding: 0; display: flex; gap: 20px;
}
.bellos-header__menu a { color: var(--bellos-text); font-weight: 500; }
.bellos-header__menu a:hover { color: var(--bellos-cor-principal); text-decoration: none; }
.bellos-header__actions { display: flex; align-items: center; gap: 14px; }
.bellos-header__tempo {
	font-size: 0.85rem; color: var(--bellos-muted);
	background: #f0f0f3; padding: 6px 12px; border-radius: 999px;
}

.bellos-cart-toggle {
	position: relative; background: var(--bellos-cor-principal); color: #fff;
	border: 0; width: 44px; height: 44px; border-radius: 50%;
	font-size: 1.2rem; cursor: pointer;
}
.bellos-cart-toggle__count {
	position: absolute; top: -4px; right: -4px;
	background: var(--bellos-cor-secundaria); color: #1a1a1a;
	font-size: 0.7rem; font-weight: 800; min-width: 20px; height: 20px;
	border-radius: 999px; padding: 0 5px;
	display: inline-flex; align-items: center; justify-content: center;
}

@media (max-width: 720px) {
	.bellos-header__nav { display: none; }
	.bellos-header__tempo { display: none; }
}

/* ===== Hero ===== */
.bellos-hero {
	min-height: 360px; background-size: cover; background-position: center;
	color: #fff; display: flex; align-items: center;
}
.bellos-hero__inner { padding: 60px 0; max-width: 600px; }
.bellos-hero__title {
	margin: 0 0 12px; font-size: clamp(2rem, 5vw, 3rem);
	font-weight: 800; line-height: 1.1;
	text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.bellos-hero__subtitle { margin: 0 0 24px; font-size: 1.15rem; opacity: 0.95; }

/* Banner "Loja fechada" — fica sticky no topo */
.bellos-fechada-banner {
	background: #fef2f2;
	border-bottom: 2px solid #fca5a5;
	color: #991b1b;
	padding: 12px 0;
	position: sticky;
	top: 64px;
	z-index: 60;
	animation: fechadaPulse 3s ease-in-out infinite;
}
.bellos-fechada-banner .bellos-container {
	display: flex;
	align-items: center;
	gap: 14px;
	flex-wrap: wrap;
}
.bellos-fechada-banner strong {
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	white-space: nowrap;
}
.bellos-fechada-banner span {
	font-size: 0.88rem;
	color: #7f1d1d;
}
@keyframes fechadaPulse {
	0%, 100% { background: #fef2f2; }
	50%      { background: #fee2e2; }
}
@media (max-width: 600px) {
	.bellos-fechada-banner { padding: 10px 0; top: 56px; }
	.bellos-fechada-banner strong { font-size: 0.88rem; }
	.bellos-fechada-banner span { font-size: 0.8rem; }
}

/* Hero IMG limpo (só imagem, sem overlay nem texto) */
.bellos-hero-img {
	width: 100%;
	max-height: 380px;
	overflow: hidden;
	background: #f4f4f6;
}
.bellos-hero-img img {
	width: 100%;
	height: 100%;
	max-height: 380px;
	object-fit: cover;
	display: block;
}
@media (max-width: 760px) {
	.bellos-hero-img { max-height: 220px; }
	.bellos-hero-img img { max-height: 220px; }
}

/* ===== Page hero (interno) ===== */
.bellos-pagehero {
	background: #fff; padding: 30px 0; border-bottom: 1px solid var(--bellos-border);
}
.bellos-pagehero h1 { margin: 0 0 14px; font-size: 1.8rem; }
.bellos-cat-nav { display: flex; gap: 10px; flex-wrap: wrap; }
.bellos-cat-nav a {
	background: #f4f4f6; padding: 8px 16px; border-radius: 999px;
	font-size: 0.9rem; color: var(--bellos-text);
}
.bellos-cat-nav a:hover { background: var(--bellos-cor-principal); color: #fff; text-decoration: none; }

/* ===== Section ===== */
.bellos-section { padding: 40px 0; }
.bellos-section__head {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: 22px;
}
.bellos-section__title { margin: 0; font-size: 1.5rem; font-weight: 800; }
.bellos-section__link { font-size: 0.9rem; }

/* ===== Grid de produtos ===== */
.bellos-grid {
	display: grid; gap: 18px;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.bellos-card {
	background: var(--bellos-card-bg); border: 1px solid var(--bellos-border);
	border-radius: var(--bellos-radius); overflow: hidden;
	transition: transform .18s ease, box-shadow .18s ease;
}
.bellos-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.08); }
.bellos-card--off { opacity: 0.55; }
.bellos-card__link { display: block; color: inherit; }
.bellos-card__link:hover { text-decoration: none; }
.bellos-card__img { width: 100%; height: 200px; object-fit: cover; display: block; }
.bellos-card__placeholder {
	width: 100%; height: 200px; background: #f0f0f3;
	display: flex; align-items: center; justify-content: center; font-size: 3rem;
}
.bellos-card__body { padding: 14px 16px 16px; }
.bellos-card__title { margin: 0 0 6px; font-size: 1rem; font-weight: 700; }
.bellos-card__excerpt { margin: 0 0 10px; font-size: 0.85rem; color: var(--bellos-muted); line-height: 1.4; }
.bellos-card__preco { margin: 0; font-weight: 800; color: var(--bellos-cor-principal); font-size: 1.05rem; }
.bellos-card__off {
	display: inline-block; margin-top: 6px; padding: 3px 10px;
	background: #f0f0f3; color: var(--bellos-muted); font-size: 0.75rem; border-radius: 999px;
}

/* ===== Botões ===== */
.bellos-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 22px; border: 0; border-radius: 999px;
	font-weight: 700; font-size: 0.95rem; cursor: pointer;
	text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
	font-family: inherit;
}
.bellos-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.bellos-btn--primary {
	background: var(--bellos-cor-principal); color: #fff;
	box-shadow: 0 6px 16px rgba(230, 57, 70, 0.3);
}
.bellos-btn--primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(230, 57, 70, 0.4); color: #fff; text-decoration: none; }
.bellos-btn--ghost {
	background: #fff; color: var(--bellos-text); border: 1px solid var(--bellos-border);
}
.bellos-btn--ghost:hover { background: #f0f0f3; text-decoration: none; }
.bellos-btn--whats {
	background: #25d366; color: #fff;
	box-shadow: 0 6px 16px rgba(37,211,102,0.3);
}
.bellos-btn--whats:hover { background: #1ebe57; color: #fff; transform: translateY(-1px); text-decoration: none; }
.bellos-btn--big { padding: 16px 30px; font-size: 1.05rem; width: 100%; }

/* ===== Single produto ===== */
.bellos-produto { padding: 30px 0 60px; }
.bellos-produto__grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.bellos-produto__media { position: sticky; top: 80px; }
.bellos-produto__img { width: 100%; height: auto; border-radius: var(--bellos-radius); display: block; }
.bellos-produto__placeholder {
	width: 100%; padding-top: 100%; background: #f0f0f3; border-radius: var(--bellos-radius);
	position: relative;
}
.bellos-produto__placeholder::after {
	content: '🍔'; position: absolute; inset: 0;
	display: flex; align-items: center; justify-content: center; font-size: 5rem;
}
.bellos-produto__back { font-size: 0.85rem; color: var(--bellos-muted); }
.bellos-produto__title { margin: 10px 0; font-size: 2rem; font-weight: 800; }
.bellos-produto__preco {
	font-size: 1.4rem; font-weight: 800; color: var(--bellos-cor-principal);
	margin: 0 0 16px;
}
.bellos-produto__excerpt { margin: 0 0 12px; color: var(--bellos-muted); font-size: 1.05rem; }
.bellos-produto__desc { margin: 0 0 24px; color: var(--bellos-text); }
.bellos-produto__indisp {
	background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5;
	padding: 14px 18px; border-radius: 10px;
}

@media (max-width: 760px) {
	.bellos-produto__grid { grid-template-columns: 1fr; }
	.bellos-produto__media { position: static; }
}

/* ===== Builder ===== */
.bellos-grupo {
	margin: 0 0 22px; padding: 14px 18px;
	background: #fff; border: 1px solid var(--bellos-border); border-radius: var(--bellos-radius);
}
.bellos-grupo__legend {
	font-weight: 800; font-size: 1rem; padding: 0 6px;
}
.bellos-grupo__hint {
	display: block; font-size: 0.78rem; font-weight: 500;
	color: var(--bellos-muted); margin-top: 2px;
}
.bellos-grupo__items { list-style: none; margin: 12px 0 0; padding: 0; }
.bellos-item {
	display: flex; align-items: center; gap: 14px;
	padding: 12px 0; border-bottom: 1px solid #f0f0f3;
}
.bellos-item:last-child { border-bottom: 0; }
.bellos-item__img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.bellos-item__info { flex: 1; min-width: 0; }
.bellos-item__nome { margin: 0 0 2px; font-weight: 600; font-size: 0.95rem; }
.bellos-item__desc { margin: 0 0 2px; font-size: 0.82rem; color: var(--bellos-muted); }
.bellos-item__preco { margin: 0; font-size: 0.85rem; font-weight: 700; color: var(--bellos-cor-principal); }
.bellos-item__preco--free { color: var(--bellos-muted); font-weight: 500; }
.bellos-item__control { flex-shrink: 0; }
.bellos-item__control input[type="radio"],
.bellos-item__control input[type="checkbox"] {
	width: 22px; height: 22px; accent-color: var(--bellos-cor-principal);
}

.bellos-qty {
	display: inline-flex; align-items: center; border: 1px solid var(--bellos-border);
	border-radius: 999px; overflow: hidden;
}
.bellos-qty button {
	background: #fff; border: 0; width: 36px; height: 36px;
	font-size: 1.2rem; cursor: pointer; color: var(--bellos-cor-principal); font-weight: 800;
}
.bellos-qty button:hover { background: #f0f0f3; }
.bellos-qty input {
	width: 40px; border: 0; text-align: center; font-size: 0.95rem;
	font-family: inherit; background: transparent; -moz-appearance: textfield;
}
.bellos-qty input::-webkit-outer-spin-button,
.bellos-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bellos-qty--big button { width: 44px; height: 44px; font-size: 1.4rem; }
.bellos-qty--big input { width: 50px; font-size: 1.05rem; }

.bellos-builder__obs label {
	display: block; font-weight: 600; margin: 16px 0 6px; font-size: 0.9rem;
}
.bellos-builder__obs textarea {
	width: 100%; padding: 10px 14px; border: 1px solid var(--bellos-border);
	border-radius: 10px; font-family: inherit; font-size: 0.95rem; resize: vertical;
}
.bellos-builder__bottom {
	display: flex; gap: 12px; align-items: center; margin-top: 22px;
}
.bellos-builder__add { flex: 1; }
.bellos-builder__erro {
	margin-top: 12px; padding: 12px 16px;
	background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5;
	border-radius: 10px; font-size: 0.9rem;
}

/* ===== Cart drawer ===== */
.bellos-cart {
	position: fixed; inset: 0; z-index: 1000;
}
.bellos-cart[hidden] { display: none; }
.bellos-cart__overlay {
	position: absolute; inset: 0; background: rgba(0,0,0,0.5); cursor: pointer;
}
.bellos-cart__panel {
	position: absolute; right: 0; top: 0; height: 100vh; width: 420px; max-width: 100%;
	background: #fff; display: flex; flex-direction: column;
	box-shadow: -10px 0 30px rgba(0,0,0,0.15);
	animation: slideIn .25s ease-out;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.bellos-cart__head {
	display: flex; align-items: center; justify-content: space-between;
	padding: 18px 22px; border-bottom: 1px solid var(--bellos-border);
}
.bellos-cart__head h2 { margin: 0; font-size: 1.25rem; }
.bellos-cart__close {
	background: #f0f0f3; border: 0; width: 32px; height: 32px;
	border-radius: 50%; font-size: 1.2rem; cursor: pointer;
}
.bellos-cart__body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.bellos-cart__empty { text-align: center; color: var(--bellos-muted); padding: 40px 20px; }
.bellos-cart__item {
	display: flex; gap: 12px; align-items: flex-start;
	padding: 14px 0; border-bottom: 1px solid #f0f0f3;
}
.bellos-cart__item:last-child { border-bottom: 0; }
.bellos-cart__item-info { flex: 1; min-width: 0; }
.bellos-cart__item-info strong { font-size: 0.95rem; }
.bellos-cart__opts {
	list-style: none; margin: 4px 0 0; padding: 0;
	font-size: 0.82rem; color: var(--bellos-muted);
}
.bellos-cart__obs { font-size: 0.82rem; color: var(--bellos-muted); margin: 4px 0 0; }
.bellos-cart__item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.bellos-cart__remove {
	background: transparent; border: 0; color: #c62828; cursor: pointer;
	font-size: 1.2rem; padding: 0;
}
.bellos-cart__foot {
	padding: 16px 22px; border-top: 1px solid var(--bellos-border); background: #fafafa;
}
.bellos-cart__total {
	display: flex; justify-content: space-between; margin-bottom: 12px;
	font-size: 1.05rem;
}

/* ===== Floating WhatsApp ===== */
.bellos-whats-float {
	position: fixed; right: 22px; bottom: 22px; z-index: 999;
	width: 56px; height: 56px; border-radius: 50%;
	background: #25d366; color: #fff; font-size: 1.6rem;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 10px 24px rgba(37,211,102,0.4);
	transition: transform .18s ease;
}
.bellos-whats-float:hover { transform: scale(1.06); color: #fff; text-decoration: none; }

/* ===== Footer ===== */
.bellos-footer {
	background: #1a1a1a; color: rgba(255,255,255,0.75); padding: 50px 0 0; margin-top: 80px;
}
.bellos-footer__grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
	padding: 0 24px 40px; max-width: 1280px; margin: 0 auto;
}
.bellos-footer__title { color: #fff; margin: 0 0 14px; font-size: 1rem; }
.bellos-footer__text { font-size: 0.9rem; line-height: 1.6; margin: 0 0 14px; }
.bellos-footer__pags {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-wrap: wrap; gap: 8px;
}
.bellos-footer__pags li {
	background: rgba(255,255,255,0.1); padding: 6px 14px;
	border-radius: 999px; font-size: 0.85rem;
}
.bellos-footer__wpp { color: #25d366; font-weight: 700; }
.bellos-footer__bottom {
	border-top: 1px solid rgba(255,255,255,0.1); padding: 16px 24px; text-align: center;
}

.bellos-footer__loja {
	display: inline-block;
	margin: 0 0 12px;
	padding: 6px 14px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.04em;
}
.bellos-footer__loja.is-aberta  { background: rgba(16, 185, 129, 0.18); color: #6ee7b7; border: 1px solid rgba(110, 231, 183, 0.4); }
.bellos-footer__loja.is-fechada { background: rgba(239, 68, 68, 0.18);  color: #fca5a5; border: 1px solid rgba(252, 165, 165, 0.4); }

.bellos-footer__horarios {
	list-style: none; margin: 0; padding: 0;
	display: flex; flex-direction: column; gap: 6px;
}
.bellos-footer__horarios li {
	display: flex; justify-content: space-between; gap: 14px;
	font-size: 0.88rem;
}
.bellos-footer__horarios-dia { color: #fff; font-weight: 600; }
.bellos-footer__horarios-hora { color: rgba(255,255,255,0.65); font-family: ui-monospace, Menlo, Consolas, monospace; }
.bellos-footer__horarios-hora.is-fechado { color: rgba(255,255,255,0.35); font-style: italic; }

@media (max-width: 720px) {
	.bellos-footer__grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ===== Checkout ===== */
.bellos-checkout { padding: 30px 0 60px; }
.bellos-checkout h1 { margin: 0 0 24px; }
.bellos-checkout__form .bellos-section {
	background: #fff; border: 1px solid var(--bellos-border);
	border-radius: var(--bellos-radius); padding: 22px 24px; margin: 0 0 18px;
}
.bellos-checkout__form .bellos-section__title { margin: 0 0 16px; font-size: 1.1rem; }

.bellos-checkout__item {
	display: flex; justify-content: space-between; gap: 16px;
	padding: 12px 0; border-bottom: 1px solid #f0f0f3;
}
.bellos-checkout__item:last-child { border-bottom: 0; }
.bellos-checkout__opts {
	list-style: none; margin: 4px 0 0; padding: 0;
	font-size: 0.82rem; color: var(--bellos-muted);
}
.bellos-checkout__obs { font-size: 0.82rem; color: var(--bellos-muted); margin: 4px 0 0; }
.bellos-checkout__remove {
	background: transparent; border: 0; color: #c62828; cursor: pointer;
	font-size: 1.2rem; margin-left: 12px;
}
.bellos-checkout__empty { text-align: center; color: var(--bellos-muted); padding: 30px; }

.bellos-field { margin-bottom: 14px; }
.bellos-field > label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.bellos-field input,
.bellos-field select,
.bellos-field textarea {
	width: 100%; padding: 11px 14px; font-size: 1rem;
	background: #fafafc; border: 1px solid var(--bellos-border); border-radius: 8px;
	font-family: inherit;
}
.bellos-field input:focus,
.bellos-field select:focus,
.bellos-field textarea:focus {
	outline: none; border-color: var(--bellos-cor-principal); background: #fff;
	box-shadow: 0 0 0 3px rgba(230,57,70,0.15);
}
.bellos-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .bellos-grid2 { grid-template-columns: 1fr; } }
.bellos-hint { margin: 4px 0 0; font-size: 0.8rem; color: var(--bellos-muted); }

.bellos-radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.bellos-radio {
	flex: 1 1 calc(50% - 5px); display: flex; align-items: center; gap: 10px;
	padding: 12px 14px; background: #fafafc; border: 1px solid var(--bellos-border);
	border-radius: 8px; cursor: pointer; font-size: 0.95rem;
}
.bellos-radio input[type="radio"] { width: 18px; height: 18px; accent-color: var(--bellos-cor-principal); }
.bellos-radio:has(input:checked) { border-color: var(--bellos-cor-principal); background: #fff; }

.bellos-checkout__resumo {
	position: sticky; bottom: 0; background: #fff !important;
}
.bellos-resumo__line {
	display: flex; justify-content: space-between; padding: 6px 0;
}
.bellos-resumo__line--total {
	border-top: 2px solid var(--bellos-border); padding-top: 12px; margin-top: 6px;
	font-size: 1.15rem;
}
.bellos-checkout__nota { text-align: center; color: var(--bellos-muted); font-size: 0.82rem; margin: 12px 0 0; }
.bellos-checkout__erro {
	background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5;
	padding: 14px 18px; border-radius: 10px; margin-top: 16px;
}
.bellos-checkout__delivery { margin-top: 18px; padding-top: 18px; border-top: 1px solid #f0f0f3; }

/* ===== Confirmação ===== */
.bellos-confirm { padding: 40px 0 80px; }
.bellos-confirm__head { text-align: center; margin: 0 0 30px; }
.bellos-confirm__check {
	width: 64px; height: 64px; background: #10b981; color: #fff;
	border-radius: 50%; font-size: 2rem; font-weight: 800;
	display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.bellos-confirm__head h1 { margin: 0 0 6px; }
.bellos-confirm__num { color: var(--bellos-muted); font-family: ui-monospace, monospace; }
.bellos-confirm__nota { text-align: center; color: var(--bellos-muted); font-size: 0.85rem; margin: 8px 0 0; }
.bellos-confirm__itens {
	list-style: none; margin: 0; padding: 0;
}
.bellos-confirm__itens > li {
	display: flex; justify-content: space-between; gap: 14px;
	padding: 14px 0; border-bottom: 1px solid #f0f0f3;
}
.bellos-confirm__itens > li:last-child { border-bottom: 0; }
.bellos-confirm__sub {
	list-style: none; margin: 4px 0 0; padding: 0;
	font-size: 0.85rem; color: var(--bellos-muted);
}
.bellos-confirm__obs { font-size: 0.85rem; color: var(--bellos-muted); margin: 4px 0 0; }
.bellos-confirm__dl {
	display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 0;
}
.bellos-confirm__dl dt { font-weight: 600; color: var(--bellos-muted); font-size: 0.85rem; }
.bellos-confirm__dl dd { margin: 0; }
.bellos-back { font-size: 0.85rem; color: var(--bellos-muted); }

/* =========================================================
   iFOOD STYLE — overrides mobile-first
   Mantém variáveis de cor (--bellos-cor-principal/secundaria).
   ========================================================= */

/* ----- Cards de produto: layout horizontal mobile ----- */
.bellos-grid {
	display: flex;
	flex-direction: column;
	gap: 0;
}
.bellos-card {
	background: #fff;
	border: 0;
	border-bottom: 1px solid #f0f0f3;
	border-radius: 0;
	box-shadow: none;
	transition: background .15s ease;
}
.bellos-card:hover { transform: none; box-shadow: none; background: #fafafa; }
.bellos-card__link {
	display: grid;
	grid-template-columns: 1fr 110px;
	gap: 16px;
	padding: 16px 4px;
	align-items: start;
}
.bellos-card__link:hover { text-decoration: none; }
.bellos-card__media {
	width: 110px;
	height: 110px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 8px;
	background: #f4f4f6;
}
.bellos-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.bellos-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.6rem;
}
.bellos-card__body { min-width: 0; }
.bellos-card__title {
	margin: 0 0 4px;
	font-size: 1.02rem;
	font-weight: 700;
	color: var(--bellos-text);
	line-height: 1.25;
}
.bellos-card__excerpt {
	margin: 0 0 8px;
	font-size: 0.86rem;
	color: var(--bellos-muted);
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.bellos-card__preco {
	margin: 0;
	font-weight: 700;
	color: var(--bellos-text);
	font-size: 1rem;
}

@media (min-width: 760px) {
	/* Desktop: volta pro grid */
	.bellos-grid {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
		gap: 16px;
	}
	.bellos-card {
		border: 1px solid var(--bellos-border);
		border-radius: var(--bellos-radius);
		overflow: hidden;
	}
	.bellos-card__link {
		grid-template-columns: 1fr;
		padding: 0;
		gap: 0;
	}
	.bellos-card__media {
		width: 100%;
		height: 180px;
		border-radius: 0;
		order: -1;
	}
	.bellos-card__body { padding: 14px 16px 16px; }
}

/* ----- Categoria nav iFood (horizontal scroll) ----- */
.bellos-cat-nav-ifood {
	background: #fff;
	border-bottom: 1px solid var(--bellos-border);
	position: sticky;
	top: 64px;
	z-index: 50;
}
.bellos-cat-nav-ifood__inner {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	padding: 0 24px;
	scrollbar-width: none;
	-ms-overflow-style: none;
	max-width: 1280px;
	margin: 0 auto;
}
.bellos-cat-nav-ifood__inner::-webkit-scrollbar { display: none; }
.bellos-cat-nav-ifood__tab {
	flex-shrink: 0;
	padding: 14px 0;
	color: var(--bellos-muted);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: color .15s ease, border-color .15s ease;
	white-space: nowrap;
}
.bellos-cat-nav-ifood__tab:hover,
.bellos-cat-nav-ifood__tab.is-active {
	color: var(--bellos-text);
	border-bottom-color: var(--bellos-cor-principal);
	text-decoration: none;
}

/* ----- Sticky bottom cart bar (Ver sacola) ----- */
.bellos-cart-bar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 14px 18px;
	padding-bottom: calc(14px + env(safe-area-inset-bottom));
	background: #fff;
	box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
	border-top: 1px solid var(--bellos-border);
}
.bellos-cart-bar[hidden] { display: none; }
.bellos-cart-bar__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.bellos-cart-bar__info strong {
	font-size: 1.08rem;
	font-weight: 800;
	color: var(--bellos-text);
}
.bellos-cart-bar__info span {
	font-size: 0.82rem;
	color: var(--bellos-muted);
}
.bellos-cart-bar__btn {
	background: var(--bellos-cor-principal);
	color: #fff;
	border: 0;
	padding: 14px 28px;
	border-radius: 8px;
	font-weight: 800;
	font-size: 0.95rem;
	cursor: pointer;
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.bellos-cart-bar__btn:hover { filter: brightness(0.95); }

/* Espaço pra não cobrir conteúdo no fim da página */
body:has([data-bellos-cart-bar]:not([hidden])) {
	padding-bottom: 90px;
}

/* ----- Single produto iFood ----- */
.bellos-produto-ifood {
	background: #fff;
	min-height: 100vh;
}
.bellos-produto-ifood__hero {
	position: relative;
	width: 100%;
	height: 320px;
	background: #f4f4f6;
	overflow: hidden;
}
.bellos-produto-ifood__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.bellos-produto-ifood__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 6rem;
}
.bellos-produto-ifood__back {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 10;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	font-size: 1.4rem;
	line-height: 1;
}
.bellos-produto-ifood__back:hover { background: rgba(0,0,0,0.75); color: #fff; text-decoration: none; }

.bellos-produto-ifood__info {
	padding: 22px 20px 16px;
	border-bottom: 8px solid #f4f4f6;
}
.bellos-produto-ifood__title {
	margin: 0 0 6px;
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--bellos-text);
	line-height: 1.2;
}
.bellos-produto-ifood__excerpt {
	margin: 0 0 10px;
	color: var(--bellos-muted);
	font-size: 0.95rem;
	line-height: 1.4;
}
.bellos-produto-ifood__desc {
	margin: 0 0 12px;
	font-size: 0.92rem;
	color: var(--bellos-muted);
}
.bellos-produto-ifood__preco {
	margin: 8px 0 0;
	font-size: 1.05rem;
	color: var(--bellos-text);
	font-weight: 600;
}

.bellos-produto-ifood__indisp {
	margin: 20px;
	padding: 14px 18px;
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fca5a5;
	border-radius: 10px;
	text-align: center;
	font-weight: 600;
}

/* Builder iFood: grupos como cards com header cinza */
.bellos-builder-ifood { padding-bottom: 100px; }
.bellos-grupo-ifood {
	border: 0;
	padding: 0;
	margin: 0;
	border-bottom: 8px solid #f4f4f6;
}
.bellos-grupo-ifood__head {
	width: 100%;
	background: #f4f4f6;
	padding: 14px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
.bellos-grupo-ifood__nome {
	display: block;
	font-weight: 800;
	font-size: 1rem;
	color: var(--bellos-text);
	margin-bottom: 2px;
}
.bellos-grupo-ifood__hint {
	display: block;
	font-size: 0.82rem;
	color: var(--bellos-muted);
	font-weight: 400;
}
.bellos-grupo-ifood__obrig {
	background: #555;
	color: #fff;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	padding: 4px 8px;
	border-radius: 4px;
	white-space: nowrap;
}

.bellos-grupo-ifood__items {
	list-style: none;
	margin: 0;
	padding: 0;
}
.bellos-item-ifood {
	display: grid;
	grid-template-columns: 1fr auto auto;
	gap: 14px;
	align-items: center;
	padding: 14px 20px;
	border-bottom: 1px solid #f0f0f3;
}
.bellos-item-ifood:last-child { border-bottom: 0; }
.bellos-item-ifood__info { min-width: 0; }
.bellos-item-ifood__nome {
	margin: 0 0 2px;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--bellos-text);
}
.bellos-item-ifood__desc {
	margin: 0 0 2px;
	font-size: 0.82rem;
	color: var(--bellos-muted);
	line-height: 1.4;
}
.bellos-item-ifood__preco {
	margin: 4px 0 0;
	font-size: 0.88rem;
	font-weight: 700;
	color: var(--bellos-cor-principal);
}
.bellos-item-ifood__img {
	width: 56px;
	height: 56px;
	border-radius: 8px;
	object-fit: cover;
	flex-shrink: 0;
}
.bellos-item-ifood__control input[type="radio"],
.bellos-item-ifood__control input[type="checkbox"] {
	width: 22px;
	height: 22px;
	accent-color: var(--bellos-cor-principal);
}

.bellos-builder-ifood__obs {
	padding: 14px 20px;
	background: #fff;
}
.bellos-builder-ifood__obs textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--bellos-border);
	border-radius: 8px;
	font-family: inherit;
	font-size: 0.95rem;
	resize: vertical;
	background: #fafafc;
}
.bellos-builder-ifood__obs textarea:focus {
	outline: none;
	border-color: var(--bellos-cor-principal);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(230,57,70,0.12);
}

.bellos-builder-ifood__erro {
	margin: 12px 20px;
	padding: 12px 16px;
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fca5a5;
	border-radius: 8px;
	font-size: 0.9rem;
}

.bellos-builder-ifood__sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 200;
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 14px 18px;
	padding-bottom: calc(14px + env(safe-area-inset-bottom));
	background: #fff;
	box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.12);
	border-top: 1px solid var(--bellos-border);
}
.bellos-builder-ifood__sticky .bellos-qty { flex-shrink: 0; }
.bellos-builder-ifood__add {
	flex: 1;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 22px;
	border-radius: 8px;
}

@media (min-width: 760px) {
	/* Desktop: hero menor, padrão grid 2 col */
	.bellos-produto-ifood__hero { height: 380px; }
	.bellos-produto-ifood__info,
	.bellos-builder-ifood {
		max-width: 720px;
		margin: 0 auto;
	}
}

/* ----- Cart drawer como bottom-sheet em mobile ----- */
@media (max-width: 760px) {
	.bellos-cart__panel {
		position: absolute;
		right: 0;
		bottom: 0;
		top: auto;
		left: 0;
		width: 100%;
		max-width: 100%;
		height: 88vh;
		border-top-left-radius: 18px;
		border-top-right-radius: 18px;
		animation: slideUpSheet .25s ease-out;
	}
	@keyframes slideUpSheet {
		from { transform: translateY(100%); }
		to   { transform: translateY(0); }
	}
	.bellos-cart__head { border-radius: 18px 18px 0 0; }
	.bellos-cart__head::before {
		content: '';
		position: absolute;
		top: 8px;
		left: 50%;
		transform: translateX(-50%);
		width: 40px;
		height: 4px;
		border-radius: 999px;
		background: #ddd;
	}
	.bellos-cart__head { position: relative; padding-top: 22px; }
}

/* ----- Section header (cardápio) iFood ----- */
.bellos-section { padding: 24px 0 16px; }
.bellos-section__head { padding: 0 4px; }
.bellos-section__title { font-size: 1.2rem; }

@media (min-width: 760px) {
	.bellos-section { padding: 40px 0; }
	.bellos-section__title { font-size: 1.5rem; }
}
