:root{
     /* Paleta de colores - Modo Claro */

     --bg-body:#f8fafc;
     --bg-tarjeta:#ffffff;
     --bg-lateral:#ffffff;
     --bg-header:#ffffff;
     --bg-input:#f1f5f9;
     --bg-hover:#f1f5f9;

     --texto-general:#0f172a;
     --texto-atenueado:#64748b;
     --borde:#e2e8f0;

     --color-destacado:#d97706;
     --destacado-hover:#b45309;
     --destacado-claro:#fef3c7;
     --texto-destacado:#92400e;
     --domicilio:#0f172a;
     --telefono:#059669;

     --esmeralda:#059669;
     --rojo:#ef4444;

     --sombra-sm:0 1px 3px rgba(0,0,0,0.05);
     --sombra-md:0 4px 6px -1px  rgba(0,0,0,0.08), 0 2px 4px -1px  rgba(0,0,0,0.04);
     --sombra-lg:0 10px 25px -5px  rgba(0,0,0,0.1), 0 8px 10px -6px  rgba(0,0,0,0.05);
     --sombra-xl:0 20px 25px -5px  rgba(0,0,0,0.15), 0 10px 10px -5px  rgba(0,0,0,0.04);

     --radio-sm:8px;
     --radio-md:12px;
     --radio-lg:18px;
     --radio-full:9999px;

     --trasicion: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
 /* Paleta de colores - Modo Claro */
 .oscuro{
     --bg-body:#0f172a;
     --bg-tarjeta:#1e293b;
     --bg-lateral:#1e293b;
     --bg-header:#1e293b;
     --bg-input:#0f172a;
     --bg-hover:#334155;

     --texto-general:#f8fafc;
     --texto-atenueado:#94a3b8;
     --borde:#334155;

     --color-destacado:#f59e0b;
     --destacado-hover:#d97706;
     --destacado-claro:rgba(245,158,11,0.15);
     --texto-destacado:#fde68a;
     --domicilio:#818cf8;
     --telefono:#34d399;

     --sombra-sm: 0 1px 3px rgba(0,0,0,0.3);
     --sombra-md: 0 4px 6px -1px rgba(0,0,0,0.4);
     --sombra-lg: 0 10px 25px -5px rgba(0,0,0,0.3);
     --sombra-xl: 0 20px 25px -5px rgba(0,0,0,0.3);
 }
*, *::before, *::after{
     margin: 0;
     padding: 0;
     box-sizing: border-box;
}


html, body{
     font-family: "Inter", sans-serif;
     height: 100%;
     background-color: var(--bg-body);
     color: var(--texto-general);
     overflow: hidden;
     transition: background-color 0.3s ease, color 0.3s ease;
}

body{
     display: flex;
     flex-direction: column;
}
/* Generales */
button{
     cursor: pointer;
     border:none;
     background: none;
     font-family: inherit;
     color: inherit;
}


/* Inicio de los estilos para este sitio */

header{
     position: sticky;
     top: 0;
     z-index: 30;
     background-color: var(--bg-header);
     border-bottom: 1px solid var(--borde);
     padding: 0.75rem 1.25rem;

     display: flex;
     align-items: center;
     justify-content: space-between;
     gap: 1rem;
     box-shadow: var(--sombra-sm);
}
header .parte-izquierda{
     display: flex;
     align-items: center;
     gap: 0.75rem;
}
header .parte-derecha{
     display: flex;
     align-items: center;
     gap: 0.75rem;
}
.boton-icono{
     width: 40px;
     height: 40px;
     font-size: 1.3rem;
     border-radius: var(--radio-full);

  
     display: flex;
     align-items: center;
     justify-content: center;
     color: var(--texto-atenueado);
     transition: var(--trasicion);

}
.boton-icono:hover{
     background-color: var(--bg-hover);
     color: var(--texto-general);
}
header a.logo{

     display: flex;
     align-items: center;
     gap: 0.6rem;

     text-decoration: none;
     color: var(--texto-general);
     font-size: 1.25rem;
     font-weight: 800;
     letter-spacing: -0.025em;
     white-space: nowrap;
    
}
header a.logo i{
     background: linear-gradient(135deg, var(--color-destacado), var(--destacado-hover));
     color: white;
     width: 34px;
     height: 34px;
     border-radius: var(--radio-sm);

     display: flex;
     align-items: center;
     justify-content: center;

     font-size: 0.95rem;
     box-shadow: 0 2px 8px rgba(217, 119, 6 0.4);
}
header a.logo span.logo-destacado{
     color: var(--color-destacado);
}
header .parte-buscador{
     flex: 1;
     max-width: 560px;
     margin: 0 1rem;
     display: none;
}
@media (min-width: 768px) {
     header .parte-buscador{
          display: flex;
     }
}
header .contenedor-busqueda{
     position: relative;
     width: 100%;
     display: flex;
     align-items: center;
}
 .input-buscar{
     width: 100%;
     padding: 0.55rem 1rem 0.55rem 2.5rem;
     border: 1px solid var(--borde);
     border-radius: var(--radio-full);
     background-color: var(--bg-input);
     font-size: 0.875rem;
     outline: none;
     transition: var(--trasicion);
}
header .contenedor-busqueda i{
     position: absolute;
     left:0.9rem;
     color: var(--texto-atenueado);
     font-size: 0.875rem;
     pointer-events: none;
}
 .input-buscar:focus{
     border-color: var(--color-destacado);
     box-shadow: 0 0 0 3px var(--destacado-claro);
     background-color: var(--bg-tarjeta);
 }
 /* parte derecha */

 .solo-escritorio{
     display: none;
 }
 @media (min-width:640px) {
     .solo-escritorio{
      display: inline;
     }
 }
 .parte-derecha .boton-icono{
     transform: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.2s ease, color 0.2s ease;
 }
  .parte-derecha .boton-icono:hover{
     transform: translateY(-2px);
  }
   .parte-derecha .boton-icono:active{
     transform: translateY(0) scale(0.90);
   }
  .parte-derecha #btn-domicilio{
     color: var(--domicilio);
     background-color: rgba(79, 70, 229, 0.08);
  }
   .parte-derecha #btn-domicilio:hover{
     color: #4338ca;
     background-color: rgba(79, 70, 229, 0.08);
  }
   .oscuro .parte-derecha #btn-domicilio{
    
     background-color: rgba(129, 140, 248, 0.15);
  }
   .parte-derecha #btn-telefono{
     color: var(--telefono);
     background-color: rgba(16, 185, 129, 0.18);
  }
    .parte-derecha #btn-telefono:hover{
     color:#10b981;
     background-color: rgba(16, 185, 129, 0.18);
  }
   .oscuro .parte-derecha #btn-telefono{
    
     background-color: rgba(52, 211, 153, 0.15);
  }
   .parte-derecha #control-tema {
     color: #f59e0b;
     background-color: rgba(245,158,11,0.08);
     display: none;
  }
   .parte-derecha #control-tema:hover {
     color:#d97706;
     background-color: rgba(245,158,11,0.08);
  }
   .parte-derecha #icono-carrito{
     color: var(--color-destacado);
     background-color: var(--destacado-claro);
     position: relative;
  }
  @media(min-width:400px){
     .parte-derecha #control-tema {
          display: inline;
     }
  }
  .parte-derecha .indicador-carrito{
     position: absolute;
     top: -4px;
     right: 0px;
     background-color: var(--color-destacado);
     color: white;
     font-size: 0.68rem;
     font-weight: 700;
     border-radius: var(--radio-full);
     width:18px;
     height: 18px;
     padding: 0 4px;
     display: flex;
     justify-content: center;
     align-items: center;
     border: 2px solid --bg-header;

  }
  @media (min-width:768px) {
       .parte-derecha #lupa-buscadora-celulares{
          display: none;
       }
     
  }
  .buscador-celular{
     background-color: var(--bg-header);
     display: flex;
     padding: 0.75rem;
     border-bottom: 1px solid var(--borde);
     gap: 0.5rem;
     /* Po ahora */
     display: none; /*aparece cuando se hace click en la lupa sola del celular (JS)*/
  }

.contenedor-popover{
     position: relative;
     display: inline;
}
.contenedor-popover .el-popover{
     position: absolute;
     top:calc(100% + 10px);
     right: 0;
     background-color: var(--bg-tarjeta);
     width: 280px;
     border: 1px solid var(--borde);
     padding: 1rem;
     box-shadow: var(--sombra-xl);
     border-radius: var(--radio-md);
     z-index: 100;

     opacity: 0;
     visibility: hidden;
     pointer-events: none;
}
.el-popover::before{
     content: '';
     position: absolute;
     top:-6px;
     right: 14px;
     width: 10px;
     height: 10px;
     background-color: var(--bg-tarjeta);
     border-left: 1px solid var(--borde);
     border-top: 1px solid var(--borde);
     transform: rotate(45deg);
}

/*  estado activo(al hacer hover o click) */
/* 2. Cuando hacés hover en el botón, modificamos a su hermano popover */
.el-popover.mostrar,
#btn-domicilio:hover + #domicilio-popover,
#btn-telefono:hover + #telefono-popover
{
     opacity: 1;
     visibility: visible;
     transform: translateY(0) scale(1);
     pointer-events: auto;
}


.contenedor-popover .popover-encabezado{
     display: flex;
     align-items: center;
     justify-content: space-between;
     margin-bottom: 0.75rem;

}
.contenedor-popover .popover-titulo{
     width: 100%;
     font-size:0.85rem;
     font-weight: 700;
     color: var(--texto-general);

     display: flex;
     align-items: center;
     gap:0.4rem;

}
.contenedor-popover .cerrar-popover{
     width: 24px;
     height: 24px;
     border-radius: var(--radio-full);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 0.8rem;
     color: var(--texto-atenueado);
     transition: var(--trasicion);
}
.contenedor-popover .cerrar-popover:hover{
     background-color: var(--bg-hover);
     color: var(--texto-general);
     box-shadow: var(--sombra-md);
}
.contenedor-popover .cerrar-popover:active{
     background-color: var(--bg-hover);
     color: var(--texto-general);
     box-shadow: var(--sombra-md);
     transform: scale(0.95);
}
.contenedor-popover .popover-cuerpo{
     display: flex;
     flex-direction: column;
     gap:0.5rem;
}
.contenedor-popover .popover-item{
     font-size: 0.8rem;
     color: var(--texto-general);
     display: flex;
     align-items: center;
     gap: 0.6rem;
}
.contenedor-popover .popover-item i{
     color: var(--color-destacado);
     width: 14px;
     text-align: center;
}
.contenedor-popover .popover-cuerpo p.popover-subtitulo{
     font-size: 0.75rem;
     font-weight: 700;
     color: var(--texto-general);
     text-transform: uppercase;
     letter-spacing: 0.03em;
     display: flex;
     align-items: center;
     gap: 0.4rem;
}
.contenedor-popover .popover-cuerpo p.popover-subtitulo i{
     color: var(--color-destacado);
}
.contenedor-popover .popover-cuerpo p.popover-subtexto{
     font-size: 0.75rem;
     color: var(--texto-atenueado);
     line-height: 1.4;
     padding-left: 1.2rem;
}
.popover-divisor{
     border: none;
     border-top: 1px solid var(--borde);
     margin: 0.35rem 0;
}
.popover-col{
     display: flex;
     flex-direction: column;
     gap: 0.4rem;
}
/* App Layout */
.app-layout{
     display: flex;
     flex: 1;
     overflow: hidden;
     position: relative;
}

aside{
     /* Para celulares - Menu abrir-cerrar */
     position: fixed;
     top: 0;
     bottom: 0;
     left: 0;
     width: 250px;
     background-color: var(--bg-lateral);
     z-index: 40;
     border-right: 1px solid var(--borde);
     transform: translateX(-100%);


     padding: 0.75rem;
     /* Para organizar el contenido */
     display: flex;
     flex-direction: column;
     /* separa el cuerpo del pie */
     justify-content: space-between;

     /* Por si tiene muchos items */
     overflow-y: auto;

     /* Para que sus transiciones sean suaves (abrir/cerrar)(ancho/fino)*/
     transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s ease;
}

@media (min-width:768px) {
     /* Para escritorio */
     aside{
          position: static; /*Vuelve al flujo normal*/
          transform: none;
     }
}
aside.abierto{
      transform: translateX(0);
}
aside.achicado{
     width: 72px;
}


aside .titulo-seccion{
     padding: 0.5rem 0.75rem;
     font-size: 0.7rem;
     font-weight: 700;
     color: var(--texto-atenueado);
     text-transform: uppercase;
     letter-spacing: 0.05em;
}
aside nav{
     display: flex;
     flex-direction: column;
     gap: 0.25rem;
}
aside nav > div#categorias{
    display: flex;
     flex-direction: column;
     gap: 0.25rem;
}
aside nav .nav-item{
    
     display: flex;
     align-items: center;
     gap: 0.85rem;
     width: 100%;
     padding: 0.65rem 0.85rem;
     border-radius: var(--radio-md);
     font-size: 0.875rem;
     font-weight: 500;
     color: var(--texto-atenueado);
     text-align: left;
     transition: var(--trasicion);
}
aside nav .nav-item i{
     font-size: 1.1rem;
     width: 20px;
     text-align: center;
}
aside nav .nav-item:hover{
     background-color: var(--bg-hover);
     color: var(--texto-general);
}
aside nav .nav-item.activo{
     background-color: var(--destacado-claro);
     color: var(--texto-destacado);
     font-weight: 600;
}
aside nav .nav-item span{
    text-transform: capitalize;
}
hr{
     margin: 0.75rem 0;
     border: none;
     border-top: 1px solid var(--borde);
}


aside .pie-lateral{
     padding: 1rem;
     border-top: 1px solid var(--borde);
}
aside .pie-lateral .usuario{
     display: flex;
     align-items: center;
     gap:0.75rem;
}   
.pie-lateral .avatar{
     width: 32px;
     height: 32px;
     border-radius: var(--radio-full);
     background: var(--destacado-claro);
     color: var(--color-destacado);
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 0.75rem;
     font-weight: 700;
} 
aside .pie-lateral .pie-info p{
     font-size: 0.75rem;
     font-weight: 700;
}

aside .pie-lateral .pie-info span{
     font-size: 0.65rem;
     color: var(--texto-atenueado);
}

main{

     flex: 1;
     overflow-y: auto;
     padding: 1.25rem;
}
@media (min-width:768px) {
     main{
          padding: 1.5rem 2rem;
     }
}

aside.achicado .titulo-seccion,
aside.achicado .nav-item span,
aside.achicado .pie-info{
     display: none;
}

aside.achicado .nav-item{
     justify-content: center;
     padding: 0.75rem 0;
}
aside.achicado{
     padding: 0.4rem;
}

/* Estilos del Banner Hero */
.hero{
     background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
     color: white;
     border-radius: var(--radio-lg);
     border: 1px solid rgba(255,255,255,0.1);
     box-shadow: var(--sombra-lg);
     padding: 2rem;
     margin-bottom: 1.5rem;

     display: flex;
     align-items: center;
     justify-content: space-between;

     overflow: hidden;
     position: relative;  
}
.hero.ocultar{
     display: none;
}

.hero::before{
     content: '';
     position: absolute;
     top: -50%;
     right: -10%;
     width: 300px;
     height: 300px;
     background: radial-gradient(circle, var(--color-destacado) 0%, transparent 70%);
     opacity: 0.25;
     border-radius: var(--radio-full);
}
.hero .hero-texto{
     z-index:2;
     max-width: 480px;
     position: relative;
}
.sobretitulo{
     color: var(--color-destacado);
     font-size: 0.75rem;
     font-weight: 800;
     text-transform: uppercase;
     letter-spacing: 0.15em;
     margin-bottom: 0.5rem;
}
.hero h1{
     font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 0.75rem;
    color: #ffffff;
}
.hero p{
     color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.5;
}
.hero-imagen{
    width: 600px;
    z-index: 2;
    display: none;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3));
}
@media (min-width: 640px) {
    .hero-imagen 
    { 
     display: block; 
     }
}
.hero-imagen img{
     width: 100%;
     object-fit: contain;
}

/* Productos */

/* Encabezado */
.catalogo-encabezado {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.catalogo-encabezado.ocultar{
    display: none;
}
.catalogo-encabezado h2 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.catalogo-encabezado .cantidad-productos {
    font-size: 0.8rem;
    color: var(--texto-atenueado);
    font-weight: 500;
}

/* En general la grilla */
.catalogo-grilla{
     /* celulares */
     column-count: 1;
     column-gap: 1.25rem;
}
/* A medida que aumenta el tamaño de pantalla, aumenta la cantidad de columnas */
@media (min-width:540px) { .catalogo-grilla {column-count: 2;}}
@media (min-width:900px) { .catalogo-grilla {column-count: 3;}}
@media (min-width:1200px) { .catalogo-grilla {column-count: 4;}}

/* Para cuando aparece el detalle de un item, se oculta la grilla */
/* Ya se verá cuando lo hagamos */
.catalogo-grilla.ocultar{
     display: none;
}

.catalogo-grilla .tarjeta-pinterest{
     break-inside: avoid; /*La tarjeta no se puede romper en su diseño*/
     margin-bottom: 1.25rem;
}
.catalogo-grilla .producto-tarjeta{
    background-color: var(--bg-tarjeta);
    border: 1px solid var(--borde);
    border-radius: var(--radio-md);
    overflow: hidden;
    transition: var(--transicion);
    display: flex;
    flex-direction: column;
    position: relative;
   
}
.catalogo-grilla .producto-tarjeta:hover {
    transform: translateY(-4px);
    box-shadow: var(--sombra-xl);
    border-color: rgba(217, 119, 6, 0.3);
}

.catalogo-grilla .producto-imagen {
  
    width: 100%;
    cursor: pointer;
    overflow: hidden;
    /* Para la nota */
    position: relative;
}

.catalogo-grilla .producto-imagen img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.catalogo-grilla .producto-tarjeta:hover .producto-imagen img {
    transform: scale(1.05);
}

.catalogo-grilla .producto-nota {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: var(--radio-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.producto-tarjeta .producto-info{
     padding: 1rem;
     display: flex;
     flex-direction: column;
     gap: 0.5rem;
     flex: 1;
}
.producto-tarjeta .producto-info .producto-categoria, .producto-detalles .producto-categoria{
   font-size: 0.65rem;
   font-weight: 800;
   color: var(--color-destacado);
   text-transform: uppercase;
   letter-spacing: 0.08em;
}
.producto-tarjeta .producto-info .producto-titulo{
    font-size: 0.925rem;
    font-weight: 600;
    line-height: 1.35;
    color:var(--texto-general);
    cursor: pointer;
    transition:var(--trasicion);

    display: -webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow: hidden;
}


.producto-tarjeta .producto-info .producto-titulo:hover {
    color: var(--color-destacado);
}

.producto-tarjeta .producto-pie {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--borde);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.producto-pie .producto-precio {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--texto-general);
}

.producto-pie .agregar-carrito {
    width: 36px;
    height: 36px;
    border-radius: var(--radio-sm);
    background-color: var(--destacado-claro);
    color: var(--texto-destacado);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transicion);
}

.producto-pie .agregar-carrito:hover {
    background-color: var(--color-destacado);
    color: white;
    box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

/* Estado Vacío */
.filtro-vacio {
   
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    text-align: center;
}


.filtro-vacio i{
    font-size: 3.5rem;
    color: var(--texto-atenuado);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.btn-primario {
    background-color: var(--color-destacado);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radio-md);
    transition: var(--transicion);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-top: 1rem;
}

.btn-primario:hover {
    background-color: var(--destacado-hover);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

/* ==========================================================================
   DETALLE DE PRODUCTO INDIVIDUAL
   ========================================================================== */
  
.detalle-individual-contenedor {
    max-width: 900px;
    margin: 0 auto;
    padding: 1rem 0;
    display: none;
}
.detalle-individual-contenedor.mostrar{
     display: block;
}
.producto-contenedor {
    background-color: var(--bg-tarjeta);
    border-radius: var(--radio-lg);
    box-shadow: var(--sombra-xl);
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid var(--borde);
    overflow: hidden;
}

@media (min-width: 640px) {
    .producto-contenedor { 
        grid-template-columns: 1fr 1fr; 
    }
   
}

.imagen-producto-individual {
    background-color: var(--bg-hover);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 280px;
}

.imagen-producto-individual img {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: var(--radio-md);
}

.producto-detalles {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.producto-especificaciones {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--borde);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--texto-atenuado);
}

.especificacion-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.especificacion-item i {
    color: var(--color-destacado);
    width: 16px;
}

.btn-secundario {
    background-color: var(--bg-hover);
    color: var(--texto-general);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radio-md);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: 1px solid var(--borde);
    transition: var(--transicion);
}

.btn-secundario:hover {
    background-color: var(--borde);
}
/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    margin-top: 3rem;
    padding: 2rem 1.5rem 1.25rem 1.5rem;
    background-color: var(--bg-tarjeta);
    border: 1px solid var(--borde);
    border-radius: var(--radio-lg);
    box-shadow: var(--sombra-sm);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--borde);
}


@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-titulo {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--texto-general);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.footer-col p {
    font-size: 0.8rem;
    color: var(--texto-atenuado);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0;
}

.footer-col p i {
    color: var(--color-destacado);
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

.footer-pie {
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--texto-atenuado);
}


/* ==========================================================================
    Notificación
    ========================================================================== */
.notificacion {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: var(--texto-general);
    color: var(--bg-tarjeta);
    padding: 0.85rem 1.25rem;
    border-radius: var(--radio-md);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: var(--sombra-xl);
    transform: translateY(100px);
    opacity: 0;
    transition:var(--trasicion);
    z-index: 60;
    pointer-events: none;
}

.notificacion.mostrar {
    transform: translateY(0);
    opacity: 1;
}

.notificacion i {
    color: var(--esmeralda);
    font-size: 1.1rem;
}
/* ==========================================================================
    Overlay
    ========================================================================== */
.overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: var(--transicion);
}

.overlay.activo {
    opacity: 1;
    pointer-events: auto;
}
/* ==========================================================================
          Carrito de Compras
    ========================================================================== */

.carrito-lateral {
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 50;
    width: 100%;
    max-width: 420px;
    background-color: var(--bg-tarjeta);
    box-shadow: var(--sombra-xl);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.carrito-lateral.abierto {
    transform: translateX(0);
}

.carrito-encabezado {
    padding: 1.25rem;
    border-bottom: 1px solid var(--borde);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.carrito-titulo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.carrito-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.carrito-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem;
    background-color: var(--bg-hover);
    border-radius: var(--radio-md);
    border: 1px solid var(--borde);
}

.carrito-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: var(--radio-sm);
}

.carrito-item-desc {
    flex: 1;
    min-width: 0;
}

.carrito-item-titulo {
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carrito-item-precio {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 0.2rem;
}

.cant-controles {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.cant-btn {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background-color: var(--bg-tarjeta);
    border: 1px solid var(--borde);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.carrito-pie {
    padding: 1.25rem;
    border-top: 1px solid var(--borde);
    background-color: var(--bg-lateral);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.carrito-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 800;
}

.form-input {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid var(--borde);
    border-radius: var(--radio-sm);
    background-color: var(--bg-tarjeta);
    font-size: 0.8rem;
    outline: none;
}

.form-input:focus {
    border-color: var(--color-destacado);
}

.btn-whatsapp {
    width: 100%;
    background-color: var(--esmeralda);
    color: white;
    font-weight: 700;
    padding: 0.85rem;
    border-radius: var(--radio-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
    transition: var(--transicion);
}

.btn-whatsapp:hover {
    background-color: #047857;
}
