.bespoke{--ink:#202420;--soft:#f5f5f0;--line:#daddd4;max-width:1760px;margin:auto;padding:34px 28px 70px;color:var(--ink)}
.bespoke *{box-sizing:border-box}.bespoke [hidden]{display:none!important}
.bespoke-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:28px}.bespoke h1{font-size:clamp(30px,3.2vw,50px);letter-spacing:-1.7px;line-height:1.1;margin:12px 0}.bespoke-heading p{color:#62695d;margin:0;font-size:16px;line-height:1.6}.bespoke-heading>a{flex:none}
.bespoke-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(390px,1fr);gap:26px;align-items:start}.bespoke-layout>section{margin:0;padding:0}.design-preview{position:sticky;top:20px;min-width:0}
.bespoke .scene-shell{position:relative;top:auto;border-radius:30px;overflow:hidden;background:#dce2dc;border:0}#bespoke-scene{height:clamp(390px,57vh,650px);width:100%}#bespoke-scene canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}#bespoke-scene canvas:active{cursor:grabbing}
.scene-top{position:absolute;z-index:2;left:22px;right:22px;top:22px;display:flex;align-items:center;justify-content:space-between;gap:14px;pointer-events:none;font-size:12px;letter-spacing:.06em}.scene-top>span:first-child{background:#fffffff0;padding:13px 17px;border-radius:30px;text-transform:uppercase;color:#30372d}.scene-top>span:first-child:before{content:'';display:inline-block;width:8px;height:8px;background:#caa600;border-radius:50%;margin-right:9px}#design-save{font-size:11px;letter-spacing:0;color:#3e4b3b;background:#ffffffda;padding:9px 12px;border-radius:12px}
.scene-empty{position:absolute;top:35%;left:12%;right:12%;text-align:center;pointer-events:none}.scene-empty strong{font-size:26px;letter-spacing:-.7px}.scene-empty p{font-size:15px;color:#485543;max-width:300px;margin:12px auto 18px;line-height:1.5}.scene-empty button{pointer-events:auto;box-shadow:0 5px 18px #2530201a}
.scene-bottom{position:absolute;bottom:18px;left:18px;right:18px;display:flex;flex-direction:column;align-items:center;gap:12px;pointer-events:none}.scene-bottom small{font-size:12px;color:#50584c;background:#ffffffde;padding:7px 11px;border-radius:12px;align-self:flex-start}.scene-bottom>div{display:flex;gap:4px;border-radius:40px;background:#fffffff0;padding:6px;pointer-events:auto}.bespoke .scene-bottom button{border:0;padding:13px 20px;min-height:48px;font-size:14px;border-radius:30px;background:transparent;color:#4e574b}.bespoke .scene-bottom button[aria-pressed=true]{background:#202420;color:#fff}
.design-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.design-metrics div{background:#fff;border:1px solid #e4e6de;border-radius:16px;padding:16px}.design-metrics small{display:block;font-size:12px;color:#697161;margin-bottom:7px}.design-metrics strong{font-size:19px;font-weight:600}
.bespoke .design-cost{margin:0;background:#202420;color:#fff;border-radius:24px;padding:26px;display:flex;gap:18px;flex-wrap:wrap;align-items:center;justify-content:space-between}.design-cost span{font-size:14px;color:#e3e5dc}.design-cost strong{font-size:30px;display:block;margin-top:6px}.bespoke .design-cost button{background:#fff3bc;border-color:#fff3bc;color:#252920}.design-cost p{width:100%;font-size:13px;line-height:1.55;color:#d5dacd;margin:0}
.bespoke-layout>.design-panel{background:#fff;border:1px solid #e4e6df;border-radius:28px;padding:26px;min-width:0}.design-tabs{display:flex;gap:5px;background:#f0f1ed;border-radius:18px;margin:0 0 26px;padding:5px}.bespoke .design-tabs button{flex:1;padding:13px 8px;font-size:15px;border-radius:14px;border-color:transparent;background:transparent}.bespoke .design-tabs button[aria-pressed=true]{background:#202420;color:#fff}
.bespoke button,.bespoke .as-button{border:1px solid #cbd0c3;border-radius:13px;padding:12px 16px;background:#fff;color:#252c21;font:inherit;font-size:15px;font-weight:500;cursor:pointer;min-height:46px;line-height:1.35;transition:background .18s,border-color .18s}.bespoke button:hover{border-color:#959e8a;background:#f5f3e8}.bespoke button:focus-visible,.bespoke input:focus-visible,.bespoke select:focus-visible{outline:3px solid #b78c00;outline-offset:3px}.bespoke button.primary,.scene-empty button{background:#f4d000;border-color:#f4d000;color:#202420;font-weight:650}.bespoke button.primary:hover{background:#e6c500}.bespoke button:disabled{opacity:.45;cursor:not-allowed}
.bespoke label{display:block;font-size:14px;color:#4a5342}.bespoke input,.bespoke select{display:block;width:100%;min-width:0;min-height:49px;border:1px solid #cdd1c5;border-radius:12px;padding:12px;background:#fbfbf8;color:#222b1d;font:inherit;font-size:16px;margin-top:8px}.bespoke input[type=checkbox]{display:inline;width:auto;min-width:18px;min-height:18px;margin-right:8px}.bespoke .input-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.bespoke form{display:grid;gap:19px}.bespoke h2{font-size:25px;letter-spacing:-.6px;margin:2px 0 14px}.bespoke h3{font-size:19px;margin:24px 0 14px}.bespoke .hint{font-size:13px;line-height:1.6;color:#68715e}.bespoke .intro{font-size:15px;color:#606a56;line-height:1.6;margin:0 0 24px}#design-error{font-size:14px;color:#924313;line-height:1.5;margin:0 0 14px}#design-error:empty{display:none}
.cabinet-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:18px 0}.bespoke .cabinet-types button{padding:18px 9px;font-size:13px;display:grid;justify-items:center;gap:12px;background:#f8f8f3;border-color:#e0e3d8;text-align:center}.cabinet-types svg{width:65px;height:62px;fill:#e6e3d5;stroke:#606954;stroke-width:1.4}.bespoke .cabinet-types button:hover{background:#fff6cd;border-color:#c2ad56}
.design-item-list{display:flex;flex-direction:column;gap:8px;margin:18px 0}.design-item-list button{display:flex;justify-content:space-between;align-items:center;gap:12px;text-align:left}.bespoke .design-item-list button[aria-pressed=true]{border-color:#b5a55c;background:#fff8d9}.design-item-list small{font-size:12px;color:#68725b}.item-editor{border-top:1px solid var(--line);padding-top:18px;margin-top:18px}.item-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.item-actions button{font-size:13px}.finish-swatches{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}.bespoke .finish-swatches button{border-radius:50%;min-height:42px;width:42px;height:42px;padding:0;border:3px solid #fff;background:var(--color);box-shadow:0 0 0 1px #c6cdbb}.bespoke .finish-swatches button[aria-pressed=true]{outline:2px solid #202420;outline-offset:2px}
.design-tools{display:flex;gap:9px;flex-wrap:wrap;border-top:1px solid var(--line);margin-top:28px;padding-top:20px}.design-tools button{font-size:13px}.material-field{margin:20px 0}.material-field small{display:block;font-size:12px;color:#6a745d;margin-top:8px}.bespoke details{margin:20px 0}.bespoke summary{cursor:pointer;font-size:15px;font-weight:600}.design-estimate{margin-top:44px;border-top:1px solid var(--line);padding-top:28px}.estimate-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:22px}.estimate-heading span{font-size:14px;color:#606d51}.estimate-scroll{overflow:auto}.design-estimate table{width:100%;border-collapse:collapse;font-size:14px}.design-estimate th{text-align:left;color:#606a55;font-weight:500;border-bottom:1px solid #cbd3c0;padding:14px}.design-estimate td{padding:16px 14px;border-bottom:1px solid #e0e5d8}.design-estimate td small{display:block;font-size:12px;color:#737f67;margin-top:6px}.design-estimate td:last-child{text-align:right;white-space:nowrap}.estimate-notes{background:#f5f2e4;padding:24px;border-radius:18px;font-size:14px;color:#4e5c40}.estimate-notes li{margin:10px 0}.estimate-notes p{font-size:13px;line-height:1.6}#reset-confirm{background:#fff3ce;padding:18px;border-radius:14px;font-size:14px}.scene-failure{padding:95px 30px 30px;font-size:15px;line-height:1.7}.extra-list{font-size:14px}.extra-list>div{display:flex;justify-content:space-between;gap:10px;margin:10px 0}.extra-list button{min-height:40px;padding:6px 12px}.bespoke .plan-note{padding:16px;background:#f6f3e3;border-radius:14px;font-size:14px;line-height:1.6}
@media(max-width:1100px){.bespoke-layout{grid-template-columns:minmax(0,1fr) minmax(355px,1fr);gap:20px}.bespoke-heading{align-items:start}.bespoke-heading>a{max-width:230px}.bespoke-layout>.design-panel{padding:19px}.scene-bottom small{display:none}.scene-top{left:14px;right:14px;top:16px}#design-save{display:none}.design-metrics{gap:7px}.design-metrics div{padding:13px 10px}.design-metrics strong{font-size:16px}.design-cost strong{font-size:26px}.bespoke .scene-bottom button{padding:12px 17px}}
@media(max-width:800px){.bespoke{padding:22px 14px 45px}.bespoke-heading{flex-direction:column;gap:18px}.bespoke-heading>a{max-width:none}.bespoke-heading p{font-size:15px}.bespoke h1{letter-spacing:-.8px}.bespoke-layout{display:flex;flex-direction:column;gap:20px}.design-preview{position:relative;top:auto;width:100%}#bespoke-scene{height:390px}.scene-empty{top:29%;left:8%;right:8%}.scene-empty strong{font-size:23px}.scene-empty p{font-size:14px}.bespoke-layout>.design-panel{width:100%;border-radius:23px;padding:20px}.design-metrics strong{font-size:16px}.bespoke .design-cost{padding:22px}.estimate-heading{display:block}.design-estimate th,.design-estimate td{padding:12px 8px;font-size:13px}.design-estimate{margin-top:28px}.design-metrics small{font-size:11px}.design-tabs{margin-bottom:22px}.bespoke .design-tabs button{font-size:14px;padding:12px 6px}.bespoke .cabinet-types button{font-size:12px;padding:14px 7px}}
@media(max-width:380px){.bespoke .scene-bottom button{padding:11px 14px;font-size:13px}.bespoke .design-tabs button{font-size:12px}.design-metrics strong{font-size:14px}.bespoke .input-grid{gap:12px}.scene-top>span:first-child{font-size:10px}}
@media print{header,footer,.design-panel,.scene-bottom,.scene-empty,.bespoke-heading>a,.design-cost button{display:none!important}.bespoke{padding:0}.bespoke-layout{display:block}.design-preview{position:static}#bespoke-scene{height:300px}.bespoke .design-cost{color:#111;background:#fff;border:1px solid #aaa}.design-cost span,.design-cost p{color:#555}.design-estimate{break-before:auto}.estimate-notes{background:white}.design-estimate tr{break-inside:avoid}}
