.akcc {
  --akcc-blue: #25a3fa;
  --akcc-pink: #e70290;
  --akcc-text: #212121;
  --akcc-muted: #6b7280;
  --akcc-bg: #fff;
  margin: 12px 0 20px;
}

.akcc__title {
  margin: 0 0 10px;
  text-align: center;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--akcc-text);
}

.akcc-slider {
  display: flex;
  align-items: center;
  gap: 8px;
}

.akcc-viewport {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.akcc-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}

.akcc-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 0 4px;
}

.akcc-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  text-align: left;
  text-decoration: none;
  color: var(--akcc-text);
  background: var(--akcc-bg);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  padding: 8px 12px;
  min-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.akcc-card:hover,
.akcc-card:focus {
  color: var(--akcc-text);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(231, 2, 144, 0.16);
}

.akcc-card img {
  width: 168px;
  height: 168px;
  object-fit: contain;
  margin: 0;
  flex: 0 0 168px;
}

.akcc-card__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.akcc-card__badge {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fde7f4;
  color: var(--akcc-pink);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.akcc-card__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 4px;
  font-size: 0.88rem;
  line-height: 1.25;
}

.akcc-card__price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--akcc-blue);
}

.akcc-diff,
.akcc-diff--saving {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 104px;
  height: 104px;
  min-height: 104px;
  padding: 8px;
  border-radius: 50%;
  margin: 0 auto;
  background: var(--akcc-pink);
  color: #fff;
  box-shadow: 0 6px 14px rgba(231, 2, 144, 0.38);
}

.akcc-diff__label {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.95;
}

.akcc-diff__amount {
  display: block;
  margin: 4px 0 0;
  font-size: 1.05rem;
  line-height: 1.1;
}

.akcc-diff__percent {
  font-size: 0.75rem;
  font-weight: 700;
}

.akcc-nav {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--akcc-pink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.akcc-nav:hover,
.akcc-nav:focus {
  background: var(--akcc-pink);
  color: #fff;
}

.akcc-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}

.akcc-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d5dbe3;
  cursor: pointer;
}

.akcc-dot.is-active {
  background: var(--akcc-pink);
}

@media (max-width: 767px) {
  .akcc-slider {
    display: block;
    position: relative;
  }

  .akcc-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
  }

  .akcc-nav--prev {
    left: 0;
  }

  .akcc-nav--next {
    right: 0;
  }

  .akcc-slide {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 4px 36px;
  }

  .akcc-card {
    padding: 6px 10px;
    gap: 10px;
  }

  .akcc-card img {
    width: 112px;
    height: 112px;
    flex-basis: 112px;
  }

  .akcc-diff,
  .akcc-diff--saving {
    width: 88px;
    height: 88px;
    min-height: 88px;
    order: 2;
  }

  .akcc-slide .akcc-card:last-child {
    order: 3;
  }
}
