/* Modelo 2: carta sencilla, cálida y legible */
:root{--m2-ink:#25251f;--m2-muted:#74766f;--m2-accent:#a44b32;--m2-line:#e9e5dc;--m2-paper:#fbfaf7;--m2-card:#fff}
html{scroll-behavior:smooth}body{background:var(--m2-paper);color:var(--m2-ink);font:16px/1.55 ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.005em}
header,main{width:min(100% - 36px,920px)}header{padding-bottom:8px}.cover{height:clamp(180px,30vw,330px);border-radius:0 0 26px 26px;box-shadow:0 14px 36px #31271918}.head{gap:16px;padding:25px 2px 18px}.logo{width:64px;height:64px;padding:5px;border:1px solid var(--m2-line);border-radius:18px;background:#fff}.head h1{font:650 clamp(27px,5vw,38px)/1.12 Georgia,"Times New Roman",serif;letter-spacing:-.035em}.head p{max-width:58ch;margin-top:6px;color:var(--m2-muted);font-size:15px}
#menu{padding:8px 0 120px}.cat{margin:18px 0 28px;padding:20px 23px;border:1px solid var(--m2-line);border-radius:20px;background:var(--m2-card);box-shadow:0 8px 26px #342b1c08}.cat h2{margin:0 0 8px;padding:0 0 12px;border-bottom:1px solid var(--m2-line);color:var(--m2-accent);font:650 24px/1.2 Georgia,"Times New Roman",serif;letter-spacing:-.02em}.product{gap:14px;padding:13px 0;border-bottom:1px solid #efede7}.product:last-child{border-bottom:0}.nom{font-size:16px;font-weight:720;letter-spacing:-.01em}.price{color:var(--m2-accent);font-variant-numeric:tabular-nums;font-weight:750}.desc{max-width:68ch;margin-top:4px;color:var(--m2-muted);font-size:13.5px;line-height:1.5}.product .add{border-color:#e5d8cd;border-radius:13px;background:#fff8f3;color:var(--m2-accent);transition:transform .18s,background .18s}.product .add:hover:not(:disabled){transform:translateY(-1px);background:#f7e8de;color:#71341f}
dialog{border:1px solid #e8e3da;border-radius:22px;background:#fff;color:var(--m2-ink);box-shadow:0 28px 90px #16120d33}dialog::backdrop{background:#17140fc2;backdrop-filter:blur(4px)}dialog .x{width:36px;height:36px;border-radius:50%;background:#f3f1ec;color:#34332e}dialog form{gap:11px}dialog input,dialog textarea{border:1px solid #dedbd3;border-radius:11px;padding:12px 13px}dialog input:focus,dialog textarea:focus{outline:3px solid #a44b3228;border-color:var(--m2-accent)}dialog form button,#sendOrder,#choiceAdd{border:0;border-radius:12px;background:var(--m2-accent);color:#fff;padding:13px 16px;font-weight:750}.carthead h2{font-family:Georgia,"Times New Roman",serif}.cartfoot{background:#faf8f4}.cartfoot button,.choicefoot button{background:var(--m2-accent)}
@media(max-width:600px){header,main{width:calc(100% - 24px)}.cover{width:calc(100% + 24px);margin-left:-12px;height:190px;border-radius:0 0 20px 20px}.head{padding:19px 0 13px}.head h1{font-size:27px}.cat{padding:17px 15px;border-radius:17px}.cat h2{font-size:21px}.product{padding:12px 0}.desc{font-size:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}

/* El tema oscuro debe alcanzar también las superficies del catálogo. */
body.theme-black{
  --m2-ink:#f3f6f8;
  --m2-muted:#aab6c4;
  --m2-line:#34465d;
  --m2-paper:#0b111a;
  --m2-card:#111a27;
}
body.theme-black .cat{background:var(--m2-card);border-color:var(--m2-line);box-shadow:0 8px 26px #0003}
body.theme-black .cat h2{color:#d3a18e;border-color:var(--m2-line)}
body.theme-black .product{border-color:#26364a}
body.theme-black .nom,body.theme-black .price{color:#f3f6f8}
body.theme-black .desc{color:var(--m2-muted)}
body.theme-black .product .add{background:#172333;color:#f3f6f8;border-color:#34465d}
body.theme-black .product .add:hover:not(:disabled){background:#45b987;color:#102018}
