/*
Theme Name: Houtplatform Native
Theme URI: https://houtplatform.nl/
Description: Lichtgewicht native block theme voor Houtplatform.nl.
Author: Houtplatform
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: houtplatform-native
*/

/* theme.json owns the design tokens; this file contains only structural CSS. */
.wp-site-blocks { overflow-x: clip; }
/* Elementor's cloned testimonial slides may extend outside the viewport on the
   homepage. Keep their animation inside its component, never the document. */
body.home .elementor-widget-testimonial-carousel,
body.home .elementor-widget-testimonial-carousel .elementor-widget-container,
body.home .elementor-widget-testimonial-carousel .swiper {
  max-width: 100%;
  overflow: hidden;
}
.hp-shell { width: min(calc(100% - 32px), 1180px); margin-inline: auto; }
.hp-reading { width: min(100%, 760px); margin-inline: auto; }
.hp-surface { background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--line); border-radius: 16px; box-shadow: 0 8px 24px rgba(32,60,37,.07); }
.hp-houtsoorten-overview { margin-block: 40px; }
.hp-houtsoorten-archive {
  width: min(calc(100% - 32px), 1180px);
  margin-inline: auto;
}
.hp-houtsoorten-archive .hp-houtsoorten-archive__header,
.hp-houtsoorten-archive .hp-hs-overzicht {
  width: 100%;
}
.hp-houtsoorten-archive .hp-houtsoorten-archive__header {
  margin-block: 40px 24px;
}
.hp-houtsoorten-archive .hp-hs-overzicht {
  margin-bottom: 48px;
}
.hp-houtsoort-single .wp-block-post-content { max-width: 760px; margin-inline: auto; }
.hp-houtsoort-single .wp-block-post-featured-image img { border-radius: 16px; }
.hp-archive-heading { background: #f1f6ed; border-bottom: 1px solid #dfe7d8; }
.hp-archive-heading > div { width: min(calc(100% - 32px), 1180px); margin-inline: auto; padding: 34px 0 30px; }
.hp-archive-heading h1 { margin: 0; color: #243222; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.035em; }
.hp-archive-heading p { max-width: 660px; margin: 10px 0 0; color: #52604d; line-height: 1.6; }
.hp-commerce { max-width: 1180px; margin-inline: auto; }
.wp-block-navigation a, .wp-block-post-title a { text-decoration-thickness: .08em; text-underline-offset: .15em; }

/* Homepage gift cards were historically styled by the retired child theme. */
.hp-home-gifts { box-sizing: border-box; width: min(calc(100% - 32px), 1180px); margin: 64px auto; padding: 40px; border: 1px solid #dfe7d8; border-radius: 18px; background: #f4f0e7; }
.hp-home-gifts .woocommerce ul.products { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0 !important; padding: 0; }
.hp-home-gifts .woocommerce ul.products::before, .hp-home-gifts .woocommerce ul.products::after { display: none !important; }
.hp-home-gifts .woocommerce ul.products li.product { display: flex !important; float: none !important; flex-direction: column; width: auto !important; min-width: 0; margin: 0 !important; padding: 14px 14px 16px !important; border: 1px solid #dfe7d8; border-radius: 16px; background: #fff; }
.hp-home-gifts .woocommerce-loop-product__link { display: flex; flex: 1; flex-direction: column; text-decoration: none; }
.hp-home-gifts .woocommerce ul.products li.product img { display: block; box-sizing: border-box; width: 100%; height: 260px; margin: 0 0 14px !important; border-radius: 10px; background: #f3f5ef; object-fit: contain; }
.hp-home-gifts .woocommerce-loop-product__title { min-height: 3.9em; padding: 0 !important; color: #243222 !important; font-size: 1rem !important; font-weight: 700 !important; line-height: 1.3; }
.hp-home-gifts .price { margin: 8px 0 14px !important; color: #397f35 !important; font-size: 1.125rem !important; font-weight: 800 !important; }
.hp-home-gifts .woocommerce ul.products li.product .button { display: flex !important; align-items: center; justify-content: center; min-height: 46px; margin-top: auto !important; border-radius: 999px !important; background: #245b2a !important; color: #fff !important; }
@media (max-width: 900px) { .hp-home-gifts .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hp-home-gifts { width: calc(100% - 24px); margin-block: 36px; padding: 22px 16px; } .hp-home-gifts .woocommerce ul.products { grid-template-columns: 1fr; gap: 18px; } .hp-home-gifts .woocommerce ul.products li.product img { height: 240px; } }

/* Commerce pages use the PHP header while Elementor remains a fallback elsewhere.
   Keep submenu lists out of the document flow until their parent is used. */
.hp-native-header { position: relative; z-index: 100; }
.hp-native-header .hp-native-nav__list > li { position: relative; }
.hp-native-header .hp-native-nav__list > li > .sub-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  z-index: 110 !important;
  display: grid !important;
  min-width: 220px;
  margin: 0 !important;
  padding: 9px !important;
  list-style: none;
  border: 1px solid #dfe7d8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(33,49,30,.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-5px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.hp-native-header .hp-native-nav__list > li:hover > .sub-menu,
.hp-native-header .hp-native-nav__list > li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.hp-native-header .hp-native-nav__list .sub-menu a { white-space: nowrap; }
@media (max-width: 700px) {
  .hp-shell { width: min(calc(100% - 24px), 1180px); }
  .hp-houtsoorten-archive { width: min(calc(100% - 24px), 1180px); }
  .hp-archive-heading > div { width: min(calc(100% - 24px), 1180px); padding: 26px 0 24px; }
}

.hp-footer-seo { background: #183221; color: #f4f8f0; }
.hp-footer-seo__inner { width: min(calc(100% - 32px), 1180px); margin-inline: auto; padding: 48px 0 54px; }
.hp-footer-seo__intro { max-width: 620px; margin-bottom: 32px; }
.hp-footer-seo__eyebrow { margin: 0 0 8px; color: #a9d38e; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.hp-footer-seo h2 { margin: 0 0 12px; color: #fff; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.15; }
.hp-footer-seo__intro > p:last-child { margin: 0; max-width: 560px; color: #c9dcc4; line-height: 1.65; }
.hp-footer-seo__nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hp-footer-seo__nav > div { padding: 20px; border: 1px solid rgba(220, 239, 211, .2); border-radius: 16px; background: rgba(255,255,255,.045); }
.hp-footer-seo h3 { margin: 0 0 14px; color: #dcebd5; font-size: 1rem; }
.hp-footer-seo a { display: block; width: fit-content; margin: 0 0 9px; color: #fff; text-decoration: none; line-height: 1.45; }
.hp-footer-seo a:hover { color: #b9dc9f; text-decoration: underline; text-underline-offset: .15em; }
@media (max-width: 700px) {
  .hp-footer-seo__inner { width: min(calc(100% - 24px), 1180px); padding: 36px 0 42px; }
  .hp-footer-seo__nav { grid-template-columns: 1fr; gap: 14px; }
}

body.page-id-728 .elementor-element-29ee5405 { background: #f7f8f3; padding: 48px 16px 64px; }
body.page-id-728 .elementor-element-29ee5405 > .elementor-container { width: min(100%, 1180px); max-width: 1180px; margin-inline: auto; gap: 28px; align-items: stretch; }
body.page-id-728 .elementor-element-29ee5405 > .elementor-container > .elementor-column { width: auto; border: 1px solid #dfe7d8; border-radius: 24px; background: #fff; box-shadow: 0 10px 28px rgba(33,49,30,.07); }
body.page-id-728 .elementor-element-69c42b02 { flex: 1 1 0; padding: 32px; }
body.page-id-728 .elementor-element-6a534836 { flex: 0 0 340px; padding: 32px; }
body.page-id-728 .elementor-element-6d11c9fc form { max-width: none; }
body.page-id-728 .elementor-element-6d11c9fc form h3 { margin: 0 0 16px; color: #243222; font-size: 1.25rem; }
body.page-id-728 .elementor-element-6d11c9fc form p { margin: 0 0 18px; }
body.page-id-728 .elementor-element-6d11c9fc form label { display: inline-block; margin-bottom: 7px; color: #344531; font-weight: 650; }
body.page-id-728 .elementor-element-6d11c9fc form input[type=text],body.page-id-728 .elementor-element-6d11c9fc form input[type=url],body.page-id-728 .elementor-element-6d11c9fc form input[type=email],body.page-id-728 .elementor-element-6d11c9fc form select,body.page-id-728 .elementor-element-6d11c9fc form textarea { box-sizing: border-box; width: 100%; min-height: 48px; border: 1px solid #cfd9c7; border-radius: 10px; background: #fff; padding: 11px 13px; color: #243222; font: inherit; }
body.page-id-728 .elementor-element-6d11c9fc form textarea { min-height: 112px; resize: vertical; }
body.page-id-728 .elementor-element-6d11c9fc form select[multiple] { min-height: 220px; }
body.page-id-728 .elementor-element-6d11c9fc form input:focus,body.page-id-728 .elementor-element-6d11c9fc form select:focus,body.page-id-728 .elementor-element-6d11c9fc form textarea:focus { outline: 3px solid rgba(76,175,67,.18); border-color: #4caf43; }
body.page-id-728 .elementor-element-6d11c9fc form input[type=radio],body.page-id-728 .elementor-element-6d11c9fc form input[type=checkbox] { accent-color: #397f35; }
body.page-id-728 .elementor-element-6d11c9fc form button[type=submit] { width: 100%; margin-top: 8px; border: 0; border-radius: 999px; background: #4caf43; color: #fff; padding: 14px 22px; font: inherit; font-weight: 750; cursor: pointer; }
body.page-id-728 .elementor-element-6d11c9fc form button[type=submit]:hover { background: #397f35; }
body.page-id-728 .elementor-element-6a534836 h2,body.page-id-728 .elementor-element-6a534836 h3 { color: #243222; }
body.page-id-728 .elementor-element-6a534836 p { color: #52604d; line-height: 1.65; }
body.page-id-728 .elementor-element-6a534836 strong { color: #397f35; }
@media (max-width: 800px) {
  body.page-id-728 .elementor-element-29ee5405 { padding: 28px 12px 44px; }
  body.page-id-728 .elementor-element-29ee5405 > .elementor-container { gap: 16px; }
  body.page-id-728 .elementor-element-69c42b02,body.page-id-728 .elementor-element-6a534836 { flex: 1 1 100%; padding: 24px; }
}

/* Keep legacy content-only pages readable while Elementor remains a fallback. */
body.page-template-elementor_header_footer.page:not(.page-id-728) > h1,
body.page-template-elementor_header_footer.page:not(.page-id-728) > h2,
body.page-template-elementor_header_footer.page:not(.page-id-728) > h3,
body.page-template-elementor_header_footer.page:not(.page-id-728) > p,
body.page-template-elementor_header_footer.page:not(.page-id-728) > ul,
body.page-template-elementor_header_footer.page:not(.page-id-728) > ol,
body.page-template-elementor_header_footer.page:not(.page-id-728) > table { width: min(calc(100% - 32px), 760px); margin-left: auto; margin-right: auto; }
body.page-template-elementor_header_footer.page:not(.page-id-728) > h1 { margin-top: 48px; margin-bottom: 18px; color: #243222; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.1; letter-spacing: -.03em; }
body.page-template-elementor_header_footer.page:not(.page-id-728) > h2 { margin-top: 34px; margin-bottom: 12px; color: #294b2d; font-size: 1.55rem; line-height: 1.25; }
body.page-template-elementor_header_footer.page:not(.page-id-728) > p,
body.page-template-elementor_header_footer.page:not(.page-id-728) > li { color: #465443; font-size: 1.05rem; line-height: 1.75; }
body.page-template-elementor_header_footer.page:not(.page-id-728) > p:last-of-type { margin-bottom: 56px; }
@media (max-width: 700px) {
  body.page-template-elementor_header_footer.page:not(.page-id-728) > h1,
  body.page-template-elementor_header_footer.page:not(.page-id-728) > h2,
  body.page-template-elementor_header_footer.page:not(.page-id-728) > h3,
  body.page-template-elementor_header_footer.page:not(.page-id-728) > p,
  body.page-template-elementor_header_footer.page:not(.page-id-728) > ul,
  body.page-template-elementor_header_footer.page:not(.page-id-728) > ol,
  body.page-template-elementor_header_footer.page:not(.page-id-728) > table { width: min(calc(100% - 24px), 760px); }
  body.page-template-elementor_header_footer.page:not(.page-id-728) > h1 { margin-top: 32px; }
}

body.postid-2013 .elementor-element-1d1409b2 { background: #eef3e9; padding: 54px 16px 42px; }
body.postid-2013 .elementor-element-1d1409b2 > .elementor-container { max-width: 1180px; margin-inline: auto; }
body.postid-2013 .elementor-element-1d1409b2 .elementor-heading-title { max-width: 900px; margin: 0 auto 18px; color: #243222; font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1.04; letter-spacing: -.045em; text-align: center; }
body.postid-2013 .elementor-element-1d1409b2 .elementor-widget-post-info { text-align: center; color: #5a6a56; }
body.postid-2013 .elementor-element-76bcf697 { background: #f7f8f3; padding: 48px 16px 56px; }
body.postid-2013 .elementor-element-76bcf697 > .elementor-container { max-width: 1180px; margin-inline: auto; gap: 32px; align-items: flex-start; }
body.postid-2013 .elementor-element-2934e510 { flex: 1 1 0; padding: 34px; border: 1px solid #dfe7d8; border-radius: 24px; background: #fff; box-shadow: 0 12px 34px rgba(33,49,30,.07); }
body.postid-2013 .elementor-element-2934e510 .elementor-widget-theme-post-featured-image img { display: block; width: 100%; border-radius: 18px; }
body.postid-2013 .elementor-element-2934e510 .elementor-widget-theme-post-content p { color: #465443; font-size: 1.06rem; line-height: 1.8; }
body.postid-2013 .elementor-element-2934e510 .elementor-widget-theme-post-content h2 { margin: 42px 0 14px; padding-left: 14px; border-left: 4px solid #4caf43; color: #294b2d; font-size: clamp(1.35rem, 2vw, 1.8rem); line-height: 1.25; }
body.postid-2013 .elementor-element-2934e510 .elementor-widget-theme-post-content a { color: #397f35; font-weight: 650; }
body.postid-2013 .elementor-element-3fdd02e6 { flex: 0 0 292px; position: sticky; top: 92px; padding: 24px; border: 1px solid #dfe7d8; border-radius: 20px; background: #203d28; box-shadow: 0 10px 28px rgba(33,49,30,.1); }
body.postid-2013 .elementor-element-3fdd02e6 h2,body.postid-2013 .elementor-element-3fdd02e6 h3 { color: #fff; }
body.postid-2013 .elementor-element-3fdd02e6 a { color: #dcebd5; text-decoration: none; line-height: 1.5; }
body.postid-2013 .elementor-element-3fdd02e6 a:hover { color: #b9dc9f; }
body.postid-2013 .elementor-element-63a761c4 { max-width: 1180px; margin-inline: auto; padding: 18px 16px; }
body.postid-2013 .elementor-element-54513b96 { background: #eef3e9; padding: 42px 16px 54px; }
body.postid-2013 .elementor-element-54513b96 .elementor-heading-title { color: #294b2d; }
@media (max-width: 900px) {
  body.postid-2013 .elementor-element-3fdd02e6 { flex-basis: 270px; }
}
@media (max-width: 767px) {
  body.postid-2013 .elementor-element-1d1409b2 { padding: 36px 12px 30px; }
  body.postid-2013 .elementor-element-76bcf697 { padding: 28px 12px 40px; }
  body.postid-2013 .elementor-element-2934e510 { padding: 22px; }
  body.postid-2013 .elementor-element-3fdd02e6 { position: static; flex-basis: auto; padding: 22px; }
}

/* Houtsoort details use the native knowledge-base payload within the legacy
   Elementor shell until that global Single template is migrated. */
body.single-houtsoort .elementor-widget-theme-post-title,
body.single-houtsoort .elementor-widget-theme-post-info,
body.single-houtsoort .elementor-widget-table-of-contents { display: none; }
body.single-houtsoort .elementor-widget-theme-post-content { width: min(100%, 1180px); margin-inline: auto; }
body.single-houtsoort .elementor-widget-theme-post-content .hp-hs-single { margin: 0 auto; }
