/* =============================================
   샤오통 — map.css
   찾아오시는길 (location.php) 전용
   ============================================= */
   *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
   html { scroll-behavior: smooth; }
   body {
     font-family: 'Noto Sans KR', sans-serif;
     background: #0a0a0a;
     color: #fff;
     overflow-x: hidden;
   }

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.map-hero {
    padding: 80px 0 72px;
    background: #111118;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    position: relative;
    overflow: hidden;
  }
  
  /* hero 안 container — global.css의 .container와 동일 기준 */
  .map-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    box-sizing: border-box;
  }
  
  .map-hero-zh {
    position: absolute; right: 48px; top: 50%; transform: translateY(-50%);
    font-family: 'Noto Serif SC', serif;
    font-size: clamp(120px, 18vw, 240px); font-weight: 900;
    color: rgba(232,25,44,0.05); line-height: 1;
    pointer-events: none; user-select: none;
  }
  
  .map-eyebrow {
    font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
    color: #E8192C; margin-bottom: 20px;
    display: flex; align-items: center; gap: 10px;
  }
  .map-eyebrow::after {
    content: ''; flex: 0 0 32px; height: 1px; background: #E8192C;
  }
  
  .map-hero-title {
    font-size: clamp(28px, 4.5vw, 56px); font-weight: 900;
    color: #fff; line-height: 1.2; margin-bottom: 16px;
    letter-spacing: -1.5px;
  }
  
  .map-hero-sub {
    font-size: 16px; line-height: 1.9;
    color: rgba(255,255,255,0.45);
  }
  
  
  /* ══════════════════════════════════════
     MAP SECTION
  ══════════════════════════════════════ */
  .map-section {
    background: #0d0d12;
    padding: 80px 0 100px;
  }
  
  /* 2열 그리드 */
  .map-grid {
    display: grid;
    grid-template-columns: 591px 1fr;  /* 이미지 원본 너비 고정, 패널 가변 */
    gap: 3px;
    align-items: start;
  }
  
  
  /* ══════════════════════════════════════
     지도 이미지 — 원본 크기 고정
  ══════════════════════════════════════ */
  .map-img-wrap {
    width: 591px;          /* 이미지 원본 너비 */
    overflow: hidden;
    background: #1a1a24;
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
  }
  
  .map-img-wrap img {
    display: block;
    width: 591px;          /* 원본 너비 고정 */
    height: auto;          /* 비율 유지 (573px) */
  }
  
  /* 이미지 위 지도앱 버튼 */
  .map-img-overlay {
    position: absolute;
    bottom: 20px; right: 20px;
    display: flex; gap: 8px;
    z-index: 1;
  }
  .map-img-overlay a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 16px; border-radius: 4px;
    font-size: 12px; font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    transition: opacity 0.2s, transform 0.2s;
  }
  .map-img-overlay a:hover { opacity: 0.88; transform: translateY(-2px); }
  .map-img-overlay a i { font-size: 13px; }
  .map-img-overlay .btn-naver { background: #03C75A; color: #fff; }
  .map-img-overlay .btn-kakao { background: #FEE500; color: #3C1E1E; }
  
  
  /* ══════════════════════════════════════
     정보 패널
  ══════════════════════════════════════ */
  .map-info-panel {
    background: #18181f;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 36px 28px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
  }
  
  .map-info-block { padding: 22px 0; }
  .map-info-block:first-child { padding-top: 0; }
  .map-info-block:last-child  { padding-bottom: 0; }
  
  .map-divider {
    height: 1px;
    background: rgba(255,255,255,0.07);
    flex-shrink: 0;
  }
  
  .map-info-label {
    font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
    color: #E8192C; margin-bottom: 12px;
    display: flex; align-items: center; gap: 6px;
  }
  .map-info-label i { font-size: 11px; }
  
  .map-info-addr {
    font-size: 16px; font-weight: 700;
    color: #fff; line-height: 1.7; margin-bottom: 4px;
  }
  .map-info-sub {
    font-size: 13px; color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
  }
  
  /* 지도앱 버튼 (패널 내부) */
  .map-btn-row { display: flex; gap: 8px; }
  .map-dir-btn {
    flex: 1;
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 9px 12px; border-radius: 4px;
    font-size: 12px; font-weight: 700;
    text-decoration: none; white-space: nowrap;
    box-sizing: border-box;
    transition: opacity 0.2s, transform 0.2s;
  }
  .map-dir-btn:hover { opacity: 0.85; transform: translateY(-1px); }
  .map-dir-btn i { font-size: 12px; }
  .map-dir-btn--naver { background: #03C75A; color: #fff; }
  .map-dir-btn--kakao { background: #FEE500; color: #3C1E1E; }
  
  /* 교통 */
  .map-transit-list {
    list-style: none;
    display: flex; flex-direction: column; gap: 10px;
  }
  .map-transit-list li {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.6;
  }
  .map-badge {
    flex-shrink: 0;
    font-size: 10px; font-weight: 700;
    padding: 3px 8px; border-radius: 3px;
    letter-spacing: 0.5px; white-space: nowrap;
  }
  .map-badge--subway {
    background: rgba(0,122,255,0.18); color: #5ab0ff;
    border: 1px solid rgba(0,122,255,0.28);
  }
  .map-badge--bus {
    background: rgba(52,199,89,0.15); color: #34c759;
    border: 1px solid rgba(52,199,89,0.25);
  }
  
  /* 전화·이메일·시간 */
  .map-tel {
    font-size: 22px; font-weight: 900;
    color: #fff; letter-spacing: -0.5px; margin-bottom: 4px;
  }
  .map-tel-sub {
    font-size: 15px; font-weight: 700;
    color: rgba(255,255,255,0.45); margin-bottom: 10px;
  }
  .map-email {
    font-size: 13px; color: rgba(255,255,255,0.4); margin-bottom: 16px;
  }
  .map-hours {
    list-style: none; display: flex; flex-direction: column; gap: 6px;
  }
  .map-hours li {
    font-size: 13px; color: rgba(255,255,255,0.45);
    display: flex; gap: 12px;
  }
  .map-hours li span {
    color: rgba(255,255,255,0.2);
    min-width: 88px; flex-shrink: 0;
  }
  
  /* 카카오 예약 */
  .map-kakao-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    background: #FEE500; color: #3C1E1E;
    padding: 13px 20px; border-radius: 4px;
    font-size: 13px; font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    width: 100%;
    margin-bottom: 10px;
    transition: opacity 0.2s, transform 0.2s;
  }
  .map-kakao-btn:hover { opacity: 0.9; transform: translateY(-2px); }
  .map-kakao-sub {
    font-size: 11px; color: rgba(255,255,255,0.25);
    text-align: center; line-height: 1.5;
  }
  
  
  /* ══════════════════════════════════════
     반응형
  ══════════════════════════════════════ */
  @media (max-width: 1100px) {
    /* 이미지+패널이 화면보다 커지면 세로 스택 */
    .map-grid         { grid-template-columns: 1fr; }
    .map-img-wrap     { width: 100%; }
    .map-img-wrap img { width: 100%; height: auto; }
  }
  
  @media (max-width: 768px) {
    .map-hero            { padding: 60px 0 52px; }
    .map-section         { padding: 60px 0 80px; }
    .map-hero-zh         { display: none; }
    .map-hero .container { padding: 0 24px; }
    .map-img-overlay     { bottom: 12px; right: 12px; }
    .map-img-overlay a   { padding: 8px 12px; font-size: 11px; }
    .map-info-panel      { padding: 28px 20px; }
    .map-btn-row         { flex-direction: column; }
    .map-dir-btn         { width: 100%; }
  }