/* ============================================ */
/* VARIABLES Y RESET */
/* ============================================ */
:root {
    --primary: #1d1d1f;
    --primary-blue: #0071e3;
    --primary-blue-dark: #005bb5;
    --accent: #ff3b30;
    --success: #28a745;
    --warning: #ffc107;
    --text: #1d1d1f;
    --text-muted: #6c757d;
    --text-light: #86868b;
    --bg: #ffffff;
    --bg-light: #f5f5f7;
    --bg-dark: #1a1a2e;
    --border: #e5e5e5;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px rgba(0,0,0,0.12);
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; transition: all 0.2s; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================ */
/* BANNER PROMOCIONAL */
/* ============================================ */
.top-banner {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 13px;
    font-weight: 500;
}

/* ============================================ */
/* NAVBAR */
/* ============================================ */
/* ============================================ */
/* FIX DEL LOGO Y NAVBAR */
/* ============================================ */

.navbar-estore {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.navbar-brand {
    display: flex;
    align-items: center;
    height: 44px;
    max-height: 44px;
    overflow: hidden;
    flex-shrink: 0;
}

.navbar-brand img {
    height: 36px !important;
    width: auto !important;
    max-height: 36px !important;
    max-width: 140px !important;
    object-fit: contain;
    display: block;
}

.brand-fallback {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
    white-space: nowrap;
}

.brand-fallback i {
    font-size: 26px;
}

/* Estilos por si el logo no carga */
.navbar-brand img[src=""],
.navbar-brand img:not([src]) {
    display: none;
}

.nav-desktop {
    display: flex;
    gap: 28px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.2s;
}

.nav-link:hover::after { width: 100%; }

.nav-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--text);
    transition: all 0.2s;
    position: relative;
}

.icon-btn:hover { background: var(--bg-light); }

.cart-btn { position: relative; }

.cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.menu-btn { display: none; }

/* Búsqueda */
.search-bar {
    border-top: 1px solid var(--border);
    padding: 16px 0;
    position: relative;
}

.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-light);
    border-radius: 50px;
    padding: 12px 20px;
}

.search-input-wrap i { color: var(--text-muted); }

.search-input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 15px;
    outline: none;
}

.btn-cerrar {
    color: var(--text-muted);
    padding: 4px;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 20px;
    right: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-height: 400px;
    overflow-y: auto;
    z-index: 100;
    margin-top: 8px;
}

.search-result-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
}

.search-result-item:hover { background: var(--bg-light); }

.sr-img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-light);
}

.sr-img img { width: 100%; height: 100%; object-fit: cover; }

.sr-info { flex: 1; }

.sr-name { font-weight: 600; font-size: 14px; }

.sr-cat { font-size: 12px; color: var(--text-muted); }

.sr-price { font-weight: 700; color: var(--primary-blue); font-size: 14px; margin-top: 2px; }

/* Menú móvil */
.mobile-menu {
    border-top: 1px solid var(--border);
    padding: 12px 0;
    display: flex;
    flex-direction: column;
}

.mobile-link {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-weight: 500;
    font-size: 15px;
}

/* ============================================ */
/* HERO SLIDER */
/* ============================================ */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}

.slider-container {
    position: relative;
    min-height: 70vh;
}

.slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
}

.slide-media {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    max-width: 700px;
    padding: 40px 20px;
}

.slide-content h1 {
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--text);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
}

.btn-hero:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,113,227,0.4);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 18px;
    z-index: 5;
    transition: all 0.2s;
}

.slider-arrow:hover { background: rgba(255,255,255,0.35); }

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,0.4);
    transition: all 0.3s;
}

.slider-dots .dot.active {
    width: 24px;
    background: white;
}

/* ============================================ */
/* CATEGORÍAS */
/* ============================================ */
.categorias-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.section-header p {
    color: var(--text-muted);
    font-size: 15px;
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.categoria-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px 16px;
    text-align: center;
    transition: all 0.2s;
    border: 1px solid var(--border);
}

.categoria-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.categoria-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, #e8f0fe 0%, #d2e3fc 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-blue);
}

.categoria-nombre {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.categoria-count {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================ */
/* PRODUCTOS GRID */
/* ============================================ */
.destacados-section,
.catalogo-section {
    padding: 60px 0;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

.producto-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
}

.producto-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.producto-img {
    position: relative;
    aspect-ratio: 3/4;
    background: var(--bg-light);
    overflow: hidden;
}

.producto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.producto-card:hover .producto-img img { transform: scale(1.05); }

.badge-oferta,
.badge-agotado {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-oferta {
    background: var(--accent);
    color: white;
}

.badge-agotado {
    background: rgba(0,0,0,0.75);
    color: white;
}

.producto-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.producto-cat {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.producto-nombre {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 4px;
}

.producto-nombre a { color: inherit; }

.producto-nombre a:hover { color: var(--primary-blue); }

.producto-precio {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.precio-actual {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-blue);
}

.precio-desde {
    font-size: 12px;
    color: var(--text-muted);
}

.btn-agregar {
    margin-top: auto;
    padding: 10px 16px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.btn-agregar:hover:not(:disabled) {
    background: var(--primary-blue-dark);
    transform: translateY(-1px);
}

.btn-agregar:disabled {
    background: var(--bg-light);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* ============================================ */
/* CATÁLOGO CON FILTROS */
/* ============================================ */
.catalogo-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
}

.filtros-sidebar {
    background: white;
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
    height: fit-content;
    position: sticky;
    top: 90px;
}

.filtros-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.filtros-header h3 {
    font-size: 16px;
    font-weight: 700;
}

.btn-cerrar-filtros { display: none; }

.filtro-bloque {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.filtro-bloque:last-child { border-bottom: none; }

.filtro-bloque h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    color: var(--text-muted);
}

.filtro-lista {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 240px;
    overflow-y: auto;
}

.filtro-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 0;
}

.filtro-item input {
    accent-color: var(--primary-blue);
    width: 16px;
    height: 16px;
}

.filtro-item small {
    color: var(--text-muted);
    font-size: 12px;
    margin-left: auto;
}

.color-swatch {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.1);
}

.precio-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.precio-range input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    outline: none;
}

.precio-range input:focus { border-color: var(--primary-blue); }

.btn-limpiar {
    width: 100%;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-limpiar:hover { background: var(--border); color: var(--text); }

.catalogo-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-filtros-mobile { display: none; }

.orden-select {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    outline: none;
}

.orden-select:focus { border-color: var(--primary-blue); }

.paginacion {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.paginacion button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.paginacion button:hover:not(:disabled) { background: var(--primary-blue); color: white; }

.paginacion button:disabled { opacity: 0.3; cursor: not-allowed; }

.paginacion span { font-size: 14px; font-weight: 500; }

.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.empty-state i { font-size: 48px; color: var(--text-light); margin-bottom: 16px; }

.empty-state h3 { font-size: 20px; margin-bottom: 8px; }

.empty-state p { color: var(--text-muted); }

/* ============================================ */
/* TIENDAS */
/* ============================================ */
.tiendas-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.tiendas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.tienda-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
    transition: all 0.2s;
    text-align: center;
}

.tienda-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.tienda-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #e8f0fe, #d2e3fc);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-blue);
}

.tienda-card h3 { font-size: 18px; margin-bottom: 12px; }

.tienda-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tienda-card p i { color: var(--primary-blue); width: 16px; }

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 16px;
    transition: all 0.2s;
}

.btn-whatsapp:hover {
    background: #1da851;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37,211,102,0.3);
}

/* ============================================ */
/* CONTACTO */
/* ============================================ */
.contacto-section { padding: 80px 0; }

.contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contacto-info h2 {
    font-size: clamp(28px, 3vw, 40px);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.contacto-info > p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contacto-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.contacto-item i {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 20px;
    flex-shrink: 0;
}

.contacto-item strong { display: block; font-size: 14px; margin-bottom: 2px; }

.contacto-item a, .contacto-item span { color: var(--text-muted); font-size: 14px; }

.contacto-item a:hover { color: var(--primary-blue); }

.contacto-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: var(--radius);
}

.contacto-form h3 {
    font-size: 22px;
    margin-bottom: 20px;
}

.contacto-form form { display: flex; flex-direction: column; gap: 12px; }

.contacto-form input {
    padding: 14px 18px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    background: white;
    transition: border 0.2s;
}

.contacto-form input:focus { border-color: var(--primary-blue); }

.btn-primary {
    padding: 14px 24px;
    background: var(--primary-blue);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}

.btn-primary:hover { background: var(--primary-blue-dark); transform: translateY(-1px); }

/* ============================================ */
/* FOOTER */
/* ============================================ */
.footer-estore {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover { color: white; }

.footer-logo {
    color: white;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-logo i { color: var(--primary-blue); margin-right: 8px; }

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: white;
    transition: all 0.2s;
}

.footer-social a:hover { background: var(--primary-blue); transform: translateY(-2px); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
}

.footer-payment { display: flex; gap: 12px; font-size: 24px; }

/* ============================================ */
/* CARRITO LATERAL */
/* ============================================ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1040;
    backdrop-filter: blur(4px);
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 400px;
    max-width: 90vw;
    height: 100vh;
    background: white;
    z-index: 1050;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    box-shadow: -8px 0 32px rgba(0,0,0,0.15);
}

.cart-sidebar.open { right: 0; }

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.cart-header h3 { font-size: 18px; display: flex; align-items: center; gap: 8px; }

.cart-header button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: background 0.2s;
}

.cart-header button:hover { background: var(--bg-light); }

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.cart-empty i { font-size: 56px; opacity: 0.3; margin-bottom: 16px; }

.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--bg-light);
}

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name { font-weight: 600; font-size: 14px; margin-bottom: 2px; }

.cart-item-variante { font-size: 12px; color: var(--text-muted); }

.cart-item-price { font-weight: 700; color: var(--primary-blue); font-size: 14px; margin-top: 4px; }

.cart-item-remove {
    color: var(--text-muted);
    padding: 4px;
    align-self: flex-start;
}

.cart-item-remove:hover { color: var(--accent); }

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-light);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
    font-size: 15px;
}

.cart-total strong { font-size: 22px; color: var(--primary-blue); }

.btn-checkout {
    width: 100%;
    padding: 14px;
    background: #25D366;
    color: white;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
    margin-bottom: 8px;
}

.btn-checkout:hover { background: #1da851; }

.btn-vaciar {
    width: 100%;
    padding: 10px;
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: underline;
}

/* ============================================ */
/* TOAST */
/* ============================================ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 2000;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    font-size: 14px;
    font-weight: 500;
    animation: slideIn 0.3s;
    border-left: 4px solid var(--primary-blue);
}

.toast-success { border-left-color: var(--success); }
.toast-success i { color: var(--success); }

.toast-error { border-left-color: var(--accent); }
.toast-error i { color: var(--accent); }

.toast-info i { color: var(--primary-blue); }

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */
@media (max-width: 992px) {
    .nav-desktop { display: none; }
    .menu-btn { display: flex; }
    
    .catalogo-layout { grid-template-columns: 1fr; }
    
    .filtros-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        z-index: 1060;
        border-radius: 0;
        overflow-y: auto;
        transition: left 0.3s;
        box-shadow: 8px 0 32px rgba(0,0,0,0.15);
    }
    
    .filtros-sidebar.visible { left: 0; }
    
    .btn-cerrar-filtros {
        display: flex;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
    }
    
    .btn-filtros-mobile {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 10px 16px;
        border-radius: 10px;
        background: var(--bg-light);
        font-weight: 600;
        font-size: 14px;
    }
    
    .catalogo-toolbar { justify-content: space-between; }
    
    .contacto-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 576px) {
    .container { padding: 0 16px; }
    
    .slider-container, .slide { min-height: 60vh; }
    .slide-content h1 { font-size: 28px; }
    .slide-content { padding: 30px 20px; }
    .slider-arrow { width: 40px; height: 40px; font-size: 14px; }
    .slider-arrow.prev { left: 10px; }
    .slider-arrow.next { right: 10px; }
    
    .productos-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .producto-info { padding: 12px; }
    .producto-nombre { font-size: 13px; }
    .precio-actual { font-size: 16px; }
    .btn-agregar { font-size: 12px; padding: 8px 12px; }
    
    .categorias-grid { grid-template-columns: repeat(2, 1fr); }
    
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { font-size: 12px; }
    
    .contacto-form { padding: 24px; }
    
    .toast-container { left: 16px; right: 16px; bottom: 16px; }
    .toast { width: 100%; }
}