/*
 * Elex Laminat — 2026 refresh.
 * Loaded after style.css; only adds components and light touches on top of the original theme,
 * so the admin-managed content keeps rendering as before. Palette follows style.css:
 * amber #ffba00, ink #222, grey #666, Montserrat for headings, Lato for text.
 */
:root {
    --elx-amber: #ffba00;
    --elx-amber-dark: #e0a300;
    --elx-ink: #222;
    --elx-grey: #666;
    --elx-line: #e8e8e8;
    --elx-soft: #f7f7f5;
    --elx-wa: #25d366;
    --elx-radius: 6px;
}

/* ---------- WhatsApp floating button ---------- */
.elx-wa {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px 12px 14px;
    border-radius: 999px;
    background: var(--elx-wa);
    color: #fff !important;
    font: 700 15px/1 'Montserrat', sans-serif;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
    transition: transform .15s ease, box-shadow .15s ease;
}
.elx-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(0, 0, 0, .28); color: #fff; }
.elx-wa svg { width: 26px; height: 26px; flex: none; fill: #fff; }
.elx-wa::before {
    /* soft pulse so the button is noticed without being noisy */
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
    animation: elx-wa-pulse 2.6s ease-out infinite;
    pointer-events: none;
}
@keyframes elx-wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
    70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
}
@media (prefers-reduced-motion: reduce) { .elx-wa::before { animation: none; } }
@media (max-width: 600px) {
    .elx-wa { right: 14px; bottom: 14px; padding: 14px; }
    .elx-wa span { display: none; }            /* icon-only on phones */
}

/* ---------- Buttons ---------- */
.elx-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: var(--elx-radius);
    background: var(--elx-amber);
    color: var(--elx-ink) !important;
    font: 700 13px/1 'Montserrat', sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none !important;
    border: 2px solid var(--elx-amber);
    transition: background .15s ease, border-color .15s ease;
}
.elx-btn:hover { background: var(--elx-amber-dark); border-color: var(--elx-amber-dark); }
.elx-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .7); }
.elx-btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.elx-btn--wa { background: var(--elx-wa); border-color: var(--elx-wa); color: #fff !important; }
.elx-btn--wa:hover { background: #1ebe5b; border-color: #1ebe5b; }

/* ---------- Home: SPC highlight ---------- */
.elx-spc-hero {
    position: relative;
    padding: 90px 0;
    background: #1c1c1c center / cover no-repeat;
    color: #fff;
}
.elx-spc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(20, 20, 20, .88) 0%, rgba(20, 20, 20, .6) 55%, rgba(20, 20, 20, .15) 100%);
}
.elx-spc-hero .container { position: relative; }
.elx-spc-hero__tag {
    display: inline-block;
    margin-bottom: 18px;
    padding: 6px 12px;
    border-radius: 3px;
    background: var(--elx-amber);
    color: var(--elx-ink);
    font: 700 11px/1 'Montserrat', sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.elx-spc-hero h2 {
    margin: 0 0 16px;
    max-width: 620px;
    color: #fff;
    font: 700 38px/1.15 'Montserrat', sans-serif;
    text-transform: none;
}
.elx-spc-hero p { max-width: 560px; margin: 0 0 26px; color: rgba(255, 255, 255, .85); font: 400 17px/1.6 'Lato', sans-serif; }
.elx-spc-hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0 0 32px; padding: 0; list-style: none; }
.elx-spc-hero__points li { position: relative; padding-left: 24px; font: 700 14px/1.4 'Lato', sans-serif; }
.elx-spc-hero__points li::before { content: "✓"; position: absolute; left: 0; color: var(--elx-amber); }
.elx-spc-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.elx-spc-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 46px; max-width: 720px; }
.elx-spc-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--elx-radius);
    aspect-ratio: 16 / 10;
    background: #333 center / cover no-repeat;
    text-decoration: none !important;
}
.elx-spc-card span {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 30px 16px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
    color: #fff;
    font: 700 15px/1.2 'Montserrat', sans-serif;
}
.elx-spc-card span small { display: block; margin-top: 4px; color: var(--elx-amber); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.elx-spc-card:hover { box-shadow: 0 0 0 3px var(--elx-amber); }
@media (max-width: 767px) {
    .elx-spc-hero { padding: 60px 0; }
    .elx-spc-hero h2 { font-size: 28px; }
    .elx-spc-cards { grid-template-columns: 1fr; }
}

/* ---------- Product page: decor grid ---------- */
.elx-decors { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; margin: 10px 0 28px; }
.elx-decor { margin: 0; text-align: center; }
.elx-decor a { display: block; overflow: hidden; border-radius: var(--elx-radius); box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.elx-decor img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .3s ease; }
.elx-decor a:hover img { transform: scale(1.05); }
.elx-decor figcaption { margin-top: 10px; color: var(--elx-ink); font: 700 13px/1.3 'Montserrat', sans-serif; }
.elx-decor figcaption small { display: block; margin-top: 3px; color: var(--elx-grey); font: 400 13px/1.3 'Lato', sans-serif; }
.elx-note { color: var(--elx-grey); font-size: 13px; }

/* ---------- Product page: application/room photos, shown inline (not hidden behind a click) ---------- */
.elx-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin: 4px 0 24px; }
.elx-gallery figure { margin: 0; }
.elx-gallery a { display: block; overflow: hidden; border-radius: var(--elx-radius); box-shadow: 0 1px 4px rgba(0, 0, 0, .14); }
.elx-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s ease; }
.elx-gallery a:hover img { transform: scale(1.04); }
.elx-gallery figcaption { margin-top: 8px; color: var(--elx-ink); font: 700 13px/1.3 'Montserrat', sans-serif; }
.elx-gallery figcaption small { display: block; margin-top: 2px; color: var(--elx-grey); font: 400 13px/1.3 'Lato', sans-serif; }
.upd-nav__sections .upd-nav__section h3 {
    margin: 4px 0 14px;
    color: var(--elx-ink);
    font: 700 16px/1.3 'Montserrat', sans-serif;
    text-transform: none;
    letter-spacing: 0;
}

/* ---------- Product page: spec table ---------- */
.elx-spec { width: 100%; margin: 10px 0 20px; border-collapse: collapse; font: 400 15px/1.45 'Lato', sans-serif; }
.elx-spec th, .elx-spec td { padding: 11px 14px; border-bottom: 1px solid var(--elx-line); text-align: left; vertical-align: top; }
.elx-spec thead th { background: var(--elx-ink); color: #fff; font: 700 12px/1.3 'Montserrat', sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.elx-spec tbody tr:nth-child(even) { background: var(--elx-soft); }
.elx-spec td:first-child { color: var(--elx-ink); font-weight: 700; }
.elx-spec td:nth-child(2) { color: var(--elx-grey); white-space: nowrap; }
.elx-table-wrap { overflow-x: auto; }

/* ---------- Product page: documents ---------- */
.elx-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 10px 0 20px; }
.elx-doc {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid var(--elx-line);
    border-radius: var(--elx-radius);
    background: #fff;
    color: var(--elx-ink) !important;
    text-decoration: none !important;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.elx-doc:hover { border-color: var(--elx-amber); box-shadow: 0 4px 14px rgba(0, 0, 0, .08); }
.elx-doc__icon {
    flex: none;
    width: 44px; height: 54px;
    display: flex; align-items: flex-end; justify-content: center;
    padding-bottom: 8px;
    border-radius: 4px;
    background: #d93025;
    color: #fff;
    font: 700 11px/1 'Montserrat', sans-serif;
}
.elx-doc strong { display: block; margin-bottom: 4px; font: 700 14px/1.3 'Montserrat', sans-serif; }
.elx-doc small { display: block; color: var(--elx-grey); font: 400 13px/1.45 'Lato', sans-serif; }
.elx-doc em { display: inline-block; margin-top: 8px; color: var(--elx-amber-dark); font: 700 12px/1 'Montserrat', sans-serif; font-style: normal; text-transform: uppercase; letter-spacing: .06em; }

/* ---------- Product page: benefits list ---------- */
.elx-benefits { margin: 18px 0 0; padding: 0; list-style: none; }
.elx-benefits li { position: relative; margin-bottom: 12px; padding-left: 30px; font: 400 15px/1.55 'Lato', sans-serif; }
.elx-benefits li::before {
    content: "✓";
    position: absolute; left: 0; top: 1px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: var(--elx-amber);
    color: var(--elx-ink);
    font-size: 12px; line-height: 20px; text-align: center; font-weight: 700;
}

/* ---------- Product sections: undo the theme's blanket width ----------
 * style.css has `.upd-nav__sections .upd-nav__section *:not(img) { width: 100% }` (0,2,1), which
 * stretches every icon, table cell and button in a product section. The selectors below are
 * (0,3,x) so they win for the new components only; Compact sections keep the old behaviour. */
.upd-nav__sections .upd-nav__section :is(.elx-docs, .elx-spec, .elx-decors, .elx-benefits, .elx-gallery) *,
.upd-nav__sections .upd-nav__section .elx-btn { width: auto; }
.upd-nav__sections .upd-nav__section .elx-spec { width: 100%; table-layout: fixed; }
.upd-nav__sections .upd-nav__section .elx-spec td:nth-child(1),
.upd-nav__sections .upd-nav__section .elx-spec th:nth-child(1) { width: 40%; }
.upd-nav__sections .upd-nav__section .elx-spec td:nth-child(2),
.upd-nav__sections .upd-nav__section .elx-spec th:nth-child(2) { width: 25%; }
.upd-nav__sections .upd-nav__section .elx-spec td:nth-child(3),
.upd-nav__sections .upd-nav__section .elx-spec th:nth-child(3) { width: 35%; }
.upd-nav__sections .upd-nav__section .elx-spec td:nth-child(2) { white-space: normal; }
.upd-nav__sections .upd-nav__section .elx-decor img { width: 100%; height: auto; margin: 0; }
.upd-nav__sections .upd-nav__section .elx-decor a { line-height: 0; }
.upd-nav__sections .upd-nav__section .elx-gallery img { width: 100%; height: auto; margin: 0; }
.upd-nav__sections .upd-nav__section .elx-gallery a { line-height: 0; }
.upd-nav__sections .upd-nav__section .elx-doc__icon { width: 44px; }
.upd-nav__sections .upd-nav__section .elx-doc > span:last-child { flex: 1; min-width: 0; }
@media (max-width: 600px) {
    .upd-nav__sections .upd-nav__section .elx-spec { table-layout: auto; font-size: 14px; }
    .upd-nav__sections .upd-nav__section .elx-spec th:nth-child(2),
    .upd-nav__sections .upd-nav__section .elx-spec td:nth-child(2) { display: none; }  /* method column: in the PDF */
    .elx-decors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .elx-gallery { grid-template-columns: 1fr; gap: 14px; }
}

/* =====================================================================================
 * Site-wide refresh (2026-09-29). Visual only: the markup, the admin and the isotope grid
 * keep working as before. Sizes of the fixed header are left alone on purpose -- the page
 * banners' margin-top and the slider offset are computed from them.
 * ===================================================================================== */

body { color: #555; }
a { transition: color .15s ease; }

/* ---------- Header ---------- */
.top-line p, .top-line p a { color: rgba(255, 255, 255, .85); }
.top-line p a:hover { color: var(--elx-amber); text-decoration: none; }
.navbar-default { box-shadow: 0 2px 18px rgba(0, 0, 0, .07); }
.navbar-default .navbar-nav > li > a { letter-spacing: .03em; position: relative; }
@media (min-width: 992px) {
    .navbar-default .navbar-nav > li:not(.elx-nav-cta) > a::after {
        content: "";
        position: absolute; left: 50%; right: 50%; bottom: 26px;
        height: 2px;
        background: var(--elx-amber);
        transition: left .2s ease, right .2s ease;
    }
    .navbar-default .navbar-nav > li:not(.elx-nav-cta) > a:hover::after,
    .navbar-default .navbar-nav > li:not(.elx-nav-cta) > a.active::after { left: 15px; right: 15px; }
    /* the header shrinks on scroll, so centre the button with flex rather than a fixed offset */
    .navbar-default .navbar-nav { display: flex; align-items: center; }
    .navbar-default .navbar-nav::before, .navbar-default .navbar-nav::after { content: none; }
    .navbar-default .navbar-nav > li.elx-nav-cta { margin-left: 14px; }
    .navbar-default .navbar-nav > li.elx-nav-cta > a {
        padding: 11px 18px !important;
        border-radius: var(--elx-radius);
        background: var(--elx-amber);
        color: var(--elx-ink) !important;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 12px;
        line-height: 1;
    }
    .navbar-default .navbar-nav > li.elx-nav-cta > a:hover { background: var(--elx-amber-dark); }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-default .navbar-nav > li.elx-nav-cta { display: none; }   /* no room next to 7 items */
}
@media (max-width: 991px) {
    .navbar-default .navbar-nav > li.elx-nav-cta > a {
        margin: 10px 15px 14px;
        border-radius: var(--elx-radius);
        background: var(--elx-amber);
        color: var(--elx-ink) !important;
        font-weight: 700;
        text-align: center;
        text-transform: uppercase;
    }
}

/* ---------- Page banners ---------- */
.page-banner-section { padding: 72px 0; background-color: #2a2a2a; }
.page-banner-section::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(18, 18, 18, .78) 0%, rgba(18, 18, 18, .45) 60%, rgba(18, 18, 18, .2) 100%);
}
.page-banner-section h2 {
    position: relative;
    padding-left: 18px;
    color: #fff;
    font-size: 30px;
    line-height: 1.2;
    letter-spacing: .01em;
}
.page-banner-section h2::before {
    content: "";
    position: absolute; left: 0; top: 4px; bottom: 4px;
    width: 4px; border-radius: 2px;
    background: var(--elx-amber);
}
@media (max-width: 767px) {
    .page-banner-section { padding: 48px 0; }
    .page-banner-section h2 { font-size: 24px; }
}

/* ---------- Section titles ---------- */
.news-section .news-title h2,
.projects-section .project-title h2,

.catalogue__title h2 {
    color: var(--elx-ink);
    font: 700 24px/1.2 'Montserrat', sans-serif;
    letter-spacing: .02em;
}
.news-section .news-title h2::after,
.projects-section .project-title h2::after,
.catalogue__title h2::after {
    content: "";
    display: block;
    width: 48px; height: 3px;
    margin-top: 12px;
    border-radius: 2px;
    background: var(--elx-amber);
}

/* ---------- News cards (home "En son haberler") ---------- */
.news-section .news-box > .row { display: flex; flex-wrap: wrap; }
.news-section .news-box > .row::before, .news-section .news-box > .row::after { content: none; }
.news-section .news-box > .row > [class*="col-"] { display: flex; float: none; }
.news-section .news-post {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    border-radius: var(--elx-radius);
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    transition: box-shadow .2s ease, transform .2s ease;
}
.news-section .news-post:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .1); transform: translateY(-2px); }
.news-section .news-post > a:first-child { display: block; overflow: hidden; }
.news-section .news-post img { aspect-ratio: 4 / 3; object-fit: cover; margin: 0; transition: transform .3s ease; }
.news-section .news-post:hover img { transform: scale(1.04); }
.news-section .news-post h2 { margin: 18px 18px 6px; }
.news-section .news-post h2 a { color: var(--elx-ink); font-size: 15px; }
.news-section .news-post .news__short { margin: 0 18px 12px; color: var(--elx-grey); font-size: 14px; line-height: 1.55; }
.news-section .news-post > a:last-child {
    margin: auto 18px 18px;
    color: var(--elx-amber-dark);
    font: 700 12px/1 'Montserrat', sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* ---------- Product tiles (home "Bizim ürünlerimiz" + products page) ---------- */
.project-box .project-post { padding: 8px; box-sizing: border-box; }
.project-box .project-post > a { display: block; overflow: hidden; border-radius: var(--elx-radius); }
.project-box .project-post img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s ease; }
.project-box .project-post:hover img { transform: scale(1.05); }
.project-box .project-post .hover-box {
    left: 8px; right: 8px; bottom: 8px; width: auto;
    padding: 34px 18px 16px;
    border-radius: 0 0 var(--elx-radius) var(--elx-radius);
    background: linear-gradient(transparent, rgba(0, 0, 0, .78));
    pointer-events: none;
}
/* products page paints the caption solid amber (0,4,0); keep the gradient there too */
.projects-page-section .project-box .project-post .hover-box { background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.project-box .project-post .hover-box h2 { margin: 0; }
.project-box .project-post .hover-box h2 a { color: #fff; font-size: 15px; pointer-events: auto; }
@media (max-width: 767px) { .project-box .project-post { width: 50%; } }

/* ---------- Article pages (news.php) ---------- */
/* News bodies were pasted from Google results, so the text sits in Google's own div/span markup
   and picks up the theme's tiny uppercase styles; normalise every text container except titles. */
.blog-section .blog-box .single-post :is(p, div, span, li) {
    text-transform: none !important;
    font-size: 16px !important;
}
.blog-section .single-post p,
.blog-section .single-post li,
.blog-section .single-post span {
    color: #444;
    font: 400 16px/1.7 'Lato', sans-serif;
    text-transform: none;
    letter-spacing: 0;
}
.blog-section .single-post ul { padding-left: 20px; }
.blog-section .single-post li { margin-bottom: 8px; }
.blog-section .single-post strong, .blog-section .single-post b { color: var(--elx-ink); }
.blog-section .single-post h1, .blog-section .single-post h2, .blog-section .single-post h3 { text-transform: none; }

/* ---------- Documents page ---------- */
.elx-docs--page { margin: 26px 0 40px; }
.projects-page-section .catalogue__title { margin-bottom: 6px; }

/* ---------- Forms & buttons ---------- */
#contact-form input[type="text"], #contact-form input[type="email"], #contact-form textarea,
.sample-custom__form input[type="text"], .sample-custom__form textarea {
    border: 1px solid #dcdcdc;
    border-radius: var(--elx-radius);
    transition: border-color .15s ease, box-shadow .15s ease;
}
#contact-form input:focus, #contact-form textarea:focus,
.sample-custom__form input:focus, .sample-custom__form textarea:focus {
    outline: none;
    border-color: var(--elx-amber);
    box-shadow: 0 0 0 3px rgba(255, 186, 0, .18);
}
#contact-form #submit_contact, .sample-custom__form .sample-form__submit {
    border: 0;
    border-radius: var(--elx-radius);
    background: var(--elx-amber);
    color: var(--elx-ink);
    font: 700 13px/1 'Montserrat', sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 15px 26px;
}
#contact-form #submit_contact:hover, .sample-custom__form .sample-form__submit:hover { background: var(--elx-amber-dark); }

/* ---------- Contacts map ---------- */
.elx-map { line-height: 0; background: #e9e9e9; }
.elx-map iframe { width: 100%; height: 450px; border: 0; }
@media (max-width: 767px) { .elx-map iframe { height: 300px; } }

/* ---------- Footer ---------- */
footer .up-footer .footer-widget h2 { letter-spacing: .06em; }
footer ul.flickr { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; padding: 0; }
footer ul.flickr li { float: none; width: auto; margin: 0; }
footer ul.flickr li a { display: block; overflow: hidden; border-radius: 4px; }
footer ul.flickr li img { width: 100% !important; aspect-ratio: 4 / 3; object-fit: cover; transition: opacity .2s ease; }
footer ul.flickr li a:hover img { opacity: .8; }
footer .info-widget p a { color: #fff; }
footer .info-widget p a:hover { color: var(--elx-amber); text-decoration: none; }
footer .copyright,
.footer-line, footer > p.copyright {
    background: #181818 !important;
    color: rgba(255, 255, 255, .55) !important;
    border-top: 3px solid var(--elx-amber);
}

/* ---------- Product page: tab bar on phones ---------- */
@media (max-width: 767px) {
    .updated-nav-panel .upd-nav-panel__block .nav-panel-custom {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .updated-nav-panel .upd-nav-panel__block .nav-panel-custom::-webkit-scrollbar { display: none; }
    .updated-nav-panel .upd-nav-panel__block .nav-panel-custom > li { flex: 0 0 auto; flex-basis: auto; }
    .updated-nav-panel .upd-nav-panel__block .nav-panel-custom > li > a { padding-left: 18px; padding-right: 18px; white-space: nowrap; font-size: 12px; }
}

/* ---------- Home: SPC highlight is the first screen (slider removed) ----------
 * Same clearance under the fixed header as the theme's page banners. */
.elx-spc-hero--first { margin-top: 150px; padding: 110px 0 90px; }
@media (max-width: 991px) { .elx-spc-hero--first { margin-top: 60px; padding: 60px 0; } }

/* ---------- Small laptops: keep the full menu on one line (992-1199px) ---------- */
@media (min-width: 992px) and (max-width: 1199px) {
    .navbar-default .navbar-nav > li > a { padding-left: 9px !important; padding-right: 9px !important; font-size: 12px; letter-spacing: 0; }
    .navbar-brand > img { max-width: 110px; }
}

/* ---------- Tablets (768-991px) get the phone header ----------
 * Here the theme stacked the logo above the menu and split the top bar in two: the fixed header
 * was 259px tall while page banners only cleared 177px, hiding the top of every page. Bootstrap's
 * collapse breakpoint is moved from 768 to 992px and the theme's own phone-header rules are
 * repeated for this range, so tablets look like phones: 61px header, hamburger menu. */
@media (min-width: 768px) and (max-width: 991px) {
    .top-line { display: none; }
    .navbar-header { float: none; }
    .navbar-toggle { display: block; }
    .navbar-default .navbar-toggle { margin-top: 13px; }
    .navbar-brand { padding-top: 15px !important; padding-bottom: 15px !important; }
    .mobile-langs { display: flex; padding: 5px; align-items: center; }
    .mobile-langs__item { color: #000; display: block; padding: 15px 5px; text-transform: uppercase; }
    .navbar-collapse.collapse { display: none !important; }
    .navbar-collapse.collapse.in { display: block !important; overflow-y: auto; }
    .navbar-collapse { border-top: 1px solid #e7e7e7; }
    .navbar-nav, .navbar-right { float: none !important; margin: 7px -15px; }
    .navbar-nav > li { float: none; }
    .navbar-nav > li > a { padding: 5px 15px !important; }
    .navbar-nav > li.drop ul.dropdown {
        position: relative; top: inherit; left: inherit; width: 100%;
        padding: 0; border: none; visibility: visible; opacity: 1;
    }
    .navbar-nav > li.drop ul.dropdown li a { padding: 5px 20px; text-transform: inherit; }
    .page-banner-section, #map { margin-top: 60px; }
}

/* ---------- Lightbox for SPC colour swatches / application photos (js/elex-2026.js) ---------- */
.elx-lightbox {
    display: none;
    position: fixed; inset: 0; z-index: 10000;
    background: rgba(10, 10, 10, .92);
    cursor: zoom-out;
}
.elx-lightbox--open { display: flex; align-items: center; justify-content: center; }
body.elx-lightbox-locked { overflow: hidden; }
.elx-lightbox__frame { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; cursor: default; }
.elx-lightbox__frame img { display: block; max-width: 92vw; max-height: 80vh; width: auto; height: auto; margin: 0 auto; border-radius: 4px; box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.elx-lightbox__frame figcaption { margin-top: 14px; color: #fff; font: 700 14px/1.4 'Montserrat', sans-serif; letter-spacing: .03em; }
.elx-lightbox__close, .elx-lightbox__prev, .elx-lightbox__next {
    position: absolute;
    border: 0; background: rgba(255, 255, 255, .1);
    color: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .15s ease;
}
.elx-lightbox__close:hover, .elx-lightbox__prev:hover, .elx-lightbox__next:hover { background: rgba(255, 255, 255, .22); }
.elx-lightbox__close { top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 50%; font-size: 26px; line-height: 1; }
.elx-lightbox__prev, .elx-lightbox__next { top: 50%; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; font-size: 30px; line-height: 1; }
.elx-lightbox__prev { left: 18px; }
.elx-lightbox__next { right: 18px; }
.elx-lightbox--single .elx-lightbox__prev, .elx-lightbox--single .elx-lightbox__next { display: none; }
@media (max-width: 600px) {
    .elx-lightbox__prev, .elx-lightbox__next { width: 42px; height: 42px; margin-top: -21px; font-size: 24px; }
    .elx-lightbox__close { top: 10px; right: 10px; width: 38px; height: 38px; font-size: 22px; }
}
