/* ==========================================================================
   LM SOLUCIONES — SYSCOM.MX LUXURY CLEAN LIGHT THEME (2026)
   Estética profesional limpia: Fondo blanco/claro (#f8fafc / #ffffff),
   tipografía nítida (#0f172a), tarjetas blancas con bordes sutiles (#e2e8f0),
   imágenes con fondo blanco puro y contrastes comerciales optimizados.
   ========================================================================== */

:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-hover: #f1f5f9;
    --bg-header: #0d111a;
    --bg-input: #ffffff;
    --bg-footer: #0f172a;
    --border-subtle: #e2e8f0;
    --border-primary: #cbd5e1;
    --border-focus: #3b82f6;
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #64748b;
    --accent-blue: #2563eb;
    --accent-blue-dark: #1d4ed8;
    --accent-amber: #d97706;
    --accent-red: #dc2626;
    --accent-green: #16a34a;
    
    /* Legacy overrides */
    --syscom-blue: #2563eb;
    --syscom-blue-dark: #1d4ed8;
    --syscom-red: #dc2626;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 12px 28px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.2);
}

/* Base resets & typography */
body {
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    font-family: var(--font-body) !important;
}

h1, h2, h3, h4, h5, h6, .section-heading, .s-card-brand, .hero-badge {
    font-family: var(--font-heading) !important;
}

/* ==========================================================================
   Top Utility Bar
   ========================================================================== */
.top-bar {
    background: #090d16 !important;
    border-bottom: 1px solid #1e293b !important;
    color: #94a3b8 !important;
}
.top-bar-left span {
    color: #94a3b8 !important;
}
.top-bar-right a {
    color: #94a3b8 !important;
    transition: color 0.2s ease;
}
.top-bar-right a:hover {
    color: #ffffff !important;
}

/* ==========================================================================
   Header (Syscom Dark Top Authority)
   ========================================================================== */
.main-header {
    background: var(--bg-header) !important;
    border-bottom: 1px solid #1e293b !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}
.header-inner {
    min-height: 80px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
.logo-text-brand {
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
}
.logo-text-brand .brand-white {
    color: #ffffff !important;
}

/* Search Bar (Large Prominent Input) */
.search-container {
    max-width: 620px !important;
    position: relative;
}
.search-box {
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1 !important;
    border-radius: 10px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.2s ease !important;
}
.search-box:focus-within {
    border-color: var(--accent-blue) !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}
.search-box input {
    color: #0f172a !important;
    background: transparent !important;
    font-size: 14px !important;
    padding: 12px 16px !important;
}
.search-box input::placeholder {
    color: #94a3b8 !important;
}
.search-btn {
    background: var(--accent-blue) !important;
    color: #ffffff !important;
    border-radius: 0 8px 8px 0 !important;
    padding: 0 18px !important;
    transition: background 0.2s ease !important;
}
.search-btn:hover {
    background: var(--accent-blue-dark) !important;
}

/* Real-Time Search Dropdown (.search-dropdown & .suggest-box) */
.search-dropdown, .suggest-box {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
    z-index: 1200 !important;
    max-height: 440px !important;
    overflow-y: auto !important;
}
.search-dropdown.hidden {
    display: none !important;
}
.search-dropdown-item, .suggest-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    text-decoration: none !important;
    color: #0f172a !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
}
.search-dropdown-item:last-child, .suggest-item:last-child {
    border-bottom: none !important;
}
.search-dropdown-item:hover, .suggest-item:hover, .suggest-item.active {
    background: #f8fafc !important;
}
.search-dropdown-img, .suggest-item img {
    width: 48px !important;
    height: 48px !important;
    object-fit: contain !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    padding: 4px !important;
    flex-shrink: 0 !important;
}
.search-dropdown-info, .suggest-info {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}
.search-dropdown-brand, .suggest-meta {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #2563eb !important;
    text-transform: uppercase !important;
}
.search-dropdown-title, .suggest-title {
    font-size: 13px !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-top: 2px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
}
.search-dropdown-price, .suggest-price {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #16a34a !important;
    font-family: var(--font-heading) !important;
    margin-top: 2px !important;
}
.suggest-all {
    padding: 10px 16px !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    text-align: center !important;
    color: #2563eb !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}
.suggest-all:hover, .suggest-all.active {
    background: #eff6ff !important;
}

/* Header Actions */
.action-item {
    color: #ffffff !important;
}
.action-icon-bg {
    background: #1e293b !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
}
.action-title {
    color: #94a3b8 !important;
    font-size: 11px !important;
}
.action-link, .action-value {
    color: #ffffff !important;
    font-weight: 700 !important;
}
.syscom-badge {
    background: var(--accent-red) !important;
    color: white !important;
    font-weight: 800 !important;
    border-radius: 99px !important;
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.4) !important;
}

/* ==========================================================================
   Navigation Bar (Mega Menu & Promo Strip)
   ========================================================================== */
.mega-nav {
    background: #090d16 !important;
    border-bottom: 1px solid #1e293b !important;
}
.all-departments {
    background: linear-gradient(135deg, #1d4ed8, #2563eb) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
}
.promo-strip {
    scrollbar-width: none;
}
.promo-strip::-webkit-scrollbar {
    display: none;
}
.promo-pill {
    background: #1e293b !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}
.promo-pill:hover {
    background: #2563eb !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}
.promo-pill span {
    color: #ffffff !important;
    font-weight: 600 !important;
}
.promo-pill em {
    color: #94a3b8 !important;
}
.promo-pill--hot {
    background: rgba(220, 38, 38, 0.2) !important;
    border-color: rgba(220, 38, 38, 0.4) !important;
}
.promo-pill--hot span {
    color: #fca5a5 !important;
}

/* Mega menu panel */
#mega-menu-panel {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
    border-radius: 14px !important;
}
.mega-menu-sidebar {
    background: #f8fafc !important;
    border-right: 1px solid #e2e8f0 !important;
}
.mega-cat-item {
    color: #334155 !important;
}
.mega-cat-item:hover, .mega-cat-item.active {
    background: #eff6ff !important;
    color: #2563eb !important;
}
.mega-subcat-title {
    color: #0f172a !important;
}
.mega-subcat-item {
    color: #64748b !important;
}
.mega-subcat-item:hover {
    color: #2563eb !important;
}

/* ==========================================================================
   Hero Section (Clean Luminous Landing Takeover)
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 36px 0 !important;
}
.hero-badge {
    background: #dbeafe !important;
    border: 1px solid #bfdbfe !important;
    color: #1d4ed8 !important;
    border-radius: 99px !important;
    padding: 4px 14px !important;
    font-weight: 700 !important;
}
.hero-content h1 {
    color: #0f172a !important;
    font-weight: 800 !important;
    letter-spacing: -1px !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    line-height: 1.15 !important;
}
.hero-content p {
    color: #475569 !important;
    font-size: 16px !important;
}
.hero-btn {
    border-radius: 10px !important;
    font-weight: 700 !important;
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.hero-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35) !important;
}
.hero-trust span {
    color: #64748b !important;
}
.banner-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.06) !important;
}
.banner-card h3 {
    color: #0f172a !important;
}

/* ==========================================================================
   Trust Strip
   ========================================================================== */
.trust-bar {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 16px 0 !important;
}
.trust-stat i, .trust-stat svg {
    color: #2563eb !important;
}
.trust-stat strong {
    color: #0f172a !important;
    font-size: 15px !important;
}
.trust-stat span {
    color: #64748b !important;
}

/* ==========================================================================
   Categories Grid (Landing Section)
   ========================================================================== */
.cat-grid-section {
    background: #f8fafc !important;
    padding: 40px 0 !important;
}
.section-heading {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 24px !important;
}
.section-sub {
    color: #64748b !important;
}
.cat-card, .category-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
    transition: all 0.2s ease !important;
}
.cat-card:hover, .category-card:hover {
    background: #ffffff !important;
    border-color: #93c5fd !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08) !important;
}
.cat-card-title, .cat-name {
    color: #0f172a !important;
    font-weight: 700 !important;
}
.cat-card-count, .cat-count {
    color: #64748b !important;
}

/* ==========================================================================
   Product Cards (Artículos Limpios — Fondo Blanco Puro)
   ========================================================================== */
.syscom-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}
.syscom-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(37, 99, 235, 0.2) !important;
    border-color: #93c5fd !important;
}
.s-card-image {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-radius: 14px 14px 0 0 !important;
}
.s-card-image img {
    filter: none !important;
}
.s-card-brand {
    color: #2563eb !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    letter-spacing: 0.5px !important;
}
.s-card-model {
    color: #64748b !important;
    font-family: monospace !important;
}
.s-card-title {
    color: #0f172a !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
    line-height: 1.4 !important;
}
.s-card-stock.stock-in {
    color: #166534 !important;
    background: #dcfce7 !important;
    border-radius: 4px;
    padding: 2px 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
}
.s-card-stock.stock-out {
    color: #9a3412 !important;
    background: #fef3c7 !important;
    border-radius: 4px;
    padding: 2px 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
}
.s-card-price-area {
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 10px !important;
}
.s-price-label {
    color: #64748b !important;
    font-size: 10px !important;
}
.s-price-value {
    color: #0f172a !important;
    font-weight: 900 !important;
    font-size: 1.25rem !important;
    font-family: var(--font-heading) !important;
    letter-spacing: -0.5px;
}
.s-price-currency {
    color: #64748b !important;
    font-size: 11px !important;
}
.s-cart-btn {
    background: #2563eb !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    transition: background 0.15s ease, transform 0.1s ease !important;
}
.s-cart-btn:hover {
    background: #1d4ed8 !important;
    transform: scale(1.05) !important;
}

/* ==========================================================================
   Filter Sidebar & Product Grid
   ========================================================================== */
.filter-bar, .products-filter-sidebar {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}
.filter-title {
    color: #0f172a !important;
}
.filter-brand-chip, .subcat-chip {
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    border-radius: 99px !important;
}
.filter-brand-chip:hover, .subcat-chip:hover {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}
.filter-brand-chip.active, .subcat-chip.active {
    background: #2563eb !important;
    color: #ffffff !important;
}
.brand-count {
    background: rgba(0, 0, 0, 0.06) !important;
    color: #64748b !important;
}

/* ==========================================================================
   Solar Widget & Lead Capture (High-Impact Differentiated Solar Theme)
   ========================================================================== */
.solar-widget-section {
    background: #f8fafc !important;
    padding: 48px 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.solar-widget-card {
    background: linear-gradient(135deg, #091e3a 0%, #0d2847 45%, #173865 100%) !important;
    border: 1.5px solid rgba(245, 158, 11, 0.4) !important;
    border-radius: 24px !important;
    padding: 44px !important;
    color: #ffffff !important;
    box-shadow: 0 25px 60px -10px rgba(9, 30, 58, 0.45), 0 0 35px rgba(245, 158, 11, 0.15) !important;
    position: relative !important;
    overflow: hidden !important;
}
.solar-widget-card::before {
    content: '' !important;
    position: absolute !important;
    top: -50px !important;
    left: -50px !important;
    width: 250px !important;
    height: 250px !important;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0) 70%) !important;
    pointer-events: none !important;
}
.solar-tag {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(251, 191, 36, 0.12)) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.6) !important;
    font-weight: 800 !important;
    padding: 6px 14px !important;
    border-radius: 99px !important;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 12px !important;
    margin-bottom: 16px !important;
}
.solar-widget-content h2 {
    color: #ffffff !important;
    font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    margin-bottom: 12px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}
.solar-widget-content p {
    color: #cbd5e1 !important;
    font-size: 16px !important;
    line-height: 1.5 !important;
}
.solar-benefits {
    margin-top: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}
.solar-benefit-item {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}
.solar-benefit-icon {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #fbbf24 !important;
    border: 1.5px solid rgba(245, 158, 11, 0.4) !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.15) !important;
}
.solar-benefit-text h4 {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 0 2px !important;
}
.solar-benefit-text p {
    color: #94a3b8 !important;
    font-size: 13px !important;
    margin: 0 !important;
}
.solar-widget-form {
    background: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3) !important;
    padding: 32px !important;
}
.solar-widget-form label, .sw-input-group label {
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    margin-bottom: 8px !important;
    display: block !important;
}
.sw-select {
    background-color: #f8fafc !important;
    color: #0f172a !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 12px !important;
    padding: 14px 16px !important;
    font-weight: 700 !important;
}
.sw-select:focus {
    border-color: #f59e0b !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2) !important;
}
.sw-input-wrapper {
    background: #f8fafc !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 12px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}
.sw-input-wrapper:focus-within {
    border-color: #f59e0b !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2) !important;
}
.sw-input-wrapper input {
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 20px !important;
}
.sw-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    padding: 16px 24px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.45) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    cursor: pointer !important;
    width: 100% !important;
    margin-top: 10px !important;
}
.sw-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 14px 30px rgba(245, 158, 11, 0.6) !important;
}

/* ==========================================================================
   Reviews & Brands Strip
   ========================================================================== */
.review-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03) !important;
}
.review-name {
    color: #0f172a !important;
}
.review-comment {
    color: #475569 !important;
}
.review-product {
    color: #2563eb !important;
}
.review-stars {
    color: #f59e0b !important;
}
.brands-marquee-wrap {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
}
.bm-item {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
}
.bm-item strong {
    color: #1e3a8a !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-main, footer, .main-footer {
    background: #0f172a !important;
    border-top: 1px solid #1e293b !important;
    color: #94a3b8 !important;
}
.footer-col h4, .footer-heading {
    color: #ffffff !important;
    font-weight: 800 !important;
}
.footer-col a, .footer-links a {
    color: #94a3b8 !important;
    transition: color 0.15s ease;
}
.footer-col a:hover, .footer-links a:hover {
    color: #ffffff !important;
}

/* ==========================================================================
   Modals, Artículos & Drawers (Puro Blanco y Nítido)
   ========================================================================== */
.modal-box, .modal-content, .cart-drawer, .auth-modal-content, .sw-lead-modal {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15) !important;
}
.modal-product-layout {
    background: #ffffff !important;
}
.modal-main-image {
    background: #ffffff !important;
}
.modal-title {
    color: #0f172a !important;
}
.modal-brand {
    color: #2563eb !important;
}
.modal-price {
    color: #0f172a !important;
}
.modal-content input, .cart-drawer input, .auth-modal-content input {
    background: #ffffff !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}
.overlay {
    background: rgba(15, 23, 42, 0.6) !important;
    backdrop-filter: blur(4px) !important;
}
