@font-face {
  font-family: "Pretendard";
  font-style: normal;
  font-weight: 45 920;
  font-display: swap;
  src: url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/variable/woff2/PretendardVariable.woff2")
    format("woff2-variations");
}

:root {
  --ink: #171817;
  --ink-soft: #55564f;
  --gold: #d9a23a;
  --gold-deep: #ad5b16;
  --cream: #f2e5cf;
  --paper: #fffdf8;
  --line: rgba(23, 24, 23, 0.11);
  --shadow: 0 16px 38px rgba(49, 38, 21, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  background:
    radial-gradient(circle at 16% 10%, rgba(247, 220, 166, 0.3), transparent 23rem),
    radial-gradient(circle at 86% 76%, rgba(100, 45, 19, 0.22), transparent 29rem),
    linear-gradient(145deg, #c7a261 0%, #ae7042 50%, #81503d 100%);
}

button,
input {
  font: inherit;
}

.ambient {
  position: fixed;
  width: 24rem;
  height: 24rem;
  border: 1px solid rgba(70, 34, 8, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.ambient::after {
  position: absolute;
  inset: 2rem;
  border: inherit;
  border-radius: inherit;
  content: "";
}

.ambient-left {
  top: -11rem;
  left: -12rem;
}

.ambient-right {
  right: -13rem;
  bottom: -10rem;
}

.site-shell {
  position: relative;
  width: min(100%, 620px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(rgba(235, 139, 0, 0.055) 1px, transparent 1px),
    var(--cream);
  background-size: 100% 7rem;
  box-shadow: 0 0 70px rgba(65, 35, 17, 0.3);
}

.affiliate-notice {
  position: relative;
  z-index: 10;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.72rem 1.15rem;
  color: #4b2c16;
  background: #eadcc6;
  border-bottom: 2px solid #c98233;
}

.affiliate-notice p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.notice-badge {
  flex: 0 0 auto;
  margin-top: 0.08rem;
  padding: 0.12rem 0.32rem;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 900;
  background: #b75d20;
  border-radius: 0.25rem;
}

.brand-hero {
  position: relative;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  min-height: 220px;
  padding: 2rem 2rem 2.45rem;
  isolation: isolate;
  overflow: hidden;
  color: #3d2614;
  background: #c48346;
}

.brand-hero::before {
  position: absolute;
  right: -3.4rem;
  bottom: -5.7rem;
  z-index: -1;
  width: 13rem;
  height: 13rem;
  display: none;
  border-radius: 50%;
  content: "";
}

.brand-glow {
  position: absolute;
  top: -8rem;
  left: 1rem;
  z-index: -1;
  width: 20rem;
  height: 20rem;
  display: none;
}

.brand-profile {
  flex: 0 0 auto;
  width: 116px;
  height: 116px;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 7px rgba(86, 42, 13, 0.11), 0 12px 28px rgba(78, 39, 17, 0.23);
}

.brand-copy {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.36rem;
  color: #743a0c;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.brand-copy h1 {
  margin: 0;
  font-size: clamp(2.05rem, 8vw, 3.2rem);
  font-weight: 920;
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.brand-description {
  margin: 0.72rem 0 0;
  color: rgba(61, 38, 20, 0.74);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.search-panel {
  position: relative;
  z-index: 2;
  margin: -1.35rem 1.25rem 0;
  padding: 1rem;
  background: var(--paper);
  border: 1px solid rgba(246, 186, 63, 0.28);
  border-radius: 1.15rem;
  box-shadow: var(--shadow);
}

.search-box {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  height: 3.8rem;
  padding: 0 0.72rem 0 1rem;
  background: #f5f4ef;
  border: 1px solid transparent;
  border-radius: 0.9rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.search-box:focus-within {
  background: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(246, 186, 63, 0.15);
}

.search-box svg {
  flex: 0 0 auto;
  width: 1.35rem;
  fill: none;
  stroke: #85867e;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-box input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 0.95rem;
  font-weight: 620;
}

.search-box input::placeholder {
  color: #a5a69f;
}

.search-box kbd {
  flex: 0 0 auto;
  padding: 0.48rem 0.6rem;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.7rem;
  font-weight: 850;
  background: var(--gold);
  border-radius: 0.58rem;
  box-shadow: none;
}

.search-guide {
  margin: 0.88rem 0 0.05rem;
  color: var(--ink-soft);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 650;
}

.search-guide span,
.search-guide strong {
  color: var(--gold-deep);
  font-weight: 900;
}

.products-section {
  padding: 2.3rem 1.25rem 3rem;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 0 1rem;
  padding: 0 0.2rem;
}

.section-kicker {
  color: var(--gold-deep);
}

.section-heading h2 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.product-count {
  margin-bottom: 0.15rem;
  padding: 0.38rem 0.62rem;
  color: #7b6540;
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(246, 186, 63, 0.17);
  border-radius: 999px;
}

.product-list {
  display: grid;
  gap: 0.78rem;
}

.product-card {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 0.9rem;
  align-items: center;
  min-height: 100px;
  padding: 0.72rem 0.78rem;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 253, 248, 0.96);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 7px 20px rgba(50, 39, 23, 0.08);
  transform: translateY(10px);
  opacity: 0;
  animation: card-in 460ms cubic-bezier(0.2, 0.72, 0.25, 1) forwards;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.product-card::after {
  position: absolute;
  right: -2rem;
  bottom: -2.6rem;
  width: 5rem;
  height: 5rem;
  background: rgba(246, 186, 63, 0.08);
  border-radius: 50%;
  content: "";
}

.product-card:hover,
.product-card:focus-visible {
  border-color: rgba(217, 145, 24, 0.52);
  box-shadow: 0 12px 30px rgba(50, 39, 23, 0.15);
  transform: translateY(-2px);
  outline: 0;
}

.product-image-wrap {
  display: grid;
  width: 76px;
  height: 76px;
  overflow: hidden;
  place-items: center;
  background: #f1eee7;
  border: 1px solid rgba(23, 24, 23, 0.07);
  border-radius: 0.72rem;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.image-fallback {
  color: #7c6949;
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(50, 39, 23, 0.12));
}

.product-copy {
  min-width: 0;
}

.product-number {
  display: inline-flex;
  margin-bottom: 0.42rem;
  color: var(--gold-deep);
  font-size: 1.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.025em;
}

.product-name {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 0.98rem;
  font-weight: 790;
  line-height: 1.35;
  letter-spacing: -0.035em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.empty-state {
  padding: 3.5rem 1.25rem;
  text-align: center;
  background: rgba(255, 253, 248, 0.72);
  border: 1px dashed rgba(23, 24, 23, 0.18);
  border-radius: 1rem;
}

.empty-mark {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.85rem;
  color: var(--ink);
  font-weight: 900;
  background: var(--gold);
  border-radius: 50%;
  place-items: center;
}

.empty-state strong {
  display: block;
  font-size: 1rem;
}

.empty-state p {
  margin: 0.35rem 0 0;
  color: #7c7d76;
  font-size: 0.8rem;
}

footer {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  padding: 1.2rem 1.5rem 1.5rem;
  color: rgba(61, 38, 20, 0.74);
  background: linear-gradient(110deg, #d6a552, #bd7138);
}

footer img {
  object-fit: cover;
  border: 2px solid #fff;
  border-radius: 50%;
}

footer strong {
  color: #3d2614;
  font-size: 0.8rem;
}

footer p {
  margin: 0.12rem 0 0;
  font-size: 0.68rem;
}

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

noscript {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 1rem;
  color: #fff;
  text-align: center;
  background: #9d271e;
  border-radius: 0.75rem;
}

@keyframes card-in {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 460px) {
  .brand-hero {
    gap: 1rem;
    min-height: 205px;
    padding: 1.65rem 1.25rem 2.35rem;
  }

  .brand-profile {
    width: 96px;
    height: 96px;
  }

  .brand-copy h1 {
    font-size: 2.15rem;
  }

  .brand-description {
    max-width: 12rem;
    font-size: 0.75rem;
  }

  .search-panel,
  .products-section {
    margin-right: 0.85rem;
    margin-left: 0.85rem;
  }

  .products-section {
    padding-right: 0;
    padding-left: 0;
  }

  .search-box kbd {
    display: none;
  }

  .product-card {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 0.75rem;
    min-height: 92px;
    padding: 0.68rem;
  }

  .product-image-wrap {
    width: 68px;
    height: 68px;
  }

}

@media (min-width: 621px) {
  .site-shell {
    margin-top: 2rem;
    margin-bottom: 2rem;
    min-height: calc(100vh - 4rem);
    border-radius: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .product-card {
    transform: none;
    opacity: 1;
    animation: none;
    transition: none;
  }
}
