/* ================================================================
   Ventoro Filter — vf.css
   ================================================================ */

.vf-wrap-border { --vf-border: 1px solid #d0d0d0; }
.vf-wrap *,
.vf-wrap *::before,
.vf-wrap *::after { box-sizing: border-box; margin: 0; padding: 0; }

.vf-wrap button { cursor: pointer; background: none; border: none; }
.vf-wrap a { text-decoration: none; }
.vf-wrap { border: none !important; }

/* ── Top bar: FILTRUJ label + chips + count ── */
.vf-count-row {
  /*display: flex;*/
  display:none;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  /*border-bottom: var(--vf-border);*/
  flex-wrap: wrap;
}

.vf-count-row .vf-sidebar-label {
  font-size: 10px;
  letter-spacing: .18em;
  color: #000;
  text-transform: uppercase;
  padding: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Filter chips list — horizontal in the top bar */
.vf-filter-list {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  list-style: none;
  flex: 1;
}

.vf-count {
  font-size: 12px;
  letter-spacing: .04em;
  color: #666;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}

/* ── Sort bar: SORTUJ label + chips ── */
.vf-sort-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 16px;
  /*border-bottom: var(--vf-border);*/
  flex-wrap: wrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.vf-sort-row .vf-sidebar-label {
  font-size: 10px;
  letter-spacing: .18em;
  color: #000;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Orderby chips — horizontal in sort bar */
.vf-orderby-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
}

/* ── Body ── */
.vf-body {
  display: block;
  min-height: 300px;
}

.vf-sort-list { list-style: none; }

/* Base chip — horizontal by default */
.vf-sort-chip {
  display: inline-flex;
  align-items: center;
  width: auto;
  padding: 4px 12px;
  border: 1px solid #ccc;
  border-radius: 0;
  color: #000;
  font-size: 12px;
  text-align: left;
  transition: background .12s, border-color .12s, color .12s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}
.vf-sort-chip.vf-orderby.is-active {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}
.vf-sort-chip.vf-orderby:hover:not(.is-active),
.vf-sort-chip.vf-orderby:focus:not(.is-active) {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

.vf-sort-chip.vf-orderby:hover,
.vf-sort-chip.vf-orderby:focus {
  background: #000 !important;
  color: #fff !important;
  border-color: #000 !important;
}

.vf-sort-chip.vf-orderby:hover, .vf-sort-chip.vf-orderby.is-active {
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  -webkit-user-select: none;
  -webkit-touch-callout: none /*only to disable context menu on long press*/
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT GRID
══════════════════════════════════════════════════════════════ */
.vf-grid {
  /*padding: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
  align-content: start;*/
}

.vf-no-results,
.vf-loading {
  grid-column: 1 / -1;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #aaa;
  padding: 60px 0;
  text-align: center;
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT CARD — matches ventorodesign reference design
══════════════════════════════════════════════════════════════ */
.vf-wrap .vf-card {
  all: unset;
  box-sizing: border-box !important;
  background: #fff !important;
  border-radius: 12px !important;
  border: 1px solid #e0e0e0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  float: none !important;
}
.vf-wrap .vf-card-img-wrap {
  all: unset;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #fff !important;
  padding: 16px !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  width: 100% !important;
}
.vf-wrap .vf-card-img-wrap img.vf-card-img {
  all: unset;
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}
.vf-wrap .vf-card .vf-card-no-img {
  width: 100% !important;
  height: 100% !important;
  background: #f5f5f5 !important;
}
.vf-wrap .vf-card .vf-card-body {
  all: unset;
  box-sizing: border-box !important;
  padding: 14px 16px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  flex: 1 !important;
  width: 100% !important;
  border-top: 1px solid #e0e0e0 !important;
}
.vf-wrap .vf-card .vf-card-name {
  all: unset;
  box-sizing: border-box !important;
  display: block !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  letter-spacing: .03em !important;
  text-transform: uppercase !important;
  color: #000 !important;
  cursor: pointer !important;
  margin-bottom: 12px !important;
  min-height: calc(15px * 1.5 * 2) !important;
}
.vf-wrap .vf-card .vf-card-name:hover { color: #333 !important; }
.vf-wrap .vf-card .vf-card-price {
  all: unset;
  display: block !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #000 !important;
  margin-top: auto !important;
  margin-bottom: 12px !important;
}
.vf-wrap .vf-card .vf-card-price * { color: inherit !important; font-size: inherit !important; font-weight: inherit !important; }
.vf-wrap .vf-card .vf-card-price ins  { text-decoration: none !important; }
.vf-wrap .vf-card .vf-card-price del  { color: #aaa !important; font-size: 13px !important; margin-right: 4px !important; opacity: 1 !important; }
.vf-wrap .vf-card .vf-card-btn {
  all: unset;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #000 !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 13px 16px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: .02em !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: background .14s !important;
  text-align: center !important;
}
.vf-wrap .vf-card .vf-card-btn:hover { background: #222 !important; color: #fff !important; }
.vf-wrap .vf-card .vf-card-btn svg { flex-shrink: 0; }

/* fade */
.vf-grid.vf-fading  { opacity: 0; transition: opacity .12s ease; }
.vf-grid.vf-visible { opacity: 1; transition: opacity .2s ease; }

/* ══════════════════════════════════════════════════════════════
   GRID WRAP + PAGINATION
══════════════════════════════════════════════════════════════ */
/*.vf-grid-wrap { display: flex; flex-direction: column; width: 100%; }*/

.vf-pagination {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  padding: 24px 20px !important;
  flex-wrap: wrap !important;
}
.vf-page-btn {
  all: unset;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 36px !important;
  height: 36px !important;
  padding: 0 10px !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #000 !important;
  cursor: pointer !important;
  transition: background .13s, color .13s !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.vf-page-btn:hover:not(.vf-page-current):not(.vf-page-disabled) { background: #f0f0f0 !important; }
.vf-page-btn.vf-page-current { background: #000 !important; color: #fff !important; font-weight: 500 !important; cursor: default !important; }
.vf-page-btn.vf-page-disabled { color: #bbb !important; cursor: default !important; }
.vf-page-prev, .vf-page-next { gap: 4px !important; padding: 0 12px !important; font-size: 14px !important; }
.vf-page-ellipsis {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 36px !important;
  height: 36px !important;
  font-size: 14px !important;
  color: #000 !important;
  letter-spacing: .1em !important;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
/*@media (max-width: 1024px) {
  .vf-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .vf-count-row {
    padding: 8px 12px;
    gap: 8px;
  }
  .vf-sort-row {
    padding: 6px 12px;
    gap: 8px;
  }
  .vf-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px;
  }
  .vf-wrap .vf-card .vf-card-body {
    padding: 12px 12px 14px !important;
  }
  .vf-wrap .vf-card .vf-card-name {
    font-size: 13px !important;
    min-height: calc(13px * 1.5 * 2) !important;
  }
  .vf-wrap .vf-card .vf-card-price {
    font-size: 13px !important;
  }
  .vf-wrap .vf-card .vf-card-btn {
    font-size: 12px !important;
    padding: 10px 12px !important;
  }
}

@media (max-width: 480px) {
  .vf-count-row {
    padding: 8px 10px;
    gap: 6px;
  }
  .vf-count-row .vf-sidebar-label,
  .vf-sort-row .vf-sidebar-label {
    display: none;
  }
  .vf-sort-row {
    padding: 6px 10px;
  }
  .vf-filter-list,
  .vf-orderby-list {
    gap: 3px;
  }
  .vf-sort-chip {
    padding: 3px 8px;
    font-size: 11px;
  }
  .vf-count {
    font-size: 11px;
  }
  .vf-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 8px;
  }
  .vf-wrap .vf-card .vf-card-img-wrap {
    padding: 10px !important;
  }
  .vf-wrap .vf-card .vf-card-body {
    padding: 10px 10px 12px !important;
  }
  .vf-wrap .vf-card .vf-card-name {
    font-size: 11px !important;
    margin-bottom: 8px !important;
    min-height: calc(11px * 1.5 * 2) !important;
  }
  .vf-wrap .vf-card .vf-card-price {
    font-size: 12px !important;
    margin-bottom: 8px !important;
  }
  .vf-wrap .vf-card .vf-card-btn {
    font-size: 11px !important;
    padding: 9px 8px !important;
    gap: 5px !important;
  }
  .vf-wrap .vf-card .vf-card-btn svg {
    width: 13px !important;
    height: 13px !important;
  }
  .vf-pagination {
    padding: 16px 10px !important;
    gap: 3px !important;
  }
  .vf-page-btn {
    min-width: 30px !important;
    height: 30px !important;
    font-size: 12px !important;
  }
}*/
