/* StyleTour 홈페이지 UI 시안 — 로고 색(파랑→하늘→핑크) + 돌고래 캐릭터 */
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');

:root {
  --blue: #2e6fd3;
  --cyan: #2fc0dc;
  --sky: #6cc4f2;
  --pink: #ee8aa8;
  --magenta: #d65ca8;
  --grad: linear-gradient(100deg, #2e6fd3 0%, #2fc0dc 38%, #ee8aa8 72%, #d65ca8 100%);
  --grad-soft: linear-gradient(120deg, #e8f4ff 0%, #e6fafd 45%, #fdeef3 100%);
  --ink: #1f3550;
  --ink-2: #4c6580;
  --ink-3: #8aa0b6;
  --line: #e4eef7;
  --bg: #f6fafe;
  --card: #ffffff;
  --sky-50: #f0f8ff;
  --sky-100: #dff0fd;
  --pink-50: #fff2f6;
  --mint: #19b394;
  --warn: #f0a500;
  --r-sm: 12px; --r: 20px; --r-lg: 28px;
  --sh: 0 1px 2px rgba(31,53,80,.04), 0 8px 24px rgba(46,111,211,.08);
  --sh-lg: 0 2px 6px rgba(31,53,80,.05), 0 20px 50px rgba(46,111,211,.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body { font-family: 'Pretendard Variable', Pretendard, -apple-system, 'Malgun Gothic', sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 시안 전환 바 ---------- */
.demo-bar { position: sticky; top: 0; z-index: 90; display: flex; justify-content: center; align-items: center; gap: 4px; padding: 7px; background: #13253a; font-size: 13px; }
.demo-bar span { color: #8fb0cf; margin-right: 8px; }
.demo-bar a { color: #cfe0f0; padding: 4px 14px; border-radius: 99px; }
.demo-bar a.on { background: var(--grad); color: #fff; font-weight: 600; }

/* ---------- 버튼·칩·배지 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 46px; padding: 0 22px; border-radius: 14px; font-size: 15px; font-weight: 700; color: #fff; background: linear-gradient(100deg, #2e6fd3, #2fc0dc); box-shadow: 0 8px 18px rgba(46,111,211,.25); transition: transform .15s, box-shadow .15s, filter .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 24px rgba(46,111,211,.3); filter: brightness(1.04); }
.btn.pink { background: linear-gradient(100deg, #ee8aa8, #d65ca8); box-shadow: 0 8px 18px rgba(214,92,168,.25); }
.btn.line { background: #fff; color: var(--blue); border: 1.5px solid #cfe1f5; box-shadow: none; }
.btn.line:hover { border-color: var(--blue); }
.btn.dark { background: var(--ink); box-shadow: none; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 11px; }
.btn.block { width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 99px; background: #fff; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: all .15s; }
.chip:hover { border-color: #b9d6f2; color: var(--blue); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: 0; }
.badge.blue { background: #e3efff; color: var(--blue); }
.badge.pink { background: #ffe8f0; color: #d14d86; }
.badge.mint { background: #e0f7f1; color: #12957a; }
.badge.gold { background: #fff3d6; color: #b07800; }
.badge.violet { background: #efe9ff; color: #6b4fd8; }
.badge.white { background: rgba(255,255,255,.92); color: var(--ink); backdrop-filter: blur(6px); }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); }

/* ---------- 헤더 ---------- */
.header { position: sticky; top: 34px; z-index: 80; background: rgba(255,255,255,.86); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(228,238,247,.8); }
.header .wrap { display: flex; align-items: center; gap: 36px; height: 72px; }
.logo img { height: 42px; width: auto; }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.nav a { position: relative; padding: 6px 0; }
.nav a:hover, .nav a.on { color: var(--ink); }
.nav a.on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--grad); }
.header .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--ink-2); }
.icon-btn:hover { background: var(--sky-50); }
.icon-btn svg { width: 21px; height: 21px; }

/* ---------- 히어로 ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #d7ecff 0%, #e9f7ff 55%, var(--bg) 100%); }
.hero::before { content: ''; position: absolute; width: 680px; height: 680px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(238,138,168,.28), transparent 65%); }
.hero::after { content: ''; position: absolute; width: 560px; height: 560px; left: -200px; bottom: -280px; border-radius: 50%; background: radial-gradient(circle, rgba(47,192,220,.25), transparent 65%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 30px; padding-top: 56px; padding-bottom: 110px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 99px; background: rgba(255,255,255,.8); font-size: 13px; font-weight: 600; color: var(--ink-2); box-shadow: var(--sh); }
.eyebrow b { padding: 2px 8px; border-radius: 99px; background: var(--grad); color: #fff; font-size: 11px; }
.hero h1 { margin-top: 18px; font-size: 54px; line-height: 1.18; font-weight: 800; letter-spacing: -0.035em; }
.hero p.lead { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 520px; }
.hero .flags { margin-top: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.hero .flags span { padding: 7px 12px; border-radius: 10px; background: rgba(255,255,255,.75); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.hero-art { position: relative; height: 380px; }
.hero-art .photo { position: absolute; border-radius: 26px; overflow: hidden; box-shadow: var(--sh-lg); border: 5px solid #fff; background: #cfe6f8 center/cover; }
.hero-art .p1 { width: 290px; height: 330px; right: 10px; top: 0; transform: rotate(3deg); }
.hero-art .p2 { width: 210px; height: 220px; left: 0; bottom: 0; transform: rotate(-5deg); }
.hero-art .dolphin { position: absolute; width: 170px; left: 120px; top: 20px; filter: drop-shadow(0 18px 24px rgba(46,111,211,.25)); animation: bob 4s ease-in-out infinite; z-index: 2; }
.hero-art .bubble { position: absolute; left: -10px; top: 0; z-index: 3; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #fff; font-size: 13px; font-weight: 700; box-shadow: var(--sh-lg); }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg) } 50% { transform: translateY(-12px) rotate(2deg) } }
.wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.wave svg { width: 100%; height: 70px; }

/* 검색 */
.search-box { position: relative; z-index: 5; margin: -62px auto 0; max-width: 1060px; padding: 10px; border-radius: 24px; background: #fff; box-shadow: var(--sh-lg); display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; }
.search-box .f { padding: 12px 22px; border-radius: 16px; border-right: 1px solid var(--line); cursor: pointer; }
.search-box .f:nth-child(3) { border-right: 0; }
.search-box .f:hover { background: var(--sky-50); }
.search-box label { display: block; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.search-box b { display: block; margin-top: 2px; font-size: 16px; font-weight: 700; }
.search-box .btn { height: 64px; padding: 0 30px; border-radius: 16px; font-size: 16px; }

/* 카테고리 */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 34px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px; border-radius: var(--r); background: #fff; box-shadow: var(--sh); font-size: 14px; font-weight: 700; color: var(--ink-2); transition: transform .15s; }
.cat:hover { transform: translateY(-3px); color: var(--blue); }
.cat .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; }
.cat .ic svg { width: 26px; height: 26px; }
.ic.c1 { background: #e3efff; color: var(--blue); } .ic.c2 { background: #dff7fb; color: #149bb5; } .ic.c3 { background: #ffe8f0; color: #d14d86; }
.ic.c4 { background: #e0f7f1; color: #12957a; } .ic.c5 { background: #fff3d6; color: #b07800; } .ic.c6 { background: #efe9ff; color: #6b4fd8; }

/* ---------- 섹션 ---------- */
.section { padding: 64px 0 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-head h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.03em; }
.sec-head p { margin-top: 4px; color: var(--ink-3); font-size: 15px; }
.sec-head .more { font-size: 14px; font-weight: 600; color: var(--ink-2); }

/* ---------- 상품 카드 ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.prod { overflow: hidden; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.prod:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.prod .pic { position: relative; aspect-ratio: 4 / 3; background: #d6eaf8 center/cover; }
.prod .pic::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10,30,50,.18)); }
.prod .pic .tags { position: absolute; z-index: 1; top: 12px; left: 12px; display: flex; gap: 6px; }
.prod .pic .heart { position: absolute; z-index: 1; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); color: #e0648f; }
.prod .pic .heart svg { width: 17px; height: 17px; }
.prod .body { padding: 16px 18px 18px; }
.prod .where { font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.prod h3 { margin: 4px 0 8px; font-size: 16.5px; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 46px; }
.prod .meta { display: flex; gap: 8px; align-items: center; font-size: 12.5px; color: var(--ink-3); }
.prod .meta .star { color: #f5a623; font-weight: 700; }
.price { margin-top: 10px; display: flex; align-items: baseline; gap: 6px; }
.price .off { font-size: 17px; font-weight: 800; color: #e0548a; }
.price .now { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; }
.price .now small { font-size: 13px; font-weight: 600; }
.price .was { font-size: 12.5px; color: #a9bacb; text-decoration: line-through; }

/* ---------- 쉬운 예약 3단계 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 26px 24px; overflow: hidden; }
.step .n { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad); }
.step h3 { margin-top: 16px; font-size: 18px; font-weight: 800; }
.step p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.step .pay { margin-top: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.step .pay span { padding: 5px 10px; border-radius: 8px; background: var(--sky-50); font-size: 12px; font-weight: 700; color: var(--ink-2); }

/* ---------- 프로모 ---------- */
.promo { position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding: 34px 44px; border-radius: var(--r-lg); background: var(--grad-soft); border: 1px solid #e3eef8; }
.promo img { width: 120px; }
.promo h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; }
.promo p { margin-top: 6px; color: var(--ink-2); }

/* ---------- 후기 ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { padding: 22px; }
.review .top { display: flex; align-items: center; gap: 12px; }
.review .ava { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; color: #fff; }
.review .name { font-weight: 700; font-size: 14.5px; }
.review .stars { color: #f5a623; font-size: 13px; letter-spacing: 1px; }
.review .prodname { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.review p { margin-top: 12px; font-size: 14.5px; color: var(--ink-2); }
.review .reply { margin-top: 14px; display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--sky-50); font-size: 13px; color: var(--ink-2); }
.review .reply img { width: 26px; height: 30px; object-fit: contain; flex: none; }
.review .reply b { color: var(--blue); }

/* ---------- 푸터 ---------- */
.footer { margin-top: 80px; padding: 44px 0 56px; background: #fff; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13.5px; }
.footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 30px; }
.footer img { height: 34px; margin-bottom: 12px; }
.footer b { color: var(--ink); display: block; margin-bottom: 6px; }

/* ---------- 모달 (간편 가입·예약) ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15,32,52,.45); backdrop-filter: blur(4px); }
.modal-bg.show { display: flex; }
.modal { width: 100%; max-width: 440px; max-height: calc(100vh - 40px); overflow: auto; padding: 30px 28px 26px; border-radius: 26px; background: #fff; box-shadow: 0 30px 80px rgba(15,32,52,.3); position: relative; }
.modal.wide { max-width: 860px; padding: 0; display: grid; grid-template-columns: 1fr 360px; overflow: hidden; }
.modal .x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; color: var(--ink-3); z-index: 2; }
.modal .x:hover { background: var(--sky-50); }
.modal h2 { font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.modal .sub { margin-top: 4px; font-size: 14px; color: var(--ink-3); }
.field { margin-top: 14px; }
.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.input { width: 100%; height: 48px; padding: 0 14px; border-radius: 13px; border: 1.5px solid var(--line); background: #fbfdff; font: inherit; font-size: 15px; color: var(--ink); outline: none; transition: border .15s, box-shadow .15s; }
.input:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(108,196,242,.18); }
.row2 { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.agree { margin-top: 16px; padding: 14px; border-radius: 14px; background: var(--sky-50); font-size: 13.5px; }
.agree .all { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 15px; }
.agree .sub-ck { margin-top: 8px; padding-left: 32px; color: var(--ink-3); display: grid; gap: 4px; }
.ck { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; background: var(--blue); color: #fff; font-size: 13px; flex: none; }
.modal .note { margin-top: 12px; text-align: center; font-size: 12.5px; color: var(--ink-3); }
.book-left { position: relative; background: #cfe6f8 center/cover; min-height: 520px; }
.book-left .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; color: #fff; background: linear-gradient(180deg, transparent, rgba(10,25,45,.75)); }
.book-left .cap h3 { font-size: 22px; font-weight: 800; }
.book-right { padding: 28px 26px 24px; display: flex; flex-direction: column; }
.stepper { display: flex; gap: 6px; margin-bottom: 16px; }
.stepper span { flex: 1; height: 5px; border-radius: 5px; background: var(--line); }
.stepper span.on { background: var(--grad); }
.counter { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.counter small { display: block; color: var(--ink-3); font-size: 12px; }
.counter .ctl { display: flex; align-items: center; gap: 12px; font-weight: 800; }
.counter .ctl button { width: 32px; height: 32px; border-radius: 10px; border: 1.5px solid var(--line); font-size: 17px; color: var(--ink-2); }
.dates { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 6px; }
.dates button { padding: 8px 0; border-radius: 12px; border: 1.5px solid var(--line); font-size: 12px; color: var(--ink-3); line-height: 1.3; }
.dates button b { display: block; font-size: 15px; color: var(--ink); }
.dates button.on { border-color: var(--blue); background: #eef5ff; }
.dates button.on b { color: var(--blue); }
.paylist { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 6px; }
.paylist button { height: 44px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink-2); }
.paylist button.on { border-color: var(--blue); color: var(--blue); background: #eef5ff; }
.total { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; }
.total b { font-size: 24px; font-weight: 800; }

/* ---------- B2B ---------- */
.b2b-strip { background: var(--ink); color: #cfe0f0; font-size: 13px; }
.b2b-strip .wrap { display: flex; align-items: center; gap: 14px; height: 40px; }
.b2b-strip .pill { padding: 3px 10px; border-radius: 99px; background: var(--grad); color: #fff; font-weight: 700; font-size: 12px; }
.b2b-hero { padding: 34px 0 10px; }
.b2b-hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; }
.b2b-hero h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; }
.b2b-hero p { color: var(--ink-3); margin-top: 4px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.kpi { padding: 18px 20px; }
.kpi .lab { font-size: 13px; font-weight: 600; color: var(--ink-3); }
.kpi .val { margin-top: 4px; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.kpi .val small { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.kpi .foot { margin-top: 6px; font-size: 12.5px; color: var(--ink-3); }
.kpi.accent { background: var(--grad); color: #fff; }
.kpi.accent .lab, .kpi.accent .foot, .kpi.accent .val small { color: rgba(255,255,255,.85); }
.b2b-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; margin-top: 28px; }
.toolbar { display: flex; gap: 8px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.search-in { flex: 1; min-width: 240px; height: 44px; padding: 0 16px; border-radius: 13px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 14px; color: var(--ink); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.netbox { margin-top: 12px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(120deg, #eef6ff, #f5fbff); border: 1px solid #e0edf9; }
.netbox .r { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--ink-3); }
.netbox .r + .r { margin-top: 3px; }
.netbox .consumer { text-decoration: line-through; }
.netbox .net { font-size: 21px; font-weight: 800; color: var(--blue); letter-spacing: -0.02em; }
.netbox .mg { font-weight: 800; color: var(--mint); }
.prod .acts { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin-top: 12px; }
.side .card { padding: 20px; margin-bottom: 16px; }
.side h4 { font-size: 15px; font-weight: 800; margin-bottom: 10px; display: flex; align-items: center; }
.side h4 a { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
.li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.li:last-child { border: 0; padding-bottom: 0; }
.li .t { font-weight: 600; }
.li .s { font-size: 12px; color: var(--ink-3); }
.status { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-ok { color: var(--mint); } .st-wait { color: var(--warn); } .st-new { color: var(--blue); } .st-cancel { color: #e0548a; }
.manager { display: flex; gap: 12px; align-items: center; }
.manager .ava { width: 46px; height: 46px; border-radius: 15px; background: var(--grad-soft); display: grid; place-items: center; overflow: hidden; }
.manager .ava img { width: 34px; }

/* ---------- 관리자 ---------- */
body.admin-body { background: #f3f7fb; }
.admin { display: grid; grid-template-columns: 248px 1fr; min-height: calc(100vh - 34px); }
.admin aside { position: sticky; top: 34px; height: calc(100vh - 34px); overflow: auto; background: #fff; border-right: 1px solid var(--line); padding: 20px 14px; }
.admin aside .logo img { height: 34px; margin: 4px 8px 18px; }
.admin aside .group { font-size: 11.5px; font-weight: 700; letter-spacing: .04em; color: var(--ink-3); padding: 16px 12px 6px; }
.menu a { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.menu a svg { width: 18px; height: 18px; opacity: .8; }
.menu a:hover { background: var(--sky-50); color: var(--ink); }
.menu a.on { background: linear-gradient(100deg, #e6f0ff, #e6f9fc); color: var(--blue); }
.menu a .cnt { margin-left: auto; min-width: 22px; height: 20px; padding: 0 7px; border-radius: 99px; background: #e0548a; color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.admin aside .helper { margin: 22px 6px 0; padding: 16px; border-radius: 18px; background: var(--grad-soft); display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ink-2); }
.admin aside .helper img { width: 44px; }
.admin main { padding: 26px 32px 60px; min-width: 0; }
.admin .top { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.admin .top h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; }
.admin .top .date { font-size: 14px; color: var(--ink-3); }
.admin .top .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 14px; background: #e8f0f8; margin-bottom: 20px; width: max-content; }
.tabs button { height: 36px; padding: 0 16px; border-radius: 11px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.tabs button.on { background: #fff; color: var(--ink); box-shadow: var(--sh); }
.view { display: none; }
.view.on { display: block; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 18px; }
.stat { padding: 18px 20px; }
.stat .head { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.stat .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; }
.stat .ic svg { width: 18px; height: 18px; }
.stat .num { margin-top: 10px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.stat .num small { font-size: 14px; font-weight: 600; color: var(--ink-3); }
.stat .delta { font-size: 12.5px; font-weight: 700; color: var(--mint); }
.two { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; margin-bottom: 18px; }
.panel { padding: 20px 22px; min-width: 0; overflow-x: auto; }
.panel h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 16px; font-weight: 800; }
.panel h3 .more { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--ink-3); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th { text-align: left; font-weight: 700; color: var(--ink-3); font-size: 12px; padding: 8px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 12px 10px; border-bottom: 1px solid #eef3f8; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td .thumb { width: 38px; height: 38px; border-radius: 10px; background: #d6eaf8 center/cover; display: inline-block; vertical-align: middle; margin-right: 10px; }
.chart { display: flex; align-items: flex-end; gap: 14px; height: 170px; padding: 10px 4px 0; border-bottom: 1px solid var(--line); }
.chart .col { flex: 1; display: flex; gap: 4px; align-items: flex-end; height: 100%; }
.chart .col i { flex: 1; border-radius: 8px 8px 3px 3px; }
.chart .c { background: linear-gradient(180deg, #6cc4f2, #2e6fd3); }
.chart .b { background: linear-gradient(180deg, #f5b3c8, #d65ca8); }
.chart-x { display: flex; gap: 14px; padding: 6px 4px 0; font-size: 12px; color: var(--ink-3); }
.chart-x span { flex: 1; text-align: center; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--ink-3); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
.qa { padding: 12px 0; border-bottom: 1px solid #eef3f8; }
.qa:last-child { border: 0; }
.qa .q { font-size: 14px; font-weight: 600; }
.qa .s { margin-top: 2px; font-size: 12px; color: var(--ink-3); }
.qa .reply-in { margin-top: 8px; display: flex; gap: 6px; }
.qa .reply-in .input { height: 38px; font-size: 13px; }

/* 상품 등록 */
.form-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.form .full { grid-column: 1 / -1; }
.photos { display: flex; gap: 10px; flex-wrap: wrap; padding: 14px; border-radius: 16px; border: 1.5px dashed #bcd8f1; background: #f8fbff; }
.photos .ph { position: relative; width: 92px; height: 92px; border-radius: 14px; background: #d6eaf8 center/cover; }
.photos .ph .main { position: absolute; left: 6px; top: 6px; }
.photos .add { width: 92px; height: 92px; border-radius: 14px; border: 1.5px dashed #9cc5ea; display: grid; place-items: center; text-align: center; font-size: 12px; font-weight: 700; color: var(--blue); background: #fff; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pbox { padding: 14px 16px; border-radius: 16px; }
.pbox.c { background: #eef6ff; } .pbox.b { background: #fdf0f6; }
.pbox .t { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.pbox input { width: 100%; margin-top: 4px; border: 0; background: transparent; font: inherit; font-size: 22px; font-weight: 800; color: var(--ink); outline: none; }
.pbox .h { font-size: 12px; color: var(--ink-3); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 12px; }
.cal .h { color: var(--ink-3); font-weight: 700; padding: 4px 0; }
.cal .d { padding: 6px 0 5px; border-radius: 10px; background: #f3f8fd; line-height: 1.25; }
.cal .d small { display: block; font-size: 10px; color: var(--ink-3); }
.cal .d.peak { background: #fdeef4; } .cal .d.peak small { color: #d14d86; }
.cal .d.sel { background: var(--blue); color: #fff; } .cal .d.sel small { color: #d9e8ff; }
.cal .d.off { background: transparent; color: #c5d3e0; }
.erp { padding: 18px; border-radius: 18px; background: linear-gradient(120deg, #eafaf5, #eef7ff); border: 1px solid #d8efe8; }
.erp .head { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; }
.erp .head .sync { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--mint); }
.erp-item { display: flex; align-items: center; gap: 10px; padding: 10px 2px; font-size: 13.5px; border-bottom: 1px solid #d8efe8; }
.erp-item:last-of-type { border: 0; }
.erp-item .code { width: 74px; font-size: 12px; color: var(--ink-3); font-weight: 600; }
.erp-item .box { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #9fd8c6; background: #fff; display: grid; place-items: center; color: #fff; font-size: 12px; }
.erp-item .box.on { background: var(--mint); border-color: var(--mint); }
.erp-item .who { margin-left: auto; font-size: 12px; color: var(--ink-3); }
.toggle { display: inline-block; width: 38px; height: 22px; border-radius: 99px; background: var(--mint); position: relative; vertical-align: middle; }
.toggle::after { content: ''; position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.toggle.off { background: #cfdbe6; } .toggle.off::after { right: auto; left: 3px; }

@media (max-width: 1080px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .b2b-layout, .two, .form-grid { grid-template-columns: 1fr; }
  .stats, .kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .nav { display: none; }
  .grid, .grid.three, .reviews, .steps { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hero h1 { font-size: 34px; }
  .search-box { grid-template-columns: 1fr; margin-top: -50px; }
  .search-box .f { border-right: 0; border-bottom: 1px solid var(--line); }
  .promo { grid-template-columns: 1fr; text-align: center; }
  .promo img { margin: 0 auto; }
  .admin { grid-template-columns: 1fr; }
  .admin aside { display: none; }
  .modal.wide { grid-template-columns: 1fr; }
  .book-left { min-height: 180px; }
  .footer .wrap { grid-template-columns: 1fr; }
}

/* =====================================================================
   v2: 시안 바는 오른쪽 아래 작은 버튼으로 / B2B 배지 / 구름구름한 박스
   ===================================================================== */
:root {
  --cloud: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 70'%3E%3Cpath d='M28 66a22 22 0 0 1-3-43.8A30 30 0 0 1 82 16a24 24 0 0 1 10 50z' fill='%23ffffff'/%3E%3C/svg%3E");
  --cloud-sky: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 70'%3E%3Cpath d='M28 66a22 22 0 0 1-3-43.8A30 30 0 0 1 82 16a24 24 0 0 1 10 50z' fill='%23e3f1fe'/%3E%3C/svg%3E");
  --cloud-pink: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 70'%3E%3Cpath d='M28 66a22 22 0 0 1-3-43.8A30 30 0 0 1 82 16a24 24 0 0 1 10 50z' fill='%23fde9f1'/%3E%3C/svg%3E");
  --r: 28px; --r-lg: 36px;
  --sh: 0 2px 0 rgba(255,255,255,.9) inset, 0 10px 30px rgba(46,111,211,.09), 0 2px 6px rgba(46,111,211,.05);
  --sh-lg: 0 2px 0 rgba(255,255,255,.9) inset, 0 22px 50px rgba(46,111,211,.17);
}

/* 시안 이동 버튼 (실제 사이트에는 없음) */
.demo-bar { position: fixed; top: auto; bottom: 18px; right: 18px; left: auto; padding: 6px; border-radius: 99px; background: rgba(19,37,58,.82); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: 12px; }
.demo-bar span { margin: 0 6px 0 8px; }
.header, .b2b-strip + .header { top: 0; }
.admin { min-height: 100vh; }
.admin aside { top: 0; height: 100vh; }

/* B2B 로고 배지: 구름 모양 */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.b2b-tag {
  position: relative; display: inline-flex; align-items: center; gap: 3px;
  margin-top: 6px; padding: 5px 12px 4px 13px; border-radius: 99px;
  background: linear-gradient(100deg, #f58fb0, #b48cf2); color: #fff;
  font-size: 14px; font-weight: 900; letter-spacing: .06em;
  box-shadow: 0 6px 14px rgba(214,92,168,.3); text-shadow: 0 1px 0 rgba(150,50,120,.25);
  animation: tagbob 3s ease-in-out infinite;
}
.b2b-tag::before, .b2b-tag::after { content: ''; position: absolute; border-radius: 50%; z-index: -1; }
.b2b-tag::before { width: 20px; height: 20px; left: 8px; top: -8px; background: #f590b0; }
.b2b-tag::after { width: 16px; height: 16px; left: 23px; top: -6px; background: #df8fcf; }
.b2b-tag i { font-style: normal; font-size: 11px; color: #fff6a8; }
.logo { isolation: isolate; }
@keyframes tagbob { 0%, 100% { transform: translateY(0) rotate(-3deg) } 50% { transform: translateY(-3px) rotate(2deg) } }

/* 버튼·입력칸: 더 동글동글 */
.btn { border-radius: 99px; }
.btn.sm { border-radius: 99px; }
.input, .search-in { border-radius: 99px; }
textarea.input { border-radius: 22px; }
.search-box { border-radius: 99px; padding: 10px 10px 10px 16px; }
.search-box .f { border-radius: 99px; }
.search-box .btn { border-radius: 99px; height: 60px; }

/* 구름 박스: 카드 오른쪽 위에 작은 구름 장식 + 흰 테두리 */
.card { border-radius: var(--r); border: 2px solid #fff; background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%); }
.cloudy { position: relative; overflow: visible; }
.cloudy::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 92px; height: 54px; right: 18px; top: -22px; background: var(--cloud-sky) no-repeat center/contain;
  filter: drop-shadow(0 4px 6px rgba(46,111,211,.08));
}
.cloudy.pinkc::before { background-image: var(--cloud-pink); }
.cloudy > * { position: relative; z-index: 1; }

/* 히어로 구름 떠다니기 */
.hero .cl { position: absolute; z-index: 0; background: var(--cloud) no-repeat center/contain; opacity: .95; filter: drop-shadow(0 10px 18px rgba(46,111,211,.12)); }
.hero .cl.a { width: 170px; height: 100px; left: 4%; top: 30px; animation: drift 14s ease-in-out infinite; }
.hero .cl.b { width: 110px; height: 64px; left: 44%; top: 70px; animation: drift 11s ease-in-out infinite reverse; opacity: .8; }
.hero .cl.c { width: 220px; height: 130px; right: -40px; bottom: 60px; animation: drift 17s ease-in-out infinite; opacity: .7; }
@keyframes drift { 0%, 100% { transform: translateX(0) } 50% { transform: translateX(40px) } }

/* 카테고리: 구름 버블 */
.cat { border-radius: 30px; }
.cat .ic { border-radius: 50%; width: 58px; height: 58px; position: relative; }
.cat .ic::after { content: ''; position: absolute; width: 22px; height: 22px; right: -4px; top: -4px; border-radius: 50%; background: inherit; }
.cat:hover .ic { animation: bounce .5s; }
@keyframes bounce { 40% { transform: translateY(-6px) scale(1.05) } 70% { transform: translateY(1px) } }

/* 상품 카드: 사진이 카드 안에 동글하게 들어간 폴라로이드 느낌 */
.prod { padding: 8px; }
.prod .pic { border-radius: 22px; overflow: hidden; }
.prod .body { padding: 12px 10px 10px; }
.prod:hover { transform: translateY(-6px) rotate(-.4deg); }
.prod .pic .heart { transition: transform .2s; }
.prod .pic .heart:hover { transform: scale(1.15); }

/* 단계 카드: 구름 번호 */
.step .n { width: 52px; height: 34px; border-radius: 0; background: var(--cloud-sky) no-repeat center/contain; color: var(--blue); font-size: 15px; padding-top: 4px; }
.steps .step:nth-child(2) .n { background-image: var(--cloud-pink); color: #d14d86; }

/* 프로모 박스 아래 물결 구름 */
.promo { border: 2px solid #fff; }
.promo::after { content: ''; position: absolute; right: 200px; bottom: -30px; width: 160px; height: 94px; background: var(--cloud) no-repeat center/contain; opacity: .8; }

/* 섹션 사이 구름 띠 */
.cloud-sep { height: 60px; margin-top: 50px; background:
  var(--cloud-sky) no-repeat 6% 50%/120px 70px,
  var(--cloud-pink) no-repeat 38% 20%/80px 46px,
  var(--cloud-sky) no-repeat 72% 70%/100px 58px,
  var(--cloud-pink) no-repeat 96% 30%/70px 40px; }

/* B2B KPI·관리자 박스도 동글하게 */
.kpi, .stat, .panel, .side .card, .review, .step { border-radius: var(--r); }
.netbox { border-radius: 20px; }
.tabs { border-radius: 99px; } .tabs button { border-radius: 99px; }
.menu a { border-radius: 99px; }
.erp, .photos, .pbox, .agree { border-radius: 24px; }
.modal { border-radius: 34px; }
.badge { border-radius: 99px; }
.chip.on { background: linear-gradient(100deg, #2e6fd3, #2fc0dc); border-color: transparent; }
