/* --------------------------------------------------------
   MENU ORBITAL 
--------------------------------------------------------- */

.ks-circle-menu-root {
  position: relative;
  display: inline-block;
}

.ks-circle-menu {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  pointer-events: none;
}

.ks-circle-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ks-circle-menu li {
  position: absolute;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s ease;
  pointer-events: auto;
}

.ks-circle-menu-root.ks-circle-open .ks-circle-item {
  pointer-events: auto;
}



/* --------------------------------------------------------
   MOBILE NAV —  AIRBNB STYLE
--------------------------------------------------------- */

.ks-mobile-nav {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);

    width: 92%;
    height: 70px;

    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);

    display: flex;
    justify-content: space-around;
    align-items: center;

    padding: 0 12px;
    z-index: 99999;

    transition: all .3s ease-in-out;
}

/* Mobile hidden state if needed later */
.ks-mobile-nav.is-hidden {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
    pointer-events: none;
}

/* --------------------------------------------------------
   NAV ITEMS
--------------------------------------------------------- */

.ks-mobile-item {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    color: white;
    font-size: 0.75rem;
    font-weight: 500;

    gap: 3px;
    transition: transform 0.15s ease, opacity .2s;
}

.ks-mobile-item i {
    font-size: 1.4rem;
}

/* Hover (mobile safe: only affects desktop inspector) */
.ks-mobile-item:hover {
    transform: scale(1.08);
}

/* Active click */
.ks-mobile-item:active {
    transform: scale(0.92);
}

/* ‘Autres’ button can have special highlight */
.ks-mobile-item.ks-mobile-more {
    background: rgba(255, 255, 255, 0.25);
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* --------------------------------------------------------
   SMALLER SCREENS COMPATIBILITY
--------------------------------------------------------- */

@media (max-width: 420px) {
    .ks-mobile-nav {
        height: 62px;
        width: 95%;
        border-radius: 18px;
    }

    .ks-mobile-item i {
        font-size: 1.25rem;
    }

    .ks-mobile-item span {
        font-size: 0.70rem;
    }
}

@media (max-width: 360px) {
    .ks-mobile-nav {
        height: 60px;
        gap: 4px;
        padding: 0 6px;
    }

    .ks-mobile-item span {
        display: none; /* icons only for very small screens */
    }
}
