/* FREN Franchise Order — Design tokens */
:root {
  --cream: #fbf7f2;
  --cream-dark: #f3ebe2;
  --wood: #8b6f5c;
  --wood-dark: #4a3f35;
  --pink: #f5d5d8;
  --pink-deep: #e8a598;
  /* 메인 강조색 — 원래 분홍(살구빛 핑크)으로 원복 */
  --brand: #e8a598;
  --brand-dark: #d98b7a;
  --mint: #d4ede6;
  --mint-deep: #9fd4c4;
  --lavender: #e8e0f5;
  --lavender-deep: #c4b5e8;
  --peach: #fde8d8;
  /* 빈티지 골드(금박) + 세이지 포인트 — 아주 약간씩 */
  --gold: #b59a6a;
  --gold-line: rgba(181, 154, 106, 0.45);
  --gold-hair: rgba(181, 154, 106, 0.3);
  --gold-soft: rgba(181, 154, 106, 0.12);
  --sage: #82988a;
  --mint-accent: #9baa9e;
  --sage-line: rgba(130, 152, 138, 0.45);
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(74, 63, 53, 0.08);
  --shadow-sm: 0 4px 16px rgba(74, 63, 53, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --header-h: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--wood-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1 0 auto;
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
}

.container-narrow {
  width: min(1040px, calc(100% - 2rem));
}

/* Background blobs */
.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

.blob-1 {
  width: 420px;
  height: 420px;
  background: var(--pink);
  top: -120px;
  right: -80px;
}

.blob-2 {
  width: 360px;
  height: 360px;
  background: var(--mint);
  bottom: 10%;
  left: -100px;
}

.blob-3 {
  width: 280px;
  height: 280px;
  background: var(--lavender);
  top: 45%;
  right: 15%;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(251, 247, 242, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gold-hair);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 30px;
}

.logo-img {
  display: block;
  height: 38px;
  width: auto;
  min-width: 30px;
  max-width: min(200px, 42vw);
  object-fit: contain;
  object-position: left center;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.footer-logo-img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.nav-main {
  display: flex;
  gap: 1.75rem;
}

.nav-main a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  padding: 0.35rem 0.15rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--wood);
  transition: color var(--transition);
}

.nav-main a:hover {
  color: var(--wood-dark);
}

.nav-main a.is-active {
  color: var(--wood-dark);
  font-weight: 700;
}

.nav-main a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.4rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--sage));
}

.nav-notice-link {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.nav-notice-dot {
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  margin-top: -0.55rem;
  border-radius: 50%;
  background: #d64545;
  box-shadow: 0 0 0 2px rgba(251, 247, 242, 0.95);
}

.nav-notice-dot[hidden] {
  display: none !important;
}

/* 로그인 사용자용 컴팩트 히어로 (마케팅 히어로 대체, 크게 노출하지 않음) */
.hero-compact {
  padding: 1.5rem 0 0.5rem;
}
.hero-compact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-compact-eyebrow {
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brand);
  text-transform: uppercase;
}
.hero-compact-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--wood-dark);
  border-radius: 2px;
  transition: var(--transition);
}

.header-user {
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  color: var(--wood);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  color: var(--wood-dark);
  text-decoration: none;
  border: none;
  border-radius: 0;
  background: transparent;
  transition: color var(--transition);
}

.header-cart:hover {
  background: transparent;
  color: var(--brand);
}

.header-cart-icon {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
  background: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.header-cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.3rem;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.125rem;
  text-align: center;
  color: var(--white);
  background: var(--brand);
  border-radius: 999px;
  transform: translate(25%, -25%);
  box-shadow: 0 1px 3px rgba(139, 111, 92, 0.35);
}

.header-logout-form {
  display: flex;
  align-items: center;
  margin: 0;
}

.header-logout-btn {
  display: inline-flex;
  align-items: center;
  height: auto;
  margin: 0;
  padding: 0.15rem 0.1rem;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  color: var(--wood);
  cursor: pointer;
  transform: none;
  transition: color var(--transition);
}

.header-logout-btn:hover {
  color: var(--wood-dark);
  background: transparent;
  border: none;
  transform: none;
  box-shadow: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  height: 2.2rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), color var(--transition);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--wood-dark);
  color: var(--white);
  box-shadow: var(--shadow-sm), inset 0 1px 0 var(--gold-hair);
}

.btn-primary:hover {
  background: var(--wood);
  box-shadow: var(--shadow);
}

.btn-french-mint {
  background: #9BAA9E;
}

.btn-french-mint:hover {
  background: #82988A;
}

.btn-ghost {
  background: transparent;
  color: var(--wood);
  border-color: rgba(139, 111, 92, 0.25);
}

.btn-ghost:hover {
  border-color: var(--wood);
  background: var(--white);
}

.btn-outline {
  background: var(--white);
  color: var(--wood-dark);
  border-color: rgba(74, 63, 53, 0.15);
}

.btn-outline:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.btn-light {
  background: var(--white);
  color: var(--wood-dark);
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

/* Hero — 배경 이미지 + 칩 마퀴 */
.hero {
  --hero-bg: none;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(640px, 88vh, 900px);
  display: flex;
  flex-direction: column;
  padding: 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--hero-bg) center / cover no-repeat;
  transform: scale(1.04);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      ellipse 78% 62% at 50% 42%,
      rgba(251, 247, 242, 0.9) 0%,
      rgba(251, 247, 242, 0.55) 52%,
      rgba(251, 247, 242, 0.22) 100%
    ),
    linear-gradient(
      180deg,
      rgba(251, 247, 242, 0.58) 0%,
      rgba(251, 247, 242, 0.32) 42%,
      rgba(251, 247, 242, 0.74) 100%
    );
}

.hero > .container {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding-block: 2.5rem;
}

.hero-intro {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 40rem;
  margin: 0 auto 5rem auto;
  padding: 1.25rem 1rem;
  text-align: center;
  animation: hero-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-title {
  position: relative;
  margin: 0 0 0.65rem;
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
  color: var(--wood-dark);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
}

.hero-title-layer {
  display: block;
}

.hero-title-to {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

.hero-title-from .hero-char {
  opacity: 1;
  filter: blur(0);
  transition:
    opacity 0.55s ease,
    filter 0.55s ease;
}

.hero-title-to .hero-char {
  opacity: 0;
  filter: blur(4px);
  transition:
    opacity 0.55s ease,
    filter 0.55s ease;
}

.hero-title-from .hero-char.is-out {
  opacity: 0;
  filter: blur(3px);
}

.hero-title-to .hero-char.is-in {
  opacity: 1;
  filter: blur(0);
}

.hero-title.is-translated .hero-title-from {
  visibility: hidden;
}

.hero-title.is-translated .hero-title-to .hero-char {
  opacity: 1;
  filter: none;
  transition: none;
}

.hero-title em,
.hero-title-accent,
.hero-char.is-accent {
  font-style: normal;
  color: #B59A6A;
}

.hero-char {
  display: inline-block;
}

.hero-lead {
  position: relative;
  margin: 0 0 0.65rem;
  font-size: clamp(0.95rem, 1.45vw, 1.1rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.22em;
  color: var(--wood);
  white-space: nowrap;
}

.hero-lead .hero-title-from {
  letter-spacing: 0.06em;
}

.hero-lead .hero-title-to,
.hero-lead.is-translated {
  letter-spacing: 0.22em;
}

.hero-lead .hero-title-to {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

.hero-lead.is-translated .hero-title-from {
  visibility: hidden;
}

.hero-lead.is-translated .hero-title-to .hero-char {
  opacity: 1;
  filter: none;
  transition: none;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1rem;
}

.hero-cta .btn-lg {
  height: 3.15rem;
  padding: 0 1.45rem;
  font-size: 0.98rem;
  font-weight: 700;
}

.hero-cta .btn-primary {
  background: var(--wood-dark);
  color: var(--white);
  border-color: var(--wood-dark);
  box-shadow: 0 12px 28px rgba(74, 63, 53, 0.22);
}

.hero-cta .btn-primary:hover {
  background: var(--wood);
  border-color: var(--wood);
  box-shadow: 0 14px 32px rgba(74, 63, 53, 0.26);
}

.hero-cta .btn-outline {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(139, 111, 92, 0.28);
  box-shadow: 0 8px 20px rgba(74, 63, 53, 0.08);
}

.hero-marquees {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 0;
  padding: 2.25rem 0 3.5rem;
}

.hero-figure {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  z-index: 3;
  width: clamp(340px, 33vw, 620px);
  height: auto;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(
    ellipse 72% 82% at 50% 44%,
    #000 52%,
    rgba(0, 0, 0, 0.34) 80%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 72% 82% at 50% 44%,
    #000 52%,
    rgba(0, 0, 0, 0.34) 80%,
    transparent 100%
  );
}

.hero-marquee-row {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  animation: hero-marquee 68s linear infinite;
}

.hero-marquee-row.is-reverse .hero-marquee-track {
  animation-name: hero-marquee-reverse;
  animation-duration: 76s;
}

.hero-marquees:hover .hero-marquee-track,
.hero-marquees:focus-within .hero-marquee-track {
  animation-play-state: paused;
}

.hero-marquee-set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.85rem;
  padding-right: 0.85rem;
}

.hero-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 13rem;
  height: 3.5rem;
  padding: 0 1rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(139, 111, 92, 0.14);
  box-shadow: 0 10px 24px rgba(74, 63, 53, 0.08);
  color: var(--wood-dark);
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  box-sizing: border-box;
}

.hero-chip-media {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1.35rem;
  width: 1.35rem;
  height: 1.35rem;
  line-height: 0;
  color: var(--wood-dark);
}

.hero-chip-icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  padding: 0;
  color: var(--wood-dark);
  opacity: 1;
  object-fit: contain;
  overflow: visible;
  flex-shrink: 0;
}

.hero-chip-label {
  display: grid;
  justify-items: start;
  align-items: center;
  margin: 0;
  padding: 0.12em 0 0;
  line-height: 1.15;
  overflow: visible;
}

.hero-chip-ko,
.hero-chip-fr {
  grid-area: 1 / 1;
  transition: opacity 0.28s ease;
}

.hero-chip-ko {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-chip-fr {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0;
}

.hero-chip:hover .hero-chip-ko,
.hero-chip:focus-visible .hero-chip-ko {
  opacity: 0;
}

.hero-chip:hover .hero-chip-fr,
.hero-chip:focus-visible .hero-chip-fr {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-chip-ko,
  .hero-chip-fr {
    transition: none;
  }
}

@keyframes hero-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes hero-marquee-reverse {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 페이지 진입 애니메이션 — 히어로 배너와 동일한 라이즈 */
.enter-rise {
  animation: hero-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.enter-rise-2 {
  animation: hero-rise 0.75s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  .hero-intro,
  .enter-rise,
  .enter-rise-2 {
    animation: none;
  }

  .hero-marquee-track {
    animation: none;
  }

  .hero-title-from,
  .hero-lead .hero-title-from {
    display: none;
  }

  .hero-title-to,
  .hero-lead .hero-title-to {
    position: static;
  }

  .hero-title-to .hero-char,
  .hero-lead .hero-title-to .hero-char {
    opacity: 1;
    filter: none;
  }

  .hero-cta {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-head {
  position: relative;
  margin-bottom: 2.5rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 1.75rem 1rem;
  padding-block: 0.25rem 0.5rem;
}

.section-head-center {
  text-align: center;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
}

.section-head p {
  margin: 0;
  color: var(--wood);
}

/* Categories — editorial photo cards */
.section.categories {
  position: relative;
  padding: 7rem 0 7.5rem;
}

.section.categories .section-head {
  margin-bottom: 4.5rem;
}

.categories-intro .categories-brand {
  margin: 0 0 0.2rem;
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 5vw, 3.35rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.15;
  color: var(--wood-dark);
}

.categories-intro .categories-tagline {
  margin: 0 0 1.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: 0.04em;
  color: var(--mint-accent);
}

.categories-intro h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
  color: var(--wood-dark);
}

.categories-intro > p:last-child {
  margin: 0 auto;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--wood);
}

.section.categories > .container {
  position: relative;
  z-index: 1;
}

.category-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  overflow: visible;
}

a.category-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.category-card:hover .category-photo {
  transform: scale(1.04);
}

a.category-card:hover .category-arrow {
  transform: translateX(3px);
}

.category-card.is-disabled {
  cursor: default;
  opacity: 0.72;
}

.category-photo-wrap {
  display: block;
  width: 100%;
  margin-bottom: 1.1rem;
  overflow: hidden;
  line-height: 0;
}

.category-photo {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 0 0.15rem;
}

.category-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-size: clamp(0.78rem, 1.1vw, 1.05rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--wood-dark);
}

.category-body p {
  margin: 0 0 0.7rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--wood);
  word-break: keep-all;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.category-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  margin-top: auto;
  padding: 0;
  background: none;
  border: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--wood-dark);
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: color var(--transition);
}

a.category-card:hover .category-link {
  color: var(--wood);
}

.category-arrow {
  display: inline-block;
  color: inherit;
  transition: transform var(--transition);
}

.category-link-disabled {
  color: var(--wood);
  opacity: 0.8;
}

/* Categories — 상품 카탈로그 가로 메뉴 */
.category-menu {
  margin-bottom: 1.25rem;
}

.category-menu-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-menu-list > li {
  display: inline-flex;
  align-items: center;
}

.category-menu-list > li:not(:last-child)::after {
  content: "·";
  margin: 0 0.5rem;
  color: rgba(139, 111, 92, 0.45);
  font-weight: 700;
  pointer-events: none;
}

.category-menu-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--wood);
  text-decoration: none;
  white-space: nowrap;
}

.category-menu-link:hover {
  color: var(--brand);
}

.category-menu-link.is-active {
  font-weight: 700;
  color: var(--wood-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.category-menu-link.is-empty {
  opacity: 0.55;
}

.category-menu-count {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--wood);
  opacity: 0.85;
}

.category-menu-count::before {
  content: "(";
}

.category-menu-count::after {
  content: ")";
}

/* Features — checkpoint style (kmkong-inspired) */
.features {
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232, 165, 152, 0.12), transparent 60%),
    var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: 1rem;
  padding-block: 4.5rem 4rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  width: 100%;
  margin-inline: 0;
}

.home-block-head {
  margin-bottom: 3.25rem;
}

.home-block-head h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.home-block-head > p:last-child {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--wood);
  font-size: 1.05rem;
  line-height: 1.7;
}

.section-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #c97868;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 2rem 1.7rem 1.85rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(139, 111, 92, 0.1);
  border-radius: 22px;
  box-shadow: 0 10px 32px rgba(74, 63, 53, 0.05);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 120, 104, 0.28);
  box-shadow: 0 18px 40px rgba(74, 63, 53, 0.1);
}

.feature-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.feature-num {
  font-size: clamp(2.75rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  color: var(--wood-dark);
  line-height: 0.9;
}

.feature-eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #c97868;
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 0 1.2rem;
  border-radius: 14px;
  background: linear-gradient(145deg, #fbf7f2, #f3ebe2);
  box-shadow: none;
  border: 1px solid rgba(139, 111, 92, 0.1);
  position: relative;
}

.icon-cart::after,
.icon-box::after,
.icon-truck::after {
  content: "";
  position: absolute;
  inset: 12px;
  background: var(--wood-dark);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.icon-cart::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z'/%3E%3C/svg%3E");
}

.icon-box::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4'/%3E%3C/svg%3E");
}

.icon-truck::after {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 16V6a1 1 0 00-1-1H4a1 1 0 00-1 1v10m10 0h4m-4 0a2 2 0 11-4 0m6 0a2 2 0 11-4 0M3 16h10'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M13 16V6a1 1 0 00-1-1H4a1 1 0 00-1 1v10m10 0h4m-4 0a2 2 0 11-4 0m6 0a2 2 0 11-4 0M3 16h10'/%3E%3C/svg%3E");
}

.feature-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.feature-card > p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--wood);
}

.feature-points {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 1.4rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid rgba(139, 111, 92, 0.1);
  list-style: none;
  width: 100%;
}

.feature-points li {
  position: relative;
  padding-left: 1.35rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--wood-dark);
}

.feature-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #c97868;
  box-shadow: 0 0 0 3px rgba(201, 120, 104, 0.18);
}

/* Order flow */
.section.order-flow {
  background:
    linear-gradient(180deg, #f7f1ea 0%, var(--cream) 100%);
  padding-block: 4.5rem 4rem;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.flow-steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.85rem 1.45rem 1.55rem;
  background: var(--white);
  border: 1px solid rgba(139, 111, 92, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(74, 63, 53, 0.04);
  transition: transform var(--transition), box-shadow var(--transition);
}

.flow-steps li:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(74, 63, 53, 0.09);
}

.flow-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 2.15rem;
  right: -0.65rem;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: #c97868;
  box-shadow: 0.55rem 0 0 #e8c4bb, 1.1rem 0 0 #f0d8d2;
  z-index: 1;
}

.flow-num {
  display: block;
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 3vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: #c97868;
}

.flow-steps h3 {
  margin: 0 0 0.55rem;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.flow-steps p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--wood);
}

.flow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.flow-tags span {
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  background: var(--cream);
  border: 1px solid rgba(139, 111, 92, 0.1);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--wood-dark);
}

/* Benefits — 가맹점 혜택 3 */
.benefits {
  background: var(--white);
  padding-block: 7.5rem;
}

.benefits-intro {
  margin-bottom: 4.5rem;
}

.benefits-intro .section-eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.16em;
  font-size: 0.95rem;
}

.benefits-intro h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.benefits-intro > p:last-child {
  margin: 0 auto;
  max-width: 34rem;
  color: var(--wood);
  font-size: 1.05rem;
  line-height: 1.7;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.benefit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2.35rem 2rem 2.15rem;
  background: #faf6f1;
  border: 1px solid rgba(139, 111, 92, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(74, 63, 53, 0.04);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.benefit-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 120, 104, 0.22);
  box-shadow: 0 14px 32px rgba(74, 63, 53, 0.08);
}

.benefit-num {
  display: block;
  margin-bottom: 1.1rem;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  color: #c97868;
}

.benefit-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  line-height: 1.3;
  color: var(--wood-dark);
  word-break: keep-all;
}

.benefit-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--wood);
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* Franchise guide */
.franchise-guide {
  background: var(--white);
  padding-block: 4.5rem 3.5rem;
}

.guide-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  width: 100%;
  margin-inline: 0;
  padding: 2.35rem 2.4rem;
  background: #faf6f1;
  border-radius: 28px;
  border: 1px solid rgba(139, 111, 92, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 18px 44px rgba(74, 63, 53, 0.07);
  position: relative;
  overflow: hidden;
}

.guide-card::before {
  content: "";
  position: absolute;
  inset: 0.7rem;
  border-radius: 22px;
  border: 1px solid var(--gold-line);
  pointer-events: none;
}

.guide-card-media {
  position: relative;
  z-index: 1;
}

.guide-card-folio {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 7.25rem;
  min-height: 9.25rem;
  padding: 1.15rem 0.85rem;
  background: linear-gradient(180deg, #fff 0%, #f7f0e8 100%);
  border-radius: 18px;
  border: 1px solid rgba(139, 111, 92, 0.14);
  box-shadow:
    0 10px 28px rgba(74, 63, 53, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.guide-card-folio img {
  display: block;
  width: auto;
  max-width: 4.75rem;
  height: 1.35rem;
  object-fit: contain;
}

.guide-pdf-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: #8f2626;
}

.guide-card-body {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.guide-card-label {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8f2626;
}

.guide-card-body h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.35rem, 2.4vw, 1.65rem);
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.guide-card-lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--wood);
}

.guide-card-meta {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--wood);
}

.guide-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.95rem;
  color: var(--wood-dark);
  line-height: 1.7;
}

.guide-card-list li {
  position: relative;
  padding-left: 1.15rem;
}

.guide-card-list li + li {
  margin-top: 0.3rem;
}

.guide-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: #8f2626;
  box-shadow: 0 0 0 3px rgba(143, 38, 38, 0.12);
}

.guide-card-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-width: 198px;
}

.guide-download-btn {
  white-space: nowrap;
}

.guide-view-btn {
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.cta-banner {
  background:
    radial-gradient(120% 82% at 50% -18%, rgba(245, 213, 216, 0.42), transparent 62%),
    linear-gradient(180deg, #fdfaf6, #f6ede3);
  padding-block: 8rem;
}

.cta-panel {
  position: relative;
  text-align: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--wood-dark);
}

.cta-panel-inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin-inline: auto;
}

.cta-eyebrow {
  margin: 0 0 0.85rem;
}

.cta-panel h2 {
  margin: 0 0 0.9rem;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.32;
  color: var(--wood-dark);
  text-wrap: balance;
  word-break: keep-all;
}

.cta-divider {
  width: 3.5rem;
  height: 2px;
  margin: 0 auto 1.2rem;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--sage) 70%, transparent);
  border: 0;
  padding: 0;
}

.cta-panel-inner > p:not(.cta-divider):not(.section-eyebrow):not(.cta-aside) {
  margin: 0 auto 2rem;
  max-width: 30rem;
  color: var(--wood);
  line-height: 1.75;
  font-size: 1.02rem;
  word-break: keep-all;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.cta-banner .btn-lg {
  min-width: 10.5rem;
}

.cta-aside {
  margin: 1.25rem 0 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--wood);
  word-break: keep-all;
}

.cta-aside a {
  font-weight: 700;
  color: var(--wood-dark);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cta-aside a:hover {
  color: var(--brand-dark);
}

/* Logged-in home desk */
.home-desk {
  background: var(--white);
  padding-block: 5rem 4rem;
}

.home-desk-head {
  max-width: 40rem;
  margin-bottom: 1.75rem;
}

.home-desk-head h2 {
  margin: 0 0 0.45rem;
}

.home-desk-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.home-desk-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-height: 8.25rem;
  padding: 1.2rem 1.15rem;
  border-radius: 18px;
  border: 1px solid rgba(139, 111, 92, 0.12);
  background: #faf6f1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: transform var(--transition), border-color var(--transition),
    box-shadow var(--transition);
}

.home-desk-action:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 120, 104, 0.28);
  box-shadow: 0 14px 28px rgba(74, 63, 53, 0.08);
}

.home-desk-action-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c97868;
}

.home-desk-action strong {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--wood-dark);
}

.home-desk-action span:last-child {
  margin-top: 0.15rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--wood);
}

.home-desk-panel {
  margin-bottom: 1.35rem;
  padding: 1.35rem 1.4rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(139, 111, 92, 0.12);
  background: #faf6f1;
}

.home-desk-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.95rem;
}

.home-desk-panel-head h3 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.home-desk-panel-head a {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--wood);
}

.home-desk-panel-head a:hover {
  color: var(--wood-dark);
}

.home-desk-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.home-desk-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.9rem;
  background: var(--white);
  border: 1px solid rgba(139, 111, 92, 0.1);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.home-desk-stat:hover {
  border-color: rgba(201, 120, 104, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(74, 63, 53, 0.08);
}

.home-desk-stat--total {
  background: linear-gradient(150deg, #faece7, #fff);
  border-color: rgba(232, 165, 152, 0.35);
}

.home-desk-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--wood);
}

.home-desk-stat-value {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--wood-dark);
}

.home-desk-stat-value em {
  margin-left: 2px;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 600;
}

.home-desk-orders {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.home-desk-order {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(139, 111, 92, 0.1);
}

.home-desk-order:hover {
  border-color: rgba(139, 111, 92, 0.22);
  box-shadow: var(--shadow-sm);
}

.home-desk-order-id {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-desk-order-meta {
  font-size: 0.82rem;
  color: var(--wood);
}

.home-desk-order-status {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  border-radius: 999px;
  line-height: 1.35;
}

.home-desk-order-status.order-status-payment_pending {
  color: #8b5a2b;
  background: rgba(212, 165, 116, 0.25);
}

.home-desk-order-status.order-status-payment_completed {
  color: #2d5c7a;
  background: rgba(180, 210, 230, 0.45);
}

.home-desk-order-status.order-status-partial_shipped {
  color: #6b4a8b;
  background: rgba(210, 195, 230, 0.5);
}

.home-desk-order-status.order-status-shipped {
  color: #2d6b5c;
  background: rgba(212, 237, 230, 0.65);
}

.home-desk-order-total {
  font-weight: 700;
  color: var(--brand-dark);
  white-space: nowrap;
}

.home-desk-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1rem;
  padding: 0.35rem 0.15rem;
}

.home-desk-empty p {
  margin: 0;
  color: var(--wood);
  font-size: 0.92rem;
}

/* Scroll reveal (kmkong-style entrance) */
[data-reveal] {
  --reveal-delay: 0ms;
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay);
  will-change: opacity, transform;
}

[data-reveal="fade"] {
  transform: none;
}

[data-reveal="left"] {
  transform: translate3d(-28px, 0, 0);
}

[data-reveal="right"] {
  transform: translate3d(28px, 0, 0);
}

[data-reveal="scale"] {
  transform: translate3d(0, 18px, 0) scale(0.97);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

[data-reveal].is-done {
  will-change: auto;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background var(--transition),
    color var(--transition);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* Footer */
.site-footer {
  background: var(--wood-dark);
  color: rgba(255, 255, 255, 0.88);
  padding: 3rem 0 0;
  border-top: 2px solid var(--gold-line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer-desc {
  margin: 0;
  font-size: 0.9375rem;
  opacity: 0.78;
}

.footer-links h3,
.footer-contact h3 {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
}

.footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a,
.footer-contact a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--brand);
}

.footer-links li + li {
  margin-top: 0.5rem;
}

.footer-contact p {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
}

.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8125rem;
  opacity: 0.65;
  color: rgba(255, 255, 255, 0.88);
}

.footer-bottom .footer-legal {
  margin-bottom: 0.35rem;
  opacity: 0.75;
}

/* Mobile nav: hamburger stays hamburger; close is on overlay */
body.nav-open .nav-toggle span:nth-child(1),
body.nav-open .nav-toggle span:nth-child(2),
body.nav-open .nav-toggle span:nth-child(3) {
  transform: none;
  opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-marquees {
    padding: 1.25rem 0 2.5rem;
  }

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

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

  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-steps li:not(:last-child)::after {
    display: none;
  }

  .category-grid {
    gap: 1.5rem 0.75rem;
  }

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

  .home-desk-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-desk-stat--total {
    grid-column: span 3;
  }
}

@media (max-width: 768px) {
  .nav-main,
  .header-actions {
    display: none;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
  }

  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding-block: 0;
    gap: 1.25rem 0.5rem;
  }

  .category-card--featured {
    grid-row: span 2;
  }

  .category-card--featured .category-photo-wrap {
    flex: 1 1 0;
    min-height: 0;
    position: relative;
  }

  .category-card--featured .category-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .category-photo-wrap {
    margin-bottom: 0.9rem;
  }

  .category-card h3 {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
  }

  .category-body p {
    margin-bottom: 0.5rem;
    min-height: 0;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .flow-steps li:not(:last-child)::after {
    display: none;
  }

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

  .home-desk-action {
    min-height: 7.25rem;
  }

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

  .home-desk-stat--total {
    grid-column: span 2;
  }

  .home-desk-order {
    grid-template-columns: 1fr auto;
  }

  .home-desk-order-meta,
  .home-desk-order-total {
    grid-column: 1 / -1;
  }

  .guide-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.85rem 1.4rem;
    gap: 1.35rem;
  }

  .guide-card-folio {
    margin: 0 auto;
  }

  .guide-card-list {
    text-align: left;
    display: inline-block;
  }

  .guide-card-actions {
    width: 100%;
    min-width: 0;
  }

  .guide-card-actions .btn {
    width: 100%;
  }

  .cta-panel {
    padding: 0;
  }

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

  .cta-actions .btn {
    width: 100%;
  }

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

  .hero-marquees {
    padding: 2.25rem 0 2rem;
    gap: 0.75rem;
  }

  .hero {
    min-height: clamp(560px, 85vh, 760px);
  }

  .hero-figure {
    width: 125vw;
    max-width: none;
  }

  .hero-chip {
    width: 12rem;
    height: 3.25rem;
    padding: 0 0.85rem;
    font-size: 1rem;
    border-radius: 12px;
  }

  .hero-chip-media {
    flex-basis: 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
  }

  .hero-chip-icon {
    width: 1.15rem;
    height: 1.15rem;
  }
}

/* 발주 안내 알림 */
.header-notice-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  padding: 0;
  color: var(--wood-dark);
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: color var(--transition);
}

.header-notice-bell:hover {
  background: transparent;
  color: var(--brand);
}

.header-notice-bell-icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  background: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='currentColor'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 17h5l-1.405-1.405A2.032 2.032 0 0118 14.158V11a6.002 6.002 0 00-4-5.659V5a2 2 0 10-4 0v.341C7.67 6.165 6 8.388 6 11v3.159c0 .538-.214 1.055-.595 1.436L4 17h5m6 0v1a3 3 0 11-6 0v-1m6 0H9'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.header-notice-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.3rem;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.125rem;
  text-align: center;
  color: var(--white);
  background: var(--brand);
  border-radius: 999px;
  transform: translate(25%, -25%);
  box-shadow: 0 1px 3px rgba(139, 111, 92, 0.35);
}

body.notice-modal-open {
  overflow: hidden;
}

.notice-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.notice-modal[hidden] {
  display: none !important;
}

.notice-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(74, 63, 53, 0.45);
}

.notice-modal-panel {
  position: relative;
  width: min(28rem, 100%);
  max-height: min(32rem, calc(100vh - 2rem));
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.notice-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(139, 111, 92, 0.12);
}

.notice-modal-title {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--wood-dark);
}

.notice-modal-close {
  margin: 0;
  padding: 0.15rem 0.45rem;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--wood);
  background: none;
  border: none;
  cursor: pointer;
}

.notice-modal-body {
  padding: 0.75rem 1rem 1rem;
  overflow-y: auto;
}

.notice-modal-empty {
  margin: 0;
  padding: 1.5rem 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--wood);
}

.notice-modal-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.notice-modal-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.75rem;
  margin-bottom: 0.35rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid rgba(139, 111, 92, 0.12);
  transition: background var(--transition), border-color var(--transition);
}

.notice-modal-item:hover {
  background: rgba(250, 246, 240, 0.95);
  border-color: rgba(159, 212, 196, 0.55);
}

.notice-modal-item-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.notice-modal-order {
  font-size: 0.875rem;
  color: var(--wood-dark);
}

.notice-modal-time {
  flex-shrink: 0;
  font-size: 0.75rem;
  color: var(--wood);
}

.notice-modal-excerpt {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--wood);
}

.notice-modal-badge {
  align-self: flex-start;
  padding: 0.1rem 0.45rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
}

/* Promo banner modal — image only */
body.promo-banner-open {
  overflow: hidden;
}

.promo-banner {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.promo-banner[hidden] {
  display: none !important;
}

.promo-banner-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(74, 63, 53, 0.5);
}

.promo-banner-panel {
  position: relative;
  z-index: 1;
  width: min(70vw, 720px);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(74, 63, 53, 0.35);
  background: #fff;
}

.promo-banner-link {
  display: block;
  line-height: 0;
}

.promo-banner-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(85vh - 3rem);
  object-fit: contain;
  background: #f7f4ef;
}

.promo-banner-foot {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid rgba(139, 111, 92, 0.12);
}

.promo-banner-foot-btn {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--wood);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.promo-banner-foot-btn:hover {
  color: var(--wood-dark);
  background: rgba(250, 246, 240, 0.95);
}

.promo-banner-foot-btn--close {
  color: var(--wood-dark);
  border-left: 1px solid rgba(139, 111, 92, 0.12);
}

@media (max-width: 640px) {
  .promo-banner {
    padding: 0.75rem;
  }

  .promo-banner-panel {
    width: min(92vw, 100%);
  }

  .promo-banner-foot {
    flex-direction: column;
  }

  .promo-banner-foot-btn--close {
    border-left: none;
    border-top: 1px solid rgba(139, 111, 92, 0.12);
  }
}
