
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Pretendard', 'Malgun Gothic', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f4f6f9;
  color: #1e293b;
  line-height: 1.65;
  padding-bottom: 92px;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 18px; }

/* Header */
.site-header { color: #fff; padding: 14px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.brand-logo { display: flex; align-items: center; gap: 12px; }
.logo-badge { width: 42px; height: 42px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 18px; color: #fff; border: 1px solid rgba(255,255,255,0.25); }
.logo-text-wrap { display: flex; flex-direction: column; }
.brand-kr { font-size: 19px; font-weight: 800; letter-spacing: -0.5px; color: #fff; }
.brand-en { font-size: 11px; color: #94a3b8; }
.main-nav { display: flex; gap: 8px; flex-wrap: wrap; }
.nav-item { font-size: 13.5px; font-weight: 600; color: #e2e8f0; padding: 6px 12px; border-radius: 8px; background: rgba(255,255,255,0.08); transition: 0.2s; }
.nav-item:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* FTC Bar & Stock Status */
.main-content { padding-top: 18px; }
.ftc-top-bar {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 10px 16px; display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.ftc-text { font-size: 12.5px; color: #64748b; font-weight: 500; }
.stock-pill { font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 20px; }
.stock-pill.active { background: #dcfce7; color: #15803d; }
.stock-pill.soldout { background: #fef3c7; color: #b45309; }
.soldout-alert-box {
  background: #fffbeb; border: 2px solid #f59e0b; color: #92400e;
  padding: 14px 18px; border-radius: 12px; margin-bottom: 16px; font-size: 14px;
}
.breadcrumb { font-size: 13px; color: #64748b; margin-bottom: 14px; }
.breadcrumb strong { color: #0f172a; }

/* Hero Card */
.hero-card {
  background: #fff; border-radius: 18px; border: 1px solid #e2e8f0;
  padding: 26px; display: grid; grid-template-columns: 400px 1fr; gap: 30px;
  box-shadow: 0 4px 20px rgba(15,23,42,0.04); margin-bottom: 24px;
}
.main-img-box {
  position: relative; border: 1px solid #f1f5f9; border-radius: 14px;
  overflow: hidden; background: #fff; text-align: center; padding: 12px;
}
.main-img-box img { width: 100%; height: 340px; object-fit: contain; }
.code-floating-tag {
  position: absolute; top: 12px; left: 12px; background: rgba(15,23,42,0.88);
  color: #fef08a; font-size: 12px; font-weight: 800; padding: 5px 11px; border-radius: 8px;
}
.sub-thumb-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.thumb-item { width: 62px; height: 62px; border-radius: 8px; border: 2px solid #e2e8f0; object-fit: cover; cursor: pointer; }
.thumb-item:hover { border-color: #03c75a; }
.thumb-caption { font-size: 12px; color: #64748b; }

.badge-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.cat-pill, .verdict-pill { font-size: 12.5px; font-weight: 800; padding: 5px 11px; border-radius: 8px; }
.verdict-pill { background: #fef3c7; color: #b45309; }
.hero-title { font-size: 24px; font-weight: 800; color: #0f172a; line-height: 1.38; margin-bottom: 12px; letter-spacing: -0.5px; }
.rating-row { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 16px; }
.stars { color: #f59e0b; font-size: 16px; letter-spacing: 1px; }
.rev-cnt { color: #64748b; }

.price-box {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 16px 20px; margin-bottom: 16px;
}
.price-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.orig-price { text-decoration: line-through; color: #94a3b8; font-size: 14px; }
.disc-badge { background: #e11d48; color: #fff; font-size: 12px; font-weight: 800; padding: 3px 8px; border-radius: 6px; }
.price-main { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.sale-price { font-size: 32px; font-weight: 900; color: #0f172a; }
.sale-price span { font-size: 20px; font-weight: 700; }
.ship-tag { font-size: 13px; color: #03c75a; font-weight: 700; }

.quick-summary-box {
  background: #eff6ff; border-left: 4px solid #2563eb; padding: 12px 15px;
  border-radius: 8px; font-size: 14px; color: #1e3a8a; margin-bottom: 18px;
}

.btn-naver-primary {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #03c75a; color: #fff; padding: 16px 20px; border-radius: 12px;
  font-size: 18px; font-weight: 800; text-align: center;
  box-shadow: 0 6px 18px rgba(3,199,90,0.32); transition: transform 0.15s, background 0.15s;
}
.btn-naver-primary:hover { background: #02b350; transform: translateY(-2px); }
.btn-naver-primary small { font-size: 12px; font-weight: 500; opacity: 0.92; margin-top: 3px; }

/* Sections */
.content-section {
  background: #fff; border-radius: 18px; border: 1px solid #e2e8f0;
  padding: 28px; margin-bottom: 24px; box-shadow: 0 2px 12px rgba(15,23,42,0.03);
}
.sec-head { margin-bottom: 18px; border-bottom: 2px solid #f1f5f9; padding-bottom: 12px; }
.sec-head h2 { font-size: 20px; font-weight: 800; color: #0f172a; margin-bottom: 4px; }
.sec-head p { font-size: 13.5px; color: #64748b; }

/* Spec Table */
.table-wrap { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th {
  width: 28%; background: #f8fafc; color: #334155; font-weight: 700;
  text-align: left; padding: 13px 16px; border: 1px solid #e2e8f0;
}
.spec-table td { padding: 13px 16px; border: 1px solid #e2e8f0; color: #0f172a; font-weight: 500; }

/* Pros & Cons */
.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.pc-card { padding: 20px; border-radius: 14px; }
.pros-card { background: #f0fdf4; border: 1px solid #bbf7d0; }
.pros-card h3 { color: #166534; font-size: 16.5px; margin-bottom: 12px; }
.pros-card li { list-style: none; margin-bottom: 8px; font-size: 14px; color: #14532d; font-weight: 600; }
.cons-card { background: #fff1f2; border: 1px solid #fecdd3; }
.cons-card h3 { color: #9f1239; font-size: 16.5px; margin-bottom: 12px; }
.cons-card li { list-style: none; margin-bottom: 8px; font-size: 14px; color: #881337; font-weight: 500; }

.hashtag-box { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 12px; padding: 16px; }
.hashtag-title { font-size: 13px; font-weight: 800; color: #475569; margin-bottom: 10px; }
.hashtag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill { background: #fff; border: 1px solid #cbd5e1; color: #0f172a; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 20px; }

/* Deep Points & Mid CTA */
.deep-point-card {
  background: #f8fafc; border-left: 4px solid #0f172a; border-radius: 10px;
  padding: 18px 20px; margin-bottom: 16px;
}
.deep-point-card h3 { font-size: 17px; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.deep-point-card p { font-size: 14.5px; color: #334155; }

.mid-cta-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff; border-radius: 16px; padding: 22px 26px; margin-top: 22px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.mid-badge { display: inline-block; background: #f59e0b; color: #0f172a; font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 6px; margin-bottom: 6px; }
.mid-cta-info h4 { font-size: 18px; font-weight: 800; margin-bottom: 4px; }
.mid-cta-info p { font-size: 13.5px; color: #cbd5e1; }
.btn-naver-mid {
  background: #03c75a; color: #fff; font-size: 15.5px; font-weight: 800;
  padding: 14px 24px; border-radius: 10px; white-space: nowrap; box-shadow: 0 4px 14px rgba(3,199,90,0.35);
}

/* Comparison Table */
.comp-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.comp-table th { background: #0f172a; color: #fff; padding: 13px 12px; text-align: center; font-weight: 700; }
.comp-table td { padding: 14px 12px; border-bottom: 1px solid #e2e8f0; vertical-align: middle; }
.crown-row { background: #fefce8; }
.comp-model-wrap { display: flex; align-items: center; gap: 12px; }
.comp-model-wrap img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; border: 1px solid #e2e8f0; background: #fff; }
.crown-badge { display: inline-block; background: #eab308; color: #0f172a; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 5px; margin-bottom: 3px; }
.curr-badge { display: inline-block; background: #2563eb; color: #fff; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 5px; margin-bottom: 3px; }
.code-sub { font-size: 12px; color: #64748b; }
.td-price, .td-rate, .td-cta { text-align: center; white-space: nowrap; }
.orig-sm { text-decoration: line-through; color: #94a3b8; font-size: 12px; }
.sale-lg { font-size: 16px; color: #e11d48; font-weight: 800; }
.disc-sm { font-size: 12px; color: #0f172a; font-weight: 700; }
.btn-table-buy {
  display: inline-block; background: #03c75a; color: #fff; font-size: 13px;
  font-weight: 800; padding: 9px 14px; border-radius: 8px;
}

/* Spider Section */
.spider-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.spider-card {
  border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; background: #f8fafc;
  display: flex; flex-direction: column; transition: transform 0.15s;
}
.spider-card:hover { transform: translateY(-3px); border-color: #94a3b8; }
.spider-card img { width: 100%; height: 160px; object-fit: contain; background: #fff; padding: 10px; border-bottom: 1px solid #e2e8f0; }
.spider-info { padding: 14px; }
.spider-cat { font-size: 11.5px; font-weight: 700; color: #2563eb; }
.spider-info h4 { font-size: 14.5px; font-weight: 800; color: #0f172a; margin: 6px 0; line-height: 1.4; }
.spider-Meta { font-size: 12.5px; color: #64748b; font-weight: 600; }

/* Home Hero & Grid */
.home-hero { color: #fff; padding: 42px 0; text-align: center; margin-bottom: 10px; }
.home-hero-badge { display: inline-block; background: rgba(255,255,255,0.16); padding: 5px 14px; border-radius: 20px; font-size: 13px; font-weight: 700; margin-bottom: 12px; }
.home-hero h1 { font-size: 28px; font-weight: 900; margin-bottom: 10px; letter-spacing: -0.5px; }
.home-hero p { font-size: 15px; color: #e2e8f0; max-width: 720px; margin: 0 auto 22px; }
.search-filter-bar { max-width: 580px; margin: 0 auto; }
.search-filter-bar input {
  width: 100%; padding: 14px 20px; border-radius: 30px; border: none;
  font-size: 15px; box-shadow: 0 4px 16px rgba(0,0,0,0.2); outline: none;
}

.home-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.home-card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.home-card-thumb { position: relative; background: #fff; padding: 16px; text-align: center; border-bottom: 1px solid #f1f5f9; }
.home-card-thumb img { width: 100%; height: 200px; object-fit: contain; }
.home-type-badge { position: absolute; top: 12px; left: 12px; color: #fff; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 6px; }
.home-card-body { padding: 18px; display: flex; flex-direction: column; flex: 1; }
.home-meta-top { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; color: #64748b; margin-bottom: 6px; }
.home-code { color: #0f172a; background: #f1f5f9; padding: 2px 7px; border-radius: 4px; }
.home-card-body h3 { font-size: 16.5px; font-weight: 800; color: #0f172a; line-height: 1.4; margin-bottom: 8px; }
.home-desc { font-size: 13px; color: #475569; margin-bottom: 14px; flex: 1; }
.home-price-bar { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px dashed #e2e8f0; margin-bottom: 12px; }
.home-disc { color: #e11d48; font-weight: 800; font-size: 15px; margin-right: 6px; }
.home-sale { font-size: 18px; font-weight: 900; color: #0f172a; }
.home-rate { font-size: 12.5px; color: #64748b; font-weight: 700; }
.home-btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn-home-detail { background: #f1f5f9; color: #0f172a; text-align: center; padding: 10px; border-radius: 8px; font-size: 13px; font-weight: 700; }
.btn-home-buy { background: #03c75a; color: #fff; text-align: center; padding: 10px; border-radius: 8px; font-size: 13px; font-weight: 800; }

/* Sticky Bottom Bar */
.sticky-bottom-bar {
  position: fixed; bottom: 0; left: 0; right: 0; background: rgba(15,23,42,0.96);
  color: #fff; padding: 12px 0; z-index: 200; border-top: 2px solid #03c75a;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.25);
}
.sticky-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sticky-prod { display: flex; align-items: center; gap: 12px; }
.sticky-prod img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: #fff; }
.sticky-name { font-size: 14.5px; font-weight: 800; color: #fff; }
.sticky-code { color: #fef08a; font-size: 12.5px; }
.sticky-price { font-size: 13px; color: #cbd5e1; }
.sticky-price strong { color: #4ade80; font-size: 16px; }
.btn-sticky-buy {
  background: #03c75a; color: #fff; font-size: 15px; font-weight: 800;
  padding: 12px 22px; border-radius: 10px; white-space: nowrap;
}

.site-footer { text-align: center; font-size: 12.5px; color: #64748b; padding: 28px 0; border-top: 1px solid #e2e8f0; margin-top: 20px; }

@media (max-width: 860px) {
  .hero-card { grid-template-columns: 1fr; padding: 18px; }
  .pros-cons-grid, .spider-grid, .home-grid { grid-template-columns: 1fr; }
  .sticky-inner { flex-direction: row; }
  .sticky-name { font-size: 13px; }
  .btn-sticky-buy { padding: 10px 14px; font-size: 13.5px; }
}
