
.rvf-sidebar{
  width:100%;
  max-width:340px;
  display:grid;
  gap:24px;
  font-family:inherit;
}
.rvf-widget{
  width:100%;
  box-sizing:border-box;
}
.rvf-widget *{box-sizing:border-box}
.rvf-widget a{text-decoration:none!important}
.rvf-widget__head{margin-bottom:17px}
.rvf-widget__eyebrow{
  display:block;
  margin-bottom:6px;
  color:var(--rvf-gold);
  font-size:11px;
  line-height:1;
  font-weight:700;
  letter-spacing:.14em;
}
.rvf-widget__head h3{
  margin:0 0 6px;
  color:var(--rvf-green);
  font-family:Georgia,"Times New Roman",serif;
  font-size:24px;
  line-height:1.2;
  font-weight:600;
}
.rvf-widget__head p{
  margin:0;
  color:var(--rvf-muted);
  font-size:14px;
  line-height:1.5;
}

/* Categories */
.rvf-category-list{border-top:1px solid var(--rvf-line)}
.rvf-category-main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px 2px;
  border-bottom:1px solid var(--rvf-line);
  color:var(--rvf-green)!important;
  font-size:15px;
  font-weight:650;
  transition:padding-left .2s ease,color .2s ease;
}
.rvf-category-main b{color:var(--rvf-gold);font-size:15px;transition:transform .2s ease}
.rvf-category-main small{color:var(--rvf-muted);font-weight:400}
.rvf-category-main:hover{padding-left:6px;color:var(--rvf-green2)!important}
.rvf-category-main:hover b{transform:translateX(3px)}
.rvf-category-sub{
  display:grid;
  gap:1px;
  padding:7px 0 10px 12px;
  border-bottom:1px solid var(--rvf-line);
}
.rvf-category-sub a{
  position:relative;
  padding:6px 4px 6px 13px;
  color:var(--rvf-muted)!important;
  font-size:14px;
  line-height:1.45;
  transition:padding-left .2s ease,color .2s ease;
}
.rvf-category-sub a:before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:4px;
  height:4px;
  border-radius:50%;
  background:var(--rvf-green2);
  transform:translateY(-50%);
}
.rvf-category-sub a:hover{padding-left:17px;color:var(--rvf-green)!important}
.rvf-category-sub small{font-size:12px}

/* Brands — v1.0.5: rail vertical compact, 6 logo-uri vizibile + scroll */
.rvf-brands .rvf-widget__head{
  margin-bottom:10px;
}
.rvf-brands .rvf-widget__head h3{
  font-size:22px;
  margin-bottom:4px;
}
.rvf-brands .rvf-widget__head p{
  font-size:13.5px;
}
.rvf-brand-carousel{
  position:relative;
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
}
.rvf-brand-viewport{
  width:100%;
  height:286px; /* 6 x 44px + 5 x 4px + 2px toleranță */
  overflow-x:hidden;
  overflow-y:auto;
  scroll-behavior:smooth;
  scroll-snap-type:y proximity;
  overscroll-behavior-y:auto;
  scrollbar-width:none;
  -ms-overflow-style:none;
}
.rvf-brand-viewport::-webkit-scrollbar{width:0;height:0}
.rvf-brand-list{
  width:100%;
  display:grid;
  grid-template-columns:1fr;
  gap:4px;
}
.rvf-brand-card{
  position:relative;
  width:100%;
  height:44px;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:4px 10px;
  border:1px solid var(--rvf-line);
  border-radius:8px;
  background:#fff;
  color:var(--rvf-green)!important;
  overflow:hidden;
  text-align:center;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease,transform .18s ease;
  scroll-snap-align:start;
}
.rvf-brand-card img{
  display:block;
  width:auto;
  height:auto;
  max-width:88%;
  max-height:min(var(--rvf-logo-h),34px);
  object-fit:contain;
  transition:transform .18s ease;
}
.rvf-brand-card:hover{
  transform:translateY(-1px);
  border-color:rgba(85,107,53,.30);
  box-shadow:0 4px 12px rgba(38,59,24,.045);
  background:var(--rvf-cream);
}
.rvf-brand-card:hover img{transform:scale(1.035)}
.rvf-brand-card.is-selected{
  border-color:rgba(85,107,53,.45);
  box-shadow:inset 3px 0 0 var(--rvf-gold);
  background:var(--rvf-cream);
}
.rvf-brand-card.is-selected:after{
  content:"✓";
  position:absolute;
  right:6px;
  top:50%;
  width:15px;
  height:15px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--rvf-green);
  color:#fff;
  font-size:8px;
  transform:translateY(-50%);
}
.rvf-brand-nav{
  width:32px;
  min-width:32px;
  height:32px;
  min-height:32px;
  display:grid;
  place-items:center;
  padding:0!important;
  border:1px solid var(--rvf-line)!important;
  border-radius:50%!important;
  background:#fff!important;
  color:var(--rvf-green)!important;
  box-shadow:0 3px 10px rgba(38,59,24,.04)!important;
  cursor:pointer;
  line-height:0;
  transition:border-color .18s ease,background .18s ease,color .18s ease,transform .18s ease;
}
.rvf-brand-nav svg{
  display:block;
  width:15px;
  height:15px;
  margin:0;
  pointer-events:none;
}
.rvf-brand-nav:hover:not(:disabled){
  border-color:rgba(85,107,53,.35)!important;
  background:var(--rvf-cream)!important;
  color:var(--rvf-gold)!important;
}
.rvf-brand-nav:disabled{
  opacity:.28;
  cursor:default;
}
@media(max-width:767px){
  .rvf-sidebar{max-width:100%}
  .rvf-brand-viewport{height:274px}
  .rvf-brand-card{height:42px;min-height:42px}
  .rvf-brand-card img{max-height:min(var(--rvf-logo-h),32px)}
}
@media(hover:none){
  .rvf-brand-card:hover{transform:none}
}


/* Attribute filters */
.rvf-check-list{display:grid;gap:4px}
.rvf-check{
  display:flex;
  align-items:center;
  gap:9px;
  padding:7px 2px;
  color:var(--rvf-muted)!important;
  font-size:14px;
  line-height:1.4;
  transition:color .2s ease,padding-left .2s ease;
}
.rvf-check:hover{padding-left:4px;color:var(--rvf-green)!important}
.rvf-box{
  width:17px;
  height:17px;
  flex:0 0 17px;
  display:grid;
  place-items:center;
  border:1px solid #CFCBC1;
  border-radius:4px;
  background:#fff;
  color:#fff;
  font-size:10px;
  transition:.2s ease;
}
.rvf-check.is-selected .rvf-box{
  border-color:var(--rvf-green);
  background:var(--rvf-green);
}
.rvf-check.is-selected .rvf-check-name{color:var(--rvf-green);font-weight:650}
.rvf-check small{margin-left:auto;color:#AAA79F;font-size:12px}

/* Price */
.rvf-price-form{display:grid;gap:13px}
.rvf-price-values{display:flex;align-items:center;justify-content:space-between;gap:12px}
.rvf-price-values b{color:var(--rvf-green);font-size:14px;font-weight:650}
.rvf-price-values .woocommerce-Price-amount{font-size:14px}
.rvf-range{
  position:relative;
  height:25px;
}
.rvf-range:before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:11px;
  height:3px;
  border-radius:999px;
  background:#E6E1D7;
}
.rvf-range input[type=range]{
  position:absolute;
  left:0;
  top:0;
  width:100%;
  height:25px;
  margin:0;
  background:transparent;
  pointer-events:none;
  -webkit-appearance:none;
  appearance:none;
}
.rvf-range input[type=range]::-webkit-slider-thumb{
  width:16px;
  height:16px;
  border:2px solid #fff;
  border-radius:50%;
  background:var(--rvf-green);
  box-shadow:0 1px 5px rgba(38,59,24,.25);
  pointer-events:auto;
  -webkit-appearance:none;
  appearance:none;
  cursor:pointer;
}
.rvf-range input[type=range]::-moz-range-thumb{
  width:14px;
  height:14px;
  border:2px solid #fff;
  border-radius:50%;
  background:var(--rvf-green);
  box-shadow:0 1px 5px rgba(38,59,24,.25);
  pointer-events:auto;
  cursor:pointer;
}
.rvf-price-form button{
  min-height:40px;
  width:100%;
  padding:9px 14px;
  border:1px solid var(--rvf-green)!important;
  border-radius:9px!important;
  background:var(--rvf-green)!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:700!important;
  cursor:pointer;
  transition:background .2s ease,transform .2s ease;
}
.rvf-price-form button:hover{
  transform:translateY(-1px);
  background:var(--rvf-green2)!important;
  border-color:var(--rvf-green2)!important;
}
@media(hover:none){
  .rvf-brand-card:hover,.rvf-price-form button:hover{transform:none}
}


/* =========================================================
   v1.0.2 — categorie activă + resetare filtre
========================================================= */
.rvf-category-main.is-current,
.rvf-category-main.is-ancestor{
  position:relative;
  padding-left:12px;
  color:var(--rvf-green)!important;
  font-weight:700;
  background:linear-gradient(90deg, rgba(85,107,53,.10), rgba(85,107,53,0));
}
.rvf-category-main.is-current::before,
.rvf-category-main.is-ancestor::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:3px;
  height:20px;
  border-radius:999px;
  background:var(--rvf-gold);
  transform:translateY(-50%);
}
.rvf-category-main.is-current b,
.rvf-category-main.is-ancestor b{
  color:var(--rvf-green);
}

.rvf-category-child.is-current{
  padding-left:18px;
  color:var(--rvf-green)!important;
  font-weight:700;
}
.rvf-category-child.is-current::before{
  width:6px;
  height:6px;
  background:var(--rvf-gold);
  box-shadow:0 0 0 3px rgba(184,138,59,.10);
}

.rvf-reset-wrap{
  padding-top:2px;
}
.rvf-reset{
  width:100%;
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border:1px solid var(--rvf-line);
  border-radius:10px;
  background:#fff;
  color:var(--rvf-green)!important;
  font-size:14px;
  line-height:1;
  font-weight:700;
  text-decoration:none!important;
  transition:
    transform .2s ease,
    border-color .2s ease,
    background-color .2s ease,
    color .2s ease,
    box-shadow .2s ease;
}
.rvf-reset__icon{
  color:var(--rvf-gold);
  font-size:17px;
  line-height:1;
  transition:transform .25s ease;
}
.rvf-reset:hover{
  transform:translateY(-1px);
  border-color:rgba(85,107,53,.28);
  background:var(--rvf-cream);
  color:var(--rvf-green)!important;
  box-shadow:0 6px 16px rgba(38,59,24,.05);
}
.rvf-reset:hover .rvf-reset__icon{
  transform:rotate(-45deg);
}
@media(hover:none){
  .rvf-reset:hover{transform:none}
}

/* =========================================================
   v1.1.0 — filtrare AJAX fără reload
========================================================= */
html.rvf-ajax-busy{cursor:progress}
html.rvf-ajax-busy .rvf-sidebar,
html.rvf-ajax-busy .nasa-products-page-wrap,
html.rvf-ajax-busy .nasa-archive-product-warp,
html.rvf-ajax-busy .nasa-shop-products-wrapper,
html.rvf-ajax-busy .woocommerce ul.products{
  opacity:.58;
  transition:opacity .16s ease;
}
html.rvf-ajax-busy .rvf-sidebar{
  pointer-events:none;
}
.rvf-sidebar[aria-busy="true"]{
  position:relative;
}
.rvf-sidebar[aria-busy="true"]::after{
  content:"";
  position:absolute;
  top:8px;
  right:8px;
  width:17px;
  height:17px;
  border:2px solid var(--rvf-line,#E7E1D6);
  border-top-color:var(--rvf-green,#263B18);
  border-radius:50%;
  animation:rvfAjaxSpin .65s linear infinite;
  z-index:20;
}
@keyframes rvfAjaxSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){
  .rvf-sidebar[aria-busy="true"]::after{animation-duration:1.4s}
}
