.place-detail-hero {
  width: 100%;
  padding: 0 var(--spacing-lg) var(--spacing-base);
}

.place-detail-hero__area {
  position: relative;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.place-detail-hero__slider {
  width: 100%;
  max-width: 1370px;
  margin: 0 auto;
  overflow: hidden;
}

.place-detail-hero__slide {
  width: 450px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--semantic-bg);
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.place-detail-hero__slide.swiper-slide-active {
  opacity: 1;
}

.place-detail-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-detail-hero__arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  transform: translateY(-50%);
  transition: background-color 0.2s ease;
}

.place-detail-hero__arrow:hover,
.place-detail-hero__arrow:focus-visible {
  background: var(--badge-alpha-w-20);
}

.place-detail-hero__arrow:focus-visible {
  outline: var(--stroke-2) solid var(--semantic-white);
  outline-offset: calc(var(--stroke-2) * -1);
}

.place-detail-hero__arrow--prev {
  left: 0;
}

.place-detail-hero__arrow--next {
  right: 0;
}

.place-detail-hero__arrow img {
  width: 60px;
}

.place-detail-hero__pagination {
  display: flex;
  width: 100%;
  max-width: 840px;
  align-items: center;
  gap: var(--spacing-base);
  margin: var(--spacing-3xs) auto 0;
}

.place-detail-hero__progress {
  position: relative;
  height: 2px;
  flex: 1 1 auto;
  overflow: hidden;
  background: linear-gradient(
    to bottom,
    transparent 1px,
    var(--badge-alpha-b-10) 1px
  );
}

.place-detail-hero__progress span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: calc(100% / var(--place-hero-total, 1));
  height: var(--stroke-1);
  background: var(--neutral-tx1-hero);
  transform: translateX(calc(var(--place-hero-index, 0) * 100%));
  transition: transform 0.3s ease;
}

.place-detail-hero__counter {
  display: flex;
  align-items: center;
  margin: 0;
  color: var(--neutral-tx3-sub);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-16);
  text-align: center;
}

.place-detail-hero__counter span:first-child,
.place-detail-hero__counter span:last-child {
  width: 14px;
}

@media (max-width: 767px) {
  .place-detail-hero {
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 0;
  }

  .place-detail-hero__slide {
    width: 100vw;
    border-radius: 0;
  }

  .place-detail-hero__arrow {
    width: 60px;
    height: 60px;
  }

  .place-detail-hero__pagination {
    padding: 0 var(--spacing-lg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .place-detail-hero__slide,
  .place-detail-hero__progress span,
  .place-detail-hero__arrow {
    transition: none;
  }
}

/* 2026-10-27 Figma «Place Detail»(1111:57947)·«Special Offers Detail»(1111:58353) — PC 판
   슬라이드는 머리말 아래 40px 에서 시작 · 좌우 화살표는 1280 사진 영역 안쪽(위에서 280px) ·
   슬라이드 끝(진행 막대 포함)에서 업체명까지 56px(Figma 본문 시작 y=716 − 사진 영역 640 − 위 여백 40 + 막대 아래 20). */
@media (min-width: 768px) {
  .place-detail-hero {
    padding-top: 40px;
    padding-bottom: 56px;
  }

  .place-detail-hero__arrow {
    top: 280px;
    transform: none;
  }

  .place-detail-hero__arrow--prev {
    left: max(0px, calc(50% - 640px));
  }

  .place-detail-hero__arrow--next {
    right: max(0px, calc(50% - 640px));
  }
}

/* 2026-10-27 Figma «Place Detail» 360(1111:58141 body y+40) — 플레이스 상세(·이벤트 특가 상세) 모바일 본문은 슬라이드 아래 40px.
   웨딩홀 상세의 20px(venue-detail-sidebar.css)보다 특정도를 하나 올린다. */
@media (max-width: 767px) {
  .place-detail-hero + .venue-detail-content {
    padding-top: 40px;
  }
}

/* 2026-10-30 Figma «03.venue/place › main-img»(3024:63391·63405) — 진행 막대 없음, «1 / 6» 숫자만 가운데 사진 안 아래(반투명 알약).
   화살표 = PC·태블릿 60px 원(그대로) · 모바일 없음. 모바일은 한 장 꽉 채움(그대로).
   사진 끝 → 본문: PC·태블릿 36px(Figma body y676 − 사진 끝 640) · 모바일 0(본문 안 40px). */
.place-detail-hero {
  position: relative;
}

.place-detail-hero__progress {
  display: none;
}

.place-detail-hero__pagination {
  position: absolute;
  bottom: 10px;
  left: 50%;
  z-index: 3;
  width: auto;
  max-width: none;
  gap: 0;
  margin: 0;
  padding: 2px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-50%);
  pointer-events: none;
}

.place-detail-hero__counter {
  color: var(--semantic-white, #fff);
}

@media (min-width: 768px) {
  .place-detail-hero {
    padding-bottom: 36px;
  }

  .place-detail-hero__pagination {
    bottom: 46px;
  }
}

@media (max-width: 767px) {
  .place-detail-hero__pagination {
    padding: 2px 6px;
  }

  .place-detail-hero__arrow {
    display: none;
  }
}

/* 2026-10-30 — 장 수가 두 자리면(«1 / 23») 칸 14px 고정이 좁아 글자가 붙는다 — 최소 14px 로 */
.place-detail-hero__counter span:first-child,
.place-detail-hero__counter span:last-child {
  width: auto;
  min-width: 14px;
}

.place-detail-hero__counter span:nth-child(2) {
  padding: 0 2px;
}
