.sortiment-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
}

.sortiment-head {
  text-align: center;
  margin-bottom: 32px;
}

.sortiment-head h1 {
  margin-bottom: 6px;
}

.sortiment-item {
  background: var(--bg-card);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  margin-bottom: 28px;
}

.sortiment-media {
  height: 220px;
  background: linear-gradient(135deg,#e6efe8,#f5f7f5);
}

.sortiment-content {
  padding: 18px 20px 22px;
}

.sortiment-content h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.sortiment-content p {
  margin: 0;
  opacity: 0.85;
}

@media (min-width: 768px) {
  .sortiment-media {
    height: 260px;
  }
}

/* ===============================
   CATEGORY IMAGE – MOBILE FIX
   =============================== */
.category-content img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .category-content img {
    max-height: 320px;
  }
}

/* ===============================
   CATEGORY TAGS
   =============================== */
.category-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 24px;
}

.category-tags span {
  background: #f1f5ef;
  color: #2f3b2f;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}

/* ===============================
   CATEGORY CTA + MINI SLIDER
   =============================== */

.category-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.cta-primary {
  background: #355f45;
  color: #ffffff;
  text-align: center;
  padding: 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.cta-secondary {
  opacity: 0.7;
  pointer-events: none;
  text-align: center;
  padding: 12px;
  border-radius: 10px;
  background: #eef3ee;
  color: #355f45;
  text-decoration: none;
  font-weight: 500;
}

/* MINI OFFER SLIDER */

.mini-offer-bar {
  overflow: hidden;
  background: #f3f6f1;
  margin: 30px 0;
}

.mini-track {
  display: flex;
  gap: 40px;
  padding: 12px 20px;
  white-space: nowrap;
  animation: slide-left 18s linear infinite;
}

.mini-track span {
  font-size: 14px;
  color: #355f45;
}

@keyframes slide-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* === CATEGORY IMAGE OVERLAY === */
.category-image {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.category-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.15));
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.category-overlay h2 {
  font-size: 20px;
  margin: 0 0 6px;
}

.category-overlay p {
  font-size: 14px;
  opacity: 0.95;
}

/* === CTA === */
.category-cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.cta-primary {
  background: #355f45;
  color: #fff;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}

.cta-secondary {
  opacity: 0.7;
  pointer-events: none;
  background: #eef3ee;
  color: #355f45;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 768px) {
  .category-image img {
    height: 240px;
  }
}


.category-text {
  margin: 22px 0 26px;
}

.category-text h2 {
  margin-bottom: 6px;
  font-size: 20px;
}

.category-text p {
  opacity: 0.85;
  line-height: 1.6;
}

/* TEXT SPACING FIX */
.category-content {
  padding: 0 16px 32px;
}

@media (min-width: 768px) {
  .category-content {
    padding: 0 24px 40px;
  }
}


/* CATEGORY HERO PADDING FIX */
.category-hero {
  padding: 0 16px;
}

@media (min-width: 768px) {
  .category-hero {
    padding: 0 24px;
  }
}

/* === GEWUERZE OVERLAY TEXT === */
.category-overlay .overlay-subtitle {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  max-width: 90%;
}

@media (max-width: 768px) {
  .category-overlay .overlay-subtitle {
    font-size: 17px;
  }
}
