/* ==========================================================================
   LM Soluciones — Main Stylesheet
   ========================================================================== */

/* Variables */
:root {
    --syscom-blue: #1b4fd8;
    --syscom-blue-dark: #1e3a8a;
    --syscom-red: #e11d48;
    --text-dark: #0f172a;
    --text-gray: #64748b;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
    --radius: 12px;
    --radius-sm: 8px;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* Container */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ==========================================================================
   Top Bar
   ========================================================================== */
.top-bar {
    background: #0f172a;
    color: #94a3b8;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #1e293b;
}
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar-left { color: #64748b; }
.top-bar-right { display: flex; gap: 20px; }
.top-bar-right a {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}
.top-bar-right a:hover { color: #e2e8f0; }

/* ==========================================================================
   Header
   ========================================================================== */
.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 164px;
}
.logo-area { display: flex; align-items: center; flex-shrink: 0; }
.site-logo { height: 180px; width: auto; }
.site-logo--footer { height: 100px; }

/* Search */
.search-container { flex: 1; max-width: 600px; }
.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    border: 2px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    position: relative;
}
.search-box:focus-within {
    border-color: var(--syscom-blue);
    box-shadow: 0 0 0 3px rgba(27,79,216,0.10);
}
.search-box input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
}
.search-box input::placeholder { color: #94a3b8; }
.search-btn {
    background: var(--syscom-blue);
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s;
    border-radius: 0 50px 50px 0;
}
.search-btn:hover { background: var(--syscom-blue-dark); }
.search-spinner {
    position: absolute;
    right: 52px;
    display: flex;
    align-items: center;
    color: var(--syscom-blue);
}
.search-spinner.hidden { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.spin { animation: spin 0.8s linear infinite; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    white-space: nowrap;
}
.action-item:hover { background: var(--bg-light); }
.action-icon-bg {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    flex-shrink: 0;
}
.action-text { display: flex; flex-direction: column; }
.action-title { font-size: 11px; color: var(--text-gray); font-weight: 500; }
.action-link, .action-value { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.syscom-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--syscom-red);
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}
.syscom-red { color: var(--syscom-red); }

/* ==========================================================================
   Navigation / Mega Menu
   ========================================================================== */
.mega-nav {
    background: var(--syscom-blue);
    position: relative;
    z-index: 99;
}
.nav-inner {
    display: flex;
    align-items: center;
    gap: 0;
    height: 56px;
}
.all-departments {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    color: white;
    font-size: 14px;
    font-weight: 700;
    padding: 0 24px;
    height: 100%;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.5px;
    transition: background 0.2s;
    flex-shrink: 0;
}
.all-departments:hover { background: rgba(255,255,255,0.25); }

/* Mega Menu Panel */
#mega-menu-panel {
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    border-top: 3px solid var(--syscom-blue);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    z-index: 200;
}
#mega-menu-panel.hidden { display: none; }
.mega-menu-inner {
    display: flex;
    max-height: 480px;
}

/* Sidebar L1 */
.mega-menu-sidebar {
    width: 240px;
    flex-shrink: 0;
    background: #f8fafc;
    border-right: 1px solid var(--border);
    overflow-y: auto;
    padding: 6px 0;
}
.mega-menu-sidebar-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    border-left: 3px solid transparent;
    gap: 8px;
    white-space: nowrap;
}
.mega-menu-sidebar-item:hover,
.mega-menu-sidebar-item.active {
    background: white;
    border-left-color: var(--syscom-blue);
    color: var(--syscom-blue);
}
.m-side-icon-text {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
}
.m-side-icon-text span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Content L2 — lista vertical scrolleable */
.mega-menu-content {
    width: 280px;
    flex-shrink: 0;
    border-right: 1px solid var(--border);
    overflow-y: auto;
    padding: 8px 0;
}
.mega-menu-title {
    font-size: 11px;
    font-weight: 700;
    color: var(--syscom-blue);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 8px 16px 6px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 4px;
}
.mega-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.mega-menu-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
    gap: 8px;
    border-left: 3px solid transparent;
}
.mega-menu-link-row:hover,
.mega-menu-link-row.active {
    background: #eff6ff;
    color: var(--syscom-blue);
    border-left-color: var(--syscom-blue);
}
.mega-menu-link-left {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    overflow: hidden;
    flex: 1;
}
.mega-menu-link-left span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mega-menu-sub-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    opacity: 0.7;
}

/* L3 Panel — ocupa el resto del ancho con grid */
.mega-menu-l3 {
    flex: 1;
    border-left: none;
    padding: 16px 20px;
    background: #f8fafc;
    overflow-y: auto;
}
.mega-menu-l3-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--syscom-blue);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #dbeafe;
}
.mega-menu-l3-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 2px;
}
.mega-menu-l3-link {
    display: block;
    padding: 7px 10px;
    font-size: 12.5px;
    color: var(--text-gray);
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mega-menu-l3-link:hover { background: white; color: var(--syscom-blue); font-weight: 600; }

/* Promo Strip */
.promo-strip {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 0;
    overflow: hidden;
}
.promo-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 8px;
    height: 56px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
    overflow: hidden;
    transition: background 0.2s, color 0.2s;
    flex: 1;
    min-width: 0;
    border-left: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.promo-pill:hover { background: rgba(255,255,255,0.12); color: white; }
.promo-pill span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.promo-pill em { display: none; } /* subtítulo oculto — nombre solo */
.promo-pill--hot { color: #fbbf24; }
.promo-pill--hot:hover { background: rgba(251,191,36,0.1); }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #1b4fd8 100%);
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.hero-inner { display: flex; align-items: center; }
.hero-content { max-width: 640px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    color: #93c5fd;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}
.hero-content h1 {
    font-size: 42px;
    font-weight: 800;
    color: white;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.hero-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 28px;
    line-height: 1.65;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-btn { padding: 14px 28px; font-size: 16px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-trust span { font-size: 13px; color: #94a3b8; display: flex; align-items: center; gap: 6px; }
 
/* Hero Banner -------------------------------------------------------------- */
.hero-banner {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.banner-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 28px;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
    animation: float-card 6s ease-in-out infinite;
}
@keyframes float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.banner-tag {
    display: inline-block;
    background: var(--syscom-red);
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.banner-card h3 {
    color: white;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 4px;
}
.banner-card p {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 16px;
}
.banner-illustration {
    margin: 10px auto 20px;
    width: 220px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.truck-3d {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(27,79,216,0.3));
    animation: truck-drive 3s ease-in-out infinite;
}
@keyframes truck-drive {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}
.logistics-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.logistics-logos img {
    height: 16px;
    width: auto;
    filter: brightness(0) invert(1) opacity(0.6);
    transition: opacity 0.2s, filter 0.2s;
}
.logistics-logos img:hover { opacity: 1; filter: brightness(0) invert(1); }

@media (max-width: 991px) {
    .hero-inner { flex-direction: column; text-align: center; gap: 40px; }
    .hero-content { max-width: 100%; }
    .hero-buttons { justify-content: center; }
    .hero-banner { width: 100%; justify-content: center; }
    .banner-card { max-width: 100%; width: 100%; }
}

/* Brands marquee ----------------------------------------------------------- */
.brands-marquee-wrap {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    overflow: hidden;
    height: 80px;
    padding: 0;
}
.brands-marquee-label {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #94a3b8;
    padding: 0 24px 0 28px;
    white-space: nowrap;
    border-right: 1px solid #e2e8f0;
    height: 100%;
    display: flex;
    align-items: center;
    line-height: 1.4;
}
.brands-marquee-track-wrap {
    flex: 1;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.brands-marquee-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: bm-scroll 32s linear infinite;
    gap: 0;
}
.brands-marquee-track:hover { animation-play-state: paused; }
@keyframes bm-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.bm-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 36px;
    height: 80px;
    border-right: 1px solid #f1f5f9;
    cursor: default;
    transition: background 0.2s;
}
.bm-item:hover { background: #f8fafc; }
.bm-item img {
    height: 32px;
    max-width: 110px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.55);
    transition: filter 0.3s;
}
.bm-item:hover img { filter: grayscale(0%) opacity(1); }
.bm-item span {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #94a3b8;
    white-space: nowrap;
    transition: color 0.2s;
}
.bm-item:hover span { color: #1e40af; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.syscom-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #1b4fd8, #0ea5e9);
    color: white;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.2s;
    white-space: nowrap;
}
.syscom-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(27,79,216,0.35); }
.syscom-btn:active { transform: translateY(0); }
.syscom-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-block { width: 100%; border-radius: var(--radius-sm); }
.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    border: 2px solid rgba(255,255,255,0.25);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.4); }
.btn-link {
    background: none;
    border: none;
    color: var(--text-gray);
    font-size: 13px;
    cursor: pointer;
    padding: 10px 0;
    display: block;
    text-align: center;
    width: 100%;
    transition: color 0.2s;
}
.btn-link:hover { color: var(--syscom-blue); }

/* ==========================================================================
   Product Grid
   ========================================================================== */
.main-layout { padding-top: 24px; padding-bottom: 48px; }
.page-header { margin-bottom: 20px; }
.breadcrumbs { font-size: 12px; color: var(--text-gray); margin-bottom: 6px; }
#page-title { font-size: 22px; font-weight: 800; color: var(--text-dark); }
.results-count { font-size: 13px; color: var(--text-gray); margin-top: 4px; }

.products-area { width: 100%; }
.soft-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding: 10px 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}
.toolbar-left { display: flex; align-items: center; gap: 10px; }
.soft-select {
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--bg-light);
    outline: none;
    cursor: pointer;
}
.soft-select:focus { border-color: var(--syscom-blue); }

.syscom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

/* Product Card */
.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-img-wrap {
    position: relative;
    padding: 16px;
    background: var(--bg-light);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-img-wrap img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    transition: transform 0.3s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--syscom-red);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}
.product-info { padding: 12px 14px 14px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-brand { font-size: 10px; font-weight: 700; color: var(--syscom-blue); text-transform: uppercase; letter-spacing: 0.8px; }
.product-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-model { font-size: 11px; color: var(--text-gray); }
.product-price { font-size: 18px; font-weight: 800; color: var(--syscom-blue); margin-top: 4px; }
.product-stock { font-size: 11px; color: #16a34a; font-weight: 600; }
.product-stock.low { color: #ea580c; }
.product-stock.out { color: var(--syscom-red); }
.add-to-cart-btn {
    margin-top: auto;
    width: 100%;
    background: linear-gradient(135deg, var(--syscom-blue), #0ea5e9);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: opacity 0.2s, transform 0.15s;
}
.add-to-cart-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* ==========================================================================
   Overlay
   ========================================================================== */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.55);
    backdrop-filter: blur(3px);
    z-index: 300;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.overlay.active { opacity: 1; pointer-events: all; }

/* ==========================================================================
   Cart Drawer
   ========================================================================== */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: white;
    z-index: 400;
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.15);
}
.cart-drawer.active { right: 0; }
.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}
.cart-header h2 { font-size: 18px; font-weight: 800; }
.icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.icon-btn:hover { background: var(--bg-light); }
.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 16px 20px;
}
.empty-cart-msg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: var(--text-gray);
    text-align: center;
    gap: 6px;
}
.empty-cart-msg p { font-size: 15px; font-weight: 600; }
.empty-cart-msg span { font-size: 13px; }

/* Cart Item */
.cart-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}
.cart-item-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--bg-light);
    flex-shrink: 0;
    padding: 4px;
    border: 1px solid var(--border);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 600; color: var(--text-dark); line-height: 1.35; margin-bottom: 4px; }
.cart-item-model { font-size: 11px; color: var(--text-gray); margin-bottom: 8px; }
.cart-item-price { font-size: 14px; font-weight: 800; color: var(--syscom-blue); }
.cart-item-controls { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    color: var(--text-dark);
    background: white;
}
.qty-btn:hover { background: var(--bg-light); border-color: var(--syscom-blue); }
.qty-value { font-size: 14px; font-weight: 700; min-width: 24px; text-align: center; }
.remove-btn {
    margin-left: auto;
    background: #fff1f2;
    color: var(--syscom-red);
    border: 1px solid #fecdd3;
    border-radius: 6px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s;
}
.remove-btn:hover { background: #ffe4e6; }

/* Cart Footer */
.cart-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    background: white;
}
.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}
#cart-total-price { font-size: 22px; font-weight: 800; color: var(--syscom-blue); }
.cart-footer-note { font-size: 12px; color: var(--text-gray); margin-bottom: 12px; }
.checkout-main-btn { padding: 14px; font-size: 15px; border-radius: var(--radius-sm); }

/* Checkout Steps */
.checkout-step { padding: 16px 20px; overflow-y: auto; flex: 1; }
.checkout-step.hidden { display: none; }
.step-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text-dark);
}
.step-num {
    width: 28px;
    height: 28px;
    background: var(--syscom-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.form-group { margin-bottom: 12px; }
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}
.form-group input:focus,
.form-group select:focus {
    border-color: var(--syscom-blue);
    box-shadow: 0 0 0 3px rgba(27,79,216,0.08);
    background: white;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.shipping-summary-box {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 13px;
    margin-bottom: 14px;
    line-height: 1.7;
}

/* Payment Tabs */
.pay-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.pay-tab {
    flex: 1;
    padding: 9px 6px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-gray);
    background: var(--bg-light);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.pay-tab.active {
    border-color: var(--syscom-blue);
    background: #eff6ff;
    color: var(--syscom-blue);
}
.pay-tab-panel { display: block; }

/* MSI Options */
.msi-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
}
.msi-option.active, .msi-option:hover { border-color: var(--syscom-blue); background: #eff6ff; }
.msi-option input[type="radio"] { display: none; }
.msi-option-radio {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    transition: all 0.2s;
    position: relative;
}
.msi-option.active .msi-option-radio {
    border-color: var(--syscom-blue);
    background: var(--syscom-blue);
}
.msi-option.active .msi-option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
}
.msi-info { flex: 1; }
.msi-months { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.msi-monthly { font-size: 12px; color: var(--text-gray); }
.msi-total { font-size: 12px; font-weight: 700; color: var(--syscom-blue); }
.msi-surcharge-badge {
    background: #fef3c7;
    color: #92400e;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 20px;
    margin-left: 6px;
}

/* Openpay trust */
.openpay-trust {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    font-size: 12px;
    color: var(--text-gray);
}

/* Error */
.error-msg {
    color: var(--syscom-red);
    font-size: 13px;
    margin-top: 8px;
    font-weight: 600;
    min-height: 20px;
}

/* ==========================================================================
   Product Modal
   ========================================================================== */
.modal-container {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-container.hidden { display: none; }
.modal-box {
    background: white;
    border-radius: var(--radius);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}
.modal-close-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}
.modal-close-btn:hover { background: #ffe4e6; color: var(--syscom-red); }
.modal-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.modal-gallery { padding: 24px; border-right: 1px solid var(--border); }
.modal-gallery img { width: 100%; height: 300px; object-fit: contain; border-radius: var(--radius-sm); }
.modal-detail { padding: 24px; }
.modal-brand { font-size: 11px; font-weight: 700; color: var(--syscom-blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.modal-name { font-size: 18px; font-weight: 800; line-height: 1.3; margin-bottom: 6px; }
.modal-model { font-size: 12px; color: var(--text-gray); margin-bottom: 16px; }
.modal-price { font-size: 28px; font-weight: 800; color: var(--syscom-blue); margin-bottom: 8px; }
.modal-stock { font-size: 12px; font-weight: 600; color: #16a34a; margin-bottom: 16px; display: flex; align-items: center; gap: 4px; }
.modal-desc { font-size: 13px; color: var(--text-gray); line-height: 1.6; margin-bottom: 18px; max-height: 120px; overflow-y: auto; }

/* ==========================================================================
   WhatsApp Float
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    z-index: 200;
    transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.whatsapp-tooltip {
    position: absolute;
    right: 66px;
    background: #0f172a;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer { background: white; margin-top: 40px; }
.soft-footer { border-top: 1px solid var(--border); }
.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 32px;
    padding: 40px 0 32px;
}
.border-bottom-soft { border-bottom: 1px solid var(--border); }
.footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-dark);
    margin-bottom: 14px;
}
.footer-col p { font-size: 13px; color: var(--text-gray); line-height: 1.6; margin-bottom: 12px; }
.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 8px;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--syscom-blue); }
.social-icons { display: flex; gap: 10px; margin-top: 12px; }
.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--bg-light);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    transition: background 0.2s, color 0.2s;
}
.social-icons a:hover { background: var(--syscom-blue); color: white; border-color: var(--syscom-blue); }
.footer-bottom { padding: 16px 0; background: var(--bg-light); }
.footer-bottom p { font-size: 12px; color: var(--text-gray); text-align: center; }
.cat-link { cursor: pointer !important; }

/* ==========================================================================
   Product Cards (syscom-card)
   ========================================================================== */
.syscom-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}
.syscom-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.s-card-image {
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    height: 170px;
    overflow: hidden;
}
.s-card-image img {
    max-height: 142px;
    width: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}
.syscom-card:hover .s-card-image img { transform: scale(1.05); }

.s-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px 0;
    gap: 6px;
}
.s-card-brand {
    font-size: 10px;
    font-weight: 700;
    color: var(--syscom-blue);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.s-card-model {
    font-size: 10px;
    color: var(--text-gray);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 120px;
}
.s-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    padding: 6px 12px 0;
    /* Truncar a 2 líneas */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}
.s-card-stock {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.stock-in { color: #16a34a; }
.stock-out { color: var(--syscom-red); }

.s-card-price-area {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 12px 12px;
    margin-top: auto;
    gap: 8px;
}
.s-card-price-v { display: flex; flex-direction: column; gap: 1px; }
.s-price-label { font-size: 10px; color: var(--text-gray); }
.s-price-value {
    font-size: 17px;
    font-weight: 800;
    color: var(--syscom-blue);
    line-height: 1.2;
}
.s-price-currency { font-size: 12px; font-weight: 600; }

.s-cart-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--syscom-blue), #0ea5e9);
    color: white;
    border: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.2s, transform 0.15s;
}
.s-cart-btn:hover { opacity: 0.88; transform: scale(1.06); }
.s-cart-btn:disabled { background: #cbd5e1; cursor: not-allowed; transform: none; }

/* Modal styles */
.modal-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.modal-image-area {
    padding: 24px;
    background: var(--bg-light);
    border-right: 1px solid var(--border);
}
.modal-main-image {
    width: 100%;
    height: 260px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
}
.modal-thumbnails { display: flex; gap: 6px; flex-wrap: wrap; }
.modal-thumb {
    width: 52px;
    height: 52px;
    object-fit: contain;
    border: 2px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s;
    padding: 3px;
    background: white;
}
.modal-thumb.active, .modal-thumb:hover { border-color: var(--syscom-blue); }
.modal-info-area { padding: 24px; overflow-y: auto; max-height: 90vh; }
.modal-brand { font-size: 11px; font-weight: 700; color: var(--syscom-blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.modal-model { font-size: 12px; color: var(--text-gray); margin-bottom: 8px; }
.modal-title { font-size: 16px; font-weight: 700; color: var(--text-dark); line-height: 1.4; margin-bottom: 14px; }
.modal-price { font-size: 28px; font-weight: 800; color: var(--syscom-blue); margin-bottom: 4px; }
.modal-price-note { font-size: 12px; color: var(--text-gray); margin-bottom: 14px; }
.modal-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.modal-stock-badge.in { background: #dcfce7; color: #16a34a; }
.modal-stock-badge.out { background: #fee2e2; color: var(--syscom-red); }
.modal-desc {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    border-top: 1px solid var(--border);
    padding-top: 14px;
}
.modal-add-btn { padding: 14px; font-size: 15px; border-radius: var(--radius-sm); }
.modal-specs { margin-top: 16px; }
.modal-specs h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--text-gray); margin-bottom: 8px; }
.spec-row { display: flex; gap: 10px; font-size: 12px; padding: 5px 0; border-bottom: 1px solid var(--border); }
.spec-key { color: var(--text-gray); flex: 0 0 100px; font-weight: 500; }
.spec-val { color: var(--text-dark); font-weight: 600; flex: 1; }

/* Share buttons in modal */
.modal-share-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
.share-btn {
    flex: 1;
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid var(--border);
    background: white;
}
.share-btn--copy { background: #f8fafc; color: #475569; }
.share-btn--whatsapp { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.share-btn--facebook { background: #eff6ff; color: #1d4ed8; border-color: #dbeafe; }
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

@media (max-width: 640px) {
    .modal-product-layout { grid-template-columns: 1fr; }
    .modal-image-area { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .modal-layout { grid-template-columns: 1fr; }
    .modal-gallery { border-right: none; border-bottom: 1px solid var(--border); }
}
@media (max-width: 1100px) {
    .promo-pill { font-size: 11px; padding: 0 6px; gap: 3px; }
    .promo-pill [data-lucide] { display: none; }
}
@media (max-width: 1024px) {
    .site-logo { height: 100px; }
    .header-inner { min-height: 120px; }
}
@media (max-width: 768px) {
    .site-logo { height: 72px; }
    .site-logo--footer { height: 64px; }
    .header-inner { flex-wrap: wrap; min-height: unset; padding: 10px 0; gap: 12px; }
    .search-container { order: 3; width: 100%; max-width: 100%; }
    .header-actions { margin-left: auto; }
    .cart-drawer { width: 100vw; right: -100vw; }
    .syscom-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
    .top-bar-right { display: none; }
    .footer-inner { grid-template-columns: 1fr; gap: 20px; padding: 24px 0; }
    .brands-marquee-label { display: none; }
    .hero-content h1 { font-size: 28px; }
    .hero-buttons { flex-direction: column; }
    .hero-btn { width: 100%; justify-content: center; }
    .nav-inner { height: 48px; }
    #mega-menu-panel { top: 48px; width: 100vw; }
    .all-departments { font-size: 12px; padding: 0 12px; gap: 6px; }
    .promo-pill { height: 48px; font-size: 10px; padding: 0 6px; }
    .promo-pill:nth-child(n+4) { display: none; }
}
@media (max-width: 480px) {
    .syscom-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .form-grid-2, .form-grid-3 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Productos Destacados
   ========================================================================== */
.featured-section {
    background: white;
    padding: 36px 0 40px;
    border-bottom: 1px solid var(--border);
}
.featured-header {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.featured-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}
.featured-title [data-lucide] { color: var(--syscom-blue); flex-shrink: 0; }
.featured-subtitle { font-size: 13px; color: var(--text-gray); }

/* ==========================================================================
   Panel de Filtros
   ========================================================================== */
.filter-bar {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 12px;
}
.filter-bar.hidden { display: none; }
.filter-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.filter-group {
    display: flex;
    align-items: center;
    gap: 7px;
}
.filter-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}
.filter-price { display: flex; align-items: center; gap: 5px; }
.filter-price-input {
    width: 76px;
    padding: 5px 8px;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    color: var(--text-dark);
    transition: border-color 0.2s;
}
.filter-price-input:focus { border-color: var(--syscom-blue); }
.filter-sep { color: var(--text-gray); font-size: 12px; }

.filter-stock-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}
.filter-stock-toggle input[type="checkbox"] { display: none; }
.filter-toggle-knob {
    width: 34px;
    height: 18px;
    background: var(--border);
    border-radius: 9px;
    position: relative;
    transition: background 0.2s;
    flex-shrink: 0;
}
.filter-toggle-knob::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.filter-stock-toggle input:checked + .filter-toggle-knob { background: var(--syscom-blue); }
.filter-stock-toggle input:checked + .filter-toggle-knob::after { transform: translateX(16px); }

.filter-group-brands { flex: 1; min-width: 0; }
.filter-brands-wrap { display: flex; gap: 5px; flex-wrap: wrap; }
.filter-brand-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border: 1.5px solid var(--border);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.15s;
    user-select: none;
    white-space: nowrap;
}
.filter-brand-chip:hover { border-color: var(--syscom-blue); color: var(--syscom-blue); }
.filter-brand-chip.active { background: var(--syscom-blue); border-color: var(--syscom-blue); color: white; }
.filter-brand-chip input { display: none; }

.filter-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 11px;
    background: #fee2e2;
    color: var(--syscom-red);
    border: 1px solid #fecdd3;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.filter-clear-btn:hover { background: #fecdd3; }
.filter-clear-btn.hidden { display: none; }
.hidden { display: none !important; }


@media (max-width: 768px) {
    .filter-row { gap: 10px; }
    .filter-group-brands { width: 100%; }
    .filter-price-input { width: 68px; }
}

/* ==========================================================================
   Datos de Facturación (Checkout)
   ========================================================================== */
.billing-toggle-row {
    margin: 14px 0 6px;
    padding: 10px 12px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: var(--radius-sm);
}
.billing-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #0369a1;
    user-select: none;
}
.billing-checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--syscom-blue);
    cursor: pointer;
    flex-shrink: 0;
}
.billing-fields {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
    margin-bottom: 10px;
}
.billing-fields.hidden { display: none; }
.billing-section-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--syscom-blue);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.field-error {
    display: block;
    font-size: 11px;
    color: var(--syscom-red);
    font-weight: 600;
    margin-top: 3px;
    min-height: 14px;
}

/* Openpay Trust V2 */
.openpay-trust-v2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 20px;
}
.payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.payment-logos img {
    height: 18px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.payment-logos:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.payment-logos img.logo-op {
    height: 24px;
}

.secure-badges {
    display: flex;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
}
.secure-badges span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Cart Footer Trust */
.cart-trust-footer {
    border-top: 1px solid var(--border);
    padding: 15px 20px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.cart-trust-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 1px;
}
.cart-trust-logos {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cart-trust-logos img {
    height: 14px;
    opacity: 0.6;
    transition: opacity 0.2s;
}
.cart-trust-logos img:hover {
    opacity: 1;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    padding: 20px 0;
}
.pag-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-dark);
    transition: all 0.2s;
}
.pag-btn:hover:not(.disabled) {
    background: var(--bg-light);
    border-color: var(--syscom-blue);
    color: var(--syscom-blue);
    transform: translateY(-2px);
}
.pag-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.pag-page {
    min-width: 40px;
    height: 40px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
}
.pag-page:hover {
    background: var(--bg-light);
    border-color: var(--syscom-blue);
    color: var(--syscom-blue);
}
.pag-page.active {
    background: var(--syscom-blue);
    border-color: var(--syscom-blue);
    color: white;
    box-shadow: 0 4px 12px rgba(27,79,216,0.3);
}
.pag-dots {
    color: var(--text-gray);
    font-weight: 700;
    padding: 0 4px;
}
