/** Shopify CDN: Minification failed

Line 775:20 Unexpected "{"
Line 775:29 Expected ":"
Line 776:18 Expected identifier but found whitespace
Line 776:20 Unexpected "{"
Line 776:29 Expected ":"
Line 777:17 Expected identifier but found whitespace
Line 777:19 Unexpected "{"
Line 777:28 Expected ":"
Line 778:18 Expected identifier but found whitespace
Line 778:20 Unexpected "{"
... and 215 more hidden warnings

**/
/* =========================================
   EDUMON GLOBAL & SHARED UTILITIES
   ========================================= */

.edu-container {
  max-width: 160rem; /* Updated width styling */
  margin: 0 auto;
  padding: 0 15px;
}

/* Eyebrow / Mission-Style Headers */
.edu-eyebrow {
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  font-size: 1.3rem; 
  letter-spacing: 0.2rem;
  font-weight: 600;
  margin-bottom: 2.4rem;
  color: var(--edu-text-soft); 
  opacity: 0.85;
  position: relative;
  padding-bottom: 1.2rem;
  line-height: 1.2;
  display: block;
}

.edu-eyebrow::after {
  content: '';
  display: block;
  width: 4rem;
  height: 0.3rem;
  background-color: var(--edu-primary); 
  margin: 1.2rem auto 0;
  border-radius: 0.2rem;
}

/* =========================================
   PART 1: PROBLEM & REALITY CHECK
   ========================================= */

.edumon-part1 {
  font-family: var(--font-body-family);
  background-color: var(--edu-bg-section);
  color: var(--edu-text-main);
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  padding-left: 20px;
  padding-right: 20px;
  overflow: hidden;
}

/* --- Agreement Cluster (Reality Check) --- */
.edu-agreement-wrapper {
  background: var(--edu-bg-soft);
  border-radius: 24px;
  padding: 50px 30px;
  text-align: center;
  max-width: 950px;
  margin: 0 auto; 
  position: relative;
  backdrop-filter: blur(10px); 
}

/* Questions Grid */
.edu-questions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 35px;
  margin-top: 25px;
}

.edu-question-card {
  background: var(--edu-bg-section);
  padding: 20px 25px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid transparent;
  height: 100%;
}

.edu-question-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px -12px rgba(0,0,0,0.15);
  border-color: rgba(0,0,0,0.05);
}

.edu-custom-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-right: 15px;
  flex-shrink: 0;
}

/* Bridge Text (Übergang) */
.edu-bridge {
  font-family: var(--font-heading-family);
  font-size: 1.25rem;
  font-weight: 400; 
  color: var(--edu-text-main); 
  margin-top: 30px;
  line-height: 1.5;
}

.edu-bridge-spacer {
  display: block;
  height: 15px; 
}

.edu-bridge-arrow {
  display: block;
  margin-top: 12px;
  font-size: 1.5rem;
  color: var(--edu-primary);
  font-weight: 800;          
  opacity: 1;                
  animation: edu-bounce 2s infinite;
}

/* =========================================
   PART 1: DIFFERENTIATOR (Comparison)
   ========================================= */

.edu-diff-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
}

.edu-diff-col {
  padding: 40px;
  border-radius: 24px;
  position: relative;
  width: 100%;
}

.edu-diff-col.others {
  background: #F4F7FB;
  border: none;
}

.edu-diff-col.edumon {
  background: #fff;
  border: 2px solid var(--edu-primary);
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
  overflow: hidden;
}

/* Badge (Top Right) */
.edu-badge-top {
  position: absolute;
  top: 0; right: 0;
  background: var(--edu-accent);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 8px 20px;
  border-bottom-left-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: -2px 2px 10px rgba(0,0,0,0.1);
  font-family: 'Poppins', sans-serif;
}

.edu-diff-title {
  font-family: var(--font-heading-family);
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 30px;
  display: block;
}

/* Comparison List */
.edu-diff-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.edu-diff-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 28px;
  color: var(--edu-text-soft);
}

.edu-diff-list li .diff-icon {
  margin-right: 18px;
  font-size: 1.6rem; 
  line-height: 1.2;  
  padding-top: 2px;    
  flex-shrink: 0;    
}

.diff-content {
  display: flex;
  flex-direction: column;
}

.diff-title {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--edu-text-main);
  margin-bottom: 6px;
  line-height: 1.3;
}

.diff-text {
  font-size: 1.25rem; 
  line-height: 1.5;
  opacity: 0.95;
}

/* =========================================
   PART 2: SYSTEM & STEPS
   ========================================= */

.edumon-part2 {
  background-color: var(--edu-bg-section);
  color: var(--edu-text-main);
  font-family: var(--font-body-family);
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  padding-left: 20px;
  padding-right: 20px;
  overflow: hidden;
  /* Stacking Context fix für Sticky Header */
  position: relative;
  z-index: 0;
}

/* Header Area */
.edu-system-header {
  text-align: center;
  margin-bottom: 60px;
}

.edu-system-header .edu-eyebrow {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.edu-system-headline {
  font-family: var(--font-heading-family);
  font-size: 2.2rem;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  display: block;
}

.edu-system-desc {
  max-width: 750px;
  margin: 0 auto;
  color: var(--edu-text-soft);
  font-size: 1.25rem; 
  line-height: 1.6;
}

/* Steps Container */
.edu-steps-container {
  display: flex;
  flex-direction: column;
  gap: 30px; 
  margin-bottom: 0; 
  position: relative;
  padding: 0 10px;
}

/* Step Card Styles */
.edu-step-card {
  flex: 1;
  text-align: center;
  padding: 40px 30px;
  position: relative;
  
  /* Box Styling */
  background: #FFFFFF;
  border-radius: 24px;
  box-shadow: 0 10px 40px -5px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.02);
  
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.edu-step-icon-circle {
  width: 90px;
  height: 90px;
  background: #EBF8FF; 
  border-radius: 50%;
  margin: 0 auto 25px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--edu-primary);
  border: 1.5px solid var(--edu-primary);
  box-shadow: 0 4px 10px rgba(0,187,237,0.15);
  transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.edu-step-card:hover .edu-step-icon-circle {
  transform: scale(1.1) rotate(-5deg);
  color: var(--edu-accent) !important; 
}

.edu-step-title {
  font-family: var(--font-heading-family);
  font-weight: 800;
  font-size: 1.4rem; 
  margin-bottom: 15px;
  display: block;
  color: var(--edu-text-main);
}

.edu-step-desc {
  font-size: 1.15rem; 
  color: var(--edu-text-soft);
  line-height: 1.6;
  max-width: 100%;
  margin: 0 auto;
  /* Füllt den Raum für gleichmäßige Boxen */
  flex-grow: 1;
}

/* =========================================
   ANIMATIONS
   ========================================= */

@keyframes edu-bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-5px);}
  60% {transform: translateY(-3px);}
}

/* =========================================
   RESPONSIVE (DESKTOP / min-width: 990px)
   ========================================= */

@media (min-width: 990px) {
  
  /* --- Part 1: Grid Adjustments --- */
  .edu-questions-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  
  .edu-question-card {
    flex-direction: column;
    text-align: center;
    padding: 35px 25px;
    justify-content: center;
  }
  
  .edu-custom-icon {
    margin-right: 0;
    margin-bottom: 20px;
    width: 60px; 
    height: 60px;
  }

  /* --- Part 1: Differentiator Layout --- */
  .edu-diff-wrapper {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    width: 100%;
    margin: 0;
    max-width: 1400px !important; 
    margin-left: auto !important;
    margin-right: auto !important;
  }

  /* --- Part 2: Steps & Chains --- */
  .edu-steps-container {
    flex-direction: row;
    justify-content: center;
    align-items: stretch; /* Equal Height */
    gap: 50px; 
    padding-top: 10px;
  }
  
  .edu-step-card {
    height: auto; 
    min-height: 100%;
  }
  
  /* Layer Ordering for Chain Overlap */
  .edu-step-card:nth-child(1) { z-index: 3; }
  .edu-step-card:nth-child(2) { z-index: 2; }
  .edu-step-card:nth-child(3) { z-index: 1; }
  
  /* The Chain Link Artwork */
  .edu-step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    
    /* Size & Position */
    width: 120px; 
    height: 48px; 
    top: 85px; 
    transform: translateY(-50%);
    right: -85px; 
    
    /* Z-Index higher than cards but lower than sticky headers */
    z-index: 4; 
    pointer-events: none;

    /* Artwork Construction */
    background: 
      /* Layer 1: Bar */
      linear-gradient(var(--edu-primary), var(--edu-primary)) center center / 50% 14px no-repeat,
      /* Layer 2: Left Head */
      radial-gradient(circle at 24px 24px, var(--edu-primary) 12px, var(--edu-bg-section) 13px, var(--edu-bg-section) 24px, transparent 24.5px) left center / 48px 48px no-repeat,
      /* Layer 3: Right Head */
      radial-gradient(circle at 24px 24px, var(--edu-primary) 12px, var(--edu-bg-section) 13px, var(--edu-bg-section) 24px, transparent 24.5px) right center / 48px 48px no-repeat;
  }
}


/* =========================================
   PATCH
   ========================================= */

   /* =========================================
   EDUMON GLOBAL & SHARED UTILITIES
   ========================================= */

.edu-container {
  /* FIX 1: Breite an Standard-Collection anpassen (von 160rem auf 120rem) */
  max-width: 120rem; 
  margin: 0 auto;
  padding: 0 15px;
}

/* ... (Eyebrow Styles bleiben gleich) ... */

/* ... (PART 1 Styles bleiben gleich) ... */


/* =========================================
   PART 2: SYSTEM & STEPS
   ========================================= */

/* ... (Header Styles bleiben gleich) ... */

/* Steps Container - Mobile First Base */
.edu-steps-container {
  display: flex;
  flex-direction: column;
  gap: 30px; 
  margin-bottom: 0; 
  position: relative;
  /* Mobile Padding fix */
  padding: 0; 
}

/* ... (Step Card Styles bleiben gleich) ... */


/* =========================================
   RESPONSIVE (DESKTOP / min-width: 990px)
   ========================================= */

@media (min-width: 990px) {
  
  /* FIX 2: Container Padding analog zur Collection setzen */
  .edu-container {
    padding: 0 5rem; 
  }

  /* --- Part 1: Grid Adjustments --- */
  /* ... (bleibt gleich) ... */

  /* --- Part 1: Differentiator Layout --- */
  /* ... (bleibt gleich) ... */

  /* --- Part 2: Steps & Chains --- */
  .edu-steps-container {
    /* FIX 3: Switch von Flexbox zu Grid für exaktes Alignment */
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* FIX 4: Exakt gleicher Gap wie bei den Produkten (32px statt 50px) */
    gap: 32px; 
    
    /* Reset Flex Props */
    justify-content: unset;
    align-items: stretch;
    padding-top: 10px;
    width: 100%;
  }
  
  .edu-step-card {
    height: auto; 
    min-height: 100%;
    /* Flex-Basis entfernen, da Grid das übernimmt */
    flex: unset; 
    width: 100%;
  }
  
  /* Layer Ordering for Chain Overlap */
  .edu-step-card:nth-child(1) { z-index: 3; }
  .edu-step-card:nth-child(2) { z-index: 2; }
  .edu-step-card:nth-child(3) { z-index: 1; }
  
  /* The Chain Link Artwork */
  .edu-step-card:not(:last-child)::after {
    content: "";
    position: absolute;
    
    /* Size & Position - Leicht angepasst an den schmaleren Gap (32px) */
    width: 120px; 
    height: 48px; 
    top: 85px; 
    transform: translateY(-50%);
    
    /* Da der Gap nun 32px ist statt 50px, müssen wir die Kette 
       etwas weniger aggressiv nach rechts schieben, damit sie gut aussieht */
    right: -76px; 
    
    z-index: 4; 
    pointer-events: none;

    background: 
      linear-gradient(var(--edu-primary), var(--edu-primary)) center center / 50% 14px no-repeat,
      radial-gradient(circle at 24px 24px, var(--edu-primary) 12px, var(--edu-bg-section) 13px, var(--edu-bg-section) 24px, transparent 24.5px) left center / 48px 48px no-repeat,
      radial-gradient(circle at 24px 24px, var(--edu-primary) 12px, var(--edu-bg-section) 13px, var(--edu-bg-section) 24px, transparent 24.5px) right center / 48px 48px no-repeat;
  }
}



/* ========================================================================
   HYBRID PATCH
   ======================================================================== */



/* =========================================
   GUARANTEE FOOTER (NEW)
   ========================================= */

.edm-trust-footer {
  margin-top: 60px;
  display: flex;
  justify-content: center;
  padding: 0 10px;
}

.edm-guarantee-box {
  background-color: #f0f4f8;
  border-radius: 16px;
  padding: 20px 30px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  max-width: 800px;
  width: 100%;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  text-align: left;
}

.edm-guarantee-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--edu-success);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.edm-guarantee-content {
  display: flex;
  flex-direction: column;
}

.edm-guarantee-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--edu-text-main);
  margin-bottom: 4px;
  font-family: var(--font-heading-family);
}

.edm-guarantee-text {
  font-size: 0.95rem;
  color: var(--edu-text-soft);
  line-height: 1.4;
}

@media (max-width: 768px) {
  .edm-guarantee-box {
    flex-direction: column;
    text-align: center;
    padding: 25px 20px;
  }
}


/* =========================================
   EDUMON HYBRID & GLOBAL UTILITIES
   ========================================= */

.edumon-part2 {
  background-color: var(--edu-bg-section);
  color: var(--edu-text-main);
  padding-top: var(--padding-top);
  padding-bottom: var(--padding-bottom);
  overflow: hidden;
  position: relative;
  z-index: 0;
}


/* Eyebrow / Headers */
.edu-eyebrow {
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  font-size: 1.2rem; 
  letter-spacing: 0.15rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--edu-primary); 
  display: inline-block;
  position: relative;
  padding-bottom: 1rem;
}

.edu-eyebrow::after {
  content: '';
  display: block;
  width: 4rem;
  height: 0.25rem;
  background-color: var(--edu-primary); 
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

/* Header Area */
.edu-system-header {
  text-align: center;
  margin-bottom: 50px;
}

.edu-system-headline {
  font-family: var(--font-heading-family);
  font-size: 2.2rem;
  margin-bottom: 15px;
  font-weight: 800;
  line-height: 1.2;
  display: block;
}

.edu-system-desc {
  max-width: 700px;
  margin: 0 auto;
  color: var(--edu-text-soft);
  font-size: 1.1rem; 
  line-height: 1.6;
}

/* =========================================
   DESKTOP CARDS
   ========================================= */


.edu-hybrid-grid {
  display: flex;
  flex-direction: column;
  gap: 30px; 
  padding-top: 10px;
}

.edu-block-wrapper {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem; 
}
.edu-block-wrapper:last-child { margin-bottom: 0; }

/* Desktop Grid Configuration */
@media screen and (min-width: 990px) {
  .edu-hybrid-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto 1fr; 
    column-gap: 32px; /* Patch: Exakter Gap */
    row-gap: 40px;
    align-items: start;
  }

  .edu-block-wrapper { display: contents; }
  
  .edu-grid-item-info {
    grid-row: 1;
    height: 100%;
    position: relative;
    width: 100%;
  }
  
  .edu-grid-item-product {
    grid-row: 2;
    height: 100%;
  }

  /* Spalten Zuordnung */
  .edu-block-wrapper:nth-of-type(1) .edu-grid-item-info,
  .edu-block-wrapper:nth-of-type(1) .edu-grid-item-product { grid-column: 1; }

  .edu-block-wrapper:nth-of-type(2) .edu-grid-item-info,
  .edu-block-wrapper:nth-of-type(2) .edu-grid-item-product { grid-column: 2; }

  .edu-block-wrapper:nth-of-type(3) .edu-grid-item-info,
  .edu-block-wrapper:nth-of-type(3) .edu-grid-item-product { grid-column: 3; }

  /* Z-Index Stacking für die "Knochen" */
  .edu-block-wrapper:nth-of-type(1) .edu-step-card { z-index: 3; }
  .edu-block-wrapper:nth-of-type(2) .edu-step-card { z-index: 2; }
  .edu-block-wrapper:nth-of-type(3) .edu-step-card { z-index: 1; }

  /* Chain / Bone Artwork (Logic ported from Standalone) */
  .edu-block-wrapper:not(:last-of-type) .edu-step-card::after {
    content: "";
    position: absolute;
    width: 120px; 
    height: 48px; 
    top: 85px; 
    transform: translateY(-50%);
    /* Kalkuliert für 32px Gap */
    right: -76px; 
    z-index: 4; 
    pointer-events: none;
    background: 
      linear-gradient(var(--edu-primary), var(--edu-primary)) center center / 50% 14px no-repeat,
      radial-gradient(circle at 24px 24px, var(--edu-primary) 12px, var(--edu-bg-section) 13px, var(--edu-bg-section) 24px, transparent 24.5px) left center / 48px 48px no-repeat,
      radial-gradient(circle at 24px 24px, var(--edu-primary) 12px, var(--edu-bg-section) 13px, var(--edu-bg-section) 24px, transparent 24.5px) right center / 48px 48px no-repeat;
  }
}




  #shopify-section-{{ section.id }} .edumon-part2 {
    --edu-primary: {{ section.settings.col_primary }};
    --edu-accent: {{ section.settings.col_accent }};
    --edu-success: {{ section.settings.col_success }};
    --edu-bg-section: {{ section.settings.col_bg }};
    --edu-bg-soft: {{ section.settings.col_bg_soft }};
    --edu-text-main: {{ section.settings.col_text }};
    --edu-text-soft: {{ section.settings.col_text_soft }};
    --guarantee-bg: {{ section.settings.guarantee_bg_color | default: '#f0f4f8' }};
    
    --padding-top: {{ section.settings.padding_top }}px;
    --padding-bottom: {{ section.settings.padding_bottom }}px;
    
    /* Festgelegte Farben aus der Collection für Konsistenz */
    --edm-orange: #ff6b35; 
  }

  /* ========================================================================
     PATCH START: STYLES AUS FEATURED COLLECTION ÜBERTRAGEN
     ======================================================================== */
  
  /* 1. CARD DESIGN (Basis Karte) */
  #shopify-section-{{ section.id }} .edu-grid-item-product .card {
    background-color: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Wichtig für Einheitlichkeit */
  }

  /* Hover Effekt */
  #shopify-section-{{ section.id }} .edu-grid-item-product:hover .card {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12) !important;
    border-color: rgba(0,0,0,0.08) !important;
  }

  #shopify-section-{{ section.id }} .card__inner {
    background: transparent !important;
    border-radius: 0 !important;
  }

  /* 2. INHALT & SPACING (Zentrierung & Abstände) */
  #shopify-section-{{ section.id }} .card__content {
    text-align: center;
    padding: 20px !important; /* Etwas mehr Luft wie im Original */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
  }

  #shopify-section-{{ section.id }} .card__information {
    padding: 0 !important;
    text-align: center !important;
  }

  #shopify-section-{{ section.id }} .card__heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
  }

  #shopify-section-{{ section.id }} .price {
    justify-content: center !important;
    display: flex !important;
    width: 100%;
    margin-top: 5px;
    color: var(--edu-text-main);
  }

  /* 3. BUTTONS (Der Orange Look) */
  #shopify-section-{{ section.id }} .button,
  #shopify-section-{{ section.id }} .quick-add__submit {
    background-color: var(--edm-orange) !important;
    border: none !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.1rem; 
    height: 50px; 
    margin-top: 16px; /* Abstand nach oben korrigiert */
    margin-bottom: 0 !important; 
    width: 100%;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transition: filter 0.2s ease, transform 0.2s ease;
  }

  #shopify-section-{{ section.id }} .button:hover {
    filter: brightness(0.92);
    transform: translateY(1px);
  }

  /* Störende Pfeile im Button entfernen */
  #shopify-section-{{ section.id }} .button::after,
  #shopify-section-{{ section.id }} .quick-add__submit::after { display: none !important; }
  #shopify-section-{{ section.id }} .quick-add__submit .icon-wrap { display: none !important; }

  /* 4. MOBILE ANPASSUNGEN */
  @media screen and (max-width: 749px) {
    #shopify-section-{{ section.id }} .card__heading {
      font-size: 1rem;
    }
    #shopify-section-{{ section.id }} .button {
       height: 44px;
       font-size: 1rem;
       margin-top: 12px;
    }
    #shopify-section-{{ section.id }} .card__content {
      padding: 12px !important;
    }
  }
  /* PATCH ENDE */



    /* ========================================================================
     0. SETUP & SECTION VARIABLES
     ======================================================================== */
  .section-{{ section.id }}-padding {
    padding-top: {{ section.settings.padding_top | times: 0.75 | round: 0 }}px;
    padding-bottom: {{ section.settings.padding_bottom | times: 0.75 | round: 0 }}px;
  }

  @media screen and (min-width: 750px) {
    .section-{{ section.id }}-padding {
      padding-top: {{ section.settings.padding_top }}px;
      padding-bottom: {{ section.settings.padding_bottom }}px;
    }
  }

  /* Farben & Globale Vererbung */
  #collection-{{ section.id }} {
    background-color: {{ section.settings.section_bg }} !important;
    color: {{ section.settings.section_text }} !important;
    
    /* --- STREIFEN FIX: MARGIN & PADDING RESET --- */
    margin-top: -1px !important; 
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    width: 100%;
    overflow-x: clip;
  }

  /* Leere Titel ausblenden (Streifen-Fix) */
  #collection-{{ section.id }} .collection__title:empty,
  #collection-{{ section.id }} .title-wrapper:empty,
  #collection-{{ section.id }} .title-wrapper {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
  }

  /* Standard Grid Margins von Dawn entfernen */
  #collection-{{ section.id }} .slider-mobile-gutter,
  #collection-{{ section.id }} .product-grid {
    margin-top: 0 !important;
  }

  /* Text Inheritance Reset */
  #collection-{{ section.id }} .title,
  #collection-{{ section.id }} .rte,
  #collection-{{ section.id }} .collection__description,
  #collection-{{ section.id }} .price,
  #collection-{{ section.id }} .card__heading,
  #collection-{{ section.id }} .card__information,
  #collection-{{ section.id }} h1, 
  #collection-{{ section.id }} h2, 
  #collection-{{ section.id }} h3,
  #collection-{{ section.id }} a:not(.button):not(.edm-product-deep-link) {
    color: {{ section.settings.section_text }} !important;
    text-decoration: none !important;
  }
  
  #collection-{{ section.id }} .price__regular .price-item--regular {
      color: {{ section.settings.section_text }} !important;
  }

  /* ========================================================================
     1. CARD DESIGN (APPLE STYLE TILE)
     ======================================================================== */
  
  #collection-{{ section.id }} .card-wrapper {
    height: 100%;
    background: transparent !important;
  }

  #collection-{{ section.id }} .card {
    background-color: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
  }

  #collection-{{ section.id }} .card-wrapper:hover .card {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12) !important;
    border-color: rgba(0,0,0,0.08) !important;
  }

  #collection-{{ section.id }} .card__inner {
    background: transparent !important;
    width: 100%;
    border-radius: 0 !important;
  }

  /* ========================================================================
     2. CONTENT & SPACING
     ======================================================================== */

  #collection-{{ section.id }} .card__content {
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between; 
  }

  #collection-{{ section.id }} .card__information {
    padding: 0 !important;
    text-align: center !important;
    width: 100%;
  }

  #collection-{{ section.id }} .price {
    justify-content: center !important;
    display: flex !important;
    margin-top: 4px;
    width: 100%;
  }

  /* ========================================================================
     3. DEEP LINK
     ======================================================================== */

  .edm-deep-link-wrapper {
    margin-top: -4px;
    margin-bottom: 14px; 
    line-height: 1;
    display: block;
    width: 100%;
    text-align: center;
  }

  .edm-product-deep-link {
    font-size: 0.7rem; 
    text-transform: uppercase; 
    letter-spacing: 0.05em;
    font-weight: 600;
    color: #999 !important;
    text-decoration: none !important; 
    border: none !important; 
    box-shadow: 0 1px 0 rgba(0,0,0,0.1); 
    padding-bottom: 2px;
    transition: all 0.3s ease;
  }
  
  .edm-product-deep-link:hover {
    color: var(--edm-orange, #ff6b35) !important;
    box-shadow: 0 1px 0 var(--edm-orange, #ff6b35);
  }
  
  .edm-product-deep-link span { display: inline-block; transition: transform 0.3s; }
  .edm-product-deep-link:hover span { transform: translateX(3px); }

  /* ========================================================================
     4. TYPOGRAPHY & BULLETS
     ======================================================================== */

  #collection-{{ section.id }} .card__heading {
    margin: 0 0 4px 0;
    line-height: 1.3;
    font-weight: 700;
    width: 100%;
  }

  .edm-card-bullets {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .edm-card-bullets li {
    display: flex;
    gap: 6px;
    color: {{ section.settings.section_text }};
    opacity: 0.8;
  }
  
  .edm-card-bullets li svg {
    color: #27AE60; 
    width: 14px; height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
  }

  /* ========================================================================
     5. BUTTONS (CTA)
     ======================================================================== */

  #collection-{{ section.id }} .button,
  #collection-{{ section.id }} .quick-add__submit {
    background-color: var(--edm-orange, #ff6b35) !important;
    border: none !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1.1rem; 
    padding: 0 10px;
    height: 50px; 
    margin-top: 16px;
    margin-bottom: 0 !important; 
    width: 100%;
    transition: filter 0.2s ease, transform 0.2s ease;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  #collection-{{ section.id }} .button:hover:not([disabled]),
  #collection-{{ section.id }} .quick-add__submit:hover:not([disabled]) {
    filter: brightness(0.92);
    transform: translateY(1px);
  }

  #collection-{{ section.id }} .button::after,
  #collection-{{ section.id }} .quick-add__submit::after { display: none !important; }

  #collection-{{ section.id }} .quick-add__submit .icon-wrap,
  #collection-{{ section.id }} .quick-add__submit svg.icon-arrow {
    display: none !important;
  }

  /* ========================================================================
     6. GUARANTEE / TRUST FOOTER (NEW)
     ======================================================================== */
  .edm-trust-footer {
    width: 100%;
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    padding: 0 1.5rem;
  }

  .edm-guarantee-box {
    background-color: {{ section.settings.guarantee_bg_color | default: '#f0f4f8' }};
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 16px;
    padding: 1.25rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
  }

  .edm-guarantee-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  }

  .edm-guarantee-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    color: var(--edm-orange, #ff6b35);
  }

  .edm-guarantee-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
  }

  .edm-guarantee-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
  }

  .edm-guarantee-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: {{ section.settings.section_text }};
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }

  .edm-guarantee-text {
    font-size: 1rem;
    line-height: 1.4;
    color: {{ section.settings.section_text }};
    opacity: 0.85;
  }

  @media screen and (max-width: 749px) {
    .edm-trust-footer {
      margin-top: 2rem;
      padding: 0 1rem;
    }
    .edm-guarantee-box {
      flex-direction: column;
      text-align: center;
      padding: 1.5rem 1rem;
      gap: 1rem;
    }
    .edm-guarantee-content {
      align-items: center;
      text-align: center;
    }
    .edm-guarantee-title {
      font-size: 1rem;
    }
    .edm-guarantee-text {
      font-size: 0.95rem;
    }
  }


  /* ========================================================================
     7. DESKTOP SPECIFIC (ab 750px)
     ======================================================================== */
  @media screen and (min-width: 750px) {
    
    /* --- FIX 3: MATCHING THE STEP CONTAINER (EXACT ALIGNMENT) --- */
    
    #collection-{{ section.id }} .page-width {
      /* Wir setzen dies auf 120rem (Standard Dawn), genau wie bei den Steps */
      max-width: 120rem !important; 
      margin: 0 auto !important;
      
      /* WICHTIG: Padding auf 5rem setzen, exakt wie bei den Steps */
      padding-left: 5rem !important; 
      padding-right: 5rem !important;
      
      width: 100% !important;
    }

    #collection-{{ section.id }} .grid {
      display: grid !important;
      /* Exakt 3 gleich große Spalten */
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      
      /* Gap angepasst auf 32px (gleich wie Steps) */
      gap: 32px !important;
      row-gap: 40px !important;
      
      /* Reset aller störenden Margins/Paddings */
      margin-left: 0 !important;
      margin-right: 0 !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
      
      width: 100% !important;
    }

    #collection-{{ section.id }} .grid__item {
      width: auto !important;
      max-width: none !important;
      padding-left: 0 !important;
      padding-right: 0 !important;
      margin: 0 !important;
    }

    /* Content Styling */
    #collection-{{ section.id }} .card__content {
      padding: 14px 20px 20px 20px;
    }

    #collection-{{ section.id }} .card__heading {
      font-size: 1.35rem; 
    }
    
    .edm-card-bullets { align-items: center; }
    .edm-card-bullets li { font-size: 1.1rem; justify-content: center; }

    #collection-{{ section.id }} .card-wrapper:hover .media img {
      transform: scale(1) !important; 
    }
  }

  /* ========================================================================
     8. MOBILE SPECIFIC (bis 749px)
     ======================================================================== */
  @media screen and (max-width: 749px) {
    
    #collection-{{ section.id }} .page-width {
       padding-left: 1.5rem !important;
       padding-right: 1.5rem !important;
    }
    
    #collection-{{ section.id }} .grid {
      display: flex !important;
      flex-wrap: wrap !important;
      margin-left: 0 !important;
      padding: 0 !important;
      gap: 10px !important; 
      row-gap: 24px !important;
      justify-content: flex-start !important; 
    }

    #collection-{{ section.id }} .grid--2-col-tablet-down .grid__item {
      padding-left: 0 !important;
      width: calc(50% - 5px) !important;
      max-width: calc(50% - 5px) !important;
    }
    
    #collection-{{ section.id }} .grid--1-col-tablet-down .grid__item {
      padding-left: 0 !important;
      width: 100% !important;
      max-width: 100% !important;
    }

    #collection-{{ section.id }} .card__content {
      padding: 10px 10px 10px 10px;
    }

    #collection-{{ section.id }} .card__heading {
      font-size: 0.75rem; 
      font-weight: 600;
    }

    #collection-{{ section.id }} .price .price-item {
      font-size: 0.75rem !important;
      line-height: 1.3;
    }

    .edm-card-bullets { 
      align-items: flex-start; 
      padding-left: 2px; 
      margin-top: 6px;
    }
    .edm-card-bullets li { font-size: 0.8rem; text-align: left; }

    #collection-{{ section.id }} .button {
       height: 44px;
       font-size: 1rem;
       margin-top: 10px;
       padding: 0 5px;
    }
    
    .edm-deep-link-wrapper {
      margin-top: -2px; 
      margin-bottom: 8px;
    }
  }


  /* =========================================
     MOBILE SCROLL KILLER FIX
     ========================================= */
  @media screen and (max-width: 989px) {
    /* 1. Haupt-Container fixieren */
    #shopify-section-{{ section.id }} {
      overflow-x: hidden !important;
      width: 100% !important;
      max-width: 100vw !important;
      position: relative; 
    }

    /* 2. Inneren Wrapper sicherstellen */
    #shopify-section-{{ section.id }} .edumon-part-reality,
    #shopify-section-{{ section.id }} .edu-container {
      overflow-x: hidden !important;
      width: 100% !important;
      padding-left: 20px; /* Sicherheitsabstand */
      padding-right: 20px;
      box-sizing: border-box !important;
    }
    
    /* 3. Grid-Korrektur (falls Flex/Grid overflowed) */
    #shopify-section-{{ section.id }} .edu-steps-container,
    #shopify-section-{{ section.id }} .grid {
      margin-left: 0 !important;
      margin-right: 0 !important;
      width: 100% !important;
      max-width: 100% !important;
    }
  }


  /* =========================================
   FINAL MOBILE SCROLL FIX (ULTIMATE)
   ========================================= */

@media screen and (max-width: 989px) {
  
  /* 1. Den Haupt-Container und die Sektionen hart auf Bildschirmbreite begrenzen */
  html, body {
    overflow-x: hidden; /* Globale Sicherung */
  }

  #shopify-section-{{ section.id }},
  .edumon-part1,
  .edumon-part2,
  .edu-container {
    max-width: 100vw !important;
    width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* 2. Verhindert, dass Grid- oder Flex-Container durch Gaps nach außen drücken */
  .edu-steps-container,
  .edu-diff-wrapper,
  .edu-questions-grid {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important; /* Padding wird oft vom Container gehandhabt */
    padding-right: 0 !important;
  }

  /* 3. WICHTIG: Die "Ketten"-Verbindungen (Pseudo-Elemente) explizit killen */
  /* Wenn diese auch nur 1px nach rechts ragen, entsteht der Scrollbalken */
  .edu-step-card::after,
  .edu-step-card:not(:last-child)::after,
  .edu-block-wrapper:not(:last-of-type) .edu-step-card::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
  }

  /* 4. Fix für eventuelle negative Margins im Shopify Grid */
  #collection-{{ section.id }} .grid {
    margin: 0 !important;
    width: 100% !important;
  }
}