.et-rec-overlay{position:fixed;inset:0;z-index:2147483200;background:rgba(2,22,26,.72);backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center;padding:12px}.et-rec-dialog{width:min(680px,97vw);max-height:96vh;background:#fff;border-radius:20px;overflow:hidden;display:flex;flex-direction:column;color:#15211e;box-shadow:0 30px 100px rgba(0,0,0,.38)}.et-rec-head{position:relative;display:flex;align-items:center;gap:10px;padding:12px 58px 12px 16px;border-bottom:1px solid #e3ebe8}.et-rec-head h2{margin:0;font-size:22px;font-weight:900}.et-rec-actions{margin-left:auto;display:flex;gap:7px;flex-wrap:wrap}.et-rec-x{border:0;background:#edf3f1;color:#10231f;border-radius:12px;width:42px;height:42px;font-size:25px;line-height:1;cursor:pointer}.et-rec-head>.et-rec-x{position:absolute;right:10px;top:10px}.et-rec-btn{border:0;border-radius:11px;min-height:40px;padding:0 14px;font-weight:900;background:#edf3f1;color:#173c34;cursor:pointer}.et-rec-btn.primary{background:#08a779;color:#fff}.et-rec-btn.blue{background:#089eaa;color:#fff}.et-rec-btn.purple{background:#8138ed;color:#fff}.et-rec-body{overflow:auto;padding:14px;background:#eef3f1}.et-rec-paper{margin:auto;background:#fff;width:min(100%,var(--et-rec-paper,80mm));padding:12px;font-size:var(--et-rec-font,12px);line-height:1.25;color:#111;box-shadow:0 5px 24px rgba(0,0,0,.11);box-sizing:border-box}.et-r-center{text-align:center}.et-r-logo{display:block;max-width:70px;max-height:70px;object-fit:contain;margin:0 auto 4px}.et-r-company{font-size:1.35em;font-weight:900}.et-r-rule{border-top:1px dashed #555;margin:8px 0}.et-r-row{display:flex;justify-content:space-between;gap:8px;margin:2px 0}.et-r-row b{text-align:right}.et-r-row.grand{font-size:1.12em}.et-r-product-head-title{background:#111;color:#fff;font-weight:900;padding:5px}.et-r-product-head{display:grid;background:#111;color:#fff;font-weight:800;font-size:.84em;padding:4px;gap:4px}.et-r-item{padding:6px 3px;border-bottom:1px dashed #777}.et-r-item-name{font-weight:900;font-size:1.04em}.et-r-item-meta{font-size:.8em;margin:2px 0}.et-r-item-grid{display:grid;gap:4px;align-items:end}.et-r-item-grid>div:not(:first-child){text-align:right}.et-r-retail{text-decoration:line-through;color:#666}.et-r-total{font-weight:900}.et-r-totals{padding:7px 3px}.et-r-solid{border-top:1px solid #222;margin:4px 0}.et-r-paytable{width:100%;border-collapse:collapse;margin:4px 0 8px}.et-r-paytable th{background:#e8e8e8;text-align:left;padding:4px}.et-r-paytable td{padding:4px;border-bottom:1px dashed #bbb}.et-r-paytable th:nth-child(n+2),.et-r-paytable td:nth-child(n+2){text-align:right}.et-r-box{border:1.5px dashed #111;border-radius:10px;padding:7px 9px;margin:8px 0}.et-r-box-title{text-align:center;font-weight:900;font-size:1.02em;margin-bottom:5px}.et-r-box-sep,.et-r-dash{border-top:1px dashed #999;margin:5px 0}.et-r-loyalty{padding:2px 3px 5px}.et-r-witem{padding:5px 0}.et-r-witem+.et-r-witem{border-top:1px dashed #aaa}.et-r-terms{margin-top:4px;border-top:1px dashed #aaa;padding-top:4px;font-size:.9em}.et-r-thanks{text-align:center;font-weight:900;margin:16px 4px 8px}.et-r-footer-note{text-align:center;margin:5px 0}.et-r-invoice-qr{text-align:center;margin-top:8px}.et-r-invoice-qr b{display:block}.et-r-invoice-qr img{display:block;width:120px;height:120px;object-fit:contain;margin:3px auto}.et-r-dev{text-align:center;border-top:1px dashed #999;margin-top:7px;padding-top:6px;font-size:.82em}.et-rec-choice{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:10px}.et-rec-choice button{min-height:118px;border:1px solid #dce6e3;border-radius:16px;background:#fff;font-size:18px;font-weight:900;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}.et-rec-choice button span{font-size:24px}.et-rec-choice .print{color:#087e56;background:#effbf6}.et-rec-choice .sms{color:#245fc1;background:#f0f5ff}.et-rec-choice .both{grid-column:1/-1;min-height:68px;color:#6e36c8;background:#f6f2ff}.et-rec-config{max-width:1160px;margin:18px auto;padding:0 18px}.et-rec-config-card{background:#fff;border:1px solid #e0e9e6;border-radius:20px;box-shadow:0 10px 35px rgba(14,45,38,.07);overflow:hidden}.et-rec-config-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid #e5ecea}.et-rec-config-head h2{margin:0;font-size:26px;font-weight:900}.et-rec-config-head p{margin:4px 0 0;color:#687b75}.et-rec-note{margin:16px 22px 0;padding:11px 14px;background:#eaf3ff;color:#254a8a;border-radius:11px}.et-rec-layouts{display:flex;gap:0;flex-wrap:wrap;padding:20px 22px 6px}.et-rec-layouts button{border:1px solid #08a557;background:#fff;color:#07924e;padding:9px 12px;font-weight:800;cursor:pointer}.et-rec-layouts button:first-child{border-radius:8px 0 0 8px}.et-rec-layouts button:last-child{border-radius:0 8px 8px 0}.et-rec-layouts button.active{background:#08a557;color:#fff}.et-rec-sections{padding:0 22px 20px}.et-rec-sections section{border-top:1px solid #e8eeec;padding:18px 0}.et-rec-sections h3{margin:0 0 12px;font-size:18px}.et-rec-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.et-rec-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;border:1px solid #dfe8e5;border-radius:12px;font-weight:700}.et-rec-toggle input{width:20px;height:20px}.et-rec-field{min-width:0}.et-rec-field.wide{grid-column:1/-1}.et-rec-field label{display:block;font-weight:800;margin-bottom:6px}.et-rec-field input,.et-rec-field select{width:100%;height:44px;border:1px solid #cad7d3;border-radius:10px;padding:0 11px;box-sizing:border-box}.et-rec-config-actions{display:flex;justify-content:flex-end;gap:10px;padding:14px 22px 20px;border-top:1px solid #e6eeeb}.et-rec-preview-toolbar{display:flex;justify-content:flex-end;margin-bottom:10px}.et-rec-config-preview{background:#f2f5f4;border-radius:14px;padding:16px;max-height:720px;overflow:auto}.et-rec-config-preview .et-rec-paper{box-shadow:0 4px 16px rgba(0,0,0,.08)}.et-rec-core-preview{min-height:260px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;background:#fff;border:1px dashed #b6c7c1;border-radius:14px;padding:30px}.et-rec-core-preview b{font-size:22px}.et-rec-core-preview span{max-width:620px;color:#65766f;margin-top:9px}.et-rec-error{padding:20px;color:#b42318;background:#fff1f0;border-radius:10px}.et-rec-menu-icon{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;min-width:18px}.et-rec-menu-icon svg{width:100%;height:100%;display:block}@media(max-width:760px){.et-rec-head{align-items:flex-start;flex-direction:column;padding-right:56px}.et-rec-actions{margin-left:0}.et-rec-config-grid{grid-template-columns:1fr}.et-rec-field.wide{grid-column:auto}.et-rec-choice{grid-template-columns:1fr}.et-rec-choice .both{grid-column:auto}.et-rec-layouts button{flex:1 1 45%;border-radius:8px!important;margin:2px}.et-rec-config{padding:0 8px}.et-rec-sections,.et-rec-config-head,.et-rec-config-actions{padding-left:14px;padding-right:14px}.et-rec-note{margin-left:14px;margin-right:14px}.et-rec-layouts{padding-left:14px;padding-right:14px}}@media print{.et-rec-paper{box-shadow:none}}
/* v1.1.1 receipt alignment / Unicode / logo editor */
.et-rec-paper{font-family:Arial,"Noto Sans Sinhala","Nirmala UI","Iskoola Pota","Malithi Web",sans-serif;line-height:1.28;overflow-wrap:anywhere}
.et-r-logo{object-fit:contain}
.et-r-row{align-items:flex-start}.et-r-row>span{min-width:0}.et-r-row b{white-space:nowrap}
.et-r-cur{font-size:.68em;font-weight:700;letter-spacing:.02em;vertical-align:.13em}.et-r-num{font-size:1em}
.et-r-product-headbar{background:#111;color:#fff;padding:0;margin-top:6px}.et-r-product-head-title{background:transparent;padding:5px 5px 2px}.et-r-product-head{background:transparent;padding:2px 5px 5px;gap:5px;align-items:end}.et-r-product-head .num{text-align:right}.et-r-item{padding-left:5px;padding-right:5px}.et-r-item-grid{gap:5px}.et-r-totals{padding-left:5px;padding-right:5px}
.et-r-paytable{table-layout:fixed}.et-r-paytable th,.et-r-paytable td{padding-left:5px;padding-right:5px;vertical-align:top}.et-r-paytable th:first-child,.et-r-paytable td:first-child{width:46%}.et-r-paymethod{line-height:1.15}.et-r-paymethod b{display:block}.et-r-paymethod small{display:block;font-size:.72em;font-weight:600;color:#333;margin-top:2px;overflow-wrap:anywhere}.et-r-na{color:#777}
.et-rec-logo-tools{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(260px,1.2fr);gap:16px;padding:14px;border:1px solid #dfe8e5;border-radius:14px;background:#f8fbfa}.et-rec-logo-label{display:block;font-weight:900;margin-bottom:8px}.et-rec-logo-current{min-height:74px;border:1px dashed #b7c9c3;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:10px;padding:8px;color:#60736c;text-align:center}.et-rec-logo-current img{max-width:90px;max-height:70px;object-fit:contain}.et-rec-logo-tools input[type=file]{max-width:100%}.et-rec-logo-crop{display:grid;grid-template-columns:180px 1fr;gap:12px;align-items:start}.et-rec-logo-crop canvas{width:180px;height:180px;border:1px solid #cbd9d5;border-radius:12px;background:#fff}.et-rec-logo-sliders label{display:block;font-size:12px;font-weight:800;margin:0 0 8px}.et-rec-logo-sliders input{width:100%}.et-rec-logo-actions{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:760px){.et-rec-logo-tools{grid-template-columns:1fr}.et-rec-logo-crop{grid-template-columns:1fr}.et-rec-logo-crop canvas{margin:auto}.et-rec-logo-actions{grid-column:auto}}
.et-r-logo{max-width:none;max-height:none}
/* v1.2.0 calculation + messaging configuration */
.et-rec-btn.email{background:#1769aa;color:#fff}
.et-rec-choice .email{color:#1769aa;background:#eef7ff}
.et-rec-field textarea{width:100%;border:1px solid #cad7d3;border-radius:10px;padding:10px 11px;box-sizing:border-box;resize:vertical;min-height:110px;font:inherit;line-height:1.4;background:#fff;color:#15211e}
.et-rec-template-help{grid-column:1/-1;margin:0 0 12px;padding:11px 13px;border-radius:11px;background:#f4f8f7;border:1px solid #dbe7e3;color:#526962;line-height:1.55}
.et-rec-template-help code{display:inline-block;margin:2px 3px 2px 0;padding:2px 6px;border-radius:6px;background:#e7f1ee;color:#155d4e;font-size:.88em}
/* v1.2.1 fully editable receipt labels / multilingual UI */
.et-rec-label-grid .et-rec-template-help{grid-column:1/-1}
.et-rec-label-subhead{grid-column:1/-1;margin:10px 0 0;padding:9px 12px;border-radius:10px;background:#eef6f3;color:#174f42;font-weight:900}
.et-rec-label-grid input{font-family:Arial,"Noto Sans Sinhala","Nirmala UI","Iskoola Pota","Malithi Web",sans-serif}
@media(max-width:760px){.et-rec-label-subhead{grid-column:auto}.et-rec-label-grid .et-rec-template-help{grid-column:auto}}
/* v1.2.2 unified preview/print professional thermal receipt */
.et-rec-paper{font-variant-numeric:tabular-nums;background:#fff;color:#111}
.et-r-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:10px;row-gap:0}
.et-r-row>b{display:flex;align-items:baseline;justify-content:flex-end;min-width:0}
.et-r-money{display:inline-flex;align-items:baseline;justify-content:flex-end;gap:3px;white-space:nowrap;line-height:1.05}
.et-r-sign{font-size:.9em;font-weight:800}
.et-r-cur{font-size:.62em!important;font-weight:800!important;line-height:1;letter-spacing:.01em;vertical-align:baseline!important;opacity:.82}
.et-r-num{font-size:1em;line-height:1.05;font-weight:inherit}
.et-r-product-headbar{background:#111!important;color:#fff!important;border-radius:2px 2px 0 0;overflow:hidden;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
.et-r-product-head-title,.et-r-product-head,.et-r-product-head *{background:#111!important;color:#fff!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
.et-r-product-head-title{padding:5px 5px 3px!important;line-height:1.05}
.et-r-product-head{padding:3px 5px 5px!important;line-height:1.05;font-size:.76em!important}
.et-r-product-head>div:first-child{text-align:left}.et-r-product-head>div:not(:first-child){text-align:right}
.et-r-item{padding:6px 5px!important}.et-r-item-grid{line-height:1.13}.et-r-item-grid .et-r-money{font-size:.96em}
.et-r-retail .et-r-money{color:#666}.et-r-total .et-r-money{font-weight:900}
.et-r-totals{padding:7px 5px 6px!important}.et-r-totals .et-r-row{margin:3px 0}.et-r-totals .grand{padding-top:1px}
.et-r-paytable{table-layout:fixed;width:100%;margin:5px 0 9px!important;font-variant-numeric:tabular-nums}
.et-r-paytable th{background:#e8e8e8!important;color:#111!important;font-weight:900;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
.et-r-paytable th:first-child,.et-r-paytable td:first-child{width:42%!important}.et-r-paytable th:nth-child(2),.et-r-paytable td:nth-child(2){width:31%}.et-r-paytable th:nth-child(3),.et-r-paytable td:nth-child(3){width:27%}
.et-r-paytable td:nth-child(n+2){white-space:nowrap}.et-r-paytable .et-r-money{font-size:.94em}
.et-r-paymethod small{line-height:1.2;margin-top:3px!important}
.et-r-box{break-inside:avoid;page-break-inside:avoid}.et-r-warranty{break-inside:auto;page-break-inside:auto}
.et-r-invoice-qr img{image-rendering:auto}
.et-r-center,.et-r-info,.et-r-products,.et-r-totals,.et-r-paytable,.et-r-loyalty,.et-r-thanks,.et-r-invoice-qr,.et-r-dev{box-sizing:border-box}
@media print{
  @page{margin:0;size:auto}
  html,body{margin:0!important;padding:0!important;background:#fff!important}
  body{font-family:Arial,"Noto Sans Sinhala","Nirmala UI","Iskoola Pota","Malithi Web",sans-serif!important}
  *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}
  .et-rec-paper{margin:0 auto!important;box-shadow:none!important;background:#fff!important}
  .et-r-product-headbar,.et-r-product-head-title,.et-r-product-head{background:#111!important;color:#fff!important}
  .et-r-paytable th{background:#e8e8e8!important;color:#111!important}
}

/* v1.2.3 card metadata + transaction-safe receipt */
.et-r-cardmeta{display:block!important;margin-top:3px!important;line-height:1.3!important}.et-r-cardmeta span{display:block!important;white-space:normal!important}.et-r-cardmeta b{display:inline!important;font-weight:800!important}

/* v1.2.4 native sidebar menu + compact professional card metadata */
.et-rec-menu .et-rec-menu-icon{width:19px!important;height:19px!important;flex:0 0 auto!important;min-width:0!important;margin:0!important;color:inherit!important}
.et-rec-menu .et-rec-link{font:inherit;color:inherit}
.et-rec-menu.active>.nav-link{background:var(--et-primary,var(--primary,#663399))!important;color:#fff!important}
.et-rec-menu.active>.nav-link .nav-icon,.et-rec-menu.active>.nav-link .nav-text{color:#fff!important}
.et-r-cardmeta{display:grid!important;gap:1px!important;margin-top:2px!important;font-size:.68em!important;line-height:1.15!important;font-weight:600!important;color:#333!important}
.et-r-cardmeta-main{display:flex!important;align-items:baseline!important;gap:4px!important;white-space:nowrap!important}
.et-r-cardmeta-main strong{font-weight:900!important;letter-spacing:.01em!important}
.et-r-cardmeta-main i{font-style:normal!important;opacity:.55!important;font-size:.85em!important}
.et-r-cardmeta-ref{display:block!important;white-space:normal!important;overflow-wrap:anywhere!important;color:#555!important}
.et-r-paytable th:first-child,.et-r-paytable td:first-child{width:50%!important}.et-r-paytable th:nth-child(2),.et-r-paytable td:nth-child(2){width:28%!important}.et-r-paytable th:nth-child(3),.et-r-paytable td:nth-child(3){width:22%!important}

/* v1.2.5 premium bill delivery / preview toolbar */
.et-rec-action-svg{width:19px;height:19px;display:block;flex:0 0 19px}
.et-rec-choice-dialog{width:min(920px,97vw)!important}
.et-rec-choice-dialog .et-rec-body{padding:14px 16px 16px;background:linear-gradient(180deg,#f7fbfa 0,#eef5f3 100%)}
.et-rec-choice{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;padding:0!important}
.et-rec-choice button{min-height:106px!important;border:1px solid #dbe7e3!important;border-radius:18px!important;padding:14px 12px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:8px!important;box-shadow:0 8px 22px rgba(17,59,49,.06);transition:transform .14s ease,box-shadow .14s ease,border-color .14s ease}
.et-rec-choice button:hover{transform:translateY(-2px);box-shadow:0 13px 28px rgba(17,59,49,.11)}
.et-rec-choice .both{grid-column:auto!important;min-height:106px!important}
.et-rec-choice-icon{width:42px;height:42px;border-radius:13px;display:flex!important;align-items:center;justify-content:center;background:rgba(255,255,255,.8);box-shadow:inset 0 0 0 1px rgba(0,0,0,.04)}
.et-rec-choice-icon .et-rec-action-svg{width:22px;height:22px}
.et-rec-choice-copy{display:flex;flex-direction:column;align-items:center;gap:2px;line-height:1.1}
.et-rec-choice-copy b{font-size:15px}.et-rec-choice-copy small{font-size:10.5px;font-weight:700;opacity:.68}
.et-rec-choice .print{color:#087e56;background:linear-gradient(180deg,#f4fffa,#eaf9f2)!important}.et-rec-choice .sms{color:#245fc1;background:linear-gradient(180deg,#f6f9ff,#ebf2ff)!important}.et-rec-choice .email{color:#1769aa;background:linear-gradient(180deg,#f5fbff,#eaf6ff)!important}.et-rec-choice .both{color:#6e36c8;background:linear-gradient(180deg,#fbf8ff,#f1eaff)!important}
.et-rec-preview-dialog{width:min(760px,97vw)!important}
.et-rec-preview-dialog .et-rec-head{min-height:64px;padding:9px 56px 9px 16px;gap:14px;background:#fff}
.et-rec-preview-dialog .et-rec-head h2{font-size:19px;white-space:nowrap;line-height:1.1}
.et-rec-preview-actions{display:grid!important;grid-auto-flow:column;grid-auto-columns:max-content;gap:7px!important;flex-wrap:nowrap!important;margin-left:auto!important;align-items:center}
.et-rec-preview-actions .et-rec-btn{min-height:40px;height:40px;padding:0 12px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:12px;box-shadow:0 5px 14px rgba(12,49,41,.08);white-space:nowrap;font-size:12px}
.et-rec-preview-actions .et-rec-btn .et-rec-action-svg{width:17px;height:17px}
.et-rec-preview-dialog .et-rec-body{padding:14px;background:linear-gradient(180deg,#eef5f3,#e8f0ed)}
.et-rec-finalizing-overlay{background:rgba(2,22,26,.58)!important;backdrop-filter:blur(2px)!important}
.et-rec-finalizing{display:flex;align-items:center;gap:13px;background:#fff;border-radius:18px;padding:17px 20px;box-shadow:0 24px 70px rgba(0,0,0,.28);min-width:300px;color:#153b32}
.et-rec-finalizing b{display:block;font-size:15px}.et-rec-finalizing small{display:block;margin-top:3px;color:#6b7c77;font-size:11px}
.et-rec-finalizing-ring{width:30px;height:30px;border:3px solid #d9ebe4;border-top-color:#08a779;border-radius:50%;animation:etRecSpin .65s linear infinite;flex:0 0 30px}
@keyframes etRecSpin{to{transform:rotate(360deg)}}
@media(max-width:780px){.et-rec-choice{grid-template-columns:repeat(2,minmax(0,1fr))!important}.et-rec-preview-dialog .et-rec-head{align-items:flex-start;flex-direction:column;padding-right:56px}.et-rec-preview-actions{grid-auto-flow:row!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;margin-left:0!important}.et-rec-preview-actions .et-rec-btn{width:100%}}
@media(max-width:460px){.et-rec-choice{grid-template-columns:1fr!important}.et-rec-preview-actions{grid-template-columns:1fr 1fr}}

.et-r-offer-note{margin:4px 0 2px;padding:5px 7px;border-radius:6px;background:#f3fbf6;border:1px dashed #7cc89b;font-size:calc(var(--et-rec-font)*.78);line-height:1.35;color:#164b2b}.et-r-offer-note span{display:block}.et-r-offer-note span+span{margin-top:2px}.et-r-offer-note b{font-weight:800}


/* v1.2.7 print uses the exact visible preview DOM; native sidebar menu appearance */
.et-rec-menu .et-rec-menu-icon{width:19px!important;height:19px!important;min-width:19px!important;max-width:19px!important;flex:0 0 19px!important;margin-top:0!important;margin-bottom:0!important}
.et-rec-menu .et-rec-link{font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important}
.et-rec-menu:not(.active) .et-rec-menu-icon{color:var(--et-primary,#16a34a)!important}
.et-rec-menu.active>.nav-link,.et-rec-menu.active>.nav-item-hold{background:var(--et-primary,var(--primary,#16a34a))!important;color:#fff!important}
.et-rec-menu.active .et-rec-menu-icon,.et-rec-menu.active .nav-text,.et-rec-menu.active .item-name{color:#fff!important}

/* v1.2.8 native menu visibility + professional offer quantity/totals */
.et-rec-menu .et-rec-link{display:flex!important;align-items:center!important;color:inherit!important;opacity:1!important;visibility:visible!important;gap:0!important}
.et-rec-menu .nav-text,.et-rec-menu .item-name{display:inline-block!important;visibility:visible!important;opacity:1!important;color:inherit!important;white-space:nowrap!important;width:auto!important;max-width:none!important}
.et-rec-menu:not(.active) .nav-text,.et-rec-menu:not(.active) .item-name{color:inherit!important}
.et-rec-menu:not(.active) .et-rec-menu-icon{color:var(--et-primary,#16a34a)!important}
.et-r-offer-note{margin:5px 0 3px!important;padding:6px 7px!important;border:1.4px dashed #53a976!important;border-radius:9px!important;background:#f5fcf8!important;color:#123e28!important}
.et-r-offer-title{display:flex!important;justify-content:space-between!important;align-items:baseline!important;gap:8px!important;padding-bottom:4px!important;border-bottom:1px dashed #b6ddc6!important}.et-r-offer-title span{font-size:.78em!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.03em!important}.et-r-offer-title b{text-align:right!important;font-size:.9em!important}
.et-r-offer-qty{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:4px!important;margin-top:5px!important}.et-r-offer-qty>div{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;background:#fff!important;border:1px solid #d7eee0!important;border-radius:6px!important;padding:4px 2px!important}.et-r-offer-qty span{font-size:.68em!important;color:#5d7067!important}.et-r-offer-qty b{font-size:.95em!important;color:#103f2b!important}
.et-r-offer-reward{margin-top:5px!important;padding-top:4px!important;border-top:1px dashed #b6ddc6!important;font-size:.78em!important}.et-r-offer-save{display:flex!important;justify-content:space-between!important;align-items:baseline!important;gap:8px!important;margin-top:5px!important;padding-top:4px!important;border-top:1px dashed #b6ddc6!important;font-size:.78em!important}.et-r-offer-save b{font-size:1.05em!important}
.et-r-totals{padding:8px 5px!important}.et-r-totals .et-r-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:baseline!important;gap:10px!important;margin:3px 0!important}.et-r-totals .et-r-row>b{min-width:96px!important;text-align:right!important;font-size:1.06em!important;font-weight:850!important}.et-r-totals .et-r-row.grand{font-size:1.08em!important;margin-top:4px!important}.et-r-totals .et-r-row.grand>b{font-size:1.14em!important}.et-r-totals .et-r-row.bold>b{font-size:1.08em!important}.et-r-totals .et-r-cur{font-size:.62em!important}.et-r-totals .et-r-num{font-size:1.08em!important;font-variant-numeric:tabular-nums!important}
@media print{.et-r-offer-note{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.et-r-offer-qty>div{background:#fff!important}.et-r-product-headbar{background:#111!important;color:#fff!important}}

.et-rec-menu:not(.active) .et-rec-link,.et-rec-menu:not(.active) .nav-text,.et-rec-menu:not(.active) .item-name{color:var(--et-rec-native-color,#4b4856)!important}

/* v1.2.9 print is a computed-style clone of the visible preview; no separate print template. */
\n
/* v1.3.0 professional thermal typography. Preview is the print source. */
.et-rec-paper{
  font-family:Arial,"Noto Sans Sinhala","Nirmala UI","Iskoola Pota",sans-serif!important;
  font-size:var(--et-rec-font,12px)!important;
  line-height:1.34!important;
  font-stretch:normal!important;
  letter-spacing:0!important;
  -webkit-font-smoothing:antialiased;
  text-rendering:geometricPrecision;
}
.et-rec-paper *{font-family:inherit;font-stretch:normal;letter-spacing:normal;box-sizing:border-box}
.et-r-company{font-size:1.22em!important;line-height:1.18!important;font-weight:800!important;letter-spacing:0!important}
.et-r-center{line-height:1.28!important}
.et-r-product-headbar{margin-top:7px!important;border-radius:0!important;overflow:hidden!important}
.et-r-product-head-title{font-size:.98em!important;line-height:1.15!important;padding:5px 6px 3px!important;font-weight:800!important}
.et-r-product-head{font-size:.72em!important;line-height:1.15!important;padding:3px 6px 5px!important;gap:5px!important;font-weight:800!important;align-items:end!important}
.et-r-item{padding:6px 6px!important;line-height:1.28!important}
.et-r-item-name{font-size:.98em!important;line-height:1.2!important;font-weight:800!important;margin-bottom:2px!important}
.et-r-item-meta{font-size:.72em!important;line-height:1.25!important;margin:1px 0 3px!important}
.et-r-item-grid{font-size:.88em!important;line-height:1.2!important;gap:5px!important;font-variant-numeric:tabular-nums!important}
.et-r-item-grid .et-r-total{font-size:1.02em!important;font-weight:800!important}
.et-r-money{display:inline-flex!important;align-items:baseline!important;justify-content:flex-end!important;gap:3px!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important}
.et-r-cur{font-size:.58em!important;line-height:1!important;vertical-align:baseline!important;font-weight:800!important;letter-spacing:.02em!important}
.et-r-num{font-size:1em!important;line-height:1!important;font-weight:inherit!important;letter-spacing:0!important}
.et-r-sign{font-size:.95em!important;line-height:1!important}
.et-r-totals{padding:7px 6px 6px!important}
.et-r-totals .et-r-row{grid-template-columns:minmax(0,1fr) minmax(110px,auto)!important;gap:10px!important;margin:3px 0!important;line-height:1.18!important}
.et-r-totals .et-r-row>span{font-size:.9em!important}
.et-r-totals .et-r-row>b{min-width:0!important;font-size:.98em!important;line-height:1.1!important;font-weight:750!important}
.et-r-totals .et-r-row.grand{margin-top:5px!important;padding-top:4px!important;font-size:1em!important}
.et-r-totals .et-r-row.grand>span,.et-r-totals .et-r-row.grand>b{font-size:1.04em!important;font-weight:850!important}
.et-r-paytable{font-size:.86em!important;line-height:1.2!important;table-layout:fixed!important}
.et-r-paytable th{padding:5px 6px!important;font-size:.92em!important;line-height:1.1!important;font-weight:800!important;vertical-align:middle!important}
.et-r-paytable td{padding:5px 6px!important;font-size:.9em!important;line-height:1.2!important;vertical-align:top!important}
.et-r-paytable th:first-child,.et-r-paytable td:first-child{width:48%!important}
.et-r-paytable th:nth-child(2),.et-r-paytable td:nth-child(2){width:30%!important}
.et-r-paytable th:nth-child(3),.et-r-paytable td:nth-child(3){width:22%!important}
.et-r-paymethod{line-height:1.15!important}.et-r-paymethod>b{font-size:1em!important;font-weight:800!important}
.et-r-cardmeta{font-size:.78em!important;line-height:1.18!important;margin-top:2px!important}
.et-r-box{padding:7px 9px!important;margin:8px 0!important}
.et-r-box-title{font-size:.94em!important;line-height:1.12!important;font-weight:850!important;margin-bottom:5px!important}
.et-r-box .et-r-row{line-height:1.18!important;margin:3px 0!important}.et-r-box .et-r-row>span{font-size:.88em!important}.et-r-box .et-r-row>b{font-size:.9em!important}
.et-r-loyalty .et-r-row{line-height:1.18!important;margin:3px 0!important}.et-r-loyalty .et-r-row>span,.et-r-loyalty .et-r-row>b{font-size:.9em!important}
.et-r-offer-note{font-size:.76em!important;line-height:1.3!important}
.et-r-offer-title span{font-size:.9em!important}.et-r-offer-title b{font-size:1em!important}
.et-r-offer-qty span{font-size:.78em!important}.et-r-offer-qty b{font-size:1em!important}
.et-r-thanks{font-size:.9em!important;line-height:1.25!important;margin:14px 4px 7px!important}
.et-r-dev{font-size:.72em!important;line-height:1.25!important}
@media print{
  html,body{font-family:Arial,"Noto Sans Sinhala","Nirmala UI","Iskoola Pota",sans-serif!important}
  .et-rec-paper{font-family:Arial,"Noto Sans Sinhala","Nirmala UI","Iskoola Pota",sans-serif!important;text-rendering:geometricPrecision!important}
}


/* v1.3.1 reference-PDF typography polish only. No billing/data logic changes. */
.et-rec-paper{
  color:#171717!important;
  font-family:Arial,"Noto Sans Sinhala","Nirmala UI","Iskoola Pota",sans-serif!important;
  font-stretch:normal!important;
  letter-spacing:0!important;
  line-height:1.30!important;
  text-rendering:optimizeLegibility!important;
}
.et-rec-paper *{
  font-stretch:normal!important;
  letter-spacing:0!important;
  transform:none;
}
.et-r-company{
  color:#141414!important;
  font-size:1.30em!important;
  line-height:1.12!important;
  font-weight:800!important;
}
.et-r-info .et-r-row{
  line-height:1.20!important;
  margin:2px 0!important;
}
.et-r-info .et-r-row>span,
.et-r-info .et-r-row>b{
  font-size:.96em!important;
}
.et-r-info .et-r-row>span{font-weight:700!important;color:#232323!important}
.et-r-info .et-r-row>b{font-weight:700!important;color:#202020!important}
.et-r-product-headbar{
  background:#171717!important;
  color:#fff!important;
  margin-top:7px!important;
  -webkit-print-color-adjust:exact!important;
  print-color-adjust:exact!important;
}
.et-r-product-head-title{
  font-size:1.06em!important;
  line-height:1.12!important;
  padding:6px 7px 3px!important;
  font-weight:800!important;
}
.et-r-product-head{
  font-size:.82em!important;
  line-height:1.08!important;
  padding:4px 7px 6px!important;
  gap:5px!important;
  font-weight:800!important;
}
.et-r-item{
  padding:7px 7px 6px!important;
  color:#171717!important;
}
.et-r-item-name{
  font-size:1.08em!important;
  line-height:1.15!important;
  font-weight:800!important;
  color:#151515!important;
  margin-bottom:3px!important;
}
.et-r-item-meta{
  font-size:.78em!important;
  line-height:1.18!important;
  color:#333!important;
  margin:1px 0 4px!important;
}
.et-r-item-grid{
  font-size:.98em!important;
  line-height:1.12!important;
  gap:5px!important;
  color:#171717!important;
}
.et-r-item-grid>div{white-space:nowrap!important}
.et-r-item-grid>div:first-child{font-weight:500!important}
.et-r-retail{color:#666!important;text-decoration-thickness:1px!important}
.et-r-item-grid .et-r-total{
  font-size:1.10em!important;
  line-height:1.05!important;
  font-weight:800!important;
  color:#111!important;
}
.et-r-money{
  gap:3px!important;
  font-stretch:normal!important;
  letter-spacing:0!important;
}
.et-r-cur{
  font-size:.66em!important;
  line-height:1!important;
  font-weight:700!important;
  color:#444!important;
  vertical-align:baseline!important;
}
.et-r-num{
  font-size:1.06em!important;
  line-height:1!important;
  font-weight:inherit!important;
  color:inherit!important;
}
.et-r-totals{
  padding:8px 7px 7px!important;
  color:#171717!important;
}
.et-r-totals .et-r-row{
  grid-template-columns:minmax(0,1fr) minmax(120px,auto)!important;
  gap:10px!important;
  margin:3px 0!important;
  line-height:1.12!important;
}
.et-r-totals .et-r-row>span{
  font-size:1.00em!important;
  font-weight:500!important;
}
.et-r-totals .et-r-row>b{
  font-size:1.08em!important;
  font-weight:700!important;
  color:#151515!important;
}
.et-r-totals .et-r-row.grand{
  margin-top:5px!important;
  padding-top:5px!important;
  font-size:1.05em!important;
}
.et-r-totals .et-r-row.grand>span{
  font-size:1.04em!important;
  font-weight:700!important;
}
.et-r-totals .et-r-row.grand>b{
  font-size:1.14em!important;
  font-weight:800!important;
}
.et-r-totals .et-r-row.bold>b{font-size:1.10em!important;font-weight:800!important}
.et-r-totals .et-r-cur{font-size:.64em!important;color:#3f3f3f!important}
.et-r-totals .et-r-num{font-size:1.08em!important}
.et-r-solid{border-top:1.4px solid #202020!important;margin:5px 0!important}
.et-r-paytable{
  font-size:.98em!important;
  line-height:1.15!important;
  margin:5px 0 9px!important;
}
.et-r-paytable th{
  background:#303030!important;
  color:#fff!important;
  padding:6px 7px!important;
  font-size:.96em!important;
  line-height:1.08!important;
  font-weight:800!important;
  -webkit-print-color-adjust:exact!important;
  print-color-adjust:exact!important;
}
.et-r-paytable td{
  padding:6px 7px!important;
  font-size:.97em!important;
  line-height:1.18!important;
  color:#181818!important;
}
.et-r-paymethod>b{font-size:1.02em!important;font-weight:800!important}
.et-r-cardmeta{font-size:.82em!important;line-height:1.2!important;color:#333!important}
.et-r-box{
  border-color:#222!important;
  border-radius:10px!important;
  padding:8px 10px!important;
  margin:9px 0!important;
}
.et-r-box-title{
  color:#171717!important;
  font-size:1.02em!important;
  line-height:1.10!important;
  font-weight:800!important;
}
.et-r-box .et-r-row>span,
.et-r-loyalty .et-r-row>span{font-size:.96em!important}
.et-r-box .et-r-row>b,
.et-r-loyalty .et-r-row>b{font-size:1.01em!important;font-weight:700!important;color:#161616!important}
.et-r-offer-note{color:#173d29!important}
.et-r-thanks{font-size:.98em!important;line-height:1.22!important;color:#171717!important}
.et-r-invoice-qr b{font-size:.92em!important;color:#1b1b1b!important}
.et-r-dev{font-size:.76em!important;color:#333!important}
@media print{
  .et-rec-paper{color:#171717!important}
  .et-r-product-headbar{background:#171717!important;color:#fff!important}
  .et-r-paytable th{background:#303030!important;color:#fff!important}
}
\n
/* v1.3.2 owner-adjustable receipt typography. Live preview and print share these exact values. */
.et-r-item-name{font-size:var(--et-rec-product-name-font,13px)!important;line-height:1.16!important}
.et-r-product-head-title{font-size:var(--et-rec-table-head-font,10px)!important;line-height:1.12!important}
.et-r-product-head{font-size:var(--et-rec-table-head-font,10px)!important;line-height:1.10!important}
.et-r-item-grid{font-size:var(--et-rec-item-price-font,13px)!important;line-height:1.12!important}
.et-r-item-grid .et-r-num{font-size:1em!important}
.et-r-item-grid .et-r-total{font-size:var(--et-rec-item-price-font,13px)!important;line-height:1.06!important}
.et-r-totals .et-r-row>b{font-size:var(--et-rec-total-amount-font,14px)!important;line-height:1.08!important}
.et-r-totals .et-r-row.grand>b,.et-r-totals .et-r-row.bold>b{font-size:var(--et-rec-total-amount-font,14px)!important}
.et-r-paytable td:nth-child(2),.et-r-paytable td:nth-child(3){font-size:var(--et-rec-total-amount-font,14px)!important;line-height:1.08!important}
.et-r-box .et-r-row>b,.et-r-loyalty .et-r-row>b{font-size:var(--et-rec-total-amount-font,14px)!important;line-height:1.08!important}
.et-r-thanks{font-size:var(--et-rec-footer-font,11px)!important;line-height:1.25!important}
.et-r-dev{font-size:calc(var(--et-rec-footer-font,11px) * .78)!important;line-height:1.25!important}
.et-rec-field small{display:block;margin-top:4px;color:#7b8794;font-size:11px;line-height:1.25}


/* v1.3.4 overflow-safe thermal receipt. Keeps the existing Etrending Advanced look. */
.et-rec-paper{overflow:hidden!important;max-width:100%!important}
.et-r-products,.et-r-item,.et-r-item-grid,.et-r-totals,.et-r-paytable,.et-r-paytable *{min-width:0;box-sizing:border-box}
.et-r-item-grid>div{min-width:0!important;overflow:hidden!important}
.et-r-money{display:inline-flex!important;align-items:baseline!important;justify-content:flex-end!important;gap:2px!important;max-width:100%!important;min-width:0!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important}
.et-r-money .et-r-cur{flex:0 0 auto!important}.et-r-money .et-r-num{min-width:0!important;max-width:100%!important}
.et-r-money-lg .et-r-num{font-size:.94em!important}.et-r-money-xl .et-r-num{font-size:.84em!important;letter-spacing:-.02em!important}.et-r-money-xxl .et-r-num{font-size:.74em!important;letter-spacing:-.035em!important}
.et-r-paytable{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important;overflow:hidden!important}
.et-r-paytable th,.et-r-paytable td{min-width:0!important;overflow:hidden!important;padding:4px 3px!important;vertical-align:top!important}
.et-r-paytable th:first-child,.et-r-paytable td:first-child{width:38%!important;text-align:left!important}.et-r-paytable th:nth-child(2),.et-r-paytable td:nth-child(2){width:32%!important;text-align:right!important}.et-r-paytable th:nth-child(3),.et-r-paytable td:nth-child(3){width:30%!important;text-align:right!important}
.et-r-paytable .et-r-paymethod{min-width:0!important;overflow-wrap:anywhere!important}.et-r-paytable .et-r-paymethod>b,.et-r-paytable .et-r-paymethod small{white-space:normal!important;overflow-wrap:anywhere!important}
.et-r-paytable .et-r-money-pay{width:100%!important;justify-content:flex-end!important;gap:1px!important}.et-r-paytable .et-r-money-pay .et-r-cur{font-size:.50em!important}.et-r-paytable .et-r-money-pay .et-r-num{font-size:.88em!important}.et-r-paytable .et-r-money-pay.et-r-money-lg .et-r-num{font-size:.80em!important}.et-r-paytable .et-r-money-pay.et-r-money-xl .et-r-num{font-size:.70em!important}.et-r-paytable .et-r-money-pay.et-r-money-xxl .et-r-num{font-size:.62em!important}
.et-rec-paper[style*="58mm"] .et-r-paytable .et-r-money-pay .et-r-cur{display:none!important}
.et-rec-paper[style*="58mm"] .et-r-paytable th,.et-rec-paper[style*="58mm"] .et-r-paytable td{padding-left:2px!important;padding-right:2px!important}
@media print{.et-rec-paper,.et-r-paytable{overflow:hidden!important}}


/* v1.3.5 receipt-fit lock: professional typography + zero clipping in preview and print. */
.et-rec-paper{
  font-family:"Segoe UI","Noto Sans Sinhala","Nirmala UI",Arial,sans-serif!important;
  font-weight:400!important;
  line-height:1.30!important;
  overflow:visible!important;
  max-width:100%!important;
  text-rendering:optimizeLegibility!important;
  -webkit-font-smoothing:antialiased!important;
}
.et-rec-paper *{font-family:inherit!important;box-sizing:border-box!important}
.et-r-company{font-weight:750!important;letter-spacing:.005em!important}
.et-r-info .et-r-row{display:grid!important;grid-template-columns:minmax(72px,.42fr) minmax(0,.58fr)!important;gap:7px!important;align-items:start!important}
.et-r-info .et-r-row>b{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;font-weight:650!important}
.et-r-info .et-r-row>span{font-weight:650!important}
.et-r-product-headbar{overflow:visible!important;background:#171717!important}
.et-r-product-head{gap:3px!important;padding-left:5px!important;padding-right:5px!important}
.et-r-product-head>div{min-width:0!important;white-space:normal!important;overflow-wrap:normal!important}
.et-r-item{overflow:visible!important;padding-left:5px!important;padding-right:5px!important}
.et-r-item-grid{gap:3px!important;min-width:0!important;width:100%!important;align-items:baseline!important}
.et-r-item-grid>div{min-width:0!important;overflow:visible!important;white-space:nowrap!important}
.et-r-qty-cell{display:flex!important;align-items:baseline!important;justify-content:flex-start!important;gap:2px!important;min-width:0!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important;font-size:calc(var(--et-rec-item-price-font,13px) * .80)!important}
.et-r-qty-num{font-size:1em;line-height:1;font-weight:500!important;min-width:0}
.et-r-unit{font-size:.74em!important;line-height:1!important;font-weight:650!important;color:#454545!important;flex:0 0 auto!important}
.et-r-price-cell{min-width:0!important;text-align:right!important}
.et-r-money{display:inline-flex!important;align-items:baseline!important;justify-content:flex-end!important;gap:1.5px!important;max-width:100%!important;min-width:0!important;white-space:nowrap!important;font-variant-numeric:tabular-nums!important}
.et-r-money-item{width:100%!important;font-size:calc(var(--et-rec-item-price-font,13px) * .80)!important;overflow:visible!important}
.et-r-money-item .et-r-cur{font-size:.48em!important;font-weight:650!important;color:#555!important;flex:0 0 auto!important}
.et-r-money-item .et-r-num{font-size:1em!important;line-height:1!important;font-weight:560!important;letter-spacing:-.015em!important;min-width:0!important}
.et-r-money-line-total .et-r-num{font-weight:760!important;color:#111!important}
.et-r-retail .et-r-money-item .et-r-num{font-weight:500!important;color:#666!important}
.et-r-money-currency-compact .et-r-cur{display:none!important}
.et-r-totals{overflow:visible!important}
.et-r-totals .et-r-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,46%)!important;gap:8px!important;align-items:baseline!important}
.et-r-totals .et-r-row>b{min-width:0!important;max-width:100%!important;white-space:nowrap!important;overflow:visible!important;font-weight:650!important}
.et-r-totals .et-r-row.grand>b,.et-r-totals .et-r-row.bold>b{font-weight:780!important}
.et-r-totals .et-r-money{width:100%!important}
.et-r-paytable{width:100%!important;table-layout:fixed!important;border-collapse:collapse!important;overflow:visible!important}
.et-r-paytable th,.et-r-paytable td{min-width:0!important;overflow:visible!important;padding:5px 3px!important}
.et-r-paytable th:first-child,.et-r-paytable td:first-child{width:36%!important;text-align:left!important}
.et-r-paytable th:nth-child(2),.et-r-paytable td:nth-child(2){width:33%!important;text-align:right!important}
.et-r-paytable th:nth-child(3),.et-r-paytable td:nth-child(3){width:31%!important;text-align:right!important}
.et-r-paytable .et-r-money-pay{width:100%!important;max-width:100%!important;justify-content:flex-end!important;overflow:visible!important;font-size:calc(var(--et-rec-total-amount-font,14px) * .72)!important}
.et-r-paytable .et-r-money-pay .et-r-cur{font-size:.48em!important;font-weight:650!important}
.et-r-paytable .et-r-money-pay .et-r-num{font-size:1em!important;font-weight:620!important;letter-spacing:-.02em!important;min-width:0!important}
.et-r-paymethod>b{font-weight:720!important}.et-r-cardmeta{font-weight:500!important}
.et-r-box .et-r-row,.et-r-loyalty .et-r-row{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,46%)!important;gap:8px!important;align-items:baseline!important}
.et-r-box .et-r-row>b,.et-r-loyalty .et-r-row>b{min-width:0!important;max-width:100%!important;white-space:nowrap!important;overflow:visible!important;font-weight:650!important}
.et-r-box .et-r-money,.et-r-loyalty .et-r-money{width:100%!important}
.et-r-thanks{font-weight:720!important}.et-r-dev{font-weight:500!important}
.et-rec-paper[data-paper-mm="58"] .et-r-product-head,
.et-rec-paper[data-paper-mm="58"] .et-r-item-grid{gap:2px!important}
.et-rec-paper[data-paper-mm="58"] .et-r-money-item{font-size:calc(var(--et-rec-item-price-font,13px) * .66)!important}
.et-rec-paper[data-paper-mm="58"] .et-r-qty-cell{font-size:calc(var(--et-rec-item-price-font,13px) * .66)!important}
.et-rec-paper[data-paper-mm="58"] .et-r-money-item .et-r-cur,
.et-rec-paper[data-paper-mm="58"] .et-r-paytable .et-r-money-pay .et-r-cur{display:none!important}
.et-rec-paper[data-paper-mm="58"] .et-r-paytable .et-r-money-pay{font-size:calc(var(--et-rec-total-amount-font,14px) * .60)!important}
.et-rec-paper[data-paper-mm="58"] .et-r-product-head{font-size:calc(var(--et-rec-table-head-font,10px) * .82)!important}
.et-rec-paper[data-paper-mm="72"] .et-r-money-item{font-size:calc(var(--et-rec-item-price-font,13px) * .74)!important}
.et-rec-paper[data-paper-mm="72"] .et-r-qty-cell{font-size:calc(var(--et-rec-item-price-font,13px) * .74)!important}
@media print{
  html,body{font-family:"Segoe UI","Noto Sans Sinhala","Nirmala UI",Arial,sans-serif!important;overflow:visible!important}
  .et-rec-paper{font-family:"Segoe UI","Noto Sans Sinhala","Nirmala UI",Arial,sans-serif!important;overflow:visible!important}
}


/* v1.3.6 FINAL requested receipt readability only */
.et-r-num{font-size:1.12em;font-weight:800}
.et-r-item-grid .et-r-money{display:inline-flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;line-height:1.05}
.et-r-item-grid .et-r-money .et-r-cur{display:block;font-size:.62em;line-height:1;margin:0 0 1px 0;vertical-align:baseline}
.et-r-item-grid .et-r-money .et-r-num{display:block;font-size:1.08em;line-height:1.05}

/* Stocky 5.8 sidebar */
.sider .et-rec-menu{padding:6px 10px;margin-top:8px}.sider .et-rec-menu>button{width:100%;text-align:left;padding:12px;border:1px solid currentColor;border-radius:8px;background:transparent;color:inherit;font:inherit;cursor:pointer}

/* 5.8: 80mm roll, 72mm printable content, readable text without clipping. */
.et-rec-paper{width:var(--et-rec-paper,80mm)!important;min-width:var(--et-rec-paper,80mm);max-width:none!important;padding:3mm 4mm!important;box-sizing:border-box!important;line-height:1.35!important;color:#000!important;overflow:visible!important}
.et-rec-paper,.et-rec-paper *{box-sizing:border-box}
.et-rec-paper .et-r-item-name{font-size:var(--et-rec-product-name-font,13px)!important;line-height:1.35!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;color:#000!important}
.et-rec-paper .et-r-product-head{font-size:max(11px,var(--et-rec-table-head-font,11px))!important;line-height:1.3!important;gap:3px!important}
.et-rec-paper .et-r-product-head>div,.et-rec-paper .et-r-item-grid>div{min-width:0!important;overflow-wrap:anywhere;white-space:normal!important}
.et-rec-paper .et-r-item-grid{gap:3px!important;align-items:start!important}
.et-rec-paper .et-r-item,.et-rec-paper .et-r-totals{padding-left:0!important;padding-right:0!important;break-inside:avoid;page-break-inside:avoid}
.et-rec-paper .et-r-item-name,.et-rec-paper .et-r-product-headbar{break-after:avoid;page-break-after:avoid}
.et-rec-paper .et-r-money{max-width:100%;min-width:0;white-space:normal!important;flex-wrap:wrap!important;line-height:1.3!important;gap:2px!important}
.et-rec-paper .et-r-money-item,.et-rec-paper .et-r-money-pay{display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:1px!important}
.et-rec-paper .et-r-num{font-size:1em!important;min-width:0;max-width:100%;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.25!important;color:#000!important;letter-spacing:normal!important}
.et-rec-paper .et-r-money-item .et-r-num,.et-rec-paper .et-r-money-pay .et-r-num{font-size:max(11px,var(--et-rec-item-price-font,13px))!important}
.et-rec-paper .et-r-cur{font-size:9px!important;opacity:1!important;color:#000!important;line-height:1.2!important}
.et-rec-paper .et-r-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;column-gap:5px!important;line-height:1.3!important}
.et-rec-paper .et-r-row>b{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important}
.et-rec-paper .et-r-paytable{width:100%!important;table-layout:fixed!important}
.et-rec-paper .et-r-paytable th,.et-rec-paper .et-r-paytable td{padding:5px 3px!important;white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.3!important}
.et-rec-paper .et-r-paytable th:first-child,.et-rec-paper .et-r-paytable td:first-child{width:36%!important}
.et-rec-paper .et-r-paytable th:nth-child(n+2),.et-rec-paper .et-r-paytable td:nth-child(n+2){width:32%!important}
.et-rec-paper .et-r-paytable tr{break-inside:avoid;page-break-inside:avoid}
.et-rec-paper .et-r-qty-cell{white-space:normal!important;flex-wrap:wrap!important;min-width:0}
.et-rec-paper .et-r-qty-num{font-size:12px!important;line-height:1.3!important;overflow-wrap:anywhere}
.et-rec-paper .et-r-unit{font-size:10px!important;line-height:1.3!important}
.et-rec-paper .et-r-footer-note,.et-rec-paper .et-r-cardmeta-ref{overflow-wrap:anywhere!important;white-space:normal!important}
.et-rec-paper .et-r-retail,.et-rec-paper .et-r-paymethod small{color:#000!important}

/* No Bill completes delivery only; the sale has already been saved. */
.et-rec-choice{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.et-rec-choice .no-bill{color:#244d42;background:#edf5f1!important}
@media(max-width:760px){.et-rec-choice{grid-template-columns:repeat(2,minmax(0,1fr))!important}.et-rec-choice .no-bill{grid-column:1/-1!important;min-height:72px!important}}

.sider .et-module58-menu{padding:4px 10px;margin-top:4px}
.sider .et-module58-menu>button{display:flex!important;align-items:center!important;gap:12px!important;min-height:44px;padding:10px 12px!important;line-height:1.3;text-align:left}
.sider .et-module58-menu>button>svg{width:20px!important;height:20px!important;min-width:20px!important;flex:0 0 20px!important;margin:0!important;color:inherit}
.sider .et-module58-menu>button>span{min-width:0;white-space:normal;overflow-wrap:anywhere}
.ant-layout-sider-collapsed .et-module58-menu>button{justify-content:center;padding:10px 4px!important}
.ant-layout-sider-collapsed .et-module58-menu>button>span{display:none}

/* Loyalty section: thermal-print-safe dashed box and centered heading. */
.et-rec-paper .et-r-loyalty{border:1px dashed #000!important;padding:7px 6px!important;margin:7px 0!important;break-inside:avoid;page-break-inside:avoid;box-sizing:border-box!important}
.et-rec-paper .et-r-loyalty-heading{display:block!important;width:100%!important;text-align:center!important;font-weight:700!important;margin:0 0 5px!important;overflow-wrap:anywhere}
