/**
 * assets/css/food-drink.css
 * Florence Finder – Food & Drink Listing Page Styles.
 */

:root {
  --ff-food-bg: #FDFAF3;
  --ff-food-cream: #FDFBF5;
  --ff-food-navy: #0B2545;
  --ff-food-teal: #015A71;
  --ff-food-teal-dark: #00495A;
  --ff-food-coral: #E4694A;
  --ff-food-amber: #F4B942;
  --ff-food-border: #E9DFCF;
  --ff-food-chip-border: #D4C5AD;
  --ff-food-text-muted: #4B5563;
  --ff-food-text-light: #6B7280;
}

body.page-food-drink {
  background-color: var(--ff-food-bg) !important;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  color: var(--ff-food-navy) !important;
  overflow-x: clip !important;
}

/* Accessible visually hidden utility */
.sr-only,
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ═════════════════════════════════════════════════════════════════════
   HERO SECTION (Item 3)
   ~300px tall at 1440, cream background, floral lantern at left,
   magnolia at right, full-bleed photo visual
═════════════════════════════════════════════════════════════════════ */
.ff-food-hero {
  position: relative;
  background-color: var(--ff-food-cream);
  min-height: 320px;
  overflow: hidden;
  padding: 40px 0 60px 0;
  border-bottom: 1px solid rgba(212, 197, 173, 0.2);
}

.ff-food-hero__container {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.ff-food-hero__lantern {
  position: absolute;
  left: 0;
  top: 0;
  width: 110px;
  height: auto;
  z-index: 6;
  pointer-events: none;
  user-select: none;
}

.ff-food-hero__content {
  max-width: 560px;
  padding-left: 60px;
}

.ff-food-hero__eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--ff-food-coral);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.ff-food-hero__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ff-food-navy);
  margin: 0 0 14px 0;
}

.ff-food-hero__sub {
  font-size: 17px;
  line-height: 1.5;
  color: var(--ff-food-text-muted);
  margin: 0;
  max-width: 520px;
}

.ff-food-hero__visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 54%;
  z-index: 1;
  pointer-events: none;
}

.ff-food-hero__photo-fallback {
  position: absolute;
  inset: 0;
  background-image: url('https://pub2.filecdnx.com/f/file_bb53f229b96e0f6aba70.png');
  background-size: cover;
  background-position: center;
  opacity: 0.85;
}

.ff-food-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #FDFBF5 0%, rgba(253, 251, 245, 0.8) 18%, rgba(253, 251, 245, 0.2) 45%, transparent 75%);
}

.ff-food-hero__magnolia {
  position: absolute;
  right: 0;
  top: 0;
  width: 210px;
  height: auto;
  z-index: 7;
  pointer-events: none;
  user-select: none;
}

/* ═════════════════════════════════════════════════════════════════════
   FILTER BAR (Item 4)
   White card overlapping bottom of hero by ~16px
═════════════════════════════════════════════════════════════════════ */
.ff-food-filter-wrap {
  position: relative;
  z-index: 20;
  margin-top: -38px;
  margin-bottom: 24px;
  max-width: 1280px;
  padding: 0 24px;
}

.ff-food-filter-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(11, 37, 69, 0.08);
  border: 1px solid rgba(233, 223, 207, 0.7);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

/* Search Box inside Filter Bar */
.ff-food-search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 290px;
  min-width: 220px;
  height: 42px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 2px 4px 2px 14px;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.ff-food-search-box:focus-within {
  border-color: var(--ff-food-teal);
  box-shadow: 0 0 0 3px rgba(1, 90, 113, 0.15);
  background: #ffffff;
}

.ff-food-search-icon {
  flex-shrink: 0;
  color: #718096;
  margin-right: 8px;
}

.ff-food-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  color: var(--ff-food-navy);
  outline: none;
  min-width: 0;
}

.ff-food-search-input::placeholder {
  color: #94A3B8;
}

.ff-food-search-btn {
  height: 34px;
  padding: 0 16px;
  background: var(--ff-food-teal);
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 150ms ease;
}

.ff-food-search-btn:hover {
  background: var(--ff-food-teal-dark);
}

/* Dropdown Chips Group */
.ff-food-chips-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ff-dropdown-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.ff-dropdown-chip__btn {
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--ff-food-chip-border);
  background: #ffffff;
  color: var(--ff-food-navy);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 150ms ease;
}

.ff-dropdown-chip__btn:hover {
  border-color: #A0AEC0;
  background: #F8FAFC;
}

.ff-dropdown-chip--active .ff-dropdown-chip__btn {
  background: var(--ff-food-teal);
  border-color: var(--ff-food-teal);
  color: #ffffff;
}

.ff-dropdown-chip--active .ff-chip-icon,
.ff-dropdown-chip--active .ff-chip-chevron {
  color: #ffffff;
}

.ff-chip-clear {
  position: absolute;
  right: -6px;
  top: -4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ff-food-coral);
  color: #ffffff;
  border: none;
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.ff-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 180px;
  max-height: 320px;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--ff-food-border);
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.12);
  padding: 6px;
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ff-dropdown-menu[hidden] {
  display: none !important;
}

.ff-dropdown-item {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--ff-food-navy);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 120ms ease;
}

.ff-dropdown-item:hover,
.ff-dropdown-item:focus {
  background: #F1F5F9;
  outline: none;
}

.ff-dropdown-item.is-selected {
  background: rgba(1, 90, 113, 0.08);
  color: var(--ff-food-teal);
  font-weight: 700;
}

/* Open Now Toggle Chip */
.ff-food-toggle-chip {
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--ff-food-chip-border);
  background: #ffffff;
  color: var(--ff-food-navy);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 150ms ease;
}

.ff-food-toggle-chip:hover {
  background: #F8FAFC;
}

.ff-food-toggle-chip.is-active {
  background: var(--ff-food-teal);
  border-color: var(--ff-food-teal);
  color: #ffffff;
}

.ff-switch-track {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: #CBD5E1;
  transition: background 150ms ease;
}

.ff-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform 150ms ease;
}

.ff-food-toggle-chip.is-active .ff-switch-track {
  background: rgba(255,255,255,0.4);
}

.ff-food-toggle-chip.is-active .ff-switch-thumb {
  transform: translateX(12px);
  background: #ffffff;
}

/* Right Side: Count & Sort Select */
.ff-food-filter-right {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
  flex-shrink: 0;
}

.ff-food-results-count {
  font-size: 13.5px;
  color: var(--ff-food-text-muted);
  white-space: nowrap;
}

.ff-food-results-count strong {
  color: var(--ff-food-navy);
  font-weight: 700;
}

.ff-food-sort-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ff-food-sort-label {
  font-size: 13px;
  color: var(--ff-food-text-muted);
  white-space: nowrap;
}

.ff-food-sort-select {
  height: 38px;
  padding: 0 28px 0 12px;
  border-radius: 999px;
  border: 1px solid var(--ff-food-chip-border);
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230B2545' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ff-food-navy);
  cursor: pointer;
  outline: none;
  transition: border-color 150ms ease;
}

.ff-food-sort-select:focus {
  border-color: var(--ff-food-teal);
  outline: 2px solid var(--ff-food-teal);
  outline-offset: 2px;
}

/* Sub-bar below Filter Bar */
.ff-food-sub-bar {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 6px;
}

.ff-food-menus-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ff-food-teal);
  text-decoration: none;
  transition: color 120ms ease;
}

.ff-food-menus-link:hover {
  color: var(--ff-food-teal-dark);
  text-decoration: underline;
}

/* Mobile Filter Trigger Bar (Hidden on desktop) */
.ff-food-mobile-trigger-bar {
  display: none;
}

/* ═════════════════════════════════════════════════════════════════════
   MAIN TWO-COLUMN LAYOUT (Item 6)
   Left results 64%, Right sticky map 36%
═════════════════════════════════════════════════════════════════════ */
.ff-food-main {
  max-width: 1280px;
  margin: 0 auto 60px;
  padding: 0 24px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.ff-food-results-col {
  flex: 1 1 64%;
  min-width: 0;
}

.ff-food-map-col {
  flex: 0 0 36%;
  min-width: 320px;
  position: sticky;
  top: 86px;
  height: calc(100vh - 106px);
  max-height: 840px;
}

.ff-food-map-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  border: 1px solid var(--ff-food-border);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(11, 37, 69, 0.06);
  background: #E5E7EB;
}

.ff-food-map-canvas {
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Map Top-Left Search as I move control */
.ff-food-map-ctrl-top {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
}

.ff-food-map-move-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(11, 37, 69, 0.12);
  border: 1px solid rgba(233, 223, 207, 0.8);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ff-food-navy);
  cursor: pointer;
  user-select: none;
}

.ff-food-map-move-toggle input {
  accent-color: var(--ff-food-teal);
  cursor: pointer;
}

/* Map Bottom-Right Controls (+, -, Locate) */
.ff-food-map-ctrl-bottom {
  position: absolute;
  bottom: 16px;
  right: 14px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ff-map-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(233, 223, 207, 0.9);
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.1);
  color: var(--ff-food-navy);
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 120ms ease;
}

.ff-map-btn:hover {
  background: #F8FAFC;
}

/* ═════════════════════════════════════════════════════════════════════
   LISTING CARDS GRID & CARD COMPONENT (Item 7)
   4-across at 1440, 3-across at 1280, 2-across at 1024-768
═════════════════════════════════════════════ */
.ff-food-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1439px) and (min-width: 1100px) {
  .ff-food-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1099px) and (min-width: 768px) {
  .ff-food-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ff-food-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--ff-food-border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.ff-food-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 37, 69, 0.09);
}

.ff-food-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #F4EDE1;
  overflow: hidden;
}

.ff-food-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ff-food-placeholder-tile {
  width: 100%;
  height: 100%;
  background: #F4EDE1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8C7A6B;
}

/* White rounded-8px bookmark button in top-right of cover (Item 7) */
.ff-food-bookmark-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: transform 120ms ease, background 120ms ease;
}

.ff-food-bookmark-btn:hover {
  transform: scale(1.08);
}

.ff-food-bookmark-btn[aria-pressed="true"] svg {
  fill: var(--ff-food-teal);
  stroke: var(--ff-food-teal);
}

/* Card Body (Item 7) */
.ff-food-card__body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.ff-food-card__name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ff-food-card__link {
  color: var(--ff-food-navy);
  text-decoration: none;
}

.ff-food-card__link:hover {
  text-decoration: underline;
  color: var(--ff-food-teal);
}

.ff-food-card__link:focus-visible {
  outline: 2px solid var(--ff-food-teal);
  outline-offset: 2px;
}

.ff-food-card__meta {
  font-size: 13.5px;
  color: var(--ff-food-text-muted);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ff-food-card__footer {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
}

.ff-food-card__price {
  font-weight: 700;
  color: var(--ff-food-navy);
  margin-right: 4px;
}

.ff-food-card__rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.ff-food-card__stars {
  display: inline-flex;
  align-items: center;
  gap: 1.5px;
}

.ff-food-card__score {
  font-weight: 700;
  color: var(--ff-food-navy);
}

.ff-food-card__count {
  color: var(--ff-food-text-light);
  font-size: 12px;
}

.ff-food-card__mobile-cta {
  display: none;
}

/* ═════════════════════════════════════════════════════════════════════
   LOADING STATE & SKELETON SHIMMER (Item 11)
═════════════════════════════════════════════════════════════════════ */
.ff-food-skeleton-grid[hidden],
.ff-food-empty-state[hidden],
.ff-food-pagination[hidden] {
  display: none !important;
}

.ff-food-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 1439px) and (min-width: 1100px) {
  .ff-food-skeleton-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1099px) and (min-width: 768px) {
  .ff-food-skeleton-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ff-food-skeleton-card {
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--ff-food-border);
  overflow: hidden;
}

.ff-skeleton-box {
  background: linear-gradient(90deg, #F1F5F9 25%, #E2E8F0 50%, #F1F5F9 75%);
  background-size: 200% 100%;
  animation: ff-skeleton-shimmer 1.5s infinite;
}

.ff-skeleton-media {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.ff-skeleton-body {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ff-skeleton-line {
  border-radius: 4px;
}

@keyframes ff-skeleton-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═════════════════════════════════════════════════════════════════════
   EMPTY STATE (Item 12)
═════════════════════════════════════════════ */
.ff-food-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--ff-food-border);
  margin-bottom: 24px;
}

.ff-food-empty-icon {
  margin-bottom: 16px;
}

.ff-food-empty-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ff-food-navy);
  margin: 0 0 10px 0;
}

.ff-food-empty-text {
  font-size: 15px;
  color: var(--ff-food-text-muted);
  max-width: 440px;
  margin: 0 auto 24px auto;
  line-height: 1.5;
}

.ff-food-empty-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

/* ═════════════════════════════════════════════════════════════════════
   PAGINATION ("Load More") (Item 10)
═════════════════════════════════════════════ */
.ff-food-pagination {
  margin-top: 32px;
  display: flex;
  justify-content: center;
}

.ff-food-load-more-btn {
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid var(--ff-food-teal);
  color: var(--ff-food-teal);
  background: #ffffff;
  cursor: pointer;
  transition: all 150ms ease;
}

.ff-food-load-more-btn:hover {
  background: var(--ff-food-teal);
  color: #ffffff;
}

/* ═════════════════════════════════════════════════════════════════════
   FLOATING MOBILE MAP TOGGLE (Item 13)
═════════════════════════════════════════════ */
.ff-food-mobile-map-toggle {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
}

.ff-mobile-map-toggle-btn {
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--ff-food-navy);
  color: #ffffff;
  border: none;
  box-shadow: 0 6px 20px rgba(11, 37, 69, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* ═════════════════════════════════════════════════════════════════════
   MOBILE BOTTOM SHEET DIALOG (Item 13)
═════════════════════════════════════════════ */
.ff-food-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 37, 69, 0.5);
  backdrop-filter: blur(2px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ff-food-sheet-backdrop[hidden] {
  display: none !important;
}

.ff-food-bottom-sheet {
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -8px 30px rgba(11, 37, 69, 0.2);
  animation: ff-sheet-slide-up 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ff-sheet-slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.ff-sheet-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--ff-food-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ff-sheet-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--ff-food-navy);
}

.ff-sheet-close {
  background: none;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: #718096;
  cursor: pointer;
}

.ff-sheet-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ff-sheet-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ff-sheet-group--row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.ff-sheet-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ff-food-navy);
}

.ff-sheet-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ff-sheet-pill {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--ff-food-chip-border);
  background: #ffffff;
  color: var(--ff-food-navy);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.ff-sheet-pill.is-active {
  background: var(--ff-food-teal);
  border-color: var(--ff-food-teal);
  color: #ffffff;
}

.ff-sheet-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--ff-food-border);
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  position: sticky;
  bottom: 0;
}

.ff-sheet-footer .ff-btn--primary {
  flex: 1;
}

/* ═════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVENESS (<= 768px & 390px) (Item 13)
═════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Hero at 390 */
  .ff-food-hero {
    min-height: auto;
    padding: 32px 0 40px;
    text-align: center;
  }

  .ff-food-hero__container {
    justify-content: center;
    padding: 0 16px;
  }

  .ff-food-hero__lantern,
  .ff-food-hero__magnolia,
  .ff-food-hero__visual {
    display: none !important;
  }

  .ff-food-hero__content {
    padding-left: 0;
    max-width: 100%;
  }

  .ff-food-hero__title {
    font-size: 28px;
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .ff-food-hero__sub {
    font-size: 15px;
    line-height: 1.45;
  }

  /* Filter Bar at 390 */
  .ff-food-filter-wrap {
    margin-top: -20px;
    padding: 0 16px;
    margin-bottom: 16px;
  }

  .ff-food-filter-card {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    gap: 10px;
  }

  .ff-food-search-box {
    flex: none;
    height: 44px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    border-radius: 999px;
  }

  .ff-food-chips-group,
  .ff-food-filter-right {
    display: none; /* Replaced by mobile trigger */
  }

  .ff-food-mobile-trigger-bar {
    display: flex;
    margin-top: 10px;
  }

  .ff-food-mobile-filter-btn {
    width: 100%;
    height: 44px;
    border-radius: 999px;
    background: var(--ff-food-teal);
    color: #ffffff;
    border: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
  }

  /* Two Column transforms to single column */
  .ff-food-main {
    flex-direction: column;
    padding: 0 16px;
    margin-bottom: 80px;
  }

  .ff-food-results-col {
    width: 100%;
    flex: none;
  }

  .ff-food-map-col {
    display: none; /* Toggled via Map button */
    width: 100%;
    height: 70vh;
    position: static;
    flex: none;
  }

  body.view-map .ff-food-results-col {
    display: none;
  }

  body.view-map .ff-food-map-col {
    display: block;
  }

  /* Single-column horizontal cards on mobile (Item 13) */
  .ff-food-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .ff-food-skeleton-grid {
    grid-template-columns: 1fr;
  }

  .ff-food-card {
    flex-direction: row;
    height: auto;
    min-height: 120px;
  }

  .ff-food-card__media {
    width: 130px;
    aspect-ratio: unset;
    height: auto;
    flex-shrink: 0;
  }

  .ff-food-card__body {
    padding: 10px 12px;
    justify-content: center;
    overflow: hidden;
  }

  .ff-food-card__name {
    font-size: 15px;
  }

  .ff-food-card__meta {
    font-size: 12.5px;
  }

  .ff-food-card__footer {
    margin-top: 2px;
  }

  .ff-food-card__mobile-cta {
    display: inline-flex;
    margin-top: 6px;
    align-self: flex-start;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid var(--ff-food-teal);
    color: var(--ff-food-teal);
    text-decoration: none;
  }

  /* Floating Map Toggle shown on mobile */
  .ff-food-mobile-map-toggle {
    display: block;
  }
}

/* Card Pulse on map pin click */
.ff-card-pulse {
  animation: ff-card-highlight 1.2s ease;
}
@keyframes ff-card-highlight {
  0% { box-shadow: 0 0 0 3px var(--ff-food-coral); }
  50% { box-shadow: 0 0 0 6px rgba(228, 105, 74, 0.4); }
  100% { box-shadow: 0 0 0 0 rgba(228, 105, 74, 0); }
}

/* Accessibility Focus Ring (Item 16) */
.ff-food-card__link:focus-visible,
.ff-food-bookmark-btn:focus-visible,
.ff-dropdown-chip__btn:focus-visible,
.ff-food-search-btn:focus-visible,
.ff-food-toggle-chip:focus-visible,
.ff-food-load-more-btn:focus-visible,
.ff-map-btn:focus-visible,
.ff-mobile-map-toggle-btn:focus-visible {
  outline: 2px solid var(--ff-food-teal) !important;
  outline-offset: 2px !important;
}

/* Prefers Reduced Motion (Item 16) */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

