body.dark-theme {
  --neo-glass: rgba(10, 8, 16, .62);
  --neo-glass-hover: rgba(255, 255, 255, .12);
  --neo-glass-active: rgba(255, 255, 255, .18);
  --neo-border: rgba(255, 255, 255, .08);
  --neo-border-strong: rgba(255, 255, 255, .16);

  --color-accent: #ffffff;
  --color-accent-125: #ffffff30;
  --color-accent-15: #ffffff26;
  --color-accent-25: #ffffff40;
  --color-accent-50: #ffffff80;
  --color-accent-75: #ffffffC0;

  --body-background-color: #08080a;
  --color-default: #f4f4f6;
  --color-muted: #b4b4bd;
  --color-neutral: #93939d;
  --border-color-default: rgba(255, 255, 255, .08);
  --spirit-input-border-color: rgba(255, 255, 255, .1);

  --spirit-card-background-color: rgba(10, 8, 16, .62);
  --spirit-card-background-color-hover: rgba(255, 255, 255, .1);
  --spirit-card-background-color-opacity-0: rgba(10, 8, 16, 0);
  --spirit-navbar-color: transparent;
  --spirit-footer-background-color: rgba(5, 5, 7, .85);
  --spirit-product-group-product-background-color: #1e1e25;
  --spirit-shop-category-background-color: rgba(10, 8, 16, .62);
  --spirit-product-image-background-color: rgba(0, 0, 0, .35);
  --spirit-input-background-color: rgba(0, 0, 0, .45);
}

html {
  min-height: 100%;
  background: #08080a !important;
}
body.dark-theme {
  background: transparent !important;
}
body.dark-theme:before {
  content: "";
  position: fixed;
  top: -4%;
  left: -4%;
  right: -4%;
  bottom: -4%;
  z-index: -2;
  pointer-events: none;
  background: url(https://cdn.easydonate.ru/images/backgrounds/f6/98/f698fb3b83f2dd72e2dffc9ecdbd0f4a5e11c0723c8052fbb31aa955ab0a6fb6.jpg) center / cover no-repeat;
  filter: brightness(.5);
  transform: scale(1);
  animation: neo-bg-depth linear both;
  animation-timeline: scroll(root);
}
body.dark-theme:after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 75% at 50% 45%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .75) 100%),
    linear-gradient(rgba(8, 8, 10, .25), rgba(8, 8, 10, .45));
}
@keyframes neo-bg-depth {
  from {
    transform: scale(1) translateY(0);
    filter: brightness(.5);
  }
  to {
    transform: scale(1.22) translateY(-3%);
    filter: brightness(.3);
  }
}
body.dark-theme section {
  background: transparent !important;
}

.product-card {
  background: var(--neo-glass) !important;
  border: 1px solid var(--neo-border) !important;
  border-radius: 20px !important;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--neo-border-strong) !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .6);
}
.product-preview-image-wrapper {
  border-radius: 14px;
  background: radial-gradient(circle at 50% 35%, rgba(255, 255, 255, .1), transparent 70%), rgba(0, 0, 0, .35);
}
.shop-product-name {
  font-weight: 700;
  letter-spacing: .2px;
  color: #fff;
}
.shop-product-cost {
  color: #fff;
  font-weight: 800;
}

.btn-accent {
  background: rgba(255, 255, 255, .16) !important;
  border: 1px solid var(--neo-border-strong) !important;
  color: #fff !important;
  font-weight: 700;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all .25s ease;
}
.btn-accent:hover {
  background: rgba(255, 255, 255, .26) !important;
  transform: translateY(-1px);
}
.btn-outline-accent {
  border: 1px solid var(--neo-border-strong) !important;
  color: #fff !important;
  font-weight: 600;
  transition: all .25s ease;
}
.btn-outline-accent:hover {
  background: rgba(255, 255, 255, .16) !important;
  border-color: rgba(255, 255, 255, .4) !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, .08);
  transform: scale(1.02);
}

.badge-accent,
.badge-accent-blured {
  background: rgba(255, 255, 255, .2) !important;
  color: #fff !important;
  border: 1px solid var(--neo-border-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.badge-accent svg path,
.badge-accent-blured svg path {
  stroke: #fff;
}
.cart-counter {
  background: #fff !important;
  color: #08080a !important;
  font-weight: 700;
}
.cart-cost {
  white-space: nowrap;
  font-weight: 600;
}

.spirit-shop-category {
  background: var(--neo-glass) !important;
  border: 1px solid var(--neo-border) !important;
  border-radius: 18px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all .25s ease;
}
.spirit-shop-category:hover {
  background: var(--neo-glass-hover) !important;
  transform: translateY(-1px);
}
.spirit-shop-category.active {
  background: var(--neo-glass-active) !important;
  border-color: rgba(255, 255, 255, .3) !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, .08);
  color: #fff !important;
}
.spirit-shop-category.active .category-name,
.spirit-shop-category.active .category-products-count {
  color: #fff !important;
}
.spirit-shop-category.active svg path {
  stroke: #fff;
}

.form-control {
  border-radius: 12px !important;
  background: rgba(0, 0, 0, .45) !important;
}
.form-control:focus {
  border-color: rgba(255, 255, 255, .5) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .1) !important;
}
.modal-content {
  background: rgba(12, 12, 16, .92) !important;
  border: 1px solid var(--neo-border-strong);
  border-radius: 22px;
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #08080a; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .25); border-radius: 10px; }

.spirit-navbar-menu .spirit-navbar-item:after {
  display: none;
}
@media (min-width: 992px) {
  body.dark-theme {
    padding-left: 84px;
  }
  .spirit-navbar {
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    right: auto !important;
    width: 72px !important;
    max-width: 72px !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 28px 28px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    z-index: 1000;
    overflow: hidden;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: width .3s cubic-bezier(.4, 0, .2, 1), max-width .3s cubic-bezier(.4, 0, .2, 1), background-color .3s ease;
  }
  .spirit-navbar:hover {
    width: 220px !important;
    max-width: 220px !important;
    background: rgba(8, 8, 10, .82) !important;
  }
  .spirit-navbar .navbar-general {
    height: 100%;
  }
  .spirit-navbar .container {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    max-width: none;
    padding: 20px 4px;
  }
  .spirit-navbar .d-flex {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px !important;
  }
  .spirit-navbar .justify-content-between {
    flex: 1 1 auto;
    justify-content: space-between !important;
  }
  .spirit-navbar .justify-content-end {
    justify-content: center !important;
    align-items: center !important;
  }
  .spirit-navbar .spirit-logo-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 0 0 16px 8px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--neo-border);
  }
  .spirit-navbar .spirit-shop-logo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 14px;
    filter: drop-shadow(0 0 16px rgba(255, 176, 94, .35));
  }
  .spirit-navbar .spirit-shop-name {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transition: opacity .25s ease;
  }
  .spirit-navbar:hover .spirit-shop-name {
    opacity: 1;
  }
  .spirit-navbar-menu {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px;
    width: 100%;
  }
  .spirit-navbar-menu .spirit-navbar-item + .spirit-navbar-item {
    margin-left: 0;
  }
  .spirit-navbar-menu .spirit-navbar-item {
    width: 100%;
    border-radius: 12px;
    transition: background-color .2s ease;
  }
  .spirit-navbar-menu .spirit-navbar-item a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    min-height: 48px;
    padding: 10px 0 10px 21px;
    overflow: hidden;
  }
  .spirit-navbar-menu .spirit-navbar-item a:before {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    background: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f4f6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 3v5h5M9 13h6M9 17h6'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .spirit-navbar-menu .spirit-navbar-item:nth-child(2) a:before {
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f4f6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h12v6a5 5 0 0 1-5 5h-2a5 5 0 0 1-5-5z'/%3E%3Cpath d='M17 10h1.5a2.5 2.5 0 0 1 0 5H17M8 3v2M12 3v2'/%3E%3C/svg%3E");
  }
  .spirit-navbar-menu .spirit-navbar-item:nth-child(3) a:before {
    background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4f4f6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 4a2 2 0 1 1 4 0v1h4v4h-1a2 2 0 1 0 0 4h1v4h-4v-1a2 2 0 1 0-4 0v1H6v-4h1a2 2 0 1 0 0-4H6V5h4z'/%3E%3C/svg%3E");
  }
  .spirit-navbar-menu .spirit-navbar-item span {
    white-space: nowrap !important;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .3px;
    color: #cfcfd6;
    opacity: 0;
    transition: opacity .25s ease;
  }
  .spirit-navbar:hover .spirit-navbar-item span {
    opacity: 1;
  }
  .spirit-navbar-menu .spirit-navbar-item:hover {
    background: var(--neo-glass-hover);
  }
  .spirit-navbar-menu .spirit-navbar-item:hover span {
    color: #fff;
  }
  .spirit-navbar-menu .spirit-navbar-item.active {
    background: var(--neo-glass-active);
    box-shadow: 0 0 20px rgba(255, 255, 255, .08);
  }
  .spirit-navbar .cart-badge {
    padding: 10px 0;
    justify-content: center;
  }
}

.shop .col-xl-3,
.shop .col-xl-9 {
  flex: 0 0 100%;
  max-width: 100%;
}
.spirit-shop-categories-wrapper {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
}
.spirit-shop-categories-wrapper .spirit-shop-category {
  flex: 0 0 auto;
  min-width: 220px;
  margin: 0 !important;
}
.shop-products .filter-items {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
  height: auto !important;
  margin: 0 !important;
}
.shop-products .filter-item {
  position: static !important;
  transform: none !important;
  width: auto !important;
  max-width: none !important;
  padding: 0 !important;
}
.section-shop .container {
  max-width: 1400px;
}

footer .mt-6,
footer .mt-6 + div {
  display: none !important;
}
footer {
  padding-top: 28px !important;
  margin-bottom: -48px;
  background: rgba(8, 8, 10, .72) !important;
}
footer .mb-24 {
  margin-bottom: 12px !important;
}
footer .text-white[style*="border-top"] {
  border-top: none !important;
}
footer .text-white[style*="border-top"] .flex-wrap {
  height: 0;
  overflow: hidden;
}
