:root {
    --green: #16A34A;
    --dark-green: #14532D;
    --light-green: #F0FDF4;
    --salad-green: #22C55E;
    --salad-dark: #15803D;
    --salad-light: #DCFCE7;
    --emerald-border: #16A34A;
    --emerald-pill: #4ADE80;
    --accent-purple: #16A34A;
    --accent-pink: #FACC15;
    --yellow: #FACC15;
    --dark: #1F2937;
    --bg-color: #FAFAF9;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #F8FAF8;
    background-image: 
        radial-gradient(circle at 10% 15%, rgba(34, 197, 94, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 40%, rgba(250, 204, 21, 0.09) 0%, transparent 35%),
        radial-gradient(circle at 15% 75%, rgba(22, 163, 74, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(34, 197, 94, 0.08) 0%, transparent 35%),
        radial-gradient(rgba(34, 197, 94, 0.12) 1.2px, transparent 1.2px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 28px 28px;
    background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
    color: var(--dark);
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Esferas de luz ambiental viva en el fondo */
body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    z-index: -1;
    filter: blur(90px);
    pointer-events: none;
    animation: ambientPulse 12s ease-in-out infinite alternate;
}
body::before {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.28), rgba(20, 83, 45, 0.05));
    top: -150px;
    left: -180px;
}
body::after {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.25), rgba(234, 179, 8, 0.05));
    bottom: -100px;
    right: -140px;
    animation-delay: -6s;
}

@keyframes ambientPulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.25; }
    50% { transform: scale(1.1) translate(20px, -20px); opacity: 0.35; }
    100% { transform: scale(1) translate(0, 0); opacity: 0.25; }
}

/* HEADER ELEGANTE GREEN KAREN — GOURMET SALAD BAR */
header.app-header {
    background:
        /* Resplandor cálido de sol matutino centrado */
        radial-gradient(circle at 50% -10%, rgba(254, 240, 138, 0.32) 0%, rgba(74, 222, 128, 0.18) 35%, transparent 70%),
        /* Sutil iluminación de menta fresca en esquinas */
        radial-gradient(circle at 8% 25%, rgba(134, 239, 172, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 92% 25%, rgba(250, 204, 21, 0.14) 0%, transparent 45%),
        /* Degradado base de terciopelo verde esmeralda y jardín */
        linear-gradient(160deg, #09371C 0%, #0F532D 35%, #15803D 70%, #166534 100%);
    color: white;
    padding: 60px 24px 85px;
    text-align: center;
    position: relative;
    margin-bottom: 25px;
    overflow: hidden;
    border-bottom: none;
    box-shadow: 0 16px 40px rgba(10, 50, 25, 0.25);
}

/* Siluetas botánicas sutiles como marca de agua en las esquinas superiores */
.header-decor-corner {
    position: absolute;
    top: -10px;
    width: 140px;
    height: 140px;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}
.header-decor-corner.decor-left {
    left: -10px;
}
.header-decor-corner.decor-right {
    right: -10px;
}
.header-decor-corner svg {
    width: 100%;
    height: 100%;
}

/* Separador inferior con onda orgánica botánica y borde dorado */
.header-wave-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 55px;
    line-height: 0;
    pointer-events: none;
    z-index: 1;
}

.header-wave-svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Logo con aura y resplandor */
.logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 12px;
    z-index: 2;
}

.logo-glow-ring {
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(250, 204, 21, 0.4) 0%, transparent 70%);
    animation: pulseGlow 3s infinite ease-in-out;
    z-index: -1;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(0.96); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.9; }
}

header img.logo-img {
    width: 145px;
    height: 145px;
    border-radius: 50%;
    border: 6px solid var(--yellow);
    box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.35), 0 12px 28px rgba(0,0,0,0.35);
    object-fit: cover;
    background: white;
    transition: transform 0.4s ease;
    display: block;
}
header img.logo-img:hover {
    transform: rotate(6deg) scale(1.06);
}

/* Badge superior elegante */
.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(250, 204, 21, 0.6);
    color: var(--yellow);
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.badge-icon {
    width: 14px;
    height: 14px;
}

header h1 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 46px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-shadow: 2px 3px 6px rgba(0,0,0,0.3);
    position: relative;
    z-index: 2;
}

header p.subtitle {
    margin-top: 6px;
    font-weight: 400;
    font-size: 16px;
    opacity: 0.95;
    color: #DCFCE7;
    position: relative;
    z-index: 2;
}

/* Fila de características destacadas */
.header-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    position: relative;
    z-index: 2;
}

.feat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s ease;
}
.feat-pill:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-2px);
    border-color: var(--yellow);
}
.icon-feat {
    width: 15px;
    height: 15px;
    color: var(--yellow);
}

main {
    padding: 0 20px 60px;
    max-width: 1100px;
    margin: 0 auto;
}

/* FILTROS POR CATEGORÍA */
.filtros-section {
    margin: 10px 0 30px;
    text-align: center;
    min-height: 52px;
}
#catalogo {
    min-height: 500px;
}
.filtros-wrapper {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    background: white;
    padding: 10px 16px;
    border-radius: 40px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.05);
    border: 2px solid rgba(52, 211, 153, 0.3);
}
.btn-filtro {
    background: transparent;
    border: none;
    padding: 10px 22px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--dark-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}
.btn-filtro .icon-btn {
    width: 18px;
    height: 18px;
}
.btn-filtro:hover {
    background: var(--light-green);
    color: var(--green);
    transform: translateY(-2px);
}
.btn-filtro.active {
    background: linear-gradient(135deg, var(--green), var(--dark-green));
    color: white;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.35);
}

/* CATEGORY HEADERS */
.category-header {
    text-align: center;
    margin: 50px 0 25px;
    position: relative;
}
.category-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    color: var(--dark-green);
    background: white;
    display: inline-block;
    padding: 10px 40px;
    border-radius: 40px;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.1);
    margin: 0;
    border: 3px solid var(--light-green);
    position: relative;
    z-index: 1;
}
.icon-leaf {
    width: 24px;
    height: 24px;
    vertical-align: -3px;
    color: var(--green);
    margin: 0 4px;
}
.category-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    z-index: 0;
    opacity: 0.25;
}

/* GRID DE PRODUCTOS */
.catalogo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 650px) { .catalogo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 950px) { .catalogo-grid { grid-template-columns: repeat(3, 1fr); } }

/* PRODUCT CARD */
.card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(22, 163, 74, 0.08);
    position: relative;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 36px rgba(22, 163, 74, 0.15);
}

.img-wrapper {
    position: relative;
    height: 230px;
    overflow: hidden;
}
.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.card:hover .img-wrapper img {
    transform: scale(1.08);
}

.badge-price {
    position: absolute;
    bottom: 12px;
    right: 15px;
    background: var(--yellow);
    color: var(--dark-green);
    font-weight: 700;
    font-size: 19px;
    padding: 6px 18px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(250, 204, 21, 0.5);
    z-index: 2;
}

/* STOCK BADGE DEBAJO DE LA FOTO */
.stock-bar {
    padding: 10px 20px 0;
    display: flex;
    justify-content: flex-start;
}
.stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #DCFCE7;
    color: #166534;
    font-size: 13px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(22, 163, 74, 0.2);
}
.icon-stock {
    width: 15px;
    height: 15px;
    color: var(--green);
}

.card-body {
    padding: 15px 22px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: center;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 5px 0 18px 0;
    color: var(--dark-green);
}

.btn-agregar {
    background-color: var(--green);
    color: white;
    border: none;
    padding: 13px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.3);
}
.btn-agregar:hover {
    background-color: var(--dark-green);
    box-shadow: 0 6px 16px rgba(20, 83, 45, 0.4);
    transform: translateY(-2px);
}
.btn-agregar:active {
    transform: scale(0.97);
}

/* ===================================================
   SECCIÓN DEL CARRITO (ESTILO CANVA / PINTEREST)
=================================================== */
.carrito-section {
    margin: 60px auto 30px;
    max-width: 850px;
    position: relative;
}

.carrito-card {
    position: relative;
    background: white;
    border: 3px solid var(--green);
    border-radius: 28px;
    padding: 40px 30px 30px;
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.12);
}

/* Pastilla superior del título "Carrito" estilo Green Karen */
.carrito-header-pill {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #22C55E, #15803D);
    border: 2px solid var(--dark-green);
    padding: 8px 45px;
    border-radius: 30px;
    box-shadow: 3px 3px 0px var(--yellow), 0 4px 15px rgba(22, 163, 74, 0.3);
    z-index: 2;
}
.carrito-header-pill span {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.25);
}

/* Estado de Carrito Vacío */
.carrito-vacio {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
    color: #4B5563;
    font-size: 16px;
    font-weight: 400;
}
.icon-vacio {
    width: 26px;
    height: 26px;
    color: var(--green);
    flex-shrink: 0;
}
.carrito-vacio p {
    margin: 0;
}

/* Lista de productos en Carrito */
#carrito-lista {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.carrito-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #F9FAFB;
    border-radius: 18px;
    border: 1px solid var(--gray-200);
    gap: 15px;
    transition: background 0.2s;
    animation: fadeIn 0.3s ease;
}
.carrito-item:hover {
    background: #F0FDF4;
}

.carrito-item-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}
.carrito-thumb {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--emerald-border);
}
.carrito-item-detalles {
    display: flex;
    flex-direction: column;
}
.carrito-nombre {
    font-weight: 600;
    color: var(--dark-green);
    font-size: 15px;
}
.carrito-unitario {
    font-size: 13px;
    color: #6B7280;
}

.carrito-controles {
    display: flex;
    align-items: center;
    gap: 16px;
}

.carrito-cantidad {
    display: inline-flex;
    align-items: center;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 25px;
    padding: 2px 6px;
    gap: 8px;
}
.btn-qty {
    background: #F3F4F6;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    color: var(--dark-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.btn-qty:hover {
    background: var(--green);
    color: white;
}
.carrito-cantidad__valor {
    font-weight: 600;
    font-size: 14px;
    min-width: 18px;
    text-align: center;
}

.carrito-subtotal {
    font-weight: 700;
    font-size: 16px;
    color: var(--dark-green);
    min-width: 60px;
    text-align: right;
}

.carrito-quitar {
    background: transparent;
    border: none;
    color: #9CA3AF;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.carrito-quitar:hover {
    color: #EF4444;
    background: #FEE2E2;
}

/* Línea punteada sutil en verde fresco */
.carrito-divider {
    border-bottom: 2px dashed rgba(22, 163, 74, 0.35);
    margin: 20px 0;
}

/* Fila inferior de total y botón sincronizar */
.carrito-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.carrito-total-wrapper {
    font-size: 18px;
    color: var(--dark);
}
.total-label {
    font-weight: 400;
    margin-right: 6px;
}
.total-valor {
    font-weight: 700;
    font-size: 22px;
    color: var(--dark-green);
}

/* Botón Sincronizar en verde ensalada Green Karen */
.btn-sincronizar {
    background: linear-gradient(135deg, var(--green), var(--dark-green));
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
    transition: all 0.25s ease;
}
.btn-sincronizar:hover {
    background: linear-gradient(135deg, #15803D, #052E16);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(20, 83, 45, 0.45);
}
.btn-sincronizar:active {
    transform: scale(0.98);
}
.icon-sync {
    width: 16px;
    height: 16px;
}

/* Mensaje de estado de sincronización */
.mensaje {
    margin: 12px 0 0;
    font-size: 14px;
    font-weight: 500;
    display: none;
    animation: fadeIn 0.3s ease;
}
.mensaje.visible {
    display: block;
}

/* Decoración circular en la esquina inferior en verde lechuga suave */
.carrito-blob-corner {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #BBF7D0;
    border: 2px solid #86EFAC;
    opacity: 0.85;
    z-index: 0;
    pointer-events: none;
}

/* TOAST FEEDBACK FLOTANTE */
.toast-feedback {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: var(--dark-green);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.toast-feedback.show {
    opacity: 1;
    transform: translateY(0);
}
.toast-feedback.warning {
    background: #D97706;
}

/* ===================================================
   FOOTER PREMIUM BOTÁNICO GREEN KAREN
=================================================== */
footer.app-footer {
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(34, 197, 94, 0.22) 0%, transparent 60%),
                radial-gradient(circle at 90% 100%, rgba(250, 204, 21, 0.18) 0%, transparent 55%),
                linear-gradient(155deg, #052E16 0%, #14532D 45%, #0B381D 100%);
    color: white;
    margin-top: 80px;
    padding: 70px 24px 0;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    border-top: 5px solid var(--yellow);
    box-shadow: 0 -15px 40px rgba(20, 83, 45, 0.2);
    overflow: hidden;
}

/* Hojas botánicas decorativas en footer */
.footer-leaf {
    position: absolute;
    color: rgba(255, 255, 255, 0.08);
    pointer-events: none;
    z-index: 0;
}
.leaf-f1 { top: 20px; left: 40px; width: 60px; height: 60px; transform: rotate(-25deg); }
.leaf-f2 { bottom: 80px; right: 50px; width: 80px; height: 80px; transform: rotate(35deg); }
.leaf-f3 { top: 40%; left: 45%; width: 45px; height: 45px; opacity: 0.05; }
.footer-leaf svg { width: 100%; height: 100%; }

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.1fr 1.1fr;
    gap: 40px;
    position: relative;
    z-index: 1;
    padding-bottom: 50px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Columna de Marca */
.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-logo-ring {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(135deg, var(--yellow), #86EFAC);
    box-shadow: 0 4px 16px rgba(250, 204, 21, 0.35);
    flex-shrink: 0;
}

.footer-logo-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.footer-brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: white;
    letter-spacing: 0.5px;
}

.footer-tagline {
    font-size: 12px;
    color: var(--yellow);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-top: 2px;
}

.footer-brand-desc {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0 0 18px;
}

.footer-badges-wrap {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.f-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 500;
    color: #DCFCE7;
}
.f-badge svg {
    width: 13px;
    height: 13px;
    color: var(--yellow);
}

/* Títulos de columnas */
.footer-col-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0 0 18px;
    position: relative;
    padding-bottom: 8px;
}
.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), transparent);
    border-radius: 2px;
}

/* Enlaces */
.footer-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s ease;
}

.footer-links-list a svg {
    width: 15px;
    height: 15px;
    color: var(--yellow);
    transition: transform 0.2s ease;
}

.footer-links-list a:hover {
    color: white;
    transform: translateX(4px);
}
.footer-links-list a:hover svg {
    transform: scale(1.2);
}

/* Información de sucursal */
.footer-info-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.f-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.4;
}

.f-info-icon {
    width: 16px;
    height: 16px;
    color: var(--yellow);
    flex-shrink: 0;
    margin-top: 2px;
}

.f-info-item strong {
    display: block;
    color: white;
    font-weight: 600;
}
.f-info-item span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 12.5px;
}

/* Columna de Pedidos y WhatsApp */
.f-pedidos-text {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0 0 16px;
}

.btn-footer-wa {
    background: linear-gradient(135deg, #22C55E, #16A34A);
    color: white;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
}
.btn-footer-wa:hover {
    background: linear-gradient(135deg, #16A34A, #15803D);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.45);
}
.btn-footer-wa .icon-wa {
    width: 18px;
    height: 18px;
}

.f-tel-directo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}
.f-tel-directo .icon-tel {
    width: 14px;
    height: 14px;
    color: var(--yellow);
}

/* Barra inferior del Footer */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 22px 0 28px;
    position: relative;
    z-index: 1;
}

.footer-bottom-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-bottom-container p {
    margin: 0;
}
.footer-bottom-container strong {
    color: white;
}

.btn-subir {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: white;
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn-subir svg {
    width: 14px;
    height: 14px;
    color: var(--yellow);
}
.btn-subir:hover {
    background: var(--yellow);
    color: var(--dark-green);
    border-color: var(--yellow);
    transform: translateY(-2px);
}
.btn-subir:hover svg {
    color: var(--dark-green);
}

/* Responsividad del Footer */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    footer.app-footer {
        padding: 50px 18px 0;
        border-top-left-radius: 40px;
        border-top-right-radius: 40px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-bottom-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
}

/* ANIMACIONES */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* PÍLDORA DE ESTADO DE CONEXIÓN CON GLASSMORPHISM */
.pill-conexion {
    position: absolute;
    top: 22px;
    right: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 10;
}
.pill-conexion .icon-status {
    width: 14px;
    height: 14px;
}
.live-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}
.pill-conexion.conectado {
    background: rgba(220, 252, 231, 0.92);
    color: #14532D;
    border: 1.5px solid #86EFAC;
}
.pill-conexion.conectado .live-indicator {
    background: #16A34A;
    box-shadow: 0 0 8px #16A34A;
    animation: livePulse 2s infinite;
}
.pill-conexion.sin-conexion {
    background: rgba(254, 226, 226, 0.95);
    color: #DC2626;
    border: 1.5px solid #FCA5A5;
    animation: pulseAlert 1.5s infinite;
}
.pill-conexion.sin-conexion .live-indicator {
    background: #DC2626;
    box-shadow: 0 0 8px #DC2626;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.2); }
}
@keyframes pulseAlert {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===================================================
   SECCIÓN DE NOTIFICACIONES (ESTILO GREEN KAREN)
=================================================== */
.notificaciones-section {
    margin: 50px auto 30px;
    max-width: 850px;
    position: relative;
}

.notificaciones-card {
    position: relative;
    background: white;
    border: 3px solid var(--green);
    border-radius: 28px;
    padding: 40px 30px 30px;
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.12);
}

.notif-header-pill {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #22C55E, #15803D);
    border: 2px solid var(--dark-green);
    padding: 8px 45px;
    border-radius: 30px;
    box-shadow: 3px 3px 0px var(--yellow), 0 4px 15px rgba(22, 163, 74, 0.3);
    z-index: 2;
}
.notif-header-pill span {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.25);
}

.notif-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.notif-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--light-green);
    border: 2px solid #86EFAC;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    flex-shrink: 0;
}
.icon-notif-main {
    width: 28px;
    height: 28px;
}

.notif-textos {
    flex: 1;
    min-width: 240px;
}
.notif-textos h3 {
    margin: 0 0 6px 0;
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--dark-green);
}
.notif-textos p {
    margin: 0;
    color: #4B5563;
    font-size: 14px;
}

.btn-notificar {
    background: linear-gradient(135deg, var(--green), var(--dark-green));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.3);
    transition: all 0.25s ease;
}
.btn-notificar:hover {
    background: linear-gradient(135deg, #15803D, #052E16);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(20, 83, 45, 0.45);
}
.btn-notificar.btn-activa {
    background: #166534;
    cursor: default;
}

.notif-blob-corner {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #BBF7D0;
    border: 2px solid #86EFAC;
    opacity: 0.85;
    z-index: 0;
    pointer-events: none;
}

/* ===================================================
   DESPLAZAMIENTO SUAVE
=================================================== */
html {
    scroll-behavior: smooth;
}

/* ===================================================
   BARRA DE NAVEGACIÓN RÁPIDA (HEADER)
=================================================== */
.quick-nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
    z-index: 2;
    position: relative;
}

.nav-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    color: white;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-chip .icon-nav {
    width: 16px;
    height: 16px;
    color: var(--yellow);
    transition: transform 0.25s ease;
}

.nav-chip:hover {
    background: white;
    color: var(--dark-green);
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.nav-chip:hover .icon-nav {
    color: var(--green);
    transform: scale(1.15);
}

/* ===================================================
   SECCIÓN DE SUCURSAL Y RUTA (TARJETA TEMÁTICA GREEN KAREN)
=================================================== */
.sucursal-section {
    margin: 70px auto 40px;
    max-width: 950px;
    position: relative;
}

.sucursal-card {
    position: relative;
    background: white;
    border: 3px solid var(--green);
    border-radius: 28px;
    padding: 44px 32px 34px;
    box-shadow: 0 16px 36px rgba(22, 163, 74, 0.12);
}

/* Pastilla superior del título */
.sucursal-header-pill {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #22C55E, #15803D);
    border: 2px solid var(--dark-green);
    padding: 8px 45px;
    border-radius: 30px;
    box-shadow: 3px 3px 0px var(--yellow), 0 4px 15px rgba(22, 163, 74, 0.3);
    z-index: 2;
}

.sucursal-header-pill span {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.25);
    white-space: nowrap;
}

/* Cabecera interna de la sucursal */
.sucursal-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 20px;
    border-bottom: 2px dashed #DCFCE7;
    margin-bottom: 24px;
}

.sucursal-marca-box {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sucursal-insignia {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: linear-gradient(135deg, #DCFCE7, #FEF9C3);
    border: 2px solid #86EFAC;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    flex-shrink: 0;
}
.sucursal-insignia svg {
    width: 26px;
    height: 26px;
}

.sucursal-titulos h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--dark-green);
}

.sucursal-subtitulo {
    margin: 4px 0 0;
    color: #6B7280;
    font-size: 14px;
}

/* Indicador de estado abierto/cerrado */
.estado-sucursal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    background: #F3F4F6;
    color: #4B5563;
    border: 1px solid #E5E7EB;
}
.estado-sucursal::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9CA3AF;
}
.estado-sucursal.abierto {
    background: #DCFCE7;
    color: #166534;
    border-color: #86EFAC;
}
.estado-sucursal.abierto::before {
    background: #22C55E;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
    animation: pulsoStatus 2s infinite;
}
.estado-sucursal.cerrado {
    background: #FEE2E2;
    color: #991B1B;
    border-color: #FCA5A5;
}
.estado-sucursal.cerrado::before {
    background: #EF4444;
}

@keyframes pulsoStatus {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Cuerpo en dos columnas */
.sucursal-card-body {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 28px;
    align-items: start;
}

/* Columna de información */
.sucursal-info-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sucursal-items-lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sucursal-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 12px 14px;
    transition: all 0.2s ease;
}
.sucursal-info-item:hover {
    background: #F0FDF4;
    border-color: #BBF7D0;
    transform: translateX(3px);
}

.item-icono-circulo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #DCFCE7;
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.item-icono-circulo svg {
    width: 18px;
    height: 18px;
}

.item-texto {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}
.item-texto strong {
    color: var(--dark-green);
    font-size: 13.5px;
}
.item-texto span {
    color: #4B5563;
    margin-top: 1px;
}

/* Métricas de Distancia y Tiempo */
.sucursal-metricas-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.metrica-card {
    background: linear-gradient(135deg, #F0FDF4, #FEFCE8);
    border: 1.5px solid #BBF7D0;
    border-radius: 16px;
    padding: 14px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.icon-metrica {
    width: 20px;
    height: 20px;
    color: var(--green);
    margin-bottom: 2px;
}

.metrica-lbl {
    font-size: 12px;
    color: #6B7280;
    font-weight: 500;
}

.metrica-num {
    font-size: 20px;
    color: var(--dark-green);
    font-weight: 700;
}

/* Botones de acción */
.sucursal-acciones-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-calcular-ruta {
    background: linear-gradient(135deg, #22C55E, #15803D);
    color: white;
    border: 2px solid var(--dark-green);
    padding: 14px 22px;
    border-radius: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 2px 3px 0px var(--yellow), 0 6px 18px rgba(22, 163, 74, 0.3);
    transition: all 0.25s ease;
}

.btn-calcular-ruta svg {
    width: 18px;
    height: 18px;
}

.btn-calcular-ruta:hover {
    background: linear-gradient(135deg, #16A34A, #14532D);
    transform: translateY(-2px);
    box-shadow: 3px 4px 0px var(--yellow), 0 8px 22px rgba(20, 83, 45, 0.4);
}

.btn-calcular-ruta:active {
    transform: scale(0.98);
}

.btn-calcular-ruta:disabled {
    opacity: 0.75;
    cursor: wait;
}

.link-mapa-externo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--green);
    text-decoration: none;
    padding: 6px;
    transition: color 0.2s ease;
}
.link-mapa-externo svg {
    width: 15px;
    height: 15px;
}
.link-mapa-externo:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

/* Columna del Mapa */
.sucursal-mapa-col {
    position: relative;
    width: 100%;
}

.mapa-marco-estilizado {
    position: relative;
    height: 380px;
    border-radius: 22px;
    overflow: hidden;
    border: 3px solid #BBF7D0;
    box-shadow: 0 10px 28px rgba(22, 163, 74, 0.15);
    background: #E5E7EB;
}

.mapa-marco-estilizado .mapa-container {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mapa-leyenda-flotante {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 500;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #86EFAC;
    border-radius: 20px;
    padding: 6px 14px;
    display: flex;
    gap: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge-leyenda {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--dark-green);
}

.dot-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}
.dot-verde {
    background: var(--green);
}
.dot-azul {
    background: #2563EB;
}

/* Marcadores personalizados Leaflet */
.marcador-gk {
    background: transparent;
    border: none;
}
.pin-sucursal {
    width: 42px;
    height: 42px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    background: linear-gradient(135deg, #22C55E, #14532D);
    border: 3px solid white;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rebotePin 2.4s ease-in-out infinite;
}
.pin-sucursal svg {
    transform: rotate(45deg);
}

@keyframes rebotePin {
    0%, 100% { margin-top: 0; }
    50% { margin-top: -6px; }
}

.pin-usuario {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulsoUsuario 2s infinite;
}
.pin-usuario span {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #2563EB;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

@keyframes pulsoUsuario {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.5); }
    70% { box-shadow: 0 0 0 14px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

/* Ruta animada */
.ruta-animada {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: trazarRuta 2.2s ease forwards;
}
@keyframes trazarRuta {
    to { stroke-dashoffset: 0; }
}

/* Decoraciones circulares de las esquinas */
.sucursal-blob-corner-tl {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FEF08A;
    border: 2px solid var(--yellow);
    opacity: 0.85;
    z-index: 0;
    pointer-events: none;
}

.sucursal-blob-corner-br {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #BBF7D0;
    border: 2px solid #86EFAC;
    opacity: 0.85;
    z-index: 0;
    pointer-events: none;
}

/* ===================================================
   SECCIÓN SOBRE NOSOTROS / INFO DEL NEGOCIO
=================================================== */
.nosotros-section {
    margin: 60px auto 40px;
    max-width: 950px;
    position: relative;
}

.nosotros-card {
    position: relative;
    background: white;
    border: 3px solid var(--green);
    border-radius: 28px;
    padding: 44px 32px 34px;
    box-shadow: 0 16px 36px rgba(22, 163, 74, 0.12);
}

.nosotros-header-pill {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #22C55E, #15803D);
    border: 2px solid var(--dark-green);
    padding: 8px 45px;
    border-radius: 30px;
    box-shadow: 3px 3px 0px var(--yellow), 0 4px 15px rgba(22, 163, 74, 0.3);
    z-index: 2;
}

.nosotros-header-pill span {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: white;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.25);
    white-space: nowrap;
}

.nosotros-contenido {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.nosotros-intro h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: var(--dark-green);
    margin: 0 0 10px;
}

.nosotros-intro p {
    color: #4B5563;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 18px;
}

.nosotros-contacto-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #F0FDF4, #FEFCE8);
    border: 1.5px solid #BBF7D0;
    border-radius: 18px;
    padding: 14px 18px;
}

.contacto-icono {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contacto-icono svg {
    width: 20px;
    height: 20px;
}

.contacto-info {
    display: flex;
    flex-direction: column;
    font-size: 13.5px;
}
.contacto-info span {
    color: #6B7280;
}
.contacto-info strong {
    color: var(--dark-green);
    font-size: 15px;
    margin-top: 2px;
}

/* 3 Pilares destacados */
.nosotros-pilares-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pilar-card {
    background: #F9FAFB;
    border: 1.5px solid #E5E7EB;
    border-radius: 20px;
    padding: 22px 18px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.25s ease;
}

.pilar-card:hover {
    background: white;
    border-color: #86EFAC;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.12);
}

.pilar-icono-circulo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #DCFCE7, #FEF9C3);
    border: 2px solid #86EFAC;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green);
    margin-bottom: 12px;
}
.pilar-icono-circulo svg {
    width: 24px;
    height: 24px;
}

.pilar-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--dark-green);
    margin: 0 0 8px;
}

.pilar-card p {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}

.nosotros-blob-corner {
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #BBF7D0;
    border: 2px solid #86EFAC;
    opacity: 0.85;
    z-index: 0;
    pointer-events: none;
}

/* ===================================================
   RESPONSIVE DESIGN (TABLETS Y MÓVILES)
=================================================== */
@media (max-width: 900px) {
    .sucursal-card-body {
        grid-template-columns: 1fr;
    }
    .mapa-marco-estilizado {
        height: 340px;
    }
    .nosotros-pilares-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {
    header {
        padding: 35px 15px 30px;
    }
    header h1 {
        font-size: 32px;
    }
    .quick-nav-bar {
        gap: 8px;
    }
    .nav-chip {
        padding: 7px 14px;
        font-size: 13px;
    }
    .sucursal-card,
    .nosotros-card,
    .carrito-card {
        padding: 38px 16px 22px;
        border-radius: 22px;
    }
    .sucursal-header-pill span,
    .nosotros-header-pill span,
    .carrito-header-pill span {
        font-size: 18px;
        white-space: normal;
        text-align: center;
    }
    .sucursal-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .sucursal-metricas-box {
        grid-template-columns: 1fr;
    }
    .btn-calcular-ruta {
        width: 100%;
    }
    .mapa-marco-estilizado {
        height: 300px;
    }
    .carrito-item {
        flex-direction: column;
        align-items: flex-start;
    }
    .carrito-controles {
        width: 100%;
        justify-content: space-between;
    }
    .carrito-footer-row {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    .btn-sincronizar {
        justify-content: center;
    }
}
