/* Chăn Ga Gối An Nhiên (nem) — trang chủ đợt 10. Tiền tố nn-. */

:root { --c1: #f2574c; --c1d: #d8453a; --ac: #ffd23f; --ink: #1f1f1f; --mu: #6b6b6b; --line: #ece6e0; --bg2: #fbf4ee; --bf: "Be Vietnam Pro", sans-serif; --hf: "Be Vietnam Pro", sans-serif; }
body { background: #fff; }
#top-bar { background: #2f2f2f !important; } #top-bar .nav-left { margin: 0 auto; } .nn-tb { color: #fff; font-size: 13px; font-weight: 500; } .nn-tb a { color: #fff !important; } .nn-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%; }
.nn-sec { padding: 40px 0 !important; }
.nn-hero { padding: 0 !important; min-height: 330px; background-size: cover !important; } .nn-hero .row { min-height: 330px; align-items: center; } .nn-hero .col-inner { padding: 34px 0; }
.nn-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; } .nn-hero .section-content { z-index: 2; position: relative; }
.nn-eb { color: var(--c1); font: 700 13px/1 var(--bf); letter-spacing: .5px; text-transform: uppercase; margin: 0 0 14px; }
.nn-h1 { font: 800 40px/1.18 var(--hf) !important; color: var(--c1) !important; margin: 0 0 18px; } .nn-hs { font-size: 17px; color: var(--mu); margin: 0 0 16px; }
.nn-ck { list-style: none; margin: 0 0 24px; padding: 0; } .nn-ck li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 16px; margin: 0 0 12px; } .nn-ck img { width: 24px; height: 24px; }
a.nn-btn, a.nn-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.nn-btn img { width: 16px; height: 16px; } a.nn-ft-btn { background: var(--ac); color: var(--ink) !important; margin-top: 16px; justify-content: center; }
.nn-uspsec { padding: 0 !important; border-bottom: 1px solid var(--line); } .nn-usp { display: grid; grid-template-columns: repeat(4, 1fr); } .nn-usp > div { display: flex; align-items: center; gap: 14px; padding: 26px 22px; border-right: 1px solid var(--line); } .nn-usp > div:last-child { border: 0; } .nn-usp img { width: 44px; height: 44px; flex: none; } .nn-usp b { display: block; font: 700 15px/1.3 var(--hf); color: var(--c1); } .nn-usp em { display: block; font-style: normal; font-size: 13px; color: var(--mu); }
.nn-hd { display: flex; align-items: center; justify-content: space-between; margin: 0 0 20px; } .nn-hd h2 { font: 800 26px/1.2 var(--hf) !important; color: var(--c1) !important; margin: 0; text-transform: none !important; } .nn-all { display: inline-flex; white-space: nowrap; flex: none; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--c1) !important; } .nn-all img { width: 16px; height: 16px; }
.nn-cats { display: grid; gap: 14px; } .nn-cats4 { grid-template-columns: repeat(4, 1fr); } .nn-cats3 { grid-template-columns: repeat(3, 1fr); } .nn-cats5 { grid-template-columns: repeat(5, 1fr); } .nn-cats6 { grid-template-columns: repeat(6, 1fr); } .nn-cats a { display: block; text-align: center; border-radius: 6px; overflow: hidden; background: var(--c1); } .nn-ci { display: block; aspect-ratio: 1.07 / 1; background: #eef1f5; } .nn-ci img { width: 100%; height: 100%; object-fit: contain; display: block; } .nn-cats b { display: block; padding: 12px 8px; color: #fff; font: 600 14.5px/1.3 var(--bf); }
.nn-prodsec.nn-gray { background: var(--bg2); } .nn-g { --n: 4; --gap: 16px; --pc-bg: #fff; --pc-pad: 12px; --pc-ar: 1 / .9; } .nn-g6 { --n: 6; --gap: 12px; --pc-ar: 1 / .85; } .nn-g3 { --n: 3; } .nn-g5 { --n: 5; } .nn-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; } .nn-g .b9-pc-t { font-size: 14.5px; font-weight: 600; color: var(--ink); text-align: center; } .nn-g .b9-pc-p { font-size: 15px; font-weight: 700; color: #1170e0; margin-bottom: 10px; text-align: center; } .nn-g .b9-pc-ct { font-size: 15px; }
.nn-g .b9-pc-btn { grid-template-columns: 1fr 1fr; gap: 8px; } .nn-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; } .nn-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; } .nn-g6 .b9-pc-btn { display: none; } .nn-g6 .b9-pc-t { font-size: 13px; }
.nn-g.nn-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; } .nn-g .b9-pc { position: relative; }
.nn-band { padding: 0 !important; color: #fff; } .nn-bi { text-align: center; padding: 34px 0; } .nn-bi h2 { font: 800 32px/1.3 var(--hf) !important; color: #fff !important; margin: 0 0 8px; text-transform: none !important; } .nn-bi h2 b { color: var(--ac); } .nn-bi p { margin: 0; font-size: 17px; opacity: .92; }
.nn-gn { --n: 3; --gap: 20px; } .nn-news .b9-po { background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; } .nn-news .b9-po-img img { aspect-ratio: 1.6 / 1; object-fit: cover; width: 100%; } .nn-news .b9-po-tag { color: var(--c1); font-size: 13px; } .nn-news .b9-po-t { font-size: 19px; font-weight: 700; color: var(--ink); } .nn-news .b9-po-e { display: none; } .nn-news .b9-more { color: var(--c1) !important; font-weight: 600; font-size: 14px; }
.nn-ft { background: #333333; color: #dfe8f7; } .nn-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; }
.nn-ft-logo { height: 56px; width: auto; display: block; margin-bottom: 12px; } .nn-ft-brand p { margin: 0; font-size: 14px; line-height: 1.65; opacity: .9; max-width: 300px; } .nn-ft-h { font-weight: 700; font-size: 15px; margin-bottom: 12px; color: #fff; } .nn-ft ul { list-style: none; margin: 0; padding: 0; } .nn-ft li { margin: 0 0 8px; font-size: 14px; } .nn-ft a { color: #dfe8f7 !important; }
.nn-ft-ct li { display: flex; gap: 10px; align-items: flex-start; } .nn-ft-ct img { width: 18px; height: 18px; flex: none; margin-top: 2px; } .nn-ft-soc { display: flex !important; gap: 14px; } .nn-ft-soc a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; } .nn-ft-soc img { width: 30px; height: 30px; }
.nn-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) { .nn-h1 { font-size: 28px !important; } .nn-hero::before { background: rgba(255,255,255,.86); } .nn-usp { grid-template-columns: 1fr 1fr; } .nn-usp > div { padding: 16px 10px; } .nn-cats4, .nn-cats3 { grid-template-columns: 1fr 1fr; } .nn-cats5, .nn-cats6 { grid-template-columns: repeat(3, 1fr); } .nn-g, .nn-g6, .nn-g5 { --n: 2; } .nn-gn { --n: 1; } .nn-bi h2 { font-size: 21px !important; } .nn-ft-in { grid-template-columns: 1fr 1fr; } .nn-ft-brand { grid-column: 1 / -1; } #header #logo a { width: 170px; height: 42px; } }
.nn-tb { display: inline-flex; gap: 42px; align-items: center; } .nn-tb > span { display: inline-flex; gap: 8px; align-items: center; } .nn-tb img { width: 18px; height: 18px; } .nn-tb a { color: #fff !important; font-weight: 600; }
.nn-top { padding: 14px 0 0 !important; } .nn-hg { display: grid; grid-template-columns: 2.1fr 1fr; gap: 6px; } .nn-h1b { position: relative; min-height: 410px; background: #f6e4dc center / cover no-repeat; border-radius: 4px; overflow: hidden; display: flex; align-items: center; } .nn-ht { padding: 0 0 0 28px; max-width: 46%; } .nn-h1 { font: 800 48px/1.12 var(--hf) !important; color: #2b2b2b !important; margin: 0 0 12px; } .nn-ht p { font-size: 17px; color: #3a3a3a; margin: 0 0 22px; } a.nn-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 28px; background: var(--c1); color: #fff !important; font: 700 15px/1 var(--bf); border-radius: 3px; } .nn-dots { position: absolute; left: 26px; bottom: 14px; display: flex; gap: 8px; } .nn-dots i { width: 9px; height: 9px; border-radius: 50%; background: #fff; display: block; } .nn-dots i.on { background: var(--c1); }
.nn-hs { display: grid; grid-template-rows: 1fr 1fr; gap: 6px; } a.nn-sb { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 0 22px; background: #f2ebe3 right center / cover no-repeat; border-radius: 4px; min-height: 200px; color: #2b2b2b !important; } .nn-sb b { font: 700 22px/1.25 var(--hf); margin-bottom: 8px; } .nn-sb span { color: var(--c1); font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; border-bottom: 1px solid var(--c1); width: max-content; } .nn-sb span img { width: 14px; }
.nn-uspsec { background: #fdf4ee; } .nn-usp > div { justify-content: center; } .nn-usp b { font-size: 17px; color: #1f1f1f; } .nn-hd h2 { color: #1f1f1f !important; } .nn-all { color: var(--c1) !important; } .nn-g { --pc-ar: 1 / .88; } .nn-g .b9-pc-t { text-align: left; font-weight: 400; } .nn-g .b9-pc-p { text-align: left; color: #1f1f1f; font-size: 17px; font-weight: 700; } .nn-g .b9-pc-p del { display: none; } .nn-g .b9-pc-p ins { text-decoration: none; } .nn-g a.b9-btn { background: var(--c1) !important; border-color: var(--c1) !important; border-radius: 3px; } .nn-g a.b9-btn-o { color: #1f1f1f !important; border: 1px solid #cfcfcf !important; border-radius: 3px; } .nn-g .b9-pc { border-color: transparent; padding: 0; }
.nn-band { padding: 0 !important; } .nn-fl { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; background: #ffd23f right 28% center / auto 150% no-repeat; } .nn-fl h2 { font: 800 33px/1.2 var(--hf) !important; color: #1f1f1f !important; margin: 0 0 2px; text-transform: none !important; } .nn-fl p { margin: 0; font-size: 20px; color: #1f1f1f; } a.nn-fb { display: inline-flex; gap: 10px; align-items: center; background: #1f1f1f; color: #fff !important; font-weight: 600; padding: 0 34px; min-height: 46px; border-radius: 3px; margin-right: 8%; } a.nn-fb img { width: 16px; }
.nn-news .b9-po-img img { aspect-ratio: 2.2 / 1; } .nn-news .b9-po { border: 0; } .nn-news .b9-po-e { display: block; color: #55606a; } .nn-news .b9-po-t { font-size: 17px; } .nn-news .b9-more { color: var(--c1) !important; } .nn-ft-soc { flex-direction: column; align-items: flex-start; } .nn-ft-soc a { flex-direction: row; font-size: 14px; gap: 12px; }
#header .header-search-form { width: 100%; max-width: 560px; margin: 0 auto; } #header .header-search-form .search-field { height: 44px; background: #f3f3f3; border: 1px solid #e4e4e4; border-radius: 3px 0 0 3px; box-shadow: none; } #header .header-search-form .ux-search-submit { height: 44px; background: #f3f3f3 !important; color: #1f1f1f !important; border: 1px solid #e4e4e4; border-radius: 0 3px 3px 0; }
@media (max-width: 849px) { .nn-hg { grid-template-columns: 1fr; } .nn-ht { max-width: 70%; } .nn-h1 { font-size: 30px !important; } .nn-fl { flex-direction: column; align-items: flex-start; background-image: none !important; } .nn-fl h2 { font-size: 22px !important; } a.nn-fb { margin-right: 0; } }
/* nem canh 10-31: ảnh SP lấp thẻ như mockup, logo to, dải lợi ích nền kem */
.nn-g .b9-pc-img { padding: 0 !important; background: #f2ede7 !important; } .nn-g .b9-pc-img img { width: 100% !important; height: auto !important; aspect-ratio: 1.15 / 1; object-fit: cover; display: block; }
#header #logo a { width: 300px !important; height: 64px !important; }
.nn-uspsec { background: #fdf4ef !important; }
/* ruler:auto BEGIN — tools/astra-bridge/lab/ruler_fix.py, đừng sửa tay */
@media (min-width: 850px) {
  .nn-g h3.b9-pc-t { font-size: 19.5px !important; }
  .nn-gn h3.b9-po-t { font-size: 21.2px !important; }
  .nn-all img { width: 22px !important; height: 22px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .nn-ft-soc img { width: 42px !important; height: 42px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .nn-sb img { width: 20px !important; height: 20px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
  .nn-tb img { width: 24px !important; height: 24px !important; max-width: none !important; flex: 0 0 auto !important; object-fit: contain; }
}
@media (max-width: 849px) {
  .nn-all img { width: 16px !important; height: 16px !important; }
  .nn-ft-soc img { width: 30px !important; height: 30px !important; }
  .nn-sb img { width: 14px !important; height: 14px !important; }
  .nn-tb img { width: 18px !important; height: 18px !important; }
}
/* ruler:auto END */
/* ruler:manual */
@media (min-width: 850px) { .nn-g h3.b9-pc-t { font-size: 17px !important; } .nn-hd h2 { font-size: 34px !important; } .nn-fl h2 { font-size: 40px !important; } }
