/* =====================================================
   RAMIRENT PRODUCT CATEGORY ARCHIVE + ALL PRODUCTS PAGE + SHOP ARCHIVE
   Applies to:
   - body.tax-product_cat
   - body.page-template-page-all-products-php
   - body.post-type-archive-product
   - body.woocommerce-shop
   ===================================================== */

/* =====================================================
   VARIABLES
   ===================================================== */
body.tax-product_cat,
body.page-template-page-all-products-php,
body.post-type-archive-product,
body.woocommerce-shop{
  --rami-pill-h: 52px;
  --rami-pill-radius: 999px;
  --rami-blue: #003287;
  --rami-orange: #f47c20;
  --rami-gray-bg: #eeeeee;
  --rami-gray-border: #d9d9d9;
  --rami-gray-text: #777;
  --rami-card-bg: #eee;
  --rami-card-radius: 14px;
}

/* =====================================================
   CONTAINER
   ===================================================== */
body.tax-product_cat .rami-archive,
body.page-template-page-all-products-php .rami-archive,
body.post-type-archive-product .rami-archive,
body.woocommerce-shop .rami-archive{
  max-width:1320px;
  margin:0 auto;
  padding:40px 16px 70px;
}

body.tax-product_cat .rami-archive__header,
body.page-template-page-all-products-php .rami-archive__header,
body.post-type-archive-product .rami-archive__header,
body.woocommerce-shop .rami-archive__header{
  margin-bottom:20px;
}

body.tax-product_cat .woocommerce-breadcrumb,
body.page-template-page-all-products-php .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb,
body.woocommerce-shop .woocommerce-breadcrumb{
  display:none !important;
}

/* =====================================================
   LAYOUT
   ===================================================== */
body.tax-product_cat .rami-archive__layout,
body.page-template-page-all-products-php .rami-archive__layout,
body.post-type-archive-product .rami-archive__layout,
body.woocommerce-shop .rami-archive__layout{
  display:grid !important;
  grid-template-columns:320px 1fr !important;
  gap:28px !important;
  align-items:start !important;
}

body.tax-product_cat .rami-archive__main,
body.page-template-page-all-products-php .rami-archive__main,
body.post-type-archive-product .rami-archive__main,
body.woocommerce-shop .rami-archive__main{
  min-width:0 !important;
}

/* =====================================================
   SIDEBAR
   ===================================================== */
body.tax-product_cat .rami-archive__sidebar,
body.page-template-page-all-products-php .rami-archive__sidebar,
body.post-type-archive-product .rami-archive__sidebar,
body.woocommerce-shop .rami-archive__sidebar{
  margin-top:55px;
  background:#f5f5f5;
  border:1px solid #eaeaea;
  border-radius:8px;
  padding:18px 16px;
}

body.tax-product_cat .rami-archive__sidebar .wpfFilter,
body.page-template-page-all-products-php .rami-archive__sidebar .wpfFilter,
body.post-type-archive-product .rami-archive__sidebar .wpfFilter,
body.woocommerce-shop .rami-archive__sidebar .wpfFilter{
  padding:14px 0 !important;
  border-top:1px solid #e6e6e6 !important;
}

body.tax-product_cat .rami-archive__sidebar .wpfFilter:first-child,
body.page-template-page-all-products-php .rami-archive__sidebar .wpfFilter:first-child,
body.post-type-archive-product .rami-archive__sidebar .wpfFilter:first-child,
body.woocommerce-shop .rami-archive__sidebar .wpfFilter:first-child{
  border-top:0 !important;
  padding-top:0 !important;
}

/* button wrapper defaults */
body.tax-product_cat .rami-archive__sidebar .wpfFilterButtons,
body.tax-product_cat .rami-archive__sidebar .wpfFilterButtonsTop,
body.page-template-page-all-products-php .rami-archive__sidebar .wpfFilterButtons,
body.page-template-page-all-products-php .rami-archive__sidebar .wpfFilterButtonsTop,
body.post-type-archive-product .rami-archive__sidebar .wpfFilterButtons,
body.post-type-archive-product .rami-archive__sidebar .wpfFilterButtonsTop,
body.woocommerce-shop .rami-archive__sidebar .wpfFilterButtons,
body.woocommerce-shop .rami-archive__sidebar .wpfFilterButtonsTop{
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  width:100% !important;
  align-items:stretch !important;
}

/* =====================================================
   SHOW FILTER BUTTON
   ===================================================== */
body.tax-product_cat .rami-archive__sidebar button.wfpHideButton.wfpButton,
body.page-template-page-all-products-php .rami-archive__sidebar button.wfpHideButton.wfpButton,
body.post-type-archive-product .rami-archive__sidebar button.wfpHideButton.wfpButton,
body.woocommerce-shop .rami-archive__sidebar button.wfpHideButton.wfpButton{
  width:100% !important;
  max-width:100% !important;
  min-width:100% !important;
  height:var(--rami-pill-h) !important;
  min-height:var(--rami-pill-h) !important;
  padding:0 18px !important;
  margin:0 0 12px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  align-self:stretch !important;
  box-sizing:border-box !important;

  border-radius:var(--rami-pill-radius) !important;
  border:2px solid var(--rami-blue) !important;
  background:var(--rami-blue) !important;
  color:#fff !important;

  font-weight:700 !important;
  font-size:16px !important;
  line-height:1 !important;
  text-decoration:none !important;
  box-shadow:none !important;
  cursor:pointer !important;
  transition:all .25s ease !important;
}

body.tax-product_cat .rami-archive__sidebar button.wfpHideButton.wfpButton:hover,
body.page-template-page-all-products-php .rami-archive__sidebar button.wfpHideButton.wfpButton:hover,
body.post-type-archive-product .rami-archive__sidebar button.wfpHideButton.wfpButton:hover,
body.woocommerce-shop .rami-archive__sidebar button.wfpHideButton.wfpButton:hover{
  background:var(--rami-orange) !important;
  border-color:var(--rami-orange) !important;
  color:#fff !important;
}

body.tax-product_cat .rami-archive__sidebar button.wfpHideButton.wfpButton .wfpHideText,
body.page-template-page-all-products-php .rami-archive__sidebar button.wfpHideButton.wfpButton .wfpHideText,
body.post-type-archive-product .rami-archive__sidebar button.wfpHideButton.wfpButton .wfpHideText,
body.woocommerce-shop .rami-archive__sidebar button.wfpHideButton.wfpButton .wfpHideText{
  display:block !important;
  width:100% !important;
  text-align:center !important;
  margin:0 !important;
  padding:0 !important;
  line-height:1 !important;
}

body.tax-product_cat .rami-archive__sidebar button.wfpHideButton.wfpButton i,
body.tax-product_cat .rami-archive__sidebar button.wfpHideButton.wfpButton svg,
body.tax-product_cat .rami-archive__sidebar button.wfpHideButton.wfpButton .fa,
body.page-template-page-all-products-php .rami-archive__sidebar button.wfpHideButton.wfpButton i,
body.page-template-page-all-products-php .rami-archive__sidebar button.wfpHideButton.wfpButton svg,
body.page-template-page-all-products-php .rami-archive__sidebar button.wfpHideButton.wfpButton .fa,
body.post-type-archive-product .rami-archive__sidebar button.wfpHideButton.wfpButton i,
body.post-type-archive-product .rami-archive__sidebar button.wfpHideButton.wfpButton svg,
body.post-type-archive-product .rami-archive__sidebar button.wfpHideButton.wfpButton .fa,
body.woocommerce-shop .rami-archive__sidebar button.wfpHideButton.wfpButton i,
body.woocommerce-shop .rami-archive__sidebar button.wfpHideButton.wfpButton svg,
body.woocommerce-shop .rami-archive__sidebar button.wfpHideButton.wfpButton .fa{
  display:none !important;
}

body.tax-product_cat .rami-archive__sidebar button.wfpHideButton.wfpButton .fa:before,
body.page-template-page-all-products-php .rami-archive__sidebar button.wfpHideButton.wfpButton .fa:before,
body.post-type-archive-product .rami-archive__sidebar button.wfpHideButton.wfpButton .fa:before,
body.woocommerce-shop .rami-archive__sidebar button.wfpHideButton.wfpButton .fa:before{
  content:none !important;
}

/* =====================================================
   CLEAR BUTTON
   ===================================================== */
body.tax-product_cat .rami-archive__sidebar button.wpfClearButton.wpfButton,
body.page-template-page-all-products-php .rami-archive__sidebar button.wpfClearButton.wpfButton,
body.post-type-archive-product .rami-archive__sidebar button.wpfClearButton.wpfButton,
body.woocommerce-shop .rami-archive__sidebar button.wpfClearButton.wpfButton{
  width:100% !important;
  max-width:100% !important;
  min-width:100% !important;
  height:var(--rami-pill-h) !important;
  min-height:var(--rami-pill-h) !important;
  padding:0 18px !important;
  margin:0 !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-sizing:border-box !important;

  border-radius:var(--rami-pill-radius) !important;
  border:2px solid var(--rami-gray-border) !important;
  background:var(--rami-gray-bg) !important;
  color:var(--rami-gray-text) !important;

  font-weight:700 !important;
  font-size:16px !important;
  line-height:1 !important;
  cursor:pointer !important;
  transition:all .25s ease !important;
}

body.tax-product_cat .wpfMainWrapper:not(.wpfNotActive) button.wpfClearButton.wpfButton,
body.page-template-page-all-products-php .wpfMainWrapper:not(.wpfNotActive) button.wpfClearButton.wpfButton,
body.post-type-archive-product .wpfMainWrapper:not(.wpfNotActive) button.wpfClearButton.wpfButton,
body.woocommerce-shop .wpfMainWrapper:not(.wpfNotActive) button.wpfClearButton.wpfButton{
  background:var(--rami-blue) !important;
  border-color:var(--rami-blue) !important;
  color:#fff !important;
}

body.tax-product_cat .wpfMainWrapper:not(.wpfNotActive) button.wpfClearButton.wpfButton:hover,
body.page-template-page-all-products-php .wpfMainWrapper:not(.wpfNotActive) button.wpfClearButton.wpfButton:hover,
body.post-type-archive-product .wpfMainWrapper:not(.wpfNotActive) button.wpfClearButton.wpfButton:hover,
body.woocommerce-shop .wpfMainWrapper:not(.wpfNotActive) button.wpfClearButton.wpfButton:hover{
  background:var(--rami-orange) !important;
  border-color:var(--rami-orange) !important;
  color:#fff !important;
}

/* =====================================================
   REMOVE WOOCOMMERCE DEFAULT CONFLICTS
   ===================================================== */
body.tax-product_cat .woocommerce-ordering,
body.page-template-page-all-products-php .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering,
body.woocommerce-shop .woocommerce-ordering{
  display:none !important;
}

body.tax-product_cat .woocommerce,
body.tax-product_cat .woocommerce-page,
body.tax-product_cat .rami-archive__main,
body.tax-product_cat .rami-archive__main *,
body.page-template-page-all-products-php .woocommerce,
body.page-template-page-all-products-php .woocommerce-page,
body.page-template-page-all-products-php .rami-archive__main,
body.page-template-page-all-products-php .rami-archive__main *,
body.post-type-archive-product .woocommerce,
body.post-type-archive-product .woocommerce-page,
body.post-type-archive-product .rami-archive__main,
body.post-type-archive-product .rami-archive__main *,
body.woocommerce-shop .woocommerce,
body.woocommerce-shop .woocommerce-page,
body.woocommerce-shop .rami-archive__main,
body.woocommerce-shop .rami-archive__main *{
  box-sizing:border-box;
}

/* =====================================================
   PRODUCT GRID
   ===================================================== */
body.tax-product_cat .rami-archive__main ul.products,
body.page-template-page-all-products-php .rami-archive__main ul.products,
body.post-type-archive-product .rami-archive__main ul.products,
body.woocommerce-shop .rami-archive__main ul.products{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:24px !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
  float:none !important;
  clear:both !important;
}

body.tax-product_cat .rami-archive__main ul.products:before,
body.tax-product_cat .rami-archive__main ul.products:after,
body.page-template-page-all-products-php .rami-archive__main ul.products:before,
body.page-template-page-all-products-php .rami-archive__main ul.products:after,
body.post-type-archive-product .rami-archive__main ul.products:before,
body.post-type-archive-product .rami-archive__main ul.products:after,
body.woocommerce-shop .rami-archive__main ul.products:before,
body.woocommerce-shop .rami-archive__main ul.products:after{
  content:none !important;
  display:none !important;
}

body.tax-product_cat .rami-archive__main ul.products > li.product,
body.tax-product_cat .rami-archive__main ul.products > li,
body.page-template-page-all-products-php .rami-archive__main ul.products > li.product,
body.page-template-page-all-products-php .rami-archive__main ul.products > li,
body.post-type-archive-product .rami-archive__main ul.products > li.product,
body.post-type-archive-product .rami-archive__main ul.products > li,
body.woocommerce-shop .rami-archive__main ul.products > li.product,
body.woocommerce-shop .rami-archive__main ul.products > li{
  float:none !important;
  clear:none !important;
  width:auto !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
  display:block !important;
  position:relative !important;
  min-width:0 !important;
  flex:none !important;

  background:var(--rami-card-bg) !important;
  border-top:2px solid #eee !important;
  border-left:2px solid #eee !important;
  border-right:2px solid #eee !important;
  border-bottom:0 !important;
  border-radius:var(--rami-card-radius) !important;
  overflow:hidden !important;

  transition:transform .22s ease, box-shadow .22s ease !important;
  transform:translateY(0) !important;
  transform-origin:center bottom !important;
}

body.tax-product_cat .rami-archive__main ul.products > li.product:hover,
body.tax-product_cat .rami-archive__main ul.products > li:hover,
body.page-template-page-all-products-php .rami-archive__main ul.products > li.product:hover,
body.page-template-page-all-products-php .rami-archive__main ul.products > li:hover,
body.post-type-archive-product .rami-archive__main ul.products > li.product:hover,
body.post-type-archive-product .rami-archive__main ul.products > li:hover,
body.woocommerce-shop .rami-archive__main ul.products > li.product:hover,
body.woocommerce-shop .rami-archive__main ul.products > li:hover{
  transform:translateY(-6px) scale(1.01) !important;
  box-shadow:0 10px 24px rgba(0,0,0,.08) !important;
}

/* =====================================================
   CARD IMAGE
   ===================================================== */
body.tax-product_cat .rami-card__imgwrap,
body.page-template-page-all-products-php .rami-card__imgwrap,
body.post-type-archive-product .rami-card__imgwrap,
body.woocommerce-shop .rami-card__imgwrap{
  width:100% !important;
  aspect-ratio:333 / 187 !important;
  border-radius:var(--rami-card-radius) !important;
  overflow:hidden !important;
  background:#fff !important;
  position:relative !important;
}

body.tax-product_cat .rami-card__imgwrap img,
body.tax-product_cat .rami-card__img,
body.page-template-page-all-products-php .rami-card__imgwrap img,
body.page-template-page-all-products-php .rami-card__img,
body.post-type-archive-product .rami-card__imgwrap img,
body.post-type-archive-product .rami-card__img,
body.woocommerce-shop .rami-card__imgwrap img,
body.woocommerce-shop .rami-card__img{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:100% !important;
  object-fit:cover !important;
  display:block !important;
  border-radius:var(--rami-card-radius) !important;
}

body.tax-product_cat ul.products li.product img,
body.page-template-page-all-products-php ul.products li.product img,
body.post-type-archive-product ul.products li.product img,
body.woocommerce-shop ul.products li.product img{
  width:100% !important;
  height:auto !important;
  display:block !important;
}

/* =====================================================
   CARD TEXT
   ===================================================== */
body.tax-product_cat .rami-card__cat,
body.page-template-page-all-products-php .rami-card__cat,
body.post-type-archive-product .rami-card__cat,
body.woocommerce-shop .rami-card__cat{
  margin-top:10px !important;
  padding-left:14px !important;
  padding-right:14px !important;
  font-size:12px !important;
  text-transform:uppercase !important;
  letter-spacing:.05em !important;
  opacity:.75 !important;
}

body.tax-product_cat .rami-card__meta,
body.page-template-page-all-products-php .rami-card__meta,
body.post-type-archive-product .rami-card__meta,
body.woocommerce-shop .rami-card__meta{
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:space-between !important;
  flex-wrap:nowrap !important;
  gap:12px !important;
  padding:4px 14px 10px !important;
}

body.tax-product_cat .rami-card__title,
body.page-template-page-all-products-php .rami-card__title,
body.post-type-archive-product .rami-card__title,
body.woocommerce-shop .rami-card__title{
  margin:0 !important;
  padding:0 !important;
  font-size:18px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  color:var(--rami-blue) !important;
  flex:1 1 auto !important;
  min-width:0 !important;
  display:block !important;
}

body.tax-product_cat .rami-card__title a,
body.page-template-page-all-products-php .rami-card__title a,
body.post-type-archive-product .rami-card__title a,
body.woocommerce-shop .rami-card__title a{
  display:block !important;
  color:var(--rami-blue) !important;
  text-decoration:none !important;
  line-height:1.2 !important;
}

/* =====================================================
   ACTION BUTTONS
   ===================================================== */
body.tax-product_cat .rami-card__actions,
body.page-template-page-all-products-php .rami-card__actions,
body.post-type-archive-product .rami-card__actions,
body.woocommerce-shop .rami-card__actions{
  position:static !important;
  right:auto !important;
  bottom:auto !important;
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:10px !important;
  margin:0 !important;
  z-index:auto !important;
  flex:0 0 auto !important;
  flex-wrap:nowrap !important;
}

body.tax-product_cat .rami-card__btn,
body.page-template-page-all-products-php .rami-card__btn,
body.post-type-archive-product .rami-card__btn,
body.woocommerce-shop .rami-card__btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;

  min-width:auto !important;
  height:42px !important;
  min-height:42px !important;
  padding:0 16px !important;

  border-radius:999px !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  vertical-align:middle !important;

  font-weight:700 !important;
  font-size:14px !important;
  line-height:1 !important;
  text-align:center !important;

  border:1px solid rgba(0,0,0,.08) !important;
  box-shadow:none !important;
  transition:background-color .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease !important;
  box-sizing:border-box !important;
  position:relative !important;
  top:0 !important;
  transform:none !important;
}

body.tax-product_cat .rami-card__btn::before,
body.tax-product_cat .rami-card__btn::after,
body.page-template-page-all-products-php .rami-card__btn::before,
body.page-template-page-all-products-php .rami-card__btn::after,
body.post-type-archive-product .rami-card__btn::before,
body.post-type-archive-product .rami-card__btn::after,
body.woocommerce-shop .rami-card__btn::before,
body.woocommerce-shop .rami-card__btn::after{
  content:none !important;
  display:none !important;
}

body.tax-product_cat .rami-card__btn span,
body.page-template-page-all-products-php .rami-card__btn span,
body.post-type-archive-product .rami-card__btn span,
body.woocommerce-shop .rami-card__btn span{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  line-height:1 !important;
}

body.tax-product_cat .rami-card__btn-icon,
body.page-template-page-all-products-php .rami-card__btn-icon,
body.post-type-archive-product .rami-card__btn-icon,
body.woocommerce-shop .rami-card__btn-icon{
  width:18px !important;
  height:18px !important;
  display:block !important;
  flex:0 0 18px !important;

  fill:none !important;
  stroke:currentColor !important;
  stroke-width:2 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}

body.tax-product_cat .rami-card__btn:hover,
body.page-template-page-all-products-php .rami-card__btn:hover,
body.post-type-archive-product .rami-card__btn:hover,
body.woocommerce-shop .rami-card__btn:hover{
  transform:none !important;
  opacity:.95 !important;
}

body.tax-product_cat .rami-card__btn--3d,
body.page-template-page-all-products-php .rami-card__btn--3d,
body.post-type-archive-product .rami-card__btn--3d,
body.woocommerce-shop .rami-card__btn--3d{
  background:#003287 !important;
  color:#fff !important;
  border:0 !important;
}

body.tax-product_cat .rami-card__btn--3d:hover,
body.tax-product_cat .rami-card__btn--3d:focus,
body.page-template-page-all-products-php .rami-card__btn--3d:hover,
body.page-template-page-all-products-php .rami-card__btn--3d:focus,
body.post-type-archive-product .rami-card__btn--3d:hover,
body.post-type-archive-product .rami-card__btn--3d:focus,
body.woocommerce-shop .rami-card__btn--3d:hover,
body.woocommerce-shop .rami-card__btn--3d:focus{
  background:#f47c20 !important;
  color:#fff !important;
}

body.tax-product_cat .rami-card__btn--specs,
body.page-template-page-all-products-php .rami-card__btn--specs,
body.post-type-archive-product .rami-card__btn--specs,
body.woocommerce-shop .rami-card__btn--specs{
  background:#f2f2f2 !important;
  color:#222 !important;
  border:1px solid rgba(0,0,0,.08) !important;
}

body.tax-product_cat .rami-card__btn--specs:hover,
body.page-template-page-all-products-php .rami-card__btn--specs:hover,
body.post-type-archive-product .rami-card__btn--specs:hover,
body.woocommerce-shop .rami-card__btn--specs:hover{
  background:#e9e9e9 !important;
  color:#222 !important;
}

/* =====================================================
   MISC CARD LINKS
   ===================================================== */
body.tax-product_cat .rami-card__link,
body.page-template-page-all-products-php .rami-card__link,
body.post-type-archive-product .rami-card__link,
body.woocommerce-shop .rami-card__link{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  text-decoration:none !important;
}

/* =====================================================
   TABLET
   ===================================================== */
@media (max-width:1024px){
  body.tax-product_cat .rami-archive__layout,
  body.page-template-page-all-products-php .rami-archive__layout,
  body.post-type-archive-product .rami-archive__layout,
  body.woocommerce-shop .rami-archive__layout{
    grid-template-columns:1fr !important;
  }

  body.tax-product_cat .rami-archive__sidebar,
  body.page-template-page-all-products-php .rami-archive__sidebar,
  body.post-type-archive-product .rami-archive__sidebar,
  body.woocommerce-shop .rami-archive__sidebar{
    margin-top:10px !important;
  }

  body.tax-product_cat .rami-archive__main ul.products,
  body.page-template-page-all-products-php .rami-archive__main ul.products,
  body.post-type-archive-product .rami-archive__main ul.products,
  body.woocommerce-shop .rami-archive__main ul.products{
    grid-template-columns:repeat(2, minmax(0,1fr)) !important;
  }
}

/* =====================================================
   MOBILE
   ===================================================== */
@media (max-width:640px){

  body.tax-product_cat .rami-archive__main ul.products,
  body.page-template-page-all-products-php .rami-archive__main ul.products,
  body.post-type-archive-product .rami-archive__main ul.products,
  body.woocommerce-shop .rami-archive__main ul.products{
    grid-template-columns:1fr !important;
  }

  body.tax-product_cat .rami-archive__title,
  body.page-template-page-all-products-php .rami-archive__title,
  body.post-type-archive-product .rami-archive__title,
  body.woocommerce-shop .rami-archive__title{
    font-size:40px !important;
  }

  body.tax-product_cat .rami-archive__sidebar .wpfFilterButtonsTop,
  body.page-template-page-all-products-php .rami-archive__sidebar .wpfFilterButtonsTop,
  body.post-type-archive-product .rami-archive__sidebar .wpfFilterButtonsTop,
  body.woocommerce-shop .rami-archive__sidebar .wpfFilterButtonsTop{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
    width:100% !important;
    margin:0 0 12px !important;
    padding:0 !important;
    align-items:stretch !important;
  }

  body.tax-product_cat .rami-archive__sidebar .wpfFilterButtons,
  body.page-template-page-all-products-php .rami-archive__sidebar .wpfFilterButtons,
  body.post-type-archive-product .rami-archive__sidebar .wpfFilterButtons,
  body.woocommerce-shop .rami-archive__sidebar .wpfFilterButtons{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
  }

  body.tax-product_cat .rami-archive__sidebar button.wfpHideButton.wfpButton,
  body.tax-product_cat .rami-archive__sidebar button.wpfClearButton.wpfButton,
  body.page-template-page-all-products-php .rami-archive__sidebar button.wfpHideButton.wfpButton,
  body.page-template-page-all-products-php .rami-archive__sidebar button.wpfClearButton.wpfButton,
  body.post-type-archive-product .rami-archive__sidebar button.wfpHideButton.wfpButton,
  body.post-type-archive-product .rami-archive__sidebar button.wpfClearButton.wpfButton,
  body.woocommerce-shop .rami-archive__sidebar button.wfpHideButton.wfpButton,
  body.woocommerce-shop .rami-archive__sidebar button.wpfClearButton.wpfButton{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
    height:42px !important;
    min-height:42px !important;
    padding:0 10px !important;
    font-size:14px !important;
    line-height:1 !important;
    border-radius:999px !important;
    justify-self:stretch !important;
    align-self:stretch !important;
  }

  body.tax-product_cat .rami-archive__sidebar button.wfpHideButton.wfpButton .wfpHideText,
  body.page-template-page-all-products-php .rami-archive__sidebar button.wfpHideButton.wfpButton .wfpHideText,
  body.post-type-archive-product .rami-archive__sidebar button.wfpHideButton.wfpButton .wfpHideText,
  body.woocommerce-shop .rami-archive__sidebar button.wfpHideButton.wfpButton .wfpHideText{
    font-size:14px !important;
    line-height:1 !important;
    text-align:center !important;
  }

  body.tax-product_cat .rami-card__meta,
  body.page-template-page-all-products-php .rami-card__meta,
  body.post-type-archive-product .rami-card__meta,
  body.woocommerce-shop .rami-card__meta{
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    padding:4px 14px 8px !important;
    flex-wrap:nowrap !important;
  }

  body.tax-product_cat .rami-card__title,
  body.page-template-page-all-products-php .rami-card__title,
  body.post-type-archive-product .rami-card__title,
  body.woocommerce-shop .rami-card__title{
    flex:1 1 auto !important;
    min-width:0 !important;
    font-size:18px !important;
    line-height:1.2 !important;
  }

  body.tax-product_cat .rami-card__title a,
  body.page-template-page-all-products-php .rami-card__title a,
  body.post-type-archive-product .rami-card__title a,
  body.woocommerce-shop .rami-card__title a{
    display:block !important;
  }

  body.tax-product_cat .rami-card__actions,
  body.page-template-page-all-products-php .rami-card__actions,
  body.post-type-archive-product .rami-card__actions,
  body.woocommerce-shop .rami-card__actions{
    width:auto !important;
    flex:0 0 auto !important;
    flex-wrap:nowrap !important;
    justify-content:flex-end !important;
    align-items:center !important;
    margin-left:8px !important;
  }

  body.tax-product_cat .rami-card__btn,
  body.page-template-page-all-products-php .rami-card__btn,
  body.post-type-archive-product .rami-card__btn,
  body.woocommerce-shop .rami-card__btn{
    height:38px !important;
    min-height:38px !important;
    padding:0 14px !important;
    font-size:13px !important;
    gap:7px !important;
  }

  body.tax-product_cat .rami-card__btn-icon,
  body.page-template-page-all-products-php .rami-card__btn-icon,
  body.post-type-archive-product .rami-card__btn-icon,
  body.woocommerce-shop .rami-card__btn-icon{
    width:17px !important;
    height:17px !important;
    flex:0 0 17px !important;
  }
}

/* =====================================================
   MOBILE FIX: SHOW FILTER + CLEAR SIDE BY SIDE
   ===================================================== */
@media (max-width: 640px){

  body.tax-product_cat .rami-archive__sidebar,
  body.page-template-page-all-products-php .rami-archive__sidebar,
  body.post-type-archive-product .rami-archive__sidebar,
  body.woocommerce-shop .rami-archive__sidebar{
    padding:12px !important;
  }

  body.tax-product_cat .rami-archive__sidebar .wpfMainWrapper,
  body.page-template-page-all-products-php .rami-archive__sidebar .wpfMainWrapper,
  body.post-type-archive-product .rami-archive__sidebar .wpfMainWrapper,
  body.woocommerce-shop .rami-archive__sidebar .wpfMainWrapper{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:10px !important;
    align-items:stretch !important;
  }

  body.tax-product_cat .rami-archive__sidebar .wpfMainWrapper > button.wfpHideButton.wfpButton,
  body.page-template-page-all-products-php .rami-archive__sidebar .wpfMainWrapper > button.wfpHideButton.wfpButton,
  body.post-type-archive-product .rami-archive__sidebar .wpfMainWrapper > button.wfpHideButton.wfpButton,
  body.woocommerce-shop .rami-archive__sidebar .wpfMainWrapper > button.wfpHideButton.wfpButton{
    grid-column:1 !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    height:42px !important;
    min-height:42px !important;
    margin:0 !important;
    padding:0 12px !important;
    font-size:14px !important;
    line-height:1 !important;
    border-radius:999px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }

  body.tax-product_cat .rami-archive__sidebar .wpfMainWrapper > .wpfFilterButtons.wpfFilterButtonsTop,
  body.page-template-page-all-products-php .rami-archive__sidebar .wpfMainWrapper > .wpfFilterButtons.wpfFilterButtonsTop,
  body.post-type-archive-product .rami-archive__sidebar .wpfMainWrapper > .wpfFilterButtons.wpfFilterButtonsTop,
  body.woocommerce-shop .rami-archive__sidebar .wpfMainWrapper > .wpfFilterButtons.wpfFilterButtonsTop{
    grid-column:2 !important;
    display:block !important;
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
  }

  body.tax-product_cat .rami-archive__sidebar .wpfMainWrapper > .wpfFilterButtons.wpfFilterButtonsTop .wpfClearButton.wpfButton,
  body.page-template-page-all-products-php .rami-archive__sidebar .wpfMainWrapper > .wpfFilterButtons.wpfFilterButtonsTop .wpfClearButton.wpfButton,
  body.post-type-archive-product .rami-archive__sidebar .wpfMainWrapper > .wpfFilterButtons.wpfFilterButtonsTop .wpfClearButton.wpfButton,
  body.woocommerce-shop .rami-archive__sidebar .wpfMainWrapper > .wpfFilterButtons.wpfFilterButtonsTop .wpfClearButton.wpfButton{
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    height:42px !important;
    min-height:42px !important;
    margin:0 !important;
    padding:0 12px !important;
    font-size:14px !important;
    line-height:1 !important;
    border-radius:999px !important;

    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }

  body.tax-product_cat .rami-archive__sidebar .wpfMainWrapper > .wpfFilterWrapper,
  body.tax-product_cat .rami-archive__sidebar .wpfMainWrapper > .wpfLoaderLayout,
  body.tax-product_cat .rami-archive__sidebar .wpfMainWrapper > .wpfPreview,
  body.page-template-page-all-products-php .rami-archive__sidebar .wpfMainWrapper > .wpfFilterWrapper,
  body.page-template-page-all-products-php .rami-archive__sidebar .wpfMainWrapper > .wpfLoaderLayout,
  body.page-template-page-all-products-php .rami-archive__sidebar .wpfMainWrapper > .wpfPreview,
  body.post-type-archive-product .rami-archive__sidebar .wpfMainWrapper > .wpfFilterWrapper,
  body.post-type-archive-product .rami-archive__sidebar .wpfMainWrapper > .wpfLoaderLayout,
  body.post-type-archive-product .rami-archive__sidebar .wpfMainWrapper > .wpfPreview,
  body.woocommerce-shop .rami-archive__sidebar .wpfMainWrapper > .wpfFilterWrapper,
  body.woocommerce-shop .rami-archive__sidebar .wpfMainWrapper > .wpfLoaderLayout,
  body.woocommerce-shop .rami-archive__sidebar .wpfMainWrapper > .wpfPreview{
    grid-column:1 / -1 !important;
  }

  body.tax-product_cat .rami-archive__sidebar button.wfpHideButton.wfpButton .wfpHideText,
  body.page-template-page-all-products-php .rami-archive__sidebar button.wfpHideButton.wfpButton .wfpHideText,
  body.post-type-archive-product .rami-archive__sidebar button.wfpHideButton.wfpButton .wfpHideText,
  body.woocommerce-shop .rami-archive__sidebar button.wfpHideButton.wfpButton .wfpHideText{
    width:100% !important;
    text-align:center !important;
    font-size:14px !important;
    line-height:1 !important;
  }
}