﻿.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;
}

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

.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);
    }
  }




.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;
        }
    }
}