/* Staging-only editorial surfaces. Commerce state remains owned by WooCommerce. */
.pb-paint-home .pb-paint-steps .elementor-widget-text-editor { width:100%; }
.pb-paint-home .pb-process-strip,.pb-paint-home .pb-process-strip img { display:block; width:100%; height:auto; }
.pb-workshop-portraits { grid-template-columns:repeat(4,minmax(0,1fr)); }
body.woocommerce-shop ul.products li.product img.attachment-woocommerce_thumbnail,
body.tax-product_cat ul.products li.product img.attachment-woocommerce_thumbnail,
body.tax-product_tag ul.products li.product img.attachment-woocommerce_thumbnail {
 width:100%; height:auto!important; aspect-ratio:4/5!important; object-fit:contain!important;
}
.pb-paint-home .pb-legion-home-banner {
 display:block; padding:44px 0 0; background:transparent; border:0; border-radius:0;
}
.pb-paint-home .pb-legion-home-banner > .elementor-widget-heading { margin-bottom:12px; }
.pb-paint-home .pb-legion-home-banner > .elementor-widget-text-editor { max-width:760px; margin-bottom:28px; }
.pb-legion-showcase {
 --li-gold:#eac277; --li-line:#76603d; overflow:hidden; isolation:isolate;
 border:1px solid var(--li-line); border-radius:24px;
 background:radial-gradient(ellipse at 90% 0%,#3b3023 0,transparent 58%),#131513;
 box-shadow:0 24px 70px #0004;
}
.pb-legion-showcase__scene { display:grid; grid-template-columns:1.08fr 1fr; align-items:center; }
.pb-legion-showcase__scene figure { position:relative; align-self:stretch; margin:0; background:#171d20; }
.pb-legion-showcase__scene figure img { width:100%; height:100%; min-height:560px; max-height:660px; object-fit:cover; object-position:center; border-radius:0; }
.pb-legion-showcase__scene figcaption { position:absolute; inset:auto 0 0; padding:44px 24px 20px; background:linear-gradient(transparent,#0d100ff2); color:#eee5d3; font-size:12px; line-height:1.5; }
.pb-legion-showcase__intro { padding:36px; }
.pb-legion-showcase__eyebrow,.pb-process-eyebrow { display:block; color:var(--li-gold,#eac277); letter-spacing:.13em; text-transform:uppercase; font-size:11px; font-weight:700; }
.pb-paint-home .pb-legion-showcase h3 { margin:20px 0; font-family:Georgia,serif; font-weight:400; font-size:clamp(32px,3.6vw,50px); line-height:1.12; text-wrap:balance; }
.pb-legion-showcase__intro > p { color:#e2ddcf; font-size:16px; }
.pb-legion-showcase__facts { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:28px 0; padding:20px 0; border-block:1px solid #76603d88; }
.pb-legion-showcase__facts dt { color:var(--li-gold); font:32px Georgia,serif; }
.pb-legion-showcase__facts dd { margin:5px 0 0; font-size:12px; color:#ddd6c9; }
.pb-legion-showcase__intro .pb-legion-showcase__price { margin:12px 0 0; font-size:13px; }
.pb-legion-showcase__families { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:8px; padding:24px; border-block:1px solid #76603d88; background:#0a0d0b99; }
.pb-legion-showcase__families a { display:flex; flex-direction:column; align-items:center; gap:8px; padding:8px 4px; border-radius:12px; color:#e9dfc9; font-size:12px; text-decoration:none; }
.pb-legion-showcase__families img { width:64px; height:64px; object-fit:contain; border-radius:0; filter:drop-shadow(0 5px 8px #0009); }
.pb-legion-showcase__paths { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:28px 24px; gap:24px; }
.pb-legion-showcase__paths > a { min-width:0; display:grid; gap:10px; color:#f0e6d2; text-decoration:none; border-inline-start:1px solid var(--li-line); padding:4px 16px; }
.pb-legion-showcase__paths > a > span { color:var(--li-gold); font-size:10px; text-transform:uppercase; letter-spacing:.08em; }
.pb-legion-showcase__paths strong { font-size:17px; line-height:1.4; }
.pb-legion-showcase__paths small { color:#d6cebf; line-height:1.5; font-size:13px; }
.pb-paint-home .pb-legion-showcase__footer { display:flex; flex-wrap:wrap; gap:16px; justify-content:space-between; width:100%; max-width:none; box-sizing:border-box; padding:20px 28px; margin:0; background:#0003; border-top:1px solid #76603d88; }
.pb-legion-showcase__footer a { color:var(--li-gold); font-size:14px; text-underline-offset:4px; }
.pb-legion-showcase__footer small { display:block; color:#cfc8b9; font-size:11px; }
.pb-legion-showcase a:focus-visible { outline:3px solid #ffd881; outline-offset:4px; }
.pb-legion-showcase__families a:hover { background:#eac27712; }
.pb-legion-showcase__paths a:hover strong { color:var(--li-gold); }
/* Give the dedicated collection the same deliberate framing. */
.pb-legion .pb-legion-hero { border-bottom:1px solid #8d704a66; padding-bottom:64px; }
.pb-legion .pb-legion-hero__art { box-shadow:0 24px 80px #0008; }
.pb-legion .pb-legion-family { border-top:1px solid #8d704a66; padding-top:28px; }
.pb-legion .pb-legion-family > h3 { font-family:Georgia,serif; font-size:30px; color:#edcc8d; }
.pb-legion-family-index { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; padding:24px; margin-bottom:40px; border:1px solid #76603d; border-radius:20px; background:linear-gradient(135deg,#2d271c,#131513); }
.pb-legion-family-index a { display:flex; align-items:center; flex-direction:column; gap:12px; padding:12px 4px; color:#edcc8d; text-decoration:none; border-radius:12px; font-size:13px; }
.pb-legion-family-index a:hover { background:#eac27712; }
.pb-legion-family-index a:focus-visible { outline:3px solid #ffd881; outline-offset:3px; }
.pb-legion-family-index img { width:72px; height:72px; object-fit:contain; filter:drop-shadow(0 6px 10px #0008); }
.pb-legion [id^="familia-"] { scroll-margin-top:130px; }
.pb-legion .pb-legion-character__image img { aspect-ratio:4/5; object-fit:contain; object-position:center; }
.pb-legion .pb-pack-card img { width:88px; height:110px; object-fit:contain; object-position:center; background:#11130f; border-radius:10px; }
.pb-product-process { clear:both; grid-column:1 / -1; width:100%; min-width:0; box-sizing:border-box; margin:28px 0 0; padding:24px 20px; border:1px solid #76603d; border-radius:18px; background:#201b14; color:#f0e8da; }
.pb-product-process h2 { margin:12px 0; color:#fff; font-size:28px; }
.pb-product-process p { font-size:14px; line-height:1.6; }
.pb-product-process picture { display:block; margin:20px 0; }
.pb-product-process img { display:block; width:100%; height:auto; border-radius:10px; }
.pb-reference-gallery-label { z-index:3; pointer-events:none; }
@media(max-width:767px) {
 .pb-workshop-portraits { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .pb-legion-showcase { border-radius:18px; }
 .pb-legion-showcase__scene { grid-template-columns:1fr; }
 .pb-legion-showcase__scene figure img { min-height:0; height:auto; max-height:none; aspect-ratio:4/5; object-fit:contain; }
 .pb-legion-showcase__scene figcaption { padding:40px 16px 14px; font-size:11px; }
 .pb-legion-showcase__intro { padding:26px 20px; }
 .pb-paint-home .pb-legion-showcase h3 { font-size:36px; }
 .pb-legion-showcase__families { grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px 6px; padding:20px 12px; }
 .pb-legion-showcase__families img { width:52px; height:52px; }
 .pb-legion-showcase__paths { grid-template-columns:1fr; gap:22px; padding:24px 20px; }
 .pb-legion-showcase__footer { padding:20px; }
 .pb-legion-showcase__intro .pb-paint-button { width:100%; text-align:center; }
 .pb-product-process { padding:20px 14px; }
 .pb-legion-family-index { grid-template-columns:repeat(3,minmax(0,1fr)); padding:12px; gap:6px; }
 .pb-legion-family-index img { width:54px; height:54px; }
}

/* A single editorial game panel, with one message and a clear next step. */
.pb-paint-home .pb-legion-home-banner {
 box-sizing:border-box; padding:32px 28px; margin:12px 0 12px;
 border:1px solid #48757b; border-top:3px solid #80c4c3; border-radius:22px;
 background:radial-gradient(ellipse at 95% 0%,#24454b66,transparent 68%),#101d21;
 scroll-margin-top:176px; text-align:left;
}

.pb-paint-home .pb-legion-home-banner > .elementor-widget-heading { margin:0 0 8px; }
.pb-paint-home .pb-legion-home-banner > .elementor-widget-text-editor { max-width:none; margin:0 0 26px; }
.pb-paint-home .pb-legion-home-banner > .elementor-widget-text-editor p { margin:0; color:#a9dfdf; font-size:12px; font-weight:600; letter-spacing:.07em; text-transform:uppercase; }
.pb-paint-home .pb-legion-home-banner > .elementor-widget-text-editor strong { color:inherit; font-weight:600; }
.pb-paint-home .pb-legion-showcase { border:0; border-radius:0; background:none; box-shadow:none; overflow:visible; }
.pb-paint-home .pb-legion-showcase__scene { grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:32px; }
.pb-paint-home .pb-legion-showcase__scene figure { margin:0; align-self:stretch; min-width:0; overflow:hidden; border-radius:16px; background:#0c181c; }
.pb-paint-home .pb-legion-showcase__scene figure img { display:block; width:100%; min-height:0; height:420px; max-height:420px; object-fit:contain; border-radius:0; }
.pb-paint-home .pb-legion-showcase__scene figcaption { padding:36px 16px 14px; font-size:11px; }
.pb-paint-home .pb-legion-showcase__intro { min-width:0; padding:8px 0; text-align:left; }
.pb-paint-home .pb-legion-showcase h3 { font-size:clamp(30px,3.2vw,44px); line-height:1.12; margin:0 0 16px; text-wrap:balance; }
.pb-paint-home .pb-legion-showcase__intro > p:not(.pb-legion-showcase__price) { max-width:32em; color:#dce8e9; margin:0; line-height:1.65; }
.pb-paint-home .pb-legion-showcase__facts { margin:22px 0; padding:16px 0; border-color:#48757b; }
.pb-paint-home .pb-legion-showcase__facts dt { font-size:30px; }
.pb-paint-home .pb-legion-showcase__facts dd { line-height:1.45; }
.pb-paint-home .pb-legion-showcase__intro .pb-paint-button { min-height:46px; padding:12px 24px; }
.pb-paint-home .pb-legion-showcase__intro .pb-legion-showcase__price { margin:14px 0 0; color:#c5d7da; }
.pb-paint-home .pb-legion-showcase__footer { padding:18px 0 0; margin:22px 0 0; border-color:#48757b; background:none; align-items:center; }
.pb-paint-home .pb-legion-showcase__footer a { display:inline-flex; align-items:center; min-height:44px; color:#b4e4e4; text-decoration-thickness:1px; text-underline-offset:4px; }
.pb-paint-home .pb-legion-showcase__footer small { color:#c5d7da; line-height:1.5; }
.pb-paint-home .pb-legion-showcase a:focus-visible { outline:3px solid #a9dfdf; outline-offset:5px; }
@media(max-width:767px) {
 .pb-paint-home .pb-legion-home-banner { padding:24px 16px; border-radius:18px; scroll-margin-top:88px; }
 .pb-paint-home .pb-legion-home-banner > .elementor-widget-text-editor { margin-bottom:20px; }
 .pb-paint-home .pb-legion-showcase__scene { grid-template-columns:minmax(0,1fr); gap:20px; }
 .pb-paint-home .pb-legion-showcase__scene figure { border-radius:12px; }
 .pb-paint-home .pb-legion-showcase__scene figure img { width:100%; height:230px; max-height:230px; aspect-ratio:auto; object-fit:cover; object-position:center bottom; }
 .pb-paint-home .pb-legion-showcase__scene figcaption { padding:30px 12px 10px; font-size:11px; }
 .pb-paint-home .pb-legion-showcase__intro { order:initial; padding:0; }
 .pb-paint-home .pb-legion-showcase h3 { font-size:28px; margin:0 0 12px; }
 .pb-paint-home .pb-legion-showcase__intro > p:not(.pb-legion-showcase__price) { font-size:14px; line-height:1.65; }
 .pb-paint-home .pb-legion-showcase__facts { gap:10px; margin:18px 0; padding:14px 0; }
 .pb-paint-home .pb-legion-showcase__facts dt { font-size:28px; }
 .pb-paint-home .pb-legion-showcase__facts dd { font-size:11px; }
 .pb-paint-home .pb-legion-showcase__intro .pb-paint-button { box-sizing:border-box; width:100%; text-align:center; }
 .pb-paint-home .pb-legion-showcase__price { text-align:center; }
 .pb-paint-home .pb-legion-showcase__footer { gap:8px; margin-top:20px; padding-top:12px; }
 .pb-paint-home .pb-legion-showcase__footer small { font-size:11px; }
}

/* Home: equal facts, a framed scene and direct routes into the collection. */
.pb-paint-home .pb-legion-showcase__facts { grid-template-columns:repeat(3,minmax(0,1fr)); gap:0; padding:12px 0; }
.pb-paint-home .pb-legion-showcase__facts > div { min-width:0; display:grid; grid-template-rows:auto 2.9em; justify-items:center; align-items:center; gap:8px; padding:10px 8px; text-align:center; }
.pb-paint-home .pb-legion-showcase__facts > div + div { border-left:1px solid #48757b88; }
.pb-paint-home .pb-legion-showcase__facts dt { margin:0; font-family:var(--pb-serif,Georgia,serif); font-size:34px; line-height:1; font-weight:600; font-variant-numeric:lining-nums tabular-nums; }
.pb-paint-home .pb-legion-showcase__facts dd { margin:0; align-self:start; text-align:center; font-size:12px; line-height:1.45; max-width:12ch; }
.pb-paint-home .pb-legion-showcase__scene figure { border:1px solid #48757b88; background:radial-gradient(ellipse at 50% 40%,#294249,#0c181c 78%); box-shadow:0 16px 36px #0003,inset 0 0 40px #0c181c; }
.pb-paint-home .pb-legion-showcase__scene figure::after { content:""; position:absolute; inset:0; pointer-events:none; box-shadow:inset 0 0 28px 8px #0c181c66; border-radius:inherit; }
.pb-paint-home .pb-legion-showcase__scene figcaption { z-index:1; }
.pb-legion-showcase__actions { display:flex; flex-wrap:wrap; gap:12px; align-items:stretch; }
.pb-paint-home .pb-legion-showcase__actions .pb-paint-button { display:inline-flex; align-items:center; justify-content:center; gap:12px; min-height:48px; margin:0; box-sizing:border-box; font-size:14px; }
.pb-paint-home .pb-legion-showcase__actions .pb-legion-showcase__duel { color:#e9f4f3; background:transparent; border:1px solid #80c4c3; }
.pb-paint-home .pb-legion-showcase__actions .pb-legion-showcase__duel:hover { color:#fff; background:#29484e; border-color:#b4e4e4; }
.pb-legion-home-families { margin-top:28px; padding-top:24px; border-top:1px solid #48757b88; }
.pb-legion-home-families__heading { display:flex; align-items:baseline; flex-wrap:wrap; gap:12px; margin-bottom:18px; }
.pb-legion-home-families__heading > span { color:#a9dfdf; font:600 11px/1.5 var(--pb-sans,sans-serif); letter-spacing:.12em; text-transform:uppercase; }
.pb-legion-home-families__heading > p { margin:0; color:#eef6f4; font:500 22px/1.3 var(--pb-serif,Georgia,serif); }
.pb-legion-home-families__grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:10px; }
.pb-legion-home-families__grid > a { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; min-width:0; min-height:124px; padding:14px 8px; border:1px solid #48757b88; border-radius:12px; background:linear-gradient(145deg,#28434a55,#0c181c88); color:#e6eeee; text-decoration:none; font-size:13px; line-height:1.4; text-align:center; }
.pb-legion-home-families__grid img { display:block; width:64px; height:64px; object-fit:contain; border-radius:0; filter:drop-shadow(0 4px 5px #0006); }
.pb-legion-home-families__arrow { position:absolute; right:8px; top:6px; color:#a9dfdf; font-size:13px; }
.pb-legion-home-families__grid > a:hover { border-color:#a9dfdf; background:#29484e; }
@media(max-width:767px) {
 .pb-paint-home .pb-legion-showcase__facts > div { padding:8px 4px; }
 .pb-paint-home .pb-legion-showcase__facts dt { font-size:30px; }
 .pb-paint-home .pb-legion-showcase__facts dd { font-size:11px; }
 .pb-legion-showcase__actions { flex-direction:column; }
 .pb-legion-home-families { margin-top:24px; padding-top:20px; }
 .pb-legion-home-families__grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
 .pb-legion-home-families__grid > a { min-height:112px; padding:12px 4px; font-size:12px; gap:8px; }
 .pb-legion-home-families__grid img { width:52px; height:52px; }
}

/* New 5:4 illustration and a compact route to the configurable duo. */
.pb-paint-home .pb-legion-showcase__scene figure { align-self:center; }
.pb-paint-home .pb-legion-showcase__scene figure img { display:block; width:100%; height:auto; min-height:0; max-height:none; aspect-ratio:5/4; object-fit:contain; object-position:center; }
.pb-paint-home .pb-legion-showcase__offer { margin:0 0 20px; padding:0 0 0 14px; border-left:2px solid #eac277; }
.pb-paint-home .pb-legion-showcase__offer p { margin:0; color:#edf5f3; font-size:15px; line-height:1.5; }
.pb-legion-showcase__offer strong { margin-left:8px; color:#f5ce82; font:600 26px/1.3 var(--pb-serif,Georgia,serif); }
.pb-legion-showcase__offer small { display:block; margin-top:4px; color:#c5d7da; font-size:12px; }
.pb-legion-showcase__saving { display:block; margin-top:8px; color:#eac277; font-size:13px; line-height:1.5; }
.pb-paint-home .pb-legion-showcase__saving .woocommerce-Price-amount { font-family:var(--pb-sans,sans-serif)!important; font-weight:600; }
.pb-legion-home-families { margin-top:24px; padding-top:18px; }
.pb-legion-home-families__heading { margin-bottom:12px; }
.pb-legion-home-families__heading > p { font-size:18px; }
.pb-legion-home-families__grid { gap:8px; }
.pb-legion-home-families__grid > a { min-height:96px; padding:8px 4px; gap:8px; border-color:transparent; background:transparent; border-radius:10px; }
.pb-legion-home-families__grid img { width:52px; height:52px; }
.pb-legion-home-families__arrow { display:none; }
@media(max-width:767px) {
 .pb-paint-home .pb-legion-showcase__scene figure img { height:auto; max-height:none; aspect-ratio:5/4; object-fit:contain; }
 .pb-legion-home-families__grid > a { min-height:88px; font-size:11px; padding:6px 2px; }
 .pb-legion-home-families__grid img { width:44px; height:44px; }
 .pb-legion-showcase__offer strong { font-size:24px; }
}

/* Landing art: preserve the full tabletop composition, including detached pieces. */
.pb-legion .pb-legion-hero__art.pb-legion-hero__art--table { display:block; margin:0; min-width:0; align-self:center; overflow:hidden; border-radius:20px; background:#1c1611; }
.pb-legion .pb-legion-hero__art--table img { display:block; width:100%; height:auto!important; max-height:none; aspect-ratio:1122/1402; object-fit:contain; }
.pb-legion .pb-legion-hero__art--table figcaption { position:static; padding:12px 16px; font-size:12px; line-height:1.5; color:#e2d8c7; background:#1c1611; }

.pb-legion .pb-pack-family-card h3 { min-width:0; overflow-wrap:anywhere; }
