:root {
    --bg-main: #f8f9fa;
    --card-bg: #ffffff;
    --img-bg: #f1f3f5;
    --text-dark: #212529;
    --brand-color: #25D366;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
}

/* =========================================
   1. NAVEGAÇÃO E CABEÇALHO
   ========================================= */
header.bg-white {
    background-color: #051e15 !important;
    border-bottom: none !important;
}

header .brand-text {
    display: none !important;
}

.nav-link-custom {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-speed);
}

.nav-link-custom:hover {
    color: var(--brand-color) !important;
}

.nav-link-custom.active {
    border-bottom: 2px solid var(--brand-color) !important;
}

header .text-dark {
    color: #ffffff !important;
}

header .btn-outline-dark {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

#mobileMenu {
    background-color: #051e15 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#mobileMenu a {
    color: #ffffff !important;
}

#mobileMenu a:hover {
    color: var(--brand-color) !important;
}

/* =========================================
   2. CARDS DE PRODUTO
   ========================================= */
.product-card {
    background: var(--card-bg);
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
    border-color: #dee2e6;
}

.product-img-container {
    background-color: var(--img-bg);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.status-badge {
    position: absolute;
    top: 30px;
    left: 30px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.status-new { background-color: #111; color: #fff; }
.status-used { background-color: #e67e22; color: #fff; }

/* =========================================
   3. BOTÃO ORÇAMENTO (CARRINHO FLUTUANTE)
   ========================================= */
.cart-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: var(--brand-color);
    color: white;
    border-radius: 50px;
    padding: 14px 24px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-float:hover {
    transform: scale(1.05);
}

.cart-badge {
    background-color: #fff;
    color: var(--brand-color);
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.85rem;
}

/* =========================================
   4. MODAL LATERAL (OFFCANVAS) E ZOOM
   ========================================= */
.offcanvas {
    --bs-offcanvas-width: 600px !important;
}

@media (max-width: 768px) {
    .offcanvas {
        --bs-offcanvas-width: 100vw !important;
    }
}

.offcanvas-body {
    padding: 2.5rem 2rem !important;
}

.offcanvas-body img {
    cursor: zoom-in;
    margin-bottom: 1.5rem;
    transition: transform 0.2s ease;
}

.offcanvas-body img:hover {
    transform: scale(1.02);
}

/* =========================================
   5. SCROLLBAR
   ========================================= */
#cart-items::-webkit-scrollbar { width: 6px; }
#cart-items::-webkit-scrollbar-track { background: #f1f1f1; }
#cart-items::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }