.fashion_preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #2c080a;
  color: #fff;

  overflow: hidden;

  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.fashion_preloader.preloader_hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.fashion_preloader_content {
  position: relative;
  z-index: 5;

  width: min(90%, 500px);

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}

.fashion_preloader_logo {
  opacity: 0;
  transform: translateY(25px) scale(0.95);

  animation: fashionLogo 1s ease forwards;
}

.fashion_preloader_logo img {
  width: 180px;
  height: auto;

  object-fit: contain;

  filter: brightness(0) invert(1);
}

.fashion_preloader_line {
  position: relative;

  width: 0;
  height: 1px;

  margin: 28px auto 22px;

  background: rgba(255, 255, 255, 0.2);

  animation: fashionLine 1s ease 0.5s forwards;
}

.fashion_preloader_line span {
  position: absolute;

  left: 0;
  top: 0;

  width: 0;
  height: 1px;

  background: #cda8a8;

  animation: fashionProgress 1.5s ease 0.7s forwards;
}

.fashion_preloader_text {
  display: flex;
  flex-direction: column;

  gap: 5px;

  font-size: 12px;
  font-weight: 400;

  letter-spacing: 4px;

  color: rgba(255, 255, 255, 0.65);

  opacity: 0;

  transform: translateY(15px);

  animation: fashionText 0.8s ease 0.9s forwards;
}

.fashion_preloader_text span:last-child {
  color: #fff;
  font-weight: 500;
}

.fashion_preloader_loading {
  display: flex;
  align-items: center;

  gap: 8px;

  margin-top: 40px;

  font-size: 9px;

  letter-spacing: 3px;

  color: rgba(255, 255, 255, 0.45);

  opacity: 0;

  animation: fashionLoading 0.8s ease 1.2s forwards;
}

.fashion_loading_dots {
  display: flex;
  gap: 4px;
}

.fashion_loading_dots i {
  width: 3px;
  height: 3px;

  display: block;

  border-radius: 50%;

  background: #cda8a8;

  animation: fashionLoadingDot 1.2s infinite ease-in-out;
}

.fashion_loading_dots i:nth-child(2) {
  animation-delay: 0.15s;
}

.fashion_loading_dots i:nth-child(3) {
  animation-delay: 0.3s;
}

.fashion_preloader_shape {
  position: absolute;

  border: 1px solid rgba(255, 255, 255, 0.08);

  border-radius: 50%;

  pointer-events: none;
}

.fashion_shape_1 {
  width: 500px;
  height: 500px;

  top: -280px;
  left: -200px;

  animation: fashionRotate 15s linear infinite;
}

.fashion_shape_2 {
  width: 420px;
  height: 420px;

  right: -240px;
  bottom: -240px;

  border-color: rgba(205, 168, 168, 0.12);

  animation: fashionRotateReverse 18s linear infinite;
}

.fashion_preloader_shape::after {
  content: "";

  position: absolute;

  width: 70%;
  height: 70%;

  top: 15%;
  left: 15%;

  border: 1px solid rgba(205, 168, 168, 0.08);

  border-radius: 50%;
}

@keyframes fashionLogo {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fashionLine {
  to {
    width: 180px;
  }
}

@keyframes fashionProgress {
  to {
    width: 100%;
  }
}

@keyframes fashionText {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fashionLoading {
  to {
    opacity: 1;
  }
}

@keyframes fashionLoadingDot {
  0%,
  100% {
    opacity: 0.2;
    transform: translateY(0);
  }

  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}

@keyframes fashionRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes fashionRotateReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@media (max-width: 767px) {
  .fashion_preloader_logo img {
    width: 145px;
  }

  .fashion_preloader_line {
    margin-top: 22px;
    margin-bottom: 18px;
  }

  .fashion_preloader_text {
    font-size: 9px;
    letter-spacing: 3px;
  }

  .fashion_preloader_loading {
    margin-top: 30px;
  }

  .fashion_shape_1 {
    width: 320px;
    height: 320px;

    top: -180px;
    left: -150px;
  }

  .fashion_shape_2 {
    width: 300px;
    height: 300px;

    right: -170px;
    bottom: -170px;
  }
}
