/* Shalina public catalogue: device features (share image, scanner, sales, print, offline badge) */
.fx-sheet{position:fixed;inset:0;z-index:120;display:flex;align-items:flex-end;justify-content:center;background:rgba(15,23,42,.6);backdrop-filter:blur(2px)}
@media (min-width:768px){.fx-sheet{align-items:center}}
.fx-card{width:100%;max-width:440px;max-height:92vh;overflow:auto;background:#fff;border-radius:28px 28px 0 0;padding:18px;box-shadow:0 -10px 40px rgba(0,0,0,.25);font-family:Inter,system-ui,sans-serif}
@media (min-width:768px){.fx-card{border-radius:28px}}
.fx-preview{display:block;width:100%;height:auto;aspect-ratio:1080/1350;border-radius:16px;border:1px solid #e2e8f0;margin-bottom:12px;background:#f8fafc}
.fx-row{display:flex;gap:8px;flex-wrap:wrap}
.fx-btn{flex:1;min-width:110px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:14px;padding:12px 14px;font:600 13px Inter,system-ui,sans-serif;background:#f1f5f9;color:#0f172a;text-decoration:none;cursor:pointer}
.fx-primary{background:#402080;color:#fff}.fx-wa{background:#047857;color:#fff}.fx-ghost{width:100%;margin-top:8px;background:transparent;color:#475569}
.fx-actions{display:flex;gap:8px;margin:0 0 8px}
.fx-act{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid #e2e8f0;border-radius:16px;padding:11px 10px;background:#fff;color:#2c1460;font:600 12px Inter,system-ui,sans-serif;cursor:pointer}
.fx-act:hover{background:#f6f4fb}
.fx-sales{margin:0 0 10px;padding:10px 12px;border-radius:16px;background:#f8fafc;border:1px solid #e2e8f0}
.fx-sales-t{font:700 10.5px Inter,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#475569;margin-bottom:6px}
.fx-sales-row{display:flex;gap:6px;flex-wrap:wrap}
.fx-chip{display:inline-flex;align-items:center;border:0;border-radius:999px;padding:7px 12px;background:#fff;border:1px solid #e2e8f0;color:#2c1460;font:600 12px Inter,system-ui,sans-serif;text-decoration:none;cursor:pointer}
.fx-chip.fx-wa{background:#047857;border-color:#047857;color:#fff}
.fx-scan-t{font:800 16px "Plus Jakarta Sans",Inter,sans-serif;color:#0f172a;margin-bottom:10px}
.fx-video{position:relative;border-radius:18px;overflow:hidden;background:#0f172a;aspect-ratio:4/3}
.fx-video video{width:100%;height:100%;object-fit:cover;display:block}
.fx-frame{position:absolute;inset:18%;border:3px solid #e87724;border-radius:18px;box-shadow:0 0 0 999px rgba(0,0,0,.25)}
.fx-hint{font-size:12px;color:#475569;margin:10px 0 0}
#fx-offline{position:fixed;top:10px;left:50%;transform:translateX(-50%);z-index:140;background:#b45309;color:#fff;font:700 12px Inter,system-ui,sans-serif;border-radius:999px;padding:6px 12px;box-shadow:0 6px 18px rgba(0,0,0,.2)}
#fx-offline[hidden]{display:none}
.fx-on{background:#e87724!important;color:#fff!important;border-color:#e87724!important}
#print-sheet{display:none}
@media print{
  html.printing body>*:not(#print-sheet){display:none!important}
  html.printing #print-sheet{display:block}
  @page{size:A4;margin:14mm}
  #print-sheet{font-family:Inter,system-ui,sans-serif;color:#0f172a}
  #print-sheet header{display:flex;align-items:center;justify-content:space-between;border-bottom:3px solid #402080;padding-bottom:8px;margin-bottom:12px;font-weight:700;color:#402080}
  #print-sheet header img{height:48px;width:auto}
  .ps-band{color:#fff;font-weight:700;text-transform:uppercase;padding:6px 12px;border-radius:8px;margin-bottom:12px;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .ps-main{display:flex;gap:18px;align-items:center}.ps-pack{width:220px;height:auto;object-fit:contain}
  .ps-main h1{font-size:26px;margin:0 0 6px}.ps-blogo{height:32px;width:auto}.ps-comp{font-weight:600}
  #print-sheet h2{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#475569;margin:16px 0 4px}
  #print-sheet footer{margin-top:18px;border-top:1px solid #cbd5e1;padding-top:6px;font-size:11px;color:#475569}
  .pl table{width:100%;border-collapse:collapse;font-size:10.5px}.pl th{text-align:left;background:#f1f5f9;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .pl th,.pl td{border-bottom:1px solid #e2e8f0;padding:5px 6px;vertical-align:top}.pl tr{break-inside:avoid}
}
@media (max-width:639px){#pwa-install-header{display:none!important}}
@media print{#print-sheet .ps-pre{white-space:pre-line}}
