/* ================================================
   GU Shopseite — Frontend Styles
   CI: #2f2e2e (Text), #757374 (Grau), #d8d8d8 (Hellgrau),
       #ff4466 (Akzent), Trebuchet MS
   ================================================ */

/* === RESET (innerhalb .shop-page) === */
.shop-page,
.shop-page *,
.shop-page h1,
.shop-page h2,
.shop-page h3,
.shop-page p,
.shop-page a,
.shop-page span {
  font-family: 'Trebuchet MS', Helvetica, sans-serif !important;
}

/* === PAGE === */
.shop-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
  line-height: 1.7;
  color: #2f2e2e;
}

/* === ANKER-NAVIGATION === */
.shop-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4em 0;
  margin: 0 0 4em;
  padding: 0.8em 0.5em;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
}
.shop-nav a {
  flex: 1 1 auto;
  text-align: center;
  font-size: 0.9em;
  font-weight: 600;
  color: #757374;
  padding: 0.6em 1em;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.shop-nav a:hover {
  background: #ff4466;
  color: #fff;
  text-decoration: none;
}
@media (max-width: 600px) {
  .shop-nav { gap: 0.3em; }
  .shop-nav a { flex: 0 1 auto; font-size: 0.82em; padding: 0.5em 0.7em; }
}

/* === SEKTIONEN === */
.shop-section {
  margin-bottom: 4em;
}
.shop-section__title {
  font-size: 1.5em !important;
  font-weight: 700 !important;
  margin-bottom: 0.6em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid #d8d8d8;
}
.shop-section__intro {
  font-size: 0.95em;
  color: #757374;
  margin-bottom: 2em;
}

/* Scroll-Offset fuer fixierte Navigation */
.shop-page [id] {
  scroll-margin-top: 80px;
}

/* === PRODUKT-GRID === */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.8em;
}
@media (max-width: 700px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}

/* === PRODUKT-KARTE === */
.shop-card {
  position: relative;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.shop-card:hover {
  box-shadow: 0 6px 20px rgba(47, 46, 46, 0.08);
  border-color: #d8d8d8;
}

/* Badge (Neu / Bestseller) */
.shop-card__badge {
  position: absolute;
  top: 0.8em;
  right: 0.8em;
  font-size: 0.7em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3em 0.7em;
  border-radius: 3px;
  z-index: 2;
}
.shop-card__badge--neu {
  background: #ff4466;
  color: #fff;
}
.shop-card__badge--bestseller {
  background: #2f2e2e;
  color: #fff;
}

/* Produktbild */
.shop-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #fafafa;
  border-bottom: 1px solid #e8e8e8;
}
.shop-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.shop-card:hover .shop-card__img {
  transform: scale(1.03);
}

/* Platzhalter wenn kein Bild */
.shop-card__img-wrap--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
}
.shop-card__placeholder-icon {
  font-size: 2.5em;
  color: #d8d8d8;
}

/* Karteninhalt */
.shop-card__body {
  padding: 1.4em 1.5em 1.6em;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.shop-card__title {
  font-size: 1.1em !important;
  font-weight: 600 !important;
  margin: 0 0 0.5em;
  line-height: 1.3;
  color: #2f2e2e;
}

.shop-card__desc {
  font-size: 0.9em;
  color: #757374;
  line-height: 1.6;
  margin: 0 0 1em;
  flex: 1;
}

.shop-card__price {
  font-size: 0.95em;
  font-weight: 700;
  color: #2f2e2e;
  margin: 0 0 1em;
}

/* CTA-Button */
.shop-card__cta {
  display: inline-block;
  background: #ff4466;
  color: #fff !important;
  font-size: 0.88em;
  font-weight: 600;
  padding: 0.65em 1.5em;
  border-radius: 6px;
  text-decoration: none !important;
  text-align: center;
  transition: background 0.2s ease;
  align-self: flex-start;
}
.shop-card__cta:hover {
  background: #e63d5c;
  color: #fff !important;
  text-decoration: none !important;
}

/* === MENTORING: volle Breite fuer Einzelprodukt === */
.shop-section:last-child .shop-grid {
  grid-template-columns: 1fr;
  max-width: 540px;
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .shop-page { padding: 1.5rem 1rem 3rem; }
  .shop-card__body { padding: 1.1em 1.2em 1.3em; }
  .shop-card__title { font-size: 1em !important; }
}
