@media (min-width: 769px) {
  .promotions_item h3, .promotions_item p , .promotions_item div {
    transform: translateZ(0);
  }
  .promotions_item a {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: translateZ(0);
    will-change: transform, box-shadow;
  }
  .promotions_item a:hover {
    transform: scale(1.03) translateZ(0);
    box-shadow: 0px 0px 24px 8px rgba(0, 0, 0, 0.25);
  }
}

/*catalogue begin*/
.catalogue {
  --animation-duration: 0.5s;
  --animation-ease: ease-out;
}
.catalog-item {
  position: relative;
  /*overflow: hidden;*/ /*remove for share*/
  opacity: 0;
  transform: translateY(60px);

  animation: fadeInUp var(--animation-duration) var(--animation-ease) forwards;
}
/* Каскадная задержка */
.catalog-item:nth-child(1) { animation-delay: 0s; }
.catalog-item:nth-child(2) { animation-delay: 0.1s; }
.catalog-item:nth-child(3) { animation-delay: 0.2s; }
.catalog-item:nth-child(4) { animation-delay: 0.3s; }
.catalog-item:nth-child(5) { animation-delay: 0.4s; }
.catalog-item:nth-child(1)::before { animation-delay: 0s; }
.catalog-item:nth-child(2)::before { animation-delay: 0.1s; }
.catalog-item:nth-child(3)::before { animation-delay: 0.2s; }
.catalog-item:nth-child(4)::before { animation-delay: 0.3s; }
.catalog-item:nth-child(5)::before { animation-delay: 0.4s; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
/*catalogue end*/




/*loading*/
.load-button {
    position: relative;
    padding: 12px 24px;
    background-color: transparent;
    color: #6e6e73;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    overflow: hidden;
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-shadow: none;
    margin-bottom: 18px;
}

.load-button:hover, .load-button:hover:not(:disabled) {
    color: #424245;
    background: transparent !important;
}

.button-text {
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.loading-content {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

  .loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(110, 110, 115, 0.3);
    border-top-color: #6e6e73;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-size: 17px;
    background: linear-gradient(90deg, #FF732D 0%, #F32F2F 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.load-button.loading-small .button-text {
    opacity: 0;
    transform: translateY(-10px);
}

.load-button.loading-small .loading-content {
    opacity: 1;
    transform: translateY(0);
}


/****************/
.bubbleError {
  position: absolute;
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  width: 220px;
  padding: 16px;
  background: #ff3b30; /* Сплошной красный цвет */
  color: white;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  box-shadow: 0 8px 32px rgba(255, 59, 48, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.bubbleError.bubbleError-visible {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  pointer-events: auto;
}

/* Хвостик - непрозрачный и без границ */
.bubbleError::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #ff3b30; /* Тот же цвет, что и у уведомления */
}

.bubbleError-content {
  width: 100%;
  padding: 2px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.bubbleError.color-primary, .bubbleError.color-success{
  background-color: #1EAC21;
}
.bubbleError.color-primary::after, .bubbleError.color-success::after {
  border-top-color: #1EAC21;
}
@keyframes gentleAppear {
  0% { opacity: 0; transform: translateX(-50%) translateY(10px) scale(0.96); }
  100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

.bubbleError-visible {
  animation: gentleAppear 0.4s ease forwards;
}

@keyframes buttonPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}

.bubbleError-left{left: 110px;}