/* El Rancho de Don Cipriano (Azul): motor de Historietas con la estética del local. Pared de adobe, carteles de madera oscura con letras doradas,
   puerta verde y el fuego del horno de barro. */
:root {
  --tinta: #21170f;
  --papel: #f1e5c8;
  --papel2: #e6d3a5;
  --amarillo: #d8a541;
  --rojo: #b4471d;
  --azul: #21170f;
  --verde: #3d6b47;
  --gris: #6b5b49;
  --madera: #2c1f15;
  --crema: #f6ead0;
  --borde: 2px solid var(--tinta);
  --sombra: 5px 5px 0 rgba(33, 23, 15, 0.9);
  --sombra-sm: 3px 3px 0 rgba(33, 23, 15, 0.9);
  --r: 14px;
  --titulo: "Oswald", "Arial Narrow", sans-serif;
  --script: "Kaushan Script", "Brush Script MT", cursive;
  --texto: "DM Sans", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 400 16px/1.55 var(--texto); color: var(--tinta); background: var(--papel);
  background-image: repeating-linear-gradient(0deg, rgba(33, 23, 15, 0.05) 0 2px, transparent 2px 28px), repeating-linear-gradient(90deg, transparent 0 70px, rgba(33, 23, 15, 0.025) 70px 72px);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
.hb-wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.hb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Botones */
.hb-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px 22px;
  font: 400 22px/1 var(--titulo); letter-spacing: 0.04em; text-decoration: none; color: var(--tinta);
  background: var(--amarillo); border: var(--borde); border-radius: 12px; box-shadow: var(--sombra-sm);
  transition: transform 0.12s, box-shadow 0.12s;
}
.hb-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--tinta); }
.hb-btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--tinta); }
.hb-btn-rojo { background: var(--rojo); color: #fff; }
.hb-btn-blanco { background: #fff; }
.hb-btn svg { width: 22px; height: 22px; }

/* Encabezado */
.hb-top { position: sticky; top: 0; z-index: 40; background: var(--papel); border-bottom: var(--borde); }
.hb-top .hb-wrap { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.hb-logo { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.hb-logo svg { width: 150px; height: auto; }
.hb-nav { display: none; gap: 22px; }
.hb-nav a { font: 400 21px/1 var(--titulo); letter-spacing: 0.05em; text-decoration: none; }
.hb-nav a:hover { color: var(--rojo); }
.hb-cartbtn { position: relative; width: 48px; height: 48px; display: grid; place-items: center; background: var(--amarillo); border: var(--borde); border-radius: 50%; box-shadow: 3px 3px 0 var(--tinta); }
.hb-cartbtn svg { width: 24px; height: 24px; }
.hb-count { position: absolute; top: -8px; right: -8px; min-width: 24px; height: 24px; padding: 0 5px; border-radius: 12px; background: var(--rojo); color: #fff; border: 2px solid var(--tinta); font: 700 13px/20px var(--texto); text-align: center; }
@media (min-width: 900px) { .hb-nav { display: flex; } .hb-logo svg { width: 180px; } }

/* Portada: una página de historieta */
.hb-hero { padding: 22px 0 34px; }
.hb-page { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; grid-template-areas: "t t" "f f" "n h"; }
.hb-panel { position: relative; border: var(--borde); border-radius: var(--r); box-shadow: var(--sombra); overflow: hidden; background: #fff; }
.hb-p-title { grid-area: t; padding: 22px 20px 24px; background: var(--amarillo); background-image: radial-gradient(rgba(31, 79, 214, 0.16) 2px, transparent 2.2px); background-size: 12px 12px; }
.hb-caja { display: inline-block; align-self: flex-start; margin: 0 0 12px; padding: 4px 10px; font: 700 13px/1.3 var(--texto); letter-spacing: 0.06em; text-transform: uppercase; background: #fff; border: 2px solid var(--tinta); box-shadow: 2px 2px 0 var(--tinta); }
.hb-hero h1 { margin: 0; font: 400 clamp(52px, 14vw, 104px)/0.88 var(--titulo); letter-spacing: 0.02em; text-transform: uppercase; }
.hb-hero h1 .l1 { display: block; color: #fff; -webkit-text-stroke: 2.5px var(--tinta); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--tinta); }
.hb-hero h1 .l2 { display: block; color: var(--rojo); -webkit-text-stroke: 2.5px var(--tinta); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--tinta); }
.hb-hero h1 .l3 { display: block; font-size: 0.62em; margin-top: 6px; }
.hb-lead { margin: 16px 0 18px; font-size: 17px; max-width: 34ch; }
.hb-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hb-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; text-decoration: none; }
.hb-rating b { padding: 2px 8px; background: var(--tinta); color: var(--amarillo); border-radius: 6px; }
.hb-p-foto { grid-area: f; min-height: 280px; }
.hb-p-foto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hb-p-foto::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(0, 0, 0, 0.18) 1px, transparent 1.2px); background-size: 6px 6px; mix-blend-mode: multiply; pointer-events: none; }
.hb-globo {
  position: absolute; z-index: 2; left: 14px; top: 14px; max-width: 230px; padding: 12px 16px; background: #fff; border: var(--borde); border-radius: 50% / 42%;
  font: 400 21px/1.05 var(--titulo); letter-spacing: 0.03em; text-align: center;
}
.hb-globo::after { content: ""; position: absolute; left: 34%; bottom: -20px; width: 22px; height: 22px; background: #fff; border-right: var(--borde); border-bottom: var(--borde); transform: skewX(28deg) rotate(18deg); }
.hb-globo small { display: block; margin-top: 4px; font: 600 11px/1.2 var(--texto); letter-spacing: 0; color: var(--gris); }
.hb-p-nam { grid-area: n; display: grid; place-items: center; min-height: 150px; background: var(--rojo); background-image: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.16) 0 9deg, transparent 9deg 18deg); }
.hb-pow { font: 400 clamp(46px, 13vw, 76px)/1 var(--titulo); color: var(--amarillo); -webkit-text-stroke: 2.5px var(--tinta); paint-order: stroke fill; text-shadow: 4px 4px 0 var(--tinta); transform: rotate(-8deg); }
.hb-p-hora { grid-area: h; padding: 14px; background: var(--azul); color: #fff; display: flex; flex-direction: column; justify-content: center; }
.hb-p-hora b { font: 400 26px/1 var(--titulo); letter-spacing: 0.04em; }
.hb-p-hora p { margin: 6px 0 0; font-size: 14px; line-height: 1.35; }
@media (min-width: 900px) {
  .hb-hero { padding: 34px 0 50px; }
  .hb-page { grid-template-columns: 1.05fr 1fr 0.55fr; grid-template-rows: auto auto; grid-template-areas: "t f f" "t n h"; gap: 16px; }
  .hb-p-title { padding: 34px 32px; display: flex; flex-direction: column; justify-content: center; }
  .hb-p-foto { min-height: 400px; }
  .hb-lead { font-size: 18px; }
}

/* Cinta */
.hb-ticker { overflow: hidden; background: var(--tinta); color: var(--amarillo); border-block: var(--borde); }
.hb-ticker-in { display: flex; width: max-content; animation: hb-tick 32s linear infinite; }
.hb-ticker span { padding: 10px 14px; font: 400 24px/1 var(--titulo); letter-spacing: 0.06em; white-space: nowrap; }
@keyframes hb-tick { to { transform: translateX(-50%); } }

/* Secciones */
.hb-sec { padding: 64px 0; }
.hb-eyebrow { display: inline-block; margin: 0 0 10px; padding: 4px 10px; font: 700 13px/1.3 var(--texto); letter-spacing: 0.06em; text-transform: uppercase; background: var(--amarillo); border: 2px solid var(--tinta); transform: rotate(-2deg); }
.hb-h2 { margin: 0 0 10px; font: 400 clamp(42px, 9vw, 72px)/0.95 var(--titulo); letter-spacing: 0.02em; text-transform: uppercase; }
.hb-sub { margin: 0 0 24px; max-width: 60ch; font-size: 17px; color: #2d2823; }

/* Carta */
.hb-tabs { position: sticky; top: 64px; z-index: 30; display: flex; gap: 8px; overflow-x: auto; padding: 12px 16px; margin: 0 -16px 18px; background: var(--papel); border-bottom: 2px dashed rgba(20, 18, 16, 0.25); scrollbar-width: none; }
.hb-tabs::-webkit-scrollbar { display: none; }
.hb-tabs a { flex: none; padding: 7px 14px; font: 400 19px/1 var(--titulo); letter-spacing: 0.04em; text-decoration: none; background: #fff; border: 2px solid var(--tinta); border-radius: 999px; }
.hb-tabs a.on { background: var(--tinta); color: var(--amarillo); }
.hb-cat { scroll-margin-top: 140px; margin-bottom: 40px; }
.hb-cat-title { margin: 0 0 14px; font: 400 36px/1 var(--titulo); letter-spacing: 0.03em; }
.hb-cat-title small { display: block; margin-top: 4px; font: 600 14px/1.3 var(--texto); letter-spacing: 0; color: var(--gris); }
.hb-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-bottom: 16px; }
.hb-card { display: flex; flex-direction: column; background: #fff; border: var(--borde); border-radius: var(--r); box-shadow: var(--sombra); overflow: hidden; }
.hb-card-img { position: relative; aspect-ratio: 4 / 3; border-bottom: var(--borde); overflow: hidden; }
.hb-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.hb-card:hover .hb-card-img img { transform: scale(1.05); }
.hb-tag { position: absolute; top: 10px; left: 10px; padding: 5px 10px; font: 400 17px/1 var(--titulo); letter-spacing: 0.04em; background: var(--amarillo); border: 2px solid var(--tinta); transform: rotate(-3deg); }
.hb-card-body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 14px 16px 16px; }
.hb-card h3, .hb-row h3 { margin: 0; font: 800 18px/1.2 var(--texto); }
.hb-desc { margin: 0; font-size: 14.5px; line-height: 1.45; color: #463f38; }
.hb-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 6px; }
.hb-price { font: 400 28px/1 var(--titulo); letter-spacing: 0.03em; }
.hb-add { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; font: 400 20px/1 var(--titulo); letter-spacing: 0.04em; background: var(--rojo); color: #fff; border: 2px solid var(--tinta); border-radius: 10px; box-shadow: 3px 3px 0 var(--tinta); transition: transform 0.1s, box-shadow 0.1s, background 0.2s; }
.hb-add:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--tinta); }
.hb-add.done { background: var(--verde); }
.hb-add i { font-style: normal; font-size: 22px; }
.hb-add-sm { width: 46px; justify-content: center; padding: 0; }
.hb-add-sm i { font: 800 26px/1 var(--texto); }
.hb-vars { display: flex; flex-wrap: wrap; gap: 6px; }
.hb-vars button { display: inline-flex; flex-direction: column; align-items: center; min-height: 40px; padding: 5px 10px; font: 600 13px/1.15 var(--texto); background: #fff; border: 2px solid var(--tinta); border-radius: 8px; }
.hb-vars button small { font-weight: 500; font-size: 11.5px; color: var(--gris); }
.hb-vars button[aria-checked="true"] { background: var(--amarillo); box-shadow: 2px 2px 0 var(--tinta); }
.hb-rows { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.hb-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 6px 12px; padding: 12px 14px; background: #fff; border: 2px solid var(--tinta); border-radius: 12px; }
.hb-row .hb-vars { grid-column: 1 / -1; }
.hb-row .hb-price { font-size: 24px; }
.hb-nota-carta { margin: 6px 0 0; font-size: 13.5px; color: var(--gris); }

/* Pizza 3D */
.hb-girala { background: var(--tinta); color: #fff; border-block: var(--borde); background-image: radial-gradient(rgba(255, 210, 63, 0.12) 1.5px, transparent 1.6px); background-size: 16px 16px; overflow: hidden; }
.hb-girala .hb-sub { color: #e9e2d6; }
.hb-girala-grid { display: grid; gap: 26px; align-items: center; }
@media (min-width: 900px) { .hb-girala-grid { grid-template-columns: 0.9fr 1.1fr; } }
.hb-pz-stage { position: relative; height: min(92vw, 470px); display: grid; place-items: center; perspective: 1100px; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
.hb-pz-stage:active { cursor: grabbing; }
.hb-pz { position: relative; width: min(74vw, 380px); aspect-ratio: 1; transform-style: preserve-3d; transform: rotateX(58deg) rotateZ(0deg); will-change: transform; }
.hb-pz > i { position: absolute; inset: 0; border-radius: 50%; background: #7a4a24; }
.hb-pz > i:nth-child(odd) { background: #8d5a2e; }
.hb-pz .hb-pz-top { position: absolute; inset: 0; border-radius: 50%; background: url(/assets/img/empanadas-top.webp) center / cover; transform: translateZ(14px); }
.hb-pz .hb-pz-base { background: #8a5422; transform: translateZ(-2px); box-shadow: 0 0 60px rgba(255, 210, 63, 0.25); }
.hb-pz-sombra { position: absolute; bottom: 10%; width: 60%; height: 30px; border-radius: 50%; background: radial-gradient(rgba(0, 0, 0, 0.55), transparent 70%); filter: blur(4px); }
.hb-pz-hint { position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%); margin: 0; padding: 6px 12px; font: 400 18px/1 var(--titulo); letter-spacing: 0.05em; color: var(--tinta); background: var(--amarillo); border: 2px solid var(--tinta); border-radius: 999px; white-space: nowrap; }
.hb-pz-pow { position: absolute; top: 6%; right: 4%; padding: 10px 14px; font: 400 26px/1 var(--titulo); color: var(--tinta); background: #fff; border: var(--borde); border-radius: 50% / 45%; transform: rotate(8deg); }

/* Veggie y sin TACC */
.hb-veg-grid { display: grid; gap: 18px; }
@media (min-width: 900px) { .hb-veg-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; } }
.hb-veg-foto { position: relative; border: var(--borde); border-radius: var(--r); box-shadow: var(--sombra); overflow: hidden; transform: rotate(-1.5deg); }
.hb-veg-foto img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hb-sabores { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.hb-sabores li { padding: 7px 12px; font-weight: 700; font-size: 14.5px; background: #fff; border: 2px solid var(--tinta); border-radius: 999px; box-shadow: 2px 2px 0 var(--tinta); }
.hb-sabores li:nth-child(3n + 1) { background: #d9f2df; }
.hb-sabores li:nth-child(3n + 2) { background: #ffe9b0; }
.hb-sello { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 12px; font-weight: 700; background: #fff; border: 2px dashed var(--tinta); border-radius: 10px; }

/* El bar y las opiniones */
.hb-bar-sec { background: var(--papel2); border-block: var(--borde); }
.hb-bar-grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .hb-bar-grid { grid-template-columns: 0.9fr 1.1fr; } }
.hb-vineta { margin: 0; border: var(--borde); border-radius: var(--r); box-shadow: var(--sombra); overflow: hidden; background: #fff; transform: rotate(1.5deg); }
.hb-vineta img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.hb-vineta figcaption { padding: 8px 12px; font: 400 18px/1.1 var(--titulo); letter-spacing: 0.04em; border-top: var(--borde); background: var(--amarillo); }
.hb-globos { display: grid; gap: 22px; margin-bottom: 18px; }
.hb-dice { position: relative; margin: 0; padding: 14px 18px; background: #fff; border: var(--borde); border-radius: 22px; box-shadow: var(--sombra-sm); }
.hb-dice::after { content: ""; position: absolute; left: 30px; bottom: -14px; width: 20px; height: 20px; background: #fff; border-right: var(--borde); border-bottom: var(--borde); transform: skewX(30deg) rotate(20deg); }
.hb-dice:nth-child(even) { margin-left: 22px; }
.hb-dice:nth-child(even)::after { left: auto; right: 34px; transform: skewX(-30deg) rotate(-20deg) scaleX(-1); }
.hb-dice p { margin: 0; font: 400 22px/1.15 var(--titulo); letter-spacing: 0.03em; }
.hb-dice cite { display: block; margin-top: 6px; font: 600 12.5px/1.2 var(--texto); font-style: normal; color: var(--gris); }
.hb-more { font-weight: 700; }

/* Cómo pedir: tira de 3 viñetas */
.hb-tira { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: v; }
@media (min-width: 760px) { .hb-tira { grid-template-columns: repeat(3, 1fr); } }
.hb-tira li { position: relative; padding: 22px 18px 20px; background: #fff; border: var(--borde); border-radius: var(--r); box-shadow: var(--sombra-sm); }
.hb-tira li:nth-child(1) { background: #fff3c4; }
.hb-tira li:nth-child(2) { background: #dbe7ff; }
.hb-tira li:nth-child(3) { background: #d9f2df; }
.hb-tira b { position: absolute; top: -16px; left: 14px; width: 40px; height: 40px; display: grid; place-items: center; font: 400 26px/1 var(--titulo); background: var(--rojo); color: #fff; border: var(--borde); border-radius: 50%; }
.hb-tira h3 { margin: 6px 0 6px; font: 400 26px/1 var(--titulo); letter-spacing: 0.03em; }
.hb-tira p { margin: 0; font-size: 15px; }

/* Dónde estamos */
.hb-info { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-bottom: 46px; }
.hb-chip { padding: 16px 18px; background: #fff; border: var(--borde); border-radius: var(--r); box-shadow: var(--sombra-sm); }
.hb-chip span { display: inline-block; margin-bottom: 8px; padding: 3px 9px; font: 400 18px/1 var(--titulo); letter-spacing: 0.05em; background: var(--tinta); color: var(--amarillo); border-radius: 6px; }
.hb-chip p { margin: 0; font-size: 15.5px; }
.hb-chip small { color: var(--gris); }
.hb-horas { width: 100%; border-collapse: collapse; font-size: 15px; }
.hb-horas td { padding: 2px 0; }
.hb-horas td:last-child { text-align: right; font-weight: 700; }
.hb-horas tr.hoy td { color: var(--rojo); }
.hb-mapa { display: block; margin-top: 10px; border: 2px solid var(--tinta); border-radius: 10px; overflow: hidden; }
.hb-mapa iframe { display: block; width: 100%; height: 180px; border: 0; }
.hb-faq { display: grid; gap: 10px; }
.hb-faq details { background: #fff; border: 2px solid var(--tinta); border-radius: 12px; }
.hb-faq summary { padding: 14px 44px 14px 16px; font-weight: 800; cursor: pointer; list-style: none; position: relative; }
.hb-faq summary::-webkit-details-marker { display: none; }
.hb-faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font: 400 28px/1 var(--titulo); }
.hb-faq details[open] summary::after { content: "–"; }
.hb-faq details p { margin: 0; padding: 0 16px 16px; }

/* Final */
.hb-end { padding: 70px 0 80px; text-align: center; background: var(--rojo); border-top: var(--borde); background-image: repeating-conic-gradient(from 0deg at 50% 60%, rgba(255, 255, 255, 0.12) 0 8deg, transparent 8deg 16deg); }
.hb-end h2 { margin: 0 0 10px; font: 400 clamp(50px, 12vw, 96px)/0.9 var(--titulo); color: var(--amarillo); -webkit-text-stroke: 2.5px var(--tinta); paint-order: stroke fill; text-shadow: 5px 5px 0 var(--tinta); text-transform: uppercase; }
.hb-end p { margin: 0 auto 24px; max-width: 40ch; color: #fff; font-size: 18px; font-weight: 600; }
.hb-end .hb-btn { background: var(--amarillo); }
.hb-foot { padding: 22px 16px 100px; text-align: center; font-size: 14px; background: var(--tinta); color: #e9e2d6; }
.hb-foot a { color: var(--amarillo); }

/* Barra del pedido y panel */
.hb-bar { position: fixed; z-index: 45; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; width: min(520px, calc(100% - 28px)); min-height: 58px; padding: 8px 10px 8px 16px; background: var(--tinta); color: #fff; border: var(--borde); border-radius: 16px; box-shadow: 4px 4px 0 var(--amarillo); }
.hb-bar[hidden] { display: none; }
.hb-bar-n { min-width: 30px; height: 30px; display: grid; place-items: center; font-weight: 800; background: var(--rojo); border-radius: 50%; }
.hb-bar-t { margin-right: auto; font: 400 22px/1 var(--titulo); letter-spacing: 0.05em; }
.hb-bar-total { padding: 8px 12px; font: 400 24px/1 var(--titulo); color: var(--tinta); background: var(--amarillo); border-radius: 10px; }
.hb-drawer { position: fixed; inset: 0; z-index: 60; }
.hb-drawer[hidden] { display: none; }
.hb-drawer-bg { position: absolute; inset: 0; background: rgba(20, 18, 16, 0.6); }
.hb-panel-ped { position: absolute; right: 0; top: 0; bottom: 0; width: min(460px, 100%); display: flex; flex-direction: column; background: var(--papel); border-left: var(--borde); }
.hb-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--amarillo); border-bottom: var(--borde); }
.hb-panel-head h2 { margin: 0; font: 400 32px/1 var(--titulo); letter-spacing: 0.04em; }
.hb-x { width: 44px; height: 44px; font-size: 20px; background: #fff; border: 2px solid var(--tinta); border-radius: 50%; }
.hb-panel-body { flex: 1; overflow-y: auto; padding: 16px; overscroll-behavior: contain; }
.hb-items { display: grid; gap: 10px; margin-bottom: 14px; }
.hb-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 8px; background: #fff; border: 2px solid var(--tinta); border-radius: 12px; }
.hb-item img, .hb-noimg { width: 54px; height: 54px; object-fit: cover; border-radius: 8px; border: 2px solid var(--tinta); }
.hb-noimg { display: grid; place-items: center; font-size: 26px; background: var(--papel2); }
.hb-item h4 { margin: 0; font-size: 14.5px; line-height: 1.25; }
.hb-item small { display: block; color: var(--gris); }
.hb-item b { font-size: 15px; }
.hb-qty { display: flex; align-items: center; gap: 4px; }
.hb-qty button { width: 34px; height: 34px; font-size: 18px; font-weight: 800; background: var(--amarillo); border: 2px solid var(--tinta); border-radius: 8px; }
.hb-qty span { min-width: 22px; text-align: center; font-weight: 800; }
.hb-empty { margin: 20px 0; text-align: center; font-weight: 600; }
.hb-drawer.hb-has .hb-empty { display: none; }
.hb-drawer:not(.hb-has) .hb-form { display: none; }
.hb-sum { padding: 12px 14px; margin-bottom: 14px; background: #fff; border: 2px solid var(--tinta); border-radius: 12px; }
.hb-sum div { display: flex; justify-content: space-between; padding: 2px 0; }
.hb-sum-total { margin-top: 6px; padding-top: 8px !important; border-top: 2px dashed var(--tinta); font-size: 18px; }
.hb-sum-total b { font: 400 26px/1 var(--titulo); letter-spacing: 0.03em; }
.hb-field { display: block; margin-bottom: 12px; }
.hb-field span { display: block; margin-bottom: 4px; font-weight: 700; font-size: 14px; }
.hb-field input, .hb-field textarea { width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-size: 16px; background: #fff; border: 2px solid var(--tinta); border-radius: 10px; }
.hb-field.err input { border-color: var(--rojo); box-shadow: 0 0 0 3px rgba(232, 55, 44, 0.25); }
.hb-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 12px; padding: 0; border: 0; }
.hb-seg legend { margin-bottom: 6px; font-weight: 700; font-size: 14px; }
.hb-seg label { position: relative; }
.hb-seg input { position: absolute; opacity: 0; }
.hb-seg span { display: grid; place-items: center; min-height: 46px; padding: 6px; text-align: center; font-weight: 700; font-size: 14.5px; background: #fff; border: 2px solid var(--tinta); border-radius: 10px; }
.hb-seg input:checked + span { background: var(--amarillo); box-shadow: 2px 2px 0 var(--tinta); }
.hb-seg input:focus-visible + span { outline: 3px solid var(--azul); }
.hb-note { margin: 0 0 12px; font-size: 13.5px; color: var(--gris); }
.hb-center { text-align: center; }
.hb-send { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; margin-top: 4px; font: 400 24px/1 var(--titulo); letter-spacing: 0.04em; color: #fff; background: #1faa53; border: var(--borde); border-radius: 12px; box-shadow: var(--sombra-sm); }
.hb-send svg { width: 26px; height: 26px; }
.hb-toast { position: fixed; z-index: 70; left: 50%; top: 80px; transform: translate(-50%, -20px); padding: 10px 16px; font-weight: 700; background: #fff; border: var(--borde); border-radius: 999px; box-shadow: var(--sombra-sm); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; white-space: nowrap; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; }
.hb-toast.on { opacity: 1; transform: translate(-50%, 0); }
.hb-wa { position: fixed; z-index: 44; right: 16px; bottom: 16px; width: 60px; height: 60px; display: grid; place-items: center; color: #fff; background: #1faa53; border: var(--borde); border-radius: 50%; box-shadow: var(--sombra-sm); transition: transform 0.2s, opacity 0.2s; }
.hb-wa svg { width: 32px; height: 32px; }
.hb-wa.off { opacity: 0; transform: scale(0.6); pointer-events: none; }
.hb-crumb { position: fixed; z-index: 80; left: 0; top: 0; width: 10px; height: 10px; border: 2px solid var(--tinta); border-radius: 2px; pointer-events: none; }
.hb-bump { animation: hb-bump 0.4s; }
@keyframes hb-bump { 40% { transform: scale(1.35); } }
:focus-visible { outline: 3px solid var(--azul); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .hb-ticker-in { animation: none; } * { transition: none !important; } }

/* ---- Ajustes de Don Cipriano ---- */
.hb-btn, .hb-nav a, .hb-tabs a, .hb-add, .hb-price, .hb-tag, .hb-dice p, .hb-tira h3, .hb-chip span, .hb-send, .hb-bar-t, .hb-bar-total, .hb-panel-head h2, .hb-pz-hint, .hb-pz-pow, .hb-globo, .hb-p-hora b, .hb-vineta figcaption, .hb-cat-title, .hb-ticker span { letter-spacing: 0.03em; font-weight: 600; text-transform: uppercase; }
.hb-btn { font-size: 18px; border-radius: 10px; }
.hb-btn-rojo { background: var(--rojo); color: var(--crema); }
.hb-add { font-size: 16px; }
.hb-price { font-size: 25px; font-weight: 600; }
.hb-row .hb-price { font-size: 22px; }
/* Encabezado oscuro, como el local de noche */
.hb-top { background: var(--madera); color: var(--crema); border-bottom: 3px solid var(--amarillo); }
.hb-nav a { font-size: 16px; color: var(--crema); }
.hb-nav a:hover { color: var(--amarillo); }
.hb-cartbtn { border-color: var(--crema); box-shadow: none; }
.hb-logo svg { width: 176px; }
@media (min-width: 900px) { .hb-logo svg { width: 206px; } }
/* Portada: cartel de madera con letras doradas */
.hb-hero { background: linear-gradient(180deg, #1a120c 0%, #2c1f15 100%); }
.hb-panel { box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35); border-color: #120c08; }
.hb-p-title { color: var(--crema); background: var(--madera); background-image: repeating-linear-gradient(92deg, rgba(255, 255, 255, 0.025) 0 3px, transparent 3px 11px), repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 38px); border: 3px solid #120c08; outline: 2px solid rgba(216, 165, 65, 0.45); outline-offset: -10px; }
.hb-caja { background: transparent; color: var(--amarillo); border: 1.5px solid var(--amarillo); box-shadow: none; }
.hb-hero h1 { font: 700 clamp(44px, 12.5vw, 86px)/0.95 var(--titulo); letter-spacing: 0.01em; }
.hb-hero h1 .l1 { color: var(--crema); -webkit-text-stroke: 0; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.45); }
.hb-hero h1 .l2 { color: var(--amarillo); -webkit-text-stroke: 0; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.45); }
.hb-hero h1 .l3 { font: 400 0.42em/1.15 var(--script); text-transform: none; color: var(--crema); margin-top: 12px; }
.hb-lead { color: #eadcbc; }
.hb-rating { color: var(--crema); }
.hb-rating b { background: var(--amarillo); color: var(--tinta); }
.hb-btn-blanco { background: var(--crema); }
.hb-p-foto::after { background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.35)); mix-blend-mode: normal; }
.hb-globo { border-radius: 14px; font: 600 18px/1.15 var(--titulo); text-transform: none; background: var(--crema); border: 2px solid var(--tinta); }
.hb-globo::after { background: var(--crema); border-width: 2px; }
.hb-p-nam { background: radial-gradient(circle at 50% 120%, #f2a33a 0%, #c2501e 38%, #6e2410 75%, #2c1309 100%); }
.hb-pow { font: 400 clamp(30px, 8vw, 46px)/1.05 var(--script); color: var(--crema); -webkit-text-stroke: 0; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); transform: rotate(-4deg); text-align: center; padding: 0 12px; }
.hb-p-hora { background: var(--papel); color: var(--tinta); }
.hb-p-hora b { font-size: 20px; }
/* Títulos de sección: carteles de madera como los del frente */
.hb-eyebrow { background: transparent; border: 0; border-bottom: 2px solid var(--rojo); padding: 0 0 2px; transform: none; color: var(--rojo); }
.hb-h2 { display: table; margin: 0 0 14px; padding: 10px 18px 8px; font: 700 clamp(30px, 7vw, 54px)/1 var(--titulo); letter-spacing: 0.03em; color: var(--amarillo); background: var(--madera); background-image: repeating-linear-gradient(92deg, rgba(255, 255, 255, 0.03) 0 3px, transparent 3px 12px); border: 2px solid #120c08; border-radius: 4px; box-shadow: 0 6px 14px rgba(33, 23, 15, 0.3); }
.hb-cat-title { font-size: 28px; }
.hb-tabs a { font-size: 15px; }
.hb-tabs a.on { background: var(--madera); color: var(--amarillo); }
.hb-tag { font-size: 14px; background: var(--amarillo); }
.hb-card, .hb-row, .hb-chip, .hb-tira li, .hb-faq details, .hb-dice, .hb-serv article { background: #fffaf0; }
.hb-vars button[aria-checked="true"] { background: var(--amarillo); }
/* 3D y horno: fuego de fondo */
.hb-girala { background: #160f0a; background-image: radial-gradient(ellipse at 70% 100%, rgba(226, 110, 36, 0.38), transparent 60%), radial-gradient(rgba(216, 165, 65, 0.08) 1.5px, transparent 1.6px); background-size: auto, 18px 18px; }
.hb-girala .hb-h2 { background-color: #2c1f15; }
.hb-pz > i { background: #8a3f1c; }
.hb-pz > i:nth-child(odd) { background: #9c4a22; }
.hb-pz .hb-pz-top { background-image: url(/assets/img/empanadas-top.webp); }
.hb-pz .hb-pz-base { background: #7a3517; box-shadow: 0 0 80px rgba(242, 140, 50, 0.35); }
.hb-pz-pow { font: 400 24px/1 var(--script); text-transform: none; background: var(--crema); border: 2px solid var(--tinta); border-radius: 12px; }
.hb-pz-hint { font-size: 15px; }
.hb-horno { background: var(--papel2); border-block: var(--borde); }
.hb-veg-foto { transform: rotate(-1deg); }
.hb-sabores li { font-size: 14px; background: #fffaf0 !important; }
.hb-sabores li.casa { background: var(--amarillo) !important; }
.hb-sello { background: #fffaf0; }
.hb-horno-txt p { margin: 0 0 14px; font-size: 16.5px; }
.hb-bar-sec { background: var(--papel); }
.hb-vineta { transform: rotate(1deg); }
.hb-vineta figcaption { font-size: 15px; background: var(--madera); color: var(--amarillo); }
.hb-dice p { font: 600 19px/1.25 var(--titulo); text-transform: none; }
.hb-tira b { background: var(--rojo); color: var(--crema); font-size: 22px; }
.hb-tira li:nth-child(1), .hb-tira li:nth-child(2), .hb-tira li:nth-child(3) { background: #fffaf0; }
.hb-tira h3 { font-size: 22px; }
.hb-chip span { font-size: 14px; background: var(--madera); }
.hb-end { background: #160f0a; background-image: radial-gradient(ellipse at 50% 110%, rgba(226, 110, 36, 0.55), transparent 65%); }
.hb-end h2 { font: 400 clamp(44px, 11vw, 84px)/1 var(--script); text-transform: none; color: var(--crema); -webkit-text-stroke: 0; text-shadow: 0 4px 18px rgba(0, 0, 0, 0.6); }
.hb-end p { color: #eadcbc; }
.hb-foot { background: var(--madera); }
.hb-panel-head { background: var(--madera); color: var(--amarillo); }
.hb-panel-head h2 { font-size: 26px; }
.hb-bar { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); border-color: var(--amarillo); }
.hb-bar-t { font-size: 18px; }
.hb-bar-total { font-size: 20px; }
.hb-send { font-size: 20px; }
.hb-ticker { background: var(--madera); }
.hb-ticker span { font-size: 19px; }
