/* =========================================================
   Sandjes Catering — CLEAN style.css (single source of truth)
   ========================================================= */

/* =========================
   VARIABLES
   ========================= */
:root{
  --sjc-ink:#3c2f3f;
  --sjc-primary:#9f6e92;
  --sjc-primary-700:#7f5576;
  --sjc-primary-50:#f3ecf2;
  --sjc-bg:#fff;

  --ink:#2b2b2b;
  --muted:#717171;
  --line:#ececec;

  --container:1100px;
}

/* =========================
   RESET & BASE
   ========================= */
*{box-sizing:border-box}
html,body{
  margin:0;
  background:var(--sjc-bg);
  color:var(--sjc-ink);
  font-family:Quicksand,Arial,Helvetica,sans-serif;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/* =========================
   HELPERS
   ========================= */
.container{width:var(--container);max-width:92%;margin:0 auto}
.section{padding:40px 0}
.section h2{
  font-family:"Playfair Display",serif;
  font-size:26px;
  margin:0 0 16px;
}
.eyebrow{
  display:inline-block;
  margin-bottom:8px;
  color:var(--sjc-primary);
  font-size:12px;
  font-weight:800;
  letter-spacing:1.5px;
  text-transform:uppercase;
}
.muted{color:#6b6270}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}

/* =========================
   BUTTONS
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border:2px solid transparent;
  border-radius:999px;
  background:var(--sjc-primary);
  color:#fff;
  font-weight:700;
  letter-spacing:.2px;
  transition:.2s;
  cursor:pointer;
}
.btn:hover{background:var(--sjc-primary-700)}
.btn.outline{
  background:transparent;
  color:var(--sjc-primary);
  border-color:var(--sjc-primary);
}
.btn-icon{display:inline-flex;align-items:center;gap:8px;font-weight:700}
.btn-icon img{width:18px;height:18px}

/* =========================
   HEADER / NAV
   ========================= */
header{
  position:sticky;
  top:0;
  z-index:10000;
  background:rgba(255,255,255,.9);
  border-bottom:1px solid #eee;
  -webkit-backdrop-filter:saturate(140%) blur(6px);
  backdrop-filter:saturate(140%) blur(6px);
  overflow:visible;
}
nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 0;
  position:relative;
  z-index:10001;
}
.brand{display:flex;align-items:center}
.brand__logo{
  width:40px;
  margin-right:12px;
  border-radius:50%;
  background:var(--sjc-primary);
  overflow:hidden;
}
.brand__logo img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.brand strong{font-weight:800}

.nav__links{display:flex;align-items:center}
.nav__links a{margin:0 10px;font-weight:700}

.nav__cta{display:flex;align-items:center;gap:10px}
.nav__cta .btn{margin-left:0}

/* hamburger + drawer */
.burger{display:none}
.drawer{display:none}

/* MOBILE NAV */
@media (max-width:860px){
  .nav__links{display:none !important;}
  .burger{
    display:inline-flex !important;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    border:0;
    background:transparent;
    font-size:24px;
    cursor:pointer;
    z-index:20002;
    -webkit-tap-highlight-color:transparent;
  }

  .drawer{
    position:fixed;
    top:60px;
    left:0;
    right:0;
    bottom:0;
    background:#fff;
    border-top:1px solid #eee;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    z-index:20000;
  }
  .drawer.open{display:block;}
  .drawer a{
    display:block;
    padding:14px 16px;
    border-bottom:1px solid #eee;
    font-weight:700;
  }
  body.no-scroll{overflow:hidden;}
}

/* =========================
   TOPBAR (optional)
   ========================= */
.topbar{background:linear-gradient(180deg,#c9b2c5,#b99fba);color:#fff}
.topbar .inner{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 16px;
  font-size:14px
}

/* =========================
   HERO (home)
   ========================= */
.hero{
  position:relative;
  background:url("images/cat1.JPG") center/cover no-repeat;
  color:#fff;
  text-align:center;
  padding:80px 0;
}
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(159,110,146,.65);
}
.hero .content{position:relative;z-index:1}
.hero-subtitle{display:flex;justify-content:center;margin-bottom:15px}
.hero-subtitle img{width:90px;height:90px;border-radius:50%;object-fit:cover;opacity:.95}
.hero h1{font-family:"Playfair Display",serif;font-size:36px;margin:0 0 16px}
.hero p{max-width:600px;margin:0 auto 20px;font-size:16px}
/* =========================
   restaurant
   ========================= */
.heror{
  position:relative;
  background:url("images/restaurant.jpeg") center/cover no-repeat;
  color:#fff;
  text-align:center;
  padding:80px 0;
}
.heror::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(159,110,146,.65);
}
.heror .content{position:relative;z-index:1}
.heror-subtitle{display:flex;justify-content:center;margin-bottom:15px}
.heror-subtitle img{width:90px;height:90px;border-radius:50%;object-fit:cover;opacity:.95}
.heror h1{font-family:"Playfair Display",serif;font-size:36px;margin:0 0 16px}
.heror p{max-width:600px;margin:0 auto 20px;font-size:16px}

/* =========================
   catering
   ========================= */
.heroc{
  position:relative;
  background:url("images/catering.jpeg") center/cover no-repeat;
  color:#fff;
  text-align:center;
  padding:80px 0;
}
.heroc::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(159,110,146,.65);
}
.heroc .content{position:relative;z-index:1}
.heroc-subtitle{display:flex;justify-content:center;margin-bottom:15px}
.heroc-subtitle img{width:90px;height:90px;border-radius:50%;object-fit:cover;opacity:.95}
.heroc h1{font-family:"Playfair Display",serif;font-size:36px;margin:0 0 16px}
.heroc p{max-width:600px;margin:0 auto 20px;font-size:16px}


/* =========================
   HOME CARDS + GENERIC CARDS
   (used on multiple pages)
   ========================= */
.cards{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  margin-left:-10px;
  margin-right:-10px;
}
.card{
  background:#fff;
  border:1px solid #eee;
  border-radius:16px;
  box-shadow:0 6px 20px rgba(31,37,89,.06);
  margin:10px;
  width:calc(33.333% - 20px);
  transition:box-shadow .2s ease, transform .2s ease;
}
.card:hover{box-shadow:0 10px 30px rgba(31,37,89,.12);transform:translateY(-2px)}
.card img{
  width:100%;
  height:160px;
  object-fit:cover;
  display:block;
  border-radius:16px 16px 0 0;
}
.card .body{padding:16px;text-align:left}
.card h3{margin:6px 0 8px;font-size:16px;font-weight:700}
.card p{margin:0 0 10px;font-size:14px;color:#333}
.body-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:6px}
.price{font-weight:700;font-size:16px;margin:0}
.cta-link{display:inline-block;font-weight:700;color:var(--sjc-primary)}
.cta-link::after{content:"→";display:inline-block;margin-left:6px;transition:transform .2s ease}
.cta-link:hover{color:var(--sjc-primary-700)}
.cta-link:hover::after{transform:translateX(3px)}

@media (max-width:860px){ .card{width:calc(50% - 20px)} }
@media (max-width:560px){ .card{width:100%;margin:10px 0} }

/* =========================
   QUOTE CAROUSEL (home)
   ========================= */
.quote-carousel{position:relative;background:var(--sjc-primary);color:#fff;border-radius:18px;overflow:hidden}
.quote-carousel .slider{overflow:hidden;width:100%}
.quote-carousel .track{display:flex;width:100%;transition:transform .4s ease}
.quote{
  flex:0 0 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:16px;
  padding:30px 20px;
  box-sizing:border-box;
  min-height:120px;
  margin:0;
}
.quote .mark{font-size:48px;line-height:0;opacity:.35;margin-right:6px}
.q-nav{position:absolute;inset:0;display:flex;align-items:center;justify-content:space-between;padding:0 12px;pointer-events:none}
.q-btn{
  pointer-events:auto;
  background:rgba(255,255,255,.2);
  border:0;
  width:42px;height:42px;
  border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#fff;
  font-size:20px;
  cursor:pointer;
  transition:background .2s ease;
}
.q-btn:hover{background:rgba(255,255,255,.3)}
@media (max-width:560px){
  .quote{padding:22px 14px;min-height:100px;font-size:15px}
  .quote .mark{font-size:36px;margin-right:4px}
}

/* =========================
   SPLIT (about / contact blocks)
   ========================= */
.split{display:flex;flex-wrap:nowrap;align-items:stretch;justify-content:space-between}
.split > *:first-child{width:100%;margin-right:2%}
.split > *:last-child{display:flex}
.split > *:last-child img{width:100%;height:100%;object-fit:cover;border-radius:24px;display:block}
.split-small img.sandra{width:75%;height:100%;object-fit:cover;border-radius:16px;display:block}
.bubble{padding:16px;border-radius:24px;background:var(--sjc-primary-50)}
@media (max-width:900px){
  .split{flex-direction:column}
  .split > *{width:100%;margin-right:0}
  .split > *:last-child img{max-height:420px}
}

/* =========================
   MENU HERO + SEARCH
   ========================= */
.menu-hero{background:var(--sjc-primary-50);padding:28px 0;text-align:left}
.menu-hero h1{font-family:"Playfair Display",serif;font-size:32px;margin:0 0 6px}
.menu-hero p{margin:0;color:#5a4f58}
.menu-hero .menu-hero-row{display:flex;align-items:center;justify-content:space-between;gap:24px}

#menu-search-form{flex:0 0 auto;max-width:520px;width:100%}
.search-wrapper{
  position:relative;
  display:flex;
  align-items:center;
  width:100%;
  height:56px;
  border:1px solid #c0a1b3;
  border-radius:32px;
  background:#fff;
}
#menu-search{
  flex:1 1 auto;
  height:54px;
  border:0;
  outline:none;
  background:transparent;
  font-size:18px;
  color:#2b2b2b;
  padding:0 56px 0 18px;
}
#search-clear{
  position:absolute;
  right:12px;
  width:32px;height:32px;
  border-radius:16px;
  border:0;
  background:transparent;
  color:#9a6e8d;
  font-size:20px;
  line-height:30px;
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transition:opacity .12s ease;
}
.search-wrapper input:not(:placeholder-shown)~#search-clear{
  opacity:1;
  pointer-events:auto;
}
@media (max-width:900px){
  .menu-hero .menu-hero-row{flex-direction:column;align-items:flex-start}
  #menu-search-form{max-width:none}
}

/* =========================
   FILTER CHIPS (menu)
   ========================= */
.filters{padding:16px 0 6px}
#menu-filters{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
#menu-filters .chip{
  display:inline-flex;align-items:center;justify-content:center;
  min-width:88px;height:44px;padding:0 20px;
  border:1px solid #ddd;border-radius:999px;
  font-size:16px;font-weight:600;color:#333;background:#fff;
  cursor:pointer;transition:.15s ease;
}
#menu-filters .chip:hover{background:#f5f5f5}
#menu-filters .chip.active{background:#f5edff;border-color:#c3a5e6;color:#7a44b5}

/* =========================
   MENU GRID + MENU ITEMS
   ========================= */
#menu-root,[id^="menu-"]{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  grid-row-gap:16px;
  grid-column-gap:16px;
  align-items:stretch;
}
.menu-item{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:16px;
  border-radius:12px;
  background:#fff;
  box-shadow:0 2px 6px rgba(0,0,0,0.05);
}
.menu-item .info{flex:1;display:flex;flex-direction:column}
.menu-item h3{font-size:17px;line-height:22px;color:var(--ink);margin:0 0 4px}
.menu-item p{color:var(--muted);font-size:14px;margin:0 0 6px}

.porties,.extras{background:#faf9ff;border:1px solid #efeafc;border-radius:10px;padding:8px 10px;margin-top:6px}
.extra-label{font-weight:600;font-size:13px;margin-bottom:4px}
.opt-row{display:flex;align-items:center;margin-bottom:4px;font-size:14px;color:var(--ink)}
.opt-row:last-child{margin-bottom:0}

input[type="radio"],input[type="checkbox"]{width:16px;height:16px;accent-color:var(--sjc-primary)}

.menu-item .row{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.menu-item .prijs{font-weight:700;font-size:15px}
.menu-item .cta-link{
  margin-left:auto;
  white-space:nowrap;
  padding:8px 14px;
  border-radius:999px;
  background:#f4edff;
  color:var(--sjc-primary);
  font-weight:700;
  font-size:14px;
  border:1px solid #e8dbff;
  transition:.15s ease;
}
.menu-item .cta-link::after{content:" →"}
.menu-item .cta-link:hover{background:var(--sjc-primary);color:#fff;border-color:var(--sjc-primary)}
.menu-cat{font-size:18px;font-weight:700;margin:24px 0 12px}

@media (max-width:540px){
  #menu-root,[id^="menu-"]{grid-template-columns:1fr}
  .menu-item{padding:12px}
}

/* =========================
   EXTRAS MODAL
   ========================= */
#menu-extras-modal{position:fixed;inset:0;display:none;z-index:9999}
#menu-extras-modal.is-open{display:block}
#menu-extras-modal .mxm-backdrop{position:absolute;inset:0;background:rgba(0,0,0,.35)}
#menu-extras-modal .mxm-dialog{
  position:absolute;
  left:50%;top:50%;
  transform:translate(-50%,-50%);
  width:92vw;max-width:520px;max-height:86vh;
  background:#fff;border:1px solid #ececec;border-radius:14px;
  box-shadow:0 18px 48px rgba(0,0,0,.18);
  display:flex;flex-direction:column;
}
.mxm-head{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #f0f0f0}
.mxm-title{font-weight:800;font-size:16px}
.mxm-close{background:transparent;border:0;font-size:22px;line-height:22px;cursor:pointer;padding:2px 6px}
.mxm-body{padding:12px 16px;overflow:auto}
.mxm-title2{font-weight:800;font-size:18px;margin:0 0 6px}
.mxm-sub{color:#717171;font-size:14px;margin:0 0 10px}
.mxm-block{border:1px solid #efeafc;background:#faf9ff;border-radius:10px;padding:10px 12px;margin:8px 0 0}
.mxm-label{font-weight:700;font-size:13px;margin:0 0 6px}
.mxm-row{display:flex;align-items:center;font-size:14px;color:#2b2b2b;margin:4px 0 0}
.mxm-row input{margin-right:8px}
.mxm-foot{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-top:1px solid #f0f0f0}
.mxm-price{font-weight:800;font-size:16px}
.mxm-cta{
  padding:9px 16px;border-radius:999px;
  border:1px solid #e8dbff;background:#f4edff;color:var(--sjc-primary);
  font-weight:700;cursor:pointer;
}
.mxm-cta:hover{background:var(--sjc-primary);color:#fff;border-color:var(--sjc-primary)}

/* =========================
   CART (nav dropdown + click)
   ========================= */
.nav__cart,.cart-wrapper{position:relative;overflow:visible;z-index:20}
.cart-wrapper{display:inline-block}

.cart-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:44px;
  height:44px;
  padding:0 12px;
  border:1px solid #e4e4e4;
  border-radius:24px;
  background:#fff;
  color:#2b2b2b;
  cursor:pointer;
  transition:background .15s ease,border-color .15s ease;
  position:relative;
}
.cart-btn:hover{background:#f7f7f7}
#cart-count{
  background:var(--sjc-primary);
  color:#fff;
  border-radius:999px;
  padding:2px 6px;
  font-size:12px;
  font-weight:800;
  position:absolute;
  top:-6px;
  right:-6px;
}

.cart-panel{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  width:380px;
  max-height:70vh;
  background:#fff;
  border:1px solid #eee;
  border-radius:16px;
  box-shadow:0 16px 44px rgba(0,0,0,.14);
  padding:16px;
  opacity:0;
  transform:translateY(8px);
  pointer-events:none;
  transition:opacity .2s ease,transform .2s ease;
  z-index:15000;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
}
.cart-panel.is-open{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

.cart-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.cart-foot{margin-top:12px;border-top:1px solid #f1f1f1;padding-top:12px}
.cart-total{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.cart-actions{display:flex;gap:10px}
.cart-actions .btn{height:42px;padding:0 14px;border-radius:21px}

/* Mobile cart: fixed in view */
@media (max-width:860px){
  .cart-panel{
    position:fixed;
    top:70px;
    left:4%;
    right:4%;
    width:auto;
    max-height:calc(100vh - 90px);
  }
}

/* =========================
   CHECKOUT (bestellen)
   ========================= */
.checkout-hero{background:var(--sjc-primary-50);padding:28px 0 14px}
.checkout-hero h1{font-family:"Playfair Display",serif;margin:0 0 6px}
.checkout-grid{display:grid;grid-template-columns:1fr 380px;gap:24px;align-items:start}
.co-card{background:#fff;border:1px solid #eee;border-radius:16px;box-shadow:0 8px 24px rgba(0,0,0,.06);padding:18px}
.co-sticky{position:sticky;top:18px}
.co-form .row-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.co-form label{display:block;font-weight:800;font-size:14px;margin:0 0 6px}
.co-form input[type="text"],
.co-form input[type="email"],
.co-form input[type="tel"],
.co-form input[type="datetime-local"],
.co-form textarea{
  width:100%;
  border:1px solid #d9c6d3;
  border-radius:12px;
  height:48px;
  padding:0 14px;
  font-size:16px;
  outline:none;
}
.co-form textarea{height:auto;padding:12px 14px}

.pick-chips{margin-top:8px;display:flex;gap:8px;flex-wrap:wrap}
.pick-chips .chip{height:36px;padding:0 12px;border:1px solid #e3d8e0;border-radius:18px;background:#fff;font-weight:700;cursor:pointer}
.pick-chips .chip.active{background:#f4ecf6;border-color:#c9a6cd;color:#7d4f78}

@media (max-width:920px){.checkout-grid{grid-template-columns:1fr}}
@media (max-width:620px){.co-form .row-2{grid-template-columns:1fr}}

.pay-methods{display:flex;flex-direction:column;gap:12px;margin-top:8px}
.pay-option{
  display:flex;
  align-items:center;
  gap:12px;
  background:#fff;
  border:2px solid #dcd2e8;
  padding:14px 18px;
  border-radius:14px;
  cursor:pointer;
  transition:.2s ease;
}
.pay-option:hover{border-color:#bba7f7}
.pay-label{font-size:16px;font-weight:500;color:#3b2b58}

/* custom radio */
.pay-option input[type="radio"]{
  appearance:none;
  width:16px;
  height:16px;
  border:2px solid var(--sjc-primary);
  border-radius:50%;
  display:grid;
  place-items:center;
  margin:0;
}
.pay-option input[type="radio"]::before{
  content:"";
  width:8px;height:8px;border-radius:50%;
  background:var(--sjc-primary);
  transform:scale(0);
  transition:.2s ease;
}
.pay-option input[type="radio"]:checked::before{transform:scale(1)}

/* =========================
   CATERING GRID (simple)
   ========================= */
#pakketten{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
  align-items:stretch;
}
#pakketten > *{
  border:1px solid #eeeeee;
  border-radius:16px;
  background:#ffffff;
  box-shadow:0 6px 20px rgba(31,37,89,.06);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform .2s ease, box-shadow .2s ease;
}
#pakketten > *:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(31,37,89,.12);
}
@media (max-width:1100px){ #pakketten{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media (max-width:600px){  #pakketten{grid-template-columns:1fr} }

/* FAQ accordion (generic) */
.accordion{width:100%;border:1px solid #eee;border-radius:14px;background:#fff;overflow:hidden}
.acc-item + .acc-item{border-top:1px solid #eee}
.acc-head{
  width:100%;
  text-align:left;
  padding:14px 16px;
  background:#fff;
  border:0;
  font-weight:700;
  cursor:pointer;
}
.acc-body{display:none;padding:10px 16px 16px;color:#4d4d4d}
.acc-item.open .acc-body{display:block}

/* =========================
   CONTACT split (2 cols)
   ========================= */
.section.container.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:start;
}
@media (max-width:768px){
  .section.container.split{grid-template-columns:1fr}
}

/* =========================
   FOOTER
   ========================= */
footer{margin-top:40px;background:linear-gradient(180deg,#b99fba,#9f6e92);color:#fff}
.footer-grid{display:flex;justify-content:space-between;align-items:center;padding:30px 0}
.round-logo{
  width:134px;height:134px;border-radius:50%;
  background:#fff;overflow:hidden;margin:0 auto;
  display:flex;align-items:center;justify-content:center;
}
.round-logo img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.footer-bottom{border-top:1px solid rgba(255,255,255,.35);padding:12px 0;text-align:center;font-size:14px}
@media (max-width:860px){.footer-grid{flex-direction:column;text-align:center}}

/* =========================
   FLOATING ADMIN SETTINGS BUTTON
   ========================= */
.admin-settings{
  position:fixed;
  right:max(16px, env(safe-area-inset-right));
  bottom:max(16px, env(safe-area-inset-bottom));
  z-index:9999;
}
.admin-settings a{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:56px;height:56px;
  border-radius:999px;
  background:#8f6a8b;
  color:#fff;
  font-size:24px;
  box-shadow:0 10px 24px rgba(0,0,0,.18), 0 2px 6px rgba(0,0,0,.12);
  transition:transform .15s ease, box-shadow .15s ease, background .2s ease;
}
.admin-settings a:hover{transform:translateY(-2px);background:#7e5a7a}
.admin-settings a:active{transform:translateY(0)}
.admin-settings a:focus{outline:3px solid #cbb4c6;outline-offset:3px}

/* =========================
   BEDANKT PAGE (scoped)
   ========================= */
body.bedankt-page{
  background:#f7f7f9;
  color:#1b1b1f;
  font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial,sans-serif;
  min-height:100vh;
  margin:0;
  display:flex;
  flex-direction:column;
}
body.bedankt-page .page-centered{flex:1;display:grid;place-items:center;padding:24px}
body.bedankt-page .card{
  width:min(680px,100%);
  background:#fff;
  border-radius:16px;
  border:1px solid #e5e7eb;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
  padding:clamp(20px,4vw,36px);
  text-align:center;
}
body.bedankt-page .badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:600;
  color:#10b981;
  background:#ecfdf5;
  border:1px solid #a7f3d0;
  padding:8px 12px;
  border-radius:999px;
  margin-bottom:16px;
  font-size:15px;
}

/* =========================
   ADMIN (scoped)
   ========================= */
.admin-body{
  --adm-bg:#faf8fb;
  --adm-card:#ffffff;
  --adm-text:#372e38;
  --adm-muted:#6b6470;
  --adm-line:#eee7f0;
  --adm-primary:#8d6785;
  --adm-primary-ghost:#f2eaf2;
  --adm-radius:18px;
  --adm-shadow:0 10px 28px rgba(55,46,56,.08);

  background:var(--adm-bg);
  color:var(--adm-text);
  min-height:100vh;
  display:grid;
  grid-template-columns:260px 1fr;
  gap:28px;
}
.admin-body .admin-sidebar{
  background:var(--adm-card);
  border:1px solid var(--adm-line);
  border-radius:var(--adm-radius);
  box-shadow:var(--adm-shadow);
  margin:20px;
  padding:20px 18px;
  position:sticky;
  top:20px;
  height:fit-content;
}
.admin-body .admin-main{margin:20px 20px 40px 0}
.admin-body .btn{
  background:var(--adm-primary);
  color:#fff;
  border:none;
  border-radius:26px;
  padding:12px 20px;
  font-weight:700;
  cursor:pointer;
}
.admin-body .btn.outline{
  background:transparent;
  color:var(--adm-primary);
  border:2px solid var(--adm-primary);
}
@media (max-width:980px){
  .admin-body{grid-template-columns:1fr;gap:16px}
  .admin-body .admin-sidebar{position:static;margin:16px}
  .admin-body .admin-main{margin:0 16px 40px}
}

/* ===============================
   INDEX — RESTAURANT CAROUSEL
================================= */

.img-carousel{
  position:relative;
  border-radius:24px;
  overflow:hidden;
}

.img-carousel .track{
  display:flex;
  transition:transform .4s ease;
}

.img-carousel .slide{
  flex:0 0 100%;
}

.img-carousel img{
  width:100%;
  max-height:600px;
  object-fit:cover;
  display:block;
  border-radius:16px;
}

/* navigatie pijlen */
.img-carousel .nav{
  position:absolute;
  inset:0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:0 8px;
}

.img-carousel button{
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.8);
  font-size:18px;
  cursor:pointer;
}

@media (max-width:768px){
  .img-carousel img{
    max-height:260px;
  }
}

/* ===============================
   INDEX — CATERING GRID
   =============================== */

#catering .grid{
  display:flex;
  flex-wrap:wrap;
  margin:-10px;
}

/* individuele buffetkaart */
#catering .buffet{
  position:relative;
  width:21%;
  margin:10px 1%;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 28px rgba(31,37,89,.08);
}

/* afbeelding */
#catering .buffet img{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
}

/* plus-knop */
#catering .buffet .plus{
  position:absolute;
  top:12px;
  right:12px;
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  background:rgba(0,0,0,.55);
  color:#fff;
  font-size:20px;
  cursor:pointer;
  z-index:2;
}

/* details-paneel (standaard dicht) */
#catering .buffet .details{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:16px;
  background:rgba(0,0,0,.7);
  color:#fff;
  display:none;
}

/* tekst in details */
#catering .buffet .details p{
  margin:0 0 12px;
  font-size:14px;
  line-height:1.4;
}

/* knop in details */
#catering .buffet .details .btn{
  background:#fff;
  color:#3c2f3f;
  border-color:#fff;
}

/* OPEN toestand (via JS: .open op article) */
#catering .buffet.open .details{
  display:block;
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width:1000px){
  #catering .buffet{ width:31.33%; }
}

@media (max-width:720px){
  #catering .buffet{ width:48%; }
}

@media (max-width:520px){
  #catering .buffet{ width:100%; }
}

/* ===============================
   INDEX — CATERING GRID
   =============================== */

#catering .grid{
  display:flex;
  flex-wrap:wrap;
  margin:-10px;
}

/* individuele buffetkaart */
#catering .buffet{
  position:relative;
  width:21%;
  margin:10px 1%;
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 10px 28px rgba(31,37,89,.08);
}

/* afbeelding */
#catering .buffet img{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
}

/* plus-knop */
#catering .buffet .plus{
  position:absolute;
  top:12px;
  right:12px;
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  background:rgba(0,0,0,.55);
  color:#fff;
  font-size:20px;
  cursor:pointer;
  z-index:2;
}

/* details-paneel (standaard dicht) */
#catering .buffet .details{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  padding:16px;
  background:rgba(0,0,0,.7);
  color:#fff;
  display:none;
}

/* tekst in details */
#catering .buffet .details p{
  margin:0 0 12px;
  font-size:14px;
  line-height:1.4;
}

/* knop in details */
#catering .buffet .details .btn{
  background:#fff;
  color:#3c2f3f;
  border-color:#fff;
}

/* OPEN toestand (via JS: .open op article) */
#catering .buffet.open .details{
  display:block;
}

/* ===============================
   RESPONSIVE
   =============================== */

@media (max-width:1000px){
  #catering .buffet{ width:31.33%; }
}

@media (max-width:720px){
  #catering .buffet{ width:48%; }
}

@media (max-width:520px){
  #catering .buffet{ width:100%; }
}
/* ===============================
   OFFERTES — container + form
   =============================== */

.offerte-container{
  max-width: 920px;
  margin: 0 auto;
}

/* jouw bubble mag iets ruimer */
#offerte-form.bubble{
  padding: 22px;
  border-radius: 18px;
}

/* 2 kolommen grid */
#offerte-form .form-grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* inputs / select zelfde look */
#offerte-form input[type="text"],
#offerte-form input[type="tel"],
#offerte-form input[type="email"],
#offerte-form input[type="date"],
#offerte-form input[type="number"],
#offerte-form select,
#offerte-form textarea{
  width: 100%;
  border: 1px solid #d9c6d3;
  background: #fff;
  border-radius: 14px;
  font-size: 16px;
  color: #2b2b2b;
  outline: none;
}

#offerte-form input,
#offerte-form select{
  height: 52px;
  padding: 0 14px;
}

#offerte-form textarea{
  margin-top: 14px;
  padding: 12px 14px;
  min-height: 160px;
  resize: vertical;
}

/* focus */
#offerte-form input:focus,
#offerte-form select:focus,
#offerte-form textarea:focus{
  border-color: var(--sjc-primary);
  box-shadow: 0 0 0 3px rgba(159,110,146,.18);
}

/* acties netjes naast elkaar */
#offerte-form .actions{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 14px;
}

/* feedback */
#offerte-feedback.small{
  font-size: 13px;
  margin-top: 10px;
}

/* mobiel: 1 kolom */
@media (max-width: 760px){
  #offerte-form .form-grid-2{
    grid-template-columns: 1fr;
  }
  #offerte-form.bubble{
    padding: 18px;
  }
}
/* ===============================
   CONTACT — bubble form (scoped)
   =============================== */

.contact-wrap{
  display:flex;
  justify-content:center;
}

.contact-wrap form.bubble{
  width:100%;
  max-width:520px;
  display:flex;
  flex-direction:column;
  gap:16px;
  padding:26px;
  border-radius:22px;
  background: var(--sjc-primary-50);
  border:1px solid #eee;
}

/* inputs */
.contact-wrap form.bubble input[type="text"],
.contact-wrap form.bubble input[type="email"],
.contact-wrap form.bubble textarea{
  width:100%;
  font-family:inherit;
  font-size:16px;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid #d9c6d3;
  outline:none;
  color:#2b2b2b;
}

.contact-wrap form.bubble textarea{
  min-height:160px;
  resize:vertical;
}

.contact-wrap form.bubble input:focus,
.contact-wrap form.bubble textarea:focus{
  border-color:var(--sjc-primary);
  box-shadow:0 0 0 3px rgba(159,110,146,.18);
}

/* button */
.contact-wrap form.bubble .btn{
  align-self:flex-start;
  padding:12px 24px;
  border-radius:999px;
}

@media (max-width:600px){
  .contact-wrap form.bubble{
    padding:20px;
  }
  .contact-wrap form.bubble .btn{
    width:100%;
    justify-content:center;
  }
}
/* ===============================
   CATERING — buffet cards (renderCard)
   =============================== */

/* Zet je cards in een grid: werkt als parent .grid/.pakketten-grid of wat jij gebruikt */
.grid,
.pakketten-grid,
.buffet-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:22px;
  margin-top:24px;
}

/* Card */
.buffet-card{
  position:relative;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:22px;
  padding:22px;
  box-shadow:0 10px 26px rgba(31,37,89,.06);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow:hidden;
}

/* Accent strip links */
.buffet-card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:6px;
  background:linear-gradient(180deg, var(--sjc-primary), #c9a6c0);
  opacity:.9;
}

/* Content wrapper */
.buffet-card .txt{
  padding-left:10px; /* ruimte door strip */
}

/* Titel */
.buffet-card h3{
  margin:0 0 12px;
  font-size:22px;
  font-weight:800;
  letter-spacing:.2px;
}

/* Rij met "vanaf 20 pers" + details link */
.buffet-card .row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

/* Details link als pill */
.buffet-card .cta-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(159,110,146,.10);
  border:1px solid rgba(159,110,146,.20);
  color:var(--sjc-primary);
  font-weight:800;
  white-space:nowrap;
  transition:background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

.buffet-card .cta-link:hover{
  background:var(--sjc-primary);
  border-color:var(--sjc-primary);
  color:#fff;
}

/* Hover: card wat omhoog */
.buffet-card:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(31,37,89,.10);
  border-color:rgba(159,110,146,.35);
}

/* Details blok (uitklap) */
.buffet-card .details{
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid rgba(0,0,0,.06);
}

/* Lijst binnen details */
.buffet-card .details ul{
  margin:0 0 14px;
  padding-left:18px;
  color:#444;
  line-height:1.55;
}
.buffet-card .details li{
  margin:6px 0;
}

/* Buttons in details */
.buffet-card .details .actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.buffet-card .details .actions .btn{
  height:44px;
  padding:0 16px;
}

/* Responsive */
@media (max-width:980px){
  .grid,.pakketten-grid,.buffet-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr));
  }
}
@media (max-width:600px){
  .grid,.pakketten-grid,.buffet-grid{
    grid-template-columns:1fr;
  }
  .buffet-card{ padding:20px; }
}
/* =========================================================
   MOBILE OVERRIDES — PLAK ONDERAAN style.css
   (maakt alles telefoon-proof zonder je desktop te slopen)
   ========================================================= */

@media (max-width: 860px){

  /* ---------- algemeen ---------- */
  .container{ max-width: 92%; }
  .section{ padding: 26px 0; }
  .actions{ flex-direction: column; align-items: stretch; }
  .actions .btn{ width: 100%; justify-content: center; }

  h1{ font-size: 30px; }
  h2{ font-size: 28px; }
  p{ font-size: 15px; line-height: 1.55; }

  /* ---------- header / nav ---------- */
  nav{
    padding: 10px 0;
    gap: 10px;
  }

  .brand strong{ font-size: 16px; }
  .brand__logo{ width: 36px; margin-right: 10px; }

  .nav__cta{
    gap: 10px;
    flex-wrap: nowrap;
  }

  /* maak de CTA knoppen compacter op mobiel */
  .nav__cta .btn{
    padding: 10px 12px;
    font-size: 14px;
    height: 42px;
  }

  /* cart button wat compacter */
  .cart-btn{
    min-width: 44px;
    height: 42px;
    padding: 0 10px;
  }

  /* drawer fullscreen */
  .drawer{
    top: 60px;
    padding: 10px 0;
  }
  .drawer a{
    padding: 14px 16px;
    font-size: 16px;
  }



  /* ---------- hero (home) ---------- */
  .hero{
    padding: 56px 0;
  }
  .hero h1{
    font-size: 32px;
    line-height: 1.05;
    margin-bottom: 12px;
  }
  .hero p{
    font-size: 15px;
    max-width: 520px;
    margin-bottom: 16px;
  }
  .hero .actions{
    gap: 10px;
  }
  .hero .actions .btn{
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  /* ---------- index: catering grid (met plus + details) ---------- */
  #catering .grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin: 18px 0 0 !important;
  }
  #catering .buffet{
    width: 100% !important;
    margin: 0 !important;
    border-radius: 18px;
  }
  #catering .buffet img{
    height: 180px;
  }
  #catering .buffet .plus{
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
  #catering .buffet .details{
    padding: 14px;
  }
  #catering .buffet .details .btn{
    width: 100%;
    justify-content: center;
  }

  /* ---------- index: restaurant carousel ---------- */
  .img-carousel img{
    max-height: 260px;
    border-radius: 16px;
  }
  .img-carousel .nav{ padding: 0 6px; }
  .img-carousel button{
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  /* ---------- cards (algemene cards) ---------- */
  .cards{
    margin-left: 0;
    margin-right: 0;
  }
  .card{
    width: 100% !important;
    margin: 10px 0 !important;
    border-radius: 18px;
  }
  .card img{
    height: 170px;
  }

  /* ---------- menu pagina: filters + grid ---------- */
  #menu-filters{
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  #menu-filters .chip{
    flex: 0 0 auto;
    height: 40px;
    padding: 0 16px;
    font-size: 15px;
  }

  #menu-root,
  [id^="menu-"]{
    grid-template-columns: 1fr !important;
    grid-row-gap: 12px;
    grid-column-gap: 12px;
  }

  .menu-item{
    padding: 14px;
    border-radius: 14px;
  }
  .menu-item h3{ font-size: 16px; }
  .menu-item p{ font-size: 14px; }

  /* ---------- catering pakketten: jouw renderCard() (.buffet-card) ---------- */
  .grid,
  .pakketten-grid,
  .buffet-grid{
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .buffet-card{
    padding: 18px;
    border-radius: 18px;
  }
  .buffet-card h3{
    font-size: 20px;
    margin-bottom: 10px;
  }
  .buffet-card .row{
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .buffet-card .cta-link{
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
    font-size: 16px;
  }
  .buffet-card .details ul{
    font-size: 15px;
  }
  .buffet-card .details .actions{
    flex-direction: column;
  }
  .buffet-card .details .actions .btn{
    width: 100%;
    justify-content: center;
    height: 46px;
  }

  /* ---------- cart panel: altijd zichtbaar in view ---------- */
  .cart-panel{
    position: fixed !important;
    top: 70px !important;
    left: 4% !important;
    right: 4% !important;
    width: auto !important;
    max-height: calc(100vh - 90px) !important;
  }

  /* ---------- offerte form ---------- */
  .offerte-container{ max-width: 100%; }
  #offerte-form.bubble{
    padding: 18px;
    border-radius: 18px;
  }
  #offerte-form .form-grid-2{
    grid-template-columns: 1fr !important;
    gap: 12px;
  }
  #offerte-form input,
  #offerte-form select{
    height: 50px;
  }
  #offerte-form textarea{
    min-height: 140px;
  }
  #offerte-form .actions{
    flex-direction: column;
    align-items: stretch;
  }
  #offerte-form .actions .btn{
    width: 100%;
    justify-content: center;
  }

  /* ---------- voorwaarden / FAQ: onder elkaar ---------- */
  .voorwaarden{
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .voorwaarden-left h2{
    font-size: 40px;
    line-height: 1.05;
  }
  .voorwaarden-right .bubble{
    padding: 18px;
    border-radius: 18px;
  }
  .voorwaarden-right .acc-head{
    font-size: 18px;
    padding: 14px 0;
  }
  .voorwaarden-right .acc-body{
    font-size: 15px;
  }

  /* ---------- contact form (jouw .contact-wrap form.bubble) ---------- */
  .contact-wrap{
    padding: 0 4%;
  }
  .contact-wrap form.bubble{
    max-width: none !important;
    width: 100% !important;
    padding: 18px !important;
    border-radius: 18px !important;
  }
  .contact-wrap form.bubble .btn{
    width: 100%;
    justify-content: center;
  }

  /* ---------- footer ---------- */
  .footer-grid{
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
  .round-logo{
    width: 110px;
    height: 110px;
  }

  /* ---------- floating settings button ---------- */
  .admin-settings a{
    width: 52px;
    height: 52px;
    font-size: 22px;
  }
}


/* Extra kleine telefoons */
@media (max-width: 420px){
  .brand strong{ display:none; } /* scheelt ruimte in header */
  .hero h1{ font-size: 28px; }
  .nav__cta .btn{ font-size: 13px; padding: 10px 10px; }
}
/* FIX: hamburger altijd klikbaar boven alles */
@media (max-width: 860px){
  nav{ position: relative; }

  .burger{
    position: relative !important;
    z-index: 99999 !important;
    pointer-events: auto !important;
  }

  /* voorkom dat de cart-wrapper erboven hangt */
  .nav__cart, .cart-wrapper{
    position: relative;
    z-index: 10;
  }
}

/* ===============================
   MOBILE DRAWER — compact zoals mandje
   =============================== */
@media (max-width: 860px){

  /* compacte drawer kaart */
  .drawer{
    display:none;
    position: fixed;
    top: 74px;                    /* onder je header */
    right: 12px;
    left: auto;
    bottom: auto;

    width: min(320px, calc(100vw - 24px));
    max-height: calc(100vh - 110px);

    background:#fff;
    border:1px solid #eee;
    border-radius: 18px;
    box-shadow: 0 16px 44px rgba(0,0,0,.14);

    overflow:auto;
    -webkit-overflow-scrolling: touch;

    z-index: 99998;
    padding: 6px 0;
  }

  .drawer.open{ display:block; }

  /* links als nette rows */
  .drawer a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 16px 16px;
    font-size: 18px;
    font-weight: 800;
    color:#2b2b2b;
    border-bottom: 1px solid #f1f1f1;
  }
  .drawer a:last-child{ border-bottom:0; }

  /* klein hover effect */
  .drawer a:active{ background:#f7f7f7; }

  /* optioneel: pijltje zoals “Details →” */
  .drawer a::after{
    content:"›";
    opacity:.35;
    font-size:22px;
  }
}

/* ===============================
   ADMIN — MOBILE (admin.php)
   =============================== */
@media (max-width: 980px){

  /* layout 1 kolom */
  body.admin-body{
    display:block !important;
    background:#faf8fb;
  }

  /* sidebar => sticky topbar */
  body.admin-body .admin-sidebar{
    position: sticky;
    top: 0;
    z-index: 9999;

    width: 100%;
    margin: 0;
    padding: 12px 14px;

    border-radius: 0;
    border-left: 0;
    border-right: 0;

    background: rgba(255,255,255,.95);
    -webkit-backdrop-filter: saturate(140%) blur(6px);
    backdrop-filter: saturate(140%) blur(6px);
  }

  body.admin-body .admin-sidebar h2{
    margin: 0 0 10px;
    font-size: 18px;
  }

  /* nav links horizontaal (chips) */
  body.admin-body .admin-sidebar ul{
    display:flex;
    gap:10px;
    padding:0;
    margin:0;
    list-style:none;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
  }

  body.admin-body .admin-sidebar li{ flex:0 0 auto; }

  body.admin-body .admin-sidebar a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    white-space:nowrap;

    padding: 10px 12px;
    border-radius:999px;
    border:1px solid rgba(0,0,0,.10);
    background:#fff;
    font-weight:800;
    font-size:14px;
  }

  body.admin-body .admin-sidebar a.active{
    background: rgba(159,110,146,.12);
    border-color: rgba(159,110,146,.35);
    color: var(--sjc-primary);
  }

  /* logout als losse knop onder chips */
  body.admin-body .admin-sidebar .logout{
    display:inline-flex;
    justify-content:center;
    width:100%;
    margin-top:12px;
    padding: 10px 12px;
    border-radius: 14px;
    border:1px solid rgba(0,0,0,.10);
    background:#fff;
    font-weight:800;
  }

  /* main */
  body.admin-body .admin-main{
    margin: 0;
    padding: 14px;
  }

  body.admin-body .admin-main h1{
    font-size: 22px;
    margin: 12px 0 10px;
  }

  /* toolbar wordt stacked */
  body.admin-body .admin-toolbar{
    background:#fff;
    border:1px solid #eee;
    border-radius:18px;
    padding: 12px;
    margin: 10px 0 14px;
    box-shadow: 0 10px 26px rgba(31,37,89,.06);
  }

  body.admin-body .admin-toolbar .toolbar-row{
    display:flex;
    flex-direction:column;
    gap:10px;
  }

  /* filters: horizontaal scrollbaar */
  body.admin-body .admin-toolbar .filters{
    display:flex;
    gap:10px;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
  }

  body.admin-body .admin-toolbar .filters .input,
  body.admin-body .admin-toolbar .filters select,
  body.admin-body .admin-toolbar .filters input{
    flex: 0 0 auto;
    min-width: 160px;
    height: 44px;
    border-radius: 14px;
  }

  body.admin-body .admin-toolbar .btn{
    width:100%;
    justify-content:center;
    height: 44px;
  }

  body.admin-body .admin-toolbar .btn.outline{
    width:100%;
  }

  /* table: swipe-scroll */
  body.admin-body .admin-table{
    display:block;
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling: touch;
    background:#fff;
    border:1px solid #eee;
    border-radius:18px;
    box-shadow: 0 10px 26px rgba(31,37,89,.06);
  }

  body.admin-body .admin-table table,
  body.admin-body .admin-table thead,
  body.admin-body .admin-table tbody,
  body.admin-body .admin-table tr,
  body.admin-body .admin-table th,
  body.admin-body .admin-table td{
    white-space:nowrap;
  }

  /* beetje padding in cellen (als je die nog niet hebt) */
  body.admin-body .admin-table th,
  body.admin-body .admin-table td{
    padding: 12px 12px;
  }

  /* modals op mobiel */
  body.admin-body .adm-modal-shell{
    align-items:flex-end;
  }
  body.admin-body .adm-modal{
    width: 100%;
    max-width: none;
    border-radius: 18px 18px 0 0;
    margin: 0;
  }
  body.admin-body .adm-modal-body{
    max-height: 55vh;
    overflow:auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* extra small */
@media (max-width: 420px){
  body.admin-body .admin-main{ padding: 12px; }
  body.admin-body .admin-sidebar{ padding: 10px 12px; }
  body.admin-body .admin-sidebar a{ font-size: 13px; padding: 9px 10px; }
}
/* ===============================
   ADMIN — MOBILE COMPACT + MODALS FIX
   =============================== */
@media (max-width: 520px){

  /* algemene compactheid */
  body.admin-body .admin-main{ padding: 10px; }
  body.admin-body .admin-main h1{ font-size: 18px; margin: 10px 0 8px; }

  /* topbar compacter */
  body.admin-body .admin-sidebar{
    padding: 10px 10px;
  }
  body.admin-body .admin-sidebar h2{
    font-size: 16px;
    margin: 0 0 8px;
  }

  /* tabs smaller */
  body.admin-body .admin-sidebar a{
    font-size: 12px;
    padding: 8px 10px;
    gap: 6px;
  }

  /* logout minder hoog */
  body.admin-body .admin-sidebar .logout{
    margin-top: 10px;
    padding: 9px 10px;
    border-radius: 12px;
    font-size: 13px;
  }

  /* toolbar card compacter */
  body.admin-body .admin-toolbar{
    padding: 10px;
    border-radius: 14px;
    margin: 10px 0 12px;
  }

  /* refresh knop niet mega */
  body.admin-body .admin-toolbar .btn{
    height: 42px;
    border-radius: 999px;
    font-size: 14px;
    padding: 0 14px;
  }

  /* filters: chips/inputs kleiner en scrollbaar */
  body.admin-body .admin-toolbar .filters{
    gap: 8px;
    padding-bottom: 4px;
  }

  body.admin-body .admin-toolbar .filters .input,
  body.admin-body .admin-toolbar .filters select,
  body.admin-body .admin-toolbar .filters input{
    min-width: 140px;
    height: 40px;
    border-radius: 12px;
    font-size: 14px;
    padding: 0 10px;
  }

  /* statusline kleiner */
  body.admin-body .muted.small{
    font-size: 12px;
  }

  /* table container compacter */
  body.admin-body .admin-table{
    border-radius: 14px;
    box-shadow: 0 10px 22px rgba(31,37,89,.05);
  }
  body.admin-body .admin-table th,
  body.admin-body .admin-table td{
    padding: 10px 10px;
    font-size: 13px;
  }

  /* ===============================
     MODALS (order/offerte) -> bottom sheet netjes
     =============================== */

  body.admin-body .adm-modal-shell{
    display:none; /* default verborgen */
    position: fixed;
    inset: 0;
    z-index: 99999;
  }
  body.admin-body .adm-modal-shell.open{
    display:flex;
    align-items:flex-end;
    justify-content:center;
  }

  body.admin-body .adm-modal-backdrop{
    position:absolute;
    inset:0;
    background: rgba(0,0,0,.35);
  }

  body.admin-body .adm-modal{
    position:relative;
    width: 100%;
    max-width: none;
    margin: 0;
    border-radius: 18px 18px 0 0;
    background:#fff;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 -18px 50px rgba(0,0,0,.22);
    overflow:hidden;
  }

  body.admin-body .adm-modal-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 14px 14px;
    border-bottom: 1px solid #eee;
  }
  body.admin-body .adm-modal-head h3{
    margin:0;
    font-size: 16px;
  }
  body.admin-body .adm-modal-head .adm-close{
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid #eee;
    background: #fff;
    font-size: 22px;
    line-height: 1;
  }

  body.admin-body .adm-modal-body{
    padding: 14px 14px;
    max-height: 62vh;
    overflow:auto;
    -webkit-overflow-scrolling: touch;
    font-size: 14px;
    line-height: 1.5;
  }

  body.admin-body .adm-modal-foot{
    padding: 12px 14px;
    border-top: 1px solid #eee;
  }
  body.admin-body .adm-modal-foot .btn{
    width:100%;
    justify-content:center;
    height: 44px;
    font-size: 14px;
  }

  /* voorkom super-brede woorden/email die layout slopen */
  body.admin-body .adm-modal-body,
  body.admin-body .adm-modal-body *{
    overflow-wrap:anywhere;
    word-break:break-word;
  }
}
/* ===============================
   CHECKOUT (bestellen.html)
   =============================== */

.checkout-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items:start;
}

/* cards */
.checkout-grid .card{
  background:#fff;
  border:1px solid #eee;
  border-radius:22px;
  padding:22px;
  box-shadow:0 10px 26px rgba(31,37,89,.06);
width: 100% !important;
}

/* sticky rechter kolom */
.checkout-right .sticky{
  position: sticky;
  top: 90px; /* onder je header */
}

/* form grid */
#bestel-form .form-grid-2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 14px;
}

#bestel-form .form-field{
  display:flex;
  flex-direction:column;
  gap: 8px;
}

#bestel-form label{
  font-weight:800;
  font-size:14px;
  color:#2b2b2b;
}

/* inputs */
#bestel-form input[type="text"],
#bestel-form input[type="email"],
#bestel-form input[type="tel"],
#bestel-form input[type="datetime-local"],
#bestel-form textarea{
  width:100%;
  border:1px solid #d9c6d3;
  background:#fff;
  border-radius:14px;
  font-size:16px;
  padding:14px 16px;
  outline:none;
  font-family:inherit;
  color:#2b2b2b;
}

#bestel-form textarea{
  min-height:140px;
  resize:vertical;
}

#bestel-form input:focus,
#bestel-form textarea:focus{
  border-color:var(--sjc-primary);
  box-shadow:0 0 0 3px rgba(159,110,146,.18);
}

/* slot chips */
.slot-chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:10px;
}

.slot-chips .chip{
  border:1px solid rgba(159,110,146,.35);
  background:rgba(159,110,146,.10);
  color:var(--sjc-primary);
  border-radius:999px;
  padding:10px 14px;
  font-weight:800;
  cursor:pointer;
}

.slot-chips .chip:hover{
  background:rgba(159,110,146,.16);
}

.slot-chips .chip.active{
  background:var(--sjc-primary);
  border-color:var(--sjc-primary);
  color:#fff;
}

/* betaalmethode */
.field-group{
  margin-top: 14px;
}

.field-group .label{
  display:block;
  font-weight:800;
  font-size:14px;
  margin-bottom:10px;
}

.pay-methods{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.pay-option{
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 14px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  cursor:pointer;
}

.pay-option input{
  width:18px;
  height:18px;
}

.pay-option .pay-label{
  font-weight:800;
  font-size:14px;
  color:#2b2b2b;
}

/* als radio checked -> highlight */
.pay-option:has(input:checked){
  border-color: rgba(159,110,146,.45);
  background: rgba(159,110,146,.08);
}

/* actions onderaan */
#bestel-form .actions{
  display:flex;
  gap:10px;
  margin-top:16px;
}

/* overzicht rechts */
.bestel-lijst{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:12px;
}

.divider{
  height:1px;
  background:#eee;
  margin:16px 0;
}

.bestel-totaal-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:16px;
}

.mini-actions{
  display:flex;
  gap:10px;
  margin-top:14px;
}

.mini-actions .btn.small{
  height:44px;
  padding:0 14px;
  border-radius:999px;
}

/* ===============================
   MOBILE
   =============================== */
@media (max-width: 860px){
  .checkout-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .checkout-right .sticky{
    position: static;
  }

  #bestel-form .form-grid-2{
    grid-template-columns: 1fr;
  }

  .pay-methods{
    grid-template-columns: 1fr;
  }

  #bestel-form .actions{
    flex-direction:column;
    align-items:stretch;
  }
  #bestel-form .actions .btn{
    width:100%;
    justify-content:center;
  }

  .mini-actions{
    flex-direction:column;
  }
  .mini-actions .btn{
    width:100%;
    justify-content:center;
  }
}

/* ===============================
   NAV — Restaurant submenu (desktop) (definitief)
   =============================== */

.nav__links{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav__links .nav-item{
  position:relative;
  display:flex;
  align-items:center;
}

.nav-parent{
    padding-top:14px;
}

/* parent link + pijltje */
.nav__links .nav-parent::after{
  content:" ▾";
  opacity:.5;
  font-weight:900;
}

/* submenu (hover-only, stabiel) */
.nav__links .nav-item.has-sub{
  padding-bottom:14px; /* grotere hover-zone onder parent */
}

.nav__links .nav-item.has-sub .submenu{
  display:none;
  position:absolute;
  left:0;
  top: calc(100% - 6px); /* GEEN GAP */

  min-width:220px;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  box-shadow:0 16px 44px rgba(0,0,0,.12);
  padding:6px 0;
  z-index:9999;
}

/* hover-bridge zodat je muis niet “valt” */
.nav__links .nav-item.has-sub::after{
  content:"";
  position:absolute;
  left:-12px;
  right:-12px;
  top:100%;
  height:18px;
  background:transparent;
}

/* open bij hover + keyboard */
.nav__links .nav-item.has-sub:hover .submenu,
.nav__links .nav-item.has-sub:focus-within .submenu{
  display:block;
}

/* submenu links */
.nav__links .submenu a{
  display:block;
  padding:12px 14px;
  font-weight:800;
  color:#2b2b2b;
  text-decoration:none;
}

.nav__links .submenu a:hover{
  background:rgba(159,110,146,.10);
  color:var(--sjc-primary);
}

/* voorkom clipping */
header, nav{ overflow:visible !important; }


/* ===============================
   DRAWER — Restaurant sublinks (mobile)
   =============================== */
@media (max-width: 860px){
  .drawer .drawer-sub{
    padding:4px 0 10px;
    border-bottom:1px solid #f1f1f1;
  }

  .drawer .drawer-sub a{
    padding-left:34px;
    font-size:16px;
    font-weight:800;
    opacity:.92;
  }

  .drawer .drawer-parent{
    font-weight:900;
  }
}


/* ===============================
   Restaurant overview page
   =============================== */
.restaurant-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:18px;
  margin-top:18px;
}

.restaurant-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  border-radius:22px;
  padding:20px;
  box-shadow:0 10px 26px rgba(31,37,89,.06);
}

.restaurant-card h3{
  margin:0 0 10px;
  font-weight:900;
}

.restaurant-card p{
  margin:0 0 14px;
  color:#6b6270;
}

@media (max-width: 860px){
  .restaurant-grid{ grid-template-columns:1fr; }
}

/* ===============================
   MENU VIEWER (grid)
   =============================== */

.menu-viewer{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items:start;
  margin-top: 20px;
}

.menu-page{
  background:#fff;
  border-radius:18px;
  box-shadow:0 14px 36px rgba(0,0,0,.12);
  padding:14px;
}

.menu-open{
  width:100%;
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
}

.menu-page img{
  width:100%;
  height:auto;
  display:block;
  border-radius:12px;
}

/* tablet/mobiel: onder elkaar */
@media (max-width: 1024px){
  .menu-viewer{
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ===============================
   Sticky Bestellen knop (mobiel)
   =============================== */
.sticky-order-btn{
  display:none;
}

@media (max-width: 860px){
  .sticky-order-btn{
    display:flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    height: 54px;
    border-radius: 999px;
    align-items:center;
    justify-content:center;
    font-weight:900;
    text-decoration:none;
    z-index: 9999;

    background: var(--sjc-primary);
    color: #fff;
    box-shadow: 0 16px 40px rgba(0,0,0,.22);
  }

  /* zodat content niet onder knop valt */
  body{
    padding-bottom: 80px;
  }
}

/* ===============================
   Lightbox
   =============================== */
.menu-lightbox{
  display:none;
  position:fixed;
  inset:0;
  z-index: 99999;
}

.menu-lightbox.open{
  display:block;
}

.mlb-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}

.mlb-panel{
  position:absolute;
  inset: 16px;
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow: 0 26px 80px rgba(0,0,0,.35);

  display:flex;
  flex-direction:column;
}

@media (max-width: 860px){
  .mlb-panel{
    inset: 0;
    border-radius: 18px 18px 0 0;
    top: 10px;
  }
}

.mlb-topbar{
  display:grid;
  grid-template-columns: 44px 1fr 44px;
  align-items:center;
  gap: 10px;
  padding: 10px 10px;
  border-bottom:1px solid #eee;
  background: rgba(255,255,255,.96);
}

.mlb-actions{
  display:flex;
  gap: 10px;
  justify-content:center;
  align-items:center;
}

.mlb-btn{
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background:#fff;
  font-weight: 900;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#2b2b2b;
}

.mlb-btn.primary{
  background: var(--sjc-primary);
  border-color: var(--sjc-primary);
  color:#fff;
}

.mlb-btn[data-prev],
.mlb-btn[data-next]{
  width:44px;
  padding:0;
  font-size: 22px;
}

/* Zoom stage */
.mlb-stage{
  flex:1;
  overflow:auto;
  -webkit-overflow-scrolling: touch;
  background:#fafafa;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding: 14px;
}

/* image: groot, maar mag scrollen */
#mlb-img{
  width: min(1100px, 100%);
  height:auto;
  display:block;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.10);

  transform-origin: center top;
  transform: scale(1);
  transition: transform .15s ease;
}

/* zoom state */
.menu-lightbox.zoomed #mlb-img{
  transform: scale(1.8);
}

/* hint */
.mlb-hint{
  padding: 10px 14px;
  border-top:1px solid #eee;
}

/* ===============================
   VIEREN — Fotogalerij
   =============================== */

.vieren-gallery{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 18px 0 26px;
}

.vieren-gallery figure{
  margin:0;
  border-radius:18px;
  overflow:hidden;
  background:#eee;
  box-shadow:0 10px 26px rgba(31,37,89,.08);
}

.vieren-gallery img{
  width:100%;
  height:100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  display:block;
  transition: transform .25s ease;
}

/* kleine hover zoom (desktop) */
@media (hover:hover){
  .vieren-gallery figure:hover img{
    transform: scale(1.05);
  }
}

/* ===============================
   Tablet
   =============================== */
@media (max-width: 1024px){
  .vieren-gallery{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===============================
   Mobiel
   =============================== */
@media (max-width: 520px){
  .vieren-gallery{
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
