/* Original typefaces are served locally for consistent rendering. */
@font-face{font-family:'Roboto Condensed';font-style:normal;font-weight:300;font-display:swap;src:url('../fonts/roboto-condensed-300-lt.woff2') format('woff2')}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/open-sans-400-lt.woff2') format('woff2')}
@font-face{font-family:'Open Sans';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/open-sans-700-lt.woff2') format('woff2')}
/* Keep the footer at the bottom of short pages, without covering long content. */
.kleo-page { display: flex; flex-direction: column; min-height: 100vh; }
.kleo-page > #main { flex: 1 0 auto; width: 100%; }
body.admin-bar .kleo-page { min-height: calc(100vh - 32px); }
@media (max-width: 782px) {
    body.admin-bar .kleo-page { min-height: calc(100vh - 46px); }
}
/* Fit the desktop logo and navigation on one header row. */
@media (min-width: 992px) {
    #header .kleo-main-header.header-normal > .container { display: flex; flex-wrap: nowrap; align-items: center; }
    #header .header-normal .navbar-header { flex: 0 0 auto; max-width: 196px; }
    #header .header-normal .logo { margin-right: 16px; }
    #header .header-normal .logo > a { display: flex; align-items: center; height: 70px; }
    #header .header-normal .logo img { max-width: 180px !important; max-height: 46px !important; width: auto !important; height: auto !important; margin-top: 0 !important; }
    #header .header-normal .primary-menu { flex: 1 1 auto; min-width: 0; }
    #header .header-normal .navbar-nav { flex-wrap: wrap; justify-content: flex-end; }
    #header .header-normal .navbar-nav > li > a { font-size: 13px; margin-left: 8px; margin-right: 8px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    #header .header-normal .navbar-header { max-width: 152px; }
    #header .header-normal .logo { margin-right: 12px; }
    #header .header-normal .logo img { max-width: 140px !important; }
    #header .header-normal .navbar-nav > li > a { font-size: 12px; margin-left: 4px; margin-right: 4px; }
}

/* Preserve the original Responsive Lightbox grid across plugin versions. */
.rl-basicgrid-gallery { gap: 2px; }
.rl-basicgrid-gallery .rl-gallery-item {
    flex: 0 0 calc((100% - 6px) / 4) !important;
    width: calc((100% - 6px) / 4) !important;
    min-width: 0;
    margin: 0 !important;
}
@media (min-width: 768px) and (max-width: 991px) {
    .rl-basicgrid-gallery .rl-gallery-item {
        flex-basis: calc((100% - 4px) / 3) !important;
        width: calc((100% - 4px) / 3) !important;
    }
}
@media (min-width: 992px) {
    .rl-basicgrid-gallery .rl-gallery-item {
        flex-basis: calc((100% - 10px) / 6) !important;
        width: calc((100% - 10px) / 6) !important;
    }
}

@media (min-width: 992px) {
    #header .header-normal .navbar-nav > li { flex: 0 0 auto; }
    #header .header-normal .navbar-nav > li > a { white-space: nowrap; }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    #header .header-normal .navbar-header { max-width: 176px; }
    #header .header-normal .logo img { max-width: 160px !important; }
    #header .header-normal .navbar-nav > li > a { font-size: 12px; margin-left: 6px; margin-right: 6px; }
}

@media (max-width: 767px) {
    .wpcf7 .st-contact-form-submit input[type="submit"] {
        float: none;
        width: 100%;
        min-height: 44px;
        margin-bottom: 12px;
    }
    .wpcf7 .st-contact-form-submit p {
        clear: both;
        font-size: 12px !important;
        line-height: 1.5 !important;
        margin-top: 12px !important;
        text-align: left !important;
    }
}

/* Keep product names readable on narrow screens. */
@media (max-width: 767px) {
    .woocommerce ul.products {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 16px;
    }
    .woocommerce ul.products::before,
    .woocommerce ul.products::after { display: none; }
    .woocommerce ul.products li.product {
        float: none;
        width: auto !important;
        min-width: 0;
        margin: 0 !important;
        clear: none !important;
    }
}
@media (max-width: 479px) {
    .woocommerce ul.products { grid-template-columns: minmax(0, 1fr); }
}

/* Match the original public page header and WPBakery callout appearance. */
#main > .breadcrumbs-container{display:none}
.home .vc_cta3-content-header h2,.home .vc_cta3-content-header h4{color:#1d8ccc!important}
.home .vc_cta3-container{margin-bottom:0}

/* Preserve the original media-grid framing. */
.vc_media_grid .vc_gitem-zone-a,.vc_masonry_media_grid .vc_gitem-zone-a{background-position:50% 0!important}

/* Localised file picker retains the real, keyboard-accessible upload input. */
.wpcf7 .westglass-file-control{display:flex;align-items:center;flex-wrap:wrap;gap:8px;position:relative;max-width:100%;margin:8px 0 12px;font-weight:400;cursor:pointer}
.westglass-file-control .westglass-file-button{display:inline-block;padding:8px 12px;border:1px solid #ccc;border-radius:3px;background:#f7f7f7;color:#444;min-height:38px;box-sizing:border-box}
.wpcf7 .westglass-file-control input[type=file]{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;margin:0}
.westglass-file-control:focus-within .westglass-file-button{outline:2px solid #1d8ccc;outline-offset:2px}
.westglass-file-name{min-width:0;max-width:100%;overflow-wrap:anywhere;font-size:12px}

/* Align the submit button with its adjacent privacy paragraph. */
.wpcf7 .st-contact-form-submit{display:grid;grid-template-columns:170px minmax(0,1fr);align-items:center;gap:16px}
.wpcf7 .st-contact-form-submit > p{margin:0!important;min-width:0}
.wpcf7 .st-contact-form-submit > p:first-child{position:relative}
.wpcf7 .st-contact-form-submit input[type=submit]{float:none;margin:0;width:100%;min-height:50px}
.wpcf7 .st-contact-form-submit > p:nth-child(2){text-align:left!important}
.wpcf7 .st-contact-form-submit > p:has(.st-contact-form-submit-icon){display:none}
.wpcf7 .st-contact-form-submit .wpcf7-spinner{position:absolute;right:6px;top:calc(50% - 12px);margin:0}
@media(max-width:767px){.wpcf7 .st-contact-form-submit{grid-template-columns:minmax(0,1fr);gap:12px}}

/* Keep the full-width contact map flush with adjacent sections. */
.home section.no-col-gap:has(iframe[src*="google.com/maps/embed"]) .vc_row,
.home section.no-col-gap:has(iframe[src*="google.com/maps/embed"]) .vc_column-inner,
.home section.no-col-gap:has(iframe[src*="google.com/maps/embed"]) .wpb_text_column,
.home section.no-col-gap:has(iframe[src*="google.com/maps/embed"]) .wpb_wrapper,
.home section.no-col-gap:has(iframe[src*="google.com/maps/embed"]) p{margin:0!important;padding:0!important}
.home section.no-col-gap:has(iframe[src*="google.com/maps/embed"]) p{line-height:0}
.home section.no-col-gap:has(iframe[src*="google.com/maps/embed"]) iframe{display:block;width:100%;border:0}

/* Gallery categories: KLEO portfolio-style images and hover, without excerpts. */
.westglass-gallery-title{margin:0 0 30px}
.westglass-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px;padding-bottom:16px}
.westglass-gallery-card{min-width:0}
.westglass-gallery-image{position:relative;overflow:hidden;aspect-ratio:16/9;background:#f7f8fa}
.westglass-gallery-image .element-wrap{display:block;position:relative;width:100%;height:100%}
.westglass-gallery-image img.westglass-gallery-cover{display:block;width:100%;height:100%;object-fit:cover;margin:0}
.westglass-gallery-card-title{font-size:22px;line-height:28px;font-weight:300;margin:14px 0 0}
.westglass-gallery-card .hover-element{background:transparent;transition:background-color .2s linear}
.westglass-gallery-card .hover-element>i{background:#1d8ccc;color:#fff}
.westglass-gallery-image a:hover .hover-element,.westglass-gallery-image a:focus-visible .hover-element{background:rgba(0,0,0,.3)}
.westglass-gallery-image a:hover .hover-element>i,.westglass-gallery-image a:focus-visible .hover-element>i{transform:scale(1);opacity:1}
.westglass-gallery-image a:focus-visible{outline:2px solid #1d8ccc;outline-offset:-2px}
@media(min-width:600px) and (max-width:991px){.westglass-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:599px){.westglass-gallery-grid{grid-template-columns:minmax(0,1fr);gap:26px}.westglass-gallery-title{margin-bottom:24px}}
@media(prefers-reduced-motion:reduce){.westglass-gallery-card .hover-element,.westglass-gallery-card .hover-element>i{transition:none}}

/* Keyboard navigation, persistent field labels and readable validation. */
.westglass-skip-link{position:fixed;left:12px;top:-150px;z-index:2147483647;padding:12px 18px;background:#fff;color:#165d87;border:2px solid #165d87;font-size:16px}
.westglass-skip-link:focus{top:12px}
body.admin-bar .westglass-skip-link:focus{top:44px}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid #165d87!important;outline-offset:3px}
#main:focus{outline:none!important}
.wpcf7 .westglass-field-label{display:block;margin:0 0 6px;font-weight:400;font-size:13px;line-height:1.5;color:#444}
.wpcf7 span.wpcf7-not-valid-tip{font-size:14px;line-height:1.5;color:#a12622}
.wpcf7 [aria-invalid="true"]{border-color:#a12622!important}
.woocommerce ul.products li.product .posted_in,.woocommerce ul.products li.product .posted_in a{color:#666}
@media(min-width:992px){#header .navbar-nav li:focus-within>.dropdown-menu{display:block;visibility:visible;opacity:1}}
@media(max-width:767px){#header .navbar-toggle{min-width:44px;min-height:44px}.wpcf7 input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),.sc-form input:not([type=hidden]),.sc-form select{min-height:44px}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{min-width:44px;min-height:44px;line-height:24px;padding:10px}.widget_product_categories li a{display:inline-block;min-height:44px;padding-top:10px;padding-bottom:10px}}
@media(max-width:767px){.westglass-file-button{min-height:44px;display:inline-flex;align-items:center}}
/* Keep focus rings inside image tiles whose wrappers clip overflow. */
.vc_grid-item:focus-within .vc_gitem-zone{outline:3px solid #165d87;outline-offset:-3px}
.vc_gitem-link:focus-visible,.westglass-gallery-image a:focus-visible,.kleo-woo-gallery a:focus-visible{outline-offset:-3px!important}
.wpcf7 .westglass-field-label,.wpcf7 span.wpcf7-not-valid-tip{text-align:left}
@media(max-width:767px){.wpcf7 input[type=text],.wpcf7 input[type=email],.wpcf7 input[type=tel],.wpcf7 textarea,.sc-form input:not([type=hidden]):not([type=submit]),.sc-form select{font-size:16px}.wpcf7 input::placeholder,.wpcf7 textarea::placeholder{color:#6b6b6b;opacity:1}}

/* Consistent catalogue cards and product description typography. */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 28px;align-items:stretch}
.woocommerce ul.products.columns-1{grid-template-columns:minmax(0,1fr)}
.woocommerce ul.products.columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.woocommerce ul.products.columns-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.woocommerce ul.products.columns-5{grid-template-columns:repeat(5,minmax(0,1fr))}
.woocommerce ul.products.columns-6{grid-template-columns:repeat(6,minmax(0,1fr))}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{float:none;clear:none!important;width:auto!important;min-width:0;margin:0!important;display:flex}
.woocommerce ul.products li.product .product-loop-inner{display:flex;flex-direction:column;width:100%;min-width:0}
.woocommerce ul.products li.product figure{flex:none;aspect-ratio:1 / 1;width:100%;margin:0 0 10px;overflow:hidden;background:#fff}
.woocommerce ul.products li.product figure > a{float:none;display:block;width:100%;height:100%}
.woocommerce ul.products li.product figure .kleo-woo-image{width:100%;height:100%}
.woocommerce ul.products li.product figure img{width:100%!important;height:100%!important;object-fit:contain;object-position:center;max-height:100%;margin:0}
.woocommerce ul.products li.product .product-details{flex:1 0 auto;padding:0 8px}
.woocommerce ul.products li.product .product-details .posted_in{display:block;min-height:3.6em;line-height:1.8}
.woocommerce ul.products li.product .product-details h3{min-height:3.6em;line-height:1.8;margin-top:4px;overflow-wrap:anywhere}
.woocommerce ul.products li.product .product-loop-inner > .price{margin-top:auto;padding-top:6px}
.single-product #description_tab .panel-body{font-family:'Open Sans',sans-serif;font-size:13px;line-height:1.6;color:#777;text-align:left;overflow-wrap:break-word}
.single-product #description_tab .panel-body p,.single-product #description_tab .panel-body span{font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;color:inherit}
.single-product #description_tab .panel-body p{margin:0 0 10px}
.single-product #description_tab .panel-body pre,.single-product #description_tab .panel-body code{font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;color:inherit!important;font-weight:400;background:none!important;border:0!important;border-radius:0;box-shadow:none;padding:0!important;text-shadow:none;white-space:pre-line;overflow:visible;word-break:normal;overflow-wrap:anywhere;margin:0 0 10px}
.single-product #description_tab .panel-body h1,.single-product #description_tab .panel-body h2,.single-product #description_tab .panel-body h3,.single-product #description_tab .panel-body h4{font-family:inherit!important;font-size:1em!important;line-height:inherit!important;font-weight:700;margin:0 0 10px;color:inherit}
.single-product #description_tab .panel-body > :last-child{margin-bottom:0}
@media(max-width:991px){.woocommerce ul.products[class*="columns-"]{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px}}
@media(max-width:479px){.woocommerce ul.products[class*="columns-"]{grid-template-columns:minmax(0,1fr)}}
