:root{
  --bg:#f6f7f9;
  --card:#ffffff;
  --text:#0b1220;
  --muted:#5d6a7e;
  --border:#e6e9ef;
  --shadow: 0 10px 30px rgba(16,24,40,.08);
  --radius:16px;

  --brand:#00aa6c;
  --brand2:#0a7c57;
  --soft:#effaf5;
}

*{ box-sizing:border-box; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:var(--bg);
  color:var(--text);
}

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

.hidden{ display:none !important; }
.muted{ color:var(--muted); font-size:13px; }

/* TOPBAR */
.topbar{
  position:sticky;
  top:0;
  z-index:10;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:14px 18px;
  background:rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.logo{ font-weight:900; letter-spacing:.2px; font-size:18px; }
.logo span{ color:var(--brand); }
.subtitle{ font-size:12px; color:var(--muted); margin-top:2px; }
.topbar__left{ display:flex; flex-direction:column; gap:2px; }
.topbar__right{ display:flex; gap:10px; }

/* BUTTONS */
.btn{
  border:1px solid transparent;
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
  font-weight:900;
  font-size:14px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
}
.btn--primary{
  background:linear-gradient(180deg, var(--brand), var(--brand2));
  color:#fff;
}
.btn--ghost{
  background:#fff;
  border:1px solid var(--border);
  color:var(--text);
}
.btn--ghost:hover{ background:#fbfbfd; }
.btn:disabled{ opacity:.55; cursor:not-allowed; }

/* HOME */
.home{ padding:0; }
.homeHero{
  position: relative;
  height: 460px;
  background: url("assets/hero.jpg") center/cover no-repeat;
  border-bottom: 1px solid var(--border);
}
.homeOverlay{
  position:absolute; inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.18));
}
.homeContent{
  position:relative;
  max-width:1150px;
  margin:0 auto;
  height:100%;
  padding: 34px 18px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  color:#fff;
}
.homeContent h1{ font-size:44px; margin:0 0 8px; line-height:1.05; }
.homeContent p{ margin:0 0 18px; opacity:.92; max-width:760px; }

.homeSearch{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  background: rgba(255,255,255,.92);
  padding: 12px;
  border-radius: 18px;
  width:min(980px, 100%);
  align-items:center;
}
.homeSearch input{
  flex:1;
  min-width: 240px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
}

.homeChips{ margin-top: 12px; display:flex; gap:10px; flex-wrap:wrap; }
.chipBtn{
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.10);
  color:#fff;
  padding: 8px 12px;
  border-radius:999px;
  cursor:pointer;
  font-weight:900;
}
.chipBtn:hover{ background: rgba(255,255,255,.18); }

.homeStats{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  width:min(980px, 100%);
}
@media (max-width: 900px){ .homeStats{ grid-template-columns: 1fr; } }

.stat{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 16px;
  padding: 12px;
  color: #0b1220;
}
.stat__label{ font-size:12px; color: #5d6a7e; }
.stat__value{ font-size:16px; font-weight:950; margin-top:4px; }

.homeNote{
  display:none;
  margin-top:12px;
  width:min(980px, 100%);
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 16px;
  padding: 12px;
  color:#0b1220;
}

/* LAYOUT */
.container{
  max-width:1150px;
  margin:0 auto;
  padding:18px;
  display:grid;
  grid-template-columns: 360px 1fr;
  gap:16px;
}
.container--results{ grid-template-columns: 1fr; }
@media (max-width: 980px){
  .container{ grid-template-columns: 1fr; }
}

/* CARDS */
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}

/* FILTERS */
.filters{ padding:16px; }
h2{ margin:0 0 12px; font-size:16px; }

.field{ display:flex; flex-direction:column; gap:6px; margin-bottom:10px; }
label{ font-size:12px; color:var(--muted); }

input, select{
  padding:11px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  outline:none;
  background:#fff;
  font-size:14px;
}
input:focus, select:focus{
  border-color: rgba(0,170,108,.45);
  box-shadow: 0 0 0 4px rgba(0,170,108,.12);
}

.grid2{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.hint{ font-size:12px; color:var(--muted); }

.chips{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  cursor:pointer;
  user-select:none;
  background:#fff;
  font-size:13px;
}
.chip input{ margin:0; }

.actions{ display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }

/* SIDE */
.side{ overflow:hidden; }
.side__banner{
  height: 160px;
  background: url("assets/hero.jpg") center/cover no-repeat;
}
.side__content{ padding: 16px; }
.side__kpis{
  margin-top: 10px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}
@media (max-width: 980px){ .side__kpis{ grid-template-columns: 1fr; } }
.mini{
  border:1px solid var(--border);
  border-radius:14px;
  padding:10px;
}
.mini__label{ font-size:12px; color:var(--muted); }
.mini__value{ font-size:16px; font-weight:950; margin-top:4px; }

/* RESULTS HEADER */
.resultsHeader{ padding:16px; display:grid; gap:12px; }
.resultsHeader__top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  align-items:flex-start;
}
.resultsHeader__actions{ display:flex; gap:10px; flex-wrap:wrap; }

.resultsMeta{ display:flex; gap:10px; flex-wrap:wrap; }
.pill{
  display:inline-flex;
  align-items:center;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  font-size:12px;
  color:var(--muted);
}
.pill--soft{
  background:var(--soft);
  border-color: rgba(0,170,108,.18);
}

.resultsSearchRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}
.resultsSearchRow input{
  flex:1;
  min-width: 260px;
  border-radius: 14px;
}

/* RESULTS LIST + CARDS WITH THUMB */
.resultsList{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}

.placeCard{
  padding:14px;
  cursor:pointer;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
  display:grid;
  grid-template-columns: 160px 1fr;
  gap:14px;
  align-items:stretch;
}
.placeCard:hover{
  transform: translateY(-2px);
  border-color: rgba(0,170,108,.35);
  box-shadow: 0 16px 40px rgba(16,24,40,.10);
}
@media (max-width: 780px){
  .placeCard{ grid-template-columns: 1fr; }
}

.thumb{
  width: 100%;
  height: 118px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: #f3f5f8;
}

.placeRight{ display:flex; flex-direction:column; gap:8px; }

.placeTop{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  flex-wrap:wrap;
}

.placeTitle{ font-size:18px; font-weight:950; margin:0; }
.subline{
  margin-top:4px;
  color:var(--muted);
  font-size:13px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.rating{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:950;
  color:#0b1220;
}
.bubble{
  width:10px; height:10px; border-radius:999px;
  background: var(--brand);
  display:inline-block;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.bubble--off{ opacity:.25; }

.score{
  display:inline-flex;
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:950;
  background: var(--soft);
  border:1px solid rgba(0,170,108,.20);
  color:#0b1220;
}

.tags{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
.tag{
  font-size:12px;
  padding:7px 10px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--border);
  color:#0b1220;
}
.tag--green{
  background: var(--soft);
  border-color: rgba(0,170,108,.20);
}

.why{
  padding:10px 12px;
  border-radius:12px;
  border:1px dashed rgba(0,0,0,.18);
  color:var(--muted);
  background:#fff;
  line-height:1.45;
}

.empty{
  padding:16px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--muted);
}

/* MODAL */
.modal{
  position:fixed;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:20;
  padding: 18px; /* important pour mobile / petites tailles */
}
.modal__overlay{ position:absolute; inset:0; background:rgba(0,0,0,.45); }

.modal__content{
  position:relative;
  width:min(980px, 100%);
  background:#fff;
  border-radius:18px;
  border:1px solid var(--border);
  box-shadow: 0 30px 90px rgba(0,0,0,.25);
  overflow:hidden;

  /*  IMPORTANT: le modal reste dans l’écran */
  max-height: calc(100vh - 40px);
  display:flex;
  flex-direction:column;
}

.modal__top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  padding:16px;
  border-bottom:1px solid var(--border);
  flex: 0 0 auto;
}
.modal__title{ font-size:20px; font-weight:950; }
.modal__sub{ color:var(--muted); font-size:13px; margin-top:4px; }

.modal__photo{
  width: 100%;
  height: 260px;
  object-fit: cover;
  display:block;
  background:#f3f5f8;
  flex: 0 0 auto;
}

/*  La partie infos (grid) prend l’espace restant et scrolle */
.modal__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:0;
  flex: 1 1 auto;
  min-height: 0; /* TRÈS important pour activer scroll interne */
}
@media (max-width: 980px){
  .modal__grid{ grid-template-columns: 1fr; }
}

.modal__left{
  padding:16px;
  border-right:1px solid var(--border);
  overflow:auto;
  min-height: 0;
}
.modal__right{
  padding:16px;
  overflow:auto;
  min-height: 0;

  /*  permet le sticky du bouton */
  display:flex;
  flex-direction:column;
}

.kpis{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
  margin-bottom:14px;
}
@media (max-width: 980px){ .kpis{ grid-template-columns: repeat(2, 1fr); } }

.kpi{
  border:1px solid var(--border);
  border-radius:14px;
  padding:10px;
  background:#fff;
}
.kpi__label{ font-size:12px; color:var(--muted); }
.kpi__value{ font-size:16px; font-weight:950; margin-top:4px; }

.sectionTitle{ font-weight:950; margin:14px 0 8px; }

.infoList{ display:flex; flex-direction:column; gap:10px; }
.infoRow{
  display:flex;
  justify-content:space-between;
  gap:10px;
  border:1px solid var(--border);
  border-radius:14px;
  padding:10px;
  background:#fff;
  font-size:13px;
}
.infoRow span:first-child{ color:var(--muted); }

/* BOUTON MAPS TOUJOURS VISIBLE */
.modal__cta{
  margin-top: 14px;
  position: sticky;
  bottom: 0;
  background: #fff;
  padding-top: 10px;
}
.modal__cta .btn{ width: 100%; }

/* scrollbars propres */
.modal__left::-webkit-scrollbar,
.modal__right::-webkit-scrollbar{ width: 10px; }
.modal__left::-webkit-scrollbar-thumb,
.modal__right::-webkit-scrollbar-thumb{
  background: rgba(0,0,0,.12);
  border-radius: 999px;
}

/* etoiles */
.star {
  font-size: 16px;
  margin-right: 1px;
}

.star--full {
  color: #f5b301;
}

.star--half {
  color: #f5b301;
  opacity: 0.6;
}

.star--empty {
  color: #cfcfcf;
}

.rating-na {
  color: #8a8a8a;
  font-style: italic;
  font-size: 14px;
}

.rating-count {
  color: #666;
  font-size: 13px;
  margin-left: 4px;
}
.formFeedback {
  margin-top: 8px;
  font-size: 0.95rem;
  color: #b42318;
}

.distanceModeGroup {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.distanceActions {
  margin-top: 10px;
}

.hidden {
  display: none;
}

.autocomplete {
  position: relative;
}

.autocomplete__list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  max-height: 240px;
  overflow-y: auto;
  z-index: 50;
}

.autocomplete__item {
  padding: 12px 14px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.autocomplete__item:hover,
.autocomplete__item.is-active {
  background: #f4f7f6;
}

.autocomplete__empty {
  padding: 12px 14px;
  color: #777;
}

.langSwitch {
  display: inline-flex;
  gap: 8px;
  margin-right: 10px;
}

.langSwitch .is-active {
  border: 1px solid #111827;
  font-weight: 700;
}

/* =========================
   CITYTASTE CHATBOT
========================= */

.chatbot-toggle {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 62px;
  height: 62px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #111827, #1f2937);
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
  z-index: 1200;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.chatbot-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.26);
}

.chatbot-toggle:active {
  transform: translateY(0);
}

.chatbot-panel {
  position: fixed;
  right: 22px;
  bottom: 96px;
  width: 380px;
  max-width: calc(100vw - 24px);
  height: 560px;
  max-height: 78vh;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(15, 23, 42, 0.08);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chatbot-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 14px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.chatbot-header__text h3 {
  margin: 0;
  font-size: 1rem;
  color: #0f172a;
}

.chatbot-header__text p {
  margin: 4px 0 0;
  font-size: 0.86rem;
  color: #64748b;
  line-height: 1.4;
}

.chatbot-close {
  border: none;
  background: transparent;
  color: #334155;
  font-size: 18px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.chatbot-close:hover {
  background: rgba(15, 23, 42, 0.06);
  color: #0f172a;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}

.chatbot-message {
  max-width: 86%;
  padding: 11px 13px;
  border-radius: 16px;
  line-height: 1.45;
  font-size: 0.95rem;
  word-break: break-word;
  white-space: pre-wrap;
}

.chatbot-message.bot {
  align-self: flex-start;
  background: #f1f5f9;
  color: #0f172a;
  border-bottom-left-radius: 6px;
}

.chatbot-message.user {
  align-self: flex-end;
  background: #111827;
  color: #ffffff;
  border-bottom-right-radius: 6px;
}

.chatbot-message.typing {
  font-style: italic;
  opacity: 0.78;
}

.chatbot-suggestions {
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #fcfcfd;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.chatbot-chip {
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #ffffff;
  color: #0f172a;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.chatbot-chip:hover {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.18);
  transform: translateY(-1px);
}

.chatbot-input-wrap {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 12px 14px 14px;
  background: #ffffff;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.chatbot-input {
  flex: 1;
  min-height: 46px;
  max-height: 120px;
  resize: none;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 14px;
  padding: 11px 13px;
  font: inherit;
  line-height: 1.4;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.chatbot-input:focus {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.chatbot-input::placeholder {
  color: #94a3b8;
}

.chatbot-send {
  border: none;
  border-radius: 14px;
  min-width: 92px;
  height: 46px;
  padding: 0 16px;
  background: #111827;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.chatbot-send:hover {
  transform: translateY(-1px);
  background: #0b1220;
}

.chatbot-send:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 768px) {
  .chatbot-panel {
    right: 12px;
    left: 12px;
    width: auto;
    bottom: 84px;
    height: 72vh;
    max-height: 72vh;
    border-radius: 18px;
  }

  .chatbot-toggle {
    right: 14px;
    bottom: 14px;
    width: 58px;
    height: 58px;
    font-size: 24px;
  }

  .chatbot-message {
    max-width: 92%;
  }

  .chatbot-send {
    min-width: 84px;
  }
}
/* =========================
   CUISINE EXPLORER
========================= */

.cuisine-explorer {
  margin-top: 22px;
  padding: 22px;
  border: 1px solid #e7edf5;
  border-radius: 24px;
  background: #ffffff;
}

.cuisine-explorer__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.cuisine-explorer__title {
  margin: 0 0 6px 0;
  font-size: 1.9rem;
  line-height: 1.1;
  font-weight: 800;
  color: #0f1728;
}

.cuisine-explorer__subtitle {
  margin: 0;
  color: #667085;
  font-size: 0.96rem;
  line-height: 1.5;
  max-width: 560px;
}

.cuisine-explorer__allBtn {
  border: 1px solid #d6dee8;
  background: #fff;
  color: #111827;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.cuisine-explorer__allBtn:hover {
  background: #f8fafc;
  border-color: #c6d0db;
}

.cuisine-explorer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.cuisine-explorer__card {
  border: 1px solid transparent;
  border-radius: 22px;
  padding: 18px 16px;
  background: linear-gradient(180deg, var(--cx-bg) 0%, #ffffff 100%);
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  min-height: 154px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.cuisine-explorer__card:hover {
  transform: translateY(-3px);
  border-color: var(--cx-soft);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
}

.cuisine-explorer__emoji {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cx-soft);
  color: var(--cx-strong);
  font-size: 1.7rem;
  margin-bottom: 18px;
}

.cuisine-explorer__label {
  font-size: 1.04rem;
  line-height: 1.2;
  font-weight: 800;
  color: #111827;
  margin-bottom: 8px;
}

.cuisine-explorer__count {
  color: #667085;
  font-size: 0.92rem;
  font-weight: 600;
}

.cuisine-explorer__empty {
  color: #667085;
  padding: 12px 0;
}

/* =========================
   FULL PAGE CUISINE DIRECTORY
========================= */

body.cuisine-directory-open {
  overflow: hidden;
}

.cuisine-directory {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(4px);
  display: none;
}

.cuisine-directory.is-open {
  display: block;
}

.cuisine-directory__shell {
  width: min(1380px, 94vw);
  height: 100vh;
  margin: 0 auto;
  padding: 34px 0 30px;
  overflow: auto;
}

.cuisine-directory__top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 20px 0;
  margin-bottom: 20px;
  background: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(6px);
}

.cuisine-directory__title {
  margin: 0 0 8px 0;
  font-size: 2.05rem;
  line-height: 1.05;
  font-weight: 900;
  color: #0f1728;
}

.cuisine-directory__subtitle {
  margin: 0;
  color: #667085;
  max-width: 760px;
  line-height: 1.5;
}

.cuisine-directory__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cuisine-directory__search {
  width: 280px;
  height: 48px;
  border: 1px solid #d6dee8;
  border-radius: 14px;
  padding: 0 14px;
  font-size: 0.96rem;
  outline: none;
  background: #fff;
}

.cuisine-directory__search:focus {
  border-color: #98a2b3;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.cuisine-directory__close {
  height: 48px;
  border: 1px solid #d6dee8;
  background: #fff;
  border-radius: 14px;
  padding: 0 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.cuisine-directory__close:hover {
  background: #f8fafc;
  border-color: #c6d0db;
}

.cuisine-directory__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 30px;
}

.cuisine-directory__card {
  border: 1px solid transparent;
  border-radius: 24px;
  padding: 18px;
  background: linear-gradient(180deg, var(--cx-bg) 0%, #ffffff 100%);
  text-align: left;
  cursor: pointer;
  min-height: 130px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.cuisine-directory__card:hover {
  transform: translateY(-4px);
  border-color: var(--cx-soft);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}

.cuisine-directory__cardTop {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cuisine-directory__emoji {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cx-soft);
  color: var(--cx-strong);
  font-size: 1.65rem;
}

.cuisine-directory__text {
  min-width: 0;
}

.cuisine-directory__name {
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 800;
  color: #101828;
  margin-bottom: 8px;
}

.cuisine-directory__meta {
  color: #667085;
  font-size: 0.92rem;
  font-weight: 600;
}

.cuisine-directory__empty {
  color: #667085;
  padding: 10px 0;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1300px) {
  .cuisine-directory__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .cuisine-explorer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cuisine-directory__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .cuisine-explorer__head,
  .cuisine-directory__top {
    flex-direction: column;
    align-items: stretch;
  }

  .cuisine-directory__actions {
    justify-content: flex-start;
  }

  .cuisine-directory__search {
    width: 100%;
  }

  .cuisine-explorer__grid,
  .cuisine-directory__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .cuisine-explorer__grid,
  .cuisine-directory__grid {
    grid-template-columns: 1fr;
  }

  .cuisine-directory__title {
    font-size: 1.6rem;
  }
}

/* =========================
   COMING SOON + DISABLED FILTERS
========================= */

.soonBadge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff4e5;
  color: #b54708;
  border: 1px solid #f7d7a3;
  font-size: 11px;
  font-weight: 800;
  vertical-align: middle;
  white-space: nowrap;
}

.field--comingSoon {
  padding: 12px;
  border: 1px dashed #d6dee8;
  border-radius: 16px;
  background: #fcfcfd;
}

.field--comingSoon select:disabled,
.field--comingSoon input:disabled {
  background: #f8fafc;
  color: #98a2b3;
  border-color: #e5e7eb;
  cursor: not-allowed;
  opacity: 1;
}

.chip--disabled {
  background: #f8fafc;
  color: #98a2b3;
  border-color: #e5e7eb;
  cursor: not-allowed;
}

.chip--disabled input {
  cursor: not-allowed;
}

.filters .field.is-disabled {
  opacity: 0.72;
}

.filters .field.is-disabled input,
.filters .field.is-disabled select,
.filters .field.is-disabled textarea {
  background: #f8fafc;
  color: #98a2b3;
  border-color: #e5e7eb;
  cursor: not-allowed;
  box-shadow: none;
}

.filters .field.is-disabled input:focus,
.filters .field.is-disabled select:focus,
.filters .field.is-disabled textarea:focus {
  border-color: #e5e7eb;
  box-shadow: none;
}

.filters .field.is-disabled .hint {
  color: #98a2b3;
}

.filters .field.is-disabled .autocomplete__list {
  display: none !important;
}

.filters .field.is-disabled label {
  color: #667085;
}