@import url('https://fonts.googleapis.com/css2?family=Ballet:opsz@16..72&family=Lexend+Giga:wght@100..900&family=Pinyon+Script&family=Poiret+One&display=swap');

:root {
    --bg: #FFF7FA;        /* fundo rosado suave */
    --principal: #F8C9D4; /* rosa algodão doce (carinho) */
    --apoio: #FDECEF;     /* rosa bem clarinho para áreas de respiro */
    --apoiobege: #F3D9D1; /* nude rosado, aconchegante */
    --destaque: #F5B7C3;  /* rosa chiclete suave, dá energia */
    --detalhes: #EFBBCF;  /* rosa lavanda, charmoso */
    --text: #452e3b;      /* marrom suave (bom contraste) */
    --sectext: #6B5E5C;   /* cinza amarronzado, secundário */
    --accent: #ff567e;
}

.material-symbols-outlined {
    vertical-align: middle;
    font-family: 'Material Symbols Outlined';
    font-weight: normal;
    font-style: normal;
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
  }

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lexend Giga", serif;
}

.poione {
    font-family: "Poiret One", serif;
    font-weight: 400;
    font-style: normal;
}

.piny {
    font-family: "Pinyon Script", serif;
    font-weight: 400;
    font-style: normal;
}


.ballet {
    font-family: "Ballet", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.lxdgiga {
    font-family: "Lexend Giga", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.title{
    color: var(--text);
}

.title.ballet{
    font-size: 120px;
}

.title.lxdgiga{
    font-size: 2.3rem;
}

.thintitle{
    color: var(--text);
    font-size: 1.5rem;
    font-weight: 200;
}

.bigdesc{
    padding: 10px 20px;
    color: var(--text);
    border: 1px solid var(--destaque);
    font-size: 1.5rem;
    text-align: center;
    font-weight: 200;
}

.boxborder{
    padding: 25px;
    border: 1px solid var(--principal);
}

html{
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body{
    line-height: 1.6;
    background-color: var(--bg);
    transition: opacity 0.3s ease-in-out;
    color: rgb(0, 0, 0);
}

h1 {
    font-size: 2.5rem;
}
  
h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.2rem;
}
  
p, .description {
    font-size: 1rem;
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.0rem;
    }
      
    h2 {
        font-size: 1.85rem;
    }

    h3{
        font-size: 1.5rem;
    }
      
    p {
        font-size: 1rem;
    }
}

.thin{
    font-weight: 200;
}

.bold{
    font-weight: bold;
}

.text-ct{
    text-align: center;
}

.clr1{
    color: var(--text);
}

.clr2{
    color: var(--sectext);
}

.content{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 20px;
}

.chocobg{
    color: #FAF3E0;
    width: 100%;
    background-color: var(--apoio);

    h2{
        color: #FAF3E0;
    }
}

.darkbg{
    color: white !important;
    width: 100%;
    background-color: var(--text);
}

.rotatechoco{
    transform: rotate(180deg);
}

.divisor {
    display: block;
    width: 100%;
    height: auto;
}

.toplogo img{
    width: 100%;
    margin: 20px 0;
    max-width: 400px;
}

.bgchoco{
    width: 100%;
    display: flex;
    align-items: start;
}

section{
    place-items: center;
    align-items: center;
    min-height: 100vh;
}

.spacing{
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column; 
}

/* Responsivo */
@media (min-width: 768px) {
    .spacing{
        width: 100%;
        max-width: 1000px;
        display: flex;
        flex-direction: column; 
        gap: 30px;
    }
}

/* Estilo da barra de navegação */
header {
    position: fixed;
    top: -100px;
    right: 0;
    left: 0;
    z-index: 2500;
    width: 100%;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: var(--bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: top 0.2s ease-in-out, background 0.2s ease;
}

.header.solidbg{
    background: var(--apoio);
}

.header.fixednav{
    top: 0px;
}

.header.scrolled {
    top: 0px; /* Mostra o header quando a página é rolada */
}

.logo img {
    display: flex;
}

.navbar {
    position: relative;
}

.nav-links {
    align-items: center;
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
}

.nav-links ul{
    position: absolute;
    top: 25px;
    border-radius: 15px;
    z-index: 2;
    padding: 20px 30px;
    background: var(--principal);
    display: none;
}

.nav-links li:hover ul{
    display:flex;
    flex-direction: column;
    gap: 20px;
}

.nav-links li ul li{
    display: block;
    max-width: 300px;

    a{
        width: 100%;
    }
}

.nav-links a {
    color: var(--bg);
    opacity: .9;
    background: var(--text);
    padding: 9px 15px;
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
    transition: border 0.2s ease, background 0.2s ease, opacity 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    opacity: .5;
}

.nav-links a.ativo {
    opacity: .5;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 7px;
}

.hamburger span {
    width: 25px;
    height: 1px;
    background: var(--text);
    transform: translateY(0);
    transition: all .07s ease-out;
}

.hamburger .span2 {
    margin-left: auto;
    height: 1px;
    transform: translateY(0);
    rotate: 0deg;
    transition: all .07s ease-out;
}

.hamburger .span3 {
    margin-left: auto;
    height: 1px;
    transform: translateY(0);
    rotate: 0deg;
    transition: all .2s ease-out;
}

.hamburger.selected .span1 {
    transform: translateY(0px);
    rotate: -135deg;
    opacity: 0;
}

.hamburger.selected .span3 {
    rotate: -135deg;
    transform: translateY(9px) translateX(7px);
}

.hamburger.selected .span2 {
    rotate: 135deg;
    transform: translateY(1.5px) translateX(-3px);
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .nav-links {
        pointer-events: none;
        align-items: right;
        background: var(--apoio);
        flex-direction: column;
        align-items: flex-end;
        position: absolute;
        top: 30px;
        padding: 20px;
        padding-top: 100px;
        right: -20px;
        width: 100vw;
        opacity: 0;
        height: 100vh;
        transition: all .35s ease; /* Certifique-se de que a transição esteja aplicando no transform */
    }

    .nav-links a{
        font-size: 1.15rem;
        text-align: right;
    }
    
    .nav-links li {
        position:relative;
        margin: 5px 0;
    }

    .nav-links li:hover ul{
        display:flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links li ul li{
        display: block;
        width: 100vw;
    
        a{
            width: 100%;
        }
    }

    .nav-links.show li {
        opacity: 0;
        transform: translateX(50px);
        animation: slideIn 0.4s forwards;
      }
      
      .nav-links.show li:nth-child(1) { animation-delay: 0.2s; }
      .nav-links.show li:nth-child(2) { animation-delay: 0.3s; }
      .nav-links.show li:nth-child(3) { animation-delay: 0.4s; }
      .nav-links.show li:nth-child(4) { animation-delay: 0.5s; }
      /* continue conforme o número de links */
      
      @keyframes slideIn {
        to {
          opacity: 1;
          transform: translateX(0);
        }
      }

    .nav-links.show {
        pointer-events: all;
        transform: translatex(0px);
        opacity: 1;
    }

    .hamburger {
        display: flex;
    }
}

.stars{
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    img{
        width: 25px;
    }
    p{
        font-size: 25px;
        font-weight: 300;
        color: #FAF3E0;
    }
}

/* Responsivo */
@media (max-width: 768px) {
    .stars {
        display: flex;
        flex-direction: column;
    }
}

/* Box */

.boxcontainer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: stretch;
    justify-content: space-around;
    gap: 80px 20px;
    max-width: 1000px;
    margin: auto;
    margin-top: 20px;
}

.box {
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    background-color: var(--apoio);
    width: 300px;
    padding: 15px;
    text-align: center;
    transition: transform 0.2s ease-in-out, box-shadow .2s ease-in-out;
}

.box:hover {
    border-color: var(--accent);
    box-shadow: 0 0 15px #f8c9d43f;
    transform: scale(1.02);
}

.box .id{
    font-size: .5rem;
    color: var(--sectext);
}

.box .tag{
    position: absolute;
    text-transform: uppercase;
    top: -25px;
    padding: 5px 10px;
    color: white;
    font-size: .8rem;
    background: var(--accent);
}

.box .tagmiddle{
    top: -20px;
}

.box .tag i.material-symbols-outlined{
    font-size: 1rem;
}

.box img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.box h3 {
    margin: 10px 0;
    color: var(--text); /* Chocolate escuro */
}

.box p {
    color: var(--text); /* Tom caramelo */
    font-size: 0.9rem;
}

.produto {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.price {
    font-size: 18px;
    font-weight: bold;
    color:  var(--text); /* Marrom escuro para o texto */
    background-color: var(--bg); /* Bege/dourado sofisticado */
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 10px;
}

.box button {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    gap: 5px;
    align-items: center;
    padding: 10px 18px;
    border-radius: 5px;
    background-color: var(--accent);
    box-shadow: #ff557783 0 3px 10px;
    color: white;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.box button:focus {
    transform: scale(1.02);
}

.box button:active {
    transition-duration: .05s;
    transform: scale(.95);
    color: black;
    background-color: #4ec56a !important; /* Verde */
}

.adicionar-ao-carrinho.adicionado {
    color: black;
    background-color: #3dc85e !important; /* Verde */
    box-shadow: #28a74668 0 3px 10px;

}

.box button i.material-symbols-outlined{
    border-right: 1.5px solid #ffffff6f;
    padding-right: 15px;
    font-size: 20px;
}

/* Responsivo */
@media (max-width: 768px) {
    .box {
        width: 100%;
    }

    .boxcontainer{
        gap: 70px;
    }
}

.linkborder{
    padding: 5px 10px;
    margin: 5px;
    text-decoration: none;
    display: inline-block;
    color:  var(--text);
    border: 2px solid  var(--text);
    border-radius: 20px;
    cursor: pointer;
    transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.linkborder:hover{
    border-color: #27180e;
    color: #27180e;
}

.link{
    color: var(--text) !important;
}

.btnclean.dark{
    background: #362114;
    padding: 15px 25px;
    color: #FDF7E3;
    border-radius: 0;
    border: none;
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}

.btnclean.dark:hover{
    background: #6B3E26;
    color: white;
}

.avaliacoes {
    background-color: #f8e7d0; /* Cor suave e acolhedora */
    padding: 50px 20px;
    text-align: center;
}

h2 {
    font-size: 2em;
    color:  var(--text); /* Cor elegante e sofisticada */
    margin-bottom: 20px;
}

.carrossel {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.avaliacao {
    border: 1.5px solid  var(--text);
    background-color: var(--bg);
    margin: 0 20px;
    color:  var(--text);
    border-radius: 15px;
    padding: 20px;
    font-size: 1.1em;
    transition: transform 0.3s ease-in-out;
}

.cliente {
    font-weight: bold;
    background:  var(--text);
    border-radius: 10px;
    padding: 5px 15px;
    text-align: center;
    color: white;
    font-size: 1.1rem;
    margin-top: 20px;
}

.botao-avaliacao {
    background-color:  var(--accent); /* Cor suave e chamativa */
    color: #FAF3E0;
    border-width: 1.5px;
    border-style: solid;
    border-color: transparent;
    margin-top: 10px;
    padding: 15px 30px;
    font-size: .9em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.botao-avaliacao:hover{
    border-color:  var(--accent);
    background-color: transparent; /* Cor suave e chamativa */
    color:  var(--accent);
}

.search-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Largura inicial */
    gap: 10px;
    position: relative; /* Para poder posicionar o botão "X" */
    box-sizing: border-box; 
    transition: width 0.3s ease-in-out;
}

#clearButton {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color:  var(--text);
    transform: translateX(20px);
    opacity: 0;
    position: absolute; /* O botão ficará posicionado fora do fluxo normal */
    right: 35px; /* Coloca o "X" no final da barra de pesquisa */
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}
  
#clearButton.mostrar{
    opacity: 1;
    transform: translateX(0);
}

.search-icon {
    cursor: pointer;
    font-size: 1.6rem;
    color: var(--accent);
    transition: transform .1s ease-in-out;
}

.search-icon:hover{
    transform: scale(1.1);
}

.search-icon:active{
    transition: transform .01s ease-in-out;
    transform: scale(.9);
}

.search-bar input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 25px;  /* Borda arredondada */
    outline: none;
    background-color: #fff;  /* Fundo bege claro */
    box-shadow: 0 0 15px rgba(78, 78, 78, 0.073);
    transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, margin-right 0.2s ease-in-out;
}

.search-bar input.diminuida{
    margin-right: 35px;
}

/* Efeito ao clicar no campo de busca */
.search-bar input:focus {
    background-color: #fff;  /* Fundo branco ao digitar */
    box-shadow: 0 0 20px rgba(78, 78, 78, 0.052);
}

.destacado {
    background: rgba(255, 255, 0, 0.399);
    font-weight: bold;
    padding: 2px;
    border-radius: 3px;
}


  
/* Keyframes da animação */
@keyframes slideDown {
    to {
      transform: translateY(0);
    }
}

.lightbg{
    background: var(--apoio);
}

.topcontrols{
    border-radius: 20px 20px 0 0; 
    padding-bottom: 10px; 
    width: 95%; 
}

.categories {
    text-align: center;
    background: var(--apoio);
    border-radius: 0 0 20px 20px;
    max-width: 1000px;
    width: 95%; /* Garante que o scroll se aplique apenas à largura disponível */
    white-space: nowrap; /* Impede que os botões quebrem em múltiplas linhas */
    overflow-x: auto; /* Adiciona o scroll horizontal */
    scrollbar-width: thin;
    scrollbar-color: var(--principal) var(--apoio);
    padding: 8px 25px; /* Espaçamento ao redor */
    box-sizing: border-box; /* Certifica que o padding não afete a largura total */
}

.categories button {
    padding: 10px 20px;
    margin: 5px;
    font-size: 0.9rem;
    border: 2px solid var(--accent);
    background-color: #ffffff86;
    color: var(--text);
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: capitalize;
    display: inline-block;
}

.categories button.ativo {
    background-color: var(--accent);
    box-shadow: 0 4px 7px #dc358077;
    transform: translateY(-4px);
    color: white;
}

.search-bar.fixa{
    left: 0;
    right: 0;
    padding: 0 5%;
    padding-top: 10px;
    width: 100%;
    background: #fdf7e327;
    backdrop-filter: blur(20px);

    #searchButton{
        color: var(--accent);
    }

    #clearButton.mostrar{
        transform: translateX(-20px);
    }
}

.fixonscroll {
    top: 0;
    transition: top 0.3s ease, transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s;
    will-change: transform, opacity;
}
  
.fixa {
    position: fixed;
    opacity: 1;
    padding-top: 25px;
    top: 55px;
    border-radius: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 999;
    background: linear-gradient(#ffeaef, transparent);
    box-shadow: none;
    transform: translateY(0);
    opacity: 1;
}

.fixonscroll.saindo {
    transform: translateY(-100%);
    opacity: 0;
}

/* Responsivo */
@media (max-width: 768px) {
    .categories button{
        font-size: 14px;
    }
}

/* Responsivo */
@media (min-width: 768px) {
    .fixa{
        box-shadow: 0 4px 7px #fffcf32c;
        background: var(--apoio);
    }
}

.bigbtn{
    display: flex;
    flex-direction: wrap;
    gap: 30px;

    img {
        width: 100%;
        height: 200px;
        object-fit: cover;
    }

    .bigico{
        width: 100px;
        height: 100px;
        object-fit:contain;
    }

    .btn{
        box-shadow: 0 0 15px #fdf7e332;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        font-weight: 400;
        font-size: 1.2rem;
        border-radius: 15px;
        gap: 15px;
        color: white;
        background-color: var(--accent);
        max-width: 400px;
        padding: 20px 30px;
        transition: transform 0.2s ease-in-out, box-shadow .2s ease-in-out;
    }

    .btndark{
        color: white;
        background-color: var(--text);
        box-shadow: 0 0 15px #472a173e;
    }

    .btn:hover{
        box-shadow: 0 0 15px #fdf7e34e;
        transform: scale(1.02);
    }

    .btndark:hover{
        box-shadow: 0 0 15px #341e107f;
    }

    .btnborder{
        box-shadow: 0 0 10px #fdf7e32f;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        font-weight: 400;
        gap: 15px;
        color: var(--accent);
        border: 2px solid var(--accent);
        background: none;
        max-width: 400px;
        padding: 12px 22px;
        transition: transform 0.2s ease-in-out, box-shadow .2s ease-in-out;
    }

    .btnborder:hover{
        box-shadow: 0 0 15px #fdf7e331;
        transform: scale(1.02);
    }

    .imgbtn:hover{
        box-shadow: none;
    }

    .imgbtn.btn:hover{
        box-shadow: none;
    }

    .imgbtn{
        box-shadow: none;
        text-align: center;
        font-weight: 800;
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        font-weight: 700;
        letter-spacing: 5px;
        gap: 15px;
        max-width: 400px;
        padding: 20px;
        transition: transform 0.2s ease-in-out, box-shadow .2s ease-in-out;
    }

    .btn:focus{
        transform: scale(.95);
    }

    i{
        font-size: 1.2rem;
    }

    .btninfo{
        border-top: 1px solid var(--accent);
        font-size: .9rem;
        padding-top: 15px;
    }
}

@keyframes float-rotate {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
    100% { transform: translateY(0) rotate(0deg); }
}

.flutuando {
    animation: float-rotate 3s ease infinite;
}

/* Responsivo */
@media (max-width: 768px) {
    .bigbtn{
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}

/* Container do loader */
.loader-container {
    z-index: 5;
    text-align: center;
    color: var(--text);
}

/* Estilo dos círculos */
.loader-container img {
    max-width: 40px;
    margin: 20px 10px;
    animation: pulse 2s infinite ease-in-out;
    display: inline-block;
}

/* Efeito de pulsação */
@keyframes pulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    25% {
        opacity: 0.9;
        transform: scale(1.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
    75%{
        opacity: 0.9;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1);
    }
}

footer {
    background: var(--apoio); /* Cor de chocolate */
    color: var(--text);
    text-align: left;

    .logo{
        width: 100%;
        max-width: 400px;
        margin-bottom: 10px;
    }

    .desc{
        font-weight: 200;
    }

    .divisor{
        max-width: 700px;
    }
  }

  .footer-content{
    padding: 10px;
    padding-bottom: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-section {
    flex: 1;
    min-width: 250px;
    margin: 20px;
  }
  
  .footer-section h3 {
    font-family: 'Poiret One', serif;
    color: var(--accent);
    border-bottom: 1px solid var(--accent);
    padding: 15px 0;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-section ul li {
    margin: 5px 0;
  }
  
  .footer-section a {
    font-family: 'Lexend Giga', serif;
    color: var(--text);
    text-decoration: none;
    opacity: 1;
    transition: opacity 0.3s;
  }
  
  .footer-section a:hover {
     opacity: .7;
    }
  
  .social-icons a img {
    width: 30px;
    margin: 10px;
    transition: 0.3s;
  }
  
  .social-icons a:hover img {
    transform: scale(1.1);
  }
  
  .footer-bottom {
    text-align: center;
    padding: 30px;
    
}

/* Responsivo */
@media (max-width: 768px) {
    footer{
        text-align: center;
        flex-direction: column;
    }
}

.prodimg{
    width: 100%;
    max-height: 200px;
    object-fit:cover;
    border-radius: 8px;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0); /* Fundo semitransparente */
    display: flex;
    justify-content: center;
    pointer-events: none;
    align-items: center;
    z-index: 5000;
    opacity: 0; /* Inicialmente invisível */
    transform: scale(0.8); /* Inicialmente um pouco reduzido */
    transition: opacity 0.3s ease, background-color .2s .2s ease, transform 0.3s ease; /* Animação suave */
}

/* Quando o popup for visível */
.popup.show {
    opacity: 1;
    pointer-events: all;
    background-color: rgba(0, 0, 0, 0.395); /* Fundo semitransparente */
    transform: scale(1); /* No tamanho normal */
}

.closepop {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--text);
    color: white;
    padding: 5px 12px;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    top: 20px;
    right: 15px;
    transform: scale(1);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform ease-in-out .3s, background-color ease-in-out .3s, color ease-in-out .3s;
}

.closepop:hover{
    color:  var(--text);
    background-color: var(--bg); 
    transform: scale(1.05);
}

.closepop:focus{
    transform: scale(.9);
}

.textInputBtn{
    background-color: #FAF3E0;  /* Fundo bege claro */
    transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out, margin-right 0.2s ease-in-out;
    font-size: 16px;
    border: 2px solid var(--accent);  /* Cor do contorno */
    border-radius: 20px; 
    margin: 10px 0;
    padding: 5px 10px;
    display: flex;
    flex-direction: row;
    width: 100%;

    input {
        padding: 0;
        margin: 0;
        margin-right: 5px;
        border: none;
        outline: none;
    }

    a{
        cursor: pointer;
        font-size: 16px;
        padding: 8px 10px;
        border-radius: 15px;  /* Borda arredondada */
        outline: none;
        color: #FAF3E0;
        background-color: #8A5E3B;  /* Fundo bege claro */
        transition: .3s ease background-color;
    }

    a:hover{
        background-color: #69492e;
    }

    a:focus{
        background-color: #4f3623;
    }
}

input {
    width: 100%;
    padding: 10px 14px;
    margin: 10px 0;
    font-size: 16px;
    border: 2px solid var(--accent);  /* Cor do contorno */
    border-radius: 25px;  /* Borda arredondada */
    outline: none;
    background-color: var(--bg);  /* Fundo bege claro */
    transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out, margin-right 0.2s ease-in-out;
}

.popup label{
    color:  var(--text);
}

.opcoes-entrega {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
}

.botao-entrega {
    background: #ddd;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.botao-entrega.selecionado {
    background:  var(--text);
    color: white;
}

#confirmarPedido {
    background-color:  var(--text);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    margin-top: 10px;
}


/* Barra de rolagem personalizada */
.popup-content::-webkit-scrollbar {
    width: 6px;
}

.popup-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.popup-content::-webkit-scrollbar-thumb {
    background:  var(--text);
    border-radius: 10px;
}

.popup ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.popup li {
    text-align: left;
    margin: 12px 0;
    color: #482c1b;
    font-size: 16px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    transition: background 0.3s ease;
}

.popup li:hover {
    background: rgba(255, 255, 255, 0.6);
}

.popup button {
    background-color:  var(--text);
    color: #FAF3E0;
    border: none;
    border-radius: 6px;
    margin-top: 15px;
    padding: 12px 20px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.popup button:hover {
    background: #482c1b;
    transform: translateY(-2px);
}

.popup button:focus {
    background: #362114;
}

@media (max-width: 500px) {
    .popup-content {
        width: 95%;
        max-height: 85vh;
        padding: 15px;
    }
}

.mensagem-nenhum {
    text-align: center;
    margin-top: 20px;
    color: var(--text);
    font-size: 18px;
    padding: 20px;
    opacity: .2;
    border-radius: 10px;
    user-select: none;

    h2{
        margin: 0;
    }

    img{
        opacity: .4;
    }
}

.mensagem-nenhum img {
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 100%;
    display: block;
    margin-bottom: 10px;
}

.mensagem-nenhum span.big {
    font-size: 6rem;
    color:  var(--text);
    display: block;
    margin-bottom: 10px;
}

.mensagem-nenhum span.mini {
    font-size: 1rem;
    color: white;
    background:  var(--text);
    padding: 3px;
    border-radius: 50%;
}

.mensagem-nenhum ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.mensagem-nenhum li {
    font-size: 1.1rem;
    color:  var(--text);
}

.mensagem-nenhum button {
    background-color:  var(--accent); /* Cor suave e chamativa */
    color: white;
    border-width: 1.5px;
    border-style: solid;
    border-color: transparent;
    margin-top: 10px;
    padding: 10px 20px;
    font-size: .9em;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.mensagem-nenhum button:hover {
    border-color:  var(--text);
    background-color: transparent; /* Cor suave e chamativa */
    color:  var(--text);
}

.mensagem-nenhum h1{
    padding: 10px 15px;
    margin: 20px;
    margin-top: 0;
    font-size: 1.3rem;
    border-radius: 0 0 20px 20px;
    text-align: left;
    font-weight: 500;
    border: solid 3px #6B3E26;
}

.mensagem-nenhum p{
    padding: 10px 0;
    font-weight: 400;
}

/* Estilização do Carrinho */
/* Estilo básico do botão */
.btn-carrinho {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--text);
    color: white;
    font-size: 20px;
    padding: 15px;
    border-radius: 50px;
    height: 55px;
    width: 55px;
    transform: scale(1.1);
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 100;
}

/* Efeito de animação de pulsação */
.btn-carrinho:hover {
    transform: scale(1.0); /* Aumenta o botão quando o mouse passa por cima */
}

/* Animação para chamar a atenção */
.btn-carrinho:active {
    transform: scale(.9);
}

/* Carrinho */
#carrinho-container {
    pointer-events: none;
    position: fixed;
    top: 0; /* Inicialmente fora da tela */
    left: 0%;
    opacity: 0;
    width: 100%;
    height: 100%; /* Ocupa 100% da altura da tela */
    background-color: var(--bg);
    border-radius: 10px 10px 0 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(30px);
    z-index: 2000;
    overflow-y: auto; /* Permite rolagem se o conteúdo for grande */
    opacity: 0; /* Inicialmente invisível */
    transition: opacity 0.3s ease, backdrop-filter .2s .2s ease, transform 0.3s ease; /* Animação suave */
}

.carrinho-content{
    padding: 80px 5%;
    padding-bottom: 20px;
    height: 100%;
}

/* Quando o carrinho estiver visível */
#carrinho-container.mostrar {
    opacity: 1;
    transform: translateY(0); /* No tamanho normal */
    pointer-events: all;
}

/* Cabeçalho do carrinho */
#carrinho-container h2 {
    font-size: 24px;
    margin: 0;
    padding: 10px 0;
    border-bottom: 2px solid #f0f0f0;
    text-align: center;
}

.carrinho-resumo {
    position: sticky;
    bottom: 0;
    padding: 25px 5%;
    background: white;
    box-shadow: 0 -15px 20px #6b3e260e;
    border-radius: 30px 30px 0 0;
}

/* Listagem dos itens no carrinho */
#carrinho-itens {
    padding: 20px 0;
}

/* Item do carrinho */
.carrinho-item {
    display: flex;
    gap: 10px;
    align-items: center;
    border-radius: 20px;
    margin: 15px 0;
    background: white;
    box-shadow: #6b3e2604 0 0 15px;
    padding: 18px 15px;
}

/* Botão de remover */
.carrinho-item button {
    background: transparent;
    color: var(--text);
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    i{
        font-size: 1.7rem;
    }
}

/* Botões de alterar quantidade */
.quantidade-controls {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 10px;
}

.quantidade-controls button {
    background-color: var(--accent);
    color: #fff;
    border: none;
    padding: 5px 10px;
    font-size: 1.2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.quantidade-controls button:hover {
    opacity: .7;
}

.animcont {
    display: inline-block;
    opacity: 1;
    font-size: 1.1rem;
    font-weight: bold;
    position: relative;
    transition: transform 0.2s ease, opacity 0.2s ease; /* Mais rápido */
}

.numero-some-baixo {
    opacity: 0;
    transform: translateY(30px); /* O número anterior vai descer para desaparecer */
    transition: transform 0.2s ease, opacity 0.2s ease; /* Mais rápido */
}

.numero-some-cima {
    opacity: 0;
    transform: translateY(-30px); /* O número anterior vai descer para desaparecer */
    transition: transform 0.2s ease, opacity 0.2s ease; /* Mais rápido */
}

.numero-aparece {
    opacity: 0;
    transform: translateY(50px); /* O novo número aparece de baixo para cima */
    transition: transform 0.2s ease, opacity 0.2s ease; /* Mais rápido */
}

.numero-reset {
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.2s ease, opacity 0.2s ease;
}


.itemprice{
    background: var(--accent);
    color: white;
    font-weight: 400;
    padding: 5px 8px;
    border-radius: 10px;
    font-size: .7rem;
}

.itemquant{
    background: var(--destaque);
    color: var(--text);
    padding: 5px 8px;
    border-radius: 10px;
    font-size: .7rem;
}

/* Total do carrinho */
.total{
    color: var(--text);
    font-weight: 400 !important;
}

#total-valor {
    font-weight: bold;
    padding: 5px 10px;
    background: var(--destaque);
    color: var(--text);
    border-radius: 20px;
}

.btnbas{
    display: flex;
    justify-content:center;
    margin-bottom: 20px;
    gap: 10px;
    font-size: 1rem;
    align-items: center;
    padding: 12px 18px;
    box-shadow: #f5b7c36e 0 3px 10px;
    background-color: var(--accent); /* Caramelo */
    color: white;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.1s ease, border 0.3s ease, color 0.3s ease;
}

.btnbas i.material-symbols-outlined{
    font-size: 20px;
}

.btnbas:hover {
    opacity: .7;
}

.btnbas:focus {
    transform: scale(.95);
}

#limparCarrinho{
    margin: 0 auto;
    width: 100%;
    border-radius: 20px;
    padding: 10px;
    border: var(--principal) 2px solid;
    box-shadow: #6b3e2604 0 0 15px;
    background: transparent;
    color: var(--text);
}

#limparCarrinho.hide{
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease-in-out, transform .2s ease-in-out;
}

#limparCarrinho.show{
    pointer-events: normal;
    transform: translateY(20px);
    opacity: 1;
}

/* Botões de finalizar compra e fechar */
#finalizar-compra {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    margin-top: 20px;
    gap: 10px;
    font-size: 1rem;
    align-items: center;
    padding: 12px 20px;
    border-radius: 20px;
    box-shadow: #6b3e263b 0 3px 10px;
    background-color: var(--text); /* Caramelo */
    color: white;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.1s ease;
}

#finalizar-compra i.material-symbols-outlined{
    border-left: 1.5px solid #E7CBA9;
    padding-left: 10px;
    margin-left: 5px;
    font-size: 20px;
}

#finalizar-compra:hover {
    opacity: .7;
}

#finalizar-compra:focus {
    transform: scale(.95);
}

#fechar-carrinho {
    position: sticky;
    top: 90px;
    left: 20px;
    display: flex;
    justify-content: space-between;
    margin-right: auto;
    background-color: var(--text);
    color: white;
    padding: 12px;
    border-radius: 50px;
    transform: scale(1);
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2100;

    i{
        font-size: 1.7rem;
    }
}

#fechar-carrinho:hover {
    transform: scale(.9);
}

#fechar-carrinho:active{
    transform: scale(.8);
}

.minitext{
    margin: 20px 0;
    font-size: .8rem;
    text-align: center;
    color: #fffcf3;

    a{
        color: #fffcf3;
    }
}

.minitext i{
    font-size: 20px;
    margin: 0 3px;
}

@keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeout {
    from { opacity: 1; }
    to { opacity: 0; }
}

#notificacoes-container {
    position: fixed;
    bottom: 0; /* ou top: 20px para aparecer no topo */
    left: 20px;
    padding-bottom: 20px;
    text-align: center;
    display: flex;
    flex-direction: column; /* faz a última subir e aparecer por cima */
    gap: 10px;
    z-index: 100;
    max-width: 70%;
    max-height: 24vh;
    pointer-events: none; /* para cliques passarem pelas notificações se quiser */
}

@media (max-width: 768px) {
    #notificacoes-container {
        max-height: 10vh;
    }
}

/* Estilização da notificação */
.notificacao {
    background: var(--accent);
    color: white;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: all;
    width: fit-content;
    white-space: normal;
    word-break: break-word;
}

/* Ícone da notificação */
.notificacao i {
    font-size: 1.4rem;
    color: var(--text);
}

/* Exibição da notificação */
.notificacao.mostrar {
    opacity: 1;
    transform: translateY(0);
}

/* Botão de fechar */
.fechar-notificacao {
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    i{
        color: var(--text);
        font-size: 1.4rem;
        transition: color 0.3s ease;
    }
}

.fechar-notificacao:hover {
    opacity: .5;
}

#notificacao-erro i {
    font-size: 20px;
    color: #dc3545;
}

.notificacao-erro {
    text-align: center;
    position: fixed;
    top: 80px;
    right: 10px;
    left: 10px;
    background: #fff;
    color: var(--text);
    font-size: .7rem;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.110);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
    z-index: 2100;
    span.material-symbols-outlined{
        font-size: 1.4rem
    }
}

.notificacao-erro.mostrar {
    top: 80px; /* Entra na tela */
    opacity: 1;
    transform: translateY(0);
}

.notificacao-erro button {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 20px;
    cursor: pointer;
}

#popup-confirmar {
    background: #dc3545;
    color: white;
}

#popup-confirmar:hover{
    background: #c32f3d;
}

/* Animação ao atualizar carrinho */
.carrinho-item {
    display: flex;
    transition: opacity 0.3s ease, transform 0.3s ease;

    p{
        margin-top: 5px;
    }
}

.carrinho-item.removendo {
    opacity: 0;
    transform: translateY(-30px);
}

.sugestoes-container {
    position: absolute;
    border-radius: 25px;
    margin-top: 90px;
    left: 50%;
    padding: 10px;
    width: calc(100% - 20px);
    max-width: 1000px;
    background: var(--bg);
    border: 2px solid var(--destaque);
    color: var(--text);
    max-height: 250px;
    overflow-y: auto;
    transform: translate(-50%, -20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: none;
    z-index: 1000;
}

.sugestoes-container.mostrar {
    opacity: 1;
    transform: translate(-50%, 0);
}

.sugestoes-container.ocultar {
    opacity: 0;
    transform: translate(-50%, -20px);
}

@media (max-width: 768px) {
    .sugestoes-container{
        margin-top: 110px;
    }
}

.sugestao-item {
    padding: 10px;
    margin: 10px 5px;
    border: 1px solid var(--destaque);
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s ease-in-out;
}

.sugestao-item:hover {
    background: var(--destaque);
}

.sugestao-item i{
    font-size: 1rem;
    padding: 2px;
    border-radius: 10px;
    transition: background 0.3s, color 0.3s ease-in-out;
}

.sugestao-item:hover i {
    background: var(--accent);
    color: white;
}

.news-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #55321e;

    h1{
        color: #6B3E26;
        font-weight: 900;
        font-size: 2rem;
        margin: 5px 0;
        word-break: break-word;
    }

    h2{
        color: #55321e;
        font-weight: 900;
        font-size: 1.5rem;
        margin: 5px 0;
        word-break: break-word;
    }

    ul{
        margin: 10px 0;
        font-size: 1.1rem;
    }

    li{
        margin: 10px;
        color: #482c1b;
    }

    p{
        font-size: 1rem;
        margin: 10px 0;
    }

    .txtlist{
        list-style-type: decimal;
        li{
            color: #f4e8ce;
            border-radius: 15px;
            background: #6B3E26;
            margin: 10px 0;
            padding: 5px 20px;
        }
    }
}

.imggroup{
    display: flex;
    flex-direction: row;
    align-items: center;
    img{
        border-radius: 10px;
        height: 100%;
        max-height: 400px;
    }
    p{
        background: #482c1b;
        padding: 5px 10px;
        color: #E7CBA9;
        font-weight: 700;
    }
}

/* Ajusta para celular */
@media (max-width: 768px) {
    .imggroup{
        display: flex;
        flex-direction: column;
        img{
            border-radius: 10px;
            width: 80%;
            max-width: 350px;
            height: 100%;
            max-height: 100%;
        }
    }
}

.termos-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--text);

    h1, h2 {
        color: var(--sectext);
        text-align: center;
        font-size: 1.5rem;
        margin: 5px 0;
    }

    ul{
        margin: 10px 0;
    }

    li{
        margin: 10px;
        color: var(--sectext);
    }

    p{
        margin: 10px 0;
    }
}

/* Define o tamanho do carrossel */
.carousel {
    width: 100%;
    margin: auto;
    position: relative;
}

/* Ajusta as imagens */
.slide {
    position: relative;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transform: scale(1);
    transition: transform .2s ease-in-out, opacity .2s ease-in-out;
}

.slide img:hover{
    transform: scale(.95);
    opacity: .9;
}

/* Estiliza o conteúdo do slide */
.slide-content {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    color: var(--text);
    text-align: right;
    background: #fff1d1c3;
    border: 1px solid var(--text);
    backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 10px;
    max-width: 40%;
}

/* Títulos e textos */
.slide-content h2 {
    font-size: 1.5rem;
    color: #472a17;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

/* Botão */
.carousel .btn {
    display: inline-block;
    background-color: transparent;
    border: 1px solid var(--text);
    color: var(--text);
    padding: 12px 24px;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color .2s ease-in-out, border-color .2s ease-in-out, color .2s ease-in-out;
}

.carousel .btn:hover {
    background-color: var(--text);
    color: #f8e7d0;
    border-color: var(--text);
}


/* Ajusta para celular */
@media (max-width: 768px) {
    .slide img {
        height: auto; /* Aumenta a altura do carrossel no celular */
    }

    .slide-content {
        max-width: 220px;
        padding: 15px;
        text-align: right;
        right: 10px;
    }

    .slide-content h2 {
        font-size: 1.2rem;
    }

    .slide-content p {
        font-size: .9rem;
    }

    .carousel .btn {
        padding: 7px 15px;
        font-size: .95rem;
    }

    .justpc{
        display: none;
    }
}

/* Ajusta para PC */
@media (min-width: 768px) {
    .slide {
        padding: 30px 20px;
    }

    .slide img{
        max-width: 850px;
        border-radius: 20px;
        margin: 0 auto;
    }
}

.price2 {
    font-size: 18px;
    background: var(--principal);
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    i{
        color:  var(--apoiobege);
        background: var(--text);
        padding: 5px;
        border-radius: 7px;
        display: flex;
        font-size: 1.2rem;
    }
}

.popup button i{
    font-size: 1.2rem;
}

/* Estilo para o conteúdo do popup */
.popup-content {
    background-color: var(--apoio); /* Cor de fundo branca */
    padding: 20px;
    border-radius: 10px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra suave */
    text-align: center;
    overflow: auto;
}

/* Estilo para o título */
.popup-content h2 {
    color:  var(--text);
    font-size: 24px;
    margin-bottom: 10px;
}

/* Estilo para a descrição do produto */
.popup-content p {
    font-size: 16px;
    color:  var(--text);
    margin-bottom: 15px;
}

/* Estilo para o preço */
.popup-content p strong {
    font-weight: bold;
}

/* Estilo para a imagem do produto */
.popup-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.popup-content .minitxt{
    font-weight: 600;
    color:  var(--text);
    margin: 10px 0;
    font-size: .9rem;
}

/* Estilo para o botão de fechar */
.popup-content button {
    background-color: var(--accent);
    color: var(--bg);
    border: none;
    border-radius: 12px;
    padding: 11px 19px;
    margin-top: 0;
    font-size: 1em;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

/* Efeito ao passar o mouse sobre o botão */
.popup-content button:hover {
    background: var(--accent);
    opacity: .8;
    transform: translateY(-2px);
}

.popup-content button:focus {
    opacity: .5;
}

.nomeDoce{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    gap: 10px;
}

.openinfo{
    
    cursor: pointer;
    padding: 3px;
    border-radius: 8px;
    color: white;
    font-size: .5rem;
    background: var(--accent);
    transition: opacity .2s ease-in-out, color .3s ease-in-out, transform .25s cubic-bezier(0.175, 0.885, 0.265, 1.55);
}

.openinfo i.material-symbols-outlined{
    font-size: 1.35rem;
    transition: transform .25s cubic-bezier(0.175, 0.885, 0.265, 1.55);
}

.openinfo:hover{
    opacity: .7;
}

.openinfo:active{
    transform: scale(.9);
}

/* Estilo básico do tooltip */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

/* Texto do tooltip */
.tooltip .tooltiptext {
    font-size: .8rem;
    max-width: 500px;
    background-color: var(--principal);
    color: var(--text);
    text-align: center;
    border-radius: 15px;
    padding: 5px 10px;
    margin-bottom: 5px;
    transform: translateY(-10px);
    position: absolute;
    z-index: 1;
    bottom: 100%; /* Aparece acima do elemento */
    left: 50%;
    margin-left: -50px; /* Centro horizontal */
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease; /* Animação de fade */
}

/* Mostrar tooltip quando o usuário passa o mouse */
.tooltip:hover .tooltiptext {
    transform: translateY(0);
    opacity: 1;
}

.tooltip2 .tooltiptext {
    font-size: .8rem;
    max-width: 500px;
    background-color: var(--principal);
    color: var(--text);
    text-align: center;
    border-radius: 10px;
    padding: 5px 10px;
    margin-bottom: 10px;
    transform: translateY(-10px);
    position: absolute;
    z-index: 1;
    bottom: 100%; /* Aparece acima do elemento */
    left: 50%;
    margin-left: -50px; /* Centro horizontal */
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.2s ease; /* Animação de fade */
}

.tooltip2:hover .tooltiptext {
    transform: translateY(0);
    opacity: 1;
}

/* Responsividade: Tooltip para telas pequenas */
@media (max-width: 600px) {
    .tooltip .tooltiptext {
        width: 100px; /* Reduzir o tamanho em telas pequenas */
        font-size: 12px; /* Ajustar tamanho da fonte */
    }
}


#quick-actions {
        position: fixed;
        top: 150px;
        right: 10px;
        z-index: 1500;
        opacity: .8;
        display: flex;
        flex-direction: column;
        align-items: center;
        touch-action: none; /* importante para mobile */
        user-select: none;
    }

    .dragging {
        transition: none !important;
    }

  
    #main-action-btn {
        background-color: #4e4e4e30;
        color: var(--text);
        border: none;
        border-radius: 20px;
        width: 62px;
        height: 62px;
        font-size: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 0 10px #50505028;
        cursor: grab;
        transition: background-color .3s ease, box-shadow .3s ease, transform .25s cubic-bezier(0.175, 0.885, 0.265, 1.55), opacity .3s ease;

        span{
            padding: 8px;
            border-radius: 12px;
            color: white;
            font-size: 1.7rem;
            background-color: var(--text);
            transition: color .3s ease;
        }
    }

    #main-action-btn:hover{
        opacity: .8;
    }

    #main-action-btn:active{
        opacity: .4;
        transform: scale(.9);
    }
    

    .action-menu .action-btn:nth-child(1) { animation-delay: 0.1s; }
    .action-menu .action-btn:nth-child(2) { animation-delay: 0.3s; }
    .action-menu .action-btn:nth-child(3) { animation-delay: 0.5s; }
    /* adicione mais se tiver mais botões */

    @keyframes slideOn {
        from {
          transform: translateY(20px);
          opacity: 0;
        }
        to {
          transform: translateY(0);
          opacity: 1;
        }
      }
      
    /* continue conforme o número de links */


    .action-menu {
        position: absolute;
        display: flex;
        background-color: #4e4e4e30;
        padding: 10px 8px;
        border-radius: 20px;
        gap: 10px;
        flex-direction: column; /* abre pra baixo */
        margin-bottom: 10px;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }
  
    /* Direção dinâmica do menu */
    #quick-actions.up {
        flex-direction: column-reverse; /* abre pra cima */

        .action-menu {
            margin-bottom: 70px;
        }
    }
    
    #quick-actions.down {
        flex-direction: column; /* abre pra baixo */

        .action-menu {
            margin-top: 70px;
        }
    }


    .action-menu.hidden {
        opacity: 0;
        pointer-events: none;
        transform: translateY(10px);
    }
  
    .action-btn {
        background-color: var(--text);
        text-decoration: none;
        color: white;
        border: none;
        padding: 8px;
        border-radius: 12px;
        display: flex;
        opacity: 0;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        animation: slideOn 0.5s forwards;
        transition: background-color .2s ease, color .2s ease;

        span{
            font-size: 1.7rem;
        }
    }

    .action-btn:hover{
        opacity: .5;
    }
    