/* ===== ESTILO.CSS - VERSÃO REDESIGN MODERNO PREMIUM ===== */
/* ===== VARIÁVEIS ===== */
:root {
    --primary: #0A1E3C;        /* Azul marinho profundo - sofisticação */
    --primary-light: #1E3A5F;   /* Azul mais claro para hover */
    --secondary: #f59e0b;       /* Dourado elegante - exclusividade */
    --secondary-dark: #B8944C;   /* Dourado escuro para hover */
    --accent: #4A6FA5;          /* Azul médio - confiança */
    --dark: #1E2A3A;           /* Cinza azulado escuro */
    --light: #F8FAFC;          /* Off-white clean */
    --gray-50: #F9FAFB;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --text: #1E293B;
    --text-light: #64748B;
    --white: #FFFFFF;
    --success: #10B981;
    --warning: #F59E0B;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --gradient-1: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-2: linear-gradient(135deg, var(--secondary) 0%, #D4AF37 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    --shadow-gold: 0 20px 40px -10px rgba(201, 168, 108, 0.3);
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--gray-50);
    color: var(--text);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--primary);
}

h1 { 
    font-size: 3.5rem; 
    line-height: 1.1; 
    font-weight: 700;
}
h2 { 
    font-size: 2.5rem; 
    line-height: 1.2; 
    font-weight: 600;
}
h3 { 
    font-size: 1.5rem; 
    line-height: 1.3; 
    font-weight: 600;
}

/* ===== HEADER PREMIUM ===== */
header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgb(6 6 6 / 98%);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 48px;
}

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo-img {
    width: 180px;
    height: auto;
    transition: opacity 0.2s ease;
}

.logo-img:hover {
    opacity: 0.8;
}

/* Search Bar Premium */
.search-bar {
    flex: 1;
    max-width: 600px;
    display: flex;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--gray-200);
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background: var(--gray-50);
    font-family: 'Inter', sans-serif;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.search-bar input::placeholder {
    color: var(--gray-400);
}

.search-bar button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 24px;
    background: #000000;
    color: white;
    border: none;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s ease;
    letter-spacing: 0.3px;
}

.search-bar button:hover {
    background: var(--primary-light);
}

/* Navigation Menu */
.categorias-nav {
    background: #ffffff;
    /* border-bottom: 1px solid var(--gray-100); */
}

.categorias-nav ul {
    display: flex;
    list-style: none;
    gap: 4px;
    flex-wrap: wrap;
    padding: 12px 0;
}

.categorias-nav a {
    color: #000000;
    text-decoration: none;
    padding: 8px 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    background: transparent;
    border: none;
    position: relative;
}

.categorias-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #000000;
    transition: width 0.2s ease;
}

.categorias-nav a:hover {
    color: var(--primary);
}

.categorias-nav a:hover::after {
    width: 30px;
}

.categorias-nav a.ativo {
    color: var(--primary);
    font-weight: 600;
}

.categorias-nav a.ativo::after {
    width: 30px;
}

/* ===== CLASSES AUXILIARES ===== */
.desktop-only {
    display: block;
}

/* ===== MENU LATERAL MOBILE (DRAWER) ===== */
@media (max-width: 768px) {
    .categorias-nav.desktop-only {
        display: none;
    }
}

/* Botão Menu Toggle (Hamburguer) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 8px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #f59e0b;
    margin: 3px 0;
    transition: all 0.2s ease;
}

/* Header container adjustments for mobile */
@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-container {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 8px;
        padding: 12px 16px;
    }

    .menu-toggle {
        grid-column: 1;
        justify-self: start;
        width: 44px;
    }

    .logo {
        grid-column: 2;
        justify-self: center;
        text-align: center;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .logo a {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .logo-img {
        width: 140px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .search-bar {
        grid-column: 1 / -1;
        order: 1;
        margin-top: 12px;
        max-width: 100%;
    }
    
    .search-bar input {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .search-bar button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Ajuste para telas muito pequenas */
@media (max-width: 480px) {
    .logo-img {
        width: 120px;
    }
}

@media (max-width: 360px) {
    .header-container {
        padding: 10px 8px;
        gap: 4px;
    }
    
    .logo-img {
        width: 100px;
    }
    
    .menu-toggle {
        width: 40px;
        height: 40px;
    }
}

/* Estilo do Side Menu (Drawer) */
.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background-color: #1e3a5f;
    /* box-shadow: 2px 0 20px rgb(0 0 0 / 20%); */
    z-index: 2000;
    transition: left 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
}

.side-menu.open {
    left: 0;
}

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.side-menu-logo {
    width: 120px;
    height: auto;
}

.side-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-500);
    cursor: pointer;
    padding: 5px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.side-menu-close:hover {
    background-color: var(--gray-100);
}

.side-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 16px 0;
}

.side-menu-nav ul {
    list-style: none;
}

.side-menu-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
    border-left: 3px solid transparent;
}

.side-menu-nav a:hover {
    background-color: var(--gray-100);
    border-left-color: var(--secondary);
}

/* Side Menu Footer */
.side-menu-footer {
    padding: 20px;
    border-top: 1px solid var(--gray-200);
}

.side-menu-admin {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.side-menu-admin:hover {
    background-color: var(--gray-100);
}

/* Overlay */
.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.side-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Impedir rolagem quando menu está aberto */
body.menu-open {
    overflow: hidden;
}

/* ===== SLIDER PREMIUM ===== */
.slide-container {
    max-width: 1400px;
    margin: 40px auto;
    overflow: hidden;
    position: relative;
    background: var(--white);
}

.slide-wrapper {
    position: relative;
    height: 500px;
    width: 100%;
}

.slide-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-item.active {
    opacity: 1;
    visibility: visible;
}

.slide-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    /* background: linear-gradient(to top, rgba(10, 30, 60, 0.95), transparent); */
    color: white;
    padding: 80px 60px 60px;
    text-align: left;
}

.slide-caption h2 {
    color: white;
    font-size: 3.2rem;
    margin-bottom: 16px;
    max-width: 700px;
    font-weight: 700;
}

.slide-caption p {
    font-size: 1.2rem;
    margin-bottom: 24px;
    max-width: 500px;
    opacity: 0.9;
    font-weight: 400;
}

.slide-btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--secondary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

.slide-btn:hover {
    background: transparent;
    border-color: var(--white);
    color: var(--white);
}

/* Slide Controls */
.slide-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-control:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.slide-control.prev { left: 20px; }
.slide-control.next { right: 20px; }

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.2s ease;
}

.dot.active-dot {
    background: var(--secondary);
    width: 24px;
}

/* ===== COLEÇÕES SECTION ===== */
.colecao-section {
    margin: 60px 0;
    padding: 0;
}

.colecao-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 16px;
}

.colecao-titulo {
    font-size: 1.8rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-weight: 600;
}

.colecao-icone {
    font-size: 2rem;
    background: var(--gray-100);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.colecao-ver-tudo {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    background: var(--gray-100);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    border: none;
}

.colecao-ver-tudo:hover {
    background: var(--primary);
    color: var(--white);
}

.colecao-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ===== PRODUTO CARD REDESIGN ===== */
.produto-card {
    background: var(--white);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    display: flex;
    flex-direction: column;
}

.produto-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--gray-300);
}

.produto-imagem {
    height: 260px;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-100);
    position: relative;
    transition: transform 0.6s ease;
}

.produto-card:hover .produto-imagem {
    transform: scale(1.02);
}

.produto-card h3 {
    padding: 20px 20px 8px;
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    margin: 0;
}

.produto-categoria {
    padding: 0 20px;
    font-size: 0.8rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.produto-preco {
    padding: 8px 20px;
    font-weight: 700;
    font-size: 1.6rem;
    color: var(--primary);
    margin-top: auto;
}

.produto-preco::before {
    content: 'R$ ';
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-500);
}

.btn-detalhes {
    display: block;
    margin: 8px 20px 20px;
    padding: 12px;
    background: #000000;
    color: var(--white);
    text-align: center;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: none;
    letter-spacing: 0.3px;
}

.btn-detalhes:hover {
    background: var(--primary-light);
}

/* Grid de Todos os Produtos */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 40px 0;
}

.todos-produtos-titulo {
    margin: 60px 0 24px;
    font-size: 2rem;
    color: var(--primary);
    border-bottom: 2px solid #f59e0b;
    padding-bottom: 8px;
    display: inline-block;
}

.categoria-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin: 40px 0;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    margin-top: 10px;
    color: var(--gray-500);
    font-size: 0.95rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ===== PÁGINA DE PRODUTO ===== */
.produto-detalhe {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--white);
    padding: 60px;
    margin: 40px 0;
    border: 1px solid var(--gray-200);
}

.produto-detalhe-imagem {
    height: 500px;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-100);
}

.produto-detalhe-imagem:hover {
    opacity: 0.95;
}

.produto-detalhe-info h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--primary);
    font-weight: 700;
}

.produto-detalhe-categoria {
    color: var(--secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.produto-detalhe-preco {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 24px 0;
}

.produto-detalhe-preco::before {
    content: 'R$ ';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--gray-500);
}

.produto-detalhe-descricao {
    margin: 32px 0;
    line-height: 1.8;
    color: var(--text);
}

.produto-detalhe-descricao h3 {
    color: var(--primary);
    margin: 32px 0 16px;
    font-size: 1.3rem;
    font-weight: 600;
}

.produto-detalhe-descricao ul {
    list-style: none;
}

.produto-detalhe-descricao li {
    margin-bottom: 12px;
    padding-left: 28px;
    position: relative;
}

.produto-detalhe-descricao li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--whatsapp);
    color: white;
    padding: 16px 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    border: none;
    margin-top: 20px;
    letter-spacing: 0.5px;
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
}

/* ===== PRODUTOS RECOMENDADOS ===== */
.produtos-recomendados {
    margin: 60px 0 40px;
}

.produtos-recomendados h3 {
    font-size: 1.8rem;
    margin-bottom: 32px;
    color: var(--primary);
    border-bottom: 2px solid var(--secondary);
    padding-bottom: 8px;
    display: inline-block;
}

.recomendados-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ===== RODAPÉ ===== */
footer {
    background: #000000;
    color: var(--white);
    padding: 60px 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-admin-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border: 1px solid var(--secondary);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-admin-link:hover {
    background: var(--secondary);
    color: #000000;
}

footer .container {
    position: relative;
    z-index: 1;
}

footer p {
    opacity: 0.9;
    font-size: 1rem;
    letter-spacing: 0.3px;
    margin: 0;
}

/* ===== LOADING SPINNER ===== */
.loading-spinner {
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--secondary);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.sem-resultados {
    text-align: center;
    padding: 40px;
    color: var(--gray-500);
    font-size: 1.1rem;
    grid-column: 1 / -1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .container {
        padding: 0 32px;
    }
    
    .colecao-grid,
    .categoria-grid,
    .produtos-grid,
    .recomendados-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .slide-wrapper {
        height: 450px;
    }
    
    .slide-caption h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .container { 
        padding: 0 24px; 
    }
    
    h1 { 
        font-size: 2.8rem; 
    }
    
    h2 { 
        font-size: 2rem; 
    }
    
    .colecao-grid,
    .categoria-grid,
    .produtos-grid,
    .recomendados-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .produto-detalhe {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 30px;
    }
    
    .produto-detalhe-imagem {
        height: 400px;
    }
    
    .slide-wrapper {
        height: 400px;
    }
    
    .slide-caption h2 {
        font-size: 2.2rem;
    }
    
    .slide-caption p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    h1 { 
        font-size: 2.2rem; 
    }
    
    h2 { 
        font-size: 1.8rem; 
    }
    
    .colecao-section {
        margin: 40px 0;
    }
    
    .colecao-header {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        align-items: flex-start;
    }
    
    .colecao-titulo {
        font-size: 1.6rem;
    }
    
    .colecao-icone {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }
    
    .categoria-titulo {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .categoria-icone {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }
    
    .categoria-header {
        padding: 40px 24px;
        text-align: center;
    }
    
    .categoria-descricao {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .colecao-grid,
    .categoria-grid,
    .produtos-grid,
    .recomendados-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .slide-wrapper {
        height: 350px;
    }
    
    .slide-caption {
        padding: 40px 24px;
    }
    
    .slide-caption h2 {
        font-size: 1.6rem;
        margin-bottom: 8px;
    }
    
    .slide-caption p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }
    
    .slide-btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
    
    .slide-control {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .slide-control.prev { left: 12px; }
    .slide-control.next { right: 12px; }
    
    .produto-detalhe {
        padding: 24px;
        margin: 20px 0;
    }
    
    .produto-detalhe-imagem {
        height: 300px;
    }
    
    .produto-detalhe-info h2 {
        font-size: 1.8rem;
    }
    
    .produto-detalhe-preco {
        font-size: 2.2rem;
    }
    
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 16px;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .produtos-recomendados h3 {
        font-size: 1.6rem;
    }
    
    footer {
        padding: 40px 0;
        margin-top: 60px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-admin-link {
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .produto-detalhe {
        padding: 16px;
    }
    
    .produto-detalhe-preco {
        font-size: 2rem;
    }
    
    .slide-wrapper {
        height: 280px;
    }
    
    .slide-caption h2 {
        font-size: 1.4rem;
    }
    
    .categoria-titulo {
        font-size: 1.6rem;
    }
    
    .categoria-icone {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    .colecao-titulo {
        font-size: 1.4rem;
    }
    
    .produto-card h3 {
        font-size: 1.1rem;
        padding: 16px 16px 4px;
    }
    
    .produto-categoria {
        padding: 0 16px;
        font-size: 0.7rem;
    }
    
    .produto-preco {
        padding: 4px 16px;
        font-size: 1.4rem;
    }
    
    .btn-detalhes {
        margin: 4px 16px 16px;
        padding: 10px;
    }
    
    .produtos-recomendados h3 {
        font-size: 1.4rem;
    }
}

/* Ajuste extra para centralização da logo em telas muito pequenas */
@media (max-width: 360px) {
    .header-container {
        grid-template-columns: 40px 1fr 40px;
        gap: 4px;
        padding: 10px 8px;
    }
    
    .logo-img {
        width: 110px;
    }
    
    .menu-toggle {
        width: 40px;
        height: 40px;
    }
}

/* ===== PWA CONFIG ===== */
@media (display-mode: standalone) {
    header {
        padding-top: env(safe-area-inset-top);
        background-color: var(--white);
    }
    
    body {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.colecao-section, 
.produto-card, 
.categoria-header,
.slide-item.active {
    animation: fadeInUp 0.5s ease-out;
}

/* ===== UTILITÁRIOS ===== */
.text-center {
    text-align: center;
}

.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

/* ===== CONTROLE DE QUANTIDADE ===== */
.produto-detalhe-quantidade {
    margin: 32px 0;
    padding: 24px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 0;
}

.produto-detalhe-quantidade h3 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 16px;
    font-weight: 600;
}

.quantidade-controle {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 200px;
    margin-bottom: 12px;
}

.quantidade-btn {
    width: 44px;
    height: 44px;
    background: var(--white);
    border: 1px solid var(--gray-300);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.quantidade-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.quantidade-input {
    width: 80px;
    height: 44px;
    text-align: center;
    border: 1px solid var(--gray-300);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary);
    appearance: textfield;
    -moz-appearance: textfield;
    border-radius: 0;
}

.quantidade-input::-webkit-outer-spin-button,
.quantidade-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantidade-observacao {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 8px;
    font-style: italic;
}

.preco-total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed var(--gray-300);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
}

.preco-total::before {
    content: '💰 ';
    font-size: 1.4rem;
}

@media (max-width: 768px) {
    .produto-detalhe-quantidade {
        padding: 20px;
        margin: 24px 0;
    }
    
    .quantidade-controle {
        max-width: 100%;
        justify-content: center;
    }
    
    .quantidade-btn {
        width: 48px;
        height: 48px;
    }
    
    .preco-total {
        font-size: 1.3rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .produto-detalhe-quantidade {
        padding: 16px;
    }
    
    .quantidade-btn {
        width: 44px;
        height: 44px;
    }
    
    .quantidade-input {
        width: 70px;
        height: 44px;
    }
    
    .preco-total {
        font-size: 1.2rem;
    }
}

/* Loading Spinner */
.loading-spinner {
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--secondary);
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 40px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.upload-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--gray-500);
}