* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.nx-body {
    margin: 0;
    font-family: Figtree, sans-serif;
    color: #142326;
    background:
        radial-gradient(1200px 500px at 10% -10%, rgba(11, 79, 84, 0.08), transparent 60%),
        linear-gradient(180deg, #f3f7f6 0%, #eef4f3 40%, #f7faf9 100%);
    line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.nx-container { max-width: 1160px; margin: 0 auto; padding: 0 22px; }

.nx-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 36, 39, 0.92);
    backdrop-filter: blur(10px);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nx-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 16px;
}
.nx-brand { display: inline-flex; align-items: center; font-family: Outfit, sans-serif; font-weight: 700; font-size: 1.25rem; }
.nx-brand img { max-height: 40px; }
.nx-brand-mark {
    letter-spacing: 0.04em;
    background: linear-gradient(90deg, #c6e35a, #7dcec4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.nx-nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nx-nav a {
    color: rgba(255,255,255,0.86);
    font-size: 0.92rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 999px;
}
.nx-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }
.nx-nav-cta {
    background: var(--theme-accent, #a8c93a) !important;
    color: #102018 !important;
    font-weight: 700 !important;
    margin-left: 8px;
}
.nx-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 10px;
    flex-direction: column;
    justify-content: space-between;
}
.nx-nav-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

.nx-flash { padding: 12px 0; font-weight: 600; }
.nx-flash-success { background: #dcfce7; color: #166534; }
.nx-flash-error { background: #fee2e2; color: #991b1b; }

.nx-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(8, 36, 39, 0.95), rgba(11, 79, 84, 0.88)),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(160deg, #082427 0%, #0b4f54 55%, #14686f 100%);
    padding: 72px 0 88px;
}
.nx-hero-glow {
    position: absolute;
    inset: auto -10% -40% auto;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(168, 201, 58, 0.28), transparent 65%);
    pointer-events: none;
}
.nx-hero-inner { position: relative; max-width: 820px; }
.nx-eyebrow, .nx-kicker {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #c6e35a;
    margin: 0 0 12px;
}
.nx-hero h1 {
    font-family: Outfit, sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 0 0 14px;
}
.nx-hero-lead {
    font-size: 1.08rem;
    opacity: 0.9;
    max-width: 620px;
    margin: 0 0 28px;
}
.nx-search {
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 0.7fr auto;
    gap: 10px;
    background: rgba(255,255,255,0.96);
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 24px 50px rgba(0,0,0,0.22);
}
.nx-search-input, .nx-input {
    width: 100%;
    border: 1px solid #d5e0de;
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
    color: #142326;
}
.nx-search-sm { min-width: 0; }
.nx-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
    max-width: 520px;
}
.nx-hero-stats strong {
    display: block;
    font-family: Outfit, sans-serif;
    font-size: 1.5rem;
}
.nx-hero-stats span { font-size: 0.85rem; opacity: 0.8; }

.nx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    background: var(--theme-primary, #0b4f54);
    color: var(--theme-text-on-primary, #fff);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nx-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(11, 79, 84, 0.25); }
.nx-btn-sm { padding: 8px 14px; font-size: 0.86rem; }
.nx-btn-block { width: 100%; }
.nx-btn-outline {
    background: transparent;
    color: var(--theme-primary, #0b4f54);
    border: 1.5px solid var(--theme-primary, #0b4f54);
}
.nx-btn-ghost {
    background: rgba(11, 79, 84, 0.08);
    color: var(--theme-primary, #0b4f54);
}
.nx-btn-light { background: #fff; color: #0b4f54; }
.nx-btn-whatsapp { background: var(--theme-whatsapp, #25d366); color: #053b1d; }

.nx-section { padding: 64px 0; }
.nx-section-muted { background: rgba(255,255,255,0.55); }
.nx-section-head { max-width: 640px; margin-bottom: 28px; }
.nx-section-head h2,
.nx-page-hero h1,
.nx-product-info h1,
.nx-enquiry h2 {
    font-family: Outfit, sans-serif;
    margin: 0 0 10px;
    line-height: 1.15;
}
.nx-section-head p { margin: 0; color: #4b5f62; }

.nx-page-hero {
    padding: 48px 0 20px;
    background: linear-gradient(180deg, rgba(11, 79, 84, 0.1), transparent);
}
.nx-page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.nx-page-hero p { color: #4b5f62; margin: 0; }

.nx-site-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}
.nx-site-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    gap: 10px 14px;
    align-items: center;
    padding: 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(11, 79, 84, 0.1);
    box-shadow: 0 10px 30px rgba(20, 35, 38, 0.05);
}
.nx-site-card-self { grid-template-columns: auto 1fr auto; }
.nx-site-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-family: Outfit, sans-serif;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(145deg, #0b4f54, #1d7c84);
}
.nx-site-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 12px;
    background: #f3f7f6;
}
.nx-site-meta h3 { margin: 0; font-size: 1.05rem; font-family: Outfit, sans-serif; }
.nx-site-meta p { margin: 2px 0; color: #4b5f62; font-size: 0.9rem; }
.nx-site-host { font-size: 0.78rem; color: #6b8083; word-break: break-all; }
.nx-site-actions {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.nx-listing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.nx-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(11, 79, 84, 0.08);
    box-shadow: 0 12px 28px rgba(20, 35, 38, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.18s ease;
}
.nx-card:hover { transform: translateY(-3px); }
.nx-card-media {
    position: relative;
    display: block;
    min-height: 180px;
    background: #d7e4e2 center/cover no-repeat;
}
.nx-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--theme-primary, #0b4f54);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: 999px;
}
.nx-site-chip {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(255,255,255,0.94);
    color: #0b4f54;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 9px;
    border-radius: 999px;
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nx-site-chip-static {
    position: static;
    display: inline-flex;
    max-width: none;
}
.nx-card-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.nx-card-price { font-family: Outfit, sans-serif; font-size: 1.2rem; font-weight: 700; }
.nx-card-body h3 { margin: 0; font-size: 1rem; line-height: 1.35; }
.nx-card-location { margin: 0; color: #4b5f62; font-size: 0.9rem; }
.nx-card-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.nx-card-facts span {
    background: #eef5f4;
    color: #335055;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 0.78rem;
    font-weight: 600;
}
.nx-card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 6px; }
.nx-center { text-align: center; margin-top: 28px; }
.nx-empty { color: #4b5f62; padding: 24px; background: #fff; border-radius: 14px; }

.nx-cta {
    background: linear-gradient(120deg, #0b4f54, #14686f);
    color: #fff;
    padding: 48px 0;
}
.nx-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.nx-cta h2 { font-family: Outfit, sans-serif; margin: 0 0 8px; }
.nx-cta p { margin: 0; opacity: 0.9; }

.nx-listing-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: start;
}
.nx-filters {
    background: #fff;
    border-radius: 16px;
    padding: 18px;
    border: 1px solid rgba(11, 79, 84, 0.1);
    position: sticky;
    top: 90px;
}
.nx-filters h4 {
    margin: 14px 0 8px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #5b7276;
}
.nx-filters h4:first-child { margin-top: 0; }
.nx-filters .nx-input { margin-bottom: 8px; }
.nx-filter-list { list-style: none; margin: 0 0 8px; padding: 0; }
.nx-filter-list li a {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    color: #335055;
    font-size: 0.92rem;
}
.nx-filter-list li.is-active a,
.nx-filter-list li a:hover {
    background: #e8f3f2;
    color: #0b4f54;
    font-weight: 600;
}

.nx-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 28px;
}
.nx-page-link {
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #d5e0de;
}
.nx-page-link.is-disabled { opacity: 0.45; pointer-events: none; }
.nx-page-current { color: #4b5f62; font-size: 0.9rem; }

.nx-product-page { padding-top: 28px; }
.nx-breadcrumb { color: #5b7276; font-size: 0.9rem; margin-bottom: 18px; }
.nx-breadcrumb a { text-decoration: underline; text-underline-offset: 2px; }
.nx-product-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
}
.nx-gallery-main {
    display: block;
    width: 100%;
    min-height: 360px;
    border: 0;
    border-radius: 18px;
    background: #d7e4e2 center/cover no-repeat;
    cursor: zoom-in;
    padding: 0;
}
.nx-gallery-placeholder {
    display: grid;
    place-items: center;
    color: #5b7276;
    font-weight: 600;
    cursor: default;
}
.nx-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 10px;
}
.nx-gallery-thumb {
    min-height: 72px;
    border-radius: 10px;
    border: 2px solid transparent;
    background: #d7e4e2 center/cover no-repeat;
    cursor: pointer;
    padding: 0;
    transition: border-color 0.15s ease, transform 0.15s ease;
}
.nx-gallery-thumb:hover { transform: translateY(-1px); }
.nx-gallery-thumb.is-active {
    border-color: var(--theme-primary, #0b4f54);
    box-shadow: 0 0 0 1px var(--theme-primary, #0b4f54);
}
.nx-lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(8, 36, 39, 0.92);
    padding: 48px 64px;
}
.nx-lightbox[hidden] { display: none !important; }
.nx-lightbox img {
    max-width: min(1100px, 100%);
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.nx-lightbox-close,
.nx-lightbox-nav {
    position: absolute;
    border: 0;
    background: rgba(255,255,255,0.12);
    color: #fff;
    cursor: pointer;
    border-radius: 999px;
}
.nx-lightbox-close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
    line-height: 1;
}
.nx-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    font-size: 1.3rem;
}
.nx-lightbox-prev { left: 18px; }
.nx-lightbox-next { right: 18px; }
.nx-lightbox-close:hover,
.nx-lightbox-nav:hover { background: rgba(255,255,255,0.22); }
body.nx-lightbox-open { overflow: hidden; }
.nx-product-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.nx-product-tags .nx-badge { position: static; }
.nx-product-price {
    font-family: Outfit, sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 12px 0 18px;
}
.nx-price-strike {
    margin-left: 8px;
    font-size: 1rem;
    color: #7a8f92;
    text-decoration: line-through;
    font-weight: 500;
}
.nx-key-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}
.nx-key-facts div {
    background: #eef5f4;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}
.nx-key-facts strong { display: block; font-family: Outfit, sans-serif; font-size: 1.05rem; }
.nx-key-facts span { font-size: 0.75rem; color: #5b7276; }
.nx-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.nx-product-desc { color: #335055; margin: 0 0 12px; }

.nx-enquiry {
    margin-top: 24px;
    padding: 20px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(11, 79, 84, 0.12);
}
.nx-enquiry p { color: #4b5f62; font-size: 0.92rem; }
.nx-enquiry code {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.78rem;
    word-break: break-all;
    background: #eef5f4;
    padding: 2px 6px;
    border-radius: 6px;
}
.nx-enquiry-form { display: grid; gap: 10px; }
.nx-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.nx-textarea { resize: vertical; min-height: 110px; }
.nx-captcha {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}
.nx-captcha img { height: 48px; border-radius: 8px; background: #fff; }
.nx-contact-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 22px;
    align-items: start;
}
.nx-contact-aside {
    background: #0b4f54;
    color: #fff;
    border-radius: 16px;
    padding: 22px;
}
.nx-contact-aside h3 { font-family: Outfit, sans-serif; margin: 0 0 8px; }
.nx-contact-aside p { opacity: 0.9; }
.nx-aside-line { margin: 14px 0 0; }
.nx-aside-line a { text-decoration: underline; text-underline-offset: 2px; }
.nx-aside-address { line-height: 1.5; }

.nx-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(8, 36, 39, 0.12);
    line-height: 0;
    background: #e6edee;
}
.nx-map iframe { display: block; width: 100%; }
.nx-map-directions { margin-top: 18px; display: inline-flex; }

.nx-footer {
    background: #082427;
    color: rgba(255,255,255,0.86);
    padding: 48px 0 24px;
    margin-top: 20px;
}
.nx-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 24px;
}
.nx-footer-brand { font-family: Outfit, sans-serif; font-size: 1.15rem; display: block; margin-bottom: 8px; color: #fff; }
.nx-footer h4 { margin: 0 0 10px; color: #c6e35a; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
.nx-footer a, .nx-footer p { display: block; margin: 0 0 8px; color: inherit; opacity: 0.88; }
.nx-footer a:hover { opacity: 1; color: #fff; }
.nx-copyright {
    text-align: center;
    margin: 28px 0 0;
    font-size: 0.82rem;
    opacity: 0.55;
}

.nx-whatsapp-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--theme-whatsapp, #25d366);
    color: #fff;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.4);
    z-index: 60;
    transition: transform 0.15s ease;
}
.nx-whatsapp-fab:hover { transform: scale(1.06); }

@media (max-width: 960px) {
    .nx-search { grid-template-columns: 1fr 1fr; }
    .nx-search button { grid-column: 1 / -1; }
    .nx-listing-layout,
    .nx-product-layout,
    .nx-contact-layout,
    .nx-footer-grid { grid-template-columns: 1fr; }
    .nx-filters { position: static; }
    .nx-key-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .nx-form-grid { grid-template-columns: 1fr; }
    .nx-nav-toggle { display: flex; }
    .nx-nav {
        display: none;
        position: absolute;
        left: 22px;
        right: 22px;
        top: 72px;
        background: #082427;
        border-radius: 14px;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        box-shadow: 0 18px 40px rgba(0,0,0,0.35);
    }
    .nx-nav.is-open { display: flex; }
    .nx-nav-cta { margin-left: 0; text-align: center; }
    .nx-header { position: relative; }
    .nx-header-inner { position: relative; }
}

@media (max-width: 640px) {
    .nx-hero { padding: 48px 0 64px; }
    .nx-hero-stats { grid-template-columns: 1fr; }
    .nx-search { grid-template-columns: 1fr; }
}
