:root {
  --font-roboto-slab: "Roboto Slab", sans-serif;

  --text-capitalize: capitalize;

  --color-ss-orange: #f47920;
}

.products-layout {
  position: relative;
  display: flex;
  gap: 40px;
  align-items: start;
}

@media (max-width: 1024px) {
  .products-layout {
    flex-direction: column;
  }
}

.products-layout .products-wrapper {
  width: 70%;
}

.products-layout .sidebar {
  width: 30%;
}

@media (max-width: 1024px) {
  .products-layout .product-grid,
  .products-layout .sidebar {
    width: 100%;
  }
}

.product-grid {
  display: grid;
  gap: 16px 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 767px) {
  .product-grid {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* =============== START PRODUCT cARD ============ */
.product-card {
  font-size: 14px;
  color: #11111180;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 16px;
}

.product-card a:not(.elementor-button) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--color-ss-orange);
}

.product-card a:not(.elementor-button) span {
  text-decoration: underline;
}

.product-card p {
  color: #111111;
}

.product-card figure {
  display: block;
  margin-bottom: 10px !important;
}

  .product-card figure img {
    width: 100%;
  }

@media(min-width: 768px) {
  .product-card figure img {
    height: 367px;
    object-fit: cover;
  }
}

.product-card .product-card__content-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 16px;
  font-size: 10px;
}

.product-card .product-card__title {
  display: block;
  font-family: var(--font-roboto-slab);
  font-size: 20px;
  line-height: 1.2;
  color: #3a3a3a;
  margin-bottom: 10px;
}

.product-card .product-card__icon-wrapper {
  display: inline-flex;
  gap: 4px;
}

.product-card .product-card__icon-wrapper svg {
  fill: #f0ad4e;
  height: 16px;
}

.product-card .product-card__starting-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.product-card .product-card__starting-price strong {
  font-family: var(--font-roboto-slab);
  font-size: 32px;
  color: var(--color-ss-orange);
}

@media(max-width: 767px) {
  .product-card .product-card__starting-price strong {
    font-size: 28px;
  }
}

.product-card .product-card__btn-wrapper {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 767px) {
  .product-card .product-card__btn-wrapper {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

.product-card .ss-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 24px;
  font-family: var(--font-roboto-slab);
  font-weight: bold;
  font-size: 16px;
  line-height: 1;
  color: white !important;
  background-color: var(--color-ss-orange);
  text-transform: capitalize !important;
  border: 1px solid transparent;
  border-radius: 4px;
}

.product-card .ss-btn:hover {
  background-color: #BC5A13;
  border: 1px solid transparent;
}

.product-card .ss-btn--transparent {
  background: transparent;
  border-color: var(--color-ss-orange) !important;
  color: var(--color-ss-orange) !important;
}

.product-card .ss-btn--transparent:hover {
  background: var(--color-ss-orange) !important;
  border-color: transparent !important;
  color: white !important;
}
/* =============== END PRODUCT cARD ============ */

/* ============= UTILITY CLASSES ============== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============= START ACCORDION ============== */
.accordion > * + * {
  margin-top: 20px;
}

.accordion .accordionBtn {
  display: flex;
  justify-content: space-between;
  align-items: start;
  width: 100%;
  font-weight: 600;
  font-size: 14px;
  text-transform: var(--text-capitalize);
  padding: 16px;
  color: #3a3a3a;
  background: white;
  text-align: left;
  border: 1px solid #eee;
  border-radius: 6px;
}

.accordion .accordionBtn:hover,
.accordion .accordionBtn:focus {
  background-color: transparent;
  color: #3a3a3a;
  border: 1px solid #eee;
}

.accordion .accordionBtn.active .sb-arrow {
  transform: rotate(180deg);
  transform-origin: center;
}

.accordion .accordionBtn .sb-arrow {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion .accordionBody {
  margin-top: 12px;
  padding: 12px 16px;
  background: white;
  border: 1px solid #eee;
  border-radius: 6px;
}

/* ============= END ACCORDION ============== 
    
/* ============= START SIDEBAR ============== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fbfbfb;
  padding: 24px;
}

.sidebar .sidebar__header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.sidebar .sidebar__title {
  font-family: var(--font-roboto-slab);
  font-size: 24px;
}

@media (max-width: 767px) {
  .sidebar .sidebar__title {
    font-size: 20px;
  }
}

.sidebar .sidebar__reset-filter-btn {
  padding: 0;
  font-weight: normal;
  font-size: 16px;
  text-transform: var(--text-capitalize);
  color: var(--color-ss-orange);
  background: transparent;
  text-decoration: underline;
}

.sidebar .sidebar__reset-filter-btn:hover {
  background-color: transparent;
  color: var(--color-ss-orange);
}

.sidebar .sidebar__search-form {
  position: relative;
}

.sidebar .sidebar__search-form input[type="text"] {
  padding: 16px;
  padding-right: 52px !important;
  height: 56px;
  font-size: 18px;
  color: #3a3a3a;
  background-color: white;
  border-radius: 8px;
}

.sidebar .sidebar__search-form button {
  position: absolute;
  top: 50%;
  right: calc(0% + 16px);
  width: 20px;
  height: 20px;
  background: url("/wp-content/themes/supreme-buildings/images/search-icon.svg");
  background-size: 100% 100%;
  transform: translateY(-50%);
}

.sidebar .filter-cat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 14px;
  color: #333;
}

.sidebar .filter-cat-box {
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 2px solid #ccc;
  border-radius: 3px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: white;
  transition: all 0.2s;
}

.sidebar .filter-cat-item.active .filter-cat-box {
  background: var(--color-ss-orange);
  border-color: var(--color-ss-orange);
}

.sidebar .filter-cat-item.active .filter-cat-box::after {
  content: "✓";
}

.sidebar .filter-cat-item.active {
  color: var(--color-ss-orange);
}

.sidebar .sidebar__range-wrap .range-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}

.sidebar .sidebar__range-wrap .range-values {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
  margin-bottom: 10px;
}

.sidebar .sidebar__range-wrap .range-sliders {
  position: relative;
  height: 20px;
}

.sidebar .sidebar__range-wrap .range-track {
  background-color: black !important;
}

.sidebar .sidebar__range-wrap .range-track-fill {
  position: absolute;
  height: 3px;
  background: #f47920;
  top: 9px;
  left: 0;
  width: 0;
  height: 3px;
  z-index: 1;
}

.sidebar .sidebar__range-wrap .range-sliders input[type="range"] {
  position: absolute;
  width: 100%;
  height: 0px;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  outline: none;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.sidebar .sidebar__range-wrap .range-sliders input[type="range"] {
  position: absolute;
  width: 100%;
  height: 0px;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  outline: none;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.sidebar
  .sidebar__range-wrap
  .range-sliders
  input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #f47920;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: none;
}

.sidebar
  .sidebar__range-wrap
  .range-sliders
  input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #f47920;
  pointer-events: auto;
  cursor: pointer;
  box-shadow: none;
}

/* ============= END SIDEBAR ============== */

.sb-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 32px;
}

@media(max-width: 767px) {
  .sb-pagination {
    margin-top: 24px;
  }
}

.sb-pagination .sb-page {
  border: 0;
  background: transparent;
  color: #8a8a8a;
  min-width: 32px;
  height: 34px;
  padding: 0 8px;
  cursor: pointer;
  border-radius: 4px;
}

.sb-pagination .sb-page:hover {
  background: var(--color-ss-orange);
}

.sb-pagination .sb-page.active {
  background: var(--color-ss-orange);
  color: #fff;
}

.sb-pagination .sb-page-dots {
  color: #8a8a8a;
  padding: 0 4px;
}