/* Header e Menu de Navegação */

.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.header-top .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */
.logo {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.logo img {
    max-width: 180px;
    height: auto;
}

.tagline {
    font-size: 11px;
    color: #666;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Busca */
.search-bar {
    flex: 1;
    max-width: 500px;
}

.search-bar form {
    display: flex;
    gap: 10px;
}

.search-bar input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.search-bar input:focus {
    outline: none;
    border-color: #4A90E2;
}

.search-bar button {
    padding: 12px 24px;
    background: #4A90E2;
    color: white;
    border-radius: 25px;
    font-size: 16px;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: #357ABD;
}

/* Ações do usuário */
.user-actions {
    display: flex;
    gap: 20px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f8f9fa;
    border-radius: 20px;
    font-size: 14px;
    transition: background 0.3s;
}

.action-btn:hover {
    background: #e9ecef;
}

.action-btn.cart {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #E74C3C;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Navegação Principal */
.main-nav {
    background: #4A90E2;
}

.menu-list {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.menu-item {
    flex: 1;
}

.menu-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 20px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s;
}

.menu-link:hover {
    background: rgba(255,255,255,0.1);
}

.menu-icon {
    font-size: 20px;
}

.menu-item-special .menu-link {
    background: #E74C3C;
}

.menu-item-special .menu-link:hover {
    background: #C0392B;
}

/* Responsivo */
@media (max-width: 768px) {
    .header-top .container {
        flex-wrap: wrap;
    }
    
    .search-bar {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 15px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .menu-list {
        flex-direction: column;
    }
    
    .menu-item {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .menu-link {
        justify-content: flex-start;
        padding: 15px 20px;
    }
}