/*
  Global styles и Widget филтър (WOOF)
  Разделих основните глобални правила от style.css тук за по-добра структура.
  Коментари и имена на секциите са на български за лесна поддръжка.
*/

/* =========================================================
   1. GLOBAL / TYPOGRAPHY / ACCESSIBILITY (част)
   (първоначални визуални настройки и widget sidebar)
========================================================= */



/* =========================================================
   8. FILTER SIDEBAR (WOOF)
========================================================= */

#secondary.widget-area {
  position: sticky;
  top: 24px;
}

#secondary .widget,
#secondary .widget-woof {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border-radius: 18px;
  border: 1px solid rgba(0, 118, 255, 0.12);
  box-shadow: 0 18px 34px rgba(0, 78, 255, 0.08);
  padding: 18px 16px;
}

#secondary .widget-title {
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: #0f1f3d;
  display: flex;
  align-items: center;
  gap: 10px;
}

#secondary .widget-title::before {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, #0a6cff 0%, #ff9a00 100%);
  box-shadow: 0 6px 12px rgba(0, 118, 255, 0.2);
}

.widget-woof .woof_container_inner > h4 {
  font-size: 0.86rem;
  font-weight: 700;
  margin: 16px 0 10px;
  color: #1f2430;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.widget-woof .woof_container_inner > h4 .woof_front_toggle {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: #eaf2ff;
  border: 1px solid rgba(0, 118, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0a6cff;
}

.widget-woof .woof_container {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(31, 36, 48, 0.08);
  padding: 12px;
  margin-bottom: 12px;
  box-shadow: 0 12px 24px rgba(31, 36, 48, 0.06);
}

.widget-woof .woof_price3_search_container .irs-line {
  background: #dfe8ff;
  border-radius: 999px;
  height: 8px;
}

.widget-woof .woof_price3_search_container .irs-bar {
  background: linear-gradient(90deg, #0a6cff, #ff9a00);
  height: 8px;
  border-radius: 999px;
}

.widget-woof .woof_price3_search_container .irs-handle {
  top: 18px;
}

.widget-woof .woof_price3_search_container .irs-handle i {
  background: #ffffff;
  border: 2px solid #0a6cff;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: 0 6px 12px rgba(0, 118, 255, 0.2);
}

.widget-woof .woof_price3_search_container .irs-from,
.widget-woof .woof_price3_search_container .irs-to {
  background: #0a6cff;
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  padding: 2px 6px;
}

.widget-woof .woof_price3_search_container .irs-grid-text {
  color: #6a7384;
  font-size: 11px;
}

.widget-woof .woof_husky_txt-input {
  border-radius: 12px;
  border: 1px solid rgba(0, 118, 255, 0.2);
  background: #f7f9ff;
  padding: 10px 12px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
}

.widget-woof .woof_list li {
  padding: 8px 6px;
  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.widget-woof .woof_list li:hover {
  background: #f3f7ff;
  transform: translateX(2px);
}

.widget-woof .woof_radio_label {
  font-weight: 600;
  font-size: 0.85rem;
  color: #1f2430;
}

.widget-woof .woof_radio_count {
  color: #6a7384;
  font-weight: 600;
  font-size: 0.78rem;
}

/* Fix for currency symbol issues */
.woocommerce-Price-currencySymbol,
.amount-cart {
  font-family: "Source Sans Pro", "HelveticaNeue-Light", "Helvetica Neue Light",
               "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
}
