body { font-family: 'Roboto', sans-serif; margin: 0; padding: 20px; background-color: #f9f9f9; padding-bottom: 100px; }
h1 { text-align: center; color: #333; display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 20px; }
.logo { height: 70px; width: auto; border-radius: 12px; }
.container { max-width: 800px; margin: auto; padding-top: 150px; }
.loading-text { margin-top: 10px; color: #888; font-size: 0.8em; }
#loading-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #ffffff; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.5s ease; }
.loader-logo { width: 90px; height: auto; margin-bottom: 20px; animation: pulse 1.5s infinite; border-radius: 10px; }
.progress-container { width: 150px; height: 4px; background-color: #eee; border-radius: 10px; overflow: hidden; }
.progress-bar { width: 0%; height: 100%; background-color: #ccc; transition: width 0.6s ease, background-color 0.3s ease; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 0.8; } 50% { transform: scale(1.05); opacity: 1; } }
#toast-container { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 10000; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast { background: #333; color: white; padding: 10px 20px; border-radius: 50px; font-size: 0.85em; box-shadow: 0 4px 15px rgba(0,0,0,0.3); animation: slideDown 0.3s forwards; }
@keyframes slideDown { from { transform: translateY(-50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.section-title { font-size: 1.1em; font-weight: bold; color: #388e3c; margin: 25px 0 12px; padding-left: 8px; border-left: 4px solid; text-transform: uppercase; }
.menu-item { background: #fff; border-radius: 15px; padding: 15px; margin-bottom: 12px; display: flex; align-items: flex-start; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.item-image { width: 80px; height: 80px; object-fit: cover; border-radius: 12px; margin-right: 15px; flex-shrink: 0; }
.item-details { flex-grow: 1; position: relative; }
.item-header-clickable { display: flex; justify-content: space-between; align-items: center; width: 100%; cursor: pointer; }
.item-name { font-weight: bold; font-size: 1em; color: #333; }
.toggle-icon { font-size: 0.9em; transition: transform 0.3s ease; color: #bbb; }
.item-description { color: #777; font-size: 0.85em; margin: 4px 0 8px; line-height: 1.3; padding-right: 10px; }
.item-price { font-weight: bold; color: #000; font-size: 1.05em; }
.options-and-footer-container { display: none; margin-top: 15px; padding-top: 10px; border-top: 1px dashed #eee; }
.footer-action { display: flex; justify-content: flex-end; width: 100%; margin-top: 10px; }
.add-to-cart-btn { background-color: var(--cor-site); color: white; padding: 8px 18px; border: none; border-radius: 8px; cursor: pointer; font-weight: bold; font-size: 0.9em; transition: opacity 0.2s; }
.add-to-cart-btn:active { opacity: 0.7; }
.option-group h4 { margin: 10px 0 5px; font-size: 0.9em; color: #666; background: #f5f5f5; padding: 4px 10px; border-radius: 4px; }
.option-list-item { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; font-size: 0.9em; }
.quantity-controls { display: flex; align-items: center; gap: 8px; }
.quantity-controls button { border: none; color: white; width: 24px; height: 24px; border-radius: 6px; cursor: pointer; font-weight: bold; }
.quantity-controls input { width: 25px; text-align: center; border: none; background: transparent; font-weight: bold; font-size: 0.95em; }
#cart-float { position: fixed; top: 20px; right: 20px; bottom: auto; color: white; padding: 10px 15px; border-radius: 50px; cursor: pointer; font-size: 1.2em; z-index: 1000; display: flex; align-items: center; gap: 8px; }
.search-container { max-width: 800px; margin: 10px auto; display: flex; align-items: center; gap: 10px; padding: 10px 18px; background: #fff; border-radius: 50px; border: 1px solid #ddd; }
#search-input { border: none; outline: none; background: transparent; width: 100%; font-size: 0.95em; }
#cart-modal { display: none; position: fixed; z-index: 1001; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); backdrop-filter: blur(2px); }
.cart-modal-content { background: #fff; padding: 20px; width: 85%; max-width: 380px; border-radius: 15px; }
@media (max-width: 600px) {
  .cart-modal-content { position: fixed; bottom: 0; left: 0; width: 100%; max-width: 100%; height: 90vh; margin: 0; padding: 0; border-radius: 18px 18px 0 0; display: flex; flex-direction: column; animation: slideUp 0.25s ease; }
  .cart-header { padding: 16px; font-weight: bold; font-size: 1em; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; background: #fff; }
  .cart-body { flex: 1; overflow-y: auto; padding: 12px 16px; }
  .cart-footer { padding: 14px 16px; border-top: 1px solid #eee; background: #fff; }
  .cart-footer button { width: 100%; padding: 14px; font-size: 1em; border-radius: 10px; }
  .drag-handle { width: 40px; height: 4px; background: #ccc; border-radius: 10px; margin: 8px auto; }
  body { padding: 12px; padding-bottom: 120px; }
  .logo { height: 55px; }
  .container { max-width: 100%; }
  .menu-item { padding: 12px; gap: 10px; }
  .item-image { width: 65px; height: 65px; margin-right: 10px; }
  .item-name { font-size: 0.95em; }
  .item-description { font-size: 0.8em; }
  .item-price { font-size: 1em; }
  .add-to-cart-btn { padding: 10px 14px; font-size: 0.85em; }
  #cart-float { top: auto; bottom: 20px; right: 20px; padding: 12px 16px; font-size: 1.1em; box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
  #cart-items { max-height: 40vh; overflow-y: auto; }
  .search-container { position: sticky; top: 8px; padding: 10px 14px; z-index: 900; }
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (min-width: 601px) {
  #cart-modal { display: none; justify-content: flex-end; align-items: stretch; }
  #cart-modal[style*="block"] { display: flex !important; }
  .cart-modal-content { position: relative; width: 420px; max-width: 420px; height: 100vh; border-radius: 0; animation: slideLeft 0.25s ease; display: flex; flex-direction: column; }
  .drag-handle { display: none; }
  #close-cart { position: fixed; top: 20px; right: 20px; font-size: 1.8em; color: #555; cursor: pointer; z-index: 1100; background: #fff; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(0,0,0,0.15); transition: transform 0.2s ease, opacity 0.2s ease; }
  #close-cart:hover { transform: scale(1.1); opacity: 0.7; }
}
@keyframes slideLeft { from { transform: translateX(100%); } to { transform: translateX(0); } }
#close-cart { cursor: pointer; font-size: 1.3em; }
#cart-modal label { font-weight: bold; font-size: 0.9em; display: block; }
#client-name, #tipo-entrega, #select-bairro { width: 100%; margin: 8px 0 15px; padding: 12px; border: 1px solid #ddd; border-radius: 8px; box-sizing: border-box; }
#select-bairro { background-color: #fff; font-family: 'Roboto', sans-serif; font-size: 0.95em; color: #333; appearance: none; cursor: pointer; transition: border-color 0.2s; }
#select-bairro:focus { border-color: #388e3c; outline: none; }
#cart-items { max-height: 35vh; overflow-y: auto; margin-bottom: 10px; }
.top-header { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; background: transparent; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1000; }
.fixed-top-container { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background-color: #f9f9f9; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.header-left { display: flex; align-items: center; gap: 10px; }
.logo { width: 40px; height: 40px; border-radius: 50%; }
.header-texts { display: flex; align-items: center; }
.company-name { font-size: 20px; font-weight: bold; color: #333; }
.header-right { display: flex; align-items: center; gap: 6px; margin-right: 70px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: red; }
.status-text { display: flex; flex-direction: column; font-size: 12px; }
#status-text { font-weight: bold; color: #333; }
.modal { display: none; position: fixed; z-index: 9999; inset: 0; background-color: rgba(0,0,0,0.6); justify-content: center; align-items: center; }
.modal.ativo { opacity: 1; pointer-events: auto; display: flex; justify-content: center; align-items: center; }
.modal-content { background: #fff; padding: 20px; width: 90%; max-width: 420px; border-radius: 10px; max-height: 90vh; overflow-y: auto; }
#site-footer { margin-top: 40px; background: #f9f9f9; text-align: center; font-family: 'Roboto', sans-serif; }
.footer-line { height: 5px; width: 100%; background: var(--theme-color); }
.footer-content { padding: 20px; }
.footer-content h3 { margin: 10px 0 5px; }
.footer-content p { margin: 3px 0; color: #666; font-size: 0.9em; }
.footer-social { margin-top: 15px; }
.footer-social a { margin: 0 8px; font-size: 20px; color: #fff; background: var(--cor-site); padding: 10px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: transform 0.2s ease, opacity 0.2s ease; }
.footer-social a:hover { transform: scale(1.1); opacity: 0.85; }
.footer-social a i { color: inherit; }
:root { --cor-site: #28a745; }
.btn-social { background-color: var(--cor-site); color: #fff; border: none; }
