@page {
    margin: 2cm;
    size: portrait
}

html,
body {
    height: initial !important;
    overflow: initial !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

body {
    margin: 0;
    color: #000;
    background-color: #fff;
}

header,
aside,
nav,
form,
iframe,
.menu,
.hero,
.adslot {
    display: none;
}

.page-search{
    display: none;
}

* {
    background-image: none !important;
}

img.dark {
    filter: invert(100%) hue-rotate(180deg) brightness(120%) contrast(150%);
}

a::after {
    content: " (" attr(href) ")";
}

h1 {
    break-before: always;
    -webkit-break-before: always;
}

footer {
    position: fixed;
    bottom: 0;
}


.dashed-line {
    border-top: 1px dashed black;
    margin: 10px auto;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;

}

.dashed-line span {
    background: white;
    padding: 0 10px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.ticket-print {
    display: block;
}



.ticket-print {
    width: 80mm;
    display: block;

    * {
        font-size: 14px;
        font-optical-sizing: auto;
        text-transform: uppercase;
    }

    h1{
        font-size: 18px;
    }

    table {
        margin: 0 auto;
        width: 100%;
    }

    td,
    th,
    tr,
    table {
        border-top: 1px solid black;
        border-collapse: collapse;
        text-align: left;
    }

    td.description,
    th.description {}

    td.quantity,
    th.quantity {

        word-break: break-all;
    }

    td.price,
    th.price {

        word-break: break-all;
    }

    .centered {
        text-align: center;
        align-content: center;
    }


    img {
        max-width: inherit;
        width: inherit;
    }
}