:root {
  --red: #d0121a;
  --red-dark: #a50e15;
  --green: #2f7a32;
  --green-dark: #215826;
  --ink: #1c1c1c;
  --muted: #5c5c5c;
  --line: #e4e4e4;
  --paper: #ffffff;
  --sand: #f6f3ee;
  --yellow: #ffe566;
  --width: 1000px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f3f3f3;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font-family: inherit; }
.wrap {
  width: min(var(--width), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid #eee;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 14px;
}
.price-chip {
  flex: 0 0 auto;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 2px;
}
.price-chip:hover { background: var(--green-dark); }
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  min-width: 0;
}
.brand svg { width: 74px; height: 58px; flex: 0 0 auto; }
.brand-name {
  margin: 0;
  font-family: "Noto Serif KR", "Batang", serif;
  font-weight: 900;
  font-size: 40px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.brand-name span { color: var(--red); }
.account {
  flex: 0 0 auto;
  border: 1px solid #d5d5d5;
  background: linear-gradient(#fff, #f3f3f3);
  padding: 8px 12px 7px;
  min-width: 168px;
  text-align: center;
  line-height: 1.25;
}
.account-bank {
  margin: 0;
  color: #1a4f9c;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: -0.03em;
}
.account-no {
  margin: 3px 0 0;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.03em;
}
.account-name {
  margin: 2px 0 0;
  font-size: 13px;
  color: #333;
}

.nav-bar {
  background: var(--paper);
  padding-bottom: 14px;
}
.nav-row { display: flex; align-items: stretch; }
.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1px solid #ccc;
  background: #fff;
  padding: 8px 12px;
  font-weight: 700;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--red);
  width: 100%;
  position: relative;
}
.nav::after {
  content: "";
  position: absolute;
  right: -10px;
  top: 0;
  border-top: 22px solid var(--red-dark);
  border-right: 10px solid transparent;
}
.nav a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 18px;
  letter-spacing: -0.03em;
}
.nav a:hover { background: rgba(0, 0, 0, 0.12); }
.nav a[aria-current="page"] {
  background: #fff;
  color: var(--green);
}

.page { padding: 0 0 28px; background: var(--paper); }
.page-main { padding-top: 8px; }

.hero {
  position: relative;
  overflow: hidden;
  background: #203018;
}
.hero img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 60%;
}
.sale-card {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: 210px;
  background: rgba(55, 55, 55, 0.72);
  color: #fff;
  text-align: center;
  border: 3px solid #111;
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.25);
  padding: 22px 12px 18px;
}
.sale-card strong {
  display: block;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.sale-card .from {
  display: block;
  margin-top: 10px;
  color: #b6f27a;
  font-weight: 800;
  font-size: 20px;
}
.sale-card .to {
  display: block;
  color: #ff8d8d;
  font-weight: 800;
  font-size: 20px;
}

.band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0;
}
.band article {
  background: var(--sand);
  padding: 16px 16px 14px;
  border-top: 3px solid var(--red);
}
.band h2 {
  margin: 0 0 6px;
  font-size: 18px;
}
.band p { margin: 0; color: var(--muted); font-size: 14px; }

.section-title {
  margin: 8px 0 14px;
  text-align: center;
}
.ribbon {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  padding: 8px 28px;
  border-radius: 4px;
  box-shadow: 0 8px 0 #7e0b12;
}
.lead {
  text-align: center;
  color: var(--muted);
  margin: 0 0 16px;
}

.table-scroll { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.harvest {
  min-width: 860px;
  font-size: 14px;
  text-align: center;
}
.harvest th, .harvest td, .price th, .price td {
  border: 1px solid #d9d9d9;
  padding: 8px 6px;
}
.harvest th {
  background: #f7f7f7;
  font-size: 13px;
}
.harvest td:first-child { font-weight: 700; text-align: left; padding-left: 10px; }
.c-y { background: #fff3a0; }
.c-g { background: #c5e39a; }
.c-b { background: #7ec8f0; color: #083044; font-weight: 700; }
.c-p { background: #f8d7c4; }
.c-n { background: #d9d9d9; }
.c-r { background: #e23b3b; color: #fff; font-weight: 700; }
.c-wait { background: #e7eef8; color: #355; letter-spacing: 0.2em; }

.price {
  min-width: 640px;
  text-align: center;
  margin-bottom: 28px;
  border: 2px solid var(--red);
}
.price caption {
  caption-side: top;
  color: var(--red);
  font-weight: 800;
  font-size: 18px;
  padding-bottom: 8px;
}
.price th { background: var(--yellow); }
.price td:last-child { font-weight: 800; color: #9d120f; }

.page-head {
  padding: 28px 0 8px;
  text-align: center;
}
.page-head h1 {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.04em;
}
.page-head p { margin: 8px 0 0; color: var(--muted); }
.order-note {
  text-align: center;
  margin: 18px 0;
}
.order-note p { margin: 4px 0; }
.order-note .big {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.order-note .mail {
  display: inline-block;
  background: #d9f5a8;
  font-weight: 800;
  padding: 2px 8px;
  text-decoration: none;
}
.warn {
  color: var(--red);
  font-weight: 800;
  text-align: center;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
  margin: 22px 0 10px;
}
.split.reverse { grid-template-columns: 0.9fr 1.1fr; }
.split img { width: 100%; height: 320px; object-fit: cover; }
.prose h2, .prose h3 { letter-spacing: -0.04em; }
.prose h2 { font-size: 28px; margin: 0 0 10px; }
.prose p { margin: 0 0 12px; }

.variety {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.variety img { width: 100%; height: 210px; object-fit: cover; }
.variety h2 { margin: 0 0 6px; font-size: 24px; }
.tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  margin-bottom: 8px;
}
.specs {
  width: 100%;
  font-size: 14px;
  margin-top: 8px;
}
.specs th {
  width: 88px;
  text-align: left;
  background: #faf6f0;
  padding: 6px 8px;
  border: 1px solid var(--line);
}
.specs td { padding: 6px 8px; border: 1px solid var(--line); }

.benefit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 18px 0 28px;
}
.benefit-grid article {
  border: 1px solid var(--line);
  padding: 18px 18px 8px;
  background: #fff;
}
.benefit-grid h2 { margin: 0 0 8px; font-size: 20px; color: var(--green-dark); }
.benefit-hero {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 8px;
}
.benefit-hero img { width: 100%; height: 280px; object-fit: cover; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 8px 0 18px;
}
.filters button {
  border: 1px solid #ccc;
  background: #fff;
  padding: 6px 14px;
  cursor: pointer;
  font-weight: 700;
}
.filters button[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.shot {
  margin: 0;
  cursor: zoom-in;
  background: #111;
}
.shot img { width: 100%; height: 210px; object-fit: cover; transition: transform 0.35s ease; }
.shot:hover img { transform: scale(1.04); }
.shot figcaption {
  color: #fff;
  font-size: 13px;
  padding: 8px 10px 10px;
}

.storage-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: start;
}
.temp-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 16px;
}
.temp-box div {
  background: #eef6e8;
  border: 1px solid #c9e2bc;
  text-align: center;
  padding: 14px 8px;
}
.temp-box strong { display: block; font-size: 28px; color: var(--green-dark); }
.steps { margin: 0; padding-left: 18px; }
.steps li { margin: 6px 0; }
.side-photos { display: grid; gap: 12px; }
.side-photos img { width: 100%; height: 180px; object-fit: cover; }

.consult { margin-top: 28px; }
.order-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 10px 0 30px;
}
form {
  display: grid;
  gap: 10px;
  background: var(--sand);
  padding: 18px;
}
label { font-weight: 700; font-size: 14px; }
input, select, textarea {
  width: 100%;
  border: 1px solid #ccc;
  padding: 10px 12px;
  font-size: 15px;
  background: #fff;
}
textarea { min-height: 90px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 120px; gap: 10px; }
button[type="submit"] {
  background: var(--red);
  color: #fff;
  border: 0;
  padding: 12px 16px;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}
button[type="submit"]:hover { background: var(--red-dark); }
.orders { margin: 0; padding: 0; list-style: none; }
.orders li {
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  font-size: 14px;
}
.form-status {
  margin: 0;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 700;
  border: 1px solid #ccc;
  background: #f5f5f5;
}
.form-status.ok { background: #e8f6e4; border-color: #9bcf93; color: #1d5a22; }
.form-status.bad { background: #fde8e8; border-color: #f0a5a5; color: #b00f16; }
.notice {
  background: #fff8e8;
  border: 1px solid #f0d48a;
  padding: 12px 14px;
  font-size: 14px;
}

.site-footer {
  background: #1b1b1b;
  color: #f2f2f2;
  padding: 28px 0;
  text-align: center;
}
.site-footer a { color: #fff; }
.site-footer p { margin: 4px 0; }
.site-footer .small { color: #bdbdbd; font-size: 13px; margin-top: 10px; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 20;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(960px, 100%); }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 10px; }
.lightbox button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 42px;
  cursor: pointer;
  padding: 8px 14px;
  z-index: 2;
}
.lightbox .lb-prev { left: 12px; }
.lightbox .lb-next { right: 12px; }
.lightbox .lb-close {
  top: 12px;
  right: 12px;
  transform: none;
  font-size: 32px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--green-dark);
  color: #fff;
  padding: 12px 18px;
  display: none;
  z-index: 30;
  box-shadow: var(--shadow);
}
.toast.show { display: block; }

@media (max-width: 860px) {
  .brand-name { font-size: 28px; }
  .brand svg { width: 54px; height: 42px; }
  .account { display: none; }
  .nav-toggle { display: inline-block; }
  .nav-row { align-items: center; margin-bottom: 8px; }
  .nav {
    display: none;
    flex-direction: column;
  }
  .nav.open { display: flex; }
  .nav::after { display: none; }
  .hero img { height: 280px; }
  .sale-card { right: 12px; width: 150px; padding: 12px 8px; }
  .sale-card strong { font-size: 20px; }
  .sale-card .from, .sale-card .to { font-size: 15px; }
  .band, .split, .split.reverse, .variety, .benefit-grid, .benefit-hero, .storage-grid, .order-layout, .gallery {
    grid-template-columns: 1fr;
  }
  .variety img, .split img, .benefit-hero img { height: 220px; }
  .form-row { grid-template-columns: 1fr; }
}
