/* Huiyan Shop follows the existing Go + Elementor visual system. */
.huiyan-shop-site {
	--huiyan-shop-ink: #252525;
	--huiyan-shop-muted: #707070;
	--huiyan-shop-line: rgba(37, 37, 37, 0.18);
	--huiyan-shop-blue: var(--e-global-color-primary, #6ec1e4);
	--huiyan-shop-slate: var(--e-global-color-secondary, #54595f);
	--huiyan-shop-text: var(--e-global-color-text, #7a7a7a);
	--huiyan-shop-accent: var(--e-global-color-accent, #61ce70);
}

.huiyan-shop-module,
.woocommerce .site-main {
	color: var(--huiyan-shop-ink);
	font-family: var(--e-global-typography-text-font-family, Roboto, Arial, sans-serif);
}

.huiyan-shop-module {
	max-width: 1200px;
	margin: 0 auto;
	padding: clamp(2.5rem, 6vw, 6rem) clamp(1.25rem, 4vw, 3rem) 5rem;
}

.huiyan-shop-hero {
	min-height: min(620px, 70vh);
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(180px, 0.6fr);
	align-items: end;
	gap: 3rem;
	padding: clamp(3rem, 8vw, 8rem) 0 clamp(3rem, 8vw, 7rem);
	border-top: 1px solid var(--huiyan-shop-line);
	border-bottom: 1px solid var(--huiyan-shop-line);
}

.huiyan-shop-eyebrow {
	margin: 0 0 1.25rem;
	color: var(--huiyan-shop-slate);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	line-height: 1.4;
}

.huiyan-shop-hero h1,
.huiyan-shop-section-heading h2 {
	margin: 0;
	font-family: var(--e-global-typography-secondary-font-family, 'Roboto Slab', Georgia, serif);
	font-weight: var(--e-global-typography-secondary-font-weight, 400);
	letter-spacing: -0.035em;
}

.huiyan-shop-hero h1 {
	max-width: 760px;
	font-size: clamp(2.8rem, 7vw, 6.8rem);
	line-height: 0.98;
}

.huiyan-shop-lede {
	max-width: 510px;
	margin: 2rem 0 0;
	color: var(--huiyan-shop-muted);
	font-size: clamp(1rem, 1.7vw, 1.2rem);
	line-height: 1.65;
}

.huiyan-shop-hero__note {
	justify-self: end;
	max-width: 180px;
	padding-top: 0.75rem;
	border-top: 3px solid var(--huiyan-shop-blue);
	color: var(--huiyan-shop-slate);
	font-family: var(--e-global-typography-secondary-font-family, 'Roboto Slab', Georgia, serif);
	font-size: 0.98rem;
	line-height: 1.5;
}

.huiyan-shop-hero__note p {
	margin: 1rem 0 0;
}

.huiyan-shop-hero__index {
	display: block;
	font-family: var(--e-global-typography-text-font-family, Roboto, Arial, sans-serif);
	font-size: 0.72rem;
	letter-spacing: 0.12em;
}

.huiyan-shop-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
	margin-top: 2.5rem;
}

.huiyan-shop-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.75rem 1.25rem;
	border: 1px solid var(--huiyan-shop-ink);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.huiyan-shop-button--solid {
	background: var(--huiyan-shop-ink);
	color: #fff;
}

.huiyan-shop-button--solid:hover,
.huiyan-shop-button--solid:focus-visible {
	background: var(--huiyan-shop-blue);
	border-color: var(--huiyan-shop-blue);
	color: var(--huiyan-shop-ink);
}

.huiyan-shop-button--text {
	border-color: transparent;
	color: var(--huiyan-shop-ink);
}

.huiyan-shop-button--text:hover,
.huiyan-shop-button--text:focus-visible {
	border-color: var(--huiyan-shop-line);
	background: rgba(110, 193, 228, 0.12);
}

.huiyan-shop-categories,
.huiyan-shop-products {
	padding: clamp(4rem, 9vw, 8rem) 0 0;
}

.huiyan-shop-section-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 2rem;
	margin-bottom: 2rem;
}

.huiyan-shop-section-heading .huiyan-shop-eyebrow {
	margin-bottom: 0.8rem;
}

.huiyan-shop-section-heading h2 {
	font-size: clamp(2rem, 4vw, 3.8rem);
	line-height: 1;
}

.huiyan-shop-category-list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--huiyan-shop-line);
	list-style: none;
}

.huiyan-shop-category-list__item {
	margin: 0;
	border-bottom: 1px solid var(--huiyan-shop-line);
}

.huiyan-shop-category-list__item a {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 0;
	color: var(--huiyan-shop-ink);
	font-family: var(--e-global-typography-secondary-font-family, 'Roboto Slab', Georgia, serif);
	font-size: clamp(1.2rem, 2.2vw, 1.8rem);
	text-decoration: none;
}

.huiyan-shop-category-list__item a:hover,
.huiyan-shop-category-list__item a:focus-visible {
	color: var(--huiyan-shop-blue);
}

.huiyan-shop-products__grid > .products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 2.5rem);
	margin: 0;
}

.huiyan-shop-products__grid > .products::before,
.huiyan-shop-products__grid > .products::after {
	display: none;
}

.huiyan-shop-products__grid > .products li.product {
	width: auto;
	margin: 0;
	float: none;
}

.huiyan-shop-products__grid > .products li.product a img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	margin: 0 0 1rem;
	object-fit: cover;
	background: #f0f0ed;
}

.huiyan-shop-products__grid > .products li.product .woocommerce-loop-product__title {
	padding: 0;
	color: var(--huiyan-shop-ink);
	font-family: var(--e-global-typography-secondary-font-family, 'Roboto Slab', Georgia, serif);
	font-size: 1.1rem;
	font-weight: 400;
}

.huiyan-shop-products__grid > .products li.product .price {
	color: var(--huiyan-shop-muted);
	font-size: 0.92rem;
}

.huiyan-shop-products__grid > .products li.product .button {
	margin-top: 0.5rem;
	border-radius: 0;
	background: var(--huiyan-shop-ink);
	color: #fff;
	font-weight: 600;
}

.huiyan-shop-empty {
	padding: clamp(3rem, 8vw, 6rem) 1rem;
	border-top: 1px solid var(--huiyan-shop-line);
	border-bottom: 1px solid var(--huiyan-shop-line);
	text-align: center;
}

.huiyan-shop-empty__mark {
	margin: 0 0 1rem;
	color: var(--huiyan-shop-blue);
	font-size: 3rem;
	line-height: 1;
}

.huiyan-shop-empty p:not(.huiyan-shop-empty__mark) {
	margin: 0;
	font-family: var(--e-global-typography-secondary-font-family, 'Roboto Slab', Georgia, serif);
	font-size: 1.45rem;
}

.huiyan-shop-empty span {
	display: block;
	margin-top: 0.75rem;
	color: var(--huiyan-shop-muted);
	font-size: 0.92rem;
}

.huiyan-shop-note {
	max-width: 720px;
	margin: clamp(5rem, 10vw, 9rem) 0 0 auto;
	padding-top: 1.25rem;
	border-top: 1px solid var(--huiyan-shop-line);
}

.huiyan-shop-note p:last-child {
	margin: 0;
	font-family: var(--e-global-typography-secondary-font-family, 'Roboto Slab', Georgia, serif);
	font-size: clamp(1.2rem, 2.5vw, 2rem);
	line-height: 1.35;
}

.huiyan-shop-note a {
	color: var(--huiyan-shop-ink);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.huiyan-shop-note a:hover,
.huiyan-shop-note a:focus-visible {
	color: var(--huiyan-shop-blue);
}

/* WooCommerce archive, product, and account surfaces. */
.huiyan-shop-site.woocommerce .site-main {
	max-width: 1200px;
	margin-inline: auto;
	padding: clamp(2.5rem, 6vw, 6rem) clamp(1.25rem, 4vw, 3rem) 5rem;
}

.huiyan-shop-site.woocommerce .woocommerce-breadcrumb {
	margin-bottom: 2.5rem;
	color: var(--huiyan-shop-muted);
	font-size: 0.8rem;
}

.huiyan-shop-site.woocommerce .woocommerce-products-header__title,
.huiyan-shop-site.woocommerce h1.product_title,
.huiyan-shop-site.woocommerce .woocommerce-MyAccount-content h2,
.huiyan-shop-site.woocommerce .cart_totals h2 {
	font-family: var(--e-global-typography-secondary-font-family, 'Roboto Slab', Georgia, serif);
	font-weight: 400;
	letter-spacing: -0.03em;
}

.huiyan-shop-site.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.25rem, 3vw, 2.5rem);
	margin: 2.5rem 0 0;
}

.huiyan-shop-site.woocommerce ul.products::before,
.huiyan-shop-site.woocommerce ul.products::after {
	display: none;
}

.huiyan-shop-site.woocommerce ul.products li.product {
	width: auto;
	margin: 0;
}

.huiyan-shop-site.woocommerce ul.products li.product a img {
	aspect-ratio: 4 / 5;
	object-fit: cover;
	background: #f0f0ed;
}

.huiyan-shop-site.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--e-global-typography-secondary-font-family, 'Roboto Slab', Georgia, serif);
	font-size: 1.1rem;
	font-weight: 400;
}

.huiyan-shop-site.woocommerce .button,
.huiyan-shop-site.woocommerce button.button,
.huiyan-shop-site.woocommerce input.button,
.huiyan-shop-site.woocommerce a.button {
	border-radius: 0;
	background: var(--huiyan-shop-ink);
	color: #fff;
	font-weight: 600;
}

.huiyan-shop-site.woocommerce .button:hover,
.huiyan-shop-site.woocommerce button.button:hover,
.huiyan-shop-site.woocommerce input.button:hover,
.huiyan-shop-site.woocommerce a.button:hover {
	background: var(--huiyan-shop-blue);
	color: var(--huiyan-shop-ink);
}

.huiyan-shop-site.woocommerce input.input-text,
.huiyan-shop-site.woocommerce select,
.huiyan-shop-site.woocommerce textarea {
	min-height: 2.9rem;
	border: 1px solid var(--huiyan-shop-line);
	border-radius: 0;
	background: #fff;
}

.huiyan-shop-site.woocommerce table.shop_table {
	border-color: var(--huiyan-shop-line);
	border-radius: 0;
}

@media (max-width: 760px) {
	.huiyan-shop-hero {
		min-height: auto;
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.huiyan-shop-hero__note {
		justify-self: start;
	}

	.huiyan-shop-section-heading {
		display: block;
	}

	.huiyan-shop-section-heading h2 {
		margin-top: 0.5rem;
	}

	.huiyan-shop-products__grid > .products,
	.huiyan-shop-site.woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.25rem;
	}
}

@media (max-width: 480px) {
	.huiyan-shop-products__grid > .products,
	.huiyan-shop-site.woocommerce ul.products {
		grid-template-columns: 1fr;
	}

	.huiyan-shop-button {
		width: 100%;
	}
}
