.home-promotions {
  padding: 48px 0;
  background: #fff;
}

.promotions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin-bottom: 20px;
}

.promotions-title {
  margin: 0;
  color: var(--smd-text);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
}

.promotions-controls {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}

.promotions-arrow {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid #dce3ea;
  border-radius: 50%;
  background: #fff;
  color: var(--smd-text);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.promotions-arrow:hover,
.promotions-arrow:focus-visible {
  border-color: var(--smd-blue);
  background: var(--smd-primary-soft);
  color: var(--smd-blue);
}

.promotions-arrow:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.promotions-viewport {
  overflow: hidden;
}

.promotions-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.promotion-card {
  position: relative;
  display: flex;
  min-width: calc(50% - 10px);
  min-height: 280px;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  overflow: hidden;
  padding: 36px 40px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f0fdf4 0%, var(--smd-primary-soft) 100%);
}

.promotion-card__content {
  position: relative;
  z-index: 1;
  min-width: 0;
  max-width: calc(100% - 240px);
}

.promotion-card__badge {
  display: inline-flex;
  margin-bottom: 12px;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 50px;
  background: #25d366;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.promotion-card__title {
  margin: 0 0 10px;
  color: var(--smd-text);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.promotion-card__description {
  max-width: 430px;
  margin-bottom: 18px;
  color: #4a5568;
  font-size: 15px;
  line-height: 1.5;
}

.promotion-card__prices {
  display: flex;
  margin-bottom: 20px;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.promotion-card__price {
  color: #25d366;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.promotion-card__old-price {
  color: #94a3b8;
  font-size: 18px;
  text-decoration: line-through;
}

.promotion-card__special {
  display: inline-flex;
  margin-bottom: 20px;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 50px;
  background: #25d366;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
}

.promotion-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 50px;
  background: #25d366;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.promotion-card__button:hover,
.promotion-card__button:focus-visible {
  background: var(--smd-brand-brown-hover);
  color: #fff;
  box-shadow: 0 8px 24px color-mix(in srgb, var(--smd-brand-brown) 35%, transparent);
  transform: translateY(-2px);
}

.promotion-card__visual {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 300px;
  height: 300px;
  pointer-events: none;
}

.promotion-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: promotion-float 3s ease-in-out infinite;
}

.promotion-card__placeholder {
  display: flex;
  width: 120px;
  height: 120px;
  align-items: center;
  justify-content: center;
  border: 1px solid #cde4ee;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  color: #7f97a6;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

@keyframes promotion-float {
  0%,
  100% {
    transform: translateY(0);
  }

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

@media (max-width: 960px) {
  .promotion-card {
    min-width: 100%;
    min-height: 280px;
    padding: 28px;
  }

  .promotion-card__content {
    max-width: calc(100% - 190px);
  }

  .promotion-card__visual {
    width: 240px;
    height: 240px;
  }

  .promotion-card__title {
    font-size: 22px;
  }

  .promotion-card__price {
    font-size: 26px;
  }
}

@media (max-width: 600px) {
  .home-promotions {
    padding: 28px 0;
  }

  .promotions-title {
    font-size: 22px;
  }

  .promotions-arrow {
    width: 40px;
    height: 40px;
    font-size: 22px;
  }

  .promotion-card {
    min-height: 360px;
    padding: 22px 22px 140px;
    align-items: flex-start;
    flex-direction: column;
  }

  .promotion-card__content {
    max-width: 100%;
  }

  .promotion-card__visual {
    right: 10px;
    bottom: -10px;
    width: 180px;
    height: 180px;
  }

  .promotion-card__title {
    font-size: 20px;
  }

  .promotion-card__description {
    font-size: 14px;
  }

  .promotion-card__price {
    font-size: 24px;
  }

  .promotion-card__old-price {
    font-size: 16px;
  }
}
