:root {
  color-scheme: light;
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --ink: #171923;
  --muted: #697386;
  --subtle: #a0a7b4;
  --line: #e8edf3;
  --blue: #0b8dff;
  --blue-dark: #0574d9;
  --blue-soft: #eaf5ff;
  --red: #ff4d55;
  --green: #16a36f;
  --yellow: #ffd85a;
  --shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.4;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.app-container {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 18px;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.header-top,
.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-top {
  min-height: 58px;
}

.header-nav-row {
  min-height: 46px;
  border-top: 1px solid #f3f5f8;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 10px;
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
}

.brand-mark svg {
  display: block;
  width: 36px;
  height: 36px;
}

.brand-mark rect {
  fill: var(--blue);
}

.jadu-ear {
  fill: #f8fbff;
}

.jadu-face {
  fill: #ffffff;
}

.jadu-eye,
.jadu-muzzle {
  fill: #2d3748;
}

.jadu-nose {
  fill: none;
  stroke: #2d3748;
  stroke-linecap: round;
  stroke-width: 2;
}

.brand-copy {
  display: grid;
  min-width: 0;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 1.08rem;
  font-weight: 900;
}

.brand-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.top-nav a {
  position: relative;
  padding: 14px 0;
  text-decoration: none;
  white-space: nowrap;
}

.top-nav a.active {
  color: var(--ink);
}

.top-nav a.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--blue);
  content: "";
}

.header-search,
.large-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f1f3f6;
}

.header-search {
  width: min(360px, 45vw);
  height: 34px;
  padding: 0 10px;
}

.header-search svg,
.large-search svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--subtle);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.header-search input,
.large-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.header-search input::placeholder,
.large-search input::placeholder {
  color: var(--subtle);
}

.quick-results {
  position: absolute;
  z-index: 40;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.quick-result {
  display: block;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.quick-result:last-child {
  border-bottom: 0;
}

.quick-result strong,
.quick-result span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quick-result strong {
  font-size: 0.86rem;
}

.quick-result span {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.76rem;
}

.header-cta,
.primary-button,
.secondary-button,
.large-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta,
.primary-button,
.large-search button {
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
}

.header-cta {
  min-height: 34px;
  padding: 0 16px;
  font-size: 0.82rem;
}

.primary-button,
.secondary-button {
  padding: 0 18px;
}

.header-cta:hover,
.primary-button:hover,
.large-search button:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.secondary-button {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.secondary-button:hover {
  background: var(--surface-soft);
}

.app-main {
  padding: 14px 0 48px;
}

.page-hero,
.compact-section,
.content-section,
.price-panel,
.filter-panel,
.search-results-area {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.page-hero h1 {
  margin: 4px 0 5px;
  font-size: 1.32rem;
  line-height: 1.2;
  word-break: keep-all;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.eyebrow {
  display: block;
  color: var(--blue);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.large-search {
  height: 44px;
  padding: 0 6px 0 12px;
}

.large-search button {
  min-width: 72px;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 8px;
  cursor: pointer;
}

.compact-section,
.content-section {
  margin-top: 12px;
  padding: 16px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.section-head h2 {
  margin: 2px 0 0;
  font-size: 1.12rem;
  line-height: 1.2;
}

.section-head a {
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.category-chip-row {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin: -2px 0 12px;
  padding-bottom: 2px;
}

.home-category-empty {
  margin-top: 8px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.category-card {
  display: grid;
  gap: 4px;
  min-height: 84px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  text-decoration: none;
}

.category-card:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.category-card span,
.category-card em {
  overflow: hidden;
  color: var(--muted);
  font-size: 0.74rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-card strong {
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.product-rail {
  display: grid;
  grid-auto-columns: minmax(142px, 168px);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  padding: 1px 0 8px;
  scroll-snap-type: x proximity;
}

.product-rail::-webkit-scrollbar {
  height: 6px;
}

.product-rail::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #d8dee8;
}

.product-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 9px;
  background: #fff;
  scroll-snap-align: start;
}

.product-card:hover {
  border-color: #d9e0e8;
}

.product-media {
  position: relative;
  display: grid;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 9px;
  background: #f3f5f8;
  text-decoration: none;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.product-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #64748b;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 900;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 20px;
}

.badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 19px;
  padding: 0 6px;
  border-radius: 4px;
  font-size: 0.67rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.badge-floating {
  position: absolute;
  top: 7px;
  left: 7px;
  color: #fff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

.badge-blue {
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.badge-light {
  overflow: hidden;
  background: #f1f3f6;
  color: #586174;
  text-overflow: ellipsis;
}

.badge-best,
.badge-timing,
.badge-drop,
.badge-sale {
  background: var(--red);
}

.badge-neutral,
.badge-watch {
  background: #1f2937;
}

.product-info {
  display: grid;
  gap: 5px;
  padding: 8px 2px 0;
}

.product-info h3 {
  display: -webkit-box;
  min-height: 38px;
  margin: 0;
  overflow: hidden;
  color: #252b36;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
  word-break: keep-all;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-info h3 a {
  text-decoration: none;
}

.price-row {
  display: flex;
  align-items: baseline;
  min-width: 0;
  gap: 5px;
}

.price-row strong {
  font-size: 1.03rem;
  line-height: 1;
  white-space: nowrap;
}

.discount {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.original-price {
  overflow: hidden;
  color: var(--subtle);
  font-size: 0.72rem;
  text-decoration: line-through;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-meta {
  color: var(--muted);
  font-size: 0.72rem;
}

.product-meta span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--blue-dark);
}

.product-detail-hero {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.detail-media {
  display: grid;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f5f7fa;
}

.detail-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.detail-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.detail-summary h1 {
  margin: 8px 0 8px;
  font-size: clamp(1.18rem, 2.5vw, 1.72rem);
  line-height: 1.25;
  word-break: keep-all;
}

.detail-summary p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.detail-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 8px 0 10px;
}

.detail-price-row strong {
  font-size: 1.78rem;
  line-height: 1;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.detail-actions .primary-button,
.detail-actions .secondary-button {
  min-height: 40px;
}

.affiliate-note,
.chart-note,
.muted-copy {
  color: var(--muted);
  font-size: 0.82rem;
}

.affiliate-note {
  margin-top: 10px !important;
}

.price-panel {
  margin-top: 12px;
  padding: 16px;
}

.price-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fafc;
}

.price-stat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  padding: 12px 14px;
  border-right: 1px solid var(--line);
}

.price-stat:last-child {
  border-right: 0;
}

.price-stat span,
.price-stat em {
  color: var(--muted);
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 800;
}

.price-stat strong {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
  font-size: 1rem;
  white-space: nowrap;
}

.price-chart {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.price-chart svg {
  display: block;
  width: 100%;
  height: 220px;
}

.chart-grid {
  fill: none;
  stroke: #edf1f5;
  stroke-width: 1;
}

.chart-area {
  fill: rgba(11, 141, 255, 0.08);
}

.chart-line {
  fill: none;
  stroke: var(--blue);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.price-chart circle {
  fill: #fff;
  stroke: var(--blue);
  stroke-width: 3;
}

.chart-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px 12px;
  color: var(--muted);
  font-size: 0.78rem;
}

.chart-labels strong {
  color: var(--ink);
}

.chart-empty {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 180px;
  margin-top: 12px;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.chart-empty strong {
  color: var(--ink);
}

.quick-check-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.quick-check-head {
  display: grid;
  gap: 4px;
}

.quick-check-head strong {
  font-size: 1rem;
}

.quick-check-head span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
}

.quick-check-bars {
  display: grid;
  gap: 9px;
}

.quick-check-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 74px;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.quick-check-row div {
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: #edf1f5;
}

.quick-check-row i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff8a4c, var(--blue));
}

.quick-check-row em {
  overflow: hidden;
  color: var(--ink);
  font-style: normal;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-cta-spacer {
  height: 70px;
}

.sticky-product-cta {
  position: fixed;
  z-index: 80;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 -10px 22px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.sticky-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(100%, 1120px);
  min-height: 64px;
  margin: 0 auto;
  padding: 0 18px;
}

.sticky-cta-copy {
  min-width: 0;
}

.sticky-cta-copy strong,
.sticky-cta-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-cta-copy strong {
  color: var(--blue);
  font-size: 1.12rem;
  line-height: 1.1;
}

.sticky-cta-copy span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
}

.page-hero {
  padding: 16px;
}

.compact-hero h1,
.products-hero h1 {
  font-size: 1.28rem;
}

.search-page-form {
  max-width: 680px;
  margin-top: 12px;
}

.search-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  margin-top: 12px;
}

.filter-panel {
  position: sticky;
  top: 116px;
  align-self: start;
  display: grid;
  gap: 7px;
  padding: 12px;
}

.filter-panel strong {
  margin-bottom: 3px;
  font-size: 0.88rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  width: 100%;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.filter-chip:hover,
.filter-chip.active {
  border-color: var(--blue);
  background: var(--blue-soft);
  color: var(--blue-dark);
}

.search-results-area {
  padding: 14px;
}

.result-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.result-toolbar strong,
.result-toolbar span {
  display: block;
}

.result-toolbar span,
.sort-note {
  color: var(--muted);
  font-size: 0.8rem;
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 180px;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.empty-state strong {
  color: var(--ink);
}

.category-product-section {
  overflow: hidden;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  color: var(--muted);
  font-size: 0.78rem;
}

.footer-inner strong {
  color: var(--ink);
}

.footer-inner a {
  color: var(--blue);
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-media {
    min-height: 300px;
  }
}

@media (max-width: 760px) {
  .app-container {
    padding: 0 12px;
  }

  .header-top {
    min-height: 54px;
  }

  .brand-copy small {
    max-width: 190px;
  }

  .header-nav-row {
    gap: 10px;
    min-height: 48px;
  }

  .top-nav {
    gap: 14px;
    overflow-x: auto;
    font-size: 0.82rem;
  }

  .header-search {
    flex: 1 0 120px;
    width: auto;
    min-width: 120px;
  }

  .page-hero h1 {
    font-size: 1.18rem;
  }

  .compact-section,
  .content-section,
  .page-hero,
  .price-panel,
  .search-results-area {
    padding: 14px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-rail {
    grid-auto-columns: 140px;
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-layout {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    position: static;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .filter-panel strong {
    display: none;
  }

  .filter-chip {
    flex: 0 0 auto;
    width: auto;
    background: #fff;
  }

  .price-stat-grid {
    grid-template-columns: 1fr;
  }

  .price-stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .price-stat:last-child {
    border-bottom: 0;
  }

  .quick-check-card {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-head,
  .result-toolbar,
  .chart-labels,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .brand-mark,
  .brand-mark svg {
    width: 32px;
    height: 32px;
  }

  .brand-copy strong {
    font-size: 1rem;
  }

  .brand-copy small {
    max-width: 150px;
    font-size: 0.68rem;
  }

  .header-cta {
    padding: 0 12px;
  }

  .large-search {
    min-height: 44px;
  }

  .large-search svg {
    display: none;
  }

  .product-info h3 {
    font-size: 0.8rem;
  }

  .price-row strong {
    font-size: 0.98rem;
  }

  .product-detail-hero {
    padding: 12px;
  }

  .detail-media {
    min-height: 245px;
  }

  .detail-summary h1 {
    font-size: 1.12rem;
  }

  .detail-price-row strong {
    font-size: 1.48rem;
  }

  .sticky-cta-spacer {
    height: 92px;
  }

  .sticky-cta-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 9px 12px;
  }

  .sticky-cta-inner .primary-button {
    width: 100%;
  }
}
