/* =========================================================
   LuciPet — site.css
   ========================================================= */
:root {
  --navy: #10204A;
  --navy-2: #1B2F66;
  --navy-soft: #E8ECF6;
  --forest: #1B3528;
  --forest-2: #24503A;
  --forest-soft: #E6F0EA;
  --gold: #B89653;
  --gold-2: #D9B873;
  --gold-soft: #F4ECD9;
  --cream: #FBF8F2;
  --paper: #FFFFFF;
  --ink: #1A1A1F;
  --ink-2: #4A4A55;
  --ink-3: #82828C;
  --line: #E7E3DA;
  --naver: #03C75A;
  --kakao: #FEE500;
  --danger: #C2412D;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 6px 24px rgba(16, 32, 74, .08);
  --shadow-lg: 0 18px 50px rgba(16, 32, 74, .14);
  --max: 1180px;
  --sans: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --serif: 'Noto Serif KR', 'Nanum Myeongjo', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper);
  font-size: 16px; line-height: 1.65; letter-spacing: -0.01em; word-break: keep-all;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; letter-spacing: -0.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold-2); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.sec { padding: 96px 0; }
.sec-sm { padding: 64px 0; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: #fff; }
.bg-forest { background: var(--forest); color: #fff; }
.center { text-align: center; }
.serif { font-family: var(--serif); }

.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .14em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 14px;
}
.h-xl { font-family: var(--serif); font-size: clamp(32px, 5vw, 54px); font-weight: 600; }
.h-lg { font-family: var(--serif); font-size: clamp(26px, 3.6vw, 40px); font-weight: 600; }
.h-md { font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; }
.lead { font-size: clamp(16px, 1.8vw, 18px); color: var(--ink-2); margin-top: 16px; }
.bg-navy .lead, .bg-forest .lead { color: rgba(255,255,255,.78); }
.sec-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.gold { color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 16px; transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-naver { background: var(--naver); color: #fff; box-shadow: 0 6px 18px rgba(3,199,90,.28); }
.btn-naver:hover { box-shadow: 0 10px 24px rgba(3,199,90,.36); }
.btn-naver .n-logo { width: 20px; height: 20px; border-radius: 4px; background: #fff; color: var(--naver); font-weight: 900; font-size: 14px; display: inline-grid; place-items: center; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-line { border-color: currentColor; background: transparent; }
.btn-white { background: #fff; color: var(--navy); }
.btn-kakao { background: var(--kakao); color: #191919; }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }

/* ---------- top bar & header ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.9); font-size: 13px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 12px; }
.topbar a { color: var(--gold-2); font-weight: 600; }
.topbar .tb-right { display: flex; gap: 18px; }
@media (max-width: 720px) { .topbar .tb-right { display: none; } .topbar .wrap { justify-content: center; } }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; gap: 28px; font-weight: 600; font-size: 15.5px; }
.nav a { position: relative; padding: 6px 0; color: var(--ink-2); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); }
.nav a[aria-current="page"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; border-radius: 10px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: .2s; }
@media (max-width: 960px) {
  .nav, .header-cta .btn-b2b { display: none; }
  .menu-btn { display: block; }
  .header .wrap { height: 62px; }
}
.mnav { position: fixed; inset: 62px 0 0 0; background: #fff; z-index: 49; padding: 24px 20px; display: none; flex-direction: column; gap: 4px; overflow-y: auto; }
.mnav.open { display: flex; }
.mnav a.ml { font-size: 20px; font-weight: 700; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.mnav .btn { margin-top: 12px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #0C1838 0%, var(--navy) 45%, #1B2F66 100%); color: #fff; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(600px 400px at 85% 30%, rgba(217,184,115,.22), transparent 70%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.hero h1 { font-family: var(--serif); font-size: clamp(34px, 5.2vw, 58px); font-weight: 600; line-height: 1.22; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero .lead { color: rgba(255,255,255,.8); max-width: 520px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 30px; }
.hero-badges span { font-size: 13px; padding: 6px 12px; border: 1px solid rgba(217,184,115,.5); border-radius: 999px; color: var(--gold-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 440px; }
.hero-visual img { filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.hero-visual .hv-eyes { width: 46%; max-width: 250px; transform: rotate(-6deg) translateX(14px); z-index: 2; }
.hero-visual .hv-skin { width: 42%; max-width: 230px; transform: rotate(5deg) translateX(-14px) translateY(10px); }
.hero-rating { display: flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 14px; color: rgba(255,255,255,.75); }
.stars { color: #FFB020; letter-spacing: 2px; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 44px; padding-bottom: 52px; text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-badges, .hero-cta, .hero-rating { justify-content: center; }
  .hero-visual { min-height: 0; order: -1; max-width: 360px; margin: 0 auto; }
}

/* ---------- trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: #fff; }
.trust ul { display: grid; grid-template-columns: repeat(6, 1fr); }
.trust li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 26px 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.trust li + li { border-left: 1px solid var(--line); }
.trust svg { width: 30px; height: 30px; color: var(--gold); }
@media (max-width: 860px) {
  .trust ul { grid-template-columns: repeat(3, 1fr); }
  .trust li:nth-child(4) { border-left: 0; }
  .trust li:nth-child(n+4) { border-top: 1px solid var(--line); }
}

/* ---------- concern finder ---------- */
.finder { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 40px; max-width: 880px; margin: 0 auto; }
.finder-q { font-weight: 700; font-size: 18px; margin-bottom: 18px; text-align: center; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 12px 20px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: .15s; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: #fff; }
.finder-result { margin-top: 30px; display: none; }
.finder-result.show { display: grid; grid-template-columns: 160px 1fr; gap: 28px; align-items: center; padding: 26px; background: var(--cream); border-radius: var(--radius); animation: fade .3s ease; }
.finder-result img { width: 160px; }
.finder-result .fr-tag { font-size: 13px; font-weight: 700; color: var(--gold); }
.finder-result h3 { font-size: 22px; margin: 4px 0 8px; }
.finder-result .fr-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .finder { padding: 26px 18px; }
  .finder-result.show { grid-template-columns: 1fr; text-align: center; }
  .finder-result img { margin: 0 auto; width: 130px; }
  .finder-result .fr-cta { justify-content: center; }
}

/* ---------- product cards ---------- */
.p-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.p-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.p-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.p-card .p-img { position: relative; display: grid; place-items: center; padding: 36px 24px 20px; min-height: 360px; }
.p-card.navy .p-img { background: linear-gradient(180deg, var(--navy-soft), #F6F8FC); }
.p-card.forest .p-img { background: linear-gradient(180deg, var(--forest-soft), #F5FAF7); }
.p-card .p-img img { max-height: 320px; width: auto; }
.p-label { position: absolute; top: 18px; left: 18px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 6px; color: #fff; }
.navy .p-label { background: var(--navy); }
.forest .p-label { background: var(--forest); }
.p-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.p-type { font-size: 14px; font-weight: 700; color: var(--gold); }
.p-name { font-size: 24px; font-weight: 800; margin: 2px 0 6px; }
.p-tag { color: var(--ink-2); font-size: 15px; }
.p-ing { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0; }
.p-ing span { font-size: 13px; padding: 5px 10px; border-radius: 6px; background: var(--cream); color: var(--ink-2); font-weight: 600; }
.p-meta { font-size: 14px; color: var(--ink-3); display: flex; gap: 14px; flex-wrap: wrap; }
.p-price { margin: 18px 0 18px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.p-price .now { font-size: 26px; font-weight: 800; }
.p-price .was { color: var(--ink-3); text-decoration: line-through; font-size: 15px; }
.p-price .off { color: var(--danger); font-weight: 800; font-size: 18px; }
.p-price .ask { font-size: 15px; color: var(--ink-2); font-weight: 600; }
.p-actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.p-actions .btn { padding: 0 14px; }
@media (max-width: 860px) { .p-grid { grid-template-columns: 1fr; } .p-card .p-img { min-height: 300px; } .p-card .p-img img { max-height: 260px; } }

.bundle { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 30px; border-radius: var(--radius); background: linear-gradient(90deg, var(--navy), var(--forest)); color: #fff; flex-wrap: wrap; }
.bundle strong { font-size: 18px; }
.bundle p { color: rgba(255,255,255,.75); font-size: 14px; margin-top: 2px; }

/* ---------- why / features ---------- */
.f-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.f-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; }
.f-item .f-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--gold-soft); color: var(--gold); display: grid; place-items: center; margin-bottom: 18px; }
.f-item .f-ic svg { width: 26px; height: 26px; }
.f-item h3 { font-size: 19px; margin-bottom: 8px; }
.f-item p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .f-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } }

/* ---------- how to feed ---------- */
.howto { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.howto-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.howto-imgs figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; }
.howto-imgs figcaption { padding: 12px; text-align: center; font-weight: 700; font-size: 15px; }
.steps { counter-reset: s; display: grid; gap: 18px; margin-top: 28px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.steps li::before { content: counter(s); width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; }
.steps strong { display: block; font-size: 17px; }
.steps span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .howto { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- reviews ---------- */
.r-summary { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 14px; color: var(--ink-2); font-size: 15px; }
.r-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; }
.r-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.r-card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.r-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.r-card .r-body { padding: 18px 20px 20px; }
.r-card .r-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--ink-3); margin-bottom: 8px; }
.r-card p { font-size: 15px; color: var(--ink); }
.r-card .r-prod { display: inline-block; margin-top: 12px; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.r-prod.eyes { background: var(--navy-soft); color: var(--navy); }
.r-prod.skin { background: var(--forest-soft); color: var(--forest); }
.r-note { text-align: center; margin-top: 26px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 860px) { .r-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .r-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
  .r-card { scroll-snap-align: start; }
}

/* ---------- story ---------- */
.story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.story img { border-radius: var(--radius-lg); }
.story blockquote { margin: 26px 0; padding-left: 20px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 20px; line-height: 1.6; }
.story p { color: var(--ink-2); margin-top: 12px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- B2B band ---------- */
.b2b-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--navy); color: #fff; padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.b2b-band::after { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 1px solid rgba(217,184,115,.3); }
.b2b-band .lead { color: rgba(255,255,255,.92); }
.b2b-band ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.b2b-band li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: rgba(255,255,255,.88); }
.b2b-band li::before { content: ''; width: 6px; height: 6px; background: var(--gold-2); border-radius: 50%; flex: none; }
.b2b-band .btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
@media (max-width: 860px) { .b2b-band { grid-template-columns: 1fr; padding: 36px 24px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 700; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--gold); transition: .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .ans { padding: 0 0 22px; color: var(--ink-2); }
.faq .q-cat { color: var(--gold); margin-right: 8px; font-size: 14px; }
.faq-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 26px; }

/* ---------- final CTA ---------- */
.final-cta { text-align: center; }
.final-cta .btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- page hero (sub pages) ---------- */
.phero { background: var(--navy); color: #fff; padding: 80px 0 72px; position: relative; overflow: hidden; }
.phero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(500px 300px at 90% 20%, rgba(217,184,115,.2), transparent 70%); pointer-events: none; }
.phero .lead { color: rgba(255,255,255,.78); max-width: 640px; }
.phero .crumb { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 16px; }

/* ---------- about / corporate ---------- */
.kv { width: 100%; border-collapse: collapse; border-top: 2px solid var(--navy); }
.kv th, .kv td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 15.5px; vertical-align: top; }
.kv th { width: 180px; background: var(--cream); font-weight: 700; color: var(--ink-2); }
@media (max-width: 560px) { .kv th { width: 110px; padding: 14px 12px; } .kv td { padding: 14px 12px; } }
.mv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mv > div { padding: 34px 28px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.mv .eyebrow { margin-bottom: 8px; }
.mv h3 { font-size: 21px; margin-bottom: 10px; font-family: var(--serif); }
.mv p { color: rgba(255,255,255,.75); font-size: 15px; }
@media (max-width: 860px) { .mv { grid-template-columns: 1fr; } }
.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 92px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 32px; padding: 0 0 34px; position: relative; }
.timeline li::before { content: ''; position: absolute; left: 86px; top: 7px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #fff; }
.timeline .y { font-weight: 800; font-size: 18px; color: var(--navy); }
.timeline .d strong { display: block; font-size: 17px; }
.timeline .d span { color: var(--ink-2); font-size: 15px; }
.qa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.qa-grid > div { text-align: center; padding: 30px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.qa-grid .num { font-family: var(--serif); font-size: 34px; font-weight: 700; color: var(--navy); }
.qa-grid .lbl { font-size: 14px; color: var(--ink-2); margin-top: 6px; }
@media (max-width: 860px) { .qa-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- wholesale ---------- */
.seg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.seg { padding: 30px 24px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.seg .f-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--navy-soft); color: var(--navy); display: grid; place-items: center; margin-bottom: 16px; }
.seg .f-ic svg { width: 24px; height: 24px; }
.seg h3 { font-size: 18px; margin-bottom: 6px; }
.seg p { font-size: 14.5px; color: var(--ink-2); }
@media (max-width: 960px) { .seg-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .seg-grid { grid-template-columns: 1fr; } }
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: p; }
.process li { counter-increment: p; text-align: center; padding: 0 10px; position: relative; }
.process li::before { content: '0' counter(p); display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; background: #fff; border: 2px solid var(--gold); color: var(--navy); font-weight: 800; font-size: 18px; position: relative; z-index: 1; }
.process li:not(:last-child)::after { content: ''; position: absolute; top: 32px; left: 50%; width: 100%; height: 2px; background: var(--gold-soft); }
.process strong { display: block; font-size: 17px; }
.process span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) {
  .process { grid-template-columns: 1fr; gap: 20px; }
  .process li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; text-align: left; align-items: center; }
  .process li::before { margin: 0; }
  .process li:not(:last-child)::after { top: 64px; left: 31px; width: 2px; height: 24px; }
}
.spec { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; font-size: 15px; }
.spec th, .spec td { padding: 16px 18px; border-bottom: 1px solid var(--line); text-align: left; }
.spec thead th { background: var(--navy); color: #fff; font-weight: 700; }
.spec tbody th { font-weight: 700; background: var(--cream); width: 160px; }
.table-scroll { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); }

/* ---------- forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.form-side { position: sticky; top: 100px; }
.form-side .contact-line { display: flex; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.form-side .contact-line svg { width: 22px; height: 22px; color: var(--gold); flex: none; }
.form-side .contact-line small { display: block; color: var(--ink-3); font-size: 13px; }
.form-side .contact-line b { font-size: 17px; }
.form { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 40px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field label, .field .lbl { font-weight: 700; font-size: 14px; }
.field .req { color: var(--danger); margin-left: 2px; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); }
.field textarea { min-height: 130px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 10px; font-weight: 600; font-size: 14.5px; cursor: pointer; }
.checks input { accent-color: var(--navy); width: 16px; height: 16px; }
.checks label:has(input:checked) { border-color: var(--navy); background: var(--navy-soft); }
.consent { background: var(--cream); border-radius: 10px; padding: 16px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 18px; }
.consent label { display: flex; gap: 8px; align-items: flex-start; font-weight: 700; color: var(--ink); margin-top: 10px; font-size: 14.5px; cursor: pointer; }
.consent input { margin-top: 4px; accent-color: var(--navy); }
.form-msg { display: none; padding: 16px; border-radius: 10px; margin-top: 16px; font-weight: 600; }
.form-msg.ok { display: block; background: var(--forest-soft); color: var(--forest); }
.form-msg.err { display: block; background: #FBE9E5; color: var(--danger); }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } .form-side { position: static; } .form { padding: 26px 18px; } .form .row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- product detail page ---------- */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding-top: 48px; padding-bottom: 72px; }
.pd-gallery { position: sticky; top: 96px; }
.pd-main { position: relative; border-radius: var(--radius-lg); aspect-ratio: 1; overflow: hidden; }
.pd-main img { position: absolute; inset: 7%; width: 86%; height: 86%; max-width: none; object-fit: contain; transition: opacity .25s; }
.pd-main img.photo { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.navy-bg { background: linear-gradient(180deg, var(--navy-soft), #F6F8FC); }
.forest-bg { background: linear-gradient(180deg, var(--forest-soft), #F5FAF7); }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumbs button { width: 76px; height: 76px; flex: none; border-radius: 10px; border: 2px solid transparent; padding: 0; overflow: hidden; background: var(--cream); }
.pd-thumbs button[aria-selected="true"] { border-color: var(--navy); }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.pd-info .p-type { font-size: 15px; }
.pd-info h1 { font-size: clamp(28px, 3.4vw, 36px); font-weight: 800; margin: 4px 0 10px; }
.pd-rating { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.pd-points { margin: 24px 0; display: grid; gap: 10px; }
.pd-points li { display: flex; gap: 10px; align-items: center; font-size: 15.5px; }
.pd-points svg { width: 20px; height: 20px; color: var(--naver); flex: none; }
.pd-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 8px 0 24px; }
.pd-table th, .pd-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pd-table th { color: var(--ink-3); font-weight: 600; width: 110px; }
.pd-buy { display: grid; gap: 10px; }
.pd-sub { display: flex; gap: 10px; }
.pd-sub .btn { flex: 1; }
.pd-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.pd-perks div { text-align: center; padding: 14px 6px; border-radius: 10px; background: var(--cream); font-size: 13px; color: var(--ink-2); font-weight: 600; }
.pd-perks b { display: block; color: var(--ink); font-size: 14px; }
@media (max-width: 860px) { .pd { grid-template-columns: 1fr; gap: 28px; padding-top: 20px; } .pd-gallery { position: static; } }

.ing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ing { background: #fff; border-radius: var(--radius); padding: 30px 26px; text-align: center; border: 1px solid var(--line); }
.ing .no { font-family: var(--serif); color: var(--gold); font-size: 15px; }
.ing h3 { font-size: 21px; margin: 6px 0 2px; }
.ing small { color: var(--ink-3); font-size: 13px; }
.ing p { color: var(--ink-2); font-size: 15px; margin-top: 12px; }
@media (max-width: 760px) { .ing-grid { grid-template-columns: 1fr; } }

.detail-imgs { max-width: 848px; margin: 0 auto; }
.detail-imgs img { width: 100%; }
.detail-fold { position: relative; max-height: 1400px; overflow: hidden; }
.detail-fold.open { max-height: none; }
.detail-fold:not(.open)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: linear-gradient(transparent, #fff); }
.detail-more { display: flex; justify-content: center; margin-top: 18px; }

.caution { font-size: 13.5px; color: var(--ink-2); background: var(--cream); border-radius: var(--radius); padding: 24px 26px; }
.caution li { padding-left: 14px; position: relative; margin: 4px 0; }
.caution li::before { content: '•'; position: absolute; left: 2px; }

/* ---------- sticky buy bar ---------- */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.06); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s; }
.buybar.show { transform: none; }
.buybar .wrap { display: flex; align-items: center; gap: 12px; padding: 0; }
.buybar .bb-info { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; }
.buybar .bb-info img { width: 44px; height: 44px; object-fit: contain; }
.buybar .bb-info strong { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar .bb-info span { font-size: 13px; color: var(--ink-3); }
.buybar .btn { min-height: 48px; }
@media (max-width: 560px) { .buybar .bb-info img { display: none; } .buybar .btn { flex: 1.3; } }
body.has-buybar { padding-bottom: 76px; }

/* floating kakao */
.fab { position: fixed; right: 18px; bottom: calc(116px + env(safe-area-inset-bottom)); z-index: 55; width: 56px; height: 56px; border-radius: 50%; background: var(--kakao); display: grid; place-items: center; box-shadow: var(--shadow-lg); }
.fab svg { width: 28px; height: 28px; }
body:not(.has-buybar) .fab { bottom: calc(24px + env(safe-area-inset-bottom)); }

/* ---------- footer ---------- */
.footer { background: #0B1430; color: rgba(255,255,255,.65); font-size: 14px; padding: 64px 0 40px; }
.footer .f-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer li { margin: 8px 0; }
.footer a:hover { color: #fff; }
.footer .f-logo { height: 28px; width: auto; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 16px; }
.footer .f-tel { font-size: 24px; font-weight: 800; color: #fff; }
.footer .f-biz { padding-top: 28px; line-height: 1.9; font-size: 13px; }
.footer .f-biz span + span::before { content: '|'; margin: 0 10px; opacity: .3; }
.footer .f-legal { display: flex; gap: 18px; margin-top: 14px; font-size: 13px; }
.footer .f-legal a:first-child { color: #fff; font-weight: 700; }
@media (max-width: 860px) { .footer .f-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .f-top { grid-template-columns: 1fr; } .footer .f-biz span { display: block; } .footer .f-biz span + span::before { display: none; } }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* 눈/피부 아이콘 구매 버튼 — 네이버처럼 밝고 친근한 색 */
:root { --eye-btn: #2F80ED; --skin-btn: #12B886; }
.btn-prod { color: #fff; }
.btn-prod.navy { background: var(--eye-btn); box-shadow: 0 6px 18px rgba(47,128,237,.32); }
.btn-prod.forest { background: var(--skin-btn); box-shadow: 0 6px 18px rgba(18,184,134,.32); }
.btn-prod.navy:hover { background: #1F6FDC; box-shadow: 0 10px 24px rgba(47,128,237,.4); }
.btn-prod.forest:hover { background: #0CA678; box-shadow: 0 10px 24px rgba(18,184,134,.4); }
.btn-prod .p-ico { width: 24px; height: 24px; border-radius: 7px; background: #fff; display: inline-grid; place-items: center; flex: none; }
.btn-prod.navy .p-ico { color: var(--eye-btn); }
.btn-prod.forest .p-ico { color: var(--skin-btn); }
.btn-prod .p-ico svg { width: 16px; height: 16px; }
.btn-prod:hover .p-ico svg { animation: icoPop .5s ease; }
@keyframes icoPop { 40% { transform: scale(1.3) rotate(-8deg); } }

/* 도매 문의: 발주량 / 전송 버튼 */
.vol { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.vol-qty { display: flex; align-items: center; gap: 8px; animation: fade .25s ease; }
.vol-qty input { width: 130px; font: inherit; font-size: 15px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 10px; }
.vol-qty input:focus { outline: none; border-color: var(--navy); }
.vol-qty span { font-weight: 600; color: var(--ink-2); font-size: 14.5px; }
.send-lbl { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.send-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.send-btns .btn:disabled { opacity: .6; cursor: wait; transform: none; }
.k-ico { width: 20px; height: 20px; border-radius: 50%; background: #191919 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FEE500' d='M12 5c-4.4 0-8 2.7-8 6 0 2.1 1.4 4 3.6 5l-.8 3c-.1.3.2.5.5.3l3.6-2.4h1.1c4.4 0 8-2.7 8-6s-3.6-5.9-8-5.9z'/%3E%3C/svg%3E") center/14px no-repeat; }
.kakao-copy { width: 100%; margin-top: 10px; font: inherit; font-size: 13px; line-height: 1.6; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); resize: vertical; }
@media (max-width: 520px) { .send-btns { grid-template-columns: 1fr; } }

/* 공급 제품 정보 표 — PC: 표 / 모바일: 행별 카드로 가로폭에 맞춤 */
.spec-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-r td small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 2px; }
.spec-r td:first-child { white-space: nowrap; }
@media (max-width: 760px) {
  .spec-wrap { border: 0; border-radius: 0; overflow: visible; }
  .spec-r, .spec-r tbody, .spec-r tr, .spec-r td { display: block; width: 100%; }
  .spec-r thead { display: none; }
  .spec-r { background: none; }
  .spec-r tr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-bottom: 12px; }
  .spec-r td { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 11px 16px; font-size: 14.5px; border-bottom: 1px solid var(--line); white-space: normal !important; }
  .spec-r td:last-child { border-bottom: 0; }
  .spec-r td::before { content: attr(data-l); font-weight: 700; color: var(--ink-3); font-size: 13px; }
  .spec-r td:first-child { display: block; background: var(--navy); color: #fff; padding: 14px 16px; }
  .spec-r td:first-child::before { display: none; }
  .spec-r td:first-child small { color: rgba(255,255,255,.7); display: inline; margin-left: 8px; }
}

.h1-type { display: block; font-size: 16px; font-weight: 600; color: var(--ink-3); margin-top: 6px; letter-spacing: 0; }
