/* Shared page flow, shop controls, and deliberate tablet/mobile layouts. */
html{min-height:100%}
body{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
body.admin-bar{min-height:calc(100svh - 32px)}
body>main{flex:1 0 auto;width:100%;min-width:0}
.site-header,.site-footer,body>.hero,body>.benefits{flex:0 0 auto}
.site-footer{margin-top:auto;width:100%}
.wrap,.header-inner{max-width:calc(100% - 48px)}
.site-header .brand-image{width:96px!important;height:76px!important;object-fit:contain;max-width:none}
.header-tools{gap:12px}
.header-tools .tool,.menu-toggle{position:relative;align-items:center;justify-content:center;min-width:42px;min-height:44px;line-height:1;padding:9px}
.header-tools .tool{display:flex}
.header-tools svg,.menu-toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.header-tools .tool:hover{color:var(--gold)}
.header-tools .cart-count{position:absolute;top:1px;right:0;min-width:16px;height:16px;padding:2px 4px;margin:0;font-size:10px;line-height:12px;text-align:center}
.header-search>summary{list-style:none}
.footer-inner{gap:28px;align-items:center}
.footer-brand{min-width:0;max-width:600px;gap:20px}
.footer-brand .footer-logo{width:76px!important;height:60px!important;flex:0 0 76px;max-width:none;object-fit:contain}
.footer-brand span{line-height:1.7;overflow-wrap:anywhere}
.footer-links .menu{gap:12px 20px}
.footer-links a{display:inline-block;padding:6px 0}
.category-card{display:block;text-decoration:none;isolation:isolate;cursor:pointer;border-radius:3px}
.entry-content a.category-card:not(.button):not(.wp-block-button__link){text-decoration:none}
.category-card .category-link{color:var(--gold);font-size:12px}
.category-link>span{font-size:18px;margin-left:8px}
.category-card:focus-visible{outline:3px solid #b88a36;outline-offset:4px}
.category-card:hover .category-link{text-decoration:underline;text-underline-offset:4px}
.niorr-shop-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;clear:both;margin:24px 0 28px;padding:18px 0;border-block:1px solid #ddd5c7}
.woocommerce .niorr-shop-toolbar .woocommerce-result-count{float:none;margin:0;padding:0 0 12px;color:#746b5f;font-size:13px}
.woocommerce .niorr-shop-toolbar .woocommerce-ordering{float:none;margin:0;min-width:250px}
.niorr-ordering label{display:block;margin-bottom:8px;font-size:11px;letter-spacing:1.3px;text-transform:uppercase;color:#71634e}
.woocommerce .niorr-ordering select{appearance:none;-webkit-appearance:none;background:#fffdf8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23926b2f' stroke-width='1.5'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E") right 14px center/18px no-repeat;border:1px solid #c9b58e;border-radius:3px;min-height:48px;padding:12px 44px 12px 15px;width:100%;font:inherit;font-size:14px;color:#211d16;cursor:pointer;box-shadow:0 2px 4px #33291404}
.woocommerce .niorr-ordering select:hover{border-color:#b88a36}
.woocommerce .niorr-ordering select:focus-visible{outline:2px solid #b88a36;outline-offset:3px}
.woocommerce .niorr-shop ul.products{gap:24px}
.woocommerce .niorr-shop ul.products li.product{padding:14px!important;border:1px solid #e3dcd0;border-radius:4px;background:#fffdf9;display:flex;flex-direction:column}
.woocommerce .niorr-shop ul.products li.product>a.woocommerce-LoopProduct-link{display:block;flex:1;min-width:0}
.woocommerce .niorr-shop ul.products li.product img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:2px;margin:0 0 16px}
.woocommerce .niorr-shop ul.products li.product .woocommerce-loop-product__title{font-size:20px;line-height:1.3;margin:0 0 10px;padding:0;overflow-wrap:anywhere}
.woocommerce .niorr-shop ul.products li.product .price{font-size:15px;margin:0 0 10px}
.woocommerce .niorr-shop ul.products li.product .button{display:flex;align-items:center;justify-content:center;min-height:44px;width:100%;padding:11px 14px;margin-top:12px;text-align:center}
.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;justify-content:center;gap:8px}
.woocommerce nav.woocommerce-pagination ul li{border:0}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:42px;min-height:42px;display:grid;place-items:center;border:1px solid #d9cdb8;background:#fffdf8;color:#29241c}
.woocommerce nav.woocommerce-pagination ul li .current{background:#111110;color:#edbd68;border-color:#111110}
.niorr-product-layout>*{min-width:0}
.niorr-product-details h1{overflow-wrap:break-word}
.niorr-product-details .woocommerce-breadcrumb{line-height:1.6;overflow-wrap:anywhere}
.niorr-contact-layout>*{min-width:0}
#contactformulier{scroll-margin-top:24px}
.niorr-quote-summary{padding:22px;margin:0 0 28px;background:#f7f2e8;border:1px solid #ded0b5;border-radius:3px}
.niorr-quote-product{display:flex;gap:18px;align-items:center;margin-bottom:20px}
.niorr-quote-product>img{width:100px;height:84px;object-fit:cover;flex:0 0 100px;border-radius:2px}
.niorr-quote-product>div{min-width:0}
.niorr-quote-product .eyebrow{font-size:9px;letter-spacing:1.8px;margin-bottom:7px;color:#95713b}
.niorr-quote-product h2{font-size:23px;margin:0 0 8px;overflow-wrap:anywhere}
.niorr-quote-product a{font-size:12px;text-decoration:underline;text-underline-offset:3px}
.niorr-quote-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:0}
.niorr-quote-details>div{min-width:0}
.niorr-quote-details dt{color:#776b59;font-size:11px;margin-bottom:3px}
.niorr-quote-details dd{margin:0;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.niorr-quote-note{font-size:11px;line-height:1.6;color:#7a6d57;border-top:1px solid #e1d4be;padding-top:14px;margin:18px 0 0}
.niorr-quote-link[aria-busy=true]{opacity:.6;pointer-events:none}
.wc-block-cart .wc-block-components-button:not(.is-link),.wc-block-checkout .wc-block-components-button:not(.is-link){background:#111110;color:#edbd68;border-radius:2px;min-height:48px}
@media(max-width:1119px){
 .niorr-product-layout{width:calc(100% - 48px);max-width:760px;grid-template-columns:minmax(0,1fr);gap:28px}
 .niorr-product-main-image{height:clamp(280px,58vw,500px);min-height:0}
 .niorr-layout-trolley .summary,.niorr-layout-grate .summary{padding-top:0}
 .niorr-configured-product .niorr-product-page{padding-top:24px}
 .niorr-product-tabs{width:calc(100% - 48px);max-width:760px}
 .niorr-config-benefits{width:calc(100% - 48px);max-width:760px;gap:18px}
 .niorr-config-benefits article{padding-right:14px;gap:12px}
 .niorr-config-benefits svg{width:36px;height:36px;flex-basis:36px}
 .niorr-config-benefits h2{font-size:18px}
 .niorr-options-material .niorr-choice-body{flex-direction:row;min-height:68px;padding:12px 10px 12px 34px}
 .niorr-configurator .niorr-options-material .niorr-choice input[type=radio]{top:50%;left:10px;width:15px;height:15px;transform:translateY(-50%)}
 .niorr-contact-layout{grid-template-columns:minmax(0,1fr);max-width:760px}
 .niorr-contact-aside{padding:28px;display:grid;grid-template-columns:130px minmax(0,1fr);gap:0 28px;align-items:start}
 .niorr-contact-aside-logo{grid-row:1/6;width:120px;margin:0}
 .niorr-contact-aside .niorr-contact-aside-line{margin:12px 0}
 .footer-inner{align-items:flex-start;flex-direction:column;gap:20px}
 .footer-links{max-width:100%}
}
@media(max-width:1024px){
 .site-header,.header-inner{height:80px}
 .header-inner{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:12px;width:calc(100% - 40px);max-width:none;margin-inline:auto}
 .menu-toggle{display:flex;border:0;background:transparent;color:#fff;width:44px;cursor:pointer}
 .site-header .brand{width:auto;justify-self:start;justify-content:flex-start;align-items:center}
 .site-header .brand-image{width:84px!important;height:66px!important}
 .header-tools{display:flex;gap:4px;margin:0;justify-self:end}
 .header-tools .tool{width:40px;min-width:40px;height:44px;padding:9px}
 .primary-nav{display:none;position:absolute;top:80px;left:0;right:0;height:auto;max-height:calc(100svh - 80px);overflow-y:auto;background:#050505;border-top:1px solid #29261f;padding:12px 24px 20px;z-index:20}
 .primary-nav.open{display:block}
 .primary-nav .menu{height:auto;display:flex;flex-direction:column;align-items:stretch;gap:0;width:100%}
 .primary-nav li{width:100%}
 .primary-nav a{display:flex;align-items:center;width:100%;min-height:46px;padding:12px 0;font-size:15px;line-height:1.5}
 .primary-nav .sub-menu,.primary-nav .sub-menu .sub-menu{display:block;position:static;min-width:0;margin:0 0 8px 6px;padding:0 0 0 16px;box-shadow:none;border-left:1px solid #51412b;background:none}
 .primary-nav .sub-menu a{padding:10px 0;font-size:14px}
 .primary-nav a.active:after,.primary-nav .current-menu-item>a:after{bottom:6px;right:auto;width:32px}
 .primary-nav .menu-item-has-children>a::before{display:none}
 .header-search-panel{position:fixed;top:80px;left:20px;right:20px;width:auto;max-width:none;z-index:30;box-shadow:0 10px 24px #0004}
 .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .category-card{height:200px}
 .category-copy h2{font-size:23px}
 .category-copy{left:20px;bottom:18px}
 .woocommerce .niorr-shop ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}
 .benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
 .benefit,.benefit:first-child{padding:0;border:0;gap:14px}
 .benefits{padding:28px 0}
}
@media(max-width:1024px){.admin-bar .header-search-panel{top:112px}.admin-bar .primary-nav{max-height:calc(100svh - 112px)}}
@media(max-width:782px){body.admin-bar{min-height:calc(100svh - 46px)}.admin-bar .header-search-panel{top:126px}.admin-bar .primary-nav{max-height:calc(100svh - 126px)}}
@media(max-width:600px){
 .wrap{width:calc(100% - 36px);max-width:none}
 .header-inner{width:calc(100% - 24px);gap:8px;grid-template-columns:44px minmax(60px,1fr) auto}
 .site-header .brand-image{width:76px!important;height:60px!important}
 .header-tools{gap:0}
 .header-tools .tool{width:38px;min-width:38px;padding:8px}
 .header-search-panel{left:12px;right:12px}
 .hero{height:auto;min-height:440px;padding:44px 0;background-position:62% center}
 .hero:before{background:linear-gradient(90deg,#0f0f0ee6,#0f0f0e66)}
 .hero h1{font-size:clamp(32px,8.5vw,40px);line-height:1.1;letter-spacing:-.8px;max-width:100%}
 .hero p{font-size:14px;line-height:1.7;max-width:34rem}
 .hero .eyebrow{font-size:10px;letter-spacing:2.8px}
 .category-grid{gap:12px}
 .category-card{height:178px}
 .category-copy{left:14px;right:10px;bottom:14px}
 .category-copy h2{font-size:20px;line-height:1.15;overflow-wrap:break-word}
 .category-card .category-link{font-size:11px}
 .section-heading{flex-wrap:wrap;gap:10px 12px;margin-top:28px}
 .section-heading h2{font-size:24px}
 .all-products{font-size:11px}
 .heading-line{min-width:20px}
 .product-grid{gap:22px 14px}
 .product-name{font-size:13px;line-height:1.5}
 .product-price{font-size:13px}
 .product-image{aspect-ratio:1.2}
 .add-cart{min-height:42px;font-size:11px}
 .benefit-grid{gap:22px 16px}
 .benefit strong{font-size:12px;line-height:1.4;margin-bottom:5px}
 .benefit small{font-size:11px;line-height:1.5}
 .benefit-icon{font-size:27px}
 .site-footer{padding:28px 0}
 .footer-brand{gap:14px;align-items:center;max-width:100%}
 .footer-brand .footer-logo{width:64px!important;height:51px!important;flex-basis:64px}
 .footer-brand span{max-width:none;font-size:11px}
 .footer-links .menu{gap:6px 20px}
 .footer-links a{min-height:36px;display:flex;align-items:center;font-size:12px}
 .page-content{padding:30px 0 42px;min-height:0}
 .page-content h1{font-size:clamp(30px,8vw,38px);line-height:1.15;overflow-wrap:break-word}
 .entry-content{font-size:15px;line-height:1.75}
 .niorr-shop-toolbar{flex-direction:column;align-items:stretch;gap:16px;margin:20px 0;padding:18px 0}
 .woocommerce .niorr-shop-toolbar .woocommerce-result-count{padding:0}
 .woocommerce .niorr-shop-toolbar .woocommerce-ordering{width:100%;min-width:0}
 .woocommerce .niorr-ordering select{font-size:16px}
 .woocommerce .niorr-shop ul.products{gap:18px}
 .woocommerce .niorr-shop ul.products li.product{padding:12px!important}
 .woocommerce .niorr-shop ul.products li.product .woocommerce-loop-product__title{font-size:20px}
 .niorr-product-layout,.niorr-product-tabs,.niorr-config-benefits{width:calc(100% - 36px)}
 .niorr-product-layout{gap:24px}
 .niorr-configured-product .niorr-product-page{padding-top:18px}
 .niorr-product-main-image{height:auto;aspect-ratio:1.12;min-height:0}
 .niorr-product-main-image img.niorr-product-feature-image{height:100%;position:absolute;inset:0}
 .niorr-product-thumbnails{gap:8px;grid-template-columns:repeat(4,minmax(0,1fr))}
 .niorr-gallery-button .niorr-thumb{height:66px}
 .niorr-layout-trolley .summary,.niorr-layout-grate .summary{padding-top:0}
 .niorr-layout-trolley .niorr-product-details h1,.niorr-layout-grate .niorr-product-details h1{font-size:clamp(28px,8vw,34px);letter-spacing:-.5px;line-height:1.12}
 .niorr-product-details .woocommerce-breadcrumb{font-size:11px;margin-bottom:14px}
 .niorr-product-details .woocommerce-product-details__short-description{font-size:14px;margin-bottom:18px}
 .niorr-configurator .niorr-field select,.niorr-configurator .niorr-field input,.niorr-extra-options textarea{font-size:16px;min-height:46px}
 .niorr-options-material .niorr-choice-body{flex-direction:column;padding:18px 4px 10px;gap:7px;min-height:90px}
 .niorr-configurator .niorr-options-material .niorr-choice input[type=radio]{top:7px;left:7px;transform:none;width:13px;height:13px;min-height:0}
 .niorr-choice-label{font-size:12px}
 .niorr-options-color .niorr-choice-label{font-size:11px}
 .niorr-options-radio .niorr-choice-body{min-height:36px;padding-left:30px}
 .niorr-options-radio .niorr-choice-label{font-size:14px;line-height:1.45}
 .woocommerce .niorr-product-shell form.cart .single_add_to_cart_button{font-size:11px;letter-spacing:.8px;padding:12px 14px;min-height:52px;gap:10px}
 .niorr-quote-link{font-size:11px;letter-spacing:.5px;white-space:normal;text-align:center;line-height:1.6}
 .niorr-config-benefits{grid-template-columns:minmax(0,1fr);gap:22px}
 .niorr-config-benefits article{padding:0;border:0;gap:16px}
 .niorr-config-benefits h2{font-size:22px}
 .niorr-config-benefits p{font-size:13px}
 .niorr-contact-hero{padding:34px 0}
 .niorr-contact-hero h1{font-size:clamp(30px,8vw,40px)}
 .niorr-contact-layout{padding-top:18px;gap:18px}
 .niorr-contact-card{padding:20px 16px}
 .niorr-contact-card h2{font-size:27px}
 .niorr-contact-fields{grid-template-columns:minmax(0,1fr)}
 .niorr-contact-fields input:not([type=checkbox]),.niorr-contact-fields select,.niorr-contact-fields textarea{font-size:16px;min-height:46px}
 .niorr-contact-fields textarea{min-height:150px}
 .niorr-contact-aside{padding:24px;display:block}
 .niorr-contact-aside-logo{width:96px;margin-bottom:24px}
 .niorr-quote-summary{padding:16px;margin-bottom:24px}
 .niorr-quote-product{align-items:flex-start;gap:12px}
 .niorr-quote-product>img{width:72px;height:72px;flex-basis:72px}
 .niorr-quote-product h2{font-size:21px}
 .niorr-quote-details{gap:14px 12px}
 .niorr-quote-details dd{font-size:12px}
 .wc-block-cart .wc-block-components-form input,.wc-block-checkout .wc-block-components-form input{font-size:16px}
}
@media(max-width:420px){.woocommerce .niorr-shop ul.products{grid-template-columns:minmax(0,1fr)}.niorr-quote-details{grid-template-columns:minmax(0,1fr)}.niorr-quote-product .eyebrow{letter-spacing:1px;font-size:8px}}

/* Give product photography breathing room below the navigation. */
.woocommerce.single-product .niorr-product-page{padding-top:40px}
.woocommerce .niorr-product-shell .summary{padding-top:0}
.woocommerce div.product .niorr-product-gallery .woocommerce-product-gallery__image a{display:block;border-radius:6px;overflow:hidden}
.woocommerce div.product .niorr-product-gallery .woocommerce-product-gallery__image:not(.flex-active-slide){border-radius:6px}
@media(max-width:1119px){.woocommerce.single-product .niorr-product-page{padding-top:30px}}
@media(max-width:600px){.woocommerce.single-product .niorr-product-page{padding-top:24px}}
