
/* GAON COMMON SITE CSS
   공통 위치: templates_site/assets/gaon-common.css
   이 파일 한 곳만 수정하면 모든 상품 사이트 / generated / Netlify ZIP에 적용됩니다. */

/* 제조사 목록 - PC */
.maker-tab{
  min-height:108px!important;
  grid-template-columns:128px minmax(0,1fr) 22px!important;
  gap:14px!important;
  padding:12px 18px!important;
}
.maker-logo{
  width:122px!important;
  height:76px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex-shrink:0!important;
}
.maker-logo img{
  width:114px!important;
  height:68px!important;
  object-fit:contain!important;
  display:block!important;
}
.maker-logo b{font-size:22px!important;font-weight:900!important;}
.maker-tab-name{
  display:block!important;
  font-size:20px!important;
  line-height:1.18!important;
  font-weight:900!important;
  letter-spacing:-.055em!important;
  word-break:keep-all!important;
  overflow-wrap:anywhere!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
.maker-tab-count{font-size:15px!important;margin-top:5px!important;line-height:1.1!important;font-weight:800!important;}
.maker-tab-arrow{font-size:22px!important;justify-self:end!important;align-self:center!important;}
.panel-logo{width:122px!important;height:76px!important;display:flex!important;align-items:center!important;justify-content:center!important;}
.panel-logo img{width:114px!important;height:68px!important;object-fit:contain!important;display:block!important;}

/* 팝업에서는 차량 정보만 중앙 정렬, 브랜드 로고는 숨김 */
.selected-card{
  display:block!important;
  grid-template-columns:1fr!important;
  text-align:center!important;
  padding:18px 22px 16px!important;
  background:#fbfcff!important;
}
.selected-logo,#modalLogo{display:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important;}
.selected-title{width:100%!important;text-align:center!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;}
.selected-title strong{width:100%!important;text-align:center!important;margin:0 auto!important;font-size:21px!important;line-height:1.32!important;font-weight:850!important;letter-spacing:-.04em!important;word-break:keep-all!important;overflow-wrap:anywhere!important;}
.selected-title span{width:100%!important;text-align:center!important;margin:6px auto 0!important;font-size:14px!important;line-height:1.35!important;color:#667085!important;font-weight:700!important;}

/* 표/카드 정렬 공통 */
:root{--gaon-list-grid:70px 130px minmax(280px,1fr) 190px minmax(260px,360px) 28px;}
.table-scroll{max-height:calc(100vh - 260px)!important;overflow-y:auto!important;overflow-x:hidden!important;padding:0 20px 18px!important;}
.table-scroll::-webkit-scrollbar{width:10px;}
.table-scroll::-webkit-scrollbar-thumb{background:#c9d2e2;border-radius:999px;}
.table-head,.car-row{grid-template-columns:var(--gaon-list-grid)!important;}
.table-head{position:sticky!important;top:0!important;z-index:50!important;background:#fff!important;box-shadow:0 8px 16px rgba(15,23,42,.06)!important;border-bottom:1px solid #e5e9f0!important;margin:0!important;padding:16px 18px 12px!important;border-radius:0!important;}
.table-head span{padding-left:0!important;text-align:left!important;white-space:nowrap!important;}
.car-list{padding:8px 0 0!important;}
.car-row{display:grid!important;align-items:center!important;gap:0!important;padding:0 18px!important;overflow:hidden!important;}
.car-row .num,.car-row .code,.car-row .car-name,.car-row .year,.car-row .dash-opt,.car-row .chev{min-width:0!important;}
.car-row .code,.car-row .year,.car-row .car-name{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;padding-left:0!important;}
.car-row .dash-opt{display:flex!important;flex-wrap:nowrap!important;gap:6px!important;overflow:hidden!important;padding-left:0!important;}
.car-row .tag{flex:0 0 auto!important;}

/* 제조사 목록 - 모바일 */
@media(max-width:760px){
  .m-maker-btn{
    min-height:108px!important;
    height:auto!important;
    grid-template-columns:128px minmax(0,1fr) 22px!important;
    gap:12px!important;
    padding:12px 16px!important;
    border-radius:18px!important;
  }
  .m-maker-logo{
    width:122px!important;
    height:76px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-shrink:0!important;
  }
  .m-maker-logo img{
    width:114px!important;
    height:68px!important;
    object-fit:contain!important;
    display:block!important;
  }
  .m-maker-name{
    display:block!important;
    font-size:19px!important;
    line-height:1.18!important;
    font-weight:900!important;
    letter-spacing:-.065em!important;
    word-break:keep-all!important;
    overflow-wrap:anywhere!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  .m-maker-count{font-size:15px!important;margin-top:5px!important;line-height:1.1!important;font-weight:800!important;}
  .m-arrow{font-size:22px!important;justify-self:end!important;align-self:center!important;}
  .table-scroll{max-height:none!important;overflow:visible!important;padding:0 12px 18px!important;}
  .table-head{display:none!important;}
  .car-row{grid-template-columns:70px 1fr 24px!important;height:auto!important;min-height:78px!important;align-items:flex-start!important;}
  .car-row .car-name,.car-row .year,.m-car-name,.m-car-year{white-space:normal!important;overflow:visible!important;text-overflow:clip!important;display:block!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;max-height:none!important;word-break:keep-all!important;overflow-wrap:anywhere!important;}
  .car-row .code,.m-car-code{white-space:nowrap!important;}
  .car-row .chev{align-self:center!important;}
  .modal{width:min(460px,calc(100vw - 24px))!important;}
  .selected-card{padding:16px 16px 14px!important;text-align:center!important;}
  .selected-title strong{font-size:18px!important;line-height:1.35!important;text-align:center!important;}
  .selected-title span{font-size:13px!important;text-align:center!important;margin-top:5px!important;}
}

/* 2026-07-16 주문 코드 확인 팝업 - 가독성 중심 재설계 */
.modal-backdrop{padding:10px!important;background:rgba(0,0,0,.42)!important;align-items:center!important}
.modal{width:min(470px,calc(100vw - 12px))!important;max-height:96vh!important;border-radius:12px!important;box-shadow:0 18px 55px rgba(0,0,0,.28)!important;overflow:auto!important;background:#fff!important}
.modal-close{top:18px!important;right:18px!important;width:30px!important;height:30px!important;border:0!important;background:transparent!important;font-size:30px!important;font-weight:300!important;color:#111!important;z-index:5!important}
.modal-top{padding:22px 54px 18px!important;border-bottom:1px solid #eceff3!important;text-align:center!important;background:#fff!important}
.modal-chip{display:none!important}
.modal-top h2{margin:0!important;font-size:21px!important;line-height:1.35!important;font-weight:900!important;letter-spacing:.08em!important;color:#111!important}
.modal-desc{margin:24px -28px 0!important;font-size:16px!important;line-height:1.55!important;color:#555!important;font-weight:500!important}
.modal-desc b{color:#ff3b10!important;font-weight:900!important}
.selected-card,.info-grid{display:none!important}
.gaon-ref-summary{padding:20px 20px 8px!important;background:#fff!important}
.gaon-ref-logo{height:72px;display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.gaon-ref-logo #modalLogo{display:flex!important;width:116px!important;height:62px!important;align-items:center!important;justify-content:center!important;margin:0!important;padding:0!important}
.gaon-ref-logo #modalLogo img{display:block!important;max-width:110px!important;max-height:56px!important;object-fit:contain!important}
.gaon-ref-details{display:grid;gap:8px;padding:0 10px 10px}
.gaon-ref-row{display:grid;grid-template-columns:98px minmax(0,1fr);align-items:start;gap:10px;font-size:15px;line-height:1.45}
.gaon-ref-row>span:first-child{color:#555;font-weight:500}
.gaon-ref-row>strong,.gaon-ref-row>.gaon-ref-value{color:#111;font-weight:850;text-align:right;word-break:keep-all;overflow-wrap:anywhere}
.gaon-ref-row--name .gaon-ref-value{font-size:17px}
.gaon-ref-check{display:inline-flex;align-items:center;justify-content:center;margin-right:7px;color:#18b957;font-size:24px;line-height:1;vertical-align:-2px;font-weight:500}
.code-card{margin:8px 20px 10px!important;min-height:70px!important;padding:10px 12px 10px 16px!important;border:1px solid #cfd3da!important;border-radius:9px!important;background:#fff!important;display:grid!important;grid-template-columns:1fr auto!important;align-items:center!important;gap:10px!important;box-shadow:none!important}
.code-card>span{font-size:16px!important;color:#555!important;font-weight:500!important}
.code-card>strong{grid-column:2!important;grid-row:1!important;background:#fff1ec!important;color:#ff3b0a!important;border-radius:9px!important;min-width:112px!important;padding:14px 38px 14px 16px!important;font-size:20px!important;text-align:center!important;letter-spacing:.02em!important;position:relative!important}
.code-card .copy-mini{position:absolute!important;right:12px!important;top:50%!important;transform:translateY(-50%)!important;width:20px!important;height:24px!important;padding:0!important;overflow:hidden!important;color:transparent!important;border:0!important;background:transparent!important}
.code-card .copy-mini:before{content:'▢';position:absolute;inset:0;color:#ff3b0a;font-size:24px;line-height:22px;font-weight:400}
.gaon-ref-category{margin:0 20px 12px;padding:13px 16px;border:1px solid #cfd3da;border-radius:9px;display:grid;grid-template-columns:1fr auto;align-items:center;font-size:16px;background:#fff}
.gaon-ref-category span{color:#555}.gaon-ref-category strong{color:#111;font-weight:900}
.guide-box.naver-guide,.copy-help-box{display:none!important}
.gaon-config-guide{margin:0 20px 18px!important;padding:13px 16px!important;border:0!important;border-radius:0!important;background:#f5f6f9!important;color:#333!important}
.gaon-config-guide-title{font-size:15px!important;margin-bottom:5px!important;color:#111!important}
.gaon-config-guide-body{font-size:13.5px!important;line-height:1.65!important;color:#555!important}
.gaon-ref-caution{margin:0 20px 78px;padding-top:8px}
.gaon-ref-caution h3{font-size:16px;margin:0 0 10px;font-weight:500;color:#222}
.gaon-ref-caution ul{margin:0;padding-left:19px;color:#777;font-size:13px;line-height:1.55}
.gaon-ref-caution li{margin:7px 0}
.modal-actions{position:sticky!important;bottom:0!important;z-index:6!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;padding:10px 20px 18px!important;background:#fff!important;border-top:1px solid #eceff3!important;margin:0!important}
.modal-actions .btn,.modal-actions button,.modal-actions a{min-height:48px!important;border-radius:5px!important;padding:10px 5px!important;font-size:13px!important;line-height:1.25!important;font-weight:850!important;white-space:normal!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important}
.modal-actions .ghost{border:1px solid #111!important;background:#fff!important;color:#111!important}
.modal-actions .talk{border:1px solid #03c75a!important;background:#03c75a!important;color:#fff!important}
.modal-actions .buy{border:1px solid #111!important;background:#111!important;color:#fff!important}
@media(max-width:760px){
 .modal-backdrop{padding:0 5px!important;align-items:center!important}
 .modal{width:100%!important;max-height:98vh!important;border-radius:10px!important}
 .modal-top{padding:22px 48px 17px!important}
 .modal-top h2{font-size:20px!important}.modal-desc{font-size:15px!important;margin-top:21px!important}
 .gaon-ref-summary{padding:18px 16px 6px!important}.gaon-ref-details{padding-left:4px;padding-right:4px}
 .gaon-ref-row{grid-template-columns:86px minmax(0,1fr);font-size:14px}.gaon-ref-row--name .gaon-ref-value{font-size:16px}
 .code-card,.gaon-ref-category,.gaon-config-guide,.gaon-ref-caution{margin-left:16px!important;margin-right:16px!important}
 .modal-actions{padding:10px 16px 15px!important;gap:6px!important}.modal-actions .btn,.modal-actions button,.modal-actions a{font-size:12px!important;padding:9px 3px!important}
}

/* GAON FINAL ALIGNMENT V3 */
/* GAON 최종 목록 정렬: 모든 열의 중심축을 헤더와 동일하게 고정 */
@media (min-width:761px){
  :root{--gaon-list-grid:64px 140px minmax(320px,1fr) 190px minmax(250px,340px) 28px!important;}
  .table-head,.car-row{
    display:grid!important;
    grid-template-columns:var(--gaon-list-grid)!important;
    column-gap:0!important;
    align-items:center!important;
    box-sizing:border-box!important;
    width:100%!important;
  }
  .table-head{padding-left:18px!important;padding-right:18px!important;}
  .car-row{padding-left:18px!important;padding-right:18px!important;}
  .table-head>span,.car-row>span{
    box-sizing:border-box!important;
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0 6px!important;
    justify-self:stretch!important;
    align-self:stretch!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
  }
  .table-head>span:nth-child(1),.table-head>span:nth-child(2),
  .table-head>span:nth-child(3),.table-head>span:nth-child(4),
  .table-head>span:nth-child(5){text-align:center!important;padding-left:6px!important;}
  .car-row .num,.car-row .code,.car-row .car-name,.car-row .year,
  .car-row .configuration,.car-row .fuel,.car-row .seats,.car-row .category{
    display:flex!important;align-items:center!important;justify-content:center!important;
    text-align:center!important;padding-left:6px!important;padding-right:6px!important;
  }
  .car-row .car-name,.car-row .year,.car-row .configuration{
    white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
    word-break:keep-all!important;overflow-wrap:anywhere!important;line-height:1.4!important;
  }
  .car-row .chev{justify-content:flex-end!important;padding-right:0!important;}
}
@media (max-width:1100px) and (min-width:761px){
  :root{--gaon-list-grid:56px 112px minmax(250px,1fr) 160px minmax(190px,250px) 24px!important;}
  .table-head>span,.car-row>span{padding-left:4px!important;padding-right:4px!important;}
}
/* 모바일은 표를 억지로 축소하지 않고 읽기 쉬운 카드형으로 표시 */
@media (max-width:760px){
  .m-car-btn{
    min-height:96px!important;height:auto!important;
    grid-template-columns:84px minmax(0,1fr) 24px!important;
    gap:10px!important;padding:14px 14px!important;align-items:center!important;
  }
  .m-car-code{display:block!important;text-align:center!important;font-size:14px!important;font-weight:900!important;white-space:nowrap!important;}
  .m-car-name{display:block!important;text-align:left!important;font-size:16px!important;line-height:1.4!important;font-weight:800!important;word-break:keep-all!important;overflow-wrap:anywhere!important;}
  .m-car-meta{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:3px 7px!important;margin-top:7px!important;font-size:12.5px!important;line-height:1.45!important;color:#737b89!important;}
  .m-car-meta>span:not(:last-child):after{content:'·';margin-left:7px;color:#a3a9b3!important;}
  .m-car-btn .m-arrow{align-self:center!important;justify-self:end!important;}
  .gaon-vehicle-details,.gaon-ref-summary{padding-left:16px!important;padding-right:16px!important;}
  .gaon-vehicle-row,.gaon-ref-row{grid-template-columns:82px minmax(0,1fr)!important;gap:8px!important;}
  .gaon-vehicle-row>strong,.gaon-ref-row .gaon-ref-value{text-align:right!important;word-break:keep-all!important;overflow-wrap:anywhere!important;}
}

/* GAON TRUE FINAL TABLE LAYOUT 2026-08-05 */
@media (min-width: 761px){
  .layout{
    width:min(1380px,calc(100% - 48px))!important;
    max-width:1380px!important;
    margin:0 auto!important;
    padding:26px 0 34px!important;
    display:grid!important;
    grid-template-columns:250px minmax(0,1fr)!important;
    gap:20px!important;
    align-items:start!important;
  }
  .side,.panel{border-radius:18px!important;overflow:hidden!important;}

  .maker-tab{
    min-height:82px!important;
    height:82px!important;
    display:grid!important;
    grid-template-columns:78px minmax(0,1fr) 20px!important;
    gap:12px!important;
    align-items:center!important;
    padding:10px 14px!important;
  }
  .maker-logo{
    width:78px!important;
    height:58px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:visible!important;
  }
  .maker-logo img{
    width:68px!important;
    height:42px!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    transform:scale(1.35)!important;
    transform-origin:center!important;
    display:block!important;
  }
  .maker-tab-name{font-size:17px!important;line-height:1.2!important;font-weight:900!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;}
  .maker-tab-count{font-size:13px!important;margin-top:3px!important;}

  .panel-head{
    min-height:82px!important;
    height:82px!important;
    display:grid!important;
    grid-template-columns:92px minmax(0,1fr) auto!important;
    align-items:center!important;
    gap:14px!important;
    padding:0 22px!important;
  }
  .panel-logo{
    width:92px!important;
    height:62px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:visible!important;
  }
  .panel-logo img{
    width:80px!important;
    height:46px!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    transform:scale(1.35)!important;
    transform-origin:center!important;
    display:block!important;
  }
  .panel-title{font-size:27px!important;line-height:1!important;font-weight:900!important;}

  .table-head,.car-row{
    --gaon-cols:70px 130px minmax(320px,1.35fr) 180px minmax(300px,1.15fr) 34px;
    display:grid!important;
    grid-template-columns:var(--gaon-cols)!important;
    column-gap:0!important;
    width:100%!important;
    box-sizing:border-box!important;
    align-items:stretch!important;
    margin:0!important;
    padding:0 18px!important;
  }
  .table-head{
    min-height:50px!important;
    height:50px!important;
    position:sticky!important;
    top:0!important;
    z-index:20!important;
    background:#fff!important;
    border-top:1px solid #e3e8f0!important;
    border-bottom:1px solid #dce3ed!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  .car-list{padding:0 18px 18px!important;margin:0!important;}
  .car-list .car-row{
    padding:0!important;
    min-height:72px!important;
    height:auto!important;
    border:0!important;
    border-bottom:1px solid #e6ebf2!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:none!important;
  }
  .car-list .car-row:hover{background:#f8fbff!important;color:#111827!important;transform:none!important;box-shadow:none!important;}

  .table-head>span,
  .car-row>.num,
  .car-row>.code,
  .car-row>.car-main,
  .car-row>.year,
  .car-row>.configuration,
  .car-row>.fuel,
  .car-row>.seats,
  .car-row>.category,
  .car-row>.dash-opt,
  .car-row>.chev{
    min-width:0!important;
    width:100%!important;
    height:100%!important;
    box-sizing:border-box!important;
    margin:0!important;
    padding:10px 10px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    justify-self:stretch!important;
    align-self:stretch!important;
    border-right:1px solid #edf1f6!important;
  }
  .table-head>span:last-child,.car-row>.chev{border-right:0!important;}
  .table-head>span{font-size:14px!important;font-weight:850!important;color:#536176!important;white-space:nowrap!important;}
  .car-row>.num{grid-column:1!important;}
  .car-row>.code{grid-column:2!important;color:#075de8!important;font-weight:900!important;white-space:nowrap!important;}
  .car-row>.car-main{grid-column:3!important;flex-direction:column!important;gap:6px!important;}
  .car-row>.year{grid-column:4!important;white-space:normal!important;line-height:1.35!important;color:#5f6f86!important;font-weight:750!important;}
  .car-row>.configuration{grid-column:5!important;white-space:normal!important;line-height:1.35!important;font-weight:850!important;overflow:visible!important;text-overflow:clip!important;}
  .car-row>.chev{grid-column:6!important;font-size:22px!important;color:#8ca0bb!important;}
  .car-row .car-name{display:block!important;width:100%!important;text-align:center!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.3!important;font-weight:900!important;word-break:keep-all!important;overflow-wrap:anywhere!important;}
  .car-row .car-tags{width:100%!important;display:flex!important;justify-content:center!important;align-items:center!important;gap:5px!important;flex-wrap:wrap!important;}
  .car-row .configuration{background:#f5f8fd!important;}
}


/* GAON COLUMN/HOVER HOTFIX 2026-08-05 */
@media (min-width:761px){
  /* 헤더와 데이터 행이 동일한 실제 폭을 사용하도록 중복 내부여백 제거 */
  .table-head,
  .car-list .car-row{
    --gaon-cols:70px 130px minmax(320px,1.35fr) 180px minmax(300px,1.15fr) 34px!important;
    grid-template-columns:var(--gaon-cols)!important;
    width:100%!important;
    padding-left:18px!important;
    padding-right:18px!important;
    box-sizing:border-box!important;
  }
  .car-list{
    padding:0 0 18px!important;
    margin:0!important;
  }

  /* 모든 열을 헤더와 같은 중심축에 고정 */
  .table-head>span,
  .car-list .car-row>.num,
  .car-list .car-row>.code,
  .car-list .car-row>.car-main,
  .car-list .car-row>.year,
  .car-list .car-row>.configuration,
  .car-list .car-row>.fuel,
  .car-list .car-row>.seats,
  .car-list .car-row>.category,
  .car-list .car-row>.dash-opt,
  .car-list .car-row>.chev{
    padding-left:10px!important;
    padding-right:10px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
    box-sizing:border-box!important;
  }

  /* 제조사 로고 실제 표시 크기 확대 */
  .maker-tab{grid-template-columns:96px minmax(0,1fr) 20px!important;}
  .maker-logo{width:96px!important;height:62px!important;overflow:visible!important;}
  .maker-logo img{width:84px!important;height:50px!important;transform:scale(1.55)!important;transform-origin:center!important;}
  .panel-head{grid-template-columns:110px minmax(0,1fr) auto!important;}
  .panel-logo{width:110px!important;height:66px!important;overflow:visible!important;}
  .panel-logo img{width:94px!important;height:54px!important;transform:scale(1.55)!important;transform-origin:center!important;}

  /* 행 hover 시 기존 전역 스타일 때문에 글자가 흰색/투명해지는 문제 차단 */
  .car-list .car-row:hover,
  .car-list .car-row:hover .num,
  .car-list .car-row:hover .car-main,
  .car-list .car-row:hover .car-name,
  .car-list .car-row:hover .year,
  .car-list .car-row:hover .configuration,
  .car-list .car-row:hover .fuel,
  .car-list .car-row:hover .seats,
  .car-list .car-row:hover .category,
  .car-list .car-row:hover .dash-opt{
    color:#111827!important;
  }
  .car-list .car-row:hover .code{color:#075de8!important;}
  .car-list .car-row:hover .chev{color:#8ca0bb!important;}
  .car-list .car-row:hover .tag,
  .car-list .car-row:hover .car-tags .tag{
    color:#e65300!important;
    background:#fff7ed!important;
    border-color:#fdba74!important;
  }
}

/* =========================================================
   GAON FINAL COLUMN REDESIGN 2026-08-05
   - header/body use the same usable width
   - body scrollbar width is reserved in header
   - every cell shares one 6-column grid
   ========================================================= */
@media (min-width:761px){
  :root{
    --gaon-scrollbar-w:16px;
    --gaon-final-cols:70px 130px minmax(360px,1.65fr) 180px minmax(300px,1.25fr) 48px;
  }

  .layout{
    max-width:1440px!important;
    grid-template-columns:250px minmax(0,1fr)!important;
    gap:20px!important;
    padding:26px 24px!important;
  }
  .content,.panel{min-width:0!important;}

  /* logos: enlarge the actual visible artwork, including files with transparent margins */
  .maker-tab{
    min-height:82px!important;
    grid-template-columns:82px minmax(0,1fr) 20px!important;
    gap:12px!important;
    padding:10px 14px!important;
  }
  .maker-logo{
    width:82px!important;
    height:58px!important;
    overflow:visible!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .maker-logo img{
    width:76px!important;
    height:50px!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    transform:scale(1.8)!important;
    transform-origin:center!important;
  }
  .maker-tab-name{font-size:18px!important;}
  .maker-tab-count{font-size:14px!important;}

  .panel-head{
    min-height:82px!important;
    height:82px!important;
    display:grid!important;
    grid-template-columns:96px minmax(0,1fr) auto!important;
    gap:16px!important;
    padding:0 24px!important;
  }
  .panel-logo{
    width:96px!important;
    height:62px!important;
    overflow:visible!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .panel-logo img{
    width:86px!important;
    height:54px!important;
    max-width:none!important;
    max-height:none!important;
    object-fit:contain!important;
    transform:scale(1.9)!important;
    transform-origin:center!important;
  }

  /* Header width equals the body viewport width (excluding vertical scrollbar). */
  .table-head{
    display:grid!important;
    grid-template-columns:var(--gaon-final-cols)!important;
    width:calc(100% - var(--gaon-scrollbar-w))!important;
    min-height:52px!important;
    height:52px!important;
    padding:0!important;
    margin:0!important;
    column-gap:0!important;
    align-items:stretch!important;
    box-sizing:border-box!important;
    border-top:1px solid #dfe6ef!important;
    border-bottom:1px solid #d7e0eb!important;
    background:#fff!important;
  }

  .car-list{
    width:100%!important;
    max-height:calc(100vh - 270px)!important;
    overflow-y:scroll!important;
    overflow-x:hidden!important;
    scrollbar-gutter:stable!important;
    padding:0!important;
    margin:0!important;
    box-sizing:border-box!important;
  }

  .car-list .car-row{
    display:grid!important;
    grid-template-columns:var(--gaon-final-cols)!important;
    width:100%!important;
    min-height:72px!important;
    height:auto!important;
    margin:0!important;
    padding:0!important;
    column-gap:0!important;
    align-items:stretch!important;
    box-sizing:border-box!important;
    border:0!important;
    border-bottom:1px solid #e3e9f1!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }

  .table-head>span,
  .car-list .car-row>.num,
  .car-list .car-row>.code,
  .car-list .car-row>.car-main,
  .car-list .car-row>.year,
  .car-list .car-row>.configuration,
  .car-list .car-row>.fuel,
  .car-list .car-row>.seats,
  .car-list .car-row>.category,
  .car-list .car-row>.dash-opt,
  .car-list .car-row>.chev{
    min-width:0!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    padding:10px 12px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    justify-self:stretch!important;
    align-self:stretch!important;
    text-align:center!important;
    box-sizing:border-box!important;
    border-right:1px solid #e5ebf2!important;
  }
  .table-head>span:last-child,
  .car-list .car-row>.chev{border-right:0!important;}

  .table-head>span{font-size:14px!important;font-weight:850!important;color:#4d5d73!important;white-space:nowrap!important;}
  .car-row>.num{grid-column:1!important;color:#075de8!important;font-weight:900!important;}
  .car-row>.code{grid-column:2!important;color:#075de8!important;font-weight:900!important;white-space:nowrap!important;}
  .car-row>.car-main{grid-column:3!important;flex-direction:column!important;gap:6px!important;}
  .car-row>.year{grid-column:4!important;color:#5f6f86!important;font-weight:750!important;line-height:1.35!important;white-space:normal!important;}
  .car-row>.configuration{grid-column:5!important;background:#f4f7fc!important;color:#111827!important;font-weight:850!important;line-height:1.35!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;}
  .car-row>.chev{grid-column:6!important;color:#8ca0bb!important;font-size:22px!important;}

  .car-row .car-name{
    width:100%!important;
    display:block!important;
    margin:0!important;
    text-align:center!important;
    color:#111827!important;
    font-weight:900!important;
    line-height:1.3!important;
    white-space:normal!important;
    word-break:keep-all!important;
    overflow-wrap:anywhere!important;
    overflow:visible!important;
    text-overflow:clip!important;
  }
  .car-row .car-tags{
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    flex-wrap:wrap!important;
  }

  /* Keep all text readable on hover. */
  .car-list .car-row:hover{
    background:#f8fbff!important;
    color:#111827!important;
    transform:none!important;
    box-shadow:none!important;
  }
  .car-list .car-row:hover .num,
  .car-list .car-row:hover .car-main,
  .car-list .car-row:hover .car-name,
  .car-list .car-row:hover .year,
  .car-list .car-row:hover .configuration,
  .car-list .car-row:hover .fuel,
  .car-list .car-row:hover .seats,
  .car-list .car-row:hover .category,
  .car-list .car-row:hover .dash-opt{color:#111827!important;}
  .car-list .car-row:hover .code{color:#075de8!important;}
  .car-list .car-row:hover .chev{color:#8ca0bb!important;}
  .car-list .car-row:hover .tag{
    color:#e65300!important;
    background:#fff7ed!important;
    border-color:#fdba74!important;
  }
}

@media (min-width:761px) and (max-width:1180px){
  :root{--gaon-final-cols:56px 105px minmax(260px,1.55fr) 150px minmax(230px,1.1fr) 38px;}
  .layout{grid-template-columns:220px minmax(0,1fr)!important;padding:20px 16px!important;gap:16px!important;}
}

/* =========================================================
   GAON TRUE SHARED TABLE GRID 2026-08-05 v2
   Header and data rows live in the same scroll viewport.
   This removes scrollbar-width drift completely.
   ========================================================= */
@media (min-width:761px){
  .gaon-table-scroll{
    position:relative!important;
    width:100%!important;
    max-height:calc(100vh - 270px)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    scrollbar-gutter:stable!important;
    background:#fff!important;
  }
  .gaon-table-scroll .table-head{
    position:sticky!important;
    top:0!important;
    z-index:20!important;
    display:grid!important;
    grid-template-columns:7% 13% 36% 18% 22% 4%!important;
    width:100%!important;
    min-height:52px!important;
    height:52px!important;
    padding:0!important;
    margin:0!important;
    gap:0!important;
    align-items:stretch!important;
    box-sizing:border-box!important;
    background:#fff!important;
    border-top:1px solid #dfe6ef!important;
    border-bottom:1px solid #d7e0eb!important;
  }
  .gaon-table-scroll .car-list{
    width:100%!important;
    max-height:none!important;
    overflow:visible!important;
    padding:0!important;
    margin:0!important;
    box-sizing:border-box!important;
  }
  .gaon-table-scroll .car-row{
    display:grid!important;
    grid-template-columns:7% 13% 36% 18% 22% 4%!important;
    width:100%!important;
    min-height:72px!important;
    margin:0!important;
    padding:0!important;
    gap:0!important;
    align-items:stretch!important;
    box-sizing:border-box!important;
    border:0!important;
    border-bottom:1px solid #e3e9f1!important;
    border-radius:0!important;
    background:#fff!important;
    box-shadow:none!important;
    transform:none!important;
    overflow:hidden!important;
  }
  .gaon-table-scroll .table-head>span,
  .gaon-table-scroll .car-row>.num,
  .gaon-table-scroll .car-row>.code,
  .gaon-table-scroll .car-row>.car-main,
  .gaon-table-scroll .car-row>.year,
  .gaon-table-scroll .car-row>.configuration,
  .gaon-table-scroll .car-row>.fuel,
  .gaon-table-scroll .car-row>.seats,
  .gaon-table-scroll .car-row>.category,
  .gaon-table-scroll .car-row>.dash-opt,
  .gaon-table-scroll .car-row>.chev{
    min-width:0!important;
    width:100%!important;
    height:100%!important;
    margin:0!important;
    padding:10px 12px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    justify-self:stretch!important;
    align-self:stretch!important;
    text-align:center!important;
    box-sizing:border-box!important;
    border-right:1px solid #e5ebf2!important;
  }
  .gaon-table-scroll .table-head>span:last-child,
  .gaon-table-scroll .car-row>.chev{border-right:0!important;}
  .gaon-table-scroll .table-head>span{
    font-size:14px!important;
    font-weight:850!important;
    color:#4d5d73!important;
    white-space:nowrap!important;
  }
  .gaon-table-scroll .car-row>.num{grid-column:1!important;color:#075de8!important;font-weight:900!important;}
  .gaon-table-scroll .car-row>.code{grid-column:2!important;color:#075de8!important;font-weight:900!important;white-space:nowrap!important;}
  .gaon-table-scroll .car-row>.car-main{grid-column:3!important;flex-direction:column!important;gap:6px!important;}
  .gaon-table-scroll .car-row>.year{grid-column:4!important;color:#5f6f86!important;font-weight:750!important;line-height:1.35!important;white-space:normal!important;}
  .gaon-table-scroll .car-row>.configuration{grid-column:5!important;background:#f4f7fc!important;color:#111827!important;font-weight:850!important;line-height:1.35!important;white-space:normal!important;overflow:visible!important;}
  .gaon-table-scroll .car-row>.chev{grid-column:6!important;color:#8ca0bb!important;font-size:22px!important;}
  .gaon-table-scroll .car-name{width:100%!important;text-align:center!important;color:#111827!important;font-weight:900!important;line-height:1.3!important;white-space:normal!important;word-break:keep-all!important;overflow-wrap:anywhere!important;}
  .gaon-table-scroll .car-tags{width:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;flex-wrap:wrap!important;}
  .gaon-table-scroll .car-row:hover{background:#f8fbff!important;color:#111827!important;box-shadow:none!important;transform:none!important;}
  .gaon-table-scroll .car-row:hover .num,
  .gaon-table-scroll .car-row:hover .car-main,
  .gaon-table-scroll .car-row:hover .car-name,
  .gaon-table-scroll .car-row:hover .year,
  .gaon-table-scroll .car-row:hover .configuration,
  .gaon-table-scroll .car-row:hover .fuel,
  .gaon-table-scroll .car-row:hover .seats,
  .gaon-table-scroll .car-row:hover .category,
  .gaon-table-scroll .car-row:hover .dash-opt{color:#111827!important;}
  .gaon-table-scroll .car-row:hover .code{color:#075de8!important;}
  .gaon-table-scroll .car-row:hover .chev{color:#8ca0bb!important;}
  .gaon-table-scroll .car-row:hover .tag{color:#e65300!important;background:#fff7ed!important;border-color:#fdba74!important;}

  /* Actual logo artwork enlargement */
  .maker-tab{grid-template-columns:92px minmax(0,1fr) 20px!important;min-height:88px!important;}
  .maker-logo{width:92px!important;height:62px!important;overflow:visible!important;}
  .maker-logo img{width:86px!important;height:56px!important;max-width:none!important;max-height:none!important;object-fit:contain!important;transform:scale(2.15)!important;transform-origin:center!important;}
  .panel-head{grid-template-columns:110px minmax(0,1fr) auto!important;}
  .panel-logo{width:110px!important;height:66px!important;overflow:visible!important;}
  .panel-logo img{width:98px!important;height:60px!important;max-width:none!important;max-height:none!important;object-fit:contain!important;transform:scale(2.2)!important;transform-origin:center!important;}
}


/* =========================================================
   GAON UI BALANCE POLISH — 2026-08-05
   Keeps the verified column geometry, improves visual balance.
   ========================================================= */
:root{
  --ui-blue:#1769e8;
  --ui-blue-dark:#0b54c7;
  --ui-blue-soft:#eef5ff;
  --ui-text:#172033;
  --ui-muted:#65738a;
  --ui-line:#e4eaf2;
  --ui-panel:#ffffff;
  --ui-page:#f5f7fb;
}

/* Counts are intentionally removed; brand names remain. */
.maker-tab-count,.m-maker-count,.panel-count,#resultText{display:none!important;}
.result-line{min-height:22px!important;}
.result-line>span{margin-left:0!important;color:#7a879a!important;font-size:14px!important;}

body{background:var(--ui-page)!important;color:var(--ui-text)!important;}
.hero{background:#fff!important;border-bottom:1px solid #edf1f6!important;}
.hero-inner{padding-bottom:24px!important;}

/* Search */
.search-box{
  height:60px!important;
  border:1px solid #d4ddeb!important;
  border-radius:16px!important;
  background:#fff!important;
  padding:0 12px 0 18px!important;
  box-shadow:0 8px 24px rgba(28,45,76,.055)!important;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.search-box:hover{border-color:#b9c9df!important;box-shadow:0 10px 28px rgba(28,45,76,.075)!important;}
.search-box:focus-within{border-color:#76a8f5!important;box-shadow:0 0 0 4px rgba(23,105,232,.09),0 10px 28px rgba(28,45,76,.07)!important;}
.search-icon{color:#58708f!important;font-size:21px!important;}
.search-box input{font-size:16px!important;font-weight:500!important;color:#202a3d!important;letter-spacing:-.015em!important;}
.clear-btn{height:42px!important;border-radius:12px!important;background:#edf4ff!important;color:#0d5bd4!important;font-weight:750!important;padding:0 17px!important;transition:.18s ease!important;}
.clear-btn:hover{background:#deebff!important;color:#064fbf!important;transform:translateY(-1px)!important;}

/* Main panels */
.layout{gap:20px!important;}
.side,.panel{border:1px solid #e1e7ef!important;border-radius:17px!important;background:#fff!important;box-shadow:0 12px 32px rgba(31,47,75,.065)!important;overflow:hidden!important;}
.side-title{height:58px!important;display:flex!important;align-items:center!important;padding:0 18px!important;color:#2b374b!important;font-size:15px!important;font-weight:750!important;background:#fbfcfe!important;border-bottom:1px solid var(--ui-line)!important;}

/* Manufacturer cards */
.maker-tab{
  min-height:82px!important;
  padding:10px 16px!important;
  border-bottom:1px solid #edf1f5!important;
  background:#fff!important;
  transition:background-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
.maker-tab:hover{background:#f7faff!important;box-shadow:inset 4px 0 0 #9fc3f9!important;}
.maker-tab.active{background:linear-gradient(90deg,#edf5ff 0%,#f6f9ff 100%)!important;box-shadow:inset 4px 0 0 var(--ui-blue)!important;}
.maker-tab-text{display:flex!important;align-items:center!important;min-width:0!important;}
.maker-tab-name{font-size:17px!important;font-weight:720!important;color:#202a3b!important;letter-spacing:-.025em!important;}
.maker-tab.active .maker-tab-name{color:#0d4fae!important;font-weight:780!important;}
.maker-tab-arrow{color:#8697ad!important;font-weight:500!important;transition:transform .18s ease,color .18s ease!important;}
.maker-tab:hover .maker-tab-arrow{color:var(--ui-blue)!important;transform:translateX(2px)!important;}

/* Panel title */
.panel-head{background:#fff!important;border-bottom:1px solid var(--ui-line)!important;}
.panel-title{font-weight:780!important;color:#162136!important;letter-spacing:-.035em!important;}

/* Table typography and header */
.gaon-table-scroll .table-head{
  background:#f9fbfe!important;
  border-top:0!important;
  border-bottom:1px solid #dce4ee!important;
}
.gaon-table-scroll .table-head>span{
  color:#536176!important;
  font-size:14px!important;
  font-weight:720!important;
  letter-spacing:-.015em!important;
  border-right-color:#e3e9f1!important;
}
.gaon-table-scroll .car-row{
  background:#fff!important;
  border-bottom-color:#e7ecf2!important;
  transition:background-color .16s ease,box-shadow .16s ease!important;
}
.gaon-table-scroll .car-row:nth-child(even){background:#fcfdff!important;}
.gaon-table-scroll .car-row:hover{
  background:#f2f7ff!important;
  box-shadow:inset 4px 0 0 #6ea5f5!important;
}
.gaon-table-scroll .car-row:hover>.configuration{background:#edf4ff!important;}
.gaon-table-scroll .car-row:hover .chev{color:var(--ui-blue)!important;transform:translateX(2px)!important;}

.gaon-table-scroll .car-row>.num{
  color:#66758a!important;
  font-weight:650!important;
}
.gaon-table-scroll .car-row>.code{
  color:#0d62df!important;
  font-weight:750!important;
}
.gaon-table-scroll .car-name{
  color:#1b2638!important;
  font-weight:720!important;
  font-size:15px!important;
}
.gaon-table-scroll .car-row>.year{
  color:#627188!important;
  font-weight:580!important;
  font-size:14px!important;
}
.gaon-table-scroll .car-row>.configuration{
  background:#f7f9fc!important;
  color:#344258!important;
  font-weight:600!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  flex-wrap:wrap!important;
  padding:10px 14px!important;
}
.gaon-table-scroll .car-row>.chev{transition:transform .16s ease,color .16s ease!important;}

/* Configuration chips */
.config-chip{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:28px!important;
  padding:4px 10px!important;
  border:1px solid #d8e3f2!important;
  border-radius:9px!important;
  background:#fff!important;
  color:#40516a!important;
  font-size:13px!important;
  line-height:1.15!important;
  font-weight:650!important;
  white-space:nowrap!important;
  box-shadow:0 1px 2px rgba(20,40,75,.025)!important;
}
.car-row:hover .config-chip{border-color:#bdd2f1!important;background:#fff!important;color:#244c87!important;}
.config-empty{color:#8794a8!important;font-weight:600!important;}

/* Product/config tag below model name */
.tag{
  font-weight:650!important;
  border-radius:8px!important;
  padding:3px 8px!important;
  letter-spacing:-.01em!important;
}

/* Mobile counts and balance */
@media (max-width:760px){
  .m-maker-btn{min-height:72px!important;background:#fff!important;border-bottom:1px solid #e9eef4!important;transition:.16s ease!important;}
  .m-maker-btn:hover,.m-maker-btn:active{background:#f2f7ff!important;}
  .m-maker-name{font-weight:720!important;color:#1e293b!important;}
  .m-search{box-shadow:0 6px 18px rgba(26,44,76,.06)!important;}
  .m-subtext:empty{display:none!important;}
}


/* GAON FINAL FULLCOVER-NODOOR TABLE STANDARD 2026-08-06 */
@media (min-width:761px){
  .panel>.gaon-table-scroll{
    position:relative!important;width:100%!important;max-height:calc(100vh - 270px)!important;
    overflow-y:auto!important;overflow-x:hidden!important;scrollbar-gutter:stable!important;
    margin:0!important;padding:0!important;background:#fff!important;
  }
  .panel>.gaon-table-scroll>.table-head,
  .panel>.gaon-table-scroll>.car-list>.car-row{
    display:grid!important;grid-template-columns:7% 13% 36% 18% 22% 4%!important;
    width:100%!important;margin:0!important;padding:0!important;gap:0!important;
    box-sizing:border-box!important;align-items:stretch!important;
  }
  .panel>.gaon-table-scroll>.table-head{
    position:sticky!important;top:0!important;z-index:30!important;height:52px!important;min-height:52px!important;
    background:#f9fbfe!important;border-top:0!important;border-bottom:1px solid #dce4ee!important;
  }
  .panel>.gaon-table-scroll>.car-list{width:100%!important;max-height:none!important;overflow:visible!important;padding:0!important;margin:0!important;}
  .panel>.gaon-table-scroll>.car-list>.car-row{
    min-height:72px!important;height:auto!important;border:0!important;border-bottom:1px solid #e7ecf2!important;
    border-radius:0!important;background:#fff!important;box-shadow:none!important;overflow:hidden!important;
  }
  .panel>.gaon-table-scroll>.car-list>.car-row:nth-child(even){background:#fcfdff!important;}
  .panel>.gaon-table-scroll>.table-head>span,
  .panel>.gaon-table-scroll>.car-list>.car-row>.num,
  .panel>.gaon-table-scroll>.car-list>.car-row>.code,
  .panel>.gaon-table-scroll>.car-list>.car-row>.car-main,
  .panel>.gaon-table-scroll>.car-list>.car-row>.car-name,
  .panel>.gaon-table-scroll>.car-list>.car-row>.year,
  .panel>.gaon-table-scroll>.car-list>.car-row>.configuration,
  .panel>.gaon-table-scroll>.car-list>.car-row>.fuel,
  .panel>.gaon-table-scroll>.car-list>.car-row>.seats,
  .panel>.gaon-table-scroll>.car-list>.car-row>.category,
  .panel>.gaon-table-scroll>.car-list>.car-row>.dash-opt,
  .panel>.gaon-table-scroll>.car-list>.car-row>.chev{
    min-width:0!important;width:100%!important;height:100%!important;margin:0!important;padding:10px 12px!important;
    display:flex!important;align-items:center!important;justify-content:center!important;justify-self:stretch!important;
    align-self:stretch!important;text-align:center!important;box-sizing:border-box!important;border-right:1px solid #e3e9f1!important;
  }
  .panel>.gaon-table-scroll>.table-head>span:last-child,
  .panel>.gaon-table-scroll>.car-list>.car-row>.chev{border-right:0!important;}
  .panel>.gaon-table-scroll>.car-list>.car-row>.num{grid-column:1!important;}
  .panel>.gaon-table-scroll>.car-list>.car-row>.code{grid-column:2!important;}
  .panel>.gaon-table-scroll>.car-list>.car-row>.car-main,
  .panel>.gaon-table-scroll>.car-list>.car-row>.car-name{grid-column:3!important;}
  .panel>.gaon-table-scroll>.car-list>.car-row>.year{grid-column:4!important;}
  .panel>.gaon-table-scroll>.car-list>.car-row>.configuration,
  .panel>.gaon-table-scroll>.car-list>.car-row>.fuel,
  .panel>.gaon-table-scroll>.car-list>.car-row>.dash-opt{grid-column:5!important;background:#f7f9fc!important;}
  .panel>.gaon-table-scroll>.car-list>.car-row>.chev{grid-column:6!important;}
  .panel>.gaon-table-scroll>.car-list>.car-row>.car-main{flex-direction:column!important;gap:6px!important;}
}
