* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f7;
    color: #333;
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

#contenedor-principal {
    width: 100%;
    max-width: 480px;
    background-color: #ffffff;
    min-height: 100vh;
    position: relative;
    padding-bottom: 90px;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.perfil-oculto, .modulo-oculto {
    display: none !important;
}

#cabecera-comercio {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.02), transparent);
}

.logo-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px auto;
    border-radius: 50%;
    overflow: hidden;
    background-color: #eee;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

#logo-negocio {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#nombre-negocio {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #111;
}

#cargo-especialidad {
    font-size: 14px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

#descripcion-perfil {
    font-size: 15px;
    color: #444;
    line-height: 1.4;
    padding: 0 10px;
}

#seccion-agenda {
    padding: 10px 20px;
}

#btn-agenda {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px;
    background-color: #007aff;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,122,255,0.2);
}

#catalogo-productos {
    padding: 20px;
}

.categoria-titulo {
    font-size: 18px;
    font-weight: 700;
    margin: 25px 0 15px 0;
    padding-bottom: 5px;
    border-bottom: 2px solid #eee;
    color: #222;
}

.producto-tarjeta {
    display: flex;
    background-color: #ffffff;
    border: 1px solid #e5e5e7;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px;
    gap: 12px;
}

.producto-foto {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.producto-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.producto-nombre {
    font-size: 16px;
    font-weight: 600;
    color: #111;
    margin-bottom: 4px;
}

.producto-descripcion {
    font-size: 13px;
    color: #666;
    line-height: 1.3;
    margin-bottom: 6px;
}

.producto-precio {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.btn-anadir {
    align-self: center;
    background-color: #f2f2f7;
    border: none;
    color: #007aff;
    font-size: 18px;
    font-weight: 600;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

#barra-carrito {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 440px;
    background-color: #1c1c1e;
    color: #ffffff;
    border-radius: 16px;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 100;
}

.info-carrito {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-carrito span {
    font-size: 13px;
    color: #aeaeb2;
}

.info-carrito strong {
    font-size: 16px;
    color: #ffffff;
}

#btn-ver-pedido {
    background-color: #34c759;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
}

#whatsapp-flotante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 99;
    font-size: 14px;
}