.mxcf-sidebar,
.mxcf-products {
  font-family: inherit;
  color: #111;
}

.mxcf-collection {
  width: 100%;
}

.mxcf-page-header {
  max-width: 920px;
  margin: 0 auto 28px;
  text-align: center;
}

.mxcf-page-header__title {
  margin: 0 0 14px;
  font-family: 'Antonio', sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

.mxcf-page-header__description {
  max-width: 760px;
  margin: 0 auto;
  color: #222;
  font-size: 0.98rem;
  line-height: 1.55;
}

.mxcf-page-header__description p {
  margin: 0 0 10px;
}

.mxcf-page-header__description p:last-child {
  margin-bottom: 0;
}

.mxcf-layout {
  display: grid;
  grid-template-columns: minmax(240px, 270px) minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 44px;
  row-gap: 0;
  align-items: start;
}

.mxcf-layout__head {
  display: none;
}

@media (min-width: 992px) {
  .mxcf-toolbar {
    grid-column: 2;
    grid-row: 1;
    padding-bottom: 28px;
    box-sizing: border-box;
  }

  .mxcf-filters-home {
    grid-column: 1;
    grid-row: 2;
  }

  .mxcf-products {
    grid-column: 2;
    grid-row: 2;
    margin-top: 28px;
  }

  .mxcf-sidebar > .mxcf-sidebar__title.mxcf-desktop-only {
    margin-bottom: 14px;
  }
}

.mxcf-mobile-only {
  display: none;
}

.mxcf-desktop-only {
  display: block;
}

.mxcf-sidebar__title {
  margin: 0;
  font-family: 'Antonio', sans-serif;
  font-size: clamp(1.45rem, 1.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1;
  text-transform: lowercase;
  letter-spacing: 0.01em;
}

.mxcf-mobile-only.mxcf-sidebar__title {
  text-transform: lowercase;
  margin-bottom: 12px;
}

.mxcf-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  min-height: 38px;
}

.mxcf-pagination {
  flex: 0 1 auto;
  min-width: 0;
}

.mxcf-sort {
  flex: 0 0 auto;
  margin-left: auto;
}

.mxcf-filters-home {
  position: relative;
  align-self: start;
}

.mxcf-filters-shell {
  position: relative;
}

.mxcf-filters-panel {
  position: relative;
}

.mxcf-filters-backdrop {
  display: none;
}

.mxcf-filters-panel__header {
  display: none;
}

.mxcf-products {
  min-width: 0;
  align-self: start;
  margin: 0;
  padding: 0;
}

.mxcf-sidebar {
  width: 100%;
}

.mxcf-filter-box,
.mxcf-sidebar a,
.mxcf-filter-group__toggle,
.mxcf-filter-list label,
.mxcf-filter-list label span,
.mxcf-chip,
.mxcf-reset-all {
  color: #111;
}

.mxcf-filter-box {
  border: 1px solid #111;
  background: #fff;
}

.mxcf-filter-group__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid #111;
  background: #fff !important;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
  color: #111 !important;
}

.mxcf-filter-group__toggle:hover,
.mxcf-filter-group__toggle:focus,
.mxcf-filter-group__toggle:focus-visible {
  background: #fff !important;
  color: #111 !important;
  outline: none;
  box-shadow: none;
}

.mxcf-filter-list label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.35;
  color: #111 !important;
  background: transparent !important;
  -webkit-tap-highlight-color: transparent;
}

.mxcf-filter-list label:hover,
.mxcf-filter-list label:focus-within {
  color: #111 !important;
  background: transparent !important;
}

.mxcf-filter-list label span {
  color: #111 !important;
}

.mxcf-sidebar input[type="checkbox"].mxcf-filter-checkbox {
  appearance: none;
  -webkit-appearance: none;
  accent-color: #111;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  border: 1px solid #666;
  border-radius: 0;
  background: #fff;
  flex: 0 0 16px;
  position: relative;
  cursor: pointer;
  outline: none !important;
  box-shadow: none !important;
}

.mxcf-filter-checkbox:hover,
.mxcf-filter-checkbox:focus,
.mxcf-filter-checkbox:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border-color: #111;
}

.mxcf-sidebar input[type="checkbox"].mxcf-filter-checkbox:checked {
  background-color: #111;
  border-color: #111;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='square' d='M1 5l3 3 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 8px;
}

.mxcf-sidebar input[type="checkbox"].mxcf-filter-checkbox:checked::after {
  content: none;
  display: none;
}

.mxcf-filter-checkbox:disabled {
  opacity: 0.85;
  cursor: not-allowed;
}

.mxcf-filter-list label.is-locked {
  cursor: not-allowed;
}

.mxcf-mobile-filter-btn {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.mxcf-mobile-filter-btn:hover,
.mxcf-mobile-filter-btn:focus {
  background: #fff;
  color: #111;
  outline: none;
}

.mxcf-mobile-filter-btn__icon {
  width: 18px;
  height: 18px;
  position: relative;
  flex: 0 0 18px;
}

.mxcf-mobile-filter-btn__icon::before,
.mxcf-mobile-filter-btn__icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: #111;
}

.mxcf-mobile-filter-btn__icon::before {
  top: 4px;
  box-shadow: 0 5px 0 #111, 0 10px 0 #111;
}

.mxcf-orderby {
  min-width: 180px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #bdbdbd;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 0.92rem;
  outline: none;
  box-sizing: border-box;
}

.mxcf-orderby:hover,
.mxcf-orderby:focus {
  border-color: #111;
}

.mxcf-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.mxcf-page {
  min-width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #bdbdbd;
  border-radius: 0;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mxcf-page:hover:not(:disabled):not(.is-active) {
  border-color: #111;
  background: #fff;
  color: #111;
}

.mxcf-page.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}

.mxcf-page--nav {
  min-width: 38px;
  font-size: 1rem;
}

.mxcf-page--nav[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

.mxcf-pagination--bottom {
  margin-top: 28px;
}

body.mxcf-drawer-open {
  overflow: hidden;
}

.mxcf-filter-group {
  border-bottom: 0;
}

.mxcf-filter-group__icon {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  position: relative;
}

.mxcf-filter-group__icon::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #111;
  border-bottom: 1.5px solid #111;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.mxcf-filter-group.is-open .mxcf-filter-group__icon::before {
  transform: rotate(-135deg);
  top: 4px;
}

.mxcf-filter-group__panel {
  display: none;
  padding: 14px 16px 16px;
}

.mxcf-filter-group.is-open .mxcf-filter-group__panel {
  display: block;
}

.mxcf-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mxcf-filter-list li + li {
  margin-top: 11px;
}

.mxcf-filter-group__count {
  margin-left: 3px;
  font-weight: 700;
}

.mxcf-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 14px;
  border-top: 1px solid #111;
}

.mxcf-active-filters[hidden] {
  display: none !important;
}

.mxcf-active-filters__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1 1 auto;
}

.mxcf-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid #111;
  background: #fff;
  font: inherit;
  font-size: 0.82rem;
  line-height: 1.2;
  cursor: pointer;
}

.mxcf-chip.is-forced,
.mxcf-chip:disabled {
  cursor: default;
}

.mxcf-chip__remove {
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 700;
}

.mxcf-reset-all {
  padding: 6px 12px;
  border: 1px solid #d64545;
  background: #fff;
  color: #d64545;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.mxcf-reset-all:hover,
.mxcf-reset-all:focus {
  background: #fff;
  color: #d64545;
  outline: none;
}

.mxcf-elementor-loop__inner {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.mxcf-products--elementor .mxcf-elementor-loop__inner .elementor-widget-loop-grid {
  width: 100%;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.mxcf-products--elementor .mxcf-elementor-loop__inner .elementor-widget-loop-grid .elementor-widget-container,
.mxcf-products--elementor .mxcf-elementor-loop__inner > .elementor,
.mxcf-products--elementor .mxcf-elementor-loop__inner > .elementor > .elementor-element,
.mxcf-products--elementor .mxcf-elementor-loop__inner .e-con,
.mxcf-products--elementor .mxcf-elementor-loop__inner .e-con-inner {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.mxcf-grid {
  display: grid;
  grid-template-columns: repeat(var(--mxcf-columns, 3), minmax(0, 1fr));
  gap: 28px;
}

.mxcf-products.is-loading {
  opacity: 0.55;
  pointer-events: none;
}

.mxcf-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #e3e3e3;
  background: #fff;
}

.mxcf-card__media {
  padding: 18px 18px 0;
}

.mxcf-card__image {
  display: block;
  text-align: center;
}

.mxcf-card__image img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 220px;
  margin: 0 auto;
  display: block;
  object-fit: contain;
}

.mxcf-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 18px;
}

.mxcf-card__title {
  margin: 0 0 8px;
  font-size: 1rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.mxcf-card__title a {
  color: inherit;
  text-decoration: none;
}

.mxcf-card__title a:hover {
  opacity: 0.8;
}

.mxcf-card__sku {
  margin: 0 0 10px;
  color: #111;
  font-size: 0.92rem;
  font-weight: 600;
}

.mxcf-card__price {
  margin-bottom: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #111;
}

.mxcf-card__price .woocommerce-Price-amount {
  font-weight: 700;
}

.mxcf-card__note {
  margin: 0 0 18px;
  color: #666;
  font-size: 0.82rem;
  line-height: 1.4;
}

.mxcf-card__actions,
.mxcf-card__actions--loop {
  margin-top: auto;
}

.mxcf-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-sizing: border-box;
}

.mxcf-btn--primary,
.mxcf-btn--cart {
  background: #2f63ad;
  color: #fff !important;
}

.mxcf-btn--primary:hover,
.mxcf-btn--cart:hover {
  background: #28559a;
  color: #fff !important;
}

.mxcf-btn--secondary,
.mxcf-btn--details {
  background: #ececec;
  color: #111 !important;
}

.mxcf-btn--secondary:hover,
.mxcf-btn--details:hover {
  background: #e0e0e0;
  color: #111 !important;
}

.mxcf-btn.is-loading {
  opacity: 0.7;
  pointer-events: none;
}

.mxcf-elementor-loop__inner .mxcf-card__sku,
.mxcf-elementor-loop__inner .mxcf-card__note,
.mxcf-elementor-loop__inner .mxcf-card__actions {
  width: 100%;
}

.mxcf-elementor-loop__inner .e-loop-item {
  border: 1px solid #e3e3e3;
  background: #fff;
  height: 100%;
}

.mxcf-elementor-loop__inner .elementor-widget-image img {
  width: auto !important;
  max-width: 100%;
  max-height: 220px;
  margin: 0 auto;
  object-fit: contain;
}

.mxcf-elementor-loop__inner .elementor-widget-woocommerce-product-add-to-cart .button,
.mxcf-elementor-loop__inner .elementor-widget-woocommerce-product-add-to-cart .ajax_add_to_cart {
  width: 100%;
  min-height: 46px;
  justify-content: center;
}

.mxcf-elementor-loop__inner .product_type_variable .button,
.mxcf-elementor-loop__inner .product_type_grouped .button {
  background: #ececec !important;
  color: #111 !important;
}

.mxcf-empty {
  grid-column: 1 / -1;
  margin: 0;
}

@media (max-width: 991px) {
  .mxcf-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .mxcf-layout__head {
    display: block;
    width: 100%;
    margin: 0;
  }

  .mxcf-layout__head.mxcf-mobile-only {
    display: block;
  }

  .mxcf-desktop-only {
    display: none !important;
  }

  .mxcf-mobile-only {
    display: block;
  }

  .mxcf-layout__head .mxcf-sidebar__title {
    margin-bottom: 16px;
  }

  .mxcf-mobile-filter-host {
    display: none !important;
    width: 100%;
    margin-top: 0;
  }

  .mxcf-mobile-filter-host.is-open {
    display: block !important;
  }

  .mxcf-mobile-filter-host:not(.is-open) .mxcf-filters-shell,
  .mxcf-mobile-filter-host:not(.is-open) .mxcf-filter-group__panel {
    display: none !important;
  }

  .mxcf-mobile-filter-host.is-open .mxcf-filter-group.is-open .mxcf-filter-group__panel {
    display: block;
  }

  .mxcf-mobile-filter-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid #111;
    background: #fff;
    color: #111;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-sizing: border-box;
  }

  .mxcf-filters-shell--inline-mobile {
    position: static;
    width: 100%;
    pointer-events: auto;
  }

  .mxcf-filters-shell--inline-mobile .mxcf-filters-backdrop,
  .mxcf-filters-shell--inline-mobile .mxcf-filters-panel__header {
    display: none !important;
  }

  .mxcf-filters-shell--inline-mobile .mxcf-filters-panel {
    position: static;
    transform: none;
    width: 100%;
    max-height: none;
    box-shadow: none;
    overflow: visible;
  }

  .mxcf-filters-shell--inline-mobile .mxcf-filter-box {
    border-top: 0;
  }

  .mxcf-filters-shell--inline-mobile .mxcf-filter-group {
    margin: 0;
  }

  .mxcf-toolbar {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin: 0 0 16px;
    padding: 0;
  }

  .mxcf-toolbar .mxcf-pagination {
    width: 100%;
  }

  .mxcf-toolbar .mxcf-pages {
    justify-content: center;
  }

  .mxcf-products {
    width: 100%;
    margin-top: 0;
  }

  .mxcf-sort {
    margin-left: 0;
    width: 100%;
  }

  .mxcf-orderby {
    min-width: 0;
    min-height: 48px;
    width: 100%;
    border-color: #111;
    box-sizing: border-box;
  }

  .mxcf-filters-shell:not(.mxcf-filters-shell--inline-mobile) {
    display: none;
  }

  .mxcf-filters-home {
    display: none;
  }

  .mxcf-pagination--bottom {
    display: block;
    margin-top: 20px;
  }

  .mxcf-page-header {
    margin-bottom: 22px;
  }

  .mxcf-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .mxcf-grid {
    grid-template-columns: 1fr;
  }
}

.mxcf-collection .mxcf-filter-group__toggle,
.mxcf-collection .mxcf-chip,
.mxcf-collection .mxcf-reset-all,
.mxcf-collection .mxcf-page,
.mxcf-collection .mxcf-mobile-filter-summary {
  box-shadow: none;
  text-decoration: none;
}

.mxcf-collection .mxcf-filter-group__toggle:hover,
.mxcf-collection .mxcf-filter-group__toggle:focus,
.mxcf-collection .mxcf-chip:hover:not(:disabled),
.mxcf-collection .mxcf-page:hover:not(:disabled):not(.is-active),
.mxcf-collection .mxcf-mobile-filter-summary:hover,
.mxcf-collection .mxcf-mobile-filter-summary:focus {
  background: #fff;
  color: #111;
}

.mxcf-collection .mxcf-page.is-active:hover {
  background: #111;
  color: #fff;
}

.elementor-widget-shortcode .mxcf-collection,
.woocommerce .mxcf-collection {
  --e-global-color-primary: #111;
}
