/*
Theme Name: ESP32 Store Child
Description: Electronics and PCB storefront child theme for Gutenify Store Base.
Author: Shenzhen Sibo Intelligence Technologies Co., Ltd.
Template: gutenify-store-base
Version: 1.5.2
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-3.0-or-later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: esp32-store-child
Tags: e-commerce, full-site-editing, electronics, woocommerce
*/

:root {
	--esp-blue: #0875df;
	--esp-blue-dark: #061b3d;
	--esp-orange: #ff4e00;
	--esp-ink: #111827;
	--esp-muted: #6b7280;
	--esp-line: #e5e7eb;
	--esp-soft: #f5f7fa;
	--esp-black: #101010;
	--esp-radius: 7px;
	--esp-shell: 1180px;
}

.esp-store-site .esp-store-header,
.esp-store-site .esp-benefits,
.esp-store-site .esp-store-footer {
	font-family: Inter, Arial, Helvetica, sans-serif;
}

.esp-shared-template-part,
.esp-shared-template-part .wp-block-shortcode {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.esp-store-site .esp-store-header svg,
.esp-store-site .esp-benefits svg,
.esp-store-site .esp-store-footer svg,
.esp-store-site .esp-content-page svg,
.esp-store-site .esp-secure-checkout-note svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

.esp-store-site .wp-site-blocks > .wp-block-shortcode {
	max-width: none !important;
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.esp-store-front {
	background: #fff;
	color: var(--esp-ink);
	font-family: Inter, Arial, Helvetica, sans-serif;
}

.esp-store-front .wp-site-blocks {
	padding: 0;
}

.esp-store-front .wp-block-shortcode {
	margin: 0 !important;
}

.esp-store-front a {
	text-decoration: none;
}

.esp-store-front img {
	max-width: 100%;
}

.esp-shell {
	width: min(calc(100% - 44px), var(--esp-shell));
	margin-inline: auto;
}

.esp-store-front svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.7;
}

/* Header */
.esp-store-header {
	position: relative;
	z-index: 100;
	background: rgba(255, 255, 255, 0.98);
	border-bottom: 1px solid #edf0f3;
	color: #111;
}

.esp-header-inner {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 68px;
}

.esp-site-brand {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	max-width: 54px;
	color: var(--esp-ink);
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	white-space: nowrap;
}

.esp-site-logo-image {
	display: block;
	width: 46px;
	height: 46px;
	max-width: 46px;
	object-fit: contain;
}

.esp-desktop-nav {
	min-width: 0;
	display: flex;
    /* flex: 1 1 auto; */
    flex: 1;
    /* align-items: flex-start; */
    /* justify-content: flex-start; */
    padding-left: 20px;
}

.esp-nav-list,
.esp-nav-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.esp-desktop-nav > .esp-nav-list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(9px, 1.25vw, 20px);
}

.esp-nav-list li {
	position: relative;
}

.esp-nav-list a,
.esp-nav-list .esp-link-disabled {
	display: block;
	padding: 9px 0;
	color: #161b22;
	/* font-size: 12px; */
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
}

.esp-nav-list a:hover,
.esp-nav-list a:focus-visible {
	color: var(--esp-blue);
}

.esp-nav-list .sub-menu {
	position: absolute;
	top: calc(100% + 10px);
	left: -16px;
	display: none;
	min-width: 190px;
	padding: 8px 16px;
	background: #fff;
	border: 1px solid var(--esp-line);
	border-radius: 6px;
	box-shadow: 0 15px 40px rgba(15, 23, 42, 0.14);
}

.esp-nav-list li:hover > .sub-menu,
.esp-nav-list li:focus-within > .sub-menu {
	display: block;
}

.esp-header-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 12px;
}

.esp-account-link,
.esp-cart-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #111;
	font-size: 11px;
	white-space: nowrap;
}

.esp-account-link > span:last-child {
	display: block;
	max-width: 150px;
	overflow: hidden;
	text-overflow: ellipsis;
}

.esp-action-icon,
.esp-cart-icon {
	position: relative;
	display: inline-flex;
	font-size: 20px;
}

.esp-cart-icon b {
	position: absolute;
	top: -9px;
	right: -9px;
	display: grid;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	place-items: center;
	background: var(--esp-blue);
	border-radius: 99px;
	color: #fff;
	font-size: 9px;
	line-height: 1;
}

.esp-cart-total .woocommerce-Price-amount {
	color: #111;
	font-size: 11px;
}

.esp-product-search {
	display: flex;
	align-items: center;
	border: 1px solid transparent;
	border-radius: 99px;
	transition: border-color 0.2s, background 0.2s;
}

.esp-product-search:focus-within {
	background: #fff;
	border-color: #cad4df;
}

.esp-product-search input[type="search"] {
	width: 0;
	min-width: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	font-size: 12px;
	opacity: 0;
	outline: 0;
	transition: width 0.25s, padding 0.25s, opacity 0.2s;
}

.esp-product-search:hover input[type="search"],
.esp-product-search:focus-within input[type="search"] {
	width: 150px;
	padding: 6px 2px 6px 12px;
	opacity: 1;
}

.esp-product-search button {
	display: grid;
	width: 34px;
	height: 34px;
	padding: 0;
	place-items: center;
	background: transparent;
	border: 0;
	color: #222;
	font-size: 19px;
	cursor: pointer;
}

.esp-mobile-menu {
	display: none;
	position: relative;
}

.esp-mobile-menu summary {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border: 1px solid var(--esp-line);
	border-radius: 5px;
	font-size: 21px;
	cursor: pointer;
	list-style: none;
}

.esp-mobile-menu summary::-webkit-details-marker {
	display: none;
}

.esp-mobile-menu nav {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	width: min(320px, calc(100vw - 32px));
	padding: 12px 20px;
	background: #fff;
	border: 1px solid var(--esp-line);
	border-radius: 7px;
	box-shadow: 0 20px 50px rgba(15, 23, 42, 0.18);
}

.esp-mobile-menu .esp-nav-list a {
	padding: 11px 0;
	border-bottom: 1px solid #f0f2f4;
	font-size: 14px;
}

.esp-mobile-menu .esp-nav-list .esp-link-disabled {
	padding: 11px 0;
	border-bottom: 1px solid #f0f2f4;
	font-size: 14px;
}

.esp-mobile-menu .sub-menu {
	position: static;
	display: block;
	padding: 0 0 0 15px;
	border: 0;
	box-shadow: none;
}

/* Hero */
.esp-store-home {
	overflow: hidden;
}

.esp-banner-slider {
	position: relative;
	margin-top: 16px;
	background: #071827;
	border-radius: 2px;
	box-shadow: 0 12px 34px rgba(9, 30, 50, 0.12);
	overflow: hidden;
}

.esp-banner-viewport,
.esp-banner-track {
	position: relative;
	width: 100%;
	aspect-ratio: 40 / 13;
	overflow: hidden;
}

.esp-banner-slide {
	position: absolute;
	inset: 0;
	display: block;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.55s ease;
	visibility: hidden;
}

.esp-banner-slide.is-active {
	z-index: 1;
	opacity: 1;
	pointer-events: auto;
	visibility: visible;
}

.esp-banner-slide img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	object-fit: cover;
}

.esp-banner-arrow {
	position: absolute;
	z-index: 3;
	top: 50%;
	display: grid;
	width: 38px;
	height: 52px;
	padding: 0;
	place-items: center;
	background: rgba(5, 20, 34, 0.44);
	border: 0;
	border-radius: 3px;
	color: #fff;
	font-family: Arial, sans-serif;
	font-size: 34px;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
	transition: background 0.2s;
}

.esp-banner-arrow:hover,
.esp-banner-arrow:focus-visible {
	background: rgba(5, 20, 34, 0.78);
}

.esp-banner-arrow--prev {
	left: 12px;
}

.esp-banner-arrow--next {
	right: 12px;
}

.esp-banner-dots {
	position: absolute;
	z-index: 3;
	right: 0;
	bottom: 13px;
	left: 0;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.esp-banner-dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	background: rgba(255, 255, 255, 0.48);
	border: 1px solid rgba(255, 255, 255, 0.72);
	border-radius: 99px;
	cursor: pointer;
	transition: width 0.2s, background 0.2s;
}

.esp-banner-dots button.is-active {
	width: 25px;
	background: #fff;
}

.esp-chip-placeholder {
	display: grid;
	width: 72%;
	aspect-ratio: 1;
	place-items: center;
	background: linear-gradient(145deg, #1f2937, #080b0f);
	border: 5px solid #394352;
	border-radius: 5px;
	box-shadow: inset 0 0 0 1px #697386, 0 10px 22px rgba(0, 0, 0, 0.18);
	color: #eef2f7;
}

.esp-chip-placeholder svg {
	width: 55%;
	height: 55%;
}

.esp-chip-placeholder small {
	font-size: 8px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

/* Promotional cards */
.esp-promo-grid {
	display: grid;
	/* display: flex; */
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
	margin-top: 10px;
	margin-bottom: 38px;

	/* display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px; */
}
.esp-promo-grid > br,
.esp-promo-grid > p,
.esp-promo-card > br {
    display: none;
}

.esp-promo-card {
	position: relative;
	display: flex;
	min-height: 76px;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border: 1px solid rgba(15, 23, 42, 0.09);
	border-radius: var(--esp-radius);
	overflow: hidden;
	transition: transform 0.2s, box-shadow 0.2s;
	margin-left: 10px;
}
.esp-promo-card:first-child {
	margin-left: 0;
}

.esp-promo-card:hover {
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
	transform: translateY(-3px);
}

.esp-promo-card.is-disabled {
	cursor: default;
}

.esp-promo-card.is-disabled:hover {
	box-shadow: none;
	transform: none;
}

.esp-promo-icon {
	position: relative;
	z-index: 1;
	display: grid;
	width: 39px;
	height: 39px;
	flex: 0 0 auto;
	place-items: center;
	background: rgba(255, 255, 255, 0.16);
	border-radius: 7px;
	font-size: 23px;
}

.esp-promo-card > span:last-child {
	position: relative;
	z-index: 1;
	display: flex;
	min-width: 0;
	flex-direction: column;
}

.esp-promo-card strong {
	font-size: clamp(13px, 1.2vw, 17px);
	line-height: 1.05;
}

.esp-promo-card small {
	margin-top: 4px;
	font-size: 9px;
	line-height: 1.3;
}

.esp-promo-card--odm {
	background: linear-gradient(135deg, #1b2834, #324454 58%, #ff5c13 58.5%);
	color: #fff;
}

.esp-promo-card--moq {
	background: linear-gradient(135deg, #ff5a00, #fb8a00);
	color: #fff;
}

.esp-promo-card--signup {
	background: linear-gradient(135deg, #005b98, #008dd2 70%, #ff8b00 70.5%);
	color: #fff;
}

.esp-promo-card--payment {
	background: linear-gradient(135deg, #ecf9ff, #d8f2ff);
	color: #062e4f;
}

/* Product grids */
.esp-product-section {
	margin-top: 38px;
}

.esp-product-section + .esp-product-section {
	margin-top: 18px;
}

.esp-product-section h2,
.esp-blog h2 {
	margin: 0 0 16px;
	color: #1c2026;
	font-size: clamp(26px, 2.6vw, 38px);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.1;
}

.esp-product-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	border-top: 1px solid var(--esp-line);
	border-left: 1px solid var(--esp-line);
}

.esp-product-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	background: #fff;
	border-right: 1px solid var(--esp-line);
	border-bottom: 1px solid var(--esp-line);
	transition: box-shadow 0.2s, transform 0.2s;
}

.esp-product-card:hover {
	position: relative;
	z-index: 2;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
	transform: translateY(-2px);
}
.esp-product-card p{
	display: none;
}

.esp-product-image {
	display: grid;
	width: 100%;
	aspect-ratio: 1.18 / 1;
	place-items: center;
	/* padding: 18px 16px 10px; */
	padding: 0px 16px 10px;
	background: #fff;
	overflow: hidden;
}

.esp-product-image img {
	width: 100%;
	height: 100%;
	margin: 0 !important;
	object-fit: contain;
	transition: transform 0.25s;
}
.esp-product-image br{
	display: none;
}

.esp-product-card:hover .esp-product-image img {
	transform: scale(1.035);
}

.esp-product-image .esp-chip-placeholder {
	width: 58%;
}

.esp-product-info {
	display: flex;
	min-height: 190px;
	flex: 1 1 auto;
	flex-direction: column;
	padding: 10px 13px 16px;
}

.esp-product-info h3 {
	display: -webkit-box;
	overflow: hidden;
	min-height: 42px;
	margin: 0 0 5px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	color: #111827;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: -0.01em;
	line-height: 1.35;
}

.esp-product-info h3 a {
	color: inherit;
}

.esp-product-info h3 a:hover {
	color: var(--esp-blue);
}
.esp-product-info p{
	display: none;
}

.esp-product-category {
	overflow: hidden;
	margin-bottom: 4px;
	color: #9aa0a8;
	font-size: 11px;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.esp-product-rating {
	height: 18px;
	color: #f6b900;
	font-size: 11px;
}

.esp-product-rating .star-rating {
	float: none;
	margin: 0;
}

.esp-product-price,
.esp-product-price .amount {
	color: #0069d9;
	font-size: 13px;
	font-weight: 600;
}

.esp-product-price del,
.esp-product-price del .amount {
	color: #98a0a9;
	font-size: 11px;
}

.esp-product-price ins {
	text-decoration: none;
}

.esp-product-actions {
	margin-top: auto;
	padding-top: 12px;
}

.esp-product-actions .button {
	box-sizing: border-box;
	display: inline-flex;
	width: 100%;
	min-height: 38px;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 9px 10px;
	font-size: 11px;
	line-height: 1.2;
	text-align: center;
	white-space: normal;
}

.esp-product-actions .added_to_cart {
	display: block;
	margin-top: 7px;
	font-size: 11px;
	text-align: center;
}

.esp-product-card--placeholder .esp-product-category {
	white-space: normal;
}

/* Blog */
.esp-blog {
	margin-top: 12px;
	margin-bottom: 54px;
}

.esp-blog h2 {
	font-size: 24px;
	font-weight: 600;
}

.esp-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 42px;
	row-gap: 28px;
}

.esp-blog-grid article {
	min-width: 0;
	border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
}

.esp-blog-grid h3 {
	margin: 0;
	color: #161b22;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
}

.esp-blog-grid h3 a {
	color: inherit;
}

.esp-blog-grid h3 a:hover {
	color: var(--esp-blue);
}

.esp-blog-grid time {
	display: block;
	margin: 6px 0 13px;
	color: #969da6;
	font-size: 10px;
}

.esp-read-more {
	display: inline-block;
	color: #161b22;
	font-size: 10px;
	font-weight: 600;
}

/* Shared English content pages */
.esp-content-page {
	background: #fff;
	color: var(--esp-ink);
	font-family: Inter, Arial, Helvetica, sans-serif;
}

.esp-page-hero {
	padding: clamp(72px, 9vw, 126px) 0;
	background:
		radial-gradient(circle at 82% 20%, rgba(24, 199, 191, 0.2), transparent 30%),
		linear-gradient(125deg, #06162b, #0a3156 58%, #087d85);
	color: #fff;
}

.esp-page-hero--compact {
	padding: clamp(58px, 7vw, 88px) 0;
}

.esp-page-hero-inner {
	max-width: 880px;
	margin-left: max(22px, calc((100% - var(--esp-shell)) / 2));
}

.esp-page-kicker {
	margin: 0 0 14px;
	color: #13bfc2;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.18em;
	line-height: 1.3;
}

.esp-page-hero .esp-page-kicker {
	color: #74eee3;
}

.esp-page-hero h1 {
	margin: 0;
	color: #fff;
	font-size: clamp(46px, 7vw, 82px);
	font-weight: 750;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.esp-page-hero--compact h1 {
	font-size: clamp(44px, 6vw, 68px);
}

.esp-page-hero-inner > p:last-of-type {
	max-width: 750px;
	margin: 24px 0 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: clamp(16px, 1.8vw, 21px);
	line-height: 1.65;
}

.esp-page-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.esp-primary-button,
.esp-secondary-button {
	display: inline-flex;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	padding: 12px 23px;
	border: 1px solid transparent;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 750;
	line-height: 1;
	text-decoration: none !important;
	transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.esp-primary-button {
	background: #0db8bb;
	color: #fff !important;
}

.esp-secondary-button {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.45);
	color: #fff !important;
}

.esp-primary-button:hover,
.esp-secondary-button:hover {
	box-shadow: 0 12px 25px rgba(0, 0, 0, 0.16);
	transform: translateY(-2px);
}

.esp-solutions-section,
.esp-delivery-process,
.esp-blog-archive,
.esp-contact-directory,
.esp-contact-panel {
	padding-top: clamp(56px, 7vw, 86px);
	padding-bottom: clamp(56px, 7vw, 86px);
}

.esp-section-heading {
	max-width: 680px;
	margin-bottom: 34px;
}

.esp-section-heading h2,
.esp-page-cta h2,
.esp-contact-intro h2 {
	margin: 0;
	color: #101c2a;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 700;
	letter-spacing: -0.045em;
	line-height: 1.08;
}

.esp-solutions-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.esp-solution-card {
	position: relative;
	min-width: 0;
	padding: 30px;
	background: #fff;
	border: 1px solid #e5eaf0;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(15, 35, 55, 0.05);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.esp-solution-card:hover {
	border-color: rgba(13, 184, 187, 0.48);
	box-shadow: 0 18px 40px rgba(15, 35, 55, 0.1);
	transform: translateY(-3px);
}

.esp-solution-icon {
	display: grid;
	width: 48px;
	height: 48px;
	place-items: center;
	background: #e8fafa;
	border-radius: 7px;
	color: #078b91;
	font-size: 28px;
}

.esp-solution-eyebrow {
	margin: 22px 0 8px !important;
	color: #0b969a !important;
	font-size: 10px !important;
	font-weight: 800;
	letter-spacing: 0.13em;
}

.esp-solution-card h3 {
	margin: 0;
	color: #111c29;
	font-size: 23px;
	letter-spacing: -0.03em;
}

.esp-solution-card > p:not(.esp-solution-eyebrow) {
	min-height: 72px;
	margin: 13px 0 18px;
	color: #5e6b78;
	font-size: 14px;
	line-height: 1.7;
}

.esp-solution-card ul,
.esp-contact-intro ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.esp-solution-card li,
.esp-contact-intro li {
	position: relative;
	padding: 7px 0 7px 18px;
	color: #344250;
	font-size: 13px;
	line-height: 1.45;
}

.esp-solution-card li::before,
.esp-contact-intro li::before {
	position: absolute;
	top: 13px;
	left: 1px;
	width: 6px;
	height: 6px;
	background: #0db8bb;
	border-radius: 50%;
	content: "";
}

.esp-delivery-process {
	border-top: 1px solid var(--esp-line);
}

.esp-delivery-process ol {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid #dce3e9;
	border-bottom: 1px solid #dce3e9;
}

.esp-delivery-process li {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 8px;
	padding: 26px 24px;
	border-right: 1px solid #dce3e9;
}

.esp-delivery-process li:last-child {
	border-right: 0;
}

.esp-delivery-process li b {
	color: #0eaaad;
	font-size: 12px;
	letter-spacing: 0.12em;
}

.esp-delivery-process li strong {
	color: #152333;
	font-size: 20px;
}

.esp-delivery-process li span {
	color: #667482;
	font-size: 13px;
	line-height: 1.55;
}

.esp-page-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: clamp(58px, 8vw, 96px);
	padding: clamp(30px, 5vw, 52px);
	background: linear-gradient(120deg, #eaf9f8, #e8f1fa);
	border-radius: 8px;
}

/* Blog archive: one article occupies one complete row. */
.esp-blog-list {
	border-top: 1px solid var(--esp-line);
}

.esp-blog-row {
	display: grid;
	grid-template-columns: minmax(230px, 310px) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 52px);
	padding: 32px 0;
	border-bottom: 1px solid var(--esp-line);
}

.esp-blog-row-image {
	display: block;
	min-height: 190px;
	background: #e9f5f6;
	border-radius: 6px;
	overflow: hidden;
}

.esp-blog-row-image img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 190px;
	margin: 0 !important;
	object-fit: cover;
	transition: transform 0.3s;
}

.esp-blog-row:hover .esp-blog-row-image img {
	transform: scale(1.035);
}

.esp-blog-placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	min-height: 190px;
	place-items: center;
	background: linear-gradient(135deg, #0c2943, #0b8c8d);
	color: rgba(255, 255, 255, 0.84);
	font-size: 70px;
}

.esp-blog-row-content {
	display: flex;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
}

.esp-blog-row-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	color: #82909d;
	font-size: 11px;
	font-weight: 650;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.esp-blog-row-meta a {
	color: #0b989c;
}

.esp-blog-row h2 {
	margin: 13px 0 10px;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 680;
	letter-spacing: -0.04em;
	line-height: 1.18;
}

.esp-blog-row h2 a {
	color: #121e2c;
}

.esp-blog-row h2 a:hover {
	color: #078f94;
}

.esp-blog-row-content > p {
	max-width: 760px;
	margin: 0 0 17px;
	color: #64717d;
	font-size: 14px;
	line-height: 1.7;
}

.esp-blog-read {
	align-self: flex-start;
	color: #087e84;
	font-size: 13px;
	font-weight: 750;
}

.esp-blog-pagination {
	margin-top: 36px;
}

.esp-blog-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.esp-blog-pagination a,
.esp-blog-pagination span {
	display: grid;
	min-width: 39px;
	height: 39px;
	padding: 0 10px;
	place-items: center;
	border: 1px solid var(--esp-line);
	border-radius: 4px;
	color: #354351;
	font-size: 12px;
}

.esp-blog-pagination .current {
	background: #0b9da1;
	border-color: #0b9da1;
	color: #fff;
}

.esp-empty-state {
	padding: 70px 20px;
	background: #f4f8fa;
	text-align: center;
}

/* Contact page */
.esp-contact-channels,
.esp-contact-locations {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.esp-contact-channels article,
.esp-contact-locations article {
	padding: 28px;
	background: #f7fafb;
	border: 1px solid #e5ebef;
	border-radius: 7px;
}

.esp-contact-channels article > span,
.esp-contact-locations article > span {
	display: grid;
	width: 44px;
	height: 44px;
	place-items: center;
	background: #e1f7f5;
	border-radius: 6px;
	color: #078f94;
	font-size: 25px;
}

.esp-contact-channels h3,
.esp-contact-locations h3 {
	margin: 20px 0 10px;
	font-size: 20px;
}

.esp-contact-channels a {
	color: #078f94;
	font-size: 13px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.esp-contact-channels p,
.esp-contact-locations p {
	margin: 8px 0 0;
	color: #657481;
	font-size: 13px;
	line-height: 1.65;
}

.esp-contact-location-heading {
	margin-top: clamp(52px, 7vw, 82px);
}

.esp-contact-panel {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(36px, 7vw, 90px);
	border-top: 1px solid var(--esp-line);
}

.esp-contact-intro > p:not(.esp-page-kicker) {
	margin: 20px 0;
	color: #677582;
	font-size: 14px;
	line-height: 1.7;
}

.esp-contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.esp-contact-form label {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 7px;
	color: #354351;
	font-size: 12px;
	font-weight: 700;
}

.esp-contact-form input,
.esp-contact-form select,
.esp-contact-form textarea {
	width: 100%;
	min-height: 46px;
	padding: 11px 12px;
	background: #fff;
	border: 1px solid #cfd8df;
	border-radius: 4px;
	color: #172331;
	font-family: inherit;
	font-size: 14px;
}

.esp-contact-form input:focus,
.esp-contact-form select:focus,
.esp-contact-form textarea:focus {
	border-color: #0aa9ad;
	box-shadow: 0 0 0 3px rgba(10, 169, 173, 0.12);
	outline: 0;
}

.esp-contact-message,
.esp-contact-form .esp-primary-button {
	grid-column: 1 / -1;
}

.esp-contact-form .esp-primary-button {
	justify-self: start;
	border: 0;
	cursor: pointer;
}

.esp-contact-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.esp-form-notice {
	margin-bottom: 18px;
	padding: 13px 15px;
	border-left: 4px solid;
	font-size: 13px;
	line-height: 1.5;
}

.esp-form-notice.is-success {
	background: #e9f8ef;
	border-color: #28a75d;
	color: #176c3b;
}

.esp-form-notice.is-error {
	background: #fff0f0;
	border-color: #d94040;
	color: #8b2828;
}

@media (max-width: 900px) {
	.esp-solutions-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.esp-delivery-process ol {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.esp-delivery-process li:nth-child(2) {
		border-right: 0;
	}

	.esp-delivery-process li:nth-child(-n + 2) {
		border-bottom: 1px solid #dce3e9;
	}

	.esp-contact-channels,
	.esp-contact-locations {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.esp-contact-panel {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 700px) {
	.esp-page-hero-inner {
		margin-inline: 22px;
	}

	.esp-solutions-grid,
	.esp-delivery-process ol,
	.esp-contact-channels,
	.esp-contact-locations,
	.esp-contact-form {
		grid-template-columns: 1fr;
	}

	.esp-solution-card > p:not(.esp-solution-eyebrow) {
		min-height: 0;
	}

	.esp-delivery-process li,
	.esp-delivery-process li:nth-child(2) {
		border-right: 0;
		border-bottom: 1px solid #dce3e9;
	}

	.esp-delivery-process li:last-child {
		border-bottom: 0;
	}

	.esp-page-cta {
		align-items: flex-start;
		flex-direction: column;
	}

	.esp-blog-row {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.esp-blog-row-image,
	.esp-blog-row-image img,
	.esp-blog-placeholder {
		min-height: 210px;
	}

	.esp-contact-message,
	.esp-contact-form .esp-primary-button {
		grid-column: auto;
	}
}

/* Benefits and footer */
.esp-benefits {
	background: var(--esp-black);
	color: #fff;
}

.esp-benefits-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	min-height: 136px;
	align-items: center;
}

.esp-benefits-grid > div {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	padding: 20px;
	font-size: 14px;
	font-weight: 500;
}

.esp-benefits-grid span {
	font-size: 33px;
}

.esp-store-footer {
	background: var(--esp-black);
	color: #fff;
}

.esp-footer-grid {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1.15fr;
	gap: 50px;
	padding-top: 54px;
	padding-bottom: 45px;
	border-top: 1px solid #222;
}

.esp-footer-grid h2 {
	margin: 0 0 18px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.esp-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.esp-footer-links li + li {
	margin-top: 9px;
}

.esp-footer-links a,
.esp-footer-links .esp-link-disabled,
.esp-stay-tuned p {
	color: #d4d7db;
	font-size: 11px;
	line-height: 1.45;
}

.esp-footer-links a:hover {
	color: #fff;
}

.esp-stay-tuned p {
	margin: -4px 0 13px;
}

.esp-newsletter-form {
	display: grid;
	grid-template-columns: 1fr;
	gap: 7px;
}

.esp-newsletter-form label {
	display: block;
}

.esp-newsletter-form input[type="email"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 34px;
	border: 1px solid transparent;
	border-radius: 0;
	padding: 9px 12px;
	background: #fff;
	color: #20242a;
	font-size: 10px;
}

.esp-newsletter-form input[type="email"]::placeholder {
	color: #767b83;
	opacity: 1;
}

.esp-newsletter-form button {
	display: grid;
	width: 100%;
	min-height: 34px;
	border: 0;
	border-radius: 0;
	/* padding: 0 12px; */
	padding: 0px;
	place-items: center;
	background: #2e91e8;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	cursor: pointer;
	margin-top: 10px;
}

.esp-newsletter-form button:hover {
	background: #1477ce;
}

.esp-newsletter-form input[type="email"]:focus-visible,
.esp-newsletter-form button:focus-visible {
	outline: 2px solid #8bc8ff;
	outline-offset: 2px;
}
.esp-newsletter-form br{
	display: none;
}
.esp-stay-tuned .esp-newsletter-message {
	margin: 9px 0 0;
	font-weight: 600;
}

.esp-stay-tuned .esp-newsletter-message.is-success {
	color: #8ee0aa;
}

.esp-stay-tuned .esp-newsletter-message.is-error {
	color: #ffaaaa;
}

.esp-social-placeholders {
	display: flex;
	gap: 5px;
	margin-top: 13px;
}

.esp-social-placeholders span {
	display: grid;
	width: 25px;
	height: 25px;
	place-items: center;
	background: #273753;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
}

.esp-social-placeholders span:last-child {
	background: #e10023;
}

.esp-copyright {
	padding: 22px 0 38px;
	border-top: 1px solid #2a2a2a;
	color: #cfd3d8;
	font-size: 10px;
}

@media (max-width: 1120px) {
	.esp-account-link > span:last-child,
	.esp-cart-total {
		display: none;
	}

	.esp-desktop-nav > .esp-nav-list {
		gap: 10px;
	}

	.esp-nav-list a {
		font-size: 11px;
	}

	.esp-product-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

}

@media (max-width: 930px) {
	.esp-header-inner {
		justify-content: space-between;
	}

	.esp-desktop-nav {
		display: none;
	}

	.esp-mobile-menu {
		display: block;
	}

	.esp-footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.esp-shell {
		width: min(calc(100% - 28px), var(--esp-shell));
	}

	.esp-header-inner {
		min-height: 60px;
		gap: 8px;
	}

	.esp-header-actions {
		/* gap: 5px; */
		flex: 1;
        justify-content: flex-end;
	}

	.esp-site-logo-image {
		width: 40px;
		height: 40px;
		max-width: 40px;
	}

	.esp-account-link {
		display: none;
	}

	.esp-product-search:focus-within {
		position: absolute;
		top: 8px;
		right: 108px;
		left: 60px;
		background: #fff;
	}

	.esp-product-search:focus-within input[type="search"] {
		width: 100%;
	}

	.esp-banner-slider {
		margin-top: 8px;
	}

	.esp-banner-viewport,
	.esp-banner-track {
		aspect-ratio: 16 / 7;
	}

	.esp-banner-arrow {
		width: 30px;
		height: 42px;
		font-size: 26px;
	}

	.esp-banner-arrow--prev {
		left: 6px;
	}

	.esp-banner-arrow--next {
		right: 6px;
	}

	.esp-banner-dots {
		bottom: 7px;
	}

	.esp-promo-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
		margin-top: 8px;
		margin-bottom: 30px;
	}

	.esp-promo-card {
		min-height: 68px;
		margin-left: 0;
		padding: 8px;
	}

	.esp-promo-icon {
		width: 34px;
		height: 34px;
		font-size: 20px;
	}

	.esp-promo-card strong {
		font-size: 12px;
	}

	.esp-promo-card small {
		font-size: 8px;
	}

	.esp-product-section {
		margin-top: 34px;
	}

	.esp-product-section h2 {
		font-size: 27px;
	}

	.esp-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.esp-product-image {
		padding: 12px 10px 7px;
	}

	.esp-product-info {
		min-height: 132px;
		padding: 9px 10px 13px;
	}

	.esp-product-info h3 {
		font-size: 12px;
	}

	.esp-blog-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.esp-benefits-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 18px 0;
	}

	.esp-benefits-grid > div {
		justify-content: flex-start;
		padding: 14px 8px;
		font-size: 12px;
	}

	.esp-benefits-grid span {
		font-size: 28px;
	}

	.esp-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 35px 24px;
		padding-top: 42px;
	}
}

@media (max-width: 430px) {
	.esp-product-info h3 {
		min-height: 48px;
	}

	.esp-footer-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.esp-store-front *,
	.esp-store-front *::before,
	.esp-store-front *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}


/* 新增 */
/* 商品详情页：短描述完整展示并自动换行 */
.single-product .wp-block-woocommerce-product-summary,
.single-product .wc-block-components-product-summary,
.single-product .woocommerce-product-details__short-description {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-height: none !important;

	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;

	-webkit-line-clamp: unset !important;
	-webkit-box-orient: initial !important;

	word-break: normal;
	overflow-wrap: anywhere;
}

.single-product .wp-block-woocommerce-product-summary p,
.single-product .wc-block-components-product-summary p,
.single-product .woocommerce-product-details__short-description p {
	white-space: normal !important;
	overflow-wrap: anywhere;
	margin-bottom: 10px;
}

/* Product page: real WooCommerce direct-purchase actions. */
.single-product form.cart .esp-direct-purchase-actions {
	clear: both;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	width: 100%;
	padding-top: 14px;
}

.single-product form.cart .esp-direct-purchase-actions.has-buy-now-only {
	grid-template-columns: 1fr;
}

.single-product form.cart .esp-direct-purchase-actions .button {
	float: none;
	display: inline-flex;
	width: 100%;
	min-height: 48px;
	align-items: center;
	justify-content: center;
	margin: 0;
	border: 0;
	border-radius: 4px;
	box-shadow: none;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	text-transform: none;
}

.single-product form.cart .esp-buy-now-button,
.single-product form.cart .esp-buy-now-button:hover,
.single-product form.cart .esp-buy-now-button:focus {
	background: var(--esp-blue);
	color: #fff;
}

.single-product form.cart .esp-paypal-button,
.single-product form.cart .esp-paypal-button:hover,
.single-product form.cart .esp-paypal-button:focus {
	background: #ffc439;
	color: #111820;
}

.single-product form.cart .esp-direct-purchase-actions .button.disabled,
.single-product form.cart .esp-direct-purchase-actions .button:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.esp-paypal-mark {
	display: inline-flex;
	align-items: baseline;
	font-size: 21px;
	font-style: italic;
	letter-spacing: -1.2px;
}

.esp-paypal-mark strong {
	color: #003087;
}

.esp-paypal-mark b {
	color: #0070e0;
}

.esp-secure-checkout-note {
	clear: both;
	display: flex;
	align-items: center;
	gap: 7px;
	padding-top: 12px;
	color: #52606d;
	font-size: 12px;
}

.esp-secure-checkout-note svg {
	flex: 0 0 auto;
	font-size: 17px;
}

.esp-paypal-admin-note {
	clear: both;
	margin: 9px 0 0;
	padding: 9px 11px;
	background: #fff8db;
	border-left: 3px solid #ffc439;
	color: #624b00;
	font-size: 12px;
	line-height: 1.45;
}

/* Native WooCommerce PayPal Payments Smart Button container. */
.single-product .ppc-button-wrapper,
.single-product .ppcp-button-wrapper {
	clear: both;
	width: 100%;
	margin-top: 10px;
}

/* Offset only the desktop product gallery without moving following sections. */
@media (min-width: 782px) {
	.single-product .wp-block-woocommerce-single-product > .wp-block-columns > .wp-block-column:first-child {
		position: relative;
		top: 50px;
	}
}

/* Cart page: render the actual WooCommerce cart in a stable full-width shell. */
.esp-cart-page {
	padding: 34px 0 72px;
	background: #fff;
}

.esp-cart-heading {
	gap: 20px;
	padding: 0 0 20px;
	border-bottom: 1px solid var(--esp-line);
}

.esp-cart-heading .wp-block-post-title {
	margin: 0;
	color: var(--esp-ink);
	font-size: clamp(28px, 4vw, 40px);
	line-height: 1.15;
}

.esp-cart-heading .woocommerce-breadcrumb {
	margin: 0;
	color: var(--esp-muted);
	font-size: 12px;
}

.esp-cart-content {
	padding-top: 28px;
}

.esp-cart-content .wp-block-shortcode,
.esp-cart-content .woocommerce {
	width: 100%;
}

.esp-cart-content table.shop_table {
	width: 100%;
	margin: 0 0 30px;
	border: 1px solid var(--esp-line);
	border-collapse: collapse;
	border-radius: 6px;
	background: #fff;
}

.esp-cart-content table.shop_table th,
.esp-cart-content table.shop_table td {
	padding: 14px;
	border: 0;
	border-bottom: 1px solid var(--esp-line);
	text-align: left;
	vertical-align: middle;
}

.esp-cart-content table.shop_table th {
	background: #f7f9fb;
	color: #344054;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.esp-cart-content table.shop_table td {
	color: var(--esp-ink);
	font-size: 14px;
}

.esp-cart-content .product-thumbnail img {
	width: 76px;
	height: 76px;
	object-fit: contain;
}

.esp-cart-content .product-name a {
	color: var(--esp-ink);
	font-weight: 600;
}

.esp-cart-content .quantity .qty {
	width: 76px;
	min-height: 40px;
	padding: 8px;
	border: 1px solid #ccd3dc;
	border-radius: 4px;
	text-align: center;
}

.esp-cart-content .button,
.esp-cart-content button.button,
.esp-cart-content a.checkout-button {
	min-height: 42px;
	padding: 12px 20px;
	border: 0;
	border-radius: 4px;
	background: var(--esp-blue);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.esp-cart-content .coupon {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.esp-cart-content .coupon .input-text {
	min-height: 42px;
	padding: 8px 12px;
	border: 1px solid #ccd3dc;
	border-radius: 4px;
}

.esp-cart-content .cart-collaterals {
	display: flex;
	justify-content: flex-end;
}

.esp-cart-content .cart_totals {
	width: min(100%, 460px);
	padding: 24px;
	background: #f7f9fb;
	border: 1px solid var(--esp-line);
	border-radius: 6px;
}

.esp-cart-content .cart_totals h2 {
	margin-top: 0;
	font-size: 24px;
}

.esp-cart-content .wc-proceed-to-checkout {
	padding-bottom: 0;
}

.esp-cart-content .wc-proceed-to-checkout .checkout-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin-bottom: 0;
}

.esp-shared-page {
	min-height: 48vh;
	padding: 42px 22px 70px;
}

@media (min-width: 701px) {
	.single-product .wp-block-woocommerce-add-to-cart-form form.cart,
	.single-product .wp-block-woocommerce-add-to-cart-form .variations_button {
		grid-template-columns: min-content minmax(128px, 1fr) minmax(112px, 1fr);
		column-gap: 6px;
		align-items: stretch;
	}

	.single-product .wp-block-woocommerce-add-to-cart-form form.cart > .quantity,
	.single-product .wp-block-woocommerce-add-to-cart-form .variations_button > .quantity {
		grid-column: 1 / 2;
		grid-row: 2;
		margin-right: 0;
	}

	.single-product .wp-block-woocommerce-add-to-cart-form form.cart > .single_add_to_cart_button,
	.single-product .wp-block-woocommerce-add-to-cart-form .variations_button > .single_add_to_cart_button {
		display: inline-flex;
		grid-row: 2;
		width: 100%;
		min-width: 0;
		min-height: 48px;
		align-items: center;
		justify-content: center;
		margin: 0;
		padding-inline: 10px;
		box-sizing: border-box;
		font-size: 13px;
		line-height: 1.15;
		letter-spacing: 0;
		white-space: nowrap;
	}

	.single-product form.cart > .esp-direct-purchase-actions,
	.single-product form.cart .variations_button > .esp-direct-purchase-actions {
		grid-column: 3 / 4;
		grid-row: 2;
		clear: none;
		padding-top: 0;
	}

	.single-product form.cart .esp-direct-purchase-actions .button {
		min-width: 0;
		padding-inline: 10px;
		font-size: 13px;
		line-height: 1.15;
		letter-spacing: 0;
		white-space: nowrap;
	}
}

@media (max-width: 700px) {
	.single-product form.cart .esp-direct-purchase-actions {
		grid-template-columns: 1fr;
	}

	.esp-cart-page {
		padding-top: 24px;
	}

	.esp-cart-content table.shop_table_responsive tr td {
		padding: 12px;
	}

	.esp-cart-content .coupon,
	.esp-cart-content .coupon .input-text,
	.esp-cart-content .coupon .button,
	.esp-cart-content table.shop_table .actions > .button {
		width: 100%;
	}
}

@media (min-width: 769px) {
    .single-product form.variations_form table.variations tr {
        margin-top: 10px;
    }
}


.woocommerce div.product form.cart {
    margin-bottom: 1em
}
