/* Estilo para el panel lateral */
.carrito-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    transition: width 0.5s ease;
    padding-top: 60px;
    z-index: 1000;
    overflow-y: auto;
}

/* Botón de cerrar */
.close-button {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
    color: #333;
    cursor: pointer;
}

/* Estilo del contenedor de productos */
#carrito-container {
    padding: 15px;
}

/* Estilo para los productos en el carrito */
.producto {
    display: flex;
    flex-direction: column;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.producto-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    margin-bottom: 5px;
}

.producto-details {
    display: flex;
    justify-content: space-between;
}

.producto-details span {
    display: block;
    width: 25%;
    font-size: 14px;
    color: #333;
}

.producto img {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

/* Estilo del precio total */
#total-price {
    font-size: 18px;
    font-weight: bold;
    padding: 15px;
    text-align: center;
    border-top: 1px solid #ddd;
}

/* Estilo del botón del carrito */
.carrito-button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #000;
    padding: 10px 20px;
}

/* Botón de confirmar pedido */
.confirmar-pedido-button {
    background-color: #28a745;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    display: block;
    margin: 20px auto;
    font-size: 16px;
    text-align: center;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.confirmar-pedido-button:hover {
    background-color: #218838;
}
body {
    font-family: 'Oswald', sans-serif;
}
