/* API Satın Al — kategori, anasayfa, detay */
.api-checkout {
  margin-top: 12px;
}

.api-checkout__hint {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  margin: 0 0 10px;
  line-height: 1.45;
}

.api-checkout__prices {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  display: grid;
  gap: 10px;
}

.api-checkout .api-price-option {
  cursor: pointer;
  border: 2px solid rgba(232, 197, 71, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.api-checkout .api-price-option:hover {
  border-color: rgba(232, 197, 71, 0.35);
}

.api-checkout .api-price-option.is-active {
  border-color: #e8c547;
  background: rgba(232, 197, 71, 0.1);
  box-shadow: 0 0 0 1px rgba(232, 197, 71, 0.15);
}

.api-checkout .api-price-option .top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.api-checkout .api-price-option .top .title {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.02em;
}

.api-checkout .api-price-option .top .check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
  opacity: 0.45;
  position: relative;
}

.api-checkout .api-price-option.is-active .top .check {
  opacity: 1;
  border-color: #e8c547;
  background: #e8c547;
}

.api-checkout .api-price-option.is-active .top .check::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #1a1200;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.api-checkout .api-price-option .bottom .oldprice {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 2px;
}

.api-checkout .api-price-option .bottom .oldprice strong {
  text-decoration: line-through;
  font-weight: 500;
}

.api-checkout .api-price-option .bottom .price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #e8c547;
  line-height: 1.15;
}

.api-checkout .api-price-option .bottom .price small {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
}

.api-checkout__actions {
  margin-top: 4px;
}

.api-checkout__actions .btn.yellow {
  width: 100%;
  border: none;
  cursor: pointer;
  border-radius: 12px;
  font-weight: 700;
  padding: 13px 18px;
  background: linear-gradient(135deg, #e8c547, #d4a82a);
  color: #1a1200;
  transition: transform 0.15s, opacity 0.15s;
}

.api-checkout__actions .btn.yellow:hover:not(:disabled) {
  transform: translateY(-1px);
}

.api-checkout__actions .btn.yellow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.api-checkout__warn {
  color: #fbbf24;
  font-size: 0.75rem;
  text-align: center;
  margin: 8px 0 0;
}

.api-checkout__note {
  margin: 10px 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.48);
  line-height: 1.45;
}

/* Landscape kategori kartları (uydu) */
.api-checkout--landscape .api-checkout__prices {
  grid-template-columns: 1fr 1fr;
}

.api-checkout--landscape .api-checkout__actions {
  margin-top: 10px;
}

.category-pkg-card .api-checkout {
  width: 100%;
  margin-top: 8px;
}

.category-pkg-card .api-checkout .api-price-option .bottom .price {
  font-size: 1.05rem;
}

.category-pkg-card__features--after-api {
  margin-top: 14px;
}

.category-pkg-card__actions--secondary {
  margin-top: 8px;
}

.category-pkg-card__actions--secondary .category-pkg-card__btn {
  width: 100%;
  text-align: center;
}

/* Taraftar kategori — kompakt 2 sütun */
.api-checkout--taraftar .api-checkout__prices {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.api-checkout--taraftar .api-price-option {
  padding: 10px 10px;
}

.api-checkout--taraftar .api-price-option .top .title {
  font-size: 0.68rem;
}

.api-checkout--taraftar .api-price-option .bottom .price {
  font-size: 0.95rem;
}

.api-checkout--taraftar .api-checkout__hint {
  text-align: center;
  font-size: 0.72rem;
}

.api-checkout--taraftar .api-checkout__note {
  text-align: center;
}

.category-pkg-card--taraftar .api-checkout {
  margin-top: 4px;
}

/* Detay sayfası */
.pkg-detail__checkout {
  margin: 18px 0 8px;
  padding: 18px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(232, 197, 71, 0.18);
}

.api-checkout--detail .api-checkout__prices {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.api-checkout--detail .api-price-option {
  padding: 14px 16px;
}

.api-checkout--detail .api-price-option .bottom .price {
  font-size: 1.35rem;
}

.api-checkout--detail .api-checkout__actions .btn.yellow {
  padding: 15px 20px;
  font-size: 1rem;
}

.pkg-detail__cta-row--secondary {
  margin-top: 12px;
}

@media (max-width: 640px) {
  .api-checkout--landscape .api-checkout__prices,
  .api-checkout--detail .api-checkout__prices,
  .api-checkout--taraftar .api-checkout__prices {
    grid-template-columns: 1fr;
  }
}
