/* ================================================================
   ENERMADE SHOP — E-commerce Storefront Styles
   New Design: Refined Industrial
   ================================================================ */

/* ══════════════════════════════════════
   SHOP LAYOUT
══════════════════════════════════════ */
.shop-wrap { background: var(--c-bg-2); }

/* ══════════════════════════════════════
   SHOP HEADER
══════════════════════════════════════ */
.shop-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: var(--c-bg-navy);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.shop-header__inner {
  display: flex;
  align-items: center;
  height: 62px;
  gap: 28px;
}

/* Brand */
.shop-brand {
  display: flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
}
.shop-brand__logo {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.04em;
}
.shop-brand__sub {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--c-accent);
  text-transform: uppercase;
}

/* Desktop nav */
.shop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
}
.shop-nav a {
  padding: 6px 13px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.55);
  border-radius: var(--r);
  text-decoration: none;
  transition: color .18s, background .18s;
  white-space: nowrap;
}
.shop-nav a:hover { color: #fff; background: rgba(255,255,255,.08); }
.shop-nav a.is-active { color: #fff; background: rgba(255,255,255,.12); }

/* Search */
.shop-search {
  display: flex;
  align-items: center;
  position: relative;
  flex-shrink: 0;
  width: 220px;
}
.shop-search input {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  border-radius: var(--r-2xl);
  padding: 7px 16px 7px 36px;
  font-size: 13px;
  font-family: var(--font-body);
  width: 100%;
  transition: background .18s, border-color .18s;
}
.shop-search input::placeholder { color: rgba(255,255,255,.35); }
.shop-search input:focus {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.3);
  box-shadow: none;
  outline: none;
  color: #fff;
}
.shop-search__icon {
  position: absolute;
  left: 12px;
  color: rgba(255,255,255,.4);
  pointer-events: none;
}

/* Tools */
.shop-tools {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.shop-tool-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: var(--r);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: color .18s, background .18s;
  position: relative;
}
.shop-tool-btn:hover { color: #fff; background: rgba(255,255,255,.08); }
.shop-tool-btn.is-active { color: #fff; }
.shop-cart-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 16px;
  height: 16px;
  background: var(--c-orange);
  color: #fff;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

.shop-divider { width: 1px; height: 20px; background: rgba(255,255,255,.12); margin: 0 4px; }

.shop-auth-btn {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--r);
  text-decoration: none;
  transition: all .18s;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  background: none;
}
.shop-auth-btn.outline {
  color: rgba(255,255,255,.7);
  border-color: rgba(255,255,255,.2);
}
.shop-auth-btn.outline:hover {
  color: #fff;
  border-color: rgba(255,255,255,.4);
  background: rgba(255,255,255,.06);
}
.shop-auth-btn.filled {
  background: var(--c-accent);
  color: #fff;
  border-color: var(--c-accent);
}
.shop-auth-btn.filled:hover {
  background: var(--c-accent-2);
  border-color: var(--c-accent-2);
}

/* Mobile toggle */
.shop-mobile-toggle {
  display: none;
  width: 36px; height: 36px;
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  color: rgba(255,255,255,.7);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  transition: background .18s;
}
.shop-mobile-toggle:hover { background: rgba(255,255,255,.08); }

/* ══════════════════════════════════════
   SHOP 모바일 슬라이드 드로어
══════════════════════════════════════ */
/* 좌우 스크롤 방지 */
html, body { overflow-x: hidden; max-width: 100%; }

.shop-mob-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 1049;
  backdrop-filter: blur(2px);
}
.shop-mob-backdrop.open { display: block; }

.shop-mob-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  max-width: 88vw;
  height: 100dvh;
  background: var(--c-navy-2);
  color: #fff;
  z-index: 1050;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.22,1,.36,1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 4px 0 24px rgba(0,0,0,.25);
}
.shop-mob-drawer.open { transform: translateX(0); }

.shop-mob-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.shop-mob-drawer__brand {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  letter-spacing: -.03em;
}
.shop-mob-drawer__brand span { color: #fff; }
.shop-mob-drawer__brand small { color: var(--c-accent); font-size: 12px; font-weight: 600; margin-left: 4px; }
.shop-mob-drawer__close {
  background: rgba(255,255,255,.08);
  border: none;
  border-radius: 8px;
  color: rgba(255,255,255,.7);
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .15s;
}
.shop-mob-drawer__close:hover { background: rgba(255,255,255,.15); }

.shop-mob-search {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.shop-mob-search input {
  flex: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  padding: 9px 12px;
  color: #fff;
  font-size: 14px;
}
.shop-mob-search input::placeholder { color: rgba(255,255,255,.35); }
.shop-mob-search input:focus { outline: none; border-color: var(--c-accent); }

.shop-mob-auth {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.shop-mob-user {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.shop-mob-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff; font-weight: 700; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.shop-mob-user__name { font-weight: 700; font-size: 14px; color: #fff; }
.shop-mob-user__email { font-size: 11px; color: rgba(255,255,255,.5); }
.shop-mob-btns { display: flex; gap: 6px; flex-wrap: wrap; }
.shop-mob-btn-outline, .shop-mob-btn-primary, .shop-mob-btn-dark, .shop-mob-btn-admin {
  padding: 8px 12px; border-radius: var(--r);
  font-size: 12px; font-weight: 600;
  text-decoration: none; text-align: center;
  transition: all .15s; flex: 1;
}
.shop-mob-btn-outline {
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.15);
}
.shop-mob-btn-outline:hover { background: rgba(255,255,255,.15); color: #fff; }
.shop-mob-btn-primary { background: var(--c-accent); color: #fff; border: none; }
.shop-mob-btn-primary:hover { background: #c2410c; }
.shop-mob-btn-dark { background: rgba(255,255,255,.12); color: #fff; border: none; }
.shop-mob-btn-dark:hover { background: rgba(255,255,255,.2); }
.shop-mob-btn-admin { background: rgba(234,88,12,.25); color: var(--c-accent); border: 1px solid rgba(234,88,12,.4); }
.shop-mob-btn-admin:hover { background: var(--c-accent); color: #fff; }

.shop-mob-nav { display: flex; flex-direction: column; padding: 8px; flex: 1; }
.shop-mob-link {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 14px;
  font-family: var(--font-head); font-size: 14px; font-weight: 600;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  border-radius: var(--r);
  transition: background .15s, color .15s;
}
.shop-mob-link:hover { background: rgba(255,255,255,.07); color: #fff; }
.shop-mob-link.is-active { background: rgba(234,88,12,.2); color: var(--c-accent); }
.shop-mob-badge {
  background: var(--c-accent); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 1px 6px; border-radius: 20px; margin-left: auto;
}

/* 기존 shop-mobile-menu는 숨김 */
.shop-mobile-menu { display: none !important; }
/* Mobile menu (숨김 처리 - 구버전) */

.shop-mobile-search {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.shop-mobile-search input {
  flex: 1;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r);
  padding: 9px 14px;
  color: #fff;
  font-size: 14px;
  font-family: var(--font-body);
}
.shop-mobile-search input::placeholder { color: rgba(255,255,255,.3); }
.shop-mobile-search input:focus { outline: none; border-color: var(--c-accent); }

.shop-mobile-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 12px;
}
.shop-mobile-links a {
  text-align: center;
  padding: 10px 8px;
  border-radius: var(--r);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.05);
  text-decoration: none;
  transition: background .18s, color .18s;
}
.shop-mobile-links a:hover { background: rgba(255,255,255,.1); color: #fff; }
.shop-mobile-links a.is-active { background: rgba(234,88,12,.4); color: #fff; }

.shop-mobile-auth {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.07);
}
.shop-mobile-auth .shop-auth-btn { flex: 1; text-align: center; }

/* ══════════════════════════════════════
   SHOP FOOTER
══════════════════════════════════════ */
.shop-footer {
  background: var(--c-bg-navy);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 20px 0;
  margin-top: auto;
}
.shop-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.shop-footer__copy { font-size: 13px; color: rgba(255,255,255,.35); }
.shop-footer__links { display: flex; gap: 20px; }
.shop-footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,.4);
  text-decoration: none;
  transition: color .18s;
}
.shop-footer__links a:hover { color: rgba(255,255,255,.8); }

/* ══════════════════════════════════════
   SHOP MAIN CONTENT
══════════════════════════════════════ */
.shop-main { min-height: calc(100vh - 62px - 57px); }
.shop-page { padding: 32px 0 64px; }

/* Generic shop card — lookup, payment result, inquiry pages */
.shop-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

/* ══════════════════════════════════════
   SHOP HOMEPAGE HERO
══════════════════════════════════════ */
.shop-hero {
  background: var(--c-bg-navy);
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.shop-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 80% 50%, rgba(234,88,12,.2) 0%, transparent 60%);
}
.shop-hero .container { position: relative; z-index: 1; }
.shop-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 20px;
}
.shop-hero__eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--c-accent); }
.shop-hero__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -.025em;
  margin-bottom: 14px;
}
.shop-hero__sub { font-size: 15px; color: rgba(255,255,255,.5); margin-bottom: 28px; }

/* ══════════════════════════════════════
   FILTER / TOOLBAR
══════════════════════════════════════ */
.shop-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.shop-toolbar__title {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
  margin: 0;
}
.shop-toolbar__sub { font-size: 13px; color: var(--c-muted); margin-top: 3px; }

.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--r-2xl);
  border: 1.5px solid var(--c-border);
  background: var(--c-bg);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-text-2);
  text-decoration: none;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}
.chip:hover { border-color: var(--c-accent); color: var(--c-accent); }
.chip.active { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }

/* ══════════════════════════════════════
   PRODUCT GRID & CARDS
══════════════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: border-color .22s, box-shadow .22s, transform .22s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--c-border-2);
  box-shadow: var(--sh);
  transform: translateY(-4px);
}
.product-thumb {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-bg-2);
  position: relative;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.product-card:hover .product-thumb img { transform: scale(1.05); }
.product-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-muted-2);
  background: var(--c-bg-3);
}

.product-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.product-cat {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 6px;
}
.product-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
  line-height: 1.35;
}
.product-spec {
  font-size: 12px;
  color: var(--c-muted);
  margin-bottom: 12px;
  line-height: 1.5;
}
.product-price {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-navy);
  margin-bottom: 14px;
}
.product-price span { font-size: 13px; font-weight: 500; color: var(--c-muted); margin-left: 2px; }

.product-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  align-items: center;
}
.product-qty {
  width: 64px;
  text-align: center;
  padding: 7px 6px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r);
  font-size: 13px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--c-text);
}
.product-qty:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px rgba(234,88,12,.1); outline: none; }

/* ══════════════════════════════════════
   PRODUCT DETAIL
══════════════════════════════════════ */
.product-detail-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--c-bg-2);
  aspect-ratio: 1;
}
.product-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-accent);
  background: var(--c-accent-lt);
  padding: 4px 12px;
  border-radius: var(--r-2xl);
  margin-bottom: 14px;
}
.product-detail-name {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--c-text);
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.product-detail-spec {
  font-size: 14px;
  color: var(--c-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.product-detail-price {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-navy);
  margin-bottom: 24px;
}
.product-detail-price small { font-size: 14px; font-weight: 500; color: var(--c-muted); }
.product-detail-divider { border-color: var(--c-border); margin: 24px 0; }
.product-add-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.product-add-qty { width: 90px; }

/* Product desc */
.product-desc {
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text-2);
  white-space: pre-line;
}

/* ══════════════════════════════════════
   SIDEBAR (products page)
══════════════════════════════════════ */
.shop-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: start;
}
.shop-sidebar {
  position: sticky;
  top: 90px;
}
.sidebar-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 22px;
}
.sidebar-section { margin-bottom: 22px; }
.sidebar-section:last-child { margin-bottom: 0; }
.sidebar-label {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 12px;
}
.sidebar-search { margin-bottom: 0; }

/* ══════════════════════════════════════
   CART
══════════════════════════════════════ */
.cart-table { width: 100%; }
.cart-table thead th {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
  padding: 12px 0;
  border-bottom: 2px solid var(--c-border);
}
.cart-row { border-bottom: 1px solid var(--c-border); }
.cart-row td { padding: 20px 0; vertical-align: middle; }
.cart-product-thumb {
  width: 72px; height: 72px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-bg-2);
  flex-shrink: 0;
}
.cart-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-product-name {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 4px;
}
.cart-product-spec { font-size: 12px; color: var(--c-muted); }
.cart-qty-input {
  width: 68px;
  text-align: center;
  padding: 7px 6px;
  border: 1.5px solid var(--c-border);
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 600;
}
.cart-price {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-navy);
  white-space: nowrap;
}
.cart-remove-btn {
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--c-border);
  background: transparent;
  color: var(--c-muted);
  cursor: pointer;
  transition: all .18s;
}
.cart-remove-btn:hover { border-color: var(--c-danger); background: #fef2f2; color: var(--c-danger); }

/* Cart summary */
.cart-summary {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 28px;
  position: sticky;
  top: 90px;
}
.cart-summary-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 20px;
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--c-text-2);
  padding: 8px 0;
}
.cart-summary-row.total {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--c-navy);
  border-top: 2px solid var(--c-border);
  margin-top: 8px;
  padding-top: 16px;
}

/* Empty cart */
.cart-empty {
  text-align: center;
  padding: 80px 20px;
}
.cart-empty__icon {
  width: 80px; height: 80px;
  background: var(--c-bg-2);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  color: var(--c-muted-2);
}
.cart-empty h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--c-text);
  margin-bottom: 8px;
}
.cart-empty p { font-size: 14px; color: var(--c-muted); margin-bottom: 24px; }

/* ══════════════════════════════════════
   ORDER / INQUIRY PAGES
══════════════════════════════════════ */
.order-status-badge {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--r-2xl);
}
.order-status-badge.pending   { background: #fffbeb; color: var(--c-warning); }
.order-status-badge.paid      { background: #f0fdf4; color: var(--c-success); }
.order-status-badge.cancelled { background: #fef2f2; color: var(--c-danger); }
.order-status-badge.shipping  { background: var(--c-accent-lt); color: var(--c-accent); }

/* Payment result pages */
.payment-result {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
}
.payment-result__card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 48px 36px;
  text-align: center;
  max-width: 440px;
  width: 100%;
  box-shadow: var(--sh);
}
.payment-result__icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.payment-result__icon.success { background: #f0fdf4; color: var(--c-success); }
.payment-result__icon.fail    { background: #fef2f2; color: var(--c-danger); }

/* ══════════════════════════════════════
   ACCOUNT PAGES
══════════════════════════════════════ */
.shop-account-sidebar {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: sticky;
  top: 90px;
}
.shop-account-sidebar__head {
  background: var(--c-bg-navy);
  padding: 24px;
}
.shop-account-sidebar__name {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 3px;
}
.shop-account-sidebar__email { font-size: 13px; color: rgba(255,255,255,.4); }
.shop-account-sidebar__nav { padding: 12px; }
.shop-account-sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: var(--r);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-2);
  text-decoration: none;
  transition: background .18s, color .18s;
}
.shop-account-sidebar__nav a:hover { background: var(--c-bg-2); color: var(--c-navy); }
.shop-account-sidebar__nav a.active { background: var(--c-accent-lt); color: var(--c-accent); }

/* Wishlist */
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

/* ══════════════════════════════════════
   INQUIRY FORM
══════════════════════════════════════ */
.inquiry-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--r-xl);
  padding: 32px;
}
.inquiry-info-box {
  background: var(--c-bg-2);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  padding: 20px;
  font-size: 13px;
  color: var(--c-muted);
  line-height: 1.7;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 991px) {
  .shop-nav, .shop-search, .shop-tools { display: none; }
  .shop-mobile-toggle { display: flex; }

  .shop-grid { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
}

@media (max-width: 767px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cart-table thead { display: none; }
  .cart-row { display: flex; flex-wrap: wrap; gap: 12px; padding: 16px 0; }
  .cart-row td { padding: 0; border: none; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* ================================================================
   ACCOUNT PAGES — My Page
   ================================================================ */
.shop-account-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 48px auto;
  padding: 0 20px;
  align-items: flex-start;
}

/* Sidebar */
.acct-sidebar {
  background: var(--c-bg);
  border: 1px solid var(--c-border, #e4e4e7);
  border-radius: 16px;
  overflow: hidden;
  position: sticky;
  top: 100px;
}

.acct-sidebar__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  background: #0f172a;
  color: #fff;
}

.acct-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ea580c;
  color: #fff;
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-transform: uppercase;
}

.acct-user-name {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.acct-user-email {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 2px;
}

.acct-nav {
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 2px;
}

.acct-nav-group-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 6px 14px 2px;
  margin-top: 4px;
}

.acct-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--c-text-2);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  border: 1px solid transparent;
}

.acct-nav-link:hover {
  background: #fff7ed;
  color: #ea580c;
  border-color: #fed7aa;
}

.acct-nav-link.is-active {
  background: #fff7ed;
  color: #ea580c;
  border-color: #fed7aa;
  font-weight: 700;
}

/* Content */
.acct-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.acct-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: 16px;
  padding: 28px;
}

.acct-card--danger {
  border-color: #fecaca;
  background: #fff5f5;
}

.acct-card__head {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}

.acct-card__title {
  font-family: 'Sora', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-text);
  margin: 0 0 4px;
}

.acct-card__desc {
  font-size: 13px;
  color: var(--c-muted);
  margin: 0;
}

/* Address list */
.acct-addr-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.acct-addr-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--c-border);
  border-radius: 10px;
  background: var(--c-bg-2);
}

.acct-addr-label {
  font-weight: 700;
  font-size: 14px;
  color: var(--c-text);
}

.acct-addr-detail {
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 2px;
}

/* Empty state */
.acct-empty {
  text-align: center;
  padding: 40px 20px;
  color: #a1a1aa;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.acct-empty p {
  font-size: 14px;
  margin: 0;
}

/* Status badges */
.acct-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.acct-status-badge--pending {
  background: #fff7ed;
  color: #ea580c;
  border: 1px solid #fed7aa;
}

.acct-status-badge--done {
  background: #dcfce7;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

.acct-status-badge--default {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

/* Inquiry list */
.acct-inquiry-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.acct-inquiry-item {
  border: 1px solid var(--c-border);
  border-radius: 12px;
  overflow: hidden;
}

.acct-inquiry-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--c-bg-2);
  border-bottom: 1px solid var(--c-border);
}

/* 아코디언 트리거 버튼 */
.acct-accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  background: var(--c-bg-2);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s;
}
.acct-accordion-trigger:hover { background: var(--c-bg-3); }
.acct-accordion-trigger__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.acct-accordion-chevron {
  flex-shrink: 0;
  color: #94a3b8;
  transition: transform 0.2s;
}
.acct-accordion-trigger.is-open .acct-accordion-chevron {
  transform: rotate(180deg);
}
.acct-accordion-body {
  padding: 0 16px 16px;
  border-top: 1px solid var(--c-border);
  background: var(--c-bg);
}

.acct-inquiry-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--c-text);
}

.acct-inquiry-date {
  font-size: 12px;
  color: var(--c-muted);
  margin-top: 3px;
}

.acct-inquiry-body,
.acct-inquiry-answer {
  padding: 14px 16px;
}

.acct-inquiry-answer {
  background: #f0fdf4;
  border-top: 1px solid #bbf7d0;
}

.acct-inquiry-label {
  font-size: 11px;
  font-weight: 700;
  color: #a1a1aa;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.acct-inquiry-text {
  font-size: 14px;
  color: var(--c-text-2);
  white-space: pre-wrap;
  line-height: 1.6;
}

.acct-inquiry-text--answer {
  color: #166534;
}

/* Table styling in account */
.acct-card .table thead th {
  background: var(--c-bg-2);
  font-size: 12px;
  font-weight: 700;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--c-border);
  white-space: nowrap;
}

.acct-card .table tbody tr:hover {
  background: var(--c-accent-lt);
}

/* Responsive */
@media (max-width: 768px) {
  .shop-account-wrap {
    grid-template-columns: 1fr;
    margin: 24px auto;
  }

  .acct-sidebar {
    position: static;
  }

  .acct-nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .acct-nav-link {
    flex: 1;
    min-width: 120px;
    justify-content: center;
  }
}

/* ══════════════════════════════════════
   다크모드 오버라이드
══════════════════════════════════════ */
/* 주문 상태 뱃지 - 라이트 배경 → 반투명으로 */
[data-theme="dark"] .order-status-badge.pending   { background: rgba(217,119,6,.15);  color: #fcd34d; }
[data-theme="dark"] .order-status-badge.paid      { background: rgba(22,163,74,.15);  color: #86efac; }
[data-theme="dark"] .order-status-badge.cancelled { background: rgba(220,38,38,.15);  color: #fca5a5; }
[data-theme="dark"] .order-status-badge.shipping  { background: rgba(234,88,12,.15);  color: var(--c-accent); }

/* 결제 결과 아이콘 */
[data-theme="dark"] .payment-result__icon.success { background: rgba(22,163,74,.15); }
[data-theme="dark"] .payment-result__icon.fail    { background: rgba(220,38,38,.15); }

/* 계정 네비게이션 - 하드코딩 #fff7ed → 다크 대체 */
[data-theme="dark"] .acct-nav-link:hover  { background: rgba(234,88,12,.15) !important; color: var(--c-accent) !important; border-color: rgba(234,88,12,.3) !important; }
[data-theme="dark"] .acct-nav-link.is-active { background: rgba(234,88,12,.18) !important; color: var(--c-accent) !important; border-color: rgba(234,88,12,.35) !important; }

/* 위험 카드 */
[data-theme="dark"] .acct-card--danger { background: rgba(220,38,38,.1) !important; border-color: rgba(220,38,38,.3) !important; }

/* 삭제 버튼 hover */
[data-theme="dark"] .app-cart-remove:hover { background: rgba(220,38,38,.2) !important; }
