/* === CABEÇALHO DO MENU === */
header.bg-pink {
    background: linear-gradient(97deg, #ffd5aa, #ffe4cc, #ffcdab, #ffb38a, #ff9d5c, #ffd5aa);
    background-size: 400% 400%;
    animation: gradientFlow 8s ease infinite;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

/* Logo - Alinhada à esquerda */
.logo {
    flex: 0 1 auto;
    min-width: 120px;
    text-align: left;
}

.logo img.logo-img {
    height: 35px;
    transition: transform 0.3s ease;
}

.logo img.logo-img:hover {
    transform: scale(1.05);
}

/* Categorias no Cabeçalho (Desktop) - Centralizadas e ajustadas */
.categories-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
}

#header-categories {
    display: flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header-category-item {
    position: relative;
    margin: 0 4px;
}

.header-category-item a {
    color: #333;
    text-transform: uppercase;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 15px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: block;
    white-space: nowrap;
}

.header-category-item a:hover {
    color: #fff;
    transform: translateY(-2px);
}

/* Dropdown "Outros" - Ajuste especial para alinhamento */
.header-category-item.dropdown {
    margin-right: 0;
}

.dropdown-toggle::after {
    border: none;
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 6px;
    vertical-align: middle;
    font-size: 0.7rem;
    color: #333;
    transition: transform 0.3s ease;
}

.header-category-item.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Dropdown menu - Estilo consistente */
.dropdown-menu {
    background-color: #fff;
    border: 1px solid #f9c7a5;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 8px 0;
    min-width: 160px;
    margin-top: 5px;
}

.dropdown-item {
    color: #333;
    padding: 8px 15px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: #f9c7a5;
    color: #fff;
}

/* Ícones no Cabeçalho - Alinhados à direita */
.icon-group {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.icon-btn {
    font-size: 1.2rem;
    padding: 8px;
    border: none;
    background: transparent;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.icon-btn:hover {
    color: #ff6b6b;
    transform: translateY(-2px);
}

.cart-count,
.favorites-count {
    display: none;
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff6b6b;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    text-align: center;
    line-height: 14px;
}

/* === MENU LATERAL === */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100%;
    width: 320px;
    background: linear-gradient(to bottom, #fff, #f9f9f9);
    z-index: 1050;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: left 0.4s ease;
    padding: 20px 15px;
    border-right: 2px solid #f9c7a5;
}

.sidebar.active {
    left: 0;
}

.sidebar .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #ff9f60;
    background: #fff;
    border: 1px solid #ff9f60;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.sidebar .close-btn:hover {
    background: #ff9f60;
    color: #fff;
}

.sidebar h2 {
    color: #ff6b6b;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.5rem;
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 2px solid #f9c7a5;
    padding-bottom: 10px;
}

/* Categorias no Menu Lateral */
.category-item {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.category-item i {
    color: #ff9f60;
    font-size: 1.2rem;
}

.category-item a {
    text-decoration: none;
    font-size: 1rem;
    color: #333;
    flex-grow: 1;
}

.category-item:hover {
    background-color: #f9c7a5;
    color: #fff;
    border-color: #ff9f60;
    transform: translateX(5px);
}

.category-item:hover a,
.category-item:hover i {
    color: #fff;
}

/* === RODAPÉ === */
footer.bg-pink {
    background: linear-gradient(266deg, #ffd5aa, #ffe4cc, #ffcdab, #ffb38a, #ff9d5c, #ffd5aa);
    background-size: 400% 400%;
    animation: gradientFlow 8s ease infinite;
    text-align: center;
    padding: 20px 15px;
    margin-top: 40px;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

footer.bg-pink p {
    color: #000 !important;
    font-weight: 500;
    margin-bottom: 15px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    text-decoration: none;
    color: #333;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.3);
}

.social-icon:hover {
    color: #fff;
    background-color: #ff6b6b;
    transform: translateY(-3px);
}

/* === RESPONSIVIDADE === */
@media (max-width: 1199px) {
    .header-category-item {
        margin: 0 3px;
    }

    .header-category-item a {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
}

@media (max-width: 991px) {
    .categories-nav {
        display: none;
    }

    .logo {
        text-align: center;
        flex: 1;
    }

    .icon-group {
        gap: 10px;
    }
}

@media (max-width: 767px) {
    .logo img.logo-img {
        height: 25px;
    }

    .icon-btn {
        font-size: 1.1rem;
        padding: 6px;
    }

    .sidebar {
        width: 100%;
    }

    .social-icon {
        font-size: 1.2rem;
        width: 35px;
        height: 35px;
    }
}