/*
 * Site chrome from the approved home page mockup (inc/site-chrome.php): promise bar, brand-gradient
 * header with a large search box, quick keywords and round action icons, white menu bar with
 * "All categories" and "Flash sale", search bar on phones, pink footer, and the contact buttons as
 * coloured circles. Flatsome's options are unchanged; these rules restyle its markup.
 */

:root {
	--ntv-pink: #e5457b;
	--ntv-pink-dark: #c42e63;
	--ntv-pink-light: #fff0f5;
	--ntv-gradient: linear-gradient(90deg, #e5457b 0%, #f06a95 60%, #f38aa9 100%);
}

/* Font from the mockup (loaded in inc/site-chrome.php); Flatsome's font settings print theirs
   with high specificity, hence !important. */
body,
h1, h2, h3, h4, h5, h6, .heading-font, .alt-font,
.nav > li > a, .nav-dropdown, button, .button, input, select, textarea {
	font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

/* Flatsome's own top bar holds no element on this site; on phones it showed as an empty strip. */
#header #top-bar { display: none !important; }

/* ---- Step 1: promise bar above the header (desktop; phones have little height to spare). ---- */
.ntv-topbar { background: var(--ntv-pink-dark); color: #ffe3ec; font-size: 12.5px; }
.ntv-topbar .container { display: flex; justify-content: space-between; gap: 20px; padding-top: 6px; padding-bottom: 6px; }
@media (max-width: 849px) {
	.ntv-topbar { display: none; }
}

/* ---- Step 2: main header. ---- */
#header .header-main { background: var(--ntv-gradient) !important; }
#header .header-main .header-inner { min-height: 92px; }
#header .header-main #logo a { display: inline-flex; align-items: center; background: #fff; border-radius: 12px; padding: 6px 12px; }
#header .header-main #logo img { max-height: 58px; width: auto; }
#header .header-main .flex-left.flex-grow > .nav { width: 100%; }
#header .header-main .html_topbar_right { flex: 1; width: 100%; max-width: 600px; margin: 0 24px; }
#header .header-main .flex-right { flex-shrink: 0; }
/* Space between the search box and the hotline icon: the search element's own side margin is
   reset by Flatsome, so the hotline circle touched the box (owner's report of 2026-11-24). */
@media (min-width: 850px) {
	#header .header-main .flex-right { margin-left: 24px; }
}
@media (min-width: 850px) and (max-width: 1239px) {
	#header .header-main .flex-right { margin-left: 16px; }
}

/* Search box: white, rounded, filled button; quick keywords under it. */
.ntv-header-search,
.ntv-mobile-search .container { width: 100%; }
.ntv-header-search .searchform,
.ntv-mobile-search .searchform { background: #fff; border-radius: 10px; padding: 4px; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.ntv-header-search .searchform .flex-row,
.ntv-mobile-search .searchform .flex-row { align-items: center; }
.ntv-header-search .search-field,
.ntv-mobile-search .search-field {
	height: 40px;
	border: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	font-size: 15px;
	padding-left: 12px;
	color: #222;
}
/* Flatsome's flat form forces a transparent button (.form-flat button.button, !important). */
.ntv-header-search .form-flat .searchform button.ux-search-submit,
.ntv-mobile-search .form-flat .searchform button.ux-search-submit {
	height: 40px;
	min-width: 56px;
	border-radius: 8px !important;
	background: var(--ntv-pink-dark) !important;
	color: #fff !important;
	margin: 0;
}
.ntv-keywords { display: flex; gap: 14px; margin-top: 6px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.ntv-keywords::-webkit-scrollbar { display: none; }
.ntv-keywords a { color: #fff; font-size: 12.5px; opacity: .95; text-transform: none; font-weight: 400; }
.ntv-keywords a:hover { opacity: 1; text-decoration: underline; }
.ntv-keywords__label { color: #fff; font-size: 12.5px; opacity: .75; }

/* Header actions: round translucent icons with two-line labels; yellow cart badge. */
.ntv-hact { display: flex; align-items: center; gap: 18px; }
.ntv-hact__item { display: flex; align-items: center; gap: 8px; color: #fff !important; text-transform: none; line-height: 1.2; }
.ntv-hact__item:hover { opacity: .9; }
.ntv-hact__icon { position: relative; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; flex-shrink: 0; }
.ntv-hact__badge { position: absolute; top: -4px; right: -6px; min-width: 18px; height: 18px; border-radius: 99px; background: #ffd400; color: #222; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; padding: 0 5px; }
.ntv-hact__badge.is-empty { display: none; }
.ntv-hact__text { display: flex; flex-direction: column; }
.ntv-hact__text small { font-size: 11.5px; opacity: .88; font-weight: 400; white-space: nowrap; }
.ntv-hact__text b { font-size: 14px; font-weight: 700; white-space: nowrap; }
.ntv-hact__text b .amount { color: #fff; }
#header .header-main .html_top_right_text { padding: 0; }

/* ---- Step 3: menu bar: white, left-aligned, "All categories" pill and red "Flash sale". ---- */
#header .header-bottom { background: #fff !important; border-bottom: 1px solid #ececf0; }
/* Flatsome's header divider (a 1 px line at the bottom of the main header row) fell across the
   top of the menu bar, through the "All categories" button (owner's report of 2026-11-24). */
#header .header-main .top-divider { display: none; }
#header .header-bottom .flex-row { justify-content: flex-start; }
#header .header-bottom .flex-col.flex-left { flex: 1 1 auto !important; width: 100%; max-width: none; }
#header .header-bottom .header-bottom-nav { width: 100%; flex-wrap: nowrap; }
#header .header-bottom .header-bottom-nav > li { margin: 0 7px; }
#header .header-bottom .header-bottom-nav > li:first-child { margin-left: 0; }
#header .header-bottom .header-bottom-nav > li > a { display: inline-flex; align-items: center; gap: 2px; color: #222 !important; font-weight: 500; text-transform: none; font-size: 14px; white-space: nowrap; }
/* The mockup's menu has no dropdown arrows (the dropdowns still open on hover). */
#header .header-bottom .header-bottom-nav > li > a > i.icon-angle-down { display: none; }
#header .header-bottom .header-bottom-nav > li > a:hover,
#header .header-bottom .header-bottom-nav > li.active > a { color: var(--ntv-pink) !important; }
#header .header-bottom .header-bottom-nav > li > a::before { background: var(--ntv-pink) !important; }
.ntv-nav-extras { display: flex; align-items: center; gap: 6px; margin-right: 8px; }
.ntv-allcat { background: var(--ntv-pink-light); color: var(--ntv-pink-dark) !important; font-weight: 700; border-radius: 8px; padding: 7px 14px; white-space: nowrap; font-size: 14px; }
.ntv-flashlink { color: #ee2b3b !important; font-weight: 700; padding: 7px 10px; white-space: nowrap; font-size: 14.5px; }

/* Category panel under "All categories" (inc/site-chrome.php, assets/js/site.js): top-level
   categories on the left, the hovered one's sub-categories in columns on the right. */
.ntv-allcat-wrap { position: relative; }
.ntv-allcat-wrap.is-open .ntv-allcat { background: var(--ntv-pink); color: #fff !important; }
.ntv-catpanel {
	position: absolute;
	top: calc(100% + 7px);
	left: 0;
	z-index: 1000;
	display: grid;
	grid-template-columns: 230px 1fr;
	width: min(980px, calc(100vw - 40px));
	height: min(520px, calc(100vh - 170px)); /* one height for every pane, so the panel does not jump */
	background: #fff;
	border: 1px solid #ececf0;
	border-radius: 0 0 12px 12px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .14);
	overflow: hidden;
	text-transform: none;
	letter-spacing: 0;
	text-align: left;
	white-space: normal;
}
.ntv-catpanel[hidden] { display: none; }
/* An invisible strip over the 7 px gap, so the mouse can move from the button to the panel. */
.ntv-catpanel::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.ntv-catpanel__side,
.ntv-catpanel__main { min-height: 0; } /* grid items: scroll inside instead of growing past the panel */
.ntv-catpanel__side { background: #faf7f9; border-right: 1px solid #f0e6eb; padding: 8px 0; display: flex; flex-direction: column; overflow-y: auto; }
.ntv-catpanel__side ul { list-style: none; margin: 0; padding: 0; }
.ntv-catpanel__side li { margin: 0; }
.ntv-catpanel__side li a { display: flex; align-items: center; justify-content: space-between; padding: 10px 18px; color: #222; font-size: 14.5px; font-weight: 500; }
.ntv-catpanel__side li a::after { content: "\203A"; color: #b9b9c0; font-size: 18px; line-height: 1; }
.ntv-catpanel__side li a.is-active { background: #fff; color: var(--ntv-pink-dark); font-weight: 700; box-shadow: inset 3px 0 0 var(--ntv-pink); }
.ntv-catpanel__side li a.is-active::after { color: var(--ntv-pink); }
.ntv-catpanel__all { margin-top: auto; padding: 12px 18px 6px; color: var(--ntv-pink-dark); font-weight: 700; font-size: 14px; }
.ntv-catpanel__main { overflow-y: auto; padding: 16px 22px 20px; }
.ntv-catpanel__pane { display: none; }
.ntv-catpanel__pane.is-active { display: block; }
.ntv-catpanel__title { display: flex; align-items: baseline; gap: 10px; color: #1d1d1f; font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.ntv-catpanel__title span { color: var(--ntv-pink); font-size: 13px; font-weight: 500; }
.ntv-catpanel__groups { columns: 3 190px; column-gap: 24px; }
.ntv-catpanel__group { break-inside: avoid; margin-bottom: 14px; }
.ntv-catpanel__head { display: block; color: #1d1d1f; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.ntv-catpanel__group ul { list-style: none; margin: 0; padding: 0; }
.ntv-catpanel__group li { margin: 0; }
.ntv-catpanel__group li a { display: block; color: #5b5b62; font-size: 13.5px; padding: 3px 0; }
.ntv-catpanel a:hover,
.ntv-catpanel__head:hover { color: var(--ntv-pink); }
#header .header-bottom .html_nav_position_text_top { padding: 0; }

/* Small laptops (850 to 1239 px): everything above does not fit in one row. Drop the hotline,
   shorten "All categories" to its icon, tighten the menu; below 1100 px drop "Flash sale" too. */
@media (min-width: 850px) and (max-width: 1239px) {
	.ntv-hact__phone { display: none !important; }
	#header .header-main .html_topbar_right { margin: 0 16px; }
	.ntv-allcat__label { display: none; }
	#header .header-bottom .header-bottom-nav > li { margin: 0 4px; }
	#header .header-bottom .header-bottom-nav > li > a { font-size: 13px; }
}
@media (min-width: 850px) and (max-width: 1099px) {
	.ntv-flashlink { display: none; }
	.ntv-hact__text { display: none !important; }
}

/* ---- Step 4: phones and tablets. ---- */
@media (max-width: 849px) {
	#header .header-main .header-inner { min-height: 0; padding-top: 8px; padding-bottom: 8px; }
	/* Logo beside the menu icon instead of centred. */
	#header .header-main .header-inner.medium-logo-center .flex-left.show-for-medium { order: 1; flex: 0 0 auto; }
	#header .header-main .header-inner.medium-logo-center #logo { order: 2; flex: 1 1 auto; text-align: left; margin-left: 6px; }
	#header .header-main .header-inner.medium-logo-center .flex-right.show-for-medium { order: 3; flex: 0 0 auto; }
	#header .header-main #logo a { padding: 3px 8px; border-radius: 10px; }
	#header .header-main #logo img { max-height: 40px; }
	#header .header-main .icon-menu { color: #fff; font-size: 22px; }
	.ntv-hact { gap: 8px; }
	.ntv-hact__phone,
	.ntv-hact__text { display: none !important; }
	.ntv-hact__icon { width: 36px; height: 36px; }
}

/* Sticky header (Flatsome adds .stuck while scrolling): a smaller logo box that stays inside it. */
#header .header-wrapper.stuck #logo a { padding: 2px 8px; }
#header .header-wrapper.stuck #logo img { max-height: 36px !important; } /* Flatsome's sticky logo height is !important. */
/* The sticky bar is too short for the keyword line: hide it so the search box stays centred. */
#header .header-wrapper.stuck .ntv-keywords { display: none; }
#header .header-wrapper.stuck .header-main .header-inner { min-height: 0; }
/* The column sizes to its content, so without the keyword line the box would shrink. */
#header .header-main .ntv-header-search { width: 600px; max-width: 100%; }

/* Search bar and keywords under the header on phones and tablets. */
.ntv-mobile-search { background: var(--ntv-gradient); padding: 0 0 8px; }
.ntv-mobile-search .search-field { font-size: 16px; }

/* ---- Step 5: pink footer (owner's pick of 2026-11-24; it was near-black), four compact columns
   and a copyright line. ---- */
#footer { background: linear-gradient(180deg, var(--ntv-pink-dark) 0%, #b0244f 100%) !important; color: #ffe3ec; font-size: 13.5px; }
#footer .gap-element { display: none; }
#footer > .row { padding-top: 30px; }
#footer .col { padding-bottom: 14px; padding-right: 28px; }
#footer h4 + ul + h4,
#footer ul + h4 { margin-top: 16px; }
#footer h4 { color: #fff; font-size: 13.5px; font-weight: 700; letter-spacing: .2px; text-transform: uppercase; margin: 0 0 10px; }
#footer strong { color: #fff; font-weight: 700; }
#footer p { margin: 10px 0 4px; font-size: 13.5px; }
#footer ul { margin: 0 0 6px; }
#footer li { list-style: none; margin: 0 0 6px; color: #ffe3ec; line-height: 1.5; font-size: 13.5px; }
#footer a { color: #ffe3ec; }
#footer a:hover { color: #fff; }
#footer .social-icons { margin-top: 4px; }
#footer .social-icons .icon { width: 30px; height: 30px; line-height: 28px; font-size: 13px; }
/* The last full-width row (keyword links) becomes the line above the copyright. */
#footer > .row > .col.large-12 { border-top: 1px solid rgba(255, 255, 255, .25); margin-top: 6px; padding-top: 12px; text-align: left; }
#footer > .row > .col.large-12 .text,
#footer > .row > .col.large-12 .text > div { text-align: left !important; }
#footer > .row > .col.large-12 .text,
#footer > .row > .col.large-12 a,
#footer > .row > .col.large-12 strong { font-size: 12.5px; color: #ffd0de !important; font-weight: 400; }
#footer .absolute-footer { background: #8f1c40 !important; color: #ffd0de; font-size: 12px; }
@media (max-width: 849px) {
	#footer > .row { padding: 24px 16px 0; }
	#footer .col { padding-right: 10px; }
	/* "About us" and "Support" side by side, as in the mockup. */
	#footer > .row > .col:nth-child(2),
	#footer > .row > .col:nth-child(3) { flex-basis: 50%; max-width: 50%; }
}
