:root {
    --primary:        #133c8a;   /* ISAPA Azul exato (do SVG oficial) */
    --primary-dark:   #0d2d6b;
    --primary-light:  #1a4fad;
    --secondary:      #ec1c24;   /* ISAPA Vermelho exato (do SVG oficial) */
    --secondary-dark: #c41920;

    --bg-main:    #F4F7F9;
    --bg-surface: #FFFFFF;

    --text-dark:  #404041;   /* ISAPA Cinza exato (do SVG oficial) */
    --text-body:  #4A5568;
    --text-muted: #A0AEC0;

    --border-color: #E2E8F0;
    --border-focus: #133c8a;

    --pix: #32BCAD;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-body);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, strong { color: var(--text-dark); font-weight: 700; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

/* ── Barra de acento ISAPA ─────────────────────────────────── */
.accent-bar { height: 4px; background: var(--secondary); }

/* ── Botões ────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.5rem; padding: 0.6rem 1.2rem;
    font-family: inherit; font-size: 0.95rem; font-weight: 600;
    border: none; border-radius: 6px; cursor: pointer; transition: all 0.2s ease;
    text-decoration: none;
}
.btn-primary  { background: var(--primary);   color: white; }
.btn-primary:hover  { background: var(--primary-dark); transform: translateY(-1px); }
.btn-secondary { background: var(--secondary); color: white; }
.btn-secondary:hover { background: var(--secondary-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-block { width: 100%; }
.btn-lg { padding: 1rem 1.5rem; font-size: 1.05rem; }

/* ── Top Bar ───────────────────────────────────────────────── */
.top-bar {
    background: var(--primary-dark);
    color: white;
    font-size: 0.8rem;
    padding: 0.45rem 0;
}
.top-bar-content { display: flex; justify-content: space-between; }
.top-bar-text { display: flex; align-items: center; gap: 0.4rem; opacity: 0.9; }

/* ── Header ────────────────────────────────────────────────── */
.main-header {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    position: sticky; top: 0; z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.header-container {
    display: flex; align-items: center; justify-content: space-between;
    height: 78px; gap: 2rem;
}

.logo { display: flex; align-items: center; gap: 0.8rem; text-decoration: none; flex-shrink: 0; }
.logo-icon { font-size: 2rem; color: var(--secondary); }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-size: 1.5rem; color: var(--primary); letter-spacing: -0.5px; }
.logo-text span   { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; }

.search-box {
    flex: 1; max-width: 580px;
    display: flex; border: 1.5px solid var(--border-color);
    border-radius: 8px; overflow: hidden; background: var(--bg-main);
    transition: border-color 0.2s;
}
.search-box:focus-within { border-color: var(--primary); }
.search-box input {
    flex: 1; border: none; padding: 0.8rem 1.2rem;
    background: transparent; font-family: inherit; font-size: 0.95rem;
    outline: none; color: var(--text-dark);
}
.search-btn {
    background: var(--primary); border: none; padding: 0 1.2rem;
    color: white; cursor: pointer; font-size: 1rem; transition: background 0.2s;
}
.search-btn:hover { background: var(--primary-dark); }

.header-actions { display: flex; gap: 1.5rem; align-items: center; }
.action-btn {
    display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
    background: transparent; border: none; text-decoration: none;
    color: var(--text-body); cursor: pointer; font-family: inherit; transition: color 0.2s;
}
.action-btn:hover { color: var(--primary); }
.action-btn span { font-size: 0.78rem; font-weight: 600; }
.cart-icon-wrap { position: relative; font-size: 1.2rem; }
.cart-badge {
    position: absolute; top: -8px; right: -12px;
    background: var(--secondary); color: white;
    font-size: 0.7rem; font-weight: 700;
    min-width: 20px; height: 20px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; padding: 0 5px;
}

/* ── Hero Banner ───────────────────────────────────────────── */
.hero-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #0d2d6b 60%, #0a1f4d 100%);
    color: white; padding: 4.5rem 0; margin-bottom: 3rem;
    position: relative; overflow: hidden;
}
.hero-banner::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 4px; background: var(--secondary);
}
.hero-content { max-width: 760px; }
.hero-banner h1 {
    color: white; font-size: 3rem; font-weight: 800;
    line-height: 1.1; margin-bottom: 1.2rem;
}
.hero-banner h1 span { color: var(--secondary); }
.hero-banner p {
    font-size: 1.1rem; color: rgba(255,255,255,0.82); margin-bottom: 2rem; max-width: 580px;
}
.hero-stats {
    display: flex; gap: 2.5rem; margin-top: 2.5rem;
}
.hero-stat strong { display: block; font-size: 1.5rem; color: white; }
.hero-stat span   { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }

/* ── Layout Catálogo ───────────────────────────────────────── */
.layout-grid {
    display: grid; grid-template-columns: 260px 1fr;
    gap: 2.5rem; margin-bottom: 4rem;
}

/* ── Sidebar ───────────────────────────────────────────────── */
.sidebar {
    background: var(--bg-surface); border-radius: 12px;
    padding: 1.5rem; border: 1px solid var(--border-color); height: fit-content;
}
.sidebar-title {
    font-size: 1rem; text-transform: uppercase; letter-spacing: 1px;
    color: var(--primary); margin-bottom: 1.5rem;
    padding-bottom: 0.75rem; border-bottom: 2px solid var(--secondary);
}
.filter-group { margin-bottom: 2rem; }
.filter-group h4 {
    font-size: 0.8rem; text-transform: uppercase; color: var(--text-muted);
    letter-spacing: 1.5px; margin-bottom: 0.8rem; font-weight: 700;
}
.category-menu { list-style: none; }
.category-menu li { margin-bottom: 0.3rem; }
.category-menu button {
    background: transparent; border: none; text-align: left; width: 100%;
    padding: 0.5rem 0.8rem; font-family: inherit; font-size: 0.9rem;
    color: var(--text-body); cursor: pointer; border-radius: 6px; transition: all 0.15s;
}
.category-menu button:hover { background: var(--bg-main); color: var(--primary); }
.category-menu li.active button {
    background: rgba(19,60,138,0.08); color: var(--primary); font-weight: 700;
    border-left: 3px solid var(--primary); padding-left: calc(0.8rem - 3px);
}
.category-menu label {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.9rem; color: var(--text-body); cursor: pointer; padding: 0.35rem 0;
}
.category-menu input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); }
#brand-filters, #car-brand-filters {
    list-style: none; max-height: 200px; overflow-y: auto;
    scrollbar-width: thin; scrollbar-color: var(--primary) transparent;
}
#brand-filters li, #car-brand-filters li { margin-bottom: 0.3rem; }
#brand-filters label, #car-brand-filters label {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.9rem; color: var(--text-body); cursor: pointer; padding: 0.35rem 0;
}
#brand-filters input[type="checkbox"], #car-brand-filters input[type="checkbox"] {
    width: 16px; height: 16px; accent-color: var(--primary); flex-shrink: 0;
}

/* ── Área de Produtos ──────────────────────────────────────── */
.products-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem;
}
.products-header h2 { font-size: 1.1rem; color: var(--text-dark); }
.sort-box { display: flex; align-items: center; gap: 0.8rem; font-size: 0.88rem; }
.sort-box select {
    padding: 0.45rem 1rem; border: 1px solid var(--border-color);
    border-radius: 6px; outline: none; font-family: inherit; background: var(--bg-surface);
    color: var(--text-dark);
}
.loader-box {
    text-align: center; padding: 4rem 0;
    color: var(--primary); font-weight: 500; font-size: 1rem;
}

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

.product-card {
    background: var(--bg-surface); border: 1px solid var(--border-color);
    border-radius: 12px; overflow: hidden; transition: all 0.2s;
    display: flex; flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px); box-shadow: 0 12px 24px rgba(19,60,138,0.1);
    border-color: var(--primary);
}
.product-img {
    height: 160px; background: var(--bg-main);
    display: flex; align-items: center; justify-content: center; position: relative;
}
.product-img i { font-size: 3.5rem; color: var(--border-color); transition: color 0.2s; }
.product-card:hover .product-img i { color: var(--primary); }
.product-img img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.product-sku {
    position: absolute; top: 0.8rem; left: 0.8rem;
    background: white; padding: 0.2rem 0.6rem;
    font-size: 0.72rem; border-radius: 4px; font-weight: 700;
    color: var(--text-muted); border: 1px solid var(--border-color);
}
.product-body { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-brand {
    font-size: 0.72rem; color: var(--secondary); font-weight: 800;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.3rem;
}
.product-title { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; line-height: 1.4; flex: 1; }
.product-vehicle { font-size: 0.72rem; color: var(--text-muted); margin-bottom: 0.6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-price {
    font-size: 1.25rem; font-weight: 800; color: var(--primary); margin-bottom: 0.8rem;
}

/* ── Vehicle Finder Bar ────────────────────────────────────── */
.vehicle-finder-bar {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 1.1rem 0;
    border-bottom: 3px solid var(--secondary);
}
.vehicle-finder-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1.5rem; flex-wrap: wrap;
}
.vehicle-finder-label {
    display: flex; align-items: center; gap: 1rem; color: white; flex: 1;
}
.vehicle-finder-label > i { font-size: 2rem; color: rgba(255,255,255,0.6); flex-shrink: 0; }
.vehicle-finder-label strong { display: block; font-size: 1rem; margin-bottom: 0.15rem; color: #fff; }
.vehicle-finder-label span { font-size: 0.78rem; color: rgba(255,255,255,0.9); }
.vehicle-open-btn {
    background: white; color: var(--primary); border: none; border-radius: 10px;
    padding: 0.8rem 1.6rem; font-family: inherit; font-size: 0.95rem; font-weight: 700;
    cursor: pointer; display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25); transition: all 0.2s;
}
.vehicle-open-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.35); }
.vehicle-open-btn i { color: var(--secondary); }

/* ── Vehicle Modal ─────────────────────────────────────────── */
.vm-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: flex-start; justify-content: center; padding: 7vh 1rem 1rem;
    opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.vm-overlay.active { opacity: 1; pointer-events: all; }
.vm-card {
    background: white; border-radius: 20px; width: 100%; max-width: 560px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.45);
    transform: translateY(24px) scale(0.97); transition: transform 0.3s ease;
    overflow: hidden;
}
.vm-overlay.active .vm-card { transform: translateY(0) scale(1); }
.vm-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 1.4rem 1.5rem;
    display: flex; justify-content: space-between; align-items: flex-start;
}
.vm-header-text {
    display: flex; align-items: flex-start; gap: 1rem; color: white; flex: 1;
}
.vm-header-text > i { font-size: 1.8rem; margin-top: 0.1rem; opacity: 0.75; flex-shrink: 0; }
.vm-header-text h3 { color: white; font-size: 1.15rem; margin-bottom: 0.2rem; }
.vm-header-text p { font-size: 0.78rem; color: rgba(255,255,255,0.7); }
.vm-close {
    background: rgba(255,255,255,0.15); border: none; color: white;
    width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1rem;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    transition: background 0.2s; margin-top: -2px;
}
.vm-close:hover { background: rgba(255,255,255,0.3); }
.vm-body { padding: 1.5rem; }
.vm-fields { display: flex; flex-direction: column; gap: 1.1rem; }
.vm-label {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    color: var(--text-muted); margin-bottom: 0.5rem;
}
.vm-label i { color: var(--primary); }
.vm-field select, .vm-field input {
    width: 100%; padding: 0.85rem 1rem; border: 1.5px solid var(--border-color);
    border-radius: 10px; font-family: inherit; font-size: 0.95rem; color: var(--text-dark);
    outline: none; transition: border-color 0.2s, box-shadow 0.2s;
    background: var(--bg-main); appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23A0AEC0' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 1rem center;
}
.vm-field input { background-image: none; }
.vm-field select:focus, .vm-field input:focus {
    border-color: var(--primary); background-color: white;
    box-shadow: 0 0 0 3px rgba(19,60,138,0.1);
}
.vm-count-wrap {
    margin-top: 1.2rem; min-height: 52px;
    display: flex; align-items: center;
}
.vm-count {
    width: 100%; padding: 0.85rem 1.2rem; border-radius: 10px;
    text-align: center; font-size: 0.92rem;
    background: rgba(19,60,138,0.05); border: 1px solid rgba(19,60,138,0.1);
    color: var(--text-body);
}
.vm-count strong { color: var(--primary); font-size: 1.15rem; font-weight: 800; }
.vm-count.none { background: rgba(236,28,36,0.05); border-color: rgba(236,28,36,0.15); }
.vm-count.none strong { color: var(--secondary); }
.vm-footer {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 1rem 1.5rem; border-top: 1px solid var(--border-color);
}
.vm-btn-clear {
    background: transparent; border: 1.5px solid var(--border-color); border-radius: 10px;
    padding: 0.8rem 1.2rem; font-family: inherit; font-size: 0.88rem; color: var(--text-muted);
    cursor: pointer; display: flex; align-items: center; gap: 0.45rem; transition: all 0.2s;
    flex-shrink: 0;
}
.vm-btn-clear:hover { border-color: var(--secondary); color: var(--secondary); }
.vm-btn-search {
    flex: 1; background: var(--primary); color: white; border: none;
    border-radius: 10px; padding: 0.9rem 1.5rem; font-family: inherit; font-size: 0.98rem;
    font-weight: 700; cursor: pointer; display: flex; align-items: center;
    justify-content: center; gap: 0.55rem; transition: all 0.2s;
    box-shadow: 0 4px 16px rgba(19,60,138,0.3);
}
.vm-btn-search:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(19,60,138,0.4); }

/* Year filter in sidebar */
.year-filter-wrap { display: flex; align-items: center; gap: 0.5rem; }
.year-filter-input {
    flex: 1; padding: 0.5rem 0.75rem; border: 1.5px solid var(--border-color);
    border-radius: 6px; font-family: inherit; font-size: 0.9rem; color: var(--text-dark);
    outline: none; width: 100%;
}
.year-filter-input:focus { border-color: var(--primary); }
.clear-year-btn {
    background: none; border: 1.5px solid var(--border-color); border-radius: 6px;
    color: var(--text-muted); cursor: pointer; padding: 0.4rem 0.6rem; font-size: 0.85rem; flex-shrink: 0;
}
.clear-year-btn:hover { border-color: var(--secondary); color: var(--secondary); }
.filter-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.4rem; line-height: 1.4; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { background: #0d1f3c; color: #CBD5E0; padding-top: 4rem; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem; margin-bottom: 3rem;
}
.footer-col h4 { color: white; font-size: 1rem; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a { color: #A0AEC0; text-decoration: none; transition: color 0.2s; font-size: 0.9rem; }
.footer-col a:hover { color: white; }
.footer-desc { margin-top: 0.8rem; font-size: 0.9rem; line-height: 1.7; color: #A0AEC0; max-width: 380px; }
.footer-logo-wrap .logo-text strong { color: white; }
.footer-bottom {
    background: #081428; padding: 1.2rem 0;
    font-size: 0.82rem; text-align: center; color: #6B7A8D;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-red-bar { height: 4px; background: var(--secondary); }

/* ── Carrinho ──────────────────────────────────────────────── */
.cart-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.45); z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.cart-overlay.active { opacity: 1; pointer-events: all; }
.cart-panel {
    position: fixed; top: 0; right: -440px; width: 100%; max-width: 440px; height: 100vh;
    background: var(--bg-surface); z-index: 201; display: flex; flex-direction: column;
    box-shadow: -8px 0 30px rgba(0,0,0,0.08); transition: right 0.3s cubic-bezier(0.4,0,0.2,1);
}
.cart-panel.open { right: 0; }
.cart-header {
    padding: 1.5rem; border-bottom: 3px solid var(--secondary);
    display: flex; justify-content: space-between; align-items: center;
    background: var(--primary);
}
.cart-header h3 { color: white; font-size: 1rem; }
.close-cart-btn { background: none; border: none; font-size: 1.2rem; color: rgba(255,255,255,0.7); cursor: pointer; }
.close-cart-btn:hover { color: white; }
.cart-items-wrapper { flex: 1; overflow-y: auto; padding: 1.2rem; }
.cart-item {
    display: flex; gap: 1rem; margin-bottom: 1.2rem;
    padding-bottom: 1.2rem; border-bottom: 1px solid var(--border-color);
}
.cart-item-img {
    width: 64px; height: 64px; background: var(--bg-main); border-radius: 8px;
    border: 1px solid var(--border-color); display: flex; align-items: center;
    justify-content: center; color: var(--text-muted); font-size: 1.4rem; flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-title { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.25rem; line-height: 1.3; }
.cart-item-price { color: var(--primary); font-weight: 700; margin-bottom: 0.5rem; font-size: 0.95rem; }
.qty-controls { display: flex; align-items: center; gap: 8px; }
.qty-controls button {
    width: 28px; height: 28px; border-radius: 4px; border: 1px solid var(--border-color);
    background: white; cursor: pointer; font-size: 0.8rem; transition: background 0.15s;
}
.qty-controls button:hover { background: var(--bg-main); }
.qty-controls span { font-weight: 700; font-size: 0.95rem; width: 22px; text-align: center; }
.cart-footer { padding: 1.2rem; border-top: 1px solid var(--border-color); background: #F8FAFC; }
.cart-total-box { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.cart-total-box span { font-size: 0.9rem; color: var(--text-body); }
.cart-total-box strong { font-size: 1.4rem; color: var(--primary); }

/* ── Checkout Modal ────────────────────────────────────────── */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.55); z-index: 300; display: none;
    align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.active { display: flex; }
.modal-card {
    background: var(--bg-surface); width: 100%; max-width: 560px; border-radius: 12px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.15); overflow: hidden;
    animation: slideUp 0.25s ease;
}
@keyframes slideUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.modal-header {
    padding: 1.2rem 1.5rem; background: var(--primary); color: white;
    display: flex; justify-content: space-between; align-items: center;
}
.modal-header h3 { color: white; font-size: 1rem; }
.close-modal-btn { background: none; border: none; font-size: 1.2rem; cursor: pointer; color: rgba(255,255,255,0.7); }
.close-modal-btn:hover { color: white; }
.modal-body { padding: 1.8rem; }
.info-alert {
    background: #EBF8FF; border-left: 4px solid #3182CE; padding: 1rem;
    border-radius: 0 6px 6px 0; display: flex; gap: 1rem; margin-bottom: 1.5rem; color: #2B6CB0;
}
.info-alert i { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.info-alert p { font-size: 0.88rem; margin: 0; line-height: 1.5; }
.form-row { display: flex; gap: 1rem; margin-bottom: 1rem; }
.form-row.half .form-group { flex: 1; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; width: 100%; }
.form-group label { font-size: 0.82rem; font-weight: 700; color: var(--text-dark); }
.form-group input {
    padding: 0.75rem 1rem; border: 1.5px solid var(--border-color); border-radius: 6px;
    font-family: inherit; font-size: 0.95rem; outline: none; transition: border-color 0.2s;
}
.form-group input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(19,60,138,0.1); }
.pix-banner {
    background: rgba(50,188,173,0.06); border: 1.5px solid rgba(50,188,173,0.3);
    padding: 1rem 1.2rem; border-radius: 8px; display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0;
}
.pix-banner i { font-size: 2rem; color: var(--pix); flex-shrink: 0; }
.pix-banner strong { display: block; color: #23857A; font-size: 0.9rem; margin-bottom: 0.15rem; }
.pix-banner span { font-size: 0.82rem; color: #2B9C8F; }

/* ── WhatsApp Float Button ──────────────────────────────────── */
.wa-float-btn {
    position: fixed; bottom: 1.5rem; right: 1.5rem;
    width: 58px; height: 58px; border-radius: 50%;
    background: #25D366; color: white;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; text-decoration: none;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    z-index: 500; transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.wa-float-btn:hover {
    background: #20bd5a; transform: scale(1.12);
    box-shadow: 0 6px 28px rgba(37,211,102,0.65);
}

/* ── Toast ─────────────────────────────────────────────────── */
.toast-notification {
    position: fixed; bottom: 2rem; right: 2rem;
    background: var(--primary); color: white; padding: 0.9rem 1.4rem;
    border-radius: 8px; display: flex; align-items: center; gap: 0.8rem;
    box-shadow: 0 10px 20px rgba(19,60,138,0.25);
    transform: translateY(100px); opacity: 0; transition: all 0.3s; z-index: 1000; font-weight: 600;
    border-left: 4px solid var(--secondary);
}
.toast-notification.show { transform: translateY(0); opacity: 1; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .layout-grid { grid-template-columns: 1fr; }
    .sidebar { display: none; }
}
@media (max-width: 768px) {
    .hero-banner h1 { font-size: 2rem; }
    .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
    .search-box { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .form-row.half { flex-direction: column; }
    .header-container { height: 64px; }

    /* Hero stats — one line on mobile */
    .hero-stats { gap: 1.2rem; flex-wrap: nowrap; margin-top: 1.5rem; }
    .hero-stat strong { font-size: 1.05rem; }
    .hero-stat span   { font-size: 0.6rem; letter-spacing: 0.5px; }

    /* Vehicle finder bar on mobile */
    .vehicle-finder-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .vehicle-open-btn { width: 100%; justify-content: center; }

    /* Vehicle modal on mobile — slides up from bottom */
    .vm-overlay { align-items: flex-end; padding: 0; }
    .vm-card {
        border-radius: 20px 20px 0 0;
        max-width: 100%; width: 100%;
        max-height: 88vh; overflow-y: auto;
        transform: translateY(40px) scale(1) !important;
    }
    .vm-overlay.active .vm-card { transform: translateY(0) scale(1) !important; }
    .vm-header { padding: 1.1rem 1.2rem; }
    .vm-body { padding: 1.1rem 1.2rem; }
    .vm-footer { padding: 0.9rem 1.2rem; }
    .vm-fields { gap: 0.9rem; }
    .vm-field select, .vm-field input { padding: 0.75rem 0.9rem; font-size: 1rem; }
    .vm-btn-search { padding: 0.9rem 1rem; font-size: 0.9rem; }
}
