
    body { font-family: 'serif', sans-serif; background:#fdf7f0; margin:0; }
    .colecciones-container { padding:40px 5%; }
    .colecciones-header { display:flex; justify-content:space-between; flex-wrap:wrap; gap:15px; margin-bottom:30px; }

    /* Buscador (oculto) */
    #searchInput { display:none; padding:8px 12px; border-radius:30px; border:1px solid #ccc; width:200px; }

    /* Filtros */
    .filtros { display:flex; flex-wrap:wrap; gap:10px; }
    .filtros a { padding:6px 12px; border:none; background:#d6aa4f; color:white; border-radius:20px; cursor:pointer; text-decoration:none; transition:0.3s; }
    .filtros a.active, .filtros a:hover { background:#c4953c; }

    /* Grid de productos */
    .colecciones { display:grid; grid-template-columns:repeat(auto-fill,minmax(180px,1fr)); gap:20px; }
    .coleccion-item { background:white; border-radius:12px; overflow:hidden; box-shadow:0 4px 10px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; }
    .coleccion-item:hover { transform: translateY(-4px); box-shadow:0 6px 16px rgba(0,0,0,0.15); }

    .coleccion-item img { width:100%; height:250px; object-fit:cover; transition: transform 0.3s; }
    .coleccion-item img:hover { transform: scale(1.05); }

    .coleccion-info { padding:10px; text-align:center; }
    .coleccion-info h3 { font-size:16px; color:#a47a46; margin:6px 0; }
    .coleccion-info p { font-size:14px; color:#555; margin:4px 0; }
    .btn-comprar { display:inline-block; background:#d6aa4f; color:white; padding:5px 12px; border-radius:20px; text-decoration:none; font-size:13px; transition:0.3s; }
    .btn-comprar:hover { background:#c4953c; }

    /* Paginación */
    .paginacion { margin-top:30px; text-align:center; }
    .paginacion button { padding:6px 12px; margin:0 4px; border:none; background:#d6aa4f; color:white; border-radius:20px; cursor:pointer; transition:0.3s; }
    .paginacion button.active, .paginacion button:hover { background:#c4953c; }

    @media(max-width:600px){
      .colecciones-header { flex-direction:column; align-items:flex-start; }
      #searchInput { width:100%; }
    }
    
    /* Loader productos */
.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  text-align: center;
  color: #a47a46;
  font-size: 15px;
}

.spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #d6aa4f;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 0.8s linear infinite;
  margin-bottom: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}



/* ============================================
   📱 VERSIÓN MOBILE DRÁSTICA
=============================================== */
@media (max-width: 768px) {

  body {
    padding: 0;
    overflow-x: hidden;
  }

  /* HERO más chico */
  .hero {
    padding: 40px 20px;
    text-align: center;
  }

  .hero-text span {
    font-size: 14px;
  }

  .hero-text h1 {
    font-size: 26px !important;
  }

  .hero-text p {
    font-size: 14px;
  }

  /* Contenedor más chico */
  .colecciones-container {
    padding: 20px 4%;
  }

  /* Filtros: columna, full width */
  .colecciones-header {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .filtros {
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
    display: flex;
    justify-content: flex-start;
  }

  .filtros strong {
    width: 100%;
    font-size: 15px;
    margin-bottom: 5px;
    color: #8c663c;
  }

  .filtros a {
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 25px;
    display: inline-block;
  }

  /* GRID: 1 PRODUCTO POR FILA */
      .colecciones {
        display: grid;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px;
    }

  .coleccion-item img {
    height: 320px !important;
  }

  .coleccion-info h3 {
    font-size: 17px;
  }

  .coleccion-info p {
    font-size: 14px;
  }

  .btn-comprar {
    font-size: 14px;
    padding: 8px 16px;
  }

  /* Paginación grande y táctil */
  .paginacion button {
    padding: 10px 18px;
    font-size: 15px;
    border-radius: 25px;
    margin: 4px;
  }

  /* Loader centrado */
  .loader {
    padding: 40px 0;
  }
}