* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 197, 5, 0.8) transparent;
}

*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: transparent;
}

*::-webkit-scrollbar-thumb {
  background-color: rgba(255, 197, 5, 0.2);
  border-radius: 4px;
  border: none;
}

:root {
  --primary-color: #ffc505;
  --mobile-header-height: 84px;
}

/* Device overlay on event image */
.event-image {
  position: relative;
}

.event .event-image .device-overlay {
  position: absolute;
  top: calc(50% + 159px);
  left: calc(50% + 800px);
  transform: translate(-50%, -50%);
  width: auto !important;
  height: auto !important;
  max-width: 67%;
  object-fit: contain !important;
  z-index: 10;
  pointer-events: none;
  opacity: 0;
  transition: none;
}

/* Trigger animation when parent AOS element animates */
.event .event-image.aos-animate .device-overlay {
  animation: deviceFadeUp 1s ease-out 0.3s forwards;
}

@keyframes deviceFadeUp {
  0% {
    opacity: 0;
    top: calc(50% + 159px);
  }
  100% {
    opacity: 1;
    top: calc(50% + 109px);
  }
}

/* Mobile: hide event.jpg and show device-2.png centered */
@media (max-width: 768px) {
  .event .event-image:not(.style-2) > img:first-child {
    display: none;
  }
  
  .event .event-image:not(.style-2) .device-overlay {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    max-width: 100%;
    width: 100%;
    animation: none;
    opacity: 1;
  }
  
  .event .event-image:not(.style-2)::before,
  .event .event-image:not(.style-2)::after {
    display: none;
  }
}

.page-title.p-about {
  background-image: url(./../../assets/images/allpics/BloomSecond-41.jpg);
}

.page-title.p-menu {
  background-image: url(./../../assets/images/section/menu-bg.jpg);
}

.page-title.p-contact {
  background-image: url(./../../assets/images/section/contact-bg.jpg);
}

/* Center main nav across pages */
.header.style-2 #site-header-inner {
  justify-content: space-between;
}

.header.style-2 #site-header-inner .main-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  transform: translateY(-50%);
  height: 100%;
  display: flex;
  justify-content: center;
}

/* Header Order Button */
.header-order-btn.tf-button.style1 {
  position: absolute;
  right: 200px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 40px;
  height: 50px;
  line-height: 50px;
  border: 1px solid var(--primary-color);
  border-radius: 0;
  background-image: linear-gradient(160deg, var(--primary-color) 50%, transparent 50%);
  background-size: 300%;
  background-position: 0%;
  color: #0e1927;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  margin-bottom: 0;
}

.header #site-header-inner .header-order-btn.tf-button.style1:hover {
  background-position: 70%;
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-50%) !important;
}

.header-order-btn.tf-button.style1::before {
  bottom: -10px;
  background: var(--primary-color);
}

/* Header Order Button - smaller screens */
@media (max-width: 1600px) {
  .header-order-btn.tf-button.style1 {
    right: 100px;
  }
}

@media (max-width: 1440px) {
  .header-order-btn.tf-button.style1 {
    right: 15px;
    padding: 0 25px;
    font-size: 10px;
    letter-spacing: 2px;
  }
}

@media (max-width: 1200px) {
  .header-order-btn.tf-button.style1 {
    right: 10px;
    padding: 0 20px;
    height: 45px;
    line-height: 45px;
  }
}

@media (max-width: 991px) {
  .header-order-btn.tf-button.style1 {
    display: none;
  }
}

/* Center FAQ accordion on about page */
.p-about .s-faq .flat-accordion {
  margin-right: 0;
}


/* Fix chef-restaurant section overflow */
.home-2 .chef-restaurant {
  overflow: hidden;
}

/* Reposition decorative images to stay within section */
.home-2 .chef-restaurant > img.item-right,
.home-2 .chef-restaurant > img.item-left {
  top: 20px;
}

/* Lower decorative images on about page by 50px */
.p-about .chef-restaurant > img.item-right {
  top: -50px;
  z-index: 0;
  pointer-events: none;
}
.p-about .chef-restaurant > img.item-left {
  top: -52px;
  z-index: 0;
  pointer-events: none;
}

/* About page: keep chef section height tight (slider moved to .chef-img) */
.p-about .chef-restaurant {
  padding-bottom: 0;
  margin-bottom: 0;
}
.p-about .chef-restaurant .container {
  position: relative;
  z-index: 2;
}
.p-about .chef-img {
  margin-top: 66px;
}

/* About page: reduce vertical spacing in services + timeline */
.p-about .s-services {
  padding: 90px 0 72px;
}

.p-about .s-services .services-box .icon {
  margin-bottom: 20px;
}

.p-about .s-services .services-box .content a {
  margin-bottom: 12px;
}

.p-about .history {
  padding: 88px 0;
}

.p-about .history .history-box {
  padding-top: 36px;
  margin-bottom: 14px;
}

/* About page: tighten spacing between Chef philosophy and FAQ */
.p-about .s-chef {
  padding-bottom: 52px;
}

.p-about .s-faq {
  padding-top: 72px;
}

/* Contact page: yellow background for contact form */
#contactform {
  background: #f5c400;;
}

/* Footer hours: 2-column day/time layout */
.footer.style-2 .widget.time ul {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  transform: none;
}

.footer.style-2 .widget.time ul li {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
  text-align: right;
}

.footer.style-2 .widget.time ul li span:last-child {
  white-space: nowrap;
}

/* Footer center column alignment (logo + text + social icons) */
.footer.style-2 .widget.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 0;
  padding-right: 0;
}

.footer.style-2 .widget.logo img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.footer.style-2 .widget.logo p {
  width: min(100%, 600px);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 38px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
}

.footer.style-2 .widget.logo .list-social {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
}

/* (intentionally no size/position changes for decorative images) */

/* Menu content background - match section */
.home-2 .chef-restaurant .menu-content {
  background: transparent;
}

/* Fix overlap between imagesSwiper and opening section */
.home-2 .chef-restaurant .container-fluid .list-img {
  margin-bottom: 0;
}

.home-2 .opening {
  padding-top: 80px;
  position: relative;
  isolation: isolate;
}

/* Keep opening background art behind content */
.home-2 .opening .img {
  z-index: 0;
  pointer-events: none;
}
.home-2 .opening .opening-content {
  position: relative;
  z-index: 1;
}

/* Change Menu Background Color here */
.home-2 .s-menu {
  background: #f8f3ec;
  padding: 127px 0 134px;
}

.home-2 .s-menu .block-text .subtitle {
  color: var(--primary-color);
  margin-bottom: 23px;
}

.home-2 .s-menu .block-text .title {
  color: #0e1927;
  margin-bottom: 11px;
}

.home-2 .s-menu .block-text .text {
  color: #666;
  line-height: 30px;
}

.home-2 .s-menu .flat-tabs {
  text-align: center;
  margin-top: 63px;
}

.home-2 .s-menu .flat-tabs .menu-tab {
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  background: transparent;
  padding: 0;
  width: auto;
  margin-bottom: 45px;
}

.home-2 .s-menu .flat-tabs .menu-tab li {
  margin: 0 27px;
}

.home-2 .s-menu .flat-tabs .menu-tab li h5 {
  font-size: 17px;
  color: #0e1927;
}

.home-2 .s-menu .flat-tabs .menu-tab li.active h5 {
  color: var(--primary-color);
}

.home-2 .s-menu .flat-tabs .menu-tab li::after {
  height: 1px;
  left: 1px;
  right: auto;
  bottom: 2px;
}

.home-2 .s-menu .flat-tabs .menu-tab li::before {
  display: none;
}

.home-2 .s-menu .flat-tabs .content-tab {
  padding-top: 0;
  padding-bottom: 0;
}

.home-2 .s-menu .flat-tabs .content-tab .container_inner {
  position: relative;
  min-height: 500px;
}

.home-2 .s-menu .flat-tabs .content-tab .left-img,
.home-2 .s-menu .flat-tabs .content-tab .right-img {
  position: absolute;
  top: 67px;
  width: 411px;
  height: 411px;
  min-width: 411px;
}

.home-2 .s-menu .flat-tabs .content-tab .left-img {
  left: 0;
}

.home-2 .s-menu .flat-tabs .content-tab .right-img {
  right: 0;
}

.home-2 .s-menu .flat-tabs .content-tab .left-img img,
.home-2 .s-menu .flat-tabs .content-tab .right-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-2 .s-menu .flat-tabs .content-tab .menu-list {
  max-width: 569px;
  margin: 0 auto;
}

.home-2 .s-menu .flat-tabs .content-tab h5 {
  color: #0e1927;
  text-align: center;
}

.home-2 .s-menu .flat-tabs .content-tab p {
  color: #666;
}
/* Change Text Background here */
.home-2 .s-menu .flat-tabs .content-tab h5 .txt {
  background: #F9F1E7;
}

.home-2 .s-menu .flat-tabs .content-tab h5 span.price {
  background: #F9F1E7;
}

.home-2 .s-menu .shape {
  top: 50px;
}

/* Responsive menu image sizing */
@media (max-width: 1400px) {
  .home-2 .s-menu .flat-tabs .content-tab .container_inner {
    min-height: 390px;
  }

  .home-2 .s-menu .flat-tabs .content-tab .left-img,
  .home-2 .s-menu .flat-tabs .content-tab .right-img {
    width: 300px;
    height: 300px;
    min-width: 300px;
  }
}

@media (max-width: 1200px) {
  .home-2 .s-menu .flat-tabs .content-tab .container_inner {
    min-height: 360px;
  }

  .home-2 .s-menu .flat-tabs .content-tab .left-img,
  .home-2 .s-menu .flat-tabs .content-tab .right-img {
    width: 220px;
    height: 220px;
    min-width: 220px;
    top: 120px;
  }
}

@media (max-width: 991px) {
  .home-2 .s-menu .flat-tabs .content-tab .container_inner {
    min-height: 330px;
  }

  .home-2 .s-menu .flat-tabs .content-tab .left-img,
  .home-2 .s-menu .flat-tabs .content-tab .right-img {
    width: 160px;
    height: 160px;
    min-width: 160px;
    top: 150px;
  }
  
  .home-2 .s-menu .flat-tabs .content-tab .menu-list {
    max-width: 100%;
    padding: 0 20px;
  }
}

@media (max-width: 768px) {
  .home-2 .s-menu .flat-tabs .content-tab .container_inner {
    min-height: 320px;
  }

  .home-2 .s-menu .flat-tabs .content-tab .left-img,
  .home-2 .s-menu .flat-tabs .content-tab .right-img {
    width: 120px;
    height: 120px;
    min-width: 120px;
    top: 180px;
  }

  .home-2 .s-menu .flat-tabs .menu-tab {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: 0;
    padding: 0 20px 12px;
    margin-bottom: 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .home-2 .s-menu .flat-tabs .menu-tab::-webkit-scrollbar {
    display: none;
  }

  .home-2 .s-menu .flat-tabs .menu-tab li {
    flex-shrink: 0;
    margin: 0 12px;
  }

  .home-2 .s-menu .flat-tabs .menu-tab li:first-child {
    margin-left: 0;
  }

  .home-2 .s-menu .flat-tabs .menu-tab li h5 {
    font-size: 14px;
    white-space: nowrap;
  }

  .home-2 .s-menu {
    padding: 80px 0 90px;
  }

  .home-2 .s-menu .flat-tabs .content-tab .menu-list {
    padding: 0 15px;
  }

  .home-2 .s-menu .flat-tabs .content-tab .menu-list li {
    margin-bottom: 22px;
  }

  .home-2 .s-menu .flat-tabs .content-tab h5 .txt,
  .home-2 .s-menu .flat-tabs .content-tab h5 span.price {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .home-2 .s-menu .flat-tabs .content-tab .container_inner {
    min-height: auto;
  }

  .home-2 .s-menu .flat-tabs .content-tab .left-img,
  .home-2 .s-menu .flat-tabs .content-tab .right-img {
    display: none;
  }

  .home-2 .s-menu {
    padding: 60px 0 70px;
  }

  .home-2 .s-menu .flat-tabs {
    margin-top: 40px;
  }

  .home-2 .s-menu .flat-tabs .menu-tab {
    padding: 0 15px 10px;
    margin-bottom: 25px;
  }

  .home-2 .s-menu .flat-tabs .menu-tab li {
    margin: 0 10px;
  }

  .home-2 .s-menu .flat-tabs .menu-tab li h5 {
    font-size: 13px;
    letter-spacing: 0.5px;
  }

  .home-2 .s-menu .flat-tabs .content-tab .menu-list {
    padding: 0 10px;
  }

  .home-2 .s-menu .flat-tabs .content-tab .menu-list li {
    margin-bottom: 20px;
  }

  .home-2 .s-menu .flat-tabs .content-tab h5 .txt,
  .home-2 .s-menu .flat-tabs .content-tab h5 span.price {
    font-size: 13px;
  }

  .home-2 .s-menu .flat-tabs .content-tab p {
    font-size: 13px;
  }

  .home-2 .s-menu .flat-tabs .content-tab .content-inner .tf-button {
    margin-top: 25px;
  }

  .home-2 .s-menu .block-text .title {
    font-size: 28px;
  }

  .home-2 .s-menu .block-text .text {
    font-size: 14px;
    line-height: 24px;
  }

  .home-2 .s-menu .block-text .text br {
    display: none;
  }
}

/* Fix for clickable ig-box gallery images */
a.ig-box {
  display: block;
}

/* Gallery image hover effect */
.gallery-ig .gallery-ig-main .col-img .ig-box {
  overflow: hidden;
}

.gallery-ig .gallery-ig-main .col-img .ig-box img {
  transition: transform 0.4s ease;
}

.gallery-ig .gallery-ig-main .col-img .ig-box:hover img {
  transform: scale(1.1);
}

#header_main.is-fixed {
  z-index: 1000;
  width: 100vw;
  transition: all 0.4s ease-in-out;
}

#site-header-inner .main-nav {
  left: 0 !important;
  right: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
}

#scroll-top {
  background-color: rgba(0, 0, 0, 0.1);
}

#scroll-top::after {
  color: var(--primary-color);
}

.footer.style-2 .widget {
  border-right: 0;
}

.footer.style-2 .widget.time ul li {
  white-space: nowrap;
}

/* Adjust counter position */
.home-2 .s-couter {
  margin-top: 50px;
  position: relative;
  z-index: 5;
}

/* Lower IG gallery */
.home-2 .gallery-ig {
  margin-top: 80px;
}


/* Menu slider section fix */
.home-2 .s-menu-list {
  background: #0e1927;
  padding-bottom: 300px;
}

/* Contact 02 info panel text background */
.s-contact-2 .contact-main .info-location {
  background: url("../../assets/images/section/contact-05.jpg") center center / cover no-repeat;
}

.s-contact-2 .contact-main .info-location::before {
  background: rgba(0, 0, 0, 0.6);
}

.s-contact-2 .contact-main .info-location > div {
  background: transparent;
  padding: 40px;
  border-radius: 12px;
}

/* Contact 02 form background to match footer */
.s-contact-2 .contact-main form {
  background: #0e1927;
}

.s-contact-2 .contact-main form .title,
.s-contact-2 .contact-main form p {
  color: #fff;
}

/* Keep contact form inputs white on focus */
.s-contact-2 .contact-main form .form-control,
.s-contact-2 .contact-main form .form-control:focus,
.s-contact-2 .contact-main form textarea,
.s-contact-2 .contact-main form textarea:focus {
  background-color: #fff !important;
}

/* Override browser autofill focus color */
.s-contact-2 .contact-main form input:-webkit-autofill,
.s-contact-2 .contact-main form input:-webkit-autofill:hover,
.s-contact-2 .contact-main form input:-webkit-autofill:focus,
.s-contact-2 .contact-main form textarea:-webkit-autofill,
.s-contact-2 .contact-main form textarea:-webkit-autofill:hover,
.s-contact-2 .contact-main form textarea:-webkit-autofill:focus {
  -webkit-text-fill-color: #000;
  -webkit-box-shadow: 0 0 0px 1000px #fff inset;
  transition: background-color 9999s ease-in-out 0s;
}


.home-2 .s-menu-list .portfolio-main {
  overflow: visible;
}

.home-2 .s-menu-list .portfolio-main .swiper-wrapper {
  justify-content: center;
}

.home-2 .s-menu-list .portfolio-box-1 {
  overflow: hidden;
}

.home-2 .s-menu-list + .s-chef {
  padding-top: 100px;
}

@keyframes slideUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}

@keyframes slideDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}

/* Nearby Location CSS */
.location-container {
  height: calc(100vh - 190px);
  height: calc(100dvh - 190px);
}

/* Layout */
.map-wrap {
  flex: 2;
  position: relative;
}

.map-container {
  flex: initial;
  width: 100%;
  height: 100%;
}

.map-note {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 60;
  max-width: 340px;
  padding: 8px 14px;
  border-radius: 10px;
  background: rgba(14, 25, 39, 0.92);
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: 0.2px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  animation: fadeOutNote 1s ease-out 10s forwards;
  text-align: center;
}

@keyframes fadeOutNote {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.sidebar-location {
  flex: 1;
  position: relative;
  background: #fafafa;
  padding: 20px;
  border-left: 1px solid #ddd;
}

.sidebar-list {
  position: absolute;
  top: 90px;
  left: 10px;
  right: 10px;
  bottom: 0;
  padding: 0 10px;
  overflow-y: auto;
}

/* Header section */

.search-input {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  padding: 10px 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 50;
}

.search-input input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  padding: 6px 4px;
  background: transparent;
}

.search-input input::placeholder {
  color: #999;
}

.search-input .clear-btn {
  background: #f2f2f2;
  border: none;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-input .clear-btn:hover {
  background: #e2e2e2;
}

/* Location cards */
.location-card {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 15px;
  opacity: 1;
  background: white;
  padding: 15px;
  padding-top: 20px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.4s ease;
}

.location-card.active {
  background: #eeeeee;
  border-color: #003d2b !important;
}

.location-card:hover {
  border-color: #003d2b70;
}

.location-card .location-timings {
  display: none;
}

.location-card .social-icons-box {
  display: none;
}

.location-text {
  min-width: 170px;
}

.location-title {
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 4px;
  color: #222;
}

.location-address,
.location-timings {
  color: #7a7a7a;
  font-size: 14px;
}

.location-address {
  line-height: normal;
}

.location-timings div {
  display: flex;
  gap: 10px;
}

.pac-container {
  border-radius: 12px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  margin-top: 12px !important;
  z-index: 9999 !important;
}

.pac-item {
  padding: 10px 14px !important;
  font-size: 14px !important;
}

.pac-item:hover {
  background: #f7f7f7 !important;
}

.distance-text,
.location-info {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 8px;
  gap: 6px;
  font-size: 14px;
  font-weight: bold;
  color: #003d2b;
}

.info-container {
  min-width: 70px;
}

.distance-text {
  line-height: normal;
}

.location-info {
  color: #f6af31;
  margin: 0 5px;
}

.location-card:not(.visible) .distance-text {
  display: none;
}

.distance-text i::before {
  font-size: 1rem;
}

.location-info i::before {
  font-size: 1.6rem;
}

.location-card .order-container {
  background: transparent;
  padding: 5px;
}

.location-card:not(.active) .order-container {
  visibility: hidden;
  pointer-events: none;
}

/* Sticky Footer */
.order-container {
  padding: 16px 24px;
  border-top: 1px solid #f0f0f0;
  background: #fff;
}

.order-button {
  display: flex;
  justify-content: center;
  align-items: center;

  width: 100%;
  padding: 10px 15px;
  border: none;
  border-radius: 30px;

  background-color: var(--primary-color);
  color: white;
  font-size: 16px;
  font-weight: 600;

  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s;
}

.order-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

/* Map Popup */
.modal-overlay {
  position: fixed;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.location-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px;
  height: fit-content;
  max-height: 75vh;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: none;
  overflow: hidden;
  z-index: 10000;
}

.show {
  display: flex;
}

.modal-map {
  flex: 1 1 auto;
}

.modal-card {
  flex: 0 0 320px;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #fff;
}

/* Close Button */
.card-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  color: #555;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.card-close i {
  display: flex;
  align-items: center;
}

.card-close i::before {
  font-size: 0.8rem;
}

.card-close:hover {
  background: rgba(0, 0, 0, 0.15);
}

/* Header Image Area */
.card-header-image {
  height: 200px;
  display: flex;
  background: rgba(0, 0, 0, 0.08);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.card-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

/* Content Body */
.card-content {
  padding: 16px 24px;
  flex-grow: 1;
  overflow-y: auto;
}

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

/* The Gold Icons Box */
.social-icons-box {
  display: flex;
  padding: 16px 0;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: white;
  font-size: 18px;
}

.social-icons-box i {
  background-color: #f6af31;
  padding: 12px;
  border-radius: 50%;
}
.social-icons-box i:hover {
  color: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

/* Hide the InfoWindow close button */
.gm-ui-hover-effect {
  display: none !important;
}

.gm-style-iw,
.gm-style-iw-d {
  overflow: visible !important;
}

/* Your modern tooltip styling */
.modern-infowindow {
  background: #ffffff;
  padding: 0 12px 8px 0;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  background: transparent;
  width: max-content;
  max-width: 90vw;
  line-height: 1.4;
  overflow: visible !important;
}

.modern-infowindow h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}

.modern-infowindow > div {
  margin: 0 0 6px;
}

.modern-infowindow .location-timings div {
  white-space: nowrap;
}

.modern-infowindow .location-timings {
  font-size: 12px;
}

@media (min-width: 1200px) {
  .footer.style-2 .widget.logo {
    margin: 0px -15px;
    border-right: 1px solid rgba(255, 255, 255, 0.129);
    border-left: 1px solid rgba(255, 255, 255, 0.129);
  }
}

@media (max-width: 1200px) and (min-width: 769px) {
  .home-2 .s-menu .flat-tabs .menu-tab {
    margin: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding: 0 20px 8px;
    scrollbar-width: none;
  }
  .home-2 .s-menu .flat-tabs .menu-tab::-webkit-scrollbar {
    display: none;
  }
  .home-2 .s-menu .flat-tabs .menu-tab li {
    flex-shrink: 0;
    margin: 0 14px;
  }
  .home-2 .s-menu .flat-tabs .menu-tab li h5 {
    white-space: nowrap;
    font-size: 15px;
  }
  .home-2 .s-menu .flat-tabs .content-tab .menu-list {
    position: relative;
    max-width: 100%;
    padding: 0 20px;
  }
  .home-2 .s-menu .flat-tabs .content-tab .right-img {
    display: none;
  }
}

@media (max-width: 1200px) {
  .footer.style-2 .widget.logo > p {
    padding: 0 20px;
  }
  .location-card {
    gap: 10px;
  }
  .location-card .order-container {
    padding: 0;
    background: transparent;
  }
  .location-card .order-button {
    padding: 8px 12px;
    border-radius: 10px;
  }
  .location-info {
    padding: 0px;
  }
  .distance-text i {
    display: none;
  }
}

@media (max-width: 991px) {
  .top-bar-2 .top-header {
    position: relative;
  }
  .top-bar-2 .top-header .header__logo.fixed {
    position: absolute;
    left: 49.2%;
    transform: translateX(-50%);
    padding-right: 0;
    z-index: 1020;
  }
  .top-bar-2 .top-header .header__logo.fixed img {
    width: clamp(280px, 52vw, 420px);
    max-width: none;
    height: auto;
  }
  .top-bar-2.scrolled .menu-overlay ~ .container .header__logo.fixed {
    padding-right: 0;
    position: fixed;
    top: 50%;
    left: 49.2%;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1020;
  }
  .top-bar-2.scrolled {
    position: absolute;
    display: flex;
    height: var(--mobile-header-height);
    top: 0;
    right: 0;
    left: 0;
    z-index: 9999;
  }
  .top-bar-2.scrollup {
    position: fixed;
    background: #fff;
    animation: forwards 0.3s ease-in-out slideUp;
  }
  .top-bar-2.scrolled {
    position: fixed;
    background: #fff;
    animation: forwards 0.3s ease-in-out slideDown;
  }
  .contact-left {
    visibility: hidden;
    pointer-events: none;
  }
  #header_main.header {
    display: none;
  }
  .map-container {
    flex: 1;
  }
  .distance-text i {
    display: block;
  }
}

@media (max-width: 815px) and (min-width: 769px) {
  .home-2 .s-menu .flat-tabs .content-tab .menu-list {
    position: relative;
    max-width: 100%;
    padding: 0 15px;
  }
}

@media (max-width: 767px) {
  .home-2 .s-menu.s1 {
    padding-bottom: 20px !important;
  }
  .location-modal {
    flex-direction: column;
    max-width: 400px;
    width: 85%;
  }
  .modal-map {
    flex: 1 1 30vh;
  }
  .modal-card {
    flex: 1 1 auto;
    width: 100%;
  }
  .card-header-image {
    height: 150px;
    display: none;
  }
  .card-close {
    background: rgba(131, 131, 131, 0.3);
  }
  .location-card .order-button {
    padding: 12px 8px;
  }
  .distance-text i {
    display: none;
  }
}

@media (max-width: 575px) {
  .top-bar-2 {
    position: absolute;
    display: flex;
    height: var(--mobile-header-height);
    top: 0;
    right: 0;
    left: 0;
    z-index: 9999;
  }
  .location-container {
    position: relative;
    display: flex;
    flex-direction: column;
    top: var(--mobile-header-height);
    margin-bottom: var(--mobile-header-height);
    height: calc(100vh - var(--mobile-header-height));
  }
  .sidebar-location {
    flex: 1;
    position: relative;
    padding: 0;
    border-left: none;
    overflow: hidden;
  }
  .sidebar-list {
    position: absolute;
    top: 85px;
    left: 5px;
    right: 5px;
    bottom: 0;
    padding: 0 5px 100px 5px;
    overflow-y: scroll !important;
    -webkit-overflow-scrolling: touch;
  }
  .top-header {
    padding: 0;
  }
  .search-input {
    top: 10px;
    right: 10px;
    left: 10px;
  }
  .map-wrap {
    flex: 0.95;
  }
  .map-container {
    border-radius: 0;
    margin: 0;
    overflow: hidden;
  }
  .location-card {
    padding: 10px;
  }
  .page-nearby-location .footer {
    display: none;
  }
}

/* ========================================
   Float Labels Animation for Contact Form
   ======================================== */

/* Form wrapper styles */
.s-contact-2 .contact-main form.fl-form {
  padding: 50px 40px;
}

.s-contact-2 .contact-main form.fl-form .form-group.fl-wrap {
  position: relative;
  margin-bottom: 30px;
}

/* Input and textarea base styles */
.s-contact-2 .contact-main form.fl-form .fl-input {
  width: 100%;
  padding: 16px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
  outline: none;
}

.s-contact-2 .contact-main form.fl-form .fl-textarea {
  min-height: 140px;
  resize: vertical;
}

/* Focus state */
.s-contact-2 .contact-main form.fl-form .fl-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 197, 5, 0.15);
}

/* Float label styles */
.s-contact-2 .contact-main form.fl-form .fl-label {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 400;
  color: #555;
  pointer-events: none;
  transition: all 0.3s ease-in-out;
  background: transparent;
  padding: 0 4px;
}

/* Label for textarea */
.s-contact-2 .contact-main form.fl-form .fl-wrap:has(.fl-textarea) .fl-label {
  top: 20px;
}

/* Label float state - when input is focused or has content */
.s-contact-2 .contact-main form.fl-form .fl-input:focus ~ .fl-label,
.s-contact-2 .contact-main form.fl-form .fl-input:not(:placeholder-shown) ~ .fl-label {
  top: -18px;
  transform: translateY(0);
  font-size: 11px;
  color: var(--primary-color);
  background: #0e1927;
  left: 10px;
  padding: 4px 6px;
  border-radius: 3px;
}

/* Textarea label float state */
.s-contact-2 .contact-main form.fl-form .fl-textarea:focus ~ .fl-label,
.s-contact-2 .contact-main form.fl-form .fl-textarea:not(:placeholder-shown) ~ .fl-label {
  top: -18px;
  transform: translateY(0);
  font-size: 11px;
  color: var(--primary-color);
  background: #0e1927;
  left: 10px;
  padding: 4px 6px;
  border-radius: 3px;
}

/* Send button - keep original styling */
.s-contact-2 .contact-main form.fl-form .send-wrap {
  margin-top: 15px;
}

/* Validation error message styling */
.s-contact-2 .contact-main form.fl-form .form-group.fl-wrap label.error {
  position: absolute;
  bottom: -20px;
  left: 10px;
  font-size: 11px;
  color: #e34f4f;
  background: transparent;
  padding: 0;
  margin: 0;
}

/* Staggered animation for form elements */
.s-contact-2 .contact-main form.fl-form .form-group.fl-wrap,
.s-contact-2 .contact-main form.fl-form .send-wrap {
  opacity: 0;
  animation: fadeSlideUp 0.5s ease forwards;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .s-contact-2 .contact-main form.fl-form {
    padding: 30px 20px;
  }
  
  .s-contact-2 .contact-main form.fl-form .fl-input {
    padding: 16px 14px 6px;
    font-size: 14px;
  }
  
  .s-contact-2 .contact-main form.fl-form .fl-label {
    font-size: 14px;
    left: 14px;
  }
}
