/* 세 번째 수확행 — 두 번째 수확행 스타일(harvest-market-site/app/globals.css)을 그대로 쓰고 아래에 겨울 표지를 덧붙임 */
/* 최소 리셋 (기존 Tailwind preflight 대체) */
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { background: none; border: 0; padding: 0; color: inherit; cursor: pointer; }
input { color: inherit; }

:root {
  --paper: #f7f2e7;
  --paper-deep: #eee5d4;
  --ink: #1f2922;
  --ink-soft: #526058;
  --line: rgba(31, 41, 34, 0.14);
  --green: #22664f;
  --green-bright: #72c19b;
  --orange: #df6b42;
  --orange-bright: #ffb284;
  --violet: #74519b;
  --violet-bright: #c3a7e7;
  --yellow: #f0c94f;
  --red: #d64c43;
  --white: #fffdf8;
  --shadow: 0 18px 45px rgba(42, 52, 43, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background:
    radial-gradient(circle at 8% 20%, rgba(240, 201, 79, 0.1), transparent 26rem),
    var(--paper);
  color: var(--ink);
  font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.55;
  word-break: keep-all;
}

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

button,
input {
  font: inherit;
}

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

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

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

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  isolation: isolate;
  color: #fffef4;
  background:
    linear-gradient(120deg, rgba(19, 55, 41, 0.98), rgba(37, 87, 64, 0.96) 48%, rgba(31, 60, 47, 0.98)),
    #163c2e;
}

/* 세 번째 수확행: 같은 지도 위에 겨울 밤의 분위기를 더한 별도 표지 */
.edition-third .hero {
  background:
    radial-gradient(circle at 78% 18%, rgba(224, 244, 255, 0.34), transparent 19rem),
    radial-gradient(circle at 12% 86%, rgba(181, 203, 255, 0.22), transparent 25rem),
    linear-gradient(132deg, #172a4c 0%, #254d6a 48%, #315a61 100%);
}

.edition-third .hero::before {
  width: 760px;
  height: 760px;
  right: -300px;
  top: -370px;
  background: radial-gradient(circle, rgba(224, 244, 255, 0.3), rgba(224, 244, 255, 0));
}

.edition-third .hero::after {
  background: radial-gradient(circle, rgba(181, 203, 255, 0.26), rgba(181, 203, 255, 0));
}

.edition-third .hero-kicker,
.edition-third .hero h1 span {
  color: #d8efff;
}

.edition-third .hero-content {
  position: relative;
}

.edition-third .hero-content::after {
  content: "✦  ·  ❄  ·  ✦  ·  ❄  ·  ✦";
  position: absolute;
  right: max(3vw, 20px);
  top: 36px;
  color: rgba(232, 247, 255, 0.56);
  font-size: 1.12rem;
  letter-spacing: 0.48rem;
  pointer-events: none;
}

.edition-third .map-stamp {
  color: #e2f4ff;
  border-color: rgba(226, 244, 255, 0.78);
}

.edition-third .winter-stamp {
  background: rgba(25, 66, 91, 0.38);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(2px);
}

.hero::before {
  width: 720px;
  height: 720px;
  right: -280px;
  top: -340px;
  background: radial-gradient(circle, rgba(240, 201, 79, 0.28), rgba(240, 201, 79, 0));
}

.hero::after {
  width: 520px;
  height: 520px;
  left: -250px;
  bottom: -300px;
  background: radial-gradient(circle, rgba(255, 178, 132, 0.2), rgba(255, 178, 132, 0));
}

.hero-orbit {
  position: absolute;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  width: 500px;
  height: 500px;
  right: 4%;
  top: 100px;
}

.orbit-two {
  width: min(620px, 100vw);
  height: 620px;
  right: 0;
  top: 35px;
}

.hero-content {
  width: min(1180px, calc(100% - 40px));
  min-height: 690px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 72px;
  padding: 80px 0 72px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-kicker,
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-kicker {
  margin-bottom: 18px;
  color: #f9dfa1;
}

.hero h1 {
  max-width: 560px;
  margin: 0;
  font-family: "Nanum Myeongjo", "Batang", Georgia, serif;
  font-size: clamp(4.7rem, 9vw, 8.5rem);
  font-weight: 700;
  letter-spacing: -0.085em;
  line-height: 0.88;
}

.hero h1 span {
  display: block;
  color: #f5d76f;
}

.hero-subtitle {
  margin: 28px 0 4px;
  color: #bde5cf;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-description {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.77);
  font-size: 1.05rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #203a2d;
  background: #f5d76f;
}

.button-ghost {
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.harvest-map {
  position: relative;
  min-height: 480px;
}

.map-card {
  position: absolute;
  width: min(290px, 55%);
  min-height: 190px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
  transform-origin: center;
}

.map-card::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 14px;
}

.map-card span {
  position: absolute;
  top: 25px;
  right: 26px;
  font-family: Georgia, serif;
  font-size: 2.2rem;
  opacity: 0.46;
}

.map-card strong {
  position: relative;
  font-family: "Nanum Myeongjo", "Batang", Georgia, serif;
  font-size: 2.25rem;
  letter-spacing: -0.04em;
}

.map-card small {
  position: relative;
  margin-top: 4px;
  font-weight: 700;
  opacity: 0.78;
}

.map-grace {
  top: 18px;
  left: 6px;
  color: #173d2f;
  background: linear-gradient(135deg, #bce9d2, #73c5a2);
  transform: rotate(-5deg);
}

.map-faith {
  top: 148px;
  right: 8px;
  color: #4d271b;
  background: linear-gradient(135deg, #ffd3b6, #f38b62);
  transform: rotate(5deg);
}

.map-hope {
  bottom: 0;
  left: 70px;
  color: #322342;
  background: linear-gradient(135deg, #e0cef5, #a67dd0);
  transform: rotate(-1deg);
}

.map-stamp {
  position: absolute;
  z-index: 5;
  right: 38%;
  top: 42%;
  width: 108px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid #f6dd87;
  border-radius: 50%;
  color: #f6dd87;
  font: 800 0.72rem/1.35 Georgia, serif;
  letter-spacing: 0.14em;
  text-align: center;
  transform: rotate(-12deg);
  background: #285843;
}

.sticky-nav {
  position: sticky;
  z-index: 30;
  top: 0;
  min-height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 242, 231, 0.93);
  backdrop-filter: blur(16px);
  scrollbar-width: none;
}

.sticky-nav::-webkit-scrollbar {
  display: none;
}

.sticky-nav a {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}

.sticky-nav a:hover,
.sticky-nav a:focus-visible {
  color: var(--green);
  background: rgba(34, 102, 79, 0.09);
}

.guide-strip {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 14px;
  padding-top: 84px;
  padding-bottom: 30px;
}

.guide-title-wrap,
.guide-card {
  min-height: 160px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.7);
}

.guide-title-wrap {
  color: #fff;
  background: var(--ink);
}

.guide-title-wrap .eyebrow {
  color: #f4d46b;
}

.guide-title-wrap h2 {
  margin: 12px 0 0;
  font: 700 clamp(1.65rem, 2.5vw, 2.25rem)/1.2 "Nanum Myeongjo", "Batang", serif;
}

.guide-card {
  display: flex;
  gap: 16px;
}

.guide-number {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
  font-weight: 900;
}

.guide-card strong {
  display: block;
  margin: 3px 0 8px;
  font-size: 1rem;
}

.guide-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

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

.section-heading .eyebrow {
  color: var(--green);
}

.section-heading h2 {
  margin: 8px 0 6px;
  font: 700 clamp(2rem, 4vw, 3.4rem)/1.12 "Nanum Myeongjo", "Batang", Georgia, serif;
  letter-spacing: -0.055em;
}

.section-heading p {
  max-width: 670px;
  margin: 0;
  color: var(--ink-soft);
}

.snack-section,
.new-section,
.calculator-section {
  padding-top: 98px;
  padding-bottom: 18px;
}

.limit-pill,
.new-count,
.future-lock {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
}

.section-heading-tools,
.store-heading-side {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-showcase {
  position: relative;
  isolation: isolate;
  width: 154px;
  height: 94px;
  flex: 0 0 auto;
  border: 1px solid rgba(31, 41, 34, 0.11);
  border-radius: 28px 19px 25px 19px;
  background: linear-gradient(135deg, #f3f7ef, #e7f3e9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 24px rgba(48, 59, 50, 0.07);
  pointer-events: none;
  user-select: none;
}

.section-showcase::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 12px;
  bottom: 9px;
  width: 42px;
  height: 42px;
  border: 1px dashed rgba(34, 102, 79, 0.22);
  border-radius: 50%;
}

.showcase-image {
  position: absolute;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(31, 41, 34, 0.1);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 7px 16px rgba(48, 59, 50, 0.11);
}

.showcase-image img {
  width: 100%;
  height: 100%;
  padding: 6px;
  object-fit: contain;
}

.showcase-image-primary {
  left: 12px;
  bottom: 8px;
  width: 76px;
  height: 76px;
  border-radius: 21px;
  transform: rotate(-3deg);
}

.showcase-image-secondary {
  top: 9px;
  right: 10px;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  transform: rotate(5deg);
}

.showcase-sparkle {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 87px;
  color: var(--yellow);
  font-size: 0.9rem;
  text-shadow: 0 2px 6px rgba(143, 122, 39, 0.24);
}

.showcase-new {
  background: linear-gradient(135deg, #fff0e4, #edf6e9);
}

.showcase-mint {
  background: linear-gradient(135deg, #e4f5eb, #f5f8e8);
}

.showcase-coral {
  background: linear-gradient(135deg, #ffeadf, #fff5e8);
}

.showcase-violet {
  background: linear-gradient(135deg, #efe6f8, #edf2ff);
}

.showcase-coral::before { border-color: rgba(223, 107, 66, 0.26); }
.showcase-violet::before { border-color: rgba(123, 82, 165, 0.24); }

.limit-pill {
  color: #8a332b;
  background: #ffe3d5;
}

.snack-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(31, 41, 34, 0.13);
  border-radius: 20px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 8px 24px rgba(48, 59, 50, 0.05);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

a.product-card:hover,
a.product-card:focus-visible {
  z-index: 2;
  transform: translateY(-5px);
  border-color: rgba(34, 102, 79, 0.36);
  box-shadow: var(--shadow);
  outline: none;
}

.product-media {
  position: relative;
  aspect-ratio: 1 / 0.88;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 17px;
  border-bottom: 1px solid rgba(31, 41, 34, 0.08);
  background:
    linear-gradient(135deg, rgba(247, 242, 231, 0.82), rgba(255, 255, 255, 0.96));
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

a.product-card:hover .product-media img {
  transform: scale(1.035);
}

.badge-stack {
  position: absolute;
  inset: 10px 10px auto 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  pointer-events: none;
}

.badge {
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 999px;
  color: #fff;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.11);
}

.badge-order { background: #4e6a85; }
.badge-now { background: var(--green); }
.badge-new { background: var(--orange); }
.badge-hot { background: var(--red); }
.badge-future { background: var(--violet); }
.badge-soldout { background: #686b69; }
.badge-replacement { background: #1978a7; }
.badge-check { background: #a56917; }
.badge-limit { background: #8a332b; }
.badge-parent-gift { background: #b65c79; }
.badge-guardian { background: #7a2731; }

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

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  color: #6b766e;
  font-size: 0.7rem;
  font-weight: 800;
}

.product-body h3 {
  min-height: 3em;
  margin: 8px 0 15px;
  font-size: 0.98rem;
  line-height: 1.5;
  letter-spacing: -0.025em;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
}

.fruit-price {
  color: var(--green);
  font-size: 1.1rem;
  font-weight: 950;
  white-space: nowrap;
}

.fruit-price span {
  color: var(--yellow);
  font-size: 0.78em;
  text-shadow: 0 0 0 #8f7a27;
}

.fruit-price-pending {
  font-size: 0.86rem;
  letter-spacing: -0.02em;
}

.won-price {
  color: #69736d;
  font-size: 0.77rem;
  font-weight: 700;
  white-space: nowrap;
}

.card-link-label,
.future-note,
.soldout-note,
.replacement-note,
.check-note,
.product-note {
  margin-top: 13px;
  padding-top: 11px;
  border-top: 1px dashed rgba(31, 41, 34, 0.16);
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
}

.card-link-label.muted {
  color: #7d867f;
}

.soldout-note {
  color: #626865;
}

.replacement-note {
  color: #176f98;
}

.check-note {
  color: #945b13;
}

.product-note {
  color: #42695b;
}

.product-note.safety-note {
  color: #8b2e38;
}

.product-card-soldout .product-media img {
  filter: grayscale(0.72);
  opacity: 0.62;
}

.product-card[id] {
  scroll-margin-top: 96px;
}

.product-card-highlighted {
  border-color: rgba(240, 201, 79, 0.92);
  outline: 4px solid rgba(240, 201, 79, 0.5);
  outline-offset: 3px;
  box-shadow: 0 18px 44px rgba(34, 102, 79, 0.2);
}

.product-card-compact .product-media {
  aspect-ratio: 1;
  padding: 12px;
}

.product-card-compact .product-body {
  padding: 12px;
}

.product-card-compact .product-body h3 {
  min-height: 3.2em;
  margin: 7px 0 10px;
  font-size: 0.84rem;
}

.product-card-compact .fruit-price {
  font-size: 0.96rem;
}

.product-card-compact .won-price {
  font-size: 0.68rem;
}

.product-card-compact .card-link-label {
  display: none;
}

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

.new-section {
  position: relative;
}

.new-count {
  color: #fff;
  background: var(--orange);
}

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

.calculator-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  align-items: center;
  padding-bottom: 88px;
}

.calculator-copy h2 {
  margin: 8px 0 16px;
  font: 700 clamp(2.2rem, 4vw, 3.8rem)/1.12 "Nanum Myeongjo", "Batang", Georgia, serif;
  letter-spacing: -0.06em;
}

.calculator-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.calculator-copy .eyebrow {
  color: var(--green);
}

.search-box {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.search-box span:not(.sr-only) {
  color: var(--green);
  font-size: 1.5rem;
}

.range-panel {
  position: relative;
  padding: 34px 36px 30px;
  border: 1px solid rgba(34, 102, 79, 0.18);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.range-values {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 30px;
}

.range-values > span:not(.range-dash) {
  min-width: 104px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 18px;
  border-radius: 14px;
  background: #f2f5ef;
}

.range-values small {
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 800;
}

.range-values strong {
  color: var(--green);
  font-size: 1.45rem;
}

.range-dash {
  color: #a1aaa3;
  font-weight: 900;
}

.range-wrap {
  position: relative;
  height: 42px;
}

.range-track,
.range-fill {
  position: absolute;
  top: 18px;
  height: 8px;
  border-radius: 999px;
}

.range-track {
  inset-inline: 0;
  background: #e2e5df;
}

.range-fill {
  background: linear-gradient(90deg, var(--green-bright), var(--yellow), var(--orange-bright));
}

.range-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 42px;
  margin: 0;
  appearance: none;
  pointer-events: none;
  background: transparent;
  outline: none;
}

.range-input::-webkit-slider-runnable-track {
  height: 8px;
  background: transparent;
}

.range-input::-moz-range-track {
  height: 8px;
  background: transparent;
}

.range-input::-webkit-slider-thumb {
  width: 26px;
  height: 26px;
  margin-top: -9px;
  appearance: none;
  pointer-events: auto;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 2px 0 1px rgba(31, 41, 34, 0.16), 0 6px 14px rgba(31, 41, 34, 0.18);
  cursor: grab;
}

.range-max::-webkit-slider-thumb {
  background: var(--orange);
}

.range-input::-moz-range-thumb {
  width: 20px;
  height: 20px;
  pointer-events: auto;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 2px 0 1px rgba(31, 41, 34, 0.16), 0 6px 14px rgba(31, 41, 34, 0.18);
  cursor: grab;
}

.range-max::-moz-range-thumb {
  background: var(--orange);
}

.range-input:focus-visible::-webkit-slider-thumb {
  outline: 3px solid rgba(240, 201, 79, 0.75);
  outline-offset: 3px;
}

.range-ticks {
  display: flex;
  justify-content: space-between;
  color: #849088;
  font-size: 0.66rem;
  font-weight: 800;
}

.preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.preset-row button {
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  background: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.preset-row button:hover,
.preset-row button:focus-visible {
  border-color: var(--green);
  color: var(--green);
  outline: none;
}

.result-summary {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}

.result-summary strong {
  color: var(--green);
  font-size: 1.3rem;
}

.calculator-results {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding: 28px;
  border: 1px solid rgba(34, 102, 79, 0.18);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 12px 34px rgba(48, 59, 50, 0.06);
}

.calculator-results-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 20px;
}

.calculator-results-heading .eyebrow {
  color: var(--green);
}

.calculator-results-heading h3 {
  margin: 7px 0 5px;
  font: 700 clamp(1.55rem, 3vw, 2.2rem)/1.2 "Nanum Myeongjo", "Batang", Georgia, serif;
  letter-spacing: -0.045em;
}

.calculator-results-heading p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.result-count-pill {
  flex: 0 0 auto;
  padding: 9px 14px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 0.82rem;
  font-weight: 900;
}

.result-store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.result-store-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.result-store-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.result-store-heading > div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.result-store-heading h3 {
  margin: 0;
  font-size: 1rem;
}

.result-store-heading > strong {
  flex: 0 0 auto;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--green);
  background: #edf5ee;
  font-size: 0.75rem;
}

.result-store-dot {
  width: 11px;
  height: 11px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green-bright);
}

.result-store-coral .result-store-dot { background: var(--orange-bright); }
.result-store-violet .result-store-dot { background: #a777db; }

.result-product-list {
  max-height: 430px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 0;
  padding: 6px;
  list-style: none;
  scrollbar-color: rgba(34, 102, 79, 0.32) transparent;
  scrollbar-width: thin;
}

.result-product-list li + li {
  border-top: 1px dashed rgba(31, 41, 34, 0.12);
}

.result-product-list button {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.result-product-list button:hover,
.result-product-list button:focus-visible {
  color: var(--green);
  background: #f1f6ef;
  outline: 2px solid rgba(34, 102, 79, 0.24);
  outline-offset: -2px;
}

.result-product-name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 0.82rem;
  line-height: 1.4;
}

.result-product-detail {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}

.result-product-detail strong {
  color: var(--green);
  font-size: 0.8rem;
  white-space: nowrap;
}

.result-product-detail small {
  max-width: 84px;
  color: #8a6253;
  font-size: 0.62rem;
  line-height: 1.2;
}

.result-store-empty {
  min-height: 110px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 18px;
  color: var(--ink-soft);
  font-size: 0.82rem;
  text-align: center;
}

.stores-wrap {
  padding-bottom: 120px;
}

.store-section {
  position: relative;
  padding: 60px 0 80px;
  border-top: 1px solid var(--line);
}

.store-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  width: 100vw;
  top: 0;
  bottom: 0;
  opacity: 0.44;
  transform: translateX(-50%);
}

.store-mint::before { background: linear-gradient(180deg, rgba(190, 232, 211, 0.34), transparent 60%); }
.store-coral::before { background: linear-gradient(180deg, rgba(255, 208, 180, 0.3), transparent 60%); }
.store-violet::before { background: linear-gradient(180deg, rgba(220, 202, 240, 0.31), transparent 60%); }

.store-stats {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 8px;
  padding: 9px 10px 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.72);
}

.store-stats span {
  color: var(--ink-soft);
  font-size: 0.77rem;
  font-weight: 800;
}

.store-stats strong {
  min-width: 52px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  text-align: center;
}

.expand-button {
  min-height: 50px;
  display: block;
  margin: 28px auto 0;
  padding: 11px 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.expand-button:hover,
.expand-button:focus-visible {
  color: #fff;
  background: var(--ink);
  outline: none;
}

.empty-state {
  padding: 50px 24px;
  border: 1px dashed rgba(31, 41, 34, 0.25);
  border-radius: 18px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.5);
  text-align: center;
}

.future-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0 120px;
  color: #fff;
  background:
    radial-gradient(circle at 10% 20%, rgba(160, 210, 229, 0.16), transparent 25rem),
    radial-gradient(circle at 90% 10%, rgba(210, 190, 240, 0.21), transparent 28rem),
    #202a3d;
}

.future-section::before {
  content: "✦  ✦  ✦  ✦  ✦  ✦";
  position: absolute;
  top: 28px;
  left: 50%;
  color: rgba(255, 255, 255, 0.18);
  font-size: 1.4rem;
  letter-spacing: 3.2rem;
  transform: translateX(-50%);
  white-space: nowrap;
}

.future-heading .eyebrow {
  color: #b9ddec;
}

.future-heading p {
  color: rgba(255, 255, 255, 0.68);
}

.future-lock {
  color: #253044;
  background: #d7edf5;
}

.product-card-future {
  border-color: rgba(255, 255, 255, 0.18);
  background: #f7f8fb;
}

.future-note {
  color: var(--violet);
}

footer {
  color: rgba(255, 255, 255, 0.8);
  background: #15271f;
}

.footer-inner {
  min-height: 170px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
}

.footer-inner > div {
  display: flex;
  flex-direction: column;
}

.footer-inner strong {
  color: #f6d76e;
  font: 700 1.45rem "Nanum Myeongjo", "Batang", serif;
}

.footer-inner span,
.footer-inner p,
.footer-inner a {
  font-size: 0.82rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
}

@media (max-width: 1050px) {
  .hero-content {
    gap: 28px;
  }

  .guide-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .guide-title-wrap {
    grid-column: 1 / -1;
    min-height: auto;
  }

  .snack-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .result-store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .page-shell,
  .hero-content {
    width: min(100% - 28px, 700px);
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 70px 0 52px;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 18vw, 7rem);
  }

  .harvest-map {
    min-height: 410px;
  }

  .map-card {
    width: min(270px, 58%);
    min-height: 168px;
  }

  .map-grace { left: 2%; }
  .map-faith { right: 2%; }
  .map-hope { left: 20%; }

  .sticky-nav {
    justify-content: flex-start;
  }

  .section-heading,
  .store-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading-tools,
  .store-heading-side {
    width: 100%;
    justify-content: space-between;
  }

  .calculator-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .calculator-results-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .result-store-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 42px 0;
  }
}

@media (max-width: 640px) {
  .page-shell,
  .hero-content {
    width: min(100% - 22px, 560px);
  }

  .hero-content {
    padding-top: 56px;
  }

  .hero-description br {
    display: none;
  }

  .hero-actions {
    width: 100%;
  }

  .button {
    flex: 1 1 140px;
  }

  .harvest-map {
    min-height: 360px;
  }

  .map-card {
    min-height: 145px;
    padding: 22px;
    border-radius: 18px;
  }

  .map-card strong {
    font-size: 1.72rem;
  }

  .map-card span {
    top: 20px;
    right: 20px;
    font-size: 1.7rem;
  }

  .map-grace { top: 10px; }
  .map-faith { top: 115px; }
  .map-hope { left: 14%; }

  .map-stamp {
    right: 34%;
    width: 82px;
  }

  .guide-strip {
    grid-template-columns: 1fr;
    padding-top: 56px;
  }

  .guide-title-wrap {
    grid-column: auto;
  }

  .guide-card {
    min-height: auto;
  }

  .snack-section,
  .new-section,
  .calculator-section {
    padding-top: 72px;
  }

  .section-showcase {
    width: 136px;
    height: 82px;
  }

  .showcase-image-primary {
    left: 10px;
    width: 66px;
    height: 66px;
    border-radius: 18px;
  }

  .showcase-image-secondary {
    width: 50px;
    height: 50px;
    border-radius: 15px;
  }

  .showcase-sparkle {
    left: 77px;
  }

  .snack-grid,
  .product-grid,
  .product-grid-featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-media {
    padding: 10px;
  }

  .product-body {
    padding: 12px;
  }

  .product-body h3 {
    min-height: 3.25em;
    margin-bottom: 12px;
    font-size: 0.87rem;
  }

  .product-price-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 1px;
  }

  .card-link-label,
  .future-note,
  .soldout-note,
  .replacement-note,
  .check-note,
  .product-note {
    font-size: 0.65rem;
  }

  .range-panel {
    padding: 26px 18px 24px;
  }

  .range-values {
    gap: 12px;
  }

  .range-values > span:not(.range-dash) {
    min-width: 86px;
    padding: 9px 12px;
  }

  .range-values strong {
    font-size: 1.2rem;
  }

  .range-wrap {
    height: 52px;
  }

  .range-input {
    height: 52px;
  }

  .range-track,
  .range-fill {
    top: 23px;
  }

  .range-input::-webkit-slider-thumb {
    width: 30px;
    height: 30px;
    margin-top: -11px;
  }

  .preset-row button {
    flex: 1 1 74px;
    min-height: 42px;
  }

  .result-summary {
    justify-content: center;
  }

  .calculator-results {
    padding: 22px 14px;
  }

  .result-product-list {
    max-height: 360px;
  }

  .store-section {
    padding: 52px 0 70px;
  }

  .store-stats {
    align-self: stretch;
    justify-content: space-between;
  }

  .future-section {
    padding: 76px 0 90px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ================= 세 번째 수확행 추가 ================= */
.edition-third .hero {
  background:
    radial-gradient(circle at 80% 14%, rgba(255, 236, 196, 0.28), transparent 16rem),
    radial-gradient(circle at 10% 88%, rgba(181, 203, 255, 0.24), transparent 24rem),
    linear-gradient(160deg, #10203f 0%, #1d3e66 46%, #2b5d72 100%);
}

/* 눈 내리는 배경 */
.hero-snow {
  position: absolute;
  inset: -40px 0 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.9), transparent 60%),
    radial-gradient(1.5px 1.5px at 90px 120px, rgba(255, 255, 255, 0.75), transparent 60%),
    radial-gradient(2.5px 2.5px at 160px 60px, rgba(255, 255, 255, 0.8), transparent 60%),
    radial-gradient(1.5px 1.5px at 230px 170px, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(2px 2px at 300px 90px, rgba(255, 255, 255, 0.85), transparent 60%),
    radial-gradient(3px 3px at 60px 200px, rgba(255, 255, 255, 0.6), transparent 60%);
  background-size: 340px 240px;
  animation: snowfall 18s linear infinite;
  opacity: 0.75;
}
.hero-snow::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(3px 3px at 40px 50px, rgba(255, 255, 255, 0.7), transparent 60%),
    radial-gradient(2px 2px at 180px 140px, rgba(255, 255, 255, 0.6), transparent 60%),
    radial-gradient(2.5px 2.5px at 260px 30px, rgba(255, 255, 255, 0.65), transparent 60%);
  background-size: 300px 200px;
  animation: snowfall 26s linear infinite;
}
@keyframes snowfall {
  from { background-position: 0 0; }
  to { background-position: 60px 480px; }
}

/* 눈 덮인 언덕 */
.hero-hills {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 130px;
  z-index: -1;
  pointer-events: none;
}

.edition-third .hero h1 span { color: #ffe3a6; }
.edition-third .button-primary { background: #ffe3a6; color: #10203f; }

.edition-third .map-card {
  box-shadow: 0 22px 50px rgba(5, 14, 33, 0.38);
}

/* 겨울 신상 */
.badge-winter { background: #2f6db0; }
.winter-section .new-count { background: #2f6db0; }
.product-card-winter {
  border-color: rgba(47, 109, 176, 0.32);
  box-shadow: 0 14px 34px rgba(29, 62, 102, 0.12);
}

/* 흰 배경 상품 사진이 카드 배경과 자연스럽게 섞이도록 */
.product-media img,
.showcase-image img { mix-blend-mode: multiply; }

/* 간식 품절 임박 영역 */
.snack-hot {
  margin-top: 26px;
  padding: 18px;
  border: 1px dashed rgba(214, 76, 67, 0.45);
  border-radius: 22px;
  background: rgba(255, 238, 232, 0.6);
}
.snack-hot-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 1rem;
  color: #8a332b;
}

.preset-row button[aria-pressed="true"] {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}
.preset-row button { min-height: 44px; }

@media (prefers-reduced-motion: reduce) {
  .hero-snow, .hero-snow::after { animation: none; }
}

/* 신상 모아보기: 겨울 신상 + 두 번째 수확행 신상 */
.new-group + .new-group { margin-top: 42px; }
.new-group-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 6px 0 16px;
  font-size: 1.12rem;
  font-weight: 900;
}
.new-group-title small {
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 800;
}
.new-group[id] { scroll-margin-top: 90px; }

/* 표지의 전체 상품 수 */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.hero-stats span {
  padding: 6px 12px;
  border: 1px solid rgba(236, 246, 255, 0.32);
  border-radius: 999px;
  background: rgba(16, 32, 63, 0.35);
  color: #eaf4ff;
  font-size: 0.82rem;
  font-weight: 700;
}
.hero-stats strong { color: #ffe3a6; font-size: 0.96rem; }
