/* SunnyBite — geel/oranje thema */
:root{
  --yellow:#FFB703;
  --orange:#FB8500;
  --orange-700:#E76F00;
  --bg:#FFF9EF;
  --card:#FFFFFF;
  --ink:#1F2937;
  --muted:#6B7280;
  --ring: rgba(251,133,0,0.35);
  --shadow: 0 10px 24px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.06);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji','Segoe UI Emoji', 'Segoe UI Symbol';
  background: var(--bg);
  color: var(--ink);
}

.container{ width:min(1100px, 92%); margin-inline:auto; }

/* Header */
.site-header{
  background: linear-gradient(120deg, var(--yellow), var(--orange));
  color:#1d1b16;
  border-bottom: 6px solid rgba(0,0,0,0.06);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand .logo{
  width:48px; height:48px; border-radius:14px;
  display:grid; place-items:center; font-size:26px;
  background:#fff8; backdrop-filter: blur(4px);
  border:1px solid #ffffff88;
}
.brand h1{ font-size:22px; margin:0; line-height:1; }
.tagline{ margin:2px 0 0; font-size:12px; opacity:.9; }

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

.hero{
  display:grid; grid-template-columns: 1.2fr 1fr; gap:24px;
  align-items:center; padding:18px 0 26px;
}
.hero-copy h2{ font-size:36px; margin:0 0 8px; }
.hero-copy p{ margin:0 0 16px; }

.hero-art{ position:relative; height:160px; }
.bubble{ position:absolute; width:110px; height:110px; border-radius:50%;
  display:grid; place-items:center; font-size:42px; box-shadow: var(--shadow);
  background: radial-gradient(80% 80% at 30% 30%, #fff6, #fff0),
              linear-gradient(150deg, #fff, #ffeccb);
  border:1px solid #00000010;
}
.b1{ top:10px; left:10px; transform: rotate(-6deg); }
.b2{ bottom:4px; left: 90px; transform: rotate(8deg); }
.b3{ top: 18px; right: 0; transform: rotate(3deg); }

/* Buttons */
.button{
  --bg: #ffffff;
  --fg: var(--ink);
  appearance:none; border:1px solid #00000012; background:var(--bg); color:var(--fg);
  padding:10px 14px; border-radius:12px; font-weight:600; text-decoration:none; cursor:pointer;
  box-shadow: var(--shadow);
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover{ transform: translateY(-1px); }
.button:active{ transform: translateY(0); box-shadow: 0 0 0 rgba(0,0,0,0); }
.button.primary{ --bg:#fff; border:1px solid #ffffff66; }
.button.ghost{ background:#fff5; border-color:#ffffff66; }
.button.cta{ background:#111; color:#fff; border:1px solid #000; }
.button.checkout{
  background: linear-gradient(120deg, var(--orange), var(--yellow));
  border: none; color:#1d1b16; width:100%; padding:14px 18px; font-size:16px;
}
.button[disabled]{ opacity:.6; cursor:not-allowed; box-shadow:none; }

/* Layout */
.layout{
  display:grid; grid-template-columns: 1fr 360px; gap:26px; margin:26px auto 36px;
}
@media (max-width: 940px){
  .layout{ grid-template-columns: 1fr; }
  .hero{ grid-template-columns: 1fr; }
}

/* Categories */
.category-bar{ display:flex; gap:10px; flex-wrap:wrap; margin:10px 0 14px; }
.chip{
  background:#fff; border:1px solid #00000012; padding:8px 12px; border-radius:999px;
  font-weight:600; cursor:pointer; box-shadow: var(--shadow);
}
.chip.active{ background: linear-gradient(120deg, #fff, #fff7d6); border-color: #00000020; }

/* Menu grid */
.menu-grid{
  display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:16px;
}
@media (max-width:720px){ .menu-grid{ grid-template-columns: 1fr; } }

.card{
  background: var(--card); border:1px solid #00000010; border-radius:18px; overflow:hidden;
  box-shadow: var(--shadow); display:grid; grid-template-columns: 140px 1fr; min-height:134px; align-items:stretch; height:auto;
}
.thumb{
  background: linear-gradient(160deg, #fff7d6, #ffd59a);
  display:grid; place-items:center; font-size:44px;
}
  .content{ padding:12px 14px; display:flex; flex-direction:column; gap:8px; flex:1 1 auto; justify-content:center; word-break:break-word; }
.content h4{ margin:0; font-size:18px; }
.content p{ margin:0; color:var(--muted); font-size:13px; }
.price-row{ word-break:normal; display:flex; justify-content:space-between; align-items:center; gap:8px; }
.price{ word-break:normal; font-weight:700; }
.qty{ word-break:normal; display:flex; gap:6px; align-items:center; }
.qty button{ word-break:normal; width:22px; height:22px; border-radius:8px; border:1px solid #00000010; background:#fff; cursor:pointer; }

/* Cart */
.cart{
  position:sticky; top:16px; align-self:start;
  background:#fff; border:1px solid #00000010; border-radius:18px; padding:16px; box-shadow: var(--shadow);
}
.cart-title{ margin:0 0 8px; }
.cart-items{ border:1px dashed #0000001a; border-radius:12px; padding:10px; min-height:70px; background:#fffdf7; }
.cart-item{ display:grid; grid-template-columns: 1fr auto; gap:8px; padding:8px 0; border-bottom:1px solid #00000008; }
.cart-item:last-child{ border-bottom:none; }
.cart-item .meta{ color:var(--muted); font-size:13px; }
.cart-controls{ display:flex; align-items:center; gap:8px; }
.cart-controls button{ width:28px; height:28px; border-radius:8px; border:1px solid #00000010; background:#fff; cursor:pointer; }
.cart-summary{ margin:12px 0; display:flex; flex-direction:column; gap:6px; }
.cart-summary .row{ display:flex; justify-content:space-between; }
.cart-summary .total{ font-weight:800; font-size:18px; }
.schedule{ display:flex; flex-direction:column; gap:6px; margin:10px 0 14px;}
.schedule input{
  border:1px solid #00000022; border-radius:10px; padding:10px 12px; background:#fff;
  outline:none;
}
.schedule input:focus{ box-shadow: 0 0 0 4px var(--ring); border-color: var(--orange); }
.help{ color:var(--muted); font-size:12px; }

/* Footer */
.site-footer{ padding:20px 0; border-top:1px solid #00000010; background:#fff; }
.footer-inner{ display:flex; justify-content:space-between; align-items:center; }
.footer-inner .muted{ color:var(--muted); font-size:13px; }

/* Utility */
.hidden{ display:none !important; }

/* ——— TwoStack topbar (zoals haarsalon) ——— */
.twostack-bar{
  position: sticky; top: 0; z-index: 50;
  background:#fff; border-bottom:1px solid #00000010;
}
.ts-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:10px 0;
}
.ts-brand{
  display:flex; align-items:center; gap:10px; text-decoration:none;
}
.ts-logo{
  width:32px; height:32px; border-radius:10px; display:grid; place-items:center;
  font-weight:800; background:linear-gradient(140deg, #b5c7ff, #c7ffd6);
  color:#111; border:1px solid #00000010; box-shadow: var(--shadow);
}
.ts-name{ font-weight:800; color:#16a34a; }
.ts-nav{ display:flex; align-items:center; gap:16px; }
.ts-nav a{ text-decoration:none; color:inherit; font-weight:600; }
.ts-cta{
  background:#16a34a; color:#fff !important; padding:8px 12px; border-radius:10px;
  box-shadow: var(--shadow);
}

/* dropdown */
.ts-dropdown{ position:relative; }
.ts-dropdown summary{
  list-style:none; cursor:pointer; font-weight:600;
}
.ts-dropdown[open] summary{ opacity:.9; }
.ts-dropdown ul{
  position:absolute; right:0; top:calc(100% + 8px);
  background:#fff; border:1px solid #00000010; border-radius:12px;
  padding:8px; margin:0; min-width:200px; box-shadow:var(--shadow);
  display:grid; gap:6px; z-index:100;
}
.ts-dropdown li{ list-style:none; }
.ts-dropdown a{
  display:block; padding:8px 10px; border-radius:8px;
}
.ts-dropdown a:hover{ background:#f9fafb; }
.ts-dropdown a[aria-current="page"]{
  background:#f3f4f6; font-weight:700;
}

/* verberg lange naam op mobiel */
@media (max-width:720px){
  .ts-name{ display:none; }
}
