.screen-builder-page { background: #eef4f7; }
.screen-main { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 4rem; }
.local-value-strip { margin: 1rem 0 1.25rem; padding: .85rem 1rem; display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: .7rem; color: #355064; background: #fff; border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); }
.local-value-strip span,.local-value-strip a { color: inherit; font-size: .61rem; line-height: 1.4; text-decoration: none; }
.local-value-strip strong { display: block; color: var(--navy); font-size: .66rem; }
.local-value-strip .google-rating { padding-left: .7rem; border-left: 1px solid var(--line); }
.local-value-strip .google-stars { display: block; color: #fbbc04; font-size: .76rem; font-weight: 900; letter-spacing: .06em; line-height: 1; }
.local-value-strip .google-rating strong { margin-top: .2rem; }
.guide-link { color: var(--blue); font-weight: 850; }
.email-quote { margin-top: .7rem; padding: .7rem; display: grid; grid-template-columns: 1fr auto; gap: .45rem; background: #f6f9fb; border: 1px solid var(--line); border-radius: .7rem; }
.email-quote label { display: grid; gap: .25rem; color: #405667; font-size: .58rem; font-weight: 800; }
.email-quote input { min-width: 0; height: 2.35rem; padding: 0 .55rem; border: 1px solid var(--line); border-radius: .5rem; }
.email-quote button { align-self: end; height: 2.35rem; padding: 0 .65rem; color: white; background: var(--navy); border: 0; border-radius: .5rem; font-size: .58rem; font-weight: 850; }
.email-quote p { grid-column: 1/-1; margin: 0; color: #087969; font-size: .58rem; }
.quote-honeypot { position: absolute !important; left: -9999px !important; }
.screen-intro { display: grid; grid-template-columns: minmax(0,1fr) 21rem; gap: 2rem; align-items: end; }
.screen-intro:has(> div:only-child) { grid-template-columns: 1fr; }
.screen-intro h1 { max-width: none; margin: .25rem 0 .65rem; color: var(--navy); font-size: clamp(2rem, 5vw, 3.7rem); line-height: .98; letter-spacing: -.055em; white-space: nowrap; }
.screen-intro > div > p:last-child { max-width: 44rem; color: var(--text); line-height: 1.6; }
.back-link { display: block; width: fit-content; margin: 0 0 1rem auto; color: var(--blue); font-size: .75rem; font-weight: 800; text-decoration: none; }
.screen-intro aside { padding: 1rem; display: grid; gap: .3rem; background: white; border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow); }
.screen-intro aside strong { font-size: .82rem; }
.screen-intro aside span { color: var(--text); font-size: .67rem; }
.screen-intro aside a { margin-top: .35rem; color: var(--blue); font-size: .7rem; font-weight: 800; }
.builder-grid { display: grid; grid-template-columns: minmax(18rem, 25rem) minmax(0,1fr); gap: 1.25rem; align-items: start; }
.preview-column { position: sticky; top: 1rem; display: grid; gap: .9rem; }
.screen-preview-card, .config-card, .order-card { background: white; border: 1px solid var(--line); border-radius: 1.15rem; box-shadow: var(--shadow); }
.screen-preview-card { padding: 1.2rem; }
.preview-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.preview-heading span, .preview-heading strong { display: block; }
.preview-heading span { color: var(--teal); font-size: .58rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.preview-heading strong { margin-top: .2rem; font-size: 1rem; }
.preview-price { text-align: right; }
.preview-price small, .preview-heading b { display: block; }
.preview-price small { color: var(--text); font-size: .52rem; font-weight: 750; }
.preview-heading b { margin-top: .12rem; color: var(--blue); font-size: 1.35rem; }
.screen-stage { min-height: 23rem; margin-top: 1rem; padding: 3.4rem 3.8rem; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 20%, #fff, #e6edf1); border-radius: .9rem; }
.screen-object { position: relative; width: min(88%, 18rem); aspect-ratio: var(--screen-ratio, .75); min-height: 11rem; max-height: 20rem; padding: .7rem; background: var(--frame-color, #f4f4f0); border-radius: .25rem; box-shadow: 0 8px 24px rgba(17,41,58,.2), inset 0 0 0 2px rgba(0,0,0,.14); transition: .2s ease; }
.screen-mesh { width: 100%; height: 100%; background-color: #5f696c; background-image: linear-gradient(45deg, rgba(255,255,255,.13) 25%, transparent 25%), linear-gradient(-45deg, rgba(255,255,255,.13) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255,255,255,.13) 75%), linear-gradient(-45deg, transparent 75%, rgba(255,255,255,.13) 75%); background-position: 0 0, 0 3px, 3px -3px, -3px 0; background-size: 6px 6px; box-shadow: inset 0 0 12px rgba(0,0,0,.35); }
.screen-mesh[data-mesh="grey"] { background-color: #9aa0a2; }
.screen-mesh[data-mesh="pet"] { background-color: #31383b; background-size: 9px 9px; }
.screen-mesh[data-mesh="noseeum"] { background-color: #4f5759; background-size: 3px 3px; }
.screen-mesh[data-mesh="solar"] { background-color: #20292d; background-size: 4px 4px; }
.screen-crossbar { position: absolute; left: .7rem; right: .7rem; top: 50%; height: .55rem; background: var(--frame-color); box-shadow: 0 1px 3px rgba(0,0,0,.28); transform: translateY(-50%); }
.screen-crossbar.vertical { inset: .7rem auto .7rem 50%; width: .55rem; height: auto; transform: translateX(-50%); }
.edge-name { position: absolute; z-index: 2; color: #405667; font-size: .48rem; font-style: normal; font-weight: 850; white-space: nowrap; }
.edge-name.top { left: 50%; top: -2.55rem; transform: translateX(-50%); }
.edge-name.bottom { left: 50%; bottom: -2.55rem; transform: translateX(-50%); }
.edge-name.left { left: -3.25rem; top: 50%; transform: translate(-50%,-50%) rotate(-90deg); }
.edge-name.right { right: -3.25rem; top: 50%; transform: translate(50%,-50%) rotate(90deg); }
.hardware-on-frame { position: absolute; z-index: 5; width: 2.15rem; height: 2.15rem; display: grid; place-items: center; background: white; border: 2px solid var(--hardware-color, var(--blue)); border-radius: 50%; box-shadow: 0 5px 12px rgba(0,0,0,.28); }
.hardware-on-frame img { width: 1.75rem; height: 1.75rem; object-fit: contain; border-radius: 50%; }
.hardware-on-frame b { position: absolute; left: 50%; top: calc(100% + .2rem); padding: .12rem .3rem; color: white; background: var(--hardware-color, var(--blue)); border-radius: 999px; font-size: .4rem; white-space: nowrap; transform: translateX(-50%); }
.hardware-on-frame.top { left: var(--marker-pos); top: -1.1rem; transform: translateX(-50%); }
.hardware-on-frame.bottom { left: var(--marker-pos); bottom: -1.1rem; transform: translateX(-50%); }
.hardware-on-frame.left { left: -1.1rem; top: var(--marker-pos); transform: translateY(-50%); }
.hardware-on-frame.right { right: -1.1rem; top: var(--marker-pos); transform: translateY(-50%); }
.hardware-on-frame.pull-tab { --hardware-color: #00a896; }
.hardware-on-frame.mounting { --hardware-color: #b36b2c; }
.preview-legend { margin-top: .75rem; display: flex; flex-wrap: wrap; gap: .6rem; color: var(--text); font-size: .52rem; font-weight: 750; }
.preview-legend span { display: flex; gap: .25rem; align-items: center; }
.preview-legend i { width: .55rem; height: .55rem; background: var(--blue); border-radius: 50%; }
.preview-legend .tab-dot { background: var(--teal); }
.preview-legend .mount-dot { background: #b36b2c; }
.preview-tags { margin-top: .8rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.preview-tags span { padding: .28rem .45rem; color: #365469; background: #edf5fa; border-radius: 999px; font-size: .57rem; font-weight: 750; }
.config-stack { display: grid; gap: .9rem; }
.config-card { padding: 1.2rem; }
.config-card > header { margin-bottom: 1rem; display: flex; gap: .75rem; align-items: start; }
.section-number { width: 2rem; height: 2rem; flex: 0 0 auto; display: grid; place-items: center; color: white; background: var(--blue); border-radius: .65rem; font-size: .72rem; font-weight: 850; }
.config-card h2 { margin: 0; font-size: 1rem; }
.config-card header p { margin: .2rem 0 0; color: var(--text); font-size: .65rem; line-height: 1.45; }
.measure-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.measure-group { padding: .8rem; background: #f6f9fb; border: 1px solid var(--line); border-radius: .8rem; }
.measure-group > span { display: block; margin-bottom: .5rem; color: #405667; font-size: .65rem; font-weight: 800; }
.measure-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }
.measure-inputs label { display: grid; gap: .25rem; color: var(--text); font-size: .56rem; }
.measure-inputs select, .quantity-control input, .delivery-fields input { width: 100%; height: 2.7rem; padding: 0 .6rem; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: .6rem; font: inherit; font-size: .7rem; }
.visual-options { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .6rem; }
.option-card { position: relative; min-height: 7.2rem; padding: .65rem; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: .8rem; cursor: pointer; text-align: left; }
.option-card:hover { border-color: var(--blue); transform: translateY(-1px); }
.option-card:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.35); transform: none; }
.option-card.selected { background: #edf5fa; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.option-card img, .option-visual { width: 100%; height: 4.8rem; display: grid; place-items: center; object-fit: contain; background: white; border-radius: .55rem; }
.screen-object, .screen-mesh, .screen-crossbar, .option-visual, .option-card > img, .color-swatch, .mesh-swatch, .frame-profile, .frame-profile b { color-scheme: only light; forced-color-adjust: none; }
.option-visual img.product-swatch { width: 100%; height: 100%; object-fit: cover; background: #fff; border-radius: .55rem; filter: none !important; mix-blend-mode: normal; opacity: 1; }
.option-card strong, .option-card small, .option-card em { display: block; }
.option-card strong { margin-top: .5rem; font-size: .7rem; }
.option-card small { margin-top: .18rem; color: var(--text); font-size: .56rem; line-height: 1.35; }
.option-card em { margin-top: .35rem; color: var(--blue); font-size: .6rem; font-style: normal; font-weight: 850; }
.selected-mark { position: absolute; right: .45rem; top: .45rem; width: 1.25rem; height: 1.25rem; display: grid; place-items: center; color: white; background: var(--blue); border-radius: 50%; font-size: .58rem; }
.color-swatch { width: 3.2rem; height: 3.2rem; border: 4px solid white; border-radius: 50%; box-shadow: 0 0 0 1px #c5cfd5, 0 7px 15px rgba(0,0,0,.12); }
.mesh-swatch { width: 4.4rem; height: 4.4rem; background-color: var(--mesh-color); background-image: repeating-linear-gradient(45deg, transparent 0 3px, rgba(255,255,255,.2) 3px 4px), repeating-linear-gradient(-45deg, transparent 0 3px, rgba(0,0,0,.2) 3px 4px); border: 5px solid #d5dce0; border-radius: .35rem; }
.frame-profile { position: relative; width: 4.4rem; height: 2.5rem; display: block; background: linear-gradient(#e6e8e8, #aeb4b6 45%, #f6f7f7 48%, #a3aaad); border: 1px solid #858e92; border-radius: .2rem; box-shadow: 0 7px 12px rgba(0,0,0,.15); }
.frame-profile b { position: absolute; inset: .48rem .55rem; background: white; border: 1px solid #8c9599; border-radius: .1rem; box-shadow: inset 0 2px 5px rgba(0,0,0,.16); }
.frame-profile.heavy { height: 3.5rem; }
.frame-profile.three-eighths { width: 3.8rem; border-width: 2px; }
.frame-profile.seven-sixteenths { width: 3.4rem; border-width: 3px; }
.subheading { margin: 1.1rem 0 .55rem; color: #405667; font-size: .67rem; font-weight: 850; }
.inline-options { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .55rem; }
.inline-option { min-height: 3.6rem; padding: .65rem .75rem; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: .7rem; cursor: pointer; text-align: left; }
.inline-option.selected { background: #edf5fa; border-color: var(--blue); }
.inline-option strong, .inline-option small { display: block; }
.inline-option strong { font-size: .68rem; }
.inline-option small { margin-top: .15rem; color: var(--text); font-size: .57rem; }
.edge-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .5rem; }
.edge-option { min-height: 4rem; padding: .6rem .7rem; display: grid; grid-template-columns: 1.7rem 1fr; gap: .55rem; align-items: center; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: .7rem; cursor: pointer; text-align: left; }
.edge-option > i { width: 1.65rem; height: 1.65rem; display: grid; place-items: center; color: var(--blue); background: #eaf2f8; border-radius: .5rem; font-size: .8rem; font-style: normal; font-weight: 850; }
.edge-option strong, .edge-option small { display: block; }
.edge-option strong { font-size: .66rem; }
.edge-option small { margin-top: .12rem; color: var(--text); font-size: .55rem; }
.edge-option.selected { background: #edf5fa; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.auto-placement-note { margin: .85rem 0 0; padding: .65rem .75rem; color: #35635d; background: #e8f5f3; border: 1px solid #c7e4df; border-radius: .65rem; font-size: .59rem; line-height: 1.45; }
.auto-placement-note strong { color: #0b7568; }
.quantity-row { margin-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; align-items: end; }
.quantity-control { width: 8rem; }
.quantity-control label { display: block; margin-bottom: .3rem; color: #405667; font-size: .62rem; font-weight: 800; }
.add-screen { min-height: 2.9rem; padding: .7rem 1rem; color: white; background: var(--teal); border: 0; border-radius: .7rem; cursor: pointer; font-size: .7rem; font-weight: 850; }
.add-screen:disabled { color: #7b8992; background: #e5ebef; cursor: not-allowed; }
.order-card { padding: 1.15rem; }
.order-card { transition: border-color .2s, box-shadow .2s, transform .2s; }
.order-card.just-added { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,168,150,.15), 0 18px 46px rgba(17,41,58,.14); transform: translateY(-2px); }
.order-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.order-heading > span { padding: .25rem .5rem; color: #087969; background: #def2ee; border-radius: 999px; font-size: .56rem; font-weight: 850; }
.order-card h2 { margin: 0; font-size: 1rem; }
.empty-order { margin: .8rem 0 0; padding: .9rem; color: var(--text); background: #f6f9fb; border-radius: .7rem; font-size: .66rem; }
.order-line { padding: .75rem 0; display: grid; grid-template-columns: 1fr auto; gap: .5rem; border-bottom: 1px solid var(--line); }
.order-line strong, .order-line span, .order-line small { display: block; }
.order-line strong { font-size: .7rem; }
.order-line span, .order-line small { margin-top: .15rem; color: var(--text); font-size: .57rem; }
.saved-screen-title { display: flex; align-items: center; gap: .45rem; }
.saved-screen-title > strong { flex: 1; }
.saved-quantity { min-width: 5.25rem; display: grid; grid-template-columns: 1.45rem 2.2rem 1.45rem; align-items: center; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: .45rem; }
.saved-quantity button, .saved-quantity input { width: 100%; height: 1.75rem; padding: 0; color: var(--navy); background: white; border: 0; font: inherit; font-size: .65rem; font-weight: 850; text-align: center; }
.saved-quantity button { cursor: pointer; }
.saved-quantity button:hover:not(:disabled) { color: white; background: var(--blue); }
.saved-quantity button:disabled { color: #a6b1b8; cursor: not-allowed; }
.saved-quantity input { border-right: 1px solid var(--line); border-left: 1px solid var(--line); appearance: textfield; }
.saved-quantity input::-webkit-inner-spin-button, .saved-quantity input::-webkit-outer-spin-button { margin: 0; appearance: none; }
.remove-line { margin-top: .35rem; padding: 0; color: #9b3326; background: none; border: 0; cursor: pointer; font-size: .56rem; font-weight: 800; }
.fulfillment { margin-top: 1rem; }
.fulfillment .inline-options { margin-top: .5rem; }
.delivery-fields { margin-top: .7rem; display: grid; grid-template-columns: 1fr 7rem; gap: .5rem; }
.delivery-message { margin: .5rem 0 0; color: #9b3326; font-size: .6rem; }
.totals { margin-top: 1rem; }
.totals p { margin: 0; padding: .45rem 0; display: flex; justify-content: space-between; color: var(--text); font-size: .66rem; }
.totals p.total { margin-top: .35rem; padding-top: .7rem; color: var(--navy); border-top: 1px solid var(--line); font-size: .86rem; font-weight: 850; }
.checkout-preview { width: 100%; min-height: 3.1rem; margin-top: .8rem; color: #74838d; background: #e7edf1; border: 0; border-radius: .7rem; font-size: .72rem; font-weight: 850; }
.continue-order { width: 100%; min-height: 3.1rem; margin-top: .8rem; color: white; background: var(--blue); border: 0; border-radius: .7rem; box-shadow: 0 9px 22px rgba(15,76,129,.2); cursor: pointer; font-size: .72rem; font-weight: 850; }
.continue-order:hover { background: var(--navy); }
.continue-order:disabled { color: #74838d; background: #e7edf1; box-shadow: none; cursor: not-allowed; }
.add-toast { position: fixed; z-index: 50; right: 1.25rem; bottom: 1.25rem; width: min(24rem, calc(100% - 2rem)); padding: .85rem 1rem; display: grid; grid-template-columns: 2.1rem 1fr 1.5rem; gap: .7rem; align-items: center; color: white; background: linear-gradient(135deg, #087969, #00a896); border: 1px solid rgba(255,255,255,.28); border-radius: .9rem; box-shadow: 0 18px 48px rgba(8,64,57,.32); animation: toast-in .25s ease both; }
.add-toast.leaving { animation: toast-out .22s ease both; }
.add-toast > i { width: 2rem; height: 2rem; display: grid; place-items: center; color: #087969; background: white; border-radius: 50%; font-size: .8rem; font-style: normal; font-weight: 900; }
.add-toast strong, .add-toast span { display: block; }
.add-toast strong { font-size: .74rem; }
.add-toast span { margin-top: .15rem; color: rgba(255,255,255,.84); font-size: .6rem; }
.add-toast button { padding: 0; color: white; background: none; border: 0; cursor: pointer; font-size: 1.25rem; line-height: 1; }
@keyframes toast-in { from { opacity: 0; transform: translateY(1rem) scale(.97); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(.6rem) scale(.98); } }
@media (max-width: 900px) { .screen-intro { grid-template-columns: 1fr; } .screen-intro h1 { white-space: normal; } .builder-grid { grid-template-columns: 1fr; } .preview-column { position: static; } .screen-stage { min-height: 19rem; } }
@media (max-width: 620px) { .screen-main { width: min(100% - 1rem, 1180px); padding-top: 1rem; } .visual-options { grid-template-columns: repeat(2, minmax(0,1fr)); } .measure-grid, .delivery-fields { grid-template-columns: 1fr; } .screen-stage { min-height: 17rem; padding: 3.2rem; } .edge-options { grid-template-columns: 1fr; } .quantity-row { align-items: stretch; flex-direction: column; } .quantity-control { width: 100%; } .add-toast { right: .5rem; bottom: .5rem; width: calc(100% - 1rem); } }
@media (max-width: 620px) { .local-value-strip { grid-template-columns: 1fr 1fr; } .local-value-strip .google-rating { grid-column: 1 / -1; padding: .65rem 0 0; border-top: 1px solid var(--line); border-left: 0; } .email-quote { grid-template-columns: 1fr; } .email-quote button { width: 100%; } }
