/* ==========================================================================
   BUWOOMI FOODS — production customer app
   ========================================================================== */

:root {
  --green: #0B4D2A;
  --green-deep: #073019;
  --gold: #F4A300;
  --gold-light: #FFC93C;
  --green-2: #2E7D32;
  --cream: #FDF9F0;
  --white: #FFFFFF;
  --text: #0B4D2A;
  --muted: #6B756E;
  --border: #E7ECE8;
  --bg: #F7F8F5;
  --danger: #B42318;
  --shadow: 0 2px 10px rgba(11, 77, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(11, 77, 42, 0.18);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-hero: 20px;
  --r-btn: 14px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur: 380ms;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: "Poppins", system-ui, sans-serif;
  background: var(--white);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font-family: inherit; }
button { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }

/* Deliberate, restrained pressed-state feedback on every tappable control */
button:not(:disabled) {
  transition: transform 140ms var(--ease), opacity 140ms var(--ease);
}
button:not(:disabled):active {
  transform: scale(0.96);
  opacity: 0.9;
}

/* ==========================================================================
   Production application layout
   ========================================================================== */

.stage {
  min-height: 100%;
  width: 100%;
}

.brand-rail, .screen-jump, .jumps-fab, .jumps-sheet {
  display: none !important;
}

.phone-wrap {
  display: block;
  width: 100%;
  min-height: 100dvh;
  position: relative;
}

.phone {
  width: 100%;
  min-height: 100dvh;
  height: 100dvh;
  background: var(--white);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  position: relative;
  border: 0;
  isolation: isolate;
  transform: translateZ(0);
}

.jumps-fab {
  display: none;
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  opacity: 0.9;
}

.screen {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  scrollbar-width: none;
}

.screen::-webkit-scrollbar { display: none; }

.jumps-sheet,
#jumpsClose {
  display: none;
}

/* ==========================================================================
   Toast
   ========================================================================== */

.toast {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 60px;
  background: var(--green-deep);
  color: #fff;
  padding: 12px 16px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  z-index: 60;
  opacity: 0;
  transform: translateY(-14px);
  pointer-events: none;
  transition:
    opacity 260ms var(--ease),
    transform 260ms var(--ease-spring);
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast .tick {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--green-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   View Transitions — page-level slide / fade, and hero morph
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-group(root) {
    animation-duration: var(--dur);
  }

  html[data-transition="forward"]::view-transition-old(root) {
    animation: bw-out-left var(--dur) var(--ease) both;
  }

  html[data-transition="forward"]::view-transition-new(root) {
    animation: bw-in-right var(--dur) var(--ease) both;
  }

  html[data-transition="back"]::view-transition-old(root) {
    animation: bw-out-right var(--dur) var(--ease) both;
  }

  html[data-transition="back"]::view-transition-new(root) {
    animation: bw-in-left var(--dur) var(--ease) both;
  }

  html[data-transition="fade"]::view-transition-old(root) {
    animation: bw-fade-out 220ms var(--ease) both;
  }

  html[data-transition="fade"]::view-transition-new(root) {
    animation: bw-fade-in 260ms var(--ease) both;
  }

  ::view-transition-group(morph-hero) {
    animation-duration: 460ms;
  }

  ::view-transition-old(morph-hero),
  ::view-transition-new(morph-hero) {
    animation-duration: 460ms;
    animation-timing-function: var(--ease);
  }
}

@keyframes bw-out-left {
  to {
    transform: translateX(-28%);
    opacity: 0;
  }
}

@keyframes bw-in-right {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes bw-out-right {
  to { transform: translateX(100%); }
}

@keyframes bw-in-left {
  from {
    transform: translateX(-28%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes bw-fade-out {
  to { opacity: 0; }
}

@keyframes bw-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* No-View-Transitions-API fallback */
.screen-fade-out {
  opacity: 0;
  transition: opacity 140ms var(--ease);
}

.screen-fade-in {
  animation: bw-fade-in 260ms var(--ease) both;
}

/* Staggered entrance for grids/lists */
@media (prefers-reduced-motion: no-preference) {
  .stagger {
    animation: bw-item-in 420ms var(--ease-spring) both;
    animation-delay: calc(var(--i, 0) * 45ms);
  }
}

@keyframes bw-item-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Splash
   ========================================================================== */

.splash {
  background:
    radial-gradient(
      120% 90% at 50% 0%,
      var(--green-2) 0%,
      var(--green) 45%,
      var(--green-deep) 100%
    );
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  padding: 32px 24px 48px;
}

.splash-brand {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.splash img {
  width: 280px;
  max-width: 82%;
  height: auto;
  object-fit: contain;
  animation: bw-splash-in 700ms var(--ease-spring) both;
}

@keyframes bw-splash-in {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.splash .tag {
  margin-top: 18px;
  font-size: 14px;
  opacity: 0;
  letter-spacing: 0.2px;
  animation: bw-fade-in 500ms var(--ease) 350ms both;
}

.splash-continue {
  margin-top: 28px;
  min-width: 150px;
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--gold);
  color: var(--green-deep);
  font: 600 15px Poppins, sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(244,163,0,0.28);
}

.loader {
  margin-top: auto;
  width: 26px;
  height: 26px;
  border: 3px solid rgba(255,255,255,0.22);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.85s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   Onboarding
   ========================================================================== */

.onb {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 10px 22px 24px;
}

.onb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 0;
  color: var(--muted);
  font: 500 14px Poppins, sans-serif;
  cursor: pointer;
  padding: 6px 4px;
}

.back-link svg {
  width: 17px;
  height: 17px;
}

.skip {
  background: none;
  border: 0;
  color: var(--muted);
  font: 500 14px Poppins;
  cursor: pointer;
  padding: 6px 4px;
}

.onb h1 {
  font-size: 29px;
  line-height: 1.18;
  font-weight: 700;
  margin-top: 10px;
  letter-spacing: -0.2px;
}

.onb h1 .gold {
  color: var(--gold);
}

.onb p.sub {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.hero-photo {
  margin: 18px 0;
  border-radius: var(--r-hero);
  overflow: hidden;
  height: 260px;
  background: #eee center/cover no-repeat;
  box-shadow: var(--shadow);
}

.onb-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dots {
  display: flex;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d5ddd6;
  transition: all 260ms var(--ease);
}

.dot.on {
  background: var(--green);
  width: 22px;
  border-radius: 4px;
}

.round-next {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold);
  border: 0;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(244, 163, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: var(--r-btn);
  background: var(--green);
  color: #fff;
  font: 600 16px Poppins;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11,77,42,0.22);
}

.cta.gold {
  background: var(--gold);
  color: var(--green-deep);
  box-shadow: 0 10px 24px rgba(244,163,0,0.3);
}

.cta.ghost {
  background: #fff;
  color: var(--green);
  border: 1.5px solid var(--border);
  box-shadow: none;
  margin-top: 10px;
}

.logo-foot {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.logo-foot img {
  height: 70px;
  width: auto;
}

/* ==========================================================================
   Auth
   ========================================================================== */

.auth {
  padding: 10px 22px 24px;
}

.auth .logo {
  display: block;
  height: 120px;
  margin: 8px auto 18px;
}

.auth h2 {
  font-size: 23px;
  text-align: center;
}

.auth .lead {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 6px 0 26px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  height: 48px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  font: 400 15px Poppins;
  background: var(--cream);
  transition: border-color 160ms var(--ease);
}

.field input:focus {
  outline: none;
  border-color: var(--green-2);
}

.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.link {
  background: none;
  border: 0;
  color: var(--green);
  font: 500 13px Poppins;
  cursor: pointer;
  padding: 4px;
}

.or {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  margin: 18px 0;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials button {
  flex: 1;
  height: 48px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font: 500 14px Poppins;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.signup-line {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}

/* ==========================================================================
   Home
   ========================================================================== */

.home {
  background: var(--bg);
  min-height: 100%;
  padding-bottom: 92px;
}

.home-head {
  padding: 4px 20px 12px;
  background: #fff;
}

.loc {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.loc strong {
  display: block;
  color: var(--text);
  font-size: 14px;
  margin-top: 2px;
}

.icon-btn {
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--text);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background: var(--bg);
}

.icon-btn.raised {
  background: #fff;
  box-shadow: var(--shadow);
}

.search {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.search {
  position: relative;
}

.search svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search input {
  flex: 1;
  height: 46px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0 14px 0 40px;
  font: 400 13px Poppins;
  background: var(--cream);
}

.promo {
  margin: 16px 20px;
  border-radius: var(--r-hero);
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--green) 0%,
    var(--green-deep) 100%
  );
  color: #fff;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 148px;
  position: relative;
}

.promo .copy {
  padding: 20px 18px;
  position: relative;
  z-index: 2;
}

.promo h3 {
  font-size: 19px;
  line-height: 1.25;
  font-weight: 700;
}

.promo .btn {
  margin-top: 12px;
  background: var(--gold);
  color: var(--green-deep);
  border: 0;
  border-radius: 10px;
  padding: 9px 16px;
  font: 600 13px Poppins;
  cursor: pointer;
}

.promo .img {
  background: #1a5c36 center/cover no-repeat;
  position: relative;
}

.promo .img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    var(--green-deep) 0%,
    transparent 55%
  );
}

.section {
  padding: 10px 20px 0;
}

.section-h {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.section-h h4 {
  font-size: 17px;
  font-weight: 700;
}

.cats {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  scrollbar-width: none;
}

.cats::-webkit-scrollbar {
  display: none;
}

.chip {
  border: 1.5px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 8px 15px;
  font: 500 13px Poppins;
  white-space: nowrap;
  cursor: pointer;
  color: var(--text);
  transition: all 200ms var(--ease);
}

.chip.on {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.cat-icons {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 14px;
  scrollbar-width: none;
}

.cat-icons::-webkit-scrollbar {
  display: none;
}

.cat-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  width: 56px;
}

.cat-icon-btn .circle-ic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-tint, #e8f5e9);
  color: var(--green);
  transition: all 200ms var(--ease);
}

.cat-icon-btn .circle-ic .i svg {
  width: 22px;
  height: 22px;
}

.cat-icon-btn.on .circle-ic {
  background: var(--green);
  color: #fff;
}

.cat-icon-btn span:last-child {
  font: 500 11.5px Poppins;
  color: var(--text);
  white-space: nowrap;
}

.cat-icon-btn.on span:last-child {
  color: var(--green);
  font-weight: 700;
}

.picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card {
  background: #fff;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(11,77,42,0.14);
}

.card .ph {
  height: 108px;
  background: #ddd center/cover no-repeat;
}

.card .body {
  padding: 10px 12px 12px;
}

.card h5 {
  font-size: 14px;
  font-weight: 600;
}

.card .desc {
  font-size: 11px;
  color: var(--muted);
  margin: 2px 0 8px;
}

.card .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-weight: 700;
  font-size: 13px;
}

.add {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  border: 0;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(244,163,0,0.35);
}

.add.pop {
  animation: bw-add-pop 360ms var(--ease-spring);
}

@keyframes bw-add-pop {
  0% { transform: scale(1); }
  40% { transform: scale(0.7) rotate(-8deg); }
  70% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   Tab bar
   ========================================================================== */

.tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 74px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-bottom: 10px;
  z-index: 40;
}

.tabbar button {
  background: none;
  border: 0;
  font: 500 10px Poppins;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  position: relative;
}

.tabbar button.on {
  color: var(--green);
  font-weight: 600;
}

.tabbar button svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.8;
}

.tabbar .cart-badge {
  position: absolute;
  top: -3px;
  right: 10px;
  background: var(--gold);
  color: var(--green-deep);
  border-radius: 999px;
  font: 700 9px Poppins;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.tabbar .cart-badge.bump {
  animation: bw-add-pop 360ms var(--ease-spring);
}

/* ==========================================================================
   Menu / list pages
   ========================================================================== */

.page {
  background: var(--bg);
  min-height: 100%;
  padding-bottom: 92px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 12px 12px;
  background: #fff;
}

.topbar h2 {
  font-size: 20px;
  font-weight: 700;
}

.list {
  padding: 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.row-item {
  background: #fff;
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 12px;
  padding: 10px;
  align-items: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  text-align: left;
  border: 0;
  transition: transform 200ms var(--ease);
}

.row-item:hover {
  transform: translateY(-2px);
}

.row-item .th {
  width: 84px;
  height: 70px;
  border-radius: 12px;
  background: #ddd center/cover;
  flex-shrink: 0;
}

.row-item h5 {
  font-size: 14px;
  font-weight: 600;
}

.row-item .meta {
  font-size: 12px;
  color: var(--muted);
  margin: 2px 0 4px;
}

/* ==========================================================================
   Details
   ========================================================================== */

.details {
  background: #fff;
  min-height: 100%;
  padding-bottom: 24px;
}

.hero-big {
  height: 260px;
  background: #ddd center/cover;
  position: relative;
}

.hero-big .abs {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
}

.circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  backdrop-filter: blur(4px);
}

.circle.liked {
  color: var(--danger);
}

.circle.liked svg {
  fill: var(--danger);
  animation: bw-add-pop 360ms var(--ease-spring);
}

.details .pad {
  padding: 18px 20px;
}

.details h1 {
  font-size: 22px;
  font-weight: 700;
}

.sizes,
.extras {
  margin-top: 18px;
}

.sizes strong,
.extras strong {
  font-size: 13px;
  text-transform: none;
  color: var(--text);
}

.opt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  cursor: pointer;
}

.opt input {
  accent-color: var(--green);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.size-toggle {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.size-btn {
  flex: 1;
  padding: 11px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: #fff;
  font: 600 13.5px Poppins;
  color: var(--text);
  cursor: pointer;
  transition: all 200ms var(--ease);
}

.size-btn.on {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.qty {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
}

.qty button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 16px;
  color: var(--text);
}

.qty strong {
  min-width: 18px;
  text-align: center;
}

/* ==========================================================================
   Cart / checkout
   ========================================================================== */

.summary {
  background: #fff;
  margin: 12px 16px;
  padding: 16px;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
}

.summary strong {
  font-size: 14px;
}

.sr {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
  font-size: 14px;
  color: var(--muted);
}

.sr.total {
  font-weight: 700;
  font-size: 16px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border);
  color: var(--text);
}

.pay-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: all 160ms var(--ease);
  font-size: 13px;
  font-weight: 500;
}

.pay-opt.on {
  border-color: var(--green);
  background: #f3f8f4;
}

.pay-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.cart-row {
  background: #fff;
  border-radius: var(--r-lg);
  display: grid;
  grid-template-columns: 68px 1fr auto;
  gap: 12px;
  padding: 10px;
  align-items: center;
  box-shadow: var(--shadow);
}

.cart-row .th {
  width: 68px;
  height: 60px;
  border-radius: 10px;
  background: #ddd center/cover;
}

.cart-row .rm {
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  font-size: 16px;
  grid-row: 1;
  grid-column: 3;
  justify-self: end;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.cart-qty button {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
}

/* ==========================================================================
   Confirmation / status
   ========================================================================== */

.center-page {
  text-align: center;
  padding: 44px 24px;
}

.check-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
}

.check {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #e8f5e9;
  color: var(--green-2);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bw-check-in 520ms var(--ease-spring) both;
}

.check svg {
  width: 42px;
  height: 42px;
}

@keyframes bw-check-in {
  from {
    transform: scale(0.5);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.burst-ring {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  opacity: 0;
  animation: bw-burst 700ms var(--ease) 120ms both;
}

@keyframes bw-burst {
  from {
    transform: scale(0.7);
    opacity: 0.7;
  }
  to {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* tracking */

.timeline {
  padding: 20px 24px;
}

.tl {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 4px 14px;
}

.tl-dot {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
}

.tl-dot.on {
  background: var(--green);
  color: #fff;
}

.tl-dot.gold {
  background: var(--gold);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(244,163,0,0.18);
}

.tl-dot .i svg {
  width: 16px;
  height: 16px;
}

.tl-line {
  width: 2px;
  background: var(--border);
  margin: 0 auto;
  min-height: 30px;
}

.tl-line.on {
  background: var(--green);
}

.map {
  height: 260px;
  background: linear-gradient(#cde3c8, #e8efe4);
  position: relative;
  overflow: hidden;
}

.map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(11,77,42,0.06) 0 1px,
      transparent 1px 40px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(11,77,42,0.06) 0 1px,
      transparent 1px 40px
    );
}

.map-route {
  position: absolute;
  inset: 0;
}

.map-route svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.map-pin {
  position: absolute;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% 50% 50% 0;
  transform: translate(-50%, -100%) rotate(-45deg);
  box-shadow: 0 3px 8px rgba(0,0,0,0.28);
  color: #fff;
}

.map-pin .i {
  transform: rotate(45deg);
}

.map-pin .i svg {
  width: 16px;
  height: 16px;
}

.map-pin.start {
  background: var(--green);
}

.map-pin.end {
  background: var(--danger, #B42318);
}

.map-pin.rider {
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: var(--green);
  border: 2px solid var(--green);
  animation: bw-rider-move 3.6s ease-in-out infinite alternate;
}

.map-pin.rider .i {
  transform: none;
}

@keyframes bw-rider-move {
  from {
    transform: translate(-50%,-50%);
  }
  to {
    transform: translate(calc(-50% + 8px),calc(-50% - 6px));
  }
}

.sheet {
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 18px 20px 26px;
  box-shadow: 0 -6px 24px rgba(0,0,0,0.08);
  position: relative;
  margin-top: -20px;
}

.rider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.stars {
  display: flex;
  gap: 4px;
  justify-content: center;
  margin: 14px 0;
}

.stars button {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 2px;
  color: var(--gold);
}

.stars button svg {
  width: 26px;
  height: 26px;
  transition: transform 160ms var(--ease);
}

.stars button:hover svg {
  transform: scale(1.15);
}

textarea {
  width: 100%;
  min-height: 80px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  font: 400 14px Poppins;
  background: var(--cream);
  resize: vertical;
}

textarea:focus {
  outline: none;
  border-color: var(--green-2);
}

.profile-head {
  text-align: center;
  padding: 20px 20px;
  background: #fff;
}

.profile-head .big-av {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-2));
  color: #fff;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
}

.menu-list {
  background: #fff;
  margin: 12px 16px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.menu-list button {
  width: 100%;
  text-align: left;
  padding: 15px 16px;
  border: 0;
  border-bottom: 1px solid var(--border);
  background: #fff;
  font: 500 14px Poppins;
  cursor: pointer;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-list button:last-child {
  border-bottom: 0;
}

.menu-list button svg:last-child {
  color: var(--muted);
}

.empty {
  text-align: center;
  padding: 56px 24px;
  color: var(--muted);
}

.empty svg {
  color: var(--border);
  margin-bottom: 14px;
}

.empty h3 {
  color: var(--text);
  margin-bottom: 8px;
  font-size: 16px;
}

.empty p {
  font-size: 13px;
}

/* ==========================================================================
   Responsive production behavior
   ========================================================================== */

@media (max-width: 900px) {
  .stage {
    padding: 0;
  }

  .phone-wrap,
  .phone {
    min-height: 100dvh;
    height: 100dvh;
  }

  .screen {
    height: 100%;
  }
}

@media (min-width: 901px) {
  .screen {
    height: 100%;
  }

  .page,
  .details {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
  }

  .page {
    min-height: 100%;
  }
}

/* Respect reduced motion globally for non-essential flourishes */

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ==========================================================================
   Admin
   ========================================================================== */

.admin-wrap {
  padding: 18px 20px 40px;
  max-width: 1100px;
  margin: auto;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}

.admin-head h3 {
  margin: 0;
}

.admin-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}

.admin-full {
  grid-column: 1/-1;
}

.admin-form {
  margin-bottom: 18px;
}

.admin-form textarea {
  min-height: 90px;
}

.admin-form select,
.admin-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  font: 400 14px Poppins;
}

.admin-checks {
  display: flex;
  gap: 18px;
  margin: 12px 0 18px;
  font-size: 13px;
}

.admin-items {
  display: grid;
  gap: 10px;
}

.admin-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.admin-thumb {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 12px;
  background: #eee center/cover no-repeat;
}

.admin-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.admin-info strong {
  font-size: 14px;
}

.admin-info span {
  font-size: 12px;
  color: var(--muted);
}

.admin-status.on {
  color: var(--green);
}

.admin-status.off {
  color: var(--danger);
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.admin-actions .cta,
.admin-extra .cta {
  margin: 0;
  padding: 9px 13px;
}

.cta.danger {
  color: var(--danger);
}

.admin-extra-list {
  display: grid;
  gap: 8px;
}

.admin-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0;
}

.admin-extra > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.admin-extra span {
  font-size: 12px;
  color: var(--muted);
}

@media(max-width:700px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-full {
    grid-column: auto;
  }

  .admin-item {
    align-items: flex-start;
  }

  .admin-actions {
    flex-direction: column;
  }

  .admin-head {
    align-items: flex-start;
  }

  .admin-head .cta {
    white-space: nowrap;
  }

  .admin-wrap {
    padding: 14px;
  }

  .admin-checks {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==========================================================================
   Desktop polish — keep the app visually contained instead of stretching it
   across the entire monitor. Mobile remains unchanged.
   ========================================================================== */

@media (min-width: 901px) {
  body {
    background: #eef1ed;
  }

  .stage {
    padding: 24px 32px;
  }

  .phone-wrap {
    width: min(100%, 1240px);
    min-height: calc(100dvh - 48px);
    height: calc(100dvh - 48px);
    margin: 0 auto;
  }

  .phone {
    width: 100%;
    min-height: 100%;
    height: 100%;
    border-radius: 22px;
    box-shadow: 0 18px 55px rgba(11,77,42,.13);
    border: 1px solid #e1e7e2;
  }

  .screen {
    border-radius: 22px;
  }

  .page,
  .details {
    max-width: 1120px;
  }

  .home {
    padding-bottom: 96px;
  }

  .home-head {
    padding-left: 28px;
    padding-right: 28px;
  }

  .promo {
    margin-left: 28px;
    margin-right: 28px;
    min-height: 190px;
  }

  .section {
    padding-left: 28px;
    padding-right: 28px;
  }

  .picks {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .card .ph {
    height: 150px;
  }

  .card .body {
    padding: 13px 14px 14px;
  }

  .card h5 {
    font-size: 15px;
  }

  .card .desc {
    font-size: 12px;
  }

  .tabbar {
    left: 0;
    right: 0;
    height: 72px;
    border-radius: 0 0 22px 22px;
  }
}

@media (min-width: 1200px) {
  .stage {
    padding-left: 48px;
    padding-right: 48px;
  }

  .phone-wrap {
    width: min(100%, 1320px);
  }

  .picks {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .promo {
    min-height: 210px;
  }
}

/* ==========================================================================
   Google Places Autocomplete dropdown — above phone chrome
   ========================================================================== */

.pac-container {
  z-index: 100000 !important;
  border-radius: 12px !important;
  border: 1px solid var(--border, #e5e7eb) !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
  font-family: Poppins, system-ui, sans-serif !important;
  margin-top: 4px;
}

.pac-item {
  padding: 10px 12px !important;
  cursor: pointer;
  line-height: 1.35;
}

.pac-item:hover,
.pac-item-selected {
  background: #f0f7f3 !important;
}

.pac-icon {
  margin-right: 8px;
}

.pac-item-query {
  font-weight: 600;
}

/* Home header brand sizing — make the mobile logo clearly prominent */
.home-head .row-between {
  min-height: 104px;
}

.home-head .brand-mark {
  min-height: 104px;
  display: flex;
  align-items: center;
  overflow: visible;
  flex: 1 1 auto;
  min-width: 0;
}

.home-head .brand-mark img {
  height: 104px !important;
  width: auto !important;
  max-width: 330px !important;
  object-fit: contain;
  transform: scale(1.12);
  transform-origin: left center;
}

@media (max-width: 380px) {
  .home-head .row-between,
  .home-head .brand-mark {
    min-height: 98px;
  }

  .home-head .brand-mark img {
    height: 98px !important;
    max-width: 300px !important;
    transform: scale(1.1);
  }
}


/* Search field on the Menu page */
.menu-search {
  padding: 0 16px 10px;
  background: #fff;
}

.menu-search .search {
  margin-top: 0;
}

.menu-search input {
  width: 100%;
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0 14px 0 40px;
  font: 400 13px Poppins;
  background: var(--cream);
}

.menu-search input:focus {
  outline: none;
  border-color: var(--green-2);
}


/* Persistent BUWOOMI brand header on every customer app screen */
.app-shell {
  min-height: 100%;
}
.app-brand-header {
  min-height: 104px;
  padding: 4px 16px 0;
  background: #fff;
  display: flex;
  align-items: center;
  overflow: visible;
  position: relative;
  z-index: 2;
}
.app-brand-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  min-width: 0;
}
.app-brand-button img {
  display: block;
  height: 104px;
  width: auto;
  max-width: 330px;
  object-fit: contain;
}
.app-brand-button:focus-visible {
  outline: 2px solid var(--green-2);
  outline-offset: 4px;
  border-radius: 8px;
}
.home-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-search-row .search {
  flex: 1;
}
@media (max-width: 380px) {
  .app-brand-header { min-height: 98px; }
  .app-brand-button img { height: 98px; max-width: 300px; }
}


/* Balanced logo header: equal vertical breathing room above and below the mark */
.app-brand-header {
  min-height: 92px;
  height: 92px;
  box-sizing: border-box;
  padding: 10px 16px;
  background: #fff;
  display: flex;
  align-items: center;
}
.app-brand-button {
  height: 72px;
  display: flex;
  align-items: center;
}
.app-brand-button img {
  display: block;
  height: 72px;
  max-width: 300px;
  width: auto;
  object-fit: contain;
}
.home-head {
  padding-top: 0 !important;
  margin-top: -2px !important;
}
.home .promo {
  margin-top: 4px !important;
}
@media (max-width: 380px) {
  .app-brand-header { min-height: 88px; height: 88px; padding: 10px 14px; }
  .app-brand-button { height: 68px; }
  .app-brand-button img { height: 68px; max-width: 285px; }
}

/* BUWOOMI 2.0 — discovery, search and cart hierarchy */
.home-search input:focus { outline: none; border-color: var(--green-2); background: #fff; box-shadow: 0 0 0 3px rgba(46,125,50,.08); }
.home-search-results { background: var(--bg); padding: 18px 20px 110px; min-height: 55vh; }
.home-search-results .section-h { margin-bottom: 10px; }
.result-count { font-size: 12px; color: var(--muted); }
.home-results-list { padding: 0; }
.home-results-list .row-item { margin: 8px 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow); }
.search-empty { text-align: center; padding: 52px 20px; color: var(--muted); }
.search-empty h3 { color: var(--text); margin: 12px 0 6px; font-size: 16px; }
.search-empty p { font-size: 13px; line-height: 1.5; }
.empty-icon { width: 46px; height: 46px; margin: 0 auto; border-radius: 50%; background: #e8f5e9; color: var(--green); display: flex; align-items: center; justify-content: center; }
.empty-icon .i svg { width: 21px; height: 21px; }
.promo-kicker { display: block; color: var(--gold-light); font-size: 10px; font-weight: 700; letter-spacing: .8px; margin-bottom: 6px; }
.home-category-section { padding-top: 2px; }
.home-cart-bar { position: fixed; left: 12px; right: 12px; bottom: 82px; z-index: 39; min-height: 58px; border: 0; border-radius: 16px; background: var(--green-deep); color: #fff; box-shadow: 0 12px 30px rgba(7,48,25,.28); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 9px 12px 9px 15px; text-align: left; cursor: pointer; }
.home-cart-bar strong { display: block; font-size: 13px; }
.home-cart-bar small { display: block; color: rgba(255,255,255,.7); font-size: 10px; margin-top: 2px; }
.home-cart-bar > b { color: var(--gold-light); font-size: 13px; white-space: nowrap; }
.home-cart-action { display: inline-flex; align-items: center; gap: 2px; color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; }
.home-cart-action .i svg { width: 14px; height: 14px; }
@media (min-width: 700px) { .home-cart-bar { left: 50%; right: auto; width: min(560px, calc(100% - 32px)); transform: translateX(-50%); } }

/* BUWOOMI 2.0 — cart and checkout polish */
.cart-checkout-bar { position: sticky; bottom: 0; z-index: 30; margin: 12px 0 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--border); display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; box-shadow: 0 -8px 24px rgba(0,0,0,.06); }
.cart-checkout-bar strong { display:block; font-size:13px; }
.cart-checkout-bar span { display:block; color:var(--muted); font-size:11px; margin-top:2px; }
.cart-checkout-bar .cta { margin:0; width:auto; min-width:145px; display:inline-flex; align-items:center; justify-content:center; gap:4px; }
.cart-checkout-bar .cta .i svg { width:15px; height:15px; }
.checkout-progress { display:grid; grid-template-columns:auto 1fr auto 1fr auto; align-items:center; gap:8px; padding:8px 18px 16px; background:#fff; }
.checkout-progress .step { display:flex; flex-direction:column; align-items:center; gap:4px; color:var(--muted); font-size:9px; white-space:nowrap; }
.checkout-progress .step span { width:27px; height:27px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:#eef1ef; color:var(--muted); font-weight:700; }
.checkout-progress .step.on { color:var(--green); }
.checkout-progress .step.on span { background:var(--green); color:#fff; }
.checkout-progress > i { height:1px; background:var(--border); }
.checkout-card { border-radius:16px; margin:0 16px 10px; padding:15px; }
.checkout-card-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.checkout-card-head .link { font-size:11px; }
.checkout-badge { font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; color:var(--green); background:#e8f5e9; border-radius:999px; padding:5px 8px; }
.checkout-card .pay-opt { border-radius:12px; }
@media (max-width:380px) {
  .cart-checkout-bar { grid-template-columns:1fr; }
  .cart-checkout-bar .cta { width:100%; }
  .checkout-progress { padding-left:12px; padding-right:12px; gap:5px; }
}

/* BUWOOMI 2.0 — returning customer discovery */
.order-again-section { padding-top: 18px; }
.order-again-card { background:#fff; border:1px solid var(--border); border-radius:16px; min-height:66px; padding:10px 12px; display:grid; grid-template-columns:42px 1fr auto; align-items:center; gap:10px; box-shadow:var(--shadow); }
.order-again-icon { width:42px; height:42px; border-radius:12px; background:#e8f5e9; color:var(--green); display:flex; align-items:center; justify-content:center; }
.order-again-icon .i svg { width:20px; height:20px; }
.order-again-card strong { font-size:13px; }
.order-again-card p { margin:2px 0 0; color:var(--muted); font-size:10px; text-transform:capitalize; }

/* BUWOOMI 2.0 — premium order tracking */
.tracking-page { background:#f7faf8; min-height:100%; }
.tracking-hero { margin:0 16px 12px; padding:22px 20px; border-radius:20px; background:linear-gradient(145deg,var(--green-deep),var(--green)); color:#fff; box-shadow:0 12px 28px rgba(11,77,42,.18); }
.eta-badge { display:inline-flex; align-items:center; gap:5px; font-size:9px; font-weight:700; letter-spacing:.7px; color:var(--gold-light); }
.eta-badge .i svg { width:13px; height:13px; }
.tracking-hero h1 { margin:9px 0 4px; font-size:21px; line-height:1.2; }
.tracking-hero p { margin:0; font-size:12px; color:rgba(255,255,255,.76); }
.eta-card { margin-top:18px; padding-top:12px; border-top:1px solid rgba(255,255,255,.18); display:flex; align-items:end; justify-content:space-between; }
.eta-card span { font-size:10px; color:rgba(255,255,255,.7); }
.eta-card strong { font-size:18px; color:var(--gold-light); }
.tracking-steps { margin:0 16px; padding:16px; background:#fff; border-radius:18px; box-shadow:var(--shadow); }
.track-step { display:grid; grid-template-columns:38px 1fr; gap:11px; align-items:center; min-height:52px; }
.track-step > span { width:34px; height:34px; border-radius:50%; background:#eef1ef; color:var(--muted); display:flex; align-items:center; justify-content:center; }
.track-step > span .i svg { width:17px; height:17px; }
.track-step.done > span { background:#e8f5e9; color:var(--green); }
.track-step.current > span { background:var(--gold); color:var(--green-deep); box-shadow:0 0 0 5px rgba(244,163,0,.12); }
.track-step b { display:block; font-size:13px; text-transform:capitalize; }
.track-step small { display:block; margin-top:2px; color:var(--muted); font-size:10px; }
.track-line { width:1px; height:18px; margin-left:17px; background:var(--border); }
.track-line.active { background:var(--green-2); }
.tracking-order { margin:12px 16px 0; padding:13px 15px; border-radius:14px; background:#fff; display:flex; justify-content:space-between; align-items:center; font-size:11px; color:var(--muted); }
.tracking-order strong { color:var(--text); font-size:12px; }

/* BUWOOMI 2.0 — product customization */
.product-details { background:#f7faf8; min-height:100%; }
.product-hero { min-height:320px; position:relative; background-position:center; background-size:cover; }
.product-hero:after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,.18),transparent 45%,rgba(0,0,0,.2)); pointer-events:none; }
.product-hero .abs { position:absolute; z-index:2; top:14px; left:14px; right:14px; display:flex; justify-content:space-between; }
.hero-label { position:absolute; z-index:2; left:18px; bottom:16px; padding:7px 10px; border-radius:999px; background:rgba(255,255,255,.92); color:var(--green); font-size:9px; font-weight:800; letter-spacing:.7px; }
.product-info { margin-top:-18px; position:relative; z-index:3; border-radius:22px 22px 0 0; background:#fff; padding-top:20px; padding-bottom:105px; }
.product-title-row { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.product-title-row h1 { margin:0; font-size:23px; line-height:1.12; }
.product-price { margin-top:7px; font-size:17px; }
.rating-pill { display:flex; align-items:center; gap:4px; padding:7px 9px; border-radius:10px; background:#fff7df; color:#9b6500; font-size:11px; font-weight:800; white-space:nowrap; }
.rating-pill svg { width:13px; height:13px; fill:currentColor; }
.product-desc { margin:10px 0 20px; color:var(--muted); font-size:13px; line-height:1.55; }
.custom-section { margin-top:18px; }
.custom-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:9px; }
.custom-head strong { font-size:14px; }
.custom-head span { color:var(--muted); font-size:10px; }
.product-details .size-toggle { display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.product-details .size-btn { min-height:58px; text-align:left; padding:10px 12px; border:1px solid var(--border); border-radius:13px; background:#fff; color:var(--text); }
.product-details .size-btn.on { border:2px solid var(--green); background:#f1f8f3; }
.product-details .size-btn b,.product-details .size-btn small { display:block; }
.product-details .size-btn b { font-size:12px; }
.product-details .size-btn small { margin-top:4px; color:var(--muted); font-size:10px; }
.product-details .size-btn.on small { color:var(--green); font-weight:700; }
.product-extra { min-height:48px; }
.product-extra span { display:flex; flex-direction:column; gap:2px; }
.product-extra small { color:var(--muted); font-size:10px; }
.add-panel { position:fixed; left:50%; bottom:0; z-index:20; transform:translateX(-50%); width:min(100%,520px); box-sizing:border-box; padding:10px 16px 14px; background:rgba(255,255,255,.96); backdrop-filter:blur(10px); border-top:1px solid var(--border); display:grid; grid-template-columns:108px 1fr; gap:9px; }
.product-qty { height:50px; box-sizing:border-box; margin:0; }
.product-add { height:50px; margin:0; }
.product-add span { font-weight:700; }
@media (max-width:380px) { .product-hero { min-height:285px; } .product-title-row h1 { font-size:20px; } .add-panel { grid-template-columns:96px 1fr; padding-left:12px; padding-right:12px; } }

/* Real-food category navigation — photography over generic food glyphs */
.food-category-photo { background-position:center; background-size:cover; background-repeat:no-repeat; position:relative; overflow:hidden; border:1px solid rgba(0,0,0,.06); box-shadow:0 5px 12px rgba(0,0,0,.10); color:#fff; }
.food-category-photo:not([style*="url('http"]) { background:#eef3ef; }
.food-category-photo:not([style*="url('http"]) svg { width:24px; height:24px; }
.cat-icon-btn.on .food-category-photo { box-shadow:0 0 0 3px rgba(244,163,0,.28),0 6px 14px rgba(0,0,0,.12); transform:translateY(-1px); }
.cat-icon-btn .food-category-photo { transition:transform .18s ease, box-shadow .18s ease; }

/* BUWOOMI 2.0 — centred brand + animated food category circles */
.app-brand-header { justify-content:center; }
.app-brand-button { justify-content:center; }
.splash-brand { justify-content:center; align-items:center; }
.food-category-photo { width:52px !important; height:52px !important; border-radius:50% !important; }
.cat-icon-btn { width:62px; }
.cat-icon-btn .circle-ic { animation:bw-food-float 3.6s ease-in-out infinite; will-change:transform; }
.cat-icon-btn:nth-child(2) .circle-ic { animation-delay:-.4s; }
.cat-icon-btn:nth-child(3) .circle-ic { animation-delay:-.8s; }
.cat-icon-btn:nth-child(4) .circle-ic { animation-delay:-1.2s; }
.cat-icon-btn:nth-child(5) .circle-ic { animation-delay:-1.6s; }
.cat-icon-btn:nth-child(6) .circle-ic { animation-delay:-2s; }
.cat-icon-btn:nth-child(7) .circle-ic { animation-delay:-2.4s; }
.cat-icon-btn:nth-child(8) .circle-ic { animation-delay:-2.8s; }
.cat-icon-btn:nth-child(9) .circle-ic { animation-delay:-3.2s; }
.cat-icon-btn:hover .circle-ic, .cat-icon-btn:focus-visible .circle-ic { animation-play-state:paused; transform:scale(1.08); }
@keyframes bw-food-float {
  0%,100% { transform:translateY(0) scale(1); }
  50% { transform:translateY(-3px) scale(1.025); }
}
.product-info { padding-bottom:170px; }
.product-details .extras { padding-bottom:8px; }
.add-panel { padding-bottom:max(14px, env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion:reduce) {
  .cat-icon-btn .circle-ic { animation:none; }
}

/* BUWOOMI 2.0 — food-first menu polish */
.menu-search .search { border:1px solid var(--border); transition:box-shadow .2s ease,border-color .2s ease,transform .2s ease; }
.menu-search .search:focus-within { border-color:rgba(11,77,42,.28); box-shadow:0 6px 18px rgba(11,77,42,.08); transform:translateY(-1px); }
.row-item { grid-template-columns:96px 1fr auto; padding:10px; border:1px solid rgba(0,0,0,.035); }
.row-item .th { width:96px; height:82px; border-radius:15px; box-shadow:0 5px 12px rgba(0,0,0,.09); transition:transform .22s var(--ease),box-shadow .22s var(--ease); }
.row-item:hover .th { transform:scale(1.025); box-shadow:0 8px 16px rgba(0,0,0,.12); }
.row-item .add { width:38px; height:38px; border-radius:50%; font-size:22px; box-shadow:0 4px 10px rgba(11,77,42,.16); transition:transform .18s var(--ease),box-shadow .18s ease; }
.row-item .add:hover { transform:scale(1.08); }
.cat-icons { gap:14px; padding-top:5px; }
.cat-icon-btn .circle-ic { flex-shrink:0; }
.cat-icon-btn.on .food-category-photo { outline:2px solid var(--green); outline-offset:2px; }
.product-info { padding-bottom:220px; }
.product-details .extras { padding-bottom:18px; }
.center-page img[alt=""] { display:block; margin-left:auto !important; margin-right:auto !important; }
.confirmed-brand { width:190px; max-width:60%; height:auto; margin:0 auto 18px; display:block; animation:bw-splash-in 600ms var(--ease-spring) both; }
@media (max-width:380px) {
  .row-item { grid-template-columns:82px 1fr auto; gap:9px; }
  .row-item .th { width:82px; height:74px; }
  .product-info { padding-bottom:225px; }
}
