/* =============================================
   RECAMBIOS LACAZA — LIGHT THEME (Reference Match)
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --accent: #e8772e;
    --accent-dark: #d0651f;
    --accent-glow: rgba(232, 119, 46, 0.25);
    --bg: #f0f4f8;
    --bg-card: #ffffff;
    --bg-header: #1a2332;
    --bg-hero: #1e2d3d;
    --bg-footer: #1a2332;
    --border: rgba(0, 0, 0, 0.08);
    --border-card: rgba(0, 0, 0, 0.1);
    --text: #1a2332;
    --text-muted: #6b7b8d;
    --text-dim: #9aa5b1;
    --text-light: #ffffff;
    --font-body: 'Inter', sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── RESET ───────────────────────────────── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 92%;
    max-width: 1320px;
    margin: 0 auto;
}

/* ── HEADER ──────────────────────────────── */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-header);
    padding: 0.7rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 42px;
    width: 42px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-contact a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color var(--transition);
}

.header-contact a:hover {
    color: var(--accent);
}

.header-contact a i {
    font-size: 1.1rem;
}

.header-contact .whatsapp-link i {
    color: #25d366;
    font-size: 1.3rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color var(--transition);
}

nav a:hover {
    color: var(--text-light);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.4rem 0.7rem;
    border-radius: var(--radius-sm);
    transition: border-color var(--transition);
}

.menu-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ── HERO ────────────────────────────────── */
.hero {
    position: relative;
    background: var(--bg-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 3rem 1rem 2rem;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
}

.hero h1 {
    font-family: var(--font-body);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-light);
    margin-bottom: 0.6rem;
}

.hero h1 span {
    color: var(--text-light);
}

.hero p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

/* ── SEARCH BAR ──────────────────────────── */
.search-container {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--accent);
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    max-width: 650px;
    margin: 0 auto;
}

.search-container:focus-within {
    border-color: var(--accent-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), 0 0 0 3px var(--accent-glow);
}

.search-input {
    flex: 1;
    padding: 0.9rem 1.5rem;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    font-family: var(--font-body);
    color: var(--text);
    outline: none;
}

.search-input::placeholder {
    color: var(--text-dim);
}

.btn-search {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0 2rem;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: background var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0 50px 50px 0;
    white-space: nowrap;
}

.btn-search:hover {
    background: var(--accent-dark);
}

/* ── TRUST BAR ───────────────────────────── */
.trust-bar {
    background: var(--bg-hero);
    border-bottom: none;
    padding: 1rem 0 1.5rem;
}

.trust-grid {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.45rem 1rem;
    border-radius: 50px;
}

.trust-item i {
    font-size: 0.9rem;
}

/* ── CATALOG SECTION ─────────────────────── */
.catalog-section {
    padding: 2rem 0 3rem;
}

.catalog-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

/* ── SIDEBAR FILTERS ─────────────────────── */
.sidebar-filters {
    flex: 0 0 260px;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border-card);
    padding: 1.5rem;
    position: sticky;
    top: 80px;
    box-shadow: var(--shadow-card);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--border);
}

.filter-group {
    margin-bottom: 1.2rem;
}

.filter-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
}

.filter-group select {
    width: 100%;
    padding: 0.55rem 0.8rem;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--text);
    background: #f8fafc;
    cursor: pointer;
    outline: none;
    transition: border-color var(--transition);
    appearance: auto;
}

.filter-group select:focus {
    border-color: var(--accent);
}

.filter-group select:disabled {
    color: var(--text-dim);
    background: #f0f4f8;
    cursor: not-allowed;
}

.btn-clear-filters {
    width: 100%;
    padding: 0.6rem;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 0.5rem;
}

.btn-clear-filters:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ── CATALOG MAIN ────────────────────────── */
.catalog-main {
    flex: 1;
    min-width: 0;
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.section-title {
    margin-bottom: 0;
}

.section-title h2 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.results-count {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 500;
}

.sort-select {
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text);
    background: var(--bg-card);
    cursor: pointer;
    outline: none;
}

/* ── OLD FILTERS (hidden, replaced by sidebar) ── */
.filters {
    display: none;
}

/* ── PRODUCT GRID ────────────────────────── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* ── PRODUCT CARD ────────────────────────── */
.product-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
    background: #e8ecf0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.product-card:hover .card-image img {
    transform: scale(1.05);
}

/* Remove gradient overlay */
.card-image::after {
    display: none;
}

.card-content {
    padding: 1rem 1.2rem 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-brand {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
    display: block;
    text-align: left;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 0.5rem;
    text-align: left;
}

/* OEM Reference Badge */
.card-oem {
    font-size: 0.72rem;
    color: var(--text-dim);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
}

.card-oem i {
    display: none;
}

.card-oem span {
    font-family: 'Courier New', monospace;
    font-size: 0.78rem;
    color: var(--text);
    background: #f0f4f8;
    padding: 3px 10px;
    border-radius: 6px;
    border: 1px solid var(--border-card);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
    display: inline-block;
}

/* Card Footer */
.card-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.6rem;
    border-top: none;
    text-align: left;
}

.price {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.btn-card-secondary {
    display: none;
}

/* ── STATUS LABEL ────────────────────────── */
.status-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--accent);
    color: #fff;
    padding: 3px 10px;
    font-size: 0.65rem;
    font-weight: 800;
    font-family: var(--font-body);
    border-radius: 50px;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── PAGINATION ──────────────────────────── */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.pagination button {
    min-width: 38px;
    height: 38px;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.6rem;
}

.pagination button:hover:not(.active):not(:disabled) {
    border-color: var(--accent);
    color: var(--accent);
}

.pagination button.active {
    background: var(--bg-header);
    color: var(--text-light);
    border-color: var(--bg-header);
    font-weight: 700;
}

.pagination button:disabled {
    color: var(--text-dim);
    cursor: not-allowed;
    opacity: 0.5;
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

/* ── FOOTER ──────────────────────────────── */
footer {
    background: var(--bg-footer);
    padding: 3rem 0 0;
    margin-top: 3rem;
    position: relative;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.88rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
}

.footer-badge i {
    font-size: 1rem;
}

.footer-contact {
    text-align: center;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-contact strong {
    color: var(--text-light);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 0.8rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
    text-decoration: none;
    transition: all var(--transition);
    background: rgba(255, 255, 255, 0.05);
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 0 16px var(--accent-glow);
}

.footer-legal {
    text-align: center;
    padding: 1.5rem 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
    line-height: 1.7;
}

.footer-legal strong {
    color: rgba(255, 255, 255, 0.7);
}

/* Legacy footer styles (still used for structure) */
.footer-content {
    display: none;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1rem 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
}

/* ── PRODUCT MODAL ──────────────────────── */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
    max-width: 850px;
    width: 100%;
    display: flex;
    overflow: hidden;
    position: relative;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    line-height: 1;
}

.modal-close:hover {
    background: rgba(255, 50, 50, 0.7);
}

.modal-image {
    flex: 0 0 45%;
    max-width: 45%;
    background: #e8ecf0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 350px;
}

.modal-body {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.modal-brand {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 0.4rem;
}

.modal-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

.modal-detail-section {
    background: #f8fafc;
    border: 1px solid var(--border-card);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1rem;
    margin-bottom: 0.8rem;
}

.modal-detail-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.modal-detail-label i {
    font-size: 0.75rem;
}

.modal-detail-value {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    word-break: break-word;
}

.modal-detail-value .oem-code {
    font-family: 'Courier New', monospace;
    font-size: 0.88rem;
    color: var(--text);
    background: #f0f4f8;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid var(--border-card);
}

.modal-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.modal-price {
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.modal-wa-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(37, 211, 102, 0.1);
    border: 1px solid rgba(37, 211, 102, 0.25);
    color: #25d366;
    padding: 0.65rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.modal-wa-btn:hover {
    background: rgba(37, 211, 102, 0.2);
    border-color: rgba(37, 211, 102, 0.5);
    color: #25d366;
}

.modal-wa-btn i {
    font-size: 1rem;
}

/* ── NO RESULTS ──────────────────────────── */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
}

/* ── SCROLL REVEAL ───────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeUp 0.4s ease both;
}

/* ── WHATSAPP FAB ────────────────────────── */
.whatsapp-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition);
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sidebar-filters {
        flex: 0 0 220px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .header-contact {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    nav {
        width: 100%;
        display: none;
        padding: 0.5rem 0;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav ul li {
        width: 100%;
    }

    nav a {
        display: block;
        padding: 0.75rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Hero */
    .hero {
        padding: 2rem 1rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .search-container {
        flex-direction: column;
        border-radius: var(--radius);
    }

    .btn-search {
        border-radius: 0 0 var(--radius) var(--radius);
        padding: 0.9rem;
        justify-content: center;
    }

    /* Trust */
    .trust-grid {
        gap: 0.4rem;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        justify-content: flex-start;
        padding: 0 0.5rem;
    }

    .trust-item {
        font-size: 0.68rem;
        padding: 0.3rem 0.55rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .trust-grid::-webkit-scrollbar {
        display: none;
    }

    /* Catalog */
    .catalog-layout {
        flex-direction: column;
    }

    .sidebar-filters {
        flex: 0 0 auto !important;
        position: static !important;
        width: 100% !important;
        display: none !important;
        margin-top: 0 !important;
    }

    .sidebar-filters.active {
        display: block !important;
    }

    .filter-toggle {
        display: flex !important;
        margin-bottom: 1rem;
        width: 100%;
        padding: 0.75rem 1rem;
        background: var(--bg-card);
        border: 1px solid var(--border-card);
        border-radius: var(--radius);
        font-family: var(--font-body);
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--text);
        cursor: pointer;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        box-shadow: var(--shadow-card);
        transition: all 0.3s ease;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .card-image {
        height: 140px;
    }

    .card-content {
        padding: 0.7rem 0.8rem 0.8rem;
    }

    .card-title {
        font-size: 0.85rem;
    }

    .price {
        font-size: 1.1rem;
    }

    .card-oem {
        display: none;
    }

    /* Footer */
    .footer-badges {
        gap: 0.6rem;
    }

    .footer-badge {
        font-size: 0.78rem;
        padding: 0.45rem 0.8rem;
    }

    /* Modal */
    .modal-content {
        flex-direction: column;
        max-height: 92vh;
    }

    .modal-image {
        flex: 0 0 auto;
        max-width: 100%;
        height: 220px;
    }

    .modal-image img {
        min-height: auto;
        height: 220px;
    }

    .modal-body {
        padding: 1.3rem 1.2rem 1.2rem;
    }

    .modal-title {
        font-size: 1.1rem;
    }

    .modal-price {
        font-size: 1.8rem;
    }

    .modal-price-row {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .modal-wa-btn {
        justify-content: center;
    }

    .pagination button {
        min-width: 34px;
        height: 34px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
}

/* ── FILTER TOGGLE (desktop: hidden, mobile: shown via media query) ── */
.filter-toggle {
    display: none;
}