/*
Theme Name: Mingyi Spare Parts Construction Machinery Co., Ltd
Theme URI: https://mingyispareparts.com/
Author: Mingyi Spare Parts Construction Machinery Co., Ltd
Description: Elementor-compatible construction machinery parts company theme with responsive home and product layouts.
Version: 1.5.1
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: northstar-export
*/
:root{--primary:#c7181d;--primary-hover:#a91419;--primary-soft:#fcebec;--ink:#171717;--charcoal:#222831;--body:#4a4a4a;--muted:#707070;--line:#e5e7eb;--surface:#fff;--surface-soft:#f6f7f8;--focus:#f2b544;--success:#176b4d;--container:1200px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-width:320px;background:#fff;color:var(--body);font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}.container{width:min(var(--container),calc(100% - 48px));margin:0 auto}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:absolute;left:16px;top:-50px;background:#fff;color:var(--ink);padding:12px;z-index:100}.skip-link:focus{top:16px}:focus-visible{outline:2px solid var(--focus);outline-offset:3px}.site-header{position:relative;z-index:20;background:var(--charcoal);color:#fff}.header-inner{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:36px}.brand-lockup{display:inline-flex;align-items:center;gap:10px;min-width:185px;color:#fff}.brand-mark{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(255,255,255,.7);font-size:19px;font-weight:700;letter-spacing:-.08em}.brand-logo-fallback{background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important}.brand-logo-fallback img{width:180px;height:68px;max-height:68px;object-fit:contain;object-position:left center;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;mix-blend-mode:normal}.brand-lockup strong{display:block;font-size:15px;line-height:1;letter-spacing:.13em;font-weight:800}.brand-lockup small{display:block;margin-top:5px;font-size:8px;line-height:1;letter-spacing:.22em;color:rgba(255,255,255,.58)}.main-navigation{display:flex;align-items:center;gap:28px;font-size:13px;font-weight:650;letter-spacing:.02em}.main-navigation a{position:relative;min-height:44px;display:inline-flex;align-items:center;color:rgba(255,255,255,.75)}.main-navigation a:hover,.main-navigation a.current-menu-item{color:#fff}.main-navigation a.current-menu-item:after{content:"";position:absolute;left:0;right:0;bottom:11px;height:2px;background:var(--primary)}.header-cta,.button{min-height:52px;display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;padding:0 22px;border-radius:5px;font-size:13px;font-weight:750;letter-spacing:.02em;transition:background .2s ease,border-color .2s ease,transform .2s ease}.header-cta{min-height:44px;background:var(--primary);color:#fff}.header-cta:hover,.button.primary:hover{background:var(--primary-hover);transform:translateY(-2px)}.menu-button{display:none;width:44px;height:44px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff}.hero{position:relative;min-height:650px;display:grid;align-items:center;overflow:hidden;background:var(--charcoal);color:#fff}.hero-visual{position:absolute;inset:0;opacity:.48}.hero-visual:after{content:"";position:absolute;inset:0;background:rgba(34,40,49,.64)}.hero-visual img{width:100%;height:100%;object-fit:cover}.hero-content{position:relative;z-index:1;padding:96px 0 100px}.eyebrow{margin:0 0 18px;color:var(--primary);font-size:11px;font-weight:800;letter-spacing:.16em;line-height:1.4;text-transform:uppercase}.eyebrow.light{color:#f08a8d}.hero h1,.page-hero h1{max-width:720px;margin:0 0 26px;color:#fff;font-family:Montserrat,system-ui,sans-serif;font-size:clamp(45px,6vw,72px);line-height:1.07;letter-spacing:-.035em}.hero h1 span,.page-hero h1 span,h1 span,h2 span{color:var(--primary)}.hero-copy{max-width:590px;margin:0;color:rgba(255,255,255,.78);font-size:18px;line-height:1.7}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:36px}.button.primary{background:var(--primary);color:#fff}.button.secondary-dark{border-color:rgba(255,255,255,.45);color:#fff;background:transparent}.button.secondary-dark:hover{border-color:#fff;background:rgba(255,255,255,.1)}.button.outline{border-color:var(--primary);color:var(--primary);background:#fff}.hero-cue{display:flex;align-items:center;gap:12px;margin-top:72px;color:rgba(255,255,255,.64);font-size:12px;font-weight:650}.cue-line{width:42px;height:1px;background:var(--primary)}.proof-band{background:var(--surface-soft);border-bottom:1px solid var(--line)}.proof-grid{display:grid;grid-template-columns:repeat(4,1fr)}.proof-item{min-height:175px;padding:32px 28px;border-right:1px solid var(--line)}.proof-item:first-child{padding-left:0}.proof-item:last-child{padding-right:0;border-right:0}.proof-number,.step-number{color:var(--primary);font-size:12px;font-weight:850;letter-spacing:.1em}.proof-item h2{margin:19px 0 9px;font-size:16px;letter-spacing:-.01em}.proof-item p,.process-card p,.product-card p,.company-copy p,.reason-item p,.faq-item p{margin:0;color:var(--muted);font-size:14px;line-height:1.65}.section{padding:100px 0}.section-soft{background:var(--surface-soft)}.section-dark{background:var(--charcoal);color:#fff}.section-heading{max-width:610px}.section-heading h2{margin:0 0 20px;font-family:Montserrat,system-ui,sans-serif;font-size:clamp(36px,4vw,52px);line-height:1.15;letter-spacing:-.035em}.section-heading>p:last-child{max-width:540px;margin:0;font-size:17px;line-height:1.7}.row-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;max-width:none}.text-link{display:inline-flex;align-items:center;gap:8px;color:var(--primary);font-size:13px;font-weight:750}.process-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:60px}.process-card{position:relative;min-height:250px;padding:28px;border:1px solid var(--line);background:#fff}.process-card h3{margin:44px 0 14px;font-size:21px}.process-card>svg{position:absolute;right:28px;bottom:28px;color:var(--primary)}.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:55px}.product-card{background:var(--surface-soft);border:1px solid var(--line);transition:transform .2s ease,box-shadow .2s ease}.product-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(23,23,23,.1)}.product-art{height:170px;overflow:hidden;background:#dce1e4}.product-art img{width:100%;height:100%;object-fit:cover}.product-card-body{padding:25px 22px 26px}.card-tag{display:inline-block;margin-bottom:15px;color:var(--primary);font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}.product-card h3{margin:0 0 10px;font-size:20px;line-height:1.25}.product-card p{min-height:68px;margin-bottom:20px}.company-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:88px}.company-image{background:var(--charcoal)}.company-image img{width:100%;aspect-ratio:1/1;object-fit:cover}.company-copy h2{max-width:520px;margin:0 0 22px;font-family:Montserrat,system-ui,sans-serif;font-size:clamp(35px,4vw,49px);line-height:1.15;letter-spacing:-.035em}.company-copy>p{max-width:520px;margin:0 0 26px;font-size:17px;line-height:1.75}.check-list{display:grid;gap:14px;list-style:none;padding:0;margin:0 0 32px;color:var(--ink);font-size:14px;font-weight:650}.check-list li{display:flex;gap:10px;align-items:center}.check-list svg{color:var(--primary);flex:0 0 auto}.dark-heading h2{color:#fff}.dark-heading>p:last-child,.section-dark .reason-item p{color:rgba(255,255,255,.66)}.reasons-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:56px;background:rgba(255,255,255,.15)}.reason-item{min-height:230px;padding:30px;background:var(--charcoal)}.reason-item h3{color:#fff;margin:20px 0 12px;font-size:19px}.reason-icon{width:28px;height:28px;fill:none;stroke:#f08a8d;stroke-width:2}.faq-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:110px;align-items:start}.faq-list{border-top:1px solid var(--line)}.faq-item{border-bottom:1px solid var(--line)}.faq-item button{width:100%;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:20px;border:0;background:transparent;color:var(--ink);text-align:left;font-size:15px;font-weight:700}.faq-item p{max-width:650px;margin:-2px 0 24px}.faq-icon{color:var(--primary);font-size:24px;font-weight:400}.inquiry-band{padding:95px 0;background:var(--charcoal);color:#fff}.inquiry-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:100px;align-items:start}.inquiry-intro h2{margin:0 0 22px;color:#fff;font-family:Montserrat,system-ui,sans-serif;font-size:clamp(38px,4vw,56px);line-height:1.1;letter-spacing:-.035em}.inquiry-intro>p{max-width:430px;color:rgba(255,255,255,.7);font-size:16px;line-height:1.65}.inquiry-note{display:flex;align-items:center;gap:10px;margin-top:40px;color:rgba(255,255,255,.65);font-size:12px}.note-dot{width:8px;height:8px;background:var(--primary);border-radius:50%}.inquiry-form-wrap{padding:28px;background:#fff;color:var(--ink)}.inquiry-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.inquiry-form label{display:grid;gap:8px;color:var(--ink);font-size:12px;font-weight:750}.inquiry-form input,.inquiry-form select,.inquiry-form textarea{width:100%;border:1px solid #d7dadd;border-radius:4px;background:#fff;color:var(--ink);padding:14px;font-size:14px}.inquiry-form input,.inquiry-form select{min-height:52px}.inquiry-form textarea{min-height:120px;resize:vertical}.full-field{grid-column:1/-1}.form-footnote{grid-column:1/-1;margin:-4px 0 0;color:var(--muted);font-size:11px}.page-hero{padding:100px 0 96px;background:var(--charcoal);color:#fff}.page-hero> .container>p:last-child{max-width:570px;margin:0;color:rgba(255,255,255,.72);font-size:18px;line-height:1.7}.filter-row{display:flex;flex-wrap:wrap;gap:10px}.filter-row button{min-height:44px;padding:0 18px;border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--body);font-size:12px;font-weight:750}.filter-row button:hover,.filter-row button.selected{border-color:var(--primary);background:var(--primary);color:#fff}.catalog-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px;margin-top:35px}.catalog-grid .product-card{display:grid;grid-template-columns:40% 60%}.catalog-grid .product-art{height:100%;min-height:280px}.catalog-grid .product-card-body{display:flex;flex-direction:column;justify-content:center}.catalog-grid .product-card p{min-height:auto}.site-footer{padding:68px 0 25px;background:#181c22;color:#fff}.footer-grid{display:grid;grid-template-columns:1.2fr .8fr 1fr;gap:80px}.footer-copy{max-width:270px;margin:25px 0 0;color:rgba(255,255,255,.55);font-size:13px;line-height:1.7}.footer-nav{display:flex;flex-direction:column;align-items:flex-start;gap:13px;font-size:13px;color:rgba(255,255,255,.66)}.footer-label{margin-bottom:5px;color:#fff;font-size:11px;font-weight:800;letter-spacing:.15em;text-transform:uppercase}.footer-nav a:hover,.footer-inquiry{color:#fff}.footer-note{max-width:250px;font-size:12px;line-height:1.6}.footer-note a{color:#f08a8d}.footer-bottom{display:flex;justify-content:space-between;gap:20px;margin-top:66px;padding-top:18px;border-top:1px solid rgba(255,255,255,.13);color:rgba(255,255,255,.45);font-size:11px}@media(max-width:920px){.main-navigation{gap:17px}.product-grid{grid-template-columns:repeat(2,1fr)}.company-layout,.faq-layout,.inquiry-layout{gap:48px}.reasons-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{gap:40px}}@media(max-width:700px){.container{width:min(100% - 32px,var(--container))}.header-inner{min-height:72px}.menu-button{display:grid;place-items:center}.main-navigation{position:absolute;top:72px;left:0;right:0;display:none;flex-direction:column;align-items:stretch;gap:0;padding:12px 16px 20px;background:var(--charcoal);border-top:1px solid rgba(255,255,255,.1);box-shadow:0 8px 24px rgba(23,23,23,.2)}.main-navigation.is-open{display:flex}.main-navigation a{min-height:50px}.header-cta{margin-top:10px}.hero{min-height:670px}.hero-content{padding:80px 0}.hero h1,.page-hero h1{font-size:45px}.hero-copy{font-size:16px}.hero-cue{margin-top:52px}.proof-grid,.process-grid,.product-grid,.reasons-grid,.company-layout,.faq-layout,.inquiry-layout,.footer-grid{grid-template-columns:1fr}.proof-item,.proof-item:first-child,.proof-item:last-child{min-height:auto;padding:24px 0;border-right:0;border-bottom:1px solid var(--line)}.proof-item:last-child{border-bottom:0}.section{padding:64px 0}.row-heading{display:block}.row-heading .text-link{margin-top:22px}.process-grid,.product-grid{margin-top:36px}.process-card{min-height:225px}.company-image{order:2}.company-copy{order:1}.reason-item{min-height:190px}.faq-layout,.inquiry-layout{gap:35px}.inquiry-band{padding:64px 0}.inquiry-form-wrap{padding:20px}.inquiry-form{grid-template-columns:1fr}.full-field{grid-column:auto}.inquiry-form .button{width:100%}.page-hero{padding:70px 0 64px}.catalog-grid{grid-template-columns:1fr;margin-top:28px}.catalog-grid .product-card{grid-template-columns:1fr}.catalog-grid .product-art{height:190px;min-height:0}.footer-bottom{flex-direction:column;margin-top:45px}}

/* Temporary construction machinery image layout */
.hero-visual img{width:100%;height:100%;object-fit:cover;object-position:center;}
.product-art{overflow:hidden;background:#eef1f3;aspect-ratio:4/3;}
.product-art img{width:100%;height:100%;object-fit:cover;object-position:center;}
@media (max-width:720px){.brand-logo-fallback img{width:142px;height:54px}.hero-visual img{object-position:58% center}.product-art{aspect-ratio:16/10;}}

/* Reference-style imagery, transparent logo, and WhatsApp contact */
.brand-logo-fallback img{background:transparent!important;border:none!important;border-radius:0!important;box-shadow:none!important;width:156px;height:76px;object-fit:contain;object-position:left center;mix-blend-mode:normal;}
.site-header .brand-logo-fallback,.site-footer .brand-logo-fallback{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;}
.site-header .brand-logo-fallback img,.site-footer .brand-logo-fallback img{background:transparent!important;border:0!important;box-shadow:none!important;mix-blend-mode:normal;}
.nav-whatsapp{padding:10px 14px;border:1px solid rgba(255,255,255,.28);border-radius:999px;color:#fff!important;background:rgba(37,211,102,.14)}
.nav-whatsapp:hover{background:#25d366;color:#122018!important}
.hero-visual::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(34,40,49,.84),rgba(34,40,49,.34) 48%,rgba(34,40,49,.06));pointer-events:none;}
.hero-visual img{filter:saturate(.95) contrast(1.04);}
.product-card{box-shadow:0 18px 44px rgba(17,24,39,.10);border:1px solid rgba(17,24,39,.08);}
.product-art{background:#1f2933;}
.floating-whatsapp{position:fixed;right:22px;bottom:22px;z-index:80;display:inline-flex;flex-direction:column;gap:2px;padding:13px 16px;border-radius:18px;background:#25d366;color:#102018;font-size:12px;font-weight:800;line-height:1.25;box-shadow:0 16px 34px rgba(0,0,0,.25);}
.floating-whatsapp strong{font-size:13px;letter-spacing:.01em;}
.footer-note a{color:#9de7b8;}
@media (max-width:720px){.brand-logo-fallback img{width:132px;height:50px}.floating-whatsapp{right:14px;bottom:14px;padding:11px 13px}.nav-whatsapp{display:inline-flex}}

/* Admin-managed catalog and media settings */
.catalog-toolbar{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:28px}.catalog-toolbar h2{margin:0}.category-filter{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:30px}.category-chip{padding:9px 14px;border:1px solid var(--line);border-radius:999px;font-size:13px;color:var(--body);background:#fff}.category-chip:hover,.category-chip.active{border-color:var(--primary);color:var(--primary)}.catalog-empty{grid-column:1/-1;padding:42px;border:1px dashed #cbd5e1;background:#f8fafc}.catalog-empty h3{margin-top:0;color:var(--ink)}.center-action{text-align:center;margin-top:34px}.company-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center}.company-image{min-height:360px;background:#25313a;overflow:hidden}.company-image img{width:100%;height:100%;min-height:360px;object-fit:cover}.product-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:72px;align-items:start}.product-detail-image{background:#f1f3f4;min-height:440px;display:grid;place-items:center}.product-detail-image img{width:100%;height:100%;max-height:620px;object-fit:cover}.product-detail-copy h1{font-size:clamp(38px,5vw,74px);line-height:.98;margin:0 0 22px;color:var(--ink)}.product-meta{padding:12px 0;border-bottom:1px solid var(--line)}.product-meta strong{color:var(--ink)}.mingyi-media-button{margin-left:8px}.regular-text.mingyi-media-url{width:min(480px,100%)}
@media (max-width:760px){.catalog-toolbar,.company-grid,.product-detail-grid{display:block}.catalog-toolbar .button{margin-top:18px}.company-image{margin-bottom:34px}.product-detail-image{min-height:280px;margin-bottom:32px}.product-detail-copy h1{font-size:44px}}

.category-hero-image{height:260px;margin-bottom:34px;overflow:hidden;background:#25313a}.category-hero-image img{width:100%;height:100%;object-fit:cover}

/* v1.1.2: keep category/product-card text beside image instead of overlapping */
.product-card{display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(260px,.95fr)!important;align-items:stretch!important;background:#fff!important;overflow:hidden!important;min-height:265px!important;}
.product-card .product-art{position:relative!important;display:block!important;width:100%!important;height:100%!important;min-height:265px!important;aspect-ratio:auto!important;overflow:hidden!important;background:#1f2933!important;}
.product-card .product-art img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;}
.product-card .product-card-body{position:relative!important;z-index:2!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:14px!important;padding:34px 36px!important;background:#fff!important;color:var(--body)!important;opacity:1!important;transform:none!important;}
.product-card .card-tag{display:block!important;color:var(--primary)!important;font-size:12px!important;font-weight:800!important;letter-spacing:.16em!important;text-transform:uppercase!important;margin:0!important;}
.product-card .product-card-body h3{margin:0!important;color:var(--ink)!important;font-size:clamp(22px,2.2vw,31px)!important;line-height:1.08!important;}
.product-card .product-card-body p{margin:0!important;color:var(--body)!important;font-size:15px!important;line-height:1.65!important;}
.product-card .text-link{margin-top:4px!important;color:var(--primary)!important;font-weight:800!important;}
@media (max-width:900px){.product-card{grid-template-columns:1fr!important}.product-card .product-art{min-height:230px!important}.product-card .product-card-body{padding:28px!important}}


/* v1.2.1: uploaded products are shown as a responsive 5/6-column catalog wall */
.category-product-wall{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:18px!important;align-items:stretch!important;}
.category-product-wall .catalog-empty{grid-column:1/-1!important;}
.category-product-wall .product-card{display:flex!important;flex-direction:column!important;min-height:0!important;background:#fff!important;border:1px solid rgba(17,24,39,.08)!important;box-shadow:0 12px 28px rgba(17,24,39,.08)!important;overflow:hidden!important;}
.category-product-wall .product-card .product-art{display:block!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:1/1!important;background:#f1f3f4!important;overflow:hidden!important;}
.category-product-wall .product-card .product-art img{width:100%!important;height:100%!important;object-fit:cover!important;object-position:center!important;}
.category-product-wall .product-card .product-card-body{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:8px!important;padding:15px!important;background:#fff!important;color:var(--body)!important;min-height:170px!important;}
.category-product-wall .product-card .card-tag{font-size:10px!important;line-height:1.2!important;}
.category-product-wall .product-card .product-card-body h3{font-size:16px!important;line-height:1.2!important;margin:0!important;color:var(--ink)!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
.category-product-wall .product-card .product-card-body p{font-size:12px!important;line-height:1.5!important;margin:0!important;display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;}
.category-product-wall .product-card .text-link{margin-top:auto!important;font-size:12px!important;color:var(--primary)!important;font-weight:800!important;}
@media (min-width:1560px){.category-product-wall{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:16px!important;}}
@media (max-width:1180px){.category-product-wall{grid-template-columns:repeat(4,minmax(0,1fr))!important;}}
@media (max-width:900px){.category-product-wall{grid-template-columns:repeat(3,minmax(0,1fr))!important;}}
@media (max-width:680px){.category-product-wall{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}.category-product-wall .product-card .product-card-body{padding:13px!important;min-height:160px!important}.category-product-wall .product-card .product-card-body h3{font-size:15px!important}}
@media (max-width:430px){.category-product-wall{grid-template-columns:1fr!important;}.category-product-wall .product-card .product-card-body{min-height:0!important;}}

/* v1.5.0: homepage category cards use a clean two-row grid with full image display. */
#products .product-card{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:1fr!important;align-items:stretch!important;min-height:285px!important;overflow:hidden!important;}
#products .product-card .product-art{grid-column:1!important;grid-row:1!important;width:100%!important;min-width:0!important;height:100%!important;min-height:285px!important;aspect-ratio:auto!important;overflow:hidden!important;background:#f1f3f4!important;}
#products .product-card .product-art img{display:block!important;width:100%!important;height:100%!important;min-width:0!important;object-fit:contain!important;object-position:center!important;background:#f1f3f4!important;}
#products .product-card .product-card-body{grid-column:2!important;grid-row:1!important;position:relative!important;width:100%!important;min-width:0!important;min-height:285px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:10px!important;padding:28px 30px!important;background:#fff!important;opacity:1!important;transform:none!important;overflow:visible!important;}
#products .product-card .product-card-body p{font-size:14px!important;line-height:1.4!important;}
#products .product-card .product-card-body h3{font-size:clamp(20px,2vw,28px)!important;}
@media (min-width:901px){#products .section-heading + .product-grid,#products .section-heading + .catalog-grid,#products .section-heading + .category-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;}}
@media (max-width:900px){#products .product-card{grid-template-columns:1fr!important;grid-template-rows:auto auto!important;}#products .product-card .product-art{grid-column:1!important;grid-row:1!important;min-height:240px!important;}#products .product-card .product-card-body{grid-column:1!important;grid-row:2!important;min-height:0!important;padding:24px!important;}}

/* Keep the managed catalog wall as image-above-copy cards. */
.category-product-wall .product-card{display:flex!important;grid-template-columns:none!important;grid-template-rows:none!important;}
.category-product-wall .product-card .product-art{grid-column:auto!important;grid-row:auto!important;}
.category-product-wall .product-card .product-card-body{grid-column:auto!important;grid-row:auto!important;min-height:170px!important;}

/* v1.5.0: homepage category cards are arranged in two rows, with concise copy. */
#products .container > div:nth-child(2),#products .container > .product-grid,#products .container > .catalog-grid,#products .container > .category-grid,#products .container :has(> .product-card){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;align-items:stretch!important;}
#products .container > div:nth-child(2) .product-card,#products .container > .product-grid .product-card,#products .container > .catalog-grid .product-card,#products .container > .category-grid .product-card,#products .container :has(> .product-card) .product-card{min-width:0!important;}
#products .container > div:nth-child(2) .product-card .product-card-body p,#products .container > .product-grid .product-card .product-card-body p,#products .container > .catalog-grid .product-card .product-card-body p,#products .container > .category-grid .product-card .product-card-body p,#products .container :has(> .product-card) .product-card .product-card-body p{display:none!important;}
@media (max-width:900px){#products .container > div:nth-child(2),#products .container > .product-grid,#products .container > .catalog-grid,#products .container > .category-grid,#products .container :has(> .product-card),#products .container:has(> .product-card),#products .container > div:has(> .product-card){grid-template-columns:1fr!important;gap:18px!important;}}
@media (max-width:900px){#products .container > div:nth-child(2) .product-card .product-art,#products .container > .product-grid .product-card .product-art,#products .container > .catalog-grid .product-card .product-art,#products .container > .category-grid .product-card .product-art,#products .container :has(> .product-card) .product-card .product-art{min-height:240px!important;}}

/* v1.5.1: catch the actual homepage card wrapper whether rendered by the theme or Elementor. */
#products *:has(> .product-card){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;align-items:stretch!important;}
#products *:has(> .product-card) > .product-card{min-width:0!important;}
#products *:has(> .product-card) .product-card-body p{display:none!important;}
@media (max-width:900px){#products *:has(> .product-card){grid-template-columns:1fr!important;gap:18px!important;}}



/* Product detail typography */
.product-detail-copy h1{font-size:clamp(32px,3.2vw,40px);line-height:1.12;}
.product-detail-copy .product-meta{font-size:17px;line-height:1.55;}
.product-detail-copy .entry-content{font-size:17px;line-height:1.65;}
@media(max-width:760px){.product-detail-copy h1{font-size:32px;line-height:1.15}.product-detail-copy .product-meta{font-size:16px}.product-detail-copy .entry-content{font-size:16px;line-height:1.6}}

/* Ensure inquiry email field is clearly visible */
.inquiry-form label:has(input[name="email"]){display:grid!important;grid-column:1/-1!important;visibility:visible!important;opacity:1!important;}
.inquiry-form input[type="email"][name="email"]{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;min-height:52px!important;background:#fff!important;color:var(--ink)!important;border:1px solid #d7dadd!important;position:relative!important;z-index:1!important;}
@media(max-width:700px){.inquiry-form label:has(input[name="email"]){grid-column:auto!important;}}
