/* Redesign: categorie-/archiefpagina's + annasta-filters (alleen presentatie).
   Mockups: filters_desktop.png, filters_mobiel_lijst.png, filters_mobiel_drawer.png */
body.vtcg-archive { --a-navy:#14234b; --a-mute:#5b6b86; --a-line:#dbe4f2; --a-bg:#f3f7fc; --a-blue:var(--vtcg-blue,#396BBA); --a-yel:var(--vtcg-yellow,#FEDF31); --a-chip:#eef2f8; }
body.vtcg-archive .site-content { background: var(--a-bg); }

/* Kop */
body.vtcg-archive h1.woocommerce-products-header__title { display: block !important; font-family: 'Fredoka','Lato',system-ui,sans-serif !important; font-weight: 700 !important; font-size: 36px; line-height: 1.1; color: var(--a-navy); margin: 0 0 6px; }
body.vtcg-archive .woocommerce-products-header { margin: 0 0 18px; padding: 0; }
body.vtcg-archive .woocommerce-products-header .term-description { display: inline !important; color: var(--a-mute); font-size: 14px; }
body.vtcg-archive .woocommerce-products-header .term-description p { display: inline; margin: 0; }

/* Layout desktop: filterkolom links, grid rechts */
@media (min-width: 769px) {
  body.vtcg-archive .col-full { max-width: 1240px; }
  body.vtcg-archive #primary.content-area { width: calc(100% - 200px) !important; float: right !important; margin: 0 !important; }
  body.vtcg-archive #secondary.widget-area { width: 178px !important; float: left !important; margin: 0 !important; position: relative; top: 0; }

}

/* Sorteerbalk */
body.vtcg-archive .storefront-sorting { display: flex !important; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0 0 14px; padding: 0; border: 0; }
body.vtcg-archive .storefront-sorting:nth-of-type(n+2) { display: none !important; } /* dubbele balk onder het grid */
body.vtcg-archive .storefront-sorting .woocommerce-pagination { display: none; }
body.vtcg-archive p.woocommerce-result-count { display: block !important; order: 2; margin: 0; padding: 0; font-weight: 700; color: var(--a-navy); font-size: 14px; float: none; }
body.vtcg-archive .woocommerce-ordering { order: 9; margin: 0 0 0 auto !important; float: none; }
body.vtcg-archive .woocommerce-ordering select.orderby { display: inline-block !important; border: 1px solid var(--a-line); border-radius: 10px; background: #fff; padding: 7px 12px; font-size: 13px; font-weight: 700; color: var(--a-navy); }
body.vtcg-archive .binder-view-button-wrap { order: 1; flex: 1 0 100%; margin: 0 !important; text-align: right !important; flex: 0 0 auto; order: 10; }
body.vtcg-archive a.binder-view-button { background: #fff !important; color: var(--a-navy) !important; border: 2px solid var(--a-blue); border-radius: 12px; font-family: 'Fredoka','Lato',sans-serif; font-weight: 700; padding: 9px 16px; }
body.vtcg-archive .vtcg-arch-bar { display: none; }
body.vtcg-archive .vtcg-arch-active { order: 3; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
body.vtcg-archive .vtcg-arch-active[hidden] { display: none; }

/* Actieve filters (annasta-badges + gespiegelde chips) */
body.vtcg-archive .awf-active-badge, body.vtcg-archive .vtcg-arch-active .awf-active-badge {
  display: inline-flex !important; align-items: center; gap: 6px; background: #e4ecf8 !important; color: var(--a-navy) !important; border: 1.5px solid var(--a-blue) !important;
  border-radius: 999px !important; padding: 3px 4px 3px 11px !important; font-size: 12px; font-weight: 700; margin: 0 !important; cursor: pointer; }
body.vtcg-archive .awf-active-badge i, body.vtcg-archive .awf-active-badge .awf-remove-badge { background: var(--a-blue); color: #fff; border-radius: 50%; width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; }
body.vtcg-archive .vtcg-wis { background: none; border: 0; color: var(--a-blue); font-size: 12px; padding: 0 4px; cursor: pointer; }

/* Filterpaneel */
body.vtcg-archive #secondary .awf-preset-wrapper { background: #fff; border: 1px solid var(--a-line); border-radius: 14px; padding: 14px 12px; box-sizing: border-box; font-size: 13px; color: var(--a-navy); }
body.vtcg-archive #secondary .awf-preset-title { font-family: 'Fredoka','Lato',sans-serif; font-weight: 700; font-size: 17px; color: var(--a-navy); padding: 0 0 10px; margin: 0; border-bottom: 1px solid var(--a-line); }
body.vtcg-archive #secondary .awf-reset-btn-container { margin: 6px 0 8px; text-align: right; }
body.vtcg-archive #secondary .awf-reset-btn { background: none !important; border: 0 !important; color: var(--a-blue) !important; font-size: 11px; padding: 0 !important; font-weight: 400; }
body.vtcg-archive #secondary .awf-togglable-preset-close-btn { display: none !important; }
body.vtcg-archive #secondary .awf-filters-form { display: flex; flex-direction: column; }
/* volgorde zoals mockup */
body.vtcg-archive .awf-filter-wrapper[data-taxonomy="pa_condition-filter"] { order: 1; }
body.vtcg-archive .awf-filter-wrapper[data-taxonomy="pa_taal-filter"] { order: 2; }
body.vtcg-archive .awf-filter-wrapper[data-taxonomy="product_tag"] { order: 3; }
body.vtcg-archive .awf-filter-wrapper.awf-range { order: 4; }
body.vtcg-archive .awf-filter-wrapper[data-taxonomy="pa_rarity-filter"] { order: 5; }
body.vtcg-archive .awf-filter-wrapper[data-taxonomy="pa_pokemon-filter"] { order: 6; }
body.vtcg-archive .awf-filter-wrapper[data-taxonomy="pa_psa-grade-filter"] { order: 7; }
body.vtcg-archive .awf-filter-wrapper[data-taxonomy="product_cat"] { order: 8; }
body.vtcg-archive .awf-filter-wrapper[data-taxonomy="pa_artiest-filter"] { order: 9; }
body.vtcg-archive .awf-filter-wrapper[data-taxonomy="pa_pokemon-type-filter"] { order: 10; }
body.vtcg-archive .awf-filter-wrapper[data-taxonomy="pa_series-filter"] { order: 11; }
body.vtcg-archive .awf-filter-wrapper.vtcg-is-orderby { order: 12; }

body.vtcg-archive .awf-filter-wrapper { border-bottom: 1px solid var(--a-line); padding: 10px 0 8px; margin: 0 !important; }
body.vtcg-archive .awf-filter-wrapper:last-child { border-bottom: 0; }
body.vtcg-archive .awf-filter-title-container { display: flex; align-items: center; justify-content: space-between; cursor: pointer; margin: 0 0 6px; user-select: none; }
body.vtcg-archive .awf-filter-title { font-family: 'Fredoka','Lato',sans-serif; font-weight: 700; font-size: 14px; color: var(--a-navy); margin: 0; }
body.vtcg-archive .awf-filter-title-container::after { content: "\2212"; color: var(--a-blue); font-weight: 700; font-size: 16px; line-height: 1; }
body.vtcg-archive .awf-filter-wrapper.vtcg-collapsed .awf-filter-title-container { margin: 0; }
body.vtcg-archive .awf-filter-wrapper.vtcg-collapsed .awf-filter-title-container::after { content: "+"; }
body.vtcg-archive .awf-filter-wrapper.vtcg-collapsed > :not(.awf-filter-title-container) { display: none !important; }

body.vtcg-archive #secondary .awf-filters-container ul { margin: 0; padding: 0; list-style: none; columns: 1 !important; }
body.vtcg-archive #secondary li.awf-filter-container { margin: 0; padding: 0; width: 100% !important; float: none !important; }
body.vtcg-archive #secondary li.awf-filter-container.awf-empty { display: none !important; }
body.vtcg-archive #secondary li.awf-filter-container > label {
  position: relative; display: flex !important; align-items: center; gap: 0; width: 100%; box-sizing: border-box; padding: 4px 30px 4px 24px !important; margin: 0;
  font-size: 13px; line-height: 1.35; color: #2b3a5a; background: none !important; border: 0 !important; cursor: pointer; text-align: left; min-height: 24px; }
body.vtcg-archive #secondary li.awf-filter-container > label::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 15px; height: 15px; margin-top: -8px; border: 1.5px solid #8a99b5; border-radius: 3px; background: #fff; box-sizing: border-box; font-family: inherit !important; }
body.vtcg-archive #secondary li.awf-filter-container > input:checked + label::before,
body.vtcg-archive #secondary li.awf-filter-container > label[aria-selected="true"]::before {
  border-color: var(--a-blue); background: var(--a-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
body.vtcg-archive #secondary li.awf-filter-container > label[aria-selected="true"] { font-weight: 700; color: var(--a-navy); }
body.vtcg-archive #secondary li.awf-filter-container > input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
body.vtcg-archive #secondary .awf-filter-count { position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 11px !important; color: var(--a-mute); background: none !important; padding: 0 !important; }
body.vtcg-archive #secondary .awf-filter-count::before, body.vtcg-archive #secondary .awf-filter-count::after { content: none !important; }
body.vtcg-archive #secondary .awf-terms-search-container { margin: 2px 0 8px; position: relative; }
body.vtcg-archive #secondary input.awf-terms-search { width: 100%; box-sizing: border-box; border: 1px solid var(--a-line); border-radius: 8px; padding: 7px 10px 7px 28px; font-size: 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10' cy='10' r='6' fill='none' stroke='%235b6b86' stroke-width='2'/%3E%3Cpath d='M15 15l5 5' stroke='%235b6b86' stroke-width='2'/%3E%3C/svg%3E") 8px center/14px no-repeat; box-shadow: none; }
body.vtcg-archive #secondary .awf-thl-more-btn, body.vtcg-archive #secondary .awf-thl-less-btn { color: var(--a-blue); font-size: 12px; font-weight: 700; padding: 4px 0 0; cursor: pointer; background: none; }

/* Prijsslider (noUiSlider) */
body.vtcg-archive #secondary .noUi-target { background: var(--a-line); border: 0; box-shadow: none; height: 4px; margin: 14px 8px 18px; }
body.vtcg-archive #secondary .noUi-connect { background: var(--a-blue); }
body.vtcg-archive #secondary .noUi-handle { width: 16px !important; height: 16px !important; right: -8px !important; top: -7px !important; border-radius: 50%; border: 2px solid var(--a-blue); background: #fff; box-shadow: none; cursor: grab; }
body.vtcg-archive #secondary .noUi-handle::before, body.vtcg-archive #secondary .noUi-handle::after { display: none; }
body.vtcg-archive #secondary .awf-interactive-slider-tooltips-container { display: flex; gap: 8px; }
body.vtcg-archive #secondary .awf-interactive-tooltip-container { flex: 1; }
body.vtcg-archive #secondary .awf-interactive-slider-tooltips-container input { width: 100%; box-sizing: border-box; border: 1px solid var(--a-line); border-radius: 8px; padding: 7px 8px; font-size: 13px; background: #fff; box-shadow: none; color: var(--a-navy); }

/* Productgrid / kaarten */
body.vtcg-archive ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
body.vtcg-archive ul.products::before, body.vtcg-archive ul.products::after { display: none !important; }
body.vtcg-archive .vtcg-cc { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 10px; margin: 2px 0 6px; }
body.vtcg-archive .vtcg-cc-i { font-size: 10px !important; font-weight: 700; line-height: 1; padding: 4px 7px; border-radius: 999px; background: var(--a-chip); color: #44546f; }
body.vtcg-archive .vtcg-cc--cond { background: #fff3cc; color: #8a6400; }
body.vtcg-archive .vtcg-cc--ex, body.vtcg-archive .vtcg-cc--nm, body.vtcg-archive .vtcg-cc--m { background: #e3f4ea; color: #1d6b3d; }
body.vtcg-archive .vtcg-cc--ex { background: #e4ecf8; color: #2b4f8f; }
body.vtcg-archive .vtcg-cc--fr, body.vtcg-archive .vtcg-cc--pr { background: #fde7d9; color: #9a4a12; }

/* Paginering onder grid */
body.vtcg-archive .woocommerce-pagination .page-numbers { border: 0; }
body.vtcg-archive .woocommerce-pagination .page-numbers li .page-numbers { border-radius: 8px; color: var(--a-navy); }
body.vtcg-archive .woocommerce-pagination .page-numbers li .page-numbers.current { background: var(--a-blue); color: #fff; }

/* ---------- Mobiel ---------- */
@media (max-width: 768px) {
  body.vtcg-archive #primary.content-area { width: 100% !important; float: none !important; margin: 0 !important; }
  body.vtcg-archive h1.woocommerce-products-header__title { font-size: 28px; }
  body.vtcg-archive .woocommerce-products-header .term-description { display: inline !important; font-size: 13px; }
  body.vtcg-archive .binder-view-button-wrap, body.vtcg-archive .woocommerce-ordering { display: none !important; }
  body.vtcg-archive .vtcg-arch-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; order: 0; flex: 1 0 100%; margin: 0 0 4px; }
  body.vtcg-archive .vtcg-arch-btn { display: flex; align-items: center; justify-content: center; gap: 6px; background: #fff; color: var(--a-blue); border: 2px solid var(--a-blue); border-radius: 12px; padding: 9px 10px; font-family: 'Fredoka','Lato',sans-serif; font-weight: 700; font-size: 15px; }
  body.vtcg-archive .vtcg-arch-badge { background: var(--a-blue); color: #fff; border-radius: 999px; min-width: 18px; height: 18px; font-size: 11px !important; display: inline-flex; align-items: center; justify-content: center; }
  body.vtcg-archive .vtcg-arch-badge[hidden] { display: none; }
  body.vtcg-archive .vtcg-arch-active { order: 1; flex: 1 0 100%; }
  body.vtcg-archive p.woocommerce-result-count { order: 2; flex: 1 0 100%; }

  body.vtcg-archive ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  body.vtcg-archive ul.products li.product { display: grid !important; grid-template-columns: 1fr auto; grid-template-areas: "link link" "price btn"; align-items: center; }
  body.vtcg-archive ul.products li.product > .woo-height, body.vtcg-archive ul.products li.product > a.woocommerce-LoopProduct-link { grid-area: link; }
  body.vtcg-archive ul.products li.product .price { margin: 0 !important; }
  body.vtcg-archive ul.products li.product .button { grid-area: btn; display: inline-flex !important; width: 32px; height: 32px; padding: 0 !important; margin: 0 10px 0 0 !important; font-size: 0 !important; align-items: center; justify-content: center;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 4h2l2.4 10.2a1 1 0 0 0 1 .8h8.9a1 1 0 0 0 1-.8L20 8H6.2' fill='none' stroke='%23396BBA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='9' cy='19' r='1.4' fill='%23396BBA'/%3E%3Ccircle cx='17' cy='19' r='1.4' fill='%23396BBA'/%3E%3C/svg%3E") center/18px no-repeat !important; }
  body.vtcg-archive ul.products li.product a.ajax_add_to_cart { display: inline-flex !important; }

  /* Drawer: eigen paneel om #secondary heen; annasta's eigen popup-modus wordt geneutraliseerd */
  body.vtcg-archive #secondary.widget-area { position: fixed !important; inset: 0 auto 0 0 !important; width: 100% !important; max-width: 420px; height: 100%; z-index: 100000; background: #fff; margin: 0 !important; padding: 0 0 84px !important; float: none !important;
    transform: translateX(-102%); transition: transform .25s ease; overflow-y: auto; -webkit-overflow-scrolling: touch; box-shadow: 0 0 40px rgba(20,35,75,.25); visibility: hidden; }
  body.vtcg-archive.vtcg-drawer-open #secondary.widget-area { transform: none; visibility: visible; }
  body.vtcg-archive.vtcg-drawer-open { overflow: hidden; }
  body.vtcg-archive .vtcg-drawer-scrim { position: fixed; inset: 0; background: rgba(20,35,75,.45); z-index: 99999; display: none; }
  body.vtcg-archive.vtcg-drawer-open .vtcg-drawer-scrim { display: block; }
  body.vtcg-archive #secondary .awf-preset-wrapper { position: static !important; transform: none !important; left: auto !important; width: auto !important; height: auto !important; display: block !important; visibility: visible !important; opacity: 1 !important;
    border: 0; border-radius: 0; padding: 0 16px; box-shadow: none !important; font-size: 15px; }
  body.vtcg-archive .awf-togglable-preset-btn, body.vtcg-archive .awf-togglable-preset-mode-btn { display: none !important; }
  body.vtcg-archive #secondary .awf-preset-title { position: sticky; top: 0; z-index: 2; background: #fff; font-size: 20px; padding: 18px 40px 14px 0; margin: 0; }
  body.vtcg-archive .vtcg-drawer-close { position: fixed; top: 12px; left: min(calc(100% - 48px), 372px); z-index: 100001; width: 36px; height: 36px; border: 0; background: none; font-size: 26px; line-height: 1; color: var(--a-navy); display: none; }
  body.vtcg-archive.vtcg-drawer-open .vtcg-drawer-close { display: block; }
  body.vtcg-archive #secondary .awf-reset-btn-container { margin: 12px 0 0; text-align: left; }
  /* Annasta zet de knop inline op display:none tot het een filter ziet. In de open lade moet 'Filters wissen' altijd bereikbaar zijn. */
  body.vtcg-archive.vtcg-drawer-open #secondary .awf-reset-btn-container { display: block !important; }
  body.vtcg-archive #secondary .awf-active-badges-container { padding: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
  body.vtcg-archive #secondary .awf-filter-wrapper { padding: 16px 0 12px; }
  body.vtcg-archive #secondary .awf-filter-title { font-size: 17px; }
  body.vtcg-archive #secondary li.awf-filter-container > label { font-size: 15px; padding: 10px 34px 10px 30px !important; min-height: 44px; }
  body.vtcg-archive #secondary li.awf-filter-container > label::before { width: 18px; height: 18px; margin-top: -9px; border-radius: 4px; }
  body.vtcg-archive #secondary .awf-filter-count { font-size: 13px !important; }
  body.vtcg-archive .vtcg-drawer-apply { position: fixed; left: 16px; bottom: 14px; width: calc(min(100%, 420px) - 32px); z-index: 100001; display: none; background: var(--a-yel); color: var(--a-navy); border: 2px solid var(--a-blue); border-bottom-width: 4px; border-radius: 12px;
    font-family: 'Fredoka','Lato',sans-serif; font-weight: 700; font-size: 17px; padding: 12px; }
  body.vtcg-archive.vtcg-drawer-open .vtcg-drawer-apply { display: block; }
}
@media (min-width: 769px) {
  body.vtcg-archive .vtcg-drawer-close, body.vtcg-archive .vtcg-drawer-apply, body.vtcg-archive .vtcg-drawer-scrim { display: none !important; }
}

/* ===== Designerfeedback ronde 1 ===== */
/* Layout in normale flow (geen negatieve/absolute positionering) */
@media (min-width: 769px) {
  body.vtcg-archive #content > .col-full { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0 24px; align-items: start; }
  body.vtcg-archive #content > .col-full > * { grid-column: 1 / -1; }
  body.vtcg-archive #content > .col-full > #secondary.widget-area { grid-column: 1; grid-row: 3; width: auto !important; float: none !important; }
  body.vtcg-archive #content > .col-full > #primary.content-area { grid-column: 2; grid-row: 3; width: auto !important; float: none !important; }
  body.vtcg-archive #content > .col-full::before, body.vtcg-archive #content > .col-full::after { display: none !important; }
  /* 3) geen lege linkerkolom: zonder annasta-preset krijgt het grid de volle breedte */
  body.vtcg-archive #content > .col-full:not(:has(#secondary .awf-preset-wrapper, #secondary .widget)) > #primary.content-area { grid-column: 1 / -1; }
  body.vtcg-archive #content > .col-full:not(:has(#secondary .awf-preset-wrapper, #secondary .widget)) > #secondary { display: none !important; }
}
@media (min-width: 769px) and (max-width: 1100px) {
  body.vtcg-archive ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
body.vtcg-archive.vtcg-no-filters #secondary, body.vtcg-archive.vtcg-no-filters .vtcg-arch-btn[data-vtcg-open="filters"] { display: none !important; }
body.vtcg-archive.vtcg-no-filters .vtcg-arch-bar { grid-template-columns: 1fr; }
body.vtcg-archive .woocommerce-products-header .term-description:empty, body.vtcg-archive .woocommerce-products-header .term-description:not(:has(*:not(:empty))) { display: none !important; }

/* 1) prijs: onder de titel, vet 18px, #1d2a4d op wit (contrast ~14:1), geen badge */

/* 2) Snelknoprij (Nieuw, PSA Graded, Meest verkocht) weg op categoriepagina's (GD-review 10 nov; menu dekt ze). */
body.vtcg-archive .vtcg-chips { display: none !important; }
body.vtcg-archive .vtcg-chips ul { display: flex !important; flex-wrap: nowrap; gap: 8px; margin: 0 auto !important; padding: 0 16px !important; list-style: none !important; max-width: 1240px; box-sizing: border-box; white-space: nowrap; }
body.vtcg-archive .vtcg-chips li { list-style: none !important; margin: 0 !important; padding: 0 !important; background: none !important; }
body.vtcg-archive .vtcg-chips li::before, body.vtcg-archive .vtcg-chips li::marker { content: none !important; display: none !important; }
body.vtcg-archive .vtcg-chips .vtcg-chip, body.vtcg-archive .vtcg-chips li:first-child .vtcg-chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1.5px solid var(--a-line); border-radius: 999px; background: #fff !important; color: var(--a-navy) !important; font-size: 14px; font-weight: 700; text-decoration: none; }
body.vtcg-archive .vtcg-chips .vtcg-chip:hover { border-color: var(--a-blue); color: var(--a-blue) !important; }

/* 6) productkaarten even hoog: vaste beeldverhouding, knoppen onderaan */
@media (max-width: 768px) {
  body.vtcg-archive ul.products li.product { grid-template-rows: 1fr auto; }
}

/* 9) prijsfilter: slider boven, invoervakken eronder */
body.vtcg-archive #secondary .awf-filter-wrapper.awf-range .awf-filters-container { display: flex !important; flex-direction: column; gap: 14px; padding: 4px 0 6px; }
body.vtcg-archive #secondary .awf-range-slider-container { order: 1; position: relative !important; margin: 0 9px !important; padding: 0 !important; }
body.vtcg-archive #secondary .awf-interactive-slider-tooltips-container { order: 2; position: static !important; display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; width: 100% !important; margin: 0 !important; transform: none !important; }
body.vtcg-archive #secondary .awf-interactive-tooltip-container { position: relative !important; left: auto !important; top: auto !important; transform: none !important; width: auto !important; margin: 0 !important; }
body.vtcg-archive #secondary .awf-interactive-tooltip-container::before { content: "\20AC"; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--a-mute); font-size: 14px; pointer-events: none; }
body.vtcg-archive #secondary .awf-interactive-slider-tooltips-container input { height: 44px !important; padding: 0 8px 0 24px !important; font-size: 14px !important; text-align: left; }
body.vtcg-archive #secondary .noUi-target { height: 4px !important; background: #e5e7eb !important; margin: 8px 0 !important; border-radius: 2px; }
body.vtcg-archive #secondary .noUi-connect { background: #396BBA !important; }
body.vtcg-archive #secondary .noUi-handle { width: 18px !important; height: 18px !important; right: -9px !important; top: -7px !important; }
body.vtcg-archive #secondary .noUi-pips, body.vtcg-archive #secondary .noUi-tooltip { display: none !important; }

/* 10) precies 1 vakje per optie: annasta's eigen inputs/iconen verbergen, lege rijen weg */
body.vtcg-archive #secondary li.awf-filter-container > input { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; margin: 0 !important; pointer-events: none; -webkit-appearance: none; appearance: none; }
body.vtcg-archive #secondary li.awf-filter-container > label::after, body.vtcg-archive #secondary li.awf-filter-container > label > i,
body.vtcg-archive #secondary li.awf-filter-container > label > .awf-style-icon, body.vtcg-archive #secondary li.awf-filter-container > i { display: none !important; content: none !important; }
body.vtcg-archive #secondary li.awf-filter-container:not(:has(> label)), body.vtcg-archive #secondary li.awf-filter-container:has(> label[data-badge-label=""]) { display: none !important; }
body.vtcg-archive #secondary li.awf-filter-container > label { min-height: 32px; padding-top: 6px !important; padding-bottom: 6px !important; }
body.vtcg-archive #secondary .awf-filter-count { color: #6b7280 !important; font-weight: 400; }
@media (max-width: 768px) { body.vtcg-archive #secondary li.awf-filter-container > label { min-height: 44px; } }

/* 11) Pokémon-zoekveld */
body.vtcg-archive #secondary .awf-terms-search-container { position: relative !important; display: block; }
body.vtcg-archive #secondary input.awf-terms-search { height: 40px !important; padding: 0 34px 0 34px !important; text-align: left !important; background-position: 11px center !important; font-size: 14px !important; }
body.vtcg-archive #secondary input.awf-terms-search::placeholder { text-align: left; color: #6b7280; }
body.vtcg-archive #secondary .awf-clear-terms-search-btn { position: absolute !important; right: 6px !important; left: auto !important; top: 50% !important; transform: translateY(-50%); width: 28px; height: 28px; padding: 0 !important; border: 0 !important; background: none !important; color: var(--a-mute) !important; display: none !important; align-items: center; justify-content: center; }
body.vtcg-archive #secondary input.awf-terms-search:not(:placeholder-shown) ~ .awf-clear-terms-search-btn { display: inline-flex !important; }

/* 7) /pokemonkaarten/: featured-category-blokken als net tegelgrid */
body.vtcg-cattiles .entry-content { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
body.vtcg-cattiles .entry-content > .wp-block-columns { display: contents !important; }
body.vtcg-cattiles .entry-content .wp-block-column { flex-basis: auto !important; width: auto !important; margin: 0 !important; min-width: 0; }
body.vtcg-cattiles .entry-content::before, body.vtcg-cattiles .entry-content::after { display: none !important; content: none !important; }
body.vtcg-cattiles .entry-content > :not(.wp-block-columns):not(.wc-block-featured-category):not(.wp-block-column) { grid-column: 1 / -1; }
body.vtcg-cattiles .wc-block-featured-category { min-height: 0 !important; height: 100%; background: #fff !important; border: 1px solid #dbe4f2; border-radius: 14px; overflow: hidden; margin: 0 !important; }
body.vtcg-cattiles .wc-block-featured-category .background-dim__overlay, body.vtcg-cattiles .wc-block-featured-category::before { display: none !important; opacity: 0 !important; }
body.vtcg-cattiles .wc-block-featured-category__wrapper { display: flex !important; flex-direction: column; align-items: stretch; height: 100%; min-height: 0 !important; padding: 0 0 16px !important; position: static !important; }
body.vtcg-cattiles .wc-block-featured-category__background-image { position: static !important; display: block; width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover !important; background: #eef3fa; margin: 0 0 12px !important; }
body.vtcg-cattiles .wc-block-featured-category__title { color: #14234b !important; font-family: 'Fredoka','Lato',sans-serif !important; font-weight: 700; font-size: 20px !important; text-align: center; margin: 0 12px 10px !important; padding: 0 !important; text-shadow: none !important; }
body.vtcg-cattiles .wc-block-featured-category__description:empty { display: none; }
body.vtcg-cattiles .wc-block-featured-category__inner-blocks { margin-top: auto; }
body.vtcg-cattiles .wc-block-featured-category .wp-block-button__link { background: var(--vtcg-yellow,#FEDF31) !important; color: #14234b !important; border: 2px solid var(--vtcg-blue,#396BBA); border-bottom-width: 4px; border-radius: 12px; font-family: 'Fredoka','Lato',sans-serif; font-weight: 700; padding: 8px 18px; }

/* fixes na visuele test */
@media (max-width: 768px) {
  body.vtcg-archive #secondary .awf-preset-title { display: block !important; }
  body.vtcg-archive .vtcg-drawer-close { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; color: #14234b !important; font-size: 28px !important; }
}

/* ronde 2: H1 op mobiel niet door oude theme-CSS laten verkleinen; minder zijpadding op smalle desktops */
@media (max-width: 768px) { body.vtcg-archive h1.woocommerce-products-header__title { font-size: 28px !important; line-height: 1.15 !important; height: auto !important; } }
@media (min-width: 769px) and (max-width: 1100px) {
  body.vtcg-archive #content > .col-full { padding-left: 24px !important; padding-right: 24px !important; max-width: none; }
}

/* === Nieuw binnen: dagchips in de archiefkolom; filters blijven preset 1. === */
.vtcg-newprod .woocommerce-products-header { text-align: left; }
.vtcg-newprod nav.date-filters { position: relative; box-sizing: border-box; display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 8px; overflow: visible; padding-bottom: 2px; margin: 0; }
.vtcg-newprod nav.date-filters::-webkit-scrollbar { display: none; }
.vtcg-newprod a.date-button { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 'Lato', sans-serif; padding: 8px 8px 8px 14px; border-radius: 999px; border: 1px solid var(--a-line, #dbe4f2); background: #fff; color: var(--a-navy, #1d2a4d); white-space: nowrap; text-decoration: none; }
.vtcg-newprod a.date-button:hover { border-color: var(--a-blue, #396BBA); color: var(--a-blue, #396BBA); }
.vtcg-newprod a.date-button.active-date { background: var(--a-navy, #1d2a4d); border-color: var(--a-navy, #1d2a4d); color: #fff; }
.vtcg-newprod .vtcg-nb-count { min-width: 1.4em; padding: 4px 7px; border-radius: 999px; background: var(--a-chip, #eef2f8); color: var(--a-mute, #5b6b86); font-size: 12px; line-height: 1; text-align: center; }
.vtcg-newprod a.date-button.active-date .vtcg-nb-count { background: rgba(255, 255, 255, .18); color: #fff; }
.vtcg-newprod .vtcg-nb-selected { font: 600 20px/1.3 'Fredoka', sans-serif; color: var(--a-navy, #1d2a4d); margin: 0 0 8px; }
.vtcg-newprod .vtcg-nb-empty, .vtcg-newprod .vtcg-nb-recover { color: var(--a-mute, #5b6b86); margin: 12px 0 0; }
.vtcg-newprod .vtcg-nb-recover a { color: var(--a-blue, #396BBA); font-weight: 700; }

/* Customizer-CSS (niet in git) zet op max-width 768px
   `.woocommerce[class*=columns-] ul.products li.product { width: 50% !important; float: left !important }`.
   Die selector is 0,4,2 en wint van `body ul.products li.product` (0,2,3) in vtcg-cards.css.
   De shortcode staat in `.woocommerce.columns-4`; het archief-loop niet. Daardoor wordt elke
   gridcel op Nieuw binnen een kaart van de helft van die cel. Zelfde tegenmaatregel als de lege winkelwagen. */
body.vtcg-newprod .woocommerce[class*=columns-] ul.products li.product {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  min-width: 0 !important;
}
body.vtcg-newprod ul.products li.product .woocommerce-loop-product__title,
body.vtcg-newprod ul.products li.product h2 {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  min-width: 0;
}

@media (max-width: 768px) {
  .vtcg-newprod #primary { padding-bottom: 80px; }
  /* Zelfde kolom, gap en zijruimte als het setarchief. De shortcode-wrapper mag de grid niet smaller maken. */
  body.vtcg-newprod .woocommerce[class*=columns-],
  body.vtcg-newprod ul.products {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }
  body.vtcg-newprod ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  /* Eindpadding >= de 36px-fade, anders blijft de laatste chip (en zijn telling) onder de chevron. scroll-padding houdt focus/scroll-snap uit die strook. */
  .vtcg-newprod nav.date-filters { display: flex !important; flex-wrap: nowrap !important; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: #8aa0c4 transparent; padding-bottom: 10px; padding-inline-end: 36px; scroll-padding-inline: 36px; }
  .vtcg-newprod nav.date-filters::-webkit-scrollbar { display: block; height: 4px; }
  .vtcg-newprod nav.date-filters::-webkit-scrollbar-thumb { background: #8aa0c4; border-radius: 999px; }
  .vtcg-newprod nav.date-filters .date-button { flex: 0 0 auto; white-space: nowrap; }
  .vtcg-newprod .vtcg-nb-selected { font-size: 18px; }
  .vtcg-newprod nav.date-filters.vtcg-nb-more-right::after,
  .vtcg-newprod nav.date-filters.vtcg-nb-more-left::before {
    content: '';
    position: sticky;
    flex: 0 0 36px;
    width: 36px;
    align-self: stretch;
    pointer-events: none;
    z-index: 1;
  }
  .vtcg-newprod nav.date-filters.vtcg-nb-more-right::after {
    right: 0;
    margin-left: -36px;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 62%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%231d2a4d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 16px 16px no-repeat;
  }
  .vtcg-newprod nav.date-filters.vtcg-nb-more-left::before {
    left: 0;
    margin-right: -36px;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff 62%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 6l-6 6 6 6' fill='none' stroke='%231d2a4d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left center / 16px 16px no-repeat;
  }
  .vtcg-nb-chiprow nav.date-filters.vtcg-nb-more-left::before,
  .vtcg-nb-chiprow nav.date-filters.vtcg-nb-more-right::after { visibility: hidden; }
}
/* Pijlen zitten ín de scrollrij (sticky). De rij zelf wordt niet verplaatst: dat zette scrollLeft terug op 0. */
.vtcg-nb-arrow {
  position: sticky;
  z-index: 2;
  flex: 0 0 36px;
  width: 36px;
  align-self: stretch;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  background-color: transparent;
}
.vtcg-nb-arrow[hidden] { display: none !important; }
.vtcg-nb-arrow-prev { left: 0; order: -1; margin-right: -36px; background: linear-gradient(to left, rgba(255, 255, 255, 0), #fff 62%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 6l-6 6 6 6' fill='none' stroke='%231d2a4d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left center / 16px 16px no-repeat; }
.vtcg-nb-arrow-next { right: 0; margin-left: -36px; background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 62%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%231d2a4d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right center / 16px 16px no-repeat; }
@media (max-width: 768px) {
  .vtcg-nb-arrow { bottom: 0; }
}
@media (min-width: 769px) {
  /* nowrap !important staat in de mobiele query. Zonder !important wint die als een cache of optimizer de query laat vallen. */
  .vtcg-newprod nav.date-filters {
    flex-wrap: wrap !important;
    overflow: visible !important;
    overflow-x: visible !important;
  }
  .vtcg-nb-arrow,
  .vtcg-newprod nav.date-filters.vtcg-nb-more-left::before,
  .vtcg-newprod nav.date-filters.vtcg-nb-more-right::after { display: none !important; }
}

/* GD 29-10 audit: paginatitel /pokemonkaarten/ in huisstijl. */
body.vtcg-cattiles h1 { font-family: Fredoka, sans-serif !important; color: #1d2a4d !important; font-size: 40px !important; }

/* Categorie/set-pagina's: compacte kop (mockup categorie-set, 31-10-2026) */
body.tax-product_cat .woocommerce-breadcrumb { font-size: 12px !important; margin: 0 0 4px !important; padding: 0 !important; color: #6b7590; }
body.tax-product_cat .woocommerce-products-header { padding: 0 !important; margin: 0 0 8px !important; border: 0 !important; }
body.vtcg-archive.tax-product_cat h1.woocommerce-products-header__title { font-family: 'Fredoka','Lato',sans-serif !important; font-size: 24px !important; line-height: 1.15 !important; margin: 0 0 4px !important; color: #1d2a4d; }
body.tax-product_cat .term-description { margin: 0 !important; }
body.tax-product_cat .term-description p { font-family: 'Lato',sans-serif; font-size: 13px !important; line-height: 1.35 !important; color: #6b7590 !important; margin: 0 !important; }
body.tax-product_cat .vtcg-arch-btn { min-height: 36px !important; height: 36px !important; padding: 0 12px !important; font-size: 14px !important; border-width: 1.5px !important; border-radius: 999px !important; }
@media (min-width: 768px) {
	body.vtcg-archive.tax-product_cat h1.woocommerce-products-header__title { font-size: 32px !important; }
	body.tax-product_cat .term-description p { font-size: 14px !important; }
}
/* Chiprij ook op archiefpagina's weg op mobiel (overschrijft display:block hierboven). */
@media (max-width: 767px) { body.vtcg-archive:not(.home) .vtcg-chips { display: none !important; } }
