:root{
  --bg:#f6f8fc;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line:rgba(15,23,42,.10);
  --brand:#2563eb;
  --brand2:#22c55e;
  --shadow:0 18px 45px rgba(15,23,42,.10);
  --radius:18px;
}

*{box-sizing:border-box}

html,body{
  margin:0;
  padding:0;
}

body{
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,"Apple SD Gothic Neo","Noto Sans KR",Arial,"Malgun Gothic",sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 500px at 20% -10%, rgba(37,99,235,.16), transparent 60%),
    radial-gradient(900px 450px at 85% -5%, rgba(34,197,94,.14), transparent 55%),
    var(--bg);
}

a{color:inherit;text-decoration:none}

.wrap{
  max-width:1140px;
  margin:0 auto;
  padding:22px 18px;
}

/* =========================
   oldcar new header
   ========================= */
.lhocHeader{
  position:sticky;
  top:0;
  z-index:3000;
  isolation:isolate;
  backdrop-filter:blur(10px);
  background:rgba(246,248,252,.72);
  border-bottom:1px solid var(--line);
}

.lhocHeaderInner{
  max-width:1140px;
  margin:0 auto;
  padding:0 18px;
  z-index:3000;
}

.lhocHeaderMain{
  min-height:72px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.lhocBrand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  flex:0 0 auto;
}

.lhocBrandSymbolLink,
.lhocBrandTitleLink{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  color:inherit;
}

.lhocBrandSymbol{
  display:block;
  width:28px;
  height:28px;
  object-fit:contain;
  flex:0 0 auto;
}

.lhocBrandTitle{
  display:inline-block;
  color:#0f172a;
  font-size:26px;
  line-height:1;
  font-weight:950;
  letter-spacing:-0.05em;
  white-space:nowrap;
}

.lhocHeaderTools{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  flex:1 1 auto;
  min-width:0;
}

.lhocHeaderActions{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.lhocMenuToggle,
.lhocNavClose{
  display:none;
  align-items:center;
  justify-content:center;
  height:40px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  color:rgba(15,23,42,.88);
  font-weight:900;
  font-size:13px;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(15,23,42,.06);
}

.lhocHeaderNavTop,
.lhocNavMeta{
  display:none;
}

.lhocNavBackdrop{
  display:none;
}

.lhocUserMenuWrap{
  position:relative;
}

.lhocUserMenuBtn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  height:40px;
  padding:0 14px 0 16px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  color:rgba(15,23,42,.88);
  font-weight:900;
  font-size:13px;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(15,23,42,.06);
}

.lhocUserMenuBtn[aria-expanded="true"]{
  border-color:rgba(15,23,42,.22);
  box-shadow:0 14px 28px rgba(15,23,42,.10);
}

.lhocUserMenuName{
  max-width:120px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.lhocUserMenuCaret{
  font-size:12px;
  color:var(--muted);
}

.lhocUserDropdown{
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  min-width:160px;
  padding:8px;
  border-radius:16px;
  border:1px solid var(--line);
  background:#fff;
  box-shadow:0 18px 36px rgba(15,23,42,.12);
}

.lhocUserDropdown a{
  display:flex;
  align-items:center;
  min-height:42px;
  padding:0 12px;
  border-radius:12px;
  text-decoration:none;
  color:#111827;
  font-weight:700;
}

.lhocUserDropdown a:hover{
  background:#f3f4f6;
}

.lhocHeaderNav{
  border-top:1px solid var(--line);
}

.lhocHeaderNavRow{
  min-height:52px;
  display:flex;
  align-items:center;
}

.lhocNav{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}

.lhocNav a{
  padding:10px 12px;
  border-radius:12px;
  color:rgba(15,23,42,.82);
  font-weight:800;
  font-size:13px;
  border:1px solid transparent;
  white-space:nowrap;
}

.lhocNav a:hover{
  background:rgba(37,99,235,.08);
  border-color:rgba(37,99,235,.12);
  color:#0f172a;
}

.lhocNav a.is-on{
  background:rgba(37,99,235,.10);
  border-color:rgba(37,99,235,.18);
  color:#0b2a75;
}

/* =========================
   original shared styles
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:40px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#fff;
  color:rgba(15,23,42,.88);
  font-weight:900;
  font-size:13px;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(15,23,42,.06);
}

.btn:hover{
  transform:translateY(-1px);
}

.btn.primary{
  border:0;
  color:#fff;
  background:linear-gradient(135deg, rgba(37,99,235,1), rgba(34,197,94,1));
  box-shadow:0 16px 35px rgba(37,99,235,.22);
}

.btn.ghost{
  background:transparent;
  box-shadow:none;
}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:16px;
}

.muted{color:var(--muted)}
.h1{font-size:22px;font-weight:950;margin:0}
.h2{font-size:16px;font-weight:950;margin:0}

.grid{
  display:grid;
  gap:14px;
}

@media(min-width:900px){
  .grid.cols2{grid-template-columns:1.2fr .8fr}
}
@media(min-width:900px){
  .grid.cols3{grid-template-columns:repeat(3,1fr)}
}

table{
  width:100%;
  border-collapse:collapse;
}

th,td{
  padding:12px 10px;
  border-bottom:1px solid rgba(15,23,42,.08);
  text-align:left;
  font-size:13px;
}

th{
  color:rgba(15,23,42,.78);
  font-weight:900;
  background:rgba(15,23,42,.02);
}

input,select,textarea{
  width:auto;
  max-width:100%;
  border:1px solid rgba(15,23,42,.14);
  border-radius:12px;
  padding:10px 12px;
  outline:none;
  background:#fff;
}

input:focus,select:focus,textarea:focus{
  border-color:rgba(37,99,235,.45);
  box-shadow:0 0 0 4px rgba(37,99,235,.10);
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 10px;
  border-radius:999px;
  background:rgba(37,99,235,.10);
  border:1px solid rgba(37,99,235,.16);
  color:#0b2a75;
  font-weight:900;
  font-size:12px;
}

.footer{
  padding:28px 18px 40px;
  text-align:center;
  color:var(--muted);
}

/* =========================
   index page local classes
   ========================= */
.hero{display:grid;gap:14px}
@media(min-width:900px){.hero{grid-template-columns:1.25fr .75fr;align-items:stretch}}
.heroCard{padding:18px}
.heroTitle{font-size:28px;font-weight:950;margin:0}
.heroSub{margin-top:10px;color:var(--muted);line-height:1.7}
.searchBox{margin-top:14px;display:grid;gap:10px}
@media(min-width:900px){.searchBox{grid-template-columns:1.1fr 1fr 1fr .9fr}}
.searchBox input,.searchBox select{width:100%}
.heroCtas{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}

.secHead{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;margin-top:18px}
.secHead .h{font-size:18px;font-weight:950;margin:0}
.secHead .s{margin-top:6px;color:var(--muted);font-size:13px}

.cards{display:grid;gap:14px;margin-top:12px}
@media(min-width:720px){.cards{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1100px){.cards{grid-template-columns:repeat(4,1fr)}}

.c{
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 16px 40px rgba(15,23,42,.08);
}
.c img{
  width:100%;
  height:160px;
  object-fit:cover;
  display:block;
  background:rgba(15,23,42,.03);
}
.cBody{padding:12px}
.cTitle{font-weight:950;font-size:14px;line-height:1.25}
.cMeta{margin-top:8px;color:var(--muted);font-size:12px;display:flex;gap:8px;flex-wrap:wrap}
.cPrice{margin-top:10px;font-weight:950}

.tipGrid{display:grid;gap:12px;margin-top:12px}
@media(min-width:900px){.tipGrid{grid-template-columns:repeat(3,1fr)}}
.tip{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 14px 34px rgba(15,23,42,.07);
}
.tipThumb{height:140px;background:rgba(15,23,42,.03)}
.tipThumb img{width:100%;height:100%;object-fit:cover;display:block}
.tipBody{padding:12px}
.tipTitle{font-weight:950;line-height:1.25}
.tipEx{margin-top:8px;color:var(--muted);font-size:13px;line-height:1.6}

.miniNote{font-size:12px;color:var(--muted);line-height:1.6}

/* responsive */
@media (max-width:860px){
  body.oldcar-nav-open{
    overflow:hidden;
    touch-action:none;
  }

  .wrap{
    padding:18px 14px 24px;
  }

  .lhocHeader{
    background:rgba(255,255,255,.96);
    backdrop-filter:none;
  }

  .lhocHeaderInner{
    padding:0 14px;
  }

  .lhocHeaderMain{
    min-height:64px;
    padding:10px 0;
    gap:10px;
  }

  .lhocHeaderTools{
    gap:8px;
    flex:0 0 auto;
  }

  .lhocHeaderActions{
    display:none;
  }

  .lhocMenuToggle{
    display:inline-flex;
    flex:0 0 auto;
    height:38px;
    padding:0 13px;
    border-radius:12px;
  }

  .lhocHeaderNav{
    display:none;
    border-top:0;
  }

  .lhocHeaderNav.is-open{
    display:block;
    position:fixed;
    inset:0;
    background:transparent;
    z-index:3100;
  }

  .lhocHeaderNav.is-open .lhocHeaderInner{
    position:absolute;
    top:0;
    right:0;
    bottom:0;
    width:min(88vw, 360px);
    max-width:calc(100vw - 44px);
    height:100%;
    margin:0;
    padding:0;
    background:#fff;
    box-shadow:-18px 0 40px rgba(15,23,42,.16);
  }

  .lhocHeaderNav.is-open .lhocHeaderNavRow{
    min-height:100%;
    height:100%;
    padding:16px 14px 18px;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    background:#fff;
  }

  .lhocHeaderNavTop{
    display:flex;
    position:sticky;
    top:0;
    z-index:2;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin:0 0 12px;
    padding:2px 0 10px;
    background:#fff;
    border-bottom:1px solid #eef2f7;
  }

  .lhocHeaderNavTop strong{
    font-size:16px;
    font-weight:950;
    letter-spacing:-0.02em;
  }

  .lhocNavClose{
    display:inline-flex;
    height:38px;
    padding:0 12px;
    border-radius:12px;
  }

  .lhocNav{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    flex-wrap:nowrap;
    overflow:visible;
  }

  .lhocNav a{
    display:flex;
    align-items:center;
    width:100%;
    min-height:48px;
    padding:0 14px;
    border-radius:16px;
    border:1px solid #e5e7eb;
    background:#fff;
    color:#111827;
    font-size:14px;
    font-weight:900;
    box-shadow:none;
  }

  .lhocNav a:hover{
    background:#f8fafc;
    border-color:#dbe3ee;
    color:#0f172a;
  }

  .lhocNav a.is-on{
    background:rgba(37,99,235,.10);
    border-color:rgba(37,99,235,.18);
    color:#0b2a75;
  }

  .lhocNavMeta{
    display:grid;
    gap:8px;
    margin-top:auto;
    padding-top:14px;
    border-top:1px solid #eef2f7;
    background:#fff;
  }

  .lhocNavMeta .btn{
    width:100%;
    height:44px;
  }

  .lhocNavBackdrop{
    display:none;
  }

  .lhocNavBackdrop.is-open{
    display:block;
    position:fixed;
    inset:0;
    background:rgba(15,23,42,.42);
    backdrop-filter:blur(2px);
    z-index:3090;
  }

  .rhFooterCustom{
    margin-top:30px;
  }
}

@media (max-width:640px){
  .wrap{
    padding:16px 14px 22px;
  }

  .lhocBrandTitle{
    font-size:24px;
  }

  .lhocBrandSymbol{
    width:24px;
    height:24px;
  }

  .lhocHeaderActions .btn.ghost{
    display:none;
  }

  .lhocUserMenuName{
    max-width:72px;
  }

  .btn{
    height:42px;
  }

  .card{
    padding:14px;
  }

  .rhFooterCustom{
    padding:26px 0 30px;
  }

  .rhFooterLinks a{
    font-size:13px;
  }

  .rhBizInfo{
    font-size:12px;
    gap:6px 12px;
  }
}


.rhFooterCustom{
  margin-top:40px;
  padding:32px 0 36px;
  border-top:1px solid #e5e7eb;
  background:#fff;
}

.rhFooterCustom .ncContainer{
  max-width:1200px;
  margin:0 auto;
  padding:0 16px;
}



.rhFooterNotice{
  margin-bottom:14px;
  line-height:1.65;
  font-size:13px;
}

.rhFooterLinks{
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  margin-bottom:14px;
}

.rhFooterLinks a{
  color:#334155;
  font-size:14px;
  font-weight:800;
}

.rhFooterLinks a:hover{
  color:rgba(37,99,235,.95);
  text-decoration:underline;
}

.rhBizInfo{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:8px 18px;
  padding:14px 0;
  border-top:1px solid #e9edf5;
  border-bottom:1px solid #e9edf5;
  color:#64748b;
  font-size:13px;
  line-height:1.7;
}

.rhBizInfo a{
  color:#64748b;
}

.rhBizInfo a:hover{
  color:rgba(37,99,235,.95);
  text-decoration:underline;
}

.rhCopyright{
  padding-top:14px;
  color:#94a3b8;
  font-size:12px;
  font-weight:800;
}

@media (max-width: 820px){
  .rhBizInfo{
    grid-template-columns:1fr;
  }

  .rhFooterLinks{
    gap:8px 14px;
  }
}

.lhocMobileQuickWrap{
  display:none;
}

.lhocMobileQuickNav{
  display:none;
}

@media (max-width:860px){
  .lhocMobileQuickWrap{
    display:block;
    padding:0 14px;
    background:#fff;
    border-top:1px solid #f1f5f9;
    border-bottom:1px solid #eef2f7;
  }

  .lhocMobileQuickNav{
    display:flex;
    align-items:center;
    gap:24px;
    min-height:46px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }

  .lhocMobileQuickNav::-webkit-scrollbar{
    display:none;
  }

  .lhocMobileQuickNav a{
    position:relative;
    display:inline-flex;
    align-items:center;
    flex:0 0 auto;
    min-height:46px;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    color:#111827;
    font-size:15px;
    font-weight:900;
    text-decoration:none;
    white-space:nowrap;
    box-shadow:none;
  }

  .lhocMobileQuickNav a:hover{
    background:transparent;
    color:#111827;
  }

  .lhocMobileQuickNav a.is-on{
    color:#1d4ed8;
  }

  .lhocMobileQuickNav a.is-on::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:2px;
    border-radius:999px;
    background:#2563eb;
  }
}