.realdev-products-wrap {
  position: relative;
}
.realdev-spinner {
  position: absolute;
  inset: 0;
  display: none;
  background: rgba(255, 255, 255, 0.6);
  z-index: 10;
}
.realdev-spinner::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border-radius: 50%;
  border: 3px solid #999;
  border-top-color: transparent;
  animation: realdev-spin 0.9s linear infinite;
}
.realdev-products-wrap.is-loading .realdev-spinner {
  display: block;
}
.realdev-cat-toolbar.fixed {
  right: 10px;
  flex-direction: column;
  align-items: flex-end;
}
@keyframes realdev-spin {
  to {
    transform: rotate(360deg);
  }
}

.products.row {
  transition: all 0.2s ease;
}
.realdev-childcats .col-inner {
  background: #fff;
  padding: 10px;
  border-radius: 6px;
}
.realdev-childcat-item {
  gap: 10px;
}
.realdev-childcat-item .cat-thumb {
  width: 50px;
  height: auto;
}

.realdev-childcat-item .cat-name {
  flex: 1;
  display: flex;
  flex-direction: column;
  color: var(--text);
  line-height: 1.3;
  font-size: 14px;
}
.realdev-childcat-item .cat-name .count {
  color: var(--second);
  display: inline-block;
  margin-top: 5px;
}
.term-intro-content .col {
  font-size: 15px;
  background: #fff;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 15px;
  margin-top: 15px;
}

.term-intro-content.row.row-small {
  margin: 30px 0 !important;
}

.realdev-section-title {
  font-size: 20px;
}
.product-category-title,
.product-cat-title {
  font-size: 22px;
}

.page-title-inner {
  padding: 15px 7.5px 5px !important;
  min-height: unset !important;
  font-weight: normal;
}

.page-title-inner .last {
  font-weight: normal;
}
@media screen and (min-width: 551px) {
  .realdev-childcats .col:nth-child(1),
  .realdev-childcats .col:nth-child(6) {
    padding-left: 0;
  }

  .realdev-childcats .col:nth-child(5),
  .realdev-childcats .col:nth-child(10) {
    padding-right: 0;
  }
}

.realdev-filter-panel {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2000;
  width: 300px;
  background: #fff;
  display: none;
}
.opt.selected {
  background: #edf3ff;
}
.realdev-filter-panel.active {
  display: block;
}
.rd-head {
  background: var(--primary);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  color: #fff;
  font-weight: normal;
}

.logged-in .realdev-filter-panel {
  top: 32px !important;
}

.rd-body {
  padding: 15px;
}

.rd-body .rd-field {
  margin-bottom: 15px;
}

.rd-body label {
  margin-bottom: 2px;
  font-size: 14px;
}
.realdev-cat-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  flex: 1;
}
.product-cat-title {
  margin-bottom: 0;
  line-height: 1;
  width: max-content;
}
.realdev-childcats.align-equal.row.large-columns-5 {
  margin-bottom: 30px !important;
}
.realdev-pop-toggle.active,
.realdev-layout.is-active,
.realdev-popover button:hover {
  background: var(--primary);
  color: var(--white);
}

.realdev-layout,
.toolbar-actions button {
  min-width: unset;
  padding: 8px;
  background: #fff;
  font-size: 20px;
  min-height: unset;
  border-radius: 6px;
  line-height: 15px;
}

.layout-toggle {
  display: inline-flex;
  gap: 10px;
}

.realdev-popover {
  background: #fff;
  padding: 10px;
  border-radius: 10px;
  position: absolute;
  top: 45px;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  min-width: 215px;
  z-index: 99;
  box-shadow: 0 0 10px #ccc;
  display: none;
}
.realdev-popover.active {
  display: block !important;
}
.toolbar-actions {
  position: relative;
}

.woocommerce-ordering,
.woocommerce-ordering select {
  border: none;
  margin: 0 !important;
  height: 35px;
}
.item-show {
  border-radius: 5px;
  border: 1px solid #d9d9d9;
  max-width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 6px;
  font-size: 14px;
  flex-wrap: wrap;
  gap: 5px;
}

.item-show .item-selected {
  padding: 5px 10px;
  background: #edf3ff;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
}

.item-show .item-selected-title {
  max-width: 100%;
  flex-basis: 100%;
}

.rd-label {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 3px;
}

.item-filter-lists {
  list-style: none;
  font-size: 14px;
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #d9d9d9;
  position: absolute;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 99;
  display: none;
  margin-bottom: 0;
  margin-top: 6px;
}

.item-filter {
  position: relative;
}

.item-filter-lists.active {
  display: block;
}

.item-filter-lists li {
  cursor: pointer;
  padding: 8px;
  margin: 0;
  border-radius: 5px;
}

.item-filter-lists li:hover,
.realdev-filter-toggle:hover,
.realdev-filter-toggle.active,
.realdev-pop-toggle:hover,
.realdev-layout:hover {
  background: var(--primary);
  color: #fff;
}

.rd-body {
  height: calc(100vh - 70px);
  overflow-y: scroll;
}
.realdev-filter-toggle,
.realdev-pop-toggle {
  width: max-content !important;
  font-size: 15px !important;
  font-weight: normal;
}

.realdev-filter-toggle i,
.realdev-pop-toggle i {
  font-size: 20px;
  margin-left: 7px;
}
.orderby-list {
  margin-bottom: 0;
  list-style: none;
}

.orderby-list li {
  cursor: pointer;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  margin: 0;
  gap: 10px;
  font-size: 15px;
}

.orderby-list li:hover,
.pop-item.is-active {
  background: #edf3ff;
}
.realdev-cat-toolbar-wrap {
  align-items: center;
  margin-bottom: 20px;
}
@media screen and (max-width: 551px) {
  .product-cat-title {
    width: -webkit-fill-available;
    margin-bottom: 20px;
  }

  .realdev-cat-toolbar-wrap,
  .realdev-cat-toolbar {
    flex-wrap: wrap;
  }
  .realdev-cat-toolbar {
    gap: 5px;
  }
  .realdev-filter-toggle i,
  .realdev-pop-toggle i {
    margin-left: 0;
  }
  .realdev-cat-toolbar {
    justify-content: space-around;
  }
  .realdev-cat-toolbar.fixed {
    display: flex;
    flex-direction: column;
    right: 10px;
    left: unset;
  }
  .realdev-cat-toolbar span.label {
    font-size: 13px;
  }
  .realdev-cat-toolbar.fixed span.label {
    display: none;
  }
  .realdev-popover {
    right: 45px;
    transform: unset;
    left: unset;
    top: unset;
    bottom: 35px;
  }
  .realdev-childcats.flickity-enabled .col {
    max-width: 60% !important;
    flex-basis: 60% !important;
  }
  .realdev-childcats .flickity-page-dots {
    bottom: -15px !important;
  }
}
