/**
 * WooCommerce Product Custom Fields - Frontend Styles
 * Version: 1.0.0
 */

/* Product Benefits Section */
.product-benefits-section {
    background: #f9f9f9;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.8;
}

.product-benefits-section h2,
.product-benefits-section h3,
.product-benefits-section h4 {
    color: #333;
    margin-top: 15px;
    margin-bottom: 12px;
    font-weight: 600;
}

.product-benefits-section h2 {
    font-size: 24px;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 8px;
}

.product-benefits-section h3 {
    font-size: 20px;
}

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

.product-benefits-section ul,
.product-benefits-section ol {
    margin: 15px 0;
    padding-left: 30px;
}

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

.product-benefits-section ul li {
    list-style-type: disc;
}

.product-benefits-section ol li {
    list-style-type: decimal;
}

.product-benefits-section p {
    margin-bottom: 15px;
}

.product-benefits-section strong {
    font-weight: 600;
    color: #000;
}

.product-benefits-section a {
    color: #0073aa;
    text-decoration: none;
}

.product-benefits-section a:hover {
    text-decoration: underline;
}

/* How To Use Section */
.product-how-to-use-section {
    background: #fff;
    border: 2px solid #0073aa;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.8;
}

.product-how-to-use-section h2,
.product-how-to-use-section h3,
.product-how-to-use-section h4 {
    color: #0073aa;
    margin-top: 15px;
    margin-bottom: 12px;
    font-weight: 600;
}

.product-how-to-use-section h2 {
    font-size: 24px;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 8px;
}

.product-how-to-use-section h3 {
    font-size: 20px;
}

.product-how-to-use-section h4 {
    font-size: 18px;
}

.product-how-to-use-section ul,
.product-how-to-use-section ol {
    margin: 15px 0;
    padding-left: 30px;
}

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

.product-how-to-use-section ul li {
    list-style-type: circle;
}

.product-how-to-use-section ol li {
    list-style-type: decimal;
    font-weight: 500;
}

.product-how-to-use-section p {
    margin-bottom: 15px;
}

.product-how-to-use-section strong {
    font-weight: 600;
    color: #000;
}

.product-how-to-use-section a {
    color: #0073aa;
    text-decoration: none;
}

.product-how-to-use-section a:hover {
    text-decoration: underline;
}

/* Product Description Section */
.product-description-section {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    margin: 20px 0;
    font-size: 15px;
    line-height: 1.8;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.product-description-section h2,
.product-description-section h3,
.product-description-section h4 {
    color: #333;
    margin-top: 15px;
    margin-bottom: 12px;
    font-weight: 600;
}

.product-description-section h2 {
    font-size: 24px;
    border-bottom: 2px solid #666;
    padding-bottom: 8px;
}

.product-description-section h3 {
    font-size: 20px;
}

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

.product-description-section ul,
.product-description-section ol {
    margin: 15px 0;
    padding-left: 30px;
}

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

.product-description-section ul li {
    list-style-type: square;
}

.product-description-section ol li {
    list-style-type: decimal;
}

.product-description-section p {
    margin-bottom: 15px;
}

.product-description-section strong {
    font-weight: 600;
    color: #000;
}

.product-description-section a {
    color: #0073aa;
    text-decoration: none;
}

.product-description-section a:hover {
    text-decoration: underline;
}

/* Blockquote Styling */
.product-benefits-section blockquote,
.product-how-to-use-section blockquote,
.product-description-section blockquote {
    background: #f0f0f0;
    border-left: 4px solid #0073aa;
    padding: 15px 20px;
    margin: 20px 0;
    font-style: italic;
}

/* Code Block Styling */
.product-benefits-section code,
.product-how-to-use-section code,
.product-description-section code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-benefits-section,
    .product-how-to-use-section,
    .product-description-section {
        padding: 15px;
        margin: 15px 0;
    }
    
    .product-benefits-section h2,
    .product-how-to-use-section h2,
    .product-description-section h2 {
        font-size: 20px;
    }
    
    .product-benefits-section h3,
    .product-how-to-use-section h3,
    .product-description-section h3 {
        font-size: 18px;
    }
}

/* Print Styles */
@media print {
    .product-benefits-section,
    .product-how-to-use-section,
    .product-description-section {
        border: 1px solid #000;
        page-break-inside: avoid;
    }
}
