/* Home configurator (20 ft and 40 ft pages, both sites) */
.ehc-section{scroll-margin-top:70px}
.ehc-head{max-width:860px;margin-bottom:34px}
.ehc-head h2{margin:.2em 0 .35em}
.ehc-head p{color:var(--muted);font-size:1.05rem;line-height:1.6;margin:0}
.ehc{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,460px);gap:40px;align-items:start}
.ehc-steps{display:flex;flex-direction:column;gap:30px;min-width:0}
.ehc-step{border:0;margin:0;padding:0 0 30px;border-bottom:1px solid var(--line);min-width:0}
.ehc-step legend{display:flex;align-items:center;gap:12px;font-size:1.28rem;font-weight:600;color:var(--ink);padding:0;margin-bottom:6px}
.ehc-num{display:inline-flex;width:30px;height:30px;border-radius:50%;background:var(--deep);color:#fff;font-size:.88rem;align-items:center;justify-content:center;flex:none}
.ehc-note{color:var(--muted);margin:0 0 14px 42px;font-size:.95rem;line-height:1.5}
.ehc-base-card{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:center;background:#fff;border:1px solid var(--line);padding:16px;margin-bottom:30px}
.ehc-base-card img{width:260px;height:auto;display:block}
.ehc-base-card h3{margin:0 0 6px;font-size:1.15rem}
.ehc-base-card ul{margin:6px 0 0;padding-left:18px;color:var(--muted);font-size:.92rem;line-height:1.55}
.ehc-base-card .ehc-base-price{font-size:1.35rem;font-weight:700;color:var(--ink);margin:0}
.ehc-base-card .ehc-base-price small{display:block;font-size:.82rem;font-weight:400;color:var(--muted)}
.ehc-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}
.ehc-opt{position:relative;display:flex;flex-direction:column;gap:8px;background:#fff;border:1.5px solid var(--line);padding:12px;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.ehc-opt:hover{border-color:#9fb2a6}
.ehc-opt.is-on{border-color:var(--deep);box-shadow:0 0 0 1px var(--deep)}
.ehc-opt input{position:absolute;opacity:0;width:1px;height:1px}
.ehc-opt:focus-within{outline:2px solid var(--gold);outline-offset:2px}
.ehc-opt img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;background:#f2f3ef;display:block}
.ehc-txt{display:flex;flex-direction:column;gap:3px}
.ehc-txt strong{font-size:.98rem;line-height:1.3}
.ehc-txt small{color:var(--muted);font-size:.85rem;line-height:1.4}
.ehc-badge{align-self:flex-start;font-style:normal;font-size:.74rem;font-weight:600;letter-spacing:.04em;background:#e7efe6;color:#2f5a3d;padding:3px 8px;margin-top:3px}
.ehc-price{font-weight:600;font-size:.95rem;color:var(--ink);margin-top:auto}
.ehc-price.ehc-req{color:#8a6a1c;font-weight:500;font-size:.88rem}
.ehc-large{font-size:.8rem;color:var(--muted);text-decoration:underline;text-underline-offset:3px;align-self:flex-start}
.ehc-icon{display:block;height:74px;color:var(--deep)}
.ehc-icon svg{height:74px;width:auto;display:block}
.ehc-checks .ehc-options{grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
.ehc-checks .ehc-opt{padding-left:44px}
.ehc-checks .ehc-opt::before{content:"";position:absolute;left:14px;top:14px;width:18px;height:18px;border:1.5px solid #8fa197;background:#fff}
.ehc-checks .ehc-opt.is-on::before{background:var(--deep);border-color:var(--deep);box-shadow:inset 0 0 0 3px #fff}
.ehc-radio .ehc-opt,.ehc-cards .ehc-opt{}
.ehc-qty{display:inline-flex;align-items:center;gap:8px;align-self:flex-start}
.ehc-qty button{width:30px;height:30px;border:1px solid var(--line);background:#fff;font-size:1.05rem;cursor:pointer;line-height:1}
.ehc-qty output{min-width:16px;text-align:center;font-weight:600}
.ehc-opt:not(.is-on) .ehc-qty{display:none}
.ehc-swatches .ehc-options{grid-template-columns:repeat(auto-fill,minmax(94px,1fr));gap:10px}
.ehc-swatches .ehc-opt{padding:6px;gap:6px;align-items:center;text-align:center}
.ehc-swatch{display:block;width:100%;aspect-ratio:1/1;background-size:cover;background-position:center;border:1px solid rgba(0,0,0,.08)}
.ehc-sw-name{font-size:.78rem;line-height:1.25;color:var(--ink)}
.ehc-side{position:sticky;top:20px;display:flex;flex-direction:column;gap:14px;max-height:calc(100vh - 40px);overflow-y:auto;scrollbar-width:thin}
.ehc-summary{background:#fff;border:1px solid var(--line);padding:20px}
.ehc-viewer{background:#fff;border:1px solid var(--line);padding:10px}
.ehc-view-tabs{display:flex;gap:6px;margin-bottom:8px}
.ehc-view-tabs button{flex:1;border:1px solid var(--line);background:#f4f6f2;padding:8px 10px;font:inherit;font-size:.85rem;font-weight:600;color:var(--muted);cursor:pointer}
.ehc-view-tabs button[aria-selected="true"]{background:var(--deep);border-color:var(--deep);color:#fff}
.ehc-stage{position:relative;aspect-ratio:4/3;background:#e6eee8;overflow:hidden}
.ehc-3d,.ehc-plan{position:absolute;inset:0}
.ehc-3d canvas{display:block;width:100%!important;height:100%!important;cursor:grab}
.ehc-3d canvas:active{cursor:grabbing}
.ehc-3d[hidden],.ehc-plan[hidden],.ehc-3d-ctrl[hidden],.ehc-3d-hint[hidden]{display:none!important}
.ehc-3d-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0;color:var(--muted);font-size:.9rem}
.ehc-plan{background:#fff;display:flex;align-items:center;justify-content:center}
.ehc-plan a{display:block;width:100%;height:100%}
.ehc-plan img{width:100%;height:100%;object-fit:contain;display:block}
.ehc-plan-none{color:var(--muted);font-size:.9rem;padding:20px;text-align:center}
.ehc-3d-ctrl{position:absolute;right:8px;bottom:8px;display:flex;gap:4px}
.ehc-3d-ctrl button{min-width:34px;height:34px;padding:0 8px;border:0;background:rgba(255,255,255,.92);box-shadow:0 1px 4px rgba(0,0,0,.18);font:inherit;font-size:.85rem;font-weight:600;cursor:pointer;color:var(--ink)}
.ehc-3d-hint{position:absolute;left:8px;bottom:8px;margin:0;background:rgba(255,255,255,.85);padding:4px 8px;font-size:.75rem;color:var(--muted);pointer-events:none}
.ehc-mobile-total{display:none}
.ehc-summary h3{margin:0 0 12px;font-size:1.1rem}
.ehc-preview a{display:block}
.ehc-preview img{width:100%;height:auto;display:block;border:1px solid var(--line)}
.ehc-chips{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 4px}
.ehc-chip{display:inline-flex;align-items:center;gap:6px;font-size:.78rem;background:#f3f5f1;padding:4px 8px 4px 4px}
.ehc-chip i{display:inline-block;width:18px;height:18px;background-size:cover;border:1px solid rgba(0,0,0,.1)}
.ehc-lines{list-style:none;margin:14px 0 0;padding:0;font-size:.9rem}
.ehc-lines li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-top:1px solid #eef1ed}
.ehc-lines li span{display:flex;flex-direction:column}
.ehc-lines li small{color:var(--muted);font-size:.74rem;text-transform:uppercase;letter-spacing:.06em}
.ehc-lines li b{white-space:nowrap;font-weight:600}
.ehc-lines li b.ehc-inc{font-weight:400;color:var(--muted)}
.ehc-lines li.ehc-base{font-weight:600}
.ehc-lines li.ehc-missing span{color:#8a6a1c}
.ehc-total{display:flex;justify-content:space-between;align-items:baseline;gap:10px;border-top:2px solid var(--ink);margin-top:6px;padding-top:12px}
.ehc-total span{font-weight:600}
.ehc-total b{font-size:1.6rem}
.ehc-total-note{display:block;color:var(--muted);font-size:.8rem;margin-top:4px;line-height:1.45}
.ehc-req-list p{font-size:.84rem;color:#8a6a1c;margin:10px 0 0;line-height:1.45}
.ehc-actions{display:flex;flex-direction:column;gap:8px;margin-top:16px}
.ehc-actions .button{width:100%}
.ehc-actions .ehc-mail{text-align:center;font-size:.9rem;color:var(--ink);text-decoration:underline;text-underline-offset:4px;padding:6px}
.ehc-reset{background:none;border:0;color:var(--muted);font-size:.82rem;text-decoration:underline;cursor:pointer;padding:4px;margin-top:4px}
.ehc-fine{font-size:.78rem;color:var(--muted);line-height:1.5;margin:12px 0 0}
.ehc-bar{display:none}
@media(max-width:1000px){
  .ehc{display:flex;flex-direction:column;align-items:stretch;gap:22px}
  .ehc-side{display:contents}
  .ehc-viewer{order:-1;position:sticky;top:0;z-index:30;margin:0 -6%;padding:6px 6% 8px;border:0;border-bottom:1px solid var(--line);box-shadow:0 6px 14px rgba(0,0,0,.08)}
  .ehc-stage{aspect-ratio:auto;height:min(36vh,280px)}
  .ehc-view-tabs{margin-bottom:6px}
  .ehc-view-tabs button{padding:6px 8px}
  .ehc-mobile-total{display:flex;gap:6px;align-items:baseline;position:absolute;left:8px;top:8px;margin:0;background:rgba(23,40,34,.9);color:#fff;padding:5px 10px;font-size:.8rem}
  .ehc-mobile-total b{font-size:1.05rem}
  .ehc-mobile-total,.ehc-mobile-total *{color:#fff!important;z-index:2}
  .ehc-3d-hint{display:none}
  .ehc-steps{order:0}
  .ehc-summary{order:1}
  .ehc-bar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:60;background:var(--deep);color:#fff;padding:10px 16px;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 -4px 16px rgba(0,0,0,.18)}
  .ehc-bar span{font-size:.8rem;opacity:.85;display:block}
  .ehc-bar b{font-size:1.2rem}
  .ehc-bar a{background:var(--gold);color:var(--ink);font-weight:600;padding:10px 16px;font-size:.9rem;white-space:nowrap}
  .ehc-bar[hidden]{display:none}
}
@media(max-width:640px){
  .ehc-base-card{grid-template-columns:1fr}
  .ehc-base-card img{width:100%;height:auto}
  .ehc-note{margin-left:0}
  .ehc-options{grid-template-columns:1fr 1fr;gap:8px}
  .ehc-checks .ehc-options{grid-template-columns:1fr}
  .ehc-swatches .ehc-options{grid-template-columns:repeat(4,1fr);gap:6px}
  .ehc-opt{padding:8px}
  .ehc-txt strong{font-size:.9rem}
  .ehc-icon,.ehc-icon svg{height:56px}
}
