/* Catalogo: controles moviles, sin alterar la ficha del producto. */
.catalog-filter-disclosure { min-width:0; border:0; }
.catalog-filter-disclosure > summary,.catalog-filter-mobile-actions { display:none; }
@media(min-width:741px) { .catalog-filter-disclosure:not([open]) > .home-filter-panel { display:block; } }
@media(max-width:740px) {
  [data-storefront-catalog] { min-width:0; }
  [data-storefront-catalog] .catalog-search { padding:12px!important; border-radius:14px; }
  [data-storefront-catalog] .catalog-search input { font-size:16px!important; min-height:46px; }
  [data-storefront-catalog] .catalog-search-field > label { margin-bottom:6px; }
  .catalog-filter-disclosure { margin:12px 0 18px; }
  .catalog-filter-disclosure > summary { display:flex; align-items:center; justify-content:space-between; gap:10px; min-height:48px; padding:10px 14px; border:1px solid var(--gs-line); border-radius:12px; cursor:pointer; list-style:none; font-weight:700; background:var(--gs-surface); color:var(--gs-text); }
  .catalog-filter-disclosure > summary::-webkit-details-marker { display:none; }
  .catalog-filter-disclosure > summary::after { content:'+'; font-size:22px; }
  .catalog-filter-disclosure[open] > summary::after { content:'−'; }
  .catalog-filter-disclosure summary small { margin-left:auto; font-weight:400; color:var(--gs-muted); }
  [data-storefront-catalog] .catalog-filter-disclosure .home-filter-panel { position:static!important; height:auto!important; max-height:none!important; overflow:visible!important; padding:14px 0 0; }
  [data-storefront-catalog] .home-filter-toolbar { display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
  [data-storefront-catalog] .home-filter-toolbar h3 { width:100%; margin:0; font-size:16px; }
  [data-storefront-catalog] .catalog-filter-field { flex:1 1 150px; min-width:0; }
  [data-storefront-catalog] .catalog-filter-field select { width:100%; min-height:44px; font-size:16px; }
  [data-storefront-catalog] .home-filter-chip-row,[data-storefront-catalog] .home-filter-chips { display:flex; flex-wrap:wrap!important; max-height:none!important; height:auto!important; overflow:visible!important; gap:8px; }
  [data-storefront-catalog] .home-filter-chips { border:0; margin:10px 0 0; padding:0; min-width:0; }
  [data-storefront-catalog] .home-category-chips { flex-basis:100%; }
  [data-storefront-catalog] .home-filter-chip span { display:flex; align-items:center; min-height:44px; padding:8px 12px; font-size:12px; }
  .catalog-filter-mobile-actions { display:flex; gap:10px; padding-top:16px; }
  .catalog-filter-mobile-actions button { flex:1; min-height:44px; }
  [data-storefront-catalog] .product-grid { gap:12px!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; }
  [data-storefront-catalog][data-columns="1"] .product-grid { grid-template-columns:minmax(0,1fr)!important; }
  [data-storefront-catalog] .product-card { min-width:0; transform:none!important; }
  [data-storefront-catalog] .product-body { padding:10px 8px!important; }
  [data-storefront-catalog] .product-body h3 { font-size:clamp(12px,3.4vw,15px)!important; line-height:1.35; min-height:2.7em; overflow-wrap:anywhere; }
  [data-storefront-catalog] .favorite-button { width:44px!important; height:44px!important; }
  [data-storefront-catalog] .pagination { gap:6px; flex-wrap:wrap; }
  [data-storefront-catalog] .pagination a { min-width:44px; min-height:44px; }
}
@media(prefers-reduced-motion:reduce) { [data-storefront-catalog] * { scroll-behavior:auto; } }
