/* ==========================================================================
   베텔게우스 스토어 (Shop) - 아날로그 스케치북 커밍순 스타일시트
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Gaegu:wght@400;700&family=Nanum+Pen+Script&family=Noto+Serif+KR:wght@400;600;700&family=JetBrains+Mono:wght@400;600;700&display=swap');

:root {
  --bg-paper: #fcfbf8;
  --bg-card: #ffffff;
  --bg-sheet: #f8f6f0;
  --bg-note: #fffefb;
  
  --border-pencil: #3a3a3a;
  --border-light: #d1d1d1;
  
  --text-main: #222222;
  --text-muted: #555555;
  --text-dim: #777777;
  
  --ink-blue: #1b365d;
  --ink-blue-light: #eef4fc;
  --ink-red: #9e1c1c;
  --ink-red-light: #fdf0f0;
  --ink-green: #2d6a4f;
  --ink-green-light: #edf7f2;
  --accent-gold: #c68a27;
  --accent-gold-light: #fef8eb;

  --font-hand: 'Gaegu', cursive;
  --font-script: 'Nanum Pen Script', cursive;
  --font-serif: 'Noto Serif KR', serif;
  --font-mono: 'JetBrains Mono', monospace;

  --sketch-shadow: 3px 4px 0px rgba(0, 0, 0, 0.85);
  --sketch-shadow-sm: 2px 2px 0px rgba(0, 0, 0, 0.85);
  --sketch-shadow-hover: 5px 6px 0px rgba(0, 0, 0, 0.9);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

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

body {
  background-color: var(--bg-paper);
  background-image: 
    linear-gradient(to right, rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--text-main);
  font-family: var(--font-serif);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

.font-hand {
  font-family: var(--font-hand);
}

.font-mono {
  font-family: var(--font-mono);
}

/* Header */
.shop-header {
  background: var(--bg-card);
  border-bottom: 2px solid var(--border-pencil);
  padding: 0.85rem 1.5rem;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
}

.header-container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-badge {
  background: var(--accent-gold-light);
  color: var(--accent-gold);
  border: 1.5px solid var(--border-pencil);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--sketch-shadow-sm);
}

.nav-links {
  display: flex;
  gap: 0.75rem;
}

.nav-link {
  color: var(--ink-blue);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

.nav-link:hover {
  background: var(--bg-sheet);
  border-color: var(--border-pencil);
}

/* Main Container */
.main-container {
  max-width: 960px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  flex: 1;
  width: 100%;
}

/* Hero Section */
.hero-card {
  background: var(--bg-card);
  border: 2px solid var(--border-pencil);
  border-radius: var(--radius-md);
  box-shadow: var(--sketch-shadow);
  padding: 2.25rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.stamp-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--ink-red-light);
  color: var(--ink-red);
  border: 1.5px solid var(--border-pencil);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.2rem 0.85rem;
  border-radius: 4px;
  box-shadow: var(--sketch-shadow-sm);
  transform: rotate(2deg);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--ink-blue);
  letter-spacing: -1px;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Goods Photo Frame */
.goods-photo-frame {
  background: #ffffff;
  border: 2px solid var(--border-pencil);
  border-radius: var(--radius-sm);
  box-shadow: var(--sketch-shadow);
  padding: 0.75rem;
  margin: 1.25rem 0 0.5rem 0;
  overflow: hidden;
}

.goods-photo-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-light);
  display: block;
}

.photo-caption {
  font-size: 1.15rem;
  color: var(--ink-blue);
  margin-top: 0.75rem;
  text-align: center;
  font-weight: 700;
}

/* Goods Checklist */
.checklist-card {
  background: var(--bg-note);
  border: 2px solid var(--border-pencil);
  border-radius: var(--radius-md);
  box-shadow: var(--sketch-shadow);
  padding: 1.75rem 2rem;
  margin-bottom: 2rem;
}

.checklist-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink-blue);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
}

.check-item {
  background: var(--bg-card);
  border: 1.5px solid var(--border-pencil);
  box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.8);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.check-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.check-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.15rem;
}

.check-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Footer */
.shop-footer {
  background: var(--bg-card);
  border-top: 1.5px solid var(--border-pencil);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.version-badge {
  font-size: 0.8rem;
  font-family: var(--font-mono);
  background: var(--bg-sheet);
  border: 1px solid var(--border-pencil);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .shop-footer {
    flex-direction: column;
    gap: 0.5rem;
  }
}
