.page{width:210mm;height:297mm}.field{color:#000;position:absolute}.serial{top:46mm}[dir=ltr] .serial{left:31mm}[dir=rtl] .serial{right:31mm}.date{top:55mm}[dir=ltr] .date{left:31mm}[dir=rtl] .date{right:31mm}.type{top:65mm}[dir=ltr] .type{left:31mm}[dir=rtl] .type{right:31mm}.creater{top:75mm}[dir=ltr] .creater{left:35mm}[dir=rtl] .creater{right:35mm}.payStatus{top:65mm}[dir=ltr] .payStatus{left:96mm}[dir=rtl] .payStatus{right:96mm}.lottery{top:75mm}[dir=ltr] .lottery{left:96mm}[dir=rtl] .lottery{right:96mm}.customerData{top:93mm;width:175mm;position:relative}[dir=ltr] .customerData{left:20mm}[dir=rtl] .customerData{right:20mm}.customerData p{min-height:10mm;display:flex}[dir] .customerData p{padding:0;margin:0}.customerData span{display:inline-block}.customerData .customer{width:74mm}.customerData .mobile{width:47mm}.customerData .phone{width:fit-content}.customerData .state{width:40mm}.customerData .city{width:48mm}.customerData .address,.customerData .postalCode{width:fit-content}.products{top:110mm;width:175mm;position:relative;max-height:70mm}[dir=ltr] .products{left:24mm}[dir=rtl] .products{right:24mm}.products p{min-height:10mm;display:flex;align-items:center}.products .pName{display:inline-block;width:58mm}.products .pPrice{display:inline-block;width:21mm}[dir] .products .pPrice{text-align:center}.products .pNumber{display:inline-block;width:17mm}[dir] .products .pNumber{text-align:center}.products .pDiscount{display:inline-block;width:30mm}[dir] .products .pDiscount{text-align:center}.products .pFinalPrice{display:inline-block;width:48mm}[dir] .products .pFinalPrice{text-align:center}.price{top:213mm;width:49mm}[dir] .price{text-align:center}[dir=ltr] .price{left:148mm}[dir=rtl] .price{right:148mm}.tax{top:224mm;width:49mm}[dir] .tax{text-align:center}[dir=ltr] .tax{left:148mm}[dir=rtl] .tax{right:148mm}.post{top:235mm;width:49mm}[dir] .post{text-align:center}[dir=ltr] .post{left:148mm}[dir=rtl] .post{right:148mm}.discount{top:246mm;width:49mm}[dir] .discount{text-align:center}[dir=ltr] .discount{left:148mm}[dir=rtl] .discount{right:148mm}.payPrice{top:257mm;width:49mm}[dir] .payPrice{text-align:center}[dir=ltr] .payPrice{left:148mm}[dir=rtl] .payPrice{right:148mm}.ref1{top:243mm}[dir=ltr] .ref1{left:57mm}[dir=rtl] .ref1{right:57mm}.ref2{top:251mm}[dir=ltr] .ref2{left:57mm}[dir=rtl] .ref2{right:57mm}.ref3{top:258mm}[dir=ltr] .ref3{left:57mm}[dir=rtl] .ref3{right:57mm}.subpage{height:100%;width:100%;position:relative}[dir] .subpage{margin:0;background-size:cover;padding:0}@font-face{font-family:IRANSans;src:url(../fonts/IRANSansWeb.0b5055ac.woff2) format("woff2"),url(../fonts/IRANSansWeb.c26a9eb2.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}#pdf-container,body{font-family:IRANSans}[dir] body{margin:0;padding:0;background-color:#fafafa}*{box-sizing:border-box;-moz-box-sizing:border-box}.buttons{position:sticky;top:0;z-index:10000;display:flex;flex-direction:row;align-items:center;justify-content:center;width:100%}[dir] .buttons{background-color:#fff;padding:10px}[dir] .page{background:#fff;background-size:cover;margin:0;padding:0}@page{size:A4 landscape;margin:0}@media print{@font-face{font-family:IRANSans;src:url(../fonts/IRANSansWeb.0b5055ac.woff2) format("woff2"),url(../fonts/IRANSansWeb.c26a9eb2.ttf) format("truetype");font-weight:400;font-style:normal;font-display:swap}#pdf-container{font-family:IRANSans,sans-serif}body{font-family:IRANSans}.page{page-break-after:always}.btn-scroll-to-top,.buttons{display:none}}