.card h3{font-size:20px}
.card p.desc{margin:6px 0;font-size:14px;color:#6d3f3b}
.pcard{display:flex;flex-direction:column}
.pcard .grow{flex:1}
.pcard button{width:100%;margin-top:6px}
.pnote{font-size:12px;color:#865b56}
.strike{text-decoration:line-through;color:#865b56;font-size:15px;font-weight:normal;margin-right:6px}
.promo{border:2px solid #b92b26}
.tabs button[aria-pressed="true"]{background:#b92b26;color:#fff}
.tabs button[aria-pressed="false"]{background:#f6cccd;color:#8b2521}
.err{color:#b92b26;margin:6px 0;min-height:1px}
.small{font-size:13px}
.line{display:grid;grid-template-columns:1fr auto;gap:6px 10px;padding:12px 0;border-bottom:1px solid #f0d7d3}
.line .det{font-size:13px;color:#865b56;white-space:pre-line}
.qty{display:flex;align-items:center;gap:6px}
.qty button{padding:6px 12px;min-width:38px}
.qty span{min-width:22px;text-align:center;font-weight:bold}
.total{margin:14px 0;font-size:18px}
.total strong{color:#b92b26;font-size:22px}
.wa{width:100%;font-size:18px;padding:15px;margin-top:10px}
.cal{background:#fff;border:1px solid #f0d7d3;border-radius:16px;padding:12px;max-width:420px}
.cal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}
.cal-head button{padding:6px 14px}
.cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}
.cal-grid .dow{font-size:12px;color:#865b56;padding:4px 0}
.cal-grid button{padding:10px 0;border-radius:10px;background:#fff6f3;color:#542522;font-size:15px}
.cal-grid button:disabled{background:transparent;color:#d6b9b5;text-decoration:line-through}
.cal-grid button.sel{background:#b92b26;color:#fff;font-weight:bold}
.cartbar{position:fixed;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));z-index:40;padding:14px;font-size:17px;border-radius:16px;box-shadow:0 6px 20px #0003;max-width:560px;margin:auto}
.sheet{position:fixed;inset:0;background:#0008;z-index:50;display:flex;align-items:flex-end;justify-content:center;overscroll-behavior:contain}
.sheet-box{background:#fff;width:100%;max-width:520px;max-height:92vh;overflow-y:auto;-webkit-overflow-scrolling:touch;border-radius:22px 22px 0 0;padding:18px 18px calc(24px + env(safe-area-inset-bottom));position:relative;overscroll-behavior:contain}
.sheet-box img.ph{width:100%;max-height:220px;object-fit:cover;border-radius:14px}
.sheet-x{position:absolute;right:12px;top:12px;padding:6px 11px;z-index:2}
.chk{display:flex;align-items:center;gap:10px;margin:8px 0}
.chk input{width:22px;height:22px;flex:none}
.sheet-sum{position:sticky;bottom:-24px;background:#fff;padding:12px 0 4px;border-top:1px solid #f0d7d3;margin-top:14px}
.sheet-sum button{width:100%}
@media(min-width:700px){.sheet{align-items:center}.sheet-box{border-radius:22px}}
body{padding-bottom:84px}
body.typing .cartbar,body.typing .toast{display:none!important}
/* Portada: logotipo original (predeterminado) o foto elegida en el panel */
.hero-media{display:flex;align-items:center;justify-content:center;min-height:260px;border-radius:24px;background:radial-gradient(circle at 50% 45%,#fff6f3 0%,#fbe3e3 45%,#f6cccd 72%)}
.hero-media .hero-logo{width:min(300px,80%);height:auto;max-height:none;aspect-ratio:1;object-fit:contain;border-radius:50%;box-shadow:0 14px 34px rgba(139,37,33,.28)}
.hero-media .hero-photo{width:100%;height:100%;max-height:330px;object-fit:cover;border-radius:24px;box-shadow:none}
.hero-media.photo{background:none;min-height:0}
@media(max-width:550px){
  .hero{gap:14px}
  .hero-media{order:-1;min-height:0;padding:8px 0 4px;background:none}
  .hero-media .hero-logo{width:min(230px,66vw)}
  .hero-media .hero-photo{max-height:220px}
}
