/* Scoped editorial layout: do not inherit the old three-column section heading. */
.home-view #home-packs-section > .section-heading { display:block; position:static; width:100%; max-width:760px; margin:0 auto 40px; text-align:center; }
.home-view .section-heading h2 { font-size:clamp(34px,4.5vw,64px); line-height:1.04; letter-spacing:-.045em; margin:12px 0 20px; }
.home-view .section-heading .lead { max-width:640px; margin:0 auto; }
.home-view .hero-orbit-ring { display:none; }
.home-view .hero-section::after { display:none!important; }
.home-view .hero-media-link { position:relative; display:grid; grid-template-rows:auto minmax(285px,1fr) auto auto auto; align-items:stretch!important; min-height:650px; height:auto; aspect-ratio:auto!important; padding:28px!important; background:radial-gradient(circle at 54% 43%,#fffaf1 0,#f1eadf 46%,#ebe2d5 100%); border:1px solid #ddcfbd; border-radius:30px; box-shadow:0 28px 65px #07111b17, inset 0 1px #fff9; overflow:hidden!important; color:#07111b; isolation:isolate; }
.home-view .hero-media-link::before { content:""; position:absolute; inset:0; z-index:-1; opacity:.18; background-image:repeating-linear-gradient(90deg,#7e72570a 0 1px,transparent 1px 4px); pointer-events:none; }
.hero-demo-heading { position:relative; z-index:3; display:grid; grid-template-columns:1fr auto; gap:8px 20px; align-items:start; }
.hero-demo-heading .eyebrow { grid-column:1; margin:0; color:#b95000; }
.hero-demo-heading h2 { grid-column:1; margin:0; font:800 clamp(30px,3vw,44px)/.96 var(--font-display); letter-spacing:-.045em; }
.hero-demo-heading h2 span { display:block; }
.hero-demo-state { grid-column:2; grid-row:1 / span 2; align-self:center; max-width:112px; padding:8px 11px; border:1px solid #dfd1bf; border-radius:999px; background:#fff9; color:#59656e; font-size:11px; font-weight:700; line-height:1.25; text-align:center; }
.hero-demo-stage { position:relative; min-height:285px; display:grid; place-items:center; }
.hero-demo-product { position:relative; display:block; width:min(76%,360px); height:100%; min-height:285px; color:inherit; text-decoration:none; cursor:pointer; transform-style:preserve-3d; }
.hero-demo-garment-assembly { position:absolute; inset:0; display:block; }
.hero-demo-shirt { position:absolute; left:50%; top:50%; height:145%; width:auto; max-width:none; transform:translate(-50%,-50%) rotate(-3deg); filter:var(--shirt-filter,grayscale(.25) brightness(1.04)) drop-shadow(10px 18px 14px #07111b20); transition:filter 300ms ease,scale 260ms cubic-bezier(.22,1,.36,1); }
.hero-demo-logo { position:absolute; z-index:2; width:70px; height:auto; left:50%; top:47%; transform:translate(-50%,-50%) rotate(-3deg); transform-origin:center; }
.hero-demo-print-guide { position:absolute; z-index:1; width:104px; height:82px; left:50%; top:47%; transform:translate(-50%,-50%) rotate(-3deg); border:1px dashed #ff7900; border-radius:8px; opacity:0; }
.hero-demo-product-hint { position:absolute; z-index:4; right:4%; bottom:8%; display:flex; gap:6px; padding:7px 10px; border-radius:999px; background:#07111be8; color:#fff; font-size:11px; font-weight:800; opacity:0; transform:translateY(5px); transition:opacity 200ms ease,transform 200ms ease; }
.hero-demo-logo-source { position:absolute; z-index:4; top:18px; right:7px; display:grid; place-items:center; width:92px; min-height:74px; padding:7px; border:1px solid #ddd1c2; border-radius:14px; background:#fffdf9; box-shadow:0 10px 25px #07111b12; }
.hero-demo-logo-source span { color:#6b737a; font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.hero-demo-logo-source img { width:62px; height:42px; object-fit:contain; }
.hero-demo-controls { position:relative; z-index:3; display:flex; align-items:end; justify-content:space-between; gap:15px; padding:13px 15px; border:1px solid #dfd4c5; border-radius:17px; background:#fffaf5e8; }
.hero-demo-colors { display:flex; align-items:center; gap:9px; margin:0; padding:0; border:0; }
.hero-demo-colors legend { float:left; margin-right:5px; color:#626d75; font-size:11px; font-weight:800; }
.hero-color-swatch { width:27px; height:27px; min-width:27px; padding:0; border:2px solid #fff; border-radius:50%; background:var(--swatch); box-shadow:0 0 0 1px #b9b0a5; cursor:pointer; transition:transform 180ms ease,box-shadow 180ms ease; }
.hero-color-swatch.is-active { transform:scale(1.12); box-shadow:0 0 0 2px #ff7900; }
.hero-demo-add-logo { display:inline-flex; align-items:center; gap:6px; min-height:34px; padding:0 12px; border:1px solid #d9cebf; border-radius:10px; background:#fff; color:#07111b; font-size:11px; font-weight:800; white-space:nowrap; cursor:pointer; }
.hero-demo-progress { position:relative; z-index:3; display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin:18px 0 16px; padding:0; list-style:none; }
.hero-demo-progress::before,.hero-demo-progress::after { content:""; position:absolute; left:10%; right:10%; top:13px; height:2px; background:#d8cec1; z-index:-1; }
.hero-demo-progress::after { right:auto; width:var(--demo-progress,0%); max-width:80%; background:#ff7900; transition:width 380ms cubic-bezier(.22,1,.36,1); }
.hero-demo-progress li { display:grid; justify-items:center; gap:5px; color:#8a918f; font-size:10px; }
.hero-demo-progress li span { display:grid; place-items:center; width:28px; height:28px; border:1px solid #d8cec1; border-radius:50%; background:#f1eadf; font-weight:800; }
.hero-demo-progress li strong { font-size:11px; }
.hero-demo-progress li.is-active,.hero-demo-progress li.is-complete { color:#07111b; }
.hero-demo-progress li.is-active span { border-color:#ff7900; background:#ff7900; color:#07111b; }
.hero-demo-progress li.is-complete span { border-color:#07111b; background:#07111b; color:#fff; }
.home-view .hero-demo .hero-media-cta { position:static; z-index:3; display:flex; justify-content:center; min-height:52px; width:100%; padding:0 20px; box-shadow:none; text-decoration:none; }
.hero-demo.is-ready .hero-demo-state { border-color:#b8ddc5; background:#edf8f1; color:#17683c; }
@media (hover:hover) and (pointer:fine) {
  .hero-demo-product:hover .hero-demo-shirt { scale:1.015; }
  .hero-demo-product:hover .hero-demo-product-hint,.hero-demo-product:focus-visible .hero-demo-product-hint { opacity:1; transform:none; }
  .hero-color-swatch:hover { box-shadow:0 0 0 2px #ff7900; }
  .hero-demo-add-logo:hover { border-color:#ff7900; background:#fff5e8; }
}
.home-view .home-benefits { width:min(1180px,calc(100% - 32px)); margin:24px auto 56px; border:1px solid #e4dfd5; border-radius:20px; overflow:hidden; padding:24px; gap:24px; background:#fff; }
.home-benefits > div { transition:transform .2s; }
.home-benefits > div:hover { transform:translateY(-3px); }
.home-benefits [data-es-icon] { color:#b95000; background:#fff2e2; border-radius:14px; padding:10px; box-sizing:content-box; }
.home-view .trust-reassurance-strip { background:#eee8dd; color:#07111b; padding:28px 0; border:0; }
.home-view .trust-reassurance-inner { gap:18px; padding-block:0; }
.home-view .trust-pill-item { padding:12px; border:0; }
.home-view .trust-pill-text strong { color:#07111b; }
.home-view .trust-pill-text span { color:#52606a; }
.home-view .final-cta-bottom { margin:50px 0 0; width:100%; max-width:none; border-radius:0; padding:clamp(5.5rem,9vw,9rem) 4vw clamp(5rem,8vw,8rem); }
.home-view .final-cta-container { max-width:860px; padding:0; }
.home-view .final-cta-title { font-size:clamp(34px,4.5vw,60px); max-width:740px; line-height:1.05; }
.home-view .final-cta-lead { margin:22px auto; }
.home-view .final-cta-actions { margin:28px 0; }
.home-view .final-cta-guarantees { margin-top:22px; }
.commercial-entry-heading h1 { font-size:clamp(34px,5vw,56px); }
.commercial-entry-card .entry-number { width:auto; height:auto; padding:8px 12px; margin-bottom:12px; font-size:12px; }
.entry-illustration { display:flex; align-items:center; justify-content:center; height:190px; width:100%; margin-bottom:24px; border-radius:18px; background:#f3eee5; overflow:hidden; }
.entry-illustration img { height:230px; width:auto; transform:rotate(-9deg); transition:transform .35s; }
.entry-illustration img + img { transform:rotate(8deg); margin-left:12px; }
.commercial-entry-card:hover .entry-illustration img { transform:rotate(0deg) translateY(-5px); }
.commercial-entry-card .button,.commercial-entry-card .button:visited { text-decoration:none; }
.catalogue-view .page-heading { display:block; padding:24px 0 30px; margin-bottom:12px; }
.catalogue-view .page-heading h1 { font-size:clamp(34px,4.5vw,60px); margin:12px 0 16px; }
.catalogue-view .page-heading > p { max-width:640px; line-height:1.65; margin:0; }
.portal-nav-btn { display:grid; grid-template-columns:24px minmax(0,1fr) auto; align-items:center; gap:14px; text-align:left; }
.portal-nav-icon { display:grid; place-items:center; width:24px; min-width:24px; }
.portal-nav-icon svg { display:block; flex-shrink:0; }
#kpi-payment-card.is-settled { background:#eaf8ef; border-color:#b9ddc7; color:#18683d; }
#kpi-payment-card.is-settled small,#kpi-payment-card.is-settled strong { color:#18683d; }
#draft-archive-tools,#legacy-draft-tools { display:inline-flex; margin:0 10px 18px 0; }
.creation-archive-menu { position:relative; margin-left:auto; }
.creation-archive-menu summary { cursor:pointer; padding:12px 16px; border:1px solid #ddd8ce; border-radius:12px; background:#fff; }
.creation-archive-menu > div { position:absolute; right:0; z-index:3; top:100%; width:min(340px,80vw); margin-top:8px; padding:16px; border:1px solid #ddd8ce; border-radius:14px; background:#fff; box-shadow:0 12px 24px #07111b14; }
.creation-archive-menu #draft-archive-tools,.creation-archive-menu #legacy-draft-tools { display:flex; margin:0 0 8px; }
.creation-card-actions { display:flex; flex-wrap:wrap; gap:8px; }
.creation-card-actions .primary { flex:1 1 100%; }
.creation-card-preview img { object-fit:contain; background:#f3eee5; }
.order-items-card { border:1px solid #e4dfd5; border-radius:20px; padding:24px; background:#fff; }
.order-items-card > h3 { margin:0 0 24px; font-size:24px; }
.order-items-list { display:grid; gap:16px; }
.order-items-list > * { border:1px solid #e7e2da; border-radius:14px; padding:18px; background:#faf8f4; }
.order-detail-item-row { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:20px; }
.order-item-main-info h4 { margin:0 0 8px; font-size:20px; }
.order-item-ref { margin:0 0 14px; color:#65717b; font-size:13px; }
.order-item-badges { display:flex; flex-wrap:wrap; gap:8px; }
.order-item-badges > span { background:#fff; border:1px solid #e4dfd5; border-radius:8px; padding:5px 8px; font-size:12px; }
.order-item-price-side { font-size:14px; text-align:right; }
#collaboration-banner { background:#10222e; color:#fff; border-bottom:1px solid #52636d; }
#collaboration-banner strong,#collaboration-banner span { color:inherit; }
#collaboration-banner button { color:#10222e; background:#fff; }
#support-chat-drawer[aria-hidden="true"] { visibility:hidden; pointer-events:none; }
@media(min-width:900px) and (prefers-reduced-motion:no-preference) {
  .hero-demo-garment-assembly { animation:atelier-float 5s ease-in-out infinite; }
  @keyframes atelier-float { 50% { transform:translateY(-4px); } }
}
@media(max-width:900px) {
  .home-view .home-benefits { display:grid; grid-template-columns:1fr; gap:18px; }
  .home-view .home-benefits > div { border:0; justify-content:flex-start; padding:0; }
  .home-view .hero-media-link { width:min(620px,100%); min-height:620px; justify-self:center; }
  .hero-demo-product { width:min(72%,350px); }
}
@media(max-width:600px) {
  .order-detail-item-row { grid-template-columns:minmax(0,1fr); gap:16px; }
  .order-item-thumbnails img { width:100px; height:100px; }
  .order-item-price-side { text-align:left; border-top:1px solid #e4dfd5; padding-top:14px; }
  .home-view .hero-media-link { grid-template-rows:auto minmax(300px,1fr) auto auto auto; min-height:690px; padding:22px!important; border-radius:24px; }
  .hero-demo-heading { grid-template-columns:1fr; }
  .hero-demo-heading h2 { font-size:34px; }
  .hero-demo-state { grid-column:1; grid-row:auto; justify-self:start; max-width:none; padding:6px 10px; }
  .hero-demo-stage { min-height:300px; }
  .hero-demo-product { width:92%; min-height:300px; }
  .hero-demo-shirt { height:137%; }
  .hero-demo-logo { width:64px; }
  .hero-demo-logo-source { top:8px; right:-5px; width:78px; min-height:64px; }
  .hero-demo-logo-source img { width:54px; height:36px; }
  .hero-demo-product-hint { display:none; }
  .hero-demo-controls { align-items:flex-start; flex-direction:column; padding:12px; }
  .hero-demo-colors { width:100%; }
  .hero-demo-colors legend { margin-right:auto; }
  .hero-demo-add-logo { width:100%; justify-content:center; }
  .hero-demo-progress { margin:16px 0 14px; }
  .home-view .trust-reassurance-inner { display:grid; grid-template-columns:1fr; }
  .home-view .final-cta-bottom { margin-top:32px; padding:4.5rem 18px !important; }
  .home-view .final-cta-actions { flex-direction:column; }
  .home-view .final-cta-guarantees { flex-wrap:wrap; }
  #draft-archive-tools,#legacy-draft-tools { display:flex; margin-right:0; }
}
@media(prefers-reduced-motion:reduce) {
  .entry-illustration img,.home-benefits > div,.hero-demo * { transition:none!important; animation:none!important; }
  .hero-demo-print-guide { display:none; }
}
