:root{
  --theme-primary:#db2777;--theme-primary-dark:#be185d;--theme-primary-deep:#9d174d;--theme-primary-light:#fce8f1;--theme-primary-mid:#f9c2d6;
  --theme-dark:#111827;--theme-text:#111827;--theme-muted:#6b7280;--theme-surface:#fff;--theme-surface-soft:#f8fafc;--theme-line:#e5e7eb;
  --max:1200px;--font:Inter,"Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--theme-text);font:16px/1.7 var(--font);background:var(--theme-surface);overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{margin:0 0 .4em;line-height:1.2;letter-spacing:-.02em;font-weight:800}
.container{width:min(var(--max),calc(100% - 40px));margin:auto}
.d2-kicker,.eyebrow,.page-kicker{display:inline-block;margin:0 0 12px;color:var(--theme-primary);font:800 12px/1 var(--font);letter-spacing:.16em;text-transform:uppercase}
.btn,.nav-cta,.product-detail-button{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;border:0;border-radius:8px;background:var(--theme-primary);color:#fff;font:700 14px/1 var(--font);cursor:pointer
}
.btn:hover,.nav-cta:hover,.product-detail-button:hover{background:var(--theme-primary-dark)}
.btn.outline{background:#fff;color:var(--theme-dark);border:1px solid var(--theme-line)}
.btn.outline:hover{border-color:var(--theme-primary);color:var(--theme-primary)}
.btn.outline.light{background:transparent;color:#fff;border-color:#fff6}
.btn.outline.light:hover{background:#fff;color:var(--theme-dark)}

.d2-mast{background:var(--theme-dark);color:#e5e7eb;font-size:15px}
.d2-mast-inner{min-height:38px;display:flex;align-items:center;gap:16px}
.d2-mast-mail{color:#fff;font-weight:600}
.d2-mast-tag{margin-right:auto;opacity:.8}
.topbar-social{display:flex;gap:10px}
.topbar-social a,.topbar-social span{display:grid;place-items:center;width:22px;height:22px;color:#fff}
.topbar-social .is-disabled{opacity:.4}
.social-icon{width:16px;height:16px}
.header{position:sticky;top:0;z-index:80;background:#fff;border-bottom:1px solid var(--theme-line);box-shadow:0 8px 24px #1118270a}
.d2-header-inner{min-height:76px;display:flex;align-items:center;gap:24px}
.logo{display:flex;align-items:center;gap:10px}
.logo-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:8px;background:var(--theme-primary);color:#fff;font-weight:800}
.logo strong{display:block;font-size:17px}
.logo small{display:block;color:var(--theme-muted);font-size:10px;letter-spacing:.12em;text-transform:uppercase}
.logo-image{max-width:190px;max-height:48px;object-fit:contain}
.nav{display:flex;align-items:center;margin-left:auto}
.nav-item{position:relative;height:76px;display:flex;align-items:center}
.nav-item>a{display:flex;align-items:center;height:100%;padding:0 14px;font-size:14px;font-weight:600}
.nav-item>a:hover,.nav-item>a.active{color:var(--theme-primary)}
.nav-chevron{width:6px;height:6px;margin-left:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px)}
.has-dropdown:hover .nav-chevron,.has-dropdown:focus-within .nav-chevron{transform:rotate(225deg) translate(-1px,-1px)}
.dropdown{position:absolute;left:0;top:calc(100% - 1px);width:240px;padding:8px;background:#fff;border:1px solid var(--theme-line);border-radius:0 0 10px 10px;box-shadow:0 16px 40px #11182714;opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s;z-index:90}
.has-dropdown:hover .dropdown,.has-dropdown:focus-within .dropdown{opacity:1;visibility:visible;transform:none}
.dropdown a{display:block;padding:10px 12px;font-size:14px;border-radius:6px}
.dropdown a:hover{background:var(--theme-primary-light);color:var(--theme-primary-dark)}
.nav-cta{margin-left:12px;white-space:nowrap}
.mobile-menu{display:none}

.d2-hero{position:relative;min-height:min(78vh,700px);overflow:hidden;background:var(--theme-dark);color:#fff}
.d2-hero-slides,.d2-hero-slide{position:absolute;inset:0}
.d2-hero-slide{opacity:0;visibility:hidden;transition:opacity .6s}
.d2-hero-slide.is-active,.d2-hero-slide.d2-active{opacity:1;visibility:visible;z-index:1}
.d2-hero-slide img{width:100%;height:100%;object-fit:cover}
.d2-hero:after{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(90deg,#111827f0 0%,#11182799 48%,#11182733 100%);pointer-events:none}
.d2-hero-copy{position:relative;z-index:3;width:min(var(--max),calc(100% - 40px));margin:0 auto;padding:90px 0 80px;max-width:720px;margin-left:max(20px,calc((100vw - var(--max))/2))}
.d2-hero h1{font-size:clamp(36px,5vw,62px);margin:0 0 16px}
.d2-hero h1 em{font-style:normal;color:var(--theme-primary-mid)}
.d2-lede{max-width:38em;color:var(--theme-muted)}.d2-hero .d2-lede,.d2-hero-note,.d8-band .d2-lede,.d7-board .d2-lede,.d9-rail .d2-lede{color:#e5e7eb}
.d2-hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.d2-hero-arrow{position:absolute;z-index:4;top:50%;width:44px;height:44px;border:1px solid #fff6;background:#11182780;color:#fff;border-radius:50%;font-size:22px;cursor:pointer;transform:translateY(-50%)}
.d2-hero-arrow-prev{left:18px}.d2-hero-arrow-next{right:18px}
.d2-hero-dots{position:absolute;z-index:4;left:50%;bottom:22px;display:flex;gap:8px;transform:translateX(-50%)}
.d2-hero-dot{width:28px;height:4px;padding:0;border:0;border-radius:99px;background:#fff6;cursor:pointer}
.d2-hero-dot.is-active,.d2-hero-dot.d2-active{background:var(--theme-primary);width:42px}
.d2-stats{display:grid;grid-template-columns:repeat(4,1fr);background:var(--theme-dark);color:#fff}
.d2-stats div{padding:28px 18px;text-align:center;border-right:1px solid #ffffff14}
.d2-stats strong{display:block;font-size:28px;color:var(--theme-primary-mid)}
.section{padding:88px 0}
.section.soft{background:var(--theme-surface-soft)}
.d2-section-head,.section-title{margin-bottom:36px}
.d2-section-head h2,.section-title h2{font-size:clamp(28px,3.4vw,42px)}
.d2-about{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:stretch}
.d2-about img{width:100%;height:100%;min-height:240px;max-height:360px;object-fit:cover;border-radius:16px}
.d2-why{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.d2-why article{padding:26px;border:1px solid var(--theme-line);border-radius:14px;background:#fff}
.d2-why span{display:grid;place-items:center;width:42px;height:42px;margin-bottom:16px;border-radius:10px;background:var(--theme-primary-light);color:var(--theme-primary-dark);font-weight:800}
.d2-cat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.d2-cat{position:relative;min-height:220px;overflow:hidden;border-radius:14px;color:#fff}
.d2-cat-bg{position:absolute;inset:0;background-size:cover;background-position:center}
.d2-cat:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent,#111827e6)}
.d2-cat-body{position:relative;z-index:1;min-height:220px;padding:20px;display:flex;flex-direction:column;justify-content:end}
.d2-prod-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.d2-prod{background:#fff;border:1px solid var(--theme-line);border-radius:14px;overflow:hidden}
.d2-prod-img{height:210px;background:#f3f4f6;position:relative}
.d2-prod-img img{width:100%;height:100%;object-fit:contain}
.d2-prod-tag,.tag{display:inline-block;padding:4px 8px;border-radius:99px;background:var(--theme-primary-light);color:var(--theme-primary-dark);font-size:11px;font-weight:700}
.d2-prod-img .d2-prod-tag{position:absolute;left:12px;top:12px}
.d2-prod-body{padding:18px}
.d2-prod-link{color:var(--theme-primary);font-weight:700}
.d2-more{display:flex;gap:12px;margin-top:28px}
.d2-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:16px;margin:0;padding:0;list-style:none}
.d2-steps li{padding:22px 18px;border-top:3px solid var(--theme-primary);background:var(--theme-surface-soft)}
.d2-steps b{display:block;margin-bottom:10px;color:var(--theme-primary);font-size:22px}
.d2-cta,.d2-ready{padding:64px 0;background:linear-gradient(135deg,var(--theme-primary-deep),var(--theme-primary));color:#fff}
.d2-cta-box,.d2-ready-inner{display:flex;justify-content:space-between;align-items:center;gap:24px}
.d2-cta .btn,.d2-ready .btn{background:#fff;color:var(--theme-primary-deep)}
.page-hero{position:relative;padding:72px 0 56px;background:var(--theme-dark);color:#fff;overflow:hidden}
.page-hero:before{content:"";position:absolute;inset:0;background:var(--page-hero-image,none) center/cover no-repeat;opacity:.28}
.page-hero .container{position:relative}
.breadcrumbs{margin-bottom:16px;color:var(--theme-primary-mid);font-size:12px;letter-spacing:.12em;text-transform:uppercase}
.page-hero h1{font-size:clamp(32px,4.5vw,52px)}
.page-hero p{max-width:640px;color:#e5e7eb}
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.story{font-size:18px;color:var(--theme-muted)}
.standard-visual{min-height:400px;overflow:hidden;border-radius:16px}
.standard-visual img{width:100%;height:100%;min-height:400px;object-fit:cover}
.process{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}
.process article{padding:18px;background:var(--theme-surface-soft);border-radius:12px}
.process b{color:var(--theme-primary);font-size:20px}
.cta{padding:56px 0;background:var(--theme-dark);color:#fff}
.cta .container{display:flex;justify-content:space-between;align-items:center;gap:24px}
.cta h2{color:#fff}
.cta .btn{background:var(--theme-primary)}

.catalog-categories{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.catalog-category{padding:24px;border:1px solid var(--theme-line);border-radius:14px;background:#fff}
.catalog-category:hover{border-color:var(--theme-primary)}
.catalog-layout{display:grid;grid-template-columns:240px 1fr;gap:32px}
.sidebar{border:1px solid var(--theme-line);border-radius:14px;background:#fff;position:sticky;top:96px}
.sidebar h3{margin:0;padding:16px;background:var(--theme-dark);color:#fff;border-radius:14px 14px 0 0}
.sidebar a{display:block;padding:12px 16px;border-top:1px solid var(--theme-line)}
.sidebar a:hover,.sidebar a.active{color:var(--theme-primary);background:var(--theme-primary-light)}
.sidebar small{float:right}
.sidebar-help{margin:14px;padding:16px;background:var(--theme-surface-soft);border-radius:10px}
.sidebar-help a{padding:0!important;border:0;color:var(--theme-primary)!important;background:none!important}
.listing-heading span{color:var(--theme-primary);font-size:11px;font-weight:800;letter-spacing:.14em}
.product-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.card{background:#fff;border:1px solid var(--theme-line);border-radius:14px;overflow:hidden}
.card-body{padding:18px}
.product-card-image{display:block;height:210px;background:#f3f4f6}
.product-card-image img{width:100%;height:100%;object-fit:contain}
.product-card .card-body footer{display:block;border:0;padding:0}
.product-card .product-detail-button{width:100%}
.product-detail-hero{padding:48px 0 64px;background:var(--theme-surface-soft)}
.detail-layout{display:grid;grid-template-columns:1fr 1fr;gap:48px}
.product-gallery{display:grid;grid-template-columns:80px 1fr;gap:12px}
.thumbs img{width:100%;height:70px;margin-bottom:8px;object-fit:cover;border:1px solid var(--theme-line);border-radius:8px;cursor:pointer}
.thumbs img.is-active{border-color:var(--theme-primary)}
.main-photo{position:relative;background:#fff;border:1px solid var(--theme-line);border-radius:14px}
.main-photo img{width:100%;min-height:440px;object-fit:contain}
.image-note{position:absolute;right:12px;bottom:12px;padding:6px 10px;border-radius:99px;background:#111827cc;color:#fff;font-size:11px}
.product-detail-title{font:800 clamp(22px,2.4vw,32px)/1.25 var(--font);margin:12px 0}
.detail-trust{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.detail-trust span{padding:6px 10px;border-radius:99px;background:#fff;border:1px solid var(--theme-line);color:var(--theme-text);font-size:13px;font-weight:600}
.detail-meta{margin:18px 0}
.detail-meta:empty{display:none}
.detail-meta div{display:flex;padding:10px 0;border-bottom:1px solid var(--theme-line)}
.detail-meta b{width:150px;font-size:12px}
.inquiry-box{padding:20px;border-radius:12px;background:var(--theme-primary-light);border-left:4px solid var(--theme-primary)}
.detail-tabs{position:sticky;top:76px;z-index:30;background:#fff;border-bottom:1px solid var(--theme-line)}
.detail-tabs .container{display:flex;gap:24px;overflow:auto}
.detail-tabs a{padding:16px 0;white-space:nowrap;font-weight:700}
.detail-copy,.spec-layout,.faq-layout{display:grid;grid-template-columns:.7fr 1.3fr;gap:48px}
.product-richtext{font-size:16px;line-height:1.85}
.detail-gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.detail-gallery-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:12px}
.advantage-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:14px}
.advantage-card{padding:20px;border:1px solid var(--theme-line);border-radius:14px;background:#fff}
.advantage-card span{color:var(--theme-primary);font-weight:800}
table{width:100%;border-collapse:collapse;background:#fff}
th,td{padding:12px;border:1px solid var(--theme-line);text-align:left}
th{background:var(--theme-dark);color:#fff}
details{border:1px solid var(--theme-line);background:#fff;padding:14px 18px;margin-bottom:8px;border-radius:10px}
summary{cursor:pointer;font-weight:700}
.contact-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:36px}
.contact-item{padding:14px 0;border-bottom:1px solid var(--theme-line)}
.contact-item small{display:block;color:var(--theme-primary);font-weight:800}
.form,.inquiry-placeholder,.contact-layout>div{background:#fff;border:1px solid var(--theme-line);border-radius:14px;padding:24px}
.form input,.form textarea,.inquiry-form input,.inquiry-form textarea{width:100%;border:1px solid var(--theme-line);padding:12px;margin-bottom:10px;font:inherit;border-radius:8px}
.inquiry-form label{display:grid;gap:6px;margin-bottom:12px;font-weight:600}
.form-status{min-height:22px;color:#b42318;font-weight:600}
.inquiry-embed{min-height:720px;border:1px solid var(--theme-line);border-radius:14px;overflow:hidden}
.inquiry-embed iframe{display:block;width:100%;min-height:720px;border:0}
.news-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.news-grid .resource-empty,.dynamic-placeholder{grid-column:1/-1}
.d2-page-intro{padding:72px 0 40px}
.d2-proj-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.d2-proj{background:#fff;border:1px solid var(--theme-line);border-radius:14px;overflow:hidden}
.d2-proj img{width:100%;height:180px;object-fit:cover}
.d2-proj-body{padding:16px}
.d2-prod{display:flex;flex-direction:column}
.d2-prod-body{display:flex;flex-direction:column;flex:1}
.d2-prod-link{margin-top:auto}
.d2-about{align-items:stretch}
.split{align-items:start}
.process article:last-child:nth-child(odd){grid-column:auto}
@media(max-width:980px){.process{grid-template-columns:1fr 1fr}.d2-proj-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.d2-proj-grid,.process{grid-template-columns:1fr}}

.news-image{height:180px;overflow:hidden}
.news-image img{width:100%;height:100%;object-fit:cover}
.news-card time{color:var(--theme-primary);font-size:12px}
.article{max-width:820px;margin:auto}
.inquiry-placeholder,.resource-empty,.dynamic-placeholder{text-align:center;padding:48px 24px}
.dynamic-placeholder{grid-column:1/-1}

.footer{padding:56px 0 20px;background:#0b1220;color:#cbd5e1}
.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:32px}
.footer h4{margin:0 0 12px;color:#fff;font-size:12px;letter-spacing:.14em;text-transform:uppercase}
.footer p,.footer a{display:block;color:#cbd5e1;font-size:14px;margin:6px 0}
.footer .logo{margin-bottom:14px;color:#fff}
.footer-product-links{display:grid;grid-template-columns:1fr 1fr}
.copyright{display:flex;justify-content:space-between;margin-top:36px;padding-top:16px;border-top:1px solid #ffffff1f;font-size:12px}.copyright a{text-decoration:underline}

.js .d2-reveal,.js .section,.js .card,.js .process article,.js .detail-section{opacity:0;transform:translateY(16px);transition:opacity .55s,transform .55s}
.js .is-revealed{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
  .js .d2-reveal,.js .section,.js .card,.js .process article,.js .detail-section{opacity:1;transform:none}
}
@media(max-width:980px){
  .nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--theme-line);padding:8px 16px;max-height:70vh;overflow:auto}
  .header.menu-open .nav{display:block}
  .nav-item{height:auto;display:block}
  .nav-item>a{height:auto;padding:12px 8px}
  .dropdown{position:static;width:100%;opacity:1;visibility:visible;transform:none;box-shadow:none;border:0}
  .mobile-menu{display:inline-flex;margin-left:auto;min-width:64px;min-height:40px;border:1px solid var(--theme-line);background:#fff;border-radius:8px;font:700 12px/1 var(--font);cursor:pointer}
  .nav-cta{display:none}
  .d2-about,.split,.detail-layout,.contact-layout,.catalog-layout,.detail-copy,.spec-layout,.faq-layout,.d2-ready-inner,.d2-cta-box,.cta .container{grid-template-columns:1fr;flex-direction:column}
  .d2-stats,.d2-why,.d2-cat-grid,.d2-prod-grid,.product-list,.news-grid,.d2-proj-grid,.advantage-grid,.catalog-categories,.process,.d2-steps,.footer-grid{grid-template-columns:1fr 1fr}
  .d2-hero-copy{margin-left:20px;padding:56px 0}
  .sidebar{position:static}
}
@media(max-width:600px){
  .d2-mast{display:none}
  .d2-stats,.d2-why,.d2-cat-grid,.d2-prod-grid,.product-list,.news-grid,.d2-proj-grid,.advantage-grid,.catalog-categories,.process,.d2-steps,.footer-grid,.product-gallery,.detail-gallery-grid{grid-template-columns:1fr}
  .d2-hero h1,.page-hero h1{font-size:34px}
  .section{padding:56px 0}
}
.resource-banner{background:var(--theme-dark)}
.resource-banner h1{font-family:var(--font)}

.news-grid .resource-empty,.dynamic-placeholder{grid-column:1/-1}
.d2-prod{display:flex;flex-direction:column}
.d2-prod-body{display:flex;flex-direction:column;flex:1}
.d2-prod-link{margin-top:auto}
.split{align-items:stretch}
.standard-visual{min-height:0}
.standard-visual img{min-height:280px;max-height:360px}
.process article:last-child:nth-child(odd){grid-column:auto}
.d2-stats{grid-template-columns:repeat(auto-fit,minmax(160px,1fr))}
@media(max-width:980px){
  .d2-stats,.d2-why,.d2-cat-grid,.catalog-categories,.footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .d2-prod-grid,.product-list,.news-grid,.d2-proj-grid,.advantage-grid,.process,.d2-steps{grid-template-columns:1fr}
}
@media(max-width:600px){
  .d2-stats,.d2-why,.d2-cat-grid,.d2-prod-grid,.product-list,.news-grid,.d2-proj-grid,.advantage-grid,.catalog-categories,.process,.d2-steps,.footer-grid,.product-gallery,.detail-gallery-grid{grid-template-columns:1fr}
}
:root{--max:840px;--font:"Playfair Display",Georgia,serif}
body{background:#fffdf8;text-align:center}
.d2-mast{display:none}
.header .d2-header-inner{justify-content:center}
.nav{margin:0}
.d10-hero{padding:72px 20px 28px}
.d10-hero h1{font-size:clamp(36px,5.4vw,64px);font-weight:500}
.d10-rule{width:80px;border:0;border-top:1px solid var(--theme-primary);margin:24px auto}
.d10-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;max-width:840px;margin:0 auto;border-top:1px solid var(--theme-line);border-bottom:1px solid var(--theme-line)}
.d10-stats div{padding:18px 10px}
.d10-stats strong{display:block}
.d10-block{padding:40px 20px;max-width:840px;margin:auto}
.d10-block img{width:100%;height:280px;object-fit:cover;margin-bottom:22px}
.d10-list{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;text-align:left}
.d10-list article{border:0;background:transparent;padding:16px 0;border-top:1px solid var(--theme-line)}
.d2-hero-cta{justify-content:center}
.d10-block .d2-prod-grid{grid-template-columns:1fr;gap:16px;text-align:left}
.d10-block .d2-prod{display:grid;grid-template-columns:200px 1fr;align-items:stretch}
.d10-block .d2-prod-img{height:100%;min-height:140px}
@media(max-width:700px){.d10-block .d2-prod,.d10-list,.d10-stats{grid-template-columns:1fr}}

/* Compatibility: missing utilities + inner-page chrome */
.is-home .d2-ready,.is-about .d2-ready{display:none}
.d2-cta-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:flex-end}
.d2-page-intro{padding:72px 0 36px}
.d2-page-intro h1{font-size:clamp(32px,4.4vw,52px);max-width:18ch}
.d2-page-intro .d2-lede{max-width:42em}
.d2-proj{background:#fff;border:1px solid var(--theme-line);border-radius:14px;overflow:hidden}
.d2-proj img{width:100%;height:180px;object-fit:cover}
.d2-proj-body{padding:16px}
.d3-chain-head{margin-bottom:28px}
.d3-chain-head p:last-child{margin:8px 0 0;color:var(--theme-muted)}
.d11-map{padding:12px 0 40px}
.section.dark{background:var(--theme-dark);color:#e5e7eb}
.section.dark h2,.section.dark p{color:#e5e7eb}
.d2-cta-box{align-items:center}
@media(max-width:980px){.d2-cta-actions,.d2-cta-box{justify-content:flex-start}}

body{text-align:left}
.d10-hero,.d10-stats{text-align:center}
.header .d2-header-inner{justify-content:space-between}
.nav{margin-left:auto}
.is-home .header .d2-header-inner,.is-about .header .d2-header-inner{justify-content:center}
.is-home .nav,.is-about .nav{margin:0}
.d10-block p,.d10-block h2{text-align:left}
.d10-hero .d2-lede{margin:0 auto;color:var(--theme-muted)}
/* Listing-card excerpts stay on two lines so a long summary cannot stretch the row. */
.product-card .card-body > p,
.d2-prod-body > p,
.hbmmt_prod-body > p,
.news-card .card-body > p,
.catalog-category > p,
.d6-row > div > p{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  min-height:2lh;
  overflow:hidden;
}
/* Listing-card titles stay on two lines so a long name cannot stretch the row. */
.product-card .card-body > h3,
.d2-prod-body > h3,
.hbmmt_prod-body > h3,
.news-card .card-body > h3,
.catalog-category > h3,
.d6-row > div > h3,
.d2-proj-body > h3,
.d2-cat-body > h3{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
  line-clamp:2;
  min-height:2lh;
  overflow:hidden;
}
/* Keep the product photo in a square stage. Extra thumbnails scroll instead of stretching it. */
.product-gallery{align-items:start}
.detail-layout{align-items:start}
.product-gallery>.thumbs{
  max-height:520px;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
}
.product-gallery>.main-photo{
  aspect-ratio:1/1;
  width:100%;
  height:auto;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.product-gallery>.main-photo>img{
  width:100%;
  height:100%;
  min-height:0;
  max-height:none;
  object-fit:contain;
}
@media(max-width:980px){
  .product-gallery>.thumbs{max-height:none;display:flex;gap:8px;overflow-x:auto;overflow-y:hidden}
  .product-gallery>.thumbs img{width:72px;height:72px;flex:none;margin-bottom:0}
}
