/**
 * CSS para Templates PDF: Brochure + Cotización
 * Diseño business premium v1
 * Scope: #omBrochureTemplate, #omCotizacionTemplate
 */

#omBrochureTemplate,
#omCotizacionTemplate {
    --p: #7835E8;
    --pd: #29108F;
    --pl: #5C1F9E;
    --ink: #1a0f3d;
    --soft: #5a4d7a;
    --mut: #8e83a5;
    --hair: #ece5f7;
    --bg1: #faf7ff;
    --bg2: #f3eaff;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

#omBrochureTemplate *,
#omCotizacionTemplate * {
    box-sizing: border-box;
}

.ompdf {
    background: #fff;
    color: var(--ink);
    width: 800px;
    display: flex;
    flex-direction: column;
    font-size: 13px;
    line-height: 1.4;
    box-sizing: border-box;
}

/* ===== HEADER ===== */
.ompdf__head {
    padding: 16px 44px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--hair);
}
.ompdf__brand {
    display: flex;
    align-items: center;
    gap: 11px;
}
.ompdf__mark-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
}
.ompdf__brand-name {
    font-size: 13px;
    font-weight: 800;
    color: var(--pd);
    letter-spacing: .04em;
}
.ompdf__brand-tag {
    font-size: 10px;
    color: var(--mut);
    font-weight: 500;
    letter-spacing: .04em;
    margin-top: 1px;
}
.ompdf__head-right {
    text-align: right;
}
.ompdf__doc {
    font-size: 14px;
    font-weight: 800;
    color: var(--pd);
    letter-spacing: .10em;
}
.ompdf__folio {
    font-size: 10px;
    color: var(--mut);
    font-weight: 600;
    letter-spacing: .06em;
    margin-top: 2px;
}
.ompdf__rule {
    height: 2px;
    background: linear-gradient(90deg, var(--p) 0%, var(--pl) 50%, var(--pd) 100%);
    opacity: .85;
}

/* ===== PRODUCTO ===== */
.ompdf__prod {
    padding: 20px 44px 16px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: flex-start;
}
.ompdf__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.01em;
    line-height: 1.15;
    text-transform: uppercase;
    margin: 0 0 6px 0;
}
.ompdf__loc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--soft);
    font-weight: 500;
    margin-bottom: 10px;
}
.ompdf__pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.ompdf__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid var(--hair);
    border-radius: 99px;
    font-size: 11px;
    color: var(--ink);
    font-weight: 600;
}

/* Card derecho con info clave */
.ompdf__prod-card {
    padding: 16px 18px;
    background: var(--bg1);
    border-radius: 10px;
    border: 1px solid var(--hair);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.ompdf__pi {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.ompdf__pi-ico {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: #fff;
    border: 1px solid var(--hair);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ompdf__pi-lbl {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--mut);
    text-transform: uppercase;
}
.ompdf__pi-val {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink);
    margin-top: 1px;
    line-height: 1.3;
}

/* ===== EYEBROW ===== */
.ompdf__eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .18em;
    color: var(--ink);
    text-transform: uppercase;
    margin: 12px 44px 10px;
}

/* ===== INFO ROWS (cliente / viaje) ===== */
.ompdf__info-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 22px;
    padding: 0 44px;
    margin-bottom: 14px;
}
.ompdf__info-row--viaje {
    padding-top: 14px;
    border-top: 1px dashed var(--hair);
    margin: 0 44px 22px;
    padding-left: 0;
    padding-right: 0;
}
.ompdf__info-cell {
    display: flex;
    gap: 9px;
    align-items: flex-start;
}
.ompdf__info-ico {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--bg1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--hair);
}
.ompdf__info-lbl {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .10em;
    color: var(--mut);
    text-transform: uppercase;
    margin-bottom: 2px;
}
.ompdf__info-val {
    font-size: 11px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

/* ===== TABLA TARIFAS (brochure) ===== */
.ompdf__tbl-wrap {
    padding: 0 44px;
    margin-bottom: 18px;
}
.ompdf__tbl {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 12px;
}
.ompdf__tbl thead th {
    padding: 11px 14px;
    background: var(--bg1);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .10em;
    color: var(--soft);
    text-transform: uppercase;
    text-align: left;
    border-top: 1px solid var(--hair);
    border-bottom: 1px solid var(--hair);
}
.ompdf__tbl thead th:first-child {
    border-top-left-radius: 8px;
    border-left: 1px solid var(--hair);
    padding-left: 18px;
}
.ompdf__tbl thead th:last-child {
    border-top-right-radius: 8px;
    border-right: 1px solid var(--hair);
    text-align: right;
    padding-right: 18px;
}
.ompdf__tbl tbody td {
    padding: 12px 14px;
    color: var(--ink);
    border-bottom: 1px solid var(--hair);
    font-weight: 500;
}
.ompdf__tbl tbody td:first-child {
    font-weight: 700;
    padding-left: 18px;
    border-left: 1px solid var(--hair);
}
.ompdf__tbl tbody td:last-child {
    font-weight: 700;
    text-align: right;
    padding-right: 18px;
    border-right: 1px solid var(--hair);
}
.ompdf__tbl tbody tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}
.ompdf__tbl tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}
.ompdf__mxn {
    font-size: 9px;
    color: var(--mut);
    font-weight: 600;
    letter-spacing: .06em;
    margin-left: 3px;
}
.ompdf__tbl-note {
    font-size: 10px;
    color: var(--mut);
    font-style: italic;
    margin-top: 8px;
    padding: 0 4px;
}

/* ===== HABITACIONES (cotización - JS injected) ===== */
.ompdf__habs-wrap {
    padding: 0 44px;
    margin-bottom: 16px;
}
.ompdf__habs {
    padding: 16px 18px;
    background: var(--bg1);
    border: 1px solid var(--hair);
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--ink);
}
.ompdf__habs strong {
    color: var(--pd);
    font-weight: 700;
}
.ompdf__habs small {
    color: var(--soft);
    font-size: 11px;
}
.ompdf__habs > div {
    margin-bottom: 10px;
}
.ompdf__habs > div:last-child {
    margin-bottom: 0;
}

/* ===== TOTAL ===== */
.ompdf__total-wrap {
    margin: 0 44px 22px;
    padding: 18px 22px;
    background: linear-gradient(135deg, #faf7ff 0%, #f3eaff 100%);
    border: 1px solid var(--hair);
    border-left: 3px solid var(--p);
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ompdf__total-lbl {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--soft);
    text-transform: uppercase;
    margin-bottom: 3px;
}
.ompdf__total-sub {
    font-size: 10px;
    color: var(--mut);
    font-weight: 500;
    font-style: italic;
}
.ompdf__total-amt {
    font-size: 30px;
    font-weight: 800;
    color: var(--pd);
    letter-spacing: -.02em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.ompdf__total-mxn {
    font-size: 13px;
    color: var(--mut);
    font-weight: 700;
    letter-spacing: .06em;
    margin-left: 4px;
}

/* ===== BLOQUES ===== */
.ompdf__blocks {
    padding: 0 44px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    margin-bottom: 26px;
}
.ompdf__blk {
    padding: 14px 16px;
    background: var(--bg1);
    border: 1px solid var(--hair);
    border-radius: 10px;
}
.ompdf__blk-hd {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.ompdf__blk-ico {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--hair);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ompdf__blk-ttl {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--ink);
    text-transform: uppercase;
}
.ompdf__blk-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ompdf__blk-item {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 10px;
    line-height: 1.4;
    color: var(--soft);
    font-weight: 500;
}
.ompdf__blk-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}
.ompdf__blk-big {
    font-size: 18px;
    font-weight: 800;
    color: var(--pd);
    margin-bottom: 3px;
}
.ompdf__blk-sub {
    font-size: 10px;
    color: var(--mut);
    font-weight: 500;
    line-height: 1.45;
}

/* ===== FOOTER ===== */
.ompdf__ft {
    margin-top: 0;
    border-top: 2px solid var(--hair);
    padding: 14px 44px 14px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    align-items: center;
    background: #fff;
}
.ompdf__ft-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ompdf__ft-mark-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}
.ompdf__ft-name {
    font-size: 11px;
    font-weight: 800;
    color: var(--pd);
    letter-spacing: .04em;
}
.ompdf__ft-name small {
    display: block;
    font-size: 9px;
    color: var(--mut);
    font-weight: 500;
    letter-spacing: .04em;
    margin-top: 1px;
}
.ompdf__ft-center {
    font-size: 10px;
    color: var(--mut);
    text-align: center;
    line-height: 1.55;
    font-weight: 500;
}
.ompdf__ft-right {
    font-size: 10px;
    color: var(--mut);
    line-height: 1.6;
    font-weight: 500;
}
.ompdf__ft-row {
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-end;
}
.ompdf__ft-row strong {
    color: var(--ink);
    font-weight: 700;
}
.ompdf__ft-rnt {
    margin-top: 3px;
    font-size: 9px;
    color: var(--mut);
    text-align: right;
}

/* ===== ITINERARIO (TOURS) ===== */
.ompdf__itin { display: flex; flex-direction: column; gap: 14px; margin: 0 44px 18px; }
.ompdf__itin-day { background: #faf7ff; border: 1px solid #ece5f7; border-radius: 8px; padding: 12px 14px; page-break-inside: avoid; }
.ompdf__itin-day-head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #ece5f7; }
.ompdf__itin-day-num { background: #7835E8; color: #fff; padding: 3px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; letter-spacing: 0.3px; text-transform: uppercase; }
.ompdf__itin-day-title { font-size: 12px; font-weight: 700; color: #1a0f3d; }
.ompdf__itin-acts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ompdf__itin-acts li { display: flex; gap: 12px; align-items: flex-start; }
.ompdf__itin-hour { flex: 0 0 48px; font-size: 10px; font-weight: 700; color: #29108F; padding: 3px 6px; background: #fff; border: 1px solid #e0d4f5; border-radius: 4px; text-align: center; line-height: 1.2; }
.ompdf__itin-act-body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ompdf__itin-act-name { font-size: 11px; font-weight: 600; color: #1a0f3d; line-height: 1.4; }
.ompdf__itin-act-desc { font-size: 9.5px; color: #5a4d7a; line-height: 1.45; }
.ompdf__itin-desc { font-size: 10.5px; color: #5a4d7a; line-height: 1.5; }

/* ===== FECHAS MINI (en bloque RESERVAS de tours) ===== */
.ompdf__fechas-mini { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.ompdf__fecha-mini { display: inline-flex; align-items: baseline; gap: 3px; padding: 2px 7px; background: #f3eaff; border: 1px solid #d9c4f5; border-radius: 999px; font-size: 9px; line-height: 1.4; }
.ompdf__fecha-mini strong { color: #29108F; font-weight: 700; }
.ompdf__fecha-mini em { color: #5a4d7a; font-style: normal; font-size: 8px; text-transform: uppercase; letter-spacing: 0.3px; }

/* ===== PAGE BREAKS para multi-página ===== */
.ompdf__blk { page-break-inside: avoid; break-inside: avoid; }
.ompdf__itin-day { page-break-inside: avoid; break-inside: avoid; }
.ompdf__tbl-wrap { page-break-inside: avoid; break-inside: avoid; }
.ompdf__prod-card { page-break-inside: avoid; break-inside: avoid; }
.ompdf__ft { page-break-inside: avoid; break-inside: avoid; }



/* === COTIZACIÓN PDF — COMPACTACIÓN + TEXTO LEGAL === */

/* Fila de información (cliente): solo 2 celdas ahora — distribuir mejor */
.ompdf__info-row:not(.ompdf__info-row--viaje) {
    grid-template-columns: 1fr 1fr !important;
    max-width: 60% !important;
}

/* Reducir espaciado entre secciones (más compacto) */
.ompdf__eyebrow {
    margin-top: 16px !important;
    margin-bottom: 8px !important;
    padding-top: 14px !important;
}
.ompdf__info-row {
    margin-bottom: 10px !important;
    gap: 12px 22px !important;
}
.ompdf__habs-wrap {
    margin-bottom: 12px !important;
}
.ompdf__blocks {
    padding-top: 16px !important;
    margin-top: 16px !important;
    margin-bottom: 14px !important;
}
.ompdf__total-wrap {
    margin-top: 10px !important;
    padding-top: 8px !important;
    margin-bottom: 14px !important;
}

/* === TEXTO LEGAL al final, antes del footer === */
.ompdf__legal {
    padding: 10px 44px 14px;
    font-size: 9.5px;
    color: var(--mut);
    font-style: italic;
    text-align: center;
    border-top: 1px solid #e8e0f5;
    margin-top: 4px;
    letter-spacing: 0.02em;
}


/* ============================================================
 * ESTILO PREVIEW v5 — Cotización PDF
 * Líneas dashed entre secciones · Summary card lateral · Tabla limpia
 * ============================================================ */

/* === SEPARADOR DASHED entre INFO CLIENTE e INFO VIAJE === */
.ompdf__info-row--viaje {
    border-top: 1px dashed #ece5f7 !important;
    padding-top: 18px !important;
    margin-top: 4px !important;
    margin-bottom: 24px !important;
    grid-template-columns: repeat(4, 1fr) !important;
    max-width: 100% !important;
}

/* === DETALLE DE HABITACIONES (contenedor) === */
.ompdf__habs-wrap {
    padding: 0 44px !important;
    margin-bottom: 18px !important;
}

/* === SUMMARY CARD (reemplaza el banner morado del TOTAL) === */
.ompdf__tbl-foot {
    padding: 0 44px;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 24px;
}
.ompdf__tbl-foot-note {
    font-size: 10px;
    color: #8e83a5;
    font-style: italic;
    padding-top: 8px;
    line-height: 1.6;
}
.ompdf__sum {
    padding: 16px 22px;
    background: #faf7ff;
    border: 1px solid #ece5f7;
    border-radius: 10px;
}
.ompdf__sum-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
}
.ompdf__sum-total-lbl {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #1a0f3d;
    text-transform: uppercase;
}
.ompdf__sum-total-val {
    font-size: 26px;
    font-weight: 800;
    color: #29108F;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.ompdf__sum-mxn {
    font-size: 11px;
    color: #8e83a5;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-left: 4px;
}

/* === BLOCKS (INCLUYE/CONDICIONES/NOTAS) — estilo preview === */
.ompdf__blocks {
    padding: 0 44px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
    margin-bottom: 18px !important;
    margin-top: 8px !important;
}
.ompdf__blk {
    padding: 14px 16px !important;
    background: #faf7ff !important;
    border: 1px solid #ece5f7 !important;
    border-radius: 10px !important;
}
.ompdf__blk-hd {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px !important;
}
.ompdf__blk-ico {
    width: 24px !important;
    height: 24px !important;
    border-radius: 6px !important;
    background: #fff !important;
    border: 1px solid #ece5f7 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #7835E8 !important;
    flex-shrink: 0 !important;
}
.ompdf__blk-ttl {
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.14em !important;
    color: #1a0f3d !important;
    text-transform: uppercase !important;
}
.ompdf__blk-list,
.ompdf__blk ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ompdf__blk-list li,
.ompdf__blk ul li,
.ompdf__blk-item {
    font-size: 11px !important;
    line-height: 1.45 !important;
    color: #5a4d7a !important;
    font-weight: 500 !important;
    padding-left: 0 !important;
    margin: 0 !important;
}

/* === Margins de secciones más limpios (sin border-top) === */
.ompdf__eyebrow {
    margin-top: 18px !important;
    margin-bottom: 10px !important;
    padding-top: 0 !important;
    border-top: none !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.18em !important;
    color: #1a0f3d !important;
    text-transform: uppercase !important;
}
.ompdf__info-row {
    margin-bottom: 12px !important;
    gap: 14px 22px !important;
}

/* Resetear info-row (cliente): 2 celdas, sin restricción de ancho */
.ompdf__info-row:not(.ompdf__info-row--viaje) {
    grid-template-columns: 1fr 1fr !important;
    max-width: 50% !important;
}

/* Total wrap: sin border-top (ya quitado en HTML) */
.ompdf__total-wrap {
    border-top: none !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Texto legal con borde dashed más sutil */
.ompdf__legal {
    border-top: 1px dashed #ece5f7 !important;
    padding: 12px 44px 14px !important;
    margin-top: 8px !important;
}


/* === TABLA DE HABITACIONES — estilo preview === */
.ompdf__habs-wrap {
    padding: 0 44px !important;
    margin-bottom: 18px !important;
}
.ompdf__tbl {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}
.ompdf__tbl thead th {
    padding: 12px 14px;
    background: #faf7ff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.10em;
    color: #5a4d7a;
    text-transform: uppercase;
    text-align: left;
    border-top: 1px solid #ece5f7;
    border-bottom: 1px solid #ece5f7;
}
.ompdf__tbl thead th:first-child {
    border-top-left-radius: 8px;
    border-left: 1px solid #ece5f7;
    padding-left: 18px;
}
.ompdf__tbl thead th:last-child {
    border-top-right-radius: 8px;
    border-right: 1px solid #ece5f7;
    text-align: right;
    padding-right: 18px;
}
.ompdf__tbl tbody td {
    padding: 13px 14px;
    font-size: 12px;
    color: #1a0f3d;
    border-bottom: 1px solid #ece5f7;
    font-weight: 500;
    vertical-align: middle;
}
.ompdf__tbl tbody td:first-child {
    font-weight: 700;
    padding-left: 18px;
    border-left: 1px solid #ece5f7;
    color: #29108F;
}
.ompdf__tbl tbody td:last-child {
    font-weight: 700;
    text-align: right;
    padding-right: 18px;
    border-right: 1px solid #ece5f7;
}
.ompdf__tbl tbody tr:last-child td {
    border-bottom: 1px solid #ece5f7;
}
.ompdf__tbl tbody tr:last-child td:first-child {
    border-bottom-left-radius: 8px;
}
.ompdf__tbl tbody tr:last-child td:last-child {
    border-bottom-right-radius: 8px;
}
.ompdf__tbl-mxn {
    font-size: 9px;
    color: #8e83a5;
    font-weight: 600;
    letter-spacing: 0.06em;
    margin-left: 3px;
}


/* === REFUERZO Card del HERO (FECHA EMISIÓN + EJECUTIVO) === */
.ompdf__prod {
    padding: 24px 44px 20px !important;
    display: grid !important;
    grid-template-columns: 1fr 280px !important;
    gap: 32px !important;
    align-items: flex-start !important;
}
.ompdf__prod-card {
    padding: 18px 20px !important;
    background: #faf7ff !important;
    border-radius: 10px !important;
    border: 1px solid #ece5f7 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}
.ompdf__pi {
    display: flex !important;
    gap: 10px !important;
    align-items: flex-start !important;
}
.ompdf__pi-ico {
    width: 28px !important;
    height: 28px !important;
    border-radius: 7px !important;
    background: #fff !important;
    border: 1px solid #ece5f7 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    color: #7835E8 !important;
}

/* === SUMMARY CARD: Subtotal + separador + Total === */
.ompdf__sum-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}
.ompdf__sum-row-lbl {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.10em;
    color: #5a4d7a;
    text-transform: uppercase;
}
.ompdf__sum-row-val {
    font-size: 13px;
    font-weight: 700;
    color: #1a0f3d;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.ompdf__sum-sep {
    height: 1px;
    background: #ece5f7;
    margin: 8px 0;
}
.ompdf__sum-total {
    padding-top: 6px !important;
}

