﻿.flex_center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex_left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.flex_right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.flex_between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex_around {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.flex_colm {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.flex_colm_betwen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
}

.ellipsis-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  line-height: 19px;
}
.ellipsis-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  line-height: 19px;
}
.ellipsis-1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  /* white-space: nowrap */
  line-height: 19px;
}

.loading_animation {
  animation: shine 1s linear infinite;
  background: linear-gradient(110deg, #ececec 8%, #f5f5f5 18%, #ececec 33%);
  background-size: 200% 100%;
  width: 100%;
  height: 100%;
}

.overflow-hidden {
  overflow: hidden;
}

.bg_opt::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0px;
  right: 0;
  pointer-events: none;
  background-color: #00000009;
}

.hover-underline {
  position: relative;
  text-decoration: none;
}

.hover-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease, left 0.3s ease;
}

.hover-underline:hover::after {
  width: 100%;
  left: 0;
}

.hover-underline-bg {
  position: relative;
  text-decoration: none;
}

.hover-underline-bg::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-top-bg-color);
  transition: width 0.3s ease;
}

.hover-underline-bg:hover::after {
  width: 100%;
}

.text_bold {
  font-weight: 600;
}

.img_contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

.loader2 {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--primary-top-bg-color);
  border-radius: 50%;
  animation: bounce 1s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.5);
    opacity: 0.5;
  }

  50% {
    transform: scale(1);
    opacity: 1;
  }

  100% {
    transform: scale(0.5);
    opacity: 0.5;
  }
}

.loader3 {
  width: 50px;
  height: 50px;
  background-color: var(--primary-top-bg-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.loader4 {
  width: 40px;
}

.loader4 .container {
  --uib-size: 30px;
  --uib-color: var(--primary-top-bg-color);
  --uib-speed: 1.2s;
  --uib-bg-opacity: .1;
  height: var(--uib-size);
  width: var(--uib-size);
  transform-origin: center;
  will-change: transform;
  overflow: visible;
}

.loader4 .car {
  fill: none;
  stroke: var(--uib-color);
  stroke-dasharray: 25, 75;
  stroke-dashoffset: 0;
  animation: travel var(--uib-speed) linear infinite;
  will-change: stroke-dasharray, stroke-dashoffset;
  transition: stroke 0.5s ease;
}

.loader4 .track {
  fill: none;
  stroke: var(--uib-color);
  opacity: var(--uib-bg-opacity);
  transition: stroke 0.5s ease;
}

@keyframes travel {
  0% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: -100;
  }
}

.loader5 .container {
  --uib-size: 22px;
  --uib-color: var(--primary-top-bg-color);
  --uib-speed: .9s;
  --uib-bg-opacity: .1;
  height: var(--uib-size);
  width: var(--uib-size);
  transform-origin: center;
  overflow: visible;
}

.loader5 .car {
  fill: none;
  stroke: var(--uib-color);
  stroke-dasharray: 15, 85;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: travel1 var(--uib-speed) linear infinite;
  will-change: stroke-dasharray, stroke-dashoffset;
  transition: stroke 0.5s ease;
}

.loader5 .track {
  stroke: var(--uib-color);
  opacity: var(--uib-bg-opacity);
  transition: stroke 0.5s ease;
}

@keyframes travel1 {
  0% {
    stroke-dashoffset: 0;
  }

  100% {
    stroke-dashoffset: 100;
  }
}




.loader6 .container {
  --uib-size: 30px;
  --uib-color: var(--primary-top-bg-color);
  ;
  --uib-speed: 1.75s;
  display: flex;
  align-items: flex-end;
  padding-bottom: 20%;
  justify-content: space-between;
  width: var(--uib-size);
  height: calc(var(--uib-size) * 0.6);
}

.loader6 .cube {
  flex-shrink: 0;
  width: calc(var(--uib-size) * 0.2);
  height: calc(var(--uib-size) * 0.2);
  animation: jump var(--uib-speed) ease-in-out infinite;
}

.loader6 .cube__inner {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 25%;
  background-color: var(--uib-color);
  transform-origin: center bottom;
  animation: morph var(--uib-speed) ease-in-out infinite;
  transition: background-color 0.3s ease;
}

.loader6 .cube:nth-child(2) {
  animation-delay: calc(var(--uib-speed) * -0.36);

  .cube__inner {
    animation-delay: calc(var(--uib-speed) * -0.36);
  }
}

.loader6 .cube:nth-child(3) {
  animation-delay: calc(var(--uib-speed) * -0.2);

  .cube__inner {
    animation-delay: calc(var(--uib-speed) * -0.2);
  }
}

@keyframes jump {
  0% {
    transform: translateY(0px);
  }

  30% {
    transform: translateY(0px);
    animation-timing-function: ease-out;
  }

  50% {
    transform: translateY(-200%);
    animation-timing-function: ease-in;
  }

  75% {
    transform: translateY(0px);
    animation-timing-function: ease-in;
  }
}

@keyframes morph {
  0% {
    transform: scaleY(1);
  }

  10% {
    transform: scaleY(1);
  }

  20%,
  25% {
    transform: scaleY(0.6) scaleX(1.3);
    animation-timing-function: ease-in-out;
  }

  30% {
    transform: scaleY(1.15) scaleX(0.9);
    animation-timing-function: ease-in-out;
  }

  40% {
    transform: scaleY(1);
  }

  70%,
  85%,
  100% {
    transform: scaleY(1);
  }

  75% {
    transform: scaleY(0.8) scaleX(1.2);
  }
}


.loader7 .container {
  --uib-size: 45px;
  --uib-color: var(--primary-top-bg-color);
  --uib-speed: 1.75s;
  --uib-bg-opacity: .1;
  position: relative;
  display: flex;
  flex-direction: column;
  height: var(--uib-size);
  width: var(--uib-size);
  transform: rotate(45deg);
  animation: rotate calc(var(--uib-speed) * 2) ease-in-out infinite;
}

.loader7 .half {
  --uib-half-size: calc(var(--uib-size) * 0.435);
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--uib-half-size);
  height: var(--uib-half-size);
  overflow: hidden;
  isolation: isolate;

  &:first-child {
    top: 8.25%;
    left: 8.25%;
    border-radius: 50% 50% calc(var(--uib-size) / 15);
  }

  &:last-child {
    bottom: 8.25%;
    right: 8.25%;
    transform: rotate(180deg);
    align-self: flex-end;
    border-radius: 50% 50% calc(var(--uib-size) / 15);

    &::after {
      animation-delay: calc(var(--uib-speed) * -1);
    }
  }

  &::before {
    content: '';
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--uib-color);
    opacity: var(--uib-bg-opacity);
    transition: background-color 0.3s ease;
  }

  &::after {
    content: '';
    position: relative;
    z-index: 1;
    display: block;
    background-color: var(--uib-color);
    height: 100%;
    transform: rotate(45deg) translate(-3%, 50%) scaleX(1.2);
    width: 100%;
    transform-origin: bottom right;
    border-radius: 0 0 calc(var(--uib-size) / 20) 0;
    animation: flow calc(var(--uib-speed) * 2) linear infinite both;
    transition: background-color 0.3s ease;
  }
}

@keyframes flow {
  0% {
    transform: rotate(45deg) translate(-3%, 50%) scaleX(1.2);
  }

  30% {
    transform: rotate(45deg) translate(115%, 50%) scaleX(1.2);
  }

  30.001%,
  50% {
    transform: rotate(0deg) translate(-85%, -85%) scaleX(1);
  }

  80%,
  100% {
    transform: rotate(0deg) translate(0%, 0%) scaleX(1);
  }
}

@keyframes rotate {

  0%,
  30% {
    transform: rotate(45deg);
  }

  50%,
  80% {
    transform: rotate(225deg);
  }

  100% {
    transform: rotate(405deg);
  }
}

.loader8 .container {
  --uib-size: 55px;
  --uib-color: black;
  --uib-speed: 1.3s;
  --uib-bg-opacity: .1;
  height: calc(var(--uib-size) * (2.1 / 5));
  width: var(--uib-size);
  transform-origin: center;
  overflow: visible;
}

.loader8 .car {
  fill: none;
  stroke: var(--uib-color);
  stroke-dasharray: 15, 85;
  stroke-dashoffset: 0;
  stroke-linecap: round;
  animation: travel var(--uib-speed) linear infinite;
  will-change: stroke-dasharray, stroke-dashoffset;
  transition: stroke 0.5s ease;
}

.loader8 .track {
  stroke: var(--uib-color);
  opacity: var(--uib-bg-opacity);
}

.move-right {
  cursor: pointer;
  /* animation: moveRight 20s linear infinite; */
  -ms-flex-pack: distribute;
  -webkit-animation: marquee-scroll 40s linear infinite;
  animation: marquee-scroll 40s linear infinite;
  justify-content: space-around;
  min-width: 100%
}

.move-right:hover {
  animation-play-state: paused;
}

@-webkit-keyframes marquee-scroll {
  0% {
    -webkit-transform: translateX(4rem);
    transform: translateX(4rem)
  }

  to {
    -webkit-transform: translateX(calc(-100% - 4rem));
    transform: translateX(calc(-100% - 4rem))
  }
}

@media screen and (max-width: 3400px) and (min-width: 650px) {

  .dropdown-content {
    min-width: 250px;
    max-width: 350px;
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    padding: 12px 16px;
    max-height: 500px;
    overflow-y: auto;
    font-size: 13px;
    translate: display .3s ease;
  }

  .dropdown:hover .dropdown-content {

    display: block;
  }

  .box_shadow:hover {
    cursor: pointer;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1)
  }

  .dom-big-hover {
    transition: transform 0.3s ease;
  }

  .dom-big-hover:hover {
    transform: scale(1.1);
  }

  .dom-hover-opacity-hide {
    opacity: 1;
    transition: all 0.4s ease;
  }

  .dom-hover-opacity-hide:hover {
    opacity: 0;
    transition: all 0.3s ease;
  }

  .dom_hover_to_top:hover {
    transform: translateY(-6px);
    transition: all 0.3s ease;
  }

  .buy_to_top,
  .buy_to_bottom {
    opacity: 0;
  }

  .cart_hover:hover+.buy_to_top {
    opacity: 1;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }

  .cart_hover:hover+.buy_to_bottom {
    opacity: 1;
    transform: translateY(10px);
    transition: all 0.3s ease;
  }

  .fade-in {
    animation: fadeIn 1s ease-in forwards;
  }

  @keyframes fadeIn {
    0% {
      opacity: 0;
    }

    100% {
      opacity: 1;
    }
  }

  .scale {
    animation: scale 0.5s ease-in-out infinite alternate;
  }

  @keyframes scale {
    0% {
      transform: scale(1);
    }

    100% {
      transform: scale(1.1);
    }
  }

  .spin {
    animation: spin 0.5s ease-in-out infinite alternate;
  }

  @keyframes spin {
    from {
      transform: rotate(0deg);
    }

    to {
      transform: rotate(360deg);
    }
  }

  .blink {
    animation: blink 0.5s ease-in-out infinite alternate;
  }

  @keyframes blink {
    from {
      opacity: 0;
    }

    50% {
      opacity: 1;
    }

    to {
      opacity: 0;
    }
  }
}