@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --bilow-magenta: #bf007f;
    --bilow-cyan: #00a3e0;
    --bilow-ink: #17151c;
    --bilow-muted: #666270;
    --bilow-line: #ece8f0;
    --bilow-soft: #f8f6f9;
    --bilow-white: #ffffff;
}

body.bilow-page,
.bilow-page {
    color: var(--bilow-ink);
    font-family: 'Inter', Arial, sans-serif;
    background: var(--bilow-white);
}

.bilow-page h1,
.bilow-page h2,
.bilow-page h3,
.site-header h1,
.site-header h2,
.site-header h3 {
    font-family: 'Montserrat', Arial, sans-serif;
    letter-spacing: 0;
}

.bilow-topbar {
    background: var(--bilow-ink);
    border: 0;
    color: #fff;
    padding: 8px 0;
}

.bilow-topbar .top-number p {
    color: rgba(255,255,255,.78);
    font-size: 13px;
}

.bilow-topbar .social-share li a {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.bilow-topbar .social-share li a:hover {
    background: var(--bilow-magenta);
}

.bilow-nav {
    background: rgba(255,255,255,.96);
    border: 0;
    border-bottom: 1px solid var(--bilow-line);
    margin: 0;
    min-height: 76px;
}

.bilow-brand {
    height: 76px;
    display: flex;
    align-items: center;
    padding: 10px 15px;
}

.bilow-brand img {
    width: 188px;
    max-height: 52px;
    object-fit: contain;
}

.bilow-nav .navbar-nav > li > a {
    color: var(--bilow-ink);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 700;
    padding: 28px 16px;
    text-transform: none;
}

.bilow-nav .navbar-nav > li.active > a,
.bilow-nav .navbar-nav > li > a:hover,
.bilow-nav .navbar-nav > li > a:focus {
    color: var(--bilow-magenta);
    background: transparent;
}

.bilow-nav .dropdown-menu {
    border: 1px solid var(--bilow-line);
    box-shadow: 0 12px 28px rgba(23,21,28,.12);
    border-radius: 8px;
    padding: 8px;
}

.bilow-nav .dropdown-menu > li > a {
    border-radius: 6px;
    color: var(--bilow-ink);
    padding: 10px 14px;
}

.bilow-nav .dropdown-menu > li > a:hover {
    background: var(--bilow-soft);
    color: var(--bilow-magenta);
}

.bilow-hero,
.page-hero {
    background-position: center;
    background-size: cover;
    min-height: 660px;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
}

.bilow-hero:before,
.page-hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,13,19,.82), rgba(15,13,19,.50) 42%, rgba(15,13,19,.12));
}

.page-hero {
    min-height: 430px;
}

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

.eyebrow {
    color: var(--bilow-cyan);
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.bilow-hero h1,
.page-hero h1 {
    color: #fff;
    font-size: 64px;
    font-weight: 800;
    line-height: 1.02;
    margin: 0 0 20px;
    max-width: 740px;
}

.page-hero h1 {
    font-size: 48px;
}

.hero-copy,
.page-hero p:not(.eyebrow) {
    color: rgba(255,255,255,.86);
    font-size: 18px;
    line-height: 1.7;
    max-width: 590px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.btn-bilow {
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    min-height: 46px;
    padding: 12px 22px;
    text-decoration: none;
    transition: all .2s ease;
}

.btn-bilow.primary {
    background: var(--bilow-magenta);
    color: #fff;
}

.btn-bilow.primary:hover {
    background: #a00070;
    color: #fff;
}

.btn-bilow.secondary {
    background: #fff;
    color: var(--bilow-ink);
}

.btn-bilow.secondary:hover {
    color: var(--bilow-magenta);
}

.bilow-strip {
    background: var(--bilow-ink);
    color: #fff;
    padding: 24px 0;
}

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

.strip-grid div {
    border-left: 3px solid var(--bilow-cyan);
    padding-left: 18px;
}

.strip-grid strong,
.strip-grid span {
    display: block;
}

.strip-grid strong {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 15px;
}

.strip-grid span {
    color: rgba(255,255,255,.68);
    font-size: 13px;
    margin-top: 4px;
}

.bilow-section {
    padding: 86px 0;
}

.bilow-section.compact {
    padding: 64px 0;
}

.bilow-section.muted {
    background: var(--bilow-soft);
}

.section-heading {
    margin-bottom: 36px;
}

.section-heading.split {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
    gap: 30px;
    align-items: end;
}

.section-heading h2,
.feature-copy h2 {
    color: var(--bilow-ink);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.14;
    margin: 0;
}

.section-heading p,
.feature-copy p {
    color: var(--bilow-muted);
    font-size: 16px;
    line-height: 1.8;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--bilow-line);
    border-radius: 8px;
    box-shadow: 0 16px 36px rgba(23,21,28,.07);
    overflow: hidden;
}

.product-image-link {
    border: 0;
    cursor: zoom-in;
    display: block;
    background: var(--bilow-soft);
    padding: 0;
    position: relative;
    width: 100%;
}

.product-image {
    aspect-ratio: 1 / 1;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.product-zoom-badge {
    align-items: center;
    background: rgba(23,21,28,.78);
    border-radius: 999px;
    bottom: 12px;
    color: #fff;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    opacity: 0;
    position: absolute;
    right: 12px;
    transform: translateY(6px);
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
    width: 38px;
}

.product-image-link:hover .product-zoom-badge,
.product-image-link:focus .product-zoom-badge {
    opacity: 1;
    transform: translateY(0);
}

.product-image-link:hover .product-image,
.product-image-link:focus .product-image {
    filter: saturate(1.05) contrast(1.03);
}

.product-body {
    padding: 14px 15px 16px;
}

.product-code {
    color: var(--bilow-magenta);
    display: block;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.product-body h3 {
    color: var(--bilow-ink);
    display: -webkit-box;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0 0 8px;
    min-height: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-body p {
    color: var(--bilow-muted);
    display: -webkit-box;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bilow-page .product-lightbox,
.product-lightbox {
    align-items: center;
    background: rgba(10,8,14,.88);
    backdrop-filter: blur(8px);
    display: flex !important;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 24px;
    pointer-events: none;
    position: fixed !important;
    transform: translateZ(0);
    transition: opacity .22s ease, visibility .22s ease;
    visibility: hidden;
    z-index: 2147483000;
}

.bilow-page .product-lightbox.is-open,
.product-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.bilow-page .product-lightbox-panel,
.product-lightbox-panel {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 48px);
    max-width: min(980px, calc(100vw - 32px));
    overflow: hidden;
    position: relative;
    transform: translateY(18px) scale(.96);
    transition: transform .22s ease;
    width: auto;
}

.product-lightbox.is-open .product-lightbox-panel {
    transform: translateY(0) scale(1);
}

.product-lightbox-stage {
    align-items: center;
    background: var(--bilow-soft);
    display: flex;
    justify-content: center;
    min-height: 260px;
}

.bilow-page .product-lightbox-image,
.product-lightbox-image {
    cursor: zoom-out;
    display: block;
    max-height: calc(100vh - 150px);
    max-width: min(980px, calc(100vw - 32px));
    object-fit: contain;
    width: auto;
}

.product-lightbox-caption {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 14px 18px;
}

.product-lightbox-caption strong {
    color: var(--bilow-ink);
    display: block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 15px;
}

.product-lightbox-caption span {
    color: var(--bilow-muted);
    display: block;
    font-size: 13px;
    margin-top: 2px;
}

.product-lightbox-close {
    align-items: center;
    background: rgba(23,21,28,.92);
    border: 0;
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 20px;
    height: 42px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 42px;
    z-index: 3;
}

.product-lightbox-close:hover,
.product-lightbox-close:focus {
    background: var(--bilow-magenta);
    color: #fff;
}

body.lightbox-open {
    overflow: hidden !important;
}

.catalog-cta {
    margin-top: 36px;
}

.feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
}

.feature-grid.reverse {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
}

.feature-image img {
    border-radius: 8px;
    box-shadow: 0 22px 50px rgba(23,21,28,.14);
    height: 520px;
    object-fit: cover;
    width: 100%;
}

.text-link {
    color: var(--bilow-magenta);
    display: inline-block;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    margin-top: 12px;
}

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

.value-card,
.empty-state,
.location-card {
    background: #fff;
    border: 1px solid var(--bilow-line);
    border-radius: 8px;
    padding: 28px;
}

.value-card span {
    color: var(--bilow-cyan);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
}

.value-card h3 {
    color: var(--bilow-ink);
    font-size: 22px;
    font-weight: 800;
    margin: 12px 0 10px;
}

.value-card p,
.empty-state {
    color: var(--bilow-muted);
    line-height: 1.7;
}

.brand-filter {
    align-items: end;
    background: var(--bilow-soft);
    border: 1px solid var(--bilow-line);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 120px minmax(240px, 1fr) auto;
    gap: 14px;
    margin-bottom: 34px;
    padding: 18px;
}

.brand-filter label {
    color: var(--bilow-ink);
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 800;
    margin: 0 0 12px;
}

.brand-filter select,
.brand-filter .select2-container {
    width: 100% !important;
}

.contact-grid {
    display: grid;
    gap: 28px;
}

.location-card {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
    gap: 28px;
    padding: 18px;
}

.map-frame {
    border-radius: 8px;
    overflow: hidden;
    min-height: 320px;
}

.map-frame iframe {
    border: 0;
    height: 100%;
    min-height: 320px;
    width: 100%;
}

.location-copy {
    padding: 12px 10px;
}

.location-copy h2 {
    color: var(--bilow-ink);
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 12px;
}

.location-copy p,
.location-copy a {
    color: var(--bilow-muted);
    display: block;
    line-height: 1.7;
}

.location-copy a:hover {
    color: var(--bilow-magenta);
}

.bilow-page #bottom.bilow-footer-main,
.bilow-footer-main {
    background: #f5f5f5;
    color: #4b4654;
    padding: 56px 0 38px;
}

.bilow-footer-main .footer-logo img {
    background: #fff;
    border-radius: 8px;
    max-width: 180px;
    padding: 10px;
}

.bilow-page #bottom.bilow-footer-main h3,
.bilow-footer-main h3 {
    color: #17151c;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 15px;
    font-weight: 800;
    margin-top: 0;
}

.bilow-footer-main ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bilow-footer-main li {
    margin-bottom: 8px;
}

.bilow-page #bottom.bilow-footer-main p,
.bilow-footer-main p {
    color: #5d5865;
}

.bilow-page #bottom.bilow-footer-main b,
.bilow-footer-main b {
    color: #17151c;
}

.bilow-page #bottom.bilow-footer-main a,
.bilow-footer-main a {
    color: #5b5664;
    font-weight: 500;
}

.bilow-page #bottom.bilow-footer-main a:hover,
.bilow-footer-main a:hover {
    color: var(--bilow-magenta);
}

.bilow-page #footer.bilow-footer,
.bilow-footer {
    background: #0f0d13;
    color: rgba(255,255,255,.66);
    padding: 18px 0;
}

.bilow-page #footer.bilow-footer a,
.bilow-footer a {
    color: rgba(255,255,255,.76);
}

@media (max-width: 1199px) {
    .catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .bilow-nav .navbar-nav > li > a {
        padding: 18px 12px;
    }

    .bilow-hero h1,
    .page-hero h1 {
        font-size: 44px;
    }

    .catalog-grid,
    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .section-heading.split,
    .feature-grid,
    .feature-grid.reverse,
    .location-card {
        grid-template-columns: 1fr;
    }

    .feature-image img {
        height: 420px;
    }
}

@media (max-width: 767px) {
    .bilow-brand {
        height: 66px;
    }

    .bilow-brand img {
        width: 150px;
    }

    .bilow-hero,
    .page-hero {
        min-height: 560px;
    }

    .page-hero {
        min-height: 360px;
    }

    .bilow-hero h1,
    .page-hero h1 {
        font-size: 36px;
    }

    .strip-grid,
    .catalog-grid,
    .values-grid,
    .brand-filter {
        grid-template-columns: 1fr;
    }

    .bilow-section {
        padding: 58px 0;
    }

    .feature-image img {
        height: 340px;
    }

    .product-lightbox {
        padding: 12px;
    }

    .product-lightbox-panel,
    .product-lightbox-image {
        max-width: calc(100vw - 24px);
    }

    .product-lightbox-image {
        max-height: calc(100vh - 132px);
        width: 100%;
    }

    .product-lightbox-caption {
        padding: 12px 14px;
    }
}
