.demo-banner{display:flex;gap:20px;align-items:center;flex-wrap:wrap;padding:10px 3%;background:#102238;color:#c8dcf0;font-size:13px;margin-top:10px;border-block:1px solid var(--line)}.demo-banner span{margin-right:auto}.demo-banner a{color:#56dcff;font-weight:600}.demo-page-heading,.demo-section-title,.demo-row{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}.demo-section-title{margin:28px 0 18px}.demo-note{font-size:14px!important;color:var(--muted);line-height:1.6}.demo-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:28px 0}.demo-metrics article,.demo-panel{background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:24px}.demo-metrics article span{display:block;color:var(--muted);font-size:14px}.demo-metrics strong{font-size:32px;display:block;margin-top:12px}.demo-tabs{display:flex;gap:9px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:25px}.demo-tabs a,.secondary{border:1px solid var(--line);border-radius:10px;padding:10px 15px;color:var(--white);font-size:14px;display:inline-flex;align-items:center;gap:8px}.demo-tabs a[aria-current],.secondary:hover{background:#073653;color:#4edcff;border-color:#098cb3}.demo-table-wrap{width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:16px}.demo-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px;background:var(--panel)}.demo-table th{font-weight:500;color:var(--muted);background:#0e2035}.demo-table th,.demo-table td{padding:17px 18px;border-bottom:1px solid var(--line);vertical-align:middle}.demo-table small{display:block;margin-top:7px;color:var(--muted);line-height:1.5}.demo-table td:first-child{min-width:180px}.demo-actions{display:flex;flex-wrap:wrap;gap:8px}.demo-actions .secondary{white-space:nowrap}.demo-filter{max-width:450px;margin-bottom:20px}.demo-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}.demo-field{display:flex;flex-direction:column;gap:9px;color:var(--muted);font-size:14px;font-weight:500}.demo-field input,.demo-field select,.demo-field textarea{width:100%;border:1px solid var(--line);border-radius:10px;background:var(--bg);padding:12px 13px;color:var(--white);font:inherit;font-size:16px}.demo-field small{font-weight:400;line-height:1.5}.demo-field textarea{resize:vertical}.demo-field input[type=file]{font-size:14px}.wide{grid-column:1/-1}.demo-fieldset{border:1px solid var(--line);border-radius:12px;padding:18px;margin:0;min-width:0}.demo-fieldset legend{font-size:15px;padding:0 7px}.form-message{color:#ff9fae!important;font-size:14px;line-height:1.5;margin:0}.form-message:empty{display:none}#upload-preview img{max-width:130px;max-height:100px;object-fit:contain}.demo-two{display:grid;grid-template-columns:1fr 1fr;gap:22px}.demo-two .demo-form{grid-template-columns:1fr}.demo-panel{margin-bottom:18px}.demo-panel h2,.demo-panel h3{margin-top:0}.demo-panel p{line-height:1.65;color:var(--muted)}.demo-panel details{margin-top:18px}.demo-panel summary{cursor:pointer;color:var(--cyan);font-size:14px}.demo-account-choice{display:block;width:100%;text-align:left;border:1px solid var(--line);border-radius:12px;padding:16px;margin:12px 0;color:var(--white);font-size:14px}.demo-profile{display:flex;gap:18px;align-items:center;flex-wrap:wrap;border:1px solid var(--line);padding:24px;border-radius:18px;background:var(--panel);margin:25px 0}.demo-profile h2{margin:0}.demo-profile p{color:var(--muted)}.demo-profile>button{margin-left:auto}.demo-addresses{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.demo-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px;overflow:visible!important;margin-right:0!important;padding-right:0!important}.demo-product{background:var(--panel);border:1px solid var(--line);border-radius:19px;overflow:hidden;min-width:0}.demo-product-image{display:flex;align-items:center;justify-content:center;height:210px;background:radial-gradient(ellipse,#183653,transparent);padding:20px}.demo-product-image img{width:100%;height:100%;object-fit:contain}.demo-product-body{padding:22px}.demo-product-body h3{font-size:22px;margin:8px 0}.demo-product-body p{font-size:14px;color:var(--muted);line-height:1.6;margin:10px 0}.demo-product-body small{display:block;font-size:13px;color:var(--muted);margin:10px 0}.demo-price{font-size:25px}.demo-product-icon{min-height:100px;display:grid;place-items:center;color:var(--cyan)}.demo-product-icon svg{width:70px;height:70px}.demo-empty{padding:35px 25px;border:1px dashed var(--line);border-radius:16px;line-height:1.7;color:var(--muted);grid-column:1/-1}.demo-empty a{color:var(--cyan)}.demo-empty a.primary{color:white;margin:12px}.demo-facts{display:grid;grid-template-columns:auto 1fr;gap:10px 20px;font-size:14px}.demo-facts dt{color:var(--muted)}.demo-facts dd{margin:0}.stock-zero{color:#ffa3b1}.demo-timeline{list-style:none;margin:25px 0;padding:0 0 0 20px;border-left:2px solid var(--cyan)}.demo-timeline li{padding-bottom:20px}.demo-timeline small{display:block;margin-top:7px;color:var(--muted)}.demo-timeline p{font-size:14px;margin-bottom:0}.service-demo-form{align-items:end}.service-demo-form label{flex:1}.service-slip{background:#fff;color:#18314d;max-width:860px;margin:25px auto;padding:45px;border:1px solid #cbd7e4;box-shadow:0 14px 45px #0002}.slip-brand{font-size:30px;font-weight:800;letter-spacing:-1px;margin-bottom:30px}.slip-brand span{color:#007cae}.service-slip h2{font-size:18px}.service-slip dl{display:grid;grid-template-columns:180px 1fr;font-size:14px;margin:25px 0}.service-slip dt,.service-slip dd{padding:12px;border-bottom:1px solid #d8e0e8;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.service-slip dt{font-weight:600;background:#f0f5fa}.slip-note{font-size:12px;line-height:1.6}.slip-signatures{display:flex;justify-content:space-between;margin-top:65px;padding-bottom:45px;font-size:14px}.demo-panel .primary{margin-top:10px}.page-content .detail-image .demo-product-icon{min-height:300px}body[data-page=home] #product-grid.demo-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}body[data-page=home] .demo-product-image{height:180px}body[data-page=home] .demo-product-body h3{font-size:20px}body[data-page=home] .product-dots{display:none}.cart-line>.demo-product-icon{width:80px;min-height:80px;flex-shrink:0}
[data-theme=light] .demo-banner{background:#eaf3ff;color:#365573}[data-theme=light] .demo-banner a{color:#00618c}[data-theme=light] .demo-table th{background:#edf4fc}[data-theme=light] .demo-tabs a[aria-current],[data-theme=light] .secondary:hover{background:#e4f4ff;color:#00618c;border-color:#87c7df}[data-theme=light] .form-message,[data-theme=light] .stock-zero{color:#a11e3d!important}[data-theme=light] .demo-product-image{background:radial-gradient(ellipse,#e1efff,transparent)}
@media(max-width:1100px){.demo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}body[data-page=home] #product-grid.demo-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.demo-two{grid-template-columns:1fr}.demo-metrics{gap:10px}.demo-metrics article{padding:18px}}
@media(max-width:760px){.demo-banner{gap:12px;font-size:12px;padding:10px 18px}.demo-banner span{flex-basis:100%}.demo-page-heading h1{font-size:30px}.demo-metrics{grid-template-columns:repeat(2,1fr)}.demo-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:14px}.demo-tabs a{white-space:nowrap}.demo-form,.demo-addresses{grid-template-columns:1fr}.demo-grid{grid-template-columns:1fr!important}body[data-page=home] #product-grid.demo-grid{display:flex!important;overflow-x:auto!important;gap:12px}body[data-page=home] .demo-product{flex:0 0 84%}.demo-product-image{height:230px}.demo-panel{padding:20px}.demo-table td,.demo-table th{padding:14px}.demo-facts{grid-template-columns:1fr}.service-slip{padding:20px}.service-slip dl{grid-template-columns:115px 1fr;font-size:12px}.service-slip dt,.service-slip dd{padding:9px}.slip-brand{font-size:24px}.service-slip .demo-row{display:block}.slip-signatures{gap:20px}.demo-profile>button{margin-left:0}.demo-section-title h2{font-size:23px}}
@media print{@page{size:A4;margin:15mm}body{background:white!important;color:#18314d!important;min-width:0}body>header,body>.service-nav,.demo-banner,.breadcrumbs,.mobile-nav,.footer,.no-print,.skip-link,dialog,#toast{display:none!important}.page-content{margin:0;width:100%;max-width:none}.service-slip{border:0;box-shadow:none;padding:0;max-width:none;margin:0}.service-slip dl{font-size:10pt;grid-template-columns:150px 1fr}.service-slip dt,.service-slip dd,.slip-signatures{break-inside:avoid}.inner-main{min-height:0}}

/* Cards keep their surface; bounded columns prevent empty horizontal stretching. */
@media(min-width:761px){
 .products-section .products-grid,.used-grid,.accessory-grid{grid-template-columns:repeat(auto-fill,minmax(0,240px));justify-content:start}
 .demo-grid,body[data-page=home] #product-grid.demo-grid{grid-template-columns:repeat(auto-fill,minmax(0,240px))!important;justify-content:start}
}
@media(max-width:760px){
 .products-section .product-card.compact-card,.used-grid .used-card{flex:0 0 220px;max-width:220px}
 .demo-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),240px))!important;justify-content:start}
 .demo-grid .compact-product{min-width:0;max-width:240px}
}
/* Compact content order only: preserve each existing card surface, font and frame. */
.products-section .product-card.compact-card{min-height:0;padding:12px;gap:6px;cursor:pointer;text-align:center;align-items:center}
.products-section .product-card.compact-card h3{margin:0;width:100%;min-height:0;font-size:20px;line-height:1.2;display:flex;align-items:center;justify-content:center}
.products-section .product-card.compact-card .product-art{position:static;inset:auto;width:100%;max-width:100%;height:112px;object-fit:contain;object-position:center;z-index:auto;opacity:1;margin:0 auto}
.products-section .product-card.compact-card .price{margin:0;display:block;font-size:23px;line-height:1.2}
.compact-placeholder{display:block;height:112px}
.demo-product.compact-product{display:block;cursor:pointer}
.compact-product .demo-product-body{display:flex;flex-direction:column;align-items:center;text-align:center;gap:6px;padding:12px}
.compact-product .demo-product-body h3{margin:0;width:100%;min-height:0;font-size:20px;line-height:1.2;display:flex;align-items:center;justify-content:center}
.compact-product .demo-product-image{height:112px;width:100%;padding:0;flex-shrink:0}
.compact-product .demo-price{display:block;margin:0;font-size:23px;line-height:1.2}
.compact-product .demo-product-icon{min-height:100%;width:100%}
.used-grid .used-card{min-height:0;padding:12px;gap:6px;text-align:center;align-items:center}
.used-grid .used-card .used-label,.used-grid .used-card .used-caption,.used-grid .used-card .used-bottom{display:none}
.used-grid .used-card img{position:static;inset:auto;width:100%;max-width:100%;height:112px;object-fit:contain;z-index:auto;margin:0}
.accessory-grid>a,.accessory-grid>button{min-height:0;padding:12px;gap:14px;align-items:center;text-align:center}
.accessory-grid strong{order:0}
.accessory-grid .accessory-icon{order:1;margin:0}
.accessory-grid>a>span:not(.accessory-icon),.accessory-grid>button>span:not(.accessory-icon){display:none}
@media(max-width:760px){
 .products-section .product-card.compact-card{padding:12px;gap:6px}
 .products-section .product-card.compact-card .product-art,.compact-product .demo-product-image,.used-grid .used-card img,.compact-placeholder{height:100px}
 .compact-product .demo-product-body,.used-grid .used-card,.accessory-grid>a,.accessory-grid>button{padding:12px}
}

/* Approved October 7: center intact desktop cards; three complete mobile columns. */
@media(min-width:761px){
 .products-section .products-grid,.used-grid,.accessory-grid,.demo-grid,body[data-page=home] #product-grid.demo-grid{display:flex!important;flex-wrap:wrap;justify-content:center;gap:16px}
 .products-section .product-card.compact-card,.used-grid .used-card,.accessory-grid>a,.accessory-grid>button,.demo-grid .compact-product{flex:0 0 240px;width:240px;max-width:240px}
}
@media(max-width:760px){
 .products-section .products-grid,.used-grid,.accessory-grid,.demo-grid,body[data-page=home] #product-grid.demo-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px;overflow:visible!important;margin-right:0;padding:0;scroll-snap-type:none;align-items:stretch}
 .products-section .product-card.compact-card,.used-grid .used-card,.accessory-grid>a,.accessory-grid>button,.demo-grid .compact-product{width:100%;min-width:0;max-width:none;min-height:0;flex:initial}
 .products-section .product-card.compact-card,.used-grid .used-card,.accessory-grid>a,.accessory-grid>button,.compact-product .demo-product-body{padding:7px;gap:5px}
 .products-section .product-card.compact-card h3,.compact-product .demo-product-body h3,.used-grid .used-card h3,.accessory-grid strong{font-size:clamp(11px,3vw,16px);line-height:1.2;min-height:2.4em;margin:0;width:100%;display:flex;align-items:center;justify-content:center;white-space:normal;overflow-wrap:anywhere}
 .products-section .product-card.compact-card .product-art,.compact-product .demo-product-image,.used-grid .used-card img,.compact-placeholder{height:clamp(55px,16vw,100px);width:100%;object-fit:contain}
 .products-section .product-card.compact-card .price,.compact-product .demo-price{font-size:clamp(10px,2.8vw,17px);line-height:1.3;white-space:nowrap;margin:0}
 .accessory-grid .accessory-icon{width:38px;height:38px;margin:0}
 .accessory-grid .accessory-icon svg{width:26px;height:26px}
}
