/* Global Settings */
:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --accent-color: #333333;
    --sec-text-color: #a0a0a0;
    --border-color: #222222;
    --hover-color: #ffffff;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --sidebar-width: 280px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}







/* HEADER */

/* --- HEADER NOVO --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: var(--bg-color);
    /* Fundo preto igual ao site */
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    /* Fica fixo no topo ao rolar */
    top: 0;
    z-index: 99;
}

/* --- HEADER DESKTOP (Padrão) --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 99;
}

/* Esconde itens mobile no Desktop */
.mobile-logo-header,
.mobile-cart-action {
    display: none;
}

/* Busca Desktop */
.search-container {
    flex-grow: 1;
    max-width: 500px;
    margin: 0 20px;
}

.search-container form {
    display: flex;
    background: #111;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 5px;
}

.search-container input {
    flex-grow: 1;
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px 15px;
}

.search-container button {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0 15px;
    cursor: pointer;
}





/* --- HEADER DESKTOP (Ajustes Finais) --- */

/* Alinha o "Olá Usuário" ao lado do Carrinho */
.header-user-actions {
    display: flex;
    align-items: center;
    gap: 25px; /* Espaço entre o nome e o carrinho */
    margin-left: 20px;
}

.user-link {
    white-space: nowrap; /* Não deixa o nome quebrar linha */
    font-size: 0.95rem;
    font-weight: 500;
}

/* Estilo do Botão do Carrinho no PC */
.desktop-cart-btn {
    position: relative;
    color: #fff;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.desktop-cart-btn:hover {
    color: #ccc;
}

/* Bolinha vermelha do contador (Desktop) */
.desktop-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #ffcc00; /* Amarelo destaque (ou use #ff0000 para vermelho) */
    color: #000;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Garante que isso suma no celular (já configuramos antes, mas para garantir) */
@media (max-width: 900px) {
    .header-user-actions {
        display: none;
    }
}














/* --- VERSÃO MOBILE CORRIGIDA (IGUAL NETSHOES) --- */
@media (max-width: 900px) {
    .main-header {
        display: flex;
        flex-wrap: wrap;
        /* IMPORTANTE: Permite quebrar linha para a busca descer */
        align-items: center;
        padding: 10px 15px;
        gap: 0;
    }

    /* 1. MENU (Esquerda) */
    .mobile-toggle {
        display: flex;
        order: 1;
        /* Força ser o primeiro */
        width: 40px;
        /* Largura fixa */
        justify-content: flex-start;
        font-size: 1.4rem;
        color: #fff;
        position: static;
        /* Remove position fixed antigo */
    }

    /* 2. LOGO (Centro) */
    .mobile-logo-header {
        display: flex;
        order: 2;
        /* Força ser o segundo */
        flex: 1;
        /* Ocupa todo o espaço do meio */
        justify-content: center;
        /* Centraliza a imagem */
    }

    .mobile-logo-header img {
        height: 30px;
        /* Ajuste o tamanho da logo aqui */
        width: auto;
    }

    /* 3. CARRINHO (Direita) */
    .mobile-cart-action {
        display: flex;
        order: 3;
        /* Força ser o terceiro */
        width: 40px;
        /* Largura fixa igual a do menu */
        justify-content: flex-end;
        font-size: 1.2rem;
    }

    .cart-badge {
        position: absolute;
        top: -8px;
        right: -8px;
        background: #ffcc00;
        /* Amarelo destaque */
        color: #000;
        font-size: 0.7rem;
        border-radius: 50%;
        width: 16px;
        height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: bold;
    }

    /* 4. BUSCA (Linha de Baixo) */
    .search-container {
        order: 4;
        /* Força ir para o final */
        width: 100%;
        /* Ocupa a linha toda */
        max-width: 100%;
        margin: 20px 0 0 0;
        /* Espaço acima */
    }

    .search-container form {
        background: #fff;
        /* Fundo branco igual netshoes */
        border: none;
    }

    .search-container input {
        color: #333;
        /* Texto preto */
    }

    .search-container button {
        color: #666;
        /* Ícone cinza */
    }

    /* Esconde o login desktop no mobile */
    .header-user-actions {
        display: none;
    }
}





/* Sidebar Navigation */
.sidebar {
    width: var(--sidebar-width);
    background-color: #000;
    border-right: 1px solid var(--border-color);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    padding: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* .logo h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-transform: uppercase;
    margin-bottom: 3rem;
    color: #fff;
    border-bottom: 2px solid #fff;
    display: inline-block;
    padding-bottom: 0.5rem;
} */
.logo {
    padding: 0px 10px 25px 10px;
}

.logo img {
    width: 180px;
}

.nav-menu {
    flex-grow: 1;
    overflow-y: auto;
}

.nav-item {
    margin-bottom: 1.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--sec-text-color);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-color);
    padding-left: 10px;
}

.nav-link i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.nav-item.active .nav-link i {
    transform: rotate(180deg);
}

.submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding-left: 1rem;
    border-left: 1px solid var(--border-color);
    margin-top: 0.5rem;
    margin-left: 5px;
}

.nav-item.active .submenu {
    max-height: 500px;
    /* Arbitrary large height */
}

.submenu li {
    margin: 0.8rem 0;
}

.submenu a {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submenu a:hover {
    color: #fff;
}

.sidebar-footer {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.user-actions a {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--sec-text-color);
    font-size: 0.9rem;
}

.user-actions a:hover {
    color: #fff;
}



/* --- ÍCONES SOCIAIS NA SIDEBAR --- */

.sidebar-social {
    display: none;
    justify-content: center;
    /* Centraliza os ícones */
    gap: 20px;
    /* Espaço entre eles */
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    /* Linha separando do login */
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    /* Deixa redondo */
    background: #111;
    /* Fundo escuro */
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    text-decoration: none;
    /* Remove sublinhado */
}

/* Cores específicas para cada rede */
.social-btn.whatsapp {
    color: #25D366;
}

.social-btn.instagram {
    color: #E1306C;
}

.social-btn.location {
    color: #fff;
}

/* Efeito ao passar o mouse (ou tocar no celular) */
.social-btn:hover {
    transform: translateY(-5px);
    /* Sobe um pouquinho */
    border-color: #fff;
    background: #222;
}

.social-btn.whatsapp:hover {
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
}

.social-btn.instagram:hover {
    box-shadow: 0 0 10px rgba(225, 48, 108, 0.4);
}

.social-btn.location:hover {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}




/* Main Content Area */
.main-content {
    margin-left: var(--sidebar-width);
    flex-grow: 1;
    width: calc(100% - var(--sidebar-width));
}

/* Hero Section */
.hero {
    height: 90vh;
    /* Ajuste o caminho aqui se necessário. 
       Se o CSS está em assets/css, o caminho volta um (../) para assets, 
       entra em imagens e depois em imgs */
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8)), url('../imagens/banner.jpeg');
    background-size: cover;
    /* Isso garante que a foto da loja cubra tudo */
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}







/* SLIDE */

.hero-slider {
    position: relative;
    width: 100%;
    height: 50vh;
    /* Altura do banner */
    overflow: scroll;
    /* background: #000; */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    /* Começa invisível */
    transition: opacity 1s ease-in-out;
    /* Transição suave */
    background-size: cover;
    background-position: 50% 35%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background:rgba(0, 0, 0, 0.6); */
}

.mobile-slide {
    display: none;
}

.slide-one {
    background-image: url('../imagens/banner-desktop2.jpeg');
}

.slide-two {
    background-image: url('../imagens/banner-pc.jpeg');
}

.slide-three {
    background-image: url('../imagens/mobile4.jpeg');
}


@media screen and (max-width:800px) {
    .slide-one {
        background-image: url('../imagens/banner-mobile3.jpeg');

    }


    .sidebar-social {
        display: flex;

    }


    .slide-two {
        /* background-image: url('../imagens/banner.jpeg');
 */        background-image: url('../imagens/banner-mobile2.jpeg');


    }

    .slide-three {
        background-image: url('../imagens/mobile4.jpeg');
    }


}

.hero-text-overlay {
    position: relative;
    z-index: 10;
    /* Fica acima do link de fundo */
    text-align: center;
    max-width: 700px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
    /* Efeito de subir suave */
}

.hero-text-overlay h2 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    /* Tamanho grande */
    line-height: 0.9;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    /* Sombra para leitura */
}

.hero-text-overlay p {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: #ddd;
    /* Cinza claro */
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 300;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
}

/* Botão Branco Retangular */
.hero-btn {
    display: inline-block;
    background-color: #fff;
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    padding: 15px 35px;
    font-size: 1rem;
    border: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-btn:hover {
    background-color: #000;
    color: #fff;
    border: 1px solid #fff;
    transform: translateY(-2px);
}

/* Animação simples de entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajuste para Celular */
@media (max-width: 768px) {
    .hero-text-overlay h2 {
        font-size: 2.5rem;
        /* Diminui o título no mobile */
    }

    .hero-text-overlay p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .hero-text-overlay h2 {
        display: none;
    }
}

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cor preta com 40% de transparência. Aumente 0.4 para 0.6 se quiser mais escuro */
    /* background: rgba(0, 0, 0, 0.7); */
    z-index: 1;
    pointer-events: none;
    /* Deixa clicar no link abaixo dele */
}



.hero-slide.active {
    opacity: 1;
    /* Slide ativo fica visível */
    z-index: 1;
}

/* Link que cobre o slide todo para ser clicável */
.slide-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

/* Setas de Navegação */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

/* Bolinhas de navegação (Opcional) */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #fff;
}

/* Ajuste Mobile */
@media (max-width: 768px) {
    .hero-slider {
        height: 40vh;
        /* Banner menor no celular */
    }
}












.hero-content {
    max-width: 800px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
}

.hero h2 {
    font-family: var(--font-heading);
    font-size: 5rem;
    text-transform: uppercase;
    line-height: 0.9;
    margin-bottom: 1rem;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--sec-text-color);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #fff;
    color: #000;
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    border: 2px solid #fff;
}

.btn:hover {
    background: transparent;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: #000;
}

/* Categories Grid */
.categories-section {
    padding: 5rem 2rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.category-card {
    position: relative;
    /* height: 300px; */
    overflow: hidden;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    filter: grayscale(0%);

}

.category-card:hover img {
    transform: scale(1.1);
    filter: grayscale(100%);

}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, #000, transparent);
}

.category-overlay h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-transform: uppercase;
    color: #fff;
}

/* Product Grid (Shared) */
.products-section {
    padding: 5rem 2rem;
    background-color: #0a0a0a;
}

.product-grid {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    /* Hide scrollbar for premium feel but allow scroll */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}



.product-grid::-webkit-scrollbar {
    display: none;
    /* Chrome Safari */
}

.product-card {
    /* width: 50%; */
    background: #111;
    border: 1px solid #222;
    transition: transform 0.3s;
    min-width: 280px;
    /* Fixed width for carousel items */
    scroll-snap-align: start;
}






.product-card:hover {
    transform: translateY(-10px);
    border-color: #444;
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: var(--sec-text-color);
}

.price {
    font-weight: 700;
    color: #fff;
}

/* Product Details */
.product-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 2rem;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}





.grid-produtos {
    display: flex;
    flex-wrap: wrap; 
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 2rem;
    scroll-snap-type: x mandatory;
    /* Hide scrollbar for premium feel but allow scroll */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

.grid-produtos .product-card {
    width: 30%;
    background: #111;
    border: 1px solid #222;
    transition: transform 0.3s;
    /* min-width: 280px; */
    /* Fixed width for carousel items */
    scroll-snap-align: start;
}







@media screen and (max-width:700px) {
    .product-card {
        min-width: 240px;
    }

    .product-info {
        padding: 0.8rem;
    }

    .product-image {
        position: relative;
        height: 260px;
        overflow: hidden;
    }
    .grid-produtos .product-card {
    width: 45%;
    background: #111;
    border: 1px solid #222;
    transition: transform 0.3s;
    min-width: 100px;
    /* Fixed width for carousel items */
    scroll-snap-align: start;
}


.section-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
    text-align: center;
}

.section-title-dark {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-transform: uppercase;
    color: #000;
    /* Texto Preto */
    margin-bottom: 3rem;
    letter-spacing: -1px;
    display: inline-block;
    position: relative;
}

}




.main-image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border: 1px solid #222;
}

.thumbnail-list {
    display: flex;
    gap: 1rem;
}

.thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 1px solid #222;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s, border-color 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    opacity: 1;
    border-color: #fff;
}

.product-info-text h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: block;
}

.product-description {
    color: var(--sec-text-color);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.selector-label {
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.9rem;
}

.size-selector {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.size-option {
    width: 50px;
    height: 50px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.size-option:hover,
.size-option.selected {
    border-color: #fff;
    background: #fff;
    color: #000;
}

.add-to-cart-btn {
    width: 100%;
    padding: 1.2rem;
    background: #fff;
    color: #000;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 700;
}

.add-to-cart-btn:hover {
    background: #ddd;
}

/* Forms (Login, Register, Checkout) */
.form-container {
    max-width: 500px;
    margin: 5rem auto;
    padding: 3rem;
    border: 1px solid #222;
    background: #0a0a0a;
}

.form-title {
    font-family: var(--font-heading);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--sec-text-color);
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: #111;
    border: 1px solid #333;
    color: #fff;
    font-family: var(--font-body);
}

.form-control:focus {
    outline: none;
    border-color: #fff;
}

.form-actions {
    margin-top: 2rem;
    text-align: center;
}

.form-link {
    display: block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--sec-text-color);
    text-decoration: underline;
}

/* Cart & Checkout Specifics */
.cart-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 3rem;
}

.cart-table th {
    text-align: left;
    padding: 1rem;
    border-bottom: 1px solid #333;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--sec-text-color);
}

.cart-table td {
    padding: 1.5rem 1rem;
    border-bottom: 1px solid #222;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid #333;
    width: fit-content;
}

.qty-btn {
    padding: 0.5rem 0.8rem;
    background: transparent;
    color: #fff;
    border: none;
    cursor: pointer;
}

.qty-btn:hover {
    background: #222;
}

.qty-val {
    padding: 0 0.5rem;
}

.order-summary {
    background: #111;
    padding: 2rem;
    border: 1px solid #222;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--sec-text-color);
}

.summary-row.total {
    border-top: 1px solid #333;
    padding-top: 1rem;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding: 2rem;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method-card {
    border: 1px solid #333;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method-card:hover,
.payment-method-card.selected {
    border-color: #fff;
    background: #111;
}

.payment-method-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Responsive adjustments for new pages */
@media (max-width: 900px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        width: 100%;
        max-width: 320px;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
    }

    .mobile-toggle {
        display: block;
        position: fixed;
        top: 10px;
        left: 15px;
        z-index: 1001;
        background: #fff;
        color: #000;
        padding: 0.1rem 0.5rem;
        border-radius: 4px;
        cursor: pointer;
    }

    .hero h2 {
        font-size: 3rem;
    }

    .product-details-container {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .main-image {
        height: 400px;
    }

    .form-container {
        margin: 5rem 1rem;
    }
}

@media (min-width: 901px) {
    .mobile-toggle {
        display: none;
    }
}

/* Promo Banner Section */
.promo-banner {
    height: 62vh;
    background: linear-gradient(rgba(0, 0, 0, 0.041), rgba(0, 0, 0, 0.164)), url('../imagens/frete-banner.jpeg');
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
}

.promo-content {
    max-width: 700px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(1px);
    transform: skewY(-2deg);
}

.promo-content>* {
    transform: skewY(2deg);
    /* Counter skew for text */
}

.promo-content h3 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: -1px;
}

.promo-content p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2rem;
}

/* Make sections flow better */
.products-section {
    padding-bottom: 0;
}

.categories-section {
    padding-top: 5rem;
}

/* Carousel Controls (Arrows - Desktop Only) */
.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border: 1px solid #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.carousel-arrow:hover {
    background: #fff;
    color: #000;
}

.carousel-arrow.prev {
    left: -20px;
}

.carousel-arrow.next {
    right: -20px;
}









/* PRODUCT DETAILS */


/* Classe correta que está no seu product-details.php */
.colors-selector {
    display: flex;
    flex-wrap: wrap; /* O SEGREDO: Permite cair para a linha de baixo */
    gap: 10px;       /* Espaço entre as bolinhas */
    margin-bottom: 2rem;
    width: 100%;
}

/* Garante que a bolinha continue redonda e não amasse */
.color-option {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    flex-shrink: 0; /* Impede deformação no mobile */
    border: 2px solid #333;
    cursor: pointer;
    transition: transform 0.2s;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.selected {
    border-color: #fff;
    box-shadow: 0 0 10px rgba(255,255,255,0.4);
    transform: scale(1.1);
}


/*  */




@media (max-width: 900px) {
    .carousel-arrow {
        display: none;
    }


    .promo-content {
        max-width: 280px;
        padding: 2rem;
    }

    .promo-content h3 {
        font-size: 2.5rem;
    }

.promo-banner {
    height: 62vh;
    background: linear-gradient(rgba(0, 0, 0, 0.13), rgba(0, 0, 0, 0.144)), url('../imagens/frete-banner_oldd.jpeg');
    background-size: cover;
    background-position: center;
    /* background-attachment: fixed; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
}



}




/* FOOTER */





/* --- FOOTER ESTILO NETSHOES (DARK VERSION) --- */
.main-footer {
    background-color: #000;
    border-top: 1px solid #222;
    margin-top: auto;
    /* Empurra o footer para baixo */
    font-family: var(--font-body);
}

/* Benefícios (Ícones do topo) */
.footer-benefits {
    display: flex;
    justify-content: space-around;
    padding: 2rem 1rem;
    border-bottom: 1px solid #222;
    background: linear-gradient(180deg, #b8b8b8 0%, #ebebeb 100%);
    flex-wrap: wrap;
    gap: 1.5rem;
    text-align: center;
    color: black;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #000000;
}

.benefit-item i {
    font-size: 2rem;
    color: #000000;
    margin-bottom: 5px;
}

.benefit-text strong {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.benefit-text span {
    font-size: 0.8rem;
    color: #000000;
}

/* Acordeão (Links expansíveis) */
.footer-links-container {
    padding: 0;
}

.footer-accordion {
    border-bottom: 1px solid #222;
}

.footer-accordion summary {
    padding: 1.5rem;
    cursor: pointer;
    list-style: none;
    /* Remove triângulo padrão */
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    /* Fonte mais limpa para o texto */
    font-size: 1rem;
    color: #ccc;
    font-weight: 500;
}

.footer-accordion summary::-webkit-details-marker {
    display: none;
}

.footer-accordion summary:hover {
    color: #fff;
    background: #111;
}

/* Animação da setinha */
.footer-accordion summary i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.footer-accordion[open] summary i {
    transform: rotate(180deg);
}

/* Lista de Links interna */
.footer-accordion ul {
    padding: 0 1.5rem 1.5rem 1.5rem;
    background-color: #080808;
}

.footer-accordion ul li {
    margin-bottom: 0.8rem;
}

.footer-accordion ul li a {
    color: #888;
    font-size: 0.9rem;
    text-decoration: none;
    display: block;
    padding: 5px 0;
}

.footer-accordion ul li a:hover {
    color: #fff;
    padding-left: 5px;
    /* Efeitinho de movimento */
}

/* Ícones de Social/Contato */
.social-links-list i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

/* Rodapé Final */
.footer-bottom {
    padding: 2rem;
    text-align: center;
    background-color: #000;
}

.copyright {
    color: #555;
    font-size: 0.8rem;
    line-height: 1.5;
}

.payment-icons-footer {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 20px;
    align-items: center;
}

.payment-icons-footer i {
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
    background: #fff;
    /* Fundo branco para garantir que a cor real apareça bem */
    padding: 2px 5px;
    /* Espacinho interno */
    border-radius: 4px;
    /* Bordas arredondadas parecendo um cartão */
    line-height: 1;
    /* Centralizar verticalmente */
}

.payment-icons-footer i:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
}

/* VISA (Azul Oficial) */
.payment-icons-footer .fa-cc-visa {
    color: #1a1f71;
}

/* MASTERCARD (Laranja/Vermelho Oficial) */
.payment-icons-footer .fa-cc-mastercard {
    color: #eb001b;
}

/* AMEX (Azul Claro Oficial) */
.payment-icons-footer .fa-cc-amex {
    color: #006fcf;
}

/* BOLETO (Preto Padrão) */
.payment-icons-footer .fa-barcode {
    color: #333;
    /* Ajuste para ícone sólido sem fundo se preferir: remove background acima e muda cor pra #fff */
}

/* PIX (Verde Oficial) */
.payment-icons-footer .fa-qrcode {
    color: #32BCAD;
}

/* Responsivo para Desktop (Opcional: Transforma acordeão em colunas) */
@media (min-width: 900px) {
    .footer-links-container {
        display: flex;
        justify-content: space-around;
        padding: 3rem 0;
        align-items: flex-start;
    }

    .footer-accordion {
        border-bottom: none;
    }

    /* No desktop, deixa sempre aberto e remove o click */
    .footer-accordion summary {
        pointer-events: none;
        padding: 0 0 1.5rem 0;
        color: #fff;
        text-transform: uppercase;
        font-weight: bold;
    }

    .footer-accordion summary i {
        display: none;
        /* Esconde a seta no desktop */
    }

    .footer-accordion ul {
        padding: 0;
        background: transparent;
    }

    .footer-benefits {
        flex-direction: row;
        justify-content: center;
        gap: 4rem;
    }

    .benefit-item {
        flex-direction: row;
        text-align: left;
    }
}




/* --- SEPARAÇÃO VISUAL DE SEÇÕES (CONTRASTE) --- */

/* 1. SEÇÃO LANÇAMENTOS (Mantém o fundo escuro padrão, mas com detalhe no topo) */
.products-section:nth-of-type(1) {
    background-color: #000000;
    /* Preto Profundo */
    padding-bottom: 4rem;
}

/* 2. BANNER PROMOCIONAL (Já tem imagem, vamos adicionar bordas brancas para destacar) */
.promo-banner {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
}

/* Detalhe extra: Uma linha branca fina vertical na esquerda do texto do banner */
.promo-content {
    border-left: 4px solid #fff;
}

/* 3. SEÇÃO DESTAQUES (Agora com Cinza Mais Claro) */
.products-section:nth-of-type(3) {
    /* Mudei de #141414 para #252525 (Cinza mais visível) */
    background-color: #000000;

    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

/* 4. SEÇÃO OFERTAS (Se houver) - Fundo com leve degradê */
.products-section:nth-of-type(4) {
    background: linear-gradient(180deg, #ffffff 0%, #cac7c7 100%);
    border-bottom: 1px solid #333;
    color: black !important;
}

.products-section:nth-of-type(4) .btn-outline {

    color: black !important;
    border: 1px solid #000000 !important;
}

/* 5. SEÇÃO CATEGORIAS (Fundo texturizado ou diferente) */
.categories-section {
    background-color: #080808;
    border-top: 2px solid #fff;
    /* Uma linha branca mais grossa separando */
    padding-top: 4rem;
}


/* --- DETALHES NOS TÍTULOS (LINHA LATERAL) --- */
/* Isso coloca uma "barra" branca ou colorida ao lado do título para chamar atenção */

.section-title {
    position: relative;
    display: inline-block;
    padding-left: 20px;
    /* Espaço para a barra */
    border-left: 5px solid #fff;
    /* Barra branca grossa na esquerda do título */
    line-height: 1;
}


/* --- CONTRASTE NOS CARDS (BORDAS) --- */
/* Faz os cards se destacarem do fundo cinza/preto */

.product-card {
    background-color: #000;
    /* Garante que o card seja preto mesmo no fundo cinza */
    border: 1px solid #333;
}

.product-card:hover {
    border-color: #fff;
    /* Borda branca ao passar o mouse */
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}



/* --- NAVEGAÇÃO RÁPIDA (Estilo Clean/Branco) --- */

.quick-nav-section {
    background-color: #ffffff;
    /* Fundo Branco */
    padding: 4rem 1rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

/* Título Preto para fundo branco */
.section-title-dark {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    color: #000;
    /* Texto Preto */
    margin-bottom: 3rem;
    letter-spacing: -1px;
    display: inline-block;
    position: relative;
}






.quick-nav-grid {
    display: flex;
    justify-content: center;
    /* Centraliza se couber tudo */
    align-items: flex-start;
    gap: 3rem;

    /* O SEGREDO ESTÁ AQUI: */
    flex-wrap: nowrap;
    /* Impede que os itens caiam para baixo */
    overflow-x: auto;
    /* Permite rolar para o lado se não couber na tela */

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 1rem;
    /* Espaço para o scroll não colar no texto */

    /* Esconde a barra de rolagem para ficar elegante (estilo app) */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Esconde barra de rolagem no Chrome/Safari */
.quick-nav-grid::-webkit-scrollbar {
    display: none;
}

.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #000;
    /* Impede que o item encolha demais e deforme */
    flex: 0 0 auto;
    width: 140px;
}

/* Ajuste Mobile: Alinha à esquerda para facilitar a rolagem lateral */
@media (max-width: 768px) {
    .quick-nav-grid {
        justify-content: flex-start;
        /* Começa da esquerda para poder rolar */
        padding-left: 1rem;
        /* Margem de respiro no celular */
        padding-right: 1rem;
        gap: 1.5rem;
        /* Itens mais pertinhos no celular */
    }

    .section-title-dark {
    font-family: var(--font-heading);
    font-size: 2rem;
    text-transform: uppercase;
    color: #000;
    /* Texto Preto */
    margin-bottom: 3rem;
    letter-spacing: -1px;
    display: inline-block;
    position: relative;
}
.quick-nav-grid span{
    font-size:14px;
}
}





/* --- PROFILE & DASHBOARD STYLES --- */

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.profile-card {
    background: #111;
    border: 1px solid #222;
    padding: 2rem;
    border-radius: 4px;
}

.profile-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: #fff;
    border-bottom: 1px solid #222;
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Orders Styles */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.order-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
}

.order-card:hover {
    border-color: #444;
}

.order-header {
    background: #1a1a1a;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222;
}

.order-id {
    font-weight: bold;
    color: #fff;
    font-size: 1.1rem;
    margin-right: 15px;
}

.order-date {
    color: #888;
    font-size: 0.9rem;
}

.order-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.status-pendente {
    background: rgba(243, 156, 18, 0.2);
    color: #f39c12;
    border: 1px solid #f39c12;
}

.status-pago {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid #2ecc71;
}

.status-cancelado {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid #e74c3c;
}

.order-body {
    padding: 1.5rem;
}

.order-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    border-bottom: 1px solid #222;
    padding-bottom: 1rem;
}

.order-items-preview {
    font-size: 0.9rem;
    color: #ccc;
}

.item-row {
    margin-bottom: 5px;
}

.order-actions {
    padding: 1rem 1.5rem;
    background: #1a1a1a;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

@media (max-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }

    .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .order-status {
        align-self: flex-start;
    }

    .profile-container,
    .orders-container {
        padding: 1.5rem !important;
    }
}