  :root {
    --fg-orange: #ff6b35;
    --fg-orange-hover: #e85d2c;
    --fg-orange-light: #fff3ee;
    --fg-dark: #111;
    --fg-text: #333;
    --fg-sub: #888;
    --fg-light: #bbb;
    --fg-border: #eee;
    --fg-bg: #fff;
    --fg-bg-sub: #f8f8f8;
    --fg-bg-gap: #f2f2f2;
    --fg-radius-sm: 6px;
    --fg-radius-md: 10px;
    --fg-radius-lg: 14px;
    --content-max: 1280px;
    --side-width: 260px;
    --total-max: calc(var(--content-max) + var(--side-width) + 48px);
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html, body { overflow-x: hidden; }
  body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--fg-bg);
    color: var(--fg-text);
    -webkit-font-smoothing: antialiased;
  }
  a { text-decoration: none; color: inherit; }
  img { display: block; }
  button { font-family: inherit; }

  /* LAYOUT */
  .page-layout { display: flex; justify-content: center; max-width: var(--total-max); margin: 0 auto; }
  .main-column { flex: 1; min-width: 0; max-width: var(--content-max); }
  .side-column { width: var(--side-width); flex-shrink: 0; margin-left: 20px; padding-top: 16px; display: none; }
  @media (min-width: 1100px) { .side-column { display: block; } }

  /* TOP BAR */
  .top-bar {
    background: var(--fg-orange); color: #fff;
    text-align: center; font-size: 11.5px; font-weight: 500;
    padding: 6px 16px; letter-spacing: -0.2px;
    display: flex; justify-content: center; gap: 20px; flex-wrap: wrap;
  }
  .top-bar span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
  .top-bar svg { width: 13px; height: 13px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

  /* HEADER */
  .header { position: sticky; top: 0; z-index: 100; background: var(--fg-bg); border-bottom: 1px solid var(--fg-border); }
  .header-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--total-max); margin: 0 auto; padding: 10px 24px; gap: 20px; }
  .hamburger { background: none; border: none; cursor: pointer; padding: 4px; display: flex; align-items: center; justify-content: center; }
  .hamburger svg { width: 22px; height: 22px; stroke: var(--fg-dark); fill: none; stroke-width: 2; stroke-linecap: round; }
  @media (min-width: 768px) { .hamburger { display: none; } }
  .header-logo { display: flex; align-items: center; gap: 7px; flex-shrink: 0; }
  .logo-f { width: 30px; height: 30px; background: var(--fg-orange); color: #fff; font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; border-radius: 9px; }
  .logo-text { font-size: 19px; font-weight: 800; color: var(--fg-dark); letter-spacing: -0.8px; }
  @media (max-width: 480px) { .logo-text { font-size: 16px; } }
  .header-search { flex: 1; max-width: 600px; display: flex; align-items: center; background: #f4f4f4; border-radius: var(--fg-radius-md); padding: 0 14px; height: 40px; transition: box-shadow 0.2s; }
  .header-search:focus-within { box-shadow: 0 0 0 2px var(--fg-orange); background: #fff; }
  .header-search input { flex: 1; border: none; background: none; outline: none; font-size: 14px; font-family: inherit; color: var(--fg-text); min-width: 0; }
  .header-search input::placeholder { color: #bbb; }
  .header-search svg { width: 18px; height: 18px; stroke: #999; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; cursor: pointer; flex-shrink: 0; }
  .header-actions { display: flex; gap: 8px; align-items: center; flex-shrink: 0; margin-left: auto; }
  .header-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 4px 6px; border-radius: 8px; transition: background 0.15s; gap: 2px; min-width: 36px; }
  .header-btn:hover { background: #f5f5f5; }
  .header-btn:hover svg { stroke: var(--fg-orange); }
  .header-btn svg { width: 21px; height: 21px; stroke: var(--fg-dark); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
  .btn-label { font-size: 10px; font-weight: 500; color: #666; letter-spacing: -0.3px; white-space: nowrap; }
  .cart-badge { position: relative; }
  .badge-num { position: absolute; top: 0; right: 0; width: 16px; height: 16px; background: var(--fg-orange); color: #fff; font-size: 9px; font-weight: 700; border-radius: 50%; display: flex; align-items: center; justify-content: center; pointer-events: none; font-style: normal; }
  .show-mobile-only { display: none; }
  /* Header responsive — PC: all icons + labels */
  @media (min-width: 900px) {
    .header-actions { gap: 10px; }
    .header-btn { padding: 6px 10px; min-width: 48px; }
    .btn-label { display: block; }
    .header-btn.hide-mobile { display: flex !important; }
    .show-mobile-only { display: none !important; }
  }
  /* Header responsive — Tablet: icons only, hide extras */
  @media (min-width: 640px) and (max-width: 899px) {
    .btn-label { display: none; }
    .header-btn.hide-mobile { display: none !important; }
    .show-mobile-only { display: flex !important; }
  }
  /* Header responsive — Mobile: minimal icons */
  @media (max-width: 639px) {
    .header-actions { gap: 0; }
    .btn-label { display: none; }
    .header-btn.hide-mobile { display: none !important; }
    .show-mobile-only { display: flex !important; }
    .header-btn { min-width: 32px; padding: 4px; }
    .header-btn svg { width: 20px; height: 20px; }
  }

  /* TABS */
  .tabs-wrap { border-bottom: 1px solid var(--fg-border); background: var(--fg-bg); }
  .tabs { display: flex; max-width: var(--total-max); margin: 0 auto; padding: 0 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex-shrink: 0; padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--fg-sub); border-bottom: 2.5px solid transparent; margin-bottom: -1px; cursor: pointer; letter-spacing: -0.3px; white-space: nowrap; transition: color 0.2s; }
  .tab:hover { color: var(--fg-text); }
  .tab.active { color: var(--fg-orange); border-bottom-color: var(--fg-orange); font-weight: 700; }
  .tab .dot { display: inline-block; width: 5px; height: 5px; background: #ff3b30; border-radius: 50%; margin-left: 3px; vertical-align: top; }
  @media (min-width: 768px) { .tab { padding: 13px 24px; font-size: 14.5px; } }


/* ===== FOOTER REDESIGN 2026-03-23 ===== */
.fg-footer-new { background: #1a1f36; color: rgba(255,255,255,0.7); font-size: 13px; line-height: 1.7; font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Noto Sans KR', sans-serif; }
.fg-footer-main { max-width: 1280px; margin: 0 auto; padding: 48px 24px 36px; display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
.fg-footer-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.fg-footer-logo span { font-weight: 700; font-size: 16px; color: rgba(255,255,255,0.9); }
.fg-footer-desc { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.5); margin: 0 0 20px 0; }
.fg-footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.fg-footer-badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.6); }
.fg-footer-heading { color: rgba(255,255,255,0.9); font-size: 13px; font-weight: 700; margin: 0 0 16px 0; letter-spacing: -0.3px; }
.fg-footer-phone { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -0.5px; margin-bottom: 12px; }
.fg-footer-cs-info { display: flex; flex-direction: column; gap: 6px; }
.fg-footer-cs-info span { display: flex; align-items: center; gap: 6px; }
.fg-footer-cs-sub { font-size: 12px; color: rgba(255,255,255,0.45); padding-left: 20px; }
.fg-footer-links { display: flex; flex-direction: column; gap: 10px; }
.fg-footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 13px; transition: color 0.15s; }
.fg-footer-links a:hover { color: rgba(255,255,255,0.85); }
.fg-footer-link-bold { color: rgba(255,255,255,0.85) !important; font-weight: 600; }
.fg-footer-bizinfo-wrap { max-width: 1280px; margin: 0 auto; padding: 0 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.fg-footer-bizinfo-toggle { background: none; border: none; color: rgba(255,255,255,0.4); font-size: 12px; cursor: pointer; display: flex; align-items: center; gap: 4px; padding: 16px 0; font-family: inherit; }
.fg-footer-bizinfo-toggle:hover { color: rgba(255,255,255,0.6); }
.fg-footer-chevron { transition: transform 0.2s; }
.fg-footer-bizinfo-wrap.open .fg-footer-chevron { transform: rotate(180deg); }
.fg-footer-bizinfo-content { display: none; padding-bottom: 16px; font-size: 12px; line-height: 1.8; color: rgba(255,255,255,0.35); }
.fg-footer-bizinfo-wrap.open .fg-footer-bizinfo-content { display: block; }
.fg-footer-sep { margin: 0 8px; opacity: 0.3; }
.fg-footer-copyright { max-width: 1280px; margin: 0 auto; padding: 0 24px 24px; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 16px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: rgba(255,255,255,0.25); }
@media (max-width: 768px) {
  .fg-footer-main { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px 24px; }
  .fg-footer-brand { padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .fg-footer-phone { font-size: 20px; }
  .fg-footer-copyright { flex-direction: column; gap: 4px; text-align: center; padding: 16px 20px 20px; }
  .fg-footer-bizinfo-wrap { padding: 0 20px; }
}

/* TABLET PADDING */
@media (max-width: 899px) {
  .header-inner { padding: 10px 16px; }
  .tabs { padding: 0 16px; }
}

/* MOBILE PADDING — compact layout */
@media (max-width: 639px) {
  .header-inner { padding: 8px 10px; gap: 6px; }
  .header-search { flex: 1; min-width: 0; height: 34px; padding: 0 8px; }
  .header-search input { font-size: 12px; min-width: 0; }
  .header-actions { flex-shrink: 0; gap: 0; }
  .header-btn { min-width: 28px; padding: 4px 2px; }
  .header-btn svg { width: 18px; height: 18px; }
  .logo-f { width: 26px; height: 26px; font-size: 14px; border-radius: 7px; }
  .logo-text { font-size: 14px; }
  .hamburger { padding: 2px; }
  .hamburger svg { width: 20px; height: 20px; }
  .tabs { padding: 0 8px; }
  .tab { padding: 10px 12px; font-size: 13px; }
}
