/* Thabico customer portal — mobile-first, no framework. */
:root {
  --pt-primary: #0f6fa8;
  --pt-primary-700: #0b5584;
  --pt-primary-50: #eaf4fb;
  --pt-brand: #1b8fd2;
  --pt-green: #79b62f;
  --pt-green-700: #4f7f16;
  --pt-green-50: #f0f8e4;
  --pt-ink: #0f2a3d;
  --pt-text: #2a3b48;
  --pt-muted: #637485;
  --pt-line: #e2e8ee;
  --pt-line-strong: #cfd8e1;
  --pt-bg: #f4f7f9;
  --pt-card: #fff;
  --pt-navy: #0c3350;
  --pt-radius: 12px;
  --pt-radius-sm: 8px;
  --pt-shadow: 0 1px 2px rgba(15, 42, 61, .05), 0 6px 18px rgba(15, 42, 61, .06);
  --pt-shadow-lg: 0 10px 40px rgba(15, 42, 61, .16);
  --pt-header-h: 60px;
  /* Page width and side margin shared by the header and every content block, so they line up. */
  --pt-max: 1280px;
  --pt-gutter: 16px;
  --pt-tabbar-h: 64px;
  --pt-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.pt-body {
  margin: 0; font-family: var(--pt-font); font-size: 15px; line-height: 1.55; color: var(--pt-text);
  background: var(--pt-bg); -webkit-font-smoothing: antialiased; min-height: 100vh; display: flex; flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pt-primary); text-decoration: none; }
a:hover { color: var(--pt-primary-700); text-decoration: underline; }
h1, h2, h3, h4 { color: var(--pt-ink); line-height: 1.25; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: 1.55rem; letter-spacing: -.01em; }
h2 { font-size: 1.2rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(27, 143, 210, .45); outline-offset: 2px; border-radius: 4px; }
.pt-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pt-skip { position: absolute; left: 12px; top: -48px; z-index: 200; background: var(--pt-ink); color: #fff; padding: 8px 14px; border-radius: 8px; }
.pt-skip:focus { top: 8px; color: #fff; }
.pt-icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.pt-muted { color: var(--pt-muted); }
.pt-nowrap { white-space: nowrap; }
.pt-mono { font-variant-numeric: tabular-nums; }

/* Header ------------------------------------------------------------- */
.pt-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--pt-line); }
.pt-header__bar { height: var(--pt-header-h); display: flex; align-items: center; gap: 8px; padding: 0 var(--pt-gutter); max-width: var(--pt-max); margin: 0 auto; }
.pt-logo { display: inline-flex; align-items: center; gap: 10px; color: var(--pt-ink); font-weight: 700; margin-right: auto; min-width: 0; }
.pt-logo:hover { text-decoration: none; color: var(--pt-ink); }
.pt-logo img { height: 32px; width: auto; }
.pt-logo__tag { font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--pt-muted); text-transform: uppercase; padding-left: 10px; border-left: 1px solid var(--pt-line-strong); white-space: nowrap; }
.pt-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--pt-ink); border-radius: 10px; cursor: pointer; }
.pt-iconbtn:hover { background: var(--pt-primary-50); color: var(--pt-primary); text-decoration: none; }
.pt-iconbtn .pt-icon { width: 23px; height: 23px; }
.pt-badge { position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #e5484d; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.pt-badge[hidden] { display: none; }
.pt-account { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 4px 6px; border-radius: 22px; cursor: pointer; color: var(--pt-ink); }
.pt-account:hover { background: var(--pt-primary-50); }
.pt-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--pt-brand), var(--pt-primary-700)); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex: none; }
.pt-account__name { display: none; font-weight: 600; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-header .pt-header__support { display: none; }
.pt-header__lang { display: none; }
.pt-menu-toggle { margin-left: -6px; }

/* Dropdowns */
.pt-dropdown { position: relative; }
.pt-dropdown__panel { position: absolute; right: 0; top: calc(100% + 8px); min-width: 240px; background: #fff; border: 1px solid var(--pt-line); border-radius: var(--pt-radius); box-shadow: var(--pt-shadow-lg); padding: 6px; display: none; z-index: 70; }
.pt-dropdown.is-open .pt-dropdown__panel { display: block; }
.pt-dropdown__head { padding: 10px 12px; border-bottom: 1px solid var(--pt-line); margin-bottom: 4px; }
.pt-dropdown__head strong { display: block; color: var(--pt-ink); }
.pt-dropdown__head span { font-size: 13px; color: var(--pt-muted); word-break: break-all; }
.pt-dropdown__item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; background: none; border-radius: 8px; color: var(--pt-text); text-align: left; cursor: pointer; font-size: 14px; }
.pt-dropdown__item:hover, .pt-dropdown__item.is-active { background: var(--pt-primary-50); color: var(--pt-primary-700); text-decoration: none; }
.pt-dropdown__item .pt-icon { width: 18px; height: 18px; color: var(--pt-muted); }
.pt-dropdown__sep { height: 1px; background: var(--pt-line); margin: 4px 0; }
.pt-dropdown__item small { margin-left: auto; color: var(--pt-muted); font-size: 12px; }

/* Main navigation (desktop) */
.pt-nav { display: none; background: #fff; border-bottom: 1px solid var(--pt-line); box-shadow: 0 2px 6px rgba(15, 42, 61, .04); }
.pt-nav__inner { max-width: var(--pt-max); margin: 0 auto; padding: 0 max(0px, calc(var(--pt-gutter) - 14px)); display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.pt-nav a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 15px 14px; color: var(--pt-ink); font-weight: 600; white-space: nowrap; font-size: 15px; }
.pt-nav a .pt-icon { width: 18px; height: 18px; color: var(--pt-muted); }
.pt-nav a:hover { color: var(--pt-primary); text-decoration: none; }
.pt-nav a.is-active { color: var(--pt-primary); }
.pt-nav a.is-active::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--pt-primary); }
.pt-nav a.is-active .pt-icon { color: var(--pt-primary); }

/* Company bar */
.pt-companybar { background: var(--pt-ink); color: #dbe7f0; font-size: 13px; }
.pt-companybar__inner { max-width: var(--pt-max); margin: 0 auto; padding: 6px var(--pt-gutter); display: flex; align-items: center; gap: 8px; }
.pt-companybar .pt-icon { width: 16px; height: 16px; opacity: .8; }
.pt-companybar strong { color: #fff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-companybar a { color: #9ed3f5; margin-left: auto; white-space: nowrap; }

/* Drawer (mobile menu) */
.pt-drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.pt-drawer.is-open { visibility: visible; }
.pt-drawer__backdrop { position: absolute; inset: 0; background: rgba(8, 24, 36, .5); opacity: 0; transition: opacity .2s; }
.pt-drawer.is-open .pt-drawer__backdrop { opacity: 1; }
.pt-drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); background: #fff; transform: translateX(-100%); transition: transform .25s ease; display: flex; flex-direction: column; overflow-y: auto; }
.pt-drawer.is-open .pt-drawer__panel { transform: none; }
.pt-drawer__top { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 16px; border-bottom: 1px solid var(--pt-line); }
.pt-drawer__user { padding: 16px; display: flex; gap: 12px; align-items: center; background: var(--pt-primary-50); }
.pt-drawer__user strong { display: block; color: var(--pt-ink); }
.pt-drawer__user span { font-size: 13px; color: var(--pt-muted); word-break: break-all; }
.pt-drawer nav { padding: 8px; }
.pt-drawer nav a, .pt-drawer nav button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 10px; color: var(--pt-ink); font-weight: 600; background: none; border: 0; text-align: left; cursor: pointer; font-size: 15px; }
.pt-drawer nav a:hover, .pt-drawer nav a.is-active { background: var(--pt-primary-50); color: var(--pt-primary-700); text-decoration: none; }
.pt-drawer nav .pt-icon { color: var(--pt-muted); }
.pt-drawer__section { padding: 12px 16px; border-top: 1px solid var(--pt-line); }
.pt-drawer__section h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--pt-muted); margin: 0 0 8px; }
.pt-langgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.pt-langgrid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 4px; border: 1px solid var(--pt-line); border-radius: 10px; color: var(--pt-ink); font-size: 12px; text-align: center; min-height: 52px; }
.pt-langgrid a strong { font-size: 13px; }
.pt-langgrid a.is-active { border-color: var(--pt-primary); background: var(--pt-primary-50); color: var(--pt-primary-700); }
.pt-langgrid a:hover { text-decoration: none; border-color: var(--pt-primary); }
body.pt-lock { overflow: hidden; }

/* Bottom tab bar (mobile) */
.pt-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; height: calc(var(--pt-tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.6) blur(8px); border-top: 1px solid var(--pt-line); display: grid; grid-template-columns: repeat(5, 1fr); }
.pt-tabbar a, .pt-tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--pt-muted); font-size: 11px; font-weight: 600; border: 0; background: none; padding: 6px 2px; cursor: pointer; position: relative; line-height: 1.15; text-align: center; }
.pt-tabbar .pt-icon { width: 22px; height: 22px; }
.pt-tabbar a.is-active { color: var(--pt-primary); }
.pt-tabbar a.is-active::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--pt-primary); }
.pt-tabbar a:hover { text-decoration: none; color: var(--pt-primary); }
.pt-has-tabbar main { padding-bottom: calc(var(--pt-tabbar-h) + 16px); }
.pt-has-tabbar .pt-footer { padding-bottom: calc(var(--pt-tabbar-h) + env(safe-area-inset-bottom)); }

/* Layout */
main { flex: 1 0 auto; }
.pt-container { width: 100%; max-width: var(--pt-max); margin: 0 auto; padding: 0 var(--pt-gutter); }
.pt-page { padding-top: 14px; padding-bottom: 32px; }
.pt-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 13px; color: var(--pt-muted); margin: 0 0 10px; padding: 0; list-style: none; }
.pt-breadcrumb li { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.pt-breadcrumb li + li::before { content: "›"; color: #a0aebb; margin: 0 2px; }
.pt-breadcrumb a { color: var(--pt-primary); }
.pt-breadcrumb li:last-child { color: var(--pt-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.pt-page-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.pt-page-head h1 { margin: 0; }
.pt-page-head p { margin: 4px 0 0; color: var(--pt-muted); }
.pt-page-head__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pt-section { margin-top: 28px; }
.pt-section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pt-section__head h2 { margin: 0; }
.pt-section__head a { font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.pt-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }

/* Buttons */
.pt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; cursor: pointer; text-align: center; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; white-space: nowrap; }
.pt-btn:hover { text-decoration: none; }
.pt-btn .pt-icon { width: 18px; height: 18px; }
.pt-btn--primary { background: var(--pt-primary); color: #fff; }
.pt-btn--primary:hover { background: var(--pt-primary-700); color: #fff; }
.pt-btn--green { background: var(--pt-green); color: #fff; }
.pt-btn--green:hover { background: var(--pt-green-700); color: #fff; }
.pt-btn--outline { background: #fff; color: var(--pt-primary); border-color: var(--pt-line-strong); }
.pt-btn--outline:hover { border-color: var(--pt-primary); color: var(--pt-primary-700); background: var(--pt-primary-50); }
.pt-btn--ghost { background: transparent; color: var(--pt-primary); padding-left: 8px; padding-right: 8px; }
.pt-btn--ghost:hover { background: var(--pt-primary-50); color: var(--pt-primary-700); }
.pt-btn--danger { background: #fff; color: #b42318; border-color: #f2c9c6; }
.pt-btn--danger:hover { background: #fef3f2; color: #912018; }
.pt-btn--sm { min-height: 36px; padding: 6px 12px; font-size: 14px; border-radius: 8px; }
.pt-btn--block { display: flex; width: 100%; }
.pt-btn[disabled], .pt-btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
.pt-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; background: none; border: 0; padding: 6px 0; color: var(--pt-primary); cursor: pointer; }
.pt-link .pt-icon { width: 18px; height: 18px; }
.pt-link:hover { color: var(--pt-primary-700); text-decoration: underline; }

/* Pills (status) */
.pt-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.pt-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .85; }
.pt-pill--neutral { background: #eef1f4; color: #4a5a68; }
.pt-pill--info { background: #e4f0fb; color: #0b5584; }
.pt-pill--warning { background: #fff2d6; color: #8a5300; }
.pt-pill--success { background: #e3f5e8; color: #17703a; }
.pt-pill--danger { background: #fde7e7; color: #a12626; }
.pt-pill--accent { background: #ece7fd; color: #5435c0; }
.pt-pills { display: flex; flex-wrap: wrap; gap: 6px; }

/* Cards */
.pt-card { background: var(--pt-card); border: 1px solid var(--pt-line); border-radius: var(--pt-radius); box-shadow: var(--pt-shadow); }
.pt-card__body { padding: 16px; }
.pt-card__head { padding: 14px 16px; border-bottom: 1px solid var(--pt-line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pt-card__head h2, .pt-card__head h3 { margin: 0; font-size: 1.02rem; display: flex; align-items: center; gap: 8px; }
.pt-card__head h2 .pt-icon, .pt-card__head h3 .pt-icon { color: var(--pt-primary); }

/* List item card (orders, samples, documents, support) */
.pt-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pt-item { display: flex; background: #fff; border: 1px solid var(--pt-line); border-radius: var(--pt-radius); box-shadow: var(--pt-shadow); overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.pt-item:hover { border-color: #c7d6e2; box-shadow: 0 2px 4px rgba(15, 42, 61, .06), 0 10px 24px rgba(15, 42, 61, .08); }
.pt-item__media { flex: none; width: 92px; background: #eef5f9; }
.pt-item__media img { width: 100%; height: 100%; object-fit: cover; min-height: 100%; }
.pt-item__media--icon { display: flex; align-items: center; justify-content: center; color: var(--pt-primary); }
.pt-item__media--icon .pt-icon { width: 34px; height: 34px; stroke-width: 1.5; }
.pt-item__body { flex: 1; min-width: 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.pt-item__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.pt-item__meta { font-size: 13px; color: var(--pt-muted); display: flex; flex-wrap: wrap; gap: 2px 12px; }
.pt-item__meta b { color: var(--pt-primary); font-weight: 600; }
.pt-item__title { margin: 2px 0 0; font-size: 1rem; font-weight: 700; color: var(--pt-ink); word-break: break-word; }
.pt-item__title a { color: inherit; }
.pt-item__top > :first-child { flex: 1 1 auto; min-width: 0; }
.pt-item__status { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: 0 1 auto; max-width: 48%; }
.pt-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; margin: 0; }
.pt-facts div { min-width: 0; }
.pt-facts dt { font-size: 12px; font-weight: 600; color: var(--pt-primary); margin: 0; }
.pt-facts dd { margin: 1px 0 0; font-size: 14px; color: var(--pt-text); overflow-wrap: anywhere; }
.pt-facts .pt-facts__wide { grid-column: 1 / -1; }
.pt-item__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 16px; border-top: 1px dashed var(--pt-line); padding-top: 8px; margin-top: auto; }
.pt-track { display: inline-flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 4px 6px; font-size: 13px; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.pt-track .pt-icon { width: 16px; height: 16px; }

/* Filters */
.pt-filters { background: #fff; border: 1px solid var(--pt-line); border-radius: var(--pt-radius); padding: 12px; margin-bottom: 14px; box-shadow: var(--pt-shadow); }
.pt-filters__row { display: flex; gap: 8px; align-items: center; }
.pt-search { position: relative; flex: 1; min-width: 0; }
.pt-search .pt-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--pt-muted); width: 18px; height: 18px; pointer-events: none; }
.pt-search input { padding-left: 38px !important; }
.pt-filters__toggle { flex: none; }
.pt-filters__count { display: inline-flex; min-width: 20px; height: 20px; border-radius: 10px; background: var(--pt-primary); color: #fff; font-size: 12px; align-items: center; justify-content: center; padding: 0 6px; }
.pt-filters__panel { display: none; }
.pt-filters__fields { display: grid; gap: 12px; }
.pt-filters__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.pt-filters__summary { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pt-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 10px; border-radius: 16px; background: var(--pt-primary-50); color: var(--pt-primary-700); font-size: 13px; font-weight: 600; }
.pt-chip a { display: inline-flex; color: inherit; border-radius: 50%; }
.pt-chip .pt-icon { width: 14px; height: 14px; }
.pt-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pt-presets button { border: 1px solid var(--pt-line-strong); background: #fff; border-radius: 16px; padding: 5px 10px; font-size: 13px; cursor: pointer; color: var(--pt-text); }
.pt-presets button:hover { border-color: var(--pt-primary); color: var(--pt-primary); }
.pt-daterange { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Bottom sheet for mobile filters */
.pt-sheet-open .pt-filters__panel { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; max-height: 85vh; overflow-y: auto; background: #fff; border-radius: 18px 18px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); box-shadow: var(--pt-shadow-lg); animation: pt-up .22s ease; }
.pt-sheet-open .pt-sheet-backdrop { display: block; }
.pt-sheet-backdrop { display: none; position: fixed; inset: 0; z-index: 105; background: rgba(8, 24, 36, .45); }
.pt-sheet-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.pt-sheet-title h3 { margin: 0; }
@keyframes pt-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

/* Forms */
.pt-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pt-label { font-size: 13px; font-weight: 700; color: var(--pt-ink); }
.pt-label small { font-weight: 500; color: var(--pt-muted); }
.pt-input, .pt-select, .pt-textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--pt-line-strong); border-radius: 10px; background: #fff; color: var(--pt-text); font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.pt-select { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23637485' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; }
.pt-textarea { min-height: 120px; resize: vertical; }
.pt-input:focus, .pt-select:focus, .pt-textarea:focus { outline: none; border-color: var(--pt-brand); box-shadow: 0 0 0 3px rgba(27, 143, 210, .18); }
.pt-input.is-invalid, .pt-select.is-invalid, .pt-textarea.is-invalid { border-color: #d92d20; }
.pt-error { color: #b42318; font-size: 13px; font-weight: 600; }
.pt-hint { color: var(--pt-muted); font-size: 13px; }
.pt-check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; }
.pt-check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--pt-primary); flex: none; }
.pt-form-grid { display: grid; gap: 14px; }
.pt-radio-cards { display: grid; gap: 10px; }
.pt-radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--pt-line-strong); border-radius: var(--pt-radius); cursor: pointer; background: #fff; }
.pt-radio-card input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--pt-primary); flex: none; }
.pt-radio-card:has(input:checked) { border-color: var(--pt-primary); background: var(--pt-primary-50); }
.pt-radio-card strong { display: block; color: var(--pt-ink); }
.pt-radio-card span { font-size: 13.5px; color: var(--pt-muted); }
.pt-files { border: 1.5px dashed var(--pt-line-strong); border-radius: var(--pt-radius); padding: 16px; text-align: center; background: #fafcfd; }
.pt-files input[type=file] { width: 100%; font-size: 14px; }
.pt-files__list { list-style: none; margin: 10px 0 0; padding: 0; text-align: left; font-size: 13.5px; }
.pt-files__list li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid var(--pt-line); }
.pt-files__list li.is-bad { color: #b42318; }

/* Alerts & toast */
.pt-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 14px; margin-bottom: 14px; border: 1px solid; }
.pt-alert .pt-icon { margin-top: 1px; }
.pt-alert--info { background: #eef6fc; border-color: #cfe5f6; color: #0b4c75; }
.pt-alert--success { background: #ecf8ef; border-color: #c4e8cf; color: #146333; }
.pt-alert--error { background: #fef1f0; border-color: #f6cfcb; color: #9b1c13; }
.pt-alert--warning { background: #fff7e6; border-color: #f6dfae; color: #7a4a00; }
.pt-toast-wrap { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--pt-tabbar-h) + 16px + env(safe-area-inset-bottom)); z-index: 120; display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.pt-toast { background: var(--pt-ink); color: #fff; padding: 12px 16px; border-radius: 12px; box-shadow: var(--pt-shadow-lg); font-size: 14px; display: flex; gap: 10px; align-items: center; animation: pt-up .2s ease; pointer-events: auto; }
.pt-toast--error { background: #9b1c13; }
.pt-toast a { color: #9ed3f5; font-weight: 700; margin-left: auto; white-space: nowrap; }

/* Tabs */
.pt-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--pt-line); margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.pt-tabs a { padding: 10px 14px; font-weight: 700; color: var(--pt-muted); white-space: nowrap; position: relative; font-size: 14.5px; }
.pt-tabs a:hover { color: var(--pt-ink); text-decoration: none; }
.pt-tabs a.is-active { color: var(--pt-ink); }
.pt-tabs a.is-active::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--pt-primary); }

/* Pagination */
.pt-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; font-size: 14px; }
.pt-pager__size { display: inline-flex; align-items: center; gap: 8px; color: var(--pt-muted); }
.pt-pager__size select { min-height: 36px; padding: 4px 30px 4px 10px; font-size: 14px; width: auto; }
.pt-pager__nav { display: inline-flex; align-items: center; gap: 6px; }
.pt-pager__info { margin-right: 8px; color: var(--pt-muted); white-space: nowrap; }
.pt-pager__btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--pt-line-strong); background: #fff; color: var(--pt-ink); }
.pt-pager__btn:hover { border-color: var(--pt-primary); color: var(--pt-primary); text-decoration: none; }
.pt-pager__btn.is-disabled { opacity: .4; pointer-events: none; }
.pt-pager__btn .pt-icon { width: 18px; height: 18px; }
.pt-results { font-size: 13.5px; color: var(--pt-muted); margin: -4px 0 10px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }

/* Empty / state screens */
.pt-empty { text-align: center; padding: 40px 20px; background: #fff; border: 1px dashed var(--pt-line-strong); border-radius: var(--pt-radius); }
.pt-empty__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--pt-primary-50); color: var(--pt-primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.pt-empty__icon .pt-icon { width: 30px; height: 30px; }
.pt-empty h3 { margin-bottom: 6px; }
.pt-empty p { color: var(--pt-muted); max-width: 460px; margin: 0 auto 14px; }
.pt-sync { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--pt-muted); }
.pt-sync .pt-icon { width: 16px; height: 16px; }
.pt-sync--stale { color: #8a5300; }

/* Home */
.pt-hero { position: relative; color: #fff; background: #0c3350 center / cover no-repeat; background-image: var(--pt-hero-m); }
.pt-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 30, 46, .55), rgba(6, 30, 46, .72)); }
.pt-hero__inner { position: relative; max-width: var(--pt-max); margin: 0 auto; padding: 30px var(--pt-gutter) 34px; text-align: center; }
.pt-hero h1 { color: #fff; font-size: 1.7rem; margin-bottom: 6px; }
.pt-hero p { margin: 0 auto; max-width: 640px; color: #e2eef6; font-size: 15px; }
.pt-hero__company { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 5px 12px; border-radius: 16px; background: rgba(255, 255, 255, .14); font-size: 13px; font-weight: 600; }
.pt-hero__company .pt-icon { width: 16px; height: 16px; }
.pt-home { margin-top: -14px; position: relative; }
.pt-panel { background: #fff; border-radius: 16px; box-shadow: var(--pt-shadow); border: 1px solid var(--pt-line); padding: 18px 14px; }
.pt-panel h2 { font-size: 1.15rem; margin-bottom: 14px; }
.pt-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pt-tile { display: flex; align-items: center; gap: 10px; padding: 14px 12px; min-height: 64px; background: #fff; border: 1px solid var(--pt-line); border-radius: 12px; color: var(--pt-ink); font-weight: 700; font-size: 14px; line-height: 1.3; box-shadow: 0 1px 2px rgba(15, 42, 61, .04); transition: transform .12s, box-shadow .15s, border-color .15s; }
.pt-tile:hover { text-decoration: none; border-color: #bcd4e5; box-shadow: var(--pt-shadow); color: var(--pt-primary-700); transform: translateY(-1px); }
.pt-tile__icon { width: 38px; height: 38px; border-radius: 10px; background: var(--pt-primary-50); color: var(--pt-primary); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pt-tile__arrow { margin-left: auto; color: var(--pt-muted); width: 18px; height: 18px; display: none; }
.pt-tile__label { min-width: 0; overflow-wrap: anywhere; }
.pt-tile--featured { background: linear-gradient(135deg, #c8ef4d, #9fdc2f); border-color: #a5d43d; color: #1d3a06; }
.pt-tile--featured .pt-tile__icon { background: rgba(255, 255, 255, .55); color: #2f5a05; }
.pt-tile--featured:hover { color: #142a03; border-color: #8cc226; }
.pt-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pt-stat { display: block; padding: 14px; background: #fff; border: 1px solid var(--pt-line); border-radius: 12px; color: var(--pt-text); }
.pt-stat:hover { text-decoration: none; border-color: #bcd4e5; box-shadow: var(--pt-shadow); }
.pt-stat__value { font-size: 1.6rem; font-weight: 800; color: var(--pt-ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.pt-stat__label { font-size: 13px; color: var(--pt-muted); font-weight: 600; margin-top: 4px; display: flex; align-items: center; gap: 6px; }
.pt-stat__dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.pt-mini { display: block; }
.pt-mini a.pt-mini__row, .pt-mini div.pt-mini__row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--pt-line); color: var(--pt-text); }
.pt-mini a.pt-mini__row:hover { background: #f8fbfd; text-decoration: none; }
.pt-mini__row:first-child { border-top: 0; }
.pt-mini__main { min-width: 0; flex: 1; }
.pt-mini__main strong { display: block; color: var(--pt-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14.5px; }
.pt-mini__main span { font-size: 13px; color: var(--pt-muted); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-mini__thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; background: #eef5f9; }

/* Carousel */
.pt-carousel { position: relative; }
.pt-carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 16px; overscroll-behavior-x: contain; }
.pt-carousel__track::-webkit-scrollbar { display: none; }
.pt-slide { position: relative; scroll-snap-align: start; border-radius: 16px; overflow: hidden; min-height: 230px; background: #0c3350; color: #fff; display: flex; }
.pt-slide picture, .pt-slide > img { position: absolute; inset: 0; }
.pt-slide picture img, .pt-slide > img { width: 100%; height: 100%; object-fit: cover; }
.pt-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 26, 40, .82) 0%, rgba(6, 26, 40, .45) 55%, rgba(6, 26, 40, .1) 100%); }
.pt-slide__body { position: relative; z-index: 1; padding: 22px 20px; align-self: flex-end; max-width: 560px; }
.pt-slide__body h3 { color: #fff; font-size: 1.3rem; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 6px; }
.pt-slide__body p { color: #e4eef5; font-size: 14px; margin-bottom: 14px; }
.pt-slide__body .pt-btn { background: transparent; color: #fff; border: 1.5px solid #fff; min-height: 40px; }
.pt-slide__body .pt-btn:hover { background: #fff; color: var(--pt-ink); }
.pt-carousel__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; color: var(--pt-ink); box-shadow: var(--pt-shadow-lg); display: none; align-items: center; justify-content: center; cursor: pointer; z-index: 2; }
.pt-carousel__nav--prev { left: -14px; }
.pt-carousel__nav--next { right: -14px; }
.pt-carousel__dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.pt-carousel__dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; background: #c3d0da; padding: 0; cursor: pointer; transition: width .2s, background .2s; }
.pt-carousel__dots button.is-active { width: 22px; background: var(--pt-primary); }

/* Order detail */
.pt-od-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pt-od-head h1 { margin: 0 0 4px; font-size: 1.4rem; overflow-wrap: anywhere; }
.pt-od-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.pt-od-layout > * { min-width: 0; }
.pt-statusrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.pt-statusbox { padding: 12px; border-radius: 12px; border: 1px solid var(--pt-line); background: #fbfdfe; }
.pt-statusbox__label { display: block; font-size: 12px; font-weight: 700; color: var(--pt-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .04em; }
.pt-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pt-lines { width: 100%; border-collapse: collapse; font-size: 14px; }
.pt-lines th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .03em; line-height: 1.3; color: var(--pt-muted); font-weight: 700; padding: 10px; background: #f6f9fb; border-bottom: 1px solid var(--pt-line); vertical-align: bottom; }
.pt-lines td { padding: 12px 10px; border-bottom: 1px solid var(--pt-line); vertical-align: top; }
.pt-lines .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pt-line-product { display: flex; gap: 10px; align-items: flex-start; min-width: 0; }
@media (min-width: 768px) { .pt-lines td.pt-lines__product { min-width: 200px; } }
.pt-line-product img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex: none; background: #eef5f9; }
.pt-line-product strong { display: block; color: var(--pt-ink); }
.pt-line-product span { font-size: 12.5px; color: var(--pt-muted); }
.pt-totals { margin-left: auto; width: 100%; max-width: 360px; padding: 12px 16px 16px; }
.pt-totals div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 14px; }
.pt-totals div.is-total { border-top: 1px solid var(--pt-line); margin-top: 6px; padding-top: 10px; font-size: 16px; font-weight: 800; color: var(--pt-ink); }
.pt-kv { display: grid; gap: 10px 16px; margin: 0; }
.pt-kv div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 10px; font-size: 14px; }
.pt-kv dt { color: var(--pt-muted); font-weight: 600; }
.pt-kv dd { margin: 0; color: var(--pt-text); overflow-wrap: anywhere; }
.pt-timeline { list-style: none; margin: 0; padding: 0; }
.pt-timeline li { position: relative; padding: 0 0 16px 26px; }
.pt-timeline li::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: -2px; width: 2px; background: var(--pt-line); }
.pt-timeline li:last-child::before { display: none; }
.pt-timeline__dot { position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--pt-line-strong); background: #9aa9b6; }
.pt-timeline__dot--success { background: #22a052; }
.pt-timeline__dot--info { background: #1b8fd2; }
.pt-timeline__dot--warning { background: #e0a100; }
.pt-timeline__dot--danger { background: #d92d20; }
.pt-timeline__dot--accent { background: #6c4cdc; }
.pt-timeline strong { display: block; color: var(--pt-ink); font-size: 14px; }
.pt-timeline span { font-size: 13px; color: var(--pt-muted); }
.pt-doclist { list-style: none; margin: 0; padding: 0; }
.pt-doclist li + li { border-top: 1px solid var(--pt-line); }
.pt-doclist a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--pt-text); }
.pt-doclist a:hover { background: #f8fbfd; text-decoration: none; }
.pt-doclist__icon { width: 38px; height: 38px; border-radius: 9px; background: #fdecea; color: #c0392b; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pt-doclist__icon--img { background: #e8f4fb; color: var(--pt-primary); }
.pt-doclist strong { display: block; color: var(--pt-ink); font-size: 14px; }
.pt-doclist span { font-size: 12.5px; color: var(--pt-muted); }
.pt-doclist .pt-icon.pt-doclist__dl { margin-left: auto; color: var(--pt-primary); }

/* Products */
.pt-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.pt-cat { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pt-line); border-radius: var(--pt-radius); overflow: hidden; box-shadow: var(--pt-shadow); }
.pt-cat__img { aspect-ratio: 16 / 9; background: #eef5f9; overflow: hidden; }
.pt-cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.pt-cat:hover .pt-cat__img img { transform: scale(1.03); }
.pt-cat__body { padding: 14px 16px 16px; }
.pt-cat__body h3 { margin: 0 0 4px; }
.pt-cat__body h3 a { color: var(--pt-ink); }
.pt-cat__count { font-size: 13px; color: var(--pt-muted); }
.pt-cat ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pt-cat ul a { display: inline-block; padding: 4px 10px; border-radius: 14px; background: #f1f6f9; color: var(--pt-text); font-size: 13px; }
.pt-cat ul a:hover { background: var(--pt-primary-50); color: var(--pt-primary-700); text-decoration: none; }
.pt-intro { position: relative; border-radius: 16px; overflow: hidden; color: #fff; background: #0c3350 center / cover no-repeat; background-image: var(--pt-intro-m); margin-bottom: 22px; }
.pt-intro::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 30, 46, .85), rgba(6, 30, 46, .35)); }
.pt-intro__body { position: relative; padding: 26px 20px; max-width: 620px; }
.pt-intro h1 { color: #fff; margin-bottom: 8px; }
.pt-intro p { color: #e2eef6; }
.pt-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pt-product { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pt-line); border-radius: var(--pt-radius); overflow: hidden; box-shadow: var(--pt-shadow); min-width: 0; }
.pt-product__img { aspect-ratio: 1 / 1; background: #f3f8fb; display: block; overflow: hidden; }
.pt-product__img img { width: 100%; height: 100%; object-fit: contain; padding: 8px; transition: transform .3s; }
.pt-product:hover .pt-product__img img { transform: scale(1.04); }
.pt-product__body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pt-product__code { font-size: 12px; color: var(--pt-primary); font-weight: 700; }
.pt-product__name { font-size: 14.5px; font-weight: 700; color: var(--pt-ink); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pt-product__name a { color: inherit; }
.pt-product__meta { font-size: 12.5px; color: var(--pt-muted); }
.pt-product__actions { display: grid; gap: 6px; margin-top: auto; padding-top: 8px; }
.pt-product__actions .pt-btn { min-height: 38px; font-size: 13px; padding: 6px 10px; white-space: normal; }
.pt-pd { display: grid; gap: 18px; }
.pt-gallery__main { aspect-ratio: 1 / 1; background: #f3f8fb; border-radius: var(--pt-radius); overflow: hidden; border: 1px solid var(--pt-line); }
.pt-gallery__main img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.pt-gallery__thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; }
.pt-gallery__thumbs button { width: 64px; height: 64px; flex: none; border-radius: 8px; border: 2px solid var(--pt-line); padding: 0; overflow: hidden; background: #fff; cursor: pointer; }
.pt-gallery__thumbs button.is-active { border-color: var(--pt-primary); }
.pt-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pt-pd__title { font-size: 1.45rem; margin-bottom: 8px; }
.pt-pd__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pt-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; }
.pt-specs div { background: #f6f9fb; border-radius: 10px; padding: 10px 12px; min-width: 0; }
.pt-specs dt { font-size: 12px; color: var(--pt-muted); font-weight: 700; }
.pt-specs dd { margin: 2px 0 0; font-weight: 600; color: var(--pt-ink); font-size: 14px; overflow-wrap: anywhere; }
.pt-request-box { border: 1px solid var(--pt-line); border-radius: var(--pt-radius); padding: 14px; background: #fbfdfe; }
.pt-request-box h3 { margin-bottom: 10px; font-size: 1rem; }
.pt-request-grid { display: grid; grid-template-columns: 1fr 96px; gap: 8px; margin-bottom: 8px; }
.pt-richtext { font-size: 15px; color: var(--pt-text); overflow-wrap: anywhere; }
.pt-richtext img { border-radius: 8px; margin: 10px 0; }
.pt-richtext table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.pt-richtext td, .pt-richtext th { border: 1px solid var(--pt-line); padding: 6px 8px; }
.pt-richtext ul, .pt-richtext ol { padding-left: 20px; }
.pt-sticky-actions { position: sticky; bottom: calc(var(--pt-tabbar-h) + env(safe-area-inset-bottom)); z-index: 40; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--pt-line); padding: 10px 16px; display: flex; gap: 8px; margin: 0 -16px; }
.pt-sticky-actions .pt-btn { flex: 1; white-space: normal; font-size: 14px; }

/* Cart */
.pt-cart { display: grid; gap: 16px; }
.pt-cart-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 14px 16px; border-top: 1px solid var(--pt-line); }
.pt-cart-item:first-child { border-top: 0; }
.pt-cart-item img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; background: #eef5f9; }
.pt-cart-item__fields { display: grid; grid-template-columns: 1fr 90px; gap: 8px; margin-top: 8px; }
.pt-cart-item__fields .pt-field--full { grid-column: 1 / -1; }
.pt-cart-item__top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.pt-cart-item__top strong { color: var(--pt-ink); }
.pt-qty { display: flex; align-items: stretch; border: 1px solid var(--pt-line-strong); border-radius: 10px; overflow: hidden; height: 44px; }
.pt-qty button { width: 32px; border: 0; background: #f4f7f9; cursor: pointer; color: var(--pt-ink); display: inline-flex; align-items: center; justify-content: center; }
.pt-qty input { width: 100%; min-width: 0; border: 0; text-align: center; font-size: 16px; -moz-appearance: textfield; }
.pt-qty input::-webkit-outer-spin-button, .pt-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pt-success { text-align: center; padding: 32px 20px; }
.pt-success__icon { width: 72px; height: 72px; border-radius: 50%; background: #e3f5e8; color: #17703a; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.pt-success__icon .pt-icon { width: 36px; height: 36px; stroke-width: 2.2; }
.pt-refno { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; background: var(--pt-primary-50); color: var(--pt-primary-700); font-weight: 800; font-size: 17px; margin: 4px; font-variant-numeric: tabular-nums; }

/* Help */
.pt-helphero { position: relative; color: #fff; background: #0c3350 center / cover no-repeat; background-image: var(--pt-help-m); }
.pt-helphero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 30, 46, .6), rgba(6, 30, 46, .78)); }
.pt-helphero__inner { position: relative; max-width: 760px; margin: 0 auto; padding: 30px 16px; text-align: center; }
.pt-helphero h1 { color: #fff; }
.pt-helphero p { color: #e2eef6; }
.pt-helphero form { display: flex; gap: 8px; margin-top: 14px; }
.pt-helphero .pt-input { border: 0; }
.pt-topics { display: grid; gap: 12px; }
.pt-topic { display: flex; gap: 14px; padding: 16px; background: #fff; border: 1px solid var(--pt-line); border-radius: var(--pt-radius); box-shadow: var(--pt-shadow); color: var(--pt-text); }
.pt-topic:hover { text-decoration: none; border-color: #bcd4e5; color: var(--pt-text); }
.pt-topic__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--pt-primary-50); color: var(--pt-primary); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.pt-topic h3 { margin: 0 0 4px; color: var(--pt-ink); }
.pt-topic p { margin: 0; font-size: 14px; color: var(--pt-muted); }
.pt-faq { border-top: 1px solid var(--pt-line); }
.pt-faq details { border-bottom: 1px solid var(--pt-line); }
.pt-faq summary { list-style: none; cursor: pointer; padding: 14px 36px 14px 0; position: relative; font-weight: 700; color: var(--pt-ink); }
.pt-faq summary::-webkit-details-marker { display: none; }
.pt-faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--pt-muted); border-bottom: 2px solid var(--pt-muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.pt-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.pt-faq__body { padding: 0 0 14px; }
.pt-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; border-radius: 16px; background: linear-gradient(135deg, var(--pt-primary), #12557f); color: #fff; margin-top: 26px; }
.pt-cta h2 { color: #fff; margin: 0; }
.pt-cta p { margin: 0; color: #dcecf7; }
.pt-cta .pt-btn { background: #fff; color: var(--pt-primary-700); }
.pt-cta .pt-btn:hover { background: #eaf4fb; }

/* Support thread */
.pt-thread { display: grid; gap: 12px; }
.pt-msg { padding: 14px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--pt-line); }
.pt-msg--staff { background: #f2f8fd; border-color: #d4e7f5; }
.pt-msg__head { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--pt-muted); margin-bottom: 6px; }
.pt-msg__head strong { color: var(--pt-ink); }
.pt-msg__body { white-space: pre-line; overflow-wrap: anywhere; }

/* Profile */
.pt-profile { display: grid; gap: 16px; }
.pt-companylist { list-style: none; margin: 0; padding: 0; }
.pt-companylist li { padding: 12px 16px; border-top: 1px solid var(--pt-line); display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.pt-companylist li:first-child { border-top: 0; }
.pt-companylist strong { color: var(--pt-ink); display: block; }
.pt-companylist span { font-size: 13px; color: var(--pt-muted); }

/* Auth pages */
.pt-auth { min-height: 100vh; display: grid; background: #fff; }
.pt-auth__visual { display: none; position: relative; background: #0c3350 center / cover no-repeat; color: #fff; }
.pt-auth__visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(6, 30, 46, .35), rgba(6, 30, 46, .85)); }
.pt-auth__visual-body { position: absolute; left: 48px; right: 48px; bottom: 48px; }
.pt-auth__visual h2 { color: #fff; font-size: 2rem; margin-bottom: 10px; }
.pt-auth__visual p { color: #dbe9f3; font-size: 16px; max-width: 460px; }
.pt-auth__visual ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.pt-auth__visual li { display: flex; gap: 10px; align-items: center; color: #eef6fb; }
.pt-auth__visual li .pt-icon { color: #b6e86a; }
.pt-auth__main { display: flex; flex-direction: column; padding: 16px 20px 24px; }
.pt-auth__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pt-auth__top img { height: 34px; width: auto; }
.pt-auth__form { width: 100%; max-width: 420px; margin: auto; padding: 28px 0; }
.pt-auth__form h1 { font-size: 1.6rem; margin-bottom: 6px; }
.pt-auth__form > p { color: var(--pt-muted); margin-bottom: 22px; }
.pt-auth__foot { text-align: center; font-size: 13px; color: var(--pt-muted); }
.pt-auth__foot a { color: var(--pt-muted); text-decoration: underline; }
.pt-otp { font-size: 28px !important; letter-spacing: .5em; text-align: center; font-weight: 700; padding-left: .5em !important; font-variant-numeric: tabular-nums; min-height: 60px !important; }
.pt-langpick { position: relative; }
.pt-langpick summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--pt-line); font-size: 14px; font-weight: 600; color: var(--pt-ink); }
.pt-langpick summary::-webkit-details-marker { display: none; }
.pt-langpick[open] summary { border-color: var(--pt-primary); }
.pt-langpick .pt-dropdown__panel { display: block; min-width: 190px; }
.pt-divider { display: flex; align-items: center; gap: 12px; color: var(--pt-muted); font-size: 13px; margin: 20px 0; }
.pt-divider::before, .pt-divider::after { content: ""; flex: 1; height: 1px; background: var(--pt-line); }

/* Footer */
.pt-footer { background: var(--pt-navy); color: #c9dae7; font-size: 14px; margin-top: 24px; }
.pt-footer__inner { max-width: var(--pt-max); margin: 0 auto; padding: 30px var(--pt-gutter) 18px; display: grid; gap: 24px; }
.pt-footer__brand img { height: 34px; width: auto; filter: brightness(0) invert(1); opacity: .95; }
.pt-footer__brand p { margin: 12px 0 0; color: #a9c2d4; font-size: 13.5px; }
.pt-footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.pt-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pt-footer li { display: flex; gap: 8px; align-items: flex-start; }
.pt-footer li .pt-icon { width: 16px; height: 16px; margin-top: 3px; color: #7fb2d6; }
.pt-footer a { color: #d7e6f1; }
.pt-footer a:hover { color: #fff; }
.pt-social { display: flex; gap: 8px; margin-top: 14px; }
.pt-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; }
.pt-social a:hover { background: rgba(255, 255, 255, .12); text-decoration: none; }
.pt-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.pt-footer__bottom div { max-width: var(--pt-max); margin: 0 auto; padding: 14px var(--pt-gutter); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13px; color: #8fb0c6; }

/* ≥ 576px */
@media (min-width: 576px) {
  .pt-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pt-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pt-item__media { width: 120px; }
  .pt-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pt-product__actions { grid-template-columns: 1fr 1fr; }
  .pt-slide { min-height: 280px; }
}

/* ≥ 768px: tablet */
@media (min-width: 768px) {
  body.pt-body { font-size: 15.5px; }
  h1 { font-size: 1.8rem; }
  :root { --pt-gutter: 20px; }
  .pt-header__bar { height: 68px; }
  .pt-logo img { height: 36px; }
  .pt-account__name { display: inline; }
  .pt-header .pt-header__support { display: inline-flex; }
  .pt-header__lang { display: block; }
  .pt-tabbar { display: none; }
  .pt-has-tabbar main { padding-bottom: 0; }
  .pt-has-tabbar .pt-footer { padding-bottom: 0; }
  .pt-page { padding-top: 20px; padding-bottom: 40px; }
  .pt-hero { background-image: var(--pt-hero); }
  .pt-hero__inner { padding-top: 44px; padding-bottom: 56px; }
  .pt-hero h1 { font-size: 2.4rem; }
  .pt-hero p { font-size: 17px; }
  .pt-home { margin-top: -28px; }
  .pt-panel { padding: 22px 22px; }
  .pt-panel h2 { font-size: 1.35rem; }
  .pt-tile { padding: 16px 16px; font-size: 15px; min-height: 70px; }
  .pt-tile__arrow { display: inline-block; }
  .pt-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pt-carousel__track { grid-auto-columns: 92%; }
  .pt-carousel__nav { display: inline-flex; }
  .pt-slide { min-height: 320px; }
  .pt-slide__body { padding: 36px 40px; }
  .pt-slide__body h3 { font-size: 1.65rem; }
  .pt-filters { padding: 14px 16px; }
  .pt-filters__toggle { display: none; }
  .pt-filters__panel { display: block !important; position: static !important; box-shadow: none !important; padding: 0 !important; margin-top: 12px; animation: none !important; max-height: none !important; border-radius: 0 !important; }
  .pt-filters__fields { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); align-items: end; }
  .pt-sheet-title { display: none !important; }
  .pt-filters__apply { min-height: 38px; padding: 6px 16px; font-size: 14px; }
  .pt-sheet-backdrop { display: none !important; }
  .pt-filters__foot { margin-top: 10px; justify-content: flex-end; }
  .pt-item__media { width: 140px; }
  .pt-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pt-item__body { padding: 14px 18px; }
  .pt-od-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
  .pt-od-side { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
  .pt-kv { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-kv div { grid-template-columns: 1fr; gap: 2px; }
  .pt-pd { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; }
  .pt-sticky-actions { display: none; }
  .pt-intro { background-image: var(--pt-intro); }
  .pt-intro__body { padding: 40px 36px; }
  .pt-helphero { background-image: var(--pt-help); }
  .pt-helphero__inner { padding: 44px 24px; }
  .pt-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-cta { flex-direction: row; align-items: center; justify-content: space-between; padding: 24px 28px; }
  .pt-profile { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .pt-footer__inner { grid-template-columns: 1.3fr 1fr 1fr; padding-top: 40px; padding-bottom: 24px; }
  .pt-cart { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .pt-cart-item { grid-template-columns: 80px 1fr; }
  .pt-cart-item img { width: 80px; height: 80px; }
  .pt-cart-item__fields { grid-template-columns: 1fr 110px 1.2fr; }
  .pt-cart-item__fields .pt-field--full { grid-column: auto; }
  .pt-toast-wrap { bottom: 24px; }
  .pt-sticky-actions-spacer { display: none; }
}

/* ≥ 1100px: order detail with side column */
@media (min-width: 1100px) {
  .pt-od-layout { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .pt-od-side { grid-template-columns: minmax(0, 1fr); }
}

/* ≥ 992px: desktop */
@media (min-width: 992px) {
  .pt-menu-toggle { display: none; }
  .pt-nav { display: block; }
  .pt-companybar { display: none; }
  .pt-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pt-carousel__track { grid-auto-columns: 86%; }
  .pt-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pt-auth { grid-template-columns: minmax(0, 1fr) minmax(460px, 560px); }
  .pt-auth__visual { display: block; }
  .pt-auth__main { padding: 24px 48px; }
}

/* Phones: give list content the full width */
@media (max-width: 575.98px) {
  .pt-logo__tag { display: none; }
  .pt-item__media--icon { display: none; }
  .pt-item__media { width: 84px; }
  .pt-item__actions { justify-content: space-between; }
  .pt-facts dd { font-size: 13.5px; }
}
@media (max-width: 991.98px) {
  .pt-hero__company { display: none; }
}

/* Mobile-only table → stacked lines */
@media (max-width: 767.98px) {
  .pt-lines thead { display: none; }
  .pt-lines, .pt-lines tbody, .pt-lines tr, .pt-lines td { display: block; width: 100%; }
  .pt-lines tr { padding: 12px 16px; border-bottom: 1px solid var(--pt-line); display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; }
  .pt-lines td { padding: 0; border: 0; }
  .pt-lines td.pt-lines__product { grid-column: 1 / -1; margin-bottom: 4px; }
  .pt-lines td[data-label]::before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 700; color: var(--pt-muted); text-transform: uppercase; letter-spacing: .03em; }
  .pt-lines .num { text-align: left; }
  .pt-lines td.pt-lines__total { font-weight: 800; color: var(--pt-ink); }
  .pt-item__status .pt-pill { font-size: 12px; padding: 2px 8px; }
  .pt-page-head__actions .pt-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .pt-header, .pt-nav, .pt-tabbar, .pt-footer, .pt-companybar, .pt-filters, .pt-page-head__actions, .pt-item__actions, .pt-noprint, .pt-sticky-actions, .pt-toast-wrap { display: none !important; }
  body.pt-body { background: #fff; }
  .pt-card, .pt-item { box-shadow: none; break-inside: avoid; }
  .pt-od-layout { display: block; }
  .pt-od-side { margin-top: 16px; }
}
