body {
  overflow-x: hidden;
  background-color: #f8f9fa;
  padding-top: 210px; /* Altura do mini-header (60px) + logo-container (150px) */
}

.logo-container {
  background-color: white; /* fundo branco */
  border-bottom: 1px solid #ccc;
  position: fixed;
  top: 60px;
  width: 100%;
  height: 200px;
  overflow: hidden;
  z-index: 2000;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  will-change: transform;
}

.logo-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sobre-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
}

.info-topo {
  position: relative;
  top: 0;
  z-index: 800;
  background-color: #fff;
  transition: transform 0.3s ease;
  will-change: transform;
}


.icone-redondo {
  width: 80px;
  height: 80px;
  background-color: white;
  border-radius: 50%;
  border: 3px solid #ccc;
  margin: 0 auto 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.icone-redondo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dados-empresa {
  font-size: 0.75rem;
  white-space: normal;
  word-break: break-word;
  padding: 0 5px;
  color: #fff; /* Texto branco */
}


.main-container {
  display: flex;
  flex-direction: row;
  margin-top: 50px;
  padding: 0 15px;
}

.produtos {
  flex: 1;
  padding-right: 15px;
  margin-right: 320px;
}

.carrinho-lateral {
  width: 320px;
  background-color: #fff;
  border-left: 1px solid #ddd;
  position: fixed;
  top: 260px;
  right: 0;
  height: calc(100% - 260px);
  overflow-y: auto;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  z-index: 2200; /* maior que 2000 e 2100 */
  transition: transform 0.3s ease-in-out;
  transform: translateX(0);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

#btn-toggle-carrinho {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2500;
  font-size: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#lista-carrinho {
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.item-carrinho {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e0e0e0;
  padding: 8px 0;
  font-size: 0.95rem;
  align-items: center;
}

.item-carrinho button {
  margin-left: 8px;
}

.total {
  font-weight: bold;
  font-size: 1.2rem;
  text-align: right;
  margin-bottom: 15px;
}

#dados-cliente label {
  font-size: 0.9rem;
  font-weight: 500;
}

.barra-busca {
  max-width: 500px;
  margin: 0 auto;
}

/* Modal acima da logo */
.modal {
  z-index: 2100 !important;
}

.modal-backdrop {
  z-index: 2090 !important;
}

body.modal-open .logo-container {
  z-index: 1000;
}

.status-servidor{	
	padding: 10px; 
	text-align:center; 
	font-weight:bold;
}

.btn-info-empresa {
  background: transparent;
  border: none;
  color: #fff;
  text-decoration: underline;
  font-size: 0.9rem;
  margin-left: 5px;
  cursor: pointer;
}

.btn-info-empresa:hover {
  text-decoration: none;
}

.modal-overlay {
  display: none; /* <- importante para não abrir automático */
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}


.modal-conteudo {
  background: #fff;
  color: #000;
  padding: 20px 25px;
  border-radius: 12px;
  max-width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}


.btn-fechar {
  margin-top: 15px;
  background-color: #333;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.mini-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid #ddd;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  z-index: 2100;
}

.logo-mini {
  height: 40px;
  margin-right: 15px;
}

#campo-busca {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}


/* Responsividade */
@media (max-width: 992px) {
  .main-container {
    flex-direction: column;
    margin-top: 40px;
    padding: 10px;
  }

  .produtos {
    padding-right: 0;
    margin-right: 0;
  }

  .carrinho-lateral {
    position: fixed;
    top: 140px;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: calc(100% - 140px);
    border-left: none;
    border-top: 1px solid #ddd;
    background-color: #fff;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
  }

  .carrinho-lateral.show {
    transform: translateX(0);
  }

  #btn-toggle-carrinho {
    display: block;
  }

  .logo-container {
    height: 200px;
    padding: 8px 0;
  }

  .logo-container img {
    height: 100%;
  }  

  .icone-redondo {
    width: 60px;
    height: 60px;
  }

  .dados-empresa {
    font-size: 0.75rem;
    white-space: normal;
    word-break: break-word;
    padding: 0 5px;
  }
}

