:root {
  /*
  Design DNA (이번 생성용 – 고정)
  스타일 프리셋: Clean Tech Retail
  컬러 전략: Light Slate Base + Indigo Accent + Lime Micro-Highlights
  레이아웃 패턴: Product Shelf Grid + Filter Bar Top
  섹션 순서 템플릿: Header → Hero → Category Shelf → Services → About → Store Info/Location → Business Info → Footer
  아이콘 스타일: Rounded Line Icon (SVG, soft corners)
  배경 패턴: Subtle Isometric Tiles (SVG)
  */
  --slate-50: #f7f9fc;
  --slate-100: #eff3f8;
  --slate-200: #e2e8f1;
  --slate-300: #cfd7e5;
  --slate-500: #7083a1;
  --slate-700: #3d4a63;
  --indigo-500: #3948d8;
  --indigo-600: #2f3cc2;
  --lime-300: #c9f46b;
  --lime-400: #b2ee4f;
  --text: #1d2534;
  --surface: #ffffff;
  --surface-alt: #f1f5fb;
  --shadow: 0 16px 40px rgba(32, 45, 76, 0.15);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --max-width: 1200px;
  --transition: 200ms ease;
  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23d9e2f0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M60 10 L100 30 L100 70 L60 90 L20 70 L20 30 Z'/%3E%3Cpath d='M60 10 V50'/%3E%3Cpath d='M20 30 L60 50 L100 30'/%3E%3C/g%3E%3C/svg%3E");
}

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

body {
  font-family: "SF Pro Text", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--slate-50), var(--slate-100));
  min-height: 100vh;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--pattern);
  background-size: 160px 160px;
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: min(100% - 32px, var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 16px;
  background: var(--indigo-500);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition);
  z-index: 20;
}

.skip-link:focus-visible {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--slate-200);
  z-index: 10;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--slate-700);
}

.brand-logo {
  width: 44px;
  height: 44px;
}

.site-nav {
  justify-self: center;
}

.nav-menu {
  display: flex;
  gap: 18px;
  list-style: none;
  font-weight: 600;
  color: var(--slate-700);
}

.nav-menu a {
  padding: 8px 10px;
  border-radius: 999px;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  background: var(--slate-200);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid var(--slate-300);
}

.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--slate-700);
  border-radius: 999px;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--slate-300);
  border-radius: 999px;
  padding: 6px 12px;
  box-shadow: var(--shadow);
}

.header-search input {
  border: none;
  outline: none;
  background: transparent;
  min-width: 180px;
}

.search-hint {
  font-size: 12px;
  color: var(--slate-500);
}

.hero {
  padding-top: 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  margin-bottom: 16px;
  color: var(--slate-700);
}

.lead {
  font-size: 1.05rem;
  color: var(--slate-500);
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

.hero-badges span {
  background: var(--slate-100);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--slate-200);
}

.hero-visual img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--indigo-500);
  margin-bottom: 12px;
  font-weight: 700;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  color: var(--slate-700);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--slate-200);
  padding: 12px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.filter-btn {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--slate-700);
  font-weight: 600;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover,
.filter-btn:focus-visible {
  background: var(--indigo-500);
  color: #fff;
}

.category-shelf {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.category-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--slate-200);
  position: relative;
  overflow: hidden;
}

.category-card::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(57, 72, 216, 0.2), transparent 70%);
}

.card-top {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-500);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn.primary {
  background: var(--indigo-500);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn.primary:hover,
.btn.primary:focus-visible {
  background: var(--indigo-600);
}

.btn.ghost {
  border-color: var(--slate-300);
  color: var(--slate-700);
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  background: var(--slate-200);
}

.btn.small {
  margin-top: 16px;
  padding: 8px 14px;
  background: var(--slate-100);
  border-color: var(--slate-200);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 18px;
  border: 1px solid var(--slate-200);
  display: grid;
  gap: 14px;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
}

.thumb {
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  padding: 8px;
}

.price {
  font-size: 0.9rem;
  color: var(--slate-500);
}

.services {
  background: var(--surface-alt);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--slate-200);
  display: grid;
  gap: 10px;
  box-shadow: var(--shadow);
}

.service-card .icon {
  width: 34px;
  height: 34px;
  stroke: var(--indigo-500);
  stroke-width: 2.4;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.about .two-col,
.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.about-panel {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow);
}

.about-panel ul {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  list-style: none;
}

.about-panel li::before {
  content: "•";
  color: var(--indigo-500);
  margin-right: 8px;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.store-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow);
}

.form-card label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  margin-bottom: 14px;
}

.form-card input,
.form-card textarea {
  border: 1px solid var(--slate-300);
  border-radius: 10px;
  padding: 10px 12px;
}

.form-notice {
  margin-top: 12px;
  color: var(--slate-500);
}

.mailto-link {
  color: var(--indigo-500);
  font-weight: 600;
  text-decoration: underline;
}

.muted {
  color: var(--slate-500);
}

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

.biz-item {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid var(--slate-200);
  box-shadow: var(--shadow);
  display: grid;
  gap: 6px;
}

.site-footer {
  background: var(--slate-700);
  color: #fff;
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

:focus-visible {
  outline: 3px solid var(--lime-400);
  outline-offset: 3px;
}

.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;
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand toggle"
      "search search"
      "nav nav";
  }

  .brand {
    grid-area: brand;
  }

  .site-nav {
    grid-area: nav;
  }

  .header-search {
    grid-area: search;
    width: 100%;
  }

  .nav-toggle {
    grid-area: toggle;
    display: flex;
    justify-self: end;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    background: var(--surface);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-top: 12px;
    display: none;
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-bar {
    border-radius: var(--radius-md);
  }

  .header-search input {
    min-width: 0;
    width: 100%;
  }
}

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