/* Menu Prices directory — /menu-prices/ */

.mp-dir-page {
  --mp-dir-radius: 16px;
  background: var(--bg, #fff);
}

/* Breadcrumb */
.mp-dir-page .mp-dir-crumb {
  background: var(--bg-alt, #f8fafc);
  border-bottom: 1px solid var(--border, #e2e8f0);
  padding: 10px 0;
}

/* Hero */
.mp-dir-hero {
  position: relative;
  z-index: 1;
  padding: 48px 0 40px;
  border-bottom: 1px solid var(--border, #e2e8f0);
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.mp-dir-hero.is-search-open {
  z-index: 30;
}

.mp-dir-search-wrap {
  position: relative;
  max-width: 480px;
  z-index: 2;
}

.mp-dir-search-wrap.is-ais-open {
  z-index: 40;
}

.mp-dir-hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: start;
}

.mp-dir-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 14px;
}

.mp-dir-hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
}

.mp-dir-hero__title {
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #0f172a;
  margin: 0 0 12px;
}

.mp-dir-hero__title em {
  font-style: normal;
  color: #2563eb;
}

.mp-dir-hero__desc {
  font-size: 16px;
  line-height: 1.6;
  color: #64748b;
  max-width: 52ch;
  margin: 0 0 24px;
}

.mp-dir-search {
  display: flex;
  max-width: 480px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.mp-dir-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: #0f172a;
}

.mp-dir-search button {
  border: none;
  background: #2563eb;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 14px 20px;
  cursor: pointer;
  font-family: inherit;
}

.mp-dir-search button:hover {
  background: #1d4ed8;
}

.mp-dir-hero__panel {
  padding: 22px;
  border-radius: var(--mp-dir-radius);
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.05);
}

.mp-dir-hero__panel-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94a3b8;
  margin: 0 0 14px;
}

.mp-dir-hero__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mp-dir-hero__stat {
  padding: 12px;
  border-radius: 12px;
  background: #f8fafc;
}

.mp-dir-hero__stat-val {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

.mp-dir-hero__stat-lbl {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

/* Tools */
.mp-dir-tools {
  padding: 28px 0;
}

/* Section blocks */
.mp-dir-block {
  padding: 36px 0;
}

.mp-dir-block--alt {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.mp-dir-block__head {
  margin-bottom: 18px;
}

.mp-dir-block__title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
  letter-spacing: -0.02em;
}

.mp-dir-block__sub {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.mp-dir-pulse {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mp-dir-pulse__item {
  padding: 16px 18px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.mp-dir-pulse__lbl {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 6px;
}

.mp-dir-pulse__val {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
}

.mp-dir-pulse__val span {
  font-weight: 600;
  color: #64748b;
  margin-left: 4px;
}

.mp-dir-pulse__val:hover {
  color: #2563eb;
}

.mp-dir-pulse__val--static {
  cursor: default;
}

.mp-dir-pulse__val--static:hover {
  color: #0f172a;
}

.mp-dir-intents {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mp-dir-intent {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.mp-dir-intent:hover,
.mp-dir-intent.is-active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

/* Cuisine section */
.mp-dir-cuisine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.mp-dir-cuisine-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.mp-dir-cuisine-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.mp-dir-cuisine-card__name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.mp-dir-cuisine-card__count {
  font-size: 12px;
  color: #64748b;
}

.mp-dir-cuisine-card__avg {
  font-size: 13px;
  font-weight: 600;
  color: #15803d;
}

.mp-dir-cuisine-card__low {
  font-size: 11px;
  color: #2563eb;
  margin-top: 4px;
}

/* Quick compare section */
.mp-dir-compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.mp-dir-compare-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.mp-dir-compare-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.mp-dir-compare-card__title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.mp-dir-compare-card__arrow {
  font-size: 13px;
  font-weight: 600;
  color: #2563eb;
}

/* Deals radar section */
.mp-dir-deals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.mp-dir-deals-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-decoration: none;
}

.mp-dir-deals-card:hover {
  border-color: #fde68a;
  background: #fffbeb;
}

.mp-dir-deals-card__name {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.mp-dir-deals-card__count {
  font-size: 12px;
  font-weight: 700;
  color: #b45309;
}

/* Price moves section */
.mp-dir-moves-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mp-dir-move-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-decoration: none;
}

.mp-dir-move-row:hover {
  border-color: #bfdbfe;
}

.mp-dir-move-row__brand {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.mp-dir-move-row__item {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.mp-dir-move-row__delta {
  font-size: 13px;
  font-weight: 700;
}

.mp-dir-move-row__delta--up {
  color: #dc2626;
}

.mp-dir-move-row__delta--down {
  color: #15803d;
}

.mp-dir-recent__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.mp-dir-recent-chip {
  padding: 10px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
}

.mp-dir-recent-chip:hover {
  border-color: #2563eb;
  color: #2563eb;
}

@media (max-width: 960px) {
  .mp-dir-pulse {
    grid-template-columns: repeat(2, 1fr);
  }

  .mp-dir-cuisine-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mp-dir-deals-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mp-dir-move-row {
    grid-template-columns: 1fr auto;
  }

  .mp-dir-move-row__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .mp-dir-pulse {
    grid-template-columns: 1fr;
  }

  .mp-dir-cuisine-grid,
  .mp-dir-compare-grid,
  .mp-dir-deals-grid {
    grid-template-columns: 1fr;
  }

  .mp-dir-move-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.mp-dir-tools__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mp-dir-tool {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.mp-dir-tool:hover {
  border-color: #bfdbfe;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.08);
}

.mp-dir-tool__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2563eb;
}

.mp-dir-tool__title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.mp-dir-tool__desc {
  font-size: 13px;
  color: #64748b;
  line-height: 1.45;
}

/* Spotlight */
.mp-dir-spotlight {
  padding-bottom: 36px;
}

.mp-dir-spotlight__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.mp-dir-spotlight__title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.mp-dir-spotlight__sub {
  font-size: 13px;
  color: #64748b;
  margin: 4px 0 0;
}

.mp-dir-spotlight__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mp-dir-spot-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}

.mp-dir-spot-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.mp-dir-spot-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mp-dir-spot-card__name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.mp-dir-spot-card__meta {
  font-size: 12px;
  color: #94a3b8;
}

.mp-dir-spot-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mp-dir-spot-card__tag {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
}

.mp-dir-spot-card__tag--fresh {
  background: #ecfdf5;
  color: #15803d;
}

.mp-dir-spot-card__foot {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  color: #2563eb;
}

/* Browse hub */
.mp-dir-browse {
  padding: 28px 0 40px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.mp-dir-browse__head {
  margin-bottom: 12px;
}

.mp-dir-browse__title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

/* Compact toolbar */
.mp-dir-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
}

.mp-dir-toolbar__search {
  flex: 1;
  min-width: 120px;
  padding: 8px 10px 8px 32px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: #fff url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") no-repeat 10px center;
}

.mp-dir-toolbar__search:focus {
  border-color: #2563eb;
}

.mp-dir-toolbar__select {
  padding: 8px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 12px;
  font-family: inherit;
  background: #fff;
  cursor: pointer;
  color: #374151;
  max-width: 140px;
}

.mp-dir-toolbar__count {
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  padding: 0 6px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.mp-dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mp-dir-card {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: border-color 0.15s;
}

.mp-dir-card:hover {
  border-color: #bfdbfe;
}

.mp-dir-card.is-hidden {
  display: none;
}

.mp-dir-grid--compact {
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mp-dir-grid--compact .mp-dir-card {
  gap: 8px;
  padding: 8px 10px;
  border-radius: 10px;
}

.mp-dir-grid--compact .mp-dir-card__name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mp-dir-grid--compact .mp-dir-card__price {
  font-size: 12px;
  font-weight: 700;
  color: #15803d;
  flex-shrink: 0;
}

.mp-dir-grid--compact .mp-dir-logo {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px;
  font-size: 12px;
}

.mp-dir-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
}

.mp-dir-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mp-dir-empty {
  display: none;
  text-align: center;
  padding: 48px 20px;
  color: #94a3b8;
  grid-column: 1 / -1;
}

.mp-dir-empty.is-visible {
  display: block;
}

.mp-dir-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.mp-dir-page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  color: #374151;
}

.mp-dir-page-btn:hover {
  border-color: #2563eb;
  color: #2563eb;
}

.mp-dir-page-btn.is-active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.mp-dir-page-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

/* Trust strip */
.mp-dir-trust {
  padding: 32px 0 48px;
  border-top: 1px solid #e2e8f0;
}

.mp-dir-trust__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.mp-dir-trust__item h3 {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px;
}

.mp-dir-trust__item p {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 960px) {
  .mp-dir-hero__grid {
    grid-template-columns: 1fr;
  }

  .mp-dir-tools__grid,
  .mp-dir-spotlight__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mp-dir-grid--compact {
    grid-template-columns: repeat(3, 1fr);
  }

  .mp-dir-trust__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .mp-dir-tools__grid,
  .mp-dir-spotlight__grid {
    grid-template-columns: 1fr;
  }

  .mp-dir-grid--compact {
    grid-template-columns: repeat(2, 1fr);
  }

  .mp-dir-toolbar {
    flex-wrap: wrap;
  }

  .mp-dir-toolbar__search {
    width: 100%;
    flex: none;
  }

  .mp-dir-toolbar__select {
    flex: 1;
    max-width: none;
  }

  .mp-dir-search {
    flex-direction: column;
    border-radius: 12px;
  }

  .mp-dir-search button {
    border-radius: 0 0 10px 10px;
  }
}
