
/* SS Service Centre shared assets and floating contact actions */
.ss-floating-actions{
  position:fixed; right:22px; bottom:24px; z-index:99999;
  display:flex; flex-direction:column; gap:12px;
}
.ss-float-btn{
  width:58px; height:58px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color:#fff !important; text-decoration:none !important;
  box-shadow:0 5px 18px rgba(0,0,0,.22);
  transition:transform .2s ease, box-shadow .2s ease;
}
.ss-float-btn:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(0,0,0,.27)}
.ss-float-btn svg{width:29px;height:29px;display:block}
.ss-whatsapp{background:#25D366}
.ss-call{background:#245fe5}
.ss-call svg{width:25px;height:25px}
@media(max-width:575px){
  .ss-floating-actions{right:14px;bottom:18px;gap:10px}
  .ss-float-btn{width:52px;height:52px}
  .ss-float-btn svg{width:26px;height:26px}
}


/* =========================================================
   SS Service Centre - polished mobile navigation drawer
   ========================================================= */
@media (max-width: 1199.98px) {
  #header .branding .container {
    min-height: 68px;
  }

  #navmenu.navmenu {
    padding: 0;
    z-index: 100000;
  }

  #navmenu .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 100002;
    width: 44px;
    height: 44px;
    margin: 0 2px 0 12px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #245fe5;
    color: #fff;
    font-size: 25px;
    line-height: 1;
    box-shadow: 0 5px 14px rgba(36, 95, 229, .22);
    cursor: pointer;
  }

  #navmenu .mobile-nav-toggle:focus-visible {
    outline: 3px solid rgba(36, 95, 229, .28);
    outline-offset: 3px;
  }

  body.mobile-nav-active {
    overflow: hidden;
  }

  body.mobile-nav-active #navmenu.navmenu {
    position: fixed;
    inset: 0;
    display: block;
    overflow: hidden;
    background: rgba(13, 27, 52, .58);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    transition: background .25s ease;
  }

  body.mobile-nav-active #navmenu .mobile-nav-toggle {
    position: fixed;
    top: 14px;
    right: 16px;
    color: #fff;
    background: #245fe5;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
  }

  #navmenu > ul,
  body.mobile-nav-active #navmenu > ul {
    display: block;
    position: fixed;
    top: 72px;
    right: 14px;
    left: auto;
    bottom: auto;
    width: min(340px, calc(100vw - 28px));
    max-height: calc(100dvh - 96px);
    margin: 0;
    padding: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    list-style: none;
    background: #fff;
    border: 1px solid rgba(18, 45, 88, .08);
    border-radius: 18px;
    box-shadow: 0 18px 55px rgba(7, 20, 43, .24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.985);
    transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    z-index: 100001;
  }

  body.mobile-nav-active #navmenu > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }

  #navmenu > ul > li {
    display: block;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #edf1f7;
  }

  #navmenu > ul > li:last-child {
    border-bottom: 0;
  }

  #navmenu > ul > li > a,
  #navmenu > ul > li > a:focus {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 13px 14px;
    border-radius: 10px;
    color: #24334b;
    font-family: var(--nav-font, inherit);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
    white-space: normal;
    transition: color .18s ease, background .18s ease, padding .18s ease;
  }

  #navmenu > ul > li > a:hover,
  #navmenu > ul > li > a:focus-visible,
  #navmenu > ul > li > a.active {
    color: #245fe5;
    background: #f0f5ff;
    padding-left: 18px;
    outline: none;
  }

  #navmenu > ul > li > a::before {
    display: none !important;
  }

  /* Remove the old six-item fixed bottom bar; the drawer is the only mobile menu. */
  .bottom-nav {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  #navmenu .mobile-nav-toggle {
    display: none;
  }
}


/* SS Service Centre: mobile and tablet bottom tab navigation */
.ss-mobile-tabbar {
  display: none;
}

@media (max-width: 1199.98px) {
  /* Hide the desktop navigation list and hamburger; use the bottom tab bar instead. */
  #navmenu.navmenu > ul,
  #navmenu .mobile-nav-toggle {
    display: none !important;
  }

  .ss-mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99990;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: stretch;
    min-height: 66px;
    padding: 7px 3px calc(7px + env(safe-area-inset-bottom));
    background: #245fe5;
    border-top: 1px solid rgba(255,255,255,.18);
    box-shadow: 0 -5px 22px rgba(15, 37, 78, .18);
  }

  .ss-mobile-tab {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 3px 1px;
    border-radius: 9px;
    color: rgba(255,255,255,.88) !important;
    text-decoration: none !important;
    font-size: 9px;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
  }

  .ss-mobile-tab i {
    display: block;
    font-size: 18px;
    line-height: 1;
  }

  .ss-mobile-tab span {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ss-mobile-tab.is-active {
    color: #fff !important;
    background: rgba(255,255,255,.17);
  }

  .ss-mobile-tab:active {
    background: rgba(255,255,255,.22);
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .ss-floating-actions {
    bottom: calc(82px + env(safe-area-inset-bottom)) !important;
    right: 14px !important;
    z-index: 99995;
  }

  /* No old overlay menu on mobile/tablet. */
  body.mobile-nav-active {
    overflow: auto;
  }
}

@media (max-width: 360px) {
  .ss-mobile-tab {
    font-size: 8px;
  }
  .ss-mobile-tab i {
    font-size: 16px;
  }
}

@media (min-width: 1200px) {
  .ss-mobile-tabbar {
    display: none !important;
  }
}


/* SS Service Centre poster promotion popup */
body.ss-poster-open { overflow: hidden; }
.ss-poster-overlay {
  position: fixed;
  inset: 0;
  z-index: 100500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(5, 15, 32, .78);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 1;
  animation: ssPosterFadeIn .22s ease both;
}
.ss-poster-dialog {
  position: relative;
  width: min(560px, 92vw);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateY(0) scale(1);
  animation: ssPosterPopIn .28s cubic-bezier(.2,.8,.2,1) both;
}
.ss-poster-image {
  display: block;
  width: 100%;
  max-height: calc(94vh - 72px);
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 18px 55px rgba(0,0,0,.38);
}
.ss-poster-close {
  position: absolute;
  top: -13px;
  right: -13px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  color: #17243a;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  cursor: pointer;
}
.ss-poster-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  width: min(360px, 88%);
  padding: 10px 18px;
  border-radius: 999px;
  background: #ffd400;
  color: #071b45 !important;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 7px 20px rgba(0,0,0,.24);
}
.ss-poster-call:hover { background: #ffe34d; color: #071b45 !important; }
.ss-poster-closing { opacity: 0; transition: opacity .18s ease; }
@keyframes ssPosterFadeIn { from {opacity:0} to {opacity:1} }
@keyframes ssPosterPopIn { from {transform:translateY(12px) scale(.96)} to {transform:translateY(0) scale(1)} }
@media (max-width: 575px) {
  .ss-poster-overlay { padding: 12px; }
  .ss-poster-dialog { width: min(94vw, 460px); gap: 8px; }
  .ss-poster-image { max-height: calc(90vh - 62px); border-radius: 12px; }
  .ss-poster-close { top: -9px; right: -8px; width: 36px; height: 36px; font-size: 25px; }
  .ss-poster-call { min-height: 42px; font-size: 14px; }
}
