* {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', 'Quicksand', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

section {
    max-width: 900px;
    margin: 6% auto;
    padding: 40px 20px;
}

/* ========================== CARRINHO ========================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 5px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #e3e3e3;
}

.close-cart {
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
}

/* Lista */
.cart-items {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #efefef;
}

.remove-item {
    background: none;
    border: none;
    color: #d40000;
    cursor: pointer;
    font-size: 20px;
}

/* Total + Bot���o */
.cart-footer {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

#cart-total {
    font-weight: bold;
    display: inline-block;
    margin-left: 5px;
}

.btn-finalizar {
    width: 100%;
    padding: 14px;
    background: #113E21;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 17px;
    margin-top: 15px;
    cursor: pointer;
    transition: 0.25s;
}

.btn-finalizar:hover {
    background: #0d2f19;
    transform: scale(1.03);
}

/* ========================== MODAL FINALIZAR PEDIDO ========================== */
.modal-finalizar {
    display: none; 
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.65);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-finalizar .modal-content {
    background: #fff;
    width: 90%;
    max-width: 450px;
    padding: 25px;
    border-radius: 10px;
    animation: zoomIn 0.25s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-close {
    background: none;
    border: none;
    font-size: 26px;
    float: right;
    cursor: pointer;
}

/* Formul���rio */
#form-pedido label {
    display: block;
    margin-top: 12px;
    font-weight: 600;
    color: #113E21;
}

#form-pedido input,
#form-pedido select,
#form-pedido textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-top: 5px;
    font-size: 15px;
}

#form-pedido textarea {
    height: 90px;
}

/* Bot���o WhatsApp */
.btn-whatsapp {
    width: 100%;
    background: #25D366;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 17px;
    color: white;
    cursor: pointer;
    transition: 0.25s;
    margin-top: 14px;
}

.btn-whatsapp:hover {
    background: #1ca74f;
    transform: scale(1.03);
}

.delivery-address-group {
    display: none;
}

/* ========================== CARDS ========================== */
.bolo {
    display: flex;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #113E21;
}

.central {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
  padding: 16px;
  background: white;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: 0.25s;
}

.card:hover {
    box-shadow: 0 6px 12px rgba(17, 62, 33, 0.1);
    transform: translateY(-2px);
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #113E21;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.card-text {
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.5;
}

.price-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f5f5f5;
    padding: 10px 16px;
    margin-top: auto;
}

.price-button .price {
    font-weight: 600;
    font-size: 18px;
    color: #113E21;
}

.price-button .bi-cart-plus {
    color: #113E21;
    font-size: 32px;
    cursor: pointer;
    transition: 0.25s;
}

.price-button .bi-cart-plus:hover {
    transform: scale(1.15);
}

/* ========================== MENU LATERAL ========================== */
.menu-lateral {
    width: 320px;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    padding: 20px 0;
}

.menu-header {
    padding: 120px 20px 15px;
}

.menu-header h3 {
    color: #113E21;
    font-weight: bold;
    font-size: 50px;
}

.menu-opcoes {
    list-style: none;
}

.opcao {
    padding: 12px 20px;
    cursor: pointer;
    transition: 0.1s;
}

.opcao:hover, .opcao.ativa {
    background-color: #e9ecef;
    border-left: 3px solid #113E21;
}

/* ===== ORGANIZAÇÃO DO FORMULÁRIO DO MODAL (SEM ALTERAR HTML) ===== */

.modal-content h2 {
    text-align: center;
    margin-bottom: 10px;
    color: #113E21;
}

#order-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group,
#delivery-address-group {
    display: flex;
    flex-direction: column;
}

.form-group label,
#delivery-address-group label {
    font-weight: 600;
    color: #113E21;
    margin-bottom: 4px;
}

.form-group input,
.form-group select,
#delivery-address-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
}

#order-notes {
    resize: none;
}

/* Botão */
.submit-order-btn {
    width: 100%;
    background: #113E21;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-size: 17px;
    color: white;
    cursor: pointer;
    transition: 0.25s;
}

.submit-order-btn:hover {
    background: #0d2f19;
    transform: scale(1.03);
}

/* Botão de Fechar */
.close-modal {
    float: right;
    font-size: 26px;
    cursor: pointer;
    margin-top: -5px;
    margin-bottom: 5px;
}

/* ========================== CATEGORIAS (LINKS DO MENU) ========================== */
.menu-opcoes a {
    display: block;
    padding: 12px 20px;
    color: #113E21;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    border-left: 3px solid transparent;
}

.menu-opcoes a:hover,
.menu-opcoes a.ativa {
    background-color: #e9ecef;
    border-left: 3px solid #113E21;
}


.product-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.product-slider img {
    width: 100%;
    display: none;
}

.product-slider img.active {
    display: block;
    border-radius: 8px;
    transition: 0.3s ease;
}

