@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@300;400;500;600;700&display=swap');

/* ====================================================
   LAMTHONGTHAI 2026 PRO REDESIGN - CSS Overrides
   ====================================================
   Load order: after style3.css to override defaults
   ==================================================== */

/* -- NEWS LIST page image -- */
.news-list-img {
    width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
    display: block !important;
}
@media screen and (max-width: 767px) {
    .news-list-img { height: 200px !important; }
}



/* -- 4. BANNER/SLIDER: Full height, no overlap -- */
.header,
.header.slider-fade {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.slider-fade .owl-item,
.slider .owl-item {
    height: 100vh !important;
}
/* Slider slide items */
.slider .item,
.slider-fade .item {
    top: 0 !important;
    height: 100% !important;
}

/* -- 5. INNER PAGE BANNER -- */
.banner-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
    height: 55vh !important;
    min-height: 280px !important;
}
@media screen and (max-width: 991px) {
    .banner-header { height: 42vh !important; min-height: 220px !important; }
}
@media screen and (max-width: 767px) {
    .banner-header { height: 35vh !important; min-height: 180px !important; }
}

/* -- 6. HIDE UNUSED CONTENT LINES -- */
.content-lines-wrapper { display: none !important; }

/* -- 7. SECTION TITLES: Premium with gradient underline -- */
.section-title {
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #1A1F26 !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 40px !important;
    position: relative !important;
    padding-bottom: 16px !important;
    text-transform: uppercase;
}
.section-title::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 50px !important;
    height: 3px !important;
    background: linear-gradient(90deg, #7E1429, #e74c3c) !important;
    border-radius: 3px !important;
    transition: width 0.4s ease;
}
.section-title:hover::after { width: 80px; }
.text-center .section-title::after {
    left: 50% !important;
    transform: translateX(-50%) !important;
}
.section-title span {
    color: #7E1429 !important;
    font-weight: 300 !important;
}

/* -- 8. PRODUCT CATEGORIES: Stable cards (no jitter) -- */
.product-categories {
    background: #f9f7f4;
    padding: 80px 0;
}
.category-card {
    display: block !important;
    background: #fff !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    border-radius: 14px !important;
    padding: 32px 16px !important;
    text-align: center !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.03) !important;
    /* REMOVE transform on hover to prevent jitter */
    transition: box-shadow 0.3s ease, border-color 0.3s ease !important;
    cursor: pointer;
    text-decoration: none !important;
    margin-bottom: 24px;
}
.category-card:hover {
    box-shadow: 0 12px 36px rgba(126,20,41,0.10) !important;
    border-color: rgba(126,20,41,0.18) !important;
    background: #fff !important;
    transform: none !important;
}
.category-card-media {
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto 16px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    background: #f8f5ee !important;
    border: 2px solid rgba(126,20,41,0.08) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04) !important;
    transition: border-color 0.3s ease !important;
}
.category-card:hover .category-card-media {
    border-color: rgba(126,20,41,0.35) !important;
}
.category-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s ease !important;
}
.category-card:hover .category-card-media img {
    transform: scale(1.08) !important;
}
/* Prevent pointer events on child elements from triggering hover flicker */
.category-card h5,
.category-card span,
.category-card-media img {
    pointer-events: none !important;
}
.category-card h5 {
    color: #1A1F26 !important;
    font-weight: 600 !important;
    font-size: 17px !important;
    margin: 0 0 6px !important;
    transition: color 0.3s ease !important;
}
.category-card:hover h5 { color: #7E1429 !important; }
.category-card span {
    color: #888 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: color 0.3s ease !important;
}
.category-card:hover span { color: #7E1429 !important; }
.category-card span i { margin-left: 4px; transition: transform 0.3s ease; }
.category-card:hover span i { transform: translateX(4px); }

/* -- 9. OEM SECTION -- */
.home-oem {
    background: linear-gradient(135deg, #f8f5ee, #fffaf6) !important;
}

/* -- 10. PRODUCTS CAROUSEL: uniform image height -- */
.projects .item {
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06) !important;
    background: #fff !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    margin-bottom: 4px;
}
.projects .item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 36px rgba(126,20,41,0.10) !important;
}
.projects .item .position-re img,
.projects .owl-carousel .item img {
    width: 100% !important;
    height: 270px !important;
    object-fit: cover !important;
    display: block !important;
}
.projects .item .con {
    padding: 16px 20px !important;
    background: #fff !important;
}
.projects .item .con h5 a {
    color: #1A1F26 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: color 0.3s !important;
}
.projects .item .con h5 a:hover { color: #7E1429 !important; }

/* -- 11. ARTICLES / BLOG SECTION -- */
.bauen-blog .item {
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.bauen-blog .item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 36px rgba(126,20,41,0.1) !important;
}
.bauen-blog .item .position-re { overflow: hidden !important; }
.bauen-blog .item .position-re img,
.article-thumb {
    width: 100% !important;
    height: 230px !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s ease !important;
}
.bauen-blog .item:hover .position-re img { transform: scale(1.05) !important; }
.bauen-blog .item .con {
    padding: 20px !important;
    background: #fff !important;
}
.bauen-blog .item .con h5 a {
    color: #1A1F26 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    transition: color 0.3s !important;
}
.bauen-blog .item .con h5 a:hover { color: #7E1429 !important; }
.bauen-blog .item .con .category a {
    color: #7E1429 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
}

/* -- 12. CERTIFICATES / SERVICES CARDS -- */
.services .item {
    background: #fff !important;
    border-radius: 10px !important;
    padding: 20px !important;
    text-align: center !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04) !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
    transition: all 0.3s ease !important;
    margin-bottom: 24px !important;
    overflow: hidden !important;
}
.services .item:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(126,20,41,0.08) !important;
    border-color: rgba(126,20,41,0.15) !important;
}
.services .item > img,
.services .item img:first-child {
    width: 100% !important;
    height: 190px !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto 12px !important;
}
.services .item h5 {
    color: #1A1F26 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    padding-top: 10px !important;
    border-top: 1px solid #f0f0f0 !important;
}
.services .item .numb,
.services .item .line { display: none !important; }

/* -- 13. PRODUCT GRID (product.php) -- */
.bauen-project-wrap {
    border-radius: 10px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
    background: #fff !important;
    margin-bottom: 30px !important;
    transition: all 0.3s ease !important;
}
.bauen-project-wrap:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 14px 36px rgba(126,20,41,0.10) !important;
}
.bauen-project-wrap > a > img,
.bauen-project-wrap img {
    width: 100% !important;
    height: 280px !important;
    object-fit: cover !important;
    display: block !important;
    transition: transform 0.5s ease !important;
}
.bauen-project-wrap:hover img { transform: scale(1.04) !important; }
.bauen-project-content {
    padding: 16px 20px !important;
}
.bauen-project-content h3 a {
    color: #1A1F26 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: color 0.3s !important;
}
.bauen-project-content h3 a:hover { color: #7E1429 !important; }
.bauen-project-content p {
    color: #7E1429 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
}

/* -- 14. FILTER TABS -- */
.bauen-project-filter {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 0 !important;
    margin-bottom: 30px !important;
    list-style: none !important;
    justify-content: flex-start;
}
.bauen-project-filter li {
    padding: 8px 22px !important;
    border-radius: 30px !important;
    background: #f5f5f5 !important;
    color: #555 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    line-height: 1.5 !important;
}
.bauen-project-filter li:hover {
    background: rgba(126,20,41,0.08) !important;
    color: #7E1429 !important;
}
.bauen-project-filter li.active {
    background: #7E1429 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(126,20,41,0.3) !important;
}

/* -- 15. BUTTONS -- */
a.button,
.button,
input[type="submit"].button {
    display: inline-block !important;
    padding: 13px 32px !important;
    background: linear-gradient(135deg, #7E1429, #c0392b) !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    border-radius: 4px !important;
    border: none !important;
    transition: all 0.35s ease !important;
    box-shadow: 0 4px 14px rgba(126,20,41,0.28) !important;
    cursor: pointer !important;
    text-decoration: none !important;
}
a.button:hover,
.button:hover {
    background: linear-gradient(135deg, #c0392b, #7E1429) !important;
    box-shadow: 0 8px 24px rgba(126,20,41,0.38) !important;
    transform: translateY(-2px) !important;
    color: #fff !important;
}
.butn-light a {
    display: inline-block;
    padding: 12px 28px;
    background: transparent;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 4px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.butn-light a:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}

/* -- 16. FOOTER: Premium Dark Design -- */
footer.main-footer.dark {
    background: linear-gradient(140deg, #1a1a2e 0%, #16213e 40%, #2c1a1e 100%) !important;
    padding-top: 60px !important;
}
footer.main-footer.dark .item.fotcont .fothead h5 {
    color: #F7ECA6 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1) !important;
}
footer.main-footer.dark .item.fotcont p {
    color: rgba(255,255,255,0.65) !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}
footer.main-footer.dark .item.fotcont a {
    color: rgba(255,255,255,0.65) !important;
    transition: color 0.3s !important;
    text-decoration: none !important;
}
footer.main-footer.dark .item.fotcont a:hover {
    color: #F7ECA6 !important;
}
footer.main-footer.dark .sub-footer {
    background: rgba(0,0,0,0.25) !important;
    margin-top: 48px !important;
    padding: 20px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
}
footer.main-footer.dark .sub-footer p {
    color: rgba(255,255,255,0.4) !important;
    font-size: 13px !important;
    margin: 0 !important;
}
footer.main-footer.dark .sub-footer a {
    color: rgba(255,255,255,0.4) !important;
    transition: color 0.3s;
}
footer.main-footer.dark .sub-footer a:hover { color: #F7ECA6 !important; }
footer.main-footer.dark .social-icon {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}
footer.main-footer.dark .social-icon a {
    color: rgba(255,255,255,0.55) !important;
    font-size: 18px !important;
    margin: 0 6px !important;
    transition: color 0.3s, transform 0.3s !important;
    display: inline-block !important;
    text-decoration: none !important;
}
footer.main-footer.dark .social-icon a:hover {
    color: #F7ECA6 !important;
    transform: translateY(-3px) !important;
}
.main-footer p.right { text-align: right; }
@media screen and (max-width: 767px) {
    .main-footer p.right { text-align: left !important; }
    .main-footer .abot .social-icon { justify-content: flex-start !important; margin-bottom: 12px; }
}

/* -- 17. SHOPEE / LAZADA ICONS IN FOOTER -- */
.marketplace-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
}
.marketplace-link:hover {
    transform: translateY(-3px) scale(1.1) !important;
    color: #fff !important;
}
.shopee-link { background: #ee4d2d !important; }
.lazada-link { background: #0f146d !important; }
.marketplace-svg {
    width: 17px !important;
    height: 17px !important;
}
/* -- 18. CONTACTS BUTTON (show float button) -- */
/* .contacts-btn { display: none !important; } */

/* Homepage transparent navbar that turns solid on scroll */
.home-page .navbar {
    background: transparent !important;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%) !important;
    box-shadow: none !important;
    border: none !important;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease !important;
}
.home-page .navbar.nav-scroll {
    background: #7E1429 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

/* Inner pages: Solid, fixed navbar at the top, and shift content down */
body:not(.home-page) .navbar {
    background: #7E1429 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    transform: none !important; /* Disables the translateY(100px) scrolling transform shift */
    -webkit-transform: none !important; /* Disables the webkit translateY shift */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease !important;
}
body:not(.home-page) .content-wrapper {
    padding-top: 80px !important;
}
@media (max-width: 991px) {
    body:not(.home-page) .content-wrapper {
        padding-top: 70px !important;
    }
}

/* Mobile toggled navbar has solid background when expanded at the top */
.navbar:has(.navbar-collapse.show) {
    background: #7E1429 !important;
}

/* -- 19. ABOUT GALLERY -- */
.about-gallery-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    background: #fff;
    border: 1px solid #f0f0f0;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    margin-bottom: 20px;
}
.about-gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(126,20,41,0.12);
    border-color: #7E1429;
}
.about-gallery-img {
    width: 100%;
    height: 210px;
    overflow: hidden;
    background: #eee;
}
.about-gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.about-gallery-card:hover .about-gallery-img img { transform: scale(1.08); }
.about-gallery-info {
    padding: 14px 18px;
    text-align: center;
    background: #fff;
}
.about-gallery-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #1A1F26;
    margin: 0;
}

/* -- 20. NEWS IMAGE UNIFORM HEIGHT -- */
.bauen-blog .position-re img[style*="height: 350px"] {
    height: 240px !important;
    width: 100% !important;
    object-fit: cover !important;
}

/* -- 21. SECTION PADDING FINE TUNE -- */
.section-padding { padding: 80px 0; }
.section-padding2 { padding: 60px 0 80px; }
@media screen and (max-width: 991px) {
    .section-padding { padding: 60px 0; }
    .section-padding2 { padding: 45px 0 60px; }
    .section-title { font-size: 24px !important; }
    .services .item img { height: 160px !important; }
    .article-thumb,
    .bauen-blog .item .position-re img { height: 200px !important; }
}
@media screen and (max-width: 767px) {
    .section-padding { padding: 50px 0; }
    .section-title { font-size: 20px !important; margin-bottom: 28px !important; }
    .bauen-project-wrap img { height: 220px !important; }
    .bauen-project-filter { gap: 6px !important; }
    .bauen-project-filter li { padding: 7px 16px !important; font-size: 12px !important; }
    .category-card { padding: 22px 12px !important; }
    .category-card-media { width: 100px !important; height: 100px !important; }
    .article-thumb,
    .bauen-blog .item .position-re img { height: 180px !important; }
    .about-gallery-img { height: 170px; }
    footer.main-footer.dark { padding-top: 40px !important; }
}
@media screen and (max-width: 480px) {
    .section-title { font-size: 18px !important; }
    a.button, .button { padding: 11px 22px !important; font-size: 12px !important; }
    .bauen-project-wrap img { height: 190px !important; }
    .projects .item .position-re img,
    .projects .owl-carousel .item img { height: 200px !important; }
}

/* -- 22. NEWS PAGE: inline style override -- */
.bauen-blog .position-re img {
    width: 100% !important;
    height: 230px !important;
    object-fit: cover !important;
    display: block !important;
}

/* -- 23. PRODUCT DETAIL page -- */
.product-detail-img {
    width: 100%;
    max-height: 460px;
    object-fit: contain;
    border-radius: 10px;
    background: #fafafa;
    box-shadow: 0 8px 30px rgba(0,0,0,0.07);
}

/* -- 24. CONTACT FORM premium styling -- */
.contactform input[type="text"],
.contactform input[type="email"],
.contactform input[type="tel"],
.contactform textarea {
    border: 1.5px solid #e5e5e5 !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    font-size: 15px !important;
    background: #fafafa !important;
    transition: border-color 0.3s, box-shadow 0.3s !important;
    width: 100%;
}
.contactform input:focus,
.contactform textarea:focus {
    border-color: #7E1429 !important;
    box-shadow: 0 0 0 3px rgba(126,20,41,0.08) !important;
    background: #fff !important;
    outline: none !important;
}

/* -- 25. PRELOADER: Disabled completely for modern, fast UX -- */
#preloader {
    display: none !important;
}


/* -- 26. CUSTOM COOKIE CONSENT BANNER -- */
.cookie-banner-wrapper {
    position: fixed !important;
    bottom: 24px !important;
    left: 24px !important;
    right: 24px !important;
    background: rgba(26, 31, 38, 0.96) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 20px 24px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35) !important;
    z-index: 9999999 !important;
    transition: opacity 0.4s ease, transform 0.4s ease !important;
    max-width: 860px !important;
    margin: 0 auto !important;
}
@media (max-width: 767px) {
    .cookie-banner-wrapper {
        bottom: 16px !important;
        left: 16px !important;
        right: 16px !important;
        padding: 16px 20px !important;
        border-radius: 12px !important;
    }
}
.cookie-banner-container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    width: 100% !important;
}
@media (max-width: 767px) {
    .cookie-banner-container {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 14px !important;
    }
}
.cookie-banner-text {
    flex: 1 !important;
    text-align: left !important;
}
.cookie-banner-text h5 {
    color: #F7ECA6 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 0 6px 0 !important;
    font-family: 'Noto Sans Thai', 'Sukhumvit', sans-serif !important;
    letter-spacing: 0.5px !important;
}
.cookie-banner-text p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    margin: 0 !important;
    font-family: 'Noto Sans Thai', 'Sukhumvit', sans-serif !important;
}
.cookie-banner-text p a {
    color: #F7ECA6 !important;
    text-decoration: underline !important;
    transition: color 0.3s !important;
}
.cookie-banner-text p a:hover {
    color: #fff !important;
}
.cookie-accept-btn {
    background: linear-gradient(135deg, #7E1429, #c0392b) !important;
    color: #fff !important;
    border: none !important;
    padding: 10px 24px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(126, 20, 41, 0.3) !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    font-family: 'Noto Sans Thai', 'Sukhumvit', sans-serif !important;
}
.cookie-accept-btn:hover {
    background: linear-gradient(135deg, #c0392b, #7E1429) !important;
    box-shadow: 0 6px 18px rgba(126, 20, 41, 0.45) !important;
    transform: translateY(-1px) !important;
}

/* -- 27. MOBILE SWIPE CAROUSALS (CSS ONLY) -- */
@media (max-width: 767px) {
    .mobile-scroll-container {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 16px !important;
        padding-bottom: 20px !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: -15px !important;
        margin-right: -15px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
    }
    .mobile-scroll-container::-webkit-scrollbar {
        height: 6px !important;
    }
    .mobile-scroll-container::-webkit-scrollbar-thumb {
        background-color: rgba(126, 20, 41, 0.3) !important;
        border-radius: 4px !important;
    }
    .mobile-scroll-container .col-lg-3,
    .mobile-scroll-container .col-md-4,
    .mobile-scroll-container .col-md-6,
    .mobile-scroll-container .col-sm-6,
    .mobile-scroll-container .col-xs-12,
    .mobile-scroll-container .gallery-item {
        flex: 0 0 75% !important;
        max-width: 75% !important;
        scroll-snap-align: start !important;
        margin-bottom: 0 !important;
    }
}

/* -- 28. PRODUCT MOBILE VIEW IMPROVEMENTS -- */
@media (max-width: 767px) {
    /* Categories Scrollable Bar */
    .bauen-project-filter {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 12px !important;
        margin-bottom: 20px !important;
        gap: 6px !important;
        scrollbar-width: none !important;
        width: 100% !important;
    }
    .bauen-project-filter::-webkit-scrollbar {
        display: none !important;
    }
    .bauen-project-filter li {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
        padding: 6px 14px !important;
        font-size: 12px !important;
    }
    
    /* 2-Column Product Grid */
    .bauen-project-items {
        margin-left: -8px !important;
        margin-right: -8px !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }
    .bauen-project-items .single-item {
        flex: 0 0 50% !important;
        max-width: 50% !important;
        padding: 0 8px !important;
    }
    .bauen-project-wrap {
        margin-bottom: 16px !important;
    }
    .bauen-project-wrap img {
        height: 150px !important;
    }
    .bauen-project-content {
        padding: 10px !important;
    }
    .bauen-project-content h3 a {
        font-size: 13px !important;
    }
    .bauen-project-content p {
        font-size: 11px !important;
        margin-bottom: 2px !important;
    }
}

/* -- 29. HIDE INNER BANNER HEADERS -- */
.banner-header {
    display: none !important;
}

/* -- 30. HIDE PACE LOADING LINE -- */
.pace,
.pace-progress {
    display: none !important;
}

/* -- END OF 2026 OVERRIDES -- */
