/*
Theme Name: Affiliate Pro Theme
Theme URI: https://collet.com.br/
Author: Seu Bernardo Collet
Author URI: https://collet.com.br/
Description: Tema premium para portais de afiliados e curadoria de ofertas com sistema de favoritos, categorias e área do usuário.
Version: 1.0.0
License: GPL v2 or later
Text Domain: affiliate-pro
*/

/* O CSS principal está em /assets/css/main.css */

/* ============================================
   MENU - ESTILO UNIFICADO
   ============================================ */

.category-nav {
    background-color: var(--king-orange, #FF5400);
    position: sticky;
    top: 83px;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(255, 84, 0, 0.2);
}

.category-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 25px;
}

.category-list {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 100%;
    gap: 0;
}

.category-list li {
    flex: 1;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Estilo ÚNICO para links e botão */
.category-list .menu-item a,
.category-list .cat-item {
    width: 100%;
    text-align: center;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 700;
    padding: 16px 10px;
    white-space: nowrap;
    transition: all 0.3s ease;
    border: none;
    background: transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hover igual para ambos */
.category-list .menu-item a:hover,
.category-list .cat-item:hover {
    color: #ffffff;
    background: rgba(0, 0, 0, 0.05);
}

/* Ativo igual para ambos */
.category-list .menu-item.current-menu-item a,
.category-list .cat-item.active {
    background: rgba(0, 0, 0, 0.1);
    color: #ffffff;
}

/* Ícone do hambúrguer - maior */
.hamburger-icon {
    width: 28px;
    height: 28px;
    display: block;
}

/* Responsivo - ajuste apenas o ícone */
@media (max-width: 768px) {
    .category-nav {
        top: 70px;
    }
    
    .category-list .menu-item a,
    .category-list .cat-item {
        padding: 12px 15px;
        font-size: 11px;
    }
    
    .hamburger-icon {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .hamburger-icon {
        width: 22px;
        height: 22px;
    }
}

/* Scroll horizontal no mobile se necessário */
@media (max-width: 992px) {
    .category-list {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none;
    }
    
    .category-list::-webkit-scrollbar {
        display: none;
    }
    
    .category-list li {
        flex: none;
    }
}


/* Load More Button */
.load-more-wrapper {
    text-align: center;
    margin: 50px 0;
}

.load-more-button {
    background: var(--king-orange, #FF5400);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: inherit;
}

.load-more-button:hover {
    background: #E64C00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 84, 0, 0.3);
}

.load-more-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.load-more-loader {
    display: inline-block;
}

/* Largura total quando não tem sidebar */
.product-page-wrapper.full-width .product-layout.card-base {
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
}

.product-page-wrapper.full-width .product-sidebar {
    display: none;
}

@media (max-width: 992px) {
    .product-page-wrapper.full-width .product-layout.card-base {
        grid-template-columns: 1fr;
    }
}