/* LHS Custom Order Center — 2026-07-18 */
.lhs-custom-order-center-page{background:#f7f3ed;color:#1b1713}
.lhs-co-main{overflow:clip;background:linear-gradient(180deg,#fbf8f3 0%,#f5efe6 100%)}
.lhs-co-main *{box-sizing:border-box}
.lhs-co-eyebrow{margin:0;color:#a77b3e;font-size:11px;font-weight:800;letter-spacing:.25em;text-transform:uppercase}
.lhs-co-hero{position:relative;min-height:720px;display:grid;align-items:center;padding:120px clamp(24px,7vw,120px) 70px;isolation:isolate;background:#d9c6ae}
.lhs-co-hero-media,.lhs-co-hero-overlay{position:absolute;inset:0}
.lhs-co-hero-media img{width:100%;height:100%;object-fit:cover;object-position:center;display:block}
.lhs-co-hero-overlay{z-index:1;background:linear-gradient(90deg,rgba(20,15,11,.84) 0%,rgba(20,15,11,.62) 34%,rgba(20,15,11,.12) 68%,rgba(20,15,11,.02) 100%),linear-gradient(180deg,rgba(17,12,9,.12),rgba(17,12,9,.28))}
.lhs-co-hero-copy{position:relative;z-index:2;max-width:720px;color:#fff}
.lhs-co-hero-copy .lhs-co-eyebrow{color:#e3b96f;margin-bottom:18px}
.lhs-co-hero h1{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(54px,6vw,92px);line-height:.96;font-weight:400;letter-spacing:-.055em;text-wrap:balance}
.lhs-co-hero-copy>p:not(.lhs-co-eyebrow){max-width:650px;margin:26px 0 0;color:rgba(255,255,255,.86);font-size:18px;line-height:1.7}
.lhs-co-hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:22px;margin-top:34px}
.lhs-co-text-link{color:#f3d9ab;text-decoration:none;font-size:13px;letter-spacing:.08em;border-bottom:1px solid rgba(243,217,171,.45);padding-bottom:5px}
.lhs-co-hero-points{position:absolute;z-index:2;left:clamp(24px,7vw,120px);right:clamp(24px,7vw,120px);bottom:28px;display:flex;justify-content:flex-end;gap:12px}
.lhs-co-hero-points span{display:flex;align-items:center;gap:12px;min-width:180px;padding:13px 17px;border:1px solid rgba(255,255,255,.24);border-radius:999px;background:rgba(14,10,8,.32);backdrop-filter:blur(14px);color:#fff}
.lhs-co-hero-points strong{color:#e3b96f;font-size:11px;letter-spacing:.16em}
.lhs-co-hero-points small{font-size:11px;letter-spacing:.05em}
.lhs-co-btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 26px;border:1px solid transparent;border-radius:7px;font-size:11px;font-weight:800;letter-spacing:.13em;text-decoration:none;cursor:pointer;transition:transform .28s ease,box-shadow .28s ease,background .28s ease,color .28s ease,border-color .28s ease}
.lhs-co-btn:hover{transform:translateY(-2px)}
.lhs-co-btn-gold{background:#d8ad66;color:#17110d;box-shadow:0 16px 36px rgba(21,15,10,.18)}
.lhs-co-btn-dark{background:#1b1511;color:#f2d39e;border-color:#1b1511}
.lhs-co-btn-secondary{background:transparent;color:#6e5638;border-color:rgba(128,95,55,.42)}
.lhs-co-btn:disabled{opacity:.4;cursor:not-allowed;transform:none;box-shadow:none}
.lhs-co-intro{max-width:1420px;margin:0 auto;padding:90px 48px 58px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:80px;align-items:end}
.lhs-co-intro h2{margin:14px 0 0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,4.7vw,68px);line-height:1.02;font-weight:400;letter-spacing:-.045em;max-width:900px}
.lhs-co-intro>p{margin:0;color:#675e54;font-size:16px;line-height:1.8;max-width:620px}
.lhs-co-builder{max-width:1480px;margin:0 auto;padding:0 32px 110px;display:grid;grid-template-columns:300px minmax(0,1fr);gap:28px;align-items:start}
.lhs-co-sidebar{min-width:0}
.lhs-co-sidebar-sticky{position:sticky;top:130px;padding:28px;border:1px solid rgba(109,80,48,.14);border-radius:20px;background:rgba(255,255,255,.72);box-shadow:0 20px 55px rgba(44,31,20,.08);backdrop-filter:blur(16px)}
.lhs-co-sidebar h2{margin:9px 0 24px;font-family:Georgia,"Times New Roman",serif;font-size:34px;font-weight:400;letter-spacing:-.03em}
.lhs-co-progress-meta{display:flex;justify-content:space-between;gap:12px;font-size:10px;letter-spacing:.12em;color:#85725c}
.lhs-co-progress-meta strong{color:#a77b3e}
.lhs-co-progress-track{height:4px;margin-top:10px;border-radius:999px;background:#e5ddd2;overflow:hidden}
.lhs-co-progress-track span{display:block;width:16.67%;height:100%;background:linear-gradient(90deg,#97703c,#d7ad69);transition:width .4s ease}
.lhs-co-step-nav{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:6px}
.lhs-co-step-nav button{width:100%;display:flex;align-items:center;gap:12px;padding:11px;border:0;border-radius:11px;background:transparent;text-align:left;color:#6b6259;cursor:pointer;transition:background .25s ease,color .25s ease}
.lhs-co-step-nav li.is-active button{background:#1b1511;color:#fff}
.lhs-co-step-nav li.is-complete button{color:#82643f}
.lhs-co-step-nav button>span{display:grid;place-items:center;flex:0 0 34px;height:34px;border:1px solid rgba(157,119,68,.34);border-radius:50%;font-size:10px;color:#a77b3e}
.lhs-co-step-nav li.is-active button>span{background:#d8ad66;color:#17110d;border-color:#d8ad66}
.lhs-co-step-nav button div{display:grid;gap:2px;min-width:0}
.lhs-co-step-nav strong{font-size:12px;font-weight:700}
.lhs-co-step-nav small{font-size:10px;color:inherit;opacity:.7;line-height:1.35}
.lhs-co-draft-status{min-height:20px;margin-top:18px;color:#8b6a42;font-size:11px;line-height:1.5}
.lhs-co-workspace{min-width:0}
#lhsCustomOrderForm{padding:clamp(28px,4vw,58px);border:1px solid rgba(109,80,48,.14);border-radius:24px;background:#fff;box-shadow:0 28px 72px rgba(43,30,18,.10)}
.lhs-co-step{display:none;animation:lhsCoIn .48s cubic-bezier(.2,.8,.2,1)}
.lhs-co-step.is-active{display:block}
@keyframes lhsCoIn{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.lhs-co-step-head{display:flex;align-items:flex-start;gap:18px;padding-bottom:30px;margin-bottom:32px;border-bottom:1px solid #ece6de}
.lhs-co-step-head>span{display:grid;place-items:center;flex:0 0 54px;height:54px;border-radius:50%;background:#1b1511;color:#d9ae68;font-size:13px;letter-spacing:.12em}
.lhs-co-step-head h3{margin:9px 0 0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(32px,4vw,52px);line-height:1.04;font-weight:400;letter-spacing:-.04em;max-width:900px}
.lhs-co-fieldset{margin:0 0 30px;padding:0;border:0}
.lhs-co-fieldset legend{margin-bottom:14px;color:#55493c;font-size:12px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.lhs-co-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.lhs-co-choice-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.lhs-co-choice-grid-four{grid-template-columns:repeat(4,minmax(0,1fr))}
.lhs-co-choice{position:relative;min-height:165px;padding:22px;border:1px solid #e4dbcf;border-radius:16px;background:#fbf9f6;cursor:pointer;transition:transform .25s ease,border-color .25s ease,box-shadow .25s ease,background .25s ease}
.lhs-co-choice:hover{transform:translateY(-3px);border-color:#c89b5a;box-shadow:0 16px 32px rgba(46,31,18,.08)}
.lhs-co-choice:has(input:checked){border-color:#b18449;background:#fffaf1;box-shadow:inset 0 0 0 1px #b18449,0 14px 30px rgba(55,37,21,.08)}
.lhs-co-choice input{position:absolute;opacity:0;pointer-events:none}
.lhs-co-choice-number{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d6c3a9;border-radius:50%;color:#a77b3e;font-size:10px}
.lhs-co-choice strong{display:block;margin-top:18px;font-family:Georgia,"Times New Roman",serif;font-size:22px;font-weight:400;letter-spacing:-.02em}
.lhs-co-choice small{display:block;margin-top:8px;color:#766c61;font-size:12px;line-height:1.55}
.lhs-co-field-grid{display:grid;gap:18px;margin-top:24px}
.lhs-co-field-grid-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.lhs-co-field-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.lhs-co-field{display:grid;gap:9px;min-width:0}
.lhs-co-field>span{font-size:12px;font-weight:800;letter-spacing:.06em;color:#5a4e42}
.lhs-co-field input,.lhs-co-field select,.lhs-co-field textarea{width:100%;min-height:52px;padding:0 15px;border:1px solid #ddd3c7;border-radius:9px;background:#fff;color:#1b1713;font:inherit;font-size:14px;outline:none;transition:border-color .2s ease,box-shadow .2s ease}
.lhs-co-field textarea{padding:15px;resize:vertical;line-height:1.6}
.lhs-co-field input:focus,.lhs-co-field select:focus,.lhs-co-field textarea:focus{border-color:#ae8146;box-shadow:0 0 0 3px rgba(174,129,70,.12)}
.lhs-co-field small{color:#877b6e;font-size:11px;line-height:1.5}
.lhs-co-field-full{margin-top:24px}
.lhs-co-finder-match{display:grid;grid-template-columns:80px minmax(0,1fr) auto;align-items:center;gap:18px;margin-bottom:28px;padding:16px;border:1px solid #d9c49f;border-radius:16px;background:linear-gradient(135deg,#fff9ef,#f5ead6)}
.lhs-co-finder-match img{width:80px;height:80px;object-fit:cover;border-radius:12px}
.lhs-co-finder-match div{display:grid;gap:4px;min-width:0}
.lhs-co-finder-match small{color:#9a713e;font-size:9px;font-weight:800;letter-spacing:.13em}
.lhs-co-finder-match strong{font-family:Georgia,"Times New Roman",serif;font-size:20px;font-weight:400}
.lhs-co-finder-match span{color:#756a5f;font-size:12px}
.lhs-co-inline-btn,.lhs-co-text-button{min-height:40px;padding:0 16px;border:1px solid #b78b50;border-radius:7px;background:transparent;color:#8a6436;font-size:10px;font-weight:800;letter-spacing:.1em;cursor:pointer}
.lhs-co-text-button{border:0;text-decoration:underline;text-underline-offset:4px}
.lhs-co-guide-links{display:flex;flex-wrap:wrap;gap:18px;margin-top:25px}
.lhs-co-guide-links a{color:#9c7038;font-size:11px;font-weight:800;letter-spacing:.08em;text-decoration:none}
.lhs-co-color-note{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:15px;margin-top:26px;padding:18px;border:1px solid #e4d8c7;border-radius:14px;background:#faf6f0}
.lhs-co-color-note>span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#1b1511;color:#d8ad66;font-size:22px}
.lhs-co-color-note p{margin:0;color:#6f6459;font-size:12px;line-height:1.6}
.lhs-co-color-note a{color:#9a6e36;font-size:10px;font-weight:800;letter-spacing:.1em;text-decoration:none;white-space:nowrap}
.lhs-co-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:28px}
.lhs-co-upload{position:relative;min-height:180px;padding:24px;border:1px dashed #cbb79e;border-radius:16px;background:#fbf8f3;text-align:center;cursor:pointer;overflow:hidden;transition:border-color .25s ease,background .25s ease}
.lhs-co-upload:hover{border-color:#a77b3e;background:#fffaf2}
.lhs-co-upload input{position:absolute;inset:0;opacity:0;cursor:pointer}
.lhs-co-upload-icon{display:grid;place-items:center;width:42px;height:42px;margin:0 auto 13px;border:1px solid #d0b890;border-radius:50%;color:#9b703c;font-size:22px}
.lhs-co-upload strong{display:block;font-family:Georgia,"Times New Roman",serif;font-size:18px;font-weight:400}
.lhs-co-upload small{display:block;margin-top:5px;color:#84786c;font-size:11px}
.lhs-co-file-preview{position:relative;z-index:1;display:none;align-items:center;gap:10px;margin-top:12px;padding:8px 10px;border-radius:8px;background:#fff;text-align:left;pointer-events:none}
.lhs-co-file-preview.is-visible{display:flex}
.lhs-co-file-preview img{width:38px;height:38px;border-radius:6px;object-fit:cover}
.lhs-co-file-preview span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5e5144;font-size:10px}
.lhs-co-upload-disclaimer{margin:15px 0 0;color:#806f5e;font-size:11px;line-height:1.6}
.lhs-co-review{display:grid;gap:14px}
.lhs-co-review-section{border:1px solid #e6ddd2;border-radius:14px;overflow:hidden}
.lhs-co-review-section header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 16px;background:#f8f4ee}
.lhs-co-review-section header strong{font-family:Georgia,"Times New Roman",serif;font-size:20px;font-weight:400}
.lhs-co-review-section header button{border:0;background:transparent;color:#9c7038;font-size:10px;font-weight:800;letter-spacing:.08em;cursor:pointer}
.lhs-co-review-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;margin:0}
.lhs-co-review-list div{padding:13px 16px;border-top:1px solid #eee7df;min-width:0}
.lhs-co-review-list div:nth-child(odd){border-right:1px solid #eee7df}
.lhs-co-review-list dt{color:#8a7b6c;font-size:9px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.lhs-co-review-list dd{margin:5px 0 0;color:#302820;font-size:13px;line-height:1.5;overflow-wrap:anywhere}
.lhs-co-consent{display:flex;align-items:flex-start;gap:12px;margin-top:25px;padding:18px;border:1px solid #e1d3bf;border-radius:12px;background:#fffaf2;color:#66594d;font-size:12px;line-height:1.65;cursor:pointer}
.lhs-co-consent input{margin-top:4px;accent-color:#9c713d}
.lhs-co-submit-panel{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:22px;padding:24px;border-radius:16px;background:#1b1511;color:#fff}
.lhs-co-submit-panel>div{display:grid;gap:4px}
.lhs-co-submit-panel small{color:#d7ab67;font-size:9px;font-weight:800;letter-spacing:.13em}
.lhs-co-submit-panel strong{font-family:Georgia,"Times New Roman",serif;font-size:22px;font-weight:400}
.lhs-co-submit-panel span{color:rgba(255,255,255,.62);font-size:11px}
.lhs-co-review-actions{display:flex;align-items:center;gap:10px;margin-top:16px}
.lhs-co-submit-message{min-height:24px;margin-top:14px;color:#8b673b;font-size:12px;line-height:1.5}
.lhs-co-validation{min-height:24px;margin-top:18px;color:#a33a2d;font-size:12px;font-weight:700}
.lhs-co-form-actions{display:flex;justify-content:space-between;gap:14px;margin-top:22px;padding-top:22px;border-top:1px solid #eee7df}
.lhs-co-guides{max-width:1420px;margin:0 auto;padding:0 48px 110px}
.lhs-co-guides header{max-width:760px;margin-bottom:30px}
.lhs-co-guides h2{margin:12px 0 0;font-family:Georgia,"Times New Roman",serif;font-size:clamp(38px,4.5vw,64px);line-height:1.03;font-weight:400;letter-spacing:-.04em}
.lhs-co-guide-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.lhs-co-guide-cards a{min-height:210px;padding:28px;border:1px solid #dfd3c4;border-radius:18px;background:#fff;color:#211a14;text-decoration:none;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.lhs-co-guide-cards a:hover{transform:translateY(-5px);border-color:#be9257;box-shadow:0 20px 48px rgba(45,31,18,.10)}
.lhs-co-guide-cards span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#1b1511;color:#d7aa64;font-size:11px}
.lhs-co-guide-cards strong{display:block;margin-top:34px;font-family:Georgia,"Times New Roman",serif;font-size:28px;font-weight:400}
.lhs-co-guide-cards small{display:block;margin-top:8px;color:#75695e;font-size:12px;line-height:1.55}
html[dir="rtl"] .lhs-co-hero-overlay{background:linear-gradient(270deg,rgba(20,15,11,.84) 0%,rgba(20,15,11,.62) 34%,rgba(20,15,11,.12) 68%,rgba(20,15,11,.02) 100%),linear-gradient(180deg,rgba(17,12,9,.12),rgba(17,12,9,.28))}
html[dir="rtl"] .lhs-co-step-nav button,html[dir="rtl"] .lhs-co-file-preview{text-align:right}
html[dir="rtl"] .lhs-co-review-list div:nth-child(odd){border-right:0;border-left:1px solid #eee7df}
@media(max-width:1180px){.lhs-co-builder{grid-template-columns:250px minmax(0,1fr);padding-inline:22px}.lhs-co-choice-grid-four{grid-template-columns:repeat(2,minmax(0,1fr))}.lhs-co-field-grid-three{grid-template-columns:repeat(2,minmax(0,1fr))}.lhs-co-hero-points{justify-content:flex-start}.lhs-co-hero-points span{min-width:0}}
@media(max-width:900px){.lhs-co-hero{min-height:680px;padding-top:110px;padding-bottom:110px}.lhs-co-hero-overlay{background:linear-gradient(90deg,rgba(20,15,11,.82),rgba(20,15,11,.42))}.lhs-co-hero-points{bottom:24px;overflow:auto;padding-bottom:4px}.lhs-co-hero-points span{flex:0 0 auto}.lhs-co-intro{grid-template-columns:1fr;gap:24px;padding:70px 24px 42px}.lhs-co-builder{grid-template-columns:1fr;padding-inline:16px}.lhs-co-sidebar-sticky{position:relative;top:auto;padding:20px}.lhs-co-sidebar h2{margin-bottom:16px}.lhs-co-step-nav{display:flex;overflow:auto;padding-bottom:4px}.lhs-co-step-nav li{flex:0 0 145px}.lhs-co-step-nav button{height:62px}.lhs-co-step-nav small{display:none}.lhs-co-step-nav button>span{flex-basis:30px;height:30px}.lhs-co-progress{margin-top:8px}.lhs-co-guide-cards{grid-template-columns:1fr}.lhs-co-guides{padding:0 20px 80px}}
@media(max-width:700px){.lhs-co-hero{min-height:620px;padding:100px 20px 120px}.lhs-co-hero-media img{object-position:64% center}.lhs-co-hero-overlay{background:linear-gradient(90deg,rgba(20,15,11,.86),rgba(20,15,11,.52))}.lhs-co-hero h1{font-size:clamp(44px,13vw,62px)}.lhs-co-hero-copy>p:not(.lhs-co-eyebrow){font-size:15px}.lhs-co-hero-points{left:16px;right:16px}.lhs-co-hero-points span{padding:10px 13px}.lhs-co-hero-points small{font-size:9px}.lhs-co-intro{padding-top:56px}.lhs-co-builder{padding-bottom:76px}.lhs-co-workspace{width:100%}#lhsCustomOrderForm{padding:24px 16px;border-radius:18px}.lhs-co-step-head{gap:12px;padding-bottom:22px;margin-bottom:25px}.lhs-co-step-head>span{flex-basis:44px;height:44px}.lhs-co-step-head h3{font-size:34px}.lhs-co-choice-grid,.lhs-co-choice-grid-three,.lhs-co-choice-grid-four,.lhs-co-field-grid-two,.lhs-co-field-grid-three,.lhs-co-upload-grid{grid-template-columns:1fr}.lhs-co-choice{min-height:138px}.lhs-co-finder-match{grid-template-columns:62px minmax(0,1fr)}.lhs-co-finder-match img{width:62px;height:62px}.lhs-co-finder-match .lhs-co-inline-btn{grid-column:1/-1;width:100%}.lhs-co-color-note{grid-template-columns:38px minmax(0,1fr)}.lhs-co-color-note a{grid-column:1/-1}.lhs-co-review-list{grid-template-columns:1fr}.lhs-co-review-list div:nth-child(odd){border-right:0!important;border-left:0!important}.lhs-co-submit-panel{align-items:stretch;flex-direction:column}.lhs-co-submit-panel .lhs-co-btn{width:100%}.lhs-co-review-actions{flex-wrap:wrap}.lhs-co-form-actions .lhs-co-btn{flex:1;padding-inline:12px}.lhs-co-guides h2{font-size:38px}}
@media(max-width:430px){.lhs-co-hero-actions{align-items:flex-start;flex-direction:column}.lhs-co-hero-actions .lhs-co-btn{width:100%}.lhs-co-hero-points span:nth-child(3){display:none}.lhs-co-sidebar-sticky{padding:16px}.lhs-co-step-nav li{flex-basis:128px}.lhs-co-step-nav button{padding:8px}.lhs-co-choice strong{font-size:20px}.lhs-co-upload{min-height:160px}}
@media(prefers-reduced-motion:reduce){.lhs-co-step{animation:none}.lhs-co-btn,.lhs-co-choice,.lhs-co-guide-cards a{transition:none}}

/* =========================================================
   CUSTOM ORDER BUILDER FOCUS + RESPONSIVE CONTAINMENT
   2026-07-19
   - #builder opens directly below the site header
   - Hero/intro remain available on the normal page entry
   - Prevent intrinsic-width children from clipping the workspace
   ========================================================= */

#builder{
  scroll-margin-top:154px;
}

.lhs-custom-order-center-page,
.lhs-custom-order-center-page .lhs-co-main{
  max-width:100%;
  overflow-x:clip;
}

.lhs-co-builder,
.lhs-co-sidebar,
.lhs-co-sidebar-sticky,
.lhs-co-workspace,
#lhsCustomOrderForm,
.lhs-co-step,
.lhs-co-step-head,
.lhs-co-step-head>div,
.lhs-co-fieldset,
.lhs-co-choice-grid,
.lhs-co-field-grid,
.lhs-co-finder-match{
  min-width:0;
  max-width:100%;
}

.lhs-co-builder{
  width:100%;
}

.lhs-co-step-head h3,
.lhs-co-choice strong,
.lhs-co-choice small,
.lhs-co-field,
.lhs-co-finder-match strong,
.lhs-co-finder-match span{
  overflow-wrap:anywhere;
  word-break:normal;
}

.lhs-co-finder-match .lhs-co-inline-btn{
  max-width:100%;
  white-space:normal;
  line-height:1.35;
}

/* Apply before JS completes so direct #builder links never flash a clipped hero. */
@supports selector(body:has(#builder:target)){
  body:has(#builder:target) .lhs-co-hero,
  body:has(#builder:target) .lhs-co-intro{
    display:none!important;
  }
  body:has(#builder:target) .lhs-co-builder{
    padding-top:24px!important;
  }
}

html.lhs-co-builder-focus,
body.lhs-co-builder-focus{
  scroll-padding-top:154px;
}

body.lhs-co-builder-focus .lhs-co-hero,
body.lhs-co-builder-focus .lhs-co-intro{
  display:none!important;
}

body.lhs-co-builder-focus .lhs-co-main{
  padding-top:0!important;
}

body.lhs-co-builder-focus .lhs-co-builder{
  padding-top:24px!important;
}

/* Mid-size desktop containment: keep the premium two-column layout,
   while removing the 4-card squeeze seen around laptop widths. */
@media (min-width:901px) and (max-width:1440px){
  .lhs-co-builder{
    max-width:1320px;
    grid-template-columns:270px minmax(0,1fr);
    gap:22px;
    padding-inline:18px;
  }
  .lhs-co-sidebar-sticky{
    padding:23px;
  }
  #lhsCustomOrderForm{
    padding:36px;
  }
  .lhs-co-choice-grid-four{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .lhs-co-step-head h3{
    font-size:clamp(34px,3.35vw,46px);
    max-width:100%;
  }
}

@media (max-width:900px){
  #builder{
    scroll-margin-top:112px;
  }
  html.lhs-co-builder-focus,
  body.lhs-co-builder-focus{
    scroll-padding-top:112px;
  }
  body.lhs-co-builder-focus .lhs-co-builder,
  body:has(#builder:target) .lhs-co-builder{
    padding-top:14px!important;
  }
}

@media (max-width:700px){
  .lhs-co-builder{
    width:100%;
    padding-left:12px!important;
    padding-right:12px!important;
  }
  .lhs-co-sidebar-sticky,
  #lhsCustomOrderForm{
    width:100%;
  }
  .lhs-co-step-head h3{
    font-size:clamp(28px,8.7vw,36px)!important;
  }
}


/* The full desktop navigation is dense between 1161px and 1440px. Keep it
   inside the viewport so the language selector never drops over the builder. */
@media (min-width:1161px) and (max-width:1440px){
  .lhs-custom-order-center-page .main-header{
    width:100%!important;
    max-width:100vw!important;
    grid-template-columns:44px minmax(0,1fr) 180px minmax(0,1fr) 72px 112px!important;
    gap:14px!important;
    padding-left:22px!important;
    padding-right:22px!important;
  }
  .lhs-custom-order-center-page .main-header .nav-left,
  .lhs-custom-order-center-page .main-header .nav-right{
    min-width:0!important;
    gap:16px!important;
  }
  .lhs-custom-order-center-page .main-header .nav-left a,
  .lhs-custom-order-center-page .main-header .nav-right a,
  .lhs-custom-order-center-page .main-header .nav-static-option{
    font-size:13px!important;
  }
  .lhs-custom-order-center-page .main-header .logo{
    min-width:0!important;
    max-width:180px!important;
  }
  .lhs-custom-order-center-page .main-header .header-icons{
    min-width:0!important;
    gap:12px!important;
  }
  .lhs-custom-order-center-page .main-header .header-language-field{
    position:static!important;
    inset:auto!important;
    transform:none!important;
    min-width:0!important;
  }
  .lhs-custom-order-center-page .main-header .header-language-select{
    width:112px!important;
    min-width:0!important;
  }
}


/* =========================================================
   CUSTOM ORDER RTL + FINDER MATCH HARD FIX
   2026-07-19
   - Explicit physical placement for sidebar/workspace
   - No RTL auto-placement overflow
   - Stable System Finder recommendation card
   ========================================================= */

.lhs-co-builder{
  direction:ltr;
  grid-template-areas:"sidebar workspace";
}
.lhs-co-sidebar{grid-area:sidebar;direction:ltr}
.lhs-co-workspace{grid-area:workspace;direction:ltr}

html[dir="rtl"] .lhs-co-builder{
  grid-template-columns:minmax(0,1fr) 300px;
  grid-template-areas:"workspace sidebar";
  direction:ltr;
}
html[dir="rtl"] .lhs-co-sidebar,
html[dir="rtl"] .lhs-co-workspace{
  direction:rtl;
}
html[dir="rtl"] .lhs-co-step-head h3{
  font-size:clamp(32px,3.25vw,48px);
  line-height:1.18;
  letter-spacing:-.025em;
}

.lhs-co-sidebar,
.lhs-co-workspace,
#lhsCustomOrderForm,
.lhs-co-step,
.lhs-co-step-head,
.lhs-co-step-head>div{
  inline-size:100%;
  min-inline-size:0;
  max-inline-size:100%;
}

.lhs-co-finder-match{
  grid-template-columns:92px minmax(0,1fr) auto;
  grid-template-areas:"media copy action";
  min-height:118px;
  overflow:hidden;
}
.lhs-co-finder-match img{
  grid-area:media;
  width:92px;
  height:92px;
  display:block;
  background:#eee4d6;
  border:1px solid rgba(162,123,72,.16);
}
.lhs-co-finder-match>div{
  grid-area:copy;
  align-content:center;
}
.lhs-co-finder-match .lhs-co-inline-btn{
  grid-area:action;
  justify-self:end;
}
html[dir="rtl"] .lhs-co-finder-match{
  grid-template-columns:auto minmax(0,1fr) 92px;
  grid-template-areas:"action copy media";
}
html[dir="rtl"] .lhs-co-finder-match>div{
  text-align:right;
}
html[dir="rtl"] .lhs-co-finder-match .lhs-co-inline-btn{
  justify-self:start;
}

@media (min-width:901px) and (max-width:1440px){
  html[dir="rtl"] .lhs-co-builder{
    grid-template-columns:minmax(0,1fr) 270px;
  }
}

@media (max-width:900px){
  .lhs-co-builder,
  html[dir="rtl"] .lhs-co-builder{
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:"sidebar" "workspace";
  }
  .lhs-co-sidebar,
  .lhs-co-workspace,
  html[dir="rtl"] .lhs-co-sidebar,
  html[dir="rtl"] .lhs-co-workspace{
    direction:inherit;
  }
}

@media (max-width:700px){
  .lhs-co-finder-match,
  html[dir="rtl"] .lhs-co-finder-match{
    grid-template-columns:68px minmax(0,1fr);
    grid-template-areas:"media copy" "action action";
    gap:13px;
  }
  html[dir="rtl"] .lhs-co-finder-match{
    grid-template-columns:minmax(0,1fr) 68px;
    grid-template-areas:"copy media" "action action";
  }
  .lhs-co-finder-match img{
    width:68px;
    height:68px;
  }
  .lhs-co-finder-match .lhs-co-inline-btn,
  html[dir="rtl"] .lhs-co-finder-match .lhs-co-inline-btn{
    width:100%;
    justify-self:stretch;
  }
}

/* =========================================================
   CUSTOM ORDER WORKSPACE WIDTH + EMPTY FINDER HARD FIX
   2026-07-19
   - Keep the English and Arabic builder inside the viewport
   - Wrap System Family cards from the workspace width
   - Never render an empty System Finder recommendation card
   ========================================================= */

.lhs-co-finder-match[hidden]{
  display:none!important;
}

.lhs-custom-order-center-page,
.lhs-custom-order-center-page .lhs-co-main,
.lhs-custom-order-center-page .lhs-co-builder{
  width:100%;
  max-width:100%;
}

.lhs-co-builder{
  box-sizing:border-box;
  overflow:visible;
}

.lhs-co-workspace,
#lhsCustomOrderForm,
.lhs-co-step,
.lhs-co-fieldset,
.lhs-co-choice-grid,
.lhs-co-field-grid{
  width:100%;
  min-width:0;
  max-width:100%;
}

#lhsCustomOrderForm{
  overflow:hidden;
}

.lhs-co-choice-grid>* ,
.lhs-co-field-grid>* ,
.lhs-co-finder-match>*{
  min-width:0;
  max-width:100%;
}

.lhs-co-field select,
.lhs-co-field input,
.lhs-co-field textarea{
  min-width:0;
  max-width:100%;
}

/* The sidebar leaves less room than a normal full-width page. Switch the
   four-card grids to a stable 2 x 2 layout before they can force overflow. */
@media (min-width:901px) and (max-width:1680px){
  .lhs-co-builder{
    max-width:100%;
    grid-template-columns:240px minmax(0,1fr);
    gap:18px;
    padding-left:16px;
    padding-right:16px;
  }
  html[dir="rtl"] .lhs-co-builder{
    grid-template-columns:minmax(0,1fr) 240px;
  }
  .lhs-co-sidebar-sticky{
    padding:22px 18px;
  }
  #lhsCustomOrderForm{
    padding:clamp(26px,2.5vw,38px);
  }
  .lhs-co-choice-grid-four{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .lhs-co-field-grid-three{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .lhs-co-step-head h3{
    max-width:100%;
    font-size:clamp(34px,3.1vw,46px);
  }
}

/* Workspace-aware fallback: it also works when browser zoom changes the
   effective viewport independently of the physical screen size. */
.lhs-co-workspace{
  container-name:lhsCustomWorkspace;
  container-type:inline-size;
}

@container lhsCustomWorkspace (max-width:1180px){
  .lhs-co-choice-grid-four{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .lhs-co-field-grid-three{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@container lhsCustomWorkspace (max-width:720px){
  .lhs-co-choice-grid,
  .lhs-co-choice-grid-three,
  .lhs-co-choice-grid-four,
  .lhs-co-field-grid-two,
  .lhs-co-field-grid-three,
  .lhs-co-upload-grid{
    grid-template-columns:minmax(0,1fr);
  }
}
