/* ========================================================================
   SSANCAR Responsive (v4)
   - Mobile: 480px max, 모바일 디자인
   - PC: 1100px max, 자연스럽게 확장
   - Body: 흰색 배경 (ssancar.com PC view 매칭)
   ======================================================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', -apple-system, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #5C5C5C;
  background: white;
  padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  -webkit-font-smoothing: antialiased;
}

/* ===== Bottom Navigation Bar ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  transform: none;
  width: 100vw;
  max-width: none;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(26, 26, 46, 0.08);
  border-radius: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 calc(12px + env(safe-area-inset-bottom));
  gap: 4px;
  z-index: 1000;
  box-shadow: 0 14px 32px rgba(26, 26, 46, 0.14);
}

.bottom-nav .nav-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  text-decoration: none;
  color: #5c5c7a;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.15s ease;
}

.bottom-nav .nav-item:hover,
.bottom-nav .nav-item.active {
  color: #3f51ff;
}

.bottom-nav .nav-item:active {
  transform: scale(0.97);
}

.bottom-nav .nav-item .icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-nav .nav-item .icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.bottom-nav .nav-item .label {
  font-size: 12px;
  letter-spacing: 0.2px;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .bottom-nav {
    left: 50%;
    transform: translateX(-50%);
    width: min(100%, 1100px);
    max-width: 1100px;
    border-radius: 8px 8px 0 0;
  }
  .bottom-nav .nav-item .icon {
    width: 30px;
    height: 30px;
  }
  .bottom-nav .nav-item .label {
    font-size: 13px;
  }
}

img { display: block; max-width: 100%; }
button { background: none; border: none; cursor: pointer; font: inherit; color: inherit; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
input { font: inherit; }

/* ============================================================
   PAGE CONTAINER
   - Mobile: 100% width up to 480px
   - PC: 1100px max-width centered
   ============================================================ */
.page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 14px 21px 0;
}
@media (min-width: 768px) {
  .page {
    max-width: 1100px;
    padding: 30px 40px 0;
  }
}

/* ============================================================
   HEADER : 햄버거(좌) + 로고(중앙) + 태그라인
   ============================================================ */
.hdr {
  position: relative;
  text-align: center;
  padding: 16px 0 12px;
}
.ham {
  position: absolute;
  left: 14px;
  top: 15px;
  transform: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 6px;
}
.ham span {
  display: block;
  width: 29px;
  height: 2px;
  border-radius: 1px;
  background: #5C5C5C;
}
.logo {
  font-family: 'Bebas Neue', 'Impact', 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 30px;
  line-height: 1;
  color: #FF3939;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}
.tagline {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #333334;
}
@media (min-width: 768px) {
  .logo { font-size: 42px; letter-spacing: 2px; }
  .tagline { font-size: 16px; }
  .ham {
    left: 20px;
    top: 22px;
  }
  .ham span { width: 32px; height: 2.5px; }
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0 16px;
  height: 46px;
  background: white;
  border: 1px solid #585858;
  border-radius: 8px;
}
.search input {
  flex: 1;
  border: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #5C5C5C;
  background: transparent;
}
.search input::placeholder { color: #797B7D; }
.search-btn {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .search { height: 56px; padding: 0 22px; }
  .search input { font-size: 16px; }
  .search-btn { width: 32px; height: 32px; }
}

/* ============================================================
   HERO SLIDER — 가로 스크롤 (CSS scroll-snap)
   ============================================================ */

/* 외부 래퍼: 컨테이너 너비, 상단 마진, 상대 포지션 */
.hero-wrap {
  position: relative;
  margin-top: 14px;
}

/* 슬라이드 트랙: 가로 스크롤 컨테이너 */
.hero-track {
  display: flex;
  overflow-x: scroll;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;          /* Firefox */
  scroll-behavior: smooth;
  border-radius: 8px;
  /* 슬라이드 비율: 피그마 302×202 ≈ 3:2 */
}
.hero-track::-webkit-scrollbar { display: none; }  /* Chrome/Safari */

/* 개별 슬라이드 */
.hero-slide {
  flex: 0 0 100%;               /* 트랙 너비와 동일 */
  scroll-snap-align: start;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  min-height: 260px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: #111;
}
.hero-slide:hover {
  transform: translateY(-1px);
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-slide.hero-clone {
  pointer-events: none;
}
.hero-link {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-hero {
  margin-top: 18px;
}
.detail-hero-card {
  border-radius: 22px;
  overflow: hidden;
  background: #2f3f92;
  color: white;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.detail-copy {
  display: grid;
  gap: 18px;
}
.detail-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.05;
}
.detail-sub {
  margin: 0;
  opacity: 0.88;
  font-size: 1rem;
}
.detail-rate {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}
.detail-hero-icon {
  width: min(180px, 100%);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}
.detail-hero-icon svg {
  width: 100%;
  height: auto;
}
.detail-content {
  margin-top: 24px;
  display: grid;
  gap: 20px;
}
.detail-block {
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(26, 26, 46, 0.08);
}
.detail-block h3 {
  margin: 0 0 12px;
  font-size: 1.24rem;
}
.detail-block p,
.detail-block li {
  color: #4f4f6d;
  line-height: 1.8;
}
.detail-block ul {
  padding-left: 20px;
  margin: 12px 0 0;
}
.cashback-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.cashback-link .cashback {
  cursor: pointer;
}
.cashback-link .cashback:hover {
  opacity: 0.96;
}
.detail-back {
  display: inline-block;
  margin-bottom: 16px;
  color: #3f51ff;
  font-weight: 700;
}
.hero-counter-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  background: rgba(18,18,18,0.55);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
  pointer-events: none;
  z-index: 3;
}

/* 슬라이드 카운터 배지 (1/5) */
.hero-counter-badge {
  position: absolute;
  right: 12px;
  top: 12px;
  background: rgba(18,18,18,0.55);
  color: white;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
  pointer-events: none;
}

/* 닷(●) 인디케이터 */
.hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D0D0D0;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.hero-dot.active {
  background: #6285FF;
  transform: scale(1.3);
}

/* PC: 슬라이더 비율은 원본 이미지 비율을 따릅니다 */
@media (min-width: 768px) {
  .hero-wrap { margin-top: 20px; }
  .hero-track { border-radius: 12px; }
  .hero-counter-badge { font-size: 13px; padding: 6px 14px; right: 20px; top: 20px; }
  .hero-dots { margin-top: 12px; }
  .hero-dot { width: 10px; height: 10px; }
}

/* 기존 hero-link/hero 클래스는 제거했으나 CSS 충돌 방지용 빈 규칙 */
.hero-link { display: block; }
.hero { position: relative; }

/* ============================================================
   CASHBACK BANNER
   ============================================================ */
.cashback {
  margin-top: 14px;
  background: #304392;
  border-radius: 8px;
  padding: 16px 20px 16px 24px;
  box-shadow: 0 4px 4px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cashback-copy { flex: 1; min-width: 0; }
.cashback-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border-radius: 4px;
  padding: 2px 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 500;
  color: rgba(255,255,255,.75);
  letter-spacing: .4px;
  margin-bottom: 6px;
}
.cashback-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: white;
  line-height: 1.3;
  margin: 0;
}
.cashback-sub {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
  line-height: 1.5;
}
.cashback-rate {
  margin-top: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #FFD166;
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 1px;
}
.cashback-rate .big { font-size: 28px; line-height: 1; }
.cashback-rate .sm { font-size: 13px; line-height: 1; margin-right: 4px; }
.cashback-rate .sm:last-child { margin-right: 0; }
.cashback-icon {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .cashback {
    padding: 24px 40px;
    border-radius: 12px;
    gap: 32px;
  }
  .cashback-title { font-size: 26px; }
  .cashback-sub { font-size: 13px; }
  .cashback-rate { margin-top: 12px; }
  .cashback-rate .big { font-size: 40px; }
  .cashback-rate .sm { font-size: 18px; }
  .cashback-icon { width: 80px; height: 80px; }
}

/* ============================================================
   WHOLESALE PRICE
   ============================================================ */
.wholesale {
  margin-top: 14px;
  background: #F1F2F5;
  border-radius: 8px;
  padding: 18px 20px 20px;
  box-shadow: 0 4px 4px rgba(0,0,0,0.25);
}
.wh-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #3479FF;
  line-height: 1.45;
}
.wh-sub {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #5C5C5C;
  margin-top: 4px;
}
.wh-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}
.wh-card {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 142.7 / 123.255;
  box-shadow: 0 4px 4px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}
.wh-card:active { transform: scale(0.97); }
.wh-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .wholesale {
    padding: 30px 36px 32px;
    border-radius: 12px;
  }
  .wh-title { font-size: 36px; }
  .wh-sub { font-size: 20px; }
  .wh-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 22px;
  }
  .wh-card { aspect-ratio: 4 / 3; }
}

/* ============================================================
   INSPECTORS REVIEW BANNER
   ============================================================ */
.rv-banner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 12px 16px;
  background: white;
  border-radius: 19px;
  box-shadow: 0 4px 4px rgba(0,0,0,0.15);
  overflow: hidden;
}
.rv-banner-photo {
  flex-shrink: 0;
  width: 91px;
  height: 65px;
  border-radius: 15px;
  border: 1px solid #F8F7F7;
  box-shadow: 0 4px 4px rgba(0,0,0,0.15);
  overflow: hidden;
}
.rv-banner-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rv-banner-text {
  flex: 1;
}
.rv-banner-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #5C5C5C;
}
.rv-banner-title b { font-weight: 700; }
.rv-banner-sub {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #424141;
  margin-top: 4px;
}
.rv-ribbon {
  position: absolute;
  top: -1px;
  right: 18px;
  width: 49px;
  height: 60px;
}
.rv-ribbon svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.18));
}
.rv-ribbon span {
  position: absolute;
  left: 0; right: 0; top: 13px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 9px;
  color: white;
  text-align: center;
}
@media (min-width: 768px) {
  .rv-banner {
    padding: 20px 28px;
    gap: 24px;
    border-radius: 24px;
  }
  .rv-banner-photo { width: 130px; height: 92px; }
  .rv-banner-title { font-size: 22px; }
  .rv-banner-sub { font-size: 15px; margin-top: 6px; }
  .rv-ribbon { width: 60px; height: 75px; right: 30px; }
  .rv-ribbon span { font-size: 11px; top: 16px; }
}

/* ============================================================
   REVIEWS LIST
   ============================================================ */
.reviews {
  margin-top: 14px;
  padding: 16px 20px 20px;
  background: white;
  border-radius: 19px;
  box-shadow: 0 4px 4px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.rv {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 50px;        /* avatar 영역 */
  min-height: 47px;
}
.rv-info {
  flex: 1;
  background: #F8F8F8;
  border-radius: 14px;
  padding: 6px 14px 6px 18px;
  box-shadow: 0 4px 4px rgba(0,0,0,0.05);
  min-height: 47px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rv-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.rv-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 12px;
  color: #6285FF;
  min-width: 40px;
}
.rv-stars {
  display: flex;
  align-items: center;
  gap: 1px;
}
.rv-stars svg { display: block; flex-shrink: 0; }
.rv-tag {
  margin-left: auto;
  display: inline-block;
  padding: 1px 10px;
  border: 1px solid #797777;
  border-radius: 11px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 8px;
  line-height: 13px;
  color: #797979;
  white-space: nowrap;
  background: rgba(98,133,255,0);
  box-shadow: 0 4px 2px rgba(0,0,0,0.05);
}
.rv-msg {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #797979;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rv-avatar {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 51px;
  height: 51px;
  border-radius: 50%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .reviews {
    padding: 28px 36px 32px;
    border-radius: 24px;
    gap: 12px;
    /* PC: 2열 그리드 → 5개 리뷰가 1020px 너비 충분히 활용 */
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .rv { padding-right: 75px; min-height: 64px; }
  .rv-info { padding: 10px 22px; min-height: 64px; border-radius: 18px; }
  .rv-name { font-size: 16px; min-width: 60px; }
  .rv-stars svg { width: 18px; height: 17px; }
  .rv-tag { font-size: 11px; padding: 3px 14px; line-height: 16px; }
  .rv-msg { font-size: 14px; margin-top: 4px; }
  .rv-avatar { width: 68px; height: 68px; right: 10px; }
}

/* ============================================================
   SEARCH CAR CTA
   ============================================================ */
.search-cta-wrap {
  text-align: center;
  margin-top: 80px;
}
.search-cta {
  display: inline-block;
  width: 185px;
  padding: 12px 0;
  background: #6285FF;
  border-radius: 10px;
  box-shadow: 0 4px 4px rgba(0,0,0,0.25);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: white;
  text-align: center;
  transition: transform 0.15s ease;
}
.search-cta:active { transform: scale(0.97); }
@media (min-width: 768px) {
  .search-cta-wrap { margin-top: 80px; }
  .search-cta {
    width: 280px;
    padding: 18px 0;
    font-size: 22px;
    border-radius: 12px;
  }
}

/* ============================================================
   CONTACT US
   ============================================================ */
.contact {
  text-align: center;
  margin-top: 80px;
}
.contact-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: #818080;
  margin-bottom: 16px;
}
.contact-icons {
  display: flex;
  justify-content: center;
  gap: 14px;
}
.sns {
  width: 57px;
  height: 57px;
  display: block;
  transition: transform 0.15s ease;
}
.sns:active { transform: scale(0.92); }
.sns svg { width: 100%; height: 100%; display: block; }
@media (min-width: 768px) {
  .contact { margin-top: 80px; }
  .contact-title { font-size: 18px; }
  .contact-icons { gap: 22px; }
  .sns { width: 70px; height: 70px; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-title {
  text-align: center;
  margin-top: 40px;
  font-family: 'Noto Sans KR', 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 25px;
  line-height: 34px;
  color: #5C5C5C;
}
.faq-title span {
  display: inline-block;
  position: relative;
  padding: 0 4px;
}
.faq-title span::after {
  content: '';
  position: absolute;
  left: 4px; right: 4px;
  bottom: -2px;
  height: 9px;
  background: rgba(255,98,98,0.5);
  z-index: -1;
}

.faq {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.faq-item {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 4px rgba(0,0,0,0.25);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-q {
  width: 100%;
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 22px 16px 24px;
  text-align: left;
}
.faq-num {
  font-family: 'Noto Sans KR', sans-serif;
  font-weight: 500;
  font-size: 20px;
  color: #6285FF;
}
.faq-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #5C5C5C;
}
.faq-chev {
  transition: transform 0.25s ease;
  color: #5C5C5C;
}
.faq-item.open .faq-chev { transform: rotate(180deg); }
@media (min-width: 768px) {
  .faq-title { font-size: 32px; margin-top: 60px; }
  .faq-title span::after { height: 12px; bottom: -2px; }
  /* max-width 제한 제거 → 컨테이너(1100px - 패딩 = ~1020px) 전체 사용 */
  .faq { margin-top: 24px; gap: 14px; }
  .faq-q { padding: 22px 32px; grid-template-columns: 60px 1fr auto; }
  .faq-num { font-size: 24px; }
  .faq-label { font-size: 18px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.page-footer {
  margin-top: 40px;
  padding: 24px 4px 24px;
  background: rgba(240,239,255,0.52);
  margin-left: -21px;
  margin-right: -21px;
  padding-left: 24px;
  padding-right: 24px;
}
@media (min-width: 768px) {
  .page-footer {
    margin-left: 0px;
    margin-right: 0px;
    padding: 36px 50px;
    margin-top: 60px;
  }
}
.footer-info p {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  color: #5C5C5C;
  line-height: 1.8;
}
.footer-info b { font-weight: 700; }
.ft-line {
  display: flex;
  gap: 16px;
}
.ft-line .muted { color: #5C5C5C; font-weight: 400; }

.footer-links {
  margin-top: 14px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-links a {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 11px;
  color: #5C5C5C;
}
.footer-links .ft-family { color: #582EFF; }
@media (min-width: 768px) {
  .footer-info p { font-size: 14px; }
  .footer-links { margin-top: 18px; gap: 28px; }
  .footer-links a { font-size: 14px; }
}

/* ============================================================
   BOTTOM TAB BAR (fixed)
   ============================================================ */
/* ============================================================
   BOTTOM TAB BAR - 이미지 기반 (tabbar.png)
   - tabbar.png 를 배경으로, 투명 링크 5개를 위에 올림
   - 모바일: 이미지 자연스러운 크기 (최대 480px)
   - PC: max-width 1100px, 이미지 480px 중앙 + 양옆 흰색
   ============================================================ */

/* 전체 탭바 영역 (화면 하단 고정) */
.tabbar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background: white;
  z-index: 100;
  /* 아이폰 홈 인디케이터 공간 확보 */
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* 이미지를 가운데 배치하는 컨테이너 */
.tabbar-inner {
  position: relative;
  width: 100%;
  max-width: 480px;   /* 이미지 최대 표시 너비 (모바일 기준) */
  margin: 0 auto;
}

/* 피그마 탭바 이미지 */
.tabbar-img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none; /* 이미지는 클릭 안 되게 (링크가 처리) */
}

/* 투명 링크 5개 — 이미지 위에 정확하게 덮음 */
.tabbar-links {
  position: absolute;
  inset: 0;
  display: flex;
}

.tabbar-link {
  flex: 1;
  display: block;
  cursor: pointer;
  /* 개발 확인용: outline: 1px solid rgba(255,0,0,0.2); */
}

/* PC 모드: 탭바 컨테이너는 1100px, 이미지는 480px 중앙 */
@media (min-width: 768px) {
  .tabbar {
    border-top: 1px solid #F0F0F0;
  }
  .tabbar-inner {
    max-width: 480px; /* PC에서도 탭바 이미지는 모바일 너비 유지 */
  }
}

/* end tabbar */
