/* UX-audit batch 2 (27-11): contact, inkoop, voorwaarden-checkbox, uitverkocht, In je winkelwagen, lege zoekresultaten, opruiming. */

/* ---------- Gedeeld: kaarten, knoppen, formulieren ---------- */
.vtcg-lay.vtcg-lay-wide, .vtcg-lay-1.vtcg-lay-wide { display: block; }
.vtcg-lay-wide .vtcg-ct { max-width: none; font-size: 16px; }
.vtcg-b2-card { background: #fff; border: 1px solid #dfe6f2; border-radius: 16px; padding: 22px 24px; box-sizing: border-box; margin: 0 0 20px; }
.vtcg-ct .vtcg-b2-h, .vtcg-b2-h { font-family: Fredoka, 'Lato', sans-serif; font-size: 22px; line-height: 1.25; font-weight: 600; color: #1d2a4d; margin: 0 0 14px; }
.vtcg-b2-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 24px; background: #FEDF31; color: #1d2a4d !important; border: 2px solid #396BBA; border-bottom-width: 4px; border-radius: 12px; font: 700 17px/1.2 Fredoka, 'Lato', sans-serif; text-decoration: none !important; cursor: pointer; box-sizing: border-box; }
.vtcg-b2-btn:hover { background: #ffe74f; }
.vtcg-b2-btn:focus-visible { outline: 3px solid #00C8EC; outline-offset: 2px; }
.vtcg-b2-f .vtcg-b2-btn { width: 100%; margin-top: 4px; }
.vtcg-f { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.vtcg-f > label { font: 700 14px/1.3 'Lato', system-ui, sans-serif; color: #1d2a4d; margin: 0; }
.vtcg-opt { font-weight: 400; color: #6b7280; }
.vtcg-f input[type="text"], .vtcg-f input[type="email"], .vtcg-f textarea, .vtcg-oos-f input[type="email"] { width: 100%; box-sizing: border-box; border: 1.5px solid #cfd9e8; border-radius: 10px; background: #fff; padding: 11px 12px; font: 400 16px/1.4 'Lato', system-ui, sans-serif; color: #1d2a4d; box-shadow: none; }
.vtcg-f input:focus, .vtcg-f textarea:focus, .vtcg-oos-f input:focus { outline: 2px solid #00C8EC; outline-offset: 0; border-color: #396BBA; }
.vtcg-f input::placeholder, .vtcg-f textarea::placeholder, .vtcg-oos-f input::placeholder { color: #8a96a8; }
.vtcg-f.has-err input, .vtcg-f.has-err textarea, .vtcg-f.has-err .vtcg-drop, .vtcg-oos-f input[aria-invalid="true"] { border-color: #c0392b; }
.vtcg-f-err { color: #b42318; font-size: 14px; font-weight: 700; }
.vtcg-f-help { color: #6b7280; font-size: 13px; }
.vtcg-f-alert { background: #fff4f2; border: 1.5px solid #f3b5ad; color: #8f1d12; border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; font-weight: 700; font-size: 15px; }
.vtcg-f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.vtcg-f-chk label { display: flex; gap: 10px; align-items: flex-start; font: 400 15px/1.45 'Lato', system-ui, sans-serif; color: #1d2a4d; cursor: pointer; }
.vtcg-f-chk input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: #396BBA; }
.vtcg-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.vtcg-b2-ok { display: flex; flex-direction: column; gap: 4px; background: #e9f7ef; border: 1.5px solid #9dd5b4; border-radius: 12px; padding: 14px 16px; color: #14532d; }
.vtcg-b2-ok b { font-size: 17px; }

/* ---------- Punt 1: /contact/ ---------- */
.vtcg-b2-contact { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: 20px; align-items: start; }
.vtcg-b2-info dl { margin: 0 0 14px; }
.vtcg-b2-info dt { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #6b7280; font-weight: 700; margin: 0; }
.vtcg-b2-info dd { margin: 0 0 12px; color: #1d2a4d; font-size: 16px; }
.vtcg-b2-links { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.vtcg-b2-links a, .vtcg-ct .vtcg-b2-links a { color: #396BBA; font-weight: 700; text-decoration: none; }
.vtcg-b2-links a:hover { text-decoration: underline; }
.vtcg-b2-faq { padding: 0; overflow: hidden; }
.vtcg-b2-faq .vtcg-b2-h { padding: 20px 24px 0; }
.vtcg-b2-faq--sell { padding: 20px 24px; }
.vtcg-b2-faq--sell .vtcg-b2-h { padding: 0; }
.vtcg-b2-faq--sell p { margin: 0; }
.vtcg-b2-q { border-top: 1px solid #e6ecf5; }
.vtcg-b2-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 24px; font: 700 16px/1.35 'Lato', system-ui, sans-serif; color: #1d2a4d; }
.vtcg-b2-q summary::-webkit-details-marker { display: none; }
.vtcg-b2-q summary:focus-visible { outline: 3px solid #00C8EC; outline-offset: -3px; }
.vtcg-b2-q-i { flex: none; width: 22px; height: 22px; border-radius: 50%; background: #eef3fa; position: relative; }
.vtcg-b2-q-i::before, .vtcg-b2-q-i::after { content: ''; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: #396BBA; border-radius: 1px; }
.vtcg-b2-q-i::after { transform: rotate(90deg); transition: transform .2s; }
.vtcg-b2-q[open] .vtcg-b2-q-i::after { transform: rotate(0); }
.vtcg-b2-a { padding: 0 24px 14px; color: #374151; font-size: 15px; line-height: 1.6; }
.vtcg-b2-a p { margin: 0; }

/* ---------- Punt 1: checkout-checkbox ---------- */
.vtcg-terms { margin: 4px 0 12px; }
.vtcg-terms .form-row { margin: 0 !important; padding: 0 !important; }
.vtcg-terms label.checkbox { display: flex !important; gap: 10px; align-items: flex-start; font: 400 14px/1.45 'Lato', system-ui, sans-serif !important; color: #1d2a4d; cursor: pointer; }
.vtcg-terms input#terms { width: 18px; height: 18px; margin: 1px 0 0 !important; flex: none; accent-color: #396BBA; }
.vtcg-terms a { color: #396BBA !important; font-weight: 700; text-decoration: underline; }
.vtcg-terms abbr.required { text-decoration: none; color: #b42318; border: 0; }
.woocommerce-invalid .vtcg-terms label.checkbox, .vtcg-terms .woocommerce-invalid label.checkbox { color: #b42318; }

/* ---------- Punt 1: voorwaardenpagina ---------- */
.vtcg-b2-version { color: #6b7280; font-size: 14px; margin-top: 24px !important; }

/* ---------- Punt 3: inkoop ---------- */
.vtcg-b2-steps { list-style: none; margin: 0 0 16px !important; padding: 0 !important; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.vtcg-b2-steps li { background: #fff; border: 1px solid #dfe6f2; border-radius: 14px; padding: 16px; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.vtcg-b2-steps b { font: 600 16px/1.3 Fredoka, 'Lato', sans-serif; color: #1d2a4d; }
.vtcg-b2-steps li > span:last-child { font-size: 14px; line-height: 1.45; color: #5b6b86; }
.vtcg-b2-step-n { width: 28px; height: 28px; border-radius: 50%; background: #1d2a4d; color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 14px/1 Fredoka, sans-serif; margin-bottom: 6px; }
.vtcg-ct .vtcg-b2-what { background: #e9fbff; border: 1.5px solid #9fe6f5; border-radius: 12px; padding: 12px 16px; margin: 0 0 20px; font-size: 15px; color: #1d2a4d; }
.vtcg-drop { position: relative; border: 2px dashed #396BBA; border-radius: 12px; background: #f5f9ff; padding: 18px 16px; text-align: center; transition: background .15s; }
.vtcg-drop.is-over { background: #e3efff; }
.vtcg-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.vtcg-drop input[type="file"]:focus-visible + .vtcg-drop-in { outline: 3px solid #00C8EC; outline-offset: 6px; border-radius: 8px; }
.vtcg-drop-in { display: flex; flex-direction: column; gap: 4px; pointer-events: none; }
.vtcg-drop-in b { font: 600 16px/1.3 Fredoka, 'Lato', sans-serif; color: #1d2a4d; }
.vtcg-drop-in span { font-size: 13px; color: #5b6b86; }
.vtcg-ct .vtcg-drop-list { list-style: none; margin: 10px 0 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; position: relative; z-index: 1; pointer-events: none; }
.vtcg-drop-list li { background: #fff; border: 1px solid #cfd9e8; border-radius: 8px; padding: 4px 8px; font-size: 13px; color: #1d2a4d; margin: 0; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Home-tegel */
.vtcg-b2-selltile-wrap { padding-top: 0 !important; }
.vtcg-b2-selltile { display: flex; align-items: center; gap: 16px; background: #fff; border: 1.5px solid #bfeef8; border-radius: 16px; padding: 14px 18px; text-decoration: none !important; color: #1d2a4d; max-width: 1180px; margin: 0 auto; box-sizing: border-box; }
.vtcg-b2-selltile:hover { border-color: #00C8EC; }
.vtcg-b2-selltile:focus-visible { outline: 3px solid #00C8EC; outline-offset: 2px; }
.vtcg-b2-selltile-i { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #1d2a4d; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; }
.vtcg-b2-selltile-t { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.vtcg-b2-selltile-t b { font: 600 18px/1.25 Fredoka, 'Lato', sans-serif; }
.vtcg-b2-selltile-t span { font-size: 14px; color: #5b6b86; line-height: 1.4; }
.vtcg-b2-selltile-go { flex: none; color: #396BBA; font-weight: 700; font-size: 15px; white-space: nowrap; }

/* Menu-item rechts naast Collectables (desktop) */
@media (min-width: 769px) {
  .main-navigation ul.menu > li.vtcg-sell { margin-left: auto; float: none; }
  .main-navigation ul.menu > li.vtcg-sell + li.vtcg-meer { margin-left: 0; }
  .main-navigation ul.menu > li.vtcg-sell.current-menu-item > a { background: #396BBA; color: #fff !important; }
}

/* ---------- Punt 7: uitverkocht ---------- */
.vtcg-pp .summary p.stock.out-of-stock { display: inline-block; background: #eef1f6 !important; color: #3b4a63 !important; border: 0 !important; border-radius: 8px; padding: 4px 10px !important; font: 700 14px/1.3 'Lato', system-ui, sans-serif !important; margin: 4px 0 14px !important; }
.vtcg-pp .summary p.stock.out-of-stock::before { display: none !important; }
.vtcg-oos { background: #f0fbfe; border: 1.5px solid #a9e8f6; border-radius: 14px; padding: 16px 18px; margin: 0 0 18px; }
.vtcg-oos .vtcg-oos-t { font: 600 18px/1.3 Fredoka, 'Lato', sans-serif; color: #1d2a4d; margin: 0 0 4px; }
.vtcg-oos .vtcg-oos-s { margin: 0 0 12px; color: #5b6b86; font-size: 15px; }
.vtcg-oos-f { display: flex; gap: 10px; flex-wrap: wrap; margin: 0; }
.vtcg-oos-f input[type="email"] { flex: 1 1 220px; min-width: 0; }
.vtcg-oos-f .vtcg-b2-btn { flex: 0 0 auto; }
.vtcg-oos .vtcg-f-err { margin: 8px 0 0; }
.vtcg-oos-pp { margin: 10px 0 0; font-size: 13px; color: #6b7280; }
.vtcg-oos-pp a { color: #396BBA; }
.vtcg-oos-ok { margin: 4px 0 0; color: #14532d; font-weight: 700; }
.vtcg-alt { clear: both; margin: 8px 0 28px; }
.vtcg-alt-t, .vtcg-nores-h h2 { font: 600 24px/1.25 Fredoka, 'Lato', sans-serif !important; color: #1d2a4d; margin: 0 0 14px !important; }
.vtcg-alt-grid ul.products, .vtcg-nores-grid ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 !important; padding: 0; }
.vtcg-alt-grid ul.products li.product, .vtcg-nores-grid ul.products li.product { width: auto !important; float: none !important; margin: 0 !important; }
.vtcg-alt-grid ul.products::before, .vtcg-alt-grid ul.products::after, .vtcg-nores-grid ul.products::before, .vtcg-nores-grid ul.products::after { display: none !important; }

/* ---------- Punt 7: In je winkelwagen ---------- */
html body a.button.vtcg-incart, html body ul.products li.product a.button.vtcg-incart { background: #e8f5ec !important; color: #1f6b3a !important; border: 2px solid #2e8b57 !important; border-bottom-width: 3px !important; box-shadow: none !important; text-decoration: none !important; font-weight: 700 !important; }
html body a.button.vtcg-incart:hover { background: #dcefe3 !important; }
html body ul.products li.product a.button.vtcg-incart { font-size: 12px !important; padding: 7px 6px !important; line-height: 1.25 !important; }
.vtcg-incart-wrap { margin: 0 0 16px; }
html body .vtcg-incart-wrap a.button.vtcg-incart { display: flex !important; width: 100%; align-items: center; justify-content: center; gap: 6px; min-height: 56px; border-radius: 12px !important; font: 700 19px/1.2 'Lato', system-ui, sans-serif !important; padding: 14px 18px !important; box-sizing: border-box; }
.vtcg-incart::after { display: none !important; }
/* WooCommerce zet na AJAX-toevoegen een losse "Bekijk winkelwagen"-link: onze knop vervangt die. */
ul.products li.product .vtcg-incart + a.added_to_cart { display: none !important; }

/* ---------- Punt 8: lege zoekresultaten ---------- */
body.vtcg-search-empty .woocommerce-products-header, body.vtcg-search-empty .vtcg-nores { background: #fff; border: 1px solid #dfe6f2; border-radius: 16px; }
body.vtcg-search-empty .woocommerce-products-header { padding: 20px 24px 0; margin: 0; border-bottom: 0; border-radius: 16px 16px 0 0; }
body.vtcg-search-empty .woocommerce-products-header .page-title, body.vtcg-search-empty h1.woocommerce-products-header__title { font: 600 28px/1.25 Fredoka, 'Lato', sans-serif !important; color: #1d2a4d; margin: 0 !important; overflow-wrap: anywhere; }
body.vtcg-search-empty .vtcg-nores { border-top: 0; border-radius: 0 0 16px 16px; padding: 8px 24px 20px; margin: 0 0 24px; }
.vtcg-nores-t { margin: 0 0 12px; color: #5b6b86; font-size: 15px; }
.vtcg-nores-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.vtcg-nores-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border: 1.5px solid #396BBA; border-radius: 999px; color: #1d2a4d !important; font-weight: 700; font-size: 14px; text-decoration: none !important; background: #fff; }
.vtcg-nores-chip:hover { background: #eef5ff; }
.vtcg-nores-chip:focus-visible { outline: 3px solid #00C8EC; outline-offset: 2px; }
.vtcg-nores-new { margin: 0 0 24px; }
.vtcg-nores-h { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.vtcg-nores-h a { color: #396BBA; font-weight: 700; text-decoration: none; white-space: nowrap; }
.vtcg-nores-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #f0fbfe; border: 1.5px solid #a9e8f6; border-radius: 14px; padding: 16px 18px; margin: 0 0 24px; }
.vtcg-nores-cta div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vtcg-nores-cta b { color: #1d2a4d; font-size: 16px; }
.vtcg-nores-cta span { color: #5b6b86; font-size: 14px; }
.vtcg-nores-cta span a { color: #396BBA; font-weight: 700; }
.vtcg-nores-cta .vtcg-b2-btn { flex: none; }
body.vtcg-search-empty .vtcg-more, body.vtcg-search-empty .vtcg-plp-bar { display: none !important; }

/* ---------- Punt 10: annasta-facetten zonder waarde ("Unknown", "None") niet tonen ---------- */
.awf-filter-container[class*="-filter-unknown-container"], .awf-filter-container[class*="-filter-none-container"] { display: none !important; }

/* ---------- Mobiel ---------- */
@media (max-width: 1100px) and (min-width: 769px) {
  .vtcg-b2-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .vtcg-b2-contact { grid-template-columns: 1fr; gap: 0; }
  .vtcg-b2-card { padding: 18px 16px; border-radius: 14px; }
  .vtcg-b2-faq { padding: 0; }
  .vtcg-b2-faq .vtcg-b2-h { padding: 18px 16px 0; }
  .vtcg-b2-faq--sell { padding: 18px 16px; }
  .vtcg-b2-q summary { padding: 13px 16px; font-size: 15px; }
  .vtcg-b2-a { padding: 0 16px 13px; }
  .vtcg-f-row { grid-template-columns: 1fr; }
  .vtcg-b2-steps { grid-template-columns: 1fr; gap: 8px; }
  .vtcg-b2-steps li { display: grid; grid-template-columns: 28px 1fr; column-gap: 12px; padding: 12px 14px; }
  .vtcg-b2-step-n { grid-row: span 2; margin: 0; }
  .vtcg-b2-selltile { padding: 12px 14px; gap: 12px; flex-wrap: wrap; }
  .vtcg-b2-selltile-i { width: 36px; height: 36px; }
  .vtcg-b2-selltile-t { flex: 1 1 calc(100% - 60px); }
  .vtcg-b2-selltile-go { margin-left: 48px; }
  .vtcg-alt-grid ul.products, .vtcg-nores-grid ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vtcg-alt-t, .vtcg-nores-h h2 { font-size: 20px !important; }
  body.vtcg-search-empty .woocommerce-products-header { padding: 16px 16px 0; }
  body.vtcg-search-empty .woocommerce-products-header .page-title, body.vtcg-search-empty h1.woocommerce-products-header__title { font-size: 22px !important; }
  body.vtcg-search-empty .vtcg-nores { padding: 8px 16px 16px; }
  .vtcg-nores-cta { flex-direction: column; align-items: stretch; }
  .vtcg-nores-cta .vtcg-b2-btn { width: 100%; }
  .vtcg-oos-f .vtcg-b2-btn { flex: 1 1 100%; }
}

/* Checkout: akkoord-checkbox direct boven de betaalknop (mockup p1); privacytekst blijft eronder. */
body.vtcg-co-b #order_review #payment .woocommerce-terms-and-conditions-wrapper.vtcg-terms { order: 0; margin: 4px 0 12px; }

/* Lege zoekresultaten: geen lege filterkolom (mockup p8). */
body.vtcg-search-empty #secondary, body.vtcg-search-empty .vtcg-arch-bar { display: none !important; }
body.vtcg-search-empty #primary { width: 100% !important; float: none !important; margin-left: 0 !important; margin-right: 0 !important; }

/* Punt 7 (GD-review): in het mobiele 2-koloms grid blijft de knop compact en vierkant, alleen een groen vinkje. */
@media (max-width: 768px) {
	html body ul.products li.product a.button.vtcg-incart { display: inline-flex !important; align-items: center; justify-content: center; width: 32px !important; min-width: 0 !important; max-width: 32px; height: 46px !important; padding: 0 !important; border-width: 1px !important; border-bottom-width: 1px !important; border-radius: 10px !important; font-size: 0 !important; line-height: 1 !important; overflow: hidden; white-space: nowrap; }
	html body ul.products li.product a.button.vtcg-incart::before { display: none !important; }
	html body ul.products li.product a.button.vtcg-incart .vtcg-incart-t { display: none !important; }
	html body ul.products li.product a.button.vtcg-incart .vtcg-incart-i { font-size: 18px; font-weight: 900; line-height: 1; color: #1f6b3a; }
}
