/* Sâm Quý Hàn Việt (nhansam) — trang chủ đợt 10. Tiền tố ns-. */
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif:wght@600;700&display=swap");
:root { --c1: #9b1c2b; --c1d: #7e1523; --ac: #b8892f; --ink: #3a1f23; --mu: #6e5d5f; --line: #eadfd2; --bg2: #fbf6ee; --bf: "Be Vietnam Pro", sans-serif; --hf: "Be Vietnam Pro", sans-serif; }
body { background: #fff; }
#top-bar { background: #9b1c2b !important; } #top-bar .nav-left { margin: 0 auto; } .ns-tb { color: #fff; font-size: 13px; font-weight: 500; } .ns-tb a { color: #fff !important; } .ns-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%; }
.ns-sec { padding: 40px 0 !important; }
.ns-hero { padding: 0 !important; min-height: 330px; background-size: cover !important; } .ns-hero .row { min-height: 330px; align-items: center; } .ns-hero .col-inner { padding: 34px 0; }
.ns-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; } .ns-hero .section-content { z-index: 2; position: relative; }
.ns-eb { color: var(--c1); font: 700 13px/1 var(--bf); letter-spacing: .5px; text-transform: uppercase; margin: 0 0 14px; }
.ns-h1 { font: 800 40px/1.18 var(--hf) !important; color: var(--c1) !important; margin: 0 0 18px; } .ns-hs { font-size: 17px; color: var(--mu); margin: 0 0 16px; }
.ns-ck { list-style: none; margin: 0 0 24px; padding: 0; } .ns-ck li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 16px; margin: 0 0 12px; } .ns-ck img { width: 24px; height: 24px; }
a.ns-btn, a.ns-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.ns-btn img { width: 16px; height: 16px; } a.ns-ft-btn { background: var(--ac); color: var(--ink) !important; margin-top: 16px; justify-content: center; }
.ns-uspsec { padding: 0 !important; border-bottom: 1px solid var(--line); } .ns-usp { display: grid; grid-template-columns: repeat(4, 1fr); } .ns-usp > div { display: flex; align-items: center; gap: 14px; padding: 26px 22px; border-right: 1px solid var(--line); } .ns-usp > div:last-child { border: 0; } .ns-usp img { width: 44px; height: 44px; flex: none; } .ns-usp b { display: block; font: 700 15px/1.3 var(--hf); color: var(--c1); } .ns-usp em { display: block; font-style: normal; font-size: 13px; color: var(--mu); }
.ns-hd { display: flex; align-items: center; justify-content: space-between; margin: 0 0 20px; } .ns-hd h2 { font: 800 26px/1.2 var(--hf) !important; color: var(--c1) !important; margin: 0; text-transform: none !important; } .ns-all { display: inline-flex; white-space: nowrap; flex: none; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--c1) !important; } .ns-all img { width: 16px; height: 16px; }
.ns-cats { display: grid; gap: 14px; } .ns-cats4 { grid-template-columns: repeat(4, 1fr); } .ns-cats3 { grid-template-columns: repeat(3, 1fr); } .ns-cats5 { grid-template-columns: repeat(5, 1fr); } .ns-cats6 { grid-template-columns: repeat(6, 1fr); } .ns-cats a { display: block; text-align: center; border-radius: 6px; overflow: hidden; background: var(--c1); } .ns-ci { display: block; aspect-ratio: 1.07 / 1; background: #eef1f5; } .ns-ci img { width: 100%; height: 100%; object-fit: contain; display: block; } .ns-cats b { display: block; padding: 12px 8px; color: #fff; font: 600 14.5px/1.3 var(--bf); }
.ns-prodsec.ns-gray { background: var(--bg2); } .ns-g { --n: 4; --gap: 16px; --pc-bg: #fff; --pc-pad: 12px; --pc-ar: 1 / .9; } .ns-g6 { --n: 6; --gap: 12px; --pc-ar: 1 / .85; } .ns-g3 { --n: 3; } .ns-g5 { --n: 5; } .ns-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; } .ns-g .b9-pc-t { font-size: 14.5px; font-weight: 600; color: var(--ink); text-align: center; } .ns-g .b9-pc-p { font-size: 15px; font-weight: 700; color: #1170e0; margin-bottom: 10px; text-align: center; } .ns-g .b9-pc-ct { font-size: 15px; }
.ns-g .b9-pc-btn { grid-template-columns: 1fr 1fr; gap: 8px; } .ns-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; } .ns-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; } .ns-g6 .b9-pc-btn { display: none; } .ns-g6 .b9-pc-t { font-size: 13px; }
.ns-g.ns-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; } .ns-g .b9-pc { position: relative; }
.ns-band { padding: 0 !important; color: #fff; } .ns-bi { text-align: center; padding: 34px 0; } .ns-bi h2 { font: 800 32px/1.3 var(--hf) !important; color: #fff !important; margin: 0 0 8px; text-transform: none !important; } .ns-bi h2 b { color: var(--ac); } .ns-bi p { margin: 0; font-size: 17px; opacity: .92; }
.ns-gn { --n: 3; --gap: 20px; } .ns-news .b9-po { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; } .ns-news .b9-po-img img { aspect-ratio: 1.6 / 1; object-fit: cover; width: 100%; } .ns-news .b9-po-tag { color: var(--c1); font-size: 13px; } .ns-news .b9-po-t { font-size: 19px; font-weight: 700; color: var(--ink); } .ns-news .b9-po-e { display: none; } .ns-news .b9-more { color: var(--c1) !important; font-weight: 600; font-size: 14px; }
.ns-ft { background: #8f1d2c; color: #dfe8f7; } .ns-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; }
.ns-ft-logo { height: 56px; width: auto; display: block; margin-bottom: 12px; } .ns-ft-brand p { margin: 0; font-size: 14px; line-height: 1.65; opacity: .9; max-width: 300px; } .ns-ft-h { font-weight: 700; font-size: 15px; margin-bottom: 12px; color: #fff; } .ns-ft ul { list-style: none; margin: 0; padding: 0; } .ns-ft li { margin: 0 0 8px; font-size: 14px; } .ns-ft a { color: #dfe8f7 !important; }
.ns-ft-ct li { display: flex; gap: 10px; align-items: flex-start; } .ns-ft-ct img { width: 18px; height: 18px; flex: none; margin-top: 2px; } .ns-ft-soc { display: flex !important; gap: 14px; } .ns-ft-soc a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; } .ns-ft-soc img { width: 30px; height: 30px; }
.ns-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) { .ns-h1 { font-size: 28px !important; } .ns-hero::before { background: rgba(255,255,255,.86); } .ns-usp { grid-template-columns: 1fr 1fr; } .ns-usp > div { padding: 16px 10px; } .ns-cats4, .ns-cats3 { grid-template-columns: 1fr 1fr; } .ns-cats5, .ns-cats6 { grid-template-columns: repeat(3, 1fr); } .ns-g, .ns-g6, .ns-g5 { --n: 2; } .ns-gn { --n: 1; } .ns-bi h2 { font-size: 21px !important; } .ns-ft-in { grid-template-columns: 1fr 1fr; } .ns-ft-brand { grid-column: 1 / -1; } #header #logo a { width: 170px; height: 42px; } }
.ns-tb a { color: #fff !important; font-weight: 600; } #top-bar .nav-left { margin: 0 auto; } #header .header-search-form .search-field { height: 42px; border: 1px solid #d9cdb8; background: #fff; border-radius: 3px 0 0 3px; box-shadow: none; } #header .header-search-form .ux-search-submit { height: 42px; background: #b8892f !important; border-radius: 0 3px 3px 0; } #header .header-bottom-nav > li > a { color: #9b1c2b !important; font-weight: 600; }
.ns-top { padding: 0 !important; background: #fbf6ee; } .ns-hg { display: grid; grid-template-columns: 220px 1fr; gap: 0; align-items: stretch; margin: 0; } .ns-cat { background: #fff; border: 1px solid var(--line); margin: 0; align-self: start; box-shadow: 0 2px 6px rgba(0,0,0,.04); } .ns-cat-h { background: #9b1c2b; color: #fff; font: 600 16px/1 var(--hf); padding: 15px 20px; } .ns-cat a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; color: #3a1f23 !important; font-size: 13.5px; border-bottom: 1px solid #f1e9dd; } .ns-cat a > img:first-child { width: 24px; height: 24px; } .ns-cat a span { flex: 1; } .ns-ca { width: 10px; }
.ns-hb { min-height: 360px; background: #f3e4d6 right center / cover no-repeat; display: flex; align-items: center; } .ns-ht { padding: 0 0 0 28px; max-width: 54%; } .ns-h1 { font: 700 34px/1.2 "Noto Serif", Georgia, serif !important; color: #9b1c2b !important; margin: 0 0 12px; } .ns-ht p { font-size: 19px; color: #6e5d5f; margin: 0 0 22px; } a.ns-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 30px; background: #b8892f; color: #fff !important; font: 600 15px/1 var(--bf); border-radius: 3px; } a.ns-btn img { width: 16px; } a.ns-btn-g { background: #b8892f; }
.ns-uspsec { background: #fbf6ee; border-bottom: 0; } .ns-usp b { color: #9b1c2b; font-family: "Noto Serif", Georgia, serif; font-size: 14.5px; } .ns-usp em { font-size: 12.5px; } .ns-usp img { width: 46px; height: 46px; } .ns-hd h2 { font: 700 30px/1.2 "Noto Serif", Georgia, serif !important; color: #9b1c2b !important; } .ns-all { color: #9b1c2b !important; } .ns-sec { background: #fbf6ee; }
.ns-g { --pc-ar: 1 / .85; --pc-pad: 0px; } .ns-g .b9-pc { border: 1px solid #efe6d9; border-radius: 3px; } .ns-g .b9-pc-t { text-align: center; font-size: 14.5px; font-weight: 400; color: #2b1d1f; } .ns-g .b9-pc-p { text-align: center; color: #9b1c2b; font-size: 17px; } .ns-g a.b9-btn-o { background: #9b1c2b !important; color: #fff !important; border-color: #9b1c2b !important; border-radius: 3px; } .ns-g a.b9-btn { background: #fff !important; color: #9b1c2b !important; border: 1px solid #9b1c2b !important; border-radius: 3px; } .ns-g .b9-pc-btn { order: 0; }
.ns-band { min-height: 175px; padding: 0 !important; background-size: cover !important; } .ns-bi { padding: 34px 0 34px 22px; } .ns-bi h2 { font: 700 32px/1.25 "Noto Serif", Georgia, serif !important; color: #fff !important; margin: 0 0 8px; text-transform: none !important; } .ns-bi p { color: #f6e9e1; font-size: 18px; margin: 0 0 18px; }
.ns-sy { display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; } .ns-sy-i { width: 100%; aspect-ratio: 1.67 / 1; object-fit: cover; display: block; } .ns-sy h2 { font: 700 34px/1.2 "Noto Serif", Georgia, serif !important; color: #9b1c2b !important; margin: 0 0 6px; } .ns-sy-s { color: #6e5d5f; margin: 0 0 16px; } .ns-sy-r { display: flex; gap: 16px; align-items: center; margin: 0 0 14px; } .ns-sy-r > img { width: 50px; height: 50px; flex: none; } .ns-sy-r b { display: block; color: #9b1c2b; font-family: "Noto Serif", Georgia, serif; } .ns-sy-r span { font-size: 13.5px; color: #6e5d5f; } a.ns-link { color: #9b1c2b !important; font-weight: 600; font-size: 14px; border-bottom: 1px solid #9b1c2b; display: inline-flex; gap: 8px; align-items: center; } a.ns-link img { width: 14px; }
.ns-news .b9-po-t { font: 600 16px/1.4 var(--hf); color: #2b1d1f; } .ns-news .b9-po-e { display: block; color: #6e5d5f; font-size: 13.5px; } .ns-news .b9-po { border-radius: 3px; } .ns-news .b9-more { color: #9b1c2b !important; } .ns-news .b9-po-img img { aspect-ratio: 2.4 / 1; }
.ns-ft-soc { flex-direction: column; align-items: flex-start; } .ns-ft-soc a { flex-direction: row; font-size: 14px; gap: 12px; } .ns-ft-h { color: #fff; }
@media (max-width: 849px) { .ns-hg, .ns-sy { grid-template-columns: 1fr; } .ns-ht { max-width: 90%; padding-left: 16px; } .ns-h1 { font-size: 24px !important; } .ns-bi h2 { font-size: 22px !important; } }
/* ruler:auto BEGIN — tools/astra-bridge/lab/ruler_fix.py, đừng sửa tay */
@media (min-width: 850px) {
  .ns-g h3.b9-pc-t { font-size: 18.2px !important; }
  .ns-gn h3.b9-po-t { font-size: 19.8px !important; }
  .ns-all img { width: 20px !important; height: 20px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .ns-cat img { width: 12px !important; height: 12px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .ns-sy-r img { width: 80px !important; height: 80px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .ns-usp img { width: 80px !important; height: 80px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
}
@media (max-width: 849px) {
  .ns-all img { width: 16px !important; height: 16px !important; }
  .ns-cat img { width: 10px !important; height: 10px !important; }
  .ns-sy-r img { width: 56px !important; height: 56px !important; }
  .ns-usp img { width: 56px !important; height: 56px !important; }
}
/* ruler:auto END */
/* ruler:manual — nhansam 10-31 */
@media (min-width: 850px) {
#header .header-main { height: 124px !important; } #header #logo { width: 300px !important; } #header #logo a { width: 300px; height: 108px; }
#header .header-search-form { max-width: 720px; margin: 0 auto; } #header .header-search-form .search-field { height: 50px; font-size: 15px; } #header .header-search-form .ux-search-submit { height: 50px; width: 54px; }
#header .header-bottom-nav > li > a { font-size: 16px !important; } .header-bottom { min-height: 50px; }
.ns-hg { grid-template-columns: 300px 1fr; } .ns-cat-h { font-size: 19px; padding: 18px 22px; } .ns-cat a { font-size: 15.5px !important; padding-top: 14px !important; padding-bottom: 14px !important; } .ns-cat a img:first-child { width: 28px !important; height: 28px !important; }
.ns-hb { min-height: 450px; } .ns-h1 { font-size: 37px !important; } .ns-ht { max-width: 50%; padding-left: 40px; position: relative; z-index: 1; } .ns-hb { position: relative; } .ns-hb::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,243,234,.92) 0%, rgba(250,243,234,.75) 36%, rgba(250,243,234,0) 52%); } .ns-ht p { font-size: 22px; } a.ns-btn { min-height: 54px; font-size: 17px; padding: 0 32px; }
.ns-usp img { width: 64px !important; height: 64px !important; } .ns-usp b { font-size: 17px; } .ns-usp em { font-size: 14.5px; }
.ns-hd h2, .ns-sy h2 { font-size: 40px !important; } .ns-all { font-size: 16px; } .ns-g .b9-pc-p { font-size: 21px; } .ns-g a.b9-btn, .ns-g a.b9-btn-o { min-height: 40px; font-size: 15px; }
.ns-band { min-height: 300px; } .ns-band .section-bg img.bg { left: auto !important; right: 0; width: 56% !important; object-fit: cover; object-position: 30% 50% !important; } .ns-band .section-bg::after { content: ""; position: absolute; top: 0; bottom: 0; right: 56%; width: 160px; transform: translateX(100%); background: linear-gradient(90deg, #8f1d2c, rgba(143,29,44,0)); }
.ns-band .row { min-height: 300px; align-items: center; } .ns-bi { text-align: left !important; } .ns-bi h2 { font-size: 42px !important; } .ns-bi p { font-size: 21px; }
.ns-sy-s { font-size: 18px; } .ns-sy-r b { font-size: 18px; } .ns-sy-r span { font-size: 15.5px; } .ns-ft-logo { height: 84px; } .ns-ft li, .ns-ft-brand p { font-size: 15.5px; } .ns-ft-h { font-size: 18px; }
}
@media (max-width: 849px) { .ns-band .section-bg img.bg { opacity: .35; } .ns-ht { background: rgba(255,255,255,.92); padding: 16px 18px !important; margin: 0 14px; border-radius: 6px; max-width: none !important; } .ns-ht p { font-size: 16px; color: #4a3a3c; } .ns-hb { align-items: flex-end; padding-bottom: 16px; } }
@media (max-width: 549px) { .ns-g .b9-pc-btn { grid-template-columns: 1fr !important; } .ns-g a.b9-btn, .ns-g a.b9-btn-o { white-space: nowrap; } }
