 ::selection {
background-color: #ff000075;
    color: #000;          
  }
  a, span, img, button, div, label, menu {
    -webkit-tap-highlight-color: #ffffff00; }
    * { box-sizing: border-box; margin: 0; padding: 0; 
  font-family: "Onest", sans-serif;

}
html {
  scroll-behavior: smooth;
}    
body {
  font-family: "Onest", sans-serif;
background-color: #f8f9fa; 
color: #333;
}

    /* ESTADOS DA PÁGINA */
    .view-section { display: none; }
    .view-section.active { display: block; }

    /* --- ESTILOS DA LANDING PAGE (NOVOS CLIENTES) --- */
    .landing-hero {
      background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
      color: #fff;
      padding: 60px 20px;
      text-align: center;
    }
    .landing-hero h1 { font-size: 2.2rem; margin-bottom: 12px; }
    .landing-hero p { font-size: 1.1rem; opacity: 0.9; max-width: 600px; margin: 0 auto 24px; }
    .btn-landing {
      display: inline-block;
      background: #fff;
      color: #075e54;
      padding: 14px 28px;
      border-radius: 15px;
      font-weight: bold;
      text-decoration: none;
      font-size: 1rem;

    }
    .landing-features {
      max-width: 900px;
      margin: 40px auto;
      padding: 0 20px;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 20px;
    }
    .feature-card {
      background: #fff;
      padding: 24px;
      border-radius: 12px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
      text-align: center;
    }
    .feature-card h3 { margin-bottom: 8px; color: #128c7e; }

    /* --- ESTILOS DO CARDÁPIO DA LOJA --- */
    .store-header {
      background: #fff;
      border-bottom: 1px solid #eee;
      text-align: center;
      position: relative;
	  padding-top: 10px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 5px;
    }
    .store-avatar {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid #b90000;
    
    }
    .store-name { font-size: 1.4rem; color: #1a1a1a; margin-bottom: 4px; }
    .store-location { font-size: 0.85rem; color: #666; margin-bottom: 8px; }
    
    /* Badges de Status (Aberto/Fechado) */
    .status-badge {
      display: inline-block;
      padding: 4px 12px;
      border-radius: 12px;
      font-size: 0.75rem;
      font-weight: bold;
      text-transform: uppercase;
      margin-bottom: 12px;
    }
    .status-badge.open { background: #e8f5e9; color: #2e7d32; }
    .status-badge.closed { background: #ffebee; color: #c62828; }

    .store-hours-summary {
      font-size: 0.8rem;
      color: #777;
      background: #f0f0f0;
      padding: 8px 12px;
      border-radius: 8px;
      display: inline-block;
      max-width: 90%;
    }

    .store-hours-summary:active {
      font-size: 0.8rem;
      color: #777;
      background: #c8e6c9;
      padding: 8px 12px;
      border-radius: 8px;
      display: inline-block;
      max-width: 90%;
    }


    /* BARRA DE CATEGORIAS FIXA (STICKY) */
    .categories-bar {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding: 10px 16px;
      background: #fff;
      border-bottom: 1px solid #e0e0e0;
      white-space: nowrap;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 5px rgba(0,0,0,0.03);
     
    }
    .categories-bar::-webkit-scrollbar { display: none; }
    .categories-bar { -ms-overflow-style: none; scrollbar-width: none; }

    .category-badge {
      background: #f0f0f0;
      color: #555;
      border: 1px solid #ddd;
      padding: 6px 14px;
      border-radius: 16px;
      font-size: 0.85rem;
      font-weight: 600;
      user-select: none;
      cursor: pointer;
      transition: all 0.2s ease;
    }
    .category-badge.active {
      background: #f5e8e8;
      color: #7d2e2e;
      border-color: #e6c8c8;
    }

    /* Navegação do Menu */
    .menu-container { max-width: 600px; margin: 0 auto; padding: 16px; }
    
    .category-title {
      font-size: 1.1rem;
      color: #777;
      margin: 20px 0 10px;
      border-bottom: 2px solid #777;
      padding-bottom: 4px;
    }

    .category-section {
      display: block;
    }

    .product-card {
      background: #e8e8e8;
      border-radius: 15px;
      padding: 0px;
      height: 100px;
      margin-bottom: 10px;
      display: flex;
min-block-size: fit-content;
      justify-content: space-between;
      align-items: center;

    }

.product-image {
  width: 100px;
  height: 100px;
  border-radius: 15px;
  object-fit: cover;
  margin-right: 0px;
  flex-shrink: 0;
  
}

.product-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 12px;
}
.product-info product-details{

margin-left: 12px;
    text-align: left;
}


    .product-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
    .product-info p { font-size: 0.8rem; color: #666; margin-bottom: 6px; }
    .product-price { font-weight: bold; color: #009b52; font-size: 0.9rem; }
    
/* --- MODAL DE DETALHES DO PRODUTO --- */
    .product-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    background: rgb(0 0 0 / 50%);
      z-index: 2500;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 20px;
    }
    .product-modal.active {
      opacity: 1;
      visibility: visible;
overscroll-behavior: contain;
    overflow: hidden;
backdrop-filter:blur(10px) saturate(0.0);

    }
#productmd{




} 
#productmd.active{
 animation: scaleUp 0.2s ease;


} 
    .product-modal-content {
      background: #fff;
      width: 100%;
      max-width: 450px;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 15px 25px rgb(0 0 0 / 50%);
      display: flex;
      flex-direction: column;

    }
    @keyframes scaleUp {
       0% { transform: scale(0.8); }
      100% { transform: scale(1); }

    }


    .product-modal-img {
height: 128px;
    width: 128px;
   
    object-fit: fill;
    border-radius: 15px;
    inline-size: fit-content;

    align-self: center;
 
 
    border: #fff;
   
}
    
    .product-modal-body {
     padding: 0px 20px 0px 20px;
    }
    .product-modal-body h3 {
      font-size: 1.2rem;
      margin-bottom: 8px;
      color: #1a1a1a;
    }
    .product-modal-body p {
      font-size: 0.9rem;
      color: #666;
      margin-bottom: 16px;
      line-height: 1.4;
      word-break: break-word;
    }
    .product-modal-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-top: 1px solid #eee;
      padding: 16px 20px;
      background: #fafafa;
    }

#share{
	margin-left: auto;
    padding: 10px;
    cursor: pointer;
    border-radius: 15pc;
    border: none;	
}

    .btn-add {
background: #b90000;
    color: #fff;
    border: none;
    padding: 9px 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 12px;
    margin-left: 12px;

    }
    .btn-add:active { 
background: #ff0000;
    color: #fff;
    border: none;
    padding: 9px 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 12px;
    margin-left: 12px;
	animation: cartBounce 0.2s ease-out;
    }
.btn-view{
cursor: pointer;
    background: #f8f9fa;
 
    padding: 0px;
    height: 100px;

    display: flex;
    min-block-size: fit-content;
    justify-content: space-between;
    align-items: center;
    border: none;
    width: stretch;
}
.btn-view:active{
cursor: pointer;
   background: #fff;

    padding: 0px;
    height: 100px;

    display: flex;
    min-block-size: fit-content;
    justify-content: space-between;
    align-items: center;
    border: none;
    width: stretch;
}
.btn-view:active .product-image{
    mix-blend-mode: luminosity;  
}
.btn-view:active .product-card{
  box-shadow: none;
}
/* --- ÍCONE DO CARRINHO (TOPO DIREITO) --- */
    .cart-float-btn {
      position: fixed;
      top: 50px;
      right: 15px;
      background: #b90000;
      color: #fff;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
box-shadow: 0 4px 5px 0px rgb(0 0 0 / 50%);
      cursor: pointer;
      z-index: 1000;
      transition: transform 0.2s ease;
    }
    .cart-float-btn:active { transform: scale(0.9)
background: #ff0000 }
    .cart-badge-count {
      position: absolute;
      top: -5px;
      right: 41px;
background: #5bff00;
color: #000;
      font-size: 0.75rem;
      font-weight: bold;
      width: 25px;
      height: 25px;
      border-radius: 50%;
      display: flex;
	    animation: slideUp 1s ease;
      align-items: center;
      justify-content: center;
    box-shadow: 0 0px 5px 1px rgb(0 0 0 / 50%);
    }

    /* Animação de Pulo do Ícone */
    @keyframes cartBounce {
      0% { transform: scale(1); }
      50% { transform: scale(1.3); }
      100% { transform: scale(1); }
    }
    .cart-pop { 

	animation: cartBounce 0.4s ease; }

    /* --- MODAL DO CARRINHO TELA CHEIA --- */
    .cart-modal {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      z-index: 2000;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease, visibility 0.3s ease;
      display: flex;
      justify-content: center;
      align-items: flex-end;
    }
    .cart-modal.active {
      opacity: 1;
      visibility: visible;
overscroll-behavior: contain;
    overflow: hidden;
  }
    .cart-content {
      background: #fff;
      width: 100%;
      max-width: 600px;
      height: 100%;
      display: flex;
      flex-direction: column;
      box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
      animation: slideUp 0.3s ease;
    }
    @keyframes slideUp {
      from { transform: translateY(100%); }
      to { transform: translateY(0); }
    }
    .cart-header {
      padding: 16px 20px;
      background: #128c7e;
      color: #fff;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .cart-header h2 { font-size: 1.2rem; }
    .btn-close-cart {
      background: none;
      border: none;
      color: #fff;
      font-size: 1.5rem;
      cursor: pointer;
      font-weight: bold;
    }
    .cart-body {
      flex: 1;
      overflow-y: auto;
      padding: 0px 20px;
    }
    .cart-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 5px 0px;
      border-bottom: 1px solid #d8d8d8;
    }
    .cart-item-info h4 { font-size: 0.95rem; margin-bottom: 4px; }
    .cart-item-info span { font-size: 0.85rem; color: #009b52; font-weight: bold; }
    .cart-controls {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .btn-qty {
      background: #e0e0e0;
      border: none;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      font-weight: bold;
      cursor: pointer;
	  scale: 1.5;
    }
    .cart-footer {
      padding: 20px;
      border-top: 1px solid #eee;
      background: #fafafa;
    }
    .cart-total-row {
      display: flex;
      justify-content: space-between;
      font-size: 1.1rem;
      font-weight: bold;
      margin-bottom: 16px;
    }
    .cart-form-group { margin-bottom: 12px; }
    .cart-form-group label { display: block; font-size: 0.8rem; font-weight: bold; color: #555; margin-bottom: 4px; }
    .cart-form-group input, .cart-form-group select, .cart-form-group textarea {
      width: 100%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 0.9rem;
    }
/* Estilos do Modal de Horários */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 50%);
  justify-content: center;
  align-items: center;
  z-index: 9999;
backdrop-filter:blur(10px) saturate(0.0);
}

.modal-overlay.active {
  display: flex;
    overscroll-behavior: contain;
    overflow: hidden;
}

.modal-card {
  background: #ffffff;
  border-radius: 12px;
  width: 90%;
  max-width: 380px;
  padding: 20px;
  box-shadow: 0 15px 25px rgb(0 0 0 / 50%);
  animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #333333;
}

.btn-fechar {
  background: transparent;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #888888;
  line-height: 1;
}

.btn-fechar:hover {
  color: #000000;
}

.horario-linha {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #dddddd;
  font-size: 0.95rem;
}

.horario-linha:last-child {
  border-bottom: none;
}

.horario-dia {
  font-weight: 700;
  color: #444444;
}

.horario-status {
    color: #009908;
    font-weight: 500;
}

.horario-status.fechado {
  color: #c62828;
}


    /* Estado de Erro/Não Encontrado */
    .not-found-box { text-align: center; padding: 60px 20px; }