/* Rich Text Styling for Product Descriptions - Vanilla CSS Conversion */
.rich-text {
    color: #374151;
    /* text-gray-700 */
    line-height: 1.625;
    /* leading-relaxed */
    font-weight: 300;
    /* font-light */
    font-size: 1.125rem;
    /* text-lg */
    font-family: 'Inter', sans-serif;
}

.rich-text p {
    margin-bottom: 1.5rem;
    /* mb-6 */
}

/* Headings */
.rich-text h3 {
    font-size: 1.5rem;
    /* text-2xl */
    font-weight: 700;
    /* font-bold */
    color: #065f46;
    /* text-emerald-800 */
    margin-top: 2rem;
    /* mt-8 */
    margin-bottom: 1rem;
    /* mb-4 */
    border-bottom: 2px solid #d1fae5;
    /* border-emerald-100 */
    padding-bottom: 0.5rem;
    /* pb-2 */
    display: inline-block;
}

.rich-text h4 {
    font-size: 1.25rem;
    /* text-xl */
    font-weight: 700;
    /* font-bold */
    color: #047857;
    /* text-emerald-700 */
    margin-top: 1.5rem;
    /* mt-6 */
    margin-bottom: 0.75rem;
    /* mb-3 */
}

/* Lists */
/* Lists */
.rich-text ul {
    list-style: none;
    margin-bottom: 1.5rem;
    /* mb-6 */
    margin-left: 0.25rem;
    /* ml-1 */
    padding: 0;
}

.rich-text ul li {
    position: relative;
    padding-left: 1.75rem;
    /* pl-7 */
    color: #374151;
    /* text-gray-700 */
    margin-bottom: 0.75rem;
    /* space-y-3 equivalent */
}

.rich-text ul li::before {
    content: '';
    position: absolute;
    left: 0.25rem;
    top: 0.5rem;
    width: 0.375rem;
    /* 6px */
    height: 0.75rem;
    /* 12px */
    border: solid #f59e0b;
    /* text-amber-500 */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Ordered Lists */
.rich-text ol {
    list-style: decimal inside;
    margin-bottom: 1.5rem;
    /* mb-6 */
    margin-left: 0.5rem;
    /* ml-2 */
    padding: 0;
}

.rich-text ol li {
    margin-bottom: 0.75rem;
    /* space-y-3 */
    color: #374151;
}

.rich-text ol li::marker {
    color: #047857;
    /* text-emerald-700 */
    font-weight: 700;
}

/* Bold/Strong */
.rich-text strong {
    font-weight: 700;
    color: #064e3b;
    /* text-emerald-900 */
}

/* Blockquotes */
.rich-text blockquote {
    border-left: 4px solid #f59e0b;
    /* border-amber-500 */
    padding-left: 1.5rem;
    /* pl-6 */
    padding-top: 0.5rem;
    /* py-2 */
    padding-bottom: 0.5rem;
    font-style: italic;
    color: #4b5563;
    /* text-gray-600 */
    background-color: #fffbeb;
    /* bg-amber-50 */
    border-top-right-radius: 0.5rem;
    /* rounded-r-lg */
    border-bottom-right-radius: 0.5rem;
    margin-top: 2rem;
    /* my-8 */
    margin-bottom: 2rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    /* shadow-sm */
}

/* Tables in Description */
.rich-text table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    /* my-8 */
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    /* rounded-lg */
    overflow: hidden;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    /* shadow-sm */
    font-size: 0.875rem;
    /* text-sm */
}

.rich-text table th {
    background-color: #065f46;
    /* bg-emerald-800 */
    color: #ffffff;
    padding: 0.75rem 1rem;
    /* px-4 py-3 */
    text-align: left;
    font-weight: 600;
    /* font-semibold */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    /* tracking-wider */
}

.rich-text table td {
    border-bottom: 1px solid #e5e7eb;
    /* border-gray-200 */
    padding: 0.75rem 1rem;
    /* px-4 py-3 */
    color: #374151;
    /* text-gray-700 */
}

.rich-text table tr:nth-child(even) {
    background-color: #f9fafb;
    /* bg-gray-50 */
}

.rich-text table tr:hover {
    background-color: #ecfdf5;
    /* bg-emerald-50 */
}