/* =========================================================
   Wat accepteren we? (wat-we-accepteren.html)
   Zelfde stijl als de accountpagina's: witte kaarten met zachte rand,
   warme fotovlakken, roze accent, pastel alleen voor kaders.
   ========================================================= */

:root {
  --acc-border: #eceef1;
  --acc-photo: linear-gradient(135deg, #eee9e1, #f6f3ee);
  --acc-yes: #00843d;
  --acc-check: #c26f00;
  --acc-no: #d1234a;
}

.acceptance-page { max-width: 1360px; margin: 0 auto; padding: 28px 0 40px; }
.acc-section-title { font-size: 22px; line-height: 28px; letter-spacing: -.6px; font-weight: 800; }

/* ---------- Hero ---------- */
.acceptance-hero { display: grid; grid-template-columns: minmax(0, 1fr) 300px 340px; gap: 24px; align-items: center; margin-bottom: 30px; }
.hero-copy h1 { font-family: var(--bs-heading); font-size: 43px; line-height: 49px; letter-spacing: -1.6px; font-weight: 900; }
.hero-copy h2 { font-size: 20px; line-height: 28px; font-weight: 700; margin-top: 6px; }
.hero-copy > p { font-size: 15px; line-height: 23px; color: var(--bs-muted); margin-top: 4px; max-width: 560px; }
.hero-photo-wrap { position: relative; }
.hero-photo { width: 100%; height: 230px; object-fit: contain; }
.hero-accent { position: absolute; width: 42px; height: 42px; right: 4px; top: 6px; transform: rotate(12deg); }
.acceptance-guidelines { background: #fff7db; border-radius: 17px; padding: 20px 22px; }
.acceptance-guidelines h2 { font-size: 17px; line-height: 24px; font-weight: 800; margin-bottom: 10px; }
.acceptance-guidelines ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.acceptance-guidelines li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 19px; }
.check-dot { display: inline-grid; place-items: center; background: var(--acc-yes); color: #fff; border-radius: 50%; width: 18px; height: 18px; flex: 0 0 18px; font-size: 11px; margin-top: 1px; }

/* Zoekbalk */
.item-search { display: flex; gap: 10px; align-items: center; border: 1px solid var(--acc-border); background: #fff; border-radius: 99px; padding: 6px 6px 6px 18px; margin-top: 20px; }
.item-search:focus-within { border-color: #e7a9c4; box-shadow: 0 0 0 3px #ff4f9322; }
.item-search > .bs-icon { width: 21px; height: 21px; }
.item-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 15px; color: var(--bs-ink); outline: none; padding: 9px 0; }
.item-search input::placeholder { color: #8b91a3; }
.item-search input::-webkit-search-cancel-button { display: none; }
.clear-search { border: 0; background: none; color: #8b91a3; font-size: 22px; width: 28px; padding: 0; line-height: 28px; }
.search-submit { background: var(--bs-pink); color: #fff; border: 0; border-radius: 99px; padding: 12px 26px; font-size: 14px; font-weight: 700; }
.search-submit:hover { background: var(--bs-pink-dark); }
.search-error { color: var(--acc-no); font-size: 13px; margin-top: 8px; }
.search-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.search-chips > span { font-size: 12px; color: var(--bs-muted); margin-right: 2px; }
.search-chip { border: 1px solid #e7e9ed; background: #f8f9fa; color: var(--bs-ink); border-radius: 99px; padding: 7px 13px; font-size: 12px; white-space: nowrap; }
.search-chip:hover { background: #fff0f6; border-color: #f6c9dc; }

/* ---------- Categorieën ---------- */
.categories { margin-bottom: 28px; }
.categories .acc-section-title { margin-bottom: 12px; }
.category-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.category-card { position: relative; border: 1px solid var(--acc-border); border-radius: 13px; overflow: hidden; background: #fff; color: var(--bs-ink); text-align: left; display: flex; flex-direction: column; padding: 0; transition: transform .16s, border-color .16s; }
.category-card:hover { transform: translateY(-3px); border-color: #e7a9c4; }
.category-card img { width: calc(100% - 4px); margin: 2px 2px 0; height: 118px; object-fit: contain; background: var(--acc-photo); border-radius: 10px; padding: 10px; }
.category-card > div { padding: 10px 12px 12px; }
.category-card h3 { font-size: 13px; line-height: 18px; font-weight: 700; padding-right: 16px; }
.category-card h3::after { content: '›'; position: absolute; right: 12px; font-size: 18px; line-height: 17px; color: var(--bs-muted); }
.category-card p { font-size: 12px; line-height: 17px; color: var(--bs-muted); margin-top: 3px; }

/* ---------- Zoekresultaten, uitleg, regels ---------- */
.acceptance-content { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 28px; }
.search-results, .search-how-it-works, .acceptance-rules { border: 1px solid var(--acc-border); border-radius: 17px; background: #fff; padding: 20px 20px 18px; min-width: 0; }
.search-results .intro { font-size: 13px; line-height: 20px; color: var(--bs-muted); margin: 2px 0 10px; }
.search-result-row { width: 100%; display: grid; grid-template-columns: 84px minmax(0, 1fr) minmax(0, 1fr) 16px; gap: 16px; align-items: center; background: #fff; border: 0; border-top: 1px solid var(--acc-border); padding: 12px 0; text-align: left; color: var(--bs-ink); }
.search-result-row:hover { background: #fffafc; }
.result-photo { width: 84px; height: 72px; object-fit: contain; border-radius: 10px; background: var(--acc-photo); padding: 6px; }
.result-title h3 { font-size: 15px; line-height: 21px; }
.result-title > p { font-size: 12px; line-height: 18px; color: var(--bs-muted); }
.result-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 5px; }
.result-tags span { background: #f1f0f8; color: #3d4466; padding: 3px 9px; border-radius: 99px; font-size: 11px; }
.result-outcome > p { font-size: 12px; line-height: 18px; color: var(--bs-muted); margin-top: 6px; }
.result-arrow { width: 16px; height: 16px; }
.eligibility-status { display: inline-flex; align-items: center; gap: 7px; background: #e3f8ec; color: var(--acc-yes); padding: 5px 10px 5px 6px; border-radius: 99px; font-size: 12px; font-weight: 700; line-height: 17px; }
.eligibility-status.check { background: #fff4dc; color: var(--acc-check); }
.eligibility-status.no { background: #ffeaf0; color: var(--acc-no); }
.status-dot { border-radius: 50%; width: 17px; height: 17px; background: currentColor; display: inline-grid; place-items: center; flex: 0 0 17px; }
.status-dot b { color: #fff; font-size: 11px; line-height: 1; }
.results-disclaimer { font-size: 12px; line-height: 18px; color: var(--bs-muted); padding-top: 12px; border-top: 1px solid var(--acc-border); }
.empty-result { padding: 18px 0 16px; border-top: 1px solid var(--acc-border); }
.empty-result h3 { font-size: 17px; line-height: 24px; margin-bottom: 8px; }
.empty-result p { font-size: 13px; line-height: 21px; color: var(--bs-muted); margin-top: 8px; }

.block-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.block-heading h2 { font-size: 17px; line-height: 23px; font-weight: 800; }
.round-icon { display: grid; place-items: center; border-radius: 50%; background: #fff4e1; width: 42px; height: 42px; flex: 0 0 42px; }
.round-icon .bs-icon { width: 23px; height: 23px; }
.how-steps { list-style: none; margin: 0; padding: 0; }
.how-steps li { display: flex; gap: 14px; padding-bottom: 18px; position: relative; }
.how-steps li:not(:last-child)::after { content: ''; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: #f6c9dc; }
.how-steps li:last-child { padding-bottom: 0; }
.step-number { display: grid; place-items: center; background: var(--bs-pink); color: #fff; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; font-size: 14px; font-weight: 800; }
.how-steps h3 { font-size: 14px; line-height: 20px; }
.how-steps p { font-size: 12px; line-height: 18px; color: var(--bs-muted); margin-top: 2px; }

.acceptance-rules { background: #fff0f6; border-color: #fff0f6; }
.acceptance-rules .round-icon { background: #ffdbe8; }
.rule-card { background: #fff; border-radius: 12px; margin-top: 8px; padding: 12px 14px; display: flex; align-items: flex-start; gap: 12px; }
.rule-card .round-icon { width: 34px; height: 34px; flex-basis: 34px; background: #fff0f6; }
.rule-card .round-icon .bs-icon { width: 19px; height: 19px; }
.rule-card h3 { font-size: 13px; line-height: 19px; }
.rule-card p { font-size: 12px; line-height: 18px; color: var(--bs-muted); margin-top: 2px; }
.rule-card details { margin-top: 5px; font-size: 12px; line-height: 18px; color: var(--bs-muted); }
.rule-card summary { cursor: pointer; color: #c8175f; font-weight: 700; }

/* ---------- Dit accepteren we niet ---------- */
.rejected-items { background: #fff0f6; border-radius: 17px; padding: 20px 20px 22px; }
.rejected-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.rejected-heading .round-icon { background: #ffdbe8; }
.rejected-heading h2 { font-size: 20px; line-height: 26px; font-weight: 800; }
.rejected-heading p { font-size: 13px; line-height: 19px; color: var(--bs-muted); }
.rejected-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.rejected-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #fde1ec; border-radius: 13px; padding: 2px 2px 12px; color: var(--bs-ink); text-align: left; transition: transform .16s; }
.rejected-card:hover { transform: translateY(-2px); }
.rejected-card img { width: 100%; height: 96px; object-fit: contain; background: var(--acc-photo); border-radius: 10px; padding: 8px; }
.rejected-card h3 { font-size: 12px; line-height: 17px; margin: 9px 10px 0; }
.rejected-card p { font-size: 11px; line-height: 16px; color: var(--bs-muted); margin: 2px 10px 0; }

/* ---------- Detailvenster ---------- */
.detail-modal-body .modal-photo { width: 140px; height: 140px; object-fit: contain; background: var(--acc-photo); border-radius: 12px; padding: 10px; margin-bottom: 12px; }
.detail-modal-body details { margin: 12px 0; font-size: 14px; line-height: 22px; }
.detail-modal-body summary { cursor: pointer; font-weight: 700; }
.detail-modal-body ul { margin: 8px 0 0; padding-left: 18px; }
.detail-modal-body .bs-button { margin-top: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 1439px) { .acceptance-page { margin-left: 32px; margin-right: 32px; } }
@media (max-width: 1240px) {
  .acceptance-hero { grid-template-columns: minmax(0, 1fr) 260px; }
  .acceptance-guidelines { grid-column: 1 / -1; }
  .acceptance-guidelines ul { grid-template-columns: 1fr 1fr; gap: 8px 24px; }
  .category-grid, .rejected-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .category-card img { height: 140px; }
  .acceptance-content { grid-template-columns: 1fr 1fr; }
  .search-results { grid-column: 1 / -1; }
}
@media (max-width: 950px) { .acceptance-page { margin-left: 24px; margin-right: 24px; } }
@media (max-width: 760px) {
  .acceptance-page { margin: 0; padding: 22px 18px 30px; }
  .acceptance-hero { grid-template-columns: 1fr; gap: 16px; }
  .hero-copy h1 { font-size: 34px; line-height: 40px; letter-spacing: -1.2px; }
  .hero-copy h2 { font-size: 18px; line-height: 25px; }
  .hero-photo { height: 200px; }
  .acceptance-guidelines ul { grid-template-columns: 1fr; }
  .search-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .search-chips > span { display: none; }
  .search-submit { padding: 11px 18px; }
  .category-grid, .rejected-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-card img { height: 120px; }
  .acceptance-content { grid-template-columns: 1fr; }
  .search-result-row { grid-template-columns: 72px minmax(0, 1fr) 14px; gap: 6px 12px; }
  .result-photo { width: 72px; height: 64px; grid-row: 1 / 3; }
  .result-outcome { grid-column: 2; grid-row: 2; }
  .result-arrow { grid-column: 3; grid-row: 1 / 3; }
  .rejected-heading { align-items: flex-start; }
}

/* Foto's met een eigen lichte achtergrond laten opgaan in het fotovlak */
.category-card img, .rejected-card img, .result-photo, .detail-modal-body .modal-photo { mix-blend-mode: multiply; }
/* Deze foto's hebben een eigen achtergrond: laat ze het hele fotovlak vullen */
.category-card img[src*="/accept/"], .rejected-card img[src*="/accept/"], .result-photo[src*="/accept/"] { object-fit: cover; padding: 0; }
@media (max-width: 760px) {
  .acceptance-hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy, .acceptance-guidelines, .hero-photo-wrap { min-width: 0; }
}

/* =========================================================
   Gele banner bovenaan (zelfde stijl als Hoe het werkt)
   ========================================================= */
.acc-hero { background: radial-gradient(ellipse at 90% 90%, #ffdcad 0, transparent 52%), linear-gradient(100deg, #fff4ae, #fff7c9); overflow: hidden; }
.acc-hero-inner { max-width: 1360px; margin: auto; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 24px; min-height: 480px; padding: 34px 0 28px; }
.acc-eyebrow { font-size: 12px; letter-spacing: 1.6px; font-weight: 700; margin-bottom: 9px; }
.acc-hero-copy { position: relative; z-index: 1; min-width: 0; }
.acc-hero-copy h1 { font-family: var(--bs-heading); font-size: 58px; line-height: 1.04; font-weight: 900; letter-spacing: -2.2px; }
.acc-hero-copy h1 span { display: block; }
.acc-hero-copy h1 .pink { color: var(--bs-pink); }
.acc-hero-copy > p { font-size: 17px; line-height: 25px; max-width: 520px; margin: 16px 0 4px; }
.acc-hero .item-search { max-width: 600px; box-shadow: 0 6px 20px #8a5a0014; border-color: #fff; }
.acc-hero .search-chip { background: #ffffffb3; border-color: #ffffff; }
.acc-hero .search-chip:hover { background: #fff; }
.acc-hero-visual { position: relative; align-self: stretch; display: flex; align-items: center; min-width: 0; }
.acc-hero-photo { width: 100%; height: 420px; object-fit: contain; filter: drop-shadow(0 16px 13px #71400d20); }
.acc-doodle { position: absolute; width: 64px; height: 64px; left: 6px; top: 30px; transform: rotate(-22deg); pointer-events: none; }
.acc-doodle.second { left: auto; top: auto; right: -6px; bottom: 34px; transform: rotate(110deg); }

/* Richtlijnen als witte kaart onder de banner */
.acceptance-page > .acceptance-guidelines { background: #fff; border: 1px solid var(--acc-border); border-radius: 17px; padding: 18px 22px; margin-bottom: 28px; display: flex; align-items: center; gap: 24px; }
.acceptance-page > .acceptance-guidelines h2 { flex: 0 0 auto; margin: 0; max-width: 170px; font-size: 17px; line-height: 23px; }
.acceptance-page > .acceptance-guidelines ul { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 22px; }
.acceptance-hero { display: none; }

@media (max-width: 1439px) { .acc-hero-inner { padding-left: 32px; padding-right: 32px; } }
@media (max-width: 1100px) {
  .acc-hero-copy h1 { font-size: 46px; letter-spacing: -1.6px; }
  .acc-hero-photo { height: 340px; }
  .acceptance-page > .acceptance-guidelines { flex-direction: column; align-items: flex-start; }
  .acceptance-page > .acceptance-guidelines h2 { max-width: none; }
  .acceptance-page > .acceptance-guidelines ul { grid-template-columns: 1fr 1fr; width: 100%; }
}
@media (max-width: 760px) {
  .acc-hero-inner { grid-template-columns: minmax(0, 1fr); min-height: 0; padding: 26px 18px 18px; gap: 6px; }
  .acc-hero-copy h1 { font-size: 38px; line-height: 1.06; letter-spacing: -1.3px; }
  .acc-hero-copy > p { font-size: 15px; line-height: 23px; }
  .acc-hero-photo { height: 250px; }
  .acc-doodle { width: 44px; height: 44px; top: 0; }
  .acc-doodle.second { right: 0; bottom: 6px; }
  .acceptance-page > .acceptance-guidelines ul { grid-template-columns: 1fr; }
}

/* =========================================================
   Zoekresultaten (alleen na een zoekopdracht) en
   "Belangrijk om te weten" als horizontale balk
   ========================================================= */
.search-results { margin-bottom: 28px; scroll-margin-top: 90px; }
.search-results[hidden] { display: none; }
.results-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.results-top .acc-section-title { margin: 0; }
.results-close { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--acc-border); background: #fff; font-size: 20px; line-height: 1; color: var(--bs-muted); cursor: pointer; }
.results-close:hover { color: var(--bs-ink); }

.acceptance-rules { margin-bottom: 28px; padding: 22px 22px 22px; }
.acceptance-rules .block-heading h2 { font-size: 20px; line-height: 26px; }
.rule-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rule-grid .rule-card { margin-top: 0; height: 100%; padding: 16px; }
.rule-grid .rule-card h3 { font-size: 15px; line-height: 21px; }
.rule-grid .rule-card p, .rule-grid .rule-card details { font-size: 13px; line-height: 19px; }
@media (max-width: 1100px) { .rule-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .rule-grid { grid-template-columns: minmax(0, 1fr); }
  .acceptance-rules { padding: 18px 16px; }
}
