/* ==========================================================================
   SISTEMA DE DISEÑO GLOBAL: micatalogo.com
   Estilos CSS Modernos, Glassmorphism, Microanimaciones y Responsive Design
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700&family=Roboto:wght@400;500;700&family=Montserrat:wght@400;600;700;800&display=swap');

:root {
    /* Paleta Principal Dinámica */
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --primary-glow: rgba(79, 70, 229, 0.25);
    
    /* Acentos y Planes */
    --accent: #f59e0b;
    --vip-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --vip-badge: #d97706;
    --pro-silver: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --free-badge: #64748b;
    
    /* Estados */
    --success: #10b981;
    --success-light: #ecfdf5;
    --danger: #ef4444;
    --danger-light: #fef2f2;
    --warning: #f59e0b;
    --info: #0ea5e9;
    
    /* Neutrales */
    --dark: #0f172a;
    --dark-muted: #1e293b;
    --text: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --bg-body: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Sidebar */
    --sidebar-bg: #0f172a;
    --sidebar-text: #94a3b8;
    --sidebar-width: 270px;
    --sidebar-collapsed-width: 76px;
    
    /* Sombras & Radios */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 16px -2px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 32px -4px rgba(15, 23, 42, 0.12);
    --shadow-vip: 0 10px 30px rgba(245, 158, 11, 0.25);
    --shadow-primary: 0 10px 25px rgba(79, 70, 229, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Tipografía */
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    
    /* Transiciones */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Temas del Dashboard */
body.theme-light {
    --bg-body: #f1f5f9;
    --sidebar-bg: #ffffff;
    --sidebar-text: #475569;
}

body.theme-midnight {
    --bg-body: #090d16;
    --sidebar-bg: #0f172a;
    --bg-surface: #131b2e;
    --bg-card: #131b2e;
    --border: #1e293b;
    --text: #f8fafc;
    --text-muted: #94a3b8;
}

body.theme-emerald {
    --primary: #059669;
    --primary-hover: #047857;
    --primary-light: #ecfdf5;
    --primary-glow: rgba(5, 150, 105, 0.25);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-body);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color var(--transition-normal);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

body.theme-midnight h1, body.theme-midnight h2, body.theme-midnight h3, body.theme-midnight h4 {
    color: #ffffff;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   CONTENEDORES & LAYOUT
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ==========================================================================
   SIDEBAR COLAPSABLE & RESPONSIVE (Global)
   ========================================================================== */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.sidebar-main {
    width: var(--sidebar-width);
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: width var(--transition-normal), transform var(--transition-normal);
    z-index: 100;
}

/* Estado Colapsado en Escritorio */
.admin-wrapper.sidebar-collapsed .sidebar-main {
    width: var(--sidebar-collapsed-width);
}

.admin-wrapper.sidebar-collapsed .sidebar-text,
.admin-wrapper.sidebar-collapsed .sidebar-header-details,
.admin-wrapper.sidebar-collapsed .badge-vip {
    display: none !important;
}

.admin-wrapper.sidebar-collapsed .sidebar-item {
    justify-content: center;
    padding: 0.85rem;
}

.admin-wrapper.sidebar-collapsed .sidebar-item i {
    font-size: 1.3rem;
    margin: 0;
}

/* Mobile Sidebar Backdrop */
.sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.sidebar-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* Botón Hamburguesa Toggle */
.sidebar-toggle-btn {
    background: #f1f5f9;
    border: 1px solid var(--border);
    color: var(--dark);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.sidebar-toggle-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

/* Banner de Impersonación */
.impersonation-banner {
    background: linear-gradient(135deg, #7c3aed 0%, #4f46e5 100%);
    color: #ffffff;
    padding: 0.5rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.25);
    position: sticky;
    top: 0;
    z-index: 2000;
}

/* ==========================================================================
   BOTONES PREMIUM
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.7rem 1.4rem;
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary);
    color: #ffffff !important;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(79, 70, 229, 0.35);
}

.btn-vip {
    background: var(--vip-gold);
    color: #ffffff !important;
    box-shadow: var(--shadow-vip);
}

.btn-vip:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(217, 119, 6, 0.4);
}

.btn-whatsapp {
    background: #25d366;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.4);
}

.btn-secondary {
    background: #f1f5f9;
    color: #334155 !important;
}

.btn-secondary:hover {
    background: #e2e8f0;
    color: #0f172a !important;
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.btn-small {
    padding: 0.45rem 0.9rem;
    font-size: 0.82rem;
    border-radius: var(--radius-sm);
}

.btn-icon {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: var(--radius-md);
}

/* ==========================================================================
   INSIGNIAS Y BADGES
   ========================================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 0.25rem 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.badge-vip {
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

.badge-pro {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
}

.badge-free {
    background: #f1f5f9;
    color: #64748b;
}

.badge-verified {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.badge-sale {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 74px;
    gap: 1.5rem;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--dark);
    text-decoration: none;
}

.brand-logo i {
    color: var(--primary);
    font-size: 1.6rem;
}

.brand-logo span.dot-com {
    color: var(--primary);
    font-weight: 900;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ==========================================================================
   HERO SEARCH MARKETPLACE
   ========================================================================== */
.hero-section {
    position: relative;
    padding: 4.5rem 0 3.5rem;
    background: radial-gradient(100% 100% at 50% 0%, #eef2ff 0%, #f8fafc 100%);
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.4rem 1rem;
    background: #ffffff;
    border: 1px solid #e0e7ff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.08);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 50%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

/* Omnisearch Bar */
.search-box-wrapper {
    max-width: 860px;
    margin: 0 auto;
    background: #ffffff;
    padding: 8px;
    border-radius: 20px;
    box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.15);
    border: 2px solid rgba(79, 70, 229, 0.15);
}

.search-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.search-selects-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.search-input-group {
    flex: 1;
    min-width: 220px;
    display: flex;
    align-items: center;
    padding: 0.6rem 1rem;
    background: #f8fafc;
    border-radius: 14px;
}

.search-input-group i {
    color: #94a3b8;
    margin-right: 10px;
    font-size: 1.1rem;
}

.search-input-group input, .search-input-group select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    color: var(--dark);
    outline: none;
}

/* ==========================================================================
   HERO BANNER AZUL ESTILO TUHOTEL.PE (Navbar Flotante + Búsqueda + Tags)
   ========================================================================== */
.hero-banner-wrapper {
    background: linear-gradient(180deg, rgba(14, 40, 80, 0.45) 0%, rgba(10, 30, 65, 0.75) 100%), 
                url('https://pages.trip.com/Hotels/images/V8HomePageBackGround.webp') no-repeat center 28% / cover;
    min-height: 550px;
    padding: 1.5rem 0 4.8rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(10, 25, 70, 0.2);
    transition: background 0.3s ease, min-height 0.3s ease;
}

.hero-banner-wrapper .container {
    max-width: 1380px;
    width: 100%;
}

/* Floating Pill Navbar */
.floating-pill-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 0.65rem 1.8rem;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3.5rem;
    gap: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.floating-pill-navbar .brand-logo {
    display: inline-flex;
    align-items: center;
    font-size: 1.45rem;
    font-weight: 900;
    color: #0f172a;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: opacity 0.2s ease;
}

.floating-pill-navbar .brand-logo:hover {
    opacity: 0.9;
}

.floating-pill-navbar .brand-icon-box,
.brand-logo .brand-icon-box {
    display: none !important;
}

.pill-nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.pill-nav-links a {
    color: #475569;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.pill-nav-links a:hover {
    color: var(--primary);
}

.pill-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

/* Botón Hamburguesa para Mobile y Split Screen */
.btn-mobile-menu-trigger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    color: #0f172a;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.btn-mobile-menu-trigger:hover {
    background: #e2e8f0;
    color: var(--primary);
}

/* Mobile Nav Drawer & Backdrop */
.mobile-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: #ffffff;
    z-index: 9999;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.5rem;
}

.mobile-nav-drawer.active {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-nav-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

.mobile-nav-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.mobile-nav-links-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    color: #334155;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-nav-links-list a:hover {
    background: #f1f5f9;
    color: var(--primary);
    transform: translateX(4px);
}

.mobile-nav-footer {
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
}

/* Hero Content - Alto, Elegante y Despejado (Estilo TuHotel.pe) */
.hero-banner-content {
    text-align: center;
    max-width: 1260px;
    margin: 0 auto;
    width: 100%;
}

.hero-banner-title {
    font-size: clamp(2.5rem, 5.5vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -1px;
    color: #ffffff;
    margin: 0 0 0.4rem;
    line-height: 1.15;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hero-banner-title .trip-dot,
.hero-banner-title .gradient-text {
    color: #38bdf8;
    background: none;
    -webkit-text-fill-color: initial;
}

.hero-banner-subtitle {
    font-size: clamp(1rem, 2vw, 1.18rem);
    color: rgba(255, 255, 255, 0.92);
    font-weight: 500;
    max-width: 680px;
    margin: 0 auto 2rem;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Search Card (Estilo TuHotel.pe - Más Amplio) */
.hero-banner-search-box {
    max-width: 1160px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 0.75rem 1.15rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-search-input-group {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0.65rem 1.15rem;
    border-radius: 14px;
    text-align: left;
    transition: all 0.2s ease;
}

.hero-search-input-group:hover {
    background: #f8fafc;
}

.hero-search-input-group i {
    font-size: 1.25rem;
    color: #0284c7;
    flex-shrink: 0;
}

.hero-search-field-content {
    flex: 1;
    min-width: 0;
}

.hero-search-label {
    font-size: 0.68rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 2px;
    display: block;
}

.hero-search-input-group input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    font-size: 0.96rem;
    font-weight: 700;
    color: #0f172a;
    font-family: inherit;
    padding: 0;
}

.hero-search-input-group input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.hero-search-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hero-btn-search {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: #ffffff !important;
    border: none;
    border-radius: 14px;
    padding: 0.85rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 20px rgba(2, 132, 199, 0.35);
    white-space: nowrap;
}

.hero-btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(2, 132, 199, 0.45);
    background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%);
}

.hero-btn-map {
    background: #eff6ff;
    color: #0284c7 !important;
    border: 1.5px solid #bfdbfe;
    border-radius: 14px;
    padding: 0.85rem 1.3rem;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.hero-btn-map:hover {
    background: #dbeafe;
    border-color: #93c5fd;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(2, 132, 199, 0.15);
}

/* Popular Tags Bar */
.hero-popular-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

.hero-popular-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 700;
    margin-right: 4px;
}

.hero-tag-pill {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-tag-pill:hover,
.hero-tag-pill.active {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
    .floating-pill-navbar {
        border-radius: 24px;
        padding: 0.6rem 1.1rem;
        margin-bottom: 2.5rem;
    }
    .pill-nav-links {
        display: none !important;
    }
    .btn-mobile-menu-trigger {
        display: inline-flex !important;
    }
    .hide-mobile {
        display: none !important;
    }
}

@media (max-width: 880px) {
    .hero-banner-wrapper {
        min-height: auto;
        padding: 1.25rem 0 3.5rem;
    }
    .hero-banner-search-box {
        border-radius: 20px;
        padding: 1.15rem;
        flex-direction: column;
        gap: 12px;
    }
    .hero-search-input-group {
        width: 100%;
        background: #f8fafc;
        border: 1.5px solid #e2e8f0;
        border-radius: 12px;
        padding: 0.75rem 1rem;
    }
    .hero-search-actions {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    .hero-btn-search,
    .hero-btn-map {
        width: 100%;
        justify-content: center;
        border-radius: 12px;
        padding: 0.85rem;
    }
}

/* ==========================================================================
   ESTRUCTURA DE SECCIONES CENTRICAS: TAG ARRIBA + TITULO CENTRO + CONTENIDO
   ========================================================================== */
.section-header-centric {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 2.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f9ff;
    color: #0284c7;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 0.75rem;
    border: 1.5px solid #bae6fd;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.08);
}

.section-tag-pill.tag-vip {
    background: #fffbeb;
    color: #d97706;
    border-color: #fde68a;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.1);
}

.section-tag-pill.tag-primary {
    background: #eef2ff;
    color: #4f46e5;
    border-color: #c7d2fe;
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.1);
}

.section-tag-pill.tag-accent {
    background: #ecfdf5;
    color: #059669;
    border-color: #a7f3d0;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.1);
}

.section-title-centric {
    font-size: clamp(1.8rem, 3.5vw, 2.3rem);
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.6px;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.section-subtitle-centric {
    color: var(--text-muted, #64748b);
    font-size: 1rem;
    max-width: 620px;
    line-height: 1.5;
    margin: 0 auto;
}

.catalog-filters-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 1.25rem;
}

/* ==========================================================================
   CATEGORÍAS Y CAROUSEL VIP (Marketplace - Diseño Rico y Moderno)
   ========================================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.15rem;
}

.category-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    padding: 1rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--card-color, #4f46e5);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    border-color: var(--card-color, #4f46e5);
}

.category-card:hover::after {
    opacity: 1;
}

.category-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.category-card:hover .category-icon-box {
    transform: scale(1.08);
}

.category-card-body {
    flex: 1;
    min-width: 0;
}

.category-card-title {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px;
    line-height: 1.25;
}

.category-card-count {
    font-size: 0.76rem;
    font-weight: 600;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.category-card-arrow {
    color: #cbd5e1;
    font-size: 0.82rem;
    transition: all 0.2s ease;
}

.category-card:hover .category-card-arrow {
    color: var(--card-color, #4f46e5);
    transform: translateX(3px);
}

.vip-stores-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.vip-store-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--dark);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.vip-store-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #fde68a);
}

.vip-store-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-vip);
    border-color: #f59e0b;
}

.vip-store-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #fef3c7;
    background: #f8fafc;
}

.vip-store-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   CARDS & PRODUCT GRID
   ========================================================================== */
.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.15rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.section-title {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.86rem;
    margin-top: 0.15rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all var(--transition-normal);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.3);
}

.product-card.vip-priority {
    border-top: 4px solid var(--accent);
}

.product-image-box {
    position: relative;
    width: 100%;
    height: 220px;
    background: #f1f5f9;
    overflow: hidden;
}

.product-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image-box img {
    transform: scale(1.08);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.product-images-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 4px;
}

.product-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 1rem;
}

.price-current {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
}

.price-old {
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.product-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

/* ==========================================================================
   CARRITO FLOTANTE WHATSAPP (Slide Drawer)
   ========================================================================== */
.cart-floating-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1050;
    padding: 0.85rem 1.4rem;
    border-radius: var(--radius-full);
    background: #25d366;
    color: #ffffff !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.cart-floating-btn:hover {
    transform: translateY(-3px) scale(1.03);
}

.cart-count-badge {
    background: #ffffff;
    color: #128c7e;
    font-size: 0.78rem;
    font-weight: 800;
    width: 24px;
    height: 24px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart Drawer */
.cart-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.cart-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 440px;
    background: #ffffff;
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-slow);
    box-shadow: -10px 0 40px rgba(0,0,0,0.15);
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-items-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item-row {
    display: flex;
    gap: 12px;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
    align-items: center;
}

.cart-item-thumb {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: #f1f5f9;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: #f8fafc;
}

/* ==========================================================================
   MODALES UNIFICADOS (omniModal)
   ========================================================================== */
.omni-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    animation: modalFadeIn 0.2s ease-out;
}

.omni-modal.closing {
    animation: modalFadeOut 0.2s ease-in forwards;
}

.omni-modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 540px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(226, 232, 240, 0.8);
    animation: modalSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.omni-modal-box.wide { max-width: 860px; }
.omni-modal-box.narrow { max-width: 440px; }

.omni-modal-header {
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    padding: 1.25rem 1.5rem;
    color: #0f172a;
    position: relative;
}

.omni-modal-header h3 {
    color: #0f172a !important;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.3;
}

.omni-modal-header p {
    color: #64748b !important;
    font-size: 0.8rem;
    line-height: 1.35;
    margin-top: 3px;
}

.omni-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    color: #64748b;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.omni-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(1.05);
}

.omni-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    background: #ffffff;
}

/* Password Input Wrapper con Botón Ojito */
.pwd-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.pwd-input-group input {
    width: 100%;
    padding-right: 42px !important;
}

.pwd-toggle-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
}

.pwd-toggle-btn:hover {
    color: var(--primary, #4f46e5);
}

/* ==========================================================================
   SMART DROPZONE (ARRASTRAR, CÁMARA, GALERÍA Y PREVIEWS)
   ========================================================================== */
.smart-dropzone {
    border: 2px dashed var(--border, #cbd5e1);
    border-radius: 14px;
    background: #f8fafc;
    padding: 1.25rem 1rem;
    text-align: center;
    cursor: pointer;
    position: relative;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.smart-dropzone:hover {
    border-color: var(--primary, #4f46e5);
    background: #f1f5f9;
}

.smart-dropzone.dragover {
    border-color: var(--primary, #4f46e5) !important;
    background: #eef2ff !important;
    transform: scale(1.01);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.dz-actions-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.dz-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid var(--border, #cbd5e1);
    background: #ffffff;
    color: var(--dark, #0f172a);
    cursor: pointer;
    transition: all 0.15s ease;
}

.dz-action-btn:hover {
    background: #f1f5f9;
    border-color: var(--primary, #4f46e5);
    color: var(--primary, #4f46e5);
}

.dz-action-btn.btn-camera {
    background: #eff6ff;
    color: #2563eb;
    border-color: #bfdbfe;
}

.dz-action-btn.btn-camera:hover {
    background: #dbeafe;
}

.dz-thumb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.dz-thumb-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 90px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.dz-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dz-thumb-del-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.9);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    transition: transform 0.15s;
}

.dz-thumb-del-btn:hover {
    transform: scale(1.15);
    background: #dc2626;
}

.dz-badge-cover {
    position: absolute;
    bottom: 4px;
    left: 4px;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(79, 70, 229, 0.9);
    color: #ffffff;
    letter-spacing: 0.2px;
}

.dz-pdf-preview-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-top: 10px;
}

@keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalFadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes modalSlideUp { from { transform: translateY(20px) scale(0.97); } to { transform: translateY(0) scale(1); } }

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    background: #ffffff;
    color: var(--dark);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    min-width: 280px;
    max-width: 420px;
    transform: translateX(120%);
    transition: transform var(--transition-normal);
}

.toast.show { transform: translateX(0); }
.toast.hide { transform: translateX(120%); }

.toast-success { border-left-color: var(--success); }
.toast-error { border-left-color: var(--danger); }
.toast-warning { border-left-color: var(--warning); }

/* ==========================================================================
   LIGHTBOX GLOBAL
   ========================================================================== */
.omni-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.omni-lightbox.show { display: flex; }

.omni-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.omni-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #ffffff;
    font-size: 1.8rem;
    background: transparent;
    border: none;
    cursor: pointer;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS - MOBILE FIRST
   ========================================================================== */

/* --- TABLET LANDSCAPE (1024px) --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .section-title { font-size: 1.5rem; }
    .products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
}

/* --- TABLET PORTRAIT & MOBILE (768px) --- */
@media (max-width: 768px) {
    .container { padding: 0 0.75rem; }
    
    /* Navbar limpia en una sola línea sin saltos ni desbordes */
    .navbar-content {
        height: 56px;
        gap: 0.4rem;
        flex-wrap: nowrap !important;
        overflow: hidden !important;
        justify-content: space-between;
    }
    .brand-logo {
        font-size: 1.05rem;
        gap: 5px;
        white-space: nowrap;
        flex-shrink: 1;
        min-width: 0;
    }
    .brand-logo i { font-size: 1.2rem; }
    .nav-actions {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        flex-shrink: 0;
        flex-wrap: nowrap !important;
    }
    #auth-buttons-container {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        flex-wrap: nowrap !important;
    }
    .hide-mobile { display: none !important; }
    .btn-small { padding: 0.35rem 0.6rem; font-size: 0.78rem; }
    
    /* Ocultar permanentemente cualquier botón de carrito duplicado en cabeceras móviles */
    .navbar button[onclick*="toggleCartDrawer"],
    header button[onclick*="toggleCartDrawer"],
    .nav-cart-btn {
        display: none !important;
    }

    /* Hero compacto para ver productos sin hacer scroll excesivo */
    .hero-section { padding: 1.25rem 0 1rem; }
    .hero-badge { display: none !important; }
    .hero-subtitle { display: none !important; }
    .hero-title { font-size: 1.75rem !important; font-weight: 800 !important; line-height: 1.2 !important; margin-bottom: 0.85rem !important; letter-spacing: -0.02em !important; }
    
    /* Buscador adaptado a pantalla chica: uno abajo del otro para evitar cortes de texto */
    .search-box-wrapper { padding: 6px; border-radius: 14px; width: 100%; }
    .search-box {
        display: flex !important;
        flex-direction: column !important;
        gap: 7px !important;
        width: 100% !important;
        padding: 4px !important;
        background: #ffffff;
        border-radius: 12px;
    }
    .search-input-group {
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        padding: 0.55rem 0.8rem !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 10px !important;
        background: #f8fafc !important;
    }
    .search-selects-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 7px !important;
        width: 100% !important;
    }
    .search-selects-row .search-input-group {
        flex: none !important;
        min-width: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 10px !important;
        background: #f8fafc !important;
    }
    .search-submit-btn {
        width: 100% !important;
        border-radius: 10px !important;
        padding: 0.65rem 1rem !important;
        font-size: 0.92rem !important;
        font-weight: 700 !important;
        justify-content: center !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }
    
    /* Ocultar subtítulos redundantes en móvil para eliminar ruido visual */
    .section-subtitle { display: none !important; }
    .section-header { margin-bottom: 0.75rem !important; }
    .section-title { font-size: 1.15rem !important; }
    
    /* Tiendas VIP y Categorías compactas */
    .vip-stores-carousel {
        grid-template-columns: 1fr !important;
        gap: 0.65rem !important;
    }
    .vip-store-card {
        padding: 0.75rem !important;
        gap: 10px !important;
    }
    .vip-store-logo {
        width: 46px !important;
        height: 46px !important;
        border-radius: 10px !important;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.55rem !important;
    }
    .category-card {
        padding: 0.7rem 0.5rem !important;
        gap: 6px !important;
    }
    .category-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 1rem !important;
    }
    .category-title {
        font-size: 0.78rem !important;
    }
    
    /* Grid de Productos Móvil (2 Columnas simétricas y equilibradas) */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.55rem !important;
    }
    .product-image-box { height: 135px !important; }
    .product-content { padding: 0.55rem !important; }
    .product-title {
        font-size: 0.8rem !important;
        line-height: 1.25 !important;
        height: 2.5em !important;
        margin-bottom: 4px !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
    .product-price-row {
        margin: 2px 0 6px !important;
        display: flex !important;
        align-items: baseline !important;
        gap: 5px !important;
    }
    .price-current { font-size: 0.92rem !important; font-weight: 700 !important; }
    .price-old { font-size: 0.72rem !important; }
    
    /* Botones de acción en una sola fila simétrica (Detalle + Carrito lado a lado) */
    .product-actions {
        display: grid !important;
        grid-template-columns: 1fr 36px !important;
        gap: 5px !important;
        align-items: stretch !important;
    }
    .product-actions .btn-primary {
        padding: 0.38rem 0.45rem !important;
        font-size: 0.76rem !important;
        height: 32px !important;
        white-space: nowrap !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .product-actions .btn-whatsapp,
    .product-actions .btn-icon {
        width: 36px !important;
        min-width: 36px !important;
        height: 32px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.85rem !important;
    }
    
    .cart-drawer { max-width: 100%; }
    .cart-floating-btn {
        bottom: 18px !important;
        right: 18px !important;
        padding: 0.65rem 0.95rem !important;
        font-size: 0.82rem !important;
        border-radius: 50px !important;
        box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45) !important;
        z-index: 1050 !important;
    }
    
    /* Topbar Admin & SuperAdmin Responsive (Fila única limpia de 56px) */
    .topbar-admin, .super-topbar {
        padding: 0 0.75rem !important;
        height: 56px !important;
        min-height: 56px !important;
        max-height: 56px !important;
        flex-wrap: nowrap !important;
        gap: 6px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        overflow: hidden !important;
    }
    .topbar-admin .btn-small, .super-topbar .btn-small {
        padding: 6px 9px !important;
        font-size: 0.78rem !important;
        height: 34px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .topbar-user-pill {
        padding: 2px !important;
        background: transparent !important;
        border: none !important;
    }

    /* Content Area & Cards Responsive */
    .content-area, .super-content {
        padding: 0.75rem !important;
    }
    .adm-card, .super-card {
        padding: 0.85rem !important;
        border-radius: 12px !important;
    }
    .kpi-card {
        padding: 0.85rem !important;
        flex-direction: row !important;
        text-align: left !important;
        gap: 10px !important;
    }
    .kpi-card h3 {
        font-size: 1.35rem !important;
    }

    /* Tablas Responsive con Scroll Horizontal Suave */
    .table-responsive,
    .table-container,
    .adm-card table,
    .super-card table,
    table.data-table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        white-space: nowrap !important;
    }
    
    /* Admin Sidebar se vuelve drawer en mobile */
    .sidebar-main, .super-sidebar, .sidebar {
        position: fixed !important;
        top: 0;
        left: 0;
        bottom: 0;
        width: 275px !important;
        transform: translateX(-100%) !important;
        z-index: 2500 !important;
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    .sidebar-main.open, .super-sidebar.open, .sidebar.open,
    .admin-layout.mobile-sidebar-open .sidebar {
        transform: translateX(0) !important;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.35) !important;
    }
    
    /* Modal responsive */
    .omni-modal { padding: 0.4rem !important; }
    .omni-modal-box { max-width: 100% !important; border-radius: 14px !important; }
    .omni-modal-box.wide { max-width: 100% !important; }
    .omni-modal-header { padding: 0.85rem 1rem !important; }
    .omni-modal-header h3 { font-size: 0.95rem !important; line-height: 1.25 !important; }
    .omni-modal-header p { font-size: 0.74rem !important; line-height: 1.3 !important; }
    .omni-modal-body { padding: 0.85rem 1rem !important; }
}

/* --- MOBILE SMALL (480px y pantallas estrechas) --- */
@media (max-width: 480px) {
    .container { padding: 0 0.5rem; }
    .brand-logo { font-size: 0.92rem; }
    .brand-logo span.dot-com { display: none; }
    .btn-small { padding: 0.3rem 0.5rem; font-size: 0.74rem; }
    .hero-title { font-size: 1.55rem !important; font-weight: 800 !important; line-height: 1.22 !important; }
    .products-grid { gap: 0.45rem !important; }
    .product-image-box { height: 120px !important; }
    .product-title { font-size: 0.75rem !important; }
    .product-actions { grid-template-columns: 1fr 34px !important; }
    .product-actions .btn-primary { font-size: 0.72rem !important; height: 30px !important; }
    .product-actions .btn-whatsapp,
    .product-actions .btn-icon { width: 34px !important; min-width: 34px !important; height: 30px !important; }
    .badge { font-size: 0.62rem; padding: 0.15rem 0.4rem; }
    .cart-floating-btn span:not(.cart-count-badge) { display: none; }
}

