/* Per-domain theme profiles; original Desktop.pdf layout is the default. */
body.theme-desktop { --ui-radius:16px; }
body.theme-forest { --ui-radius:12px; }
body.theme-navy { --ui-radius:22px; }
body.theme-charcoal { --ui-radius:6px; }
body.theme-forest .desktop-nav,body.theme-forest .footer { background:#075238; }
body.theme-navy .desktop-nav,body.theme-navy .footer { background:#16365a; }
body.theme-charcoal .desktop-nav,body.theme-charcoal .footer { background:#2d343c; }
body.theme-navy .design-hero,body.theme-navy .design-product,body.theme-navy .channel-banner {border-radius:24px;}
body.theme-charcoal .design-hero,body.theme-charcoal .design-product,body.theme-charcoal .channel-banner {border-radius:5px;}
body.theme-forest .design-hero,body.theme-forest .design-product,body.theme-forest .channel-banner {border-radius:10px;}
.block-subheading {margin:0 auto 14px;padding:0 15px;max-width:980px;color:#436055;text-align:center;font-size:.96rem}
.builder-row {display:flex;justify-content:space-between;gap:10px;align-items:center}
.v5-sort-list li {padding:16px;margin-bottom:9px}
.v5-sort-list li .field{display:block;max-width:750px}
.v5-sort-list li textarea{min-height:56px}
.suite-inline{display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px;border-bottom:1px solid #e7eeea;margin:5px 0}
.suite-inline strong,.suite-inline span{flex:1;min-width:155px}
.suite-theme-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}
.suite-theme{border:2px solid;border-radius:8px;overflow:hidden;padding-bottom:10px}
.suite-theme input{margin:12px}

/* F03 custom drag-drop homepage content blocks; safe structured content, no arbitrary HTML. */
.suite-custom-block{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);align-items:center;gap:2rem;padding:2.5rem;margin-top:1.4rem;margin-bottom:1.4rem;background:#f5faf6;border-radius:18px}
.suite-custom-image img{display:block;object-fit:cover;width:100%;max-height:340px;border-radius:15px}
.suite-custom-text h2{font-size:clamp(1.35rem,3vw,2.4rem);line-height:1.18;margin-bottom:.7rem;color:var(--primary,#076338)}
.suite-custom-text p{white-space:normal;margin:0 0 1rem;line-height:1.6}
@media(max-width:760px){.suite-custom-block{grid-template-columns:1fr;padding:1.4rem;gap:1rem}}

/* V7 / F29: Three responsive page-layout profiles. Desktop stays the PDF reference. */
.suite-layout-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.suite-layout-choice{display:flex;flex-direction:column;gap:11px;min-width:0}
.suite-layout-choice small{color:#607168;font-size:12px;line-height:1.4}
.suite-layout-name{display:flex;align-items:center;gap:7px;font-weight:700}
.suite-layout-sketch{height:104px;width:100%;display:grid;gap:5px;padding:12px;border:1px solid #d3dfd9;border-radius:9px;background:#f6faf7;grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(3,1fr)}
.suite-layout-sketch i{border-radius:3px;background:#bfd6c8;min-width:0}
.suite-layout-sketch i:first-child{grid-column:span 6;background:#6b9980}
.suite-layout-sketch i:nth-child(2){grid-column:span 2}
.suite-layout-sketch i:nth-child(3){grid-column:span 2}
.suite-layout-sketch i:nth-child(4){grid-column:span 2}
.suite-layout-sketch i:nth-child(5){grid-column:span 6;background:#e7c69c}
.suite-layout-sketch.sketch-editorial{grid-template-columns:repeat(6,1fr)}
.suite-layout-sketch.sketch-editorial i:first-child{grid-column:span 4;grid-row:span 2}
.suite-layout-sketch.sketch-editorial i:nth-child(2){grid-column:span 2;grid-row:span 2;background:#e7c69c}
.suite-layout-sketch.sketch-editorial i:nth-child(3),.suite-layout-sketch.sketch-editorial i:nth-child(4),.suite-layout-sketch.sketch-editorial i:nth-child(5){grid-column:span 2}
.suite-layout-sketch.sketch-compact i:first-child{grid-column:span 6;grid-row:span 1}
.suite-layout-sketch.sketch-compact i:nth-child(n+2){grid-column:span 1;grid-row:span 2;background:#bfd6c8}
.suite-layout-sketch.sketch-compact i:nth-child(5){grid-column:span 3;background:#e7c69c}
@media(max-width:720px){.suite-layout-grid{grid-template-columns:1fr}}

/* Editorial: two-column banner, airier product cards, magazine-like category tiles. */
body.home-layout-editorial .desktop-home .design-hero{height:410px;min-height:0;background:#f4f1e9;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border-radius:18px}
body.home-layout-editorial .desktop-home .design-hero:before{display:none}
body.home-layout-editorial .desktop-home .design-hero-copy{position:relative;z-index:1;width:auto;padding:50px 6%;background:#f4f1e9;align-self:center}
body.home-layout-editorial .desktop-home .design-hero-photo{position:relative;inset:auto;width:100%;height:100%;background-size:cover;background-position:center}
body.home-layout-editorial .desktop-home .design-hero h1{font-size:clamp(31px,3vw,55px)}
body.home-layout-editorial .desktop-home .homepage-showcases{gap:30px}
body.home-layout-editorial .desktop-home .design-product-grid{gap:23px}
body.home-layout-editorial .desktop-home .design-product{border-radius:17px;overflow:hidden}
body.home-layout-editorial .desktop-home .gallery-category{border-radius:20px;overflow:hidden}

/* Compact: smaller hero, dense catalogue grid and restrained whitespace. */
body.home-layout-compact .desktop-home .design-hero{height:260px;min-height:0}
body.home-layout-compact .desktop-home .design-hero-copy{padding-top:20px;padding-bottom:20px}
body.home-layout-compact .desktop-home .design-hero h1{font-size:clamp(25px,3vw,42px);line-height:1.12}
body.home-layout-compact .desktop-home .design-hero p{font-size:14px;margin-bottom:12px}
body.home-layout-compact .desktop-home .services-strip{margin-bottom:10px}
body.home-layout-compact .desktop-home .homepage-showcases{gap:12px}
body.home-layout-compact .desktop-home .showcase-item img{height:105px;object-fit:contain}
body.home-layout-compact .desktop-home .product-block{margin-top:18px;margin-bottom:24px}
body.home-layout-compact .desktop-home .design-product-grid{gap:10px}
body.home-layout-compact .desktop-home .design-product-image{height:150px}
body.home-layout-compact .desktop-home .gallery-category img{height:145px}
body.home-layout-compact .desktop-home .design-product{border-radius:6px}
@media(max-width:760px){
  body.home-layout-editorial .desktop-home .design-hero{grid-template-columns:1fr;grid-template-rows:auto 200px;height:auto;min-height:0}
  body.home-layout-editorial .desktop-home .design-hero-copy{padding:25px 22px;width:100%}
  body.home-layout-editorial .desktop-home .design-hero-photo{height:200px;top:auto;bottom:auto}
  body.home-layout-editorial .desktop-home .design-product-grid{gap:10px}
  body.home-layout-compact .desktop-home .design-hero{min-height:300px;height:auto}
  body.home-layout-compact .desktop-home .design-hero-copy{padding:20px 22px 155px;width:100%}
  body.home-layout-compact .desktop-home .design-hero-photo{height:168px;top:auto;bottom:0;width:100%}
  body.home-layout-compact .desktop-home .design-product-image{height:135px}
}

/* Authenticated superadmin draft preview. Never visible on live storefront. */
.suite-preview-banner{position:sticky;top:0;z-index:1000;display:flex;justify-content:center;align-items:center;gap:20px;padding:12px 18px;background:#123b29;color:#fff;text-align:center;font-size:14px;font-weight:700;border-bottom:3px solid #e7b25b}
.suite-preview-banner a{color:#fff;text-decoration:underline;text-underline-offset:3px}
@media(max-width:600px){.suite-preview-banner{font-size:12px;gap:8px;flex-direction:column;padding:9px}}
