/* Reset Básico */
* { margin: 0; 
    padding: 0; 
    box-sizing: border-box; }

/* Estilos Globais */
body {
    background: #0d0d1a;
    font-family: 'Segoe UI', sans-serif;
    color: #f0f0f0;
    scroll-behavior: smooth;
}

/* Cabeçalho */
header {
    position: sticky; top: 0;
    background: rgba(20, 20, 43, 0.9);
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
    display: flex; 
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px; z-index: 100;
    box-shadow: 0 2px 10px #000;
}

header.scrolled nav ul {
    background-color: rgba(20, 20, 43, 0.0);
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.0);
    opacity: 0.7;
}

.logo img {
    position: absolute;
    height: 120px;
    width: auto;
    top: 50%;
    transform: translateY(-50%);
    left: 20px;
    z-index: 10;
}

/* Navegação */
nav {
    background-color: transparent;
    height: 69px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

nav.scrolled {
    background-color: rgb(20, 20, 43, 0.0);
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    font-size: 22px;
    margin: 0;
    padding: 0;
}
nav a svg {
    width: 24px; 
    height: 24px; 
    flex-shrink: 0;
}

nav a {
    color: #f7a8ff;
    text-decoration: none;
    font-weight: bold;
     display: flex;
     align-items: center;
     gap: 5px;
}
nav a:hover {
    color: #b938f2;
    text-shadow: 0 0 20px #b938f2;
}

/* Menu-Hamburger */

.menu-mob {
    display: none;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 101;
    justify-content: center;
    align-items: center;
}

.menu-mob svg {
    width: 100%;
    height: 100%;
    color: #f7a8ff;
    transition: transform 0.3s ease-in-out;
}

.menu-mob.active svg {
    transform: rotate(90deg);
}
    /* sidebar */
.sidebar {
    display: none;
}

/* Seção Hero */
.hero {
    height: 80vh;
    background: linear-gradient(135deg, #1e1e3f, #0a0a1a);
    display: flex; 
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    text-align: center;
}
.hero h1 {
    font-size: 4rem;
    color: #f7a8ff;
    text-shadow: 0 0 20px #f7a8ff;
}
.hero .btn {
    margin-top: 20px; 
    padding: 10px 25px;
    background: #f7a8ff; 
    color: #000;
    border: none; 
    border-radius: 5px;
    text-decoration: none; 
    font-weight: bold;
}

.produtos h1{
    font-size: 6rem;
    color: #a29bfe;
    text-shadow: 0 0 20px #a29bfe;
    margin-bottom: 20px;
    text-align: center;
}
.produtos { padding: 50px 30px; }


.produtos h2, .produtos h3 {
    color: #a29bfe;
    margin-bottom: 20px;
}

.grid .produto h3 a {
    color: #f7a8ff;
    text-decoration: none;
}
.grid .produto h3 a:hover {
    color: #2e0694;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px; margin-bottom: 40px;
}

.produto {
    background: #1c1c2e;
    padding: 15px; border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px #6c5ce7;
}
.produto img { max-width: 100%; border-radius: 10px; }
#sobre, #politica, #contato {
    padding: 50px 30px;
    background: #1a1a2f;
    border-top: 1px solid #333;
}

footer {
    text-align: center;
    padding: 20px;
    background: #111122;
    color: #aaa;
}

.mascote {
    max-width: 250px;
    margin-top: 20px;
    border-radius: 20px;
    box-shadow: 0 0 20px #f7a8ff;
}

/* Seções de Produtos - Base para todos os carrosséis */
.product-section,
.product-section2,
.product-section3,
.product-section4,
.product-section5 { /* Adicionado product-section5 aqui */
    width: 90%;
    max-width: 1900px;
    margin: 40px auto;
    padding: 20px;
    background-color: #1c1c2e;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #333355;
}

.section-title {
    font-size: 2.0em;
    color: #a29bfe;
    margin-bottom: 20px;
    text-align: center;
    padding-left: 10px;
}

.carousel-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

/* Itens do Carrossel - Aplicado a todos os carrosséis */
.product-section .carousel-items,
.product-section2 .carousel-items,
.product-section3 .carousel-items,
.product-section4 .carousel-items,
.product-section5 .carousel-items { /* Adicionado product-section5 aqui */
    display: flex;
    overflow-x: scroll;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 10px 0;
    gap: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-section .carousel-items::-webkit-scrollbar,
.product-section2 .carousel-items::-webkit-scrollbar,
.product-section3 .carousel-items::-webkit-scrollbar,
.product-section4 .carousel-items::-webkit-scrollbar,
.product-section5 .carousel-items::-webkit-scrollbar { /* Adicionado product-section5 aqui */
    display: none;
}

.carousel-item { /* Estilo de cada item do carrossel para todas as seções */
    flex-shrink: 0;
    width: 220px; /* Largura padrão dos seus cards (como Action Figures) */
    background-color: #111122;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    border: 1px solid #2a2a4b;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    margin-bottom: 0;
}

.carousel-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    border-color: #6c5ce7;
}

.carousel-item img { /* Estilo das imagens dentro dos cards para todas as seções */
    width: 100%;
    height: 280px; /* Altura padrão das imagens nos cards (como Action Figures) */
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
}

.item-details {
    padding: 15px;
    text-align: center;
}

.item-details h3 a {
    color: #f7a8ff;
    text-decoration: none;
}

.item-details h3 a:hover {
    color: #2e0694;
    text-decoration: none;
}

.item-details p {
    font-size: 0.85em;
    color: #999;
    margin: 0;
}

/* Estilo das setas de navegação */
.arrow {
    background-color: rgba(0, 0, 0, 0.6);
    color: #e0e0e0;
    border: 1px solid #4a4a7a;
    padding: 12px 8px;
    cursor: pointer;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.8em;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.9;
    transition: opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.arrow:hover {
    background-color: rgba(0, 0, 0, 0.8);
    border-color: #6c5ce7;
    opacity: 1;
}

.prev-arrow {
    left: -35px;
}

.next-arrow {
    right: -35px;
}

    @media (max-width: 1024px){
    .arrow, .next-arrow, .prev-arrow {
        display: none !important;
    }

    header nav {
        display: none;
    }

    .menu-mob {
        display: flex;
    }

    header .logo img {
        height: 120px;
        left: 10px;
        position: relative;
        transform: none;
        top: auto;
    }

    header {
        padding: 10px 20px;
        justify-content: space-between;
    }

    body.sidebar-open {
        overflow-x: hidden;
    }
    body.sidebar-open::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 98;
        transition: opacity 0.3s ease-in-out;
    }

    /* Sidebar (Estilos Específicos para MOBILE e TABLET) */
    .sidebar {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        max-width: 80%;
        height: 100%;
        background-color: rgba(20, 20, 43, 0.98);
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
        transition: right 0.3s ease-in-out, visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
        z-index: 99;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-left: 0;
        visibility: hidden;
        opacity: 0;
        pointer-events: none;
        padding-top: 65%; 
        padding-bottom: 0; 
        padding-left: 20px; 
        padding-right: 20px; 
    }

    .sidebar.active {
        right: 0;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .sidebar nav ul {
        flex-direction: column;
        width: 100%;
        margin-top: 20px;
        gap: 0;
       
    }

    .sidebar nav ul li {
        margin: 15px 0;
        text-align: center;
    }

    .sidebar nav ul a {
        font-size: 1.8em;
        padding: 10px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        gap: 10px;
        color: #f7a8ff;
    }

    .sidebar nav ul a svg {
        width: 30px; 
        height: 30px; 
        flex-shrink: 0; 
    }
    .sidebar nav ul a:hover {
        color: #b938f2;
        text-shadow: 0 0 15px #b938f2;
    }
}

/* Mobile (até 768px) */
@media (max-width: 768px){
    .carousel-item{
        width: 150px;
        height: auto;
    }
    .carousel-item img{
        height: 200px;
    }
    .product-section{
        padding: 15px;
        margin: 20px auto;
    }
    .item-details h3{
        font-size: 1em;
    }
    .sidebar{
        width: 250px;
        right: -250px;
    }
}

/* Tablet (769px a 1024px) */
@media (min-width: 769px) and (max-width: 1024px){
    .carousel-item{
        width: 180px;
    }
    .carousel-item img {
        height: 230px;
    }
}