:root {
  --bg-dark: #000000;
  --tint-soft: rgba(15, 15, 15, 0.5);
  --tint-mid: rgba(15, 15, 15, 0.65);
  --text-primary: #ffffff;
  --text-muted: #aaaaaa;
  --accent: #1E90FF;
  --accent-dark: #0b5bb5;
  --accent-light: #4da6ff;
  --accent-soft: rgba(30, 144, 255, 0.1);
  --red: #1E90FF;
  --red-dark: #0b5bb5;
  --red-light: #4da6ff;
  --teal: #1E90FF;
  --teal-dark: #0b5bb5;
  --teal-light: #4da6ff;
  --border: rgba(255, 255, 255, 0.08);
  --transition: 0.2s ease;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --glass: transparent;
  --glass-2: rgba(15, 15, 15, 0.85);
  --line: rgba(255, 255, 255, 0.08);
  --r: 0px;
  --font: "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI",
          system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background: #000 !important; position: relative; }

body,
.btn, .form-control, .badge, .nav-link, .dropdown-item,
.navbar, .navbar-main, .modal, footer, h1, h2, h3, h4, h5, h6 {
  font-family: var(--font) !important;
}

body {
  background: transparent !important;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

html::before,
html::after,
body::before {
  content: "";
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  z-index: 0;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  backface-visibility: hidden;
  contain: layout paint style;
}

html::before {
  width: 80vmax;
  height: 80vmax;
  top: -30vmax;
  left: -30vmax;
  background: radial-gradient(circle, rgba(30, 144, 255, 0.55) 0%, rgba(30, 144, 255, 0) 62%);
  animation: blobIn 1s ease-out forwards, blobBlue 26s ease-in-out infinite;
}

html::after {
  width: 70vmax;
  height: 70vmax;
  top: 35%;
  right: -30vmax;
  background: radial-gradient(circle, rgba(228, 58, 150, 0.42) 0%, rgba(228, 58, 150, 0) 62%);
  animation: blobIn 1s ease-out 0.2s forwards, blobPink 32s ease-in-out infinite;
}

body::before {
  width: 65vmax;
  height: 65vmax;
  bottom: -28vmax;
  left: 20%;
  background: radial-gradient(circle, rgba(255, 0, 51, 0.34) 0%, rgba(255, 0, 51, 0) 62%);
  animation: blobIn 1s ease-out 0.3s forwards, blobRed 38s ease-in-out infinite;
}

@keyframes blobIn {
  to { opacity: 1; }
}

@keyframes blobBlue {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  25% { transform: translate3d(22vw, 14vh, 0) scale(1.2); }
  50% { transform: translate3d(36vw, 6vh, 0) scale(0.7); }
  75% { transform: translate3d(-12vw, 28vh, 0) scale(1.25); }
}

@keyframes blobPink {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  25% { transform: translate3d(-18vw, -14vh, 0) scale(1.2); }
  50% { transform: translate3d(-30vw, 20vh, 0) scale(0.7); }
  75% { transform: translate3d(12vw, -22vh, 0) scale(1.25); }
}

@keyframes blobRed {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  25% { transform: translate3d(-24vw, -16vh, 0) scale(1.2); }
  50% { transform: translate3d(-34vw, -24vh, 0) scale(0.7); }
  75% { transform: translate3d(20vw, -12vh, 0) scale(1.15); }
}

@media (max-width: 767.98px) {
  html::before { width: 110vmax; height: 110vmax; top: -40vmax; left: -40vmax; }
  html::after { width: 90vmax; height: 90vmax; right: -40vmax; }
  body::before { width: 80vmax; height: 80vmax; }
}

@media (prefers-reduced-motion: reduce) {
  html::before, html::after, body::before {
    animation: blobIn 0s forwards !important;
  }
}

main.bg-elegant-dark,
#sections.bg-elegant-dark,
main,
#sections,
#sections > div,
div[style*="z-index: 10"] {
  background: transparent !important;
  position: relative;
  z-index: 1;
}

.navbar-main { z-index: 1000 !important; }
footer.footer { position: relative; z-index: 2; }

.stripe-loading-indicator,
.stripe,
.stripe-loaded { display: none !important; }

::selection { background: var(--accent); color: #fff; }

* { scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
::-webkit-scrollbar { width: 8px; height: 6px; }
::-webkit-scrollbar-track { background: transparent !important; }
::-webkit-scrollbar-thumb { background: var(--accent) !important; border-radius: 0; }

a { transition: color var(--transition); }

.text-info, a.text-info { color: var(--accent) !important; }
.text-muted, .text-gray { color: var(--text-muted) !important; }
.text-black { color: #fff !important; }
.text-success { color: var(--accent) !important; }
.text-danger { color: var(--accent) !important; }

.shadow, .shadow-sm, .shadow-lg, .shadow-dark { box-shadow: none !important; }

#welcome-section:not(:has(.shop-title)) {
  display: none !important;
  min-height: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}

#welcome-section:not(:has(.shop-title)) + #page,
#welcome-section:not(:has(.shop-title)) + section {
  padding-top: 100px !important;
  margin-top: 0 !important;
}

@media (max-width: 767.98px) {
  #welcome-section:not(:has(.shop-title)) + #page,
  #welcome-section:not(:has(.shop-title)) + section {
    padding-top: 80px !important;
  }
}

#welcome-section:has(.shop-title) {
  min-height: 0 !important;
  height: auto !important;
  padding: 3.5rem 0 0 !important;
  display: block !important;
  position: relative;
  background: transparent !important;
}

@media (max-width: 767.98px) {
  #welcome-section:has(.shop-title) {
    padding: 3rem 0 0 !important;
  }
}

#servers.section-md,
section#servers {
  padding-top: 1.75rem !important;
  padding-bottom: 0.5rem !important;
  margin-top: 0 !important;
}

@media (max-width: 767.98px) {
  #servers.section-md,
  section#servers {
    padding-top: 1.25rem !important;
  }
}

#servers .container {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#servers .row.d-flex.justify-content-center {
  margin-top: 0 !important;
}

section.section-md.pt-7,
section:has(#shop) {
  padding-top: 8rem !important;
}

@media (max-width: 767.98px) {
  section.section-md.pt-7,
  section:has(#shop) {
    padding-top: 8rem !important;
  }
}

#shop .select-server { margin-top: 0.5rem !important; }
#shop .filter-button-group.mt-5 { margin-top: 0.75rem !important; }

.navbar-main,
.headroom--not-top.navbar-theme-dark {
  background: rgba(15, 15, 15, 0.55) !important;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.85rem 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-main .container.position-relative {
  padding-left: 2rem;
  padding-right: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media (max-width: 991.98px) {
  .navbar-main .container.position-relative {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

.navbar-main .navbar-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
.navbar-main .navbar-brand img { max-height: 40px; border-radius: 0 !important; }

.navbar-main .navbar-collapse {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  justify-content: flex-end !important;
}
.navbar-main .navbar-nav {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  gap: 1.5rem;
}
.navbar-main .nav-link {
  border-radius: 0 !important;
  padding: 0.5rem 0 !important;
  color: #fff !important;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  display: inline-block;
  transition: color var(--transition);
}
.navbar-main .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after { width: 100%; }

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: var(--accent) !important;
  background: transparent !important;
}

.navbar-main .nav-link .nav-link-inner-text { display: inline-block; }

.navbar-toggler {
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  background: transparent !important;
  width: 40px; height: 40px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.navbar-toggler:hover { border-color: var(--accent) !important; }

.navbar-toggler-icon {
  background-image: none !important;
  width: 20px !important;
  height: 14px !important;
  position: relative;
  display: block;
  border: 0 !important;
  background: linear-gradient(#fff, #fff) center / 100% 2px no-repeat !important;
}
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: #fff;
}
.navbar-toggler-icon::before { top: 0; }
.navbar-toggler-icon::after { bottom: 0; }

@media (max-width: 991.98px) {
  .navbar-main .navbar-brand { order: 1; margin-right: auto !important; }
  .navbar-main .d-flex.align-items-center { order: 2; margin-left: auto; }

  .navbar-main .navbar-collapse {
    order: 3;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    margin: 0 !important;
    background: #000 !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 1.5rem 1.5rem 2rem !important;
    justify-content: flex-start !important;
    align-self: stretch !important;
    z-index: 1100 !important;
    overflow-y: auto !important;
  }

  .navbar-collapse.collapse.show,
  .navbar-collapse.collapsing {
    background: #000 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
  }

  .navbar-collapse-header {
    margin-bottom: 1.5rem !important;
    width: 100%;
    padding-top: 0.5rem !important;
  }
  .navbar-collapse-header .row {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center;
    width: 100%;
    margin: 0;
    flex-wrap: nowrap;
  }
  .navbar-collapse-header .collapse-brand { display: none !important; }
  .navbar-collapse-header .col-6.collapse-close {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center;
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
    margin-left: auto !important;
  }
  .navbar-collapse-header .fa-times {
    width: 40px !important;
    height: 40px !important;
    font-size: 1rem !important;
  }

  .navbar-main .navbar-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.35rem;
  }
  .navbar-main .nav-link {
    color: #fff !important;
    padding: 0.85rem 1rem !important;
    text-align: left;
    font-size: 1.15rem;
    border-radius: 0 !important;
  }
  .navbar-main .nav-link:hover {
    background: rgba(30, 144, 255, 0.1) !important;
    color: var(--accent) !important;
  }
  .navbar-main .nav-link::after { display: none !important; }
}

.overlay-dark:before { background: transparent !important; opacity: 0 !important; }

#welcome-section::after,
#welcome-section::before { display: none !important; }
.pattern { display: none !important; }
#welcome-section { background-image: none !important; }

.wow, .wow.fadeIn, .wow.fadeInLeftBig, .wow.fadeInRightBig,
.wow.fadeInUp, .wow.fadeInDown, #welcome-section .wow {
  animation: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

.shop-name {
  color: var(--accent) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  text-shadow: none !important;
  margin-bottom: 0.35rem;
}
.shop-description { color: #fff; font-weight: 500; margin-bottom: 0.5rem; }

#welcome-section .general-online,
.hero .general-online {
  display: none !important;
}

.btn {
  border-radius: 0 !important;
  font-weight: 600;
  padding: 0.8rem 2rem;
  transition: background var(--transition), color var(--transition);
  transform: none !important;
}
.btn-info, .btn-primary {
  background: var(--accent) !important;
  border: 0 !important;
  color: #fff !important;
  box-shadow: none !important;
}
.btn-info:hover, .btn-primary:hover {
  background: var(--accent-dark) !important;
  color: #fff !important;
}

#page .container > h2,
#page .container > h1,
#page .container .h1.display-3 {
  text-align: left !important;
  margin-left: 0 !important;
  color: var(--accent) !important;
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
}
#page .container { text-align: left; }

#servers > .container > h2,
#servers h2.h1 { display: none !important; }

#servers .container { padding-top: 0.5rem; }
#servers .row.d-flex.justify-content-center { margin: 0; }
#servers .col-md-6 { max-width: 100%; flex: 0 0 100%; }

.progress-wrapper {
  background: var(--tint-soft) !important;
  border: 1px solid var(--border);
  border-radius: 0 !important;
  padding: 1.5rem 2rem;
  transition: background var(--transition), border-color var(--transition);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.progress-wrapper:hover {
  background: var(--tint-mid) !important;
  border-color: var(--accent);
}

.progress-wrapper,
.progress-wrapper *,
.progress-wrapper *::before,
.progress-wrapper *::after {
  transform: none !important;
  animation: none !important;
}

.progress-wrapper .font-weight-bolder.lead,
.progress-wrapper .progress {
  display: none !important;
}

.progress-wrapper .progress-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  flex-wrap: nowrap !important;
}

.progress-wrapper .progress-info > * {
  width: auto !important;
  margin: 0 !important;
}

.progress-wrapper .progress-percentage {
  margin: 0 !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}

.progress-wrapper a {
  display: block !important;
  width: 100% !important;
  cursor: pointer;
}

.progress-wrapper a:hover .badge,
.progress-wrapper .cursor-pointer:hover .badge {
  background: rgba(30, 144, 255, 0.25) !important;
  border-color: var(--accent) !important;
  transform: none !important;
}

.progress-wrapper .progress-percentage .badge,
.progress-wrapper .badge.server-version,
.progress-wrapper .badge {
  display: inline-flex !important;
  justify-content: center !important;
  align-items: center !important;
  font-size: 0.95rem !important;
  padding: 0.6rem 1.1rem !important;
  min-width: 240px !important;
  width: 240px !important;
  max-width: 100% !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.progress-wrapper .badge.server-version {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

.progress-wrapper .badge .fas,
.progress-wrapper .badge .fa,
.server-version .fas,
.server-version .fa { display: none !important; }

.progress-wrapper .progress-info:last-of-type > div:first-child {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 240px !important;
  min-width: 240px !important;
  max-width: 100% !important;
  font-size: 0.95rem !important;
  padding: 0.6rem 1.1rem !important;
  background: var(--tint-soft) !important;
  border: 1px solid var(--border) !important;
  color: #fff !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  box-sizing: border-box;
  order: 2 !important;
  margin: 0 auto !important;
}

.progress-wrapper .progress-info:first-of-type {
  order: 1 !important;
}
.progress-wrapper .progress-info:first-of-type > a,
.progress-wrapper .progress-info:first-of-type > a .badge,
.progress-wrapper .progress-info:first-of-type > .progress-percentage {
  order: 1 !important;
}
.progress-wrapper .progress-info:last-of-type > .progress-percentage,
.progress-wrapper .progress-info:last-of-type > .progress-percentage .badge,
.progress-wrapper .progress-info:last-of-type > .badge.server-version {
  order: 3 !important;
}

.progress-wrapper .progress-info:last-of-type > div:first-child > span,
.progress-wrapper .progress-info:last-of-type > div:first-child > small {
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 767.98px) {
  .progress-wrapper {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0.4rem !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.9rem 0.75rem !important;
    overflow: hidden !important;
  }

  .progress-wrapper > .progress-info,
  .progress-wrapper .progress-info:first-of-type > .progress-percentage,
  .progress-wrapper .progress-info:last-of-type > .progress-percentage {
    display: contents !important;
  }

  .progress-wrapper a {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    order: 1 !important;
  }

  .progress-wrapper .progress-info:first-of-type > a .badge,
  .progress-wrapper .progress-info:last-of-type > div:first-child,
  .progress-wrapper .progress-info:last-of-type > .progress-percentage .badge,
  .progress-wrapper .progress-info:last-of-type > .badge.server-version,
  .progress-wrapper .badge,
  .progress-wrapper .badge.server-version {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: auto !important;
    min-height: 44px !important;
    padding: 0.6rem 0.75rem !important;
    border: 1px solid var(--border) !important;
    box-sizing: border-box !important;
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: none !important;
  }

  .progress-wrapper .progress-info:last-of-type > div:first-child {
    order: 2 !important;
    background: var(--tint-soft) !important;
    color: #fff !important;
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  .progress-wrapper .progress-info:last-of-type > .progress-percentage .badge,
  .progress-wrapper .progress-info:last-of-type > .badge.server-version {
    order: 3 !important;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--tint-soft) !important;
  color: #fff !important;
  border: 1px solid var(--border);
  border-radius: 0 !important;
  font-weight: 600;
  padding: 0.5em 1em;
  text-align: center;
}
.badge.server-version {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
}

.badge.cart-counter,
.cart-counter {
  min-width: auto !important;
  width: auto !important;
  max-width: none !important;
  padding: 0.25em 0.5em !important;
  font-size: 0.7rem !important;
  line-height: 1 !important;
  background: var(--accent) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.filter-button,
span.filter-button.badge,
.filter-button-group .filter-button {
  cursor: pointer;
  background: var(--tint-soft) !important;
  background-image: none !important;
  border: 1px solid var(--border) !important;
  color: #fff !important;
  border-radius: 0 !important;
  transform: none !important;
  transition: background .2s ease, border-color .2s ease, color .2s ease !important;
  text-align: center;
  justify-content: center;
  min-width: auto !important;
}
.filter-button:hover,
span.filter-button.badge:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  background: var(--tint-soft) !important;
}
.filter-button.active,
span.filter-button.badge.active,
.filter-button-group .filter-button.active {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}
.filter-button.active .fas { color: #fff !important; }

.card-header .badge,
.badge-active,
.card-header .badge.badge-active,
.card-header span.badge {
  background: var(--tint-soft) !important;
  border: 1px solid var(--border) !important;
  color: #fff !important;
  min-width: auto !important;
}
.card-header .badge .fas,
.card-header .badge .fa {
  color: var(--text-muted) !important;
}

.input-group {
  border-radius: 0 !important;
  overflow: hidden;
  background: var(--tint-soft) !important;
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.input-group:focus-within {
  border-color: var(--accent);
  box-shadow: none !important;
}
.input-group .form-control,
.input-group .input-group-text {
  background: transparent !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.input-group .input-group-text i,
.input-group .input-group-text .fas {
  color: #fff !important;
  opacity: 1 !important;
  display: inline-block !important;
  visibility: visible !important;
}
.form-control::placeholder { color: var(--text-muted); }

.dropdown-menu {
  background: rgba(10, 10, 10, 0.92) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
}
.dropdown-item, .dropdown-item.text-black { color: #fff !important; border-radius: 0; }
.dropdown-item:hover {
  background: rgba(30, 144, 255, 0.15) !important;
  color: var(--accent) !important;
}

.profile-card { display: block; }

.profile-card,
.profile-card *,
.profile-card *::before,
.profile-card *::after {
  transform: none !important;
  box-shadow: none !important;
  text-shadow: none !important;
  outline: none !important;
  filter: none !important;
}

.card.bg-elegant,
.bg-elegant.card,
.profile-card .card {
  background: var(--tint-soft) !important;
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  overflow: hidden;
  transition: background-color .25s ease, border-color .25s ease !important;
  margin-top: 0.5rem !important;
}

.profile-card .card.mt-3 { margin-top: 0.5rem !important; }

.profile-card:hover .card {
  background: var(--tint-mid) !important;
  border-color: var(--accent) !important;
}

.profile-card .card > .row,
.profile-card .card > a > .row {
  margin: 0 !important;
  align-items: stretch !important;
  height: 100%;
}

.profile-card .card > .row > [class*="col-"],
.profile-card .card > a > .row > [class*="col-"] {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}

.profile-card .card-image,
.card-image {
  background-color: rgba(0, 0, 0, 0.25) !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  flex: 1 1 auto;
  display: block;
}

.bg-elegant-night {
  background-color: rgba(0, 0, 0, 0.25) !important;
}

.profile-card .col-sm-7 .card-header { padding: 0.9rem 1rem 0.4rem !important; }
.profile-card .col-sm-7 .card-body { padding: 0.4rem 1rem !important; }
.profile-card .col-sm-7 .card-footer { padding: 0.4rem 1rem 1rem !important; }
.profile-card .col-sm-7 .card { padding: 0 !important; }

.card-title { color: #fff; }
.card-footer h6 { font-size: 1.05rem; color: #fff; }
.text-through { text-decoration: line-through; color: var(--text-muted) !important; }
.bg-elegant { background: var(--tint-soft) !important; }

.profile-card .card.bg-transparent,
.profile-card .col-sm-7 .card,
.profile-card .col-sm-7 .card.bg-transparent.border-0,
.profile-card .col-sm-7 .h-100 {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  overflow: visible;
  border-radius: 0 !important;
}

.profile-card .col-sm-7 .card-header,
.profile-card .col-sm-7 .card-body,
.profile-card .col-sm-7 .card-footer {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sale {
  display: inline-block !important;
  border-radius: 0 !important;
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 30;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--accent) !important;
  line-height: 1;
}

.sale__size {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: var(--accent) !important;
  color: #fff !important;
  border-radius: 0 !important;
  padding: 0.55rem 0.75rem !important;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.sale__timer,
.sale .sale__timer,
.sale__timer .text {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  font-size: 0 !important;
}

@media (max-width: 767.98px) {
  .profile-card .card > .row,
  .profile-card .card > a > .row {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .profile-card .card > .row > [class*="col-"],
  .profile-card .card > a > .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    padding: 0 !important;
    display: block !important;
  }

  .profile-card .card-image {
    min-height: 150px !important;
    height: 150px !important;
    width: 100% !important;
  }

  .sale {
    top: 8px !important;
    left: 8px !important;
    z-index: 30 !important;
    font-size: 0.7rem !important;
  }
  .sale__size {
    padding: 0.35rem 0.55rem !important;
  }

  .profile-card > .card > a.mr-2.mt-1,
  .profile-card > .card > a[data-request="onAdd"] {
    top: 8px !important;
    right: 8px !important;
    z-index: 25 !important;
  }

  .profile-card .col-sm-7 .card-header {
    padding: 0.75rem 1rem 0.4rem !important;
    border-top: 1px solid var(--border) !important;
  }
  .profile-card .col-sm-7 .card-body {
    padding: 0.3rem 1rem !important;
  }
  .profile-card .col-sm-7 .card-footer {
    padding: 0.3rem 1rem 0.9rem !important;
  }

  .profile-card .card-header .badge,
  .profile-card .card-header .badge.badge-active,
  .profile-card .card-header span.badge {
    margin-top: 0 !important;
    position: relative !important;
    z-index: 5 !important;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-flex;
    font-size: 0.7rem;
    padding: 0.35em 0.8em;
  }
}

.btn-inner-icon {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 0 !important;
  background: rgba(15, 15, 15, 0.7);
  border: 1px solid var(--border);
  color: var(--accent) !important;
  transition: background var(--transition), color var(--transition);
  transform: none !important;
}
.btn-inner-icon:hover {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

.fixed-bottom-right,
#widgets {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  z-index: 100 !important;
  text-align: right;
}

.basket-button {
  background: var(--accent) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: 56px !important;
  height: 56px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
}
.basket-button:hover { background: var(--accent-dark) !important; }

.badge.cart-counter {
  position: absolute !important;
  top: -5px !important;
  right: -5px !important;
}

.modal-content {
  background: rgba(12, 12, 12, 0.92) !important;
  color: #fff;
  border: 1px solid var(--border) !important;
  border-radius: 0 !important;
  overflow: hidden;
}
.modal-backdrop.show { opacity: 0.7; background: #000; }
.modal .bg-elegant-dark { background: rgba(0, 0, 0, 0.3) !important; }
.modal .card {
  background: var(--tint-soft) !important;
  border-radius: 0 !important;
  border: 1px solid var(--border) !important;
  margin-top: 0 !important;
}

.alert-warning,
.modal .alert-warning,
.cart .alert-warning,
#cart .alert-warning {
  display: none !important;
}

.form-check-input:checked ~ .form-check-sign::after { background-color: var(--accent) !important; }

footer.footer {
  background: var(--tint-soft) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: var(--spacing-xl);
  padding: var(--spacing-lg) 0 !important;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: left;
  position: relative;
  z-index: 2;
}

footer .mt-5.pt-5 {
  border-top: 0 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
}
footer .mt-5.pt-5 > .row > .col-md { display: none !important; }

footer .footer-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent;
  border: 0;
}
footer .footer-brand img { max-height: 40px; border-radius: 0 !important; }

footer .row { align-items: center; }
footer p.small { text-align: left; line-height: 1.5; }

footer a[href*="easydonate.ru"] {
  color: var(--accent) !important;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  transition: color var(--transition);
}
footer a[href*="easydonate.ru"]:hover {
  color: var(--accent-light) !important;
  text-decoration: underline;
}

footer #footer-social-links { margin: 0; padding: 0; }
footer #footer-social-links .list-inline-item { margin-left: 0.5rem; }

footer #footer-social-links .btn-link {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: #fff !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
  transform: none !important;
}

footer #footer-social-links .btn-link i {
  font-size: 1.15rem !important;
  display: inline-block !important;
  background: none !important;
  color: inherit !important;
  line-height: 1;
  position: static !important;
  margin: 0 !important;
}

footer #footer-social-links .btn-twitter {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
}
footer #footer-social-links .btn-twitter:hover {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

footer #footer-social-links .btn-google-plus {
  border-color: #fff !important;
  color: #fff !important;
}
footer #footer-social-links .btn-google-plus:hover {
  background-color: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}

@media (max-width: 767.98px) {
  footer .row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  footer .col-sm-6 { width: 100% !important; text-align: center !important; margin: 0 !important; }
  footer .col-sm-6.mb-4.mb-md-0 { display: flex; flex-direction: column; align-items: center; }
  footer .col-sm-6 .d-flex { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
  footer .footer-brand { display: inline-flex !important; margin: 0 !important; }
  footer p.small { text-align: center !important; margin: 0 !important; }
  footer .col-sm-6.text-sm-right { text-align: center !important; }
  footer #footer-social-links {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin: 0 auto !important;
  }
  footer #footer-social-links .list-inline-item { margin: 0 !important; display: inline-flex !important; align-items: center; }
  footer #footer-social-links .btn-link { width: 40px !important; height: 40px !important; }
  footer #footer-social-links .btn-link i { font-size: 1.05rem !important; }
}

#page .container {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: left !important;
}

#page .container > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
