:root {
  --navy: #111111;
  --blue: #2b2b2b;
  --teal: #f5a800;
  --gold: #f5a800;
  --ink: #181818;
  --muted: #6f6f6f;
  --line: #e4e1dc;
  --soft: #f7f5f0;
  --shadow: 0 16px 45px rgba(17, 17, 17, .12);
}

.brand-logo {
  width: 275px;
  height: 64px;
  overflow: hidden;
  justify-content: flex-start;
}

.brand-logo img {
  display: block;
  width: 260px;
  height: auto;
}

.hero {
  background: linear-gradient(115deg, #fff9ea 0%, #f6f3eb 58%, #ece7dc 100%);
}

.eyebrow,
.eyebrow.dark,
.hero h1 em {
  color: #d88f00;
}

.btn.primary,
.product-card .badge,
.map b {
  color: #111;
}

.btn.primary:hover {
  background: #dc9500;
}

.record {
  border-color: rgba(245, 168, 0, .42);
}

.record::after {
  border-color: rgba(245, 168, 0, .28);
}

.consult,
.quote-hero {
  background: linear-gradient(120deg, #111, #2b2b2b);
}

.consult .eyebrow,
.quote-hero .eyebrow {
  color: #ffb91f;
}

.payment-grid label:has(input:checked) {
  background: #fff9ea;
}

footer {
  background: #111;
}

.footer-logo {
  width: 280px;
  height: 74px;
  padding: 0;
  background: transparent;
}

.footer-logo img {
  filter: brightness(0) invert(1);
  opacity: .94;
}

.footer-grid { grid-template-columns: 1.2fr 1fr 1.1fr 1fr 1.1fr; gap: 30px; }
.footer-grid p strong { color: #ffbd2e; font-size: 13px; }
.brands .section-head p { margin: 7px 0 0; color: var(--muted); font-size: 12px; }
.category-grid { grid-template-columns: repeat(6,1fr); }
.brand-showcase { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.brand-showcase a { min-height: 175px; padding: 28px; border: 1px solid var(--line); background: #fff; transition: .2s; position: relative; overflow: hidden; }
.brand-showcase a:hover { transform: translateY(-3px); border-color: #f5a800; box-shadow: var(--shadow); }
.brand-showcase a.featured { grid-column: span 2; background: linear-gradient(120deg,#111,#2d2d2d); color: #fff; }
.brand-showcase a.featured::after { content: 'Y'; position: absolute; right: 25px; bottom: -60px; font: 190px/1 Georgia,serif; color: rgba(255,255,255,.05); }
.brand-showcase span { display: block; color: #f5a800; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.brand-showcase b { display: block; margin-top: 12px; font: 700 27px/1 Georgia,serif; }
.brand-showcase p { margin: 12px 0; color: var(--muted); font-size: 11px; }
.brand-showcase .featured p { color: #bbb; }
.brand-showcase em { color: #b17a10; font-size: 10px; font-style: normal; font-weight: 700; }
.brand-showcase .featured em { color: #f5a800; }
.brand-showcase.four-brands { grid-template-columns: repeat(2,1fr); }
.brand-showcase.four-brands a.featured { grid-column: auto; }
.brand-showcase.six-brands { grid-template-columns: repeat(2,1fr); }
.brand-showcase.six-brands a.featured { grid-column: auto; }
.brand-wordmark { min-height: 50px; display: flex; align-items: center; gap: 8px; margin-top: 9px; color: #101820; }
.brand-wordmark b { margin: 0; font: 900 25px/1 Arial,sans-serif; letter-spacing: -.06em; }
.brand-wordmark small { font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.cannonball-card .brand-wordmark b { font-style: italic; letter-spacing: -.075em; }
.cannonball-card .brand-wordmark small { color: #9c6a0b; }
.realmaster-card { background: linear-gradient(135deg,#fff,#fff7e5) !important; }
.realmaster-card .brand-wordmark { color: #111; }
.realmaster-card .brand-wordmark b { letter-spacing: -.055em; }
.realmaster-card .brand-wordmark i { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 50%; background: #f5a800; color: #111; font: 900 18px/1 Arial,sans-serif; }
.consult-product-card .badge { background: #f5a800; color: #111; }
.consult-product-art { width: 100%; height: 100%; min-height: 210px; display: grid; place-content: center; text-align: center; background: radial-gradient(circle at 50% 35%,#3c4650,#111820 68%); color: #fff; }
.consult-product-art span { color: #f5a800; font-size: 11px; font-weight: 800; letter-spacing: .22em; }
.consult-product-art b { margin-top: 10px; font-size: 42px; line-height: 1; letter-spacing: -.055em; }
.consult-product-art small { margin-top: 12px; color: #aeb8bd; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.product-meta .consult-price { color: #b57700; font-size: 17px; }
.website-special-label { display: inline-block; margin: 0 6px 5px 0; padding: 4px 6px; border-radius: 2px; background: #e7f6f1; color: #08714e; font-size: 8px; font-weight: 800; vertical-align: middle; }
.detail-website-special { margin: -8px 0 18px; padding: 9px 12px; background: #e7f6f1; color: #08714e; font-size: 11px; font-weight: 700; }
.detail-floating-buy { position: fixed; z-index: 160; top: 132px; right: max(20px,calc((100vw - 1480px)/2)); width: 270px; padding: 18px; border: 1px solid #dbe1e2; border-top: 4px solid var(--teal); background: rgba(255,255,255,.97); box-shadow: 0 16px 40px rgba(13,37,48,.18); opacity: 0; visibility: hidden; transform: translateX(18px); transition: opacity .2s,transform .2s,visibility .2s; }
.detail-floating-buy.show { opacity: 1; visibility: visible; transform: translateX(0); }
.floating-buy-product { display: grid; grid-template-columns: 58px minmax(0,1fr); gap: 11px; align-items: center; }
.floating-buy-product img { width: 58px; height: 58px; border: 1px solid var(--line); background: #f6f8f8; object-fit: contain; }
.floating-buy-product span,.floating-buy-product b { display: block; }
.floating-buy-product span { color: var(--teal); font-size: 8px; font-weight: 800; letter-spacing: .08em; }
.floating-buy-product b { display: -webkit-box; margin-top: 4px; overflow: hidden; color: var(--navy); font-size: 11px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.floating-buy-price { margin: 15px 0; padding-top: 13px; border-top: 1px solid var(--line); text-align: right; }
.floating-buy-price small,.floating-buy-price del,.floating-buy-price strong { display: block; }
.floating-buy-price small { margin-bottom: 3px; color: var(--teal); font-size: 9px; font-weight: 800; }
.floating-buy-price del { color: var(--muted); font-size: 10px; }
.floating-buy-price strong { color: var(--ink); font-size: 22px; }
.floating-buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.floating-buy-actions .btn { width: 100%; min-height: 43px; margin: 0; padding: 10px 7px; font-size: 10px; white-space: nowrap; }
.floating-buy-actions .floating-kakao-pay { background: #fee500; color: #191919; }
.floating-buy-actions .floating-kakao-pay b { margin-right: 3px; font-size: 9px; letter-spacing: -2px; }
.detail-floating-buy.consult { border-top-color: var(--gold); }
.detail-floating-buy.consult .floating-buy-actions { grid-template-columns: 1fr; }
.detail-floating-buy.consult .floating-buy-price strong { color: #a46f00; font-size: 19px; }
.consult-product-card .product-image { background: #fff; }
.consult-product-card .product-image img { object-fit: contain; }
.detail-main.consult-main { background: #fff; border: 1px solid var(--line); }
.detail-main.consult-main>img { object-fit: contain; }
.detail-content.realmaster-detail { padding: 0; background: #fff; overflow: hidden; }
.realmaster-detail-image { display: block; width: min(100%,995px); height: auto; margin: 0 auto; }
.logo-brands a { min-height: 245px; display: flex; flex-direction: column; justify-content: flex-start; padding: 24px 28px; }
.logo-brands a.featured { background: #fff; color: var(--ink); }
.logo-brands a.featured::after { display: none; }
.logo-brands .brand-logo-art { height: 82px; margin: 15px 0 6px; padding: 12px 16px; display: flex; align-items: center; justify-content: center; border: 1px solid #edf0f1; background: #fff; }
.logo-brands .brand-logo-art img { display: block; max-width: 78%; max-height: 55px; object-fit: contain; }
.logo-brands .yamaha-card .brand-logo-art img { width: 145px; max-height: 60px; }
.logo-brands .kanals-card .brand-logo-art { overflow: hidden; }
.logo-brands .kanals-card .brand-logo-art img { width: 205px; max-width: none; max-height: none; mix-blend-mode: multiply; }
.logo-brands .brand-logo-art.dark { border-color: #171717; background: #171717; }
.logo-brands .crafter-card .brand-logo-art img { width: 170px; max-height: 58px; }
.logo-brands .gopherwood-logo { gap: 16px; }
.logo-brands .gopherwood-logo img { width: 54px; height: 54px; }
.logo-brands .gopherwood-logo b { margin: 0; color: #4d2a17; font: 800 21px/1 Arial,sans-serif; letter-spacing: .05em; }
.logo-brands .cannonball-official { border-color: #d8cfb8; background: #f6f2e8; }
.logo-brands .cannonball-official img { width: 58px; height: 58px; max-width: none; max-height: none; object-fit: contain; }
.logo-brands .cannonball-standard-logo { gap: 15px; }
.logo-brands .cannonball-standard-logo b { margin: 0; color: #17120a; font: 800 21px/1 Arial,sans-serif; letter-spacing: .035em; }
.logo-brands .realmaster-official { overflow: hidden; border-color: #1f1f1f; background: #1f1f1f; padding: 0; }
.logo-brands .realmaster-official img { width: 100%; max-width: 323px; max-height: 82px; object-fit: contain; image-rendering: auto; }
.logo-brands p,.logo-brands .featured p { margin: 12px 0; color: var(--muted); }
.logo-brands em,.logo-brands .featured em { margin-top: auto; color: #b17a10; }
.brand-trademark-note { margin: 13px 0 0; color: #929ca1; text-align: right; font-size: 9px; }
.brand-product-hall { scroll-margin-top: 155px; margin-top: 55px; padding-top: 40px; border-top: 1px solid var(--line); }
.brand-product-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.brand-product-head span { color: #b57800; font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.brand-product-head h3 { margin: 5px 0 3px; color: var(--navy); font-size: 27px; }
.brand-product-head p { margin: 0; color: var(--muted); font-size: 11px; }
.brand-product-head>strong { color: var(--teal); font-size: 13px; white-space: nowrap; }
.brand-hall-tabs { display: grid; grid-template-columns: repeat(6,1fr); margin-bottom: 28px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brand-hall-tabs button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; color: #59666d; font-size: 12px; font-weight: 700; }
.brand-hall-tabs button small { display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 20px; background: var(--soft); color: #879298; font-size: 9px; }
.brand-hall-tabs button:hover { background: #fff9eb; color: #9d6900; }
.brand-hall-tabs button.active { background: var(--navy); color: #fff; }
.brand-hall-tabs button.active small { background: #f5a800; color: #111; }
.brand-product-grid { min-height: 220px; }

/* Keep grid children from forcing horizontal overflow on compact PC/tablet widths. */
.shop-layout,
.products-area,
.product-grid,
.product-card,
.product-image,
.product-meta { min-width: 0; }
.products-area { width: 100%; max-width: 100%; }
.product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.brand-hall-empty { grid-column: 1/-1; padding: 75px 20px; background: var(--soft); color: var(--muted); text-align: center; }
.realmaster-banner { display: grid; grid-template-columns: 110px 1fr auto; gap: 28px; align-items: center; margin-top: 38px; padding: 34px 42px; background: linear-gradient(115deg,#0d0d0d,#262626); color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.realmaster-banner::after { content: 'REAL MASTER'; position: absolute; right: -10px; bottom: -28px; color: rgba(255,255,255,.035); font-size: 68px; font-weight: 900; letter-spacing: -.05em; white-space: nowrap; }
.realmaster-badge { width: 96px; height: 96px; display: grid; place-content: center; text-align: center; border: 2px solid #f5a800; transform: rotate(-3deg); position: relative; z-index: 1; }
.realmaster-badge span { color: #f5a800; font-size: 13px; font-weight: 800; letter-spacing: .25em; padding-left: .25em; }
.realmaster-badge b { font-size: 29px; line-height: 1.15; }
.realmaster-copy { position: relative; z-index: 1; }
.realmaster-copy .eyebrow { margin-bottom: 8px; color: #f5a800; }
.realmaster-copy h2 { margin: 0; font-size: 27px; }
.realmaster-copy h2 strong { color: #f5a800; }
.realmaster-copy p { margin: 8px 0 0; color: #bdbdbd; font-size: 12px; }
.realmaster-actions { display: flex; align-items: center; gap: 20px; position: relative; z-index: 1; }
.realmaster-phone { white-space: nowrap; }
.realmaster-phone small,.realmaster-phone b { display: block; }
.realmaster-phone small { color: #aaa; font-size: 9px; }
.realmaster-phone b { color: #fff; font-size: 17px; }
.field-help { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; font-weight: 400; }
.quote-note small { display: block; margin-top: 8px; color: var(--muted); }
.map-links { display: flex; gap: 8px; margin-top: 18px; }
.map-links a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 15px; border-radius: 4px; font-size: 11px; font-weight: 700; box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.map-links .naver-map { background: #03c75a; color: #fff; }
.map-links .naver-map b { display: grid; place-items: center; width: 19px; height: 19px; background: #fff; color: #03c75a; }
.map-links .kakao-map { background: #fee500; color: #191919; }
.map-links .kakao-map b { font-size: 10px; }
.detail-info #detailBrand { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 15px; padding: 13px 15px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #111; font-size: 15px; font-weight: 800; letter-spacing: .08em; cursor: pointer; }
.detail-info #detailBrand::before { content: 'BRAND'; padding: 4px 7px; background: #111; color: #fff; font-size: 8px; letter-spacing: .15em; }
.detail-info #detailBrand::after { content: '같은 브랜드 상품 보기  →'; margin-left: auto; color: var(--muted); font-size: 9px; font-weight: 500; letter-spacing: 0; }
.detail-info #detailBrand:hover { border-color: #f5a800; color: #b87700; }
.detail-info #detailBrand:focus-visible { outline: 2px solid #f5a800; outline-offset: 2px; }
.shop-mega { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-top: 3px solid #f5a800; box-shadow: 0 22px 45px rgba(0,0,0,.18); z-index: 35; }
.shop-mega.open { display: block; }
.mega-inner { padding-top: 28px; padding-bottom: 34px; }
.mega-head { display: flex; justify-content: space-between; align-items: start; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.mega-head span { color: #b57800; font-size: 9px; font-weight: 800; letter-spacing: .18em; }
.mega-head h2 { margin: 3px 0 0; font-size: 21px; }
.mega-head button { border: 0; background: transparent; font-size: 29px; }
.mega-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 45px; padding-top: 22px; }
.mega-grid h3 { margin: 0; font-size: 15px; }
.mega-grid h3 b { color: #d69209; margin-right: 7px; }
.mega-grid section>p { margin: 4px 0 14px; color: var(--muted); font-size: 10px; }
.mega-category-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.mega-category-group { min-width: 0; padding: 13px; background: var(--soft); border: 1px solid transparent; }
.mega-category-group:hover { border-color: #f5a800; background: #fffaf0; }
.mega-parent { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; padding-bottom: 9px; border-bottom: 1px solid #e2e6e7; }
.mega-parent span { font-size: 21px; }
.mega-parent b { font-size: 12px; }
.mega-parent em { color: #b57800; font-size: 9px; font-style: normal; font-weight: 800; }
.mega-subcategory-links { display: grid; gap: 2px; padding-top: 7px; }
.mega-subcategory-links a { display: flex; align-items: center; justify-content: space-between; min-width: 0; padding: 4px 3px; color: #59666d; font-size: 9px; }
.mega-subcategory-links a:hover { color: #b57800; font-weight: 700; }
.mega-subcategory-links small { color: #9aa3a7; font-size: 8px; }
.mega-brand-links { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.mega-brand-links a { padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mega-brand-links a:hover { background: #fff8e7; }
.mega-brand-links strong,.mega-brand-links span { display: block; }
.mega-brand-links strong { font: 700 15px Georgia,serif; }
.mega-brand-links span { margin-top: 4px; color: var(--muted); font-size: 8px; }
.hero { position: relative; height: 540px; background: #111; }
#heroSlides,.hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; visibility: hidden; transition: opacity .55s ease; overflow: hidden; }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide picture,.hero-slide picture img { display: block; width: 100%; height: 100%; }
.hero-slide picture img { object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.56) 42%,rgba(0,0,0,.08) 78%); }
.hero-slide-content { position: absolute; inset: 0; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; color: #fff; }
.hero-slide-content .eyebrow { color: #f5a800; margin-bottom: 14px; }
.hero-slide-content h1 { max-width: 680px; margin: 0 0 18px; color: #fff; font-size: 48px; line-height: 1.25; letter-spacing: -.04em; }
.hero-slide-content p { max-width: 560px; margin: 0 0 28px; color: #ddd; }
.hero-slide-content .btn { min-width: 145px; }
.hero-arrow { position: absolute; z-index: 4; top: 50%; transform: translateY(-50%); width: 46px; height: 58px; border: 0; background: rgba(0,0,0,.32); color: #fff; font-size: 36px; }
.hero-arrow.prev { left: 18px; }.hero-arrow.next { right: 18px; }
.hero-arrow:hover { background: #f5a800; color: #111; }
.hero-dots { position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; }
.hero-dots button { position: relative; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; }
.hero-dots button::before { content: ''; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-radius: 10px; background: rgba(255,255,255,.55); transform: translate(-50%,-50%); transition: .2s; }
.hero-dots button.active::before { width: 30px; background: #f5a800; }
.hero-pause { position: absolute; z-index: 4; right: 22px; bottom: 16px; width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(0,0,0,.38); color: #fff; font-size: 13px; }
.hero-pause:hover,.hero-pause:focus-visible { background: #f5a800; color: #111; }
.banner-empty { display: grid; place-items: center; height: 100%; color: #fff; }
.banner-admin-list { display: grid; gap: 14px; }
.banner-admin-card { display: grid; grid-template-columns: 220px 1fr; gap: 20px; padding: 16px; background: var(--soft); border: 1px solid var(--line); }
.banner-admin-preview { position: relative; height: 160px; background: #ddd; }
.banner-admin-preview img { width: 100%; height: 100%; object-fit: cover; }
.banner-admin-preview span { position: absolute; left: 8px; top: 8px; display: grid; place-items: center; width: 25px; height: 25px; background: #f5a800; color: #111; font-size: 11px; font-weight: 800; }
.banner-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.banner-field-grid .wide { grid-column: 1/-1; }
.banner-field-grid label { font-size: 10px; font-weight: 700; }
.banner-field-grid input,.banner-field-grid textarea,.banner-field-grid select { display: block; width: 100%; margin-top: 5px; padding: 9px; border: 1px solid var(--line); background: #fff; }
.banner-field-grid textarea { min-height: 58px; resize: vertical; }
.banner-upload-row { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 10px; }
.banner-upload-btn { padding: 8px 12px; background: #111; color: #fff; font-size: 9px; font-weight: 700; cursor: pointer; }
.banner-upload-btn.mobile { background: #626262; }
.banner-upload-btn input { display: none; }
.banner-upload-row small { color: var(--muted); font-size: 8px; }
.banner-upload-row .remove-admin { margin-left: auto; border: 0; background: #fff; color: #b33a2f; padding: 8px 12px; }

#categoryNavLinks { align-self: stretch; display: flex; align-items: stretch; gap: 20px; }
.top-category { position: relative; display: flex; align-items: stretch; }
.category-nav-item { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.category-nav-item i { color: #9aa3a7; font-size: 11px; font-style: normal; transition: transform .18s ease; }
.top-category-dropdown { position: absolute; z-index: 45; top: calc(100% - 1px); left: 50%; width: 225px; padding: 10px; border-top: 3px solid #f5a800; background: #fff; box-shadow: 0 16px 34px rgba(16,43,63,.2); opacity: 0; visibility: hidden; transform: translate(-50%,-7px); transition: opacity .16s ease,transform .16s ease,visibility .16s; }
.top-category:last-child .top-category-dropdown { right: 0; left: auto; transform: translateY(-7px); }
.top-category:hover .top-category-dropdown,.top-category:focus-within .top-category-dropdown { opacity: 1; visibility: visible; transform: translate(-50%,0); }
.top-category:last-child:hover .top-category-dropdown,.top-category:last-child:focus-within .top-category-dropdown { transform: translateY(0); }
.top-category:hover .category-nav-item i,.top-category:focus-within .category-nav-item i { color: #b57800; transform: rotate(180deg); }
.top-category-dropdown strong { display: block; margin-bottom: 6px; padding: 7px 8px 10px; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 12px; }
.top-category-dropdown a { display: flex; align-items: center; justify-content: space-between; padding: 8px; color: #55636a; font-size: 11px; font-weight: 500; }
.top-category-dropdown a:hover,.top-category-dropdown a:focus-visible { background: #fff6df; color: #a66e00; outline: none; }
.top-category-dropdown small { color: #98a2a7; font-size: 9px; }
.gnb .wrap { gap: 20px; }
.category-nav-item { font-size: 12px; }
.category-grid { grid-template-columns: repeat(6,1fr); }
.category-grid a { display: flex; flex-direction: column; min-width: 0; }
.category-grid small { min-height: 30px; line-height: 1.45; }
.category-grid em { margin-top: 9px; color: #b57800; font-size: 9px; font-style: normal; font-weight: 800; }
.filter-category-all,.filter-category-parent { display: flex !important; align-items: center; gap: 5px; }
.filter-category-all span,.filter-category-parent span,.filter-subcategory span { margin-left: auto; color: #98a2a7; font-size: 9px; }
.filter-category-group { padding: 7px 0; border-bottom: 1px solid #edf0f1; }
.filter-category-parent { margin: 3px 0 6px !important; color: var(--navy) !important; }
.filter-subcategory { display: flex !important; align-items: center; padding-left: 20px; margin: 6px 0 !important; font-size: 11px !important; }
.filter-subcategory:has(input:checked),.filter-category-parent:has(input:checked),.filter-category-all:has(input:checked) { color: #b57800 !important; font-weight: 800; }
.admin-link { color: #b87900; margin-left: auto; }
.admin-link[hidden] { display: none !important; }

.commerce-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 26px; border: 1px solid #dfe5e8; background: #fff; }
.commerce-facts > div { min-height: 116px; padding: 24px 22px; border-right: 1px solid #dfe5e8; }
.commerce-facts > div:last-child { border-right: 0; }
.commerce-facts b { display: block; margin-bottom: 8px; color: var(--navy); font-size: 15px; }
.commerce-facts span { color: #5f6d73; font-size: 12px; line-height: 1.65; }
@media (max-width: 900px) {
  .commerce-facts { grid-template-columns: 1fr 1fr; }
  .commerce-facts > div:nth-child(2) { border-right: 0; }
  .commerce-facts > div:nth-child(-n+2) { border-bottom: 1px solid #dfe5e8; }
}
@media (max-width: 560px) {
  .commerce-facts { grid-template-columns: 1fr; margin-top: 14px; }
  .commerce-facts > div { min-height: auto; padding: 17px 18px; border-right: 0; border-bottom: 1px solid #dfe5e8; }
  .commerce-facts > div:last-child { border-bottom: 0; }
}
.admin-notice { display: flex; gap: 18px; align-items: center; background: #111; color: #fff; padding: 18px 22px; margin-bottom: 24px; }
.admin-notice b { color: #ffb91f; white-space: nowrap; }
.admin-notice span { color: #d0d0d0; font-size: 12px; }
.admin-grid { display: grid; gap: 24px; }
.admin-panel { border: 1px solid var(--line); background: #fff; padding: 28px; }
.admin-panel-head { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 22px; }
.admin-panel-head h2 { margin: 0; font-size: 21px; }
.admin-panel-head p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.admin-list { display: grid; gap: 10px; }
.admin-row { display: grid; grid-template-columns: 70px 1fr 1fr 1.2fr auto; gap: 10px; align-items: center; padding: 12px; background: var(--soft); }
.admin-row.product-row { grid-template-columns: 1.4fr .7fr .8fr .8fr 1.6fr auto; }
.admin-row input,.admin-row select { width: 100%; min-width: 0; padding: 10px; border: 1px solid var(--line); background: #fff; }
.admin-row .remove-admin { border: 0; background: #fff; color: #b33a2f; padding: 10px 12px; }
.admin-row-actions { display: flex; gap: 5px; }
.admin-row .detail-admin { border: 0; background: #111; color: #fff; padding: 10px 12px; white-space: nowrap; }
.admin-row .price-reset-admin { border: 1px solid #94c9b5; background: #eff9f5; color: #12694e; padding: 9px 10px; white-space: nowrap; }
.admin-labels { background: transparent; padding-top: 0; padding-bottom: 0; font-size: 10px; color: var(--muted); font-weight: 700; }
.admin-savebar { display: flex; justify-content: flex-end; margin-top: 20px; }
.website-price-manager { border-top: 4px solid var(--teal); }
.website-price-status { padding: 7px 10px; border-radius: 20px; background: #fff3d4; color: #7e5b00; font-size: 10px; font-weight: 800; white-space: nowrap; }
.website-price-status.ready { background: #e6f7f0; color: #08714e; }
.website-price-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 18px; }
.website-price-stats>div { padding: 16px; background: var(--soft); text-align: center; }
.website-price-stats span,.website-price-stats strong { display: block; }
.website-price-stats span { color: var(--muted); font-size: 10px; }
.website-price-stats strong { margin-top: 4px; color: var(--navy); font-size: 23px; }
.website-price-controls { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 12px; align-items: end; }
.website-price-controls label { color: var(--navy); font-size: 10px; font-weight: 700; }
.website-price-controls input,.website-price-controls select { display: block; width: 100%; margin-top: 6px; padding: 11px; border: 1px solid var(--line); background: #fff; }
.website-price-controls label:nth-child(2) { position: relative; }
.website-price-controls label:nth-child(2) small { position: absolute; right: 10px; bottom: 12px; color: var(--muted); font-size: 9px; }
.website-price-actions { display: flex; gap: 7px; }
.website-price-actions .btn { margin: 0; min-height: 39px; padding: 10px 13px; white-space: nowrap; }
.website-price-actions .btn:disabled { opacity: .45; cursor: not-allowed; }
.website-price-help { display: flex; gap: 12px; margin-top: 16px; padding: 13px 15px; background: #f6f8f8; color: var(--muted); font-size: 10px; }
.website-price-help b { color: var(--navy); white-space: nowrap; }
.order-choice-head { text-align: center; padding: 18px 0 42px; }
.order-choice-head h1 { margin: 0 0 10px; color: var(--navy); font-size: 36px; }
.order-choice-head p { margin: 0; color: var(--muted); }
.order-choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: auto; }
.order-choice-card { border: 1px solid var(--line); padding: 38px; background: #fff; box-shadow: 0 10px 35px rgba(17,17,17,.07); }
.order-choice-card.member-card { border-top: 4px solid var(--teal); }
.choice-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff4d8; color: #9b6500; font-size: 24px; }
.order-choice-card h2 { margin: 18px 0 5px; font-size: 23px; }
.order-choice-card>p { color: var(--muted); font-size: 12px; margin-bottom: 23px; }
.order-choice-card label { display: block; font-size: 12px; font-weight: 700; margin-top: 13px; }
.order-choice-card input { display: block; width: 100%; border: 1px solid var(--line); padding: 13px; margin-top: 6px; outline-color: var(--teal); }
.order-choice-card .btn { margin-top: 20px; }
.choice-links { display: flex; justify-content: center; gap: 13px; margin: 14px 0; font-size: 10px; color: var(--muted); }
.order-choice-card ul { margin: 24px 0 0; padding: 18px 18px 0 34px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; line-height: 2; }
.social-login { display: grid; gap: 9px; margin: 18px 0; }
.social-login-button { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; border-radius: 4px; font-size: 13px; font-weight: 800; white-space: nowrap; }
.social-login-button b { display: grid; place-items: center; width: 22px; height: 22px; font-size: 16px; }
.naver-login { background: #03c75a; color: #fff; }
.naver-login:hover { background: #02b351; }
.kakao-login { background: #fee500; color: #191919; }
.kakao-login:hover { background: #f4dc00; }
.kakao-login b { width: auto; font-size: 11px; letter-spacing: -2px; }
.social-login-divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 10px; }
.social-login-divider::before,.social-login-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.social-session { padding: 16px; border: 1px solid #cce4dc; background: #f3fbf8; }
.social-session strong,.social-session span { display: block; }
.social-session strong { color: var(--navy); font-size: 14px; }
.social-session span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.social-session .social-session-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 14px; }
.social-session .social-session-actions .btn { margin: 0; padding: 11px 12px; }
.signup-modal-card { width: min(820px,100%); max-height: 92vh; padding: 0; overflow: auto; border-radius: 8px; }
.signup-modal-card .modal-close { z-index: 2; right: 22px; top: 16px; }
.signup-heading { padding: 34px 38px 22px; border-bottom: 1px solid var(--line); }
.signup-heading .eyebrow { margin-bottom: 8px; }
.signup-heading h2 { margin: 0; color: var(--navy); font-size: 27px; }
.signup-heading p { margin: 7px 0 0; color: var(--muted); font-size: 11px; }
.signup-heading p b,.signup-section label>em { color: #d34c3f; font-style: normal; }
.signup-social { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 24px 38px 0; }
.signup-social a { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; border-radius: 4px; font-size: 12px; font-weight: 800; }
.signup-social a b { font-size: 15px; }
.signup-divider { display: flex; align-items: center; gap: 12px; padding: 20px 38px 0; color: var(--muted); font-size: 10px; }
.signup-divider::before,.signup-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.signup-modal-card form { padding: 0 38px 36px; }
.signup-section { padding: 26px 0; border-bottom: 1px solid var(--line); }
.signup-section-title { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.signup-section-title>b { display: grid; place-items: center; flex: 0 0 29px; height: 29px; border-radius: 50%; background: var(--navy); color: #fff; font-size: 10px; }
.signup-section-title h3 { margin: 0; color: var(--navy); font-size: 16px; }
.signup-section-title h3 span { margin-left: 5px; color: var(--muted); font-size: 9px; font-weight: 500; }
.signup-section-title p { margin: 3px 0 0; color: var(--muted); font-size: 10px; }
.signup-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.signup-form-grid label { margin: 0; font-size: 11px; font-weight: 700; }
.signup-form-grid .wide { grid-column: 1/-1; }
.signup-form-grid input { width: 100%; height: 44px; margin-top: 6px; padding: 0 12px; border: 1px solid var(--line); border-radius: 3px; outline-color: var(--teal); }
.signup-form-grid label>input+input { margin-top: 7px; }
.signup-form-grid small { display: block; min-height: 16px; margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 400; }
.signup-form-grid small.valid { color: var(--teal); }
.signup-email-code[hidden] { display: none; }
.signup-email-code>span { display: block; }
.signup-email-code .signup-inline { margin-top: 6px; }
.signup-email-code .signup-inline input { margin-top: 0; letter-spacing: 4px; font-weight: 700; }
.signup-email-code button:disabled,.signup-inline button:disabled { opacity: .58; cursor: default; }
.signup-inline { display: grid; grid-template-columns: 1fr auto; gap: 7px; }
.signup-inline button { align-self: end; height: 44px; padding: 0 15px; border: 1px solid var(--navy); border-radius: 3px; background: #fff; color: var(--navy); font-size: 10px; font-weight: 700; white-space: nowrap; }
.address-inline { grid-template-columns: 160px auto; justify-content: start; }
.signup-agree-all,.signup-agree-list label { display: flex!important; align-items: flex-start; gap: 10px; margin: 0; }
.signup-agree-all { padding: 16px; border: 1px solid var(--navy); background: #f5f8f9; }
.signup-agree-all input,.signup-agree-list input { width: 17px!important; height: 17px; flex: 0 0 auto; margin: 2px 0 0!important; accent-color: var(--teal); }
.signup-agree-all span,.signup-agree-list span { flex: 1; }
.signup-agree-all b,.signup-agree-all small,.signup-agree-list b,.signup-agree-list small { display: block; }
.signup-agree-all b { font-size: 13px; }
.signup-agree-all small,.signup-agree-list small { margin-top: 3px; color: var(--muted); font-size: 9px; font-weight: 400; line-height: 1.5; }
.signup-agree-list { border: 1px solid var(--line); border-top: 0; }
.signup-agree-list label { padding: 13px 15px; border-bottom: 1px solid #edf0f1; }
.signup-agree-list label:last-child { border-bottom: 0; }
.signup-agree-list label>button { border: 0; background: none; color: var(--muted); font-size: 9px; text-decoration: underline; white-space: nowrap; }
.signup-submit { padding-top: 24px; }
.signup-submit p { margin: 0 0 12px; color: var(--muted); font-size: 10px; text-align: center; }
@media(max-width:600px){.signup-modal-card{max-height:95vh;border-radius:0}.signup-heading{padding:28px 22px 18px}.signup-heading h2{font-size:22px}.signup-social{grid-template-columns:1fr;padding:20px 22px 0}.signup-divider{padding:17px 22px 0}.signup-modal-card form{padding:0 22px 28px}.signup-form-grid{grid-template-columns:1fr;gap:14px}.signup-form-grid .wide{grid-column:auto}.signup-section{padding:22px 0}.address-inline{grid-template-columns:1fr auto}.signup-agree-list label{padding:12px}.signup-agree-list label>button{padding:0}.signup-modal-card .modal-close{right:12px;top:9px}}
.member-forgot-link { display: block; width: 100%; margin-top: 10px; border: 0; background: none; color: var(--muted); font-size: 10px; text-decoration: underline; }
.member-reset-card { width: min(470px,100%); }
.member-reset-card>p { margin: -8px 0 22px; color: var(--muted); font-size: 11px; }
.member-reset-card form label { display: block; margin: 13px 0; color: var(--navy); font-size: 11px; font-weight: 700; }
.member-reset-card form input { display: block; width: 100%; margin-top: 6px; padding: 12px; border: 1px solid var(--line); }
.member-reset-card>small { display: block; margin-top: 14px; color: var(--muted); font-size: 9px; line-height: 1.6; }
.reset-email-status { margin-top: 14px; padding: 12px; font-size: 10px; line-height: 1.6; }
.reset-email-status.success { background: #edf8f3; color: #16704e; }
.reset-email-status.pending { background: #fff6d9; color: #735400; }
.reset-email-status.error { background: #fff0ee; color: #a33f35; }
.backup-reset { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 16px; }
.backup-reset summary { color: var(--muted); cursor: pointer; font-size: 10px; text-align: center; }
.backup-reset>p { color: var(--muted); font-size: 10px; }
.member-backup-toggle { margin: 14px 0 4px; border: 0; background: none; color: var(--muted); font-size: 10px; text-decoration: underline; }
.recovery-code-card { width: min(470px,100%); text-align: center; }
.recovery-code-card>p { color: var(--muted); font-size: 11px; }
.recovery-code-card>strong { display: block; margin: 22px 0 12px; padding: 17px 10px; border: 1px dashed var(--teal); background: #f1f9f8; color: var(--navy); font-family: monospace; font-size: 20px; letter-spacing: .08em; }
.recovery-code-card>strong[hidden],.recovery-code-card .btn[hidden] { display: none; }
.recovery-code-card .btn { margin-top: 9px; }
.recovery-warning { margin: 16px 0 4px; color: #b1483d; font-size: 10px; }
.server-member-welcome { gap: 20px; }
.member-welcome-actions { display: flex; align-items: flex-end; flex-direction: column; gap: 12px; }
.account-links { display: flex; gap: 7px; }
.account-links a,.account-links span { padding: 7px 10px; border-radius: 3px; background: #fff; color: var(--navy); font-size: 9px; font-weight: 800; }
.account-links a { display: flex; min-height: 44px; align-items: center; justify-content: center; }
.account-links .connected.naver { background: #03c75a; color: #fff; }
.account-links .connected.kakao { background: #fee500; color: #191919; }
@media(max-width:600px){.member-reset-card,.recovery-code-card{width:100%;padding:27px 22px}.server-member-welcome{align-items:flex-start;flex-direction:column}.member-welcome-actions{width:100%;align-items:stretch}.account-links{display:grid;grid-template-columns:1fr 1fr}.account-links a,.account-links span{text-align:center}.recovery-code-card>strong{font-size:16px}}
.guest-note { margin-top: 24px; padding: 14px; background: var(--soft); color: var(--muted); font-size: 10px; }
.order-mode { display: inline-block; vertical-align: middle; margin-left: 10px; padding: 5px 9px; background: #fff3ce; color: #8f6000; font-size: 11px; }
.product-editor-modal { overflow-y: auto; align-items: start; padding: 35px 20px; }
.product-editor-card { width: min(900px,100%); padding: 38px; margin: auto; }
.product-editor-head h2 { margin: 0; font-size: 27px; }
.product-editor-head p { margin: 6px 0 25px; color: var(--muted); font-size: 12px; }
.editor-section { border-top: 1px solid var(--line); padding: 22px 0; }
.editor-section h3 { margin: 0 0 16px; font-size: 15px; }
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.editor-grid .wide { grid-column: 1/-1; }
.editor-grid label { margin: 0; }
.editor-grid input,.editor-grid select,.editor-grid textarea { display: block; width: 100%; margin-top: 7px; padding: 11px; border: 1px solid var(--line); background: #fff; }
.editor-grid textarea { min-height: 95px; resize: vertical; }
.editor-grid small { display: block; margin-top: 5px; color: var(--muted); font-weight: 400; }
.editor-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 15px; }
.product-upload-box { grid-column: 1/-1; display: grid; grid-template-columns: 170px 1fr; gap: 20px; align-items: center; padding: 18px; border: 1px dashed #c9b178; background: #fffaf0; }
.product-upload-box img { width: 170px; height: 130px; object-fit: cover; background: #eeeae1; }
.product-upload-box b { font-size: 13px; }
.product-upload-box p { margin: 5px 0 12px; color: var(--muted); font-size: 10px; }
.upload-button { display: inline-flex!important; width: auto; margin: 0!important; padding: 9px 15px; background: #111; color: #fff; cursor: pointer; }
.upload-button input { display: none!important; }

@media (max-width: 900px) {
  #categoryNavLinks,.top-category { display: contents; }
  .category-nav-item i,.top-category-dropdown { display: none; }
  .admin-row,.admin-row.product-row { grid-template-columns: 1fr 1fr; }
  .admin-labels { display: none; }
  .admin-row .remove-admin { grid-column: 1/-1; }
  .admin-row-actions { grid-column: 1/-1; }
  .order-choice-grid { grid-template-columns: 1fr; max-width: 520px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .brand-showcase { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: repeat(3,1fr); }
  .realmaster-banner { grid-template-columns: 85px 1fr; padding: 28px; }
  .realmaster-badge { width: 76px; height: 76px; }
  .realmaster-actions { grid-column: 2; }
  .shop-mega { position: fixed; top: 68px; bottom: 0; overflow-y: auto; }
  .mega-grid { grid-template-columns: 1fr; }
  .banner-admin-card { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .brand-logo {
    width: 145px;
    height: 45px;
  }

  .brand-logo img {
    width: 145px;
  }

  .footer-logo {
    width: 220px;
    height: 64px;
  }

  .footer-logo img {
    width: 210px;
  }
  .admin-panel { padding: 18px; }
  .admin-panel-head { align-items: flex-start; flex-direction: column; }
  .admin-row,.admin-row.product-row { grid-template-columns: 1fr; }
  .admin-row .remove-admin { grid-column: auto; }
  .admin-row-actions { grid-column: auto; }
  .product-admin-list,.product-admin-list .admin-row { min-width: 0; max-width: 100%; }
  .product-admin-list .admin-row { overflow: hidden; }
  .product-admin-list .admin-row-actions { min-width: 0; flex-wrap: wrap; }
  .product-admin-list .admin-row-actions button { flex: 1 1 120px; min-width: 0; }
  .order-choice-head h1 { font-size: 28px; }
  .order-choice-card { padding: 25px; }
  .product-editor-card { padding: 24px; }
  .editor-grid { grid-template-columns: 1fr; }
  .editor-grid .wide { grid-column: auto; }
  .product-upload-box { grid-template-columns: 1fr; }
  .product-upload-box img { width: 100%; height: 200px; }
  .brand-showcase { grid-template-columns: 1fr; }
  .brand-showcase a.featured { grid-column: auto; }
  .brand-product-hall { margin-top: 38px; padding-top: 28px; }
  .brand-product-head { align-items: flex-start; }
  .brand-product-head h3 { font-size: 22px; }
  .brand-product-head p { max-width: 240px; }
  .brand-hall-tabs { display: flex; overflow-x: auto; border-left: 0; }
  .brand-hall-tabs button { flex: 0 0 auto; min-width: 112px; padding: 0 13px; border-left: 1px solid var(--line); }
  .realmaster-banner { grid-template-columns: 1fr; text-align: center; }
  .realmaster-badge { margin: auto; }
  .realmaster-actions { grid-column: auto; justify-content: center; flex-wrap: wrap; }
  .realmaster-copy h2 { font-size: 23px; }
  .mega-category-links { grid-template-columns: 1fr 1fr; }
  .mega-brand-links { grid-template-columns: 1fr; }
  .hero { height: 620px; }
  .hero-shade { background: linear-gradient(0deg,rgba(0,0,0,.84),rgba(0,0,0,.25)); }
  .hero-slide-content { justify-content: flex-end; padding-bottom: 78px; }
  .hero-slide-content h1 { font-size: 35px; }
  .hero-slide-content p { font-size: 13px; }
  .hero-arrow { width: 36px; height: 48px; font-size: 28px; }
  .hero-arrow.prev { left: 6px; }.hero-arrow.next { right: 6px; }
  .hero-pause { right: 10px; bottom: 12px; width: 34px; height: 34px; }
  .banner-field-grid { grid-template-columns: 1fr; }
  .banner-field-grid .wide { grid-column: auto; }
}

@media (min-width: 601px) and (max-width: 900px) {
  .shop-layout { grid-template-columns: minmax(0,1fr); width: 100%; }
  .products-area,#allProducts { min-width: 0; width: 100%; max-width: 100%; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-card { width: 100%; overflow: hidden; }
  .board-tools { flex-wrap: wrap; gap: 12px; }
  .board-tools .tabs { max-width: 100%; overflow-x: auto; scrollbar-width: thin; }
  .board-tools .tabs button { flex: 0 0 auto; white-space: nowrap; }
  .board-tools input { width: min(100%,320px); max-width: 100%; margin-left: auto; }
}
.admin-row.product-row{position:relative}.source-badge{position:absolute;z-index:2;left:3px;top:-7px;padding:2px 6px;border-radius:3px;background:#e8f4ed;color:#167542;font-size:9px;font-weight:800}.detail-main .badge[hidden]{display:none}
.smartstore-detail-frame{display:block;width:100%;height:600px;border:0;background:#fff;margin-top:30px;overflow:hidden}.thumbs{overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.thumbs::-webkit-scrollbar{display:none}.thumbs button{flex:0 0 70px}
.product-detail-fallback{max-width:960px;margin:32px auto 0;border:1px solid var(--line);background:#fff;text-align:left}.detail-fallback-heading{padding:44px 48px 36px;background:linear-gradient(135deg,#eff7f6,#f8fafb)}.detail-fallback-heading h2{margin:9px 0 13px;color:var(--navy);font-size:30px}.detail-fallback-heading p{margin:0;color:var(--muted);line-height:1.8}.detail-fallback-points{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.detail-fallback-points>div{padding:24px;border-right:1px solid var(--line)}.detail-fallback-points>div:last-child{border-right:0}.detail-fallback-points b,.detail-fallback-points span{display:block}.detail-fallback-points b{color:var(--navy);margin-bottom:7px}.detail-fallback-points span{color:var(--muted);font-size:12px;line-height:1.6}.detail-fallback-body{display:grid;grid-template-columns:minmax(260px,38%) 1fr;gap:36px;align-items:start;padding:44px 48px}.detail-fallback-body>img{display:block;width:100%;max-height:380px;object-fit:contain;background:#f7f8f8}.detail-fallback-body dl{margin:0;border-top:2px solid var(--navy)}.detail-fallback-body dl>div{display:grid;grid-template-columns:110px 1fr;border-bottom:1px solid var(--line)}.detail-fallback-body dt,.detail-fallback-body dd{padding:14px 12px;margin:0;font-size:12px;line-height:1.65}.detail-fallback-body dt{background:var(--soft);font-weight:800;color:var(--navy)}.detail-fallback-body dd{color:#4e5c65}
@media(max-width:700px){.detail-fallback-heading{padding:30px 20px 25px}.detail-fallback-heading h2{font-size:23px}.detail-fallback-points{grid-template-columns:1fr}.detail-fallback-points>div{padding:18px 20px;border-right:0;border-bottom:1px solid var(--line)}.detail-fallback-points>div:last-child{border-bottom:0}.detail-fallback-body{grid-template-columns:1fr;gap:24px;padding:28px 20px}.detail-fallback-body>img{max-height:300px}.detail-fallback-body dl>div{grid-template-columns:88px 1fr}.detail-fallback-body dt,.detail-fallback-body dd{padding:12px 9px}}
.blog-feed-section{background:#f4f7f8}.blog-feed-section .section-head p{margin:7px 0 0;color:#68757e;font-size:13px}.blog-feed-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.blog-feed-card{display:block;background:#fff;border:1px solid #e0e6e9;transition:.2s}.blog-feed-card:hover{transform:translateY(-4px);box-shadow:0 16px 40px rgba(16,43,63,.12)}.blog-feed-image{height:190px;overflow:hidden;background:#e6ecee}.blog-feed-image img{width:100%;height:100%;object-fit:cover}.blog-feed-image.fallback{display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(135deg,#03c75a,#079b50);color:#fff}.blog-feed-image.fallback b{font-size:45px}.blog-feed-image.fallback span{font-size:12px}.blog-feed-copy{padding:20px}.blog-feed-copy>span{font-size:9px;letter-spacing:.08em;color:#03a94f;font-weight:800}.blog-feed-copy h3{height:48px;overflow:hidden;font-size:16px;line-height:1.5;margin:8px 0;color:#102b3f}.blog-feed-copy p{height:42px;overflow:hidden;font-size:12px;color:#68757e;margin:0 0 15px}.blog-feed-copy em{font-style:normal;font-size:11px;font-weight:700;color:#1d8d8b}@media(max-width:700px){.blog-feed-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}.blog-feed-card{min-width:82%;scroll-snap-align:start}.blog-feed-image{height:180px}}

/* Mobile Korean typography: keep short labels intact and wrap sentences by word. */
body { word-break: keep-all; overflow-wrap: break-word; }
@media (max-width: 600px) {
  .btn,.tabs button,.detail-tabs button,.filter-toggle,.category-btn,.payment-grid b,
  .category-grid b,.brand-row b,.trust strong,.quick-nav a,.badge,.order-mode,
  .admin-row-actions button,.inventory-live-actions button,.map-links a {
    white-space: nowrap;
    word-break: keep-all;
  }
  .btn { padding-left: 16px; padding-right: 16px; font-size: 12px; }
  .btn.small { padding-left: 12px; padding-right: 12px; }
  .topbar { padding-left: 10px; padding-right: 10px; line-height: 1.45; }
  .topbar strong { display: inline-block; margin-left: 6px; white-space: nowrap; }
  .trust { gap: 12px 8px; }
  .trust>div { min-width: 0; gap: 8px; }
  .trust strong { font-size: 12px; }
  .trust span { font-size: 10px; }
  .section-head { gap: 12px; }
  .section-head h2 { line-height: 1.35; }
  .section-head>a { flex: none; white-space: nowrap; font-size: 11px; }
  .detail-tabs { display: flex; overflow-x: auto; scrollbar-width: none; }
  .detail-tabs::-webkit-scrollbar { display: none; }
  .detail-tabs button { flex: 1 0 auto; min-width: 78px; padding: 12px 10px; }
  .payment-grid label { min-width: 0; padding: 14px 16px; }
  .payment-grid b { font-size: 12px; }
  .brand-row b { padding-left: 5px; padding-right: 5px; font-size: 16px; }
  .category-grid a { min-width: 132px; padding-left: 12px; padding-right: 12px; }
  .category-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
  .category-grid a { flex: 0 0 42%; scroll-snap-align: start; }
  .mega-category-links { grid-template-columns: 1fr; }
  .mega-category-group { padding: 12px; }
  .notice-strip strong,.realmaster-phone { white-space: nowrap; }
  .board em,.product-card .badge,.source-badge { white-space: nowrap; }
  .form-grid label,.customer-card label,.editor-grid label { min-width: 0; }
  .inline { min-width: 0; }
  .inline input { min-width: 0; }
  .inline .btn { flex: none; }

  footer { padding: 28px 0 16px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
    align-items: start;
  }
  .footer-grid .footer-logo {
    grid-column: 1 / -1;
    width: 155px;
    height: 44px;
    margin-bottom: 2px;
  }
  .footer-logo img { width: 148px; }
  .footer-grid>div { min-width: 0; }
  .footer-grid>div:last-child {
    grid-column: 1 / -1;
    padding-top: 12px;
    border-top: 1px solid #304653;
  }
  .footer-grid b { display: block; font-size: 12px; line-height: 1.4; }
  .footer-grid p { margin: 6px 0 0; font-size: 10px; line-height: 1.65; }
  .footer-grid>div:first-of-type b { white-space: nowrap; }
  .copyright { margin-top: 18px; padding-top: 14px; font-size: 9px; line-height: 1.6; }
  .copyright span { margin-top: 5px; }
}
#detail.realmaster-consult-detail .pay-buttons{display:none!important}
#detail.realmaster-consult-detail .buy-actions{grid-template-columns:52px 1fr}
#detail.realmaster-consult-detail .buy-actions [data-action="add-cart"]{display:none!important}
.consult-phone-guide{margin-top:10px;padding:16px 18px;border:1px solid #d8c38c;background:#fff9ea;display:grid;grid-template-columns:1fr auto;gap:5px 15px;align-items:center}
.consult-phone-guide[hidden]{display:none!important}
.consult-phone-guide b{color:#111;font-size:12px}
.consult-phone-guide a{grid-row:1/3;grid-column:2;color:#9d6900;font-size:20px;font-weight:800;white-space:nowrap}
.consult-phone-guide small{color:#706759;font-size:10px;line-height:1.6}

/* Mobile layout refinement: prevent wide product media from pushing the page. */
@media (max-width: 600px) {
  .consult-phone-guide{grid-template-columns:1fr;padding:14px}
  .consult-phone-guide a{grid-row:auto;grid-column:auto;font-size:22px}
  html,body { max-width: 100%; overflow-x: clip; }
  .wrap,.section,.brands,.brand-product-hall,.product-grid,.product-card,
  .product-image,.product-meta,.blog-feed-grid,.category-grid { min-width: 0; max-width: 100%; }

  .header-main { height: 60px; gap: 8px; }
  .header-main .brand-logo { flex: 0 0 122px; width: 122px; height: 39px; }
  .header-main .brand-logo img { width: 122px; }
  .header-main .search { min-width: 0; }
  .header-main .quick-nav { flex: 0 0 auto; }

  .section { padding-top: 48px; padding-bottom: 48px; }
  .section-head { align-items: flex-start; }
  .section-head>div { min-width: 0; }
  .section-head h2 { font-size: 21px; }
  .section-head p { line-height: 1.65; }

  .product-grid,.brand-product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 16px 10px;
    width: 100%;
  }
  .product-card { width: 100%; overflow: hidden; }
  .product-image { width: 100%; height: 172px; }
  .product-image img { display: block; width: 100%; max-width: 100%; height: 100%; object-fit: contain; }
  .product-meta { width: 100%; padding: 13px 4px 5px; }
  .product-meta h3 { min-height: 38px; margin: 5px 0 7px; line-height: 1.45; overflow-wrap: anywhere; word-break: keep-all; }
  .product-meta strong { font-size: 15px; }
  .product-card .badge { top: 7px; left: 7px; font-size: 8px; }

  .detail-grid,.detail-main,.detail-info,.buy-actions,.pay-buttons,.detail-content {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }
  .detail-grid { grid-template-columns: minmax(0,1fr); }
  .detail-main { height: 350px; }
  .detail-main>img { display: block; width: 100%; max-width: 100%; height: 100%; object-fit: contain; }
  .detail-info h1 { overflow-wrap: anywhere; word-break: keep-all; }
  .detail-info #detailBrand { gap: 7px; padding: 11px 10px; font-size: 13px; letter-spacing: .04em; }
  .detail-info #detailBrand::before { flex: none; }
  .detail-info #detailBrand::after { content: '브랜드 상품 →'; margin-left: auto; white-space: nowrap; }
  .buy-actions { grid-template-columns: 44px minmax(0,1fr) minmax(0,1fr); }
  .pay-buttons { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pay-buttons button { min-width: 0; padding-left: 6px; padding-right: 6px; }
  .detail-content img,.realmaster-detail-image { display: block; width: 100%; max-width: 100%; height: auto; }
  #detail .detail-grid { display: block; width: 100% !important; max-width: 100% !important; overflow: hidden; }
  #detail .detail-main,#detail .detail-info {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
  }
  #detail .detail-info { margin-top: 28px; }
  #detail .detail-info>* { max-width: 100%; box-sizing: border-box; }
  #detail .buy-actions,#detail .pay-buttons { width: 100% !important; max-width: 100% !important; }
  #detail .smartstore-detail-frame { width: 100%; max-width: 100%; }

  .blog-feed-grid,.category-grid,.brand-hall-tabs {
    width: 100%;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }
  .blog-feed-grid::-webkit-scrollbar,.category-grid::-webkit-scrollbar,.brand-hall-tabs::-webkit-scrollbar { display: none; }
  .blog-feed-card { flex: 0 0 84%; min-width: 0; }

  .brand-showcase.six-brands { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .logo-brands a,.logo-brands a.featured {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 118px;
    padding: 12px;
  }
  .logo-brands a>span,.logo-brands a>p,.logo-brands a>em { display: none; }
  .logo-brands .brand-logo-art {
    width: 100%;
    height: 88px;
    min-height: 0;
    margin: 0;
    padding: 10px;
  }
  .logo-brands .kanals-card .brand-logo-art img { width: 118px; max-width: 100%; }
  .logo-brands .gopherwood-logo { flex-direction: column; gap: 8px; }
  .logo-brands .gopherwood-logo img { width: 42px; height: 42px; }
  .logo-brands .gopherwood-logo b { font-size: 12px; letter-spacing: .02em; }
  .logo-brands .cannonball-standard-logo { flex-direction: column; gap: 7px; }
  .logo-brands .cannonball-official img { width: 52px; height: 52px; }
  .logo-brands .cannonball-standard-logo b { font-size: 13px; letter-spacing: .01em; }
  .logo-brands .realmaster-official img { width: 100%; max-width: 100%; }

  .brand-product-hall { width: 100%; overflow: hidden; }
  .brand-product-head { gap: 10px; }
  .brand-product-head>div { min-width: 0; }
  .brand-product-head p { max-width: none; }
  .brand-hall-tabs button { min-width: 104px; }
  .brand-trademark-note { text-align: left; line-height: 1.5; }
}

/* Private-test header and compact admin screens stay usable on every device. */
.private-test-banner + .topbar + .header { top: 37px; }
.admin-grid { grid-template-columns: minmax(0,1fr); }
.admin-panel,.admin-panel>* { min-width: 0; max-width: 100%; }
.admin-panel-head>div { min-width: 0; max-width: 100%; }
.admin-panel-head h2,.admin-panel-head p { overflow-wrap: anywhere; word-break: keep-all; }
@media (max-width: 600px) {
  .private-test-banner { padding: 6px 10px; font-size: 10px; line-height: 1.5; }
  .private-test-banner + .topbar + .header { top: 27px; }
  .admin-grid,.admin-panel { width: 100%; }
  .admin-panel-head,.commerce-sync-status { width: 100%; }
}

@media (max-width: 360px) {
  .wrap { width: min(100% - 20px,1180px); }
  .header-main .brand-logo { flex-basis: 108px; width: 108px; }
  .header-main .brand-logo img { width: 108px; }
  .logo-brands a,.logo-brands a.featured { padding: 9px; min-height: 108px; }
  .logo-brands .brand-logo-art { height: 82px; }
  .product-image { height: 156px; }
}

/* Member dashboard and separated guest-order lookup */
.member-welcome .btn.outline { border-color: rgba(255,255,255,.72); background: #fff; color: var(--navy); }
.member-login-grid { align-items: stretch; }
.member-login-card,.member-login-benefits { min-height: 100%; }
.member-login-benefits { padding: 34px; background: var(--navy); color: #fff; }
.member-login-benefits h2 { margin: 7px 0 26px; font-size: 24px; }
.member-login-benefits .eyebrow { color: var(--gold); }
.member-login-benefits ul { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.member-login-benefits li { display: flex; align-items: flex-start; gap: 14px; }
.member-login-benefits li>b { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(255,255,255,.25); color: var(--gold); font-size: 10px; }
.member-login-benefits strong,.member-login-benefits small { display: block; }
.member-login-benefits strong { font-size: 13px; }
.member-login-benefits small { margin-top: 4px; color: #bdc8ce; font-size: 10px; line-height: 1.5; }
.member-guest-link,.guest-member-link { display: block; margin-top: 16px; color: var(--muted); font-size: 10px; text-align: center; text-decoration: underline; }
.guest-order-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 22px; align-items: start; }
.guest-lookup-card { width: 100%; }
.guest-order-help { padding: 30px; background: var(--soft); border-top: 4px solid var(--gold); }
.guest-order-help h2 { margin: 0 0 10px; font-size: 19px; }
.guest-order-help>p { margin: 0 0 20px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.guest-order-help dl { margin: 0 0 22px; }
.guest-order-help dl>div { display: grid; grid-template-columns: 70px 1fr; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 11px; }
.guest-order-help dt { color: var(--muted); }
.guest-order-help dd { margin: 0; font-weight: 700; line-height: 1.6; }
.guest-order-help dd a { color: var(--navy); }
.guest-lookup-empty { margin-top: 22px; }
.member-quick-menu { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); margin: 26px 0 22px; border: 1px solid var(--line); background: #fff; }
.member-quick-menu a { position: relative; display: flex; min-width: 0; min-height: 128px; padding: 20px 10px; align-items: center; justify-content: center; flex-direction: column; border-right: 1px solid var(--line); color: var(--navy); text-align: center; }
.member-quick-menu a:last-child { border-right: 0; }
.member-quick-menu a:hover { background: var(--soft); }
.member-quick-menu span { display: grid; width: 38px; height: 38px; margin-bottom: 9px; place-items: center; border-radius: 50%; background: var(--soft); color: var(--teal); font-size: 18px; }
.member-quick-menu b { font-size: 12px; white-space: nowrap; }
.member-quick-menu small { margin-top: 5px; overflow: hidden; color: var(--muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.member-order-flow,.member-dashboard-panel,.member-side-card { border: 1px solid var(--line); background: #fff; }
.member-order-flow { margin-bottom: 22px; padding: 26px 30px; }
.member-section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; }
.member-section-title h2 { margin: 4px 0 0; font-size: 21px; }
.member-section-title>small { color: var(--muted); font-size: 10px; }
.member-order-stages { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 24px; }
.member-order-stages>div { position: relative; display: flex; min-width: 0; align-items: center; flex-direction: column; }
.member-order-stages strong { color: var(--teal); font-size: 29px; }
.member-order-stages span { margin-top: 5px; color: var(--navy); font-size: 11px; font-weight: 700; }
.member-order-stages i { position: absolute; top: 8px; right: -4px; color: #c9d0d3; font-size: 25px; font-style: normal; }
.member-dashboard-grid { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 22px; align-items: start; }
.member-dashboard-grid main,.member-dashboard-grid aside { display: grid; min-width: 0; gap: 22px; }
.member-dashboard-panel { padding: 25px; }
.member-dashboard-panel .my-orders { margin: 0; }
.member-dashboard-panel .my-orders .section-head { margin-top: 0; }
.member-panel-link { display: block; margin-top: 16px; color: var(--teal); font-size: 10px; text-align: right; }
.member-wishlist-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-top: 20px; }
.member-wishlist-grid .product-image { height: 160px; }
.member-wishlist-grid .product-meta { padding: 12px; }
.member-wishlist-grid .product-meta h3 { min-height: 34px; font-size: 11px; }
.member-empty { padding: 40px 15px 20px; color: var(--muted); text-align: center; }
.member-empty b { color: var(--navy); font-size: 13px; }
.member-empty p { margin: 8px 0 18px; font-size: 10px; }
.member-empty .btn { display: inline-flex; }
.member-side-card { padding: 25px; }
.member-side-card h2 { margin: 5px 0 20px; font-size: 20px; }
.member-side-card dl { margin: 0 0 20px; }
.member-side-card dl>div { display: grid; grid-template-columns: 60px minmax(0,1fr); gap: 8px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 10px; }
.member-side-card dt { color: var(--muted); }
.member-side-card dd { margin: 0; overflow-wrap: anywhere; font-weight: 700; text-align: right; }
.member-support-card { background: var(--navy); color: #fff; }
.member-support-card .eyebrow { color: var(--gold); }
.member-support-phone { display: block; margin: 18px 0 8px; color: #fff; font-size: 22px; font-weight: 800; }
.member-support-card>p { color: #bdc8ce; font-size: 10px; line-height: 1.7; }
.member-support-card>div { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: 18px; }
.member-support-card>div a { padding: 10px 5px; border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 9px; text-align: center; }

@media (max-width: 900px) {
  .guest-order-layout,.member-dashboard-grid { grid-template-columns: 1fr; }
  .member-dashboard-grid aside { grid-template-columns: 1fr 1fr; }
  .member-wishlist-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .member-login-benefits { padding: 26px 22px; }
  .member-quick-menu { overflow-x: auto; grid-template-columns: repeat(5,minmax(72px,1fr)); scrollbar-width: none; }
  .member-quick-menu::-webkit-scrollbar { display: none; }
  .member-quick-menu a { min-height: 100px; padding: 14px 6px; }
  .member-quick-menu span { width: 32px; height: 32px; font-size: 15px; }
  .member-quick-menu b { font-size: 10px; }
  .member-quick-menu small { max-width: 66px; font-size: 8px; }
  .member-order-flow,.member-dashboard-panel,.member-side-card,.guest-order-help { padding: 20px; }
  .member-order-stages strong { font-size: 23px; }
  .member-order-stages span { font-size: 9px; white-space: nowrap; }
  .member-order-stages i { right: -2px; font-size: 20px; }
  .member-dashboard-grid aside { grid-template-columns: 1fr; }
  .member-wishlist-grid .product-image { height: 145px; }
}

.member-section-title>a { color: var(--teal); font-size: 10px; }
.member-order-list { margin-top: 20px; }
.member-order-list article { display: grid; grid-template-columns: 145px minmax(0,1fr) 76px 90px 72px; gap: 12px; align-items: center; padding: 17px 0; border-top: 1px solid var(--line); font-size: 10px; }
.member-order-list small,.member-order-list span { display: block; color: var(--muted); }
.member-order-list em { color: var(--teal); font-style: normal; font-weight: 800; }
.member-order-list button { padding: 8px 6px; border: 1px solid var(--navy); background: #fff; color: var(--navy); font-size: 9px; font-weight: 800; }
.member-order-list button:hover { background: var(--navy); color: #fff; }
.member-order-number small,.member-order-product span { margin-top: 4px; }
.member-requested { padding: 7px 5px; background: #fff4d7; color: #805d08!important; text-align: center; }
.member-inquiry-list { margin-top: 20px; }
.member-inquiry-list article { display: grid; grid-template-columns: minmax(0,1fr) 80px; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); align-items: center; }
.member-inquiry-list article>div>span { display: inline-block; margin-right: 8px; padding: 4px 6px; background: var(--soft); color: var(--muted); font-size: 8px; }
.member-inquiry-list article>div>b { font-size: 11px; }
.member-inquiry-list article small { display: block; margin-top: 6px; color: var(--muted); font-size: 9px; }
.member-inquiry-list article>em { padding: 7px 6px; background: #fff4d7; color: #805d08; font-size: 9px; font-style: normal; text-align: center; }
.member-inquiry-list article>em.done { background: #e7f6f1; color: #16704e; }
.member-inquiry-list article>p { grid-column: 1/-1; margin: 0; padding: 13px; background: var(--soft); color: var(--muted); font-size: 10px; line-height: 1.6; }
.member-inquiry-list article>p b { display: block; margin-bottom: 4px; color: var(--navy); }
.member-feature-modal { width: min(680px,100%); max-height: 90vh; overflow-y: auto; }
.member-feature-modal>p { margin: -7px 0 22px; color: var(--muted); font-size: 11px; }
.member-profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.member-profile-grid .wide { grid-column: 1/-1; }
.member-feature-modal form label { display: block; color: var(--navy); font-size: 10px; font-weight: 700; }
.member-feature-modal form input,.member-feature-modal form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px; border: 1px solid var(--line); background: #fff; }
.member-feature-modal form input[readonly] { background: var(--soft); color: var(--muted); }
.member-feature-modal form textarea { min-height: 140px; resize: vertical; }
.member-password-change { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 24px; padding: 20px; background: var(--soft); }
.member-password-change h3 { grid-column: 1/-1; margin: 0; font-size: 13px; }
.member-password-change h3 small { color: var(--muted); font-size: 9px; font-weight: 400; }
.member-marketing { display: flex; gap: 18px; margin: 20px 0; }
.member-marketing label { display: flex!important; align-items: center; gap: 7px; }
.member-marketing input { width: 16px!important; height: 16px; margin: 0!important; accent-color: var(--teal); }
.member-order-request-modal { width: min(500px,100%); }

@media (max-width: 760px) {
  .member-order-list article { grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
  .member-order-number,.member-order-product { grid-column: 1/-1; }
  .member-order-list article>button,.member-requested { justify-self: end; }
  .member-profile-grid,.member-password-change { grid-template-columns: 1fr; }
  .member-profile-grid .wide,.member-password-change h3 { grid-column: auto; }
  .member-marketing { align-items: flex-start; flex-direction: column; gap: 10px; }
  .website-price-controls { grid-template-columns: 1fr 1fr; }
  .website-price-actions { grid-column: 1/-1; }
}
@media (max-width: 1499px) {
  .detail-floating-buy { top: auto; right: auto; bottom: 18px; left: 50%; width: min(980px,calc(100% - 38px)); display: grid; grid-template-columns: minmax(0,1fr) auto minmax(410px,auto); gap: 16px; align-items: center; padding: 13px 15px; border-top-width: 3px; opacity: 0; transform: translate(-50%,18px); }
  .detail-floating-buy.show { transform: translate(-50%,0); }
  .floating-buy-product { grid-template-columns: 46px minmax(0,1fr); }
  .floating-buy-product img { width: 46px; height: 46px; }
  .floating-buy-price { min-width: 115px; margin: 0; padding: 0 0 0 14px; border-top: 0; border-left: 1px solid var(--line); }
  .floating-buy-price strong { font-size: 18px; }
}
@media (max-width: 700px) {
  body.has-floating-purchase { padding-bottom: 118px; }
  .detail-floating-buy { bottom: 0; width: 100%; grid-template-columns: minmax(86px,.65fr) minmax(220px,1.35fr); gap: 8px; padding: 10px max(10px,env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left)); border-right: 0; border-bottom: 0; border-left: 0; box-shadow: 0 -8px 28px rgba(13,37,48,.17); }
  .floating-buy-product { display: none; }
  .floating-buy-price { min-width: 0; padding: 0; border: 0; text-align: left; }
  .floating-buy-price small,.floating-buy-price del { font-size: 8px; }
  .floating-buy-price strong { overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
  .floating-buy-actions { gap: 5px; }
  .floating-buy-actions .btn { min-height: 45px; padding: 10px 5px; font-size: 10px; }
  .detail-floating-buy.consult { grid-template-columns: minmax(100px,.8fr) minmax(190px,1.2fr); }
}
@media (max-width: 520px) {
  .detail-floating-buy:not(.consult) { grid-template-columns: 1fr; }
  .detail-floating-buy:not(.consult) .floating-buy-price { display: none; }
  .floating-buy-actions .btn { font-size: 9px; }
  .website-price-stats,.website-price-controls { grid-template-columns: 1fr; }
  .website-price-actions { grid-column: auto; flex-direction: column; }
  .website-price-help { flex-direction: column; }
  .website-price-help b { white-space: normal; }
}

/* Naver Pay review: formal terms, privacy, and return policy */
.policy-page { max-width: 1180px; }
.policy-meta { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; margin: 0 0 28px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.policy-meta>div { display: grid; gap: 5px; padding: 18px 20px; background: #fff; }
.policy-meta b { color: var(--navy); font-size: 10px; letter-spacing: .06em; }
.policy-meta span { color: #56666e; font-size: 11px; line-height: 1.6; }
.policy-nav { border-bottom: 1px solid var(--line); }
.policy-nav a { transition: background .2s,color .2s,border-color .2s; }
.policy-nav a:hover,.policy-nav a:focus-visible { border-color: var(--navy); background: var(--navy); color: #fff; }
.policy-section { max-width: 1060px; padding: 56px 0; }
.policy-section h2 { margin-bottom: 18px; font-size: clamp(25px,3vw,34px); }
.policy-section h3 { margin: 30px 0 9px; color: var(--navy); font-size: 15px; line-height: 1.5; }
.policy-section p,.policy-section li { color: #4d5c64; font-size: 12px; line-height: 1.9; }
.policy-section a { color: #0a6c75; text-decoration: underline; text-underline-offset: 3px; }
.policy-lead { max-width: 920px; margin-bottom: 25px!important; padding: 18px 20px; border-left: 4px solid var(--teal); background: #eef7f6; color: #31464f!important; font-weight: 600; }
.policy-business,.policy-contact { display: grid; gap: 6px; margin: 24px 0; padding: 20px 22px; border: 1px solid var(--line); background: #fafbfb; }
.policy-business b,.policy-contact b { color: var(--navy); font-size: 13px; }
.policy-business span,.policy-contact span,.policy-contact a { color: #596970; font-size: 11px; line-height: 1.6; }
.policy-articles { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 42px; margin-top: 22px; }
.policy-articles section { padding: 2px 0 25px; border-top: 1px solid var(--line); }
.policy-articles h3 { margin-top: 20px; }
.policy-articles p { margin: 0; }
.policy-table-wrap { width: 100%; margin: 12px 0 24px; overflow-x: auto; border: 1px solid var(--line); }
.policy-table { width: 100%; min-width: 760px; border-collapse: collapse; background: #fff; }
.policy-table th,.policy-table td { padding: 14px 15px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #4d5c64; font-size: 10px; line-height: 1.7; text-align: left; vertical-align: top; }
.policy-table th { background: #f2f5f5; color: var(--navy); font-weight: 800; white-space: nowrap; }
.policy-table tr:last-child td { border-bottom: 0; }
.policy-table th:last-child,.policy-table td:last-child { border-right: 0; }
.policy-list { display: grid; gap: 7px; margin: 10px 0 20px; padding-left: 19px; }
.policy-list b { color: var(--navy); }
.policy-note { margin-top: -14px!important; color: #6d797f!important; font-size: 10px!important; }
.policy-callout { display: grid; gap: 6px; margin: 18px 0 26px; padding: 20px 22px; border: 1px solid #e8c675; background: #fff9e8; }
.policy-callout b { color: #704f00; font-size: 14px; }
.policy-callout span { color: #6d603d; font-size: 11px; line-height: 1.7; }
.used-purchase-notice { display: grid; gap: 5px; margin: 14px 0; padding: 15px 17px; border: 1px solid #d7e2e6; background: #f5f9fa; }
.used-purchase-notice b { color: var(--navy); font-size: 13px; }
.used-purchase-notice span { color: #5b696f; font-size: 11px; line-height: 1.65; }
.product-commerce-notice { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 20px 0 28px; border: 1px solid #d9e2e5; background: #d9e2e5; }
.product-commerce-notice>div { display: grid; gap: 5px; padding: 17px 19px; background: #f7fafb; }
.product-commerce-notice b { color: var(--navy); font-size: 12px; }
.product-commerce-notice span { color: #5e6c72; font-size: 11px; line-height: 1.6; }
.product-commerce-notice a { color: #0a6c75; text-decoration: underline; }
.product-commerce-notice.detail-bottom-notice { margin: 38px 0 0; }
.product-commerce-notice.detail-bottom-notice>div { align-content: start; min-height: 112px; padding: 21px 23px; }
.product-commerce-notice.detail-bottom-notice b { font-size: 14px; }
.product-commerce-notice.detail-bottom-notice span { font-size: 12px; line-height: 1.75; }
.product-commerce-notice.detail-bottom-notice .detail-policy-contact { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; min-height: 0; gap: 14px; background: #eef5f5; }
.product-commerce-notice.detail-bottom-notice .detail-policy-contact a { font-size: 12px; font-weight: 800; white-space: nowrap; }

@media (max-width: 760px) {
  .policy-meta { grid-template-columns: 1fr; }
  .policy-meta>div { padding: 15px 16px; }
  .policy-section { padding: 42px 0; }
  .policy-articles { grid-template-columns: 1fr; gap: 0; }
  .policy-business,.policy-contact,.policy-callout,.policy-lead { padding: 16px; }
  .policy-table th,.policy-table td { padding: 12px; }
  .product-commerce-notice { grid-template-columns: 1fr; }
  .product-commerce-notice.detail-bottom-notice>div { min-height: 0; padding: 18px; }
  .product-commerce-notice.detail-bottom-notice .detail-policy-contact { grid-column: 1; grid-template-columns: 1fr; gap: 6px; }
  .product-commerce-notice.detail-bottom-notice .detail-policy-contact a { white-space: normal; }
}

/* Product media alignment: keep mixed-size source images centered and uncropped. */
.product-image,
.detail-main,
.thumbs button,
.cart-list .cart-item > img,
.used-image,
.used-detail-photo,
.used-edit-image-preview,
.used-detail-gallery,
.product-upload-box img,
.floating-buy-product img {
  background-color: #fff;
}

.product-image,
.detail-main,
.thumbs button,
.used-image,
.used-detail-photo {
  display: grid;
  place-items: center;
}

.product-image img,
.detail-main > img,
.thumbs img,
.cart-list .cart-item > img,
.used-image img,
.used-detail-photo img,
.used-edit-image-preview img,
.used-detail-gallery img,
.product-upload-box img,
.floating-buy-product img {
  display: block;
  object-fit: contain;
  object-position: 50% 50%;
  margin: auto;
}

.product-image { padding: 12px; }
.detail-main { padding: 18px; overflow: hidden; }
.thumbs button { overflow: hidden; }
.used-image { padding: 12px; }
.used-detail-photo { padding: 18px; }

@media (max-width: 600px) {
  .product-image,
  .used-image { padding: 8px; }
  .detail-main,
  .used-detail-photo { padding: 10px; }
}

.detail-installment-benefit {
  margin: 14px 0 20px;
  border: 1px solid #d8e4e1;
  background: #f5faf8;
}

.detail-installment-benefit.detail-installment-inline {
  width: 100%;
  margin: 12px 0 0;
}

.detail-installment-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 14px;
  cursor: pointer;
  list-style: none;
}

.detail-installment-summary::-webkit-details-marker { display: none; }
.detail-installment-summary span { color: #16815f; font-size: 10px; font-weight: 800; letter-spacing: .04em; }
.detail-installment-summary b { color: #102b38; font-size: 13px; line-height: 1.45; }
.detail-installment-summary em { color: #16815f; font-size: 10px; font-style: normal; font-weight: 800; white-space: nowrap; }
.detail-installment-summary em::after { content: '＋'; margin-left: 7px; }
.detail-installment-benefit[open] .detail-installment-summary em::after { content: '−'; }
.detail-installment-body { padding: 0 14px 14px; border-top: 1px solid #dce6e3; }
.detail-installment-benefit.detail-installment-static { border: 0; background: transparent; }
.detail-installment-static .detail-installment-body { padding: 0; border-top: 0; }
.detail-installment-static-title { display: block; margin: 16px 0 4px; color: #102b38; font-size: 15px; }
.detail-installment-official > img {
  display: block;
  width: auto;
  max-width: min(786px, 100%);
  height: auto;
  margin: 18px auto 0;
}
.detail-installment-static .detail-installment-foot { width: min(786px, 100%); margin-right: auto; margin-left: auto; }
.detail-installment-loading,
.detail-installment-fallback { margin: 14px 0 0; color: #65747a; font-size: 11px; line-height: 1.7; }

.detail-installment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.detail-installment-card {
  min-width: 0;
  padding: 12px;
  border: 1px solid #e0e8e6;
  background: #fff;
}

.detail-installment-card > strong { display: block; margin-bottom: 8px; color: #172d36; font-size: 12px; }
.detail-installment-card > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #68767c; font-size: 9px; line-height: 1.5; }
.detail-installment-card > span + span { margin-top: 5px; padding-top: 5px; border-top: 1px dashed #e4e9e8; }
.detail-installment-card > span b { color: #16815f; font-size: 10px; white-space: nowrap; }

.detail-installment-foot {
  display: grid;
  gap: 7px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid #dce6e3;
  color: #718087;
  font-size: 9px;
  line-height: 1.6;
}

.detail-installment-foot a { justify-self: start; color: #16815f; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 600px) {
  .detail-installment-benefit { margin: 10px 0 16px; }
  .detail-installment-benefit.detail-installment-inline { margin: 10px 0 0; }
  .detail-installment-summary { grid-template-columns: 1fr auto; gap: 4px 10px; padding: 10px 12px; }
  .detail-installment-summary span { grid-column: 1 / -1; }
  .detail-installment-summary b { font-size: 12px; }
  .detail-installment-body { padding: 0 12px 12px; }
  .detail-installment-static .detail-installment-body { padding: 0; }
  .detail-installment-official > img { margin-top: 12px; }
  .detail-installment-grid { grid-template-columns: 1fr; }
  .detail-installment-card { padding: 11px; }
}

/* Jeil Music quick consultation shortcuts */
/* Keep feedback away from the bottom-right consultation shortcuts. */
.toast {
  top: max(20px, env(safe-area-inset-top));
  bottom: auto;
  left: 50%;
  right: auto;
  width: max-content;
  max-width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  overflow-wrap: anywhere;
  text-align: center;
  z-index: 1000;
  transform: translate(-50%, -15px);
}
.toast.show { transform: translate(-50%, 0); }

.channel-float-stack {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 190;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.channel-float {
  display: flex;
  align-items: center;
  gap: 0;
  color: #191919;
  text-decoration: none;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .2));
  transition: transform .2s ease, filter .2s ease;
}

.channel-float:hover,
.channel-float:focus-visible {
  transform: translateY(-3px);
  filter: drop-shadow(0 13px 24px rgba(0, 0, 0, .26));
}

.channel-float:focus-visible {
  outline: 3px solid #102b38;
  outline-offset: 4px;
  border-radius: 999px;
}

.channel-float-label {
  display: grid;
  gap: 3px;
  min-width: 120px;
  min-height: 64px;
  align-content: center;
  padding: 12px 10px;
  border: 1px solid rgba(25, 25, 25, .1);
  border-right: 0;
  border-radius: 12px 0 0 12px;
  background: #fff;
  text-align: right;
}

.channel-float-label b { font-size: 13px; line-height: 1.25; }
.channel-float-label small { color: #4d5b61; font-size: 11px; line-height: 1.35; white-space: nowrap; }

.channel-float-symbol {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(25, 25, 25, .14);
  border-radius: 0 20px 20px 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
}

.kakao-channel-symbol { background: #fee500; }
.naver-talktalk-symbol { background: #03c75a; }

.channel-float-symbol img {
  display: block;
  width: 40px;
  height: 42px;
  object-fit: contain;
}

.naver-talktalk-symbol img {
  width: 42px;
  height: 42px;
}

body:has(#detail.active) .channel-float-stack,
body:has(#used-detail.active) .channel-float-stack { display: none; }

.kakao-detail-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  margin-top: 54px;
  padding: 28px 32px;
  border: 1px solid #e5cf00;
  border-radius: 18px;
  background: linear-gradient(120deg, #fff9bd, #fee500);
  box-shadow: 0 12px 32px rgba(79, 68, 0, .13);
}

.kakao-detail-banner-symbol {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgba(25, 25, 25, .14);
  border-radius: 20px;
  background: #fee500;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
}

.kakao-detail-banner-symbol img {
  display: block;
  width: 41px;
  height: 44px;
  object-fit: contain;
}

.kakao-detail-banner span { color: #6e6100; font-size: 10px; font-weight: 800; }
.kakao-detail-banner h2 { margin: 5px 0 4px; color: #191919; font-size: clamp(17px, 2vw, 23px); line-height: 1.4; }
.kakao-detail-banner p { margin: 0; color: #584f08; font-size: 11px; line-height: 1.6; }
.kakao-detail-banner a { padding: 14px 19px; border-radius: 8px; background: #191919; color: #fff; font-size: 11px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.kakao-detail-banner a:hover,
.kakao-detail-banner a:focus-visible { background: #102b38; }

.naver-detail-banner {
  margin-top: 14px;
  border-color: #02b653;
  background: linear-gradient(120deg, #effff5, #03c75a);
  box-shadow: 0 12px 32px rgba(0, 117, 52, .13);
}

.naver-detail-banner-symbol {
  border-color: rgba(0, 87, 39, .14);
  background: #03c75a;
}

.naver-detail-banner-symbol img { width: 50px; height: 50px; }
.naver-detail-banner span { color: #08753d; }
.naver-detail-banner h2 { color: #073b22; }
.naver-detail-banner p { color: #155a37; }
.naver-detail-banner a { background: #063d23; }
.naver-detail-banner a:hover,
.naver-detail-banner a:focus-visible { background: #021f12; }

@media (max-width: 760px) {
  .channel-float-stack {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    gap: 8px;
  }
  .channel-float-label { display: none; }
  .channel-float-symbol { width: 48px; height: 48px; border-radius: 15px; }
  .channel-float-symbol img { width: 30px; height: 32px; }
  .naver-talktalk-symbol img { width: 36px; height: 36px; }
  body.has-floating-purchase .channel-float-stack { bottom: calc(76px + env(safe-area-inset-bottom)); }
  .kakao-detail-banner { grid-template-columns: 48px 1fr; gap: 14px; margin-top: 34px; padding: 20px 18px; border-radius: 12px; }
  .kakao-detail-banner-symbol { width: 48px; height: 48px; border-radius: 15px; }
  .kakao-detail-banner-symbol img { width: 30px; height: 32px; }
  .kakao-detail-banner h2 { font-size: 16px; }
  .kakao-detail-banner p { font-size: 10px; }
  .kakao-detail-banner a { grid-column: 1 / -1; width: 100%; padding: 13px; text-align: center; }
  .naver-detail-banner { margin-top: 12px; }
  .naver-detail-banner-symbol img { width: 38px; height: 38px; }
}

@media (max-width: 380px) {
  .channel-float-stack {
    right: max(8px, env(safe-area-inset-right));
    bottom: max(10px, env(safe-area-inset-bottom));
    gap: 6px;
  }
  .channel-float-symbol { width: 44px; height: 44px; border-radius: 14px; }
  .channel-float-symbol img { width: 28px; height: 30px; }
  .naver-talktalk-symbol img { width: 32px; height: 32px; }
  body.has-floating-purchase .channel-float-stack { bottom: calc(72px + env(safe-area-inset-bottom)); }
}

/* Version 121 checkout: compact, single-column order flow. */
#checkout.active {
  width: min(760px, calc(100% - 32px));
  padding-top: 30px;
  background: #fff;
}

#checkout .page-title.simple {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 12px;
  border: 1px solid #dfe3e5;
  background: #fff;
}

#checkout .page-title.simple > div:first-child {
  padding: 17px 22px;
  background: #111;
  color: #fff;
  text-align: center;
}

#checkout .page-title .eyebrow { display: none; }
#checkout .page-title h1 { margin: 0; color: #fff; font-size: 20px; letter-spacing: -.03em; }
#checkout .steps { justify-content: center; gap: 0; padding: 12px 18px; font-size: 10px; }
#checkout .steps span,
#checkout .steps b { position: relative; padding: 0 24px; }
#checkout .steps span + b::before,
#checkout .steps b + span::before { content: '›'; position: absolute; left: -2px; color: #aab1b5; }

#checkout .checkout-layout { display: block; }
#checkout .order-form { display: grid; gap: 9px; }
#checkout .form-card,
#checkout .summary { border-color: #dfe3e5; padding: 24px 22px; box-shadow: none; }
#checkout .form-card h2,
#checkout .summary h2 { margin: 0 0 18px; color: #171c20; font-size: 16px; letter-spacing: -.02em; }
#checkout .form-grid { gap: 14px 18px; }
#checkout .form-card label { color: #343c41; font-size: 11px; }
#checkout .form-card input,
#checkout .form-card select { min-height: 44px; margin-top: 6px; border-color: #d6dcdf; background: #fff; }
#checkout .form-card input:focus,
#checkout .form-card select:focus { border-color: #102b3f; outline: 1px solid #102b3f; }
#checkout .field-help { display: block; margin-top: 5px; color: #7b858a; font-size: 9px; font-weight: 400; }

#checkout .checkout-card-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 17px; }
#checkout .checkout-card-heading h2 { margin: 0; }
#checkout .checkout-card-heading small { color: #879096; font-size: 9px; }
#checkout .checkout-product-list { border-top: 1px solid #e2e6e8; }
#checkout .checkout-product-list article { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid #edf0f1; }
#checkout .checkout-product-list img { width: 76px; height: 76px; border: 1px solid #e1e5e7; background: #f5f6f6; object-fit: cover; }
#checkout .checkout-product-list span,
#checkout .checkout-product-list b,
#checkout .checkout-product-list small { display: block; }
#checkout .checkout-product-list span { color: #7b858b; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
#checkout .checkout-product-list b { margin: 4px 0; font-size: 13px; line-height: 1.45; }
#checkout .checkout-product-list small { color: #768087; font-size: 9px; }
#checkout .checkout-product-list strong { font-size: 13px; white-space: nowrap; }
#checkout .checkout-product-empty { margin: 0; padding: 32px 0; color: #7e888d; text-align: center; font-size: 11px; }
#checkout .checkout-delivery-line { display: grid; grid-template-columns: 1fr auto; gap: 2px 18px; margin: 0 -22px -24px; padding: 13px 22px; background: #f5f6f6; font-size: 10px; }
#checkout .checkout-delivery-line small { grid-column: 1 / -1; color: #7b858a; }

#checkout .mileage-checkout-head { display: flex; justify-content: space-between; align-items: center; }
#checkout .mileage-checkout-head h3 { margin: 0; font-size: 16px; }
#checkout .mileage-checkout-head b { font-size: 11px; }
#checkout .mileage-use-row { margin-top: 16px; }
#checkout .checkout-price-breakdown p { display: flex; justify-content: space-between; gap: 20px; margin: 10px 0; font-size: 11px; }
#checkout .checkout-price-breakdown .discount { color: #d24a3a; }
#checkout .checkout-price-breakdown .checkout-price-total { align-items: center; margin: 18px -22px -24px; padding: 17px 22px; border-top: 1px solid #dfe3e5; background: #f3f6fc; font-weight: 800; }
#checkout .checkout-price-total strong { color: #102b3f; font-size: 21px; }

#checkout .payment-grid,
#checkout .payment-grid.has-dairom { grid-template-columns: 1fr 1fr; gap: 8px; }
#checkout .payment-grid label { min-height: 82px; padding: 15px 17px; border-radius: 0; }
#checkout .payment-grid label:has(input:checked) { border-color: #102b3f; background: #f3f6fc; box-shadow: inset 0 0 0 1px #102b3f; }
#checkout .payment-grid b { font-size: 11px; }
#checkout .installment { border: 1px solid #e5e8ea; background: #f7f8f8; }
#checkout .dairom-checkout-guide { grid-template-columns: 42px 1fr; }
#checkout .dairom-checkout-guide > a { grid-column: 1 / -1; text-align: center; }

#checkout .summary.sticky { position: static; margin-top: 9px; padding: 24px 22px; background: #fff; }
#checkout .summary h2 { padding-bottom: 13px; border-bottom: 1px solid #dfe3e5; }
#checkout .summary p { margin: 10px 0; }
#checkout .summary-total { align-items: center; margin: 18px -22px 0 !important; padding: 17px 22px; background: #f3f6fc; }
#checkout .summary-total strong { color: #102b3f; }
#checkout .checkout-agreements { margin: 18px 0; padding: 14px 16px; background: #f7f8f8; }
#checkout .summary .btn.primary { min-height: 54px; border-radius: 0; background: #111; color: #fff !important; font-size: 15px; }
#checkout .summary .btn.primary:hover { background: #102b3f; }
#checkout #paymentStatusGuide { text-align: center; }

@media (max-width: 600px) {
  #checkout.active { width: 100%; padding-top: 0; padding-bottom: 65px; }
  #checkout .page-title.simple { margin: 0; border-left: 0; border-right: 0; }
  #checkout .page-title.simple > div:first-child { padding: 15px; }
  #checkout .page-title h1 { font-size: 17px; }
  #checkout .steps span,
  #checkout .steps b { padding: 0 15px; }
  #checkout .order-form { gap: 7px; background: #eef0f1; }
  #checkout .form-card,
  #checkout .summary { border-left: 0; border-right: 0; padding: 21px 16px; }
  #checkout .form-grid { grid-template-columns: 1fr; }
  #checkout .form-grid .wide { grid-column: auto; }
  #checkout .checkout-card-heading { display: block; }
  #checkout .checkout-card-heading small { display: block; margin-top: 3px; }
  #checkout .checkout-product-list article { grid-template-columns: 66px minmax(0, 1fr); gap: 12px; }
  #checkout .checkout-product-list img { width: 66px; height: 66px; }
  #checkout .checkout-product-list strong { grid-column: 2; }
  #checkout .checkout-delivery-line { margin: 0 -16px -21px; padding: 12px 16px; }
  #checkout .checkout-price-breakdown .checkout-price-total { margin: 17px -16px -21px; padding: 16px; }
  #checkout .payment-grid,
  #checkout .payment-grid.has-dairom { grid-template-columns: 1fr; }
  #checkout .payment-grid label { min-height: 70px; }
  #checkout .summary.sticky { margin-top: 7px; }
  #checkout .summary-total { margin-left: -16px !important; margin-right: -16px !important; padding: 16px; }
  #checkout .mileage-use-row { display: grid; grid-template-columns: 1fr auto; }
  #checkout .mileage-use-row input { grid-column: 1 / -1; }
}

/* Version 122 my page: shopping summary and order-first dashboard. */
.customer-center .page-title { justify-content: center; text-align: center; }
.customer-center .page-title .eyebrow,
.customer-center .page-title p { display: none; }
.customer-center .page-title h1 { color: #171c20; font-size: 30px; }
.member-shopping-summary { display: grid; grid-template-columns: 1.8fr repeat(3,1fr); margin: 4px 0 42px; border: 1px solid var(--line); background: #fff; }
.member-shopping-summary > a,
.member-summary-profile { display: flex; min-width: 0; min-height: 150px; align-items: center; justify-content: center; border-right: 1px solid var(--line); }
.member-shopping-summary > a:last-child { border-right: 0; }
.member-summary-profile { gap: 16px; padding: 22px 28px; justify-content: flex-start; }
.member-avatar { display: grid; flex: 0 0 58px; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: #aeb8c4; color: #fff; font-size: 0; }
.member-avatar::before { content: '♟'; transform: rotate(180deg); font-size: 31px; }
.member-summary-profile b,
.member-summary-profile small { display: block; }
.member-summary-profile b { color: #17222a; font-size: 17px; }
.member-summary-profile small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.member-shopping-summary > a { flex-direction: column; padding: 18px 10px; text-align: center; }
.member-shopping-summary > a:hover { background: #f7f8f8; }
.member-shopping-summary > a span { margin-bottom: 8px; color: #17222a; font-size: 26px; line-height: 1; }
.member-shopping-summary > a strong { max-width: 100%; color: #17222a; font-size: 14px; overflow-wrap: anywhere; }
.member-shopping-summary > a small { margin-top: 6px; color: #8a9398; font-size: 9px; }
.member-shopping-layout { display: grid; grid-template-columns: 185px minmax(0,1fr); gap: 34px; align-items: start; }
.member-shopping-nav { position: sticky; top: 150px; }
.member-shopping-nav h2 { margin: 0 0 15px; padding-bottom: 12px; border-bottom: 2px solid #1b2227; color: #171c20; font-size: 14px; }
.member-shopping-nav .member-quick-menu { display: grid; grid-template-columns: 1fr; margin: 0; border: 0; }
.member-shopping-nav .member-quick-menu a { display: flex; min-height: 0; padding: 8px 2px; align-items: center; justify-content: space-between; flex-direction: row; border: 0; color: #4f5a60; text-align: left; }
.member-shopping-nav .member-quick-menu a:hover { color: #102b3f; background: none; }
.member-shopping-nav .member-quick-menu b { font-size: 10px; font-weight: 600; }
.member-shopping-nav .member-quick-menu small { max-width: 70px; margin: 0; color: #9ba3a7; font-size: 8px; text-align: right; }
.member-shopping-nav .member-quick-menu span { display: none; }
.member-shopping-content { min-width: 0; }
.member-shopping-content .member-order-flow { padding: 0; border: 0; }
.member-shopping-content .member-order-flow .member-section-title { padding-bottom: 13px; border-bottom: 2px solid #1b2227; }
.member-shopping-content .member-order-flow .eyebrow { display: none; }
.member-shopping-content .member-order-flow .member-section-title h2 { margin: 0; font-size: 14px; }
.member-shopping-content .member-order-stages { padding: 25px 12px 20px; }
.member-shopping-content .member-order-stages strong { color: #17222a; font-size: 22px; }
.member-shopping-content .member-dashboard-grid { grid-template-columns: minmax(0,1fr) 250px; }
.member-shopping-content .member-dashboard-panel { padding: 22px; }
.member-shopping-content .member-order-list article { grid-template-columns: 130px minmax(0,1fr) 70px 84px 68px; }

@media (max-width: 1000px) {
  .member-shopping-summary { grid-template-columns: 1.5fr repeat(3,1fr); }
  .member-shopping-content .member-dashboard-grid { grid-template-columns: 1fr; }
  .member-shopping-content .member-dashboard-grid aside { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .customer-center .page-title h1 { font-size: 25px; }
  .member-shopping-summary { grid-template-columns: 1fr 1fr 1fr; margin-bottom: 22px; }
  .member-summary-profile { grid-column: 1 / -1; min-height: 105px; border-right: 0; border-bottom: 1px solid var(--line); }
  .member-shopping-summary > a { min-height: 96px; padding: 12px 6px; }
  .member-shopping-summary > a span { font-size: 21px; }
  .member-shopping-summary > a strong { font-size: 11px; }
  .member-shopping-layout { grid-template-columns: 1fr; gap: 18px; }
  .member-shopping-nav { position: static; overflow: hidden; }
  .member-shopping-nav h2 { margin-bottom: 8px; }
  .member-shopping-nav .member-quick-menu { display: flex; overflow-x: auto; gap: 5px; }
  .member-shopping-nav .member-quick-menu a { flex: 0 0 auto; padding: 8px 11px; border: 1px solid var(--line); }
  .member-shopping-nav .member-quick-menu small { display: none; }
  .member-shopping-content .member-dashboard-grid aside { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .member-shopping-summary { grid-template-columns: 1fr; }
  .member-summary-profile { grid-column: auto; }
  .member-shopping-summary > a { min-height: 74px; flex-direction: row; gap: 10px; border-right: 0; border-bottom: 1px solid var(--line); }
  .member-shopping-summary > a:last-child { border-bottom: 0; }
  .member-shopping-summary > a span { margin: 0; }
  .member-shopping-summary > a small { margin: 0; }
}

/* Version 124: one-click guest checkout choice. */
.guest-order-simple { display: flex; min-height: 100%; flex-direction: column; }
.guest-order-simple > p { max-width: 310px; }
.guest-order-simple ul { margin-top: 8px; padding-top: 20px; }
.guest-order-simple .btn { margin-top: auto; padding-top: 16px; padding-bottom: 16px; }
.guest-order-simple .guest-note { margin-top: 14px; text-align: center; }
.checkout-guest-password-card[hidden] { display: none !important; }
.checkout-guest-password-card { border-left: 4px solid #d69a22 !important; }
.checkout-guest-password-card h2 { margin-bottom: 14px !important; }
.checkout-guest-password-card label { display: block; max-width: 100%; }
.checkout-guest-password-card .required-mark { margin-left: 4px; color: #b7651a; font-size: 9px; }

@media (max-width: 600px) {
  .guest-order-simple { min-height: 390px; }
}

/* Version 125: compact login and guest purchase panel. */
#order-type { padding-top: 70px; }
#order-type .order-choice-grid { grid-template-columns: 1fr; gap: 0; width: min(480px, calc(100% - 30px)); max-width: none; }
#order-type .order-login-compact { padding: 0; border: 0; border-top: 0; box-shadow: none; }
#order-type .order-login-compact h2 { margin: 0 0 38px; color: #171c20; font-size: 28px; text-align: center; }
#order-type .order-login-compact > p { display: none; }
#order-type .order-login-compact label { margin: 0; font-size: 0; }
#order-type .order-login-compact input { height: 46px; margin: 0 0 9px; padding: 0 13px; font-size: 12px; }
#order-type .order-login-compact .btn.primary { min-height: 50px; margin-top: 14px; border-radius: 0; background: #111; color: #fff !important; font-size: 13px; font-weight: 800; }
#order-type .order-login-compact .btn.primary:hover { background: #102b3f; }
#order-type .order-login-compact .choice-links { justify-content: flex-end; margin: 10px 0 16px; }
#order-type .order-login-compact .social-login-divider { display: none; }
#order-type .order-login-compact .social-login { grid-template-columns: 1fr 1fr; gap: 3px; margin: 16px 0 0; }
#order-type .order-login-compact .social-login-button { min-height: 43px; border-radius: 0; font-size: 11px; }
#order-type .order-login-compact > ul { display: none; }
#order-type .guest-order-simple { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 18px; min-height: 0; margin-top: 42px; padding: 24px 0; align-items: center; border: 0; border-top: 1px solid var(--line); background: transparent; box-shadow: none; }
#order-type .guest-order-simple b,
#order-type .guest-order-simple small { display: block; }
#order-type .guest-order-simple b { color: #3c474d; font-size: 11px; }
#order-type .guest-order-simple small { margin-top: 4px; color: var(--muted); font-size: 9px; }
#order-type .guest-order-simple .btn { width: auto; min-width: 92px; margin: 0; padding: 10px 14px; font-size: 10px; }

@media (max-width: 600px) {
  #order-type { padding-top: 45px; }
  #order-type .order-login-compact h2 { margin-bottom: 28px; font-size: 24px; }
  #order-type .order-login-compact .social-login { grid-template-columns: 1fr; gap: 7px; }
  #order-type .guest-order-simple { min-height: 0; margin-top: 30px; }
}

@media (max-width: 390px) {
  #order-type .guest-order-simple { grid-template-columns: 1fr; }
  #order-type .guest-order-simple .btn { width: 100%; }
}

/* Version 127: medium readability scale across the storefront. */
.topbar,
.eyebrow,
.breadcrumb,
.brand,
.product-card .badge,
.detail-main .badge,
.sku,
.category-grid small,
.product-meta del,
.payment-grid small,
.summary small,
.field-help,
.footer-grid p,
.copyright { font-size: 12px; }

.gnb .wrap { font-size: 16px; }
.quick-nav a { font-size: 13px; }
.quick-nav i { font-size: 11px; }
.section-head > a,
.sort-row,
.filters label,
.qty,
.total,
.summary p,
.board-tools,
.notice-strip span { font-size: 14px; }
.product-meta h3 { font-size: 16px; }
.product-meta strong { font-size: 18px; }
.product-card .brand { font-size: 12px; }
.detail-info h1 { font-size: 30px; }
.detail-price strong { font-size: 31px; }
.benefit p,
.option label { font-size: 14px; }
.btn,
button,
input,
select,
textarea { font-size: 15px; }
.form-card label,
.quote-form label,
.modal label { font-size: 14px; }
.footer-grid b { font-size: 14px; }
.footer-grid p { line-height: 1.75; }
.copyright { line-height: 1.7; }

#checkout .form-card label { font-size: 14px; }
#checkout .field-help,
#checkout .checkout-card-heading small,
#checkout .checkout-product-list span,
#checkout .checkout-product-list small,
#checkout .checkout-delivery-line,
#checkout .checkout-delivery-line small,
#checkout .payment-grid small,
#checkout .summary small { font-size: 12px; }
#checkout .checkout-product-list b,
#checkout .checkout-product-list strong,
#checkout .payment-grid b,
#checkout .checkout-price-breakdown p,
#checkout .summary p { font-size: 14px; }
#checkout .summary .btn.primary { font-size: 15px; }
#checkout .agree { font-size: 13px !important; }

.member-quick-menu b,
.member-order-stages span,
.member-section-title > small,
.member-section-title > a,
.member-side-card dl > div,
.member-order-list article,
.member-shopping-nav .member-quick-menu b { font-size: 12px; }
.member-quick-menu small,
.member-shopping-nav .member-quick-menu small,
.member-shopping-summary > a small,
.member-summary-profile small { font-size: 11px; }
.member-order-list button { font-size: 12px; }

#order-type .order-login-compact input { font-size: 15px; }
#order-type .order-login-compact .btn.primary { font-size: 15px; }
#order-type .order-login-compact .social-login-button { font-size: 14px; }
#order-type .order-login-compact .choice-links { font-size: 12px; }
#order-type .guest-order-simple b { font-size: 13px; }
#order-type .guest-order-simple small { font-size: 12px; }
#order-type .guest-order-simple .btn { font-size: 13px; }

@media (max-width: 600px) {
  .topbar { font-size: 12px; }
  .search input { font-size: 14px; }
  .product-meta h3 { font-size: 15px; }
  .product-meta strong { font-size: 18px; }
  .page-title p,
  .detail-tabs button { font-size: 13px; }
  .footer-grid b { font-size: 14px; }
  .footer-grid p,
  .copyright { font-size: 12px; }
  #checkout .page-title h1 { font-size: 19px; }
  #checkout .payment-grid b { font-size: 14px; }
}

.footer-social-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.footer-social-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.24); color: inherit; font-size: 12px; font-weight: 800; text-decoration: none; }
.footer-social-links a:hover { border-color: #ff3d3d; color: #ff6767; }
.footer-youtube-link span { display: grid; place-items: center; width: 24px; height: 18px; border-radius: 5px; background: #ff0000; color: #fff; font-size: 9px; }
.footer-instagram-link span { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; background: linear-gradient(145deg,#6a35bd,#d82d7e 55%,#f6a43a); color: #fff; font-size: 15px; font-weight: 900; }
.footer-blog-link span { display: grid; place-items: center; width: 24px; height: 20px; border-radius: 5px; background: #03c75a; color: #fff; font-size: 7px; font-weight: 900; letter-spacing: -.04em; }

.header-tools { display: flex; flex: 0 0 auto; flex-direction: column; align-items: flex-end; gap: 8px; margin-left: auto; }
.header-member-links { display: flex; align-items: center; justify-content: flex-end; }
.header-member-links a { padding: 0 9px; border-right: 1px solid var(--line); color: #4f595e; font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.header-member-links a:first-child { padding-left: 0; }
.header-member-links a:last-child { padding-right: 0; border-right: 0; }
.header-member-links a:hover { color: #d88f00; }
.header-tool-row { display: flex; align-items: center; justify-content: flex-end; gap: 16px; }
.header-social-links { display: flex; align-items: center; gap: 7px; }
.header-social-links a { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #ddd9d1; border-radius: 50%; background: #fff; transition: transform .15s,border-color .15s; }
.header-social-links a:hover { transform: translateY(-2px); border-color: #f5a800; }
.header-social-links span { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 5px; color: #fff; font-weight: 900; line-height: 1; }
.header-blog-link span { background: #03c75a; font-size: 6px; letter-spacing: -.05em; }
.header-instagram-link span { background: linear-gradient(145deg,#6a35bd,#d82d7e 55%,#f6a43a); font-size: 14px; }
.header-youtube-link span { width: 21px; height: 15px; border-radius: 5px; background: #ff0000; font-size: 8px; }
.header-tool-row .quick-nav { gap: 14px; margin-left: 0; }
.header-tool-row .quick-nav a { font-size: 9px; }
.header-tool-row .quick-nav span { font-size: 17px; }

@media (max-width: 900px) {
  .header-tools { gap: 0; }
  .header-social-links { display: none; }
  .header-member-links { display: flex; }
  .header-member-links a { display: none; }
  .header-member-links .header-login-link {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    max-width: 100px;
    padding: 0 5px;
    border: 0;
    color: var(--ink);
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
  }
  .header-tool-row { gap: 0; }
}

/* Version 133: official brand marks and clear storefront utility icons. */
.header-social-links span {
  width: 17px;
  height: 17px;
  border-radius: 0;
  background: none;
}
.header-social-links svg,
.footer-social-links svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.header-blog-link { color: #03c75a; }
.header-instagram-link { color: #e4405f; }
.header-youtube-link { color: #ff0000; }
.header-blog-link span,
.header-instagram-link span,
.header-youtube-link span {
  width: 17px;
  height: 17px;
  border-radius: 0;
  background: none;
  color: inherit;
}
.header-youtube-link span { width: 19px; height: 19px; }

.header-tool-row .quick-nav span {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  font-size: 0;
}
.header-tool-row .quick-nav svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-social-links span,
.footer-blog-link span,
.footer-instagram-link span,
.footer-youtube-link span {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 0;
  background: none;
  font-size: 0;
}
.footer-blog-link span { color: #03c75a; }
.footer-instagram-link span { color: #e4405f; }
.footer-youtube-link span { color: #ff0000; }

/* Version 134: current official Naver Blog app mark. */
.header-blog-link span {
  width: 21px;
  height: 21px;
  overflow: hidden;
  border-radius: 5px;
}
.header-blog-link img,
.footer-blog-link img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-blog-link span {
  width: 20px;
  height: 20px;
  overflow: hidden;
  border-radius: 5px;
}

/* Keep form actions and feedback clear of the fixed consultation shortcuts. */
body:has(#checkout.active) .channel-float-stack,
body:has(#mypage.active) .channel-float-stack,
body:has(.modal.open) .channel-float-stack { display: none; }
.toast { z-index: 11000; }
@media (max-width: 760px) {
  #checkout input, #checkout select, #checkout textarea,
  #mypage input, .modal input, .modal select, .modal textarea { font-size: 16px; }
  #checkout .payment-grid > label { min-width: 0; overflow-wrap: anywhere; }
}
