/* Explosión Creativa V11 — Header cart + shop filter */

/* Header cart drawer: fixed, never part of document flow. */
#ec-header-cart-drawer{
  position:fixed!important; top:0; right:0; bottom:0;
  width:min(430px,100vw); max-width:100vw;
  z-index:2147483000!important;
  background:#fff; box-shadow:-12px 0 35px rgba(0,0,0,.18);
  transform:translate3d(105%,0,0); visibility:hidden; opacity:0;
  transition:transform .28s ease,opacity .2s ease,visibility 0s linear .28s;
  overflow:hidden;
}
#ec-header-cart-drawer.is-open{
  transform:translate3d(0,0,0); visibility:visible; opacity:1;
  transition:transform .28s ease,opacity .2s ease;
}
#ec-header-cart-drawer .ec-cart-drawer-inner{height:100%;overflow:auto;-webkit-overflow-scrolling:touch;padding:20px;box-sizing:border-box}
#ec-header-cart-drawer .ec-cart-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
#ec-header-cart-drawer .ec-cart-drawer-head h3{margin:0;font-size:20px;line-height:1.25}
#ec-header-cart-drawer .ec-cart-close{border:0;background:#f3f4f6;width:40px;height:40px;border-radius:50%;cursor:pointer;font-size:22px;line-height:1}
#ec-header-cart-drawer .ec-cart-items{margin:0;padding:0;list-style:none}
#ec-header-cart-drawer .ec-cart-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
#ec-header-cart-drawer .ec-cart-actions a{flex:1 1 180px;text-align:center;text-decoration:none}
#ec-cart-drawer-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:2147482999;display:none}
#ec-cart-drawer-overlay.is-open{display:block}

/* Keep the shop filter's price Apply button visible and below the price fields. */
.rbt-filter-offcanvas-area .widget_price_filter .price_slider_amount,
.rbt-filter-offcanvas-area .widget_price_filter .price_slider_amount .price_label,
.rbt-shop-filter-area .widget_price_filter .price_slider_amount,
.rbt-sidebar .widget_price_filter .price_slider_amount{width:100%;box-sizing:border-box}
.widget_price_filter .price_slider_amount{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important;clear:both!important}
.widget_price_filter .price_slider_amount .button,
.widget_price_filter button[type="submit"],
.rbt-filter-offcanvas-area .widget_price_filter .button,
.rbt-sidebar .widget_price_filter .button{
  display:flex!important;align-items:center;justify-content:center;
  flex:0 0 100%!important;width:100%!important;max-width:100%!important;
  min-height:50px!important;margin:8px 0 0!important;
  clear:both!important;float:none!important;position:static!important;
  white-space:nowrap!important;box-sizing:border-box!important;
  border-radius:10px!important;cursor:pointer!important;
}
.ec-price-apply-button{order:99!important}

@media (max-width:767px){
  #ec-header-cart-drawer{width:100vw}
  #ec-header-cart-drawer .ec-cart-drawer-inner{padding:16px}
  .widget_price_filter .price_slider_amount .button,
  .widget_price_filter button[type="submit"]{min-height:48px!important}
}

/* Explosión Creativa V16 — shop filters: functional + responsive */
.rbt-filter-offcanvas-area form,
.rbt-sidebar form { width:100%; max-width:100%; box-sizing:border-box; }
.rbt-filter-offcanvas-area form button,
.rbt-sidebar form button,
.rbt-filter-offcanvas-area form input[type="submit"],
.rbt-sidebar form input[type="submit"] { max-width:100%; box-sizing:border-box; }
.ec-filter-apply-button {
  display:flex!important;
  width:100%!important;
  min-height:46px!important;
  align-items:center!important;
  justify-content:center!important;
  margin-top:14px!important;
  clear:both!important;
  float:none!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}
.rbt-sidebar-title { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.rbt-shop-filter-area .rbt-store-sort-control-area .ec-obsolete-show-control,
.rbt-shop-filter-area .rbt-store-sort-control-area .rbt-obsolete-show-control { display:none!important; }
@media (max-width:767.98px){
  .ec-filter-apply-button{min-height:48px!important;}
  .rbt-filter-offcanvas-area form,
  .rbt-sidebar form{overflow:visible!important;}
}
