#commerce-root{--red:#d91620;--ink:#202127;--muted:#666a73;--line:#e7e7eb;color:var(--ink);font-family:Vazirmatn,Tahoma,sans-serif;font-size:16px;line-height:1.9;padding:28px 0 60px;min-height:50vh}#commerce-root *{box-sizing:border-box}#commerce-root button,#commerce-root input,#commerce-root select,#commerce-root textarea{font:inherit}#commerce-root h1{font-size:clamp(25px,3vw,36px);margin:6px 0 12px}#commerce-root h2{font-size:22px;margin:0 0 18px}#commerce-root h3{font-size:18px;margin:0 0 12px}#commerce-root p{margin:8px 0 16px}#commerce-root button{cursor:pointer}#commerce-root button:disabled{cursor:not-allowed;opacity:.55}#commerce-root .c-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--red);color:white;border:1px solid var(--red);border-radius:10px;padding:10px 22px;font-weight:700;text-decoration:none;min-height:46px;gap:8px}#commerce-root .c-btn.alt{background:white;color:var(--ink);border-color:var(--line)}#commerce-root .c-btn.small{font-size:14px;padding:6px 14px;min-height:38px}#commerce-root .c-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:20px}#commerce-root .c-muted{color:var(--muted);font-size:14px}#commerce-root .c-notice{padding:14px 18px;border-radius:10px;background:#fff7e8;border:1px solid #f1dfbe;margin-bottom:20px;font-size:14px}#commerce-root .c-notice strong{display:block}#commerce-root .c-card{border:1px solid var(--line);border-radius:16px;background:white;padding:24px;margin-bottom:20px}#commerce-root .c-grid{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:24px;align-items:start}#commerce-root .c-summary{position:sticky;top:160px;background:#fafafa}#commerce-root .c-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}#commerce-root label{display:block;font-size:14px;font-weight:600}#commerce-root input:not([type=checkbox]),#commerce-root select,#commerce-root textarea{display:block;width:100%;border:1px solid #ceced4;border-radius:9px;padding:11px 12px;background:#fff;color:var(--ink);min-height:46px;margin-top:6px}#commerce-root input:focus,#commerce-root textarea:focus,#commerce-root select:focus{outline:3px solid #ffdadc;border-color:var(--red)}#commerce-root .c-wide{grid-column:1/-1}#commerce-root .c-check{display:flex;gap:10px;align-items:flex-start;margin:18px 0}#commerce-root input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:var(--red);margin-top:4px}#commerce-root .c-steps{display:flex;list-style:none;padding:0;margin:24px 0 30px;gap:8px;overflow:auto}#commerce-root .c-steps li{flex:1;min-width:92px;position:relative;border-top:3px solid #e5e5e9;padding-top:12px;font-size:14px;color:#777}#commerce-root .c-steps li.current{border-color:var(--red);color:var(--red);font-weight:700}#commerce-root .c-steps li.done{border-color:#428166;color:#32634e}#commerce-root .c-row{display:flex;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}#commerce-root .c-row:last-child{border:0}#commerce-root .c-total{font-size:21px;font-weight:800;border-top:2px solid var(--ink);margin-top:10px;padding-top:18px}#commerce-root .c-tag{display:inline-block;border:1px solid #efc9cb;border-radius:30px;background:#fff2f2;color:#a9111b;padding:4px 12px;font-size:14px}#commerce-root .c-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}#commerce-root .c-tabs button{border:1px solid var(--line);border-radius:9px;background:white;padding:9px 17px}#commerce-root .c-tabs button[aria-selected=true]{background:var(--ink);color:white;border-color:var(--ink)}#commerce-root .c-table{overflow:auto}#commerce-root table{width:100%;border-collapse:collapse;font-size:14px;white-space:nowrap}#commerce-root th,#commerce-root td{text-align:right;padding:14px 12px;border-bottom:1px solid var(--line)}#commerce-root th{background:#f7f7f9;color:#666}#commerce-root .c-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}#commerce-root .c-stats strong{font-size:30px;display:block}#commerce-root .c-empty{text-align:center;padding:45px 20px;color:var(--muted)}#commerce-root .c-timeline{list-style:none;padding:0}#commerce-root .c-timeline li{border-right:2px solid #e7d4d5;padding:0 20px 22px;position:relative}#commerce-root .c-timeline li:before{content:'';position:absolute;right:-6px;top:9px;width:10px;height:10px;border-radius:50%;background:var(--red)}#commerce-root .c-payments{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}#commerce-root .c-payments button{background:#fff;border:1px solid #d9d9df;border-radius:12px;text-align:right;padding:20px 16px;min-height:105px}#commerce-root .c-payments button[aria-pressed=true]{border:2px solid var(--red);background:#fff6f6}#commerce-root .c-payments strong,#commerce-root .c-payments small{display:block}#commerce-root .c-payments small{font-size:14px;color:var(--muted);margin-top:6px}#commerce-root .c-error{color:#a60010;padding:12px;background:#fff0f0;border-radius:8px;margin:12px 0}#commerce-root .c-success{color:#246648;background:#eef9f2;padding:12px;border-radius:8px}#commerce-root .c-head{display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}#commerce-root .c-price-input{min-width:140px;max-width:180px}#commerce-root .c-demo-switch{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}#commerce-root .c-help{border-right:3px solid var(--red);padding:8px 16px;background:#fafafa;font-size:14px;margin:18px 0}#commerce-root .c-number{direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums}#commerce-root .c-order-list{display:grid;gap:16px}#commerce-root .c-order-list button{text-align:right;width:100%;border:1px solid var(--line);background:white;border-radius:12px;padding:20px}#commerce-root .c-order-list button:hover{border-color:var(--red)}#commerce-root .c-form-foot{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.logo img[src$="linco-shared-o.png"]{width:270px!important;height:54px!important;object-fit:cover;object-position:50% 49.5%;border-radius:0}.logo .brand-words{display:none!important}@media(max-width:800px){#commerce-root .c-grid{grid-template-columns:1fr}#commerce-root .c-summary{position:static;order:2}#commerce-root .c-card{padding:18px}#commerce-root .c-fields{grid-template-columns:1fr}#commerce-root .c-payments{grid-template-columns:1fr}#commerce-root .c-payments button{min-height:76px}#commerce-root .c-stats{gap:8px}#commerce-root .c-stats .c-card{padding:12px}#commerce-root .c-stats strong{font-size:24px}#commerce-root .c-btn{padding:10px 15px}.logo img[src$="linco-shared-o.png"]{width:195px!important;height:39px!important}}
@font-face{font-family:Vazirmatn;src:url('../assets/Vazirmatn-Regular.woff2') format('woff2');font-display:swap}
#commerce-root .c-method-fields{border:0;padding:18px 0 0;margin:0;min-width:0}
#commerce-root [hidden]{display:none!important}
#commerce-root .c-copy-number{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;border:1px solid #aaa;border-radius:6px;background:white;padding:10px 12px;margin:8px 0;color:#202127;text-align:right;font-size:14px}
#commerce-root .c-copy-number bdi{font-size:16px;letter-spacing:.03em;overflow-wrap:anywhere;user-select:all}
#commerce-root .c-copy-number small{color:#9d0a13;font-size:14px}
#commerce-root .c-copy-number:focus-visible{outline:3px solid #d91620;outline-offset:2px}
#commerce-root .c-copy-status{display:block;min-height:24px;color:#245c3d;font-size:14px}
#commerce-root .c-invoice{max-width:900px;margin:22px auto 30px;padding:22px;border:1px solid #555;background:#fff;color:#171717;font-size:14px;line-height:1.8;box-shadow:0 4px 16px #00000006}
#commerce-root .c-invoice-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}
#commerce-root .c-invoice-brand{display:flex;flex-direction:column;gap:10px;max-width:52%}
#commerce-root .c-invoice-brand img{width:245px;height:49px;max-width:100%;object-fit:cover;object-position:50% 49.5%}
#commerce-root .c-invoice-brand span{font-size:13px}
#commerce-root .c-invoice-meta{font-size:14px;line-height:2;text-align:right}
#commerce-root .c-invoice-title{text-align:center;padding:16px 0 20px}
#commerce-root .c-invoice-title h2{font-size:28px;font-weight:900;margin:0 0 2px;color:#171717}
#commerce-root .c-invoice-title p{margin:0;font-size:14px}
#commerce-root .c-invoice-parties{display:flex;justify-content:space-between;gap:16px;border:1px solid #555;border-bottom:0;padding:10px 12px}
#commerce-root .c-invoice-parties p{margin:0}
#commerce-root .c-invoice-table-wrap{overflow:auto}
#commerce-root .c-invoice-table{table-layout:fixed;width:100%;border-collapse:collapse;white-space:normal;font-size:14px}
#commerce-root .c-invoice-table caption{text-align:left;border:1px solid #555;border-bottom:0;padding:3px 10px;font-size:13px}
#commerce-root .c-invoice-table th,#commerce-root .c-invoice-table td{border:1px solid #555;padding:8px 6px;vertical-align:top;text-align:center;overflow-wrap:anywhere;color:#171717}
#commerce-root .c-invoice-table th{background:#f0f0f0;font-weight:700}
#commerce-root .c-invoice-table td:nth-child(2){text-align:right}
#commerce-root .c-col-row{width:6%}#commerce-root .c-col-name{width:32%}#commerce-root .c-col-qty{width:9%}#commerce-root .c-col-unit{width:8%}#commerce-root .c-col-price{width:17%}#commerce-root .c-col-discount{width:8%}#commerce-root .c-col-total{width:20%}
#commerce-root .c-invoice-totals{border:1px solid #555;border-top:0}
#commerce-root .c-invoice-totals>div{display:grid;grid-template-columns:1fr 28%;border-top:1px solid #aaa}
#commerce-root .c-invoice-totals>div:first-child{border-top:0}
#commerce-root .c-invoice-totals span{padding:4px 10px;text-align:left}
#commerce-root .c-invoice-totals b{border-right:1px solid #555;padding:4px 8px;text-align:center;overflow-wrap:anywhere}
#commerce-root .c-invoice-grand{background:#f0f0f0;font-size:17px;font-weight:800}
#commerce-root .c-invoice-payment{padding:12px;border:1px solid #555;border-top:0;break-inside:avoid}
#commerce-root .c-invoice-payment p{margin:5px 0}
#commerce-root .c-invoice-bottom{border:1px solid #555;border-top:0;padding:10px 12px;break-inside:avoid}
#commerce-root .c-invoice-bottom p{margin:3px 0;overflow-wrap:anywhere}
#commerce-root .c-invoice-bottom>div{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}
#commerce-root .c-invoice-note{border:1px solid #555;border-top:0;padding:10px 12px;font-size:13px;break-inside:avoid}
.c-print-frame,.c-copy-fallback{position:fixed;left:-10000px;top:0;width:1px;height:1px;border:0}
@media(max-width:650px){#commerce-root .c-invoice{padding:12px;margin:15px 0}#commerce-root .c-invoice-top{gap:12px;flex-direction:column}#commerce-root .c-invoice-brand{max-width:100%}#commerce-root .c-invoice-meta{width:100%;border-top:1px solid #ddd;padding-top:8px}#commerce-root .c-invoice-parties{flex-direction:column;gap:6px}#commerce-root .c-invoice-table{min-width:640px}#commerce-root .c-copy-number{flex-wrap:wrap}#commerce-root .c-copy-number bdi{font-size:14px}#commerce-root .c-invoice-totals>div{grid-template-columns:1fr 42%}}
@page{size:A4 portrait;margin:10mm}
@media print{
 html,body{margin:0!important;padding:0!important;background:white!important;color:black!important}
 #commerce-root.c-print-root{padding:0!important;min-height:0;font-size:10.5pt;width:100%!important;max-width:190mm;margin:0!important}
 #commerce-root .c-invoice{max-width:none;width:100%;padding:4mm;margin:0;border:0;box-shadow:none;font-size:10pt;line-height:1.6}
 #commerce-root .c-invoice-top{display:flex;flex-direction:row;gap:8mm}
 #commerce-root .c-invoice-brand{max-width:52%}#commerce-root .c-invoice-brand img{width:58mm;height:11.6mm}
 #commerce-root .c-invoice-meta{width:auto;border:0;padding:0;font-size:10pt}
 #commerce-root .c-invoice-title{padding:5mm 0}#commerce-root .c-invoice-title h2{font-size:21pt}#commerce-root .c-invoice-title p{font-size:10pt}
 #commerce-root .c-invoice-parties{flex-direction:row;font-size:10pt;gap:5mm;padding:2mm}
 #commerce-root .c-invoice-table-wrap{overflow:visible}
 #commerce-root .c-invoice-table{min-width:0;width:100%;font-size:9.5pt}
 #commerce-root .c-invoice-table th,#commerce-root .c-invoice-table td{padding:2mm 1mm}
 #commerce-root .c-invoice-table thead{display:table-header-group}#commerce-root .c-invoice-table tr{break-inside:avoid}
 #commerce-root .c-invoice-table caption{font-size:9pt}
 #commerce-root .c-invoice-totals{break-inside:avoid}#commerce-root .c-invoice-totals>div{grid-template-columns:1fr 28%}
 #commerce-root .c-invoice-grand{font-size:12pt}
 #commerce-root .c-invoice-payment,#commerce-root .c-invoice-bottom,#commerce-root .c-invoice-note{padding:2mm 3mm}
 #commerce-root .c-invoice-note{font-size:9pt}#commerce-root .c-invoice-brand span{font-size:9pt}
 #commerce-root .c-copy-number{display:flex!important;border:0;border-radius:0;padding:0;margin:1mm 0;justify-content:flex-start;gap:5mm;min-height:0;font-size:10pt;color:black!important}
 #commerce-root .c-copy-number bdi{font-size:10pt}#commerce-root .c-copy-number small,#commerce-root .c-copy-status{display:none!important}
 #commerce-root .c-no-print{display:none!important}
}

#commerce-root .c-invoice-seller{border:1px solid #555;border-bottom:0;padding:7px 12px;break-inside:avoid}

.lh-price-line{display:inline-flex!important;flex-direction:row!important;direction:rtl!important;unicode-bidi:isolate;align-items:baseline;gap:.25em;white-space:nowrap}.lh-price-line bdi,.lh-price-line input{direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums}

/* LINCO shared commerce width fix — 2026-10-15 */
@media screen{
#commerce-root{min-width:0;max-width:100%}
#commerce-root .c-grid>*,#commerce-root .c-fields>*,#commerce-root .c-card,#commerce-root .c-table,#commerce-root .c-invoice-table-wrap,#commerce-root form,#commerce-root fieldset{min-width:0;max-width:100%}
#commerce-root .c-table,#commerce-root .c-invoice-table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
}
@media screen and (max-width:800px){
#commerce-root .c-grid,#commerce-root .c-fields,#commerce-root .c-payments{grid-template-columns:minmax(0,1fr)}
#commerce-root .c-card,#commerce-root .c-order-list>button,#commerce-root .c-head>*,#commerce-root .c-row>*,#commerce-root .c-copy-number>*{min-width:0;max-width:100%;overflow-wrap:anywhere}
#commerce-root .c-order-list,#commerce-root .c-invoice{min-width:0;max-width:100%}
#commerce-root .c-order-list>button{white-space:normal}
#commerce-root input:not([type=checkbox]),#commerce-root select,#commerce-root textarea{min-width:0;max-width:100%;box-sizing:border-box}
#commerce-root .c-total,#commerce-root .c-copy-number{flex-wrap:wrap}
#commerce-root .c-row>b{text-align:end}
#commerce-root .c-btn{max-width:100%;white-space:normal;overflow-wrap:anywhere}
#commerce-root .c-steps{min-width:0;max-width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:12px 8px}
#commerce-root .c-steps li{min-width:0;font-size:13px;white-space:normal;overflow-wrap:anywhere}
#commerce-root .c-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
#commerce-root .c-stats .c-card{overflow-wrap:anywhere;font-size:13px}
#commerce-root .c-invoice-meta,#commerce-root .c-invoice-parties,#commerce-root .c-invoice-payment,#commerce-root .c-invoice-note{overflow-wrap:anywhere}
body.toplevel_page_lh-sales #wpbody-content>.wrap{min-width:0;max-width:100%;box-sizing:border-box}
}
@media screen and (max-width:480px){#commerce-root .c-stats{grid-template-columns:minmax(0,1fr)}}
