﻿/* --- VariÃ¡veis CSS: Modo Escuro (PadrÃ£o) --- */
        :root {
            --bg-base: #0f131f;
            --bg-surface: #171d2d;
            --bg-surface-hover: #1e2638;
            --bg-input: #1e2638;
            --text-main: #f8fafc;
            --text-muted: #94a3b8;
            --primary: #ffd400;
            --primary-hover: #eab308;
            --border: #2a3449;
            --danger: #ef4444;
            --danger-bg: rgba(239, 68, 68, 0.15);
            --danger-light: #ffb3b3;
            --danger-light-bg: #ffcccc;
            --info: #0f62fe;
            --info-hover: #0353e9;
            --info-bg: rgba(15, 98, 254, 0.15);
            --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
            --radius: 12px;
            --radius-sm: 6px;
            --transition: all 0.3s ease;
        }

        /* --- VariÃ¡veis CSS: Modo Claro --- */
        [data-theme="light"] {
            --bg-base: #f8fafc;
            --bg-surface: #ffffff;
            --bg-surface-hover: #f1f5f9;
            --bg-input: #f1f5f9;
            --text-main: #0f172a;
            --text-muted: #64748b;
            --primary: #eab308;
            --primary-hover: #ca8a04;
            --border: #e2e8f0;
            --danger: #dc2626;
            --danger-bg: #fee2e2;
            --danger-light: #dc2626;
            --danger-light-bg: #fca5a5;
            --info: #2563eb;
            --info-hover: #1d4ed8;
            --info-bg: #dbeafe;
            --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
        }

        * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
        body {
            background-color: var(--bg-base); color: var(--text-main);
            line-height: 1.5; -webkit-font-smoothing: antialiased;
            transition: background-color 0.3s, color 0.3s;
        }
        body.loading { overflow: hidden; }
        a { text-decoration: none; color: inherit; transition: var(--transition); }
        ul { list-style: none; }
        button, input, select { border: none; outline: none; background: none; font-family: inherit; }
        button { cursor: pointer; transition: var(--transition); }
        img { max-width: 100%; height: auto; display: block; }

        .container { max-width: 1320px; margin: 0 auto; padding: 0 20px; }

        #preloader {
            position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
            background: var(--bg-base); z-index: 99999; display: flex; flex-direction: column;
            justify-content: center; align-items: center; gap: 20px;
            transition: opacity 0.6s ease, visibility 0.6s;
        }
        #preloader.hidden { opacity: 0; visibility: hidden; }
        .simple-spinner {
            width: 45px; height: 45px; border: 3px solid var(--border);
            border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite;
        }
        .loader-logo { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; color: var(--text-main); animation: pulse-opacity 1.5s ease-in-out infinite alternate; }
        .loader-logo span { color: var(--primary); }
        @keyframes spin { to { transform: rotate(360deg); } }
        @keyframes pulse-opacity { from { opacity: 0.5; } to { opacity: 1; } }

        .reveal { opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
        .active.reveal { opacity: 1; transform: translate(0); }

        header {
            padding: 15px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0;
            background: var(--bg-base); opacity: 0.98; backdrop-filter: blur(10px); z-index: 100;
        }
        .nav-container { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
        .logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.5px; }
        .logo span { color: var(--primary); }
        
        .search-bar {
            flex: 1; max-width: 500px; background: var(--bg-input); border-radius: var(--radius-sm);
            display: flex; align-items: center; padding: 0 15px; border: 1px solid transparent; transition: var(--transition);
        }
        .search-bar:focus-within { border-color: var(--primary); }
        .search-bar input { width: 100%; padding: 12px 10px; color: var(--text-main); }
        .search-bar input::placeholder { color: var(--text-muted); font-size: 0.9rem; }
        .search-bar i { color: var(--text-muted); }

        .header-actions { display: flex; align-items: center; gap: 20px; }
        .delivery-tag { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; display: flex; align-items: center; gap: 8px; text-transform: uppercase; letter-spacing: 0.5px;}
        .icon-btn { color: var(--text-main); font-size: 1.2rem; position: relative; transition: transform 0.2s; }
        .icon-btn:hover { color: var(--primary); transform: scale(1.1); }
        .cart-badge {
            position: absolute; top: -8px; right: -10px; background: var(--primary); color: #000;
            font-size: 0.7rem; font-weight: bold; width: 18px; height: 18px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
        }

        .page-header { margin: 30px 0; }
        .breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 20px; }
        .breadcrumb span { margin: 0 5px; }
        .breadcrumb a:hover { color: var(--primary); }
        
        .title-row {
            display: flex; justify-content: space-between; align-items: flex-end;
            margin-top: 15px; border-bottom: 1px solid var(--border); padding-bottom: 20px;
        }
        .title-row h1 { font-size: 2.5rem; font-weight: 800; margin-bottom: 5px; }
        .title-row p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
        
        .sort-box { display: flex; align-items: center; gap: 15px; font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px;}
        .sort-select {
            background: var(--bg-surface); border: 1px solid var(--border); color: var(--text-main);
            padding: 10px 15px; border-radius: var(--radius-sm); font-weight: 600; cursor: pointer;
            appearance: none; padding-right: 30px; background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2394a3b8%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
            background-repeat: no-repeat; background-position: right 10px top 50%; background-size: 10px auto; text-transform: none;
        }

        .main-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; margin-top: 30px; margin-bottom: 60px; align-items: start; }

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

        .filter-widget {
            background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px;
        }
        .filter-header {
            display: flex; justify-content: space-between; align-items: center; cursor: pointer;
            font-weight: 700; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px;
        }
        .filter-header i { color: var(--text-muted); transition: transform 0.3s; }
        .filter-content { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
        .filter-widget.collapsed .filter-content { display: none; }
        .filter-widget.collapsed .filter-header i { transform: rotate(-90deg); }

        .filter-search {
            background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm);
            padding: 5px 15px; display: flex; align-items: center;
        }
        .filter-search i { color: var(--text-muted); }
        .filter-search input {
            background: transparent; border: none; color: var(--text-main);
            padding: 10px; width: 100%; outline: none;
        }
        .filter-search input::placeholder { color: var(--text-muted); }

        .checkbox-label {
            display: flex; align-items: center; gap: 12px; font-size: 0.95rem; color: var(--text-muted); cursor: pointer; transition: color 0.2s;
        }
        .checkbox-label:hover { color: var(--text-main); }
        .checkbox-label input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
        .checkmark {
            width: 20px; height: 20px; background: var(--bg-input); border: 1px solid var(--border); border-radius: 4px; display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0;
        }
        .checkbox-label input:checked ~ .checkmark { background: var(--primary); border-color: var(--primary); }
        .checkmark::after {
            content: "\f00c"; font-family: "FontAwesome"; color: #000; font-size: 12px; display: none;
        }
        .checkbox-label input:checked ~ .checkmark::after { display: block; }
        .checkbox-label input:checked ~ span:last-child { color: var(--text-main); font-weight: 500; }

        .category-parent { margin-bottom: 10px; }
        .category-parent > .checkbox-label { font-weight: 600; color: #eee; margin-bottom: 5px; }
        .category-children { margin-left: 25px; margin-top: 5px; display: flex; flex-direction: column; gap: 5px; }
        .category-children .checkbox-label { color: #aaa; font-size: 0.9rem; }

        .price-display {
            display: flex; justify-content: space-between; margin-bottom: 15px;
            padding: 10px 15px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm);
        }
        .price-display span { color: var(--primary); font-weight: 700; }
        .price-display .sep { color: var(--text-muted); }

        .price-slider { padding: 0 5px; margin-bottom: 15px; }
        .price-slider input[type="range"] {
            width: 100%; accent-color: var(--primary); margin-bottom: 5px;
        }

        .filter-clear {
            display: block; text-align: center; color: var(--text-muted);
            text-decoration: none; font-size: 0.9rem; transition: color 0.2s;
        }
        .filter-clear:hover { color: var(--primary); }

        .product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 25px; }

        .product-card {
            background: var(--bg-surface); border: 1px solid var(--border); border-radius: var(--radius);
            padding: 20px; display: flex; flex-direction: column; position: relative; transition: all 0.3s;
        }
        .product-card:hover { border-color: rgba(15, 98, 254, 0.4); box-shadow: var(--shadow); transform: translateY(-4px); }
        
        .badges-col { position: absolute; top: 15px; left: 15px; display: flex; flex-direction: column; gap: 5px; z-index: 2; }
        .badge {
            font-size: 0.7rem; padding: 4px 12px; border-radius: 20px; font-weight: 700; width: fit-content;
        }
        .badge.blue { background: rgba(0, 168, 255, 0.2); color: #00a8ff; }
        .badge.salmon { background: rgba(255, 99, 71, 0.2); color: tomato; }
        
        .wishlist-btn {
            position: absolute; top: 15px; right: 15px; color: var(--text-muted);
            width: 35px; height: 35px; display: flex; align-items: center; justify-content: center;
            z-index: 2; font-size: 1.1rem; background: rgba(0,0,0,0.5);
            border: 1px solid rgba(255,255,255,0.1); border-radius: 50%;
        }
        .wishlist-btn:hover { color: #ff4d4d; }
        .wishlist-btn.active { color: #ff4d4d; }
        .wishlist-btn.active i { font-weight: 900; }

        .product-img {
            height: 200px; border-radius: 8px; overflow: hidden; margin-bottom: 15px;
            background: var(--bg-base);
        }
        .product-img img {
            width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s;
        }
        .product-card:hover .product-img img { transform: scale(1.05); }
        
        .product-rating { color: #f1c40f; font-size: 0.8rem; margin-bottom: 8px; }
        .product-rating span { color: var(--text-muted); margin-left: 5px; font-weight: 500; }
        
        .product-title { color: var(--text-main); font-size: 1.1rem; margin: 0 0 15px 0; font-weight: 500; }
        .product-title a { color: inherit; text-decoration: none; }
        .product-title a:hover { color: var(--primary); }
        
        .price-row { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; }
        .price-block { display: flex; flex-direction: column; }
        .price-current { font-size: 1.1rem; font-weight: 700; color: var(--text-main); }
        .price-current.highlight { color: var(--primary); font-size: 1.25rem; }

        .btn-add {
            background: rgba(255,255,255,0.1); color: #fff; padding: 8px 16px; border-radius: var(--radius-sm);
            font-weight: 600; font-size: 0.85rem; transition: all 0.3s;
        }
        .btn-add:hover { background: var(--primary); color: #000; }
        .out-of-stock { color: tomato; font-weight: 600; font-size: 0.9rem; }

        .pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 50px; }
        .page-link {
            width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
            border-radius: var(--radius-sm); font-size: 0.9rem; font-weight: 600; color: var(--text-muted);
            background: var(--bg-surface); transition: var(--transition); border: 1px solid transparent;
        }
        .page-link:hover:not(.dots) { border-color: var(--border); color: var(--text-main); }
        .page-link.active { background: var(--primary); color: #000; }
        .page-link.dots { background: transparent; cursor: default; }

        .empty-state {
            text-align: center; padding: 50px; background: var(--bg-surface);
            border-radius: var(--radius); border: 1px dashed var(--border);
        }
        .empty-state i { font-size: 3rem; color: var(--text-muted); margin-bottom: 20px; }
        .empty-state h3 { font-size: 1.5rem; color: var(--text-main); }
        .empty-state p { color: var(--text-muted); }
        .empty-state a {
            display: inline-block; margin-top: 15px; background: var(--primary); color: #000;
            padding: 10px 20px; border-radius: var(--radius-sm); text-decoration: none; font-weight: bold;
        }

        .filter-toggle {
            display: none; width: 100%; padding: 12px; background: var(--primary); color: #000;
            border: none; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.9rem;
            cursor: pointer; margin-bottom: 20px; text-align: center;
        }

        footer { background: var(--bg-surface); padding: 60px 0 20px; border-top: 1px solid var(--border); }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
        .footer-col p { color: var(--text-muted); font-size: 0.9rem; margin: 15px 0; max-width: 280px; }
        .social-links { display: flex; gap: 15px; }
        .social-links a { color: var(--text-muted); font-size: 1.2rem; width: 35px; height: 35px; background: var(--bg-input); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.3s; }
        .social-links a:hover { background: var(--primary); color: #000; transform: translateY(-3px) rotate(360deg); }
        .footer-col h4 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-main); }
        .footer-col ul { list-style: none; }
        .footer-col ul li { margin-bottom: 12px; }
        .footer-col ul a { color: var(--text-muted); font-size: 0.9rem; transition: var(--transition); font-weight: 500; display: inline-block; }
        .footer-col ul a:hover { color: var(--primary); transform: translateX(5px); }
        .newsletter-form { display: flex; margin-top: 15px; }
        .newsletter-form input {
            background: var(--bg-input); padding: 12px 15px; border-radius: 8px 0 0 8px;
            width: 100%; color: var(--text-main); border: 1px solid transparent; transition: 0.3s;
        }
        .newsletter-form input:focus { border-color: var(--primary); }
        .newsletter-form button { background: var(--primary); color: #000; padding: 0 20px; border-radius: 0 8px 8px 0; font-weight: bold; transition: 0.3s; }
        .newsletter-form button:hover { background: var(--primary-hover); padding: 0 25px; }
        .footer-bottom {
            text-align: center; padding-top: 20px; border-top: 1px solid var(--border);
            color: var(--text-muted); font-size: 0.85rem; font-weight: 500; position: relative;
        }

        @media (max-width: 1024px) {
            .main-layout { grid-template-columns: 1fr; }
            .sidebar {
                display: none; position: fixed; top: 0; left: 0; width: 300px; height: 100vh;
                background: var(--bg-base); z-index: 1000; padding: 20px; overflow-y: auto;
                border-right: 1px solid var(--border);
            }
            .sidebar.open { display: block; }
            .filter-toggle { display: block; }
            .sidebar-overlay {
                display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
                background: rgba(0,0,0,0.6); z-index: 999;
            }
            .sidebar-overlay.open { display: block; }
            .product-grid { grid-template-columns: repeat(3, 1fr); }
            .title-row h1 { font-size: 2rem; }
            .footer-grid { grid-template-columns: 1fr 1fr; }
        }
        @media (max-width: 768px) {
            .nav-container { flex-wrap: wrap; }
            .search-bar { order: 3; max-width: 100%; width: 100%; }
            .delivery-tag { display: none; }
            .product-grid { grid-template-columns: repeat(2, 1fr); }
            .title-row { flex-direction: column; align-items: flex-start; gap: 15px; }
            .title-row h1 { font-size: 1.6rem; }
        }
        @media (max-width: 480px) {
            .product-grid { grid-template-columns: 1fr; gap: 15px; }
            .product-card { padding: 15px; }
            .product-img { height: 180px; }
            .sidebar { width: 100%; }
            .sort-box span { display: none; }
            .title-row h1 { font-size: 1.3rem; }
            .footer-grid { grid-template-columns: 1fr; gap: 30px; }
        }


.u-style-001 { color: var(--text-main); }
.u-style-002 { color:var(--primary) }
