/* ---------------------------------------------------------
   GLOBAL GLASS PANEL STYLE
   --------------------------------------------------------- */

.jio-store-menu,
.jio-pod-menu {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 260px;
  max-height: 70%;
  padding: 14px 16px 18px;
  border-radius: 18px;

  background: rgba(10, 10, 10, 0.90);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);

  overflow-y: auto;
  z-index: 9999;

  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* HIDE SCROLLBAR BUT KEEP SCROLL WORKING */
  scrollbar-width: none;
}
.jio-store-menu::-webkit-scrollbar,
.jio-pod-menu::-webkit-scrollbar {
  display: none;
}

/* Default desktop positions */
.jio-store-menu {
  left: 16px;
}
.jio-pod-menu {
  right: 16px;
}

.jio-store-menu-hidden,
.jio-pod-menu-hidden {
  display: none;
}

/* ---------------------------------------------------------
   CLOSE BUTTON (X) – TOP RIGHT (ALL DEVICES)
   --------------------------------------------------------- */

.jio-menu-close {
  position: absolute;
  top: 10px;
  right: 12px;

  width: 28px;
  height: 28px;
  border-radius: 999px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
  line-height: 1;
  color: #ffffffd9;
  background: rgba(255, 255, 255, 0.10);
  cursor: pointer;
  z-index: 10000;
  transition: 0.2s ease;
}
.jio-menu-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* ---------------------------------------------------------
   HEADERS
   --------------------------------------------------------- */

.jio-store-header,
.jio-pod-header {
  margin-bottom: 14px;
  padding-right: 34px; /* space for X icon */
}

.jio-store-title,
.jio-pod-title {
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.9;
}

/* ---------------------------------------------------------
   CATEGORY GROUPS
   --------------------------------------------------------- */

.jio-store-group {
  margin-bottom: 18px;
}

.jio-store-cat-title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 6px;
  color: #d9c088; /* premium goldish */
}

/* ---------------------------------------------------------
   LIST & ITEM STYLING
   --------------------------------------------------------- */

.jio-store-ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jio-store-item,
.jio-pod-item {
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: all 0.22s ease;
}

.jio-store-item:hover,
.jio-pod-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.08);
}

.jio-store-line {
  line-height: 1.35;
}

.jio-store-line-cat {
  font-size: 10px;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.jio-store-line-name {
  font-size: 14px;
  color: #fff;
  font-weight: 600;
}

.jio-store-line-level {
  font-size: 11px;
  opacity: 0.75;
}

/* ---------------------------------------------------------
   EMPTY MESSAGE
   --------------------------------------------------------- */

.jio-store-empty {
  font-size: 12px;
  color: #aaa;
  padding: 10px 6px;
}

/* ---------------------------------------------------------
   TOGGLE BUTTONS (Stores / Pods)
   --------------------------------------------------------- */

#jioStoreToggleBtn,
#jioPodToggleBtn {
  position: fixed;
  top: 16px;               /* desktop position */
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.85);
  color: #f5f5f5;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
  z-index: 10000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: 0.25s ease;
}

#jioStoreToggleBtn:hover,
#jioPodToggleBtn:hover {
  background: rgba(255, 255, 255, 0.18);
}

#jioStoreToggleBtn.jio-store-toggle-active,
#jioPodToggleBtn.jio-store-toggle-active {
  background: rgba(194, 163, 108, 0.95);
  color: #0b0b0b;
}

/* Desktop positions */
#jioStoreToggleBtn {
  left: 16px;
}
#jioPodToggleBtn {
  right: 16px;
}

/* ---------------------------------------------------------
   MOBILE MODE → Move toggle buttons to BOTTOM
   --------------------------------------------------------- */

@media (max-width: 768px) {

  /* Move buttons to bottom corners */
  #jioStoreToggleBtn,
  #jioPodToggleBtn {
    top: auto;
    bottom: 20px;
    transform: none;
  }

  #jioStoreToggleBtn {
    left: 16px;
    right: auto;
  }

  #jioPodToggleBtn {
    right: 16px;
    left: auto;
  }

  /* Panels slightly lower to avoid header clash */
  .jio-store-menu,
  .jio-pod-menu {
    top: calc(50% + 20px);
  }
}
