/*
 * AsanWP legacy layout compatibility.
 * Replaces the tiny subset of Bootstrap that the theme's historical markup
 * still uses. Keep this intentionally small; new components should use their
 * own scoped layout styles instead of Bootstrap utility classes.
 */
*,*::before,*::after{box-sizing:border-box}
body{margin:0}
.row{
  --awp-grid-gutter-x:1.5rem;
  --awp-grid-gutter-y:0;
  display:flex;
  flex-wrap:wrap;
  margin-top:calc(-1 * var(--awp-grid-gutter-y));
  margin-inline:calc(-.5 * var(--awp-grid-gutter-x));
}
.row>*{
  box-sizing:border-box;
  flex-shrink:0;
  width:100%;
  max-width:100%;
  padding-inline:calc(var(--awp-grid-gutter-x) * .5);
  margin-top:var(--awp-grid-gutter-y);
}
.row.g-0{--awp-grid-gutter-x:0;--awp-grid-gutter-y:0}
.col{flex:1 0 0%}
.col-12{flex:0 0 auto;width:100%}
.d-flex{display:flex!important}


/* The wide catalog filter is the only Bootstrap-style dropdown compatibility left in PHP. */
.filters-wide-button.dropdown{position:relative}
.filters-wide-button.dropdown>.dropdown-menu:not(.show){display:none!important}
.filters-wide-button.dropdown>.dropdown-menu.show{display:block!important}

@media (min-width:992px){
  .col-lg-2{flex:0 0 auto;width:16.66666667%}
  .col-lg-3{flex:0 0 auto;width:25%}
  .col-lg-4{flex:0 0 auto;width:33.33333333%}
  .col-lg-9{flex:0 0 auto;width:75%}
  .col-lg-10{flex:0 0 auto;width:83.33333333%}
  .col-lg-12{flex:0 0 auto;width:100%}
  .offset-lg-1{margin-inline-start:8.33333333%}
}
