/* Scene hierarchy: architecture, context, product, detail. Technical drawings stay in the data section. */
.brand-frame{position:relative;isolation:isolate;overflow:hidden}
.brand-frame:before,.brand-frame:after{content:'';position:absolute;pointer-events:none;z-index:3;left:22px;bottom:20px;width:112px;height:48px}
.brand-frame:before{left:8px;bottom:7px;width:145px;height:76px;background:radial-gradient(ellipse,#f7f9fce8 12%,#f7f9fcaa 45%,#f7f9fc00 74%);filter:blur(4px)}
.brand-frame:after{background:#142d4e;opacity:.94;mask:url('brand/mingtao-logo-original.png') center/contain no-repeat;-webkit-mask:url('brand/mingtao-logo-original.png') center/contain no-repeat}
.catalogue-badge{top:18px;bottom:auto;left:18px;background:#f7f9fced;color:#142d4e;font-size:10px;letter-spacing:.06em;padding:8px 12px;border:1px solid #ffffff50}
.panorama-options{display:flex;gap:12px;max-width:850px;margin:30px auto 38px}
.panorama-options button{flex:1;min-height:58px;font-size:15px;padding:14px 20px;border:1px solid #c7d2df;background:transparent;transition:background .35s,color .35s,box-shadow .35s}
.panorama-options button[aria-pressed=true]{box-shadow:0 7px 20px #142d4e18}
.panorama-view{display:block;position:relative;overflow:hidden;box-shadow:0 15px 50px #142d4e0c}
.panorama-view img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.panorama-view [data-panorama-label]{position:absolute;inset:auto 28px 28px auto;display:flex;align-items:center;justify-content:space-between;gap:35px;min-width:225px;min-height:66px;padding:19px 25px;background:#f7f9fcf2;color:#142d4e;backdrop-filter:blur(12px);font:500 20px/1.4 var(--sans);box-shadow:0 7px 25px #07132620;border:1px solid #ffffff80;transition:background .3s,transform .3s}
.panorama-view:hover [data-panorama-label]{background:white;transform:translateY(-3px)}
.application-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 28px}
.application-card figure{aspect-ratio:4/5;background:#e9edf4}
.application-card figure>img{object-position:center;object-fit:cover}
.application-card:nth-child(2) figure,.application-card:nth-child(5) figure{margin-top:38px}
.application-card h3{font-weight:400;letter-spacing:0}
.product-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:38px}
.product-gallery .product-card{background:white;border:0;box-shadow:0 8px 35px #142d4e05}
.product-gallery .product-card figure{height:auto;aspect-ratio:4/3;margin:0;overflow:hidden}
.product-gallery .product-card img,.product-gallery .product-card[href*='category=ground'] img{object-fit:cover;object-position:center;width:100%;height:100%;transition:transform .8s cubic-bezier(.22,1,.36,1)}
.product-gallery .product-card:hover img{transform:scale(1.025)}
.product-gallery .product-card>div{padding:30px 34px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 20px;align-items:center}
.product-gallery .product-card{min-width:0;width:100%;margin-top:0!important}.product-gallery .product-card figure{min-height:0}.product-gallery .product-card>div>span{grid-row:1;overflow-wrap:anywhere}.product-gallery .product-card h3{min-width:0;overflow-wrap:anywhere}
.module-source-photo>img{width:100%;height:300px;object-fit:cover}
.product-gallery .product-card>div>span{grid-column:1/-1;font:600 12px var(--sans);letter-spacing:.08em;color:#a66b46}
.product-gallery .product-card h3{font:400 31px/1.3 var(--sans);margin:4px 0;grid-column:1;grid-row:2}
.product-gallery .series-concept{grid-column:1;grid-row:3;margin:0;font:400 14px/1.6 var(--sans)}
.product-gallery .product-card b{grid-column:2;grid-row:2/4;font:500 13px/1.6 var(--sans);white-space:nowrap}
.catalog-category-lead{grid-template-columns:1.5fr 1fr;min-height:0}.catalog-category-lead img{height:auto;aspect-ratio:16/10;object-fit:cover}.catalog-category-lead figure{height:auto}.catalog-category-lead>div{padding:40px}
.catalog-category-lead h2{font:400 clamp(34px,4vw,56px)/1.25 var(--sans)}
.catalog-grid{gap:30px}.catalog-grid article{border:0;box-shadow:0 6px 26px #142d4e04}
.catalog-grid .card-picture img{height:auto;aspect-ratio:4/3}.catalog-grid .native-picture img{object-fit:contain;padding:28px 20px 60px;background:#fff}.catalog-grid .concept-picture img{object-fit:cover}
.catalog-grid h3{font:500 23px/1.4 var(--sans)}
.product-dialog{width:min(1440px,calc(100% - 64px));max-width:1440px;padding:72px 48px 48px;background:#f7f9fc;border-top:4px solid #a66b46}
.dialog-layout{grid-template-columns:minmax(0,1.18fr) minmax(340px,.82fr);gap:54px;align-items:start}
.dialog-media{position:sticky;top:0;min-width:0}
.dialog-content{padding:0}.dialog-media>figure{height:auto!important;min-height:0!important;overflow:visible}.dialog-media{overflow:visible}
.dialog-media #dialog-zoom{background:white;display:flex;align-items:center;justify-content:center}
.dialog-media #dialog-image{display:block;height:560px;width:100%;padding:30px 25px 75px;object-fit:contain}
.dialog-media #dialog-zoom.concept-view #dialog-image{padding:0;object-fit:cover;background:#e9edf4;height:auto;aspect-ratio:3/2}
.dialog-media #dialog-zoom.portrait-view #dialog-image{aspect-ratio:3/4;max-height:560px;object-fit:contain}
.dialog-media figcaption{padding:14px 0 18px;font:400 11px/1.8 var(--sans);text-align:start;color:#64748a}
.dialog-gallery{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;border:0;padding:0;margin:0}
.dialog-gallery button{min-width:0;padding:0 0 10px;border:1px solid #d9e0e9;background:white;border-bottom:2px solid transparent;text-align:center;color:#5b6f86;border-radius:0}
.dialog-gallery button img{display:block;width:100%;height:68px;object-fit:cover;margin:0 0 10px}.dialog-gallery button span{font:400 11px/1.4 var(--sans);padding:0 3px;display:block}
.dialog-gallery button img{padding:0!important;aspect-ratio:auto}
.dialog-gallery button[aria-pressed=true]{background:white;border-color:#142d4e;border-bottom-color:#a66b46;color:#142d4e}
.dialog-content>h2{font:400 clamp(35px,3.1vw,48px)/1.15 var(--sans);margin:14px 0 26px;letter-spacing:-.02em}
.dialog-content>.section-label{font:600 13px/1.6 var(--sans);letter-spacing:.08em}
.dialog-summary{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;border:0;margin:0 0 30px;padding:0;font-size:12px}
.dialog-summary dt{color:#6c7b8e;font-weight:400;grid-row:1}.dialog-summary dd{margin:0;font:400 12px/1.7 var(--sans);grid-row:2}
.outline-sheet{display:none!important}
#technical-data{margin:26px 0 32px}#technical-data>h3{font:500 18px var(--sans);margin:0 0 18px}
.technical-table{margin:0;border-top:1px solid #bcc9d8}
.technical-row{display:grid;grid-template-columns:39% 61%;padding:13px 0;align-items:center;border-bottom:1px solid #dce3ec;gap:0}
.technical-row dt{font:400 12px/1.5 var(--sans);color:#6c7b8e;padding-inline-end:10px}.technical-row dd{margin:0;font:400 13px/1.6 var(--sans);min-width:0;overflow-wrap:anywhere;color:#142d4e}
.technical-row .parameter-value{display:block;max-width:100%;width:auto;max-height:27px;object-fit:contain;object-position:left center;background:transparent;border-radius:0;padding:0;mix-blend-mode:multiply}
.technical-note{font:400 11px/1.8 var(--sans);color:#6c7b8e;margin:17px 0 22px}
.technical-drawing,.source-reference{border-top:1px solid #d3dce7;font:400 12px/1.7 var(--sans)}
.technical-drawing summary,.source-reference summary{list-style:none;cursor:pointer;padding:17px 0;display:flex;align-items:center;justify-content:space-between;color:#142d4e}.technical-drawing summary::-webkit-details-marker,.source-reference summary::-webkit-details-marker{display:none}
.technical-drawing[open] summary>span,.source-reference[open] summary>span{transform:rotate(45deg)}
.technical-drawing>img{display:block;max-width:100%;width:100%;max-height:450px;object-fit:contain;background:white;margin:5px 0 20px}.source-reference a{display:block;padding-bottom:18px;text-decoration:underline}
.technical-drawing>img{padding:0!important}
.application-card figure img{object-position:center center}.catalog-category-lead figure{min-height:0}.catalog-category-lead img{padding:0}
:focus-visible{outline:2px solid #a66b46;outline-offset:4px}
.variant-row{font-size:11px;line-height:1.75}.dialog-content>.button{font-size:12px;min-height:48px;padding:14px 22px;margin-inline-end:8px}
.dialog-close{position:sticky;float:right;top:0;right:0;margin-top:-52px;background:#f7f9fc;min-height:40px;min-width:75px}
.factory-gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.factory-gallery-main{grid-column:auto!important;grid-row:auto!important}.factory-placeholder,.factory-placeholder>div,.factory-gallery-main>div{min-height:135px!important;height:auto!important}.factory-placeholder>div{padding:18px}.factory-placeholder>div>span{font-size:27px}.factory-placeholder>div p{font-size:11px}.factory-placeholder figcaption{position:static;padding:16px;min-height:80px}.factory-placeholder figcaption strong{font:400 16px/1.4 var(--sans)}
@media(max-width:1050px){.product-dialog{padding:62px 28px 30px}.dialog-layout{gap:30px;grid-template-columns:minmax(0,1fr) minmax(0,.9fr)}.dialog-media #dialog-image{height:460px}.dialog-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}.application-grid{gap:32px 20px}.product-gallery .product-card>div{padding:24px}.factory-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.application-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.application-card:nth-child(2) figure,.application-card:nth-child(5) figure{margin-top:0}.dialog-layout{grid-template-columns:1fr;gap:32px}.dialog-media{position:static}.product-dialog{width:calc(100% - 16px);padding:62px 20px 28px}.dialog-media #dialog-image{height:420px}.dialog-gallery{grid-template-columns:repeat(5,minmax(0,1fr))}.dialog-content>h2{font-size:36px}.catalog-category-lead{grid-template-columns:1fr}.catalog-category-lead>div{padding:28px}.catalog-category-lead img{aspect-ratio:16/10;height:auto}.catalog-category-lead figure{height:auto}}
@media(max-width:660px){.panorama-options{gap:8px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:24px 0}.panorama-options button{min-height:52px;font-size:13px;padding:12px 10px}.panorama-view img{height:410px;aspect-ratio:auto;object-position:62% center}.panorama-view [data-panorama-label]{inset:auto 14px 18px auto;min-width:150px;min-height:54px;padding:14px 18px;font-size:16px;gap:20px}.brand-frame:after{left:14px;bottom:20px;width:90px;height:39px}.brand-frame:before{left:0;bottom:6px;width:125px;height:65px}.application-grid{grid-template-columns:1fr;gap:32px}.application-card figure{aspect-ratio:4/3;height:auto}.product-gallery{grid-template-columns:1fr;gap:28px}.product-gallery .product-card figure{height:auto;aspect-ratio:4/3}.product-gallery .product-card>div{padding:24px}.product-gallery .product-card h3{font-size:27px}.product-gallery .product-card b{font-size:12px}.catalogue-badge{top:12px;left:12px;font-size:8px;padding:6px 8px}.catalog-grid{grid-template-columns:1fr}.catalog-grid .card-picture img{height:auto;aspect-ratio:4/3}.catalog-grid .card-picture:after{width:96px;height:41px}.catalog-grid article>div{padding:24px}.catalog-card-actions{flex-direction:row;align-items:center}.catalog-card-actions button{font-size:12px;min-height:40px}.catalog-grid h3{font-size:26px}.catalog-grid article p{font-size:12px}.dialog-gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.dialog-gallery button img{height:59px}.dialog-gallery button span{font-size:10px}.dialog-media #dialog-image{height:365px}.dialog-close{margin-top:-48px;font-size:12px}.technical-row{grid-template-columns:38% 62%;padding:12px 0}.technical-row dt{font-size:11px}.technical-row dd{font-size:12px}.factory-gallery{gap:12px}.factory-placeholder figcaption{padding:12px}.factory-placeholder figcaption strong{font-size:14px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
/* User correction: larger navy mark directly over the photograph, without a backing glow. */
.brand-frame::before,.application-card figure::before,#dialog-zoom:not(.source-view)::before{content:none!important;display:none!important;background:none!important;filter:none!important}
.brand-frame::after,.application-card figure::after,.catalog-grid .card-picture::after{width:140px;height:60px}
#dialog-zoom:not(.source-view)::after{width:162px!important;height:69px!important}
@media(max-width:660px){.brand-frame::after,.application-card figure::after,.catalog-grid .card-picture::after{width:112px;height:48px}#dialog-zoom:not(.source-view)::after{width:140px!important;height:60px!important}}

/* Related products use the same application scene as the selected product. */
#related-grid .related-scene{margin:0;aspect-ratio:3/2;background:#edf1f5}#related-grid .related-scene img{height:auto;width:100%;aspect-ratio:3/2;object-fit:cover}#related-grid .related-scene::after{left:8px;bottom:7px;width:min(76px,52%);height:32px}

/* Four intentional scene views; original product photographs are a separate disclosure. */
#dialog-gallery{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;max-height:none;overflow:visible}
#dialog-gallery button{padding-bottom:12px;transition:border-color .24s ease,background .24s ease,transform .24s ease}
#dialog-gallery button img{height:auto;aspect-ratio:3/2;object-fit:cover;margin-bottom:12px}
#dialog-gallery button:hover{border-color:#9eafc3;transform:translateY(-2px)}
#dialog-gallery button[aria-pressed=true]{border-color:#142d4e;border-bottom-color:#a66b46;background:#edf2f7}
.source-photo-gallery{margin-top:22px;border-top:1px solid #d3dce7}
.source-photo-gallery>summary{padding:17px 0;display:flex;justify-content:space-between;align-items:center;cursor:pointer;font:400 12px/1.7 var(--sans);color:#64748a;list-style:none}
.source-photo-gallery>summary::-webkit-details-marker{display:none}
.source-photo-gallery[open]>summary>span{transform:rotate(45deg)}
#dialog-source-gallery{grid-template-columns:repeat(auto-fill,minmax(105px,1fr));max-width:400px;gap:10px;padding-bottom:8px}
#dialog-source-gallery button img{height:105px;object-fit:contain;background:white;padding:8px!important}
@media(max-width:660px){#dialog-gallery{gap:7px}#dialog-gallery button{padding-bottom:10px}#dialog-gallery button span{font-size:10px}#dialog-gallery button img{margin-bottom:9px}.source-photo-gallery{margin-top:17px}}
.application-card figure{aspect-ratio:3/2}
.application-card figure>img{object-fit:cover}
#dialog-gallery .portrait-thumb img{object-fit:contain;background:#edf1f5}
.dialog-media #dialog-zoom.portrait-view #dialog-image{max-height:min(560px,calc(92svh - 340px))}
@media(max-width:660px){.application-card figure{aspect-ratio:3/2}#dialog-zoom:not(.source-view)::after{width:min(140px,34%)!important;height:auto!important;aspect-ratio:162/69}}

/* MINGTAO identity: transparent wordmark and authentic product numbers. */
.mingtao-wordmark{line-height:1;display:block;flex-shrink:0}
.mingtao-logo{display:block;width:176px;height:auto;aspect-ratio:5/2;object-fit:contain}
.site-header .brand{margin:0;line-height:1;padding:0}
footer .mingtao-logo{width:216px}.company-logo .mingtao-logo{width:164px}
.product-card h3.product-number,.catalog-grid h3.product-number{font-family:var(--sans);font-size:clamp(20px,2vw,29px);font-weight:500;line-height:1.45;letter-spacing:.015em;overflow-wrap:anywhere}
.dialog-content>h2{font-family:var(--sans);font-size:clamp(29px,3.2vw,45px);font-weight:500;line-height:1.35;letter-spacing:.01em;overflow-wrap:anywhere}
@media(max-width:980px){.site-header .mingtao-logo{width:147px}}
@media(max-width:660px){.site-header .mingtao-logo{width:130px}.catalog-grid h3.product-number{font-size:17px}.product-card h3.product-number{font-size:23px}.dialog-content>h2{font-size:29px}}

/* Preserve the supplied original artwork. Footer reverses only the ink colour. */
.mingtao-logo{aspect-ratio:auto;height:auto;object-fit:contain}
footer .mingtao-logo{filter:brightness(0) invert(1)}

.mingtao-logo{filter:none!important}footer .mingtao-logo{filter:brightness(0) invert(1)!important}

/* Category covers prioritize the complete product over distant architecture. */
.catalog-category-lead figure{aspect-ratio:3/2;min-height:0;height:auto;overflow:hidden;background:#edf2f7}
.catalog-category-lead #catalog-lead-image{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;object-position:50% 50%;padding:0}

/* The complete collection needs a full-width view to keep its shapes readable. */
.catalog-category-lead.is-family{grid-template-columns:1fr}.catalog-category-lead.is-family>div{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:32px;padding:28px 36px}.catalog-category-lead.is-family>div>.section-label{grid-column:1;margin-bottom:6px}.catalog-category-lead.is-family h2{grid-column:1;font-size:36px;margin:0 0 12px}.catalog-category-lead.is-family #catalog-description{grid-column:1;margin:0}.catalog-category-lead.is-family #catalog-count{grid-column:1;margin-top:16px;padding-top:14px}.family-view-controls{display:flex;align-items:center;gap:6px;border:1px solid #142d4e22;padding:5px;border-radius:7px;grid-column:2;grid-row:1/5;align-self:center}.family-view-controls[hidden]{display:none}.family-view-controls button{min-width:104px;min-height:48px;padding:12px 20px;border:0;border-radius:3px;background:transparent;color:#142d4e;font:500 15px/1.2 var(--sans);cursor:pointer;transition:background .25s ease,color .25s ease,box-shadow .25s ease}.family-view-controls button[aria-pressed=true]{background:#142d4e;color:#fff;box-shadow:0 3px 10px #142d4e18}.family-view-controls button:hover{background:#e5cab750}.family-view-controls button[aria-pressed=true]:hover{background:#1d3b61}.family-view-controls button:focus-visible{outline:2px solid #a66b46;outline-offset:3px}
@media(max-width:660px){.catalog-category-lead.is-family>div{display:block;padding:24px}.catalog-category-lead.is-family h2{font-size:28px}.family-view-controls{width:max-content;margin-top:22px}.family-view-controls button{min-width:92px}}
@media(max-width:660px){.family-view-controls{max-width:100%;box-sizing:border-box}.family-view-controls button{flex:1;min-width:0;white-space:normal}}
.catalog-category-lead.is-family{grid-template-columns:minmax(0,1fr)}.catalog-category-lead.is-family>div{min-width:0}.family-view-controls{align-items:stretch}
@media(max-width:660px){.family-view-controls button{padding:12px;overflow-wrap:anywhere}}
