/* Storefront header and footer shared by every page, plus the home page sections, product cards and phone menu.
   Everything is scoped to .nh so page content and the shared modals keep their own styles. */

.nh {
	--o: #F5881E;
	--od: #D96C06;
	--ink: #1D1814;
	--ink2: #3A322B;
	--mut: #7A6E64;
	--cream: #FFF7EE;
	--sand: #F6E9D9;
	--line: #EEE3D6;
	--red: #E0301E;
	--teal: #E3F2EE;
	--tealD: #1E6B5C;
	font-family: 'Bricolage Grotesque', Helvetica, Arial, sans-serif;
	color: var(--ink);
	font-size: 16px;
	line-height: 1.45;
	-webkit-font-smoothing: antialiased;
}
.nh *, .nh *::before, .nh *::after {
	font-family: inherit;
	color: inherit;
	font-size: inherit;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
.nh .fa { font-family: FontAwesome !important; }
.nh a, .nh a:hover, .nh a:focus { text-decoration: none; }
.nh img { display: block; max-width: 100%; }
.nh button { border: 0; background: none; cursor: pointer; }
.nh ul { list-style: none; }
.nh-wrap { max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.nh-main { background: #fff; padding-bottom: 8px; }
.nh .nh-eye { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--od); }
.nh h2 { font-size: 34px; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; margin-top: 6px; }
.nh .nh-sec { margin-top: 72px; margin-bottom: 72px; }
.nh .nh-sh { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.nh .nh-sh > div:first-child { min-width: 0; }
.nh .nh-sh p { color: var(--mut); margin-top: 8px; }
.nh .nh-sh-r { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.nh .nh-more { font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--o); padding-bottom: 2px; white-space: nowrap; }
.nh .nh-more:hover { color: var(--od); }
.nh .nh-arr { display: flex; gap: 8px; }
.nh .nh-arr button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); font-size: 20px; background: #fff; transition: .2s; }
.nh .nh-arr button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.nh .nh-btn { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; transition: .2s; }
.nh .nh-btn:hover { background: var(--o); color: #fff; }

/* Top bar and header */
.nh-top { background: var(--ink); color: #F6E9D9; font-size: 13px; }
.nh-top .nh-wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 16px; }
.nh-top .nh-top-msg { display: flex; gap: 28px; }
.nh-top .nh-top-msg > * { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.nh-top .fa { color: var(--o); }
.nh-top a:hover { color: var(--o); }
.nh-hd { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nh-hd .nh-wrap { display: flex; align-items: center; gap: 24px; height: 78px; }
.nh .nh-logo img { height: 40px; width: auto; }
.nh .nh-srch { flex: 1; display: flex; align-items: center; gap: 10px; height: 52px; border-radius: 999px; background: var(--cream); border: 1.5px solid transparent; padding: 0 8px 0 20px; transition: .2s; color: #A1958B; }
.nh .nh-srch:focus-within { border-color: var(--o); background: #fff; box-shadow: 0 0 0 5px rgba(245, 136, 30, .15); }
.nh .nh-srch input { flex: 1; border: 0; background: transparent; outline: 0; font-size: 15px; min-width: 0; height: 40px; color: var(--ink); box-shadow: none; }
.nh .nh-srch .nh-go { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; }
.nh .nh-srch .nh-go:hover { background: var(--o); }
.nh .nh-acts { display: flex; align-items: center; gap: 6px; }
.nh .nh-ic { position: relative; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 999px; font-weight: 500; font-size: 15px; color: var(--ink); white-space: nowrap; }
.nh .nh-ic:hover { background: var(--cream); color: var(--ink); }
.nh .nh-ic .fa { font-size: 20px; }
.nh .nh-ic span { max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
.nh .badge.nh-badge { position: absolute; top: 4px; left: 28px; min-width: 18px; height: 18px; line-height: 18px; border-radius: 9px; background: var(--o); color: #fff; font-size: 11px; font-weight: 700; padding: 0 5px; text-align: center; }
.nh .nh-lang { position: relative; }
.nh .nh-lang-b { display: flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); font-weight: 600; font-size: 14px; background: #fff; }
.nh .nh-lang-b:hover, .nh .nh-lang.open .nh-lang-b { border-color: var(--ink); }
.nh .nh-lang img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.nh .nh-lang-b .fa { font-size: 14px; color: var(--mut); transition: transform .2s; }
.nh .nh-lang.open .nh-lang-b .fa { transform: rotate(180deg); }
.nh .nh-lang-m { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 6px; box-shadow: 0 18px 40px -16px rgba(40, 20, 0, .35); display: none; z-index: 1040; }
.nh .nh-lang.open .nh-lang-m { display: block; }
.nh .nh-lang-m a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; font-weight: 500; font-size: 15px; }
.nh .nh-lang-m a:hover { background: var(--cream); }
.nh .nh-lang-m a.on { font-weight: 700; }
.nh .nh-lang-m .fa { margin-left: auto; color: var(--od); }
.nh .nh-burger { display: none; }

/* Desktop categories with their subcategory panels */
.nh-nav { position: relative; z-index: 1020; background: #fff; border-bottom: 1px solid var(--line); }
.nh-nav .nh-nav-l { display: flex; gap: 4px; align-items: center; height: 52px; }
.nh-nav .nh-nav-it > a { display: block; padding: 8px 14px; border-radius: 999px; font-weight: 500; white-space: nowrap; color: var(--ink2); }
.nh-nav .nh-nav-it:hover > a, .nh-nav .nh-nav-it:focus-within > a { background: var(--cream); color: var(--ink); }
.nh-nav .nh-nav-it > a.nh-hot { background: var(--o); color: #fff; font-weight: 600; }
.nh-nav .nh-nav-it:last-child { margin-left: auto; }
.nh-nav .nh-mega { position: absolute; left: 0; right: 0; top: 100%; padding-top: 1px; visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s; }
.nh-nav .nh-nav-it:hover .nh-mega, .nh-nav .nh-nav-it:focus-within .nh-mega { visibility: visible; opacity: 1; transition-delay: .12s; }
.nh-nav .nh-mega-in { max-width: 1320px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 24px 24px; box-shadow: 0 30px 50px -30px rgba(40, 20, 0, .35); padding: 28px 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px 32px; max-height: 70vh; overflow-y: auto; }
.nh-nav .nh-mega-in:not(:has(.nh-mega-g)) { display: none; }
.nh-nav .nh-mega-g p { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--od); margin-bottom: 10px; }
.nh-nav .nh-mega-g ul { columns: 1; column-gap: 32px; }
.nh-nav .nh-mega-g:has(li:nth-child(10)) { grid-column: span 2; }
.nh-nav .nh-mega-g:has(li:nth-child(10)) ul { columns: 2; }
.nh-nav .nh-mega-g:has(li:nth-child(19)) { grid-column: span 3; }
.nh-nav .nh-mega-g:has(li:nth-child(19)) ul { columns: 3; }
.nh-nav .nh-mega-g li { break-inside: avoid; }
.nh-nav .nh-mega-g li a { display: block; padding: 5px 0; color: var(--ink2); }
.nh-nav .nh-mega-g li a:hover { color: var(--od); }
.nh-nav .nh-mega-all { grid-column: 1 / -1; font-weight: 600; color: var(--od); }

/* Hero: banners, AI search and savings */
.nh .nh-hero { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr); gap: 20px; margin-top: 24px; }
.nh .nh-car { position: relative; border-radius: 28px; overflow: hidden; background: var(--sand); }
.nh .nh-car-hero { aspect-ratio: 1100 / 570; }
.nh .nh-car > a { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s; }
.nh .nh-car > a.on { opacity: 1; visibility: visible; }
.nh .nh-car picture { display: block; width: 100%; height: 100%; }
.nh .nh-car img { width: 100%; height: 100%; object-fit: cover; }
.nh .nh-car-wide { aspect-ratio: 1320 / 400; }
.nh .nh-banners { display: grid; gap: 20px; }
.nh .nh-dots { position: absolute; left: 24px; bottom: 20px; display: flex; gap: 8px; z-index: 2; }
.nh .nh-dots button { width: 9px; height: 9px; border-radius: 9px; background: rgba(255, 255, 255, .6); transition: .3s; box-shadow: 0 1px 4px rgba(0, 0, 0, .2); }
.nh .nh-dots button.on { width: 30px; background: #fff; }
.nh .nh-hs { display: grid; grid-template-rows: 1fr auto; gap: 20px; }
.nh .nh-aic { border-radius: 28px; background: var(--ink); color: #fff; padding: 24px 26px; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.nh .nh-aic::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 136, 30, .55), transparent 70%); pointer-events: none; }
.nh .nh-tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--o); }
.nh .nh-aic .nh-aic-h { font-size: 26px; line-height: 1.12; font-weight: 700; margin: 10px 0 6px; color: #fff; }
.nh .nh-aic p { color: #CFC4B8; font-size: 14px; }
.nh .nh-aiw { position: relative; z-index: 1; }
.nh .nh-aif { display: flex; align-items: center; gap: 6px; margin-top: 14px; background: #fff; border-radius: 999px; padding: 5px 5px 5px 18px; }
.nh .nh-aif input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; height: 40px; box-shadow: none; }
.nh .nh-aif input::placeholder { color: #9A8F85; }
.nh .nh-aif button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-size: 16px; flex: 0 0 auto; }
.nh .nh-aif .nh-mic { color: var(--ink); background: var(--cream); }
.nh .nh-aif .nh-mic[hidden] { display: none; }
.nh .nh-aif .nh-mic.on { background: var(--red); color: #fff; animation: nh-pulse 1.2s ease-in-out infinite; }
.nh .nh-aif .nh-send { background: var(--o); color: #fff; }
.nh .nh-aif .nh-send:hover { background: var(--od); }
@keyframes nh-pulse { 50% { box-shadow: 0 0 0 8px rgba(224, 48, 30, .25); } }
.nh .nh-hint { font-size: 13px; color: var(--o); margin-top: 6px; }
.nh .nh-hint:empty { display: none; }
.nh .nh-qs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.nh .nh-qs span { font-size: 13px; color: #CFC4B8; margin-right: 2px; }
.nh .nh-qs a { font-size: 13px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14); color: #fff; }
.nh .nh-qs a:hover { background: var(--o); border-color: var(--o); }
.nh .nh-sav { border-radius: 28px; background: var(--o); color: #fff; padding: 18px 24px; display: flex; align-items: flex-end; gap: 16px; transition: transform .25s; }
.nh .nh-sav:hover { transform: translateY(-3px); color: #fff; }
.nh .nh-sav b { font-size: 46px; line-height: .9; font-weight: 800; letter-spacing: -.04em; }
.nh .nh-sav h3 { font-size: 22px; font-weight: 700; line-height: 1.15; }
.nh .nh-sav span { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.nh .nh-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.nh .nh-trust > div { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 18px; background: var(--cream); }
.nh .nh-trust .fa { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--od); display: grid; place-items: center; font-size: 18px; flex: 0 0 auto; }
.nh .nh-trust b { display: block; font-weight: 600; }
.nh .nh-trust small { font-size: 13px; color: var(--mut); }

/* Categories and chips */
.nh .nh-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.nh .nh-cats a { border-radius: 22px; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.nh .nh-cats a:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(60, 30, 0, .45); }
.nh .nh-chips { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.nh .nh-chips > span { font-weight: 600; margin-right: 4px; white-space: nowrap; }
.nh .nh-chips-in { margin: -6px 0 22px; }
.nh .nh-chip { padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; background: #fff; transition: .2s; white-space: nowrap; }
.nh .nh-chip:hover { border-color: var(--ink); background: var(--ink); color: #fff; }

/* Product rows and cards */
.nh .nh-rail { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.nh .nh-rail::-webkit-scrollbar { display: none; }
.nh .nh-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.nh .nh-pc { flex: 0 0 212px; scroll-snap-align: start; display: flex; flex-direction: column; min-width: 0; }
.nh .nh-pc-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; }
.nh .nh-band .nh-pc-img { border-color: transparent; }
.nh .nh-pc-img > img:not(.nh-pc-icon) { position: absolute; top: 16px; left: 16px; width: calc(100% - 32px); height: calc(100% - 32px); max-width: none; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s; }
.nh .nh-pc:hover .nh-pc-img > img:not(.nh-pc-icon) { transform: translateY(-6px) scale(1.03); }
.nh .nh-pc-icon { position: absolute; top: 8px; right: 8px; max-width: 42%; max-height: 22%; width: auto; height: auto; z-index: 2; }
.nh .nh-pc-h { font-size: 15px; font-weight: 500; line-height: 1.35; margin: 12px 2px 8px; }
.nh .nh-pc-t { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; color: var(--ink); }
.nh .nh-pc-t:hover { color: var(--od); }
.nh .nh-pc-b { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: auto 2px 0; }
.nh .nh-pc-p { min-width: 0; }
.nh .nh-pc-p b { display: block; font-size: 18px; font-weight: 700; color: var(--red); letter-spacing: -.01em; white-space: nowrap; }
.nh .nh-pc-was { display: flex; align-items: center; gap: 6px; margin-top: 2px; flex-wrap: wrap; }
.nh .nh-pc-was s { font-size: 13px; color: #A1958B; }
.nh .nh-pc-off { font-style: normal; background: #FDE7E3; color: var(--red); font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px; }
.nh .nh-pc-b .cd-customization { flex: 0 0 auto; width: auto; padding: 0; }
.nh .nh-pc-b .cd-customization > * { float: none; }
.nh .cd-customization .add-to-cart.nh-pc-add { position: relative; width: 42px; height: 42px; line-height: 42px; border-radius: 50% !important; background: var(--ink); color: #fff; font-size: 16px; padding: 0; overflow: hidden; transition: background .2s, transform .2s; }
.nh .cd-customization .add-to-cart.nh-pc-add:hover { background: var(--o); transform: scale(1.06); }
.nh .cd-customization .add-to-cart.nh-pc-add svg { position: absolute; left: 50%; top: 50%; width: 22px; transform: translate(-50%, -50%); opacity: 0; transition: none; }
.nh .cd-customization .add-to-cart.nh-pc-add.is-added { background: #2E8B57; }
.nh .cd-customization .add-to-cart.nh-pc-add.is-added .fa { opacity: 0; }
.nh .cd-customization .add-to-cart.nh-pc-add.is-added svg { opacity: 1; transform: translate(-50%, -50%); }
.nh .nh-pc-notify { font-size: 12px; font-weight: 600; color: var(--od); text-align: right; line-height: 1.2; max-width: 90px; }
.nh .nh-pc-rank { flex-basis: 248px; }
.nh .nh-pc-rank .nh-pc-img { border: 0; background: transparent; overflow: visible; }
.nh .nh-pc-rank .nh-pc-img > img:not(.nh-pc-icon) { top: 10px; left: 70px; width: calc(100% - 70px); height: calc(100% - 10px); object-position: center bottom; mix-blend-mode: normal; }
.nh .nh-pc-num { position: absolute; left: -4px; bottom: -14px; font-size: 168px; line-height: 1; font-weight: 800; letter-spacing: -.07em; color: #fff; -webkit-text-stroke: 3px var(--o); z-index: 0; }
.nh .nh-pc-rank .nh-pc-img > img { z-index: 1; }
.nh .nh-band { border-radius: 36px; padding: 44px 40px; }
.nh .nh-band-o { background: linear-gradient(135deg, #FFE2C2, #FFF2E3); }
.nh .nh-band-t { background: var(--teal); }
.nh .nh-band-t .nh-eye { color: var(--tealD); }

/* Featured book */
.nh .nh-feat { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; background: var(--sand); border-radius: 36px; overflow: hidden; border: 1px solid var(--line); }
.nh .nh-feat.nh-flip .nh-feat-img { order: 2; }
.nh .nh-feat-img { background: #fff; display: grid; place-items: center; padding: 36px; }
.nh .nh-feat-img img { width: auto; max-height: 420px; margin: 0 auto; object-fit: contain; }
.nh .nh-feat-c { padding: 48px 56px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.nh .nh-feat h3 { font-size: 38px; line-height: 1.08; font-weight: 700; letter-spacing: -.02em; margin: 10px 0 16px; }
.nh .nh-feat p { color: var(--ink2); font-size: 17px; margin-bottom: 26px; }

/* Reviews, blog, publishers, fanpage */
.nh .nh-fbs { gap: 20px; }
.nh .nh-fb { flex: 0 0 380px; scroll-snap-align: start; border-radius: 24px; background: var(--cream); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.nh .nh-fb .nh-q { font-size: 56px; line-height: .6; color: var(--o); font-weight: 800; height: 24px; }
.nh .nh-fb blockquote { font-size: 16px; line-height: 1.55; border: 0; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.nh .nh-fb figcaption { display: flex; align-items: center; gap: 10px; margin-top: auto; font-weight: 600; }
.nh .nh-fb .nh-av { width: 38px; height: 38px; border-radius: 50%; background: var(--o); color: #fff; display: grid; place-items: center; font-weight: 700; text-transform: uppercase; }
.nh .nh-mag { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.nh .nh-mag-big img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 24px; }
.nh .nh-mag-big h3 { font-size: 28px; line-height: 1.15; font-weight: 700; margin: 18px 0 8px; }
.nh .nh-mag p { color: var(--mut); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nh .nh-mag-l { display: flex; flex-direction: column; gap: 20px; }
.nh .nh-mag-s { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.nh .nh-mag-s img { width: 150px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.nh .nh-mag-s h4 { font-size: 18px; line-height: 1.25; font-weight: 600; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nh .nh-mag-s p { -webkit-line-clamp: 2; }
.nh .nh-mag a:hover h3, .nh .nh-mag a:hover h4 { color: var(--od); }
.nh .nh-pubs { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.nh .nh-pubs-t { display: flex; gap: 56px; width: max-content; animation: nh-marquee 60s linear infinite; align-items: center; }
.nh .nh-pubs:hover .nh-pubs-t { animation-play-state: paused; }
.nh .nh-pubs img { height: 64px; width: auto; filter: grayscale(1); opacity: .65; transition: .3s; }
.nh .nh-pubs a:hover img { filter: none; opacity: 1; }
@keyframes nh-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nh .nh-pubs-t { animation: none; flex-wrap: wrap; width: auto; } }
.nh .nh-fbp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.nh .nh-fbp-c { display: flex; flex-direction: column; border-radius: 22px; border: 1px solid var(--line); overflow: hidden; background: #fff; transition: transform .25s, box-shadow .25s; }
.nh .nh-fbp-c:hover { transform: translateY(-4px); box-shadow: 0 18px 30px -18px rgba(60, 30, 0, .4); }
.nh .nh-fbp-img { position: relative; aspect-ratio: 1 / 1; background: var(--sand); overflow: hidden; }
.nh .nh-fbp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nh .nh-fbp-img.nh-noimg img { display: none; }
.nh .nh-fbp-ic { position: absolute; left: 12px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: #1877F2; color: #fff; display: grid; place-items: center; font-size: 15px; }
.nh .nh-fbp-b { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nh .nh-fbp-b time { font-size: 13px; color: var(--mut); }
.nh .nh-fbp-b p { font-size: 15px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.nh .nh-fbp-more { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--od); }

/* Footer and phone tab bar */
.nh-ft { background: #15110E; color: #CFC4B8; margin-top: 72px; padding: 64px 0 28px; font-size: 15px; }
.nh-ft .nh-ft-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.nh-ft .nh-ft-h { color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0; margin: 0 0 16px; }
.nh-ft li { margin: 10px 0; }
.nh-ft a:hover { color: var(--o); }
.nh-ft .nh-ft-logo { height: 42px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.nh-ft .nh-soc { display: flex; gap: 10px; margin-top: 18px; }
.nh-ft .nh-soc a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; font-size: 17px; color: #fff; }
.nh-ft .nh-soc a:hover { background: var(--o); color: #fff; }
.nh-ft .nh-soc .nh-zalo { font-weight: 800; font-size: 12px; }
.nh-ft .nh-badges { display: flex; gap: 12px; align-items: center; margin-top: 14px; flex-wrap: wrap; }
.nh-ft .nh-badges img { height: 44px; width: auto; }
.nh-ft .nh-badges .dmca-badge img { height: 24px; }
.nh-ft .nh-legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; font-size: 13px; align-items: center; flex-wrap: wrap; }
.nh-ft .nh-pay { display: flex; gap: 8px; align-items: center; }
.nh-ft .nh-pay img { height: 30px; width: auto; border-radius: 6px; background: #fff; padding: 3px 6px; }
.nh-tabs, .nh-mm, .nh-mm-bg { display: none; }

/* Below 1200px the hero banner takes the full width; the AI card and savings sit side by side under it */
@media (min-width: 821px) and (max-width: 1199px) {
	.nh .nh-hero { grid-template-columns: 1fr; }
	.nh .nh-hs { grid-template-rows: none; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
	.nh .nh-sav { flex-direction: column; align-items: flex-start; justify-content: space-between; }
}

/* Category filters on phones: a panel sliding in from the right (the page script fills .filter-mobile) */
.nh .nh-filter-b { display: none; }
.nh-side { position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); background: #fff; z-index: 1060; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 24px; box-shadow: -20px 0 40px -20px rgba(30, 15, 0, .35); font-family: 'Bricolage Grotesque', Helvetica, Arial, sans-serif; }
.nh-side-h { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 14px 0; margin-bottom: 12px; background: #fff; border-bottom: 1px solid #EEE3D6; font-size: 18px; font-weight: 700; }
.nh-side-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #FFF7EE; font-size: 18px; }
.nh-side-bg { position: fixed; inset: 0; z-index: 1059; background: rgba(29, 24, 20, .45); opacity: 0; pointer-events: none; transition: opacity .2s; }
html.nh-side-open { overflow: hidden; }
html.nh-side-open .nh-side { transform: none; visibility: visible; }
html.nh-side-open .nh-side-bg { opacity: 1; pointer-events: auto; }

/* The header and the tab bar show the cart, so the old floating cart button is not needed */
.dynamic-show-cart-btn { display: none !important; }

@media (max-width: 1100px) {
	.nh .nh-cats, .nh .nh-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.nh .nh-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nh .nh-fbp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nh-nav .nh-nav-it > a { padding: 8px 10px; }
}

/* Phones and small tablets: compact header, dropdown menu, swipe rows and a tab bar */
@media (max-width: 820px) {
	.nh-wrap { padding: 0 16px; }
	.nh .nh-sec { margin-top: 48px; margin-bottom: 48px; }
	.nh h2 { font-size: 26px; }
	.nh-top .nh-top-msg > :not(:first-child), .nh-top .nh-top-r { display: none; }
	.nh-top .nh-wrap { justify-content: center; }
	.nh-hd .nh-wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 12px; gap: 10px 8px; }
	.nh .nh-burger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; margin-left: -8px; border-radius: 12px; padding: 0 10px; }
	.nh .nh-burger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .25s, opacity .2s; }
	html.nh-mm-open .nh .nh-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	html.nh-mm-open .nh .nh-burger span:nth-child(2) { opacity: 0; }
	html.nh-mm-open .nh .nh-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.nh .nh-logo img { height: 32px; }
	.nh .nh-acts { margin-left: auto; }
	.nh .nh-ic span { display: none; }
	.nh .nh-ic { padding: 0 10px; }
	.nh .nh-lang-b { height: 38px; padding: 0 9px; gap: 5px; }
	.nh .nh-lang-b .fa { display: none; }
	.nh .nh-srch { order: 3; flex-basis: 100%; height: 48px; }
	.nh .nh-srch .nh-go span { display: none; }
	.nh-nav { display: none; }
	.nh-mm { display: block; position: fixed; left: 0; right: 0; top: var(--nh-mm-top, 120px); bottom: 0; z-index: 1025; pointer-events: none; }
	.nh-mm .nh-mm-in { background: #fff; max-height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px 96px; border-radius: 0 0 24px 24px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .25s, opacity .2s, visibility .2s; box-shadow: 0 20px 40px -20px rgba(30, 15, 0, .35); }
	html.nh-mm-open .nh-mm { pointer-events: auto; }
	html.nh-mm-open .nh-mm .nh-mm-in { transform: none; opacity: 1; visibility: visible; }
	.nh-mm-bg { display: block; position: fixed; inset: 0; z-index: 1024; background: rgba(29, 24, 20, .45); opacity: 0; pointer-events: none; transition: opacity .2s; }
	html.nh-mm-open .nh-mm-bg { opacity: 1; pointer-events: auto; }
	html.nh-mm-open { overflow: hidden; }
	.nh-mm .nh-mm-h { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--od); padding: 10px 0 4px; }
	.nh-mm .nh-mm-it { border-bottom: 1px solid var(--line); }
	.nh-mm .nh-mm-row { display: flex; align-items: center; min-height: 54px; }
	.nh-mm .nh-mm-row > a { flex: 1; font-size: 17px; font-weight: 600; padding: 14px 0; }
	.nh-mm .nh-mm-tg { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--mut); }
	.nh-mm .nh-mm-tg .fa { transition: transform .25s; }
	.nh-mm .nh-mm-it.open .nh-mm-tg .fa { transform: rotate(180deg); }
	.nh-mm .nh-mm-it.open .nh-mm-tg { background: var(--cream); color: var(--ink); }
	.nh-mm .nh-mm-sub { display: none; padding: 0 0 16px; }
	.nh-mm .nh-mm-it.open .nh-mm-sub { display: block; }
	.nh-mm .nh-mm-g p { font-size: 13px; font-weight: 600; color: var(--mut); margin: 10px 0 8px; }
	.nh-mm .nh-mm-ls { display: flex; flex-wrap: wrap; gap: 8px; }
	.nh-mm .nh-mm-ls a { padding: 8px 13px; border-radius: 999px; background: var(--cream); font-size: 14px; }
	.nh-mm .nh-mm-all { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; color: var(--od); }
	.nh-mm .nh-mm-ft { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
	.nh-mm .nh-mm-ft a { display: flex; align-items: center; gap: 12px; padding: 12px 4px; font-weight: 500; }
	.nh-mm .nh-mm-ft .fa { width: 34px; height: 34px; border-radius: 50%; background: var(--cream); color: var(--od); display: grid; place-items: center; }

	.nh .nh-hero { grid-template-columns: 1fr; margin-top: 14px; }
	.nh .nh-car { border-radius: 20px; }
	.nh .nh-car-wide { aspect-ratio: 16 / 9; }
	.nh .nh-hs { grid-template-rows: none; }
	.nh .nh-aic, .nh .nh-sav { border-radius: 20px; padding: 22px; }
	.nh .nh-aic .nh-aic-h { font-size: 22px; }
	.nh .nh-sav { align-items: center; gap: 14px; }
	.nh .nh-sav b { font-size: 44px; }
	.nh .nh-trust { gap: 10px; }
	.nh .nh-trust > div { padding: 10px 12px; gap: 10px; }
	.nh .nh-trust .fa { width: 34px; height: 34px; font-size: 15px; }
	.nh .nh-trust b { font-size: 14px; line-height: 1.25; }
	.nh .nh-trust small { display: none; }
	.nh .nh-cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 12px; }
	.nh .nh-cats a { flex: 0 0 42%; scroll-snap-align: start; border-radius: 16px; }
	.nh .nh-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
	.nh .nh-arr { display: none; }
	.nh .nh-sh { align-items: flex-start; }
	.nh .nh-pc { flex-basis: 46%; }
	.nh .nh-pc-rank { flex-basis: 62%; }
	.nh .nh-pc-num { font-size: 120px; }
	.nh .nh-pc-rank .nh-pc-img { aspect-ratio: 1 / 1; }
	.nh .nh-pc-rank .nh-pc-img > img:not(.nh-pc-icon) { left: 52px; width: calc(100% - 52px); }
	.nh .nh-band { border-radius: 24px; padding: 28px 16px; margin-left: -4px; margin-right: -4px; }
	.nh .nh-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
	.nh .nh-grid .nh-pc:nth-child(n+7) { display: none; }
	.nh .nh-feat { grid-template-columns: 1fr; border-radius: 24px; }
	.nh .nh-feat.nh-flip .nh-feat-img { order: 0; }
	.nh .nh-feat-img { padding: 20px; }
	.nh .nh-feat-img img { max-height: 300px; }
	.nh .nh-feat-c { padding: 24px 20px 28px; }
	.nh .nh-feat h3 { font-size: 26px; }
	.nh .nh-fb { flex-basis: 85%; }
	.nh .nh-mag { grid-template-columns: 1fr; }
	.nh .nh-mag-s { grid-template-columns: 110px 1fr; }
	.nh .nh-mag-s img { width: 110px; }
	.nh .nh-fbp { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 14px; }
	.nh .nh-fbp-c { flex: 0 0 78%; scroll-snap-align: start; }
	.nh-ft { padding-bottom: 96px; }
	.nh-ft .nh-ft-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
	.nh-ft .nh-ft-cols > div:first-child { grid-column: 1 / -1; }
	.nh-tabs { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1026; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 8px 0 calc(8px + env(safe-area-inset-bottom)); }
	.nh-tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--mut); position: relative; }
	.nh-tabs .fa { font-size: 20px; }
	.nh-tabs a.on { color: var(--od); }
	.nh-tabs .badge.nh-badge { left: 50%; top: -4px; }
	.fb_dialog { bottom: 80px !important; }
	.nh .nh-filter-b { display: flex; }
	/* Product pages keep their own "Add to cart" bar at the bottom instead of the tab bar */
	body:has(.priceWrapper fieldset:not([style*="none"])) .nh-tabs { display: none; }
}
