/* Rich product descriptions written with the seller editor (tables, images, headings, lists).
   Tailwind's reset removes list bullets, heading sizes and table borders, so they are restored here. */
.formatted-description { overflow-wrap: anywhere; }
.formatted-description > :first-child { margin-top: 0; }
.formatted-description p { margin: 0 0 0.85em; }
.formatted-description h1, .formatted-description h2 { font-size: 1.2em; font-weight: 800; color: #0f172a; margin: 1.3em 0 0.5em; line-height: 1.3; }
.formatted-description h3, .formatted-description h4 { font-size: 1.05em; font-weight: 700; color: #0f172a; margin: 1.1em 0 0.4em; }
.formatted-description ul { list-style: disc; padding-left: 1.4em; margin: 0 0 0.9em; }
.formatted-description ol { list-style: decimal; padding-left: 1.4em; margin: 0 0 0.9em; }
.formatted-description li { margin: 0.25em 0; }
.formatted-description a { color: #2563eb; text-decoration: underline; }
.formatted-description strong, .formatted-description b { font-weight: 700; color: #0f172a; }
.formatted-description blockquote { border-left: 4px solid #cbd5e1; padding: 0.3em 0 0.3em 1em; color: #475569; margin: 0 0 1em; }
.formatted-description hr { border: 0; border-top: 1px solid #e2e8f0; margin: 1.2em 0; }
.formatted-description img { max-width: 100% !important; height: auto !important; border-radius: 12px; margin: 0.6em 0; display: inline-block; }
.formatted-description p[style*="center"] img { margin-left: auto; margin-right: auto; }

/* Tables: scroll sideways on phones instead of breaking the page */
.formatted-description .rt-table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0.8em 0 1.1em; border-radius: 12px; border: 1px solid #e2e8f0; background: #fff; }
.formatted-description table { width: 100% !important; border-collapse: collapse; font-size: 0.92em; }
.formatted-description th, .formatted-description td { border: 0; border-bottom: 1px solid #e2e8f0; padding: 10px 14px; text-align: left; vertical-align: top; }
.formatted-description tr:last-child th, .formatted-description tr:last-child td { border-bottom: 0; }
.formatted-description th { background: #f8fafc; font-weight: 600; color: #0f172a; width: auto; }
.formatted-description tbody tr:nth-child(even) td { background: #fbfdff; }
.formatted-description td + td, .formatted-description th + td, .formatted-description th + th, .formatted-description td + th { border-left: 1px solid #f1f5f9; }
.formatted-description td p, .formatted-description th p { margin: 0; }
