@media screen and (max-width: 749px) {
    .collection-hero--with-image .collection-hero__inner {
      padding-bottom: calc(4px + 2rem);
    }
  }

 tag (avoids CSS specificity issues)
    var activeHandles = [current];
    if (parentHandle) activeHandles.push(parentHandle);

    var css = '';
    document.querySelectorAll('a.c24-category-item').forEach(function(el) {
      var href = el.getAttribute('href') || '';
      var handle = href.replace('/collections/', '');
      var label = el.querySelector('.c24-category-label');
      var labelText = label ? label.textContent.trim() : '';
      if (activeHandles.indexOf(handle) !== -1 || (parentTitle && labelText === parentTitle)) {
        el.classList.add('c24-active-tile');
      }
    });
    document.querySelectorAll('a.c24-pill').forEach(function(el) {
      var href = el.getAttribute('href') || '';
      var handle = href.replace('/collections/', '');
      if (handle === current) {
        el.classList.add('c24-active-pill');
        el.onmouseover = null;
        el.onmouseout = null;
      }
    });

    var style = document.createElement('style');
    style.textContent = '' +
      '.c24-active-tile { border-color: #FFBD59 !important; box-shadow: 0 0 20px rgba(255,189,89,0.4) !important; background: rgba(0,0,0,0.6) !important; backdrop-filter: blur(2px) !important; -webkit-backdrop-filter: blur(2px) !important; transform: translateY(-3px); }' +
      '.c24-active-tile .c24-category-label { color: #FFBD59 !important; }' +
      '.c24-active-pill { background: rgba(255,189,89,0.85) !important; color: #111 !important; border-color: rgba(255,189,89,0.6) !important; box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important; }' +
      '.c24-active-pill span { color: rgba(0,0,0,0.5) !important; }';
    document.head.appendChild(style);
    // Remove hover handlers from active pills to prevent layout shift
    document.querySelectorAll('.c24-active-pill').forEach(function(el) {
      el.removeAttribute('onmouseover');
      el.removeAttribute('onmouseout');
    });
  })();
  </script>
</section>

<style>
.c24-collection-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px;
  font-family: 'Montserrat', 'Poppins', sans-serif;
}

.c24-collection-header {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
  margin-bottom: 24px;
}

.c24-collection-banner {
  max-width: 320px;
  border-radius: 20px;
  box-shadow: 0 6px 32px #0002;
}

.c24-collection-title-box {
  flex: 1;
}

.c24-collection-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #111;
  letter-spacing: -0.02em;
}

/* ===== KATEGORIE NAVIGATION - GEMEINSAMES HINTERGRUNDBILD ===== */
.c24-category-nav {
  margin-bottom: 40px;
}

.c24-category-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background-image: url('/assets/img/c24-category-surface-gym-20260802.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 8px;
}

.c24-category-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
  border-radius: 24px;
}

.c24-category-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  position: relative;
  z-index: 2;
}

.c24-category-item {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(px);
  border-radius: 16px;
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
  min-height: 120px;
}

.c24-category-item:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: translateY(-3px);
  border-color: rgba(255, 189, 89, 0.5);
}

.c24-category-item.active {
  background: rgba(0, 0, 0, 0.6);
  border-color: #FFBD59;
  box-shadow: 0 0 20px rgba(255, 189, 89, 0.4);
  transform: translateY(-3px);
}

.c24-category-image {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.c24-category-item:hover .c24-category-image {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.c24-category-item.active .c24-category-image {
  box-shadow: 0 4px 20px rgba(255, 189, 89, 0.4);
}

.c24-category-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.c24-category-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.c24-category-item.active .c24-category-label {
  color: #FFBD59;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* ===== RESTLICHE STYLES ===== */
.c24-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.c24-tag {
  background: #f9f9f9;
  border-radius: 20px;
  padding: 8px 16px;
  color: #666;
  text-decoration: none;
  border: 1px solid #e8e8e8;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.c24-tag:hover {
  background: #FFBD59;
  color: #111;
  border-color: #FFBD59;
  transform: translateY(-1px);
}

.c24-sort-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 24px;
}

.c24-sort-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.c24-sort-label {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  white-space: nowrap;
}

.c24-custom-select {
  position: relative;
  display: inline-block;
}

.c24-sort-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 12px 40px 12px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
  font-family: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.c24-sort-select:hover {
  border-color: #FFBD59;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 189, 89, 0.15);
}

.c24-sort-select:focus {
  border-color: #FFBD59;
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 189, 89, 0.15);
  transform: translateY(-1px);
}

.c24-select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #666;
  transition: all 0.3s ease;
}

.c24-custom-select:hover .c24-select-arrow {
  color: #FFBD59;
  transform: translateY(-50%) scale(1.1);
}

.c24-sort-select:focus + .c24-select-arrow {
  transform: translateY(-50%) rotate(180deg);
  color: #FFBD59;
}

.c24-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 34px 28px;
}

.c24-product-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 24px #0001;
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 360px;
  position: relative;
  transition: box-shadow .22s;
}

.c24-product-card:hover {
  box-shadow: 0 8px 32px #0002;
}

.c24-product-img-wrap {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 8px;
}

.c24-product-img {
  max-height: 125px;
  max-width: 95%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  transition: transform .25s;
}

.c24-product-card:hover .c24-product-img {
  transform: scale(1.05);
}

.c24-badge-offer, .c24-badge-bestseller {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #FFBD59;
  color: #222;
  padding: 2px 10px;
  border-radius: 14px;
  font-size: 0.88rem;
  font-weight: 600;
  box-shadow: 0 1px 4px #0001;
}

.c24-badge-bestseller {
  left: auto;
  right: 8px;
  background: #111;
  color: #fff;
}

.c24-product-title {
  font-size: 1.08rem;
  margin: 6px 0 2px;
  text-align: center;
  font-weight: 600;
  min-height: 38px;
  line-height: 1.3;
}

.c24-product-price {
  font-size: 1.05rem;
  color: #222;
  margin-bottom: 8px;
  text-align: center;
}

.c24-old-price {
  color: #a2a2a2;
  text-decoration: line-through;
  margin-right: 6px;
}

.c24-current-price {
  font-weight: 700;
  color: #FFBD59;
}

.c24-product-bottom {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.c24-product-actions {
  display: flex;
  gap: 16px;
  margin-top: 0;
  position: relative;
  justify-content: center;
  width: 100%;
  align-items: flex-start;
}

.c24-product-actions > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.c24-cart-btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 8px 20px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-bottom: 0;
  transition: background .17s, color .17s;
}

.c24-cart-btn:hover,
.c24-cart-btn:focus {
  background: #FFBD59;
  color: #111;
}

.c24-cart-btn-abo {
  background: #fff;
  color: #111;
  border: 2px solid #eee;
  border-radius: 14px;
  padding: 8px 20px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin-top: 0;
  margin-bottom: 0;
  transition: background .17s, color .17s, border-color .17s;
}

.c24-cart-btn-abo:hover,
.c24-cart-btn-abo:focus {
  background: #FFBD59;
  color: #111;
  border-color: #FFBD59;
}

.c24-fav-btn {
  background: #f6f6f6;
  border: 1px solid #eee;
  color: #aaa;
  border-radius: 13px;
  padding: 8px 13px;
  font-size: 1.1rem;
  cursor: pointer;
  margin-left: 4px;
  transition: color .2s, background .2s, border-color .2s;
}

.c24-fav-btn.active .c24-fav-icon,
.c24-fav-btn:hover .c24-fav-icon {
  color: #FFBD59;
}

.c24-fav-btn.active,
.c24-fav-btn:hover {
  background: #FFEAEA;
  border-color: #FFBD59;
}

.c24-fav-btn .c24-fav-icon {
  transition: color 0.2s;
}

.c24-interval-form {
  position: absolute;
  left: 0;
  top: 110%;
  background: #fff3e3;
  border: 1.5px solid #FFBD59;
  border-radius: 15px;
  box-shadow: 0 2px 16px #FFBD5940;
  padding: 16px 18px 13px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 190px;
  z-index: 4;
  animation: fadeIn .18s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.c24-interval-label {
  font-size: 1.06rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: #222;
}

.c24-interval-select {
  padding: 6px 10px;
  border-radius: 9px;
  border: 1px solid #ddd;
}

.c24-modal-add-btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 13px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  transition: background .17s;
}

.c24-modal-add-btn:hover {
  background: #FFBD59;
  color: #111;
}

.c24-load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  margin-bottom: 32px;
}

.c24-load-more-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #111 0%, #333 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 16px 32px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  font-family: inherit;
}

.c24-load-more-btn:hover {
  background: #FFBD59;
  color: #111;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 189, 89, 0.3);
}

.c24-load-more-btn:active {
  transform: translateY(0);
}

.c24-rating {
  font-size: 0.98rem;
  color: #222;
  text-align: center;
}

.c24-no-products {
  text-align: center;
  color: #999;
  grid-column: 1/-1;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .c24-category-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .c24-collection-header {
    flex-direction: column;
    gap: 22px;
  }

  .c24-collection-title {
    font-size: 2.4rem;
  }

  .c24-category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }

  .c24-category-wrapper {
    padding: 6px;
    border-radius: 20px;
  }

  .c24-category-item {
    padding: 16px 8px;
    min-height: 100px;
    border-radius: 14px;
  }

  .c24-category-image {
    width: 46px;
    height: 46px;
    padding: 8px;
    margin-bottom: 8px;
  }

  .c24-category-label {
    font-size: 0.8rem;
  }

  .c24-sort-header {
    justify-content: center;
  }

  .c24-sort-container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .c24-sort-select {
    min-width: 280px;
  }

  .c24-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 16px;
  }

  .c24-product-card {
    min-height: 350px;
    padding: 14px;
  }

  .c24-product-img-wrap {
    height: 110px;
  }

  .c24-product-img {
    max-height: 95px;
  }

  .c24-product-title {
    font-size: 1rem;
    min-height: 42px;
  }

  .c24-product-price {
    font-size: 1rem;
  }
}

@media (max-width: 550px) {
  .c24-collection-container {
    padding: 16px 12px;
  }

  .c24-collection-title {
    font-size: 2rem;
  }

  .c24-category-wrapper {
    padding: 5px;
    border-radius: 16px;
  }

  .c24-category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
  }

  .c24-category-item {
    padding: 12px 6px;
    min-height: 85px;
    border-radius: 12px;
    border-width: 1.5px;
  }

  .c24-category-image {
    width: 38px;
    height: 38px;
    padding: 6px;
    margin-bottom: 6px;
  }

  .c24-category-label {
    font-size: 0.7rem;
    line-height: 1.15;
  }

  .c24-sort-select {
    min-width: 100%;
    padding: 12px 45px 12px 16px;
  }

  .c24-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px 12px;
  }

  .c24-product-card {
    min-height: 320px;
    padding: 12px;
  }

  .c24-product-img-wrap {
    height: 90px;
  }

  .c24-product-img {
    max-height: 75px;
  }

  .c24-product-title {
    font-size: 0.95rem;
    min-height: 40px;
    line-height: 1.25;
  }

  .c24-product-price {
    font-size: 0.95rem;
  }

  .c24-cart-btn, .c24-cart-btn-abo {
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 600;
  }

  .c24-fav-btn {
    padding: 8px 10px;
    font-size: 1rem;
  }

  .c24-rating {
    font-size: 0.9rem;
  }

  .c24-interval-form {
    min-width: 160px;
    padding: 12px 14px 10px 14px;
  }

  .c24-interval-label {
    font-size: 0.95rem;
  }

  .c24-interval-select {
    padding: 5px 8px;
    font-size: 0.9rem;
  }
}


/* ===== COLLECTION INTRO ===== */
.c24-collection-intro {
  max-width: 900px;
  margin: 0 auto 24px;
  padding: 8px 24px 8px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
}

/* Versteckte H1 */
.c24-intro-h1-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Badge */
.c24-intro-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: #111;
  color: #fff;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.c24-intro-badge.style-brand {
  background: #FFBD59;
  color: #111;
}

.c24-intro-badge svg {
  width: 14px;
  height: 14px;
}

/* Hauptüberschrift */
.c24-intro-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #111;
  margin: 0 0 16px 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* Akzent in Überschrift */
.c24-intro-title .c24-highlight {
  color: #FFBD59;
  position: relative;
}

.c24-intro-title .c24-highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(255, 189, 89, 0.3);
  z-index: -1;
  border-radius: 4px;
}

/* Unterüberschrift */
.c24-intro-subtitle {
  font-size: 1.25rem;
  font-weight: 400;
  color: #555;
  margin: 0;
  line-height: 1.7;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro Text */
.c24-intro-text {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.8;
  max-width: 750px;
  margin: 16px auto 0;
}

.c24-intro-text a {
  color: #FFBD59;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.c24-intro-text a:hover {
  color: #111;
}

/* Stats Row */
.c24-intro-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.c24-intro-stat {
  text-align: center;
}

.c24-intro-stat-value {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #FFBD59;
  display: block;
}

.c24-intro-stat-label {
  font-size: 0.85rem;
  color: #888;
  margin-top: 4px;
}

/* Alternative Styles */
.c24-collection-intro.style-with-bg {
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  border-radius: 24px;
  max-width: 1200px;
  padding: 48px 40px 32px;
}

.c24-collection-intro.style-brand-bg {
  background: linear-gradient(135deg, #FFBD59 0%, #FFD080 100%);
  border-radius: 24px;
  max-width: 1200px;
  padding: 48px 40px 32px;
}

.c24-collection-intro.style-brand-bg .c24-intro-title {
  color: #111;
}

.c24-collection-intro.style-brand-bg .c24-intro-title .c24-highlight {
  color: #111;
}

.c24-collection-intro.style-brand-bg .c24-intro-title .c24-highlight::after {
  background: rgba(0, 0, 0, 0.15);
}

.c24-collection-intro.style-brand-bg .c24-intro-subtitle,
.c24-collection-intro.style-brand-bg .c24-intro-text {
  color: #333;
}

.c24-collection-intro.style-brand-bg .c24-intro-badge {
  background: #111;
  color: #fff;
}

.c24-collection-intro.style-brand-bg .c24-intro-stat-value {
  color: #111;
}

.c24-collection-intro.style-brand-bg .c24-intro-stat-label {
  color: #444;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .c24-collection-intro {
    padding: 32px 20px 20px;
    margin-bottom: 20px;
  }
  
  .c24-collection-intro.style-with-bg,
  .c24-collection-intro.style-brand-bg {
    margin-left: 16px;
    margin-right: 16px;
    padding: 36px 24px 24px;
  }
  
  .c24-intro-title {
    font-size: 2.2rem;
  }
  
  .c24-intro-subtitle {
    font-size: 1.1rem;
  }
  
  .c24-intro-text {
    font-size: 1rem;
  }
  
  .c24-intro-stats {
    gap: 24px;
  }
  
  .c24-intro-stat-value {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .c24-collection-intro {
    padding: 24px 16px 16px;
    margin-bottom: 16px;
  }
  
  .c24-collection-intro.style-with-bg,
  .c24-collection-intro.style-brand-bg {
    margin-left: 12px;
    margin-right: 12px;
    padding: 28px 20px 20px;
    border-radius: 20px;
  }
  
  .c24-intro-badge {
    padding: 6px 14px;
    font-size: 0.7rem;
    margin-bottom: 16px;
  }
  
  .c24-intro-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  
  .c24-intro-subtitle {
    font-size: 1rem;
  }
  
  .c24-intro-text {
    font-size: 0.95rem;
    margin-top: 12px;
  }
  
  .c24-intro-stats {
    gap: 20px;
    margin-top: 20px;
  }
  
  .c24-intro-stat-value {
    font-size: 1.3rem;
  }
  
  .c24-intro-stat-label {
    font-size: 0.75rem;
  }
}


/* ===== COLLECTION PRODUCTS SECTION ===== */
.c24-collection-section {
  max-width: 1280px;
  margin: 0 auto 40px;
  padding: 0 20px;
  font-family: 'Montserrat', 'Poppins', sans-serif;
}

.c24-collection-section,
.c24-collection-section * {
  box-sizing: border-box;
}

/* ===== TOOLBAR (Filter & Sortierung) ===== */
.c24-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
}

.c24-toolbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.c24-product-count {
  font-size: 1rem;
  color: #666;
}

.c24-product-count strong {
  color: #111;
  font-weight: 700;
}

/* Filter Toggle Button */
.c24-filter-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: #fff;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  height: 48px;
}

.c24-filter-toggle:hover {
  border-color: #FFBD59;
  background: #fffaf0;
}

.c24-filter-toggle.active {
  background: #111;
  border-color: #111;
  color: #fff;
}

.c24-filter-toggle svg {
  width: 18px;
  height: 18px;
}

.c24-filter-toggle .c24-filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: #FFBD59;
  color: #111;
  border-radius: 11px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Sortierung */
.c24-sort-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.c24-sort-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.c24-custom-select {
  position: relative;
  display: inline-block;
}

.c24-sort-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 12px 44px 12px 16px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  background: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 200px;
  font-family: inherit;
  height: 48px;
}

.c24-sort-select:hover {
  border-color: #FFBD59;
}

.c24-sort-select:focus {
  border-color: #FFBD59;
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 189, 89, 0.15);
}

.c24-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #666;
  transition: color 0.3s ease;
}

.c24-custom-select:hover .c24-select-arrow {
  color: #FFBD59;
}

.c24-select-arrow svg {
  width: 14px;
  height: 14px;
}

/* ===== FILTER PANEL ===== */
.c24-filter-panel {
  display: none;
  background: #fafafa;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 24px;
}

.c24-filter-panel.active {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.c24-filter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.c24-filter-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c24-filter-group-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #FFBD59;
}

.c24-filter-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 8px;
}

.c24-filter-options::-webkit-scrollbar {
  width: 4px;
}

.c24-filter-options::-webkit-scrollbar-track {
  background: #eee;
  border-radius: 2px;
}

.c24-filter-options::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 2px;
}

.c24-filter-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.c24-filter-option:hover {
  border-color: #FFBD59;
  background: #fffaf0;
}

.c24-filter-option.selected {
  background: #111;
  border-color: #111;
  color: #fff;
}

.c24-filter-checkbox {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  background: #fff;
}

.c24-filter-option:hover .c24-filter-checkbox {
  border-color: #FFBD59;
}

.c24-filter-option.selected .c24-filter-checkbox {
  background: #FFBD59;
  border-color: #FFBD59;
}

.c24-filter-checkbox svg {
  width: 12px;
  height: 12px;
  opacity: 0;
  color: #111;
  stroke-width: 3;
}

.c24-filter-option.selected .c24-filter-checkbox svg {
  opacity: 1;
}

.c24-filter-label {
  flex: 1;
  font-size: 0.9rem;
  font-weight: 500;
}

.c24-filter-option-count {
  font-size: 0.8rem;
  color: #999;
  font-weight: 500;
}

.c24-filter-option.selected .c24-filter-option-count {
  color: rgba(255,255,255,0.7);
}

/* Filter Actions */
.c24-filter-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e8e8e8;
}

.c24-filter-reset,
.c24-filter-apply {
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: inherit;
}

.c24-filter-reset {
  background: #fff;
  color: #666;
  border: 2px solid #e8e8e8;
}

.c24-filter-reset:hover {
  background: #f5f5f5;
  border-color: #ddd;
}

.c24-filter-apply {
  background: #111;
  color: #fff;
}

.c24-filter-apply:hover {
  background: #FFBD59;
  color: #111;
}

/* ===== ACTIVE FILTERS TAGS ===== */
.c24-active-filters {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.c24-active-filters.has-filters {
  display: flex;
}

.c24-active-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #FFBD59;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #111;
}

.c24-active-filter-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: rgba(0,0,0,0.15);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
  border: none;
  padding: 0;
}

.c24-active-filter-remove:hover {
  background: rgba(0,0,0,0.3);
}

.c24-active-filter-remove svg {
  width: 10px;
  height: 10px;
}

.c24-clear-all-filters {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
}

.c24-clear-all-filters:hover {
  background: #f5f5f5;
  border-color: #ccc;
}

/* ===== PRODUKTGRID ===== */
.c24-product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* ===== PRODUCT CARD ===== */
.c24-product-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.06);
  padding: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 420px;
  position: relative;
  transition: box-shadow 0.22s, opacity 0.3s, transform 0.3s;
  min-width: 0;
  overflow: visible;
}

.c24-product-card.hidden {
  display: none !important;
}

.c24-product-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

.c24-product-img-wrap {
  width: 100%;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 8px;
}

.c24-product-img {
  max-height: 155px;
  max-width: 95%;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
  border-radius: 14px;
  transition: transform 0.25s;
}

.c24-product-card:hover .c24-product-img {
  transform: scale(1.05);
}

.c24-badge-offer, .c24-badge-bestseller, .c24-badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #FFBD59;
  color: #222;
  padding: 3px 11px;
  border-radius: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
  z-index: 2;
}

.c24-badge-bestseller {
  left: auto;
  right: 10px;
  background: #111;
  color: #fff;
}

.c24-badge-new {
  background: #10b981;
  color: #fff;
  top: 38px;
}

.c24-badge-soldout {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 3;
}

.c24-product-card.soldout .c24-product-img {
  opacity: 0.5;
}

.c24-product-card a {
  text-decoration: none;
}

.c24-product-title {
  font-size: 1.5rem;
  margin: 6px 0 0px;
  text-align: center;
  font-weight: 700;
  min-height: 42px;
  text-decoration: none;
  transition: color 0.2s ease;
  color: #111;
}

.c24-product-card:hover .c24-product-title {
  color: #FFBD59;
}

.c24-product-price {
  font-size: 1.7rem;
  color: #222;
  margin-bottom: 4px;
  text-align: center;
}

.c24-old-price {
  color: #a2a2a2;
  text-decoration: line-through;
  margin-right: 6px;
}

.c24-current-price {
  font-weight: 700;
  color: #FFBD59;
}

.c24-product-bottom {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.c24-product-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  width: 100%;
  min-width: 0;
}

.c24-cart-btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 8px 20px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background 0.17s, color 0.17s;
  font-family: inherit;
  font-size: 1rem;
}

.c24-cart-btn:hover:not(:disabled) {
  background: #FFBD59;
  color: #111;
}

.c24-cart-btn:disabled {
  background: #e5e5e5;
  color: #999;
  cursor: not-allowed;
}

/* Override .c24-product-actions > div from produktkategorieseite.liquid (specificity 0,1,1) */
.c24-collection-section .c24-actions-row {
  display: flex;
  flex-direction: row;
  gap: 8px;
  width: 100%;
  align-items: stretch;
}

/* Override .c24-cart-btn-abo { width: 100% } from produktkategorieseite.liquid */
.c24-collection-section .c24-cart-btn-abo {
  background: #FFBD59;
  color: #111;
  border: 2px solid #FFBD59;
  border-radius: 14px;
  padding: 8px 20px;
  font-weight: 600;
  cursor: pointer;
  flex: 1;
  width: auto;
  transition: background 0.17s, color 0.17s, border-color 0.17s;
  min-width: 0;
  font-family: inherit;
  font-size: 1rem;
}

.c24-collection-section .c24-cart-btn-abo:hover:not(:disabled) {
  background: #e5a94f;
  color: #111;
  border-color: #e5a94f;
}

.c24-fav-btn {
  background: #f6f6f6;
  border: 1px solid #eee;
  border-radius: 13px;
  padding: 3px 9px;
  font-size: 2rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s;
}

.c24-fav-btn .c24-fav-icon {
  color: #ddd;
}

.c24-fav-btn.active .c24-fav-icon,
.c24-fav-btn:hover .c24-fav-icon {
  color: #FFBD59;
}

.c24-fav-btn.active,
.c24-fav-btn:hover {
  background: #fffaf0;
  border-color: #FFBD59;
}

/* Wishlist Button (button-wishlist Snippet) */
.c24-collection-section .c24-actions-row .c24-wishlist-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

/* Interval Form - override top:110% from produktkategorieseite.liquid */
.c24-collection-section .c24-interval-form {
  position: absolute;
  left: 0;
  bottom: 100%;
  top: auto;
  background: #fff3e3;
  margin-bottom: 8px;
  border: 1.5px solid #FFBD59;
  border-radius: 15px;
  box-shadow: 0 2px 16px rgba(255,189,89,0.25);
  padding: 16px 18px 13px 18px;
  display: none;
  flex-direction: column;
  gap: 8px;
  min-width: 190px;
  z-index: 9999;
  animation: fadeIn 0.18s ease;
}

.c24-interval-label {
  font-size: 1.06rem;
  font-weight: 600;
  margin-bottom: 2px;
  color: #222;
}

.c24-interval-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.c24-interval-prefix {
  font-size: 1.05rem;
  font-weight: 500;
  color: #222;
  height: 34px;
  line-height: 34px;
  padding: 0 8px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 9px;
  box-sizing: border-box;
  white-space: nowrap;
}

.c24-interval-count-input {
  width: 44px;
  padding: 6px 4px;
  border-radius: 9px;
  border: 1px solid #ddd;
  font-size: 1.05rem;
  text-align: center;
  font-weight: 600;
  height: 34px;
  box-sizing: border-box;
}

.c24-interval-count-input::-webkit-outer-spin-button,
.c24-interval-count-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.c24-interval-unit-select {
  padding: 6px 8px;
  border-radius: 9px;
  border: 1px solid #ddd;
  font-size: 1.05rem;
  height: 34px;
  box-sizing: border-box;
}

.c24-interval-select {
  width: 100%;
  padding: 6px 10px;
  border-radius: 9px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}

.c24-interval-select:focus,
.c24-interval-unit-select:focus,
.c24-interval-count-input:focus {
  border-color: #FFBD59;
  outline: none;
}

.c24-modal-add-btn {
  background: #111;
  color: #fff;
  border: none;
  border-radius: 13px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.17s;
  width: 100%;
}

.c24-modal-add-btn:hover {
  background: #FFBD59;
  color: #111;
}

.c24-rating {
  font-size: 1.4rem;
  color: #222;
  text-align: center;
}

/* ===== VARIANTENAUSWAHL MODAL ===== */
.c24-variant-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c24-variant-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.c24-variant-modal-content {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  z-index: 10001;
}

.c24-variant-modal-content h3 {
  margin: 0 0 16px;
  font-size: 1.3rem;
  font-weight: 600;
  color: #111;
}

.c24-variant-modal-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 1.2rem;
  margin-bottom: 20px;
  background: #fff;
  cursor: pointer;
}

.c24-variant-modal-select:focus {
  border-color: #FFBD59;
  outline: none;
}

.c24-variant-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.c24-variant-modal-cancel,
.c24-variant-modal-add {
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 1.1rem;
  transition: all 0.2s;
}

.c24-variant-modal-cancel {
  background: #f0f0f0;
  color: #333;
}

.c24-variant-modal-cancel:hover {
  background: #e0e0e0;
}

.c24-variant-modal-add {
  background: #111;
  color: #fff;
}

.c24-variant-modal-add:hover {
  background: #FFBD59;
  color: #111;
}

/* ===== PAGINATION ===== */
.c24-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.c24-pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 16px;
  background: #fff;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.c24-pagination-btn:hover:not(.disabled):not(.active) {
  border-color: #FFBD59;
  background: #FFBD59;
  color: #111;
}

.c24-pagination-btn.active {
  background: #111;
  border-color: #111;
  color: #fff;
  cursor: default;
}

.c24-pagination-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.c24-pagination-btn svg {
  width: 18px;
  height: 18px;
}

.c24-pagination-info {
  padding: 0 16px;
  font-size: 0.95rem;
  color: #666;
}

/* Pagination Dots */
.c24-pagination-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  font-size: 1rem;
  color: #999;
  user-select: none;
}

/* ===== NO PRODUCTS ===== */
.c24-no-products {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
}

.c24-no-products-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.c24-no-products-icon svg {
  width: 40px;
  height: 40px;
  color: #999;
}

.c24-no-products-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px;
}

.c24-no-products-text {
  font-size: 1rem;
  color: #666;
  margin: 0;
}

/* No Results Message */
.c24-no-results {
  display: none;
  text-align: center;
  padding: 40px 20px;
  grid-column: 1 / -1;
  background: #fafafa;
  border-radius: 16px;
  border: 1px dashed #ddd;
}

.c24-no-results.show {
  display: block;
}

.c24-no-results-text {
  font-size: 1.1rem;
  color: #666;
  margin: 0 0 16px;
}

.c24-no-results-btn {
  padding: 12px 24px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.c24-no-results-btn:hover {
  background: #FFBD59;
  color: #111;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .c24-product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .c24-filter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .c24-collection-section {
    margin: 0 auto 30px;
    padding: 0 15px;
  }

  /* Toolbar: Umstrukturiert für Mobile */
  .c24-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-bottom: 16px;
  }

  /* Produktanzahl oben, zentriert */
  .c24-toolbar-left {
    order: 1;
    justify-content: center;
    width: 100%;
  }

  .c24-product-count {
    font-size: 0.95rem;
    text-align: center;
  }

  /* Filter Button ausblenden aus toolbar-left */
  .c24-toolbar-left .c24-filter-toggle {
    display: none;
  }

  /* Sort Container wird zur Zeile mit Filter und Sort */
  .c24-sort-container {
    order: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
  }

  .c24-sort-label {
    display: none;
  }

  /* Sort Box linksbündig */
  .c24-custom-select {
    flex: 1;
  }

  .c24-sort-select {
    width: 100%;
    min-width: unset;
    padding: 0 36px 0 14px;
    font-size: 0.9rem;
    height: 44px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
  }

  /* Filter Panel */
  .c24-filter-panel {
    padding: 16px;
  }

  .c24-filter-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .c24-filter-options {
    max-height: 150px;
  }

  .c24-filter-actions {
    flex-direction: column;
  }

  .c24-filter-reset,
  .c24-filter-apply {
    width: 100%;
  }

  /* Product Grid */
  .c24-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .c24-product-card {
    min-height: 360px;
    padding: 12px;
    border-radius: 15px;
  }

  .c24-product-img-wrap {
    height: 130px;
  }

  .c24-product-img {
    max-height: 120px;
  }

  .c24-product-card .c24-product-title {
    font-size: 1.1rem !important;
    min-height: 36px;
    margin: 6px 0 0 !important;
  }

  .c24-product-card .c24-product-price {
    font-size: 1.3rem !important;
  }

  .c24-cart-btn,
  .c24-cart-btn-abo {
    padding: 10px 8px;
    font-size: 1rem;
    min-height: 44px;
    font-weight: 600;
  }

  .c24-fav-btn {
    padding: 6px;
    font-size: 1.1rem;
    min-height: 36px;
    min-width: 36px;
  }

  .c24-rating {
    font-size: 1.1rem;
  }

  /* Pagination: Einzeilig */
  .c24-pagination {
    margin-top: 28px;
    flex-wrap: nowrap;
    gap: 6px;
    justify-content: center;
  }

  .c24-pagination-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 0.9rem;
    border-radius: 8px;
  }

  .c24-pagination-btn svg {
    width: 16px;
    height: 16px;
  }

  .c24-pagination-dots {
    padding: 0 4px;
    font-size: 0.9rem;
  }

  .c24-pagination-info {
    display: none;
  }
}

@media (max-width: 480px) {
  .c24-collection-section {
    padding: 0 12px;
    margin: 0 auto 20px;
  }

  .c24-toolbar {
    gap: 10px;
  }

  .c24-product-count {
    font-size: 0.9rem;
  }

  .c24-sort-container {
    gap: 8px;
  }

  .c24-sort-select {
    padding: 0 32px 0 12px;
    font-size: 0.85rem;
    height: 42px;
  }

  .c24-product-grid {
    gap: 10px;
  }

  .c24-product-card {
    min-height: 320px;
    padding: 10px;
  }

  .c24-product-img-wrap {
    height: 110px;
  }

  .c24-product-img {
    max-height: 100px;
  }

  .c24-product-card .c24-product-title {
    font-size: 1rem !important;
    min-height: 32px;
  }

  .c24-product-card .c24-product-price {
    font-size: 1.15rem !important;
  }

  .c24-cart-btn,
  .c24-cart-btn-abo {
    font-size: 0.9rem;
    padding: 8px 6px;
    min-height: 40px;
  }

  .c24-fav-btn {
    padding: 5px;
    font-size: 1rem;
    min-height: 32px;
    min-width: 32px;
  }

  .c24-rating {
    font-size: 1rem;
  }

  /* Pagination: Kompakter */
  .c24-pagination {
    gap: 4px;
  }

  .c24-pagination-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    font-size: 0.85rem;
    border-radius: 6px;
  }

  .c24-pagination-btn svg {
    width: 14px;
    height: 14px;
  }

  .c24-pagination-dots {
    padding: 0 2px;
    font-size: 0.85rem;
  }
}



.c24-benefits-banner {
  position: relative;
  width: 100%;
  background: url('https://cdn.shopify.com/s/files/1/0859/5613/3205/files/Design_ohne_Titel_42.png?v=1750589797') center/cover no-repeat;
  min-height: 480px;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: 'Montserrat', 'Poppins', sans-serif;
}

.c24-benefits-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
  position: relative;
  width: 100%;
}

.c24-benefits-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.c24-benefits-content {
  position: relative;
  z-index: 2;
}

.c24-benefits-header {
  text-align: center;
  margin-bottom: 40px;
}

.c24-benefits-badge {
  display: inline-block;
  background: #FFBD59;
  color: #111;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.c24-benefits-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0 0 14px 0;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.c24-benefits-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 auto;
  line-height: 1.6;
  max-width: 600px;
}

.c24-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.c24-benefit-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 24px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.c24-benefit-item:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
  border-color: rgba(255, 189, 89, 0.5);
}

.c24-benefit-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: #FFBD59;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.c24-benefit-item:hover .c24-benefit-icon {
  transform: scale(1.1);
}

.c24-benefit-icon svg {
  width: 26px;
  height: 26px;
  color: #111;
}

.c24-rating-stars {
  color: #111;
  font-size: 1rem;
  letter-spacing: -2px;
}

.c24-benefit-text {
  flex: 1;
  min-width: 0;
}

.c24-benefit-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #fff;
  line-height: 1.3;
}

.c24-benefit-text p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  line-height: 1.4;
}

/* Tablet */
@media (max-width: 1000px) {
  .c24-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  
  .c24-benefits-title {
    font-size: 2.4rem;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .c24-benefits-banner {
    min-height: auto;
    background-position: 9% center;
  }
  
  .c24-benefits-container {
    padding: 40px 16px;
  }
  
  .c24-benefits-header {
    margin-bottom: 28px;
  }
  
  .c24-benefits-badge {
    font-size: 0.7rem;
    padding: 6px 14px;
    margin-bottom: 12px;
  }
  
  .c24-benefits-title {
    font-size: 1.7rem;
    margin-bottom: 10px;
  }
  
  .c24-benefits-subtitle {
    font-size: 0.95rem;
  }
  
  .c24-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .c24-benefit-item {
    padding: 14px 12px;
    gap: 12px;
    border-radius: 14px;
    flex-direction: column;
    text-align: center;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.08);
  }
  
  .c24-benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
  
  .c24-benefit-icon svg {
    width: 22px;
    height: 22px;
  }
  
  .c24-rating-stars {
    font-size: 0.85rem;
  }
  
  .c24-benefit-text h3 {
    font-size: 0.92rem;
    margin-bottom: 2px;
  }
  
  .c24-benefit-text p {
    font-size: 0.78rem;
  }
}

/* Kleine Smartphones */
@media (max-width: 380px) {
  .c24-benefits-banner {
    background-position: 9% center;
  }
  
  .c24-benefits-container {
    padding: 32px 12px;
  }
  
  .c24-benefits-title {
    font-size: 1.5rem;
  }
  
  .c24-benefits-subtitle {
    font-size: 0.88rem;
  }
  
  .c24-benefits-grid {
    gap: 8px;
  }
  
  .c24-benefit-item {
    padding: 12px 10px;
    border-radius: 12px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
  }
  
  .c24-benefit-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  
  .c24-benefit-icon svg {
    width: 20px;
    height: 20px;
  }
  
  .c24-benefit-text h3 {
    font-size: 0.85rem;
  }
  
  .c24-benefit-text p {
    font-size: 0.72rem;
  }
}

