:root {
  --gold: #b8933a;
  --gold-dark: #8f7027;
  --navy: #14213d;
  --cream: #fdf8ef;
  --red: #a3282a;
  --teal: #0f6b64;
  --text: #2a241a;
  --muted: #7a7261;
  --border: #e6ddc8;
  --white: #ffffff;
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Pretendard", "Malgun Gothic", "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--white);
}

.logo span { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: #d9dee8;
  transition: color .15s;
}

.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cart-link {
  position: relative;
  font-size: 22px;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.chat-links { display: flex; gap: 8px; }
.chat-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--navy);
}
.chat-pill.kakao { background: #FEE500; }
.chat-pill.line { background: #06C755; color: white; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, #1d2f52 60%, var(--teal) 130%);
  color: white;
  padding: 64px 20px 72px;
}

.brand-badge {
  position: absolute;
  top: 18px;
  right: 24px;
  width: 108px;
  height: 108px;
  transform: rotate(-8deg);
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35));
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: rgba(184,147,58,0.18);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 36px;
  line-height: 1.3;
  margin: 0 0 16px;
  font-weight: 800;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero p {
  font-size: 16px;
  color: #cfd6e4;
  margin: 0 0 28px;
  max-width: 480px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: transform .12s, box-shadow .12s, opacity .12s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { box-shadow: 0 6px 18px rgba(184,147,58,0.35); }

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
}

.btn-block { width: 100%; }
.btn-dark { background: var(--navy); color: white; }
.btn-red { background: var(--red); color: white; }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(4px);
}

.hero-card h3 { margin: 0 0 14px; font-size: 15px; color: var(--gold); }

.hero-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.15);
  font-size: 14px;
}
.hero-list li:last-child { border-bottom: none; }
.hero-list .num { color: var(--gold); font-weight: 800; margin-right: 8px; }

/* Sections */
.section { padding: 56px 0; }
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 8px;
}
.section-head h2 { font-size: 24px; margin: 0; }
.section-head p { color: var(--muted); font-size: 14px; margin: 4px 0 0; }
.section-head .link-more { font-size: 14px; font-weight: 700; color: var(--teal); }

/* Category chips */
.category-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 28px;
}
.category-chip {
  flex: none;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  white-space: nowrap;
  transition: all .15s;
}
.category-chip.active, .category-chip:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.category-chip-soon {
  flex: none;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px dashed var(--border);
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  cursor: default;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.category-chip-soon small {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 1px 6px;
}

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

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .15s, transform .15s;
}
.product-card:hover { box-shadow: 0 10px 24px rgba(20,33,61,0.08); transform: translateY(-2px); }

.product-thumb {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #f1e8d2, #fdf8ef);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 46px;
  position: relative;
}

.product-thumb img, .cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-thumb { overflow: hidden; }
.product-thumb .badge { z-index: 1; }

.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.badge.best { background: var(--gold-dark); }

.product-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-cat { font-size: 12px; color: var(--teal); font-weight: 700; }
.product-name { font-size: 15px; font-weight: 700; line-height: 1.4; min-height: 42px; }
.product-desc { font-size: 12.5px; color: var(--muted); }

.price-row {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 10px;
}
.price-original {
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: line-through;
}
.price-final { font-size: 17px; font-weight: 800; color: var(--red); }

.product-actions { display: flex; gap: 8px; margin-top: 10px; }
.product-actions .btn { flex: 1; padding: 10px; font-size: 13px; }

/* Why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.why-card .icon { font-size: 28px; margin-bottom: 10px; }
.why-card h3 { margin: 0 0 6px; font-size: 16px; }
.why-card p { margin: 0; font-size: 13.5px; color: var(--muted); }

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.step {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.step .step-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
}
.step h4 { margin: 0 0 6px; font-size: 14.5px; }
.step p { margin: 0; font-size: 12.5px; color: var(--muted); }

/* CTA band */
.cta-band {
  background: var(--teal);
  color: white;
  border-radius: var(--radius);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.cta-band h3 { margin: 0 0 6px; font-size: 20px; }
.cta-band p { margin: 0; color: #d7ece9; font-size: 14px; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #b7bfd0;
  padding: 40px 0 24px;
  margin-top: 40px;
  font-size: 13.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.footer-grid h4 { color: white; font-size: 14px; margin: 0 0 12px; }
.footer-grid li { padding: 4px 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 16px;
  font-size: 12.5px;
  color: #8a93a8;
}

/* Page header (sub pages) */
.page-header {
  background: var(--navy);
  color: white;
  padding: 34px 0;
}
.page-header h1 { margin: 0 0 6px; font-size: 26px; }
.page-header p { margin: 0; color: #c9d1e2; font-size: 14px; }

/* Cart page */
.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: start;
}
.cart-list { display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto auto auto;
  gap: 14px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
}
.cart-thumb {
  width: 64px; height: 64px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f1e8d2, #fdf8ef);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.cart-item-name { font-weight: 700; font-size: 14.5px; }
.cart-item-cat { font-size: 12px; color: var(--muted); }
.qty-control {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 8px;
}
.qty-control button {
  border: none; background: none; font-size: 15px; cursor: pointer;
  width: 22px; height: 22px; color: var(--navy); font-weight: 800;
}
.cart-item-price { font-weight: 800; color: var(--red); white-space: nowrap; }
.remove-btn {
  border: none; background: none; color: var(--muted); cursor: pointer; font-size: 13px;
}
.remove-btn:hover { color: var(--red); }

.summary-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  position: sticky;
  top: 90px;
}
.summary-card h3 { margin: 0 0 16px; font-size: 16px; }
.summary-row {
  display: flex; justify-content: space-between;
  font-size: 14px; padding: 8px 0;
  color: var(--muted);
}
.summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: 8px; padding-top: 14px;
  font-size: 17px; font-weight: 800; color: var(--text);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.empty-state .icon { font-size: 44px; margin-bottom: 12px; }

/* Forms */
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.form-row { margin-bottom: 16px; }
.form-row label {
  display: block; font-size: 13.5px; font-weight: 700; margin-bottom: 6px;
}
.form-row .hint { font-weight: 400; color: var(--muted); font-size: 12px; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  background: var(--cream);
}
.form-row textarea { min-height: 90px; resize: vertical; }
.form-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.radio-group { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13.5px;
  cursor: pointer;
  font-weight: 600;
}
.radio-pill input { display: none; }
.radio-pill.selected { background: var(--navy); color: white; border-color: var(--navy); }
.radio-pill.disabled { opacity: 0.45; cursor: not-allowed; text-decoration: line-through; }

.ship-note {
  display: inline-block;
  align-self: flex-start;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #8f7027;
  background: #f3e3bd;
  border-radius: 999px;
  padding: 2px 8px;
}
a.product-name, a.product-thumb { color: inherit; text-decoration: none; }
a.product-name:hover { text-decoration: underline; }

.product-detail { padding: 16px 0 24px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin: 12px 0 28px; }
.detail-thumb {
  aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(135deg, #f1e8d2, #fdf8ef);
  display: flex; align-items: center; justify-content: center; font-size: 96px;
}
.detail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.detail-name { font-size: 26px; margin: 6px 0 8px; line-height: 1.3; }
.img-note { font-size: 12.5px; color: #8a7a52; margin: -4px 0 14px; line-height: 1.5; }
.detail-desc { color: var(--muted); margin: 0 0 14px; line-height: 1.6; }
.detail-price { font-size: 22px; padding-top: 4px; }
.detail-price .price-final { font-size: 26px; }
.detail-actions { display: flex; gap: 10px; margin: 18px 0 10px; }
.detail-actions .btn { flex: 1; padding: 13px; }
.detail-note { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }
.detail-note a { color: var(--teal); text-decoration: underline; }
.detail-section { margin: 0 0 28px; padding: 22px 24px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.detail-section h2 { font-size: 18px; margin: 0 0 12px; }
.detail-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.6; }
.detail-table th { width: 130px; text-align: left; vertical-align: top; padding: 10px 12px 10px 0; color: var(--muted); font-weight: 700; }
.detail-table td { padding: 10px 0; border-bottom: 1px solid var(--border); }
.detail-table tr:last-child td { border-bottom: 0; }
.detail-list { margin: 0; padding-left: 20px; font-size: 14px; line-height: 1.8; }
@media (max-width: 720px) {
  .detail-grid { grid-template-columns: 1fr; gap: 18px; }
  .detail-table th { width: 96px; }
}

.policy { max-width: 820px; margin: 0 auto; padding: 32px 0 24px; line-height: 1.75; }
.policy section { margin-bottom: 48px; scroll-margin-top: 80px; }
.policy h2 { font-size: 24px; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border); }
.policy h3 { font-size: 16px; margin: 22px 0 6px; }
.policy p, .policy li { font-size: 14.5px; color: var(--text); }
.policy ul, .policy ol { padding-left: 22px; margin: 6px 0; }
.policy-date { margin-top: 20px; color: var(--muted); font-size: 13px; }
.footer-bottom a { color: inherit; text-decoration: underline; }

.ship-restrict-note {
  margin: 8px 0 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #b3261e;
}

.notice-box {
  background: #fff7e6;
  border: 1px solid #f0dca4;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
  color: #6b5417;
  margin-bottom: 20px;
}

.order-success {
  text-align: center;
  padding: 60px 20px;
}
.order-success .icon { font-size: 54px; margin-bottom: 16px; }
.order-success h2 { margin: 0 0 10px; }
.order-success p { color: var(--muted); margin: 0 0 22px; }
.order-id-box {
  display: inline-block;
  background: var(--white);
  border: 1px dashed var(--gold);
  border-radius: 10px;
  padding: 14px 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 22px;
}

@media (max-width: 860px) {
  .brand-badge {
    position: static;
    margin: 0 auto 20px;
    transform: rotate(0deg);
    display: block;
  }
  .hero-inner { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .form-grid-2 { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 48px 1fr; grid-template-areas: "thumb name" "thumb qty" "thumb price"; }
}
