/* ========== Filters =========  */
.filter-bar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0;
  background: #ffffff;
  border-bottom: 1px solid #F4F4F4;
  z-index: 11;
  margin-bottom: 20px;
}

/* Label text used for both “Filter by” and “Sort by” */
.filter-bar__label {
  font-family: Metropolis, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: -0.03em;
  color: #626262;
}

/* The pill‑style buttons */
.filter-bar__btn {
  display: flex;
  align-items: center;
  padding: 12px 8px;              /* matches Figma “12px 8px” */
  background: #FFFFFF;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  font-family: Metropolis, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: -0.03em;
  color: #010403;
}

/* Make the little caret dark */
.filter-bar__btn.dropdown-toggle::after {
  margin-left: 0.25rem;
  color: #010403;
}


/* ================= FILTERS */

/* 1) The outer “panel” */
.filter-menu {
  width: 306px;
  max-height: 600px;
  padding: 16px;
  background: #fff;
  box-shadow: 0px 7px 29px rgba(100, 100, 111, 0.2);
  border-radius: 10px;
  overflow-y: auto;
}

/* remove Bootstrap’s default padding on <ul> */
.filter-menu .dropdown-menu {
  padding: 0;
}

/* 2) Each row */
.filter-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.filter-item:last-child {
  margin-bottom: 0;
}

/* 3) Style the checkbox to match Figma */
.filter-item .form-check-input {
  width: 20px;
  height: 20px;
  border: 2px solid #16423C;
  border-radius: 2px;
  background: transparent;
}

.filter-item .form-check-input:checked {
  background-color: #16423C;
  border-color: #16423C;
}

/* 4) Label typography */
.filter-item .form-check-label {
  font-family: 'Metropolis', sans-serif;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.03em;
  color: #000;
}

/* 5) Icon edge */
.filter-icon {
  flex-shrink: 0;
}

/* Product List */
#products {

}
#products .product-card {
  border: 1px solid #F4F4F4;
  border-radius: 10px;
  padding: 15px;
  background-color: #fff;
  margin-bottom: 25px;
}
#products .product-card .wishlist-btn {
  width: 20px;
  height: 20px;
  position: absolute;
  right: 16px;
  top: 16px;
  text-align: center;
  z-index: 9;
}
#products .product-card .wishlist-btn i {
  cursor: pointer;
  color: #16423c;
  font-size: 18px;
}

#products .product-card .product-info {

}
#products .product-card .product-info .product-title {
  font-family: 'Metropolis', sans-serif;
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  color: #010403;
  letter-spacing: -3%;
  height: 40px;
  width: 100%;
  background: #fff;
  position: relative;
}
#products .product-card .product-info .product-title .long_version {
  display: none;
}
#products .product-card .product-info .product-title:hover .short_version {
  display: none;
}
#products .product-card .product-info .product-title:hover .long_version {
  display: block;
  background-color: #fff;
  padding-bottom: 10px;
}

#products .product-card .product-info .product-price {
  font-family: 'Metropolis', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #16423C;
  line-height: 20px;
}
#products .product-card .product-info .product-original-price {
  font-family: 'Metropolis', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #010403;
  line-height: 20px;
}
#products .product-card .product-info .d-included {
  font-family: 'Metropolis', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #010403;
  line-height: 20px;
}

#products .product-card .product-info .product-badges {
  margin-bottom: 10px;
}
#products .product-card .product-info .product-badges .badge {
  background-color: #CDEEEA;
  border-radius: 50px;
  font-family: 'Metropolis', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #010403;
}

#products .product-card .product-info .variant-colors {
  margin-bottom: 10px;
}
#products .product-card .product-info .variant-colors .color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
}
#products .product-card .product-info .variant-colors .color-dot.bg-gold {
  background: linear-gradient(136deg, #F9E79F 17.6%, #F1C40F 82.7%);
}
#products .product-card .product-info .variant-colors .color-dot.bg-whitegold {
  background: linear-gradient(136deg, #EEEEEE 17.6%, #BCBCBC 82.7%);
}
#products .product-card .product-info .variant-colors .color-dot.bg-rose {
  background: linear-gradient(136deg, #F8D7D7 17.6%, #C97E7E 82.7%);
}
#products .product-card .product-info .variant-colors .color-dot.bg-silver {
  background: linear-gradient(136deg, #F4F4F4 17.6%, #D8D8D8 82.7%)
}
#products .product-card .product-info .variant-colors .color-dot.bg-multicolor {
  background: linear-gradient(135deg, #E5E4E2 44.4%, #E6A1A1 69.9%);
}


/*===== Filters ======*/
.product-list-filters-container .filter-btn {
  border: 0 none;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  background-color: #fff;
  color: #010403;
  padding: 12px 8px;
}
.product-list-filters-container .filter-btn:focus,
.product-list-filters-container .filter-btn:active {
  color: #010403;
}
.product-list-filters-container .filter-btn:hover {
  background-color: #F8F8F8;
  -webkit-transition: background-color 300ms linear;
  -ms-transition: background-color 300ms linear;
  transition: background-color 300ms linear;
}

.filter-btn.dropdown-toggle::after{
  content: "\f282";
  font-family: "bootstrap-icons";
  font-weight: 600;
  border: 0;
  vertical-align: middle;
  font-size: 14px;
  margin-left: 10px;
}

.filter-btn[aria-expanded="true"]::after {
  transform: rotate(180deg);
  display:inline-block;
  transition: transform .2s;
}


.mobile-filter-container {
  display: none;
}

.mobile-filter-container .open-filters {
  background: url(../../img/icons/svg/filter-icon.svg) no-repeat scroll 15px center #16423C;
  padding: 7px 24px 7px 38px;
  border-radius: 10px;
  color: #fff;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 14px;
  font-weight: 400;
}
.mobile-filter-container .sort-by {
  width: 170px;
  font-family: 'Metropolis', sans-serif;
  font-size: 14px;
  font-weight: 400;
  border-color: #E4E4E4;
  color: #010403;
  padding-top: 8px;
  float: right;
}
.mobile-filter-container .sort-by:focus {
  box-shadow: none;
}


/* Overlay base (hidden by default) */
.overlay-filters {
  position: fixed;
  inset: 0;                    /* top:0; right:0; bottom:0; left:0; */
  z-index: 1001;
  background-color: rgba(0,0,0,0.7);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}

/* When open */
.overlay-filters.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Panel */
.catalog-page-mobile-filters {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 600px;                /* adjust for your design; consider 100% on small screens */
  max-width: 100%;
  background-color: #fff;
  z-index: 1002;
  transform: translateX(-100%);
  transition: transform .3s ease;
}

/* Slide-in when overlay is shown */
.overlay-filters.show .catalog-page-mobile-filters {
  transform: translateX(0);
}

/* Header (as you had) */
.catalog-page-mobile-filters .mob-filters-head {
  position: relative;
  width: 100%;
  height: 60px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid #eee;
}

/* Optional: lock body scroll when open */
body.no-scroll {
  overflow: hidden;
}

/* Optional: make the close icon bigger tap target */
.closebtn-filter-popup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}
.catalog-page-mobile-filters .mob-filters-head .closebtn-filter-popup i {
  font-size: 32px;
}

.catalog-page-mobile-filters .mob-filters-content {
  width: 100%;
  height: auto;
  overflow-y: auto;
  padding: 25px;
}

.active-filters-section {
  display: inline-block;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}

.active-filters-container {

}
.active-filters-container .active-filter-item {
  display: inline-block;
  background-color: #F8F8F8;
  padding: 8px 40px 8px 16px;
  border-radius: 8px;
  font-family: 'Metropolis', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #626262;
  position: relative;
}

.active-filters-container .active-filter-item .remove-active-filter {
  font-size: 24px;
  color: #626262;
  position: absolute;
  right: 6px;
  top: 4px;
  bottom: 0;
  margin: auto 0;
}

.active-filters-container .reset-active-filters {
  display: inline-block;
  padding: 8px 16px;
  font-family: 'Metropolis', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #626262;
}
.active-filters-container .reset-active-filters:hover {
  color: #3e3e3e;
}


.filter-available-items {
  display: inline-block;
  padding: 8px 16px;
  font-family: 'Metropolis', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #626262;
}

/* product-list.php */
/* Image box inside product cards */
#products .product-card .product-image{
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1/1;     /* uniform squares */
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
#products .product-card .product-image img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;   /* show the whole ring */
  display: block;
}

/* Optional: a little hover polish */
#products .product-card .product-image:hover img{
  transform: scale(1.02);
  transition: transform .2s;
}

/* Swatch colors you don't already have */
#products .product-card .product-info .variant-colors .color-dot.bg-platinum{
  background: linear-gradient(136deg,#f2f2f2 17.6%,#cfcfcf 82.7%);
}
/* If you want a 2-tone pill */
#products .product-card .product-info .variant-colors .color-dot.bg-two{
  background: linear-gradient(135deg,#E5E4E2 44.4%, #F1C40F 69.9%);
}
