:root {
  color-scheme: light;
  --ink: #17211d;
  --muted: #65706b;
  --line: #dfe6e1;
  --paper: #fbfaf6;
  --soft: #eef4ee;
  --sage: #789941;
  --forest: #163b27;
  --deep-cta: #1f4d36;
  --tomato: #e65f2f;
  --gold: #d08c2d;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(28, 42, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

[hidden] {
  display: none !important;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(18, 25, 21, 0.72), rgba(18, 25, 21, 0));
}

.brand,
.header-action,
.header-actions,
.top-nav {
  display: flex;
  align-items: center;
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 174px;
  height: 56px;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  mix-blend-mode: normal;
  filter: drop-shadow(0 5px 14px rgba(0, 0, 0, 0.24));
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.01em;
  font-weight: 950;
  letter-spacing: 0;
}

.wordmark > span {
  display: inline-block;
  font-size: 1.42em;
  line-height: 0.78;
  margin-right: -0.04em;
}

.inline-logo,
.heading-logo,
.eyebrow-logo {
  display: inline-block;
  object-fit: contain;
  object-position: center;
  vertical-align: -0.14em;
  mix-blend-mode: multiply;
}

.inline-logo {
  width: 74px;
  height: 22px;
  margin: 0 2px;
}

.heading-logo {
  width: clamp(170px, 16vw, 240px);
  height: clamp(52px, 5vw, 74px);
  margin: 0 2px;
  vertical-align: -0.18em;
}

.order-copy .heading-logo {
  margin: 0 4px;
}

.eyebrow-logo {
  width: 64px;
  height: 19px;
  vertical-align: -0.18em;
}

.top-nav {
  gap: 18px;
  justify-content: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
}

.header-action {
  justify-self: end;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  padding: 0 13px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

button.header-action {
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
}

.header-actions {
  justify-self: end;
  gap: 10px;
}

.language-picker {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  flex-shrink: 0;
}

.language-picker span {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.02em;
}
/* 작은 globe 아이콘 형태로 — "Language" / "언어" 텍스트 대신 */
.language-picker span::before {
  content: "🌐";
  font-size: 14px;
  margin-right: 0;
}
.language-picker span {
  font-size: 0; /* 텍스트 자체는 숨기고 아이콘만 보임 */
}

.language-picker select {
  min-width: 100px;
  border: 0;
  color: var(--white);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  background: transparent;
  outline: 0;
  cursor: pointer;
  padding-right: 2px;
}

.language-picker option {
  color: var(--ink);
}

.header-login {
  background: rgba(31, 77, 54, 0.62);
}

.header-logout {
  background: rgba(230, 95, 47, 0.72);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 120px clamp(20px, 7vw, 96px) 72px;
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(14, 21, 17, 0.86), rgba(14, 21, 17, 0.42) 52%, rgba(14, 21, 17, 0.12)),
    linear-gradient(0deg, rgba(14, 21, 17, 0.72), rgba(14, 21, 17, 0.02) 42%);
}

.hero-content {
  position: relative;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--tomato);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2c164;
  max-width: 100%;
  font-size: clamp(11px, 1.7vw, 13px);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(64px, 12vw, 148px);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 740px;
  font-size: clamp(36px, 5.3vw, 72px);
  line-height: 1.02;
}

.hero-title span {
  display: block;
}

.no-break {
  white-space: nowrap;
}

.hero-wordmark {
  display: flex;
  align-items: baseline;
  gap: 0;
  overflow: visible;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.hero-wordmark > span,
.hero-wordmark .hero-letter {
  display: inline-block;
  font-size: 1.22em;
  line-height: 0.7;
  margin-right: -0.04em;
}

.hero-wordmark .hero-w {
  animation: none;
}

.hero-wordmark .hero-m {
  animation: none;
}

.hero-reveal {
  display: inline-block;
  opacity: 1;
  transform: none;
  transform-origin: center;
  animation: none;
}

@keyframes heroW {
  0% {
    transform: translateX(1.02em);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes heroM {
  0% {
    transform: translateX(-1.02em);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes heroReveal {
  0% {
    opacity: 0;
    transform: scaleX(0.72);
  }
  100% {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-wordmark .hero-w,
  .hero-wordmark .hero-m,
  .hero-reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ============= 프리미엄 차이 섹션 (브랜드 약속) ============= */
.promise-section {
  padding: 72px 24px 80px;
  background: #fbf8f2;
  display: grid;
  gap: 36px;
}
.promise-section .section-heading {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.promise-section .section-heading .eyebrow {
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #5a6b62;
  margin-bottom: 8px;
}
.promise-section .section-heading h2 {
  font-size: clamp(28px, 4vw, 38px);
  color: var(--forest, #163b27);
  margin: 0 0 12px;
  line-height: 1.25;
  font-weight: 800;
}
.promise-section .section-heading p {
  color: #5a6b62;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.promise-tip {
  display: inline-block;
  margin-top: 4px;
  font-size: 12.5px;
  color: #8a9990;
  font-style: italic;
}

.promise-card {
  background: #fff;
  border: 1px solid rgba(22, 59, 39, 0.08);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}
.promise-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(22, 59, 39, 0.12);
  border-color: rgba(22, 59, 39, 0.2);
}

/* 카드 toggle 버튼 (전체 카드가 클릭 가능) */
.promise-card-toggle {
  background: transparent;
  border: 0;
  padding: 22px 22px 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  font: inherit;
  color: inherit;
}
.promise-card-toggle:focus-visible {
  outline: 2px solid rgba(22, 59, 39, 0.35);
  outline-offset: -3px;
  border-radius: 8px;
}

.promise-card-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-right: 24px;
}

.promise-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: var(--forest, #163b27);
  background: #f3f6ef;
  border: 1px solid rgba(22, 59, 39, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.promise-icon::before {
  width: 23px;
  height: 23px;
  display: block;
  content: "";
  background: currentColor;
  -webkit-mask: var(--promise-icon) center / contain no-repeat;
  mask: var(--promise-icon) center / contain no-repeat;
}

.promise-icon-restaurant {
  --promise-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3v18'/%3E%3Cpath d='M4 3v6a2 2 0 0 0 4 0V3'/%3E%3Cpath d='M16 3c2 2 3 4 3 7v11'/%3E%3Cpath d='M14 13h5'/%3E%3C/g%3E%3C/svg%3E");
}

.promise-icon-balance {
  --promise-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21V7'/%3E%3Cpath d='M5 11c5 0 7-4 7-8-5 0-7 4-7 8z'/%3E%3Cpath d='M19 14c-5 0-7-4-7-8 5 0 7 4 7 8z'/%3E%3Cpath d='M7 18h10'/%3E%3C/g%3E%3C/svg%3E");
}

.promise-icon-heat {
  --promise-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22c4 0 7-3 7-7 0-3-2-5-4-7 0 3-2 4-3 5 0-4-2-7-5-10 0 5-2 7-2 11 0 5 3 8 7 8z'/%3E%3Cpath d='M12 18c1.7 0 3-1.2 3-3 0-1.2-.7-2.2-1.6-3-.2 1.4-1 2-1.7 2.6-.1-1.7-.8-3-2-4.2 0 2-.7 3.1-.7 4.6 0 1.8 1.3 3 3 3z'/%3E%3C/g%3E%3C/svg%3E");
}

.promise-icon-jar,
.promise-icon-ferment {
  --promise-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6'/%3E%3Cpath d='M10 3v4l-2 2v9a3 3 0 0 0 3 3h2a3 3 0 0 0 3-3V9l-2-2V3'/%3E%3Cpath d='M8 12h8'/%3E%3Cpath d='M10 16h4'/%3E%3C/g%3E%3C/svg%3E");
}

.promise-icon-broth {
  --promise-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14l-1 5a5 5 0 0 1-5 4h-2a5 5 0 0 1-5-4l-1-5z'/%3E%3Cpath d='M4 12h16'/%3E%3Cpath d='M9 3c-1 1-1 2 0 3s1 2 0 3'/%3E%3Cpath d='M15 3c-1 1-1 2 0 3s1 2 0 3'/%3E%3C/g%3E%3C/svg%3E");
}

.promise-icon-kimchi {
  --promise-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 21c0-7 4-13 10-18 1 7-1 14-10 18z'/%3E%3Cpath d='M7 21c2-5 5-9 10-13'/%3E%3Cpath d='M10 15c-3-1-5-4-5-8 4 1 6 4 6 7'/%3E%3C/g%3E%3C/svg%3E");
}

.promise-icon-seasoning {
  --promise-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6l1 4H8l1-4z'/%3E%3Cpath d='M8 7h8v13a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2V7z'/%3E%3Cpath d='M10 11h4'/%3E%3Cpath d='M10 15h4'/%3E%3C/g%3E%3C/svg%3E");
}

/* 펼치기 화살표 */
.promise-arrow {
  position: absolute;
  top: 26px;
  right: 22px;
  font-size: 18px;
  color: #8a9990;
  transition: transform 0.25s ease;
}
.promise-card-toggle[aria-expanded="true"] .promise-arrow {
  transform: rotate(180deg);
}

/* 긴 설명 (펼쳤을 때만 보임) */
.promise-long {
  max-height: 0;
  overflow: hidden;
  padding: 0 22px;
  font-size: 13.5px;
  line-height: 1.65;
  color: #3a4a40;
  background: linear-gradient(180deg, #fcfaf5 0%, #f7f1e6 100%);
  border-top: 1px solid transparent;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease, border-color 0.2s ease;
}
.promise-card.is-expanded .promise-long {
  max-height: 360px;
  padding: 18px 22px 22px;
  border-top-color: rgba(22, 59, 39, 0.1);
}

.promise-card strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--forest, #163b27);
  line-height: 1.35;
}
.promise-card .promise-short {
  font-size: 13.5px;
  line-height: 1.55;
  color: #5a6b62;
  margin: 0;
  padding-right: 24px;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.hero-copy .inline-logo {
  width: 92px;
  height: 28px;
  filter: none;
  mix-blend-mode: normal;
}

#order .order-layout {
  align-items: start;
}

#order .checkout-form,
#order .order-summary {
  align-self: start;
}

#order .order-summary {
  margin-top: 0;
}

.hero-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.hero-info-grid article {
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(12, 20, 15, 0.42);
  padding: 14px;
  backdrop-filter: blur(12px);
}

.hero-info-grid span,
.hero-info-grid small {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

.hero-info-grid strong {
  display: block;
  margin: 5px 0;
  color: var(--white);
  font-size: 18px;
}

.hero-trust {
  margin: 0 0 18px;
  color: #f2c164;
  font-weight: 900;
  line-height: 1.55;
}

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

.primary-button,
.secondary-button,
.signup-button,
.submit-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  cursor: pointer;
  font-weight: 800;
}

.primary-button,
.submit-button {
  background: var(--deep-cta);
  color: var(--white);
}

.primary-button:hover,
.submit-button:hover {
  background: #173f2b;
}

.signup-button {
  border: 1px solid var(--sage);
  color: var(--forest);
  background: var(--white);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: var(--white);
}

.section-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  border: 1px solid rgba(22, 59, 39, 0.14);
  border-radius: 8px;
  background: #f4f8f1;
  padding: 18px;
}

.section-cta p {
  margin: 0;
  color: var(--forest);
  font-weight: 850;
}

.section-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.section-cta .secondary-button {
  border-color: rgba(22, 59, 39, 0.28);
  color: var(--forest);
  background: #fffdf8;
}

.floating-contact-button {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, #163b27, #0b6230);
  color: #fff;
  padding: 12px 16px;
  box-shadow: 0 16px 34px rgba(7, 30, 18, 0.28);
  font-size: 13px;
  font-weight: 950;
}

.floating-contact-button span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
}

.floating-contact-button strong {
  line-height: 1;
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.stats-band div {
  padding: 28px clamp(18px, 5vw, 70px);
  border-right: 1px solid var(--line);
}

.stats-band div:last-child {
  border-right: 0;
}

.stats-band strong {
  display: block;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1;
}

.stats-band span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.stats-icon {
  display: block;
  width: 34px;
  height: 34px;
  margin: 0 0 14px;
  color: var(--forest);
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.menu-stat-icon {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h16'/%3E%3Cpath d='M7 10V5'/%3E%3Cpath d='M12 10V4'/%3E%3Cpath d='M17 10V5'/%3E%3Cpath d='M5 10c0 5 3 9 7 9s7-4 7-9'/%3E%3C/g%3E%3C/svg%3E");
}

.friday-stat-icon {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16'/%3E%3Cpath d='M9 15h6'/%3E%3C/g%3E%3C/svg%3E");
}

.region-stat-icon {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8l6-3 6 3 6-3v11l-6 3-6-3-6 3V8z'/%3E%3Cpath d='M9 5v11M15 8v11'/%3E%3Ccircle cx='12' cy='11' r='2'/%3E%3C/g%3E%3C/svg%3E");
}

.serving-stat-icon {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 20c1-4 3-6 6-6s5 2 6 6'/%3E%3Ccircle cx='17' cy='10' r='2.5'/%3E%3Cpath d='M15 15c2 0 4 1.5 5 5'/%3E%3C/g%3E%3C/svg%3E");
}

.section,
.poster-section,
.packaging-section,
.process-section,
.order-section,
.customer-section {
  padding: 92px clamp(20px, 6vw, 82px);
}

.countdown-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 34px);
  align-items: center;
  padding: 24px clamp(20px, 6vw, 82px);
  border-bottom: 1px solid var(--line);
  border: 3px solid transparent;
  background:
    linear-gradient(90deg, rgba(248, 243, 234, 0.94), rgba(255, 252, 246, 0.98)),
    var(--cream);
  transition: border-color 0.2s;
}

@keyframes blink-border {
  0%, 100% { border-color: transparent; box-shadow: none; }
  50% { border-color: #b91c1c; box-shadow: 0 0 0 3px rgba(185,28,28,.5), 0 0 20px rgba(185,28,28,.4); }
}
@keyframes blink-timer {
  0%, 100% { border-color: rgba(22,59,39,.14); box-shadow: 0 14px 32px rgba(28,42,34,.08); }
  50% { border-color: #b91c1c; box-shadow: 0 0 0 3px rgba(185,28,28,.5), 0 0 20px rgba(185,28,28,.4); }
}
.countdown-band.blink-1 { animation: blink-border 2s ease-in-out infinite; }
.countdown-band.blink-2 { animation: blink-border 1.5s ease-in-out infinite; }
.countdown-band.blink-3 { animation: blink-border 1s ease-in-out infinite; }
.countdown-band.blink-4 { animation: blink-border 0.7s ease-in-out infinite; }
.countdown-band.blink-5 { animation: blink-border 0.4s ease-in-out infinite; }
.countdown-band.blink-1 .countdown-simple { animation: blink-timer 2s ease-in-out infinite; }
.countdown-band.blink-2 .countdown-simple { animation: blink-timer 1.5s ease-in-out infinite; }
.countdown-band.blink-3 .countdown-simple { animation: blink-timer 1s ease-in-out infinite; }
.countdown-band.blink-4 .countdown-simple { animation: blink-timer 0.7s ease-in-out infinite; }
.countdown-band.blink-5 .countdown-simple { animation: blink-timer 0.4s ease-in-out infinite; }

.countdown-band .eyebrow {
  margin-bottom: 8px;
}

.countdown-band h2 {
  margin-bottom: 6px;
  font-size: clamp(24px, 2.8vw, 38px);
}

.countdown-band span {
  color: var(--muted);
  font-weight: 760;
}

.countdown-simple {
  min-width: min(360px, 34vw);
  border: 1px solid rgba(22, 59, 39, 0.14);
  border-radius: 8px;
  background: var(--white);
  padding: 14px 18px;
  box-shadow: 0 14px 32px rgba(28, 42, 34, 0.08);
}

.countdown-simple strong {
  display: block;
  color: var(--forest);
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1;
}

.countdown-simple span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-heading,
.poster-content,
.packaging-copy,
.order-copy {
  max-width: 760px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-heading p,
.poster-content p,
.packaging-copy p,
.order-copy p,
.process-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.quick-login-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 440px);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.quick-login-copy {
  margin-bottom: 0;
}

.quick-login-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 16px 44px rgba(28, 42, 34, 0.1);
}

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

.tier-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
  overflow: visible;
}
/* 모바일: NEW 뱃지 섹션 헤더와 첫 카드 겹침 방지 */
@media (max-width: 540px) {
  [id^="section-hansang"], [id^="section-sodam"], [id^="section-hangyeol"] { padding-top: 48px !important; }
}

.menu-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(26, 41, 33, 0.08);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.bundle-card {
  grid-column: span 2;
  border-color: rgba(230, 95, 47, 0.45);
  box-shadow: 0 22px 56px rgba(230, 95, 47, 0.16);
}

.menu-image-button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.corner-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  border-radius: 999px;
  background: var(--tomato);
  color: var(--white);
  padding: 13px 19px;
  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  z-index: 2;
}

.corner-badge.status-soldout {
  padding: 15px 24px;
  background: #c73524;
  font-size: 22px;
}

/* is-sold-out 흑백/오버레이 스타일 완전 제거 */


.corner-badge.status-closing {
  background: #d08c2d;
  animation: badgePulse 1.4s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.35; transform: scale(0.94); }
}

.corner-badge.status-hot {
  background: var(--tomato);
}

.corner-badge.status-rising {
  background: #2d7a4f;
}

.corner-badge.status-chef {
  background: #6b4ca8;
}

.corner-badge.status-new {
  background: #0f766e;
}

.corner-badge.status-summer {
  background: #0891b2;
}

.menu-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.menu-title-row > span {
  color: var(--tomato);
  font-size: 20px;
  font-weight: 950;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.tax-incl-badge {
  font-style: normal;
  font-size: 10px;
  font-weight: 800;
  background: #0b4d23;
  color: #ffd700;
  padding: 2px 7px;
  border-radius: 8px;
  letter-spacing: .03em;
  white-space: nowrap;
}

.bundle-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.bundle-includes span {
  border-radius: 999px;
  background: #fff7df;
  color: #755414;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
}

@media (hover: hover) {
  .menu-card:not(.bundle-card):hover,
  .menu-card.card-hovered {
    transform: translateY(-5px);
    box-shadow: 0 28px 64px rgba(26, 41, 33, 0.22);
    z-index: 10;
    position: relative;
  }
  .bundle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 64px rgba(26, 41, 33, 0.18);
  }
}
/* 5종세트 */
.bundle-card {
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.menu-card img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04) brightness(1.02);
  transition: transform 220ms ease;
}

.menu-image-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  background: linear-gradient(135deg, #f7f2e8, #e9efe8);
  color: #173d28;
  text-align: center;
}

.menu-image-placeholder strong {
  max-width: 100%;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.18;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.menu-image-placeholder em {
  border-radius: 999px;
  background: rgba(22, 59, 39, 0.12);
  color: #476154;
  padding: 6px 12px;
  font-style: normal;
  font-size: 12px;
  font-weight: 900;
}

.bundle-collage {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: auto;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  overflow: hidden;
  background: #ebe5d8;
}

.bundle-tile,
.bundle-center {
  position: relative;
  display: block;
  overflow: hidden;
}

.bundle-tile img,
.bundle-center img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.bundle-photo-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: linear-gradient(135deg, #f7f2e8, #dfe9de);
  color: rgba(22, 59, 39, 0.62);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  word-break: keep-all;
}

.bundle-tile::after,
.bundle-center::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.52));
}

.bundle-tile strong,
.bundle-center strong {
  position: absolute;
  left: 14px;
  right: auto;
  bottom: 12px;
  z-index: 1;
  max-width: calc(100% - 28px);
  border-radius: 999px;
  background: rgba(15, 24, 18, 0.62);
  color: #fff;
  padding: 7px 11px;
  font-size: 17px;
  font-weight: 950;
  line-height: 1.15;
  text-align: left;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.34);
  white-space: normal;
}

.bundle-tile.label-right strong {
  right: 14px;
  left: auto;
  text-align: right;
}

.bundle-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36%;
  aspect-ratio: 4 / 3;
  transform: translate(-50%, -50%) rotate(-8deg);
  border: 9px solid #fffaf1;
  border-radius: 18px;
  box-shadow: 0 22px 44px rgba(12, 20, 15, 0.3);
  z-index: 1;
}

.bundle-center strong {
  font-size: 20px;
}

.menu-card:hover > .menu-image-button > img,
.menu-card:hover .bundle-tile img {
  transform: scale(1.035);
}

.menu-card-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.menu-tier-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.menu-tier-full {
  background: #163b27;
  color: #fff;
}
.menu-tier-small {
  background: #fef3ee;
  color: #92400e;
  border: 1.5px solid #f0b494;
}

.menu-intro-text {
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: #1f2937 !important;
}
.menu-intro-text strong {
  color: #163b27;
  font-weight: 900;
}
.menu-intro-text .inline-logo {
  width: 84px;
  height: 25px;
  vertical-align: -0.18em;
  margin-right: 1px;
}
.menu-intro-sub {
  display: inline-block;
  margin-top: 4px;
  font-size: 13.5px;
  color: #6b7a72;
}

/* ── 한상가득 · 소담상 소개 배너 ── */
.tier-intro-banner {
  margin: 0 auto 28px;
  max-width: 920px;
  text-align: center;
}
.tier-intro-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  margin-bottom: 14px;
  margin-top: 16px;
  border-radius: 18px;
  overflow: visible;
  box-shadow: 0 2px 16px rgba(22,59,39,.10);
}
.tier-intro-inner .tier-card {
  flex: 1;
  min-width: 0;
  padding: 36px 16px 18px;
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  text-align: center;
  gap: 6px;
  position: relative;
  grid-template-columns: unset !important;
  box-shadow: 0 2px 16px rgba(22,59,39,.10);
}
.tier-intro-inner .tier-card-full {
  background: #f0f8f0;
  color: #163b27;
  border-bottom: 4px solid #163b27;
  border-radius: 18px 0 0 18px;
}
.tier-intro-inner .tier-card-small {
  background: #fff9f5;
  color: #92400e;
  border-bottom: 4px solid #92400e;
  border-radius: 0;
}
.tier-intro-inner .tier-card-hangyeol {
  background: #f0fdfa;
  color: #0f766e;
  border-bottom: 4px solid #0f766e;
  border-radius: 0 18px 18px 0;
}
.tier-card-label {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.tier-intro-inner .tier-card-full .tier-card-label { color: #163b27; }
.tier-intro-inner .tier-card-small .tier-card-label { color: #92400e; }
.tier-intro-inner .tier-card-hangyeol .tier-card-label { color: #0f766e; }
.tier-card-price {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  color: #163b27;
  white-space: nowrap;
}
.tier-intro-inner .tier-card-small .tier-card-price { color: #92400e; }
.tier-intro-inner .tier-card-hangyeol .tier-card-price { color: #0f766e; }
.tier-card-sub {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: #4b5563;
}
.tier-new-badge {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  background: #92400e;
  color: #fff !important;
  padding: 4px 16px;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(146,64,14,.35);
}
.tier-hangyeol-badge {
  background: #0f766e;
  box-shadow: 0 2px 8px rgba(15,118,110,.35);
}
.tier-intro-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8ede9;
  padding: 0 6px;
  writing-mode: vertical-rl;
}
.tier-intro-divider span {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .15em;
  color: #92400e;
  background: #fde8d6;
  padding: 5px 3px;
  border-radius: 4px;
}
@media (max-width: 480px) {
  .tier-intro-inner {
    flex-direction: row;
    overflow: visible;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(22,59,39,.10);
    gap: 0;
    margin-top: 16px;
  }
  .tier-intro-inner .tier-card {
    padding: 30px 8px 12px;
    min-width: 0;
    gap: 4px;
    border-radius: 0;
  }
  .tier-intro-divider { display: none; }
  .tier-card-label { font-size: 14px; }
  .tier-card-price { font-size: 18px; }
  .tier-card-sub { font-size: 9px; line-height: 1.45; }
  .tier-new-badge { font-size: 9px; padding: 3px 10px; top: 8px; }
  .tier-filter-btn { font-size: 11px; padding: 8px 6px; }
}
.tier-filter-btn {
  padding: 10px 22px;
  border-radius: 99px;
  border: none;
  background: #163b27;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
  margin-top: auto;
  align-self: stretch;
}
.tier-filter-btn:hover { background: #1e5236; }
.tier-filter-btn-small {
  background: #92400e;
  color: #fff;
}
.tier-filter-btn-small:hover { background: #7a3409; }
.tier-filter-btn-hangyeol {
  background: #0f766e;
  color: #fff;
}
.tier-filter-btn-hangyeol:hover { background: #0b5f59; }
.tier-intro-desc {
  font-size: 13.5px;
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
}
.tier-intro-desc strong { color: #163b27; }

.summary-prepaid-balance strong {
  color: #0f766e;
}

/* ── 필터 탭 ── */
.tier-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  padding-top: 16px;
}
.tier-tab {
  position: relative;
  overflow: visible;
  padding: 8px 22px;
  border-radius: 99px;
  border: 2px solid #e0e8e2;
  background: #fff;
  color: #4b5563;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all .15s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tier-tab:hover { border-color: #163b27; color: #163b27; }
.tier-tab.active {
  background: #163b27;
  border-color: #163b27;
  color: #fff;
}
.tier-tab-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  background: #92400e;
  color: #fff;
  padding: 3px 11px;
  border-radius: 99px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(146,64,14,.4);
}
.tier-tab.active .tier-tab-badge {
  background: #7a3409;
}
.tier-tab-sodam:hover { border-color: #92400e; color: #92400e; }
.tier-tab-sodam.active { background: #92400e; border-color: #92400e; color: #fff; }

.menu-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.menu-title-line {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  max-width: 100%;
  font-size: 1.08rem;
  line-height: 1.18;
}

.menu-tier-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff !important;
  font-size: .84rem;
  font-weight: 950;
  flex-shrink: 0;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  flex-direction: row;
}

.menu-name-text {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 950;
}

.menu-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.menu-desc {
  display: -webkit-box;
  min-height: 3.35em;
  margin-top: 4px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  word-break: keep-all;
}

.menu-service-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.menu-service-row span {
  border-radius: 999px;
  background: #f3f6ef;
  color: var(--forest);
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.15;
}

.chef-note-section {
  padding: clamp(22px, 3.2vw, 48px) clamp(18px, 5vw, 64px) clamp(28px, 4vw, 52px);
  display: flex;
  justify-content: center;
}

/* 포스터 이미지 중앙 정렬 + 반응형 */
.chef-note-poster,
.chef-note-poster-wrap {
  width: 100%;
  max-width: min(980px, 92vw);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(22, 59, 39, 0.1);
}

.chef-note-poster img,
.chef-note-poster-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

/* iframe 포스터 스케일러 */
.chef-note-iframe-scaler {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  /* 포스터 비율 1200:1800 = 2:3 */
  padding-bottom: 150%;
}
.chef-note-section.has-builder-content {
  padding-bottom: clamp(12px, 1.8vw, 24px);
}
.chef-note-poster-wrap.has-builder-content {
  height: auto !important;
  min-height: 0 !important;
}
.chef-note-iframe-scaler.has-builder-content {
  height: auto;
  min-height: 0 !important;
  padding-bottom: 0 !important;
  background: transparent;
}
.chef-note-iframe-scaler iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1200px;
  height: 1800px;
  border: none;
  transform-origin: top left;
  /* JS로 동적 scale 적용 */
}
@media (max-width: 480px) {
  .chef-note-iframe-scaler {
    border-radius: 0;
  }
}

@media (max-width: 480px) {
  .chef-note-poster,
  .chef-note-poster-wrap {
    max-width: 100%;        /* 모바일: 화면 꽉 채움 */
    border-radius: 0;
  }
  .chef-note-poster img,
  .chef-note-poster-img {
    border-radius: 0;
  }
}

.chef-note-card,
.past-menu-panel {
  border: 1px solid rgba(22, 59, 39, 0.12);
  border-radius: 26px;
  background:
    radial-gradient(circle at right top, rgba(123, 165, 81, 0.1), transparent 34%),
    linear-gradient(135deg, #fffdf9 0%, #f6f0e6 100%);
  box-shadow: 0 18px 44px rgba(22, 59, 39, 0.08);
}

.chef-note-card {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 3vw, 30px);
}

.chef-note-card h3,
.past-menu-panel h3 {
  margin: 6px 0 0;
  color: var(--forest);
  font-size: clamp(24px, 3vw, 34px);
}

.chef-note-card p,
.past-menu-copy p {
  max-width: 980px;
  color: var(--muted);
  line-height: 1.75;
}

.chef-note-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.chef-note-meta span {
  border-radius: 999px;
  background: rgba(22, 59, 39, 0.08);
  color: var(--forest);
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
}

.past-menu-panel {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: clamp(20px, 3vw, 28px);
}

.past-menu-copy {
  display: grid;
  align-content: start;
  gap: 10px;
}

.past-menu-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.past-menu-list article {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(22, 59, 39, 0.1);
  border-radius: 16px;
  background: #fffdf8;
}

.past-menu-list img {
  width: 100%;
  height: 86px;
  min-height: 0;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.past-menu-list span {
  position: static;
  display: grid;
  gap: 6px;
  padding: 10px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 950;
  text-shadow: none;
}

.past-menu-list strong {
  min-height: 34px;
  line-height: 1.25;
}

.past-menu-list small {
  color: #a06a18;
  font-size: 12px;
  font-weight: 950;
}

.past-menu-list em {
  display: block;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #ebe5d8;
}

.past-menu-list em::before {
  display: block;
  width: calc(var(--score, 90) * 1%);
  height: 100%;
  border-radius: inherit;
  content: "";
  background: linear-gradient(90deg, #d99a1f, #163b27);
}

.meal-rating-form {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(160px, 0.8fr) minmax(160px, 0.8fr) minmax(260px, 1.4fr) auto;
  align-items: end;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(22, 59, 39, 0.1);
}

.meal-rating-form label {
  display: grid;
  gap: 8px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 900;
}

.meal-rating-form select,
.meal-rating-form textarea {
  width: 100%;
  border: 1px solid rgba(22, 59, 39, 0.16);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 12px 13px;
  font: inherit;
}

.meal-rating-form textarea {
  min-height: 48px;
  resize: vertical;
}

.meal-rating-form button {
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: var(--forest);
  color: #fff;
  padding: 0 18px;
  font-weight: 950;
  cursor: pointer;
}

.meal-rating-form .form-status {
  grid-column: 1 / -1;
  min-height: 20px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 800;
}

.past-menu-review-board {
  gap: 18px;
  padding: clamp(18px, 2.5vw, 26px);
}

.past-menu-panel.past-menu-review-board {
  grid-template-columns: 1fr;
}

.past-menu-review-board .past-menu-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 18px;
  align-items: start;
}

.past-score-summary {
  padding: 18px;
  border: 1px solid rgba(22, 59, 39, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
}

.past-score-summary span {
  display: block;
  color: var(--forest);
  font-size: 14px;
  font-weight: 900;
}

.past-score-summary strong {
  display: block;
  margin-top: 8px;
  color: var(--forest);
  font-size: 40px;
  line-height: 1;
}

.past-score-summary small {
  font-size: 16px;
}

.past-score-summary i {
  display: block;
  height: 9px;
  margin: 14px 0 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, #d99a1f 0 18%, #163b27 18% 92%, #d9ded4 92%);
}

.past-score-summary em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.review-card-list {
  gap: 12px;
}

.review-card-list article {
  padding-bottom: 12px;
}

.review-card-list article > b {
  position: absolute;
  z-index: 2;
  left: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-size: 14px;
  font-weight: 950;
}

.review-card-list img {
  height: 132px;
}

.card-star-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  padding: 0 10px 9px;
}

.card-star-row button {
  border: 0;
  background: transparent;
  color: #c8c8c8;
  font-size: 26px;
  line-height: 1;
  padding: 4px 0;
  cursor: pointer;
  transition: color 0.12s, transform 0.1s;
}

.card-star-row button:hover {
  color: #e0a01d;
  transform: scale(1.15);
}

.card-star-row button.is-active {
  color: #e0900a;
  transform: scale(1.2);
}

.reviewer-name-input,
.review-comment-input {
  width: calc(100% - 20px);
  margin: 0 10px 8px;
  border: 1px solid rgba(22, 59, 39, 0.16);
  border-radius: 9px;
  background: #fff;
  padding: 10px 11px;
  font: inherit;
  font-size: 13px;
}

.reviewer-name-input {
  min-height: 38px;
}

.review-comment-input {
  min-height: 44px;
}

.card-review-submit {
  width: calc(100% - 20px);
  min-height: 40px;
  margin: 0 10px;
  border: 0;
  border-radius: 9px;
  background: var(--forest);
  color: #fff;
  font-weight: 950;
  cursor: pointer;
}

.review-locked-message {
  grid-column: 1 / -1;
  border: 1px dashed rgba(22, 59, 39, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--forest);
  padding: 24px 18px;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.6;
}

.past-rating-note {
  text-align: center;
  color: var(--forest);
  font-size: 14px;
  font-weight: 800;
}

.public-review-panel {
  padding: 18px;
  border: 1px solid rgba(22, 59, 39, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.58);
}

.public-review-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.public-review-head h4 {
  color: var(--forest);
  font-size: 22px;
}

.public-review-head p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.public-review-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.public-review-list article {
  min-height: 118px;
  padding: 18px 16px 14px;
  border: 1px solid rgba(22, 59, 39, 0.1);
  border-radius: 14px;
  background: #fff;
}

.public-review-list p {
  min-height: 44px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.55;
}

.public-review-list footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 950;
}

.public-review-list footer b {
  color: #c58213;
}

.review-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 1px solid rgba(22, 59, 39, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
}

.review-filter-bar strong {
  flex: 0 0 auto;
}

.review-filter-bar span {
  flex-basis: 100%;
  margin-top: 4px;
}

.review-filter-bar strong,
.review-filter-bar span {
  color: var(--forest);
  font-weight: 950;
  white-space: nowrap;
}

.review-filter-bar select {
  flex: 1 1 170px;
  max-width: 240px;
  min-height: 42px;
  border: 1px solid rgba(22, 59, 39, 0.14);
  border-radius: 10px;
  background: #fff;
  padding: 0 12px;
  font: inherit;
}

.review-filter-bar em {
  color: var(--forest);
  font-style: normal;
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.review-filter-bar button {
  margin-left: auto;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--forest);
  color: #fff;
  padding: 0 16px;
  font-weight: 950;
}

.legacy-rating-form {
  display: block;
  padding: 0;
  border: 0;
}

.menu-desc {
  margin: 2px 0 13px;
}

.menu-info-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.menu-flags {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 6px;
}

/* ============= 라벨 chip — 아이콘 + tooltip 통합 디자인 ============= */
.info-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef4ef;
  color: var(--forest, #163b27);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  cursor: default;
  transition: transform 0.15s ease, background 0.15s ease;
  outline: none;
}
.info-chip:hover,
.info-chip:focus-visible,
.info-chip.is-active {
  transform: translateY(-1px);
}
.info-chip:focus-visible {
  box-shadow: 0 0 0 2px rgba(22, 59, 39, 0.25);
}

.info-chip .chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.info-chip .chip-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Tooltip — hover/focus (desktop) + tap toggle (mobile) */
.info-chip .chip-tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #163b27;
  color: #fff;
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 10;
  box-shadow: 0 4px 14px rgba(15, 30, 22, 0.22);
  letter-spacing: 0.01em;
}
.info-chip .chip-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #163b27;
}
.info-chip:hover .chip-tooltip,
.info-chip:focus-visible .chip-tooltip,
.info-chip.is-active .chip-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* 매운맛 chip — 텍스트 뱃지 */
.chip-spice-badge {
  font-size: 11.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  gap: 0;
}
.chip-spice-badge.spice-lvl-0 {
  background: #e8f5e9;
  color: #2e7d52;
}
.chip-spice-badge.spice-lvl-1 {
  background: #fff9e0;
  color: #7a5a00;
}
.chip-spice-badge.spice-lvl-2 {
  background: #ffe8d0;
  color: #a04010;
}
.chip-spice-badge.spice-lvl-3 {
  background: #ffd8c8;
  color: #8a1f0c;
}

/* 맵지 않음 (Mild) */
.chip-mild {
  background: #e9f4ea;
  color: #2c5a3a;
}
.chip-mild .chip-icon svg { color: #4a8a5a; }

/* Kids pick */
.chip-kids {
  background: #fff4c2;
  color: #7a5a14;
}
.chip-kids .chip-icon svg { color: #c79a1a; }

/* 일반 태그 chip (텍스트만) */
.chip-text {
  background: #eef4ef;
  color: var(--forest, #163b27);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

/* 기타 아이콘 chip 색상 (tag 별) */
.chip-tag {
  background: #f4eee0;
  color: #6c4a14;
}
.chip-tag .chip-icon svg { color: #aa7a1a; }

.stock-badge {
  align-self: end;
  background: #edf1ff;
  color: #2b3f7d;
  white-space: nowrap;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 950;
}

.menu-bottom-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 14px;
}

.combo-order-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.combo-order-btn {
  display: flex;
  border-radius: 999px;
  overflow: hidden;
  height: 44px;
  box-shadow: 0 2px 8px rgba(22, 59, 39, .14);
}

.combo-qty-side {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  background: var(--paper);
  border-right: 1.5px solid var(--line);
}

.combo-qty-side button {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 900;
  color: var(--forest);
  cursor: pointer;
  padding: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .12s;
}

.combo-qty-side button:hover {
  background: var(--soft);
}

.combo-qty-side span {
  font-weight: 900;
  font-size: .85rem;
  color: var(--forest);
  min-width: 16px;
  text-align: center;
}

.combo-order-side {
  background: linear-gradient(135deg, #163b27, #0b6230);
  color: #fff;
  border: none;
  font-weight: 900;
  font-size: .84rem;
  cursor: pointer;
  padding: 0 16px;
  white-space: nowrap;
  letter-spacing: .02em;
  transition: background .12s;
}

.combo-order-side:hover:not([aria-disabled="true"]) {
  background: linear-gradient(135deg, #1f4d36, #0e7a3a);
}

.combo-order-side[aria-disabled="true"] {
  background: #7a8a7e;
  cursor: default;
}

/* combo-order-btn.is-sold-out 제거 완료 */

.quick-checkout-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .6rem;
  font-weight: 900;
  text-align: center;
  line-height: 1.4;
  letter-spacing: -.01em;
  box-shadow: 0 2px 8px rgba(208, 140, 45, .35);
  transition: filter .12s;
}

.quick-checkout-btn:hover:not(:disabled) {
  filter: brightness(1.1);
}

.quick-checkout-btn:disabled {
  background: #b5a99a;
  box-shadow: none;
  cursor: default;
}

.menu-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.order-now-button,
.detail-link {
  border: 0;
  cursor: pointer;
  font-weight: 900;
}

/* 관리자 메뉴 퀵에디터 버튼 — is-admin 클래스가 body에 있을 때만 표시 */
.admin-menu-edit-btn {
  display: none;
}
.is-admin .admin-menu-edit-btn {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 7px 0;
  border: 1.5px dashed #d1a272;
  border-radius: 8px;
  background: #fffbf5;
  color: #92400e;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: .03em;
  transition: background .15s;
}
.is-admin .admin-menu-edit-btn:hover {
  background: #fef3e2;
}

.order-now-button {
  min-height: 48px;
  border-radius: 999px;
  background: var(--forest);
  color: var(--white);
  padding: 0 28px;
  font-size: .92rem;
  font-weight: 900;
  white-space: nowrap;
  letter-spacing: .01em;
}

.order-now-button[aria-disabled="true"] {
  background: #4d5650;
}

.menu-order-cta {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.menu-order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 48px;
  border-radius: 999px;
  background: var(--deep-cta);
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(22, 59, 39, 0.22);
  transition: background 0.18s;
}

.menu-order-btn:hover {
  background: #173f2b;
}

.detail-link {
  margin-top: 14px;
  background: transparent;
  color: var(--tomato);
  padding: 0;
}

.menu-actions strong {
  font-size: 18px;
}

.qty-control {
  display: grid;
  grid-template-columns: 36px 34px 36px;
  align-items: center;
  min-height: 36px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.qty-control button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--forest);
  font-weight: 900;
}

.qty-control span {
  text-align: center;
  font-weight: 800;
}

.poster-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
  background: #fff8ec;
  border-top: 1px solid var(--line);
}

.poster-content {
  max-width: 780px;
  margin-bottom: 0;
}

.poster-menu-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.poster-menu-strip span {
  border: 1px solid rgba(22, 59, 39, 0.18);
  border-radius: 999px;
  background: var(--white);
  color: var(--forest);
  padding: 9px 14px;
  font-weight: 900;
}

.process-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  color: var(--forest);
}

.fresh-icon::before {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20c8-2 14-8 16-16C12 4 6 9 4 20z'/%3E%3Cpath d='M4 20c4-5 8-8 14-12'/%3E%3C/g%3E%3C/svg%3E");
}

.cook-icon::before {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10h12l-1 9H7l-1-9z'/%3E%3Cpath d='M8 10V8a4 4 0 0 1 8 0v2'/%3E%3Cpath d='M4 10h16'/%3E%3C/g%3E%3C/svg%3E");
}

.freeze-icon::before {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 3v18M4 7l16 10M20 7L4 17M8 5l4 4 4-4M8 19l4-4 4 4'/%3E%3C/g%3E%3C/svg%3E");
}

.easy-icon::before {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/g%3E%3C/svg%3E");
}

.process-icon::before {
  display: block;
  width: 22px;
  height: 22px;
  background: currentColor;
  content: "";
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.poster-preview {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(22, 59, 39, 0.18);
  border-radius: 8px;
  background: #fffdf7;
  box-shadow:
    0 22px 54px rgba(55, 36, 15, 0.15),
    inset 0 0 0 10px rgba(255, 255, 255, 0.7);
}

.poster-preview::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 28%),
    linear-gradient(0deg, rgba(22, 59, 39, 0.08), rgba(22, 59, 39, 0) 38%);
}

.poster-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  filter: saturate(1.04) contrast(1.03) brightness(1.01);
}

.packaging-section {
  background: #f4f7f1;
  border-top: 1px solid var(--line);
}

.packing-animation {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 20%, rgba(230, 95, 47, 0.13), transparent 34%),
    linear-gradient(135deg, #fdfdf9, #e9f2e8);
  box-shadow: var(--shadow);
}

.packing-bag {
  position: absolute;
  left: 50%;
  bottom: 38px;
  display: grid;
  width: min(460px, 76%);
  height: 190px;
  place-items: end center;
  border: 3px solid #161b18;
  border-radius: 16px 16px 8px 8px;
  background: linear-gradient(145deg, #151715, #303530);
  color: rgba(255, 255, 255, 0.78);
  padding: 22px;
  transform: translateX(-50%);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.28);
}

.pack-item {
  position: absolute;
  display: grid;
  min-width: 112px;
  min-height: 52px;
  place-items: center;
  border: 1px solid rgba(22, 59, 39, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--forest);
  font-weight: 950;
  box-shadow: 0 14px 26px rgba(28, 42, 34, 0.14);
  animation: packDrop 5s ease-in-out infinite;
}

.pack-sauce {
  top: 36px;
  left: 12%;
}

.pack-broth {
  top: 84px;
  right: 12%;
  animation-delay: 0.45s;
}

.pack-veg {
  top: 154px;
  left: 18%;
  animation-delay: 0.9s;
}

.pack-protein {
  top: 198px;
  right: 18%;
  animation-delay: 1.35s;
}

@keyframes packDrop {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(42px) scale(0.98);
  }
}

.pack-menu {
  top: 242px;
  left: 50%;
  transform: translateX(-50%);
  animation-name: packDropCenter;
  animation-delay: 1.8s;
}

@keyframes packDropCenter {
  0%,
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  50% {
    transform: translateX(-50%) translateY(42px) scale(0.98);
  }
}

.packing-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.packing-steps article,
.terms-note {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 18px;
  box-shadow: 0 10px 26px rgba(28, 42, 34, 0.08);
}

.packing-steps strong,
.terms-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--forest);
}

.packing-steps span,
.terms-note span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.packaging-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 22px;
  align-items: stretch;
}

.packaging-feature,
.packaging-details figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 18px 46px rgba(26, 41, 33, 0.12);
}

.packaging-feature::after,
.packaging-details figure::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(22, 59, 39, 0.08));
  mix-blend-mode: soft-light;
}

.packaging-feature img,
.packaging-details img {
  display: block;
  width: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.06) brightness(1.04);
}

.packaging-feature img {
  aspect-ratio: 5 / 4;
  object-position: center 58%;
}

.packaging-details {
  display: grid;
  gap: 22px;
}

.packaging-details img {
  aspect-ratio: 16 / 9;
  object-position: center;
}

.packaging-feature figcaption,
.packaging-details figcaption {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), var(--white));
}

.packaging-feature strong,
.packaging-details strong {
  color: var(--forest);
  font-size: 20px;
}

.packaging-feature span,
.packaging-details span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.process-section {
  background: var(--forest);
  color: var(--white);
}

.process-section .section-heading p,
.process-grid p {
  color: rgba(255, 255, 255, 0.7);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.process-grid article {
  min-height: 260px;
  padding: 26px;
  background: var(--forest);
}

.process-grid span {
  display: inline-grid;
  margin-bottom: 38px;
  color: #f2c164;
  font-weight: 900;
}

.account-icon::before {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-5 4-7 8-7s6.5 2 8 7'/%3E%3C/g%3E%3C/svg%3E");
}

.payment-icon::before {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/g%3E%3C/svg%3E");
}

.change-icon::before {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 12a8 8 0 1 1-2.3-5.7'/%3E%3Cpath d='M20 4v6h-6'/%3E%3C/g%3E%3C/svg%3E");
}

.refund-icon::before {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 4v5c0 5-3.5 8-8 9-4.5-1-8-4-8-9V7l8-4z'/%3E%3Cpath d='M9 12l2 2 4-5'/%3E%3C/g%3E%3C/svg%3E");
}

.terms-note {
  margin-top: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.terms-note strong,
.terms-note span {
  color: var(--white);
}

.process-grid h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 24px;
  align-items: start;
}

.checkout-form,
.order-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.checkout-form {
  padding: 26px;
}

.checkout-step {
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.checkout-step legend {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-copy {
  grid-column: 1 / -1;
  margin: -8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

fieldset {
  display: grid;
  gap: 16px;
  margin: 0 0 28px;
  padding: 0;
  border: 0;
}

.is-collapsed,
fieldset.is-collapsed {
  display: none;
}

.auth-choice,
.auth-choice legend {
  grid-column: 1 / -1;
}

.radio-card {
  display: flex;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  padding: 12px;
  cursor: pointer;
}

.radio-card input {
  width: auto;
}

.radio-card:has(input:checked) {
  border-color: var(--forest);
  background: #eef4ee;
  box-shadow: inset 0 0 0 1px var(--forest);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.payment-method {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  color: var(--forest);
  cursor: pointer;
  font-weight: 900;
}

.pay-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.card-pay-icon {
  --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='12' rx='2'/%3E%3Cpath d='M3 10h18M7 15h4'/%3E%3C/g%3E%3C/svg%3E");
}

.apple-pay-icon {
  display: none;
}

.google-pay-icon {
  display: none;
}

.pay-brand {
  color: currentColor;
  font-size: 15px;
  font-weight: 950;
}

.apple-brand {
  letter-spacing: 0;
}

.google-brand {
  letter-spacing: 0.02em;
}

.payment-method.is-active {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
}

.card-fields {
  display: grid;
  gap: 14px;
}

.payment-link-note {
  border: 1px solid rgba(31, 77, 54, 0.16);
  border-radius: 8px;
  background: #f6faf6;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.stripe-payment-info {
  display: grid;
  gap: 14px;
}

.embedded-payment-box {
  padding: 16px 16px 8px;
  border: 1px solid rgba(39, 68, 45, 0.14);
  border-radius: 8px;
  background: #fff;
}

#apple-pay-button.apple-pay-sdk-button {
  -webkit-appearance: -apple-pay-button;
  -apple-pay-button-type: buy;
  -apple-pay-button-style: black;
  appearance: none;
  width: 100%;
  height: 44px;
  margin: 0 0 10px;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

#apple-pay-button.apple-pay-sdk-button:focus-visible {
  outline: 3px solid rgba(31, 77, 54, 0.28);
  outline-offset: 2px;
}

#google-pay-button {
  margin-bottom: 10px;
}

.stripe-secure-badge {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid rgba(31, 77, 54, 0.18);
  border-radius: 8px;
  background: #f0f8f4;
  font-size: 14px;
  color: #1f4d36;
}

.stripe-secure-badge .lock-icon {
  font-size: 18px;
  line-height: 1;
}

.stripe-payment-methods {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}

.stripe-payment-methods li {
  padding: 6px 12px;
  border-radius: 6px;
  background: #fafafa;
}

.stripe-payment-methods strong {
  color: #1f4d36;
  margin-right: 6px;
}

.btn-label,
.btn-spinner {
  display: inline-block;
}

/* hidden 속성을 가진 라벨/스피너는 반드시 숨김.
   (위의 display:inline-block 가 [hidden] 의 기본 display:none 을 덮어쓰지 못하게) */
.btn-label[hidden],
.btn-spinner[hidden] {
  display: none !important;
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.terms-check {
  border: 1px solid rgba(230, 95, 47, 0.24);
  border-radius: 8px;
  background: #fff7f2;
  padding: 12px;
}

legend {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 900;
}

label {
  display: grid;
  gap: 8px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  color: var(--ink);
  padding: 13px 14px;
  outline: 0;
}

input[readonly] {
  background: var(--soft);
  color: var(--forest);
  cursor: default;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(109, 141, 115, 0.16);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fulfillment-radio-group {
  border: none;
  padding: 0;
  margin: 0;
}
.fulfillment-radio-group legend {
  font-size: .75rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.fulfillment-radio-group .radio-option {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  padding: 6px 12px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  margin-right: 6px;
  margin-bottom: 0;
  transition: border-color .15s, background .15s;
}
.fulfillment-radio-group .radio-option:has(input:checked) {
  border-color: var(--forest);
  background: rgba(22,59,39,.07);
}
.fulfillment-radio-group .radio-option input[type="radio"] {
  width: 14px;
  height: 14px;
  accent-color: var(--forest);
  flex-shrink: 0;
}
.fulfillment-radio-group .radio-option span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.fulfillment-radio-group .radio-option strong {
  font-size: .82rem;
  font-weight: 800;
  color: var(--ink);
}
.fulfillment-radio-group .radio-option small {
  font-size: .72rem;
  color: var(--sage);
  font-weight: 600;
}

.submit-button {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--sage);
  font-weight: 800;
}

.order-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 1000;
  transform: translate(-50%, 18px);
  border-radius: 999px;
  background: #17251d;
  color: var(--white);
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 16px 40px rgba(12, 20, 15, 0.22);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.order-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.compact-status {
  grid-column: 1 / -1;
  min-height: 18px;
  margin: 0;
  font-size: 13px;
}

.text-button {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--tomato);
  cursor: pointer;
  padding: 0;
  font-weight: 900;
}

.account-gate {
  border: 1px solid rgba(31, 77, 54, 0.16);
  border-radius: 8px;
  background: #f6faf6;
  padding: 20px;
}

.account-gate.account-ready {
  border-color: rgba(31, 77, 54, 0.34);
  background: #eef5ef;
}

.account-gate .primary-button {
  justify-self: start;
  min-height: 44px;
  padding: 0 24px;
}

.order-summary {
  position: sticky;
  top: 88px;
  padding: 22px;
}

.summary-header,
.summary-line,
.summary-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.summary-header {
  padding-bottom: 18px;
  border-bottom: 2px solid var(--forest, #163b27);
  font-weight: 900;
}
.summary-header span:first-child {
  font-size: 22px;
  font-weight: 900;
  color: var(--forest, #163b27);
  letter-spacing: -0.01em;
}
.summary-header strong {
  font-size: 16px;
  font-weight: 700;
  color: #5a6b62;
}

.summary-items {
  display: grid;
  gap: 14px;
  min-height: 92px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.empty-state {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.summary-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.summary-item-actions {
  display: grid;
  justify-items: end;
  gap: 6px;
  flex-shrink: 0;
}

.cart-summary-qty {
  display: inline-grid;
  grid-template-columns: 28px 34px 28px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d7e0da;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.06);
}

.cart-summary-qty button {
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.cart-summary-qty button:hover {
  background: #eef7f0;
}

.cart-summary-qty span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 28px;
  color: #10261a;
  font-size: 13px;
  font-weight: 900;
}

.cart-remove-btn {
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #f3c4b5;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.cart-remove-btn:hover {
  border-color: #ea580c;
  background: #ffedd5;
}

.cart-confirm-panel {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  padding: 14px;
  border: 1.5px solid rgba(22, 59, 39, 0.16);
  border-radius: 16px;
  background: #f7faf8;
}

.cart-confirm-panel p {
  margin: 0;
  color: #536258;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.cart-confirm-panel.is-confirmed {
  border-color: #86efac;
  background: #ecfdf5;
}

.cart-confirm-button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: var(--forest, #163b27);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(22, 59, 39, 0.16);
}

.cart-confirm-button:disabled {
  cursor: not-allowed;
  background: #cbd5cf;
  box-shadow: none;
}

.summary-line {
  padding: 12px 0;
  color: var(--muted);
}

.summary-line.total {
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 22px;
}

.summary-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.customer-section {
  background: #f8faf5;
  border-top: 1px solid var(--line);
}

.customer-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 18px;
  align-items: start;
}

.customer-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 22px;
  box-shadow: 0 14px 36px rgba(28, 42, 34, 0.08);
}

.customer-orders {
  display: grid;
  gap: 12px;
}

.customer-order-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  padding: 14px;
}

.customer-order-card div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.customer-order-card span,
.customer-order-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.review-form {
  display: grid;
  gap: 14px;
}

.menu-detail-modal {
  width: min(980px, calc(100vw - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  background: var(--white);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.menu-detail-modal::backdrop {
  background: rgba(10, 16, 12, 0.64);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  font-weight: 950;
}

.menu-detail-body {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) 1.1fr;
}

.menu-detail-body > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.detail-copy {
  padding: clamp(22px, 4vw, 40px);
}

.detail-copy h2 {
  font-size: clamp(32px, 4vw, 54px);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 22px 0;
}

.detail-grid div,
.detail-includes {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf9;
  padding: 12px;
}

.detail-grid strong,
.detail-grid span,
.detail-includes strong,
.detail-includes span {
  display: block;
}

.detail-grid span,
.detail-includes span {
  margin-top: 5px;
  color: var(--muted);
}

.detail-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.detail-includes strong {
  width: 100%;
}

.detail-video,
.detail-order {
  margin-top: 12px;
  margin-right: 8px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 6vw, 82px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-main,
.footer-copyright {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-main {
  min-width: 0;
}

.footer-copyright {
  justify-content: flex-end;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  display: block;
  width: 168px;
  height: 58px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.copyright-logo {
  display: block;
  width: 84px;
  height: 26px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
}

.login-page {
  min-height: 100vh;
  position: relative;
}

.login-page::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(22, 59, 39, 0.9), rgba(22, 59, 39, 0.38)),
    url("https://images.unsplash.com/photo-1542838132-92c53300491e?auto=format&fit=crop&w=1800&q=84")
      center / cover;
}

.login-header {
  background: rgba(18, 25, 21, 0.42);
  backdrop-filter: blur(14px);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(320px, 480px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 84px);
  padding: 120px clamp(20px, 7vw, 96px) 64px;
  color: var(--white);
}

.login-panel {
  width: 100%;
  max-width: 480px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  padding: clamp(20px, 3vw, 30px);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.login-brand > img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.16));
}

.login-brand h1 {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1;
  white-space: nowrap;
}

.login-title-logo {
  display: block;
  width: clamp(210px, 24vw, 300px);
  height: clamp(66px, 7vw, 90px);
  object-fit: contain;
  object-position: center;
  mix-blend-mode: multiply;
  filter: none;
}

.login-slogan {
  margin: 4px 0 0;
  color: rgba(22, 59, 39, 0.72);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 850;
  letter-spacing: 0.04em;
}

.login-form {
  display: grid;
  gap: 12px;
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #6b7178;
  font-size: 13px;
  margin: 6px 0;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #d8dde2;
}
.auth-divider span {
  padding: 0 12px;
}

.google-signin-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  border: 1px solid #d8dde2;
  background: #ffffff;
  color: #1f1f1f;
  font-weight: 500;
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.google-signin-button:hover {
  background: #f6f8fa;
  border-color: #b9c0c8;
}
.google-signin-button svg {
  flex: 0 0 18px;
}

.login-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 14px;
  border-radius: 8px;
  background: #eef3ef;
  padding: 6px;
}

.login-tab {
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  font-weight: 900;
}

.login-tab.is-active {
  background: var(--white);
  box-shadow: 0 8px 20px rgba(28, 42, 34, 0.1);
}

.auth-pane {
  display: grid;
  gap: 12px;
}

.auth-pane.is-collapsed {
  display: none;
}

.login-options,
.signup-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--muted);
  font-size: 14px;
}

.checkbox-label {
  display: flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.checkbox-label input {
  width: auto;
}

.login-options a,
.signup-prompt a {
  color: var(--forest);
  font-weight: 900;
}

.signup-prompt {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.login-preferences {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.login-preferences strong {
  grid-column: 1 / -1;
  color: var(--forest);
}

.special-access-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(22, 59, 39, 0.14);
  border-radius: 12px;
  background: rgba(246, 250, 243, 0.88);
}

.special-access-head {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
}

.special-access-icon {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(22, 59, 39, 0.08);
}

.special-access-panel p {
  margin: 0;
  color: rgba(22, 59, 39, 0.74);
  font-size: 14px;
  line-height: 1.55;
}

.special-access-check {
  align-items: flex-start;
}

.gate-details-wrap {
  display: none;
  gap: 12px;
}

.gate-details-wrap.open {
  display: grid;
}

.login-aside {
  max-width: 620px;
  position: sticky;
  top: calc(50vh - 160px);
}

.login-aside .eyebrow {
  color: #f2c164;
}

.login-aside h2 {
  color: var(--white);
}

.login-aside p {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.55;
}

.admin-page {
  background: #f6f7f3;
}

.member-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 92% 26%, rgba(120, 153, 65, 0.07), transparent 28%),
    radial-gradient(circle at 6% 64%, rgba(22, 59, 39, 0.05), transparent 24%),
    var(--paper);
  color: var(--ink);
}

.member-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 44px);
  background: rgba(19, 44, 29, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.member-brand img {
  display: block;
  width: 152px;
  height: 48px;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
  filter: drop-shadow(0 5px 14px rgba(0, 0, 0, 0.22));
}

.member-topnav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 850;
}

.member-topnav a {
  padding: 10px 12px;
  border-radius: 999px;
}

.member-topnav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.member-shell {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.member-hero {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: clamp(52px, 7vw, 88px) clamp(24px, 5vw, 72px) clamp(48px, 6.5vw, 80px);
  text-align: center;
  margin-bottom: 28px;
}

.member-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(6, 18, 12, 0.84) 0%, rgba(12, 28, 18, 0.62) 52%, rgba(22, 59, 39, 0.88) 100%),
    radial-gradient(circle at 14% 28%, rgba(208, 140, 45, 0.32), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(120, 153, 65, 0.22), transparent 30%),
    url("https://images.unsplash.com/photo-1498837167922-ddd27525d352?auto=format&fit=crop&w=1800&q=84") center / cover no-repeat;
  border-radius: 20px;
}

.member-hero > * {
  position: relative;
  z-index: 1;
}

.member-hero h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.16em;
  margin: 8px 0 8px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: #fffaf0;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.member-heading-logo {
  width: clamp(124px, 16vw, 210px);
  height: clamp(42px, 5.4vw, 70px);
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.22));
  vertical-align: middle;
}

.member-hero p {
  margin: 0;
  color: rgba(255, 250, 240, 0.86);
  font-weight: 750;
}

.member-hero .eyebrow {
  color: rgba(255, 250, 240, 0.78);
}

.member-layout {
  display: grid;
  grid-template-columns: minmax(132px, 0.36fr) minmax(560px, 1.42fr) minmax(300px, 0.85fr);
  gap: 20px;
  align-items: start;
}

.member-side-nav {
  position: sticky;
  top: 86px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  padding: 14px 10px;
  border: 1px solid rgba(22, 59, 39, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 32px rgba(27, 41, 32, 0.08);
}

.member-side-brand {
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 4px;
  padding: 2px 0 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(22, 59, 39, 0.1);
  color: #173a27;
  font-weight: 950;
  text-align: center;
}

.member-side-brand img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.member-side-nav a {
  min-height: 36px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 9px;
  color: #4f5d53;
  font-size: 0.86rem;
  font-weight: 900;
}

.member-side-nav a:hover,
.member-side-nav a.is-active {
  background: #eaf4ea;
  color: #07351f;
}

.member-section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: #12281b;
  font-size: 1.1rem;
  font-weight: 950;
}

.member-section-title::before,
.member-section-title::after {
  content: "🍃";
  font-size: 1rem;
}

.member-card-column,
.kakao-column,
.member-tools-column {
  display: grid;
  gap: 14px;
}

.tier-card {
  position: relative;
  min-height: 180px;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border-radius: 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 50%, rgba(22, 59, 39, 0.12), transparent 16%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 242, 233, 0.92));
  border: 1px solid rgba(45, 63, 52, 0.12);
  box-shadow: 0 16px 28px rgba(30, 37, 32, 0.1);
}

.tier-card::after {
  content: "";
  position: absolute;
  inset: auto -28px -44px auto;
  width: 180px;
  height: 180px;
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.12;
}

.tier-logo {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(22, 59, 39, 0.15);
  box-shadow: inset 0 0 0 8px rgba(245, 241, 232, 0.68), 0 10px 20px rgba(31, 47, 22, 0.08);
}

.tier-logo img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.tier-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 0.9;
  color: #23492f;
}

.tier-card span {
  display: block;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 800;
  color: #23492f;
  letter-spacing: 0.05em;
}

.tier-card small {
  display: block;
  margin-top: 8px;
  color: rgba(20, 36, 27, 0.62);
  font-size: 0.66rem;
  font-weight: 900;
}

.tier-card b,
.tier-card em {
  display: block;
  color: #1c2e23;
  font-size: 0.9rem;
  font-style: normal;
}

.tier-card > i {
  position: absolute;
  left: 22px;
  bottom: 16px;
  color: currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.82rem;
  opacity: 0.5;
}

.tier-card.regular {
  background:
    radial-gradient(circle at 86% 50%, rgba(44, 94, 145, 0.14), transparent 16%),
    linear-gradient(135deg, #fff, #edf5ff);
}

.tier-card.regular strong,
.tier-card.regular span { color: #174d82; }

.tier-card.vip {
  background:
    radial-gradient(circle at 86% 50%, rgba(190, 128, 22, 0.18), transparent 16%),
    linear-gradient(135deg, #fffdf6, #fff0bd);
}

.tier-card.vip strong,
.tier-card.vip span { color: #a56b05; }

.tier-card.premium {
  background:
    radial-gradient(circle at 86% 50%, rgba(255, 224, 130, 0.18), transparent 16%),
    linear-gradient(135deg, #07351f, #102c1d);
  color: #f4d071;
}

.tier-card.premium strong,
.tier-card.premium span,
.tier-card.premium b,
.tier-card.premium em { color: #f2d36f; }

.member-dashboard {
  display: grid;
  gap: 14px;
}

.member-panel {
  border: 1px solid rgba(34, 50, 39, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 36px rgba(27, 41, 32, 0.08);
  padding: clamp(18px, 2.4vw, 28px);
}

.current-order-panel {
  background:
    radial-gradient(circle at 88% 10%, rgba(120, 153, 65, 0.14), transparent 30%),
    rgba(255, 255, 255, 0.92);
}

.current-order-head,
.panel-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.current-order-head span {
  color: #a56509;
  font-size: 0.82rem;
  font-weight: 950;
}

.current-order-head mark {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 8px 12px;
  background: #eaf4ea;
  color: #173a27;
  font-weight: 950;
}

.current-order-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}

.current-order-grid article {
  padding: 14px;
  border: 1px solid rgba(22, 59, 39, 0.1);
  border-radius: 12px;
  background: #fbfdf9;
}

.current-order-grid span {
  display: block;
  color: #6a746b;
  font-size: 0.78rem;
  font-weight: 850;
}

.current-order-grid strong {
  display: block;
  margin-top: 5px;
  color: #173a27;
}

.current-order-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.current-order-actions a,
.panel-title-row a,
.empty-order-row a {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #173a27;
  color: #fff;
  padding: 0 14px;
  font-weight: 950;
}

.panel-title-row {
  align-items: center;
  margin-bottom: 14px;
}

.panel-title-row a {
  min-height: 36px;
  background: #f3f8ef;
  color: #173a27;
}

.order-history-list {
  display: grid;
  gap: 10px;
}

.order-history-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(22, 59, 39, 0.1);
  border-radius: 12px;
  background: #fffdf8;
}

.order-history-list strong,
.order-history-list span {
  display: block;
}

.order-history-list strong {
  color: #173a27;
}

.order-history-list span {
  margin-top: 4px;
  color: #6a746b;
  font-size: 0.84rem;
  font-weight: 800;
}

.order-history-list b {
  color: #173a27;
  white-space: nowrap;
}

.member-welcome {
  display: flex;
  align-items: center;
  gap: 18px;
}

.wm-inline-logo {
  height: 1.1em;
  width: auto;
  vertical-align: -0.15em;
  display: inline-block;
}

.welcome-credit-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 4px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #163b27 0%, #1e5435 60%, #122e1f 100%);
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(22,59,39,0.22), inset 0 1px 0 rgba(255,255,255,0.07);
  cursor: pointer;
  transition: opacity 0.15s;
}
.welcome-credit-badge:hover { opacity: 0.92; }
.wcb-icon { font-size: 1.6rem; flex-shrink: 0; }
.wcb-right { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.wcb-label { font-size: 0.68rem; opacity: 0.65; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 500; }
.wcb-amount { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: #7effa8; line-height: 1.1; }
.wcb-chevron { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.5; }

.prepay-history-section {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(22,59,39,0.1);
}
.ph-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #163b27;
  opacity: 0.6;
  margin: 0 0 12px;
}
.ph-list { display: flex; flex-direction: column; gap: 8px; }
.ph-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f7faf8;
  border-radius: 10px;
  gap: 10px;
}
.ph-date { font-size: 0.8rem; color: #666; flex-shrink: 0; }
.ph-amounts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.ph-charge { font-size: 0.88rem; font-weight: 600; color: #333; }
.ph-sep { font-size: 0.75rem; color: #aaa; }
.ph-credit { font-size: 0.88rem; font-weight: 700; color: #163b27; }
.ph-pct { font-size: 0.72rem; background: #dcfce7; color: #166534; border-radius: 6px; padding: 2px 6px; font-weight: 700; }

.event-banner-link {
  display: block;
  margin: 12px 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}
.event-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

.member-avatar {
  flex: 0 0 86px;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f6f1e6;
  border: 1px solid rgba(22, 59, 39, 0.12);
}

.member-avatar img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* 동그라미 아바타 로고 */
.wm-avatar-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* 동그라미 아래 등급 배지 */
.member-tier-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: #607060;
  white-space: nowrap;
}

.member-welcome h2,
.member-panel h3 {
  margin: 0;
  color: #14241b;
}

.member-welcome h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.35rem);
  line-height: 1.12;
}

.member-welcome p,
.member-panel p {
  margin: 8px 0 0;
  color: #59665d;
  line-height: 1.5;
}

.member-tier-summary {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.7fr;
  gap: 20px;
  align-items: center;
}

.member-tier-summary > div + div {
  border-left: 1px solid rgba(22, 59, 39, 0.12);
  padding-left: 20px;
}

.member-tier-summary span,
.progress-head span {
  display: block;
  color: #7a705f;
  font-size: 0.86rem;
  font-weight: 850;
}

.member-tier-summary strong {
  display: block;
  margin-top: 6px;
  color: #173a27;
  font-size: clamp(1.45rem, 2.2vw, 2.4rem);
  line-height: 1;
}

#currentTier {
  font-family: Georgia, "Times New Roman", serif;
}

.progress-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
}

.progress-head strong {
  color: #173a27;
  font-size: 1.5rem;
}

.member-progress-track {
  position: relative;
  height: 12px;
  margin: 22px 0 12px;
  border-radius: 999px;
  background: #e7e3da;
  overflow: hidden;
}

.member-progress-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #d9a22d, #a66f08);
}

.member-tier-marks {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  color: #655d52;
  font-size: 0.68rem;
  font-weight: 800;
  text-align: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.benefit-grid article {
  min-height: 96px;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  padding: 14px 10px;
  border: 1px solid rgba(166, 111, 8, 0.28);
  border-radius: 14px;
  color: #704907;
  background: #fffaf0;
}

.benefit-grid span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid currentColor;
}

.benefit-grid strong {
  font-size: 0.86rem;
}

.referral-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.referral-panel button {
  flex: 0 0 auto;
  min-width: 150px;
  min-height: 52px;
  border: 1px dashed #a66f08;
  border-radius: 12px;
  background: #fff7df;
  color: #173a27;
  font-weight: 950;
  font-size: 1.2rem;
}

.member-tools-column {
  align-content: start;
}

.member-tool-card {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(22, 59, 39, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 28px rgba(27, 41, 32, 0.07);
}

.member-tool-card > span {
  color: #a56509;
  font-size: 0.82rem;
  font-weight: 950;
}

.member-tool-card strong {
  color: #153520;
  font-size: 1.05rem;
}

.member-tool-card p {
  margin: 0;
  color: #5f695f;
  font-size: 0.92rem;
  line-height: 1.5;
}

.member-tool-card a,
.member-tool-card button {
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #173a27;
  color: #fff;
  padding: 0 14px;
  font-weight: 950;
  text-align: center;
}

.member-tool-card button {
  width: 100%;
}

.member-tool-card.gift-card {
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 214, 95, 0.42), transparent 30%),
    linear-gradient(135deg, #fff8e6, #ffffff);
  border-color: rgba(166, 111, 8, 0.26);
}

.subscription-card {
  background:
    radial-gradient(circle at 92% 10%, rgba(226, 194, 113, 0.18), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(249, 246, 237, 0.96));
}

/* ── 선결제 플랜 (테이블 행형) ───────────────────────── */
.subscription-plan-grid { display: flex; flex-direction: column; gap: 8px; }

/* 공식 박스 */
/* 타이틀 + 공식박스 행 */
.sp-title-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
}
.sp-title-left { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.sp-title-left span  { font-size: .78rem; font-weight: 700; color: #a07c1a; }
.sp-title-left strong { font-size: 1.5rem; font-weight: 900; color: #163b27; line-height: 1.2; }
.sp-title-left p { font-size: .78rem; color: #667063; margin: 0; }

.sp-formula-box {
  flex-shrink: 0;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px;
  background: #f7f5f0; border-radius: 14px; border: 1px solid #e8e3d8;
}
.sp-formula-item { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.sp-fi-icon {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 900;
}
.sp-fi-green { background: #163b27; color: #fff; }
.sp-fi-gold  { background: #fef3c7; color: #d97706; font-size: 1.3rem; }
.sp-fi-label { font-size: .68rem; font-weight: 700; color: #667063; white-space: nowrap; }
.sp-formula-op { font-size: 1.1rem; font-weight: 900; color: #b4a882; }

/* 컬럼 헤더 */
.sp-col-header {
  display: grid;
  grid-template-columns: 60px 72px 1fr 24px 1fr 20px 1fr 110px;
  gap: 6px; align-items: center;
  padding: 4px 10px;
  font-size: .68rem; font-weight: 700; color: #9a9688; text-align: center;
}
.sp-col-header > div { word-break: break-word; overflow-wrap: break-word; }

/* 데스크탑: 래퍼를 투명하게(display:contents) → 직접 grid children처럼 동작 */
.sp-top-row, .sp-calc-strip { display: contents; }

/* 플랜 행 */
.subscription-plan {
  position: relative; display: grid;
  grid-template-columns: 60px 72px 1fr 24px 1fr 20px 1fr 110px;
  gap: 6px; align-items: center;
  padding: 10px; margin-top: 4px;
  border-radius: 14px; border: 1.5px solid #e4ede0; background: #fff;
}
.subscription-plan.is-best {
  border-color: #c9a227;
  background: linear-gradient(135deg,#fffef5,#fff);
  box-shadow: 0 4px 16px rgba(201,162,39,.14);
}

/* BEST 배지 */
.subscription-plan mark {
  position: absolute; top: -12px; left: 10px;
  background: #c9a227; color: #fff;
  font-size: .6rem; font-weight: 900; letter-spacing: .06em;
  padding: 3px 10px; border-radius: 999px;
  box-shadow: 0 2px 6px rgba(201,162,39,.4);
}

/* 주 원형 */
.sp-week-circle {
  width: 50px; height: 50px; border-radius: 50%;
  background: #f0ede6; border: 1.5px solid #ddd8cc;
  display: flex; align-items: center; justify-content: center;
}
.sp-week-num { font-size: .95rem; font-weight: 900; color: #163b27; }
.subscription-plan.is-best .sp-week-circle { background: #fef3c7; border-color: #c9a227; }
.subscription-plan.is-best .sp-week-num { color: #a07c1a; }

/* 보너스 배지 */
.sp-bonus-badge {
  display: flex; flex-direction: column; align-items: center;
  background: #fef9ec; border: 1px solid #fde68a;
  border-radius: 10px; padding: 6px 8px; gap: 1px;
}
.sp-pct-num   { font-size: .95rem; font-weight: 900; color: #d97706; }
.sp-pct-label { font-size: .6rem;  font-weight: 700; color: #b45309; text-align: center; word-break: break-word; overflow-wrap: break-word; max-width: 100%; }

/* 결제 금액 박스 */
.sp-charge-box {
  display: flex; flex-direction: column; align-items: center;
  background: #f7f7f5; border: 1px solid #e8e8e4;
  border-radius: 10px; padding: 8px 6px; gap: 1px;
}
.sp-detail-charge { font-size: 1rem; font-weight: 900; color: #163b27; }
.sp-charge-word   { font-size: .6rem; font-weight: 600; color: #8a9688; text-align: center; word-break: break-word; overflow-wrap: break-word; max-width: 100%; }

/* 화살표 = */
.sp-arrow { font-size: .95rem; font-weight: 700; color: #b4a882; text-align: center; }

/* 보너스 적립 박스 */
.sp-bonus-box {
  display: flex; flex-direction: column; align-items: center;
  background: #fffbf0; border: 1px solid #fde68a;
  border-radius: 10px; padding: 8px 6px; gap: 1px;
}
.sp-detail-bonus { font-size: 1rem; font-weight: 900; color: #d97706; }
.sp-bonus-word   { font-size: .6rem; font-weight: 600; color: #b45309; text-align: center; word-break: break-word; overflow-wrap: break-word; max-width: 100%; }

/* 총 크레딧 박스 */
.sp-total-box {
  display: flex; flex-direction: column; align-items: center;
  background: #f0fdf4; border: 1.5px solid #bbf7d0;
  border-radius: 10px; padding: 8px 6px; gap: 1px;
}
.sp-total-box-best { background: #fffbeb; border-color: #c9a227; }
.sp-total-lbl    { font-size: .6rem;  font-weight: 700; color: #667063; text-align: center; word-break: break-word; overflow-wrap: break-word; max-width: 100%; }
.sp-total-amount { font-size: 1.05rem; font-weight: 900; color: #163b27; }
.subscription-plan.is-best .sp-total-amount { color: #a07c1a; }
.sp-credit-provide { font-size: .6rem; font-weight: 600; color: #8a9688; text-align: center; word-break: break-word; overflow-wrap: break-word; max-width: 100%; }

/* 선결제 버튼 */
.prepay-btn {
  width: 100%; padding: 11px 8px;
  border: none; border-radius: 10px;
  background: #163b27; color: #fff;
  font-size: .82rem; font-weight: 700; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 4px;
  transition: background .15s; white-space: nowrap;
}
.prepay-btn:hover { background: #1e5237; }

/* 푸터 */
.sp-footer {
  text-align: center; padding: 8px 0 2px;
  font-size: .74rem; color: #8a9688; font-weight: 600;
  border-top: 1px solid #e8ede6;
}

.gift-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.gift-actions button {
  background: #fff4cf;
  color: #173a27;
  border: 1px dashed #a66f08;
}

.referral-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.referral-stats b {
  display: grid;
  gap: 2px;
  padding: 10px 8px;
  border-radius: 12px;
  background: #f3f8ef;
  text-align: center;
}

.referral-stats em {
  color: #173a27;
  font-size: 1.35rem;
  font-style: normal;
  font-weight: 950;
}

.referral-stats small {
  color: #6b7469;
  font-size: 0.72rem;
}

.referral-list {
  display: grid;
  gap: 8px;
}

.referral-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(22, 59, 39, 0.1);
  border-radius: 12px;
  background: #fffdf8;
}

.referral-list strong,
.referral-list span {
  display: block;
}

.referral-list strong {
  color: #173a27;
  font-size: 0.9rem;
}

.referral-list span {
  color: #6b7469;
  font-size: 0.76rem;
  font-weight: 850;
}

.referral-list mark {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 6px 9px;
  background: #eef4ee;
  color: #173a27;
  font-size: 0.72rem;
  font-weight: 950;
}

.referral-list mark.active {
  background: #dff2d8;
}

.referral-list mark.warm {
  background: #fff1c5;
}

.referral-list mark.quiet {
  background: #ececec;
}

.member-referred-by-row {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(120, 153, 65, 0.12);
  color: var(--forest);
  font-size: 0.82rem;
  font-weight: 800;
}

.member-referred-by-row strong {
  color: #173a27;
}

.referral-signup-box {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1.5px solid rgba(22, 59, 39, 0.2);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(230, 246, 224, 0.95), rgba(255, 253, 242, 0.95));
  box-shadow: 0 2px 12px rgba(22, 59, 39, 0.07);
}

.referral-signup-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.referral-signup-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(22, 59, 39, 0.1);
  font-size: 1rem;
}

.referral-signup-head strong {
  display: block;
  color: var(--forest);
  font-size: 0.94rem;
  margin-bottom: 3px;
}

.referral-signup-head small {
  display: block;
  color: rgba(22, 59, 39, 0.62);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
}

.kakao-card {
  display: grid;
  gap: 10px;
}

.kakao-card > span {
  color: #5a4e32;
  font-weight: 950;
}

.kakao-bubble {
  position: relative;
  padding: 18px;
  border-radius: 16px;
  background: #ffe16a;
  box-shadow: 0 14px 28px rgba(90, 72, 18, 0.12);
}

.kakao-bubble::before {
  content: "WeMeal";
  display: block;
  margin-bottom: 12px;
  color: #2a2413;
  font-weight: 950;
}

.kakao-bubble strong {
  display: block;
  margin-bottom: 8px;
  color: #1d1d1d;
}

.kakao-bubble p {
  margin: 0 0 12px;
  color: #3d392c;
  line-height: 1.45;
}

.kakao-bubble button {
  width: 100%;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  font-weight: 900;
}

.kakao-bubble.has-image {
  display: grid;
  grid-template-columns: 1fr 112px;
  gap: 12px;
  align-items: end;
}

.kakao-bubble.has-image img {
  width: 112px;
  height: 112px;
  border-radius: 14px;
  object-fit: cover;
}

.kakao-bubble code {
  display: block;
  margin: 8px 0 12px;
  padding: 10px;
  border: 1px dashed #91a35e;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #173a27;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 950;
}

.flow-card {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(22, 59, 39, 0.12);
}

.flow-card h3 {
  margin: 0 0 14px;
}

.flow-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  text-align: center;
  color: #173a27;
  font-size: 0.76rem;
  font-weight: 900;
}

.flow-row span {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(22, 59, 39, 0.18);
  border-radius: 999px;
  background: #f8fbf4;
}

.member-mobile-nav {
  display: none;
}

.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.admin-nav.is-hidden {
  display: none;
}

.admin-shell {
  padding: 42px clamp(18px, 4vw, 56px) 80px;
}

.admin-login {
  display: none;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 150px);
}

.admin-login h1 {
  margin-bottom: 12px;
  color: var(--forest);
  font-size: clamp(42px, 7vw, 82px);
}

.admin-login p {
  color: var(--muted);
  line-height: 1.7;
}

.admin-login-form {
  display: grid;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 24px;
  box-shadow: 0 16px 44px rgba(28, 42, 34, 0.1);
}

.admin-content {
  display: block;
}

.admin-shell.is-locked .admin-login {
  display: grid;
}

.admin-shell.is-locked .admin-content {
  display: none;
}

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

.admin-hero h1 {
  margin-bottom: 10px;
  color: var(--forest);
  font-size: clamp(42px, 7vw, 84px);
}

.admin-hero p {
  max-width: 720px;
  color: var(--muted);
  line-height: 1.7;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.admin-metrics article,
.admin-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(28, 42, 34, 0.08);
}

.admin-metrics article {
  display: grid;
  gap: 10px;
  padding: 20px;
}

.admin-metrics span,
.admin-panel-head span {
  color: var(--muted);
  font-size: 13px;
}

.admin-metrics strong {
  color: var(--forest);
  font-size: 34px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(320px, 1fr);
  gap: 18px;
}

.admin-panel {
  padding: 22px;
}

.admin-panel.wide {
  grid-column: 1 / -1;
}

.admin-panel-head {
  margin-bottom: 18px;
}

.admin-panel h2 {
  margin-bottom: 6px;
  font-size: 28px;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form.compact {
  margin-bottom: 22px;
}

.sales-list {
  display: grid;
  gap: 10px;
}

.sales-list div,
.admin-table-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.sales-list div:last-child {
  border-bottom: 0;
}

.sales-list span {
  color: var(--forest);
  font-weight: 900;
}

.sales-list strong {
  color: var(--muted);
}

.admin-table {
  overflow-x: auto;
}

.admin-table-row {
  grid-template-columns: 1.2fr 0.5fr 0.8fr 0.5fr 0.7fr;
  min-width: 720px;
}

.admin-table-row.review-row {
  grid-template-columns: 0.8fr 1.2fr 0.8fr 0.7fr 0.8fr 0.4fr;
  min-width: 860px;
}

.admin-table-row a {
  color: var(--tomato);
  font-weight: 900;
}

.admin-table-row.head {
  color: var(--forest);
  font-weight: 900;
}

/* ============= 모바일 햄버거 메뉴 / 드로어 ============= */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.18); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 30, 22, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 998;
}
.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 12px;
  right: 12px;
  width: min(292px, 74vw);
  height: auto;
  max-height: calc(100dvh - 24px);
  background: #fbf8f2;
  border: 1px solid rgba(22, 59, 39, 0.1);
  border-radius: 20px;
  box-shadow: -8px 10px 34px rgba(15, 30, 22, 0.22);
  display: flex;
  flex-direction: column;
  padding: 18px;
  z-index: 999;
  transform: translateX(calc(100% + 18px));
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(22, 59, 39, 0.12);
}
.drawer-title {
  font-weight: 800;
  font-size: 18px;
  color: var(--forest, #163b27);
  letter-spacing: 0.04em;
}
.drawer-logo {
  width: 118px;
  height: 36px;
  object-fit: contain;
  object-position: left center;
  display: block;
}
.drawer-close {
  background: transparent;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--forest, #163b27);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.drawer-close:hover { background: rgba(22, 59, 39, 0.08); }

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}
.drawer-nav a {
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--forest, #163b27);
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.18s ease;
}
.drawer-nav a:hover { background: rgba(22, 59, 39, 0.06); }

.drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(22, 59, 39, 0.12);
}
.drawer-cta {
  display: block;
  padding: 11px 14px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  border-radius: 10px;
  text-decoration: none;
  border: 1.5px solid var(--forest, #163b27);
  color: var(--forest, #163b27);
  background: transparent;
  transition: background 0.18s ease, color 0.18s ease;
}
.drawer-cta:hover {
  background: rgba(22, 59, 39, 0.08);
}
.drawer-cta-primary {
  background: var(--forest, #163b27);
  color: #fff;
}
.drawer-cta-primary:hover {
  background: #0f2a1d;
  color: #fff;
}

.drawer-lang {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(22, 59, 39, 0.12);
  border-radius: 10px;
}
.drawer-lang span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest, #163b27);
}
.drawer-lang select {
  flex: 1;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid rgba(22, 59, 39, 0.2);
  border-radius: 8px;
  background: #fff;
  color: var(--forest, #163b27);
}

body.drawer-open {
  overflow: hidden;
}

/* ============= 1180px 이하 (아이패드 랜드스케이프) ============= */
@media (max-width: 1180px) and (min-width: 981px) {
  .top-nav {
    gap: 14px;
    font-size: 12.5px;
  }
  .header-action {
    padding: 0 11px;
    font-size: 12px;
    min-height: 34px;
  }
  .header-actions {
    gap: 6px;
  }
  .language-picker {
    font-size: 12px;
    padding: 0 10px;
    min-height: 34px;
  }
}

/* ============= 980px 이하 (모바일 + 작은 태블릿) ============= */
@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .top-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-action {
    display: none;
  }

  .header-login,
  .header-logout {
    display: none !important;
  }

  .language-picker {
    display: none;
  }

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

  .menu-grid,
  .process-grid,
  .order-layout,
  .poster-section,
  .packing-steps,
  .past-menu-panel,
  .countdown-band {
    grid-template-columns: 1fr 1fr;
  }

  .meal-rating-form {
    grid-template-columns: 1fr 1fr;
  }

  .past-menu-copy {
    grid-template-columns: 1fr;
  }

  .past-menu-review-board .past-menu-copy {
    grid-template-columns: 1fr;
  }

  .past-menu-panel.past-menu-review-board,
  .past-menu-panel.past-menu-review-board > * {
    grid-column: 1 / -1;
  }

  .meal-rating-form .rating-comment,
  .meal-rating-form button {
    grid-column: 1 / -1;
  }

  .past-menu-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .past-menu-panel.past-menu-review-board .review-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-review-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .order-summary {
    position: static;
  }

  .login-shell {
    grid-template-columns: 1fr;
  }

  .admin-metrics,
  .admin-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============= 768px 태블릿 breakpoint ============= */
@media (max-width: 768px) {
  .menu-grid,
  .process-grid,
  .order-layout,
  .poster-section,
  .packing-steps,
  .past-menu-panel,
  .past-menu-list,
  .meal-rating-form {
    grid-template-columns: 1fr;
  }

  .countdown-band {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .past-menu-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-card-list img {
    height: 110px;
  }

  .past-menu-panel.past-menu-review-board .review-card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-review-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-filter-bar {
    display: flex;
  }

  .review-filter-bar button,
  .review-filter-bar span {
    margin-left: 0;
  }

  .review-filter-bar em {
    flex: 1 1 180px;
  }

  .admin-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .admin-grid {
    grid-template-columns: 1fr;
  }

  .hero-info-grid {
    grid-template-columns: 1fr;
  }

  .promise-section {
    padding: 56px 18px 64px;
    gap: 28px;
  }

  .promise-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

}

@media (max-width: 680px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-action {
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .language-picker {
    min-height: 36px;
    padding: 0 10px;
  }

  .language-picker span {
    display: none;
  }

  .language-picker select {
    min-width: 82px;
  }

  .hero {
    min-height: 76svh;
    padding: 92px 18px 36px;
  }

  .hero h1 {
    max-width: 360px;
    font-size: clamp(34px, 9.5vw, 48px);
  }

  .hero-actions,
  .section-cta,
  .site-footer {
    flex-direction: column;
  }

  .brand-logo {
    width: 142px;
    height: 46px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .section-cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .floating-contact-button {
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
    width: 54px;
    height: 54px;
    justify-content: center;
    padding: 0;
  }

  .floating-contact-button span {
    width: auto;
    height: auto;
    background: transparent;
    font-size: 13px;
  }

  .floating-contact-button strong {
    display: none;
  }

  .stats-band,
  .countdown-band,
  .hero-info-grid,
  .menu-grid,
  .process-grid,
  .order-layout,
  .customer-layout,
    .poster-section,
    .promise-grid,
    .packing-steps,
    .past-menu-panel,
    .past-menu-list,
    .meal-rating-form,
    .public-review-list,
    .field-row,
  .auth-choice,
  .payment-methods,
  .menu-detail-body {
    grid-template-columns: 1fr;
  }

  .past-menu-review-board {
    padding: 14px;
  }

  .past-menu-review-board .past-menu-copy {
    grid-template-columns: 1fr;
  }

  .past-score-summary {
    padding: 14px;
  }

  .past-menu-panel.past-menu-review-board .review-card-list {
    grid-template-columns: 1fr;
  }

  .review-card-list img {
    height: 118px;
  }

  .card-star-row button {
    font-size: 19px;
  }

  .reviewer-name-input,
  .review-comment-input {
    min-height: 38px;
    font-size: 12px;
  }

  .public-review-panel {
    padding: 14px;
  }

  .public-review-head {
    display: grid;
    gap: 4px;
  }

  .review-filter-bar {
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .review-filter-bar select {
    max-width: none;
    width: 100%;
  }

  .review-filter-bar strong,
  .review-filter-bar span,
  .review-filter-bar em,
  .review-filter-bar button {
    white-space: normal;
  }

  .review-filter-bar button {
    width: 100%;
    margin-left: 0;
  }

  .past-menu-panel {
    padding: 16px;
    gap: 16px;
  }

  .past-menu-panel h3 {
    font-size: 24px;
  }

  .past-menu-copy {
    grid-template-columns: 1fr;
  }

  .past-menu-list {
    gap: 10px;
  }

  .past-menu-list img {
    height: 104px;
  }

  .past-menu-list span {
    padding: 9px;
    font-size: 12px;
  }

  .past-menu-list strong {
    min-height: auto;
  }

  .meal-rating-form {
    gap: 10px;
    padding-top: 14px;
  }

  .bundle-card {
    grid-column: span 1;
  }

  .countdown-band {
    padding: 26px 18px;
  }

  .countdown-simple {
    min-width: 0;
  }

  .heading-logo {
    width: 168px;
    height: 52px;
    margin: 0 4px;
  }

  .login-title-logo {
    width: min(220px, 62vw);
    height: 62px;
    object-position: left center;
  }

  .menu-bottom-row {
    align-items: flex-end;
  }

  .menu-actions {
    flex: 1 1 auto;
    min-width: 0;
  }

  .order-now-button {
    min-height: 44px;
    padding: 0 20px;
    font-size: .88rem;
  }

  .menu-info-row {
    align-items: flex-start;
    gap: 10px;
  }

  .menu-flags span,
  .stock-badge {
    padding: 5px 8px;
    font-size: 11px;
  }

  .bundle-tile strong {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 13px;
  }

  .bundle-tile.label-right strong {
    right: 10px;
    left: auto;
  }

  .bundle-center {
    width: 44%;
    border-width: 7px;
  }

  .bundle-center strong {
    font-size: 16px;
  }

  .stats-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section,
  .poster-section,
  .packaging-section,
  .process-section,
  .order-section,
  .customer-section {
    padding: 64px 18px;
  }

  .order-section {
    padding-bottom: 96px;
  }

  .checkout-form,
  .order-summary {
    padding: 18px;
  }

  .order-summary {
    padding-bottom: 34px;
    margin-bottom: 24px;
  }

  .packing-animation {
    min-height: 360px;
  }

  .packing-bag {
    width: 84%;
    height: 160px;
  }

  .pack-item {
    min-width: 94px;
    min-height: 46px;
    font-size: 13px;
  }

  .menu-detail-body > img {
    min-height: 260px;
    max-height: 340px;
  }

  .login-header {
    min-height: 72px;
  }

  .login-header .brand-logo {
    width: 132px;
    height: 40px;
  }

  .login-shell {
    min-height: auto;
    display: flex;
    justify-content: center;
    padding: 86px 14px 28px;
  }

  .login-panel {
    max-width: 430px;
    padding: 18px;
    border-radius: 18px;
  }

  .login-brand {
    align-items: flex-start;
    margin-bottom: 12px;
  }

  .login-brand .eyebrow {
    margin-bottom: 8px;
  }

  .login-slogan {
    margin-top: 2px;
    font-size: 13px;
    letter-spacing: 0;
  }

  .login-tabs {
    margin-bottom: 12px;
    padding: 5px;
  }

  .login-tab,
  .google-signin-button {
    min-height: 38px;
  }

  .login-form,
  .auth-pane {
    gap: 10px;
  }

  .login-form input,
  .login-form select,
  .login-form textarea {
    padding: 10px 12px;
  }

  .auth-divider {
    margin: 2px 0;
  }

  .login-aside {
    display: none;
  }

  .login-options,
  .signup-prompt {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-header,
  .admin-hero,
  .admin-login {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-metrics,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .order-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* === Stripe 결제 주문 패널 === */

.admin-orders-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}

.filter-chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #d8d8d8;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  color: #444;
  transition: all 0.15s;
}

.filter-chip:hover {
  border-color: #1f4d36;
  color: #1f4d36;
}

.filter-chip.is-active {
  background: #1f4d36;
  border-color: #1f4d36;
  color: #fff;
}

.admin-orders-table .order-row {
  grid-template-columns: 1.4fr 1.4fr 0.8fr 0.9fr 0.9fr 1fr 0.9fr;
}

.admin-orders-table .order-row .mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  word-break: break-all;
}

.admin-orders-table .order-row .muted {
  color: #888;
  font-size: 12px;
}

.admin-orders-table .order-row small.muted {
  display: block;
  margin-top: 2px;
}

/* ============= WeMeal 관리자 대시보드 ============= */
.admin-dashboard-page {
  margin: 0;
  min-height: 100vh;
  background: #f7f8f6;
  color: #111c17;
  font-family: Inter, "Noto Sans KR", "Apple SD Gothic Neo", system-ui, sans-serif;
}

.admin-dashboard-page * {
  box-sizing: border-box;
}

.admin-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  width: 244px;
  padding: 18px 16px 24px;
  overflow-y: auto;
  background:
    radial-gradient(circle at 88% 4%, rgba(106, 181, 91, 0.22), transparent 28%),
    linear-gradient(180deg, #073f22 0%, #043118 48%, #052817 100%);
  color: #fff;
  box-shadow: 18px 0 36px rgba(5, 39, 24, 0.18);
}

.admin-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  color: #fff;
}

.admin-sidebar-brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
}

.admin-sidebar-brand strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1;
}

.admin-sidebar-brand small {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.admin-sidebar-nav {
  display: grid;
  gap: 3px;
}

.admin-sidebar-nav p {
  margin: 15px 8px 6px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  font-weight: 900;
}

.admin-sidebar-nav a {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.is-active {
  background: #fff9ed;
  color: #143820;
}

.admin-sidebar-nav i {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-style: normal;
  font-size: 0.68rem;
}

.admin-sidebar-nav i::before { content: "•"; }
.admin-sidebar-nav [data-icon="home"]::before { content: "⌂"; }
.admin-sidebar-nav [data-icon="clipboard"]::before { content: "▤"; }
.admin-sidebar-nav [data-icon="clock"]::before { content: "◷"; }
.admin-sidebar-nav [data-icon="calendar"]::before { content: "□"; }
.admin-sidebar-nav [data-icon="user"]::before { content: "○"; }
.admin-sidebar-nav [data-icon="award"]::before { content: "♕"; }
.admin-sidebar-nav [data-icon="ticket"]::before { content: "%"; }
.admin-sidebar-nav [data-icon="menu"]::before { content: "≡"; }
.admin-sidebar-nav [data-icon="list"]::before { content: "☷"; }
.admin-sidebar-nav [data-icon="box"]::before { content: "◇"; }
.admin-sidebar-nav [data-icon="chart"]::before { content: "⌁"; }
.admin-sidebar-nav [data-icon="package"]::before { content: "▣"; }
.admin-sidebar-nav [data-icon="store"]::before { content: "⌂"; }
.admin-sidebar-nav [data-icon="coupon"]::before { content: "✂"; }
.admin-sidebar-nav [data-icon="send"]::before { content: "✈"; }
.admin-sidebar-nav [data-icon="bar"]::before { content: "▥"; }
.admin-sidebar-nav [data-icon="target"]::before { content: "◎"; }
.admin-sidebar-nav [data-icon="pie"]::before { content: "◔"; }
.admin-sidebar-nav [data-icon="spark"]::before { content: "✦"; }
.admin-sidebar-nav [data-icon="gear"]::before { content: "⚙"; }
.admin-sidebar-nav [data-icon="account"]::before { content: "♙"; }

.admin-sidebar-nav em,
.admin-card-head h2 em {
  display: inline-grid;
  place-items: center;
  min-height: 18px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #fff4c9;
  color: #063b20;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 950;
}

.admin-dashboard {
  margin-left: 244px;
  padding: 24px 28px 36px;
}

.admin-dashboard-topbar,
.admin-date-row,
.admin-card-head,
.admin-top-actions,
.admin-user-chip,
.admin-stat-grid,
.admin-main-grid {
  display: grid;
}

.admin-dashboard-topbar {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 20px;
  margin-bottom: 8px;
}

.admin-dashboard-topbar h1 {
  margin: 0 0 8px;
  color: #101915;
  font-size: 1.75rem;
  font-weight: 950;
}

.admin-dashboard-topbar p {
  margin: 0;
  color: #4f5b53;
  font-size: 0.95rem;
  font-weight: 700;
}

.admin-top-actions {
  grid-auto-flow: column;
  align-items: center;
  gap: 14px;
}

.admin-top-actions button {
  position: relative;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #101915;
  font-size: 1.3rem;
  font-weight: 900;
}

.admin-top-actions button b {
  position: absolute;
  right: 2px;
  top: 0;
  width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ff5b5b;
  color: #fff;
  font-size: 0.58rem;
}

.admin-user-chip {
  grid-template-columns: 34px auto 14px;
  align-items: center;
  gap: 10px;
}

.admin-user-chip img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: contain;
}

.admin-user-chip strong,
.admin-user-chip small {
  display: block;
  line-height: 1.2;
}

.admin-user-chip small {
  color: #59635e;
  font-size: 0.76rem;
}

.admin-date-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin-bottom: 18px;
}

.admin-date-row button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #dfe5df;
  border-radius: 6px;
  background: #fff;
  color: #1c2821;
  font-weight: 800;
}

.admin-stat-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

.admin-stat-grid article,
.admin-card {
  border: 1px solid #e7ebe7;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(29, 43, 34, 0.05);
}

.admin-stat-grid article {
  position: relative;
  min-height: 136px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 20px 72px 20px 22px;
}

.admin-stat-grid article > span,
.admin-card-head a,
.admin-card-head button,
.admin-card > p {
  color: #5d675f;
}

.admin-stat-grid article > span {
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-stat-grid strong {
  color: #0e1712;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 950;
}

.admin-stat-grid strong em {
  font-size: 1rem;
  font-style: normal;
}

.admin-stat-grid small {
  color: #25332b;
  font-size: 0.86rem;
  font-weight: 750;
}

.admin-stat-grid small b {
  color: #126128;
}

.admin-stat-grid article > i {
  position: absolute;
  right: 22px;
  top: 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transform: translateY(-50%);
  font-style: normal;
  font-size: 1.85rem;
}

.admin-stat-grid .green { background: #e6f2e8; color: #0b702f; }
.admin-stat-grid .orange { background: #fff0e7; color: #f36f2c; }
.admin-stat-grid .purple { background: #efe7ff; color: #6b3bd8; }
.admin-stat-grid .blue { background: #e6f4ff; color: #2176c7; }
.admin-stat-grid .gold { background: #fff4d8; color: #d39a18; }

.admin-main-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.admin-card {
  min-width: 0;
  padding: 20px;
}

.admin-card-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.admin-card-head h2 {
  margin: 0;
  color: #121c16;
  font-size: 1.15rem;
  font-weight: 950;
}

.admin-card-head button,
.admin-card-head a,
.admin-menu-list button,
.ai-menu-grid button {
  border: 0;
  background: transparent;
  color: #315d3d;
  font-size: 0.84rem;
  font-weight: 900;
}

.sales-trend-card,
.quick-card {
  grid-column: span 6;
}

.tier-card-admin {
  grid-column: span 3;
}

.alert-card {
  grid-column: span 3;
}

.menu-control-card,
.customer-card,
.ai-card {
  grid-column: span 4;
}

.weekly-summary-card {
  grid-column: span 6;
}

.chart-legend {
  display: flex;
  gap: 14px;
  align-items: center;
  margin: 0 0 10px 46px;
  color: #25342b;
  font-size: 0.78rem;
  font-weight: 800;
}

.chart-legend span {
  width: 18px;
  height: 3px;
  border-radius: 999px;
}

.chart-legend .sales { background: #176d34; }
.chart-legend .orders { background: #f47c20; }

.line-chart svg {
  width: 100%;
  height: 260px;
  display: block;
}

.line-chart .grid-line {
  fill: none;
  stroke: #e5e9e5;
  stroke-dasharray: 4 5;
}

.line-chart .area { fill: url(#salesFill); }
.line-chart .sales-line,
.line-chart .orders-line,
.weekly-summary svg polyline {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.line-chart .sales-line { stroke: #176d34; }
.line-chart .orders-line { stroke: #f47c20; }

.chart-axis {
  display: flex;
  justify-content: space-between;
  padding: 0 10px 0 38px;
  color: #667068;
  font-size: 0.8rem;
  font-weight: 800;
}

.donut-wrap {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 28px;
  align-items: center;
}

.donut-chart {
  width: 180px;
  height: 180px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(#c8942c 0 6%, #6f9e68 6% 24%, #5b88be 24% 69%, #cfcfcf 69% 100%);
}

.donut-chart span {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  text-align: center;
  color: #47514b;
  font-size: 0.78rem;
  font-weight: 800;
}

.donut-chart strong {
  color: #101915;
  font-size: 1.2rem;
}

.donut-wrap ul,
.admin-alert-list,
.admin-menu-list,
.ai-menu-grid,
.quick-actions {
  display: grid;
}

.donut-wrap ul {
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.donut-wrap li {
  display: grid;
  grid-template-columns: 14px 74px 1fr;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.donut-wrap li i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.donut-wrap .premium { background: #c8942c; }
.donut-wrap .vip { background: #6f9e68; }
.donut-wrap .regular { background: #5b88be; }
.donut-wrap .starter { background: #cfcfcf; }

.admin-alert-list div {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 4px 12px;
  padding: 14px 0;
  border-bottom: 1px solid #edf0ed;
}

.admin-alert-list div:last-child {
  border-bottom: 0;
}

.admin-alert-list i {
  grid-row: span 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-style: normal;
}

.admin-alert-list .gold { background: #d7a53c; }
.admin-alert-list .green { background: #5b965d; }
.admin-alert-list .blue { background: #4d82bd; }
.admin-alert-list .purple { background: #8f61c7; }

.admin-alert-list strong {
  color: #142119;
  font-size: 0.96rem;
}

.admin-alert-list span {
  color: #515d55;
  font-size: 0.86rem;
}

.admin-alert-list small {
  color: #9aa29c;
  font-size: 0.76rem;
}

.menu-control-card {
  grid-row: auto;
}

.admin-menu-inline-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0 0;
  padding: 10px;
  border: 1px solid #e4ebe4;
  border-radius: 10px;
  background: #fbfdfb;
}

.admin-menu-add-panel {
  margin: -2px 0 12px;
  border: 1px solid #e4ebe4;
  border-radius: 10px;
  background: #fbfdfb;
}

.admin-menu-add-panel summary {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  color: #105d31;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 950;
}

.admin-menu-inline-form input,
.admin-menu-inline-form select,
.admin-menu-inline-form textarea {
  width: 100%;
  min-height: 34px;
  border: 1px solid #dfe7df;
  border-radius: 7px;
  background: #fff;
  padding: 7px 9px;
  color: #26372d;
  font: inherit;
  font-size: 0.78rem;
}

.admin-menu-inline-form textarea {
  grid-column: span 2;
  resize: vertical;
}

.admin-menu-inline-form label {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #435149;
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-menu-inline-form button {
  min-height: 34px;
  border: 0;
  border-radius: 7px;
  background: #0a6531;
  color: #fff;
  font-weight: 950;
}

.admin-inline-status {
  min-height: 18px;
  margin: -4px 0 10px;
  color: #0a6531;
  font-size: 0.78rem;
  font-weight: 850;
}

.admin-card-head > div {
  display: flex;
  gap: 8px;
}

.admin-card-head > div button:first-child {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 7px;
  background: #0a6531;
  color: #fff;
}

.admin-card-head > div .outline {
  border: 1px solid #b8d0bd;
  background: #fff;
  color: #1b5f34;
}

.admin-tabs {
  display: flex;
  gap: 26px;
  padding: 0 0 12px;
  border-bottom: 1px solid #edf0ed;
  color: #52605a;
  font-size: 0.86rem;
  font-weight: 850;
}

.admin-tabs .is-active {
  color: #0b632e;
}

.admin-menu-list div {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 72px 36px 48px 20px;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid #edf0ed;
}

.admin-menu-list img,
.ai-menu-grid img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}

.admin-menu-list strong,
.admin-menu-list small {
  display: block;
}

.admin-menu-list strong {
  font-size: 0.92rem;
}

.admin-menu-list small {
  margin-top: 3px;
  color: #59645d;
  font-size: 0.72rem;
  line-height: 1.35;
}

.admin-menu-list b {
  color: #111c17;
  font-size: 0.88rem;
}

.admin-menu-list em {
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background: #1b7438;
  box-shadow: inset 15px 0 0 #fff;
}

.admin-menu-list em.is-off {
  background: #c7cec8;
}

.admin-menu-list button {
  min-height: 30px;
  border: 1px solid #d9e1da;
  border-radius: 7px;
  color: #24342a;
}

.admin-card-link {
  display: block;
  margin-top: 12px;
  color: #315d3d;
  text-align: right;
  font-size: 0.86rem;
  font-weight: 900;
}

.admin-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 12px;
  margin-bottom: 12px;
}

.admin-search-row input,
.admin-search-row button {
  min-height: 36px;
  border: 1px solid #dfe5df;
  border-radius: 7px;
  background: #fff;
  padding: 0 12px;
  color: #39463f;
}

.admin-customer-table {
  display: grid;
  gap: 0;
  overflow-x: auto;
}

.admin-customer-table > div {
  min-width: 650px;
  display: grid;
  grid-template-columns: 1.3fr 70px 120px 80px 100px 48px;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid #edf0ed;
  font-size: 0.82rem;
}

.admin-customer-table .head {
  color: #68746d;
  font-size: 0.72rem;
  font-weight: 900;
}

.admin-customer-table b,
.admin-customer-table small {
  display: block;
}

.admin-customer-table small {
  color: #7a847d;
  font-size: 0.7rem;
}

.admin-customer-table em {
  display: inline-grid;
  place-items: center;
  min-height: 22px;
  border-radius: 999px;
  background: #fff4cf;
  color: #b2770b;
  font-style: normal;
  font-weight: 900;
}

.admin-customer-table em.premium { background: #e5f4e7; color: #2d8138; }
.admin-customer-table em.regular { background: #e7f0ff; color: #2f67a9; }
.admin-customer-table a { color: #15642f; font-weight: 900; }

.ai-card {
  grid-row: auto;
}

.ai-card > p {
  margin: -4px 0 14px;
  font-size: 0.85rem;
}

.ai-menu-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ai-menu-grid div {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid #e3e8e3;
  border-radius: 10px;
  background: #fff;
}

.ai-menu-grid mark {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0d6b31;
  color: #fff;
  font-weight: 950;
}

.ai-menu-grid div:nth-child(3) mark {
  background: #c99532;
}

.ai-menu-grid img {
  width: 100%;
  aspect-ratio: 1 / 0.75;
}

.ai-menu-grid strong {
  text-align: center;
  font-size: 0.9rem;
}

.ai-menu-grid span {
  display: flex;
  justify-content: space-between;
  color: #515d56;
  font-size: 0.75rem;
}

.ai-menu-grid button {
  min-height: 32px;
  border-radius: 7px;
  background: #0b6230;
  color: #fff;
}

.ai-week-plan {
  border: 1.5px solid #e6ebe6;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffffff 0%, #fbfaf5 100%);
  overflow: hidden;
}

.ai-week-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid #edf1ed;
}

.ai-week-head span {
  color: #b07a13;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.ai-week-head h3 {
  margin: 4px 0;
  color: #101915;
  font-size: 1.15rem;
}

.ai-week-head p,
.ai-chef-summary {
  color: #5f6b64;
  font-size: 0.82rem;
}

.ai-week-price {
  min-width: 120px;
  text-align: right;
}

.ai-week-price small,
.ai-week-metrics small {
  display: block;
  color: #718078;
  font-size: 0.7rem;
  font-weight: 800;
}

.ai-week-price strong {
  color: #123d27;
  font-size: 1.25rem;
}

.ai-week-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 20px;
  background: #f7faf7;
  border-bottom: 1px solid #edf1ed;
}

.ai-week-metrics div {
  padding: 10px;
  border: 1px solid #e5ebe5;
  border-radius: 10px;
  background: #fff;
}

.ai-week-metrics strong {
  display: block;
  margin-top: 3px;
  color: #10291d;
  font-size: 0.95rem;
}

.ai-chef-summary {
  padding: 14px 20px 0;
  line-height: 1.6;
}

.ai-week-menu-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 20px 20px;
}

.ai-week-menu {
  display: grid;
  gap: 9px;
  min-width: 0;
  padding: 10px;
  border: 1px solid #e4eae4;
  border-radius: 12px;
  background: #fff;
}

.ai-photo-placeholder {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 120px;
  padding: 12px;
  border-radius: 10px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(16, 25, 21, 0.05), rgba(16, 25, 21, 0.78)),
    radial-gradient(circle at 80% 20%, #d7a747, transparent 34%),
    linear-gradient(135deg, #174a30, #f4e9d3);
}

.ai-photo-placeholder span {
  position: absolute;
  left: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0b5c31;
  font-weight: 950;
}

.ai-photo-placeholder strong,
.ai-photo-placeholder small {
  position: relative;
  z-index: 1;
}

.ai-week-menu > div:nth-child(2) strong {
  display: block;
  color: #111c17;
  font-size: 0.88rem;
}

.ai-week-menu > div:nth-child(2) small,
.ai-week-menu p {
  color: #66736b;
  font-size: 0.72rem;
  line-height: 1.45;
}

.ai-menu-costs {
  display: grid;
  gap: 4px;
  color: #26352c;
  font-size: 0.72rem;
  font-weight: 800;
}

.ai-menu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ai-menu-tags em {
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef5ee;
  color: #28513b;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 850;
}

.ai-photo-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.ai-photo-actions a {
  display: grid;
  min-height: 30px;
  place-items: center;
  border: 1px solid #d5ded6;
  border-radius: 8px;
  color: #0b5c31;
  background: #f8faf8;
  font-size: 0.7rem;
  font-weight: 900;
}

.ai-manager-note {
  padding: 18px 20px;
  color: #445048;
  font-size: 0.82rem;
  line-height: 1.65;
}

.ai-manager-note strong {
  display: block;
  margin-bottom: 8px;
  color: #10291d;
  font-size: 0.95rem;
}

@media (max-width: 1180px) {
  .ai-week-menu-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ai-week-metrics,
  .ai-week-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ai-week-head {
    display: grid;
  }

  .ai-week-price {
    text-align: left;
  }

  .ai-week-metrics,
  .ai-week-menu-grid {
    grid-template-columns: 1fr;
  }
}

.quick-actions {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.quick-actions button {
  min-height: 44px;
  border: 1px solid #e3e8e3;
  border-radius: 8px;
  background: #fff;
  color: #244334;
  font-weight: 900;
}

.weekly-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 1.3fr;
  gap: 12px;
  align-items: center;
}

.weekly-summary span {
  display: grid;
  gap: 3px;
  color: #5d675f;
  font-size: 0.72rem;
  font-weight: 900;
}

.weekly-summary strong {
  color: #111c17;
  font-size: 1rem;
}

.weekly-summary small {
  color: #0b7030;
}

.weekly-summary svg {
  width: 100%;
  height: 60px;
}

.weekly-summary svg polyline {
  stroke: #176d34;
  stroke-width: 4;
}

@media (max-width: 1260px) {
  .admin-stat-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-main-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .sales-trend-card,
  .quick-card,
  .weekly-summary-card {
    grid-column: span 6;
  }

  .tier-card-admin,
  .alert-card,
  .menu-control-card,
  .customer-card,
  .ai-card {
    grid-column: span 3;
  }

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

@media (max-width: 900px) {
  .admin-sidebar {
    width: 176px;
    padding: 14px 10px 20px;
  }

  .admin-sidebar-brand {
    gap: 8px;
  }

  .admin-sidebar-brand img {
    width: 40px;
    height: 40px;
  }

  .admin-sidebar-brand strong {
    font-size: 1.25rem;
  }

  .admin-sidebar-nav p {
    margin: 12px 6px 4px;
    font-size: 0.78rem;
  }

  .admin-sidebar-nav a {
    min-height: 32px;
    gap: 8px;
    padding: 7px 8px;
    font-size: 0.78rem;
  }

  .admin-dashboard {
    margin-left: 176px;
    padding: 18px 14px 28px;
  }

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

  .sales-trend-card,
  .quick-card,
  .weekly-summary-card,
  .menu-control-card,
  .customer-card,
  .ai-card {
    grid-column: span 4;
  }

  .tier-card-admin,
  .alert-card {
    grid-column: span 2;
  }

  .admin-menu-inline-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-stat-grid article {
    min-height: 116px;
    padding: 16px 54px 16px 16px;
  }

  .admin-stat-grid article > i {
    right: 14px;
    width: 44px;
    height: 44px;
    font-size: 1.45rem;
  }

  .admin-stat-grid strong {
    font-size: 1.45rem;
  }

  .admin-menu-list div {
    grid-template-columns: 46px minmax(0, 1fr) 56px 28px 42px 16px;
    gap: 7px;
  }

  .admin-menu-list img {
    width: 46px;
    height: 46px;
  }

  .tier-card-admin,
  .alert-card {
    padding: 16px;
  }

  .donut-wrap {
    grid-template-columns: 116px 1fr;
    gap: 12px;
  }

  .donut-chart {
    width: 116px;
    height: 116px;
  }

  .donut-chart span {
    width: 66px;
    height: 66px;
    font-size: 0.62rem;
  }

  .donut-chart strong {
    font-size: 0.92rem;
  }

  .donut-wrap ul {
    gap: 7px;
  }

  .donut-wrap li {
    grid-template-columns: 10px 1fr;
    gap: 6px;
    font-size: 0.72rem;
  }

  .donut-wrap li span {
    grid-column: 2;
    color: #606a63;
    font-size: 0.68rem;
  }

  .admin-alert-list div {
    grid-template-columns: 34px 1fr;
    gap: 2px 9px;
    padding: 10px 0;
  }

  .admin-alert-list i {
    width: 30px;
    height: 30px;
  }

  .admin-alert-list small {
    grid-column: 2;
  }

  .admin-alert-list strong,
  .admin-alert-list span {
    font-size: 0.74rem;
    line-height: 1.25;
  }
}

@media (max-width: 640px) {
  .admin-sidebar {
    position: static;
    width: auto;
    max-height: 420px;
  }

  .admin-dashboard {
    margin-left: 0;
    padding: 18px;
  }

  .admin-main-grid,
  .admin-dashboard-topbar,
  .donut-wrap {
    grid-template-columns: 1fr;
  }

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

  .quick-actions,
  .weekly-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-menu-inline-form {
    grid-template-columns: 1fr;
  }

  .admin-menu-inline-form textarea {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .admin-stat-grid {
    grid-template-columns: 1fr;
  }

  .admin-dashboard {
    padding: 12px;
  }

  .admin-card,
  .admin-stat-grid article {
    padding: 16px;
  }
}

.pay-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
}

.badge-paid { background: #e8f5e9; color: #2e7d32; }
.badge-pending { background: #fff8e1; color: #f57f17; }
.badge-failed { background: #ffebee; color: #c62828; }
.badge-refunded { background: #e3f2fd; color: #1565c0; }

.refund-btn {
  padding: 4px 10px;
  background: #fff;
  border: 1px solid #d32f2f;
  color: #d32f2f;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
}

.refund-btn:hover:not(:disabled) {
  background: #d32f2f;
  color: #fff;
}

.refund-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============= 사진 쇼케이스 (Behind the scenes) ============= */
.photo-showcase {
  padding: 64px 24px 72px;
  background: #f4ede0;
  display: grid;
  gap: 30px;
}
.photo-showcase .section-heading {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.photo-showcase .section-heading h2 {
  font-size: clamp(26px, 4vw, 34px);
  color: var(--forest, #163b27);
  margin: 4px 0 10px;
  font-weight: 800;
}
.photo-showcase .section-heading p {
  color: #5a6b62;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}

.photo-card {
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #0f2a1d;
  aspect-ratio: 4 / 5;
  box-shadow: 0 8px 24px rgba(15, 30, 22, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.photo-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(15, 30, 22, 0.22);
}
.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.22) contrast(1.08) brightness(1.08) sepia(0.04);
}
.photo-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 14px 14px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
  text-align: center;
}

.kakao-poster-section {
  padding: 56px 24px 72px;
  background: #fbf8f2;
}

.kakao-poster-frame {
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(22, 59, 39, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(22, 59, 39, 0.12);
}

.kakao-poster-frame img {
  width: 100%;
  display: block;
}

@media (max-width: 980px) {
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  .photo-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .photo-card {
    aspect-ratio: 4 / 5;
  }
}

/* ============= Homepage refresh: Premium + Process showcase ============= */
.promise-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}

.promise-feature-panel {
  position: sticky;
  top: 96px;
  padding: 28px;
  border: 1px solid rgba(97, 135, 82, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at top left, rgba(220, 235, 210, 0.55), transparent 35%),
    linear-gradient(180deg, #fffdfa 0%, #f4f0e6 100%);
  box-shadow: 0 22px 50px rgba(22, 59, 39, 0.08);
}

.promise-feature-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.promise-feature-brand img {
  width: min(170px, 58%);
  height: auto;
  object-fit: contain;
}

.promise-feature-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(74, 120, 43, 0.1);
  color: #416e2f;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.promise-feature-panel h3,
.process-feature-card h3 {
  margin: 0 0 14px;
  color: var(--forest, #163b27);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
}

.promise-feature-panel h3 span,
.process-feature-card h3 span {
  display: block;
  margin-top: 6px;
  color: #5c7756;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
}

.promise-feature-panel p,
.process-feature-card p {
  margin: 0;
  color: #4c5e55;
  line-height: 1.72;
}

.promise-feature-list,
.process-feature-list {
  margin: 18px 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.promise-feature-list li,
.process-feature-list li {
  position: relative;
  padding-left: 24px;
  color: #264331;
  font-weight: 650;
  line-height: 1.55;
}

.promise-feature-list li::before,
.process-feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, #7ba551 0%, #2f5d36 100%);
  box-shadow: 0 0 0 4px rgba(123, 165, 81, 0.14);
}

.promise-layout .promise-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
}

.promise-layout .promise-card {
  border-radius: 24px;
  border: 1px solid rgba(22, 59, 39, 0.08);
  box-shadow: 0 18px 42px rgba(22, 59, 39, 0.08);
}

.promise-layout .promise-card-toggle {
  min-height: 180px;
  padding: 22px 22px 20px;
}

.promise-layout .promise-card-head {
  margin-bottom: 12px;
}

.promise-layout .promise-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background-color: #eff5ea;
}

.promise-layout .promise-card strong {
  font-size: 18px;
}

.promise-layout .promise-card .promise-short {
  font-size: 14px;
  line-height: 1.65;
}

.promise-layout .promise-long {
  font-size: 14px;
}

.photo-showcase {
  background: linear-gradient(180deg, #fbf8f2 0%, #f5efe6 100%);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
  gap: 24px;
  max-width: 1240px;
  margin: 0 auto;
  align-items: start;
}

.process-feature-card {
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  border: 1px solid rgba(22, 59, 39, 0.08);
  box-shadow: 0 24px 56px rgba(22, 59, 39, 0.09);
}

.process-feature-media {
  aspect-ratio: 4 / 3;
  background: #e6ecdf;
}

.process-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.process-feature-body {
  padding: 26px;
}

.process-feature-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: rgba(74, 120, 43, 0.1);
  color: #547739;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.process-layout .photo-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: none;
  margin: 0;
}

.process-layout .photo-card {
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(22, 59, 39, 0.09);
}

.process-layout .photo-card figcaption {
  padding: 16px 14px 14px;
  font-size: 14px;
}

@media (max-width: 1080px) {
  .promise-layout,
  .process-layout {
    grid-template-columns: 1fr;
  }

  .promise-feature-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .promise-layout .promise-grid,
  .process-layout .photo-grid {
    grid-template-columns: 1fr;
  }

  .promise-feature-panel,
  .process-feature-body {
    padding: 22px;
  }

  .promise-feature-brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .promise-feature-brand img {
    width: 170px;
  }
}

/* ======================================================================
   Deploy-ready polish refresh (2026-05-02)
   Global visual refinement, icon treatment, and subtle illustration backgrounds
   ====================================================================== */
html {
  scroll-padding-top: 92px;
}

body {
  background:
    radial-gradient(circle at top right, rgba(123, 165, 81, 0.07), transparent 26%),
    radial-gradient(circle at left 20%, rgba(230, 95, 47, 0.06), transparent 22%),
    var(--paper);
}

.site-header {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(16, 24, 19, 0.78), rgba(16, 24, 19, 0.26));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 34px rgba(10, 18, 14, 0.16);
}

.top-nav a,
.header-action,
.language-picker,
.drawer-nav a,
.drawer-cta,
.primary-button,
.secondary-button,
.submit-button,
.signup-button {
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    color 180ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.header-action:hover,
.header-action:focus-visible,
.drawer-nav a:hover,
.drawer-nav a:focus-visible {
  color: #fff;
  transform: translateY(-1px);
}

.primary-button,
.secondary-button,
.submit-button,
.signup-button {
  box-shadow: 0 12px 24px rgba(22, 59, 39, 0.12);
}

.primary-button:hover,
.secondary-button:hover,
.submit-button:hover,
.signup-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(22, 59, 39, 0.18);
}

.hero,
.section,
.promise-section,
.photo-showcase,
.poster-section,
.process-section,
.order-section,
.customer-section,
.kakao-poster-section,
.countdown-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero {
  min-height: 86svh;
}

.hero::before {
  position: absolute;
  inset: auto auto -120px -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(242, 193, 100, 0.24), rgba(242, 193, 100, 0));
  z-index: 0;
}

.hero::after {
  position: absolute;
  top: 96px;
  right: clamp(18px, 5vw, 56px);
  width: min(340px, 32vw);
  aspect-ratio: 1 / 1;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 360 360'%3E%3Cg fill='none' stroke='%23f2c164' stroke-opacity='.38' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M74 267c29-40 54-92 70-151'/%3E%3Cpath d='M112 87c-26 4-45 27-47 53 27-2 50-21 47-53Z'/%3E%3Cpath d='M176 56c25 6 43 28 43 53-25-2-45-21-43-53Z'/%3E%3Cpath d='M230 86c26 22 42 50 50 82'/%3E%3Cpath d='M247 147c26 4 46 24 54 49'/%3E%3Cpath d='M198 212c42 9 76 34 95 70'/%3E%3Ccircle cx='255' cy='87' r='40'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  padding: clamp(24px, 4vw, 38px);
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(135deg, rgba(12, 20, 15, 0.54), rgba(12, 20, 15, 0.28));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1;
}

.hero-info-grid article,
.section-cta,
.countdown-simple,
.menu-card,
.poster-preview,
.packaging-feature,
.packaging-details figure,
.checkout-form,
.order-summary,
.terms-note,
.packing-steps article {
  border-radius: 26px;
}

.hero-info-grid article {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(9, 15, 11, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.countdown-band {
  margin: 24px clamp(16px, 4vw, 36px) 0;
  border: 1px solid rgba(22, 59, 39, 0.12);
  border-radius: 32px;
  background:
    radial-gradient(circle at right top, rgba(123, 165, 81, 0.12), transparent 28%),
    linear-gradient(135deg, #fffdfa 0%, #f2f6ef 100%);
  box-shadow: 0 22px 50px rgba(22, 59, 39, 0.08);
}

.countdown-band::after {
  position: absolute;
  right: 28px;
  bottom: -18px;
  width: 220px;
  height: 220px;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%23789941' stroke-opacity='.18' stroke-width='2'%3E%3Cpath d='M40 177c33-39 59-82 76-135'/%3E%3Cpath d='M79 67c-21 4-36 21-38 42 22-2 39-18 38-42Z'/%3E%3Cpath d='M135 40c22 5 37 22 37 43-21-2-39-19-37-43Z'/%3E%3Ccircle cx='174' cy='86' r='31'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}

.section-heading {
  position: relative;
  z-index: 1;
}

.section-heading .eyebrow,
.poster-content .eyebrow,
.packaging-copy .eyebrow,
.order-copy .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(230, 95, 47, 0.09);
  box-shadow: inset 0 0 0 1px rgba(230, 95, 47, 0.12);
}

.section-heading h2,
.poster-content h2,
.packaging-copy h2,
.order-copy h2 {
  position: relative;
}

.section-heading h2::after,
.poster-content h2::after,
.packaging-copy h2::after,
.order-copy h2::after {
  display: block;
  width: 84px;
  height: 5px;
  margin-top: 16px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, var(--tomato), rgba(208, 140, 45, 0.65));
}

.stats-band {
  gap: 18px;
  padding: 22px clamp(16px, 4vw, 34px) 10px;
  border-bottom: 0;
  background: transparent;
}

.stats-band div {
  border: 1px solid rgba(22, 59, 39, 0.08);
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f2 100%);
  box-shadow: 0 16px 40px rgba(22, 59, 39, 0.08);
}

.stats-band div:last-child {
  border-right: 1px solid rgba(22, 59, 39, 0.08);
}

.stats-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  background: none;
  -webkit-mask: none;
  mask: none;
}

.stats-icon::before {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  content: "";
  background: linear-gradient(180deg, rgba(121, 153, 65, 0.16), rgba(121, 153, 65, 0.08));
  box-shadow: inset 0 0 0 1px rgba(121, 153, 65, 0.18);
}

.stats-icon::after {
  position: absolute;
  inset: 14px;
  content: "";
  background: var(--forest);
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.promise-section {
  background:
    radial-gradient(circle at left top, rgba(123, 165, 81, 0.1), transparent 26%),
    linear-gradient(180deg, #fbf8f2 0%, #f7f2e8 100%);
}

.promise-section::before,
.photo-showcase::before,
.poster-section::before,
.order-section::before {
  position: absolute;
  content: "";
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: contain;
}

.promise-section::before {
  top: 64px;
  right: -24px;
  width: 320px;
  height: 320px;
  opacity: 0.55;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 320'%3E%3Cg fill='none' stroke='%237ba551' stroke-opacity='.22' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M57 234c30-41 54-83 68-139'/%3E%3Cpath d='M95 83c-23 4-40 24-42 47 23-2 43-20 42-47Z'/%3E%3Cpath d='M154 55c24 4 41 24 42 48-23-2-42-20-42-48Z'/%3E%3Cpath d='M216 98c20 18 33 43 37 67'/%3E%3Ccircle cx='232' cy='85' r='38'/%3E%3Cpath d='M183 187c37 9 68 34 84 69'/%3E%3C/g%3E%3C/svg%3E");
}

.promise-feature-panel,
.process-feature-card,
.poster-preview,
.order-summary,
.checkout-form {
  position: relative;
}

.promise-feature-panel::after,
.process-feature-card::after,
.poster-preview::before,
.order-summary::before,
.checkout-form::before {
  position: absolute;
  top: -70px;
  right: -54px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  content: "";
  pointer-events: none;
  background: radial-gradient(circle, rgba(123, 165, 81, 0.12), rgba(123, 165, 81, 0));
}

.promise-layout .promise-grid {
  align-items: stretch;
}

.promise-layout .promise-card {
  background: linear-gradient(180deg, #ffffff 0%, #fdfaf4 100%);
}

.promise-layout .promise-card:hover {
  box-shadow: 0 20px 38px rgba(22, 59, 39, 0.12);
}

.promise-layout .promise-icon {
  border-radius: 16px;
  background: linear-gradient(180deg, #f8faf5 0%, #edf3e8 100%);
}

.promise-layout .promise-icon::after {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  content: "";
  box-shadow: inset 0 0 0 1px rgba(121, 153, 65, 0.12);
}

.promise-layout .promise-arrow {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(121, 153, 65, 0.1);
  color: #547739;
}

.photo-showcase {
  background:
    radial-gradient(circle at right top, rgba(208, 140, 45, 0.08), transparent 22%),
    linear-gradient(180deg, #fbf8f2 0%, #f5efe6 100%);
}

.photo-showcase::before {
  bottom: 18px;
  left: -18px;
  width: 300px;
  height: 300px;
  opacity: 0.42;
  transform: rotate(12deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 320'%3E%3Cg fill='none' stroke='%23d08c2d' stroke-opacity='.18' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M79 222c37-47 66-96 82-158'/%3E%3Cpath d='M122 88c-24 4-43 25-45 50 25-2 46-21 45-50Z'/%3E%3Cpath d='M189 57c22 5 38 25 39 49-24-2-40-21-39-49Z'/%3E%3Ccircle cx='238' cy='94' r='34'/%3E%3Cpath d='M198 196c36 12 62 35 77 66'/%3E%3C/g%3E%3C/svg%3E");
}

.process-feature-card,
.process-layout .photo-card,
.poster-preview {
  border-radius: 30px;
}

.process-layout .photo-card {
  overflow: hidden;
  border: 1px solid rgba(22, 59, 39, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbf8f2 100%);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.process-layout .photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(22, 59, 39, 0.11);
}

.poster-section {
  background:
    radial-gradient(circle at left bottom, rgba(121, 153, 65, 0.1), transparent 24%),
    linear-gradient(180deg, #fff8ec 0%, #f9f3e9 100%);
}

.poster-section::before {
  top: -10px;
  right: -8px;
  width: 260px;
  height: 260px;
  opacity: 0.38;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 260'%3E%3Cg fill='none' stroke='%23789941' stroke-opacity='.2' stroke-width='2'%3E%3Ccircle cx='166' cy='88' r='52'/%3E%3Cpath d='M56 182c32-36 56-79 69-130'/%3E%3Cpath d='M91 77c-20 4-35 20-36 40 20-2 37-17 36-40Z'/%3E%3Cpath d='M144 52c20 5 35 21 35 41-20-2-35-17-35-41Z'/%3E%3C/g%3E%3C/svg%3E");
}

.poster-menu-strip span {
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(22, 59, 39, 0.06);
}

.process-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(242, 193, 100, 0.14), transparent 18%),
    linear-gradient(180deg, #143321 0%, #173d29 100%);
}

.process-grid {
  gap: 18px;
  background: transparent;
  border: 0;
}

.process-grid article {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  box-shadow: 0 24px 44px rgba(4, 15, 10, 0.16);
}

.process-grid article::before {
  position: absolute;
  top: -42px;
  right: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  content: "";
  background: radial-gradient(circle, rgba(242, 193, 100, 0.16), rgba(242, 193, 100, 0));
}

.process-grid span {
  margin-bottom: 24px;
}

.process-icon {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(242, 193, 100, 0.38);
  border-radius: 20px;
  color: #f2c164;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.process-icon::before {
  width: 28px;
  height: 28px;
}

.order-section {
  background:
    radial-gradient(circle at right top, rgba(123, 165, 81, 0.08), transparent 26%),
    linear-gradient(180deg, #fbfaf6 0%, #f4f7f1 100%);
}

.order-section::before {
  bottom: -24px;
  right: -16px;
  width: 280px;
  height: 280px;
  opacity: 0.42;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 280'%3E%3Cg fill='none' stroke='%23789941' stroke-opacity='.16' stroke-width='2'%3E%3Cpath d='M62 206c34-41 59-85 74-141'/%3E%3Cpath d='M100 81c-21 4-37 23-39 44 23-2 40-18 39-44Z'/%3E%3Cpath d='M155 51c22 4 37 22 38 45-22-2-38-18-38-45Z'/%3E%3Ccircle cx='208' cy='83' r='36'/%3E%3C/g%3E%3C/svg%3E");
}

.checkout-form,
.order-summary {
  border-color: rgba(22, 59, 39, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf6 100%);
  box-shadow: 0 20px 46px rgba(22, 59, 39, 0.09);
}

.customer-section,
.kakao-poster-section {
  background: linear-gradient(180deg, #fbfaf6 0%, #f6f1e8 100%);
}

@media (max-width: 1080px) {
  .countdown-band {
    margin-left: 16px;
    margin-right: 16px;
  }

  .hero::after {
    width: 240px;
    top: 110px;
  }

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

@media (max-width: 720px) {
  .hero-content {
    padding: 22px;
    border-radius: 28px;
  }

  .countdown-band {
    border-radius: 26px;
  }

  .section-heading .eyebrow,
  .poster-content .eyebrow,
  .packaging-copy .eyebrow,
  .order-copy .eyebrow {
    padding: 7px 12px;
    font-size: 12px;
  }

  .stats-band {
    grid-template-columns: 1fr;
  }

  .stats-band div,
  .process-grid article,
  .promise-feature-panel,
  .process-feature-card,
  .checkout-form,
  .order-summary,
  .poster-preview {
    border-radius: 24px;
  }
}

/* --- Editorial poster-inspired premium/process sections --- */
.poster-style-heading {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.premium-editorial,
.process-editorial {
  position: relative;
  overflow: hidden;
}

.premium-editorial::before,
.process-editorial::before,
.premium-editorial::after,
.process-editorial::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: rgba(125, 152, 80, 0.08);
  pointer-events: none;
}

.premium-editorial::before,
.process-editorial::before {
  top: -42px;
  left: -42px;
}

.premium-editorial::after,
.process-editorial::after {
  right: -56px;
  bottom: -48px;
}

.poster-menu-strip-rich {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 34px 0 26px;
}

.poster-menu-strip-rich article {
  background: #fffef7;
  border: 1px solid rgba(56, 88, 48, 0.12);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(36, 54, 28, 0.08);
}

.poster-menu-strip-rich img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  display: block;
}

.poster-menu-strip-rich strong,
.poster-menu-strip-rich span {
  display: block;
  padding-inline: 18px;
}

.poster-menu-strip-rich strong {
  padding-top: 16px;
  color: #14311f;
  font-size: 1.8rem;
  font-weight: 800;
}

.poster-menu-strip-rich span {
  padding-top: 6px;
  padding-bottom: 18px;
  color: #546252;
  font-size: 1.02rem;
  line-height: 1.45;
}

.editorial-panel {
  position: relative;
  background: linear-gradient(180deg, #fffef9 0%, #fbf8ef 100%);
  border: 1px solid rgba(78, 108, 58, 0.13);
  border-radius: 34px;
  padding: 34px;
  box-shadow: 0 24px 54px rgba(31, 48, 23, 0.08);
}

.editorial-panel::before,
.editorial-panel::after {
  content: "";
  position: absolute;
  width: 110px;
  height: 110px;
  background-image: radial-gradient(circle at center, rgba(146, 171, 105, 0.18) 0 2px, transparent 3px);
  background-size: 16px 16px;
  opacity: 0.5;
  pointer-events: none;
}

.editorial-panel::before {
  top: 16px;
  left: 16px;
}

.editorial-panel::after {
  right: 18px;
  bottom: 18px;
}

.premium-panel {
  display: grid;
  gap: 28px;
}

.editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 28px;
  align-items: center;
}

.editorial-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(121, 152, 74, 0.12);
  color: #5c7a32;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.editorial-hero-copy h3 {
  margin: 0;
  color: #163221;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1.08;
}

.editorial-hero-copy p {
  margin: 18px 0 0;
  color: #53614e;
  font-size: 1.08rem;
  line-height: 1.8;
}

.editorial-hero-visual {
  position: relative;
  min-height: 360px;
}

.editorial-main-photo,
.editorial-sub-photo {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(74, 100, 55, 0.12);
  background: #fff;
  box-shadow: 0 16px 30px rgba(33, 48, 25, 0.08);
}

.editorial-main-photo img,
.editorial-sub-photo img,
.editorial-feature-card img,
.process-step-card img,
.process-story-bag img,
.process-story-table img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.editorial-main-photo {
  width: 72%;
}

.editorial-main-photo img {
  aspect-ratio: 1 / 1.08;
}

.editorial-sub-photo {
  position: absolute;
  right: 0;
  bottom: 8px;
  width: 54%;
}

.editorial-sub-photo img {
  aspect-ratio: 1 / 0.82;
  background: #f7f7f2;
  padding: 16px;
  object-fit: contain;
}

.speech-note {
  position: absolute;
  left: 18px;
  bottom: 10px;
  padding: 18px 20px;
  max-width: 190px;
  background: #fff8eb;
  border: 1px solid rgba(223, 140, 66, 0.22);
  border-radius: 999px 999px 999px 18px;
  color: #7c4a1f;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  box-shadow: 0 14px 28px rgba(169, 110, 45, 0.12);
}

.editorial-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.editorial-feature-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 132px;
  align-items: center;
  gap: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(70, 100, 57, 0.14);
  border-radius: 22px;
  box-shadow: 0 12px 24px rgba(34, 47, 26, 0.05);
}

.editorial-feature-icon,
.process-step-icon {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(124, 156, 77, 0.12);
}

.editorial-feature-copy h4,
.process-step-card h3,
.process-story-copy h3 {
  margin: 0;
  color: #163221;
}

.editorial-feature-copy h4 {
  font-size: 1.28rem;
}

.editorial-feature-copy p,
.process-step-card p,
.process-story-copy p {
  margin: 8px 0 0;
  color: #566451;
  line-height: 1.65;
}

.editorial-feature-card img {
  border-radius: 18px;
  aspect-ratio: 1 / 0.9;
  border: 1px solid rgba(85, 109, 62, 0.12);
}

.editorial-trust-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border-radius: 26px;
  border: 1px solid rgba(79, 105, 58, 0.13);
  background: rgba(247, 250, 239, 0.95);
}

.editorial-trust-band strong {
  display: block;
  color: #15311f;
  font-size: 1.3rem;
}

.editorial-trust-band span {
  display: block;
  margin-top: 4px;
  color: #5d6857;
}

.editorial-trust-band ul,
.process-story-copy ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.editorial-trust-band li,
.process-story-copy li {
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(73, 101, 54, 0.12);
  color: #375227;
  font-weight: 700;
}

.process-panel {
  display: grid;
  gap: 28px;
}

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

.process-step-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 26px;
  border: 1px solid rgba(80, 104, 58, 0.14);
  box-shadow: 0 14px 28px rgba(35, 49, 27, 0.05);
}

.process-step-card::after {
  content: "→";
  position: absolute;
  right: -14px;
  top: 38%;
  color: #6f8f45;
  font-size: 2rem;
  font-weight: 800;
}

.process-step-card:last-child::after {
  display: none;
}

.step-number {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: #628334;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 800;
}

.process-step-card img {
  border-radius: 20px;
  aspect-ratio: 1 / 0.8;
  border: 1px solid rgba(75, 101, 55, 0.12);
}

.process-story-band {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr 0.95fr;
  gap: 20px;
  align-items: stretch;
}

.process-story-bag,
.process-story-table {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(75, 101, 55, 0.12);
  background: #fff;
}

.process-story-bag img,
.process-story-table img {
  height: 100%;
  min-height: 280px;
}

.process-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 254, 250, 0.92);
  border: 1px solid rgba(75, 101, 55, 0.12);
  text-align: center;
}

.process-story-copy h3 {
  font-size: clamp(1.8rem, 2.4vw, 2.6rem);
}

.process-story-copy em {
  color: #e0802f;
  font-size: 1.55rem;
  font-style: normal;
  font-weight: 700;
}

@media (max-width: 1180px) {
  .poster-menu-strip-rich,
  .process-step-grid,
  .editorial-feature-list,
  .process-story-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-hero {
    grid-template-columns: 1fr;
  }

  .process-step-card:nth-child(2)::after,
  .process-step-card:last-child::after {
    display: none;
  }
}

@media (max-width: 860px) {
  .editorial-panel {
    padding: 22px;
    border-radius: 28px;
  }

  .poster-menu-strip-rich,
  .editorial-feature-list,
  .process-step-grid,
  .process-story-band {
    grid-template-columns: 1fr;
  }

  .editorial-main-photo {
    width: 100%;
  }

  .editorial-sub-photo {
    position: relative;
    width: 76%;
    margin-top: 16px;
  }

  .speech-note {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 16px;
  }

  .editorial-feature-card {
    grid-template-columns: auto 1fr;
  }

  .editorial-feature-card img {
    grid-column: 1 / -1;
  }

  .editorial-trust-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .process-step-card::after {
    display: none;
  }

  .process-story-copy {
    order: 2;
  }
}

/* ===== 2026-05-02 premium and process refresh ===== */
.luxury-premium-section,
.packaging-process-section,
.poster-section-slider {
  position: relative;
  overflow: hidden;
}

.luxury-premium-section::before,
.packaging-process-section::before,
.poster-section-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(129, 161, 85, 0.12) 0 72px, transparent 73px),
    radial-gradient(circle at 92% 88%, rgba(205, 170, 108, 0.12) 0 92px, transparent 93px);
  pointer-events: none;
}

.poster-style-heading > p:last-child {
  color: #51604c;
  font-size: 1.12rem;
  font-weight: 700;
}

.han-pattern-band,
.han-pattern-panel,
.han-card {
  position: relative;
}

.han-pattern-band::before,
.han-pattern-panel::before,
.han-card::before {
  content: "";
  position: absolute;
  inset: 14px auto auto 14px;
  width: 92px;
  height: 92px;
  border-radius: 22px;
  background-image:
    linear-gradient(rgba(108, 135, 72, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 135, 72, 0.12) 1px, transparent 1px);
  background-size: 16px 16px;
  opacity: 0.75;
  pointer-events: none;
}

.luxury-intro-band {
  margin: 30px 0 24px;
  padding: 30px 34px;
  border-radius: 30px;
  border: 1px solid rgba(78, 108, 58, 0.16);
  background: linear-gradient(135deg, rgba(255, 252, 246, 0.98), rgba(247, 244, 233, 0.96));
  box-shadow: 0 20px 44px rgba(31, 47, 22, 0.08);
}

.luxury-intro-band > div {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.luxury-intro-band h3,
.process-main-copy h3 {
  margin: 0;
  color: #163221;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.12;
}

.luxury-intro-band p,
.process-main-copy p {
  margin: 14px auto 0;
  max-width: 820px;
  color: #546252;
  line-height: 1.8;
}

.refined-premium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.premium-story-card {
  position: relative;
  min-height: 420px;
  padding: 28px;
  border-radius: 32px;
  border: 1px solid rgba(79, 106, 58, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 251, 0.98), rgba(248, 244, 234, 0.94));
  box-shadow: 0 18px 38px rgba(31, 49, 22, 0.08);
  overflow: hidden;
}

.premium-story-card::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 18px;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  border: 1px solid rgba(198, 156, 88, 0.24);
  background: linear-gradient(135deg, rgba(223, 190, 127, 0.12), rgba(123, 149, 86, 0.04));
}

.premium-story-copy {
  position: relative;
  z-index: 2;
  max-width: 58%;
}

.premium-story-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(126, 156, 85, 0.12);
  color: #618139;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.premium-story-copy h3 {
  margin: 14px 0 0;
  color: #173322;
  font-size: 1.9rem;
  line-height: 1.16;
}

.premium-story-copy p {
  margin: 12px 0 0;
  color: #586654;
  line-height: 1.72;
}

.premium-story-copy strong {
  display: inline-block;
  margin-top: 16px;
  color: #cc7a2b;
  font-size: 1rem;
  line-height: 1.45;
}

.premium-story-visual {
  position: absolute;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(79, 105, 58, 0.14);
  box-shadow: 0 20px 38px rgba(32, 46, 24, 0.12);
  background: #fff;
}

.premium-story-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.card-right .premium-story-visual {
  right: -6%;
  bottom: 22px;
  width: 56%;
  height: 56%;
}

.card-center .premium-story-copy {
  max-width: 100%;
}

.card-center .premium-story-visual {
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  width: 68%;
  height: 46%;
}

.card-left .premium-story-copy {
  margin-left: auto;
  text-align: right;
}

.card-left .premium-story-visual {
  left: -7%;
  bottom: 24px;
  width: 58%;
  height: 55%;
}

.luxury-icon-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.premium-mini-card,
.process-detail-band article {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(75, 101, 55, 0.14);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(36, 50, 28, 0.05);
}

.premium-mini-card h4,
.process-detail-band strong {
  margin: 0;
  color: #163221;
  font-size: 1.12rem;
}

.premium-mini-card p,
.process-detail-band p {
  margin: 4px 0 0;
  color: #566451;
  line-height: 1.5;
}

.mini-icon {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #315b39;
  background: linear-gradient(180deg, rgba(129, 161, 84, 0.16), rgba(255, 248, 235, 0.96));
  border: 1px solid rgba(90, 119, 65, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.mini-icon::before {
  content: "";
  width: 28px;
  height: 28px;
  display: block;
  background: currentColor;
  -webkit-mask: var(--mini-icon) center / contain no-repeat;
  mask: var(--mini-icon) center / contain no-repeat;
}

.icon-fresh { --mini-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21V9'/%3E%3Cpath d='M7 13C3.5 13 2 10 2 7c3.5 0 6 1.4 7 6'/%3E%3Cpath d='M17 13c3.5 0 5-3 5-7-3.5 0-6 1.4-7 6'/%3E%3Cpath d='M8 21h8'/%3E%3C/g%3E%3C/svg%3E"); }
.icon-chef { --mini-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2'/%3E%3Cpath d='M4 10h16v5a5 5 0 0 1-5 5H9a5 5 0 0 1-5-5v-5z'/%3E%3Cpath d='M8 14h8'/%3E%3C/g%3E%3C/svg%3E"); }
.icon-chill { --mini-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2v20'/%3E%3Cpath d='M4.9 6l14.2 12'/%3E%3Cpath d='M4.9 18L19.1 6'/%3E%3Cpath d='M2 12h20'/%3E%3C/g%3E%3C/svg%3E"); }
.icon-table { --mini-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h16'/%3E%3Cpath d='M6 10v8'/%3E%3Cpath d='M18 10v8'/%3E%3Cpath d='M8 6h8a2 2 0 0 1 2 2v2H6V8a2 2 0 0 1 2-2z'/%3E%3C/g%3E%3C/svg%3E"); }
.icon-prep { --mini-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6h16v12H4z'/%3E%3Cpath d='M8 10h8'/%3E%3Cpath d='M8 14h5'/%3E%3C/g%3E%3C/svg%3E"); }
.icon-pack { --mini-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7l8-4 8 4-8 4-8-4z'/%3E%3Cpath d='M4 7v10l8 4 8-4V7'/%3E%3Cpath d='M12 11v10'/%3E%3C/g%3E%3C/svg%3E"); }
.icon-delivery { --mini-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7h11v9H3z'/%3E%3Cpath d='M14 10h3l4 4v2h-7z'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='18' cy='18' r='2'/%3E%3C/g%3E%3C/svg%3E"); }

.refined-process-panel {
  display: grid;
  gap: 24px;
}

.process-main-copy {
  text-align: center;
}

.process-step-grid-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.compact-step-card {
  padding: 22px;
  border-radius: 26px;
  text-align: left;
}

.compact-step-card .mini-icon {
  width: 56px;
  height: 56px;
}

.compact-step-card h3 {
  white-space: nowrap;
  font-size: 1.28rem;
}

.compact-step-card p {
  font-size: 0.98rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-step-card img {
  border-radius: 20px;
  border: 1px solid rgba(75, 101, 55, 0.12);
  aspect-ratio: 1 / 0.84;
  object-fit: cover;
  background: #fff;
}

.process-detail-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.process-detail-band article {
  justify-content: flex-start;
}

.poster-section-slider {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: center;
}

.poster-carousel {
  position: relative;
  padding: 18px;
  border-radius: 34px;
  border: 1px solid rgba(79, 106, 58, 0.14);
  background: linear-gradient(180deg, rgba(255, 255, 251, 0.98), rgba(247, 243, 233, 0.96));
  box-shadow: 0 22px 46px rgba(35, 49, 27, 0.1);
}

.poster-carousel-track {
  position: relative;
  aspect-ratio: 4 / 5.4;
  min-height: 640px;
}

.poster-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s ease;
}

.poster-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.poster-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 24px;
  display: block;
  background: #fff;
  box-shadow: 0 16px 34px rgba(34, 49, 25, 0.12);
}

.poster-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.poster-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(88, 111, 66, 0.24);
  cursor: pointer;
}

.poster-dot.is-active {
  background: #5b7b35;
  transform: scale(1.12);
}

@media (max-width: 1200px) {
  .refined-premium-grid,
  .luxury-icon-row,
  .process-step-grid-compact,
  .process-detail-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poster-section-slider {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .refined-premium-grid,
  .luxury-icon-row,
  .process-step-grid-compact,
  .process-detail-band {
    grid-template-columns: 1fr;
  }

  .premium-story-card {
    min-height: auto;
    padding-bottom: 24px;
  }

  .premium-story-copy,
  .card-left .premium-story-copy,
  .card-center .premium-story-copy {
    max-width: 100%;
    text-align: left;
    margin-left: 0;
  }

  .premium-story-visual,
  .card-right .premium-story-visual,
  .card-center .premium-story-visual,
  .card-left .premium-story-visual {
    position: relative;
    inset: auto;
    transform: none;
    width: 100%;
    height: auto;
    margin-top: 18px;
  }

  .premium-story-visual img {
    aspect-ratio: 1 / 0.82;
  }

  .poster-carousel-track {
    min-height: 470px;
  }

  .compact-step-card p,
  .compact-step-card h3 {
    white-space: normal;
  }
}

/* Premium explainer section refresh */
.premium-photo-explainer {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top left, rgba(234, 228, 208, 0.9), transparent 18%),
    radial-gradient(circle at top right, rgba(234, 228, 208, 0.85), transparent 20%),
    linear-gradient(180deg, #faf7ef 0%, #f6f1e7 100%);
  border: 1px solid rgba(107, 128, 67, 0.14);
}

.premium-photo-explainer::before,
.premium-photo-explainer::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  opacity: 0.18;
  pointer-events: none;
}

.premium-photo-explainer::before {
  top: -90px;
  left: -60px;
  background:
    radial-gradient(circle at center, transparent 52%, rgba(110, 130, 73, 0.25) 53%, rgba(110, 130, 73, 0.25) 56%, transparent 57%),
    repeating-linear-gradient(45deg, rgba(110, 130, 73, 0.18) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(-45deg, rgba(110, 130, 73, 0.14) 0 2px, transparent 2px 14px);
}

.premium-photo-explainer::after {
  top: -90px;
  right: -70px;
  background:
    radial-gradient(circle at center, transparent 50%, rgba(110, 130, 73, 0.2) 51%, rgba(110, 130, 73, 0.2) 54%, transparent 55%),
    repeating-linear-gradient(0deg, rgba(110, 130, 73, 0.15) 0 2px, transparent 2px 12px),
    repeating-linear-gradient(90deg, rgba(110, 130, 73, 0.12) 0 2px, transparent 2px 12px);
}

.premium-explainer-heading {
  text-align: center;
  margin-bottom: 2.5rem;
}

.premium-explainer-heading h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -0.03em;
  color: #224b2d;
}

.premium-explainer-heading p:last-child {
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  color: #464b39;
}

.premium-explainer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.premium-explainer-card {
  background: rgba(255, 255, 255, 0.88);
  border-radius: 28px;
  border: 1px solid rgba(86, 110, 49, 0.12);
  box-shadow: 0 18px 45px rgba(49, 63, 28, 0.08);
  overflow: hidden;
  min-height: 305px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
}

.premium-explainer-card:nth-child(3),
.premium-explainer-card:nth-child(4) {
  grid-template-columns: 1fr;
  min-height: 360px;
}

.premium-explainer-copy {
  padding: 2rem 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.premium-explainer-title-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.premium-explainer-title-row .mini-icon {
  width: 84px;
  height: 84px;
  flex: 0 0 84px;
  border-radius: 50%;
  border: 3px solid rgba(110, 130, 73, 0.85);
  background-color: #fff;
  background-size: 38px 38px;
}

.premium-explainer-title-row h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.2;
  color: #1f4c2f;
}

.premium-explainer-title-row p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #2f3328;
}

.premium-explainer-photo {
  position: relative;
  margin: 0;
  align-self: end;
}

.premium-explainer-photo.align-right {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 305px;
}

.premium-explainer-photo.align-bottom {
  min-height: 220px;
  padding: 0 0.8rem 0.8rem;
}

.premium-explainer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.premium-explainer-photo.align-right img {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.premium-explainer-card:nth-child(3) .premium-explainer-photo img,
.premium-explainer-card:nth-child(4) .premium-explainer-photo img {
  width: min(100%, 540px);
  height: 220px;
  object-fit: contain;
  object-position: center bottom;
  margin-left: auto;
  margin-right: auto;
}

.premium-explainer-footer {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
}

.premium-explainer-footer span {
  height: 1px;
  background: linear-gradient(90deg, rgba(107, 128, 67, 0.7), rgba(107, 128, 67, 0));
}

.premium-explainer-footer span:last-child {
  background: linear-gradient(90deg, rgba(107, 128, 67, 0), rgba(107, 128, 67, 0.7));
}

.premium-explainer-footer p {
  margin: 0;
  font-size: 1rem;
  color: #3f4a34;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .premium-explainer-grid {
    grid-template-columns: 1fr;
  }

  .premium-explainer-card,
  .premium-explainer-card:nth-child(3),
  .premium-explainer-card:nth-child(4) {
    grid-template-columns: 0.95fr 1.05fr;
    min-height: 320px;
  }

  .premium-explainer-card:nth-child(3) .premium-explainer-photo img,
  .premium-explainer-card:nth-child(4) .premium-explainer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
  }

  .premium-explainer-photo.align-bottom {
    padding: 0;
    min-height: 320px;
  }
}

@media (max-width: 768px) {
  .premium-explainer-card,
  .premium-explainer-card:nth-child(3),
  .premium-explainer-card:nth-child(4) {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .premium-explainer-copy {
    padding: 1.5rem 1.25rem 0.75rem;
  }

  .premium-explainer-title-row .mini-icon {
    width: 68px;
    height: 68px;
    flex-basis: 68px;
    background-size: 28px 28px;
    border-width: 2px;
  }

  .premium-explainer-title-row h3 {
    font-size: 1.35rem;
  }

  .premium-explainer-title-row p {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .premium-explainer-photo.align-right,
  .premium-explainer-photo.align-bottom {
    min-height: 230px;
    padding: 0;
  }

  .premium-explainer-footer {
    grid-template-columns: 1fr;
  }

  .premium-explainer-footer span {
    display: none;
  }

  .premium-explainer-footer p {
    white-space: normal;
    line-height: 1.6;
  }
}

/* Reference-style premium section */
.premium-reference-section {
  position: relative;
  padding: clamp(3rem, 5vw, 5rem) clamp(1rem, 3vw, 2.25rem);
  background: linear-gradient(180deg, #f6f2e8 0%, #f8f5ee 100%);
  overflow: hidden;
}

.premium-reference-section::before,
.premium-reference-section::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  opacity: 0.45;
  pointer-events: none;
}

.premium-reference-section::before {
  top: 0;
  left: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(169, 155, 117, 0.08) 0 58%, transparent 58%),
    repeating-linear-gradient(0deg, rgba(169, 155, 117, 0.15) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(90deg, rgba(169, 155, 117, 0.1) 0 1px, transparent 1px 12px);
  border-bottom-right-radius: 100%;
}

.premium-reference-section::after {
  top: 0;
  right: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(180, 167, 128, 0.12) 0 38%, transparent 38%),
    linear-gradient(135deg, transparent 20%, rgba(180, 167, 128, 0.1) 20% 22%, transparent 22% 100%),
    repeating-linear-gradient(45deg, rgba(180, 167, 128, 0.1) 0 1px, transparent 1px 10px);
  border-bottom-left-radius: 100%;
}

.premium-reference-shell {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.premium-reference-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
  margin-bottom: 2.4rem;
}

.premium-reference-title-wrap h2 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #234a2e;
  font-weight: 800;
}

.premium-reference-title-wrap p {
  margin: 0.9rem 0 0;
  font-size: clamp(1.05rem, 2.2vw, 1.55rem);
  color: #4e513f;
}

.premium-reference-deco {
  width: 48px;
  height: 48px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex: 0 0 48px;
  opacity: 0.85;
}

.premium-reference-deco-left,
.premium-reference-deco-right {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cg fill='none' stroke='%237e9960' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M26 24c5-7 10-9 16-8-1 5-5 10-13 12'/%3E%3Cpath d='M17 18c1 6-1 11-6 15-3-4-4-9-2-14 4 0 7 1 8 4'/%3E%3Cpath d='M28 24c2 6 7 10 14 12'/%3E%3C/g%3E%3C/svg%3E");
}

.premium-reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.premium-reference-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  border: 1px solid rgba(60, 84, 39, 0.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 320px;
  box-shadow: 0 10px 30px rgba(48, 60, 34, 0.06);
}

.premium-reference-copy {
  padding: 2.1rem 1.6rem 1.6rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.premium-reference-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 3px solid #7d965e;
  position: relative;
  flex: 0 0 84px;
}

.premium-reference-icon::before {
  content: "";
  position: absolute;
  inset: 20px;
  background-color: #7d965e;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.premium-reference-icon-fresh::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='black'%3E%3Cpath d='M13 39c0 7 6 13 13 13h18c7 0 12-5 12-12V29H13v10z'/%3E%3Cpath d='M32 27c-1-10 5-18 16-19-1 11-9 17-16 19zm-3 0C17 26 10 20 8 10c11 0 20 8 21 17z'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='black'%3E%3Cpath d='M13 39c0 7 6 13 13 13h18c7 0 12-5 12-12V29H13v10z'/%3E%3Cpath d='M32 27c-1-10 5-18 16-19-1 11-9 17-16 19zm-3 0C17 26 10 20 8 10c11 0 20 8 21 17z'/%3E%3C/g%3E%3C/svg%3E");
}

.premium-reference-icon-cook::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='black'%3E%3Cpath d='M18 25h28c3 0 5 2 5 5v18H13V30c0-3 2-5 5-5z'/%3E%3Cpath d='M24 15h16l2 6H22l2-6z'/%3E%3Cpath d='M27 10a5 5 0 0 1 10 0h-4a1 1 0 0 0-2 0h-4z'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='black'%3E%3Cpath d='M18 25h28c3 0 5 2 5 5v18H13V30c0-3 2-5 5-5z'/%3E%3Cpath d='M24 15h16l2 6H22l2-6z'/%3E%3Cpath d='M27 10a5 5 0 0 1 10 0h-4a1 1 0 0 0-2 0h-4z'/%3E%3C/g%3E%3C/svg%3E");
}

.premium-reference-icon-pack::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='black'%3E%3Cpath d='M11 21l21-10 21 10-21 10-21-10z'/%3E%3Cpath d='M14 26l16 8v18l-16-9V26zm36 0v17l-16 9V34l16-8z'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='black'%3E%3Cpath d='M11 21l21-10 21 10-21 10-21-10z'/%3E%3Cpath d='M14 26l16 8v18l-16-9V26zm36 0v17l-16 9V34l16-8z'/%3E%3C/g%3E%3C/svg%3E");
}

.premium-reference-icon-meal::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='black'%3E%3Cpath d='M13 39c0 8 8 13 19 13h13c7 0 10-4 10-11 0-8-7-14-16-14H29c-10 0-16 5-16 12z'/%3E%3Cpath d='M44 19c5 1 9 6 9 11h-4c0-3-2-6-6-7l1-4z'/%3E%3Cpath d='M21 13h4v10h-4zm7 1h4v9h-4z'/%3E%3C/g%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='black'%3E%3Cpath d='M13 39c0 8 8 13 19 13h13c7 0 10-4 10-11 0-8-7-14-16-14H29c-10 0-16 5-16 12z'/%3E%3Cpath d='M44 19c5 1 9 6 9 11h-4c0-3-2-6-6-7l1-4z'/%3E%3Cpath d='M21 13h4v10h-4zm7 1h4v9h-4z'/%3E%3C/g%3E%3C/svg%3E");
}

.premium-reference-copy h3 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.4vw, 2.1rem);
  line-height: 1.2;
  color: #244b2d;
}

.premium-reference-copy p {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: #34382d;
}

.premium-reference-image {
  margin: 0;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}

.premium-reference-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.premium-reference-card:nth-child(3) .premium-reference-image img {
  object-fit: contain;
  background: #fff;
  padding: 1rem;
}

.premium-reference-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.2rem;
  align-items: center;
  margin-top: 2rem;
}

.premium-reference-line {
  height: 1px;
  background: #8c9a79;
  position: relative;
}

.premium-reference-line::before,
.premium-reference-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #758b5a;
  transform: translateY(-50%);
}

.premium-reference-line::before { left: 0; }
.premium-reference-line::after { right: 0; }

.premium-reference-footer p {
  margin: 0;
  color: #44503a;
  font-size: 1.2rem;
  text-align: center;
}

@media (max-width: 1100px) {
  .premium-reference-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .premium-reference-section {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .premium-reference-heading {
    gap: 0.6rem;
  }

  .premium-reference-deco {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .premium-reference-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .premium-reference-copy {
    padding: 1.35rem 1.2rem 0.5rem;
  }

  .premium-reference-icon {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    border-width: 2px;
  }

  .premium-reference-icon::before {
    inset: 15px;
  }

  .premium-reference-image {
    min-height: 240px;
  }

  .premium-reference-footer {
    grid-template-columns: 1fr;
  }

  .premium-reference-line {
    display: none;
  }

  .premium-reference-footer p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* Exact premium section image requested by user */
.premium-section-exact {
  background:
    radial-gradient(circle at 11% 0%, rgba(107, 132, 78, 0.09) 0 95px, transparent 96px),
    radial-gradient(circle at 91% 8%, rgba(205, 190, 154, 0.18) 0 125px, transparent 126px),
    linear-gradient(180deg, #f7f4ec 0%, #f1ede2 100%);
  padding: clamp(28px, 5vw, 72px) clamp(16px, 3vw, 28px);
}

.premium-section-exact-shell {
  max-width: 1280px;
  margin: 0 auto;
}

.premium-section-exact-shell img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
}

.replaced-by-premium-image {
  display: none;
}

/* ===== polished kitchen-to-table section ===== */
.kitchen-story-section {
  background:
    radial-gradient(circle at 6% 12%, rgba(113, 147, 70, 0.08) 0 90px, transparent 91px),
    radial-gradient(circle at 94% 16%, rgba(212, 187, 137, 0.11) 0 110px, transparent 111px),
    linear-gradient(180deg, #faf8f1 0%, #f5f1e7 100%);
}

.kitchen-story-shell {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.kitchen-story-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 34px 36px;
  border-radius: 32px;
  border: 1px solid rgba(79, 106, 58, 0.14);
  background: linear-gradient(135deg, rgba(255, 255, 252, 0.98), rgba(248, 244, 235, 0.94));
  box-shadow: 0 24px 48px rgba(31, 47, 22, 0.08);
}

.kitchen-story-intro h3 {
  margin: 14px 0 0;
  color: #183523;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.16;
}

.kitchen-story-intro p {
  margin: 14px 0 0;
  color: #556352;
  line-height: 1.8;
}

.kitchen-story-intro-points {
  display: grid;
  gap: 14px;
}

.kitchen-story-mini-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 128px;
  padding: 18px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(79, 106, 58, 0.12);
  box-shadow: 0 10px 22px rgba(31, 47, 22, 0.05);
  overflow: hidden;
}

.kitchen-story-mini-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 41%;
  bottom: 0;
  z-index: 1;
  width: 20%;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.86) 34%, rgba(255, 255, 255, 0.42) 68%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.kitchen-story-mini-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 0 0 64%;
}

.kitchen-story-intro-points .mini-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
}

.kitchen-story-mini-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.kitchen-mini-step {
  display: inline-block;
  color: #7b8e65;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.kitchen-story-mini-copy strong {
  color: #26412f;
  font-size: 1.02rem;
  line-height: 1.35;
}

.kitchen-story-mini-copy p {
  margin: 0;
  color: #6a7564;
  font-size: 0.9rem;
  line-height: 1.35;
}

.kitchen-story-mini-card img {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 0;
  width: 58%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  border: 0;
  box-shadow: none;
  background: #fff;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 8%, rgba(0, 0, 0, 0.62) 20%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 8%, rgba(0, 0, 0, 0.62) 20%, #000 34%);
}

.kitchen-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.kitchen-story-card {
  position: relative;
  min-height: 430px;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(79, 106, 58, 0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,243,233,0.94));
  box-shadow: 0 18px 38px rgba(31, 47, 22, 0.08);
  overflow: hidden;
}

.kitchen-story-card::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 16px;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  border: 1px solid rgba(198, 156, 88, 0.22);
  background: linear-gradient(135deg, rgba(223, 190, 127, 0.14), rgba(123, 149, 86, 0.04));
}

.kitchen-story-copy {
  position: relative;
  z-index: 2;
  max-width: 52%;
}

.kitchen-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(126, 156, 85, 0.13);
  color: #62813e;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.kitchen-story-copy .mini-icon {
  margin-top: 16px;
}

.kitchen-story-copy h3 {
  margin: 16px 0 0;
  color: #163221;
  font-size: 1.85rem;
  line-height: 1.16;
}

.kitchen-story-copy p {
  margin: 14px 0 0;
  color: #566451;
  line-height: 1.72;
}

.kitchen-story-visual {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(79, 105, 58, 0.14);
  box-shadow: 0 20px 38px rgba(32, 46, 24, 0.12);
  background: #fff;
}

.kitchen-story-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.kitchen-story-card.card-right .kitchen-story-visual {
  right: -6%;
  bottom: 22px;
  width: 58%;
  height: 58%;
}

.kitchen-story-card.card-center .kitchen-story-copy {
  max-width: 100%;
  text-align: center;
}

.kitchen-story-card.card-center .kitchen-story-copy .mini-icon {
  margin-left: auto;
  margin-right: auto;
}

.kitchen-story-card.card-center .kitchen-story-visual {
  left: 50%;
  transform: translateX(-50%);
  bottom: 24px;
  width: 72%;
  height: 48%;
}

.kitchen-story-card.card-left .kitchen-story-copy {
  margin-left: auto;
  text-align: right;
}

.kitchen-story-card.card-left .kitchen-story-copy .mini-icon {
  margin-left: auto;
}

.kitchen-story-card.card-left .kitchen-story-visual {
  left: -7%;
  bottom: 22px;
  width: 58%;
  height: 58%;
}

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

.kitchen-story-summary article {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(75, 101, 55, 0.14);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(36, 50, 28, 0.05);
}

.kitchen-story-summary strong {
  display: block;
  margin: 0;
  color: #163221;
  font-size: 1.04rem;
}

.kitchen-story-summary p {
  margin: 4px 0 0;
  color: #556451;
  font-size: 0.97rem;
  line-height: 1.5;
}

@media (max-width: 680px) {
  .kitchen-story-mini-card {
    align-items: flex-start;
    min-height: 126px;
  }

  .kitchen-story-mini-head {
    flex-basis: 62%;
  }

  .kitchen-story-mini-card img {
    width: 60%;
    height: 100%;
  }

  .kitchen-story-mini-copy strong {
    font-size: 0.96rem;
  }

  .kitchen-story-mini-copy p {
    font-size: 0.84rem;
  }
}

@media (max-width: 1180px) {
  .kitchen-story-grid {
    grid-template-columns: 1fr;
  }

  .kitchen-story-card {
    min-height: 380px;
  }

  .kitchen-story-copy,
  .kitchen-story-card.card-center .kitchen-story-copy,
  .kitchen-story-card.card-left .kitchen-story-copy {
    max-width: 54%;
    text-align: left;
    margin-left: 0;
  }

  .kitchen-story-card.card-center .kitchen-story-copy .mini-icon,
  .kitchen-story-card.card-left .kitchen-story-copy .mini-icon {
    margin-left: 0;
    margin-right: 0;
  }

  .kitchen-story-card.card-center .kitchen-story-visual,
  .kitchen-story-card.card-left .kitchen-story-visual,
  .kitchen-story-card.card-right .kitchen-story-visual {
    left: auto;
    right: -4%;
    transform: none;
    width: 50%;
    height: 70%;
    bottom: 18px;
  }

  .kitchen-story-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .kitchen-story-intro {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  .kitchen-story-card {
    min-height: 0;
    padding: 22px;
    display: grid;
    gap: 18px;
  }

  .kitchen-story-copy,
  .kitchen-story-card.card-center .kitchen-story-copy,
  .kitchen-story-card.card-left .kitchen-story-copy {
    max-width: 100%;
    text-align: left;
  }

  .kitchen-story-card.card-center .kitchen-story-copy .mini-icon,
  .kitchen-story-card.card-left .kitchen-story-copy .mini-icon {
    margin-left: 0;
  }

  .kitchen-story-visual,
  .kitchen-story-card.card-center .kitchen-story-visual,
  .kitchen-story-card.card-left .kitchen-story-visual,
  .kitchen-story-card.card-right .kitchen-story-visual {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 240px;
    transform: none;
  }

  .kitchen-story-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .kitchen-story-intro h3 {
    font-size: 1.75rem;
  }

  .kitchen-story-copy h3 {
    font-size: 1.55rem;
  }

  .kitchen-story-copy p,
  .kitchen-story-summary p,
  .kitchen-story-intro p {
    font-size: 0.96rem;
  }

  .kitchen-story-intro-points span,
  .kitchen-story-summary article {
    padding: 14px;
  }
}

@media (max-width: 1180px) {
  .member-layout {
    grid-template-columns: minmax(118px, 148px) minmax(0, 1fr);
    gap: 14px;
  }

  .member-card-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-side-nav {
    position: sticky;
    top: 82px;
    grid-template-columns: 1fr;
    align-self: start;
  }

  .member-side-brand {
    grid-column: 1 / -1;
  }

  .member-card-column .member-section-title,
  .kakao-column .member-section-title,
  .member-tools-column .member-section-title {
    grid-column: 1 / -1;
  }

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

  .member-tools-column {
    grid-template-columns: 1fr;
  }

  .flow-card {
    grid-column: 1 / -1;
  }

  .member-dashboard,
  .member-tools-column {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  .member-topbar {
    padding: 12px 16px;
  }

  .member-brand img {
    width: 112px;
    height: 36px;
  }

  .member-topnav {
    gap: 4px;
    font-size: 12px;
  }

  .member-topnav a {
    padding: 8px 7px;
  }

  .member-shell {
    width: min(100% - 24px, 520px);
    padding-bottom: 88px;
  }

  .member-layout {
    grid-template-columns: 1fr;
  }

  .member-dashboard,
  .member-tools-column {
    grid-column: auto;
  }

  .member-card-column,
  .kakao-column,
  .member-tools-column {
    grid-template-columns: 1fr;
  }

  .member-side-nav {
    display: none;
  }

  .current-order-grid,
  .current-order-actions {
    grid-template-columns: 1fr;
  }

  .tier-card {
    grid-template-columns: 94px 1fr;
    min-height: 158px;
    padding: 18px;
  }

  .tier-card > i {
    display: none;
  }

  .tier-logo {
    width: 88px;
    height: 88px;
  }

  .tier-logo img {
    width: 64px;
    height: 64px;
  }

  .member-tier-summary {
    grid-template-columns: 1fr;
  }

  .member-tier-summary > div + div {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid rgba(22, 59, 39, 0.12);
    padding-top: 14px;
  }

  .referral-panel {
    align-items: flex-start;
    flex-direction: column;
  }
  /* 인사말: 로고 옆 두 줄 가로 레이아웃 유지 */
  .member-welcome {
    align-items: center;
    gap: 12px;
  }
  .member-avatar {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
  }
  .member-avatar img { width: 44px; height: 44px; }
  .member-welcome h2 { font-size: 1rem; line-height: 1.3; }
  .member-welcome p { font-size: .78rem; margin-top: 3px; }

  .benefit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kakao-bubble.has-image {
    grid-template-columns: 1fr;
  }

  .kakao-bubble.has-image img {
    width: 100%;
    height: 150px;
  }

  .flow-row {
    grid-template-columns: 1fr;
  }

  .flow-row b {
    transform: rotate(90deg);
  }

  .member-mobile-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 30;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px;
    border: 1px solid rgba(22, 59, 39, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 14px 30px rgba(22, 59, 39, 0.14);
    backdrop-filter: blur(14px);
  }

  .member-mobile-nav a {
    min-height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #173a27;
    font-size: 0.8rem;
    font-weight: 900;
  }

  .member-mobile-nav a[aria-current="page"] {
    background: #173a27;
    color: #fff;
  }
}


/* County column support */
#membersTable .admin-table-row {
  grid-template-columns: 1.2fr 0.5fr 0.8fr 0.8fr 0.5fr 0.7fr;
  min-width: 860px;
}

#pendingTable .admin-table-row {
  grid-template-columns: 0.9fr 1.15fr 0.75fr 1.3fr 0.85fr 0.6fr 0.7fr;
  min-width: 1080px;
}

/* ══════════════════════════════════════════
   AI CHAT WIDGET
   ══════════════════════════════════════════ */
.wm-chat-btn {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 999px;
  background: linear-gradient(135deg, #163b27, #0b6230);
  color: #fff;
  padding: 12px 16px;
  box-shadow: 0 16px 34px rgba(7,30,18,0.28);
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.wm-chat-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(7,30,18,0.34); }
.wm-chat-btn:active { transform: scale(0.97); }
.wm-chat-btn-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  font-size: 16px;
}
.wm-chat-btn-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid #163b27;
  display: none;
}
.wm-chat-btn-badge.on { display: block; }

.wm-chat-panel {
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 1000;
  width: 360px;
  max-height: 540px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(10,38,22,0.22), 0 4px 16px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.22s cubic-bezier(.32,1,.58,1), opacity 0.18s ease;
}
.wm-chat-panel.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}
.wm-chat-hdr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #163b27, #0b6230);
  color: #fff;
  flex-shrink: 0;
}
.wm-chat-hdr-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex-shrink: 0;
}
.wm-chat-hdr-info { flex: 1; min-width: 0; }
.wm-chat-hdr-info strong { display: block; font-size: 0.92rem; font-weight: 900; }
.wm-chat-hdr-info span { font-size: 0.72rem; opacity: 0.72; }
.wm-chat-hdr-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 0.9rem;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  cursor: pointer;
}
.wm-chat-hdr-close:hover { background: rgba(255,255,255,0.25); }

.wm-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 14px 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-behavior: smooth;
}
.wm-chat-msg {
  display: flex;
  gap: 8px;
  max-width: 88%;
}
.wm-chat-msg.user { align-self: flex-end; flex-direction: row-reverse; }
.wm-chat-msg.ai { align-self: flex-start; }
.wm-chat-bubble {
  padding: 9px 13px;
  border-radius: 16px;
  font-size: 0.84rem;
  line-height: 1.6;
  word-break: break-word;
  white-space: pre-wrap;
}
.wm-chat-msg.user .wm-chat-bubble {
  background: #163b27;
  color: #fff;
  border-bottom-right-radius: 4px;
}
.wm-chat-msg.ai .wm-chat-bubble {
  background: #f3f4f6;
  color: #1a2e22;
  border-bottom-left-radius: 4px;
}
.wm-chat-typing {
  align-self: flex-start;
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.wm-chat-typing-dots {
  background: #f3f4f6;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  padding: 10px 14px;
  display: flex;
  gap: 4px;
  align-items: center;
}
.wm-chat-typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9ca3af;
  animation: wmDot 1.2s infinite ease-in-out;
}
.wm-chat-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.wm-chat-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes wmDot {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.wm-chat-footer {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
  flex-shrink: 0;
}
.wm-chat-input {
  flex: 1;
  resize: none;
  border: 1.5px solid #d1d5db;
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 0.84rem;
  line-height: 1.5;
  max-height: 100px;
  overflow-y: auto;
  font-family: inherit;
  background: #f9fafb;
  outline: none;
  transition: border-color 0.15s;
}
.wm-chat-input:focus { border-color: #163b27; background: #fff; }
.wm-chat-send {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #163b27;
  color: #fff;
  font-size: 1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.wm-chat-send:hover { background: #0b6230; }
.wm-chat-send:active { transform: scale(0.92); }
.wm-chat-send:disabled { background: #9ca3af; cursor: not-allowed; }
.wm-chat-disclaimer {
  text-align: center;
  font-size: 0.68rem;
  color: #9ca3af;
  padding: 0 14px 8px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .wm-chat-panel {
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    bottom: 0;
  }
  .wm-chat-btn { right: 14px; bottom: 14px; }
}

/* ══════════════════════════════════════════
   AI 이벤트 테마 오버레이
   ══════════════════════════════════════════ */
.wm-event-active {
  background: var(--event-bg, linear-gradient(135deg, #163b27, #0b6230)) !important;
}
.wm-event-active .hero-overlay {
  background: linear-gradient(to bottom, rgba(0,0,0,.25) 0%, rgba(0,0,0,.55) 100%) !important;
}
#wmEventHeroOverlay {
  margin-bottom: 18px;
}
.wm-event-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--event-accent, #e91e63);
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  margin-bottom: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.wm-event-title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.wm-event-sub {
  font-size: .95rem;
  color: rgba(255,255,255,.88);
  margin: 0 0 6px;
  text-shadow: 0 1px 4px rgba(0,0,0,.25);
}

/* ── 보온가방 납부 방식 선택 ── */
.bag-policy {
  background: #f0faf3;
  border: 1.5px solid #a7f3d0;
  border-radius: 14px;
  padding: 18px 16px 14px;
  margin-bottom: 18px;
}
.bag-policy-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.bag-policy-icon { font-size: 1.2rem; }
.bag-policy-head strong { font-size: 1rem; font-weight: 900; color: #065f46; }
.bag-policy-desc {
  font-size: .88rem;
  color: #374151;
  line-height: 1.6;
  margin: 0 0 14px;
}
.bag-pay-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}
.bag-pay-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 2px solid #d1fae5;
  border-radius: 10px;
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
  background: #fff;
}
.bag-pay-option:has(input:checked) {
  border-color: #059669;
  background: #ecfdf5;
}
.bag-pay-option input[type="radio"] {
  margin-top: 3px;
  accent-color: #059669;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.bag-pay-opt-body { flex: 1; min-width: 0; }
.bag-pay-opt-title {
  font-size: .95rem;
  font-weight: 800;
  color: #065f46;
  margin-bottom: 3px;
}
.bag-pay-opt-desc {
  font-size: .82rem;
  color: #4b5563;
  line-height: 1.5;
}
.bag-policy-list {
  margin: 0 0 12px 4px;
  padding: 0 0 0 18px;
  font-size: .84rem;
  color: #374151;
  line-height: 1.8;
}
.bag-policy-list li { margin-bottom: 2px; }
.bag-policy-agree {
  font-size: .84rem;
  align-items: flex-start;
  border-top: 1px solid #d1fae5;
  padding-top: 12px;
  margin-top: 2px;
}

/* ── 주문 요약 보온가방 비용 카드 ── */
.bag-fee-card {
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  border: 2px solid #6ee7b7;
  border-radius: 12px;
  padding: 12px 14px 10px;
  margin: 8px 0;
}
.bag-fee-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.bag-fee-card-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 800;
  color: #065f46;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.bag-fee-card-amount {
  font-size: 1.05rem;
  font-weight: 900;
  color: #059669;
}
.bag-fee-steps {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}
.bag-fee-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 900;
  border: 2px solid #6ee7b7;
  background: #fff;
  color: #9ca3af;
  transition: all .2s;
}
.bag-fee-step.done {
  background: #059669;
  border-color: #059669;
  color: #fff;
}
.bag-fee-step.current {
  background: #10b981;
  border-color: #059669;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(16,185,129,.25);
  transform: scale(1.12);
}
.bag-fee-step-arrow {
  color: #a7f3d0;
  font-size: .78rem;
  font-weight: 900;
}
.bag-fee-note {
  font-size: .78rem;
  color: #065f46;
  line-height: 1.5;
}
.bag-fee-note strong { color: #047857; }
.bag-fee-card.is-lump {
  background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
  border-color: #93c5fd;
}
.bag-fee-card.is-lump .bag-fee-card-label { color: #1e40af; }
.bag-fee-card.is-lump .bag-fee-card-amount { color: #1d4ed8; }
.bag-fee-card.is-lump .bag-fee-note { color: #1e40af; }
.bag-fee-card.is-lump .bag-fee-note strong { color: #1d4ed8; }

/* ── 어머니날 메뉴 안내 ── */
.mday-wrap {
  max-width: 860px;
  margin: 0 auto 48px;
  background: linear-gradient(135deg, #fff8e8 0%, #fffdf7 52%, #eef4d8 100%);
  border: 2px solid rgba(111,147,62,.35);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(58,75,42,.09);
}
.mday-header {
  background: linear-gradient(135deg, #0f2d1a, #1a4a2a);
  padding: 28px 32px 22px;
  text-align: center;
  color: #fff;
}
.mday-eyebrow {
  display: inline-block;
  background: #f59e0b;
  color: #1a1a1a;
  font-size: .75rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
  letter-spacing: .04em;
}
.mday-title {
  margin: 0 0 6px;
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}
.mday-sub {
  margin: 0;
  color: #a7f3d0;
  font-size: .9rem;
}
.mday-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 24px 28px 20px;
}
@media (max-width: 600px) {
  .mday-body { grid-template-columns: 1fr; }
}
.mday-message p {
  margin: 0 0 12px;
  font-size: .88rem;
  line-height: 1.65;
  color: #1f2f1e;
}
.mday-message p:last-child { margin-bottom: 0; }
.mday-photos {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mday-photos img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(53,67,37,.15);
}
.mday-menu-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(111,147,62,.25);
}
.mday-menu-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(111,147,62,.15);
}
.mday-menu-item:last-child { border-bottom: none; }
.mday-menu-item > img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0;
}
.mday-menu-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 18px;
}
.mday-menu-num {
  width: 26px;
  height: 26px;
  min-width: 26px;
  background: #2f7b2a;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .78rem;
  font-weight: 900;
  margin-top: 2px;
}
.mday-menu-info > div { flex: 1; }
.mday-menu-info strong {
  display: block;
  font-size: .92rem;
  font-weight: 800;
  color: #063b20;
  margin-bottom: 3px;
}
.mday-menu-info em {
  font-style: normal;
  font-weight: 600;
  color: #6b7a72;
  font-size: .78rem;
}
.mday-menu-info p {
  margin: 0;
  font-size: .78rem;
  line-height: 1.5;
  color: #374837;
}
.mday-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  background: linear-gradient(90deg, rgba(235,240,209,.95), rgba(255,253,248,.92));
  border-top: 1px solid rgba(111,147,62,.22);
}
.mday-heart {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #7aa33e;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.2rem;
}
.mday-footer p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.5;
  font-weight: 700;
  color: #243522;
}

/* ===== Order Deadline Timer ===== */
.order-deadline-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  background: #1e3a1e;
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  margin: 0;
  border-radius: 0;
}
.order-deadline-bar.hidden { display: none; }
.deadline-label { opacity: .85; }
.deadline-time { font-size: 1.05rem; letter-spacing: .03em; }
.order-deadline-bar.urgent { background: #b91c1c; }
.order-deadline-bar.urgent .deadline-time { animation: blink-slow 1s step-start infinite; }
.order-deadline-bar.critical { background: #991b1b; }
.order-deadline-bar.critical .deadline-time { animation: blink-fast 0.4s step-start infinite; }
@keyframes blink-slow { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes blink-fast { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── 이전 메뉴 브라우저 ─────────────────────────────────────────────────────── */
.past-menu-browser-bar { display: flex; justify-content: center; padding: 16px 0 0; }
.past-menu-browse-btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 11px 28px;
  border-radius: 999px; border: 2px solid #163b27; background: #fff;
  color: #163b27; font-size: .9rem; font-weight: 800; cursor: pointer;
  transition: all .15s;
}
.past-menu-browse-btn:hover { background: #163b27; color: #fff; }
.past-menu-browse-btn svg { transition: transform .2s; }
#pastMenuBrowser:not([hidden]) + * .past-menu-browse-btn svg,
.past-menu-browse-btn.open svg { transform: rotate(180deg); }

#pastMenuBrowser {
  margin-top: 16px; padding: 20px; background: #f7faf8;
  border-radius: 16px; border: 1px solid #e0e8e2;
}
.pmb-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.pmb-week-label { font-size: .95rem; font-weight: 900; color: #163b27; }
.pmb-nav-btn {
  padding: 6px 14px; border-radius: 8px; border: 1.5px solid #c8d5cb;
  background: #fff; font-size: .8rem; font-weight: 700; cursor: pointer;
  color: #163b27; transition: all .15s;
}
.pmb-nav-btn:hover:not(:disabled) { background: #163b27; color: #fff; border-color: #163b27; }
.pmb-nav-btn:disabled { opacity: .35; cursor: default; }
.pmb-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px;
}
.pmb-item {
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  background: #fff; border: 1.5px solid #e0e8e2; border-radius: 12px;
  padding: 10px 8px; cursor: pointer; transition: box-shadow .15s, border-color .15s;
  text-align: center;
}
.pmb-item:hover { border-color: #163b27; box-shadow: 0 4px 12px rgba(22,59,39,.12); }
.pmb-img-wrap { position: relative; width: 80px; height: 80px; border-radius: 10px; overflow: hidden; flex-shrink: 0; }
.pmb-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pmb-soldout {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.52); color: #fff; font-size: .65rem; font-weight: 900;
  letter-spacing: .04em;
}
.pmb-name { font-size: .72rem; font-weight: 700; color: #163b27; line-height: 1.3; word-break: keep-all; }

/* 이전 메뉴 상세 모달 */
.pmb-detail-modal {
  border: none; border-radius: 20px; padding: 0; max-width: 340px; width: 90%;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.pmb-detail-modal::backdrop { background: rgba(0,0,0,.45); }
.pmb-detail-inner { padding: 0 0 24px; }
.pmb-detail-close {
  position: absolute; top: 12px; right: 14px; background: rgba(0,0,0,.35); color: #fff;
  border: none; border-radius: 50%; width: 30px; height: 30px; font-size: .85rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 10;
}
.pmb-detail-modal img {
  width: 100%; height: 200px; object-fit: cover; display: block; border-radius: 20px 20px 0 0;
}
.pmb-detail-modal h3 { margin: 16px 20px 8px; font-size: 1.1rem; font-weight: 900; color: #163b27; }
.pmb-detail-modal p { margin: 0 20px; font-size: .84rem; line-height: 1.6; color: #4a5c50; }
.pmb-detail-cooking {
  margin: 14px 20px 0; padding: 12px 13px; border-radius: 12px;
  background: #f6f8f5; border: 1px solid #e0e8e2; color: #263d30;
  font-size: .82rem; line-height: 1.65; white-space: pre-line;
}
.pmb-detail-cooking:empty { display: none; }
.pmb-detail-cooking strong { display: block; margin-bottom: 4px; color: #163b27; font-size: .78rem; }
.pmb-detail-direction {
  display: none; width: calc(100% - 40px); margin: 14px 20px 0; min-height: 42px;
  border: none; border-radius: 11px; background: #163b27; color: #fff;
  font-size: .86rem; font-weight: 900; cursor: pointer;
}
.pmb-detail-direction.is-visible { display: block; }

/* ── Direction Card v2 (wemeal_direction_card_v2.html 원본 그대로) ─────────── */
.food-direction-panel { padding-left: 0 !important; padding-right: 0 !important; overflow: hidden; }
.food-direction-panel .fd-header { padding: 0 clamp(16px,2.4vw,28px) 10px; }
.food-direction-panel .fd-menu-select { padding: 8px clamp(16px,2.4vw,28px) 12px; display: flex; flex-wrap: wrap; gap: 8px; overflow-x: auto; }
.food-direction-panel .fd-menu-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px 5px 6px; border-radius: 20px; border: 1.5px solid #c8d5cb;
  background: #fff; font-size: .78rem; font-weight: 700; cursor: pointer;
  color: #163b27; transition: all .15s; white-space: nowrap; flex-shrink: 0;
}
.food-direction-panel .fd-menu-btn img {
  width: 32px; height: 32px; object-fit: cover; border-radius: 50%; display: block; flex-shrink: 0;
}
.food-direction-panel .fd-menu-btn.is-active { background: #163b27; color: #fff; border-color: #163b27; }
#fdContent { overflow: hidden; }
.fd-empty { color: #6b7a72; font-size: .84rem; padding: 16px clamp(16px,2.4vw,28px); }

.dc-wrap { width: 100%; overflow: hidden; position: relative; }
.dc-root { width: 1200px; transform-origin: top left; }

/* 아래는 wemeal_direction_card_v2.html CSS 원본 — 수정 금지 */
.dc-root * { box-sizing: border-box; }
.dc-root .card {
  width: 1200px; height: 2550px; position: relative; overflow: hidden;
  background: #fbf7ea;
  font-family: "Apple SD Gothic Neo","Noto Sans KR",Arial,sans-serif; color: #112217;
}
.dc-root .photo-band {
  position: absolute; inset: 0 0 auto 0; height: 860px; overflow: hidden; background: #16371f;
}
.dc-root .photo-band img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95) contrast(.95); opacity: .9; }
.dc-root .photo-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,rgba(10,33,18,.10) 0%,rgba(10,33,18,.34) 54%,#fbf7ea 100%),
              linear-gradient(90deg,rgba(7,28,14,.36),rgba(7,28,14,.02) 58%);
}
.dc-root .sheet {
  position: absolute; left: 54px; right: 54px; top: 84px; bottom: 54px;
  border-radius: 44px; border: 3px solid rgba(255,255,255,.72);
  box-shadow: 0 24px 54px rgba(38,45,29,.22); overflow: hidden;
  background: rgba(255,252,243,.94);
}
.dc-root .sheet::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.80) 26%),
              radial-gradient(circle at 100% 28%,rgba(126,157,74,.13),transparent 24%),
              radial-gradient(circle at 0% 70%,rgba(190,133,40,.10),transparent 20%);
  pointer-events: none;
}
.dc-root .inner { position: relative; z-index: 2; padding: 54px 56px 48px; }
.dc-root .topbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 28px; min-height: 176px; }
.dc-root .logo { width: 350px; display: block; margin-bottom: 24px; margin-left: -32px; filter: drop-shadow(0 2px 0 rgba(255,255,255,.55)); }
.dc-root .badge {
  display: inline-flex; align-items: center; gap: 11px; height: 46px; padding: 0 20px;
  border-radius: 999px; background: #0b4d23; color: #fff; font-size: 20px; font-weight: 900; letter-spacing: .4px;
}
.dc-root svg { stroke: currentColor; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.dc-root .badge svg { width: 22px; height: 22px; stroke-width: 2.2; }
.dc-root .qr-top {
  flex: 0 0 261px; border-radius: 28px; background: rgba(255,255,255,.94);
  border: 2px solid rgba(13,72,33,.2); padding: 14px; text-align: center;
  box-shadow: 0 10px 24px rgba(32,46,24,.12);
  align-self: flex-start;
}
.dc-root .qr-top img { width: 207px; height: 207px; object-fit: contain; display: block; margin: 0 auto 9px; }
.dc-root .qr-top span { font-size: 22px; line-height: 1.14; font-weight: 900; color: #0b4d23; }
.dc-root h1 { margin: 32px 0 14px; max-width: 790px; font-size: 82px; line-height: .98; letter-spacing: -1.4px; font-weight: 950; color: #0b3519; }
.dc-root .deck { margin: 0; max-width: 840px; font-size: 30px; line-height: 1.32; font-weight: 760; color: #29382b; }
.dc-root .menu-line {
  margin-top: 34px; min-height: 110px; border-left: 10px solid #0b4d23;
  background: linear-gradient(90deg,rgba(255,255,255,.92),rgba(255,255,255,.50));
  border-radius: 0 28px 28px 0; padding: 24px 28px;
}
.dc-root .menu-line .k { display: block; font-size: 21px; font-weight: 900; color: #846119; margin-bottom: 8px; }
.dc-root .menu-line .v { display: block; font-size: 38px; font-weight: 950; color: #092f17; }
.dc-root .dish-photo {
  margin-top: 24px; height: 260px; border-radius: 32px; overflow: hidden;
  border: 3px solid rgba(255,255,255,.88); box-shadow: 0 14px 30px rgba(34,47,28,.16); background: #18371e;
}
.dc-root .dish-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dc-root .quick { margin-top: 34px; display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.dc-root .quick-item {
  min-height: 138px; border-radius: 28px; background: #f0eadb; padding: 22px 20px;
  border: 1.5px solid rgba(139,118,78,.24);
}
.dc-root .quick-item svg { width: 38px; height: 38px; stroke-width: 2.2; color: #0b4d23; margin-bottom: 10px; }
.dc-root .quick-item strong { display: block; font-size: 22px; font-weight: 950; margin-bottom: 5px; color: #0b3519; }
.dc-root .quick-item span { display: block; font-size: 19px; line-height: 1.25; font-weight: 720; color: #29382b; white-space: pre-line; }
.dc-root .timeline {
  margin-top: 40px; border-radius: 34px; background: #fffdf7;
  border: 2px solid rgba(13,72,33,.18); padding: 34px 34px 22px;
  box-shadow: 0 12px 28px rgba(43,54,34,.08);
}
.dc-root .section-title { display: flex; align-items: center; margin-bottom: 26px; }
.dc-root .section-title h2 { margin: 0; font-size: 39.5px; font-weight: 950; color: #0b3519; }
.dc-root .step { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 0 0 34px; }
.dc-root .step:not(:last-child)::before {
  content: ""; position: absolute; left: 35px; top: 76px; bottom: 8px;
  border-left: 3px dashed rgba(13,72,33,.23);
}
.dc-root .mark {
  width: 70px; height: 70px; border-radius: 50%; background: #0b4d23;
  display: grid; place-items: center; color: #fff; border: 3px solid rgba(255,255,255,.86);
  font-family: Arial,sans-serif; font-size: 30px; font-weight: 950;
}
.dc-root .step h3 { margin: 2px 0 9px; font-size: 33px; font-weight: 950; color: #102416; }
.dc-root .step p { margin: 0; font-size: 26px; line-height: 1.36; font-weight: 690; color: #2f3d2f; }
.dc-root .notice { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.dc-root .notice-card {
  min-height: 172px; border-radius: 28px; padding: 24px 26px;
  background: #f4eedf; border: 1.5px solid rgba(139,118,78,.24);
}
.dc-root .notice-card strong { display: block; font-size: 25px; font-weight: 950; color: #0b3519; margin-bottom: 10px; }
.dc-root .notice-card p { margin: 0; font-size: 20px; line-height: 1.38; font-weight: 690; }
.dc-root .bottom { position: absolute; right: 68px; bottom: 56px; z-index: 5; }
.dc-root .bottom-logo { width: 300px; height: 180px; display: grid; place-items: center; }
.dc-root .bottom-logo img { width: 280px; height: 150px; object-fit: contain; display: block; }

/* ── 선결제 플랜 모바일 최적화 ───────────────────────────────── */
@media (max-width: 620px) {
  /* 타이틀 + 공식박스: 세로 스택 */
  .sp-title-row { flex-direction: column; align-items: stretch; gap: 10px; }
  .sp-formula-box { padding: 8px 10px; gap: 6px; justify-content: center; border-radius: 10px; }
  .sp-fi-icon { width: 30px; height: 30px; font-size: .78rem; }
  .sp-fi-label { font-size: .58rem; }
  .sp-formula-op { font-size: .85rem; }

  /* 컬럼 헤더 숨김 */
  .sp-col-header { display: none; }

  /* ── 플랜 카드: 왼쪽 사이드바(주수+보너스%) | 오른쪽(계산+버튼) ── */
  .subscription-plan {
    display: grid !important;
    grid-template-columns: 62px 1fr;
    grid-template-rows: 1fr auto;
    grid-template-areas:
      "side calc"
      "side btn";
    padding: 0;
    gap: 0;
    align-items: stretch;
    overflow: visible;
  }
  .subscription-plan.is-best { margin-top: 14px; }

  /* 왼쪽 사이드바: 주수 원형 + 보너스 배지 세로 스택 */
  .sp-top-row {
    grid-area: side;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 6px;
    background: rgba(22,59,39,0.03);
    border-right: 1.5px solid rgba(22,59,39,0.1);
    border-radius: 12px 0 0 12px;
  }

  /* 오른쪽 위: 계산 행 */
  .sp-calc-strip {
    grid-area: calc;
    display: flex !important;
    align-items: center;
    justify-content: space-around;
    gap: 3px;
    padding: 14px 10px;
    border-bottom: 1px solid rgba(22,59,39,0.08);
  }

  /* 오른쪽 아래: 버튼 */
  .subscription-plan .sp-col-btn {
    grid-area: btn;
    order: 0;
    padding: 10px 12px;
  }
  .prepay-btn { width: 100%; padding: 12px; font-size: .88rem; border-radius: 10px; }

  /* 주 원형 */
  .sp-week-circle { width: 42px; height: 42px; }
  .sp-week-num { font-size: .88rem; }

  /* 보너스 배지 */
  .sp-bonus-badge { padding: 5px 7px; gap: 1px; border-radius: 8px; }
  .sp-pct-num { font-size: .88rem; }
  .sp-pct-label { font-size: .56rem; }

  /* 계산 박스들 */
  .sp-charge-box, .sp-bonus-box { padding: 6px 5px; border-radius: 8px; }
  .sp-total-box, .sp-total-box-best { padding: 6px 5px; border-radius: 8px; }
  .sp-detail-charge, .sp-detail-bonus { font-size: .8rem; }
  .sp-total-amount { font-size: .88rem; }
  .sp-charge-word, .sp-bonus-word, .sp-total-lbl, .sp-credit-provide { font-size: .54rem; }
  .sp-arrow { font-size: .75rem; }

  /* BEST 배지: 사이드바 오른쪽에 위치 */
  .subscription-plan mark { top: -10px; left: 70px; font-size: .55rem; }
}
