/*
Theme Name: Hello Elementor Child - Hongsheng
Theme URI: https://hongsheng966.com/
Description: Hongsheng Packing custom child theme with branded header/footer.
Author: Hongsheng Packing
Template: hello-elementor
Version: 1.0.0
Text Domain: hongsheng
*/

:root {
	--hs-ink: #1c1c1e;
	--hs-dark: #211f1c;
	--hs-gold: #b08d57;
	--hs-gold-dark: #96764a;
	--hs-ivory: #faf8f4;
	--hs-body: #55565a;
	--hs-line: #e8e2d8;
	--hs-font-head: "Playfair Display", "Times New Roman", serif;
	--hs-font-body: "Poppins", "Helvetica Neue", Arial, sans-serif;
}

body {
	font-family: var(--hs-font-body);
	color: var(--hs-body);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--hs-font-head);
	color: var(--hs-ink);
	font-weight: 600;
	letter-spacing: .2px;
}

a { color: var(--hs-gold-dark); }
a:hover { color: var(--hs-gold); }

img { max-width: 100%; height: auto; }

.hs-container {
	width: min(1180px, 100% - 40px);
	margin-inline: auto;
}

/* ------------------------------------------------------------------
 * Buttons
 * --------------------------------------------------------------- */
.hs-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 30px;
	border-radius: 4px;
	font-family: var(--hs-font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .6px;
	text-transform: uppercase;
	text-decoration: none;
	transition: all .25s ease;
	border: 1px solid transparent;
	cursor: pointer;
}
.hs-btn--gold {
	background: linear-gradient(135deg, #c3a06b, var(--hs-gold) 55%, #96764a);
	color: #fff;
	box-shadow: 0 8px 20px -8px rgba(176, 141, 87, .65);
}
.hs-btn--gold:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 12px 26px -8px rgba(176, 141, 87, .8); }
.hs-btn--outline { border-color: var(--hs-gold); color: var(--hs-gold); background: transparent; }
.hs-btn--outline:hover { background: var(--hs-gold); color: #fff; }
.hs-btn--dark { background: var(--hs-ink); color: #fff; }
.hs-btn--dark:hover { background: #000; color: #fff; }

/* ------------------------------------------------------------------
 * Top bar
 * --------------------------------------------------------------- */
.hs-topbar {
	background: var(--hs-dark);
	color: #cfc9c0;
	font-size: 12.5px;
	letter-spacing: .4px;
}
.hs-topbar__in {
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 38px;
	gap: 16px;
}
.hs-topbar__item { display: inline-flex; align-items: center; gap: 6px; }
.hs-topbar__right { display: inline-flex; align-items: center; gap: 10px; }
.hs-topbar__right a { color: #cfc9c0; text-decoration: none; }
.hs-topbar__right a:hover { color: var(--hs-gold); }
.hs-topbar__sep { opacity: .4; }

/* ------------------------------------------------------------------
 * Header
 * --------------------------------------------------------------- */
.hs-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: rgba(255, 255, 255, .96);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--hs-line);
	transition: box-shadow .25s ease;
}
.hs-header.is-stuck { box-shadow: 0 10px 30px -18px rgba(28, 28, 30, .35); }
.hs-header__in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 78px;
}

.hs-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.hs-logo__mark {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #c3a06b, var(--hs-gold) 55%, #96764a);
	color: #fff;
	font-family: var(--hs-font-head);
	font-size: 25px;
	font-weight: 700;
	border-radius: 6px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
}
.hs-logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.hs-logo__text strong {
	font-family: var(--hs-font-head);
	font-size: 21px;
	color: var(--hs-ink);
	letter-spacing: 2.5px;
}
.hs-logo__text em {
	font-style: normal;
	font-size: 9.5px;
	letter-spacing: 3.6px;
	color: var(--hs-gold-dark);
	text-transform: uppercase;
}
.hs-logo--footer .hs-logo__text strong { color: #fff; }

.hs-nav { display: flex; align-items: center; gap: 28px; }
.hs-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.hs-menu > li { position: relative; }
.hs-menu > li > a {
	display: inline-block;
	padding: 10px 14px;
	font-size: 14.5px;
	font-weight: 500;
	color: var(--hs-ink);
	text-decoration: none;
	position: relative;
}
.hs-menu > li > a::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 100%;
	bottom: 4px;
	height: 2px;
	background: var(--hs-gold);
	transition: right .25s ease;
}
.hs-menu > li:hover > a::after,
.hs-menu > li.current-menu-item > a::after,
.hs-menu > li.current_page_parent > a::after { right: 14px; }
.hs-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 8px;
	min-width: 250px;
	background: #fff;
	border: 1px solid var(--hs-line);
	border-radius: 8px;
	box-shadow: 0 24px 48px -20px rgba(28, 28, 30, .3);
	list-style: none;
	margin: 0;
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all .22s ease;
}
.hs-menu > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.hs-menu .sub-menu a {
	display: block;
	padding: 10px 20px;
	font-size: 14px;
	color: var(--hs-body);
	text-decoration: none;
	white-space: nowrap;
}
.hs-menu .sub-menu a:hover { background: var(--hs-ivory); color: var(--hs-gold-dark); padding-left: 24px; transition: all .2s ease; }
.hs-nav__cta { margin-left: 6px; padding: 12px 24px; }

/* Burger */
.hs-burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 10px;
	cursor: pointer;
}
.hs-burger span {
	width: 24px;
	height: 2px;
	background: var(--hs-ink);
	transition: all .25s ease;
}
.hs-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hs-burger.is-open span:nth-child(2) { opacity: 0; }
.hs-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
	.hs-topbar__left { display: none; }
	.hs-topbar__in { justify-content: center; }
	.hs-burger { display: flex; }
	.hs-nav {
		position: fixed;
		inset: 0;
		top: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		background: #fff;
		padding: 90px 24px 40px;
		transform: translateX(100%);
		transition: transform .3s ease;
		overflow-y: auto;
		z-index: -1;
	}
	.hs-nav.is-open { transform: translateX(0); }
	.hs-menu { flex-direction: column; align-items: stretch; gap: 0; }
	.hs-menu > li > a { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--hs-line); }
	.hs-menu > li > a::after { display: none; }
	.hs-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: 0;
		padding: 0 0 6px 16px;
	}
	.hs-nav__cta { margin: 24px 0 0; width: 100%; }
	body.hs-nav-lock { overflow: hidden; }
}

/* ------------------------------------------------------------------
 * Footer
 * --------------------------------------------------------------- */
.hs-footer {
	background: var(--hs-dark);
	color: #b8b2a9;
	font-size: 14px;
	margin-top: 0;
}
.hs-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
	gap: 44px;
	padding: 72px 0 48px;
}
.hs-footer__about p { margin: 20px 0; line-height: 1.8; }
.hs-footer__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.hs-footer__badges span {
	border: 1px solid rgba(176, 141, 87, .5);
	color: #d9c39b;
	border-radius: 999px;
	padding: 5px 14px;
	font-size: 11.5px;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}
.hs-footer__col h4 {
	color: #fff;
	font-family: var(--hs-font-body);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	margin: 8px 0 22px;
	position: relative;
	padding-bottom: 12px;
}
.hs-footer__col h4::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 28px;
	height: 2px;
	background: var(--hs-gold);
}
.hs-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.hs-footer__links a { color: #b8b2a9; text-decoration: none; transition: color .2s ease, padding-left .2s ease; }
.hs-footer__links a:hover { color: var(--hs-gold); padding-left: 4px; }
.hs-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.hs-footer__contact svg { flex: 0 0 auto; margin-top: 3px; color: var(--hs-gold); }
.hs-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	padding: 22px 0;
	border-top: 1px solid rgba(255, 255, 255, .08);
	font-size: 12.5px;
	color: #8d877e;
}
.hs-footer__legal { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.hs-footer__legal a { color: #8d877e; text-decoration: none; }
.hs-footer__legal a:hover { color: var(--hs-gold); }

@media (max-width: 900px) {
	.hs-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
	.hs-footer__grid { grid-template-columns: 1fr; padding: 52px 0 36px; }
}

/* ------------------------------------------------------------------
 * Floating WhatsApp
 * --------------------------------------------------------------- */
.hs-wa {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 998;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .65);
	transition: transform .25s ease;
}
.hs-wa:hover { transform: scale(1.08); color: #fff; }

/* ------------------------------------------------------------------
 * Generic helpers used by Elementor pages
 * --------------------------------------------------------------- */
.hs-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--hs-gold-dark);
}
.hs-eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--hs-gold); }

.hs-card {
	background: #fff;
	border: 1px solid var(--hs-line);
	border-radius: 10px;
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}
.hs-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -24px rgba(28, 28, 30, .28); }
.hs-card img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.hs-card__body { padding: 22px 24px 26px; }
.hs-card__body h3 { font-size: 19px; margin: 0 0 8px; }
.hs-card__body p { font-size: 14px; line-height: 1.7; margin: 0; }
.hs-card__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--hs-gold-dark);
	text-decoration: none;
}
.hs-card__link:hover { color: var(--hs-gold); }

.hs-dark-section { background: var(--hs-dark); color: #b8b2a9; }
.hs-dark-section h1, .hs-dark-section h2, .hs-dark-section h3, .hs-dark-section h4 { color: #fff; }
.hs-dark-section .hs-eyebrow { color: #d9c39b; }
.hs-ivory-section { background: var(--hs-ivory); }

/* WordPress core tidy-ups */
.elementor-page .site-main { margin: 0; }
.screen-reader-text { position: absolute !important; }
