body {
    font-family: 'Roboto', sans-serif;
    background-color: #FDF8F0;
    color: #4B3F36;
    margin: 0;
    padding-bottom: 100px;
}

.main-header {
    text-align: center;
    padding: 20px;
    border-bottom: 2px solid #D4C5AD;
}

.logo {
    max-width: 120px;
    margin-bottom: 10px;
}

.main-header h1 {
    font-family: 'Lora', serif;
    font-size: 2.5em;
    margin: 0;
}

.category-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    flex-wrap: wrap;
}

.category-btn {
    font-family: 'Lora', serif;
    background-color: #EAE0D1;
    border: 1px solid #D4C5AD;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s;
}

.category-btn.active, .category-btn:hover {
    background-color: #4B3F36;
    color: #FDF8F0;
}

.product-list {
    padding: 0 15px;
    max-width: 600px;
    margin: 0 auto;
}

.product-card {
    background-color: #fff;
    border: 1px solid #EAE0D1;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden; /* Contiene los elementos flotantes */
}

.product-card img {
    width: 120px; /* Tamaño más pequeño */
    height: 120px; /* Imagen cuadrada */
    object-fit: cover;
    border-radius: 5px;
    float: left; /* Imagen a la izquierda */
    margin-right: 15px; /* Espacio entre imagen y texto */
    margin-bottom: 10px;
}

.product-details {
    overflow: hidden; /* El texto se acomoda al lado */
}

.product-details h3 {
    font-family: 'Lora', serif;
    font-size: 1.5em;
    margin: 0 0 5px 0;
}

.product-details p {
    margin: 0 0 15px 0;
    font-size: 0.9em;
    line-height: 1.4;
}

.variant-options, .flavor-options, .base-options {
    margin-bottom: 15px;
    text-align: center; /* Centra los botones de opción */
}

.option-btn {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 8px 15px;
    margin: 5px 5px 5px 0;
    cursor: pointer;
}

.option-btn.selected {
    background-color: #4B3F36;
    color: white;
    border-color: #4B3F36;
}

.add-to-cart-btn {
    background-color: #A0522D;
    color: white;
    border: none;
    width: 100%;
    padding: 12px;
    font-size: 1em;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    clear: both; /* Limpia el float de la imagen */
    display: block;
    margin-top: 15px;
}

.cart-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #4B3F36;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    box-sizing: border-box;
}

#view-cart-btn {
    background-color: #FDF8F0;
    color: #4B3F36;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
}

/* Estilos del Modal y botón de eliminar */
.modal {
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
}
.close-btn {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
#modal-order-summary ul {
    list-style: none;
    padding: 0;
}
#modal-order-summary li {
    margin-bottom: 10px;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.remove-item-btn {
    color: #cc0000;
    border: 1px solid #cc0000;
    background-color: transparent;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 10px;
    line-height: 22px;
    text-align: center;
}
.final-instruction {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
}