/* The floor studio: a quiet canvas, clear choices and space for the floor. */
.dr-v-page { background: #f7f5f0; color: #2d2621; padding-bottom: var(--dr-section-y); }
.dr-v-shell { width: var(--dr-shell); margin-inline: auto; }
.dr-v-page [hidden] { display: none !important; }
.dr-v-intro { padding-top: calc(var(--dr-header-height) + var(--dr-header-offset) + 48px); padding-bottom: 36px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.dr-v-page .dr-section-eyebrow { color: #5a6780; margin: 0 0 18px; }
.dr-v-intro h1 { font: 600 clamp(42px,4.8vw,68px)/1.04 "Helvetica Neue",Helvetica,Arial,sans-serif; letter-spacing: -.045em; margin: 0; color: #2d2621; }
.dr-v-intro__copy { max-width: 460px; justify-self: end; }
.dr-v-intro__copy > p { font-size: 18px; line-height: 1.6; color: #655c54; margin: 0 0 20px; }
.dr-v-page .dr-button,.dr-v-page .dr-v-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid #75675d; padding: 9px 17px; border-radius: 999px; color: #4d4138; background: #fff; font: 650 14px/1.4 var(--dr-font); text-decoration: none !important; text-align: center; cursor: pointer; box-shadow: none; transform: none; transition: background .15s ease; }
.dr-v-page .dr-button::after { content: none; }
.dr-v-page .dr-v-pill:hover,.dr-v-page .dr-button:hover { color: #2d2621; background: #eee9e2; transform: none; }
.dr-v-page .dr-v-pill[aria-pressed="true"] { color: #2d2621; border-color: #4d4138; background: #eae5dd; box-shadow: inset 0 0 0 1px #4d4138; }
.dr-v-page button:focus-visible,.dr-v-page a:focus-visible,.dr-v-page input:focus-visible { outline: 3px solid #5a6780; outline-offset: 4px; }
.dr-v-page button:disabled { opacity: .45; cursor: wait; }
.dr-v-room-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 22px 0; border-top: 1px solid #dcd6ce; }
.dr-v-room-bar h2,.dr-v-fieldset legend { color: #2d2621; font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: 0; padding: 0; margin: 0; }
.dr-v-room-bar h2 > span,.dr-v-fieldset legend > span { color: #66738c; font-size: 11px; font-weight: 700; margin-right: 10px; letter-spacing: .06em; }
.dr-v-room-buttons,.dr-v-family-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.dr-v-room-bar > p { font-size: 12px; color: #6c625a; margin: 0 0 0 auto; }
.dr-v-workbench { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,360px); gap: 28px; align-items: start; }
.dr-v-preview { min-width: 0; position: sticky; top: 88px; }
.dr-v-scene { position: relative; overflow: hidden; border-radius: 22px; background: #ddd9d2; margin: 0 !important; border: 1px solid #ded8d0; }
.dr-v-scene > img,.dr-v-scene canvas { display: block; width: 100%; height: auto; aspect-ratio: 1.5; object-fit: contain; }
.dr-v-scene figcaption { display: flex; justify-content: space-between; gap: 14px; position: absolute; top: 14px; left: 14px; right: 14px; pointer-events: none; color: #4d4138; font-size: 11px; line-height: 1.4; margin: 0; }
.dr-v-scene figcaption span { padding: 6px 10px; background: #fffffff0; border-radius: 999px; }
.dr-v-scene figcaption span:first-child { font-weight: 700; }
.dr-v-selected { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 22px 0 0; }
.dr-v-selected > img { width: 52px; height: 52px; object-fit: cover; border: 1px solid #d5cdc3; border-radius: 50%; }
.dr-v-selected > div { margin-right: auto; }
.dr-v-selected h3 { font-size: 23px; line-height: 1.2; letter-spacing: -.025em; margin: 2px 0; color: #2d2621; }
.dr-v-selected p { font-size: 11px; line-height: 1.45; color: #6a6058; margin: 0; }
.dr-v-selected p:first-child { text-transform: uppercase; letter-spacing: .08em; font-size: 9px; font-weight: 700; }
.dr-v-selected button { font-size: 12px !important; padding-inline: 14px !important; }
.dr-v-caveat { font-size: 12px; line-height: 1.65; color: #6c625a; margin: 18px 0 0; max-width: 690px; }
.dr-v-options { min-width: 0; background: #fff; border: 1px solid #e0d9d1; border-radius: 22px; padding: 24px; }
.dr-v-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.dr-v-fieldset legend { float: none; width: auto; margin: 0 0 16px; }
.dr-v-family-buttons { gap: 7px; }
.dr-v-family-buttons button { min-height: 40px !important; padding: 8px 12px !important; font-size: 12px !important; }
.dr-v-family-note { margin: 14px 0 22px; color: #71675d; font-size: 12px; line-height: 1.5; min-height: 36px; }
.dr-v-colours { border-top: 1px solid #e9e4dd; padding-top: 18px; }
.dr-v-swatches { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px 8px; }
.dr-v-page .dr-v-swatch { appearance: none; border: 1px solid transparent; padding: 6px 3px; border-radius: 12px; color: #4d4138; background: transparent; font: 600 11px/1.3 var(--dr-font); box-shadow: none; min-width: 0; cursor: pointer; }
.dr-v-swatch > img { display: block; height: auto; aspect-ratio: 1; width: 52px; max-width: 100%; margin: 0 auto 7px; border-radius: 50%; object-fit: cover; border: 1px solid #dad4cb; }
.dr-v-swatch > span { display: block; overflow-wrap: anywhere; }
.dr-v-page .dr-v-swatch[aria-pressed="true"] { border-color: #75675d; background: #f5f2ec; box-shadow: inset 0 0 0 1px #75675d; }
.dr-v-page .dr-v-swatch:hover { background: #f5f2ec; color: #2d2621; }
.dr-v-actions { display: grid; gap: 10px; border-top: 1px solid #e9e4dd; padding-top: 20px; margin-top: 18px; }
.dr-v-actions > p { font-size: 11px; color: #756b62; margin: 0; text-align: center; }
.dr-v-actions input { min-width: 0; font-size: 12px; }
.dr-v-comparison { padding: 18px 18px 12px; background: #fff; border: 1px solid #ded8d0; border-radius: 16px; margin-top: 12px; }
.dr-v-comparison > div { display: flex; justify-content: space-between; gap: 20px; font-size: 12px; }
.dr-v-comparison strong { max-width: 45%; }
.dr-v-comparison strong:last-child { text-align: right; }
.dr-v-comparison label { display: block; color: #6c625a; font-size: 11px; margin: 8px 0 0; }
.dr-v-page .dr-v-comparison input { width: 100%; height: 28px; margin: 6px 0 0; accent-color: #4d4138; padding: 0; cursor: ew-resize; }
.dr-v-status { margin: 14px 0 0; min-height: 20px; color: #5a6780; font-size: 12px; }
.dr-v-next { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px; padding: 38px 44px; margin-top: 48px; border-radius: 24px; background: #4d4138; color: #fff; }
.dr-v-next .dr-section-eyebrow { color: #d3d5dd; font-size: 10px; }
.dr-v-next h2 { margin: 0; font: 600 clamp(34px,3.4vw,48px)/1.1 "Helvetica Neue",Helvetica,Arial,sans-serif; color: #fff; letter-spacing: -.035em; }
.dr-v-next p:not(.dr-section-eyebrow) { font-size: 15px; line-height: 1.6; color: #ece7e3; margin: 0 0 18px; }
.dr-v-next__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media(max-width:1100px) {
 .dr-v-workbench { grid-template-columns: minmax(0,1fr) 300px; gap: 20px; }
 .dr-v-options { padding: 20px; }
 .dr-v-room-bar > p { display: none; }
 .dr-v-intro { gap: 28px; }
}
@media(max-width:920px) {
 .dr-v-intro { padding-top: 112px; grid-template-columns: 1fr; gap: 22px; padding-bottom: 28px; }
 .dr-v-intro__copy { justify-self: start; max-width: 640px; }
 .dr-v-intro__copy > p { font-size: 16px; }
 .dr-v-intro__copy > p br { display: none; }
 .dr-v-intro h1 { font-size: clamp(42px,7vw,60px); }
 .dr-v-workbench { grid-template-columns: 1fr; gap: 24px; }
 .dr-v-preview { position: static; }
 .dr-v-options { display: grid; grid-template-columns: 1fr 2fr; column-gap: 30px; }
 .dr-v-colours { border: 0; padding: 0; }
 .dr-v-actions { grid-column: 1/-1; grid-template-columns: 1fr 1fr; }
 .dr-v-actions > p,.dr-v-actions input { grid-column: 1/-1; }
 .dr-v-swatches { grid-template-columns: repeat(5,minmax(0,1fr)); }
 .dr-v-next { padding: 30px; gap: 24px; }
}
@media(max-width:600px) {
 .dr-v-intro h1 br { display: none; }
 .dr-v-intro { padding-top: 100px; }
 .dr-v-room-bar { display: block; padding: 18px 0; }
 .dr-v-room-bar h2 { margin-bottom: 12px; }
 .dr-v-room-buttons { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
 .dr-v-room-buttons button { font-size: 12px !important; padding-inline: 9px !important; }
 .dr-v-scene { border-radius: 16px; }
 .dr-v-scene figcaption { top: 10px; left: 10px; right: 10px; font-size: 9px; }
 .dr-v-selected { gap: 12px; padding-top: 16px; }
 .dr-v-selected > div { min-width: calc(100% - 76px); }
 .dr-v-selected h3 { font-size: 21px; }
 .dr-v-caveat { font-size: 11px; }
 .dr-v-options { display: block; padding: 20px 16px; border-radius: 16px; }
 .dr-v-colours { border-top: 1px solid #e9e4dd; padding-top: 16px; }
 .dr-v-swatches { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px 6px; }
 .dr-v-actions { grid-template-columns: 1fr; }
 .dr-v-next { grid-template-columns: 1fr; margin-top: 32px; padding: 26px; gap: 22px; }
 .dr-v-next__actions { display: grid; }
}
@media(prefers-reduced-motion:reduce) { .dr-v-page * { transition: none !important; scroll-behavior: auto !important; } }
/* Keep the floor in sight while browsing colours on a phone. */
@media(max-width:600px) and (min-height:600px) {
 .dr-v-workbench { gap: 16px; }
 .dr-v-preview { display: contents; }
 .dr-v-scene { position: sticky; top: 72px; z-index: 5; box-shadow: 0 6px 20px #2d26211a; }
 .dr-v-selected { padding-top: 0; }
 .dr-v-caveat,.dr-v-comparison { margin-top: 0; }
 .dr-v-options button { scroll-margin-top: calc(67vw + 80px); }
}
