/*
 * PickTables discovery shortcodes
 * Scoped to the newly added discovery, city directory and city landing views.
 * Uses the established Reserva/PickTables orange, charcoal and white interface.
 */
.reserva-discovery-home,
.reserva-city-landing,
.reserva-city-directory {
  --rd-brand: var(--rv-brand, #ff6b35);
  --rd-brand-dark: var(--rv-brand-dark, #e95720);
  --rd-brand-soft: var(--rv-brand-light, #fff3ed);
  --rd-brand-softer: var(--rv-brand-soft, #fff8f4);
  --rd-ink: var(--rv-text, #101828);
  --rd-muted: var(--rv-text-muted, #667085);
  --rd-light: var(--rv-text-light, #98a2b3);
  --rd-border: var(--rv-border, #e6e9f0);
  --rd-card: #fff;
  --rd-bg: var(--rv-bg, #f6f7fb);
  --rd-success: var(--rv-success, #16a34a);
  --rd-radius-sm: var(--rv-radius-sm, 10px);
  --rd-radius: var(--rv-radius, 14px);
  --rd-radius-lg: var(--rv-radius-lg, 22px);
  --rd-shadow-sm: var(--rv-shadow-sm, 0 1px 3px rgba(16, 24, 40, .08));
  --rd-shadow: var(--rv-shadow, 0 10px 25px rgba(16, 24, 40, .08));
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  color: var(--rd-ink);
  font-family: inherit;
}

.reserva-discovery-home *,
.reserva-city-landing *,
.reserva-city-directory * { box-sizing: border-box; }

.reserva-discovery-home a,
.reserva-city-landing a,
.reserva-city-directory a { text-decoration: none; }

/* Home discovery hero */
.reserva-discovery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin: 24px 0 48px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius-lg);
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 107, 53, .13), transparent 33%),
    linear-gradient(135deg, #fff 0%, var(--rd-brand-softer) 100%);
  box-shadow: var(--rd-shadow);
}

.reserva-discovery-kicker,
.reserva-discovery-heading > div > span {
  display: block;
  margin: 0 0 8px;
  color: var(--rd-brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.3;
  text-transform: uppercase;
}

.reserva-discovery-hero h1,
.reserva-city-hero h1 {
  margin: 0 0 14px;
  color: var(--rd-ink);
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.06;
  letter-spacing: -.035em;
}

.reserva-discovery-hero-copy > p,
.reserva-city-hero > p {
  max-width: 690px;
  margin: 0;
  color: var(--rd-muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.65;
}

.reserva-location-first-search {
  padding: 20px;
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius-lg);
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 24, 40, .09);
}

.reserva-location-button {
  width: 100%;
  min-height: 72px;
  padding: 14px 15px;
  display: flex;
  align-items: center;
  gap: 13px;
  border: 1px solid var(--rd-border) !important;
  border-radius: var(--rd-radius);
  background: var(--rd-brand-softer) !important;
  color: var(--rd-ink) !important;
  text-align: left;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.reserva-location-button:hover,
.reserva-location-button:focus {
  border-color: var(--rd-brand) !important;
  background: var(--rd-brand-soft) !important;
  color: var(--rd-ink) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .13);
  transform: translateY(-1px);
}

.reserva-location-button .dashicons {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: #fff;
  color: var(--rd-brand);
  font-size: 23px;
  line-height: 1;
  box-shadow: var(--rd-shadow-sm);
}

.reserva-location-button strong,
.reserva-location-button small { display: block; }
.reserva-location-button strong { font-size: 14px; }
.reserva-location-button small { margin-top: 3px; color: var(--rd-muted); font-size: 12px; line-height: 1.4; }

.reserva-location-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0;
  color: var(--rd-light);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.reserva-location-divider::before,
.reserva-location-divider::after { content: ""; height: 1px; flex: 1; background: var(--rd-border); }

.reserva-location-city-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.reserva-location-city-row label,
.reserva-city-search label {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--rd-ink);
  font-size: 12px;
  font-weight: 700;
}

.reserva-location-city-row select,
.reserva-city-search input,
.reserva-city-search select {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 9px 12px;
  border: 1.5px solid var(--rd-border);
  border-radius: var(--rd-radius-sm);
  background: #fff;
  color: var(--rd-ink);
  font: inherit;
  box-shadow: none;
  outline: 0;
}

.reserva-location-city-row select:focus,
.reserva-city-search input:focus,
.reserva-city-search select:focus {
  border-color: var(--rd-brand);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .13);
}

.reserva-location-city-row .reserva-btn-primary,
.reserva-city-search .reserva-btn-primary {
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid var(--rd-brand) !important;
  border-radius: var(--rd-radius-sm);
  background: var(--rd-brand) !important;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: none;
}

.reserva-location-city-row .reserva-btn-primary:hover,
.reserva-city-search .reserva-btn-primary:hover {
  border-color: var(--rd-brand-dark) !important;
  background: var(--rd-brand-dark) !important;
  color: #fff !important;
}

.reserva-discovery-status {
  min-height: 18px;
  margin: 10px 0 0 !important;
  color: var(--rd-success) !important;
  font-size: 12px !important;
  line-height: 1.4;
}
.reserva-discovery-status.is-error { color: #b42318 !important; }

/* Shared section headings */
.reserva-discovery-section,
.reserva-city-directory,
.reserva-city-explore,
.reserva-city-copy { margin: 0 0 48px; }

.reserva-discovery-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 20px;
}

.reserva-discovery-heading h2,
.reserva-city-explore > h2,
.reserva-city-copy > h2 {
  margin: 0;
  color: var(--rd-ink);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.reserva-discovery-heading > a,
.reserva-discovery-heading > strong {
  flex: 0 0 auto;
  color: var(--rd-brand-dark);
  font-size: 13px;
  font-weight: 800;
}

/* Restaurant cards */
.reserva-discovery-venue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.reserva-discovery-venue-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius-lg);
  background: var(--rd-card);
  box-shadow: var(--rd-shadow-sm);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.reserva-discovery-venue-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 107, 53, .42);
  box-shadow: var(--rd-shadow);
}

.reserva-discovery-card-image {
  position: relative;
  display: block;
  height: 210px;
  overflow: hidden;
  background: var(--rd-bg);
}

.reserva-discovery-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .25s ease;
}
.reserva-discovery-venue-card:hover .reserva-discovery-card-image img { transform: scale(1.025); }

.reserva-discovery-card-image > span {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(16, 24, 40, .82);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  backdrop-filter: blur(7px);
}

.reserva-discovery-card-body { padding: 18px; }
.reserva-discovery-card-body h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.3; }
.reserva-discovery-card-body h3 a { color: var(--rd-ink); }
.reserva-discovery-card-body h3 a:hover { color: var(--rd-brand-dark); }

.reserva-discovery-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 10px;
  color: var(--rd-muted);
  font-size: 12px;
}
.reserva-discovery-card-meta strong { color: #b54708; }
.reserva-discovery-card-meta span:not(:last-child)::after { content: "•"; margin-left: 10px; color: var(--rd-light); }
.reserva-discovery-card-body p { margin: 0 0 14px; color: var(--rd-muted); font-size: 13px; line-height: 1.6; }

.reserva-discovery-times { display: flex; flex-wrap: wrap; gap: 7px; }
.reserva-discovery-times a {
  min-height: 34px;
  padding: 7px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 107, 53, .34);
  border-radius: 9px;
  background: var(--rd-brand-softer);
  color: var(--rd-brand-dark);
  font-size: 12px;
  font-weight: 800;
}
.reserva-discovery-times a:hover { border-color: var(--rd-brand); background: var(--rd-brand); color: #fff; }
.reserva-discovery-times a.is-secondary { border-color: var(--rd-border); background: #fff; color: var(--rd-ink); }

/* City directory */
.reserva-directory-tabs {
  margin-bottom: 14px;
  border-bottom: 1px solid var(--rd-border);
}
.reserva-directory-tabs button {
  margin: 0 0 -1px;
  padding: 11px 2px;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  background: transparent !important;
  color: var(--rd-muted) !important;
  font-size: 13px;
  font-weight: 800;
}
.reserva-directory-tabs button.is-active { border-bottom-color: var(--rd-brand) !important; color: var(--rd-ink) !important; }

.reserva-city-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.reserva-city-columns > div { display: grid; gap: 10px; align-content: start; }

.reserva-city-accordion {
  overflow: hidden;
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius);
  background: #fff;
  box-shadow: var(--rd-shadow-sm);
}

.reserva-city-accordion summary {
  min-height: 60px;
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--rd-ink);
  cursor: pointer;
  list-style: none;
}
.reserva-city-accordion summary::-webkit-details-marker { display: none; }
.reserva-city-accordion summary::after { content: "+"; color: var(--rd-brand); font-size: 20px; font-weight: 500; }
.reserva-city-accordion[open] summary::after { content: "−"; }
.reserva-city-accordion summary span { font-size: 14px; font-weight: 800; }
.reserva-city-accordion summary small { margin-left: auto; color: var(--rd-muted); font-size: 11px; font-weight: 600; }

.reserva-city-accordion-links {
  padding: 0 15px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  border-top: 1px solid var(--rd-border);
  padding-top: 12px;
}
.reserva-city-accordion-links a,
.reserva-city-link-list a,
.reserva-city-filter-chips a {
  padding: 7px 10px;
  border: 1px solid var(--rd-border);
  border-radius: 999px;
  background: #fff;
  color: var(--rd-ink);
  font-size: 12px;
  font-weight: 700;
}
.reserva-city-accordion-links a:hover,
.reserva-city-link-list a:hover,
.reserva-city-filter-chips a:hover { border-color: var(--rd-brand); background: var(--rd-brand-softer); color: var(--rd-brand-dark); }

/* City landing page */
.reserva-city-hero {
  margin: 24px 0 20px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius-lg);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 107, 53, .15), transparent 30%),
    linear-gradient(135deg, #fff, var(--rd-brand-softer));
  box-shadow: var(--rd-shadow);
}

.reserva-city-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
  color: var(--rd-muted);
  font-size: 12px;
}
.reserva-city-breadcrumb a { color: var(--rd-brand-dark); font-weight: 700; }
.reserva-city-breadcrumb strong { color: var(--rd-ink); }

.reserva-city-search {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 10px;
  align-items: end;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius);
  background: #fff;
  box-shadow: var(--rd-shadow-sm);
}

.reserva-city-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px;
}

.reserva-city-explore {
  padding: 24px;
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius-lg);
  background: #fff;
  box-shadow: var(--rd-shadow-sm);
}
.reserva-city-explore > h2 { margin-bottom: 20px; }
.reserva-city-explore-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.reserva-city-explore-grid > div {
  padding: 18px;
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius);
  background: var(--rd-bg);
}
.reserva-city-explore-grid h3 { margin: 0 0 12px; color: var(--rd-ink); font-size: 15px; }
.reserva-city-link-list { display: flex; flex-wrap: wrap; gap: 7px; }

.reserva-city-copy {
  padding: 26px;
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius-lg);
  background: #fff;
}
.reserva-city-copy > p { margin: 10px 0 22px; color: var(--rd-muted); line-height: 1.7; }
.reserva-city-faqs { display: grid; gap: 10px; }
.reserva-city-faqs details { border: 1px solid var(--rd-border); border-radius: var(--rd-radius); background: var(--rd-bg); }
.reserva-city-faqs summary { padding: 14px 16px; color: var(--rd-ink); font-size: 14px; font-weight: 800; cursor: pointer; }
.reserva-city-faqs p { margin: 0; padding: 0 16px 15px; color: var(--rd-muted); font-size: 13px; line-height: 1.65; }

.reserva-discovery-home .reserva-empty-state,
.reserva-city-landing .reserva-empty-state,
.reserva-city-directory .reserva-empty-state {
  padding: 28px;
  border: 1px dashed var(--rd-border);
  border-radius: var(--rd-radius-lg);
  background: var(--rd-bg);
  color: var(--rd-muted);
  text-align: center;
}
.reserva-discovery-home .reserva-empty-state p,
.reserva-city-landing .reserva-empty-state p { margin: 0; }
.reserva-discovery-home .reserva-hint { display: block; margin-top: 6px; color: var(--rd-light); font-size: 12px; }

@media (max-width: 1050px) {
  .reserva-discovery-hero { grid-template-columns: 1fr; }
  .reserva-discovery-venue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .reserva-city-search { grid-template-columns: repeat(3, 1fr); }
  .reserva-city-search .reserva-btn-primary { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .reserva-discovery-home,
  .reserva-city-landing,
  .reserva-city-directory { width: min(100% - 20px, 1240px); }
  .reserva-discovery-hero,
  .reserva-city-hero { margin-top: 12px; padding: 24px 18px; border-radius: 18px; }
  .reserva-location-first-search { padding: 15px; border-radius: 16px; }
  .reserva-location-city-row,
  .reserva-city-search { grid-template-columns: 1fr; }
  .reserva-location-city-row .reserva-btn-primary,
  .reserva-city-search .reserva-btn-primary { width: 100%; grid-column: auto; }
  .reserva-discovery-heading { align-items: flex-start; flex-direction: column; }
  .reserva-discovery-venue-grid,
  .reserva-city-columns,
  .reserva-city-explore-grid { grid-template-columns: 1fr; }
  .reserva-discovery-card-image { height: 220px; }
  .reserva-city-explore,
  .reserva-city-copy { padding: 18px; border-radius: 18px; }
}

@media (max-width: 460px) {
  .reserva-discovery-hero h1,
  .reserva-city-hero h1 { font-size: 32px; }
  .reserva-discovery-venue-grid { gap: 14px; }
  .reserva-discovery-card-image { height: 190px; }
  .reserva-city-accordion summary { align-items: flex-start; flex-direction: column; gap: 3px; }
  .reserva-city-accordion summary small { margin-left: 0; }
}

/* 2.6.3 location-first SaaS discovery */
.reserva-discovery-home-v2 {
  --rd-focus: 0 0 0 4px rgba(255, 107, 53, .14);
}

.reserva-discovery-home-v2 .reserva-discovery-hero-v2 {
  grid-template-columns: minmax(0, .92fr) minmax(520px, 1.08fr);
  gap: clamp(32px, 5vw, 70px);
  margin-bottom: 34px;
  padding: clamp(34px, 5vw, 64px);
  background:
    radial-gradient(circle at 0 0, rgba(255, 107, 53, .16), transparent 31%),
    radial-gradient(circle at 94% 14%, rgba(37, 99, 235, .08), transparent 28%),
    linear-gradient(135deg, #fff 0%, #fffaf7 100%);
}

.reserva-discovery-home-v2 .reserva-discovery-hero-copy {
  align-self: center;
}

.reserva-discovery-home-v2 .reserva-discovery-hero h1 {
  max-width: 680px;
  font-size: clamp(38px, 4.3vw, 61px);
}

.reserva-discovery-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 24px;
}

.reserva-discovery-benefits > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--rd-ink);
  font-size: 12px;
  font-weight: 750;
}

.reserva-discovery-benefits .dashicons {
  width: 18px;
  height: 18px;
  color: var(--rd-brand);
  font-size: 18px;
}

.reserva-discovery-home-v2 .reserva-location-first-search {
  position: relative;
  padding: 22px;
  border-color: rgba(16, 24, 40, .1);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(16, 24, 40, .13);
}

.reserva-location-search-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.reserva-location-search-header > div {
  display: grid;
  gap: 3px;
}

.reserva-location-search-label {
  color: var(--rd-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.reserva-location-search-header strong {
  color: var(--rd-ink);
  font-size: 15px;
  line-height: 1.3;
}

.reserva-location-privacy {
  min-height: 28px;
  padding: 6px 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 999px;
  background: #f2f4f7;
  color: var(--rd-muted);
  font-size: 10px;
  font-weight: 750;
  white-space: nowrap;
}

.reserva-location-privacy .dashicons {
  width: 13px;
  height: 13px;
  font-size: 13px;
}

.reserva-discovery-home-v2.has-location .reserva-location-privacy {
  background: #ecfdf3;
  color: #067647;
}

.reserva-discovery-home-v2 .reserva-location-button {
  min-height: 78px;
  padding: 15px;
  border-color: rgba(255, 107, 53, .28) !important;
  background: linear-gradient(135deg, #fff7f2, #fff) !important;
}

.reserva-discovery-home-v2.has-location .reserva-location-button {
  border-color: #a6f4c5 !important;
  background: linear-gradient(135deg, #ecfdf3, #fff) !important;
}

.reserva-location-button-arrow {
  margin-left: auto;
  flex: 0 0 auto !important;
  width: 20px !important;
  height: 20px !important;
  background: transparent !important;
  color: var(--rd-muted) !important;
  box-shadow: none !important;
  font-size: 20px !important;
}

.reserva-discovery-search-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.reserva-discovery-search-grid label {
  display: grid;
  gap: 6px;
  margin: 0;
  color: var(--rd-ink);
  font-size: 11px;
  font-weight: 750;
}

.reserva-discovery-search-grid input,
.reserva-discovery-search-grid select {
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid var(--rd-border);
  border-radius: 11px;
  background: #fff;
  color: var(--rd-ink);
  font: inherit;
  outline: 0;
}

.reserva-discovery-search-grid input:focus,
.reserva-discovery-search-grid select:focus {
  border-color: var(--rd-brand);
  box-shadow: var(--rd-focus);
}

.reserva-location-search-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
}

.reserva-location-search-actions .reserva-btn-primary {
  min-height: 48px;
  padding: 10px 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--rd-brand) !important;
  border-radius: 11px;
  background: var(--rd-brand) !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.reserva-location-search-actions .reserva-btn-primary:disabled {
  border-color: #d0d5dd !important;
  background: #eaecf0 !important;
  color: #98a2b3 !important;
  cursor: not-allowed;
}

.reserva-location-search-actions .reserva-btn-primary:not(:disabled):hover {
  border-color: var(--rd-brand-dark) !important;
  background: var(--rd-brand-dark) !important;
}

.reserva-location-advanced-link {
  color: var(--rd-brand-dark);
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.reserva-discovery-home-v2 .reserva-location-divider {
  margin: 17px 0 12px;
}

.reserva-discovery-home-v2 .reserva-location-city-row .reserva-btn-secondary {
  min-height: 48px;
  padding: 10px 15px;
  border: 1px solid var(--rd-border) !important;
  border-radius: 11px;
  background: #fff !important;
  color: var(--rd-ink) !important;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.reserva-discovery-home-v2 .reserva-location-city-row .reserva-btn-secondary:hover {
  border-color: rgba(255, 107, 53, .45) !important;
  background: var(--rd-brand-softer) !important;
  color: var(--rd-brand-dark) !important;
}

.reserva-discovery-home-v2 .is-loading .dashicons,
.reserva-discovery-home-v2 button.is-loading .dashicons {
  animation: reservaDiscoverySpin .75s linear infinite;
}

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

.reserva-nearby-availability {
  scroll-margin-top: 24px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--rd-border);
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #fcfcfd);
  box-shadow: 0 16px 45px rgba(16, 24, 40, .07);
}

.reserva-nearby-availability .reserva-discovery-heading {
  align-items: flex-start;
}

.reserva-discovery-heading-copy {
  max-width: 690px;
  margin: 8px 0 0;
  color: var(--rd-muted);
  font-size: 13px;
  line-height: 1.6;
}

.reserva-distance-meta {
  color: #067647 !important;
  font-weight: 750;
}

.reserva-discovery-skeleton {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.reserva-discovery-skeleton > div {
  min-height: 360px;
  border: 1px solid var(--rd-border);
  border-radius: 22px;
  background:
    linear-gradient(100deg, transparent 35%, rgba(255,255,255,.78) 50%, transparent 65%) 0 0 / 200% 100%,
    linear-gradient(#eceff3 0 0) 0 0 / 100% 210px no-repeat,
    linear-gradient(#f2f4f7 0 0) 18px 232px / 55% 18px no-repeat,
    linear-gradient(#f2f4f7 0 0) 18px 264px / 78% 12px no-repeat,
    linear-gradient(#fff 0 0);
  animation: reservaDiscoveryShimmer 1.1s linear infinite;
}

@keyframes reservaDiscoveryShimmer {
  to { background-position: -200% 0, 0 0, 18px 232px, 18px 264px, 0 0; }
}

/* Custom pre-permission prompt. The browser prompt is triggered only after the user chooses Use my location. */
body.reserva-location-consent-open {
  overflow: hidden;
}

.reserva-location-consent[hidden] {
  display: none !important;
}

.reserva-location-consent {
  position: fixed;
  inset: 0;
  z-index: 100080;
  padding: 20px;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, .58);
  backdrop-filter: blur(7px);
}

.reserva-location-consent-card {
  position: relative;
  width: min(560px, 100%);
  padding: 30px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 32px 100px rgba(15, 23, 42, .33);
}

.reserva-location-consent-icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  background: var(--rd-brand-soft);
  color: var(--rd-brand);
}

.reserva-location-consent-icon .dashicons {
  width: 29px;
  height: 29px;
  font-size: 29px;
}

.reserva-location-consent-copy h2 {
  margin: 2px 0 8px;
  color: var(--rd-ink);
  font-size: clamp(23px, 4vw, 31px);
  line-height: 1.2;
  letter-spacing: -.025em;
}

.reserva-location-consent-copy p {
  margin: 0;
  color: var(--rd-muted);
  font-size: 13px;
  line-height: 1.65;
}

.reserva-location-consent-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.reserva-location-consent-actions button {
  min-height: 46px;
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.reserva-location-consent-actions .reserva-btn-primary {
  border: 1px solid var(--rd-brand) !important;
  background: var(--rd-brand) !important;
  color: #fff !important;
}

.reserva-location-consent-actions .reserva-btn-secondary {
  border: 1px solid var(--rd-border) !important;
  background: #fff !important;
  color: var(--rd-ink) !important;
}

.reserva-location-consent-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0 !important;
  border-radius: 10px;
  background: #f2f4f7 !important;
  color: var(--rd-muted) !important;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.reserva-location-consent-close:hover {
  background: var(--rd-brand-soft) !important;
  color: var(--rd-brand-dark) !important;
}

@media (max-width: 1100px) {
  .reserva-discovery-home-v2 .reserva-discovery-hero-v2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .reserva-discovery-home-v2 .reserva-discovery-hero-v2 {
    padding: 25px 18px;
  }
  .reserva-discovery-search-grid {
    grid-template-columns: 1fr 1fr;
  }
  .reserva-discovery-skeleton {
    grid-template-columns: 1fr;
  }
  .reserva-discovery-skeleton > div:nth-child(n+2) {
    display: none;
  }
  .reserva-nearby-availability {
    padding: 18px;
    border-radius: 18px;
  }
}

@media (max-width: 540px) {
  .reserva-discovery-search-grid,
  .reserva-location-city-row {
    grid-template-columns: 1fr;
  }
  .reserva-location-search-actions,
  .reserva-location-consent-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .reserva-location-search-actions .reserva-btn-primary,
  .reserva-location-consent-actions button {
    width: 100%;
  }
  .reserva-location-advanced-link {
    text-align: center;
  }
  .reserva-location-consent-card {
    padding: 25px 19px 20px;
    grid-template-columns: 1fr;
    text-align: center;
  }
  .reserva-location-consent-icon {
    margin: 0 auto;
  }
  .reserva-location-consent-copy .reserva-discovery-kicker {
    padding: 0 34px;
  }
}

/* Searchable UK city directory */
.reserva-city-directory-heading p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--rd-muted);
  font-size: 14px;
  line-height: 1.6;
}

.reserva-city-directory-tools {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.reserva-city-directory-search-wrap {
  position: relative;
  width: min(100%, 680px);
}

.reserva-city-directory-search-wrap .dashicons {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  color: var(--rd-muted);
  font-size: 18px;
  pointer-events: none;
}

.reserva-city-directory-search-wrap input[type="search"] {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 14px 10px 42px;
  border: 1px solid var(--rd-border);
  border-radius: var(--rd-radius);
  outline: none;
  background: #fff;
  color: var(--rd-ink);
  font: inherit;
  box-shadow: var(--rd-shadow-sm);
}

.reserva-city-directory-search-wrap input[type="search"]:focus {
  border-color: var(--rd-brand);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, .13);
}

.reserva-city-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.reserva-city-keywords button {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid var(--rd-border);
  border-radius: 999px;
  background: #fff;
  color: var(--rd-muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.reserva-city-keywords button:hover,
.reserva-city-keywords button.is-active {
  border-color: var(--rd-brand);
  background: var(--rd-brand-softer);
  color: var(--rd-brand-dark);
}

.reserva-city-summary-name {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.reserva-city-accordion summary .reserva-city-summary-name strong {
  overflow: hidden;
  color: var(--rd-ink);
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reserva-city-accordion summary .reserva-city-summary-name em {
  overflow: hidden;
  color: var(--rd-muted);
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reserva-city-accordion.is-coming-soon summary small {
  color: var(--rd-brand-dark);
}

.reserva-city-coming-soon-copy {
  color: var(--rd-muted);
  font-size: 12px;
  line-height: 1.55;
}

.reserva-city-directory-empty {
  margin-top: 18px;
  padding: 20px;
  border: 1px dashed var(--rd-border);
  border-radius: var(--rd-radius);
  background: var(--rd-brand-softer);
  text-align: center;
}

.reserva-city-directory-empty p {
  margin: 0 0 4px;
  color: var(--rd-ink);
  font-weight: 800;
}

.reserva-city-directory-empty span {
  color: var(--rd-muted);
  font-size: 13px;
}
