:root {
  --primary-color: #FFC72C;
  --secondary-color: #FFC72C;
  --background-color: #ffffff;
  --text-color: #292929;
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --header-height: 70px;
}



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.close {
    float: right;
    position: absolute;
    right: 46px;
}


h2 {
  text-align: center;
  font-size: 36px;
  letter-spacing: -2px;
  line-height: 32px;
}


span.cont {
    text-align: center;
    background: #ffb937;
    padding: 20px 0px 20px 0px; 
    margin-top: 30px;
    color: white;
    font-family: 'Inter';
    font-weight: 900;
    width: 100%;
    z-index: 10;
    float: right;
    margin-bottom: -6px;
    line-height: 16px;
}

main {
    padding: 0px 0px 282px 0px;
    background: url(../images/rodape.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom;
}


body {
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

header {
  background-color: #ff0000;
  display: flex;
  height: 100px;
  justify-content: center;
  align-items: center;
}



 @media(min-width: 768px){

#banner {
  background: url(../images/banner_topo_new.webp);
  background-size: cover;
  background-position: center bottom;
  display: flex;
  flex-direction: column;
  background-repeat: no-repeat;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 0rem;
  margin-bottom: -9px;
}

.modal-content {
    background-color: white;
    max-width: 100%;
    margin: 3rem 5rem 0rem;
    padding: 2rem;
    border-radius: 16px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

}

#banner h2 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

#banner p {
  font-size: 1.5rem;
  opacity: 0.9;
}

.cards-container {
max-width: 1212px;
    margin: -15rem auto;
    display: grid
;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    padding: 46px 4rem;
    background: url(../images/fundo_2.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media(max-width: 768px){
.cards-container {
    display: grid
;
border-radius: 20px;
    gap: 0rem;
    padding: 30px 2rem;
    background: url(../images/fundo_2.webp);
    background-size: contain;
    background-position: top left;
    background-repeat: repeat;
    border-radius: 15px;
    justify-items: center;
}

.card {
    max-width: 390px;
}

}

 @media(min-width: 769px){


img.banner_principal {
    width: 100%;
    max-width: 1360px;
    margin-bottom: -1px;
}

.cards-container {
    border-radius: 20px;
    max-width: 1212px;
    margin: -15rem auto;
    display: grid
;
    gap: 1rem;
    padding: 46px 2rem;
    background: url(../images/fundo_2.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
}


.card:hover {
  
}
 @media(min-width: 768px){
.card img {
  width: 100%;
  height: 365px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.resumo {
  background-color: white;
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
}
.card:hover img {
  transform: none;
}

.card-content {
  padding: 1rem 1rem 1rem 1rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  display: none;
}

.card p {
  color: #666;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 10px;
  text-align: center;
}

.card button {
  background-color: #fd3e26;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  transition: background-color 0.2s;
}

.card button:hover {
  background-color: #FFB937;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  backdrop-filter: blur(4px);
}



.modal-content h2 {
    color: var(--text-color);
    font-size: 23px;
    letter-spacing: 0px;
    margin: 0rem -0rem 0rem 0rem;
    text-align: left;
}

.selecoes {
  margin: 2rem 0;
}

.selecao-grupo {
  margin-bottom: 2rem;
}

.selecao-grupo h3 {
  color: var(--text-color);
  margin-bottom: 1rem;
  font-size: 1.25rem;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 0.5rem;
}

.opcoes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.opcao {
  border: 2px solid #eee;
  padding: 1rem;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all 0.2s ease;
}

.opcao img {
  width: 100%;
  height: 100%px;
  object-fit: cover;
  border-radius: 8px;
}

.opcao.selecionado {
  border-color: var(--primary-color);
  background-color: #fff5f5;
}

.quantidade-controle {
  border: 1px solid #c0c0c0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.quantidade-controle button {
  background-color: transparent;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.quantidade-controle button:hover:not(:disabled) {
  background-color: transparent
}

.quantidade-controle button:disabled {
  background-color: transparent;
  cursor: not-allowed;
}

.quantidade-controle span {
  font-weight: 600;
  min-width: 70%;
  text-align: center;
  font-size: 1.1rem;
}



.cumpom1{
  background-color: #ff0000;
  color: #f5f5f5;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 2rem;
  margin-left: 5px;
}

.frete1{
  background-color:forestgreen;
  color: #f5f5f5;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 2rem;
  margin-left: 0px;
}

.resumo > div {
  display: flex;
  margin-bottom: 2px;
  font-size: 1rem;
}

.resumo .total {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 10px;
    padding-top: 0px;
    border-top: 2px solid #eee;
}

.cupom {
  display: flex;
  gap: 1rem;
  margin: 1rem 0;
}

.cupom input {
  background-color: #eee;
  flex: 1;
  padding: 0.75rem;
  color: seagreen;
  border: 2px solid seagreen;
  border-radius: 8px;
  font-size: 0.95rem;
}

.cupom button {
  padding: 0.75rem 1.5rem;
  background-color: #ddd;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s;
}

.cupom button:disabled {
  background-color:seagreen;
  cursor: not-allowed;
}

.acoes {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.acoes button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.cancelar {
  background-color: #f5f5f5;
  color: var(--text-color);
}

.cancelar:hover {
  background-color: #eee;
}

.prosseguir {
  background-color: var(--primary-color);
  color: white;
}

.prosseguir:hover {
  background-color: #b22116;
}

#texto {
    padding: 2rem 0.5rem 16rem;
    display: flex
;
    flex-direction: column;
    align-items: center;
    background: url(../images/fundo_texto.webp);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#texto h1 {
  font-size: 30px;
  color: #ff0000; /* Exemplo de cor */
}
#textos p {
  font-size: 18px;
  color: #000000; /* Exemplo de cor */
}
#countdown{
  background-color: #ff0000;
  color: #fff5f5;
  padding: 7px;
  border-radius: 8px;
}

#fechar-modal{
  display: flex;
  flex-direction: row;
  align-items: center;
}

.x{
  background-color: #ff0000;
  color: #fff5f5;
  padding: 0.5rem;
  width: 35px;
  border-radius: 10px;
  border: none;
}

 @media(max-width: 768px){
  #banner {
    background: url(../images/banner_topo_new.webp);
    background-size: contain;
    background-position: center;
    display: flex
;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 1rem 1rem 0rem;
}

img.banner_principal {
    width: 100%;
    max-width: 1360px;
        margin-bottom: -7px;
}




.card img {
    width: 100%;
    height: 395px;
    object-fit: contain;
    transition: transform 0.3s ease;
    margin-top: -16px;
}

.acoes {
        display: flex
;
        gap: 1rem;
        margin-bottom: 0rem;
        position: fixed;
        bottom: 0px;
        width: 100%;
        background: white;
        padding: 10px;
        left: 0px;
}

.resumo{
    
    display: block;
    gap: 1rem;
    margin-bottom: 3.5rem;
    position: fixed;
    bottom: 0px;
    width: 100%;
    background: white;
    padding: 5px 18px 20px;
    left: 0px;
    border-radius: 20px 20px 0px 0px;
    border-top-style: outset;
}

.modal-content {
  background-color: white;
  max-width: 800px;
  margin: 1rem;
  padding: 2rem 2rem 10rem 2rem;
  border-radius: 16px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
  }