/* c:\Users\Administrator\Downloads\New folder (3)\aegis_store\static\css\app.css */
/* Companion stylesheet for Twelve v1 (demox.css): Popovers, Toasts, Group Buy, Universal Image Picker & Categorized Admin Panel */

#route-progress-wrap {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 110000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

#route-progress-bar {
  width: 100%;
  height: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--theme-main, #e60000), var(--theme-sec, #dc2626), #ffffff);
  box-shadow: 0 0 12px var(--theme-main, #e60000);
  transition: transform 0.16s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Navbar dropdown anchors (replaces Radix Popper inline positioning cleanly) */
.demox-popper-anchor {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.demox-popper-anchor > .store-nav-langPanel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  max-height: 320px;
}

.demox-popper-anchor > .store-nav-profilePanel {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  max-height: calc(100dvh - 96px);
}

/* Sound widget smooth entrance */
.store-soundWidget {
  opacity: 1 !important;
  transform: none !important;
  animation: v1Rise 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Gradient highlight text helper matching DEMOxSHOP hero & section titles */
.dx-text-gradient {
  background: linear-gradient(125deg, #ffffff 10%, var(--theme-main, #e60000) 58%, var(--theme-sec, #dc2626) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Toast notifications (matching DEMOxSHOP module 8303) */
#toast-stack {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 120000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(370px, calc(100vw - 32px));
  pointer-events: none;
}

.dx-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(15, 15, 19, 0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #f4f4f6;
  font-family: var(--font-ui, sans-serif);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(var(--theme-main-rgb, 230, 0, 0), 0.16);
  animation: v1PanelIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.dx-toast[data-variant="success"] {
  border-color: rgba(34, 197, 94, 0.36);
}

.dx-toast[data-variant="error"] {
  border-color: rgba(239, 68, 68, 0.42);
}

.dx-toast-icon {
  flex-shrink: 0;
  margin-top: 1px;
  display: inline-flex;
}

.dx-toast[data-variant="success"] .dx-toast-icon { color: #22c55e; }
.dx-toast[data-variant="error"] .dx-toast-icon { color: #ef4444; }
.dx-toast[data-variant="info"] .dx-toast-icon { color: var(--theme-main, #e60000); }

.dx-toast-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dx-toast-title {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  word-break: break-word;
}

.dx-toast-sub {
  font-size: 11.5px;
  color: #9ca3af;
  line-height: 1.45;
}

.dx-toast-close {
  background: transparent;
  border: 0;
  color: #71717a;
  cursor: pointer;
  padding: 2px;
  border-radius: 6px;
}

.dx-toast-close:hover {
  color: #ffffff;
}

/* Generic Twelve v1 Dialog Overlay */
.dx-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100050;
  background: rgba(4, 4, 6, 0.82);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: v1OverlayIn 0.18s ease-out both;
}

.dx-modal-card {
  width: min(560px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: #0d0d10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 24px;
  color: #f4f4f6;
  font-family: var(--font-ui, sans-serif);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(var(--theme-main-rgb, 230, 0, 0), 0.18);
  animation: v1PanelIn 0.24s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.dx-modal-card.wide {
  width: min(760px, 100%);
}

.dx-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.dx-modal-head h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
}

.dx-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #a1a1aa;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dx-icon-btn:hover {
  color: #ffffff;
  border-color: rgba(var(--theme-main-rgb, 230, 0, 0), 0.5);
  background: rgba(var(--theme-main-rgb, 230, 0, 0), 0.12);
}

/* ==========================================================================
   UNIVERSAL IMAGE PICKER (PC File / Web URL / Store Gallery / Paste)
   ========================================================================== */
.dx-img-picker {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dx-img-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dx-img-tab {
  border: 0;
  background: transparent;
  color: #a1a1aa;
  font-size: 12px;
  font-weight: 500;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dx-img-tab.active {
  background: linear-gradient(135deg, rgba(var(--theme-main-rgb, 230, 0, 0), 0.26), rgba(var(--theme-sec-rgb, 220, 38, 38), 0.2));
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(var(--theme-main-rgb, 230, 0, 0), 0.45);
}

.dx-img-drop {
  display: block;
  border: 1.5px dashed rgba(var(--theme-main-rgb, 230, 0, 0), 0.42);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
  cursor: pointer;
  background: rgba(var(--theme-main-rgb, 230, 0, 0), 0.04);
  transition: all 0.18s ease;
}

.dx-img-drop:hover,
.dx-img-drop.dragover {
  border-color: var(--theme-main, #e60000);
  background: rgba(var(--theme-main-rgb, 230, 0, 0), 0.1);
}

.dx-img-preview-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.dx-img-preview-row img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: #09090b;
  flex-shrink: 0;
}

.dx-img-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 8px;
  max-height: 176px;
  overflow-y: auto;
  padding: 4px;
}

.dx-img-gallery-item {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #09090b;
  padding: 0;
}

.dx-img-gallery-item.selected,
.dx-img-gallery-item:hover {
  border-color: var(--theme-main, #e60000);
}

.dx-img-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Login 3D Scrolling Background Visual Multi-Image Selector */
.dx-loginbg-box {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(var(--theme-main-rgb, 230, 0, 0), 0.3);
  background: rgba(10, 10, 14, 0.82);
  display: grid;
  gap: 12px;
}

.dx-loginbg-selected-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 88px;
  align-items: center;
}

.dx-loginbg-selected-chip {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(34, 197, 94, 0.65);
  background: #09090b;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.45);
}

.dx-loginbg-selected-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dx-loginbg-chip-order {
  position: absolute;
  left: 4px;
  bottom: 4px;
  padding: 1px 5px;
  border-radius: 5px;
  background: rgba(0, 0, 0, 0.78);
  color: #e4e4e7;
  font-size: 10px;
  font-weight: 700;
  pointer-events: none;
}

.dx-loginbg-chip-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 0;
  background: rgba(220, 38, 38, 0.92);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

.dx-loginbg-chip-remove:hover {
  background: #ef4444;
  transform: scale(1.08);
}

.dx-loginbg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  max-height: 290px;
  overflow-y: auto;
  padding: 6px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dx-loginbg-tile {
  position: relative;
  border-radius: 11px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: #09090b;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: transform 0.14s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  aspect-ratio: 1;
}

.dx-loginbg-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
}

.dx-loginbg-tile.active {
  border-color: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
}

.dx-loginbg-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.72;
  transition: opacity 0.14s ease;
}

.dx-loginbg-tile.active img,
.dx-loginbg-tile:hover img {
  opacity: 1;
}

.dx-loginbg-tile-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  color: #ffffff;
  background: #16a34a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.dx-loginbg-tile-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3px 6px;
  font-size: 9.5px;
  color: #e4e4e7;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

/* ==========================================================================
   GROUP BUY (/groupbuy) — TWELVE v1 BLACK & CRIMSON RED EDITION
   ========================================================================== */
.dx-gb-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 42px 24px 72px;
  font-family: var(--font-ui, sans-serif);
  color: var(--nav-text, #f4f4f6);
}

.dx-gb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
  gap: 24px;
  padding: 28px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 0% 0%, rgba(var(--theme-main-rgb, 230, 0, 0), 0.14), transparent 55%),
    rgba(255, 255, 255, 0.025);
  margin-bottom: 24px;
}

@media (max-width: 860px) {
  .dx-gb-hero {
    grid-template-columns: 1fr;
  }
}

.dx-gb-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}

@media (max-width: 640px) {
  .dx-gb-steps {
    grid-template-columns: 1fr;
  }
}

.dx-gb-step {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dx-gb-step-num {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--theme-main, #e60000);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.dx-gb-wallet-box {
  padding: 20px;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.dx-gb-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
}

.dx-gb-tab {
  border: 0;
  background: transparent;
  color: #a1a1aa;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 14px;
  border-radius: 11px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.16s ease;
}

.dx-gb-tab.active {
  background: linear-gradient(135deg, rgba(var(--theme-main-rgb, 230, 0, 0), 0.22), rgba(var(--theme-sec-rgb, 220, 38, 38), 0.16));
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(var(--theme-main-rgb, 230, 0, 0), 0.45);
}

.dx-gb-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 12px;
  margin-bottom: 22px;
}

@media (max-width: 780px) {
  .dx-gb-toolbar {
    grid-template-columns: 1fr;
  }
}

.dx-gb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 18px;
}

.dx-gb-card {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.dx-gb-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--theme-main-rgb, 230, 0, 0), 0.42);
}

.dx-gb-card-media {
  aspect-ratio: 16 / 9;
  background: #0c0b10;
  position: relative;
  overflow: hidden;
}

.dx-gb-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dx-gb-edit-img-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(12, 10, 18, 0.82);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border-radius: 9px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.dx-gb-edit-img-btn:hover {
  border-color: var(--theme-main, #e60000);
  color: #fca5a5;
}

.dx-gb-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.dx-gb-progress-track {
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.dx-gb-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--theme-main, #e60000), var(--theme-sec, #dc2626));
}

/* Shared Clean Form Inputs & Buttons */
.dx-input,
.dx-select,
.dx-textarea {
  width: 100%;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  color: #ffffff;
  padding: 10px 14px;
  font-size: 13.5px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.dx-select option {
  background: #121118;
  color: #ffffff;
}

.dx-input:focus,
.dx-select:focus,
.dx-textarea:focus {
  border-color: var(--theme-main, #e60000);
  box-shadow: 0 0 0 3px rgba(var(--theme-main-rgb, 230, 0, 0), 0.15);
}

.dx-btn-primary {
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--theme-main, #e60000), var(--theme-sec, #dc2626));
  color: #ffffff;
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.dx-btn-primary:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.dx-btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.dx-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.04);
  color: #e4e4e7;
  font-weight: 500;
  font-size: 13px;
  padding: 9px 15px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.15s ease;
}

.dx-btn-ghost:hover:not(:disabled) {
  border-color: rgba(var(--theme-main-rgb, 230, 0, 0), 0.45);
  background: rgba(var(--theme-main-rgb, 230, 0, 0), 0.1);
  color: #ffffff;
}

/* ==========================================================================
   CATEGORIZED ADMIN BACKOFFICE (/admin/*) — FOURTYSTORE FULL-BLEED EDITION
   ========================================================================== */
.dx-admin-shell {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: #070709;
  color: #f4f4f6;
  font-family: var(--font-ui, sans-serif);
}

.dx-admin-layout {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  flex: 1;
  min-height: 100dvh;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

@media (max-width: 1024px) {
  .dx-admin-layout {
    grid-template-columns: 1fr;
  }
}

.dx-admin-sidebar {
  background: #0a0a0e;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 18px 12px 18px;
  height: 100dvh;
  overflow-y: auto;
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dx-admin-sidebar-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-height: 0;
}

.dx-admin-mobile-toggle {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: #f4f4f6;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.dx-admin-mobile-tabs {
  display: none;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.dx-admin-mobile-tabs::-webkit-scrollbar {
  display: none;
}

.dx-admin-mobile-tab {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.dx-admin-mobile-tab.active {
  background: rgba(var(--theme-main-rgb, 230, 0, 0), 0.22);
  border-color: rgba(var(--theme-main-rgb, 230, 0, 0), 0.55);
  color: #ffffff;
}

@media (max-width: 1024px) {
  .dx-admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 40;
    height: auto;
    max-height: calc(100dvh - 8px);
    padding: 10px 12px;
    background: rgba(10, 10, 14, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    gap: 8px;
  }

  .dx-admin-mobile-toggle {
    display: inline-flex;
  }

  .dx-admin-mobile-tabs {
    display: flex;
  }

  .dx-admin-sidebar-body {
    display: none;
  }

  .dx-admin-sidebar-body.is-open {
    display: flex;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }
}

.dx-admin-search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.dx-admin-search-box input {
  width: 100%;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  padding: 7px 40px 7px 30px;
  font-size: 12px;
  color: #f4f4f6;
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.dx-admin-search-box input:focus {
  border-color: rgba(var(--theme-main-rgb, 230, 0, 0), 0.55);
  background: rgba(255, 255, 255, 0.055);
}

.dx-admin-search-icon {
  position: absolute;
  left: 10px;
  color: #71717a;
  display: inline-flex;
  pointer-events: none;
}

.dx-admin-search-kbd {
  position: absolute;
  right: 7px;
  padding: 1px 5px;
  border-radius: 5px;
  font-size: 10px;
  color: #71717a;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.dx-admin-group-btn {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #71717a;
  padding: 5px 8px 3px;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.15s ease;
}

.dx-admin-group-btn:hover {
  color: #cbd5e1;
}

.dx-admin-nav-btn {
  width: 100%;
  border: 0;
  background: transparent;
  color: #a1a1aa;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.dx-admin-nav-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}

.dx-admin-nav-btn.active {
  background: linear-gradient(90deg, rgba(var(--theme-main-rgb, 230, 0, 0), 0.2), rgba(var(--theme-sec-rgb, 220, 38, 38), 0.05));
  color: #ff4d4d;
  font-weight: 600;
  box-shadow: inset 2.5px 0 0 var(--theme-main, #e60000);
}

.dx-admin-nav-count {
  margin-left: auto;
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  color: #a1a1aa;
}

.dx-admin-nav-btn.active .dx-admin-nav-count {
  background: rgba(var(--theme-main-rgb, 230, 0, 0), 0.24);
  color: #fca5a5;
}

.dx-admin-sidebar-footer {
  margin-top: auto;
  padding: 10px 11px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.dx-admin-main {
  min-width: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 22px 28px 56px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 640px) {
  .dx-admin-main {
    padding: 16px 14px 48px;
  }
}

.dx-admin-pagehead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 4px;
}

.dx-admin-pagehead-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dx-admin-pagehead-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(var(--theme-main-rgb, 230, 0, 0), 0.14);
  border: 1px solid rgba(var(--theme-main-rgb, 230, 0, 0), 0.32);
  color: #ff4d4d;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dx-admin-pagehead-kicker {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #71717a;
}

.dx-admin-pagehead-title {
  margin: 1px 0 0;
  font-size: 18px !important;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}

.dx-admin-pagehead-sub {
  display: block;
  font-size: 11.5px;
  color: #8b8b97;
  margin-top: 1px;
}

.dx-admin-card {
  background: rgba(13, 13, 17, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 16px;
  padding: 18px 20px;
}

.dx-admin-layout h2 {
  font-size: 16px !important;
}

.dx-admin-layout h3 {
  font-size: 14.5px !important;
}

.dx-admin-layout .dx-input,
.dx-admin-layout .dx-select {
  padding: 8px 11px;
  font-size: 12.5px;
  border-radius: 10px;
}

.dx-admin-layout .dx-btn-primary,
.dx-admin-layout .dx-btn-ghost {
  padding: 7px 13px;
  font-size: 12.5px;
  border-radius: 10px;
}

.dx-admin-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 1100px) {
  .dx-admin-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .dx-admin-kpis {
    grid-template-columns: 1fr;
  }
}

.dx-admin-kpi {
  position: relative;
  overflow: hidden;
  min-height: 92px;
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(15, 15, 20, 0.92);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.dx-admin-kpi:hover {
  transform: translateY(-1.5px);
}

.dx-admin-kpi[data-accent="red"] {
  background:
    radial-gradient(circle at 88% 88%, rgba(239, 68, 68, 0.22), transparent 58%),
    rgba(15, 14, 18, 0.95);
  border-color: rgba(239, 68, 68, 0.22);
}

.dx-admin-kpi[data-accent="violet"] {
  background:
    radial-gradient(circle at 88% 88%, rgba(168, 85, 247, 0.22), transparent 58%),
    rgba(15, 14, 18, 0.95);
  border-color: rgba(168, 85, 247, 0.22);
}

.dx-admin-kpi[data-accent="emerald"] {
  background:
    radial-gradient(circle at 88% 88%, rgba(16, 185, 129, 0.2), transparent 58%),
    rgba(15, 14, 18, 0.95);
  border-color: rgba(16, 185, 129, 0.22);
}

.dx-admin-kpi[data-accent="amber"] {
  background:
    radial-gradient(circle at 88% 88%, rgba(245, 158, 11, 0.2), transparent 58%),
    rgba(15, 14, 18, 0.95);
  border-color: rgba(245, 158, 11, 0.22);
}

.dx-admin-kpi-label {
  display: block;
  color: #9ca3af;
  font-size: 11.5px;
  font-weight: 500;
}

.dx-admin-kpi strong {
  display: block;
  font-size: clamp(22px, 1.65vw, 26px);
  line-height: 1.15;
  font-weight: 700;
  color: #ffffff;
  margin-top: 5px;
  font-variant-numeric: tabular-nums;
}

.dx-admin-kpi-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #ffffff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.dx-admin-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.dx-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}

.dx-admin-table th {
  text-align: left;
  color: #8b8b97;
  font-weight: 600;
  font-size: 11.5px;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dx-admin-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  vertical-align: middle;
}

.dx-admin-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.dx-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
}

.dx-badge.purple {
  color: #ff6b6b;
  border-color: rgba(230, 0, 0, 0.38);
  background: rgba(230, 0, 0, 0.14);
}

.dx-badge.green {
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
}

.dx-badge.amber {
  color: #fde047;
  border-color: rgba(234, 179, 8, 0.35);
  background: rgba(234, 179, 8, 0.12);
}

.dx-badge.red {
  color: #fca5a5;
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.12);
}

/* ==========================================================================
   FOURTYSTORE AUTH SHOWCASE (/login, /signin, /register, /signup)
   Exact replica of fourtystore.xyz/signin.html + 15cx282jk8x9f.css
   ========================================================================== */
.fs-auth-main {
  position: relative;
  display: flex;
  min-height: 100dvh;
  width: 100%;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 40px 16px;
  background-color: var(--theme-bg, #08080a);
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #ffffff;
}

.fs-iso-layer,
.fs-meteor-layer {
  pointer-events: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.fs-iso-layer { z-index: 1; }
.fs-meteor-layer { z-index: 2; }

.auth-showcase-module__ZM91ga__isoGrid {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(55deg) rotate(-38deg);
}

.auth-showcase-module__ZM91ga__isoRow {
  width: max-content;
  display: flex;
  gap: 1.75rem;
  will-change: transform;
  animation: fs-iso-scroll var(--dur, 200s) linear infinite;
}

.auth-showcase-module__ZM91ga__isoRowReverse {
  animation-direction: reverse;
}

.auth-showcase-module__ZM91ga__isoCard {
  flex: none;
  width: 13.75rem;
  height: 13.75rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #0e0e12;
  overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.72);
}

.auth-showcase-module__ZM91ga__isoCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 0.45rem;
  border-radius: 1.15rem;
  user-select: none;
  -webkit-user-select: none;
}

@keyframes fs-iso-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.auth-showcase-module__ZM91ga__isoShade {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.62);
}

.auth-showcase-module__ZM91ga__isoFocus {
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 45% at 50% 50%, rgba(8, 8, 10, 0.86) 0%, rgba(8, 8, 10, 0.42) 50%, transparent 80%);
}

.auth-showcase-module__ZM91ga__isoEdge {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 55% at 50% 50%, transparent 25%, #08080a 72%);
}

/* Shooting Meteors */
.auth-showcase-module__ZM91ga__meteor {
  position: absolute;
  width: var(--w, 120px);
  height: var(--h, 2px);
  border-radius: 9999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92));
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.42));
  opacity: 0;
  transform-origin: 100% 50%;
  will-change: transform, opacity;
  animation: fs-meteor var(--dur, 6s) linear var(--delay, 0s) infinite;
}

.auth-showcase-module__ZM91ga__meteorSpecial {
  background: linear-gradient(90deg, transparent, rgba(var(--theme-main-rgb, 230, 0, 0), 0.96));
  filter: drop-shadow(0 0 8px rgba(var(--theme-main-rgb, 230, 0, 0), 0.75));
}

.auth-showcase-module__ZM91ga__meteorSpecial::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -3px;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: var(--theme-main, #e60000);
  box-shadow: 0 0 12px 3px rgba(var(--theme-main-rgb, 230, 0, 0), 0.8);
}

@keyframes fs-meteor {
  0% {
    opacity: 0;
    transform: rotate(var(--angle, 35deg)) translateX(0);
  }
  8%, 65% {
    opacity: var(--alpha, 0.9);
  }
  100% {
    opacity: 0;
    transform: rotate(var(--angle, 35deg)) translateX(115vmax);
  }
}

/* Showcase 2-Column Container */
.fs-auth-grid {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1024px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 22px;
}

@media (min-width: 1024px) {
  .fs-auth-grid {
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
    row-gap: 0;
  }
  .fs-auth-left-top {
    grid-column: 1;
    grid-row: 1;
    margin-top: -16px;
    justify-content: flex-start !important;
  }
  .fs-auth-right {
    grid-column: 2;
    grid-row: 1 / span 2;
  }
  .fs-auth-left-bottom {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start !important;
  }
}

.fs-auth-left-top,
.fs-auth-right,
.fs-auth-left-bottom {
  display: flex;
  justify-content: center;
}

/* Orbital Rings & Twinkling Stars */
.fs-orbit-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(260px, 70vw);
  height: min(260px, 70vw);
}

@media (min-width: 1024px) {
  .fs-orbit-stage {
    width: 380px;
    height: 380px;
  }
}

@keyframes fs-spin-cw {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fs-spin-ccw {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes fs-twinkle {
  0%, 100% { opacity: 0.35; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.25); }
}

@keyframes fs-reveal {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

.fs-reveal {
  animation: fs-reveal 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) var(--delay, 0s) both;
}

.fs-orbit-ring-outer {
  position: absolute;
  inset: 8px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  animation: fs-spin-cw 48s linear infinite;
}

.fs-orbit-ring-inner {
  position: absolute;
  inset: 38px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  animation: fs-spin-ccw 34s linear infinite;
}

.fs-orbit-icons-outer {
  position: absolute;
  inset: 8px;
  animation: fs-spin-cw 40s linear infinite;
}

.fs-orbit-icons-inner {
  position: absolute;
  inset: 38px;
  animation: fs-spin-ccw 26s linear infinite;
}

.fs-twinkle-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.75);
  animation: fs-twinkle var(--dur, 2.6s) ease-in-out var(--delay, 0s) infinite;
}

.fs-twinkle-dot.xs {
  width: 4px;
  height: 4px;
}

.fs-orbit-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 14, 0.85);
  color: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.fs-orbit-badge.sm {
  padding: 5px;
}

.fs-pos-top { left: 50%; top: 0; transform: translate(-50%, -50%); }
.fs-pos-right { right: 0; top: 50%; transform: translate(50%, -50%); }
.fs-pos-bottom { left: 50%; bottom: 0; transform: translate(-50%, 50%); }
.fs-pos-left { left: 0; top: 50%; transform: translate(-50%, -50%); }

.fs-logo-glow-1 {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 176px;
  height: 82px;
  transform: translate(-50%, -34%);
  border-radius: 9999px;
  background: rgba(var(--theme-main-rgb, 230, 0, 0), 0.3);
  filter: blur(36px);
}

.fs-logo-glow-2 {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 128px;
  height: 50px;
  transform: translate(-50%, -30%);
  border-radius: 9999px;
  background: rgba(var(--theme-main-rgb, 230, 0, 0), 0.24);
  filter: blur(22px);
}

.fs-logo-center {
  position: relative;
  z-index: 10;
  width: 148px;
  height: 148px;
  display: grid;
  place-items: center;
  padding: 6px;
}

@media (min-width: 1024px) {
  .fs-logo-center {
    width: 228px;
    height: 228px;
  }
}

.fs-logo-center img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 26px;
  filter: drop-shadow(0 12px 28px rgba(var(--theme-main-rgb, 230, 0, 0), 0.35));
}

.fs-left-actions {
  display: flex;
  width: 100%;
  max-width: 340px;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

@media (min-width: 1024px) {
  .fs-left-actions {
    margin-left: 20px;
  }
}

/* FourtyStore Brand CTA Button */
.brand-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff !important;
  text-decoration: none !important;
  cursor: pointer;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(135deg, var(--brand-accent, #ff2432) 0%, var(--theme-sec, #dc2626) 48%, var(--theme-main, #e60000) 100%);
  box-shadow: 0 4px 16px -2px rgba(var(--theme-main-rgb, 230, 0, 0), 0.65);
  transition: filter 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.brand-cta-button:hover:not(:disabled) {
  filter: brightness(1.12);
}

.brand-cta-button:active:not(:disabled) {
  transform: scale(0.98);
}

.brand-cta-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  box-shadow: none;
}

.fs-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(12, 12, 16, 0.76);
  color: #f4f4f6 !important;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  backdrop-filter: blur(8px);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.fs-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(var(--theme-main-rgb, 230, 0, 0), 0.45);
}

/* Right Glass Auth Card */
.fs-auth-card {
  width: 100%;
  max-width: 440px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: rgba(11, 11, 15, 0.84);
  padding: 26px;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.82), 0 0 0 1px rgba(var(--theme-main-rgb, 230, 0, 0), 0.08);
  backdrop-filter: blur(16px);
}

.fs-auth-title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: var(--theme-main, #ff2432);
  text-align: center;
}

.fs-auth-subtitle {
  margin: 5px 0 0;
  font-size: 13.5px;
  color: #a1a1aa;
  text-align: center;
}

.fs-field-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.68);
}

.fs-input-wrap {
  position: relative;
}

.fs-input-icon {
  pointer-events: none;
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #8b8b95;
  display: inline-flex;
}

.fs-input {
  width: 100%;
  height: 41px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.035);
  padding: 0 12px 0 38px;
  font-size: 13.5px;
  color: #ffffff;
  outline: none;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.fs-input::placeholder {
  color: rgba(255, 255, 255, 0.36);
}

.fs-input:focus {
  border-color: var(--theme-main, #e60000);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 0 0 3px rgba(var(--theme-main-rgb, 230, 0, 0), 0.14);
}

.fs-eye-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8b8b95;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}

.fs-eye-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
}

.fs-pw-meter {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.fs-pw-bar {
  height: 4px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

/* ==========================================================================
   ORIGINAL DEMOxSHOP & FOURTYSTORE PROPORTIONS (Clean 1120px–1240px Scale)
   ========================================================================== */
.store-profile {
  max-width: 880px !important;
  padding: 36px 24px 72px !important;
}

.store-hwid-reward-number {
  color: var(--theme-main, #ff2432);
}

.store-hwid-reward-progress progress,
.store-hwid-reward-progress progress::-webkit-progress-bar {
  background: rgba(255, 255, 255, 0.09);
  border-radius: 999px;
}

.store-hwid-reward-progress progress::-webkit-progress-value {
  background: var(--theme-main, #ff2432);
  border-radius: 999px;
}

/* ==========================================================================
   PRODUCT DETAIL PAGE (OBSIDIAN CYBER CONSOLE EDITION)
   ========================================================================== */
.store-product.pdp-shell {
  position: relative;
  max-width: 1220px !important;
  padding: 20px 24px 76px !important;
  overflow-x: clip;
}

.pdp-ambient-backdrop {
  position: absolute;
  inset: -40px -80px auto -80px;
  height: 460px;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 55%, transparent 100%);
}

.pdp-ambient-img {
  position: absolute;
  inset: 0;
  background-position: 24% 35%;
  background-size: cover;
  filter: blur(92px) saturate(1.2) brightness(0.24);
  transform: scale(1.16);
  opacity: 0.34;
}

.pdp-ambient-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(620px 340px at 26% 32%, rgba(var(--theme-main-rgb, 230, 25, 46), 0.11), transparent 72%);
}

.pdp-shell > *:not(.pdp-ambient-backdrop) {
  position: relative;
  z-index: 1;
}

.pdp-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 18px;
}

.store-product-breadcrumb.pdp-breadcrumb {
  margin-bottom: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  gap: 7px !important;
  font-size: 12.5px !important;
  max-width: 100%;
}

.pdp-breadcrumb a {
  min-height: 24px !important;
  color: #8c8c96;
  transition: color 0.15s ease;
}

.pdp-breadcrumb a:hover {
  color: #ffffff;
}

.pdp-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.22);
  font-size: 11px;
}

.pdp-top-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pdp-mini-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 11px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #a1a1aa;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.pdp-mini-pill-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.store-product-layout.pdp-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr) !important;
  gap: 26px !important;
  align-items: start !important;
}

.pdp-media-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.pdp-media-stage {
  position: relative;
  border-radius: 18px;
  padding: 0;
  background: #0a0a0e;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--lux-card-shadow);
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
  transition: border-color 0.2s ease;
}

.pdp-media-stage:hover {
  border-color: rgba(var(--theme-main-rgb, 230, 25, 46), 0.35);
}

.pdp-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: radial-gradient(
    360px circle at var(--mx) var(--my),
    rgba(255, 255, 255, 0.09),
    transparent 65%
  );
}

.pdp-media-stage:hover .pdp-glare {
  opacity: 1;
}

.store-product-image.pdp-image-frame {
  aspect-ratio: 1;
  width: 100%;
  max-width: none !important;
  border-radius: 0 !important;
  background: #09090d !important;
  border: 0 !important;
  position: relative;
  overflow: hidden;
}

.pdp-image-frame > img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-media-stage:hover .pdp-image-frame > img {
  transform: scale(1.025);
}

.pdp-image-overlay-top {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}

.pdp-image-overlay-top > * {
  pointer-events: auto;
}

.pdp-badge-floating {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  background: rgba(10, 10, 14, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.pdp-badge-floating.promo {
  background: var(--theme-main, #e6192e);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 14px rgba(var(--theme-main-rgb, 230, 25, 46), 0.35);
}

.pdp-beacon-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.pdp-status-beacon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d4d4d8;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}

.pdp-status-beacon i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.pdp-status-beacon[data-state="UPDATING"] {
  color: #fcd34d;
}
.pdp-status-beacon[data-state="UPDATING"] i {
  background: #f59e0b;
}

.pdp-status-beacon[data-state="MAINTENANCE"] {
  color: #fca5a5;
}
.pdp-status-beacon[data-state="MAINTENANCE"] i {
  background: #ef4444;
}

.pdp-zoom-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 14, 0.8);
  color: #e4e4e7;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.pdp-zoom-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

/* Single Obsidian Trust Bar under Media */
.pdp-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 14px;
  background: var(--lux-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--lux-card-shadow);
  overflow: hidden;
}

.pdp-trust-item {
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.pdp-trust-item:last-child {
  border-right: 0;
}

.pdp-trust-ic {
  color: var(--theme-main, #ff2a3c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pdp-trust-item small {
  display: block;
  font-size: 10.5px;
  color: #71717a;
  line-height: 1.25;
}

.pdp-trust-item strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #e4e4e7;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right Column: Sleek Obsidian Purchase Panel (Zero box-in-box nesting) */
.pdp-console-card {
  padding: 24px 26px;
  border-radius: 18px;
  background: var(--lux-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--lux-card-shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.pdp-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.pdp-cat-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ff6b78;
  text-decoration: none;
  transition: color 0.15s ease;
}

.pdp-cat-link:hover {
  color: #ffffff;
}

.pdp-title-wrap h1 {
  margin: 0 !important;
  font-size: clamp(22px, 2.5vw, 30px) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.pdp-subtitle-line {
  margin-top: 6px;
  font-size: 13px;
  color: #8c8c96;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pdp-inline-status {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12px;
  color: #a1a1aa;
}

.pdp-inline-status > span {
  white-space: nowrap;
}

.pdp-status-dot {
  color: #e4e4e7;
}

.pdp-status-dot[data-state="available"] i {
  background: #22c55e !important;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.7);
}

.pdp-status-dot[data-state="empty"] i {
  background: #ef4444 !important;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.65);
}

.pdp-status-dot[data-state="unavailable"] i {
  background: #f59e0b !important;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.65);
}

.pdp-wallet-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #8c8c96;
  text-decoration: none;
}

.pdp-wallet-text.ok {
  color: #86efac;
}

.pdp-wallet-text.short {
  color: #fcd34d;
}

.pdp-wallet-text:hover {
  color: #ffffff;
}

/* Flat Unboxed Price Section with Clean Hairlines */
.pdp-price-section {
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pdp-price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 4px;
}

.pdp-price-top-label {
  font-size: 12px;
  color: #8c8c96;
}

.store-product-price.pdp-price-row {
  margin: 0 !important;
  display: flex !important;
  align-items: baseline !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.store-product-price.pdp-price-row > strong {
  font-size: clamp(28px, 3vw, 36px) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  color: var(--theme-price-color, #ff2d3f) !important;
  font-variant-numeric: tabular-nums;
}

/* Package Selector */
.pdp-pkg-fieldset {
  margin: 0 !important;
  padding: 0;
  border: 0;
}

.pdp-pkg-legend {
  width: 100%;
  font-size: 12.5px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}

.pdp-pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(156px, 100%), 1fr));
  gap: 10px;
}

.pdp-pkg-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 7px;
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e4e4e7;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
  min-width: 0;
}

.pdp-pkg-card:hover:not(:disabled) {
  border-color: rgba(var(--theme-main-rgb, 230, 25, 46), 0.48);
  background: rgba(255, 255, 255, 0.045);
}

.pdp-pkg-card.active {
  border-color: var(--theme-main, #e6192e);
  background: rgba(var(--theme-main-rgb, 230, 25, 46), 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.pdp-pkg-card:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pdp-pkg-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.pdp-pkg-name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  white-space: nowrap;
  min-width: 0;
}

.pdp-pkg-name svg {
  flex-shrink: 0;
  color: #8c8c96;
}

.pdp-pkg-card.active .pdp-pkg-name svg {
  color: #ff6b78;
}

.pdp-pkg-tag {
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  background: rgba(var(--theme-main-rgb, 230, 25, 46), 0.2);
  color: #ff6b78;
  white-space: nowrap;
  flex-shrink: 0;
}

.pdp-pkg-bottom {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pdp-pkg-prices {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.pdp-pkg-prices strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--theme-price-color, #ff2d3f);
  font-variant-numeric: tabular-nums;
}

.pdp-pkg-check {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: transparent;
  transition: all 0.15s ease;
}

.pdp-pkg-card.active .pdp-pkg-check {
  background: var(--theme-main, #e6192e);
  border-color: var(--theme-main, #e6192e);
  color: #ffffff;
}

/* Unboxed Quantity + Coupon Row */
.store-product-qty-row.pdp-qty-row {
  margin-bottom: 0 !important;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
}

.pdp-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 40px;
  padding: 0 4px;
  border-radius: 10px;
  background: #0b0b10;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pdp-cta-stack {
  margin-top: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pdp-cta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.pdp-btn-shine {
  position: relative;
  overflow: hidden;
}

.pdp-btn-shine::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -110%;
  width: 65%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-22deg);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.pdp-btn-shine:hover:not(:disabled)::after {
  left: 145%;
}

.pdp-security-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11.5px;
  color: #71717a;
}

.pdp-security-foot span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Lower Bento Section: Sleek Obsidian Cards */
.pdp-lower-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: 20px;
  align-items: start;
}

.pdp-card {
  border-radius: 18px;
  background: var(--lux-card-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--lux-card-shadow);
  padding: 20px 22px;
  min-width: 0;
}

.pdp-tabs-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.pdp-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: #8c8c96;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.pdp-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}

.pdp-tab-btn.active {
  background: rgba(var(--theme-main-rgb, 230, 25, 46), 0.14);
  color: #ff6b78;
}

.pdp-feature-list {
  display: grid;
  gap: 8px;
}

.pdp-feature-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: #d4d4d8;
  line-height: 1.55;
}

.pdp-feature-row:last-child {
  border-bottom: 0;
}

.pdp-feature-check {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: rgba(34, 197, 94, 0.12);
  color: #4ade80;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pdp-step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.pdp-step-item {
  padding: 13px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pdp-step-num {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(var(--theme-main-rgb, 230, 25, 46), 0.18);
  color: #ff6b78;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 8px;
}

.pdp-side-stack {
  display: grid;
  gap: 16px;
}

.pdp-activity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pdp-related-section {
  margin-top: 32px;
}

.pdp-related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

@media (max-width: 980px) {
  .store-product-layout.pdp-layout,
  .pdp-lower-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }
  .pdp-media-col {
    display: contents;
  }
  .pdp-media-stage {
    order: 1;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
  }
  .pdp-console-card {
    order: 2;
  }
  .pdp-trust-strip {
    order: 3;
  }
  .pdp-step-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .store-product.pdp-shell {
    padding: 14px 12px 64px !important;
  }
  .pdp-topbar {
    margin-bottom: 14px;
    gap: 8px;
  }
  .store-product-breadcrumb.pdp-breadcrumb {
    font-size: 11.5px !important;
  }
  .pdp-console-card {
    padding: 18px 15px;
    border-radius: 16px;
    gap: 14px;
  }
  .pdp-media-stage {
    border-radius: 16px;
  }
  .pdp-trust-strip {
    grid-template-columns: minmax(0, 1fr);
  }
  .pdp-trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .pdp-trust-item:last-child {
    border-bottom: 0;
  }
  .store-product-qty-row.pdp-qty-row {
    grid-template-columns: minmax(0, 1fr);
  }
  .pdp-qty-stepper {
    width: fit-content;
  }
  .pdp-card {
    padding: 16px 14px;
    border-radius: 16px;
  }
  .pdp-tab-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE OVERHAUL (Admin + Auth + Tables + Modals)
   ========================================================================== */
@media (max-width: 768px) {
  .fs-auth-main {
    padding: 24px 12px 52px;
    align-items: flex-start;
  }
  .fs-auth-grid {
    gap: 16px;
  }
  .fs-orbit-stage {
    width: min(192px, 52vw);
    height: min(192px, 52vw);
  }
  .fs-auth-card {
    padding: 20px 16px;
    border-radius: 16px;
  }
  .fs-left-actions {
    flex-wrap: wrap;
    max-width: 100%;
  }
  .fs-auth-main ~ .store-soundWidget {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .dx-admin-main {
    padding: 14px 12px 56px;
  }
  .dx-admin-card {
    padding: 14px 12px;
    border-radius: 14px;
  }
  .dx-admin-pagehead {
    gap: 10px;
  }
  .dx-admin-pagehead-title {
    font-size: 16px !important;
  }
  .dx-admin-kpi {
    min-height: 78px;
    padding: 13px 14px;
  }
  .dx-admin-layout .dx-table-wrap,
  .dx-admin-card table {
    max-width: 100%;
  }
  .dx-admin-card .dx-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .dx-modal-backdrop {
    padding: 10px;
  }
  .dx-modal-card {
    padding: 18px 14px;
    border-radius: 16px;
    max-height: calc(100dvh - 20px);
  }
}
