/* ================================================================
   LAYOUT.CSS — Estructura de secciones, grillas, contenedores
   ================================================================ */

/* ── Contenedor centrado ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--s-8);
}

@media (max-width: 900px) {
  .container { padding-inline: var(--s-6); }
}

@media (max-width: 600px) {
  .container { padding-inline: var(--s-4); }
}

/* ── Site Header (nav fija) ──────────────────────────────────── */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: var(--z-nav);
}

/* ── Hero ────────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  /* El contenido se posiciona absolute dentro */
}


/* ── Marquee ─────────────────────────────────────────────────── */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border-strong);
  padding-block: var(--s-3);
}

/* ── Shop / Colección ────────────────────────────────────────── */
.shop {
  padding-block: var(--s-20) var(--s-24);
}

.shop-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  margin-block-end: var(--s-12);
  flex-wrap: wrap;
}

/* Grilla de productos: 3 cols → 2 → 1 */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── About — imagen full width con redes superpuestas ────────── */
.about {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 480px;
  overflow: hidden;
}


/* ── Footer ──────────────────────────────────────────────────── */
.site-footer {
  border-block-start: 1px solid var(--border-strong);
  padding: var(--s-16) var(--s-8) var(--s-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--s-12);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .footer-grid       { grid-template-columns: 1fr; gap: var(--s-10); }
  .site-footer       { padding-inline: var(--s-6); }
}
