/* Hạt Ngon Mộc (thucphamsach) — trang chủ đợt 10. Tiền tố tp-. */
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600&display=swap");
:root { --c1: #1f5a36; --c1d: #174a2b; --ac: #e08a24; --ink: #173d26; --mu: #5f6f65; --line: #e5ece6; --bg2: #f4f8f4; --bf: "Be Vietnam Pro", sans-serif; --hf: "Playfair Display", Georgia, serif; }
body { background: #fff; }
#top-bar { background: #1f5a36 !important; } #top-bar .nav-left { margin: 0 auto; } .tp-tb { color: #fff; font-size: 13px; font-weight: 500; } .tp-tb a { color: #fff !important; } .tp-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%; }
.tp-sec { padding: 40px 0 !important; }
.tp-hero { padding: 0 !important; min-height: 330px; background-size: cover !important; } .tp-hero .row { min-height: 330px; align-items: center; } .tp-hero .col-inner { padding: 34px 0; }
.tp-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; } .tp-hero .section-content { z-index: 2; position: relative; }
.tp-eb { color: var(--c1); font: 700 13px/1 var(--bf); letter-spacing: .5px; text-transform: uppercase; margin: 0 0 14px; }
.tp-h1 { font: 800 40px/1.18 var(--hf) !important; color: var(--c1) !important; margin: 0 0 18px; } .tp-hs { font-size: 17px; color: var(--mu); margin: 0 0 16px; }
.tp-ck { list-style: none; margin: 0 0 24px; padding: 0; } .tp-ck li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 16px; margin: 0 0 12px; } .tp-ck img { width: 24px; height: 24px; }
a.tp-btn, a.tp-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.tp-btn img { width: 16px; height: 16px; } a.tp-ft-btn { background: var(--ac); color: var(--ink) !important; margin-top: 16px; justify-content: center; }
.tp-uspsec { padding: 0 !important; border-bottom: 1px solid var(--line); } .tp-usp { display: grid; grid-template-columns: repeat(4, 1fr); } .tp-usp > div { display: flex; align-items: center; gap: 14px; padding: 26px 22px; border-right: 1px solid var(--line); } .tp-usp > div:last-child { border: 0; } .tp-usp img { width: 44px; height: 44px; flex: none; } .tp-usp b { display: block; font: 700 15px/1.3 var(--hf); color: var(--c1); } .tp-usp em { display: block; font-style: normal; font-size: 13px; color: var(--mu); }
.tp-hd { display: flex; align-items: center; justify-content: space-between; margin: 0 0 20px; } .tp-hd h2 { font: 800 26px/1.2 var(--hf) !important; color: var(--c1) !important; margin: 0; text-transform: none !important; } .tp-all { display: inline-flex; white-space: nowrap; flex: none; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--c1) !important; } .tp-all img { width: 16px; height: 16px; }
.tp-cats { display: grid; gap: 14px; } .tp-cats4 { grid-template-columns: repeat(4, 1fr); } .tp-cats3 { grid-template-columns: repeat(3, 1fr); } .tp-cats5 { grid-template-columns: repeat(5, 1fr); } .tp-cats6 { grid-template-columns: repeat(6, 1fr); } .tp-cats a { display: block; text-align: center; border-radius: 6px; overflow: hidden; background: var(--c1); } .tp-ci { display: block; aspect-ratio: 1.07 / 1; background: #eef1f5; } .tp-ci img { width: 100%; height: 100%; object-fit: contain; display: block; } .tp-cats b { display: block; padding: 12px 8px; color: #fff; font: 600 14.5px/1.3 var(--bf); }
.tp-prodsec.tp-gray { background: var(--bg2); } .tp-g { --n: 4; --gap: 16px; --pc-bg: #fff; --pc-pad: 12px; --pc-ar: 1 / .9; } .tp-g6 { --n: 6; --gap: 12px; --pc-ar: 1 / .85; } .tp-g3 { --n: 3; } .tp-g5 { --n: 5; } .tp-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; } .tp-g .b9-pc-t { font-size: 14.5px; font-weight: 600; color: var(--ink); text-align: center; } .tp-g .b9-pc-p { font-size: 15px; font-weight: 700; color: #1170e0; margin-bottom: 10px; text-align: center; } .tp-g .b9-pc-ct { font-size: 15px; }
.tp-g .b9-pc-btn { grid-template-columns: 1fr 1fr; gap: 8px; } .tp-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; } .tp-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; } .tp-g6 .b9-pc-btn { display: none; } .tp-g6 .b9-pc-t { font-size: 13px; }
.tp-g.tp-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; } .tp-g .b9-pc { position: relative; }
.tp-band { padding: 0 !important; color: #fff; } .tp-bi { text-align: center; padding: 34px 0; } .tp-bi h2 { font: 800 32px/1.3 var(--hf) !important; color: #fff !important; margin: 0 0 8px; text-transform: none !important; } .tp-bi h2 b { color: var(--ac); } .tp-bi p { margin: 0; font-size: 17px; opacity: .92; }
.tp-gn { --n: 3; --gap: 20px; } .tp-news .b9-po { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; } .tp-news .b9-po-img img { aspect-ratio: 1.6 / 1; object-fit: cover; width: 100%; } .tp-news .b9-po-tag { color: var(--c1); font-size: 13px; } .tp-news .b9-po-t { font-size: 19px; font-weight: 700; color: var(--ink); } .tp-news .b9-po-e { display: none; } .tp-news .b9-more { color: var(--c1) !important; font-weight: 600; font-size: 14px; }
.tp-ft { background: #1f5a36; color: #dfe8f7; } .tp-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; }
.tp-ft-logo { height: 56px; width: auto; display: block; margin-bottom: 12px; } .tp-ft-brand p { margin: 0; font-size: 14px; line-height: 1.65; opacity: .9; max-width: 300px; } .tp-ft-h { font-weight: 700; font-size: 15px; margin-bottom: 12px; color: #fff; } .tp-ft ul { list-style: none; margin: 0; padding: 0; } .tp-ft li { margin: 0 0 8px; font-size: 14px; } .tp-ft a { color: #dfe8f7 !important; }
.tp-ft-ct li { display: flex; gap: 10px; align-items: flex-start; } .tp-ft-ct img { width: 18px; height: 18px; flex: none; margin-top: 2px; } .tp-ft-soc { display: flex !important; gap: 14px; } .tp-ft-soc a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; } .tp-ft-soc img { width: 30px; height: 30px; }
.tp-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) { .tp-h1 { font-size: 28px !important; } .tp-hero::before { background: rgba(255,255,255,.86); } .tp-usp { grid-template-columns: 1fr 1fr; } .tp-usp > div { padding: 16px 10px; } .tp-cats4, .tp-cats3 { grid-template-columns: 1fr 1fr; } .tp-cats5, .tp-cats6 { grid-template-columns: repeat(3, 1fr); } .tp-g, .tp-g6, .tp-g5 { --n: 2; } .tp-gn { --n: 1; } .tp-bi h2 { font-size: 21px !important; } .tp-ft-in { grid-template-columns: 1fr 1fr; } .tp-ft-brand { grid-column: 1 / -1; } #header #logo a { width: 170px; height: 42px; } }
.tp-tb a { color: #fff !important; } #header .header-nav > li > a { color: #173d26 !important; font-size: 12.5px; font-weight: 500; } #header .header-button-1 { display: none; }
.tp-top { padding: 4px 0 0 !important; } .tp-hb { min-height: 330px; border-radius: 12px; background: #f1ece4 right center / cover no-repeat; display: flex; align-items: center; } .tp-ht { padding: 0 0 0 44px; max-width: 52%; } .tp-h1 { font: 400 50px/1.08 "Playfair Display", Georgia, serif !important; color: #173d26 !important; margin: 0 0 14px; } .tp-ht p { color: #3b4a40; font-size: 15px; margin: 0 0 20px; } a.tp-btn { display: inline-flex; align-items: center; min-height: 40px; padding: 0 32px; background: #e08a24; color: #fff !important; font: 600 13.5px/1 var(--bf); border-radius: 4px; }
.tp-cat { padding: 24px 0 8px !important; } .tp-cg { display: grid; grid-template-columns: repeat(6, 1fr); text-align: center; } .tp-cg a { color: #173d26 !important; } .tp-cg span { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; border: 1px solid #e2e8e3; margin: 0 auto 8px; } .tp-cg img { width: 32px; height: 32px; } .tp-cg b { font-weight: 400; font-size: 12.5px; }
.tp-hd { display: flex; align-items: center; justify-content: space-between; margin: 0 0 18px; } .tp-hd h2, .tp-prodsec .tp-hd h2 { font: 400 38px/1.15 "Playfair Display", Georgia, serif !important; color: #173d26 !important; margin: 0; text-transform: none !important; } a.tp-all { color: #173d26 !important; font-size: 12.5px; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid #173d26; } a.tp-all img { width: 13px; }
.tp-prodsec { padding: 26px 0 !important; } .tp-g { --pc-ar: 1 / 1; --pc-pad: 0px; } .tp-g .b9-pc { border: 0; background: #fff; } .tp-g .b9-pc-img { background: #f5f5f5; } .tp-g .b9-pc-t { text-align: center; font: 400 17px "Playfair Display", Georgia, serif; color: #173d26; } .tp-g .b9-pc-p, .tp-g .b9-pc-ct { text-align: center; color: #e08a24; font-size: 14px; font-weight: 600; } .tp-g .b9-pc-btn { grid-template-columns: 1fr 1fr; gap: 10px; } .tp-g a.b9-btn { background: #fff !important; color: #173d26 !important; border: 1px solid #1f5a36 !important; border-radius: 6px; min-height: 38px; font-size: 12.5px; } .tp-g a.b9-btn-o { background: #e08a24 !important; color: #fff !important; border-color: #e08a24 !important; border-radius: 6px; min-height: 38px; font-size: 12.5px; font-weight: 600; }
.tp-feat { padding: 26px 0 !important; } .tp-fg { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: center; } .tp-fi img { width: 100%; aspect-ratio: 1.65 / 1; object-fit: cover; border-radius: 10px; display: block; } .tp-fx h2 { font: 400 36px/1.15 "Playfair Display", Georgia, serif !important; color: #1f5a36 !important; margin: 0 0 16px; } .tp-fx ul { list-style: none; margin: 0 0 20px; padding: 0; } .tp-fx li { display: flex; gap: 14px; align-items: center; margin: 0 0 12px; font-size: 14.5px; color: #173d26; } .tp-fx li img { width: 18px; } a.tp-b2 { display: inline-flex; align-items: center; min-height: 40px; padding: 0 28px; border: 1px solid #1f5a36; color: #173d26 !important; border-radius: 6px; font-weight: 600; font-size: 13px; }
.tp-cb { padding: 20px 0 30px !important; } .tp-cbg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; } .tp-cbg a { display: block; } .tp-cbg img { width: 100%; aspect-ratio: 1.5 / 1; object-fit: cover; border-radius: 10px; display: block; } .tp-cbg b { display: block; margin-top: 10px; font: 400 17px "Playfair Display", Georgia, serif; color: #173d26; }
.tp-ft-h { color: #fff; } .tp-ft-soc { flex-direction: column; align-items: flex-start; } .tp-ft-soc a { flex-direction: row; gap: 10px; font-size: 13px; }
@media (max-width: 849px) { .tp-h1 { font-size: 34px !important; } .tp-ht { max-width: 90%; padding-left: 20px; } .tp-cg { grid-template-columns: repeat(3, 1fr); gap: 14px; } .tp-fg, .tp-cbg { grid-template-columns: 1fr; } }
