/* Minified Brands Page styles (Font Awesome removed; SVG-based icons) */
:root {
  --font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --surface-color: #fff;
  --background-color: #f7f9fc;
  --body-color: #394150;
  --heading-color: #0f172a;
  --border-color: #e5e7eb;
  --brand-blue: #3b5da7;
  --icon-chip-bg: #eaf1ff;
  --cta-red: #d91c1c;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-family);
  background-color: var(--surface-color);
  color: var(--body-color);
  line-height: 1.7;
}
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}
section {
  padding: 100px 0;
}
h1,
h2,
h3,
h4 {
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.3;
}
h1 {
  font-size: 48px;
  font-weight: 800;
}
h2 {
  font-size: 40px;
  font-weight: 800;
}
h3 {
  font-size: 24px;
}
.section-heading {
  text-align: center;
  margin-bottom: 60px;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  height: 52px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 9999px;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
  border: none;
}
.cta-button.red {
  background: #d91c1c;
  color: #fff;
}
.cta-button.red:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(217, 28, 28, 0.3);
}
.cta-button.red:focus-visible {
  outline: 3px solid var(--brand-blue);
  outline-offset: 2px;
}
/* HERO */
.hero-section {
  padding: 120px 0;
  background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.6)),
    url("https://images.unsplash.com/photo-1621905252507-b35492cc74b4?q=80&w=2069&auto=format&fit=crop")
      center/cover no-repeat;
  color: #fff;
  text-align: center;
}
.hero-section h1 {
  color: #fff;
  margin-bottom: 20px;
}
.hero-section .description {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}
.google-rating-widget {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 20px;
  border-radius: 50px;
}
.google-rating-widget .stars {
  color: #fbbc05;
}
.google-rating-widget .stars svg {
  width: 20px;
  height: 20px;
}
.map-column {
  border-radius: 8px;
  overflow: hidden;
  height: 300px;
}
/* Brand detail intro section (Elementor/ACF before template) */
.elementor-section {
  box-sizing: border-box;
}
.elementor-widget-container h1,
.elementor-widget-container h2,
.elementor-widget-container h3,
.elementor-widget-container h4 {
  color: var(--heading-color);
  font-weight: 700;
  line-height: 1.3;
}
.elementor-widget-container h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
}
.elementor-widget-container p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--body-color);
  margin-bottom: 16px;
}
.elementor-widget-container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.elementor-widget-container iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 8px;
}
.elementor-section .elementor-container {
  max-width: 1280px;
  margin: 0 auto;
}
/* Ensure brand intro grid layouts work */
.elementor-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.elementor-column {
  flex: 1;
  min-width: 280px;
}
/* Ensure embedded maps scale to container width on mobile */
.reliable-repairs-section .map-column iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Services overview */
.services-overview {
  background: var(--background-color);
}
.services-overview-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.overview-copy h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--heading-color);
  line-height: 1.2;
  margin-bottom: 20px;
}
.overview-copy p {
  font-size: 18px;
  margin-bottom: 28px;
  max-width: 500px;
}
.why-choose-content .subheading {
  font-size: 20px;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 16px;
}
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.why-choose-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
  min-height: 160px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.why-choose-card:hover,
.why-choose-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
  border-color: rgba(59, 93, 167, 0.4);
}
.why-choose-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--icon-chip-bg));
  transition: width 0.2s;
}
.why-choose-card:hover::after,
.why-choose-card:focus-within::after {
  width: 100%;
}
.why-choose-card .icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--icon-chip-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.2s;
}
.why-choose-card:hover .icon-wrapper {
  transform: scale(1.05);
}
.why-choose-card .icon-wrapper svg {
  width: 20px;
  height: 20px;
  fill: var(--brand-blue);
}
.why-choose-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--heading-color);
}
.why-choose-card p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--body-color);
}
/* Reliable repairs (Image + overlay) */
.reliable-repairs-section {
  background: #fff;
}
.repairs-header {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
}
.repairs-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.image-column {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  height: 300px;
}
.technician-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.image-column:hover .technician-image {
  transform: scale(1.05);
}
.image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.image-column.is-active .image-overlay {
  opacity: 1;
  visibility: visible;
}
.overlay-content h4 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}
.overlay-content ul {
  list-style: none;
  margin: 0 0 24px 0;
  padding: 0;
}
.overlay-content li {
  color: #fff;
  opacity: 0.95;
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.6;
}
.overlay-content li .li-check {
  width: 16px;
  height: 16px;
  fill: #34d399;
  margin-top: 4px;
  flex: 0 0 auto;
}
.overlay-cta {
  display: inline-block;
  text-decoration: none;
  background: var(--cta-red);
  color: #fff;
  padding: 12px 24px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.overlay-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(217, 28, 28, 0.4);
}
.close-overlay-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
}
/* Brand selector */
.brands-section-v2 {
  background: var(--background-color);
}
.brand-selector-component {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.selector-bar {
  display: flex;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 6px;
  transition: border-color 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 11;
}
.brand-selector-component.is-open .selector-bar {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(59, 93, 167, 0.2);
  background: #fff;
}
#brand-selector-trigger {
  flex-grow: 1;
  height: 44px;
  padding: 0 16px;
  font-size: 16px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
}
#brand-selector-trigger .placeholder {
  color: #9ca3af;
}
#brand-selector-trigger .chevron {
  transition: transform 0.2s;
  color: var(--body-color);
  width: 16px;
  height: 16px;
}
.brand-selector-component.is-open #brand-selector-trigger .chevron {
  transform: rotate(180deg);
}
.selector-search-wrapper {
  position: relative;
}
#brand-search-input {
  width: 250px;
  height: 44px;
  background: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0 16px 0 40px;
  font-size: 15px;
}
.selector-search-wrapper .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--body-color);
  width: 16px;
  height: 16px;
}
.selector-panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  z-index: 10;
  overflow: hidden;
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}
.brand-selector-component.is-open .selector-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.brand-selector-component .panel-header {
  padding: 8px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: stretch;
}
.brand-selector-component .panel-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}
.brand-selector-component .panel-header .selector-search-wrapper {
  width: 100%;
}
.brand-selector-component .panel-header .selector-search-wrapper input {
  width: 100%;
}
.brand-selector-component .selector-search-wrapper.in-panel-header {
  margin: 0;
}
.brand-selector-component .panel-tab {
  flex-grow: 1;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 600;
  background: none;
  border: 1px solid transparent;
  color: var(--body-color);
  border-radius: 8px;
  cursor: pointer;
}
.brand-selector-component .panel-tab[aria-selected="true"] {
  background: #eaf1ff;
  color: var(--brand-blue);
}
.brand-selector-component .panel-body {
  padding: 8px;
}
.brand-selector-component .brand-list {
  display: none;
  max-height: 280px;
  overflow-y: auto;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.brand-selector-component .brand-list.active {
  display: grid;
}
.brand-selector-component .brand-item {
  padding: 10px 12px;
  text-align: left;
  font-weight: 500;
  color: var(--heading-color);
  border-radius: 6px;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
}
.brand-selector-component .brand-item:hover,
.brand-selector-component .brand-item:focus {
  background: var(--background-color);
  outline: none;
}
.brand-selector-component .selector-bar .selector-trigger-wrapper {
  min-width: 0;
}
@media (min-width: 768px) {
  .brand-selector-component .panel-header {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .brand-selector-component .panel-header .panel-tabs {
    display: flex;
    flex: 1 1 auto;
  }
  .brand-selector-component .panel-header .selector-search-wrapper {
    flex: 0 0 280px;
    max-width: 320px;
  }
}
#empty-state {
  text-align: center;
  padding: 40px;
  display: none;
}
#brand-card-output {
  margin-top: 24px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 24px;
}
.card-contents {
  display: flex;
  align-items: center;
  gap: 24px;
}
.card-logo {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  background: var(--background-color);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.card-cta {
  margin-left: auto;
  background: var(--brand-blue);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
.card-cta:hover {
  filter: brightness(1.05);
}
/* Common services + overlay */
.common-services-section {
  background: var(--background-color);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card-image-wrapper {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s, filter 0.2s;
}
.card-content {
  padding: 20px;
  flex-grow: 1;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  border-color: rgba(59, 93, 167, 0.3);
}
.service-card:hover img {
  transform: scale(1.02);
  filter: brightness(1.03);
}
.special-card {
  cursor: pointer;
}
.view-all-container {
  text-align: center;
  margin-top: 40px;
}
#view-all-services-btn {
  background: var(--brand-blue);
  color: #fff;
  border-radius: 12px;
}
#view-all-services-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(59, 93, 167, 0.3);
}
.view-all-subcopy {
  margin-top: 16px;
  font-size: 14px;
}
.all-services-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.all-services-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.all-services-overlay .overlay-content {
  background: var(--background-color);
  border-radius: 16px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  max-width: 1280px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(10px);
  transition: transform 0.3s;
}
.all-services-overlay.is-open .overlay-content {
  transform: translateY(0);
}
.overlay-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
}
.overlay-header .title-group {
  flex-grow: 1;
}
.search-bar-wrapper {
  position: relative;
  margin: 0 24px;
}
.search-bar-wrapper svg {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--body-color);
  width: 16px;
  height: 16px;
}
.search-bar-wrapper input {
  padding: 10px 12px 10px 36px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  width: 300px;
}
.close-overlay-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--body-color);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.overlay-body {
  padding: 24px;
  overflow-y: auto;
  flex-grow: 1;
}
.sub-service-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  background: #fff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.sub-service-panel.is-open {
  transform: translateX(0);
}
.sub-service-panel .panel-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
}
.sub-service-panel .panel-body {
  padding: 24px;
}
/* Force black titles & subtitles */
.service-card h4,
.service-card p {
  color: #000 !important;
}
.service-card:hover h4,
.service-card:hover p {
  color: #000 !important;
}
.service-card,
.service-card:link,
.service-card:visited {
  color: inherit;
  text-decoration: none;
}
/* Final CTA */
.final-cta-section {
  padding-bottom: 100px;
  background: #fff;
}
.final-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.final-cta-grid .map-container {
  position: relative;
  height: 500px;
}
.final-cta-grid .map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 10px;
}
/* Responsive */
@media (max-width: 1199px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 992px) {
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 32px;
  }
  section {
    padding: 80px 0;
  }
  .final-cta-grid,
  .repairs-header {
    grid-template-columns: 1fr;
  }
  .repairs-content-grid {
    grid-template-columns: 1fr;
  }
  .overview-copy h2 {
    font-size: 36px;
  }
  .overview-copy p {
    font-size: 17px;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .elementor-widget-container h2 {
    font-size: 32px;
  }
  .elementor-column {
    flex: 100%;
    min-width: 100%;
  }
  .elementor-row {
    flex-direction: column;
  }
}
@media (max-width: 767px) {
  .services-overview {
    padding: 72px 0;
  }
  .services-overview-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  h1 {
    font-size: 32px;
  }
  h2 {
    font-size: 28px;
  }
  section {
    padding: 64px 0;
  }
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  .google-rating-widget {
    flex-wrap: wrap;
  }
  .search-bar-wrapper {
    display: none;
  }
  .sub-service-panel {
    width: 100%;
    height: 60%;
    top: auto;
    bottom: 0;
    transform: translateY(100%);
    border-radius: 16px 16px 0 0;
  }
  #brand-card-output .card-contents {
    flex-direction: column;
    align-items: flex-start;
  }
  #brand-card-output .card-logo {
    width: 64px;
    height: 64px;
  }
  #brand-card-output .card-info h4 {
    font-size: 18px;
  }
  .elementor-widget-container h2 {
    font-size: 28px;
  }
  .elementor-widget-container p {
    font-size: 16px;
  }
  .elementor-widget-container iframe {
    min-height: 240px;
  }
}
@media (max-width: 640px) {
  .brand-selector-component .selector-bar {
    flex-direction: column;
  }
  .brand-selector-component #brand-search-input {
    width: 100%;
  }
  .brand-selector-component .brand-list {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .cta-button {
    width: 100%;
  }
}
/* Accessibility & motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
@media (max-width: 480px) {
  .hero-section {
    padding: 72px 0;
  }
  .hero-section .description {
    font-size: 18px;
  }
  .reliable-repairs-section .map-column {
    height: 240px;
  }
}

/* --- Responsive tweaks for brand selector (better wrapping on tablet widths) --- */
.brand-selector-component .selector-bar {
  flex-wrap: wrap;
  align-items: stretch;
}
/* Let both halves flex on medium screens */
.brand-selector-component .selector-bar .selector-trigger-wrapper {
  flex: 1 1 60%;
  min-width: 220px;
}
.brand-selector-component .selector-bar .selector-search-wrapper {
  flex: 1 1 40%;
  min-width: 220px;
}
.brand-selector-component .selector-bar #brand-search-input {
  width: 100%;
  max-width: 100%;
}
@media (max-width: 900px) {
  .brand-selector-component .selector-bar {
    flex-direction: column;
  }
  .brand-selector-component .selector-bar #brand-search-input {
    width: 100%;
  }
}
/* Make brand list adapt more smoothly between breakpoints */
@media (max-width: 860px) {
  .brand-list {
    grid-template-columns: 1fr;
  }
}

/* --- Mobile optimization for Brands selector --- */
/* Keep tabs visible and move scroll to panel body */
.brand-selector-component .selector-panel {
  display: flex;
  flex-direction: column;
  max-height: min(75vh, 560px);
}
.brand-selector-component .panel-header {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 999;
  border-bottom: 1px solid var(--border-color);
}
.brand-selector-component .selector-panel,
.brand-selector-component .panel-header {
  box-sizing: border-box;
}
/* Ensure panel header has solid background and covers scrolling content */
.brand-selector-component .selector-panel .panel-header {
  background-color: #fff !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.brand-selector-component .panel-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: stretch;
}
.brand-selector-component .panel-tab {
  min-width: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.2;
  text-align: center;
}
.brand-selector-component .panel-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: unset;
}
/* Ensure only panel body scrolls (avoid nested scrollbars) */
.brand-selector-component .panel-body .brand-list {
  max-height: none;
  overflow: visible;
}

/* Improve tap targets on compact screens */
@media (max-width: 767px) {
  .brand-selector-component .brand-item {
    padding: 12px 16px;
    font-size: 16px;
  }
  .brand-selector-component .panel-tab {
    padding: 12px 12px;
  }
  .brand-selector-component .selector-panel {
    max-height: 70vh;
  }
}
@media (max-width: 360px) {
  .panel-tab {
    font-size: 13px;
    padding: 8px 10px;
  }
}

/* Ensure the dropdown panel uses available width on phones and stays fully visible */
@media (max-width: 640px) {
  .brand-selector-component {
    max-width: 100%;
  }
  .selector-panel {
    left: 0;
    right: 0;
    width: calc(100% - 48px);
    margin: 0 24px;
  }
}

/* Make the All Services overlay search visible and usable on mobile */
@media (max-width: 767px) {
  .overlay-header {
    flex-wrap: wrap;
    gap: 12px;
  }
  .overlay-header .search-bar-wrapper {
    display: flex;
    width: 100%;
    margin: 12px 0 0 0;
  }
  .overlay-header .search-bar-wrapper input {
    width: 100%;
  }
}
