/* =========================================
VL24 SHOP / CATEGORY — 2026 PREMIUM
MATCHES EXISTING CARD SYSTEM IN main.css
========================================= */

/* PAGE */
.vl24-archive{
  max-width:1520px;
  margin:0 auto;
  padding:28px 28px 88px;
}

.vl24-archive-header{
  margin-bottom:28px;
}

.vl24-archive-header h1{
  margin:0;
  font-size:clamp(2rem, 3vw, 3rem);
  line-height:.98;
  letter-spacing:-0.03em;
  font-weight:700;
}

.woocommerce-products-header__description,
.term-description{
  margin-top:12px;
  max-width:72ch;
  font-size:16px;
  line-height:1.75;
  color:var(--vl24-text-muted);
}

/* SUBCATEGORIES */
.vl24-subcategories{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px;
  margin:0 0 30px;
}

.vl24-cat-card{
  display:block;
  text-decoration:none;
  color:#111;
  background:#fff;
  border:var(--vl24-border);
  border-radius:6px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
  transition:transform .18s ease, box-shadow .18s ease;
}

.vl24-cat-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 50px rgba(0,0,0,0.08);
}

.vl24-cat-img{
  aspect-ratio:4/3;
  overflow:hidden;
  background:#f5f5f5;
}

.vl24-cat-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.vl24-cat-title{
  padding:14px;
  font-size:15px;
  font-weight:700;
  line-height:1.3;
  letter-spacing:-0.01em;
}

/* TOOLBAR */
.vl24-toolbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0 0 26px;
  padding:0 0 14px;
  border-bottom:1px solid rgba(17,17,17,0.08);
}

.vl24-results{
  font-size:14px;
  color:var(--vl24-text-muted);
}

.vl24-sort .woocommerce-ordering{
  margin:0;
}

.vl24-sort select{
  min-width:220px;
  height:44px;
  padding:0 14px;
  border:1px solid rgba(17,17,17,0.14);
  border-radius:6px;
  background:#fff;
  font-size:14px;
}

.vl24-filter-toggle{
  display:none;
  min-height:42px;
  padding:0 16px;
  border:1px solid rgba(17,17,17,0.14);
  border-radius:6px;
  background:#fff;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}

/* LAYOUT */
.vl24-catalog{
  display:grid;
  grid-template-columns:340px minmax(0,1fr);
  gap:32px;
  align-items:start;
}

/* SIDEBAR */
.vl24-sidebar{
  position:sticky;
  top:120px;
  background:#fff;
  border:var(--vl24-border);
  border-radius:6px;
  box-shadow:0 12px 30px rgba(0,0,0,0.04);
  padding:18px;
  min-height:40px;
}

.vl24-sidebar:empty{
  display:none;
}

.vl24-filter-group + .vl24-filter-group{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid rgba(17,17,17,0.08);
}

.vl24-filter-title{
  margin:0 0 10px;
  font-size:15px;
  font-weight:700;
  line-height:1.2;
  color:#111;
}

/* FILTER EVERYTHING / WOO FILTER CLEANUP */
.vl24-sidebar a{
  color:#111;
  text-decoration:none;
}

.vl24-sidebar ul,
.vl24-sidebar ol{
  margin:0;
  padding:0;
  list-style:none;
}

.vl24-sidebar input[type="checkbox"]{
  margin-right:8px;
}

.vl24-sidebar .wpc-filters-widget-wrapper,
.vl24-sidebar .wpc-filter-layout-submit-button,
.vl24-sidebar .wpc-filters-section{
  margin:0;
}

.vl24-sidebar .wpc-filters-section + .wpc-filters-section{
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid rgba(17,17,17,0.08);
}

.vl24-sidebar .wpc-filter-title{
  margin:0 0 10px !important;
  font-size:15px !important;
  font-weight:700 !important;
  color:#111 !important;
}

.vl24-sidebar .wpc-filter-content{
  margin:0 !important;
}

.vl24-sidebar .wpc-filter-content input,
.vl24-sidebar .wpc-filter-content select{
  accent-color:#24965a;
}

/* PRODUCTS WRAP */
.vl24-products{
  min-width:0;
}

/* REMOVE WOO DEFAULT FLOAT SYSTEM */
.vl24-products ul.products{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:28px !important;
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
}

.vl24-products ul.products::before,
.vl24-products ul.products::after{
  display:none !important;
  content:none !important;
}

.vl24-products ul.products li.product{
  float:none !important;
  width:auto !important;
  margin:0 !important;
  clear:none !important;
  padding:0 !important;
}

.vl24-products ul.products li.product.first,
.vl24-products ul.products li.product.last{
  clear:none !important;
}

/* CARD LINKS */
.vl24-products a{
  text-decoration:none;
}

/* FORCE CARD SYSTEM TO MATCH EXISTING main.css CARD 2026 */
.vl24-products .vl24-product-card-2026{
  display:flex;
  flex-direction:column;
  height:100%;
  background:#fff;
  border:var(--vl24-border);
  border-radius:6px;
  overflow:hidden;
  transition:all .18s ease;
}

.vl24-products .vl24-product-card-2026:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 50px rgba(0,0,0,0.08);
}

.vl24-products .vl24-card-image-wrap{
  position:relative;
  aspect-ratio:4/3;
  overflow:hidden;
  background:#f5f5f5;
}

.vl24-products .vl24-card-image-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.vl24-products .vl24-card-actions{
  position:absolute;
  top:10px;
  right:10px;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
  z-index:5;
}

.vl24-products .vl24-icon-btn{
  width:36px;
  height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  border-radius:50%;
  box-shadow:0 8px 20px rgba(0,0,0,0.15);
  text-decoration:none;
  font-size:16px;
  color:#111;
  transition:all .18s ease;
}

.vl24-products .vl24-icon-btn:hover{
  background:#111;
  color:#fff;
}

.vl24-products .vl24-cart-wrap{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  width:42px;
  height:38px;
  text-decoration:none !important;
  border:none;
  padding:0;
  background:transparent;
}

.vl24-products .vl24-cart-icon{
  position:relative;
  z-index:3;
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#fff !important;
  color:#111 !important;
  box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

.vl24-products .vl24-card-body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:14px;
}

.vl24-products .vl24-card-title{
  margin:0 0 6px !important;
}

.vl24-products .vl24-card-title-link{
  display:block !important;
  font-size:17px !important;
  font-weight:700 !important;
  line-height:1.3 !important;
  letter-spacing:-0.01em !important;
  color:#111 !important;
  text-decoration:none !important;
  transition:color .18s ease !important;

  display:-webkit-box !important;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:44px;
}

.vl24-products .vl24-card-title-link:hover{
  color:var(--vl24-green-dark) !important;
}

.vl24-products .vl24-card-desc{
  font-size:14px;
  color:var(--vl24-text-muted);
  line-height:1.4;
  margin:6px 0 10px;
  opacity:.9;

  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
  min-height:40px;
}

.vl24-products .vl24-card-price{
  margin-top:auto;
  font-size:16px;
  font-weight:800;
  color:var(--vl24-green-dark);
}

.vl24-products .vl24-card-price .price{
  color:var(--vl24-green-dark);
}

.vl24-products .vl24-card-price del{
  opacity:.45;
  margin-right:6px;
}

.vl24-products .vl24-card-price ins{
  text-decoration:none;
}

.vl24-products .vl24-card-request-price{
  margin-top:auto;
  width:100%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:12px 14px;
  border:1px solid var(--vl24-green-dark);
  border-radius:6px;
  background:var(--vl24-green-soft);
  text-align:center;
  text-decoration:none;
  cursor:pointer;
}

.vl24-products .vl24-card-request-main{
  font-size:14px;
  font-weight:800;
  color:var(--vl24-green-dark);
}

.vl24-products .vl24-card-request-sub{
  font-size:12px;
  color:var(--vl24-text-muted);
  margin-top:2px;
}

/* PAGINATION */
.woocommerce-pagination{
  margin:34px 0;
  display:flex;
  justify-content:center;
}

.woocommerce-pagination ul.page-numbers{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:0;
  list-style:none;
}

.vl24-products .woocommerce-pagination ul.page-numbers li{
  float:none;
  border:0;
  margin:0;
}

.vl24-products .woocommerce-pagination .page-numbers a,
.vl24-products .woocommerce-pagination .page-numbers span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  height:42px;
  padding:0 14px;
  border:1px solid rgba(17,17,17,0.12);
  border-radius:6px;
  background:#fff;
  color:#111;
  font-size:14px;
  font-weight:700;
  text-decoration:none;
}

.vl24-products .woocommerce-pagination .page-numbers.current{
  background:#111;
  color:#fff;
  border-color:#111;
}

/* RESPONSIVE */
@media (max-width: 1280px){
  .vl24-products ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .vl24-subcategories{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width: 1024px){
  .vl24-archive{
    padding:24px 20px 60px;
  }

  .vl24-catalog{
    grid-template-columns:1fr;
    gap:22px;
  }

  .vl24-sidebar{
    display:none;
  }

  .vl24-filter-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .vl24-products ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:18px !important;
  }

  .vl24-subcategories{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}



.vl24-cart-wrap:hover .vl24-cart-pill{
  width:130px;
  opacity:1;
}

/* =========================================
VL24 CATEGORY CARDS — FINAL (CLEAN SYSTEM)
========================================= */

.vl24-subcategories{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:24px;
  margin:0 0 44px;
}

/* CARD */
.vl24-cat-card{
  position:relative;
  display:block;
  border-radius:6px;
  overflow:hidden;
  text-decoration:none;

  box-shadow:0 20px 50px rgba(0,0,0,0.08);
  transition:all .25s ease;
}

.vl24-cat-card:hover{
  transform:translateY(-6px);
  box-shadow:0 30px 80px rgba(0,0,0,0.15);
}

/* IMAGE FULL */
.vl24-cat-img{
  aspect-ratio:4/3.2;
}

.vl24-cat-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* =========================================
OVERLAY (GLASS CARD)
========================================= */

.vl24-cat-overlay{
  position:absolute;
  left:10px;
  right:10px;
  bottom:10px;

  padding:10px 12px;

  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(8px);
  border-radius:8px;

  box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

/* 🔥 SEE ON KÕIGE OLULISEM */
.vl24-cat-bottom{
  display:grid;
  grid-template-columns:1fr auto; /* tekst + number */
  align-items:center;
  gap:10px;
}

/* TEXT */
.vl24-cat-name{
  font-size:15px;
  font-weight:800;
  color:#111;
  line-height:1.2;

  /* 🔥 lubab murduda */
  white-space:normal;
  word-break:break-word;
}

/* COUNT */
.vl24-cat-count{
  align-self:center;

  min-width:26px;
  height:22px;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:0 6px;
  border-radius:999px;

  background:var(--vl24-green);
  color:#fff;

  font-size:11px;
  font-weight:800;
}

/* =========================================
RESPONSIVE
========================================= */

@media (max-width:1280px){
  .vl24-subcategories{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media (max-width:1024px){
  .vl24-subcategories{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:767px){

  .vl24-subcategories{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
  }

  .vl24-cat-overlay{
    left:8px;
    right:8px;
    bottom:8px;
    padding:8px 10px;
  }

  .vl24-cat-name{
    font-size:13px;
  }

  .vl24-cat-count{
    min-width:22px;
    height:20px;
    font-size:10px;
  }

}

/* =========================================
CATALOG SPACING FIX
========================================= */

/* kogu layoutile ülemine õhk */
.vl24-catalog{
  padding-top:20px;
}

/* vasak filter */
.vl24-sidebar{
  padding:20px 15px 20px 20px; /* top right bottom left */
}

.vl24-products{
  padding:0 20px 20px 20px; /* TOP = 0 */
}

/* kategooriad grid */
.vl24-subcategories{
  margin-bottom:30px;
}


/* pealkiri */
.vl24-archive-header{
  margin-bottom:15px;
}

/* toolbar */
.vl24-toolbar{
  margin-bottom:25px;
}

/* =========================================
CATALOG OUTER PADDING FIX
========================================= */

.vl24-catalog{
  padding:20px; /* annab vasakule, paremale, üles */
}

@media (max-width:767px){
  .vl24-catalog{
    padding:20px 0 0 0 !important; /* TOP 10px */
  }
}

body.woocommerce-shop .vl24-catalog{
  grid-template-columns:1fr;
}

/* =========================================
SHOP PAGE — GRID CONTROL
========================================= */

/* DESKTOP: 3 kõrvuti */
body.woocommerce-shop .vl24-products ul.products{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}

/* MOBILE: 2 kõrvuti */
@media (max-width:767px){
  body.woocommerce-shop .vl24-products ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}


@media (max-width:767px){

  .vl24-archive{
    padding:20px 20px 36px !important;
  }

  .vl24-catalog{
    padding:20px 0 0 0 !important;
  }

  .vl24-toolbar{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) auto !important;
    align-items:center !important;
    gap:8px !important;
    margin:0 0 12px !important;
    padding:0 0 12px !important;
    border-bottom:1px solid rgba(17,17,17,0.08) !important;
  }

  .vl24-sort{
    min-width:0 !important;
    width:auto !important;
  }

  .vl24-sort .woocommerce-ordering{
    margin:0 !important;
    width:100% !important;
  }

  .vl24-sort select{
    width:100% !important;
    min-width:0 !important;
    height:40px !important;
  }

  .vl24-filter-toggle{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    height:40px !important;
    min-height:40px !important;
    padding:0 14px !important;
    white-space:nowrap !important;
  }

  .vl24-results{
    grid-column:1 / -1 !important;
    width:100% !important;
    margin:2px 0 0 !important;
    font-size:12px !important;
  }

  .vl24-products ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
  }

  .vl24-products .vl24-card-title-link{
    font-size:15px !important;
    min-height:38px !important;
  }

  .vl24-products .vl24-card-desc{
    font-size:13px !important;
    min-height:36px !important;
  }

  .vl24-products .vl24-card-price{
    font-size:15px !important;
  }

  .vl24-subcategories{
    grid-template-columns:1fr !important;
    gap:16px !important;
  }
}

@media (max-width:767px){

  .vl24-subcategories{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:12px !important;
  }

}

@media (min-width:768px) and (max-width:1024px){

  .vl24-subcategories{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:16px !important;
  }

}

/* =========================================
DESKTOP ONLY — ALIGN RESULTS WITH SORT
EI PUUTU MOBILE/TABLET
========================================= */

@media (min-width:1025px){

  /* kogu header blokk */
  .vl24-archive-header{
    margin-bottom:0 !important;
  }

  /* toolbar */
  .vl24-toolbar{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    margin-top:0px; /* 🔥 tõmbab üles sortinguga samale joonele */
  }

  /* results */
  .vl24-results{
    margin:0 !important;
    padding-top:10px; /* fine tune */
    font-size:14px;
  }

}

/* =========================================
VL24 FILTER — 2026 SYSTEM (REAL)
========================================= */

.vl24-filter-panel{
  display:flex;
  flex-direction:column;
  gap:18px;
}

/* TOP */
.vl24-filter-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.vl24-filter-top h3{
  margin:0;
  font-size:20px;
  font-weight:700;
  letter-spacing:-0.02em;
}

.vl24-filter-clear{
  font-size:13px;
  text-decoration:none;
  opacity:.6;
}

.vl24-filter-clear:hover{
  opacity:1;
}

/* BLOCK */
.vl24-filter-block{
  border-top:1px solid rgba(17,17,17,0.08);
  padding-top:14px;
}

/* HEAD */
.vl24-filter-head{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;

  background:none;
  border:none;
  padding:0;

  font-size:15px;
  font-weight:700;
  cursor:pointer;
}

/* OPTIONS GRID */
.vl24-filter-options{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

/* =========================================
PILLS (PEAMINE UI)
========================================= */

.vl24-filter-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;

  height:44px;
  padding:0 14px;

  border:var(--vl24-border);
  border-radius:6px;
  background:#fff;

  font-size:14px;
  font-weight:600;
  text-decoration:none;
  color:#111;

  transition:all .18s ease;

  box-shadow:0 6px 16px rgba(0,0,0,0.03);
}

.vl24-filter-pill em{
  font-style:normal;
  font-size:12px;
  opacity:.6;
}

/* HOVER */
.vl24-filter-pill:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(0,0,0,0.08);
}

/* ACTIVE = SAMA LOOGIKA MIS SWATCH */
.vl24-filter-pill.is-active{
  border-color:#111;
  box-shadow:0 0 0 2px #111;
  background:#fff;
}

/* =========================================
PRICE
========================================= */

.vl24-filter-price{
  margin-top:12px;
}

.vl24-filter-price-row{
  display:flex;
  gap:10px;
}

.vl24-filter-price input{
  width:100%;
  height:44px;
  padding:0 12px;

  border:var(--vl24-border);
  border-radius:6px;

  font-size:14px;
}

/* BUTTON */
.vl24-filter-apply{
  width:100%;
  height:44px;
  margin-top:10px;

  border-radius:6px;
  border:none;

  background:#111;
  color:#fff;

  font-weight:700;
  cursor:pointer;

  transition:all .18s ease;
}

.vl24-filter-apply:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(0,0,0,0.2);
}

/* =========================================
SIDEBAR INTEGRATION
========================================= */

.vl24-sidebar{
  padding:20px;
}

/* eemaldab vana widget stiili täielikult */
.vl24-sidebar ul,
.vl24-sidebar li{
  all:unset;
}

/* FILTER BUTTON STYLE (PEAMINE FIX) */
.vl24-sidebar .wc-block-product-categories-list li,
.vl24-sidebar .wc-block-attribute-filter-list li{
  margin:0 0 8px;
}

.vl24-sidebar a{
  display:inline-flex;
  align-items:center;
  justify-content:space-between;

  width:100%;
  padding:10px 12px;

  border:1px solid rgba(0,0,0,0.12);
  border-radius:6px;

  background:#fff;

  font-size:14px;
  font-weight:600;

  transition:all .18s ease;
}

.vl24-sidebar a:hover{
  border-color:#111;
}

/* =========================================
VL24 FILTER FINAL FIX
active + count badge
========================================= */

/* aktiivne filter = single product swatch süsteem */
.vl24-sidebar .vl24-filter-pill.is-active{
  border-color:#111 !important;
  box-shadow:0 0 0 2px #111 !important;
  background:#fff !important;
  color:#111 !important;
}

/* kõik filter nupud */
.vl24-sidebar .vl24-filter-pill{
  min-height:54px !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;

  padding:0 16px !important;
  border-radius:6px !important;
  border:1px solid rgba(0,0,0,0.15) !important;
  background:#fff !important;

  font-size:15px !important;
  font-weight:700 !important;
  line-height:1 !important;

  box-shadow:0 10px 24px rgba(17,17,17,0.04) !important;
  transition:all .18s ease !important;
}

.vl24-sidebar .vl24-filter-pill:hover{
  transform:translateY(-2px) !important;
  border-color:#111 !important;
  box-shadow:0 14px 34px rgba(17,17,17,0.08) !important;
}

/* koguse number = roheline ring nagu kategooria kaartidel */
.vl24-sidebar .vl24-filter-pill em{
  min-width:24px !important;
  height:24px !important;
  padding:0 7px !important;

  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;

  border-radius:999px !important;
  background:var(--vl24-green) !important;
  color:#fff !important;

  font-size:11px !important;
  font-weight:800 !important;
  font-style:normal !important;
  line-height:1 !important;

  opacity:1 !important;
  flex-shrink:0 !important;
}

/* aktiivse nupu count jääb samuti roheline */
.vl24-sidebar .vl24-filter-pill.is-active em{
  background:var(--vl24-green) !important;
  color:#fff !important;
}

/* =========================================
VL24 FILTER — FORCE ACTIVE (FINAL FIX)
========================================= */

.vl24-filter-panel .vl24-filter-pill.is-active{
  border:2px solid #24965a !important;
  box-shadow:0 0 0 2px rgba(36,150,90,0.25) !important;
  background:#fff !important;
  color:#111 !important;
}

/* eemaldab KÕIK mustad borderid mis override'ivad */
.vl24-filter-panel .vl24-filter-pill{
  border:1px solid rgba(0,0,0,0.15) !important;
}

/* hover ka roheliseks */
.vl24-filter-panel .vl24-filter-pill:hover{
  border-color:#24965a !important;
}

/* count badge */
.vl24-filter-panel .vl24-filter-pill em{
  background:var(--vl24-green) !important;
  color:#fff !important;
}

/* =========================================
VL24 FILTER — CLEAR LINK FIX
========================================= */

.vl24-filter-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* tee sellest link (mitte nupp) */
.vl24-filter-clear{
  display:inline-block;
  padding:0 !important;
  border:none !important;
  background:none !important;
  box-shadow:none !important;

  font-size:14px;
  font-weight:600;
  color:var(--vl24-green-dark);
  text-decoration:none;
  cursor:pointer;
}

/* hover */
.vl24-filter-clear:hover{
  text-decoration:underline;
  opacity:1;
}

/* eemaldab vana nupu stiili kui kuskil override */
.vl24-filter-clear:focus,
.vl24-filter-clear:active{
  outline:none;
  box-shadow:none;
}

.vl24-filter-top{
  display:flex;
  align-items:center;
}

.vl24-filter-actions{
  margin-left:auto;
}

.vl24-filter-clear{
  font-size:14px;
  font-weight:600;
  color:var(--vl24-green-dark);
  text-decoration:none;

  border:none;
  background:none;
  padding:0;
}

.vl24-filter-clear:hover{
  text-decoration:underline;
}

/* =========================================
VL24 MOBILE FILTER DRAWER + AJAX
========================================= */

#vl24-products-ajax{
  position:relative;
}

#vl24-products-ajax.is-loading{
  opacity:.45;
  pointer-events:none;
}

#vl24-products-ajax.is-loading::after{
  content:"";
  position:absolute;
  top:80px;
  left:50%;
  width:34px;
  height:34px;
  margin-left:-17px;
  border-radius:50%;
  border:3px solid rgba(17,17,17,0.12);
  border-top-color:#24965a;
  animation:vl24Spin .7s linear infinite;
  z-index:10;
}

@keyframes vl24Spin{
  to{ transform:rotate(360deg); }
}

.vl24-filter-overlay{
  display:none;
}

@media (max-width:1024px){

  .vl24-sidebar{
    display:block !important;
    position:fixed !important;
    top:0 !important;
    left:0 !important;
    width:340px !important;
    max-width:88vw !important;
    height:100dvh !important;
    z-index:999999 !important;

    overflow-y:auto !important;
    transform:translateX(-105%) !important;
    transition:transform .28s ease !important;

    border-radius:0 6px 6px 0 !important;
    box-shadow:30px 0 80px rgba(0,0,0,.22) !important;
  }

  .vl24-sidebar.is-open{
    transform:translateX(0) !important;
  }

  .vl24-filter-overlay{
    display:block;
    position:fixed;
    inset:0;
    z-index:999998;
    background:rgba(0,0,0,.42);
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease;
  }

  .vl24-filter-overlay.is-open{
    opacity:1;
    pointer-events:auto;
  }

  body.vl24-filter-open{
    overflow:hidden;
  }
}

/* =========================================
VL24 PAGINATION — FINAL CLEAN (NO BUGS)
========================================= */

.vl24-products .woocommerce-pagination,
#vl24-products-ajax .woocommerce-pagination{
  width:100%;
  display:flex;
  justify-content:center;
  margin:28px 0;
}

/* WRAPPER */
.vl24-products .woocommerce-pagination .page-numbers,
#vl24-products-ajax .woocommerce-pagination .page-numbers{
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px;
  margin:0;
  list-style:none;

  border:1px solid rgba(0,0,0,0.08);
  border-radius:999px;
  background:#fff;
}

/* ITEMS RESET */
.vl24-products .woocommerce-pagination li,
#vl24-products-ajax .woocommerce-pagination li{
  margin:0;
  padding:0;
  list-style:none;
}

/* ALL BUTTONS */
.vl24-products .woocommerce-pagination a.page-numbers,
.vl24-products .woocommerce-pagination span.page-numbers,
#vl24-products-ajax .woocommerce-pagination a.page-numbers,
#vl24-products-ajax .woocommerce-pagination span.page-numbers{
  width:34px;
  height:34px;
  min-width:34px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius:50%;
  border:none;
  background:transparent;

  font-size:13px;
  font-weight:700;
  color:#111;
  text-decoration:none;

  transition:all .15s ease;
}

/* HOVER */
.vl24-products .woocommerce-pagination a.page-numbers:hover,
#vl24-products-ajax .woocommerce-pagination a.page-numbers:hover{
  background:#f3f3f3;
}

/* ACTIVE — PERFECT GREEN CIRCLE */
.vl24-products .woocommerce-pagination .current,
#vl24-products-ajax .woocommerce-pagination .current{
  background:var(--vl24-green);
  color:#fff;

  width:34px;
  height:34px;
  min-width:34px;

  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow:none;
}

/* ARROWS */
.vl24-products .woocommerce-pagination .prev,
.vl24-products .woocommerce-pagination .next,
#vl24-products-ajax .woocommerce-pagination .prev,
#vl24-products-ajax .woocommerce-pagination .next{
  font-size:16px;
  font-weight:800;
}

/* MOBILE */
@media (max-width:767px){

  .vl24-products .woocommerce-pagination .page-numbers,
  #vl24-products-ajax .woocommerce-pagination .page-numbers{
    gap:4px;
    padding:4px;
  }

  .vl24-products .woocommerce-pagination a.page-numbers,
  .vl24-products .woocommerce-pagination span.page-numbers,
  #vl24-products-ajax .woocommerce-pagination a.page-numbers,
  #vl24-products-ajax .woocommerce-pagination span.page-numbers{
    width:30px;
    height:30px;
    min-width:30px;
    font-size:12px;
  }
}

/* ACTIVE — FORCE GREEN CIRCLE */
.vl24-products .woocommerce-pagination .page-numbers.current,
.vl24-products .woocommerce-pagination .current,
#vl24-products-ajax .woocommerce-pagination .page-numbers.current,
#vl24-products-ajax .woocommerce-pagination .current{
  background:var(--vl24-green) !important;
  color:#fff !important;

  width:34px !important;
  height:34px !important;
  min-width:34px !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;

  border-radius:50% !important;
  border:none !important;
  box-shadow:none !important;
}

@media (max-width:767px){

  body.woocommerce-shop .vl24-filter-toggle{
    display:none !important;
  }

}

@media (max-width:1024px){

  body.woocommerce-shop .vl24-filter-toggle{
    display:none !important;
  }

}

/* =========================================
VL24 ATTRIBUTE ARCHIVE FIX
Padding + toolbar + green archive links
========================================= */

/* Attribute archive lehed */
body.tax-product_cat .vl24-archive,
body[class*="tax-pa_"] .vl24-archive{
  padding-left:28px !important;
  padding-right:28px !important;
}

/* Mobiilis 10px parem/vasak */
@media (max-width:767px){

  body.tax-product_cat .vl24-archive,
  body[class*="tax-pa_"] .vl24-archive{
    padding-left:10px !important;
    padding-right:10px !important;
  }

  body.tax-product_cat .vl24-products,
  body[class*="tax-pa_"] .vl24-products{
    padding-left:0 !important;
    padding-right:0 !important;
  }

  body.tax-product_cat .vl24-toolbar,
  body[class*="tax-pa_"] .vl24-toolbar{
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    align-items:center !important;
    gap:10px !important;
    margin:0 0 16px !important;
    padding:0 0 12px !important;
    border-bottom:1px solid rgba(17,17,17,0.08) !important;
  }

  body.tax-product_cat .vl24-results,
  body[class*="tax-pa_"] .vl24-results{
    font-size:13px !important;
    color:var(--vl24-text-muted) !important;
    line-height:1.3 !important;
    margin:0 !important;
  }

  body.tax-product_cat .vl24-sort,
  body[class*="tax-pa_"] .vl24-sort{
    width:100% !important;
    min-width:0 !important;
  }

  body.tax-product_cat .vl24-sort .woocommerce-ordering,
  body[class*="tax-pa_"] .vl24-sort .woocommerce-ordering{
    width:100% !important;
    margin:0 !important;
  }

  body.tax-product_cat .vl24-sort select,
  body[class*="tax-pa_"] .vl24-sort select{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    height:38px !important;
    padding:0 10px !important;
    border-radius:6px !important;
    font-size:13px !important;
  }
}

/* Archive / attribute lingid roheliseks */
body[class*="tax-pa_"] a,
.woocommerce-product-attributes a,
.woocommerce-Tabs-panel a{
  color:var(--vl24-green-dark) !important;
  text-decoration:none !important;
  font-weight:700;
}

body[class*="tax-pa_"] a:hover,
.woocommerce-product-attributes a:hover,
.woocommerce-Tabs-panel a:hover{
  color:#111 !important;
  text-decoration:underline !important;
}
