@import url("../vendor/pretendard.min.css");

/**
 * Block editor canvas. The static page CSS targets the real document.
 * Gutenberg inserts layout wrappers between a block and its children, and
 * global styles set a content width and their own type stack. This file
 * restores the static page's type, full-bleed layout, and image frames.
 */

.editor-styles-wrapper {
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	color: #101820 !important;
	font-family: Pretendard, Inter, Arial, Helvetica, sans-serif !important;
	font-size: 16px !important;
	line-height: 1.75 !important;
	font-weight: 400 !important;
	overflow-x: hidden;
}

.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6,
.editor-styles-wrapper p,
.editor-styles-wrapper a,
.editor-styles-wrapper button,
.editor-styles-wrapper li,
.editor-styles-wrapper span,
.editor-styles-wrapper label,
.editor-styles-wrapper input,
.editor-styles-wrapper textarea {
	font-family: Pretendard, Inter, Arial, Helvetica, sans-serif !important;
}

.editor-styles-wrapper a {
	color: inherit !important;
	text-decoration: none;
}

.editor-styles-wrapper .site-header .nav > a,
.editor-styles-wrapper .site-header .nav > .has-mega > a,
.editor-styles-wrapper .site-header .nav-btn {
	font-family: Pretendard, Inter, Arial, Helvetica, sans-serif !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em !important;
	line-height: 1.2 !important;
}

.editor-styles-wrapper .is-root-container.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.editor-styles-wrapper .wp-block {
	max-width: none !important;
}

/* Let flex/grid parents see their real children, not the editor's list box. */
.editor-styles-wrapper .block-editor-inner-blocks,
.editor-styles-wrapper .block-editor-block-list__layout:not(.is-root-container) {
	display: contents !important;
}

/* Motion CSS hides copy until front-end JS adds .in. Keep it readable here. */
.editor-styles-wrapper .reveal {
	opacity: 1 !important;
	animation: none !important;
	transform: none !important;
}
/* Banner title is centered with this transform. The reveal offset must not replace it. */
.editor-styles-wrapper .about-banner-title.reveal {
	transform: translateY(-50%) !important;
}
.editor-styles-wrapper .hero h1 .word,
.editor-styles-wrapper .line .word {
	opacity: 1 !important;
	transform: none !important;
	animation: none !important;
}

.editor-styles-wrapper img.hero-slide-img,
.editor-styles-wrapper video.hero-slide-img,
.editor-styles-wrapper img.local-img,
.editor-styles-wrapper img.result-media-img,
.editor-styles-wrapper img.map-img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
}

/* The canvas title is the WordPress page name, not part of the static page.
   Hiding the field still leaves the wrapper's 4rem top margin, which pushes
   the hero down under the fixed header. */
.editor-styles-wrapper .editor-post-title,
.editor-styles-wrapper .wp-block-post-title {
	display: none !important;
}
.editor-styles-wrapper .editor-visual-editor__post-title-wrapper,
.editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper {
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	overflow: hidden !important;
}

.editor-styles-wrapper .wp-block.site-header {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	display: flex !important;
	align-items: center !important;
	height: 82px !important;
	background: #fff !important;
	box-shadow: 0 1px 0 rgba(44, 104, 228, 0.08) !important;
}
.editor-styles-wrapper .header-tools {
	display: flex !important;
	align-items: center !important;
	gap: 16px !important;
	margin-left: 26px !important;
}
.editor-styles-wrapper .wp-block.header-icon {
	width: 28px !important;
	height: 28px !important;
	min-height: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: #101820 !important;
	display: grid !important;
	place-items: center !important;
	line-height: 0 !important;
}
.editor-styles-wrapper .header-icon svg {
	width: 19px !important;
	height: 19px !important;
	display: block !important;
	fill: none !important;
	stroke: currentColor !important;
	stroke-width: 1.7;
}
.editor-styles-wrapper .header-inner {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	width: calc(100% - 64px) !important;
	max-width: 1480px !important;
	margin: 0 auto !important;
}
.editor-styles-wrapper .site-header .nav {
	display: flex !important;
	align-items: center !important;
	gap: 34px !important;
}
.editor-styles-wrapper .site-header .nav a {
	display: inline-flex !important;
	align-items: center !important;
	padding: 30px 0 !important;
	font-family: Pretendard, Inter, Arial, Helvetica, sans-serif !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em !important;
	color: #101820 !important;
	line-height: 1.2 !important;
}
.editor-styles-wrapper .site-header .nav a.is-current {
	color: #2c68e4 !important;
}
.editor-styles-wrapper .wp-block.has-mega {
	position: relative !important;
}

/* Gutenberg sets .wp-block { position: relative }, which pulls fixed and
   absolute page pieces back into the document flow. */
.editor-styles-wrapper .wp-block.scroll-rail {
	position: fixed !important;
	right: 18px;
	top: 50%;
	width: 2px;
	height: 210px;
	transform: translateY(-50%);
}
.editor-styles-wrapper .wp-block.mega:not(.about-mega) {
	position: absolute !important;
	top: 82px !important;
	left: 0 !important;
	right: 0 !important;
	width: auto !important;
	min-width: 720px !important;
	margin: 0 !important;
	background: #fff !important;
	border: 0 !important;
	border-top: 1px solid #d5e1f8 !important;
	box-shadow: 0 18px 45px rgba(44, 104, 228, 0.1) !important;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-12px) !important;
	z-index: 1001;
}
.editor-styles-wrapper .has-mega:hover > .wp-block.mega:not(.about-mega),
.editor-styles-wrapper .wp-block.mega:not(.about-mega):hover {
	opacity: 1;
	visibility: visible;
	transform: none !important;
}
.editor-styles-wrapper .site-header .mega:not(.about-mega) a {
	display: block !important;
	padding: 0 !important;
	font-size: 16px !important;
	font-weight: 400 !important;
	color: #101820 !important;
}
.editor-styles-wrapper .wp-block.about-mega {
	position: absolute !important;
	top: 100% !important;
	left: 0 !important;
	right: auto !important;
	width: max-content !important;
	min-width: 300px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #fff !important;
	border: 1px solid #d5e1f8 !important;
	border-top: 0 !important;
	box-shadow: 0 18px 45px rgba(44, 104, 228, 0.12) !important;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-12px) !important;
	z-index: 1001;
}
.editor-styles-wrapper .has-mega:hover .wp-block.about-mega,
.editor-styles-wrapper .wp-block.about-mega:hover {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) !important;
}
.editor-styles-wrapper .about-mega-inner {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 0 !important;
	width: auto !important;
	max-width: none !important;
	padding: 8px 0 !important;
}
.editor-styles-wrapper .site-header .about-mega-inner a {
	display: block !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 13px 24px !important;
	color: #101820 !important;
	font-family: Pretendard, Inter, Arial, Helvetica, sans-serif !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: 0.01em !important;
	line-height: 1.4 !important;
	white-space: nowrap !important;
}
.editor-styles-wrapper .site-header .about-mega-inner a:hover {
	color: #2c68e4 !important;
	background: rgba(44, 104, 228, 0.035) !important;
}
.editor-styles-wrapper .brand img,
.editor-styles-wrapper .footer-brand img {
	width: 136px !important;
	height: auto !important;
	max-width: 136px !important;
}
.editor-styles-wrapper .wp-block.select-arrow {
	position: absolute !important;
	right: 15px;
	top: 50%;
	transform: translateY(-50%) rotate(90deg) !important;
}
.editor-styles-wrapper .wp-block.oem-panel {
	position: absolute !important;
	inset: 0;
}
.editor-styles-wrapper .oem-panel:first-child {
	opacity: 1 !important;
	transform: none !important;
}

/* Same frame as the static page: one 2×2 group, the rest stay in the carousel. */
.editor-styles-wrapper .products .product-carousel {
	overflow: hidden !important;
}
.editor-styles-wrapper .products .product-track {
	display: flex !important;
	flex-direction: row !important;
	width: 100% !important;
	gap: 0 !important;
	transform: none !important;
}
.editor-styles-wrapper .products .product-page {
	flex: 0 0 100% !important;
	width: 100% !important;
	min-width: 100% !important;
	margin: 0 !important;
}
.editor-styles-wrapper[data-product-page="1"] .products .product-track { transform: translate3d(-100%, 0, 0) !important; }
.editor-styles-wrapper[data-product-page="2"] .products .product-track { transform: translate3d(-200%, 0, 0) !important; }
.editor-styles-wrapper[data-product-page="3"] .products .product-track { transform: translate3d(-300%, 0, 0) !important; }
.editor-styles-wrapper[data-product-page="4"] .products .product-track { transform: translate3d(-400%, 0, 0) !important; }

/* About Us: Gutenberg's .wp-block { position: relative } pulls these out of place. */
.editor-styles-wrapper .wp-block.about-banner-title,
.editor-styles-wrapper .wp-block.profile-bg,
.editor-styles-wrapper .wp-block.profile-video-play,
.editor-styles-wrapper .wp-block.ghost-year,
.editor-styles-wrapper .wp-block.dev-preview,
.editor-styles-wrapper .wp-block.timeline-area,
.editor-styles-wrapper .wp-block.timeline-line,
.editor-styles-wrapper .wp-block.dev-controls,
.editor-styles-wrapper .wp-block.pin,
.editor-styles-wrapper .wp-block.shipping-card {
	position: absolute !important;
}
.editor-styles-wrapper .wp-block.video-modal {
	position: fixed !important;
}
.editor-styles-wrapper .dev-preview.show {
	opacity: 1 !important;
	transform: translate(-50%, -50%) !important;
}
.editor-styles-wrapper .about-banner img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
}
/* Manufacturing: Gutenberg's relative blocks pull the map pin and packaging frames into the flow. */
.editor-styles-wrapper .wp-block.map-dot,
.editor-styles-wrapper .wp-block.pin-play-icon,
.editor-styles-wrapper .wp-block.pin-label,
.editor-styles-wrapper .wp-block.capacity-overlay {
	position: absolute !important;
}
.editor-styles-wrapper .production-map .wp-block.video-pin {
	position: absolute !important;
	left: calc(31% + 12px) !important;
	top: calc(33% + 7px) !important;
	opacity: 1 !important;
	visibility: visible !important;
	transform: translate(14px, -50%) scale(1) !important;
}
/* The map photo is a replaced image with an inline height:auto, so it keeps
   its own ratio inside the map and #17314b shows as a bar underneath. */
.editor-styles-wrapper .production-map img.map-photo {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center center !important;
}
.editor-styles-wrapper .wp-block.pack-image {
	position: absolute !important;
	inset: 0 !important;
}
.editor-styles-wrapper .wp-block.pack-image.active {
	opacity: 1 !important;
	transform: none !important;
}
.editor-styles-wrapper:has(.production) .wp-block.mega:not(.about-mega) {
	left: 50% !important;
	right: auto !important;
	width: min(1180px, calc(100vw - 50px)) !important;
	min-width: 0 !important;
	transform: translateX(-50%) translateY(-12px) !important;
}
.editor-styles-wrapper:has(.production) .has-mega:hover > .wp-block.mega:not(.about-mega),
.editor-styles-wrapper:has(.production) .wp-block.mega:not(.about-mega):hover {
	transform: translateX(-50%) !important;
}

.editor-styles-wrapper .profile-video {
	cursor: pointer;
}
.editor-styles-wrapper .profile-bg img,
.editor-styles-wrapper .profile-video img,
.editor-styles-wrapper .dev-image-wrap img,
.editor-styles-wrapper .team-photo img,
.editor-styles-wrapper .exhibit-image img,
.editor-styles-wrapper .shipping-image img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
}

/* Product detail. Gutenberg's link color and .wp-block { position: relative }
   override the static page. Restore its type colors, image frames, and overlays.
   The navigation bar stays on the shared home header rules above. */
.editor-styles-wrapper a.btn-primary,
.editor-styles-wrapper .header-cta {
	color: #fff !important;
}
.editor-styles-wrapper a.btn-secondary {
	color: #2c68e4 !important;
}
/* Product detail inquiry only. Contact uses .form and keeps its own button colors. */
.editor-styles-wrapper .inquiry-form a.btn-primary,
.editor-styles-wrapper .inquiry-form button.btn-primary {
	color: #2c68e4 !important;
}
.editor-styles-wrapper .inquiry-form a.btn-secondary,
.editor-styles-wrapper .inquiry-form button.btn-secondary {
	color: #fff !important;
}
/* Contact inquiry: outlined white Send Inquiry, white WhatsApp with blue type. */
.editor-styles-wrapper .inquiry .form button.btn-primary {
	background: transparent !important;
	border-color: #fff !important;
	color: #fff !important;
}
.editor-styles-wrapper .inquiry .form button.btn-primary .arrow-mini,
.editor-styles-wrapper .inquiry .form button.btn-primary .icon-arrow {
	color: #fff !important;
}
.editor-styles-wrapper .inquiry .form a.btn-secondary {
	background: #fff !important;
	border-color: rgba(44, 104, 228, 0.28) !important;
	color: #2c68e4 !important;
}
/* Manufacturing inquiry band: white quote button, outlined WhatsApp button. */
.editor-styles-wrapper .cta a.btn-primary {
	background: #fff !important;
	border-color: #fff !important;
	color: #2c68e4 !important;
}
.editor-styles-wrapper .cta a.btn-primary .btn-arrow,
.editor-styles-wrapper .cta a.btn-primary .icon-arrow {
	color: #2c68e4 !important;
}
.editor-styles-wrapper .cta a.btn-secondary {
	background: transparent !important;
	border-color: rgba(255, 255, 255, 0.75) !important;
	color: #fff !important;
}
.editor-styles-wrapper .footer a {
	color: rgba(255, 255, 255, 0.78) !important;
}
.editor-styles-wrapper .image-slot img {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	opacity: 1 !important;
	cursor: pointer;
}
.editor-styles-wrapper .tangmao-img-editor img {
	cursor: pointer;
}
.editor-styles-wrapper .tangmao-detail-tab-refs {
	display: none !important;
}
.editor-styles-wrapper .image-slot:has(img)::before,
.editor-styles-wrapper .image-slot:has(img) .image-code {
	opacity: 0 !important;
	visibility: hidden !important;
}
.editor-styles-wrapper .overview-visual .image-slot img {
	position: relative !important;
	inset: auto !important;
	width: 100% !important;
	height: auto !important;
	object-fit: contain !important;
	opacity: 1 !important;
}
.editor-styles-wrapper #overview .overview-visual .image-slot.large:has(img) {
	aspect-ratio: auto !important;
	height: auto !important;
}
.editor-styles-wrapper .wp-block.image-code {
	position: absolute !important;
}
.editor-styles-wrapper .wp-block.hero-carousel-controls {
	position: absolute !important;
	inset: 0 !important;
	z-index: 5;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	padding: 0 8px !important;
	pointer-events: none;
}
.editor-styles-wrapper .hero-carousel-controls .carousel-btn {
	pointer-events: auto;
}
.editor-styles-wrapper .wp-block.hero-main-play,
.editor-styles-wrapper .wp-block.hero-thumb-play,
.editor-styles-wrapper .wp-block.hero-video-backdrop,
.editor-styles-wrapper .wp-block.hero-video-close,
.editor-styles-wrapper .wp-block.inquiry-bg {
	position: absolute !important;
}
.editor-styles-wrapper .wp-block.hero-main-play {
	left: 50% !important;
	top: 50% !important;
	transform: translate(-50%, -50%) !important;
	z-index: 4;
}
.editor-styles-wrapper .wp-block.hero-video-modal,
.editor-styles-wrapper .wp-block.back-top {
	position: fixed !important;
}

/* OEM: .wp-block { position: relative } pulls absolute pieces back into the flow. */
.editor-styles-wrapper a.header-cta,
.editor-styles-wrapper .header-cta {
	color: #fff !important;
	white-space: nowrap !important;
}
.editor-styles-wrapper .catalog-media img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
}
.editor-styles-wrapper .wp-block.catalog-icon,
.editor-styles-wrapper .wp-block.cap-icon {
	position: relative !important;
	z-index: 2;
}
.editor-styles-wrapper .catalog-icon > .block-editor-inner-blocks,
.editor-styles-wrapper .cap-icon > .block-editor-inner-blocks,
.editor-styles-wrapper .catalog-icon .block-editor-block-list__layout,
.editor-styles-wrapper .cap-icon .block-editor-block-list__layout,
.editor-styles-wrapper .catalog-icon .wp-block.tm-text,
.editor-styles-wrapper .cap-icon .wp-block.tm-text {
	width: 100% !important;
	height: 100% !important;
	display: grid !important;
	place-items: center !important;
	margin: 0 !important;
	cursor: pointer;
}
.editor-styles-wrapper .catalog-icon img,
.editor-styles-wrapper .cap-icon img {
	position: relative !important;
	inset: auto !important;
	width: 42px !important;
	height: 42px !important;
	max-width: 42px !important;
	object-fit: contain !important;
	opacity: 1 !important;
	transform: none !important;
}
.editor-styles-wrapper .product-icon {
	cursor: pointer;
	pointer-events: auto;
	position: relative;
	z-index: 2;
}
.editor-styles-wrapper .product-icon img {
	width: 100% !important;
	height: 100% !important;
	max-width: 42px !important;
	object-fit: contain !important;
	opacity: 1 !important;
}
/* Quality page: hero overlay and display:contents break click-to-upload on tangmao/img. */
.editor-styles-wrapper .hero .hero-content {
	pointer-events: none !important;
}
.editor-styles-wrapper .hero .hero-content .wp-block,
.editor-styles-wrapper .hero .hero-content .block-editor-rich-text__editable {
	pointer-events: auto !important;
}
.editor-styles-wrapper .hero-media .wp-block-tangmao-img,
.editor-styles-wrapper .news-hero-image .wp-block-tangmao-img,
.editor-styles-wrapper .products-hero-media .wp-block-tangmao-img,
.editor-styles-wrapper .raw-image .wp-block-tangmao-img,
.editor-styles-wrapper .shipment-image .wp-block-tangmao-img,
.editor-styles-wrapper .cert-media .wp-block-tangmao-img {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	min-width: 0;
}
.editor-styles-wrapper .hero-media .tangmao-img-editor,
.editor-styles-wrapper .news-hero-image .tangmao-img-editor,
.editor-styles-wrapper .products-hero-media .tangmao-img-editor,
.editor-styles-wrapper .raw-image .tangmao-img-editor,
.editor-styles-wrapper .shipment-image .tangmao-img-editor,
.editor-styles-wrapper .cert-media .tangmao-img-editor {
	display: block !important;
	width: 100% !important;
}
.editor-styles-wrapper .hero-media .tangmao-img-editor img,
.editor-styles-wrapper .news-hero-image .tangmao-img-editor img,
.editor-styles-wrapper .products-hero-media .tangmao-img-editor img,
.editor-styles-wrapper .raw-image .tangmao-img-editor img,
.editor-styles-wrapper .shipment-image .tangmao-img-editor img,
.editor-styles-wrapper .cert-media .tangmao-img-editor img {
	pointer-events: auto !important;
	cursor: pointer !important;
}
.editor-styles-wrapper .wp-block.card-arrow {
	position: absolute !important;
	right: 18px !important;
	bottom: 18px !important;
	left: auto !important;
	top: auto !important;
	width: 28px !important;
	height: 28px !important;
	padding: 0 !important;
	display: grid !important;
	place-items: center !important;
}
/* The SVG sits in a nested block span, which shifts it off the static-page center. */
/* Gutenberg lays .wp-block out as a column, which drops the arrows under the title. */
.editor-styles-wrapper .catalog-head {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: flex-end !important;
	justify-content: space-between !important;
}
.editor-styles-wrapper .catalog-head > .wp-block,
.editor-styles-wrapper .catalog-head .catalog-controls {
	width: auto !important;
	flex: 0 0 auto !important;
	max-width: none !important;
}
/* Resources pagination: keep the static row of circles, page squares, and centered chevrons. */
.editor-styles-wrapper .pagination {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px !important;
	width: 100% !important;
}
.editor-styles-wrapper .pagination > .wp-block,
.editor-styles-wrapper .page-numbers {
	width: auto !important;
	flex: 0 0 auto !important;
	max-width: none !important;
}
.editor-styles-wrapper .pagination > .wp-block.page-numbers {
	margin: 0 !important;
}
.editor-styles-wrapper .pagination > .wp-block.page-arrow {
	margin: 0 6px !important;
}
.editor-styles-wrapper .page-numbers {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 8px !important;
	min-height: 44px !important;
}
.editor-styles-wrapper .page-number,
.editor-styles-wrapper .page-arrow {
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	min-height: 0 !important;
	padding: 0 !important;
	margin: 0 6px !important;
	box-sizing: border-box !important;
	border: 1px solid #d5e1f8 !important;
	background: #fff !important;
	color: #65717d !important;
	display: grid !important;
	place-items: center !important;
	box-shadow: none !important;
	line-height: 1 !important;
	font-size: 15px !important;
	font-weight: 500 !important;
}
.editor-styles-wrapper .page-number {
	margin: 0 !important;
	border-radius: 2px !important;
}
.editor-styles-wrapper .page-arrow {
	border-radius: 50% !important;
}
.editor-styles-wrapper .page-number.active {
	background: #2c68e4 !important;
	border-color: #2c68e4 !important;
	color: #fff !important;
}
.editor-styles-wrapper .page-arrow > .block-editor-inner-blocks,
.editor-styles-wrapper .page-arrow .block-editor-block-list__layout,
.editor-styles-wrapper .page-arrow .wp-block.tm-text {
	display: contents !important;
}
.editor-styles-wrapper .page-arrow .block-list-appender {
	display: none !important;
}
.editor-styles-wrapper .page-arrow .icon-arrow {
	width: 17px !important;
	height: 17px !important;
	display: block !important;
	margin: 0 !important;
}
.editor-styles-wrapper .catalog-controls .carousel-buttons button > .block-editor-inner-blocks,
.editor-styles-wrapper .catalog-controls .carousel-buttons button .block-editor-block-list__layout,
.editor-styles-wrapper .catalog-controls .carousel-buttons .wp-block.tm-text,
.editor-styles-wrapper .catalog-card .card-arrow > .block-editor-inner-blocks,
.editor-styles-wrapper .catalog-card .card-arrow .block-editor-block-list__layout,
.editor-styles-wrapper .catalog-card .card-arrow .wp-block.tm-text {
	display: contents !important;
}
.editor-styles-wrapper .catalog-controls .carousel-buttons .block-list-appender,
.editor-styles-wrapper .catalog-card .card-arrow .block-list-appender {
	display: none !important;
}
.editor-styles-wrapper .catalog-controls .carousel-buttons button {
	width: 42px !important;
	height: 42px !important;
	padding: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
}
.editor-styles-wrapper .catalog-controls .carousel-buttons .icon-arrow,
.editor-styles-wrapper .catalog-card .card-arrow .icon-arrow {
	display: block !important;
	margin: 0 !important;
}
.editor-styles-wrapper .catalog-controls .carousel-buttons .icon-arrow {
	width: 16px !important;
	height: 16px !important;
}
.editor-styles-wrapper .catalog-card .card-arrow .icon-arrow {
	width: 15px !important;
	height: 15px !important;
}
.editor-styles-wrapper .carousel-buttons .arrow-left,
.editor-styles-wrapper .carousel-buttons .icon-arrow-left,
.editor-styles-wrapper #catPrev .icon-arrow {
	transform: scaleX(-1) !important;
}
.editor-styles-wrapper .carousel-buttons .arrow-right,
.editor-styles-wrapper #catNext .icon-arrow {
	transform: none !important;
}
.editor-styles-wrapper .wp-block.detail-panel {
	position: absolute !important;
	inset: 0 !important;
	width: auto !important;
	height: auto !important;
	opacity: 0;
	pointer-events: none;
}
.editor-styles-wrapper .wp-block.detail-panel.is-active {
	opacity: 1 !important;
	pointer-events: auto;
	transform: none !important;
}
.editor-styles-wrapper .detail-content .detail-grid .block-editor-block-list__layout > .wp-block {
	padding-left: 20px;
	border-left: 1px solid #d5e1f8;
}
.editor-styles-wrapper .faq-list {
	border-top: 1px solid var(--line, #d5e1f8) !important;
}
.editor-styles-wrapper .faq-item {
	border-bottom: 1px solid var(--line, #d5e1f8) !important;
}
.editor-styles-wrapper .faq-q {
	width: 100% !important;
	padding: 24px 0 !important;
	display: flex !important;
	justify-content: space-between !important;
	align-items: center !important;
	border: 0 !important;
	background: none !important;
	color: var(--ink, #101820) !important;
	text-align: left !important;
	cursor: pointer !important;
	box-shadow: none !important;
}
.editor-styles-wrapper .faq-q span {
	font-size: 18px !important;
	font-weight: 600 !important;
	letter-spacing: -.02em !important;
	line-height: 1.35 !important;
}
.editor-styles-wrapper .faq-q b {
	width: 34px !important;
	height: 34px !important;
	flex: 0 0 34px !important;
	border: 1px solid rgba(44, 104, 228, .18) !important;
	border-radius: 50% !important;
	display: block !important;
	position: relative !important;
	color: var(--navy, #2c68e4) !important;
	font-size: 0 !important;
	line-height: 0 !important;
	overflow: hidden !important;
}
.editor-styles-wrapper .faq-q b::before,
.editor-styles-wrapper .faq-q b::after {
	content: "" !important;
	position: absolute !important;
	left: 50% !important;
	top: 50% !important;
	background: currentColor !important;
	border-radius: 1px !important;
	transform: translate(-50%, -50%) !important;
}
.editor-styles-wrapper .faq-q b::before {
	width: 12px !important;
	height: 1.5px !important;
}
.editor-styles-wrapper .faq-q b::after {
	width: 1.5px !important;
	height: 12px !important;
}
.editor-styles-wrapper .faq-item.is-open .faq-q b {
	transform: rotate(45deg) !important;
	background: var(--navy, #2c68e4) !important;
	color: #fff !important;
	border-color: var(--navy, #2c68e4) !important;
}
.editor-styles-wrapper .faq-a {
	display: grid !important;
	grid-template-rows: 0fr !important;
}
.editor-styles-wrapper .faq-a p {
	overflow: hidden !important;
	min-height: 0 !important;
	margin: 0 !important;
	font-size: 15px !important;
	line-height: 1.7 !important;
	color: var(--muted, #687482) !important;
	max-width: 860px !important;
	padding: 0 55px 0 0 !important;
}
.editor-styles-wrapper .faq-item:not(.is-open) .faq-a {
	grid-template-rows: 0fr !important;
}
.editor-styles-wrapper .faq-item.is-open .faq-a {
	grid-template-rows: 1fr !important;
}
.editor-styles-wrapper .faq-item.is-open .faq-a p {
	padding-bottom: 28px !important;
}
.editor-styles-wrapper .wp-block.oem-inquiry-bg {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: none !important;
	object-fit: contain !important;
}
.editor-styles-wrapper .wp-block.oem-inquiry-overlay {
	position: absolute !important;
	inset: 0 !important;
	width: auto !important;
	height: auto !important;
	display: flex !important;
	align-items: center !important;
}
.editor-styles-wrapper .matrix .block-editor-block-list__layout > .wp-block:last-child {
	height: calc(100% - 45px);
	overflow: auto;
}
.editor-styles-wrapper .footer a {
	color: rgba(255, 255, 255, 0.78) !important;
}

/* Products catalog. Front JS adds .is-loaded before the photo fades in.
   The editor never runs that script, so the frame stays empty and the
   filename sits in the flow. Show the photo and cover the filename. */
.editor-styles-wrapper .catalog-image img,
.editor-styles-wrapper .products-hero-media img {
	position: absolute !important;
	inset: 0 !important;
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	opacity: 1 !important;
}
.editor-styles-wrapper .catalog-image .filename-placeholder,
.editor-styles-wrapper .products-hero-media .filename-placeholder {
	position: absolute !important;
	inset: 0 !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

/* Products hero: title stack covers the banner; same pattern as news-hero / quality hero. */
.editor-styles-wrapper .products-hero-inner {
	pointer-events: none !important;
}
.editor-styles-wrapper .products-hero-inner .wp-block,
.editor-styles-wrapper .products-hero-inner .block-editor-rich-text__editable {
	pointer-events: auto !important;
}
.editor-styles-wrapper .products-hero-media .wp-block-tangmao-img {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	min-width: 0;
}
.editor-styles-wrapper .products-hero-media .tangmao-img-editor {
	display: block !important;
	width: 100% !important;
	min-height: 120px;
}
.editor-styles-wrapper .products-hero-media .tangmao-img-editor img {
	pointer-events: auto !important;
	cursor: pointer !important;
}
.editor-styles-wrapper:has(.products-hero) .products-hero-media::after {
	content: none !important;
	display: none !important;
	background: none !important;
}

/* Resources banner. Gutenberg sets .wp-block { position: relative }, so the
   title drops below the photo instead of sitting in the middle of it. */
.editor-styles-wrapper .wp-block.news-hero-inner {
	position: absolute !important;
	left: 50% !important;
	top: 50% !important;
	transform: translate(-50%, -50%) !important;
	z-index: 2 !important;
	width: min(calc(100% - 80px), 1400px) !important;
	height: auto !important;
	margin: 0 !important;
	pointer-events: none !important;
}
.editor-styles-wrapper .news-hero-inner .wp-block,
.editor-styles-wrapper .news-hero-inner .block-editor-rich-text__editable {
	pointer-events: auto !important;
}
.editor-styles-wrapper .news-hero h1 {
	margin: 0 !important;
	font-size: 65px !important;
	line-height: 1.05 !important;
	letter-spacing: -0.055em !important;
	font-weight: 650 !important;
	color: #101820 !important;
}

/* Home About Us. .wp-block { max-width: none } drops the 1400px column,
   and Gutenberg's list wrapper stops .scroll_bg > div from framing the photo. */
.editor-styles-wrapper .result_section .wp-block.result-container {
	max-width: 1400px !important;
	width: min(1400px, calc(100% - 80px)) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	background-color: #eef3fc !important;
}
.editor-styles-wrapper .result_section .scroll_txt1,
.editor-styles-wrapper .result_section .scroll_txt1 .block-editor-rich-text__editable {
	white-space: normal !important;
}
.editor-styles-wrapper .result_section a.about-view-more {
	color: #101820 !important;
}
.editor-styles-wrapper .result_section .scroll_txt2 {
	opacity: 1 !important;
	color: #101820 !important;
	position: relative !important;
	top: auto !important;
	bottom: auto !important;
	max-height: none !important;
	margin: 40px 0 24px !important;
	overflow: visible !important;
}
.editor-styles-wrapper .result_section .scroll_txt2 .block-editor-rich-text__editable {
	color: #101820 !important;
}
.editor-styles-wrapper .result_section .scroll_bg .wp-block-tangmao-element {
	position: static !important;
}
.editor-styles-wrapper .result_section .scroll_box img.result-media-img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

.editor-styles-wrapper .tangmao-img-editor {
	display: contents;
}

.editor-styles-wrapper .about-preview .tangmao-img-editor,
.editor-styles-wrapper .about-preview > .tangmao-img-editor {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}

.editor-styles-wrapper .about-preview .tangmao-img-editor > video.about-preview-media,
.editor-styles-wrapper .about-preview .tangmao-img-editor > img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}

/* Home Factory Workshop. The 140vh pin and the -40vh pull are for the
   front-page scroll scene. In the canvas that slide covers the cards,
   and .wp-block { position: relative } pushes each caption out of the photo. */
.editor-styles-wrapper .result_section {
	height: auto !important;
}
.editor-styles-wrapper .workshop-section {
	margin-top: 0 !important;
	position: relative !important;
	z-index: 3 !important;
}
.editor-styles-wrapper .workshop-card img.local-img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
}
.editor-styles-wrapper .wp-block.workshop-caption {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	z-index: 2 !important;
	color: #fff !important;
}
.editor-styles-wrapper .workshop-caption h3,
.editor-styles-wrapper .workshop-caption .block-editor-rich-text__editable {
	color: #fff !important;
}

/* Home Private Label. The canvas block has no #oem id, so the front-page
   white background and the cancelled -40vh pull never apply. That slide
   covers the heading. The first row is the resting active item. */
.editor-styles-wrapper .wp-block.oem,
.editor-styles-wrapper .oem-wrap {
	margin-top: 0 !important;
	background: #fff !important;
	z-index: 2 !important;
}
.editor-styles-wrapper .oem-copy h2.wp-block {
	max-width: 520px !important;
}
.editor-styles-wrapper .oem-feature:first-child {
	padding-left: 14px !important;
}
.editor-styles-wrapper .oem-feature:first-child::before {
	width: 100% !important;
}
.editor-styles-wrapper .oem-object img.local-img,
.editor-styles-wrapper .pack-single img.local-img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	opacity: 1 !important;
}

/* About Team. The front hides every image after the first. The editor shows
   both so each picture block can be replaced. */
.editor-styles-wrapper .team-editor-note {
	display: block !important;
	margin: 0 0 12px !important;
	padding: 8px 12px;
	background: #f6f8fd;
	border-radius: 6px;
	font-size: 13px;
	line-height: 1.5;
	color: #3d4a5c;
}
.editor-styles-wrapper .team-photo {
	display: grid !important;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	aspect-ratio: auto !important;
	height: auto !important;
	overflow: visible !important;
}
.editor-styles-wrapper .team-photo img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 4 / 3;
	object-fit: cover !important;
}
/* Restore picture block wrappers so click-to-upload and block selection work. */
.editor-styles-wrapper .team-photo .wp-block-tangmao-img {
	display: block !important;
	position: relative !important;
	min-width: 0;
}
.editor-styles-wrapper .team-photo .tangmao-img-editor {
	display: block !important;
}
.editor-styles-wrapper .team-photo .tangmao-img-editor img {
	pointer-events: auto !important;
	cursor: pointer !important;
}
/* Manufacturing Warehouse cards. display:contents on .tangmao-img-editor breaks click-to-upload. */
.editor-styles-wrapper .warehouse-img img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
}
.editor-styles-wrapper .warehouse-img .wp-block-tangmao-img {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	height: 100% !important;
	min-width: 0;
}
.editor-styles-wrapper .warehouse-img .tangmao-img-editor {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}
.editor-styles-wrapper .warehouse-img .tangmao-img-editor img {
	pointer-events: auto !important;
	cursor: pointer !important;
}
/* Manufacturing Export. Collapsed bodies hide images in the canvas; expand for editing. */
.editor-styles-wrapper .export-item .export-body {
	max-height: none !important;
	opacity: 1 !important;
	overflow: visible !important;
	padding: 0 28px 28px !important;
}
.editor-styles-wrapper .export-body img {
	display: block !important;
	width: 100% !important;
	height: 210px !important;
	max-width: none !important;
	object-fit: cover !important;
}
.editor-styles-wrapper .export-body .wp-block-tangmao-img {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	min-width: 0;
}
.editor-styles-wrapper .export-body .tangmao-img-editor {
	display: block !important;
	width: 100% !important;
}
.editor-styles-wrapper .export-body .tangmao-img-editor img {
	pointer-events: auto !important;
	cursor: pointer !important;
	height: 210px !important;
}
/* Manufacturing Capacity background + overlay. */
.editor-styles-wrapper .capacity-visual {
	position: relative !important;
	overflow: hidden !important;
}
.editor-styles-wrapper .capacity-visual::after {
	pointer-events: none !important;
}
.editor-styles-wrapper .capacity-visual .wp-block-tangmao-img {
	display: block !important;
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	z-index: 0 !important;
	margin: 0 !important;
}
.editor-styles-wrapper .capacity-visual .tangmao-img-editor {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}
.editor-styles-wrapper .capacity-visual .tangmao-img-editor img {
	pointer-events: auto !important;
	cursor: pointer !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
}
.editor-styles-wrapper .capacity-visual .wp-block.capacity-overlay {
	pointer-events: none !important;
}
.editor-styles-wrapper .capacity-visual .capacity-overlay .wp-block,
.editor-styles-wrapper .capacity-visual .capacity-overlay .block-editor-rich-text__editable {
	pointer-events: auto !important;
}
/* Development matches the front page: one preview, timeline, arrows.
   The year list stays in the block sidebar. */
.editor-styles-wrapper .dev-sources {
	display: none !important;
}
.editor-styles-wrapper .dev-stage .wp-block {
	margin-block-start: 0;
	margin-block-end: 0;
}
.editor-styles-wrapper .dev-stage .dev-text {
	margin-top: 10px;
}
.editor-styles-wrapper .exhibit-track {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	transform: none !important;
}
.editor-styles-wrapper .exhibit-card {
	flex: none !important;
	width: auto !important;
}
/* Global Shipping: full-width marquee row in the editor canvas. */
.editor-styles-wrapper .shipping-marquee {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	overflow: hidden;
	position: relative;
}
.editor-styles-wrapper .shipping-viewport {
	overflow: hidden;
}
.editor-styles-wrapper .shipping-track,
.editor-styles-wrapper .shipping-stage {
	position: relative !important;
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: flex-start !important;
	gap: 18px !important;
	width: max-content !important;
	height: auto !important;
	min-height: 0 !important;
	overflow: visible !important;
}
.editor-styles-wrapper .shipping-track > .block-editor-inner-blocks,
.editor-styles-wrapper .shipping-track > .block-editor-inner-blocks > .block-editor-block-list__layout,
.editor-styles-wrapper .shipping-stage > .block-editor-inner-blocks,
.editor-styles-wrapper .shipping-stage > .block-editor-inner-blocks > .block-editor-block-list__layout,
.editor-styles-wrapper .shipping-marquee > .block-editor-inner-blocks,
.editor-styles-wrapper .shipping-viewport > .block-editor-inner-blocks,
.editor-styles-wrapper .shipping-track .block-editor-block-list__layout > .wp-block:not(.shipping-card),
.editor-styles-wrapper .shipping-stage .block-editor-block-list__layout > .wp-block:not(.shipping-card) {
	display: contents !important;
}
.editor-styles-wrapper .shipping-marquee .block-editor-block-list__layout {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 18px !important;
	width: max-content !important;
}
.editor-styles-wrapper .shipping-track .shipping-card,
.editor-styles-wrapper .shipping-stage .shipping-card,
.editor-styles-wrapper .shipping-track .wp-block.shipping-card,
.editor-styles-wrapper .shipping-stage .wp-block.shipping-card {
	position: relative !important;
	left: auto !important;
	top: auto !important;
	flex: 0 0 min(460px, 40vw) !important;
	width: min(460px, 40vw) !important;
	margin: 0 !important;
	max-width: none !important;
	transform: none !important;
	filter: none !important;
	visibility: visible !important;
}
.editor-styles-wrapper .shipping-card .shipping-title,
.editor-styles-wrapper .shipping-card[data-pos] .shipping-title {
	opacity: 1 !important;
	transform: none !important;
}
.editor-styles-wrapper .shipping-track .wp-block.shipping-image,
.editor-styles-wrapper .shipping-stage .wp-block.shipping-image,
.editor-styles-wrapper .shipping-track .wp-block.shipping-title,
.editor-styles-wrapper .shipping-stage .wp-block.shipping-title {
	margin: 0 !important;
}
.editor-styles-wrapper .shipping-stage .wp-block.shipping-title,
.editor-styles-wrapper .shipping-track .wp-block.shipping-title {
	margin-top: 16px !important;
}
.editor-styles-wrapper .shipping-track .block-list-appender,
.editor-styles-wrapper .shipping-stage .block-list-appender {
	position: static !important;
	flex: 0 0 120px;
	align-self: center;
	transform: none !important;
}
.editor-styles-wrapper .shipping-image .block-editor-inner-blocks,
.editor-styles-wrapper .shipping-image .block-editor-block-list__layout,
.editor-styles-wrapper .shipping-image .wp-block,
.editor-styles-wrapper .shipping-image .tangmao-img-editor {
	display: contents !important;
}
@media (max-width: 720px) {
	.editor-styles-wrapper .shipping-track .shipping-card,
	.editor-styles-wrapper .shipping-stage .shipping-card,
	.editor-styles-wrapper .shipping-track .wp-block.shipping-card,
	.editor-styles-wrapper .shipping-stage .wp-block.shipping-card {
		flex-basis: 78vw !important;
		width: 78vw !important;
	}
}
.editor-styles-wrapper .contact-icon > .wp-block {
	width: 48px;
	height: 48px;
	display: grid !important;
	place-items: center;
	cursor: pointer;
}

/* Solutions. Shared white fixed nav (site-nav) + page CSS clears the banner
   with .hero { margin-top: 82px }. Keep current-page underline only. */
.editor-styles-wrapper:has(.solutions-projects) .site-header .nav a[href="/"] {
	display: none !important;
}
.editor-styles-wrapper:has(.solutions-projects) .site-header .nav a {
	position: relative !important;
	line-height: 1.75 !important;
}
.editor-styles-wrapper:has(.solutions-projects) .site-header .nav a::after {
	content: "" !important;
	position: absolute !important;
	left: 0 !important;
	bottom: 22px !important;
	width: 0 !important;
	height: 1px !important;
	background: #101820 !important;
}
.editor-styles-wrapper:has(.solutions-projects) .site-header .nav a[href="/solutions/"]::after,
.editor-styles-wrapper:has(.solutions-projects) .site-header .nav a:hover::after {
	width: 100% !important;
}
.editor-styles-wrapper:has(.solutions-projects) .hero-media::after {
	z-index: 1 !important;
}
.editor-styles-wrapper:has(.solutions-projects) .wp-block.hero-grid {
	z-index: 2 !important;
}

/* Quality & Certifications: match quality-certifications.css (V2) in the canvas. */
.editor-styles-wrapper:has(.product-qc-grid) #quality,
.editor-styles-wrapper:has(.product-qc-grid) .hero {
	margin-top: 82px !important;
	position: relative !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .wp-block.hero-content {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	top: 0 !important;
	bottom: 0 !important;
	display: flex !important;
	align-items: center !important;
	z-index: 2 !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .hero-copy,
.editor-styles-wrapper:has(.product-qc-grid) .hero-copy h1,
.editor-styles-wrapper:has(.product-qc-grid) .hero-copy .block-editor-rich-text__editable {
	color: #101820 !important;
	text-shadow: none !important;
	padding-top: 0 !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .hero-media img,
.editor-styles-wrapper:has(.product-qc-grid) .hero-media .tangmao-img-editor img {
	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;
	max-width: 100% !important;
	object-fit: initial !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .raw-image {
	width: 100% !important;
	max-width: 1400px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .raw-image img,
.editor-styles-wrapper:has(.product-qc-grid) .raw-image .tangmao-img-editor img {
	height: auto !important;
	min-height: 0 !important;
	object-fit: initial !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .raw-checks > .wp-block,
.editor-styles-wrapper:has(.product-qc-grid) .raw-checks > div {
	background: #fff !important;
	padding: 24px 28px !important;
	border: 1px solid #d5e1f8 !important;
	border-top: 0 !important;
	display: block !important;
}
/* Page CSS grids .product-qc-grid; with display:contents the list wrapper is the
   only child and would sit in column 1/4. Grid the block and flatten the list. */
.editor-styles-wrapper:has(.product-qc-grid) .wp-block.product-qc-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 18px !important;
	align-items: stretch !important;
	width: 100% !important;
	max-width: none !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .product-qc-grid > .block-editor-inner-blocks,
.editor-styles-wrapper:has(.product-qc-grid) .product-qc-grid > .block-editor-inner-blocks > .block-editor-block-list__layout {
	display: contents !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .product-qc-card.wp-block {
	min-height: 268px !important;
	padding: 28px 24px 24px !important;
	background: var(--soft, #f6f8fd) !important;
	border: 1px solid #d5e1f8 !important;
	min-width: 0 !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .product-qc-card h3,
.editor-styles-wrapper:has(.product-qc-grid) .product-qc-card .wp-block h3 {
	font-size: 22px !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .product-icon {
	width: 42px !important;
	height: 42px !important;
	flex: 0 0 42px !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .product-icon svg {
	width: 100% !important;
	height: 100% !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .product-type {
	font-size: 11px !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
	color: #8a939c !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .product-qc-top,
.editor-styles-wrapper:has(.product-qc-grid) .wp-block.product-qc-top {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	margin-bottom: 24px !important;
	width: 100% !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .inspect-list,
.editor-styles-wrapper:has(.product-qc-grid) .wp-block.inspect-list {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 7px !important;
	margin-top: 17px !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .inspect-list span {
	padding: 7px 9px !important;
	background: #fff !important;
	border: 1px solid #d5e1f8 !important;
	font-size: 11px !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .product-more,
.editor-styles-wrapper:has(.product-qc-grid) .wp-block.product-more {
	opacity: 1 !important;
	transform: none !important;
	margin-top: 15px !important;
	font-size: 12px !important;
	color: var(--muted, #687482) !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .finished-flow-wrap {
	position: relative !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .finished-flow-card.wp-block {
	position: relative !important;
	min-height: 218px !important;
	padding: 45px 24px 20px !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .wp-block.finished-flow-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 22px !important;
	width: 100% !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .finished-flow-grid > .block-editor-inner-blocks,
.editor-styles-wrapper:has(.product-qc-grid) .finished-flow-grid > .block-editor-inner-blocks > .block-editor-block-list__layout {
	display: contents !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .wp-block.finished-flow-line,
.editor-styles-wrapper:has(.product-qc-grid) .finished-flow-line {
	position: absolute !important;
	left: 0 !important;
	right: 0 !important;
	top: 126px !important;
	height: 1px !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .finished-flow-fill {
	width: 100% !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .wp-block.flow-number,
.editor-styles-wrapper:has(.product-qc-grid) span.flow-number {
	position: absolute !important;
	left: 50% !important;
	top: -31px !important;
	transform: translateX(-50%) !important;
	width: 62px !important;
	height: 62px !important;
	border-radius: 50% !important;
	background: #fff !important;
	border: 1px solid var(--navy, #2c68e4) !important;
	display: grid !important;
	place-items: center !important;
	font-size: 18px !important;
	font-weight: 700 !important;
	color: var(--navy, #2c68e4) !important;
	z-index: 2 !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .shipment-check {
	position: relative !important;
	background: #101820 !important;
	color: #fff !important;
	min-height: min(100svh, 900px) !important;
	display: flex !important;
	align-items: center !important;
	padding: 110px 0 !important;
	overflow: hidden !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .shipment-check::before {
	display: none !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .shipment-check::after {
	content: "" !important;
	position: absolute !important;
	inset: 0 !important;
	background: rgba(5, 20, 36, 0.35) !important;
	z-index: 1 !important;
	pointer-events: none !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .shipment-image {
	display: block !important;
	position: absolute !important;
	inset: 0 !important;
	z-index: 0 !important;
	margin: 0 !important;
	overflow: hidden !important;
	min-height: 0 !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .shipment-image .tangmao-img-editor,
.editor-styles-wrapper:has(.product-qc-grid) .shipment-image .wp-block-tangmao-img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .shipment-image img {
	width: 100% !important;
	height: 100% !important;
	min-height: 0 !important;
	object-fit: cover !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .shipment-check > .container {
	position: relative !important;
	z-index: 2 !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .shipment-check h2,
.editor-styles-wrapper:has(.product-qc-grid) .shipment-check .block-editor-rich-text__editable {
	color: #fff !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .wp-block.shipment-check-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 14px !important;
	width: 100% !important;
	margin-top: 34px !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .shipment-check-grid > .block-editor-inner-blocks,
.editor-styles-wrapper:has(.product-qc-grid) .shipment-check-grid > .block-editor-inner-blocks > .block-editor-block-list__layout {
	display: contents !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .shipment-check-grid > .wp-block,
.editor-styles-wrapper:has(.product-qc-grid) .shipment-check-grid > .block-editor-inner-blocks > .block-editor-block-list__layout > .wp-block {
	background: rgba(5, 20, 36, 0.48) !important;
	padding: 22px 20px !important;
	border: 1px solid rgba(255, 255, 255, 0.18) !important;
	min-height: 150px !important;
	backdrop-filter: blur(4px);
}
.editor-styles-wrapper:has(.product-qc-grid) .shipment-check-grid strong {
	color: #fff !important;
	font-size: 16px !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .shipment-check-grid span {
	color: rgba(255, 255, 255, 0.72) !important;
	font-size: 13px !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .cert-full-viewport {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	overflow: hidden !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .cert-track,
.editor-styles-wrapper:has(.product-qc-grid) #certTrack {
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: 18px !important;
	width: max-content !important;
	transform: none !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .cert-card {
	flex: 0 0 min(410px, 31vw) !important;
	width: auto !important;
	max-width: none !important;
	background: #fff !important;
	border: 1px solid #d5e1f8 !important;
	padding: 12px 12px 16px !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .cert-media {
	width: 100% !important;
	aspect-ratio: 4 / 3 !important;
	background: #eef3f7 !important;
	overflow: hidden !important;
	position: relative !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .cert-media img,
.editor-styles-wrapper:has(.product-qc-grid) .cert-media .tangmao-img-editor img {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: contain !important;
	background: #f3f5f7 !important;
}
.editor-styles-wrapper:has(.product-qc-grid) .site-header .nav a[href="/quality-certifications/"]::after {
	width: 100% !important;
}

/*
 * Page CSS is enqueued for the whole admin screen while editing Tangmao pages.
 * Global h1 rules (e.g. home.css --type-display) otherwise inflate the media
 * library modal title and overlap the Upload / Media Library tabs.
 */
.media-modal .media-frame-title,
.media-modal .media-frame-title h1 {
	font-size: 22px !important;
	line-height: 1.35 !important;
	font-weight: 600 !important;
	letter-spacing: normal !important;
	margin: 0 !important;
	padding: 0 16px !important;
	min-height: 0 !important;
	height: auto !important;
}

.media-modal .media-frame-menu-heading,
.media-modal .media-menu-item {
	font-size: 13px !important;
	line-height: 1.4 !important;
	letter-spacing: normal !important;
}

.media-modal .media-frame-router .media-router .media-menu-item {
	font-size: 13px !important;
}

/* Homepage Packaging: match front layout inside the block editor canvas. */
.editor-styles-wrapper .section.packaging {
	position: relative;
	background-color: #0a1628 !important;
	background-image: var(--tm-packaging-section-bg, url("../../../../uploads/tangmao-static/15.jpg")) !important;
	background-size: cover !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	color: #fff;
	overflow: hidden;
	min-height: 900px;
	padding-top: 140px !important;
	padding-bottom: 140px !important;
}
.editor-styles-wrapper .section.packaging::before {
	content: "" !important;
	display: block !important;
	opacity: 1 !important;
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.28);
	z-index: 0;
	pointer-events: none;
}
.editor-styles-wrapper .section.packaging > .container {
	position: relative;
	z-index: 2;
}
.editor-styles-wrapper .wp-block-tangmao-home-packaging {
	position: relative;
	z-index: 2;
	max-width: none;
}
.editor-styles-wrapper .wp-block-tangmao-home-packaging .pack-layout {
	display: grid !important;
	grid-template-columns: 5fr 7fr !important;
	gap: 54px !important;
	align-items: center !important;
}
.editor-styles-wrapper .wp-block-tangmao-home-packaging .pack-copy .lead {
	color: rgba(255, 255, 255, 0.78) !important;
	margin-top: 20px;
	max-width: 520px;
}
.editor-styles-wrapper .wp-block-tangmao-home-packaging .pack-switchers {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 12px !important;
	width: 100% !important;
	max-width: 560px !important;
	margin-top: 30px !important;
}
.editor-styles-wrapper .wp-block-tangmao-home-packaging .pack-switch {
	width: 100% !important;
	min-height: 58px !important;
	padding: 0 20px !important;
	border: 1px solid rgba(255, 255, 255, 0.72) !important;
	background: transparent !important;
	color: #fff !important;
	text-align: left !important;
	border-radius: 2px !important;
	cursor: pointer;
	font-size: 14px !important;
	font-weight: 600;
}
.editor-styles-wrapper .wp-block-tangmao-home-packaging .pack-switch.is-active,
.editor-styles-wrapper .wp-block-tangmao-home-packaging .pack-switch:hover {
	border-color: #fff !important;
	background: rgba(255, 255, 255, 0.1) !important;
	color: #fff !important;
}
.editor-styles-wrapper .wp-block-tangmao-home-packaging .pack-visual {
	display: block !important;
	height: 640px !important;
	position: relative !important;
}
.editor-styles-wrapper .wp-block-tangmao-home-packaging .pack-single {
	width: 75% !important;
	height: 100% !important;
	margin-left: auto !important;
	margin-right: 0 !important;
	position: relative !important;
	overflow: hidden !important;
	background: #dfe8ee !important;
}
.editor-styles-wrapper .wp-block-tangmao-home-packaging .pack-single img.local-img {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	display: block !important;
	pointer-events: auto !important;
	cursor: pointer !important;
}
@media (max-width: 900px) {
	.editor-styles-wrapper .wp-block-tangmao-home-packaging .pack-layout {
		grid-template-columns: 1fr !important;
		gap: 34px !important;
	}
	.editor-styles-wrapper .wp-block-tangmao-home-packaging .pack-visual {
		height: 450px !important;
	}
	.editor-styles-wrapper .wp-block-tangmao-home-packaging .pack-single {
		width: 75% !important;
		margin-left: auto !important;
	}
}
