/* ═══════════════════════════════════════════════════════════════
   DX Mall Basic Theme — style.css  v1.2.2
   Modern Korean E-Commerce Design 2026
   ─────────────────────────────────────────────────────────────── */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

:root {
  --c-bg:        #ffffff;
  --c-bg2:       #f8f8f6;
  --c-bg3:       #f0ede8;
  --c-text:      #1a1a1a;
  --c-text2:     #555;
  --c-text3:     #999;
  --c-border:    #e8e5e0;
  --c-accent:    #2563eb;
  --c-accent-h:  #1d4ed8;
  --c-badge:     #ef4444;
  --c-success:   #22c55e;
  --c-warn:      #f59e0b;
  --c-price:     #dc2626;
  --c-sale:      #ef4444;
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.06);
  --shadow:      0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:   0 12px 40px rgba(0,0,0,.12);
  --header-h:    64px;
  --font:        'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-en:     'Inter', sans-serif;
  --trans:       .22s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--c-text); background: var(--c-bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.mb-con { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 768px) { .mb-con { padding: 0 16px; } }

/* ── Notice Bar ── */
.mb-notice { background: var(--c-text); color: #fff; text-align: center; padding: 10px 16px; font-size: .8rem; letter-spacing: .05em; }

/* ══════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════ */
.mb-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-border);
  height: var(--header-h);
}
.mb-header-inner { display: flex; align-items: center; gap: 24px; height: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.mb-logo { font-family: var(--font-en); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; white-space: nowrap; flex-shrink: 0; }
.mb-nav { display: flex; gap: 2px; flex: 1; }
.mb-nav-link { padding: 8px 14px; border-radius: var(--radius-sm); font-size: .9rem; font-weight: 500; color: var(--c-text2); transition: color var(--trans), background var(--trans); white-space: nowrap; }
.mb-nav-link:hover { color: var(--c-text); background: var(--c-bg2); }
.mb-header-right { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0; }
.mb-icon-btn { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-size: 1rem; color: var(--c-text2); transition: color var(--trans), background var(--trans); position: relative; }
.mb-icon-btn:hover { color: var(--c-text); background: var(--c-bg2); }
.mb-cart-badge { position: absolute; top: 4px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px; background: var(--c-badge); color: #fff; border-radius: 999px; font-size: .65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.mb-hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mb-hamburger span { display: block; width: 20px; height: 2px; background: var(--c-text); border-radius: 2px; transition: var(--trans); }
.mb-search-wrap { position: relative; }
.mb-search-inp { width: 200px; height: 38px; padding: 0 40px 0 14px; border: 1.5px solid var(--c-border); border-radius: 999px; font-size: .88rem; background: var(--c-bg2); transition: border-color var(--trans), width var(--trans); outline: none; }
.mb-search-inp:focus { border-color: var(--c-accent); background: #fff; width: 260px; }
.mb-search-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: .85rem; color: var(--c-text3); }

/* Mobile Nav */
.mb-mob-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1100; }
.mb-mob-nav { display: flex; flex-direction: column; position: fixed; top: 0; left: 0; width: 80%; max-width: 320px; height: 100%; background: #fff; z-index: 1200; overflow-y: auto; box-shadow: var(--shadow-lg); transform: translateX(-100%); transition: transform var(--trans); }
.mb-mob-nav.on { transform: translateX(0); }
.mb-mob-overlay.on { display: block; }
.mb-mob-head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--c-border); }
.mb-mob-logo { font-family: var(--font-en); font-weight: 800; font-size: 1.1rem; }
.mb-mob-close { font-size: 1.1rem; color: var(--c-text2); padding: 4px; }
.mb-mob-link { display: block; padding: 14px 20px; font-size: .95rem; border-bottom: 1px solid var(--c-bg2); }
.mb-mob-link:hover { background: var(--c-bg2); }
.mb-mob-section { padding: 14px 20px 6px; font-size: .72rem; font-weight: 700; color: var(--c-text3); letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 900px) { .mb-hamburger { display: flex; } .mb-nav { display: none; } .mb-search-wrap { display: none; } }

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.mb-hero { position: relative; min-height: 560px; display: flex; align-items: center; background: var(--c-bg2); overflow: hidden; }
.mb-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.mb-hero-bg.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,.52) 0%, rgba(0,0,0,.12) 100%); }
.mb-hero-body { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 80px 24px; }
.mb-hero-tag { display: inline-block; padding: 6px 14px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 20px; background: rgba(255,255,255,.2); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.3); }
.mb-hero.no-img .mb-hero-tag { background: var(--c-accent); color: #fff; }
.mb-hero-title { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; color: #fff; margin-bottom: 16px; }
.mb-hero.no-img .mb-hero-title { color: var(--c-text); }
.mb-hero-sub { font-size: clamp(.9rem, 2vw, 1.05rem); color: rgba(255,255,255,.82); margin-bottom: 36px; max-width: 480px; }
.mb-hero.no-img .mb-hero-sub { color: var(--c-text2); }
.mb-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.mb-btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: var(--radius); font-size: .92rem; font-weight: 700; transition: var(--trans); cursor: pointer; border: 2px solid transparent; }
.mb-btn-primary { background: var(--c-accent); color: #fff; border-color: var(--c-accent); }
.mb-btn-primary:hover { background: var(--c-accent-h); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(37,99,235,.3); }
.mb-btn-dark { background: var(--c-text); color: #fff; }
.mb-btn-dark:hover { background: #333; transform: translateY(-1px); }
.mb-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.mb-btn-outline:hover { background: rgba(255,255,255,.15); }
.mb-hero.no-img .mb-btn-outline { color: var(--c-text); border-color: var(--c-border); }
.mb-hero.no-img .mb-btn-outline:hover { background: var(--c-bg2); }

/* ══════════════════════════════════════════════════
   SECTIONS
══════════════════════════════════════════════════ */
.mb-section { padding: 64px 0; }
.mb-section-sm { padding: 40px 0; }
.mb-section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 16px; }
.mb-section-title { font-size: clamp(1.3rem, 2.5vw, 1.75rem); font-weight: 800; letter-spacing: -.03em; }
.mb-section-sub { font-size: .85rem; color: var(--c-text3); margin-top: 6px; }
.mb-section-more { font-size: .85rem; font-weight: 600; color: var(--c-accent); white-space: nowrap; }
.mb-section-more:hover { text-decoration: underline; }
hr.mb-divider { border: none; border-top: 1px solid var(--c-border); }

/* ══════════════════════════════════════════════════
   PRODUCT GRID & CARD
══════════════════════════════════════════════════ */
.mb-grid { display: grid; gap: 20px; }
.mb-grid-4 { grid-template-columns: repeat(4, 1fr); }
.mb-grid-3 { grid-template-columns: repeat(3, 1fr); }
.mb-grid-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1200px) { .mb-grid-4 { grid-template-columns: repeat(3, 1fr); } .mb-grid-5 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .mb-grid-4, .mb-grid-3, .mb-grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .mb-grid-4, .mb-grid-3 { grid-template-columns: 1fr; } }

.mb-card { border-radius: var(--radius); overflow: hidden; background: var(--c-bg); border: 1px solid var(--c-border); transition: box-shadow var(--trans), transform var(--trans); display: flex; flex-direction: column; }
.mb-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.mb-card-img-wrap { position: relative; overflow: hidden; background: var(--c-bg3); aspect-ratio: 3/4; }
.mb-card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mb-card:hover .mb-card-img { transform: scale(1.06); }
.mb-card-no-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--c-text3); font-size: 2.5rem; }
.mb-card-badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 4px; }
.mb-card-badge { display: inline-block; padding: 3px 8px; border-radius: var(--radius-sm); font-size: .7rem; font-weight: 700; letter-spacing: .03em; }
.mb-badge-sale { background: var(--c-sale); color: #fff; }
.mb-badge-new  { background: var(--c-text); color: #fff; }
.mb-badge-hot  { background: var(--c-warn); color: #fff; }
.mb-card-quick { position: absolute; bottom: -44px; left: 0; right: 0; background: rgba(0,0,0,.82); color: #fff; text-align: center; padding: 14px; font-size: .85rem; font-weight: 600; transition: bottom var(--trans); cursor: pointer; }
.mb-card:hover .mb-card-quick { bottom: 0; }
.mb-card-body { padding: 14px 14px 8px; flex: 1; display: flex; flex-direction: column; gap: 5px; }
.mb-card-brand { font-size: .72rem; font-weight: 700; color: var(--c-text3); letter-spacing: .06em; text-transform: uppercase; }
.mb-card-name { font-size: .9rem; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
.mb-card-price-wrap { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 4px; }
.mb-card-price { font-size: .98rem; font-weight: 800; }
.mb-card-price-orig { font-size: .8rem; color: var(--c-text3); text-decoration: line-through; }
.mb-card-discount { font-size: .78rem; font-weight: 800; color: var(--c-sale); }
.mb-card-footer { padding: 0 14px 14px; }
.mb-card-btn { width: 100%; padding: 9px; border-radius: var(--radius-sm); background: var(--c-text); color: #fff; font-size: .83rem; font-weight: 700; transition: var(--trans); }
.mb-card-btn:hover { background: #333; }

/* ══════════════════════════════════════════════════
   CATEGORY PILLS
══════════════════════════════════════════════════ */
.mb-cat-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.mb-cat-pill { padding: 8px 18px; border-radius: 999px; font-size: .85rem; font-weight: 600; border: 1.5px solid var(--c-border); background: var(--c-bg); color: var(--c-text2); transition: var(--trans); cursor: pointer; }
.mb-cat-pill:hover, .mb-cat-pill.on { background: var(--c-text); color: #fff; border-color: var(--c-text); }

/* ══════════════════════════════════════════════════
   BANNER GRID
══════════════════════════════════════════════════ */
.mb-banner-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .mb-banner-grid { grid-template-columns: 1fr; } }
.mb-banner { border-radius: var(--radius-lg); overflow: hidden; position: relative; min-height: 280px; display: flex; align-items: flex-end; background: var(--c-bg3); }
.mb-banner-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.mb-banner-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.65) 0%, transparent 60%); }
.mb-banner-body { position: relative; padding: 28px; color: #fff; }
.mb-banner-tag { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-bottom: 8px; }
.mb-banner-title { font-size: 1.4rem; font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.mb-banner-link { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }

/* ══════════════════════════════════════════════════
   SERVICE BAR
══════════════════════════════════════════════════ */
.mb-service { background: var(--c-bg2); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); padding: 32px 0; }
.mb-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .mb-service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .mb-service-grid { grid-template-columns: 1fr; } }
.mb-service-item { display: flex; align-items: center; gap: 14px; }
.mb-service-icon { width: 44px; height: 44px; border-radius: var(--radius); background: var(--c-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.mb-service-item strong { display: block; font-size: .88rem; font-weight: 700; }
.mb-service-item span { font-size: .78rem; color: var(--c-text3); }

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.mb-footer { background: #0f0f0f; color: #888; padding: 64px 0 32px; }
.mb-footer-top { display: grid; grid-template-columns: 240px 1fr; gap: 64px; margin-bottom: 48px; }
@media (max-width: 768px) { .mb-footer-top { grid-template-columns: 1fr; gap: 40px; } }
.mb-footer-logo { font-family: var(--font-en); font-size: 1.4rem; font-weight: 800; color: #fff; margin-bottom: 10px; }
.mb-footer-tagline { font-size: .85rem; line-height: 1.6; color: #555; }
.mb-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 600px) { .mb-footer-cols { grid-template-columns: repeat(2, 1fr); } }
.mb-footer-col h4 { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #555; margin-bottom: 14px; }
.mb-footer-col a { display: block; font-size: .88rem; color: #777; margin-bottom: 9px; transition: color var(--trans); }
.mb-footer-col a:hover { color: #fff; }
.mb-footer-bottom { border-top: 1px solid #222; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.mb-footer-biz { font-size: .78rem; color: #444; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.mb-footer-copy { font-size: .78rem; color: #333; }

/* ══════════════════════════════════════════════════
   BREADCRUMB & PAGE BAR
══════════════════════════════════════════════════ */
.mb-breadcrumb { padding: 14px 0; display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--c-text3); }
.mb-breadcrumb a:hover { color: var(--c-text); }
.mb-page-bar { background: var(--c-bg2); border-bottom: 1px solid var(--c-border); padding: 36px 0 28px; margin-bottom: 48px; }
.mb-page-title { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: -.03em; }
.mb-page-count { font-size: .85rem; color: var(--c-text3); margin-top: 6px; }

/* ══════════════════════════════════════════════════
   PRODUCT DETAIL
══════════════════════════════════════════════════ */
.mb-product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 40px 0 80px; }
@media (max-width: 900px) { .mb-product-layout { grid-template-columns: 1fr; gap: 28px; } }
.mb-product-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.mb-product-main-img { aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-bg3); margin-bottom: 10px; }
.mb-product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.mb-product-thumbs { display: flex; gap: 8px; }
.mb-product-thumb { width: 68px; height: 68px; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; cursor: pointer; transition: border-color var(--trans); flex-shrink: 0; background: var(--c-bg3); }
.mb-product-thumb.on, .mb-product-thumb:hover { border-color: var(--c-accent); }
.mb-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mb-product-brand { font-size: .78rem; font-weight: 700; color: var(--c-text3); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.mb-product-title { font-size: clamp(1.25rem, 2.5vw, 1.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.25; margin-bottom: 18px; }
.mb-product-price-wrap { display: flex; align-items: baseline; gap: 10px; margin-bottom: 6px; }
.mb-product-price { font-size: 1.75rem; font-weight: 800; }
.mb-product-orig { font-size: 1rem; color: var(--c-text3); text-decoration: line-through; }
.mb-product-discount { font-size: 1rem; font-weight: 800; color: var(--c-sale); }
.mb-product-divider { border: none; border-top: 1px solid var(--c-border); margin: 20px 0; }
.mb-product-meta { display: grid; gap: 8px; margin-bottom: 20px; }
.mb-product-meta-row { display: flex; gap: 10px; font-size: .88rem; }
.mb-product-meta-label { color: var(--c-text3); width: 68px; flex-shrink: 0; }
.mb-option-label { font-size: .82rem; font-weight: 700; margin-bottom: 8px; color: var(--c-text2); }
.mb-option-select { width: 100%; height: 44px; padding: 0 14px; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm); font-size: .9rem; background: var(--c-bg); outline: none; appearance: none; }
.mb-option-select:focus { border-color: var(--c-accent); }
.mb-qty-wrap { display: flex; align-items: center; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm); overflow: hidden; width: fit-content; margin-bottom: 20px; }
.mb-qty-btn { width: 40px; height: 44px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--c-text2); background: var(--c-bg2); transition: background var(--trans); }
.mb-qty-btn:hover { background: var(--c-bg3); }
.mb-qty-inp { width: 52px; height: 44px; text-align: center; border: none; border-left: 1.5px solid var(--c-border); border-right: 1.5px solid var(--c-border); font-size: .95rem; font-weight: 700; outline: none; }
.mb-product-btns { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.mb-btn-cart { background: var(--c-accent); color: #fff; border-radius: var(--radius-sm); padding: 16px; font-size: .95rem; font-weight: 700; text-align: center; transition: var(--trans); border: none; cursor: pointer; }
.mb-btn-cart:hover { background: var(--c-accent-h); }
.mb-btn-wish { width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm); font-size: 1.1rem; color: var(--c-text2); transition: var(--trans); background: var(--c-bg); cursor: pointer; }
.mb-btn-wish:hover { border-color: var(--c-sale); color: var(--c-sale); }

/* ══════════════════════════════════════════════════
   CART PAGE
══════════════════════════════════════════════════ */
.mb-cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 32px; padding: 40px 0 80px; }
@media (max-width: 900px) { .mb-cart-layout { grid-template-columns: 1fr; } }
.mb-cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--c-border); }
.mb-cart-img { width: 84px; height: 84px; border-radius: var(--radius-sm); overflow: hidden; background: var(--c-bg3); }
.mb-cart-img img { width: 100%; height: 100%; object-fit: cover; }
.mb-cart-name { font-size: .9rem; font-weight: 600; margin-bottom: 4px; }
.mb-cart-opt { font-size: .78rem; color: var(--c-text3); }
.mb-cart-price { font-size: .95rem; font-weight: 700; }
.mb-cart-remove { font-size: .8rem; color: var(--c-text3); margin-top: 6px; cursor: pointer; display: inline-block; }
.mb-cart-remove:hover { color: var(--c-sale); }
.mb-order-box { background: var(--c-bg2); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--c-border); position: sticky; top: calc(var(--header-h) + 20px); }
.mb-order-box h3 { font-size: 1rem; font-weight: 700; margin-bottom: 18px; }
.mb-order-row { display: flex; justify-content: space-between; font-size: .88rem; padding: 9px 0; border-bottom: 1px solid var(--c-border); }
.mb-order-total { display: flex; justify-content: space-between; font-size: 1.05rem; font-weight: 800; padding: 14px 0 0; }
.mb-checkout-btn { width: 100%; margin-top: 18px; padding: 15px; background: var(--c-text); color: #fff; border-radius: var(--radius-sm); font-size: .95rem; font-weight: 700; transition: var(--trans); border: none; cursor: pointer; }
.mb-checkout-btn:hover { background: #333; }

/* ══════════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════════ */
.mb-form-section { max-width: 720px; margin: 0 auto; padding: 48px 0 80px; }
.mb-form-card { background: var(--c-bg); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 16px; }
.mb-form-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--c-border); }
.mb-field { margin-bottom: 16px; }
.mb-field label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 6px; color: var(--c-text2); }
.mb-field label .req { color: var(--c-sale); margin-left: 2px; }
.mb-input { width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm); font-size: .9rem; background: var(--c-bg); outline: none; transition: border-color var(--trans); }
.mb-input:focus { border-color: var(--c-accent); }
.mb-textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm); font-size: .9rem; resize: vertical; min-height: 90px; outline: none; transition: border-color var(--trans); }
.mb-textarea:focus { border-color: var(--c-accent); }

/* ══════════════════════════════════════════════════
   MYPAGE
══════════════════════════════════════════════════ */
.mb-mypage-layout { display: grid; grid-template-columns: 210px 1fr; gap: 28px; padding: 40px 0 80px; }
@media (max-width: 768px) { .mb-mypage-layout { grid-template-columns: 1fr; } }
.mb-mypage-nav a { display: block; padding: 10px 14px; border-radius: var(--radius-sm); font-size: .9rem; color: var(--c-text2); transition: var(--trans); }
.mb-mypage-nav a:hover, .mb-mypage-nav a.on { background: var(--c-bg2); color: var(--c-text); font-weight: 600; }
.mb-mypage-profile { background: var(--c-bg2); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 12px; text-align: center; }
.mb-mypage-avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--c-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700; margin: 0 auto 10px; }
.mb-mypage-name { font-weight: 700; font-size: .95rem; }
.mb-mypage-email { font-size: .78rem; color: var(--c-text3); }
.mb-order-card { border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px; margin-bottom: 10px; }
.mb-order-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.mb-order-no { font-size: .8rem; font-weight: 700; color: var(--c-text3); }
.mb-order-status { padding: 4px 10px; border-radius: 999px; font-size: .73rem; font-weight: 700; }
.mb-status-paid     { background: #dbeafe; color: #1d4ed8; }
.mb-status-shipping { background: #fef9c3; color: #854d0e; }
.mb-status-done     { background: #dcfce7; color: #166534; }
.mb-status-cancel   { background: #fee2e2; color: #991b1b; }

/* ══════════════════════════════════════════════════
   EMPTY STATE & PAGINATION
══════════════════════════════════════════════════ */
.mb-empty { text-align: center; padding: 80px 24px; }
.mb-empty i { font-size: 3rem; color: var(--c-border); display: block; margin-bottom: 16px; }
.mb-empty p { color: var(--c-text3); font-size: .9rem; }
.mb-pagination { display: flex; justify-content: center; gap: 6px; padding: 40px 0; }
.mb-page-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); font-size: .85rem; border: 1.5px solid var(--c-border); color: var(--c-text2); transition: var(--trans); }
.mb-page-btn:hover, .mb-page-btn.on { background: var(--c-text); color: #fff; border-color: var(--c-text); }

/* ══════════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════════ */
.mb-toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px); background: #1a1a1a; color: #fff; padding: 14px 24px; border-radius: var(--radius); font-size: .88rem; font-weight: 600; box-shadow: var(--shadow-lg); z-index: 9999; transition: transform .3s ease, opacity .3s ease; opacity: 0; white-space: nowrap; pointer-events: none; }
.mb-toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.mb-toast.success { background: #166534; }
.mb-toast.error   { background: #991b1b; }

/* ══════════════════════════════════════════════════
   MAIN BODY
══════════════════════════════════════════════════ */
.mb-main { min-height: calc(100vh - var(--header-h)); }

/* ═══════════════════════════════════════════════════════════════
   DX Mall Home Page — v1.5.2 시안 스타일
═══════════════════════════════════════════════════════════════ */

/* ── 공통 ── */
.mh-con { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.mh-section { padding: 32px 0; }
.mh-section-gray { background: #f8f8f8; }
.mh-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.mh-section-title { font-size: 1.05rem; font-weight: 800; color: #1a1a1a; }
.mh-more { font-size: .8rem; font-weight: 600; color: #888; display: flex; align-items: center; gap: 3px; }
.mh-more:hover { color: var(--c-accent); }

/* ── 상단 유틸바 ── */
.mh-topbar { background: #fff; border-bottom: 1px solid #eee; font-size: .75rem; color: #666; }
.mh-topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; height: 34px; display: flex; align-items: center; justify-content: space-between; }
.mh-topbar-left, .mh-topbar-right { display: flex; align-items: center; gap: 12px; }
.mh-topbar a { color: #666; font-size: .75rem; white-space: nowrap; }
.mh-topbar a:hover { color: var(--c-accent); }
.mh-topbar-cart { display: flex; align-items: center; gap: 4px; font-weight: 600; color: #333 !important; }
.mh-topbar-cart-num { background: var(--c-accent); color: #fff; border-radius: 999px; min-width: 16px; height: 16px; font-size: .65rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 4px; }

/* ── 헤더 ── */
.mh-header-wrap { background: #fff; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 200; }
.mh-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; height: 68px; display: flex; align-items: center; gap: 24px; }
.mh-logo { display: flex; align-items: baseline; gap: 2px; text-decoration: none; flex-shrink: 0; }
.mh-logo-text { font-family: var(--font-en, 'Inter', sans-serif); font-size: 1.35rem; font-weight: 900; color: #1a1a1a; letter-spacing: -.02em; }
.mh-logo-sup { font-family: var(--font-en, 'Inter', sans-serif); font-size: .65rem; font-weight: 800; color: var(--c-accent); background: #eff6ff; padding: 2px 5px; border-radius: 4px; margin-left: 2px; vertical-align: super; }
.mh-search { display: flex; flex: 1; max-width: 480px; border: 1.5px solid #ddd; border-radius: 6px; overflow: hidden; }
.mh-search:focus-within { border-color: var(--c-accent); }
.mh-search-cat { border: none; border-right: 1px solid #ddd; background: #f8f8f8; padding: 0 10px; font-size: .8rem; color: #555; min-width: 60px; outline: none; }
.mh-search-inp { flex: 1; border: none; padding: 0 12px; font-size: .88rem; outline: none; min-width: 0; }
.mh-search-btn { border: none; background: var(--c-accent); color: #fff; width: 44px; font-size: .9rem; cursor: pointer; flex-shrink: 0; }
.mh-header-right { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-shrink: 0; }
.mh-hdr-icon { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 10px; color: #555; font-size: .65rem; font-weight: 600; border-radius: 6px; position: relative; }
.mh-hdr-icon i { font-size: 1.1rem; }
.mh-hdr-icon:hover { background: #f5f5f5; color: var(--c-accent); }
.mh-hdr-badge { position: absolute; top: 2px; right: 6px; background: var(--c-badge); color: #fff; border-radius: 999px; min-width: 16px; height: 16px; font-size: .65rem; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 3px; }

/* ── 카테고리 네비바 ── */
.mh-nav-wrap { background: #fff; border-bottom: 1px solid #eee; }
.mh-nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 16px; height: 44px; display: flex; align-items: center; gap: 0; }
.mh-all-cats { display: flex; align-items: center; gap: 7px; padding: 0 16px; height: 44px; font-size: .85rem; font-weight: 700; color: #fff; background: #1a1a1a; border: none; cursor: pointer; flex-shrink: 0; white-space: nowrap; }
.mh-all-cats:hover { background: #333; }
.mh-nav-menu { display: flex; align-items: center; gap: 0; }
.mh-nav-link { padding: 0 18px; height: 44px; display: flex; align-items: center; font-size: .88rem; font-weight: 600; color: #333; white-space: nowrap; border-right: 1px solid #f0f0f0; }
.mh-nav-link:hover { color: var(--c-accent); background: #f8f8f8; }

/* ── 히어로 슬라이더 ── */
.mh-hero { position: relative; overflow: hidden; }
.mh-hero-slides { position: relative; }
.mh-hero-slide { display: none; }
.mh-hero-slide.active { display: block; }
.mh-hero-slide-inner { max-width: 1200px; margin: 0 auto; padding: 60px 16px; display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 340px; }
.mh-hero-text { flex: 1; }
.mh-hero-sub { font-size: .82rem; color: #888; font-weight: 600; margin-bottom: 10px; }
.mh-hero-title { font-size: 2rem; font-weight: 900; color: #1a1a1a; line-height: 1.25; margin-bottom: 12px; }
.mh-hero-desc { font-size: .88rem; color: #666; margin-bottom: 24px; line-height: 1.6; }
.mh-hero-btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 24px; background: #1a1a1a; color: #fff; border-radius: 6px; font-size: .88rem; font-weight: 700; text-decoration: none; }
.mh-hero-btn:hover { background: #333; }
.mh-hero-img-wrap { flex-shrink: 0; width: 320px; }
.mh-hero-img-ph { width: 320px; height: 260px; background: #e0d8ce; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 2rem; }
.mh-hero-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 2; }
.mh-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,.2); border: none; cursor: pointer; padding: 0; transition: background .2s; }
.mh-dot.active { background: #1a1a1a; }

/* ── 카테고리 아이콘 ── */
.mh-cats-section { padding: 20px 0; background: #fff; border-bottom: 1px solid #f0f0f0; }
.mh-cats-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.mh-cat-item { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; padding: 8px 4px; border-radius: 8px; }
.mh-cat-item:hover { background: #f5f5f5; }
.mh-cat-icon { width: 52px; height: 52px; border-radius: 50%; background: #f8f8f8; border: 1px solid #eee; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.mh-cat-label { font-size: .68rem; font-weight: 600; color: #555; text-align: center; white-space: nowrap; }

/* ── 메인 그리드 (베스트+사이드) ── */
.mh-main-grid { display: grid; grid-template-columns: 1fr 200px; gap: 20px; align-items: flex-start; }
.mh-best-area { min-width: 0; }

/* ── 상품 카드 (4열) ── */
.mh-prod-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mh-prod-card { display: block; text-decoration: none; border: 1px solid #eee; border-radius: 10px; overflow: hidden; background: #fff; transition: box-shadow .15s, transform .15s; }
.mh-prod-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.mh-prod-img-wrap { position: relative; padding-top: 100%; background: #f8f8f8; }
.mh-prod-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mh-prod-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 2rem; }
.mh-prod-badge { position: absolute; top: 8px; left: 8px; padding: 3px 8px; border-radius: 4px; font-size: .65rem; font-weight: 800; color: #fff; }
.mh-badge-best { background: #1a1a1a; }
.mh-badge-sale { background: #ef4444; }
.mh-badge-new  { background: #2563eb; }
.mh-prod-wish { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; color: #ccc; border: none; cursor: pointer; font-size: .85rem; }
.mh-prod-wish:hover { color: #ef4444; }
.mh-prod-body { padding: 10px 12px 12px; }
.mh-prod-name { font-size: .82rem; font-weight: 600; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 5px; }
.mh-prod-prices { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.mh-price-orig { font-size: .72rem; color: #aaa; text-decoration: line-through; }
.mh-price-sale { font-size: .92rem; font-weight: 800; color: #ef4444; }
.mh-price-norm { font-size: .92rem; font-weight: 800; color: #1a1a1a; }
.mh-prod-stars { display: flex; align-items: center; gap: 2px; margin-top: 4px; font-size: .68rem; color: #f59e0b; }
.mh-prod-stars span { color: #aaa; margin-left: 2px; }

/* ── 사이드 ── */
.mh-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 120px; }

/* 신규 쿠폰 박스 */
.mh-coupon-box { background: linear-gradient(135deg, #1e3a8a, #2563eb); border-radius: 12px; padding: 18px; color: #fff; }
.mh-coupon-label { font-size: .65rem; font-weight: 700; opacity: .7; margin-bottom: 4px; }
.mh-coupon-title { font-size: .92rem; font-weight: 900; line-height: 1.35; margin-bottom: 10px; }
.mh-coupon-badge { background: rgba(255,255,255,.15); border: 2px dashed rgba(255,255,255,.4); border-radius: 8px; padding: 10px; text-align: center; margin-bottom: 8px; }
.mh-coupon-pct { font-size: 1.8rem; font-weight: 900; line-height: 1; }
.mh-coupon-pct-sub { font-size: .6rem; font-weight: 700; opacity: .8; }
.mh-coupon-desc { font-size: .72rem; opacity: .7; margin-bottom: 10px; }
.mh-coupon-btn { display: block; text-align: center; padding: 9px; background: #fff; color: #1e3a8a; border-radius: 6px; font-size: .8rem; font-weight: 800; text-decoration: none; }
.mh-coupon-btn:hover { background: #f0f4ff; }

/* 고객센터 박스 */
.mh-cs-box { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 14px; }
.mh-cs-label { font-size: .72rem; color: #888; font-weight: 600; margin-bottom: 4px; }
.mh-cs-phone { font-size: 1.3rem; font-weight: 900; color: #2563eb; margin-bottom: 4px; }
.mh-cs-hours { font-size: .7rem; color: #888; line-height: 1.6; margin-bottom: 8px; }
.mh-cs-link { font-size: .75rem; font-weight: 600; color: var(--c-accent); display: inline-flex; align-items: center; gap: 4px; }

/* ── 실시간 인기 (가로형) ── */
.mh-hot-section-grid { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: center; }
.mh-hot-title-label { font-size: 1rem; font-weight: 800; color: #1a1a1a; margin-bottom: 4px; }
.mh-hot-title-sub { font-size: .75rem; color: #888; }
.mh-hot-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mh-hot-item { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.mh-hot-rank { font-size: .78rem; font-weight: 800; color: #ccc; flex-shrink: 0; width: 18px; text-align: center; }
.mh-hot-rank.top { color: #ef4444; }
.mh-hot-thumb { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: #f0f0f0; }
.mh-hot-thumb-ph { width: 48px; height: 48px; border-radius: 6px; background: #f0f0f0; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: .9rem; }
.mh-hot-info { flex: 1; min-width: 0; }
.mh-hot-name { font-size: .75rem; font-weight: 600; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-hot-price { font-size: .72rem; font-weight: 700; color: var(--c-accent); margin-top: 1px; }

/* ── 신상품 (6열) ── */
.mh-prod-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.mh-new-card { display: block; text-decoration: none; }
.mh-new-card:hover .mh-new-img-wrap img, .mh-new-card:hover .mh-new-ph { opacity: .88; }
.mh-new-img-wrap { position: relative; padding-top: 100%; background: #f8f8f8; border-radius: 8px; overflow: hidden; margin-bottom: 8px; }
.mh-new-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mh-new-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #ddd; font-size: 1.5rem; }
.mh-new-name { font-size: .78rem; font-weight: 600; color: #1a1a1a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mh-new-price { font-size: .82rem; font-weight: 800; color: #1a1a1a; margin-top: 2px; }

/* ── 프로모션 3박스 ── */
.mh-promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mh-promo-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 22px 20px; display: flex; align-items: flex-start; gap: 16px; }
.mh-promo-icon { width: 54px; height: 54px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.mh-promo-tag { font-size: .7rem; font-weight: 700; margin-bottom: 3px; }
.mh-promo-title { font-size: .92rem; font-weight: 800; color: #1a1a1a; margin-bottom: 4px; }
.mh-promo-desc { font-size: .75rem; color: #888; line-height: 1.5; margin-bottom: 6px; }
.mh-promo-link { font-size: .72rem; font-weight: 700; color: var(--c-accent); }

/* ── 혜택 아이콘 5개 ── */
.mh-benefit-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.mh-benefit-item { background: #fff; border: 1px solid #eee; border-radius: 10px; padding: 18px 10px; text-align: center; }
.mh-benefit-icon { font-size: 1.5rem; margin-bottom: 7px; }
.mh-benefit-title { font-size: .75rem; font-weight: 700; color: #1a1a1a; margin-bottom: 3px; }
.mh-benefit-sub { font-size: .68rem; color: #888; }

/* ── 브랜드 ── */
.mh-brands { display: grid; grid-template-columns: repeat(8, 1fr); border: 1px solid #eee; border-radius: 10px; overflow: hidden; }
.mh-brand-item { display: flex; align-items: center; justify-content: center; padding: 18px 8px; border-right: 1px solid #eee; font-size: .82rem; font-weight: 800; text-align: center; }
.mh-brand-item:last-child { border-right: none; }
.mh-brand-item:hover { background: #f8f8f8; }

/* ── 커뮤니티 ── */
.mh-comm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mh-comm-card { background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 22px 18px; text-align: center; }
.mh-comm-icon { font-size: 2rem; margin-bottom: 10px; }
.mh-comm-title { font-size: .9rem; font-weight: 800; color: #1a1a1a; margin-bottom: 6px; }
.mh-comm-desc { font-size: .75rem; color: #888; line-height: 1.5; margin-bottom: 12px; }
.mh-comm-link { font-size: .75rem; font-weight: 700; color: var(--c-accent); }

/* ── 반응형 ── */
@media (max-width: 1100px) {
  .mh-main-grid { grid-template-columns: 1fr; }
  .mh-side { position: static; }
  .mh-cats-grid { grid-template-columns: repeat(5, 1fr); }
  .mh-prod-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .mh-prod-grid-6 { grid-template-columns: repeat(3, 1fr); }
  .mh-hot-list { grid-template-columns: repeat(3, 1fr); }
  .mh-brands { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .mh-topbar { display: none; }
  .mh-header-inner { gap: 12px; }
  .mh-search { max-width: none; flex: 1; }
  .mh-search-cat { display: none; }
  .mh-nav-wrap { overflow-x: auto; }
  .mh-hero-slide-inner { flex-direction: column; padding: 36px 16px; min-height: auto; }
  .mh-hero-img-wrap { display: none; }
  .mh-hero-title { font-size: 1.5rem; }
  .mh-promo-grid { grid-template-columns: 1fr; }
  .mh-benefit-grid { grid-template-columns: repeat(3, 1fr); }
  .mh-comm-grid { grid-template-columns: repeat(2, 1fr); }
  .mh-hot-section-grid { grid-template-columns: 1fr; }
  .mh-hot-list { grid-template-columns: repeat(2, 1fr); }
  .mh-brands { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
  .mh-prod-grid-6 { grid-template-columns: repeat(2, 1fr); }
  .mh-benefit-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════
   DX Mall Cart Page — v1.5.2
═══════════════════════════════════════════════════════════════ */
.mc-wrap { max-width:1200px; margin:0 auto; padding:24px 16px 48px; }

/* ── 페이지 헤더 ── */
.mc-page-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:24px; flex-wrap:wrap; gap:16px; }
.mc-page-title { font-size:1.4rem; font-weight:800; color:#1a1a1a; margin:0 0 4px; }
.mc-breadcrumb { font-size:.78rem; color:#aaa; display:flex; align-items:center; gap:5px; }
.mc-breadcrumb a { color:#aaa; } .mc-breadcrumb a:hover { color:var(--c-accent); }

/* 단계 표시 */
.mc-steps { display:flex; align-items:center; gap:0; }
.mc-step { display:flex; align-items:center; gap:6px; }
.mc-step-num { width:24px; height:24px; border-radius:50%; background:#ddd; color:#fff; font-size:.7rem; font-weight:800; display:flex; align-items:center; justify-content:center; }
.mc-step.active .mc-step-num { background:var(--c-accent); }
.mc-step-label { font-size:.78rem; font-weight:600; color:#bbb; }
.mc-step.active .mc-step-label { color:var(--c-accent); font-weight:700; }
.mc-step-line { width:40px; height:1px; background:#ddd; margin:0 6px; }

/* ── 빈 장바구니 ── */
.mc-empty { text-align:center; padding:80px 20px; color:#aaa; }
.mc-empty i { font-size:3rem; margin-bottom:16px; display:block; }
.mc-empty p { font-size:1rem; margin-bottom:20px; }
.mc-empty-btn { display:inline-block; padding:12px 28px; background:var(--c-accent); color:#fff; border-radius:8px; font-weight:700; font-size:.9rem; }

/* ── 메인 그리드 ── */
.mc-grid { display:grid; grid-template-columns:1fr 300px; gap:20px; align-items:flex-start; }
.mc-left { min-width:0; }

/* ── 상품 목록 헤더 ── */
.mc-list-head { display:flex; align-items:center; justify-content:space-between; border-top:2px solid #1a1a1a; border-bottom:1px solid #eee; padding:12px 14px; background:#fff; }
.mc-check-label { display:flex; align-items:center; gap:8px; font-size:.85rem; font-weight:600; color:#333; cursor:pointer; white-space:nowrap; }
.mc-check-label input[type=checkbox] { width:16px; height:16px; accent-color:var(--c-accent); cursor:pointer; }
.mc-list-head-right { display:flex; gap:0; }
.mc-col-head { width:100px; text-align:center; font-size:.78rem; font-weight:600; color:#888; }

/* ── 상품 행 ── */
.mc-item { display:flex; align-items:center; justify-content:space-between; padding:16px 14px; border-bottom:1px solid #f0f0f0; background:#fff; gap:12px; }
.mc-item-left { display:flex; align-items:center; gap:10px; flex:1; min-width:0; }
.mc-item-img-wrap { display:block; flex-shrink:0; width:80px; height:80px; border-radius:6px; overflow:hidden; background:#f8f8f8; }
.mc-item-img-wrap img { width:100%; height:100%; object-fit:cover; }
.mc-item-img-ph { width:80px; height:80px; border-radius:6px; background:#f8f8f8; display:flex; align-items:center; justify-content:center; color:#ccc; font-size:1.4rem; flex-shrink:0; }
.mc-item-info { flex:1; min-width:0; }
.mc-item-name { font-size:.88rem; font-weight:700; color:#1a1a1a; display:block; margin-bottom:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.mc-item-name:hover { color:var(--c-accent); }
.mc-item-opt { font-size:.75rem; color:#888; margin-bottom:5px; }
.mc-item-badges { display:flex; gap:5px; flex-wrap:wrap; }
.mc-badge-disc { background:#ffe4e4; color:#ef4444; font-size:.68rem; font-weight:700; padding:2px 8px; border-radius:3px; }

/* 오른쪽 컬럼들 */
.mc-item-right { display:flex; align-items:center; gap:0; flex-shrink:0; }

/* 수량 */
.mc-qty-wrap { width:100px; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; }
.mc-qty-btn { width:28px; height:32px; border:1px solid #ddd; background:#fff; font-size:1rem; cursor:pointer; color:#555; flex-shrink:0; }
.mc-qty-btn:hover { background:#f5f5f5; }
.mc-qty-inp { width:36px; height:32px; border:1px solid #ddd; border-left:none; border-right:none; text-align:center; font-size:.85rem; font-weight:600; outline:none; -moz-appearance:textfield; }
.mc-qty-inp::-webkit-inner-spin-button, .mc-qty-inp::-webkit-outer-spin-button { -webkit-appearance:none; }
.mc-change-link { font-size:.68rem; color:#aaa; text-decoration:underline; margin-top:4px; width:100%; text-align:center; display:block; }

/* 가격 컬럼 */
.mc-item-price-col, .mc-item-fee-col, .mc-item-sub-col { width:100px; text-align:center; font-size:.85rem; }
.mc-orig-price { font-size:.72rem; color:#aaa; text-decoration:line-through; }
.mc-sale-price { font-weight:700; color:#1a1a1a; }
.mc-item-sub-col { font-size:.9rem; font-weight:800; color:#1a1a1a; }
.mc-fee-note { font-size:.65rem; color:#aaa; }

/* 삭제 버튼 */
.mc-del-btn { width:24px; height:24px; border:none; background:none; color:#ccc; font-size:1rem; cursor:pointer; flex-shrink:0; margin-left:8px; }
.mc-del-btn:hover { color:#ef4444; }

/* ── 하단 버튼 바 ── */
.mc-list-foot { display:flex; align-items:center; gap:10px; padding:14px; border-top:1px solid #eee; background:#fff; }
.mc-foot-btn { display:flex; align-items:center; gap:5px; padding:8px 14px; border:1px solid #ddd; background:#fff; border-radius:6px; font-size:.8rem; font-weight:600; color:#555; cursor:pointer; }
.mc-foot-btn:hover { background:#f5f5f5; }
.mc-foot-total { margin-left:auto; font-size:.88rem; color:#555; display:flex; align-items:center; gap:8px; }
.mc-foot-total strong { font-size:1.1rem; font-weight:900; color:#ef4444; }

/* ── 주문금액 사이드 ── */
.mc-summary-box { background:#fff; border:1px solid #eee; border-radius:10px; padding:20px; position:sticky; top:80px; }
.mc-summary-title { font-size:.95rem; font-weight:800; color:#1a1a1a; margin-bottom:16px; padding-bottom:12px; border-bottom:1px solid #f0f0f0; }
.mc-summary-rows { display:flex; flex-direction:column; gap:10px; margin-bottom:16px; }
.mc-summary-row { display:flex; align-items:center; justify-content:space-between; font-size:.85rem; color:#555; }
.mc-summary-disc span:last-child { color:#ef4444; font-weight:700; }
.mc-summary-divider { height:1px; background:#f0f0f0; margin:4px 0; }
.mc-summary-total-row { font-size:.9rem; font-weight:700; color:#1a1a1a; }
.mc-summary-total-row strong { font-size:1.3rem; font-weight:900; color:var(--c-accent); }

.mc-order-btn { display:block; width:100%; padding:14px; background:var(--c-accent); color:#fff; border-radius:8px; font-size:.95rem; font-weight:800; text-align:center; margin-bottom:8px; }
.mc-order-btn:hover { background:var(--c-accent-h,#1d4ed8); }
.mc-simple-btn { display:block; width:100%; padding:12px; background:#fff; border:1.5px solid #ddd; border-radius:8px; font-size:.88rem; font-weight:700; color:#333; cursor:pointer; margin-bottom:8px; }
.mc-simple-btn:hover { background:#f5f5f5; }
.mc-npay-btn { display:block; width:100%; padding:12px; background:#fff; border:1.5px solid #03c75a; border-radius:8px; font-size:.88rem; font-weight:700; color:#1a1a1a; cursor:pointer; margin-bottom:14px; }
.mc-npay-btn:hover { background:#f0fff8; }

/* 쿠폰/포인트 */
.mc-coupon-wrap { border:1px solid #eee; border-radius:8px; overflow:hidden; margin-bottom:12px; }
.mc-coupon-head { display:flex; align-items:center; justify-content:space-between; padding:11px 14px; font-size:.82rem; font-weight:700; color:#333; cursor:pointer; background:#f8f8f8; }
.mc-coupon-body { padding:12px 14px; display:block; }
.mc-coupon-row { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:10px; }
.mc-coupon-row:last-child { margin-bottom:0; }
.mc-coupon-label { font-size:.75rem; color:#888; flex-shrink:0; width:70px; }
.mc-coupon-right { display:flex; align-items:center; gap:5px; flex:1; }
.mc-coupon-sel { flex:1; height:32px; border:1px solid #ddd; border-radius:5px; font-size:.78rem; padding:0 6px; outline:none; }
.mc-point-inp { flex:1; height:32px; border:1px solid #ddd; border-radius:5px; font-size:.78rem; padding:0 8px; outline:none; text-align:right; }
.mc-point-unit { font-size:.72rem; color:#888; flex-shrink:0; }
.mc-coupon-apply-btn { padding:0 10px; height:32px; background:#555; color:#fff; border:none; border-radius:5px; font-size:.72rem; font-weight:700; cursor:pointer; white-space:nowrap; flex-shrink:0; }
.mc-coupon-apply-btn:hover { background:#333; }
.mc-point-avail { font-size:.72rem; color:#888; text-align:right; margin-top:6px; }
.mc-point-avail strong { color:var(--c-accent); font-weight:700; }

.mc-delivery-note { font-size:.72rem; color:#aaa; line-height:1.7; margin-top:8px; }

/* ── 하단 서비스 바 ── */
.mc-svc-bar { display:grid; grid-template-columns:repeat(4,1fr); border:1px solid #eee; border-radius:8px; overflow:hidden; margin-top:24px; }
.mc-svc-item { display:flex; align-items:center; gap:10px; padding:16px; border-right:1px solid #eee; }
.mc-svc-item:last-child { border-right:none; }
.mc-svc-item i { font-size:1.4rem; color:var(--c-accent); flex-shrink:0; }
.mc-svc-item strong { display:block; font-size:.78rem; font-weight:700; color:#1a1a1a; }
.mc-svc-item span { font-size:.7rem; color:#888; }

/* ── 추천 상품 슬라이더 ── */
.mc-rec-section { margin-top:32px; }
.mc-rec-title { font-size:1.05rem; font-weight:800; color:#1a1a1a; margin-bottom:16px; }
.mc-rec-slider-wrap { position:relative; overflow:hidden; padding:0 36px; }
.mc-rec-slider { display:flex; gap:14px; transition:transform .3s ease; }
.mc-rec-nav { position:absolute; top:50%; transform:translateY(-50%); width:32px; height:32px; border-radius:50%; border:1px solid #ddd; background:#fff; color:#555; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:.78rem; z-index:2; box-shadow:0 2px 8px rgba(0,0,0,.08); }
.mc-rec-prev { left:0; }
.mc-rec-next { right:0; }
.mc-rec-nav:hover { background:#f5f5f5; }
.mc-rec-card { flex-shrink:0; width:180px; background:#fff; border:1px solid #eee; border-radius:10px; overflow:hidden; position:relative; }
.mc-rec-img-wrap { display:block; width:100%; padding-top:100%; position:relative; background:#f8f8f8; }
.mc-rec-img-wrap img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.mc-rec-img-ph { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#ddd; font-size:1.5rem; }
.mc-rec-info { padding:10px 10px 32px; }
.mc-rec-name { font-size:.78rem; font-weight:600; color:#1a1a1a; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; margin-bottom:5px; }
.mc-rec-price { display:flex; align-items:center; gap:5px; flex-wrap:wrap; margin-bottom:4px; }
.mc-rec-orig { font-size:.68rem; color:#aaa; text-decoration:line-through; }
.mc-rec-sale { font-size:.85rem; font-weight:800; color:#1a1a1a; }
.mc-rec-stars { font-size:.65rem; color:#f59e0b; display:flex; align-items:center; gap:1px; }
.mc-rec-stars span { color:#aaa; margin-left:3px; }
.mc-rec-cart-btn { position:absolute; bottom:8px; right:8px; width:28px; height:28px; border-radius:50%; background:var(--c-accent); color:#fff; border:none; cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:.75rem; }
.mc-rec-cart-btn:hover { background:var(--c-accent-h,#1d4ed8); }

/* ── 반응형 ── */
@media (max-width:960px) {
  .mc-grid { grid-template-columns:1fr; }
  .mc-summary-box { position:static; }
  .mc-col-head { width:80px; }
  .mc-item-price-col,.mc-item-fee-col,.mc-item-sub-col { width:80px; }
  .mc-qty-wrap { width:80px; }
  .mc-svc-bar { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px) {
  .mc-steps { display:none; }
  .mc-item { flex-direction:column; align-items:flex-start; }
  .mc-item-right { width:100%; justify-content:space-between; }
  .mc-list-head-right { display:none; }
  .mc-svc-bar { grid-template-columns:1fr 1fr; }
}
