/* Estilos para a página de produtos recondicionados */
:root {
    /* Cores */
    --primary-color: #e63946; /* Vermelho principal */
    --primary-hover: #c1121f; /* Vermelho mais escuro para hover */
    --primary-light: rgba(230, 57, 70, 0.1);
    --secondary-color: #2c3e50;
    --accent-color: #e74c3c;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --text-color: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --black: #000000;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    
    /* Bordas */
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-lg: 12px;
    
    /* Transições */
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
    
    /* Espaçamentos */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Tipografia */
    --font-base: 1rem;
    --font-sm: 0.875rem;
    --font-xs: 0.75rem;
    --font-lg: 1.125rem;
    --font-xl: 1.25rem;
    --font-2xl: 1.5rem;
    --font-3xl: 1.875rem;
    --font-4xl: 2.25rem;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ==========================================================================
   #BASE
   ========================================================================== */

/* Reset e estilos base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-font-feature-settings: 'kern' 1;
    font-feature-settings: 'kern' 1;
    overflow-x: hidden;
    padding-top: 0 !important;
}

/* Highlight animation for form fields */
@keyframes highlight {
    0% { 
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.7);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 0 8px rgba(230, 57, 70, 0);
        transform: scale(1.01);
    }
    100% { 
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
        transform: scale(1);
    }
}

.highlight {
    animation: highlight 1.5s ease-out;
    border-color: var(--primary-color) !important;
    background-color: rgba(230, 57, 70, 0.05) !important;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Ensure the select dropdown is visible above other elements */
select.highlight {
    z-index: 1001;
}

/* Style for the select dropdown when highlighted */
select.highlight {
    background-color: white !important;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
    transition: color 0.15s ease-in-out;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: none;
}

/* Imagens responsivas */
img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-style: none;
    -ms-interpolation-mode: bicubic;
}

/* Botões e elementos clicáveis */
button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
    appearance: button; /* Padrão */
    cursor: pointer;
}

button:focus {
    outline: none;
}

/* Acessibilidade: foco visível */
:focus-visible {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
}

/* Acessibilidade: esconder conteúdo visualmente, mas mantê-lo acessível */
.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;
}

/* Otimização de renderização */
.optimize-rendering {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
    will-change: transform;
}

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

/* ==========================================================================
   #HEADER
   ========================================================================== */

/* Main Header */
.header {
    background: #000 !important;
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 10px 0;
    height: 80px; /* Altura fixa para o header */
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    /* Garantindo que não há transformações */
    transform: none !important;
    transition: none !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 2rem !important;
    height: 100%;
    box-sizing: border-box;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-right: 15px;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
    font-family: 'Poppins', sans-serif;
}

.logo-sub {
    font-size: 1rem;
    color: #e63946;
    font-weight: 600;
    letter-spacing: 1px;
    margin-top: -2px;
}

/* Badge de Aniversário */
.anniversary-badge {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    margin-left: 10px;
}

.badge-img {
    height: 25px;
    margin-right: 8px;
}

.badge-text {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Aniversário Badge */
.aniversario-badge {
    display: flex;
    align-items: center;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 20px;
    padding: 3px 10px 3px 5px;
    margin-left: 15px;
    border: 1px solid rgba(230, 57, 70, 0.2);
}

.aniversario-25 {
    height: 30px !important;
    width: 30px !important;
    margin-right: 5px;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #e63946;
}

/* Navigation Menu */
.nav-links {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-item {
    margin-left: 30px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    padding: 5px 0;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #e63946;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #e63946;
    transition: width 0.3s ease;
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

/* Seletor de Idioma */
.language-selector {
    margin-left: 1rem;
    position: relative;
    min-width: 140px; /* Largura fixa maior para acomodar todas as opcoes */
}

.language-selector select {
    width: 100%;
    padding: 8px 30px 8px 12px;
    text-align: left;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: rgba(255,255,255,0.1) 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%23ffffff%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") no-repeat;
    background-position: right 10px center;
    background-size: 10px auto;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector select:hover {
    background: rgba(255,255,255,0.15);
}

.language-selector select:focus {
    outline: none;
    border-color: #e63946;
}

.language-selector option {
    background: #2c3e50;
    color: #fff;
    padding: 8px 12px;
    border: none;
}

/* Removendo classes de scroll que movimentam o header */
.header.scroll-down,
.header.scroll-up {
    transform: none !important;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    padding-top: 80px; /* Igual à altura do header */
    margin: 0;
    box-sizing: border-box;
}

/* Garantir que o conteúdo principal não fique escondido atrás do header fixo */
main, .hero, .content-wrapper {
    margin-top: 0;
    padding-top: 20px; /* Espaço adicional após o header */
}

/* Garantir que o conteúdo não fique muito próximo das bordas */
.hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 100px 5% 80px;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .header {
        padding: 8px 0;
    }
    
    .logo-main {
        font-size: 1.5rem;
    }
    
    .logo-sub {
        font-size: 0.9rem;
    }
    
    .anniversary-badge {
        padding: 4px 10px;
    }
    
    .badge-img {
        height: 20px;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
    
    .nav-item {
        margin-left: 15px;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
    
    .language-selector select {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .anniversary-badge {
        display: none; /* Esconde o badge em telas menores para economizar espaço */
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 65px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .nav-item {
        margin-left: 15px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    min-height: 90vh;
    display: flex;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    overflow: hidden;
    padding: 120px 0 180px;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.7)), url('/assets/images/ref.png') center/cover no-repeat;
    background-attachment: fixed;
    color: #fff;
    box-shadow: inset 0 -10px 30px -10px rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px !important;
    margin: 0 auto;
    padding: 12vh 0 0 25vw !important; /* same left offset as homepage hero */
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

.hero-text {
    max-width: 1000px;
    position: relative;
    z-index: 3;
    padding: 3rem 0;
}

.hero-badge {
    display: inline-block;
    background: #e63946;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    margin: -80px 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    position: relative;
    z-index: 1;
    border: none;
    transform: translateY(-40px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.8rem;
    line-height: 1.15;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    max-width: 100%;
    width: 100%;
    padding: 0;
    text-transform: none;
    letter-spacing: -0.5px;
    box-sizing: border-box;
}

.hero-title .highlight {
    color: #e63946;
    display: block;
    background: linear-gradient(90deg, #e63946, #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    max-width: 100%;
    padding: 0;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
    letter-spacing: 0.3px;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.hero-features {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 30px;
    margin: 30px 0 40px 0;
    max-width: 100%;
    width: 100%;
    padding: 0;
    box-sizing: border-box;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
}

.hero-features::-webkit-scrollbar {
    height: 5px;
}

.hero-features::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.9rem 1.4rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-item i {
    color: #e63946;
    margin-right: 8px;
    font-size: 1.1rem;
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.hero-buttons .btn-primary {
    background: #e63946;
    color: white;
    padding: 14px 32px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: none;
}

.hero-buttons .btn-primary i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.hero-buttons .btn-primary:hover {
    background: #c1121f;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(230, 57, 70, 0.4);
}

.hero-buttons .btn-outline {
    background: transparent;
    color: white;
    padding: 16px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1rem;
}

.hero-buttons .btn-outline i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.hero-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 5;
}

.scroll-down {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: bounce 2s infinite;
}

.scroll-down:hover {
    background: #e63946;
    transform: translateY(5px);
}

@media (max-width: 992px) {
    .hero {
        min-height: 500px;
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 15px;
        margin-bottom: 25px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin: 20px auto;
    }
    
    .feature-item {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
        padding: 120px 20px 80px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons .btn-primary {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    
    .aniversario-25 {
        height: 35px !important;
        width: 35px !important;
        margin-left: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 50vh;
        padding: 80px 15px 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn-primary {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

/* Header da seção de produtos */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 30px 0 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.product-counter {
    font-size: 0.95rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-indicator {
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.filter-indicator::before {
    content: '✓';
    font-weight: bold;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.sort-options select {
    padding: 8px 12px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    background-color: white;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.sort-options select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.2);
}

/* Hero Section */
.recondicionados-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #e63946 100%);
    color: white;
    padding: 60px 0 40px;
    position: relative;
    overflow: hidden;
}

.recondicionados-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.recondicionados-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
    max-width: 700px;
}

/* Search and Filters */
.search-container {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-top: 30px;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
}

.search-box input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.2);
}

.filter-toggles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-btn {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    background: #e9ecef;
}

.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Estilo para o botão de favoritos na barra de filtros */
.filter-btn.favorite-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.filter-btn.favorite-btn i {
    color: #e74c3c;
    transition: all 0.3s ease;
}

.filter-btn.favorite-btn.active {
    background: #e74c3c;
    border-color: #e74c3c;
}

.filter-btn.favorite-btn.active i {
    color: white;
}

.filter-btn.favorite-btn:not(.active):hover i {
    transform: scale(1.1);
}

/* Estilo para quando não houver favoritos */
.filter-btn.favorite-btn:not(.active) {
    opacity: 0.7;
}

.filter-btn.favorite-btn:not(.active):hover {
    opacity: 1;
}

.price-filter {
    margin-top: 20px;
    padding: 0 15px;
    width: 100%;
}

.price-range-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.price-range-container {
    position: relative;
    padding: 15px 0 25px;
}

.price-range-value {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}

.price-range-value label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    color: var(--text-color);
    font-weight: 500;
}

.price-range-value span {
    color: var(--primary-color);
    font-weight: 700;
}

.price-filter input[type="range"] {
    width: 100%;
    height: 6px;
    -webkit-appearance: none;
    appearance: none; /* Padrão */
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
    margin: 0;
    padding: 0;
}

/* Estilo para navegadores WebKit (Chrome, Safari, etc) */
.price-filter input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.price-filter input[type="range"]:hover::-webkit-slider-thumb {
    transform: scale(1.1);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.2);
}

/* Estilo para Firefox */
.price-filter input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Estilo para a trilha no Firefox */
.price-filter input[type="range"]::-moz-range-track {
    background: #e0e0e0;
    height: 6px;
    border-radius: 3px;
}

/* Estilo para a trilha no Edge/IE */
.price-filter input[type="range"]::-ms-track {
    width: 100%;
    height: 6px;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

.price-filter input[type="range"]::-ms-fill-lower,
.price-filter input[type="range"]::-ms-fill-upper {
    background: #e0e0e0;
    border-radius: 3px;
}

.price-filter input[type="range"]::-ms-thumb {
    width: 18px;
    height: 18px;
    background: var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    margin-top: 0;
}

/* Product Grid */
.recondicionados-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0 50px;
    padding: 10px 0;
}

/* Responsividade do grid */
@media (max-width: 768px) {
    .recondicionados-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .recondicionados-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
    
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .sort-options {
        width: 100%;
    }
    
    .sort-options select {
        width: 100%;
    }
}

.recondicionado-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-color);
}

.recondicionado-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

/* Badges */
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 8px;
}

.badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
    line-height: 1.2;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.badge.discount {
    background: #e63946; /* Vermelho principal */
    opacity: 0.9; /* Leve transparência */
}

.badge.new {
    background: #2ecc71; /* Verde original */
}

.badge.stock {
    background: #f39c12; /* Laranja original */
    font-size: 0.7rem;
}

.recondicionado-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Product Image */
.product-image {
    position: relative;
    padding: 20px;
    background: #f8f9fa;
    text-align: center;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.5s ease;
    mix-blend-mode: multiply;
}

.recondicionado-card:hover .product-image img {
    transform: scale(1.05);
}

/* Quick View */
.quick-view {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.recondicionado-card:hover .quick-view {
    bottom: 0;
}

.quick-view i {
    font-size: 0.9rem;
}

/* Product Actions */
.product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.recondicionado-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.btn-wishlist,
.btn-compare {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-wishlist:hover,
.btn-compare:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-wishlist.active {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.product-image {
    position: relative;
    padding: 20px;
    background: #f8f9fa;
    text-align: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-image:hover img {
    transform: scale(1.05);
}

.quick-view {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image:hover .quick-view {
opacity: 1;
}

.product-content {
padding: 20px;
flex-grow: 1;
display: flex;
flex-direction: column;
}

.product-category {
font-size: 0.8rem;
color: var(--primary-color);
font-weight: 500;
margin-bottom: 6px;
text-transform: uppercase;
letter-spacing: 0.5px;
}

.product-content h3 {
font-size: 1.1rem;
font-weight: 600;
margin: 0 0 10px;
color: var(--text-color);
line-height: 1.3;
}

.rating {
display: flex;
align-items: center;
margin-bottom: 12px;
}

.stars {
--percent: calc(var(--rating) / 5 * 100%);
display: inline-block;
font-size: 0.9rem;
font-family: 'Font Awesome 5 Free';
position: relative;
}

.stars::before {
content: '★★★★★';
letter-spacing: 2px;
background: linear-gradient(90deg, #FFD700 var(--percent), #ddd var(--percent));
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.review-count {
font-size: 0.8rem;
color: var(--text-light);
margin-left: 6px;
}

.product-specs {
margin: 10px 0 15px;
font-size: 0.9rem;
color: var(--text-light);
flex-grow: 1;
}

.product-specs .spec {
margin-bottom: 8px;
display: flex;
align-items: center;
gap: 8px;
}

.product-specs .spec i {
width: 16px;
color: var(--primary-color);
text-align: center;
}

.product-footer {
margin-top: auto;
padding-top: 15px;
border-top: 1px dashed var(--border-color);
}

.price {
margin-bottom: 15px;
line-height: 1.4;
}

.current-price {
font-size: 1.5rem;
font-weight: 700;
color: var(--primary-color);
margin-right: 8px;
}

.original-price {
font-size: 1rem;
color: var(--text-light);
text-decoration: line-through;
}

.installment {
display: block;
font-size: 0.85rem;
color: #27ae60;
font-weight: 500;
margin-top: 4px;
}

.btn-buy {
width: 100%;
padding: 12px;
background: var(--primary-color);
color: white;
border: none;
border-radius: var(--border-radius);
font-size: 1rem;
font-weight: 500;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
transition: var(--transition);
}

.btn-buy:hover {
background: var(--primary-hover);
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-buy i {
font-size: 1rem;
}

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

.recondicionado-card {
animation: fadeIn 0.4s ease-out forwards;
opacity: 0;
}

.recondicionados-grid {
counter-reset: grid-item;
}

.recondicionado-card {
animation-delay: calc(0.05s * var(--i));
}

@media (max-width: 576px) {
.product-content {
padding: 15px;
}
.product-specs {
font-size: 0.85rem;
}
.current-price {
font-size: 1.3rem;
}
.original-price {
font-size: 0.95rem;
}
}

.product-category {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-content h2, .product-content h3 {
    font-size: 1.1rem;
    margin: 0 0 10px 0;
    color: var(--text-color);
    font-weight: 600;
    line-height: 1.3;
}

.product-specs {
    margin: 10px 0 15px;
}

.spec {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.spec i {
    margin-right: 8px;
    color: var(--text-light);
    width: 16px;
    text-align: center;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
}

.price {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.current-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 8px;
}

.original-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.btn-buy {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-buy:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-buy i {
    font-size: 1rem;
}

/* Ações do produto */
.product-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 15px;
}

.btn-wishlist,
.btn-compare {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-wishlist:hover,
.btn-compare:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Features Section */
.features-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin: 60px 0;
}

.features-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

.feature p {
    color: #7f8c8d;
    margin: 0;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #e63946 0%, #c1121f 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.newsletter-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 6px 0 0 6px;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0 25px;
    border-radius: 0 6px 6px 0;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #c0392b;
}

/* Contador de produtos */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.product-counter {
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-indicator {
    background: var(--bg-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.filter-indicator::before {
    content: '✓';
    font-weight: bold;
}

/* ==========================================================================
   #FORMULÁRIO DE PEDIDO
   ========================================================================== */

.order-form-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    border: 1px solid #e0e0e0;
}

.recondicionados-form-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    width: 100%;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
}

.form-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1;
    min-width: 250px;
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.1);
}

.required-field::after {
    content: " *";
    color: var(--danger-color);
}

.error-message {
    color: var(--danger-color);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

/* Campo de outro produto */
.other-product-group {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    margin-top: -0.5rem;
    margin-bottom: 1rem;
}

.other-product-group.visible {
    display: block;
    opacity: 1;
}

/* Seção de pagamento e mensagem */
.payment-message-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 1rem;
}

.payment-section, .message-section {
    flex: 1;
    min-width: 300px;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.payment-option {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f9f9f9;
    text-align: center;
}

.payment-option:hover {
    border-color: var(--primary-color);
    background: #fff;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-option input[type="radio"]:checked + .payment-icon {
    color: var(--primary-color);
}

.payment-option input[type="radio"]:checked ~ .payment-label {
    color: var(--primary-color);
    font-weight: 600;
}

.payment-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
    transition: color 0.3s ease;
}

.payment-label {
    font-size: 0.9rem;
    color: #555;
    transition: color 0.3s ease;
}

/* Área de mensagem */
.message-section textarea {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.message-section textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.1);
}

/* Botão de envio */
.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Responsividade */
@media (max-width: 992px) {
    .form-row {
        gap: 1rem;
    }
    
    .form-group {
        min-width: calc(50% - 0.75rem);
    }
    
    .payment-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .order-form-section,
    .recondicionados-form-section {
        padding: 1.5rem;
    }
    
    .form-group {
        min-width: 100%;
    }
    
    .payment-section, 
    .message-section {
        min-width: 100%;
    }
    
    .payment-options {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .order-form-section,
    .recondicionados-form-section {
        padding: 1rem;
        margin: 1.5rem 0;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .btn-submit {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   #VIDEO MODAL
   ========================================================================== */

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.show {
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.video-modal.show .video-modal-content {
    transform: translateY(0);
}

.video-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
}

.video-close-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsividade */
@media (max-width: 768px) {
    .video-modal-content {
        width: 95%;
    }
}

/* ==========================================================================
   #FOOTER
   ========================================================================== */

.footer {
    background: #000000;
    color: #ffffff;
    padding: 4rem 0 2rem;
    margin-top: auto;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info,
.footer-links,
.footer-social {
    color: #ffffff;
}

.footer-info h3,
.footer-links h4,
.footer-social h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    color: #fff;
    letter-spacing: 0.5px;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #ffffff;
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ffffff;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* ==========================================================================
   #RESPONSIVIDADE E ACESSIBILIDADE
   ========================================================================== */

/* Acessibilidade: contraste aprimorado */
@media (prefers-contrast: more) {
    :root {
        --text-color: #000000;
        --text-light: #4a4a4a;
        --border-color: #000000;
    }
    
    .btn-buy,
    .btn-wishlist,
    .btn-compare,
    .filter-btn {
        border: 2px solid currentColor;
    }
}

/* Redução de movimento */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Modo escuro - Opcional (removendo o forçamento automático) */
@media (prefers-color-scheme: dark) {
    /* Manter o tema claro como padrão, a menos que o usuário ative o modo escuro */
    /* Para ativar o modo escuro, descomente o código abaixo */
    /*
    :root {
        --text-color: #f8f9fa;
        --text-light: #adb5bd;
        --bg-light: #212529;
        --white: #343a40;
        --border-color: #495057;
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.35);
        --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
    }
    
    body {
        background-color: #121212;
    }
    
    .recondicionado-card,
    .search-container,
    .feature {
        background-color: #2d3436;
        border-color: #3e4a4d;
    }
    
    .product-image {
        background-color: #1e2224;
    }
    
    .btn-buy {
        background-color: var(--primary-color);
        color: white;
    }
    
    .btn-buy:hover {
        background-color: var(--primary-hover);
    }
    */
}

/* Tablets (até 992px) */
@media (max-width: 992px) {
    .recondicionados-hero h1 {
        font-size: 2.2rem;
    }
    
    .features-section .container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .recondicionados-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

/* Tablets pequenas (até 768px) */
@media (max-width: 768px) {
    .recondicionados-hero h1 {
        font-size: 1.8rem;
    }
    
    .search-container {
        padding: 20px 15px;
    }
    
    .filter-toggles {
        justify-content: flex-start;
    }
    
    .recondicionados-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .features-section .container {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
        border-radius: var(--border-radius);
    }
    
    .newsletter-form input {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
    }
    
    .newsletter-form button {
        margin-top: 0;
        padding: 15px;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .sort-options {
        width: 100%;
    }
    
    .sort-options select {
        width: 100%;
    }
}

/* Celulares (até 576px) */
@media (max-width: 576px) {
    .recondicionados-hero h1 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .recondicionados-hero p {
        font-size: 1rem;
    }
    
    .recondicionados-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-content {
        padding: 16px;
    }
    
    .product-content h3 {
        font-size: 1.05rem;
        margin-bottom: 8px;
    }
    
    .product-specs {
        font-size: 0.85rem;
    }
    
    .product-specs .spec {
        font-size: 0.82rem;
        margin-bottom: 6px;
    }
    
    .current-price {
        font-size: 1.3rem;
    }
    
    .original-price {
        font-size: 0.85rem;
    }
    
    .btn-buy {
        padding: 10px 16px;
        font-size: 0.95rem;
    }
    
    .filter-toggles {
        overflow-x: auto;
        padding-bottom: 8px;
        margin: 0 -16px 16px;
        padding: 0 16px 12px;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-toggles::-webkit-scrollbar {
        height: 4px;
    }
    
    .filter-toggles::-webkit-scrollbar-thumb {
        background: var(--border-color);
        border-radius: 2px;
    }
    
    .filter-btn {
        flex-shrink: 0;
    }
}

/* Estilos para os botões de ação do produto */
.product-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.recondicionado-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.btn-wishlist, .btn-compare {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-color);
    color: var(--text-light);
    display: flex !important; /* Força o display flex */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: relative;
    overflow: visible;
}

.btn-wishlist:hover, .btn-compare:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.btn-wishlist.active, .btn-wishlist.active:hover {
    color: #e74c3c;
    border-color: #e74c3c;
    background-color: white;
}

/* Garante que o ícone do coração fique visível */
.btn-wishlist.active i.fa-heart,
.btn-wishlist.active:hover i.fa-heart {
    color: #e74c3c;
    display: inline-block !important;
}

.btn-wishlist i, .btn-compare i {
    font-size: 14px;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    color: inherit;
}

/* Garante que o ícone de coração fique visível */
.btn-wishlist i.fa-heart,
.btn-wishlist i.far,
.btn-wishlist i.fas {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Estilo para o botão de ver detalhes */
.quick-view {
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    z-index: 2;
}

.recondicionado-card:hover .quick-view {
    bottom: 0;
    opacity: 1;
}

.quick-view:hover {
    background: var(--primary-hover);
}

.quick-view i {
    margin-right: 5px;
}

/* Estilos para o modal de detalhes do produto */
/* Estilos para o modal de visualização de produto */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
}

.modal-content {
    position: relative;
    background-color: #fff;
    margin: 0 auto;
    max-width: 800px;
    width: 90%;
    min-height: 500px;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    overflow: hidden;
}

/* Coluna das miniaturas - LADO ESQUERDO */
.modal-images-container {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 70px; /* Largura reduzida */
    background: #f5f5f5;
    border-right: 1px solid #eee;
    padding: 15px 5px;
    overflow-y: auto;
    z-index: 2;
}

.modal-thumbnails {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.modal-thumbnail {
    width: 50px; /* Tamanho reduzido */
    height: 50px;
    object-fit: contain;
    border: 2px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
    padding: 4px;
    display: block;
    margin: 5px auto;
    box-sizing: border-box;
}

.modal-thumbnail:hover, 
.modal-thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.05);
}

/* Lado direito do modal */
.modal-main-container {
    flex: 1;
    display: flex;
    flex-direction: row; /* Alterado para linha para colocar imagem e descrição lado a lado */
    max-height: 85vh;
    overflow: hidden;
    margin-left: 70px; /* Reduzido o espaço para as miniaturas */
    position: relative;
}

.modal-main-image-container {
    flex: 0 0 50%; /* Ocupa 50% da largura */
    padding: 20px;
    text-align: center;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 100%;
    overflow: hidden;
}

.modal-main-image {
    max-width: 80%; /* Reduz o tamanho da imagem */
    max-height: 300px; /* Altura máxima reduzida */
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.modal-main-image:hover {
    transform: scale(1.05); /* Efeito de zoom suave ao passar o mouse */
}

/* Conteúdo ao lado da imagem */
.modal-content-container {
    flex: 1;
    padding: 25px;
    overflow-y: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 100%;
}

/* Botão de fechar */
.modal .close {
    position: fixed;
    top: 30px;
    right: calc(5% + 15px);
    font-size: 28px;
    font-weight: bold;
    color: #555;
    cursor: pointer;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.95);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.modal .close:hover {
    background: #fff;
    color: #000;
    transform: rotate(90deg);
}

.modal-thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.modal-thumbnail.active {
    border-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.05);
}

.modal-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.8);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-content .close:hover {
    color: #000;
    background: rgba(255, 255, 255, 1);
    transform: rotate(90deg);
}

.modal-content-container {
    padding: 20px 30px;
    width: 100%;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.modal-product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.modal-title {
    font-size: 1.8rem;
    margin: 0 0 15px;
    color: #333;
    font-weight: 600;
}

.modal-description {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-product-content {
    margin-top: 20px;
}

.modal-product-content .price {
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.modal-product-content .btn-buy {
    display: block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto; /* Empurra o botão para baixo */
    margin-bottom: 0;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 10;
}

.modal-product-content .btn-buy:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

/* Estilos para telas menores */
@media (max-width: 992px) {
    .modal-main-container {
        flex-direction: column;
        margin-left: 0;
    }
    
    .modal-main-image-container {
        flex: 0 0 auto;
        max-height: 300px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    
    .modal-images-container {
        width: 100%;
        height: 80px;
        position: relative;
        border-right: none;
        border-bottom: 1px solid #eee;
        padding: 10px;
    }
    
    .modal-thumbnails {
        flex-direction: row;
        justify-content: center;
    }
    
    .modal-thumbnail {
        margin: 0 5px;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px auto;
        max-height: 90vh;
    }
    
    .modal-main-image {
        max-height: 250px;
    }
    
    .modal-thumbnail {
        width: 40px;
        height: 40px;
    }
}

.product-modal {
    display: none; /* Inicialmente escondido */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.product-modal.active {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.product-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Habilita interação quando visível */
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    margin: 5vh auto;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative; /* Garantindo posicionamento relativo */
    z-index: 10000; /* Garantindo que fique acima do overlay */
}

.product-modal.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    z-index: 10;
    transition: color 0.2s ease;
}

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

.modal-body {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 20px;
    color: #333; /* Cor do texto padrão */
    max-height: 80vh; /* Limitar altura para evitar rolagem excessiva */
}

/* Garantir que o conteúdo do modal seja visível */
.modal-details {
    color: #333; /* Cor do texto */
    padding: 20px;
}

/* Estilo para o título do produto no modal */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.modal-details h2 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.8rem;
    flex-grow: 1;
    padding-right: 15px;
}

/* Estilo do botão de favoritos no modal */
#modalWishlistBtn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: all 0.2s ease;
    padding: 5px;
    margin-left: 10px;
    flex-shrink: 0;
}

#modalWishlistBtn:hover {
    color: #e74c3c;
    transform: scale(1.1);
}

#modalWishlistBtn.active {
    color: #e74c3c;
}

#modalWishlistBtn i {
    display: inline-block;
    transition: all 0.2s ease;
}

/* Estilo para o preço no modal */
.product-price {
    margin: 20px 0;
}

.current-price {
    font-size: 2rem;
    font-weight: bold;
    color: #e74c3c;
}

.original-price {
    text-decoration: line-through;
    color: #7f8c8d;
    margin-left: 10px;
}

/* Estilo para o botão de fechar */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #7f8c8d;
    z-index: 10;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #e74c3c;
}

@media (min-width: 992px) {
    .modal-body {
        flex-direction: row;
        max-height: calc(90vh - 100px);
    }
    
    .modal-gallery {
        flex: 1;
        padding: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .modal-details {
        flex: 1;
        padding: 20px;
        border-left: 1px solid var(--border-color);
    }
}

.main-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 15px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
    display: block;
}

.thumbnail-gallery {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap; /* impede quebra de linha */
    overflow-x: auto;  /* scroll horizontal quando houver muitas miniaturas */
    justify-content: flex-start; /* alinha à esquerda para iniciar logo */
    margin-top: 15px;
    padding: 0 10px;
    scrollbar-width: thin; /* Firefox */
}
.thumbnail-gallery::-webkit-scrollbar {
    height: 6px;
}
.thumbnail-gallery::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

.thumbnail-item {
    flex: 0 0 60px; /* largura fixa e não encolhe */
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.thumbnail-item:hover {
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.thumbnail-item.active {
    border-color: var(--primary-color);
    opacity: 1;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumbnail-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .thumbnail-item {
        width: 50px;
        height: 50px;
    }
}

.modal-details h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.rating {
    display: flex;
    align-items: center;
}

.product-category {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.product-description {
    margin: 20px 0;
    line-height: 1.6;
}

.product-description h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.product-price {
    margin: 25px 0;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.original-price {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin: 5px 0;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.installment {
    color: #27ae60;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsividade */
@media (max-width: 991px) {
    .modal-content {
        width: 95%;
        margin: 2vh auto;
        max-height: 95vh;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .modal-details {
        margin-top: 20px;
    }
    
    .main-image {
        max-width: 100%;
    }
    
    .modal-details h2 {
        font-size: 1.5rem;
    }
    
    .current-price {
        font-size: 1.8rem;
    }
}

.nav-menu .btn-primary {
    background: #e63946 !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    min-width: unset !important;
    width: unset !important;
    margin-left: 1rem;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-menu .btn-primary:hover {
    background: #c1121f !important;
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
    transform: translateY(-2px);
}

/* Aviso de processamento manual */
.order-notice {
    margin: 1.5rem 0;
    animation: fadeIn 0.5s ease-out;
}

.notice-box {
    background-color: #e6f7ff;
    border-left: 4px solid #1890ff;
    padding: 1rem;
    border-radius: 4px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.notice-box i {
    color: #1890ff;
    font-size: 1.25rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.notice-box p {
    margin: 0;
    color: #333;
    font-size: 0.95rem;
    line-height: 1.5;
}

.notice-box strong {
    color: #096dd9;
}

/* ===============================
   Modal de Vídeo "Como Funciona"
   =============================== */
.modal-video {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-video.show {
    opacity: 1;
}

.modal-video-content {
    position: relative;
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal-video.show .modal-video-content {
    transform: translateY(0);
}

.modal-video-close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.modal-video-close:hover {
    color: var(--primary-color);
}

.modal-video .video-container {
    margin: 0 0 2rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: none;
}

.modal-video .video-wrapper {
    padding-bottom: 56.25%;
    height: 0;
    position: relative;
}

.modal-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.modal-steps .step {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
}

.modal-steps .step:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-steps .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.modal-steps h3 {
    color: var(--secondary-color);
    margin: 0.5rem 0;
    font-size: 1.2rem;
}

.modal-steps p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .modal-video-content {
        padding: 20px 15px;
        max-height: 90vh;
    }
    
    .modal-steps {
        grid-template-columns: 1fr;
    }
    
    .modal-steps .step {
        padding: 1.2rem;
    }
}

/* ===============================
   Seção Como Funcorna
   =============================== */
.how-it-works-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
}

.how-it-works-section .section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 1rem;
}

.how-it-works-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.video-container {
    margin-bottom: 4rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1.5rem;
}

.step h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.step p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Responsividade */
@media (max-width: 768px) {
    .how-it-works-section {
        padding: 3rem 0;
    }
    
    .how-it-works-section .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .steps-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .step {
        padding: 1.5rem;
    }
}

/* ===============================
   Toast Notifications
   =============================== */
#toast-container {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none; /* Permite cliques passarem */
}

.toast {
    min-width: 220px;
    max-width: 320px;
    background-color: #333;
    color: #fff;
    padding: 12px 18px;
    border-radius: 4px;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.success {
    background-color: #2e7d32;
}

.toast.info {
    background-color: #1976d2;
}

.toast.error {
    background-color: #d32f2f;
}

/* ===============================
   Zoom Overlay
   =============================== */
.image-zoom-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-zoom-overlay img {
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    transform: scale(0.85);
    transition: transform 0.3s ease;
}

.image-zoom-overlay .zoom-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    line-height: 1;
    padding-bottom: 5px;
    transition: all 0.3s ease;
}

.image-zoom-overlay .zoom-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.image-zoom-overlay.visible {
    opacity: 1;
}

.image-zoom-overlay.visible img {
    transform: scale(1);
}

/* ==================================================================
   Overrides previously in reconditioned-fix.css (moved & consolidated)
   ================================================================== */

/* Header adjustments */
body {
    padding-top: 80px; /* espaço para header fixo */
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #000 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 2rem !important;
    max-width: none !important;
    margin: 0 !important;
    width: 100% !important;
    height: 80px !important;
}

.nav-menu {
    display: flex !important;
    gap: 2rem !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
}

/* Grid overrides: máximo 3 colunas em desktop */
#productsGrid.recondicionados-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    padding: 2rem 2rem !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

@media (max-width: 1200px) {
    #productsGrid.recondicionados-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 992px) {
    #productsGrid.recondicionados-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
    #productsGrid.recondicionados-grid { grid-template-columns: repeat(2, 1fr) !important; padding: 1rem !important; }
}
@media (max-width: 576px) {
    #productsGrid.recondicionados-grid { grid-template-columns: 1fr !important; padding: 1rem !important; }
}

/* Logo tweaks */
.logo { display: flex; align-items: center; gap: 1rem; }
.logo img { height: 30px; width: auto; }
.logo span { font-size: 1.2rem; font-weight: 600; color: var(--white); }

.aniversario-25 {
    height: 50px !important;
    width: 50px !important;
    margin-left: 22px;
    vertical-align: middle;
    box-shadow: 0 0 16px 4px gold;
    border-radius: 50%;
    object-fit: contain;
}

/* Mobile nav menu */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--secondary-color);
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .nav-menu.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-toggle { display: block; }
}

/* Hero alignment override refinement */
.hero-content {
    max-width: 1200px !important;
    margin: 0 0 0 18% !important; /* 18% da esquerda */
    padding: 10vh 5% 6vh 0 !important; /* topo, lateral direita, fundo, sem deslocamento enorme à esquerda */
}

/* === Modal layout fine-tuning === */
.modal-content{display:flex !important;}
.modal-images-container{position:relative !important;flex:0 0 80px !important;width:80px !important;}
.modal-main-container{margin-left:0 !important;}
.modal-main-image-container{padding:10px !important;}

/* Estilos para o seletor de quantidade */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    width: 100%;
    max-width: 150px;
}

.quantity-btn {
    background-color: var(--bg-light);
    border: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
}

.quantity-btn:hover {
    background-color: #e0e0e0;
}

.quantity-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.3);
}

.quantity-selector input[type="number"] {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

.quantity-selector input[type="number"]:focus {
    outline: none;
    box-shadow: none;
}

.quantity-selector input[type="number"]::-webkit-outer-spin-button,
.quantity-selector input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Ajustes para o formulário de pedidos */
.order-form .form-group {
    margin-bottom: 1.5rem;
}

.order-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.order-form .form-group .required-field::after {
    content: " *";
    color: var(--danger-color);
}

/* Modal thumbnails left column fix */
.modal-images-container {
    position: absolute !important;
    left: 0;
    top: 0;
    bottom: 0;
    width: 90px !important;
    overflow-y: auto;
    z-index: 1;
}

.modal-main-container {
    margin-left: 90px !important;
    position: relative;
}

/* Estilos para telas pequenas */
@media (max-width: 991px) {
    .modal-images-container {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        bottom: auto;
        overflow-x: auto;
        overflow-y: hidden;
        display: flex;
        padding: 10px 0;
        background: #f8f9fa;
    }
    
    .modal-main-container {
        margin-left: 0 !important;
        padding-top: 10px;
    }
    
    /* Garante que as miniaturas fiquem em linha horizontal em telas pequenas */
    .modal-thumbnails {
        display: flex !important;
        flex-direction: row !important;
        padding: 0 10px;
    }
    
    .modal-thumbnail {
        margin: 0 5px !important;
        flex: 0 0 auto;
    }
}

/* Modal unified look */
.modal-content{background:#fff !important; overflow:hidden !important;}
.modal-images-container,.modal-main-image-container,.modal-content-container{background:transparent !important;}
.modal-images-container{border-right:1px solid #e5e5e5 !important;}

/* Modal size refinement */
.modal-content{max-width:720px !important;width:95% !important;min-height:420px !important;}
@media(min-width:1024px){.modal-content{width:720px !important;}}

/* Modal size further increase */
.modal-content{max-width:960px !important;min-height:520px !important;}
@media(min-width:1024px){.modal-content{width:960px !important;}}

/* Thumbnails layout on small screens */
@media (max-width: 600px){
  .modal-images-container{
      position:relative !important;
      left:0; top:0; bottom:auto;
      width:100% !important;
      height:auto !important;
      flex-direction:row !important;
      display:flex !important;
      overflow-x:auto !important;
      border-right:none !important;
      border-bottom:1px solid #e5e5e5 !important;
  }
  .modal-thumbnails{flex-direction:row !important;gap:10px !important;}
  .modal-main-container{margin-left:0 !important;flex-direction:column !important;}
}

/* Ajuste para o badge dentro da lista de features (evita deslocamento e espaço vazio) */
.hero-features .hero-badge {
    margin: 0;
    transform: none;
    font-size: 0.85rem;
    padding: 6px 16px;
}

/* Oculta o badge principal que ficava no topo do hero */
.hero-text > .hero-badge {
    display: none;
}

/* Esconde o botão do menu mobile em desktop */
.nav-toggle {
  display: none;
}

/* Mostra o botão do menu mobile só em telas pequenas */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }
  .nav-toggle span {
    display: block;
    height: 4px;
    width: 100%;
    background: #333;
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
  }
}

.order-form-section .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}

.order-form-section form {
    width: 100%;
}

/* Highlight do formulário quando produto é selecionado */
.highlight-form {
    animation: formHighlight 2s ease-out;
}

@keyframes formHighlight {
    0% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(231, 76, 60, 0.3);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
        transform: scale(1);
    }
}

/* Estilos para botões de compra selecionados */
.btn-buy.selected {
    background: linear-gradient(135deg, #27ae60, #2ecc71) !important;
    transform: scale(0.95);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4) !important;
}

/* Estilos para botões de favoritos */
.btn-wishlist.favorite {
    color: #e74c3c;
    transform: scale(1.1);
}

.btn-wishlist.favorite i {
    color: #e74c3c;
}

/* Melhorar responsividade dos filtros */
@media (max-width: 768px) {
    .search-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .filter-toggles {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .filter-btn {
        font-size: 0.85rem;
        padding: 8px 12px;
    }
    
    .price-filter {
        margin-top: 15px;
    }
}

/* Melhorar animações dos produtos */
.recondicionado-card {
    transition: all 0.3s ease;
}

.recondicionado-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Melhorar feedback visual dos botões */
.btn-buy:active {
    transform: scale(0.95);
}

.btn-wishlist:active {
    transform: scale(0.9);
}

/* ==========================================================================
   #HERO REPAIR QUESTION
   ========================================================================== */

.hero-repair-question {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.hero-repair-question:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.repair-question-text {
    color: white;
    font-size: 1.1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

.repair-question-text i {
    color: var(--primary-color);
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.repair-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background: rgba(230, 57, 70, 0.2);
    border-radius: 6px;
    border: 1px solid rgba(230, 57, 70, 0.3);
    transition: all 0.3s ease;
    margin-left: 0.5rem;
}

.repair-link:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
}

/* Responsividade */
@media (max-width: 768px) {
    .hero-repair-question {
        margin: 1rem 0;
        padding: 0.75rem 1rem;
    }
    
    .repair-question-text {
        font-size: 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .repair-link {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .repair-question-text {
        font-size: 0.95rem;
    }
    
    .repair-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ==========================================================================
   #LEGAL INFO SECTION
   ========================================================================== */

.legal-info-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: var(--spacing-xxl) 0;
    margin: var(--spacing-xxl) 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.legal-info-section .section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.legal-info-section .section-header h2 {
    color: var(--secondary-color);
    font-size: var(--font-3xl);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    position: relative;
}

.legal-info-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.legal-info-section .section-header p {
    color: var(--text-light);
    font-size: var(--font-lg);
    max-width: 600px;
    margin: 0 auto;
}

.legal-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.legal-info-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.legal-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.legal-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.legal-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.legal-info-icon i {
    font-size: 24px;
    color: var(--white);
}

.legal-info-card h3 {
    color: var(--secondary-color);
    font-size: var(--font-xl);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.legal-info-content {
    color: var(--text-color);
    font-size: var(--font-base);
    line-height: 1.6;
}

.legal-info-content br {
    margin-bottom: var(--spacing-sm);
}

.legal-notice {
    margin-top: var(--spacing-xxl);
}

.legal-notice .notice-box {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    box-shadow: var(--shadow-sm);
}

.legal-notice .notice-box.legal {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-color: #2196f3;
}

.legal-notice .notice-box i {
    font-size: 24px;
    color: #2196f3;
    margin-top: 2px;
    flex-shrink: 0;
}

.legal-notice-content h4 {
    color: var(--secondary-color);
    font-size: var(--font-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.legal-notice-content p {
    color: var(--text-color);
    font-size: var(--font-base);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .legal-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    .legal-info-section .section-header h2 {
        font-size: var(--font-2xl);
    }
}

@media (max-width: 768px) {
    .legal-info-section {
        padding: var(--spacing-xl) 0;
        margin: var(--spacing-xl) 0;
    }
    
    .legal-info-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .legal-info-card {
        padding: var(--spacing-lg);
    }
    
    .legal-info-section .section-header h2 {
        font-size: var(--font-xl);
    }
    
    .legal-info-section .section-header p {
        font-size: var(--font-base);
    }
    
    .legal-notice .notice-box {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
    
    .legal-notice .notice-box i {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .legal-info-section {
        padding: var(--spacing-lg) 0;
    }
    
    .legal-info-card {
        padding: var(--spacing-md);
    }
    
    .legal-info-icon {
        width: 50px;
        height: 50px;
    }
    
    .legal-info-icon i {
        font-size: 20px;
    }
    
    .legal-info-card h3 {
        font-size: var(--font-lg);
    }
    
    .legal-notice .notice-box {
        padding: var(--spacing-md);
    }
}
