/* Brand overlays and background helpers for CyberLeo */

.navbar-brand img.brand-logo {
    filter: none;
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

body {
    background-attachment: fixed;
    background-size: cover;
    background-color: #f3f8fc;
}

.categories-section {
    background-size: cover;
    background-position: center;
    position: relative;
}

.footer {
    position: relative;
    overflow: hidden;
}

.footer > * {
    position: relative;
    z-index: 2;
}

html {
    scroll-behavior: smooth;
}

/* Solo la barra pública blanca; no pisar .site-navbar-navy ni barras admin. */
.site-navbar:not(.site-navbar-navy) {
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(0, 87, 184, 0.1);
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(0, 87, 184, 0.1) !important;
    z-index: 1050 !important;
}

.dropdown-item:hover {
    background: rgba(0, 87, 184, 0.08);
}

@media (max-width: 768px) {
    .categories-section,
    body {
        background-attachment: scroll;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

@media print {
    .site-navbar,
    .admin-navbar,
    .footer,
    .floating-cart {
        display: none !important;
    }

    body {
        background: white !important;
    }

    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
