.mototrofa-outlet-layout {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.mototrofa-outlet-layout__content {
  order: 1;
  flex: 0 0 74%;
  max-width: 74%;
  min-width: 0;
}

.mototrofa-outlet-layout__sidebar {
  order: 2;
  flex: 0 0 24%;
  max-width: 24%;
  min-width: 220px;
  position: relative;
  z-index: 2;
}

.mototrofa-outlet-mobile-actions,
.mototrofa-outlet-mobile-overlay,
.mototrofa-outlet-mobile-sidebar-head,
.mototrofa-titlebar-mobile-filters {
  display: none;
}

.mototrofa-outlet-filter__title {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.mototrofa-category-group { margin: 0 0 14px; }
.mototrofa-category-group__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 12px;
}
.mototrofa-category-item { margin: 0 0 8px; }
.mototrofa-category-item label {
  font-weight: 600;
  color: #666;
  cursor: pointer;
}
.mototrofa-category-grandchildren { padding-left: 22px; }
.mototrofa-category-children { padding-left: 0; }
.mototrofa-category-checkbox { margin-right: 8px; }

.mototrofa-reset-filter {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 18px;
  background: #000;
  color: #fff !important;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  border: 0;
}
.mototrofa-reset-filter:hover { background: #222; color: #fff !important; }

.mototrofa-loop-toolbar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 22px;
  clear: both;
}
.mototrofa-loop-toolbar .woocommerce-ordering { float: none; margin: 0; }
.mototrofa-loop-toolbar .woocommerce-result-count { float: none; margin: 0; }
.mototrofa-products-grid-wrap,
.mototrofa-outlet-pagination {
  clear: both;
}
.mototrofa-outlet-pagination {
  margin-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mototrofa-outlet-pagination .page-numbers {
  margin: 0;
  display: flex;
  gap: 8px;
  list-style: none;
}
.mototrofa-pagination-summary { color: #8c8c8c; }

@media (max-width: 767px) {
  .mototrofa-outlet-layout {
    display: block;
  }

  .mototrofa-outlet-layout__content,
  .mototrofa-outlet-layout__sidebar {
    max-width: 100%;
    width: 100%;
  }

  .mototrofa-outlet-layout__sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85vw;
    max-width: 360px;
    min-width: 0;
    background: #fff;
    padding: 20px 18px 28px;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
    z-index: 99999;
    box-shadow: -4px 0 18px rgba(0,0,0,.18);
  }

  body.mototrofa-filters-open .mototrofa-outlet-layout__sidebar {
    transform: translateX(0);
  }

  .mototrofa-outlet-mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(64,64,64,.72);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 99998;
  }

  body.mototrofa-filters-open .mototrofa-outlet-mobile-overlay {
    opacity: 1;
    visibility: visible;
  }

  .mototrofa-outlet-mobile-sidebar-head {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
  }

  .mototrofa-outlet-mobile-close {
    border: 0;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    color: #333;
  }

  .mototrofa-outlet-filter__title {
    font-size: 22px;
    margin-bottom: 18px;
  }

  .mototrofa-titlebar-mobile-filters {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,.45);
    color: #fff;
    background: transparent;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .04em;
    font-size: 12px;
    margin-left: auto;
  }

  .mototrofa-loop-toolbar { margin-top: 18px; }
}

@media only screen and (min-width: 990px) {

	.mototrofa-outlet-layout {
		display: flex !important;
		gap: 30px;
	}

	.mototrofa-outlet-layout__content {
		flex: 0 0 80% !important;
		max-width: 80% !important;
	}

	.mototrofa-outlet-layout__sidebar-desktop {
		flex: 0 0 20% !important;
		max-width: 20% !important;
	}
}

@media (max-width: 767px) {
  .mototrofa-outlet-layout__sidebar {
    position: fixed;
    top: 100px !important;
    right: -10px !important;
    bottom: 0; 
  }
}

.mototrofa-outlet-layout .woocommerce-ordering {
	display: none !important;
}
	
