
@media (min-width: 1921px) {
    .menu-primary-menu {
        padding-left: 0;
        justify-content: center;
    }
    .home-2 .wrap > img {
        height: unset;
    }
}

@media (max-width: 1440px) {
    .menu-primary-menu {
        padding-left: 0;
        justify-content: center;
    }
    .footer > .right {
        right: 30px;
        top: 85px;
    }
    .footer > .left {
        left: 30px;
        top: 85px;
    }
    .our-menu .left {
        padding-top: 0;
        padding-left: 50px;
        width: 35%;
    }
    .our-menu .left .text-special {
        top: 0;
        left: 0;
    }
    .our-menu .wrap {
        padding-left: 15px;
        padding-right: 15px;
    }
    .our-menu .right {
        padding-left: 0;
        padding-right: 40px;
        width: 45%;
    }
    .widget-menu-tab {
        margin-bottom: 40px;
    }
    .wg-introduction .wrap {
        gap: 30px;
    }
    .wg-introduction .wrap .content {
        padding-top: 0 !important;
        padding-left: 0px !important;
    }
    .customer-testimonial {
        background-position: center 104px !important;
        background-size: cover;
    }
    .book-table .left {
        display: none;
    }
    .book-table .content {
        padding-left: 15px;
        min-width: 555px;
    }
    .book-table.franchise-form .content {
        min-width: 0;
        padding: 40px 20px;
    }
    .franchise-form .fr-grid {
        grid-template-columns: 1fr;
    }
    .book-table .wg-map {
        margin-left: 15px;
    }
    .book-table .images .item-2 {
        margin-left: 100px;
    }
    .portfolio-item .content {
        top: 50%;
        transform: translateY(-50%);
    }
    .home-2 .wrap > img {
        height: unset;
    }
    .portfolio-item .content {
        top: 50%;
        transform: translateY(-50%);
    }
    .wg-contact .bot-left,
    .wg-contact .top-right {
        padding: 30px;
    }
    .wg-contact .top-right > img,
    .wg-contact .bot-left > img {
        display: none;
    }
    .customer-testimonial.style-1 {
        background-position: center;
        background-size: cover;
    }
    .our-menu.style-1 .wrap {
        padding: 100px 15px;
    }
    .our-menu.style-1 .center {
        padding-left: 15px;
        padding-right: 15px;
    }
    .wg-about.style-2 .images {
        padding-right: 0;
        margin-right: 0;
    }
    .wg-about.style-1 .images {
        margin-left: 0;
        width: 100%;
    }
    .wg-about.style-2 .wrap,
    .wg-about.style-1 .wrap {
        padding-left: 0;
        padding-right: 0;
        gap: 30px;
        justify-content: center;
    }
    .wg-about.style-2 .content {
        padding-top: 30px;
        padding-left: 0px;
    }
    .wg-about.style-1 .content {
        padding-top: 30px;
        padding-right: 15px;
    }
    .our-chef-item .content {
        padding-left: 15px;
        padding-right: 0;
    }
    .our-chef-item .image {
        padding-right: 100px;
        padding-left: 15px;
    }
    .wg-our-chef .style-text-1 {
        right: 40px;
    }
    .space-info .wrap .item-1 {
        top: -100px;
        z-index: -1;
    }
    .wg-cuisine,
    .wg-service.type-1 {
        margin-right: 15px;
        margin-left: 15px;
    }
    .wg-book-table .content {
        padding-bottom: 35px;
    }
    .wg-book-table,
    .wg-policy {
        padding-right: 15px;
        padding-left: 15px;
    }
    .wg-introduction .wrap {
        flex-wrap: wrap;
    }
    .wg-introduction .wrap .content,
    .wg-introduction .wrap .image {
        width: 100%;
    }
    .home-2 .mobile-nav-wrap .inner-mobile-nav {
        padding: 30px;
        width: -webkit-fill-available;
    }
    .home-2 .inner-mobile-nav > div {
        padding-top: 30px;
    }
}

@media (max-width: 1200px) {
    .home-2 .inner-mobile-nav > img {
        display: none;
    }
    .home-2 .mobile-nav-wrap.active .inner-mobile-nav {
        padding: 30px;
        width: min-content;
        flex-wrap: wrap;
    }
    .home-2 .mobile-nav-wrap.active .inner-mobile-nav > div {
        width: 100%;
        border-right: unset;
        padding-left: 0;
        padding-top: 30px;
    }
    
    .page-title .bottom > div {
        padding-left: 40px !important;
        padding-right: 100px !important;
    }
    .book-table .right {
        width: 100%;
        justify-content: space-between;
    }
    .book-table .content {
        padding-top: 100px;
        padding-bottom: 50px;
    }
    .book-table .wg-map {
        margin-right: 15px;
    }
    .book-table .images {
        display: none;
    }
    .wg-book-table.style-1 .right,
    .wg-book-table.style-1 .left {
        padding-left: 15px;
        padding-right: 15px;
    }
    .footer > .left,
    .footer > .right {
        display: none;
    }
    .page-title .bottom .search-box .top-search {
        left: 15px;
    }
}

@media (max-width: 1180px) {
    .wg-cuisine .content {
        max-width: 600px;
        padding: 20px 30px 30px 30px;
    }
    .wg-cuisine .content .title {
        font-size: 30px;
        line-height: 45px;
    }
}

@media (max-width: 1024px) {
    .wg-about .wrap {
        flex-wrap: wrap;
        padding: 0;
    }
    .wg-about .images {
        width: 100%;
        min-width: unset;
        height: unset;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .wg-about .images img {
        position: unset !important;
        width: 100%;
        margin-bottom: 15px;
    }

    .wg-about.style-2.vision-section .content {
        height: auto;
        display: block;
        padding: 24px 15px 24px 0;
    }
    .wg-about.style-2.vision-section .content > a {
        margin-top: 20px;
    }

    .wg-about.style-1.mission-section .content {
        height: auto;
        display: block;
        padding: 24px 15px 24px 0;
    }
    .wg-about.style-1.mission-section .content > a {
        margin-top: 20px;
    }
    .wg-service .right .item-2 {
        position: unset;
        width: 100%;
        margin-top: 15px;
    }
    .book-table .content {
        min-width: 500px;
    }
    .book-table .wg-map {
        margin-left: 0;
        max-width: 100%;
    }
    .footer.style-1 .content .top .text {
        padding-top: 0;
    }
    .wg-contact {
        grid-template-columns: repeat(1,1fr);
        grid-auto-rows: auto;
    }
    .wg-contact .bot-right {
        height: 500px;
    }
    .wg-policy {
        flex-wrap: wrap;
    }
    .wg-policy .left {
        width: 100%;
        min-width: unset;
    }
    .wg-policy .right {
        height: 750px;
    }
    .wg-policy .right .map-embed {
        height: 100%;
        min-height: 500px;
    }
    .wg-about.style-2 .content {
        padding-bottom: 0;
    }
    .wg-about.style-2 .images {
        padding-top: 0;
        flex-wrap: nowrap;
        width: unset;
        min-width: unset;
        gap: 15px;
    }
    .wg-about.style-2 .images img {
        height: fit-content;
    }
    .our-chef-item .content {
        padding-bottom: 200px;
    }
    .space-item .content p,
    .space-item .content .title {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 991px) {
    .space-info .wrap .item-1,
    .tf-mouse,
    .canvas,
    .main-nav {
        display: none;
    }
    .mobile-button {
        display: block;
    }
    .header-inner {
        padding-top: 30px !important;
        padding-bottom: 29px !important;
    }
    .swiper-button,
    .swiper-button-next,
    .swiper-button-prev,
    .swiper-pagination {
        display: none !important;
    }
    .footer.style-1 .content .top > div,
    .footer.style-1 .content .top > form {
        width: 50%;
    }
    .footer.style-1 .logo-footer {
        justify-content: center;
    }
    .footer.style-1 .logo-footer p {
        margin-right: 0;
        text-align: center;
    }
    .our-chef-item .image {
        padding-right: 15px;
    }
}

@media (max-width: 820px) {
    .wg-service .right .item-1 {
        width: 100%;
    }
    .our-menu .wrap {
        flex-wrap: wrap;
    }
    .our-menu .left {
        width: 80%;
        margin-bottom: 100px;
    }
    .our-menu .center {
        margin-top: 0;
    }
    .our-menu .right {
        width: 100%;
    }
    .book-table .right {
        flex-wrap: wrap;
    }
    .book-table .content {
        width: 100%;
        min-width: unset;
        padding-right: 15px;
    }
    .book-table .wg-map {
        margin: auto;
        margin-top: 30px;
        margin-bottom: 30px;
    }
    .home-2 .wrap > img {
        height: 500px;
    }
    .our-menu.style-1 .wrap {
        gap: 15px;
    }
    .our-menu.style-1 .left {
        order: 1;
        width: 48%;
        padding-top: 0;
    }
    .our-menu.style-1 .right {
        order: 2;
        width: 48%;
        padding-left: 0;
        padding-top: 0;
    }
    .our-menu.style-1 .center {
        order: 3;
        width: 100%;
    }
    .wg-about.style-2 .images {
        flex-wrap: wrap;
    }
    .our-chef-item {
        flex-wrap: wrap;
    }
    .our-chef-item .content,
    .our-chef-item .image {
        width: 100%;
    }
    .our-chef-item .image {
        padding-right: 15px;
        padding-left: 15px;
        padding-top: 0;
    }
    .our-chef-item .image img {
        width: 100%;
    }
    .wg-book-table.style-1 {
        flex-wrap: wrap;
    }
    .wg-book-table.style-1 .right,
    .wg-book-table.style-1 .left {
        order: 1;
        width: 50%;
        padding-top: 0;
    }
    .wg-book-table.style-1 .content {
        order: 2;
        width: 100%;
        margin-top: 30px;
    }
    .cart-item {
        flex-wrap: wrap;
    }
    .cart-item .content {
        margin-top: 0;
    }
    .product-item.style-list .content {
        flex-wrap: wrap;
    }
    .product-item.style-list .content > div {
        width: 100%;
        justify-content: center;
    }
    .wg-shop-detail .content-inner {
        padding-left: 0;
    }
    .wg-portfolio {
        padding-bottom: 30px;
    }
    .wg-cuisine .content {
        margin: 15px 0;
        max-width: 500px;
    }
    .wg-cuisine {
        height: 800px;
    }
    .wg-cuisine .img-text {
        display: none;
    }
}

@media (max-width: 768px) {
    .footer .bottom {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 15px;
    }
    .footer .bottom .text {
        text-align: center;
    }
    .wg-book-table .content, .wg-book-table .image {
        width: 100%;
    }
    .wg-book-table .image {
        height: 500px;
    }
}

@media (max-width: 700px) {
    br {
        display: none;
    }
    .page-title .content {
        padding-top: 60px;
        padding-bottom: 243px;
    }
    .page-title .bottom {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    .page-title .bottom > div {
        padding: 0 !important;
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }
    .wg-about .content {
        padding: 0;
    }
    .wg-service .left {
        padding: 30px;
    }
    .our-menu .center {
        width: 100%;
        text-align: center;
    }
    .our-menu .left,
    .our-menu .right {
        width: 100%;
    }
    .our-menu .left {
        margin-bottom: 30px;
    }
    .widget-menu-tab {
        flex-wrap: wrap;
        margin-right: -40px;
    }
    .book-table .wg-map {
        width: 340px;
        min-width: 340px;
        height: 340px;
        margin-top: 0 !important;
    }
    .footer.style-1 .content .top {
        flex-wrap: wrap;
    }
    .footer.style-1 .content .top > div,
    .footer.style-1 .content .top > form {
        margin: 0 !important;
        padding: 15px !important;
        width: 100% !important;
        text-align: center !important;
    }
    .footer.style-1 .content .top form input {
        width: 100%;
    }
    .home-2 .wrap > img {
        display: none;
    }
    .home-2 .wrap {
        height: 500px;
        width: 100%;
        background-image: url('../images/bg-section/bg-home-2.jpg');
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .wg-contact .top-right ul {
        grid-template-columns: repeat(1,1fr);
    }
    form .columns {
        flex-wrap: wrap;
    }
    .wg-policy .left {
        padding-left: 15px;
        padding-right: 15px;
    }
    .wg-policy .right .book-table {
        top: 15px;
        left: 15px;
        width: unset;
    }
    .wg-policy .right .book-table .content {
        padding: 30px;
        min-width: unset;
    }
    .our-menu.style-1 .left {
        width: 100%;
        padding-top: 15px;
    }
    .our-menu.style-1 .right {
        width: 100%;
        padding-top: 15px;
    }
    .our-menu.style-1 .center {
        order: 3;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
    .our-menu.style-1 .widget-menu-tab {
        margin-right: 0;
        justify-content: space-evenly;
        padding: 0;
        gap: 10px;
        flex-wrap: nowrap;
    }
    .wg-about.style-1 .images {
        width: unset;
        min-width: unset;
        padding-left: 15px;
        padding-top: 100px;
    }
    .wg-book-table.style-1 .right,
    .wg-book-table.style-1 .left {
        width: 100%;
        padding-top: 30px;
    } 
    .wg-book-table.style-1 .right img ,
    .wg-book-table.style-1 .left img {
        width: 100%;
    }
    .wg-book-table.style-1 .content p,
    .wg-book-table.style-1 .content form {
        margin-left: 0;
        margin-right: 0;
        padding-right: 15px;
        padding-left: 15px;
    }
    .side-bar {
        margin-top: 50px;
    }
    .cart-item {
        flex-wrap: nowrap;
    }
    .widget-tabs.style-1 .widget-menu-tab {
        margin-right: 0;
        gap: 15px 61px;
    }
    .wg-404 {
        height: auto;
    }
    .wg-404 .content {
        padding: 50px 15px 30px 15px;
    }
    .wg-404 .content img {
        width: 200px;
    }
    .wg-404 .title::before {
        top: 37px;
        left: 0;
        font-size: 119px;
        transform: none;
    }
    .wg-404 .title::after {
        top: 37px;
        right: 0;
        font-size: 119px;
        transform: none;
    }
    .wg-cuisine {
        height: 1000px;
    } 
    .page-title .bottom .search-box .top-search {
        transform: translateX(-50%);
    }
    .home-2 .mobile-nav-wrap.active .inner-mobile-nav {
        width: -webkit-fill-available;
        padding: 15px;
    }
    .home-2 .inner-mobile-nav .right .wg-map {
        width: 230px;
        height: 230px;
    }
    .footer.style-1 .logo-footer {
        justify-content: center;
    }
    .footer.style-1 .logo-footer p {
        text-align: center;
    }
}

@media (max-width: 991px) {
    /* Mobile image distort fix */
    .home-2 .wrap > img,
    .wg-book-table .image img,
    .book-table.type-1 .left img,
    .wg-contact .top-left img,
    .wg-blog .image img,
    .main-post img,
    .images-wrap img,
    .wg-about .images img,
    .wg-about .image img,
    .wg-service .image img,
    .our-chef-item .image img,
    .product-item .image img,
    .wg-portfolio img {
        width: 100%;
        height: auto !important;
        object-fit: cover;
    }

    .wg-book-table .image {
        height: auto;
    }
    .home-2 .wrap > img {
        height: auto;
    }
}

/* ===== MOBILE PATCH (<=768px) - Desktop preserved ===== */
@media (max-width: 768px) {
    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    img,
    video,
    svg,
    iframe {
        max-width: 100%;
        height: auto;
        display: block;
    }

    .wg-contact .top-left .contact-map-embed {
        height: 360px;
        min-height: 360px;
    }

    .themesflat-container,
    .themesflat-container.full,
    .themesflat-container.w1791,
    .themesflat-container.w1386 {
        width: 100%;
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    p,
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    a,
    li,
    span {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    h1 {
        font-size: clamp(32px, 7vw, 44px);
        line-height: clamp(40px, 8vw, 52px);
    }
    h2 {
        font-size: clamp(24px, 6vw, 34px);
        line-height: clamp(32px, 7vw, 44px);
    }
    h3 {
        font-size: clamp(20px, 5vw, 28px);
        line-height: clamp(28px, 6vw, 36px);
    }
    h4 {
        font-size: clamp(18px, 4.5vw, 24px);
        line-height: clamp(26px, 5.5vw, 32px);
    }
    h5 {
        font-size: clamp(16px, 4vw, 22px);
        line-height: clamp(24px, 5vw, 30px);
    }
    h6 {
        font-size: clamp(15px, 3.6vw, 20px);
        line-height: clamp(22px, 4.6vw, 28px);
    }
    p,
    li {
        font-size: clamp(14px, 3.6vw, 16px);
        line-height: clamp(22px, 5vw, 26px);
    }

    .heading-section .main {
        font-size: clamp(26px, 6vw, 36px);
        line-height: clamp(34px, 7vw, 44px);
    }
    .heading-section .sub {
        font-size: clamp(12px, 3.2vw, 14px);
        line-height: clamp(18px, 4.2vw, 22px);
    }

    .page-title .content {
        padding-top: clamp(60px, 15vw, 120px);
        padding-bottom: clamp(160px, 35vw, 240px);
    }
    .page-title .content .title {
        font-size: clamp(24px, 6vw, 34px);
        line-height: clamp(32px, 7vw, 42px);
    }
    .page-title .bottom {
        padding-left: 16px;
        padding-right: 16px;
    }
    .page-title .bottom .search-box {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    .page-title .bottom .search-box .top-search {
        width: 100%;
        min-width: 0;
        right: 0;
    }
    .page-title .bottom .cart {
        padding-left: 0;
        padding-right: 0;
    }

    .wg-about .wrap {
        flex-direction: column;
        padding-left: 0;
        padding-right: 0;
    }
    .wg-about .image {
        min-width: 0;
        width: 100%;
        margin-right: 0;
    }
    .wg-about .images {
        width: 100%;
        min-width: 0;
        margin-left: 0;
    }
    .wg-about.style-1 .images {
        width: 100%;
        min-width: 0;
        margin-left: 0;
        padding-left: 0;
    }
    .wg-about .content {
        padding: 0;
    }

    .widget-menu-tab {
        margin-right: 0;
    }

    .book-table {
        flex-direction: column;
    }
    .book-table .left,
    .book-table .right,
    .book-table .content {
        width: 100%;
        min-width: 0;
    }
    .book-table .content {
        padding-left: 16px;
        padding-right: 16px;
        border-right: 0;
    }
    .book-table .images .item-1,
    .book-table .images .item-2 {
        margin-left: 0;
    }
    .book-table .images .text-special {
        position: static;
        margin-top: 16px;
    }
    .book-table .wg-map {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .wg-contact {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
        gap: 20px;
    }
    .wg-contact .top-right,
    .wg-contact .bot-left {
        padding: 24px 16px;
    }
    .wg-contact .bot-right {
        padding: 20px;
    }
    .wg-contact .bot-right .map-icon-frame {
        width: 100%;
    }
    .wg-contact .top-right ul {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .wg-blog .image {
        aspect-ratio: 16 / 9;
    }
    .wg-blog .image img {
        height: 100%;
        object-fit: cover;
    }
    .blog-grid {
        padding-top: 72px;
        padding-bottom: 72px;
    }
    .blog-grid .row > [class*="col-"] {
        margin-bottom: 20px;
    }
    .blog-grid .row > [class*="col-"]:last-child {
        margin-bottom: 0;
    }
    .wg-blog {
        margin-bottom: 0;
    }
    .wg-blog .content,
    .wg-blog .meta,
    .wg-blog .title {
        text-align: left;
    }
    .wg-blog .meta {
        font-size: 12px;
        line-height: 20px;
        letter-spacing: 0.3px;
        margin-bottom: 8px;
    }
    .wg-blog .meta span {
        margin-right: 18px;
    }
    .wg-blog .meta span::after {
        right: -15px;
        width: 9px;
        top: 9px;
    }
    .wg-blog .title {
        color: #171412;
        font-size: clamp(20px, 5.2vw, 24px);
        line-height: clamp(28px, 6vw, 32px);
        letter-spacing: 0.2px;
        margin-bottom: 16px;
        min-height: 56px;
    }
    .blog-single .main-title {
        color: #171412;
        font-size: clamp(26px, 6.5vw, 32px);
        line-height: clamp(34px, 8vw, 40px);
        letter-spacing: 0.3px;
        margin-bottom: 28px;
        text-align: center;
    }
    .blog-single .col-lg-8 > .title,
    .blog-single .col-lg-8.text-center.mx-auto > .title,
    .blog-single .title.s1 {
        color: #171412;
        font-size: clamp(22px, 5.5vw, 28px);
        line-height: clamp(30px, 7vw, 36px);
        letter-spacing: 0.4px;
    }

    .wg-portfolio .portfolio-item {
        padding: 14px;
    }
    .wg-portfolio .portfolio-item .image {
        aspect-ratio: auto;
        overflow: visible;
    }
    .wg-portfolio .portfolio-item .image img {
        height: auto;
        object-fit: contain;
    }

    .wg-portfolio .swiper-pagination {
        /* override global mobile swiper hide rule */
        display: block !important;
        position: static;
        margin-top: 12px;
    }

    .heading-section,
    .heading-section .main,
    .heading-section .sub,
    .wg-introduction .wrap,
    .wg-introduction .wrap .content,
    .wg-about .wrap,
    .wg-about .wrap .content,
    .wg-news .content,
    .wg-news .content .title,
    .wg-news .content .text,
    .testimonial-item,
    .wg-contact,
    .footer,
    .footer .content,
    .footer .intro,
    .footer .menu,
    .site-footer {
        text-align: center;
    }

    .site-footer a {
        display: block;
        margin-top: 4px;
    }

    .button-style-1,
    .button-default,
    button,
    input[type="submit"],
    input[type="button"] {
        min-height: 44px;
        padding-top: 10px;
        padding-bottom: 10px;
        margin-left: auto;
        margin-right: auto;
    }

    a.button-style-1,
    a.button-default {
        display: flex;
        align-items: center;
        justify-content: center;
        width: max-content;
    }

    button,
    input[type="submit"],
    input[type="button"] {
        display: block;
        width: max-content;
    }
}

/* Blog color consistency */
.blog-grid .wg-blog .title,
.blog-grid .wg-blog .title a,
.blog-grid .wg-blog .title a:visited {
    color: #171412;
}

.blog-grid .wg-blog .meta,
.blog-grid .wg-blog .meta span,
.blog-grid .wg-blog .meta a,
.blog-grid .wg-blog .text {
    color: #666666;
}

.blog-grid .wg-blog:hover .title,
.blog-grid .wg-blog:focus-within .title {
    color: #d74d29;
}

.blog-single .main-title,
.blog-single .col-lg-8 > .title,
.blog-single .col-lg-8.text-center.mx-auto > .title,
.blog-single .title.s1 {
    color: #171412;
}

.blog-single .meta .meta-item .text,
.blog-single .col-lg-8 > p,
.blog-single .col-lg-8.text-center.mx-auto > p {
    color: #2d2d2d;
}

@media (max-width: 991px) {
    #header_main .mobile-button {
        display: block !important;
        z-index: 1000000;
    }
    #header_main .mobile-nav-wrap.active .overlay-mobile-nav {
        opacity: 1 !important;
        visibility: visible !important;
    }
    #header_main .mobile-nav-wrap.active .inner-mobile-nav {
        left: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    #header_main #menu-mobile-menu,
    #header_main #menu-mobile-menu li,
    #header_main #menu-mobile-menu li a {
        display: block !important;
        visibility: visible !important;
        color: #fff !important;
    }
    .our-menu.style-1 .wrap {
        padding: 80px 20px 95px;
    }
    .our-menu.style-1 .left,
    .our-menu.style-1 .center,
    .our-menu.style-1 .right {
        width: 100%;
        padding: 0;
    }
    .our-menu.style-1 .center {
        order: 1;
        margin: 0 0 24px;
    }
    .our-menu.style-1 .left {
        order: 2;
        margin-bottom: 24px;
        text-align: center;
    }
    .our-menu.style-1 .right {
        order: 3;
    }
    .our-menu.style-1 .widget-menu-tab {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding: 0 2px 10px;
        margin-bottom: 24px;
    }
    .our-menu.style-1 .widget-menu-tab .item-title {
        flex: 0 0 auto;
        white-space: nowrap;
        font-size: 14px;
        line-height: 22px;
    }
    .our-menu.menu-pdf .widget-menu-tab {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding: 0 2px 10px;
        margin-bottom: 20px;
    }
    .our-menu.menu-pdf .widget-menu-tab .item-title,
    .our-menu.menu-pdf .widget-menu-tab .item-title .inner {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .our-menu.menu-pdf .widget-menu-tab .item-title {
        font-size: 13px;
        letter-spacing: 1.2px;
    }
    .our-menu .widget-content-tab {
        height: auto;
        max-height: none;
        overflow: visible;
    }
    .tabs-item .title .name,
    .tabs-item .title .price {
        font-size: 18px;
        line-height: 24px;
    }
}

@media (max-width: 700px) {
    .banner-page .heading {
        font-size: 38px;
        line-height: 44px;
    }
    .breadcrumbs {
        gap: 18px;
        margin-top: 20px;
    }
    .tabs-item .title {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
    }
    .tabs-item .title .name {
        flex: 1 1 auto;
        min-width: 0;
    }
    .tabs-item .title .price {
        flex: 0 0 auto;
        white-space: nowrap;
        margin-left: 8px;
        text-align: right;
    }
    .tabs-item p {
        font-size: 14px;
        line-height: 22px;
    }
}

/* Menu page mobile fix (menu.html only) */
@media (max-width: 991px) {
    .our-menu.menu-pdf .wrap {
        flex-wrap: wrap;
        gap: 24px;
        padding: 28px 16px 42px;
    }

    .our-menu.menu-pdf .right {
        order: 1;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .our-menu.menu-pdf .left {
        order: 2;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .our-menu.menu-pdf .widget-menu-tab {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        margin: 0 0 18px;
        padding: 0 0 8px;
    }

    .our-menu.menu-pdf .widget-menu-tab .item-title,
    .our-menu.menu-pdf .widget-menu-tab .item-title .inner {
        flex: 0 0 auto;
        white-space: nowrap;
        word-break: normal;
        overflow-wrap: normal;
    }

    .our-menu.menu-pdf .pdf-viewport {
        height: clamp(360px, 68vh, 520px);
        overflow: hidden;
    }

    .our-menu.menu-pdf .pdf-viewport iframe {
        height: 100% !important;
        min-height: 0;
        width: 100%;
    }
}

/* ===== Scoped fixes: menu dots, homepage spacing, contact text ===== */
body.counter-scroll .wg-introduction {
    padding-top: 108px;
}

body.counter-scroll .wg-introduction.style-1 {
    padding-top: 44px;
}

body.counter-scroll .customer-testimonial {
    padding-top: 110px;
    padding-bottom: 300px;
}

body.counter-scroll .wg-news {
    padding-top: 108px;
    padding-bottom: 102px;
}

body.counter-scroll .wg-news .wrap {
    margin-bottom: 52px;
}

body.counter-scroll .wg-portfolio {
    padding-bottom: 96px;
}

body.counter-scroll .wg-portfolio .swiper-wrapper {
    padding-bottom: 72px;
}

body.page-contact .wg-contact .top-right {
    padding: 72px 64px;
}

body.page-contact .wg-contact .top-right > p {
    max-width: 720px;
    margin-top: 20px;
    margin-bottom: 36px;
    line-height: 1.75;
}

body.page-contact .wg-contact .top-right ul {
    row-gap: 12px;
}

body.page-contact .wg-contact .top-right > ul > li {
    margin-bottom: 20px;
}

body.page-contact .wg-contact .top-right ul li .title {
    margin-bottom: 8px;
}

body.page-contact .wg-contact .top-right > ul > li > p {
    max-width: 720px;
    line-height: 1.7;
}

body.page-contact .wg-contact .top-right > ul > li > p br.d-none.d-md-inline {
    display: none !important;
}

body.page-contact .wg-contact .top-right .social-1 {
    margin-top: 8px;
    width: auto;
}

@media (max-width: 768px) {
    .our-menu.menu-pdf .widget-content-tab,
    .our-menu.menu-pdf .widget-content-inner {
        overflow: visible;
    }

    .our-menu.menu-pdf .widget-content-inner .swiper-pagination {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        position: relative;
        z-index: 5;
        justify-content: center;
        margin-top: 10px;
    }

    .our-menu.menu-pdf .widget-content-inner .swiper-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        margin: 0 6px !important;
        opacity: 0.55;
        background-color: #ffffff;
    }

    .our-menu.menu-pdf .widget-content-inner .swiper-pagination .swiper-pagination-bullet-active {
        opacity: 1;
    }

    .our-menu.menu-pdf .widget-content-inner .swiper-pagination .swiper-pagination-bullet:focus-visible {
        outline: 2px solid #ffffff;
        outline-offset: 2px;
    }

    body.counter-scroll .wg-introduction {
        padding-top: 72px;
    }

    body.counter-scroll .wg-introduction.style-1 {
        padding-top: 34px;
    }

    body.counter-scroll .customer-testimonial {
        padding-top: 72px;
        padding-bottom: 120px;
    }

    body.counter-scroll .wg-news {
        padding-top: 72px;
        padding-bottom: 72px;
    }

    body.counter-scroll .wg-news .wrap {
        margin-bottom: 32px;
    }

    body.counter-scroll .wg-portfolio {
        padding-bottom: 56px;
    }

    body.counter-scroll .wg-portfolio .swiper-wrapper {
        padding-bottom: 40px;
    }

    body.page-contact .wg-contact {
        padding-top: 42px;
        padding-bottom: 42px;
        gap: 16px;
    }

    body.page-contact .wg-contact .top-right {
        padding: 28px 18px;
    }

    body.page-contact .wg-contact .top-right > p {
        max-width: 100%;
        margin-top: 14px;
        margin-bottom: 22px;
        line-height: 1.65;
    }

    body.page-contact .wg-contact .top-right > ul > li {
        margin-bottom: 16px;
    }

    body.page-contact .wg-contact .top-right > ul > li > p {
        max-width: 100%;
        line-height: 1.6;
    }
}

/* Anasayfa: wg-service ile wg-introduction arası boşluğu kaldır */
body.counter-scroll .wg-service {
  padding-bottom: 0 !important;
}

body.counter-scroll .wg-introduction {
  padding-top: 0 !important;
}

/* İstersen style-1 de sıfırlansın */
body.counter-scroll .wg-introduction.style-1 {
  padding-top: 0 !important;
}




/* Keep homepage hero arrows visible on mobile */
@media (max-width: 991px) {
    .page-title .swiper-button-next.style-text,
    .page-title .swiper-button-prev.style-text {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background-color: rgba(17, 17, 17, 0.58);
        border: 1px solid rgba(255, 255, 255, 0.25);
        top: 50%;
        transform: translateY(-50%);
        z-index: 6;
    }

    .page-title .swiper-button-prev.style-text {
        left: 12px;
    }

    .page-title .swiper-button-next.style-text {
        right: 12px;
    }

    .page-title .swiper-button-next.style-text::after,
    .page-title .swiper-button-prev.style-text::after {
        font-family: "Oswald";
        font-size: 26px;
        line-height: 1;
        letter-spacing: 0;
        position: static;
    }

    .page-title .swiper-button-next.style-text::after {
        content: '›';
    }

    .page-title .swiper-button-prev.style-text::after {
        content: '‹';
    }
}

@media (max-width: 576px) {
    .page-title .swiper-button-next.style-text,
    .page-title .swiper-button-prev.style-text {
        width: 40px;
        height: 40px;
    }

    .page-title .swiper-button-next.style-text::after,
    .page-title .swiper-button-prev.style-text::after {
        font-size: 22px;
    }
}
