/* Shadely Design & Price Studio, step 1 (ported from the V1 prototype). */
:root{--ink:#102327;--orange:#f47a00;--muted:#64747a;--line:#e4e8e8}*{box-sizing:border-box}html,body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#f7f8f7}button{font:inherit;cursor:pointer}header{height:72px;background:#102326;display:flex;align-items:center;justify-content:space-between;padding:10px 38px;color:white}header img{height:52px;max-width:210px;object-fit:contain}header .brand-right{font-weight:700;font-size:17px}.app{display:grid;grid-template-columns:280px minmax(0,1fr);height:calc(100dvh - 72px);min-height:0}.sidebar{background:#fff;border-right:1px solid var(--line);padding:32px 25px;display:flex;flex-direction:column;gap:22px;overflow:auto}.eyebrow{font-size:11px;font-weight:800;letter-spacing:2px;color:#df6800}.sidebar h2{font-size:26px;line-height:1.12;margin:7px 0 0}.sidebar p{font-size:13px;color:var(--muted);line-height:1.5;margin:0}.steps{display:flex;flex-direction:column;gap:9px}.step{display:flex;align-items:center;gap:12px;padding:10px 9px;border-radius:11px;font-size:14px;font-weight:650;color:#5f6a6d}.step.active{background:#fff4e8;color:var(--ink)}.step b{width:30px;height:30px;border-radius:50%;background:#edf0f0;display:grid;place-items:center;font-size:13px;flex-shrink:0}.step.active b{background:var(--orange);color:white}.sidehelp{margin-top:auto;border-top:1px solid var(--line);padding-top:20px}.sidehelp button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:12px;width:100%;text-align:left;font-weight:700;color:var(--ink)}.main{min-height:0;display:flex;flex-direction:column;position:relative}.scroll{overflow-y:auto;min-height:0;flex:1;scrollbar-gutter:stable;padding:30px clamp(24px,4vw,72px) 24px}.intro{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:23px}.intro h1{font-size:clamp(27px,2.4vw,37px);letter-spacing:-1px;margin:4px 0 5px}.intro p{margin:0;color:var(--muted);font-size:14px}.helpbtn{white-space:nowrap;background:white;border:1px solid #d9dfe0;padding:12px 15px;border-radius:10px;font-weight:700;color:var(--ink)}.cards{display:flex;flex-direction:column;gap:18px;max-width:1240px;margin:auto}.card{width:100%;min-height:225px;background:white;border:1.5px solid #e2e7e7;border-radius:18px;overflow:hidden;display:grid;grid-template-columns:52% 48%;text-align:left;padding:0;color:var(--ink);box-shadow:0 5px 16px rgba(0,0,0,.045);transition:border-color .15s,box-shadow .15s}.card:nth-child(even) .photo{order:2}.card:hover{border-color:#ff9c41;box-shadow:0 9px 22px rgba(0,0,0,.09)}.card.selected{border:2px solid var(--orange);box-shadow:0 0 0 2px #ffedda}.photo{height:100%;min-height:225px;position:relative;overflow:hidden}.photo img{width:100%;height:100%;object-fit:cover;display:block}.cardbody{padding:23px 28px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:9px}.cardbody .category{font-size:10px;letter-spacing:1.7px;color:#d56808;font-weight:800}.cardbody h3{font-size:clamp(22px,2vw,30px);letter-spacing:-.7px;margin:0}.cardbody p{font-size:14px;line-height:1.5;color:#526269;max-width:440px;margin:0}.tags{display:flex;gap:7px;flex-wrap:wrap}.tags span{border:1px solid #e4e8e8;border-radius:100px;padding:6px 10px;font-size:11px;color:#526269}.cardcta{margin-top:5px;color:#db6500;font-weight:800;font-size:13px}.footer{height:72px;flex-shrink:0;border-top:1px solid var(--line);background:white;display:flex;justify-content:space-between;align-items:center;padding:12px clamp(24px,4vw,72px);gap:15px}.footer .hint{font-size:13px;color:#617078}.primary{border:0;background:var(--orange);color:white;border-radius:10px;font-weight:800;padding:14px 24px}.primary:disabled{background:#f7c998;cursor:not-allowed}.dialog{position:fixed;inset:0;background:#0008;display:none;align-items:center;justify-content:center;padding:20px;z-index:10}.dialog.show{display:flex}.modal{background:white;border-radius:16px;padding:26px;max-width:520px;width:100%;box-shadow:0 20px 70px #0003}.modal h2{margin:0 0 10px}.modal p{line-height:1.6;color:#56656a}.modal button{border:0;border-radius:9px;background:var(--ink);color:white;padding:11px 18px}.sr{position:absolute;left:-9999px}@media(max-width:950px){header{height:62px;padding:8px 18px}header img{height:43px}.app{height:calc(100dvh - 62px);grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:24px 13px}.sidebar h2{font-size:20px}.scroll{padding:22px}.card{grid-template-columns:48% 52%;min-height:190px}.photo{min-height:190px}.cardbody{padding:14px}.cardbody h3{font-size:21px}.tags{display:none}}@media(max-width:680px){header .brand-right{font-size:12px}.app{display:block;height:auto}.sidebar{position:sticky;top:0;z-index:3;padding:9px 14px;border-bottom:1px solid var(--line);overflow:visible}.sidebar .eyebrow,.sidebar h2,.sidebar p,.sidehelp{display:none}.steps{flex-direction:row;justify-content:space-between;gap:1px}.step{padding:5px;gap:3px;font-size:10px}.step b{height:23px;width:23px}.step:not(.active){font-size:0}.main{height:auto}.scroll{overflow:visible;padding:18px 14px}.intro{align-items:flex-start}.intro h1{font-size:28px}.helpbtn{font-size:11px;padding:8px}.card{grid-template-columns:1fr;min-height:0}.card:nth-child(even) .photo{order:0}.photo{height:180px;min-height:180px}.cardbody{padding:17px}.footer{position:sticky;bottom:0;height:70px;padding:10px 14px}.footer .hint{font-size:11px}}
 .main .scroll{padding-bottom:28px} 
/* V4: fixed workspace title/help; product cards are the only independently scrolling content */
html,body{height:100%;overflow:hidden}
.app{height:calc(100dvh - 72px);overflow:hidden}
.sidebar{overflow-y:auto}
.main{height:100%;min-height:0;overflow:hidden}
.main>.intro{flex:0 0 auto;margin:0;padding:21px clamp(24px,4vw,72px) 18px;background:#f7f8f7;border-bottom:1px solid var(--line);z-index:2}
.main>.intro h1{margin:2px 0 5px;font-size:clamp(27px,2.4vw,37px)}
.main>.intro p{font-size:14px}
.main>.scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:18px clamp(24px,4vw,72px) 32px;scrollbar-gutter:stable}
.cards{max-width:1240px;margin:0 auto}
.card{min-height:230px}
.photo{min-height:230px}
@media(max-width:950px){.app{height:calc(100dvh - 62px)}.main>.intro{padding:16px 22px}.main>.scroll{padding:16px 22px 28px}.card,.photo{min-height:190px}}
@media(max-width:680px){html,body{height:auto;overflow:auto}.app{height:auto;overflow:visible}.main{height:auto;overflow:visible}.main>.intro{position:sticky;top:62px;z-index:4;padding:12px 14px;background:#f7f8f7}.main>.intro h1{font-size:25px}.main>.intro p{font-size:12px}.main>.scroll{overflow:visible;padding:14px}.sidebar{position:sticky;top:0}.card,.photo{min-height:0}}
/* V5: sidebar eyebrow sits on the same line as the main eyebrow (sidebar top padding = header top padding) */
.sidebar{padding-top:21px}
@media(max-width:950px){.sidebar{padding-top:16px}}
/* V6 — consistent left/right alignment across header, sidebar, title and cards */
@media(min-width:951px){
 header{padding-left:28px;padding-right:54px}
 .sidebar{padding-left:28px;padding-right:28px}
 .main>.intro{padding-left:clamp(28px,4vw,72px);padding-right:clamp(54px,4vw,72px)}
 .main>.scroll{padding-left:clamp(28px,4vw,72px);padding-right:clamp(54px,4vw,72px)}
 .cards{max-width:none;width:100%;margin:0}
}
@media(min-width:681px) and (max-width:950px){
 .main>.intro,.main>.scroll{padding-left:22px;padding-right:22px}
 .cards{max-width:none;width:100%;margin:0}
}

/* V7: shared workspace edges; reserve identical scrollbar space in the fixed heading. */
:root{--workspace-inset:clamp(28px,4vw,72px);--workspace-scrollbar:17px}
@media(min-width:951px){
 .main>.intro{padding-left:var(--workspace-inset);padding-right:calc(var(--workspace-inset) + var(--workspace-scrollbar))}
 .main>.scroll{padding-left:var(--workspace-inset);padding-right:var(--workspace-inset);scrollbar-gutter:stable}
 .main>.scroll .cards{width:100%;max-width:none;margin:0}
}
@media(min-width:681px) and (max-width:950px){
 .main>.intro{padding-right:39px}
 .main>.scroll{padding-right:22px;scrollbar-gutter:stable}
}
/* No phantom fixed footer; product cards are the only scrolling surface. */

/* V8: single shared optical grid. The right-side scrollbar occupies 15px;
   reserve that space in fixed regions so all right edges align. */
@media (min-width:951px) {
  :root { --workspace-gutter:36px; --scrollbar-space:15px; }
  header { padding-left:30px; padding-right:calc(var(--workspace-gutter) + var(--scrollbar-space)); }
  .sidebar { padding-left:30px; padding-right:30px; }
  .main>.intro { padding-left:var(--workspace-gutter); padding-right:calc(var(--workspace-gutter) + var(--scrollbar-space)); }
  .main>.scroll { padding-left:var(--workspace-gutter); padding-right:var(--workspace-gutter); scrollbar-gutter:stable; }
  .main>.scroll .cards { max-width:none; width:100%; margin:0; }
}

/* V9 — premium visual refinement; V8 layout geometry intentionally unchanged */
:root{--orange:#ed7200;--muted:#637079;--line:#e8e3dc}
html,body{background:#f6f3ee}
.main>.intro{background:#f6f3ee;border-bottom:1px solid #e8e2d9}
.main>.scroll{background:#f6f3ee}
.sidebar{background:#fffdfb;border-right-color:#e9e3db}
.sidebar h2{letter-spacing:-.8px}
.sidebar .step.active{background:#fff0df}
.sidebar .steps{position:relative;gap:10px}
.sidebar .steps:before{content:"";position:absolute;left:24px;top:29px;bottom:29px;width:1px;background:#e7e0d8;pointer-events:none}
.sidebar .step{position:relative;z-index:1}
.sidebar .step b{border:3px solid #fffdfb;box-sizing:content-box;width:24px;height:24px}
.sidebar .step.active b{border-color:#fff0df}
.intro h1{letter-spacing:-1.35px!important}
.helpbtn{background:#fffdfb;border-color:#e2dcd4;box-shadow:0 2px 8px rgba(16,35,39,.025);transition:background .2s,border-color .2s}
.helpbtn:hover{background:#fff5e9;border-color:#f1b87d}
.cards{gap:22px}
.card{position:relative;border:1px solid #e7e0d7;background:#fffdfb;box-shadow:0 8px 24px rgba(38,33,26,.045);transition:transform .2s,border-color .2s,box-shadow .2s}
.card:hover{transform:translateY(-2px);border-color:#e9a15d;box-shadow:0 14px 32px rgba(38,33,26,.11)}
.card.selected{border:2px solid var(--orange)}
.photo:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(0,0,0,.02)}
.cardbody{background:linear-gradient(120deg,#fffdfb 0%,#faf6f0 100%);padding:30px 36px;gap:12px}
.cardbody .category{color:#bd5800;letter-spacing:2.1px;font-size:10px}
.cardbody h3{font-weight:800;letter-spacing:-1px}
.cardbody p{color:#4f6065;line-height:1.6}
.tags span{background:#fff;border-color:#e8ded2;padding:7px 11px}
.cardcta{display:inline-flex;align-items:center;justify-content:center;min-height:39px;padding:10px 16px;background:#ed7200;color:white;border-radius:9px;margin-top:9px;font-size:13px;box-shadow:0 3px 9px rgba(237,114,0,.14)}
.card:hover .cardcta{background:#cf6100}
@media(max-width:950px){.cardbody{padding:18px}.sidebar .steps:before{display:none}}
@media(max-width:680px){.cardbody{padding:19px}.cardcta{min-height:38px}}


/* V10 — editorial product-card composition. V8/V9 page grid and fixed regions remain unchanged. */
.cards{gap:24px}
.card,.card:nth-child(even){display:grid;grid-template-columns:58% 42%;height:355px;min-height:355px;border:1px solid #e5ded4;border-radius:17px;box-shadow:0 10px 28px rgba(30,32,29,.065);background:#faf7f2;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.card:nth-child(even) .photo{order:0}
.card:hover{transform:translateY(-2px);box-shadow:0 18px 38px rgba(30,32,29,.13);border-color:#d3a478}
.card:focus-visible{outline:3px solid #ed7200;outline-offset:3px}
.card.selected{border:2px solid #ed7200}
.photo{min-height:0;height:100%;position:relative}
.photo img{height:100%;width:100%;object-fit:cover}
.cardbody{min-width:0;background:#faf7f2;background-image:none;padding:30px clamp(24px,3vw,48px) 30px;display:flex;flex-direction:column;align-items:stretch;justify-content:space-between;gap:14px}
.editorial-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;min-height:42px}
.cardbody .category{color:#b85d12;font-size:10px;letter-spacing:2.1px;font-weight:800;margin-top:7px}
.product-number{font-size:46px;line-height:1;font-weight:700;letter-spacing:-3px;color:#e0d8cd;font-family:Georgia,'Times New Roman',serif}
.editorial-copy{display:flex;flex-direction:column;gap:12px;margin:0;padding:0;min-width:0}
.cardbody h3{font-size:clamp(27px,2.3vw,36px);line-height:1.07;letter-spacing:-1.5px;margin:0;color:#102326;font-weight:750}
.cardbody .benefit{font-size:17px;font-weight:700;line-height:1.35;color:#233a3e;letter-spacing:-.3px}
.cardbody p{font-size:14px;line-height:1.65;color:#5c6b6d;max-width:370px;margin:0}
.cardcta{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin-top:0;background:#102326;color:white;border-radius:9px;padding:15px 17px;font-size:13px;min-height:52px;box-shadow:none;transition:background .2s ease}
.card:hover .cardcta{background:#ed7200}
.cta-arrow{font-size:21px;line-height:1;font-weight:400}
@media(max-width:1150px) and (min-width:681px){.card,.card:nth-child(even){height:350px;min-height:350px;grid-template-columns:54% 46%}.cardbody{padding:22px}.product-number{font-size:42px}.cardbody h3{font-size:27px}.editorial-copy{gap:9px}.cardbody .benefit{font-size:15px}.cardbody p{font-size:13px}}
@media(max-width:680px){.card,.card:nth-child(even){grid-template-columns:1fr;height:auto;min-height:0}.photo{height:235px;min-height:235px}.cardbody{padding:20px;min-height:280px}.editorial-top{min-height:36px}.product-number{font-size:40px}.editorial-copy{gap:9px;margin:12px 0 20px;padding:0}.cardbody h3{font-size:28px}.cardbody .benefit{font-size:15px}.cardbody p{font-size:13px}.cardcta{min-height:48px}}
