/* 꽃담 플라워 — 공용 스타일 */
:root {
  --cream: #fff9f4;
  --paper: #fffdfb;
  --blush: #fbe4e6;
  --blush-deep: #f4c9d0;
  --rose: #d77d92;
  --rose-deep: #b5566f;
  --sage: #a9bfa8;
  --sage-soft: #e8efe6;
  --sage-deep: #55705a;
  --ink: #3e3237;
  --muted: #8c7b81;
  --line: #efdfdc;
  --dark: #34463a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--cream); color: var(--ink); font-family: "Noto Sans KR", sans-serif; line-height: 1.75; padding-bottom: 64px; word-break: keep-all; overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.soft { font-family: "Gowun Dodum", "Noto Sans KR", sans-serif; }

/* 샘플 배너 */
.sample { background: var(--dark); color: #cfdcd1; text-align: center; font-size: 12px; padding: 7px 16px; line-height: 1.6; }
.sample b { color: #fff; font-weight: 500; }
.sample a { color: #fff; text-decoration: underline; }

/* 헤더: 로고 왼쪽, 메뉴 오른쪽 (모바일은 두 줄) */
header { background: rgba(255, 249, 244, .94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 16px; padding-top: 10px; padding-bottom: 6px; }
.logo { display: flex; align-items: center; gap: 10px; line-height: 1.25; }
.logo i { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; background: radial-gradient(circle at 50% 50%, #fff 0 18%, var(--rose) 19% 36%, var(--blush-deep) 37% 100%); box-shadow: 0 0 0 3px var(--blush); }
.logo strong { display: block; font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: 21px; color: var(--rose-deep); letter-spacing: .02em; }
.logo span { display: block; font-size: 9.5px; letter-spacing: .34em; color: var(--muted); }
.gnb { display: flex; align-items: center; gap: 4px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.gnb::-webkit-scrollbar { display: none; }
.gnb a { font-size: 14px; color: var(--muted); padding: 8px 13px; white-space: nowrap; border-radius: 999px; transition: color .2s, background .2s; }
.gnb a:hover { color: var(--ink); background: var(--blush); }
.gnb a[aria-current="page"] { color: var(--rose-deep); font-weight: 500; background: var(--blush); }
.gnb a.cta { background: var(--rose); color: #fff; margin-left: 6px; padding: 8px 18px; }
.gnb a.cta:hover, .gnb a.cta[aria-current="page"] { background: var(--rose-deep); color: #fff; }
@media (max-width: 640px) {
  .gnb { width: 100%; padding-bottom: 6px; }
}

/* 버튼 */
.btn { display: inline-block; padding: 14px 28px; font-size: 15px; border-radius: 999px; text-align: center; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: background .2s, color .2s, transform .15s; }
.btn:hover { transform: translateY(-1px); }
.btn.rose { background: var(--rose); color: #fff; }
.btn.rose:hover { background: var(--rose-deep); }
.btn.sage { background: var(--sage-deep); color: #fff; }
.btn.sage:hover { background: var(--dark); }
.btn.ghost { border-color: var(--rose); color: var(--rose-deep); background: transparent; }
.btn.ghost:hover { background: var(--rose); color: #fff; }
.btn.light { background: #fff; color: var(--rose-deep); }
.btn.line-light { border-color: rgba(255,255,255,.8); color: #fff; }
.btn.naver { background: #03c75a; color: #fff; display: block; margin-bottom: 8px; }
.btn.kakao { background: #fee500; color: #3b1e1e; display: block; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* 섹션 공통 */
section { padding: 84px 0; }
section.tint { background: var(--blush); background: linear-gradient(180deg, var(--blush) 0%, #fdf0ee 100%); }
section.sage { background: var(--sage-soft); }
.head { margin-bottom: 40px; }
.head.center { text-align: center; }
.eyebrow { display: block; color: var(--rose); font-size: 12px; letter-spacing: .28em; margin-bottom: 8px; font-weight: 500; }
.head h2, .intro h2 { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: clamp(25px, 4vw, 33px); line-height: 1.45; }
.head p { color: var(--muted); margin-top: 10px; font-weight: 300; }
.note { color: var(--muted); font-size: 13px; font-weight: 300; margin-top: 18px; }

/* 서브 페이지 상단 */
.page-top { padding: 64px 0 52px; text-align: center; background: radial-gradient(circle at 15% 20%, var(--blush-deep) 0 70px, transparent 71px), radial-gradient(circle at 88% 70%, var(--sage-soft) 0 90px, transparent 91px), linear-gradient(180deg, var(--blush), var(--cream)); }
.page-top h1 { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: clamp(30px, 5vw, 42px); margin-bottom: 8px; }
.page-top p { color: var(--muted); font-weight: 300; max-width: 30em; margin: 0 auto; }

/* 홈 히어로 */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--blush); left: -140px; top: -120px; z-index: 0; }
.hero::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--sage-soft); right: -80px; bottom: -70px; z-index: 0; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr .98fr; gap: 44px; align-items: center; }
.hero h1 { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: clamp(32px, 5.2vw, 52px); line-height: 1.32; margin: 6px 0 18px; }
.hero h1 em { font-style: normal; color: var(--rose-deep); }
.hero p { color: var(--muted); font-weight: 300; max-width: 26em; margin-bottom: 28px; font-size: 16px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: 13px; color: var(--muted); }
.facts b { display: block; color: var(--sage-deep); font-size: 17px; font-weight: 500; }
.bloom { border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; overflow: hidden; box-shadow: 0 18px 40px rgba(181, 86, 111, .18); aspect-ratio: 1 / .92; background: var(--blush); }
.bloom img { width: 100%; height: 100%; object-fit: cover; }

/* 소개 */
.intro { text-align: center; max-width: 640px; margin: 0 auto; }
.intro h2 { margin-bottom: 16px; }
.intro p { color: var(--muted); font-weight: 300; font-size: 16px; }
.intro .sign { margin-top: 18px; font-family: "Gowun Dodum", sans-serif; color: var(--rose-deep); }

/* 상품 입구 카드 */
.entry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.entry a { background: var(--paper); border-radius: 26px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.entry a:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(181, 86, 111, .13); }
.entry img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.entry .txt { padding: 20px 22px 24px; }
.entry h3 { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: 20px; margin-bottom: 4px; }
.entry p { color: var(--muted); font-size: 14px; font-weight: 300; }
.entry .more { display: block; color: var(--rose-deep); font-size: 14px; margin-top: 10px; font-weight: 500; }

/* 이유 */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.reasons > div { background: var(--paper); border-radius: 24px; padding: 28px 24px; border: 1px solid var(--line); }
.reasons .dot { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--rose-deep); font-family: "Gowun Dodum", sans-serif; font-size: 17px; margin-bottom: 14px; }
.reasons > div:nth-child(2) .dot { background: var(--sage-soft); color: var(--sage-deep); }
.reasons h3 { font-size: 17px; margin-bottom: 6px; font-weight: 500; }
.reasons p { color: var(--muted); font-size: 14.5px; font-weight: 300; }

/* 오늘의 안내 띠 */
.today { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.today > div { background: var(--paper); border-radius: 22px; padding: 22px 14px; border: 1px dashed var(--blush-deep); }
.today b { display: block; font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: 24px; color: var(--rose-deep); }
.today span { color: var(--muted); font-size: 13.5px; }

/* 후기 */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--paper); border-radius: 24px; padding: 26px 24px; border: 1px solid var(--line); }
.review .stars { color: var(--rose); letter-spacing: .12em; font-size: 14px; }
.review p { margin: 10px 0 14px; font-size: 15px; font-weight: 300; }
.review .meta { color: var(--muted); font-size: 13px; }
.review .tag { background: var(--sage-soft); color: var(--sage-deep); border-radius: 999px; padding: 2px 10px; font-size: 12px; margin-right: 8px; }

/* CTA 박스 */
.cta-box { background: linear-gradient(135deg, var(--rose) 0%, #c9677f 100%); color: #fff; text-align: center; }
.cta-box h2 { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: clamp(25px, 4vw, 32px); margin-bottom: 10px; }
.cta-box p { color: #fde8ec; margin-bottom: 26px; font-weight: 300; }
.cta-box .btns { justify-content: center; }

/* 상품 가격표 */
.sect-title { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: 24px; margin-bottom: 6px; }
.sect-sub { color: var(--muted); font-weight: 300; margin-bottom: 22px; }
.menu-block + .menu-block { margin-top: 56px; }
.product { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.product article { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px 22px 20px; }
.product h3 { font-size: 17px; font-weight: 500; margin-bottom: 2px; }
.product .desc { color: var(--muted); font-size: 14px; font-weight: 300; min-height: 3.2em; }
.product .price { margin-top: 12px; font-family: "Gowun Dodum", sans-serif; font-size: 22px; color: var(--rose-deep); }
.product .price small { color: var(--muted); font-size: 13px; font-family: "Noto Sans KR", sans-serif; }
.product .order { display: inline-block; margin-top: 10px; color: var(--sage-deep); font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--sage); }
.size-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); font-size: 14.5px; }
.size-table th, .size-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.size-table th { background: var(--blush); font-weight: 500; font-size: 13.5px; color: var(--rose-deep); }
.size-table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; border-radius: 20px; }
.deadline { background: var(--sage-soft); border-radius: 26px; padding: 30px 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 36px; }
.deadline h3 { grid-column: 1 / -1; font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: 22px; color: var(--sage-deep); }
.deadline li { padding: 6px 0; font-size: 15px; }
.deadline li b { color: var(--sage-deep); font-weight: 500; margin-right: 6px; }
.photo-band { border-radius: 30px; overflow: hidden; margin-bottom: 44px; aspect-ratio: 16 / 6; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; }

/* 정기구독 */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 26px; padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.plan.pick { border: 2px solid var(--rose); box-shadow: 0 14px 32px rgba(181, 86, 111, .14); }
.plan .badge { position: absolute; top: -13px; left: 24px; background: var(--rose); color: #fff; font-size: 12px; padding: 3px 12px; border-radius: 999px; }
.plan h3 { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: 22px; }
.plan .cycle { color: var(--muted); font-size: 14px; font-weight: 300; }
.plan .price { font-family: "Gowun Dodum", sans-serif; font-size: 30px; color: var(--rose-deep); margin: 14px 0 4px; }
.plan .price small { font-family: "Noto Sans KR", sans-serif; font-size: 13px; color: var(--muted); }
.plan ul { margin: 14px 0 22px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14.5px; flex: 1; }
.plan li { padding: 4px 0 4px 22px; position: relative; }
.plan li::before { content: "✿"; position: absolute; left: 0; color: var(--rose); font-size: 13px; top: 6px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split img { border-radius: 30px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split h2 { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: clamp(24px, 3.6vw, 30px); line-height: 1.45; margin-bottom: 12px; }
.split p { color: var(--muted); font-weight: 300; }
.steps { counter-reset: s; margin-top: 18px; }
.steps li { counter-increment: s; padding: 8px 0 8px 40px; position: relative; font-size: 15px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--blush); color: var(--rose-deep); display: grid; place-items: center; font-size: 13px; font-weight: 500; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 16px 20px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 500; font-size: 15.5px; }
details p { margin-top: 10px; color: var(--muted); font-size: 14.5px; font-weight: 300; }

/* 이야기 */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.story-grid img { border-radius: 30px; aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.story-grid p { color: var(--muted); font-weight: 300; margin-top: 12px; }
.criteria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.criteria > div { background: var(--paper); border-radius: 22px; padding: 24px; border: 1px solid var(--line); }
.criteria h3 { font-size: 17px; font-weight: 500; margin-bottom: 4px; }
.criteria h3 span { color: var(--rose); margin-right: 8px; font-family: "Gowun Dodum", sans-serif; }
.criteria p { color: var(--muted); font-size: 14.5px; font-weight: 300; }
.care { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.care > div { background: var(--sage-soft); border-radius: 22px; padding: 24px; }
.care h3 { font-size: 16.5px; font-weight: 500; color: var(--sage-deep); margin-bottom: 4px; }
.care p { font-size: 14.5px; font-weight: 300; }
.place { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.place > div { background: var(--paper); border-radius: 22px; padding: 26px; border: 1px solid var(--line); }
.place dl { display: grid; grid-template-columns: 5.5em 1fr; gap: 8px 12px; font-size: 14.5px; }
.place dt { color: var(--muted); }

/* 주문 폼 */
.order-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 36px; align-items: start; }
.form { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 32px 30px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label, .legend { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
label em, .legend em { color: var(--rose); font-style: normal; margin-left: 3px; }
input[type="text"], input[type="tel"], input[type="date"], select, textarea { width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid #e6d3d0; border-radius: 14px; background: #fff; color: var(--ink); }
textarea { min-height: 96px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blush-deep); border-color: var(--rose); }
.radios { display: flex; gap: 10px; flex-wrap: wrap; }
.radios label { margin: 0; font-weight: 400; display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid #e6d3d0; border-radius: 999px; cursor: pointer; background: #fff; }
.radios input { accent-color: var(--rose); }
.radios label:has(input:checked) { border-color: var(--rose); background: var(--blush); }
.counter { text-align: right; font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); font-weight: 400; margin: 6px 0 20px; }
.agree input { margin-top: 5px; accent-color: var(--rose); }
.success { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: var(--sage-soft); color: var(--sage-deep); font-size: 14.5px; }
.success.show { display: block; }
.success strong { display: block; margin-bottom: 2px; }
.side > div { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 24px; margin-bottom: 18px; }
.side h3 { font-family: "Gowun Dodum", sans-serif; font-weight: 400; font-size: 19px; margin-bottom: 8px; }
.side p { color: var(--muted); font-size: 14px; font-weight: 300; margin-bottom: 14px; }
.rules li { font-size: 14px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.rules li:last-child { border-bottom: 0; }
.rules b { color: var(--sage-deep); font-weight: 500; margin-right: 6px; }

/* 푸터 */
footer { background: var(--dark); color: #cfdcd1; padding: 48px 0 30px; font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px 40px; }
footer .logo strong { color: #fff; }
footer .logo span { color: #a9bfa8; }
footer p { margin-top: 10px; font-weight: 300; color: #b3c4b6; }
footer dl { display: grid; grid-template-columns: 5em 1fr; gap: 6px 12px; }
footer dt { color: #94ab98; }
footer a { text-decoration: underline; text-underline-offset: 3px; }
footer .copy { grid-column: 1 / -1; border-top: 1px solid #4a5e4f; padding-top: 18px; font-size: 12.5px; }

/* 하단 고정 바 */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--paper); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
.bar a { text-align: center; padding: 16px 0; font-weight: 500; font-size: 15px; }
.bar a:last-child { background: var(--rose); color: #fff; }
@media (min-width: 861px) { body { padding-bottom: 0; } .bar { display: none; } }

/* 반응형 */
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .hero .wrap, .split, .story-grid, .order-grid, footer .wrap, .place { grid-template-columns: 1fr; }
  .hero { padding: 36px 0 56px; }
  .hero .bloom { order: -1; aspect-ratio: 4 / 3; border-radius: 38% 62% 44% 56% / 52% 44% 56% 48%; }
  .entry, .reasons, .reviews, .plans, .product, .care { grid-template-columns: 1fr; }
  .criteria, .deadline, .today { grid-template-columns: 1fr; }
  .today { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .today b { font-size: 19px; }
  .plans { gap: 28px; }
  .photo-band { aspect-ratio: 16 / 8; }
  .product .desc { min-height: 0; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .form { padding: 24px 18px; }
  .today span { font-size: 12px; }
}
