/* =========================================================
   HOMINNO custom styles
   - Extracted from previously-inline styles so no CSS lives in HTML
   - Theme tweaks kept minimal to preserve the demo framework 1:1
   ========================================================= */

/* hide honeypot / helper */
.hide { display: none !important; }

/* ---- Logo ---- */
#logo img { height: 44px; width: auto; vertical-align: middle; }
#logo .logo-text {
	display: inline-block;
	margin-left: 10px;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #1f5fb0;
	vertical-align: middle;
	font-family: "Barlow Condensed", Arial, sans-serif;
}

/* ---- Banner images ---- */
.banner .swiper-slide img { width: 100%; height: auto; display: block; }

/* ---- About tab icons (were inline background-images) ---- */
.about_tab .tabs .icon {
	width: 38px;
	height: 38px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	display: inline-block;
	vertical-align: middle;
}
.about_ico01 { background-image: url(../image/about_ico01.png); }
.about_ico02 { background-image: url(../image/about_ico02.png); }

/* ---- Featured product description text size (was inline font-size:18px) ---- */
.pro_desc { font-size: 18px; line-height: 1.65; color: #555; }
.pro_desc p { margin: 0 0 6px; }

/* ---- Footer background (was inline background-image) ---- */
.foot_bg {
	background-image: url(../image/bg_factory.jpg);
	background-size: cover;
	background-position: center;
}

/* ---- Footer contact icons (replaced sprite with clean CSS glyphs) ---- */
.fot_con ul.list li { display: flex; align-items: flex-start; margin-bottom: 12px; }
.fot_con .icon {
	flex: 0 0 auto;
	width: 22px; height: 22px;
	border-radius: 50%;
	background: #2f6db3 !important;
	background-image: none !important;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	line-height: 1;
	margin-right: 10px;
	margin-top: 2px;
}
.fot_con .icon.ic-tel::before { content: "\260E"; }
.fot_con .icon.ic-mail::before { content: "\2709"; }
.fot_con .icon.ic-wa::before { content: "W"; font-weight: 700; font-size: 11px; }
.fot_con .icon.ic-addr::before { content: "\1F4CD"; font-size: 13px; }

/* ---- Mobile bottom nav (matches demo: white bar, gray sprite icons above labels) ---- */
.mobile_nav { display: none; }
.mobile_nav a {
	display: inline-block;
	width: 20%;
	padding: 0 5px 5px;
	float: left;
	text-align: center;
	text-decoration: none;
}
.mobile_nav a:nth-child(3),
.mobile_nav a:nth-child(4) { float: right; }
.mobile_nav a i {
	display: inline-block;
	width: 28px;
	height: 28px;
	background-image: url(../image/icon.png);
	background-repeat: no-repeat;
}
.mobile_nav a p { color: #4d4d4d; margin: 0; padding-top: 5px; font-size: 13px; line-height: 14px; text-transform: uppercase; }
/* sprite positions carried from demo (no inline styles) */
.mobile_nav .mn-home i     { background-position: -323px -160px; }
.mobile_nav .mn-products i { background-position: -366px -160px; }
.mobile_nav .mn-contact i  { background-position: -242px -160px; }
.mobile_nav .mn-whatsapp i { background-position: -283px -160px; }

/* ---- Main navigation ----
   The framework hides #main-nav (display:none) because the demo used the
   hcMobileNav plugin to clone it. We use #main-nav directly, so we must
   override that and provide both a desktop menu and a mobile off-canvas. */
#main-nav {
	display: block;
	position: static;
	transform: none;
	width: auto;
	background: none;
	box-shadow: none;
	height: auto;
	overflow: visible;
	padding: 0;
	transition: transform .3s ease;
}
#main-nav ul { list-style: none; margin: 0; padding: 0; }
#main-nav .first-nav,
#main-nav .second-nav,
#main-nav .select_contact { display: flex; align-items: center; }
#main-nav .second-nav > li { position: relative; }
#main-nav .first-nav > li > a,
#main-nav .second-nav > li > a {
	display: block;
	padding: 12px 18px;
	color: #333;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
}
#main-nav .second-nav > li > a:hover { color: #1f5fb0; }
#main-nav .nav_child {
	display: none;
	position: absolute;
	top: 100%; left: 0;
	min-width: 210px;
	background: #fff;
	box-shadow: 0 6px 24px rgba(0,0,0,.14);
	z-index: 1000;
}
#main-nav .second-nav > li:hover > .nav_child { display: block; }
#main-nav .nav_child li a {
	display: block;
	padding: 11px 18px;
	color: #333;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
}
#main-nav .nav_child li a:hover { background: #f4f7fb; color: #1f5fb0; }
#main-nav .select_contact { margin-left: auto; }
#main-nav .select_contact a {
	background: #FF6600;
	color: #fff;
	border-color: #FF6600;
	padding: 0 26px;
	min-height: 48px;
	border-radius: 30px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}
#main-nav .select_contact a:hover { background: #e65c00; border-color: #e65c00; }

/* toggle button: only on mobile */
.wrapper .toggle { display: none; cursor: pointer; }

/* off-canvas open state */
#main-nav.nav-open { transform: translateX(0) !important; }

/* dim backdrop behind the drawer */
.nav-backdrop {
	position: fixed; inset: 0;
	background: rgba(0,0,0,.45);
	z-index: 9999;
	opacity: 0; visibility: hidden;
	transition: opacity .3s ease;
}
body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }

@media (max-width: 992px) {
	.mobile_nav {
		display: block;
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 9990;
		background: #fff;
		border-top: 1px solid #eee;
		box-shadow: 0 -2px 10px rgba(0,0,0,.08);
	}
	body { padding-bottom: 52px; }

	.wrapper .toggle { display: block; }

	/* Keep the logo BELOW the drawer so it cannot block the opened menu,
	   and keep the toggle (hamburger/X) above everything so it stays clickable. */
	#logo { z-index: 5 !important; }
	header .toggle { z-index: 10001 !important; }

	/* #main-nav becomes a left off-canvas drawer */
	#main-nav {
		display: block;
		position: fixed;
		top: 0; left: 0;
		width: 82%;
		max-width: 340px;
		height: 100%;
		background: #fff;
		z-index: 10000;
		transform: translateX(-100%);
		overflow-y: auto;
		padding: 20px;
		box-shadow: 4px 0 20px rgba(0,0,0,.25);
	}
	#main-nav .first-nav,
	#main-nav .second-nav,
	#main-nav .select_contact { display: block; margin: 0; }
	#main-nav .first-nav > li > a,
	#main-nav .second-nav > li > a {
		padding: 14px 0;
		font-size: 16px;
		border-bottom: 1px solid #eee;
	}
	#main-nav .nav_child {
		position: static;
		box-shadow: none;
		display: none;
		padding-left: 14px;
	}
	#main-nav .second-nav > li.open > .nav_child { display: block; }
	#main-nav .nav_child li a { padding: 12px 0; }
	#main-nav .select_contact { margin-top: 16px; width: 100%; }
	#main-nav .select_contact a { display: inline-flex; align-items: center; justify-content: center; width: 100%; }
}

/* ---- Light theme safety (ensure text readable) ---- */
.adv_content .adv_list .title,
.about_content .about_title,
.factory_content .main_title em,
.cat_pro .pro_right .num { color: inherit; }

/* =========================================================
   INNER PAGES (about / products / product-detail / faqs /
   download / blog / blog-detail / contact)
   ========================================================= */

/* Page banner + breadcrumb */
.page_head {
	position: relative;
	padding: 72px 0 58px;
	background-color: #1b2a4a;
	background-size: cover;
	background-position: center;
	color: #fff;
	text-align: center;
	overflow: hidden;
}
.page_head .ovrly { position: absolute; inset: 0; background: rgba(15,23,42,.62); }
.page_head .ph_img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page_head .container { position: relative; z-index: 2; }
.page_head h1 {
	font-family: "BarlowCondensed", sans-serif;
	font-size: 44px;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin: 0 0 10px;
}
.page_head .sub { color: #cfd6e4; font-size: 16px; max-width: 680px; margin: 0 auto 14px; }
.breadcrumb { color: #cfd6e4; font-size: 14px; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: #ff8a8a; }
.breadcrumb span { margin: 0 8px; opacity: .6; }

/* Generic content helpers */
.in_sec { padding: 64px 0; }
.in_sec.gray { background: #f7f7f7; }
.in_sec .lead { color: #555; font-size: 16px; line-height: 1.9; max-width: 900px; }
.img_ph {
	display: block;
	width: 100%;
	height: auto;
	background: #e9ecef;
	border: 1px solid #e2e6ea;
	object-fit: cover;
}

/* ---- About page ---- */
.about_intro { display: flex; gap: 40px; flex-wrap: wrap; align-items: center; }
.about_intro .txt { flex: 1; min-width: 280px; }
.about_intro .pic { flex: 1; min-width: 280px; }
.about_intro .pic img { border-radius: 10px; }
.cap_grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; }
.cap_card {
	background: #fff; border: 1px solid #eee; border-radius: 10px;
	padding: 30px 26px; transition: .3s; box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.cap_card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0,0,0,.10); }
.cap_card .num { color: #FF6600; font-family: "BarlowCondensed"; font-size: 32px; font-weight: 700; }
.cap_card h3 { color: #1b2a4a; font-size: 20px; margin: 12px 0 10px; }
.cap_card p { color: #666; font-size: 14px; line-height: 1.75; }
.stats_row {
	display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between;
	background: #1b2a4a; color: #fff; border-radius: 12px; padding: 36px 32px; margin-top: 40px;
}
.stats_row .st { flex: 1; min-width: 140px; text-align: center; }
.stats_row .st .n { font-family: "BarlowCondensed"; font-size: 42px; font-weight: 700; color: #fff; }
.stats_row .st .n b { color: #ff7a7a; }
.stats_row .st .l { font-size: 14px; color: #cdd5e5; margin-top: 4px; }

/* ---- Product list ---- */
.cat_filter { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 6px; }
.cat_filter a {
	display: inline-block; padding: 8px 20px; border: 1px solid #ddd;
	border-radius: 30px; color: #555; font-size: 14px; text-decoration: none; transition: .25s;
}
.cat_filter a:hover, .cat_filter a.active { border-color: #FF6600; color: #FF6600; background: #fff5f5; }
.pro_list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 28px; }
.pro_card { background: #fff; border: 1px solid #eee; border-radius: 10px; overflow: hidden; transition: .3s; }
.pro_card:hover { box-shadow: 0 16px 36px rgba(0,0,0,.12); transform: translateY(-4px); }
.pro_card .thumb { aspect-ratio: 1/1; overflow: hidden; background: #f2f2f2; }
.pro_card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.pro_card:hover .thumb img { transform: scale(1.06); }
.pro_card .info { padding: 16px 18px 20px; }
.pro_card .info .t { font-size: 16px; color: #1b2a4a; font-weight: 600; display: block; margin-bottom: 6px; }
.pro_card .info .m { font-size: 13px; color: #999; }

/* ---- Product detail ---- */
.pd_wrap { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 18px; }
.pd_gallery { flex: 1; min-width: 300px; }
.pd_gallery .main_img { border: 1px solid #eee; border-radius: 10px; overflow: hidden; background: #f2f2f2; aspect-ratio: 4/3; }
.pd_gallery .main_img img { width: 100%; height: 100%; object-fit: cover; }
.pd_gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd_gallery .thumbs a { flex: 1; border: 1px solid #eee; border-radius: 8px; overflow: hidden; background: #f2f2f2; }
.pd_gallery .thumbs img { width: 100%; height: 84px; object-fit: cover; }
.pd_info { flex: 1; min-width: 300px; }
.pd_info h1 { font-size: 30px; color: #1b2a4a; margin: 0 0 6px; font-family: "BarlowCondensed"; letter-spacing: .5px; }
.pd_info .item { color: #FF6600; font-weight: 600; margin-bottom: 16px; }
.pd_info .desc { color: #555; line-height: 1.85; font-size: 15px; }
.spec_table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.spec_table td { border: 1px solid #eee; padding: 11px 14px; font-size: 14px; }
.spec_table td.k { background: #f7f7f7; color: #444; width: 38%; font-weight: 600; }
.pd_info .quote_btn { display: inline-block; background: #FF6600; color: #fff; padding: 13px 32px; border-radius: 30px; font-weight: 600; text-decoration: none; margin-top: 14px; }
.pd_info .quote_btn:hover { background: #e65c00; }
.rel_pro { margin-top: 56px; }

/* ---- FAQs (native <details> accordion, no JS) ---- */
.faq_list { max-width: 880px; margin: 30px auto 0; }
.faq_item { background: #fff; border: 1px solid #eee; border-radius: 10px; margin-bottom: 14px; overflow: hidden; }
.faq_item summary {
	cursor: pointer; list-style: none; padding: 18px 52px 18px 22px;
	font-size: 17px; color: #1b2a4a; font-weight: 600; position: relative;
}
.faq_item summary::-webkit-details-marker { display: none; }
.faq_item summary::after {
	content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
	font-size: 26px; color: #FF6600; font-weight: 700; transition: .3s;
}
.faq_item[open] summary::after { content: "\2212"; }
.faq_item .ans { padding: 0 22px 22px; color: #555; line-height: 1.85; font-size: 15px; }

/* ---- Download ---- */
.down_list { max-width: 920px; margin: 30px auto 0; }
.down_item {
	display: flex; align-items: center; gap: 18px; background: #fff;
	border: 1px solid #eee; border-radius: 10px; padding: 18px 22px; margin-bottom: 14px; transition: .3s;
}
.down_item:hover { box-shadow: 0 8px 24px rgba(0,0,0,.09); border-color: #FF6600; }
.down_item .ic {
	width: 50px; height: 50px; flex: none; border-radius: 10px; background: #fff5f5;
	color: #FF6600; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700;
}
.down_item .meta { flex: 1; }
.down_item .meta .t { font-size: 17px; color: #1b2a4a; font-weight: 600; }
.down_item .meta .s { font-size: 13px; color: #999; margin-top: 3px; }
.down_item .dl { display: inline-block; background: #FF6600; color: #fff; padding: 10px 24px; border-radius: 30px; font-size: 14px; font-weight: 600; text-decoration: none; }
.down_item .dl:hover { background: #e65c00; }

/* ---- Blog list & detail ---- */
.blog_list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 30px; }
.blog_card { background: #fff; border: 1px solid #eee; border-radius: 12px; overflow: hidden; transition: .3s; }
.blog_card:hover { box-shadow: 0 16px 36px rgba(0,0,0,.10); transform: translateY(-4px); }
.blog_card .thumb { aspect-ratio: 16/10; overflow: hidden; background: #f2f2f2; }
.blog_card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s; }
.blog_card:hover .thumb img { transform: scale(1.05); }
.blog_card .info { padding: 18px 20px 22px; }
.blog_card .date { font-size: 13px; color: #FF6600; font-weight: 600; }
.blog_card .info h3 { font-size: 18px; color: #1b2a4a; margin: 8px 0 10px; line-height: 1.4; }
.blog_card .info p { font-size: 14px; color: #666; line-height: 1.7; margin: 0 0 12px; }
.blog_card .more { color: #FF6600; font-weight: 600; font-size: 14px; text-decoration: none; }
.blog_detail { max-width: 880px; margin: 22px auto 0; }
.blog_detail .hero { aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #f2f2f2; margin-bottom: 26px; }
.blog_detail .hero img { width: 100%; height: 100%; object-fit: cover; }
.blog_detail h1 { font-size: 34px; color: #1b2a4a; font-family: "BarlowCondensed"; margin: 0 0 10px; }
.blog_detail .meta { color: #999; font-size: 14px; margin-bottom: 24px; }
.blog_detail .content p { color: #444; line-height: 1.95; font-size: 16px; margin-bottom: 18px; }
.blog_detail .content h2 { color: #1b2a4a; font-size: 24px; margin: 30px 0 14px; }
.blog_detail .content ul { color: #444; line-height: 1.9; padding-left: 22px; }

/* ---- Contact ---- */
.contact_wrap { display: flex; gap: 44px; flex-wrap: wrap; margin-top: 18px; }
.contact_info { flex: 1; min-width: 280px; }
.contact_info .ci { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.contact_info .ci .ic {
	width: 46px; height: 46px; flex: none; border-radius: 10px; background: #fff5f5;
	color: #FF6600; display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.contact_info .ci .t { font-weight: 700; color: #1b2a4a; margin-bottom: 3px; }
.contact_info .ci .v { color: #666; font-size: 14px; line-height: 1.6; }
.contact_form { flex: 1; min-width: 280px; background: #fff; border: 1px solid #eee; border-radius: 12px; padding: 30px; }
.contact_form .row { margin-bottom: 16px; }
.contact_form label { display: block; font-size: 14px; color: #444; margin-bottom: 6px; }
.contact_form .control { width: 100%; height: 44px; border: 1px solid #ddd; border-radius: 8px; padding: 0 14px; font-size: 14px; }
.contact_form textarea.control { height: 130px; padding: 12px 14px; resize: vertical; }
.contact_form .submit { background: #FF6600; color: #fff; border: none; padding: 13px 36px; border-radius: 30px; font-weight: 600; cursor: pointer; }
.contact_form .submit:hover { background: #e65c00; }
.map_ph { margin-top: 44px; border: 1px solid #eee; border-radius: 12px; overflow: hidden; background: #e9ecef; }
.map_ph img { width: 100%; height: 340px; object-fit: cover; display: block; }

/* ---- Responsive for inner pages ---- */
@media (max-width: 992px) {
	.pro_list, .blog_list { grid-template-columns: repeat(2, 1fr); }
	.cap_grid { grid-template-columns: repeat(2, 1fr); }
	.page_head h1 { font-size: 32px; }
}
@media (max-width: 600px) {
	.pro_list, .blog_list, .cap_grid { grid-template-columns: 1fr; }
	.page_head { padding: 56px 0 44px; }
	.stats_row { gap: 14px; padding: 28px 18px; }
	.stats_row .st { min-width: 45%; }
}

/* ---- Utility classes (replace inline styles) ---- */
.center { text-align: center; }
.mt-14 { margin-top: 14px; }
.mt-18 { margin-top: 18px; }
.cat_filter.cf-center { justify-content: center; }
.sec-h2 { color: #1b2a4a; font-family: "BarlowCondensed", sans-serif; font-size: 30px; margin: 46px 0 4px; }
.link-red { color: #FF6600; font-weight: 600; text-decoration: none; }
.link-red:hover { color: #e65c00; }

/* Floating WhatsApp button (replaces the old leave-a-message widget) */
#wa_float_layer { position: fixed; right: 22px; bottom: 40%; z-index: 999999; }
.wa_float { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; font-size: 30px; box-shadow: 0 6px 18px rgba(37,211,102,.45); transition: transform .25s, box-shadow .25s; }
.wa_float:hover { transform: scale(1.08); box-shadow: 0 8px 24px rgba(37,211,102,.6); color: #fff; }
.wa_float i { line-height: 1; }
@media (max-width: 1024px) {
  #wa_float_layer { bottom: 40%; right: 16px; }
  .wa_float { width: 50px; height: 50px; font-size: 26px; }
}

/* Homepage banner: exactly one screen (full viewport height) */
.banner { height: 100vh; height: 100dvh; }
.banner .swiper-container,
.banner .swiper-container .swiper-wrapper,
.banner .swiper-container .swiper-wrapper .swiper-slide { height: 100%; }
.banner .swiper-slide img { width: 100%; height: 100%; object-fit: cover; }

/* "Our professional factory" section: restore demo's original background image */
.factory_content { background: #f7f7f7 url(../image/bg_factory.jpg) no-repeat center bottom; }
