/* Scoped preview: full-room colour stories with a steady, readable purchasing panel. */
.colour-story-page{background:#f6f3ee;padding-bottom:0!important}
.colour-story-page .header{position:absolute;inset:0 0 auto;background:transparent;border:0;color:#fff;z-index:5}
.colour-story-page .header a,.colour-story-page .header button{color:#fff}
.colour-story-page .crumb{position:absolute;z-index:4;top:103px;left:4.5%;right:4.5%;width:auto;max-width:none;padding:0;margin:0;color:#fff;font-size:11px;text-shadow:0 1px 8px #0005;display:flex;gap:12px;align-items:center}
.colour-story-page .crumb .story-standard{margin-left:auto;font-size:9px;letter-spacing:.4px;padding:8px 12px;background:#241f1940;border:1px solid #ffffff40;border-radius:30px}
.colour-story-page .journey-dock{display:none}
.colour-story.pdp-shopping{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,425px);align-items:end;gap:6vw;max-width:none;width:100%;margin:0;min-height:950px;padding:160px 4.5% 56px;background:#746859;overflow:hidden}
.colour-story .product-gallery{position:absolute;inset:0;z-index:-2;top:0}
.colour-story .main-photo{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;margin:0;overflow:hidden;border-radius:0;background:#857667}
.colour-story .main-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 68%;display:block;transform:none;filter:none}
.colour-story[data-story-mode="texture"] .main-photo img{object-position:center}
.colour-story .main-photo .story-previous-photo{pointer-events:none;opacity:0;z-index:1}
.colour-story .main-photo .story-previous-photo.story-fade-away{opacity:0!important;transition:opacity 1.25s ease}
.colour-story #photo-label{display:none}
.colour-story .story-shade{position:absolute;inset:0;background:linear-gradient(180deg,#19161083,transparent 27%,#2119100a 46%,#17120dad),linear-gradient(90deg,#21180e22,transparent 75%);pointer-events:none;z-index:2}
.colour-story .product-buy{align-self:start;min-width:0;background:#fbf9f5f2;border:1px solid #fff9;border-radius:22px;padding:29px 30px 25px;box-shadow:0 18px 70px #211a1424;backdrop-filter:blur(18px)}
.colour-story .product-buy>.eyebrow{font-size:8px;letter-spacing:2px;margin:0 0 10px}
.colour-story.pdp-shopping .product-buy h1{font:400 52px/.98 Arial,Helvetica,sans-serif;letter-spacing:-2px;margin:0 0 9px}
.colour-story .product-type{font-size:12px;color:#6a625a;margin:0}
.colour-story.pdp-shopping .price-status{margin:19px 0 17px}.colour-story .price-status.priced>span{font-size:28px;line-height:1.25}.colour-story .price-status small{font-size:10px}.colour-story .bulk-price{background:transparent!important;border-top:1px solid #ded7cd!important;padding:12px 0 0!important;font-size:10px!important;margin-top:14px!important}.colour-story .bulk-price span{font-size:9px}
.colour-story.pdp-shopping .colour-heading{margin-top:18px}.colour-story .colour-heading h2{font-size:13px;letter-spacing:0}.colour-story .colour-heading>span{font-size:10px}.colour-story.pdp-shopping .selected-colour{margin:8px 0 10px;font-size:12px;flex-wrap:wrap;gap:5px 10px}.colour-story .selected-colour>span{font-size:8px}
.colour-story .compact-swatches{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.colour-story .compact-swatches>button{border-radius:50%;width:40px;height:40px;min-height:40px;padding:3px;background:transparent;border:1px solid transparent}.colour-story .compact-swatches>button[aria-pressed=true]{border-color:#3d352c}.colour-story .compact-swatches>button img{width:100%;height:100%;border-radius:50%;object-fit:cover}.colour-story .colour-toggle{font-size:10px;padding-block:8px;min-height:35px}
.colour-story .pdp-benefits{margin:15px 0 19px;font-size:10px;gap:7px}.colour-story .pdp-benefits li{gap:9px}.colour-story .pdp-benefits li>span{font-size:9px;width:17px;height:17px}
.colour-story.pdp-shopping .sample-cta{border-radius:40px;background:#29261f;min-height:47px;font-size:12px;padding:13px 20px;gap:10px}.colour-story .sample-hint{font-size:9px;margin:10px 0 18px;gap:9px}.colour-story .cut-planner{border:1px solid #d6cec1;background:#ffffff47;border-radius:12px;overflow:hidden}.colour-story .cut-planner>summary{font-size:11px;padding:14px 16px}.colour-story .preview-inline{font-size:8px;line-height:1.6;margin-top:13px;color:#746c62}
.story-caption{text-shadow:0 2px 18px #17120d50;align-self:end;color:#fff;max-width:570px;padding-bottom:8px;min-width:0}.story-kicker{font-size:9px;letter-spacing:2.7px;margin:0 0 15px;color:#f5ece1}.story-caption h2{font:400 clamp(42px,4.8vw,70px)/1.02 Arial,Helvetica,sans-serif;letter-spacing:-2.8px;margin:0 0 14px;color:white}.story-caption-note{font-size:13px;color:#f3ece4;margin:0 0 23px}.story-caption-actions{display:flex;align-items:center;gap:22px}.story-caption-actions button{font:inherit;font-size:11px;border:0;background:none;color:#fff;padding:0;min-height:40px;display:flex;align-items:center;gap:30px}.story-caption-actions #story-select{border:1px solid #ffffff99;border-radius:40px;padding:10px 20px;backdrop-filter:blur(8px);background:#ffffff0d;min-height:43px}.story-caption-actions button:disabled{opacity:1;cursor:default}.story-caption-actions #story-texture{border-bottom:1px solid #ffffff70;border-radius:0;min-height:30px}
.story-controls{display:flex;align-items:center;gap:22px;margin-top:32px;border-top:1px solid #ffffff60;padding-top:16px}.story-controls>span:first-child{font-size:11px;letter-spacing:2px}.story-controls>div{display:flex;gap:6px}.story-controls button{width:40px;height:40px;min-height:40px;border:1px solid #ffffff70;border-radius:50%;background:#ffffff12;color:#fff;font-size:18px;padding:0;display:grid;place-items:center}.story-controls #story-play{font-size:14px}.story-play-label{font-size:10px;color:#efe5d8;margin-left:auto}.story-independent{font-size:9px;color:#ece1d4;margin:13px 0 0;line-height:1.6}
.colour-story-page .product-lower{padding:55px 4.5% 65px;width:100%;max-width:none;background:#f6f3ee;border:0;gap:8%;grid-template-columns:1fr 1fr}.colour-story-page .product-lower h2{font:400 34px/1.15 Arial,Helvetica,sans-serif;letter-spacing:-1px}.colour-story-page footer{background:#f6f3ee}.colour-story-page .story-caption button:focus-visible,.colour-story-page .header :focus-visible{outline:2px solid white;outline-offset:5px}
@media(min-width:1600px){.colour-story.pdp-shopping{min-height:100svh;padding-top:170px;padding-bottom:70px;grid-template-columns:minmax(0,1fr) 455px}.colour-story .product-buy{padding:35px}}
@media(max-width:1050px) and (min-width:761px){.colour-story.pdp-shopping{gap:5%;grid-template-columns:minmax(0,1fr) 375px;padding-inline:4%;min-height:950px}.colour-story .product-buy{padding:25px}.story-caption-actions{gap:15px;flex-wrap:wrap}.story-caption-actions #story-select{gap:15px}.story-caption h2{font-size:47px}.story-controls{gap:12px}.story-controls button{width:35px;height:35px;min-height:35px}.story-play-label{display:none}}
@media(max-width:760px){.colour-story-page .crumb{top:137px;left:6%;right:6%;font-size:9px;gap:8px}.colour-story-page .crumb .story-standard{font-size:0;padding:0;border:0;background:none}.colour-story-page .crumb .story-standard:after{content:'Preview';font-size:9px}.colour-story.pdp-shopping{display:flex;flex-direction:column;align-items:stretch;padding:390px 6% 30px;gap:28px;min-height:0;background:#6a5d4e}.colour-story .product-gallery{position:absolute;inset:0;top:0}.colour-story .main-photo{position:absolute;top:0;height:790px;bottom:auto}.colour-story .main-photo img{object-position:45% 48%}.colour-story .story-shade{background:linear-gradient(180deg,#17130c77,transparent 210px,#17120c66 370px,#30291dbb 650px,#6a5d4e 790px)}.story-caption{padding:0;width:100%;max-width:none}.story-kicker{font-size:8px;letter-spacing:2px}.story-caption h2{font-size:44px;letter-spacing:-1.8px}.story-caption-note{font-size:11px;margin-bottom:16px}.story-caption-actions{gap:20px}.story-caption-actions button{font-size:10px}.story-caption-actions #story-select{gap:17px;padding-inline:16px}.story-controls{margin-top:22px;padding-top:12px;gap:16px}.story-controls button{width:36px;height:36px;min-height:36px}.story-controls>span:first-child{font-size:10px}.story-play-label{font-size:9px}.story-independent{font-size:8px}.colour-story .product-buy{width:100%;padding:25px 23px;border-radius:19px;backdrop-filter:none;background:#fbf9f5}.colour-story.pdp-shopping .product-buy h1{font-size:45px}.colour-story .compact-swatches>button{width:36px;height:36px;min-height:36px}.colour-story .compact-swatches{gap:3px}.colour-story .sample-hint{font-size:8px}.colour-story-page .product-lower{padding:38px 6%;grid-template-columns:1fr;gap:29px}.colour-story-page .product-lower h2{font-size:29px}}
@media(max-width:360px){.colour-story .product-buy{padding:23px 18px}.colour-story .compact-swatches>button{width:31px;height:31px;min-height:31px}.story-caption h2{font-size:39px}.story-controls{gap:10px}.story-controls>div{gap:4px}.story-play-label{font-size:8px}.story-caption-actions{gap:15px}.story-caption-actions #story-select{padding-inline:13px;gap:9px}}
@media(prefers-reduced-motion:reduce){.colour-story .main-photo .story-previous-photo{transition:none!important}}
.chosen-colour-preview{display:grid;grid-template-columns:90px minmax(0,1fr);gap:7px;margin:10px 0 13px;position:relative;background:#e7e0d5;border-radius:9px;overflow:hidden}.chosen-colour-preview img{display:block;width:100%;height:108px;object-fit:cover}.chosen-colour-preview .chosen-texture:only-of-type{grid-column:1/-1}.chosen-colour-preview>span{position:absolute;inset:auto 0 0;padding:5px 9px;background:#211b14bc;color:#fff;font-size:8px;line-height:1.5}.story-controls #story-play:not(:focus-visible){position:absolute;width:1px;height:1px;min-height:0;padding:0;border:0;clip-path:inset(50%);overflow:hidden;white-space:nowrap}.story-play-label{display:none}
@media(max-width:760px){.colour-story-page .crumb .story-standard:after{content:'Classic gallery'}}
/* Keep the photographed floor in the first viewport, independent of panel height. */
@media(min-width:761px){
 .colour-story.pdp-shopping{padding-top:clamp(215px,26svh,285px);min-height:100svh}
 .colour-story .main-photo{position:sticky;inset:auto;top:0;height:100svh;width:100%}
 .colour-story .main-photo img{object-position:50% 88%}
 .colour-story .story-shade{background:linear-gradient(180deg,#19161070,transparent 18%,#21191008 60%,#17120d6b),linear-gradient(90deg,#21180e18,transparent 75%)}
 .colour-story .story-caption{position:absolute;left:4.5%;top:max(470px,61svh);bottom:auto;max-width:calc(100% - 560px);padding-bottom:0}
 .colour-story .story-caption h2{font-size:clamp(38px,4vw,60px)}
}
@media(max-width:760px){
 .colour-story .main-photo img{object-position:50% 88%}
 .colour-story.pdp-shopping{padding-top:425px}
}
@media(min-width:761px){
 .colour-story .product-buy{grid-column:2}
 .colour-story .main-photo{position:absolute;top:0;left:0;height:100svh;bottom:auto}
 .colour-story .story-shade{height:100svh;bottom:auto;background:linear-gradient(180deg,#19161070,transparent 20%,#21191008 64%,#746859 100%)}
}
/* Keep the room photograph crisp while the restored calculator grows. */
.colour-story.pdp-shopping{overflow:clip}
.colour-story .product-buy{background:#fbf9f5;backdrop-filter:none}
.colour-story .chosen-colour-preview{grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:10px;margin:14px 0 20px;border-radius:10px;padding-bottom:36px}
.colour-story .chosen-colour-preview img{height:240px}
.colour-story .chosen-colour-preview .chosen-room{object-fit:contain;background:#e7e0d5}
.colour-story .chosen-colour-preview>span{font-size:12px;padding:9px 12px;background:#29261f}
@media(min-width:761px){
 .colour-story .main-photo{position:sticky;inset:auto;top:0;height:100svh;width:100%}
 .colour-story .story-shade{inset:0;height:100%;background:linear-gradient(180deg,#19161070,transparent 23%),linear-gradient(90deg,#21180e25,transparent 75%)}
}
@media(min-width:1150px){
 .colour-story.pdp-shopping{grid-template-columns:minmax(0,1fr) 510px;gap:4vw}
 .colour-story .story-caption{max-width:calc(100% - 650px)}
}
@media(min-width:1600px){.colour-story.pdp-shopping{grid-template-columns:minmax(0,1fr) 550px}}
@media(max-width:760px){
 .colour-story .main-photo{height:790px}
 .colour-story .story-shade{height:100%;background:linear-gradient(180deg,#17130c77,transparent 210px,#17120c55 650px)}
 .colour-story .chosen-colour-preview img{height:210px}
 .colour-story .chosen-colour-preview>span{font-size:11px}
}
.colour-story .product-gallery{z-index:0}
.colour-story .product-buy{position:relative;z-index:3}
.colour-story .story-caption{z-index:2}
.colour-story-page .black-friday-banner+.header{top:48px}
.colour-story-page:has(.black-friday-banner) .crumb{top:151px}
@media(max-width:650px){.colour-story-page .black-friday-banner+.header{top:64px}.colour-story-page:has(.black-friday-banner) .crumb{top:201px}}
/* Room settings belong to the background; the selection is texture only. */
.colour-story .chosen-colour-preview{grid-template-columns:minmax(0,1fr)}
