
:root {
    --universo-blue: #243a85;
    --universo-ligth-blue: #006eae;
    --universo-dark-blue: #1a365d;
    --universo-light-gray: #f8f9fa;
}

body {
    font-family: 'Roboto', sans-serif;
    padding-top: 0;
}

/* Top Bar */
.top-bar {
    background-color: var(--universo-dark-blue);
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.countdown-item {
    background-color: rgba(255,255,255,0.15);
    padding: 4px 10px;
    border-radius: 4px;
    margin: 0 3px;
    min-width: 40px;
    text-align: center;
    display: inline-block;
}

/* Main Header */
.main-header {
    background-color: white;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 700;
    /*color: var(--universo-blue);*/
    text-decoration: none;
    letter-spacing: -1px;
}

.logo-text:hover {
    color: var(--universo-ligth-blue);
}

.search-form {
    max-width: 600px;
    width: 100%;
}

.search-form .form-control {
    border: 2px solid var(--universo-blue);
    border-right: none;
    border-radius: 8px 0 0 8px;
    padding: 12px 16px;
    font-size: 15px;
}

.search-form .form-control:focus {
    box-shadow: none;
    border-color: var(--universo-blue);
}

.search-form .btn-search {
    /*background-color: var(--universo-blue);*/
    border: 2px solid var(--universo-blue);
    border-radius: 0 8px 8px 0;
    padding: 12px 20px;
    color: white;
}

.search-form .btn-search:hover {
    background-color: var(--universo-ligth-blue);
    border-color: var(--universo-ligth-blue);
}

.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    padding: 5px 15px;
    transition: color 0.2s;
}

.header-action:hover {
    color: var(--universo-blue);
}

.header-action i {
    font-size: 24px;
    margin-bottom: 4px;
}

.header-action span {
    font-size: 12px;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: 5px;
    /*background-color: var(--universo-blue);*/
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
}

/* Navigation Bar */
.nav-bar {
    padding: 0;
}

.nav-bar .nav-link {
    color: white;
    font-weight: 500;
    padding: 14px 20px;
    transition: background-color 0.2s;
}

.nav-bar .nav-link:hover {
    background-color: rgba(0,0,0,0.1);
}

.promo-nav-item {
    display: flex;
    align-items: center;
}

.promo-nav-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    margin: 5px 10px;
    padding: 8px 15px;
    border: 2px solid #ffc928;
    border-radius: 8px;
    background:
        radial-gradient(circle at 14% 35%, rgba(255, 202, 40, 0.35), transparent 26%),
        linear-gradient(120deg, #1d0838 0%, #43107b 48%, #24104e 100%);
    color: white;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.16) inset,
        0 0 16px rgba(255, 201, 40, 0.45);
    isolation: isolate;
    overflow: hidden;
    transform: skew(-7deg);
    animation: promo-nav-pulse 2.25s ease-in-out infinite;
}

.promo-nav-cta::before {
    position: absolute;
    top: -60%;
    bottom: -60%;
    left: -52%;
    width: 38%;
    z-index: -1;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    content: "";
    transform: rotate(18deg);
    animation: promo-nav-shine 2.25s ease-in-out infinite;
}

.promo-nav-cta:hover,
.promo-nav-cta:focus-visible {
    color: white;
    background:
        radial-gradient(circle at 14% 35%, rgba(255, 202, 40, 0.45), transparent 26%),
        linear-gradient(120deg, #28084a 0%, #5a16a0 48%, #2d145f 100%);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.22) inset,
        0 0 22px rgba(255, 201, 40, 0.62);
}

.promo-nav-cta:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}

.promo-nav-cta > * {
    position: relative;
    z-index: 1;
    transform: skew(7deg);
}

.promo-nav-icon {
    display: inline-grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 50%;
    background-color: #ffc928;
    color: #2c103d;
    box-shadow: 0 0 10px rgba(255, 201, 40, 0.72);
    font-size: 14px;
}

.promo-nav-label {
    white-space: nowrap;
}

.promo-nav-arrow {
    font-size: 13px;
    animation: promo-nav-arrow 1.1s ease-in-out infinite;
}

.promo-nav-mobile-slot {
    padding: 10px 16px;
}

.promo-nav-cta-mobile {
    width: 100%;
    margin: 0;
    min-height: 48px;
}

@keyframes promo-nav-pulse {
    0%,
    100% {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.16) inset,
            0 0 14px rgba(255, 201, 40, 0.36);
    }

    50% {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.22) inset,
            0 0 24px rgba(255, 201, 40, 0.72);
    }
}

@keyframes promo-nav-shine {
    0%,
    48% {
        left: -52%;
    }

    72%,
    100% {
        left: 122%;
    }
}

@keyframes promo-nav-arrow {
    0%,
    100% {
        transform: skew(7deg) translateX(0);
    }

    50% {
        transform: skew(7deg) translateX(3px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .promo-nav-cta,
    .promo-nav-cta::before,
    .promo-nav-arrow {
        animation: none;
    }
}

.categories-btn {
    background-color: rgba(33, 37, 41);
    color: white;
    border: none;
    padding: 14px 24px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.categories-btn:hover {
    /*background-color: var(--universo-ligth-blue);*/
}

/* Mega Menu */
.mega-menu-wrapper {
    position: relative;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 900px;
    max-width: 95vw;
    background-color: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 0 0 12px 12px;
    display: none;
    z-index: 1050;
    overflow: hidden;
}

.mega-menu.show {
    display: flex;
}

.mega-menu-categories {
    width: 280px;
    background-color: var(--universo-light-gray);
    border-right: 1px solid #e9ecef;
    max-height: 450px;
    overflow-y: auto;
}

.mega-menu-categories a {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.2s;
}

.mega-menu-categories a:hover,
.mega-menu-categories a.active {
    /*background-color: #006eae;*/
    background-color: #40341c;
    /*color: var(--universo-blue);*/
    color: var(--universo-light-gray);
    padding-left: 25px;
}

.mega-menu-categories a i {
    margin-right: 12px;
    font-size: 18px;
    width: 24px;
    text-align: center;
    color: var(--universo-blue);
}

.mega-menu-categories a .bi-chevron-right {
    margin-left: auto;
    font-size: 12px;
    color: #999;
}

.mega-menu-content {
    flex: 1;
    padding: 25px 30px;
    display: none;
}

.mega-menu-content.active {
    display: block;
}

.mega-menu-content h5 {
    color: var(--universo-blue);
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--universo-blue);
}

.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 20px;
}

.subcategory-grid a {
    color: #555;
    text-decoration: none;
    padding: 8px 0;
    font-size: 14px;
    transition: all 0.2s;
    display: block;
}

.subcategory-grid a:hover {
    color: var(--universo-blue);
    padding-left: 5px;
}

.promo-banner {
    margin-top: 20px;
    background: linear-gradient(135deg, var(--universo-blue) 0%, var(--universo-ligth-blue) 100%);
    border-radius: 10px;
    padding: 20px;
    color: white;
}

.promo-banner h6 {
    font-weight: 700;
    margin-bottom: 5px;
}

.promo-banner p {
    font-size: 13px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.promo-banner .btn {
    background-color: white;
    color: var(--universo-blue);
    font-weight: 600;
    font-size: 13px;
    padding: 8px 16px;
}

/* Mobile Search */
.mobile-search {
    display: none;
    padding: 10px 15px;
    background-color: white;
    border-bottom: 1px solid #eee;
}

/* Responsive */
@media (max-width: 991px) {
    .desktop-search,
    .header-actions-desktop {
        display: none !important;
    }

    .mobile-search {
        display: block;
    }

    .mega-menu {
        width: 100%;
        max-height: 70vh;
        overflow-y: auto;
        flex-direction: column;
    }

    .mega-menu-categories {
        width: 100%;
        max-height: none;
    }

    .subcategory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .subcategory-grid {
        grid-template-columns: 1fr;
    }

    .logo-text {
        font-size: 1.8rem;
    }
}

/* Demo content */
.demo-content {
    padding: 60px 20px;
    text-align: center;
    background-color: #f8f9fa;
    min-height: 60vh;
}
