/*
Theme Name: Boon Repair Reparatie
Author: Boon Repair & Telecom
Description: Licht thema voor de reparatieomgeving, passend bij de Shopify-webshop.
Version: 1.3.0
Text Domain: boon-repair-reparatie
*/

:root {
  --boon-green: #4d6417;
  --boon-green-dark: #3f5310;
  --boon-black: #202020;
  --boon-text: #171717;
  --boon-soft: #f5f5f3;
  --boon-border: #deded9;
  --boon-width: 1370px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--boon-text); background: #fff; font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
.boon-wrap { width: min(calc(100% - 40px), var(--boon-width)); margin: 0 auto; }

.boon-simple-header { background: var(--boon-green); color: #fff; border-bottom: 6px solid #050505; }
.boon-simple-inner { min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.boon-logo { display: inline-flex; flex-direction: column; width: max-content; line-height: 1; color: #fff; }
.boon-logo-main { font-size: 43px; font-weight: 800; letter-spacing: -3px; }
.boon-logo-sub { margin-top: 1px; font-size: 11px; letter-spacing: -.25px; }
.boon-logo-area { justify-self: center; display: flex; align-items: center; justify-content: center; }
.boon-logo-area .custom-logo-link { display: flex; align-items: center; justify-content: center; }
.boon-logo-area .custom-logo { display: block; width: auto; max-width: 190px; height: auto; max-height: 62px; object-fit: contain; }
.boon-back { justify-self: start; display: inline-flex; min-height: 44px; align-items: center; gap: 7px; padding: 0 16px 0 11px; border: 1px solid rgba(255,255,255,.8); border-radius: 24px; color: #fff; font-size: 15px; font-weight: 700; transition: background .2s, color .2s; }
.boon-back svg { width: 22px; height: 22px; }
.boon-back:hover, .boon-back:focus-visible { background: #fff; color: var(--boon-green-dark); outline: none; }
.boon-page-label { justify-self: end; display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; }
.boon-page-label svg { width: 25px; height: 25px; }

.boon-main { background: var(--boon-soft); padding: 38px 0 64px; }
.boon-repair-shell { width: min(calc(100% - 32px), 1370px); margin: 0 auto; background: #fff; border: 1px solid #e7e7e3; border-radius: 18px; box-shadow: 0 12px 35px rgba(0,0,0,.06); overflow: visible; }
.boon-repair-head { padding: 32px 38px 22px; border-bottom: 1px solid #ededeb; }
.boon-eyebrow { margin: 0 0 8px; color: var(--boon-green); font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.boon-repair-head h1 { margin: 0; font-size: clamp(28px, 4vw, 44px); letter-spacing: -1.5px; }
.boon-repair-head p { margin: 10px 0 0; color: #595959; font-size: 16px; }
.boon-plugin { min-height: 480px; padding: 30px 38px 46px; }

.boon-footer { padding: 55px 0 50px; background: var(--boon-black); color: #fff; }
.boon-footer-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr 2fr; gap: 54px; }
.boon-footer h3 { margin: 0 0 22px; font-size: 16px; }
.boon-footer a { display: block; margin: 0 0 13px; color: #eee; font-size: 14px; }
.boon-footer a:hover { text-decoration: underline; }
.boon-newsletter p { color: #d1d1d1; font-size: 13px; line-height: 1.7; }
.boon-newsletter-form { display: flex; gap: 10px; margin-top: 18px; }
.boon-newsletter-form input { flex: 1; min-width: 0; height: 50px; padding: 0 18px; border: 1px solid #fff; border-radius: 26px; background: transparent; color: #fff; }
.boon-newsletter-form button { padding: 0 24px; border: 1px solid #fff; border-radius: 26px; background: var(--boon-green); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.boon-footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid #404040; color: #aaa; font-size: 12px; }

@media (max-width: 980px) {
  .boon-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  .boon-wrap { width: min(calc(100% - 24px), var(--boon-width)); }
  .boon-simple-header { border-bottom-width: 4px; }
  .boon-simple-inner { min-height: 72px; grid-template-columns: 1fr auto 1fr; gap: 8px; }
  .boon-logo-main { font-size: 34px; }
  .boon-logo-sub { font-size: 9px; }
  .boon-logo-area .custom-logo { max-width: 145px; max-height: 50px; }
  .boon-back { min-height: 40px; padding: 0 10px 0 7px; font-size: 14px; }
  .boon-back svg { width: 20px; }
  .boon-page-label { gap: 6px; font-size: 14px; }
  .boon-page-label svg { width: 20px; height: 20px; }
  .boon-main { padding: 20px 0 38px; }
  .boon-repair-shell { width: calc(100% - 20px); border-radius: 13px; }
  .boon-repair-head { padding: 24px 20px 18px; }
  .boon-plugin { padding: 20px 10px 30px; }
  .boon-footer { padding: 40px 0; }
  .boon-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .boon-newsletter-form { flex-direction: column; }
  .boon-newsletter-form button { height: 50px; }
}

@media (max-width: 420px) {
  .boon-back span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .boon-back { width: 40px; padding: 0; justify-content: center; }
  .boon-page-label svg { display: none; }
}
