/* === GROUP MODAL REWORK === */
.group-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10, 5, 20, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 24px;
  box-shadow: 0 0 50px rgba(168, 85, 247, 0.15);
  padding: 2.5rem 2rem;
  width: min(900px, 90vw);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  color: #fff;
  z-index: 999;
  overflow: hidden;
  animation: modalFadeIn 0.45s ease forwards;
}

/* === Titel / Header === */
.group-modal h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
  text-align: left;
  color: #d3baff;
  text-transform: uppercase;
}

/* === Grid der Produkte === */
.group-modal .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
  padding-top: 0.5rem;
}

/* === Produktkarten kompakter & stilvoll === */
.group-modal .product-card {
  background: rgba(20, 10, 35, 0.65);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.group-modal .product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 40px rgba(168, 85, 247, 0.25);
}

/* === Logo + Text === */
.group-modal .product-card img {
  width: 80px;
  height: auto;
  opacity: 0.9;
  margin-top: 2rem;
}

.group-modal .product-card h3 {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

/* === Close Button minimalistischer === */
.group-modal .close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.group-modal .close-btn:hover {
  color: #c084fc;
}

/* === Fade Animation === */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -46%) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* =========================================================
   🪄 SYNDICATE PRODUCT PAGE REDESIGN — 2025 VERSION
   ========================================================= */

/* === Grundlayout === */
.product-wrapper {
  background: radial-gradient(circle at top, #0b031a 0%, #080113 100%);
  color: #ddd;
  padding-bottom: 100px;
}

.product-wrapper .display-6 {
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
  text-shadow: 0 0 10px rgba(157, 78, 221, 0.3);
}

/* === Status Badge === */
.status {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status .indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 12px currentColor;
}

.status .indicator .pulsating {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: pulseStatus 2s infinite;
  opacity: 0.7;
}

@keyframes pulseStatus {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.8); opacity: 0; }
  100% { transform: scale(1); opacity: 0.8; }
}

.status .label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* === Image Carousel === */
.carousel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(183, 82, 218, 0.25);
  border: 1px solid rgba(183, 82, 218, 0.15);
}

.carousel img {
  border-radius: inherit;
  transition: transform 0.4s ease;
}

.carousel:hover img {
  transform: scale(1.03);
}

/* Thumbnails */
.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: center;
}

.thumbnails button {
  background: transparent;
  border: 1px solid rgba(183, 82, 218, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
  padding: 0;
}

.thumbnails button.active,
.thumbnails button:hover {
  border-color: rgba(183, 82, 218, 0.6);
  box-shadow: 0 0 12px rgba(183, 82, 218, 0.3);
}

.thumbnails img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: inherit;
}

/* === Tabs === */
.product-tabs .btn {
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  letter-spacing: 0.3px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(183, 82, 218, 0.25);
  color: #cfc8e8;
  transition: all 0.25s ease;
}

.product-tabs .btn:hover {
  border-color: rgba(183, 82, 218, 0.5);
  color: #fff;
}

.product-tabs .btn-primary {
  background: linear-gradient(135deg, rgba(183, 82, 218, 0.6), rgba(111, 0, 255, 0.5));
  box-shadow: 0 0 18px rgba(183, 82, 218, 0.4);
  color: #fff !important;
  border-color: transparent;
}

.product-tabs .editor {
  background: rgba(10, 8, 18, 0.8);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid rgba(183, 82, 218, 0.2);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
  color: #e8e0ff;
}

/* === Variants === */
.variants {
  display: grid;
  gap: 12px;
}

.variant {
  width: 100%;
  border: 1px solid rgba(183, 82, 218, 0.25);
  border-radius: 14px;
  background: rgba(15, 10, 25, 0.65);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.25s ease;
  position: relative;
}

.variant:hover:not(:disabled) {
  border-color: rgba(183, 82, 218, 0.6);
  box-shadow: 0 0 16px rgba(183, 82, 218, 0.3);
  transform: translateY(-1px);
}

.variant.active {
  background: linear-gradient(135deg, rgba(183, 82, 218, 0.25), rgba(111, 0, 255, 0.15));
  border-color: rgba(183, 82, 218, 0.7);
  box-shadow: 0 0 18px rgba(183, 82, 218, 0.4);
}

.variant:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* === Quantity === */
.input-group {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(183, 82, 218, 0.25);
}

.input-group input {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: none;
  text-align: center;
}

.input-group-btn {
  background: rgba(183, 82, 218, 0.15);
  color: #fff;
  border: none;
  transition: background 0.25s ease;
}

.input-group-btn:hover:not(:disabled) {
  background: rgba(183, 82, 218, 0.35);
}

/* === Buttons === */
.buy-buttons .btn {
  border-radius: 14px;
  font-weight: 600;
  padding: 12px 16px;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(183, 82, 218, 0.85), rgba(111, 0, 255, 0.7));
  border: none;
  color: #fff;
  box-shadow: 0 0 20px rgba(183, 82, 218, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(183, 82, 218, 0.6);
}

.btn-outline-primary {
  background: transparent;
  border: 1px solid rgba(183, 82, 218, 0.5);
  color: #cfc8e8;
}

.btn-outline-primary:hover {
  background: rgba(183, 82, 218, 0.15);
  color: #fff;
}

/* === Live Stats === */
.live-stats svg {
  color: rgb(183, 82, 218);
  width: 18px;
  height: 18px;
}

.live-stats p {
  margin: 0;
  font-size: 0.95rem;
}

/* === “Bought Together” Section === */
.section-title h2 {
  color: #fff;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

.row.products {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

/* === Scrollbar Cleanup === */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: rgba(183, 82, 218, 0.4);
  border-radius: 6px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

/* === Responsiveness === */
@media (max-width: 992px) {
  .product-tabs .btn { font-size: 0.9rem; }
  .variant { flex-direction: column; align-items: flex-start; gap: 10px; }
  .input-group-btn svg { width: 20px; height: 20px; }
  .btn-primary, .btn-outline-primary { font-size: 0.95rem; }
}

/* === PRODUCT LIST NEXUS FIX === */
.product-list-nexus {
  --accent: #b752da;
  color: #e8e0ff;
}

.sidebar-glass {
  background: rgba(20,10,40,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(183,82,218,0.25);
  border-radius: 18px;
  box-shadow: 0 0 35px rgba(183,82,218,0.15);
}

.products-grid {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.products-grid > div {
  display: flex;
}

/* Dark overlay unter Navbar */
.product-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 220px;
  background: linear-gradient(
    to bottom,
    rgba(5, 0, 15, 0.85),
    rgba(5, 0, 15, 0.4),
    transparent
  );
  pointer-events: none;
  z-index: 0;
}

/* sicherstellen dass content drüber liegt */
.product-wrapper {
  position: relative;
}

.product-wrapper > * {
  position: relative;
  z-index: 1;
}
body::before,
.page-background::before {
  opacity: 0.35; /* vorher meist 0.6–0.8 */
}

/* === FIX: UPSSELLS LAYER === */
.product-nexus__upsells {
  position: relative;
  margin-top: 6rem;
  padding: 4rem 3rem;
  background: rgba(10, 5, 25, 0.85);
  border-radius: 28px;
  border: 1px solid rgba(183, 82, 218, 0.25);
  backdrop-filter: blur(14px);
  box-shadow:
    0 0 60px rgba(0, 0, 0, 0.6),
    inset 0 0 60px rgba(183, 82, 218, 0.08);
  z-index: 5;
}
.product-nexus {
  position: relative;
  overflow: visible;
}

/* Grid Background Fade-Out */
.product-nexus::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 220px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(5, 0, 15, 0.95)
  );
  pointer-events: none;
  z-index: 1;
}

.upsell-grid {
  position: relative;
  z-index: 2;
}

.upsell-grid > * {
  display: flex;
}

.upsell-grid .product-card {
  width: 100%;
}

/* === CARD IMAGE WRAPPER === */
.cypherxGroup {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

/* Image wrapper */
.cypherxGroup_image {
  position: relative;
  overflow: hidden;
}

/* DARK GRADIENT + BLUR OVERLAY */
.cypherxGroup_image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background: linear-gradient(
    to top,
    rgba(5, 0, 15, 0.95),
    rgba(5, 0, 15, 0.6),
    transparent
  );
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 1;
}

/* FOOTER ÜBER OVERLAY */
.cypherxGroup_footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.2rem 1.2rem 1.4rem;
  z-index: 2;
}

/* TEXT LESBARKEIT */
.cypherxGroup_title {
  color: #fff;
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.priceFrom,
.priceFrom span {
  color: #e8e0ff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

/* OPTIONAL: CARD SHADOW */
.cypherxGroup {
  box-shadow:
    0 20px 60px rgba(0,0,0,0.6),
    inset 0 -40px 60px rgba(0,0,0,0.4);
}

/* =========================
   HARD DARK FADE FOR TEXT
========================= */

.cypherxGroup {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
}

/* Bild normal */
.cypherxGroup_image {
  position: relative;
  z-index: 1;
}

/* 🔥 DUNKLE TEXT-ZONE (KEY FIX) */
.cypherxGroup_footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 1.4rem 1.8rem;
  z-index: 3;

  /* DAS IST DER WICHTIGE TEIL */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.85) 25%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.25) 75%,
    rgba(0, 0, 0, 0.0) 100%
  );
}

/* TEXT EXTRA LESBAR */
.cypherxGroup_title {
  color: #ffffff;
  font-weight: 900;
  line-height: 1.15;
  text-shadow:
    0 4px 14px rgba(0,0,0,0.95);
}

.priceFrom,
.priceFrom span {
  color: #f0ebff;
  font-weight: 600;
  text-shadow:
    0 3px 12px rgba(0,0,0,0.9);
}

/* === GROUP MODAL REWORK === */
.group-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(10, 5, 20, 0.85);
  border: 1px solid rgba(36, 28, 217, 0.2);
  border-radius: 24px;
  box-shadow: 0 0 50px rgba(36, 28, 217, 0.15);
  padding: 2.5rem 2rem;
  width: min(900px, 90vw);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  color: #fff;
  z-index: 999;
  overflow: hidden;
  animation: modalFadeIn 0.45s ease forwards;
}

/* === Titel / Header === */
.group-modal h2 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 1.2rem;
  text-align: left;
  color: #d6d8ff;
  text-transform: uppercase;
}

/* === Grid der Produkte === */
.group-modal .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  justify-content: center;
  align-items: stretch;
  padding-top: 0.5rem;
}

/* === Produktkarten === */
.group-modal .product-card {
  background: rgba(20, 10, 35, 0.65);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 25px rgba(36, 28, 217, 0.08);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
  overflow: hidden;
}

.group-modal .product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(36, 28, 217, 0.35);
  box-shadow: 0 0 40px rgba(36, 28, 217, 0.25);
}

/* === Close Button === */
.group-modal .close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
}
.group-modal .close-btn:hover {
  color: #241CD9;
}

/* === PRODUCT PAGE === */
.product-wrapper {
  background: radial-gradient(circle at top, #0b031a 0%, #080113 100%);
  color: #ddd;
  padding-bottom: 100px;
}

.product-wrapper .display-6 {
  font-weight: 800;
  color: #fff;
  text-shadow: 0 0 10px rgba(36, 28, 217, 0.3);
}

/* === Carousel === */
.carousel {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(36, 28, 217, 0.25);
  border: 1px solid rgba(36, 28, 217, 0.15);
}

/* Thumbnails */
.thumbnails button {
  border: 1px solid rgba(36, 28, 217, 0.2);
}
.thumbnails button:hover,
.thumbnails button.active {
  border-color: rgba(36, 28, 217, 0.6);
  box-shadow: 0 0 12px rgba(36, 28, 217, 0.3);
}

/* === Tabs === */
.product-tabs .btn {
  border: 1px solid rgba(36, 28, 217, 0.25);
  color: #dcdcff;
}
.product-tabs .btn:hover {
  border-color: rgba(36, 28, 217, 0.5);
}
.product-tabs .btn-primary {
  background: linear-gradient(135deg, rgba(36, 28, 217, 0.6), rgba(36, 28, 217, 0.4));
  box-shadow: 0 0 18px rgba(36, 28, 217, 0.4);
}

/* === Variants === */
.variant {
  border: 1px solid rgba(36, 28, 217, 0.25);
}
.variant:hover:not(:disabled) {
  border-color: rgba(36, 28, 217, 0.6);
  box-shadow: 0 0 16px rgba(36, 28, 217, 0.3);
}
.variant.active {
  background: linear-gradient(135deg, rgba(36, 28, 217, 0.25), rgba(36, 28, 217, 0.15));
  border-color: rgba(36, 28, 217, 0.7);
  box-shadow: 0 0 18px rgba(36, 28, 217, 0.4);
}

/* === Buttons === */
.btn-primary {
  background: linear-gradient(135deg, rgba(36, 28, 217, 0.85), rgba(36, 28, 217, 0.7));
  box-shadow: 0 0 20px rgba(36, 28, 217, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 0 25px rgba(36, 28, 217, 0.6);
}

.btn-outline-primary {
  border: 1px solid rgba(36, 28, 217, 0.5);
}
.btn-outline-primary:hover {
  background: rgba(36, 28, 217, 0.15);
}

/* === Live Stats === */
.live-stats svg {
  color: #241CD9;
}

/* === Scrollbar === */
::-webkit-scrollbar-thumb {
  background: rgba(36, 28, 217, 0.4);
}

/* === PRODUCT LIST / UPSSELLS === */
.product-list-nexus {
  --accent: #241CD9;
  color: #e8e0ff;
}

.sidebar-glass {
  border: 1px solid rgba(36, 28, 217, 0.25);
  box-shadow: 0 0 35px rgba(36, 28, 217, 0.15);
}

.product-nexus__upsells {
  border: 1px solid rgba(36, 28, 217, 0.25);
  box-shadow:
    0 0 60px rgba(0, 0, 0, 0.6),
    inset 0 0 60px rgba(36, 28, 217, 0.08);
}

/* ================================
   🔵 CUSTOMER LOGIN MODAL – BRAND FIX
   ================================ */

#customer-login-modal {
  --brand: #241CD9;
  --brand-rgb: 36, 28, 217;
}

/* MODAL BACKGROUND */
#customer-login-modal .modal-content {
  background: rgba(10, 8, 18, 0.95);
  border: 1px solid rgba(var(--brand-rgb), 0.3);
  box-shadow: 0 0 40px rgba(var(--brand-rgb), 0.25);
}

/* HEADER */
#customer-login-modal .modal-header {
  border-bottom: 1px solid rgba(var(--brand-rgb), 0.25);
}

#customer-login-modal .modal-title {
  color: var(--brand) !important;
  font-weight: 800;
  text-shadow: 0 0 14px rgba(var(--brand-rgb), 0.4);
}

/* CLOSE BUTTON */
#customer-login-modal .btn-close {
  filter: invert(1) opacity(0.8);
}
#customer-login-modal .btn-close:hover {
  opacity: 1;
}

/* LABELS */
#customer-login-modal label {
  color: #ffffff;
  font-weight: 600;
}

/* HELP TEXT */
#customer-login-modal .form-text {
  color: #bfc4ff;
}

/* INPUT */
#customer-login-modal .form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(var(--brand-rgb), 0.35);
  color: #ffffff;
}

#customer-login-modal .form-control::placeholder {
  color: #b0b6ff;
}

#customer-login-modal .form-control:focus {
  border-color: var(--brand);
  box-shadow: 0 0 18px rgba(var(--brand-rgb), 0.5);
  background: rgba(255,255,255,0.08);
}

/* OTP INPUTS */
#customer-login-modal input[type="text"] {
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid rgba(var(--brand-rgb), 0.4);
}

#customer-login-modal input[type="text"]:focus {
  border-color: var(--brand);
  box-shadow: 0 0 14px rgba(var(--brand-rgb), 0.6);
}

/* PRIMARY BUTTON */
#customer-login-modal .btn-primary {
  background: linear-gradient(
    135deg,
    #241CD9,
    #1b16b8
  ) !important;
  border: none !important;
  box-shadow: 0 0 22px rgba(var(--brand-rgb), 0.45);
  font-weight: 700;
}

#customer-login-modal .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(var(--brand-rgb), 0.65);
}

/* BUTTON ICONS */
#customer-login-modal .btn-primary svg {
  color: #ffffff;
}

/* ERROR TEXT */
#customer-login-modal .text-danger {
  color: #ff6b6b !important;
}

/* LOADER SPINNER */
#customer-login-modal svg path {
  stroke: #ffffff;
}

/* REMOVE BOOTSTRAP SUCCESS/GREEN */
#customer-login-modal .text-success,
#customer-login-modal .bg-success,
#customer-login-modal .badge-success {
  color: var(--brand) !important;
  background: transparent !important;
}/* Center navbar items */
.navbar-nav {
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    justify-content: center;
}
/* ✅ Klicks dürfen nur auf Content gehen */
.hero-bg,
.hero-overlay,
.hero-glow,
.hero-aaa::before,
.hero-aaa::after {
  pointer-events: none;
}

/* optional: Content wirklich oben lassen */
.hero-content {
  position: relative;
  z-index: 10;
}