/* Variáveis e Configurações Globais */
:root {
    --primary-blue: #0062ff;
    --text-dark: #333;
    --bg-light: #f8f9fa;
    --border-soft: #eee;
}

body { 
    font-family: 'Outfit', sans-serif; 
    background-color: #fff; 
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

/* --- TOP BAR --- */
.top-bar { font-size: 0.85rem; letter-spacing: 0.5px; }
.top-bar .text-primary { color: var(--primary-blue) !important; }

/* --- NAVBAR PRINCIPAL --- */
.navbar-brand img { height: 60px; transition: 0.3s; }

/* --- HERO CARROSSEL --- */
.hero-swiper {
    width: 100%;
    height: 380px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    background: rgba(0, 0, 0, 0.4);
    padding: 25px;
    border-radius: 15px;
    max-width: 500px;
}

/* --- NAV DE CATEGORIAS ANIMADA --- */
.category-nav {
    background-color: #f8f9fa !important; /* Cor de fundo para diferenciar */
    border-bottom: 2px solid var(--border-soft);
    padding: 15px 0;
    transition: all 0.3s ease;
}

.category-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    position: relative;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.category-item a {
    text-decoration: none !important;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.category-item:hover {
    transform: translateY(-3px);
    background-color: rgba(0, 98, 255, 0.05);
    border-radius: 5px;
}

.category-item:hover a { color: var(--primary-blue); }

.category-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 10px;
}

.category-item:hover::after { width: 70%; }

/* --- GRID E CARDS QUADRADOS (5 POR LINHA) --- */
.section-title {
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 5px solid var(--primary-blue);
    text-transform: uppercase;
}

.mug-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.card-mug {
    background: #fff;
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    flex: 0 0 calc(20% - 15px); /* 5 por linha no PC */
    min-width: 190px;
    min-height: 360px;
    transition: all 0.3s ease;
}

.card-mug:hover {
    transform: translateY(-5px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.img-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fcfcfc;
    border-radius: 8px;
    margin-bottom: 10px;
}

.img-container img {
    max-height: 85%;
    max-width: 85%;
    object-fit: contain;
}

.card-mug h5 {
    font-size: 0.9rem;
    font-weight: 700;
    min-height: 40px;
    margin-bottom: 5px;
}

.price {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.btn-personalizar {
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50px;
    padding: 8px 15px;
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    transition: 0.3s;
    text-decoration: none;
    display: block;
}

.btn-personalizar:hover { background-color: #004ecc; color: #fff; }

/* --- RESPONSIVIDADE --- */
@media (max-width: 1100px) {
    .card-mug { flex: 0 0 calc(25% - 15px); } /* 4 por linha */
}

@media (max-width: 768px) {
    .hero-swiper { height: 250px; }
    .category-list { gap: 10px; }
    .card-mug {
        flex: 0 0 calc(50% - 10px); /* 2 por linha */
        min-width: 140px;
        min-height: 300px;
    }
}

