/* TB: one static home banner, with its original content visible without Owl. */
.banner-section .tb-static-banner .content-column h1,
.banner-section .tb-static-banner .content-column .btn-box,
.banner-section .tb-static-banner .image-column .image {
    opacity: 1;
    transform: none;
    transition: none;
}
.feature-block .inner-box h4 .tb-static-title { color: #fff; }

@media only screen and (max-width: 767px) {
    /* Keep the compact primary header available while scrolling. */
    .page-wrapper { overflow: clip; }
    .main-header {
        position: sticky;
        top: 0;
        background: #181818;
        box-shadow: 0 2px 12px rgba(0, 0, 0, .18);
    }
    .main-header .sticky-header { display: none; }
    .main-header .header-upper .outer-container { padding: 10px 16px; }
    .main-header .header-upper .inner-container {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .main-header .header-upper .inner-container::after,
    .main-header .header-upper .nav-outer::after,
    .main-header .header-upper .outer-box::after { display: none; }
    .main-header .header-upper .logo-box {
        float: none;
        flex: 0 0 60px;
        width: 60px;
        padding: 0;
    }
    .main-header .header-upper .logo img { display: block; width: 60px; height: auto; }
    .main-header .header-upper .nav-outer {
        float: none;
        display: flex;
        flex: 1;
        align-items: center;
        justify-content: flex-end;
        gap: 12px;
        min-width: 0;
        width: auto;
        margin: 0;
        padding: 0;
    }
    .main-header .header-upper .outer-box {
        position: static;
        flex: 1;
        max-width: 250px;
        min-width: 0;
        margin: 0;
        padding: 0;
    }
    .main-header .header-upper .cart-box { float: none; display: block; margin: 0; }
    .main-header .header-upper .cart-box .theme-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        width: 100%;
        padding: 9px 10px !important;
        font-size: 13px !important;
        line-height: 1.35 !important;
        text-align: center;
        white-space: normal;
        border-radius: 5px;
    }
    .main-header .header-upper .mobile-nav-toggler {
        order: 2;
        flex: 0 0 44px;
        float: none;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        font-size: 29px;
        line-height: 1;
        border: 1px solid rgba(255, 255, 255, .25);
        border-radius: 5px;
    }
    .auto-container { padding-right: 20px; padding-left: 20px; }
    .page-title { padding: 56px 0; }
    .page-title .tb-page-heading { font-size: clamp(32px, 7vw, 42px); line-height: 1.2; }
    #equipe { scroll-margin-top: 100px; }

    /* Comfortable text and image spacing in the home introduction. */
    .banner-section .slide { padding: 42px 0 64px; background-position: center; }
    .banner-section .shadow-layer { height: 55px; pointer-events: none; }
    .banner-section .content-column h1 {
        font-size: clamp(32px, 8.4vw, 48px) !important;
        line-height: 1.16;
        margin-bottom: 24px;
    }
    .banner-section .content-column .text { font-size: 17px !important; line-height: 1.75; }
    .banner-section .tb-artisan { align-items: center; margin-top: 8px; margin-bottom: 28px; }
    .banner-section .tb-artisan h4 { font-size: 23px; line-height: 1.35; margin-bottom: 14px; }
    .banner-section .tb-artisan img { display: block; width: 200px; height: auto; margin: 0 auto; }
    .banner-section .content-column .btn-box { margin-top: 28px; margin-bottom: 24px; }
    .banner-section .content-column h5 { font-size: 18px; line-height: 1.8; }
    .banner-section .content-column h5 a { display: inline-flex; min-width: 36px; min-height: 44px; align-items: center; justify-content: center; }
    .banner-section .image-column { margin-top: 32px; }
    .banner-section .image-column .image { text-align: center; }
    .banner-section .image-column img { display: block; width: 280px; max-width: 100%; height: auto; margin: 0 auto; }
    .banner-section .image-pattern-layer-one,
    .banner-section .image-pattern-layer-two { display: none; }
    .theme-btn { max-width: 100%; white-space: normal; text-align: center; }
    .btn-style-one, .btn-style-two, .btn-style-three { padding: 13px 22px; line-height: 1.5; }

    .bread-list-section, .white-bread-section, .prety-section,
    .single-bread-section.style-two, .contact-info-section, .contact-form-section { padding: 56px 0; }
    .products-section { padding: 24px 0 40px; }
    .sec-title { margin-bottom: 32px; }
    .sec-title h2, .white-bread-section h2, .prety-section h2 { font-size: 30px; line-height: 1.3; }
    .bread-block { flex: 0 0 50%; max-width: 50%; padding: 0 8px; margin-bottom: 28px; }
    .bread-block .inner-box .image { width: 100%; max-width: 210px; height: auto; }
    .bread-block .inner-box .image img { display: block; width: 100%; height: auto; }
    .bread-block .inner-box .lower-content { padding-top: 16px; }
    .bread-block .inner-box .lower-content h5 { margin-bottom: 0; font-size: 19px; line-height: 1.4; }
    .bread-block .lower-content a { display: inline-block; padding: 6px 0; }
    .white-bread-section .content-column h2 { margin-bottom: 24px; }
    .white-bread-section .content-column .text { margin-bottom: 24px; }
    .white-bread-section .content-column .text p { font-size: 17px; line-height: 1.8; }
    .white-bread-section .image-column .inner-column { margin: 8px 0 0; padding: 0; text-align: center; }
    .white-bread-section .image-column .inner-column img { width: 360px; max-width: 100%; height: auto; }
    .prety-section .content-column .image { text-align: center; }
    .prety-section .content-column .text, .prety-section .lower-box .text,
    .product-block .inner-box .lower-content .text { text-align: left !important; line-height: 1.8; }
    .prety-section .lower-box .column + .column { margin-top: 32px; }
    .prety-section .lower-box { margin-top: 24px; }
    .prety-section .image-column .inner-column { max-width: 370px; margin: 0 auto; }
    .prety-section .content-column .image img { display: block; width: 530px; max-width: 100%; margin: 0 auto; }
    .single-bread-section .content .image { margin-bottom: 28px; }
    .single-bread-section .content .image img { width: 100%; height: auto; }
    .single-bread-section .content h2 { margin-top: 0; font-size: 28px; line-height: 1.4; letter-spacing: 2px; }
    .product-block { margin-bottom: 44px; }
    .product-block:last-child { margin-bottom: 0; }
    .product-block .inner-box .image { margin-bottom: 24px; }
    .product-block .inner-box .image img { width: 218px; max-width: 100%; height: auto; }
    .product-block .inner-box .lower-content .text { font-size: 17px; padding: 0; margin-bottom: 0; }
    .product-block .inner-box::before { display: none; }

    /* Two balanced photo columns; the existing lightbox keeps every full photo. */
    .tb-gallery { margin: 12px -6px 0; }
    .tb-gallery > .image-column { flex: 0 0 50%; max-width: 50%; padding: 0 6px; margin-bottom: 12px; }
    .tb-gallery .image { overflow: hidden; border-radius: 6px; }
    .tb-gallery .image a, .tb-gallery .image img { display: block; width: 100%; height: auto; }
    .featured-section, .testimonial-section { padding: 48px 0; }
    .feature-block .inner-box { padding: 0; }
    .feature-block .inner-box .text { line-height: 1.8; }
    .testimonial-block .inner-box .content-column .text { font-size: 21px; line-height: 1.65; }
    .clients-section .inner-container { padding: 32px 0; }

    .contact-info-section .info-column { margin-bottom: 12px; }
    .contact-info-section .info-list li { padding-left: 64px; }
    .contact-info-section .info-column .info-list li .icon { position: absolute; left: 0; top: 0; width: 44px; height: 44px; line-height: 44px; }
    .contact-info-section .info-column .info-list li strong { margin-bottom: 10px; }
    .contact-info-section .map-column { margin-bottom: 0; }
    .contact-info-section .map-column iframe { display: block; height: 320px; }
    .contact-form-section .title-box { margin-bottom: 28px; }
    .contact-form-section .title-box h3 { margin-bottom: 14px; line-height: 1.35; }
    .contact-form-section .title-box h4 { font-size: 21px; line-height: 1.5; }
    .contact-form-section .image-column { margin-top: 12px; margin-bottom: 0; }
    .contact-form-section .image-column .image { max-width: 420px; margin: 0 auto; border-width: 6px; }
    .contact-form .form-group label { display: block; }
    .contact-form .theme-btn { width: 100%; }

    /* Use the full footer width, with navigation and hours side by side. */
    .main-footer { padding: 44px 0 16px; }
    .main-footer .pattern-layer-four { opacity: .15; pointer-events: none; }
    .main-footer .widgets-section { padding-bottom: 8px; }
    .main-footer .footer-column { flex: 0 0 100%; max-width: 100%; }
    .main-footer .footer-widget { margin-bottom: 32px; }
    .main-footer .logo-widget, .main-footer .contact-widget { text-align: center; }
    .main-footer .logo-widget .logo { margin-bottom: 18px; }
    .main-footer .logo-widget .text { max-width: none; margin: 0 0 16px; }
    .main-footer .social-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; }
    .main-footer .social-box li { margin: 0; }
    .main-footer .social-box li a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; }
    .main-footer .links-widget { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); border-bottom: 1px solid rgba(255,255,255,.12); }
    .main-footer .links-widget h5 { margin-bottom: 20px; }
    .main-footer .links-widget > .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 20px; margin: 0; }
    .main-footer .links-widget > .row::after { display: none; }
    .main-footer .links-widget .column { width: 100%; max-width: none; padding: 0; }
    .main-footer .list-link li { margin-bottom: 2px; }
    .main-footer .list-link a { display: inline-block; padding: 8px 0; font-size: 15px; line-height: 1.5; }
    .main-footer .time-list li { font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
    .main-footer .time-list li:last-child { margin-bottom: 0; }
    .main-footer .contact-widget h5 { margin-bottom: 12px; }
    .main-footer .contact-widget .phone { font-size: 22px; }
    .main-footer .footer-bottom { padding: 20px 0 8px; text-align: center; line-height: 1.7; }
    .main-footer .footer-bottom .pull-left, .main-footer .footer-bottom .pull-right { float: none; }
    .main-footer .footer-bottom .pull-right { margin-top: 12px; }
    .main-footer .footer-bottom .copyright { font-size: 14px; }
}

@media only screen and (max-width: 479px) {
    .banner-section .tb-artisan > .col-4,
    .banner-section .tb-artisan > .col-8 { flex: 0 0 100%; max-width: 100%; }
    .banner-section .tb-artisan > .col-4 { margin: 8px 0 20px; }
    .banner-section .tb-artisan img { width: 180px; }
}

/* Open the mobile drawer immediately; the backdrop fades in at the same time. */
.mobile-menu {
    opacity: 1;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 220ms;
}
.mobile-menu-visible .mobile-menu {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}
.mobile-menu .menu-backdrop,
.mobile-menu-visible .mobile-menu .menu-backdrop {
    transform: none;
    background: rgba(0, 0, 0, .48);
    transition: opacity 180ms ease-out;
}
.mobile-menu .menu-backdrop { opacity: 0; }
.mobile-menu-visible .mobile-menu .menu-backdrop { opacity: 1; }
.mobile-menu .menu-box,
.mobile-menu-visible .mobile-menu .menu-box {
    opacity: 1;
    overscroll-behavior: contain;
}
.mobile-menu .menu-box {
    visibility: hidden;
    transform: translateX(101%);
    transition: transform 220ms cubic-bezier(.22, .68, 0, 1), visibility 0s linear 220ms;
}
.mobile-menu-visible .mobile-menu .menu-box {
    visibility: visible;
    transform: translateX(0);
    transition: transform 220ms cubic-bezier(.22, .68, 0, 1), visibility 0s;
}
.mobile-menu .close-btn,
.mobile-menu-visible .mobile-menu .close-btn {
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    padding: 0;
    line-height: 44px;
    transform: none;
    transition: opacity 180ms ease-out;
}
.mobile-menu .close-btn { opacity: 0; }
.mobile-menu-visible .mobile-menu .close-btn { opacity: 1; }
.mobile-menu .nav-logo { padding-right: 68px; }

@media (prefers-reduced-motion: reduce) {
    .mobile-menu,
    .mobile-menu-visible .mobile-menu,
    .mobile-menu .menu-backdrop,
    .mobile-menu-visible .mobile-menu .menu-backdrop,
    .mobile-menu .menu-box,
    .mobile-menu-visible .mobile-menu .menu-box,
    .mobile-menu .close-btn,
    .mobile-menu-visible .mobile-menu .close-btn { transition: none; }
}
