/* --- ESTILOS GERAIS E CORES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Google Sans', Tahoma, Geneva, Verdana, sans-serif;
}

/* ESCONDE O CHECKBOX CONTROLADOR DA NAVBAR TOTALMENTE */
#sidebar-input {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
}

body {
    background-color: #fffaf1;
    color: #333;
    display: flex;
    justify-content: center;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- ENVELOPE DA PÁGINA (MARGENS DO DESKTOP) --- */
.page-container {
    width: 100%;
    max-width: 1100px;
    background-color: #fff9ee;
    min-height: 100vh;
    position: relative;
    padding-bottom: 40px;
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #fffaf1;
    position: sticky;
    top: 0;
    z-index: 100;
}

/* ICONES EM SVG (NATIVOS E SEM CONFLITOS DE EMOJI) */
.menu-icon, .search-icon {
    width: 26px;
    height: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8c6d31;
}

.menu-icon svg, .search-icon svg {
    width: 100%;
    height: 100%;
    stroke: #8c6d31; /* Força a cor dourada nas linhas do SVG */
    pointer-events: none; /* Garante que o clique passe direto para a label */
}

/* LOGO RESPONSIVA */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    width: 40%; 
    max-width: 150px; 
    min-width: 110px;
}

.logo img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* --- BARRA DE PESQUISA --- */
.search-container {
    padding: 10px 20px;
    display: flex;
    justify-content: center;
}

.search-box {
    width: 100%;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #d1c4a8;
    padding: 10px 15px;
    border-radius: 20px;
}

.search-box-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    margin-right: 8px;
}

.search-box-icon svg {
    width: 100%;
    height: 100%;
    stroke: #8c6d31;
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    width: 100%;
    font-size: 14px;
    color: #333;
}

/* --- BANNER CARROSSEL --- */
.carousel-container {
    width: 100%;
    height: 280px;
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

.carousel-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    padding: 20px;
    background-size: cover;
    background-position: center;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.banner-title { font-size: 28px; font-weight: 300; letter-spacing: 3px; }
.banner-title em { font-family: Georgia, serif; font-style: italic; display: block; font-size: 36px; color: #fff; }
.price-badge { border: 2px solid #fff; padding: 5px 25px; border-radius: 25px; margin: 15px 0; font-size: 20px; background: rgba(0, 0, 0, 0.2); }
.banner-subtitle { font-size: 11px; letter-spacing: 2px; }

.disclaimer { padding: 15px 20px; font-size: 11px; color: #777; text-align: center; line-height: 1.4; }

/* --- SEÇÕES E PRODUTOS --- */
.section-title { padding: 12px 20px; font-size: 15px; letter-spacing: 1px; background-color: #4C4C32; font-weight: regular; color: #fffcfc; margin-top: 10px; }
.products-grid { display: grid; grid-template-columns: 1fr; gap: 25px; padding: 20px; }

@media (min-width: 768px) {
    .products-grid { grid-template-columns: 1fr 1fr; }
}

.product-card { background-color: transparent; display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1px solid rgba(140, 109, 49, 0.2); padding-bottom: 20px; cursor: pointer; transition: transform 0.2s ease; }
.product-card:hover { transform: translateY(-2px); }
.product-info { flex: 1; padding-right: 15px; }
.badge { background-color: #8c6d31; color: white; font-size: 10px; padding: 2px 6px; border-radius: 4px; display: inline-block; margin-bottom: 6px; }
.product-title { font-size: 16px; font-weight: bold; color: #222; margin-bottom: 6px; }
.product-desc { font-size: 13px; color: #666; line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price { font-weight: bold; color: #000; font-size: 15px; margin-bottom: 4px; }
.saiba-mais { font-size: 12px; color: #8c6d31; font-weight: bold; text-decoration: underline; }
.product-img { width: 110px; height: 110px; border-radius: 12px; object-fit: cover; }

/* --- EXPANSÃO DO PRATO (MODAL) --- */
.modal-toggle { display: none; }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(3px); z-index: 1000; display: none; justify-content: center; align-items: center; padding: 20px; }
.modal-content { background-color: #fffaf0; width: 100%; max-width: 500px; border-radius: 16px; overflow: hidden; position: relative; padding: 25px; box-shadow: 0 15px 35px rgba(0,0,0,0.2); animation: fadeIn 0.3s ease; }
.modal-close { position: absolute; top: 15px; right: 20px; font-size: 32px; color: #333; cursor: pointer; }
.modal-img-large { width: 100%; height: 280px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
.modal-title { font-size: 24px; color: #8c6d31; margin-bottom: 12px; }
.modal-desc { font-size: 15px; color: #444; line-height: 1.6; margin-bottom: 20px; }
.modal-price { font-size: 22px; font-weight: bold; color: #000; }
.modal-toggle:checked + .modal-overlay { display: flex; }

/* --- SIDEBAR REATIVA (ACIONADA PELO CHECKBOX SELECIONADO) --- */
.sidebar {
    position: fixed;
    top: 0;
    right: -100%; /* Começa escondida à direita */
    width: 100%;
    max-width: 340px;
    height: 100%;
    background-color: #fffaf0;
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    z-index: 200;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding: 50px 30px;
}

/* Quando o input secreto estiver marcado, traga a sidebar para a tela */
#sidebar-input:checked ~ .sidebar {
    right: 0 !important;
}

.sidebar-close { position: absolute; top: 15px; right: 22px; font-size: 28px; cursor: pointer; color: #8c6d31; }
.sidebar-logo { margin-bottom: 45px; }
.sidebar-info-block { margin-bottom: 30px; font-size: 14px; color: #555; line-height: 1.6; }
.sidebar-info-block strong { display: block; color: #333; margin-bottom: 6px; font-size: 12px; letter-spacing: 1px; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}