/* V-FIT 메인 스킨 (public/skins/main/vfit) */
body:has(.vf-page) > .kc-skip + header.kc-header,
body:has(.vf-page) > header.kc-header,
body:has(.vf-page) > footer.kc-footer { display: none !important; }
body:has(.vf-page) #kc-content { max-width: none !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
body:has(.vf-page) #kc-content > .kc-content { padding: 0 !important; margin: 0 !important; max-width: none !important; }

.vf-chrome { --vf-ink: #141226; --vf-sub: #8a869c; --vf-pt: #5b3fc4; --vf-lav: #ebe5fb; --vf-night: #120b2e; font-family: 'Noto Sans KR', sans-serif; -webkit-font-smoothing: antialiased; color: var(--vf-ink); }
.vf-chrome a { color: inherit; text-decoration: none; }
.vf-chrome a:hover { opacity: .78; }
body:has(.vf-chrome) > header.kc-header,
body:has(.vf-chrome) > footer.kc-footer { display: none !important; }
.vf-page { --vf-ink: #141226; --vf-sub: #8a869c; --vf-pt: #5b3fc4; --vf-lav: #ebe5fb; --vf-night: #120b2e;
  position: relative; color: var(--vf-ink); background: #fff; font-family: 'Noto Sans KR', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: clip; }
.vf-page a { color: inherit; text-decoration: none; }
.vf-page a:hover { opacity: .78; }

/* 머리말 */
.vf-head { position: absolute; z-index: 5; top: 18px; left: 24px; right: 24px; height: 70px; box-sizing: border-box; padding: 0 28px;
  border-radius: 16px; background: rgba(14, 9, 36, .82); border: 1px solid rgba(255, 255, 255, .08); color: #fff;
  display: flex; align-items: center; justify-content: space-between; backdrop-filter: blur(6px); }
.vf-gnb { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.vf-logo { position: absolute; left: 50%; transform: translateX(-50%); font-family: 'Jost', sans-serif; font-weight: 300; font-size: 30px; letter-spacing: .14em; }
.vf-tools { display: flex; gap: 20px; align-items: center; font-size: 13px; }
.vf-cart { display: inline-flex; gap: 8px; align-items: center; border: 1px solid rgba(255, 255, 255, .5); border-radius: 999px; padding: 6px 14px; }
.vf-cart b { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: #fff; color: var(--vf-night); font-size: 11px; font-weight: 700; padding: 0 4px; }

/* 히어로 */
.vf-hero { background-color: var(--vf-night);
  background-image: linear-gradient(90deg, var(--vf-night) 0%, var(--vf-night) 26%, rgba(18, 11, 46, 0) 62%), url('hero.jpg');
  background-size: auto, cover; background-position: left, right center; background-repeat: no-repeat; color: #fff; min-height: 600px; }
.vf-hero__in { max-width: 1100px; margin: 0 auto; padding: 218px 24px 120px; box-sizing: border-box; }
.vf-eyebrow { font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: .32em; color: rgba(255, 255, 255, .7); }
.vf-hero h1 { margin: 18px 0 0; font-size: 56px; line-height: 1.22; font-weight: 300; letter-spacing: -.02em; color: #fff; }
.vf-hero p { margin: 26px 0 0; font-size: 15px; line-height: 1.75; color: rgba(255, 255, 255, .82); }
.vf-link { display: inline-block; margin-top: 34px; font-size: 14px; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .7); padding-bottom: 4px; }

/* 인증 글자 띠 */
.vf-rail { background: #1a0f3d; color: rgba(255, 255, 255, .75); overflow: hidden; padding: 15px 0; font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: .34em; }
.vf-rail__track { display: flex; gap: 56px; width: max-content; animation: vfm 40s linear infinite; }
.vf-rail__track span { white-space: nowrap; }
@keyframes vfm { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .vf-rail__track { animation: none; } }

/* 섹션 공통 */
.vf-sec { max-width: 1100px; margin: 0 auto; padding: 104px 24px; box-sizing: border-box; }
.vf-head2 { text-align: center; }
.vf-pill { display: inline-block; border: 1px solid #d9d6e6; border-radius: 999px; padding: 6px 16px; font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .18em; color: #4a4560; background: #fff; }
.vf-pill b { color: var(--vf-pt); font-weight: 500; }
.vf-head2 h2 { margin: 24px 0 0; font-size: 34px; line-height: 1.35; font-weight: 800; letter-spacing: -.02em; color: var(--vf-ink); }
.vf-head2 p { margin: 18px 0 0; font-size: 14px; line-height: 1.7; color: var(--vf-sub); }

/* 베스트 */
.vf-best { padding-bottom: 40px; }
.vf-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 64px; }
.vf-card__img { display: block; background: #f1eff6; aspect-ratio: 1 / 1; overflow: hidden; }
.vf-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vf-card h3 { margin: 16px 0 0; font-size: 15px; font-weight: 700; }
.vf-card p { margin: 6px 0 0; font-size: 12.5px; color: var(--vf-sub); }
.vf-card del { display: block; margin-top: 14px; font-size: 12px; color: #aaa6ba; }
.vf-card__price { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.vf-card__price b { font-size: 19px; font-weight: 800; }
.vf-card__price span { background: var(--vf-lav); color: var(--vf-pt); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.vf-bar { margin-top: 40px; height: 2px; background: #e4e1ee; position: relative; }
.vf-bar i { position: absolute; left: 0; top: 0; height: 2px; width: 62%; background: var(--vf-ink); }

/* 쿠폰 */
.vf-coupon { max-width: 1100px; margin: 0 auto; padding: 36px 24px 100px; box-sizing: border-box; }
.vf-coupon__in { background: #f1eff6; border-radius: 18px; padding: 30px 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.vf-coupon__in strong { font-size: 21px; font-weight: 800; }
.vf-coupon__in p { margin: 8px 0 0; font-size: 14px; color: #6c6880; }
.vf-ticket { display: block; background: var(--vf-night); color: #fff !important; border-radius: 10px; padding: 16px 44px; text-align: center; min-width: 220px; }
.vf-ticket small { display: block; font-family: 'Jost', sans-serif; font-size: 10px; letter-spacing: .3em; color: rgba(255, 255, 255, .7); }
.vf-ticket b { display: block; font-family: 'Jost', sans-serif; font-size: 34px; font-weight: 500; margin-top: 4px; }

/* 인증 */
.vf-cert { max-width: none; background: #f8f8fa; }
.vf-cert > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.vf-certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 64px; }
.vf-certs > div { background: #fff; border: 1px solid #ececf3; border-radius: 14px; padding: 34px 20px; text-align: center; }
.vf-certs i { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto; border-radius: 50%; background: var(--vf-lav); color: var(--vf-pt); font-family: 'Jost', sans-serif; font-style: normal; font-size: 12px; font-weight: 500; letter-spacing: .06em; }
.vf-certs b { display: block; margin-top: 18px; font-size: 18px; font-weight: 800; }
.vf-certs span { display: block; margin-top: 6px; font-size: 12px; color: var(--vf-sub); }

/* 영상 후기 */
.vf-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-top: 56px; }
.vf-rv { display: block; background: #fff; border: 1px solid #ececf3; border-radius: 12px; overflow: hidden; box-shadow: 0 6px 18px rgba(20, 18, 38, .06); }
.vf-rv__img { display: block; aspect-ratio: 3 / 4; background: #f1eff6; }
.vf-rv__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vf-rv__meta { display: flex; align-items: center; gap: 10px; padding: 12px; }
.vf-rv__meta i { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--vf-lav); }
.vf-rv__meta small { display: block; font-size: 12px; color: #4a4560; }
.vf-rv__meta b { font-size: 13px; }

/* 바닥글 */
.vf-foot { background: #150d35; color: rgba(255, 255, 255, .7); padding: 64px 24px 72px; text-align: center; }
.vf-foot__logo { font-family: 'Jost', sans-serif; font-weight: 300; font-size: 30px; letter-spacing: .14em; color: #fff; }
.vf-foot__tag { margin-top: 14px; font-family: 'Jost', sans-serif; font-size: 11px; letter-spacing: .28em; }
.vf-foot__nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 26px; margin-top: 32px; font-size: 12.5px; font-weight: 500; color: #fff; }
.vf-foot__info { margin: 36px 0 0; font-size: 11.5px; line-height: 1.9; color: rgba(255, 255, 255, .5); }
.vf-foot__copy { margin: 28px 0 0; font-size: 11px; color: rgba(255, 255, 255, .35); }

/* 좁은 화면 */
@media (max-width: 767.98px) {
  .vf-head { left: 12px; right: 12px; padding: 0 16px; }
  .vf-gnb { display: none; }
  .vf-logo { position: static; transform: none; font-size: 24px; }
  .vf-hero__in { padding: 150px 20px 80px; }
  .vf-hero h1 { font-size: 36px; }
  .vf-hero { background-position: left, 70% center; min-height: 480px; }
  .vf-sec { padding: 72px 20px; }
  .vf-head2 h2 { font-size: 26px; }
  .vf-coupon__in { padding: 24px; }
}

/* ===== 상품 목록 (public/skins/product/vfit) ===== */
.vf-head--bar { position: relative; top: auto; left: auto; right: auto; height: 70px; border-radius: 0; border: 0; padding: 0 40px;
  background: linear-gradient(90deg, #150c33 0%, #2b1b5c 50%, #150c33 100%); backdrop-filter: none; }
.vf-head--bar .vf-logo { font-size: 34px; }
.vl-main { max-width: 1100px; margin: 0 auto; padding: 84px 24px 120px; box-sizing: border-box; min-height: 560px; }
.vl-title { margin: 0; font-size: 28px; font-weight: 500; letter-spacing: -.02em; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.vl-title i { font-style: normal; color: var(--vf-sub); font-weight: 300; }
.vl-title b { font-weight: 700; }
.vl-tabs { display: flex; gap: 30px; margin-top: 40px; border-bottom: 1px solid #e4e1ee; font-size: 14.5px; overflow-x: auto; }
.vl-tabs a { padding: 0 0 14px; color: var(--vf-sub); white-space: nowrap; margin-bottom: -1px; border-bottom: 2px solid transparent; }
.vl-tabs a.on { color: var(--vf-ink); font-weight: 800; border-bottom-color: var(--vf-pt); }
.vl-bar { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; font-size: 13px; color: var(--vf-sub); }
.vl-sort select { border: 0; background: none; color: #4a4560; font: inherit; font-size: 13px; cursor: pointer; padding: 4px 2px; }
.vl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; margin-top: 44px; }
.vl-card__img { display: block; background: #ececee; aspect-ratio: 1 / 1; overflow: hidden; }
.vl-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vl-card h2 { margin: 16px 0 0; font-size: 15px; font-weight: 700; }
.vl-card p { margin: 6px 0 0; font-size: 12.5px; color: var(--vf-sub); }
.vl-card del { display: block; margin-top: 16px; font-size: 12px; color: #aaa6ba; }
.vl-card__price { display: flex; align-items: center; gap: 10px; margin-top: 2px; }
.vl-card__price b { font-size: 19px; font-weight: 800; }
.vl-card__price span { background: var(--vf-lav); color: var(--vf-pt); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 4px; }
.vl-empty { margin: 80px 0; text-align: center; color: var(--vf-sub); }
.vl-pager { margin-top: 88px; }
.vl-pager .kc-pager { display: flex; justify-content: center; }
.vl-pager .board-nav { display: flex; justify-content: center; align-items: center; gap: 22px; font-size: 14px; color: var(--vf-sub); }
.vl-pager a { color: inherit; padding: 6px 10px; }
.vl-pager .active, .vl-pager [aria-current] { color: #3b1fa8; font-weight: 700; border-bottom: 2px solid #3b1fa8; }
@media (max-width: 767.98px) {
  .vf-head--bar { padding: 0 16px; }
  .vl-main { padding: 48px 20px 80px; }
  .vl-title { font-size: 22px; }
  .vl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

.vl-pager__one { display: flex; justify-content: center; align-items: center; gap: 30px; font-size: 14px; color: var(--vf-sub); }
.vl-pager__one b { color: #3b1fa8; font-weight: 700; border-bottom: 2px solid #3b1fa8; padding: 6px 14px; }

/* ===== 상품 상세 (public/skins/product/vfit/item.php) ===== */
.vi-wrap { max-width: 1200px; margin: 0 auto; padding: 56px 0 100px; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); gap: 40px; align-items: start; }
.vi-left { min-width: 0; width: 100%; max-width: 760px; }
@media (max-width: 1248px) { .vi-wrap { padding-left: 24px; padding-right: 24px; } }
.vi-gallery { position: relative; }
.vi-timer { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 14px; background: #e9e1fb; color: #3b1fa8; font-size: 12.5px; font-weight: 700; border-radius: 12px 12px 0 0; }
.vi-timer b { display: inline-block; min-width: 26px; text-align: center; background: #fff; color: #2a1560; border-radius: 4px; padding: 2px 4px; font-variant-numeric: tabular-nums; }
.vi-main { position: relative; height: 780px; background: #ececee; overflow: hidden; }
.vi-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s; }
.vi-main img.on { opacity: 1; }
.vi-noimg { position: absolute; inset: 0; display: grid; place-items: center; font-size: 56px; color: #c9c5d8; }
.vi-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .85); color: #141226; font-size: 20px; cursor: pointer; }
.vi-nav--prev { left: 12px; } .vi-nav--next { right: 12px; }
.vi-count { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(20, 18, 38, .6); color: #fff; font-size: 11px; }

.vi-tabs { position: sticky; top: 0; z-index: 4; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px; background: #fff; border-bottom: 1px solid #e4e1ee; }
.vi-tabs a { text-align: center; padding: 16px 0; font-size: 13.5px; color: var(--vf-sub); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.vi-tabs a b { font-weight: 700; color: inherit; }
.vi-tabs a.on { color: var(--vf-ink); font-weight: 700; border-bottom-color: #3b1fa8; }
.vi-sec { padding-top: 36px; scroll-margin-top: 64px; }
.vi-sech { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.vi-sech h2 { margin: 0; font-size: 17px; font-weight: 800; padding-left: 12px; border-left: 3px solid var(--vf-ink); line-height: 1.1; }
.vi-sech h2 small { font-weight: 400; color: var(--vf-sub); font-size: 12px; }
.vi-empty { padding: 36px 0; text-align: center; color: var(--vf-sub); font-size: 13px; }

.vi-detail { max-height: 700px; overflow: hidden; position: relative; font-size: 15px; line-height: 1.8; }
.vi-detail img { max-width: 100%; height: auto; }
.vi-detail:not(.is-open)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); pointer-events: none; }
.vi-detail.is-open { max-height: none; }
.vi-more { display: block; width: 100%; margin-top: 20px; padding: 14px; border: 1px solid #d9d6e6; background: #fff; border-radius: 4px; font-size: 13px; font-weight: 500; cursor: pointer; color: var(--vf-ink); }

.vi-rvsum { display: grid; grid-template-columns: 1fr 1fr; background: #f6f6f8; border-radius: 4px; }
.vi-rvsum__l { padding: 30px 20px; text-align: center; border-right: 1px solid #ebe9f2; }
.vi-rvsum__n { font-family: 'Jost', sans-serif; font-size: 40px; font-weight: 500; line-height: 1; }
.vi-stars { margin-top: 8px; color: #3b1fa8; letter-spacing: 3px; font-size: 14px; }
.vi-rvsum__l p { margin: 8px 0 18px; font-size: 12px; color: var(--vf-sub); }
.vi-rvsum__l p b { color: #3b1fa8; }
.vi-rvsum__r { padding: 30px 28px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.vi-bar { display: grid; grid-template-columns: 78px 1fr 36px; align-items: center; gap: 10px; font-size: 11px; color: var(--vf-sub); }
.vi-bar i { display: block; height: 4px; background: #e4e1ee; border-radius: 2px; overflow: hidden; }
.vi-bar u { display: block; height: 4px; background: #3b1fa8; }
.vi-bar em { font-style: normal; text-align: right; }
.vi-sub { margin: 36px 0 8px; padding-bottom: 10px; border-bottom: 1px solid #e4e1ee; font-size: 12.5px; }
.vi-rvlist { list-style: none; margin: 0; padding: 0; }
.vi-rvlist li { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 24px; padding: 26px 0; border-bottom: 1px solid #ececf3; }
.vi-rv__stars { font-size: 12px; color: #3b1fa8; }
.vi-rv__stars em { font-style: normal; color: var(--vf-ink); margin-left: 6px; }
.vi-rvlist h3 { margin: 10px 0 6px; font-size: 14px; font-weight: 700; }
.vi-rvlist p { margin: 0; font-size: 13px; line-height: 1.7; color: #4a4560; }
.vi-rv__who { font-size: 11.5px; color: var(--vf-sub); border-left: 1px solid #ececf3; padding-left: 20px; }
.vi-rv__who small { color: #aaa6ba; }

.vi-qa { border-top: 1px solid #ececf3; font-size: 12.5px; }
.vi-qa__head, .vi-qa__row > summary { display: grid; grid-template-columns: 56px minmax(0, 1fr) 90px 90px 70px; gap: 8px; padding: 14px 8px; align-items: center; text-align: center; list-style: none; }
.vi-qa__head { background: #f6f6f8; font-weight: 600; color: #4a4560; }
.vi-qa__row { border-bottom: 1px solid #ececf3; }
.vi-qa__row > summary { cursor: pointer; }
.vi-qa__row > summary::-webkit-details-marker { display: none; }
.vi-qa__row .t { text-align: left; }
.vi-qa__row em { font-style: normal; font-size: 11px; color: var(--vf-sub); }
.vi-qa__row em.ok { color: #3b1fa8; font-weight: 700; }
.vi-qa__body { padding: 8px 24px 24px 72px; font-size: 13px; line-height: 1.7; color: #4a4560; }
.vi-qa__ans { margin-top: 14px; padding: 14px; background: #f6f6f8; border-radius: 6px; }
.vi-form { margin-top: 24px; border: 1px solid #e4e1ee; border-radius: 6px; }
.vi-form > summary { padding: 14px 16px; font-weight: 700; font-size: 13px; cursor: pointer; }
.vi-form form { padding: 0 16px 16px; }
.vi-form input[type=text], .vi-form select, .vi-form textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #d9d6e6; border-radius: 4px; font: inherit; font-size: 13px; margin-bottom: 8px; background: #fff; color: var(--vf-ink); }
.vi-form__row { display: grid; grid-template-columns: minmax(0, 1fr) 140px; gap: 8px; }
.vi-form__act { display: flex; gap: 14px; align-items: center; justify-content: flex-end; font-size: 12px; }

.vi-guide h3 { margin: 28px 0 10px; font-size: 14px; font-weight: 700; }
.vi-guide h3:first-child { margin-top: 0; }
.vi-guide p, .vi-guide li { font-size: 12.5px; line-height: 1.85; color: #4a4560; margin: 0; }
.vi-guide ul { margin: 0; padding: 0; list-style: none; }

/* 구매 패널 */
.vi-right { position: sticky; top: 24px; }
.vi-buy h1 { margin: 0; font-size: 18px; font-weight: 800; line-height: 1.45; }
.vi-sum { margin: 8px 0 0; font-size: 12.5px; color: var(--vf-sub); line-height: 1.6; }
.vi-price { margin: 18px 0 0; border-top: 1px solid #e4e1ee; }
.vi-price > div { display: grid; grid-template-columns: 64px 1fr; align-items: center; padding: 9px 0; border-bottom: 1px solid #f0eef6; font-size: 12px; }
.vi-price dt { color: var(--vf-sub); }
.vi-price dd { margin: 0; }
.vi-price del { color: #aaa6ba; }
.vi-price__now b { font-size: 18px; font-weight: 800; }
.vi-price__now span { margin-left: 8px; background: var(--vf-lav); color: var(--vf-pt); font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; }
.vi-price .pt { color: #3b1fa8; font-size: 15px; }
.vi-price small { color: var(--vf-sub); font-size: 11px; }
.vi-coupons { margin-top: 14px; padding: 12px; background: #f6f6f8; border-radius: 6px; font-size: 12px; }
.vi-coupons > b { display: block; margin-bottom: 6px; }
.vi-coupon { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; }
.vi-coupon small { color: var(--vf-sub); }
.vi-info { margin: 14px 0 0; font-size: 12px; }
.vi-info > div { display: grid; grid-template-columns: 64px 1fr; padding: 6px 0; }
.vi-info dt { color: var(--vf-sub); } .vi-info dd { margin: 0; }
.vi-alert { margin-top: 18px; padding: 14px; background: #f1eff6; border-radius: 6px; font-size: 13px; text-align: center; }
.vi-alert--ok { background: #e9f6ee; text-align: left; font-size: 12px; margin: 12px 0; }
.vi-opts { margin: 18px 0 0; padding: 0; border: 1px solid #e4e1ee; border-radius: 4px; }
.vi-opts legend { float: left; width: 100%; padding: 12px 14px; font-size: 12px; font-weight: 700; border-bottom: 1px solid #e4e1ee; box-sizing: border-box; }
.vi-opt { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px; font-size: 12.5px; border-bottom: 1px solid #f0eef6; cursor: pointer; clear: both; }
.vi-opt:last-child { border-bottom: 0; }
.vi-opt.is-off { opacity: .5; cursor: default; }
.vi-opt input { accent-color: #3b1fa8; }
.vi-opt__p { font-weight: 700; }
.vi-opt em { font-style: normal; color: #c0392b; margin-left: 6px; font-size: 11px; }
.vi-qty { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 12.5px; font-weight: 600; }
.vi-qty__ctl { display: inline-flex; border: 1px solid #d9d6e6; border-radius: 4px; overflow: hidden; }
.vi-qty__ctl button { width: 34px; height: 34px; border: 0; background: #fff; font-size: 16px; cursor: pointer; }
.vi-qty__ctl input { width: 54px; height: 34px; border: 0; border-left: 1px solid #d9d6e6; border-right: 1px solid #d9d6e6; text-align: center; font: inherit; font-size: 13px; -moz-appearance: textfield; }
.vi-free { margin-top: 18px; text-align: center; font-size: 11.5px; color: #4a4560; }
.vi-free p { margin: 0 0 6px; }
.vi-free b { color: #3b1fa8; }
.vi-free i { display: block; height: 4px; background: #e4e1ee; border-radius: 2px; overflow: hidden; }
.vi-free u { display: block; height: 4px; width: 0; background: #3b1fa8; transition: width .2s; }
.vi-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; padding-top: 16px; border-top: 1px solid #e4e1ee; font-size: 12.5px; font-weight: 700; }
.vi-total b { font-size: 20px; font-weight: 800; color: #3b1fa8; }
.vi-actions { display: grid; grid-template-columns: 44px 1fr 1.6fr; gap: 6px; margin-top: 16px; }
.vi-actions:not(:has(.vi-wish)) { grid-template-columns: 1fr 1.6fr; }
.vi-wish { height: 48px; border: 1px solid #d9d6e6; background: #fff; border-radius: 4px; font-size: 18px; cursor: pointer; color: #4a4560; }
.vi-wish.active { color: #c0392b; border-color: #c0392b; }
.vi-btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 16px; height: 40px; border: 1px solid #d9d6e6; background: #fff; color: var(--vf-ink); border-radius: 4px; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; text-decoration: none; }
.vi-btn:hover { opacity: .85; }
.vi-btn--lg { height: 48px; font-size: 13.5px; }
.vi-btn--sm { height: 30px; font-size: 11.5px; padding: 0 12px; white-space: nowrap; }
.vi-btn--dark { background: #1d1247; border-color: #1d1247; color: #fff !important; }
.vi-btn.is-off { opacity: .55; cursor: default; }
.vi-note { font-size: 12px; color: var(--vf-sub); }
.vi-ship { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 14px; background: #f6f6f8; border-radius: 4px; font-size: 12px; line-height: 1.5; }
.vi-ship i { font-style: normal; font-size: 20px; }
.vi-ship small { color: var(--vf-sub); }
.vi-demo { display: flex; gap: 8px; margin-top: 14px; }
.vi-related { max-width: 1100px; margin: 0 auto; padding: 0 24px 100px; box-sizing: border-box; }
.vi-related > h2 { margin: 0 0 24px; font-size: 18px; font-weight: 800; }
@media (max-width: 991.98px) {
  .vi-wrap { grid-template-columns: 1fr; gap: 32px; padding: 0 0 60px; }
  .vi-left { order: 2; padding: 0 20px; }
  .vi-right { order: 1; position: static; padding: 0 20px; }
  .vi-gallery { margin: 0 -20px; }
  .vi-main { height: auto; aspect-ratio: 5 / 6; }
  .vi-tabs { top: 0; }
  .vi-rvsum { grid-template-columns: 1fr; }
  .vi-rvsum__l { border-right: 0; border-bottom: 1px solid #ebe9f2; }
  .vi-rvlist li { grid-template-columns: 1fr; gap: 10px; }
  .vi-rv__who { border-left: 0; padding-left: 0; }
  .vi-qa__head, .vi-qa__row > summary { grid-template-columns: 36px minmax(0, 1fr) 70px; }
  .vi-qa__head span:nth-child(n+4), .vi-qa__row > summary span:nth-child(n+4) { display: none; }
  .vi-qa__body { padding-left: 16px; padding-right: 16px; }
}

/* ===== 장바구니 · 주문 · 주문 상세 · 구매내역 · 찜 (기본 스킨의 본문을 V-FIT 톤으로) ===== */
.vs-main { max-width: 1100px; margin: 0 auto; padding: 64px 24px 110px; box-sizing: border-box; min-height: 560px; }
.vs-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid #e4e1ee; margin-bottom: 36px; }
.vs-top h1 { margin: 0; font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.vs-steps { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--vf-sub); }
.vs-steps li { display: inline-flex; align-items: center; gap: 8px; }
.vs-steps i { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid #d9d6e6; font-style: normal; font-size: 11px; font-weight: 700; }
.vs-steps li.on { color: var(--vf-ink); font-weight: 700; }
.vs-steps li.on i { background: #1d1247; border-color: #1d1247; color: #fff; }
.vs-steps li.done i { background: var(--vf-lav); border-color: var(--vf-lav); color: var(--vf-pt); }

.vf-page--shop .kc-page-head { display: none; }
.vf-page--shop .kc-empty { padding: 90px 12px; color: var(--vf-sub); font-size: 15px; }
.vf-page--shop .kc-empty a { color: #3b1fa8; font-weight: 700; }
.vf-page--shop .kc-section-title { font-size: 17px; font-weight: 800; padding-left: 12px; border-left: 3px solid var(--vf-ink); line-height: 1.1; margin: 36px 0 16px; }
.vf-page--shop .kc-section-title:first-child { margin-top: 0; }
.vf-page--shop .kc-form-card { max-width: none; margin: 0; }
.vf-page--shop .kc-table { border-top: 2px solid var(--vf-ink); font-size: 14px; }
.vf-page--shop .kc-table th { background: #f6f6f8; color: #4a4560; font-weight: 600; border-bottom: 1px solid #ececf3; }
.vf-page--shop .kc-table td { border-bottom: 1px solid #ececf3; padding: 16px 10px; }
.vf-page--shop .kc-table tfoot th { background: #fff; border-bottom: 1px solid #ececf3; font-size: 14px; }
.vf-page--shop .kc-table tfoot tr:last-child th { font-size: 16px; }
.vf-page--shop .kc-total { color: #3b1fa8; font-weight: 800; }
.vf-page--shop .kc-muted, .vf-page--shop .form-text { color: var(--vf-sub) !important; }
.vf-page--shop .kc-form-row { grid-template-columns: 160px 1fr; border-bottom: 1px solid #f0eef6; padding: 14px 0; }
.vf-page--shop .kc-form-row > label, .vf-page--shop .kc-form-row > .kc-label { font-size: 13px; color: #4a4560; }
.vf-page--shop .form-control, .vf-page--shop .form-select { border: 1px solid #d9d6e6; border-radius: 4px; font-size: 14px; box-shadow: none; }
.vf-page--shop .form-control:focus, .vf-page--shop .form-select:focus { border-color: #3b1fa8; box-shadow: 0 0 0 3px rgba(59, 31, 168, .12); }
.vf-page--shop .form-check-input:checked { background-color: #3b1fa8; border-color: #3b1fa8; }
.vf-page--shop .btn { border-radius: 4px; font-weight: 600; }
.vf-page--shop .btn-primary { background: #1d1247; border-color: #1d1247; }
.vf-page--shop .btn-primary:hover { background: #2b1b5c; border-color: #2b1b5c; }
.vf-page--shop .btn-outline-primary { color: #3b1fa8; border-color: #3b1fa8; }
.vf-page--shop .btn-outline-primary:hover { background: #3b1fa8; color: #fff; }
.vf-page--shop .btn-outline-secondary { border-color: #d9d6e6; color: #4a4560; }
.vf-page--shop .btn-outline-secondary:hover { background: #f6f6f8; color: var(--vf-ink); border-color: #d9d6e6; }
.vf-page--shop .btn-outline-danger { border-color: #f0c9c4; }
.vf-page--shop .alert { border-radius: 4px; border: 0; }
.vf-page--shop .alert-info, .vf-page--shop .alert-success { background: #f1eff6; color: var(--vf-ink); }
.vf-page--shop .badge { font-weight: 600; }
.vf-page--shop .kc-form-actions { margin-top: 36px; }
.vf-page--shop .kc-form-actions .btn { min-width: 140px; height: 50px; }
.vf-page--shop .kc-form-actions .btn-primary { min-width: 220px; }
.vf-page--shop .table-responsive { border-radius: 0; }
@media (max-width: 767.98px) {
  .vs-main { padding: 40px 20px 80px; }
  .vs-top h1 { font-size: 22px; }
  .vs-steps { gap: 12px; font-size: 11.5px; }
  .vf-page--shop .kc-form-row { grid-template-columns: 1fr; }
  .vf-page--shop .kc-form-actions .btn { min-width: 0; flex: 1; }
}

/* ===== 장바구니 (public/skins/product/vfit/cart.php) ===== */
.vc-main { max-width: 1240px; margin: 0 auto; padding: 56px 24px 110px; box-sizing: border-box; min-height: 560px; }
.vc-title { margin: 0; text-align: center; font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.vc-empty { text-align: center; padding: 110px 0 70px; color: var(--vf-sub); }
.vc-empty p { margin: 0 0 22px; font-size: 15px; }
.vc-tabs { display: flex; justify-content: center; margin-top: 52px; border-bottom: 1px solid #e4e1ee; }
.vc-tabs button { padding: 16px 38px; border: 0; background: none; font: inherit; font-size: 14px; color: #6b6780; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.vc-tabs button.on { color: var(--vf-ink); font-weight: 700; border-bottom-color: #1d1247; }
.vc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; margin-top: 36px; }
.vc-grouph, .vc-groupf { background: #f6f6f8; padding: 13px 16px; font-size: 13px; font-weight: 500; }
.vc-groupf { margin-top: 28px; border-bottom: 1px solid #e4e1ee; background: #f6f6f8; }
.vc-none { margin: 0; padding: 70px 0; text-align: center; color: var(--vf-sub); font-size: 13px; }
.vc-item { position: relative; display: grid; grid-template-columns: 26px 84px minmax(0, 1fr) auto; gap: 14px; padding: 26px 16px 28px; border-bottom: 1px solid #f0eef6; }
.vc-item.is-off { opacity: .6; }
.vc-item__chk { padding-top: 34px; }
.vc-item__chk input { width: 16px; height: 16px; accent-color: #1d1247; }
.vc-item__img { display: block; width: 84px; height: 84px; background: #ececee; overflow: hidden; }
.vc-item__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vc-item__body h2 { margin: 0; font-size: 15px; font-weight: 700; }
.vc-item__body p { margin: 6px 0 0; font-size: 12.5px; color: #4a4560; }
.vc-item__price { font-size: 13px !important; color: var(--vf-ink) !important; }
.vc-item__ship { color: var(--vf-sub) !important; font-size: 12px !important; }
.vc-item__opt { margin-top: 18px !important; font-size: 12px !important; }
.vc-item__warn { color: #c0392b !important; }
.vc-item__sum { margin-top: 16px !important; font-size: 13px !important; }
.vc-item__sum b { font-size: 16px; font-weight: 800; margin-left: 4px; }
.vc-qty { display: inline-flex; align-items: stretch; margin-top: 14px; }
.vc-qty button, .vc-qty input { height: 32px; border: 1px solid #d9d6e6; background: #fff; font: inherit; font-size: 13px; }
.vc-qty > button { width: 32px; cursor: pointer; }
.vc-qty input { width: 56px; text-align: center; border-left: 0; border-right: 0; -moz-appearance: textfield; }
.vc-qty .vc-qty__apply { width: auto; padding: 0 14px; margin-left: 8px; font-size: 12px; }
.vc-item__act { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; min-height: 120px; }
.vc-x { border: 0; background: none; font-size: 28px; line-height: 1; color: #4a4560; cursor: pointer; padding: 0 4px; }
.vc-item__btns { display: flex; gap: 8px; }
.vc-btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 18px; border: 1px solid #d9d6e6; background: #fff; color: var(--vf-ink); font: inherit; font-size: 12.5px; cursor: pointer; text-decoration: none; border-radius: 0; }
.vc-btn:hover { background: #f6f6f8; opacity: 1; }
.vc-btn--dark { background: #1d1247; border-color: #1d1247; color: #fff !important; }
.vc-btn--dark:hover { background: #2b1b5c; }
.vc-tools { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; }
.vc-tools > div { display: flex; gap: 8px; }
.vc-side { position: sticky; top: 24px; }
.vc-sum { margin: 0; padding: 22px 20px; background: #f6f6f8; }
.vc-sum > div { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; font-size: 12.5px; }
.vc-sum dt { color: #4a4560; } .vc-sum dd { margin: 0; } .vc-sum b { font-size: 16px; font-weight: 800; }
.vc-sum__total { margin-top: 12px; padding-top: 18px !important; border-top: 1px solid #e0dded; }
.vc-sum__total dt { font-weight: 800; color: var(--vf-ink); font-size: 13px; }
.vc-sum__total b { font-size: 18px; }
.vc-order { display: block; width: 100%; height: 48px; margin-top: 12px; border: 1px solid #d9d6e6; background: #fff; color: var(--vf-ink); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; border-radius: 0; }
.vc-order--dark { margin-top: 20px; background: linear-gradient(90deg, #1b1040, #2b1b5c); border-color: #1d1247; color: #fff; }
.vc-order:hover { opacity: .9; }
.vc-note { display: flex; gap: 8px; margin: 18px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--vf-sub); }
.vc-note i { flex: none; width: 14px; height: 14px; border: 1px solid #4a4560; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 700; color: #4a4560; margin-top: 2px; }
.vc-guide { margin-top: 72px; border: 1px solid #e4e1ee; }
.vc-guide h2 { margin: 0; padding: 18px 20px; font-size: 13.5px; font-weight: 800; border-bottom: 1px solid #ececf3; }
.vc-guide > div { padding: 22px 20px 26px; }
.vc-guide h3 { margin: 0 0 12px; font-size: 12.5px; font-weight: 700; }
.vc-guide ul { margin: 0; padding: 0; list-style: none; }
.vc-guide li { position: relative; padding-left: 12px; font-size: 12px; line-height: 2; color: #4a4560; }
.vc-guide li::before { content: ""; position: absolute; left: 0; top: 14px; width: 3px; height: 3px; border-radius: 50%; background: #8a869c; }
@media (max-width: 991.98px) {
  .vc-grid { grid-template-columns: 1fr; gap: 28px; }
  .vc-side { position: static; }
}
@media (max-width: 575.98px) {
  .vc-main { padding: 36px 16px 80px; }
  .vc-title { font-size: 22px; }
  .vc-tabs button { padding: 14px 18px; }
  .vc-item { grid-template-columns: 22px 64px minmax(0, 1fr); padding: 20px 8px; }
  .vc-item__img { width: 64px; height: 64px; }
  .vc-item__act { grid-column: 1 / -1; flex-direction: row-reverse; min-height: 0; align-items: center; }
  .vc-tools { flex-direction: column; }
}

/* ===== 검색 모달 ===== */
html.vs-lock { overflow: hidden; }
.vs-modal[hidden] { display: none; }
.vs-modal { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 24px; font-family: 'Noto Sans KR', sans-serif; color: #141226; }
.vs-modal__bg { position: absolute; inset: 0; background: rgba(15, 12, 30, .55); }
.vs-modal__box { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); width: min(920px, 100%); max-height: calc(100vh - 48px); background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; }
.vs-modal__l { padding: 56px 36px 40px; overflow-y: auto; }
.vs-modal__r { position: relative; padding: 40px 32px 32px; background: #f6f6f8; overflow-y: auto; }
.vs-field { display: flex; align-items: center; gap: 12px; padding: 12px 4px 14px; border-bottom: 2px solid #141226; margin: 0; }
.vs-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 18px; color: #141226; padding: 0; }
.vs-field input::placeholder { color: #b9b5c8; }
.vs-field input::-webkit-search-cancel-button { display: none; }
.vs-lab { margin: 36px 0 14px; font-family: 'Jost', sans-serif; font-size: 11px; font-weight: 500; letter-spacing: .3em; color: #6a4fc9; display: flex; align-items: center; gap: 10px; }
.vs-lab--r { margin-top: 0; }
.vs-clear { border: 0; background: none; font-size: 11px; letter-spacing: 0; color: #8a869c; cursor: pointer; text-decoration: underline; padding: 0; }
.vs-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vs-chips a { display: inline-block; padding: 8px 14px; border-radius: 999px; background: #ebe5fb; color: #2a1560; font-size: 12.5px; text-decoration: none; }
.vs-chips a:hover { background: #ddd2f8; }
.vs-recent a { background: #f1eff6; color: #4a4560; }
.vs-none { margin: 0; font-size: 12.5px; color: #8a869c; }
.vs-close { position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #ebe5fb; color: #2a1560; display: grid; place-items: center; cursor: pointer; }
.vs-close:hover { background: #ddd2f8; }
.vs-picks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vs-picks a { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; background: #fff; text-decoration: none; color: inherit; }
.vs-picks a:hover { box-shadow: 0 4px 14px rgba(20, 18, 38, .1); }
.vs-pick__img { display: block; width: 56px; height: 56px; background: #ececee; overflow: hidden; }
.vs-pick__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vs-picks b { display: block; font-size: 13px; font-weight: 600; line-height: 1.4; }
.vs-picks em { display: block; margin-top: 4px; font-style: normal; font-size: 13px; font-weight: 700; }
@media (max-width: 767.98px) {
  .vs-modal { padding: 0; align-items: flex-start; }
  .vs-modal__box { grid-template-columns: 1fr; width: 100%; max-height: 100vh; height: 100%; }
  .vs-modal__l { padding: 64px 20px 20px; }
  .vs-modal__r { padding: 24px 20px 32px; }
  .vs-close { top: 14px; right: 14px; z-index: 2; }
}

/* 모바일 메뉴 버튼 (사이트 메뉴 #kc-mnav 를 연다) */
.vf-burger { display: none; width: 40px; height: 40px; margin-left: -8px; border: 0; background: none; padding: 0; cursor: pointer; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.vf-burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 1px; }
@media (max-width: 767.98px) {
  .vf-burger { display: inline-flex; }
  .vf-head--bar { display: flex; }
}

/* ===== 로그인 (public/skins/login/vfit) ===== */
body:has(.lg-wrap) { background: #fafafa; }
.lg-wrap { font-family: 'Noto Sans KR', sans-serif; color: var(--vf-ink, #141226); padding: 44px 16px 90px; }
.lg-col { max-width: 480px; margin: 0 auto; }
.lg-title { margin: 0; text-align: center; font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.lg-sub { margin: 14px 0 0; text-align: center; font-size: 12.5px; line-height: 1.8; color: #4a4560; }
.lg-art { display: block; width: 100%; height: auto; margin-top: 18px; }
.lg-quick { display: grid; gap: 8px; }
.lg-q { display: flex; align-items: center; justify-content: center; gap: 10px; height: 50px; font-size: 13px; font-weight: 700; text-decoration: none; }
.lg-q--kakao { background: #fee500; color: #191919; }
.lg-q--naver { background: #03c75a; color: #fff; }
.lg-q:hover { opacity: .92; }
.lg-or { display: flex; align-items: center; gap: 14px; margin: 26px 0 28px; color: #8a869c; font-size: 11px; }
.lg-or::before, .lg-or::after { content: ""; flex: 1; height: 1px; background: #e4e1ee; }
.lg-tab { display: flex; border: 1px solid #ececf3; background: #fff; }
.lg-tab span { flex: 1; text-align: center; padding: 14px 0; font-size: 13px; color: #6b6780; }
.lg-tab span[aria-selected="true"] { background: linear-gradient(90deg, #2b1b5c, #150c33); color: #fff; font-weight: 700; }
.lg-card { margin-top: 18px; padding: 32px 28px 28px; background: #fff; border: 1px solid #ececf3; box-shadow: 0 8px 30px rgba(20, 18, 38, .04); }
.lg-err { margin-bottom: 14px; padding: 12px 14px; background: #fdecea; color: #a1281d; font-size: 12.5px; line-height: 1.6; }
.lg-err a { color: inherit; font-weight: 700; text-decoration: underline; }
.lg-in { display: block; width: 100%; box-sizing: border-box; height: 52px; margin: 0 0 10px; padding: 0 16px; border: 1px solid #d9d6e6; border-radius: 0; background: #fff; font: inherit; font-size: 15px; color: var(--vf-ink, #141226); outline: 0; }
.lg-in::placeholder { color: #a8a4b8; }
.lg-in:focus { border-color: #1d1247; box-shadow: 0 0 0 3px rgba(29, 18, 71, .1); }
.lg-chk { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin: 14px 0 22px; font-size: 12px; color: #4a4560; cursor: pointer; }
.lg-chk input { width: 18px; height: 18px; accent-color: #141226; }
.lg-chk small { flex-basis: 100%; padding-left: 28px; color: #8a869c; font-size: 11px; }
.lg-btn { display: flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; height: 48px; margin-top: 6px; border: 1px solid #d9d6e6; background: #fff; color: var(--vf-ink, #141226); font: inherit; font-size: 13.5px; font-weight: 700; text-decoration: none; cursor: pointer; border-radius: 0; }
.lg-btn--dark { background: linear-gradient(90deg, #2b1b5c, #150c33); border-color: #1d1247; color: #fff; }
.lg-btn:hover { opacity: .92; }
.lg-find { display: flex; justify-content: center; align-items: center; gap: 16px; margin: 22px 0 0; font-size: 12px; color: #4a4560; }
.lg-find i { width: 1px; height: 10px; background: #d9d6e6; }
.lg-find a { text-decoration: none; color: inherit; }
.lg-sns { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-top: 24px; }
.lg-sns a { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border: 1px solid #ececf3; font-size: 12px; color: #4a4560; text-decoration: none; }
.lg-sns a:hover { background: #f6f6f8; }
@media (max-width: 575.98px) { .lg-card { padding: 24px 18px; } .lg-title { font-size: 24px; } }

/* ===== 회원가입 (public/skins/register/vfit) ===== */
body:has(.rg-wrap) { background: #fff; }
.rg-wrap { max-width: 760px; margin: 0 auto; padding: 44px 16px 110px; font-family: 'Noto Sans KR', sans-serif; color: var(--vf-ink, #141226); }
.rg-wrap--form { max-width: 600px; }
.rg-wrap--done { max-width: 640px; }
.rg-title { margin: 0; text-align: center; font-size: 28px; font-weight: 700; letter-spacing: -.02em; }
.rg-steps { display: flex; justify-content: center; align-items: center; gap: 0; margin: 34px 0 56px; padding: 0; list-style: none; }
.rg-steps li { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: #a8a4b8; }
.rg-steps li + li::before { content: ""; width: 44px; height: 1px; background: #cfcbdc; margin: 0 20px; }
.rg-steps i { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #ececf1; color: #a8a4b8; font-style: normal; font-size: 11px; font-weight: 700; }
.rg-steps li.on { color: var(--vf-ink, #141226); font-weight: 700; }
.rg-steps li.on i { background: #141226; color: #fff; }
.rg-steps li.done i { background: #ebe5fb; color: #5b3fc4; }
.rg-err { margin: 0 0 18px; padding: 12px 16px; background: #fdecea; color: #a1281d; font-size: 13px; }
.rg-info { margin: 0 0 18px; padding: 12px 16px; background: #f1eff6; font-size: 13px; }

/* 1단계: 약관 */
.rg-all { display: flex; gap: 16px; align-items: flex-start; padding: 24px 22px; background: #f7f7f8; cursor: pointer; }
.rg-all b { display: block; font-size: 15px; font-weight: 700; }
.rg-all small { display: block; margin-top: 8px; font-size: 12px; color: #8a869c; }
.rg-terms input[type=checkbox] { width: 18px; height: 18px; flex: none; accent-color: #141226; margin: 2px 0 0; }
.rg-sec { margin-top: 14px; border: 1px solid #e4e1ee; background: #fff; }
.rg-sec__h { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; }
.rg-sec__h label { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 700; cursor: pointer; }
.rg-sec__h em { font-style: normal; font-size: 11px; font-weight: 700; color: #3b1fa8; margin-left: 6px; }
.rg-tg { width: 28px; height: 28px; border: 0; background: none; cursor: pointer; position: relative; }
.rg-tg::after { content: ""; position: absolute; left: 9px; top: 7px; width: 8px; height: 8px; border-right: 1.5px solid #4a4560; border-bottom: 1.5px solid #4a4560; transform: rotate(45deg); transition: transform .15s; }
.rg-sec.is-open .rg-tg::after { transform: rotate(-135deg); top: 11px; }
.rg-sec__b { display: none; max-height: 170px; overflow-y: auto; margin: 0 12px 12px; padding: 14px 16px; background: #f6f6f8; font-size: 11.5px; line-height: 1.7; color: #6b6780; }
.rg-sec.is-open .rg-sec__b { display: block; }
.rg-sec__b p { margin: 0 0 8px; }
.rg-opt { display: flex; flex-wrap: wrap; gap: 8px 32px; padding: 0 20px 20px 52px; }
.rg-opt label { display: inline-flex; gap: 10px; align-items: center; font-size: 12.5px; color: #4a4560; cursor: pointer; }
.rg-sec--opt .rg-sec__h { padding-bottom: 12px; }
.rg-act { display: flex; justify-content: flex-end; gap: 8px; margin-top: 28px; }
.rg-act--center { justify-content: center; }
.rg-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 120px; height: 46px; padding: 0 22px; border: 1px solid #d9d6e6; background: #fff; color: var(--vf-ink, #141226); font: inherit; font-size: 13.5px; font-weight: 600; text-decoration: none; cursor: pointer; border-radius: 0; }
.rg-btn--dark { background: linear-gradient(90deg, #2b1b5c, #150c33); border-color: #1d1247; color: #fff !important; min-width: 160px; }
.rg-btn--wide { display: flex; width: 100%; height: 48px; margin-top: 34px; }
.rg-btn:hover { opacity: .92; }

/* 2단계: 정보 입력 (member_fields 를 시안처럼: 라벨 위 · 입력 아래 · 전체 폭) */
.rg-form .kc-form-row { display: block; padding: 0; margin: 0 0 26px; border-bottom: 0; }
.rg-form .kc-form-row > label, .rg-form .kc-form-row > .kc-label { display: block; padding: 0; margin: 0 0 8px; font-size: 12px; font-weight: 600; color: #6b6780; }
.rg-form .kc-req { color: #3b1fa8; margin-left: 4px; }
.rg-form .form-control, .rg-form .form-select { height: 46px; border: 1px solid #d9d6e6; border-radius: 0; font-size: 14px; box-shadow: none; }
.rg-form textarea.form-control { height: auto; }
.rg-form .form-control:focus, .rg-form .form-select:focus { border-color: #1d1247; box-shadow: 0 0 0 3px rgba(29, 18, 71, .1); }
.rg-form .form-text, .rg-form .text-muted, .rg-form .small { font-size: 11.5px; color: #8a869c !important; }
.rg-form .btn { border-radius: 0; font-size: 12.5px; }
.rg-form .btn-outline-secondary { border-color: #d9d6e6; color: #4a4560; }
.rg-form .form-check-input:checked { background-color: #141226; border-color: #141226; }
.rg-form .w-auto { width: auto; }
.rg-eye { position: relative; display: block; }
.rg-eye input { padding-right: 46px; }
.rg-eye button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: #4a4560; cursor: pointer; }
.rg-eye .rg-eye__off { display: block; }
.rg-eye.is-shown .rg-eye__off { display: none; }

/* 3단계: 완료 */
.rg-done { text-align: center; padding-top: 30px; }
.rg-done h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.rg-done > p { margin: 18px 0 0; font-size: 13px; color: #8a869c; }
.rg-done > p b { color: var(--vf-ink, #141226); }
.rg-card { margin: 40px 0 0; padding: 30px 40px; background: #f7f7f8; text-align: left; }
.rg-card > div { display: grid; grid-template-columns: 80px 1fr; padding: 7px 0; font-size: 13px; }
.rg-card dt { color: #8a869c; } .rg-card dd { margin: 0; font-weight: 600; }
.rg-note { margin: 22px 0 0 !important; font-size: 12.5px !important; line-height: 1.8; color: #4a4560 !important; }
.rg-note a { color: #3b1fa8; font-weight: 700; }
@media (max-width: 575.98px) {
  .rg-steps li + li::before { width: 18px; margin: 0 10px; }
  .rg-steps li span { font-size: 12px; }
  .rg-card { padding: 22px 18px; }
  .rg-opt { padding-left: 20px; }
}

/* 휴대전화 3칸 */
.rg-tel { display: flex; align-items: center; gap: 10px; }
.rg-tel > span { color: #6b6780; }
.rg-tel input { text-align: left; min-width: 0; }
.rg-tel input:first-child { flex: 0 0 84px; }
.rg-tel input:not(:first-child) { flex: 1; }
.rg-tel.is-invalid input { border-color: #c0392b; }
.rg-form #kc-pv { margin-top: 10px; }

/* ===== 마이페이지 (public/skins/mypage/vfit) ===== */
body:has(.my-wrap) { background: #f4f5f7; }
.my-wrap { max-width: 1060px; margin: 0 auto; padding: 32px 16px 100px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; align-items: start; font-family: 'Noto Sans KR', sans-serif; color: var(--vf-ink, #141226); }
.my-side { background: #fff; border: 1px solid #e6e4ee; border-radius: 16px; overflow: hidden; }
.my-side__t { margin: 0; padding: 22px 20px 16px; font-size: 15px; font-weight: 800; border-bottom: 1px solid #efedf5; }
.my-side nav { padding: 14px 0 6px; }
.my-side a { display: block; padding: 8px 20px; font-size: 13.5px; color: #4a4560; text-decoration: none; }
.my-side a:hover { color: var(--vf-ink, #141226); background: #faf9fc; }
.my-side a.on { color: var(--vf-ink, #141226); font-weight: 700; }
.my-side__home { margin: 0 12px 10px; padding: 12px 14px !important; background: #f7f7f9; border-left: 3px solid transparent; font-weight: 700; color: var(--vf-ink, #141226) !important; }
.my-side__home.on { border-left-color: #2b1b5c; }
.my-side__g { padding: 12px 0 8px; border-top: 1px solid #efedf5; }
.my-side__g p { margin: 0; padding: 6px 20px; font-size: 11px; font-weight: 700; color: #8a869c; }
.my-side__g--last { padding: 6px 0; }
.my-side__cta { display: flex !important; align-items: center; justify-content: center; margin: 8px 12px 14px; height: 40px; padding: 0 !important; border-radius: 8px; background: linear-gradient(90deg, #2b1b5c, #150c33); color: #fff !important; font-size: 12.5px !important; font-weight: 700; }
/* 사이드 메뉴 링크의 마우스 오버(.my-side a:hover 흰 바탕)가 버튼 바탕을 덮어 흰 글자가 안 보이던 문제: 버튼은 자기 바탕을 유지한다 */
.my-side a.my-side__cta:hover, .my-side a.my-side__cta:focus-visible { background: linear-gradient(90deg, #3a2775, #22134f); color: #fff !important; }
.my-main { min-width: 0; }
.my-card { background: #fff; border: 1px solid #e6e4ee; border-radius: 16px; margin-bottom: 14px; overflow: hidden; }
.my-pad { padding: 28px 28px 32px; }
.my-h1 { margin: 0 0 22px; font-size: 17px; font-weight: 800; }
.my-main .kc-page-title, .my-main .kc-mypage-nav, .my-main .kc-page-head { display: none; }
.my-profile { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px; }
.my-profile__id { display: flex; align-items: center; gap: 14px; }
.my-avatar { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #efeff2; border: 1px solid #e2e0ea; font-size: 15px; font-weight: 700; color: #4a4560; object-fit: cover; }
.my-profile h1 { margin: 0; font-size: 15px; font-weight: 800; }
.my-badge { display: inline-block; margin-top: 6px; padding: 2px 10px; border: 1px solid #d9d6e6; border-radius: 999px; font-size: 11px; color: #4a4560; background: #fff; }
.my-stats { display: flex; margin: 0; margin-left: auto; }
.my-stats a { display: block; padding: 0 22px; text-align: center; border-left: 1px solid #ececf3; color: inherit; text-decoration: none; }
.my-stats a:first-child { border-left: 0; }
.my-stats dt { order: 2; margin-top: 4px; font-size: 11px; font-weight: 400; color: #8a869c; }
.my-stats dd { margin: 0; }
.my-stats a { display: flex; flex-direction: column; }
.my-stats b { font-size: 15px; font-weight: 800; }
.my-btn { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: 0 16px; border: 1px solid #d9d6e6; border-radius: 6px; background: #fff; color: var(--vf-ink, #141226); font-size: 12px; text-decoration: none; }
.my-btn:hover { background: #f7f7f9; }
.my-card__h { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; }
.my-card__h h2 { margin: 0; font-size: 14px; font-weight: 800; }
.my-card__h span, .my-card__h a { font-size: 12px; color: #8a869c; text-decoration: none; }
.my-flow__body { display: flex; align-items: stretch; background: #f7f7f9; border-top: 1px solid #efedf5; border-bottom: 1px solid #efedf5; }
.my-flow__steps { display: flex; flex: 1; margin: 0; padding: 22px 8px; list-style: none; }
.my-flow__steps li { position: relative; flex: 1; text-align: center; }
.my-flow__steps li + li::before { content: "›"; position: absolute; left: -4px; top: 6px; color: #c4c0d2; font-size: 14px; }
.my-flow b { display: block; font-size: 20px; font-weight: 800; line-height: 1.2; }
.my-flow span { display: block; margin-top: 6px; font-size: 11.5px; color: #8a869c; }
.my-flow__side { display: flex; margin: 14px 0; padding: 0 8px; list-style: none; border-left: 1px solid #e0dded; align-items: center; }
.my-flow__side li { padding: 0 16px; text-align: center; border-left: 1px solid #ececf3; }
.my-flow__side li:first-child { border-left: 0; }
.my-flow__side b { font-size: 15px; }
.my-recent .my-card__h { padding-bottom: 8px; }
.my-empty { padding: 56px 0 64px; text-align: center; color: #aaa6ba; }
.my-empty i { display: inline-grid; place-items: center; width: 64px; height: 64px; border: 3px solid #e0dde8; border-radius: 50%; font-style: normal; font-size: 30px; font-weight: 300; color: #d4d0de; }
.my-empty p { margin: 18px 0 0; font-size: 13.5px; }
.my-orders { list-style: none; margin: 0; padding: 0 12px 14px; }
.my-orders a { display: grid; grid-template-columns: 96px minmax(0, 1fr) 110px 90px; gap: 12px; align-items: center; padding: 16px 12px; border-top: 1px solid #f0eef6; color: inherit; text-decoration: none; font-size: 13px; }
.my-orders a:hover { background: #faf9fc; }
.my-orders__d { color: #8a869c; font-size: 12px; }
.my-orders__t b { display: block; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.my-orders__t small { color: #aaa6ba; font-size: 11px; }
.my-orders__p { text-align: right; font-weight: 700; }
.my-orders__s { text-align: center; font-size: 12px; color: #3b1fa8; font-weight: 600; }
/* 기본 스킨 본문(표·폼)을 카드 안에서 V-FIT 톤으로 */
.my-pad .kc-table { border-top: 2px solid var(--vf-ink, #141226); }
.my-pad .kc-table th { background: #f6f6f8; }
.my-pad .btn-primary { background: #1d1247; border-color: #1d1247; border-radius: 4px; }
.my-pad .btn-outline-secondary { border-radius: 4px; }
.my-pad .form-control, .my-pad .form-select { border-radius: 0; border-color: #d9d6e6; }
.my-pad .kc-form-card { max-width: none; margin: 0; }
@media (max-width: 899.98px) {
  .my-wrap { grid-template-columns: 1fr; padding-top: 20px; }
  .my-side nav { display: flex; flex-wrap: wrap; padding: 8px; }
  .my-side__g { border-top: 0; padding: 0; display: flex; flex-wrap: wrap; }
  .my-side__g p { display: none; }
  .my-side__home { margin: 0; }
  .my-side a { padding: 8px 12px; }
  .my-side__cta { margin: 10px 12px 14px; }
  .my-profile { flex-direction: column; align-items: flex-start; }
  .my-stats { margin-left: 0; }
  .my-stats a:first-child { padding-left: 0; }
  .my-flow__body { flex-direction: column; }
  .my-flow__side { border-left: 0; border-top: 1px solid #e0dded; margin: 0; padding: 14px 8px; justify-content: center; }
  .my-orders a { grid-template-columns: 1fr auto; }
  .my-orders__d, .my-orders__s { grid-column: 1 / -1; text-align: left; }
}

/* 주문내역 (product/orderlist) */
.ol-tabs { display: flex; gap: 28px; margin: 0 0 18px; border-bottom: 1px solid #e4e1ee; font-size: 14.5px; }
.ol-tabs a { padding: 0 0 14px; color: #8a869c; text-decoration: none; margin-bottom: -1px; }
.ol-tabs a em { font-style: normal; font-size: 12.5px; }
.ol-tabs a.is-on { color: var(--vf-ink, #141226); font-weight: 800; border-bottom: 2px solid #5b3fc4; }
.ol-filter { padding: 22px 26px; }
.ol-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 6px 0; }
.ol-lb { flex: 0 0 96px; font-size: 13px; font-weight: 700; }
.ol-sel, .ol-dates input { height: 36px; border: 1px solid #d9d6e6; border-radius: 6px; padding: 0 12px; font-size: 13px; background: #fff; color: inherit; }
.ol-sel { min-width: 180px; }
.ol-range { display: inline-flex; }
.ol-range button { height: 36px; padding: 0 16px; border: 1px solid #d9d6e6; margin-left: -1px; background: #fff; font-size: 12.5px; cursor: pointer; }
.ol-range button:first-child { border-radius: 6px 0 0 6px; margin-left: 0; }
.ol-range button:last-child { border-radius: 0 6px 6px 0; }
.ol-range button.is-on { background: #1d1247; border-color: #1d1247; color: #fff; }
.ol-dates { display: inline-flex; align-items: center; gap: 8px; }
.ol-go { height: 36px; padding: 0 22px; border: 0; border-radius: 6px; background: #1d1247; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.ol-notes { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid #f0eef6; list-style: none; font-size: 12px; color: #8a869c; line-height: 1.9; }
.ol-notes li::before { content: '· '; }
.ol-list__h { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 24px 8px; font-size: 14px; }
.ol-list__h span { font-size: 12px; color: #8a869c; }
.ol-pager { margin-top: 26px; text-align: center; }
.ol-pager nav { display: inline-flex; gap: 26px; align-items: center; color: #8a869c; font-size: 14px; }
.ol-pager b { color: #3b1fa8; border-bottom: 2px solid #3b1fa8; padding: 4px 12px; }
@media (max-width: 640px) { .ol-lb { flex-basis: 100%; } .ol-tabs { gap: 16px; font-size: 13px; overflow-x: auto; white-space: nowrap; } }

/* 적립금 (mypage/point) */
.pt-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; border-bottom: 1px solid #ecebf2; }
.pt-stats > div { padding: 22px 22px 20px; border-left: 1px solid #ecebf2; }
.pt-stats > div:first-child { border-left: 0; }
.pt-stats dt { font-size: 11.5px; color: #8a869c; }
.pt-stats dd { margin: 6px 0 0; font-size: 19px; font-weight: 800; }
.pt-list { list-style: none; margin: 0; padding: 0 12px 10px; }
.pt-list li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 120px; gap: 12px; align-items: center; padding: 15px 12px; border-top: 1px solid #f0eef6; font-size: 13px; }
.pt-list li:first-child { border-top: 0; }
.pt-list b { text-align: right; }
.pt-plus { color: #5b3fc4; }
.pt-minus { color: #d6336c; }
.pt-note { margin-top: 56px; }
.pt-note h2 { margin: 0; padding: 16px 22px; font-size: 13px; font-weight: 700; border-bottom: 1px solid #ecebf2; }
.pt-note ul { margin: 0; padding: 20px 22px 22px 40px; font-size: 12.5px; color: #6c6880; line-height: 2; }
@media (max-width: 760px) { .pt-stats { grid-template-columns: repeat(2, 1fr); } .pt-stats > div { border-top: 1px solid #ecebf2; } .pt-list li { grid-template-columns: 1fr auto; } .pt-list .my-orders__d { grid-column: 1 / -1; } }

/* 쿠폰함 (product/coupons) */
.cp-reg { display: flex; align-items: center; gap: 22px; padding: 20px 26px; border-left: 6px solid #2a1a5c; }
.cp-reg__t { flex: 0 0 auto; display: flex; flex-direction: column; gap: 4px; }
.cp-reg__t b { font-size: 13.5px; }
.cp-reg__t small { font-size: 11px; color: #aaa6ba; }
.cp-reg input { flex: 1; min-width: 0; height: 40px; border: 1px solid #e0dde8; border-radius: 8px; background: #f7f7f9; padding: 0 14px; font-size: 14px; }
.cp-reg button { height: 40px; padding: 0 24px; border: 0; border-radius: 8px; background: linear-gradient(90deg, #2a1a5c, #1b1040); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.cp-box { min-height: 220px; }
.cp-empty { padding: 70px 0 76px; }
.cp-h { margin: 0; padding: 20px 24px 10px; font-size: 14px; font-weight: 800; }
.cp-h small { font-size: 12px; font-weight: 400; color: #8a869c; margin-left: 6px; }
.cp-list { list-style: none; margin: 0; padding: 0 12px 10px; }
.cp-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto 120px; gap: 16px; align-items: center; padding: 16px 12px; border-top: 1px solid #f0eef6; font-size: 13px; }
.cp-main b { display: block; font-weight: 700; }
.cp-main span { font-size: 11.5px; color: #8a869c; }
.cp-ben { color: #5b3fc4; font-size: 15px; }
.cp-date { text-align: right; font-size: 12px; color: #8a869c; }
.cp-get { height: 32px; padding: 0 18px; border: 1px solid #2a1a5c; border-radius: 6px; background: #fff; color: #2a1a5c; font-size: 12px; font-weight: 700; cursor: pointer; }
.cp-list.is-past { opacity: .6; }
@media (max-width: 640px) { .cp-reg { flex-wrap: wrap; } .cp-reg input { flex-basis: 100%; order: 3; } .cp-list li { grid-template-columns: 1fr auto; } .cp-date { grid-column: 1 / -1; text-align: left; } }

/* 최근 본 상품 (product/recent) */
.rc-list { list-style: none; margin: 0; padding: 0; }
.rc-list li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-top: 1px solid #ecebf2; }
.rc-list li:first-child { border-top: 0; }
.rc-thumb { flex: 0 0 72px; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: #ececee; }
.rc-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.rc-info { flex: 1; min-width: 0; text-decoration: none; color: inherit; }
.rc-info b { display: block; font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rc-info span { display: flex; gap: 8px; align-items: baseline; margin-top: 6px; }
.rc-info s { font-size: 12px; color: #aaa6ba; }
.rc-info em { font-style: normal; font-size: 14px; font-weight: 800; color: #2a1a5c; }
.rc-del { width: 32px; height: 32px; border: 0; background: none; color: #c9c6d6; font-size: 20px; cursor: pointer; }
.rc-del:hover { color: #5b3fc4; }
.rc-empty { padding: 70px 0 76px; }

/* 배송지 관리 (product/address) */
.ad-top { display: flex; justify-content: space-between; align-items: center; margin: 4px 0 16px; }
.ad-top h1 { margin: 0; font-size: 18px; font-weight: 800; }
.ad-top small { font-size: 12px; font-weight: 400; color: #8a869c; margin-left: 6px; }
.ad-add { display: inline-flex; align-items: center; height: 38px; padding: 0 18px; border-radius: 8px; background: linear-gradient(90deg, #2a1a5c, #1b1040); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.ad-form { padding: 24px 28px; }
.ad-form h2 { margin: 0 0 14px; font-size: 15px; font-weight: 800; }
.ad-form label { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; font-size: 13px; }
.ad-form label span { flex: 0 0 90px; font-weight: 700; }
.ad-form input:not([type=checkbox]) { flex: 1; min-width: 0; height: 40px; border: 1px solid #e0dde8; border-radius: 8px; padding: 0 14px; font-size: 14px; background: #fff; }
.ad-form .ad-zip { flex: 0 0 160px; }
.ad-chk { padding-left: 104px; }
.ad-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.ad-btns .my-btn, .ad-save { height: 40px; padding: 0 22px; }
.ad-save { border: 0; border-radius: 6px; background: #1d1247; color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.ad-list { list-style: none; margin: 0; padding: 0; }
.ad-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-top: 1px solid #ecebf2; }
.ad-list li:first-child { border-top: 0; }
.ad-main { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; }
.ad-main b { font-size: 14px; }
.ad-main b em { margin-left: 8px; padding: 2px 8px; border-radius: 4px; background: #ebe5fb; color: #5b3fc4; font-size: 11px; font-style: normal; }
.ad-main span { color: #6c6880; }
.ad-acts { display: flex; gap: 6px; flex: 0 0 auto; }
.ad-acts form { margin: 0; }
.ad-note { margin: 14px 4px 0; font-size: 12px; color: #8a869c; }
@media (max-width: 640px) { .ad-list li { flex-direction: column; align-items: flex-start; } .ad-form label { flex-wrap: wrap; } .ad-chk { padding-left: 0; } }
.ad-empty { padding: 56px 0 60px; }
.ad-foot { display: flex; justify-content: flex-end; padding: 18px 20px; border-top: 1px solid #ecebf2; }
.ad-foot .ad-add { height: 40px; padding: 0 22px; border-radius: 8px; }
.ad-full { font-size: 12px; color: #8a869c; align-self: center; }
.ad-guide { margin-top: 0; }
.ad-guide ul { padding: 14px 22px 16px 40px; line-height: 1.9; font-size: 12px; }
.ad-form { margin-bottom: 14px; }

/* 주문서 배송지 선택 모달 */
.ab-bar { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.ab-open { height: 38px; padding: 0 20px; border: 0; border-radius: 8px; background: linear-gradient(90deg, #2a1a5c, #1b1040); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.ab-bar a { font-size: 12.5px; color: #6c6880; text-decoration: underline; }
.ab[hidden] { display: none; }
.ab { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.ab__bg { position: absolute; inset: 0; background: rgba(15, 12, 30, .55); }
.ab__box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 48px); display: flex; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; color: #141226; }
.ab__h { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid #ecebf2; font-size: 16px; }
.ab__h button { border: 0; background: none; font-size: 24px; line-height: 1; color: #8a869c; cursor: pointer; }
.ab__list { list-style: none; margin: 0; padding: 0; overflow-y: auto; }
.ab__list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 24px; border-top: 1px solid #f0eef6; }
.ab__list li:first-child { border-top: 0; }
.ab__list li div { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 13px; }
.ab__list b em { margin-left: 8px; padding: 2px 8px; border-radius: 4px; background: #ebe5fb; color: #5b3fc4; font-size: 11px; font-style: normal; }
.ab__list span { color: #6c6880; }
.ab__list li > button { flex: 0 0 auto; height: 36px; padding: 0 18px; border: 1px solid #2a1a5c; border-radius: 6px; background: #fff; color: #2a1a5c; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.ab__list li > button:hover { background: #2a1a5c; color: #fff; }
.ab__empty { padding: 48px 24px; text-align: center; color: #aaa6ba; font-size: 13.5px; }
.ab__f { display: flex; justify-content: flex-end; padding: 14px 24px; border-top: 1px solid #ecebf2; }
.ab__f a { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 8px; background: #1d1247; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }

/* 팔로우 (mypage/follow) */
.fw-list { list-style: none; margin: 0; padding: 0; }
.fw-list li { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-top: 1px solid #ecebf2; }
.fw-list li:first-child { border-top: 0; }
.fw-av { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: #ebe5fb; color: #5b3fc4; display: grid; place-items: center; font-size: 16px; font-weight: 800; }
.fw-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fw-nm { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.fw-nm b { font-size: 14px; }
.fw-nm small { font-size: 11.5px; color: #aaa6ba; }
.fw-dt { font-size: 12px; color: #8a869c; }

/* 스크랩 (mypage/scrap) */
.sc-list { list-style: none; margin: 0; padding: 0; }
.sc-list li { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-top: 1px solid #ecebf2; font-size: 13.5px; }
.sc-list li:first-child { border-top: 0; }
.sc-bd { flex: 0 0 auto; max-width: 120px; padding: 3px 9px; border-radius: 4px; background: #ebe5fb; color: #5b3fc4; font-size: 11.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-t { flex: 1; min-width: 0; font-weight: 600; color: inherit; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.sc-t:hover { text-decoration: underline; }
.sc-dt { flex: 0 0 auto; font-size: 12px; color: #8a869c; }
.sc-list li form { margin: 0; }
.sc-list .is-gone .sc-t { color: #aaa6ba; font-weight: 400; }
@media (max-width: 640px) { .sc-list li { flex-wrap: wrap; } .sc-t { flex-basis: 100%; order: 3; } }

/* 주문하기 (product/order) — 왼쪽 카드들 + 오른쪽 결제정보 */
.od { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.od-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.od-card { background: #fff; border: 1px solid #e6e4ee; border-radius: 16px; overflow: hidden; }
.od-card > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; font-size: 15px; font-weight: 800; cursor: pointer; border-bottom: 1px solid transparent; }
.od-card > summary::-webkit-details-marker { display: none; }
.od-card > summary::after { content: ''; width: 8px; height: 8px; border: solid #4a4560; border-width: 1.5px 0 0 1.5px; transform: rotate(45deg); margin-top: 4px; transition: transform .15s; }
.od-card:not([open]) > summary::after { transform: rotate(225deg); margin-top: -2px; }
.od-card[open] > summary { border-bottom-color: #ecebf2; }
.od-body { padding: 22px 24px 26px; }
.od-alert { margin: 0 0 14px; padding: 12px 16px; border-radius: 10px; background: #fdecee; color: #c92a4a; font-size: 13px; }
.od-err { margin-top: 6px; font-size: 12px; color: #c92a4a; }
.od-hint { margin: 10px 0 0; font-size: 12px; color: #8a869c; }
.od-hint a { text-decoration: underline; }

.od-item { display: flex; gap: 14px; }
.od-thumb { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 6px; overflow: hidden; background: #ececee; }
.od-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.od-item__t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.od-item__t b { font-size: 14px; }
.od-item__t span { font-size: 12px; color: #8a869c; }
.od-item__t strong { margin-top: 6px; font-size: 14px; }
.od-item + .od-item { margin-top: 16px; }
.od-shiprow { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding: 14px 16px; border-radius: 8px; background: #f7f7f9; font-size: 12.5px; color: #6c6880; }
.od-shiprow b { font-size: 15px; color: #141226; }

.od-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 22px; border-bottom: 1px solid #ecebf2; }
.od-tabs button { padding: 12px 0; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; font-size: 14px; color: #8a869c; cursor: pointer; }
.od-tabs button.is-on { color: #141226; font-weight: 800; border-bottom-color: #2f2c28; }
.od-pane[hidden] { display: none; }
.od-empty { padding: 24px 0; text-align: center; font-size: 13px; color: #8a869c; }
.od-empty a { text-decoration: underline; }
.od-book { list-style: none; margin: 0; padding: 0; }
.od-book li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid #f0eef6; font-size: 13px; }
.od-book li:first-child { border-top: 0; }
.od-book li div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.od-book em { margin-left: 8px; padding: 2px 8px; border-radius: 4px; background: #ebe5fb; color: #5b3fc4; font-size: 11px; font-style: normal; }
.od-book span { color: #6c6880; }
.od-book button { flex: 0 0 auto; height: 34px; padding: 0 16px; border: 1px solid #2f2c28; border-radius: 6px; background: #fff; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.od-book button:hover { background: #2f2c28; color: #fff; }

.od-f { display: flex; flex-direction: column; gap: 8px; margin: 0 0 18px; }
.od-f > span { font-size: 12.5px; font-weight: 700; }
.od-f > span i { color: #2f6bff; font-style: normal; margin-left: 2px; }
.od-f input[type=text], .od-f input[type=tel], .od-f input[type=email], .od-f input[type=number], .od-f select, .od-f textarea, .od-mail input, .od-mail select, .od-sel, .od-bank select, .od-bank input {
  width: 100%; box-sizing: border-box; height: 40px; padding: 0 12px; border: 1px solid #c9c6d6; border-radius: 4px; background: #fff; font-size: 13.5px; color: #141226; font-family: inherit;
}
.od-f textarea { height: auto; padding: 10px 12px; resize: vertical; }
.od-f input[hidden], .od-f select[hidden] { display: none; }
.od-zip { display: flex; gap: 6px; }
.od-zip input { flex: 1; background: #f7f7f9; }
.od-zip button { flex: 0 0 auto; height: 40px; padding: 0 14px; border: 1px solid #c9c6d6; border-radius: 4px; background: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
#o-addr1 { background: #f7f7f9; }
.od-mail { display: flex; align-items: center; gap: 8px; }
.od-mail input { flex: 1; min-width: 0; }
.od-mail select { flex: 1; min-width: 0; }
.od-mail em { font-style: normal; color: #6c6880; }
.od-inline { flex-direction: row; align-items: center; gap: 12px; }
.od-inline > span { flex: 0 0 90px; }
.od-inline input { width: 160px !important; }
.od-inline small { color: #8a869c; font-size: 12px; }
.od-chk { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; font-size: 13px; color: #4a4560; cursor: pointer; }
.od-chk input { margin-top: 3px; width: 16px; height: 16px; accent-color: #2f6bff; }
.od-agree { margin-top: 18px; padding-top: 18px; border-top: 1px solid #ecebf2; }
.od-methods { margin: 4px 0 20px; }
.od-radio { display: flex; align-items: center; gap: 10px; padding: 12px 14px; margin-bottom: 8px; border: 1px solid #e0dde8; border-radius: 8px; font-size: 13.5px; cursor: pointer; }
.od-radio:has(input:checked) { border-color: #2f2c28; background: #faf9fc; }
.od-bank { display: grid; gap: 8px; margin: 4px 0 8px 4px; }

.od-side { position: sticky; top: 24px; }
.od-sum { padding: 0; }
.od-sum h2 { margin: 0; padding: 18px 22px; font-size: 15px; font-weight: 800; border-bottom: 1px solid #ecebf2; }
.od-sum dl { margin: 0; padding: 18px 22px; display: grid; gap: 10px; }
.od-sum dl > div { display: flex; justify-content: space-between; font-size: 13px; }
.od-sum dt { color: #4a4560; }
.od-sum dd { margin: 0; }
.od-minus { color: #c92a4a; }
.od-final { display: flex; justify-content: space-between; align-items: center; margin: 0 22px; padding: 18px 0; border-top: 1px solid #ecebf2; font-size: 12.5px; font-weight: 700; }
.od-final b { font-size: 20px; font-weight: 800; }
.od-reward { display: flex; justify-content: space-between; align-items: center; margin: 0 22px; padding: 16px 0; border-top: 1px solid #ecebf2; font-size: 14px; font-weight: 800; }
.od-reward b { font-size: 18px; }
.od-pay { display: block; width: calc(100% - 44px); margin: 6px 22px 0; height: 48px; border: 0; border-radius: 6px; background: #2f2c28; color: #fff; font-size: 14px; font-weight: 800; cursor: pointer; }
.od-pay:hover { background: #1b1916; }
.od-cancel { display: block; padding: 14px 0 20px; text-align: center; font-size: 12px; color: #8a869c; text-decoration: underline; }
@media (max-width: 900px) { .od { grid-template-columns: 1fr; } .od-side { position: static; } .od-inline { flex-wrap: wrap; } }

/* 회원정보 수정 (mypage/edit) — 칸마다 둥근 테두리 + 위쪽 작은 이름 */
.ed-card { padding: 32px 36px 36px; }
.ed-h { margin: 0 0 22px; padding: 0 0 18px; border-bottom: 1px solid #ecebf2; font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.ed-h::before { content: ''; width: 3px; height: 16px; background: #1d1247; }
.ed-form .kc-form-row { display: block; margin: 0 0 12px; padding: 12px 16px 12px; border: 1px solid #dedbe8; border-radius: 12px; background: #fff; }
.ed-form .kc-form-row:focus-within { border-color: #1d1247; }
.ed-form .kc-form-row.is-ro { background: #f7f7f9; }
.ed-form .kc-form-row.is-ro input, .ed-form .kc-form-row.is-ro .pt-2 { color: #aaa6ba; }
.ed-form .kc-form-row > label, .ed-form .kc-form-row > .kc-label { display: block; margin: 0 0 4px; padding: 0; font-size: 11px; font-weight: 600; color: #8a869c; }
.ed-form .kc-req { color: #3b1fa8; margin-left: 3px; }
.ed-form .form-control, .ed-form .form-select { height: 34px; border: 0; border-radius: 0; padding: 0; background: transparent; font-size: 14.5px; box-shadow: none; }
.ed-form .form-control:focus, .ed-form .form-select:focus { box-shadow: none; }
.ed-form .pt-2 { padding: 0 !important; font-size: 14.5px; }
.ed-form .form-text { margin-top: 6px; font-size: 11.5px; color: #8a869c; }
.ed-form .mb-2 { margin-bottom: 0 !important; }
/* 주소: 한 칸 안에 줄로 나눈다 */
.ed-form .kc-form-row .d-flex.gap-2 { align-items: center; justify-content: space-between; }
.ed-form #f-zipcode { flex: 1; width: auto !important; }
.ed-form #f-address1, .ed-form #f-address2, .ed-form #f-address3 { border-top: 1px solid #eeeaf5; border-radius: 0; height: 40px; }
.ed-form #f-zipcode { height: 40px; }
.ed-form [data-postcode] { height: 30px; padding: 0 12px; border: 1px solid #c9c6d6; border-radius: 6px; background: #fff; font-size: 12px; }
.ed-form .kc-form-row .d-flex.gap-2:has(#f-address2) { display: grid !important; grid-template-columns: 1fr 1fr; gap: 0 12px; }
/* 전화번호 3칸 */
.ed-form .rg-tel { padding-top: 4px; }
.ed-form .rg-tel .form-control, .ed-form .rg-tel .form-select { height: 34px; padding: 0 12px; border: 1px solid #d9d6e6; border-radius: 8px; background-color: #fff; }
.ed-form .rg-tel .form-select { flex: 0 0 84px; }
.ed-form .rg-tel input { flex: 1; }
.ed-form .rg-eye input { padding-right: 46px; }
.ed-form .rg-eye { margin-top: -4px; }
/* 수신여부 */
.ed-radios { display: flex; gap: 28px; padding-top: 6px; }
.ed-radios label { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; cursor: pointer; }
.ed-radios input { width: 18px; height: 18px; accent-color: #2a1a5c; }
.ed-actions { display: flex; justify-content: flex-end; margin-top: 22px; }
.ed-save { height: 46px; padding: 0 36px; border: 0; border-radius: 8px; background: linear-gradient(90deg, #2a1a5c, #1b1040); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; }
@media (max-width: 640px) { .ed-card { padding: 22px 18px 26px; } .ed-form .kc-form-row .d-flex.gap-2:has(#f-address2) { grid-template-columns: 1fr; } }

/* 상품 상세 — 시안 보강 (쿠폰가 · 도착 예정 · 옵션 패널 · 무료배송 · 출고 마감 · 카카오) */
.vi-timer em { font-style: normal; color: #3b1fa8; }
.vi-price__cp dd { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.vi-price__cp b { font-size: 16px; font-weight: 800; }
.vi-price__cp dt i { display: inline-grid; place-items: center; width: 14px; height: 14px; margin-left: 2px; border: 1px solid #aaa6ba; border-radius: 50%; font-size: 9px; font-style: normal; color: #8a869c; cursor: help; }
.vi-cpbtn { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border: 0; border-radius: 999px; background: #1d1247; color: #fff; font-size: 11px; font-weight: 700; cursor: pointer; text-decoration: none; }
.vi-cpbtn.is-off { background: #d9d6e6; color: #6c6880; cursor: default; }
.vi-price form { margin: 0; }
details.vi-coupons > summary { cursor: pointer; font-weight: 700; list-style: none; }
details.vi-coupons > summary::-webkit-details-marker { display: none; }
details.vi-coupons[open] > summary { margin-bottom: 6px; }
.vi-eta { display: grid; grid-template-columns: 64px 1fr; gap: 6px; margin-top: 18px; padding: 0 2px; font-size: 12.5px; }
.vi-eta > span { color: #8a869c; font-size: 12px; }
.vi-eta b { font-weight: 800; }
.vi-eta small { display: block; margin-top: 6px; font-size: 11.5px; color: #6c6880; }
.vi-optbox { margin-top: 18px; border: 1px solid #d9d6e6; border-radius: 8px; overflow: hidden; background: #fff; }
.vi-optbox > summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; font-size: 13px; font-weight: 700; cursor: pointer; list-style: none; }
.vi-optbox > summary::-webkit-details-marker { display: none; }
.vi-optbox > summary::after { content: ''; width: 7px; height: 7px; border: solid #4a4560; border-width: 1.5px 0 0 1.5px; transform: rotate(45deg); margin-top: 3px; transition: transform .15s; }
.vi-optbox:not([open]) > summary::after { transform: rotate(225deg); margin-top: -2px; }
.vi-optbox .vi-opts { margin: 0; border: 0; border-top: 1px solid #ecebf2; border-radius: 0; }
.vi-optbox .vi-opts legend { float: none; display: block; width: auto; padding: 10px 16px 0; border: 0; font-size: 11px; font-weight: 400; color: #8a869c; }
.vi-optbox .vi-opt { position: relative; display: block; padding: 14px 16px; border-bottom: 1px solid #ecebf2; font-size: 12.5px; }
.vi-optbox .vi-opt input { position: absolute; opacity: 0; pointer-events: none; }
.vi-optbox .vi-opt:has(input:checked) { background: #faf8ff; box-shadow: inset 3px 0 0 #3b1fa8; }
.vi-optbox .vi-opt__t { display: block; font-size: 13px; }
.vi-optbox .vi-opt__p { display: block; margin-top: 4px; font-size: 14px; font-weight: 800; }
.vi-optbox .vi-opt__p small { font-size: 11px; font-weight: 400; color: #5b3fc4; }
.vi-free p { font-size: 12.5px; }
.vi-free__l { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10.5px; color: #8a869c; }
.vi-free__l em { font-style: normal; }
.vi-total b small { font-size: 11px; font-weight: 400; color: #8a869c; }
.vi-ship { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 16px; border-radius: 6px; background: #f4f4f6; }
.vi-ship__i { flex: 0 0 48px; width: 48px; height: 48px; display: grid; place-items: center; background: #1d1247; color: #fff; }
.vi-ship b { display: block; font-size: 13px; font-weight: 800; }
.vi-ship span:not(.vi-ship__i) { display: block; margin-top: 4px; font-size: 11.5px; color: #6c6880; }
.vi-ship em { font-style: normal; font-weight: 700; color: #3b1fa8; font-variant-numeric: tabular-nums; }
.vi-kakao { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 13px 16px; border-radius: 4px; background: #fee500; color: #191919; font-size: 12.5px; text-decoration: none; }
.vi-kakao i { font-style: normal; font-size: 18px; }

/* 주소검색 모달 */
.pcm[hidden] { display: none; }
.pcm { position: fixed; inset: 0; z-index: 2147483000; display: flex; align-items: center; justify-content: center; padding: 24px; }
.pcm__bg { position: absolute; inset: 0; background: rgba(15, 12, 30, .55); }
.pcm__box { position: relative; width: min(500px, 100%); height: min(620px, calc(100vh - 48px)); display: flex; flex-direction: column; background: #fff; border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); overflow: hidden; color: #141226; }
.pcm__h { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #ecebf2; font-size: 16px; }
.pcm__h button { border: 0; background: none; font-size: 26px; line-height: 1; color: #8a869c; cursor: pointer; }
.pcm__body { flex: 1; min-height: 0; }
.pcm__msg { margin: 0; padding: 60px 24px; text-align: center; font-size: 13.5px; color: #8a869c; line-height: 1.7; }
.ad-form .ad-pc { flex: 0 0 auto; height: 40px; padding: 0 16px; border: 1px solid #c9c6d6; border-radius: 8px; background: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.ad-form .ad-zip { flex: 0 0 160px; }

/* 상단 메뉴(GNB): 관리자 메뉴관리 연동 · 드롭다운 패널 */
.vf-gnb { align-items: center; gap: 0; }
.vf-gnb__it { position: relative; display: flex; align-items: center; }
.vf-gnb__it + .vf-gnb__it::before { content: ''; width: 3px; height: 3px; margin: 0 14px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.vf-gnb__it > a { display: inline-block; padding: 18px 0; font-size: 15px; font-weight: 500; }
.vf-gnb__panel { position: absolute; left: -16px; top: calc(100% - 4px); min-width: 220px; box-sizing: border-box; padding: 16px 24px 10px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 16px;
  background: rgba(24, 14, 52, .97); box-shadow: 0 18px 40px rgba(5, 3, 18, .45); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .16s, transform .16s, visibility .16s; z-index: 30; }
.vf-gnb__it.has-sub:hover .vf-gnb__panel, .vf-gnb__it.has-sub:focus-within .vf-gnb__panel { opacity: 1; visibility: visible; transform: none; }
.vf-gnb__lab { padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .28); font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.vf-gnb__panel ul { list-style: none; margin: 6px 0 0; padding: 0; }
.vf-gnb__panel li a { display: block; padding: 10px 0; font-size: 14px; font-weight: 500; white-space: nowrap; }
/* 머리말 높이 70px 에 맞춰 메뉴 줄도 위아래 24px (펼침 패널이 머리말 바로 아래에서 열린다) */
.vf-head .vf-gnb__it > a { padding: 24px 0; }

/* GNB 패널(3단계): 평소에는 2단계만 보이는 좁은 패널, 3단계가 있는 2단계에 마우스를 올리면
   패널이 오른쪽으로 넓어지며 3단계 목록을 보여 준다. 스크립트가 있으면 .is-open/.is-wide(마우스 지연 처리), 없으면 :hover, 키보드는 :focus-within */
.vf-gnb__panel--mega { min-width: 220px; transition: opacity .16s, transform .16s, visibility .16s, padding-right .18s ease; }
.vf-gnb__panel--mega.is-wide,
.vf-gnb:not(.js-intent) .vf-gnb__panel--mega:has(.vf-mg-l > li.has-sub2:hover),
.vf-gnb__panel--mega:has(.vf-mg-l > li.has-sub2:focus-within) { padding-right: 224px; }
/* 넓어진 패널에서도 제목 아래 줄이 패널 끝까지 가게 */
.vf-gnb__panel--mega .vf-gnb__lab { transition: margin-right .18s ease; }
.vf-gnb__panel--mega.is-wide .vf-gnb__lab,
.vf-gnb:not(.js-intent) .vf-gnb__panel--mega:has(.vf-mg-l > li.has-sub2:hover) .vf-gnb__lab,
.vf-gnb__panel--mega:has(.vf-mg-l > li.has-sub2:focus-within) .vf-gnb__lab { margin-right: -200px; }
.vf-mg-l { position: relative; min-width: 172px; }
.vf-mg-l > li > a { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-right: 8px; }
.vf-mg-l > li > a i { font-style: normal; opacity: .5; }
.vf-gnb:not(.js-intent) .vf-mg-l > li.has-sub2:hover > a, .vf-mg-l > li.has-sub2.is-open > a, .vf-mg-l > li.has-sub2:focus-within > a { box-shadow: -12px 0 0 -10px #fff; padding-left: 0; color: #fff; text-shadow: 0 0 0 #fff; }
.vf-gnb__panel .vf-mg-r { position: absolute; left: 100%; top: 0; width: 200px; box-sizing: border-box; margin: 0; padding: 0 0 0 24px; opacity: 0; visibility: hidden; list-style: none; transition: opacity .12s; }
.vf-gnb:not(.js-intent) .vf-mg-l > li.has-sub2:hover > .vf-mg-r, .vf-mg-l > li.has-sub2.is-open > .vf-mg-r, .vf-mg-l > li.has-sub2:focus-within > .vf-mg-r { opacity: 1; visibility: visible; transition-delay: .08s; }
/* 3단계가 없는 2단계에 마우스를 올렸을 때도 고른 줄을 알 수 있게 */
.vf-mg-l > li:not(.has-sub2):hover > a { color: #fff; }

/* ===== 머리말 상단 고정 (스크롤하면 #vf-top 에 .is-fixed, _head.php) ===== */
@keyframes vf-head-in { from { transform: translateY(-110%); } to { transform: none; } }
.vf-head.is-fixed { position: fixed; z-index: 1030; animation: vf-head-in .25s ease-out; }
.vf-head--float.is-fixed { top: 10px; }
.vf-head--bar.is-fixed { top: 0; left: 0; right: 0; box-shadow: 0 6px 20px rgba(14, 9, 36, .25); }
/* 다른 고정 요소는 머리말 아래로 (bar 70px, 떠 있는 머리말 10 + 70px) */
html.vf-head-fixed .vi-tabs { top: 70px; }
html.vf-head-fixed .vi-right, html.vf-head-fixed .vc-side, html.vf-head-fixed .od-side { top: 94px; }
@media (prefers-reduced-motion: reduce) { .vf-head.is-fixed { animation: none; } }

/* 주문내역 조회 조건: 한 줄 정렬, 상태 선택칸 120px */
.ol-filter .ol-row { flex-wrap: nowrap; gap: 12px; }
.ol-filter .ol-sel, #olStatus { flex: 0 0 120px; width: 120px; min-width: 120px; }
.ol-filter .ol-range { flex: 0 0 auto; }
.ol-filter .ol-dates { flex: 0 1 auto; margin-left: auto; }
@media (max-width: 900px) { .ol-filter .ol-row { flex-wrap: wrap; } .ol-filter .ol-dates { margin-left: 0; } }
.ol-filter .ol-dates input[type=date] { width: 120px; min-width: 0; padding: 0 8px; }

/* 주문서: 선택칸 화살표 · 이메일 줄 · 체크박스 효과 (시안) */
.od-f select, .od-mail select, .od-sel, .od-bank select {
  appearance: none; -webkit-appearance: none; padding-right: 32px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23777' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.od-mail { gap: 10px; }
.od-mail input, .od-mail select { height: 40px; }
.od-mail select.is-ph { color: #9a96ab; }
.od-mail em { font-weight: 700; }
.od-chk { align-items: center; gap: 10px; font-size: 13.5px; }
.od-chk input[type=checkbox] {
  appearance: none; -webkit-appearance: none; flex: 0 0 20px; width: 20px; height: 20px; margin: 0; box-sizing: border-box;
  border: 1.5px solid #c9c6d6; border-radius: 4px; background: #fff center / 12px 12px no-repeat; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.od-chk input[type=checkbox]:hover { border-color: #2f6bff; }
.od-chk input[type=checkbox]:checked {
  background-color: #2f6bff; border-color: #2f6bff; transform: scale(1.06);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.6 2.6L10 3.4' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  animation: odChk .22s ease-out;
}
.od-chk input[type=checkbox]:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(47, 107, 255, .25); }
@keyframes odChk { 0% { transform: scale(.8); } 60% { transform: scale(1.14); } 100% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .od-chk input[type=checkbox], .od-chk input[type=checkbox]:checked { transition: none; animation: none; } }

/* 주소는 주소검색으로만 채운다 (우편번호·기본주소 입력칸은 읽기 전용) */
#o-zip[readonly], #o-addr1[readonly] { background: #f7f7f9; color: #141226; cursor: pointer; }
#o-zip[readonly]:focus, #o-addr1[readonly]:focus { box-shadow: none; border-color: #c9c6d6; }

/* 이메일 도메인: 입력칸 + 오른쪽 화살표로 목록 열기 */
.od-dom { position: relative; flex: 1; min-width: 0; }
.od-dom input, .od-dom select { width: 100%; box-sizing: border-box; height: 40px; }
.od-dom input::placeholder { color: #9a96ab; }
.od-dom .od-dom__btn { position: absolute; right: 0; top: 0; width: 36px; height: 40px; border: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23777' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center; cursor: pointer; }
.od-dom input[hidden], .od-dom select[hidden], .od-dom button[hidden] { display: none; }
.od-dom input { padding-right: 36px; }

/* 주문 상세 (product/order/{번호}) — 주문서와 같은 카드 레이아웃 */
.ov .od-main { gap: 14px; }
.ov-note { padding: 16px 20px; border-radius: 12px; font-size: 13.5px; line-height: 1.7; border: 1px solid #e6e4ee; background: #fff; }
.ov-note b { font-weight: 800; }
.ov-note.is-info { background: #f1f6ff; border-color: #cfe0ff; color: #1f3a6b; }
.ov-note.is-warn { background: #fff8e6; border-color: #ffe2a3; color: #6b4a00; }
.ov-note.is-ok { background: #effaf2; border-color: #c4ead0; color: #1f5a33; }
.ov-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 14px; margin-left: 8px; border: 1px solid #c9c6d6; border-radius: 6px; background: #fff; color: #141226; font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; text-decoration: none; line-height: 1; white-space: nowrap; }
.ov-btn--dark { background: #2f2c28; border-color: #2f2c28; color: #fff; }
.ov-btn--line { margin: 8px 0 0; border-color: #c92a4a; color: #c92a4a; }
.ov-mute { color: #8a869c; font-size: 12px; }
.ov-line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid #f0eef6; }
.ov-line:first-child { border-top: 0; padding-top: 0; }
.ov-line__t { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 12.5px; color: #6c6880; }
.ov-line__t b { font-size: 14px; color: #141226; }
.ov-line__t a { text-decoration: none; }
.ov-line__p { font-weight: 800; font-size: 14px; text-align: right; }
.ov-line__a { min-width: 84px; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ov-kv { margin: 0; display: grid; gap: 12px; }
.ov-kv > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; font-size: 13.5px; }
.ov-kv dt { color: #8a869c; font-weight: 400; }
.ov-kv dd { margin: 0; }
.ov-track { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ov-track li { display: grid; grid-template-columns: 130px 90px minmax(0, 1fr); gap: 10px; font-size: 12.5px; }
.ov-track span { color: #8a869c; }
.ov-track em { font-style: normal; color: #4a4560; }
.ov-pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: #ebe5fb; color: #4a2fb0; font-size: 11.5px; font-weight: 700; }
.ov-pill.is-ok { background: #e3f6ea; color: #1f7a3f; }
.ov-pill.is-wait { background: #fff1d6; color: #8a5a00; }
.ov-pill.is-off { background: #eceaf1; color: #6c6880; }
.ov-rt { padding: 14px 0; border-top: 1px solid #f0eef6; }
.ov-rt:first-child { border-top: 0; padding-top: 0; }
.ov-rt__h { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; }
.ov-rt__b { margin: 8px 0 10px; font-size: 12.5px; line-height: 1.7; color: #4a4560; }
.ov-seller { color: #2f6bff; }
.ov-rt form { margin: 0; }
.ov-rt .ov-btn { margin-left: 0; }
.ov-rt__f { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ov-rt__f select, .ov-rt__f input { height: 36px; border: 1px solid #c9c6d6; border-radius: 4px; padding: 0 10px; font: inherit; font-size: 13px; background: #fff; }
.ov-form .od-f select, .ov-form .od-f input, .ov-form .od-f textarea { width: 100%; box-sizing: border-box; }
.ov-qty { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; font-size: 13.5px; }
.ov-qty input { width: 80px; height: 36px; border: 1px solid #c9c6d6; border-radius: 4px; padding: 0 8px; font: inherit; }
.ov-sum2 { margin: 0; padding: 0 22px 14px; display: grid; gap: 10px; }
.ov-sum2 > div { display: flex; justify-content: space-between; font-size: 13px; }
.ov-sum2 dd { margin: 0; }
.ov-rw { margin: -8px 22px 6px; text-align: right; }
.ov-pay { display: flex; align-items: center; justify-content: center; text-decoration: none; margin-top: 6px; }
.ov-cancel { margin: 0; text-align: center; }
.ov-cancel button { border: 0; background: none; padding: 14px 0 20px; font-size: 12px; color: #c92a4a; text-decoration: underline; cursor: pointer; }
@media (max-width: 640px) { .ov-line { grid-template-columns: 1fr auto; } .ov-line__a { grid-column: 1 / -1; align-items: flex-start; text-align: left; } .ov-kv > div { grid-template-columns: 1fr; gap: 2px; } .ov-track li { grid-template-columns: 1fr; } }
.ov-pay { gap: 8px; width: calc(100% - 44px); margin: 6px 22px 22px; color: #fff; font-size: 14px; font-weight: 800; line-height: 1; text-decoration: none; transition: background .15s, transform .15s; }
.ov-pay:hover, .ov-pay:focus-visible { color: #fff; background: #1b1916; transform: translateY(-1px); }
.ov-pay i { font-size: 13px; }
.ov-cancel { margin: -10px 22px 18px; }
.ov-cancel button { display: block; width: 100%; height: 42px; padding: 0; border: 1px solid #e8c7cf; border-radius: 6px; background: #fff; color: #c92a4a; font-size: 13px; font-weight: 700; text-decoration: none; }
.ov-cancel button:hover { background: #fff5f7; border-color: #c92a4a; }
.od-side a.ov-pay, .od-side a.ov-pay:link, .od-side a.ov-pay:visited, .od-side a.ov-pay:hover, .od-side a.ov-pay i { color: #fff !important; }

/* .ol-pager 안의 실제 페이징(board-pagination)도 « ‹ 1 2 3 › » 자리 표시와 같은 모양으로 */
.ol-pager .board-pagination { display: inline-block; margin: 0; padding: 0; background: none; border: 0; }
.ol-pager .board-pagination .board-nav { display: inline-flex; align-items: center; gap: 22px; margin: 0; padding: 0; background: none; border: 0; font-size: 14px; color: #8a869c; }
.ol-pager .board-pagination .board-nav-area { display: inline-flex; align-items: center; gap: 6px; margin: 0; padding: 0; background: none; border: 0; }
.ol-pager .board-pagination a { position: static; display: inline-flex; align-items: center; justify-content: center; float: none; min-width: 0; width: auto; height: auto; margin: 0; padding: 4px 12px; border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important; background: none !important; color: #8a869c; font-size: 14px; line-height: 1.4; text-decoration: none; box-shadow: none; }
.ol-pager .board-pagination a::before, .ol-pager .board-pagination a::after { content: none !important; border: 0 !important; }
.ol-pager .board-pagination a:hover { color: #3b1fa8; }
.ol-pager .board-pagination a.active { color: #3b1fa8; font-weight: 700; border-bottom-color: #3b1fa8 !important; }
.ol-pager .board-pagination a.board-nav-prev:not(.ten)::before { content: '\2039' !important; font-size: 18px; }
.ol-pager .board-pagination a.board-nav-next:not(.ten)::before { content: '\203A' !important; font-size: 18px; }
/* 실제 페이징 글씨 색 (기본 테마의 active 흰 글씨 규칙이 우선되어 안 보이던 문제) */
.ol-pager .board-pagination .board-nav a, .ol-pager .board-pagination .board-nav a.board-nav-page, .ol-pager .board-pagination .board-nav a.board-nav-first, .ol-pager .board-pagination .board-nav a.board-nav-prev, .ol-pager .board-pagination .board-nav a.board-nav-next { color: #8a869c !important; background: none !important; }
.ol-pager .board-pagination .board-nav a:hover, .ol-pager .board-pagination .board-nav a:focus { color: #3b1fa8 !important; background: none !important; }
.ol-pager .board-pagination .board-nav a.board-nav-page.active, .ol-pager .board-pagination .board-nav a.board-nav-page.active:hover { color: #3b1fa8 !important; font-weight: 700; background: none !important; border-bottom: 2px solid #3b1fa8 !important; }

/* .ol-pager: « ‹ 1 2 3 › » (첨부 시안) */
.ol-pager nav { gap: 28px; }
.ol-pager nav a { color: #8a869c; text-decoration: none; padding: 4px 6px; font-size: 14px; }
.ol-pager nav a:hover { color: #3b1fa8; }
.ol-pager nav span { color: #c3c0d0; padding: 4px 6px; }
.ol-pager nav b { font-weight: 800; }

/* 상품후기 게시판 스킨 (public/skins/board/review) */
.rv { max-width: 960px; margin: 0 auto; padding: 48px 16px 80px; color: #141226; }
.rv-title { margin: 0; text-align: center; font-size: 26px; font-weight: 700; }
.rv-tabs { display: flex; justify-content: center; flex-wrap: wrap; margin-top: 44px; border-bottom: 1px solid #e3e1ea; }
.rv-tabs a { padding: 14px 28px; font-size: 15px; color: #4a4560; text-decoration: none; margin-bottom: -1px; }
.rv-tabs a.on { font-weight: 700; color: #2a1070; border-bottom: 2px solid #2a1070; }
.rv-photos { margin-top: 56px; }
.rv-photos h2 { margin: 0 0 18px; font-size: 15px; font-weight: 700; }
.rv-photos__row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.rv-photo { flex: 0 0 88px; width: 88px; text-align: center; text-decoration: none; color: inherit; }
.rv-photo__c { display: block; width: 84px; height: 84px; margin: 0 auto; border-radius: 50%; border: 1px solid #d9cdf3; padding: 2px; box-sizing: border-box; }
.rv-photo__c > span { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #e9e5f2; }
.rv-photo__c img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-photo em { display: block; margin-top: 8px; font-size: 11px; font-style: normal; color: #8a869c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-photo--more .rv-photo__c { border: 0; display: grid; place-items: center; width: 80px; height: 80px; margin-top: 2px; background: #efe9fb; color: #2a1070; font-size: 13px; }
.rv-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.rv-cats a { padding: 6px 14px; border: 1px solid #e3e1ea; border-radius: 999px; font-size: 13px; color: #4a4560; text-decoration: none; }
.rv-cats a.on { background: #2a1070; border-color: #2a1070; color: #fff; }
.rv-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 48px; border-bottom: 1px solid #e3e1ea; }
.rv-views { display: flex; gap: 24px; }
.rv-views a { padding: 10px 2px; font-size: 14px; color: #8a869c; text-decoration: none; margin-bottom: -1px; border-bottom: 1px solid transparent; }
.rv-views a.on { font-weight: 700; color: #3b1fa8; border-bottom-color: #3b1fa8; }
.rv-bar__r { display: flex; align-items: center; gap: 14px; }
.rv-search input { height: 32px; width: 160px; padding: 0 12px; border: 1px solid #e3e1ea; border-radius: 999px; font-size: 13px; outline: 0; }
.rv-search input:focus { border-color: #3b1fa8; }
.rv-write { display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; font-size: 13px; font-weight: 500; color: #3b1fa8; text-decoration: none; }
.rv-write--line { color: #8a869c; }
.rv-list, .rv-album { list-style: none; margin: 0; padding: 0; }
.rv-item { position: relative; display: flex; gap: 30px; padding: 28px 16px; border-bottom: 1px solid #e3e1ea; }
.rv-item.is-notice { background: #faf9fd; }
.rv-chk { position: absolute; left: 0; top: 30px; z-index: 2; }
.rv-item__img { flex: 0 0 116px; width: 116px; height: 116px; background: #ece9f3; display: grid; place-items: center; color: #b3aec6; overflow: hidden; }
.rv-item__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-item__b { flex: 1; min-width: 0; }
.rv-prod { display: block; font-size: 12px; font-weight: 700; color: #7a4fc4; }
.rv-item__t { display: block; margin-top: 6px; font-size: 16px; font-weight: 700; color: #141226; text-decoration: none; }
.rv-item__t:hover { color: #3b1fa8; }
.rv-cmt { color: #7a4fc4; font-size: 13px; font-weight: 500; }
.rv-item__x { margin: 10px 0 0; font-size: 13px; line-height: 1.7; color: #4a4560; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rv-stars { display: block; margin-top: 12px; font-size: 13px; color: #7a4fc4; letter-spacing: 2px; }
.rv-stars i { font-style: normal; color: #d9d4e6; }
.rv-item__d { display: block; margin-top: 6px; font-size: 12px; color: #9a96ac; }
.rv-album { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 18px; padding: 28px 0; }
.rv-album li { position: relative; }
.rv-album a { display: block; text-decoration: none; color: inherit; }
.rv-album__img { display: grid; place-items: center; aspect-ratio: 1; background: #ece9f3; overflow: hidden; color: #b3aec6; }
.rv-album__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-album .rv-prod { margin-top: 12px; }
.rv-album strong { display: block; margin-top: 4px; font-size: 14px; line-height: 1.5; }
.rv-empty { padding: 80px 0; text-align: center; color: #8a869c; border-bottom: 1px solid #e3e1ea; }
@media (max-width: 720px) {
    .rv-tabs a { padding: 12px 14px; font-size: 14px; }
    .rv-item { gap: 16px; padding: 20px 4px; }
    .rv-item__img { flex-basis: 88px; width: 88px; height: 88px; }
    .rv-album { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rv-search input { width: 110px; }
}

/* 언어 전환 (바닥글) */
.vf-foot__lang { justify-content: center; margin-top: 18px; color: #fff; font-size: 12px; }
