/**
 * Product Content Styling für myLandingpage.ai
 * 
 * Styling für migrierte Produktbeschreibungen
 * Wird geladen: Frontend (Produktseiten) + Backend (Classic Editor)
 * 
 * @package DIVI_WC_MIGRATOR
 * @since 1.0.0
 */

/* ============================================
   Container
   ============================================ */
.product-content-mylpai {
    font-family: inherit;
    line-height: 1.6;
    color: inherit;
}

/* ============================================
   Sections
   ============================================ */
.product-section-mylpai {
    margin-bottom: 25px;
}

.product-section-mylpai:last-child {
    margin-bottom: 0;
}

/* Überschriften in Sections */
.product-section-mylpai h3,
.product-section-mylpai h4 {
    color: #093050; /* Primary Color */
    margin-top: 0;
    margin-bottom: 12px;
    font-weight: 600;
}

.product-section-mylpai h3 {
    font-size: 22px;
}

.product-section-mylpai h4 {
    font-size: 18px;
}

/* Listen in Sections */
.product-section-mylpai ul,
.product-section-mylpai ol {
    margin: 0 0 15px 0;
    padding-left: 25px;
}

.product-section-mylpai li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.product-section-mylpai li:last-child {
    margin-bottom: 0;
}

/* Paragraphen in Sections */
.product-section-mylpai p {
    margin: 0 0 15px 0;
}

.product-section-mylpai p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Blurbs (Info-Boxen)
   ============================================ */
.product-blurb-mylpai {
    padding: 20px;
    margin-bottom: 20px;
    background: #f6f7f7;
    border-left: 4px solid #5C7A7A; /* Accent Color */
    border-radius: 0 4px 4px 0;
}

.product-blurb-mylpai:last-child {
    margin-bottom: 0;
}

/* Überschriften in Blurbs */
.product-blurb-mylpai h4 {
    color: #093050; /* Primary Color */
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Listen in Blurbs */
.product-blurb-mylpai ul,
.product-blurb-mylpai ol {
    margin: 0 0 10px 0;
    padding-left: 20px;
}

.product-blurb-mylpai li {
    margin-bottom: 6px;
}

.product-blurb-mylpai li:last-child {
    margin-bottom: 0;
}

/* Paragraphen in Blurbs */
.product-blurb-mylpai p {
    margin: 0 0 10px 0;
    line-height: 1.6;
}

.product-blurb-mylpai p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Responsive Anpassungen
   ============================================ */
@media (max-width: 768px) {
    .product-section-mylpai {
        margin-bottom: 20px;
    }
    
    .product-section-mylpai h3 {
        font-size: 20px;
    }
    
    .product-section-mylpai h4 {
        font-size: 16px;
    }
    
    .product-blurb-mylpai {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .product-blurb-mylpai h4 {
        font-size: 14px;
    }
}

/* ============================================
   Backend (Classic Editor) Anpassungen
   ============================================ */
.mce-content-body .product-content-mylpai {
    padding: 10px;
}

.mce-content-body .product-section-mylpai,
.mce-content-body .product-blurb-mylpai {
    /* Editor-Vorschau-Styling */
}

/* ============================================
   Print Styling
   ============================================ */
@media print {
    .product-content-mylpai {
        color: #000;
    }
    
    .product-blurb-mylpai {
        border-color: #000;
        background: #f9f9f9;
    }
}
