

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    margin: 0;
    background: var(--bg-principal);
    color: var(--text-principal);
}

#theme-toggle{
  background-color: #ffeacf;
  padding: 5px;
  border-radius: 5px;
}


#status-loja {
  font-size:12px; 
  font-weight:bold; 
  margin-top:10px; 
  display:block;
}

.menu-fixo {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-cart);
  padding: 10px;
  text-transform: uppercase;
  display: flex;
  gap: 8px;
  justify-content: center;
  z-index: 1000;
}

.menu-fixo a {
  background: var(--text-principal);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  color: var(--bg-secundaria);
  white-space: nowrap;
}

.menu-fixo a:hover {
  background: #f2c993;
}

body {
  padding: 70px 20px 20px;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}

.logo-img {
    width: 200px;
    height: 100px;
    object-fit: contain;
}

.titulo-categoria, .titulo-cart {
    font-family: "Alice", serif;
    font-weight: 400;
    font-size: 36px;
    text-transform: uppercase;
}

.container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.products {
    flex: 2;
}


.cart-area {
  position: fixed;
  top: 70px;
  right: 0;
  width: 350px;
  height: calc(100vh - 80px);
  background: var(--bg-secundaria);
  padding: 15px;
  border: 2px solid var(--bg-secundaria);
  border-radius: 10px;
  overflow-y: auto; /* rolagem interna */
  z-index: 900;
}




.cart-area input[type="text"],
.cart-area input[type="number"],
.cart-area select,
.cart-area textarea {
    width: 100%;       
    display: block; 
    margin-top: 5px;     
    padding: 10px;
    border: 1px solid var(--borda-secundaria);  
    border-radius: 5px;      
    box-sizing: border-box;
    font-size: 15px;
}


.cart-area label {
    display: block;  
    font-weight: 500;
}


.cart-area textarea {
    height: 80px;  
    resize: vertical;        
}

.cart-totals {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#nomecliente {
    display: block;
    width: 100%;
}

#endereco {
    width: 100%;
}

.extras {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.extras label {
  display: block;
  font-size: 13px;
  margin: 3px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 15px;
}

.product {
    background: var(--bg-produto);
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    margin-bottom: 30px;
}

.product img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    background: #fff3
}

.product h3 {
    margin: 10px 0 5px;
    font-family: 'Alice', sans-serif;
    font-size: 18px;
    font-weight: 600;
    height: 40px;
}

.product p {
    margin: 0 0 10px;
    font-size: 15px;
    color: var(--text);
    height: 120px;
}


.product .price {
    font-family: 'Alice', sans-serif;
    color: var(--accent);
    font-weight: 700;
    margin-left: 20px;
}

#grid-combos{
background: #33000A;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--accent);
    margin-bottom: 10px;
}


.controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px
}

.controls select,
.controls input {
    padding: 6px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.2);
    color: var(--text)
}

.btn-add {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer
}
   

#cart-list li {
    padding: 5px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.03);
}

.cart-totals p {
    margin: 5px 0;
    font-weight: 700
}

#valorTrocoContainer{
    display: none;
}

/* ESTILO DO SELECT */
.select-wrapper {
  position: relative;
  width: 100%;
}

.campo-forma-pagamento select {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #aaa;
  font-size: 16px;
  background: #fff;
}

/* CAMPO DE TROCO */
#valorTroco {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #aaa;
  width: 100%;
  font-size: 16px;
}

.troco-info {
  margin-top: 6px;
  font-size: 14px;
  font-weight: bold;
  color: #008000;
}

/* OBSERVAÇÃO */
.campo-observacao textarea {
  width: 100%;
  min-height: 70px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #aaa;
  font-size: 15px;
}

.campo-observacao {
  margin-top: 15px;
}


#btn-whatsapp {
    background: #25D366;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%
}

.footer {
  height: 70px;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  font-size: 25px;
}

.social {
  gap: 100px;
}

.icons {
  color: var( --text-principal);
}

.desenvolvido {
  color: var( --text-principal);
  font-size: 12px;
}

