
:root{
  --bg:#f4f6f8;
  --surface:#ffffff;
  --surface-2:#f8fafc;
  --text:#17202a;
  --muted:#667085;
  --line:#e7e9ee;
  --primary:#d92d20;
  --primary-dark:#b42318;
  --green:#16803c;
  --dark:#111827;
  --dark-2:#1f2937;
  --warning:#b54708;
  --danger:#b42318;
  --shadow:0 12px 35px rgba(16,24,40,.08);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--text)}
a{color:inherit}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
img{max-width:100%}
.container{width:min(1180px,calc(100% - 32px));margin:auto}
.public-header{position:sticky;top:0;z-index:20;background:rgba(17,24,39,.96);color:#fff;border-bottom:1px solid rgba(255,255,255,.08)}
.public-nav{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:900;letter-spacing:.2px}
.brand-mark{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--primary);box-shadow:0 8px 20px rgba(217,45,32,.25)}
.brand small{display:block;color:#aeb7c4;font-weight:600;margin-top:2px}
.nav-actions{display:flex;gap:10px;align-items:center}
.nav-link{padding:10px 13px;border-radius:12px;text-decoration:none;color:#e8ecf1}
.nav-link:hover{background:rgba(255,255,255,.08)}
.tracking-nav{background:#fff;color:#0f766e!important;font-weight:900;box-shadow:0 4px 12px rgba(0,0,0,.18)}
.tracking-nav:hover{background:#fff5cc!important}
.cart-pill{background:var(--primary);color:#fff!important;font-weight:800}
.hero{background:linear-gradient(135deg,#111827 0%,#242d3d 100%);color:#fff;padding:52px 0 44px}
.hero-inner{display:grid;grid-template-columns:1.3fr .7fr;gap:30px;align-items:center}
.hero h1{font-size:clamp(34px,5vw,58px);line-height:1.02;margin:0 0 16px}
.hero p{color:#cbd5e1;font-size:18px;max-width:650px;line-height:1.6}
.hero-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);padding:24px;border-radius:24px;backdrop-filter:blur(8px)}
.hero-card strong{font-size:30px}
main.public-main{padding:32px 0 60px}
.section-title{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 18px}
.section-title h2{margin:0;font-size:25px}
.section-title p{margin:4px 0 0;color:var(--muted)}
.search-box{position:relative;margin-bottom:30px}
.search-box input{width:100%;padding:15px 18px 15px 46px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(16,24,40,.04);outline:none}
.search-box span{position:absolute;left:17px;top:13px;font-size:20px}
.category-block{margin-bottom:34px}
.category-heading{display:flex;align-items:center;gap:10px;margin-bottom:15px}
.category-heading h2{font-size:23px;margin:0}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}
.product-card{overflow:hidden;display:flex;flex-direction:column}
.product-photo{width:100%;height:205px;object-fit:cover;background:#e9edf2}
.product-placeholder{width:100%;height:205px;display:grid;place-items:center;background:linear-gradient(135deg,#e9edf2,#dce2e8);font-size:62px}
.product-body{padding:18px;display:flex;flex-direction:column;flex:1}
.product-body h3{margin:0 0 7px;font-size:18px}
.product-body p{margin:0 0 16px;color:var(--muted);font-size:14px;line-height:1.5;min-height:42px}
.price{font-size:21px;font-weight:900;margin-bottom:14px}
.btn{border:0;border-radius:12px;padding:11px 15px;text-decoration:none;display:inline-flex;justify-content:center;align-items:center;gap:7px;font-weight:800;transition:.18s}
.btn-primary{background:var(--primary);color:#fff}
.btn-primary:hover{background:var(--primary-dark);transform:translateY(-1px)}
.btn-dark{background:var(--dark);color:#fff}
.btn-green{background:var(--green);color:#fff}
.btn-light{background:#eef2f6;color:var(--text)}
.btn-danger{background:#fee4e2;color:var(--danger)}
.btn-small{padding:8px 10px;border-radius:10px;font-size:13px}
.form-card{max-width:850px;margin:auto;background:#fff;border:1px solid var(--line);padding:28px;border-radius:20px;box-shadow:var(--shadow)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{display:grid;gap:7px;margin-bottom:15px}
.field.full{grid-column:1/-1}
.field label{font-weight:800;font-size:14px}
input,select,textarea{width:100%;padding:12px 13px;border:1px solid #d6dbe3;border-radius:12px;background:#fff;color:var(--text);outline:none}
input:focus,select:focus,textarea:focus{border-color:#98a2b3;box-shadow:0 0 0 3px rgba(152,162,179,.15)}
textarea{min-height:100px;resize:vertical}
.flash-wrap{padding-top:18px}
.flash{padding:13px 15px;border-radius:12px;margin-bottom:10px;font-weight:700}
.flash-success{background:#dcfae6;color:#067647}.flash-danger{background:#fee4e2;color:#b42318}.flash-warning{background:#fef0c7;color:#b54708}
.box{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:var(--shadow)}
.cart-layout{display:grid;grid-template-columns:1.3fr .7fr;gap:20px}
.cart-item{display:flex;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}
.cart-item:last-child{border-bottom:0}
.muted{color:var(--muted)}
.total-line{display:flex;justify-content:space-between;padding:10px 0}
.total-line.final{font-size:21px;font-weight:900;border-top:1px solid var(--line);margin-top:8px;padding-top:18px}
.detail-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:20px}
.big-photo{width:100%;max-height:520px;object-fit:cover;border-radius:20px;background:#e9edf2}
.admin-shell{min-height:100vh;background:var(--bg)}
.admin-sidebar{position:fixed;left:0;top:0;bottom:0;width:258px;background:var(--dark);color:#fff;padding:22px 16px;z-index:30;overflow:auto}
.admin-brand{padding:5px 10px 22px;border-bottom:1px solid rgba(255,255,255,.1);margin-bottom:15px}
.admin-brand .brand-mark{display:inline-grid;vertical-align:middle;margin-right:8px}
.admin-brand strong{font-size:19px}
.admin-brand small{display:block;color:#9ca3af;margin:8px 0 0 52px}
.admin-nav a{display:flex;align-items:center;gap:11px;color:#d6dae1;text-decoration:none;padding:11px 12px;border-radius:11px;margin:3px 0;font-weight:700}
.admin-nav a:hover,.admin-nav a.active{background:#2a3445;color:#fff}
.admin-nav .danger-link{color:#fda29b}
.admin-main{margin-left:258px;min-height:100vh}
.admin-topbar{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line);padding:16px 28px;display:flex;justify-content:space-between;align-items:center;gap:15px}
.admin-content{padding:28px}
.page-title{margin-bottom:22px}
.page-title h1{margin:0;font-size:30px}.page-title p{margin:5px 0 0;color:var(--muted)}
.kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}
.kpi{padding:20px;background:#fff;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow)}
.kpi-label{color:var(--muted);font-weight:800;font-size:13px}.kpi-value{font-size:30px;font-weight:950;margin-top:7px}.kpi-icon{float:right;font-size:24px}
.panel{background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow);padding:20px;margin-bottom:20px}
.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.panel-head h2{margin:0;font-size:19px}
.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:720px}.table th,.table td{padding:13px 12px;border-bottom:1px solid var(--line);text-align:left;vertical-align:middle}.table th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);background:#fafbfc}.table tr:last-child td{border-bottom:0}
.status{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;font-size:12px;font-weight:900;white-space:nowrap}.status.recebido{background:#e0f2fe;color:#075985}.status.preparo{background:#fef3c7;color:#92400e}.status.pronto{background:#dcfae6;color:#067647}.status.entrega{background:#ede9fe;color:#5b21b6}.status.entregue{background:#e5e7eb;color:#374151}.status.cancelado{background:#fee4e2;color:#b42318}.status.taxa{background:#fff4e5;color:#b54708}
.toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:18px}.toolbar .grow{flex:1;min-width:220px}
.admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.product-admin-card{overflow:hidden}.product-admin-card .product-photo,.product-admin-card .product-placeholder{height:170px}.product-admin-card .product-body{padding:16px}
.chips{display:flex;gap:7px;flex-wrap:wrap}.chip{padding:7px 10px;border-radius:999px;background:#eef2f6;text-decoration:none;font-size:12px;font-weight:800}.chip.active{background:var(--dark);color:#fff}
.split{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.order-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:20px}.order-item{padding:13px 0;border-bottom:1px solid var(--line)}.order-item:last-child{border-bottom:0}
.kitchen-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.kitchen-card{border-left:5px solid var(--primary)}.kitchen-card.preparo{border-left-color:#f79009}.kitchen-card.pronto{border-left-color:#12b76a}
.empty{text-align:center;padding:45px 20px;color:var(--muted)}
.login-page{min-height:100vh;display:grid;place-items:center;padding:20px;background:linear-gradient(135deg,#101828,#253044)}
.login-card{width:min(420px,100%);background:#fff;border-radius:24px;padding:32px;box-shadow:0 25px 70px rgba(0,0,0,.2)}
.login-card h1{margin:0 0 6px}.login-card p{color:var(--muted);margin:0 0 24px}
.error-page{min-height:70vh;display:grid;place-items:center;text-align:center}
@media(max-width:1100px){.grid{grid-template-columns:repeat(3,1fr)}.kpi-grid{grid-template-columns:repeat(2,1fr)}.admin-grid{grid-template-columns:repeat(2,1fr)}.kitchen-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:820px){.hero-inner,.cart-layout,.detail-layout,.order-grid,.split{grid-template-columns:1fr}.grid{grid-template-columns:repeat(2,1fr)}.admin-sidebar{position:static;width:100%;height:auto}.admin-main{margin-left:0}.admin-nav{display:grid;grid-template-columns:repeat(2,1fr)}.admin-topbar{position:static}.admin-content{padding:18px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}}
@media(max-width:560px){.container{width:min(100% - 22px,1180px)}.public-nav{min-height:64px}.brand small{display:none}.nav-link:not(.cart-pill){display:none}.hero{padding:35px 0}.hero-card{display:none}.grid,.admin-grid,.kitchen-grid,.kpi-grid{grid-template-columns:1fr}.product-photo,.product-placeholder{height:190px}.admin-nav{grid-template-columns:1fr 1fr}.admin-topbar{padding:13px 16px}.admin-content{padding:14px}.page-title h1{font-size:25px}.table{min-width:650px}}


.option-list{display:grid;gap:8px}.option-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:11px 12px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}.option-row input{width:18px;height:18px}.option-row strong{font-size:13px}.form-card hr{border:0}


/* Identidade, Pix e WhatsApp */
.brand-logo{width:44px;height:44px;border-radius:12px;object-fit:cover;background:#fff;border:1px solid rgba(255,255,255,.16)}
.admin-logo{width:42px;height:42px;border-radius:12px;object-fit:cover;vertical-align:middle;margin-right:8px;background:#fff}
.logo-preview{display:flex;align-items:center;gap:12px;margin-top:10px;color:var(--muted);font-size:13px;font-weight:700}.logo-preview img{width:90px;height:70px;object-fit:contain;border:1px solid var(--line);border-radius:12px;background:#fff;padding:5px}
.pix-box{margin:22px 0;padding:24px;border:1px solid #ccebd8;background:#f4fff7;border-radius:20px;text-align:center}.pix-box h2{margin:8px 0}.pix-badge{display:inline-flex;padding:6px 12px;border-radius:999px;background:#d9fbe7;color:#087443;font-weight:900;letter-spacing:.08em}.pix-qr{display:block;width:min(300px,80vw);height:auto;margin:18px auto;border-radius:12px;background:#fff;padding:10px;border:1px solid #d8e6dd}.whatsapp-proof{margin:12px auto;display:flex;max-width:390px}.pix-warning{background:#fff8eb;border-color:#f6d69a}
@media(max-width:820px){.brand-logo{width:40px;height:40px}.admin-logo{width:38px;height:38px}}

.quote-box{padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#f8fafc;font-weight:800}
.quote-ok{background:#ecfdf3;color:#067647;border-color:#abefc6}
.quote-warning{background:#fff7ed;color:#b54708;border-color:#fed7aa}
.whatsapp-float{position:fixed;right:22px;bottom:22px;z-index:95;display:flex;align-items:center;gap:10px;padding:12px 16px;border-radius:999px;background:#16803c;color:#fff;text-decoration:none;font-weight:900;box-shadow:0 12px 30px rgba(22,128,60,.28)}
.whatsapp-float:hover{transform:translateY(-2px);filter:brightness(1.04)}
.whatsapp-float-icon{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#16803c;font-size:20px}
.whatsapp-proof{margin-left:8px}
.pix-box{background:#f7fffa;border:1px solid #b7ebc6;border-radius:18px;padding:22px;margin-top:18px}
.pix-qr{width:250px;height:250px;object-fit:contain;background:#fff;padding:8px;border-radius:12px}
.pix-badge{display:inline-block;background:#16803c;color:#fff;padding:5px 10px;border-radius:999px;font-weight:900;font-size:12px}
.pix-warning{background:#fff8e8;border-color:#f6d28b}
@media(max-width:700px){
  .whatsapp-float{right:14px;bottom:82px;padding:10px 13px;z-index:95}
  .whatsapp-float-text{display:none}
  .whatsapp-proof{margin:8px 0 0;width:100%}
}


/* =========================================================
   MY HOUSE V3 — identidade amarelo + vermelho e experiência mobile
   ========================================================= */
:root{
  --my-yellow:#f4b400;
  --my-yellow-soft:#fff4c2;
  --my-red:#c51f16;
  --my-red-dark:#95150f;
  --my-cream:#fffaf0;
}
body{background:#fffaf0}
.public-header{background:linear-gradient(90deg,var(--my-red-dark),var(--my-red));border-bottom:3px solid var(--my-yellow)}
.public-header .brand{color:#fff}
.public-header .brand-mark{background:var(--my-yellow);color:#8f160f}
.btn-primary{background:linear-gradient(135deg,var(--my-red),var(--my-red-dark));border-color:var(--my-red);box-shadow:0 8px 18px rgba(197,31,22,.18)}
.btn-primary:hover{background:var(--my-red-dark)}
.hero-modern{background:linear-gradient(135deg,#fff4c2 0%,#fffaf0 48%,#ffe4df 100%);border-bottom:1px solid #f3d88b}
.hero-modern h1{max-width:680px}
.hero-kicker,.section-kicker{display:inline-block;font-size:12px;font-weight:950;letter-spacing:.08em;color:var(--my-red);margin-bottom:8px}
.btn-hero{padding:13px 22px}
.section-title h2{margin:3px 0 5px}
.category-nav{display:flex;gap:9px;overflow-x:auto;padding:4px 2px 14px;margin-bottom:4px;scrollbar-width:none;position:sticky;top:72px;z-index:10;background:rgba(255,250,240,.94);backdrop-filter:blur(10px)}
.category-nav::-webkit-scrollbar{display:none}
.category-pill{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;padding:10px 14px;border:1px solid #f0d98d;border-radius:999px;background:#fff;color:#7b1b15;text-decoration:none;font-weight:850;box-shadow:0 3px 12px rgba(99,55,0,.06)}
.category-pill:hover{border-color:var(--my-red);background:#fff4c2}
.search-modern{border:2px solid #f0d98d;background:#fff;box-shadow:0 8px 24px rgba(99,55,0,.06)}
.category-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.category-heading h2{margin:0}
.category-heading p{margin:3px 0 0;color:var(--muted);font-size:13px}
.category-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;background:var(--my-yellow-soft);font-size:25px;box-shadow:inset 0 0 0 1px #f1d46f}
.product-grid-mobile{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.product-card-modern{border:1px solid #f0dfb2;box-shadow:0 10px 30px rgba(99,55,0,.08);overflow:hidden;background:#fff}
.product-card-modern:hover{transform:translateY(-3px);box-shadow:0 16px 36px rgba(99,55,0,.13)}
.product-image-link{display:block;background:#fff7df}
.product-card-modern .product-photo,.product-card-modern .product-placeholder{height:220px}
.product-card-modern .product-photo{object-fit:cover}
.product-card-modern .product-placeholder{display:grid;place-items:center;font-size:62px;background:linear-gradient(135deg,#fff4c2,#ffe7df)}
.product-card-modern .product-body{padding:17px}
.product-card-modern h3{font-size:18px;margin:0 0 6px}
.product-card-modern p{min-height:40px;margin:0 0 13px}
.product-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.price-label{display:block;font-size:11px;color:var(--muted);font-weight:800}
.product-card-modern .price{font-size:22px;color:var(--my-red)}
.btn-add{white-space:nowrap;padding:10px 13px}
.mobile-cart-bar{display:none}

.promo-section{padding:18px 0 4px;background:#fffaf0}
.promo-slider{position:relative;border-radius:22px;overflow:hidden;box-shadow:0 16px 40px rgba(99,55,0,.14);background:var(--my-red)}
.promo-banner{display:none;position:relative;min-height:270px;color:#fff}
.promo-banner.is-active{display:block}
.promo-banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.promo-banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(60,7,4,.84),rgba(60,7,4,.48) 48%,rgba(60,7,4,.08))}
.promo-overlay{position:relative;z-index:2;min-height:270px;display:flex;align-items:center;padding:32px 58px}
.promo-copy{max-width:650px}
.promo-label{font-size:11px;font-weight:950;letter-spacing:.12em;color:#ffe06c}
.promo-copy h1{font-size:clamp(28px,4vw,46px);line-height:1.05;margin:7px 0}
.promo-copy strong{display:block;font-size:clamp(18px,2.3vw,28px);color:#fff4a8}
.promo-copy p{max-width:620px;margin:9px 0 0;color:#fff;font-size:15px}
.promo-banner-no-image{height:100%;min-height:270px;display:grid;place-items:center;font-size:80px;background:linear-gradient(135deg,var(--my-red),#6d0d09)}
.promo-arrow{position:absolute;z-index:3;top:50%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:var(--my-red);font-size:34px;line-height:1;box-shadow:0 6px 18px rgba(0,0,0,.16)}
.promo-prev{left:14px}.promo-next{right:14px}
.promo-dots{position:absolute;z-index:4;left:50%;bottom:12px;transform:translateX(-50%);display:flex;gap:6px}
.promo-dots button{width:9px;height:9px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.55)}
.promo-dots button.active{background:var(--my-yellow);transform:scale(1.25)}

.banner-admin-grid{grid-template-columns:repeat(2,1fr)}
.banner-admin-card{overflow:hidden}
.banner-admin-image,.banner-admin-placeholder{height:190px;width:100%;object-fit:cover;background:linear-gradient(135deg,#fff4c2,#ffe0db)}
.banner-admin-placeholder{display:grid;place-items:center;font-size:60px}
.banner-meta,.banner-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.banner-meta{margin-bottom:8px}
.banner-promo{font-weight:950;color:var(--my-red);font-size:18px;margin:6px 0}
.banner-dates{font-size:12px;margin:12px 0}
.banner-actions{margin-top:14px}
.banner-admin-help{display:flex;gap:10px;align-items:center;margin-bottom:18px}
.banner-toggle-field label{display:flex;align-items:center;gap:9px;font-weight:850}
.banner-toggle-field input{width:19px;height:19px;accent-color:var(--my-red)}

@media(max-width:900px){
  .product-grid-mobile{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .public-header{position:sticky;top:0}
  .category-nav{top:64px;padding-top:7px}
  .promo-section{padding:10px 0 0}
  .promo-slider{border-radius:16px}
  .promo-banner,.promo-overlay,.promo-banner-no-image{min-height:225px}
  .promo-overlay{padding:25px 42px 32px 22px}
  .promo-copy h1{font-size:28px}
  .promo-copy strong{font-size:18px}
  .promo-copy p{font-size:13px}
  .promo-arrow{width:36px;height:36px;font-size:29px}
  .product-grid-mobile{grid-template-columns:1fr 1fr;gap:12px}
  .product-card-modern .product-photo,.product-card-modern .product-placeholder{height:185px}
  .product-card-modern .product-body{padding:13px}
  .product-card-modern h3{font-size:16px}
  .product-card-modern p{font-size:12px;min-height:34px;line-height:1.35}
  .product-card-modern .price{font-size:19px}
  .product-bottom{align-items:center}
  .btn-add{padding:9px 10px;font-size:12px}
  .mobile-cart-bar{position:fixed;display:flex;align-items:center;justify-content:space-between;gap:10px;left:12px;right:12px;bottom:12px;z-index:90;padding:12px 15px;border-radius:15px;background:linear-gradient(135deg,var(--my-red),var(--my-red-dark));color:#fff;text-decoration:none;font-weight:900;box-shadow:0 12px 30px rgba(84,12,7,.28)}
  body{padding-bottom:70px}
  .banner-admin-grid{grid-template-columns:1fr}
  .banner-admin-help{align-items:flex-start;flex-direction:column}
}
@media(max-width:420px){
  .product-grid-mobile{grid-template-columns:1fr}
  .product-card-modern .product-photo,.product-card-modern .product-placeholder{height:205px}
  .product-card-modern .product-body{padding:15px}
  .product-card-modern h3{font-size:18px}
  .product-card-modern p{font-size:13px;min-height:auto}
  .btn-add{padding:10px 13px;font-size:13px}
}

/* V4 visual: delivery profissional, compacto e mobile-first */
:root{--primary:#0f8f78;--primary-dark:#0b6f5f;--text:#111827;--muted:#6b7280;--bg:#f6f8f9;--surface:#fff;--line:#e5e7eb;--dark:#0b2526;--dark-2:#123638;--shadow:0 8px 24px rgba(15,23,42,.07);--radius:16px}
body{background:#f7f8f8;color:#111827}
.public-header{background:var(--dark);border-bottom:0;box-shadow:0 3px 14px rgba(0,0,0,.12)}
.public-nav{min-height:62px}.brand{font-size:16px}.brand-logo{width:40px;height:40px;border-radius:11px}.brand small{display:none}.nav-link:not(.cart-pill){display:none}.cart-pill{padding:10px 13px;border-radius:12px;background:#0f8f78}
.hero-modern{background:#fff;color:#111827;padding:24px 0 28px;border-bottom:1px solid #edf0f1}.hero-modern .hero-inner{display:block}.hero-modern h1{font-size:34px;margin:6px 0 10px}.hero-modern p{color:#6b7280;font-size:15px;line-height:1.5}.hero-card{display:none}.hero-kicker,.section-kicker{color:#0f8f78;font-weight:900;letter-spacing:.08em;font-size:12px}
.public-main{padding-top:24px!important}.section-title h2{font-size:28px;color:#111827}.section-title p{font-size:14px}.category-nav{display:flex;gap:9px;overflow-x:auto;padding:4px 2px 10px;margin-bottom:14px;scrollbar-width:none}.category-nav::-webkit-scrollbar{display:none}.category-pill{flex:0 0 auto;padding:10px 14px;border:1px solid #e2e7e7;border-radius:13px;background:#fff;color:#111827;font-weight:800;box-shadow:0 3px 10px rgba(15,23,42,.04)}.category-pill:hover{border-color:#0f8f78;background:#f0faf7}.search-modern{border:1px solid #e1e5e7!important;box-shadow:0 4px 14px rgba(15,23,42,.05)!important}.search-box input{padding:13px 16px 13px 44px}
.category-block{margin-bottom:27px}.category-heading{margin-bottom:11px}.category-icon{width:42px;height:42px;border-radius:12px;background:#eef9f6;box-shadow:none}.category-heading h2{font-size:21px}.category-heading p{font-size:12px}.product-grid-mobile{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product-card-modern{border:1px solid #e7eaeb;box-shadow:0 7px 20px rgba(15,23,42,.06)}.product-card-modern:hover{transform:none}.product-card-modern .product-photo,.product-card-modern .product-placeholder{height:180px}.product-card-modern .product-body{padding:13px}.product-card-modern h3{font-size:16px;color:#111827}.product-card-modern p{font-size:12px;min-height:35px;color:#6b7280}.product-card-modern .price{font-size:19px;color:#111827}.price-label{font-size:10px}.btn-add{background:#0f8f78!important;padding:9px 11px;font-size:12px}.mobile-cart-bar{background:#0b2526!important;box-shadow:0 12px 28px rgba(11,37,38,.25)!important}
/* Banner horizontal estilo grandes apps de delivery */
.promo-section{background:#f7f8f8;padding:12px 0 5px}.promo-slider{height:220px;border-radius:18px;overflow:hidden;box-shadow:0 8px 24px rgba(15,23,42,.10);background:#0b2526;position:relative}.promo-banner{display:block;position:absolute;inset:0;min-height:220px;transform:translateX(100%);transition:transform .5s cubic-bezier(.22,.61,.36,1);color:#fff}.promo-banner.is-active{transform:translateX(0)}.promo-banner.is-before{transform:translateX(-100%)}.promo-click{position:absolute;inset:0;display:block;color:inherit;text-decoration:none}.promo-banner>img{height:100%;object-fit:cover}.promo-banner:after{background:linear-gradient(90deg,rgba(0,0,0,.76),rgba(0,0,0,.35) 55%,rgba(0,0,0,.05))}.promo-overlay{min-height:220px;padding:24px 42px}.promo-label{color:#63e6be}.promo-copy h1{font-size:30px}.promo-copy strong{color:#fff;font-size:20px}.promo-copy p{font-size:12px}.promo-cta{display:inline-block;margin-top:9px;font-size:11px;font-weight:900;color:#fff;background:rgba(15,143,120,.9);padding:7px 10px;border-radius:999px}.promo-arrow{width:34px;height:34px;font-size:25px;color:#0b2526}.promo-dots button.active{background:#16b894}.promotion-head{background:#fff;border:1px solid #e5e7eb;border-radius:18px;overflow:hidden;margin-top:14px}.promotion-head>img{width:100%;height:210px;object-fit:cover}.promotion-head>div{padding:18px}.promotion-head span{color:#0f8f78;font-size:11px;font-weight:900;letter-spacing:.1em}.promotion-head h1{margin:5px 0;font-size:28px}.promotion-head h2{margin:0;color:#0f8f78;font-size:21px}.promotion-head p{color:#6b7280}.promotion-rule{background:#f0faf7;border:1px solid #d6f1e9;border-radius:12px;padding:12px;font-size:13px;font-weight:700}.promotion-form{margin:15px 0 80px}.promotion-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.promotion-title strong{font-size:20px}.promotion-title p{margin:3px 0;color:#6b7280;font-size:12px}.promotion-title>span{background:#0b2526;color:#fff;border-radius:999px;padding:8px 11px;font-weight:900}.promotion-products{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.promotion-product{position:relative;display:block;background:#fff;border:2px solid #e5e7eb;border-radius:15px;overflow:hidden;cursor:pointer}.promotion-product input{position:absolute;opacity:0}.promotion-product input:checked~*{ }.promotion-product:has(input:checked){border-color:#0f8f78;box-shadow:0 0 0 3px rgba(15,143,120,.10)}.promotion-product img{width:100%;height:145px;object-fit:cover}.promotion-product>div{padding:10px}.promotion-product strong{display:block}.promotion-product small{display:block;color:#6b7280;margin-top:4px}.checkmark{position:absolute;right:8px;top:8px;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#fff;color:transparent;box-shadow:0 3px 10px rgba(0,0,0,.14);z-index:2}.promotion-product:has(input:checked) .checkmark{background:#0f8f78;color:#fff}.promotion-submit{width:100%;margin-top:14px;padding:14px}.promotion-builder{background:#f7faf9;border:1px solid #e1ece9;border-radius:14px;padding:15px}.promotion-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.promotion-fields.is-hidden{display:none}.promo-products-picker{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;max-height:260px;overflow:auto;padding:4px}.promo-product-option{display:flex;gap:8px;align-items:center;border:1px solid #e5e7eb;background:#fff;border-radius:12px;padding:9px}.promo-product-option input{width:18px}.promo-product-option span{display:flex;flex-direction:column}.promo-product-option small{color:#6b7280}.banner-promo-box{background:#f0faf7;border:1px solid #d6f1e9;border-radius:12px;padding:10px;margin-top:10px}.banner-promo-box small{display:block;color:#667085;margin-top:3px}.promo-chip-list{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.promo-chip-list span{font-size:11px;background:#fff;border:1px solid #d6f1e9;border-radius:999px;padding:5px 8px}.cart-promo-title{font-weight:900;color:#0f8f78;margin-bottom:4px}.cart-promo-items{font-weight:700}
@media(max-width:900px){.product-grid-mobile{grid-template-columns:repeat(2,minmax(0,1fr))}.promotion-products{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.container{width:min(100% - 24px,1180px)}.public-nav{min-height:58px}.brand{font-size:15px}.brand-logo{width:38px;height:38px}.cart-pill{font-size:13px}.hero-modern{padding:18px 0 22px}.hero-modern h1{font-size:28px}.hero-modern p{font-size:14px}.public-main{padding-bottom:35px!important}.section-title h2{font-size:25px}.promo-slider{height:190px;border-radius:15px}.promo-banner{min-height:190px}.promo-overlay{min-height:190px;padding:18px 38px 18px 18px}.promo-copy h1{font-size:24px}.promo-copy strong{font-size:17px}.promo-copy p{font-size:11px}.promo-cta{font-size:10px}.category-nav{margin-left:-4px;margin-right:-4px}.product-grid-mobile{gap:10px}.product-card-modern .product-photo,.product-card-modern .product-placeholder{height:150px}.product-card-modern .product-body{padding:10px}.product-card-modern h3{font-size:14px}.product-card-modern p{font-size:11px;min-height:30px}.product-card-modern .price{font-size:17px}.btn-add{font-size:11px;padding:8px 9px}.promotion-products{gap:9px}.promotion-product img{height:120px}.promotion-head>img{height:165px}.promotion-head h1{font-size:24px}.promotion-fields{grid-template-columns:1fr}.promo-products-picker{grid-template-columns:1fr}.banner-admin-grid{grid-template-columns:1fr}}
@media(max-width:420px){.product-grid-mobile{grid-template-columns:repeat(2,minmax(0,1fr))}.product-card-modern .product-photo,.product-card-modern .product-placeholder{height:138px}.product-card-modern .product-body{padding:9px}.product-card-modern p{display:none}.product-bottom{display:block}.btn-add{width:100%;margin-top:7px}.promo-slider{height:175px}.promo-banner,.promo-overlay{min-height:175px}.promo-copy h1{font-size:21px}.promo-copy strong{font-size:15px}.promotion-products{grid-template-columns:1fr 1fr}}

/* Pizza ½ a ½ */
.pizza-half-link{margin-left:auto;white-space:nowrap}
.pizza-half-form{max-width:820px;margin:18px auto;padding:22px}
.half-pizza-summary{display:flex;gap:16px;align-items:center;background:#fff7d6;border:1px solid #f3d36a;border-radius:18px;padding:16px;margin-bottom:18px}
.half-pizza-preview{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:#111;color:#ffd21c;font-size:28px;flex:0 0 auto}
.half-pizza-preview small{font-size:10px;font-weight:900;color:#fff}
.half-pizza-summary p{margin:5px 0 0;color:#555}
.half-pizza-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.half-pizza-total{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-top:1px solid #eee;margin-top:8px;font-size:16px}
.half-pizza-total strong{font-size:24px}
@media(max-width:700px){.pizza-half-link{margin-left:0;width:100%;text-align:center}.half-pizza-grid{grid-template-columns:1fr}.pizza-half-form{padding:16px}.half-pizza-summary{align-items:flex-start}}

/* V4.2 — mobile compact mode */
@media (max-width: 700px){
  .container{width:calc(100% - 18px)}
  .public-nav{min-height:52px;gap:8px}
  .brand{gap:7px;font-size:13px}
  .brand-mark{width:32px;height:32px;border-radius:9px}
  .brand small{font-size:9px}
  .nav-actions{gap:6px}
  .cart-pill{padding:8px 10px!important;font-size:11px!important;border-radius:10px!important}
  .hero-modern{padding:11px 0 14px}
  .hero-modern h1{font-size:24px!important;line-height:1.06;margin:3px 0 7px}
  .hero-modern p{font-size:12px!important;line-height:1.35;margin:0 0 10px}
  .hero-kicker,.section-kicker{font-size:9px;margin-bottom:4px}
  .btn-hero{padding:9px 15px;font-size:12px}
  main.public-main{padding:18px 0 42px}
  .section-title{margin-bottom:10px}
  .section-title h2{font-size:21px!important}
  .section-title p{font-size:12px}
  .category-nav{gap:6px;padding:2px 0 8px;margin-bottom:3px;top:52px}
  .category-pill{gap:4px;padding:7px 10px;font-size:11px;border-radius:12px}
  .search-modern{min-height:42px!important;border-width:1px!important}
  .search-box{margin-bottom:15px}
  .search-box input{padding:10px 12px 10px 38px;font-size:13px;border-radius:11px}
  .search-box span{left:12px;top:9px;font-size:17px}
  .category-block{margin-bottom:20px}
  .category-heading{gap:7px;margin-bottom:8px}
  .category-heading h2{font-size:19px!important}
  .category-heading p{font-size:11px}
  .category-icon{width:36px;height:36px;border-radius:10px;font-size:18px}
  .product-grid-mobile{gap:7px!important}
  .product-card-modern{border-radius:12px!important}
  .product-card-modern .product-photo,.product-card-modern .product-placeholder{height:112px!important}
  .product-card-modern .product-body{padding:7px!important}
  .product-card-modern h3{font-size:12px!important;line-height:1.15}
  .product-card-modern .price{font-size:15px!important}
  .btn-add{font-size:10px!important;padding:7px 6px!important;border-radius:8px!important}
  .pizza-half-link{font-size:11px!important;padding:7px 9px!important}
  .mobile-cart-bar{padding:8px 12px!important;min-height:52px!important}
  .promo-slider{height:150px!important;border-radius:12px!important}
  .promo-banner,.promo-overlay{min-height:150px!important}
  .promo-overlay{padding:12px 30px 12px 13px!important}
  .promo-copy h1{font-size:18px!important}
  .promo-copy strong{font-size:13px!important}
  .promo-copy p{font-size:9px!important}
}
@media (max-width: 420px){
  .public-nav{min-height:50px}
  .brand{font-size:12px}
  .brand-mark{width:30px;height:30px}
  .cart-pill{font-size:10px!important;padding:7px 9px!important}
  .hero-modern{padding:9px 0 11px}
  .hero-modern h1{font-size:21px!important}
  .hero-modern p{font-size:11px!important}
  .category-pill{padding:6px 9px;font-size:10px}
  .category-heading h2{font-size:18px!important}
  .product-card-modern .product-photo,.product-card-modern .product-placeholder{height:100px!important}
  .product-card-modern h3{font-size:11px!important}
}

/* V4.4 - banners clicáveis e página de detalhes */
.promo-click{cursor:pointer}
.promo-cta{display:inline-flex;align-items:center;margin-top:13px;padding:9px 12px;border-radius:10px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);font-size:12px;font-weight:900}
.banner-info-page{padding:28px 0 60px}
.back-link{display:inline-block;margin-bottom:14px;text-decoration:none;font-weight:800}
.banner-info-card{overflow:hidden;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}
.banner-info-image{display:block;width:100%;max-height:380px;object-fit:cover}
.banner-info-content{padding:26px}
.banner-info-content h1{margin:6px 0 10px;font-size:clamp(28px,5vw,44px)}
.banner-info-price{font-size:25px;font-weight:950;color:var(--my-red);margin:8px 0 12px}
.banner-info-description{color:var(--muted);font-size:16px;line-height:1.6}
.banner-info-products{margin-top:20px;padding:18px;border-radius:16px;background:#f7f8f8;border:1px solid var(--line)}
.banner-info-products h2{margin:0 0 5px;font-size:20px}
.banner-info-cta{margin-top:18px}
@media(max-width:560px){
  .banner-info-page{padding:18px 0 45px}
  .banner-info-content{padding:20px}
  .banner-info-image{max-height:260px}
  .banner-info-price{font-size:21px}
}

/* CORREÇÃO V4.4.1 — clique no banner deve passar por cima da camada visual */
.promo-banner:after{z-index:1;pointer-events:none}
.promo-click{z-index:2;pointer-events:auto;cursor:pointer}
.promo-click img{pointer-events:none}
