/* An Lộc (toyota) — trang chủ y hệt mockup, cỡ đo theo mockup x1.98 (09-28). Flatsome 3.6: hero dựng bằng HTML (không dùng text_box) */
@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700;800&display=swap");
:root { --alc-navy: #16202F; --alc-orange: #E8591A; --alc-ink: #1A2230; --alc-muted: #5E6776; --alc-bg: #F2F4F7; }
body, p, li, a, input, select, textarea, button, h1, h2, h3, .nav > li > a { font-family: "Be Vietnam Pro", sans-serif; }
#top-bar { background: var(--alc-navy) !important; min-height: 40px; } #top-bar, #top-bar a, #top-bar span { color: #fff !important; font-size: 14px !important; }
.alc-tb { display: inline-flex; align-items: center; gap: 8px; } .alc-tb img { width: 16px; height: 16px; }
#header .header-main { background: #fff !important; }
#header #logo { width: 280px !important; }
#header #logo a { display: flex; align-items: center; gap: 12px; font-size: 38px; font-weight: 800; color: var(--alc-navy) !important; line-height: 1; position: relative; top: -8px; text-transform: uppercase; letter-spacing: .01em; }
#header #logo a::before { content: ""; width: 60px; height: 60px; flex: 0 0 60px; background: url(icons/logo.png) center/contain no-repeat; margin-top: 16px; }
#header #logo a::after { content: "Ô TÔ CHÍNH HÃNG"; position: absolute; left: 72px; top: 50%; margin-top: 18px; font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--alc-muted); }
#header .header-nav-main > li > a { font-size: 16px !important; font-weight: 500 !important; color: var(--alc-ink) !important; text-transform: none !important; letter-spacing: 0 !important; }
#header .header-nav-main > li { margin: 0 14px !important; } #header .header-nav-main > li.active > a { color: var(--alc-orange) !important; box-shadow: inset 0 -2px 0 var(--alc-orange); }
#header .header-button-1 .button { background: var(--alc-orange) !important; color: #fff !important; border: 0 !important; border-radius: 6px !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 16px !important; font-weight: 600 !important; height: 50px; line-height: 50px; padding: 0 28px !important; }
#header .header-button-1 .button::before { content: ""; display: inline-block; width: 20px; height: 20px; background: url(icons/wheel-w.png) center/contain no-repeat; margin: 0 10px -4px 0; }
.alc-hero { position: relative; } .alc-hero .section-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,20,30,.88) 0%, rgba(14,20,30,.55) 38%, rgba(14,20,30,0) 62%); }
.alc-hero .col { padding-bottom: 0 !important; }
.alc-hero-in { position: relative; height: 510px; display: flex; flex-direction: column; justify-content: center; }
.alc-kicker { color: var(--alc-orange) !important; font-size: 15px !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 14px !important; } .alc-kicker::before { content: "‹  "; }
.alc-hero-title { color: #fff !important; font-size: 76px !important; line-height: 1.08 !important; font-weight: 800 !important; margin: 0 0 16px !important; }
.alc-hero-lead { color: rgba(255,255,255,.92) !important; font-size: 20px !important; max-width: 520px; margin: 0 0 26px !important; }
.alc-hero-btns { display: flex; gap: 18px; margin: 0 0 36px !important; }
.alc-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 6px; font-weight: 600; font-size: 16px; padding: 0 28px; min-height: 58px; text-decoration: none !important; }
.alc-btn-fill { background: var(--alc-orange); color: #fff !important; } .alc-btn-line { border: 1.5px solid #fff; color: #fff !important; } .alc-btn img { width: 22px; height: 22px; }
.alc-pager { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.7) !important; margin: 0 !important; } .alc-pager i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255,255,255,.7); display: inline-block; } .alc-pager i.on { background: var(--alc-orange); border-color: var(--alc-orange); }
.alc-pager b { color: #fff; margin-left: 20px; }
.alc-hero-note { position: absolute; right: 0; bottom: 30px; text-align: right; color: #fff !important; font-size: 14px !important; text-transform: uppercase; letter-spacing: .06em; margin: 0 !important; border-top: 3px solid var(--alc-orange); padding-top: 8px; }
.alc-eyebrow { color: var(--alc-ink) !important; font-size: 14.5px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 14px !important; } .alc-eyebrow::before { content: ""; display: inline-block; width: 26px; height: 3px; background: var(--alc-orange); margin: 0 12px 4px 0; }
.alc-eyebrow-big { font-size: 30px !important; text-transform: none; letter-spacing: 0; } .alc-eyebrow-big::before { width: 30px; }
.alc-show { position: relative; } .alc-show > img { width: 100%; height: 390px; object-fit: cover; display: block; border-radius: 6px; }
.alc-agent { position: absolute; left: 0; right: 0; bottom: 0; background: #F2F4F7; display: flex; gap: 14px; align-items: center; padding: 12px 20px; border-radius: 0 0 6px 6px; }
.alc-agent > img { width: 70px; height: 70px; border-radius: 50%; background: #fff; } .alc-agent span { display: flex; flex-direction: column; font-size: 13.5px; color: var(--alc-muted); } .alc-agent b { font-size: 17px; color: var(--alc-ink); }
.alc-agent em { font-style: normal; color: var(--alc-orange); font-weight: 700; font-size: 20px; display: flex; gap: 8px; align-items: center; } .alc-agent em img { width: 22px; height: 22px; }
.alc-h2 { color: var(--alc-ink) !important; font-size: 40px !important; font-weight: 800 !important; margin: 0 0 8px !important; line-height: 1.2 !important; } .alc-h2-lg { font-size: 44px !important; }
.alc-sub { color: var(--alc-muted) !important; font-size: 17px !important; margin: 0 0 24px !important; }
.alc-perks { display: flex; justify-content: space-between; margin-bottom: 24px; } .alc-perks p { display: flex; gap: 14px; align-items: center; margin: 0 !important; }
.alc-perks img { width: 60px; height: 60px; padding: 10px; background: #EDF0F4; border-radius: 50%; box-sizing: border-box; } .alc-perks span { display: flex; flex-direction: column; font-size: 13.5px; color: var(--alc-muted); } .alc-perks b { font-size: 16px; color: var(--alc-ink); }
.alc-acts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.alc-acts a { border: 1px solid #DDE2EA; border-radius: 8px; padding: 26px 20px; display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none !important; }
.alc-acts img { width: 60px; height: 60px; margin-bottom: 14px; } .alc-acts b { font-size: 21px; color: var(--alc-ink); margin-bottom: 8px; } .alc-acts span { font-size: 15px; color: var(--alc-muted); } .alc-acts i { font-style: normal; color: var(--alc-orange); font-size: 22px; margin-top: 12px; }
.alc-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 26px; }
.alc-tabs { display: flex; gap: 10px; margin: 0 0 10px !important; } .alc-tabs span, .alc-tabs a { background: #E2E6EC; color: var(--alc-ink) !important; border-radius: 99px; padding: 8px 22px; font-size: 14.5px; font-weight: 500; } .alc-tabs .on { background: var(--alc-orange); color: #fff !important; }
.alc-cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.alc-car { background: #fff; border-radius: 8px; box-shadow: 0 6px 18px rgba(22,32,47,.06); overflow: hidden; }
.alc-car-img { display: block; aspect-ratio: 16 / 9; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #F7F8FA; }
.alc-car-body { padding: 16px 20px 20px; } .alc-car-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.alc-car-name { font-size: 20px; font-weight: 700; color: var(--alc-ink) !important; } .alc-car-price { color: var(--alc-orange); font-weight: 700; font-size: 18px; white-space: nowrap; }
.alc-car-spec { font-size: 14px !important; color: var(--alc-muted) !important; margin: 4px 0 14px !important; }
.alc-car-act { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.alc-b-line, .alc-b-fill { display: flex; align-items: center; justify-content: center; min-height: 42px; border-radius: 5px; font-size: 14.5px; font-weight: 600; }
.alc-b-line { border: 1.5px solid #B8C0CC; color: var(--alc-ink) !important; } .alc-b-fill { background: var(--alc-orange); color: #fff !important; } .alc-b-w { border-color: rgba(255,255,255,.6); color: #fff !important; }
.alc-more { display: flex; justify-content: center; position: relative; margin-top: 30px; } .alc-more small { position: absolute; right: 0; bottom: 4px; color: var(--alc-muted); font-size: 13px; }
.alc-link { color: var(--alc-orange) !important; font-weight: 600; font-size: 16px; }
.alc-ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; } .alc-ngrid a { text-decoration: none !important; }
.alc-ngrid span { display: block; height: 200px; border-radius: 6px; background-size: cover; background-position: center; position: relative; } .alc-ngrid em { position: absolute; left: 14px; bottom: 14px; background: rgba(22,32,47,.85); color: #fff; font-style: normal; font-size: 13px; padding: 4px 12px; border-radius: 4px; }
.alc-ngrid b { display: block; font-size: 19px; color: var(--alc-ink); margin: 14px 0 6px; } .alc-ngrid i { font-style: normal; font-size: 14.5px; color: var(--alc-muted); }
.alc-quote { display: grid; grid-template-columns: 1fr 1.25fr; border-radius: 8px; overflow: hidden; box-shadow: 0 10px 30px rgba(22,32,47,.1); }
.alc-qleft { background-size: cover; background-position: center; position: relative; padding: 40px 38px; color: #fff; } .alc-qleft::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,32,47,.95) 30%, rgba(22,32,47,.55)); } .alc-qleft > * { position: relative; }
.alc-qleft h2 { color: #fff !important; font-size: 36px !important; font-weight: 800 !important; line-height: 1.2 !important; margin: 0 0 12px !important; } .alc-qleft p { color: rgba(255,255,255,.9) !important; font-size: 16px !important; }
.alc-qleft ul { list-style: none; margin: 16px 0 26px !important; padding: 0; } .alc-qleft li { display: flex; gap: 12px; align-items: center; font-size: 17px; margin: 0 0 12px !important; } .alc-qleft li img { width: 26px; height: 26px; }
.alc-qcall { display: flex; gap: 16px; align-items: center; margin: 0 !important; } .alc-qcall img { width: 60px; height: 60px; } .alc-qcall span { display: flex; flex-direction: column; font-size: 16px; color: #fff; } .alc-qcall b { color: var(--alc-orange); font-size: 32px; font-weight: 800; }
.alc-qform { background: #fff; padding: 30px 36px; margin: 0 !important; } .alc-qform h3 { color: var(--alc-orange) !important; font-size: 28px !important; font-weight: 800 !important; margin: 0 0 14px !important; }
.alc-qform label { display: block; font-size: 14px; font-weight: 600; color: var(--alc-ink); margin: 0 0 10px; } .alc-qform input[type=text], .alc-qform input[type=tel], .alc-qform select, .alc-qform textarea { margin: 6px 0 0 !important; height: 44px; font-size: 14.5px !important; box-shadow: none !important; }
.alc-qform textarea { height: 64px !important; min-height: 64px; } .alc-radio { font-size: 14px; font-weight: 600; margin: 0 0 10px; display: flex; gap: 20px; align-items: center; } .alc-radio label { margin: 0; font-weight: 400; display: inline-flex; gap: 6px; align-items: center; }
.alc-agree { font-weight: 400 !important; font-size: 13px !important; } .alc-qform button { width: 100%; background: var(--alc-orange); color: #fff; border: 0; min-height: 52px; font-size: 16px; font-weight: 600; text-transform: none; border-radius: 5px; margin: 6px 0 0; }
.alc-adv .section-content { min-height: 250px; display: flex; align-items: center; } .alc-adv .row { width: 100%; } .alc-adv .col { padding-bottom: 0 !important; }
.alc-adv-t { color: var(--alc-ink) !important; font-size: 40px !important; font-weight: 800 !important; line-height: 1.2 !important; margin: 0 0 10px !important; } .alc-adv-s { font-size: 18px !important; color: var(--alc-muted) !important; }
.alc-adv-box { background: var(--alc-navy); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 18px; } .alc-adv-box .alc-btn { width: 100%; }
.alc-footer p, .alc-footer li, .alc-footer a, .alc-footer span { color: rgba(255,255,255,.86) !important; font-size: 14.5px !important; }
.alc-footer p.alc-ft-logo { display: flex; align-items: center; gap: 12px; margin: 0 0 14px !important; } .alc-ft-logo img { width: 60px; height: 60px; }
.alc-footer p.alc-ft-logo span { font-size: 34px !important; font-weight: 800; color: #fff !important; line-height: 1; display: flex; flex-direction: column; } .alc-ft-logo small { font-size: 11px; font-weight: 500; letter-spacing: .1em; margin-top: 6px; text-transform: uppercase; }
.alc-ft-soc { display: flex; gap: 10px; } .alc-ft-soc img { width: 34px; height: 34px; }
.alc-footer h3.alc-ft-title { color: #fff !important; font-size: 18px !important; font-weight: 700 !important; margin: 0 0 16px !important; }
.alc-ft-ul, .alc-ft-list { list-style: none; margin: 0; padding: 0; } .alc-ft-ul li { margin: 0 0 10px !important; } .alc-ft-list li { display: flex; gap: 10px; margin: 0 0 12px !important; } .alc-ft-list img { width: 20px; height: 20px; margin-top: 2px; }
.alc-ft-map iframe { width: 100%; height: 150px; border: 0; border-radius: 6px; display: block; margin-bottom: 12px; }
.alc-nl { margin: 0 !important; } .alc-nl input { height: 44px !important; margin: 0 0 10px !important; } .alc-nl button { width: 100%; background: var(--alc-orange); color: #fff; border: 0; min-height: 44px; margin: 0; text-transform: none; font-weight: 600; border-radius: 5px; }
.alc-ft-bar { display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.16); padding-top: 18px; margin-top: 10px; } .alc-ft-bar i { display: inline-block; width: 26px; height: 3px; background: var(--alc-orange); vertical-align: middle; margin-left: 8px; }
.absolute-footer { display: none !important; }
@media (max-width: 849px) {
  .alc-hero-in { height: 520px; } .alc-hero-title { font-size: 44px !important; } .alc-hero-note { display: none; } .alc-hero-btns { flex-wrap: wrap; }
  .alc-h2 { font-size: 28px !important; } .alc-perks { flex-direction: column; gap: 14px; } .alc-acts, .alc-cars, .alc-ngrid, .alc-quote { grid-template-columns: 1fr; }
  .alc-head { flex-direction: column; align-items: flex-start; } .alc-tabs { flex-wrap: wrap; } .alc-more small { position: static; }
  #header #logo a::after { display: none; } #header #logo a { font-size: 26px; top: 0; } #header #logo a::before { width: 40px; height: 40px; flex-basis: 40px; margin-top: 0; }
}
/* r2 */
#header .header-nav-main > li { margin: 0 10px !important; } #header #logo { width: 250px !important; }
#header .header-main .flex-right .nav { flex-wrap: nowrap !important; } #header .header-button-1 .button { white-space: nowrap; }
.alc-car-img { aspect-ratio: 16 / 8.2; background-size: 88% auto; }
.alc-car-body { padding: 12px 18px 16px; }
.alc-adv .row > .col:first-child { margin-left: 25% !important; } .alc-adv .section-content { min-height: 230px; }
@media (max-width: 849px) { .alc-adv .row > .col:first-child { margin-left: 0 !important; } }
@media (max-width: 849px) { .alc-pager { display: none; } }
/* ruler:auto BEGIN — tools/astra-bridge/lab/ruler_fix.py, đừng sửa tay */
@media (min-width: 850px) {
  .alc-footer h3.alc-ft-title { font-size: 23.9px !important; }
  .alc-qleft h2 { font-size: 44.3px !important; }
  .alc-sec h2.alc-h2 { font-size: 47.2px !important; }
  .alc-acts img { width: 72px !important; height: 72px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .alc-agent img[src*="/icons/phone-o.png"] { width: 26px !important; height: 26px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .alc-ft-list img { width: 26px !important; height: 26px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .alc-ft-soc img { width: 38px !important; height: 38px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; } /* 2026-10-04: ruler phóng riêng Zalo 44px (lệch nhóm) -> cả nhóm cùng cỡ */
  .alc-perks img { width: 80px !important; height: 80px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
}
@media (max-width: 849px) {
  .alc-acts img { width: 60px !important; height: 60px !important; }
  .alc-agent img[src*="/icons/phone-o.png"] { width: 22px !important; height: 22px !important; }
  .alc-ft-list img { width: 20px !important; height: 20px !important; }
  .alc-ft-soc img { width: 34px !important; height: 34px !important; }
  .alc-perks img { width: 60px !important; height: 60px !important; }
}
/* ruler:auto END */
.cd-popup:not(.is-visible) { visibility: hidden !important; pointer-events: none !important; }
/* r3 09-29: menu rớt 2 dòng (mỗi mục tự ngắt chữ) -> không ngắt, logo tagline không đè chữ logo */
#header .header-nav-main > li > a { white-space: nowrap !important; }
#header .header-nav-main { flex-wrap: nowrap !important; }
#header #logo a::after { text-transform: none; }
@media (min-width: 850px) {
  #header #logo { width: 290px !important; } #header #logo a { white-space: nowrap; font-size: 36px !important; }
  #header .header-nav-main > li { margin: 0 9px !important; }
  .alc-ft-list li { font-size: 14.5px; word-break: break-word; } .alc-ft-list li span, .alc-ft-list li a { min-width: 0; }
  .alc-adv-box b, .alc-adv-box .alc-qcall b { font-size: 25px !important; white-space: nowrap; }
}
/* 2026-10-04 mid-fix 850-1199: menu 7 mục + nút "Đăng ký lái thử" tràn phải 158px ở 900-1024 (body 1182px) */
@media (min-width: 850px) and (max-width: 1199px) {
  #header #logo { width: 190px !important; } #header #logo a { font-size: 28px !important; } #header #logo a::before { width: 42px; height: 42px; flex-basis: 42px; } #header #logo a::after { left: 54px; font-size: 10px; }
  #header .header-main .header-nav-main > li { margin: 0 7px !important; } #header .header-main .header-nav-main > li > a { font-size: 14.5px !important; white-space: nowrap; }
  #header .header-main .header-nav-main { flex-wrap: nowrap !important; }
}
@media (min-width: 850px) and (max-width: 1099px) { #header .header-main li.header-button-1 { display: none !important; } }
@media (min-width: 850px) and (max-width: 1199px) { .alc-qcall b { font-size: 24px !important; } .alc-qcall span { min-width: 0; } }
.cd-popup:not(.is-visible) { display: none !important; } #pbOverlay:not(.show) { display: none !important; } /* popup cũ của theme con (vô hình, rộng 1044px) -> tràn ngang 900-1024 */
@media (min-width: 850px) and (max-width: 1199px) { .alc-adv-box .alc-qcall b, .alc-adv-box b { font-size: 20px !important; } .alc-adv-box .alc-qcall img { width: 40px !important; height: 40px !important; } .alc-adv-box { padding: 18px; } }
/* 2026-10-04: email chân trang 390px tràn sang cột "Khám phá" */
.alc-ft-list li { min-width: 0; } .alc-ft-list li a, .alc-ft-list li span { overflow-wrap: anywhere; min-width: 0; }
.alc-ft-list li { overflow-wrap: anywhere; word-break: break-word; }
@media (max-width: 549px) { .alc-radio { flex-wrap: wrap; gap: 8px 16px; } .alc-radio label { white-space: nowrap; } } /* 2026-10-05: "Trả góp" xếp mỗi chữ một dòng ở 390 */
