:root {
  --cd-ink: #10252c;
  --cd-ink-soft: #18353d;
  --cd-paper: #f4f0e7;
  --cd-paper-deep: #e9e2d4;
  --cd-white: #fffdf8;
  --cd-copper: #a95d32;
  --cd-copper-dark: #834521;
  --cd-moss: #52634f;
  --cd-line: #d6d0c2;
  --cd-muted: #667177;
  --cd-danger: #a53d33;
  --cd-shadow: 0 18px 50px rgba(16, 37, 44, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cd-paper);
}

body {
  margin: 0;
  color: var(--cd-ink);
  background: var(--cd-paper);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

body.cd-menu-open {
  overflow: hidden;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
}

.cd-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cd-skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-80px);
  padding: 10px 14px;
  color: var(--cd-white);
  background: var(--cd-copper);
}

.cd-skip-link:focus {
  transform: translateY(0);
}

.cd-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.cd-placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cd-copper-dark);
  font-size: 11px;
  font-weight: 700;
}

.cd-placeholder-note::before {
  width: 6px;
  height: 6px;
  background: var(--cd-copper);
  content: "";
}

.cd-topbar {
  min-height: 34px;
  color: #dbe3e2;
  background: var(--cd-ink);
  font-size: 11px;
}

.cd-topbar .cd-container {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cd-topbar a {
  color: #f0c4a8;
}

.cd-header {
  position: relative;
  z-index: 30;
  color: var(--cd-ink);
  background: rgba(255, 253, 248, 0.98);
  border-bottom: 1px solid var(--cd-line);
}

.cd-header.cd-header-overlay {
  position: absolute;
  top: 34px;
  right: 0;
  left: 0;
  color: var(--cd-white);
  background: rgba(8, 24, 29, 0.18);
  border-bottom-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

.cd-nav {
  height: 76px;
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.cd-logo {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: "Noto Serif KR", serif;
  font-size: 23px;
  font-weight: 700;
}

.cd-logo-mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: "Noto Sans KR", sans-serif;
  font-size: 10px;
  font-weight: 700;
}

.cd-logo-mark::after {
  position: absolute;
  inset: 4px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  opacity: 0.45;
}

.cd-logo-copy small {
  display: block;
  margin-top: 1px;
  color: var(--cd-copper);
  font-family: "Noto Sans KR", sans-serif;
  font-size: 8px;
  font-weight: 700;
  line-height: 1.2;
}

.cd-header-overlay .cd-logo-copy small {
  color: #f0b68e;
}

.cd-nav-links {
  min-width: 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.cd-nav-links a {
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
}

.cd-nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: var(--cd-copper);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.cd-nav-links a:hover::after,
.cd-nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.cd-nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cd-icon-button {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.cd-icon-button:hover {
  color: var(--cd-copper);
  background: rgba(169, 93, 50, 0.08);
}

.cd-icon-button > svg {
  width: 19px;
  height: 19px;
}

.cd-cart-count {
  position: absolute;
  top: 5px;
  right: 4px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  padding: 0 4px;
  color: var(--cd-white);
  background: var(--cd-copper);
  border-radius: 9px;
  font-size: 9px;
  line-height: 1;
}

.cd-menu-button {
  display: none;
}

.cd-mobile-menu {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr min(86vw, 360px);
  visibility: hidden;
  pointer-events: none;
}

.cd-mobile-menu::before {
  background: rgba(5, 14, 17, 0.58);
  content: "";
  opacity: 0;
  transition: opacity 180ms ease;
}

.cd-mobile-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
  color: var(--cd-ink);
  background: var(--cd-white);
  transform: translateX(100%);
  transition: transform 220ms ease;
}

.cd-menu-open .cd-mobile-menu {
  visibility: visible;
  pointer-events: auto;
}

.cd-menu-open .cd-mobile-menu::before {
  opacity: 1;
}

.cd-menu-open .cd-mobile-panel {
  transform: translateX(0);
}

.cd-mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.cd-mobile-links {
  display: grid;
}

.cd-mobile-links a {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--cd-line);
  font-family: "Noto Serif KR", serif;
  font-size: 18px;
  font-weight: 700;
}

.cd-mobile-links svg {
  width: 17px;
}

.cd-mobile-meta {
  margin-top: auto;
  padding-top: 28px;
  color: var(--cd-muted);
  font-size: 11px;
}

.cd-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  color: var(--cd-white);
  background: var(--cd-copper);
  border: 1px solid var(--cd-copper);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 700;
  transition: color 150ms ease, background 150ms ease, border-color 150ms ease;
}

.cd-button:hover {
  background: var(--cd-copper-dark);
  border-color: var(--cd-copper-dark);
}

.cd-button svg {
  width: 17px;
  height: 17px;
}

.cd-button-secondary {
  color: var(--cd-ink);
  background: transparent;
  border-color: var(--cd-ink);
}

.cd-button-secondary:hover {
  color: var(--cd-white);
  background: var(--cd-ink);
  border-color: var(--cd-ink);
}

.cd-button-light {
  color: var(--cd-white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.7);
}

.cd-button-light:hover {
  color: var(--cd-ink);
  background: var(--cd-white);
  border-color: var(--cd-white);
}

.cd-text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cd-copper-dark);
  font-size: 12px;
  font-weight: 700;
}

.cd-text-link svg {
  width: 15px;
  height: 15px;
}

.cd-hero {
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  color: var(--cd-white);
  background:
    linear-gradient(90deg, rgba(7, 21, 25, 0.95) 0%, rgba(7, 21, 25, 0.78) 43%, rgba(7, 21, 25, 0.2) 78%),
    url("hero-coins.jpg") center 56% / cover;
}

.cd-hero-inner {
  padding-top: 150px;
  padding-bottom: 58px;
}

.cd-hero-kicker {
  margin-bottom: 10px;
  color: #f0b68e;
  font-size: 11px;
  font-weight: 700;
}

.cd-hero h1 {
  margin: 0 0 4px;
  font-family: "Noto Serif KR", serif;
  font-size: 64px;
  line-height: 1.15;
}

.cd-hero-heading {
  max-width: 640px;
  margin: 0 0 17px;
  font-family: "Noto Serif KR", serif;
  font-size: 38px;
  font-weight: 600;
  line-height: 1.35;
}

.cd-hero-copy {
  max-width: 580px;
  margin: 0 0 28px;
  color: #d6dfde;
  font-size: 15px;
  line-height: 1.8;
}

.cd-hero-search {
  width: min(720px, 100%);
  min-height: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 144px;
  background: var(--cd-white);
  border: 1px solid rgba(255, 255, 255, 0.48);
}

.cd-hero-search input {
  min-width: 0;
  padding: 0 20px;
  color: var(--cd-ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 13px;
}

.cd-hero-search input:focus {
  box-shadow: inset 0 0 0 2px var(--cd-copper);
}

.cd-hero-search button {
  color: var(--cd-white);
  background: var(--cd-copper);
  border: 0;
  font-size: 13px;
  font-weight: 700;
}

.cd-hero-quick {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cd-hero-quick a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.33);
  font-size: 11px;
}

.cd-category-index {
  background: var(--cd-white);
  border-bottom: 1px solid var(--cd-line);
}

.cd-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.cd-category-item {
  min-height: 112px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 20px;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-right: 1px solid var(--cd-line);
}

.cd-category-item:first-child {
  border-left: 1px solid var(--cd-line);
}

.cd-category-item:hover {
  background: var(--cd-paper);
}

.cd-category-no {
  color: var(--cd-copper);
  font-family: "Noto Serif KR", serif;
  font-size: 28px;
}

.cd-category-copy b {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.cd-category-copy small {
  display: block;
  color: var(--cd-muted);
  font-size: 10px;
}

.cd-category-item svg {
  width: 17px;
  height: 17px;
}

.cd-section {
  padding: 72px 0;
}

.cd-section-white {
  background: var(--cd-white);
}

.cd-section-ink {
  color: var(--cd-white);
  background: var(--cd-ink);
}

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

.cd-section-kicker {
  margin: 0 0 7px;
  color: var(--cd-copper);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.cd-section-head h2,
.cd-section-title {
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: 32px;
  line-height: 1.35;
}

.cd-section-head p {
  max-width: 480px;
  margin: 0;
  color: var(--cd-muted);
  font-size: 12px;
}

.cd-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 16px;
}

.cd-product-card {
  min-width: 0;
  border-bottom: 1px solid var(--cd-line);
  padding-bottom: 18px;
}

.cd-product-link {
  display: block;
}

.cd-product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cd-paper-deep);
}

.cd-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.cd-product-link:hover .cd-product-image img {
  transform: scale(1.035);
}

.cd-product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: var(--cd-white);
  background: rgba(16, 37, 44, 0.9);
  font-size: 9px;
  font-weight: 700;
}

.cd-product-meta {
  padding-top: 14px;
}

.cd-product-type {
  color: var(--cd-copper-dark);
  font-size: 9px;
  font-weight: 700;
}

.cd-product-meta h3 {
  min-height: 48px;
  margin: 6px 0 7px;
  font-size: 14px;
  line-height: 1.55;
}

.cd-product-spec {
  min-height: 20px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--cd-muted);
  font-size: 10px;
}

.cd-product-price {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
}

.cd-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.cd-proof-item {
  min-height: 240px;
  padding: 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.cd-proof-item:first-child {
  border-left: 1px solid rgba(255, 255, 255, 0.16);
}

.cd-proof-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #efb58e;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.cd-proof-icon svg {
  width: 20px;
  height: 20px;
}

.cd-proof-item h3 {
  margin: 28px 0 10px;
  font-family: "Noto Serif KR", serif;
  font-size: 20px;
}

.cd-proof-item p {
  margin: 0;
  color: #b6c2c1;
  font-size: 12px;
  line-height: 1.8;
}

.cd-guide-band {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--cd-white);
  background:
    linear-gradient(90deg, rgba(16, 37, 44, 0.96), rgba(16, 37, 44, 0.68) 56%, rgba(16, 37, 44, 0.32)),
    url("archive.jpg") center 48% / cover;
}

.cd-guide-band-content {
  max-width: 590px;
  padding: 64px 0;
}

.cd-guide-band h2 {
  margin: 8px 0 14px;
  font-family: "Noto Serif KR", serif;
  font-size: 36px;
  line-height: 1.4;
}

.cd-guide-band p {
  margin: 0 0 26px;
  color: #d4dddc;
  font-size: 13px;
  line-height: 1.8;
}

.cd-page-hero {
  padding: 72px 0 58px;
  color: var(--cd-white);
  background: var(--cd-ink);
}

.cd-breadcrumb {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: #aebdbc;
  font-size: 10px;
}

.cd-breadcrumb svg {
  width: 12px;
  height: 12px;
}

.cd-page-hero h1 {
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: 42px;
  line-height: 1.3;
}

.cd-page-hero p {
  max-width: 610px;
  margin: 13px 0 0;
  color: #bdc9c8;
  font-size: 13px;
}

.cd-catalog-tools {
  padding: 24px 0;
  background: var(--cd-white);
  border-bottom: 1px solid var(--cd-line);
}

.cd-catalog-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  max-width: 760px;
  min-height: 50px;
  border: 1px solid var(--cd-ink);
}

.cd-catalog-search input {
  min-width: 0;
  padding: 0 16px;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.cd-catalog-search button {
  color: var(--cd-white);
  background: var(--cd-ink);
  border: 0;
  font-size: 12px;
  font-weight: 700;
}

.cd-catalog-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 38px;
  padding: 48px 0 90px;
}

.cd-filter-aside {
  min-width: 0;
  border-right: 1px solid var(--cd-line);
  padding-right: 26px;
}

.cd-filter-head {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--cd-ink);
}

.cd-filter-head h2 {
  margin: 0;
  font-size: 14px;
}

.cd-filter-reset {
  min-height: 44px;
  padding: 0;
  color: var(--cd-muted);
  background: transparent;
  border: 0;
  font-size: 10px;
}

.cd-filter-group {
  padding: 18px 0;
  border-bottom: 1px solid var(--cd-line);
}

.cd-filter-group h3 {
  margin: 0 0 12px;
  font-size: 12px;
}

.cd-check {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--cd-muted);
  font-size: 11px;
  cursor: pointer;
}

.cd-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--cd-copper);
}

.cd-catalog-main {
  min-width: 0;
}

.cd-results-head {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.cd-results-head h2 {
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: 27px;
}

.cd-results-head p {
  margin: 3px 0 0;
  color: var(--cd-muted);
  font-size: 10px;
}

.cd-results-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cd-filter-open {
  display: none;
}

.cd-select {
  min-height: 44px;
  padding: 0 34px 0 12px;
  background: var(--cd-white);
  border: 1px solid var(--cd-line);
  font-size: 11px;
}

.cd-active-filters {
  min-height: 40px;
  display: flex;
  gap: 7px;
  margin-bottom: 20px;
  overflow-x: auto;
}

.cd-filter-chip {
  min-height: 44px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  color: var(--cd-muted);
  background: var(--cd-white);
  border: 1px solid var(--cd-line);
  font-size: 10px;
}

.cd-filter-chip[aria-pressed="true"] {
  color: var(--cd-white);
  background: var(--cd-ink);
  border-color: var(--cd-ink);
}

.cd-catalog-main .cd-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cd-empty-state {
  display: none;
  min-height: 260px;
  place-items: center;
  text-align: center;
  background: var(--cd-white);
  border: 1px solid var(--cd-line);
}

.cd-empty-state h3 {
  margin: 0 0 6px;
  font-family: "Noto Serif KR", serif;
  font-size: 20px;
}

.cd-empty-state p {
  margin: 0;
  color: var(--cd-muted);
  font-size: 11px;
}

.cd-pagination {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  gap: 5px;
}

.cd-page-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--cd-line);
  font-size: 11px;
}

.cd-page-button[aria-current="page"] {
  color: var(--cd-white);
  background: var(--cd-ink);
  border-color: var(--cd-ink);
}

.cd-filter-drawer {
  position: fixed;
  z-index: 110;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr min(82vh, 680px);
  visibility: hidden;
  pointer-events: none;
}

.cd-filter-drawer::before {
  background: rgba(5, 14, 17, 0.58);
  content: "";
  opacity: 0;
}

.cd-filter-drawer-panel {
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
  background: var(--cd-white);
  transform: translateY(100%);
  transition: transform 220ms ease;
}

.cd-filter-drawer.cd-open {
  visibility: visible;
  pointer-events: auto;
}

.cd-filter-drawer.cd-open::before {
  opacity: 1;
}

.cd-filter-drawer.cd-open .cd-filter-drawer-panel {
  transform: translateY(0);
}

.cd-filter-drawer-head {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--cd-ink);
}

.cd-filter-drawer-actions {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 8px;
  padding-top: 16px;
  background: var(--cd-white);
}

.cd-detail-wrap {
  padding: 28px 0 88px;
}

.cd-detail-breadcrumb {
  margin-bottom: 22px;
  color: var(--cd-muted);
}

.cd-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 64px;
  align-items: start;
}

.cd-gallery {
  min-width: 0;
}

.cd-gallery-main {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--cd-paper-deep);
}

.cd-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd-gallery-zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--cd-white);
  background: rgba(16, 37, 44, 0.82);
  border: 0;
}

.cd-gallery-zoom svg {
  width: 18px;
  height: 18px;
}

.cd-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.cd-thumb {
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  background: var(--cd-paper-deep);
  border: 2px solid transparent;
}

.cd-thumb[aria-pressed="true"] {
  border-color: var(--cd-copper);
}

.cd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cd-detail-info {
  min-width: 0;
  position: sticky;
  top: 22px;
}

.cd-detail-type {
  color: var(--cd-copper-dark);
  font-size: 10px;
  font-weight: 700;
}

.cd-detail-info h1 {
  margin: 9px 0 10px;
  font-family: "Noto Serif KR", serif;
  font-size: 34px;
  line-height: 1.4;
}

.cd-detail-sub {
  margin: 0 0 22px;
  color: var(--cd-muted);
  font-size: 12px;
}

.cd-detail-price {
  padding: 20px 0;
  border-top: 1px solid var(--cd-line);
  border-bottom: 1px solid var(--cd-line);
  font-size: 22px;
  font-weight: 700;
}

.cd-spec-table {
  margin: 18px 0;
  border-top: 2px solid var(--cd-ink);
}

.cd-spec-row {
  min-height: 46px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  border-bottom: 1px solid var(--cd-line);
  font-size: 11px;
}

.cd-spec-row dt {
  color: var(--cd-muted);
}

.cd-spec-row dd {
  margin: 0;
  font-weight: 600;
}

.cd-purchase-note {
  margin: 16px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--cd-muted);
  font-size: 10px;
}

.cd-purchase-note svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  color: var(--cd-copper);
}

.cd-purchase-actions {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 8px;
}

.cd-quantity {
  min-height: 52px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  border: 1px solid var(--cd-line);
}

.cd-quantity button {
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: 0;
}

.cd-quantity button:hover {
  background: var(--cd-paper);
}

.cd-quantity input {
  width: 100%;
  text-align: center;
  background: transparent;
  border: 0;
  font-size: 12px;
}

.cd-quantity svg {
  width: 15px;
  height: 15px;
}

.cd-detail-tabs {
  margin-top: 84px;
}

.cd-detail-tab-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--cd-ink);
  border-bottom: 1px solid var(--cd-line);
}

.cd-detail-tab-nav a {
  min-height: 54px;
  display: grid;
  place-items: center;
  border-right: 1px solid var(--cd-line);
  font-size: 12px;
  font-weight: 700;
}

.cd-detail-tab-nav a:first-child {
  border-left: 1px solid var(--cd-line);
}

.cd-detail-section {
  padding: 64px 0;
  border-bottom: 1px solid var(--cd-line);
}

.cd-detail-section h2 {
  margin: 0 0 16px;
  font-family: "Noto Serif KR", serif;
  font-size: 27px;
}

.cd-detail-section > p {
  max-width: 720px;
  color: var(--cd-muted);
  font-size: 12px;
}

.cd-evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border-top: 1px solid var(--cd-line);
}

.cd-evidence-item {
  min-height: 150px;
  padding: 22px;
  border-right: 1px solid var(--cd-line);
  border-bottom: 1px solid var(--cd-line);
}

.cd-evidence-item:first-child {
  border-left: 1px solid var(--cd-line);
}

.cd-evidence-item b {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
}

.cd-evidence-item span {
  color: var(--cd-muted);
  font-size: 10px;
}

.cd-policy-table {
  margin-top: 24px;
  border-top: 2px solid var(--cd-ink);
}

.cd-policy-row {
  min-height: 56px;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--cd-line);
  font-size: 11px;
}

.cd-policy-row b {
  font-size: 11px;
}

.cd-policy-row span {
  color: var(--cd-muted);
}

.cd-about-hero {
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  color: var(--cd-white);
  background:
    linear-gradient(90deg, rgba(8, 22, 26, 0.94), rgba(8, 22, 26, 0.5) 58%, rgba(8, 22, 26, 0.28)),
    url("coins-silver.jpg") center 52% / cover;
}

.cd-about-hero-content {
  max-width: 680px;
  padding: 86px 0 64px;
}

.cd-about-hero h1 {
  margin: 8px 0 14px;
  font-family: "Noto Serif KR", serif;
  font-size: 46px;
  line-height: 1.35;
}

.cd-about-hero p {
  margin: 0;
  color: #d0dad9;
  font-size: 14px;
  line-height: 1.85;
}

.cd-principle-list {
  border-top: 2px solid var(--cd-ink);
}

.cd-principle {
  min-height: 170px;
  display: grid;
  grid-template-columns: 90px 260px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--cd-line);
}

.cd-principle-no {
  color: var(--cd-copper);
  font-family: "Noto Serif KR", serif;
  font-size: 30px;
}

.cd-principle h3 {
  margin: 2px 0 0;
  font-family: "Noto Serif KR", serif;
  font-size: 21px;
}

.cd-principle p {
  margin: 0;
  color: var(--cd-muted);
  font-size: 12px;
  line-height: 1.85;
}

.cd-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--cd-line);
}

.cd-process-item {
  min-height: 230px;
  padding: 25px;
  border-right: 1px solid var(--cd-line);
  border-bottom: 1px solid var(--cd-line);
}

.cd-process-item:first-child {
  border-left: 1px solid var(--cd-line);
}

.cd-process-item span {
  color: var(--cd-copper);
  font-family: "Noto Serif KR", serif;
  font-size: 25px;
}

.cd-process-item h3 {
  margin: 20px 0 9px;
  font-size: 14px;
}

.cd-process-item p {
  margin: 0;
  color: var(--cd-muted);
  font-size: 11px;
  line-height: 1.75;
}

.cd-info-awaiting {
  padding: 28px;
  color: #dbe3e2;
  background: var(--cd-ink);
}

.cd-info-awaiting h2 {
  margin: 0 0 10px;
  font-family: "Noto Serif KR", serif;
  font-size: 23px;
}

.cd-info-awaiting p {
  margin: 0;
  color: #aebdbc;
  font-size: 11px;
}

.cd-guide-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 64px;
  padding: 64px 0 90px;
}

.cd-guide-nav {
  position: sticky;
  top: 24px;
  align-self: start;
  border-top: 2px solid var(--cd-ink);
}

.cd-guide-nav a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--cd-line);
  color: var(--cd-muted);
  font-size: 11px;
}

.cd-guide-nav a:hover {
  color: var(--cd-copper-dark);
}

.cd-guide-nav svg {
  width: 14px;
  height: 14px;
}

.cd-guide-content {
  min-width: 0;
}

.cd-guide-section {
  padding: 0 0 64px;
  margin-bottom: 64px;
  border-bottom: 1px solid var(--cd-line);
  scroll-margin-top: 24px;
}

.cd-guide-section:last-child {
  margin-bottom: 0;
}

.cd-guide-section h2 {
  margin: 0 0 17px;
  font-family: "Noto Serif KR", serif;
  font-size: 29px;
}

.cd-guide-section > p {
  max-width: 760px;
  color: var(--cd-muted);
  font-size: 12px;
  line-height: 1.85;
}

.cd-guide-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
  border-top: 1px solid var(--cd-line);
}

.cd-guide-step {
  min-height: 190px;
  padding: 22px;
  border-right: 1px solid var(--cd-line);
  border-bottom: 1px solid var(--cd-line);
}

.cd-guide-step:first-child {
  border-left: 1px solid var(--cd-line);
}

.cd-guide-step span {
  color: var(--cd-copper);
  font-family: "Noto Serif KR", serif;
  font-size: 23px;
}

.cd-guide-step h3 {
  margin: 14px 0 7px;
  font-size: 13px;
}

.cd-guide-step p {
  margin: 0;
  color: var(--cd-muted);
  font-size: 10px;
  line-height: 1.75;
}

.cd-faq {
  border-top: 2px solid var(--cd-ink);
}

.cd-faq details {
  border-bottom: 1px solid var(--cd-line);
}

.cd-faq summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  list-style: none;
}

.cd-faq summary::-webkit-details-marker {
  display: none;
}

.cd-faq summary::after {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--cd-line);
  content: "+";
  font-size: 15px;
  font-weight: 400;
}

.cd-faq details[open] summary::after {
  content: "−";
}

.cd-faq-answer {
  padding: 0 44px 22px 0;
  color: var(--cd-muted);
  font-size: 11px;
  line-height: 1.85;
}

.cd-search-dialog {
  width: min(680px, calc(100% - 36px));
  padding: 0;
  color: var(--cd-ink);
  background: var(--cd-white);
  border: 0;
  box-shadow: var(--cd-shadow);
}

.cd-search-dialog::backdrop {
  background: rgba(5, 14, 17, 0.68);
}

.cd-dialog-head {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid var(--cd-line);
}

.cd-dialog-head h2 {
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: 20px;
}

.cd-dialog-body {
  padding: 26px 18px 30px;
}

.cd-dialog-search {
  min-height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 100px;
  border: 1px solid var(--cd-ink);
}

.cd-dialog-search input {
  min-width: 0;
  padding: 0 14px;
  border: 0;
  outline: 0;
  font-size: 12px;
}

.cd-dialog-search button {
  color: var(--cd-white);
  background: var(--cd-ink);
  border: 0;
  font-size: 11px;
  font-weight: 700;
}

.cd-dialog-suggestions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cd-dialog-suggestions a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  color: var(--cd-muted);
  background: var(--cd-paper);
  border: 1px solid var(--cd-line);
  font-size: 10px;
}

.cd-toast {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  max-width: min(360px, calc(100% - 40px));
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  color: var(--cd-white);
  background: var(--cd-ink);
  box-shadow: var(--cd-shadow);
  font-size: 11px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.cd-toast.cd-show {
  opacity: 1;
  transform: translateY(0);
}

.cd-toast svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: #efb58e;
}

.cd-footer {
  color: #b8c4c3;
  background: #0a1b20;
}

.cd-footer-main {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 60px;
  padding: 58px 0 42px;
}

.cd-footer .cd-logo {
  color: var(--cd-white);
}

.cd-footer-intro {
  max-width: 420px;
  margin: 18px 0 0;
  font-size: 11px;
}

.cd-footer h2 {
  margin: 0 0 13px;
  color: var(--cd-white);
  font-size: 12px;
}

.cd-footer-links {
  display: grid;
  gap: 8px;
  font-size: 11px;
}

.cd-footer-awaiting {
  color: #e5a77e;
}

.cd-footer-bottom {
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 9px;
}

.cd-footer-bottom .cd-container {
  display: flex;
  justify-content: space-between;
  gap: 22px;
}

.cd-mobile-purchase {
  display: none;
}

@media (max-width: 1024px) {
  .cd-nav {
    grid-template-columns: 205px minmax(0, 1fr) auto;
    gap: 18px;
  }

  .cd-nav-links {
    gap: 18px;
  }

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

  .cd-category-item {
    padding: 16px;
  }

  .cd-detail-grid {
    gap: 38px;
  }

  .cd-principle {
    grid-template-columns: 70px 220px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  body {
    font-size: 14px;
  }

  .cd-topbar .cd-container {
    justify-content: center;
  }

  .cd-topbar span:last-child {
    display: none;
  }

  .cd-header.cd-header-overlay {
    top: 34px;
  }

  .cd-nav {
    height: 68px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .cd-logo {
    font-size: 20px;
  }

  .cd-logo-mark {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
  }

  .cd-nav-links {
    display: none;
  }

  .cd-nav-actions .cd-account-button {
    display: none;
  }

  .cd-menu-button {
    display: inline-grid;
  }

  .cd-hero {
    min-height: 630px;
    background-position: 61% center;
  }

  .cd-hero-inner {
    padding-top: 126px;
    padding-bottom: 38px;
  }

  .cd-hero h1 {
    font-size: 44px;
  }

  .cd-hero-heading {
    max-width: 350px;
    font-size: 30px;
  }

  .cd-hero-copy {
    max-width: 345px;
    font-size: 13px;
  }

  .cd-hero-search {
    grid-template-columns: minmax(0, 1fr) 100px;
    min-height: 58px;
  }

  .cd-hero-search input {
    padding: 0 14px;
    font-size: 11px;
  }

  .cd-hero-search button {
    font-size: 11px;
  }

  .cd-category-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cd-category-item {
    min-height: 88px;
    grid-template-columns: 36px minmax(0, 1fr);
    padding: 13px;
    border-bottom: 1px solid var(--cd-line);
  }

  .cd-category-item:nth-child(odd) {
    border-left: 1px solid var(--cd-line);
  }

  .cd-category-item svg {
    display: none;
  }

  .cd-category-no {
    font-size: 23px;
  }

  .cd-section {
    padding: 54px 0;
  }

  .cd-section-head {
    align-items: start;
  }

  .cd-section-head h2,
  .cd-section-title {
    font-size: 27px;
  }

  .cd-section-head p {
    max-width: 130px;
    font-size: 9px;
    text-align: right;
  }

  .cd-product-grid,
  .cd-catalog-main .cd-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 12px;
  }

  .cd-product-meta h3 {
    min-height: 62px;
    font-size: 12px;
  }

  .cd-product-spec {
    display: block;
  }

  .cd-product-spec span {
    display: block;
  }

  .cd-product-spec span:last-child {
    display: none;
  }

  .cd-proof-grid {
    grid-template-columns: 1fr;
  }

  .cd-proof-item {
    min-height: 190px;
    border-left: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .cd-guide-band {
    min-height: 470px;
    background-position: 62% center;
  }

  .cd-guide-band h2 {
    font-size: 29px;
  }

  .cd-page-hero {
    padding: 52px 0 42px;
  }

  .cd-page-hero h1 {
    font-size: 34px;
  }

  .cd-catalog-tools {
    padding: 18px 0;
  }

  .cd-catalog-search {
    grid-template-columns: minmax(0, 1fr) 88px;
  }

  .cd-catalog-layout {
    grid-template-columns: minmax(0, 1fr);
    padding: 30px 0 70px;
  }

  .cd-filter-aside {
    display: none;
  }

  .cd-results-head {
    align-items: end;
  }

  .cd-results-head h2 {
    font-size: 24px;
  }

  .cd-filter-open {
    min-height: 44px;
    min-width: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 12px;
    background: var(--cd-white);
    border: 1px solid var(--cd-line);
    font-size: 10px;
  }

  .cd-filter-open svg {
    width: 15px;
    height: 15px;
  }

  .cd-select {
    max-width: 106px;
  }

  .cd-detail-wrap {
    padding-top: 18px;
  }

  .cd-detail-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .cd-detail-info {
    position: static;
  }

  .cd-detail-info h1 {
    font-size: 27px;
  }

  .cd-purchase-actions {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .cd-detail-tabs {
    margin-top: 56px;
  }

  .cd-detail-tab-nav a {
    font-size: 10px;
  }

  .cd-detail-section {
    padding: 48px 0;
  }

  .cd-evidence-grid {
    grid-template-columns: 1fr;
  }

  .cd-evidence-item {
    min-height: 112px;
    border-left: 1px solid var(--cd-line);
  }

  .cd-policy-row {
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: start;
  }

  .cd-about-hero {
    min-height: 560px;
    background-position: 64% center;
  }

  .cd-about-hero-content {
    padding-bottom: 54px;
  }

  .cd-about-hero h1 {
    font-size: 35px;
  }

  .cd-principle {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 14px;
  }

  .cd-principle p {
    grid-column: 2;
  }

  .cd-process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cd-process-item {
    min-height: 215px;
    padding: 18px;
  }

  .cd-process-item:nth-child(odd) {
    border-left: 1px solid var(--cd-line);
  }

  .cd-guide-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    padding: 48px 0 70px;
  }

  .cd-guide-nav {
    position: static;
    display: flex;
    overflow-x: auto;
    border-top: 0;
    border-bottom: 1px solid var(--cd-line);
  }

  .cd-guide-nav a {
    min-width: 122px;
    flex: 0 0 auto;
    justify-content: center;
    border-right: 1px solid var(--cd-line);
  }

  .cd-guide-nav svg {
    display: none;
  }

  .cd-guide-section {
    padding-bottom: 48px;
    margin-bottom: 48px;
  }

  .cd-guide-section h2 {
    font-size: 25px;
  }

  .cd-guide-steps {
    grid-template-columns: 1fr;
  }

  .cd-guide-step {
    min-height: 150px;
    border-left: 1px solid var(--cd-line);
  }

  .cd-footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 46px 0 36px;
  }

  .cd-footer-bottom .cd-container {
    display: grid;
  }

  .cd-mobile-purchase {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    grid-template-columns: 50px 1fr;
    gap: 8px;
    padding: 10px 14px max(10px, env(safe-area-inset-bottom));
    background: var(--cd-white);
    border-top: 1px solid var(--cd-line);
  }

  .cd-mobile-purchase.cd-visible {
    display: grid;
  }

  .cd-mobile-purchase .cd-icon-button {
    border: 1px solid var(--cd-line);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
