/* ============================================================
   JDISIM Premium Design Layer — "Fox Orange" Brand System
   styles.css 이후에 로드되어 토큰과 컴포넌트를 재정의합니다.
   브랜드 근거: 마스코트 여우(오렌지 털 #F1690D, 티일 스카프 #2BB3A3)
   ============================================================ */

:root {
  --accent: #F1690D;
  --accent-purple: #F59E0B;
  --accent-gradient: linear-gradient(135deg, #F1690D 0%, #F8823B 55%, #F59E0B 100%);
  --accent-gradient-hover: linear-gradient(135deg, #D95903 0%, #F1690D 100%);
  --accent-light: rgba(241,105,13, 0.09);
  --border-active: #F1690D;
  --fox-teal: #2BB3A3;
  --fox-teal-light: rgba(43, 179, 163, 0.1);
  --fox-cream: #FFF8F2;
  --ink-warm: #221510;
  --shadow-brand: 0 12px 32px rgba(241,105,13, 0.22);
}

/* ---------- 공통 컴포넌트 리스킨 ---------- */
body { background: linear-gradient(180deg, #FFFDFB 0%, #FFF6EE 8%, #f8fafc 26%); }

.logo-icon, .app-logo-badge {
  background: var(--accent-gradient) !important;
  box-shadow: 0 4px 12px rgba(241,105,13, 0.35);
}
.nav-link.active, .nav-link:hover { color: var(--accent) !important; }
.action-btn:not([style*="background"]) {
  background: var(--accent-gradient);
  box-shadow: var(--shadow-brand);
}
.action-btn:not([style*="background"]):hover { background: var(--accent-gradient-hover); }
.cart-count, .cart-badge { background: var(--accent) !important; }
.tab-btn.active {
  background: var(--accent-light);
  border-color: var(--accent);
  color: var(--accent);
}
.product-price { color: var(--accent) !important; }
.product-card { border-radius: 20px; transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease; }
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(34, 21, 16, 0.12);
  border-color: rgba(241,105,13, 0.35);
}
.search-btn { background: var(--accent-gradient); }
.pill.active {
  background: var(--accent-light) !important;
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}

/* ---------- 히어로: 여우 마스코트 무대 ---------- */
.hero-video-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: left;
}
.hero-text-col { flex: 1.25; }
.hero-video-badge {
  background: rgba(255, 255, 255, 0.92);
  color: var(--accent);
  border: 1px solid rgba(241,105,13, 0.25);
  font-weight: 800;
  letter-spacing: 0.02em;
}
.hero-video-title { letter-spacing: -0.03em; }
.hero-video-title span {
  background: linear-gradient(100deg, #F8823B 10%, #F1690D 55%, #D95903 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-video-btn-primary {
  background: var(--accent-gradient) !important;
  box-shadow: var(--shadow-brand) !important;
  border: none !important;
}
.hero-fox-col {
  flex: 0.85;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-width: 260px;
}
.hero-fox-img {
  width: min(320px, 32vw);
  filter: drop-shadow(0 24px 32px rgba(34, 21, 16, 0.28));
  animation: foxFloat 4.5s ease-in-out infinite;
}
.hero-fox-bubble {
  position: absolute;
  top: -6px;
  right: 4%;
  background: #fff;
  color: var(--ink-warm);
  font-weight: 800;
  font-size:0.9375rem;
  padding: 10px 16px;
  border-radius: 18px 18px 18px 4px;
  box-shadow: 0 10px 24px rgba(34, 21, 16, 0.14);
  border: 1.5px solid rgba(241,105,13, 0.2);
  animation: bubblePop .6s cubic-bezier(.34,1.56,.64,1) .4s both;
  z-index: 2;
}
.hero-fox-bubble em { font-style: normal; color: var(--accent); }
@keyframes foxFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes bubblePop {
  from { opacity: 0; transform: scale(.6) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ---------- 인기 여행지 카드 (2026-08-02: 가로 마퀴 대체) ---------- */
.hotdest-section { padding: 26px 0 12px; }
.hotdest-head { text-align: center; margin-bottom: 18px; }
.hotdest-eyebrow {
  display: inline-block; font-size: 0.6875rem; font-weight: 900; letter-spacing: 2.2px;
  color: #F8823B; margin-bottom: 8px;
}
.hotdest-title {
  margin: 0; font-size: 1.375rem; font-weight: 900; color: var(--ink-warm);
  letter-spacing: -0.02em; line-height: 1.35;
}
.hotdest-title em { font-style: normal; color: var(--accent); }
.hotdest-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
  max-width: 1000px; margin: 0 auto; padding: 0 20px;
}
.hotdest-card {
  display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1.5px solid var(--border-color); border-radius: 16px;
  padding: 13px 15px; cursor: pointer; text-align: left;
  transition: transform .22s cubic-bezier(.16,1,.3,1), box-shadow .22s ease, border-color .22s ease;
  box-shadow: var(--shadow-sm);
}
.hotdest-card:hover {
  transform: translateY(-4px); border-color: var(--accent);
  box-shadow: 0 14px 30px rgba(241,105,13,0.16);
}
.hotdest-flag { font-size: 1.7rem; line-height: 1; flex-shrink: 0; }
.hotdest-body { min-width: 0; }
.hotdest-name {
  font-size: 0.9375rem; font-weight: 800; color: var(--ink-warm);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hotdest-price { font-size: 0.78125rem; font-weight: 700; color: var(--text-muted); margin-top: 2px; }
.hotdest-price b { color: var(--accent); font-size: 0.875rem; }
@media (max-width: 900px) { .hotdest-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .hotdest-title { font-size: 1.1875rem; } .hotdest-flag { font-size: 1.45rem; } }

/* ---------- 여우 서비스 스트립 ---------- */
.fox-strip-section {
  padding: 64px 20px 56px;
  background: linear-gradient(180deg, #FFF9F3 0%, #FFF3E8 100%);
  border-top: 1px solid rgba(241,105,13, 0.1);
  border-bottom: 1px solid rgba(241,105,13, 0.1);
  position: relative;
  overflow: hidden;
}
.fox-strip-section::before,
.fox-strip-section::after {
  content: "✈️";
  position: absolute;
  font-size:1.625rem;
  opacity: 0.18;
}
.fox-strip-section::before { top: 34px; left: 7%; transform: rotate(-12deg); }
.fox-strip-section::after { bottom: 40px; right: 8%; transform: rotate(14deg); }
.fox-strip-section .container { max-width: 1080px; margin: 0 auto; text-align: center; }
.fox-strip-title { font-size:1.625rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink-warm); }
.fox-strip-sub { color: var(--text-dim); margin: 10px 0 36px; }
.fox-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fox-card {
  background: #fff;
  border: 1px solid rgba(241,105,13, 0.14);
  border-radius: 24px;
  padding: 30px 22px 24px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1), box-shadow .25s ease, border-color .2s;
  box-shadow: 0 6px 18px rgba(210, 120, 40, 0.06);
}
.fox-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(34, 21, 16, 0.13);
  border-color: rgba(241,105,13, 0.4);
}
.fox-card-stage {
  position: relative;
  width: 168px;
  height: 158px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 12px;
}
.fox-card-stage::before {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #FFE9D6 0%, #FFF6EC 68%, transparent 72%);
  border: 1.5px dashed rgba(241,105,13, 0.28);
}
.fox-card img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 14px rgba(34, 21, 16, 0.16));
  transition: transform .3s ease;
}
.fox-card:hover img { transform: scale(1.07) rotate(-2deg); }
.fox-card-tag {
  display: inline-block;
  font-size:0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--fox-teal);
  background: var(--fox-teal-light);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.fox-card h3 { font-size:1.0625rem; font-weight: 800; color: var(--ink-warm); margin: 0 0 6px; }
.fox-card p { font-size:0.84375rem; color: var(--text-dim); line-height: 1.55; margin: 0; flex: 1; }
.fox-card-cta {
  margin-top: 16px;
  font-size:0.84375rem;
  font-weight: 800;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.fox-card-cta em { font-style: normal; transition: transform .2s ease; }
.fox-card:hover .fox-card-cta em { transform: translateX(4px); }

/* 신뢰 지표 줄 */
.fox-strip-stats {
  margin-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 4vw, 44px);
  flex-wrap: wrap;
}
.fox-stat { display: flex; flex-direction: column; gap: 2px; }
.fox-stat strong {
  font-size:1.375rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #F1690D, #D95903);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.fox-stat span { font-size:0.75rem; font-weight: 700; color: var(--text-dim); }
.fox-stat-divider { width: 1px; height: 34px; background: rgba(241,105,13, 0.2); }

/* ---------- 리뷰 섹션 여우 ---------- */
.review-fox-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 8px;
}
.review-fox-badge img { width: 84px; height: 84px; object-fit: contain; }

/* ---------- 결제 수단 선택 ---------- */
.pay-method-group { margin-top: 20px; text-align: left; }
.pay-method-label {
  display: block;
  font-size:0.84375rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 10px;
}
.pay-method-options { display: flex; gap: 10px; }
.pay-method-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  border: 2px solid var(--border-color);
  border-radius: 14px;
  background: #fff;
  font-weight: 800;
  font-size:0.9375rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .18s ease;
  position: relative;
}
.pay-method-btn:hover { border-color: var(--border-hover); transform: translateY(-1px); }
.pay-method-btn.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--ink-warm);
  box-shadow: 0 6px 16px rgba(241,105,13, 0.15);
}
.pay-method-btn.kakao.selected { border-color: #FEE500; background: #FFFBE0; }
.pay-method-btn.disabled { opacity: 0.55; cursor: not-allowed; }
.pay-method-soon {
  position: absolute;
  top: -8px;
  right: 10px;
  font-size: 0.62rem;
  font-weight: 800;
  background: var(--text-dim);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
}

/* ---------- 모바일 오버라이드 ---------- */
.app-header { background: rgba(255, 253, 251, 0.9) !important; border-bottom: 1px solid rgba(241,105,13, 0.12) !important; }
.app-header > div:first-child, .app-header .app-logo span { color: var(--accent) !important; }
.bottom-nav .nav-item.active { color: var(--accent) !important; }
.hero-promo {
  background: linear-gradient(135deg, #FFF3E8 0%, #FFE8D4 55%, #FFF8F0 100%) !important;
  border: 1px solid rgba(241,105,13, 0.18) !important;
  position: relative;
  overflow: visible !important;
}
.hero-promo h2 span, .hero-promo h2 strong { color: var(--accent) !important; }
.hero-promo-btn { background: var(--accent-gradient) !important; color: #fff !important; box-shadow: var(--shadow-brand); border: none !important; }
.mobile-hero-fox {
  position: absolute;
  right: 6px;
  bottom: -6px;
  width: 118px;
  filter: drop-shadow(0 10px 16px rgba(34, 21, 16, 0.22));
  animation: foxFloat 4.5s ease-in-out infinite;
  pointer-events: none;
}
.mobile-marquee {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mobile-marquee::-webkit-scrollbar { display: none; }
.mobile-marquee .marquee-tag { font-size:0.84375rem; padding: 8px 15px; }
.dest-icon-circle { background: var(--fox-cream) !important; border: 1px solid rgba(241,105,13, 0.14); }
.mobile-product-card { border-radius: 20px; border: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.mobile-product-card:active { border-color: rgba(241,105,13, 0.4); }
.buy-btn-small { background: var(--accent-gradient) !important; box-shadow: 0 4px 10px rgba(241,105,13, 0.25); }

/* ---------- 반응형 & 모션 배려 ---------- */
@media (max-width: 860px) {
  .hero-video-content { flex-direction: column; text-align: center; gap: 8px; }
  .hero-fox-col { min-width: 0; }
  .hero-fox-img { width: min(220px, 52vw); }
  .hero-fox-bubble { right: auto; left: 50%; transform: translateX(30%); font-size:0.84375rem; }
  .fox-strip-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fox-img, .mobile-hero-fox { animation: none !important; }
}

/* ---------- 후기 출처 뱃지 ---------- */
.review-source-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size:0.75rem;
  font-weight: 800;
  color: #03A94E;
  background: rgba(3, 169, 78, 0.08);
  border: 1px solid rgba(3, 169, 78, 0.22);
  padding: 5px 13px;
  border-radius: 999px;
  margin-top: 10px;
}

/* ---------- 카카오톡 상담 플로팅 버튼 ---------- */
.kakao-float-btn {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 580;
  display: flex;
  align-items: center;
  gap: 8px;
  background: #FEE500;
  color: #191919;
  font-weight: 800;
  font-size:0.9375rem;
  padding: 13px 18px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform .2s ease, box-shadow .2s ease;
}
.kakao-float-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22); }
.kakao-float-btn .kf-icon { font-size:1.1875rem; }
@media (max-width: 768px) {
  .kakao-float-btn { bottom: 82px; padding: 12px 15px; font-size:0.84375rem; } /* 하단 네비 위로 */
}

/* ---------- 모던 옵션 선택 UI (드롭다운 대체) ---------- */
.opt-hidden-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
}
.opt-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.opt-item {
  border: 1.5px solid var(--border-color);
  background: #fff;
  border-radius: 12px;
  padding: 10px 16px;
  font-size:0.84375rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all .16s ease;
  font-family: inherit;
}
.opt-item:hover { border-color: rgba(241,105,13, 0.45); transform: translateY(-1px); }
.opt-item.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--accent);
  box-shadow: 0 4px 12px rgba(241,105,13, 0.16);
}
/* 통신사: 카드형 (세로 정보 2줄, 가로 꽉 채움) */
.opt-cards { flex-direction: column; gap: 8px; }
.opt-cards .opt-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  padding: 13px 16px;
  border-radius: 14px;
}
.opt-cards .opt-main { font-size:0.9375rem; font-weight: 800; color: var(--text-main); }
.opt-cards .opt-item.selected .opt-main { color: var(--accent); }
.opt-cards .opt-sub {
  font-size:0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  background: var(--bg-tertiary);
  padding: 3px 9px;
  border-radius: 999px;
  flex-shrink: 0;
}
.opt-cards .opt-item.selected .opt-sub { background: rgba(241,105,13, 0.14); color: var(--accent); }
.opt-cards .opt-item.selected::after { content: "✓"; font-weight: 900; color: var(--accent); margin-left: 2px; }
/* 플랜 타입: 세그먼트 (반반) */
.opt-seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-tertiary); border-radius: 14px; padding: 4px; gap: 4px; }
.opt-seg .opt-item { border: none; background: transparent; border-radius: 11px; text-align: center; padding: 11px 8px; }
.opt-seg .opt-item.selected { background: #fff; color: var(--accent); box-shadow: 0 2px 8px rgba(34, 21, 16, 0.1); }
.opt-seg:has(.opt-item:only-child) { grid-template-columns: 1fr; }
/* 용량/기간: 알약 그리드 */
.opt-pills .opt-item { border-radius: 999px; min-width: 64px; text-align: center; }

/* ---------- 옵션 선택 UI 현대화 (구식 드롭다운 대체) ---------- */
.opt-hidden-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
.opt-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.opt-item {
  font-family: inherit;
  border: 1.5px solid var(--border-color);
  background: #fff;
  color: var(--text-muted);
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all .16s ease;
  -webkit-tap-highlight-color: transparent;
}
.opt-item:hover { border-color: rgba(241,105,13, 0.45); color: var(--ink-warm); }
.opt-item.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  color: var(--ink-warm);
  box-shadow: 0 4px 12px rgba(241,105,13, 0.16);
  position: relative;
}

/* 통신사: 카드형 (이름 + 망/속도 부가정보) */
.opt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.opt-cards .opt-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 14px;
  text-align: left;
}
.opt-cards .opt-main { font-size:0.9375rem; font-weight: 800; color: inherit; }
.opt-cards .opt-sub { font-size:0.75rem; font-weight: 600; color: var(--text-dim); }
.opt-cards .opt-item.selected .opt-main { color: var(--accent); }
.opt-cards .opt-item.selected::after {
  content: "✓";
  position: absolute;
  top: 9px;
  right: 12px;
  font-size:0.84375rem;
  font-weight: 800;
  color: var(--accent);
}

/* 플랜 타입: 세그먼트 토글 */
.opt-seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0;
  background: var(--bg-tertiary);
  border-radius: 12px;
  padding: 4px;
}
.opt-seg .opt-item {
  border: none;
  background: transparent;
  padding: 10px 8px;
  font-size:0.84375rem;
  border-radius: 9px;
  box-shadow: none;
}
.opt-seg .opt-item.selected {
  background: #fff;
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

/* 용량/기간: 알약 칩 */
.opt-pills .opt-item { padding: 9px 16px; font-size:0.84375rem; border-radius: 999px; }
.opt-pills .opt-item.selected::before { content: "✓ "; color: var(--accent); font-weight: 800; }

/* ---------- 모던 드롭다운 (옵션 9개 이상일 때 칩 대신 사용) ---------- */
.opt-select-modern {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 50px;
  margin-top: 8px;
  padding: 0 44px 0 16px;
  font-family: inherit;
  font-size:0.9375rem;
  font-weight: 700;
  color: var(--ink-warm);
  background-color: #fff;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  cursor: pointer;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23F2751F' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.opt-select-modern:hover { border-color: rgba(241,105,13, 0.45); }
.opt-select-modern:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(241,105,13, 0.15);
}

/* ---------- 결제 약관 동의 블록 ---------- */
.consent-box {
  margin-top: 18px;
  text-align: left;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 14px 16px;
}
.consent-master {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 4px;
}
.consent-master input { width: 19px; height: 19px; accent-color: var(--accent); flex-shrink: 0; }
.consent-master span { font-size:0.84375rem; font-weight: 800; color: var(--text-main); }
.consent-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0 8px 29px;
  font-size:0.84375rem;
  color: var(--text-muted);
  font-weight: 600;
}
.consent-row em { font-style: normal; color: var(--text-dim); font-size:0.75rem; }
.consent-detail-btn {
  background: none;
  border: none;
  color: #2563eb;
  font-size:0.75rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 2px 0;
  font-family: inherit;
}
.consent-detail {
  display: none;
  margin: 2px 0 8px 29px;
  padding: 11px 13px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.consent-detail.open { display: block; }

/* ---------- 통신사 카드 망/속도 배지 ---------- */
.opt-cards .opt-sub { display: flex; gap: 5px; align-items: center; }
.opt-cards .opt-sub em {
  font-style: normal;
  font-size:0.75rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}
.opt-net-local { background: rgba(5, 150, 105, 0.1); color: #059669; }
.opt-net-roaming { background: rgba(79, 70, 229, 0.09); color: #4f46e5; }
.opt-speed { background: var(--bg-tertiary); color: var(--text-dim); }

/* ---------- 스마트스토어 대체 구매 버튼 ---------- */
.smartstore-alt-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  padding: 13px;
  border-radius: 12px;
  background: rgba(3, 199, 90, 0.08);
  border: 1.5px solid rgba(3, 199, 90, 0.35);
  color: #03A94E;
  font-weight: 800;
  font-size:0.84375rem;
  text-decoration: none;
  transition: background .16s ease, transform .16s ease;
}
.smartstore-alt-btn:hover { background: rgba(3, 199, 90, 0.14); transform: translateY(-1px); }

/* ---------- 상품 모달 CTA 존 (구매 버튼 위계) ---------- */
.modal-cta-zone {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 16px;
}
.cta-buy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  padding: 14px 16px;
  border: none;
  border-radius: 16px;
  background: var(--accent-gradient);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 10px 26px rgba(241,105,13, 0.35);
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.cta-buy::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  animation: ctaShine 3.2s ease-in-out infinite;
}
@keyframes ctaShine {
  0%, 60% { left: -80%; }
  100% { left: 130%; }
}
.cta-buy:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(241,105,13, 0.45); }
.cta-buy:active { transform: translateY(0); }
.cta-buy-main { font-size:1.0625rem; font-weight: 800; letter-spacing: -0.01em; }
.cta-buy-sub { font-size:0.75rem; font-weight: 700; opacity: 0.85; }
.cta-cart {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: 14px;
  background: #fff;
  color: var(--text-main);
  font-family: inherit;
  font-size:0.9375rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}
.cta-cart:hover { border-color: rgba(241,105,13, 0.45); background: var(--fox-cream); }
.cta-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 3px 0 0;
}
.cta-divider::before, .cta-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-color);
}
.cta-divider span { font-size:0.75rem; font-weight: 700; color: var(--text-dim); white-space: nowrap; }
.cta-smartstore {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  background: #03C75A;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(3, 199, 90, 0.28);
  transition: transform .18s ease, box-shadow .18s ease, background .16s ease;
}
.cta-smartstore:hover {
  transform: translateY(-2px);
  background: #02b350;
  box-shadow: 0 10px 22px rgba(3, 199, 90, 0.38);
}
.cta-ss-main { font-size:0.9375rem; font-weight: 800; }
.cta-ss-sub { font-size:0.75rem; font-weight: 700; opacity: 0.88; }

/* 모바일 스마트스토어 버튼도 동일한 초록 솔리드로 통일 */
.smartstore-alt-btn {
  background: #03C75A;
  border: none;
  color: #fff;
  box-shadow: 0 6px 16px rgba(3, 199, 90, 0.28);
}
.smartstore-alt-btn:hover { background: #02b350; }

@media (prefers-reduced-motion: reduce) {
  .cta-buy::after { animation: none; }
}

/* ================= 모바일 프리미엄 비주얼 패스 ================= */

/* 로미 매칭 위젯 */
.romi-finder {
  background: linear-gradient(160deg, #FFF9F3 0%, #FFEFDF 100%);
  border: 1.5px solid rgba(241,105,13, 0.22);
  border-radius: 22px;
  padding: 18px 16px 16px;
  margin: 4px 0 24px;
  box-shadow: 0 8px 24px rgba(210, 120, 40, 0.1);
}
.rf-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rf-fox { width: 54px; height: 54px; object-fit: contain; filter: drop-shadow(0 4px 6px rgba(34,21,16,0.15)); }
.rf-title { font-size:1.0625rem; font-weight: 800; color: var(--ink-warm); letter-spacing: -0.02em; }
.rf-sub { font-size:0.75rem; color: var(--text-dim); font-weight: 600; margin-top: 2px; }
.rf-field { position: relative; margin-bottom: 10px; }
.rf-field input {
  width: 100%;
  height: 48px;
  border: 1.5px solid rgba(241,105,13, 0.25);
  border-radius: 14px;
  padding: 0 16px;
  font-family: inherit;
  font-size:0.9375rem;
  font-weight: 700;
  color: var(--ink-warm);
  background: #fff;
  outline: none;
  box-sizing: border-box;
}
.rf-field input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(241,105,13,0.14); }
.rf-suggest {
  display: none;
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
  z-index: 50;
  overflow: hidden;
}
.rf-suggest-item { padding: 12px 16px; font-size:0.84375rem; font-weight: 700; color: var(--text-main); cursor: pointer; }
.rf-suggest-item:active, .rf-suggest-item:hover { background: var(--fox-cream); color: var(--accent); }
.rf-days { display: flex; gap: 7px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 12px; scrollbar-width: none; }
.rf-days::-webkit-scrollbar { display: none; }
.rf-day {
  flex-shrink: 0;
  min-width: 60px;           /* 균일폭 — "1일"~"30일" 텍스트 길이 무관 (2026-07-18 사장님 지시) */
  padding: 8px 0;
  text-align: center;
  border-radius: 999px;
  border: 1.5px solid rgba(241,105,13, 0.22);
  background: #fff;
  font-family: inherit;
  font-size:0.84375rem;   /* 14px — 대비 보완 (선택 칩 흰 글자) */
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
}
.rf-day.selected { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 10px rgba(241,105,13,0.3); }
.rf-go {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 14px;
  background: var(--accent-gradient);
  color: #fff;
  font-family: inherit;
  font-size:0.9375rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(241,105,13, 0.32);
}
.rf-go:active { transform: scale(0.98); }
.rf-results { margin-top: 4px; }
.rf-result-head { font-size:0.84375rem; font-weight: 800; color: var(--ink-warm); margin: 12px 0 8px; }
.rf-empty { font-size:0.84375rem; color: var(--text-dim); font-weight: 600; padding: 12px 4px; }
.rf-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid var(--border-color);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  transition: transform .15s ease, border-color .15s ease;
}
.rf-card:active { transform: scale(0.98); border-color: var(--accent); }
.rf-card-badge {
  flex-shrink: 0;
  font-size:0.75rem;
  font-weight: 800;
  background: var(--fox-cream);
  border: 1px solid rgba(241,105,13, 0.25);
  color: var(--accent);
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
}
.rf-card-body { flex: 1; min-width: 0; }
.rf-card-title { font-size:0.84375rem; font-weight: 800; color: var(--ink-warm); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rf-card-sub { font-size:0.75rem; color: var(--text-dim); font-weight: 600; margin-top: 2px; }
.rf-card-price { text-align: right; font-size:0.9375rem; font-weight: 800; color: var(--accent); flex-shrink: 0; }
.rf-card-price em { display: block; font-style: normal; font-size:0.75rem; color: var(--text-dim); font-weight: 700; }

/* 상품 카드: 1일당 가격 + 프레스 반응 */
.product-perday { display: block; font-size:0.75rem; color: var(--text-dim); font-weight: 700; margin-top: 1px; }
.mobile-product-card { transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease; }
.mobile-product-card:active { transform: scale(0.985); box-shadow: 0 2px 6px rgba(0,0,0,0.04); }
.product-flag-img { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(241,105,13, 0.18); }

/* 하단 네비: 활성 탭 알약 인디케이터 */
.bottom-nav { box-shadow: 0 -6px 20px rgba(15, 23, 42, 0.06); }
.bottom-nav .nav-item { position: relative; padding: 7px 13px; border-radius: 14px; transition: background .18s ease, transform .18s ease; }
.bottom-nav .nav-item.active { background: var(--accent-light); transform: translateY(-2px); }
.bottom-nav .nav-item.active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}

/* ================= 모바일 시네마틱 히어로 ================= */
.m-hero {
  position: relative;
  margin: -16px -16px 26px;
  min-height: calc(100vh - 132px);
  min-height: calc(100svh - 132px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(160deg, #1c1410 0%, #3a2213 55%, #6b3a17 100%);
}
.m-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.m-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 12, 6, 0.18) 0%, rgba(20, 12, 6, 0.42) 55%, rgba(20, 12, 6, 0.78) 100%);
}
.m-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 22px calc(30px + env(safe-area-inset-bottom, 0px));
  color: #fff;
}
.m-hero-badge {
  display: inline-block;
  font-size:0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 14px;
  animation: heroRise .7s cubic-bezier(.22,1,.36,1) both;
}
.m-hero-title {
  font-size: clamp(1.7rem, 8vw, 2.15rem);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
  animation: heroRise .7s cubic-bezier(.22,1,.36,1) .08s both;
}
.m-hero-title em {
  font-style: normal;
  background: linear-gradient(100deg, #FFB56B, #F8823B);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.m-hero-sub {
  font-size:0.9375rem;
  line-height: 1.6;
  opacity: 0.88;
  font-weight: 500;
  margin: 0 0 20px;
  animation: heroRise .7s cubic-bezier(.22,1,.36,1) .16s both;
}
.m-hero-ctas { display: flex; flex-direction: column; gap: 9px; animation: heroRise .7s cubic-bezier(.22,1,.36,1) .24s both; }
.m-hero-cta-primary {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 16px;
  background: var(--accent-gradient);
  color: #fff;
  font-family: inherit;
  font-size:1.0625rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(241,105,13, 0.45);
}
.m-hero-cta-primary:active { transform: scale(0.98); }
.m-hero-cta-ghost {
  width: 100%;
  padding: 13px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: inherit;
  font-size:0.84375rem;
  font-weight: 800;
  cursor: pointer;
}
.m-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  animation: heroRise .7s cubic-bezier(.22,1,.36,1) .32s both;
}
.m-hero-stats > div:not(.m-hero-stat-div) { display: flex; flex-direction: column; align-items: center; gap: 1px; }
.m-hero-stats strong { font-size:1.0625rem; font-weight: 800; color: #FFB56B; }
.m-hero-stats span { font-size:0.75rem; font-weight: 700; opacity: 0.75; }
.m-hero-stat-div { width: 1px; height: 26px; background: rgba(255, 255, 255, 0.2); }
.m-hero-fox {
  position: absolute;
  top: 14%;
  right: -8px;
  width: 128px;
  z-index: 1;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.4));
  animation: foxFloat 4.5s ease-in-out infinite;
}
.m-hero-scroll-cue {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.7);
  font-size:1.375rem;
  font-weight: 800;
  animation: cueBounce 1.8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes cueBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 0.35; }
}
@media (prefers-reduced-motion: reduce) {
  .m-hero-badge, .m-hero-title, .m-hero-sub, .m-hero-ctas, .m-hero-stats { animation: none; }
  .m-hero-scroll-cue, .m-hero-fox { animation: none; }
}

/* ================= 로미 오프닝 인트로 ================= */
html.intro-lock, html.intro-lock body { overflow: hidden; }
.romi-intro {
  position: fixed;
  inset: 0;
  z-index: 850;
  background: #0d0805;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity .65s ease;
  cursor: pointer;
}
.romi-intro.hide { opacity: 0; pointer-events: none; }
.romi-intro video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 768px) {
  .romi-intro video { object-fit: contain; } /* 데스크탑: 세로 영상 시네마 레터박스 */
}
.romi-intro-brand {
  position: absolute;
  bottom: max(52px, env(safe-area-inset-bottom, 0px) + 44px);
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-weight: 800;
  font-size:1.625rem;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
  animation: introBrandIn 1.1s cubic-bezier(.22,1,.36,1) .5s both;
  pointer-events: none;
}
.romi-intro-brand span {
  display: block;
  margin-top: 8px;
  font-size:0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-indent: 0.06em;
  opacity: 0.85;
}
@keyframes introBrandIn {
  from { opacity: 0; transform: translateY(16px); letter-spacing: 0.5em; }
  to { opacity: 1; transform: translateY(0); letter-spacing: 0.28em; }
}
.romi-intro-skip {
  position: absolute;
  top: max(18px, env(safe-area-inset-top, 0px) + 12px);
  right: 18px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: inherit;
  font-size:0.75rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
}

/* ================= 모바일 히어로: 시네마틱 강화 ================= */
.m-hero { border-radius: 0 0 32px 32px; box-shadow: 0 24px 48px -18px rgba(34, 21, 16, 0.35); }

/* 켄번즈: 영상이 아주 천천히 줌 */
.m-hero-video { animation: heroKenBurns 22s ease-in-out infinite alternate; transform-origin: center 40%; }
@keyframes heroKenBurns {
  from { transform: scale(1); }
  to { transform: scale(1.09); }
}

/* 필름 그레인 + 비네트 */
.m-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.06;
  mix-blend-mode: overlay;
}
.m-hero-overlay {
  background:
    radial-gradient(130% 90% at 50% 108%, rgba(20, 12, 6, 0.55) 0%, transparent 55%),
    radial-gradient(160% 120% at 50% 50%, transparent 55%, rgba(10, 6, 3, 0.5) 100%),
    linear-gradient(180deg, rgba(20, 12, 6, 0.2) 0%, rgba(20, 12, 6, 0.4) 55%, rgba(16, 9, 4, 0.82) 100%);
}

/* 떠다니는 빛 입자 (오브) */
.m-hero-overlay::before, .m-hero-overlay::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(26px);
  pointer-events: none;
}
.m-hero-overlay::before {
  width: 150px; height: 150px;
  left: -34px; top: 22%;
  background: radial-gradient(circle, rgba(255, 170, 90, 0.4), transparent 70%);
  animation: orbDrift 11s ease-in-out infinite alternate;
}
.m-hero-overlay::after {
  width: 105px; height: 105px;
  right: -14px; top: 52%;
  background: radial-gradient(circle, rgba(64, 205, 190, 0.32), transparent 70%);
  animation: orbDrift 14s ease-in-out 2s infinite alternate-reverse;
}
@keyframes orbDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(22px, -34px) scale(1.18); }
}

/* 타이포: 대형 + 이탤릭 세리프 악센트 + 금빛 시머 */
.m-hero-badge {
  font-size:0.75rem;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
}
.m-hero-title {
  font-size: clamp(1.95rem, 9.4vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -0.04em;
}
.m-hero-title em {
  background: linear-gradient(100deg, #FFD9A0 5%, #F8823B 38%, #FFD9A0 62%, #F8823B 95%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 4.5s ease-in-out infinite;
}
@keyframes goldShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}
.m-hero-sub { font-size:0.9375rem; opacity: 0.82; }

/* 지표: 금빛 숫자 + 헤어라인 */
.m-hero-stats { border-top-color: rgba(255, 200, 150, 0.22); gap: 22px; }
.m-hero-stats strong {
  font-size:1.1875rem;
  background: linear-gradient(120deg, #FFE0B0, #F8823B);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.m-hero-stat-div { background: rgba(255, 200, 150, 0.22); height: 30px; }

/* 스크롤 큐: 세로 라인 + 은은한 흐름 */
.m-hero-scroll-cue {
  font-size: 0;
  width: 1.5px;
  height: 34px;
  bottom: 12px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  background-size: 100% 220%;
  animation: cueFlow 1.9s ease-in-out infinite;
  border-radius: 2px;
}
@keyframes cueFlow {
  from { background-position: 0 -34px; opacity: 0.9; }
  to { background-position: 0 34px; opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
  .m-hero-video, .m-hero-overlay::before, .m-hero-overlay::after,
  .m-hero-title em, .m-hero-scroll-cue, .romi-intro-brand { animation: none !important; }
}

/* 인트로: 밝은 영상 위 브랜드 텍스트 가독성 확보 */
.romi-intro::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 6, 3, 0.55) 78%, rgba(10, 6, 3, 0.7) 100%);
  pointer-events: none;
}
.romi-intro-brand { z-index: 2; }
.romi-intro-skip { z-index: 2; }

/* ================= PC 히어로: 시네마틱 대개편 ================= */
.hero-video-frame {
  position: relative;
  min-height: 86vh;
  min-height: 86svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 0 0 44px 44px;
  box-shadow: 0 34px 70px -26px rgba(34, 21, 16, 0.4);
}
.hero-video-element {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroKenBurns 24s ease-in-out infinite alternate;
  transform-origin: center 42%;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 100% at 18% 88%, rgba(20, 12, 6, 0.5) 0%, transparent 52%),
    radial-gradient(170% 130% at 50% 50%, transparent 52%, rgba(10, 6, 3, 0.55) 100%),
    linear-gradient(100deg, rgba(18, 10, 5, 0.62) 0%, rgba(18, 10, 5, 0.3) 48%, rgba(18, 10, 5, 0.15) 100%);
}
.hero-video-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  opacity: 0.055;
  mix-blend-mode: overlay;
}
.hero-video-content { position: relative; z-index: 2; width: 100%; padding: 60px 40px; }
.hero-video-badge {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.34) !important;
  color: #fff !important;
  backdrop-filter: blur(10px);
  font-size:0.75rem !important;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  animation: heroRise .8s cubic-bezier(.22,1,.36,1) both;
}
.hero-video-title {
  color: #fff;
  font-size: clamp(2.5rem, 4.6vw, 3.7rem) !important;
  line-height: 1.14 !important;
  letter-spacing: -0.045em !important;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.4);
  animation: heroRise .8s cubic-bezier(.22,1,.36,1) .1s both;
}
.hero-video-title span {
  background: linear-gradient(100deg, #FFD9A0 5%, #F8823B 38%, #FFD9A0 62%, #F8823B 95%) !important;
  background-size: 220% 100% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: goldShimmer 4.5s ease-in-out infinite;
}
.hero-video-sub {
  color: rgba(255, 255, 255, 0.85);
  font-size:1.0625rem;
  font-weight: 500;
  line-height: 1.6;
  margin: 14px 0 26px;
  max-width: 480px;
  animation: heroRise .8s cubic-bezier(.22,1,.36,1) .18s both;
}
.hero-video-buttons { animation: heroRise .8s cubic-bezier(.22,1,.36,1) .26s both; }
.hero-video-btn-primary {
  box-shadow: 0 14px 34px rgba(241,105,13, 0.5) !important;
  font-size:1.0625rem !important;
}
.hero-video-btn-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.4) !important;
  color: #fff !important;
  backdrop-filter: blur(10px);
}
.pc-hero-stats {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 200, 150, 0.24);
  max-width: 560px;
  animation: heroRise .8s cubic-bezier(.22,1,.36,1) .34s both;
}
.pc-hero-stats > div:not(.pc-hero-stat-div) { display: flex; flex-direction: column; gap: 2px; }
.pc-hero-stats strong {
  font-size:1.625rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #FFE0B0, #F8823B);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pc-hero-stats span { font-size:0.75rem; font-weight: 700; color: rgba(255, 255, 255, 0.72); }
.pc-hero-stat-div { width: 1px; height: 36px; background: rgba(255, 200, 150, 0.24); }
.pc-hero-cue {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1.5px;
  height: 40px;
  border-radius: 2px;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  background-size: 100% 220%;
  animation: cueFlow 1.9s ease-in-out infinite;
  pointer-events: none;
}
/* 히어로 속 로미: 은은한 스포트라이트 무대 */
.hero-fox-col::before {
  content: "";
  position: absolute;
  bottom: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  padding-top: 120%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 170, 90, 0.28) 0%, transparent 62%);
  filter: blur(10px);
  pointer-events: none;
}
.hero-fox-bubble { animation-delay: .9s; }

@media (max-width: 860px) {
  .hero-video-frame { min-height: 70svh; }
  .pc-hero-stats { justify-content: center; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video-element, .hero-video-title span,
  .hero-video-badge, .hero-video-title, .hero-video-sub, .hero-video-buttons,
  .pc-hero-stats, .pc-hero-cue { animation: none !important; }
}

/* ================= 모바일 페이저 홈 (로케비 스타일 + α) =================
   y축 CSS 스냅은 JS 인스턴트 페이저와 충돌(03 고정 버그)해 2026-07-14 제거 — 재도입 금지 */
.snap-panel { scroll-margin-top: 56px; }

/* WHY 풀스크린 패널 공통 */
.why-panel {
  position: relative;
  min-height: calc(100vh - 138px);
  min-height: calc(100svh - 138px);
  margin: 18px -16px;
  padding: 44px 26px;
  border-radius: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.why-panel::before {
  content: attr(data-num);
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 7.5rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  opacity: 0.07;
  line-height: 1;
  pointer-events: none;
}
.wp-eyebrow {
  display: inline-block;
  font-size:0.75rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
  width: fit-content;
}
.wp-title { font-size: clamp(1.6rem, 7.6vw, 2rem); font-weight: 800; line-height: 1.26; letter-spacing: -0.035em; margin: 0 0 14px; }
.wp-title em { font-style: normal; }
.wp-copy { font-size:0.84375rem; line-height: 1.7; font-weight: 500; margin: 0 0 22px; opacity: 0.82; }
.wp-stat { display: flex; flex-direction: column; gap: 3px; }
.wp-stat strong { font-size:2rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.wp-stat > span { font-size:0.75rem; font-weight: 700; opacity: 0.7; }
.wp-fox {
  position: absolute;
  right: -14px;
  bottom: -10px;
  width: 158px;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.28));
  animation: foxFloat 4.5s ease-in-out infinite;
  pointer-events: none;
}

/* 등장 연출 (스냅되면 순차 상승) */
.why-panel .wp-el { opacity: 0; transform: translateY(28px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.why-panel.in-view .wp-el { opacity: 1; transform: translateY(0); }
.why-panel.in-view .wp-fox { opacity: 1; }
.wp-d1 { transition-delay: .05s; }
.wp-d2 { transition-delay: .14s; }
.wp-d3 { transition-delay: .23s; }
.wp-d4 { transition-delay: .32s; }

/* 패널별 테마 */
.why-1 {
  background:
    radial-gradient(120% 80% at 85% 100%, rgba(241,105,13, 0.28) 0%, transparent 55%),
    linear-gradient(160deg, #1d1109 0%, #3b2110 60%, #4a2a12 100%);
  color: #fff;
}
.why-1 .wp-eyebrow { background: rgba(255, 170, 90, 0.14); color: #FFB56B; border: 1px solid rgba(255, 170, 90, 0.3); }
.why-1 .wp-title em, .why-1 .wp-stat strong {
  background: linear-gradient(120deg, #FFD9A0, #F8823B);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.why-2 {
  background:
    radial-gradient(110% 70% at 12% 0%, rgba(255, 255, 255, 0.85) 0%, transparent 55%),
    linear-gradient(165deg, #FFF8F0 0%, #FFE9D2 100%);
  color: var(--ink-warm);
  border: 1px solid rgba(241,105,13, 0.16);
}
.why-2 .wp-eyebrow { background: rgba(241,105,13, 0.1); color: var(--accent); border: 1px solid rgba(241,105,13, 0.28); }
.why-2 .wp-title em, .why-2 .wp-stat strong { color: var(--accent); }
.why-2 .wp-copy { color: var(--text-muted); opacity: 1; }
.why-3 {
  background:
    radial-gradient(120% 80% at 80% 0%, rgba(43, 179, 163, 0.26) 0%, transparent 55%),
    linear-gradient(160deg, #0b2320 0%, #113f38 65%, #14514a 100%);
  color: #fff;
}
.why-3 .wp-eyebrow { background: rgba(64, 205, 190, 0.14); color: #6FE3D4; border: 1px solid rgba(64, 205, 190, 0.32); }
.why-3 .wp-title em, .why-3 .wp-stat strong {
  background: linear-gradient(120deg, #A7F3E9, #40CDBE);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 로미 매칭 풀스크린 패널 */
.finder-panel {
  min-height: calc(100vh - 138px);
  min-height: calc(100svh - 138px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px 0;
}
.fp-head { text-align: left; margin-bottom: 14px; }
.fp-head .wp-eyebrow { background: rgba(241,105,13, 0.1); color: var(--accent); border: 1px solid rgba(241,105,13, 0.28); margin-bottom: 10px; }
.fp-title { font-size:1.375rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink-warm); margin: 0; }
.fp-title em { font-style: normal; color: var(--accent); }
.finder-panel .romi-finder { margin-bottom: 0; }

/* 우측 진행 인디케이터 */
.snap-dots {
  display: none;
  position: fixed;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 510;
  flex-direction: column;
  gap: 9px;
}
html.home-snap .snap-dots { display: flex; }
.snap-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: none;
  background: rgba(120, 100, 85, 0.32);
  padding: 0;
  cursor: pointer;
  transition: height .3s cubic-bezier(.22,1,.36,1), background .3s ease;
}
.snap-dot.active { height: 22px; background: var(--accent); box-shadow: 0 2px 8px rgba(241,105,13, 0.4); }

@media (prefers-reduced-motion: reduce) {
  .why-panel .wp-el { transition: none; opacity: 1; transform: none; }
  .wp-fox { animation: none; }
}

/* ================= 리뷰 섹션 고급화 (실구매 후기) ================= */
.review-meta-line {
  display: block;
  font-size:0.84375rem;
  font-weight: 800;
  letter-spacing: 0;
  -webkit-text-fill-color: initial;
  color: var(--text-muted);
  margin-top: 4px;
}
.rv-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 18px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.rv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(34, 21, 16, 0.1);
  border-color: rgba(241,105,13, 0.3);
}
.rv-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.rv-stars { color: #D97706; font-size:0.9375rem; letter-spacing: 2px; }
.rv-best {
  font-size: 0.64rem;
  font-weight: 800;
  background: linear-gradient(120deg, #FFF3D6, #FFE3AE);
  color: #B45309;
  border: 1px solid rgba(180, 83, 9, 0.25);
  padding: 3px 8px;
  border-radius: 999px;
}
.rv-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.rv-chip { font-size:0.75rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.rv-chip-country { background: var(--fox-cream); color: var(--accent); border: 1px solid rgba(241,105,13, 0.22); }
.rv-chip-type { background: rgba(43, 179, 163, 0.1); color: #0E8074; border: 1px solid rgba(43, 179, 163, 0.28); }
.rv-photo {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
  border: 1px solid var(--border-color);
}
.rv-body {
  flex: 1;
  font-size:0.84375rem;
  font-weight: 600;
  line-height: 1.62;
  color: var(--text-main);
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rv-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 11px;
  border-top: 1px dashed var(--border-color);
  font-size:0.75rem;
}
.rv-author { font-weight: 800; color: var(--text-muted); }
.rv-author em { font-style: normal; font-weight: 700; color: #03A94E; margin-left: 2px; }
.rv-date { color: var(--text-dim); font-weight: 600; }

/* 모바일 리뷰: 요약 배너 + 가로 스와이프 */
.m-rv-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #FFF9F2, #FFEEDD);
  border: 1px solid rgba(241,105,13, 0.2);
  border-radius: 18px;
  padding: 14px 18px;
  margin-bottom: 12px;
}
.m-rv-score { display: flex; flex-direction: column; align-items: center; }
.m-rv-score strong {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, #F1690D, #D95903);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.m-rv-score span { color: #F59E0B; font-size:0.75rem; letter-spacing: 1px; margin-top: 3px; }
.m-rv-count { font-size:0.75rem; color: var(--text-muted); font-weight: 600; line-height: 1.5; }
.m-rv-count strong { color: var(--ink-warm); font-weight: 800; font-size:0.84375rem; }
.m-rv-track {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 14px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.m-rv-track::-webkit-scrollbar { display: none; }
.m-rv-card {
  flex: 0 0 78%;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 14px 15px;
  display: flex;
  flex-direction: column;
}
.m-rv-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.m-rv-photo {
  width: 100%;
  height: 96px;
  object-fit: cover;
  border-radius: 11px;
  margin-bottom: 9px;
  border: 1px solid var(--border-color);
}
.m-rv-body {
  flex: 1;
  font-size:0.84375rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text-main);
  margin: 0 0 11px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.m-rv-foot {
  display: flex;
  justify-content: space-between;
  padding-top: 9px;
  border-top: 1px dashed var(--border-color);
  font-size:0.75rem;
  font-weight: 700;
  color: var(--text-dim);
}

/* ================= 모바일 스토어: 국가 그룹 아코디언 ================= */
.cg {
  background: #fff;
  border: 1.5px solid var(--border-color);
  border-radius: 20px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cg.open {
  border-color: rgba(241,105,13, 0.35);
  box-shadow: 0 10px 26px rgba(210, 120, 40, 0.1);
}
.cg-head {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 15px 16px;
  background: none;
  border: none;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cg.open .cg-head { background: linear-gradient(160deg, #FFF9F3, #FFF2E4); }
.cg-flag {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px rgba(241,105,13, 0.2);
}
.cg-info { flex: 1; min-width: 0; }
.cg-name { font-size:1.0625rem; font-weight: 800; color: var(--ink-warm); letter-spacing: -0.02em; display: flex; align-items: center; gap: 7px; }
.cg-count {
  font-size: 0.64rem;
  font-weight: 800;
  color: var(--fox-teal);
  background: var(--fox-teal-light);
  padding: 2px 8px;
  border-radius: 999px;
}
.cg-sub { font-size:0.75rem; color: var(--text-dim); font-weight: 600; margin-top: 2px; }
.cg-sub strong { color: var(--accent); font-weight: 800; }
.cg-arr {
  flex-shrink: 0;
  color: var(--accent);
  font-weight: 800;
  font-size:1.0625rem;
  transition: transform .3s cubic-bezier(.22,1,.36,1);
}
.cg.open .cg-arr { transform: rotate(180deg); }

/* 부드러운 펼침 (grid rows 트릭) */
.cg-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s cubic-bezier(.22,1,.36,1);
}
.cg.open .cg-body { grid-template-rows: 1fr; }
.cg-body-in { overflow: hidden; }

.cg-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-top: 1px dashed var(--border-color);
  cursor: pointer;
  transition: background .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.cg-item:active { background: var(--fox-cream); }
.cg-item-main { flex: 1; min-width: 0; }
.cg-item-name {
  font-size:0.9375rem;
  font-weight: 800;
  color: var(--ink-warm);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cg-item-badges { display: flex; gap: 5px; margin-top: 4px; }
.cg-item-badges em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
}
.cg-item-price { text-align: right; flex-shrink: 0; }
.cg-item-price strong { display: block; font-size:0.9375rem; font-weight: 800; color: var(--accent); letter-spacing: -0.01em; }
.cg-item-price span { font-size:0.75rem; color: var(--text-dim); font-weight: 700; }
.cg-item-go { flex-shrink: 0; color: var(--text-dim); font-weight: 800; font-size:1.0625rem; }
.cg-empty {
  text-align: center;
  padding: 44px 20px;
  color: var(--text-dim);
  font-weight: 700;
  font-size:0.9375rem;
  line-height: 1.8;
}

/* ============================================================
   🚀 ULTRA PASS 2026-07-14 — 전역 웜 리파인 레이어
   styles.css 슬레이트·인디고 잔재를 브랜드 웜 팔레트로 전면 리맵.
   토큰만 갈아끼워 사이트 전체(index/mobile/guide)에 일괄 전파.
   ============================================================ */

/* ---------- A. 디자인 토큰 웜 리맵 ---------- */
:root {
  --bg-primary: #FAF8F4;                 /* 슬레이트 → 웜크림 */
  --bg-tertiary: #F7F1E9;                /* slate100 → 웜 샌드 */
  --bg-glass: rgba(255, 253, 250, 0.86); /* 헤더 글래스 웜톤 */
  --text-main: #221510;                  /* 웜 잉크 */
  --text-muted: #5D5049;                 /* 웜 브라운그레이 */
  --text-dim: #6B5D52;                   /* 캡션 웜톤 */
  --border-color: #EDE4D8;               /* 웜 보더 */
  --border-hover: #E0D2C2;
  --accent-success: #14A08F;             /* emerald → 폭스 틸 계열 */
  --accent-success-light: rgba(43, 179, 163, 0.1);
  --shadow-sm: 0 2px 8px rgba(85, 60, 40, 0.05);
  --shadow-md: 0 8px 24px rgba(85, 60, 40, 0.09);
  --shadow-lg: 0 18px 48px rgba(85, 60, 40, 0.14);
}
body { background: linear-gradient(180deg, #FFFDFB 0%, #FFF6EE 8%, #FAF8F4 26%); }

/* ---------- B. 전역 마이크로 디테일 & 접근성 ---------- */
::selection { background: rgba(241,105,13, 0.22); }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid rgba(241,105,13, 0.55);
  outline-offset: 2px;
}

/* ---------- C. PC 상품 카드: 유리 카드(다크 시절) → 웜 화이트 카드 ---------- */
.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 6px 20px rgba(85, 60, 40, 0.06);
}
.product-card:hover {
  background: #FFFFFF;
  border-color: rgba(241,105,13, 0.4);
  box-shadow: 0 18px 40px rgba(85, 60, 40, 0.13), 0 0 0 4px rgba(241,105,13, 0.05);
}
.card-img-wrap { background-color: var(--bg-tertiary); }
.card-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(34, 21, 16, 0) 62%, rgba(34, 21, 16, 0.18) 100%);
  pointer-events: none;
}
.card-tag { border-radius: 999px; padding: 4px 10px; letter-spacing: 0.4px; }
.card-tag.best { background: linear-gradient(135deg, #F59E0B, #FBBF24); color: #fff; box-shadow: 0 3px 8px rgba(245, 158, 11, 0.35); }
.card-tag.local { background: linear-gradient(135deg, #14A08F, #2BB3A3); color: #fff; box-shadow: 0 3px 8px rgba(43, 179, 163, 0.3); }
.card-tag.roaming { background: linear-gradient(135deg, #3B82F6, #60A5FA); color: #fff; box-shadow: 0 3px 8px rgba(59, 130, 246, 0.3); }
.card-tag.hot { background: linear-gradient(135deg, #F1690D, #F8823B); color: #fff; box-shadow: 0 3px 8px rgba(241,105,13, 0.35); }
/* 말줄임 금지 정본: 통신사 라벨은 자연 줄바꿈 */
.card-title { gap: 8px; align-items: flex-start; }
.card-title .card-carrier {
  max-width: 58% !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: normal !important;
  word-break: keep-all;
  line-height: 1.4;
  text-align: right;
  background: var(--bg-tertiary);
  border-radius: 8px;
}
.card-spec-item {
  background-color: #FFFDFB;
  border-color: var(--border-color);
  border-radius: 8px;
  padding: 3px 9px;
}
.card-price { letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* ---------- D. 스토어 탭 & 인풋 ---------- */
.tab-btn {
  border-radius: 999px;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s;
}
.tab-btn:hover { transform: translateY(-2px); border-color: rgba(241,105,13, 0.45); color: var(--accent); box-shadow: 0 6px 14px rgba(241,105,13, 0.12); }
.tab-btn.active { box-shadow: 0 6px 16px rgba(241,105,13, 0.16); }
.checkout-input { border-radius: 12px; transition: border-color 0.18s, box-shadow 0.18s; }
.checkout-input:focus { box-shadow: 0 0 0 3px rgba(241,105,13, 0.13); }

/* ---------- E. 버튼 촉감 ---------- */
.action-btn {
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s, background 0.2s, opacity 0.2s;
}
.action-btn:hover { transform: translateY(-2px); }
.action-btn:active { transform: translateY(0) scale(0.98); }

/* ---------- F. FAQ · 모달 · 푸터 ---------- */
.faq-item { transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.faq-item:hover { border-color: rgba(241,105,13, 0.35); box-shadow: 0 8px 20px rgba(85, 60, 40, 0.07); }
.modal-content { border-radius: 24px; box-shadow: 0 32px 80px rgba(34, 21, 16, 0.22); }
.footer { background: linear-gradient(180deg, #FFF9F3 0%, #F7F1E9 100%); }
.footer-link:hover { color: var(--accent); }

/* ---------- G. 스켈레톤 · 빈 상태 웜톤 ---------- */
.no-results { background-color: #FFFDFB; }
.store-skel .sk-media, .store-skel .sk-line { background: linear-gradient(90deg, #F7F1E9 25%, #FFFDFB 50%, #F7F1E9 75%); background-size: 200% 100%; animation: skShimmer 1.4s linear infinite; }
@keyframes skShimmer { 0% { background-position: 200% 0; } 100% { background-position: 0 0; } }

/* ---------- H. 모바일 컴포넌트 웜 리파인 (mobile.html 인라인 대비 !important) ---------- */
.store-card { border-color: #F0E7DB !important; box-shadow: 0 6px 18px rgba(85, 60, 40, 0.06) !important; }
.store-card-media { background: #F7F1E9 !important; }
.store-net-badge { color: #F1690D !important; }
.store-net-badge.local { color: #14A08F !important; }
.store-card-title { color: #221510 !important; }
.store-card-meta { color: #8A7A6D !important; }
.store-card-price { color: #F1690D !important; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.m-cat-btn { border-color: rgba(241,105,13, 0.16) !important; color: #5D5049 !important; transition: transform 0.18s ease, border-color 0.18s, color 0.18s; }
.m-cat-btn:active { transform: scale(0.95); }
.m-cat-btn.active { color: #fff !important; }
.jd-search .jd-box { border-color: rgba(241,105,13, 0.16) !important; box-shadow: 0 2px 10px rgba(85, 60, 40, 0.05) !important; }
.jd-search .jd-box:focus-within { border-color: #F1690D !important; box-shadow: 0 0 0 3px rgba(241,105,13, 0.13) !important; }
.jd-search input { color: #221510 !important; }
.jd-sg b { color: #221510 !important; }

/* ---------- I. 모션 배려 ---------- */
@media (prefers-reduced-motion: reduce) {
  .tab-btn, .action-btn, .product-card, .faq-item, .m-cat-btn { transition: none !important; }
  .store-skel .sk-media, .store-skel .sk-line { animation: none !important; }
}

/* 의미단위 줄바꿈 보증 (2026-07-15): keep-all 전역 + 문단은 pretty, 제목은 balance — iOS·안드로이드 공통 */
body { word-break: keep-all; overflow-wrap: break-word; }
p, li, dd, span, td, th { text-wrap: pretty; }
h1, h2, h3, h4, strong { text-wrap: balance; }
