/* Shared Site Express interactive gallery. Scoped selectors only. */
[data-cm-demo-explorer]{--de-bg:#111315;--de-panel:#1b1e20;--de-panel2:#25282b;--de-fg:#f5f3ed;--de-muted:#bdc5c0;--de-line:#ffffff22;--de-accent:#d4ff3a;color:var(--de-fg);font-family:inherit;min-width:0}
[data-cm-demo-explorer] *,[data-cm-demo-explorer] *::before,[data-cm-demo-explorer] *::after{box-sizing:border-box}
.cmde-gallery,.cmde-explorer{min-width:0;scroll-margin-top:115px}
.cmde-gallery{padding:clamp(30px,5vw,64px) 0}
.cmde-gallery-intro,.cmde-explorer-head{display:grid;gap:10px}
.cmde-eyebrow{font-size:11px!important;letter-spacing:.15em;font-weight:800;color:var(--de-accent);text-transform:uppercase}
[data-cm-demo-explorer] .cmde-muted{color:var(--de-muted);font-size:14px;font-weight:400;line-height:1.55}
[data-cm-demo-explorer] h2{font-size:clamp(24px,3.3vw,44px);line-height:1.12;margin:0;font-weight:760;letter-spacing:-.035em;color:var(--de-fg)}
.cmde-filters{display:flex;gap:8px;flex-wrap:wrap;margin:23px 0}
.cmde-filter,.cmde-button{border:1px solid var(--de-line);color:var(--de-fg);background:transparent;border-radius:9px;padding:8px 12px;min-height:37px;font:inherit;font-weight:650;font-size:12px;cursor:pointer}
.cmde-filter{border-radius:99px;padding:9px 15px}
.cmde-filter[aria-pressed=true],.cmde-button[aria-pressed=true]{background:var(--de-accent);color:#171b10;border-color:var(--de-accent)}
.cmde-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(11px,2vw,21px)}
.cmde-card{display:flex;flex-direction:column;text-align:left;cursor:pointer;border:1px solid var(--de-line);background:var(--de-panel);color:var(--de-fg);border-radius:16px;overflow:hidden;min-width:0;padding:0;font:inherit;transition:transform .18s,border-color .18s}
.cmde-card:hover{transform:translateY(-3px);border-color:var(--de-accent)}
.cmde-card[aria-pressed=true]{border-color:var(--de-accent)}
.cmde-card-image{position:relative;overflow:hidden;border-bottom:1px solid var(--de-line);aspect-ratio:16/10;background:#2e3336}
.cmde-card-image img{width:100%;height:100%;object-fit:cover;object-position:top center;display:block}
.cmde-demo-tag{position:absolute;top:10px;left:10px;letter-spacing:.08em;font-size:10px;font-weight:800;background:#111214e8;color:#fff;padding:5px 8px;border-radius:6px}
.cmde-card-body{padding:clamp(12px,1.6vw,20px);display:grid;gap:7px;min-width:0;flex:1}
.cmde-card-body strong{font-size:clamp(16px,2vw,23px);line-height:1.12;color:var(--de-fg)}
.cmde-card-body small{font-size:12px!important}
.cmde-card-tags{display:flex;flex-wrap:wrap;gap:4px}
.cmde-card-tags span{font-size:10px;border:1px solid var(--de-line);border-radius:99px;padding:4px 7px;color:var(--de-muted)}
.cmde-card-cta{margin-top:7px;font-size:12px;color:var(--de-accent);font-weight:800}
.cmde-explorer{padding:clamp(15px,3vw,32px);background:var(--de-panel);border:1px solid var(--de-line);border-radius:20px}
.cmde-controls{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}
.cmde-field{display:grid;align-content:start;gap:7px;min-width:0;color:var(--de-fg);margin:0;font:inherit}
.cmde-field>span{font-size:11px;font-weight:750;color:var(--de-muted);letter-spacing:.025em}
.cmde-field select{height:43px;border:1px solid var(--de-line);border-radius:9px;background:var(--de-panel2);color:var(--de-fg);padding:0 10px;width:100%;min-width:0;font:inherit;font-size:13px;appearance:auto}
.cmde-segment{display:flex;gap:5px;min-width:0;align-items:center}
.cmde-segment button{flex:1;white-space:nowrap}
.cmde-colors{display:flex;align-items:center;min-height:43px;gap:6px;flex-wrap:wrap}
.cmde-swatch{height:26px;width:26px;min-width:26px;border-radius:50%;background:var(--sw);border:2px solid #ffffff44;cursor:pointer;padding:0}
.cmde-swatch[aria-pressed=true]{outline:2px solid var(--de-accent);outline-offset:2px}
.cmde-color-input{width:31px!important;height:31px!important;padding:2px!important;border:1px solid var(--de-line)!important;min-width:31px;border-radius:7px;background:transparent!important;cursor:pointer}
.cmde-color-text{font-size:10px;color:var(--de-muted)}
.cmde-preview-tools{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;margin-bottom:10px}
.cmde-preview-name{font-size:14px;font-weight:800;color:var(--de-fg)}
.cmde-link{color:var(--de-accent)!important;font-weight:750;font-size:12px;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.cmde-window{border-radius:13px;border:1px solid var(--de-line);overflow:hidden;background:#141719}
.cmde-window-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;background:#2a2e31;color:#c9cdc9;font-size:10px;font-weight:650}
.cmde-dots{letter-spacing:3px;color:var(--de-accent)}
.cmde-stage{display:flex;justify-content:center;width:100%;min-width:0;overflow:hidden;background:#141719}
.cmde-frame-box{position:relative;overflow:hidden;flex:none}
.cmde-frame{position:absolute;top:0;left:0;border:0;transform-origin:top left;background:#f3f0eb}
.cmde-foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:17px}
.cmde-primary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 17px;background:var(--de-accent)!important;color:#171b10!important;text-decoration:none!important;border:0;border-radius:10px;font:inherit;font-size:13px;font-weight:850;cursor:pointer}
.cmde-foot>span{max-width:70%;font-size:11px!important}
.cmde-bridge{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#e9efdd;border:1px solid #b2c38c;border-radius:12px;padding:12px 14px;margin:9px 0 16px;color:#1d2c11}
.cmde-bridge>div{display:grid;gap:4px}.cmde-bridge strong{font-size:13px}.cmde-bridge p{font-size:11px;line-height:1.4;margin:0;color:#45543a}
.cmde-bridge button{border:1px solid #7b9742;border-radius:8px;background:#d5ff3a;color:#15200d;font:inherit;font-size:12px;font-weight:800;cursor:pointer;padding:9px 12px;min-height:38px;flex-shrink:0}
.cmde-applied{font-size:12px;color:#46672c;margin:0 0 10px;font-weight:650}
#cmDemoDialog{border:1px solid #ffffff26;border-radius:18px;max-width:min(1180px,96vw);width:1180px;max-height:94dvh;padding:0;background:#1b1e20;color:#f5f3ed;overflow:auto}
#cmDemoDialog::backdrop{background:#000b;backdrop-filter:blur(5px)}
.cmde-dialog-head{display:flex;justify-content:space-between;align-items:center;background:#161819;color:white;padding:13px 18px;border-bottom:1px solid #fff2;position:sticky;top:0;z-index:8}
.cmde-dialog-head strong{font-size:15px}.cmde-dialog-head button{background:none;color:white;border:1px solid #fff3;border-radius:8px;min-height:35px;padding:5px 12px;font-weight:750;cursor:pointer}
#cmDemoDialog .cmde-explorer{border:0;border-radius:0}
.cmde-gallery-hero{padding:clamp(108px,12vw,170px) 0 28px}
.cmde-gallery-hero h1{color:#fff;font-size:clamp(40px,6vw,78px);margin:12px 0 20px;line-height:1.04}
.cmde-gallery-hero em{color:#d4ff3a}
.cmde-gallery-wrap{max-width:1440px;margin:auto;padding:0 clamp(16px,5vw,80px) 65px}
.cmde-gallery-hero .sx-actions{margin-top:22px}
@media(max-width:900px){.cmde-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cmde-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.cmde-grid{gap:9px}.cmde-card-body{padding:10px}.cmde-card-tags span{font-size:9px;padding:3px 5px}.cmde-card-body small{font-size:10px!important}.cmde-card-cta{font-size:10px}.cmde-controls{gap:9px;margin:15px 0}.cmde-field select{font-size:12px}.cmde-filters{gap:5px}.cmde-filter{font-size:10px;padding:7px 10px;min-height:32px}.cmde-colors{gap:4px}.cmde-swatch{width:21px;height:21px;min-width:21px}.cmde-color-text{display:none}.cmde-controls .cmde-button{padding:6px 8px;font-size:11px}.cmde-preview-tools{gap:7px}.cmde-foot>span{max-width:none}.cmde-foot .cmde-primary{width:100%}.cmde-bridge{padding:10px;flex-wrap:wrap}.cmde-bridge button{width:100%}#cmDemoDialog{width:100%;max-width:100vw;max-height:96dvh;border-radius:16px 16px 0 0;margin:auto 0 0}.cmde-gallery-hero{padding-top:106px}.cmde-explorer{padding:12px}.cmde-preview-name{font-size:12px}}
@media(max-width:360px){.cmde-grid{grid-template-columns:1fr}.cmde-controls{grid-template-columns:1fr}}
/* Keep gallery spacing clear of the global marketing section reset and header. */
.cm-express-sales .cmde-gallery-hero{padding:clamp(108px,12vw,170px) 0 28px}
.cm-express-sales [data-cm-demo-explorer] .cmde-gallery{padding:clamp(30px,5vw,64px) 0}
.cm-express-sales [data-cm-demo-explorer] .cmde-explorer{padding:clamp(15px,3vw,32px)}
@media(max-width:600px){.cm-express-sales .cmde-gallery-hero{padding-top:106px}.cm-express-sales [data-cm-demo-explorer] .cmde-explorer{padding:12px}}

main.cm-public-design.cm-express-sales.cm-de-gallery-page{background:#0e0e10!important;color:#f4f1ea!important}.cm-de-gallery-page .cmde-gallery-hero h1{color:#fff!important}.cm-de-gallery-page .cmde-gallery-hero h1 em{color:#d4ff3a!important}.cm-de-gallery-page .cmde-gallery-hero .sx-lead,.cm-de-gallery-page .cmde-gallery-hero .sx-trust{color:#cbcfc7!important}.cm-de-gallery-page .cmde-gallery-hero .sx-link{color:#eee!important}
/* Start directly with the examples, beneath the fixed agency header. */
.cm-de-gallery-page .cmde-gallery-wrap{padding-top:clamp(93px,8vw,120px)}
.cm-express-sales.cm-de-gallery-page [data-cm-demo-explorer] .cmde-gallery{padding-top:18px}
.cm-de-gallery-page .cmde-gallery-intro h1{font-size:clamp(27px,3.3vw,44px);line-height:1.12;margin:0;color:#f5f3ed;font-weight:760;letter-spacing:-.035em}
@media(max-width:600px){.cm-de-gallery-page .cmde-gallery-wrap{padding-top:93px}.cm-express-sales.cm-de-gallery-page [data-cm-demo-explorer] .cmde-gallery{padding-top:14px}}

/* Desktop: settings sidebar stays visible alongside a larger site preview. */
.cmde-sidebar,.cmde-preview-column{min-width:0}
@media(min-width:1024px){
 .cm-express-sales.cm-de-gallery-page [data-cm-demo-explorer] .cmde-explorer{display:grid;grid-template-columns:minmax(235px,285px) minmax(0,1fr);gap:clamp(18px,2.3vw,32px);align-items:start;padding:clamp(18px,2vw,28px)}
 .cm-de-gallery-page .cmde-sidebar{position:sticky;top:100px;align-self:start;border-right:1px solid var(--de-line);padding-right:clamp(14px,1.8vw,24px);max-height:calc(100dvh - 120px);overflow-y:auto;scrollbar-width:thin;overscroll-behavior:contain}
 .cm-de-gallery-page .cmde-explorer-head{gap:8px}
 .cm-de-gallery-page .cmde-explorer-head h2{font-size:clamp(23px,2.05vw,30px);line-height:1.12}
 .cm-de-gallery-page .cmde-explorer-head .cmde-muted{font-size:12px;line-height:1.5}
 .cm-de-gallery-page .cmde-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:18px 0 4px}
 .cm-de-gallery-page .cmde-field{gap:5px}
 .cm-de-gallery-page .cmde-field select{height:39px}
 .cm-de-gallery-page .cmde-colors{min-height:36px}
 .cm-de-gallery-page .cmde-preview-column{display:grid;grid-template-columns:minmax(0,1fr);align-content:start}
 .cm-de-gallery-page .cmde-preview-tools{margin-bottom:12px;gap:9px}
 .cm-de-gallery-page .cmde-preview-tools .cmde-segment button{padding:8px 10px}
 .cm-de-gallery-page .cmde-foot{margin-top:13px}
 .cm-de-gallery-page .cmde-foot .cmde-muted{max-width:58%}
}
@media(min-width:1024px) and (max-height:820px){
 .cm-de-gallery-page .cmde-sidebar{top:88px;max-height:calc(100dvh - 105px)}
 .cm-de-gallery-page .cmde-controls{gap:9px;margin-top:14px}
 .cm-de-gallery-page .cmde-explorer-head .cmde-muted{font-size:11px}
}
/* Compact video after the gallery, without restoring the large marketing hero. */
.cm-de-gallery-page .cmde-video-demo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);align-items:center;gap:clamp(22px,4vw,60px);margin:32px 0 0;padding:clamp(20px,3vw,40px);border:1px solid #ffffff26;border-radius:24px;background:#1b1e20;scroll-margin-top:100px}
.cm-de-gallery-page .cmde-video-intro{min-width:0}
.cm-de-gallery-page .cmde-video-kicker{display:block;font-size:11px;font-weight:800;letter-spacing:.11em;color:#d4ff39;margin-bottom:12px}
.cm-de-gallery-page .cmde-video-intro h2{font-size:clamp(26px,3vw,42px);line-height:1.08;letter-spacing:-.045em;margin:0 0 14px;color:#f5f4ef}
.cm-de-gallery-page .cmde-video-intro p{font-size:15px;line-height:1.65;color:#d0d3cd;margin:0 0 14px}
.cm-de-gallery-page .cmde-video-intro ul{padding:0;margin:0 0 22px;list-style:none;color:#d0d3cd;font-size:13px;line-height:1.9}
.cm-de-gallery-page .cmde-video-intro li:before{content:"✓";color:#d4ff39;font-weight:bold;margin-right:8px}
.cm-de-gallery-page .cmde-video-cta{display:inline-flex;align-items:center;justify-content:center;padding:12px 20px;background:#d4ff39;color:#111!important;border-radius:100px;text-decoration:none;font-weight:800;font-size:14px}
.cm-de-gallery-page .cmde-video-intro small{display:block;color:#b1b6ac;font-size:11px;margin-top:9px}
.cm-de-gallery-page .cmde-video-media{min-width:0}
.cm-de-gallery-page .cmde-video-media video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;border:1px solid #ffffff20;background:#111214;border-radius:13px}
.cm-de-gallery-page .cmde-video-media p{color:#b1b6ac;font-size:11px;margin:9px 0 0;line-height:1.5}
@media(max-width:760px){.cm-de-gallery-page .cmde-video-demo{grid-template-columns:1fr;padding:19px;gap:18px;margin-top:22px;border-radius:17px}.cm-de-gallery-page .cmde-video-intro ul{margin-bottom:16px}.cm-de-gallery-page .cmde-video-media video{border-radius:8px}}
