body.rd.ap {
  --ink: #095a35;
  --surface: #074a2b;
  --surface-2: #0b6a3f;
  --deep: #05432a;
  --cream: #f4efe3;
  --cream-soft: #fbf8f1;
  --cream-dim: #c9c2b2;
  --muted: #b8cdbf;
  --line: rgba(244, 239, 227, .16);
  --line-soft: rgba(244, 239, 227, .07);
  --sage: #f0a25c;
  --sage-hi: #f6d3ad;
  --sage-deep: #2a1a0c;
  --sage-deep-hi: #3b2614;
  --sage-tint: #2a1f16;
  --terra: #f0a25c;
  --terra-btn: #f0a25c;
  --terra-btn-hi: #f6b878;
  --terra-deep: #2a1a0c;
  --peach: #f0a25c;
  --gold: #c9a36a;
  --wood: #e8dcc0;
  --glow: 0 0 60px rgba(240, 162, 92, .45);
  --font-title: 'Dela Gothic One', 'Chango', Georgia, serif;
  background: var(--ink);
  padding-bottom: calc(84px + env(safe-area-inset-bottom));
}

body.rd.ap .rd-petals { display: none; }

body.ap .hero-section,
body.ap #anuncios-inicio,
body.ap .fav-strip,
body.ap .nosotros-section,
body.ap #menu,
body.ap .info-delivery-section,
body.ap .faq-section,
body.ap .galeria-section,
body.ap .contact-section { display: none; }

body.ap[data-ap="inicio"] .hero-section { display: flex; }
body.ap[data-ap="carta"] #anuncios-inicio:not([hidden]) { display: block; }
body.ap[data-ap="carta"] #menu { display: block; }
body.ap[data-ap="carta"] #comunidad-fav { display: none !important; }
body.ap[data-ap="favs"] .fav-strip { display: block; }
body.ap[data-ap="favs"] #menu { display: block; padding-top: 0; }
body.ap[data-ap="favs"] #menu > :not(#comunidad-fav) { display: none !important; }
body.ap[data-ap="nosotros"] .nosotros-section,
body.ap[data-ap="nosotros"] .info-delivery-section,
body.ap[data-ap="nosotros"] .faq-section,
body.ap[data-ap="nosotros"] .galeria-section,
body.ap[data-ap="nosotros"] .contact-section { display: block; }

body.rd.ap .nav-toggle,
body.rd.ap .nav-links { display: none !important; }
body.rd.ap .navbar,
body.rd.ap .navbar.rd-nav-solid {
  background: rgba(5, 67, 42, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
body.rd.ap[data-ap="inicio"] .navbar {
  background: linear-gradient(180deg, rgba(5, 67, 42, .7), rgba(5, 67, 42, 0));
  backdrop-filter: none;
  border-bottom-color: transparent;
}
body.rd.ap .logo-text { font-family: var(--font-title); letter-spacing: .12em; font-size: 16px; }
body.rd.ap .logo-text::before { color: var(--terra); }
body.rd.ap .hero-status.is-open { color: var(--terra); border-color: rgba(240, 162, 92, .45); background: rgba(5, 67, 42, .6); }

body.rd.ap .hero-section { min-height: calc(100svh - 84px - env(safe-area-inset-bottom)); }
body.rd.ap .hero-section::after {
  background: linear-gradient(180deg,
    rgba(5, 67, 42, .35) 0%, rgba(5, 67, 42, 0) 22%,
    rgba(9, 90, 53, .35) 48%, rgba(9, 90, 53, .9) 70%, var(--ink) 92%);
}
body.rd.ap .hero-bg-image,
body.rd.ap .hero-fg-blossom { filter: saturate(.85) brightness(.78); }
body.rd.ap .hero-kanji-v {
  top: 78px; right: 18px;
  font-family: var(--font-jp); font-weight: 800;
  font-size: 28px; line-height: 1.15;
  color: #2a1a0c;
  background: var(--terra);
  padding: 16px 12px;
  border-radius: 30px;
  border-top: 4px solid #2a1a0c;
  border-bottom: 4px solid #2a1a0c;
  box-shadow: var(--glow);
  animation: none;
}
body.rd.ap .hero-kanji-v::before {
  content: "";
  position: absolute; left: 50%; top: -20px;
  width: 2px; height: 16px; background: var(--gold);
}
body.rd.ap .hero-content { gap: 10px; padding-bottom: 28px; }
body.rd.ap .hero-kicker {
  order: 1;
  font-family: var(--font-text); font-weight: 800;
  font-size: 13px; line-height: 1.3; letter-spacing: .02em;
  color: var(--terra); max-width: none; text-shadow: none;
}
body.rd.ap .hero-name {
  order: 2;
  font-family: var(--font-title); font-weight: 400;
  font-size: clamp(52px, 16vw, 76px); line-height: .95;
  letter-spacing: 0; text-transform: none;
  color: var(--cream); margin: -4px 0 4px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .55);
}
body.rd.ap .hero-legend { order: 3; color: var(--cream-dim); font-size: 14.5px; }
body.rd.ap .hero-actions {
  order: 4;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px; width: 100%; margin-top: 8px;
}
body.rd.ap .hero-cta {
  min-height: 48px; border-radius: 14px;
  font-size: 14px; letter-spacing: 0;
}
body.rd.ap .hero-actions .hero-cta:first-child {
  grid-column: 1 / -1;
  min-height: 56px; border-radius: 16px;
  font-family: var(--font-title); font-weight: 400; font-size: 17px;
}
body.rd.ap .hero-cta-ghost {
  background: var(--surface); border-color: var(--surface); color: var(--cream);
  backdrop-filter: none;
}
body.rd.ap .rd-scroll-hint { display: none; }

body.rd.ap .section-title { font-family: var(--font-title); color: var(--cream); }
body.rd.ap .section-title .title-sub { color: var(--terra); }

body.rd.ap #anuncios-inicio { padding: 14px var(--pad-x) 0; }

body.rd.ap .categories-nav { background: var(--deep); border-bottom-color: var(--line); }
body.rd.ap .categories-scroll { gap: 8px; padding: 10px var(--pad-x) 12px; }
body.rd.ap .category-btn {
  background: var(--wood); color: #2a1a0c;
  border: 0; border-radius: 6px;
  font-weight: 800; font-size: 13px;
  min-height: 44px; padding: 0 14px;
}
body.rd.ap .category-btn.active,
body.rd.ap .category-btn.is-active,
body.rd.ap .category-btn[aria-current="true"] {
  background: var(--terra); color: #2a1a0c;
  box-shadow: 0 0 24px rgba(240, 162, 92, .45);
}

body.rd.ap .category-title { font-size: 22px; }
body.rd.ap .category-title .title-sub { color: var(--terra); font-size: 20px; }
body.rd.ap .category-japanese-note { font-style: normal; font-family: var(--font-text); color: var(--muted); }

body.rd.ap #menu .menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding-top: 12px;
}

body.rd.ap #menu .menu-item:not(.ap-open) {
  display: flex; flex-direction: column;
  padding: 0; margin: 0;
  border: 0; border-radius: 18px;
  background: var(--surface);
  overflow: hidden; position: relative;
  cursor: pointer;
  transform: none !important;
  min-height: 0;
}
body.rd.ap #menu .menu-item:not(.ap-open):hover { background: var(--surface-2); border: 0; }
body.rd.ap #menu .menu-item:not(.ap-open)::after {
  content: "+";
  position: absolute; right: 8px; bottom: 8px;
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--terra); color: #2a1a0c;
  font: 800 22px/1 var(--font-text);
  pointer-events: none;
}
body.rd.ap #menu .menu-item.coming-soon-visual:not(.ap-open)::after,
body.rd.ap #menu .menu-item.is-agotado:not(.ap-open)::after { content: none; }
body.rd.ap #menu .menu-item.is-agotado:not(.ap-open),
body.rd.ap #menu .menu-item.coming-soon-visual:not(.ap-open) { opacity: .7; }

body.rd.ap #menu .menu-item:not(.ap-open) > :not(.item-image-wrapper):not(.custom-roll-photo-wrapper):not(.item-header):not(.item-details):not(.badge-seijaku):not(.agotado-cinta) { display: none !important; }
body.rd.ap #menu .menu-item:not(.ap-open) .item-details > :not(.item-header) { display: none !important; }

body.rd.ap #menu .menu-item:not(.ap-open) > .item-image-wrapper,
body.rd.ap #menu .menu-item:not(.ap-open) > .custom-roll-photo-wrapper {
  order: 0;
  width: 100%; height: 118px; min-height: 0; aspect-ratio: auto;
  border-radius: 0; margin: 0;
  align-self: stretch;
}
body.rd.ap #menu .menu-item:not(.ap-open) > .item-image-wrapper:empty { display: none; }
body.rd.ap #menu .menu-item:not(.ap-open) .like-btn { transform: scale(.85); }

body.rd.ap #menu .menu-item:not(.ap-open) > .badge-seijaku {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  margin: 0; transform: none; outline: 0; border: 0;
  border-radius: 999px; padding: 3px 9px;
  font-size: 11px; letter-spacing: .02em; text-transform: none;
  max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis;
}
body.rd.ap #menu .menu-item:not(.ap-open) > .agotado-cinta {
  position: absolute; top: 88px; left: 8px; z-index: 3;
  border-radius: 999px; padding: 3px 9px; font-size: 11px;
}

body.rd.ap #menu .menu-item:not(.ap-open) > .item-details,
body.rd.ap #menu .menu-item:not(.ap-open) > .item-header {
  order: 1; flex: 1;
  padding: 9px 54px 12px 11px; margin: 0;
}
body.rd.ap #menu .menu-item:not(.ap-open) > .item-details { display: block; }
body.rd.ap #menu .menu-item:not(.ap-open) .item-header {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  margin: 0; padding-right: 0;
}
body.rd.ap #menu .menu-item:not(.ap-open) > .item-header { padding-right: 54px; }
body.rd.ap #menu .menu-item:not(.ap-open) .item-header h4 {
  font-family: var(--font-text); font-weight: 800;
  font-size: 14px; line-height: 1.2; color: var(--cream);
  display: block;
}
body.rd.ap #menu .menu-item:not(.ap-open) .item-header h4 .badge-new,
body.rd.ap #menu .menu-item:not(.ap-open) .item-header h4 .detail-count { display: none; }
body.rd.ap #menu .menu-item .item-header .price {
  background: none; padding: 0; border-radius: 0;
  font-family: var(--font-title); font-weight: 400;
  font-size: 15px; color: var(--terra);
}

body.rd.ap #menu .menu-item.ap-open {
  position: fixed; left: 0; right: 0; bottom: 0; top: auto;
  z-index: 100050;
  max-height: 88svh; overflow-y: auto; overscroll-behavior: contain;
  margin: 0; padding: 0 20px calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 10px;
  background: var(--ink);
  border: 0; border-top: 1px solid rgba(240, 162, 92, .35);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, .6);
  transform: none !important;
  animation: apSube .28s cubic-bezier(.2, .8, .2, 1) both;
  cursor: auto;
}
body.rd.ap #menu .menu-item.ap-open:hover { background: var(--ink); }
body.rd.ap #menu .menu-item.ap-open::after { content: none; }
body.rd.ap #menu .menu-item.ap-open > .item-image-wrapper,
body.rd.ap #menu .menu-item.ap-open > .custom-roll-photo-wrapper {
  width: auto; height: 240px; min-height: 0; aspect-ratio: auto;
  margin: 0 -20px; border-radius: 0; flex: none; align-self: stretch;
}
body.rd.ap #menu .menu-item.ap-open > .item-image-wrapper:empty { display: none; }
body.rd.ap #menu .menu-item.ap-open > .badge-seijaku {
  position: absolute; top: 16px; right: 16px; left: auto; z-index: 4;
  margin: 0; transform: none;
}
body.rd.ap #menu .menu-item.ap-open > .item-details { padding: 6px 0 0; gap: 10px; }
body.rd.ap #menu .menu-item.ap-open .item-header {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
body.rd.ap #menu .menu-item.ap-open .item-header h4 {
  font-family: var(--font-title); font-size: 24px; line-height: 1.12; color: var(--cream);
}
body.rd.ap #menu .menu-item.ap-open .item-header .price { font-size: 22px; }
body.rd.ap #menu .menu-item.ap-open .item-details > .description,
body.rd.ap #menu .menu-item.ap-open > .description {
  display: block; -webkit-line-clamp: unset; overflow: visible;
  font-size: 15px; line-height: 1.55; color: var(--cream-dim); cursor: auto;
}
body.rd.ap #menu .menu-item.ap-open .add-to-cart,
body.rd.ap #menu .menu-item.ap-open .builder-submit-btn {
  min-height: 54px; border-radius: 16px;
  background: var(--terra); color: #2a1a0c; border: 0;
  font-family: var(--font-text); font-weight: 800; font-size: 16px;
}
body.rd.ap #menu .menu-item.ap-open select {
  min-height: 48px; border-radius: 12px;
  background: var(--surface); color: var(--cream);
  border: 1px solid var(--line); font-size: 16px;
}
body.rd.ap #menu .menu-item.ap-open .qty-stepper {
  background: var(--surface); border-radius: 14px; border: 0;
}

body.ap .ap-x {
  position: sticky; top: 12px; z-index: 6;
  align-self: flex-end;
  width: 44px; height: 44px; margin: 12px -6px -56px 0;
  flex: none;
  border-radius: 999px; border: 0;
  background: rgba(5, 67, 42, .8); color: var(--cream);
  font-size: 24px; line-height: 1; cursor: pointer;
}
body.ap #menu .menu-item:not(.ap-open) > .ap-x { display: none !important; }

body.ap .ap-backdrop {
  position: fixed; inset: 0; z-index: 100040;
  background: rgba(5, 11, 8, .72);
  animation: apAparece .2s ease both;
}
body.ap .ap-backdrop[hidden] { display: none; }
body.ap.ap-sheet { overflow: hidden; }

@keyframes apSube { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes apAparece { from { opacity: 0; } to { opacity: 1; } }

body.ap .ap-tabs {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000;
  height: calc(76px + env(safe-area-inset-bottom));
  padding: 0 6px env(safe-area-inset-bottom);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: center;
  background: rgba(5, 67, 42, .97);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
body.ap .ap-tab {
  height: 64px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  font: 600 12px/1 var(--font-text);
  color: var(--muted); text-decoration: none;
}
body.ap .ap-tab svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
body.ap .ap-tab:hover { color: var(--cream); }
body.ap .ap-tab[aria-current="page"] { color: var(--terra); font-weight: 800; }
body.ap .ap-tab-pedido {
  height: 44px; margin: 0 4px;
  padding: 0 12px 0 8px;
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; border-radius: 14px;
  background: var(--terra); color: #2a1a0c;
  font: 800 14px/1 var(--font-text);
  cursor: pointer;
}
body.ap .ap-tab-count {
  min-width: 22px; height: 22px; padding: 0 5px; box-sizing: border-box;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #2a1a0c; color: var(--terra);
  font-size: 12px;
}
body.ap.cart-modal-open .ap-tabs,
body.ap.ap-sheet .ap-tabs { visibility: hidden; }

body.rd.ap .cart-floating-btn { display: none !important; }
body.rd.ap .cg-ask,
body.rd.ap:has(#cart-floating-btn:not(.hidden)) .cg-ask { bottom: calc(88px + env(safe-area-inset-bottom)); }
body.rd.ap .cg-fab { bottom: calc(92px + env(safe-area-inset-bottom)); }

body.rd.ap #cart-modal { background: rgba(5, 11, 8, .78); }
body.rd.ap .cart-total-block .total-price { color: var(--terra); }
body.rd.ap .submit-order-btn {
  background: var(--terra); color: #2a1a0c; border-radius: 16px; min-height: 56px;
  font-family: var(--font-title); font-weight: 400; font-size: 16px;
}

body.rd.ap .comunidad-block { padding-top: 18px; }
body.rd.ap .fav-head h2 { font-family: var(--font-title); }

body.rd.ap .nosotros-section,
body.rd.ap .info-delivery-section,
body.rd.ap .faq-section,
body.rd.ap .galeria-section { background: var(--ink); }
body.rd.ap .info-block,
body.rd.ap .nosotros-point { background: var(--surface); border-color: var(--line-soft); }
body.rd.ap .nosotros-ic { background: rgba(240, 162, 92, .14); color: var(--terra); }
body.rd.ap .contact-section { background: var(--deep); }

@media (min-width: 760px) {
  body.rd.ap #menu .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.ap .ap-tabs {
    left: 50%; right: auto; width: 560px; transform: translateX(-50%);
    bottom: 14px; height: 72px; padding: 0 8px;
    border: 1px solid var(--line); border-radius: 22px;
  }
  body.rd.ap #menu .menu-item.ap-open {
    left: 50%; right: auto; width: 560px; transform: translateX(-50%) !important;
    bottom: 50%; translate: 0 50%;
    border-radius: 28px; max-height: 86vh;
  }
}
@media (min-width: 1100px) {
  body.rd.ap #menu .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  body.rd.ap #menu .menu-item.ap-open,
  body.ap .ap-backdrop { animation: none; }
}
body.rd.ap .hero-content,
body.rd.ap .hero-legend { text-align: left; }
body.rd.ap .hero-cta { text-transform: none; }
body.rd.ap:not([data-ap="inicio"]) { padding-top: var(--nav-h); }
body.rd.ap #menu .menu-item:not(.ap-open)::after { z-index: 5; }
body.rd.ap #menu .menu-item:not(.ap-open) > .item-details { background: transparent; position: static; }
body.ap .ap-x { align-self: flex-start; margin: 12px 0 -56px -6px; }
body.rd.ap .rd-reveal { opacity: 1 !important; transform: none !important; }

body.rd.ap .cg,
body.rd.ap .cg-ask,
body.rd.ap .cg-fab {
  --sage-tint: #fbe8d3;
  --terra-deep: #8a4512;
  --brand: #05432a;
  --deep: #13291d;
}
body.rd.ap .cg-say p { color: #13291d; }
body.rd.ap .cg-say p b { color: #8a4512; }
body.rd.ap .cg-title em { color: #b8601f; }
body.rd.ap .cg-ask-head img,
body.rd.ap .cg-say img,
body.rd.ap .cg-fab img { background: #05432a; }
body.rd.ap .cg-next { background: #05432a; color: var(--terra); }
body.rd.ap .cg-count { color: #13291d; }
body.rd.ap .cg-bar i { background: var(--terra); }
body.rd.ap .cg-stage { border-color: #05432a; background: #05432a; }

body.rd.ap .cgm-app { display: block; }
body.rd.ap .cgm-grid {
  position: absolute; left: 12px; right: 12px; top: 58px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px;
}
body.rd.ap .f4 .cgm-grid { top: 14px; }
body.rd.ap .f3 .cgm-grid { top: 14px; }
body.rd.ap .cgm-g {
  position: relative; background: var(--surface); border-radius: 12px; overflow: hidden;
  padding-bottom: 8px;
}
body.rd.ap .cgm-g img { display: block; width: 100%; height: 64px; object-fit: cover; }
body.rd.ap .cgm-g b { display: block; font-size: 12px; font-weight: 800; padding: 6px 8px 0; color: var(--cream); }
body.rd.ap .cgm-g span { display: block; font-family: var(--font-title); font-size: 12px; padding: 0 8px; color: var(--terra); }
body.rd.ap .cgm-g::after {
  content: "+"; position: absolute; right: 6px; bottom: 6px;
  width: 22px; height: 22px; border-radius: 7px;
  display: grid; place-items: center;
  background: var(--terra); color: #2a1a0c; font-weight: 800; font-size: 14px;
}
body.rd.ap .cgm-tabs {
  position: absolute; left: 0; right: 0; bottom: 0; height: 48px;
  display: flex; align-items: center; justify-content: space-around; gap: 2px;
  padding: 0 6px; background: #05432a; border-top: 1px solid var(--line);
  z-index: 2;
}
body.rd.ap .cgm-tabs i { font-style: normal; font-size: 10px; font-weight: 700; color: var(--muted); padding: 6px 2px; }
body.rd.ap .cgm-tabs i.on-t { color: var(--terra); font-weight: 800; }
body.rd.ap .cgm-pill {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--terra); color: #2a1a0c; border-radius: 10px;
  padding: 6px 8px 6px 5px; font-size: 11px; font-weight: 800;
}
body.rd.ap .cgm-pill em {
  font-style: normal; width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center; background: #2a1a0c; color: var(--terra); font-size: 10px;
}
body.rd.ap .cgm-dim { position: absolute; inset: 0; opacity: .45; }
body.rd.ap .cgm-sheet {
  position: absolute; left: 12px; right: 12px; bottom: 0; width: auto;
  border-radius: 20px 20px 0 0; border-bottom: 0;
  background: var(--ink); border-color: rgba(240, 162, 92, .4);
}
body.rd.ap .cgm-sheet img { height: 120px; }
body.rd.ap .f1 .cg-hand { right: auto; top: auto; }
body.rd.ap .on.f1 .cg-hand { animation: cgTap 3s infinite; }
body.rd.ap .on.f1 .cg-ring { animation: cgRing 3s infinite; }

body.rd.ap .hero-section { background: #075e28; justify-content: flex-end; }
body.rd.ap .hero-media {
  inset: 0 0 auto 0; height: min(100vw, 62svh);
  display: flex; justify-content: center;
  background: #075e28;
}
body.rd.ap .hero-bg-image {
  width: auto; height: 100%; max-width: 100%;
  object-fit: contain; object-position: center top;
  filter: none; animation: none;
}
body.rd.ap .hero-fg-blossom,
body.rd.ap .hero-kanji-v { display: none; }
body.rd.ap .hero-section::after {
  background: linear-gradient(180deg,
    rgba(7, 94, 40, 0) 0%, rgba(7, 94, 40, 0) 50%,
    rgba(9, 90, 53, .75) 66%, var(--ink) 80%);
}
body.rd.ap .hero-name {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; margin: 0;
}
body.rd.ap[data-ap="inicio"] .navbar { background: #075e28; border-bottom-color: transparent; }
body.rd.ap .hero-section { background: var(--ink); }
body.rd.ap .hero-section::after {
  inset: auto 0 0 0;
  top: calc(min(100vw, 62svh) - 30px);
  background: linear-gradient(180deg, rgba(9, 90, 53, 0) 0, var(--ink) 90px);
}
body.rd.ap .hero-media { background: linear-gradient(180deg, #075e28 70%, var(--ink) 100%); }
body.rd.ap .hero-media::after { content: none; }

body.rd.ap .hero-section,
body.rd.ap .hero-media { background: var(--ink); }
body.rd.ap .hero-section::after { content: none; }
body.rd.ap .hero-media {
  position: relative; inset: auto; height: auto;
  padding: calc(var(--nav-h) + 12px) 0 0;
  display: flex; justify-content: center;
}
body.rd.ap .hero-bg-image {
  width: auto; height: min(38svh, 300px); max-width: 76%;
  object-fit: contain;
}
body.rd.ap .hero-section { justify-content: flex-start; }
body.rd.ap .hero-content { padding-top: 18px; }
body.rd.ap .hero-name {
  position: static; width: auto; height: auto; overflow: visible;
  clip: auto; white-space: normal; margin: -4px 0 4px;
}
body.rd.ap[data-ap="inicio"] .navbar { background: rgba(9, 90, 53, .96); }
body.rd.ap .hero-media .hero-bg-image { position: static; inset: auto; transform: none; display: block; }
body.rd.ap .hero-kanji-v { display: block; z-index: 5; }
body.rd.ap .hero-bg-image { height: min(32svh, 250px); max-width: 60%; }
body.rd.ap .hero-media { justify-content: flex-start; padding-left: var(--pad-x); padding-right: 84px; }
body.rd.ap .hero-bg-image { width: 100%; height: auto; max-width: 340px; max-height: none; }

body.rd.ap {
  --seigaiha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cg fill='%23095a35' stroke='%23f4efe3' stroke-opacity='.05' stroke-width='1.2'%3E%3Ccircle cx='0' cy='12' r='12'/%3E%3Ccircle cx='0' cy='12' r='8'/%3E%3Ccircle cx='0' cy='12' r='4'/%3E%3Ccircle cx='48' cy='12' r='12'/%3E%3Ccircle cx='48' cy='12' r='8'/%3E%3Ccircle cx='48' cy='12' r='4'/%3E%3Ccircle cx='24' cy='24' r='12'/%3E%3Ccircle cx='24' cy='24' r='8'/%3E%3Ccircle cx='24' cy='24' r='4'/%3E%3C/g%3E%3C/svg%3E");
  background-image: var(--seigaiha);
  background-size: 48px 24px;
}
body.rd.ap .hero-section,
body.rd.ap .hero-media,
body.rd.ap #menu,
body.rd.ap .fav-strip,
body.rd.ap .nosotros-section,
body.rd.ap .info-delivery-section,
body.rd.ap .faq-section,
body.rd.ap .galeria-section {
  background-color: transparent;
  background-image: none;
}

body.rd.ap .category-block { position: relative; padding-top: 60px; }
body.rd.ap .category-block + .category-block {
  margin-top: 34px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.5 14.5 8 8 14.5 1.5 8z' fill='%230c1a13' stroke='%23c9a36a' stroke-width='1.4'/%3E%3Ccircle cx='8' cy='8' r='1.8' fill='%23f0a25c'/%3E%3C/svg%3E") center 0 / 16px 16px no-repeat,
    linear-gradient(90deg, transparent, rgba(201, 163, 106, .6) 18%, rgba(201, 163, 106, .6) 82%, transparent) center 7.5px / calc(100% - 2 * var(--pad-x)) 1px no-repeat;
}
body.rd.ap .category-block::before {
  content: "お品書き";
  position: absolute; top: 22px; right: var(--pad-x); z-index: 0;
  font-family: var(--font-jp); font-weight: 800; font-size: clamp(64px, 20vw, 120px); line-height: 1;
  color: rgba(244, 239, 227, .06); letter-spacing: .04em;
  pointer-events: none; user-select: none; white-space: nowrap;
}
body.rd.ap #cat-rolls::before { content: "巻き物"; }
body.rd.ap #cat-charolas::before { content: "盛り合わせ"; font-size: clamp(48px, 15vw, 96px); }
body.rd.ap #cat-otsumami::before { content: "おつまみ"; }
body.rd.ap #cat-ramen::before { content: "温かい"; }
body.rd.ap #cat-kanmi::before { content: "甘味"; }

body.rd.ap #menu .badge-seijaku,
body.rd.ap #menu .badge-new {
  font-family: var(--font-jp) !important; font-weight: 800 !important;
  letter-spacing: .04em !important; text-transform: none !important;
  border-radius: 5px !important;
  padding: 4px 9px !important;
  transform: rotate(-5deg) !important;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), inset 0 0 0 4px currentColor !important;
  outline: 0 !important; border: 0 !important;
  -webkit-mask-image: radial-gradient(circle at 30% 40%, #000 60%, rgba(0, 0, 0, .82) 61%, #000 75%), radial-gradient(circle at 80% 70%, #000 55%, rgba(0, 0, 0, .85) 70%);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(circle at 30% 40%, #000 60%, rgba(0, 0, 0, .82) 61%, #000 75%), radial-gradient(circle at 80% 70%, #000 55%, rgba(0, 0, 0, .85) 70%);
  mask-composite: intersect;
}
body.rd.ap #menu .badge-new {
  display: inline-block; background: #b8321f !important; color: #fbf3e6 !important;
  font-size: 12px; margin-left: 4px;
}

body.rd.ap #menu .menu-item:not(.ap-open)::after { transform: none !important; animation: none !important; transition: none; }

body.rd.ap #menu .badge-seijaku {
  background: #b8321f !important;
  color: #fbf3e6 !important;
}
body.rd.ap #menu .badge-seijaku i { color: #fbf3e6 !important; }

body.rd.ap .hero-kanji-v {
  transform-origin: 50% -20px;
  animation: apSway 5s ease-in-out infinite;
  transition: background .4s ease, color .4s ease, box-shadow .4s ease;
}
body.rd.ap:has(.hero-status.is-open) .hero-kanji-v {
  background: #f0a25c; color: #2a1a0c;
  box-shadow: 0 0 40px rgba(240, 162, 92, .65), 0 0 90px rgba(240, 162, 92, .35);
}
body.rd.ap:has(.hero-status.is-closing-soon) .hero-kanji-v,
body.rd.ap:has(.hero-status.is-opening-soon) .hero-kanji-v {
  background: #f0c060; color: #2a1a0c;
  box-shadow: 0 0 40px rgba(240, 192, 96, .55);
}
body.rd.ap:has(.hero-status.is-closed) .hero-kanji-v {
  background: #c4352a; color: #fbe9e1;
  box-shadow: 0 0 40px rgba(220, 60, 45, .6), 0 0 90px rgba(220, 60, 45, .3);
}
body.rd.ap:has(.hero-status.is-closed) .hero-status { color: #f08a7c; border-color: rgba(240, 138, 124, .45); }
@keyframes apSway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}
@media (prefers-reduced-motion: reduce) {
  body.rd.ap .hero-kanji-v { animation: none; }
}
body.rd.ap #menu .menu-item:not(.ap-open)::after { left: auto !important; top: auto !important; right: 8px !important; bottom: 8px !important; }
body.rd.ap #notification { display: none !important; }

body.ap .ap-tab-pedido.ap-bump { animation: apBrinco .7s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes apBrinco {
  0% { transform: none; box-shadow: 0 0 0 rgba(240, 162, 92, 0); }
  30% { transform: translateY(-10px) scale(1.1); box-shadow: 0 0 34px rgba(240, 162, 92, .85); }
  60% { transform: translateY(0) scale(.97); box-shadow: 0 0 22px rgba(240, 162, 92, .6); }
  100% { transform: none; box-shadow: 0 0 0 rgba(240, 162, 92, 0); }
}
@media (prefers-reduced-motion: reduce) {
  body.ap .ap-tab-pedido.ap-bump { animation: none; }
}

body.ap .ap-nos,
body.ap .ap-sub-bar { display: none; }
body.ap[data-ap="nosotros"] .info-delivery-section,
body.ap[data-ap="nosotros"] .faq-section,
body.ap[data-ap="nosotros"] .galeria-section,
body.ap[data-ap="nosotros"] .contact-section { display: none; }
body.ap[data-ap="nosotros"][data-sub=""] .ap-nos { display: flex; }
body.ap[data-ap="nosotros"]:not([data-sub=""]) .nosotros-section { display: none; }
body.ap[data-ap="nosotros"]:not([data-sub=""]) .ap-sub-bar { display: block; }
body.ap[data-ap="nosotros"][data-sub="ubicacion"] .info-delivery-section,
body.ap[data-ap="nosotros"][data-sub="faq"] .faq-section,
body.ap[data-ap="nosotros"][data-sub="galeria"] .galeria-section,
body.ap[data-ap="nosotros"][data-sub="contacto"] .contact-section { display: block; }

body.ap .ap-nos {
  flex-direction: column; gap: 8px;
  padding: 4px var(--pad-x) 32px;
}
body.ap .ap-nos-row {
  min-height: 68px;
  display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 14px; align-items: center;
  padding: 10px 14px;
  border-radius: 18px;
  background: var(--surface);
  color: var(--cream); text-decoration: none;
  transition: background .2s ease, transform .15s ease;
}
body.ap .ap-nos-row:hover { background: var(--surface-2); color: var(--cream); }
body.ap .ap-nos-row:active { transform: scale(.98); }
body.ap .ap-nos-ic {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(240, 162, 92, .14); color: var(--terra);
}
body.ap .ap-nos-ic svg,
body.ap .ap-nos-chev,
body.ap .ap-sub-bar svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
body.ap .ap-nos-tx { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
body.ap .ap-nos-tx b { font-family: var(--font-text); font-weight: 800; font-size: 15px; }
body.ap .ap-nos-tx span { font-size: 13px; color: var(--muted); line-height: 1.35; }
body.ap .ap-nos-chev { color: var(--muted); }

body.ap .ap-sub-bar {
  position: sticky; top: var(--nav-h); z-index: 14;
  padding: 8px calc(var(--pad-x) - 8px);
  background: rgba(5, 67, 42, .96);
  border-bottom: 1px solid var(--line);
}
body.ap .ap-sub-bar button {
  min-height: 44px; padding: 0 12px 0 6px;
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; border-radius: 12px; background: transparent;
  color: var(--cream); font: 700 15px var(--font-text); cursor: pointer;
}
body.ap .ap-sub-bar button:hover { background: var(--surface); }

body.rd.ap .info-delivery-section .info-block,
body.rd.ap .info-delivery-section .location-link {
  background: var(--surface) !important;
  border: 1px solid var(--line-soft) !important;
  color: var(--cream) !important;
}
body.rd.ap .info-delivery-section .info-block h3 { color: var(--terra) !important; }
body.rd.ap .info-delivery-section .delivery-zone,
body.rd.ap .info-delivery-section .location,
body.rd.ap .info-delivery-section .days { color: var(--cream) !important; }
body.rd.ap .info-delivery-section .notes,
body.rd.ap .info-delivery-section .delivery-sub,
body.rd.ap .info-delivery-section .hours { color: var(--cream-dim) !important; }
body.rd.ap .info-delivery-section .map-cta { color: var(--terra) !important; }

body.ap .ap-rider {
  position: fixed; left: 0; bottom: calc(110px + env(safe-area-inset-bottom));
  z-index: 100200; pointer-events: none;
  width: 190px;
  animation: apRider 2.6s cubic-bezier(.45, .05, .35, 1) both;
}
body.ap .ap-rider img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .45));
  animation: apRiderBote .28s ease-in-out infinite alternate;
}
body.ap .ap-rider-say {
  position: absolute; left: 50%; top: -34px; transform: translateX(-30%);
  white-space: nowrap;
  padding: 7px 14px; border-radius: 14px;
  background: var(--cream); color: #13291d;
  font: 400 15px var(--font-title);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .35);
}
body.ap .ap-rider::after {
  content: "";
  position: absolute; left: -40px; bottom: 18px;
  width: 70px; height: 10px; border-radius: 999px;
  background: linear-gradient(90deg, rgba(244, 239, 227, 0), rgba(244, 239, 227, .35));
}
@keyframes apRider {
  0% { transform: translateX(-220px); }
  18% { transform: translateX(calc(50vw - 95px)); }
  62% { transform: translateX(calc(50vw - 95px)); }
  100% { transform: translateX(calc(100vw + 40px)); }
}
@keyframes apRiderBote {
  from { transform: translateY(0); }
  to { transform: translateY(-3px); }
}
body.rd.ap #cart-step-1 .rd-rider { display: none !important; }

body.ap .ap-rider-escena {
  position: fixed; inset: 0; z-index: 100190;
  background-color: var(--ink);
  background-image: var(--seigaiha);
  background-size: 48px 24px;
  animation: apAparece .25s ease both;
}
body.ap .ap-rider-escena .ap-rider {
  bottom: calc(50% - 70px);
}

body.rd.ap { --catw: min(340px, calc(100vw - 104px)); }
body.rd.ap .hero-media .hero-bg-image { width: var(--catw); max-width: none; height: auto; }
body.rd.ap .hero-media::before,
body.rd.ap .hero-media::after,
body.rd.ap .hero-section::after {
  content: "";
  position: absolute; z-index: 2;
  inset: auto;
  top: calc(var(--nav-h) + 12px + var(--catw) * .5);
  width: 18px; height: 44px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(244, 239, 227, .6), rgba(244, 239, 227, 0) 70%);
  filter: blur(2.5px);
  pointer-events: none;
  opacity: 0;
  animation: apVapor 3.3s ease-out infinite;
}
body.rd.ap .hero-media::before { left: calc(var(--pad-x) + var(--catw) * .17); }
body.rd.ap .hero-media::after { left: calc(var(--pad-x) + var(--catw) * .31); animation-delay: 1.1s; }
body.rd.ap .hero-section::after { left: calc(var(--pad-x) + var(--catw) * .45); animation-delay: 2.2s; display: block; }
@keyframes apVapor {
  0% { transform: translateY(0) scale(.5, .6); opacity: 0; }
  25% { opacity: .65; }
  100% { transform: translateY(-58px) scale(1.25, 1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.rd.ap .hero-media::before,
  body.rd.ap .hero-media::after,
  body.rd.ap .hero-section::after { animation: none; display: none; }
}
body.rd.ap .hero-media::before,
body.rd.ap .hero-media::after,
body.rd.ap .hero-section::after {
  top: calc(var(--nav-h) + 12px + var(--catw) * .56);
  width: 16px; height: 34px;
  margin-left: -8px;
  border-radius: 0;
  filter: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 34'%3E%3Cpath d='M9 32c-5-4-5-8 0-12s5-8 0-12' fill='none' stroke='%230c1a13' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
@keyframes apVapor {
  0% { transform: translateY(6px) scaleY(.7); opacity: 0; }
  30% { opacity: .85; }
  100% { transform: translateY(-34px) scaleY(1.15); opacity: 0; }
}
body.rd.ap .hero-media::before,
body.rd.ap .hero-media::after,
body.rd.ap .hero-section::after { top: calc(var(--nav-h) + 12px + var(--catw) * .6); height: 28px; width: 14px; margin-left: -7px; }
@keyframes apVapor {
  0% { transform: translateY(8px) scaleY(.7); opacity: 0; }
  35% { opacity: .75; }
  100% { transform: translateY(-16px) scaleY(1.1); opacity: 0; }
}

body.ap .ap-backdrop {
  background: rgba(5, 11, 8, .45);
  -webkit-backdrop-filter: blur(10px) saturate(.9);
  backdrop-filter: blur(10px) saturate(.9);
}

body.ap .hero-sleep,
body.ap .ap-cerrado-nota { display: none; }
body.ap.ap-cerrado .hero-media .hero-bg-image { display: none; }
body.ap.ap-cerrado .hero-media::before,
body.ap.ap-cerrado .hero-media::after,
body.ap.ap-cerrado .hero-section::after { display: none !important; }
body.ap.ap-cerrado .hero-media .hero-sleep {
  display: block;
  width: var(--catw); height: auto; max-width: none;
  margin-top: 10px;
}
body.ap.ap-cerrado .ap-cerrado-nota {
  display: block;
  position: relative; z-index: 4;
  margin: 14px var(--pad-x) 0;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(196, 53, 42, .14);
  border: 1px solid rgba(240, 138, 124, .35);
  color: var(--cream);
  font: 600 15px/1.45 var(--font-text);
  text-align: center;
}

body.rd.ap .menu-section > .section-title { padding-top: 14px; margin-bottom: 16px; }
body.rd.ap .menu-section > .section-title .title-sub { font-size: 28px; }
body.ap .howto-mini { display: none !important; }
body.rd.ap .categories-nav { background: rgba(5, 67, 42, .96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
body.rd.ap .categories-scroll { padding: 10px var(--pad-x); gap: 8px; }
body.rd.ap .category-btn {
  display: inline-flex; align-items: center; gap: 7px;
  min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--cream);
  font-family: var(--font-text); font-weight: 700; font-size: 14px;
  text-transform: none; letter-spacing: 0;
  box-shadow: none; transform: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
body.rd.ap .category-btn .ap-ic { color: var(--terra); }
body.rd.ap .category-btn.active,
body.rd.ap .category-btn.is-active,
body.rd.ap .category-btn[aria-current="true"] {
  background: var(--terra); border-color: var(--terra); color: #2a1a0c;
  box-shadow: 0 0 18px rgba(240, 162, 92, .35);
}
body.rd.ap .category-btn.is-active .ap-ic,
body.rd.ap .category-btn[aria-current="true"] .ap-ic { color: #2a1a0c; }

body.ap .ap-ic {
  width: 16px; height: 16px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.9;
  stroke-linecap: round; stroke-linejoin: round;
  vertical-align: -3px;
}
body.rd.ap .comunidad-tab { display: inline-flex; align-items: center; gap: 6px; }
body.rd.ap .comunidad-rank .ap-ic { width: 13px; height: 13px; margin-right: 3px; vertical-align: -2px; }

body.rd.ap #menu .like-btn::before {
  content: ""; position: absolute; inset: -11px;
  border-radius: 50%;
}
body.rd.ap .fav-head a {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 44px; padding: 0 4px; font-size: 13px;
}
body.rd.ap .comunidad-tab { min-height: 44px; font-size: 13px; padding: 0 16px; }
body.rd.ap .comunidad-add { min-height: 44px; font-size: 13px; letter-spacing: .04em; }

body.rd.ap .hero-status { font-size: 12px; letter-spacing: .06em; }
body.rd.ap #menu .menu-item:not(.ap-open) > .badge-seijaku,
body.rd.ap #menu .menu-item:not(.ap-open) > .agotado-cinta { font-size: 12px; }
body.rd.ap #menu .badge-new { font-size: 12px; }
body.rd.ap .comunidad-live { font-size: 12px; }
body.rd.ap .comunidad-rank { font-size: 12px; }
body.rd.ap .comunidad-card-price,
body.rd.ap .comunidad-card-likes { font-size: 13px; }

body.ap #menu .menu-item.ap-open .ap-asa {
  position: sticky; top: 0; z-index: 7;
  align-self: center; flex: none;
  width: 100%; height: 22px; margin: 0 0 -22px;
  display: flex; justify-content: center; align-items: center;
  touch-action: none;
}
body.ap #menu .menu-item.ap-open .ap-asa::before {
  content: ""; width: 44px; height: 5px; border-radius: 999px;
  background: rgba(244, 239, 227, .75);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}
body.ap #menu .menu-item:not(.ap-open) .ap-asa { display: none; }

body.ap .ap-temp-banda,
body.ap .ap-temp-caida { pointer-events: none; }

body.ap .ap-temp-banda {
  position: absolute; z-index: 4;
  top: calc(var(--nav-h) - 2px); left: 0; right: 0;
  display: flex; justify-content: space-between;
  padding: 0 4px; overflow: hidden;
}
body.ap[data-temporada="muertos"] .ap-temp-banda {
  height: 44px;
  background: linear-gradient(#c9a36a, #c9a36a) 0 2px / 100% 2px no-repeat;
}
body.ap[data-temporada="muertos"] .ap-temp-banda svg {
  flex: none; width: 30px; height: 36px; margin-top: 3px;
  transform-origin: 50% 0;
  animation: apPapel 3.2s ease-in-out var(--d) infinite alternate;
}
@keyframes apPapel { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }

body.ap[data-temporada="navidad"] .ap-temp-banda {
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 20' preserveAspectRatio='none'%3E%3Cpath d='M0 4Q15 16 30 4T60 4' fill='none' stroke='%232f4a3a' stroke-width='1.6'/%3E%3C/svg%3E") 0 0 / 60px 20px repeat-x;
}
body.ap[data-temporada="navidad"] .ap-temp-banda i {
  flex: none; width: 9px; height: 13px; margin-top: 9px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--c);
  box-shadow: 0 0 10px 2px var(--c);
  animation: apFoco 1.6s ease-in-out var(--d) infinite alternate;
}
body.ap[data-temporada="navidad"] .ap-temp-banda i:nth-child(even) { margin-top: 3px; }
@keyframes apFoco { from { opacity: .45; box-shadow: 0 0 2px 0 var(--c); } to { opacity: 1; } }

body.ap .ap-temp-caida {
  position: absolute; z-index: 2;
  inset: var(--nav-h) 0 0; overflow: hidden;
}
body.ap .ap-temp-caida i {
  position: absolute; top: -20px;
  width: 8px; height: 8px;
  opacity: 0;
  animation: apCae var(--t) linear var(--d) infinite;
}
body.ap[data-temporada="navidad"] .ap-temp-caida i { border-radius: 50%; background: rgba(244, 239, 227, .85); }
body.ap[data-temporada="muertos"] .ap-temp-caida i { width: 9px; height: 12px; border-radius: 60% 10% 60% 10%; background: #f39200; }
@keyframes apCae {
  0% { transform: translate(0, 0) rotate(0) scale(var(--s)); opacity: 0; }
  10% { opacity: .9; }
  90% { opacity: .9; }
  100% { transform: translate(28px, 70svh) rotate(260deg) scale(var(--s)); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  body.ap .ap-temp-banda svg,
  body.ap .ap-temp-banda i { animation: none; }
  body.ap .ap-temp-caida { display: none; }
}
body.rd.ap[data-temporada] .hero-media::before,
body.rd.ap[data-temporada] .hero-media::after,
body.rd.ap[data-temporada] .hero-section::after { display: none !important; }

body.ap .ap-temporada { display: none; }
body.ap[data-ap="carta"] .ap-temporada {
  display: block;
  padding: 18px 0 8px;
  scroll-margin-top: calc(var(--nav-h) + 70px);
}
body.rd.ap .ap-temporada .category-title { padding: 0 var(--pad-x); margin: 0 0 12px; }
body.ap .ap-temp-rail {
  display: flex; gap: 10px;
  overflow-x: auto; scrollbar-width: none;
  scroll-snap-type: x proximity;
  padding: 0 var(--pad-x) 6px;
}
body.ap .ap-temp-rail::-webkit-scrollbar { display: none; }
body.ap .ap-temp-card {
  position: relative; flex: none;
  width: 156px; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: 4px;
  padding-bottom: 12px;
  border-radius: 18px; overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(201, 163, 106, .35);
  color: var(--cream); text-decoration: none;
}
body.ap .ap-temp-foto { display: block; height: 112px; background: var(--surface-2); }
body.ap .ap-temp-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.ap .ap-temp-sello {
  position: absolute; top: 8px; left: 8px;
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  background: #b8321f; color: #fbf3e6;
  font: 700 16px/1 var(--font-jp, serif);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5);
  transform: rotate(-8deg);
}
body.ap .ap-temp-card b {
  padding: 4px 11px 0;
  font: 800 14px/1.2 var(--font-text);
}
body.ap .ap-temp-precio {
  padding: 0 11px;
  font: 400 15px/1 var(--font-title); color: var(--terra);
}
body.ap .ap-temp-card.is-agotado { opacity: .6; }

body.rd .alergenos {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 5px;
  margin: 4px 0 0; font-size: 11.5px; line-height: 1.3; color: var(--muted);
}
body.rd .menu-item.item-with-image .item-details > .alergenos { order: 3; }
body.rd .alergenos-label { font-weight: 600; }
body.rd .alergeno {
  padding: 2px 7px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface-2); color: var(--cream-dim);
}

body.rd.ap .menu-search {
  position: relative; margin: 0 var(--pad-x) 12px;
}
body.rd.ap .menu-search svg {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--muted); pointer-events: none;
}
body.rd.ap .menu-search input {
  width: 100%; min-height: 48px; padding: 0 44px 0 44px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--cream);
  font-family: var(--font-text); font-size: 16px;
  -webkit-appearance: none; appearance: none;
}
body.rd.ap .menu-search input::placeholder { color: var(--muted); }
body.rd.ap .menu-search input:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(240, 162, 92, .2); }
body.rd.ap .menu-search input::-webkit-search-cancel-button { display: none; }
body.rd.ap .menu-search-clear {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border: 0; border-radius: 50%;
  background: transparent; color: var(--cream-dim); font-size: 22px; line-height: 1; cursor: pointer;
}
body.rd.ap .menu-search-empty {
  margin: 8px var(--pad-x) 24px; padding: 18px 16px; text-align: center;
  border-radius: 16px; border: 1px dashed var(--line); color: var(--cream-dim); font-size: 14px;
}
body.buscando .menu-item.search-miss,
body.buscando .category-block.search-miss,
body.buscando #comunidad-fav,
body.buscando #promo-banners,
body.buscando #anuncios-menu,
body.buscando .categories-nav { display: none !important; }
body.buscando .menu-item.item-with-image .item-details > .description { -webkit-line-clamp: unset; display: block; }

body.rd .resena-band {
  margin: 8px var(--pad-x) 32px; padding: 22px 18px; text-align: center;
  border-radius: 20px; border: 1px solid var(--line); background: var(--surface);
}
body.rd .resena-band h3 { font-family: var(--font-title); font-weight: 400; font-size: 21px; color: var(--cream); margin: 0 0 6px; }
body.rd .resena-band p { color: var(--cream-dim); font-size: 14px; margin: 0 0 16px; }
body.rd .resena-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; background: var(--terra-btn); color: #2a1a0c;
  font-family: var(--font-text); font-weight: 700; font-size: 15px; text-decoration: none;
}
body.rd .resena-stars { color: #2a1a0c; letter-spacing: 1px; }

body.ap .resena-band,
body.ap .historias-section { display: none; }
body.ap[data-ap="nosotros"][data-sub=""] .resena-band,
body.ap[data-ap="nosotros"][data-sub=""] .historias-section:not([hidden]) { display: block; }

body.rd .historias-section { padding: 8px 0 28px; }
body.rd .historias-title { font-family: var(--font-title); font-weight: 400; font-size: 24px; color: var(--terra); margin: 0 var(--pad-x) 4px; }
body.rd .historias-sub { color: var(--cream-dim); font-size: 14px; margin: 0 var(--pad-x) 14px; }
body.rd .historias-riel {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--pad-x) 6px; scroll-padding-inline: var(--pad-x); scrollbar-width: none;
}
body.rd .historias-riel::-webkit-scrollbar { display: none; }
body.rd .historia-card {
  flex: 0 0 78%; max-width: 300px; scroll-snap-align: start;
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; padding: 0;
  border-radius: 20px; border: 1px solid var(--line); background: var(--surface);
  text-align: left; cursor: pointer; color: var(--cream);
}
body.rd .historia-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.rd .historia-card-tx {
  position: absolute; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start;
  padding: 48px 16px 16px; background: linear-gradient(180deg, transparent, rgba(5, 67, 42, .92) 55%);
}
body.rd .historia-card-tx b { font-family: var(--font-title); font-weight: 400; font-size: 20px; line-height: 1.15; }
body.rd .historia-card-mas { font-size: 13px; font-weight: 700; color: var(--terra); }
body.rd .historia-etiqueta {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  background: var(--terra); color: #2a1a0c; font-size: 11px; font-weight: 800; letter-spacing: .02em;
}

body.rd .historia-chip {
  order: 2; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px;
  min-height: 30px; margin: 2px 0; padding: 0 11px; border-radius: 999px;
  border: 1px solid rgba(240, 162, 92, .45); background: rgba(240, 162, 92, .12); color: var(--terra);
  font-family: var(--font-text); font-size: 12px; font-weight: 700; cursor: pointer;
}

html.historia-abierta, html.historia-abierta body { overflow: hidden; }
.historia-hoja { position: fixed; inset: 0; z-index: 100100; display: flex; align-items: flex-end; justify-content: center; }
.historia-fondo { position: absolute; inset: 0; background: rgba(4, 10, 7, .72); animation: historiaFade .2s ease; }
.historia-caja {
  position: relative; width: 100%; max-width: 520px; max-height: 92vh; max-height: 92dvh; overflow-y: auto;
  border-radius: 24px 24px 0 0; background: #05432a; color: #f4efe3;
  animation: historiaSube .28s cubic-bezier(.2, .8, .2, 1);
  padding-bottom: env(safe-area-inset-bottom);
}
.historia-cerrar {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(5, 67, 42, .75); color: #f4efe3; font-size: 26px; line-height: 1; cursor: pointer;
}
.historia-fotos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 3; }
.historia-fotos::-webkit-scrollbar { display: none; }
.historia-fotos img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.historia-puntos { display: flex; justify-content: center; gap: 6px; padding: 10px 0 0; }
.historia-puntos span { width: 6px; height: 6px; border-radius: 50%; background: rgba(244, 239, 227, .3); transition: width .2s ease, background .2s ease; }
.historia-puntos span.is-on { width: 18px; border-radius: 3px; background: #f0a25c; }
.historia-cuerpo { padding: 16px 20px 24px; }
.historia-cuerpo .historia-etiqueta {
  display: inline-block; padding: 3px 9px; border-radius: 999px;
  background: #f0a25c; color: #2a1a0c; font-size: 11px; font-weight: 800;
}
.historia-titulo { font-family: 'Dela Gothic One', Georgia, serif; font-weight: 400; font-size: 24px; line-height: 1.15; margin: 10px 0 12px; color: #f4efe3; }
.historia-texto { font-family: 'Figtree', sans-serif; font-size: 15.5px; line-height: 1.6; color: #c9c2b2; margin: 0 0 12px; }
.historia-ir {
  width: 100%; min-height: 50px; margin-top: 8px; border: 0; border-radius: 999px;
  background: #f0a25c; color: #2a1a0c; font-family: 'Figtree', sans-serif; font-weight: 800; font-size: 15px; cursor: pointer;
}
@keyframes historiaSube { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes historiaFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .historia-caja, .historia-fondo { animation: none; } }

body.rd .charola-ayuda { margin: 2px 0 8px; font-size: 12px; color: var(--muted); }
body.rd .charola-cuenta { color: var(--cream-dim); letter-spacing: .04em; }
body.rd .charola-cuenta.is-lista { color: var(--terra); }
body.rd .charola-rolls {
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(245, 234, 216, .04); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 6px 8px;
}
body.rd .charola-roll {
  display: grid; grid-template-columns: minmax(0, 1fr) 36px 26px 36px; align-items: center; gap: 4px;
  min-height: 44px; padding: 0 4px; border-radius: 10px;
}
body.rd .charola-roll.is-on { background: rgba(240, 162, 92, .1); }
body.rd .charola-roll-nombre { font-size: 13.5px; color: var(--cream); line-height: 1.3; }
body.rd .charola-roll-n { text-align: center; font-weight: 800; font-size: 15px; color: var(--cream-dim); font-variant-numeric: tabular-nums; }
body.rd .charola-roll.is-on .charola-roll-n { color: var(--terra); }
body.rd .charola-roll-menos,
body.rd .charola-roll-mas {
  width: 36px; height: 36px; border-radius: 50%; padding: 0;
  border: 1px solid var(--line); background: var(--surface); color: var(--cream);
  font-size: 18px; font-weight: 700; line-height: 1; cursor: pointer;
  touch-action: manipulation;
}
body.rd .charola-roll-mas { border-color: rgba(240, 162, 92, .5); color: var(--terra); }
body.rd .charola-roll-menos:disabled,
body.rd .charola-roll-mas:disabled { opacity: .3; cursor: default; }
body.rd .charola-roll.is-agotado .charola-roll-nombre { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(244, 239, 227, .35); }

.sug {
  position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 100060;
  width: min(440px, calc(100vw - 24px)); translate: -50% 24px; opacity: 0;
  padding: 12px 12px 12px; border-radius: 20px;
  background: rgba(5, 67, 42, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(244, 239, 227, .16); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .6);
  transition: translate .45s cubic-bezier(.2, .8, .2, 1), opacity .3s ease;
}
.sug.on { translate: -50% 0; opacity: 1; }
.sug-cab { display: flex; align-items: center; justify-content: space-between; margin: 0 2px 10px; }
.sug-cab b { font-family: var(--font-title, serif); font-weight: 400; font-size: 16px; color: #f4efe3; }
.sug-x { width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(244, 239, 227, .1); color: #f4efe3; font-size: 20px; line-height: 1; cursor: pointer; }
.sug-fila { display: grid; grid-template-columns: 1fr; gap: 8px; }
.sug-card { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px; border-radius: 14px; background: rgba(244, 239, 227, .07); transition: background .25s ease; }
.sug-card.ok { background: rgba(47, 179, 109, .22); }
.sug-card img { width: 46px; height: 46px; flex: none; border-radius: 10px; object-fit: cover; }
.sug-tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sug-nom { font-size: 14.5px; font-weight: 700; color: #f4efe3; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sug-pre { font-size: 13.5px; font-weight: 800; color: #f0a25c; }
.sug-mas { width: 38px; height: 38px; flex: none; border: 0; border-radius: 50%; background: #f0a25c; color: #2a1a0c; font-size: 22px; font-weight: 800; line-height: 1; cursor: pointer; transition: transform .2s cubic-bezier(.2, .8, .2, 1), background .2s; }
.sug-mas:active { transform: scale(.9); }
.sug-mas[disabled] { background: #2fb36d; color: #fff; font-size: 18px; }
@media (prefers-reduced-motion: reduce) { .sug { transition: opacity .2s ease; translate: -50% 0; } }

body.rd.ap #menu .menu-item:not(.ap-open) .nota-box { display: none; }
.nota-box { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 12px; }
.nota-tit { font-size: 13.5px; font-weight: 700; color: #f4efe3; }
.nota-tit small { font-weight: 500; color: rgba(244, 239, 227, .6); }
.nota-input { width: 100%; min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid rgba(244, 239, 227, .2); background: rgba(5, 67, 42, .6); color: #f4efe3; font: inherit; font-size: 16px; }
.nota-input::placeholder { color: rgba(244, 239, 227, .5); }
.nota-input:focus { outline: none; border-color: #f0a25c; }
.cart-nota { margin-top: 4px; }
.cart-nota-btn { padding: 4px 0; border: 0; background: none; color: rgba(244, 239, 227, .7); font-size: 12.5px; font-weight: 700; text-align: left; cursor: pointer; }
.cart-nota-btn.tiene { color: #f0a25c; }
.cart-nota-input { width: 100%; min-height: 38px; margin-top: 2px; padding: 0 10px; border-radius: 10px; border: 1px solid #f0a25c; background: rgba(5, 67, 42, .6); color: #f4efe3; font: inherit; font-size: 16px; }
body.rd .menu-item .item-details > .nota-box { order: 5; }

/* Platillos "Solo en el local" (admin): se ven, pero no se pueden pedir. */
body.rd .menu-item.item-with-image .item-details > .solo-local { order: 3; }
body.rd .solo-local {
  margin-top: 6px; padding: 8px 11px; border-radius: 12px;
  border: 1px dashed var(--terra); background: rgba(240, 162, 92, .08);
}
body.rd .solo-local-tit { margin: 0; font-size: 12.5px; font-weight: 700; color: var(--terra); }
body.rd .solo-local-tit i { margin-right: 4px; }
body.rd .solo-local-txt { margin: 2px 0 0; font-size: 12px; line-height: 1.35; color: var(--cream-dim); }
body.rd .agotado-cinta.solo-local-cinta { background: var(--terra); color: #2a1a0c; }
.solo-local-toast {
  position: fixed; left: 50%; bottom: 96px; z-index: 2147483000; transform: translateX(-50%);
  max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 16px;
  background: #2a1a0c; color: #fdf8ec; font-size: 13.5px; font-weight: 600; text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .3); transition: opacity .4s ease;
}
.solo-local-toast.fuera { opacity: 0; }

/* Recordatorio: enviar el pedido por WhatsApp (recordatorio-wa.js). */
.wa-recordatorio {
  position: fixed; inset: 0; z-index: 2147483000;
  display: flex; align-items: flex-end; justify-content: center;
  background: rgba(2, 20, 12, .62); opacity: 0; transition: opacity .3s ease;
}
.wa-recordatorio.on { opacity: 1; }
.wa-rec-caja {
  width: 100%; max-width: 440px; margin: 0 12px calc(12px + env(safe-area-inset-bottom, 0px));
  padding: 22px 20px 18px; border-radius: 24px; text-align: center;
  background: #fffdf7; color: #063a22; font-family: Figtree, Montserrat, -apple-system, 'Segoe UI', sans-serif;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
  transform: translateY(24px); transition: transform .3s ease;
}
.wa-recordatorio.on .wa-rec-caja { transform: none; }
.wa-rec-ico {
  width: 58px; height: 58px; margin: 0 auto 10px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; font-size: 32px;
}
.wa-rec-caja h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.2; font-weight: 800; text-wrap: balance; }
.wa-rec-caja p { margin: 0 0 6px; font-size: 15px; line-height: 1.4; color: #2f4a3a; }
.wa-rec-caja .wa-rec-clave {
  margin: 12px 0 4px; padding: 10px 12px; border-radius: 14px;
  background: #e7f8ee; color: #063a22; font-size: 17px;
}
.wa-rec-flecha {
  display: inline-grid; place-items: center; width: 26px; height: 26px; margin-left: 2px;
  border-radius: 50%; background: #25d366; color: #fff; font-size: 13px; vertical-align: -6px;
}
.wa-rec-btn {
  display: block; width: 100%; margin-top: 14px; padding: 14px 18px; border: 0; border-radius: 999px;
  background: #25d366; color: #063a22; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer;
}
.wa-rec-btn:focus-visible, .wa-rec-ya:focus-visible { outline: 3px solid #0b5030; outline-offset: 2px; }
.wa-rec-ya {
  display: block; width: 100%; margin-top: 8px; padding: 12px; border: 0; background: none;
  color: #0a5231; font: inherit; font-size: 15px; font-weight: 600; text-decoration: underline; cursor: pointer;
}
.wa-rec-cuenta { margin: 10px 0 0 !important; font-size: 13px !important; color: #5e7566 !important; }
@media (prefers-reduced-motion: reduce) {
  .wa-recordatorio, .wa-rec-caja { transition: none; }
}
