/* ============================================================
   RESET E TIPOGRAFIA BASE
============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}



/* ============================================================
   ELEMENTOS GERAIS
============================================================ */
.traco {
    border: none;
    height: 3px;
    background-color: #3498db;
    margin: 20px 0;
    border-radius: 2px;
}

.icone-circulo {
    color: rgb(44, 44, 44);
    font-size: 10px;
}

/* ============================================================
   CABEÇALHO
============================================================ */
.header-container {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: transform 0.5s ease;
}

.header-container:hover .header-bg {
    transform: scale(1.02);
}

/* ============================================================
   LOGO E TEXTO
============================================================ */
.logo-container {
    position: absolute;
    left: 40px;
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.logo-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    background-color: white;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.45);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.logo-text {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 1);
}

.logo-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 1.9;
}

/* ============================================================
   RELÓGIO / DATA
============================================================ */
.info-horario {
    position: absolute;
    right: 40px;
    bottom: 10px;

    display: flex;
    /* Itens lado a lado */
    align-items: center;
    /* Alinhamento vertical */
    gap: 10px;
    /* Espaço entre data e horário */

    background-color: rgba(0, 0, 0, 0.6);
    padding: 5px 10px;
    border-radius: 8px;
    color: white;
    z-index: 10;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-horario .data,
.info-horario .horario {
    font-size: 0.83rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    /* Evita quebra de linha */
}

.info-horario .data {
    font-weight: 500;
}

.info-horario .horario {
    font-family: 'Courier New', monospace;
}

/* ============================================================
   MENU DE CATEGORIAS
============================================================ */
.menu-categorias {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: none;
}

.menu-categorias-container {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px;
    scrollbar-width: none;
}

.menu-categorias-container::-webkit-scrollbar {
    display: none;
}

.menu-categorias ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    white-space: nowrap;
}

.menu-categorias>ul>li {
    position: relative;
    padding: 15px 20px;
    flex-shrink: 0;
}

.menu-categorias>ul>li>a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
    display: block;
}

.menu-categorias>ul>li>a:hover {
    color: #e74c3c;
}

.list-group-item span {
    color: rgb(213, 253, 13);
    font-weight: bold;
}

/* ============================================================
   BOTÕES DE NAVEGAÇÃO DO MENU
============================================================ */
.nav-button {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40px;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.nav-button:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.9);
}

.nav-button.prev {
    left: 0;
}

.nav-button.next {
    right: 0;
}

.menu-categorias:hover .nav-button {
    opacity: 0.7;
}

/* ============================================================
   BOTÃO GRUPOS
============================================================ */
.btn-grupos {
    margin: 20px auto;
    display: block;
    width: fit-content;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* ============================================================
   MODAL DE GRUPOS E SUBGRUPOS
============================================================ */
.modal-grupos .list-group-item {
    cursor: pointer;
    transition: all 0.2s;
}

.modal-grupos .list-group-item:hover {
    background-color: rgb(88, 162, 236);
    transform: translateX(5px);
}

.modal-grupos .list-group-item.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.subgrupos-container {
    max-height: 300px;
    overflow-y: auto;
}



.cardProdutosDefault-container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    padding: 10px;
    margin: 30px auto;
    background: linear-gradient(to top, rrgb(248, 243, 237) 40%, rgb(192, 221, 241)80%, #ffffff 100%);
    border-radius: 20px;
  }

.cardProdutosDefault {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(480px, 1fr));
    gap: 10px;
    width: 100%;

}

.cardProdutosDefault-item {

    display: flex;
    /* ALTERAÇÃO PRINCIPAL */
    width: 100%;
    /* Ocupa toda a largura da coluna */
    flex-direction: row;
    /* Imagem à esquerda, texto à direita */
    width: 100%;

    box-shadow: 0 2px 6px rgba(0, 10, 0, 1);
    overflow: hidden;

    text-align: center;
    padding: 5px 10px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    margin-bottom: 20px;
    font-size: 15px;
    text-decoration: none;

    --rX: 0deg;
    --rY: 0deg;
    --bX: 50%;
    --bY: 80%;

    background-color: #fff;
    border-radius: 20px;
    transform: rotateX(var(--rX)) rotateY(var(--rY));
    box-shadow: 0 30px 20px #5555;
}



.cardProdutosDefault-item:hover {
    transform: scale(1.05);
    background: #e9bd91;
}


.cardProdutosDefault-img {
    width: 30%;
    /* Largura da imagem */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 10px;
}

.cardProdutosDefault-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}


.cardProdutosDefault-text {
    width: 70%;
    /* Largura do texto */
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.nome-produto {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--cor-texto);
}



/* ============================================================
   RESPONSIVIDADE
============================================================ */
@media (max-width: 550px) {

    .cardProdutosDefault {
        grid-template-columns: 1fr;
    }

    .header-container {
        height: 250px;
    }

    .logo-container {
        left: 20px;
        bottom: 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .logo-img {
        width: 100px;
        height: 100px;
    }

    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text p {
        font-size: 0.7rem;
    }

    .info-horario {
        right: 20px;
        bottom: 20px;
        padding: 8px 12px;
        gap: 6px;
    }

    .info-horario .data {
        font-size: 0.7rem;
    }

    .info-horario .horario {
        font-size: 0.75rem;
    }
}

.menu-categorias>ul>li {
    padding: 10px 15px;
}

.btn-grupos {
    margin: 15px auto;
    width: 90%;
}

@media (max-width: 350px) {

    .cardProdutosDefault {
        grid-template-columns: 1fr;
        
    }

    .info-horario {
        right: 10px;
        bottom: 10px;
        padding: 6px 10px;
        gap: 4px;
    }

    .info-horario .data {
        font-size: 0.6rem;
    }

    .info-horario .horario {
        font-size: 0.7rem;
    }

    .logo-text p {
        font-size: 0.5rem;
    }
}