/* Tiger Cash & Carry — shared design system (Round 11). Loaded after each page's own styles. */
:root{
  --tiger:#ff7a00; --tiger-dark:#e06e00; --tiger-soft:#fff1e2;
  --ink:#1c1a17; --muted:#6b655c; --line:#e7e0d5; --bg:#f6f3ee; --card:#ffffff;
  --ok:#1e7d32; --ok-bg:#e6f4ea; --warn:#9a6b00; --warn-bg:#fff4d6;
  --bad:#c62828; --bad-bg:#fdecea; --info:#1565c0; --info-bg:#e8f0fe;
  --radius:12px;
}
html{box-sizing:border-box}
*,*::before,*::after{box-sizing:inherit}
body{font-family:"Segoe UI",system-ui,-apple-system,Arial,sans-serif;background:var(--bg);color:var(--ink);font-size:16px;line-height:1.5;margin:0}
img{max-width:100%;height:auto}
h1{font-size:28px;line-height:1.25;margin:0 0 14px}
h2{font-size:22px;line-height:1.3;margin:0 0 12px}
h3{font-size:18px;margin:0 0 10px}
p{margin:0 0 12px}
a{color:var(--tiger-dark)}
.wrap{max-width:1150px;margin:0 auto;padding:18px 16px 40px}
header{background:#111;color:#fff;border-bottom:4px solid var(--tiger)}
header .brand b{font-size:20px;letter-spacing:.2px}
nav{background:var(--tiger);padding:6px 10px}
nav a{color:#fff;font-weight:600;padding:9px 13px;border-radius:8px;min-height:44px;display:inline-flex;align-items:center}
nav a:hover{background:rgba(0,0,0,.18);text-decoration:none}
nav details.more summary{color:#fff;font-weight:600;padding:9px 13px;border-radius:8px;min-height:44px;display:inline-flex;align-items:center;cursor:pointer;list-style:none}
nav details.more summary:hover{background:rgba(0,0,0,.18)}
nav details.more div.drop{position:absolute;right:0;top:calc(100% + 4px);background:#111;color:#fff;min-width:220px;padding:6px;z-index:9999;border:1px solid rgba(255,255,255,.18);border-radius:10px;box-shadow:0 12px 28px rgba(0,0,0,.4)}
nav details.more div.drop a{display:block;color:#fff;min-height:44px;padding:12px 14px;border-radius:6px;white-space:nowrap}
nav details.more div.drop a:hover,nav details.more div.drop a:focus-visible{background:var(--tiger);color:#fff;text-decoration:none}
.card{background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:0 1px 4px rgba(28,26,23,.07);padding:18px;margin-bottom:16px}
table{width:100%;border-collapse:collapse;font-size:15px}
th{background:#111;color:#fff;text-align:left;padding:10px 12px}
td{padding:10px 12px;border-top:1px solid var(--line);vertical-align:middle}
tr:hover td{background:#fffaf3}
.tablewrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
input,select,textarea{font-size:16px;padding:10px 12px;border:1px solid #cfc7b8;border-radius:10px;background:#fff;color:var(--ink);max-width:100%}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--tiger);box-shadow:0 0 0 3px rgba(255,122,0,.25)}
label{font-weight:600;display:block;margin-bottom:4px}
button,.btn,.btn2,.btn3{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:10px 18px;border-radius:10px;font-size:15px;font-weight:700;cursor:pointer;border:1px solid transparent;text-decoration:none;line-height:1.2}
.btn{background:var(--tiger);color:#fff}
.btn:hover{background:var(--tiger-dark);color:#fff;text-decoration:none}
.btn2{background:#111;color:#fff}
.btn2:hover{background:#000;color:#fff;text-decoration:none}
.btn3{background:#fff;color:#111;border-color:#cfc7b8}
.btn3:hover{background:var(--tiger-soft);text-decoration:none}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid rgba(255,122,0,.6);outline-offset:2px}
button:disabled{opacity:.55;cursor:not-allowed}
.flash{background:#fff8e1;border:1px solid #ffe082;border-left:5px solid var(--tiger);border-radius:10px;padding:12px 14px;margin-bottom:14px;font-weight:600}
.chip{display:inline-block;padding:7px 13px;border:1px solid #cfc7b8;border-radius:999px;background:#fff;text-decoration:none;color:#222;font-weight:600;min-height:36px}
.chip.on{background:#111;color:#fff;border-color:#111}
.badge{display:inline-flex;align-items:center;padding:3px 11px;border-radius:999px;font-size:12px;font-weight:700;letter-spacing:.2px;white-space:nowrap;background:#eceae6;color:#555}
.badge.st-Paid,.badge.st-Received,.badge.st-Delivered,.badge.st-Complete,.badge.st-Active{background:var(--ok-bg);color:var(--ok)}
.badge.st-Unpaid,.badge.st-Cancelled,.badge.st-Out{background:var(--bad-bg);color:var(--bad)}
.badge.st-Partial,.badge.st-Pending,.badge.st-New,.badge.st-Low{background:var(--warn-bg);color:var(--warn)}
.badge.st-Draft,.badge.st-Inactive{background:#eceae6;color:#555}
.badge.st-Processing,.badge.st-Confirmed,.badge.st-Shipped,.badge.st-Packed{background:var(--info-bg);color:var(--info)}
.badge.st-paid,.badge.st-received,.badge.st-delivered,.badge.st-complete,.badge.st-active{background:var(--ok-bg);color:var(--ok)}
.badge.st-unpaid,.badge.st-cancelled,.badge.st-out{background:var(--bad-bg);color:var(--bad)}
.badge.st-partial,.badge.st-pending,.badge.st-new,.badge.st-low{background:var(--warn-bg);color:var(--warn)}
.badge.st-draft,.badge.st-inactive{background:#eceae6;color:#555}
.badge.st-processing,.badge.st-confirmed,.badge.st-shipped,.badge.st-packed{background:var(--info-bg);color:var(--info)}
.stat{background:#111;color:#fff;border:1px solid #111;border-top:4px solid var(--tiger);border-radius:14px;padding:16px}
.stat small{color:#ffb066}
.pcard{border:1px solid var(--line);border-radius:14px;padding:14px;background:#fff}
.soldout{color:var(--bad);font-weight:700}
.low{color:var(--warn);font-weight:700}
.cartbar{border-top:3px solid var(--tiger)}
.stepper button{min-width:44px;min-height:44px}
.hero2{border-radius:16px}
.label{border:1px solid #999;border-radius:8px;padding:8px}
.muted{color:var(--muted)}
table td a:not(.btn):not(.btn2):not(.btn3){display:inline-block;padding:7px 12px;border:1px solid #cfc7b8;border-radius:8px;background:#fff;color:#111;text-decoration:none;font-weight:600;margin:2px 2px 2px 0}
table td a:not(.btn):not(.btn2):not(.btn3):hover{background:var(--tiger-soft)}
@media (max-width:760px){
  body{font-size:16px}
  h1{font-size:24px}
  h2{font-size:20px}
  .wrap{padding:14px 12px 32px}
  .card{padding:14px}
  table{font-size:14px}
  td,th{padding:8px}
  .stats,.cards{grid-template-columns:1fr}
  .grid{grid-template-columns:repeat(2,1fr)}
  .hero2{padding:22px 16px}
  .hero2 h1{font-size:26px}
  .tiles{grid-template-columns:repeat(2,1fr)}
}
@media print{
  @page{margin:12mm}
  header,nav,.noprint,.flash,button,.btn,.btn2,.btn3,form,.cartbar{display:none!important}
  body{background:#fff!important;color:#000;font-size:12pt}
  .wrap{max-width:100%!important;padding:0!important}
  .card{border:0!important;box-shadow:none!important;padding:0!important;margin:0!important}
  a{color:#000!important;text-decoration:none!important}
  table{font-size:11pt}
}

@media(max-width:760px){
nav{position:relative}
nav details.more{position:static}
nav details.more div.drop{top:100%;right:8px;left:auto;min-width:200px;max-width:calc(100vw - 16px)}/* Round 17 - responsive pass for ~390px phones: wide tables scroll inside their card, filter forms wrap, tap targets stay 40px+ */.card{overflow-x:auto}.card table{min-width:560px}form{flex-wrap:wrap}table td a:not(.btn):not(.btn2):not(.btn3){min-height:40px;padding:10px 12px}@media(max-width:600px){nav a{padding:8px 10px;font-size:14px}form input,form select{flex:1 1 200px;min-width:0}input[style*="width"],select[style*="width"]{width:100%!important;flex:1 1 100%}.hero2 h1{font-size:24px}}
}

/* Compact list + popup (2026-11-21): at narrow widths list rows become short summary rows and tapping a row opens a modal with the full details. Desktop tables are unchanged. */
.t-modal-overlay{position:fixed;inset:0;background:rgba(17,17,17,.55);z-index:9999;display:flex;align-items:flex-start;justify-content:center;padding:12px;overflow-y:auto;box-sizing:border-box}
.t-modal{background:#fff;border-radius:16px;width:100%;max-width:640px;margin:auto 0;box-shadow:0 18px 50px rgba(0,0,0,.35);box-sizing:border-box}
.t-modal-head{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;border-radius:16px 16px 0 0;z-index:2}
.t-modal-head h2{margin:0;font-size:20px;flex:1;min-width:0}
.t-modal-close{min-width:44px;min-height:44px;border-radius:12px;border:1px solid var(--line);background:#fff;color:#111;font-size:16px;font-weight:700;padding:0 14px;cursor:pointer}
.t-modal-body{padding:16px;max-height:calc(100vh - 150px);overflow-y:auto;overflow-x:hidden;box-sizing:border-box}
.t-modal-body .card{border:0;box-shadow:none;padding:0;margin:0}
.t-modal-body .card table{min-width:0!important}
.t-modal-body input,.t-modal-body select,.t-modal-body textarea,.t-modal-body button{min-height:44px}
.t-modal-body input,.t-modal-body select{max-width:100%;box-sizing:border-box}
.t-modal-body input[style],.t-modal-body select[style]{width:100%!important}
.t-modal-body .t-modal-x{overflow-x:auto;max-width:100%}
.t-modal-note{background:var(--ok-bg);color:var(--ok);border:1px solid var(--ok);border-radius:10px;padding:10px 12px;margin-bottom:12px;font-weight:700}
.t-modal-foot{display:flex;flex-wrap:wrap;gap:8px;padding:12px 14px;border-top:1px solid var(--line)}
.t-modal-foot .btn,.t-modal-foot a.btn{min-height:44px}
.t-modal-foot form{display:inline}
.t-inv-summary{margin-bottom:12px}
.t-inv-summary table{width:100%}
.t-inv-summary th{width:130px;text-align:left}
@media (max-width:900px){
.t-hide{display:none!important}
tr.t-row{cursor:pointer}
.t-pay-card{cursor:pointer}
.t-compact table{min-width:0!important;width:100%}
.t-compact td,.t-compact th{white-space:normal}
}
/* Test hook: ?tiger_narrow=1 renders the same narrow rules in a wide window so the layout can be checked without a phone. */
.t-force-narrow .t-hide{display:none!important}
.t-force-narrow tr.t-row{cursor:pointer}
.t-force-narrow .t-pay-card{cursor:pointer}
.t-force-narrow .t-compact table{min-width:0!important;width:100%}
.t-force-narrow .t-compact td,.t-force-narrow .t-compact th{white-space:normal}
@media print{.t-modal-overlay{display:none!important}}

/* Style A - Clean Light (2026-11-21). Light Shopify/Stripe-inspired retheme.
   Appended after the Round 11/17 and compact-modal rules: same-specificity
   rules below win by order, so the black/orange theme is replaced without
   touching any functional CSS above (modal, compact rows, print, narrow hook). */
:root{--bg:#f6f6f7;--line:#e5e5e8;--ink:#1f2937;--muted:#6b7280;--tiger:#ff7a00;--tiger-dark:#c25700;--tiger-soft:#fff1e2;--ok:#15803d;--ok-bg:#dcfce7;--warn:#b45309;--warn-bg:#fef3c7;--bad:#b91c1c;--bad-bg:#fee2e2;--info:#1d4ed8;--info-bg:#dbeafe;--radius:12px}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;background:var(--bg);color:var(--ink)}
h1,h2,h3{letter-spacing:-.01em}
a{color:var(--tiger-dark)}
header{background:#fff;color:var(--ink);border-bottom:1px solid var(--line)}
header .brand b{color:var(--tiger-dark)}
header small{color:var(--muted)}
.logobadge{border:1px solid var(--line);box-shadow:0 1px 2px rgba(17,24,39,.06)}
nav{background:#fff;border-bottom:1px solid var(--line)}
nav a{color:#374151;font-weight:600}
nav a:hover{background:#f6f6f7;text-decoration:none}
nav a.on{background:var(--tiger-soft);color:var(--tiger-dark)}
nav details.more summary{color:#374151;font-weight:600}
nav details.more summary:hover{background:#f6f6f7}
nav details.more div.drop{background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 28px rgba(17,24,39,.14)}
nav details.more div.drop a{color:var(--ink)}
nav details.more div.drop a:hover,nav details.more div.drop a:focus-visible{background:var(--tiger-soft);color:var(--tiger-dark);text-decoration:none}
.card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 2px rgba(17,24,39,.05);padding:20px}
th{background:#f9fafb;color:#6b7280;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--line)}
td{border-top:1px solid #f0f0f2}
tr:hover td{background:#fafafa}
table td a:not(.btn):not(.btn2):not(.btn3){border-color:#d4d4d8;color:var(--ink)}
input,select,textarea{border:1px solid #d4d4d8;border-radius:10px}
.btn{background:var(--tiger);color:#fff}
.btn:hover{background:#e06e00;color:#fff}
.btn2{background:#fff;color:#1f2937;border-color:#d4d4d8}
.btn2:hover{background:#f6f6f7;color:#1f2937}
.btn3{background:#fff;color:#1f2937;border-color:#d4d4d8}
.btn3:hover{background:#f6f6f7}
.btn-danger,.danger{background:#dc2626;color:#fff;border-color:#dc2626}
.btn-danger:hover,.danger:hover{background:#b91c1c;color:#fff}
.flash{background:#fffbeb;border:1px solid #fde68a;border-left:5px solid var(--tiger)}
.chip{background:#fff;border-color:#d4d4d8;color:#374151}
.chip.on{background:var(--tiger-soft);color:var(--tiger-dark);border-color:#fdba74}
.badge.st-New,.badge.st-new{background:var(--info-bg);color:var(--info)}
.badge.st-Confirmed,.badge.st-confirmed,.badge.st-Packed,.badge.st-packed{background:var(--tiger-soft);color:var(--tiger-dark)}
.badge.st-Delivered,.badge.st-delivered,.badge.st-Paid,.badge.st-paid,.badge.st-Received,.badge.st-received,.badge.st-Complete,.badge.st-complete,.badge.st-Active,.badge.st-active{background:var(--ok-bg);color:var(--ok)}
.badge.st-Unpaid,.badge.st-unpaid,.badge.st-Cancelled,.badge.st-cancelled,.badge.st-Out,.badge.st-out{background:var(--bad-bg);color:var(--bad)}
.badge.st-Partial,.badge.st-partial,.badge.st-Pending,.badge.st-pending,.badge.st-Low,.badge.st-low{background:var(--warn-bg);color:var(--warn)}
.badge.st-Processing,.badge.st-processing,.badge.st-Shipped,.badge.st-shipped{background:var(--info-bg);color:var(--info)}
.badge.st-Draft,.badge.st-draft,.badge.st-Inactive,.badge.st-inactive{background:#f3f4f6;color:#6b7280}
.stat{background:#fff;color:var(--ink);border:1px solid var(--line);border-top:4px solid var(--tiger);border-radius:12px;box-shadow:0 1px 2px rgba(17,24,39,.05)}
.stat small{color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
.stat b{color:var(--ink)}
.hero{background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:0 1px 2px rgba(17,24,39,.05)}
.hero h1{color:var(--ink)}
.hero p{color:var(--muted)}
.hero2{background:#fff;color:var(--ink);border:1px solid var(--line);box-shadow:0 1px 2px rgba(17,24,39,.05)}
.hero2 h1{color:var(--ink)}
.hero2 h1 span{color:var(--tiger-dark)}
.hero2 p{color:var(--muted)}
.cartbar{background:#fff;color:var(--ink);border-top:3px solid var(--tiger);box-shadow:0 -4px 16px rgba(17,24,39,.08)}
.cartbar .tot small{color:var(--muted)}
.pcard{border:1px solid var(--line);border-radius:12px;box-shadow:0 1px 2px rgba(17,24,39,.05)}
.price{color:var(--tiger-dark)}
.tile span{background:rgba(17,24,39,.72)}
.tile small{color:#fed7aa}
.bizblock{background:#fff;border:1px solid var(--line);border-radius:12px}
.why .w{background:#fff;border:1px solid var(--line);border-radius:12px}
.feat .f{background:#fff;border:1px solid var(--line);border-radius:12px}
footer.site{border-top:1px solid var(--line);color:var(--muted)}
footer.site a{color:var(--tiger-dark)}
.stepper button{background:#f6f6f7;border:1px solid #d4d4d8}
.label{border:1px solid #d4d4d8}
.soldout{color:var(--bad)}
.low{color:var(--warn)}
.t-modal{border-radius:12px;box-shadow:0 20px 45px rgba(17,24,39,.18)}
.t-modal-head{border-radius:12px 12px 0 0}
.t-modal-overlay{background:rgba(17,24,39,.45)}
.t-modal-close{color:var(--ink)}
@media(min-width:900px){
html:not(.t-force-narrow) body:has(nav a:is([href="deliveries.php"],[href="payments.php"],[href="inventory.php"],[href="purchases.php"],[href="reports.php"],[href="settings.php"],[href="staff.php"],[href="reorder.php"],[href="statements.php"])){display:grid;grid-template-columns:248px minmax(0,1fr);grid-template-rows:auto 1fr;min-height:100vh}
html:not(.t-force-narrow) body:has(nav a:is([href="deliveries.php"],[href="payments.php"],[href="inventory.php"],[href="purchases.php"],[href="reports.php"],[href="settings.php"],[href="staff.php"],[href="reorder.php"],[href="statements.php"])) header{grid-column:1;grid-row:1;border-right:1px solid var(--line);border-bottom:0;padding:22px 20px 10px;flex-direction:column;align-items:flex-start;gap:4px}
html:not(.t-force-narrow) body:has(nav a:is([href="deliveries.php"],[href="payments.php"],[href="inventory.php"],[href="purchases.php"],[href="reports.php"],[href="settings.php"],[href="staff.php"],[href="reorder.php"],[href="statements.php"])) header .x{margin-top:6px}
html:not(.t-force-narrow) body:has(nav a:is([href="deliveries.php"],[href="payments.php"],[href="inventory.php"],[href="purchases.php"],[href="reports.php"],[href="settings.php"],[href="staff.php"],[href="reorder.php"],[href="statements.php"])) nav{grid-column:1;grid-row:2;border-right:1px solid var(--line);border-bottom:0;padding:6px 12px 24px;display:flex;flex-direction:column;align-items:stretch;gap:2px}
html:not(.t-force-narrow) body:has(nav a:is([href="deliveries.php"],[href="payments.php"],[href="inventory.php"],[href="purchases.php"],[href="reports.php"],[href="settings.php"],[href="staff.php"],[href="reorder.php"],[href="statements.php"])) nav a{display:flex;width:100%;margin:0}
html:not(.t-force-narrow) body:has(nav a:is([href="deliveries.php"],[href="payments.php"],[href="inventory.php"],[href="purchases.php"],[href="reports.php"],[href="settings.php"],[href="staff.php"],[href="reorder.php"],[href="statements.php"])) nav details.more{width:100%}
html:not(.t-force-narrow) body:has(nav a:is([href="deliveries.php"],[href="payments.php"],[href="inventory.php"],[href="purchases.php"],[href="reports.php"],[href="settings.php"],[href="staff.php"],[href="reorder.php"],[href="statements.php"])) nav details.more summary{display:flex;width:100%}
html:not(.t-force-narrow) body:has(nav a:is([href="deliveries.php"],[href="payments.php"],[href="inventory.php"],[href="purchases.php"],[href="reports.php"],[href="settings.php"],[href="staff.php"],[href="reorder.php"],[href="statements.php"])) nav details.more div.drop{position:static;box-shadow:none;border:0;border-radius:8px;padding:2px 0 2px 12px;min-width:0}
html:not(.t-force-narrow) body:has(nav a:is([href="deliveries.php"],[href="payments.php"],[href="inventory.php"],[href="purchases.php"],[href="reports.php"],[href="settings.php"],[href="staff.php"],[href="reorder.php"],[href="statements.php"])) nav details.more div.drop a{white-space:normal}
html:not(.t-force-narrow) body:has(nav a:is([href="deliveries.php"],[href="payments.php"],[href="inventory.php"],[href="purchases.php"],[href="reports.php"],[href="settings.php"],[href="staff.php"],[href="reorder.php"],[href="statements.php"])) .wrap{grid-column:2;grid-row:1/span 2;width:100%;max-width:1100px;margin:0 auto;padding:24px 28px 48px}
}
@media(max-width:760px){.card{padding:14px}}
@media print{
body{display:block!important}
header,nav,.noprint,.flash,button,.btn,.btn2,.btn3,form,.cartbar{display:none!important}
.wrap{max-width:100%!important;margin:0!important;padding:0!important}
.card{border:0!important;box-shadow:none!important;padding:0!important}
th{background:#fff!important;color:#000!important;text-transform:none!important;letter-spacing:0!important;font-size:11pt!important}
td{border-top:1px solid #999!important}
.stat{background:#fff!important;color:#000!important;border:1px solid #999!important;box-shadow:none!important}
}
/* End Style A */
/* Style A fixes (2026-11-21) - found in live verification: stat labels use .lbl (not small), stat links carry inline light-orange colour, and the sidebar wordmark wrapped. */
.stat .lbl{color:var(--muted);font-size:12px;font-weight:600;letter-spacing:.05em;text-transform:uppercase}
.stat small a{color:var(--tiger-dark)!important}
a[style*="ffb26b"]{color:var(--tiger-dark)!important}
.pcard img{background:linear-gradient(135deg,#f6f6f7 60%,#fff1e2);color:var(--muted)}
nav details.more div.drop a.on{background:var(--tiger-soft);color:var(--tiger-dark)}
@media(min-width:900px){
html:not(.t-force-narrow) body:has(nav a:is([href="deliveries.php"],[href="payments.php"],[href="inventory.php"],[href="purchases.php"],[href="reports.php"],[href="settings.php"],[href="staff.php"],[href="reorder.php"],[href="statements.php"])) header .brand{flex-direction:column;align-items:flex-start;gap:8px}
}
/* End Style A fixes */
/* Stage 2 - Shopify-style orders list, held lines, big order popup. */
.badge.pay-paid{background:var(--ok-bg);color:var(--ok)}
.badge.pay-partial{background:var(--warn-bg);color:var(--warn)}
.badge.pay-unpaid{background:#eceae6;color:#555}
.t-held-badge{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:700;background:var(--bad-bg);color:var(--bad);white-space:nowrap}
tr.t-held-row td{background:#fdf3f2}
tr.t-held-row td:first-child{border-left:4px solid var(--bad)}
.t-modal{width:calc(100vw - 32px);max-width:1100px}
.t-modal-card{width:100%;max-width:1100px}
.t-pop-card{padding:0}
.t-pop-form{display:block}
.t-pop-fields{display:flex;flex-wrap:wrap;gap:14px;align-items:flex-end}
.t-pop-fields label{margin-bottom:0}
.t-pop-lines{width:100%}
.t-pop-lines input.t-qty{width:72px;padding:8px 10px}
.t-pop-lines input.t-price{width:92px;padding:8px 10px}
.t-pop-add{display:flex;flex-wrap:wrap;gap:10px;align-items:flex-end;margin-top:12px}
.t-pop-add select{flex:1 1 260px}
.t-pop-totals{text-align:right;font-size:16px}
.t-pop-totals strong{font-size:18px}
.t-check{display:inline-flex;align-items:center;gap:4px;font-weight:600;white-space:nowrap}
.t-row{cursor:pointer}
@media (max-width:900px){
.t-modal{width:calc(100vw - 12px);max-width:none}
.t-pop-lines input.t-qty{width:60px}
.t-pop-lines input.t-price{width:80px}
}

/* ---- Mobile pass 2026-11-26: catalogue view toggle ---- */
.t-cat-toggle{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0 4px;font-size:15px}
.t-cat-toggle .t-cat-label{color:#666}
.t-cat-toggle .t-cat-opt{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 16px;border:1px solid #e8a04c;border-radius:999px;color:#c2570b;text-decoration:none;font-weight:700;background:#fff}
.t-cat-toggle .t-cat-opt.is-on{background:#ff7a00;border-color:#ff7a00;color:#fff}
/* ---- Public pages: keep the public look when this sheet is loaded ---- */
body.t-public{background:#fff;font-family:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif}
/* public link colour: left to the theme */
body.t-public header.t-head{display:block;background:#fff;color:#111;border-bottom:1px solid #eee}
body.t-public nav.t-nav{background:#111}
body.t-public form.t-form{display:block}
@media(max-width:640px){
body.t-public .t-head-in{flex-wrap:wrap;gap:10px;padding:10px 16px}
body.t-public .t-logo img{height:44px}
body.t-public .t-logo-txt strong{font-size:17px}
body.t-public .t-logo-txt small{letter-spacing:.18em}
body.t-public .t-search{display:flex!important;order:10;flex:1 1 100%;max-width:none;margin-left:0}
body.t-public .t-search input{font-size:16px}
body.t-public .t-head-icons{gap:8px}
body.t-public .t-cart{padding:10px 14px;font-size:14px}
body.t-public .t-nav-in{gap:2px}
body.t-public .t-nav a{padding:12px 10px;font-size:14px}
body.t-public .t-nav-contact{margin-left:0}
body.t-public .t-hero{padding:36px 0 44px}
body.t-public .t-hero-in{gap:24px}
body.t-public .t-hero h1{font-size:38px}
body.t-public .t-hero h1 span{font-size:26px}
body.t-public .t-badge-dot{width:88px;height:88px;font-size:12px}
body.t-public .t-ticker{font-size:15px}
body.t-public .t-sec{padding:36px 0}
body.t-public .t-sec-head h2{font-size:30px}
body.t-public .t-card .t-btn{min-height:44px;padding:11px 10px}
body.t-public .t-foot-cols{grid-template-columns:1fr}
body.t-public .t-foot-big{font-size:24px;white-space:normal}
body.t-public .t-page{padding:28px 0 40px}
body.t-public .t-page h1{font-size:34px}
body.t-public .t-form input,body.t-public .t-form select,body.t-public .t-form textarea{font-size:16px}
body.t-public .t-toolbar select{font-size:16px;min-height:44px}
body.t-public .t-prod{gap:24px}
body.t-public .t-pricebox .t-big{font-size:32px}
body.t-public .t-pill{min-height:44px}
body.t-public .t-about{padding:40px 0}
body.t-public .t-about h2{font-size:30px}
body.t-public .t-cta h2{font-size:30px}
body.t-public .t-band{padding:24px 0}
body.t-public .t-band h2{font-size:24px}
}
/* Same public phone layout under the ?tiger_narrow=1 test hook (wide browser). */
.t-force-narrow .t-head-in{flex-wrap:wrap;gap:10px;padding:10px 16px}
.t-force-narrow .t-logo img{height:44px}
.t-force-narrow .t-logo-txt strong{font-size:17px}
.t-force-narrow .t-search{display:flex!important;order:10;flex:1 1 100%;max-width:none;margin-left:0}
.t-force-narrow .t-nav a{padding:12px 10px;font-size:14px}
.t-force-narrow .t-hero{padding:36px 0 44px}
.t-force-narrow .t-hero h1{font-size:38px}
.t-force-narrow .t-hero h1 span{font-size:26px}
.t-force-narrow .t-grid{grid-template-columns:repeat(2,1fr)}
.t-force-narrow .t-foot-cols{grid-template-columns:1fr}
.t-force-narrow .t-foot-big{font-size:24px;white-space:normal}
.t-force-narrow .t-page h1{font-size:34px}
.t-force-narrow .t-card .t-btn{min-height:44px;padding:11px 10px}

/* ---- Mobile pass 2026-11-26: Style A phone rules ---- */
@media(max-width:640px){
.wrap{padding:0 10px 24px}
header .brand b{font-size:18px}
.stepper button{width:44px;height:44px}
.stepper input{height:44px}
.cartbar{padding:10px 12px;gap:8px}
.cartbar .tot{font-size:17px}
.hero2 .in{padding:20px 16px}
.hero2 h1{font-size:26px}
.tiles{grid-template-columns:repeat(2,1fr)}
.pcard img,.ph{height:140px}
}
/* Same Style A phone layout under the ?tiger_narrow=1 test hook. */
.t-force-narrow .stepper button{width:44px;height:44px}
.t-force-narrow .stepper input{height:44px}
.t-force-narrow nav a{padding:10px 6px;font-size:14px;margin-right:2px}
.t-force-narrow .tiles{grid-template-columns:repeat(2,1fr)}
.t-force-narrow .hero2 h1{font-size:26px}
.t-force-narrow .wrap{padding:0 10px 24px}
