.price-popup .popup-inputs,
.square-popup .popup-inputs,
.js-price-popup .popup-inputs,
.js-square-popup .popup-inputs {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.price-popup .popup-inputs__price,
.square-popup .popup-inputs__square,
.js-price-popup .popup-inputs__price,
.js-square-popup .popup-inputs__square {
  flex: 1 1 calc(50% - 10px) !important;
  min-width: 0 !important;
  width: auto !important;
  height: 40px;
  border: 1px solid #d9d9d9 !important;
  border-radius: 6px !important;
  padding: 8px 12px !important;
  font-size: 14px;
  box-sizing: border-box;
}

.price-popup .popup-inputs__text,
.square-popup .popup-inputs__text,
.js-price-popup .popup-inputs__text,
.js-square-popup .popup-inputs__text { display: none !important; }

.price-popup .ui.buttons.currency,
.price-popup .ui.buttons.period,
.js-price-popup .ui.buttons.currency,
.js-price-popup .ui.buttons.period {
  display: flex !important;
  flex: 1 1 100%;
  gap: 8px;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  margin: 4px 0 0 !important;
}
.price-popup .ui.buttons.currency .ui.button,
.price-popup .ui.buttons.period .ui.button,
.js-price-popup .ui.buttons.currency .ui.button,
.js-price-popup .ui.buttons.period .ui.button {
  flex: 1 1 0;
  min-height: 38px;
  background: #fff !important;
  border: 1.5px solid #f0b64c !important;
  border-radius: 8px !important;
  color: #666 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 8px 10px !important;
  white-space: nowrap;
}
.price-popup .ui.buttons.currency .ui.button:hover,
.price-popup .ui.buttons.period .ui.button:hover,
.js-price-popup .ui.buttons.currency .ui.button:hover,
.js-price-popup .ui.buttons.period .ui.button:hover {
  background: rgba(240, 182, 76, .12) !important;
}

.price-popup .ui.buttons.currency .ui.button.active,
.price-popup .ui.buttons.period .ui.button.active,
.js-price-popup .ui.buttons.currency .ui.button.active,
.js-price-popup .ui.buttons.period .ui.button.active {
  background: #f0b64c !important;
  border-color: #f0b64c !important;
  color: #fff !important;
  font-weight: 600 !important;
}

.description__search .filter__item .ui.flowing.popup {
  border: 1px solid #d4d4d5 !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 24px rgba(34, 36, 38, .14) !important;
  padding: 14px !important;
}

.spb-otype-options { gap: 12px !important; padding: 4px 2px !important; }
.spb-otype-option { font-size: 15px !important; gap: 12px !important; }
.spb-otype-option input { accent-color: #f0b64c; }

.apex-range { flex: 1 1 100%; margin-top: 12px; }
.apex-range__slider { position: relative; height: 22px; }
.apex-range__slider::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 4px;
  margin-top: -2px;
  background: #eee;
  border-radius: 2px;
}
.apex-range__track {
  position: absolute;
  z-index: 1;
  top: 50%;
  height: 4px;
  margin-top: -2px;
  background: #f0b64c;
  border-radius: 2px;
}
.apex-range__input {
  accent-color: #f0b64c;
  color-scheme: light;
  position: absolute;
  left: 0;
  width: 100%;
  top: 0;
  height: 22px;
  margin: 0;
  
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none;
  padding: 0 !important;
  min-height: 0 !important;
  appearance: none;
  -webkit-appearance: none;
  pointer-events: none;
  z-index: 2;
}

.apex-range__input::-webkit-slider-runnable-track {
  background: transparent !important;
  border: none;
  height: 22px;
}
.apex-range__input::-moz-range-track {
  background: transparent !important;
  border: none;
  height: 22px;
}
.apex-range__input::-moz-range-progress { background: transparent !important; }
.apex-range__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #f0b64c;
  cursor: pointer;
}
.apex-range__input::-moz-range-thumb {
  pointer-events: auto;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #f0b64c;
  cursor: pointer;
}
.apex-range__legend {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 13px;
  color: #999;
}

.rot-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 14px; }
.rot-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 6px; min-height: 84px;
  background: rgba(255, 255, 255, .07);
  border: 1.5px solid rgba(255, 255, 255, .55);
  border-radius: 12px; color: #fff; font-size: 14px; line-height: 1.2;
  cursor: pointer; text-align: center;
}
.rot-tile svg { width: 26px; height: 26px; flex: 0 0 auto; }
.rot-tile:hover { border-color: #f0b64c; }
.rot-tile--on { border-color: #f0b64c; color: #f0b64c; background: rgba(240, 182, 76, .10); }
@media only screen and (max-width: 640px) {
  .rot-tiles { grid-template-columns: repeat(2, 1fr); }
  .rot-tile { min-height: 72px; font-size: 13px; }
}

.rot-sortdd { position: relative; display: inline-flex; flex: 0 1 auto; }
.rot-sortdd__btn {
  height: 38px;
  min-height: 38px;
  line-height: 1;
  padding: 0 30px 0 14px;
  border: 1.5px solid #f0b64c;
  border-radius: 18px;
  background: #fff;
  color: #666;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  white-space: nowrap;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M1 1l4 4 4-4' fill='none' stroke='%23f0b64c' stroke-width='1.6' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
}
.rot-sortdd__btn:hover { background-color: rgba(240, 182, 76, .1); }
.rot-sortdd__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 70;
  min-width: 100%;
  width: max-content;
  max-width: min(280px, calc(100vw - 32px));
  background: #fff;
  border: 1.5px solid #f0b64c;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .16);
  padding: 4px;
  margin: 0;
  list-style: none;
  overflow: hidden;
}
.rot-sortdd__opt {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: #303030;
  cursor: pointer;
  white-space: nowrap;
}
.rot-sortdd__opt:hover { background: #fff6e6; }
.rot-sortdd__opt--on { background: #f0b64c; color: #fff; font-weight: 600; }

.description__header .rot-fav-toggle,
.description__header .rot-fav-clear {
  float: left;
  margin-left: 10px;
}
@media only screen and (max-width: 760px) {
  .description__header .rot-fav-toggle,
  .description__header .rot-fav-clear { margin-left: 8px; }
}
