/* ============================================================
   FLOWER_SHOP_MULTI_NARI — 나리 / NARI
   Bright, playful California-poppy flower design system.
   Distinct from siblings — KKOTGIL (dense rosy), CHAMKKOT (cool green
   app-column), DEULKKOT (warm farm, Fraunces). NARI = airy full-width,
   coral + sunshine pop palette, rounded playful shapes, Mulish + Caveat
   handwritten script, big full-bleed coral bands.
   Palette via :root so default_brand is swappable.
   ============================================================ */

:root {
  --bg: #fffcf9;
  --paper: #ffffff;
  --ink: #3a2b2e;         /* warm plum-brown, softer than black */
  --ink-2: #6b585b;
  --muted: #a8969a;
  --line: #f3e8e8;
  --line-2: #ecd9d9;
  --coral: #e8636f;       /* poppy primary */
  --coral-deep: #d6434f;
  --coral-soft: #fdeced;
  --coral-band: #ef7078;  /* big band bg */
  --sun: #f4bd48;         /* sunshine yellow */
  --sun-soft: #fdf4dc;
  --sky: #7fc0bd;         /* soft teal */
  --cream: #faf1ea;
  --star: #f4bd48;

  --wrap: 1180px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow: 0 4px 14px -8px rgba(58,43,46,.28);
  --shadow-lg: 0 26px 60px -32px rgba(216,67,79,.4);
  --ease: cubic-bezier(.34,1.3,.5,1);
  --ease2: cubic-bezier(.22,.61,.36,1);
  --sans: 'Mulish', 'Noto Sans KR', system-ui, -apple-system, 'Malgun Gothic', sans-serif;
  --script: 'Caveat', 'Noto Sans KR', cursive;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; word-break: keep-all; line-height: 1.2; letter-spacing: -.01em; }
p { word-break: keep-all; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.script { font-family: var(--script); font-weight: 700; }

/* ============================================================
   HEADER (chrome)
   ============================================================ */
#site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,252,249,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: transform .35s var(--ease2); }
#site-header.hide { transform: translateY(-100%); }
.topbar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 16px 24px; max-width: var(--wrap); margin-inline: auto; }
.nav-left { display: flex; gap: 22px; }
.nav-left a { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.nav-left a:hover { color: var(--coral); }
.brandwrap { justify-self: center; text-align: center; line-height: 1; }
.brand { font-family: var(--sans); font-weight: 800; font-size: 28px; color: var(--coral); letter-spacing: -.02em; }
.brand-sub { display: block; font-family: var(--script); font-size: 15px; color: var(--ink-2); margin-top: 2px; }
.head-icons { justify-self: end; display: flex; align-items: center; gap: 4px; }
.head-icons a, .head-icons button { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); position: relative; transition: background .2s, transform .2s; }
.head-icons a:hover, .head-icons button:hover { background: var(--coral-soft); transform: translateY(-1px); }
.head-icons svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.head-icons .dot { position: absolute; top: 9px; right: 10px; width: 7px; height: 7px; background: var(--coral); border-radius: 50%; border: 1.5px solid var(--bg); }
.catnav { border-top: 1px solid var(--line); }
.catrow { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 10px 24px; max-width: var(--wrap); margin-inline: auto; }
.catrow a { padding: 8px 16px; font-size: 14px; font-weight: 700; color: var(--ink-2); border-radius: var(--radius-pill); transition: all .2s; }
.catrow a:hover { background: var(--coral-soft); color: var(--coral); }
.catrow a.active { color: #fff; background: var(--coral); }
.catrow a.hot { color: var(--coral-deep); }

/* Search overlay */
.search-ov { position: fixed; inset: 0; z-index: 120; background: rgba(58,43,46,.4); opacity: 0; transition: opacity .25s; }
.search-ov.on { opacity: 1; }
.search-panel { background: var(--bg); padding: 30px 24px 34px; transform: translateY(-22px); transition: transform .3s var(--ease); box-shadow: var(--shadow-lg); }
.search-ov.on .search-panel { transform: none; }
.search-inner { max-width: 640px; margin-inline: auto; }
.search-bar { display: flex; align-items: center; gap: 10px; border: 2px solid var(--coral); border-radius: var(--radius-pill); padding: 13px 20px; }
.search-bar > svg { width: 21px; height: 21px; fill: none; stroke: var(--coral); stroke-width: 2; flex: 0 0 auto; }
.search-bar input { flex: 1; border: none; outline: none; font-size: 15px; background: none; color: var(--ink); }
.search-close { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); flex: 0 0 auto; }
.search-close svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.search-sug { margin-top: 18px; }
.ss-label { font-family: var(--script); font-size: 17px; color: var(--coral); margin-bottom: 8px; }
.ss-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ss-chips button { padding: 8px 15px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: var(--coral-soft); }
.ss-chips button:hover { background: var(--coral); color: #fff; }

/* ============================================================
   BUTTONS (playful, rounded, wiggle)
   ============================================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 28px; border-radius: var(--radius-pill); font-size: 15px; font-weight: 800; transition: transform .2s var(--ease), background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn:active { transform: scale(.96); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 10px 22px -12px var(--coral); }
.btn-coral:hover { background: var(--coral-deep); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-line { background: transparent; color: var(--coral); border: 2px solid var(--coral); }
.btn-line:hover { background: var(--coral); color: #fff; }
.btn-white { background: #fff; color: var(--coral); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-block { display: flex; width: 100%; }

/* ============================================================
   SECTION scaffolding
   ============================================================ */
.section { padding: 68px 0; }
.section.tight { padding: 46px 0; }
.sec-head { text-align: center; margin-bottom: 36px; }
.sec-head .ey { font-family: var(--script); font-size: 22px; color: var(--coral); margin-bottom: 2px; }
.sec-head h2 { font-size: 36px; font-weight: 800; }
.sec-head .sub { font-size: 15px; color: var(--muted); margin-top: 10px; }
.sec-head.left { text-align: left; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.sec-head.left h2 { font-size: 30px; }
.sec-head .more { flex: 0 0 auto; font-size: 14px; font-weight: 800; color: var(--coral); }
.sec-head .more:hover { text-decoration: underline; }

/* wavy underline accent */
.uline { position: relative; display: inline-block; }
.uline::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: -6px; height: 10px; background: no-repeat center/100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10'%3E%3Cpath d='M2 6 Q 20 1 40 5 T 78 5 T 118 4' fill='none' stroke='%23f4bd48' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E"); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; height: 82vh; min-height: 560px; max-height: 820px; overflow: hidden; }
.hero video, .hero .hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(58,20,26,.42), rgba(58,20,26,.08) 55%, transparent); }
.hero-inner { position: absolute; inset: 0; display: flex; align-items: center; z-index: 2; }
.hero-inner .box { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; width: 100%; color: #fff; }
.hero-inner .in { max-width: 540px; }
.hero .kick { font-family: var(--script); font-size: clamp(30px, 4vw, 46px); color: #ffe08a; line-height: 1; }
.hero h1 { font-size: clamp(44px, 6vw, 74px); font-weight: 800; line-height: .98; margin: 6px 0 0; text-shadow: 0 2px 24px rgba(0,0,0,.3); }
.hero p { font-size: 17px; margin: 18px 0 26px; max-width: 32ch; color: rgba(255,255,255,.94); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* marquee ribbon under hero */
.ribbon { background: var(--coral); color: #fff; overflow: hidden; padding: 12px 0; }
.ribbon .track { display: flex; gap: 40px; width: max-content; animation: marq 26s linear infinite; }
.ribbon .track span { font-family: var(--script); font-size: 22px; white-space: nowrap; display: inline-flex; align-items: center; gap: 40px; }
.ribbon .track span::after { content: '✿'; font-family: var(--sans); font-size: 14px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ============================================================
   Category tiles (playful)
   ============================================================ */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.cat { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 3/4; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.cat:hover { transform: translateY(-6px) rotate(-1deg); }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease2); }
.cat:hover img { transform: scale(1.06); }
.cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(58,20,26,.6), transparent 55%); }
.cat .lab { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 2; text-align: center; color: #fff; }
.cat .lab b { font-size: 19px; font-weight: 800; }
.cat .lab span { display: block; font-size: 12px; opacity: .85; margin-top: 2px; }

/* ============================================================
   Horizontal carousel + product card
   ============================================================ */
.hscroll { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; cursor: grab; margin: 0 -24px; padding: 0 24px; }
.hscroll::-webkit-scrollbar { display: none; }
.hscroll.drag { cursor: grabbing; }
.hrow { display: flex; gap: 22px; padding: 6px 0 12px; }
.hrow .card { flex: 0 0 auto; width: 264px; scroll-snap-align: start; }

.card { position: relative; }
.card .imgwrap { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; background: var(--coral-soft); }
.card .imgwrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease2); }
.card:hover .imgwrap img { transform: scale(1.06); }
.card .badges { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 5px; flex-wrap: wrap; }
.pill { font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: var(--radius-pill); }
.pill.best { background: var(--coral); color: #fff; }
.pill.new { background: var(--sky); color: #fff; }
.pill.sun { background: var(--sun); color: var(--ink); }
.pill.local { background: #fff; color: var(--coral); border: 1px solid var(--line-2); }
.pill.sale { background: var(--coral-deep); color: #fff; }
.card .heart { position: absolute; top: 10px; right: 10px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .2s; }
.card .heart svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-2); stroke-width: 1.9; }
.card .heart:hover { transform: scale(1.15) rotate(-6deg); }
.card .heart.on svg { fill: var(--coral); stroke: var(--coral); }
.card .quick-add { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; background: rgba(58,43,46,.92); color: #fff; font-size: 12.5px; font-weight: 700; padding: 11px; border-radius: var(--radius-pill); opacity: 0; transform: translateY(8px); transition: opacity .25s, transform .25s; }
.card .imgwrap:hover .quick-add { opacity: 1; transform: translateY(0); }
.card .info { display: block; padding: 14px 4px 0; text-align: center; }
.card .pname { font-size: 16px; font-weight: 800; }
.card .pdesc { font-size: 12.5px; color: var(--muted); margin-top: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .price { display: flex; align-items: baseline; gap: 7px; margin-top: 9px; justify-content: center; flex-wrap: wrap; }
.card .dc { color: var(--coral-deep); font-weight: 800; font-size: 15.5px; }
.card .now { font-weight: 800; font-size: 16px; }
.card .was { color: var(--muted); text-decoration: line-through; font-size: 13px; }
.card .rate { margin-top: 7px; font-size: 12.5px; color: var(--ink-2); display: flex; align-items: center; gap: 4px; justify-content: center; }
.card .rate .star { color: var(--star); }
.card .rate .n { color: var(--muted); }

.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 22px; }
.pgrid .card.hidden { display: none; }

/* ============================================================
   Subscription (Wild Flower Club) band
   ============================================================ */
.club { background: var(--sun-soft); position: relative; overflow: hidden; }
.club .grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
.club .copy .ey { font-family: var(--script); font-size: 26px; color: var(--coral); }
.club .copy h2 { font-size: 42px; font-weight: 800; margin: 6px 0 14px; line-height: 1.05; }
.club .copy p { font-size: 16px; color: var(--ink-2); margin: 0 0 20px; max-width: 40ch; }
.club .feats { display: flex; flex-direction: column; gap: 10px; margin: 0 0 26px; }
.club .feats li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); align-items: center; }
.club .feats svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: var(--coral); stroke-width: 2.2; }
.club .media { position: relative; }
.club .media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-lg); }
.club .media .badge { position: absolute; top: -18px; right: -10px; width: 96px; height: 96px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 13px; line-height: 1.2; transform: rotate(10deg); box-shadow: var(--shadow); }
.club .media .badge b { font-size: 24px; display: block; }

/* ============================================================
   Big coral mission band
   ============================================================ */
.mission { background: var(--coral-band); color: #fff; text-align: center; padding: 74px 24px; }
.mission .q { font-size: clamp(28px, 4vw, 44px); font-weight: 800; max-width: 22ch; margin: 0 auto; line-height: 1.2; }
.mission .q em { font-family: var(--script); font-style: normal; font-weight: 700; color: #ffe08a; }
.mission .by { font-family: var(--script); font-size: 24px; margin-top: 18px; opacity: .95; }

/* ============================================================
   Gift shop grid (goods)
   ============================================================ */
.gifts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gift { text-align: center; }
.gift .gimg { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1; background: var(--cream); }
.gift .gimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease2); }
.gift:hover .gimg img { transform: scale(1.06); }
.gift h4 { font-size: 15px; margin-top: 12px; }
.gift .gp { font-size: 13.5px; color: var(--coral); font-weight: 800; margin-top: 3px; }

/* ============================================================
   Store locations
   ============================================================ */
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.store { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.store .simg { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.store .simg img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease2); }
.store:hover .simg img { transform: scale(1.05); }
.store .sname { position: absolute; left: 0; right: 0; bottom: 0; background: var(--coral-band); color: #fff; font-size: clamp(24px, 3vw, 34px); font-weight: 800; text-align: center; padding: 12px; letter-spacing: .02em; }
.store .sbody { padding: 22px; }
.store .sbody .addr { font-size: 14px; color: var(--ink-2); }
.store .sbody .hrs { font-size: 13px; color: var(--muted); margin-top: 6px; }
.store .sbody .deliver { display: inline-block; margin-top: 12px; font-family: var(--script); font-size: 19px; color: var(--coral); }

/* ============================================================
   Instagram masonry
   ============================================================ */
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: 10px; }
.insta-grid .ig { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 1/1; }
.insta-grid .ig.big { grid-column: span 2; grid-row: span 2; }
.insta-grid .ig img, .insta-grid .ig video { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease2); }
.insta-grid .ig:hover img, .insta-grid .ig:hover video { transform: scale(1.06); }
.insta-grid .ig .rbadge { position: absolute; top: 8px; right: 8px; }
.insta-grid .ig .rbadge svg { width: 20px; height: 20px; fill: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }

/* ============================================================
   Reviews
   ============================================================ */
.revwall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.revcard { background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg); padding: 26px; transition: transform .25s var(--ease), border-color .2s; display: flex; flex-direction: column; }
.revcard:hover { transform: translateY(-4px); border-color: var(--coral-soft); }
.revcard.hidden { display: none; }
.revcard .rstar { color: var(--star); font-size: 15px; letter-spacing: 1px; }
.revcard .rq { font-size: 15.5px; color: var(--ink); margin: 12px 0 16px; line-height: 1.7; font-weight: 600; }
.revcard .rphoto + .rfoot { margin-top: 16px; }
.revcard .rfoot { display: flex; align-items: center; gap: 11px; margin-top: auto; }
.revcard .rav { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.revcard .rname { font-weight: 800; font-size: 14px; }
.revcard .rmeta { font-size: 12px; color: var(--muted); }
.revcard .rphoto { margin-top: 14px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; }
.revcard .rphoto img { width: 100%; height: 100%; object-fit: cover; }
.revsort { display: flex; justify-content: center; gap: 8px; margin-bottom: 30px; flex-wrap: wrap; }
.revsort button { padding: 9px 20px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 700; color: var(--ink-2); background: var(--coral-soft); }
.revsort button.on { background: var(--coral); color: #fff; }

/* ============================================================
   Newsletter
   ============================================================ */
.news { background: var(--sun-soft); }
.news .inner { text-align: center; max-width: 560px; margin-inline: auto; }
.news .ey { font-family: var(--script); font-size: 24px; color: var(--coral); }
.news h2 { font-size: 34px; font-weight: 800; margin: 4px 0 10px; }
.news p { font-size: 15px; color: var(--ink-2); margin: 0 0 22px; }
.news form { display: flex; gap: 10px; max-width: 420px; margin-inline: auto; }
.news input { flex: 1; border: 2px solid var(--line-2); background: #fff; border-radius: var(--radius-pill); padding: 14px 22px; font-size: 14px; }
.news input:focus { outline: none; border-color: var(--coral); }

/* ============================================================
   Breadcrumb + page head
   ============================================================ */
.crumb { padding: 22px 0 0; font-size: 12.5px; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.crumb a:hover { color: var(--coral); }
.crumb .sep { opacity: .5; }
.page-head { padding: 14px 0 30px; border-bottom: 1px solid var(--line); text-align: center; }
.page-head .ey { font-family: var(--script); font-size: 22px; color: var(--coral); }
.page-head h1 { font-size: 44px; font-weight: 800; }
.page-head p { font-size: 15px; color: var(--muted); margin: 12px auto 0; max-width: 52ch; }
.page-head .count { font-size: 13.5px; color: var(--ink-2); margin-top: 14px; }
.page-head .count b { color: var(--coral); }

/* Shop filters */
.filters { padding: 26px 0; border-bottom: 1px solid var(--line); }
.filterset { margin-bottom: 16px; }
.filterset:last-child { margin-bottom: 0; }
.filterset .flabel { font-family: var(--script); font-size: 18px; color: var(--coral); margin-bottom: 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { padding: 9px 17px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: 700; color: var(--ink-2); background: #fff; border: 2px solid var(--line-2); transition: all .18s; }
.chip:hover { border-color: var(--coral); }
.chip.on { background: var(--coral); color: #fff; border-color: var(--coral); }
.sortbar { display: flex; gap: 6px; padding: 20px 0; align-items: center; flex-wrap: wrap; }
.sortbar .scount { font-size: 14px; color: var(--muted); margin-right: auto; }
.sortbar .scount b { color: var(--coral); }
.sortbar button { padding: 8px 15px; font-size: 13px; color: var(--muted); font-weight: 700; border-radius: var(--radius-pill); }
.sortbar button.on { color: #fff; background: var(--coral); }
.empty { display: none; text-align: center; padding: 70px 20px; color: var(--muted); }

/* ============================================================
   Product detail
   ============================================================ */
.pd-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; padding: 34px 0 20px; }
.pd-gallery { position: sticky; top: 100px; align-self: start; }
.pd-main { aspect-ratio: 1/1; border-radius: var(--radius-lg); overflow: hidden; background: var(--coral-soft); }
.pd-main img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumbs .t { flex: 1; aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; border: 2.5px solid transparent; }
.pd-thumbs .t.on { border-color: var(--coral); }
.pd-thumbs .t img { width: 100%; height: 100%; object-fit: cover; }
.pd-brandline { font-family: var(--script); font-size: 20px; color: var(--coral); }
.pd-info h1 { font-size: 36px; font-weight: 800; margin: 4px 0 8px; }
.pd-desc { font-size: 15px; color: var(--muted); }
.pd-rate { display: flex; align-items: center; gap: 6px; font-size: 13.5px; margin-top: 12px; }
.pd-rate .star { color: var(--star); } .pd-rate .n { color: var(--muted); }
.pd-price { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.pd-price .dc { color: var(--coral-deep); font-weight: 800; font-size: 28px; }
.pd-price .now { font-weight: 800; font-size: 28px; }
.pd-price .was { color: var(--muted); text-decoration: line-through; font-size: 16px; }
.pd-benefits { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; }
.pd-benefits li { display: flex; gap: 9px; font-size: 14px; color: var(--ink-2); }
.pd-benefits svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: var(--coral); stroke-width: 2.4; margin-top: 2px; }
.opt { margin-top: 22px; }
.opt .olabel { font-weight: 800; font-size: 14px; margin-bottom: 10px; }
.opt-row { display: flex; gap: 9px; flex-wrap: wrap; }
.opt-row .o { padding: 11px 18px; border: 2px solid var(--line-2); border-radius: 14px; font-size: 13.5px; font-weight: 600; background: #fff; display: flex; flex-direction: column; gap: 2px; align-items: flex-start; }
.opt-row .o .oadd { font-size: 11px; color: var(--muted); }
.opt-row .o.on { border-color: var(--coral); background: var(--coral-soft); color: var(--coral-deep); font-weight: 800; }
.opt input[type=date], .opt textarea { width: 100%; padding: 13px 15px; border: 2px solid var(--line-2); border-radius: 14px; font-size: 14px; }
.opt textarea { resize: vertical; min-height: 72px; }
.pd-total { display: flex; align-items: baseline; justify-content: space-between; margin: 26px 0 16px; padding-top: 18px; border-top: 1px solid var(--line); }
.pd-total .tl { font-size: 15px; color: var(--ink-2); }
.pd-total .tv { font-weight: 800; font-size: 28px; color: var(--coral); }
.pd-cta { display: flex; gap: 12px; }
.pd-cta .btn { flex: 1; }
.pd-wish { flex: 0 0 auto !important; width: 58px; border: 2px solid var(--line-2); border-radius: var(--radius-pill); display: grid; place-items: center; background: #fff; }
.pd-wish svg { width: 22px; height: 22px; fill: none; stroke: var(--ink-2); stroke-width: 1.9; }
.pd-wish.on svg { fill: var(--coral); stroke: var(--coral); }
.tabbar { display: flex; gap: 6px; border-bottom: 2px solid var(--line); margin-top: 14px; }
.tabbar button { padding: 15px 22px; font-size: 14.5px; font-weight: 800; color: var(--muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
.tabbar button.on { color: var(--coral); border-color: var(--coral); }
.tabpane { display: none; padding: 26px 0; }
.tabpane.on { display: block; }
.tabpane p { font-size: 14.5px; color: var(--ink-2); line-height: 1.85; }
.tabpane img { border-radius: var(--radius); margin: 16px 0; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec th, .spec td { text-align: left; padding: 13px 4px; border-bottom: 1px solid var(--line); }
.spec th { color: var(--muted); font-weight: 600; width: 30%; }

/* ============================================================
   Subscription page plans
   ============================================================ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.plan { border: 2px solid var(--line-2); border-radius: var(--radius-lg); padding: 32px 26px; text-align: center; background: #fff; position: relative; transition: transform .25s var(--ease); }
.plan:hover { transform: translateY(-6px) rotate(-.5deg); box-shadow: var(--shadow-lg); }
.plan.pop { border-color: var(--coral); background: var(--coral-soft); }
.plan .tag { position: absolute; top: -14px; left: 50%; transform: translateX(-50%) rotate(-3deg); background: var(--coral); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 18px; border-radius: var(--radius-pill); }
.plan h3 { font-size: 24px; font-weight: 800; }
.plan .freq { font-size: 13px; color: var(--muted); margin-top: 4px; }
.plan .amt { font-size: 42px; font-weight: 800; color: var(--coral); margin: 16px 0 4px; }
.plan .amt small { font-size: 15px; color: var(--muted); font-weight: 600; }
.plan ul { margin: 20px 0 24px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.plan ul li { display: flex; gap: 9px; font-size: 13.5px; color: var(--ink-2); }
.plan ul svg { width: 17px; height: 17px; flex: 0 0 auto; fill: none; stroke: var(--coral); stroke-width: 2.6; margin-top: 2px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; }
.step .sn { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: var(--coral-soft); color: var(--coral); display: grid; place-items: center; font-size: 26px; font-weight: 800; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   About / stats
   ============================================================ */
.about-hero { position: relative; height: 58vh; min-height: 440px; overflow: hidden; }
.about-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(58,20,26,.6), rgba(58,20,26,.05) 60%); }
.about-hero .ah-copy { position: absolute; inset: 0; display: flex; align-items: flex-end; z-index: 2; }
.about-hero .ah-copy .inner { max-width: var(--wrap); margin-inline: auto; padding: 0 24px 46px; width: 100%; color: #fff; }
.about-hero .k { font-family: var(--script); font-size: 30px; color: #ffe08a; }
.about-hero h1 { font-size: clamp(38px, 5vw, 58px); font-weight: 800; margin-top: 6px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat .sv { font-size: 46px; font-weight: 800; color: var(--coral); }
.stat .sl { font-size: 13px; color: var(--muted); margin-top: 6px; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-it { text-align: center; }
.value-it .vic { width: 66px; height: 66px; margin: 0 auto 14px; border-radius: 50%; background: var(--coral-soft); display: grid; place-items: center; }
.value-it .vic svg { width: 30px; height: 30px; fill: none; stroke: var(--coral); stroke-width: 1.8; }
.value-it h3 { font-size: 19px; margin-bottom: 8px; }
.value-it p { font-size: 14px; color: var(--muted); line-height: 1.7; }
.about-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.about-gallery img { aspect-ratio: 1/1; object-fit: cover; width: 100%; border-radius: var(--radius); }

/* ============================================================
   Contact
   ============================================================ */
.cform { display: flex; flex-direction: column; gap: 14px; }
.cform label { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.cform input, .cform select, .cform textarea { width: 100%; padding: 13px 16px; border: 2px solid var(--line-2); border-radius: 14px; font-size: 14px; margin-top: 6px; }
.cform textarea { resize: vertical; min-height: 110px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { outline: none; border-color: var(--coral); }
.faq { max-width: 780px; margin-inline: auto; }
.faq details { border-bottom: 2px solid var(--line); padding: 20px 4px; }
.faq summary { font-size: 16px; font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--coral); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: '\2212'; }
.faq p { font-size: 14px; color: var(--ink-2); margin: 14px 0 0; line-height: 1.75; }

/* ============================================================
   FOOTER (chrome)
   ============================================================ */
footer { background: var(--coral-band); color: rgba(255,255,255,.9); padding: 56px 0 30px; }
footer .f-top { text-align: center; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.25); }
footer .f-brand { font-size: 30px; font-weight: 800; color: #fff; }
footer .f-sub { font-family: var(--script); font-size: 20px; color: #ffe08a; margin-top: 2px; }
footer .f-tag { font-size: 13.5px; color: rgba(255,255,255,.85); margin: 12px auto 0; max-width: 40ch; line-height: 1.7; }
footer .f-cols { display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr; gap: 26px; padding: 38px 0; }
footer .f-col h4 { font-size: 13px; color: #fff; margin-bottom: 14px; font-weight: 800; }
footer .f-col a { display: block; font-size: 13px; color: rgba(255,255,255,.85); padding: 5px 0; }
footer .f-col a:hover { color: #ffe08a; }
footer .f-news p { font-size: 13px; color: rgba(255,255,255,.85); margin: 0 0 12px; }
footer .f-news form { display: flex; gap: 8px; }
footer .f-news input { flex: 1; border: none; background: rgba(255,255,255,.9); border-radius: var(--radius-pill); padding: 11px 16px; font-size: 13px; color: var(--ink); }
footer .f-social { display: flex; gap: 10px; margin-top: 14px; }
footer .f-social a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.2); display: grid; place-items: center; }
footer .f-social svg { width: 18px; height: 18px; fill: #fff; }
footer .f-social a:hover { background: rgba(255,255,255,.35); }
footer .f-legal { font-size: 11.5px; color: rgba(255,255,255,.72); line-height: 1.8; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.25); text-align: center; }

/* ============================================================
   Toast, reveal, responsive
   ============================================================ */
.toast { position: fixed; left: 50%; bottom: 32px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 13px 24px; border-radius: var(--radius-pill); font-size: 14px; font-weight: 700; z-index: 200; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease2), transform .7s var(--ease2); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp 1s var(--ease2) forwards; }
.fade-up.b { animation-delay: .15s; } .fade-up.c { animation-delay: .3s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .cats, .gifts { grid-template-columns: repeat(2, 1fr); }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .club .grid, .pd-wrap, .stores, .contact-grid { grid-template-columns: 1fr; }
  .plans, .revwall, .value-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .about-gallery { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  footer .f-cols { grid-template-columns: repeat(2, 1fr); }
  .pd-gallery { position: static; }
}
@media (max-width: 680px) {
  .nav-left { display: none; }
  .topbar { grid-template-columns: auto 1fr auto; }
  .brandwrap { justify-self: start; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .sec-head h2 { font-size: 28px; }
  .hero { height: 72vh; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .ribbon .track { animation: none; }
}

/* === a1k V4 cells (session 122) === */
.btn{border-radius:var(--a1k-btn-radius,var(--radius-pill));font-weight:var(--a1k-btn-weight,800)}
.sec-head h2,.hero h1,.club .copy h2,.news h2,.cat .lab b{font-weight:var(--a1k-heading-weight,800)}
@media (min-width:981px){.pgrid,.gifts,.cats{grid-template-columns:repeat(var(--a1k-cols,4),1fr);gap:calc(20px*var(--a1k-density,1))}}
.cat{aspect-ratio:var(--a1k-img-ratio,3/4)}
.club .media img{aspect-ratio:var(--a1k-img-ratio,4/5)}
.head-icons svg,.club .feats svg{stroke-width:var(--a1k-icon-stroke,1.8);fill:var(--a1k-icon-fill,none)}
.reveal{opacity:var(--a1k-reveal-from,0);transform:translate(var(--a1k-reveal-x,0px),var(--a1k-reveal-y,22px)) scale(var(--a1k-reveal-scale,1))}
.reveal.in{opacity:1;transform:none}

/* === a1k V4 bones (session 124) === */
:root{--bg:var(--a1k-world-bg,#fffcf9);--ink:var(--a1k-world-ink,#3a2b2e);--ink-2:var(--a1k-world-ink,#6b585b);--line:var(--a1k-world-line,#f3e8e8);--line-2:var(--a1k-world-line,#ecd9d9)}
.store,.revcard,.news input,.chip,.opt-row .o,.pd-wish,.plan{background:var(--a1k-world-surface,#fff)}
/* 서체 두 축 — --sans 는 본문(읽는 쪽은 body 가 상속), h1/h2/h3/.brand 는 표시축 */
:root{--sans:var(--a1k-font-body,'Mulish', 'Noto Sans KR', system-ui, -apple-system, 'Malgun Gothic', sans-serif)}
h1,h2,h3,.brand{font-family:var(--a1k-font-display,var(--sans))}
/* 내비 계열 4종 — .topbar(nav-left|brandwrap|head-icons) + 분리된 .catnav>.catrow */
html[data-a1k-nav="centered"] .topbar{display:flex;flex-direction:column;align-items:center;gap:6px;position:relative;padding-block:14px}
html[data-a1k-nav="centered"] .topbar .brandwrap{order:1}
html[data-a1k-nav="centered"] .topbar .nav-left{order:2;justify-content:center;gap:20px}
html[data-a1k-nav="centered"] .topbar .head-icons{position:absolute;right:24px;top:50%;transform:translateY(-50%)}
html[data-a1k-nav="split"] .topbar{display:flex;align-items:center;gap:24px;padding-block:16px}
html[data-a1k-nav="split"] .topbar .brandwrap{order:1}
html[data-a1k-nav="split"] .topbar .nav-left{order:2;margin-left:auto;gap:22px}
html[data-a1k-nav="split"] .topbar .head-icons{order:3}
html[data-a1k-nav="utility"] .topbar{display:flex;flex-direction:column;padding-top:0}
html[data-a1k-nav="utility"] .topbar .head-icons{order:-1;width:100%;justify-content:flex-end;gap:14px;margin:-16px -24px 10px;padding:7px 24px;background:var(--a1k-world-surface,var(--line));font-size:12px}
html[data-a1k-nav="utility"] .topbar .head-icons a,html[data-a1k-nav="utility"] .topbar .head-icons button{width:30px;height:30px}
html[data-a1k-nav="utility"] .topbar .head-icons svg{width:16px;height:16px}
html[data-a1k-nav="utility"] .topbar .brandwrap{order:1;justify-self:center}
html[data-a1k-nav="utility"] .topbar .nav-left{order:2;justify-content:center}
html[data-a1k-nav="minimal"] .catnav{display:none}
html[data-a1k-nav="minimal"] .topbar .nav-left{display:none}
html[data-a1k-nav="minimal"] .topbar .head-icons>*:not(:first-child){display:none}
