/* ECW brand and responsive presentation, scoped to Norton Park. */
#ecwnp-policy {--brand:var(--primary,#660c0c);--cream:var(--second,#fff8e6)}
#ecwnp-policy .ecwnp-policy-pdf {display:inline-flex;align-items:center;justify-content:center;gap:16px;max-width:100%;padding:14px 24px;border-radius:30px;background:var(--brand);color:var(--cream);font:inherit;font-weight:500;text-decoration:none;transition:background .25s,color .25s}
#ecwnp-policy .ecwnp-policy-pdf:hover,#ecwnp-policy .ecwnp-policy-pdf:focus-visible {background:var(--cream);color:var(--brand)}
#ecwnp-policy .ecwnp-payment-file {border-color:rgba(102,12,12,.16)}
#ecwnp-policy .ecwnp-payment-file summary {display:flex;align-items:center;justify-content:space-between;gap:16px;list-style:none;background:var(--cream);color:var(--brand);min-height:60px;transition:color .25s,box-shadow .25s}
#ecwnp-policy summary::-webkit-details-marker {display:none}
#ecwnp-policy .ecwnp-payment-file summary::after {content:'+';font-size:24px;font-weight:400;flex:0 0 24px;text-align:center;transition:transform .3s}
#ecwnp-policy .ecwnp-payment-file[data-expanded=true] summary::after {transform:rotate(45deg)}
#ecwnp-policy .ecwnp-payment-file summary:hover {box-shadow:inset 4px 0 var(--brand)}
#ecwnp-policy .ecwnp-payment-image a {display:block;cursor:zoom-in}
#ecwnp-policy .ecwnp-payment-image img {aspect-ratio:auto}
#ecwnp-policy .ecwnp-payment-files a:focus-visible,#ecwnp-policy summary:focus-visible {outline:2px solid var(--brand);outline-offset:-3px}
#ecwnp-price .code[aria-checked=true],#ecwnp-price .code:hover,#ecwntoc a:hover,#ecwntoc a.active {background:var(--second,#fff8e6)}
#ecwnp-price .plan img {cursor:zoom-in}
.ecwnsuite-viewer {box-sizing:border-box;width:calc(100vw - 48px);max-width:1920px;height:calc(100dvh - 48px);max-height:none;margin:auto;padding:0;border:0;background:#fff;color:#3a3a3a;overflow:hidden;font-family:inherit}
.ecwnsuite-viewer::backdrop {background:rgba(0,0,0,.8)}
.ecwnsuite-viewer[open] {display:flex;flex-direction:column}
.ecwnsuite-viewer header {display:flex;align-items:center;gap:20px;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #ddd;flex-shrink:0}
.ecwnsuite-viewer h2 {margin:0;font:500 20px/1.4 Montserrat,Arial,sans-serif;color:#3a3a3a}
.ecwnsuite-viewer button {border:0;background:var(--primary,#660c0c);color:var(--second,#fff8e6);width:48px;height:48px;flex-shrink:0;font:32px/1 Arial;cursor:pointer;transition:background .25s,color .25s}
.ecwnsuite-viewer button:hover,.ecwnsuite-viewer button:focus-visible {background:var(--second,#fff8e6);color:var(--primary,#660c0c);outline:2px solid var(--primary,#660c0c)}
.ecwnsuite-viewer .ecwnsuite-image-stage {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:20px;display:flex;align-items:center;justify-content:center}
.ecwnsuite-viewer img {display:block;width:100%;height:100%;object-fit:contain;cursor:zoom-in}
.ecwnsuite-viewer .ecwnsuite-image-stage.is-zoomed {display:block}
.ecwnsuite-viewer .is-zoomed img {width:auto;height:auto;max-width:none;max-height:none;cursor:zoom-out;margin:auto}
@media(max-width:600px){#ecwnp-policy .ecwnp-policy-pdf {display:flex;width:100%;padding:14px 18px;font-size:15px;box-sizing:border-box}#ecwnp-policy .ecwnp-payment-file summary {padding:14px 16px;font-size:15px;line-height:1.5}.ecwnsuite-viewer {width:calc(100vw - 16px);height:calc(100dvh - 24px)}.ecwnsuite-viewer header {padding:12px;gap:12px}.ecwnsuite-viewer h2 {font-size:15px}.ecwnsuite-viewer button {width:44px;height:44px}.ecwnsuite-viewer .ecwnsuite-image-stage {padding:8px}}
@media(prefers-reduced-motion:reduce){#ecwnp-policy *, .ecwnsuite-viewer * {transition:none!important}}
/* Avoid the theme's sticky site-header styles inside the image dialog. */
.ecwnsuite-viewer > header {position:static!important;inset:auto!important;transform:none!important;width:auto!important;background:#fff;box-shadow:none;margin:0;z-index:auto}
body.project .sec-project-detail .table-compare tbody td {background:#fff}
body.project .sec-project-detail .table-compare tbody td:first-child,body.project .sec-project-detail .table-compare tbody td:nth-child(2) {background:var(--second,#fff8e6)}
.ecwnsuite-viewer img,#ecwnp-price .plan img {pointer-events:auto!important}
.ecwnsuite-viewer.ecwnsuite-viewer > header > button {background:var(--primary,#660c0c)!important;color:var(--second,#fff8e6)!important;border:0!important;box-shadow:none!important;outline:0!important;opacity:1;transition:background .2s,color .2s}
.ecwnsuite-viewer.ecwnsuite-viewer > header > button:hover,.ecwnsuite-viewer.ecwnsuite-viewer > header > button:focus-visible {background:var(--second,#fff8e6)!important;color:var(--primary,#660c0c)!important;opacity:1}
.ecwnsuite-viewer .ecwnsuite-image-stage {touch-action:none;overflow:hidden;position:relative;padding:0;flex:none}
.ecwnsuite-viewer .ecwnsuite-image-stage img {width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;transform-origin:0 0;user-select:none;-webkit-user-drag:none;cursor:zoom-in}
.ecwnsuite-viewer[open] {height:auto;max-height:calc(100dvh - 24px)}
@media(max-width:600px){.ecwnsuite-viewer {width:calc(100vw - 16px)}.ecwnsuite-viewer > header {padding:10px 12px}.ecwnsuite-viewer h2 {font-size:14px}.ecwnsuite-viewer .ecwnsuite-image-stage {padding:0}}
.ecwnsuite-viewer,.ecwnsuite-viewer .ecwnsuite-image-stage,.ecwnsuite-viewer img {transition:none!important} .ecwnsuite-viewer.ecwnsuite-viewer > header > button:focus-visible:not(:hover) {background:var(--primary,#660c0c)!important;color:var(--second,#fff8e6)!important}
/* Compact close control, retaining ECW red and thin cross. */
.ecwnsuite-viewer.ecwnsuite-viewer > header > button{width:40px;height:40px;min-width:40px;flex:0 0 40px}
.ecwnsuite-viewer.ecwnsuite-viewer > header > button::before,.ecwnsuite-viewer.ecwnsuite-viewer > header > button::after{width:21px;height:1.5px}
main img[data-ecwnsuite-zoom]{cursor:zoom-in;pointer-events:auto!important}
@media(max-width:600px){.ecwnsuite-viewer.ecwnsuite-viewer > header > button{width:36px;height:36px;min-width:36px;flex-basis:36px}}

.ecwnsuite-viewer .can-pan img{cursor:grab}.ecwnsuite-viewer .is-dragging img{cursor:grabbing}
