@media only screen and (min-width: 1200px) and (max-width: 1500px) {

    /*============= Home Four ==============*/

    .single-service-style2 .img-box .overlay-content {
        bottom: 0px;
        transform: translateY(88px);
    }

    .single-service-style2:hover .img-box .overlay-content {
        transform: translateY(-30px);
    }




}

/* Menu fixes: main-menu-style1__left submenu alignment and wide horizontal dropdown */
@media (min-width: 992px) {
  /* Center first-level dropdown under parent to avoid offset */
  .main-menu-style1__left .main-menu__list > li > ul,
  .stricky-header .main-menu__list > li > ul,
  .main-menu .main-menu__list > li > ul {
    left: 50% !important;
    top: 100% !important;
    transform-origin: top center !important;
    transform: translateX(-50%) scale(1, 0) !important;
  }
  .main-menu-style1__left .main-menu__list > li:hover > ul,
  .stricky-header .main-menu__list > li:hover > ul,
  .main-menu .main-menu__list > li:hover > ul {
    transform: translateX(-50%) scale(1) !important;
  }
}

@media (min-width: 992px) {
  /* Second-to-last item: horizontal mega-like layout to fit content */
  .main-menu-style1__left .main-menu__list > li:nth-last-child(2) > ul,
  .stricky-header .main-menu__list > li:nth-last-child(2) > ul,
  .main-menu .main-menu__list > li:nth-last-child(2) > ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 0;
    left: auto !important;
    right: 0 !important;
    max-width: 90vw;
    min-width: 360px;
    white-space: nowrap;
    padding: 8px 12px !important;
    transform-origin: top right !important;
    transform: translateX(0) scale(1, 0) !important;
  }
  .main-menu-style1__left .main-menu__list > li:nth-last-child(2):hover > ul,
  .stricky-header .main-menu__list > li:nth-last-child(2):hover > ul,
  .main-menu .main-menu__list > li:nth-last-child(2):hover > ul {
    transform: translateX(0) scale(1) !important;
  }
  .main-menu-style1__left .main-menu__list > li:nth-last-child(2) > ul > li,
  .stricky-header .main-menu__list > li:nth-last-child(2) > ul > li,
  .main-menu .main-menu__list > li:nth-last-child(2) > ul > li {
    display: block;
    width: auto !important;
    padding: 0 12px;
    flex: 0 0 auto !important;
    -webkit-box-flex: 0 !important;
  }
  .main-menu-style1__left .main-menu__list > li:nth-last-child(2) > ul > li > ul,
  .stricky-header .main-menu__list > li:nth-last-child(2) > ul > li > ul,
  .main-menu .main-menu__list > li:nth-last-child(2) > ul > li > ul {
    position: static !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-width: 0 !important;
    border: 0 !important;
  }
  /* Remove vertical separators inside the horizontal panel */
  .main-menu .main-menu__list > li:nth-last-child(2) > ul > li > a,
  .stricky-header .main-menu__list > li:nth-last-child(2) > ul > li > a,
  .main-menu-style1__left .main-menu__list > li:nth-last-child(2) > ul > li > a {
    border-top: 0 !important;
    padding: 10px 0 !important;
  }
}

@media only screen and (min-width: 1200px) and (max-width: 1400px) {
    .main-slider-style5__shape1 {
        display: none;
    }

    .main-slider-style5 .image-layer::after {
        left: -300px;
    }



}




/* Medium screen  */
@media only screen and (min-width: 992px) and (max-width: 1199px) {


    /*======== Home One =========*/
    .fact-counter-style1 {
        border-bottom: none;
    }

    .fact-counter-style1 .row {
        justify-content: center;
    }

    .fact-counter-style1 .row li {
        border-bottom: 1px solid #373a3c;
    }

    .fact-counter-style1 .row li:nth-child(3) {
        border-left: none;
    }


    .service-style1 .row {
        justify-content: center;
    }



    .about-style1__img {
        max-width: 100%;
    }

    .about-style1__img .img-box {
        width: 100%;
    }

    .about-style1__img .awards-box {
        margin-top: 0px;
        margin-left: 0px;
    }

    .about-style1__content {
        padding-top: 60px;
        max-width: 100%;
    }

    .about-style1__content-right {
        margin-left: 0;
        max-width: 100%;
        margin: 50px auto 0;
    }



    .banner-style1 .row {
        justify-content: center;
    }



    .pricing-style1__content-img {
        left: auto;
        bottom: -30px;
        right: -100px;
    }

    .pricing-style1__steps {
        margin-top: 70px;
    }



    .choose-style1__content {
        padding: 132px 0px 133px;
        margin-right: 0;
    }

    .choose-style1__content11 {
        margin-left: 0px;
    }

    .single-choose-style1::before {
        right: -235px;
    }

    .single-choose-style1--style1::before {
        left: -235px;
    }

    .single-choose-style1 {
        padding-right: 0;
    }

    .single-choose-style1--style1 {
        padding-left: 0px;
    }

    .single-choose-style1 .icon {
        right: 0;
    }

    .single-choose-style1--style1 .icon {
        left: 0px;
    }

    .choose-style1__img {
        margin: 0px 0px 0px;
        padding-top: 0px;
    }

    .choose-style1__inner .container {
        max-width: 750px;
    }



    .blog-style1 .row {
        justify-content: center;
    }

    .single-blog-style1 {
        margin-bottom: 30px;
    }



    .single-book-event-style1 ul li {
        padding-left: 15px;
    }

    .single-book-event-style1 ul li .duration-box .left-title h3 {
        font-size: 14px;
    }

/* --- small overrides: ensure template-inserted woosc button positions and color --- */
/* 修复 obw-tools 定位问题：确保在 obw-card 和 bc-card 中都正确定位 */
.obw-card,
.bc-card,
.card{ position: relative !important; }

.obw-card .obw-tools,
.bc-card > .obw-tools,
.card > .obw-tools{ 
    position:absolute !important; 
    top:8px !important; 
    right:8px !important; 
    left: auto !important;
    bottom: auto !important;
    display:flex !important; 
    gap:6px !important; 
    z-index:10 !important; 
    transform: none !important;
    margin: 0 !important;
}

.obw-card .obw-tools .woosc-clone,
.bc-card .obw-tools .woosc-clone,
.card .obw-tools .woosc-clone{ display:inline-flex; align-items:center; justify-content:center; }

.obw-card .obw-tools .woosc-clone svg,
.obw-card .obw-tools .woosc-clone path,
.bc-card .obw-tools .woosc-clone svg,
.bc-card .obw-tools .woosc-clone path,
.card .obw-tools .woosc-clone svg,
.card .obw-tools .woosc-clone path{ fill: #ff4b0c !important; stroke: #ff4b0c !important; color:#ff4b0c !important; }

.obw-card .obw-tools .woosc-clone a,
.bc-card .obw-tools .woosc-clone a,
.card .obw-tools .woosc-clone a{ color:#ff4b0c !important; }

/* Homepage: give each tool icon its own small white chip */
.home .obw-card .obw-tools a,
.home .obw-card .obw-tools button,
.home .obw-card .obw-tools .woosc-clone a,
.home .obw-card .obw-tools .woosw-btn,
.home .obw-card .obw-tools .woosc-btn,
.home .bc-card .obw-tools a,
.home .bc-card .obw-tools button,
.home .bc-card .obw-tools .woosc-clone a,
.home .bc-card .obw-tools .woosw-btn,
.home .bc-card .obw-tools .woosc-btn,
.home .card .obw-tools a,
.home .card .obw-tools button,
.home .card .obw-tools .woosc-clone a,
.home .card .obw-tools .woosw-btn,
.home .card .obw-tools .woosc-btn{
    background:#fff !important;
    border-radius:8px !important;
    padding:6px !important;
    display:inline-flex !important;
    align-items:center; justify-content:center;
    line-height:1; min-width:28px; min-height:28px;
    box-shadow:0 8px 22px rgba(0,0,0,0.12);
}
.home .obw-card .obw-tools a svg,
.home .obw-card .obw-tools button svg,
.home .obw-card .obw-tools .woosc-clone a svg,
.home .bc-card .obw-tools a svg,
.home .bc-card .obw-tools button svg,
.home .bc-card .obw-tools .woosc-clone a svg,
.home .card .obw-tools a svg,
.home .card .obw-tools button svg,
.home .card .obw-tools .woosc-clone a svg{ width:18px; height:18px; }


    .single-book-event-style1 ul li .duration-box .left-title .title h3 {
        font-size: 14px;
    }



    .testimonial-style1-inner {
        padding-left: 150px;
        padding-right: 150px;
    }



    .footer-main {
        padding: 120px 0px 50px;
    }

    .footer-main .single-widget {
        margin-bottom: 60px;
    }



    /*======== Home Two =========*/
    .welcome-style1__content {
        padding-right: 0;
        margin-left: 40px;
    }



    .single-process-style1 {
        margin-left: 0px;
    }

    .single-process-style1 .content-box {
        padding: 49px 50px 60px;
    }




    .choose-style2 .row {
        justify-content: center;
    }

    li:nth-child(2) .single-choose-style2::before {
        display: none;
    }



    .testimonial-style2 .container {
        max-width: 750px;
    }

    .testimonials-style2-img {
        margin-right: 0px;
    }

    .testimonials-style2-content {
        padding-top: 70px;
    }




    .contact-style1__bg {
        display: none;
    }

    .contact-style1__inner .big-title {
        display: none;
    }

    .contact-style1__form {
        padding: 140px 0px 0px;
        padding-right: 0px;
    }

    .contact-style1__form::before {
        display: none;
    }

    .contact-style1__right {
        padding: 70px 0px 140px;
    }



    .footer-main-style2 {
        padding: 110px 0px 41px;
    }

    .footer-main-style2 .single-widget {
        margin-bottom: 60px;
    }

    .single-footer-widget.pl55 {
        padding-left: 0;
    }





    /*======== Home Three =========*/
    .single-service-style3 .content-box .title h3 a br {
        display: none;
    }



    .training-academy-style1__img {
        margin-right: 0px;
    }




    .single-pricing-style2 .top-box::before {
        display: none;
    }

    .single-pricing-style2 .top-box::after {
        display: none;
    }




    .choose-style3__fact {
        margin-top: 0;
    }

    .choose-style3__fact-inner {
        margin-left: 0;
        padding: 42px 50px 0px;
        clip-path: none;
    }

    .choose-style3__fact::before {
        left: -160px;
    }

    .choose-style3__img {
        margin-right: 0;
    }

    .choose-style3__content {
        padding: 85px 0px 85px;
        padding-left: 100px;
    }

    .choose-style3__img1 {
        display: none;
    }

    .choose-style3__img2 {
        display: none;
    }

    .choose-style3__img .content-box {
        right: -110px;
    }

    .choose-style3__img .inner {
        margin-left: -220px;
    }




    .project-style2__gun-bullets {
        display: none;
    }

    .project-style2 .row {
        justify-content: center;
    }



    .single-club-offerings .title-box {
        max-width: 190px;
    }

    .single-club-offerings .text-box {
        margin-left: 0;
        max-width: 417px;
    }



    .single-blog-style3 .content-box {
        padding-top: 30px;
    }

    .single-blog-style3 .content-box .meta-box {
        margin-left: 0;
    }



    .footer-main-style3 {
        padding: 80px 0px 14px;
    }

    .footer-main-style3 .single-widget {
        margin-bottom: 60px;
    }

    .footer-widget-links.footer-widget-links--style3 {
        padding-top: 9px;
    }



    /*======== Home Four =========*/
    .team-style1--style2 .row {
        justify-content: center;
    }

    .banner-style2__content {
        padding-left: 340px;
    }

    .banner-style2__icon {
        right: 10px;
        bottom: 10px;
    }



    .footer-main-style4 .single-widget {
        margin-bottom: 60px;
    }

    .footer-middle-style2 ul {
        display: block;
        text-align: center;
    }

    .footer-middle-style2 ul li {
        display: inline-block;
        margin: 0 10px 10px;
    }

    .footer-middle-style2 ul li+li {
        margin-left: 10px;
    }

    .bottom-inner-style4 {
        margin-left: -50px;
        margin-right: -50px;
    }





    /*======== Home Five =========*/
    .choose-style1--style2 .shape1 {
        display: none;
    }

    .choose-style1__img--style2 {
        min-height: auto;
    }

    .choose-style1__content--style2 {
        padding: 0px 0px 0px;
    }

    .choose-style1__img--style2 .inner {
        top: -15px;
    }


    .blog-style4__content {
        max-width: 570px;
        padding-bottom: 56px;
    }



    .footer-main-style5 {
        padding: 140px 0px 73px;
    }

    .footer-main-style5 .single-widget {
        margin-bottom: 60px;
    }

    .footer-widget-links--style2 {
        padding-top: 9px;
    }



    /*======== Services Details Pages =========*/
    .premier-services-style1 {
        padding: 34px 55px 67px;
    }

    .sidebar-style1 {
        margin-right: 0;
        max-width: 770px;
        margin-top: 93px;
    }

    .single-sidebar-style1 .download-box ul li .title h3 a br {
        display: none;
    }



    /*======== Event Details =========*/
    .events-details-content-provisions .provisions-box::before {
        display: none;
    }

    .events-details-content-provisions .provisions-box ul:last-child {
        margin-top: 30px;
    }

    .events-details-content-provisions .provisions-box ul {
        max-width: 350px;
    }



    /*======== Shop Details =========*/
    .related-products .row {
        justify-content: center;
    }


    /*======== Account =========*/
    .login-form__inner {
        padding: 37px 30px 60px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    }

    /* 注册区所有文本输入框背景设为白色（假定注册区有 .register-form__inner 或 .register-form 包裹） */
    .register-form__inner input[type="text"],
    .register-form__inner input[type="email"],
    .register-form__inner input[type="password"],
    .register-form input[type="text"],
    .register-form input[type="email"],
    .register-form input[type="password"] {
        background: #fff !important;
        border-radius: 8px;
        box-shadow: 0 1px 6px rgba(0,0,0,0.03);
    }



    /*======== About =========
  ======== Achivements Style1 =========*/
    .achivements-style1__img {
        margin-top: 33px;
    }


    /*======== Blog-1 =========*/
    .blog-page-one .row {
        justify-content: center;
    }



    /*======== Blog-2 =========*/



    /*======== Blog-3 =========*/
    .blog-page-three .row {
        justify-content: center;
    }



    /*======== Blog-4 =========*/
    .blog-details__sidebar {
        margin-left: 0px;
    }



    /*======== 404 =========*/
    .error-page__img {
        position: absolute;
        right: 20%;
    }


    /*======== Contact =========*/
    .contact-style2 .row {
        justify-content: center;
    }

    .main-contact-form__inner-box .big-title {
        display: none;
    }



    .single-events-classes-info-box ul::before {
        left: 350px;
    }

    .single-events-classes-info-box ul::after {
        right: 285px;
    }

    .single-events-classes-info-box::before {
        right: 70px;
    }



    .pricing-style1-form__img-box {
        margin-right: 0;
    }

    .pricing-style1-form__box {
        margin-left: 0;
    }






















































}









/* Tablet Layout: 768px. */
@media only screen and (min-width: 768px) and (max-width: 991px) {

    /*======== Default Css =========*/
    .sec-title p br {
        display: none;
    }

    .coming-soon-page-style1 {
        height: auto !important;
        padding: 110px 0 120px;
    }

    .coming-soon-page-style1__content .big-title {
        font-size: 50px;
        line-height: 60px;
    }

    .timer-box .countdown-timer li {
        float: none;
    }

    .timer-box .countdown-timer li+li {
        margin-top: 20px;
    }

    .coming-soon-page-style1__content {
        top: 0%;
        transform: translateY(0%);
    }

    .subscribe-box-style1 {
        max-width: 370px;
    }

    .subscribe-box-style1 form input[type="email"] {
        padding-left: 30px;
        padding-right: 30px;
    }

    .subscribe-box-style1 form button {
        position: relative;
        top: 0px;
        left: 0;
        right: 0px;
        bottom: 0px;
        width: 100%;
        margin-top: 20px;
    }

    .project-menu-box ul li span {
        font-size: 13px;
        padding: 17px 17px 17px;
    }

    .project-menu-box li .count {
        top: 6px;
        right: 8px;
        font-size: 12px;
        line-height: 12px;
        font-weight: 400;
    }



    /*======== Home One =========*/
    .fact-counter-style1 {
        border-bottom: none;
    }

    .fact-counter-style1 .row {
        justify-content: center;
    }

    .fact-counter-style1 .row li {
        border-bottom: 1px solid #373a3c;
    }

    .fact-counter-style1 .row li+li {
        border-left: none;
    }

    .single-fact-counter-style1 {
        max-width: 520px;
        margin: 0 auto;
    }




    .service-style1 .row {
        justify-content: center;
    }



    .about-style1__img {
        max-width: 570px;
        margin: 0 auto;
    }

    .about-style1__img .img-box {
        width: 100%;
    }

    .about-style1__img .awards-box {
        margin-top: 0px;
        margin-left: 0px;
        width: 100%;
    }

    .about-style1__content {
        padding-top: 60px;
        max-width: 570px;
        margin: 0 auto;
    }

    .about-style1__content-right {
        margin-left: 0;
        max-width: 570px;
        margin: 50px auto 0;
        padding-top: 40px;
        padding-bottom: 33px;
    }

    .about-style1__content .text {
        padding-right: 0px;
    }

    .about-style1__content .list-item {
        margin-top: 40px;
    }



    .banner-style1 .row {
        justify-content: center;
    }




    .pricing-style1__content-img {
        left: auto;
        bottom: -30px;
        right: -100px;
    }

    .pricing-style1__steps {
        margin-top: 70px;
    }




    .choose-style1__content {
        padding: 132px 0px 133px;
        margin-right: 0;
    }

    .choose-style1__content11 {
        margin-left: 0px;
    }

    .single-choose-style1::before {
        right: -235px;
    }

    .single-choose-style1--style1::before {
        left: -235px;
    }

    .single-choose-style1 {
        padding-right: 0;
    }

    .single-choose-style1--style1 {
        padding-left: 0px;
    }

    .single-choose-style1 .icon {
        right: 0;
    }

    .single-choose-style1--style1 .icon {
        left: 0px;
    }

    .choose-style1__img {
        margin: 0px 0px 0px;
        padding-top: 0px;
    }

    .choose-style1__inner .container {
        max-width: 550px;
    }




    .blog-style1__top {
        display: block;
    }

    .blog-style1__top .btn-box a {
        margin-top: 33px;
    }

    .blog-style1 .row {
        justify-content: center;
    }

    .single-blog-style1 {
        margin-bottom: 30px;
    }

    .single-blog-style1 .content-box {
        padding: 25px 25px 22px;
    }

    .single-blog-style1 .content-box .title h3 a br {
        display: none;
    }



    .single-book-event-style1 ul {
        flex-direction: column;
        padding: 30px 20px 30px;
    }

    .single-book-event-style1 ul .date-box {
        margin-bottom: 30px;
    }

    .single-book-event-style1 ul li {
        max-width: 280px;
        width: 100%;
        padding-left: 0px;
        margin-bottom: 30px;
    }

    .single-book-event-style1 ul li:last-child {
        margin-bottom: 0;
    }

    .single-book-event-style1 ul li::before {
        display: none;
    }

    .single-book-event-style1 ul .btn-box {
        align-items: center;
        justify-content: center;
    }



    .testimonial-style1-inner {
        padding-left: 0px;
        padding-right: 0px;
    }

    .testimonial-style1-rating {
        position: relative;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        margin-top: 50px;
    }

    .testimonial-style1-rating-right {
        margin-top: 30px;
    }

    .testimonial-style1-carousel .owl-nav {
        position: relative;
        top: 0%;
        left: 0;
        right: 0;
        transform: translateY(0%);
        width: 260px;
        margin: 41px auto 0;
    }

    .testimonial-style1__box {
        display: none;
    }



    .footer-main {
        padding: 120px 0px 50px;
    }

    .footer-main .single-widget {
        margin-bottom: 60px;
    }

    .footer-bottom .bottom-inner {
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    .copyright-text {
        margin-bottom: 30px;
        text-align: center;
    }

    .copyright-text p br {
        display: none;
    }

    .footer-menu {
        margin-top: 30px;
        max-width: 570px;
        width: 100%;
    }

    .footer-menu ul {
        overflow: hidden;
        text-align: center;
    }

    .footer-menu ul li {
        display: inline-block;
        float: none;
        margin: 0 20px;
    }

    .footer-menu ul li+li {
        margin-left: 20px;
        margin-right: 20px;
    }

    .footer-menu ul li:last-child {
        margin-left: 20px;
        margin-right: 20px;
    }




    /*======== Home Two =========*/
    .welcome-style1 .row {
        justify-content: center;
    }

    .welcome-style1__content {
        padding-right: 0;
    }

    .welcome-style1__list-item {
        margin-top: 43px;
    }



    .process-style1__tab-btn ul {
        padding: 0px 0px 0px;
        border-left: 0px solid transparent;
        margin-right: -75px;
    }

    .process-style1__tab-btn ul li::before {
        display: none;
    }

    .single-process-style1 {
        margin-left: 70px;
        padding-left: 70px;
    }

    .single-process-style1 .content-box {
        padding: 14px 25px 25px;
    }



    .choose-style2 .row {
        justify-content: center;
    }

    li:nth-child(2) .single-choose-style2::before {
        display: none;
    }

    .single-choose-style2 .content-box p br {
        display: none;
    }




    .team-style1 .sec-title {
        padding-bottom: 169px;
    }

    .team-style1 .sec-title.pdb50 {
        padding-bottom: 50px;
    }

    .team-style1-carousel.owl-nav-style-one.owl-theme .owl-nav {
        left: 0;
    }


    .testimonials-style2-img {
        margin-right: 0px;
    }

    .testimonials-style2-content {
        padding-top: 70px;
    }




    .contact-style1__bg {
        display: none;
    }

    .contact-style1__inner .big-title {
        display: none;
    }

    .contact-style1__form {
        padding: 140px 0px 0px;
        padding-right: 0px;
    }

    .contact-style1__form::before {
        display: none;
    }

    .contact-style1__right {
        padding: 70px 0px 140px;
    }



    .footer-main-style2 {
        padding: 110px 0px 41px;
    }

    .footer-main-style2 .single-widget {
        margin-bottom: 60px;
    }

    .single-footer-widget.pl55 {
        padding-left: 0;
    }

    .bottom-inner-style2 {
        align-items: center;
        justify-content: center;
        flex-direction: column;
        text-align: center;
    }

    .copyright-text-style2 {
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        margin-bottom: 18px;
    }



    /*======== Home Three =========*/
    .service-style3 .container {
        max-width: 770px;
    }

    .single-service-style3 .content-box .title h3 a br {
        display: none;
    }


    .training-academy-style1__img {
        margin-right: 0px;
    }

    .training-academy-style1__content {
        margin-top: 70px;
    }



    .single-pricing-style2 .top-box::before {
        top: 25px;
        left: 61px;
    }

    .single-pricing-style2 .top-box::after {
        top: 25px;
        right: 61px;
    }

    .single-pricing-style2--style2 {
        margin-top: 50px;
    }





    .choose-style3__img1 {
        display: none;
    }

    .choose-style3__img2 {
        display: none;
    }

    .choose-style3__img {
        margin-right: 0;
    }

    .choose-style3__img .inner {
        margin-left: -85px;
    }

    .choose-style3__fact {
        margin-top: 0;
    }

    .choose-style3__fact-inner {
        margin-left: -30px;
        padding: 43px 15px 0px;
        clip-path: none;
        margin-right: -30px;
    }

    .choose-style3__fact::before {
        left: -160px;
    }

    .choose-style3__content {
        padding: 85px 0px 60px;
    }





    .project-style2__gun-bullets {
        display: none;
    }

    .project-style2 .row {
        justify-content: center;
    }



    .single-club-offerings .title-box {
        max-width: 185px;
    }

    .single-club-offerings .text-box {
        margin-left: 50px;
        max-width: 220px;
    }



    .single-blog-style3 .content-box {
        padding-top: 30px;
    }

    .single-blog-style3 .content-box .meta-box {
        display: block;
        margin-left: 0;
    }

    .single-blog-style3 .content-box .meta-box .meta-info {
        padding-left: 0px;
        margin-top: 15px;
    }

    .single-blog-style3 .content-box .title-box {
        padding-top: 13px;
    }



    .footer-main-style3 {
        padding: 80px 0px 14px;
    }

    .footer-main-style3 .single-widget {
        margin-bottom: 60px;
    }

    .footer-widget-links.footer-widget-links--style3 {
        padding-top: 9px;
    }

    .bottom-inner-style3 {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .copyright-text-style3 {
        margin-bottom: 10px;
    }

    .footer-top-style2__inner {
        display: block;
        padding: 30px 0px 30px;
    }

    .footer-top-style2__inner .icon {
        display: none;
    }

    .footer-menu-style2 ul {
        display: block;
    }

    .footer-menu-style2 ul li+li {
        margin-left: 10px;
    }

    .footer-menu-style2 ul li {
        margin: 0 10px;
    }




    /*======== Home Four =========*/
    .team-style1--style2 .row {
        justify-content: center;
    }


    .banner-style2__content {
        padding-left: 0px;
    }

    .banner-style2__icon {
        display: none;
    }

    .banner-style2__content .text-box h2 {
        font-size: 30px;
    }

    .banner-style2__content .discount-box {
        display: block;
    }

    .banner-style2__content .discount-box .big-title {
        font-size: 80px;
        margin-bottom: 30px;
    }

    .banner-style2__content .discount-box h3 {
        left: 0px;
        font-size: 20px;
        line-height: 30px;
    }

    .banner-style2__content .discount-box h3 br {
        display: none;
    }

    .single-service-style2 {
        max-width: 370px;
        margin: 0 auto 30px;
    }




    .footer-main-style4 {
        padding: 140px 0px 30px;
    }

    .footer-bottom-style4 {
        padding: 22px 0px 30px;
    }

    .footer-main-style4 .single-widget {
        text-align: center;
        margin-bottom: 60px;
    }

    .footer-middle-style2 ul {
        display: block;
        text-align: center;
    }

    .footer-middle-style2 ul li {
        display: inline-block;
        margin: 0 10px 10px;
    }

    .footer-middle-style2 ul li+li {
        margin-left: 10px;
    }

    .bottom-inner-style4 {
        flex-direction: column;
        justify-content: center;
    }

    .bottom-inner-style4-middle {
        position: relative;
        display: flex;
        flex-direction: column;
        width: 300px;
        background-color: var(--thm-black-bg);
        clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
        margin: 20px auto 28px;
        padding: 30px 0px 25px;
    }

    .footer-logo-style4 {
        top: 0;
        margin-bottom: 15px;
    }

    .copyright-text-style4 {
        margin-left: 0px;
        padding-left: 0px;
        top: 0px;
        text-align: center;
    }

    .copyright-text-style4::before {
        display: none;
    }

    .footer-menu-style3 ul li+li {
        margin-left: 15px;
    }



    /*======== Home Five =========*/
    .pricing-style3 .sec-title {
        padding-bottom: 170px;
    }

    .pricing-style3-carousel.owl-nav-style-one.owl-theme .owl-nav {
        left: 0;
    }



    .single-choose-style1--style2 .icon::before {
        left: -230px;
        width: 230px;
    }

    .single-choose-style1--style2.style .icon::before {
        right: -230px;
        width: 230px;
    }

    .choose-style1__content--style2 {
        max-width: 300px;
        margin: 0 auto;
        padding: 0px 0px 70px;
    }

    .choose-style1__content--style2.style {
        max-width: 300px;
        margin: 0 auto;
        padding: 70px 0px 70px;
    }

    .choose-style1__img--style2 .inner {
        position: relative;
        top: 0;
    }

    .choose-style1--style2 .shape1 {
        display: none;
    }



    .pricing-style1--style5__inner .sec-title {
        padding-bottom: 119px;
    }

    .pricing-style1__switch-toggle {
        right: auto;
        top: 140px;
        left: 0;
    }

    .pricing-style1--style5__inner .tabed-content {
        height: auto;
    }

    .single-pricing-box {
        margin-bottom: 40px;
    }

    .pricing-style1--style5__btn {
        padding-top: 20px;
    }



    .blog-style4__content {
        padding-bottom: 56px;
    }

    .single-blog-style4 .meta-box {
        display: block;
        margin-left: 0;
    }

    .single-blog-style4 .meta-box .date-box {
        margin-top: 15px;
        padding-left: 0px;
    }

    .single-blog-style4 .title-box {
        padding-top: 15px;
    }

    .single-blog-style4 .title-box h3 {
        font-size: 17px;
        line-height: 27px;
    }



    .footer-main-style5 {
        padding: 140px 0px 73px;
    }

    .footer-main-style5 .single-widget {
        margin-bottom: 60px;
    }

    .footer-widget-links--style2 {
        padding-top: 9px;
    }

    .bottom-inner-style5 {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .footer-menu-style4 {
        margin-top: 10px;
    }

    .footer-menu-style4 ul {
        display: block;
        text-align: center;
    }

    .footer-menu-style4 ul li {
        display: inline-block;
        margin: 0 10px;
    }

    .footer-menu-style4 ul li+li {
        margin-left: 10px;
    }



    /*======== Services Page One =========*/
    .services-overview__right {
        margin-top: 46px;
        top: 0;
    }


    /*======== Services 2 =========*/
    .single-service-style2 .img-box .overlay-content {
        transform: translateY(110px);
    }



    /*======== Services Details Pages =========*/
    .premier-services-style1 {
        padding: 34px 25px 67px;
    }

    .sidebar-style1 {
        margin-right: 0;
        max-width: 750px;
        margin-top: 73px;
    }

    .single-sidebar-style1 .download-box ul li .title h3 a br {
        display: none;
    }



    /*======== Event Details =========*/
    .events-details-content-provisions .provisions-box::before {
        display: none;
    }

    .events-details-content-provisions .provisions-box ul:last-child {
        margin-top: 30px;
    }

    .events-details-content-provisions .provisions-box ul {
        max-width: 350px;
    }

    .events-details-sidebar {
        max-width: 550px;
        margin: 53px 0 0;
    }

    .events-details-bottom {
        flex-direction: column;
    }

    .events-details-bottom .social-links {
        margin-top: 30px;
    }







    /*======== Shop =========*/

/* Homepage: Stock labels left-aligned, show green when In stock */
.home .bc-stock, .home .obw-stock, .home .stock {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
}
/* Color for in-stock = green; keep others via their own classes */
.home .bc-stock.is-in,
.home .obw-stock.is-in,
.home .stock.in-stock { color: #10b981 !important; }
/* 同步 Out of stock / Pre-sale 颜色 */
.home .bc-stock.is-out,
.home .obw-stock.is-out { color:#ef4444 !important; }
.home .bc-stock.is-pre,
.home .obw-stock.is-pre { color:#ff4b0c !important; }

/* Left-align testimonials section header */
.testimonials-style3 .sec-title{ text-align:left !important; }
.testimonials-style3 .sec-title .sub-title{ justify-content:flex-start; text-align:left; }
.testimonials-style3 .sec-title .sub-title .border-line{ margin-left:0; margin-right:auto; }
.testimonials-style3 .sec-title.text-center{ text-align:left !important; }
/* --------------------------------------------------------------------------
   Make product page internal section headings match "Our Best Sellers"
   (copy font-family, weight, sizes and responsive breakpoints)
   Applied to common product page selectors for Description / Specs / Box
   ----------------------------------------------------------------------- */
.product-details h2, .product-details h3, .product-details h4,
.woocommerce-tabs h2, .woocommerce-tabs h3, .woocommerce-tabs h4,
.epd-block-title, .epd-specs-title, .section-title, .heading,
.woocommerce #reviews #comments h2, .woocommerce .woocommerce-Reviews h2,
.product_meta .section-title {
    margin: 0 !important;
    color: var(--obw-black, #1a1a1a) !important;
    font-size: 56px !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    font-family: var(--thm-font-2, inherit) !important;
}
@media (max-width: 1199.98px){
  .product-details h2, .product-details h3, .product-details h4,
  .woocommerce-tabs h2, .woocommerce-tabs h3, .woocommerce-tabs h4,
  .epd-block-title, .epd-specs-title, .section-title, .heading,
  .woocommerce #reviews #comments h2, .woocommerce .woocommerce-Reviews h2,
  .product_meta .section-title { font-size: 48px !important; }
}
@media (max-width: 991.98px){
  .product-details h2, .product-details h3, .product-details h4,
  .woocommerce-tabs h2, .woocommerce-tabs h3, .woocommerce-tabs h4,
  .epd-block-title, .epd-specs-title, .section-title, .heading,
  .woocommerce #reviews #comments h2, .woocommerce .woocommerce-Reviews h2,
  .product_meta .section-title { font-size: 40px !important; }
}
@media (max-width: 767.98px){
  .product-details h2, .product-details h3, .product-details h4,
  .woocommerce-tabs h2, .woocommerce-tabs h3, .woocommerce-tabs h4,
  .epd-block-title, .epd-specs-title, .section-title, .heading,
  .woocommerce #reviews #comments h2, .woocommerce .woocommerce-Reviews h2,
  .product_meta .section-title { font-size: 32px !important; }
}

/* Color accent for span inside headings (match Our Best Sellers span color) */
.product-details h2 span, .section-title span, .heading span { color: var(--obw-orange, #ff4b0c) !important; }

    .products-style1__sidebar {
        margin-right: 0px;
    }



    /*======== Shop Details =========*/
    .related-products .row {
        justify-content: center;
    }

    .product-details__img {
        margin-right: 0px;
        margin-bottom: 50px;
    }




    /*======== Cart =========*/
    .cart-button-box {
        flex-direction: column;
    }

    .update-cart-btn-box {
        margin-top: 10px;
    }



    /*======== Checkout =========*/
    .product-details-info-box {
        margin-top: 50px;
    }



    /*======== Account =========*/
    .register-form {
        margin-top: 39px;
    }


    /*======== About =========
  ======== Achivements Style1 =========*/
    .achivements-style1__img {
        margin-top: 33px;
    }



    /*======== Blog-1 =========*/
    .blog-page_one .row {
        justify-content: center;
    }


    /*======== Blog-2 =========*/



    /*======== Blog-3 =========*/
    .blog-page_three .row {
        justify-content: center;
    }



    /*======== Blog-4 =========*/
    .blog-details__sidebar {
        margin-left: 0px;
        margin-top: 10px;
        max-width: 500px;
    }




    /*======== Blog Single =========*/
    .blog-details__content {
        margin-bottom: 50px;
    }



    /*======== Project-1 =========*/
    .project-filter {
        flex-direction: column;
    }


    /*======== Faq =========*/
    .faq-page-one__tab .tabs-content-box {
        margin-top: 65px;
    }



    /*======== 404 =========*/
    .error-page__img {
        position: absolute;
        right: 5%;
    }

    .error-page .content-box .title h2 {
        font-size: 70px;
    }


    /*======== Contact =========*/
    .contact-style2 .row {
        justify-content: center;
    }

    .single-contact-style2 {
        padding: 0px 35px 31px;
    }


    .main-contact-form__inner-box .big-title {
        display: none;
    }



    .breadcrumb-style1 .inner-content {
        padding: 1px 0px 90px;
    }




    /*======== Events Classes Style2 =========*/
    .events-classes__filter {
        align-items: center;
        justify-content: center;
        padding: 40px 40px 40px;
        flex-direction: column;
    }

    .events-classes__filter .left-box {
        margin-bottom: 27px;
    }

    .events-classes__filter .right-box {
        margin-top: 23px;
    }

    .events-classes-style2__tab-btn2 ul {
        display: block;
        text-align: center;
    }

    .events-classes-style2__tab-btn2 ul li {
        position: relative;
        display: inline-block;
        width: auto;
        margin-bottom: 10px;
    }

    .events-classes-style2__tab-btn2 ul li .single-week-box.one {
        width: auto;
    }

    .events-classes-style2__tab-btn2 ul li .single-week-box {
        padding: 17px 20px 18px;
    }

    .single-events-classes-info-box ul li {
        display: block;
        border-bottom: 1px solid var(--thm-border-color);
        padding-top: 22px;
        padding-bottom: 23px;
    }

    .single-events-classes-info-box::before {
        display: none;
    }

    .single-events-classes-info-box ul::before {
        display: none;
    }

    .single-events-classes-info-box ul::after {
        display: none;
    }

    .single-events-classes-info-box ul li .title-box {
        width: 100%;
        margin-bottom: 9px;
    }

    .single-events-classes-info-box ul li .time-box {
        width: 270px;
        padding: 0;
    }

    .single-events-classes-info-box ul li .value-box {
        padding: 0;
    }

    .single-events-classes-info-box ul li .btn-box {
        text-align: left;
    }

    .events-classes-info-box {
        width: 300px;
        margin: 0 auto;
    }




    .pricing-style1-form__img-box {
        margin-right: 0;
    }

    .pricing-style1-form__box {
        margin-left: 0;
    }

































}

/* Footer @1200–1399：第 1、2 列各 50% 且容器内居中（强化覆盖） */
@media (min-width:1200px) and (max-width:1399.98px){
  .footer-style1 .footer-single-line{
    display:flex !important; flex-wrap:wrap !important; justify-content:center !important;
  }
  /* 列宽与对齐 */
  .footer-style1 .footer-single-line > .single-widget:nth-child(1),
  .footer-style1 .footer-single-line > .single-widget:nth-child(2),
  .footer-style1 .footer-single-line > [class*="col-"]:nth-child(1),
  .footer-style1 .footer-single-line > [class*="col-"]:nth-child(2){
    flex:0 0 50% !important; max-width:50% !important;
    display:flex !important; justify-content:center !important;
  }
  /* 内层模块文本居中 */
  .footer-style1 .footer-single-line > .single-widget:nth-child(1) .single-footer-widget,
  .footer-style1 .footer-single-line > .single-widget:nth-child(2) .single-footer-widget,
  .footer-style1 .footer-single-line > [class*="col-"]:nth-child(1) .single-footer-widget,
  .footer-style1 .footer-single-line > [class*="col-"]:nth-child(2) .single-footer-widget{
    width:100% !important; text-align:center !important; margin:0 auto !important;
  }
  /* 标题：单行省略 + 居中 */
  .footer-style1 .footer-single-line > .single-widget:nth-child(1) .title h3,
  .footer-style1 .footer-single-line > .single-widget:nth-child(2) .title h3,
  .footer-style1 .footer-single-line > [class*="col-"]:nth-child(1) .title h3,
  .footer-style1 .footer-single-line > [class*="col-"]:nth-child(2) .title h3{
    white-space:nowrap !important; overflow:hidden !important; text-overflow:ellipsis !important;
    margin-left:auto !important; margin-right:auto !important; text-align:center !important;
  }
  /* 链接列表纵向 + 居中 */
  .footer-style1 .footer-single-line > .single-widget:nth-child(1) .footer-widget-links ul,
  .footer-style1 .footer-single-line > .single-widget:nth-child(2) .footer-widget-links ul,
  .footer-style1 .footer-single-line > [class*="col-"]:nth-child(1) .footer-widget-links ul,
  .footer-style1 .footer-single-line > [class*="col-"]:nth-child(2) .footer-widget-links ul{
    display:flex !important; flex-direction:column !important; align-items:center !important; justify-content:center !important;
  }
}

/* 修复：1200px-1366px 区间确保菜单正确显示 */
@media (min-width: 1200px) and (max-width: 1366px){
  /* 确保主 header 显示 */
  .main-header-style2{
    display: block !important;
  }
  
  /* 确保菜单行显示 */
  .main-header-style2__row2,
  .menu-wrapper-bottom{
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* 隐藏移动端按钮 */
  .mh2-search-right-slot{
    display: none !important;
  }
  
  /* 菜单居中 */
  .main-header-style2__row2 .main-menu__list{
    display: flex !important;
    justify-content: center !important;
    gap: 16px !important;
  }
  
  /* 确保菜单项可见 */
  .main-header-style2__row2 .main-menu__list > li{
    display: block !important;
    visibility: visible !important;
  }
}

/* 修复：992px-1366px PAD 区间 */
@media (min-width: 992px) and (max-width: 1366px){
  /* 隐藏桌面菜单 */
  .main-header-style2__row2{
    display: none !important;
  }
  
  /* 显示移动端按钮 */
  .mh2-search-right-slot{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* PAD 端移动菜单：纵向排列主菜单列表，避免横向排布 */
  .mobile-nav__content .main-menu__list{
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  
  /* 移动端按钮样式 */
  .mh2-search-right-slot .mobile-nav__toggler{
    display: inline-flex !important;
    width: 48px !important;
    height: 48px !important;
    background: #000 !important;
    border: 1px solid #fff !important;
    color: #fff !important;
    border-radius: 6px !important;
  }
}

/* PAD 端：移动菜单列表纵向排列，不影响 PC 端 */
@media (min-width: 768px) and (max-width: 1366px){
  .mobile-nav__content .main-menu__list{
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 8px !important;
  }
}

/* 修复：≥1537px 大屏幕确保完整显示 */
@media (min-width: 1537px){
  .main-header-style2__row2{
    display: block !important;
  }
  
  .main-header-style2__row2 .main-menu__list{
    display: flex !important;
    gap: 20px !important;
  }
  
  .mh2-search-right-slot{
    display: none !important;
  }
}

/* iOS Safari: prevent default blue text on unstyled buttons/inputs/selects */
@supports (-webkit-touch-callout: none) {
  button,
  input,
  select,
  textarea {
    color: inherit;
    -webkit-text-fill-color: currentColor;
  }
}
