:root {
    --bg: #0a0b0d;
    --bg-2: #111317;
    --card: #15181d;
    --stroke: rgba(229, 57, 53, 0.22);
    --accent: #e53935;
    --accent-2: #ff6b6b;
    --text: #f5f6f8;
    --muted: #b7c0cc;
    --sub: #a8b2bf;
    --shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
    --surface: rgba(21, 24, 28, 0.92);
    --surface-soft: rgba(15, 18, 22, 0.92);
    --surface-strong: rgba(21, 24, 28, 0.98);
    --surface-solid: #0c1119;
    --overlay: rgba(6, 10, 15, 0.9);
    --radius: 18px;
    --max: 1200px;
    font-size: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    font-family: "Manrope", "Segoe UI", sans-serif;
    background: radial-gradient(circle at 10% 10%, rgba(0, 0, 0, 0.18), transparent 55%),
        radial-gradient(circle at 85% 0%, rgba(0, 0, 0, 0.2), transparent 45%), var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    transition: background 0.35s ease, color 0.35s ease;
}

body.theme-transition,
body.theme-transition * {
    transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

body.light-theme {
    --bg: #f5f2ec;
    --bg-2: #ffffff;
    --card: #ffffff;
    --stroke: rgba(229, 57, 53, 0.18);
    --text: #1f2328;
    --muted: #5b6470;
    --sub: #6b7480;
    --shadow: 0 18px 40px rgba(26, 26, 26, 0.12);
    --surface: rgba(255, 255, 255, 0.92);
    --surface-soft: #ffffff;
    --surface-strong: rgba(255, 255, 255, 0.98);
    --surface-solid: #f1f3f5;
    --overlay: rgba(245, 242, 236, 0.9);
    background: radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.7), transparent 55%),
        radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.5), transparent 45%), var(--bg);
}

 h1,
 h2,
 h3 {
            font-family: "Manrope", "Segoe UI", sans-serif;
            letter-spacing: 0.3px;
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        a:focus-visible,
        button:focus-visible,
        .btn:focus-visible,
        .lang-btn:focus-visible,
        .wa-btn:focus-visible,
        input:focus-visible {
            outline: 2px solid var(--accent-2);
            outline-offset: 2px;
        }

        img {
            display: block;
            max-width: 100%;
        }

        .container {
            width: min(var(--max), 92vw);
            margin: 0 auto;
        }
        header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(10, 11, 13, 0.9);
    border-bottom: 1px solid var(--stroke);
    backdrop-filter: blur(18px);
    transition: background 0.35s ease, border-color 0.35s ease, transform 0.3s ease;
}






header.header-hidden {
    transform: translateY(-110%);
}
body.light-theme header {
    background: rgba(255, 255, 255, 0.9);
}



.nav {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            padding: 16px 0;
        }

        .brand {
            display: flex;
            gap: 14px;
            align-items: center;
        }

        .logo img {
            width: 48px;
            height: 48px;
            border-radius: 14px;
            object-fit: cover;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        }

        .brand h1 {
            font-size: 1.25rem;
            margin: 0;
        }

        .menu {
            display: flex;
            gap: 14px;
            align-items: center;
            font-weight: 600;
        }

        .menu a {
            padding: 8px 12px;
            border-radius: 999px;
            color: var(--muted);
            transition: color 0.2s ease, background 0.2s ease;
        }

        .menu a:hover {
            background: rgba(229, 57, 53, 0.08);
            color: var(--text);
        }

        .wa-btn {
            background: linear-gradient(120deg, var(--accent), var(--accent-2));
            color: #ffffff;
            padding: 10px 16px;
            border-radius: 999px;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            box-shadow: 0 12px 24px rgba(229, 57, 53, 0.25);
        }

        .wa-btn:hover {
            transform: translateY(-1px);
        }

        .nav-actions {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .lang-switcher {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .nav-actions > .lang-switcher {
            display: none;
        }

        .lang-btn {
            background: transparent;
            border: 1px solid var(--stroke);
            color: var(--muted);
            padding: 6px 10px;
            border-radius: 999px;
            font-weight: 600;
            font-size: 0.85rem;
            cursor: pointer;
            transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
            font-family: "Manrope", "Segoe UI", "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
        }

        body.light-theme .lang-btn {
            background: rgba(31, 35, 40, 0.06);
            color: #1f2328;
            border-color: rgba(31, 35, 40, 0.2);
        }

        .lang-btn:hover {
            color: var(--text);
            border-color: rgba(255, 255, 255, 0.35);
        }

        .lang-btn.active {
            color: var(--text);
            border-color: rgba(255, 255, 255, 0.25);
            background: rgba(229, 57, 53, 0.08);
        }

        body.light-theme .lang-btn.active {
            color: #1f2328;
            border-color: rgba(31, 35, 40, 0.35);
            background: rgba(229, 57, 53, 0.15);
        }

        .theme-toggle {
            padding: 6px 10px;
            border-radius: 999px;
            border: 1px solid var(--stroke);
            background: rgba(255, 255, 255, 0.06);
            color: var(--muted);
            font-weight: 600;
            font-size: 0.85rem;
            cursor: pointer;
            transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.35s ease;
            margin-left: 12px;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        body.light-theme .theme-toggle {
            background: rgba(31, 35, 40, 0.06);
            color: #1f2328;
            border-color: rgba(31, 35, 40, 0.2);
        }

        .theme-toggle:hover {
            color: var(--text);
            border-color: rgba(255, 255, 255, 0.35);
        }

        .theme-toggle__icon {
            display: inline-flex;
            color: var(--text);
        }

        body.light-theme .theme-toggle__icon {
            color: var(--text);
        }

        .hamburger-menu {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border-radius: 12px;
            font-size: 1.35rem;
            cursor: pointer;
            color: var(--text);
            background: rgba(229, 57, 53, 0.12);
            border: 1px solid var(--stroke);
            transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
        }

        .hamburger-menu:hover {
            transform: translateY(-1px);
            background: rgba(229, 57, 53, 0.2);
            border-color: rgba(229, 57, 53, 0.35);
        }

        .toolbar {
            margin-top: 22px;
            padding: 14px;
            background: var(--surface);
            border: 1px solid var(--stroke);
            border-radius: var(--radius);
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            align-items: center;
            justify-content: space-between;
            box-shadow: var(--shadow);
            transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
        }

        body.light-theme .toolbar {
            background: rgba(255, 255, 255, 0.92);
        }


        .filters {
            display: flex;
            gap: 10px;
            align-items: center;
            flex-wrap: wrap;
        }

        .chip {
            padding: 8px 12px;
            border-radius: 999px;
            background: rgba(229, 57, 53, 0.06);
            color: var(--muted);
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.2s ease, color 0.2s ease;
            touch-action: manipulation;
        }

        .chip.active {
            background: var(--accent);
            color: #ffffff;
        }

        .chip:hover {
            background: rgba(229, 57, 53, 0.2);
            color: var(--text);
        }

        .chip.destaque,
        .chip.oferta {
            border: 1px solid rgba(229, 57, 53, 0.5);
            background: rgba(229, 57, 53, 0.2);
            color: #ffffff;
        }

        #subFilters {
            display: flex;
            gap: 8px;
            margin-left: 8px;
            border-left: 1px solid rgba(255, 255, 255, 0.08);
            padding-left: 12px;
            animation: fadeIn 0.3s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateX(-10px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .search {
            flex: 1;
            display: flex;
            align-items: center;
            gap: 8px;
            background: var(--surface-soft);
            border-radius: 12px;
            padding: 8px 12px;
            border: 1px solid var(--stroke);
            min-width: 220px;
            transition: background 0.35s ease, border-color 0.35s ease, transform 0.3s ease;
        }

        body.light-theme .search {
            background: #ffffff;
        }

        .search input {
            flex: 1;
            border: 0;
            outline: 0;
            background: transparent;
            color: var(--text);
            font-size: 0.95rem;
        }

        .grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 20px;
            margin: 24px 0 48px;
        }

        .card {
            background: var(--card);
            border-radius: 18px;
            overflow: hidden;
            border: 1px solid var(--stroke);
            transition: transform 0.2s ease, border-color 0.2s ease, background 0.35s ease, box-shadow 0.35s ease;
            position: relative;
        }

        .card:hover {
            transform: translateY(-6px);
            border-color: rgba(229, 57, 53, 0.35);
        }

        .badge {
            position: absolute;
            top: 12px;
            left: 12px;
            background: rgba(229, 57, 53, 0.9);
            color: #ffffff;
            font-weight: 700;
            font-size: 0.72rem;
            padding: 4px 8px;
            border-radius: 999px;
            letter-spacing: 0.2px;
            text-transform: uppercase;
        }

        .thumb {
            width: 100%;
            aspect-ratio: 4/3;
            overflow: hidden;
            position: relative;
        }

        .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
        }

        .card.contain-thumb .thumb {
            background: var(--surface-solid);
        }

        .card.contain-thumb .thumb img {
            object-fit: contain;
            padding: 8px;
        }

        body.light-theme .card.contain-thumb .thumb {
            background: #f3f5f8;
        }

        .meta {
            padding: 14px;
        }

        .title {
            font-weight: 700;
            font-size: 1rem;
        }

        .info {
            color: var(--muted);
            font-size: 0.85rem;
            margin-top: 6px;
        }

        .price {
            font-weight: 800;
            margin-top: 12px;
            color: var(--accent);
        }

        .actions {
            display: flex;
            gap: 8px;
            padding: 14px;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            padding: 10px 14px;
            border-radius: 12px;
            background: rgba(229, 57, 53, 0.06);
            border: 1px solid var(--stroke);
            font-weight: 700;
            color: var(--text);
            transition: transform 0.2s ease, border-color 0.2s ease;
        }

        .btn:hover {
            transform: translateY(-1px);
            border-color: rgba(229, 57, 53, 0.35);
        }

        .btn.primary {
            background: var(--accent);
            color: #ffffff;
            border-color: transparent;
        }

        .btn.small {
            padding: 8px 10px;
            font-size: 0.875rem;
        }

        .btn.small.primary {
            flex: 1;
        }

        .panel {
            margin-top: 18px;
            padding: 24px;
            border-radius: var(--radius);
            background: var(--surface);
            border: 1px solid var(--stroke);
            box-shadow: var(--shadow);
        }

        body.light-theme .panel {
            background: rgba(255, 255, 255, 0.92);
        }

        footer {
            margin-top: 36px;
            border-top: 1px solid var(--stroke);
            padding: 22px 0 40px;
            color: var(--muted);
        }

        footer .footer-content {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            align-items: center;
            flex-wrap: wrap;
        }

        .modal {
            position: fixed;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
            background: var(--overlay);
            z-index: 120;
        }

        body.light-theme .modal {
            background: rgba(245, 242, 236, 0.9);
        }

        .modal.open {
            display: flex;
        }

        .modal-card {
            width: min(1100px, 96vw);
            background: var(--surface-strong);
            border-radius: var(--radius);
            overflow: hidden;
            display: flex;
            align-items: center;
            border: 1px solid var(--stroke);
            max-height: 88vh;
        }

        body.light-theme .modal-card {
            background: rgba(255, 255, 255, 0.98);
        }

        .gallery-main {
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 320px;
            position: relative;
            overflow: hidden;
            background: var(--surface-solid);
        }

        body.light-theme .gallery-main {
            background: #f1f3f5;
        }

        .gallery-main img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        div.close-x {
            position: fixed;
            top: 20px;
            right: 20px;
            z-index: 130;
            padding: 10px;
            border-radius: 50%;
            cursor: pointer;
            color: #fff;
            font-size: 1.2rem;
            font-weight: bold;
            transition: background-color 0.2s ease, transform 0.2s ease;
            background: rgba(229, 57, 53, 0.08);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        div.close-x:hover {
            background: rgba(229, 57, 53, 0.2);
            transform: scale(1.05);
        }

        .gallery-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(229, 57, 53, 0.75);
            border: none;
            color: #fff;
            font-size: 1.6rem;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
            transition: background 0.2s, transform 0.2s;
            touch-action: manipulation;
        }

        .gallery-arrow:hover {
            background: rgba(229, 57, 53, 0.95);
            transform: translateY(-50%) scale(1.05);
        }

        .gallery-arrow.left {
            left: 12px;
        }

        .gallery-arrow.right {
            right: 12px;
        }

        .thumbs {
            display: flex;
            gap: 10px;
            padding: 12px;
            overflow-x: auto;
            background: rgba(229, 57, 53, 0.05);
            flex-wrap: wrap;
        }

        body.light-theme .thumbs {
            background: rgba(229, 57, 53, 0.08);
        }

        .thumbs img {
            width: 70px;
            height: 60px;
            object-fit: cover;
            border-radius: 8px;
            cursor: pointer;
            opacity: 0.6;
            transition: 0.2s;
        }

        .thumbs img.active,
        .thumbs img:hover {
            opacity: 1;
            outline: 2px solid #fff;
        }

        body.light-theme .thumbs img.active,
        body.light-theme .thumbs img:hover {
            outline: 2px solid #1f2328;
        }

        body.no-scroll {
            overflow: hidden;
        }

        .animate-me {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }

        .animate-me.visible {
            opacity: 1;
            transform: translateY(0);
        }

        .card.animate-me {
            transition: opacity 0.4s ease-out, transform 0.4s ease-out;
        }

        @media (max-width: 980px) {
            .grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (max-width: 640px) {
            .nav {
                padding-top: 52px;
            }

            .theme-toggle {
                font-size: 0.8rem;
                padding: 6px 8px;
                margin-left: 0;
            }

            .menu {
                display: none;
            }

            .nav {
                flex-wrap: wrap;
            }

            .nav-actions {
                width: 100%;
                justify-content: flex-end;
                flex-wrap: wrap;
                gap: 10px;
            }

            .lang-switcher {
                flex-wrap: wrap;
                justify-content: flex-end;
                gap: 8px;
            }

            .lang-btn {
                font-size: 0.8rem;
                padding: 6px 8px;
            }

            .hamburger-menu {
                display: inline-flex;
                width: 36px;
                height: 36px;
                border-radius: 10px;
                border-color: var(--accent);
                background: transparent;
                font-size: 1.05rem;
            }

            .toolbar {
                flex-direction: column;
                align-items: stretch;
            }

            .filters {
                justify-content: center;
                gap: 8px;
            }

            #subFilters {
                border-left: none;
                padding-left: 0;
                justify-content: center;
                width: 100%;
                margin-top: 10px;
                flex-wrap: wrap;
                gap: 8px;
            }

            .filters .chip {
                font-size: 0.85rem;
                padding: 8px 10px;
            }

            #subFilters .chip {
                font-size: 0.8rem;
            }

            .search {
                width: 100%;
            }

            .card .actions {
                flex-direction: column;
            }

            .btn.small.primary {
                width: 100%;
            }

            .grid {
                grid-template-columns: 1fr;
            }

            .modal-card {
                width: 100vw;
                height: 100vh;
                border-radius: 0;
                flex-direction: column;
            }

            .gallery-main {
                min-height: 50vh;
            }

            .gallery-main img {
                max-height: 70vh;
            }

            .thumbs {
                flex-wrap: nowrap;
            }

            

            .back-to-top {
                right: 12px;
                bottom: 78px;
            }
        }

        @media (max-width: 420px) {
            .nav {
                padding-top: 58px;
            }

            .theme-toggle {
                font-size: 0.75rem;
                padding: 5px 8px;
            }

            .brand h1 {
                font-size: 1.05rem;
            }

            .logo img {
                width: 40px;
                height: 40px;
            }
        }

        .mobile-menu {
            display: none;
            position: fixed;
            inset: 0;
            background: radial-gradient(circle at 15% 10%, rgba(229, 57, 53, 0.18), transparent 45%),
                var(--surface-strong);
            z-index: 90;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 18px;
            padding: 48px 20px 32px;
        }

        body.light-theme .mobile-menu {
            background: rgba(255, 255, 255, 0.98);
        }

        .mobile-menu.open {
            display: flex;
            animation: menuFadeIn 0.2s ease;
        }

        @keyframes menuFadeIn {
            from {
                opacity: 0;
                transform: translateY(8px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .mobile-menu a {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text);
            padding: 14px 18px;
            width: min(360px, 90%);
            text-align: center;
            border-radius: 14px;
            border: 1px solid rgba(255, 255, 255, 0.08);
            background: rgba(21, 24, 28, 0.72);
            transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
        }

        body.light-theme .mobile-menu a {
            background: rgba(255, 255, 255, 0.75);
            border-color: rgba(31, 35, 40, 0.12);
        }

        .mobile-menu a:hover {
            transform: translateY(-1px);
            border-color: rgba(229, 57, 53, 0.35);
        }

        .mobile-menu .wa-btn {
            background: linear-gradient(120deg, var(--accent), var(--accent-2));
            color: #ffffff;
            padding: 14px 24px;
            border-radius: 14px;
            font-weight: 700;
            font-size: 1.05rem;
            width: min(360px, 90%);
            justify-content: center;
            box-shadow: 0 12px 24px rgba(229, 57, 53, 0.25);
        }
        .mobile-menu .lang-switcher {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
            width: min(360px, 90%);
        }

        .mobile-menu .lang-btn {
            width: 100%;
            text-align: center;
            padding: 8px 6px;
            font-size: 0.8rem;
        }

        .float-wa {
            position: fixed;
            right: 18px;
            bottom: 18px;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #25d366;
            color: #ffffff;
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
            z-index: 80;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .float-wa:hover {
            transform: translateY(-2px);
        }


  

        .back-to-top {
            position: fixed;
            right: 18px;
            bottom: 90px;
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--accent);
            color: #ffffff;
            box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
            opacity: 0;
            pointer-events: none;
            transform: translateY(8px);
            transition: opacity 0.2s ease, transform 0.2s ease;
            z-index: 80;
        }

        .back-to-top.show {
            opacity: 1;
            pointer-events: auto;
            transform: translateY(0);
        }
