/* Shared browser/email stylesheet. mail::compile() converts these rules to inline styles. */
.om-page { width: 100%; background-color: #f5f5f5; border-collapse: collapse; }
.om-page-padding { padding: 24px 12px; }
.om-card { width: 100%; max-width: 900px; background-color: #ffffff; border-radius: 14px; border-collapse: separate; }
.om-body { padding: 28px 24px; color: #242424; font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.65; text-align: left; }
.om-body p { margin: 0 0 14px; }
.om-body a { color: #303030; }
.om-heading { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid #dedede; }
.om-heading .om-reference { margin: 0 0 10px; color: #595959; font-size: 12px; letter-spacing: 1px; }
.om-heading h1 { margin: 0; color: #242424; font-size: 30px; line-height: 1.2; font-weight: 600; }
.om-body #message_header { margin-bottom: 16px; color: #595959; font-size: 13px; }
.om-body #message_footer { margin-top: 24px; padding-top: 20px; border-top: 1px solid #dedede; color: #595959; font-size: 13px; }
.order-invoice { margin-top: 24px; color: #242424; }
.order-invoice table { width: 100%; border-collapse: collapse; }
.order-invoice td { vertical-align: top; font-family: Arial, Helvetica, sans-serif; }
.om-body .order-invoice h2 { margin: 28px 0 20px; padding-top: 24px; border-top: 1px solid #dedede; font-size: 18px; line-height: 1.4; }
.om-body .order-invoice h3 { margin: 0 0 8px; font-size: 15px; line-height: 1.5; }
.order-invoice .om-number { color: #595959; font-size: 12px; }
.om-meta { background-color: #ececec; border-radius: 10px; }
.om-meta td { padding: 18px; font-size: 14px; }
.om-label, .om-muted { color: #595959; font-size: 12px; }
.om-items td { padding: 18px 0; border-bottom: 1px solid #e8e8e8; }
.om-items .om-item-info { padding-right: 16px; }
.om-detail { color: #595959; font-size: 12px; }
.om-discount { color: #166534; font-size: 12px; }
.om-price { text-align: right; white-space: nowrap; font-size: 16px; font-weight: bold; }
.om-totals { margin-top: 24px; }
.om-totals td { padding: 8px 0; font-size: 13px; }
.om-amount { text-align: right; white-space: nowrap; }
.om-totals .om-total { padding-top: 18px; border-top: 1px solid #dedede; font-size: 18px; font-weight: bold; }
.om-totals .om-total.om-amount { color: #303030; font-size: 25px; }
.om-addresses td { padding: 16px; border: 1px solid #dedede; color: #595959; font-size: 13px; word-break: break-word; }
.om-addresses h3 { color: #242424; }
.om-tax th, .om-tax td { padding: 10px 6px; text-align: right; border-bottom: 1px solid #dedede; font-size: 12px; }
.om-tax th { background-color: #ececec; }
.om-tax .om-left { text-align: left; }
.om-help { margin-top: 28px; padding: 20px; background-color: #ececec; border-radius: 10px; font-size: 13px; }
.om-help p { margin: 4px 0 0; color: #595959; }

.order-invoice { font-family: Arial, Helvetica, sans-serif; font-size: 15px; line-height: 1.65; }
.order-invoice p { margin: 0 0 14px; }
.om-card .om-body { overflow-wrap: anywhere; }
.om-body .om-tax { table-layout: fixed; }
.om-body .om-tax th, .om-body .om-tax td { overflow-wrap: anywhere; }

/* Same cart_thumb asset and 90 x 100 image area as Checkout/Items. */
.om-items .om-item-thumbnail { width: 108px; padding-right: 18px; }
.order-invoice .om-image-frame { width: 90px; border-collapse: separate; }
.om-items .om-image-cell { width: 90px; height: 100px; padding: 0; border: 0; vertical-align: middle; text-align: center; background-color: #f8f8f8; border-radius: 8px; color: #595959; }
.om-image-cell .om-item-image { display: block; width: 90px; max-width: 100%; height: auto; border: 0; }
