/* Service Centers page: follows the site's standard look (see distributors / contact pages) */
.scx { --o1: #FF971D; --o2: #FF7918; --ink: #333; --body: #616161; --mute: #888; --line: #e8e8e8; line-height: 1.5; }
.scx *, .scx *::before, .scx *::after { box-sizing: border-box; }
.scx-hero-p { max-width: 900px; margin: 0 auto; }

/* ---------- Filter bar ---------- */
.scx-bar { position: sticky; z-index: 50; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.scx-bar-in { max-width: 1140px; margin: 0 auto; padding: 14px 12px; display: grid; grid-template-columns: 1fr 230px 230px auto; gap: 12px; align-items: center; }
.scx-search { position: relative; }
.scx-search > i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--o1); font-size: 14px; pointer-events: none; }
.scx-search input { width: 100%; height: 46px; border: 1px solid #ddd; border-radius: 8px; padding: 0 40px 0 42px; font: inherit; font-size: 14.5px; color: var(--ink); background: #fff; transition: border-color .2s; }
.scx-search input:focus { outline: none; border-color: var(--o1); }
.scx-search .x { all: unset; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; display: none; place-items: center; cursor: pointer; color: #999; }
.scx-search .x:hover { color: var(--ink); }
.scx-search.has .x { display: grid; }

/* custom dropdown */
.scx-dd { position: relative; }
.scx-dd-btn { all: unset; box-sizing: border-box; width: 100%; height: 46px; border: 1px solid #ddd; border-radius: 8px; background: #fff; padding: 0 38px 0 14px; cursor: pointer; display: flex; align-items: center; gap: 6px; position: relative; font-size: 14.5px; transition: border-color .2s; }
.scx-dd-btn:hover { border-color: #ccc; }
.scx-dd-btn:focus-visible, .scx-dd.open .scx-dd-btn { border-color: var(--o1); }
.scx-dd-btn small { font-size: 14.5px; color: var(--mute); }
.scx-dd-btn small::after { content: ":"; }
.scx-dd-btn span { color: var(--ink); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.scx-dd-btn::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 1.5px solid #888; border-bottom: 1.5px solid #888; transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.scx-dd.open .scx-dd-btn::after { transform: translateY(-20%) rotate(-135deg); }
.scx-dd.set .scx-dd-btn span { color: var(--o2); }
.scx-dd-panel { position: absolute; top: calc(100% + 6px); left: 0; width: max(100%, 270px); background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.08); padding: 8px; display: none; z-index: 60; }
.scx-dd.open .scx-dd-panel { display: block; }
.scx-dd.right .scx-dd-panel { left: auto; right: 0; }
.scx-dd-find { width: 100%; height: 38px; border: 1px solid #e2e2e2; border-radius: 6px; padding: 0 12px; font: inherit; font-size: 14px; margin-bottom: 6px; color: var(--ink); }
.scx-dd-find:focus { outline: none; border-color: var(--o1); }
.scx-dd-list { list-style: none; margin: 0; padding: 0; max-height: 290px; overflow-y: auto; overscroll-behavior: contain; }
.scx-dd-list li { margin: 0; line-height: 1.35; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 6px; font-size: 14px; color: var(--body); cursor: pointer; }
.scx-dd-list li em { font-style: normal; font-size: 12.5px; color: #aaa; }
.scx-dd-list li.active { background: #fafafa; color: var(--ink); }
.scx-dd-list li[aria-selected="true"] { color: var(--o2); font-weight: 500; }
.scx-dd-list .none { color: var(--mute); cursor: default; justify-content: center; }
.scx-reset { all: unset; padding: 0 6px; font-size: 14px; font-weight: 500; color: var(--o2); cursor: pointer; white-space: nowrap; }
.scx-reset:hover:not(:disabled) { text-decoration: underline; }
.scx-reset:disabled { color: #bbb; cursor: default; }

/* ---------- Results ---------- */
#scx-main, #scx-main .container, .scx-bar { text-align: left; }
.scx-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 32px; }
.scx-count { font-size: 15px; color: var(--body); margin-right: 4px; }
.scx-count b { color: var(--ink); font-weight: 600; }
.scx-chip { all: unset; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 4px 10px 4px 12px; border-radius: 999px; border: 1px solid #ffd3a8; color: var(--o2); background: #fff; cursor: pointer; }
.scx-chip:hover { background: #fff6ee; }
.scx-chip i { font-size: 11px; }
.scx-note { font-size: 14px; color: var(--mute); margin: 6px 0 0; }

.scx-group { margin-top: 40px; }
.scx-group:first-child { margin-top: 20px; }
.scx-group-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 18px; }
.scx-group-h h2 { font-size: 1.6rem; font-weight: 600; color: var(--ink); margin: 0; }
.scx-group-h span { font-size: 14px; color: var(--mute); }
.scx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }

.scx-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 12px; transition: all .3s ease; }
.scx-card:hover { border-color: #d0d0d0; box-shadow: 0 4px 18px rgba(0,0,0,.05); }
.scx-card-top { display: flex; gap: 14px; align-items: flex-start; }
.scx-av { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--o1); display: grid; place-items: center; color: var(--o1); font-size: 17px; }
.scx-card h3 { font-size: 17px; font-weight: 500; line-height: 1.35; color: var(--ink); margin: 2px 0 4px; }
.scx-city { font-size: 13px; color: var(--mute); }
.scx-city i { display: none; }
.scx-tag { display: inline-block; margin-bottom: 4px; font-size: 11.5px; font-weight: 500; color: var(--o2); }
.scx-tag::before { content: "\25CF"; font-size: 8px; margin-right: 6px; vertical-align: 2px; }
.scx-addr { font-size: 14px; line-height: 1.7; color: var(--body); margin: 0; word-break: break-word; }
.scx-addr b { font-weight: 500; color: var(--ink); }
.scx-mail { font-size: 14px; color: var(--body); display: flex; align-items: center; gap: 10px; word-break: break-all; }
.scx-mail i { color: var(--o1); width: 14px; }
.scx-mail a { color: inherit; text-decoration: none; }
.scx-mail a:hover { color: var(--o2); }
.scx-acts { display: flex; gap: 8px 22px; margin-top: auto; padding-top: 14px; border-top: 1px solid #f0f0f0; flex-wrap: wrap; }
.scx-acts a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--ink); transition: color .2s; }
.scx-acts a i { color: var(--o1); }
.scx-acts a:hover { color: var(--o2); }

.scx-empty { text-align: center; padding: 60px 20px; }
.scx-empty .ico { width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%; border: 1.5px solid var(--o1); display: grid; place-items: center; color: var(--o1); font-size: 26px; }
.scx-empty h3 { font-size: 1.4rem; font-weight: 600; margin: 0 0 8px; color: var(--ink); }
.scx-empty p { color: var(--body); margin: 0 0 16px; }
.scx-empty p a { color: var(--o2); }
.scx-empty button { all: unset; cursor: pointer; font-size: 15px; font-weight: 500; color: var(--o2); }
.scx-empty button:hover { text-decoration: underline; }

/* ---------- Help ---------- */
.scx-help-links { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; margin-top: 10px; }
.scx-help-links a { display: flex; flex-direction: column; align-items: center; gap: 14px; text-decoration: none; color: var(--o2); font-weight: 500; font-size: 15px; }
.scx-help-links a span { width: 76px; height: 76px; border-radius: 50%; border: 1.5px solid var(--o1); display: grid; place-items: center; font-size: 24px; color: var(--o1); transition: all .2s; }
.scx-help-links a:hover span { background: var(--o1); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .scx-bar-in { grid-template-columns: 1fr 1fr; }
  .scx-search { grid-column: 1 / -1; }
  .scx-reset { display: none; }
}
@media (max-width: 575px) {
  .scx-bar-in { gap: 8px; padding: 10px 12px; }
  .scx-dd-btn small { display: none; }
  .scx-dd-panel { width: calc(100vw - 24px); }
  .scx-grid { grid-template-columns: 1fr; }
  .scx-group-h h2 { font-size: 1.35rem; }
  .scx-help-links { gap: 28px; }
}
