/* ---------- Diamond Search Filter ---------- */
.diamond-search-section {
  background-color: #fff;
  padding-top: 3rem;
  padding-bottom: 2rem;
}
.shape-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .shape-grid {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
}
.shape-btn {
  background: none;
  border: 1px solid transparent;
  padding: 5px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 65px;
  height: 75px;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .shape-btn {
    width: 10%;
    flex-shrink: 1;
  }
}
.shape-btn img {
  max-width: 100%;
  max-height: 40px;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
.shape-btn:hover img, .shape-btn.active img {
  opacity: 1;
}
.shape-btn.active {
  border-color: var(--gray-300);
  background-color: #f8f9fa;
}
.shape-btn span {
  font-size: 0.65rem;
  margin-top: 6px;
  color: var(--gray-600);
  text-align: center;
  line-height: 1.1;
}
.shape-btn.active span {
  color: var(--navy);
  font-weight: 600;
}

.custom-range {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: #CECECE;
  border-radius: 2px;
  outline: none;
  position: relative;
}
.custom-range:focus {
  outline: none;
  box-shadow: none;
}
.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #CABE84;
  cursor: pointer;
  border: 2px solid #CABE84;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}
.custom-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #CABE84;
  cursor: pointer;
  border: 2px solid #CABE84;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
  position: relative;
  z-index: 2;
}
.custom-range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 0.25rem rgba(202, 190, 132, 0.25);
  background: #CABE84;
  border-color: #CABE84;
}
.custom-range:focus::-moz-range-thumb {
  box-shadow: 0 0 0 0.25rem rgba(202, 190, 132, 0.25);
  background: #CABE84;
  border-color: #CABE84;
}
.custom-range:active::-webkit-slider-thumb {
  background: #CABE84;
  border-color: #CABE84;
}
.custom-range:active::-moz-range-thumb {
  background: #CABE84;
  border-color: #CABE84;
}

/* Range slider ticks */
.range-ticks {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: -11px;
  padding: 0 9px;
  pointer-events: none;
}
.range-tick {
  width: 2px;
  height: 6px;
  background: #fff;
  z-index: 1;
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--navy);
}
.filter-info-icon {
  color: #CABE84;
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.filter-info-icon:hover {
  color: var(--navy);
}

.diamond-type-toggle .btn {
  border-color: rgba(255,255,255,0.3);
  color: #fff;
  font-weight: 500;
  background: rgba(255,255,255,0.1);
}
.diamond-type-toggle .btn:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.diamond-type-toggle .btn-check:checked + .btn {
  background-color: #fff;
  border-color: #fff;
  color: var(--navy);
}

.quick-ship-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--gray-300);
  border-radius: 4px;
  cursor: pointer;
}
.quick-ship-check input {
  margin: 0;
}
