@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-bg: #f5ede1;
  --color-bg-alt: #ece1d1;
  --color-text: #2b2320;
  --color-text-muted: #6b5d52;
  --color-accent: #b5502f;
  --color-accent-dark: #8a3c22;
  --color-border: #d9cbb8;
  --color-line: #06c755;
  --color-whatsapp: #25d366;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-weight: 600; line-height: 1.25; }
main { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Header */
#site-header { background: var(--color-bg); border-bottom: 1px solid var(--color-border); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.logo { font-weight: 700; letter-spacing: 0.05em; }
.nav-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }
#site-nav { display: flex; gap: 24px; align-items: center; }
#site-nav a { font-size: 14px; }
.lang-switch { border: 1px solid var(--color-border); border-radius: 4px; padding: 4px 10px; }

/* Footer */
#site-footer { background: var(--color-bg-alt); margin-top: 64px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 32px 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.footer-nav { display: flex; gap: 16px; font-size: 14px; }
.footer-contact { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.footer-copy { width: 100%; font-size: 12px; color: var(--color-text-muted); margin-top: 16px; }

/* Buttons */
.btn { display: inline-block; padding: 10px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: var(--color-accent-dark); }
.btn-line { background: var(--color-line); color: #fff; }
.btn-whatsapp { background: var(--color-whatsapp); color: #fff; }

/* Hero */
.hero { position: relative; margin-bottom: 48px; }
.hero img { width: 100%; height: 420px; object-fit: cover; border-radius: 8px; }
.hero-text { position: absolute; bottom: 32px; left: 32px; color: #fff; max-width: 480px; }
.hero-text h1 { font-size: 32px; margin-bottom: 12px; }
.hero-text p { margin-bottom: 20px; }

/* Collections preview */
.collections-preview { margin-bottom: 48px; }
.collections-preview h2 { margin-bottom: 16px; }
.collections-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.collection-card { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 8px; padding: 32px; text-align: center; font-weight: 600; }

/* CTA */
.cta { text-align: center; padding: 48px 0; }
.cta h2 { margin-bottom: 20px; }

/* Products page */
.products-page h1 { margin: 32px 0 24px; }
.products-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.filter-sidebar h3 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--color-text-muted); margin: 20px 0 8px; }
.filter-option { display: block; font-size: 14px; margin-bottom: 6px; }
.products-results > p { color: var(--color-text-muted); margin-bottom: 16px; font-size: 14px; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
.no-results { color: var(--color-text-muted); font-size: 14px; grid-column: 1 / -1; }
.product-card { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 8px; overflow: hidden; text-align: left; cursor: pointer; font-family: inherit; }
.product-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.product-card-info { padding: 12px; display: flex; flex-direction: column; gap: 2px; }
.product-collection { font-size: 12px; color: var(--color-text-muted); text-transform: uppercase; }
.product-color { font-weight: 600; }
.product-code { font-size: 12px; color: var(--color-text-muted); }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(43, 35, 32, 0.6); display: none; align-items: center; justify-content: center; padding: 24px; z-index: 100; }
.modal-overlay.open { display: flex; }
.modal { background: var(--color-bg); border-radius: 8px; max-width: 640px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; position: relative; overflow: hidden; }
.modal img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { padding: 24px; }
.modal-info h3 { margin-bottom: 12px; }
.modal-info p { font-size: 14px; color: var(--color-text-muted); margin-bottom: 4px; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.modal-close { position: absolute; top: 12px; right: 12px; background: none; border: none; font-size: 24px; cursor: pointer; z-index: 1; }

/* About / Contact */
.contact-page, .about-page { padding: 48px 0; max-width: 640px; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; align-items: flex-start; }
.contact-detail { font-size: 14px; }

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  #site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--color-bg); flex-direction: column; align-items: flex-start; padding: 16px 24px; display: none; border-bottom: 1px solid var(--color-border); }
  #site-nav.nav-open { display: flex; }
  .products-layout { grid-template-columns: 1fr; }
  .modal { grid-template-columns: 1fr; }
  .hero-text { position: static; color: var(--color-text); padding: 20px 0; }
  .hero img { height: 260px; }
}
