/* =========================================================
   Amy's Turo-Turo — Stylesheet
   Palette:
     --green-deep   #1B512D  (banana-leaf green, header/footer/dark sections)
     --yellow-sign  #f4b942  (jeepney-sign yellow, headlines & accents)
     --red-sauce    #b23a30  (sawsawan red, calls to action)
     --cream-paper  #FFF8E7  (page background, like butcher paper)
     --cream-card   #F3E8CF  (slightly deeper paper for cards)
     --ink          #2B2118  (near-black brown, body text)
   Type:
     Display: 'Baloo 2' — thick, rounded, hand-painted signboard feel
     Body:    'Work Sans' — plain, legible, gets out of the way
   ========================================================= */

:root {
  --green-deep: #a8342b;
  --green-deeper: #7a2820;
  --yellow-sign: #f4b942;
  --red-sauce: #c23b2f;
  --cream-paper: #fffaf3;
  --cream-card: #fff1cf;
  --ink: #2b2118;
  --ink-soft: #5a4c3c;
  --radius-s: 6px;
  --surface: #fff;
  --surface-2: #fff6dc;
  --line: #f0e2c0;
  --muted: #7a6a58;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream-paper);
  color: var(--ink);
  font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.55;
}

h1, h2, h3, .signboard {
  font-family: 'Baloo 2', 'Work Sans', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5em;
  color: var(--green-deep);
}

a {
  color: var(--red-sauce);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Accessible focus ring everywhere */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--red-sauce);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------------------------------------------------------
   Header / Nav
   --------------------------------------------------------- */
.site-header {
  background: var(--green-deep);
  border-bottom: 6px solid var(--yellow-sign);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--yellow-sign);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  transform: rotate(-1.5deg);
}
.brand:hover { text-decoration: none; }
.brand .stick { color: var(--red-sauce); font-size: 1.2em; }

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--cream-paper);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-s);
  display: inline-block;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: var(--yellow-sign);
  color: var(--green-deeper);
  text-decoration: none;
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  background: var(--green-deep);
  color: var(--cream-paper);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: center;
}

.hero-signboard {
  background: var(--yellow-sign);
  color: var(--green-deeper);
  display: inline-block;
  padding: 10px 22px;
  transform: rotate(-2deg);
  border-radius: var(--radius-s);
  box-shadow: 6px 6px 0 var(--green-deeper);
  font-family: 'Baloo 2', sans-serif;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin: 0 0 22px;
}

.hero p.lede {
  font-size: 1.15rem;
  max-width: 46ch;
  color: #fdf6e3;
}

.hero-swipe {
  display: inline-block;
  height: 10px;
  width: 90px;
  background: var(--red-sauce);
  border-radius: 999px;
  margin: 6px 0 22px;
}

.btn {
  display: inline-block;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 28px;
  border-radius: var(--radius-s);
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary {
  background: var(--red-sauce);
  color: #fff;
}
.btn-primary:hover { background: #96332a; text-decoration: none; box-shadow: 0 3px 10px rgba(200,16,46,0.35); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--yellow-sign);
  color: var(--yellow-sign);
}
.btn-outline:hover { background: var(--yellow-sign); color: var(--green-deeper); text-decoration: none; }
.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.hero-hours {
  background: var(--green-deeper);
  border: 2px dashed var(--yellow-sign);
  border-radius: var(--radius-s);
  padding: 18px 22px;
  font-size: 0.98rem;
}
.hero-hours dt { color: var(--yellow-sign); font-weight: 700; margin-top: 8px; }
.hero-hours dt:first-child { margin-top: 0; }
.hero-hours dd { margin: 0 0 4px; color: #fdf6e3; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Section headings
   --------------------------------------------------------- */
.section {
  padding: 56px 0;
}
.section h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
}
.section .section-intro {
  max-width: 60ch;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------
   Menu teaser (home page) — three hand-varied picks, not identical cards
   --------------------------------------------------------- */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
@media (max-width: 760px) {
  .teaser-grid { grid-template-columns: 1fr; }
}

.teaser-item {
  text-align: center;
}
.teaser-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 14px;
  background: var(--cream-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.teaser-item:nth-child(2) .teaser-icon { transform: rotate(-4deg); }
.teaser-item:nth-child(3) .teaser-icon { transform: rotate(4deg); }
.teaser-item h3 { margin-bottom: 4px; font-size: 1.15rem; }
.teaser-item p { color: var(--ink-soft); margin: 0; font-size: 0.95rem; }

/* ---------------------------------------------------------
   Menu board (foods.php)
   --------------------------------------------------------- */
.menu-board {
  background: var(--cream-card);
  border-radius: var(--radius-s);
  padding: 8px 0;
}

.menu-category {
  padding: 28px 32px;
  border-bottom: 1px dashed #c9b98f;
}
.menu-category:last-child { border-bottom: none; }

.menu-category h3 {
  font-size: 1.4rem;
  border-bottom: 3px solid var(--red-sauce);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 18px;
}

.menu-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 10px;
  border-radius: var(--radius-s);
  transition: background 0.15s ease, transform 0.15s ease;
}
.menu-row + .menu-row { border-top: 1px dotted #c9b98f; }
.menu-row:hover:not(.item-unavailable) {
  background: rgba(255, 255, 255, 0.55);
  transform: translateY(-1px);
}

.menu-thumb {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow-sign);
  color: var(--green-deeper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.item-unavailable .menu-thumb {
  background: #ded2ae;
  color: var(--ink-soft);
}

.menu-row-main {
  flex: 1 1 auto;
  min-width: 0;
}
.menu-row .item-name {
  font-weight: 700;
  color: var(--ink);
}
.menu-row .item-desc {
  color: var(--ink-soft);
  font-size: 0.92rem;
  display: block;
  margin-top: 2px;
}
.menu-row .item-price {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: var(--red-sauce);
  white-space: nowrap;
  font-size: 1.1rem;
  flex: 0 0 auto;
}
.item-unavailable .item-name { color: var(--ink-soft); }
.item-unavailable .item-price::after {
  content: " (sold out)";
  font-family: 'Work Sans', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.add-to-cart-form {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  flex: 0 0 auto;
}
.sauce-choice {
  display: flex;
  gap: 6px;
  flex-basis: 100%;
  margin-bottom: 4px;
}
.sauce-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--cream-card);
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
}
.sauce-pill:has(input:checked) {
  background: #fff3d6;
  color: var(--red-sauce);
  border-color: var(--yellow-sign);
}
.sauce-pill input { margin: 0; accent-color: var(--red-sauce); }
.add-to-cart-form input[type="number"] {
  width: 52px;
  padding: 8px 6px;
  border-radius: var(--radius-s);
  border: 1px solid #c9b98f;
  text-align: center;
  font-family: 'Work Sans', sans-serif;
}
.sold-out-tag {
  font-size: 0.78rem;
  color: var(--ink-soft);
  background: #ded2ae;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.tag-available {
  font-size: 0.78rem;
  color: var(--green-deep);
  background: #d7ead9;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .menu-row { flex-wrap: wrap; }
  .add-to-cart-form { width: 100%; justify-content: flex-end; }
}

.menu-empty {
  padding: 40px 32px;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------------------------------------------------------
   About page
   --------------------------------------------------------- */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 760px) {
  .about-layout { grid-template-columns: 1fr; }
}

.photo-frame {
  border: 3px dashed var(--green-deep);
  border-radius: var(--radius-s);
  padding: 10px;
  background: var(--cream-card);
}
.photo-frame .placeholder {
  aspect-ratio: 4 / 3;
  background: repeating-linear-gradient(45deg, #e9dcbc, #e9dcbc 10px, #f3e8cf 10px, #f3e8cf 20px);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

.value-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}
.value-list li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 14px;
}
.value-list li::before {
  content: "•";
  color: var(--red-sauce);
  font-size: 1.6rem;
  position: absolute;
  left: 0;
  top: -6px;
}

/* ---------------------------------------------------------
   Contact page
   --------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-card {
  background: var(--cream-card);
  border-radius: var(--radius-s);
  padding: 28px;
}
.contact-card h3 {
  margin-top: 0;
}
.contact-card dt { font-weight: 700; margin-top: 14px; }
.contact-card dd { margin: 2px 0 0; color: var(--ink-soft); }

form.contact-form {
  display: grid;
  gap: 16px;
}
.field label {
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 2px solid #d8c79c;
  border-radius: var(--radius-s);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-s);
  margin-bottom: 20px;
  font-weight: 600;
}
.alert-success {
  background: #e4f2e6;
  border: 2px solid var(--green-deep);
  color: var(--green-deeper);
}
.alert-error {
  background: #fbe6e6;
  border: 2px solid var(--red-sauce);
  color: #7a0c1c;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.site-footer {
  background: var(--green-deeper);
  color: #cfe3d3;
  padding: 32px 0;
  margin-top: 40px;
  font-size: 0.92rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer a { color: var(--yellow-sign); }

/* ---------------------------------------------------------
   Open/closed status strip (shown above the header)
   --------------------------------------------------------- */
.status-strip {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 0;
  text-align: center;
}
.status-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.status-open { background: #1b512d; color: #d7ead9; }
.status-closed { background: #5a4c3c; color: #f3e8cf; }
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.status-open .status-dot {
  background: #6bd08a;
  box-shadow: 0 0 0 0 rgba(107, 208, 138, 0.6);
  animation: status-pulse 2s infinite;
}
@keyframes status-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(107, 208, 138, 0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(107, 208, 138, 0); }
  100% { box-shadow: 0 0 0 0 rgba(107, 208, 138, 0); }
}

/* ---------------------------------------------------------
   Cart link + badge in nav
   --------------------------------------------------------- */
.cart-link { position: relative; }
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  margin-left: 4px;
  background: var(--red-sauce);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  vertical-align: middle;
}

/* ---------------------------------------------------------
   Cart page
   --------------------------------------------------------- */
.cart-table { margin-top: 20px; }
.cart-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px dotted #c9b98f;
}
.cart-row-name { flex: 1 1 auto; font-weight: 700; }
.cart-row input[type="number"] {
  width: 60px;
  padding: 8px 6px;
  border-radius: var(--radius-s);
  border: 1px solid #c9b98f;
  text-align: center;
}
.cart-row-price {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: var(--red-sauce);
  white-space: nowrap;
  min-width: 90px;
  text-align: right;
}
.cart-update-row { margin-top: 14px; }
.cart-total {
  text-align: right;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--green-deep);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 3px solid var(--yellow-sign);
}

/* ---------------------------------------------------------
   Admin dashboard
   --------------------------------------------------------- */
.admin-table-wrap {
  overflow-x: auto;
  background: var(--cream-card);
  border-radius: var(--radius-s);
  padding: 16px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.admin-table th {
  text-align: left;
  padding: 8px 10px;
  color: var(--green-deep);
  border-bottom: 2px solid var(--yellow-sign);
}
.admin-table td {
  padding: 8px 10px;
  border-bottom: 1px dotted #c9b98f;
  vertical-align: middle;
}
.inline-form { display: flex; align-items: center; gap: 6px; margin: 0; }
.admin-price-input {
  width: 80px;
  padding: 6px;
  border-radius: var(--radius-s);
  border: 1px solid #c9b98f;
}
.admin-table select {
  padding: 6px 8px;
  border-radius: var(--radius-s);
  border: 1px solid #c9b98f;
  font-family: 'Work Sans', sans-serif;
}

/* ---------------------------------------------------------
   Floating call button
   --------------------------------------------------------- */
.floating-call {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--red-sauce);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.28);
  z-index: 999;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  animation: float-bob 2.4s ease-in-out infinite;
}
.floating-call:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  text-decoration: none;
}
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ---------------------------------------------------------
   Honeypot field (hidden from real visitors, visible to bots
   that don't render CSS)
   --------------------------------------------------------- */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.cart-remove-list { margin-top: 10px; }
.btn-text-remove {
  background: none;
  border: none;
  padding: 0;
  color: var(--red-sauce);
  text-decoration: underline;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: 'Work Sans', sans-serif;
}
.btn-text-remove:hover { color: #96332a; }

/* ---------------------------------------------------------
   Mobile hamburger nav
   --------------------------------------------------------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid var(--yellow-sign);
  border-radius: var(--radius-s);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--yellow-sign);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle-active span:nth-child(2) { opacity: 0; }
.nav-toggle-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    width: 100%;
    order: 3;
  }
  .site-nav.nav-open { display: block; }
  .site-nav ul {
    flex-direction: column;
    gap: 2px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  .site-nav a { display: block; }
}

/* ---------------------------------------------------------
   Menu cards (customer-facing menu, with photos)
   --------------------------------------------------------- */
.menu-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 18px;
}

.menu-card {
  background: #fffdf6;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(43, 33, 24, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}
.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(43, 33, 24, 0.16);
}
.menu-card.item-unavailable { opacity: 0.72; }

.menu-card-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--cream-card);
}
.menu-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.menu-card:hover .menu-card-photo img { transform: scale(1.05); }

.menu-thumb-large {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--green-deep);
  background: var(--cream-card);
}

.menu-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
}

.menu-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.menu-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}
.menu-card-top .item-name {
  font-weight: 700;
  color: var(--ink);
}
.menu-card-top .item-price {
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: var(--red-sauce);
  white-space: nowrap;
}
.menu-card-body .item-desc {
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
}
.menu-card-body .add-to-cart-form {
  margin-top: auto;
  justify-content: flex-end;
}

/* ---------------------------------------------------------
   Admin: add/edit menu item cards
   --------------------------------------------------------- */
.admin-item-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
  margin-top: 16px;
}
.admin-item-card {
  display: flex;
  gap: 14px;
  background: var(--cream-card);
  border-radius: 10px;
  padding: 14px;
  margin: 0;
}
.admin-item-card.admin-item-unavailable { opacity: 0.7; }
.admin-add-card {
  margin-top: 16px;
  border: 2px dashed #c9b98f;
}

.admin-item-photo {
  flex: 0 0 100px;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background: #ede0bf;
}
.admin-item-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.admin-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 1.4rem;
  text-align: center;
}
.admin-photo-upload-btn {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(27, 81, 45, 0.85);
  color: #fff;
  font-size: 0.7rem;
  text-align: center;
  padding: 4px 2px;
  cursor: pointer;
}
.admin-photo-upload-btn input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-item-fields {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.admin-field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.admin-field-row label,
.admin-field-full {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 600;
  flex: 1;
  min-width: 100px;
  gap: 3px;
}
.admin-item-fields input[type="text"],
.admin-item-fields input[type="number"],
.admin-item-fields select {
  padding: 7px 8px;
  border-radius: var(--radius-s);
  border: 1px solid #c9b98f;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
}
.admin-field-row-bottom {
  align-items: center;
  margin-top: 4px;
}
.admin-checkbox {
  flex-direction: row !important;
  align-items: center;
  gap: 5px !important;
  font-size: 0.85rem !important;
}
.admin-file-label input[type="file"] {
  font-size: 0.78rem;
  border: none;
  padding: 0;
}

/* ---------------------------------------------------------
   Responsive admin tables: stack into cards on small screens
   --------------------------------------------------------- */
@media (max-width: 700px) {
  .admin-table-responsive thead { display: none; }
  .admin-table-responsive, .admin-table-responsive tbody, .admin-table-responsive tr, .admin-table-responsive td {
    display: block;
    width: 100%;
  }
  .admin-table-responsive tr {
    margin-bottom: 12px;
    border: 1px solid #c9b98f;
    border-radius: 8px;
    padding: 6px 10px;
  }
  .admin-table-responsive td {
    border-bottom: none;
    padding: 6px 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }
  .admin-table-responsive td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--green-deep);
  }
}


/* =========================================================
   Mang Inasal-inspired theme (red / yellow / white)
   ========================================================= */
body { background: #fff; }
.btn-primary:hover { background: #953229; box-shadow: 0 3px 10px rgba(215,20,28,0.35); }
.btn-yellow { background: var(--yellow-sign); color: #5c231d; }
.btn-yellow:hover { background: #ffd95c; text-decoration: none; }
.btn-outline-red { background: transparent; border: 2px solid var(--red-sauce); color: var(--red-sauce); }
.btn-outline-red:hover { background: var(--red-sauce); color: #fff; text-decoration: none; }
.alert-info { background: #fff6d6; border: 2px solid var(--yellow-sign); color: #5c231d; }

/* Header: white bar, red logo, red Order Now */
.site-header { background: #fff; border-bottom: 4px solid var(--yellow-sign); position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.site-header .wrap { max-width: 1200px; }
.brand { color: var(--red-sauce); transform: none; font-size: 1.7rem; font-weight: 800; }
.brand .stick { color: #e59b00; font-size: 1em; }
.site-nav ul { align-items: center; }
.site-nav a { color: #3a2a1e; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: transparent; color: var(--red-sauce); box-shadow: inset 0 -3px 0 var(--yellow-sign); border-radius: 0; }
.site-nav .nav-cta a, .site-nav .nav-cta a:hover { color: #fff; background: var(--red-sauce); box-shadow: none; border-radius: var(--radius-s); }
.nav-toggle { border-color: var(--red-sauce); }
.nav-toggle span { background: var(--red-sauce); }
@media (max-width: 760px) {
  .site-nav ul { border-top: 1px solid #eee; }
  .site-nav .nav-cta a { text-align: center; margin-top: 6px; }
}

/* Hero slider */
.mi-slider { position: relative; overflow: hidden; color: #fff; }
.mi-slide { display: none; min-height: 430px; align-items: center; background-size: cover; }
.mi-slide.is-active { display: flex; animation: mi-fade 0.6s ease; }
@keyframes mi-fade { from { opacity: 0; } to { opacity: 1; } }
.mi-slide-1 { background: linear-gradient(120deg, #a8342b 0%, #d2583f 55%, #e0974a 100%); }
.mi-slide-2 { background: linear-gradient(120deg, #7a2820 0%, #b23a30 50%, #ffb400 110%); }
.mi-slide-3 { background: linear-gradient(120deg, #e0974a 0%, #c23b2f 60%, #7a2820 100%); }
.mi-slide-inner { width: 100%; padding-top: 40px; padding-bottom: 40px; }
.mi-slide-inner h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 800; max-width: 640px; text-shadow: 0 2px 0 rgba(0,0,0,0.15); }
.mi-slide-inner p { max-width: 520px; font-size: 1.1rem; margin: 0 0 22px; }
.mi-slide-inner .mi-kicker { color: var(--yellow-sign); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.85rem; margin-bottom: 8px; }
.mi-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,0.9); color: var(--red-sauce); font-size: 1.1rem; cursor: pointer; }
.mi-arrow:hover { background: #fff; }
.mi-prev { left: 14px; } .mi-next { right: 14px; }
.mi-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.mi-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; padding: 0; cursor: pointer; }
.mi-dots button.is-active { background: var(--yellow-sign); border-color: var(--yellow-sign); }
@media (max-width: 560px) { .mi-slide { min-height: 380px; } .mi-arrow { display: none; } }

/* Sections */
.mi-intro { text-align: center; padding: 48px 0 12px; }
.mi-intro h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.mi-intro p { max-width: 640px; margin: 0 auto; color: var(--ink-soft); }
.mi-section { padding: 48px 0; }
.mi-section-tint { background: #fff6dc; }
.mi-section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.mi-section-head h2 { margin: 0; font-size: 2rem; }
.mi-viewall { font-weight: 700; border: 2px solid var(--red-sauce); padding: 6px 16px; border-radius: 999px; }
.mi-viewall:hover { background: var(--red-sauce); color: #fff; text-decoration: none; }
.mi-featured { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px; }
.mi-feat-card { text-align: center; }
.mi-feat-photo { display: block; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; background: var(--cream-card); border: 5px solid var(--yellow-sign); max-width: 220px; margin: 0 auto 14px; }
.mi-feat-photo img { width: 100%; height: 100%; object-fit: cover; }
.mi-feat-card h3 { font-size: 1.2rem; margin-bottom: 2px; color: #3a2a1e; }
.mi-feat-price { margin: 0 0 10px; font-family: 'Baloo 2', sans-serif; font-weight: 700; color: var(--red-sauce); }
.mi-promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.mi-promo { border-radius: 16px; padding: 30px 26px; min-height: 180px; }
.mi-promo h3 { font-size: 1.5rem; color: inherit; }
.mi-promo p { margin: 0; }
.mi-promo-red { background: var(--red-sauce); color: #fff; }
.mi-promo-yellow { background: var(--yellow-sign); color: #5c231d; }
.mi-promo-brown { background: #5a2a14; color: #ffe9b0; }
.mi-about { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; }
.mi-about-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; background: linear-gradient(135deg, var(--yellow-sign), #e0974a); }
.mi-about-badge { position: absolute; right: 18px; bottom: 18px; background: var(--red-sauce); color: #fff; font-family: 'Baloo 2', sans-serif; font-weight: 800; text-align: center; line-height: 1.1; padding: 16px 20px; border-radius: 50%; }
@media (max-width: 760px) { .mi-about { grid-template-columns: 1fr; } }
.mi-order-band { background: var(--red-sauce); color: #fff; text-align: center; padding: 56px 0; }
.mi-order-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.5rem); }
.mi-order-band p { margin: 0 0 20px; }

/* Menu page */
.mi-page-banner { background: linear-gradient(120deg, #a8342b, #d2583f); color: #fff; padding: 40px 0; text-align: center; }
.mi-page-banner h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 4px; }
.mi-page-banner p { margin: 0; }
.mi-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 18px; margin-bottom: 8px; position: sticky; top: 70px; background: #fff; z-index: 10; }
.mi-tab { flex: 0 0 auto; border: 2px solid var(--red-sauce); background: #fff; color: var(--red-sauce); font-family: 'Baloo 2', sans-serif; font-weight: 700; padding: 6px 18px; border-radius: 999px; cursor: pointer; }
.mi-tab:hover { background: #fff1cf; }
.mi-tab.is-active { background: var(--red-sauce); color: #fff; }
.mi-cat[hidden] { display: none; }
.menu-category { padding: 0; background: none; border: none; box-shadow: none; margin-bottom: 36px; }
.menu-category h3 { font-size: 1.6rem; border-bottom: 3px solid var(--yellow-sign); padding-bottom: 6px; display: inline-block; }
.menu-card { background: #fff; border: 1px solid #f0e2c0; }

/* Cart checkout */
.checkout-bar { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.checkout-panel { margin-top: 28px; padding-top: 8px; border-top: 3px solid var(--yellow-sign); }
.checkout-panel[hidden] { display: none; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.55); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 100; }
.modal-backdrop[hidden] { display: none; }
.modal-box { position: relative; background: #fff; border-radius: 16px; max-width: 420px; width: 100%; padding: 32px 28px 26px; text-align: center; border-top: 8px solid var(--yellow-sign); }
.modal-box h3 { font-size: 1.6rem; }
.modal-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.modal-close { position: absolute; top: 8px; right: 12px; background: none; border: none; font-size: 1.8rem; line-height: 1; color: #777; cursor: pointer; }

/* Footer */
.site-footer { background: #6e0a10; color: #f7d9d9; padding: 40px 0 18px; margin-top: 0; }
.site-footer .wrap { display: block; }
.footer-grid { display: grid !important; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.site-footer h4 { color: var(--yellow-sign); font-family: 'Baloo 2', sans-serif; margin: 0 0 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 4px; }
.site-footer p { margin: 0; }
.footer-brand { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 1.6rem; color: #fff; margin-bottom: 6px; }
.footer-brand span { color: var(--yellow-sign); }
.footer-copy { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 26px; padding-top: 14px; font-size: 0.85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.status-open { background: #7a0b12; color: #ffe9b0; }

/* Admin categories */
.cat-add-form, .cat-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; background: #fff6dc; border: 1px solid #f0e2c0; border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.cat-add-form label, .cat-row label { display: flex; flex-direction: column; font-weight: 600; font-size: 0.85rem; gap: 4px; }
.cat-add-form input, .cat-row input { padding: 8px 10px; border: 2px solid #e6d3a3; border-radius: 6px; font: inherit; }
.cat-add-form input[type="text"], .cat-row input[type="text"] { min-width: 220px; }
.cat-add-form input[type="number"], .cat-row input[type="number"] { width: 90px; }
.cat-count { color: var(--ink-soft); font-size: 0.85rem; padding-bottom: 10px; }

/* ---------------------------------------------------------
   Modern nav refresh: icon cart button + smoother hovers
   --------------------------------------------------------- */
.site-nav ul { gap: 4px; }
.site-nav a {
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] {
  background: #fff3d6;
}

.cart-link {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0 !important;
  color: #3a2a1e;
}
.cart-link:hover { background: #fff3d6; box-shadow: none; }
.cart-link svg { display: block; }
.cart-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  margin-left: 0;
  background: var(--red-sauce);
  color: #fff;
  border: 2px solid #fff;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 760px) {
  .cart-link { width: auto; height: auto; justify-content: flex-start; gap: 8px; padding: 10px 14px !important; }
  .cart-link::after { content: "Cart"; font-family: 'Work Sans', sans-serif; font-weight: 500; }
  .cart-badge { position: static; margin-left: 4px; border: none; }
}

/* ---------------------------------------------------------
   Sauce tag shown in the cart list
   --------------------------------------------------------- */
.sauce-tag {
  display: inline-block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  background: var(--cream-card);
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 8px;
}

/* ---------------------------------------------------------
   Payment method picker at checkout
   --------------------------------------------------------- */
.pay-method-choices {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.pay-method-option { flex: 1 1 140px; cursor: pointer; }
.pay-method-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.pay-method-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 2px solid #d9c9a0;
  border-radius: 10px;
  background: #fff;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pay-method-option input:checked + .pay-method-card {
  border-color: var(--red-sauce);
  background: #fff3d6;
}
.pay-method-option input:focus-visible + .pay-method-card {
  outline: 2px solid var(--red-sauce);
  outline-offset: 2px;
}
.pay-method-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--yellow-sign);
  color: var(--green-deeper);
  font-weight: 700;
  flex: 0 0 auto;
}
.pay-method-icon-gcash { background: #007dfe; color: #fff; }

/* ---------------------------------------------------------
   Payment tag in admin orders table
   --------------------------------------------------------- */
.pay-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.pay-tag-cash { background: #fff3d6; color: #8a5a00; }
.pay-tag-gcash { background: #dbeeff; color: #005ec4; }

/* =========================================================
   v5 — slim navbar, Mang-Inasal-style menu, animations,
        contact map, admin category tools
   ========================================================= */
[hidden] { display: none !important; }
:root { --hdr-h: 58px; }

/* ---------- Slim header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 2px solid var(--yellow-sign);
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 16px rgba(0,0,0,.10); }
.site-header .wrap.tb-inner {
  max-width: 1200px; height: var(--hdr-h);
  padding-top: 0; padding-bottom: 0; flex-wrap: nowrap; gap: 14px;
  display: flex; align-items: center; justify-content: space-between;
  transition: height .25s ease;
}
.site-header.is-scrolled .wrap.tb-inner { height: 48px; }

.tb-brand { display: flex; align-items: center; gap: 9px; color: var(--red-sauce); flex: 0 0 auto; }
.tb-brand:hover { text-decoration: none; }
.tb-mark { width: 34px; height: 34px; transition: transform .35s cubic-bezier(.3,1.6,.5,1), width .25s ease, height .25s ease; }
.site-header.is-scrolled .tb-mark { width: 30px; height: 30px; }
.tb-brand:hover .tb-mark { transform: rotate(-12deg) scale(1.08); }
.tb-name { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 1.2rem; line-height: 1; color: var(--red-sauce); white-space: nowrap; }
.tb-name b { color: #e59b00; font-weight: 800; }

.tb-nav { flex: 1 1 auto; }
.tb-nav ul { list-style: none; display: flex; justify-content: center; gap: 2px; margin: 0; padding: 0; }
.tb-nav a:not(.btn) {
  position: relative; display: inline-block; padding: 6px 13px;
  color: #3a2a1e; font-weight: 600; font-size: .95rem; border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.tb-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; border-radius: 3px;
  background: var(--yellow-sign); transform: scaleX(0); transition: transform .25s ease;
}
.tb-nav a:not(.btn):hover { color: var(--red-sauce); text-decoration: none; }
.tb-nav a:not(.btn):hover::after, .tb-nav a[aria-current="page"]::after { transform: scaleX(1); }
.tb-nav a[aria-current="page"] { color: var(--red-sauce); }
.tb-only-mobile { display: none; }

.tb-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.tb-status {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; margin-right: 4px;
  border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .02em;
}
.tb-status i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tb-status.is-open { background: #e3f6e8; color: #1c7a3a; }
.tb-status.is-open i { animation: dotPulse 1.8s ease-out infinite; }
.tb-status.is-closed { background: #f1ece4; color: #7a6a58; }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(28,122,58,.55); } 100% { box-shadow: 0 0 0 8px rgba(28,122,58,0); } }

.tb-icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: #3a2a1e; cursor: pointer; transition: background .2s ease, color .2s ease, transform .15s ease;
}
.tb-icon-btn:hover { background: #fff1cf; color: var(--red-sauce); text-decoration: none; }
.tb-icon-btn:active { transform: scale(.92); }
.tb-badge {
  position: absolute; top: 1px; right: 0; min-width: 17px; height: 17px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--red-sauce); color: #fff; border: 2px solid #fff; border-radius: 999px;
  font-size: .65rem; font-weight: 700; line-height: 1;
}
.tb-badge.is-pop { animation: badgePop .45s cubic-bezier(.3,1.7,.5,1); }
@keyframes badgePop { 0% { transform: scale(.4); } 60% { transform: scale(1.5); } 100% { transform: scale(1); } }

.tb-acct { position: relative; }
.tb-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 190px; padding: 6px;
  background: #fff; border: 1px solid #f0e2c0; border-radius: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.14);
  animation: menuIn .18s ease;
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.tb-menu a { display: block; padding: 9px 12px; border-radius: 8px; color: #3a2a1e; font-weight: 600; font-size: .92rem; }
.tb-menu a:hover { background: #fff1cf; color: var(--red-sauce); text-decoration: none; }
.tb-menu-hi { padding: 8px 12px 6px; font-family: 'Baloo 2', sans-serif; font-weight: 700; color: var(--red-sauce); }
.tb-menu-out { border-top: 1px solid #f0e2c0; margin-top: 4px; border-radius: 0 0 8px 8px !important; }

.tb-order { padding: 7px 16px; font-size: .9rem; margin-left: 4px; }

.tb-toggle { display: none; width: 38px; height: 38px; border: 0; background: transparent; border-radius: 50%; cursor: pointer; position: relative; padding: 0; }
.tb-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; border-radius: 2px; background: var(--red-sauce); transition: transform .25s ease, opacity .2s ease, top .25s ease; }
.tb-toggle span:nth-child(1) { top: 13px; } .tb-toggle span:nth-child(2) { top: 18px; } .tb-toggle span:nth-child(3) { top: 23px; }
.tb-toggle.is-active span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.tb-toggle.is-active span:nth-child(2) { opacity: 0; }
.tb-toggle.is-active span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

@media (max-width: 860px) {
  .tb-toggle { display: inline-block; }
  .tb-order, .tb-status span { display: none; }
  .tb-status { padding: 6px; margin-right: 0; }
  .tb-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex: none;
    border-bottom: 2px solid var(--yellow-sign); box-shadow: 0 14px 24px rgba(0,0,0,.10);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .3s ease, visibility 0s linear .3s;
  }
  .tb-nav.is-open { max-height: 360px; visibility: visible; transition: max-height .3s ease; }
  .tb-nav ul { flex-direction: column; align-items: stretch; padding: 8px 20px 16px; gap: 0; }
  .tb-nav a:not(.btn) { display: block; padding: 12px 6px; border-radius: 0; border-bottom: 1px solid #f6ecd2; }
  .tb-nav a:not(.btn)::after { display: none; }
  .tb-only-mobile { display: block; padding-top: 12px; }
  .tb-only-mobile .btn { display: block; text-align: center; }
}

/* ---------- Menu page (Mang Inasal-style) ---------- */
.mn-page { padding: 22px 0 64px; min-height: 60vh; }
.mn-page .wrap { max-width: 1240px; }
.mn-crumb { display: flex; align-items: center; gap: 8px; color: #8a7d70; font-size: .95rem; margin-bottom: 2px; }
.mn-crumb a { color: #8a7d70; display: inline-flex; }
.mn-crumb a:hover { color: var(--red-sauce); }
.mn-title { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; color: var(--red-sauce); margin: 0 0 22px; line-height: 1.05; animation: slideUp .35s ease both; }
@keyframes slideUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.mn-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; align-items: start; }

.mn-side { position: sticky; top: calc(var(--hdr-h) + 14px); }
.mn-cats {
  list-style: none; margin: 0; padding: 0; max-height: calc(100vh - 140px); overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: #cfc7bc transparent;
}
.mn-cats li { border-bottom: 1px solid #eee7dc; }
.mn-cat {
  position: relative; display: block; width: 100%; text-align: left; border: 0; background: transparent;
  padding: 15px 20px 15px 44px; font: 700 1rem/1.25 'Work Sans', sans-serif; color: #241a12; cursor: pointer;
  transition: background .2s ease, padding .2s ease, color .2s ease;
}
.mn-cat:hover { background: #fff7d1; padding-left: 50px; }
.mn-cat.is-active { background: #f0d875; color: #241a12; }
.mn-cat::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red-sauce);
  transform: scaleY(0); transform-origin: top; transition: transform .25s ease;
}
.mn-cat.is-active::before { transform: scaleY(1); }

.mn-panel h2 { font-size: 1.55rem; color: #1f1a16; margin: 2px 0 18px; animation: slideUp .3s ease both; }
.mn-side, .mn-main { min-width: 0; }
.mn-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

.mn-card {
  display: flex; flex-direction: column; background: #fff; border-radius: 16px; padding: 16px 16px 18px;
  box-shadow: 0 2px 14px rgba(70,40,10,.08); border: 1px solid #f3ebe0;
  animation: cardIn .4s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 1) * 35ms);
  transition: transform .3s ease, box-shadow .3s ease;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
.mn-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(70,40,10,.16); }
.mn-photo { position: relative; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #fff7e6; display: flex; align-items: center; justify-content: center; }
.mn-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mn-card:hover .mn-photo img { transform: scale(1.08) rotate(.6deg); }
.mn-photo .menu-thumb-large { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 3.4rem; border-radius: 0; }
.mn-soldtag { position: absolute; top: 10px; left: 10px; background: #3a2a1e; color: #fff; font-size: .75rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.mn-card.is-sold .mn-photo img { filter: grayscale(.85); opacity: .7; }
.mn-name { font-size: 1.12rem; font-weight: 700; color: #241a12; text-align: center; margin: 14px 0 2px; line-height: 1.25; }
.mn-price { text-align: center; margin: 0 0 6px; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--red-sauce); }
.mn-desc { text-align: center; color: var(--ink-soft); font-size: .88rem; margin: 0 0 12px; line-height: 1.45; }
.mn-form { margin-top: auto; display: block; }
.mn-form .sauce-choice { justify-content: center; margin-bottom: 10px; }
.mn-buy { display: flex; gap: 10px; margin-top: auto; padding-top: 10px; }
.mn-qty { display: inline-flex; align-items: center; border: 2px solid #eadfcd; border-radius: 10px; overflow: hidden; flex: 0 0 auto; }
.mn-qty button { width: 32px; height: 100%; min-height: 44px; border: 0; background: #fff7e6; color: var(--red-sauce); font-size: 1.15rem; font-weight: 700; cursor: pointer; transition: background .15s; }
.mn-qty button:hover { background: #ffe9a8; }
.mn-form .mn-qty input { width: 38px; border: 0; border-radius: 0; background: #fff; text-align: center; font: 600 1rem 'Work Sans', sans-serif; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.mn-form .mn-qty input::-webkit-outer-spin-button, .mn-form .mn-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.mn-order {
  position: relative; overflow: hidden; flex: 1 1 auto; min-height: 44px; border: 0; border-radius: 8px;
  background: var(--red-sauce); color: #fff; font: 700 .98rem 'Work Sans', sans-serif; cursor: pointer;
  transition: background .2s ease, transform .12s ease, box-shadow .2s ease;
}
.mn-order:hover:not(:disabled) { background: #953229; box-shadow: 0 6px 16px rgba(215,20,28,.35); }
.mn-order:active:not(:disabled) { transform: scale(.97); }
.mn-order.is-done { background: #1c7a3a; }
.mn-order:disabled { background: #cfc7bc; cursor: not-allowed; }
.mn-card .mn-buy:only-child .mn-order { width: 100%; }

@media (max-width: 1100px) { .mn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .mn-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .mn-side { position: sticky; top: calc(var(--hdr-h) - 2px); z-index: 20; background: #fff; margin: 0 -24px; padding: 8px 24px; box-shadow: 0 6px 10px -8px rgba(0,0,0,.2); }
  .mn-cats { display: flex; gap: 8px; overflow-x: auto; max-height: none; padding: 2px 0; }
  .mn-cats li { border: 0; flex: 0 0 auto; }
  .mn-cat { padding: 9px 18px; border-radius: 999px; background: #f6f1e8; font-size: .92rem; white-space: nowrap; }
  .mn-cat:hover { padding-left: 18px; }
  .mn-cat::before { display: none; }
  .mn-cat.is-active { background: #f0d875; box-shadow: inset 0 0 0 2px var(--red-sauce); }
}
@media (max-width: 560px) {
  .mn-page { padding: 16px 0 48px; }
  .mn-title { margin-bottom: 14px; }
  .mn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mn-card { padding: 10px 10px 12px; border-radius: 14px; }
  .mn-photo { border-radius: 8px; }
  .mn-name { font-size: .98rem; margin-top: 10px; }
  .mn-price { font-size: 1.05rem; margin-bottom: 4px; }
  .mn-desc { font-size: .8rem; margin-bottom: 8px; }
  .mn-form .sauce-choice { gap: 4px; margin-bottom: 8px; }
  .mn-form .sauce-pill { padding: 4px 8px; font-size: .78rem; }
  .mn-buy { flex-direction: column; gap: 8px; padding-top: 6px; }
  .mn-qty { align-self: stretch; justify-content: space-between; }
  .mn-qty button { flex: 0 0 38px; }
  .mn-form .mn-qty input { flex: 1 1 auto; width: auto; min-width: 0; }
  .mn-order { width: 100%; flex: 0 0 auto; }
  .mn-soldtag { top: 6px; left: 6px; font-size: .68rem; padding: 3px 8px; }
}
@media (max-width: 340px) { .mn-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 120; display: flex; gap: 14px; align-items: center;
  background: #241a12; color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.3); transform: translate(-50%, 90px); opacity: 0; pointer-events: none;
  transition: transform .4s cubic-bezier(.3,1.4,.5,1), opacity .3s ease;
}
.toast a { color: var(--yellow-sign); }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }

/* ---------- Ripple ---------- */
.btn, .mn-order { position: relative; overflow: hidden; }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: ripple .6s ease-out; pointer-events: none; }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }

/* ---------- Scroll reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Home: hero motion ---------- */
.mi-slide.is-active .mi-slide-inner > * { animation: slideUp .7s cubic-bezier(.2,.8,.2,1) both; }
.mi-slide.is-active .mi-slide-inner > *:nth-child(2) { animation-delay: .12s; }
.mi-slide.is-active .mi-slide-inner > *:nth-child(3) { animation-delay: .24s; }
.mi-slide.is-active .mi-slide-inner > *:nth-child(4) { animation-delay: .36s; }
.hero-mark { position: absolute; right: 8%; top: 50%; width: 220px; height: 220px; margin-top: -110px; z-index: 1; pointer-events: none; filter: drop-shadow(0 14px 22px rgba(0,0,0,.28)); animation: bob 4.5s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(-8px) rotate(-4deg); } 50% { transform: translateY(10px) rotate(4deg); } }
.mi-slide-inner { position: relative; z-index: 2; }
.mi-arrow, .mi-dots { z-index: 3; }
.hero-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.hero-deco i { position: absolute; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,214,120,.55), rgba(255,160,20,.25)); animation: floaty 9s ease-in-out infinite; }
.hero-deco i:nth-child(1) { width: 90px; height: 90px; left: 6%; bottom: 12%; }
.hero-deco i:nth-child(2) { width: 46px; height: 46px; left: 40%; top: 14%; animation-delay: -3s; }
.hero-deco i:nth-child(3) { width: 130px; height: 130px; right: 30%; bottom: -30px; animation-delay: -5s; }
.hero-deco i:nth-child(4) { width: 30px; height: 30px; right: 4%; top: 12%; animation-delay: -7s; }
@keyframes floaty { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-26px) scale(1.06); } }
@media (max-width: 1000px) { .hero-mark { width: 150px; height: 150px; margin-top: -75px; right: 4%; opacity: .6; } }
@media (max-width: 760px) { .hero-mark { width: 110px; height: 110px; margin-top: -55px; right: 4%; opacity: .55; } }

.mi-feat-card { transition: transform .3s ease; }
.mi-feat-card:hover { transform: translateY(-6px); }
.mi-feat-photo { transition: transform .4s ease, box-shadow .4s ease; }
.mi-feat-card:hover .mi-feat-photo { transform: rotate(-3deg) scale(1.04); box-shadow: 0 14px 26px rgba(0,0,0,.18); }
.mi-feat-photo img { transition: transform .6s ease; }
.mi-feat-card:hover .mi-feat-photo img { transform: scale(1.1); }
.mi-promo { transition: transform .3s ease, box-shadow .3s ease; }
.mi-promo:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 16px 30px rgba(0,0,0,.18); }
.mi-about-badge { animation: badgeSpin 8s ease-in-out infinite; }
@keyframes badgeSpin { 0%,100% { transform: rotate(-6deg) scale(1); } 50% { transform: rotate(6deg) scale(1.06); } }
.floating-call { animation: callWiggle 4s ease-in-out 2s infinite; }
@keyframes callWiggle { 0%,90%,100% { transform: none; } 93% { transform: rotate(-14deg); } 96% { transform: rotate(12deg); } }

/* footer logo */
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand em { color: var(--yellow-sign); font-style: normal; }

/* ---------- Contact: location + map ---------- */
.ct-card .ct-directions { margin-top: 18px; }
.ct-card a { font-weight: 600; }
.ct-map-section { padding: 10px 0 60px; }
.ct-map-section h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.ct-map { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(70,40,10,.15); border: 3px solid var(--yellow-sign); background: #f3ebe0; }
.ct-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.ct-map-pin {
  position: absolute; left: 18px; top: 18px; max-width: 280px; display: flex; flex-direction: column; gap: 4px;
  background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 8px 24px rgba(0,0,0,.2); font-size: .92rem;
}
.ct-map-pin strong { font-family: 'Baloo 2', sans-serif; color: var(--red-sauce); font-size: 1.1rem; }
.ct-map-pin span { color: var(--ink-soft); }
.ct-map-pin a { font-weight: 700; }
@media (max-width: 600px) { .ct-map iframe { height: 340px; } .ct-map-pin { position: static; max-width: none; border-radius: 0; box-shadow: none; border-top: 1px solid #f0e2c0; } }

/* ---------- Admin ---------- */
.ad-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 10px 0 18px; }
.ad-stat { display: flex; flex-direction: column; background: #fff6dc; border: 1px solid #f0e2c0; border-radius: 14px; padding: 14px 18px; color: var(--ink); transition: transform .2s ease, box-shadow .2s ease; }
.ad-stat:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,.1); text-decoration: none; }
.ad-stat b { font-family: 'Baloo 2', sans-serif; font-size: 1.9rem; line-height: 1; color: var(--red-sauce); }
.ad-stat span { font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.ad-nav { position: sticky; top: 48px; z-index: 30; display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; margin-bottom: 8px; background: #fff; border-bottom: 1px solid #f0e2c0; }
.ad-nav a { flex: 0 0 auto; padding: 6px 16px; border-radius: 999px; border: 2px solid var(--red-sauce); color: var(--red-sauce); font-weight: 700; font-size: .9rem; }
.ad-nav a:hover { background: var(--red-sauce); color: #fff; text-decoration: none; }
.ad-h { margin-top: 2.5rem; scroll-margin-top: 110px; }
.ad-help { color: var(--ink-soft); margin: 0 0 14px; max-width: 70ch; }
.cat-row { transition: box-shadow .2s ease; }
.cat-row:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.cat-row .cat-count { flex: 1 1 auto; }
.btn-danger-outline { background: transparent; border: 2px solid #b23a30; color: #b23a30; font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: .9rem; padding: 6px 16px; border-radius: 6px; cursor: pointer; transition: background .15s, color .15s; }
.btn-danger-outline:hover { background: #b23a30; color: #fff; }
.ad-move { text-align: left; margin-top: 12px; }
.ad-move label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; }
.ad-move select { padding: 9px 10px; border: 2px solid #e6d3a3; border-radius: 6px; font: inherit; }
.ad-filter { margin: 4px 0 14px; }
.ad-filter label { font-weight: 600; font-size: .9rem; }
.ad-filter select { margin-left: 8px; padding: 7px 10px; border: 2px solid #e6d3a3; border-radius: 6px; font: inherit; }
.modal-box { animation: menuIn .22s ease; }

/* =========================================================
   v6 — cart pictures, checkout, delivery, GCash, admin orders
   ========================================================= */

/* ---------- Cart page ---------- */
.cart-page .wrap { max-width: 1120px; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; margin-top: 18px; }
.cart-list { display: flex; flex-direction: column; gap: 14px; transition: opacity .2s ease; }
.cart-list.is-busy { opacity: .55; pointer-events: none; }
.cart-item {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto 90px 36px; gap: 16px; align-items: center;
  background: #fff; border: 1px solid #f3ebe0; border-radius: 16px; padding: 12px 16px 12px 12px;
  box-shadow: 0 2px 12px rgba(70,40,10,.07);
  animation: cardIn .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(var(--i, 1) * 60ms);
  transition: box-shadow .25s ease, transform .25s ease;
}
.cart-item:hover { box-shadow: 0 8px 22px rgba(70,40,10,.13); transform: translateY(-2px); }
.cart-item.item-unavailable { opacity: .65; }
.cart-thumb, .co-thumb {
  display: block; width: 92px; height: 92px; border-radius: 12px; overflow: hidden; background: #fff1cf;
  flex: 0 0 auto;
}
.cart-thumb img, .co-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cart-item:hover .cart-thumb img { transform: scale(1.08); }
.cart-thumb.is-letter, .co-thumb.is-letter { display: flex; align-items: center; justify-content: center; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 2rem; color: #a8342b; background: var(--yellow-sign); }
.cart-name { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 1.15rem; color: #241a12; line-height: 1.2; }
.cart-meta { color: var(--ink-soft); font-size: .9rem; margin-top: 2px; }
.cart-meta .sauce-tag { margin-left: 6px; }
.cart-qty { min-height: 40px; }
.cart-qty button { min-height: 40px; }
.cart-item .mn-qty input { width: 40px; border: 0; border-radius: 0; background: #fff; text-align: center; font: 600 1rem 'Work Sans', sans-serif; padding: 0; -moz-appearance: textfield; appearance: textfield; }
.cart-item .mn-qty input::-webkit-outer-spin-button, .cart-item .mn-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-line { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--red-sauce); text-align: right; white-space: nowrap; }
.cart-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: transparent; color: #9b8d7e; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, color .15s, transform .15s; }
.cart-x:hover { background: #fde4e4; color: #b23a30; transform: rotate(90deg); }
.cart-update-row { display: none; }
html:not(.js) .cart-update-row { display: block; }
.cart-more { display: inline-block; margin-top: 16px; font-weight: 700; }

.cart-summary, .co-summary {
  background: #fff; border: 1px solid #f0e2c0; border-radius: 18px; padding: 22px 22px 20px;
  box-shadow: 0 6px 24px rgba(70,40,10,.10);
}
.cart-summary { position: sticky; top: 76px; }
.cart-summary h3, .co-summary h4 { font-size: 1.3rem; margin: 0 0 14px; color: #241a12; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-weight: 500; color: #3a2a1e; }
.sum-muted { color: #8a7d70; font-size: .92rem; }
.sum-total { border-top: 2px dashed #f0e2c0; margin-top: 8px; padding-top: 14px; font-family: 'Baloo 2', sans-serif; font-size: 1.35rem; font-weight: 800; color: var(--red-sauce); }
.sum-btn { display: block; width: 100%; text-align: center; margin-top: 16px; padding: 14px; font-size: 1.1rem; }
.sum-btn:disabled { background: #cfc7bc; cursor: not-allowed; box-shadow: none; }
.sum-note { margin: 12px 0 0; font-size: .85rem; color: var(--ink-soft); text-align: center; }
.cart-empty { text-align: center; padding: 50px 0 30px; color: #b8aa98; }
.cart-empty p { color: var(--ink-soft); font-size: 1.15rem; margin: 10px 0 18px; }

@media (max-width: 900px) { .cart-layout { grid-template-columns: minmax(0, 1fr); } .cart-summary { position: static; } }
@media (max-width: 600px) {
  .cart-item { grid-template-columns: 76px minmax(0, 1fr) auto; grid-template-areas: "img info x" "img qty line"; row-gap: 8px; padding: 12px; }
  .cart-item .cart-thumb { grid-area: img; width: 76px; height: 76px; align-self: start; }
  .cart-item .cart-info { grid-area: info; }
  .cart-item .cart-qty { grid-area: qty; justify-self: start; }
  .cart-item .cart-line { grid-area: line; align-self: center; }
  .cart-item .cart-x { grid-area: x; align-self: start; justify-self: end; }
  .cart-item .cart-line { justify-self: end; }
}

/* ---------- Checkout ---------- */
.checkout-panel { margin-top: 38px; padding-top: 14px; border-top: 3px solid var(--yellow-sign); animation: slideUp .45s ease both; }
.checkout-panel > h3 { font-size: 1.8rem; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 30px; align-items: start; }
.co-left { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.co-step { background: #fff; border: 1px solid #f3ebe0; border-radius: 16px; padding: 20px 22px; box-shadow: 0 2px 12px rgba(70,40,10,.06); }
.co-step h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 1.15rem; color: #241a12; }
.co-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red-sauce); color: #fff; font: 700 .9rem 'Work Sans', sans-serif; }
.co-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.co-step .field { margin-bottom: 12px; }
.co-step .field:last-child { margin-bottom: 0; }
.co-time { margin-top: 14px; }
.co-sub { margin-top: 16px; padding: 16px 16px 6px; background: #fff9e8; border: 1px dashed #e8d49a; border-radius: 12px; animation: slideUp .3s ease both; }
.co-hint { font-size: .85rem; color: var(--ink-soft); margin: 0 0 12px; }
.co-warn { margin: 10px 0 0; padding: 10px 12px; background: #fde4e4; color: #7a2820; border-radius: 10px; font-size: .88rem; font-weight: 600; }
#feeHint { margin: 10px 0 0; color: #8a5a00; font-weight: 600; }

.pay-method-card strong { display: block; line-height: 1.2; }
.pay-method-card small { display: block; font-weight: 400; font-size: .78rem; color: var(--ink-soft); }
.pay-method-option.is-disabled { opacity: .5; cursor: not-allowed; }
.pay-method-option.is-disabled .pay-method-card { background: #f6f1e8; }
.pay-method-card { transition: border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease; }
.pay-method-option:hover:not(.is-disabled) .pay-method-card { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.08); }

/* order summary with pictures */
.co-summary { position: sticky; top: 76px; }
.co-items { list-style: none; margin: 0 0 8px; padding: 0; max-height: 340px; overflow-y: auto; }
.co-items li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f6ecd2; }
.co-items li:last-child { border-bottom: 0; }
.co-items .co-thumb { width: 56px; height: 56px; border-radius: 10px; font-size: 1.3rem; }
.co-iname { flex: 1 1 auto; min-width: 0; font-weight: 600; color: #241a12; line-height: 1.25; }
.co-iname small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .8rem; margin-top: 2px; }
.co-iprice { font-weight: 700; color: #3a2a1e; white-space: nowrap; }
.co-items li.item-unavailable { opacity: .5; }

/* ---------- GCash ---------- */
.gc { margin-top: 18px; border: 2px solid #cfe5ff; border-radius: 16px; background: linear-gradient(180deg, #f2f8ff 0%, #fff 60%); padding: 18px; animation: slideUp .35s ease both; }
.gc-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.gc-head strong { display: block; color: #0a4fb8; font-family: 'Baloo 2', sans-serif; font-size: 1.15rem; line-height: 1.1; }
.gc-head small { color: #4a6a94; font-size: .8rem; }
.gc-logo { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: #007dfe; color: #fff; font: 800 1.4rem 'Baloo 2', sans-serif; flex: 0 0 auto; box-shadow: 0 4px 10px rgba(0,125,254,.35); }
.gc-logo-sm { width: 24px; height: 24px; font-size: .95rem; border-radius: 7px; box-shadow: none; vertical-align: middle; margin-right: 4px; }
.gc-pay { display: flex; gap: 18px; align-items: stretch; flex-wrap: wrap; }
.gc-qr { flex: 0 0 auto; width: 180px; text-align: center; background: #fff; border: 1px solid #cfe5ff; border-radius: 14px; padding: 10px; }
.gc-qr img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; display: block; border-radius: 8px; }
.gc-qr span { display: block; margin-top: 6px; font-size: .78rem; font-weight: 600; color: #4a6a94; }
.gc-details { flex: 1 1 220px; margin: 0; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.gc-details dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: #5b7ba6; font-weight: 700; margin: 0; }
.gc-details dd { margin: 2px 0 0; display: flex; align-items: center; gap: 10px; font: 700 1.2rem 'Work Sans', sans-serif; color: #12315c; flex-wrap: wrap; }
.gc-amount dd span { font-family: 'Baloo 2', sans-serif; font-size: 1.7rem; color: #007dfe; line-height: 1; }
.gc-copy { border: 2px solid #007dfe; background: #fff; color: #007dfe; font: 700 .78rem 'Work Sans', sans-serif; padding: 4px 12px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
.gc-copy:hover { background: #007dfe; color: #fff; }
.gc-copy.is-done { background: #1c7a3a; border-color: #1c7a3a; color: #fff; }
.gc-steps { margin: 16px 0; padding: 12px 16px 12px 34px; background: #fff; border-radius: 12px; border: 1px solid #dbeafe; font-size: .9rem; color: #2d4466; }
.gc-steps li { margin: 3px 0; }
.gc-drop { position: relative; display: flex; align-items: center; justify-content: center; min-height: 120px; border: 2px dashed #9cc7f7; border-radius: 14px; background: #f7fbff; cursor: pointer; overflow: hidden; transition: background .2s, border-color .2s; }
.gc-drop:hover { background: #eaf4ff; border-color: #007dfe; }
.gc-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.gc-drop-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #3d6fb0; font-weight: 600; font-size: .92rem; pointer-events: none; }
.gc-drop-img { max-height: 260px; width: auto; max-width: 100%; display: block; margin: 8px auto; border-radius: 8px; }
.gc-drop.has-img .gc-drop-empty { display: none; }
.gc-drop.has-img { border-style: solid; }
.pay-method-icon-gcash { background: #007dfe; color: #fff; }

@media (max-width: 980px) { .co-grid { grid-template-columns: minmax(0, 1fr); } .co-summary { position: static; } }
@media (max-width: 560px) { .co-two { grid-template-columns: 1fr; } .gc-qr { width: 100%; max-width: 220px; margin: 0 auto; } .co-step { padding: 16px; } }

/* ---------- Order confirmation / tracking ---------- */
.os-steps { list-style: none; display: flex; margin: 22px 0 24px; padding: 0; }
.os-steps li { position: relative; flex: 1 1 0; text-align: center; font-size: .85rem; font-weight: 600; color: #a39580; }
.os-steps li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 4px; background: #eadfcd; z-index: 0; }
.os-steps li:first-child::before { display: none; }
.os-steps li.is-done::before, .os-steps li.is-now::before { background: var(--red-sauce); }
.os-dot { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: #eadfcd; color: #fff; font-weight: 700; margin-bottom: 6px; transition: background .3s; }
.os-lbl { display: block; }
.os-steps li.is-done .os-dot { background: var(--red-sauce); }
.os-steps li.is-done, .os-steps li.is-now { color: #241a12; }
.os-steps li.is-now .os-dot { background: var(--red-sauce); box-shadow: 0 0 0 6px rgba(215,20,28,.18); animation: nowPulse 1.8s ease-in-out infinite; }
@keyframes nowPulse { 50% { box-shadow: 0 0 0 10px rgba(215,20,28,0); } }
.os-pay { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; background: #eaf4ff; color: #12315c; border: 1px solid #cfe5ff; }
.os-pay-paid { background: #e3f6e8; color: #14502a; border-color: #b8e4c4; }
.os-pay-rejected { background: #fde4e4; color: #7a2820; border-color: #f5b8b8; }
.os-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: start; }
@media (max-width: 800px) { .os-grid { grid-template-columns: minmax(0, 1fr); } }
.os-card h3 { margin-bottom: 12px; }
.os-card .co-items { max-height: none; }
.os-proof { margin-top: 16px; }
.os-proof span { display: block; font-weight: 700; margin-bottom: 6px; }
.os-proof img { max-width: 160px; border-radius: 10px; border: 1px solid #f0e2c0; transition: transform .2s; }
.os-proof img:hover { transform: scale(1.04); }
.os-resend { margin-top: 20px; background: #fff; border: 1px solid #f0e2c0; border-radius: 12px; padding: 14px 18px; }
.os-resend summary { cursor: pointer; font-weight: 700; color: var(--red-sauce); }
.os-resend form { margin-top: 14px; max-width: 420px; }

.pstat { display: inline-block; font-size: .75rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #f1ece4; color: #7a6a58; }
.pstat-pending { background: #fff3d6; color: #8a5a00; }
.pstat-paid { background: #e3f6e8; color: #1c7a3a; }
.pstat-rejected { background: #fde4e4; color: #b01322; }

/* ---------- Admin: orders + settings ---------- */
.ad-stat-alert { background: #fde4e4; border-color: #f5b8b8; animation: nowPulse 2s ease-in-out infinite; }
.ad-orders { display: flex; flex-direction: column; gap: 14px; }
.ad-order { background: #fff; border: 1px solid #f0e2c0; border-left: 6px solid var(--yellow-sign); border-radius: 14px; box-shadow: 0 2px 10px rgba(70,40,10,.06); overflow: hidden; }
.ad-order-new { border-left-color: var(--red-sauce); }
.ad-order-completed { border-left-color: #1c7a3a; opacity: .85; }
.ad-order-cancelled { border-left-color: #b8aa98; opacity: .6; }
.ad-order-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 14px 18px 8px; }
.ad-order-sub { display: block; font-size: .85rem; color: var(--ink-soft); }
.ad-order-total { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 1.5rem; color: var(--red-sauce); line-height: 1; }
.ad-order-body { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; padding: 6px 18px 14px; }
.ad-col p { margin: 4px 0; font-size: .92rem; }
.ad-lbl { display: block; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #8a7d70; }
.ad-note { color: var(--ink-soft); font-style: italic; }
.ad-type { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .75rem; letter-spacing: .04em; }
.ad-type-del { background: #e8e4ff; color: #3d2fb0; }
.ad-type-pick { background: #fff3d6; color: #8a5a00; }
.ad-proof { display: inline-flex; flex-direction: column; gap: 4px; margin: 6px 0; font-size: .8rem; font-weight: 700; }
.ad-proof img { width: 96px; height: 120px; object-fit: cover; object-position: top; border-radius: 8px; border: 2px solid #cfe5ff; transition: transform .2s, box-shadow .2s; }
.ad-proof:hover img { transform: scale(1.05); box-shadow: 0 6px 14px rgba(0,0,0,.2); }
.ad-payact { margin-top: 8px; }
.ad-payact form { gap: 8px; flex-wrap: wrap; }
.ad-order-foot { display: flex; justify-content: flex-end; padding: 10px 18px; background: #fffaf0; border-top: 1px solid #f6ecd2; }
.ad-order-foot label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.ad-order-foot select { padding: 7px 10px; border: 2px solid #e6d3a3; border-radius: 6px; font: inherit; background: #fff; }
@media (max-width: 800px) { .ad-order-body { grid-template-columns: minmax(0, 1fr); gap: 10px; } }

.ad-settings { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.ad-fs { border: 1px solid #f0e2c0; border-radius: 14px; background: #fff9e8; padding: 14px 18px 18px; margin: 0; }
.ad-fs legend { padding: 0 8px; font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 1.1rem; color: #241a12; }
.ad-fs label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; font-size: .85rem; margin-top: 10px; }
.ad-fs label.admin-checkbox { flex-direction: row; align-items: center; margin-top: 4px; }
.ad-fs input[type="text"], .ad-fs input[type="number"] { padding: 9px 10px; border: 2px solid #e6d3a3; border-radius: 6px; font: inherit; background: #fff; }
.ad-fs small { font-weight: 400; color: var(--ink-soft); }
.ad-fs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.ad-fs-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .ad-fs-grid, .ad-fs-grid-3 { grid-template-columns: 1fr; } }
.ad-qr { display: flex; gap: 16px; align-items: flex-start; margin-top: 14px; flex-wrap: wrap; }
.ad-qr-prev { width: 130px; height: 130px; border: 2px dashed #9cc7f7; border-radius: 12px; background: #f7fbff; display: flex; align-items: center; justify-content: center; color: #6b8fbf; font-size: .85rem; overflow: hidden; }
.ad-qr-prev img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ad-qr-ctl { flex: 1 1 260px; }

/* =========================================================
   v7 — delivery pin map, schedule time, distance fee
   ========================================================= */
.loc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin: 4px 0 10px; }
.loc-head strong { font-family: 'Baloo 2', sans-serif; font-size: 1.05rem; color: #241a12; }
.loc-btn { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--red-sauce); background: #fff; color: var(--red-sauce); font: 700 .85rem 'Work Sans', sans-serif; padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: background .15s, color .15s, transform .12s; }
.loc-btn:hover:not(:disabled) { background: var(--red-sauce); color: #fff; }
.loc-btn:active:not(:disabled) { transform: scale(.96); }
.loc-btn:disabled { opacity: .6; cursor: progress; }

.del-map { position: relative; z-index: 0; height: 300px; border-radius: 14px; overflow: hidden; border: 2px solid #e8d49a; background: #f3ebe0; }
.del-map.is-failed { display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; color: var(--ink-soft); font-weight: 600; height: auto; min-height: 90px; }
.pin-status { margin: 10px 0 14px; padding: 9px 12px; border-radius: 10px; font-size: .9rem; font-weight: 600; background: #fff; border: 1px solid #f0e2c0; color: #5b4a3a; }
.pin-status.is-ok { background: #e3f6e8; border-color: #b8e4c4; color: #14502a; }
.pin-status.is-warn { background: #fff3d6; border-color: #f0d9a0; color: #8a5a00; }
.pin-status.is-bad { background: #fde4e4; border-color: #f5b8b8; color: #7a2820; }

/* Leaflet markers drawn with CSS/SVG (no image files needed) */
.pin-marker { background: none; border: 0; filter: drop-shadow(0 4px 4px rgba(0,0,0,.35)); animation: pinDrop .45s cubic-bezier(.3,1.6,.5,1) both; }
.pin-marker svg { display: block; }
@keyframes pinDrop { from { opacity: 0; margin-top: -30px; } to { opacity: 1; } }
.shop-marker { background: none; border: 0; }
.shop-marker span { display: block; width: max-content; margin: 0 auto; padding: 4px 10px; background: #241a12; color: #f4b942; font: 700 .72rem 'Work Sans', sans-serif; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.35); white-space: nowrap; }

.co-step select, .co-sub select { width: 100%; padding: 11px 12px; border: 2px solid #e6d3a3; border-radius: 6px; font: inherit; background: #fff; color: var(--ink); }
.co-step select:focus, .co-sub select:focus { outline: none; border-color: var(--red-sauce); }

/* order page / admin extras */
.when-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #e8e4ff; color: #3d2fb0; font-size: .78rem; font-weight: 700; }
.when-badge.is-asap { background: #fff3d6; color: #8a5a00; }
.pin-link { font-weight: 700; }

/* ---------- v8 — Priority Delivery ---------- */
.pri-card { display: block; position: relative; margin-top: 4px; cursor: pointer; }
.pri-card input { position: absolute; opacity: 0; width: 0; height: 0; }
.pri-body { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px solid #f0c24a; border-radius: 14px; background: linear-gradient(135deg, #fff8dc 0%, #ffeaa3 100%); transition: border-color .2s, box-shadow .2s, transform .15s, background .2s; }
.pri-card:hover .pri-body { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(200,140,0,.22); }
.pri-bolt { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; background: #241a12; color: #f4b942; }
.pri-text { flex: 1 1 auto; min-width: 0; }
.pri-text strong { display: block; font-family: 'Baloo 2', sans-serif; font-size: 1.05rem; color: #241a12; line-height: 1.2; }
.pri-text strong em { font-style: normal; color: var(--red-sauce); margin-left: 4px; }
.pri-text small { display: block; margin-top: 2px; font-size: .82rem; color: #6b5a3a; }
.pri-check { flex: 0 0 auto; width: 26px; height: 26px; border: 2px solid #c9a23a; border-radius: 8px; background: #fff; position: relative; transition: background .15s, border-color .15s; }
.pri-card input:checked + .pri-body { border-color: var(--red-sauce); box-shadow: 0 0 0 3px rgba(215,20,28,.15); background: linear-gradient(135deg, #fff3c4 0%, #ffd95e 100%); }
.pri-card input:checked + .pri-body .pri-bolt { animation: boltPop .5s cubic-bezier(.3,1.7,.5,1); }
.pri-card input:checked + .pri-body .pri-check { background: var(--red-sauce); border-color: var(--red-sauce); }
.pri-card input:checked + .pri-body .pri-check::after { content: ""; position: absolute; left: 7px; top: 2px; width: 7px; height: 13px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.pri-card input:focus-visible + .pri-body { outline: 3px solid #1a73e8; outline-offset: 2px; }
.pri-card.is-off { cursor: not-allowed; }
.pri-card.is-off .pri-body { opacity: .55; filter: grayscale(.5); transform: none; box-shadow: none; }
@keyframes boltPop { 0% { transform: scale(.6) rotate(-20deg); } 60% { transform: scale(1.25) rotate(8deg); } 100% { transform: none; } }
.sum-pri { color: #8a5a00; font-weight: 700; }

.pri-badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #241a12; color: #f4b942; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ad-order-priority { border-left-color: #f4b942 !important; background: linear-gradient(90deg, #fff9e0 0%, #fff 22%); box-shadow: 0 0 0 2px #f4b942, 0 6px 16px rgba(200,140,0,.18); }
.ad-order-priority.ad-order-completed, .ad-order-priority.ad-order-cancelled { box-shadow: 0 2px 10px rgba(70,40,10,.06); background: #fff; }

/* Forgot password link under the login password field */
.forgot-link { display: inline-block; margin-top: 6px; font-size: .88rem; font-weight: 600; }

/* ---------- Forgot password (PIN) ---------- */
.reset-steps { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 18px; padding: 0; font-size: .85rem; font-weight: 600; color: #a39580; }
.reset-steps li { display: flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; border-radius: 999px; background: #f4efe6; }
.reset-steps li span { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #d9cfbd; color: #fff; font-size: .75rem; }
.reset-steps li.is-now { background: #fff1cf; color: #241a12; }
.reset-steps li.is-now span { background: var(--red-sauce); }
.reset-steps li.is-done { color: #1c7a3a; background: #e3f6e8; }
.reset-steps li.is-done span { background: #1c7a3a; }
.pin-input { font: 700 2rem 'Baloo 2', monospace !important; letter-spacing: .55em; text-align: center; padding: 10px 8px 10px calc(8px + .55em) !important; max-width: 320px; }
.resend-line a.is-wait { pointer-events: none; opacity: .5; }
.mail-log { max-height: 340px; overflow: auto; background: #1e1e1e; color: #d4d4d4; padding: 14px 16px; border-radius: 10px; font-size: .78rem; line-height: 1.45; white-space: pre-wrap; word-break: break-all; }

/* mail_test.php — reset check */
.diag-steps { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.diag-steps li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-weight: 500; line-height: 1.4; }
.diag-steps li span { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; color: #fff; font-weight: 700; }
.diag-ok { background: #e3f6e8; color: #14502a; } .diag-ok span { background: #1c7a3a; }
.diag-bad { background: #fde4e4; color: #8a0d14; } .diag-bad span { background: #c8102e; }
.net-table td.net-ok { color: #1c7a3a; font-weight: 800; width: 34px; } .net-table td.net-bad { color: #c8102e; font-weight: 800; width: 34px; }
.net-table { margin-bottom: 12px; }

/* =========================================================
   HOME — dark editorial landing (hero photo, menu cards, about)
   Scoped to body.home-page so no other page changes.
   ========================================================= */
.home-page {
  --h-bg: #120d0a; --h-bg2: #18110d; --h-card: #211913; --h-line: rgba(244,185,66,.2);
  --h-text: #f5ead8; --h-muted: #c8b8a2; --h-red: #d4402f; --h-gold: #f4b942;
  background: var(--h-bg); color: var(--h-text);
}
.home-page h1, .home-page h2, .home-page h3 { color: var(--h-text); }

/* ----- header floats over the photo, turns solid on scroll ----- */
.home-page .site-header {
  position: fixed; left: 0; right: 0; top: 0;
  background: linear-gradient(180deg, rgba(10,7,5,.65), rgba(10,7,5,0));
  -webkit-backdrop-filter: none; backdrop-filter: none;
  border-bottom: 1px solid transparent; box-shadow: none;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.home-page .site-header.is-scrolled {
  background: rgba(18,13,10,.9);
  -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom-color: var(--h-line); box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
.home-page .tb-name, .home-page .tb-brand { color: #fff; }
.home-page .tb-name b { color: var(--h-gold); }
.home-page .tb-icon-btn { color: #fff; }
.home-page .tb-icon-btn:hover { background: rgba(255,255,255,.14); color: var(--h-gold); }
.home-page .tb-toggle span { background: #fff; }
@media (min-width: 861px) {
  .home-page .tb-nav a:not(.btn) { color: #f5ead8; }
  .home-page .tb-nav a:not(.btn):hover, .home-page .tb-nav a[aria-current="page"] { color: var(--h-gold); }
}

/* ----- hero ----- */
.hx {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(560px, 100svh, 900px);
  display: grid; place-items: center; text-align: center;
  padding: calc(var(--hdr-h) + 40px) 0 110px;
}
.hx-bg, .hx-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx-bg { z-index: -2; }
.hx-bg img {
  object-fit: cover; object-position: 50% 42%;
  filter: saturate(1.08) contrast(1.06) brightness(.82);
  transform-origin: 50% 40%;
  animation: hxZoom 22s ease-in-out infinite alternate;
}
@keyframes hxZoom { from { transform: scale(1); } to { transform: scale(1.09); } }
.hx::before {   /* darkening + vignette so the white text is always readable */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(10,7,5,.35) 0%, rgba(10,7,5,.78) 78%),
    linear-gradient(180deg, rgba(10,7,5,.72) 0%, rgba(10,7,5,.38) 38%, rgba(10,7,5,.6) 72%, var(--h-hero-end, var(--h-bg)) 100%);
}
.hx-inner { position: relative; max-width: 900px; }
.hx-script, .hx-head .hx-script {
  display: block; font-family: 'Great Vibes', 'Brush Script MT', cursive; font-weight: 400;
  color: var(--h-red); font-size: clamp(2rem, 4.6vw, 3.1rem); line-height: 1.1;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
}
.hx-title {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 900; text-transform: uppercase;
  letter-spacing: .02em; line-height: 1.02; margin: 6px 0 14px;
  font-size: clamp(2.6rem, 8.6vw, 6rem); text-shadow: 0 6px 34px rgba(0,0,0,.55);
}
.hx-title span { color: var(--h-gold); }
.hx-tag { margin: 0 0 28px; text-transform: uppercase; letter-spacing: .24em; font-size: clamp(.72rem, 1.5vw, .92rem); font-weight: 600; color: #efe2cd; }
.hx-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hx-btn {
  display: inline-block; padding: 13px 30px; border-radius: 999px; font-family: 'Work Sans', sans-serif;
  font-weight: 700; font-size: .95rem; letter-spacing: .03em; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hx-btn:hover { text-decoration: none; transform: translateY(-2px); }
.hx-btn:active { transform: scale(.97); }
.hx-btn-solid { background: var(--h-red); border-color: var(--h-red); color: #fff !important; box-shadow: 0 8px 24px rgba(212,64,47,.35); }
.hx-btn-solid:hover { background: #e2503f; border-color: #e2503f; box-shadow: 0 12px 30px rgba(212,64,47,.5); }
.hx-btn-ghost { background: rgba(255,255,255,.06); border-color: rgba(245,234,216,.55); color: #f5ead8 !important; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.hx-btn-ghost:hover { background: var(--h-gold); border-color: var(--h-gold); color: #2b1a10 !important; }
.hx-status {
  display: inline-flex; align-items: center; gap: 9px; margin: 28px 0 0; padding: 7px 16px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: #f5ead8; background: rgba(0,0,0,.38); border: 1px solid rgba(245,234,216,.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hx-status i { width: 8px; height: 8px; border-radius: 50%; background: #9a8a78; }
.hx-status.is-open i { background: #56d283; animation: dotPulse 1.8s ease-out infinite; }

/* staggered entrance */
.hx-in { opacity: 0; transform: translateY(22px); animation: hxIn .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(.15s + var(--i, 0) * .14s); }
@keyframes hxIn { to { opacity: 1; transform: none; } }

.hx-scroll {
  position: absolute; left: 50%; bottom: 34px; width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid rgba(245,234,216,.65); border-radius: 14px;
}
.hx-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #f5ead8; animation: hxWheel 1.8s ease-in-out infinite; }
@keyframes hxWheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ----- marquee ribbon ----- */
.hx-ribbon { background: var(--h-red); color: #fff; overflow: hidden; white-space: nowrap; border-block: 1px solid rgba(255,255,255,.15); }
.hx-ribbon-track { display: inline-flex; padding: 12px 0; animation: hxScroll 60s linear infinite; will-change: transform; }
.hx-ribbon span, .hx-ribbon b { margin-right: 26px; }
.hx-ribbon span { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; }
.hx-ribbon b { color: var(--h-gold); font-weight: 400; }
@keyframes hxScroll { to { transform: translateX(-50%); } }

/* ----- sections ----- */
.hx-sec { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.hx-sec-alt { background: var(--h-bg2); border-block: 1px solid var(--h-line); }
.hx-head { text-align: center; margin-bottom: clamp(30px, 5vw, 54px); }
.hx-head h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 3rem); margin: 4px 0 0; }
.hx-head h2::after { content: ""; display: block; width: 64px; height: 2px; margin: 16px auto 0; background: linear-gradient(90deg, transparent, var(--h-gold), transparent); }
.hx-empty { text-align: center; color: var(--h-muted); }

/* category cards (tall photos like the reference) */
.hx-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(18px, 3vw, 34px); max-width: 1100px; margin: 0 auto; }
.hx-cat { display: block; text-decoration: none; color: var(--h-text); }
.hx-cat-photo {
  position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 14px;
  background: var(--h-card); box-shadow: 0 14px 34px rgba(0,0,0,.45); border: 1px solid rgba(244,185,66,.12);
}
.hx-cat-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,7,5,.55)); opacity: .8; transition: opacity .3s ease; }
.hx-cat-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.hx-cat:hover .hx-cat-photo img { transform: scale(1.07); }
.hx-cat:hover .hx-cat-photo { border-color: rgba(244,185,66,.55); }
.hx-cat-initial {
  position: absolute; inset: 0; display: grid; place-items: center; font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900; font-size: 5rem; color: var(--h-gold);
  background: radial-gradient(circle at 30% 20%, #3a2417, #1b130e 70%);
}
.hx-cat-name { display: block; margin-top: 16px; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.25rem; transition: color .2s ease; }
.hx-cat:hover .hx-cat-name { color: var(--h-gold); }
.hx-cat-meta { display: block; margin-top: 2px; font-size: .86rem; color: var(--h-muted); }
.hx-cat-meta em { font-style: normal; display: inline-block; transition: transform .2s ease; color: var(--h-gold); }
.hx-cat:hover .hx-cat-meta em { transform: translateX(5px); }

/* favorites */
.hx-favs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; max-width: 1100px; margin: 0 auto; }
.hx-fav { display: block; color: var(--h-text); background: var(--h-card); border: 1px solid rgba(244,185,66,.12); border-radius: 14px; overflow: hidden; text-decoration: none; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.js .hx-fav[data-reveal] { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1), translate .25s ease, border-color .25s ease, box-shadow .25s ease; transition-delay: var(--d, 0s), var(--d, 0s), 0s, 0s, 0s; }
.hx-fav:hover { translate: 0 -5px; border-color: rgba(244,185,66,.5); box-shadow: 0 18px 38px rgba(0,0,0,.5); }
.hx-fav-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #1b130e; }
.hx-fav-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.hx-fav:hover .hx-fav-photo img { transform: scale(1.06); }
.hx-fav-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 16px 18px 4px; }
.hx-fav-name { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 1.1rem; }
.hx-fav-price { font-weight: 700; color: var(--h-gold); white-space: nowrap; }
.hx-fav-go { display: block; padding: 0 18px 18px; font-size: .85rem; font-weight: 600; color: var(--h-red); }
.hx-fav-go em { font-style: normal; display: inline-block; transition: transform .2s ease; }
.hx-fav:hover .hx-fav-go em { transform: translateX(5px); }
.hx-more { text-align: center; margin: 38px 0 0; }

/* about: photo | card | photo, photos offset like the reference */
.hx-about { display: grid; grid-template-columns: 1fr minmax(300px, 1.15fr) 1fr; gap: clamp(18px, 3vw, 36px); align-items: center; max-width: 1100px; }
.hx-about-photo { margin: 0; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 38px rgba(0,0,0,.5); border: 1px solid rgba(244,185,66,.14); }
.hx-about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.hx-about-a { transform: translateY(-28px); }
.hx-about-b { transform: translateY(34px); }
.js .hx-about-a[data-reveal], .js .hx-about-b[data-reveal] { transform: translateY(60px); }
.js .hx-about-a.is-in { transform: translateY(-28px); }
.js .hx-about-b.is-in { transform: translateY(34px); }
.hx-about-card { text-align: center; padding: clamp(26px, 4vw, 46px) clamp(22px, 3.4vw, 40px); background: var(--h-card); border: 1px solid var(--h-line); border-radius: 14px; box-shadow: 0 20px 44px rgba(0,0,0,.45); }
.hx-about-card h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.2rem); margin: 2px 0 14px; }
.hx-about-card p { color: var(--h-muted); font-size: .98rem; line-height: 1.7; margin: 0 0 14px; }
.hx-about-card .hx-btn { margin-top: 8px; }

/* why order */
.hx-why-sec { padding: clamp(44px, 6vw, 72px) 0; }
.hx-why { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 34px; text-align: center; max-width: 1000px; }
.hx-why-item svg { color: var(--h-gold); }
.hx-why-item h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.2rem; margin: 12px 0 6px; }
.hx-why-item p { margin: 0 auto; max-width: 28ch; color: var(--h-muted); font-size: .94rem; }

/* visit / CTA */
.hx-visit { text-align: center; padding: clamp(60px, 9vw, 110px) 0; background:
  radial-gradient(ellipse at 50% 0%, rgba(212,64,47,.28), transparent 65%), var(--h-bg); }
.hx-visit h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 900; font-size: clamp(2rem, 5vw, 3.4rem); margin: 0 0 12px; }
.hx-visit p { color: var(--h-muted); margin: 0 auto 26px; max-width: 46ch; line-height: 1.7; }

.home-page .site-footer { background: #0b0806; border-top: 1px solid var(--h-line); color: #cdbba3; }
.home-page .site-footer a { color: var(--h-gold); }
.home-page .floating-call { background: var(--h-red); }

@media (max-width: 860px) {
  .hx-about { grid-template-columns: 1fr 1fr; }
  .hx-about-card { grid-column: 1 / -1; order: -1; }
  .hx-about-a, .js .hx-about-a.is-in { transform: none; }
  .hx-about-b, .js .hx-about-b.is-in { transform: translateY(24px); }
  .hx-about-photo img { aspect-ratio: 4 / 5; }
}
@media (max-width: 560px) {
  .hx { padding-bottom: 96px; }
  .hx-tag { letter-spacing: .14em; }
  .hx-btn { padding: 12px 24px; }
  .hx-ribbon span { font-size: .9rem; }
  .hx-cats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hx-cat-name { font-size: 1.02rem; margin-top: 12px; }
  .hx-favs { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hx-fav-row { flex-direction: column; gap: 2px; padding: 12px 12px 2px; }
  .hx-fav-go { padding: 0 12px 14px; }
  .hx-fav-name { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-bg img, .hx-ribbon-track, .hx-scroll span { animation: none; }
  .hx-in { animation: none; opacity: 1; transform: none; }
}


/* ---------- Theme toggle button ---------- */
#themeToggle .ico-sun { display: none; }
html[data-theme="dark"] #themeToggle .ico-sun { display: block; }
html[data-theme="dark"] #themeToggle .ico-moon { display: none; }

/* ---------- Messages from the shop (My Account) ---------- */
.msg-new { display: inline-block; background: var(--red-sauce); color: #fff; font: 700 .72rem 'Work Sans', sans-serif; padding: 2px 8px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.inbox { display: grid; gap: 12px; max-width: 720px; }
.inbox-msg { background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.inbox-msg.is-new { border-left-color: var(--red-sauce); background: var(--surface-2); }
.inbox-msg header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.inbox-msg time { margin-left: auto; font-size: .8rem; color: var(--muted); }
.inbox-msg p { margin: 8px 0 0; }

/* ---------- Admin: requests + message a customer ---------- */
.ad-req-list { display: grid; gap: 10px; max-width: 760px; margin-bottom: 8px; }
.ad-req { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; background: var(--surface-2); border: 1px solid var(--line); border-left: 6px solid var(--yellow-sign); border-radius: 12px; padding: 12px 16px; }
.ad-req-who { display: flex; flex-direction: column; min-width: 0; }
.ad-req-who span { overflow-wrap: anywhere; }
.ad-req-who small { color: var(--muted); }
.ad-req-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ad-msg-form { display: grid; gap: 12px; max-width: 640px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.ad-msg-form label { display: grid; gap: 4px; font-weight: 600; font-size: .92rem; }
.ad-msg-form label.admin-checkbox { display: flex; font-weight: 500; }
.ad-msg-form input[type="email"], .ad-msg-form input[type="text"], .ad-msg-form textarea { padding: 10px 12px; border: 2px solid #e6d3a3; border-radius: 6px; font: inherit; background: var(--surface); color: var(--ink); width: 100%; }
.ad-msg-form button { justify-self: start; }
.ad-sub { margin: 18px 0 8px; font-size: 1.05rem; }
.ad-sent { display: grid; gap: 8px; max-width: 760px; }
.ad-sent-row { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }

/* ---------- Profile (My Account) + avatars ---------- */
.avatar { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; overflow: hidden; background: var(--yellow-sign); color: #7a2820; flex: 0 0 auto; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar b { font-family: 'Baloo 2', sans-serif; font-weight: 800; line-height: 1; }
.avatar-sm { width: 30px; height: 30px; box-shadow: 0 0 0 2px var(--yellow-sign); }
.avatar-xl { width: 96px; height: 96px; box-shadow: 0 0 0 4px var(--yellow-sign); }
.avatar-xl b { font-size: 2.6rem; }
.tb-icon-btn:has(.avatar) { padding: 0; }
.profile-card { max-width: 560px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px 24px; box-shadow: 0 2px 14px rgba(70,40,10,.07); }
.profile-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.profile-head h3 { margin: 0 0 2px; font-size: 1.4rem; overflow-wrap: anywhere; }
.profile-email { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.profile-form .field { margin-bottom: 16px; }
.profile-form input[type="file"] { padding: 8px; width: 100%; background: var(--surface); border: 2px dashed #e6d3a3; border-radius: 8px; font: inherit; color: var(--ink); }
.profile-form input:disabled { opacity: .65; cursor: not-allowed; }
.field-hint { display: block; margin-top: 4px; color: var(--muted); font-size: .82rem; }
@media (max-width: 480px) { .profile-card { padding: 18px 16px 20px; } .profile-head { gap: 14px; } .avatar-xl { width: 76px; height: 76px; } .avatar-xl b { font-size: 2rem; } }

/* ---------- Header on small phones: everything (incl. the theme switch) must fit without sideways scrolling ---------- */
@media (max-width: 480px) {
  .site-header .wrap.tb-inner { gap: 6px; padding-left: 12px; padding-right: 12px; }
  .tb-actions { gap: 0; }
  .tb-icon-btn { width: 35px; height: 35px; }
  .tb-toggle { width: 35px; height: 35px; }
  .tb-toggle span { left: 9px; right: 9px; }
  .tb-name { font-size: 1.05rem; }
  .tb-mark { width: 28px; height: 28px; }
  .tb-brand { gap: 6px; }
}
@media (max-width: 360px) {
  .tb-status { display: none; }
  .tb-name { font-size: .95rem; }
}
@media (max-width: 560px) { .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* =========================================================
   v12 — customer profile in admin orders + responsive pass
   ========================================================= */
.req { color: var(--red-sauce); font-weight: 700; }

/* Customer profile strip inside each admin order */
.ad-cust { display: flex; align-items: center; gap: 12px; margin: 2px 18px 8px; padding: 10px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.ad-cust-av { width: 44px; height: 44px; box-shadow: 0 0 0 2px var(--yellow-sign); }
.ad-cust-av b { font-size: 1.3rem; }
.ad-cust-info { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ad-cust-info strong { font-family: 'Baloo 2', sans-serif; font-size: 1.02rem; color: #241a12; overflow-wrap: anywhere; }
.ad-cust-info a { font-size: .88rem; overflow-wrap: anywhere; }
.ad-cust-info small { color: var(--ink-soft); font-size: .78rem; margin-top: 2px; }
.ad-cust-guest { opacity: .8; }

/* ---------- Responsive hardening ---------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: clip; }
img, svg, video, canvas, iframe { max-width: 100%; }
input, select, textarea, button { max-width: 100%; }
p, li, dd, td, th, h1, h2, h3, h4, .ad-order-sub { overflow-wrap: break-word; }
.ad-order-head > div:first-child { min-width: 0; }
.floating-call { bottom: calc(20px + env(safe-area-inset-bottom, 0px)); right: calc(20px + env(safe-area-inset-right, 0px)); }
.admin-item-grid { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }

/* Tablets: admin order cards get two columns instead of three squeezed ones */
@media (max-width: 1000px) and (min-width: 801px) {
  .ad-order-body { grid-template-columns: 1fr 1fr; }
  .ad-order-body > .ad-col:first-child { grid-column: 1 / -1; }
}

/* Phones */
@media (max-width: 640px) {
  /* 16px inputs stop iPhones from zooming the page when a field is tapped */
  input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], select, textarea { font-size: 16px; }
  .btn, button, .btn-small { min-height: 42px; }
  .contact-form .field input, .contact-form .field textarea { width: 100%; }
  .inline-form { flex-wrap: wrap; }
  .cat-add-form, .cat-row { padding: 12px; }
  .cat-add-form label, .cat-row label { flex: 1 1 100%; }
  .cat-add-form input[type="text"], .cat-row input[type="text"], .cat-add-form input[type="number"], .cat-row input[type="number"] { min-width: 0; width: 100%; }
  .admin-field-row label, .admin-field-full { min-width: 0; flex: 1 1 100%; }
  .admin-field-row-bottom { gap: 10px; }
  .admin-table-wrap { padding: 10px; }
  .ad-order-head { padding: 12px 14px 6px; flex-wrap: wrap; }
  .ad-order-total { font-size: 1.3rem; }
  .ad-order-body { padding: 6px 14px 12px; }
  .ad-cust { margin: 2px 14px 8px; padding: 9px 12px; }
  .ad-order-foot { padding: 10px 14px; justify-content: stretch; }
  .ad-order-foot .inline-form, .ad-order-foot label { width: 100%; }
  .ad-order-foot select { flex: 1; min-width: 0; }
  .ad-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .os-steps li { font-size: .72rem; }
  .os-dot { width: 28px; height: 28px; }
  .os-steps li::before { top: 12px; }
  .pri-body { padding: 12px; gap: 10px; }
  .pri-bolt { width: 34px; height: 34px; }
}

/* Small phones */
@media (max-width: 480px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .admin-item-card { flex-direction: column; }
  .admin-item-photo { flex-basis: auto; width: 100%; height: 160px; }
  .del-map { height: 260px; }
  .ad-nav a { padding: 6px 12px; font-size: .85rem; }
}

/* Landscape phones: keep the sticky header from eating the screen */
@media (max-height: 480px) and (orientation: landscape) {
  .ad-nav { position: static; }
  .floating-call { width: 48px; height: 48px; }
}

/* =========================================================
   Log in / Register: "Continue with Google" + "Continue with email"
   ========================================================= */
.lg-section { padding-top: 40px; }
.lg-card { max-width: 440px; margin: 0 auto; padding: 34px 30px 26px; background: var(--surface, #fff); border: 1px solid var(--line, #f0e2c0); border-radius: 20px; box-shadow: 0 14px 40px rgba(70,40,10,.12); text-align: center; }
.lg-card-inline { margin: 0 auto 8px; padding: 22px 22px 6px; box-shadow: none; }
.lg-title { margin: 0 0 6px; font-size: clamp(1.6rem, 4vw, 2.1rem); }
.lg-sub { margin: 0 0 22px; color: var(--ink-soft); }
.lg-card .alert { text-align: left; }
.gl-msg { margin: 10px 0 0; font-size: .88rem; color: #b3261e; text-align: left; }
.lg-or { display: flex; align-items: center; gap: 14px; margin: 18px 0; color: var(--muted, #8a7d70); font-size: .78rem; font-weight: 700; letter-spacing: .12em; }
.lg-or::before, .lg-or::after { content: ""; flex: 1; height: 1px; background: var(--line, #e6d3a3); }
.lg-email-btn { width: 100%; min-height: 50px; padding: 0 18px; border: 0; border-radius: 12px; background: #2b2118; color: #fff; font: 700 1rem 'Work Sans', sans-serif; cursor: pointer; transition: background .2s ease, transform .1s ease; }
.lg-email-btn:hover { background: #46362a; }
.lg-email-btn:active { transform: scale(.985); }
.lg-form { text-align: left; margin-top: 18px; }
.lg-form .field { margin-bottom: 14px; }
.lg-submit { width: 100%; }
.lg-collapse[data-open="1"] .lg-email-btn { display: none; }
.js .lg-collapse[data-open="0"] .lg-form { display: none; }
.lg-note { margin: 20px 0 6px; font-size: .78rem; color: var(--muted, #8a7d70); }
.lg-links { margin: 4px 0; font-size: .92rem; }
@media (max-width: 480px) { .lg-card { padding: 26px 18px 20px; border-radius: 16px; } }

/* =========================================================
   HOME — customer reviews (bottom of the homepage; always on the dark theme)
   ========================================================= */
.hx-reviews { padding-bottom: clamp(60px, 8vw, 100px); }
.rv-flash { max-width: 760px; margin: 0 auto 26px; padding: 12px 18px; border-radius: 10px; text-align: center; font-weight: 600; }
.rv-flash.is-ok { background: rgba(86,210,131,.14); color: #8fe3ad; border: 1px solid rgba(86,210,131,.4); }
.rv-flash.is-bad { background: rgba(212,64,47,.16); color: #ffb3a8; border: 1px solid rgba(212,64,47,.45); }
.rv-layout { display: grid; grid-template-columns: minmax(230px, 300px) 1fr; gap: clamp(20px, 3vw, 36px); align-items: start; max-width: 1100px; margin: 0 auto; }
.rv-summary { text-align: center; padding: 28px 22px; background: var(--h-card); border: 1px solid var(--h-line); border-radius: 14px; position: sticky; top: calc(var(--hdr-h, 58px) + 18px); }
.rv-avg { font-family: 'Playfair Display', Georgia, serif; font-weight: 900; font-size: 4rem; line-height: 1; color: var(--h-gold); }
.rv-stars-static { display: inline-flex; gap: 2px; font-size: 1.05rem; letter-spacing: 0; }
.rv-stars-static i { font-style: normal; color: rgba(245,234,216,.22); }
.rv-stars-static i.on { color: var(--h-gold); }
.rv-stars-lg { font-size: 1.5rem; margin: 8px 0 4px; }
.rv-count { margin: 4px 0 16px; color: var(--h-muted); font-size: .92rem; }
.rv-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rv-bars li { display: grid; grid-template-columns: 30px 1fr 26px; align-items: center; gap: 8px; font-size: .8rem; color: var(--h-muted); }
.rv-bars i { display: block; height: 7px; background: rgba(245,234,216,.12); border-radius: 99px; overflow: hidden; }
.rv-bars b { display: block; height: 100%; background: var(--h-gold); border-radius: 99px; }
.rv-bars em { font-style: normal; text-align: right; }
.rv-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.rv-card { background: var(--h-card); border: 1px solid rgba(244,185,66,.12); border-radius: 14px; padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.rv-card header { display: flex; align-items: center; gap: 12px; }
.rv-card header > div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.rv-card header small { color: var(--h-muted); font-size: .76rem; }
.rv-avatar { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--h-red); color: #fff; font-weight: 700; }
.rv-card p { margin: 0; color: #e8dac4; font-size: .95rem; line-height: 1.65; overflow-wrap: anywhere; }
.rv-reply { margin-top: auto; padding: 10px 12px; border-left: 3px solid var(--h-gold); background: rgba(244,185,66,.07); border-radius: 0 8px 8px 0; font-size: .88rem; color: var(--h-muted); }
.rv-reply strong { display: block; color: var(--h-gold); font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.rv-write { max-width: 640px; margin: clamp(30px, 5vw, 52px) auto 0; padding: clamp(22px, 4vw, 34px); background: var(--h-card); border: 1px solid var(--h-line); border-radius: 14px; text-align: center; }
.rv-write h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.4rem; margin: 0 0 10px; }
.rv-hint { color: var(--h-muted); margin: 0 0 16px; }
.rv-form { text-align: left; }
.rv-pick { border: 0; padding: 0; margin: 0 0 14px; text-align: center; }
.rv-pick legend { padding: 0; margin: 0 auto 4px; font-size: .85rem; color: var(--h-muted); }
.rv-stars-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rv-stars-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-stars-input label { font-size: 2.3rem; line-height: 1; color: rgba(245,234,216,.25); cursor: pointer; transition: color .15s ease, transform .15s ease; }
.rv-stars-input label:hover, .rv-stars-input label:hover ~ label, .rv-stars-input input:checked ~ label { color: var(--h-gold); }
.rv-stars-input label:hover { transform: scale(1.12); }
.rv-stars-input input:focus-visible + label { outline: 2px solid var(--h-gold); outline-offset: 3px; border-radius: 4px; }
.rv-label { display: block; margin-bottom: 6px; font-size: .85rem; font-weight: 600; color: var(--h-muted); }
.rv-form textarea { width: 100%; padding: 12px 14px; background: #120d0a; color: var(--h-text); border: 1px solid rgba(245,234,216,.22); border-radius: 10px; font: inherit; resize: vertical; min-height: 110px; }
.rv-form textarea:focus { outline: 2px solid var(--h-gold); outline-offset: 1px; border-color: transparent; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-top: 16px; }
.rv-delete { background: none; border: 0; color: #ffb3a8; text-decoration: underline; cursor: pointer; font: inherit; font-size: .88rem; }
@media (max-width: 860px) {
  .rv-layout { grid-template-columns: 1fr; }
  .rv-summary { position: static; }
  .rv-list { grid-template-columns: 1fr; }
}

/* admin: review moderation */
.ad-rv-list { display: grid; gap: 14px; margin-top: 12px; }
.ad-rv { padding: 16px 18px; background: var(--surface, #fff); border: 1px solid var(--line, #f0e2c0); border-radius: 12px; }
.ad-rv.is-hidden { opacity: .6; border-style: dashed; }
.ad-rv-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ad-rv-top small { color: var(--muted, #8a7d70); }
.ad-rv .rv-stars-static i { color: #d9cdb8; }
.ad-rv .rv-stars-static i.on { color: #e0a313; }
.ad-rv p { margin: 8px 0 10px; }
.ad-rv-form textarea { width: 100%; padding: 8px 10px; border: 1px solid var(--line, #c9b98f); border-radius: 8px; background: transparent; color: inherit; font: inherit; }
.ad-rv-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.shrunk-hint { display: block; color: var(--muted, #8a7d70); margin-top: 4px; }


/* =========================================================
   v14 - food ratings helpers
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mn-rate { margin: -2px 0 4px; text-align: center; font-size: .88rem; color: var(--ink-soft, #6b5a4a); }
.mn-rate b { color: var(--ink, #241a12); }
.mn-rate small { color: var(--ink-soft, #6b5a4a); }
.mn-rate-star { color: #f4b942; font-size: 1rem; }

.rt-box { margin-top: 1.6rem; padding: clamp(18px, 3vw, 28px); background: var(--surface, #fff); border: 1px solid var(--line, #f0e2c0); border-radius: 16px; scroll-margin-top: calc(var(--hdr-h, 58px) + 16px); }
.rt-box h3 { margin: 0 0 4px; }
.rt-sub, .rt-later { margin: 0 0 14px; color: var(--ink-soft, #6b5a4a); }
.rt-later { margin-top: 1.4rem; padding: 12px 16px; background: var(--surface, #fff); border: 1px dashed var(--line, #e6d3a3); border-radius: 12px; scroll-margin-top: 80px; }
.rt-form { display: grid; gap: 14px; }
.rt-item { display: grid; gap: 8px; padding: 14px; border: 1px solid var(--line, #f0e2c0); border-radius: 12px; }
.rt-head { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rt-name { min-width: 0; overflow-wrap: anywhere; }
.rt-stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rt-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rt-stars label { font-size: 2.1rem; line-height: 1; padding: 2px 3px; color: #d9cdb8; cursor: pointer; transition: color .15s ease, transform .15s ease; -webkit-tap-highlight-color: transparent; }
.rt-stars label:hover, .rt-stars label:hover ~ label, .rt-stars input:checked ~ label { color: #f4b942; }
.rt-stars label:hover { transform: scale(1.1); }
.rt-stars input:focus-visible + label { outline: 2px solid #f4b942; outline-offset: 2px; border-radius: 4px; }
.rt-comment { width: 100%; padding: 10px 12px; border: 1px solid var(--line, #e6d3a3); border-radius: 10px; font: inherit; background: transparent; color: inherit; }
.rt-form .btn { justify-self: start; }
@media (max-width: 480px) { .rt-stars label { font-size: 2.4rem; padding: 2px 4px; } .rt-form .btn { justify-self: stretch; } }


/* =========================================================
   v15 - "Continue with Google" button, order-history title
   ========================================================= */
/* The button we draw: full width, rounded, centred — like the reference. Google's real button sits invisibly on top. */
.gl-wrap { position: relative; width: 100%; }
.gl-fake { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; height: 50px; padding: 0 16px; background: var(--surface, #fff); color: var(--ink, #2b2118); border: 1px solid #dadce0; border-radius: 12px; font: 600 1rem/1 'Work Sans', system-ui, sans-serif; white-space: nowrap; overflow: hidden; box-shadow: 0 1px 2px rgba(60,64,67,.12); transition: background .15s ease, border-color .15s ease, box-shadow .15s ease, transform .1s ease; -webkit-user-select: none; user-select: none; }
.gl-g { width: 20px; height: 20px; flex: none; }
.gl-label { overflow: hidden; text-overflow: ellipsis; }
.gl-real { position: absolute; inset: 0; z-index: 2; overflow: hidden; border-radius: 12px; opacity: .01; pointer-events: none; }
.gl-wrap.is-ready .gl-real { pointer-events: auto; }
.gl-holder { transform-origin: 0 0; }
/* Google's frame is always LIGHT. If the page says "dark" the browser paints a solid white backing behind it
   (that was the white strip next to the button on phones in dark mode). Telling the frame it is light removes it. */
.gl-real, .gl-holder, .gl-holder * { color-scheme: light; }
.gl-wrap.is-custom:hover .gl-fake { background: #f8f9fa; border-color: #c6c9cd; box-shadow: 0 1px 3px rgba(60,64,67,.28); }
.gl-wrap.is-custom:active .gl-fake { transform: scale(.985); }
.gl-wrap.is-custom:focus-within .gl-fake { outline: 3px solid rgba(66,133,244,.45); outline-offset: 2px; }
.gl-wrap.is-loading .gl-fake { opacity: .85; }
.gl-wrap.is-loading .gl-fake::after, .gl-wrap.is-busy .gl-fake::after { content: ""; flex: none; width: 15px; height: 15px; border: 2px solid #cfd3d7; border-top-color: #4285f4; border-radius: 50%; animation: glSpin .8s linear infinite; }
.gl-wrap.is-busy { pointer-events: none; }
.gl-wrap.is-busy .gl-fake { opacity: .75; }
@keyframes glSpin { to { transform: rotate(360deg); } }
.gl-msg { text-align: center; line-height: 1.45; }
/* "button" => "official" in google_config.php: show Google's own button, centred and fitted */
.gl-wrap:not(.is-custom) { display: flex; flex-direction: column; align-items: center; min-height: 44px; }
.gl-wrap:not(.is-custom) .gl-real { position: static; opacity: 1; pointer-events: auto; min-height: 40px; max-width: 100%; }
@media (max-width: 480px) { .gl-fake { height: 48px; font-size: .98rem; gap: 10px; } .lg-email-btn { min-height: 48px; } }
@media (max-width: 340px) { .gl-fake { font-size: .92rem; padding: 0 10px; } }
@media (prefers-reduced-motion: reduce) { .gl-fake, .lg-email-btn { transition: none; } .gl-wrap.is-loading .gl-fake::after, .gl-wrap.is-busy .gl-fake::after { animation-duration: 2s; } }

/* "My Order History": centred, with the page's normal side padding (an inline style used to remove it) */
.pg-orders { padding: 40px 0 56px; }
.pg-title { text-align: center; margin: 0 0 26px; font-size: clamp(1.7rem, 7vw, 2.4rem); line-height: 1.15; overflow-wrap: anywhere; }
.pg-orders .menu-empty { text-align: center; }
.td-val { display: inline-flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; text-align: right; }


/* =========================================================
   Menu: clickable products + product pop-up
   ========================================================= */
.mn-card[data-item] { cursor: pointer; }
.mn-photo.mn-open { cursor: pointer; }
.mn-photo.mn-open::after {
  content: "View details"; position: absolute; left: 50%; bottom: 10px; transform: translate(-50%, 10px);
  padding: 6px 14px; border-radius: 999px; background: rgba(36,26,18,.82); color: #fff;
  font: 600 .78rem 'Work Sans', sans-serif; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
}
.mn-card:hover .mn-photo.mn-open::after, .mn-photo.mn-open:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }
.mn-photo.mn-open:focus-visible { outline: 3px solid var(--red-sauce); outline-offset: 2px; }
.mn-name-btn { display: block; width: 100%; padding: 0; margin: 0; background: none; border: 0; color: inherit; font: inherit; text-align: center; cursor: pointer; }
.mn-name-btn:hover { color: var(--red-sauce); text-decoration: underline; text-underline-offset: 3px; }
.mn-name-btn:focus-visible { outline: 2px solid var(--red-sauce); outline-offset: 3px; border-radius: 4px; }

.pm-lock { overflow: hidden; }
.pm-overlay {
  position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 16px;
  background: rgba(20,12,8,.62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden; transition: opacity .22s ease, visibility .22s;
}
.pm-overlay.is-open { opacity: 1; visibility: visible; }
.pm-dialog {
  position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  display: grid; grid-template-columns: 1.05fr 1fr; background: var(--surface, #fff); color: var(--ink, #241a12);
  border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.45);
  transform: translateY(18px) scale(.97); transition: transform .28s cubic-bezier(.2,.8,.2,1);
}
.pm-overlay.is-open .pm-dialog { transform: none; }
.pm-photo { background: #fff7e6; min-height: 300px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pm-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pm-initial { font: 800 5.5rem 'Baloo 2', sans-serif; color: var(--red-sauce); }
.pm-body { padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.pm-name { margin: 0; font-size: clamp(1.4rem, 3vw, 1.8rem); line-height: 1.2; color: inherit; }
.pm-price { margin: 0; font: 800 1.5rem 'Baloo 2', sans-serif; color: var(--red-sauce); }
.pm-desc { margin: 0 0 6px; color: var(--ink-soft); line-height: 1.6; }
.pm-form { margin-top: 8px; }
.pm-form .sauce-choice { justify-content: flex-start; }
.pm-soldout { width: 100%; }
.pm-close {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.94); color: #241a12; font-size: 1.5rem; line-height: 1; cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.25); transition: transform .15s ease;
}
.pm-close:hover { transform: scale(1.08); }
@media (max-width: 700px) {
  .pm-overlay { padding: 0; place-items: end center; }
  .pm-dialog { grid-template-columns: 1fr; max-height: 92vh; border-radius: 20px 20px 0 0; transform: translateY(40px); }
  .pm-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .pm-body { padding: 20px 18px 24px; }
}
@media (prefers-reduced-motion: reduce) { .pm-overlay, .pm-dialog { transition: none; } }
