/** Shopify CDN: Minification failed

Line 18:10 Expected identifier but found whitespace
Line 18:15 Unexpected ";"

**/
/* =========================
   TOOLBAR BASE
========================= */

.my-toolbar {
  position: relative;
  margin-top: 10px;      
  margin-bottom: 20px;
  z-index: 1;
}

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);

  padding: 14px 18px;
  border-radius: 16px;

  border: 1px solid rgba(0,0,0,0.05);

  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.my-toolbar-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* =========================
   BUSCADOR
========================= */

.my-search-box {
  position: relative;
  display: flex;
  align-items: center;

  background: #f5f5f7;
  border-radius: 999px;

  padding: 6px 12px;
  width: 260px;
}

.search-icon {
  opacity: 0.6;
}

.my-search {
  border: none;
  background: transparent;
  outline: none;
  padding: 8px;
  width: 100%;
  font-size: 14px;
}

/* RESULTADOS */
.my-search-results {
  position: absolute;
  top: 42px;
  left: 0;
  width: 100%;

  background: #fff;
  border-radius: 12px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.1);

  display: none;
  z-index: 200;

  color: #000;
}

.my-search-results div {
  padding: 10px;
  cursor: pointer;
}

.my-search-results div:hover {
  background: #f3f3f3;
}

/* =========================
   ACCIONES
========================= */

.my-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.my-toolbar-actions button {
  background: #f3f3f3;
  border-radius: 999px;
  padding: 8px 12px;
  border: none;
  cursor: pointer;
  font-size: 13px;
}

.my-toolbar-actions button:hover {
  background: #e8e8e8;
}

/* BOTONES ACTIVOS */
.grid-view.active,
.list-view.active {
  background: #000;
  color: #fff;
}

/* =========================
   DROPDOWN
========================= */

.my-sort-custom {
  position: relative;
}

.sort-dropdown {
  position: absolute;
  top: 40px;
  right: 0;

  background: #fff;
  border-radius: 12px;

  box-shadow: 0 12px 30px rgba(0,0,0,0.12);

  display: none;
  color: #000;
}

.sort-dropdown div {
  padding: 10px 14px;
  cursor: pointer;
}

.sort-dropdown div:hover {
  background: #f3f3f3;
}

/* =========================
   LIST VIEW
========================= */

.list-layout {
  grid-template-columns: 1fr !important;
}

/* =========================
   TRANSICION SUAVE
========================= */

.product-grid {
  transition: opacity 0.2s ease;
}

/* =========================
   DESKTOP FIX SIN ROMPER DISEÑO
========================= */

@media (min-width: 769px) {

  /* ⚠️ NO TOCAR .my-toolbar */

  .my-toolbar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    max-width: 1100px;
    margin: 0 auto; /* 👈 centra sin romper diseño */

    gap: 15px;
  }

  /* BUSCADOR */
  .my-search-box {
    width: 320px;
  }

  /* BOTONES */
  .my-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .my-toolbar-actions button {
    padding: 8px 14px;
  }

  /* ICONOS */
  .grid-view,
  .list-view {
    width: 36px;
    height: 36px;
    padding: 0;
  }

  /* CONTADOR */
  .my-count {
    font-size: 13px;
    margin-left: 5px;
  }

}

/* =========================
   MOBILE FIX LIMPIO
========================= */

@media (max-width: 768px) {

  .my-toolbar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
  }

  .my-toolbar-top {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* BUSCADOR */
  .my-search-box {
    width: 100% !important;
  }

  .my-search {
    font-size: 16px;
  }

  /* BOTONES EN UNA SOLA FILA */
  .my-toolbar-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  /* BOTONES NORMALES */
  .my-filter-btn {
    flex: 1;
    text-align: center;
  }

  /* GRID / LISTA */
  .view-buttons {
    display: flex;
    gap: 6px;
  }

  .grid-view,
  .list-view {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* ORDENAR */
  .sort-toggle {
    flex: 1;
  }

  /* OCULTAR CONTADOR */
  .my-count {
    display: none !important;
  }

}

/* EVITAR QUE SE MONTE SOBRE PRODUCTOS */
.product-grid,
.collection,
.results-list {
  position: relative;
  z-index: 0;
}

/* =========================
   FIX DISEÑO TOOLBAR (FORZADO)
========================= */

.my-toolbar {
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(14px) !important;

  border-radius: 20px !important;
  padding: 16px 20px !important;

  border: 1px solid rgba(0,0,0,0.06) !important;

  box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
}