/* ==========================================================
   Template: Persoonlijk bericht (sluiting)
   Alleen geladen op template-persoonlijk-bericht.php
   ========================================================== */
.sluiting .hero-sub { font-size: 22px; line-height: 32px; font-weight: 400; max-width: 640px; margin-top: 20px; }
.sluiting .buttons-hero a { display: inline-block; margin-bottom: 12px; }

/* Intro */
.sluiting .intro-img { position: relative; }
.sluiting .intro-img img { width: 100%; display: block; border-radius: 35px; box-shadow: 0 20px 45px rgba(0,0,0,.45); }
.sluiting .intro-badge {
  position: absolute; left: -35px; bottom: -35px; width: 170px; height: 170px;
  background: #471e59; color: #fff; border-radius: 50%; border: 5px solid #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-weight: 900; text-transform: uppercase; letter-spacing: 1px; line-height: 1.15;
  transform: rotate(-7deg); box-shadow: 0 10px 25px rgba(0,0,0,.35);
}
.sluiting .intro-badge .big { font-size: 46px; line-height: 1; }
.sluiting .intro-badge .small { font-size: 13px; margin-top: 4px; }
.sluiting .signature { border-left: 3px solid #e3cdef; padding-left: 20px; margin-top: 35px; }
.sluiting .signature .name { display: block; font-size: 28px; font-weight: 700; font-style: italic; color: #e3cdef; }
.sluiting .signature .role { display: block; font-size: 18px; color: #fff; opacity: .8; margin-top: 4px; }

/* Situaties */
.sluiting .situatie { background: #fff; color: #000; border-radius: 35px; padding: 40px; height: 100%; }
.sluiting .situatie.accent { outline: 4px solid #e3cdef; outline-offset: -4px; }
.sluiting .chip {
  display: inline-block; background: #e3cdef; color: #471e59; font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: 1px; border-radius: 25px; padding: 6px 14px; margin-bottom: 20px;
}
.sluiting .situatie h3 { font-size: 26px; line-height: 1.25; margin-bottom: 25px; }
.sluiting .check-list { list-style: none; margin: 0; padding: 0; }
.sluiting .check-list li { position: relative; padding-left: 40px; font-size: 19px; line-height: 28px; font-weight: 400; margin-bottom: 18px; }
.sluiting .check-list li:last-child { margin-bottom: 0; }
.sluiting .check-list li i { position: absolute; left: 0; top: 3px; color: #471e59; font-size: 22px; }

/* Stappen reclameren */
.sluiting .stap { border: 1px solid #343434; border-radius: 25px; padding: 30px; height: 100%; }
.sluiting .stap-nr {
  width: 52px; height: 52px; border-radius: 50%; background: #471e59; border: 2px solid #e3cdef; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; margin-bottom: 20px;
}
.sluiting .stap h3 { font-size: 22px; color: #fff; margin-bottom: 10px; }
.sluiting .stap p { font-size: 18px; line-height: 26px; font-weight: 400; color: #d6d6d6; }

/* Ordernummer */
.sluiting .ordernr-box { background: #471e59; color: #fff; border-radius: 35px; padding: 40px; }
.sluiting .ordernr-box p, .sluiting .ordernr-tekst p { font-size: 19px; line-height: 28px; font-weight: 400; }
.sluiting .ordernr-box .head3 { color: #fff; }
.sluiting .ordernr { display: flex; gap: 8px; align-items: flex-start; justify-content: center; }
.sluiting .ordernr .part { text-align: center; }
.sluiting .ordernr .digits { display: block; font-size: 58px; font-weight: 900; letter-spacing: 4px; color: #471e59; border-radius: 16px; padding: 6px 16px; line-height: 1.1; }
.sluiting .ordernr .jaar .digits { background: #fff; }
.sluiting .ordernr .volg .digits { background: #e3cdef; }
.sluiting .ordernr .lbl { display: block; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-top: 10px; color: #e3cdef; font-weight: 600; }
.sluiting .let-op { display: inline-block; background: rgba(255,255,255,.12); border-radius: 25px; padding: 6px 14px; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }

/* Leveranciers */
.sluiting .lev-groep { display: flex; align-items: center; gap: 14px; font-size: 26px; font-weight: 700; margin: 50px 0 25px; }
.sluiting .lev-groep:first-of-type { margin-top: 10px; }
.sluiting .lev-groep i { width: 48px; height: 48px; border-radius: 50%; background: #f3ecf7; color: #471e59; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.sluiting .tegel-card { border: 1px solid #e7e7e7; border-radius: 25px; padding: 28px; height: 100%; }
.sluiting .tegel-card h4 { font-size: 22px; margin-bottom: 12px; }
.sluiting .tegel-card p { font-size: 17px; line-height: 26px; font-weight: 400; color: #444; }
.sluiting .code { font-family: ui-monospace, Menlo, Consolas, monospace; background: #f3ecf7; color: #471e59; border-radius: 8px; padding: 2px 8px; font-weight: 700; white-space: nowrap; }

.sluiting .zoek-merk { position: relative; max-width: 420px; margin-bottom: 25px; }
.sluiting .zoek-merk input {
  width: 100%; box-sizing: border-box; font-family: "Figtree", sans-serif; font-size: 18px; font-weight: 400;
  padding: 14px 20px 14px 50px; border: 1px solid #dddddd; border-radius: 40px; background: #f6f6f6; outline: none;
}
.sluiting .zoek-merk input:focus { border-color: #471e59; background: #fff; }
.sluiting .zoek-merk i { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); color: #777; }
.sluiting .lev-card {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%;
  border: 1px solid #e7e7e7; border-radius: 18px; padding: 18px 22px; color: #000;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.sluiting .lev-card .naam { display: block; font-size: 20px; font-weight: 700; }
.sluiting .lev-card .sub { display: block; font-size: 15px; color: #6b6b6b; margin-top: 2px; font-weight: 400; transition: color .3s ease; }
.sluiting .lev-card i { color: #471e59; transition: transform .3s ease, color .3s ease; }
.sluiting .lev-card:hover { background: #471e59; border-color: #471e59; color: #fff; text-decoration: none; }
.sluiting .lev-card:hover .sub { color: #e3cdef; }
.sluiting .lev-card:hover i { color: #fff; transform: translateX(4px); }
.sluiting .geen-resultaat { display: none; font-size: 18px; color: #6b6b6b; padding: 10px 0; }

.sluiting .tip-box { background: #f3ecf7; border-radius: 25px; padding: 28px; height: 100%; }
.sluiting .tip-box .tip-title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; color: #471e59; margin-bottom: 10px; }
.sluiting .tip-box p { font-size: 18px; line-height: 27px; font-weight: 400; }
.sluiting .keuken-tekst p { font-size: 19px; line-height: 29px; font-weight: 400; }

@media (max-width: 991px) {
  .sluiting .intro-img { margin-top: 50px; }
  .sluiting .intro-badge { left: auto; right: 20px; bottom: -30px; width: 130px; height: 130px; }
  .sluiting .intro-badge .big { font-size: 34px; }
  .sluiting .intro-badge .small { font-size: 11px; }
}
@media (max-width: 767.98px) {
  .sluiting .hero-sub { font-size: 18px; line-height: 26px; }
  .sluiting .situatie, .sluiting .ordernr-box { padding: 25px; }
  .sluiting .situatie h3 { font-size: 22px; }
  .sluiting .check-list li { font-size: 17px; line-height: 25px; }
  .sluiting .ordernr .digits { font-size: 40px; padding: 4px 10px; }
  .sluiting .ordernr-box .col-lg-5 { margin-top: 30px; }
  .sluiting .lev-groep { font-size: 22px; margin-top: 40px; }
}

/* Aanvullingen voor ACF-versie */
.sluiting .situatie, .sluiting .stap, .sluiting .ordernr-box, .sluiting .tegel-card,
.sluiting .lev-card, .sluiting .tip-box, .sluiting .zoek-merk input { box-sizing: border-box; }
.sluiting .intro-img.badge-rechts .intro-badge { left: auto; right: -35px; transform: rotate(7deg); }
.sluiting .situatie a { color: #471e59; text-decoration: underline; }
.sluiting .check-list li p { margin: 0; }
.sluiting .chip i { margin-right: 4px; }
.sluiting .ordernr-tekst p { margin-bottom: 0; }
.sluiting .keuken-tekst p { margin-bottom: 15px; }
.sluiting .tip-box p br + br { display: none; }
.sluiting .afsluiting-naam { font-size: 26px; font-weight: 700; font-style: italic; color: #471e59; }
.sluiting .lev-item[hidden] { display: none !important; }
@media (max-width: 991px) {
  .sluiting .intro-img.badge-rechts .intro-badge { right: 20px; }
}
@media (max-width: 767.98px) {
  .sluiting .afsluiting-naam { display: block; text-align: left; margin-top: 10px; font-size: 22px; }
  .sluiting .footer-ct .text-right { text-align: left; }
}

/* Wachtwoordformulier */
.sluiting .pb-wachtwoord { max-width: 640px; padding: 40px; box-sizing: border-box; }
.sluiting .pb-wachtwoord p { font-size: 19px; line-height: 28px; font-weight: 400; margin-bottom: 20px; }
.sluiting .pb-wachtwoord label { display: block; font-weight: 600; font-size: 18px; }
.sluiting .pb-wachtwoord input[type="password"] {
  display: block; width: 100%; box-sizing: border-box; margin-top: 8px; font-family: "Figtree", sans-serif; font-size: 18px;
  padding: 14px 20px; border: 1px solid #dddddd; border-radius: 40px; background: #f6f6f6; outline: none;
}
.sluiting .pb-wachtwoord input[type="password"]:focus { border-color: #471e59; background: #fff; }
.sluiting .pb-wachtwoord input[type="submit"] {
  margin-top: 15px; font-family: "Figtree", sans-serif; font-size: 18px; font-weight: 600; cursor: pointer;
  background: #471e59; color: #fff; border: 1px solid #471e59; border-radius: 25px; padding: 12px 30px;
  transition: background-color .3s ease, color .3s ease;
}
.sluiting .pb-wachtwoord input[type="submit"]:hover { background: #fff; color: #471e59; }
@media (max-width: 767.98px) { .sluiting .pb-wachtwoord { padding: 25px; } }

/* Eigen header en footer voor dit template */
.page-template-template-persoonlijk-bericht .logo { padding-top: 15px; padding-bottom: 15px; }
.pb-footer { background: #000; text-align: center; padding: 40px 0 50px; border-top: 1px solid #343434; }
.pb-footer a { color: #e3cdef; font-size: 20px; font-weight: 600; transition: color .3s ease; }
.pb-footer a i { margin-left: 8px; transition: transform .3s ease; }
.pb-footer a:hover { color: #fff; text-decoration: none; }
.pb-footer a:hover i { transform: translateX(4px); }

/* Geen topbar met vlaggetjes op dit template; header-afbeelding schuift mee omhoog */
.page-template-template-persoonlijk-bericht .topbar { display: none; }
.page-template-template-persoonlijk-bericht .page-wrapper { top: 0; height: 569px; }
.page-template-template-persoonlijk-bericht .page-wrapper img { height: 569px; }
