:root,
[data-bs-theme="dark"] {
  --cl-accent: #ff2d92 !important;
  --cl-accent-rgb: 255, 45, 146 !important;
  --cl-background-primary: #040104 !important;
  --cl-background-primary-rgb: 4, 1, 4 !important;
  --cl-background-secondary: #12060d !important;
  --cl-background-secondary-rgb: 18, 6, 13 !important;
  --cl-border: rgba(255, 45, 146, 0.22) !important;
  --cl-border-rgb: 255, 45, 146 !important;
  --bs-primary: #ff2d92 !important;
  --bs-primary-rgb: 255, 45, 146 !important;
  --bs-body-bg: #040104 !important;
  --bs-body-bg-rgb: 4, 1, 4 !important;
  --bs-gray-bg: #12060d !important;
  --bs-gray-bg-rgb: 18, 6, 13 !important;
  --bs-border-color: rgba(255, 45, 146, 0.22) !important;
}

html,
body {
  background-color: #040104 !important;
  background-image:
    radial-gradient(ellipse 68% 48% at 12% 8%, rgba(255, 25, 125, 0.18), transparent 68%),
    radial-gradient(ellipse 55% 42% at 88% 26%, rgba(255, 79, 163, 0.12), transparent 72%),
    linear-gradient(180deg, #090206 0%, #040104 48%, #080207 100%);
  background-attachment: fixed;
}

body {
  position: relative;
  color-scheme: dark;
}

/* Ignore any legacy background saved in the SellAuth shop configuration. */
.bg-image {
  display: none !important;
  background-image: none !important;
}

/* Category product lists stay usable even when a group contains many items. */
.ripware-group-dialog {
  max-height: calc(100vh - 2rem);
}

.ripware-group-dialog .modal-content {
  max-height: inherit;
  overflow: hidden;
}

.ripware-group-dialog .modal-body {
  min-height: 0;
  overflow-y: auto !important;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.ripware-group-dialog .modal-body > .products {
  min-height: min-content;
}

.section-title,
.section-title h2 {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 auto 8px;
  text-align: center !important;
  text-wrap: balance;
}

.section-subtitle,
.section-subtitle p {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 auto 20px;
  max-width: 36rem;
  text-align: center !important;
}

.text-highlight {
  color: #ff4fa3;
}

body.ripware-is-loading {
  overflow: hidden;
}

.ripware-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 25, 125, 0.18), transparent 34%),
    #030103;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.ripware-loader--hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ripware-loader__glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(760px, 110vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 79, 163, 0.16), transparent 66%);
  filter: blur(18px);
  transform: translate(-50%, -50%);
  animation: ripware-loader-pulse 1.8s ease-in-out infinite;
}

.ripware-loader__content {
  position: relative;
  display: flex;
  width: min(560px, 82vw);
  flex-direction: column;
  align-items: center;
}

.ripware-loader__logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(255, 25, 125, 0.38));
  animation: ripware-loader-logo 1.15s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.ripware-loader__track {
  width: min(280px, 62vw);
  height: 2px;
  margin-top: -2.5%;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.ripware-loader__bar {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, #ff4fa3, #ff197d, transparent);
  box-shadow: 0 0 16px rgba(255, 79, 163, 0.7);
  animation: ripware-loader-progress 1s ease-in-out infinite;
}

.ripware-loader__label {
  margin-top: 14px;
  color: rgba(255, 214, 234, 0.55);
  font-family: 'Satoshi', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.28em;
}

@keyframes ripware-loader-logo {
  from { opacity: 0; transform: scale(0.9) translateY(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes ripware-loader-progress {
  from { transform: translateX(-130%); }
  to { transform: translateX(330%); }
}

@keyframes ripware-loader-pulse {
  0%, 100% { opacity: 0.55; transform: translate(-50%, -50%) scale(0.94); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

@media (prefers-reduced-motion: reduce) {
  .ripware-loader__glow,
  .ripware-loader__logo,
  .ripware-loader__bar {
    animation: none;
  }
}
