#ecw-norton-residences{font-family:inherit;font-size:16px;line-height:1.5;color:#3a3a3a;margin-top:32px;text-align:left}
#ecw-norton-residences *{box-sizing:border-box}
#ecw-norton-residences .np-heading{font-family:inherit;font-size:var(--np-heading-size,22px);font-weight:700;color:#660c0c;line-height:1.5;text-transform:none;margin:0 0 16px}
#ecw-norton-residences .np-floor{margin-bottom:28px}
#ecw-norton-residences .np-groups{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:24px}
#ecw-norton-residences .np-group{min-width:0}
#ecw-norton-residences .np-group:first-child{border-right:1px solid #ddd;padding-right:24px}
#ecw-norton-residences .np-group>.np-heading{min-height:3em}
#ecw-norton-residences .np-tabs{display:flex;position:relative;gap:24px;overflow-x:auto;scrollbar-width:thin;border-bottom:1px solid #660c0c;white-space:nowrap}
#ecw-norton-residences .np-tab{font-family:inherit;font-size:16px;line-height:24px;font-weight:400;background:transparent;border:0;border-radius:0;color:#3a3a3a;padding:16px 0 23px;cursor:pointer;flex-shrink:0;letter-spacing:0}
#ecw-norton-residences .np-tab[aria-selected=true]{font-weight:600;color:#660c0c}
#ecw-norton-residences .np-tab:focus-visible,#ecw-norton-residences .np-zoom:focus-visible{outline:2px solid #660c0c;outline-offset:-2px}
#ecw-norton-residences .np-indicator{position:absolute;bottom:0;height:4px;background:#660c0c;border-radius:3px 3px 0 0;pointer-events:none;transition:left .25s ease,width .25s ease,opacity .2s ease}
#ecw-norton-residences .np-panel{display:grid;grid-template-columns:1.05fr 1fr;gap:44px;align-items:center;padding-top:34px;min-height:560px;animation:ecwnp-fade .3s ease}
#ecw-norton-residences .np-panel[hidden]{display:none!important}
#ecw-norton-residences .np-plans{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;min-width:0}
#ecw-norton-residences .np-plans.np-two{grid-template-columns:repeat(2,minmax(0,1fr))}
#ecw-norton-residences figure{margin:0;text-align:center}
#ecw-norton-residences .np-plans img{display:block;width:100%;height:490px;max-height:none;object-fit:contain}
#ecw-norton-residences .np-plans.np-two img{height:420px}
#ecw-norton-residences figcaption{font-size:16px;margin-top:8px}
#ecw-norton-residences .np-info{min-width:0}
#ecw-norton-residences .np-info p{font-size:16px;line-height:24px;margin:0 0 18px;color:#3a3a3a;text-align:left}
#ecw-norton-residences .np-info .np-tag{font-weight:600}
#ecw-norton-residences dl{margin:0}
#ecw-norton-residences .np-spec{display:grid;grid-template-columns:42% minmax(0,1fr);gap:8px;border-top:1px solid #ddd;padding:13px 0;font-size:16px;line-height:24px}
#ecw-norton-residences .np-spec:last-child{border-bottom:1px solid #ddd}
#ecw-norton-residences dt,#ecw-norton-residences dd{margin:0;font-weight:400}
#ecw-norton-residences .np-note:empty{display:none}
#ecw-norton-residences .np-note{margin-top:16px!important}
#ecw-norton-residences .np-floor-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:24px 0 32px}
#ecw-norton-residences .np-floor-gallery img{display:block;width:100%;height:auto;object-fit:contain}
#ecw-norton-residences .np-lightbox{position:fixed;inset:0;width:95vw;max-width:1300px;height:auto;max-height:95vh;padding:20px;margin:auto;border:0;background:#fff;z-index:999999}
#ecw-norton-residences .np-lightbox:not([open]){display:none}
#ecw-norton-residences .np-lightbox::backdrop{background:#000c}
#ecw-norton-residences .np-lightbox>img{display:block;max-width:100%;width:auto;height:auto;max-height:80vh;object-fit:contain;margin:auto}
#ecw-norton-residences .np-close{display:block;margin:0 0 12px auto;background:#660c0c;color:#fff;border:0;padding:8px 16px;cursor:pointer;font:inherit}
@keyframes ecwnp-fade{from{opacity:.2;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1300px){#ecw-norton-residences .np-group>.np-heading{min-height:1.5em}}
@media(max-width:1199px){#ecw-norton-residences .np-floor-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:991px){#ecw-norton-residences .np-floor-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#ecw-norton-residences .np-groups{display:block}#ecw-norton-residences .np-group:first-child{border:0;padding:0;margin-bottom:20px}#ecw-norton-residences .np-group>.np-heading{min-height:0}#ecw-norton-residences .np-panel{grid-template-columns:1fr;gap:24px;min-height:0}#ecw-norton-residences .np-plans img{height:360px}#ecw-norton-residences .np-plans.np-two img{height:260px}}
@media(prefers-reduced-motion:reduce){#ecw-norton-residences .np-panel{animation:none}#ecw-norton-residences .np-indicator{transition:none}}

/* Keep the original ECW gallery intact, hidden only while this replacement is present. */
.sec-project2:has(#ecw-norton-residences) > .tile{display:none!important}

#ecw-norton-residences .np-floor-panel{padding:24px 0}
#ecw-norton-residences .np-floor-panel[hidden]{display:none!important}
#ecw-norton-residences .np-floor-panel img{display:block;width:100%;height:auto;object-fit:contain}
#ecw-norton-residences .np-floor-tabs{overscroll-behavior-x:contain}

#ecw-norton-residences .np-panel{display:block;min-height:0}
#ecw-norton-residences .np-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:44px;align-items:center;min-height:560px}
#ecw-norton-residences .np-layout[hidden]{display:none!important}
#ecw-norton-residences .np-layout-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin:0 0 20px}
#ecw-norton-residences .np-layout-controls button{min-width:44px;min-height:44px;border:1px solid #660c0c;color:#660c0c;background:white;border-radius:50%;font:inherit;font-size:24px;cursor:pointer}
@media(max-width:650px){#ecw-norton-residences .np-layout{grid-template-columns:1fr;gap:24px;min-height:0}}
/* Norton Park layout navigation: centred on its own column divider. */
#ecw-norton-residences .np-panel:has(.np-layout-controls){position:relative}
#ecw-norton-residences .np-panel:has(.np-layout-controls) .np-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:100px}
#ecw-norton-residences .np-panel:has(.np-layout-controls)::before{content:"";position:absolute;left:50%;top:34px;bottom:0;width:1px;background:#ddd}
#ecw-norton-residences .np-layout-controls{position:absolute;left:50%;top:calc(50% + 17px);transform:translate(-50%,-50%);z-index:2;flex-direction:column;gap:12px;margin:0;padding:16px 8px;background:#fff}
#ecw-norton-residences .np-layout-controls button{width:48px;height:48px;min-width:48px;min-height:48px;padding:0;border:0;border-radius:50%;background:#fff;box-shadow:-1px 3px 10px rgba(0,0,0,.3);color:transparent;font-size:0;transition:all .3s ease-in-out;position:relative}
#ecw-norton-residences .np-layout-controls button::before{content:"";display:block;width:100%;height:100%;background-position:center;background-size:50% auto;background-repeat:no-repeat}
#ecw-norton-residences .np-layout-prev::before{background-image:url('https://ecw.com.vn/wp-content/themes/lw-customize/frontend/images/icon/arr-prev.png')}
#ecw-norton-residences .np-layout-next::before{background-image:url('https://ecw.com.vn/wp-content/themes/lw-customize/frontend/images/icon/arr-next.png')}
#ecw-norton-residences .np-layout-controls button:hover{opacity:.7;background:var(--primary,#660c0c)}
#ecw-norton-residences .np-layout-controls button:hover::before{filter:brightness(0) saturate(100%) invert(87%) sepia(99%) saturate(121%) hue-rotate(287deg) brightness(114%) contrast(100%)}
#ecw-norton-residences .np-layout-controls button:focus-visible{outline:2px solid #660c0c;outline-offset:4px}
#ecw-norton-residences .np-layout-count{white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:650px){#ecw-norton-residences .np-panel:has(.np-layout-controls)::before{display:none}#ecw-norton-residences .np-panel:has(.np-layout-controls) .np-layout{grid-template-columns:minmax(0,1fr);gap:24px}#ecw-norton-residences .np-layout-controls{position:relative;top:auto;left:auto;transform:none;flex-direction:row;padding:0;margin-bottom:24px}}
@media(prefers-reduced-motion:reduce){#ecw-norton-residences .np-layout-controls button{transition:none}}

#ecw-norton-residences .np-panel:has(.np-layout-controls)::before{display:none}

/* Norton Park: floor image frame matches the existing project video. */
#ecw-norton-residences .np-floor-panel{width:75%;margin-left:auto;margin-right:auto}
#ecw-norton-residences .np-floor-panel figure{margin:0}
#ecw-norton-residences .np-floor-panel .np-zoom{display:block;width:100%;aspect-ratio:5/3}
#ecw-norton-residences .np-floor-panel .np-zoom img{display:block;width:100%;height:100%;max-height:none;object-fit:contain}
@media(max-width:576px){#ecw-norton-residences .np-floor-panel{width:100%}}

#ecw-norton-residences .np-apartment-heading{font-family:inherit;font-weight:700;color:#660c0c;line-height:1.4;margin:0 0 16px}
#ecw-norton-residences .np-group>.np-heading{font-size:16px;font-weight:700;color:#000;line-height:24px;min-height:0;margin:0}
#ecw-norton-residences .np-groups .np-tab{padding-top:8px}

/* Keep navigation visible without hover on Norton Park only. */
#ecw-norton-residences .np-tabs{scrollbar-color:#660c0c #eee;scrollbar-width:thin}#ecw-norton-residences .np-tabs::-webkit-scrollbar{height:6px}#ecw-norton-residences .np-tabs::-webkit-scrollbar-thumb{background:#660c0c;border-radius:3px}#ecw-norton-residences .np-tabs::-webkit-scrollbar-track{background:#eee}#ecw-norton-residences .np-layout-controls{opacity:1;visibility:visible}
