/* RC9 | asymmetric retail composition. Scoped to existing theme and generated demos. */
body{--v9-paper:#fff;--v9-rule:color-mix(in srgb,var(--accent) 12%,#dfe3e9);--v9-soft:color-mix(in srgb,var(--accent) 7%,#fff);--v9-deep:color-mix(in srgb,var(--accent) 22%,#142236);--v9-round:18px;background:var(--bg)}
/* A contrasting navigation band, rather than another thin white row. */
.site-header .nav-row{background:var(--v9-deep);border:0;color:#fff}.site-header .nav-inner{min-height:56px;gap:16px}.site-header .main-nav>ul>li>a,.site-header .main-nav>.menu>ul>li>a{color:#fff}.site-header .main-nav>ul>li>a:hover,.site-header .main-nav>.menu>ul>li>a:hover{color:#ffcf87}.site-header .main-nav .sub-menu a,.site-header .main-nav .children a{color:var(--ink)}.site-header .main-nav .dfi-demo-menu-item>a{background:#ffce80;color:#302316;border:0;border-radius:7px;font-weight:800}.site-header .nav-shop{background:#ffffff12;color:#fff;border-color:#ffffff45}.site-header .dfi-mega summary{background:#fff;color:var(--v9-deep);border:0;border-radius:8px}.site-header .dfi-mega summary svg{color:inherit}.site-header .main-nav .current-menu-item>a{color:#ffcf87}.site-header .header-main{min-height:84px}.site-header .header-search{background:#f5f6fa;border:1px solid #e5e8ef;border-radius:8px}.site-header .brand-mark{border-radius:8px;box-shadow:none}.site-header .header-actions .icon-button,.site-header .account-link{border-radius:8px}.storefront{padding-top:30px}
/* New actual markup: main story + product discovery rail. */
.dfi-v9-mosaic{display:grid;grid-template-columns:minmax(0,2.65fr) minmax(0,1fr);align-items:stretch;gap:16px;margin-block:0 22px}.dfi-v9-mosaic>*{min-width:0}.dfi-v9-mosaic .hero{margin:0!important;min-width:0;align-self:stretch;box-shadow:none}.dfi-v9-mosaic .hero .hero-copy{min-width:0;position:relative;z-index:1}.dfi-v9-mosaic .hero .hero-copy h1,.dfi-v9-mosaic .hero .hero-copy .dfi-el-title{font-size:clamp(27px,3vw,45px);line-height:1.45;letter-spacing:-1.2px;margin:10px 0 14px}.dfi-v9-mosaic .hero .hero-copy p{font-size:14px;line-height:1.9}.dfi-v9-mosaic .hero .hero-art{min-width:0;align-self:stretch;display:grid;place-items:center}.dfi-v9-mosaic .hero .hero-art img{max-height:300px;object-fit:contain}.dfi-v9-mosaic .hero .hero-btn{border-radius:8px;min-height:48px}.dfi-v9-mosaic .hero .eyebrow{font-weight:700;letter-spacing:0}.dfi-v9-rail{display:grid;grid-template-rows:minmax(0,1.25fr) minmax(0,1fr);gap:12px;min-width:0}.dfi-v9-rail:not(:has(.dfi-v9-feature)){grid-template-rows:1fr}.dfi-v9-feature{background:#fff;border:1px solid var(--v9-rule);border-radius:16px;padding:16px;display:flex;flex-direction:column;justify-content:space-between;min-width:0;overflow:hidden}.dfi-v9-overline{font-size:12px;font-weight:800;color:var(--accent);margin-bottom:12px}.dfi-v9-feature-inner{display:flex;flex-direction:column;gap:10px;color:var(--ink);text-decoration:none;min-width:0}.dfi-v9-thumb{display:grid;place-items:center;width:100%;height:105px;background:var(--v9-soft);border-radius:8px;overflow:hidden}.dfi-v9-thumb img{width:100%;height:100%;object-fit:contain;margin:0;display:block}.dfi-v9-feature-copy{display:flex;flex-direction:column;gap:7px;min-width:0;overflow-wrap:anywhere}.dfi-v9-feature-copy strong{font-size:15px;line-height:1.7}.dfi-v9-price{font-size:14px;font-weight:800;color:var(--ink)}.dfi-v9-price del{font-size:.8em;opacity:.65}.dfi-v9-feature-action,.dfi-v9-explore-action{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:var(--accent)}.dfi-v9-feature-action svg,.dfi-v9-explore-action svg{width:16px;height:16px}.dfi-v9-explore{display:flex;gap:12px;align-items:center;justify-content:center;padding:20px 14px;border-radius:16px;background:var(--v9-deep);color:#fff;overflow:hidden;min-width:0;text-decoration:none}.dfi-v9-explore:hover{color:#fff;filter:brightness(1.08)}.dfi-v9-explore>span:last-child{display:flex;flex-direction:column;gap:6px;min-width:0;overflow-wrap:anywhere}.dfi-v9-explore small{font-size:11px;color:#ffffffc9}.dfi-v9-explore strong{font-size:17px;line-height:1.5;color:#fff}.dfi-v9-explore-action{color:#ffcf87}.dfi-v9-explore-icon{display:grid;place-items:center;width:48px;height:48px;flex:none;border-radius:12px;background:#ffffff18;color:#fff}.dfi-v9-explore-icon svg{width:25px;height:25px}
/* Five visibly different silhouettes. The generated Elementor demo uses the same structure. */
body .dfi-v9-mosaic--files .hero,body .dfi-el-showcase--files .dfi-v9-mosaic--files .hero{grid-template-columns:1.15fr .85fr;background:linear-gradient(145deg,var(--v9-deep),color-mix(in srgb,var(--accent) 60%,#18243a));color:#fff;border:0;border-radius:22px}.dfi-v9-mosaic--files .hero .hero-copy{padding:clamp(23px,3vw,45px)}.dfi-v9-mosaic--files .hero .hero-copy h1,.dfi-v9-mosaic--files .hero .dfi-el-title,.dfi-v9-mosaic--files .hero .hero-copy p{color:#fff}.dfi-v9-mosaic--files .hero .eyebrow,.dfi-v9-mosaic--files .dfi-hero-topics span{background:#ffffff15;border-color:#ffffff42;color:#fff}.dfi-v9-mosaic--files .hero .hero-btn{background:#ffce80;color:#2c2433}.dfi-v9-mosaic--files .hero .dfi-hero-gallery{color:#fff;border-color:#ffffff55}.dfi-v9-mosaic--files .hero .dfi-art-frame,.dfi-v9-mosaic--files .hero .hero-art{background:transparent;border:0;border-radius:0;margin:0;padding:10px}.dfi-v9-mosaic--files .dfi-art-frame:before{display:none}
body .dfi-v9-mosaic--software,body .dfi-v9-mosaic--sheets{grid-template-columns:minmax(0,1fr)}.dfi-v9-mosaic--software .dfi-v9-rail,.dfi-v9-mosaic--sheets .dfi-v9-rail{grid-template-columns:1fr 1fr;grid-template-rows:auto}.dfi-v9-mosaic--software .dfi-v9-rail:not(:has(.dfi-v9-feature)),.dfi-v9-mosaic--sheets .dfi-v9-rail:not(:has(.dfi-v9-feature)){grid-template-columns:1fr}.dfi-v9-mosaic--software .dfi-v9-feature-inner,.dfi-v9-mosaic--sheets .dfi-v9-feature-inner{flex-direction:row;align-items:center}.dfi-v9-mosaic--software .dfi-v9-thumb,.dfi-v9-mosaic--sheets .dfi-v9-thumb{width:130px;height:86px;flex:none}.dfi-v9-mosaic--software .dfi-v9-explore,.dfi-v9-mosaic--sheets .dfi-v9-explore{justify-content:flex-start;padding:22px}.dfi-v9-mosaic--software .hero{border-radius:12px}.dfi-v9-mosaic--software .hero .hero-art{background:linear-gradient(135deg,#ffffff04,#49e9dc20)}.dfi-v9-mosaic--software .dfi-v9-feature{border-radius:8px;border-inline-start:5px solid var(--accent)}.dfi-v9-mosaic--sheets .dfi-v9-feature,.dfi-v9-mosaic--sheets .dfi-v9-explore{border-radius:8px}.dfi-v9-mosaic--sheets .hero .hero-art{background:var(--v9-soft)}
body .dfi-v9-mosaic--books{grid-template-columns:minmax(0,1fr) minmax(0,2.6fr)}.dfi-v9-mosaic--books .dfi-v9-rail{grid-column:1;grid-row:1}.dfi-v9-mosaic--books .hero{grid-column:2;grid-row:1;border-radius:6px}.dfi-v9-mosaic--books .dfi-v9-feature,.dfi-v9-mosaic--books .dfi-v9-explore{border-radius:6px}.dfi-v9-mosaic--books .dfi-v9-feature{border-block-start:4px solid var(--accent)}.dfi-v9-mosaic--books .dfi-v9-thumb{height:120px;background:#f8f1e3}.dfi-v9-mosaic--books .hero .hero-copy{padding:clamp(22px,2.5vw,40px)}
body .dfi-v9-mosaic--graphics{grid-template-columns:minmax(0,1.8fr) minmax(0,1fr)}.dfi-v9-mosaic--graphics .hero{border-radius:36px}.dfi-v9-mosaic--graphics .dfi-v9-rail{grid-template-rows:1.4fr .7fr}.dfi-v9-mosaic--graphics .dfi-v9-feature,.dfi-v9-mosaic--graphics .dfi-v9-explore{border-radius:30px}.dfi-v9-mosaic--graphics .dfi-v9-feature{background:#fff3e4}.dfi-v9-mosaic--graphics .dfi-v9-thumb{background:#fff;height:120px}.dfi-v9-mosaic--graphics .dfi-v9-explore{background:linear-gradient(120deg,var(--v9-deep),var(--accent))}
/* Shift hierarchy: more retail, less boxed dashboard. */
.storefront .section-head,.dfi-el-showcase .dfi-el-block>.dfi-el-title{border-bottom:0;border-inline-start:4px solid var(--accent);padding-inline-start:13px;margin-block-end:18px}.storefront .section-head h2{font-size:clamp(23px,2.4vw,32px);line-height:1.5}.storefront .section-head .text-link{background:transparent;border-color:var(--v9-rule)}.storefront .category-card,.dfi-el-showcase .dfi-el-categories .category-card{background:var(--v9-paper);min-height:88px;border-radius:10px;box-shadow:none;display:flex;flex-direction:row;align-items:center;text-align:start;flex-wrap:wrap;gap:9px;padding:12px}.category-card .category-icon{flex:none;width:40px;height:40px;border-radius:8px}.category-card strong{flex:1;min-width:0;overflow-wrap:anywhere}.category-card small{width:100%;padding-inline-start:49px;margin:0;color:var(--muted);font-size:11px}.storefront .category-grid{gap:10px}.dfi-luxury-shortcuts>a{border-radius:9px;background:transparent;border-color:var(--v9-rule)}
/* edge-to-edge merchandising images, restrained action row, no huge colored button slabs */
body .woocommerce ul.products li.product,body.woocommerce ul.products li.product,body .dfi-el-showcase .woocommerce ul.products li.product{border:1px solid var(--v9-rule);border-radius:12px;box-shadow:0 5px 18px -13px #14223655;padding:0 0 12px;overflow:hidden;background:#fff}.woocommerce ul.products li.product a img{border-radius:0!important;margin:0 0 8px!important;width:100%;background:var(--v9-soft)}.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:9px 13px 4px!important;font-size:15px;min-height:0}.woocommerce ul.products li.product .dfi-market-filetype{margin:2px 13px 9px}.woocommerce ul.products li.product .price{margin:4px 13px 9px;padding:10px 0 0;text-align:start;background:transparent;border-block-start:1px solid var(--v9-rule);color:var(--ink)}.woocommerce ul.products li.product .button{margin:0 12px!important;width:calc(100% - 24px);border-radius:7px;border:1px solid var(--accent);color:var(--accent);background:var(--v9-soft);min-height:40px;box-shadow:none}.woocommerce ul.products li.product .button:hover{color:var(--dfi-accent-text);background:var(--accent)}.woocommerce ul.products li.product .added_to_cart{margin-inline:12px}.dfi-preset-books .woocommerce ul.products li.product a img{object-fit:contain;background:#f5eee1}.dfi-preset-graphics .woocommerce ul.products li.product{border-radius:22px}.dfi-preset-software .woocommerce ul.products li.product{border-block-start:3px solid var(--accent)}
.dfi-promo,.dfi-el-showcase .dfi-el-block.dfi-promo{background:var(--v9-deep);color:#fff;border-radius:12px;padding:clamp(20px,4vw,38px);box-shadow:none}.dfi-promo h2,.dfi-promo p,.dfi-el-showcase .dfi-el-block.dfi-promo h2,.dfi-el-showcase .dfi-el-block.dfi-promo p{color:#fff}.dfi-promo .btn,.dfi-el-showcase .dfi-promo .btn{background:#ffce80;color:#2b2430;border-radius:8px}.site-footer{border-block-start:5px solid var(--accent)}
/* Inner pages share the sharper visual language. */
.dfi-blog-card,.dfi-demo-card,.dfi-account-card{border-radius:12px;box-shadow:none}.woocommerce-account .woocommerce-MyAccount-navigation{border-radius:12px}.woocommerce-account .woocommerce-MyAccount-content{border-radius:12px}.woocommerce div.product .summary{border-block-start:4px solid var(--accent);border-radius:12px}.woocommerce form.login,.woocommerce form.register{border-radius:12px}.woocommerce-cart .cart_totals,.woocommerce-checkout #order_review{border-block-start:4px solid var(--accent);border-radius:12px}.dfi-preview-nav{background:var(--v9-paper);border-block-end:1px solid var(--v9-rule)}
@media(max-width:1020px){.dfi-v9-mosaic,.dfi-v9-mosaic--books,.dfi-v9-mosaic--graphics{grid-template-columns:minmax(0,1fr)!important}.dfi-v9-mosaic--books .hero,.dfi-v9-mosaic--books .dfi-v9-rail{grid-column:auto;grid-row:auto}.dfi-v9-rail,.dfi-v9-mosaic--graphics .dfi-v9-rail{grid-template-columns:1fr 1fr;grid-template-rows:auto}.dfi-v9-rail:not(:has(.dfi-v9-feature)){grid-template-columns:1fr}.dfi-v9-feature-inner{flex-direction:row;align-items:center}.dfi-v9-thumb,.dfi-v9-mosaic--books .dfi-v9-thumb,.dfi-v9-mosaic--graphics .dfi-v9-thumb{width:104px;height:80px;flex:none}.dfi-v9-mosaic .hero .hero-copy h1,.dfi-v9-mosaic .hero .dfi-el-title{font-size:clamp(28px,4.1vw,41px)}}
@media(max-width:760px){.site-header .main-nav>ul>li>a,.site-header .main-nav>.menu>ul>li>a{color:var(--ink)}.site-header .main-nav .current-menu-item>a{color:var(--accent)}.site-header .nav-row{background:var(--v9-deep)}.site-header .header-main{min-height:0}.storefront{padding-top:16px}body .dfi-v9-mosaic .hero,body .dfi-el-showcase .dfi-v9-mosaic .hero{grid-template-columns:minmax(0,1fr)!important}.dfi-v9-mosaic .hero .hero-copy{padding:23px 20px;text-align:start;align-items:flex-start}.dfi-v9-mosaic .hero .hero-art{padding:8px 16px 20px}.dfi-v9-mosaic .hero .hero-art img{max-height:200px}.dfi-v9-rail,.dfi-v9-mosaic--software .dfi-v9-rail,.dfi-v9-mosaic--sheets .dfi-v9-rail,.dfi-v9-mosaic--graphics .dfi-v9-rail{grid-template-columns:1fr;grid-template-rows:auto}.dfi-v9-feature{padding:13px}.dfi-v9-explore{justify-content:flex-start;padding:14px}.dfi-v9-mosaic{gap:10px;margin-bottom:15px}.storefront .category-card,.dfi-el-showcase .dfi-el-categories .category-card{min-height:75px;padding:9px;gap:6px}.category-card .category-icon{width:32px;height:32px}.category-card small{padding-inline-start:0}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px;padding:7px 9px!important}.woocommerce ul.products li.product .price{font-size:14px;margin-inline:9px}.woocommerce ul.products li.product .dfi-market-filetype{margin-inline:9px}.woocommerce ul.products li.product .button{font-size:12px;margin-inline:8px!important;width:calc(100% - 16px);min-height:42px}}
@media(prefers-reduced-motion:reduce){.dfi-v9-mosaic *,.woocommerce ul.products li.product{transition:none!important}}
/* Override the earlier preset selector at equal specificity; preserve readable hero text. */
body.dfi-preset-files .storefront .dfi-v9-mosaic--files .hero,body.dfi-preset-files .dfi-el-showcase .dfi-v9-mosaic--files .dfi-el-hero{background:linear-gradient(145deg,var(--v9-deep),color-mix(in srgb,var(--accent) 60%,#18243a));color:#fff;min-height:0;grid-template-columns:1.15fr .85fr;border:0;border-radius:22px}
body.dfi-preset-files .storefront .dfi-v9-mosaic--files .dfi-art-frame,body.dfi-preset-files .dfi-el-showcase .dfi-v9-mosaic--files .hero-art{background:transparent;border:0;border-radius:0;padding:8px;margin:0;min-height:0}
.storefront .section-head h2:before,.storefront .section-head h2:after{display:none}
@media(max-width:760px){body.dfi-preset-files .storefront .dfi-v9-mosaic--files .hero,body.dfi-preset-files .dfi-el-showcase .dfi-v9-mosaic--files .dfi-el-hero{grid-template-columns:minmax(0,1fr)!important}}
@media(min-width:1021px){body.dfi-preset-graphics .storefront .dfi-v9-mosaic--graphics .hero,body.dfi-preset-graphics .dfi-el-showcase .dfi-v9-mosaic--graphics .hero{grid-template-columns:1.3fr .7fr}body.dfi-preset-graphics .dfi-v9-mosaic--graphics .hero .hero-copy{padding:30px 25px}body.dfi-preset-graphics .dfi-v9-mosaic--graphics .hero .hero-copy h1,body.dfi-preset-graphics .dfi-v9-mosaic--graphics .hero .dfi-el-title{font-size:clamp(26px,2.8vw,40px)}}

/* RC10 — one gallery grid owns the track count AND item placement.
   Scope to the shortcode wrapper so both public route and normal pages work. */
.dfi-public-demos{container-type:inline-size;container-name:dfi-gallery;min-width:0}
.dfi-public-demos>.dfi-demo-gallery{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(12px,2vw,24px);align-items:stretch;margin:0;width:100%;min-width:0}
.dfi-public-demos>.dfi-demo-gallery>.dfi-demo-preview-card{grid-column:span 2;min-width:0;width:100%;margin:0;display:flex;flex-direction:column;border-radius:16px;border:1px solid #e4e5ed;box-shadow:0 6px 18px #18203a08;overflow:hidden}
.dfi-public-demos>.dfi-demo-gallery>.dfi-demo-preview-card:nth-child(4){grid-column:2/span 2}
.dfi-public-demos>.dfi-demo-gallery>.dfi-demo-preview-card:nth-child(5){grid-column:4/span 2}
.dfi-public-demos .dfi-demo-intro{margin-bottom:24px;padding:clamp(24px,4vw,48px) 20px;border-radius:18px}
.dfi-public-demos .dfi-demo-preview-art{display:flex;flex-direction:column;align-items:stretch;gap:0;margin:10px 10px 0;padding:8px!important;border-radius:11px;min-width:0}
.dfi-public-demos .dfi-demo-browser-bar{width:100%;box-sizing:border-box;justify-content:flex-start}
.dfi-public-demos .dfi-demo-preview-art img{display:block;width:100%;max-width:100%;height:auto;aspect-ratio:16/10;object-fit:contain;box-sizing:border-box;padding:10px;border-radius:0 0 7px 7px}
.dfi-public-demos .dfi-demo-preview-body{padding:17px!important;flex:1;gap:9px;min-width:0;overflow-wrap:anywhere}
.dfi-public-demos .dfi-demo-preview-body h3{font-size:20px;line-height:1.5}
.dfi-public-demos .dfi-demo-preview-body p{flex:1;margin:0 0 6px;font-size:13px;line-height:1.9}
.dfi-public-demos .dfi-demo-preview-body .btn{width:100%;box-sizing:border-box;min-height:44px;margin-top:auto;font-size:13px;white-space:normal}
@media(max-width:1050px){
 .dfi-public-demos>.dfi-demo-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}
 .dfi-public-demos>.dfi-demo-gallery>.dfi-demo-preview-card:nth-child(4){grid-column:span 2}
 .dfi-public-demos>.dfi-demo-gallery>.dfi-demo-preview-card:nth-child(5){grid-column:2/span 2}
}
@media(max-width:600px){
 .dfi-public-demos>.dfi-demo-gallery{grid-template-columns:minmax(0,1fr)}
 .dfi-public-demos>.dfi-demo-gallery>.dfi-demo-preview-card,.dfi-public-demos>.dfi-demo-gallery>.dfi-demo-preview-card:nth-child(4),.dfi-public-demos>.dfi-demo-gallery>.dfi-demo-preview-card:nth-child(5){grid-column:1/-1}
}
@container dfi-gallery (max-width:860px){
 .dfi-public-demos>.dfi-demo-gallery{grid-template-columns:repeat(4,minmax(0,1fr))}
 .dfi-public-demos>.dfi-demo-gallery>.dfi-demo-preview-card{grid-column:span 2}
 .dfi-public-demos>.dfi-demo-gallery>.dfi-demo-preview-card:nth-child(4){grid-column:span 2}
 .dfi-public-demos>.dfi-demo-gallery>.dfi-demo-preview-card:nth-child(5){grid-column:2/span 2}
}
@container dfi-gallery (max-width:600px){
 .dfi-public-demos>.dfi-demo-gallery{grid-template-columns:minmax(0,1fr)}
 .dfi-public-demos>.dfi-demo-gallery>.dfi-demo-preview-card,.dfi-public-demos>.dfi-demo-gallery>.dfi-demo-preview-card:nth-child(4),.dfi-public-demos>.dfi-demo-gallery>.dfi-demo-preview-card:nth-child(5){grid-column:1/-1}
}
