/* Nina Sushi webshop: één statisch bestand, geen build-stap. Kleuren en maten uit het Claude Design-export. */
@font-face{font-family:Poppins;font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/poppins-400.woff2) format("woff2")}
@font-face{font-family:Poppins;font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/poppins-500.woff2) format("woff2")}
@font-face{font-family:Poppins;font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/poppins-600.woff2) format("woff2")}
@font-face{font-family:Poppins;font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/poppins-700.woff2) format("woff2")}

:root{
  --bg:#FBF7F0;--card:#FFFFFF;--ink:#2B2B2B;--muted:#6B6459;--text2:#4A453D;
  --red:#C0261F;--sand:#F0E9DA;--line:#E4DCCB;--line2:#E9E1D0;--warn:#FBEFD0;--disabled:#D9D2C3;
  --shadow:0 1px 6px rgba(43,43,43,.10);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:Poppins,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:15px;line-height:1.45}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid var(--ink);outline-offset:2px}
a{color:inherit}
img{display:block;max-width:100%}
h1,h2,h3{margin:0}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
[hidden]{display:none!important}

.wrap{max-width:640px;margin:0 auto;min-height:100vh;background:var(--bg);position:relative}
@media (min-width:700px){body{background:#EFE8DA}.wrap{box-shadow:0 0 40px rgba(43,43,43,.08)}}

/* Header */
.hdr{position:sticky;top:0;z-index:5;height:64px;padding:0 16px;background:var(--card);box-shadow:var(--shadow);display:flex;align-items:center;justify-content:space-between}
.hdr-logo{height:52px;width:52px;border-radius:50%;object-fit:contain;background:#fff}
.hdr-back{display:flex;align-items:center;gap:6px;height:44px;text-decoration:none;font-weight:600;font-size:15px}
.lang{position:relative}
.lang-btn{height:44px;min-width:44px;padding:0 10px;border:1px solid var(--line);border-radius:22px;background:#fff;display:flex;align-items:center;gap:6px}
.lang-menu{position:absolute;top:50px;right:0;width:168px;background:#fff;border-radius:14px;box-shadow:0 6px 24px rgba(43,43,43,.18);padding:6px;display:flex;flex-direction:column;gap:2px;margin:0;list-style:none}
.lang-menu a{height:44px;border-radius:10px;display:flex;align-items:center;gap:10px;padding:0 10px;font-size:14px;text-decoration:none}
.lang-menu a[aria-current]{background:var(--sand)}
.lang-menu a:hover{background:var(--sand)}
.flag{border-radius:50%}

/* Hero */
.pad{padding:16px 16px 0}
.hero{position:relative;height:196px;border-radius:20px;overflow:hidden;background:#F5EEDF}
.hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 50%}
.hero-badge{position:absolute;left:12px;bottom:12px;width:64px;height:64px;border-radius:50%;background:#fff;box-shadow:0 2px 8px rgba(43,43,43,.18);display:flex;align-items:center;justify-content:center;overflow:hidden}
.hero-badge img{width:56px;height:56px;object-fit:contain}
@media (min-width:500px){.hero{height:240px}}

.title-row{display:flex;align-items:center;justify-content:space-between;gap:8px}
.title{font-size:22px;line-height:28px;font-weight:700;letter-spacing:-.2px}
.icon-btn{width:44px;height:44px;border:0;border-radius:22px;background:var(--sand);display:flex;align-items:center;justify-content:center;flex:none}
.rating{margin-top:2px;display:flex;align-items:center;gap:6px;font-size:14px}
.rating b{font-weight:600;text-decoration:underline}
.rating span{color:var(--muted)}

/* Bezorgen / afhalen */
.seg{display:flex;padding:4px;border-radius:30px;background:var(--sand)}
.seg button,.seg label{flex:1;height:56px;border:0;border-radius:26px;background:transparent;display:flex;align-items:center;justify-content:center;gap:10px;text-align:left;cursor:pointer}
.seg [aria-pressed=true],.seg input:checked+label{background:#fff;box-shadow:0 1px 4px rgba(43,43,43,.18)}
.seg input{position:absolute;opacity:0;pointer-events:none}
.seg-txt{display:flex;flex-direction:column;line-height:18px}
.seg-txt b{font-size:14px;font-weight:600}
.seg-txt small{font-size:12px;color:var(--muted)}
.seg [disabled]{opacity:.5;cursor:not-allowed}

.notice{margin:16px 16px 0;padding:12px 14px;border-radius:12px;background:var(--warn);font-size:14px;line-height:20px}

/* Zoeken */
.search{display:flex;align-items:center;gap:10px;height:48px;padding:0 16px;border:1.5px solid #8A8274;border-radius:24px;background:#fff}
.search input{flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:15px}
.search input::-webkit-search-cancel-button{display:none}

/* Categorie-chips */
.chips-bar{position:sticky;top:64px;z-index:4;margin-top:12px;background:var(--bg);box-shadow:0 1px 0 var(--line2)}
.chips{display:flex;gap:6px;padding:10px 16px;overflow-x:auto;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;height:44px;padding:0 18px;border:0;border-radius:22px;background:transparent;font-size:15px;font-weight:600;white-space:nowrap}
.chip[aria-pressed=true]{background:var(--ink);color:#fff}

/* Productlijst */
.list{padding:20px 0 120px}
.list-title{margin:0 16px 14px;font-size:22px;line-height:28px;font-weight:700}
.items{border-top:1px solid var(--line)}
.item{display:flex;gap:12px;padding:18px 16px;border-bottom:1px solid var(--line);background:#fff}
.item-body{flex:1;min-width:0}
.item-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.item-name{font-size:16px;line-height:22px;font-weight:700}
.badge{height:22px;padding:0 8px;border-radius:11px;background:var(--red);color:#fff;font-size:12px;font-weight:700;display:inline-flex;align-items:center}
.badge.grey{background:var(--disabled);color:#5C564B}
.price{margin-top:4px;display:flex;align-items:baseline;gap:8px;font-size:15px}
.price b{font-weight:500}
.price .sale{font-weight:700;color:var(--red)}
.price s{color:var(--muted);font-size:13px}
.item-desc{margin-top:6px;font-size:14px;line-height:21px;color:var(--text2)}
.item-side{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.item-img{width:96px;height:96px;border-radius:12px;object-fit:cover;background:var(--sand)}
.item.is-soldout{opacity:.6}
.empty{padding:28px 16px;font-size:14px;color:var(--muted)}

.add{width:44px;height:44px;border:1.5px solid var(--line);border-radius:22px;background:#fff;display:flex;align-items:center;justify-content:center}
.item-img+.qty-wrap .add{margin-top:-30px;box-shadow:0 2px 6px rgba(43,43,43,.15)}
.stepper{display:flex;align-items:center;height:44px;border-radius:22px;background:var(--red);color:#fff}
.stepper button{width:44px;height:44px;border:0;background:transparent;display:flex;align-items:center;justify-content:center}
.stepper span{min-width:16px;text-align:center;font-size:15px;font-weight:700}
.item-img+.qty-wrap .stepper{margin-top:-30px;box-shadow:0 2px 6px rgba(43,43,43,.2)}
.stepper.light{background:var(--sand);color:var(--ink)}

/* Winkelmandbalk */
.cartbar{position:fixed;left:0;right:0;bottom:16px;z-index:10;padding:0 16px;max-width:640px;margin:0 auto}
.btn-red{width:100%;height:56px;padding:0 20px;border:0;border-radius:28px;background:var(--red);color:#fff;box-shadow:0 6px 18px rgba(192,38,31,.38);display:flex;align-items:center;justify-content:space-between;font-size:16px;font-weight:600;text-decoration:none}
.btn-red.center{justify-content:center;font-weight:700}
.btn-red[disabled]{background:var(--disabled);color:#5C564B;box-shadow:none;cursor:not-allowed}
.count{min-width:28px;height:28px;border-radius:14px;background:#fff;color:var(--red);display:inline-flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;margin-right:12px}
.btn-dark{height:52px;padding:0 28px;border:0;border-radius:26px;background:var(--ink);color:#fff;font-size:15px;font-weight:600;display:inline-flex;align-items:center;text-decoration:none}

/* Winkelmand-sheet (native <dialog>) */
.sheet{position:fixed;inset:auto 0 0 0;margin:0 auto;width:100%;max-width:640px;max-height:78vh;padding:0;border:0;border-radius:24px 24px 0 0;background:#fff;color:var(--ink);box-shadow:0 -8px 30px rgba(43,43,43,.2);flex-direction:column}
.sheet[open]{display:flex;animation:up .22s ease-out}
.sheet::backdrop{background:rgba(43,43,43,.5)}
@keyframes up{from{transform:translateY(40px);opacity:.4}to{transform:none;opacity:1}}
@media (prefers-reduced-motion:reduce){.sheet[open]{animation:none}}
.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:16px 8px 8px 20px}
.sheet-head h2{font-size:20px;font-weight:700}
.sheet-body{overflow-y:auto;padding:0 20px}
.sheet-foot{padding:8px 20px 20px;border-top:1px solid var(--line2)}
.line{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid var(--line2)}
.line-name{flex:1;min-width:0}
.line-name b{display:block;font-size:15px;font-weight:600;line-height:21px}
.line-name small{font-size:13px;color:var(--muted)}
.line-total{width:64px;text-align:right;font-size:15px;font-weight:600}
.sum{display:flex;justify-content:space-between;padding:12px 0 16px;font-size:17px;font-weight:700}
.sum.small{padding:6px 0 0;font-size:14px;font-weight:500}
.sum.saved{padding:14px 0 0;font-size:14px;color:var(--red);font-weight:600}
.warn{margin:8px 0;padding:10px 12px;border-radius:10px;background:var(--warn);font-size:13px;line-height:19px}
.ghost{width:44px;height:44px;border:0;border-radius:22px;background:transparent;display:flex;align-items:center;justify-content:center}

/* Afrekenen */
.section{margin:16px 16px 0;padding:18px 16px;background:#fff;border-radius:18px}
.section h2{font-size:18px;font-weight:700;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center}
.section h2 a{font-size:14px;font-weight:600;color:var(--red)}
.field{display:block;margin-bottom:12px}
.field>span{display:block;font-size:13px;font-weight:600;margin-bottom:4px}
.input{width:100%;height:48px;padding:0 14px;border:1.5px solid #8A8274;border-radius:12px;background:#fff;font-size:16px}
textarea.input{height:auto;min-height:80px;padding:10px 14px;resize:vertical}
select.input{appearance:none;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%232B2B2B' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E") no-repeat right 14px center;padding-right:36px}
.input[aria-invalid=true]{border-color:var(--red)}
.row{display:flex;gap:10px}
.row>*{flex:1;min-width:0}
.row>.narrow{flex:0 0 32%}
.err{display:block;margin-top:4px;color:var(--red);font-size:13px}
.ok{display:block;margin-top:4px;color:#2E7D32;font-size:13px}
.slots{display:flex;flex-wrap:wrap;gap:8px}
.slots input{position:absolute;opacity:0;pointer-events:none}
.slots label{height:40px;padding:0 14px;border-radius:20px;background:var(--sand);display:inline-flex;align-items:center;font-size:14px;font-weight:600;cursor:pointer}
.slots input:checked+label{background:var(--ink);color:#fff}
.slots input:focus-visible+label{outline:2px solid var(--ink);outline-offset:2px}
.paybar{position:sticky;bottom:0;padding:16px;background:linear-gradient(transparent,var(--bg) 30%)}
.muted{color:var(--muted);font-size:13px;line-height:19px}
.center{text-align:center}

/* Status na betaling */
.done{padding:40px 20px;display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
.done-icon{width:64px;height:64px;border-radius:32px;background:var(--red);display:flex;align-items:center;justify-content:center}
.done-icon.grey{background:var(--disabled)}
.done h1{font-size:22px;font-weight:700}
.done p{margin:0;font-size:15px;line-height:22px;color:var(--text2)}

.foot{padding:24px 16px 140px;font-size:13px;color:var(--muted);text-align:center;line-height:20px}

/* Formaten (bv. 4 / 8 stuks): schakelaar in de prijsregel, zelfde stijl als bezorgen/afhalen */
.price .unit{color:var(--muted);font-size:13px}
.size-toggle{display:inline-flex;align-self:center;padding:2px;margin-left:4px;border-radius:17px;background:var(--sand)}
.size-toggle button{height:30px;padding:0 12px;border:0;border-radius:15px;background:transparent;font-size:13px;font-weight:600;color:var(--muted)}
.size-toggle [aria-pressed=true]{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(43,43,43,.18)}
.item-img+.qty-pane .add,.item-img+.qty-pane .stepper{margin-top:-30px}
.size-toggle button{position:relative}
.size-count{position:absolute;top:-7px;right:-5px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--red);color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center;box-shadow:0 0 0 2px #fff}

/* Micro-animaties bij interactie (geen scroll-effecten). De classes pop/rise/fade/bump zet shop.js alleen bij een echte wijziging, dus bij het laden springt er niets. */
.add,.stepper button,.chip,.seg button,.seg label,.size-toggle button,.btn-red,.btn-dark,.icon-btn,.ghost,.lang-btn,.slots label{transition:transform .12s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease}
.add:active,.stepper button:active,.icon-btn:active,.ghost:active,.lang-btn:active{transform:scale(.88)}
.chip:active,.seg button:active,.seg label:active,.size-toggle button:active,.slots label:active,.btn-dark:active{transform:scale(.95)}
.btn-red:not([disabled]):active{transform:scale(.97)}
.pop{animation:pop .24s cubic-bezier(.3,1.5,.6,1)}
.rise{animation:rise .26s cubic-bezier(.2,1.2,.5,1)}
.fade{animation:fade .16s ease-out}
.lang[open] .lang-menu{animation:drop .16s ease-out;transform-origin:top right}
.bump{animation:bump .28s cubic-bezier(.3,1.6,.6,1)}
@keyframes pop{from{transform:scale(.6);opacity:0}to{transform:none;opacity:1}}
@keyframes bump{40%{transform:scale(1.35)}}
@keyframes rise{from{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}
@keyframes fade{from{opacity:0;transform:translateY(2px)}to{opacity:1;transform:none}}
@keyframes drop{from{opacity:0;transform:scale(.94) translateY(-4px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
/* Afrekenen: verplichte velden (*) en optionele velden */
.field.req>span::after{content:" *";color:var(--red)}
.opt{font-weight:400;color:var(--muted)}
[data-addr-msg]:empty{display:none}
[data-addr-msg]{margin-top:10px}
/* Zoeken: gevonden woorden markeren + wis-knop */
mark{background:#F9DE9C;color:inherit;font-weight:700;border-radius:3px;padding:0 1px}
.search-clear{flex:none;width:32px;height:32px;margin-right:-8px;border:0;border-radius:16px;background:var(--sand);display:flex;align-items:center;justify-content:center;transition:transform .12s ease}
.search-clear:active{transform:scale(.88)}
/* Keuzevenster (saus + extra's) */
.opt-form{display:flex;flex-direction:column;min-height:0;max-height:78vh;margin:0}
.opt-group{margin:0 0 14px;padding:0;border:0}
.opt-group legend{display:flex;align-items:baseline;justify-content:space-between;width:100%;padding:6px 0 8px;gap:8px}
.opt-group legend b{font-size:16px;font-weight:700}
.opt-group legend small{font-size:12px;color:var(--muted);font-weight:600}
.opt{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 12px;margin-bottom:6px;border:1.5px solid var(--line);border-radius:14px;cursor:pointer;transition:border-color .15s ease,background-color .15s ease}
.opt span{flex:1;font-size:15px}
.opt small{font-size:14px;color:var(--muted);font-weight:600}
.opt input{width:20px;height:20px;margin:0;accent-color:var(--red);flex:none}
.opt:has(input:checked){border-color:var(--red);background:#FDF3F2}
.opt:has(input:disabled){opacity:.45;cursor:not-allowed}
.add{position:relative}
.add-count{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:var(--red);color:#fff;font-size:12px;font-weight:700;line-height:20px;text-align:center;box-shadow:0 0 0 2px #fff}
.item-img+.qty-pane .add{box-shadow:0 2px 6px rgba(43,43,43,.15)}
/* Adres-suggesties onder het straatveld */
.addr-search{position:relative}
.addr-search>label{display:block;font-size:13px;font-weight:600;margin-bottom:4px}
.field.req.addr-search>label>span::after{content:" *";color:var(--red)}
.suggest{position:absolute;left:0;right:0;top:100%;z-index:20;margin:4px 0 0;padding:6px;list-style:none;background:#fff;border-radius:14px;box-shadow:0 8px 28px rgba(43,43,43,.2);animation:drop .14s ease-out}
.suggest [role=option]{display:flex;flex-direction:column;padding:10px 12px;border-radius:10px;cursor:pointer;line-height:1.3}
.suggest [role=option] b{font-size:15px;font-weight:600}
.suggest [role=option] small{font-size:13px;color:var(--muted)}
.suggest [role=option]:hover,.suggest [aria-selected=true]{background:var(--sand)}
.suggest-by{padding:6px 12px 2px;font-size:11px;color:var(--muted);text-align:right}
