/* Order Nhanh 24h — trang chủ đợt 10. Tiền tố o2-. */

:root { --c1: #ec7d14; --c1d: #1b2a44; --ac: #ec7d14; --ink: #1b2a44; --mu: #5b6575; --line: #efe7df; --bg2: #fff4ea; --bf: "Be Vietnam Pro", sans-serif; --hf: "Be Vietnam Pro", sans-serif; }
body { background: #fff; }
#top-bar { background: #1b2a44 !important; } #top-bar .nav-left { margin: 0 auto; } .o2-tb { color: #fff; font-size: 13px; font-weight: 500; } .o2-tb a { color: #fff !important; } .o2-tb i { font-style: normal; margin: 0 8px; opacity: .6; }
#header .header-main { background: #fff; } #header #logo a { display: block; width: 220px; height: 52px; 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-nav > li > a, #header .header-bottom-nav > li > a { color: var(--ink) !important; font-size: 14px; font-weight: 600; text-transform: none; } #header .header-nav > li { margin: 0 11px; }
#header .header-button-1 .button { background: var(--ac) !important; color: var(--ink) !important; border: 0 !important; border-radius: 6px; font-weight: 700; text-transform: none; font-size: 14px; padding: 0 20px; min-height: 40px; }
.header-bottom { background: #fff !important; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); } #header .header-bottom-nav { justify-content: center; width: 100%; }
.o2-sec { padding: 40px 0 !important; }
.o2-hero { padding: 0 !important; min-height: 330px; background-size: cover !important; } .o2-hero .row { min-height: 330px; align-items: center; } .o2-hero .col-inner { padding: 34px 0; }
.o2-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.85) 38%, rgba(255,255,255,0) 62%); z-index: 1; } .o2-hero .section-content { z-index: 2; position: relative; }
.o2-eb { color: var(--c1); font: 700 13px/1 var(--bf); letter-spacing: .5px; text-transform: uppercase; margin: 0 0 14px; }
.o2-h1 { font: 800 40px/1.18 var(--hf) !important; color: var(--c1) !important; margin: 0 0 18px; } .o2-hs { font-size: 17px; color: var(--mu); margin: 0 0 16px; }
.o2-ck { list-style: none; margin: 0 0 24px; padding: 0; } .o2-ck li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 16px; margin: 0 0 12px; } .o2-ck img { width: 24px; height: 24px; }
a.o2-btn, a.o2-ft-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 28px; background: var(--c1); color: #fff !important; font: 700 15px/1 var(--bf); border-radius: 6px; } a.o2-btn img { width: 16px; height: 16px; } a.o2-ft-btn { background: var(--ac); color: var(--ink) !important; margin-top: 16px; justify-content: center; }
.o2-uspsec { padding: 0 !important; border-bottom: 1px solid var(--line); } .o2-usp { display: grid; grid-template-columns: repeat(4, 1fr); } .o2-usp > div { display: flex; align-items: center; gap: 14px; padding: 26px 22px; border-right: 1px solid var(--line); } .o2-usp > div:last-child { border: 0; } .o2-usp img { width: 44px; height: 44px; flex: none; } .o2-usp b { display: block; font: 700 15px/1.3 var(--hf); color: var(--c1); } .o2-usp em { display: block; font-style: normal; font-size: 13px; color: var(--mu); }
.o2-hd { display: flex; align-items: center; justify-content: space-between; margin: 0 0 20px; } .o2-hd h2 { font: 800 26px/1.2 var(--hf) !important; color: var(--c1) !important; margin: 0; text-transform: none !important; } .o2-all { display: inline-flex; white-space: nowrap; flex: none; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--c1) !important; } .o2-all img { width: 16px; height: 16px; }
.o2-cats { display: grid; gap: 14px; } .o2-cats4 { grid-template-columns: repeat(4, 1fr); } .o2-cats3 { grid-template-columns: repeat(3, 1fr); } .o2-cats5 { grid-template-columns: repeat(5, 1fr); } .o2-cats6 { grid-template-columns: repeat(6, 1fr); } .o2-cats a { display: block; text-align: center; border-radius: 6px; overflow: hidden; background: var(--c1); } .o2-ci { display: block; aspect-ratio: 1.07 / 1; background: #eef1f5; } .o2-ci img { width: 100%; height: 100%; object-fit: contain; display: block; } .o2-cats b { display: block; padding: 12px 8px; color: #fff; font: 600 14.5px/1.3 var(--bf); }
.o2-prodsec.o2-gray { background: var(--bg2); } .o2-g { --n: 4; --gap: 16px; --pc-bg: #fff; --pc-pad: 12px; --pc-ar: 1 / .9; } .o2-g6 { --n: 6; --gap: 12px; --pc-ar: 1 / .85; } .o2-g3 { --n: 3; } .o2-g5 { --n: 5; } .o2-g .b9-pc { border-radius: 8px; border: 1px solid var(--line); } .b9-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; } .b9-chips span { background: #f1f2f4; color: #555; font-size: 11.5px; padding: 5px 9px; border-radius: 3px; } .b9-bd { position: absolute; left: 10px; top: 10px; z-index: 3; background: var(--bd, #f2574c); color: #fff; font: 700 12px/1 var(--bf); padding: 6px 9px; border-radius: 3px; } .o2-g .b9-pc-t { font-size: 14.5px; font-weight: 600; color: var(--ink); text-align: center; } .o2-g .b9-pc-p { font-size: 15px; font-weight: 700; color: #1170e0; margin-bottom: 10px; text-align: center; } .o2-g .b9-pc-ct { font-size: 15px; }
.o2-g .b9-pc-btn { grid-template-columns: 1fr 1fr; gap: 8px; } .o2-g a.b9-btn { background: var(--c1) !important; color: #fff !important; border-color: var(--c1) !important; min-height: 34px; border-radius: 4px; font-size: 13px; } .o2-g a.b9-btn-o { background: #fff !important; color: var(--c1) !important; border: 1.5px solid var(--c1) !important; min-height: 34px; border-radius: 4px; font-size: 13px; } .o2-g6 .b9-pc-btn { display: none; } .o2-g6 .b9-pc-t { font-size: 13px; }
.o2-g.o2-bs .b9-pc:first-child::before { content: "Bán chạy"; position: absolute; top: 10px; left: 10px; z-index: 3; background: var(--ac); color: var(--ink); font: 700 12px/1 var(--bf); padding: 6px 10px; border-radius: 4px; } .o2-g .b9-pc { position: relative; }
.o2-band { padding: 0 !important; color: #fff; } .o2-bi { text-align: center; padding: 34px 0; } .o2-bi h2 { font: 800 32px/1.3 var(--hf) !important; color: #fff !important; margin: 0 0 8px; text-transform: none !important; } .o2-bi h2 b { color: var(--ac); } .o2-bi p { margin: 0; font-size: 17px; opacity: .92; }
.o2-gn { --n: 3; --gap: 20px; } .o2-news .b9-po { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; } .o2-news .b9-po-img img { aspect-ratio: 1.6 / 1; object-fit: cover; width: 100%; } .o2-news .b9-po-tag { color: var(--c1); font-size: 13px; } .o2-news .b9-po-t { font-size: 19px; font-weight: 700; color: var(--ink); } .o2-news .b9-po-e { display: none; } .o2-news .b9-more { color: var(--c1) !important; font-weight: 600; font-size: 14px; }
.o2-ft { background: #1b2a44; color: #dfe8f7; } .o2-ft-in { max-width: 1320px; margin: 0 auto; padding: 40px 20px 24px; display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr; gap: 36px; box-sizing: border-box; }
.o2-ft-logo { height: 56px; width: auto; display: block; margin-bottom: 12px; } .o2-ft-brand p { margin: 0; font-size: 14px; line-height: 1.65; opacity: .9; max-width: 300px; } .o2-ft-h { font-weight: 700; font-size: 15px; margin-bottom: 12px; color: #fff; } .o2-ft ul { list-style: none; margin: 0; padding: 0; } .o2-ft li { margin: 0 0 8px; font-size: 14px; } .o2-ft a { color: #dfe8f7 !important; }
.o2-ft-ct li { display: flex; gap: 10px; align-items: flex-start; } .o2-ft-ct img { width: 18px; height: 18px; flex: none; margin-top: 2px; } .o2-ft-soc { display: flex !important; gap: 14px; } .o2-ft-soc a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; } .o2-ft-soc img { width: 30px; height: 30px; }
.o2-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) { .o2-h1 { font-size: 28px !important; } .o2-hero::before { background: rgba(255,255,255,.86); } .o2-usp { grid-template-columns: 1fr 1fr; } .o2-usp > div { padding: 16px 10px; } .o2-cats4, .o2-cats3 { grid-template-columns: 1fr 1fr; } .o2-cats5, .o2-cats6 { grid-template-columns: repeat(3, 1fr); } .o2-g, .o2-g6, .o2-g5 { --n: 2; } .o2-gn { --n: 1; } .o2-bi h2 { font-size: 21px !important; } .o2-ft-in { grid-template-columns: 1fr 1fr; } .o2-ft-brand { grid-column: 1 / -1; } #header #logo a { width: 170px; height: 42px; } }
/* Order Nhanh 24h — khối riêng trang chủ theo mockup v1 */
body { font-family: var(--bf); color: var(--ink); }
#header .header-main { border-bottom: 1px solid #f0e6dc; }
#header .header-nav > li > a { font-weight: 500 !important; font-size: 14.5px !important; }
#header .header-nav > li.active > a, #header .header-nav > li.current-menu-item > a { color: var(--c1) !important; box-shadow: inset 0 -2px 0 var(--c1); }
#header .header-button-1 .button, #header .header-button-2 .button { min-height: 42px; padding: 0 22px; border-radius: 6px !important; font-weight: 700; font-size: 14px; text-transform: none; }
#header .header-button-1 .button { background: #fff !important; color: var(--c1d) !important; border: 1.5px solid var(--c1d) !important; }
#header .header-button-2 .button { background: var(--c1) !important; color: #fff !important; border: 1.5px solid var(--c1) !important; }
.o2-sec { padding: 56px 0 !important; }
.o2-hero { padding: 0 !important; background: #fff4ea !important; }
.o2-hero .section-bg { left: 50% !important; width: 50% !important; right: 0; }
.o2-hero .section-bg img.bg { object-position: 50% 50%; }
.o2-hero .row { min-height: 500px; align-items: center; }
.o2-hero .col-inner { padding: 48px 40px 48px 0; }
.o2-eb { color: var(--c1); font: 700 13.5px/1 var(--bf); letter-spacing: .4px; margin: 0 0 18px; }
h1.o2-h1 { font: 800 44px/1.2 var(--hf) !important; color: var(--c1d) !important; margin: 0 0 18px; letter-spacing: -.5px; }
h1.o2-h1 em { font-style: normal; color: var(--c1); }
.o2-hs { font-size: 17px; line-height: 1.6; color: #3d4757; margin: 0 0 26px; max-width: 540px; }
.o2-q { display: flex; max-width: 560px; background: #fff; border: 1px solid #f0e1d2; border-radius: 8px; overflow: hidden; margin: 0 0 18px; box-shadow: 0 6px 18px rgba(27,42,68,.05); }
.o2-q span { display: flex; align-items: center; padding: 0 6px 0 18px; } .o2-q span img { width: 20px; height: 20px; }
.o2-q input { flex: 1; border: 0 !important; box-shadow: none !important; margin: 0 !important; height: 56px; font-size: 15px; background: transparent !important; }
.o2-q button { margin: 0 !important; background: var(--c1) !important; color: #fff !important; border: 0; border-radius: 0 !important; padding: 0 30px; font: 700 15.5px/1 var(--bf); text-transform: none; min-height: 56px; }
.o2-fl { display: flex; flex-wrap: wrap; gap: 14px; }
.o2-fl a { display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #f0e1d2; border-radius: 6px; padding: 10px 16px; color: var(--c1d) !important; font-size: 14px; font-weight: 500; }
.o2-fl img { width: 26px; height: auto; }
.o2-sh { text-align: center; margin: 0 0 34px; } .o2-sh h2 { font: 700 32px/1.25 var(--hf) !important; color: var(--c1d) !important; margin: 0 0 8px; text-transform: none !important; } .o2-sh p { margin: 0; color: #5b6575; font-size: 16px; }
.o2-why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.o2-why > div { background: #fff; border: 1px solid #efe7df; border-radius: 10px; padding: 30px 22px 28px; text-align: center; box-shadow: 0 6px 20px rgba(27,42,68,.04); }
.o2-why img { width: 58px; height: 58px; margin: 0 auto 18px; display: block; }
.o2-why b { display: block; font: 700 17px/1.35 var(--hf); color: var(--c1d); margin: 0 0 10px; } .o2-why p { margin: 0; color: #5b6575; font-size: 14.5px; line-height: 1.6; }
.o2-steps { display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.o2-steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 26px; height: 2px; background: #f4b27a; }
.o2-steps > div { text-align: center; position: relative; }
.o2-steps i { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%; background: var(--c1); color: #fff; font: 700 22px/1 var(--bf); font-style: normal; box-shadow: 0 0 0 6px #fff4ea; }
.o2-steps b { display: block; font: 700 16px/1.35 var(--hf); color: var(--c1d); margin: 0 0 6px; } .o2-steps span { color: #5b6575; font-size: 14px; }
.o2-fee { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.o2-fee > div { background: #fff; border: 1px solid #efe7df; border-radius: 10px; padding: 26px 28px 24px; box-shadow: 0 6px 20px rgba(27,42,68,.04); }
.o2-fee > div.on { border: 1.5px solid var(--c1); background: linear-gradient(#fff4ea 0 62px, #fff 62px); }
.o2-fee .o2-fh { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; } .o2-fee .o2-fh img { width: 34px; height: 34px; } .o2-fee .o2-fh b { font: 700 17px/1.3 var(--hf); color: var(--c1d); }
.o2-fee .o2-fp { font: 800 27px/1.2 var(--hf); color: var(--c1); margin: 0 0 16px; }
.o2-fee ul { list-style: none; margin: 0 0 18px; padding: 0; } .o2-fee li { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 9px; font-size: 14.5px; color: #3d4757; } .o2-fee li img { width: 16px; height: 16px; margin-top: 4px; flex: none; }
.o2-more { display: inline-flex; align-items: center; gap: 8px; color: var(--c1) !important; font-weight: 700; font-size: 14.5px; } .o2-more img { width: 15px; height: 15px; }
.o2-hd { display: flex; align-items: center; justify-content: space-between; margin: 0 0 22px; } .o2-hd h2 { font: 700 30px/1.25 var(--hf) !important; color: var(--c1d) !important; margin: 0; text-transform: none !important; }
.o2-all { display: inline-flex; align-items: center; gap: 8px; color: var(--c1) !important; font-weight: 700; font-size: 15px; } .o2-all img { width: 16px; height: 16px; }
.o2-g { --n: 4; --gap: 20px; --pc-bg: #f6f6f7; --pc-pad: 0px; --pc-ar: 1 / .74; }
.o2-g .b9-pc { background: #fff; border: 1px solid #efe7df; border-radius: 10px; overflow: hidden; }
.o2-g .b9-pc-img { background: #f6f6f7; } .o2-g .b9-pc-img img { object-fit: contain !important; padding: 8%; box-sizing: border-box; }
.o2-g .b9-pc-b { padding: 16px 14px 18px; } .o2-g .b9-pc-t, .o2-g .b9-pc-t a { font: 600 16px/1.35 var(--hf) !important; color: var(--c1d) !important; }
.o2-g .b9-pc-p, .o2-g .b9-pc-p .amount { color: var(--c1) !important; font-weight: 700; font-size: 17px; }
.o2-g .b9-pc-btn { display: block !important; } .o2-g a.b9-btn { display: inline-flex !important; width: 68%; justify-content: center; align-items: center; gap: 8px; background: #fff !important; color: var(--c1) !important; border: 1.5px solid var(--c1) !important; border-radius: 4px; min-height: 36px; font-size: 13.5px; font-weight: 600; }
.o2-g a.b9-btn::after { content: "→"; }
.o2-gn { --n: 3; --gap: 20px; }
.o2-news .b9-po { background: #fff; border: 1px solid #efe7df; border-radius: 10px; overflow: hidden; }
.o2-news .b9-po-img img { aspect-ratio: 2.1 / 1; object-fit: cover; width: 100%; }
.o2-news .b9-po-tag { display: none; } .o2-news .b9-po-t, .o2-news .b9-po-t a { font: 700 17px/1.4 var(--hf) !important; color: var(--c1d) !important; }
.o2-news .b9-po-e { display: block !important; color: #5b6575; font-size: 14.5px; line-height: 1.55; } .o2-news .b9-more { color: var(--c1) !important; font-weight: 700; font-size: 14.5px; }
.o2-ft-soc { flex-wrap: wrap; } .o2-ft-soc li span { display: none; } .o2-ft-soc + p, .o2-ft-note { font-size: 13px; opacity: .85; margin: 10px 0 0; }
@media (max-width: 849px) {
 .o2-hero .section-bg { left: 0 !important; width: 100% !important; top: auto; height: 260px; bottom: 0; }
 .o2-hero .row { min-height: 0; } .o2-hero .col-inner { padding: 34px 0 300px; }
 h1.o2-h1 { font-size: 30px !important; } .o2-q button { padding: 0 16px; font-size: 14px; } .o2-q input { font-size: 14px; }
 .o2-why { grid-template-columns: 1fr 1fr; gap: 14px; } .o2-why > div { padding: 20px 12px; }
 .o2-steps { grid-template-columns: 1fr; gap: 18px; } .o2-steps::before { left: 26px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
 .o2-steps > div { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; text-align: left; } .o2-steps i { grid-row: span 2; margin: 0; } .o2-steps b { margin: 4px 0 2px; }
 .o2-fee { grid-template-columns: 1fr; } .o2-sh h2, .o2-hd h2 { font-size: 24px !important; }
 .o2-g { --n: 2; --gap: 12px; } .o2-g a.b9-btn { width: 100%; } .o2-gn { --n: 1; } .o2-sec { padding: 40px 0 !important; }
}

/* sửa sau dựng: hero không phủ trắng, tin tức mobile 1 cột */
.o2-hero::before { display: none !important; }
@media (max-width: 849px) { .b9-g.o2-gn { --nm: 1 !important; } .o2-ft-soc { display: flex !important; flex-wrap: nowrap !important; } }

/* ruler:manual — thước đo trang chủ (bỏ luật h2 toàn cục, cờ cùng cỡ) */
@media (min-width: 850px) { .o2-fee .o2-fh img { width: 46px !important; height: 46px !important; } .o2-more img, .o2-all img { width: 20px !important; height: 20px !important; } .o2-fl img { width: 32px !important; height: auto !important; } .o2-sh h2, .o2-hd h2 { font-size: 36px !important; } }

.o2-fee > div.on { background: linear-gradient(#fff4ea 0 84px, #fff 84px) !important; }
