/* GALAXIS Code-Hilfe geschlossen V1
   Ziel: "Wo finde ich den Code?" standardmäßig zu, aber klar als aufklappbare Hilfe erkennbar.
   Nur Startseite/Design. Keine Shop-Logik.
*/

.galx-home--v6 .galx-code {
  margin-top: 13px !important;
  padding: 0 !important;
  border-radius: 17px !important;
  background: #f8fafc !important;
  border: 1px solid rgba(8, 35, 63, 0.13) !important;
  box-shadow: 0 8px 20px rgba(8, 35, 63, 0.065) !important;
  overflow: hidden !important;
}

.galx-home--v6 .galx-code summary {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 56px !important;
  padding: 15px 48px 15px 16px !important;
  color: #08233f !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  list-style: none !important;
  background:
    radial-gradient(circle at left center, rgba(255, 107, 69, 0.10), transparent 38%),
    linear-gradient(135deg, #ffffff 0%, #f3f7fb 100%) !important;
}

.galx-home--v6 .galx-code summary::-webkit-details-marker {
  display: none !important;
}

.galx-home--v6 .galx-code summary::before {
  content: "?" !important;
  width: 26px !important;
  height: 26px !important;
  margin-right: 8px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  background: #08233f !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

.galx-home--v6 .galx-code summary::after {
  content: "+" !important;
  position: absolute !important;
  right: 15px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 107, 69, 0.13) !important;
  color: #ff6b45 !important;
  border: 1px solid rgba(255, 107, 69, 0.22) !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}

.galx-home--v6 .galx-code[open] summary::after {
  content: "−" !important;
  font-size: 22px !important;
}

.galx-home--v6 .galx-code[open] summary {
  border-bottom: 1px solid rgba(8, 35, 63, 0.08) !important;
}

.galx-home--v6 .galx-code__body {
  padding: 12px !important;
  background: #f8fafc !important;
}

.galx-home--v6 .galx-code:not([open]) .galx-code__body {
  display: none !important;
}

@media (max-width: 575.98px) {
  .galx-home--v6 .galx-code summary {
    min-height: 54px !important;
    padding: 14px 46px 14px 14px !important;
    font-size: 14px !important;
  }

  .galx-home--v6 .galx-code summary::before {
    width: 24px !important;
    height: 24px !important;
    font-size: 13px !important;
  }

  .galx-home--v6 .galx-code summary::after {
    right: 13px !important;
    width: 27px !important;
    height: 27px !important;
  }
}
