/* BIOMECEUTIQ — 공통 스타일 (기존 Tailwind 디자인을 그대로 옮김) */
:root {
  --g900: #111827; --g800: #1f2937; --g700: #374151; --g600: #4b5563; --g500: #6b7280;
  --g400: #9ca3af; --g300: #d1d5db; --g200: #e5e7eb; --g100: #f3f4f6; --g50: #f9fafb;
  --serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --sans: Inter, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid var(--g200); }
html { line-height: 1.5; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: #fff; color: var(--g900); -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column; }
main { flex-grow: 1; padding-top: 5rem; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; background: none; }
button { cursor: pointer; }
ul { list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.wrap { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.wrap.narrow { max-width: 56rem; }
@media (min-width: 640px) { .wrap { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .wrap { padding: 0 2rem; } }

/* 머리글 */
.topnav { position: fixed; top: 0; width: 100%; z-index: 50; background: rgba(255,255,255,.95);
  backdrop-filter: blur(4px); border-bottom: 1px solid var(--g100); }
.topnav-row { display: flex; justify-content: space-between; align-items: center; height: 5rem; }
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.875rem; line-height: 2.25rem; letter-spacing: .1em; }
.nav-links, .nav-user { display: none; align-items: center; }
.nav-links { gap: 2.5rem; }
.nav-link { font-size: .875rem; line-height: 1.25rem; font-weight: 500; letter-spacing: .1em; color: var(--g500); transition: color .2s; }
.nav-link:hover, .nav-link.active { color: var(--g900); }
.nav-user a { color: var(--g500); transition: color .2s; }
.nav-user a:hover { color: var(--g900); }
.nav-toggle { color: var(--g500); display: flex; }
.nav-toggle:hover { color: var(--g900); }
.nav-toggle .i-close, .topnav.open .nav-toggle .i-open { display: none; }
.topnav.open .nav-toggle .i-close { display: block; }
.mnav { display: none; position: absolute; width: 100%; background: #fff; border-bottom: 1px solid var(--g100);
  padding: .5rem 1rem 1.5rem; }
.topnav.open .mnav { display: block; }
.mnav-link { display: block; padding: .75rem; margin-top: .5rem; border-radius: .375rem; font-weight: 500; color: var(--g500); }
.mnav-link:first-child { margin-top: 0; }
.mnav-link:hover, .mnav-link.active { color: var(--g900); background: var(--g50); }
@media (min-width: 1024px) {
  .nav-links, .nav-user { display: flex; }
  .nav-toggle, .topnav.open .mnav { display: none; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .nav-links { gap: 1.75rem; } }

/* 버튼 */
.btn { display: inline-block; background: var(--g900); color: #fff; border: 1px solid var(--g900);
  padding: 1rem 2.5rem; font-size: .875rem; line-height: 1.25rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  text-align: center; transition: background-color .15s, color .15s; }
.btn:hover { background: var(--g800); }
.btn.outline { background: transparent; color: var(--g900); }
.btn.outline:hover { background: var(--g900); color: #fff; }
.btn.block { display: flex; justify-content: center; width: 100%; padding: 1rem; font-weight: 700; }
.btn-row { display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
@media (min-width: 640px) { .btn-row { flex-direction: row; } }

/* 홈 */
.hero { position: relative; height: 85vh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--g50); }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.hero-veil { position: absolute; inset: 0; background: rgba(255,255,255,.4); }
.hero-inner { position: relative; width: 100%; text-align: center; }
.hero h1 { font-family: var(--serif); font-weight: 700; font-size: 1.875rem; line-height: 2.25rem;
  letter-spacing: .1em; margin-bottom: 1.5rem; overflow-wrap: break-word; }
.hero p { font-size: 1.125rem; line-height: 1.75rem; color: var(--g800); font-weight: 300; letter-spacing: .025em;
  max-width: 42rem; margin: 0 auto 2.5rem; padding: 0 .5rem; }
@media (min-width: 640px) { .hero h1 { font-size: 3rem; line-height: 1; } }
@media (min-width: 768px) {
  .hero h1 { font-size: 4.5rem; }
  .hero p { font-size: 1.5rem; line-height: 2rem; }
}
.section { padding: 6rem 0; }
.intro { text-align: center; margin-bottom: 5rem; }
.intro h2, .prose h2 { font-family: var(--serif); font-weight: 700; font-size: 1.875rem; line-height: 2.25rem; }
.intro h2 { letter-spacing: .1em; margin-bottom: 1.5rem; }
.intro p { color: var(--g500); max-width: 42rem; margin: 0 auto; line-height: 1.625; }
.feature-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
.feature { position: relative; display: block; height: 500px; overflow: hidden; }
.feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.feature:hover img { transform: scale(1.05); }
.feature-shade { position: absolute; inset: 0; background: rgba(0,0,0,.2); transition: background-color .5s; }
.feature:hover .feature-shade { background: rgba(0,0,0,.3); }
.feature-label { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); white-space: nowrap;
  color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.875rem; line-height: 2.25rem; letter-spacing: .1em;
  padding-bottom: .5rem; border-bottom: 2px solid rgba(255,255,255,0); transition: border-color .3s; }
.feature:hover .feature-label { border-color: #fff; }

/* 페이지 제목 띠 */
.title-band { background: var(--g50); padding: 5rem 0; margin-bottom: 3rem; text-align: center; }
.title-band.tall { padding: 6rem 0; margin-bottom: 0; }
.title-band h1 { font-family: var(--serif); font-weight: 700; font-size: 1.875rem; line-height: 2.25rem;
  letter-spacing: .1em; margin-bottom: 1rem; }
.title-band.tall h1 { font-size: 2.25rem; line-height: 2.5rem; margin-bottom: 1.5rem; }
.title-band p { color: var(--g500); max-width: 42rem; margin: 0 auto; }
.title-band p.light { font-weight: 300; }
.rule { width: 4rem; height: .25rem; background: var(--g900); margin: 0 auto; }

/* 브랜드 */
.split { display: grid; gap: 4rem; align-items: center; }
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; } }
.split img { width: 100%; height: auto; }
.shadow { box-shadow: 0 25px 50px -12px rgba(0,0,0,.25); }
.prose h2 { letter-spacing: .025em; margin-bottom: 2rem; }
.prose p { color: var(--g500); line-height: 2; margin-top: 1.5rem; }
.prose strong { color: var(--g900); font-weight: 500; }

/* 제품 */
.products { padding-bottom: 5rem; }
.tabs { display: flex; justify-content: center; gap: 2rem; margin-bottom: 4rem; overflow-x: auto; padding-bottom: 1rem; }
@media (min-width: 640px) { .tabs { padding-bottom: 0; } }
.tab { font-size: .875rem; line-height: 1.25rem; font-weight: 500; letter-spacing: .1em; padding-bottom: .5rem; white-space: nowrap;
  color: var(--g400); border-bottom: 2px solid transparent; transition: all .3s; }
.tab:hover { color: var(--g600); }
.tab.active { color: var(--g900); border-color: var(--g900); }
.product-grid { display: grid; gap: 2.5rem 2rem; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .product-grid { row-gap: 4rem; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product { cursor: pointer; }
.product-img { aspect-ratio: 4 / 5; width: 100%; overflow: hidden; background: var(--g100); margin-bottom: 1rem; }
@media (min-width: 768px) { .product-img { margin-bottom: 1.5rem; } }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease-in-out; }
.product:hover .product-img img { transform: scale(1.05); }
.product-body { text-align: center; }
.product-body > * + * { margin-top: .5rem; }
.product .sub { font-size: .75rem; line-height: 1rem; color: var(--g400); text-transform: uppercase; letter-spacing: .1em; }
.product h3 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 500; }
.product .desc { font-size: .875rem; line-height: 1.25rem; color: var(--g500); padding: 0 1rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product .price { font-size: .875rem; line-height: 1.25rem; font-weight: 700; }

/* 고객지원 */
.support { padding-bottom: 6rem; }
.support-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .support-grid { grid-template-columns: 1fr 1fr; } }
.card { padding: 2rem; border: 1px solid var(--g100); box-shadow: 0 1px 2px rgba(0,0,0,.05); border-radius: 2px; }
.card h2 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1.5rem; }
.stack > * + * { margin-top: 1.5rem; }
.stack label { display: block; font-size: .75rem; line-height: 1rem; font-weight: 700; color: var(--g500); text-transform: uppercase; margin-bottom: .5rem; }
.stack input, .stack textarea { display: block; width: 100%; padding: .75rem; border: 1px solid var(--g200);
  background: var(--g50); box-shadow: 0 1px 2px rgba(0,0,0,.05); outline: none; transition: border-color .15s; }
.stack input::placeholder, .stack textarea::placeholder { color: var(--g400); }
.stack input:focus, .stack textarea:focus { border-color: var(--g900); }
.kakao-box { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
  padding: 2rem; background: var(--g50); border: 1px solid var(--g100); }
.kakao-box h3 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; margin-bottom: 1rem; }
.kakao-box p { color: var(--g500); margin-bottom: 2rem; }
.kakao-btn { display: flex; justify-content: center; width: 100%; background: #FEE500; color: #191919;
  padding: 1rem 2rem; border-radius: .375rem; font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: background-color .15s; }
.kakao-btn:hover { background: #FDD835; }

/* 로그인·회원가입 */
.auth { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 0 1rem; }
.auth-box { max-width: 28rem; width: 100%; }
.auth-head { text-align: center; }
.auth-head h2 { font-family: var(--serif); font-weight: 700; font-size: 1.875rem; line-height: 2.25rem; letter-spacing: .1em; }
.auth-head p { margin-top: .5rem; font-size: .875rem; line-height: 1.25rem; color: var(--g500); }
.auth-form { margin-top: 2rem; }
.auth-form > * + * { margin-top: 1.5rem; }
.auth-fields > * + * { margin-top: 1rem; }
.auth-fields input { display: block; width: 100%; padding: 1rem .75rem; border: 1px solid var(--g300);
  background: var(--g50); outline: none; }
.auth-fields input::placeholder { color: var(--g500); }
.auth-fields input:focus { border-color: var(--g900); }
@media (min-width: 640px) { .auth-fields input { font-size: .875rem; line-height: 1.25rem; } }
.auth-row { display: flex; align-items: center; justify-content: space-between; font-size: .875rem; line-height: 1.25rem; }
.auth-row a { font-weight: 500; }
.auth-row a:hover { color: var(--g700); }
.check { display: flex; align-items: center; gap: .5rem; }
.check input { width: 1rem; height: 1rem; accent-color: var(--g900); }
.btn.bold { font-weight: 700; }
.auth-switch { margin-top: 2rem; text-align: center; font-size: .875rem; line-height: 1.25rem; color: var(--g600); }
.auth-switch a { font-weight: 500; color: var(--g900); text-decoration: underline; }

/* 바닥글 */
.footer { background: var(--g50); border-top: 1px solid var(--g100); padding: 4rem 0; }
.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1.2fr; gap: 4rem; } }
.footer-brand h3 { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; line-height: 1.75rem; letter-spacing: .1em; margin-bottom: 1.5rem; }
.footer-brand p { color: var(--g500); font-size: .875rem; line-height: 1.625; max-width: 24rem; }
.footer h4 { font-size: .75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1.5rem; }
.footer li + li { margin-top: 1rem; }
.footer-grid a { color: var(--g500); font-size: .875rem; line-height: 1.25rem; transition: color .15s; }
.footer-grid a:hover { color: var(--g900); }
.footer-bottom { margin-top: 4rem; border-top: 1px solid var(--g200); padding-top: 2rem;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.footer-legal { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.footer-legal .biz { color: var(--g500); font-size: .75rem; line-height: 1rem; font-weight: 500; }
.footer-legal .sep { margin: 0 .5rem; }
.footer-legal .copy { color: var(--g400); font-size: .75rem; line-height: 1rem; }
.footer-links { display: flex; gap: 1.5rem; margin-top: 1rem; color: var(--g400); font-size: .75rem; line-height: 1rem; }
@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; }
  .footer-legal { align-items: flex-start; }
  .footer-links { margin-top: 0; }
}

/* Vital·Derma 개편 (2026-10) */
.band { background: var(--g50); }
.eyebrow { font-size: .75rem; line-height: 1rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase;
  color: var(--g500); margin-bottom: 1rem; }
.title-band .eyebrow { margin-bottom: 1rem; }
.title-band.tall p:not(.eyebrow) { margin-top: 1.5rem; }
.center-row { margin-top: 4rem; }
.feature-label { display: flex; flex-direction: column; align-items: center; gap: .75rem; white-space: normal;
  width: 85%; text-align: center; }
.feature-label small { font-family: var(--sans); font-size: .875rem; line-height: 1.25rem; font-weight: 400;
  letter-spacing: .025em; }
.steps { list-style: none; display: grid; gap: 2rem; counter-reset: none; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: #fff; border: 1px solid var(--g100); padding: 2rem; }
.step-no { display: block; font-family: var(--serif); font-size: 2.25rem; line-height: 2.5rem; font-weight: 700;
  color: var(--g300); margin-bottom: 1.5rem; }
.step h3 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; letter-spacing: .025em; margin-bottom: .75rem; }
.step p { color: var(--g500); font-size: .875rem; line-height: 1.5rem; }
.audience-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .audience-grid { grid-template-columns: 1fr 1fr; } }
.audience-grid .card { background: #fff; display: flex; flex-direction: column; }
.audience-grid .card h2 { font-family: var(--serif); text-transform: none; font-size: 1.5rem; line-height: 2rem; letter-spacing: .025em; }
.ticks { margin-bottom: 2rem; flex-grow: 1; }
.ticks li { position: relative; padding-left: 1.75rem; color: var(--g600); line-height: 1.625; }
.ticks li + li { margin-top: .75rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .55em; width: .75rem; height: .4rem;
  border-left: 2px solid var(--g900); border-bottom: 2px solid var(--g900); transform: rotate(-45deg); }
.btn.block.outline { background: transparent; color: var(--g900); }
.btn.block.outline:hover { background: var(--g900); color: #fff; }
.founder-strip { text-align: center; max-width: 48rem; }
.founder-strip h2 { font-family: var(--serif); font-weight: 700; font-size: 1.875rem; line-height: 2.25rem;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1.5rem; }
.founder-strip p:not(.eyebrow) { color: var(--g500); line-height: 1.75; margin-bottom: 2.5rem; }
.founder { display: grid; gap: 3rem; }
@media (min-width: 768px) { .founder { grid-template-columns: 1fr 2fr; gap: 4rem; } }
.founder-head h2 { font-family: var(--serif); font-weight: 700; font-size: 1.875rem; line-height: 2.25rem;
  letter-spacing: .025em; margin-bottom: 2rem; }
.edu li { border-top: 1px solid var(--g200); padding: 1rem 0; display: flex; flex-direction: column; gap: .25rem; }
.edu li:last-child { border-bottom: 1px solid var(--g200); }
.edu strong { font-weight: 600; }
.edu span { color: var(--g500); font-size: .875rem; line-height: 1.25rem; }
.founder .prose p:first-child { margin-top: 0; }
.prose .cite { font-size: .875rem; line-height: 1.5rem; border-left: 2px solid var(--g900); padding-left: 1rem; }
.prose .cite a { color: var(--g700); text-decoration: underline; text-underline-offset: 3px; }
.notice { margin-top: 2rem; padding: 1rem; background: var(--g50); border: 1px solid var(--g200);
  font-size: .875rem; line-height: 1.25rem; text-align: center; color: var(--g600); }
.notice a { color: var(--g900); font-weight: 600; text-decoration: underline; }
.auth-head .eyebrow { margin-bottom: .75rem; }
input:disabled, button:disabled { opacity: .5; cursor: not-allowed; }
.disclaimer { margin-top: 3rem; color: var(--g400); font-size: .75rem; line-height: 1.25rem; max-width: 48rem; }
.footer-bottom { margin-top: 2rem; }
.logo img { height: 1.75rem; width: auto; }
.footer-brand h3 img { height: 1.5rem; width: auto; }
.hero h1 img { height: 2.75rem; width: auto; margin: 0 auto; max-width: 100%; object-fit: contain; }
@media (min-width: 640px) { .hero h1 img { height: 3.5rem; } }
@media (min-width: 768px) { .hero h1 img { height: 4.125rem; } }
.call-btn, .wa-btn { display: flex; justify-content: center; width: 100%; padding: 1rem 2rem; border-radius: .375rem;
  font-weight: 700; margin-bottom: .75rem; transition: background-color .15s; }
.call-btn { background: var(--g900); color: #fff; }
.call-btn:hover { background: var(--g800); }
.wa-btn { background: #25D366; color: #fff; }
.wa-btn:hover { background: #1ebe5a; }
.thesis { margin-top: 1.5rem; font-size: .875rem; line-height: 1.5rem; color: var(--g600); font-style: italic; }
.thesis span { display: block; font-style: normal; font-size: .75rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--g500); margin-bottom: .25rem; }
.line-logo { height: 3.5rem; width: auto; margin: 0 auto 2rem; }
.nav-user { gap: 1.5rem; }
.lang { display: flex; align-items: center; gap: .4rem; font-size: .75rem; line-height: 1rem; font-weight: 600; letter-spacing: .1em; }
.lang a { color: var(--g400); transition: color .15s; }
.lang a:hover, .lang a.on { color: var(--g900); }
.lang span { color: var(--g300); }
.nav-mobile-right { display: flex; align-items: center; gap: 1.25rem; }
@media (min-width: 1024px) { .nav-mobile-right { display: none; } }
.form-status { font-size: .875rem; line-height: 1.25rem; color: var(--g600); min-height: 1.25rem; }
html[lang="ko"] body { word-break: keep-all; }
.stack input.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
html[lang="ko"] h1, html[lang="ko"] h2, html[lang="ko"] .btn, html[lang="ko"] .nav-link, html[lang="ko"] .mnav-link, html[lang="ko"] .tab { letter-spacing: .02em; }

/* 2026-10-04 디자인 다듬기 */
html[lang="ko"] body { font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; }
html[lang="ko"] h1, html[lang="ko"] h2, html[lang="ko"] h3, html[lang="ko"] .feature-label,
html[lang="ko"] .step-no, html[lang="ko"] .footer-brand h3 {
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; }
html[lang="ko"] .title-band h1, html[lang="ko"] .intro h2, html[lang="ko"] .founder-strip h2 { font-weight: 600; }
.hero { height: 62vh; min-height: 420px; max-height: 640px; }
.feature { height: 320px; }
@media (min-width: 1024px) { .feature { height: 360px; } }
.split { max-width: 64rem; }
.split img { max-height: 380px; width: 100%; object-fit: cover; }
@media (min-width: 768px) { .split { grid-template-columns: 2fr 3fr; } }
.kakao-btn.is-off { background: var(--g200); color: var(--g500); cursor: default; }
.kakao-btn.is-off:hover { background: var(--g200); }
.prose .stat { font-weight: 500; color: var(--g900); }

/* 2026-10-05: SHOP 하위 메뉴, DERMA 원칙 */
.nav-drop { position: relative; display: flex; align-items: center; }
.nav-sub { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: .75rem; display: none; z-index: 60; }
.nav-sub::before { content: ""; position: absolute; inset: .75rem 0 0; background: #fff; border: 1px solid var(--g100); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.nav-drop:hover .nav-sub, .nav-drop:focus-within .nav-sub { display: block; }
.nav-sub-link { position: relative; display: block; padding: .6rem 1.5rem; font-size: .8rem; letter-spacing: .1em; color: var(--g500); white-space: nowrap; text-align: center; }
.nav-sub-link:first-child { margin-top: .4rem; }
.nav-sub-link:last-child { margin-bottom: .4rem; }
.nav-sub-link:hover { color: var(--g900); }
.mnav-sub { display: flex; gap: .25rem; padding-left: .75rem; }
.mnav-sub-link { padding: .4rem .75rem; font-size: .8rem; letter-spacing: .08em; color: var(--g400); border-radius: .375rem; }
.mnav-sub-link:hover { color: var(--g900); background: var(--g50); }
.principles { list-style: none; display: grid; gap: 2rem; max-width: 64rem; margin: 0 auto; }
@media (min-width: 768px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principles li { background: #fff; padding: 2rem; border: 1px solid var(--g100); }
.principles strong { display: block; font-weight: 600; color: var(--g900); margin-bottom: .75rem; letter-spacing: .02em; }
.principles span { color: var(--g500); line-height: 1.7; font-size: .95rem; }
.shop-group + .shop-group { margin-top: 5rem; }
.group-head { text-align: center; margin-bottom: 2.5rem; }
.group-head h2 { font-size: 1.5rem; letter-spacing: .12em; }
.group-head p:last-child { color: var(--g500); margin-top: .5rem; font-size: .95rem; }
.subtabs { display: flex; justify-content: center; gap: .5rem; margin: -2.5rem 0 3.5rem; flex-wrap: wrap; }
.subtabs[hidden] { display: none; }
.subtab { font-size: .75rem; letter-spacing: .12em; font-weight: 500; padding: .45rem 1.1rem; border: 1px solid var(--g200); border-radius: 999px; color: var(--g500); background: #fff; cursor: pointer; transition: all .15s; }
.subtab:hover { color: var(--g900); border-color: var(--g400); }
.subtab.active { color: #fff; background: var(--g900); border-color: var(--g900); }
.footer-brand .footer-motto { margin-top: 1.25rem; padding-left: .875rem; border-left: 2px solid var(--g300); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--g400); }
@media (max-width: 767px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; } .footer-brand { grid-column: 1 / -1; } }

/* 2026-10-05: 홈 로고 버튼, 기능 카드(그림 위에 글자 없이 아래 로고) */
.logo-btn { display: inline-flex; align-items: center; justify-content: center; padding: 1rem 1.75rem; background: rgba(255,255,255,.85);
  border: 1px solid var(--g200); transition: background .2s, border-color .2s, transform .2s; }
.logo-btn:hover { background: #fff; border-color: var(--g400); transform: translateY(-1px); }
.logo-btn img { height: 2.6rem; width: auto; }
@media (max-width: 639px) { .logo-btn { padding: .9rem 1.1rem; } .logo-btn img { height: 2.1rem; } }
.feature { height: auto; background: #fff; border: 1px solid var(--g100); }
@media (min-width: 1024px) { .feature { height: auto; } }
.feature-media { display: block; height: 300px; overflow: hidden; }
@media (min-width: 1024px) { .feature-media { height: 340px; } }
.feature-cap { display: flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1.5rem 1rem 1.75rem; text-align: center; }
.feature img.feature-logo { width: auto; height: 2.6rem; object-fit: contain; transform: none; }
.feature:hover img.feature-logo { transform: none; }
.feature-cap small { font-size: .875rem; color: var(--g500); line-height: 1.4; }

/* 2026-10-05: 깔끔한 첫 화면, 그림 없는 라인 카드 */
.hero.hero-clean { height: auto; min-height: 0; max-height: none; padding: 6.5rem 0 6rem;
  background: linear-gradient(135deg, #f4f6f3 0%, #fafaf8 50%, #f7f3ee 100%); border-bottom: 1px solid var(--g100); }
@media (max-width: 639px) { .hero.hero-clean { padding: 4.5rem 0 4rem; } }
.hero.hero-clean p { margin-bottom: 0; }
.line-link { display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center; }
.line-box { display: flex; align-items: center; justify-content: center; width: 100%; padding: 2.75rem 1.5rem; background: #fff;
  border: 1px solid var(--g200); transition: border-color .2s, box-shadow .2s, transform .2s; }
.line-box img { height: 2.6rem; width: auto; }
.line-link:hover .line-box { border-color: var(--g400); box-shadow: 0 10px 30px rgba(0,0,0,.05); transform: translateY(-2px); }
.line-desc { font-size: .9rem; color: var(--g500); line-height: 1.5; }
.line-link:hover .line-desc { color: var(--g900); }
/* 한국어 페이지: 명조(serif) 제목을 모두 Pretendard로 통일 */
html[lang="ko"] { --serif: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif; }
html[lang="ko"] .audience-grid .card h2, html[lang="ko"] .founder-head h2, html[lang="ko"] .founder-strip h2, html[lang="ko"] .auth-head h2 { font-weight: 700; letter-spacing: .01em; }
.founder-head h2 { font-size: 1.5rem; line-height: 2rem; }
.pubs { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid var(--g200); }
.pubs h3 { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--g500); margin-bottom: 1rem; }
.pubs ul { list-style: none; padding: 0; margin: 0; }
.pubs li { font-size: .875rem; line-height: 1.6; color: var(--g600); }
.pubs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--g300); }
.pubs a:hover { color: var(--g900); }

/* 2026-10-05: 장바구니 버튼(머리글) */
.cart-btn { position: relative; display: inline-flex; color: var(--g500); margin-left: 1rem; transition: color .2s; }
.cart-btn:hover { color: var(--g900); }
.nav-mobile-right .cart-btn { margin: 0; }
.cart-count { position: absolute; top: -.35rem; right: -.55rem; min-width: 1.05rem; height: 1.05rem; padding: 0 .25rem; border-radius: 999px;
  background: var(--g900); color: #fff; font-size: .625rem; font-weight: 700; line-height: 1.05rem; text-align: center; }

/* 제품 카드 링크 */
a.product { display: block; color: inherit; }

/* 담기·주문 버튼 */
.btn-cart, .btn-order { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; height: 3.4rem;
  padding: 0 1.5rem; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; overflow: hidden;
  transition: background-color .25s, color .25s, border-color .25s, transform .15s; }
html[lang="ko"] .btn-cart, html[lang="ko"] .btn-order { letter-spacing: .04em; font-size: .9375rem; }
.btn-cart { border: 1px solid var(--g900); color: var(--g900); background: #fff; }
.btn-cart:hover { background: var(--g50); }
.btn-cart.done { background: var(--g900); color: #fff; }
.btn-cart.done svg { animation: bq-pop .5s ease; }
.btn-order { border: 1px solid var(--g900); background: var(--g900); color: #fff; }
.btn-order:hover { background: #000; }
.btn-order:active, .btn-cart:active { transform: scale(.985); }
.btn-order span { position: relative; z-index: 1; }
.btn-order i { position: absolute; top: 0; left: -60%; width: 45%; height: 100%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent); }
.btn-order:hover i { animation: bq-shine .9s ease; }
@keyframes bq-shine { to { left: 130%; } }
@keyframes bq-pop { 0% { transform: scale(1); } 40% { transform: scale(1.25) rotate(-8deg); } 100% { transform: scale(1); } }

/* 제품 상세 */
.pd { padding-top: 2rem; padding-bottom: 5rem; }
.pd-crumb { display: flex; gap: .5rem; font-size: .75rem; letter-spacing: .12em; color: var(--g400); margin-bottom: 1.75rem; }
.pd-crumb a:hover { color: var(--g900); }
.pd-top { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .pd-top { grid-template-columns: 1.05fr 1fr; gap: 4.5rem; align-items: start; } .pd-media { position: sticky; top: 6.5rem; } }
.pd-media { background: var(--g100); aspect-ratio: 4 / 5; overflow: hidden; }
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-eyebrow { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--g400); }
.pd-buy h1 { font-family: var(--serif); font-size: 1.875rem; line-height: 1.25; font-weight: 500; margin: .6rem 0 .9rem; }
@media (min-width: 900px) { .pd-buy h1 { font-size: 2.25rem; } }
html[lang="ko"] .pd-buy h1 { font-weight: 700; font-size: 1.75rem; }
.pd-desc { color: var(--g600); line-height: 1.7; }
.pd-price { font-size: 1.5rem; font-weight: 600; margin: 1.5rem 0; letter-spacing: .01em; }
.pd-points { border-top: 1px solid var(--g200); padding-top: 1.25rem; display: grid; gap: .7rem; }
.pd-points li { display: flex; gap: .65rem; align-items: flex-start; font-size: .9375rem; color: var(--g700); line-height: 1.5; }
.pd-points svg { flex: none; margin-top: .2rem; color: #6f8a73; }
.pd-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; padding: 1rem 0; border-top: 1px solid var(--g200); border-bottom: 1px solid var(--g200); }
.pd-meta dt { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--g400); }
.pd-meta dd { font-size: .9rem; margin-top: .2rem; }
.pd-label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--g500); }
html[lang="ko"] .pd-label, html[lang="ko"] .pd-meta dt, html[lang="ko"] .pd-crumb { letter-spacing: .04em; }
.pd-qty-row { display: flex; justify-content: space-between; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--g300); height: 2.75rem; }
.qty button { width: 2.75rem; height: 100%; display: inline-flex; align-items: center; justify-content: center; color: var(--g600); }
.qty button:hover { color: var(--g900); background: var(--g50); }
.qty input { width: 3rem; height: 100%; text-align: center; border-left: 1px solid var(--g200); border-right: 1px solid var(--g200); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm { height: 2rem; } .qty.sm button { width: 2rem; } .qty.sm span { width: 2.25rem; text-align: center; font-size: .875rem; }
.pd-total { display: flex; justify-content: space-between; align-items: baseline; margin: 1.5rem 0 1.25rem; font-size: .9rem; color: var(--g500); }
.pd-total strong { font-size: 1.375rem; color: var(--g900); }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.pd-note { font-size: .8rem; color: var(--g400); margin-top: .9rem; line-height: 1.5; }
.pd-tabs { position: sticky; top: 5rem; z-index: 5; display: flex; gap: 1.75rem; overflow-x: auto; margin-top: 5rem; background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--g200); scrollbar-width: none; }
.pd-tabs::-webkit-scrollbar { display: none; }
.pd-tabs a { padding: 1rem 0; font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--g500); white-space: nowrap; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.pd-tabs a:hover { color: var(--g900); border-color: var(--g900); }
.pd-sec { max-width: 52rem; padding: 3.5rem 0 0; scroll-margin-top: 9rem; }
.pd-sec h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: 1.5rem; }
html[lang="ko"] .pd-sec h2, html[lang="ko"] .pd-related h2 { font-weight: 700; font-size: 1.3rem; }
.pd-sec > p { color: var(--g700); line-height: 1.8; }
.pd-sec .pd-label { margin: 1.75rem 0 .75rem; }
.pd-sec h2 + .pd-label { margin-top: 0; }
.pd-feats { display: grid; gap: 1rem; list-style: none; }
@media (min-width: 768px) { .pd-feats { grid-template-columns: repeat(3, 1fr); } }
.pd-feats li { background: var(--g50); border: 1px solid var(--g100); padding: 1.5rem 1.25rem; }
.pd-feats span { display: block; font-size: .75rem; letter-spacing: .14em; color: #6f8a73; font-weight: 600; margin-bottom: .75rem; }
.pd-feats p { line-height: 1.6; color: var(--g800); }
.pd-func { margin-top: 1.25rem; padding: 1.25rem 1.5rem; border-left: 2px solid #6f8a73; background: #f5f8f4; }
.pd-func p:last-child { margin-top: .4rem; color: var(--g700); line-height: 1.7; }
.pd-list { display: grid; gap: .55rem; }
.pd-list li { position: relative; padding-left: 1rem; color: var(--g700); line-height: 1.7; }
.pd-list li::before { content: ""; position: absolute; left: 0; top: .75em; width: .3rem; height: 1px; background: var(--g400); }
.pd-full { font-size: .9rem; color: var(--g600); line-height: 1.8; background: var(--g50); padding: 1.25rem 1.5rem; }
.pd-table { width: 100%; border-collapse: collapse; font-size: .875rem; border-top: 1px solid var(--g900); }
.pd-table th, .pd-table td { text-align: left; vertical-align: top; padding: .85rem .75rem; border-bottom: 1px solid var(--g200); line-height: 1.6; }
.pd-table th { width: 36%; font-weight: 500; color: var(--g600); background: var(--g50); }
.pd-small { font-size: .78rem; color: var(--g400); line-height: 1.6; margin-top: 1.25rem; }
.pd-related { margin-top: 5rem; padding-top: 3rem; border-top: 1px solid var(--g200); }
.pd-related h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; text-align: center; margin-bottom: 2.5rem; }
/* 모바일 하단 고정 구매 바 */
.pd-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: .5rem; padding: .6rem 1rem;
  padding-bottom: calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--g200);
  box-shadow: 0 -6px 20px rgba(0,0,0,.04); }
.pd-bar > div { flex: 1; min-width: 0; }
.pd-bar small { display: block; font-size: .7rem; color: var(--g500); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-bar strong { font-size: .95rem; }
.pd-bar .btn-cart { width: 3rem; padding: 0; height: 3rem; }
.pd-bar .btn-order { height: 3rem; padding: 0 1.25rem; }
@media (min-width: 900px) { .pd-bar { display: none; } }
@media (max-width: 899px) { body:has(.pd-bar) .footer { padding-bottom: 5rem; } }

/* 장바구니 서랍 */
.cart-drawer { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.cart-shade { position: absolute; inset: 0; background: rgba(17,24,39,.35); opacity: 0; transition: opacity .3s; }
.cart-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(26rem, 100%); background: #fff; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility .35s; visibility: hidden; }
.cart-drawer.open { pointer-events: auto; }
.cart-drawer.open .cart-shade { opacity: 1; }
.cart-drawer.open .cart-panel { transform: none; visibility: visible; box-shadow: -10px 0 40px rgba(0,0,0,.08); }
body.no-scroll { overflow: hidden; }
.cart-panel header { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--g100); }
.cart-panel h2 { font-size: .875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.cart-x { font-size: 1.6rem; line-height: 1; color: var(--g500); }
.cart-x:hover { color: var(--g900); }
.cart-body { flex: 1; overflow-y: auto; padding: 1.5rem; display: flex; flex-direction: column; }
.cart-body > .btn-order, .cart-form .btn-order { width: 100%; margin-top: 1rem; }
.cart-items { display: grid; gap: 1.25rem; }
.cart-item { display: grid; grid-template-columns: 4.5rem 1fr; gap: 1rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--g100); }
.cart-item img { width: 4.5rem; height: 5.6rem; object-fit: cover; background: var(--g100); }
.cart-item > div > a { font-size: .9rem; font-weight: 500; line-height: 1.4; }
.cart-line { display: flex; justify-content: space-between; align-items: center; margin-top: .75rem; font-size: .875rem; }
.cart-rm { font-size: .75rem; color: var(--g400); text-decoration: underline; text-underline-offset: 3px; margin-top: .5rem; }
.cart-rm:hover { color: var(--g900); }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; padding-top: 1.25rem; margin-top: auto; }
.cart-items + .cart-sum { margin-top: 1.25rem; }
.cart-sum strong { font-size: 1.25rem; }
.cart-note { font-size: .75rem; color: var(--g400); margin-top: .5rem; line-height: 1.5; }
.cart-link { display: block; width: 100%; text-align: center; font-size: .8rem; color: var(--g500); margin-top: 1rem; text-decoration: underline; text-underline-offset: 3px; }
.cart-empty, .cart-done { margin: auto 0; text-align: center; display: grid; gap: 1.5rem; justify-items: center; color: var(--g600); line-height: 1.6; }
.cart-empty .btn-cart, .cart-done .btn-order { width: 100%; }
.cart-form { display: grid; gap: .9rem; }
.cart-form label { display: grid; gap: .35rem; font-size: .75rem; letter-spacing: .06em; color: var(--g500); }
.cart-form input, .cart-form textarea { border: 1px solid var(--g300); padding: .7rem .8rem; font-size: .95rem; color: var(--g900); }
.cart-form input:focus, .cart-form textarea:focus { outline: none; border-color: var(--g900); }
.cart-mini { margin-top: .5rem; padding-top: 1rem; border-top: 1px solid var(--g100); display: grid; gap: .4rem; font-size: .8125rem; color: var(--g600); }
.cart-mini li { display: flex; justify-content: space-between; gap: 1rem; }
.cart-form .cart-sum { margin-top: 0; padding-top: .75rem; }
.cart-status { font-size: .8125rem; color: var(--g700); min-height: 1.2em; }
.cart-tick { width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #6f8a73; position: relative; flex: none; }
.cart-tick::after { content: ""; position: absolute; left: 50%; top: 45%; width: .55rem; height: 1rem; border: solid #fff; border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg); }
/* 담기 알림 */
.cart-toast { position: fixed; z-index: 90; left: 50%; bottom: 1.5rem; transform: translate(-50%, 1.5rem); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: .75rem; background: var(--g900); color: #fff; padding: .7rem .8rem .7rem .8rem; box-shadow: 0 12px 30px rgba(0,0,0,.18);
  transition: opacity .25s, transform .25s; white-space: nowrap; }
.cart-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.cart-toast .cart-tick { width: 1.5rem; height: 1.5rem; }
.cart-toast .cart-tick::after { width: .35rem; height: .65rem; border-width: 0 2px 2px 0; }
.cart-toast p { font-size: .875rem; }
.cart-toast button { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; border: 1px solid rgba(255,255,255,.4); padding: .4rem .7rem; margin-left: .25rem; }
.cart-toast button:hover { background: rgba(255,255,255,.1); }
@media (max-width: 899px) { body:has(.pd-bar) .cart-toast { bottom: 5.5rem; } }
