/* Extracted from v3/city-page.html inline <style> blocks: search-filter modal + cities mega menu */
/* =========================================
   ESCX SEARCH FILTER MODAL
   Bootstrap 5.3 | Scoped custom styling
========================================= */


/* Open button */
.escx-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 20px;
    color: var(--escx-white);
    background: linear-gradient(135deg, var(--escx-burgundy), var(--escx-burgundy-2));
    border: 1px solid rgba(216,180,122,.35);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .4px;
    transition: .25s ease;
}

.escx-open-btn:hover {
    color: var(--escx-gold-light);
    box-shadow: 0 8px 24px rgba(143,23,76,.3);
}

/* Modal dimensions */
.escx-modal .escx-modal-dialog {
    width: calc(100% - 28px);
    max-width: 650px;
    margin: 14px auto;
}

.escx-modal .escx-modal-content {
    display: flex;
    max-height: min(92vh, 850px);
    overflow: hidden;
    flex-direction: column;
    color: var(--escx-text);
    background: var(--escx-bg-2);
    border: 1px solid rgba(216,180,122,.25);
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0,0,0,.6);
}

/* Header */
.escx-modal .escx-modal-header {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 18px;
    background: linear-gradient(100deg, #74123d, var(--escx-burgundy));
    border-bottom: 1px solid rgba(216,180,122,.3);
}

.escx-modal-header h5 {
    margin: 0;
    color: var(--escx-white);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .8px;
}

.escx-modal-header h5 i {
    margin-right: 7px;
    color: var(--escx-gold-light);
}

.escx-modal .escx-close-btn {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    color: var(--escx-white);
    background: rgba(0,0,0,.25);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    font-size: 12px;
    transition: .2s ease;
}

.escx-modal .escx-close-btn:hover {
    color: var(--escx-bg);
    background: var(--escx-gold);
}

/* Favourites and alerts */
.escx-modal .escx-quick-actions {
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 12px 13px;
    background: var(--escx-bg);
}

.escx-modal .escx-outline-btn {
    padding: 9px 15px;
    color: var(--escx-text);
    background: var(--escx-card);
    border: 1px solid var(--escx-border);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    transition: .2s ease;
}

.escx-modal .escx-outline-btn i {
    margin-right: 5px;
    color: var(--escx-gold);
}

.escx-modal .escx-outline-btn:hover {
    color: var(--escx-white);
    border-color: var(--escx-burgundy-2);
    background: #24121d;
}

/* Quick filters */
.escx-modal .escx-quick-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 12px 18px 16px;
    background: var(--escx-bg);
    border-bottom: 1px solid var(--escx-border);
}

.escx-modal .escx-quick-filters label,
.escx-modal .escx-extra-checks label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--escx-text);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.escx-modal input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin: 0;
    accent-color: var(--escx-burgundy-2);
    cursor: pointer;
}

/* Scrollable accordion region */
.escx-modal .escx-filter-scroll {
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px;
    background:
        radial-gradient(ellipse at top right, rgba(143,23,76,.09), transparent 45%),
        var(--escx-bg);
}

.escx-modal .escx-filter-scroll::-webkit-scrollbar {
    width: 6px;
}

.escx-modal .escx-filter-scroll::-webkit-scrollbar-track {
    background: var(--escx-bg-2);
}

.escx-modal .escx-filter-scroll::-webkit-scrollbar-thumb {
    background: #5e2942;
    border-radius: 10px;
}

/* Accordion */
.escx-modal .escx-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.escx-modal .escx-accordion-item {
    overflow: hidden;
    color: var(--escx-text);
    background: var(--escx-card);
    border: 1px solid var(--escx-border);
    border-radius: 7px !important;
}

.escx-modal .escx-accordion-button {
    display: flex;
    gap: 12px;
    min-height: 48px;
    padding: 10px 13px;
    color: var(--escx-text);
    background: #19171d;
    box-shadow: none;
}

.escx-modal .escx-accordion-button:not(.collapsed) {
    color: var(--escx-white);
    background: #21171e;
    box-shadow: inset 3px 0 var(--escx-burgundy-2);
}

.escx-modal .escx-accordion-button::after {
    width: 14px;
    height: 14px;
    background-size: 14px;
    filter: invert(1);
    opacity: .8;
}

.escx-modal .escx-section-title {
    flex: 1;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: .5px;
}

.escx-modal .escx-section-title::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 8px 1px 0;
    content: "";
    background: var(--escx-gold);
    border-radius: 50%;
}

.escx-modal .escx-any-label {
    min-width: 100px;
    padding: 8px 12px;
    color: var(--escx-gold-light);
    background: rgba(143,23,76,.22);
    border: 1px solid rgba(169,33,92,.38);
    border-radius: 4px;
    font-size: 16px;
    font-weight: 900;
    text-align: center;
}

.escx-modal .escx-accordion-body {
    padding: 14px;
    border-top: 1px solid var(--escx-border);
}

/* Category grid */
.escx-modal .escx-category-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
}

.escx-modal .escx-category-grid label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 9px 2px;
    color: var(--escx-text);
    border-bottom: 1px solid rgba(255,255,255,.045);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    transition: color .2s ease;
}

.escx-modal .escx-category-grid label:hover {
    color: var(--escx-gold-light);
}

.escx-modal .escx-category-grid input {
    accent-color: var(--escx-burgundy-2);
}

/* Fields */
.escx-modal .escx-filter-fields {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.escx-modal .escx-filter-fields label {
    margin-top: 4px;
    color: var(--escx-muted);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.escx-modal .escx-filter-fields .form-control,
.escx-modal .escx-filter-fields .form-select {
    min-height: 42px;
    color: var(--escx-text);
    background-color: #100e13;
    border: 1px solid #37303a;
    border-radius: 5px;
    font-size: 13px;
}

.escx-modal .escx-filter-fields .form-control:focus,
.escx-modal .escx-filter-fields .form-select:focus {
    border-color: var(--escx-burgundy-2);
    box-shadow: 0 0 0 3px rgba(169,33,92,.15);
}

.escx-modal .escx-filter-fields .form-select option {
    color: var(--escx-text);
    background: var(--escx-bg-2);
}

.escx-modal .escx-extra-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

/* Fixed footer */
.escx-modal .escx-modal-footer {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    flex: 0 0 auto;
    gap: 8px;
    padding: 12px;
    background: #100e13;
    border-top: 1px solid rgba(216,180,122,.2);
}

.escx-modal .escx-footer-btn {
    min-height: 42px;
    padding: 9px 8px;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: .3px;
    transition: .2s ease;
}

.escx-modal .escx-clear-btn {
    color: var(--escx-muted);
    background: transparent;
    border-color: #37303a;
}

.escx-modal .escx-clear-btn:hover {
    color: var(--escx-white);
    border-color: var(--escx-gold);
}

.escx-modal .escx-cancel-btn {
    color: var(--escx-text);
    background: var(--escx-card);
    border-color: #37303a;
}

.escx-modal .escx-cancel-btn:hover {
    color: var(--escx-gold-light);
    border-color: var(--escx-gold);
}

.escx-modal .escx-search-btn {
    color: var(--escx-white);
    background: linear-gradient(135deg, var(--escx-burgundy), var(--escx-burgundy-2));
    border-color: rgba(216,180,122,.25);
}

.escx-modal .escx-search-btn:hover {
    box-shadow: 0 5px 18px rgba(143,23,76,.35);
    filter: brightness(1.12);
}

/* Keyboard focus */
.escx-modal button:focus-visible,
.escx-modal input:focus-visible,
.escx-modal select:focus-visible {
    outline: 2px solid var(--escx-gold);
    outline-offset: 2px;
}

/* Mobile */
@media (max-width: 575.98px) {
    .escx-modal .escx-modal-dialog {
        width: calc(100% - 16px);
        max-width: none;
        margin: 8px auto;
    }

    .escx-modal .escx-modal-content {
        max-height: calc(100dvh - 16px);
        border-radius: 9px;
    }

    .escx-modal .escx-modal-header {
        min-height: 44px;
        padding: 10px 13px;
    }

    .escx-modal-header h5 {
        font-size: 12px;
    }

    .escx-modal .escx-quick-actions {
        gap: 7px;
        padding: 11px 8px;
    }

    .escx-modal .escx-outline-btn {
        padding: 8px 10px;
        font-size: 10px;
    }

    .escx-modal .escx-quick-filters {
        gap: 7px;
        padding: 11px 10px;
    }

    .escx-modal .escx-quick-filters label {
        gap: 5px;
        font-size: 10px;
    }

    .escx-modal .escx-filter-scroll {
        padding: 10px;
    }

    .escx-modal .escx-accordion-button {
        min-height: 44px;
        gap: 6px;
        padding: 8px 9px;
    }

    .escx-modal .escx-section-title {
        font-size: 10px;
    }

    .escx-modal .escx-any-label {
        min-width: 65px;
        padding: 7px 6px;
        font-size: 10px;
    }

    .escx-modal .escx-category-grid {
        gap: 0 9px;
    }

    .escx-modal .escx-category-grid label {
        gap: 6px;
        padding: 9px 0;
        font-size: 16px;
    }

    .escx-modal .escx-category-grid input {
        width: 14px;
        height: 14px;
    }

    .escx-modal .escx-modal-footer {
        gap: 6px;
        padding: 9px;
    }

    .escx-modal .escx-footer-btn {
        min-height: 40px;
        padding: 8px 4px;
        font-size: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .escx-modal *,
    .escx-open-btn {
        transition: none !important;
    }
}


.service-city-box {
  position: absolute;
  width: 100%;
  top: 80px;
  left: 0;
  background: #1e1e1e;
  border-top: 1px solid #444;
  border-bottom: 0 solid #444;
  z-index: 999;
  padding: 0 15px 5px;
}
.service-list,
.city-prime {
  display: none;
}
.list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 5px 12px;
  background: transparent;
  border-bottom: 0px solid #3d3d3d;
  color: #fff;
}
.list-head strong {
  position: relative;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #f5f5f5;
  padding-left: 12px;
}
.list-head strong::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: #BA0D5B;
  border-radius: 3px;
}
.list-head button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #444;
  background: #292929;
  color: #aaa;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.list-head button:hover {
  background: #dc3545;
  border-color: #dc3545;
  color: #fff;
  transform: rotate(90deg);
}
@media (max-width: 576px) {
  .service-city-box {
    top: 87px;
    padding: 0 10px 15px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  .list-head {
    padding: 12px 2px 10px;
  }
  .list-head strong {
    font-size: 15px;
  }
  .list-head strong::before {
    width: 3px;
    height: 17px;
  }
  .list-head button {
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
}
.city-mega-menu {
  background: #1e1e1e;
  padding: 15px 0 15px;
}
.city-wrapper {
  max-width: 1450px;
  margin: auto;
  padding: 0 25px;
}
.city-search-box {
  max-width: 760px;
  margin: 0 auto 24px;
  position: relative;
}
.city-search-box input {
  width: 100%;
  height: 46px;
  border: 1px solid #3a3a3a;
  border-radius: 7px;
  padding: 0 50px 0 16px;
  font-size: 15px;
  color: #eee;
  outline: none;
  background: #252525;
  box-shadow: none;
  transition: all 0.25s ease;
}
.city-search-box input::placeholder {
  color: #888;
}
.city-search-box input:focus {
  border-color: #f50501;
  background: #222;
  box-shadow: 0 0 0 3px rgba(245, 5, 1, 0.1);
}
.city-search-box i {
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #f50501;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-top: 1px solid #303030;
  border-bottom: 1px solid #303030;
}
.city-column {
  min-height: 270px;
  padding: 22px 22px 18px;
  border-right: 1px solid #303030;
  transition: background 0.25s ease;
}
.city-column:last-child {
  border-right: 0;
}
.city-column:hover {
  background: #202020;
}
.city-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  font-size: 17px;
  font-weight: 700;
  color: #f1f1f1;
}
.city-heading:before {
  content: "";
  width: 3px;
  height: 20px;
  background: #BA0D5B;
  border-radius: 3px;
}
.city-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.city-list li {
  margin-bottom: 3px;
}
.city-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 7px;
  margin-left: -7px;
  border-radius: 5px;
  font-weight: normal;
  color: #c8c8c8;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.2s ease;
}
.city-link span {
  color: #777;
  font-size: 13px;
  margin-left: 5px;
}
.city-link i {
  opacity: 0;
  color: #bc0053;
  font-size: 12px;
  transform: translateX(-5px);
  transition: all 0.2s ease;
}
.city-link:hover {
  color: #bc0053;
  background: #292020;
  padding-left: 11px;
}
.city-link:hover i {
  opacity: 1;
  transform: translateX(0);
}
.all-cities-wrap {
  text-align: center;
  margin-top: 15px;
}
.all-cities-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 20px;
  border: 1px solid #f50501;
  border-radius: 6px;
  color: #f50501;
  background: transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.all-cities-btn:hover {
  color: #fff;
  background: #f50501;
  box-shadow: 0 6px 18px rgba(245, 5, 1, 0.2);
}
@media (max-width: 1199px) {
  .city-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .city-column:nth-child(3) {
    border-right: 0;
  }
  .city-column {
    border-bottom: 1px solid #303030;
  }
}
@media (max-width: 767px) {
  .city-mega-menu {
    padding: 18px 0 25px;
  }
  .city-wrapper {
    padding: 0 12px;
  }
  .city-search-box {
    margin-bottom: 16px;
  }
  .city-search-box input {
    height: 44px;
    font-size: 14px;
  }
 
  .city-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .city-column {
    min-height: auto;
    padding: 17px 13px;
  }
  .city-column:nth-child(2n) {
    border-right: 0;
  }
  .city-heading {
    font-size: 15px;
    margin-bottom: 11px;
  }
  .city-link {
    font-size: 13px;
    padding: 7px 5px;
  }
}
@media (max-width: 420px) {
  .city-grid {
    grid-template-columns: 1fr;
  }
  .city-column,
  .city-column:nth-child(3) {
    border-right: 0;
  }
}


