/* ==========================================================================
   CamperBay.nl — shared site chrome (dark topbar + sticky header + slim
   category nav) for every inner page. Mirrors the homepage header so the whole
   site matches. Scoped under .cp-chrome and self-contained (own tokens) so it
   is independent of mp.css / bootstrap / per-page CSS.
   ========================================================================== */
.cp-chrome{--pine:#1F3D30;--pine-2:#2E5A45;--fern:#4E8163;--amber:#E08A2C;--ink:#15211C;--paper:#EFF1ED;--card:#fff;--mist:#E2E7E1;--line:#CBD4CC;--muted:#5C6A62;font-family:"Inter",system-ui,-apple-system,sans-serif}
.cp-chrome *{box-sizing:border-box}
.cp-chrome a{color:inherit;text-decoration:none}
.cp-chrome button{font:inherit;cursor:pointer}
.cp-chrome .cp-wrap{max-width:1280px;margin:0 auto;padding:0 24px}

/* dark topbar */
.cp-topbar{background:var(--ink);color:#D6DED8;font-size:12.5px}
.cp-topbar .cp-wrap{display:flex;align-items:center;justify-content:space-between;height:36px}
.cp-topbar .left{display:flex;gap:18px;align-items:center}
.cp-topbar .left span{display:flex;align-items:center;gap:6px}
.cp-topbar .dot{width:5px;height:5px;border-radius:50%;background:var(--fern);display:inline-block;flex-shrink:0}
.cp-topbar .langs{display:flex;gap:2px}
.cp-topbar .langs a{color:#8FA096;padding:3px 8px;border-radius:6px;font-weight:600;letter-spacing:.06em;font-size:12px}
.cp-topbar .langs a.active{background:rgba(255,255,255,.1);color:#fff}
.cp-topbar .langs a:hover{color:#fff}

/* sticky header bar */
.cp-header{position:sticky;top:0;z-index:1030;background:rgba(239,241,237,.92);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.cp-header .cp-wrap{display:flex;align-items:center;gap:22px;height:64px}
.cp-header .brand{display:flex;align-items:center;gap:10px;flex-shrink:0}
.cp-header .brand .mark{width:34px;height:34px;border-radius:8px;background:var(--pine);display:grid;place-items:center}
.cp-header .brand .name{font-family:"Archivo",system-ui,sans-serif;font-weight:800;font-size:19px;letter-spacing:-.02em;color:var(--ink)}
.cp-header .brand .name b{color:var(--pine)}
.cp-header .brand .name i{font-style:normal;color:var(--amber)}
.cp-header .headsearch{flex:1;display:flex;align-items:center;gap:10px;background:var(--card);border:1px solid var(--line);border-radius:10px;padding:0 14px;height:42px;max-width:520px;color:var(--muted)}
.cp-header .headsearch:focus-within{border-color:var(--fern)}
.cp-header .headsearch input{border:0;outline:0;font:inherit;flex:1;background:none;color:var(--ink);height:100%;box-shadow:none;margin:0}
.cp-header .headsearch svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none;flex-shrink:0}
.cp-header .headnav{display:flex;align-items:center;gap:8px;margin-left:auto}
.cp-header .ghost{display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 14px;border-radius:10px;font-weight:500;font-size:14px;color:var(--pine);background:none;border:0}
.cp-header .ghost:hover{background:var(--mist)}
.cp-header .ghost svg{width:18px;height:18px;stroke:currentColor;stroke-width:1.8;fill:none}
.cp-header .btn-sell{display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 18px;border-radius:10px;font-weight:600;font-size:14px;background:var(--amber);color:#3a2408}
.cp-header .btn-sell:hover{filter:brightness(1.05)}
.cp-header .btn-sell svg{width:18px;height:18px;stroke:#3a2408;stroke-width:1.9;fill:none}

/* slim, scrollable category nav */
.cp-catnav{background:var(--card);border-bottom:1px solid var(--line)}
.cp-catnav .cp-wrap{display:flex;gap:2px;overflow-x:auto;height:46px;align-items:center;scrollbar-width:none}
.cp-catnav .cp-wrap::-webkit-scrollbar{display:none}
.cp-catnav a{white-space:nowrap;font-weight:600;font-size:13.5px;color:var(--muted);padding:8px 12px;border-radius:8px}
.cp-catnav a:hover{color:var(--pine);background:var(--mist)}

@media(max-width:820px){.cp-header .headsearch{display:none}.cp-header .ghost .txt{display:none}.cp-header .btn-sell .txt{display:none}}
@media(max-width:640px){.cp-topbar .left span:nth-child(2){display:none}.cp-header .cp-wrap{gap:12px}.cp-header .brand .name{font-size:17px}}
@media(prefers-reduced-motion:reduce){.cp-chrome *{animation:none!important;transition:none!important}}
.cp-chrome a:focus-visible,.cp-chrome button:focus-visible,.cp-chrome input:focus-visible{outline:3px solid var(--amber);outline-offset:2px;border-radius:6px}

/* ---- modern house-promo banner (replaces the old red SSCOM ad slot; mp_ad_slot) ---- */
.cp-sellbar{background:#15211C;border-radius:16px;padding:20px 24px;margin:2px 0 20px;display:flex;align-items:center;gap:20px;flex-wrap:wrap;position:relative;overflow:hidden;font-family:"Inter",system-ui,-apple-system,sans-serif}
.cp-sellbar::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,rgba(255,255,255,.05) 0 7px,transparent 7px 15px);-webkit-mask-image:linear-gradient(250deg,#000,transparent 65%);mask-image:linear-gradient(250deg,#000,transparent 65%);pointer-events:none}
.cp-sellbar__txt{position:relative;min-width:0}
.cp-sellbar__txt h3{font-family:"Archivo",system-ui,sans-serif;font-weight:700;font-size:18px;color:#fff;letter-spacing:-.01em;margin:0;line-height:1.2}
.cp-sellbar__txt p{font-size:13px;color:#A9BBB0;margin:3px 0 0;line-height:1.45}
.cp-sellbar__act{position:relative;margin-left:auto;display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.cp-sellbar__note{font-size:12.5px;color:#8FA096}
.cp-sellbar__cta{height:44px;padding:0 20px;border-radius:11px;background:#E08A2C;color:#3a2408;font-family:"Archivo",system-ui,sans-serif;font-weight:700;font-size:14px;display:inline-flex;align-items:center;gap:8px;text-decoration:none;white-space:nowrap;transition:filter .2s,transform .15s}
.cp-sellbar__cta:hover{filter:brightness(1.05);transform:translateY(-1px)}
.cp-sellbar__cta svg{stroke:#3a2408;fill:none}
.cp-sellbar--infeed{grid-column:1/-1}
@media(max-width:640px){.cp-sellbar{padding:18px 18px}.cp-sellbar__act{margin-left:0;width:100%}.cp-sellbar__txt p{display:none}.cp-sellbar__cta{flex:1;justify-content:center}}

/* ---- unified site footer (mirrors the homepage rich footer; dark, self-contained
   hex so it is independent of mp.css/token cascade). Explicit margin resets because
   inner pages lack the homepage's global *{margin:0} reset. ---- */
.cp-foot{background:#15211C;color:#9CACA2;padding:40px 0 28px;margin-top:32px;font-family:"Inter",system-ui,-apple-system,sans-serif;font-weight:400;line-height:1.5}
.cp-foot *{box-sizing:border-box}
.cp-foot a{color:inherit;text-decoration:none}
.cpf-wrap{max-width:1280px;margin:0 auto;padding:0 24px}
.cp-foot .fgrid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px;padding-bottom:30px;border-bottom:1px solid rgba(255,255,255,.09)}
.cp-foot .fcol h4{color:#fff;font-family:"Archivo",system-ui,sans-serif;font-weight:600;font-size:14px;margin:0 0 13px}
.cp-foot .fcol a{display:block;font-size:13.5px;margin:0 0 9px;transition:color .2s;cursor:pointer}
.cp-foot .fcol a:hover{color:#fff}
.cp-foot .fbrand .name{font-family:"Archivo",system-ui,sans-serif;font-weight:800;font-size:20px;color:#fff;margin:0 0 10px}
.cp-foot .fbrand p{font-size:13.5px;max-width:34ch;line-height:1.6;margin:0}
.cp-foot .fbot{display:flex;align-items:center;justify-content:space-between;padding-top:22px;font-size:12.5px;flex-wrap:wrap;gap:12px}
.cp-foot .fbot span{color:#9CACA2}
.cp-foot .fbot .pay{display:flex;gap:8px}
.cp-foot .fbot .pay span{border:1px solid rgba(255,255,255,.15);border-radius:6px;padding:4px 9px;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:11px;color:#9CACA2}
.cp-foot a:focus-visible{outline:3px solid #E08A2C;outline-offset:2px;border-radius:6px}
@media(max-width:820px){.cp-foot .fgrid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.cp-foot .fgrid{grid-template-columns:1fr}}

/* ---- location selector in the topbar (country -> region -> city) ---- */
.cp-topbar .left{gap:14px}
.cp-topbar .cp-topright{display:flex;align-items:center;gap:14px}
.cp-locwrap{position:relative}
.cp-deliver{display:inline-flex;align-items:center;gap:7px;height:26px;padding:0 9px;border:1px solid rgba(255,255,255,.14);border-radius:7px;background:rgba(255,255,255,.05);color:#D6DED8;font:inherit;font-size:12.5px;cursor:pointer}
.cp-deliver:hover{background:rgba(255,255,255,.1)}
.cp-deliver .dt-pin{width:14px;height:14px;stroke:var(--fern);stroke-width:1.9;fill:none;flex-shrink:0}
.cp-deliver .dt-l{color:#8FA096}
.cp-deliver .dt-v{font-weight:600;color:#fff}
.cp-deliver .dt-chev{width:12px;height:12px;stroke:#8FA096;stroke-width:2;fill:none}
.cp-locpop{position:absolute;top:32px;right:0;left:auto;width:320px;background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:0 26px 54px -24px rgba(21,33,28,.45);padding:16px;z-index:1200;display:none;color:var(--ink)}
.cp-locpop.open{display:block}
.cp-locpop h4{font-family:"Archivo",system-ui,sans-serif;font-weight:700;font-size:15px;margin:0}
.cp-locpop .lp-sub{font-size:12.5px;color:var(--muted);margin:4px 0 13px;line-height:1.45}
.cp-locpop .lp-countries{display:flex;flex-direction:column;gap:6px;margin-bottom:13px}
.cp-locpop .lp-country{display:flex;align-items:center;gap:10px;padding:9px 11px;border:1px solid var(--line);border-radius:9px;cursor:pointer;background:var(--paper);font:inherit;font-size:13.5px;font-weight:600;color:var(--ink);text-align:left;width:100%}
.cp-locpop .lp-country:hover{border-color:var(--fern);background:#fff}
.cp-locpop .lp-country.on{border-color:var(--pine);background:#f4f8f4}
.cp-locpop .lp-country .lc-c{margin-left:auto;font-family:"JetBrains Mono",ui-monospace,monospace;font-size:11px;color:var(--muted);font-weight:500}
.cp-locpop .flag{width:20px;height:14px;border-radius:3px;flex-shrink:0;box-shadow:0 0 0 1px rgba(0,0,0,.1)}
.cp-locpop .flag.nl{background:linear-gradient(#AE1C28 0 33.33%,#fff 33.33% 66.66%,#21468B 66.66%)}
.cp-locpop .flag.de{background:linear-gradient(#000 0 33.33%,#DD0000 33.33% 66.66%,#FFCE00 66.66%)}
.cp-locpop .flag.be{background:linear-gradient(90deg,#000 0 33.33%,#FAE042 33.33% 66.66%,#ED2939 66.66%)}
.cp-locpop .lp-field{margin-bottom:9px}
.cp-locpop .lp-field label{display:block;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:5px}
.cp-locpop .lp-field select{width:100%;height:40px;border:1px solid var(--line);border-radius:9px;background:var(--paper);padding:0 34px 0 11px;font:inherit;font-size:13.5px;color:var(--ink);cursor:pointer}
.cp-locpop .lp-field select:disabled{opacity:.5;cursor:not-allowed}
.cp-locpop .lp-apply{width:100%;height:42px;margin-top:6px;border:0;border-radius:10px;background:var(--pine);color:#fff;font-family:"Archivo",system-ui,sans-serif;font-weight:700;font-size:14px;cursor:pointer}
.cp-locpop .lp-apply:hover{background:var(--pine-2)}
@media(max-width:640px){.cp-topbar .tb-ship{display:none}.cp-locpop{width:284px}}

/* GeoNames CC BY 4.0 attribution (migration 066 — postal/location data) */
.cp-foot .fbot .fgeo{font-size:11.5px;opacity:.75}
.cp-foot .fbot .fgeo a{color:#9CACA2;text-decoration:underline}
