/* PRD §312.11 customer extras (customer-extras.js). Its own file so pages
   without them (tracking, checkout, blog) do not carry it. */

/* The honest status banner: what is true now, or nothing. */
[data-status-banner][hidden] { display: none; }
.status-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px;
  padding: 10px var(--gutter); background: var(--accent-soft); color: var(--text);
  font-size: var(--fs-13); font-weight: 600; text-align: center;
}
.status-banner--warn { background: var(--danger-soft); color: var(--danger); }
.status-banner--info { background: var(--surface-2); color: var(--text-2); }
.status-banner__text { line-height: 1.4; }
.status-banner__notify { min-height: 32px; padding: 0 10px; font-size: var(--fs-13); font-weight: 700; color: inherit; text-decoration: underline; }
.status-banner__out { width: 100%; margin: 0; padding: 6px; text-align: center; }

/* "What's on your mind?" — categories as round photos. */
.dish-circles {
  display: flex; gap: var(--sp-4); overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  /* 4px inset: a focus ring is not clipped. */
  margin: 0; padding: var(--sp-3) 4px var(--sp-2); scroll-padding-inline: 4px;
  scrollbar-width: none;
}
.dish-circles::-webkit-scrollbar { display: none; }
/* Snap is for thumbs; with a mouse it pulled a focused circle half out. */
@media (hover: hover) { .dish-circles { scroll-snap-type: none; } }
.dish-circles[hidden] { display: none; }
.dish-circle {
  flex: 0 0 auto; width: 76px; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; gap: var(--sp-2);
  color: var(--text); text-decoration: none; font-size: var(--fs-12); font-weight: 600; text-align: center; line-height: 1.25;
}
.dish-circle__img {
  width: 68px; height: 68px; border-radius: 50%; object-fit: cover;
  background: var(--surface-2); box-shadow: 0 0 0 1px var(--line);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.dish-circle__img--blank { display: grid; place-items: center; font: 800 var(--fs-24)/1 var(--font-display); color: var(--accent-ink); background: var(--accent-soft); }
.dish-circle__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (hover: hover) { .dish-circle:hover .dish-circle__img { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--accent); } }
@media (min-width: 768px) { .dish-circle { width: 92px; } .dish-circle__img { width: 84px; height: 84px; } }
@media (min-width: 1024px) { .dish-circles { gap: var(--sp-5); } .dish-circle { width: 104px; font-size: var(--fs-13); } .dish-circle__img { width: 96px; height: 96px; } }

/* 11.11 birthday banner (birthday-banner.js), home and menu. */
.birthday-banner {
  display: flex; align-items: center; gap: var(--sp-3);
  width: min(100% - 2 * var(--gutter), var(--shell) - 2 * var(--gutter)); margin: var(--sp-4) auto 0;
  padding: var(--sp-3) var(--sp-4); border-radius: var(--r-md);
  background: var(--accent-soft); color: var(--text); font-weight: 600; line-height: 1.45;
}
.birthday-banner .ico, .birthday-banner svg { flex: none; width: 20px; height: 20px; color: var(--accent-ink); }

.recent-searches { display: flex; align-items: center; gap: var(--sp-2); overflow-x: auto; scrollbar-width: none; margin: var(--sp-2) 0; }
.recent-searches[hidden] { display: none; }
.recent-searches__label { flex: none; font-size: var(--fs-11); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.recent-searches__chip, .recent-searches__clear {
  flex: none; min-height: 34px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface); color: var(--text-2); font-size: var(--fs-13); font-weight: 600; cursor: pointer;
}
.recent-searches__chip::before { content: "↺"; margin-right: 6px; color: var(--text-3); }
.recent-searches__clear { border-color: transparent; background: none; color: var(--accent-ink); }

.dish-share { display: flex; flex-wrap: wrap; gap: var(--sp-1); margin-top: var(--sp-3); }
.free-delivery-moment { margin: var(--sp-2) 0 0; color: var(--veg); font-weight: 600; font-size: var(--fs-14); }
.free-delivery-moment[hidden] { display: none; }
.product-badge.badge-new, .modal-badge.badge-new { background: var(--surface); color: var(--veg); }

.orders-tools { display: flex; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.orders-tools input { border-radius: var(--r-pill); }
.order-rate { display: flex; align-items: center; gap: 2px; margin-top: var(--sp-2); font-size: var(--fs-14); color: var(--text-2); }
.order-rate__star { min-width: 36px; min-height: 36px; border: 0; background: transparent; color: var(--line-2); font-size: 1.35rem; cursor: pointer; transition: color var(--t-fast) var(--ease), transform 100ms var(--ease); }
.order-rate__star[aria-pressed="true"] { color: var(--accent); }
.order-rate__star:active { transform: scale(.9); }

.wallet-filters { display: flex; gap: var(--sp-2); overflow-x: auto; scrollbar-width: none; margin: var(--sp-3) 0; }
.wallet-filters button {
  flex: none; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-pill);
  background: var(--surface); color: var(--text-2); font-size: var(--fs-13); font-weight: 600; cursor: pointer;
}
.wallet-filters button[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--surface); }
