.city-hero-note {
  max-width: 860px;
}

.city-hero-tags {
  gap: 10px;
  margin-top: 20px;
}

.city-hero-tags a.pill,
.city-hero-tags .pill {
  transition: transform 0.18s ease, background 0.18s ease;
}

.city-hero-tags a.pill:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.city-hero-form textarea {
  min-height: 112px;
}

.city-layout-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 26px;
  align-items: start;
}

.city-map-card {
  min-height: 100%;
}

.city-map-card iframe {
  min-height: 420px;
}

.city-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.city-mini-card {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
}

.city-mini-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.city-mini-card span {
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
}

#city-prices .table-card,
#city-delivery .table-card,
#city-map .content-card,
#city-map .map-card,
.city-cta-section .cta-card {
  overflow: hidden;
}

.city-product-table th,
.city-product-table td,
.city-addon-table th,
.city-addon-table td {
  vertical-align: middle;
}

.city-product-table td:last-child,
.city-addon-table td:last-child {
  white-space: nowrap;
}

.city-table-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(46, 57, 68, 0.07);
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.city-table-link:hover {
  transform: translateY(-1px);
  background: rgba(240, 138, 36, 0.14);
  color: var(--brand-dark);
}

.city-price-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.city-table-note {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.city-addon-card {
  margin-top: 24px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(107, 89, 79, 0.12);
  background:
    radial-gradient(circle at top right, rgba(240, 138, 36, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 244, 239, 0.88));
}

.city-addon-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.78fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 16px;
}

.city-addon-head h3 {
  margin: 12px 0 0;
  font-size: 26px;
  line-height: 1.12;
}

.city-addon-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}

.city-addon-table-wrap {
  background: rgba(255, 255, 255, 0.52);
}

.city-addon-table .button-outline {
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
}

#city-prices .content-card > .muted {
  margin-top: 18px;
}

.city-route-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
}

.city-route-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.55;
}

.city-route-list li::before {
  content: "";
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--brand);
}

#city-map .section-title {
  margin-bottom: 14px;
}

.city-map-card + .content-card .section-title {
  margin-bottom: 14px;
}

.city-near-title {
  margin: 22px 0 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(107, 89, 79, 0.12);
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.city-near-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.city-near-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(107, 89, 79, 0.12);
  color: var(--accent);
  font-weight: 800;
  line-height: 1.18;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.city-near-item[href]::after {
  content: "→";
  margin-left: 6px;
  color: var(--brand-dark);
}

.city-near-item:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 138, 36, 0.28);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 28px rgba(22, 28, 45, 0.08);
}

.city-prep-card .check-list {
  margin-top: 14px;
  gap: 12px;
}

.city-prep-card .check-list li {
  line-height: 1.55;
}

.city-faq-list {
  display: grid;
  gap: 12px;
}

.city-cta-section .cta-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.city-cta-section .cta-card p {
  margin: 0;
  color: rgba(246, 242, 235, 0.78);
  line-height: 1.65;
  max-width: 760px;
}

.city-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: 0 0 auto;
}

.city-cta-actions .button-outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 1080px) {
  .city-layout-2 {
    grid-template-columns: 1fr;
  }

  .city-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-near-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-addon-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .city-cta-section .cta-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .city-card-grid,
  .city-near-grid {
    grid-template-columns: 1fr;
  }

  .city-map-card iframe {
    min-height: 320px;
  }

  .city-product-table td:last-child,
  .city-addon-table td:last-child {
    white-space: normal;
  }

  .city-price-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .city-price-actions .button,
  .city-price-actions .button-outline {
    width: 100%;
  }

  .city-addon-card {
    padding: 18px;
    margin-top: 18px;
  }

  .city-addon-head h3 {
    font-size: 22px;
  }

  .city-addon-table .button-outline {
    width: fit-content;
  }
}


/* city v3 spacing fixes */
.delivery-city-page .section { padding: 28px 0; }
.delivery-city-page .hero { padding-bottom: 22px; }
.city-product-table .button-outline,
.city-addon-table .button-outline { min-height: 44px; padding: 0 18px; white-space: nowrap; }
@media (max-width: 720px) {
  .city-product-table .button-outline,
  .city-addon-table .button-outline { width: fit-content; }
}


/* city v4 layout fixes */
.city-hero-tags {
  margin-top: 20px;
  margin-bottom: 24px;
  row-gap: 12px;
}
.city-hero-actions {
  margin-top: 0;
  gap: 14px;
}
.city-price-sticky {
  position: sticky;
  top: 120px;
  align-self: start;
}
#city-map .city-layout-2 {
  align-items: stretch;
}
#city-map .city-map-card,
#city-map .city-map-info {
  height: 100%;
}
#city-map .city-map-card {
  display: flex;
  padding: 24px;
}
#city-map .city-map-card iframe {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0 !important;
  border-radius: 18px;
}
@media (max-width: 1080px) {
  .city-price-sticky {
    position: static;
  }
  #city-map .city-map-card,
  #city-map .city-map-info {
    height: auto;
  }
  #city-map .city-map-card iframe {
    height: 360px;
    min-height: 360px !important;
  }
}
@media (max-width: 720px) {
  .city-hero-tags {
    margin-bottom: 20px;
  }
  .city-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  #city-map .city-map-card {
    padding: 16px;
  }
  #city-map .city-map-card iframe {
    height: 320px;
    min-height: 320px !important;
  }
}


/* City price sticky column fix */
.delivery-city-page .page-shell {
  overflow: visible;
}
@supports (overflow: clip) {
  .delivery-city-page .page-shell {
    overflow-x: clip;
    overflow-y: visible;
  }
}
#city-prices,
#city-prices .container,
#city-prices .table-card {
  overflow: visible !important;
}
#city-prices .city-price-sidebar {
  align-self: stretch;
  position: relative;
  min-width: 0;
}
#city-prices .city-price-sticky {
  position: sticky !important;
  top: 132px !important;
  z-index: 5;
  align-self: start;
  overflow: visible !important;
  will-change: transform;
}
@media (max-width: 1080px) {
  #city-prices .city-price-sidebar {
    align-self: auto;
  }
  #city-prices .city-price-sticky {
    position: static !important;
  }
}


/* City price sticky JS fallback: fixed inside price section, absolute at section end */
#city-prices .city-price-sidebar {
  position: relative;
}
#city-prices [data-city-sticky].is-sticky-fixed {
  position: fixed !important;
  top: var(--city-sticky-top, 132px) !important;
  left: var(--city-sticky-left, auto) !important;
  width: var(--city-sticky-width, 360px) !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 30;
}
#city-prices [data-city-sticky].is-sticky-bottom {
  position: absolute !important;
  top: auto !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: auto !important;
  z-index: 5;
}
@media (max-width: 1080px) {
  #city-prices [data-city-sticky].is-sticky-fixed,
  #city-prices [data-city-sticky].is-sticky-bottom {
    position: static !important;
    width: auto !important;
  }
}
