
.pe-smart-filter-form{background:#fff;border:1px solid #ececec;border-radius:20px;padding:18px;margin-bottom:22px;box-shadow:0 10px 30px rgba(0,0,0,.05)}
.pe-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pe-field{position:relative}
.pe-field label{display:block;font-weight:700;margin:0 0 8px;color:#334155;font-size:13px}
.pe-field input,.pe-field select{width:100%;height:50px;border:1px solid #dbe3ee;border-radius:14px;padding:0 14px;background:#fff;font-size:15px}
.pe-submit button,.pe-field button{width:100%;height:50px;border:none;border-radius:14px;background:#d97706;color:#fff;font-weight:700;cursor:pointer}
.pe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.pe-card{background:#fff;border:1px solid #ececec;border-radius:20px;overflow:hidden;box-shadow:0 12px 30px rgba(0,0,0,.06)}
.pe-card-media img{display:block;width:100%;height:240px;object-fit:cover}
.pe-card-body{padding:16px}
.pe-card-title{font-size:20px;line-height:1.3;margin:0 0 10px}
.pe-card-title a{text-decoration:none;color:#171717}
.pe-price{font-size:24px;font-weight:800;color:#d97706;margin-bottom:10px}
.pe-meta{display:flex;gap:10px;flex-wrap:wrap;color:#52525b;margin-bottom:14px}
.pe-card-actions{display:flex;gap:10px}
.pe-btn{display:inline-flex;align-items:center;justify-content:center;min-width:110px;height:42px;padding:0 16px;border-radius:999px;background:#d97706;color:#fff;text-decoration:none;font-weight:700}
.pe-btn.secondary{background:#fff;color:#d97706;border:1px solid #d97706}
.pe-empty{padding:30px;border:1px dashed #d4d4d8;border-radius:18px;text-align:center;color:#52525b}
.pe-pagination{display:flex;gap:8px;justify-content:center;padding-top:24px}
.pe-pagination a{display:inline-flex;width:42px;height:42px;border-radius:12px;align-items:center;justify-content:center;text-decoration:none;border:1px solid #d4d4d8;color:#18181b}
.pe-pagination a.is-current{background:#18181b;color:#fff;border-color:#18181b}
.pe-smart-filter-loading{opacity:.55;pointer-events:none}

.pe-smart-filter-form-minimal{margin-bottom:0;border-radius:22px;padding:18px}
.pe-filter-grid-minimal{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:end}
.pe-price-toggle{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;height:50px;padding:0 14px;border:1px solid #dbe3ee;border-radius:14px;background:#fff;color:#111827;font-weight:600;cursor:pointer}
.pe-price-toggle span{font-size:13px;color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pe-price-toggle strong{font-size:14px;color:#111827}
.pe-price-popover{position:absolute;top:calc(100% + 10px);left:0;right:0;min-width:320px;padding:16px;border:1px solid #e5e7eb;border-radius:18px;background:#fff;box-shadow:0 24px 64px rgba(15,23,42,.14);display:none;z-index:25}
.pe-price-field.is-open .pe-price-popover{display:block}
.pe-price-values{display:flex;justify-content:space-between;gap:12px;font-weight:700;color:#111827;margin-bottom:14px}
.pe-range-stack{position:relative;padding:12px 0 6px}
.pe-range-stack input[type="range"]{appearance:none;-webkit-appearance:none;width:100%;height:6px;background:#e5e7eb;border-radius:999px;outline:none;padding:0;margin:0}
.pe-range-stack input[type="range"] + input[type="range"]{margin-top:14px}
.pe-range-stack input[type="range"]::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:18px;height:18px;border-radius:999px;background:#d97706;border:none;box-shadow:0 4px 10px rgba(217,119,6,.35)}
.pe-range-stack input[type="range"]::-moz-range-thumb{width:18px;height:18px;border-radius:999px;background:#d97706;border:none}
.pe-price-actions{display:flex;gap:10px;margin-top:14px}
.pe-price-actions button{height:42px;border-radius:12px}
.pe-price-reset{background:#fff !important;color:#111827 !important;border:1px solid #dbe3ee !important}
.pe-submit-minimal button{height:50px}
@media (max-width:1200px){
  .pe-filter-grid,.pe-filter-grid-minimal{grid-template-columns:repeat(2,minmax(0,1fr))}
  .pe-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  .pe-filter-grid,.pe-filter-grid-minimal,.pe-grid{grid-template-columns:1fr}
  .pe-card-media img{height:210px}
  .pe-price-popover{position:static;min-width:0;margin-top:10px}
}


/* ===== Filter update 1.2.1: quieter price UI ===== */
.pe-price-toggle{
  background:#fff !important;
  border:1px solid #dbe3ee !important;
  color:#334155 !important;
  font-weight:500 !important;
}
.pe-price-toggle strong{
  font-size:13px !important;
  font-weight:600 !important;
  color:#475569 !important;
}
.pe-price-toggle span{
  color:#64748b !important;
}
.pe-price-values{
  font-weight:600 !important;
  color:#334155 !important;
}
.pe-price-apply{
  background:#f8fafc !important;
  color:#334155 !important;
  border:1px solid #dbe3ee !important;
}
.pe-range-stack input[type="range"]::-webkit-slider-thumb{
  background:#94a3b8 !important;
  box-shadow:none !important;
}
.pe-range-stack input[type="range"]::-moz-range-thumb{
  background:#94a3b8 !important;
}


/* ===== 1.2.5 safe auto-filter: keep original price UI intact ===== */
.pe-submit-minimal{
  display:block !important;
}
.pe-filter-grid-minimal{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}
.pe-smart-filter-form.is-loading{
  opacity:.82;
}
@media (max-width:1180px){
  .pe-filter-grid-minimal{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width:767px){
  .pe-filter-grid-minimal{
    grid-template-columns:1fr !important;
  }
}


/* ===== 1.2.6 final compatibility ===== */
.pe-smart-filter-results > .pe-grid{
  display:grid !important;
}
.home .pe-smart-filter-wrap .pe-price-toggle,
.home .pe-smart-filter-wrap .pe-price-toggle *,
.home .pe-smart-filter-wrap .pe-price-popover,
.home .pe-smart-filter-wrap .pe-price-popover *,
.home .pe-smart-filter-wrap [data-price-summary],
.home .pe-smart-filter-wrap [data-price-min-label],
.home .pe-smart-filter-wrap [data-price-max-label]{
  color:#334155 !important;
  -webkit-text-fill-color:#334155 !important;
}
.home .pe-smart-filter-wrap .pe-price-toggle,
.home .pe-smart-filter-wrap .pe-price-popover{
  background:#fff !important;
}


/* PRO 1.4.0 */
.pe-smart-filter-wrap,.pe-smart-filter-form,.pe-filter-grid-minimal,.pe-field,.pe-price-field{overflow:visible}
.pe-price-popover{z-index:120 !important}
.home .pe-filter-box-premium{overflow:visible !important}

/* PRO 2.1 */
.pe-price-popover{z-index:9999 !important}
.pe-smart-filter-form-minimal{backdrop-filter:blur(8px)}


/* PRO 1.4.2 visual refresh */
.pe-smart-filter-form-minimal{background:transparent !important;border:0 !important;box-shadow:none !important;padding:0 !important}
.pe-filter-grid-minimal{gap:14px !important;align-items:end !important}
.pe-field label{font-size:12px;font-weight:700;color:#475569;letter-spacing:.01em;margin-bottom:7px}
.pe-field select,.pe-price-toggle{height:52px !important;border-radius:14px !important;border:1px solid #d8dee8 !important;background:#fff !important;color:#0f172a !important;padding:0 14px !important;font-size:15px !important;box-shadow:none !important}
.pe-price-toggle strong{font-size:14px !important;font-weight:700 !important;color:#334155 !important}
.pe-price-toggle span{font-size:13px !important;color:#64748b !important}
.pe-submit button{height:52px !important;border-radius:14px !important;background:linear-gradient(180deg,#b56a22,#8f4f14) !important;color:#fff !important;font-size:15px !important;font-weight:700 !important;box-shadow:0 14px 30px rgba(181,106,34,.22) !important}
.pe-price-popover{border:1px solid #e5dccd !important;border-radius:18px !important;box-shadow:0 24px 54px rgba(15,23,42,.14) !important;padding:16px !important;background:#fff !important}
.pe-price-values{font-size:14px !important;color:#334155 !important}
.pe-price-reset{border:1px solid #d8dee8 !important;color:#334155 !important}
