.ba-botox-picker {
  --ba-botox-point: #118b87;
  --ba-botox-point-dark: #076e6b;
  --ba-botox-point-soft: #e8f7f5;
  --ba-botox-warm: #d97757;
  --ba-botox-line: #eadbd3;
  --ba-botox-text: #181514;
  --ba-botox-muted: #786d68;
  box-sizing: border-box;
  width: 100%;
  margin: 50px auto 65px;
  color: var(--ba-botox-text);
  font-family: inherit;
}

.ba-botox-picker *,
.ba-botox-picker *::before,
.ba-botox-picker *::after {
  box-sizing: border-box;
}

.ba-botox-picker__head {
  margin-bottom: 24px;
  text-align: center;
}

.ba-botox-picker__eyebrow,
.ba-botox-picker__step {
  color: var(--ba-botox-point-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.ba-botox-picker__head h2 {
  margin: 8px 0 0;
  color: var(--ba-botox-text);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -.04em;
  word-break: keep-all;
}

.ba-botox-picker__head p {
  margin: 10px 0 0;
  color: var(--ba-botox-muted);
  font-size: 15px;
  line-height: 1.65;
  word-break: keep-all;
}

.ba-botox-picker__panel {
  display: grid;
  grid-template-columns: minmax(255px, 44%) minmax(0, 1fr);
  min-height: 530px;
  overflow: hidden;
  border: 1px solid var(--ba-botox-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(69, 49, 39, .08);
}

.ba-botox-picker__visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  background: #fdf1e8;
}

.ba-botox-picker__map {
  position: relative;
  flex: 0 0 112%;
  width: 112%;
  max-width: 350px;
}

.ba-botox-picker__map img {
  display: block;
  width: 100%;
  height: auto !important;
  user-select: none;
}

.ba-botox-picker__map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ba-botox-picker__zone {
  outline: none;
  cursor: pointer;
}

.ba-botox-picker__shape {
  fill: transparent;
  stroke: transparent;
  stroke-width: 6;
  stroke-linejoin: round;
  pointer-events: all;
  transition: fill .2s ease, stroke .2s ease, filter .2s ease;
}

.ba-botox-picker__zone:hover .ba-botox-picker__shape,
.ba-botox-picker__zone:focus-visible .ba-botox-picker__shape,
.ba-botox-picker__zone.is-active .ba-botox-picker__shape {
  fill: rgba(217, 119, 87, .28);
  stroke: rgba(217, 119, 87, .82);
  filter: drop-shadow(0 0 9px rgba(217, 119, 87, .25));
}

.ba-botox-picker__visual-label {
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 2;
  min-width: 96px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--ba-botox-point-dark);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 5px 18px rgba(55, 37, 28, .15);
  transform: translateX(-50%);
}

.ba-botox-picker__content {
  align-self: center;
  padding: 38px 32px;
}

.ba-botox-picker__content h3 {
  margin: 8px 0 0;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.035em;
}

.ba-botox-picker__content > p {
  margin: 10px 0 0;
  color: var(--ba-botox-muted);
  font-size: 14px;
  line-height: 1.6;
  word-break: keep-all;
}

.ba-botox-picker__areas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 22px;
}

.ba-botox-picker__areas button {
  position: relative;
  min-height: 68px;
  padding: 12px 12px 11px 36px;
  border: 1px solid var(--ba-botox-line);
  border-radius: 11px;
  background: #fff;
  color: #4d4541;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease;
}

.ba-botox-picker__areas button::before {
  position: absolute;
  top: 19px;
  left: 13px;
  width: 11px;
  height: 11px;
  border: 2px solid #b8aaa3;
  border-radius: 50%;
  content: "";
}

.ba-botox-picker__areas button:hover,
.ba-botox-picker__areas button.is-active {
  border-color: var(--ba-botox-point);
  background: var(--ba-botox-point-soft);
  color: var(--ba-botox-point-dark);
  transform: translateY(-1px);
}

.ba-botox-picker__areas button.is-active::before {
  border-color: var(--ba-botox-point);
  background: var(--ba-botox-point);
  box-shadow: inset 0 0 0 2px #fff;
}

.ba-botox-picker__area-name,
.ba-botox-picker__area-short {
  display: block;
}

.ba-botox-picker__area-name {
  font-size: 15px;
  font-weight: 800;
}

.ba-botox-picker__area-short {
  margin-top: 4px;
  color: #93857e;
  font-size: 12px;
  font-weight: 500;
}

.ba-botox-picker__selection {
  min-height: 84px;
  margin-top: 14px;
  padding: 13px 15px;
  border-radius: 11px;
  background: #f7fbfa;
}

.ba-botox-picker__selection strong {
  color: var(--ba-botox-point-dark);
  font-size: 14px;
}

.ba-botox-picker__selection p {
  margin: 5px 0 0;
  color: #615753;
  font-size: 13px;
  line-height: 1.5;
  word-break: keep-all;
}

.ba-botox-picker__content .ba-botox-picker__notice {
  margin-top: 10px;
  color: #9b8d86;
  font-size: 11px;
}

.ba-botox-picker__cta {
  width: 100%;
  min-height: 48px;
  margin-top: 13px;
  border: 0;
  border-radius: 999px;
  background: var(--ba-botox-point);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(17, 139, 135, .2);
}

.ba-botox-picker__cta:hover {
  background: var(--ba-botox-point-dark);
}

.ba-botox-picker__cta:disabled {
  background: #d6d1ce;
  cursor: default;
  box-shadow: none;
}

.ba-botox-picker__visual-label[hidden] {
  display: none;
}

.ba-botox-picker--neckline .ba-botox-picker__areas {
  grid-template-columns: minmax(0, 1fr);
}

.ba-botox-picker__concern-glow {
  opacity: 0;
  pointer-events: all;
  transition: opacity .25s ease;
}

.ba-botox-picker__concern-zone.is-active .ba-botox-picker__concern-glow {
  opacity: 1;
}

.ba-botox-picker--neckline .ba-botox-picker__visual-label {
  white-space: nowrap;
}

.ba-botox-picker--neckline .ba-botox-picker__selection strong {
  display: block;
  line-height: 1.5;
  word-break: keep-all;
}

.ba-botox-picker .ba-botox-picker__option-status {
  color: var(--ba-botox-point-dark);
  font-size: 12px;
  font-weight: 700;
}

.ba-botox-picker__areas button:focus-visible,
.ba-botox-picker__cta:focus-visible,
.ba-botox-picker__zone:focus-visible {
  outline: 3px solid rgba(17, 139, 135, .35);
  outline-offset: 3px;
}

.product_list .list label.ba-botox-option-match table {
  outline: 2px solid #118b87;
  outline-offset: -2px;
  background: #e8f7f5;
  box-shadow: 0 6px 18px rgba(17, 139, 135, .2);
}

.product_list .list label.ba-botox-option-pulse table {
  animation: baBotoxOptionPulse .8s ease 2;
}

@keyframes baBotoxOptionPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@media (max-width: 700px) {
  .ba-botox-picker {
    margin: 42px auto 50px;
  }

  .ba-botox-picker__head h2 {
    font-size: 24px;
  }

  .ba-botox-picker__head p {
    font-size: 14px;
  }

  .ba-botox-picker__panel {
    grid-template-columns: minmax(150px, 43%) minmax(0, 1fr);
    min-height: 430px;
    border-radius: 14px;
  }

  .ba-botox-picker__map {
    flex-basis: auto;
    width: 100%;
  }

  .ba-botox-picker__visual-label {
    bottom: 12px;
    min-width: 82px;
    padding: 7px 12px;
    font-size: 12px;
  }

  .ba-botox-picker__content {
    padding: 24px 14px;
  }

  .ba-botox-picker__content h3 {
    font-size: 20px;
  }

  .ba-botox-picker__content > p {
    font-size: 13px;
  }

  .ba-botox-picker__areas {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 16px;
  }

  .ba-botox-picker__areas button {
    min-height: 53px;
    padding: 9px 9px 8px 31px;
  }

  .ba-botox-picker__areas button::before {
    top: 16px;
    left: 10px;
  }

  .ba-botox-picker__selection {
    min-height: 72px;
    padding: 10px 11px;
  }

  .ba-botox-picker__selection p {
    font-size: 12px;
  }

  .ba-botox-picker__content .ba-botox-picker__notice {
    font-size: 10px;
  }

  .ba-botox-picker__cta {
    min-height: 44px;
    padding: 8px 10px;
    font-size: 13px;
  }
}

@media (max-width: 520px) {
  .ba-botox-picker__panel {
    grid-template-columns: 1fr;
  }

  .ba-botox-picker__visual {
    min-height: 355px;
  }

  .ba-botox-picker__map {
    flex-basis: auto;
    max-width: 240px;
  }

  .ba-botox-picker__step,
  .ba-botox-picker__content > p:not(.ba-botox-picker__notice) {
    display: none;
  }

  .ba-botox-picker__content {
    padding: 24px 16px;
  }

  .ba-botox-picker__content h3 {
    font-size: 20px;
  }

  .ba-botox-picker__areas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ba-botox-picker__selection {
    min-height: 72px;
  }

  .ba-botox-picker .ba-botox-picker__content > .ba-botox-picker__option-status {
    display: block;
  }
}

/* 얼굴 고민 가이드: 한 번에 선택한 영역만 표시합니다. */
.ba-botox-picker--special [hidden],
.ba-botox-picker--wrinkles [hidden] {
  display: none !important;
}

.ba-botox-picker--special .ba-botox-picker__visual,
.ba-botox-picker--wrinkles .ba-botox-picker__visual {
  align-items: center;
  padding: 26px 0 70px;
}

.ba-botox-picker--special .ba-botox-picker__special-map,
.ba-botox-picker--wrinkles .ba-botox-picker__wrinkle-map {
  flex: 0 0 100%;
  width: 100%;
  max-width: 360px;
}

.ba-botox-picker__special-map svg,
.ba-botox-picker__wrinkle-map svg {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.ba-botox-picker__view-caption {
  display: block;
  margin-top: 12px;
  padding: 0 10px;
  color: var(--ba-botox-muted);
  font-size: 11px;
  text-align: center;
}

.ba-botox-picker__region {
  fill: rgba(217, 119, 87, .22);
  stroke: rgba(179, 84, 57, .85);
  stroke-width: 3;
}

/* 실제 피부 주름을 보정한 사진이 아니라, 위치와 방향을 설명하는 도식입니다. */
.ba-botox-picker__wrinkle-area {
  fill: rgba(17, 139, 135, .12);
  stroke: none;
}

.ba-botox-picker__wrinkle-line {
  fill: none;
  stroke: #076e6b;
  stroke-width: 1.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

/* 잇몸·입술 위에서는 붉은 계열을 피하고, 모바일에서도 선 두께를 유지합니다. */
[data-botox-overlay="gummy-smile"] .ba-botox-picker__region-halo {
  fill: none;
  stroke: #fff;
  stroke-width: 4.5px;
  vector-effect: non-scaling-stroke;
}

[data-botox-overlay="gummy-smile"] .ba-botox-picker__region {
  fill: none;
  stroke: #076e6b;
  stroke-width: 1.75px;
  vector-effect: non-scaling-stroke;
}

.ba-botox-picker__region-line {
  fill: none;
  stroke: rgba(217, 119, 87, .45);
  stroke-width: 27;
  stroke-linecap: round;
}

.ba-botox-picker__groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px;
  margin-top: 20px;
  padding: 4px;
  border-radius: 12px;
  background: #f3efec;
}

.ba-botox-picker__groups button {
  min-height: 38px;
  padding: 8px 3px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #6b5e57;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.ba-botox-picker__groups button.is-active {
  background: #fff;
  color: var(--ba-botox-point-dark);
  box-shadow: 0 2px 7px rgba(69, 49, 39, .1);
}

.ba-botox-picker__groups button:focus-visible,
.ba-botox-picker__detail-link:focus-visible {
  outline: 3px solid rgba(17, 139, 135, .4);
  outline-offset: 2px;
}

.ba-botox-picker--special .ba-botox-picker__content,
.ba-botox-picker--wrinkles .ba-botox-picker__content {
  padding: 30px 24px;
}

.ba-botox-picker--special .ba-botox-picker__areas {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  min-height: 145px;
  margin-top: 12px;
}

.ba-botox-picker--special .ba-botox-picker__selection {
  min-height: 127px;
}

.ba-botox-picker--wrinkles .ba-botox-picker__areas {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ba-botox-picker--wrinkles .ba-botox-picker__selection {
  min-height: 112px;
}

.ba-botox-picker--wrinkles .ba-botox-picker__area-short {
  word-break: keep-all;
}

.ba-botox-picker__detail-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--ba-botox-point-dark);
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .ba-botox-picker--special .ba-botox-picker__panel,
  .ba-botox-picker--wrinkles .ba-botox-picker__panel {
    grid-template-columns: 1fr;
  }

  .ba-botox-picker--special .ba-botox-picker__visual,
  .ba-botox-picker--wrinkles .ba-botox-picker__visual {
    min-height: 0;
    padding: 0 0 55px;
  }

  .ba-botox-picker--special .ba-botox-picker__special-map,
  .ba-botox-picker--wrinkles .ba-botox-picker__wrinkle-map {
    max-width: 260px;
  }

  .ba-botox-picker--special .ba-botox-picker__content,
  .ba-botox-picker--wrinkles .ba-botox-picker__content {
    padding: 24px 16px;
  }

  .ba-botox-picker--special .ba-botox-picker__areas {
    min-height: 120px;
  }

  .ba-botox-picker--special .ba-botox-picker__selection {
    min-height: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ba-botox-picker *,
  .product_list .list label.ba-botox-option-pulse table {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
