html, body {
    overflow-x: hidden;
}
.loyalty-page {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
}
.loyalty-heading {
    margin-top: 7.708333333333333vw;
color: #0A0A0A;
text-align: center;
font-family: "Despair Display";
font-size: 10.416vw;
font-style: normal;
font-weight: 700;
line-height: 80%; /* 160px */
letter-spacing: -0.2083333333333333vw;
text-transform: uppercase;
}
.privilege {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-transform: uppercase;
    margin-top: 5.208vw; /* 100px */
    width: 89.531vw; /* 1719px */
}
  
.privilege-heading {
    color: #0a0a0a;
    text-align: center;
    font-family: 'Despair Display', sans-serif;
    font-size: 3.333vw; /* 64px */
    font-weight: 700;
    line-height: 3.333vw; /* 64px */
    letter-spacing: -0.067vw; /* -1.28px */
    align-self: center;
    width: 62.969vw; /* 1209px */
}
  
.cards {
    align-items: start;
    align-content: flex-start;
    flex-wrap: wrap;
    display: flex;
    margin-top: 2.083vw; /* 40px */
    color: #fff;
    justify-content: start;
    padding: 0;
    height: 24.375vw;
}
  
.loyalty-card {
    align-items: stretch;
    border-radius: 2.083vw; /* 40px */
    display: flex;
    width: 28.844vw; /* 573px */
    height: 12.188vw; /* 234px */
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    flex-shrink: 1;
    padding: 2.083vw; /* 40px */
    background-color: #0000e9;
}
  
.card-content {
    justify-content: center;
    align-items: stretch;
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 1.042vw; /* 20px */
}
  
.card-percentage {
    color: #fff;
    font-family: 'Despair Display', sans-serif;
    font-size: 6.667vw; /* 128px */
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.133vw; /* -2.56px */
    align-self: center;
}
  
.card-number {
    color: #fff;
    font-family: 'Despair Display', sans-serif;
    font-size: 6.667vw; /* 128px */
    line-height: 0.6;
    letter-spacing: -0.133vw; /* -2.56px */
}
  
.card-info {
    display: flex;
    flex-direction: column;
    align-self: stretch;
    color: #fff;
    text-align: center;
    font-size: 1.042vw; /* 20px */
    font-weight: 500;
    letter-spacing: -0.021vw; /* -0.4px */
    opacity: 0.8;
    /*width: 25.677vw; *//* 493px */
    font-family: 'Inter', sans-serif;
    font-style: normal;
    line-height: 110%;
    letter-spacing: -0.021vw; /* -0.4px */
    text-transform: uppercase;
}
  
.headline-group {
    align-items: end;
    align-self: center;
    display: flex;
    gap: 0.521vw; /* 10px */
    font-weight: 700;
    white-space: nowrap;
    justify-content: start;
}
  
.card-unit {
    color: #fff;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.938vw; /* 18px */
    line-height: 1.1;
    letter-spacing: -0.019vw; /* -0.36px */
}
  

.haircut-correction {
    display: flex;
    flex-direction: column;
    gap: 2.083vw; /* 40px */
    margin-top: 9.375vw; /* 180px (уже в vw) */
    width: 89.583vw; /* 1720px */
    align-items: center;
}

.haircut-correction-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.haircut-text {
    margin-top: 2.917vw; /* 56px */
    width: 15.104vw; /* 290px */
    color: #0A0A0A;
    font-family: 'Inter';
    font-size: 0.938vw; /* 18px */
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.019vw; /* -0.36px */
}

.haircut-group-text {
    width: 39.948vw; /* 767px */
    display: flex;
    flex-direction: column;
    gap: 1.563vw; /* 30px */
    justify-content: center; 
    align-items: center;
}

.haircut-header-text {
    color: var(--Black-Black-Basic, #0A0A0A);
    text-align: center;
    font-family: "Despair Display";
    font-size: 3.333vw; /* 64px */
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: -0.067vw; /* -1.28px */
    text-transform: uppercase;
}

.haircut-description-text {
    width: 31.25vw; /* 600px */
    color: #0A0A0A;
    text-align: center;
    font-family: 'Inter';
    font-size: 1.25vw; /* 24px */
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.038vw; /* -0.72px */
    text-transform: uppercase;
}

.cta-button {
    display: flex;
    width: 29.167vw; /* 560px */
    padding: 1.302vw 6.719vw; /* 25px 129px */
    justify-content: center;
    align-items: center;
    gap: 0.521vw; /* 10px */
    border-radius: 2.083vw; /* 40px */
    background: #0000E9;
    color: #FFF;
    font-family: 'Inter';
    font-size: 0.938vw; /* 18px */
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    letter-spacing: -0.019vw; /* -0.36px */
    text-transform: uppercase;
      border: 0.05208vw solid #0000E9;
}

.cta-button:hover {
    background: #FFFFFF;
    color: #0000E9;
}



@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  
  /* Основные размеры */
  .banner {
    position: relative;
    width: 100%;
    /*background: #FFFFFF;*/
    margin-top: 3.2083vw;
    flex-direction: column;
    display: flex;
  }
  
  .banner-inner {
    position: relative;
    height: 17.1875vw; /* 330px */
    overflow: hidden;
    display: flex;
    padding-left: 5.2083vw;
    padding-right: 5.2083vw;
  }
  
  /* Общие стили для лент */
  .banner-strip {
    position: relative;
    left: 50%;
    width: 101%; /* 1963px */
    height: 4.427vw; /* 85px */ 
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 1.302vw 0; /* 25px */
  }
  
  /* Верхняя лента */
  .banner-strip-bottom {
    position: absolute;
    top: 5.83vw;
    transform: translateX(-50%) rotate(-5deg);
    border: 0.052vw solid #0A0A0A; /* 1px */
    background: #FFF;
  }
  
  /* Нижняя лента */
  .banner-strip-top {
    position: absolute;
    top: 7.2395vw;
    transform: translateX(-50%) rotate(5deg);
    background: #01FF00;
  }
  
  /* Бегущая строка */
  .banner-content {
    display: flex;
    align-items: center;
    gap: 0.78125vw; /* 15px */
    width: max-content;
    animation: scroll var(--line-animation-speed, 20s) linear infinite;
    padding-right: 2.604vw; /* 50px */
  }
  
  /* Текст */
  .discount-text {
    color: #0A0A0A;
    font-family: "Inter", sans-serif;
    font-size: 1.667vw; /* 32px */
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.033vw; /* -0.64px */
    text-transform: uppercase;
    white-space: nowrap;
    margin: 0;
  }
  
  /* Звезда */
  .star-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(5deg);
    width: 1.25vw; /* 24px */
    height: 1.25vw; /* 24px */
  }
  
  .banner-strip-top .star-wrapper {
    transform: rotate(-5deg);
  }
  
  .star-icon {
    width: 100%;
    height: 100%;
  }


  .availability {
    position: relative;
    margin-top: 5.208vw; /* 100px */
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    gap: 1.563vw; /* 30px */
}

.availability-header {
    width: 48.698vw; /* 935px */
    color: #0A0A0A;
    text-align: center;
    font-family: "Despair Display";
    font-size: 3.333vw; /* 64px */
    font-style: normal;
    font-weight: 700;
    line-height: 100%;
    letter-spacing: -0.067vw; /* -1.28px */
    text-transform: uppercase;
}

.availability-header-description {
    width: 42.656vw; /* 819px */
    color: #0A0A0A;
    text-align: center;
    font-family: "Inter";
    font-size: 0.938vw; /* 18px */
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    letter-spacing: -0.019vw; /* -0.36px */
}

.availability-picture-cards {
    display: flex;
    flex-direction: column;
    width: 21.615vw; /* 415px */
    justify-content: center; 
    align-items: center;
    gap: 20px;
}

.availability-picture {
    height: 14.063vw; /* 270px */
    width: 21.615vw; /* 415px */
    align-self: stretch;
    background: url("../images/loyalty.png") lightgray -1.333vw -0.562vw / 118.414% 121.401% no-repeat; /* -25.589px -10.782px */
}

.availability-picture-text {
    color: #999;
    font-family: "Inter";
    font-size: 0.729vw; /* 14px */
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    letter-spacing: -0.015vw; /* -0.28px */
}

.availability-graffiti {
    position: absolute;
    display: flex;
    width: 59.375vw; /* 1140px */
    justify-content: space-between;
    top: 13.073vw; /* 251px */
}

.availability-graffiti-cash {
    width: 22.656vw; /* 435px */
    height: 12.76vw; /* 245px */
    background: url('../images/cash.svg') center/contain no-repeat;
}

.availability-graffiti-back {
    width: 24.479vw; /* 470px */
    height: 12.76vw; /* 245px */
    background: url('../images/back.svg') center/contain no-repeat;
}
.tablet-haircut-text {
    display: none;
}
@media (max-width: 1024px) {

    .loyalty-heading {
        margin-top: 9.57vw; /* 98px */
        font-size: 9.38vw; /* 96px */
        letter-spacing: -0.19vw; /* -1.92px */
    }
    
    .privilege {
        margin-top: 3.91vw; /* 40px */
        width: 96.09vw; /* 984px */
    }
    
    .privilege-heading {
        font-size: 3.13vw; /* 32px */
        line-height: 100%;
        letter-spacing: -0.06vw; /* -0.64px */
        width: 64.06vw; /* 656px */
    }
    
    .cards {
        margin-top: 2.93vw; /* 30px */
        height: 24.41vw; /* 250px */
    }
    
    .loyalty-card {
        border-radius: 3.91vw; /* 40px */
        width: 32.03vw; /* 328px */
        height: 12.21vw; /* 125px */
        padding: 1.46vw; /* 15px */
    }
    
    .card-content {
        width: 100%;
        gap: 1.95vw; /* 20px */
    }
    
    .card-percentage {
        font-size: 6.25vw; /* 64px */
        letter-spacing: -0.13vw; /* -1.28px */
    }
    
    .card-number {
        font-size: 6.25vw; /* 64px */
        letter-spacing: -0.13vw; /* -1.28px */
    }
    
    .card-info {
        font-size: 1.37vw; /* 14px */
        letter-spacing: -0.03vw; /* -0.28px */
    }
    
    .headline-group {
        gap: 0.98vw; /* 10px */
    }
    
    .card-unit {
        font-size: 1.37vw; /* 14px */
        letter-spacing: -0.03vw; /* -0.28px */
    }
    
    .haircut-text {
        display: none;
    }
    
    .haircut-correction {
        gap: 2.93vw; /* 30px */
        margin-top: 9.77vw; /* 100px */
        width: 47.27vw; /* 484px */
    }
    
    .haircut-correction-header {
        display: flex;
        flex-direction: column;
        justify-content: center; 
        align-items: center;
    }
    
    .tablet-haircut-text {
        margin-top: 0.98vw; /* 10px */
        width: 31.05vw; /* 318px */
        font-size: 1.37vw; /* 14px */
        letter-spacing: -0.03vw; /* -0.28px */
        text-align: center;
    }
    
    .haircut-group-text {
        width: 47.27vw; /* 484px */
        gap: 1.95vw; /* 20px */
    }
    
    .haircut-header-text {
        font-size: 3.13vw; /* 32px */
        letter-spacing: -0.06vw; /* -0.64px */
    }
    
    .haircut-description-text {
        width: 100%;
        font-size: 1.76vw; /* 18px */
        letter-spacing: -0.04vw; /* -0.36px */
    }
    
    .cta-button {
        width: 29.17vw; /* 560px */
        padding: 1.30vw 6.72vw; /* 25px 129px */
        gap: 0.52vw; /* 10px */
        border-radius: 2.08vw; /* 40px */
        font-size: 0.94vw; /* 18px */
        letter-spacing: -0.02vw; /* -0.36px */
    }
    
    .cta-button {
        border: 0.098vw solid #0000E9; /* 1px */
    }
      
      /* Основные размеры */
      .banner {
        margin-top: 3.2083vw;
      }
      
      .banner-inner {
        height: 14.55vw; /* 117px (149px - 32px отступов) */
        padding-left: 1.95vw;
        padding-right: 1.95vw;
        
      }
    
      .banner-strip {
        height: 5.47vw; /* 56px */
        padding: 1.465vw 0; /* 15px */
      }
    
      /* Верхняя лента (зелёная) */
      .banner-strip-top {
        top: 4.39453125vw; /* 72.5px */
      }
    
      /* Нижняя лента (белая) */
      .banner-strip-bottom {
        top: 4.58984375vw; /* 13px */
      }
    
      .banner-content {
        gap: 1.465vw; /* 15px */
        padding-right: 4.88vw; /* 50px */
      }
    
      .discount-text {
        font-size: 2.34vw; /* 24px */
        letter-spacing: -0.047vw; /* -0.48px */
      }
    
      .star-wrapper {
        width: 2.34vw; /* 24px */
        height: 2.34vw; /* 24px */
      }
    
      /* Оптимизация анимации 
      .banner-content {
        animation-duration: 30s;
      }*/
    
    
      .availability {
        margin-top: 5.86vw; /* 60px */
        gap: 1.95vw; /* 20px */
    }
    
    .availability-header {
        width: 47.27vw; /* 484px */
        font-size: 3.13vw; /* 32px */
        letter-spacing: -0.06vw; /* -0.64px */
    }
    
    .availability-header-description {
        width: 47.27vw; /* 484px */
        font-size: 1.37vw; /* 14px */
        letter-spacing: -0.03vw; /* -0.28px */
    }
    
    .availability-picture-cards {
        width: 32.03vw; /* 328px */
        gap: 1.46vw; /* 15px */
    }
    
    .availability-picture {
        width: 32.03vw; /* 328px */
        height: 20.99vw; /* 215px */
    }
    
    .availability-picture-text {
        font-size: 1.37vw; /* 14px */
        letter-spacing: -0.03vw; /* -0.28px */
    }
    
    .availability-graffiti {
        width: 79.30vw; /* 812px */
        top: 20.21vw; /* 207px */
    }
    
    .availability-graffiti-cash {
        width: 25.10vw; /* 257px */
        height: 14.16vw; /* 145px */
        aspect-ratio: 257/145;
    }
    
    .availability-graffiti-back {
        width: 27.15vw; /* 278px */
        height: 14.16vw; /* 145px */
        aspect-ratio: 278/145;
    }
}


@media (max-width: 375px) {

    .loyalty-heading {
        margin-top: 20.8vw; /* 98px → 26.13vw */
        font-size: 10.67vw;
        letter-spacing: -0.21vw;
    }
    
    .privilege {
        margin-top: 8vw;
        position: relative;
        width: 100%;
    }
    
    .privilege-heading {
        margin-left: 2.67vw;
        margin-right: 2.67vw;
        font-size: 6.4vw;
        line-height: 90%;
        letter-spacing: -0.13vw;
        width: 100%; /* 656px → 174.93vw */
    }
    
    .cards {
        margin-top: 4vw;
        height: 48vw;
        flex-wrap: nowrap;
        gap: 0; /* 20px → 5.33vw */
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        cursor: grab;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-left: 2.67vw;
        padding-right: 2.67vw;
    }
      
    .loyalty-card {
        flex-grow: 0;
        flex-shrink: 0;
        border-radius: 10.67vw;
        width: 78.4vw;
        height: 48vw;
        padding: 4vw;
    }
    
    .card-content {
        width: 100%;
        gap: 3.2vw;
    }
    
    .card-percentage {
        font-size: 10.67vw;
        letter-spacing: -0.21vw;
    }
    
    .card-number {
        font-size: 10.67vw;
        letter-spacing: -0.21vw;
    }
    
    .card-info {
        font-size: 3.73vw;
        letter-spacing: -0.07vw;
    }
    
    .headline-group {
        gap: 2.67vw;
    }
    
    .card-unit {
        font-size: 3.73vw;
        letter-spacing: -0.07vw;
    }   
    
    .haircut-correction {
        gap: 5.33vw;
        margin-top: 21.33vw;
        width: 94.67vw;
    }
    
    .tablet-haircut-text {
        margin-top: 2.67vw;
        width: 94.67vw;
        font-size: 3.73vw;
        letter-spacing: -0.07vw;
        text-align: left;
    }    
    
    .haircut-group-text {
        width: 94.67vw;
        gap: 4vw;
    }
    
    .haircut-header-text {
        text-align: left;
        font-size: 6.4vw;
        letter-spacing: -0.13vw;
        width: 100%;
    }    
    
    .haircut-description-text {
        text-align: left;
        width: 100%;
        font-size: 3.73vw;
        letter-spacing: -0.07vw;
    }
    
    .cta-button {
        width: 94.67vw;
        padding: 5.33vw 34.4vw;
        gap: 2.67vw;
        border-radius: 10.67vw;
        font-size: 3.73vw;
        letter-spacing: -0.07vw;
    }
    
    .cta-button {
        border: 0.27vw solid #0000E9;
    }
    
    /* Основные размеры */
    .banner {
        margin-top: 16vw;
    }
    
      
    .banner-inner {
        width: 110%;
        height: 35.2vw;
        padding-left: 0;
        padding-right: 0;
        margin-left: -2.67vw;
    }
    
    .banner-strip {
        height: 14.4vw;
        padding: 4vw 0;
    }
    
    /* Верхняя лента (зелёная) */
.banner-strip-top {
    top: 5.33vw;
}

/* Нижняя лента (белая) */
.banner-strip-bottom {
    top: 16vw;
}

.banner-content {
    gap: 4vw;
    padding-right: 13.33vw;
}

    
.discount-text {
    font-size: 3.73vw;
    letter-spacing: -0.07vw;
}

.star-wrapper {
    width: 6.4vw;
    height: 6.4vw;
}

.availability {
    margin-top: 16vw;
    gap: 4vw;
}
    
.availability-header {
    text-align: left;
    width: 94.67vw;
    font-size: 6.4vw;
    letter-spacing: -0.13vw;
}

.availability-header-description {
    text-align: left;
    width: 94.67vw;
    font-size: 3.73vw;
    letter-spacing: -0.07vw;
}
    
.availability-picture-cards {
    width: 94.67vw;
    gap: 1.87vw;
}
    
.availability-picture {
    width: 94.67vw;
    height: 61.87vw;
        flex-shrink: 0;
    }
    
    .availability-picture-text {
        font-size: 3.73vw;
        letter-spacing: -0.07vw;
    }
    
    .availability-graffiti {
        width: 78.67vw;
        top: 71.67vw;
        left: 13.33vw;
    }
    
    .availability-graffiti-cash {
        width: 27.73vw;
        height: 14.67vw;
        aspect-ratio: 104/55;
    }
    
    .availability-graffiti-back {
        width: 29.07vw;
        height: 14.67vw;
        aspect-ratio: 109/55;
    }
}