/* FREN Franchise Order — Design tokens */
:root {
  --cream: #fbf7f2;
  --cream-dark: #f3ebe2;
  --wood: #8b6f5c;
  --wood-dark: #4a3f35;
  --pink: #f5d5d8;
  --pink-deep: #e8a598;
  --mint: #d4ede6;
  --mint-deep: #9fd4c4;
  --lavender: #e8e0f5;
  --lavender-deep: #c4b5e8;
  --peach: #fde8d8;
  --white: #ffffff;
  --shadow: 0 12px 40px rgba(74, 63, 53, 0.08);
  --shadow-sm: 0 4px 16px rgba(74, 63, 53, 0.06);
  --radius: 20px;
  --radius-sm: 12px;
  --font: "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, sans-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;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--wood-dark);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

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

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

.container-wide {
  width: min(1440px, 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 rgba(139, 111, 92, 0.1);
}

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

.logo-img {
  display: block;
  height: 38px;
  width: auto;
  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;
  opacity: 0.92;
}

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

.nav-main a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--wood);
  transition: color var(--transition);
}

.nav-main a:hover {
  color: var(--pink-deep);
}

.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: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  color: var(--wood-dark);
  text-decoration: none;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition);
}

.header-cart:hover {
  background: rgba(232, 165, 152, 0.25);
  color: var(--pink-deep);
}

.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(--pink-deep);
  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;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  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);
}

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

.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(--pink-deep);
  color: var(--pink-deep);
}

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

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

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wood);
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--pink-deep);
}

.hero-lead {
  margin: 0 0 1.75rem;
  max-width: 32rem;
  font-size: 1.0625rem;
  color: var(--wood);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wood-dark);
}

.hero-stats span {
  font-size: 0.8125rem;
  color: var(--wood);
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.hero-storefront {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(139, 111, 92, 0.1);
}

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

.section-head {
  margin-bottom: 2.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 — 홈 카드 그리드 */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}

.category-card {
  display: block;
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition);
}

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

a.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

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

.category-mint { border-color: rgba(159, 212, 196, 0.4); }
.category-pink { border-color: rgba(232, 165, 152, 0.4); }
.category-lavender { border-color: rgba(196, 181, 232, 0.4); }
.category-peach { border-color: rgba(253, 232, 216, 0.8); }
.category-wood { border-color: rgba(139, 111, 92, 0.35); }

.category-emoji {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.category-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

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

.category-link {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--pink-deep);
}

a.category-card:hover .category-link {
  text-decoration: underline;
}

.category-link-disabled {
  font-size: 0.875rem;
  color: var(--wood);
  opacity: 0.65;
  cursor: default;
}

/* 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(--pink-deep);
}

.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 */
.features {
  background: var(--white);
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  padding: 2rem;
  background: var(--cream);
  border-radius: var(--radius);
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.icon-cart::after,
.icon-box::after,
.icon-truck::after {
  content: "";
  position: absolute;
  inset: 14px;
  background: var(--pink-deep);
  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.5rem;
  font-size: 1.125rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--wood);
}

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

.flow-steps li {
  padding: 1.75rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.flow-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--pink-deep);
  margin-bottom: 0.75rem;
}

.flow-steps h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
}

.flow-steps p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--wood);
}

/* CTA banner */
/* Franchise guide download */
.franchise-guide {
  background: var(--white);
}

.guide-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 2.25rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid rgba(139, 111, 92, 0.12);
  box-shadow: var(--shadow-sm);
}

.guide-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 108px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(139, 111, 92, 0.15);
  box-shadow: var(--shadow-sm);
}

.guide-pdf-badge {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--pink-deep);
}

.guide-card-label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wood);
}

.guide-card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.375rem;
}

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

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

.guide-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-width: 180px;
}

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

.guide-view-btn {
  background: var(--white);
  text-align: center;
}

.cta-banner {
  padding-bottom: 5rem;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem 3rem;
  background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood) 100%);
  border-radius: var(--radius);
  color: var(--white);
  box-shadow: var(--shadow);
}

.cta-copy h2 {
  margin: 0 0 0.5rem;
  font-size: 1.5rem;
}

.cta-copy p {
  margin: 0;
  opacity: 0.88;
  max-width: 28rem;
}

.cta-actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.75rem;
}

.cta-banner .btn-primary {
  background: var(--pink-deep);
}

.cta-banner .btn-primary:hover {
  background: #d99284;
}

/* Footer */
.site-footer {
  background: var(--wood-dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 3rem 0 0;
}

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

.footer-links h3,
.footer-contact h3 {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  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.75);
  font-size: 0.9375rem;
  transition: color var(--transition);
}

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

.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.12);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.8125rem;
  opacity: 0.6;
}

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

/* Mobile nav open state */
body.nav-open .nav-main,
body.nav-open .header-actions {
  display: flex;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-content: center;
  }

  .hero-storefront {
    max-width: 480px;
    margin-inline: auto;
  }

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

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

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

@media (max-width: 768px) {
  .nav-main,
  .header-actions {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 1.5rem;
    background: var(--cream);
    border-bottom: 1px solid rgba(139, 111, 92, 0.1);
    box-shadow: var(--shadow);
  }

  .header-actions {
    top: calc(var(--header-h) + 180px);
    border: none;
    box-shadow: none;
    gap: 0.75rem;
  }

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

  .nav-toggle {
    display: flex;
  }

  .nav-main a {
    padding: 0.5rem 0;
    font-size: 1.0625rem;
  }

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

  .guide-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.75rem 1.5rem;
  }

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

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

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

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

  .cta-inner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }

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

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

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

  .hero-stats {
    gap: 1.25rem;
  }
}

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

.header-notice-bell:hover {
  background: rgba(212, 237, 230, 0.65);
  color: var(--mint-deep);
}

.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: #c45c4a;
  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: #c45c4a;
  border-radius: 999px;
}
