/*
 * MobiLux — premium bridge for native WordPress & WooCommerce widgets.
 * Keeps native widget/block markup and functionality, upgrades only presentation.
 */

:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.shop-sidebar) .mobilux-widget:not(.mobilux-footer-widget),
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.shop-sidebar) .widget_block{
  --ml-widget-surface:#fff;
  --ml-widget-surface-soft:#fafaff;
  --ml-widget-line:#e9ecf3;
  --ml-widget-text:#252b3a;
  --ml-widget-muted:#858da1;
  --ml-widget-radius:20px;
  min-width:0;
  color:var(--ml-widget-text);
}

/* Blog/article sidebars use independent premium cards. Shop widgets remain inside the filter shell. */
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .mobilux-widget:not(.mobilux-footer-widget),
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .widget_block{
  position:relative;
  padding:18px;
  border:1px solid var(--ml-widget-line);
  border-radius:var(--ml-widget-radius);
  background:linear-gradient(180deg,#fff 0%,#fcfcff 100%);
  box-shadow:0 12px 35px rgba(31,38,67,.055);
  overflow:hidden;
}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .mobilux-widget:not(.mobilux-footer-widget)::after,
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .widget_block::after{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:2px;
  background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--ml-primary,#7357ff) 70%,#fff),transparent);
  opacity:.7;
  pointer-events:none;
}
.site-sidebar,.mobilux-blog-widget-stack{display:grid;gap:14px;min-width:0}

/* Shop sidebar: turn each native widget into a clean module without nesting bulky cards. */
.mobilux-shop-widget-stack{display:grid;gap:18px!important;padding:18px 16px!important}
.mobilux-shop-widget-stack>.widget,
.mobilux-shop-widget-stack>.widget_block,
.mobilux-shop-widget-stack>.wp-block-group,
.mobilux-shop-widget-stack>[class*="wp-block-woocommerce-"]{
  position:relative;
  margin:0!important;
  padding:18px!important;
  border:0!important;
  border-bottom:1px solid var(--ml-widget-line,#e9ecf3)!important;
  background:transparent!important;
  box-shadow:none!important;
}
.mobilux-shop-widget-stack>*:last-child{border-bottom:0!important}

/* Titles / headings */
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.widget-title,.wp-block-heading,h2.wp-block-heading,h3.wp-block-heading),
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .widget>h2,
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .widget>h3{
  position:relative;
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  margin:0 0 14px!important;
  padding:0 0 12px!important;
  color:var(--ml-widget-text,#252b3a)!important;
  font-size:12px!important;
  line-height:1.7!important;
  font-weight:900!important;
  letter-spacing:-.1px;
  border-bottom:1px solid #f0f1f5;
}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.widget-title,.wp-block-heading)::before{
  content:""!important;
  width:10px!important;
  height:10px!important;
  flex:0 0 10px!important;
  border:3px solid color-mix(in srgb,var(--ml-primary,#7357ff) 18%,#fff)!important;
  border-radius:50%!important;
  background:var(--ml-primary,#7357ff)!important;
  box-shadow:0 0 0 4px color-mix(in srgb,var(--ml-primary,#7357ff) 8%,transparent)!important;
}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.widget-title,.wp-block-heading)::after{
  content:"";
  position:absolute;
  right:0;
  bottom:-1px;
  width:42px;
  height:2px;
  border-radius:99px;
  background:var(--ml-primary,#7357ff);
}

/* Generic list widgets: categories, archives, pages, menus, meta, latest posts/comments. */
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(
  .widget_categories,.widget_archive,.widget_pages,.widget_nav_menu,.widget_meta,.widget_recent_entries,.widget_recent_comments,
  .wp-block-categories,.wp-block-archives,.wp-block-page-list,.wp-block-navigation,.wp-block-latest-posts,.wp-block-latest-comments
) ul{
  display:grid!important;
  gap:6px!important;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(
  .widget_categories,.widget_archive,.widget_pages,.widget_nav_menu,.widget_meta,.widget_recent_entries,.widget_recent_comments
) li{
  position:relative;
  min-width:0;
  margin:0!important;
  padding:0!important;
  list-style:none!important;
}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(
  .widget_categories,.widget_archive,.widget_pages,.widget_nav_menu,.widget_meta,.widget_recent_entries
) li>a{
  position:relative;
  display:flex!important;
  align-items:center!important;
  min-height:40px!important;
  gap:8px!important;
  padding:8px 11px 8px 34px!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  background:transparent!important;
  color:#5d6578!important;
  text-decoration:none!important;
  font-size:10px!important;
  line-height:1.65!important;
  font-weight:700!important;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease!important;
}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(
  .widget_categories,.widget_archive,.widget_pages,.widget_nav_menu,.widget_meta,.widget_recent_entries
) li>a::after{
  content:"\F284";
  font-family:"bootstrap-icons";
  position:absolute;
  left:11px;
  top:50%;
  transform:translateY(-50%);
  color:#b2b7c5;
  font-size:10px;
  transition:.18s ease;
}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(
  .widget_categories,.widget_archive,.widget_pages,.widget_nav_menu,.widget_meta,.widget_recent_entries
) li>a:hover,
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.current-cat,.current_page_item,.current-menu-item)>a{
  color:var(--ml-primary,#7357ff)!important;
  border-color:color-mix(in srgb,var(--ml-primary,#7357ff) 16%,#e9ecf3)!important;
  background:color-mix(in srgb,var(--ml-primary,#7357ff) 5%,#fff)!important;
  transform:translateX(-2px);
}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(
  .widget_categories,.widget_archive,.widget_pages,.widget_nav_menu,.widget_meta,.widget_recent_entries
) li>a:hover::after{color:var(--ml-primary,#7357ff);transform:translate(-2px,-50%)}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) .children,
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) .sub-menu{
  margin:5px 12px 0 0!important;
  padding-right:8px!important;
  border-right:1px dashed #dddff0!important;
}

/* Counts become compact badges. */
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.count,.wp-block-categories__post-count){
  display:inline-grid!important;
  place-items:center!important;
  min-width:23px!important;
  height:23px!important;
  margin-right:auto!important;
  padding:0 6px!important;
  border:1px solid #e9e7fa!important;
  border-radius:8px!important;
  background:#f7f6ff!important;
  color:#7a69cd!important;
  font-size:8px!important;
  font-weight:850!important;
}

/* Recent comments / latest comments */
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) .widget_recent_comments li,
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) .wp-block-latest-comments__comment{
  margin:0 0 7px!important;
  padding:10px 11px!important;
  border:1px solid #eceef4!important;
  border-radius:12px!important;
  background:#fbfcff!important;
  color:#747c8f!important;
  font-size:9px!important;
  line-height:1.8!important;
}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) .widget_recent_comments a,
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) .wp-block-latest-comments__comment-link{
  color:#33394a!important;
  font-weight:800!important;
  text-decoration:none!important;
}

/* Search widgets — WordPress and WooCommerce. */
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.search-form,.woocommerce-product-search,.wp-block-search__inside-wrapper){
  position:relative;
  display:flex!important;
  align-items:center!important;
  gap:7px!important;
  width:100%!important;
  min-width:0!important;
}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(
  .search-field,.wp-block-search__input,input[type="search"],input[type="text"],select
){
  min-width:0!important;
  min-height:42px!important;
  border:1px solid #e4e7ef!important;
  border-radius:12px!important;
  background:#fbfcff!important;
  color:#343a4b!important;
  font-family:inherit!important;
  font-size:10px!important;
  outline:0!important;
  box-shadow:none!important;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease!important;
}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.search-field,.wp-block-search__input,input[type="search"],input[type="text"]){
  width:100%!important;
  padding:0 13px!important;
}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) select{padding:0 12px!important}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.search-field,.wp-block-search__input,input[type="search"],input[type="text"],select):focus{
  border-color:color-mix(in srgb,var(--ml-primary,#7357ff) 48%,#dfe3ee)!important;
  background:#fff!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--ml-primary,#7357ff) 10%,transparent)!important;
}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(
  .search-submit,.wp-block-search__button,.woocommerce-product-search button,.button,button[type="submit"]
){
  min-height:42px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  flex:0 0 auto!important;
  padding:0 14px!important;
  border:1px solid var(--ml-primary,#7357ff)!important;
  border-radius:12px!important;
  background:var(--ml-primary,#7357ff)!important;
  color:#fff!important;
  font-family:inherit!important;
  font-size:9px!important;
  font-weight:900!important;
  line-height:1!important;
  text-decoration:none!important;
  box-shadow:0 8px 18px color-mix(in srgb,var(--ml-primary,#7357ff) 20%,transparent)!important;
  transition:transform .18s ease,filter .18s ease,box-shadow .18s ease!important;
}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(
  .search-submit,.wp-block-search__button,.woocommerce-product-search button,.button,button[type="submit"]
):hover{
  filter:brightness(.94)!important;
  transform:translateY(-1px)!important;
  box-shadow:0 10px 22px color-mix(in srgb,var(--ml-primary,#7357ff) 26%,transparent)!important;
}

/* Tag cloud */
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.tagcloud,.wp-block-tag-cloud){
  display:flex!important;
  flex-wrap:wrap!important;
  gap:7px!important;
  margin:0!important;
}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.tagcloud,.wp-block-tag-cloud) a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:31px!important;
  padding:5px 9px!important;
  border:1px solid #e6e8f0!important;
  border-radius:10px!important;
  background:#fafbfe!important;
  color:#697184!important;
  font-size:8px!important;
  font-weight:750!important;
  text-decoration:none!important;
  transition:.18s ease!important;
}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.tagcloud,.wp-block-tag-cloud) a:hover{
  border-color:color-mix(in srgb,var(--ml-primary,#7357ff) 28%,#e6e8f0)!important;
  background:color-mix(in srgb,var(--ml-primary,#7357ff) 5%,#fff)!important;
  color:var(--ml-primary,#7357ff)!important;
  transform:translateY(-1px);
}

/* Calendar */
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.calendar_wrap,.wp-block-calendar){overflow:hidden;border:1px solid #e9ebf2;border-radius:14px;background:#fff}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) .wp-calendar-table{width:100%!important;margin:0!important;border-collapse:collapse!important;table-layout:fixed!important}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) .wp-calendar-table caption{padding:11px!important;background:#fafaff!important;color:#34394a!important;font-size:10px!important;font-weight:900!important}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) .wp-calendar-table th,
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) .wp-calendar-table td{height:34px!important;padding:3px!important;border:0!important;border-top:1px solid #f0f1f5!important;text-align:center!important;font-size:8px!important}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) .wp-calendar-table a{display:grid!important;place-items:center!important;width:26px!important;height:26px!important;margin:auto!important;border-radius:8px!important;background:#f1eeff!important;color:var(--ml-primary,#7357ff)!important;font-weight:900!important;text-decoration:none!important}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) .wp-calendar-nav{display:flex!important;justify-content:space-between!important;padding:9px 11px!important;border-top:1px solid #f0f1f5!important;font-size:8px!important}

/* Text / RSS / media */
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.textwidget,.widget_text,.widget_rss,.wp-block-rss){color:#6c7487;font-size:9.5px;line-height:1.95}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.textwidget,.widget_text) img,
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.widget_media_image,.wp-block-image) img{display:block;max-width:100%;height:auto;border-radius:14px}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) .widget_rss li,
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) .wp-block-rss li{padding:10px 0;border-bottom:1px solid #eef0f5}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) .widget_rss li:last-child,
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) .wp-block-rss li:last-child{border-bottom:0}
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.rsswidget,.wp-block-rss__item-title a){color:#313747!important;font-weight:850!important;text-decoration:none!important}

/* WooCommerce product-list widgets: products, recently viewed, top rated, recent reviews. */
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) :where(
  .widget_products,.widget_recently_viewed_products,.widget_top_rated_products,.widget_recent_reviews
) ul.product_list_widget{
  display:grid!important;
  gap:9px!important;
  margin:0!important;
  padding:0!important;
}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) :where(
  .widget_products,.widget_recently_viewed_products,.widget_top_rated_products,.widget_recent_reviews
) ul.product_list_widget>li{
  position:relative!important;
  display:grid!important;
  grid-template-columns:54px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  column-gap:10px!important;
  row-gap:4px!important;
  min-height:72px!important;
  margin:0!important;
  padding:8px!important;
  border:1px solid #eceef4!important;
  border-radius:13px!important;
  background:linear-gradient(180deg,#fff 0%,#fbfbfe 100%)!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) :where(
  .widget_products,.widget_recently_viewed_products,.widget_top_rated_products,.widget_recent_reviews
) ul.product_list_widget>li:hover{
  border-color:color-mix(in srgb,var(--ml-primary,#7357ff) 20%,#e8eaf1)!important;
  box-shadow:0 9px 23px rgba(31,38,67,.07)!important;
  transform:translateY(-1px)!important;
}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) ul.product_list_widget>li>a{
  display:grid!important;
  grid-column:1/-1!important;
  grid-row:1!important;
  grid-template-columns:54px minmax(0,1fr)!important;
  gap:10px!important;
  align-items:center!important;
  min-width:0!important;
  min-height:54px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:#333949!important;
  text-decoration:none!important;
  transform:none!important;
}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) ul.product_list_widget>li>a::after{display:none!important}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) ul.product_list_widget img{
  float:none!important;
  width:54px!important;
  height:54px!important;
  margin:0!important;
  padding:5px!important;
  object-fit:contain!important;
  border:1px solid #eff0f5!important;
  border-radius:11px!important;
  background:#f8f9fc!important;
}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) ul.product_list_widget .product-title{
  display:-webkit-box!important;
  overflow:hidden!important;
  color:#333949!important;
  font-size:8.5px!important;
  line-height:1.65!important;
  font-weight:850!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) ul.product_list_widget>li>:not(a):not(img){grid-column:2!important;min-width:0}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) ul.product_list_widget :where(.amount,.woocommerce-Price-amount){color:#34394a!important;font-size:9px!important;font-weight:900!important;white-space:nowrap}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) ul.product_list_widget del{opacity:.48!important;font-size:7px!important}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) ul.product_list_widget ins{text-decoration:none!important}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) ul.product_list_widget .star-rating{grid-column:2!important;width:5.4em!important;margin:0!important;font-size:8px!important;color:#ffad32!important}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .widget_recent_reviews .reviewer{grid-column:2!important;color:#9299a9!important;font-size:7px!important}

/* Woo cart widget. */
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .widget_shopping_cart_content{display:grid;gap:10px}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .woocommerce-mini-cart{display:grid!important;gap:8px!important;margin:0!important;padding:0!important}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .woocommerce-mini-cart-item{
  position:relative!important;
  display:grid!important;
  grid-template-columns:50px minmax(0,1fr)!important;
  gap:9px!important;
  padding:8px 30px 8px 8px!important;
  border:1px solid #eceef4!important;
  border-radius:12px!important;
  background:#fff!important;
}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .woocommerce-mini-cart-item img{float:none!important;width:50px!important;height:50px!important;margin:0!important;object-fit:contain!important;border-radius:10px!important;background:#f8f9fc!important}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .woocommerce-mini-cart-item>a:not(.remove){display:grid!important;grid-template-columns:50px minmax(0,1fr)!important;gap:9px!important;grid-column:1/-1!important;align-items:center!important;color:#3b4151!important;font-size:8px!important;font-weight:800!important;text-decoration:none!important}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .woocommerce-mini-cart-item>a.remove{
  position:absolute!important;
  top:8px!important;
  right:8px!important;
  left:auto!important;
  width:20px!important;
  height:20px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:1px solid #f0d8de!important;
  border-radius:7px!important;
  background:#fff6f8!important;
  color:#cf536b!important;
  font-size:13px!important;
  line-height:1!important;
}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .woocommerce-mini-cart__total{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0!important;padding:10px 1px!important;border-top:1px solid #eef0f5!important;font-size:9px!important}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .woocommerce-mini-cart__buttons{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin:0!important}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .woocommerce-mini-cart__buttons .button{width:100%!important;margin:0!important}

/* Woo category / layered nav / rating filters. */
.mobilux-shop-widget-stack :where(.widget_product_categories,.widget_layered_nav,.widget_layered_nav_filters,.widget_rating_filter) li>a{
  min-height:37px!important;
  padding:7px 9px!important;
  border-radius:11px!important;
}
.mobilux-shop-widget-stack .woocommerce-widget-layered-nav-list__item{display:flex!important;align-items:center!important;gap:6px!important}
.mobilux-shop-widget-stack .woocommerce-widget-layered-nav-list__item>a{flex:1!important}
.mobilux-shop-widget-stack .widget_layered_nav_filters ul{display:flex!important;flex-wrap:wrap!important;gap:6px!important}
.mobilux-shop-widget-stack .widget_layered_nav_filters li a{min-height:30px!important;padding:5px 8px!important;border:1px solid #e1ddfb!important;background:#f8f6ff!important;color:#624dca!important}
.mobilux-shop-widget-stack .widget_rating_filter li>a{justify-content:space-between!important}
.mobilux-shop-widget-stack .widget_rating_filter .star-rating{font-size:10px!important;color:#ffad32!important}

/* Price filter */
.mobilux-shop-widget-stack .widget_price_filter .price_slider_wrapper{padding:4px 1px 0!important}
.mobilux-shop-widget-stack .widget_price_filter .ui-widget-content{height:5px!important;margin:13px 8px 20px!important;border:0!important;border-radius:99px!important;background:#e9e8f1!important}
.mobilux-shop-widget-stack .widget_price_filter .ui-slider .ui-slider-range{background:var(--ml-primary,#7357ff)!important}
.mobilux-shop-widget-stack .widget_price_filter .ui-slider .ui-slider-handle{top:-7px!important;width:19px!important;height:19px!important;margin-left:-9px!important;border:4px solid #fff!important;border-radius:50%!important;background:var(--ml-primary,#7357ff)!important;box-shadow:0 3px 10px color-mix(in srgb,var(--ml-primary,#7357ff) 28%,transparent)!important}
.mobilux-shop-widget-stack .price_slider_amount{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:9px!important}
.mobilux-shop-widget-stack .price_slider_amount .button{grid-column:1!important;grid-row:1!important;min-height:36px!important}
.mobilux-shop-widget-stack .price_slider_amount .price_label{grid-column:2!important;grid-row:1!important;color:#727a8e!important;font-size:8px!important;line-height:1.8!important;text-align:left!important}

/* Woo Blocks — filters/categories/product lists. */
.mobilux-shop-widget-stack :where(.wc-block-components-checkbox,.wc-block-components-radio-control__option){margin:7px 0!important}
.mobilux-shop-widget-stack :where(.wc-block-components-checkbox__label,.wc-block-components-checkbox label,.wc-block-components-radio-control__label){color:#545c70!important;font-size:9px!important;line-height:1.65!important}
.mobilux-shop-widget-stack input[type="checkbox"],
.mobilux-shop-widget-stack input[type="radio"]{accent-color:var(--ml-primary,#7357ff)}
.mobilux-shop-widget-stack .wc-block-components-chip{min-height:29px!important;border:1px solid #e5e1fb!important;border-radius:9px!important;background:#f8f6ff!important;color:#6250bd!important;font-size:8px!important}
.mobilux-shop-widget-stack .wc-block-components-filter-reset-button{min-height:auto!important;padding:4px 0!important;border:0!important;background:transparent!important;color:var(--ml-primary,#7357ff)!important;box-shadow:none!important;font-size:8px!important;text-decoration:none!important}
.mobilux-shop-widget-stack .wc-block-components-price-slider__range-input-progress{--range-color:var(--ml-primary,#7357ff)!important}

/* Modern product-collection/grid blocks when used in a narrow widget area. */
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .wc-block-grid__products,
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .wc-block-product-template{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:9px!important;
  margin:0!important;
  padding:0!important;
}
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .wc-block-grid__product,
:where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .wc-block-product{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:10px!important;
  border:1px solid #eceef4!important;
  border-radius:13px!important;
  background:#fff!important;
}

/* Better empty states. */
:where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.woocommerce-mini-cart__empty-message,.wp-block-latest-comments__no-comments){
  margin:0!important;
  padding:14px!important;
  border:1px dashed #dfe3ec!important;
  border-radius:12px!important;
  background:#fafbfe!important;
  color:#858da0!important;
  text-align:center!important;
  font-size:9px!important;
}

/* Responsive: keep widgets readable in shop offcanvas and narrow sidebars. */
@media(max-width:1199.98px){
  .shop-sidebar .mobilux-shop-widget-stack{gap:14px!important;padding:14px 16px 96px!important}
  .shop-sidebar .mobilux-shop-widget-stack>.widget,
  .shop-sidebar .mobilux-shop-widget-stack>.widget_block,
  .shop-sidebar .mobilux-shop-widget-stack>.wp-block-group,
  .shop-sidebar .mobilux-shop-widget-stack>[class*="wp-block-woocommerce-"]{padding:16px!important}
  .shop-sidebar .mobilux-shop-widget-stack :where(.widget-title,.wp-block-heading){font-size:12px!important}
}
@media(max-width:767.98px){
  :where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .mobilux-widget:not(.mobilux-footer-widget),
  :where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .widget_block{padding:15px;border-radius:17px}
  :where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.widget-title,.wp-block-heading){margin-bottom:11px!important;padding-bottom:10px!important;font-size:11px!important}
  :where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.search-form,.woocommerce-product-search,.wp-block-search__inside-wrapper){display:grid!important;grid-template-columns:minmax(0,1fr) auto!important}
  :where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) :where(.widget_products,.widget_recently_viewed_products,.widget_top_rated_products,.widget_recent_reviews) ul.product_list_widget>li{grid-template-columns:50px minmax(0,1fr)!important;min-height:68px!important}
  :where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) ul.product_list_widget>li>a{grid-template-columns:50px minmax(0,1fr)!important}
  :where(.shop-sidebar,.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) ul.product_list_widget img{width:50px!important;height:50px!important}
}

/* Dark mode bridge. */
html[data-mobilux-theme="dark"] :where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.shop-sidebar) .mobilux-widget:not(.mobilux-footer-widget),
html[data-mobilux-theme="dark"] :where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.shop-sidebar) .widget_block{
  --ml-widget-surface:var(--mobilux-dark-surface,#1b2030);
  --ml-widget-surface-soft:#171c29;
  --ml-widget-line:rgba(255,255,255,.09);
  --ml-widget-text:var(--mobilux-dark-text,#f3f5fb);
  --ml-widget-muted:#9aa3b7;
}
html[data-mobilux-theme="dark"] :where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .mobilux-widget:not(.mobilux-footer-widget),
html[data-mobilux-theme="dark"] :where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky) .widget_block{background:linear-gradient(180deg,#1b2030,#181d2a);border-color:rgba(255,255,255,.09)}
html[data-mobilux-theme="dark"] :where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(.widget-title,.wp-block-heading){color:#f3f5fb!important;border-color:rgba(255,255,255,.08)!important}
html[data-mobilux-theme="dark"] :where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.mobilux-shop-widget-stack) :where(input[type="search"],input[type="text"],select){background:#151a27!important;border-color:rgba(255,255,255,.1)!important;color:#eef1f8!important}

@media(prefers-color-scheme:dark){
  html[data-mobilux-theme="system"] :where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.shop-sidebar) .mobilux-widget:not(.mobilux-footer-widget),
  html[data-mobilux-theme="system"] :where(.site-sidebar,.mobilux-blog-widget-stack,.article-sidebar-sticky,.shop-sidebar) .widget_block{
    --ml-widget-surface:var(--mobilux-dark-surface,#1b2030);
    --ml-widget-surface-soft:#171c29;
    --ml-widget-line:rgba(255,255,255,.09);
    --ml-widget-text:var(--mobilux-dark-text,#f3f5fb);
    --ml-widget-muted:#9aa3b7;
  }
}
