.aicp-wrap {
  margin: 36px 0 28px;
}

.aicp-heading {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.02em;
}

.aicp-carousel-shell {
  position: relative;
}

.aicp-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 252px;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 0 10px;
  scroll-behavior: smooth;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.aicp-carousel-track::-webkit-scrollbar {
  display: none;
}

.aicp-card {
  background: #fff;
  border: 1px solid #efefef;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.05);
  scroll-snap-align: start;
}

.aicp-image-link {
  display: block;
  background: #f7f7f7;
}

.aicp-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.aicp-body {
  padding: 14px 14px 16px;
}

.aicp-brand {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.2;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ff5a36;
}

.aicp-title {
  margin: 0 0 16px;
  min-height: 52px;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 600;
  color: #000000;
}

.aicp-title a {
  color: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.aicp-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.aicp-original-price {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 400;
  color: #e16666;
  text-decoration: line-through;
}

.aicp-price {
  font-size: 14px;
  line-height: 1.2;
  font-weight: 500;
  color: #111;
}

.aicp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid #222;
  border-radius: 12px;
  background: #fff;
  color: #222;
  text-decoration: none;
  font-size: 15px;
  line-height: 1;
  transition: all 0.2s ease;
}

.aicp-btn:hover {
  background: #111;
  border-color: #111;
  color: #fff;
}

.aicp-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}

.aicp-counter {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  color: #000000;
}

.aicp-counter-sep {
  color: #6b7280;
}

.aicp-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #000000;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.aicp-nav span {
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
}

.aicp-nav:hover:not(:disabled) {
  transform: translateY(-1px);
}

.aicp-nav.is-disabled,
.aicp-nav:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 1024px) {
  .aicp-carousel-track {
    grid-auto-columns: 236px;
    gap: 16px;
  }

  .aicp-heading {
    font-size: 26px;
  }
}

@media (max-width: 768px) {
  .aicp-carousel-track {
    grid-auto-columns: 220px;
    gap: 14px;
  }

  .aicp-image {
    height: 148px;
  }

  .aicp-heading {
    font-size: 24px;
  }
}

@media (max-width: 640px) {
  .aicp-wrap {
    margin: 28px 0 22px;
  }

  .aicp-heading {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .aicp-carousel-track {
    grid-auto-columns: 210px;
  }

  .aicp-title {
    font-size: 14px;
    min-height: 46px;
  }

  .aicp-btn {
    min-width: 86px;
    height: 38px;
    font-size: 14px;
  }
}
