@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;
  }
  .menu-primary-menu-mobile {
    padding-left: 0;
    justify-content: center;
    display: flex;
    flex-direction: column;
  }
  .footer > .right {
    right: 30px;
    top: 85px;
  }
  .footer > .left {
    left: 30px;
    top: 85px;
  }
  .our-menu .left {
    padding-top: 0;
    padding-left: 50px;
    width: 42%;
  }
  .widget-menu-tab {
    gap: 15px 15px;
  }
  .our-menu .left .text-special {
    top: 0;
    left: 0;
  }
  .our-menu .wrap {
    padding-left: 15px;
    padding-right: 15px;
  }
  .our-menu .right {
    padding-left: 54px;
    padding-right: 40px;
    width: 58%;
  }
  .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: 320px;
    max-width: 90vw;
  }
  .book-table .wg-map {
    margin-left: 15px;
  }
  .book-table .images .item-2 {
    margin-left: 100px;
  }
  .portfolio-item .content {
    top: 70%;
    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: 40px;
    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;
  }
  /* .preload-container .middle {
        left: 44%;
    } */
}

@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-service .right .item-2 {
    position: unset;
    width: 100%;
    margin-top: 15px;
  }
  .book-table .content {
    min-width: 280px;
    max-width: 90vw;
  }
  .footer.style-1 .content .top .text {
    padding-top: 0;
  }
  .wg-contact {
    grid-template-columns: repeat(1, 1fr);
  }
  .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-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;
  }
  /* .logo_header {
    width: 100%;
  } */
  .page-title .content .title {
    font-size: 33px;
    letter-spacing: 1px;
    line-height: 57px;
  }
  .page-title .content1 .title {
    font-size: 33px;
    letter-spacing: 1px;
    line-height: 57px;
  }
}

@media (max-width: 991px) {
  .canvas-nav-wrap.active .inner-canvas-nav {
    right: 0;
  }
  .space-info .wrap .item-1,
  .tf-mouse,
  .main-nav {
    display: none;
  }
  .canvas {
    display: block;
  }
  .mobile-button {
    display: block;
  }
  .header-inner {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    top: 0 !important;
  }
  .our-menu .right {
    padding-left: 10px;
  }
  .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;
  }
  .book-table .content .numberphone {
    font-size: 18px;
    line-height: 40px;
    letter-spacing: 1.2px;
  }
  /* .preload-container .middle {
    left: 41%;
  } */
  .wg-quote {
    /* margin-top: 42px; */
    margin-top: 0;
  }
  .wg-news {
    padding-top: 45px;
    padding-bottom: 0px;
  }
  .wg-service {
    padding-bottom: 0;
  }
  wg-portfolio {
    padding: 0px 23px 53px 23px;
  }
  .page-title .content2 {
    padding-top: 29px;
    padding-bottom: 163px;
  }
  .page-title .content2 .title {
    font-size: 53px;
  }
  .text-page {
    font-size: 25px;
    line-height: 30px;
    margin-left: 5px;
  }
  .wg-blog .image {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .image-img {
    width: 275px !important;
  }
}

@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;
  }
  .logo_header {
    height: 120px;
  }
}

@media (max-width: 768px) {
  .footer .bottom {
    padding: 0;
    justify-content: center;
    gap: 15px;
  }
  .wg-book-table .content,
  .wg-book-table .image {
    width: 100%;
  }
  .wg-book-table .image {
    height: 500px;
  }

  #button {
    width: 100px;
    text-align: center;
  }
}

@media (max-width: 700px) {
  .our-menu .bottom {
    display: none;
  }
  br {
    display: none;
  }
  .page-title .content {
    padding-top: 8px;
    padding-bottom: 423px;
  }
  .page-title .content1 {
    padding-top: 8px;
    padding-bottom: 423px;
  }
  .text-special {
    margin-top: 40px !important;
  }
  .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: 280px;
    max-width: 90vw;
    /* height: 340px; */
    margin-top: 0 !important;
  }
  /* .preload-container .middle {
    top: 45%;
    left: 46%;
  } */

  .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;
  }
  .heading-section .main {
    font-size: 30px;
    line-height: 40px;
  }
}
@media (max-width: 340px) {
  .heading-section .main {
    font-size: 30px;
  }
  .site > a > h2 {
    font-size: 39px;
  }
  .page-title .content .title {
    font-size: 68px;
  }
  ul.intro li {
    font-size: 14px;
    position: static;
  }
}

/* Show TopBar and Header Contact on Desktop */
@media (min-width: 992px) {
  .tf-top-bar {
    display: block !important;
  }
  .header-contact {
    display: flex !important;
  }
}

/* Hide TopBar on Mobile/Tablet */
@media (max-width: 991px) {
  .tf-top-bar {
    display: none !important;
  }
  .header-contact {
    display: none !important;
  }

  /* Style mobile buttons in original header */
  .mobile-button {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    padding: 8px !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    color: #fff !important;
    cursor: pointer !important;
    border: none !important;
    font-size: 18px !important;
  }

  .mobile-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
  }

  .mobile-button i {
    font-size: 18px;
  }

  /* Mobile Header Actions */
  .mobile-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 50px !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
    padding-right: 20px !important;
  }

  .mobile-order-btn-header {
    background: linear-gradient(135deg, #c3a27c 0%, #b57449 100%);
    color: #fff !important;
    padding: 8px 32px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: auto !important;
    min-height: 36px !important;
    height: 36px !important;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.3) !important;
    white-space: nowrap !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
  }

  .mobile-order-btn-header:hover {
    background: linear-gradient(135deg, #9a7209, #b8860b);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.4);
  }

  .mobile-order-btn-header i {
    font-size: 16px;
  }

  /* Alternative styling for text-based mobile order button */
  .mobile-order-btn-header.text-based {
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: auto;
    min-width: 50px;
  }
}

/* Sticky Header Styles */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 99999999;
  transform: translateY(-100%);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(184, 134, 11, 0.4);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
}

.sticky-header-visible {
  transform: translateY(0);
}

.sticky-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 15px;
  gap: 12px;
  max-width: 1550px;
  margin: 0 auto;
}

.sticky-logo {
  flex: 1;
  display: flex;
  align-items: center;
}

.sticky-logo img {
  height: 45px;
  width: auto;
}

.sticky-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.sticky-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.sticky-phone a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.sticky-order-btn {
  background: #b8860b;
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.sticky-order-btn:hover {
  background: #9a7209;
}

.sticky-mobile-menu {
  display: none;
}

.sticky-order-btn-mobile {
  display: none;
}

.sticky-mobile-menu-btn {
  color: #fff;
  cursor: pointer;
  font-size: 20px;
}

/* Mobile Sticky Header */
@media (max-width: 991px) {
  .sticky-contact {
    display: none;
  }

  .sticky-mobile-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
  }

  .sticky-order-btn-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #b8860b, #d4af37);
    color: #fff;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-height: 36px;
  }

  .sticky-order-btn-mobile:hover {
    background: linear-gradient(135deg, #9a7209, #b8860b);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.4);
  }

  .sticky-mobile-menu-btn {
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 36px;
    font-size: 18px;
  }

  .sticky-mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
  }
}

@media (max-width: 768px) {
  .sticky-header-content {
    padding: 6px 10px;
    gap: 10px;
  }

  .sticky-logo img {
    height: 40px;
  }

  .sticky-order-btn-mobile {
    padding: 6px 14px;
    font-size: 11px;
    min-height: 32px;
  }

  .sticky-mobile-menu-btn {
    font-size: 16px;
    padding: 6px;
    min-width: 32px;
    min-height: 32px;
  }
}

@media (max-width: 480px) {
  .sticky-header-content {
    padding: 4px 8px;
    gap: 8px;
  }

  .sticky-logo img {
    height: 70px;
    border-radius: 50%;
  }

  .sticky-order-btn-mobile {
    padding: 11px 18px;
    font-size: 10px;
    min-height: 28px;
  }

  .sticky-mobile-menu-btn {
    font-size: 14px;
    padding: 4px;
    min-width: 28px;
    min-height: 28px;
  }
}

/* Enhanced Header Inner Mobile Styling */
@media (max-width: 768px) {
  .header-inner-wrap {
    align-items: center;
    gap: 12px;
  }

  .header-logo img {
    max-height: 60px;
    width: auto;
  }

  .mobile-button {
    min-width: 36px;
    min-height: 36px;
    padding: 6px;
  }

  .mobile-button i {
    font-size: 16px;
  }

  .mobile-order-btn-header {
    min-width: 36px;
    min-height: 36px;
    padding: 6px;
  }

  .mobile-order-btn-header.text-based {
    padding: 5px 10px;
    font-size: 10px;
    min-width: 45px;
  }

  .mobile-header-actions {
    gap: 45px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 480px) {
  .header-inner-wrap {
    gap: 8px;
  }

  .header-logo img {
    max-height: 75px;
    border-radius: 50%;
  }

  .mobile-button {
    min-width: 32px;
    min-height: 32px;
    padding: 4px;
  }

  .mobile-button i {
    font-size: 14px;
  }

  .mobile-order-btn-header {
    min-width: 32px;
    min-height: 32px;
    padding: 4px;
  }

  .mobile-order-btn-header.text-based {
    /* padding: 4px 8px; */
    font-size: 12px;
    min-width: 116px;
  }

  .mobile-header-actions {
    gap: 40px !important;
    padding-right: 10px !important;
  }
}

/* ========================================
   COMPREHENSIVE MOBILE UI IMPROVEMENTS
======================================== */

/* Menu Component Mobile Fixes */
@media (max-width: 991px) {
  .simple-slider {
    position: relative !important;
    margin: 20px 0;
  }

  .slider-container {
    overflow: hidden;
    width: 100%;
  }

  .slider-wrapper {
    width: 100% !important;
  }

  .slide-item {
    min-width: 100% !important;
  }

  .our-menu-item {
    margin: 0 auto;
    max-width: 350px;
  }

  .our-menu-item .wrap-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
  }

  .our-menu-item .wrap-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .slider-nav {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: rgba(184, 134, 11, 0.9) !important;
    border: none !important;
    border-radius: 50% !important;
    color: #fff !important;
    font-size: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
  }

  .slider-nav.prev {
    left: 10px !important;
  }

  .slider-nav.next {
    right: 10px !important;
  }

  .slider-nav::after {
    content: "";
  }

  .slider-nav.prev::before {
    content: "‹";
    font-size: 20px;
    font-weight: bold;
  }

  .slider-nav.next::before {
    content: "›";
    font-size: 20px;
    font-weight: bold;
  }

  .slider-dots {
    display: flex !important;
    justify-content: center !important;
    margin-top: 20px !important;
    gap: 10px !important;
  }

  .slider-dots .dot {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50% !important;
    background: rgba(184, 134, 11, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
  }

  .slider-dots .dot.active {
    background: #b8860b !important;
    transform: scale(1.2) !important;
  }
}

/* Testimonial Component Mobile Fixes */
@media (max-width: 991px) {
  .section-testimonial .swiper-button-prev,
  .section-testimonial .swiper-button-next {
    display: none !important;
  }

  .section-testimonial .testimonial-item .paragraph {
    font-size: 18px !important;
    line-height: 26px !important;
    margin-bottom: 30px !important;
    padding: 0 15px !important;
  }

  .section-testimonial .testimonial-item .icon {
    margin-bottom: 20px !important;
  }
}

@media (max-width: 768px) {
  .section-testimonial .testimonial-item .paragraph {
    font-size: 16px !important;
    line-height: 24px !important;
    margin-bottom: 25px !important;
  }
}

/* Welcome Component Mobile Fixes */
@media (max-width: 991px) {
  .section-welcome .wrapper {
    flex-direction: column !important;
    gap: 30px !important;
  }

  .section-welcome .wrap-image {
    width: 100% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
  }

  .section-welcome .wrap-image.left {
    order: 1 !important;
  }

  .section-welcome .content {
    order: 2 !important;
    text-align: left !important;
    padding: 0 15px !important;
  }

  .section-welcome .tf-btn {
    margin: 25px auto 0 auto !important;
    display: block !important;
    text-align: center !important;
    max-width: 200px !important;
    background: linear-gradient(135deg, #b8860b, #d4af37) !important;
    color: #fff !important;
    padding: 15px 30px !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
  }

  .section-welcome .tf-btn::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent
    ) !important;
    transition: left 0.5s !important;
  }

  .section-welcome .tf-btn:hover {
    background: linear-gradient(135deg, #9a7209, #b8860b) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.5) !important;
  }

  .section-welcome .tf-btn:hover::before {
    left: 100% !important;
  }

  .section-welcome .wrap-image.right {
    order: 3 !important;
  }

  .section-welcome .heading-section .title {
    font-size: 28px !important;
    line-height: 34px !important;
  }
}

@media (max-width: 768px) {
  .section-welcome .heading-section .title {
    font-size: 24px !important;
    line-height: 30px !important;
  }

  .section-welcome .wrap-image {
    max-width: 300px !important;
  }

  .section-welcome .tf-btn {
    max-width: 180px !important;
    padding: 12px 25px !important;
    font-size: 13px !important;
    margin: 20px auto 0 auto !important;
  }
}

/* BestSelling Component Mobile Fixes */
@media (max-width: 991px) {
  .section-best-selling .product-item {
    margin-bottom: 30px !important;
  }

  .section-best-selling .product-item .wrap-image {
    height: 200px !important;
    overflow: hidden !important;
  }

  .section-best-selling .product-item .wrap-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .section-best-selling .heading-section .title {
    font-size: 28px !important;
    line-height: 34px !important;
  }
}

@media (max-width: 768px) {
  .section-best-selling .col-lg-4 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .section-best-selling .product-item {
    margin-bottom: 25px !important;
  }

  .section-best-selling .product-item .wrap-image {
    height: 150px !important;
  }

  .section-best-selling .heading-section .title {
    font-size: 24px !important;
    line-height: 30px !important;
  }
}

@media (max-width: 480px) {
  .section-best-selling .col-lg-4,
  .section-best-selling .col-sm-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .section-best-selling .product-item {
    max-width: 280px !important;
    margin: 0 auto 20px auto !important;
  }
}

/* Footer Component Mobile Fixes */
@media (max-width: 991px) {
  .footer .footer-body .row > div {
    margin-bottom: 30px !important;
  }

  .footer .form-row {
    flex-direction: column !important;
  }

  .footer .form-row .form-group {
    flex: none !important;
    max-width: 100% !important;
    margin-bottom: 15px !important;
  }

  .footer .footer-logo {
    text-align: center !important;
    margin-bottom: 20px !important;
  }

  .footer .list-sosial {
    justify-content: center !important;
  }
}

@media (max-width: 768px) {
  .footer .col-lg-3,
  .footer .col-md-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: center !important;
  }

  .footer .footer-menu-list h4 {
    margin-bottom: 15px !important;
  }

  /* Center footer title underline on mobile */
  #footer .wrap-footer .footer-body .title::before {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* Set all form inputs to width 280px - Global Rule (REDUCED FROM 330px) */
  .form-control,
  input.form-control,
  textarea.form-control,
  .form-group .form-control,
  .form-row .form-control,
  .col-md-12 .form-control,
  .col-md-6 .form-control,
  .col-sm-12 .form-control,
  .form-row .col-md-12 .form-control,
  .form-row .col-md-6 .form-control,
  .form-row .col-sm-12 .form-control {
    width: 280px !important;
    max-width: 280px !important;
    box-sizing: border-box !important;
    flex: none !important;
    -webkit-flex: none !important;
    -ms-flex: none !important;
    -webkit-box-flex: none !important;
    min-width: 280px !important;
    display: block !important;
    margin: 0 auto 15px auto !important;
  }

  .footer .footer-bottom {
    flex-direction: column !important;
    text-align: center !important;
    gap: 15px !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 18px 12px !important;
    width: 100% !important;
    display: flex !important;
    margin: 0 auto !important;
  }

  .footer .footer-bottom p {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  .footer .footer-bottom .content-right {
    justify-content: center !important;
  }

  /* Center the row that contains footer-bottom */
  .footer .row {
    justify-content: center !important;
    text-align: center !important;
  }
}

/* General Mobile Spacing Improvements */
@media (max-width: 991px) {
  /* Footer Bottom Center for Mobile/Tablet */
  .footer .footer-bottom {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px 15px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 auto !important;
  }

  .footer .footer-bottom p {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  /* Center the row that contains footer-bottom */
  .footer .row {
    justify-content: center !important;
    text-align: center !important;
  }

  /* Center footer title underline on mobile/tablet */
  #footer .wrap-footer .footer-body .title::before {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* Form inputs width already set globally above */

  /* Ensure form groups don't interfere with input sizing */
  .form-group {
    display: block !important;
    flex: none !important;
    width: auto !important;
    max-width: none !important;
  }

  .form-row .form-group {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    -webkit-flex: none !important;
    -ms-flex: none !important;
    -webkit-box-flex: none !important;
  }

  /* Ensure textarea also follows the same rules */
  textarea.form-control {
    width: 330px !important;
    max-width: 100% !important;
    min-width: 330px !important;
    box-sizing: border-box !important;
    flex: none !important;
    display: block !important;
    resize: vertical !important;
  }

  /* Final override for booking form specifically */
  .booking-form .form-control,
  .booking-form input.form-control,
  .booking-form textarea.form-control {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 330px !important;
    box-sizing: border-box !important;
    flex: none !important;
    display: block !important;
  }

  /* ULTIMATE NUCLEAR OPTION - No exceptions */

  /* Force ALL possible selectors */
  .form-group,
  .form-group.col-sm-12,
  .form-group.col-md-6,
  .form-group.col-md-12,
  .col-sm-12.col-md-6,
  .col-sm-12.col-md-12,
  div.form-group,
  div.form-group.col-sm-12,
  div.form-group.col-md-6,
  div.form-group.col-md-12,
  div.col-sm-12.col-md-6,
  div.col-sm-12.col-md-12,
  .booking-form .form-group,
  .booking-form .form-group.col-sm-12,
  .booking-form .form-group.col-md-6,
  .booking-form .form-group.col-md-12,
  .booking-form .col-sm-12.col-md-6,
  .booking-form .col-sm-12.col-md-12,
  .booking-form div.form-group,
  .booking-form div.form-group.col-sm-12,
  .booking-form div.form-group.col-md-6,
  .booking-form div.form-group.col-md-12,
  .booking-form div.col-sm-12.col-md-6,
  .booking-form div.col-sm-12.col-md-12 {
    width: 280px !important;
    max-width: 280px !important;
    min-width: 280px !important;
    flex: none !important;
    -webkit-flex: none !important;
    -ms-flex: none !important;
    -webkit-box-flex: none !important;
    display: block !important;
    margin: 0 auto 15px auto !important;
    padding: 0 !important;
    float: none !important;
    position: relative !important;
  }

  /* Force ALL input possibilities */
  input,
  input.form-control,
  textarea,
  textarea.form-control,
  .form-control,
  .form-group input,
  .form-group input.form-control,
  .form-group textarea,
  .form-group textarea.form-control,
  .form-group .form-control,
  div.form-group input,
  div.form-group input.form-control,
  div.form-group textarea,
  div.form-group textarea.form-control,
  div.form-group .form-control,
  .col-sm-12 input,
  .col-sm-12 input.form-control,
  .col-sm-12 textarea,
  .col-sm-12 textarea.form-control,
  .col-sm-12 .form-control,
  .col-md-6 input,
  .col-md-6 input.form-control,
  .col-md-6 textarea,
  .col-md-6 textarea.form-control,
  .col-md-6 .form-control,
  .col-md-12 input,
  .col-md-12 input.form-control,
  .col-md-12 textarea,
  .col-md-12 textarea.form-control,
  .col-md-12 .form-control,
  .booking-form input,
  .booking-form input.form-control,
  .booking-form textarea,
  .booking-form textarea.form-control,
  .booking-form .form-control {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    box-sizing: border-box !important;
    flex: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 14px !important;
    border: 1px solid #e6c9a2 !important;
    background: transparent !important;
    color: #fff !important;
  }

  /* Media query override for desktop */
  @media (min-width: 768px) {
    .form-group,
    .form-group.col-sm-12,
    .form-group.col-md-6,
    .form-group.col-md-12,
    .col-sm-12.col-md-6,
    .col-sm-12.col-md-12,
    div.form-group,
    div.form-group.col-sm-12,
    div.form-group.col-md-6,
    div.form-group.col-md-12 {
      width: 330px !important;
      max-width: 330px !important;
      flex: none !important;
      float: none !important;
      display: block !important;
      margin: 0 auto 15px auto !important;
    }
  }

  /* Emergency override at all costs */
  * {
    box-sizing: border-box !important;
  }

  .form-row > * {
    width: 330px !important;
    max-width: 330px !important;
    margin: 0 auto 15px auto !important;
    display: block !important;
  }

  /* Complete Bootstrap Grid Override for Forms */
  .form-row .col-md-12,
  .form-row .col-md-6,
  .form-row .col-sm-12,
  .booking-form .form-row .col-md-12,
  .booking-form .form-row .col-md-6,
  .booking-form .form-row .col-sm-12 {
    width: 330px !important;
    max-width: 330px !important;
    min-width: 330px !important;
    flex: none !important;
    -webkit-flex: none !important;
    -ms-flex: none !important;
    -webkit-box-flex: none !important;
    position: relative !important;
    display: block !important;
    float: none !important;
    margin: 0 auto 15px auto !important;
    padding: 0 !important;
  }

  /* Force form-row to not use flexbox */
  .booking-form .form-row,
  .form-row {
    display: block !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  .tf-spacing-1,
  .tf-spacing-2,
  .tf-spacing-3,
  .tf-spacing-6 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .tf-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .heading-section {
    margin-bottom: 30px !important;
  }

  .heading-section .title {
    margin-bottom: 15px !important;
  }

  .heading-section .sub-title {
    margin-bottom: 10px !important;
  }
  .section-welcome .wrap-image.right {
    height: 100%;
  }
  .main-content {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
}

@media (max-width: 768px) {
  .tf-spacing-1,
  .tf-spacing-2,
  .tf-spacing-3,
  .tf-spacing-6 {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .heading-section {
    margin-bottom: 25px !important;
  }
}

@media (max-width: 480px) {
  /* Footer Bottom Center for Small Mobile */
  .footer .footer-bottom {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 15px 10px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 auto !important;
  }

  .footer .footer-bottom p {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    font-size: 14px !important;
  }

  /* Center the row that contains footer-bottom */
  .footer .row {
    justify-content: center !important;
    text-align: center !important;
  }

  /* Center footer title underline on small mobile */
  #footer .wrap-footer .footer-body .title::before {
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* Small screens - adjust container and input sizes */
  .form-row .col-md-12,
  .form-row .col-md-6,
  .form-row .col-sm-12,
  .booking-form .form-row .col-md-12,
  .booking-form .form-row .col-md-6,
  .booking-form .form-row .col-sm-12 {
    width: 95% !important;
    max-width: 330px !important;
    min-width: 280px !important;
  }

  .form-control,
  input.form-control,
  textarea.form-control,
  .form-group .form-control,
  .form-row .form-control,
  .col-md-12 .form-control,
  .col-md-6 .form-control,
  .col-sm-12 .form-control,
  .form-row .col-md-12 .form-control,
  .form-row .col-md-6 .form-control,
  .form-row .col-sm-12 .form-control {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 280px !important;
  }

  .tf-spacing-1,
  .tf-spacing-2,
  .tf-spacing-3,
  .tf-spacing-6 {
    padding-top: 50px !important;
    padding-bottom: 50px !important;
  }
  .section-welcome .wrap-image.left {
    height: 100%;
  }

  .section-welcome .tf-btn {
    max-width: 160px !important;
    padding: 0px 20px !important;
    font-size: 12px !important;
    margin: 15px auto 0 auto !important;
    border-radius: 25px !important;
  }
  .section-post {
    grid-template-columns: repeat(1, 1fr);
  }

  .tf-container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .heading-section {
    margin-bottom: 20px !important;
  }

  .heading-section .title {
    font-size: 22px !important;
    line-height: 28px !important;
  }

  .heading-section .sub-title {
    font-size: 14px !important;
  }
}

/* Service Component Mobile Fixes */
@media (max-width: 991px) {
  .wg-service .row {
    flex-direction: column-reverse !important;
  }

  .wg-service .col-lg-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .wg-service .left {
    margin-bottom: 30px !important;
    padding: 0 15px !important;
  }

  .wg-service .right {
    text-align: center !important;
    margin-bottom: 30px !important;
  }

  .wg-service .right img {
    max-width: 100% !important;
    height: auto !important;
    max-height: 400px !important;
    object-fit: cover !important;
  }

  .wg-service .form-row {
    flex-direction: column !important;
  }

  .wg-service .form-group {
    flex: none !important;
    max-width: 100% !important;
    margin-bottom: 15px !important;
  }

  .wg-service .block-text h3 {
    font-size: 24px !important;
    line-height: 30px !important;
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  .wg-service .right img {
    max-height: 300px !important;
  }

  .wg-service .block-text h3 {
    font-size: 22px !important;
    line-height: 28px !important;
  }
}

/* WhyChooseUs Component Mobile Fixes */
@media (max-width: 991px) {
  .section-why .row {
    flex-direction: column !important;
  }

  .section-why .col-sm-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .section-why .wrap-image {
    text-align: center !important;
    margin-bottom: 30px !important;
  }

  .section-why .wrap-image .image {
    max-width: 400px !important;
    margin: 0 auto !important;
  }

  .section-why .wrap-image .image img {
    width: 100% !important;
    height: auto !important;
  }

  .section-why .wrap-image .item1 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: 20px !important;
    transform: none !important;
  }

  .section-why .content {
    text-align: center !important;
    padding: 0 15px !important;
  }

  .section-why .list-check {
    text-align: left !important;
    max-width: 400px !important;
    margin: 0 auto !important;
  }

  .section-why .item2 {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .section-why .wrap-image .image {
    max-width: 300px !important;
  }

  .section-why .heading-section .title {
    font-size: 24px !important;
    line-height: 30px !important;
  }
}

/* Location Component Mobile Fixes */
@media (max-width: 1199px) {
  .section-location .col-xl-4 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 30px !important;
  }

  .section-location .wrap-image {
    text-align: center !important;
    margin-bottom: 30px !important;
  }

  .section-location .wrap-image img {
    max-width: 100% !important;
    max-height: 300px !important;
    object-fit: cover !important;
  }

  .section-location .content {
    text-align: center !important;
    padding: 0 15px !important;
  }

  .section-location .map-box {
    height: 300px !important;
  }

  .section-location .map-image {
    /* width: 100% !important; */
    height: 300px !important;
    object-fit: cover !important;
  }
}

@media (max-width: 768px) {
  .section-location .wrap-image img {
    max-height: 100% !important;
  }

  .section-location .content .title {
    font-size: 24px !important;
    line-height: 30px !important;
  }

  .section-location .number {
    font-size: 22px !important;
    line-height: 28px !important;
  }

  .section-location .map-box {
    height: 340px !important;
  }

  .section-location .map-image {
    height: 340px !important;
    /* width: 340px !important; */
  }
}

/* Additional Universal Mobile Improvements */
@media (max-width: 991px) {
  /* Fix image overflow issues */
  .section-best-selling .item1,
  .section-best-selling .item2,
  .section-our-menu .item1,
  .section-why .item1,
  .section-why .item2 {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    z-index: 1 !important;
  }

  /* Center all section items */
  .section-best-selling .item1,
  .section-best-selling .item2,
  .section-our-menu .item1 {
    text-align: center !important;
    margin: 20px auto !important;
    display: block !important;
  }

  /* Fix button responsiveness */
  .tf-btn {
    display: inline-block !important;
    max-width: 200px !important;
    text-align: center !important;
    margin: 0 auto !important;
  }

  /* Fix container responsiveness */
  .tf-container.w-1550 {
    max-width: 100% !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .themesflat-container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 768px) {
  /* Reduce padding on small screens */
  .tf-container.w-1550,
  .themesflat-container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  /* Fix button sizes */
  .tf-btn {
    padding: 12px 20px !important;
    font-size: 14px !important;
    max-width: 180px !important;
  }

  /* Fix form elements */
  .form-control {
    font-size: 16px !important;
    padding: 12px 15px !important;
  }

  textarea.form-control {
    min-height: 100px !important;
  }
}

@media (max-width: 480px) {
  /* Very small screen optimizations */
  .tf-btn {
    padding: 10px 16px !important;
    font-size: 12px !important;
    max-width: 160px !important;
  }

  .form-control {
    font-size: 14px !important;
    padding: 10px 12px !important;
  }

  /* Hide decorative items on very small screens */
  .section-best-selling .item1,
  .section-best-selling .item2,
  .section-our-menu .item1,
  .section-why .item1,
  .section-why .item2 {
    display: none !important;
  }
}

/* Hide Swiper Navigation Buttons on Mobile */
@media (max-width: 991px) {
  .swiper-button-next,
  .swiper-button-prev,
  .page-title-next,
  .page-title-prev {
    display: none !important;
  }

  .page-title-home .swiper-button-next,
  .page-title-home .swiper-button-prev {
    display: none !important;
  }

  /* Hide all swiper navigation elements */
  .swiper-navigation-fix .swiper-button-next,
  .swiper-navigation-fix .swiper-button-prev {
    display: none !important;
  }

  /* Specific testimonial navigation hiding */
  .section-testimonial .swiper-button-next,
  .section-testimonial .swiper-button-prev {
    display: none !important;
  }

  /* Menu slider navigation already handled above */
  .slider-nav.prev,
  .slider-nav.next {
    display: block !important; /* Keep custom menu nav visible */
  }
}

/* Ensure Desktop Navigation Buttons Are Visible */
@media (min-width: 992px) {
  .swiper-button-next,
  .swiper-button-prev,
  .page-title-next,
  .page-title-prev {
    display: flex !important;
  }

  .page-title-home .swiper-button-next,
  .page-title-home .swiper-button-prev {
    display: flex !important;
  }

  .page-title-home .swiper-button-next {
    background: rgb(195 162 124 / 10%) !important;
  }
}

/* ===== FOOTER FORM SEND MESSAGE BUTTON FIX ===== */
@media (max-width: 991px) {
  #footer .wrap-footer .footer-body button[type="submit"],
  #footer .wrap-footer .footer-body button.w-full,
  #footer button[value="Send Message"],
  #footer .booking-form button[type="submit"] {
    width: 280px !important;
    max-width: 280px !important;
    min-width: 280px !important;
    margin: 20px auto 0 auto !important;
    display: block !important;
    padding: 15px 30px !important;
    box-sizing: border-box !important;
    float: none !important;
    position: relative !important;
  }

  /* Override w-full class specifically for footer button */
  #footer .w-full {
    width: 280px !important;
    max-width: 280px !important;
    min-width: 280px !important;
  }

  /* Ensure button container alignment */
  #footer .booking-form,
  #footer .wrap-footer .footer-body .form-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
}

@media (max-width: 480px) {
}

@media (max-width: 340px) {
  #footer .wrap-footer .footer-body button[type="submit"],
  #footer .wrap-footer .footer-body button.w-full,
  #footer button[value="Send Message"],
  #footer .booking-form button[type="submit"] {
    width: 95% !important;
    max-width: 280px !important;
    min-width: 260px !important;
    margin: 15px auto 0 auto !important;
    padding: 12px 20px !important;
  }

  #footer .w-full {
    width: 95% !important;
    max-width: 280px !important;
    min-width: 260px !important;
  }
}

/* ===== TEXT SPACING FIXES FOR MOBILE ===== */
@media (max-width: 991px) {
  /* Location Section - Paragraph spacing fix */
  .section-location .content p,
  .section-location p {
    padding: 0 15px !important;
    margin: 15px auto !important;
    text-align: left !important;
    line-height: 1.6 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* BestSelling Section - Paragraph spacing fix */
  .section-best-selling .heading-section p,
  .section-best-selling p {
    padding: 0 15px !important;
    margin: 15px auto !important;
    text-align: center !important;
    line-height: 1.6 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Content containers - prevent overflow */
  .section-location .content,
  .section-best-selling .heading-section {
    padding: 0 15px !important;
    overflow: hidden !important;
    word-wrap: break-word !important;
  }
}

@media (max-width: 480px) {
  /* Smaller padding for mobile phones */
  .section-location .content p,
  .section-location p,
  .section-best-selling .heading-section p,
  .section-best-selling p {
    padding: 0 10px !important;
    margin: 10px auto !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .section-location .content,
  .section-best-selling .heading-section {
    padding: 0 10px !important;
  }
}

@media (max-width: 340px) {
  /* Extra small devices */
  .section-location .content p,
  .section-location p,
  .section-best-selling .heading-section p,
  .section-best-selling p {
    padding: 0 8px !important;
    margin: 8px auto !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  .section-location .content,
  .section-best-selling .heading-section {
    padding: 0 8px !important;
  }
}

/* ===== GLOBAL TEXT OVERFLOW PREVENTION ===== */
@media (max-width: 991px) {
  /* Prevent any text from overflowing containers */
  .tf-container,
  .container,
  .col-xl-4,
  .col-lg-4,
  .col-lg-8,
  .col-md-6,
  .col-md-12,
  .col-sm-6,
  .col-sm-12 {
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    hyphens: auto !important;
    overflow: hidden !important;
  }

  /* All paragraphs in sections should have proper spacing */
  section p,
  .section p,
  div[class*="section"] p {
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }

  /* Heading sections should not overflow */
  .heading-section,
  .content {
    overflow: hidden !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 480px) {
  section p,
  .section p,
  div[class*="section"] p {
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 14px !important;
  }

  .heading-section,
  .content {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

@media (max-width: 340px) {
  section p,
  .section p,
  div[class*="section"] p {
    padding-left: 8px !important;
    padding-right: 8px !important;
    font-size: 13px !important;
  }

  .heading-section,
  .content {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

/* ===== BUSINESS INFORMATION MOBILE FIXES ===== */
@media (max-width: 991px) {
  /* Business Information Section */
  .section-location h5 {
    padding: 0 15px !important;
    margin: 15px auto 10px auto !important;
    text-align: center !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Business Information Paragraphs */
  .section-location .content .infor,
  .section-location p.infor {
    padding: 0 15px !important;
    margin: 8px auto !important;
    text-align: center !important;
    line-height: 1.5 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    hyphens: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    overflow: hidden !important;
  }

  /* Specific styling for different info types */
  .section-location .infor:nth-child(2) {
    /* Address */
    font-size: 14px !important;
    letter-spacing: 0.2px !important;
  }

  .section-location .infor:nth-child(3) {
    /* Email */
    font-size: 14px !important;
    word-break: break-all !important;
    letter-spacing: 0.1px !important;
  }

  .section-location .infor:nth-child(4) {
    /* Hours */
    font-size: 14px !important;
    letter-spacing: 0.2px !important;
  }
}

@media (max-width: 480px) {
  .section-location h5 {
    padding: 0 10px !important;
    font-size: 16px !important;
    margin: 12px auto 8px auto !important;
  }

  .section-location .content .infor,
  .section-location p.infor {
    padding: 0 10px !important;
    margin: 6px auto !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  /* Make email more readable on small screens */
  .section-location .infor:nth-child(3) {
    font-size: 12px !important;
    word-break: break-all !important;
  }
}

@media (max-width: 340px) {
  .section-location h5 {
    padding: 0 8px !important;
    font-size: 15px !important;
    margin: 10px auto 6px auto !important;
  }

  .section-location .content .infor,
  .section-location p.infor {
    padding: 0 8px !important;
    margin: 5px auto !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
  }

  /* Very small screens - break email aggressively */
  .section-location .infor:nth-child(3) {
    font-size: 11px !important;
    word-break: break-all !important;
    letter-spacing: 0px !important;
  }
}

/* ===== FOOTER FORM SEND MESSAGE BUTTON - DESKTOP FIX ===== */
@media (min-width: 992px) {
  #footer .wrap-footer .footer-body button[type="submit"],
  #footer .wrap-footer .footer-body button.w-full,
  #footer button[value="Send Message"],
  #footer .booking-form button[type="submit"] {
    width: 400px !important;
    max-width: 400px !important;
    min-width: 400px !important;
    margin: 25px auto 0 auto !important;
    display: block !important;
    padding: 18px 40px !important;
    box-sizing: border-box !important;
    float: none !important;
    position: relative !important;
    font-size: 16px !important;
    font-weight: 500 !important;
  }

  /* Override w-full class specifically for footer button on desktop */
  #footer .w-full {
    width: 400px !important;
    max-width: 400px !important;
    min-width: 400px !important;
  }

  /* Ensure button container alignment on desktop */
  #footer .booking-form,
  #footer .wrap-footer .footer-body .form-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }
}

/* Large desktop screens - even more reasonable width */
@media (min-width: 1400px) {
  #footer .wrap-footer .footer-body button[type="submit"],
  #footer .wrap-footer .footer-body button.w-full,
  #footer button[value="Send Message"],
  #footer .booking-form button[type="submit"] {
    width: 271px !important;
    max-width: 271px !important;
    min-width: 271px !important;
    padding: 20px 50px !important;
    font-size: 17px !important;
  }

  #footer .w-full {
    width: 450px !important;
    max-width: 450px !important;
    min-width: 450px !important;
  }
}

/* ===== EMAIL & PHONE SIDE BY SIDE FIX - IMPROVED ===== */
@media (max-width: 991px) {
  /* Email and Phone form-row should display as flex to keep inputs side by side */
  #footer .form-row:has(.col-md-6),
  #footer .form-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 15px !important;
    flex-wrap: nowrap !important;
    width: 280px !important;
    max-width: 280px !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  /* Email form-group (LEFT SIDE) */
  #footer .form-row .form-group.col-md-6:first-child {
    flex: 0 0 auto !important;
    width: 132px !important;
    max-width: 132px !important;
    min-width: 132px !important;
    margin: 0 0 15px 0 !important;
    display: block !important;
    padding: 0 !important;
    order: 1 !important;
  }

  /* Phone form-group (RIGHT SIDE) */
  #footer .form-row .form-group.col-md-6:last-child {
    flex: 0 0 auto !important;
    width: 132px !important;
    max-width: 132px !important;
    min-width: 132px !important;
    margin: 0 0 15px 0 !important;
    display: block !important;
    padding: 0 !important;
    order: 2 !important;
  }

  /* Email input (LEFT) */
  #footer .form-row .col-md-6:first-child .form-control,
  #footer .form-row .col-md-6:first-child input {
    width: 132px !important;
    max-width: 132px !important;
    min-width: 132px !important;
    margin: 0 !important;
    font-size: 13px !important;
    padding: 10px 12px !important;
    text-align: center !important;
  }

  /* Phone input (RIGHT) */
  #footer .form-row .col-md-6:last-child .form-control,
  #footer .form-row .col-md-6:last-child input {
    width: 132px !important;
    max-width: 132px !important;
    min-width: 132px !important;
    margin: 0 !important;
    font-size: 13px !important;
    padding: 10px 12px !important;
    text-align: center !important;
  }
}

@media (max-width: 480px) {
  /* Send Message button for smaller screens */
  #footer .wrap-footer .footer-body button[type="submit"],
  #footer .wrap-footer .footer-body button.w-full,
  #footer button[value="Send Message"],
  #footer .booking-form button[type="submit"] {
    width: 260px !important;
    max-width: 260px !important;
    min-width: 260px !important;
    margin: 15px auto 0 auto !important;
    padding: 12px 25px !important;
  }

  #footer .w-full {
    width: 260px !important;
    max-width: 260px !important;
    min-width: 260px !important;
  }

  /* Smaller screens - keep side by side but smaller */
  #footer .form-row:has(.col-md-6),
  #footer .form-row {
    width: 260px !important;
    max-width: 260px !important;
    gap: 12px !important;
  }

  #footer .form-row .form-group.col-md-6:first-child,
  #footer .form-row .form-group.col-md-6:last-child {
    width: 124px !important;
    max-width: 124px !important;
    min-width: 124px !important;
  }

  #footer .form-row .col-md-6:first-child .form-control,
  #footer .form-row .col-md-6:first-child input,
  #footer .form-row .col-md-6:last-child .form-control,
  #footer .form-row .col-md-6:last-child input {
    width: 124px !important;
    max-width: 124px !important;
    min-width: 124px !important;
    font-size: 12px !important;
    padding: 8px 10px !important;
  }
}

@media (max-width: 340px) {
  /* Send Message button for very small screens */
  #footer .wrap-footer .footer-body button[type="submit"],
  #footer .wrap-footer .footer-body button.w-full,
  #footer button[value="Send Message"],
  #footer .booking-form button[type="submit"] {
    width: 240px !important;
    max-width: 240px !important;
    min-width: 240px !important;
    margin: 15px auto 0 auto !important;
    padding: 12px 20px !important;
  }

  #footer .w-full {
    width: 240px !important;
    max-width: 240px !important;
    min-width: 240px !important;
  }

  /* Very small screens - even more compact */
  #footer .form-row:has(.col-md-6),
  #footer .form-row {
    width: 240px !important;
    max-width: 240px !important;
    gap: 10px !important;
  }

  #footer .form-row .form-group.col-md-6:first-child,
  #footer .form-row .form-group.col-md-6:last-child {
    width: 115px !important;
    max-width: 115px !important;
    min-width: 115px !important;
  }

  #footer .form-row .col-md-6:first-child .form-control,
  #footer .form-row .col-md-6:first-child input,
  #footer .form-row .col-md-6:last-child .form-control,
  #footer .form-row .col-md-6:last-child input {
    width: 115px !important;
    max-width: 115px !important;
    min-width: 115px !important;
    font-size: 11px !important;
    padding: 8px 8px !important;
  }
}

/* ===== SINGLE COLUMN FORM GROUPS (Name, Message) ===== */
@media (max-width: 991px) {
  /* Single column form groups (Name, Message) should remain full width */
  #footer .form-group.col-md-12:not(.col-md-6),
  #footer .form-row .form-group.col-md-12:not(.col-md-6) {
    width: 280px !important;
    max-width: 280px !important;
    min-width: 280px !important;
    margin: 0 auto 15px auto !important;
    display: block !important;
    padding: 0 !important;
  }

  /* Single column inputs (Name, Message) */
  #footer .form-group.col-md-12:not(.col-md-6) .form-control,
  #footer .form-row .form-group.col-md-12:not(.col-md-6) .form-control {
    width: 280px !important;
    max-width: 280px !important;
    min-width: 280px !important;
    margin: 0 !important;
    font-size: 14px !important;
    padding: 12px 15px !important;
    text-align: left !important;
  }

  /* Textarea specific styling */
  #footer textarea.form-control,
  #footer .form-group.col-md-12 textarea {
    width: 280px !important;
    max-width: 280px !important;
    min-width: 280px !important;
    height: 120px !important;
    resize: vertical !important;
    text-align: left !important;
  }
}

@media (max-width: 480px) {
  /* Single column on smaller screens */
  #footer .form-group.col-md-12:not(.col-md-6),
  #footer .form-row .form-group.col-md-12:not(.col-md-6) {
    width: 260px !important;
    max-width: 260px !important;
    min-width: 260px !important;
  }

  #footer .form-group.col-md-12:not(.col-md-6) .form-control,
  #footer .form-row .form-group.col-md-12:not(.col-md-6) .form-control,
  #footer textarea.form-control {
    width: 260px !important;
    max-width: 260px !important;
    min-width: 260px !important;
  }
}

@media (max-width: 340px) {
  /* Very small screens */
  #footer .form-group.col-md-12:not(.col-md-6),
  #footer .form-row .form-group.col-md-12:not(.col-md-6) {
    width: 240px !important;
    max-width: 240px !important;
    min-width: 240px !important;
  }

  #footer .form-group.col-md-12:not(.col-md-6) .form-control,
  #footer .form-row .form-group.col-md-12:not(.col-md-6) .form-control,
  #footer textarea.form-control {
    width: 240px !important;
    max-width: 240px !important;
    min-width: 240px !important;
  }
}

/* ===== EMAIL & PHONE SIDE BY SIDE FOR DESKTOP ===== */
@media (min-width: 992px) {
  /* Email and Phone form-row should display as flex on desktop too */
  #footer .form-row:has(.col-md-6),
  #footer .form-row {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 20px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  /* Email form-group (LEFT SIDE) on desktop */
  #footer .form-row .form-group.col-md-6:first-child {
    flex: 0 0 auto !important;
    width: 200px !important;
    max-width: 200px !important;
    min-width: 200px !important;
    margin: 0 0 15px 0 !important;
    display: block !important;
    padding: 0 !important;
    order: 1 !important;
  }

  /* Phone form-group (RIGHT SIDE) on desktop */
  #footer .form-row .form-group.col-md-6:last-child {
    flex: 0 0 auto !important;
    width: 200px !important;
    max-width: 200px !important;
    min-width: 200px !important;
    margin: 0 0 15px 0 !important;
    display: block !important;
    padding: 0 !important;
    order: 2 !important;
  }

  /* Email input (LEFT) on desktop */
  #footer .form-row .col-md-6:first-child .form-control,
  #footer .form-row .col-md-6:first-child input {
    width: 200px !important;
    max-width: 200px !important;
    min-width: 200px !important;
    margin: 0 !important;
    font-size: 14px !important;
    padding: 12px 15px !important;
    text-align: left !important;
  }

  /* Phone input (RIGHT) on desktop */
  #footer .form-row .col-md-6:last-child .form-control,
  #footer .form-row .col-md-6:last-child input {
    width: 200px !important;
    max-width: 200px !important;
    min-width: 200px !important;
    margin: 0 !important;
    font-size: 14px !important;
    padding: 12px 15px !important;
    text-align: left !important;
  }
}
