/* Het Kleinste Huis FAQ v2.1 — correct full-width layout for Classic/PrestaShop. */
/*
   Classic sometimes assigns the FAQ controller a layout with a left column.
   Before breaking out to the viewport, allow only THIS FAQ homepage to use
   the full content-wrapper width. Keep the general site header/footer intact.
   :has() is supported by current Safari, Chrome and Firefox.
*/
#wrapper:has(#hkh-faq-home) > .container > .row > #left-column,
#wrapper:has(#hkh-faq-home) > .container > .row > #right-column {
  display: none !important;
}
#wrapper:has(#hkh-faq-home) > .container > .row > #content-wrapper {
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
/* FAQ only: remove Classic's default top padding above the page content.
   Without this, an empty white strip appears between navigation and hero. */
#wrapper:has(#hkh-faq-home) {
  padding-top: 0 !important;
}

/* Prevent any inherited content padding from shifting the full-bleed section. */
#wrapper:has(#hkh-faq-home) > .container > .row > #content-wrapper {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
#wrapper:has(#hkh-faq-home) #main { min-width: 0; }

.hkh-faq-home{--hkh-green:#17352f;--hkh-gold:#9c7a4d;--hkh-cream:#f8f5ef;--hkh-muted:#63716b;box-sizing:border-box;
  color:var(--hkh-green);font-family:Lato,Arial,sans-serif;line-height:1.55;
  width:var(--hkh-faq-viewport,100vw);max-width:none;position:relative;
  margin-left:calc(50% - var(--hkh-faq-viewport,100vw)/2);background:#fff;}
.hkh-faq-home *, .hkh-faq-home *::before,.hkh-faq-home *::after{box-sizing:border-box}
.hkh-faq-home a{text-decoration:none}.hkh-faq-home a:focus-visible,.hkh-faq-home button:focus-visible,.hkh-faq-home summary:focus-visible{outline:3px solid #9c7a4d;outline-offset:3px}
.hkh-faq-home h1,.hkh-faq-home h2,.hkh-faq-home strong{color:var(--hkh-green)}
.hkh-faq-home h1,.hkh-faq-home h2,.hkh-faq-home .hkh-faq-hero-subtitle,.hkh-faq-home .hkh-faq-service-card strong,.hkh-faq-home .hkh-faq-knowledge-card strong{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600}
.hkh-faq-home .hkh-faq-eyebrow,.hkh-faq-home .hkh-faq-quicklinks-label{font-size:11px;font-weight:700;letter-spacing:.19em;color:var(--hkh-gold)}
.hkh-faq-home .hkh-faq-hero{position:relative;overflow:hidden;text-align:center;background-color:var(--hkh-cream);background-image:var(--hkh-faq-hero);background-position:center top;background-repeat:no-repeat;background-size:cover;padding:76px 24px 56px;min-height:520px}
.hkh-faq-home .hkh-faq-hero-inner{position:relative;z-index:1;max-width:760px;margin:auto}
.hkh-faq-home .hkh-faq-hero h1{font-size:clamp(46px,5vw,66px);line-height:1.05;margin:12px 0 5px}
.hkh-faq-home .hkh-faq-hero-subtitle{font-size:clamp(25px,2.6vw,35px);line-height:1.12;margin:3px 0 15px}
.hkh-faq-home .hkh-faq-hero-text{font-size:15px;color:#53615b;max-width:650px;margin:0 auto 24px}
.hkh-faq-home .hkh-faq-search-slot{position:relative;max-width:704px;margin:0 auto 22px;min-height:60px}
.hkh-faq-home .hkh-faq-search-pending{margin:0;background:#fff;color:#607067;padding:18px;border:1px solid #e6ddcf;border-radius:40px;font-size:13px}
.hkh-faq-home .hi-faq-top-search-container{position:static!important;top:auto!important;transform:none!important;background:transparent!important;padding:0!important;margin:0!important;box-shadow:none!important;border:0!important;height:auto!important;min-height:0!important}
.hkh-faq-home .hi-faq-top-search-content{max-width:100%!important;margin:0!important;padding:0!important}
.hkh-faq-home .hi-faq-top-search-content h2,.hkh-faq-home .hi-faq-top-search-note{display:none!important}
.hkh-faq-home .hi-faq-search-container{width:100%;position:relative;max-width:none!important}
.hkh-faq-home .hi-faq-search-bar-input-group{display:flex;align-items:center;min-height:60px;position:relative!important;border-radius:38px!important;border:1px solid #ddd0be!important;box-shadow:0 8px 20px rgba(43,55,48,.06)!important;background:#fff!important;padding:5px 133px 5px 49px!important}
.hkh-faq-home .hi-faq-search-icon{position:absolute!important;left:18px!important;top:50%!important;transform:translateY(-50%)!important;color:var(--hkh-gold)!important;width:20px;height:20px;pointer-events:none}
.hkh-faq-home .hi-faq-search-icon svg{width:20px!important;height:20px!important}
.hkh-faq-home #hi_faq_top_search_input,.hkh-faq-home .hi-faq-top-search-input{border:none!important;box-shadow:none!important;background:transparent!important;outline:0!important;font-family:Lato,Arial,sans-serif;font-size:15px;color:var(--hkh-green);width:100%!important;height:46px!important;min-width:0;padding:0!important;margin:0!important}
.hkh-faq-home .hkh-faq-search-button{position:absolute;right:5px;top:5px;bottom:5px;border:0;border-radius:34px;background:var(--hkh-gold);color:#fff;min-width:115px;padding:0 15px;font:700 14px Lato,Arial,sans-serif;cursor:pointer}
.hkh-faq-home .hkh-faq-search-button:hover,.hkh-faq-home .hkh-faq-search-button:focus-visible{background:#88693f}
.hkh-faq-home #hi-faq-search-results{z-index:30!important}
.hkh-faq-home .hkh-faq-quicklinks-label{display:block;margin:12px 0 12px}
.hkh-faq-home .hkh-faq-quicklinks{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}
.hkh-faq-home .hkh-faq-quicklinks a{display:inline-flex;gap:13px;justify-content:space-between;align-items:center;min-height:37px;border-radius:40px;padding:6px 16px;background:rgba(255,255,255,.78);color:var(--hkh-green);border:1px solid #e0d6c9;font-size:12px}
.hkh-faq-home .hkh-faq-quicklinks a span{color:var(--hkh-gold);font-size:17px;transition:transform .2s}
.hkh-faq-home .hkh-faq-quicklinks a:hover span{transform:translateX(3px)}
.hkh-faq-home .hkh-faq-quicklinks a:hover{border-color:var(--hkh-gold);background:#fff}
.hkh-faq-home .hkh-faq-section{padding:68px 24px 72px}
.hkh-faq-home .hkh-faq-section-inner{max-width:1200px;margin:0 auto}
.hkh-faq-home .hkh-faq-section-heading{text-align:center;margin:0 auto 27px;max-width:800px}
.hkh-faq-home .hkh-faq-section-heading h2{font-size:clamp(34px,3.2vw,44px);line-height:1.1;margin:5px 0 4px}
.hkh-faq-home .hkh-faq-section-heading p{font-size:14px;color:#68736e;margin:0}
.hkh-faq-home .hkh-faq-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.hkh-faq-home .hkh-faq-service-card{display:flex;flex-direction:column;align-items:flex-start;min-height:220px;border:1px solid #e9e2d8;background:#fff;padding:25px 27px 23px;transition:transform .18s,border-color .18s,box-shadow .18s}
.hkh-faq-home .hkh-faq-service-card:hover{border-color:#c7af89;transform:translateY(-2px);box-shadow:0 8px 18px #17352f0a}
.hkh-faq-home .hkh-faq-card-icon{display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:#f4efe8;color:var(--hkh-gold);width:47px;height:47px;margin-bottom:14px}
.hkh-faq-home .hkh-faq-card-icon svg{width:27px;height:27px;stroke:currentColor;fill:none;stroke-width:1.6}
.hkh-faq-home .hkh-faq-service-card strong{font-size:26px;line-height:1.08;margin-bottom:7px}
.hkh-faq-home .hkh-faq-service-card .hkh-faq-card-description{font-size:13px;color:#68736e;line-height:1.5}
.hkh-faq-home .hkh-faq-card-arrow{margin-top:auto;padding-top:17px;color:var(--hkh-gold);font-size:12px;font-weight:700}
.hkh-faq-home .hkh-faq-knowledge{background:#f8f5f0;padding-top:68px;padding-bottom:72px}
.hkh-faq-home .hkh-faq-knowledge-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}
.hkh-faq-home .hkh-faq-knowledge-card{display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #e8e2d8;overflow:hidden;transition:transform .18s,border-color .18s}
.hkh-faq-home .hkh-faq-knowledge-card:hover{transform:translateY(-2px);border-color:#c7af89}
.hkh-faq-home .hkh-faq-knowledge-photo{display:block;aspect-ratio:1.9/1;overflow:hidden;background:#e2e2d8}
.hkh-faq-home .hkh-faq-knowledge-photo img{display:block;object-fit:cover;width:100%;height:100%;margin:0;max-width:none}
.hkh-faq-home .hkh-faq-knowledge-body{display:flex;flex-direction:column;flex:1;padding:17px 17px 19px;min-height:174px}
.hkh-faq-home .hkh-faq-knowledge-body strong{font-size:24px;line-height:1.06;margin:0 0 9px}
.hkh-faq-home .hkh-faq-knowledge-body>span:nth-child(2){color:#68736e;font-size:13px;line-height:1.48}
.hkh-faq-home .hkh-faq-knowledge-cta{margin-top:auto;padding-top:12px;color:var(--hkh-gold);font-size:12px;font-weight:700}
.hkh-faq-home .hkh-faq-popular{background:#fff;padding-bottom:82px}
.hkh-faq-home .hkh-faq-popular-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px}
.hkh-faq-home .hkh-faq-accordion-item{border:1px solid #ebe5de;background:#fff;min-width:0;align-self:start}
.hkh-faq-home .hkh-faq-accordion-item summary{display:flex;justify-content:space-between;align-items:center;gap:16px;list-style:none;cursor:pointer;padding:12px 15px;min-height:47px;color:var(--hkh-green);font-size:13px}
.hkh-faq-home .hkh-faq-accordion-item summary::-webkit-details-marker{display:none}
.hkh-faq-home .hkh-faq-accordion-symbol{font-size:19px;font-weight:400;color:var(--hkh-gold)}
.hkh-faq-home .hkh-faq-accordion-item[open] .hkh-faq-accordion-symbol{transform:rotate(45deg)}
.hkh-faq-home .hkh-faq-accordion-answer{padding:0 16px 17px;color:#53615b;font:400 13px/1.65 Lato,Arial,sans-serif;overflow-wrap:anywhere}
.hkh-faq-home .hkh-faq-accordion-answer a{color:var(--hkh-gold);text-decoration:underline}
.hkh-faq-home .hkh-faq-accordion-answer p{margin:8px 0}
.hkh-faq-home .hkh-faq-more-cats{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:10px 20px;margin-top:25px;color:#68736e;font-size:13px}
.hkh-faq-home .hkh-faq-more-cats a{color:var(--hkh-gold);text-decoration:underline}
.hkh-faq-home .hkh-faq-contact{display:grid;grid-template-columns:47% 53%;background:#eef0e8;min-height:360px}
.hkh-faq-home .hkh-faq-contact-photo{background-image:linear-gradient(90deg,#102b1f22,#0d22130a),url('https://www.hetkleinstehuis.nl/img/cms/theewinkel_het_kleinste_huis.jpeg');background-size:cover;background-position:center;background-color:#3d503e;min-height:340px}
.hkh-faq-home .hkh-faq-contact-content{padding:47px clamp(28px,6vw,105px) 46px clamp(30px,5vw,85px)}
.hkh-faq-home .hkh-faq-contact-content h2{font-size:clamp(35px,3.1vw,47px);line-height:1.06;margin:8px 0 13px}
.hkh-faq-home .hkh-faq-contact-content>p{color:#59655e;font-size:14px;max-width:500px;margin:0 0 16px}
.hkh-faq-home .hkh-faq-contact-details{display:grid;gap:7px;font-size:13px;color:var(--hkh-green);margin:0 0 18px}
.hkh-faq-home .hkh-faq-contact-details a{color:var(--hkh-green)}
.hkh-faq-home .hkh-faq-button{display:inline-flex;align-items:center;gap:12px;border-radius:28px;color:#fff;background:var(--hkh-green);padding:11px 22px;font-size:13px;font-weight:700}
.hkh-faq-home .hkh-faq-button:hover{color:#fff;background:#284d42}
.hkh-faq-home .hkh-faq-benefits{display:flex;justify-content:space-evenly;gap:14px 25px;flex-wrap:wrap;padding:20px 24px;border-top:1px solid #e8e0d5;background:#faf7f1;text-align:center;color:#59665e;font-size:12px}
@media(max-width:1100px){.hkh-faq-home .hkh-faq-hero{background-size:auto 100%;background-position:center top}}
@media(max-width:950px){.hkh-faq-home .hkh-faq-hero{background-image:linear-gradient(#f8f5ef,#f8f5ef);min-height:0;padding:64px 20px 50px}
  .hkh-faq-home .hkh-faq-service-grid,.hkh-faq-home .hkh-faq-knowledge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.hkh-faq-home .hkh-faq-hero{padding:45px 17px 44px}.hkh-faq-home .hkh-faq-hero h1{font-size:47px}
  .hkh-faq-home .hkh-faq-hero-text{font-size:14px}.hkh-faq-home .hkh-faq-search-slot{min-height:54px}
  .hkh-faq-home .hi-faq-search-bar-input-group{padding-right:95px!important;padding-left:43px!important;min-height:54px}
  .hkh-faq-home .hkh-faq-search-button{min-width:85px;font-size:12px}.hkh-faq-home .hkh-faq-quicklinks{gap:8px}
  .hkh-faq-home .hkh-faq-section{padding:55px 18px}.hkh-faq-home .hkh-faq-service-grid,.hkh-faq-home .hkh-faq-knowledge-grid,.hkh-faq-home .hkh-faq-popular-grid{grid-template-columns:1fr}
  .hkh-faq-home .hkh-faq-service-card{min-height:170px;padding:20px}.hkh-faq-home .hkh-faq-contact{grid-template-columns:1fr}
  .hkh-faq-home .hkh-faq-contact-photo{min-height:230px}.hkh-faq-home .hkh-faq-contact-content{padding:37px 23px 43px}
  .hkh-faq-home .hkh-faq-knowledge-body{min-height:150px}}
@media(prefers-reduced-motion:reduce){.hkh-faq-home *{transition:none!important}}

/* Contact- en servicepictogrammen op een vaste, bescheiden schaal. */
.hkh-faq-home .hkh-faq-contact-details a,.hkh-faq-home .hkh-faq-contact-details span{display:flex;align-items:center;gap:10px;min-width:0}
.hkh-faq-home .hkh-faq-contact-details svg{width:19px!important;height:19px!important;flex:0 0 19px;stroke:var(--hkh-gold);vertical-align:middle}
.hkh-faq-home .hkh-faq-benefits span{display:inline-flex;align-items:center;gap:9px;min-width:0}
.hkh-faq-home .hkh-faq-benefits svg{width:18px!important;height:18px!important;flex:0 0 18px;stroke:var(--hkh-gold)}

/* Zoekfix v2.3: drop-down alleen op FAQ-hoofdpagina */
.hkh-faq-home .hkh-faq-search-suggestions[hidden] { display:none!important; }
.hkh-faq-home .hkh-faq-search-suggestions {
  position:absolute; z-index:60; left:0; right:0; top:calc(100% + 7px);
  max-height:340px;overflow-y:auto;text-align:left;background:#fff;
  border:1px solid #e2d8c9;border-radius:13px;
  box-shadow:0 10px 28px rgba(23,53,47,.14);
}
.hkh-faq-home .hkh-faq-search-suggestions-list { list-style:none;margin:0;padding:5px; }
.hkh-faq-home .hkh-faq-search-suggestions-list li { margin:0;padding:0; }
.hkh-faq-home .hkh-faq-search-suggestions-list a {
  display:flex;flex-direction:column;gap:2px;color:#17352f;padding:11px 14px;border-radius:7px;
  font-size:14px;line-height:1.4;
}
.hkh-faq-home .hkh-faq-search-suggestions-list a:hover,
.hkh-faq-home .hkh-faq-search-suggestions-list a:focus-visible { background:#f8f5ef; }
.hkh-faq-home .hkh-faq-search-suggestions-list small {color:#9c7a4d;font-size:11px;}
.hkh-faq-home input[type="search"]::-webkit-search-cancel-button {cursor:pointer;}


/* ===============================================
   Het Kleinste Huis FAQ – correctie v2.5 (12-10-2026)
   Laat zoekresultaten buiten de hero doorlopen.
   Alleen de FAQ-homepage; geen wijzigingen aan andere pagina's.
   =============================================== */
.hkh-faq-home .hkh-faq-hero {
  overflow: visible !important;
  z-index: 5;
}
.hkh-faq-home .hkh-faq-search-slot {
  position: relative;
  z-index: 10;
}
.hkh-faq-home .hkh-faq-search-suggestions {
  z-index: 50;
}

/* ============================================================
   Het Kleinste Huis FAQ – mobiele breedtecorrectie v2.6
   Uitsluitend FAQ-hoofdpagina, niet voor categorie-/vraagpagina's.
   Herstelt breedtes zonder de AJAX-zoeksuggesties af te snijden.
   ============================================================ */
@media (max-width: 767px) {
  /* Op mobiel geen desktop-'breakout' via een negatieve marge gebruiken. */
  #wrapper:has(#hkh-faq-home) > .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #wrapper:has(#hkh-faq-home) > .container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    min-width: 0;
  }
  #wrapper:has(#hkh-faq-home) #content-wrapper,
  #wrapper:has(#hkh-faq-home) #main {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .hkh-faq-home {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
  }
  .hkh-faq-home .hkh-faq-hero-inner,
  .hkh-faq-home .hkh-faq-search-slot,
  .hkh-faq-home .hkh-faq-section-inner,
  .hkh-faq-home .hkh-faq-service-grid,
  .hkh-faq-home .hkh-faq-knowledge-grid,
  .hkh-faq-home .hkh-faq-popular-grid,
  .hkh-faq-home .hkh-faq-contact-content {
    min-width: 0;
    max-width: 100%;
  }
  .hkh-faq-home .hkh-faq-accordion-item summary span:first-child,
  .hkh-faq-home .hkh-faq-service-card strong,
  .hkh-faq-home .hkh-faq-knowledge-body strong,
  .hkh-faq-home .hkh-faq-contact-details a,
  .hkh-faq-home .hkh-faq-contact-details span,
  .hkh-faq-home .hkh-faq-benefits span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .hkh-faq-home .hkh-faq-hero h1 {
    font-size: clamp(35px, 9.5vw, 47px);
  }
}
