/* Responsive layer for the KUCA showroom. Content and controls share one layout. */
:root{--max:1600px;--content-width:var(--max);--page-gutter:clamp(16px,4vw,64px);--navigation-height:clamp(80px,6vw,96px)}
html{scroll-padding-top:calc(var(--navigation-height) + 16px);-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{min-width:0}
.wrap{max-width:var(--content-width);width:min(var(--content-width),calc(100% - var(--page-gutter) - var(--page-gutter)))}
main,.header,.footer,.section,.showcase-hero,.model-categories{min-width:0;max-width:100%}
.section{padding-block:clamp(48px,6vw,104px)}
.header{height:var(--navigation-height);padding-inline:max(var(--page-gutter),calc((100% - var(--content-width))/2));gap:clamp(12px,2vw,36px)}
.section-top>*,.eec-section-top>*,.certificate-section-top>*,.factory-section-top>*,.custom-grid>*,.inquiry-grid>*,.hero-summary>*,.capabilities>*,.credentials>*,.footer>*{min-width:0}
h1,h2,h3,.eec-model-line>strong,.footer-company,.market-line,.inquiry-selected-copy{overflow-wrap:anywhere}
.announcement{height:auto;min-height:34px}
.announcement{padding-inline:max(var(--page-gutter),calc((100% - var(--content-width))/2))}
.announcement>span:first-child{min-width:0}
.header .header-cta,.hero-summary-actions .button{flex-shrink:0}
.button,.text-link,.eec-expand,.product-dialog-actions>a,.footer-store,.inquiry-catalog-help>a{min-height:44px}
.text-link,.footer-store,.inquiry-catalog-help>a{align-content:center}
.button{text-align:center;white-space:normal}
.showcase-hero-link img{width:100%;height:auto;display:block}
.showcase-hero-link{width:100%;margin-inline:auto}
.hero-services{display:none}
.category-mobile-links.category-cards{display:none}
.credentials strong{font-size:clamp(28px,3vw,42px)}
.hero-summary{line-height:1.6}
.hero-summary-copy{font-size:clamp(14px,1.15vw,16px);max-width:45em}
.hero-summary-actions{max-width:100%}
.hero-summary-actions .text-link{display:inline-flex;align-items:center}
.eec-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}
.eec-card,.eec-card-open,.eec-card-body,.eec-model-line,.eec-key-specs>span{min-width:0}
.eec-card{display:flex;flex-direction:column}
.eec-card-open{height:auto;display:flex;flex-direction:column;flex:none}
.eec-card-body{display:flex;flex:1;flex-direction:column;width:100%}
.eec-model-line{align-items:flex-start}
.eec-model-line>strong{font-size:clamp(23px,2vw,29px);line-height:1.2}
.eec-label{flex-shrink:0;margin-top:2px}
.eec-kind{font-size:14px}
.eec-key-specs{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.eec-key-specs strong{white-space:normal;font-size:clamp(20px,1.6vw,24px);line-height:1.35}
.eec-inline-specs{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:0 25px;padding:17px 0 20px;border-top:1px solid #284459;font-size:13px;line-height:1.65;text-align:left;flex:1}
.eec-inline-specs>div{display:grid;grid-template-columns:minmax(64px,.8fr) minmax(0,1.5fr);gap:12px;min-width:0}
.eec-inline-specs dt{margin:0;color:#9db8cd;overflow-wrap:anywhere}
.eec-inline-specs dd{margin:0;color:#e2f0fb;min-width:0;overflow-wrap:anywhere;font-weight:500}
.eec-card-link{min-height:44px;margin-top:auto;padding-top:17px}
.eec-card-body>.eec-inline-specs+.eec-card-link{margin-top:20px}
.eec-card-body>.eec-inline-specs{margin-bottom:0}
.eec-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 25px 23px;padding-top:16px;border-top:1px solid #284459}
.eec-card-actions>*{display:flex;align-items:center;justify-content:center;min-height:46px;min-width:0;padding:10px 8px;text-align:center;font-size:12px;line-height:1.5;overflow-wrap:anywhere;border-radius:3px}
.eec-product-link{background:#80d5fc;color:#061625;border:1px solid #9ee3ff;font-weight:600}
.eec-product-link:hover{background:#b0e6ff}
.eec-details-button{background:transparent;color:#b6e5ff;border:1px solid #365b75}
.eec-details-button:hover{background:#102d43;border-color:#6faccd}
.eec-section-bottom{flex-wrap:wrap}
.eec-catalog-link{max-width:100%;white-space:normal}
.certificate-track{min-width:0;width:100%;overflow:hidden}
.certificate-card{--certificate-width:min(clamp(220px,calc(18vw + 150px),360px),calc(100vw - 48px));width:var(--certificate-width);flex-basis:var(--certificate-width)}
.certificate-group{gap:clamp(12px,2vw,24px);padding-right:clamp(12px,2vw,24px)}
.certificate-caption h3{min-width:0}
.certificate-gallery-label{max-width:100%;white-space:normal}
.certificate-footer a{white-space:normal}
.factory-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
.factory-card:first-child{grid-column:auto}
.factory-caption strong{min-width:0;overflow-wrap:anywhere}
.factory-caption>span{flex-shrink:0}
.custom-grid,.inquiry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.custom-options summary{min-height:56px}
.custom-options summary>span,.custom-options summary>b{flex-shrink:0}
.inquiry form,.inquiry label,.two-col>*{min-width:0}
.inquiry input,.inquiry select,.inquiry textarea{min-width:0;max-width:100%;font-size:16px}
.inquiry input,.inquiry select{min-height:48px}
.inquiry textarea{min-height:112px}
.inquiry .two-col{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:18px}
.inquiry-selected-copy>a{min-height:44px;align-content:center}
.footer{display:grid;grid-template-columns:minmax(160px,1fr) minmax(0,2fr) auto;align-items:start;gap:clamp(20px,3vw,48px)}
.footer-company{order:0}
.footer-store{overflow-wrap:anywhere;max-width:100%}
dialog,.eec-product-dialog{width:min(var(--dialog-width,970px),calc(100vw - 32px));max-width:min(var(--dialog-width,970px),calc(100vw - 32px));max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;overflow:auto;overscroll-behavior:contain;padding:12px clamp(18px,3vw,32px) 28px;scrollbar-gutter:stable}
.eec-product-dialog{--dialog-width:790px}
.inquiry-dialog{--dialog-width:680px}
.dialog-close{display:flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;position:sticky;top:8px;right:auto;margin:0 0 10px auto;z-index:3;background:#0b2236;border:1px solid #365b75;border-radius:3px;box-shadow:0 4px 16px #01081180}
.dialog-product-grid,.eec-product-dialog .dialog-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
.dialog-product-grid>div{min-width:0}
.dialog-product-grid>img{max-width:100%;height:auto;max-height:360px;object-fit:contain}
.dialog-product-grid h2,.inquiry-dialog h2{overflow-wrap:anywhere}
.dialog-product-grid li,.product-dialog-actions>a,.inquiry-steps li{overflow-wrap:anywhere}
.product-dialog-actions,.dialog-actions{max-width:100%;flex-wrap:wrap}
.product-dialog-actions .button,.dialog-actions .button{max-width:100%}
.inquiry-dialog textarea{min-width:0;max-width:100%;min-height:160px;max-height:40dvh;white-space:pre-wrap;overflow-wrap:anywhere}
.language-section{padding-block:24px 0}
.language-section details{border:1px solid #2d4c64;background:#0a2032;border-radius:4px}
.language-section summary{min-height:54px;padding:15px 20px;cursor:pointer;font-size:14px;color:#bed8e9;line-height:1.6}
.language-section summary::marker{color:#80d5fc}
.language-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(122px,1fr));gap:8px;padding:0 20px 20px}
.language-links a{display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;padding:9px 12px;border:1px solid #36556d;border-radius:3px;background:#0c263b;color:#d2e6f3;font-size:14px;text-align:center;overflow-wrap:anywhere}
.language-links a:hover{background:#133650;border-color:#80c6eb}

@media(min-width:1600px){
  .showcase-hero-link{max-width:1920px}
  .hero-summary{padding-block:48px}
}
@media(max-width:1200px){
  :root{--navigation-height:80px}
  .header{padding-inline:var(--page-gutter);gap:20px}
  .menu-toggle{width:44px;height:44px;min-width:44px;align-items:center;padding:10px}
  .header nav{top:var(--navigation-height);padding-inline:var(--page-gutter);max-width:100%;max-height:calc(100vh - var(--navigation-height));max-height:calc(100dvh - var(--navigation-height))}
  .header nav a{min-height:48px;white-space:normal}
  .custom-grid,.inquiry-grid{gap:clamp(28px,4vw,46px)}
}
@media(max-width:1000px){
  .eec-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
  .factory-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
  .factory-section-top{align-items:flex-start}
  .factory-intro{max-width:320px}
  .certificate-section-top{align-items:flex-start}
}
@media(max-width:900px){
  .hero-services{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;list-style:none;margin:22px 0 0;padding:0;max-width:520px}
  .hero-services li{min-width:0;padding:10px 12px;border:1px solid #284b64;border-radius:3px;background:#0b2539;color:#bedbea;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
  .hero-summary{align-items:start}
  .model-category-artwork{display:none}
  .model-categories #collection-title{position:static;width:auto;height:auto;clip:auto;overflow:visible;white-space:normal;margin:0 0 24px;padding:0;font-size:clamp(28px,4.2vw,40px);font-weight:400;line-height:1.2;letter-spacing:-.035em}
  .category-mobile-links.category-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,2.5vw,22px);margin:0}
  .category-mobile-links.category-cards>a{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:0;min-width:0;padding:0;overflow:hidden;border:1px solid #31536d;border-radius:5px;background:#0b2236;color:#dceef9;line-height:1.5}
  .category-mobile-links.category-cards>a:hover{border-color:#80c9ee;background:#103047}
  .category-card-image{display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;width:100%;background-image:url('assets/alibaba-showcase/product-categories-hd.png');background-size:304% auto;background-repeat:no-repeat;background-color:#03192c}
  .category-card-image.category-all{background-image:linear-gradient(135deg,#123f5d,#062039)}
  .category-card-image.category-all>span{font-size:clamp(22px,3.4vw,36px);font-weight:600;letter-spacing:-.03em;color:#eaf8ff}
  .category-car{background-position:50% 27.5%}
  .category-golf{background-position:100% 27.5%}
  .category-cargo{background-position:0% 82%}
  .category-utv{background-position:50% 83%}
  .category-bike{background-position:100% 82%}
  .category-card-label{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:1;min-width:0;padding:14px;font-size:clamp(14px,1.9vw,18px);overflow-wrap:anywhere}
  .category-mobile-links.category-cards .category-card-label{color:#dceef9}
  .category-card-label>span{flex-shrink:0;color:#80d5fc}
  .footer{grid-template-columns:minmax(0,1fr) auto}
  .footer-company{grid-column:1/-1;grid-row:2;width:100%;order:0}
}
@media(max-width:820px){
  .hero-summary{gap:24px}
  .hero-summary-actions{min-width:0;max-width:240px}
  .hero-summary h1{font-size:clamp(31px,4.8vw,40px)}
  .hero-summary-copy{font-size:15px}
  .custom-grid,.inquiry-grid{grid-template-columns:minmax(0,1fr);gap:36px}
  .custom-visual{width:100%;max-width:560px;margin-inline:auto;height:auto;aspect-ratio:1}
  .custom-copy{max-width:700px}
  .custom-copy>p:not(.eyebrow){max-width:none;font-size:15px}
  .custom-copy h2{font-size:clamp(36px,6vw,48px)}
  .about .section-top,.factory-section-top{flex-direction:column;align-items:flex-start;gap:22px}
  .factory-intro{max-width:none}
  .about .section-intro{max-width:none}
  .inquiry-grid>div>p:not(.eyebrow) br{display:none}
  .inquiry form{width:100%;max-width:none;padding:30px}
  .dialog-product-grid,.eec-product-dialog .dialog-product-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .eec-product-dialog #dialog-features{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  :root{--navigation-height:72px}
  .announcement{padding:8px 20px;min-height:34px}
  .announcement>span:first-child{font-size:9px;letter-spacing:.04em}
  .header{height:var(--navigation-height);gap:12px;padding-inline:var(--page-gutter)}
  .header .brand-logo{width:108px}
  .header .header-cta{font-size:12px;min-height:44px;padding:10px 12px}
  .header nav{top:var(--navigation-height);padding:12px var(--page-gutter) 20px;max-height:calc(100vh - var(--navigation-height));max-height:calc(100dvh - var(--navigation-height))}
  .hero-summary{display:block;padding-block:30px}
  .hero-summary .eyebrow{font-size:10px}
  .hero-summary h1{font-size:clamp(31px,7.8vw,42px)}
  .hero-summary-copy{max-width:40em;font-size:15px;line-height:1.75}
  .hero-summary-actions{max-width:none;display:flex;flex-direction:row;flex-wrap:wrap;gap:14px 24px;margin-top:22px}
  .hero-summary-actions .button,.hero-summary-actions .text-link{font-size:13px;min-height:46px}
  .credentials{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 0}
  .credentials p{font-size:12px}
  .credentials .text-stat{font-size:clamp(17px,3.6vw,22px)}
  .category-mobile-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
  .category-mobile-links a{min-width:0;min-height:56px;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
  .category-mobile-links a span{flex-shrink:0}
  .model-category-links{display:none}
  .section{padding-block:56px}
  .section h2,.factory-section-top h2{font-size:clamp(30px,5.5vw,38px)}
  .certificate-section-top,.eec-section-top{flex-direction:column;align-items:flex-start;gap:22px}
  .certificate-intro,.certificate-footer{font-size:13px}
  .certificate-caption h3{font-size:14px}
  .certificate-caption p,.certificate-caption h3 span{font-size:11px}
  .factory-intro{font-size:14px}
  .custom-options summary{font-size:15px}
  .custom-options details p{font-size:14px}
  .capabilities{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px 24px}
  .capabilities p,.about .section-intro{font-size:15px}
  .market-line p{font-size:11px;line-height:2}
  .inquiry-grid>div>p:not(.eyebrow){font-size:15px}
  .inquiry label{font-size:14px}
  .sourcing-steps li{font-size:14px}
  .form-help,.form-heading>p:last-child{font-size:12px}
  .footer{gap:24px;align-items:flex-start}
  .footer-company{width:100%}
  .footer-company strong,.footer>div>p{font-size:12px}
  .footer-store{font-size:13px}
  dialog,.eec-product-dialog{padding:12px 24px 26px}
  .product-dialog-actions{gap:14px}
  .product-dialog-actions .text-link,.dialog-actions .text-link{font-size:14px}
}
@media(max-width:600px){
  .eec-grid{grid-template-columns:minmax(0,1fr);gap:22px}
  .eec-card-body{padding:23px}
  .eec-model-line>strong{font-size:28px}
  .eec-key-specs strong{font-size:24px}
  .eec-key-specs>span>span{font-size:12px}
  .eec-inline-specs{margin-inline:23px;font-size:14px;gap:8px}
  .eec-inline-specs>div{grid-template-columns:minmax(70px,.7fr) minmax(0,1.6fr);gap:14px}
  .eec-card-actions{margin-inline:23px}
  .eec-card-actions>*{font-size:13px}
  .eec-card-link{font-size:14px}
  .factory-gallery{grid-template-columns:minmax(0,1fr);gap:28px}
  .factory-caption{font-size:14px}
  .eec-product-dialog #dialog-features{grid-template-columns:minmax(0,1fr)}
  .dialog-product-grid .product-dialog-actions{align-items:stretch;flex-direction:column}
  .dialog-product-grid h2{font-size:28px}
  .dialog-product-grid .product-dialog-actions .button{width:100%}
  .inquiry-steps{flex-direction:column;gap:10px;font-size:14px}
  .inquiry .two-col{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:380px){
  .wrap{width:calc(100% - 32px)}
  .header{padding-inline:16px;gap:8px}
  .header .brand-logo{width:94px}
  .header .header-cta{font-size:11px;padding-inline:10px}
  .header nav{padding-inline:16px}
  .announcement{padding-inline:16px}
  .hero-summary h1{font-size:31px}
  .hero-summary-actions{gap:10px 18px}
  .category-mobile-links{column-gap:16px}
  .category-mobile-links a{font-size:13px}
  .eec-card-body{padding:20px}
  .eec-model-line>strong{font-size:26px}
  .eec-inline-specs{margin-inline:20px;font-size:13px}
  .eec-inline-specs>div{grid-template-columns:68px minmax(0,1fr);gap:10px}
  .eec-card-actions{margin-inline:20px;gap:8px}
  .eec-card-actions>*{font-size:12px}
  .language-section summary{padding-inline:16px;font-size:13px}
  .language-links{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:16px;gap:8px}
  .capabilities{grid-template-columns:minmax(0,1fr)}
  .inquiry form{padding:24px 18px}
  .inquiry .two-col{grid-template-columns:minmax(0,1fr);gap:18px}
  .inquiry-product-preview.has-image{grid-template-columns:minmax(0,1fr)}
  .inquiry-selected-visual{width:86px;height:86px}
  .dialog-actions{align-items:stretch;flex-direction:column;gap:12px}
  .dialog-actions .button{width:100%}
  dialog,.eec-product-dialog{padding-inline:20px}
}
@media(max-height:560px) and (orientation:landscape){
  .header{position:relative}
  .header nav{max-height:calc(100vh - var(--navigation-height));max-height:calc(100dvh - var(--navigation-height))}
  dialog,.eec-product-dialog{max-height:calc(100vh - 16px);max-height:calc(100dvh - 16px);padding-top:12px}
  .dialog-product-grid>img,.eec-product-dialog .dialog-product-grid>img{max-height:180px}
  .inquiry-dialog textarea{max-height:35dvh;min-height:120px}
}
@media(max-width:340px){.category-mobile-links.category-cards{grid-template-columns:minmax(0,1fr)}.hero-services{grid-template-columns:minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .button,.eec-card,.header nav a,.header nav a::after{transition:none}
}
