/* 1.2.1: the restaurant's house style on the guest pages. Values come from the body{--t-…} block of the layout. */
body.g-themed{
  --t-alert:var(--s-alert);
  /* The booking pages read the shared tokens; under the house style they follow the seven roles. */
  --g-canvas:var(--t-bg);--g-card:var(--t-surface);--g-ink:var(--t-ink);--g-text-2:var(--t-muted);
  --g-line:var(--t-line);--g-field:var(--t-line);--g-input:var(--t-line);
  --g-lime:var(--t-accent);--g-lime-ink:var(--t-accent-ink);--g-lime-hover:var(--t-accent-hover,var(--t-accent));
  --g-select:var(--t-accent);--g-quiet:var(--t-ink);--g-bar:var(--t-ink);--g-seg:var(--t-bg);--g-glow:none;
  --font:var(--t-font-body,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);
  --r-card:var(--t-radius,20px);--r-ctl:var(--t-radius,12px);--r-badge:var(--t-radius,8px);
  --bs-primary:var(--t-accent);--bs-link-color:var(--t-ink);--bs-link-hover-color:var(--t-ink);
  --bs-body-color:var(--t-ink);--bs-body-bg:var(--t-surface);--bs-body-font-family:var(--font);
  --bs-border-color:var(--t-line);--bs-border-radius:var(--r-ctl);
  background:var(--t-bg);color:var(--t-ink);font-family:var(--font)
}
body.g-themed :is(h1,h2,h3),body.g-themed.g-offer-public :is(h1,h2,h3){font-family:var(--t-font-head,var(--font));font-weight:var(--t-head-weight,550);color:var(--t-ink)}
body.g-themed :is(p,.footnote,.gap-text,.gap-intro,.gap-reference){color:var(--t-muted)}
body.g-themed a{color:inherit}
body.g-themed :focus-visible{outline:3px solid var(--t-accent);outline-offset:3px}
body.g-themed hr{border-top-color:var(--t-line)}
body.g-themed code{font-family:ui-monospace,Menlo,Consolas,monospace;color:var(--t-ink)}

/* Kop */
body.g-themed>header.g-theme-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 24px;min-height:72px;max-width:1240px;width:100%;margin:auto;padding:12px 40px;border-bottom:1px solid var(--t-line);background:var(--t-bg);color:var(--t-ink)}
body.g-themed .g-theme-mark{display:inline-flex;flex-direction:column;justify-content:center;min-width:0;text-decoration:none;color:var(--t-ink);font-family:var(--t-font-head,var(--font));line-height:1.2}
body.g-themed .g-theme-word{font-size:22px;font-weight:var(--t-head-weight,600);text-transform:var(--t-wordmark-case,none);letter-spacing:var(--t-wordmark-spacing,0);overflow-wrap:anywhere}
body.g-themed .g-theme-mark small{display:block;margin-top:2px;font-family:var(--font);font-size:12px;font-weight:400;letter-spacing:var(--t-wordmark-spacing,0);text-transform:var(--t-wordmark-case,none);color:var(--t-muted)}
body.g-themed .g-theme-logo{display:block;max-height:48px;max-width:220px;object-fit:contain}
body.g-themed .g-theme-nav{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px}
body.g-themed .g-theme-nav a:not(.button){display:inline;font-size:15px;text-decoration:none;color:var(--t-ink)}
body.g-themed .g-theme-nav a:not(.button):hover{text-decoration:underline;text-underline-offset:4px}
body.g-themed .g-theme-nav .button{min-height:44px;padding:10px 18px;margin:0}

/* Voet */
body.g-themed>footer.g-theme-foot{display:flex;flex-wrap:wrap;align-items:center;gap:12px 28px;max-width:1240px;width:100%;margin:auto;padding:28px 40px;border-top:1px solid var(--t-line);font-size:13px;color:var(--t-muted)}
body.g-themed>footer.g-theme-foot .g-theme-mark{margin-right:auto}
body.g-themed>footer.g-theme-foot .g-theme-word{font-size:17px}
body.g-themed>footer.g-theme-foot .g-theme-logo{max-height:32px}
body.g-themed>footer.g-theme-foot>a:not(.g-theme-mark){color:var(--t-ink);text-underline-offset:4px}

/* Knoppen */
body.g-themed .button,body.g-themed.g-offer-public .button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;background:var(--t-accent);color:var(--t-accent-ink);border:1px solid var(--t-accent);border-radius:var(--t-radius,12px);font:600 15px/1.4 var(--font);text-decoration:none;cursor:pointer}
body.g-themed .button:hover,body.g-themed.g-offer-public .button:hover{background:var(--t-accent-hover,var(--t-accent));border-color:var(--t-accent-hover,var(--t-accent))}
body.g-themed .button.secondary,body.g-themed.g-offer-public .g-pay-back,body.g-themed.g-offer-public>header .button.secondary{background:var(--t-surface);color:var(--t-ink);border-color:var(--t-line)}
body.g-themed .button.secondary:hover,body.g-themed.g-offer-public .g-pay-back:hover{background:var(--t-bg)}
body.g-themed .button.full{display:flex;width:100%}
body.g-themed .button:disabled,body.g-themed.g-offer-public .button:disabled{background:var(--t-bg);border-color:var(--t-line);color:var(--t-muted);cursor:not-allowed}
body.g-themed button:not(.button){color:var(--t-ink);background:var(--t-surface);border:1px solid var(--t-line);border-radius:var(--t-radius,8px)}

/* Velden */
body.g-themed :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea),body.g-themed.g-offer-public :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea){background:var(--t-surface);color:var(--t-ink);border:1px solid var(--t-line);border-radius:var(--t-radius,9px);font-family:var(--font)}
body.g-themed :is(input,select,textarea):focus{border-color:var(--t-accent);outline:2px solid var(--t-accent);outline-offset:1px}
body.g-themed :is(input,textarea)::placeholder{color:var(--t-muted);opacity:1}
body.g-themed input:-webkit-autofill,body.g-themed input:-webkit-autofill:hover,body.g-themed input:-webkit-autofill:focus{-webkit-text-fill-color:var(--t-ink);caret-color:var(--t-ink);-webkit-box-shadow:0 0 0 1000px var(--t-surface) inset;box-shadow:0 0 0 1000px var(--t-surface) inset}
body.g-themed select option{background:var(--t-surface);color:var(--t-ink)}
body.g-themed :is(input[type=checkbox],input[type=radio]){accent-color:var(--t-accent)}
body.g-themed :is(label,legend){color:var(--t-ink)}

/* Keuzechips */
body.g-themed .slots span{background:var(--t-surface);border:1px solid var(--t-line);border-radius:var(--t-radius,8px);color:var(--t-ink)}
body.g-themed .slots input:checked+span{background:var(--t-accent);border-color:var(--t-accent);color:var(--t-accent-ink)}
body.g-themed .slots input:focus-visible+span{outline:3px solid var(--t-accent);outline-offset:2px}
body.g-themed.g-offer-public :is(.a2-public-day,.a2-public-time)[aria-pressed="true"],body.g-themed.g-offer-public .a2-public-time[aria-pressed="true"] span{background:var(--t-accent);border-color:var(--t-accent);color:var(--t-accent-ink)}

/* Meldingen */
body.g-themed .errors,body.g-themed.g-offer-details .errors,body.g-themed .gt-error,body.g-themed [role=alert]:not(.errors):not(.gt-error){background:var(--t-surface);color:var(--t-ink);border:1px solid var(--t-alert);border-left-width:4px;border-radius:var(--t-radius,10px);padding:16px}
body.g-themed.g-offer-public .a2-booking-error{color:var(--t-ink);border-left:4px solid var(--t-alert);padding-left:12px}
body.g-themed :is(.notice,.gt-notice){background:var(--t-surface);color:var(--t-ink);border:1px solid var(--t-line);border-radius:var(--t-radius,10px)}
body.g-themed .intro-note{border-top-color:var(--t-line);color:var(--t-muted)}
body.g-themed .eyebrow{font-size:13px;font-weight:400;letter-spacing:0;text-transform:none;color:var(--t-muted)}

/* Bevestiging, kaarten en lijsten */
body.g-themed .confirmation h1,body.g-themed .hero h1{color:var(--t-ink)}
body.g-themed :is(.booking-card,.gt-checkout,.a2-public-book){background:var(--t-surface);border:1px solid var(--t-line);border-radius:var(--t-radius,20px);color:var(--t-ink)}
body.g-themed .categories a{background:var(--t-surface);border:1px solid var(--t-line);border-radius:var(--t-radius,30px);color:var(--t-ink);text-decoration:none}
body.g-themed .menu-section h2{color:var(--t-ink)}
body.g-themed article.dish{background:var(--t-surface);border:1px solid var(--t-line);border-radius:var(--t-radius,18px)}
body.g-themed article.dish :is(small,p){color:var(--t-muted)}
body.g-themed .g-category-photo,body.g-themed .dish .g-dish-photo{border-radius:var(--t-radius,10px)}
body.g-themed .gap-cards article{background:var(--t-surface);border-color:var(--t-line);border-radius:var(--t-radius,8px)}
body.g-themed :is(.gap-offer,.gap-block details,.ge-packages li){border-color:var(--t-line)}
body.g-themed .gap-hero{border-radius:var(--t-radius,6px)}
body.g-themed details>summary{color:var(--t-ink);cursor:pointer}
body.g-themed .gap-preview{background:var(--t-accent);color:var(--t-accent-ink)}

/* Tickets */
body.g-themed .gt-ticket{background:var(--t-surface);color:var(--t-ink);border:1px solid var(--t-line);border-top:7px solid var(--t-accent);border-radius:var(--t-radius,16px)}
body.g-themed .gt-qr{background:white;padding:8px;border-radius:0}
body.g-themed .gt-reference{color:var(--t-muted)}
body.g-themed label.gt-check{color:var(--t-ink);align-items:flex-start}
body.g-themed label.gt-check input{flex:none;width:auto;margin-top:5px}

/* Fout- en privacypagina */
body.g-themed .g-theme-page{max-width:720px;padding:72px 0 96px}
body.g-themed .g-theme-page h1{font-size:40px;line-height:1.15;letter-spacing:-.5px;margin:0 0 16px}
body.g-themed .g-theme-page h2{font-size:21px;letter-spacing:0;margin:32px 0 8px}
body.g-themed .g-theme-page .button{margin-top:24px;padding:10px 20px}

@media(max-width:800px){
  body.g-themed>header.g-theme-head{padding:12px 20px;min-height:64px}
  body.g-themed>footer.g-theme-foot{padding:24px 20px}
  body.g-themed .g-theme-word{font-size:18px}
  body.g-themed .g-theme-nav{gap:8px 16px}
  body.g-themed .g-theme-nav a:not(.button){font-size:14px}
  body.g-themed .g-theme-page{padding:40px 0 64px}
  body.g-themed .g-theme-page h1{font-size:30px}
}
@media(max-width:700px){
  body.g-themed.g-offer-public>header.g-theme-head{padding:12px 16px}
  body.g-themed.g-offer-public .g-theme-nav a:not(.button){display:inline}
}
@media(max-width:430px){
  body.g-themed .g-theme-nav{width:100%}
  body.g-themed .g-theme-nav .button{margin-left:auto}
}

/* 1.2.2: with head links the page has no own way back; on a phone the booking page keeps room under the head. */
@media(max-width:700px){body.g-themed.g-offer-public .a2-public-page--head-back{padding-top:var(--sp-4)}}
