:root{
    --main-color:#d3ad7f;
    --black:#13131a;
    --bg:#010103;
    --border: 0.1rem solid rgba(255,255,255,03);
    font-size: 10px;
}

*{
    margin: 0;
    padding: 0;
    outline: 0;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: 0.2s linear;
    font-family: "Roboto", sans-serif;
}

body{
    background-color: var(--bg);
}

section{
    padding: 3rem 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    border-bottom: var(--border);
    background: var(--bg);
    
    
}

.header section{
    display: flex;
    text-align: center;
    align-items: center; /* <-- ESSA LINHA AQUI */
    justify-content: space-between;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem ;
}

.navbar a{
    margin: 0 1rem;
    font-size: 1.8rem;
    color: #fff;

}

.navbar a:hover{
    color: var(--main-color);
    border-bottom: 0.1rem solid var(--main-color);
    padding: 0.5rem;
    font-size: 2.8rem;

}

.icon img{
    margin: 1rem;
    cursor: pointer;
}

.icon img:hover{
    width: 40px;
    height: 40px;
}

.btn{
    background-color: var(--main-color);
    color: #fff;
    padding: 1rem 3rem;
    font-size: 1.7rem;
    cursor: pointer;
    margin-top: 1rem;
    display: inline-block;
    border-radius: 1rem;
}

.btn:hover{
    letter-spacing: 0.1rem;
}
.home-container{
    background:url(/img/home-img.jpg);
   
    background-position: center;
    background-size: cover;
}

.home-container section{
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.content{
    max-width: 60rem;
}

.content h3{
    color: #fff;
    font-size: 6rem;
}

.content p{
    color: #fff;
    font-size: 2rem;
    font-weight: 100;
    line-height: 1.8;
    padding: 1rem 0;
}

.title{
    font-size: 4rem;
    color: var(--main-color);
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 4rem;

}

.title span{
    color: #fff;
    text-transform: uppercase;
}
.about .row {
    display: flex;
    align-items: center;
    background-color: var(--black);
    gap: 1.5rem;
}

.about .row .content {
    padding: 2rem;

}

.about .row .content h3 {
    font-size: 3rem;
    color: #fff;
}

.about .row .content p {
    font-size: 1.6rem;
    color: #fff;
    padding: 1rem 0;
    line-height: 1.8;
}

.box-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 1.5rem;
}
.menu .box-container .box{
    text-align: center;
    border: var(--border);
    padding: 5rem;
    cursor: pointer;

}



.menu .box-container .box img{
    height: 10rem;
}
.menu .box-container .box h3{
    color: #fff;
    font-size: 2rem;
    padding: 1rem 0;
}

.menu .box-container .box .price{
    color: #fff;
    font-size: 2.5rem;
    pad: 0.5rem 0;
}

.menu .box-container .box span{
    font-size: 1.5rem;
    text-decoration: line-through;
    font-weight: 100;
}

.menu .box-container .box:hover{
    background-color: #a7a5a52c;
}

.review .box-container .box{
    border: var(--border);
    text-align: center;
    padding: 3rem 2rem;
}

.review .box-container .box p{
    font-size: 1.5rem;
    color: #fff;
    padding: 2rem 0;
    line-height: 1.8;
    font-weight: lighter;
}

.review .box-container .box h3{
    color: #fff;
    font-size: 2rem;
    margin: 1rem 0;
}
.review .box-container .box .user{
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
}

.address{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.footer{
    text-align: center;

}

.footer .share{
    padding: 1rem 0;
}

.footer .share img{
    margin: 0.3rem;
    cursor: pointer;
    border-radius: 50%;
    padding: 1rem;
}

.footer .share img:hover{
    background-color: var(--main-color)
}

.carrinho-lateral {
    position: fixed;
    top: 0;
    right: -100%;
    width: 350px;
    height: 95vh;
    background-color: var(--black);
    color: #f0f0f0;
    padding: 2.5rem 2rem;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.8);
    transition: right 0.4s ease-in-out;
    z-index: 999;
    display: flex;
    flex-direction: column;
}

.carrinho-lateral.ativo {
    right: 0;
}

.carrinho-lateral h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--main-color);
    padding-bottom: 0.5rem;
}

#lista-carrinho {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex-grow: 1;
    overflow-y: auto;
}

#lista-carrinho li {
    font-size: 2.2rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#lista-carrinho li button {
    background: transparent;
    border: none;
    color: #ff4c4c;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

#lista-carrinho li button:hover {
    color: #ff1c1c;
}

#total-carrinho {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--main-color);
    text-align: right;
}

.carrinho-lateral .btn {
    font-size: 1.8rem;
    padding: 1rem;
    border-radius: 0.8rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.carrinho-lateral .btn:first-of-type {
    background-color: #e74c3c;
    color: #fff;
    border: none;
    margin-bottom: 1rem;
}

.carrinho-lateral .btn:first-of-type:hover {
    background-color: #c0392b;
}

.carrinho-lateral .btn:last-of-type {
    background-color: var(--main-color);
    color: #fff;
    border: none;
}

.carrinho-lateral .btn:last-of-type:hover {
    background-color: #b066ff;
}

.overlay {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
}

.overlay.ativo {
    display: block;
}


.icone-carrinho {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.contador-carrinho {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    font-size: 1.3rem;
    font-weight: bold;
    border-radius: 50%;
    padding: 2px 7px;
    display: none;
}


.quantidade-controles {
    margin-left: 20px; /* AFASTA do texto */
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #2b2232;
    border-radius: 8px;
    padding: 4px 10px;
    height: 40px;
}

.btn-qtd {
    background-color: var(--main-color);
    border: none;
    color: white;
    font-size: 1.6rem;
    font-weight: bold;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-qtd:hover {
    background-color: #b469c6;
}

.qtd-texto {
    color: #fff;
    font-size: 1.6rem;
    min-width: 25px;
    text-align: center;
}


.btn-finalizar {
    background-color: var(--main-color);
    color: #fff;
    padding: 1rem 2rem;
    font-size: 1.6rem;
    border: none;
    border-radius: 8px;
    margin-top: 1rem;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.btn-finalizar:hover {
    background-color: #b469c6;
}

.botoes-carrinho {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 1.5rem;
}

.btn-carrinho {
    background-color: var(--main-color);
    color: #fff;
    padding: 1rem;
    font-size: 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-carrinho:hover {
    background-color: #b469c6;
}

.btn-carrinho.limpar {
    background-color: #e74c3c;
}

.btn-carrinho.limpar:hover {
    background-color: #c0392b;
}

.btn-carrinho.fechar {
    background-color: #555;
}

.btn-carrinho.fechar:hover {
    background-color: #333;
}

/* SweetAlert2 personalizado grande */
.swal-popup-large {
  font-size: 1.8rem !important;
  width: 600px !important;
  max-width: 90vw !important;
  padding: 2.5rem 3rem !important;
}

.swal-title-large {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
}

.swal-content-large {
  font-size: 1.8rem !important;
  margin-top: 1rem;
}

.swal-input-large {
  font-size: 1.7rem !important;
  padding: 1rem !important;
}

.swal-btn-large {
  font-size: 1.6rem !important;
  padding: 1rem 2.5rem !important;
}
