/* Boeken: paneel schuift in van rechts, de pagina blijft staan */
.cm .mbar{display:none}
@media (max-width:900px){
  .cm .mbar{display:flex;position:fixed;left:10px;right:10px;bottom:calc(10px + env(safe-area-inset-bottom,0px));z-index:45;align-items:center;justify-content:space-between;gap:10px;padding:8px 8px 8px 16px;border-radius:999px;background:rgba(29,24,32,.94);color:#F3ECF2;font:400 13.5px 'Onest',system-ui,sans-serif;box-shadow:0 18px 40px -18px rgba(0,0,0,.6);transform:translateY(140%);transition:transform .45s cubic-bezier(.16,1,.3,1)}
  .cm .mbar.on{transform:none}
  .cm .mbar b{font-weight:600}
  .cm .mbar a{min-height:44px;display:inline-flex;align-items:center;padding:0 18px;border-radius:999px;background:#F0B3AE;color:#1D1820;font-weight:600;text-decoration:none;white-space:nowrap}
  .cm-clock{display:none!important}
  footer{padding-bottom:88px!important}
}
.cm .drawer{position:fixed;inset:0 0 0 auto;margin:0;height:100%;max-height:none;width:min(480px,100%);max-width:none;border:0;padding:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;background:#FBF6F1;color:#1D1820;box-shadow:-30px 0 60px -30px rgba(0,0,0,.45);font-family:'Onest',system-ui,sans-serif}
.cm .drawer *,.cm .drawer *::before,.cm .drawer *::after{box-sizing:border-box}
.cm .drawer[open]{animation:cmslide .5s cubic-bezier(.16,1,.3,1)}
@media (prefers-reduced-motion:reduce){.cm .drawer[open]{animation:none}}
@keyframes cmslide{from{transform:translateX(100%)}}
.cm .drawer::backdrop{background:rgba(20,22,28,.42)}
.cm .drawer .in{min-height:100%;display:flex;flex-direction:column}
.cm .drawer .bk-body{flex:1;padding:0 20px 20px;display:grid;grid-template-columns:minmax(0,1fr);gap:16px;align-content:start}
.cm .drawer .bk-body>*{min-width:0}
.cm .drawer [hidden]{display:none!important}
/* kop */
.cm .dtop{position:sticky;top:0;z-index:3;background:#FBF6F1;padding:16px 20px 10px;display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.cm .dtop .r1{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0}
/* titel: id in de selector, zodat de koppen-opmaak van de site (section.dg-anker:not(#top) h2, 44-96 px) hier niet wint;
   lange woorden (Бронирование, fi) breken af in plaats van het paneel breder te maken (I3, 27-11) */
.cm .drawer .dtop h2#cmDrTitle{font-family:'Instrument Serif',serif;font-weight:400;font-size:36px;line-height:1;margin:0;min-width:0;overflow-wrap:anywhere}
.cm .dtop .x{width:44px;height:44px;flex:none;border-radius:999px;border:1px solid rgba(29,24,32,.25);background:transparent;color:inherit;font-size:22px;line-height:1;cursor:pointer}
.cm .dtop .x:hover{background:rgba(29,24,32,.06)}
.cm .bk-stappen{display:flex;gap:6px;align-items:center;font:500 12px 'Onest',system-ui,sans-serif;color:#5A5260}
.cm .bk-stappen i{flex:1;height:3px;border-radius:3px;background:rgba(29,24,32,.12);overflow:hidden;position:relative}
.cm .bk-stappen i::after{content:'';position:absolute;inset:0;background:#B23A48;transform:scaleX(var(--k,0));transform-origin:left;transition:transform .4s cubic-bezier(.16,1,.3,1)}
/* maandknoppen */
.cm .bk-chips{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 -20px;padding:2px 20px 4px;scroll-padding:0 20px}
.cm .bk-chips::-webkit-scrollbar{display:none}
.cm .bk-chip{flex:none;display:grid;justify-items:start;gap:0;min-height:44px;padding:5px 12px;border-radius:12px;border:1px solid rgba(29,24,32,.16);background:#FFFDF9;color:#1D1820;font:500 13.5px 'Onest',system-ui,sans-serif;cursor:pointer;text-transform:capitalize;line-height:1.2}
.cm .bk-chip small{font:400 11px 'JetBrains Mono',monospace;opacity:.7;text-transform:none}
.cm .bk-chip.vol{opacity:.45}
.cm .bk-chip.nu{border-color:#1D1820;background:#1D1820;color:#FBF6F1}
.cm .bk-chip:focus-visible,.cm .day:focus-visible,.cm .bk-snel button:focus-visible,.cm .bk-gst button:focus-visible{outline:2px solid #B23A48;outline-offset:2px}
/* gasten */
.cm .bk-gst{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:8px 8px 8px 16px;border-radius:16px;background:rgba(29,24,32,.05)}
.cm .bk-gst .bk-lb{font-size:15px}
.cm .bk-gst .bk-st{display:flex;align-items:center;gap:4px}
.cm .bk-gst button{width:44px;height:44px;border-radius:999px;border:1px solid rgba(29,24,32,.2);background:#FFFDF9;color:#1D1820;font:500 20px/1 'Onest',system-ui,sans-serif;cursor:pointer}
.cm .bk-gst button:disabled{opacity:.3;cursor:default}
.cm .bk-gst output{min-width:76px;text-align:center;font:500 15px 'Onest',system-ui,sans-serif}
/* kalender */
.cm .months{display:grid;grid-template-columns:minmax(0,1fr);gap:22px}
.cm .month{scroll-margin-top:var(--cm-dtop,150px)}
.cm .month h3{font-size:16px;font-weight:600;margin:0 0 10px;text-transform:capitalize}
.cm .dow,.cm .days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.cm .dow span{font-family:'JetBrains Mono',monospace;font-size:11px;text-align:center;opacity:.6;padding-bottom:4px;text-transform:lowercase}
.cm .day{aspect-ratio:1/1.08;min-height:44px;border:0;border-radius:11px;background:rgba(29,24,32,.06);color:#1D1820;font:500 14px 'Onest',system-ui,sans-serif;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:0;transition:background-color .15s}
.cm .day small{font-family:'JetBrains Mono',monospace;font-size:9.5px;opacity:.75;font-weight:400}
.cm .day:hover:not(:disabled):not(.sel):not(.edge):not(.nee){background:rgba(29,24,32,.14)}
.cm .day:disabled{cursor:default;opacity:.28}
.cm .day.booked{background:transparent;text-decoration:line-through;opacity:.38;cursor:default}
.cm .day.nee{background:transparent;opacity:.32}
.cm .day.nee small{visibility:hidden}
.cm .day.dep{background:rgba(29,24,32,.06);opacity:1;text-decoration:none}
.cm .day.lm{box-shadow:inset 0 0 0 1.5px #E58C93}
.cm .day.sel,.cm .day.pre{background:#F6CFCB;opacity:1;text-decoration:none}
.cm .day.edge{background:#B23A48;color:#FFF8F4;opacity:1;text-decoration:none}
.cm .day.edge small{visibility:visible;opacity:.85}
.cm .day.blank{visibility:hidden}
.cm .legend{display:flex;flex-wrap:wrap;gap:8px 14px;font-size:12.5px;opacity:.85}
.cm .legend i{display:inline-block;width:13px;height:13px;border-radius:4px;vertical-align:-2px;margin-right:6px}
.cm .note{font-size:12.5px;line-height:1.5;color:#5A5260;margin:0}
/* snelkeuze aantal nachten */
.cm .bk-snel{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.cm .bk-snel span{font-size:13px;opacity:.8;margin-right:2px}
.cm .bk-snel button{min-height:40px;padding:0 14px;border-radius:999px;border:1px solid rgba(243,236,242,.35);background:transparent;color:#F3ECF2;font:500 14px 'Onest',system-ui,sans-serif;cursor:pointer}
.cm .bk-snel button:hover{background:rgba(243,236,242,.12);border-color:#F3ECF2}
/* stap 2 */
.cm .terug{justify-self:start;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid rgba(29,24,32,.25);background:transparent;font:500 14px 'Onest',system-ui,sans-serif;cursor:pointer;color:inherit}
.cm .bk-kaart{border-radius:18px;background:#FFFDF9;border:1px solid rgba(29,24,32,.1);padding:14px 16px;display:grid;gap:8px}
.cm .bk-kaart .bk-kt{display:flex;justify-content:space-between;align-items:baseline;gap:10px}
.cm .bk-kaart .bk-kt b{font-size:15.5px;font-weight:600}
.cm .bk-kaart .bk-kt button{border:0;background:none;color:#B23A48;font:500 14px 'Onest',system-ui,sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:6px 0;min-height:36px}
.cm .bk-kaart .bk-ks{font-size:14px;color:#5A5260;margin:0}
.cm dl.bk-regels{margin:0;display:flex;flex-direction:column;gap:6px;font-variant-numeric:tabular-nums;font-size:14.5px}
.cm dl.bk-regels div{display:flex;justify-content:space-between;gap:12px}
.cm dl.bk-regels div.info{opacity:.75;font-size:13.5px}
.cm dl.bk-regels div.tot{border-top:1px solid rgba(29,24,32,.14);padding-top:8px;font-weight:600;font-size:15.5px}
.cm dl.bk-regels dd{margin:0;white-space:nowrap}
.cm dl.bk-regels .bron{font-size:12px;opacity:.65}
.cm .extras{border:0;margin:0;padding:10px 16px;border-radius:18px;background:rgba(29,24,32,.05);display:grid;gap:2px}
.cm .extras legend{float:left;width:100%;font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.06em;text-transform:uppercase;opacity:.7;padding:4px 0 2px}
.cm .extras .sub{font-size:13px;color:#5A5260;margin:0 0 4px;clear:both}
.cm .extras label{display:grid;grid-template-columns:22px minmax(0,1fr) auto;gap:10px;align-items:center;min-height:44px;cursor:pointer;font-size:15px}
.cm .extras input{width:20px;height:20px;accent-color:#B23A48;margin:0}
.cm .extras label span:last-child{font-family:'JetBrains Mono',monospace;font-size:12.5px;opacity:.8;white-space:nowrap}
@media (max-width:480px){.cm .extras label{grid-template-columns:22px minmax(0,1fr);row-gap:0;padding:4px 0}.cm .extras label span:last-child{grid-column:2;font-size:11.5px}}
.cm .gast{display:grid;gap:10px}
.cm .gast h3{font-family:'Instrument Serif',serif;font-weight:400;font-size:26px;margin:2px 0 0}
.cm .gast .twee{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cm .gast label{display:grid;gap:4px;font-size:13px;font-weight:500;color:#4A4350}
.cm .gast input{width:100%;min-width:0;min-height:48px;padding:0 14px;border-radius:14px;border:1px solid rgba(29,24,32,.2);background:#FFFDF9;font:400 16px 'Onest',system-ui,sans-serif;color:#1D1820}
.cm .gast input:focus{outline:2px solid #B23A48;outline-offset:1px}
.cm .gast input[aria-invalid="true"]{border-color:#B23A48;background:#FFF4F4}
/* 26-11: opmerking of vraag (optioneel), aan/uit via data-opmerking op #cmBoek */
.cm .gast textarea{width:100%;min-width:0;min-height:104px;padding:12px 14px;border-radius:14px;border:1px solid rgba(29,24,32,.2);background:#FFFDF9;font:400 16px/1.45 'Onest',system-ui,sans-serif;color:#1D1820;resize:vertical}
.cm .gast textarea:focus{outline:2px solid #B23A48;outline-offset:1px}
.cm .gast .bk-tip{font-size:12.5px;font-weight:400;line-height:1.45;color:#5A5260}
.cm .gast .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
@media (max-width:400px){.cm .gast .twee{grid-template-columns:minmax(0,1fr)}}
.cm .bk-zeker{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:14px}
.cm .bk-zeker li{display:grid;grid-template-columns:20px minmax(0,1fr);gap:10px;align-items:start}
.cm .bk-zeker svg{width:20px;height:20px;color:#2F7A55;margin-top:1px}
/* klaar */
.cm .bk-klaar{display:grid;gap:14px;justify-items:start;padding-top:6px}
.cm .bk-klaar .bk-vink{width:64px;height:64px;border-radius:999px;background:#E3F1E8;color:#2F7A55;display:grid;place-items:center}
.cm .bk-klaar .bk-vink svg{width:34px;height:34px}
.cm .bk-klaar h3{font-family:'Instrument Serif',serif;font-weight:400;font-size:36px;line-height:1.05;margin:0}
.cm .bk-klaar p{margin:0;font-size:15.5px;line-height:1.5}
.cm .bk-klaar ol{margin:0;padding-left:22px;list-style:decimal;display:grid;gap:6px;font-size:14.5px}
/* balk onderin */
.cm .sum{position:sticky;bottom:0;z-index:3;margin-top:auto;padding:12px 20px calc(14px + env(safe-area-inset-bottom,0px));background:#1D1820;color:#F3ECF2;display:grid;gap:8px;border-radius:22px 22px 0 0;box-shadow:0 -18px 40px -24px rgba(0,0,0,.5)}
.cm .sum p{margin:0}
.cm .sum .bk-rij{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cm .sum .bk-wat{min-width:0;display:grid;gap:2px}
.cm .sum .price{font-family:'Instrument Serif',serif;font-size:30px;line-height:1;white-space:nowrap}
.cm .sum .price span{font-family:'Onest',sans-serif;font-size:13.5px;opacity:.85}
.cm .sum .dates{font-size:13px;opacity:.85;line-height:1.35}
.cm .sum .go{flex:none;min-height:52px;padding:0 22px;border:0;border-radius:999px;background:#F0B3AE;color:#1D1820;font:600 16px 'Onest',system-ui,sans-serif;cursor:pointer;transition:transform .15s,background-color .2s}
.cm .sum .go:active{transform:scale(.97)}
.cm .sum .go.wacht{background:rgba(240,179,174,.35);color:#F3ECF2}
.cm .sum .go:disabled{opacity:.7;cursor:progress}
.cm .sum details{font-size:13.5px}
.cm .sum summary{cursor:pointer;opacity:.85;min-height:28px;display:flex;align-items:center;gap:6px;list-style:none}
.cm .sum summary::-webkit-details-marker{display:none}
.cm .sum summary::after{content:'';width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s}
.cm .sum details[open] summary::after{transform:rotate(-135deg)}
.cm .sum dl.bk-regels{padding-top:6px}
.cm .sum dl.bk-regels div.tot{border-color:rgba(243,236,242,.2)}
.cm .sum .msg{font-size:13.5px;line-height:1.4;padding:9px 12px;border-radius:12px;background:rgba(240,179,174,.18)}
.cm .sum .msg.goed{background:rgba(167,217,180,.2)}
@media (max-width:370px){.cm .sum .bk-rij{flex-direction:column;align-items:stretch}.cm .sum .go{width:100%}}
