/* ---------- 휘핑 ---------- */
#app-whip { background: #fff; color: #111; }
#wpBody { padding-bottom: 110px; }
#app-whip[data-view="detail"] #wpBody, #app-whip[data-view="checkout"] #wpBody { padding-bottom: 140px; }
.wp-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 20px 6px; }
.wp-head h1 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -.5px; }
.wp-cart { position: relative; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,.1); display: grid; place-items: center; cursor: pointer; }
.wp-cart svg, .wp-top svg { width: 24px; height: 24px; fill: none; stroke: #111; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.wp-cart i { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; border-radius: 10px; background: #ef6253; color: #fff; font-style: normal; font-size: 12px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.wp-tabs { display: flex; gap: 22px; padding: 10px 20px 0; border-bottom: 1px solid #ebebeb; overflow-x: auto; scrollbar-width: none; }
.wp-tabs button { flex: none; border: 0; background: none; font: inherit; font-size: 16px; color: #333; padding: 8px 0 10px; border-bottom: 2.5px solid transparent; cursor: pointer; }
.wp-tabs button.on { font-weight: 700; color: #111; border-color: #111; }
.wp-filter { display: flex; align-items: center; gap: 14px; padding: 14px 20px 6px; font-size: 14px; color: #333; }
.wp-filter span { display: flex; align-items: center; gap: 6px; } .wp-filter i { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #bbb; }
.wp-filter b { margin-left: auto; font-weight: 400; }
.wp-row { display: flex; gap: 14px; width: calc(100% - 40px); margin: 0 20px; padding: 14px 0; border: 0; border-bottom: 1px solid #ebebeb; background: none; text-align: left; font: inherit; color: inherit; cursor: pointer; position: relative; }
.wp-img { width: 104px; height: 104px; flex: none; border-radius: 12px; background: #f4f4f4; overflow: hidden; }
.wp-img img, .wp-cimg img, .wp-hero img, .wp-sum img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wp-info { flex: 1; min-width: 0; display: flex; flex-direction: column; padding-right: 26px; }
.wp-info > b { font-size: 15px; font-weight: 700; }
.wp-name { font-size: 14px; line-height: 1.3; margin-top: 2px; }
.wp-bot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; margin-right: -26px; }
.wp-bot > b { font-size: 14px; }
.wp-bot span { text-align: right; display: flex; flex-direction: column; } .wp-bot small { font-size: 11px; color: #999; } .wp-bot strong { font-size: 15px; font-weight: 700; }
.wp-mk { position: absolute; top: 14px; right: 0; cursor: pointer; }
.wp-mark { width: 24px; height: 24px; fill: none; stroke: #111; stroke-width: 1.8; stroke-linejoin: round; }
.wp-mark.on { fill: #111; }
.wp-sep { height: 10px; background: #f4f4f4; margin-top: 10px; }
.wp-h2 { font-size: 18px; font-weight: 700; margin: 24px 20px 14px; }
.wp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0 20px; }
.wp-card { min-width: 0; border: 0; background: none; text-align: left; font: inherit; color: inherit; padding: 0; display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.wp-cimg { position: relative; aspect-ratio: 1; border-radius: 12px; background: #f4f4f4; overflow: hidden; margin-bottom: 6px; }
.wp-cimg em { position: absolute; top: 8px; right: 10px; font-style: normal; font-size: 12px; color: #555; }
.wp-cimg .wp-mk { top: auto; bottom: 8px; right: 8px; }
.wp-card > b { font-size: 14px; font-weight: 700; } .wp-card .wp-name { font-size: 13px; }
.wp-ko { font-size: 12px; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wp-fast { align-self: flex-start; font-size: 11px; color: #31b46e; background: #f0faf4; padding: 2px 6px; border-radius: 4px; margin: 2px 0; }
.wp-card strong { font-size: 15px; font-weight: 700; margin-top: 4px; }
.wp-empty { padding: 60px 20px; text-align: center; color: #999; font-size: 14px; }
.wp-nav { position: absolute; left: 14px; right: 14px; bottom: calc(max(env(safe-area-inset-bottom), 8px) + 16px); z-index: 3; display: flex; justify-content: space-around; padding: 8px 6px; border-radius: 34px; background: rgba(255,255,255,.94); box-shadow: 0 4px 24px rgba(0,0,0,.12); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
#app-whip[data-view="detail"] .wp-nav, #app-whip[data-view="checkout"] .wp-nav, #app-whip[data-view="done"] .wp-nav { display: none; }
.wp-nav button { flex: 1; border: 0; background: none; font: inherit; font-size: 11px; font-weight: 600; color: #222; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; border-radius: 26px; cursor: pointer; }
.wp-nav button.on { background: #ececec; }
.wp-nav svg { width: 26px; height: 26px; fill: none; stroke: #111; stroke-width: 1.7; stroke-linejoin: round; stroke-linecap: round; }
.wp-nav button.on svg { fill: #111; }
.wp-top { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; padding: 4px 10px; font-weight: 700; text-align: center; }
.wp-top button { border: 0; background: none; padding: 8px; cursor: pointer; }
.wp-top .wp-cart { box-shadow: none; width: 44px; height: 44px; }
.wp-hero { aspect-ratio: 1; background: #f4f4f4; }
.wp-pad { padding: 16px 20px; }
.wp-big { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.wp-brand { font-size: 15px; text-decoration: underline; } .wp-dname { font-size: 16px; margin: 4px 0 2px; }
.wp-sizes { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 18px 0; }
.wp-sizes button { border: 1px solid #e3e3e3; border-radius: 10px; background: #fff; padding: 8px 2px; font: inherit; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; color: #111; }
.wp-sizes button.on { border: 2px solid #111; }
.wp-sizes b { font-size: 14px; } .wp-sizes small { font-size: 10px; color: #ef6253; }
.wp-kv { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; border-bottom: 1px solid #f2f2f2; }
.wp-kv span { color: #777; } .wp-kv.total { border: 0; padding-top: 14px; font-size: 16px; } .wp-kv.total b { color: #ef6253; font-size: 19px; }
.wp-note { margin-top: 16px; padding: 12px; border-radius: 10px; background: #f6f6f6; font-size: 12px; color: #666; line-height: 1.5; }
.wp-buybar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; gap: 10px; align-items: center; padding: 10px 16px calc(max(env(safe-area-inset-bottom), 8px) + 18px); background: #fff; border-top: 1px solid #eee; }
.wp-mk.big { position: static; padding: 6px; }
.wp-buy { flex: 1; border: 0; border-radius: 12px; background: #ef6253; color: #fff; font: inherit; display: flex; align-items: center; gap: 12px; padding: 10px 16px; cursor: pointer; }
.wp-buy b { font-size: 17px; } .wp-buy span { display: flex; flex-direction: column; text-align: left; font-weight: 700; font-size: 15px; border-left: 1px solid rgba(255,255,255,.4); padding-left: 12px; }
.wp-buy small { font-size: 11px; font-weight: 400; opacity: .85; }
.wp-buy.full { justify-content: center; padding: 16px; width: 100%; }
.wp-buy:disabled { background: #d5d5d5; cursor: default; }
.wp-pad h3 { font-size: 16px; margin: 22px 0 10px; } .wp-pad h3 small { color: #999; font-weight: 400; }
.wp-sum { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.wp-sum img { width: 72px; height: 72px; border-radius: 10px; background: #f4f4f4; flex: none; }
.wp-sum div { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; }
.wp-sum b { font-size: 14px; } .wp-sum small { color: #999; margin-top: 2px; }
.wp-st { font-style: normal; font-size: 12px; color: #31b46e; font-weight: 700; flex: none; }
.wp-box { border: 1px solid #eee; border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: #555; }
.wp-box b { color: #111; font-size: 14px; }
.wp-pay { flex-direction: row; align-items: center; gap: 10px; }
.wp-pay div { flex: 1; display: flex; flex-direction: column; }
.wp-logo { width: 34px; height: 34px; border-radius: 50%; background: #1b2a4a; color: #fff; display: grid; place-items: center; font-weight: 800; }
.wp-pay em { font-style: normal; color: #ef6253; font-weight: 800; }
.wp-warn { margin-top: 8px; color: #ef6253; font-size: 13px; font-weight: 600; }
.wp-done { text-align: center; padding-top: 50px; }
.wp-done .wp-sum { text-align: left; } .wp-done .wp-kv { text-align: left; }
.wp-check { width: 64px; height: 64px; border-radius: 50%; background: #ef6253; color: #fff; font-size: 32px; display: grid; place-items: center; margin: 0 auto 14px; }
.wp-done h2 { margin: 0; font-size: 21px; } .wp-done p { color: #888; font-size: 14px; margin: 6px 0 22px; }
.wp-done .wp-buy { margin-top: 24px; }
.wp-link { border: 0; background: none; font: inherit; color: #666; text-decoration: underline; margin-top: 14px; cursor: pointer; }
.wp-me { display: flex; align-items: center; gap: 12px; }
.wp-me span { width: 56px; height: 56px; border-radius: 50%; }
.wp-me div { display: flex; flex-direction: column; } .wp-me small { color: #888; }
