/* Phụ Kiện Xe Hơi An Phát (dochoixe) — trang chủ đợt 10. Tiền tố dx-. Xanh #1a5fb4, navy #0b2a55, đỏ #d11a3a */
:root { --c1: #1a5fb4; --c1d: #134c94; --red: #d11a3a; --navy: #0b2a55; --ink: #14233b; --mu: #66758a; --line: #e2e8f0; --bf: "Be Vietnam Pro", sans-serif; --hf: "Be Vietnam Pro", sans-serif; }
body { background: #fff; }
#header #logo a { display: block; width: 250px; height: 58px; background: url("icons/logo.png") left center / contain no-repeat; font-size: 0 !important; color: transparent !important; } #header #logo img { display: none !important; }
#header .header-main { background: #fff; } #header .header-search-form { width: 100%; max-width: 560px; margin: 0 auto; }
#header .header-search-form .search-field { height: 44px; border: 1px solid #d5dde8; background: #fff; box-shadow: none; border-radius: 4px 0 0 4px; padding-left: 14px; font-size: 14px; }
#header .header-search-form .ux-search-submit { height: 44px; width: 52px; background: var(--c1) !important; border-radius: 0 4px 4px 0; }
.dx-hot { display: flex; align-items: center; gap: 10px; color: var(--ink) !important; } .dx-hot img { width: 30px; height: 30px; } .dx-hot span { font-size: 12px; line-height: 1.2; } .dx-hot b { display: block; font-size: 17px; color: var(--red); }
#header .cart-item .header-cart-title { font-size: 13px; color: var(--ink); text-transform: none; font-weight: 500; }
.header-bottom { background: var(--c1) !important; } #header .header-bottom-nav > li > a { color: #fff !important; font-size: 14.5px; font-weight: 600; text-transform: none; } #header .header-bottom-nav { justify-content: space-between; width: 100%; } #header .header-bottom-nav > li { margin: 0; }
.dx-sec { padding: 40px 0 !important; } .dx-uspsec { padding: 22px 0 !important; border-bottom: 1px solid var(--line); }
/* hero */
.dx-hero { min-height: 480px; display: flex; align-items: center; } .dx-hero .section-content { width: 100%; padding: 30px 0; }
.dx-h1 { font: 700 46px/1.2 var(--hf) !important; color: #fff !important; margin: 0 0 10px; text-shadow: 0 2px 14px rgba(0,0,0,.35); } .dx-hs { color: #fff; font-size: 20px; margin: 0 0 22px; }
.dx-form { background: #fff; border-radius: 8px; padding: 18px 20px 20px; max-width: 640px; box-sizing: border-box; box-shadow: 0 8px 30px rgba(0,0,0,.2); } .dx-form h3 { font: 700 16px/1.3 var(--bf) !important; color: var(--ink); margin: 0 0 12px; }
.dx-f3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; } .dx-f3 label { font-size: 12.5px; color: var(--mu); margin: 0; } .dx-f3 select { height: 38px; margin: 4px 0 0; font-size: 13px; border: 1px solid #d5dde8; box-shadow: none; border-radius: 4px; }
.dx-find { width: 100%; height: 46px; background: var(--red); color: #fff; border: 0; border-radius: 5px; font: 700 15px/1 var(--bf); display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; } .dx-find img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
/* usp */
.dx-usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .dx-usp > div { display: flex; align-items: center; gap: 14px; padding: 0 14px; } .dx-usp > div + div { border-left: 1px solid var(--line); } .dx-usp img { width: 46px; height: 46px; flex: none; } .dx-usp b { display: block; font-size: 15px; color: var(--c1); } .dx-usp em { display: block; font-style: normal; font-size: 12.5px; color: var(--mu); margin-top: 2px; }
/* tiêu đề */
.dx-hd { display: flex; align-items: center; justify-content: space-between; margin: 0 0 20px; } .dx-hd h2 { font: 700 26px/1.2 var(--hf) !important; color: var(--navy) !important; margin: 0; text-transform: none !important; } .dx-all { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--c1) !important; } .dx-all img { width: 16px; height: 16px; }
/* danh mục */
.dx-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; } .dx-cats a { display: block; text-align: center; } .dx-ci { display: block; aspect-ratio: .88 / 1; border-radius: 6px; overflow: hidden; background: #eceff3; } .dx-ci img { width: 100%; height: 100%; object-fit: contain; display: block; } .dx-cats b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); margin-top: 8px; }
/* SP */
.dx-g { --n: 5; --gap: 14px; --pc-bg: #fff; --pc-pad: 8px; --pc-ar: 1 / .9; } .dx-pw { position: relative; } .dx-off { position: absolute; left: 8px; top: 8px; z-index: 3; background: var(--red); color: #fff; font: 700 12px/1 var(--bf); padding: 5px 8px; border-radius: 3px; }
.dx-g .b9-pc { border-radius: 6px; } .dx-g .b9-pc-t { font-size: 14px; font-weight: 500; margin-bottom: 8px; } .dx-g .b9-pc-p { font-size: 18px; font-weight: 700; color: var(--c1); margin-bottom: 8px; } .dx-g .b9-pc-p del { display: block; font-size: 12px; } .dx-g .b9-pc-ct { font-size: 17px; font-weight: 700; color: var(--c1); }
.dx-g .b9-pc-btn { grid-template-columns: 1fr; gap: 8px; } .dx-g a.b9-btn { order: 1; min-height: 22px; background: transparent !important; border: 0 !important; color: var(--c1) !important; justify-content: flex-start; padding: 0; font-size: 13px; font-weight: 500; } .dx-g a.b9-btn-o { order: 2; background: var(--c1) !important; color: #fff !important; border-color: var(--c1) !important; min-height: 36px; border-radius: 4px; }
/* combo */
.dx-combosec { padding: 12px 0 !important; } .dx-combo { min-height: 100px; background-size: cover; background-position: 70% 50%; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 32px; color: #fff; }
.dx-combo h2 { font: 700 32px/1.2 var(--hf) !important; color: #fff !important; margin: 0 0 4px; text-transform: none !important; } .dx-combo p { margin: 0; font-size: 16px; }
a.dx-btn-w { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 22px; background: #fff; color: var(--red) !important; font: 700 14.5px/1 var(--bf); border-radius: 5px; white-space: nowrap; } a.dx-btn-w img { width: 16px; height: 16px; }
/* tin */
.dx-gn { --n: 3; --gap: 20px; } .dx-news .b9-po { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; } .dx-news .b9-po-img img { aspect-ratio: 1.9 / 1; object-fit: cover; width: 100%; }
/* footer */
.dx-ft { background: #0b2a55; color: #dfe8f5; } .dx-ft-in { max-width: 1320px; margin: 0 auto; padding: 40px 20px 26px; display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 36px; box-sizing: border-box; }
.dx-ft-logo { height: 56px; width: auto; display: block; margin-bottom: 12px; } .dx-ft-brand p { margin: 0; font-size: 14px; line-height: 1.65; opacity: .9; max-width: 300px; }
.dx-ft-h { font-weight: 700; font-size: 15px; margin-bottom: 12px; color: #fff; } .dx-ft ul { list-style: none; margin: 0; padding: 0; } .dx-ft li { margin: 0 0 9px; font-size: 14px; } .dx-ft a { color: #dfe8f5 !important; }
.dx-ft-ct li { display: flex; gap: 10px; align-items: flex-start; } .dx-ft-ct img { width: 20px; height: 20px; flex: none; margin-top: 1px; } .dx-ft-soc a { display: flex; align-items: center; gap: 10px; } .dx-ft-soc img { width: 28px; height: 28px; }
.dx-ft-copy { border-top: 1px solid rgba(255,255,255,.16); text-align: center; font-size: 12.5px; padding: 14px 20px 18px; opacity: .85; }
@media (max-width: 849px) {
 .dx-hero { min-height: 420px; } .dx-h1 { font-size: 30px; } .dx-f3 { grid-template-columns: 1fr; } .dx-usp { grid-template-columns: 1fr 1fr; } .dx-usp > div + div { border-left: 0; } .dx-cats { grid-template-columns: repeat(3, 1fr); }
 .dx-g { --n: 2; } .dx-gn { grid-template-columns: 1fr; } .dx-combo { flex-direction: column; align-items: flex-start; padding: 22px 20px; } .dx-combo h2 { font-size: 22px !important; } .dx-ft-in { grid-template-columns: 1fr 1fr; } .dx-ft-brand { grid-column: 1 / -1; }
 #header #logo a { width: 190px; height: 46px; } .dx-hd h2 { font-size: 21px !important; } .dx-hot { display: none; }
}
/* chỉnh sau lượt 1 */
.dx-ft-ct img { filter: brightness(0) saturate(100%) invert(62%) sepia(75%) saturate(1400%) hue-rotate(170deg) brightness(102%); } .dx-all { white-space: nowrap; flex: none; }
#header .header-search-form select, #header .header-search-form .search_categories { display: none !important; }
#header .header-search-form .search-field { border-radius: 4px 0 0 4px !important; }
.header-bottom .nav { justify-content: space-between; width: 100%; } #header .header-bottom-nav > li { margin: 0 !important; } #header .header-bottom-nav > li > a { padding: 14px 0; }
.header-bottom { background: #1a5fb4 !important; } .header-bottom .container, .header-bottom .flex-row { max-width: 1320px; }
.header-bottom .flex-col.flex-left { flex: 1 1 100%; width: 100%; } .header-bottom-nav { width: 100%; }
/* ruler:manual */
.dx-usp img { width: 62px; height: 62px; } .dx-hd h2 { font-size: 30px !important; } .dx-hot img { width: 40px; height: 40px; } .dx-form h3 { font-size: 18px !important; } .dx-g .b9-pc-t { font-size: 16px; }
@media (max-width: 849px) { .dx-hd h2 { font-size: 22px !important; } .dx-usp img { width: 46px; height: 46px; } }
