:root {
    --bg-light: #FBFBFB;
    --text-dark: #1A1A1A;
    --text-muted: #777777;
    --accent: #000000;
    --white: #FFFFFF;
    --gold: #C4A47C;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { background-color: var(--bg-light); color: var(--text-dark); font-family: 'Montserrat', sans-serif; }

/* Announcement Bar */
.announcement-bar { background: var(--accent); color: white; text-align: center; padding: 10px; font-size: 0.7rem; letter-spacing: 2px; }

/* Header */
header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 8%; background: white; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; }
header h2 { font-size: 1rem; letter-spacing: 2px; }
.btn-nav-wa { background: #25D366; color: white; text-decoration: none; padding: 8px 18px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; }
.btn-volver { color: var(--text-dark); text-decoration: none; padding: 8px 18px; border: 1px solid var(--text-dark); border-radius: 50px; font-size: 0.8rem; font-weight: 600; transition: background-color 0.2s ease, color 0.2s ease; }
.btn-volver:hover { background: var(--text-dark); color: var(--white); }

/* Hero Showroom */
.hero-showroom { text-align: center; padding: 4rem 10%; background: white; }
.hero-showroom h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.hero-showroom p { color: var(--text-muted); max-width: 700px; margin: 0 auto 2rem auto; }

.features-showroom { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.feature-item { text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--gold); }
.feature-item span { display: block; font-size: 1.5rem; margin-bottom: 5px; }

/* Filtros */
.filter-section { padding: 2rem 5%; text-align: center; }
.filter-buttons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.filter-buttons button { background: white; border: 1px solid #ddd; padding: 8px 20px; cursor: pointer; border-radius: 4px; font-family: 'Montserrat'; transition: 0.3s; }
.filter-buttons button.active { background: var(--accent); color: white; border-color: var(--accent); }

/* Grid de Productos */
.catalog-container { padding: 1rem 8% 5rem 8%; max-width: 1300px; margin: 0 auto; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 2rem; }

/* Tarjetas */
.product-card { position: relative; }
.tag-status { position: absolute; top: 10px; left: 10px; z-index: 5; background: var(--accent); color: white; padding: 4px 12px; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; }
.tag-status.used { background: var(--gold); }

.product-img-box { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.product-img-box img { width: 100%; height: 100%; object-fit: cover; }

.product-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.product-card:hover .product-overlay { opacity: 1; }

.btn-quick-view { background: white; border: none; padding: 12px 20px; font-weight: 700; cursor: pointer; font-size: 0.75rem; letter-spacing: 1px; }

.product-info { padding: 15px 0; text-align: left; }
.product-info h3 { font-size: 0.9rem; font-weight: 400; margin-bottom: 5px; }
.price { font-weight: 700; }

/* Modal y Footer */
.modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); align-items: center; justify-content: center; }
.modal-content { background: white; padding: 2rem; width: 90%; max-width: 400px; position: relative; text-align: center; }
.close-modal { position: absolute; top: 10px; right: 15px; cursor: pointer; font-size: 1.5rem; }
.btn-modal-wa { display: block; background: #25D366; color: white; padding: 12px; text-decoration: none; margin-top: 20px; font-weight: 700; border-radius: 4px; }

/* Footer unificado ClemAr */
footer { background: #111; color: #888; padding: 3rem 5%; text-align: center; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-content > p { margin: 0; text-align: left; }
.desarrollado-por { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 0.85rem; white-space: nowrap; }
.desarrollado-por a { text-decoration: none; color: white; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.tree-logo { width: 18px !important; height: auto !important; }

@media (max-width: 768px) {
    header { flex-wrap: wrap; gap: 1rem; }
    header nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.5rem; }
    .hero-showroom h1 { font-size: 1.8rem; }
    .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .features-showroom { gap: 15px; }
    .feature-item { font-size: 0.7rem; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-content > p { text-align: center; }
    .desarrollado-por { font-size: 0.75rem; }
}
