/* Padronização definitiva dos cards da Home */
.menu-grid-v09{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
}
.menu-tile{
  position:relative !important;
  min-height:154px !important;
  border-radius:18px !important;
  overflow:hidden !important;
  border:1px solid rgba(87,56,39,.12) !important;
  box-shadow:0 4px 14px rgba(46,28,18,.08) !important;

  background-color:#fff !important;
  background-repeat:no-repeat !important;
  background-position:center top !important;
  background-size:100% 116px !important;

  padding:116px 14px 0 !important;
  isolation:isolate !important;
}

.menu-tile::before{
  content:none !important;
}

.menu-tile::after{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  height:38px !important;
  z-index:2 !important;
  background:#fff !important;
  border-top:1px solid rgba(87,56,39,.08) !important;
  pointer-events:none !important;
}

.menu-tile .label{
  position:absolute !important;
  z-index:4 !important;
  left:14px !important;
  right:14px !important;
  bottom:10px !important;
  margin:0 !important;

  color:#7d201b !important;
  font-family:Georgia,serif !important;
  font-size:17px !important;
  font-weight:700 !important;
  line-height:1.1 !important;
  text-shadow:none !important;
}

.menu-tile.disabled{
  opacity:.58 !important;
  filter:saturate(.72) !important;
}

/* Rodapé: uma única linha real */
.site-footer{
  margin:24px -16px 0 !important;
  padding:12px 10px calc(12px + env(safe-area-inset-bottom)) !important;
  background:#160d0b !important;
  border-top:1px solid rgba(255,255,255,.05) !important;
  color:#cbbdb3 !important;
}
.site-footer .footer-one-line{
  display:flex !important;
  flex-direction:row !important;
  flex-wrap:nowrap !important;
  align-items:center !important;
  justify-content:center !important;
  gap:7px !important;
  width:100% !important;
  white-space:nowrap !important;
  font-size:10.5px !important;
  line-height:1 !important;
  color:#cbbdb3 !important;
  overflow:hidden !important;
}
.site-footer .footer-one-line > span{
  display:inline-flex !important;
  align-items:center !important;
  flex:0 0 auto !important;
}
.site-footer .footer-dot{opacity:.42 !important}
.site-footer .footer-whatsapp{gap:4px !important}
.site-footer .wa-mark{
  display:inline-flex !important;
  width:17px !important;
  height:17px !important;
  border-radius:50% !important;
  align-items:center !important;
  justify-content:center !important;
  background:#25D366 !important;
  color:#fff !important;
  font-size:10px !important;
  font-family:Arial,sans-serif !important;
  font-weight:700 !important;
}

@media (max-width:390px){
  .menu-tile{min-height:146px !important;background-size:100% 108px !important;padding-top:108px !important}
  .menu-tile .label{font-size:15.5px !important;left:12px !important;right:12px !important;bottom:10px !important}
  .site-footer .footer-one-line{font-size:9.2px !important;gap:5px !important}
  .site-footer .wa-mark{width:15px !important;height:15px !important;font-size:9px !important}
}

.auth-wrap{max-width:520px;margin:0 auto}
.auth-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;box-shadow:0 8px 24px #0000000b}
.auth-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px;background:#f3ece5;border-radius:14px;padding:5px}
.auth-tab{border:0;background:transparent;padding:11px;border-radius:10px;font-weight:800;color:var(--muted);cursor:pointer}
.auth-tab.active{background:#fff;color:var(--wine);box-shadow:0 2px 8px #00000010}
.auth-form{display:none}.auth-form.active{display:block}
.form-group{margin-bottom:13px}
.form-group label{display:block;font-weight:800;margin-bottom:6px;color:var(--ink)}
.form-group input{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 13px;font-size:16px;background:#fff}
.form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.auth-note{font-size:12px;color:var(--muted);line-height:1.45;margin-top:10px}
.auth-error{display:none;background:#fff0f0;border:1px solid #efcaca;color:#8f2229;border-radius:11px;padding:10px 12px;font-size:13px;margin-bottom:12px}
.auth-success{display:none;background:#edf8ef;border:1px solid #cfe7d3;color:#2f6f43;border-radius:11px;padding:10px 12px;font-size:13px;margin-bottom:12px}
.profile-card{background:white;border:1px solid var(--line);border-radius:20px;padding:20px}
.profile-avatar{width:58px;height:58px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#f1e4dc;color:var(--wine);font-family:Georgia,serif;font-size:24px;font-weight:700}
.profile-head{display:flex;align-items:center;gap:13px;margin-bottom:18px}
.profile-head h2{margin:0;font-family:Georgia,serif;color:var(--wine)}
.profile-head p{margin:4px 0 0;color:var(--muted);font-size:13px}
.profile-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-top:1px solid #eee4dc}
.profile-row span{color:var(--muted);font-size:13px}.profile-row strong{text-align:right;font-size:14px}
.profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}
.auth-required{background:#fff7e6;border:1px solid #efd6a4;color:#76531b;border-radius:12px;padding:11px 12px;font-size:13px;margin-bottom:14px}
@media(max-width:480px){.form-grid-2{grid-template-columns:1fr}}
""
.order-history-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:14px;margin-bottom:10px}
.order-history-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}
.order-history-card h3{margin:0 0 4px;font-size:17px}
.order-history-meta{font-size:12px;color:var(--muted);line-height:1.45}
.order-history-items{margin-top:9px;padding-top:9px;border-top:1px solid #eee4dc;font-size:13px;color:#4c403b}
.order-history-items div{margin:3px 0}
.confirm-order-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px}
.confirm-customer{background:#f7f1ea;border-radius:14px;padding:12px;margin-bottom:13px}
.confirm-customer b{color:var(--wine)}
.order-counter{display:inline-flex;align-items:center;gap:6px;background:#f1e7df;color:var(--wine);border-radius:999px;padding:6px 9px;font-size:12px;font-weight:800}
""
.verify-box{background:#fff8e8;border:1px solid #ead6aa;border-radius:14px;padding:14px;margin-top:12px}
.verify-code{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.verify-code input{flex:1;min-width:160px;font-size:22px;letter-spacing:6px;text-align:center}
.verify-meta{font-size:12px;color:var(--muted);margin-top:8px;line-height:1.45}
.verify-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}
.hidden{display:none!important}
""
.verify-methods{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:4px 0 14px}
.verify-method{border:1px solid var(--line);border-radius:12px;padding:11px;background:#fff;display:flex;gap:8px;align-items:flex-start;cursor:pointer}
.verify-method.selected{border-color:var(--wine);background:#fff8f5}
.verify-method input{margin-top:2px}
.verify-method strong{display:block;font-size:13px}
.verify-method span{display:block;font-size:11px;color:var(--muted);margin-top:2px;line-height:1.35}
""
.addons-modal-backdrop{display:none;position:fixed;inset:0;background:#0008;z-index:3000;align-items:flex-end;justify-content:center;padding:12px}
.addons-modal-backdrop.show{display:flex}
.addons-modal{background:#fff;border-radius:20px 20px 14px 14px;width:min(620px,100%);max-height:78vh;overflow:auto;padding:18px}
.addons-modal h2{margin:0;color:var(--wine);font-family:Georgia,serif}
.addons-modal p{color:var(--muted);font-size:13px}
.addon-option{display:flex;align-items:center;gap:10px;border-top:1px solid #eee4dc;padding:12px 0}
.addon-option input{width:20px;height:20px}
.addon-option-main{flex:1;min-width:0}
.addon-option-main b{display:block}
.addon-option-main span{font-size:12px;color:var(--muted)}
.addon-price{font-weight:800;color:var(--wine);white-space:nowrap}
.addons-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
@media(max-width:420px){.addons-actions{grid-template-columns:1fr}}
""
.brand img,.home-brandbar img{cursor:pointer}
.brand img:focus,.home-brandbar img:focus{outline:2px solid #d9a21b;outline-offset:4px;border-radius:6px}
.home-brandbar{position:relative;gap:12px}
.home-search-wrap{position:relative;flex:1;min-width:0;max-width:430px}
.home-search{
  width:100%;height:44px;border:1px solid #e2d5ca;border-radius:14px;
  background:#fff;padding:0 42px 0 14px;font-size:15px;color:var(--ink);
  outline:none;box-shadow:0 2px 8px #00000008
}
.home-search:focus{border-color:#b88a73;box-shadow:0 0 0 3px rgba(159,32,39,.08)}
.home-search-icon{position:absolute;right:14px;top:50%;transform:translateY(-50%);font-size:18px;color:#8c766b;pointer-events:none}
.home-search-results{
  display:none;position:absolute;z-index:1200;left:0;right:0;top:50px;
  background:#fff;border:1px solid #e2d5ca;border-radius:14px;
  box-shadow:0 14px 36px #0002;overflow:hidden;max-height:330px;overflow-y:auto
}
.home-search-results.show{display:block}
.home-search-item{
  width:100%;border:0;border-bottom:1px solid #f0e7df;background:#fff;
  padding:11px 12px;text-align:left;cursor:pointer;display:flex;
  justify-content:space-between;gap:12px;align-items:center
}
.home-search-item:last-child{border-bottom:0}
.home-search-item:hover,.home-search-item:focus{background:#fbf6f2;outline:none}
.home-search-item b{display:block;font-size:14px;color:var(--ink)}
.home-search-item small{display:block;color:var(--muted);font-size:11px;margin-top:2px}
.home-search-price{white-space:nowrap;font-weight:800;color:var(--wine);font-size:13px}
.home-search-empty{padding:13px;color:var(--muted);font-size:13px}
@media(max-width:560px){
  .home-brandbar{display:grid!important;grid-template-columns:auto 1fr auto;gap:8px}
  .home-brandbar img{width:92px!important}
  .home-search-wrap{max-width:none}
  .home-search{height:42px;font-size:14px;padding-left:11px}
  .home-brandbar .top-cart{padding:9px 10px;font-size:0}
  .home-brandbar .top-cart .cart-count{font-size:13px}
}
""
