/* MLELE product-category archive — aligned to the Zhengrun category page structure. */
.mle-product-category{--mle-cat-blue:#1559a8;--mle-cat-ink:#202b38;--mle-cat-muted:#687584;--mle-cat-line:#e5e9ee;--mle-cat-soft:#f5f7f9}
.mle-category-hero{position:relative;min-height:300px;display:flex;align-items:flex-end;overflow:hidden;padding:136px 0 38px;background:#183f70;color:#fff}
.mle-category-hero-has-image{background-image:linear-gradient(90deg,rgba(5,25,48,.68),rgba(9,34,61,.18)),var(--mle-category-hero-image);background-size:cover;background-position:center 48%}
.mle-category-hero-inner{position:relative;z-index:1}
.mle-category-hero .mle-eyebrow{margin:0 0 10px;color:rgba(255,255,255,.8);font-size:13px;font-weight:600;letter-spacing:.12em;text-transform:uppercase}
.mle-category-hero h1{max-width:900px;margin:0 0 14px;color:#fff;font-size:clamp(34px,4.1vw,56px);font-weight:700;line-height:1.12;letter-spacing:-.025em}
.mle-category-hero .mle-breadcrumb{display:flex;flex-wrap:wrap;gap:9px;align-items:center;color:rgba(255,255,255,.85);font-size:13px}
.mle-category-hero .mle-breadcrumb a{color:inherit;text-decoration:none}.mle-category-hero .mle-breadcrumb a:hover{text-decoration:underline}
.mle-category-intro{max-width:1080px;padding-top:58px;padding-bottom:36px;text-align:center}
.mle-category-kicker{margin:0 0 10px;color:var(--mle-cat-blue);font-size:13px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.mle-category-description{max-width:1060px;margin:0 auto;color:#525e6b;font-size:16px;font-weight:400;line-height:1.85;text-transform:none}
.mle-category-description>*:last-child{margin-bottom:0}
.mle-category-products{padding-top:24px;padding-bottom:54px}
.mle-category-products .woocommerce-notices-wrapper:empty{display:none}
.mle-category-products .woocommerce-result-count{color:var(--mle-cat-muted);font-size:14px}
.mle-category-products .woocommerce-ordering select{min-height:42px;padding:8px 34px 8px 13px;border:1px solid #d9dfe6;background:#fff;color:var(--mle-cat-ink);font-size:14px}
.mle-category-products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:30px 24px;margin:24px 0 36px!important}
.mle-category-products ul.products:before,.mle-category-products ul.products:after{display:none!important}
.mle-category-products ul.products li.product{float:none!important;width:auto!important;min-width:0;margin:0!important;padding:0 0 20px!important;overflow:hidden;border:1px solid var(--mle-cat-line);background:#fff;box-shadow:0 5px 20px rgba(19,48,78,.045);transition:transform .25s ease,box-shadow .25s ease}
.mle-category-products ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 12px 30px rgba(19,48,78,.12)}
.mle-category-products ul.products li.product a img{width:100%;height:270px;margin:0 0 18px;object-fit:contain;background:#f6f7f8}
.mle-category-products ul.products li.product .woocommerce-loop-product__title{display:block;min-height:60px;margin:0;padding:12px 15px 0;background:transparent;color:#000;font-size:16px;font-weight:650;line-height:1.5}
.mle-category-products ul.products li.product .price{padding:0 17px;color:var(--mle-cat-ink)}
.mle-category-products ul.products li.product .button,.mle-category-products ul.products li.product .added_to_cart{margin-left:17px}
.mle-category-products .woocommerce-pagination ul{display:flex;gap:8px;border:0}
.mle-category-products .woocommerce-pagination ul li{border:0}
.mle-category-products .woocommerce-pagination ul li a,.mle-category-products .woocommerce-pagination ul li span{min-width:38px;padding:10px 12px;border:1px solid var(--mle-cat-line);color:var(--mle-cat-ink)}
.mle-category-products .woocommerce-pagination ul li span.current{border-color:var(--mle-cat-blue);background:var(--mle-cat-blue);color:#fff}
.mle-category-products .woocommerce-info{border-top-color:var(--mle-cat-blue)}
.mle-category-section{padding:76px 0}
.mle-category-highlights{background:#f5f7f9}
.mle-category-section-heading{max-width:850px;margin:0 auto 38px;text-align:center}
.mle-category-section-heading h2,.mle-category-contact h2{margin:0;color:var(--mle-cat-ink);font-size:clamp(28px,3vw,42px);font-weight:700;line-height:1.2;letter-spacing:-.02em}
.mle-category-highlight-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.mle-category-highlight{position:relative;min-height:170px;padding:28px 25px;background:#fff;border:1px solid var(--mle-cat-line)}
.mle-category-highlight-mark{display:block;width:34px;height:3px;margin-bottom:19px;background:var(--mle-cat-blue)}
.mle-category-highlight h3{margin:0 0 10px;color:var(--mle-cat-ink);font-size:18px;line-height:1.35}
.mle-category-highlight p{margin:0;color:var(--mle-cat-muted);font-size:14px;line-height:1.75;overflow-wrap:anywhere}
.mle-category-solutions{background:#fff}
.mle-category-section-heading-row{display:flex;max-width:none;justify-content:space-between;align-items:flex-end;gap:20px;text-align:left}
.mle-category-section-heading-row h2{max-width:760px}
.mle-category-text-link{color:var(--mle-cat-blue);font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap}
.mle-category-text-link span{display:inline-block;margin-left:5px;transition:transform .2s}
.mle-category-text-link:hover span{transform:translateX(4px)}
.mle-category-solution-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}
.mle-category-solution-card{overflow:hidden;border:1px solid var(--mle-cat-line);background:#fff}
.mle-category-solution-image{display:block;aspect-ratio:16/10;overflow:hidden;background:#f3f5f7}
.mle-category-solution-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.mle-category-solution-card:hover .mle-category-solution-image img{transform:scale(1.035)}
.mle-category-solution-copy{padding:21px}
.mle-category-solution-copy h3{margin:0 0 10px;font-size:19px;line-height:1.35}
.mle-category-solution-copy h3 a{color:var(--mle-cat-ink);text-decoration:none}
.mle-category-solution-copy p{margin:0 0 16px;color:var(--mle-cat-muted);font-size:14px;line-height:1.7}
.mle-category-faq{background:#f5f7f9}
.mle-category-faq-inner{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;align-items:start}
.mle-category-faq .mle-category-section-heading{margin:0;text-align:left}
.mle-category-faq-list{border-top:1px solid #dce2e8}
.mle-category-faq-item{border-bottom:1px solid #dce2e8}
.mle-category-faq-item summary{position:relative;padding:20px 42px 20px 0;color:var(--mle-cat-ink);font-size:16px;font-weight:650;line-height:1.5;cursor:pointer;list-style:none}
.mle-category-faq-item summary::-webkit-details-marker{display:none}
.mle-category-faq-item summary:after{position:absolute;right:5px;top:50%;content:'+';color:var(--mle-cat-blue);font-size:25px;font-weight:400;transform:translateY(-50%)}
.mle-category-faq-item[open] summary:after{content:'−'}
.mle-category-faq-answer{padding:0 28px 20px 0;color:var(--mle-cat-muted);font-size:14px;line-height:1.8}
.mle-category-faq-answer>*:last-child{margin-bottom:0}
.mle-category-contact{padding:48px 0;background:#164f95;color:#fff}
.mle-category-contact-inner{display:flex;justify-content:space-between;align-items:center;gap:28px}
.mle-category-contact .mle-category-kicker{color:#c4dcf7}
.mle-category-contact h2{max-width:780px;color:#fff}
.mle-category-contact-button{display:inline-flex;min-height:50px;align-items:center;gap:10px;padding:0 23px;background:#fff;color:#174f91;font-size:14px;font-weight:700;text-decoration:none;white-space:nowrap;transition:background .2s,color .2s}
.mle-category-contact-button:hover{background:#eaf3fd;color:#123d70}
@media(max-width:900px){.mle-category-products ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.mle-category-highlight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mle-category-solution-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mle-category-faq-inner{grid-template-columns:1fr;gap:28px}}
@media(max-width:600px){.mle-category-hero{min-height:250px;padding:110px 0 28px}.mle-category-intro{padding-top:38px;padding-bottom:20px}.mle-category-description{font-size:15px;line-height:1.75}.mle-category-products{padding-top:18px;padding-bottom:35px}.mle-category-products ul.products{grid-template-columns:1fr;gap:18px}.mle-category-products ul.products li.product a img{height:250px}.mle-category-products ul.products li.product .woocommerce-loop-product__title{min-height:unset;font-size:16px}.mle-category-section{padding:52px 0}.mle-category-section-heading{margin-bottom:27px}.mle-category-section-heading-row{align-items:flex-start;flex-direction:column}.mle-category-highlight-grid,.mle-category-solution-grid{grid-template-columns:1fr;gap:15px}.mle-category-highlight{min-height:unset;padding:22px}.mle-category-faq-inner{gap:22px}.mle-category-faq-item summary{font-size:15px}.mle-category-contact{padding:38px 0}.mle-category-contact-inner{align-items:flex-start;flex-direction:column}.mle-category-contact-button{min-height:46px}}

/* Keep product-category banners aligned with the shared 540px product hero. */
.mle-product-category .mle-category-hero{height:540px;min-height:540px;box-sizing:border-box}
@media(max-width:600px){.mle-product-category .mle-category-hero{height:540px;min-height:540px;padding:110px 0 28px}}

/* Center category title and breadcrumb in the shared product banner. */
.mle-product-category .mle-category-hero{align-items:center;padding:0;text-align:center}
.mle-product-category .mle-category-hero-inner{width:min(var(--mle-container),calc(100% - 48px));text-align:center}
.mle-product-category .mle-category-hero h1{margin:0 auto 14px}
.mle-product-category .mle-category-hero .mle-breadcrumb{justify-content:center}
@media(max-width:600px){.mle-product-category .mle-category-hero{padding:0}}

/* Hide the result-count and sorting toolbar on product-category pages. */
.mle-product-category .mle-category-products .woocommerce-result-count,.mle-product-category .mle-category-products .woocommerce-ordering{display:none!important}

/* Product-category cards: inset image and compact catalog presentation. */
.mle-category-products ul.products li.product{padding:12px 12px 20px!important;border-radius:14px;background:#f4f4f4;box-shadow:0 8px 24px rgba(0,0,0,.08)}
.mle-category-products ul.products li.product a img{height:238px;margin:0 0 0!important;background:#f4f4f4}
.mle-category-products ul.products li.product .woocommerce-loop-product__title{height:auto;overflow:hidden;box-sizing:border-box}
.mle-category-products ul.products li.product .price{padding:0 7px}
.mle-category-products .mle-product-card-description{padding:0 7px;color:#666;font-size:13px;line-height:1.65;text-transform:none}
.mle-category-products .mle-product-card-description p{margin:0 0 5px}
.mle-category-products .mle-product-card-description ul{margin:0;padding-left:16px}
.mle-category-products .mle-product-card-description ul li{float:none;width:auto;margin:0;padding:0;border:0;box-shadow:none;background:transparent;list-style:disc}
@media(max-width:600px){.mle-category-products ul.products li.product a img{height:238px}.mle-category-products ul.products li.product .woocommerce-loop-product__title{font-size:15px}}

/* 15px text insets and two-line product-description clamp. */
.mle-category-products ul.products li.product .woocommerce-loop-product__title{padding-right:15px;padding-left:15px}
.mle-category-products .mle-product-card-description{padding-right:15px;padding-left:15px}
.mle-category-products .mle-product-card-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.mle-category-products .mle-product-card-description ul{padding-left:16px}
.mle-category-products .mle-product-card-description ul li{display:list-item}

/* Preserve original title casing; clamp the linked product name to two lines. */
.mle-category-products ul.products li.product .woocommerce-loop-product__title{display:block!important;box-sizing:border-box;width:100%;min-height:calc(3em + 12px);text-align:left!important;direction:ltr;white-space:normal;overflow:hidden;word-break:normal;overflow-wrap:anywhere;text-transform:none}
.mle-product-category .mle-category-products ul.products li.product .woocommerce-loop-product__title a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;max-height:3em;overflow:hidden;text-overflow:ellipsis;white-space:normal;line-height:inherit;color:#000;background:transparent;text-transform:none}

/* Fill the card's entire top media area without inset gaps. */
.mle-category-products ul.products li.product a img{display:block;width:calc(100% + 24px);max-width:none;height:270px;margin:-12px -12px 0!important;object-fit:cover;background:#f4f4f4}
@media(max-width:600px){.mle-category-products ul.products li.product a img{height:250px}}

/* Remove card padding on top and sides while keeping internal text insets. */
.mle-category-products ul.products li.product{padding:0 0 20px!important}
.mle-category-products ul.products li.product a img{width:100%;max-width:100%;height:270px;margin:0 0 0!important}
.mle-category-products ul.products li.product .woocommerce-loop-product__title{margin:0}
@media(max-width:600px){.mle-category-products ul.products li.product a img{height:250px}}

/* Product-category cards are catalog links, not shopping-cart controls. */
.mle-product-category .mle-category-products ul.products li.product .ct-woo-card-extra,.mle-product-category .mle-category-products ul.products li.product .ct-cart-actions,.mle-product-category .mle-category-products ul.products li.product .ct-open-quick-view,.mle-product-category .mle-category-products ul.products li.product [class*='ct-wishlist-button'],.mle-product-category .mle-category-products ul.products li.product [class*='ct-compare-button'],.mle-product-category .mle-category-products ul.products li.product a.add_to_cart_button,.mle-product-category .mle-category-products ul.products li.product a.added_to_cart,.mle-product-category .mle-category-products ul.products li.product .button{display:none!important}

/* Remove the card outline while preserving its existing shadow states. */
.mle-product-category .mle-category-products ul.products li.product{border:0!important}

/* Crop white margins embedded inside square product photos so the product fills the card media area. */
.mle-category-products ul.products li.product>a:first-of-type{display:block;overflow:hidden}
.mle-category-products ul.products li.product>a:first-of-type img{transform:scale(1.18);transform-origin:center center}

/* Remove theme-inserted inline/bottom spacing between product media and title bar. */
.mle-category-products ul.products li.product>a:first-of-type{margin:0!important;padding:0!important;line-height:0!important;vertical-align:top}
.mle-category-products ul.products li.product .woocommerce-loop-product__title{margin-top:0!important}

/* Blocksy wraps product media/actions in a figure; remove its default bottom margin. */
.mle-category-products ul.products li.product figure{margin:0!important;padding:0!important}
.mle-category-products ul.products li.product figure .ct-media-container{margin:0!important;padding:0!important}


/* Align product-card descriptions to the left. */
.mle-product-category .mle-category-products .mle-product-card-description,.mle-product-category .mle-category-products .mle-product-card-description p,.mle-product-category .mle-category-products .mle-product-card-description ul{text-align:left!important}


/* Center product-category pagination on the page. */
.mle-product-category .mle-category-products .woocommerce-pagination{display:flex!important;justify-content:center!important;width:100%;text-align:center!important}
.mle-product-category .mle-category-products .woocommerce-pagination ul{display:flex!important;justify-content:center!important;float:none!important;margin-right:auto!important;margin-left:auto!important}


/* Keep exactly 50px between the product grid and pagination. */
.mle-product-category .mle-category-products ul.products{margin-bottom:0!important}
.mle-product-category .mle-category-products .woocommerce-pagination{margin-top:50px!important}


/* Remove excess vertical padding inside pagination; keep the 50px grid gap. */
.mle-product-category .mle-category-products nav.woocommerce-pagination{box-sizing:border-box;height:auto!important;min-height:0!important;padding:0!important;line-height:normal}
.mle-product-category .mle-category-products nav.woocommerce-pagination ul{margin:0!important;padding:0!important;align-items:center}

/* Category cards: native whole-card navigation; keep existing controls above it. */
.mle-product-category .mle-category-products ul.products li.product{position:relative}
.mle-product-category .mle-category-products ul.products li.product>.mle-product-card-link{position:absolute;inset:0;z-index:1;display:block;cursor:pointer}
.mle-product-category .mle-category-products ul.products li.product figure,
.mle-product-category .mle-category-products ul.products li.product .woocommerce-loop-product__title,
.mle-product-category .mle-category-products ul.products li.product .ct-cart-actions{position:relative;z-index:2}
.mle-product-category .mle-category-products ul.products li.product .woocommerce-loop-product__title{pointer-events:none}
.mle-product-category .mle-category-products ul.products li.product .woocommerce-loop-product__title a{pointer-events:auto}
/* Pointer clicks keep cards borderless; keyboard focus remains visible. */
.mle-product-category .mle-category-products ul.products li.product:has(:focus-visible){outline:2px solid var(--mle-cat-blue);outline-offset:-2px}
.mle-product-category .mle-category-products ul.products li.product a:focus:not(:focus-visible){outline:none}
/* Square, white product-card media on category archives at every breakpoint. */
.mle-product-category .mle-category-products ul.products li.product figure .ct-media-container{display:block;width:100%;height:auto;aspect-ratio:1/1;overflow:hidden;background:#fff}
.mle-product-category .mle-category-products ul.products li.product a img{display:block;width:100%;height:auto;aspect-ratio:1/1!important;object-fit:contain;object-position:center;transform:none!important;background:#fff}