/* ============================================
   폰의점 - 휴대폰 판매 자사몰 스타일시트
   ============================================
   [구조]
   1. 변수 & 리셋
   2. PC 기본 스타일 (데스크탑)
   3. 컴포넌트별 inline @media (개별 반응형)
   4. @media ≤ 1024px — 태블릿
   5. @media ≤ 768px  — 모바일 전체
   6. @media ≤ 480px  — 소형 모바일
   ============================================ */

/* ══════════════════════════════════════════
   1. 변수 & 리셋 (Variables & Reset)
   ══════════════════════════════════════════ */
:root {
  --primary: #FFD000;
  --primary-dark: #E6A800;
  --primary-light: #FFF8D0;
  --accent: #FFD000;
  --bg: #f7f8fa;
  --card-bg: #ffffff;
  --text: #191f28;
  --text-light: #8b95a1;
  --text-dark: #191f28;
  --border: #e5e8eb;
  --success: #22c55e;
  --danger: #f04452;
  --radius: 12px;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
section,
label {
  -webkit-user-select: none;
  user-select: none;
  caret-color: transparent;
}

body {
  font-family:
    "Pretendard", "Noto Sans Kr", "NanumGothic", "Malgun Gothic", "Exo 2",
    "Work Sans", "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ══════════════════════════════════════════
   2. PC 기본 스타일 — 헤더 / 네비게이션
   ══════════════════════════════════════════ */

/* ── Announce Bar (띠배너) ── */
.announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  height: 44px;
  background: #191f28;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: top 0.3s ease;
}
.announce-bar.announce-hidden {
  top: -44px;
}
.announce-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  justify-content: center;
  max-width: 860px;
  padding: 0 16px;
}
.announce-arrow {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-size: 22px;
  cursor: pointer;
  padding: 2px 6px;
  line-height: 1;
  transition: color 0.2s;
  flex-shrink: 0;
}
.announce-arrow:hover {
  color: #fff;
}
.announce-text {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.announce-hl {
  color: #FFE566;
  font-weight: 800;
}
.announce-badge {
  display: inline-block;
  background: #FFD000;
  color: #191f28;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: 4px;
  vertical-align: middle;
}
.announce-close {
  position: absolute;
  right: 16px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  cursor: pointer;
  padding: 6px 8px;
  transition: color 0.2s;
  line-height: 1;
}
.announce-close:hover {
  color: #fff;
}
/* when announce bar is hidden, shift header down */
.announce-closed .header {
  top: 0;
}
.announce-closed .sub-nav {
  top: 60px;
}
.announce-closed .header-spacer {
  height: 126px; /* 60px header + 66px subnav */
}

/* ── Top Bar ── */
.top-bar {
  background: #fff;
  color: #191f28;
  font-size: 14px;
  font-weight: 600;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-bar-visitor {
  display: flex;
  align-items: center;
  gap: 8px;
}
.top-bar-visitor strong {
  color: #C68A00;
  font-size: 16px;
}
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-bar-phone {
  font-weight: 800;
  font-size: 15px;
  color: #000;
  letter-spacing: 0.5px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ── Header ── */
.header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 44px;
  left: 0;
  right: 0;
  z-index: 100;
  transition: top 0.3s ease;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
}

/* ── Header Ticker Wrapper ── */
.header-ticker-wrapper {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 300px;
  max-width: 400px;
  flex-shrink: 0;
}

.header-ticker-wrapper .cta-ticker-scroll {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
  padding: 0 12px;
}

.header-ticker-wrapper .cta-ticker-track .cta-ticker-item {
  justify-content: flex-start;
  font-size: 12px;
  color: #4b5563;
}

.header-ticker-wrapper .cta-ticker-track .cta-ticker-item .t-name {
  color: #111827;
}

.header-ticker-wrapper .cta-ticker-track .cta-ticker-item .t-device {
  color: #C68A00;
}

.header-ticker-wrapper .cta-ticker-track .cta-ticker-item .t-time {
  color: #6b7280;
}

/* ── Sub Navigation Bar ── */
.sub-nav {
  position: fixed;
  top: 104px; /* 44px announce + 60px header */
  left: 0;
  right: 0;
  z-index: 99;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: top 0.3s ease;
}
.sub-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 0;
  height: 66px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sub-nav-inner::-webkit-scrollbar {
  display: none;
}
.sub-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  height: 66px;
  font-size: 18px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.sub-nav-item:hover {
  color: var(--primary);
}
.sub-nav-item.active {
  color: var(--primary);
  font-weight: 700;
}
.sub-nav-item.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px 2px 0 0;
}

/* spacer to push content below fixed header + subnav */
.header-spacer {
  height: 170px; /* 44px announce + 60px header + 66px subnav */
  transition: height 0.3s ease;
}

.header + * {
  margin-top: 0;
}

.logo {
  flex-shrink: 0;
  width: 170px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  gap: 3px;
  padding-top: 6px;
}
.logo-inner {
  display: flex;
  align-items: center;
}
.logo-img {
  width: 160px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.logo-float-bubble {
  white-space: nowrap;
  background: #e85670;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 20px;
  animation: logoBubbleFloat 2s ease-in-out infinite;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(255, 59, 92, 0.25);
  letter-spacing: 0;
  line-height: 1.4;
}
.logo-float-bubble::after {
  display: none;
}
@keyframes logoBubbleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(2px);
  }
}

.logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo span {
  color: #C68A00;
}

.header-search {
  flex: 1;
  max-width: 480px;
  position: relative;
  margin: 0 auto;
}
.header-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #8b95a1;
  pointer-events: none;
}
.header-search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1.5px solid var(--border);
  border-radius: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: #f7f8fa;
  outline: none;
  transition: var(--transition);
}
.header-search input::placeholder {
  color: #8b95a1;
}
.header-search input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(49, 130, 246, 0.1);
}

/* ── Nav Utilities (right side) ── */
.nav-utils {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-util-tel {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  padding: 6px 10px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  white-space: nowrap;
  transition: var(--transition);
}
.nav-util-tel:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.nav-util-kakao {
  font-size: 13px;
  font-weight: 700;
  background: #fee500;
  color: #3a1d1d;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
}
.nav-util-kakao:hover {
  background: #fcd700;
}

/* ══════════════════════════════════════════
   2. PC 기본 스타일 — 배너 / 슬라이더
   ══════════════════════════════════════════ */

/* ── Banner Swiper ── */
.banner-swiper {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #FFD000;
  max-height: 480px;
}

/* ── 하단 그라디언트 오버레이 ── */
.banner-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.35), transparent);
  pointer-events: none;
  z-index: 5;
}

/* ── 좌우 화살표 ── */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 12;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition:
    opacity 0.3s,
    background 0.2s,
    transform 0.2s;
}
.banner-swiper:hover .banner-arrow {
  opacity: 1;
}
.banner-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.08);
}
.banner-arrow:active {
  transform: translateY(-50%) scale(0.95);
}
.banner-arrow-prev {
  left: 16px;
}
.banner-arrow-next {
  right: 16px;
}

/* ── Banner Counter Bar ── */
.banner-counter-bar {
  position: absolute;
  bottom: 12px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  padding: 0 6px;
  z-index: 10;
}
.banner-ctrl-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: opacity 0.2s;
}
.banner-ctrl-btn:hover {
  opacity: 0.7;
}
.banner-counter-text {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  min-width: 38px;
  text-align: center;
  user-select: none;
  letter-spacing: 0.5px;
}

/* ── 자동재생 프로그레스 바 ── */
.banner-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.15);
  z-index: 11;
}
.banner-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #FFD000, #FFE566);
  border-radius: 0 2px 2px 0;
  transition: width 0.1s linear;
}

.banner-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  background: #000;
  flex-direction: column;
}

.banner-image {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  margin: 0 auto;
}

.banner-link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.banner-content {
  max-width: 600px;
  z-index: 2;
  padding: 0 80px;
}

.banner-content .banner-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.banner-content p {
  font-size: 18px;
  opacity: 0.85;
}

.banner-img-placeholder {
  font-size: 120px;
  margin-left: 60px;
  z-index: 2;
}

.banner-btn {
  display: none;
}

.banner-next {
  right: 20px;
}

.banner-dots {
  position: absolute;
  bottom: 16px;
  right: 20px;
  display: flex;
  gap: 6px;
  z-index: 10;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-dot:hover {
  background: rgba(255, 255, 255, 0.7);
}

.banner-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}

/* ── 띠배너 (Strip Banner) ── */
.strip-banner-wrap {
  background: #fff;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.strip-banner-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.strip-banner-slide {
  min-width: 100%;
  flex-shrink: 0;
  display: block;
}
.strip-banner-slide a {
  display: block;
}
.strip-banner-slide img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1436 / 100;
  object-fit: cover;
}

/* ── Banner Thumbnail Strip (하위 호환) ── */
.banner-thumbs {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.banner-thumbs::-webkit-scrollbar {
  display: none;
}
.banner-thumbs-inner {
  display: flex;
  gap: 0;
}
.banner-thumb {
  flex-shrink: 0;
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  text-align: center;
}
.banner-thumb:hover {
  color: var(--text);
}
.banner-thumb.active {
  color: #C68A00;
  border-bottom-color: #FFD000;
}

/* ══════════════════════════════════════════
   2. PC 기본 스타일 — Quick Nav Icons
   ══════════════════════════════════════════ */
.quick-nav {
  max-width: 1280px;
  margin: 20px auto;
  padding: 16px 24px;
  background: transparent;
}
.quick-nav-inner {
  display: flex;
  justify-content: center;
  gap: 0;
}
.quick-nav-item {
  flex: 0 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 4px 40px;
}
.quick-nav-item:hover .quick-nav-icon {
  background: var(--primary-light);
  color: var(--primary);
}
.quick-nav-item:hover span {
  color: var(--primary);
}
.quick-nav-icon {
  width: 100px;
  height: 100px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4e5968;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.quick-nav-icon svg {
  width: 40px;
  height: 40px;
}
.quick-nav-item span {
  font-size: 20px;
  font-weight: 600;
  color: #4e5968;
  white-space: nowrap;
  transition: var(--transition);
  margin-top: 6px;
}

/* ── Section ── */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
}

#productSection {
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

#homePage.product-only .banner-swiper,
#homePage.product-only .cta-cumulative-bar,
#homePage.product-only .mini-promo-strip,
#homePage.product-only .strip-banner-wrap,
#homePage.product-only .cta-phone-banner,
#homePage.product-only .review-carousel,
#homePage.product-only #specialSection {
  display: none !important;
}

#homePage.product-only .quick-nav {
  padding-top: 12px;
  padding-bottom: 8px;
}

.product-only-home-wrap {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 10px;
  text-align: right;
}

.product-only-home-btn {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #1f2937;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.product-only-home-btn:hover {
  border-color: #FFD000;
  color: #C68A00;
  background: #f8fbff;
}

#homePage.product-only .product-only-home-wrap {
  display: block;
}

#homePage.product-only #productSection {
  padding-top: 20px;
}

.section-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

/* ══════════════════════════════════════════
   2. PC 기본 스타일 — 상품 카드 / 그리드
   ══════════════════════════════════════════ */

/* ── Filter Bar ── */
.filter-bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-light);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── Sort Select ── */
.sort-select {
  margin-left: auto;
}
.sort-select select {
  padding: 8px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  background: #fff;
  cursor: pointer;
  outline: none;
}
.sort-select select:focus {
  border-color: var(--primary);
}

/* ── Special Section ── */
.special-section {
  background: linear-gradient(135deg, #fff5f5 0%, #fff9ed 100%);
  border-radius: var(--radius);
  padding: 32px 24px;
  margin-top: 16px;
  margin-bottom: 16px;
  border: 1px solid #fde2e2;
}
.special-section .section-title {
  color: var(--danger);
}
.special-section .section-title::after {
  background: var(--danger);
}
.special-section .product-card,
.special-section .card-body {
  text-align: left;
}

/* ── Search Bar ── */
.search-bar {
  margin-bottom: 24px;
}

.search-bar input {
  width: 100%;
  padding: 12px 20px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
  background: #fff;
}

.search-bar input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 59, 135, 0.08);
}

/* ── Product Grid ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Product Card ── */
.product-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--danger);
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  z-index: 2;
}

.card-badge.best {
  background: var(--primary);
}
.card-badge.new {
  background: var(--success);
}
.card-badge.hot {
  background: var(--danger);
}
.card-badge.value {
  background: var(--accent);
  color: #fff;
}
.card-badge.special {
  background: #ff3b5c;
  color: #fff;
}

.card-discount-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFD000;
  color: #191f28;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.special-section .card-discount-badge {
  background: #ff3b5c;
  box-shadow: 0 2px 8px rgba(255, 59, 92, 0.3);
}

.card-image {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fc;
  padding: 24px;
  border-bottom: 1px solid var(--border);
}

.card-image img {
  max-height: 100%;
  max-width: 80%;
  object-fit: contain;
}

.card-body {
  padding: 20px;
}

.card-brand {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.card-name {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text-dark);
  line-height: 1.3;
}

.card-subtitle {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.card-factory-price {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 2px;
  text-decoration: line-through;
}

.card-real-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.card-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary);
}
.card-price-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
}

.card-price small {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
}

.card-cta {
  display: flex;
  gap: 6px;
  margin-top: 10px;
}
.card-cta-btn {
  flex: 1;
  padding: 10px 0;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}
.card-cta-quote {
  background: var(--primary);
  color: #fff;
}
.card-cta-quote:hover {
  background: var(--primary-dark);
}
.card-cta-kakao {
  background: #fee500;
  color: #3a1d1d;
}
.card-cta-kakao:hover {
  background: #fdd800;
}

.card-colors {
  display: flex;
  gap: 5px;
  margin: 6px 0 8px;
  flex-wrap: wrap;
}
.card-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.card-calc-info {
  font-size: 12px;
  color: #a0aec0;
  margin-top: 2px;
}

.card-calc-savings {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 4px;
  background: rgba(255, 75, 75, 0.12);
  color: #ff4b4b;
  font-weight: 700;
  font-size: 11px;
}

/* 카드 선택 칩 (가입유형 / 통신사) */
.card-chips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}
.card-chip-row {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.card-chip {
  padding: 4px 10px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #fff;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}
.card-chip:hover {
  border-color: #94a3b8;
  color: #334155;
}
.card-chip.active {
  background: #FFD000;
  border-color: #FFD000;
  color: #191f28;
}
.special-section .card-cta-quote {
  background: #ef4444;
}
.special-section .card-cta-quote:hover {
  background: #dc2626;
}
.special-section .card-chip.active {
  background: #ef4444;
  border-color: #ef4444;
}

/* 특가 적용/미적용 토글 (상품 상세 계산기) */
.special-toggle-row {
  display: flex;
  gap: 8px;
}
.special-toggle-opt {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  color: #475569;
  text-align: center;
  user-select: none;
  transition: all 0.15s ease;
  min-height: 48px;
}
.special-toggle-opt span {
  display: block;
  width: 100%;
  text-align: center;
}
.special-toggle-opt small {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 500;
}
.special-toggle-opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}
.special-toggle-opt:hover {
  border-color: #cbd5e1;
}
.special-toggle-opt:has(input:checked) {
  border-color: #ef4444;
  background: #ef4444;
  color: #fff;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}
.special-toggle-opt:has(input:checked) small {
  color: rgba(255, 255, 255, 0.85);
}

/* ── Visitor Counter (now in top bar) ── */
.visitor-dot {
  width: 9px;
  height: 9px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 1.5s infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* ── Review Section ── */
.review-section {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 48px;
}
.review-summary {
  text-align: center;
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 24px;
}
.review-summary strong {
  color: var(--primary);
  font-size: 20px;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
  padding: 0 16px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow 0.2s;
}
.review-card:hover {
  box-shadow: var(--shadow);
}
.review-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.review-meta {
  flex: 1;
}
.review-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
}
.review-date {
  font-size: 12px;
  color: #a0aec0;
}
.review-stars {
  color: #f6ad55;
  font-size: 14px;
  letter-spacing: 1px;
}
.review-device {
  font-size: 12px;
  color: var(--primary);
  background: #ebf4ff;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.review-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

/* ── Review Board ── */
.review-write-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-top: 16px;
}
.review-write-card h3 {
  margin-bottom: 16px;
  font-size: 18px;
}
.review-form-row {
  margin-bottom: 14px;
}
.review-form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-dark);
}
.review-form-row input,
.review-form-row select,
.review-form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  box-sizing: border-box;
}
.review-form-row input:focus,
.review-form-row select:focus,
.review-form-row textarea:focus {
  border-color: var(--primary);
}
.star-picker {
  display: flex;
  gap: 4px;
}
.star-picker span {
  font-size: 28px;
  cursor: pointer;
  color: #d1d5db;
  transition: color 0.15s;
  user-select: none;
}
.star-picker span.active {
  color: #f6ad55;
}
.review-board-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 12px;
}
.review-board-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.review-board-top .review-avatar {
  width: 36px;
  height: 36px;
  font-size: 14px;
}
.review-board-info {
  flex: 1;
}
.review-board-info .review-name {
  font-weight: 600;
  font-size: 14px;
}
.review-board-info .review-date {
  font-size: 12px;
  color: #a0aec0;
}
.review-board-stars {
  color: #f6ad55;
  font-size: 14px;
}
.review-board-device {
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 6px;
}
.review-board-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}
.pagination-btn {
  display: inline-block;
  padding: 6px 14px;
  margin: 0 2px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  transition: var(--transition);
}
.pagination-btn:hover:not(.disabled):not(.active) {
  border-color: var(--primary);
  color: var(--primary);
}
.pagination-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.pagination-btn.disabled {
  opacity: 0.4;
  cursor: default;
}
.pagination-dot {
  display: inline-block;
  padding: 6px 4px;
  font-size: 13px;
  color: var(--text-light);
}

/* ══════════════════════════════════════════
   2. PC 기본 스타일 — 상세페이지
   ══════════════════════════════════════════ */

/* ── Product Detail (Modal-like Page) ── */
.detail-page {
  display: none;
  max-width: 1400px;
  margin: 0 auto;
  padding: 16px 24px 40px;
}

.detail-page.active {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  margin-bottom: 20px;
  padding: 8px 18px 8px 14px;
  transition: var(--transition);
  width: fit-content;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
  letter-spacing: -0.1px;
}

.back-btn::before {
  content: "←";
  font-size: 15px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.back-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 6%, #fff);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-btn:hover::before {
  transform: translateX(-3px);
}

/* ── 3열 본문 레이아웃 ── */
.detail-page > .back-btn {
  margin-bottom: 16px;
}

.detail-body {
  display: grid;
  grid-template-columns: 260px 1fr 310px;
  gap: 16px;
  align-items: start;
}

.detail-left {
  position: sticky;
  top: 80px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.detail-middle {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.detail-right {
  position: sticky;
  top: 80px;
}

.detail-image-wrap {
  background: linear-gradient(145deg, #f8f9fc 0%, #eef1f7 100%);
  border-radius: 16px;
  padding: 24px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  position: relative;
  overflow: hidden;
}

.detail-image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 60% 30%,
    rgba(255, 255, 255, 0.6) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.detail-image-wrap img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.13));
  transition: transform 0.3s ease;
}

.detail-image-wrap:hover img {
  transform: scale(1.04);
}

.detail-info {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── 이미지 하단 색상/용량 옵션 ── */
.detail-options {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.detail-options .detail-price {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--primary) 7%, transparent);
  border-radius: 10px;
  border-left: 3px solid var(--primary);
}

.detail-options .option-group {
  margin-bottom: 12px;
}

.detail-options .option-label {
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-options {
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.detail-options .detail-price {
  font-size: 22px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}

.detail-options .option-group {
  margin-bottom: 14px;
}
.detail-options .option-group:last-child {
  margin-bottom: 0;
}

.detail-options .option-label {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-options .color-options {
  gap: 10px;
}

.detail-options .color-swatch {
  width: 30px;
  height: 30px;
  border-width: 2px;
}

.detail-options .storage-options {
  gap: 8px;
}

.detail-options .storage-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 700;
  border-width: 1.5px;
  border-radius: 999px;
  min-width: 70px;
  text-align: center;
}

.detail-landing-section {
  margin-top: 40px;
}

/* ── 기기명 (left 컬럼 내) ── */
.detail-page-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 4px;
  color: var(--text-dark);
  word-break: keep-all;
  letter-spacing: -0.2px;
}

.detail-subtitle {
  font-size: 13px;
  color: var(--text-light);
  margin: 0 0 12px;
  line-height: 1.4;
  background: #f3f4f6;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 20px;
}

.detail-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.option-group {
  margin-bottom: 16px;
}

.option-label {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}

.color-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.color-swatch {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.color-swatch:hover {
  transform: scale(1.15);
}
.color-swatch.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-light);
}

.color-swatch::after {
  content: attr(data-name);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  color: #fff;
  background: rgba(17, 24, 39, 0.92);
  padding: 4px 8px;
  border-radius: 6px;
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
  z-index: 5;
}
.color-swatch::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 3px);
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: rgba(17, 24, 39, 0.92);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
  z-index: 5;
}

.color-swatch:hover::after,
.color-swatch:hover::before {
  opacity: 1;
}

.storage-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.storage-btn {
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.storage-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.storage-btn.selected {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.qty-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: #f8fafc;
  font-size: 20px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.qty-value {
  width: 50px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  border: none;
  outline: none;
  background: transparent;
}

.spec-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: 8px;
}

/* PC에서 수량·주요사양 숨김 (이제 detail-info 자체가 사용 안 되지만 모바일 대비) */
@media (min-width: 1025px) {
  .detail-info .option-group:has(.quantity-control),
  .detail-info .option-group:has(.spec-list) {
    display: none !important;
  }
}

.spec-list li {
  font-size: 13px;
  color: var(--text-light);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.spec-list li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
}

.buy-btn {
  width: 100%;
  padding: 18px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 24px;
}

.buy-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ── Order Page ── */
.order-page {
  display: none;
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px;
}

.order-page.active {
  display: block;
}

.order-summary {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 20px;
  align-items: center;
}

.order-summary img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.order-summary-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.order-summary-info p {
  font-size: 13px;
  color: var(--text-light);
}

.order-summary-price {
  margin-left: auto;
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  white-space: nowrap;
}

.form-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.form-card h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
  padding-bottom: 4px;
  border-bottom: 1.5px solid var(--primary);
  color: #191f28;
}

.form-group label .required {
  color: var(--danger);
  margin-left: 2px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  background: #f8faff;
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 59, 135, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-row.form-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.submit-btn {
  width: 100%;
  padding: 13px;
  background: var(--danger);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 6px;
}

.submit-btn:hover {
  background: #c62828;
}
.submit-btn:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

/* ── Sticky Order Bar ── */
.sticky-order-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--primary);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 0;
}
.sticky-order-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.sticky-order-info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}
.sticky-order-name {
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sticky-order-price-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.sticky-order-origin {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: line-through;
  text-decoration-color: #ff6b6b;
  text-decoration-thickness: 1.5px;
}
.sticky-order-arrow {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: -1px;
}
.sticky-order-price {
  font-size: 17px;
  font-weight: 900;
  color: #444;
  white-space: nowrap;
}
.sticky-order-btn {
  flex-shrink: 0;
  padding: 7px 28px;
  background: #fff;
  color: var(--primary);
  border: none;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}
.sticky-order-btn:hover {
  background: #f0f0f0;
}

.sticky-order-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 950;
}
.sticky-order-overlay.active {
  display: block;
}

/* ── 개인정보 동의 ── */
.privacy-agree-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px !important;
}
.privacy-agree-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text);
  margin: 0;
  flex: 1;
}
.privacy-agree-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--primary);
}
.privacy-agree-label .required {
  color: #ef4444;
  font-weight: 600;
}
.privacy-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
  transition: all 0.15s ease;
}
.privacy-detail-btn svg {
  opacity: 0.6;
  transition: transform 0.15s ease;
}
.privacy-detail-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #fff;
}
.privacy-detail-btn:hover svg {
  opacity: 1;
  transform: translateX(2px);
}
#privacyModal {
  z-index: 1200;
  padding: 16px;
}
.privacy-modal-content {
  position: relative;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  padding: 28px 28px 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
}
.privacy-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f3f4f6;
  color: #6b7280;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.15s,
    color 0.15s;
}
.privacy-modal-close:hover {
  background: #e5e7eb;
  color: #111827;
}
.privacy-modal-header {
  text-align: center;
  padding: 4px 8px 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.privacy-modal-icon {
  font-size: 28px;
  margin-bottom: 6px;
}
.privacy-modal-header h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}
.privacy-modal-sub {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-light);
}
.privacy-content {
  flex: 1;
  overflow-y: auto;
  text-align: left;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
  margin: 12px 0 16px;
  padding: 2px 2px 2px 0;
  background: transparent;
}
.privacy-section {
  padding: 12px 14px;
  background: #f9fafb;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
}
.privacy-section:last-child {
  margin-bottom: 0;
}
.privacy-section-warn {
  background: #fff7ed;
  border-color: #fed7aa;
}
.privacy-section h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}
.privacy-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.privacy-section-warn .privacy-step {
  background: #ea580c;
}
.privacy-content p {
  margin: 4px 0;
}
.privacy-content ul {
  margin: 0;
  padding-left: 18px;
  list-style: disc;
}
.privacy-content li {
  margin-bottom: 4px;
}
.privacy-content li b {
  color: var(--primary);
  font-weight: 600;
  margin-right: 2px;
}
.privacy-section-warn li b,
.privacy-section-warn .privacy-step {
  color: #ea580c;
}
.privacy-muted {
  color: var(--text-light);
  font-size: 12px;
}
.privacy-modal-ok {
  width: 100%;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  transition:
    filter 0.15s ease,
    transform 0.05s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  margin-top: 4px;
  flex-shrink: 0;
}
.privacy-modal-ok:hover {
  filter: brightness(1.05);
}
.privacy-modal-ok:active {
  transform: translateY(1px);
}

@media (max-width: 480px) {
  .privacy-modal-content {
    padding: 22px 18px 18px;
    border-radius: 14px;
  }
  .privacy-modal-header h2 {
    font-size: 16px;
  }
  .privacy-section {
    padding: 10px 12px;
  }
}

.sticky-order-panel {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 960;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 16px 24px 20px;
  max-height: 70vh;
  overflow-y: auto;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-order-panel.active {
  display: block;
  transform: translateY(0);
}
.sticky-order-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sticky-order-panel-header h3 {
  margin: 0;
  font-size: 15px;
}
.sticky-order-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--text-light);
  padding: 4px 8px;
}

@media (max-width: 768px) {
  .sticky-order-inner {
    padding: 6px 16px;
    gap: 12px;
  }
  .sticky-order-info {
    gap: 8px;
  }
  .sticky-order-name {
    font-size: 13px;
  }
  .sticky-order-price {
    font-size: 16px;
  }
  .sticky-order-btn {
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* ── Success Modal ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  max-width: 420px;
  width: 90%;
  animation: modalIn 0.3s ease;
}

.preorder-modal-content {
  position: relative;
  max-width: 440px;
  padding: 32px 28px 28px;
  text-align: left;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 18px;
}

.preorder-modal-content .form-group {
  text-align: left;
}

.preorder-modal-content h2 {
  font-size: 20px;
  padding-right: 32px;
}

@media (max-width: 480px) {
  .preorder-modal-content {
    padding: 24px 18px 18px;
    border-radius: 14px;
  }
  .preorder-modal-content h2 {
    font-size: 17px;
  }
}

@keyframes modalIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-icon {
  width: 64px;
  height: 64px;
  background: #dcfce7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 32px;
}

.modal-content h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-content p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.modal-btn {
  padding: 14px 40px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.modal-btn:hover {
  background: var(--primary-dark);
}

/* ── Footer ── */
.footer {
  background: #f5f5f5;
  border-top: 1px solid #ddd;
  padding: 40px 24px 32px;
  margin-top: 64px;
  font-size: 13px;
  line-height: 1.8;
  color: #666;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}
.footer-info {
  flex: 1;
}
.footer-menu {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-menu a {
  color: #555;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.footer-menu a:not(:last-child)::after {
  content: "|";
  margin-left: 8px;
  color: #ccc;
  font-weight: 400;
}
.footer-menu a:hover {
  color: #333;
}
.footer-company p {
  margin: 0;
  color: #888;
  font-size: 12.5px;
  line-height: 1.9;
}
.footer-company b {
  color: #888;
  font-weight: 600;
  margin-left: 8px;
}
.footer-company b:first-child {
  margin-left: 0;
}
.footer-company span {
  margin-right: 4px;
}
.footer-biz-link {
  color: #888;
  text-decoration: none;
  margin-left: 8px;
  font-size: 12px;
}
.footer-biz-link:hover {
  color: #333;
}
.footer-icons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-ico-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #888;
  font-size: 12px;
}
.footer-ico-link img {
  height: 24px;
  opacity: 0.7;
}
.footer-ico-link:hover {
  color: #555;
}
.footer-ico-link:hover img {
  opacity: 1;
}
.footer-copy {
  margin-top: 20px;
  font-size: 12px;
  color: #aaa;
}
.footer-cs {
  flex-shrink: 0;
  text-align: right;
}
.footer-cs h5 {
  font-size: 15px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px;
}
.footer-cs-tel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 6px;
}
.footer-cs-tel span {
  font-size: 28px;
  font-weight: 800;
  color: #222;
  letter-spacing: -0.5px;
}
.footer-cs-time {
  font-size: 12.5px;
  color: #999;
  margin: 0;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }
  .footer-cs {
    text-align: left;
  }
  .footer-cs-tel {
    justify-content: flex-start;
  }
  .footer-cs-tel span {
    font-size: 22px;
  }
}

/* ══════════════════════════════════════════
   4. 태블릿 (≤ 1024px)
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* ── Detail Page Tablet ── */
  .detail-body {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }
  .detail-left {
    grid-column: 1;
    grid-row: 1;
    position: static;
  }
  .detail-middle {
    grid-column: 2;
    grid-row: 1;
  }
  .detail-right {
    grid-column: 1 / -1;
    grid-row: 2;
    position: static;
  }
}

/* ══════════════════════════════════════════
   5. 모바일 (≤ 768px)
   ══════════════════════════════════════════ */
@media (max-width: 768px) {
  body {
    font-size: 14px;
    line-height: 1.65;
    color: #1a202c;
  }

  /* ── Top Bar Mobile ── */
  .top-bar-inner {
    padding: 12px 16px;
    font-size: 12px;
  }
  .top-bar-phone {
    font-size: 13px;
  }
  .top-bar-visitor strong {
    font-size: 14px;
  }

  /* ── Header Mobile ── */
  .announce-bar {
    height: 40px;
    font-size: 12px;
  }
  .announce-bar.announce-hidden {
    top: -40px;
  }
  .announce-closed .header {
    top: 0;
  }
  .announce-closed .sub-nav {
    top: 48px;
  }
  .announce-closed .header-spacer {
    height: 84px; /* 48px header + 36px subnav */
  }
  .header {
    top: 40px;
  }
  .sub-nav {
    top: 88px; /* 40px announce + 48px header */
    height: 36px;
  }
  .sub-nav-inner {
    padding: 0 8px;
    height: 36px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .sub-nav-inner::-webkit-scrollbar {
    display: none;
  }
  .sub-nav-item {
    height: 36px;
    padding: 0 12px;
    font-size: 13px;
    flex-shrink: 0;
  }
  .header-spacer {
    height: 124px; /* 40px announce + 48px header + 36px subnav */
  }
  .header-inner {
    height: 48px;
    padding: 0 16px;
  }
  .header-ticker-wrapper {
    display: none;
  }
  .logo {
    width: 130px;
    height: 52px;
    gap: 2px;
    padding-top: 5px;
  }
  .logo-img {
    width: 120px;
    height: 30px;
  }
  .logo-float-bubble {
    font-size: 8px;
    padding: 1px 7px;
  }
  .header-search {
    max-width: none;
    flex: 1;
    margin: 0 12px;
  }
  .header-search input {
    padding: 8px 14px 8px 36px;
    font-size: 13px;
  }
  .nav-utils {
    display: none;
  }

  /* ── Banner Mobile ── */
  .banner-swiper {
    max-height: none;
  }
  .banner-slide {
    flex-direction: column;
    text-align: center;
  }
  .banner-content .banner-title {
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: -0.3px;
  }
  .banner-content p {
    font-size: 13px;
    line-height: 1.5;
    color: #4a5568;
  }
  .banner-img-placeholder {
    font-size: 64px;
    margin-left: 0;
    margin-top: 16px;
  }

  /* ── 배너 화살표 모바일 ── */
  .banner-arrow {
    width: 36px;
    height: 36px;
  }
  .banner-arrow svg {
    width: 20px;
    height: 20px;
  }
  .banner-arrow-prev {
    left: 8px;
  }
  .banner-arrow-next {
    right: 8px;
  }
  .banner-gradient-overlay {
    height: 60px;
  }
  .banner-dots {
    bottom: 12px;
    right: 12px;
    gap: 5px;
  }
  .banner-dot {
    width: 6px;
    height: 6px;
  }
  .banner-dot.active {
    width: 18px;
  }
  .banner-counter-bar {
    bottom: 10px;
    left: 12px;
    padding: 0 3px;
  }

  /* ── Banner Thumbs Mobile ── */
  .banner-thumbs {
    padding: 10px 12px 0;
  }
  .banner-thumb {
    padding: 8px 14px;
    font-size: 12px;
  }

  /* ── Quick Nav — 모바일 (≤ 768px) ── */
  .quick-nav {
    padding: 12px 0;
    margin: 8px auto;
  }
  .quick-nav-inner {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding: 0 12px;
  }
  .quick-nav-inner::-webkit-scrollbar {
    display: none;
  }
  .quick-nav-item {
    flex: 0 0 auto;
    min-width: 64px;
    padding: 4px 8px;
    gap: 4px;
  }
  .quick-nav-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }
  .quick-nav-icon svg {
    width: 22px;
    height: 22px;
  }
  .quick-nav-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
  }
  .quick-nav-item span {
    font-size: 11px;
    font-weight: 500;
    margin-top: 2px;
  }

  /* ── Product Grid Mobile ── */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 4px;
  }
  .card-body {
    padding: 12px;
  }
  .card-brand {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .card-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.2px;
    color: #1a202c;
  }
  .card-subtitle {
    font-size: 11px;
    line-height: 1.4;
    color: #718096;
  }
  .card-factory-price {
    font-size: 11px;
    color: #a0aec0;
  }
  .card-real-price {
    font-size: 12px;
  }
  .card-price {
    font-size: 16px;
    font-weight: 800;
  }
  .card-price-label {
    font-size: 11px;
  }
  .card-price small {
    font-size: 11px;
  }
  .card-cta-btn {
    font-size: 11px;
    padding: 7px 0;
  }
  .card-calc-info {
    font-size: 10px;
  }
  .review-grid {
    grid-template-columns: 1fr;
  }
  .card-badge {
    font-size: 10px;
    padding: 3px 8px;
    top: 10px;
    left: 10px;
  }
  .card-image {
    height: 150px;
    padding: 16px;
  }

  /* ── Detail Page Mobile ── */
  .detail-page {
    padding: 16px 16px 100px;
  }
  .detail-body {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto !important;
  }
  .detail-left,
  .detail-middle,
  .detail-right {
    grid-column: auto !important;
    grid-row: auto !important;
    position: static !important;
  }
  .detail-left {
    border-radius: 16px;
    padding: 16px;
  }
  .detail-image-wrap {
    min-height: 180px;
    padding: 16px;
    border-radius: 12px;
  }
  .detail-info h1 {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.3px;
    color: #1a202c;
  }
  .detail-subtitle {
    font-size: 13px;
    color: #718096;
  }
  .detail-price {
    font-size: 24px;
    font-weight: 800;
  }
  .option-label {
    font-size: 13px;
    font-weight: 700;
    color: #2d3748;
  }
  .storage-btn {
    font-size: 13px;
    padding: 8px 16px;
  }
  .buy-btn {
    font-size: 16px;
    padding: 16px;
  }
  .back-btn {
    font-size: 13px;
  }
  .spec-list {
    grid-template-columns: 1fr;
  }
  .spec-list li {
    font-size: 12px;
    color: #4a5568;
  }

  /* ── Calculator Mobile ── */
  .form-card {
    padding: 20px 16px;
  }
  .form-card h2 {
    font-size: 18px;
    font-weight: 800;
  }
  .form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #2d3748;
  }
  .form-group input,
  .form-group textarea {
    font-size: 14px;
    padding: 10px 14px;
  }
  .form-select {
    font-size: 13px;
    padding: 10px 14px;
  }
  .calc-result {
    padding: 16px;
  }
  .calc-result-row {
    font-size: 13px;
    padding: 6px 0;
    color: #2d3748;
  }
  .calc-result-row.calc-device-cost-row {
    font-size: 15px;
    font-weight: 700;
    padding: 10px 0 6px;
    color: var(--primary);
  }
  .calc-result-row.calc-device-cost-row strong {
    font-size: 18px;
    color: #f04452;
  }
  .calc-result-row.total {
    font-size: 16px;
  }
  .calc-result-row.total strong {
    font-size: 20px;
  }
  .calc-section-title {
    font-size: 13px;
    margin: 14px 0 10px;
    padding-bottom: 6px;
  }
  .calc-result-final-box {
    padding: 14px;
    margin-top: 10px;
  }
  .calc-result-final-price {
    font-size: 28px;
  }

  /* ── Order Page Mobile ── */
  .order-page {
    padding: 24px 16px;
  }
  .order-summary {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
  .order-summary-info h3 {
    font-size: 15px;
  }
  .order-summary-info p {
    font-size: 12px;
  }
  .order-summary-price {
    margin-left: 0;
    margin-top: 8px;
    font-size: 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .submit-btn {
    font-size: 16px;
    padding: 16px;
  }

  /* ── Modal Mobile ── */
  .modal-content {
    padding: 32px 24px;
  }
  .modal-content h2 {
    font-size: 20px;
  }
  .modal-content p {
    font-size: 13px;
  }

  /* ── Color / Storage / Qty 옵션 Mobile ── */
  .color-options {
    gap: 8px;
  }
  .color-swatch {
    width: 30px;
    height: 30px;
    border-width: 2px;
  }
  .color-swatch::after {
    font-size: 10px;
  }
  .storage-options {
    gap: 6px;
  }
  .quantity-control {
    border-radius: 10px;
  }
  .qty-btn {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }
  .qty-value {
    width: 40px;
    font-size: 14px;
  }
  .option-group {
    margin-bottom: 18px;
  }

  /* ── Card Extras Mobile ── */
  .card-discount-badge {
    width: 40px;
    height: 40px;
    font-size: 12px;
    top: 8px;
    right: 8px;
  }
  .card-colors {
    gap: 3px;
    margin-top: 6px;
  }
  .card-color-dot {
    width: 10px;
    height: 10px;
  }

  /* ── Strip Banner Mobile ── */
  .strip-banner-wrap {
    margin: 0 8px;
  }

  /* ── Sticky Order Panel Mobile ── */
  .sticky-order-panel {
    padding: 20px 16px;
    border-radius: 16px 16px 0 0;
  }
  .sticky-order-panel-header h3 {
    font-size: 16px;
  }

  /* ── Floating Widget + Sticky 충돌 방지 ── */
  .sticky-order-bar ~ .float-widgets,
  .detail-page.active ~ .float-widgets {
    bottom: 80px;
  }

  /* ── Footer Mobile ── */
  .footer {
    font-size: 12px;
    padding: 28px 16px 20px;
  }
  .footer-brand strong {
    font-size: 14px;
  }
  .footer-icons {
    gap: 12px;
  }
  .footer-ico-link img {
    height: 20px;
  }
  .footer-ico-link {
    font-size: 11px;
  }
  .footer-copy {
    font-size: 11px;
  }
}

/* ══════════════════════════════════════════
   3. 컴포넌트별 inline @media (개별 반응형)
   ══════════════════════════════════════════ */

/* ── Loading Spinner ── */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Form Select ── */
.form-select {
  width: 100%;
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  background: #f8faff;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23777' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: var(--text);
}

.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 59, 135, 0.08);
}

.readonly-input {
  background: #f1f5f9 !important;
  color: var(--text-light);
}

/* ── Detail Landing Image Section ── */
.detail-landing-section {
  margin-top: 48px;
}

.detail-landing-images {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.detail-landing-images img {
  width: 100%;
  max-width: 840px;
  display: block;
  margin: 0 auto;
}

/* ── Content Page (responsive images) ── */
#contentPage img {
  max-width: 100%;
  height: auto;
}
.content-page-html img {
  max-width: 100%;
  height: auto;
}

.landing-placeholder {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(180deg, #f1f5f9, #e2e8f0);
  border-radius: var(--radius);
  color: var(--text-light);
  font-size: 16px;
  font-weight: 600;
}

.calc-toggle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  padding-bottom: 8px;
}

.calc-toggle-header:hover {
  opacity: 0.8;
}

.calc-toggle-header h2 {
  margin: 0;
}

.calc-toggle-icon {
  font-size: 18px;
  transition: transform 0.3s ease;
  color: var(--text-light);
}

.calc-toggle-icon.collapsed {
  transform: rotate(180deg);
}

#calcBody {
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    opacity 0.3s ease;
  max-height: 2000px;
  opacity: 1;
}

#calcBody.collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

.calc-result {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: var(--shadow);
}

.calc-section-title {
  font-size: 13px;
  font-weight: 700;
  color: #191f28;
  margin: 8px 0 4px;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--primary);
}

.calc-section-title:first-child {
  margin-top: 0;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
  font-size: 13px;
}

.calc-result-row.calc-device-cost-row {
  font-weight: 700;
  font-size: 18px;
  padding: 12px 0 8px;
  color: var(--primary);
}

.calc-result-row.calc-device-cost-row strong {
  font-size: 22px;
  color: #f04452;
}

.calc-result-row.total {
  font-size: 20px;
  color: var(--primary);
}

.calc-result-row.total strong {
  font-size: 24px;
}

.calc-result-final-box {
  background: var(--card-bg);
  border: 2px solid var(--primary);
  border-radius: 12px;
  padding: 10px;
  margin-top: 6px;
  text-align: center;
}

.calc-result-final-price {
  font-size: 24px;
  font-weight: 900;
  color: #FFD000;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.calc-result-final-price.pulse {
  animation: priceHighlight 0.4s ease-out;
}

@keyframes priceHighlight {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
    color: #f04452;
  }
}

.calc-result-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

/* ── Admin Page ── */
.admin-page {
  display: none;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.admin-page.active {
  display: block;
}

.admin-product-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 12px;
  transition: var(--transition);
}

.admin-product-item:hover {
  box-shadow: var(--shadow);
}

.admin-product-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background: #f1f5f9;
  padding: 4px;
}

.admin-product-info {
  flex: 1;
}

.admin-product-info h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.admin-product-info p {
  font-size: 13px;
  color: var(--text-light);
}

.admin-actions {
  display: flex;
  gap: 8px;
}

.admin-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.admin-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.admin-btn.delete {
  color: var(--danger);
}

.admin-btn.delete:hover {
  border-color: var(--danger);
  background: #fef2f2;
}

/* ── 플로팅 상담 위젯 ── */
.float-widgets {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 9999;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition:
    transform 0.15s,
    box-shadow 0.15s;
  white-space: nowrap;
}

.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.float-btn svg {
  flex-shrink: 0;
}

.float-tel {
  background: #FFD000;
  color: #191f28;
}

.float-kakao {
  background: #ffe812;
  color: #3a1d1d;
}

@media (max-width: 768px) {
  .float-widgets {
    bottom: 16px;
    right: 14px;
    gap: 8px;
  }

  .float-btn {
    padding: 11px 14px;
    font-size: 13px;
  }

  .float-btn span {
    display: none;
  }

  .float-btn svg {
    width: 22px;
    height: 22px;
  }
}

/* ══════════════════════════════════════════
   2. PC 기본 스타일 — CTA / 티커 / 리뷰
   ══════════════════════════════════════════ */

/* ── Live Inquiry Ticker ── */
.live-ticker-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.live-ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #191f28;
  white-space: nowrap;
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f04452;
  animation: livePulse 1.5s ease-in-out infinite;
}
@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.live-ticker {
  flex: 1;
  overflow: hidden;
  height: 40px;
  position: relative;
}
.live-ticker-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s ease;
}
.live-ticker-item {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  color: #4e5968;
  white-space: nowrap;
}
.live-ticker-item .ticker-name {
  font-weight: 600;
  color: #191f28;
}
.live-ticker-item .ticker-device {
  color: #C68A00;
  font-weight: 600;
}
.live-ticker-item .ticker-time {
  color: #8b95a1;
  font-size: 12px;
}

/* ── Phone CTA Banner ── */
.cta-phone-banner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px 0;
}
.cta-phone-inner {
  background: linear-gradient(135deg, #FFF8D0 0%, #FFFBE6 100%);
  border: 1px solid #c9deff;
  border-radius: 16px 16px 0 0;
  padding: 69px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-phone-badge {
  display: inline-block;
  background: #FFD000;
  color: #191f28;
  font-size: 15px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.cta-phone-left h3 {
  font-size: 40px;
  font-weight: 800;
  color: #191f28;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}
.cta-phone-left p {
  font-size: 20px;
  color: #4e5968;
}
.cta-phone-right {
  flex-shrink: 0;
  display: flex;
  gap: 10px;
}
.cta-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1a2a6c 0%, #2546bd 50%, #3b6ff5 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.cta-phone-btn:hover {
  background: #E6A800;
}
.cta-kakao-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffe812;
  color: #3a1d1d;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  transition: var(--transition);
  white-space: nowrap;
}
.cta-kakao-btn:hover {
  background: #fdd835;
}

/* ── CTA Ticker Bar (상담접수현황 한줄) ── */
.cta-ticker-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px 28px;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #1a365d 100%);
  border-radius: 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}
.cta-ticker-bar::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.04),
    transparent
  );
  animation: tickerShimmer 4s ease-in-out infinite;
}
@keyframes tickerShimmer {
  0% {
    left: -60%;
  }
  100% {
    left: 120%;
  }
}
.cta-ticker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f04452;
  flex-shrink: 0;
  animation: livePulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(240, 68, 82, 0.6);
}
.cta-ticker-label {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 700;
  color: #FFE566;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cta-ticker-scroll {
  flex: 1;
  overflow: hidden;
  height: 24px;
  position: relative;
}
.cta-ticker-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease;
}
.cta-ticker-track .cta-ticker-item {
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}
.cta-ticker-track .cta-ticker-item .t-name {
  font-weight: 600;
  color: #fff;
}
.cta-ticker-track .cta-ticker-item .t-device {
  color: #FFE566;
  font-weight: 600;
}
.cta-ticker-track .cta-ticker-item .t-time {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

/* ── 누적문의 바 ── */
.cta-cumulative-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  background: linear-gradient(135deg, #1a2a6c 0%, #2546bd 50%, #3b6ff5 100%);
  border-radius: 0 0 16px 16px;
  border: none;
}
.cta-cumul-icon {
  font-size: 22px;
  line-height: 1;
}
.cta-cumul-label {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: -0.3px;
}
.cta-cumul-num {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.cta-cumul-num strong {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.5px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}
.cta-cumul-unit {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
}
.cta-cumul-badge {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.3px;
  animation: livePulse 2s ease-in-out infinite;
}

/* ── Mini Promo Strip (배너 하단) ── */
.mini-promo-strip {
  max-width: 1230px;
  margin: 20px auto;
  background: #f8f9fa;
  border: 1px solid #e5e8eb;
  border-radius: 12px;
  overflow: hidden;
}
.mini-promo-marquee {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.mini-promo-marquee:hover {
  animation-play-state: paused;
}
.mini-promo-marquee-inner {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 0;
}
.mp-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
  padding: 0 8px;
}
.mp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 14px;
  flex-shrink: 0;
}
.mp-dot {
  color: #ccc;
  font-size: 18px;
  padding: 0 6px;
  font-weight: 400;
}
@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ── Review Carousel ── */
.review-carousel {
  max-width: 1280px;
  margin: 48px auto 40px;
  padding: 57px 24px;
  background: #fff;
  border: 1px solid #e5e8eb;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.review-carousel-header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
}
.review-carousel-title {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-dark);
}
.review-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.review-carousel-nav {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 30px;
}
.review-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  font-size: 20px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.review-nav-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.review-carousel-viewport {
  overflow: hidden;
}
.review-carousel-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  opacity: 0;
  transform: translateY(8px);
}
.review-carousel-track.review-fade-in {
  animation: reviewFadeIn 0.45s ease forwards;
}
@keyframes reviewFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.review-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
}
.review-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d5db;
  transition: var(--transition);
  cursor: pointer;
}
.review-dot.active {
  background: var(--primary);
  width: 20px;
  border-radius: 4px;
}
.review-slide-card {
  background: #fff;
  border: 1px solid #e5e8eb;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
}
.review-slide-card.has-img {
  padding: 0;
}
.review-slide-card:not(.has-img) {
  padding: 20px;
  gap: 10px;
}
.review-slide-card:not(.has-img) .review-slide-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.review-slide-img {
  width: 160px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.review-slide-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1 / 1;
}
.has-img .review-slide-content {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}
.review-slide-stars {
  color: #f59f00;
  font-size: 15px;
  letter-spacing: 1px;
}
.review-slide-text {
  font-size: 18px;
  font-weight: 600;
  color: #4e5968;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-slide-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid #f1f3f5;
}
.review-slide-name {
  font-size: 13px;
  font-weight: 700;
  color: #191f28;
}
.review-slide-device {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

/* ── Mobile: ticker, CTA, carousel ── */
@media (max-width: 768px) {
  .review-carousel {
    padding: 0 12px;
    margin-bottom: 16px;
  }
  .review-carousel-title {
    font-size: 15px;
  }
  .review-carousel-track {
    grid-template-columns: 1fr;
  }
  .review-slide-card {
    flex-direction: row;
  }
  .review-slide-img {
    width: 120px;
    aspect-ratio: 1 / 1;
  }
  .review-slide-text {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
  .review-slide-stars {
    font-size: 13px;
  }
  .review-nav-btn {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  .live-ticker-wrap {
    padding: 16px 12px;
    gap: 8px;
  }
  .live-ticker-label {
    font-size: 11px;
  }
  .live-ticker-item {
    font-size: 13px;
  }
  .cta-phone-banner {
    padding: 12px 12px 0;
  }
  .cta-phone-inner {
    flex-direction: column;
    padding: 20px 16px;
    text-align: center;
    gap: 16px;
  }
  .cta-phone-left h3 {
    font-size: 17px;
  }
  .cta-phone-left p {
    font-size: 13px;
  }
  .cta-phone-right {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }
  .cta-phone-btn,
  .cta-kakao-btn {
    justify-content: center;
    font-size: 14px;
    padding: 12px 20px;
    width: 100%;
  }
  .cta-ticker-bar {
    padding: 8px 12px;
    gap: 8px;
  }
  .cta-ticker-label {
    font-size: 11px;
  }
  .cta-ticker-track .cta-ticker-item {
    font-size: 12px;
  }

  /* ── Cumulative Bar Mobile ── */
  .cta-cumulative-bar {
    padding: 12px 16px;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .cta-cumul-icon {
    font-size: 18px;
  }
  .cta-cumul-label {
    font-size: 13px;
  }
  .cta-cumul-num strong {
    font-size: 22px;
  }
  .cta-cumul-unit {
    font-size: 14px;
  }
  .cta-cumul-badge {
    font-size: 10px;
    padding: 3px 8px;
  }

  /* ── Section Title Mobile ── */
  .section-title {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .section {
    padding: 28px 16px;
  }

  /* ── Special Section Mobile ── */
  .special-section {
    padding: 24px 16px;
  }

  /* ── Review / Content Page Mobile ── */
  #reviewPage,
  #contentPage {
    padding: 20px 14px !important;
  }

  /* ── Detail Landing Images ── */
  .detail-landing-images img {
    max-width: 100%;
  }

  /* ── Mini Promo Marquee Mobile ── */
  .mini-promo-strip {
    margin: 12px 8px;
    border-radius: 8px;
  }
  .mp-item {
    font-size: 13px;
    padding: 0 6px;
  }
  .mp-icon {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }
  .mini-promo-marquee-inner {
    padding: 10px 0;
  }

  .review-mini-card {
    min-width: 240px;
    max-width: 260px;
    padding: 12px 14px;
  }
}

/* ══════════════════════════════════════════
   6. 소형 모바일 (≤ 480px)
   ══════════════════════════════════════════ */
@media (max-width: 480px) {
  /* ── Logo Bubble ── */
  .logo-float-bubble {
    font-size: 7.5px;
    padding: 1px 6px;
  }
  .logo {
    height: 48px;
    width: 120px;
    padding-top: 4px;
  }
  .logo-img {
    width: 110px;
    height: 28px;
  }

  /* ── Section ── */
  .section {
    padding: 24px 12px;
  }
  .section-title {
    font-size: 20px;
    margin-bottom: 16px;
    padding-bottom: 8px;
  }
  .section-title::after {
    width: 28px;
    height: 2.5px;
  }

  /* ── Filter Bar ── */
  .filter-bar {
    gap: 6px;
    margin-bottom: 16px;
  }
  .filter-btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
  }
  .sort-select select {
    padding: 6px 10px;
    font-size: 12px;
  }

  /* ── Product Grid 2-col tight ── */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0;
  }
  .card-image {
    height: 130px;
    padding: 12px;
  }
  .card-body {
    padding: 10px;
  }
  .card-brand {
    font-size: 9px;
    margin-bottom: 3px;
  }
  .card-name {
    font-size: 13px;
    line-height: 1.25;
  }
  .card-subtitle {
    font-size: 10px;
    margin-bottom: 4px;
  }
  .card-factory-price {
    font-size: 10px;
  }
  .card-price {
    font-size: 14px;
  }
  .card-price-label {
    font-size: 10px;
  }
  .card-price small {
    font-size: 10px;
  }
  .card-cta-btn {
    font-size: 10px;
    padding: 6px 0;
  }
  .card-calc-info {
    font-size: 9px;
  }
  .card-badge {
    font-size: 9px;
    padding: 2px 6px;
    top: 6px;
    left: 6px;
  }
  .card-discount-badge {
    width: 36px;
    height: 36px;
    font-size: 11px;
    top: 6px;
    right: 6px;
  }

  /* ── Special Section ── */
  .special-section {
    padding: 20px 12px;
    margin-bottom: 12px;
  }

  /* ── Quick Nav — 소형 모바일 (≤ 480px) ── */
  .quick-nav {
    padding: 8px 0;
    margin: 4px auto;
  }
  .quick-nav-inner {
    padding: 0 8px;
  }
  .quick-nav-item {
    min-width: 56px;
    padding: 4px 6px;
    gap: 3px;
  }
  .quick-nav-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  .quick-nav-icon svg {
    width: 18px;
    height: 18px;
  }
  .quick-nav-icon img {
    width: 100%;
    height: 100%;
  }
  .quick-nav-item span {
    font-size: 9px;
    margin-top: 1px;
  }

  /* ── CTA Phone Banner ── */
  .cta-phone-badge {
    font-size: 12px;
    padding: 3px 10px;
  }
  .cta-phone-btn,
  .cta-kakao-btn {
    font-size: 13px;
    padding: 10px 16px;
  }

  /* ── CTA Cumulative Bar ── */
  .cta-cumulative-bar {
    padding: 10px 12px;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .cta-cumul-icon {
    font-size: 16px;
  }
  .cta-cumul-label {
    font-size: 12px;
  }
  .cta-cumul-num strong {
    font-size: 20px;
  }
  .cta-cumul-unit {
    font-size: 13px;
  }
  .cta-cumul-badge {
    font-size: 10px;
    padding: 3px 8px;
  }

  /* ── Ticker ── */
  .cta-ticker-bar {
    padding: 6px 8px;
    gap: 6px;
  }
  .cta-ticker-label {
    font-size: 10px;
  }
  .cta-ticker-track .cta-ticker-item {
    font-size: 11px;
    gap: 4px;
  }

  /* ── Live Ticker ── */
  .live-ticker-wrap {
    padding: 12px 8px;
  }
  .live-ticker-label {
    font-size: 10px;
  }
  .live-ticker-item {
    font-size: 11px;
  }

  /* ── Mini Promo Marquee Small ── */
  .mini-promo-strip {
    margin: 8px 4px;
    border-radius: 6px;
  }
  .mp-item {
    font-size: 11px;
    padding: 0 4px;
    gap: 4px;
  }
  .mp-icon {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }
  .mp-dot {
    font-size: 14px;
    padding: 0 3px;
  }
  .mini-promo-marquee-inner {
    padding: 8px 0;
  }

  /* ── Review Carousel ── */
  .review-carousel {
    padding: 16px 8px;
    margin: 24px auto 16px;
  }
  .review-carousel-title {
    font-size: 14px;
  }
  .review-slide-card.has-img {
    flex-direction: column;
  }
  .review-slide-img {
    width: 100%;
    height: 180px;
    aspect-ratio: unset;
    flex-shrink: 1;
  }
  .review-slide-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  .review-slide-text {
    font-size: 12px;
  }
  .review-slide-stars {
    font-size: 12px;
  }
  .has-img .review-slide-content {
    padding: 10px 12px;
  }
  .review-slide-name {
    font-size: 11px;
  }
  .review-slide-device {
    font-size: 10px;
  }

  /* ── Detail Page ── */
  .detail-page {
    padding: 16px 12px;
  }
  .detail-image-wrap {
    min-height: 200px;
    padding: 16px;
  }
  .detail-info h1 {
    font-size: 19px;
  }
  .detail-price {
    font-size: 20px;
  }
  .storage-btn {
    font-size: 12px;
    padding: 6px 12px;
  }
  .buy-btn {
    font-size: 14px;
    padding: 14px;
  }
  .detail-landing-images img {
    max-width: 100%;
  }

  /* ── Order Page ── */
  .order-page {
    padding: 16px 12px;
  }
  .order-summary {
    padding: 12px;
  }
  .order-summary-info h3 {
    font-size: 14px;
  }
  .order-summary-price {
    font-size: 18px;
  }

  /* ── Review / Content Page ── */
  #reviewPage,
  #contentPage {
    padding: 16px 10px !important;
  }
  #reviewPage h2,
  #contentPage h2 {
    font-size: 18px;
  }

  /* ── Footer ── */
  .footer {
    padding: 20px 12px 16px;
  }
  .footer-menu a {
    font-size: 12px;
  }
  .footer-company p {
    font-size: 11px;
  }
  .footer-cs-tel span {
    font-size: 20px;
  }

  /* ── Floating Widgets ── */
  .float-widgets {
    bottom: 12px;
    right: 10px;
    gap: 6px;
  }
  .float-btn {
    padding: 10px 12px;
    font-size: 12px;
  }

  /* ── Modal ── */
  .modal-content {
    padding: 24px 16px;
  }
  .modal-content h2 {
    font-size: 18px;
  }
  .modal-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }

  /* ── Sticky Order ── */
  .sticky-order-inner {
    padding: 10px 12px;
    gap: 8px;
  }
  .sticky-order-name {
    font-size: 12px;
  }
  .sticky-order-price {
    font-size: 14px;
  }
  .sticky-order-btn {
    padding: 10px 16px;
    font-size: 13px;
  }

  /* ── Color / Storage / Qty 옵션 Small ── */
  .color-swatch {
    width: 26px;
    height: 26px;
    border-width: 2px;
  }
  .color-swatch::after {
    font-size: 9px;
  }
  .color-options {
    gap: 6px;
  }
  .storage-options {
    gap: 4px;
  }
  .storage-btn {
    padding: 5px 10px;
    font-size: 11px;
    border-radius: 6px;
  }
  .quantity-control {
    border-radius: 8px;
  }
  .qty-btn {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }
  .qty-value {
    width: 36px;
    font-size: 13px;
  }
  .option-group {
    margin-bottom: 14px;
  }
  .option-label {
    font-size: 12px;
  }
  .spec-list {
    grid-template-columns: 1fr;
  }
  .spec-list li {
    font-size: 11px;
    padding: 4px 0;
  }
  .back-btn {
    font-size: 12px;
    margin-bottom: 16px;
    padding: 6px 0;
  }

  /* ── Form Row / Select Small ── */
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-card {
    padding: 16px 12px;
  }
  .form-card h2 {
    font-size: 16px;
  }
  .form-group label {
    font-size: 12px;
  }
  .form-group input,
  .form-group textarea {
    font-size: 13px;
    padding: 8px 12px;
  }
  .form-select {
    font-size: 12px;
    padding: 8px 12px;
  }
  .submit-btn {
    font-size: 14px;
    padding: 14px;
  }
  .calc-result {
    padding: 12px;
  }
  .calc-result-row {
    font-size: 12px;
  }
  .calc-section-title {
    font-size: 12px;
    margin: 12px 0 8px;
    padding-bottom: 4px;
  }
  .calc-result-final-box {
    padding: 12px;
    margin-top: 8px;
  }
  .calc-result-final-price {
    font-size: 24px;
  }
  .calc-result-row.calc-device-cost-row {
    font-size: 14px;
    font-weight: 700;
  }
  .calc-result-row.calc-device-cost-row strong {
    font-size: 16px;
  }
  .calc-result-row.total {
    font-size: 14px;
  }
  .calc-result-row.total strong {
    font-size: 18px;
  }

  /* ── Sticky Order Panel Small ── */
  .sticky-order-panel {
    padding: 16px 12px;
    border-radius: 14px 14px 0 0;
  }
  .sticky-order-panel-header h3 {
    font-size: 15px;
  }

  /* ── Announce Bar Small ── */
  .announce-bar {
    height: 36px;
    font-size: 11px;
  }
  .announce-bar.announce-hidden {
    top: -36px;
  }
  .announce-closed .header-spacer {
    height: 80px;
  }
  .header-spacer {
    height: 116px;
  }
  .announce-hl {
    font-size: 11px;
  }
  .announce-badge {
    font-size: 10px;
    padding: 1px 6px;
  }

  /* ── Sub Nav Small ── */
  .sub-nav-item {
    font-size: 12px;
    padding: 0 10px;
  }

  /* ── Header Search Small ── */
  .header-search input {
    padding: 6px 12px 6px 32px;
    font-size: 12px;
  }
  .header-search-icon {
    width: 14px;
    height: 14px;
    left: 10px;
  }
}

/* 팝업 전체 컨테이너 */
.ph-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.ph-modal-content {
  background: #fff;
  width: 90%;
  max-width: 400px;
  border-radius: 16px;
  overflow: hidden;
  text-align: center;
  position: relative; /* 배지 배치를 위해 relative 추가 */
}

/* ✅ 1:1 이미지 영역 (핵심) */
.ph-modal-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1; /* 브라우저가 자동으로 1:1 비율 유지 */
  overflow: hidden;
  background: #eee;
}

.ph-modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 이미지가 1:1 영역에 꽉 차도록 비율 유지하며 자름 */
  display: block;
}

/* ✅ 배지 스타일 (이미지 위에 살짝 띄우기) */
.ph-badge {
  display: inline-block;
  margin-top: -15px; /* 이미지와 텍스트 사이에 걸치게 */
  position: relative;
  z-index: 10;
  background: #fff;
  border: 2px solid #ff3b30;
  color: #ff3b30;
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 13px;
}

/* 상담신청 라디오 버튼 */
.consult-radio-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
  padding: 8px 14px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  line-height: 1.4;
}
.consult-radio-label:has(input:checked) {
  border-color: var(--primary, #FFD000);
  background: #fffbe6;
}
.consult-radio-label input[type="radio"] {
  margin-top: 2px;
  accent-color: var(--primary, #FFD000);
  cursor: pointer;
}

/* 버튼 스타일 */
.ph-btn-primary {
  background: #000;
  color: #fff;
  border: none;
  padding: 18px;
  width: 50%;
  font-weight: bold;
  cursor: pointer;
}
.ph-btn-secondary {
  background: #f4f4f4;
  color: #888;
  border: none;
  padding: 18px;
  width: 50%;
  cursor: pointer;
}
