body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.top-header {
    background: #fff;
    padding: 35px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    max-width: 430px;
    height: auto;
}

.tagline {
    font-size: 18px;
    color: #777;
    font-weight: 600;
}

.main-nav {
    background: #1f5486;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    padding: 26px 0;
    display: inline-block;
}

.main-nav a:hover {
    box-shadow: inset 0 -4px 0 #fff;
}

.basket-link {
    background: rgba(255,255,255,.12);
    padding-left: 14px !important;
    padding-right: 14px !important;
}

.hero {
    background: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)),
        url('/assets/images/hero-power-station.jpg') center/cover no-repeat;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-text {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.35;
    font-weight: 500;
    text-shadow: 0 3px 12px rgba(0,0,0,0.45);
}

.home-panels {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding-top: 45px;
    padding-bottom: 45px;
}

.panel {
    border: 1px dashed #1f5486;
    padding: 28px;
    text-align: center;
}

.page-content {
    padding-top: 20px;
    padding-bottom: 60px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.product-card {
    border: 1px solid #ddd;
    padding: 22px;
    background: #fff;
}

.product-card img,
.detail-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 18px;
}

.card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.button {
    background: #1f5486;
    color: #fff;
    border: 0;
    padding: 11px 18px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    font-weight: 700;
}

.button.secondary {
    background: #444;
}
.product-listing-header {
    background: #f3f7fb;
    border-radius: 18px;
    padding: 34px;
    margin-bottom: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.product-listing-header h1 {
    color: #003366;
    margin: 0 0 10px;
    font-size: 2.2rem;
}

.product-listing-header p {
    margin: 0;
    color: #555;
    line-height: 1.6;
}

.improved-product-grid {
    align-items: stretch;
}

.improved-product-card {
    border: 0;
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    text-align: left;
}

.improved-product-card .product-card-image {
    height: 230px;
    padding: 24px;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid #edf1f5;
}

.product-card-body {
    padding: 24px 24px 10px;
    flex: 1;
}

.product-card-body h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    color: #003366;
}

.product-card-body h2 a {
    color: inherit;
    text-decoration: none;
}

.product-card-body p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

.improved-product-card .product-actions {
    padding: 20px 24px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.improved-product-card .product-actions form {
    margin: 0;
}

.improved-product-card .product-actions .btn {
    width: 100%;
    text-align: center;
    border-radius: 8px;
}

.no-product-image {
    width: 100%;
    height: 100%;
    background: #f3f7fb;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border-radius: 10px;
}

.empty-state {
    background: #f3f7fb;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.empty-state h2 {
    color: #003366;
    margin-top: 0;
}
.improved-group-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.improved-group-card {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.group-card-body {
    padding: 26px;
}

.group-card-body h2 {
    margin: 0 0 12px;
    font-size: 1.3rem;
    color: #003366;
}

.group-card-body h2 a {
    color: inherit;
    text-decoration: none;
}

.group-card-body p {
    color: #555;
    line-height: 1.6;
}

.group-card-actions {
    padding: 20px 26px 26px;
}

.group-card-actions .button {
    width: 100%;
    text-align: center;
    border-radius: 8px;
}

@media (max-width: 900px) {
    .improved-group-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 800px) {
    .product-listing-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .improved-product-card .product-actions {
        grid-template-columns: 1fr;
    }
}
.detail-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 40px;
}

.category-label {
    color: #1f5486;
    font-weight: 700;
    text-transform: uppercase;
}

.basket-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 35px;
}

.basket-table th,
.basket-table td {
    border-bottom: 1px solid #ddd;
    padding: 14px;
    text-align: left;
}

.quote-form {
    max-width: 650px;
}

.quote-form label {
    display: block;
    margin-bottom: 16px;
    font-weight: 700;
}

.quote-form input,
.quote-form textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 11px;
    border: 1px solid #ccc;
    font: inherit;
}

.link-button {
    border: 0;
    background: none;
    color: #1f5486;
    cursor: pointer;
    text-decoration: underline;
}

.alert {
    padding: 14px;
    margin-bottom: 20px;
}

.alert.error {
    background: #ffe5e5;
}

.alert.success {
    background: #e7f7e7;
}

.site-footer {
    background: #1f5486;
    color: #fff;
    padding: 25px 0;
    margin-top: 40px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    border: 1px solid #ddd;
    padding: 20px;
    background: #fff;
    text-align: center;
}

.product-card img {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
}

.product-card h3 {
    font-size: 18px;
    margin: 15px 0 10px;
}

.product-actions {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn {
    display: inline-block;
    padding: 10px;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.btn.primary {
    background: #1f5486;
    color: #fff;
}

.btn.secondary {
    background: #eee;
    color: #333;
}
.breadcrumbs {
    font-size: 14px;
    margin-bottom: 20px;
    color: #666;
}

.breadcrumbs a {
    color: #1f5486;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .sep {
    margin: 0 8px;
    color: #aaa;
}
.breadcrumbs {
    margin-top: 0;
    margin-bottom: 20px;
}

.page-content > .breadcrumbs:first-child {
    margin-top: 0;
}

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    margin-top: 0;
}
main.page-content {
    padding-top: 30px !important;
}

main.page-content .breadcrumbs {
    display: block;
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 20px;
}
.product-detail-layout {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 45px;
    align-items: start;
}

.product-detail-image {
    border: 1px solid #ddd;
    padding: 25px;
    background: #fff;
    text-align: center;
}

.product-detail-image img {
    max-width: 100%;
    height: auto;
    display: inline-block;
}

.product-detail-info h1 {
    margin-top: 0;
    font-size: 34px;
    color: #1f5486;
}

.product-intro {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 600;
    color: #555;
}

.product-description {
    margin-top: 25px;
    line-height: 1.7;
}

.product-detail-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.product-detail-actions form {
    margin: 0;
}
.product-card-image {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #fff;
    margin-bottom: 20px;
}

.product-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.home-hero {
    background:
        linear-gradient(90deg, rgba(0, 46, 93, 0.92), rgba(0, 46, 93, 0.55)),
        url('/assets/images/hero.jpg') center/cover no-repeat;
    color: #fff;
    padding: 110px 0;
}

.home-hero-inner {
    max-width: 760px;
}

.eyebrow {
    display: inline-block;
    color: #ffcc33;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    margin-bottom: 14px;
}

.home-hero h1 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    max-width: 700px;
}

.home-hero p {
    font-size: 1.25rem;
    line-height: 1.6;
    max-width: 640px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.intro-section {
    text-align: center;
    padding: 70px 20px 40px;
    max-width: 850px;
}

.intro-section h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #003366;
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    padding: 30px 20px 80px;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 34px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 5px solid #f5b400;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.feature-card h3 {
    color: #003366;
    font-size: 1.45rem;
    margin-bottom: 14px;
}

.feature-card p {
    color: #555;
    line-height: 1.65;
}

.feature-card a {
    display: inline-block;
    margin-top: 16px;
    font-weight: 700;
    color: #003366;
    text-decoration: none;
}

.why-section {
    background: #f3f7fb;
    padding: 75px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.why-grid h2 {
    color: #003366;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.why-grid p {
    color: #555;
    line-height: 1.7;
}

.tick-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.tick-list li {
    background: #fff;
    padding: 16px 18px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    font-weight: 600;
    color: #003366;
}

.tick-list li::before {
    content: "✓";
    color: #f5b400;
    font-weight: 900;
    margin-right: 10px;
}

.contact-cta {
    margin: 80px auto;
    padding: 38px;
    background: #003366;
    color: #fff;
    border-radius: 18px;
    display: flex;
    justify-content: space-between;
    gap: 25px;
    align-items: center;
}

.contact-cta h2 {
    margin: 0 0 8px;
}

.contact-cta p {
    margin: 0;
    color: #dbe8f5;
}

.button {
    display: inline-block;
    background: #f5b400;
    color: #003366;
    padding: 13px 22px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.button.secondary {
    background: #fff;
    color: #003366;
}
.page-header {
    background: #f3f7fb;
    padding: 50px 0;
}

.page-header h1 {
    margin: 0 0 10px;
    font-size: 2.4rem;
    color: #003366;
}

.page-header p {
    margin: 0;
    color: #555;
}

.content-section {
    padding: 50px 20px;
    max-width: 900px;
}

.content-section h2 {
    color: #003366;
    margin-bottom: 15px;
}

.content-section p {
    line-height: 1.7;
    color: #555;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 60px 20px;
    align-items: center;
}

.highlight-section {
    background: #003366;
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.highlight-section h2 {
    margin-bottom: 15px;
}

.highlight-section p {
    max-width: 700px;
    margin: 0 auto;
    color: #dbe8f5;
}
.testimonials-grid {
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left: 5px solid #f5b400;
}

.testimonial-card.featured {
    grid-column: span 2;
    background: #f3f7fb;
}

.testimonial-card p {
    color: #555;
    line-height: 1.7;
    margin-top: 0;
}

.testimonial-card h3 {
    margin: 22px 0 4px;
    color: #003366;
}

.testimonial-card span {
    color: #666;
    font-weight: 600;
}
.contact-page-grid {
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 35px;
    align-items: start;
}

.contact-form-card,
.contact-details-card {
    background: #fff;
    border-radius: 16px;
    padding: 34px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-form-card h2,
.contact-details-card h2 {
    color: #003366;
    margin-top: 0;
}

.contact-form-card p {
    color: #555;
    line-height: 1.6;
}

.contact-form {
    margin-top: 25px;
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-weight: 700;
    color: #003366;
    margin-bottom: 7px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #d5dde5;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.contact-block {
    border-top: 1px solid #e5edf5;
    padding-top: 18px;
    margin-top: 18px;
}

.contact-block h3 {
    color: #003366;
    margin: 0 0 8px;
}

.contact-block p {
    margin: 6px 0;
    color: #555;
    line-height: 1.6;
}

.contact-block a {
    color: #003366;
    font-weight: 700;
    text-decoration: none;
}

.company-details {
    background: #f3f7fb;
    margin: 24px -10px 0;
    padding: 22px;
    border-radius: 12px;
}
.nav-item {
    position: relative;
}

.has-dropdown > a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    padding: 26px 0;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    background: #f4eeee;
    z-index: 9999;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    color: #333 !important;
    padding: 16px 24px;
    text-transform: none;
    font-weight: 500;
    border-bottom: 1px solid #ddd;
}

.dropdown-menu a:hover {
    background: #fff;
    color: #1f5486 !important;
    box-shadow: none;
}
.mobile-menu-toggle {
    display: none;
    background: #f5b400;
    color: #003366;
    border: 0;
    padding: 12px 18px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
}

.nav-item {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-decoration: none;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 320px;
    background: #f4eeee;
    z-index: 9999;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    color: #333 !important;
    padding: 15px 22px;
    text-transform: none;
    font-weight: 500;
    border-bottom: 1px solid #ddd;
}

.dropdown-menu a:hover {
    background: #fff;
    color: #1f5486 !important;
    box-shadow: none;
}
.services-grid {
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.service-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-top: 5px solid #f5b400;
}

.service-card h2 {
    color: #003366;
    margin-top: 0;
    font-size: 1.45rem;
}

.service-card p {
    color: #555;
    line-height: 1.7;
}

.service-card .button {
    margin-top: 12px;
}

@media (max-width: 800px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .nav-inner {
        justify-content: flex-start;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .mobile-menu-toggle {
        display: inline-block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 12px;
        background: #1f5486;
    }

    .main-nav.open .nav-links {
        display: flex;
    }

    .main-nav a,
    .dropdown-toggle {
        width: 100%;
        text-align: left;
        padding: 16px 0;
        border-top: 1px solid rgba(255,255,255,0.16);
    }

    .dropdown-menu {
        position: static;
        min-width: 100%;
        box-shadow: none;
        background: #eef2f6;
    }

    .dropdown-menu a {
        padding: 14px 18px;
        border-top: 1px solid #d8dde3;
    }

    .has-dropdown:hover .dropdown-menu {
        display: none;
    }

    .has-dropdown.open .dropdown-menu {
        display: block;
    }
}
.install-app-banner,
.cookie-banner {
    position: fixed;
    left: 20px;
    right: 20px;
    bottom: 20px;
    z-index: 99999;
    max-width: 980px;
    margin: 0 auto;
    background: #003366;
    color: #fff;
    border-radius: 16px;
    padding: 18px 22px;
    box-shadow: 0 14px 45px rgba(0,0,0,0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.install-app-banner {
    bottom: 105px;
    background: #1f5486;
}

.install-app-banner strong,
.cookie-banner strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
}

.install-app-banner p,
.cookie-banner p {
    margin: 0;
    color: #e5eef7;
    line-height: 1.5;
}

.install-app-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.install-app-btn,
.cookie-accept-btn {
    background: #f5b400;
    color: #003366;
    border: 0;
    border-radius: 8px;
    padding: 11px 16px;
    font-weight: 700;
    cursor: pointer;
}

.install-app-close {
    background: rgba(255,255,255,0.16);
    color: #fff;
    border: 0;
    border-radius: 8px;
    padding: 11px 16px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 700px) {
    .install-app-banner,
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .install-app-banner {
        bottom: 140px;
    }

    .install-app-actions,
    .install-app-btn,
    .install-app-close,
    .cookie-accept-btn {
        width: 100%;
    }

    .install-app-btn,
    .install-app-close,
    .cookie-accept-btn {
        text-align: center;
    }
}
.auth-page {
    display: flex;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 70px;
}

.auth-card {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 16px;
    padding: 38px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.auth-card h1 {
    color: #003366;
    margin-top: 0;
}

.auth-card p {
    color: #555;
    line-height: 1.6;
}

.auth-switch {
    margin-top: 24px;
}

.auth-switch a {
    color: #1f5486;
    font-weight: 700;
}
.nav-item .dropdown-toggle {
    display: inline-block;
}

.dropdown-heading {
    padding: 14px 22px 8px;
    color: #1f5486;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    background: #e8eef5;
}

.products-mega-menu {
    min-width: 360px;
}

.customer-dashboard-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 28px;
    margin-top: 35px;
}

.dashboard-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.dashboard-card h2 {
    color: #003366;
    margin-top: 0;
}

.quote-history-list {
    display: grid;
    gap: 14px;
}

.quote-history-item {
    background: #f3f7fb;
    border-radius: 12px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.quote-history-item h3 {
    margin: 0 0 6px;
    color: #003366;
}

.quote-history-item p {
    margin: 0;
    color: #666;
}

.quote-total {
    font-weight: 700;
    color: #003366;
    white-space: nowrap;
}
.quote-history-item h3 a {
    color: #003366;
    text-decoration: none;
}

.quote-history-item h3 a:hover {
    text-decoration: underline;
}
.quote-status {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    background: #eef3f8;
    color: #1f5486;
}

.quote-status-accepted {
    background: #e8f7ee;
    color: #1f7a3f;
}

.quote-status-sent {
    background: #fff4d6;
    color: #9a6a00;
}

.quote-status-submitted {
    background: #eef3f8;
    color: #1f5486;
}
.nav-inner {
    position: relative;
}

/* normal dropdowns */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 260px;
    background: #fff;
    display: none;
    z-index: 9999;
    box-shadow: 0 12px 30px rgba(0,0,0,0.18);
}

.has-dropdown:hover > .dropdown-menu {
    display: block;
}

/* products mega menu only */
.mega-parent {
    position: static;
}

.mega-menu {
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    min-width: 100vw;
    padding: 0;
}

.mega-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 35px 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
}

.mega-column {
    border-right: 1px solid #e5e5e5;
    padding-right: 25px;
}

.mega-column:last-child {
    border-right: none;
}

.mega-column a {
    display: block;
    padding: 8px 0;
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.mega-column a:hover {
    color: #1f5486;
}

.mega-title,
.mega-heading {
    color: #1f5486 !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.product-search-panel {
    background: #ffffff;
    border: 1px solid #dbe5ef;
    border-radius: 14px;
    padding: 18px;
    margin: 24px 0;
    box-shadow: 0 8px 24px rgba(0, 40, 80, 0.06);
}

.product-search-panel label {
    display: block;
    font-weight: 700;
    color: #003366;
    margin-bottom: 8px;
}

.product-search-panel input {
    width: 100%;
    max-width: 520px;
    padding: 13px 15px;
    border: 1px solid #b9c7d6;
    border-radius: 10px;
    font-size: 16px;
}

.product-search-panel input:focus {
    outline: none;
    border-color: #1f5486;
    box-shadow: 0 0 0 3px rgba(31, 84, 134, 0.15);
}

.product-code {
    display: inline-block;
    background: #f3f7fb;
    color: #1f5486;
    border: 1px solid #dbe5ef;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}

.product-detail-image img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e3e8ef;
    background: #fff;
}

.improved-product-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-code-badge {
    display: inline-block;
    background: #f3f7fb;
    color: #1f5486;
    border: 1px solid #dbe5ef;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: 700;
    width: fit-content;
}

.product-title {
    font-size: 32px;
    line-height: 1.2;
    color: #003366;
    margin: 0;
}

.product-intro {
    font-size: 17px;
    line-height: 1.6;
    color: #555;
}

.product-description {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}

.improved-actions {
    margin-top: 10px;
    padding-top: 15px;
    border-top: 1px solid #e3e8ef;
}

.improved-actions .btn {
    padding: 14px 22px;
    font-size: 16px;
}
.form-success,
.form-error {
    padding: 16px 18px;
    border-radius: 8px;
    margin: 18px 0;
    font-weight: 500;
}

.form-success {
    background: #e8f6ed;
    border-left: 5px solid #2e9d52;
    color: #1f5f34;
}

.form-error {
    background: #fdecec;
    border-left: 5px solid #c0392b;
    color: #7a1f18;
}
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 1100px;
    margin: auto;
    background: #1f5486;
    color: #fff;
    padding: 18px 22px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.cookie-banner-hide {
    opacity: 0;
    transform: translateY(20px);
}

.cookie-banner p {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner a {
    color: #fff;
    text-decoration: underline;
}

.cookie-accept-btn {
    background: #fff;
    color: #1f5486;
    border: 0;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.cookie-accept-btn:hover {
    opacity: 0.92;
}
.product-quote-panel {
    margin-top: 28px;
    padding: 24px;
    background: #f7f9fc;
    border: 1px solid #dbe5ef;
    border-radius: 12px;
}

.product-quote-panel h2 {
    margin: 0 0 8px;
    font-size: 22px;
    color: #003366;
}

.product-quote-panel p {
    margin: 0 0 18px;
    color: #555;
}

.product-options-form {
    width: 100%;
    display: grid;
    gap: 18px;
}

.product-options-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.product-option-field label {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    color: #333;
}

.product-option-field select {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #c8d4df;
    border-radius: 8px;
    background: #fff;
    font-size: 16px;
}

.product-option-field select:focus {
    outline: none;
    border-color: #1f5486;
    box-shadow: 0 0 0 3px rgba(31, 84, 134, 0.15);
}

.product-detail-actions.improved-actions {
    align-items: flex-end;
    gap: 16px;
}

.product-detail-actions .product-options-form {
    flex-basis: 100%;
}
.apex-search-filter-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: end;
    background: #fff;
    border: 1px solid #dbe5ef;
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 28px;
}

.apex-search-box label {
    display: block;
    margin-bottom: 10px;
    font-weight: 800;
    color: #0b3a68;
}

.apex-search-box input {
    width: 100%;
    max-width: 720px;
    height: 54px;
    border: 1px solid #b9c8d8;
    border-radius: 12px;
    padding: 0 18px;
    font-size: 18px;
}

.filter-toggle-btn {
    height: 54px;
    padding: 0 28px;
    border: 0;
    border-radius: 12px;
    background: #0b3a68;
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

.catalogue-filter-panel {
    display: none;
    margin-bottom: 28px;
    background: #f8fafc;
    border: 1px solid #dbe5ef;
    border-radius: 16px;
    padding: 22px;
}

.catalogue-filter-panel.is-open {
    display: block;
}

.catalogue-tree {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.catalogue-tree a,
.catalogue-all-link {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    color: #1f2937;
    font-weight: 700;
    text-decoration: none;
}

.catalogue-tree a:hover,
.catalogue-all-link:hover {
    background: #eaf2fb;
    color: #0b3a68;
}

.catalogue-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#filterClose {
    border: 0;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
}
.nested-filter-tree,
.nested-filter-tree ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nested-filter-tree ul {
    display: none;
    padding-left: 18px;
    margin-top: 8px;
}

.nested-filter-tree ul.is-open {
    display: block;
}

.filter-parent {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 10px 0;
    text-align: left;
    font-weight: 800;
    color: #1f2937;
    cursor: pointer;
}

.filter-parent::before {
    content: '+';
    display: inline-block;
    width: 20px;
    color: #0b3a68;
}

.filter-parent.is-open::before {
    content: '−';
}

.nested-filter-tree a {
    display: block;
    padding: 8px 0 8px 20px;
    color: #0b3a68;
    font-weight: 700;
    text-decoration: none;
}
.apex-info-page {
    max-width: 1400px;
}

.apex-info-section {
    display: flex;
    align-items: center;
    gap: 60px;
    margin: 60px 0;
}

.apex-info-section.reverse {
    flex-direction: row-reverse;
}

.apex-info-image {
    flex: 0 0 38%;
}

.apex-info-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.apex-info-content {
    flex: 1;
}

.apex-info-content h2,
.apex-info-content h3 {
    margin-top: 0;
}

.apex-info-content p,
.apex-info-content li {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

.apex-info-page hr {
    margin: 50px 0;
    border: 0;
    border-top: 2px solid #ccc;
}
.apex-text-block {
    margin: 50px 0;
}

.apex-text-block p {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 22px;
}
.drop-zone {
    border: 2px dashed #ccd6e0;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    background: #f8fbff;
    margin-bottom: 20px;
}

.drop-zone.drag-over {
    border-color: #1f5486;
    background: #eef6ff;
}

.file-upload-form {
    display: grid;
    gap: 14px;
}

.file-browser-list,
.admin-company-file-group {
    display: grid;
    gap: 12px;
}

.file-browser-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid #e3e8ef;
    border-radius: 12px;
    background: #fff;
}

.file-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.button.danger {
    background: #b00020;
    color: #fff;
}
.customer-file-actions,
.dashboard-button-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}
.company-files-card {
    min-height: auto;
}

.dashboard-button-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.document-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.document-dashboard-section {
    background: #f8fbff;
    border: 1px solid #dbe6f3;
    border-radius: 12px;
    padding: 18px;
	
}

.document-file-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
}

.document-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e4e9f1;
}
.download-link {
    color: #003b73;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.download-link:hover {
    text-decoration: underline;
}

.document-file-item {
    align-items: center;
}
.document-file-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.document-file-item strong {
    display: block;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.2;
}

.download-link {
    color: #003b73;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.download-link:hover {
    text-decoration: underline;
}
.customer-dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    align-items: start;
}

.company-files-card {
    grid-column: 1;
}

.quote-dashboard-card,
.portal-dashboard-card {
    grid-column: 1;
}

.account-dashboard-card {
    grid-column: 2;
    grid-row: 1 / span 2;
}
.account-dashboard-card .button {
    margin-right: 10px;
    margin-top: 10px;
}
@media (max-width: 700px) {
    .document-file-item {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .download-link {
        margin-top: 8px;
    }
}
@media (max-width: 1000px) {
    .customer-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .account-dashboard-card,
    .company-files-card,
    .quote-dashboard-card,
    .portal-dashboard-card {
        grid-column: auto;
        grid-row: auto;
    }
}
@media (max-width: 900px) {
    .document-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .document-file-item {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 700px) {
    .file-browser-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .file-actions {
        width: 100%;
        justify-content: flex-start;
    }
}
@media (max-width: 900px) {

    .apex-info-section,
    .apex-info-section.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .apex-info-image {
        width: 100%;
    }
}
@media (max-width: 800px) {
    .apex-info-section,
    .apex-info-section.reverse {
        grid-template-columns: 1fr;
    }

    .apex-info-section img {
        max-height: 280px;
    }
}
@media (max-width: 800px) {
    .apex-search-filter-bar {
        grid-template-columns: 1fr;
    }

    .filter-toggle-btn {
        width: 100%;
    }

    .catalogue-tree {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .product-search-filter-row {
        display: block;
    }

    .filter-toggle-btn {
        width: 100%;
        margin-top: 14px;
    }

    .catalogue-tree {
        column-count: 1;
    }
}
@media (max-width: 900px) {
    .catalogue-layout {
        grid-template-columns: 1fr;
    }

    .catalogue-sidebar {
        position: static;
    }
}
@media (max-width: 700px) {
    .product-options-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-accept-btn {
        width: 100%;
    }
}
@media (max-width: 900px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .product-title {
        font-size: 26px;
    }
}

@media (max-width: 800px) {
    .customer-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .quote-history-item {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 900px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 800px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card.featured {
        grid-column: span 1;
    }
}
@media (max-width: 900px) {
    .split-section {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 900px) {
    .feature-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }

    .contact-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-hero {
        padding: 80px 0;
    }
}
@media (max-width: 850px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
    }

    .product-detail-info h1 {
        font-size: 28px;
    }
}
@media (max-width: 850px) {
    .header-inner,
    .detail-layout {
        display: block;
    }

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

    .hero-text {
        font-size: 26px;
        padding: 0 20px;
    }
}
@media (max-width: 850px) {
    .top-header {
        padding: 18px 0;
    }

    .header-inner {
        text-align: center;
    }

    .logo {
        max-width: 260px;
        width: 100%;
        height: auto;
    }

    .tagline {
        font-size: 15px;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 220px;
    }
}
/* CLEAN MOBILE NAV FIX */
@media (max-width: 900px) {
    .nav-inner {
        display: block;
        padding: 12px 20px;
    }

    .mobile-menu-toggle {
        display: block;
        width: 100%;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 12px;
        background: #17466f;
        border-radius: 10px;
        overflow: hidden;
    }

    .main-nav.open .nav-links {
        display: flex !important;
    }

    .nav-links > a,
    .nav-links > .nav-item {
        width: 100%;
        display: block;
        box-sizing: border-box;
    }

    .nav-links > a,
    .nav-links > .nav-item > .dropdown-toggle {
        width: 100%;
        display: block;
        box-sizing: border-box;
        padding: 16px 18px;
        color: #fff;
        text-align: left;
        border-top: 1px solid rgba(255,255,255,0.14);
    }

    .nav-item,
    .has-dropdown,
    .mega-parent {
        position: relative !important;
    }

    .dropdown-menu,
    .mega-menu {
        position: static !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        display: none;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        background: #f3f7fb;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }

    .has-dropdown:hover > .dropdown-menu {
        display: none;
    }

    .has-dropdown.open > .dropdown-menu {
        display: block !important;
    }

    .dropdown-menu a,
    .mega-menu a {
        width: 100%;
        display: block;
        box-sizing: border-box;
        color: #003366 !important;
        background: #f3f7fb;
        padding: 14px 20px;
        border-top: 1px solid #d8e2ec;
        border-bottom: 0;
        text-transform: none;
        font-weight: 600;
    }

    .mega-container {
        display: block !important;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

    .mega-column {
        width: 100%;
        padding: 0;
        border-right: 0;
    }

    .mega-title,
    .mega-heading {
        display: block;
        margin: 0;
        padding: 15px 20px !important;
        background: #e4edf5 !important;
        color: #1f5486 !important;
        font-weight: 800 !important;
    }

    .mega-column a:not(.mega-title):not(.mega-heading) {
        padding-left: 34px;
        font-weight: 500;
    }
}
@media (max-width: 900px) {
    .has-dropdown:hover > .dropdown-menu {
        display: none !important;
    }

    .has-dropdown.open > .dropdown-menu {
        display: block !important;
    }

    .dropdown-toggle {
        color: #fff;
        width: 100%;
        text-align: left;
        padding: 16px 18px;
    }
}
@media (min-width: 901px) {
    .mega-column:first-child {
        grid-column: 1 / -1;
        border-right: 0;
        padding-right: 0;
        border-bottom: 1px solid #e5e5e5;
        padding-bottom: 18px;
    }

    .mega-column:first-child .mega-title {
        font-size: 22px;
        padding: 0 0 12px !important;
    }
}