.uvf{ color:#000; width:100%; }

/* Layout: sidebar + risultati */
.uvf__layout{
  display:grid;
  grid-template-columns: 400px 1fr;
  gap:60px;
  align-items:start;
}

/* Sidebar */
.uvf__filters{
  display:flex;
  flex-direction:column;
  gap:18px;
  max-width:100%;
}

.uvf__label{
  font-weight:800;
  font-size:22px;
  line-height:1.15;
  margin:0 0 10px;
}

.uvf__input,
.uvf__select{
  width:100%;
  height:42px;
  border:1px solid #d7d7d7;
  border-radius:8px;
  padding:0 12px;
  background:#fff;
  color:#000;
  font-size:14px;
  outline:none;
}

.uvf__input:focus,
.uvf__select:focus{
  border-color:#1554ff;
  box-shadow:0 0 0 3px rgba(21,84,255,.12);
}

/* Prezzo */
.uvf__price-values{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:10px;
}

.uvf__badge{
  background:#1554ff;
  color:#fff;
  padding:4px 10px;
  border-radius:7px;
  font-weight:800;
  font-size:12px;
}

/* Range custom */
.uvf__range{
  position:relative;
  height:40px;
  padding-top:14px;
}

.uvf__track{
  position:relative;
  height:8px;
  border-radius:999px;
  background:#e9e9e9;
}

.uvf__fill{
  position:absolute;
  top:0;
  height:8px;
  border-radius:999px;
  background:#1554ff;
}

.uvf__range-input{
  position:absolute;
  left:0;
  top:6px;
  width:100%;
  height:26px;
  margin:0;
  pointer-events:none;
  -webkit-appearance:none;
  appearance:none;
  background:none;
  outline:none;
}

.uvf__range-input::-webkit-slider-runnable-track{
  height:8px;
  background:transparent;
  border:none;
}
.uvf__range-input::-moz-range-track{
  height:8px;
  background:transparent;
  border:none;
}

.uvf__range-input::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  pointer-events:auto;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#fff;
  border:2px solid #1554ff;
  box-shadow:0 3px 8px rgba(21,84,255,.18);
  cursor:pointer;
  margin-top:-5px;
}
.uvf__range-input::-moz-range-thumb{
  pointer-events:auto;
  width:18px;
  height:18px;
  border-radius:50%;
  background:#fff;
  border:2px solid #1554ff;
  box-shadow:0 3px 8px rgba(21,84,255,.18);
  cursor:pointer;
}

/* z-index per i due thumb */
.uvf__range-input[data-range-max]{ z-index:3; }
.uvf__range-input[data-range-min]{ z-index:2; }

/* Reset */
.uvf__actions{ margin-top:4px; }
.uvf__reset{
  height:40px;
  padding:0 14px;
  border-radius:8px;
  border:1px solid #d7d7d7;
  background:#fff;
  cursor:pointer;
  font-weight:700;
}

/* Risultati */
.uvf__loading{ font-weight:700; margin:10px 0; }
.uvf__empty{ padding:16px; border:1px solid #eee; border-radius:12px; }

/* Griglia WooCommerce */
.uvf__results ul.products{
  margin:0 !important;
  padding:0 !important;
  list-style:none !important;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:26px;
}

.uvf__results ul.products li.product{
  width:auto !important;
  float:none !important;
  margin:0 !important;
}

.uvf__results ul.products li.product img{
  width:100%;
  height:auto;
  border-radius:6px;
}

.uvf__results .woocommerce-loop-product__title{
  font-size:14px !important;
  font-weight:800 !important;
  margin:10px 0 6px !important;
  color:#000 !important;
}

.uvf__results .price{
  font-weight:800;
  color:#1554ff !important;
  font-size:14px !important;
}

/* Option disabilitate */
.uvf__select option:disabled{ color:#999; }

/* Pagination */
.uvf__pager{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:18px;
  justify-content: center;
}
.uvf__page{
  width:42px; height:42px;
  border-radius:10px;
  border:1px solid #d7d7d7;
  background:#1554ff;
  color: #ffffff;
  cursor:pointer;
  font-weight:800;
}
.uvf__pageinfo{ 
  font-weight:800;
  font-size: 18px;

}
.uvf__page.is-disabled{ opacity:.4; cursor:default; }

/* Responsive */
@media (max-width: 1200px){
  .uvf__results ul.products{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px){
  .uvf__layout{ grid-template-columns: 320px 1fr; gap:40px; }
  .uvf__results ul.products{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px){
  .uvf__layout{ grid-template-columns: 1fr; gap:18px; }
  .uvf__results ul.products{ grid-template-columns: 1fr; gap:18px; }
}
/* Paginazione UVF (quella con ‹ 1/11 ›) */
@media (max-width: 767px){

  /* centra il blocco */
  .uvf__pager{
    display:flex !important;
    justify-content:center !important;
    align-items:center !important;
    gap:16px !important;
    width:100% !important;
    margin:22px auto 0 !important;
  }

  /* pulsanti più grandi (touch-friendly) */
  .uvf__pager .uvf__page{
    width:52px !important;
    height:52px !important;
    border-radius:14px !important;
    font-size:22px !important;
    font-weight:900 !important;
    line-height:52px !important;
    padding:0 !important;
  }

  /* testo centrale più grande */
  .uvf__pager .uvf__pageinfo{
    font-size:18px !important;
    font-weight:900 !important;
  }
}
.uvf__empty{
  background-color: #1554ff;
  color:#ffffff;
  font-weight: 800;
  font-size: 18px;
  padding: 16px !important;
}