/* 0.9.48 — Bỏ bảng giá dạng dòng: mọi món là thẻ có ảnh xếp theo kệ nhóm hàng, ảnh giữ chỗ cho món chưa có ảnh, dải chọn nhanh nhóm hàng.
   0.9.47 — Trang Phụ kiện: bản danh mục bán hàng. Chữ trên nền sáng dùng đen và xám trung tính; xanh Ford chỉ cho nút, liên kết, trạng thái đang chọn.
   Hộp chi tiết, nút và thanh dưới điện thoại vẫn lấy từ used-p95.css (khung .uc). */
.ac{--uc-ink:#141414;--uc-muted:#5e5e5e;--uc-navy:#141414;--uc-line:#e5e5e5;--uc-soft:#f5f5f5;--ac-navy:#00095b;background:#fff;color:var(--uc-ink)}
.ac [id]{scroll-margin-top:150px}
.ac .uc-btn--line{border-color:#cfcfcf}.ac .uc-btn--line:hover{background:#f2f2f2}
.ac .uc-btn--light{color:var(--ac-navy)!important}
.ac button.uc-btn--ghost{background:transparent}.ac button.uc-btn--ghost:hover{background:rgba(255,255,255,.12)}
.ac.is-sheet .uc-bar{display:none}
.ac-sec{padding:clamp(40px,5vw,72px) 0}
.ac-head{margin-bottom:22px}
.ac-head h2{margin:0;font-size:clamp(1.625rem,2.4vw,2.25rem);line-height:1.15;font-weight:600;letter-spacing:-.015em;color:var(--uc-ink)}
.ac-head p{margin:8px 0 0;color:var(--uc-muted);max-width:68ch}
.ac-head--dark h2{color:#fff}.ac-head--dark p{color:rgba(255,255,255,.78)}
.ac-fine{margin:18px 0 0;font-size:.875rem;line-height:1.5;color:var(--uc-muted);max-width:80ch}
.ac-empty{margin:18px 0 0;color:var(--uc-muted)}
.ac-empty--box{padding:28px 20px;border:1px dashed #cfcfcf;border-radius:14px;text-align:center}
.ac-empty--box p{margin:0 0 14px}
.ac-empty[hidden],.ac-pack[hidden],.ac-packs[hidden],.ac-cata[hidden]{display:none}

/* Hero: ảnh lắp thực tế là trọng tâm */
.ac-hero{background:var(--ac-navy);color:#fff;padding:clamp(28px,4vw,56px) 0 0}
.ac-hero__grid{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(24px,4vw,56px);align-items:center}
.ac-hero__copy h1{margin:0;font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.08;font-weight:600;letter-spacing:-.02em;color:#fff;text-wrap:balance}
.ac-hero__copy p{margin:16px 0 0;font-size:1.125rem;line-height:1.55;color:rgba(255,255,255,.86);max-width:36ch}
.ac-hero__cta{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.ac-hero__shot{position:relative;display:block;width:100%;aspect-ratio:16/10;padding:0;border:0;border-radius:18px;overflow:hidden;background:#0a1550;cursor:pointer;color:#fff;font:inherit;text-align:left}
.ac-hero__shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.ac-hero__shot:hover img{transform:scale(1.03)}
.ac-hero__cap{position:absolute;left:0;right:0;bottom:0;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:48px 20px 18px;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.72))}
.ac-hero__cap small{display:block;font-size:.8125rem;color:rgba(255,255,255,.82)}
.ac-hero__cap strong{display:block;margin-top:2px;font-size:1.25rem;line-height:1.25;font-weight:600}
.ac-hero__cap em{font-style:normal;font-size:1.25rem;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
.ac-trust{list-style:none;margin:clamp(24px,3.4vw,44px) 0 0;padding:18px 0 22px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;border-top:1px solid rgba(255,255,255,.16)}
.ac-trust li{display:flex;gap:10px;align-items:flex-start;font-size:.875rem;line-height:1.45;color:rgba(255,255,255,.76)}
.ac-trust svg{flex:0 0 20px;width:20px;height:20px;margin-top:1px;fill:none;stroke:#8fb8ff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ac-trust strong{display:block;font-size:.9375rem;font-weight:600;color:#fff}

/* Chọn dòng xe */
.ac-pick{padding:clamp(28px,3.6vw,48px) 0 clamp(20px,2.4vw,28px)}
.ac-pick h2{margin:0 0 16px;font-size:clamp(1.375rem,2vw,1.75rem);line-height:1.2;font-weight:600;color:var(--uc-ink)}
.ac-pick__grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.ac-pick__tile{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:2px;min-height:164px;padding:12px 16px 14px;border:1.5px solid transparent;border-radius:14px;background:var(--uc-soft);color:var(--uc-ink);font:inherit;text-align:left;cursor:pointer;transition:background .2s,border-color .2s}
.ac-pick__tile:hover{background:#ececec}
.ac-pick__tile img{width:100%;height:92px;object-fit:contain;object-position:left center;margin-bottom:auto}
.ac-pick__tile strong{font-size:1.0625rem;font-weight:600}
.ac-pick__tile small{font-size:.8125rem;color:var(--uc-muted)}
.ac-pick__tile[aria-pressed=true]{background:var(--uc-tint);border-color:var(--uc-blue)}
.ac-pick__tile[aria-pressed=true] strong{color:var(--uc-blue)}

/* Thanh tìm và lọc */
.ac-bar{position:sticky;top:var(--ctf-header-offset,72px);z-index:20;background:rgba(255,255,255,.96);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid var(--uc-line);border-bottom:1px solid var(--uc-line)}
.ac-bar__in{display:flex;align-items:center;gap:10px;padding-top:10px;padding-bottom:10px}
.ac-search{position:relative;flex:1 1 280px;max-width:420px}
.ac-search svg{position:absolute;left:13px;top:50%;width:18px;height:18px;transform:translateY(-50%);fill:none;stroke:#7a7a7a;stroke-width:1.8;stroke-linecap:round;pointer-events:none}
.ac-search input{width:100%;height:44px;padding:0 14px 0 40px;border:1px solid #cfcfcf;border-radius:10px;background:#fff;font:inherit;font-size:.9375rem;color:var(--uc-ink)}
.ac-search input:focus,.ac-sel select:focus{outline:2px solid var(--uc-blue);outline-offset:1px;border-color:var(--uc-blue)}
.ac-fpanel{display:flex;align-items:center;gap:10px}
.ac-fpanel__head,.ac-fpanel__done,.ac-bar__toggle{display:none}
.ac-sel{display:block}
.ac-sel span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
.ac-sel select{height:44px;max-width:210px;padding:0 34px 0 12px;border:1px solid #cfcfcf;border-radius:10px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='m1 1.500 5 5 5-5' fill='none' stroke='%23555' stroke-width='1.600'/%3E%3C/svg%3E") no-repeat right 12px center/11px;-webkit-appearance:none;appearance:none;font:inherit;font-size:.9375rem;color:var(--uc-ink);cursor:pointer}
.ac-sel select.is-set{border-color:var(--uc-blue);background-color:var(--uc-tint)}
.ac-bar__sum{margin:0 0 0 auto;font-size:.9375rem;color:var(--uc-muted);white-space:nowrap}
.ac-bar__sum strong{color:var(--uc-ink);font-weight:700}
.ac-clear{margin-left:8px;padding:0;border:0;background:none;color:var(--uc-blue);font:inherit;font-weight:600;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.ac-clear[hidden]{display:none}

/* Thẻ sản phẩm */
.ac-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.ac-card{display:flex;flex-direction:column;border:1px solid var(--uc-line);border-radius:14px;background:#fff;overflow:hidden;transition:border-color .2s,box-shadow .2s}
.ac-card:hover{border-color:#bdbdbd;box-shadow:0 10px 28px rgba(0,0,0,.08)}
.ac-card[hidden]{display:none}
.ac-card__media,.ac-pack__media{position:relative;display:block;width:100%;aspect-ratio:4/3;padding:0;border:0;background:#ededed;overflow:hidden;cursor:pointer}
.ac-card__media img,.ac-pack__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.ac-card:hover .ac-card__media img{transform:scale(1.04)}
.ac-card__media.is-tall::before,.ac-pack__media.is-tall::before{content:"";position:absolute;inset:-24px;background:var(--uc-ph,none) center/cover no-repeat;filter:blur(22px) brightness(.85)}
.ac-card__media.is-tall img,.ac-pack__media.is-tall img{object-fit:contain}
.ac-card__count{position:absolute;right:8px;bottom:8px;display:inline-flex;align-items:center;gap:5px;padding:3px 8px;border-radius:999px;background:rgba(0,0,0,.6);color:#fff;font-size:.75rem;font-weight:600}
.ac-card__count svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ac-card__body{display:flex;flex-direction:column;flex:1;padding:14px 16px 16px}
.ac-card__cat{margin:0;font-size:.8125rem;line-height:1.4;font-weight:600;color:var(--uc-muted)}
.ac-card .ac-card__cat{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ac-card__cat span{font-weight:400}
.ac-card h3{margin:4px 0 0;font-size:1.0625rem;line-height:1.3;font-weight:600}
.ac-card h3 button{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.6em;padding:0;border:0;background:none;color:var(--uc-ink);font:inherit;text-align:left;cursor:pointer}
.ac-card h3 button:hover{color:var(--uc-blue)}
.ac-card__text{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:6px 0 0;font-size:.875rem;line-height:1.45;color:var(--uc-muted)}
.ac-card__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 10px;margin-top:auto;padding-top:14px}
.ac-card__price{font-size:1.1875rem;line-height:1.2;font-weight:700;color:var(--uc-ink);font-variant-numeric:tabular-nums;white-space:nowrap}
.ac-card__price.is-contact{font-size:.9375rem;font-weight:600;color:var(--uc-muted)}
.ac-card__cta{flex:0 0 auto;min-height:38px;padding:0 14px;border:0;border-radius:999px;background:var(--uc-blue);color:#fff;font:inherit;font-size:.875rem;font-weight:600;white-space:nowrap;cursor:pointer;transition:background .2s}
.ac-card__cta:hover{background:#0a4fb8}

/* Kệ theo nhóm hàng: mỗi kệ một hàng thẻ, bấm "Xem tất cả" để mở hết */
.ac-cata{padding-top:clamp(28px,3.4vw,44px)}
.ac-shelf{padding-top:26px;margin-top:30px;border-top:1px solid var(--uc-line);scroll-margin-top:150px}
.ac-shelf:first-child{margin-top:0}
.ac-shelf[hidden]{display:none}
.ac-shelf__head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-bottom:16px}
.ac-shelf__head h3{margin:0;font-size:clamp(1.25rem,1.7vw,1.5rem);line-height:1.2;font-weight:600;color:var(--uc-ink)}
.ac-shelf__head h3 span{margin-left:8px;font-size:.875rem;font-weight:400;color:var(--uc-muted);white-space:nowrap}
.ac-shelf__all{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0;border:0;background:none;color:var(--uc-blue);font:inherit;font-size:.9375rem;font-weight:600;white-space:nowrap;cursor:pointer}
.ac-shelf__all::after{content:"";width:7px;height:7px;margin-top:-3px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform .25s}
.ac-shelf__all[aria-expanded="true"]::after{margin-top:3px;transform:rotate(-135deg)}
.ac-shelf__all:hover{text-decoration:underline;text-underline-offset:3px}
.ac-shelf__all[hidden],.ac-shelf__more[hidden]{display:none}
.ac .ac-shelf__more{margin:22px 0 0;text-align:center}
/* Ảnh giữ chỗ cho món chưa có ảnh: người phụ trách thêm ảnh trong quản trị là tự thay */
.ac-ph{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:#eef0f3;color:#8b929c}
.ac-ph svg{width:44px;height:44px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ac-ph small{font-size:.8125rem;line-height:1.3}
.ac-pack__media .ac-ph{background:#0b1763;color:rgba(255,255,255,.5)}
/* Chọn nhanh nhóm hàng */
.ac-quick{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:18px}
.ac-quick>span{margin-right:4px;font-size:.9375rem;font-weight:600;color:var(--uc-ink)}
.ac-quick button{min-height:38px;padding:0 14px;border:1px solid #d5d5d5;border-radius:999px;background:#fff;color:var(--uc-ink);font:inherit;font-size:.9375rem;white-space:nowrap;cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.ac-quick button:hover{border-color:var(--uc-blue);color:var(--uc-blue)}
.ac-quick button[aria-pressed="true"]{background:var(--uc-blue);border-color:var(--uc-blue);color:#fff}

/* Gói cải tạo: mỗi gói là một giải pháp, khác kiểu thẻ mua lẻ */
.ac-packs{padding:clamp(44px,5.4vw,80px) 0;background:var(--ac-navy);color:#fff}
.ac-packs__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ac-pack{display:flex;flex-direction:column;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:rgba(255,255,255,.06);overflow:hidden}
.ac-pack__media{aspect-ratio:16/10;background:#0a1550}
.ac-pack__body{display:flex;flex-direction:column;flex:1;padding:20px}
.ac-pack h3{margin:0;font-size:1.3125rem;line-height:1.25;font-weight:600;color:#fff;text-wrap:balance}
.ac-pack__body>p{margin:8px 0 0;font-size:.9375rem;line-height:1.5;color:rgba(255,255,255,.76)}
.ac-pack dl{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 0;padding:14px 0;border-top:1px solid rgba(255,255,255,.14);border-bottom:1px solid rgba(255,255,255,.14)}
.ac-pack dt{font-size:.8125rem;color:rgba(255,255,255,.64)}
.ac-pack dd{margin:2px 0 0;font-size:1rem;font-weight:600;color:#fff}
.ac-pack__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:18px}
.ac-pack__foot strong{font-size:1.5rem;line-height:1.1;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}

/* Hộp chi tiết */
.ac-incl{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.ac-incl li{position:relative;padding-left:18px;line-height:1.5}
.ac-incl li::before{content:"";position:absolute;left:2px;top:.62em;width:7px;height:7px;border-radius:50%;background:var(--uc-blue)}
.ac-share{margin:14px 0 0}
.ac-share button{display:inline-flex;align-items:center;gap:6px;padding:0;border:0;background:none;color:var(--uc-blue);font:inherit;font-size:.9375rem;font-weight:600;cursor:pointer}
.ac-share svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.uc-dlg__main img[hidden]{display:none}
.uc-dlg.is-noimg{width:min(600px,calc(100vw - 32px))}
.uc-dlg.is-noimg .uc-dlg__grid{grid-template-columns:minmax(0,1fr);grid-template-areas:"info" "lead";grid-template-rows:auto}
.uc-dlg.is-noimg .uc-dlg__gal{display:none}
.uc-dlg.is-noimg .uc-dlg__lead{padding:0 16px 16px;background:#fff}
.ac .hm-pagehero--tool{margin-top:0}
.ac .hm-tool__body .ctf-lead-form{margin:0}
.ac-scrim{display:none}

@media(max-width:1180px){
  .ac-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ac-sel select{max-width:170px}
}
@media(max-width:900px){
  .ac [id]{scroll-margin-top:128px}
  .ac-hero__grid{grid-template-columns:minmax(0,1fr)}
  .ac-hero__shot{aspect-ratio:4/3}
  .ac-trust{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  .ac-pick__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ac-grid{gap:14px}
  .ac-packs__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
  /* Thanh lọc không dùng nền mờ ở đây: nền mờ làm tấm lọc (position:fixed) bám theo thanh thay vì bám màn hình */
  .ac-bar{-webkit-backdrop-filter:none;backdrop-filter:none;background:#fff}
  .ac-bar.is-sheet{z-index:70}
  /* Bộ lọc mở từ dưới lên thay vì chiếm chỗ phía trên */
  .ac-bar__in{flex-wrap:wrap}
  .ac-search{max-width:none;flex:1 1 0}
  .ac-bar__toggle{display:inline-flex;align-items:center;gap:6px;height:44px;padding:0 14px;border:1px solid #cfcfcf;border-radius:10px;background:#fff;color:var(--uc-ink);font:inherit;font-size:.9375rem;font-weight:600;cursor:pointer}
  .ac-bar__toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
  .ac-bar__toggle b{min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:var(--uc-blue);color:#fff;font-size:.75rem;line-height:20px;text-align:center}
  .ac-bar__toggle b[hidden]{display:none}
  .ac-bar__sum{flex:1 1 100%;margin:0;font-size:.875rem}
  .ac-fpanel{position:fixed;left:0;right:0;bottom:0;z-index:60;display:none;flex-direction:column;align-items:stretch;gap:14px;padding:16px 16px calc(18px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;background:#fff;box-shadow:0 -18px 50px rgba(0,0,0,.28)}
  .ac-fpanel.is-open{display:flex}
  .ac-fpanel__head{display:flex;align-items:center;justify-content:space-between}
  .ac-fpanel__head strong{font-size:1.125rem;font-weight:600}
  .ac-fpanel__head button{width:40px;height:40px;border:0;border-radius:50%;background:var(--uc-soft);font-size:1.375rem;line-height:1;cursor:pointer}
  .ac-fpanel__done{display:inline-flex;width:100%}
  .ac-sel span{position:static;width:auto;height:auto;clip:auto;display:block;margin-bottom:6px;font-size:.875rem;font-weight:600;color:var(--uc-ink)}
  .ac-sel select{width:100%;max-width:none;height:48px}
  .ac-scrim.is-open{display:block;position:fixed;inset:0;z-index:55;background:rgba(0,0,0,.45)}
  .uc-dlg.is-noimg{width:100vw}
}
@media(max-width:720px){
  .ac-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  /* Kệ đang thu gọn: một dải thẻ vuốt ngang, lộ mép thẻ thứ ba để biết còn nữa */
  .ac-shelf:not(.is-open) .ac-grid{display:flex;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;scrollbar-width:none;margin:0 -14px;padding:0 14px 2px;scroll-padding-left:14px}
  .ac-shelf:not(.is-open) .ac-grid::-webkit-scrollbar{display:none}
  .ac-shelf:not(.is-open) .ac-card{flex:0 0 calc(50% - 19px);scroll-snap-align:start}
  .ac-shelf{padding-top:20px;margin-top:22px}
  .ac-shelf__head{margin-bottom:12px}
  .ac-quick{flex-wrap:nowrap;overflow-x:auto;margin:14px -14px 0;padding:0 14px 4px;scrollbar-width:none}
  .ac-quick::-webkit-scrollbar{display:none}
  .ac-quick>span{display:none}
  .ac-quick button{flex:0 0 auto}
  /* Gói cải tạo: cũng là dải vuốt ngang để trang không quá dài */
  .ac-packs__grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:12px;margin:0 -14px;padding:0 14px 2px;scroll-padding-left:14px}
  .ac-packs__grid::-webkit-scrollbar{display:none}
  .ac-pack{flex:0 0 86%;scroll-snap-align:start}
}
@media(max-width:640px){
  .ac-hero__cta .uc-btn{flex:1 1 100%}
  .ac-trust{grid-template-columns:minmax(0,1fr) minmax(0,1fr);font-size:.8125rem}
  .ac-trust li{font-size:.8125rem}
  .ac-pick__grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .ac-pick__tile{min-height:120px;padding:10px 12px 12px}
  .ac-pick__tile img{height:58px}
  .ac-pick__tile--all{grid-column:1/-1;min-height:0;flex-direction:row;align-items:center;justify-content:space-between}
  .ac-grid{gap:10px}
  .ac-card__body{padding:10px 12px 12px}
  .ac-card__cat span{display:none}
  .ac-card h3{font-size:.9375rem}
  .ac-card__text{display:none}
  .ac-card__foot{flex-direction:column;align-items:stretch;gap:8px;padding-top:10px}
  .ac-card__price{font-size:1.0625rem}
  .ac-card__cta{min-height:40px}
  .ac-pack__foot strong{font-size:1.3125rem}
}
@media(prefers-reduced-motion:reduce){.ac-card__media img,.ac-hero__shot img{transition:none}}
