/* KATABASH_ASSET_VERSION: 1.0.4 — bump this AND the "?v=" query string on every
   <link>/<script> tag that loads this file (and js/script.js) whenever a change
   here needs to reach visitors immediately instead of waiting out the 1h cache
   set in .htaccess. Keep the number identical across css/style.css and js/script.js. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@400;700;900&display=swap');

:root {
    color-scheme: dark;

    --bg-dark: #0a0a0a;
    --bg-charcoal: #1a1a1a;
    --bg-gray: #2d2d2d;
    --text-white: #ffffff;
    --text-primary: #ffffff;
    /* Regra do projeto: NUNCA usar cor/opacidade reduzida para indicar hierarquia de texto —
       apenas tamanho e peso da fonte. --text-muted por isso é idêntica a --text-white;
       mantemos o nome da variável só para não reescrever cada seletor que a referencia. */
    --text-muted: #ffffff;
    --accent-gold: #c5a059;
    --accent-green: #1a3c34;
    --accent-red: #c0392b;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Type scale (mobile-first: these are the base sizes) */
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.25rem;
    --text-xl: 1.5rem;
    --text-2xl: 2rem;
    --text-3xl: 2.5rem;

    /* Spacing (multiples of 4px) */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-12: 3rem;
    --space-16: 4rem;

    /* Page gutter — smaller on mobile, widens via min-width below */
    --gutter: 20px;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Foco visível só para teclado/assistivos; some para mouse/touch */
:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}
:focus:not(:focus-visible) {
    outline: none;
}

@media (min-width: 768px) {
    :root { --gutter: 50px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent-gold);
    z-index: -1;
    transition: all 0.4s ease;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--text-white);
    color: var(--bg-dark);
}

.btn-primary:hover {
    color: var(--bg-dark);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-white);
    color: var(--text-white);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--bg-dark);
}

/* Header & Nav (mobile-first: base = compact header + off-canvas drawer nav) */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 16px var(--gutter);
    padding-top: max(16px, env(safe-area-inset-top));
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

@media (min-width: 992px) {
    header {
        padding: 20px var(--gutter);
        background: transparent;
        border-bottom-color: transparent;
        backdrop-filter: none;
    }
    header.scrolled {
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

.logo img,
.logo-img {
    height: 28px;
    width: auto;
}

@media (min-width: 992px) {
    .logo-img { height: 32px; }
}

/* Hamburger toggle — mobile only (logo fica à esquerda, hambúrguer à direita) */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.3rem;
    cursor: pointer;
}

@media (min-width: 992px) {
    .menu-toggle { display: none; }
}

/* Off-canvas nav drawer on mobile, inline bar on desktop */
.nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(320px, 85vw);
    background: rgba(8, 8, 8, 0.98);
    backdrop-filter: blur(10px);
    border-left: 1px solid var(--bg-gray);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: calc(80px + env(safe-area-inset-top)) var(--space-6) var(--space-6);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    overflow-y: auto;
}

.nav-links.open {
    transform: translateX(0);
}

/* Agrupa só os links de navegação (sem os ícones) — permite centralizar esse
   grupo no desktop sem afetar a posição dos ícones. No mobile é só um bloco
   normal dentro do drawer. */
.nav-links-items {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.nav-links a,
.nav-links .nav-parent {
    display: block;
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links a:hover {
    color: var(--accent-gold);
}

/* Dentro do drawer mobile: fica como última seção do menu, com um separador.
   No desktop (ver media query abaixo) volta a ficar fixo na borda direita do header. */
.nav-icons {
    display: flex;
    gap: var(--space-4);
    align-items: center;
    width: 100%;
    margin-top: var(--space-4);
    padding-top: var(--space-4);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-icons i {
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.nav-icons i:hover {
    color: var(--accent-gold);
}

/* Nav item / dropdown — collapsible section on mobile, hover popup on desktop */
.nav-item {
    width: 100%;
}

.nav-item .nav-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-dropdown {
    position: static;
    opacity: 1;
    pointer-events: all;
    background: none;
    border: none;
    backdrop-filter: none;
    min-width: 0;
    padding: 0 0 10px var(--space-4);
    display: none;
}

.nav-item.expanded .nav-dropdown {
    display: block;
}

.dropdown-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 992px) {
    .nav-links {
        position: static;
        height: auto;
        width: auto;
        background: transparent;
        border-left: none;
        backdrop-filter: none;
        flex: 1; /* preenche todo o espaço entre a logo e a borda direita do header */
        flex-direction: row;
        align-items: center;
        gap: 40px;
        padding: 0;
        transform: none;
        transition: none;
        z-index: auto;
        overflow: visible;
    }

    /* Cresce dentro de .nav-links e centraliza os links nesse espaço —
       os ícones (irmão seguinte, fora deste bloco) ficam de fora da centralização
       e continuam encostados na borda direita. */
    .nav-links-items {
        flex: 1;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 40px;
        width: auto;
    }

    .nav-links a,
    .nav-links .nav-parent {
        width: auto;
        padding: 8px 0;
        border-bottom: none;
    }

    .nav-item {
        position: relative;
        display: inline-flex;
        align-items: center;
        width: auto;
    }

    /* .nav-links-items tem flex:1 e centraliza os links no espaço disponível;
       .nav-icons fica de fora desse grupo (irmão seguinte, sem flex-grow), então
       sobra naturalmente encostado na borda direita — sem position:absolute,
       então nada sobrepõe o último link. */
    .nav-icons {
        width: auto;
        margin-top: 0;
        padding-top: 0;
        border-top: none;
    }

    .nav-dropdown {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(10, 10, 10, 0.98);
        border: 1px solid var(--bg-gray);
        border-top: 2px solid var(--accent-gold);
        min-width: 360px;
        padding: 28px 30px 30px;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
        z-index: 1100;
        backdrop-filter: blur(10px);
        display: block;
    }

    .nav-dropdown::before {
        content: '';
        position: absolute;
        top: -28px;
        left: 0;
        width: 100%;
        height: 28px;
        background: transparent;
    }

    @media (hover: hover) {
        .nav-item:hover .nav-dropdown {
            opacity: 1;
            pointer-events: all;
        }
    }

    .nav-item.expanded .nav-dropdown {
        opacity: 1;
        pointer-events: all;
    }

    .dropdown-inner {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

.dropdown-col h4 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 3px;
    color: var(--accent-gold);
    margin-bottom: 14px;
    font-weight: 700;
    border-bottom: 1px solid var(--bg-gray);
    padding-bottom: 8px;
}

.dropdown-col a {
    display: block;
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: none;
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.dropdown-col a:hover {
    color: var(--text-white);
    padding-left: 6px;
}

/* All Products — Fullscreen Overlay Panel */
.all-products {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 1500;
    overflow-y: auto;
    padding: 90px var(--gutter) 60px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: block;
}

@media (min-width: 768px) {
    .all-products { padding: 100px var(--gutter) 80px; }
}

.all-products.open {
    opacity: 1;
    pointer-events: all;
}

.all-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto 50px;
    flex-wrap: wrap;
    gap: 20px;
    position: relative;
}

.all-products-header h2 {
    font-size: var(--text-2xl);
}

@media (min-width: 768px) {
    .all-products-header h2 { font-size: 3rem; }
}

.close-shop {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
    font-family: var(--font-heading);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

.close-shop:hover {
    color: var(--accent-gold);
}

.product-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    background: none;
    border: 1px solid var(--bg-gray);
    color: var(--text-muted);
    padding: 8px 22px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent-gold);
    color: var(--text-white);
    background: rgba(197, 160, 89, 0.1);
}

.all-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 35px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Collections Overview */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}


.collection-overview-card {
    position: relative;
    cursor: pointer;
    border: 1px solid var(--bg-gray);
    aspect-ratio: 16/9;
    overflow: hidden;
}

.collection-overview-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: brightness(0.6);
    position: absolute;
    inset: 0;
}

.collection-overview-info {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 24px 30px;
    background: linear-gradient(to top, rgba(5,5,5,0.9) 40%, rgba(5,5,5,0.2) 100%);
    transition: background 0.3s ease;
}

.collection-overview-card:hover img {
    transform: scale(1.05);
}

.collection-overview-card:hover .collection-overview-info {
    background: linear-gradient(to top, rgba(5,5,5,0.85) 40%, rgba(5,5,5,0.25) 100%);
}

.collection-overview-info h3 {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.collection-overview-info p {
    font-size: 0.95rem;
    margin-bottom: 16px;
    max-width: 80%;
    color: var(--text-white);
}



/* Product Tag Badge */
.product-card {
    position: relative;
}

.product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--bg-charcoal);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.65rem;
    letter-spacing: 2px;
    padding: 4px 10px;
    text-transform: uppercase;
    z-index: 2;
    border: 1px solid var(--bg-gray);
}

.product-tag.gold {
    background: var(--accent-gold);
    color: var(--bg-dark);
    border-color: var(--accent-gold);
}

/* Hide/show for filter */
.product-card.hidden-card {
    display: none;
}

/* 1. Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: url('https://images.unsplash.com/photo-1599058917212-d750089bc07e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.3) 0%, rgba(10,10,10,0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 var(--gutter);
}

.hero h1 {
    font-size: var(--text-3xl);
    margin-bottom: 10px;
    line-height: 1.05;
}

.hero .subtitle {
    font-family: var(--font-heading);
    font-size: var(--text-base);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 24px;
    color: var(--text-muted);
}

@media (min-width: 576px) {
    .hero h1 { font-size: 4rem; }
    .hero .subtitle { font-size: 1.25rem; letter-spacing: 4px; margin-bottom: 32px; }
}

@media (min-width: 992px) {
    .hero h1 { font-size: 5rem; }
    .hero .subtitle { margin-bottom: 40px; }
}

.hero-reassurance {
    margin-top: var(--space-3);
    font-size: 0.85rem;
    color: var(--text-white);
}

/* 2. Identity Section (mobile-first: single column, grid from tablet up) */
.identity {
    padding: var(--space-16) var(--gutter);
    background-color: var(--bg-dark);
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .identity {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        padding: 100px var(--gutter);
    }
}

.identity-text h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
    color: var(--text-white);
}

@media (min-width: 768px) {
    .identity-text h2 { font-size: 3rem; }
}

.identity-text p {
    font-size: var(--text-base);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.identity-text .highlight {
    color: var(--accent-gold);
    font-weight: 600;
}

.identity-image img {
    width: 100%;
    height: auto;
    filter: grayscale(100%) contrast(1.2);
    border: 1px solid var(--bg-gray);
}

/* 3. Products */
.products {
    padding: var(--space-16) var(--gutter);
    background-color: var(--bg-charcoal);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.section-header h2 {
    font-size: var(--text-2xl);
}

@media (min-width: 768px) {
    .section-header { margin-bottom: 60px; }
    .section-header h2 { font-size: 3.5rem; }
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-6);
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .product-grid { gap: 40px; }
}

.product-card {
    background: var(--bg-dark);
    padding: 20px;
    border: 1px solid var(--bg-gray);
    transition: transform 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
}

.product-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 20px;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.product-card:hover .product-image {
    filter: grayscale(0%);
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent-gold);
    font-weight: 700;
}

/* 4. Collections - Abyss */
/* 4. Por Que Katabash (diferenciais técnicos) */
.why-katabash {
    padding: var(--space-16) var(--gutter);
    background-color: var(--bg-charcoal);
}

.why-katabash-intro {
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}

.why-katabash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-8);
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.why-item i {
    font-size: 1.8rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-3);
    display: block;
}

.why-item h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-2);
}

.why-item p {
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
}

.collection-abyss, .coming-soon {
    padding: var(--space-16) var(--gutter);
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--accent-green) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.coming-soon-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--bg-dark);
    background: var(--accent-gold);
    padding: 6px 16px;
    margin-bottom: var(--space-4);
    position: relative;
    z-index: 2;
}

.collection-abyss::before, .coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.1;
}

.collection-content {
    position: relative;
    z-index: 2;
}

.collection-content h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.collection-content p {
    font-size: var(--text-base);
    max-width: 600px;
    margin: 0 auto var(--space-8);
    color: var(--text-white);
}

@media (min-width: 768px) {
    .collection-content h2 { font-size: 4rem; }
    .collection-content p { font-size: 1.2rem; margin-bottom: 40px; }
}

/* 4b. Blog Preview (home) */
.blog-preview {
    padding: var(--space-16) var(--gutter);
    background-color: var(--bg-charcoal);
}

.blog-preview-card {
    display: flex;
    flex-direction: column;
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-dark);
    border: 1px solid var(--bg-gray);
    transition: border-color 0.3s ease;
}

.blog-preview-card:hover { border-color: var(--accent-gold); }

.blog-preview-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.blog-preview-body { padding: var(--space-6); }

.blog-preview-meta {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: var(--space-2);
}

.blog-preview-body h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-3);
}

.blog-preview-body p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.blog-preview-cta {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

@media (min-width: 768px) {
    .blog-preview-card { flex-direction: row; }
    .blog-preview-card img { width: 45%; aspect-ratio: auto; }
    .blog-preview-body { flex: 1; padding: var(--space-8); display: flex; flex-direction: column; justify-content: center; }
}

/* 5. Athletes & Community (mobile-first: 2-col grid, 4-col from desktop) */
.community {
    padding: var(--space-16) var(--gutter);
    background-color: var(--bg-dark);
}

.community-intro {
    max-width: 640px;
    margin: 0 auto var(--space-6);
    text-align: center;
    font-size: 1rem;
    line-height: 1.7;
}

.community-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-8);
}

.community-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    padding: 12px 24px;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: var(--space-3);
    max-width: 1400px;
    margin: 0 auto;
}

.community-item {
    position: relative;
    overflow: hidden;
}

.community-item:nth-child(1) { grid-column: span 2; }

@media (min-width: 992px) {
    .community-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 300px;
        gap: 20px;
    }
    .community-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
    .community-item:nth-child(2) { grid-column: span 2; }
    .community-item:nth-child(3) { grid-column: span 1; }
    .community-item:nth-child(4) { grid-column: span 1; }
}

.community-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) contrast(1.1);
    transition: all 0.5s ease;
}

.community-item:hover img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.05);
}

.community-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, transparent 100%);
}

/* 6. Footer */
footer {
    background-color: var(--bg-charcoal);
    padding: var(--space-12) var(--gutter) var(--space-8);
    border-top: 1px solid var(--bg-gray);
    padding-bottom: calc(var(--space-8) + env(safe-area-inset-bottom));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    max-width: 1400px;
    margin: 0 auto var(--space-8);
}

@media (min-width: 576px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    footer { padding: 80px var(--gutter) 30px; }
    .footer-grid { grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 60px; }
}

.footer-brand .logo-img {
    height: 32px;
    margin-bottom: 20px;
    display: block;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding-top: 30px;
    border-top: 1px solid var(--bg-gray);
}

/* Note: breakpoints above are now mobile-first (min-width) per section;
   this block intentionally left empty after the mobile-first refactor. */

/* Mobile nav overlay backdrop (click outside to close) */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.nav-backdrop.active { opacity: 1; pointer-events: all; }
@media (min-width: 992px) {
    .nav-backdrop { display: none; }
}

/* Sticky mobile CTA bar (briefing: preto + borda dourada, "COMPRAR AGORA") */
.sticky-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 900;
    background: var(--bg-dark);
    border-top: 2px solid var(--accent-gold);
    padding: var(--space-3) var(--space-4);
    padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom));
    display: flex;
    gap: var(--space-3);
    align-items: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

.sticky-cta-bar .pdp-price-inline {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-weight: 700;
    font-size: var(--text-lg);
    white-space: nowrap;
}

.sticky-cta-bar .btn {
    flex: 1;
    min-height: 44px;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-sm);
    text-align: center;
}

@media (min-width: 992px) {
    .sticky-cta-bar { display: none; }
}

/* Auth Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background-color: var(--bg-charcoal);
    border: 1px solid var(--bg-gray);
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--accent-gold);
}

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--bg-gray);
}

.auth-tab {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-muted);
    padding: 10px 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.auth-tab.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-dark);
    border: 1px solid var(--bg-gray);
    color: var(--text-white);
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: var(--accent-gold);
}

.auth-btn {
    width: 100%;
    margin-top: 10px;
}

.divider {
    text-align: center;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    position: relative;
}

.divider::before, .divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background-color: var(--bg-gray);
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.google-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.hidden {
    display: none !important;
}

/* Visually hidden but available to screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.account-details p {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--bg-gray);
}

.account-actions {
    margin-top: 30px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.97);
    z-index: 3000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.search-overlay-inner {
    width: 90%;
    max-width: 750px;
    position: relative;
}

.close-search {
    position: absolute;
    top: -70px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-search:hover {
    color: var(--accent-gold);
}

.search-form {
    display: flex;
    border-bottom: 2px solid var(--text-white);
    padding-bottom: 15px;
    gap: 15px;
}

.search-form input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-size: 1.8rem;
    outline: none;
    letter-spacing: 1px;
}

.search-form input::placeholder {
    color: var(--text-muted);
    font-size: 1.3rem;
}

.search-submit {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.search-submit:hover {
    color: var(--accent-gold);
}

.search-results {
    margin-top: 40px;
}

.search-result-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-gray);
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.search-result-item:hover {
    color: var(--accent-gold);
}

.search-no-results {
    color: var(--text-muted);
    font-family: var(--font-heading);
    margin-top: 20px;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

/* --- PRODUCT DETAILS PAGE (PDP) --- */
.pdp-container {
    max-width: 1400px;
    margin: 100px auto var(--space-16);
    padding: 0 var(--gutter);
    padding-bottom: calc(90px + env(safe-area-inset-bottom)); /* room for sticky CTA bar */
}

@media (min-width: 992px) {
    .pdp-container { margin-top: 120px; padding-bottom: 0; }
}

.breadcrumbs {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.breadcrumbs a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--accent-gold);
}

.breadcrumbs span {
    color: var(--text-white);
}

.pdp-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    align-items: flex-start;
}

@media (min-width: 900px) {
    .pdp-layout {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.pdp-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pdp-main-image img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    border: 1px solid var(--bg-gray);
}

.pdp-thumbnails {
    display: flex;
    gap: 15px;
}

.pdp-thumbnails img {
    width: 100px;
    aspect-ratio: 4/5;
    object-fit: cover;
    border: 1px solid var(--bg-gray);
    cursor: pointer;
    transition: border-color 0.3s ease;
    opacity: 0.6;
}

.pdp-thumbnails img:hover,
.pdp-thumbnails img.active-thumb {
    border-color: var(--accent-gold);
    opacity: 1;
}

.pdp-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    position: static;
}

@media (min-width: 900px) {
    .pdp-info {
        gap: 30px;
        position: sticky;
        top: 120px;
    }
}

.pdp-title {
    font-size: var(--text-2xl);
    margin: 0;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .pdp-title { font-size: 3rem; }
}

.pdp-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-gold);
    letter-spacing: 1px;
}

.pdp-options h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-muted);
}

.color-options {
    display: flex;
    gap: 15px;
}

.color-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: 2px solid transparent;
    outline-offset: 4px;
}

.color-btn:hover {
    border-color: rgba(255,255,255,0.5);
}

.color-btn.active {
    outline-color: var(--accent-gold);
    border-color: var(--bg-dark);
}

.size-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.size-header h3 {
    margin-bottom: 0;
}

.size-guide-link {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.size-guide-link:hover {
    color: var(--text-white);
}

.size-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.size-btn {
    background: none;
    border: 1px solid var(--bg-gray);
    color: var(--text-white);
    font-family: var(--font-heading);
    padding: 12px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.size-btn:hover {
    border-color: var(--accent-gold);
}

.size-btn.active {
    background: var(--accent-gold);
    color: var(--bg-dark);
    border-color: var(--accent-gold);
    font-weight: 900;
}

.pdp-add-to-cart {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.pdp-add-to-cart.disabled {
    background: var(--bg-charcoal);
    color: var(--text-muted);
    border-color: var(--bg-gray);
    cursor: not-allowed;
    pointer-events: none;
}

.pdp-accordions {
    margin-top: 20px;
    border-top: 1px solid var(--bg-gray);
}

.accordion {
    border-bottom: 1px solid var(--bg-gray);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.accordion-header h4 {
    font-size: 1.1rem;
    margin: 0;
}

.accordion-header:hover {
    color: var(--accent-gold);
}

.accordion-header i {
    transition: transform 0.3s ease;
}

.accordion.open .accordion-header i {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    opacity: 0;
}

.accordion.open .accordion-content {
    max-height: 500px;
    padding-bottom: 20px;
    opacity: 1;
}

.accordion-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

.accordion-content ul {
    color: var(--text-muted);
    padding-left: 20px;
}

/* ═══════════════════════════════════════════════════
   CART ICON BADGE
═══════════════════════════════════════════════════ */
.cart-icon-wrapper {
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.cart-icon-wrapper i {
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: color 0.2s;
}

.cart-icon-wrapper:hover i { color: var(--accent-gold); }

.cart-badge {
    position: absolute;
    top: -7px;
    right: -8px;
    background: var(--accent-red, #c0392b);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
    line-height: 1;
    animation: badgePop 0.3s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes badgePop {
    0%   { transform: scale(0); }
    80%  { transform: scale(1.25); }
    100% { transform: scale(1); }
}

/* ═══════════════════════════════════════════════════
   CART DRAWER
═══════════════════════════════════════════════════ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.active { opacity: 1; pointer-events: all; }

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100vw;
    height: 100dvh;
    background: #111;
    border-left: 1px solid rgba(180,140,60,0.15);
    z-index: 1101;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.6);
}

.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}

.cart-drawer-header h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-drawer-header h3 i { color: var(--accent-gold); }

.cart-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s;
}
.cart-close-btn:hover { color: #fff; }

/* Items list */
.cart-items-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.08);
}

.cart-item-details h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: #eee;
}

.cart-item-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    position: relative;
    background: rgba(255,255,255,0.08);
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
/* Expand touch target to 44px without growing the visible control */
.qty-btn::after {
    content: '';
    position: absolute;
    inset: -10px;
}
.qty-btn:hover { background: var(--accent-gold); color: #000; }

.qty-value {
    font-size: 0.85rem;
    min-width: 20px;
    text-align: center;
}

.cart-item-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-align: right;
}

.cart-item-remove {
    background: none;
    border: none;
    color: rgba(255,255,255,0.3);
    cursor: pointer;
    font-size: 0.75rem;
    padding: 4px;
    transition: color 0.2s;
    display: block;
    margin-top: 4px;
}
.cart-item-remove:hover { color: #e74c3c; }

.cart-empty-msg {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 40px 20px;
    line-height: 1.8;
}

.cart-empty-msg i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 12px;
}

/* Footer */
.cart-footer {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 20px 24px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Coupon */
.cart-coupon { display: flex; flex-direction: column; gap: 6px; }

.coupon-input-row {
    display: flex;
    gap: 8px;
}

.coupon-input-row input {
    flex: 1;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    padding: 9px 12px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    outline: none;
    transition: border-color 0.2s;
}
.coupon-input-row input:focus { border-color: var(--accent-gold); }

.coupon-input-row button {
    background: rgba(180,140,60,0.15);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 9px 18px;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.2s, color 0.2s;
}
.coupon-input-row button:hover { background: var(--accent-gold); color: #000; }

.coupon-msg {
    font-size: 0.78rem;
    min-height: 16px;
}
.coupon-msg.success { color: #27ae60; }
.coupon-msg.error   { color: #e74c3c; }

/* Totals */
.cart-totals { display: flex; flex-direction: column; gap: 8px; }

.totals-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.totals-total {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 4px;
}

.discount-label { color: #27ae60; }
.discount-value { color: #27ae60; }

.cart-checkout-btn {
    width: 100%;
    padding: 14px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ═══════════════════════════════════════════════════
   AUTH MODAL
═══════════════════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #161616;
    border: 1px solid rgba(180, 140, 60, 0.2);
    width: 440px;
    max-width: 96vw;
    max-height: 90vh;
    overflow-y: auto;
    padding: 48px 40px 40px;
    position: relative;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.8);
    animation: modalIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalIn {
    from { transform: translateY(-20px) scale(0.97); opacity: 0; }
    to   { transform: translateY(0) scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.close-modal:hover { color: #fff; }

/* Auth Tabs */
.auth-tabs {
    display: flex;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-tab {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 10px 20px 14px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s;
}

.auth-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transition: transform 0.25s;
}

.auth-tab.active { color: var(--text-primary); }
.auth-tab.active::after { transform: scaleX(1); }

/* Auth Forms */
.auth-form {
    display: none;
    flex-direction: column;
    gap: 16px;
}
.auth-form.active { display: flex; }

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.72rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.form-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 12px 14px;
    font-size: 0.9rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: var(--accent-gold);
    background: rgba(180, 140, 60, 0.04);
}

.form-group input::placeholder { color: rgba(255,255,255,0.25); }

.auth-btn {
    margin-top: 8px;
    padding: 14px;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.auth-msg {
    font-size: 0.78rem;
    min-height: 18px;
    padding: 0 2px;
}
.auth-msg.error   { color: #e74c3c; }
.auth-msg.success { color: #27ae60; }

/* Account Container */
#account-container h2 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#account-container h2 i { color: var(--accent-gold); font-size: 1rem; }

.account-welcome {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.account-name-big {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 20px;
}

.account-details {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 20px;
}

.account-details .detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 0.85rem;
}

.account-details .detail-row:last-child { border-bottom: none; }

.detail-label {
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.detail-value { color: var(--text-primary); }

.account-actions {
    display: flex;
    gap: 12px;
}

.hidden { display: none !important; }

#user-btn.logged-in { color: var(--accent-gold); }
#user-btn { cursor: pointer; font-size: 1.1rem; }

/* Ícone de acesso ao painel admin — só visível para quem tem admin_users */
.admin-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--accent-gold);
    font-size: 1.1rem;
}
.admin-icon-link:hover { color: var(--text-white); }
