/* ═══════════════════════════════════════════
           TOP BAR — Premium
           ═══════════════════════════════════════════ */
        .top-bar {
            background: #0e0608;
            color: var(--eden-blush);
            padding: 9px 20px;
            text-align: center;
            font-size: 0.6rem;
            letter-spacing: 3px;
            text-transform: uppercase;
            font-family: var(--font-body);
            font-weight: 300;
            white-space: nowrap;
        }
        .top-bar strong { color: var(--eden-gold); font-weight: 400; letter-spacing: 2px; }

        @media (max-width: 480px) {
            .top-bar {
                font-size: 0.45rem;
                letter-spacing: 1px;
                padding: 8px 10px;
            }
            .top-bar strong { letter-spacing: 1px; }
        }

        /* ═══════════════════════════════════════════
           NAVBAR — Editorial luxury
           ═══════════════════════════════════════════ */
        .navbar {
            background: #fff;
            padding: 0 48px;
            height: 72px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(140,17,85,0.08);
            position: sticky;
            top: 0;
            z-index: 1000;
            transition: all 0.4s ease;
        }
        .navbar.scrolled {
            box-shadow: 0 4px 40px rgba(0,0,0,0.07);
            height: 64px;
        }

        .nav-logo {
            font-family: 'Cormorant Garamond', serif;
            font-size: 2.4rem;
            font-weight: 300;
            font-style: italic;
            color: #1a0a10;
            letter-spacing: 2px;
            line-height: 1;
        }
        .nav-logo-dot {
            display: inline-block;
            width: 5px; height: 5px;
            background: var(--eden-burgundy);
            border-radius: 50%;
            margin-left: 2px;
            vertical-align: middle;
            margin-bottom: 6px;
        }

        .nav-search {
            flex: 0 1 380px;
            position: relative;
        }
        .nav-search input {
            width: 100%;
            padding: 10px 20px 10px 40px;
            border: 1px solid #d4c2c7;
            border-radius: 4px;
            font-size: 0.8rem;
            font-family: var(--font-body);
            color: #333;
            background: #faf2f0;
            outline: none;
            letter-spacing: 0.5px;
            transition: all 0.3s ease;
        }
        .nav-search input:focus { border-color: var(--eden-burgundy); background: #fff; }
        .nav-search input::placeholder { color: #8c7e82; font-weight: 400; }
        .nav-search .search-icon {
            position: absolute;
            left: 14px; top: 50%;
            transform: translateY(-50%);
            color: #8c7e82;
        }
        .nav-search .search-icon svg { width: 15px; height: 15px; }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 24px;
        }
        .nav-icon {
            color: #888;
            cursor: pointer;
            transition: color 0.3s ease;
            position: relative;
            display: flex;
            align-items: center;
        }
        .nav-icon svg { width: 20px; height: 20px; }
        .nav-icon:hover { color: var(--eden-burgundy); }
        .nav-badge {
            position: absolute;
            top: -5px; right: -7px;
            width: 14px; height: 14px;
            background: var(--eden-burgundy);
            color: white;
            border-radius: 50%;
            font-size: 0.48rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
        }

        /* Category nav — ultra refined */
        .category-nav {
            background: #fff;
            padding: 0 48px;
            display: flex;
            justify-content: center;
            gap: 40px;
            border-bottom: 1px solid rgba(140,17,85,0.07);
            height: 40px;
            align-items: center;
        }
        .category-nav a {
            font-size: 0.7rem;
            font-weight: 400;
            color: #666;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            transition: color 0.3s ease;
            position: relative;
            padding: 0;
            white-space: nowrap;
        }
        .category-nav a::after {
            content: '';
            position: absolute;
            bottom: -4px; left: 0;
            width: 0; height: 1px;
            background: var(--eden-burgundy);
            transition: width 0.4s ease;
        }
        .category-nav a:hover { color: #1a0a10; }
        .category-nav a:hover::after { width: 100%; }
        .category-nav .dropdown-arrow { font-size: 0.45rem; margin-left: 3px; opacity: 0.5; }

        


/* ═══════════════════════════════════════════
   FIX: Centering Logo & Mobile Layout
   ═══════════════════════════════════════════ */
.nav-left, .nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}
.nav-left {
    justify-content: flex-start !important;
}
.nav-right {
    justify-content: flex-end;
    gap: 18px;
}
.nav-center {
    flex: 0 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 15px;
    }
    .nav-right {
        gap: 10px; /* Menos espaço entre os ícones no celular */
    }
    .nav-logo {
        font-size: 2rem; /* Logo sutilmente menor para caber */
    }
    .nav-icon svg {
        width: 18px; 
        height: 18px;
    }
    .search-btn svg {
        width: 18px;
        height: 18px;
    }
}

/* ═══════════════════════════════════════════
   FIX DEFINITIVO: Logo no Centro Absoluto (Mobile)
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .navbar {
        position: sticky;
        justify-content: space-between;
    }
    .nav-center {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        /* Garante que ele não atrapalhe os cliques de quem está perto */
        pointer-events: none; 
    }
    .nav-center a {
        pointer-events: auto; /* Mas a logo continua clicável */
    }
    .nav-right {
        gap: 8px !important;
    }
}

/* Mobile: category nav carrossel com setas */
.cat-nav-arrow { display: none; }

.category-nav-wrapper {
    position: relative;
    width: 100%;
}

@media (max-width: 768px) {
    .category-nav {
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 45px 0 15px;
        gap: 22px;
    }
    .category-nav::-webkit-scrollbar { display: none; }
    .category-nav .cat-menu-item { flex-shrink: 0; }

    .cat-nav-arrow {
        position: absolute;
        top: 0;
        height: 100%;
        width: 55px;
        display: flex;
        align-items: center;
        color: var(--eden-burgundy);
        z-index: 20;
        cursor: pointer;
        transition: opacity 0.3s;
    }
    .cat-nav-prev {
        left: 0;
        background: linear-gradient(to left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%);
        justify-content: flex-start;
        padding-left: 8px;
        opacity: 0;
        pointer-events: none;
    }
    .cat-nav-next {
        right: 0;
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%);
        justify-content: flex-end;
        padding-right: 8px;
    }
    .cat-nav-arrow svg { width: 16px; height: 16px; stroke-width: 2.5px; }
    .vibrating svg {
        animation: arrowVibe 2.5s infinite;
    }
}

@keyframes arrowVibe {
    0%, 80%, 100% { transform: translateX(0); }
    82%, 86%, 90%, 94%, 98% { transform: translateX(2px); }
    84%, 88%, 92%, 96% { transform: translateX(-2px); }
}
