/* Nilax Overseas — Public site styles */

:root {
    --nilax-navy: #0b1f3a;
    --nilax-navy-light: #132d52;
    --nilax-accent: #c9a227;
    --nilax-accent-hover: #dbb42e;
    --nilax-muted: #64748b;
    --nilax-bg: #f8fafc;
    --nilax-border: #e2e8f0;
    --nilax-radius: 14px;
    --nilax-shadow: 0 4px 24px rgba(11, 31, 58, 0.08);
    --nilax-header-h: 76px;
}

body {
    font-family: "DM Sans", system-ui, sans-serif;
    color: #1e293b;
    background: var(--nilax-bg);
}

/* ── Top bar ── */
.site-topbar {
    background: var(--nilax-navy);
    color: #94a3b8;
    font-size: 0.8125rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.site-topbar a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.15s;
}

.site-topbar a:hover { color: var(--nilax-accent); }

.site-topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

/* ── Header ── */
.site-header {
    background: #fff;
    border-bottom: 1px solid var(--nilax-border);
    position: sticky;
    top: 0;
    z-index: 1030;
    transition: box-shadow 0.2s;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(11,31,58,0.08);
}

.site-header-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: var(--nilax-header-h);
}

.site-logo img {
    height: 52px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

.site-nav-link {
    color: #334155;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    transition: color 0.15s, background 0.15s;
}

.site-nav-link:hover,
.site-nav-link.active {
    color: var(--nilax-navy);
    background: rgba(11,31,58,0.05);
}

.site-nav-link.active {
    font-weight: 600;
}

.site-header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: 0.5rem;
}

.site-search-wrap {
    position: relative;
}

.site-search-wrap input {
    width: 200px;
    border: 1px solid var(--nilax-border);
    border-radius: 999px;
    padding: 0.45rem 1rem 0.45rem 2.25rem;
    font-size: 0.8125rem;
    background: var(--nilax-bg);
    transition: width 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.site-search-wrap input:focus {
    width: 240px;
    outline: none;
    border-color: var(--nilax-navy);
    box-shadow: 0 0 0 3px rgba(11,31,58,0.08);
    background: #fff;
}

.site-search-wrap i {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--nilax-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.site-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 2000;
    display: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--nilax-shadow);
}

.btn-nilax {
    background: var(--nilax-accent);
    color: var(--nilax-navy);
    border: none;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: background 0.15s, transform 0.15s;
    white-space: nowrap;
}

.btn-nilax:hover {
    background: var(--nilax-accent-hover);
    color: var(--nilax-navy);
    transform: translateY(-1px);
}

.btn-nilax-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
    font-weight: 600;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}

.btn-nilax-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
    color: #fff;
}

.btn-nilax-dark {
    background: var(--nilax-navy);
    color: #fff;
    border: none;
    font-weight: 600;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: background 0.15s;
}

.btn-nilax-dark:hover {
    background: var(--nilax-navy-light);
    color: #fff;
}

.site-nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--nilax-border);
    border-radius: 8px;
    padding: 0.4rem 0.55rem;
    color: var(--nilax-navy);
    font-size: 1.35rem;
    margin-left: auto;
}

/* ── Hero ── */
.hero-modern .carousel-item { transition: transform 0.8s ease-in-out; }

.hero-slide {
    min-height: 580px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(6,15,28,0.88) 0%, rgba(11,31,58,0.65) 45%, rgba(11,31,58,0.25) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(201,162,39,0.15);
    border: 1px solid rgba(201,162,39,0.35);
    color: var(--nilax-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.75);
    max-width: 540px;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.hero-stat strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--nilax-accent);
    line-height: 1;
}

.hero-stat span {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-modern .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
}

.hero-modern .carousel-indicators .active {
    background: var(--nilax-accent);
}

.hero-modern .carousel-control-prev,
.hero-modern .carousel-control-next {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    opacity: 1;
    backdrop-filter: blur(4px);
}

/* ── Sections ── */
.site-section {
    padding: 5rem 0;
}

.site-section-alt {
    background: #fff;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nilax-accent);
    margin-bottom: 0.65rem;
}

.section-heading {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--nilax-navy);
    letter-spacing: -0.025em;
    margin-bottom: 0.5rem;
}

.section-lead {
    color: var(--nilax-muted);
    font-size: 1.05rem;
    max-width: 560px;
}

/* Trust strip */
.trust-strip {
    background: #fff;
    border-bottom: 1px solid var(--nilax-border);
    padding: 1.25rem 0;
}

.trust-strip-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--nilax-navy);
}

.trust-item i {
    color: var(--nilax-accent);
    font-size: 1.25rem;
}

/* Cards */
.nilax-card {
    background: #fff;
    border: 1px solid var(--nilax-border);
    border-radius: var(--nilax-radius);
    overflow: hidden;
    height: 100%;
    transition: transform 0.25s, box-shadow 0.25s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.nilax-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--nilax-shadow);
}

.nilax-card-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.nilax-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nilax-card:hover .nilax-card-img img {
    transform: scale(1.06);
}

.nilax-card-body {
    padding: 1.25rem;
}

.nilax-card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--nilax-accent);
}

.nilax-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--nilax-navy);
    margin: 0.35rem 0 0.5rem;
}

.nilax-card-text {
    font-size: 0.875rem;
    color: var(--nilax-muted);
    margin: 0;
    line-height: 1.5;
}

.nilax-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Category card overlay */
.cat-card {
    position: relative;
}

.cat-card .nilax-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(11,31,58,0.85) 100%);
}

.cat-card .nilax-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    color: #fff;
}

.cat-card .nilax-card-title { color: #fff; }
.cat-card .nilax-card-text { color: rgba(255,255,255,0.75); }

/* Feature cards */
.feature-card {
    background: #fff;
    border: 1px solid var(--nilax-border);
    border-radius: var(--nilax-radius);
    padding: 1.75rem;
    height: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    border-color: rgba(201,162,39,0.4);
    box-shadow: var(--nilax-shadow);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(11,31,58,0.06);
    color: var(--nilax-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.feature-card h5 {
    font-weight: 700;
    color: var(--nilax-navy);
    margin-bottom: 0.5rem;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
}

.stat-box {
    background: linear-gradient(135deg, var(--nilax-navy) 0%, var(--nilax-navy-light) 100%);
    border-radius: var(--nilax-radius);
    padding: 1.75rem;
    text-align: center;
    color: #fff;
}

.stat-box .value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--nilax-accent);
    line-height: 1;
}

.stat-box .label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    margin-top: 0.35rem;
}

/* CTA banner */
.cta-banner {
    background: linear-gradient(120deg, var(--nilax-navy) 0%, #0a3020 100%);
    border-radius: 20px;
    padding: 3.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(201,162,39,0.1);
}

.cta-banner h2 {
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
    position: relative;
}

.cta-banner p {
    color: rgba(255,255,255,0.7);
    max-width: 520px;
    margin: 0 auto 1.5rem;
    position: relative;
}

/* Country pills */
.country-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.country-pill {
    background: #fff;
    border: 1px solid var(--nilax-border);
    color: var(--nilax-navy);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 999px;
}

/* Intro split */
.intro-image {
    border-radius: var(--nilax-radius);
    overflow: hidden;
    box-shadow: var(--nilax-shadow);
    aspect-ratio: 4/3;
}

.intro-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.enquiry-box {
    background: #fff;
    border: 1px solid var(--nilax-border);
    border-radius: var(--nilax-radius);
    padding: 1.75rem;
    box-shadow: var(--nilax-shadow);
}

.enquiry-box h5 {
    font-weight: 700;
    color: var(--nilax-navy);
    margin-bottom: 1rem;
}

/* Footer */
.site-footer {
    background: var(--nilax-navy);
    color: #94a3b8;
    padding-top: 4rem;
}

.site-footer-brand img {
    height: 48px;
    margin-bottom: 1rem;
}

.site-footer h6 {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.site-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer-links li { margin-bottom: 0.55rem; }

.site-footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s;
}

.site-footer-links a:hover { color: var(--nilax-accent); }

.site-footer-contact p {
    font-size: 0.875rem;
    margin-bottom: 0.45rem;
    line-height: 1.5;
}

.site-footer-contact a {
    color: #cbd5e1;
    text-decoration: none;
}

.site-footer-contact a:hover { color: var(--nilax-accent); }

.site-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 3rem;
    padding: 1.25rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8125rem;
}

.site-footer-bottom a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 600;
}

.site-footer-bottom a:hover { color: var(--nilax-accent); }

.floating-wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1080;
}

.floating-wa a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 8px 28px rgba(37,211,102,0.45);
    transition: transform 0.2s;
}

.floating-wa a:hover { transform: scale(1.08); }

#google_translate_element .goog-te-gadget { font-family: inherit !important; font-size: 0.8125rem !important; }
.skiptranslate iframe { visibility: hidden !important; height: 0 !important; }

/* ── Inner page hero ── */
.page-hero {
    background: linear-gradient(135deg, var(--nilax-navy) 0%, var(--nilax-navy-light) 100%);
    color: #fff;
    padding: 2.5rem 0 3rem;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -10%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(201,162,39,0.08);
    pointer-events: none;
}

.page-hero-image {
    background-size: cover;
    background-position: center;
}

.page-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(6,15,28,0.92) 0%, rgba(11,31,58,0.78) 100%);
}

.page-hero-compact {
    padding: 2rem 0 2.5rem;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.8125rem;
    margin-bottom: 1.25rem;
}

.page-breadcrumb a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.15s;
}

.page-breadcrumb a:hover { color: var(--nilax-accent); }

.page-breadcrumb span {
    color: rgba(255,255,255,0.95);
    font-weight: 600;
}

.page-breadcrumb i {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.35);
}

.page-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-bottom: 0.65rem;
    color: #fff;
}

.page-hero-lead {
    color: rgba(255,255,255,0.72);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0;
    line-height: 1.6;
}

.page-hero .section-eyebrow {
    color: var(--nilax-accent);
}

/* Card placeholder */
.nilax-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
    color: var(--nilax-muted);
    font-size: 2.5rem;
}

/* Products sidebar */
.products-sidebar {
    position: sticky;
    top: calc(var(--nilax-header-h) + 1.5rem);
}

.products-sidebar-block {
    background: #fff;
    border: 1px solid var(--nilax-border);
    border-radius: var(--nilax-radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
}

.products-sidebar-block h6 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--nilax-navy);
    margin-bottom: 0.85rem;
}

.products-search-form .input-group {
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid var(--nilax-border);
}

.products-search-form .form-control {
    border: none;
    box-shadow: none;
    font-size: 0.875rem;
    padding: 0.55rem 1rem;
}

.products-search-form .btn-nilax {
    border-radius: 0;
    padding: 0.55rem 1rem;
}

.products-cat-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.products-cat-nav li + li { margin-top: 0.25rem; }

.products-cat-nav a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: background 0.15s, color 0.15s;
}

.products-cat-nav a i {
    font-size: 0.75rem;
    color: var(--nilax-muted);
}

.products-cat-nav a:hover,
.products-cat-nav a.active {
    background: rgba(11,31,58,0.06);
    color: var(--nilax-navy);
    font-weight: 600;
}

.products-cat-nav a.active i { color: var(--nilax-accent); }

.products-sidebar-cta {
    background: linear-gradient(135deg, var(--nilax-navy) 0%, var(--nilax-navy-light) 100%);
    border-radius: var(--nilax-radius);
    padding: 1.25rem;
    color: #fff;
    text-align: center;
}

.products-sidebar-cta i {
    font-size: 1.75rem;
    color: var(--nilax-accent);
    margin-bottom: 0.5rem;
}

.products-sidebar-cta p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 1rem;
}

.products-toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--nilax-border);
}

.products-toolbar-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--nilax-navy);
    margin-bottom: 0.25rem;
}

.products-toolbar-meta {
    font-size: 0.875rem;
    color: var(--nilax-muted);
}

.category-description {
    background: #fff;
    border: 1px solid var(--nilax-border);
    border-radius: var(--nilax-radius);
    padding: 1.75rem;
}

/* Product detail */
.product-gallery-main-wrap {
    background: #fff;
    border: 1px solid var(--nilax-border);
    border-radius: var(--nilax-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-main {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.product-gallery-thumbs {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.85rem;
    flex-wrap: wrap;
}

.product-gallery-thumb {
    width: 76px;
    height: 76px;
    border: 2px solid var(--nilax-border);
    border-radius: 10px;
    background: #fff;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-gallery-thumb.active,
.product-gallery-thumb:hover {
    opacity: 1;
    border-color: var(--nilax-accent);
    box-shadow: 0 0 0 3px rgba(201,162,39,0.2);
}

.product-gallery-placeholder {
    aspect-ratio: 4/3;
    background: #fff;
    border: 1px solid var(--nilax-border);
    border-radius: var(--nilax-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--nilax-muted);
}

.product-detail-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: var(--nilax-navy);
    letter-spacing: -0.02em;
    margin: 0.5rem 0 0.75rem;
}

.product-detail-lead {
    font-size: 1.05rem;
    color: var(--nilax-muted);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
}

.btn-nilax-outline-dark {
    background: transparent;
    color: var(--nilax-navy);
    border: 2px solid var(--nilax-border);
    font-weight: 600;
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: border-color 0.15s, background 0.15s;
}

.btn-nilax-outline-dark:hover {
    border-color: var(--nilax-navy);
    background: rgba(11,31,58,0.04);
    color: var(--nilax-navy);
}

.product-specs-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--nilax-navy);
    margin-bottom: 0.85rem;
}

.spec-table {
    background: #fff;
    border: 1px solid var(--nilax-border);
    border-radius: var(--nilax-radius);
    overflow: hidden;
}

.spec-row {
    display: grid;
    grid-template-columns: minmax(140px, 38%) 1fr;
    border-bottom: 1px solid var(--nilax-border);
}

.spec-row:last-child { border-bottom: none; }

.spec-label {
    padding: 0.75rem 1rem;
    background: var(--nilax-bg);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--nilax-navy);
}

.spec-value {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #334155;
}

.product-description-body {
    color: #475569;
    line-height: 1.7;
}

.product-inquiry-perks {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
}

.product-inquiry-perks li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9375rem;
    color: #475569;
    margin-bottom: 0.65rem;
}

.product-inquiry-perks i {
    color: var(--nilax-accent);
    margin-top: 0.15rem;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 3.5rem 1.5rem;
    background: #fff;
    border: 1px dashed var(--nilax-border);
    border-radius: var(--nilax-radius);
}

.empty-state i {
    font-size: 2.5rem;
    color: var(--nilax-muted);
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-weight: 700;
    color: var(--nilax-navy);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--nilax-muted);
    margin-bottom: 1.25rem;
}

/* Pagination */
.nilax-pagination .pagination {
    justify-content: center;
    gap: 0.35rem;
    margin: 0;
}

.nilax-pagination .page-link {
    border-radius: 8px !important;
    border: 1px solid var(--nilax-border);
    color: var(--nilax-navy);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.45rem 0.85rem;
}

.nilax-pagination .page-item.active .page-link {
    background: var(--nilax-navy);
    border-color: var(--nilax-navy);
}

.nilax-pagination .page-link:hover {
    background: rgba(11,31,58,0.06);
    color: var(--nilax-navy);
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .site-nav-toggle { display: block; }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-bottom: 1px solid var(--nilax-border);
        box-shadow: var(--nilax-shadow);
    }

    .site-nav.open { display: flex; }

    .site-nav-link { padding: 0.75rem 1rem; }

    .site-header-actions {
        flex-direction: column;
        width: 100%;
        margin: 0.5rem 0 0;
    }

    .site-search-wrap input,
    .site-search-wrap input:focus { width: 100%; }

    .site-header-inner { flex-wrap: wrap; position: relative; }

    .hero-slide { min-height: 480px; }

    .products-sidebar {
        position: static;
    }

    .product-detail-actions .btn-nilax,
    .product-detail-actions .btn-nilax-dark,
    .product-detail-actions .btn-nilax-outline-dark {
        flex: 1 1 auto;
        justify-content: center;
    }

    .spec-row {
        grid-template-columns: 1fr;
    }

    .spec-label {
        border-bottom: 1px solid var(--nilax-border);
    }
}

@media (max-width: 575.98px) {
    .site-section { padding: 3.5rem 0; }
    .hero-stats { gap: 1rem; }
}

/* ══════════════════════════════════════════
   Home page — redesigned layout
   ══════════════════════════════════════════ */

.home-hero {
    background: var(--nilax-navy);
    position: relative;
    overflow: hidden;
}

.home-hero-row {
    min-height: 560px;
}

.home-hero-copy {
    display: flex;
    align-items: center;
    background: var(--nilax-navy);
    position: relative;
    z-index: 2;
}

.home-hero-copy-inner {
    padding: 3.5rem 3rem 3.5rem max(1.5rem, calc((100vw - 1320px) / 2 + 12px));
    max-width: 100%;
}

@media (max-width: 1399.98px) {
    .home-hero-copy-inner { padding: 3.5rem 2.5rem; }
}

.home-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--nilax-accent);
    margin-bottom: 1.25rem;
}

.home-hero-copy h1 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin-bottom: 1rem;
}

.home-hero-lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.68);
    line-height: 1.65;
    max-width: 440px;
    margin-bottom: 2rem;
}

.home-hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.btn-nilax-ghost {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.65rem 0;
    transition: color 0.15s;
}

.btn-nilax-ghost:hover { color: var(--nilax-accent); }

.home-hero-media {
    min-height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.home-hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--nilax-navy) 0%, transparent 18%);
    pointer-events: none;
}

.home-hero-dots {
    position: absolute;
    bottom: 1.75rem;
    left: max(1.5rem, calc((100vw - 1320px) / 2 + 12px));
    z-index: 5;
    display: flex;
    gap: 0.45rem;
}

@media (max-width: 1399.98px) {
    .home-hero-dots { left: 2.5rem; }
}

.home-hero-dots button {
    width: 32px;
    height: 4px;
    border: none;
    border-radius: 999px;
    background: rgba(255,255,255,0.25);
    padding: 0;
    transition: background 0.2s, width 0.2s;
}

.home-hero-dots button.active {
    background: var(--nilax-accent);
    width: 48px;
}

.home-hero-nav {
    position: absolute;
    bottom: 1.5rem;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: background 0.15s, border-color 0.15s;
}

.home-hero-nav:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}

.home-hero-prev { right: 5.5rem; }
.home-hero-next { right: 2rem; }

.home-hero .carousel-item { transition: transform 0.7s ease-in-out; }

/* Highlights bar */
.home-highlights {
    background: #fff;
    border-bottom: 1px solid var(--nilax-border);
    padding: 0;
    margin-top: -1px;
}

.home-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.home-highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.25rem;
    border-right: 1px solid var(--nilax-border);
}

.home-highlight:last-child { border-right: none; }

.home-highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(11,31,58,0.06);
    color: var(--nilax-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.home-highlight strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--nilax-navy);
    line-height: 1.2;
}

.home-highlight span {
    font-size: 0.78rem;
    color: var(--nilax-muted);
}

/* Home sections */
.home-section {
    padding: 5rem 0;
}

.home-section-dark {
    background: var(--nilax-navy);
}

.home-section-muted {
    background: #fff;
}

.home-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.home-link-arrow {
    color: var(--nilax-navy);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.15s;
}

.home-link-arrow:hover { color: var(--nilax-accent); }

/* Category bento grid */
.home-cat-bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 1rem;
}

.home-cat-tile {
    position: relative;
    border-radius: var(--nilax-radius);
    overflow: hidden;
    text-decoration: none;
    display: block;
}

.home-cat-tile-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.home-cat-tile img,
.home-cat-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.home-cat-placeholder {
    background: linear-gradient(135deg, #334155, #1e293b);
    min-height: 100%;
}

.home-cat-tile:hover img { transform: scale(1.06); }

.home-cat-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(6,15,28,0.92) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    color: #fff;
}

.home-cat-tile-featured .home-cat-overlay { padding: 1.75rem; }

.home-cat-overlay h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: #fff;
}

.home-cat-tile-featured .home-cat-overlay h3 { font-size: 1.35rem; }

.home-cat-overlay p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    margin: 0 0 0.5rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-cat-link {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--nilax-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Product tabs & track */
.home-product-tabs {
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border: none;
}

.home-product-tabs .nav-link {
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    color: rgba(255,255,255,0.65);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 1.35rem;
    background: transparent;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.home-product-tabs .nav-link:hover {
    color: #fff;
    border-color: rgba(255,255,255,0.35);
}

.home-product-tabs .nav-link.active {
    background: var(--nilax-accent);
    color: var(--nilax-navy);
    border-color: var(--nilax-accent);
}

.home-product-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.home-product-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--nilax-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.home-product-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(201,162,39,0.35);
    transform: translateY(-3px);
}

.home-product-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: rgba(0,0,0,0.2);
}

.home-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.home-product-card:hover .home-product-img img { transform: scale(1.05); }

.home-product-body {
    padding: 1rem 1.15rem 1.25rem;
}

.home-product-body h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin: 0.35rem 0 0.35rem;
    line-height: 1.35;
}

.home-product-body p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
    line-height: 1.45;
}

.home-product-body .nilax-card-tag { color: var(--nilax-accent); }

/* About + enquiry */
.home-about-img {
    border-radius: var(--nilax-radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: var(--nilax-shadow);
}

.home-about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-about-text {
    color: var(--nilax-muted);
    line-height: 1.7;
    font-size: 0.975rem;
}

.home-enquiry-card {
    background: #fff;
    border: 1px solid var(--nilax-border);
    border-radius: calc(var(--nilax-radius) + 4px);
    padding: 2rem;
    box-shadow: var(--nilax-shadow);
    position: sticky;
    top: calc(var(--nilax-header-h) + 1.5rem);
}

.home-enquiry-head {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.home-enquiry-head > i {
    font-size: 1.75rem;
    color: var(--nilax-accent);
    line-height: 1;
}

.home-enquiry-head h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--nilax-navy);
    margin: 0 0 0.25rem;
}

.home-enquiry-head p {
    font-size: 0.85rem;
    color: var(--nilax-muted);
    margin: 0;
}

.home-enquiry-card .form-control {
    border-radius: 10px;
    border-color: var(--nilax-border);
    font-size: 0.9rem;
    padding: 0.65rem 0.9rem;
}

.home-enquiry-card .form-control:focus {
    border-color: var(--nilax-navy);
    box-shadow: 0 0 0 3px rgba(11,31,58,0.08);
}

/* Why choose us */
.home-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.home-why-item {
    background: var(--nilax-bg);
    border: 1px solid var(--nilax-border);
    border-radius: var(--nilax-radius);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.home-why-item:hover {
    border-color: rgba(201,162,39,0.4);
    box-shadow: var(--nilax-shadow);
}

.home-why-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: rgba(11,31,58,0.12);
    line-height: 1;
    flex-shrink: 0;
}

.home-why-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--nilax-navy);
    margin: 0 0 0.35rem;
}

.home-why-item p {
    font-size: 0.82rem;
    color: var(--nilax-muted);
    margin: 0;
    line-height: 1.5;
}

/* Stats band */
.home-stats-band {
    background: linear-gradient(135deg, var(--nilax-navy) 0%, var(--nilax-navy-light) 100%);
    padding: 3rem 0;
}

.home-stats-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 4rem;
}

.home-stats-item {
    text-align: center;
}

.home-stats-value {
    display: block;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--nilax-accent);
    line-height: 1;
}

.home-stats-label {
    display: block;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.4rem;
}

/* Export panel */
.home-export-panel {
    background: #fff;
    border: 1px solid var(--nilax-border);
    border-radius: calc(var(--nilax-radius) + 6px);
    padding: 2.5rem;
    box-shadow: var(--nilax-shadow);
}

.home-country-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.home-country-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--nilax-bg);
    border: 1px solid var(--nilax-border);
    color: var(--nilax-navy);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    transition: border-color 0.15s, background 0.15s;
}

.home-country-chip i { color: var(--nilax-accent); font-size: 0.75rem; }

.home-country-chip:hover {
    border-color: rgba(201,162,39,0.45);
    background: rgba(201,162,39,0.06);
}

/* CTA */
.home-cta {
    background: linear-gradient(120deg, var(--nilax-navy) 0%, #0a3020 100%);
    border-radius: calc(var(--nilax-radius) + 6px);
    padding: 2.75rem 3rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.home-cta::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -10%;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(201,162,39,0.08);
    pointer-events: none;
}

.home-cta-content { position: relative; max-width: 560px; }

.home-cta h2 {
    color: #fff;
    font-weight: 800;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    margin-bottom: 0.5rem;
}

.home-cta p {
    color: rgba(255,255,255,0.68);
    margin: 0;
    font-size: 0.975rem;
}

.home-cta .btn-nilax { position: relative; flex-shrink: 0; }

/* Contact block */
.home-contact-block {
    border-radius: calc(var(--nilax-radius) + 6px);
    overflow: hidden;
    box-shadow: var(--nilax-shadow);
    margin-bottom: 5rem;
}

.home-contact-info {
    background: var(--nilax-navy);
    padding: 2.5rem;
}

.home-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
}

.home-contact-list li {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.home-contact-list i {
    color: var(--nilax-accent);
    font-size: 1.1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.home-contact-list a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.home-contact-list a:hover { color: var(--nilax-accent); }

.home-contact-map {
    min-height: 320px;
    background: #e2e8f0;
}

.home-contact-map iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    display: block;
}

/* Home responsive */
@media (max-width: 991.98px) {
    .home-hero-row { min-height: auto; }

    .home-hero-copy-inner { padding: 2.5rem 1.5rem; }

    .home-hero-media {
        min-height: 280px;
        order: -1;
    }

    .home-hero-media::before {
        background: linear-gradient(180deg, transparent 50%, var(--nilax-navy) 100%);
    }

    .home-hero-dots { left: 1.5rem; bottom: 1rem; }

    .home-hero-nav { display: none; }

    .home-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-highlight:nth-child(2) { border-right: none; }

    .home-highlight {
        border-bottom: 1px solid var(--nilax-border);
    }

    .home-highlight:nth-child(3),
    .home-highlight:nth-child(4) { border-bottom: none; }

    .home-cat-bento {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }

    .home-cat-tile-featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .home-product-track { grid-template-columns: repeat(2, 1fr); }

    .home-enquiry-card { position: static; }

    .home-cta { padding: 2rem 1.5rem; text-align: center; justify-content: center; }

    .home-cta-content { max-width: 100%; }
}

@media (max-width: 575.98px) {
    .home-section { padding: 3.5rem 0; }

    .home-highlights-grid { grid-template-columns: 1fr; }

    .home-highlight {
        border-right: none;
        border-bottom: 1px solid var(--nilax-border);
    }

    .home-highlight:last-child { border-bottom: none; }

    .home-cat-bento {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .home-cat-tile-featured { grid-column: span 1; }

    .home-product-track { grid-template-columns: 1fr; }

    .home-stats-row { gap: 1.5rem 2rem; }

    .home-export-panel { padding: 1.5rem; }

    .home-contact-info { padding: 1.75rem; }
}
