.dealer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dealer-network {
  display: grid;
  grid-template-columns: minmax(390px, 0.92fr) minmax(420px, 1fr);
  gap: 56px;
  align-items: center;
  border-radius: 0;
  background: #f2f4f7;
  padding: 64px;
}

.dealer-domestic-network {
  grid-template-columns: 1fr;
  width: min(var(--detail-max), calc(100vw - 40px));
  gap: 30px;
  align-items: stretch;
  padding: 56px 46px 48px;
}

.dealer-domestic-title {
  max-width: 760px;
}

.dealer-network-title span {
  color: var(--brand-primary);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .02em;
}

.dealer-network-title h2 {
  margin: 12px 0 0;
  color: #111;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.2;
}

.dealer-network-title p {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  color: #333;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
}

.dealer-network-title strong {
  color: var(--brand-primary);
  font-size: 1.18em;
}

.dealer-main-phone a {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 999px;
  background: #16a34a;
  color: #fff;
  box-shadow: 0 12px 24px rgba(22, 163, 74, 0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .dealer-main-phone a:hover {
    background: #12833d;
    box-shadow: 0 16px 28px rgba(22, 163, 74, 0.28);
    transform: translateY(-2px);
  }
}

.dealer-main-phone svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dealer-card-list {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.dealer-card {
  border: 1px solid transparent;
  border-radius: 28px;
  background: #fff;
  padding: 30px 34px;
  cursor: pointer;
  box-shadow: 0 18px 46px rgba(31, 42, 68, 0.08);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dealer-card:focus-visible,
.dealer-card.is-hovered {
  transform: translateY(-4px);
}

@media (hover: hover) and (pointer: fine) {
  .dealer-card:hover {
    transform: translateY(-4px);
  }
}

.dealer-domestic-card.is-active,
.dealer-domestic-card.is-hovered {
  border-color: rgba(0, 157, 154, 0.42);
  background: linear-gradient(135deg, var(--brand-soft) 0%, #fff 74%);
  box-shadow: 0 22px 52px rgba(0, 157, 154, 0.16);
}

.dealer-card > span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-primary);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
}

.dealer-card > span b {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: var(--brand-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.dealer-card h3 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin: 14px 0 18px;
  color: #111;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
}

.dealer-card h3 small {
  color: #4b5563;
  font-size: 18px;
  font-weight: 700;
}

.dealer-card dl {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 9px 14px;
  margin: 0;
}

.dealer-card dt {
  color: #5f6674;
  font-weight: 800;
}

.dealer-card dd {
  min-width: 0;
  margin: 0;
  color: #4b5563;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
}

.dealer-map-stage {
  display: grid;
  justify-items: center;
  min-width: 0;
}

.dealer-domestic-stage {
  width: 100%;
  padding: 8px 0 4px;
}

.dealer-map-canvas {
  position: relative;
  width: min(100%, 486px);
  aspect-ratio: 376 / 592;
}

.dealer-domestic-stage .dealer-map-canvas {
  width: min(100%, 560px);
}

.dealer-map-base {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.98;
}

.dealer-map-pin {
  position: absolute;
  top: var(--y);
  left: var(--x);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #111827;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: none;
  transform: translate(-18px, -74%);
  transition: transform 180ms ease;
}

.dealer-map-pin:focus-visible,
.dealer-map-pin.is-hovered,
.dealer-map-pin.is-active {
  transform: translate(-18px, -82%);
}

@media (hover: hover) and (pointer: fine) {
  .dealer-map-pin:hover {
    transform: translate(-18px, -82%);
  }
}

.dealer-map-pin i {
  display: block;
  width: 30px;
  height: 43px;
  flex: 0 0 auto;
  background: url("../img/legacy/hunect_pin_blue.png") center / contain no-repeat;
  filter: drop-shadow(0 10px 14px rgba(0, 157, 154, 0.18));
}

.dealer-map-pin strong {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border-radius: 999px;
  background: var(--brand-primary);
  color: #fff;
  padding: 0 18px;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(0, 157, 154, 0.18);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dealer-map-pin strong em {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.dealer-map-pin.is-hovered strong,
.dealer-map-pin.is-active strong {
  background: var(--brand-primary-deep);
  box-shadow: 0 16px 30px rgba(0, 157, 154, 0.26);
}

.dealer-map-pin span {
  position: absolute;
  top: calc(100% + 2px);
  left: 42px;
  white-space: nowrap;
  color: #667085;
  font-size: 13px;
  font-weight: 800;
}

.dealer-map-pin.yeongnam {
  transform: translate(-24px, -72%);
}

.dealer-map-pin.yeongnam:focus-visible,
.dealer-map-pin.yeongnam.is-hovered,
.dealer-map-pin.yeongnam.is-active {
  transform: translate(-24px, -80%);
}

@media (hover: hover) and (pointer: fine) {
  .dealer-map-pin.yeongnam:hover {
    transform: translate(-24px, -80%);
  }
}

.dealer-world-network {
  display: grid;
  width: min(var(--detail-max), calc(100vw - 40px));
  gap: 30px;
  border-radius: 0;
  background: #f2f4f7;
  padding: 56px 46px 48px;
}

.dealer-world-title {
  text-align: left;
}

.dealer-world-title p {
  color: #5f6674;
  font-size: 17px;
  font-weight: 600;
}

.dealer-world-stage {
  width: 100%;
  min-height: 0;
}

.dealer-world-canvas {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  aspect-ratio: 1576 / 1102;
}

.dealer-world-base {
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.dealer-world-pin {
  gap: 7px;
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  cursor: pointer;
  transform: translate(-16px, -70%);
}

.dealer-world-pin:focus-visible,
.dealer-world-pin.is-hovered,
.dealer-world-pin.is-active {
  transform: translate(-16px, -80%);
}

@media (hover: hover) and (pointer: fine) {
  .dealer-world-pin:hover {
    transform: translate(-16px, -80%);
  }
}

.dealer-world-pin.shenzhen {
  flex-direction: row-reverse;
  transform: translate(calc(-100% + 16px), -70%);
}

.dealer-world-pin.shenzhen:focus-visible,
.dealer-world-pin.shenzhen.is-hovered,
.dealer-world-pin.shenzhen.is-active {
  transform: translate(calc(-100% + 16px), -80%);
}

@media (hover: hover) and (pointer: fine) {
  .dealer-world-pin.shenzhen:hover {
    transform: translate(calc(-100% + 16px), -80%);
  }
}

.dealer-world-pin i {
  width: 24px;
  height: 35px;
}

.dealer-world-pin strong {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}

.dealer-world-pin span {
  top: calc(100% + 6px);
  left: 50%;
  width: max-content;
  max-width: 220px;
  transform: translateX(-50%);
  border: 1px solid #dfe6f2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #4b5563;
  padding: 5px 9px;
  font-size: 11px;
  line-height: 1.25;
  opacity: 0;
  box-shadow: 0 10px 24px rgba(31, 42, 68, 0.12);
  transition: opacity 160ms ease, transform 160ms ease;
}

.dealer-world-pin:focus-visible span,
.dealer-world-pin.is-hovered span,
.dealer-world-pin.is-active span {
  opacity: 1;
  transform: translateX(-50%) translateY(2px);
}

@media (hover: hover) and (pointer: fine) {
  .dealer-world-pin:hover span {
    opacity: 1;
    transform: translateX(-50%) translateY(2px);
  }
}

.dealer-world-pin.usa strong {
  background: #0b84ca;
}

.dealer-world-pin.shenzhen strong {
  background: #1bb4d5;
}

.dealer-world-pin.taiwan strong {
  background: #1bb4d5;
}

.dealer-card-list-domestic {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 0;
}

.dealer-card-list-overseas {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 0;
}

.dealer-overseas-card {
  border: 1px solid #e4e9f2;
  border-radius: 24px;
  padding: 24px 26px;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.dealer-overseas-card:focus-visible {
  transform: translateY(-6px);
}

@media (hover: hover) and (pointer: fine) {
  .dealer-overseas-card:hover {
    transform: translateY(-6px);
  }
}

.dealer-overseas-card h3 {
  display: block;
  margin-bottom: 14px;
  font-size: 22px;
}

.dealer-overseas-card h3 small {
  display: block;
  margin-top: 5px;
  font-size: 14px;
  line-height: 1.35;
}

.dealer-overseas-card dl {
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 7px 12px;
  font-size: 13px;
}

.dealer-overseas-card dd a {
  color: inherit;
  text-decoration: none;
}

.dealer-overseas-card.is-active,
.dealer-overseas-card.is-hovered {
  border-color: rgba(0, 157, 154, 0.48);
  background: linear-gradient(135deg, var(--brand-soft) 0%, #fff 72%);
  box-shadow: 0 20px 46px rgba(0, 157, 154, 0.14);
  transform: translateY(-6px);
}

@media (hover: hover) and (pointer: fine) {
  .dealer-world-network:has(.dealer-world-pin.taiwan:hover) .dealer-overseas-card[data-dealer-card="taiwan"],
  .dealer-world-network:has(.dealer-world-pin.usa:hover) .dealer-overseas-card[data-dealer-card="usa"],
  .dealer-world-network:has(.dealer-world-pin.shenzhen:hover) .dealer-overseas-card[data-dealer-card="shenzhen"] {
    border-color: rgba(0, 157, 154, 0.48);
    background: linear-gradient(135deg, var(--brand-soft) 0%, #fff 72%);
    box-shadow: 0 20px 46px rgba(0, 157, 154, 0.14);
    transform: translateY(-6px);
  }
}
