/* ====== GRID-LAYOUT ====== */
.akcore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
  padding: 30px;
}

/* ====== KARTENLAYOUT ====== */
.akcore-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 18px;
  text-align: center;
  transition: all 0.25s ease;
  position: relative;
  min-height: 500px; /* sorgt für gleichmäßige Höhe */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.akcore-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ====== PRODUKTBILD ====== */
.akcore-img {
  position: relative;
  background: #fff; /* weißer Hintergrund */
  border-radius: 8px;
  padding: 10px;
}
.akcore-img img {
  width: 100%;
  aspect-ratio: 1 / 1; /* quadratische Darstellung */
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}

/* ====== RABATT-BADGE ====== */
.akcore-badge {
  background: #e53935;
  color: #fff;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 1rem;
  position: absolute;
  top: 12px;
  left: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  letter-spacing: 0.5px;
}

/* ====== TITEL ====== */
.akcore-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 14px 0 10px 0;
  color: #222;
  text-transform: none;
  white-space: nowrap;         /* verhindert Zeilenumbruch */
  overflow: hidden;            /* blendet Überlänge aus */
  text-overflow: ellipsis;     /* zeigt "..." bei zu langem Text */
}

/* ====== PREISE ====== */
.akcore-prices {
  font-size: 1.4rem;
  color: #7baa40;
  font-weight: 700;
  margin-bottom: 8px;
}
.akcore-old {
  color: #888;
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 400;
}

/* ====== STERNE-BEWERTUNG ====== */
.akcore-rating {
  margin: 10px 0 8px 0;
}
.akcore-rating .star {
  font-size: 22px;
  margin: 0 2px;
  transition: transform 0.2s;
}
.akcore-rating .star.full {
  color: #f5c518; /* Gold */
}
.akcore-rating .star.half {
  color: #f5c518;
  opacity: 0.5;
}
.akcore-rating .star.empty {
  color: #ddd;
}
.akcore-rating .star:hover {
  transform: scale(1.15);
}
.akcore-reviewcount {
  color: #777;
  font-size: 0.9rem;
  margin-left: 4px;
}

/* ====== BUTTON ====== */
.akcore-btn {
  display: inline-block;
  background: #7baa40;
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 700;
  margin-top: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
  font-size: 1rem;
}
.akcore-btn:hover {
  background: #699a33;
  transform: scale(1.05);
}

/* ====== PAGINATION ====== */
.akcore-pagination {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 25px;
}

/* ====== RESPONSIVE VERHALTEN ====== */
@media (max-width: 900px) {
  .akcore-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .akcore-grid {
    grid-template-columns: 1fr;
  }
  .akcore-img img {
    height: auto;
  }
}
/* Affiliate-Hinweis unter dem Grid */
.akcore-disclosure {
  max-width: 1200px;
  margin: 12px auto 24px auto;
  padding: 12px 16px;
  background: #fff8e1;
  border: 1px solid #ffe29a;
  border-radius: 8px;
  color: #715b00;
  font-size: 0.95rem;
  line-height: 1.4;
}
