
.pref-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 9998;
}

/* Panel */
.pref-panel {
  position: fixed;
  right: -420px;
  top: 0;
  width: 400px;
  height: 100vh;
  background: #fff;
  box-shadow: -5px 0 25px rgba(0,0,0,.2);
  transition: .3s;
  z-index: 9999;
  overflow-y: auto;
}

.pref-panel.active { right: 0; }
.pref-overlay.active { opacity: 1; visibility: visible; }

/* Header */
.pref-header {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

/* Content */
.pref-content {
  padding: 20px;
  font-size: 14px;
}

.pref-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 18px 0;
}

/* Switch */
.switch {
  position: relative;
  width: 44px;
  height: 24px;
}
.switch input { display: none; }
.slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 30px;
  cursor: pointer;
}
.slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: .3s;
}
.switch input:checked + .slider {
  background: #4dd4ac;
}
.switch input:checked + .slider:before {
  transform: translateX(20px);
}

/* Font buttons */
.font-controls button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #eee;
}

/* Info box */
.pref-info {
  background: #e8f3ff;
  padding: 15px;
  border-radius: 6px;
  margin-top: 20px;
}

/* Dark Mode */
body.dark {
  background: #121212;
  color: #e0e0e0;
}

/* High Contrast */
body.contrast {
  filter: contrast(1.4);
}

/* Reduce motion */
body.reduce-motion * {
  animation: none !important;
  transition: none !important;
}

/* Mobile */
@media (max-width: 576px) {
  .pref-panel { width: 100%; }
}

	/* Overlay */
.info-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 9998;
}

/* Panel */
.info-panel {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background: #fff;
  box-shadow: -4px 0 20px rgba(0,0,0,0.2);
  transition: 0.3s;
  z-index: 9999;
  overflow-y: auto;
}

/* Active */
.info-panel.active {
  right: 0;
}
.info-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Header */
.info-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}
.info-header button {
  border: none;
  background: none;
  font-size: 14px;
  cursor: pointer;
}

/* Content */
.info-content {
  padding: 20px;
  font-size: 14px;
}
.info-logo {
  max-width: 180px;
  margin-bottom: 15px;
}
.social-icons a {
  font-size: 22px;
  margin-right: 10px;
  color: #333;
}

/* Mobile */
@media (max-width: 576px) {
  .info-panel {
    width: 100%;
  }
}

#ftco-navbar {
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 8px 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

/* ===============================
   DESKTOP
   =============================== */
@media (min-width: 992px) {
  #ftco-navbar {
    padding: 12px 0;
  }
}

/* ===============================
   MOBILE TOP NAVBAR
   =============================== */
@media (max-width: 991px) {
  #ftco-navbar .container {
    justify-content: center;
  }
}

.mobile-footer{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #ffffff;
  display: flex;
  padding: 6px 4px;
  border-top: 1px solid #ddd;
  z-index: 9999;
}

/* Common item (a + button) */
.mobile-footer .mf-item{
  flex: 1;
  margin: 0 3px;
  border: 1px solid #8B0000;
  border-radius: 6px;
  background: #fff;
  color: #8B0000;
  font-size: 11px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}

/* Icons */
.mobile-footer .mf-item i{
  font-size: 16px;
  margin-bottom: 2px;
}

/* Button reset */
.mobile-footer button.mf-item{
  background: #fff;
  border: 1px solid #8B0000;
  width: 100%;
}

/* Active (Contact – full green) */
.mobile-footer .mf-item.active{
  background: #8B0000;
  color: #ffffff;
}

/* Active icon */
.mobile-footer .mf-item.active i{
  color: #ffffff;
}

/* ===============================
   MOBILE SLIDE MENU
   =============================== */
.mobile-menu{
  position: fixed;
  bottom: 60px;
  left: 0;
  width: 100%;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -8px 25px rgba(0,0,0,.25);
  z-index: 10000;   /* 🔥 clean & valid */
  display: none;
  font-family: poppins;
}

.mobile-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 9999;
  display: none;
}


/* HEADER */
.mobile-menu-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 20px;
  border-bottom:1px solid #eee;
}

.close-btn{
  background:#f5f6f7;
  border:1px solid #ddd;
  padding:6px 10px;
  font-size:13px;
  cursor:pointer;
}

/* LIST */
.menu-list{
  list-style:none;
  margin:0;
  padding:14px 0;
}

.menu-list li{
  padding:10px 20px;
}

.menu-list a,
.menu-title{
  font-size:15px;
  color:#666;
  text-decoration:none;
}

/* ICON INLINE (TEXT END) */
.icon{
  margin-left:6px;
  font-size:13px;
  opacity:.7;
}

/* SUB MENU */
.sub-menu{
  list-style:none;
  margin:8px 0 0 0;
  padding-left:16px;
  border-left:2px solid #ddd;
}

.sub-menu li{
  padding:6px 0;
}
.mobile-menu{
  display:none;   /* 🔥 important */
}

.mobile-overlay{
  display:none;   /* 🔥 important */
}

/* COMMON STYLE – Infos, Contact, Preferences */

/* CONTACT – light green background */
/* COMMON STYLE – Infos, Contact, Preferences */
#ftco-navbar .nav-item .nav-link{
  /* border: 1px solid #0f4c45; */
  padding: 4px 10px;          /* 👈 small & fit */
  margin-left: 6px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.2;           /* 👈 box height control */
  color: #0f4c45;
  display: inline-flex;       /* 👈 content fit */
  align-items: center;
}

/* CONTACT – light green background */
#ftco-navbar .nav-item .nav-link[href="contact.html"]{
  background: #e9f7f5;
  color: #0f4c45 !important;
    border: 1px solid #0f4c45;

}

/* OPTIONAL hover (same size, no jump) */
#ftco-navbar .nav-item .nav-link:hover{
  background: #e9f7f5;
}

/* CONTACT – full green */
/* #ftco-navbar .nav-item .nav-link[href="contact.html"]{
  background: #e9f7f5;
  border: 1.5px solid #0f4c45;
  color: #fff !important;
} */

/* Hover effect (optional but clean) */
/* #ftco-navbar .nav-item .nav-link:hover{
  background: #ddf0ed;
  color: #0c0c0c !important;
  font-weight: bold;
} */
/* Common box style */
.nav-box{
  border: 1px solid #0f4c45;
  padding: 4px 10px;
  margin-left: 6px;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.2;
  color: #0f4c45 !important;
  display: inline-flex;
  align-items: center;
  gap: 4px; /* icon & text spacing */
}

/* Contact special style */
.nav-contact{
  background: #e9f7f5;
}

/* Icon size control */
.nav-box i{
  font-size: 14px;
}

/* 🔒 LOCK navbar style even on scroll */
#ftco-navbar.scrolled .nav-link,
#ftco-navbar.awake .nav-link,
#ftco-navbar.sleep .nav-link{
  padding: 4px 10px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* 🔒 LOCK boxed buttons on scroll */
#ftco-navbar.scrolled .nav-box,
#ftco-navbar.awake .nav-box,
#ftco-navbar.sleep .nav-box{
  padding: 4px 10px !important;
  font-size: 14px !important;
}

/* 🔒 Prevent navbar height jump */
#ftco-navbar.scrolled,
#ftco-navbar.awake,
#ftco-navbar.sleep{
  padding: 8px 0 !important;
}

@media (max-width: 767px){

  .ftco-services{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .ftco-services > div{
    width: 50%;
    max-width: 50%;
    flex: 0 0 50%;
    margin-bottom: 20px;
  }

  /* Center content nicely */
  .block-6{
    padding: 10px 6px;
  }

  /* Icon box size */
  .block-6 .icon{
    width: 55px;
    height: 55px;
    font-size: 22px;
  }

  /* Heading */
  .block-6 .heading{
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
  }

  /* Subtitle */
  .block-6 span{
    font-size: 11px;
  }

  /* Best price inside icon */
  .price-icon{
    font-size: 14px;
    color: #0f4c45;
  }
}
/* Hide ONLY this big category image on mobile */
@media (max-width: 767px) {

  /* only this big category image */
  .category-wrap-2 {
    background-image: none !important;   /* image hide */
    /* background-color: #2d2d2d;            optional solid bg */
    min-height: auto;                     /* collapse avoid */
    padding: 30px 15px;
  }

  .category-wrap-2 .text {
    position: relative;
    background: transparent;              /* text full visible */
    color: #fff;
  }

}
/* ===== MOBILE FORCE BODY SCROLL (OWL + SCROLLAX FIX) ===== */
@media (max-width: 768px){

  body{
    overflow-y:auto !important;
    position:relative !important;
    touch-action: pan-y !important;
  }

  #home-section,
  #home-section *{
    touch-action: pan-y !important;
  }

}

