/* Subzely — dark premium marketplace design system. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: local("Inter"), url("/fonts/Inter-Regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: local("Inter Medium"), url("/fonts/Inter-Medium.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: local("Inter SemiBold"), url("/fonts/Inter-SemiBold.woff") format("woff"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: local("Inter Bold"), url("/fonts/Inter-Bold.woff") format("woff"); }

:root {
  --bg: #070d1b;
  --bg-2: #0b1426;
  --header: #081121;
  --card: #111e34;
  --card-2: #172742;
  --card-3: #0d1930;
  --blue: #3b82f6;
  --blue-strong: #2563eb;
  --blue-hover: #60a5fa;
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-strong: #cbd5e1;
  --border: #243653;
  --border-strong: #35507a;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --success-bg: rgba(34, 197, 94, .12);
  --success-bd: rgba(34, 197, 94, .32);
  --warning-bg: rgba(245, 158, 11, .12);
  --warning-bd: rgba(245, 158, 11, .34);
  --danger-bg: rgba(239, 68, 68, .12);
  --danger-bd: rgba(239, 68, 68, .34);
  --info-bg: rgba(59, 130, 246, .13);
  --info-bd: rgba(59, 130, 246, .38);
  --radius-sm: 9px;
  --radius: 13px;
  --radius-lg: 18px;
  --radius-xl: 26px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .25);
  --shadow: 0 10px 30px -18px rgba(0, 0, 0, .8), 0 1px 0 rgba(255, 255, 255, .03) inset;
  --shadow-lg: 0 30px 70px -32px rgba(0, 0, 0, .9), 0 0 0 1px rgba(59, 130, 246, .08);
  --glow: 0 0 40px rgba(37, 99, 235, .28);
  /* Clean Premium Navy product-page system */
  --clean-background: #081225;
  --clean-card: #14243E;
  --clean-card-dark: #101D33;
  --clean-selected: #1A3050;
  --clean-primary: #3B82F6;
  --clean-border: #294363;
  --clean-text: #F4F7FC;
  --clean-muted: #A9BDD7;
  --clean-positive: #10B981;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--text); background:
  radial-gradient(1000px 600px at 80% -10%, rgba(37, 99, 235, .10), transparent 60%),
  radial-gradient(900px 500px at -10% 20%, rgba(59, 130, 246, .06), transparent 60%),
  var(--bg); font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-hover); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.025em; color: var(--text); }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem); font-weight: 700; letter-spacing: -.045em; }
h2 { font-size: clamp(1.4rem, 1.15rem + .85vw, 1.85rem); font-weight: 650; }
h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -.012em; }
p { margin: 0 0 1em; }
small, .small { font-size: .85rem; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: .92em; }
.nowrap { white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }
hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
:focus-visible { outline: 2px solid var(--blue-hover); outline-offset: 3px; border-radius: 7px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -56px; background: var(--blue-strong); color: #fff; padding: 9px 15px; border-radius: 9px; z-index: 100; font-weight: 600; }
.skip-link:focus { top: 12px; }
.announcement { background: linear-gradient(90deg, #0b1c38, #12264a); color: #dbeafe; text-align: center; padding: 9px 20px; font-size: .86rem; border-bottom: 1px solid var(--border); }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 800px; }
.stack > * + * { margin-top: 16px; }
.stack-sm > * + * { margin-top: 8px; }
.stack-lg > * + * { margin-top: 30px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.section { padding: 76px 0; }
[id] { scroll-margin-top: 92px; }
.section-sm { padding: 52px 0; }
.section-alt { background: linear-gradient(180deg, rgba(17, 30, 52, .55), rgba(11, 20, 38, .55)); border-top: 1px solid rgba(36, 54, 83, .65); border-bottom: 1px solid rgba(36, 54, 83, .65); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 26px; flex-wrap: wrap; }
.section-head p { margin: 0; color: var(--muted); max-width: 66ch; }
.eyebrow { display: inline-block; font-size: .73rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: #7db2ff; margin-bottom: 10px; }
.eyebrow-pill { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(59, 130, 246, .35); background: rgba(37, 99, 235, .12); color: #bfdbfe; }
.eyebrow-pill svg { width: 14px; height: 14px; }
.grad { background: linear-gradient(96deg, #7dd3fc 0%, #3b82f6 38%, #7c3aed 78%, #a855f7 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(8, 17, 33, .86); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); border-bottom: 1px solid rgba(36, 54, 83, .8); box-shadow: 0 10px 30px -24px #000; }
.site-header .bar { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 1.16rem; letter-spacing: -.035em; flex: none; }
.logo:hover { text-decoration: none; }
.logo svg { width: 30px; height: 30px; box-shadow: 0 6px 18px -6px rgba(37, 99, 235, .8); border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: 4px; }
.nav a, .nav summary { color: var(--muted-strong); font-weight: 500; font-size: .91rem; padding: 8px 11px; border-radius: 9px; cursor: pointer; list-style: none; transition: color .15s, background .15s; }
.nav summary::-webkit-details-marker, .dropdown summary::-webkit-details-marker { display: none; }
.nav summary::after { content: "⌄"; font-size: .8em; margin-left: 4px; opacity: .65; }
.nav a:hover, .nav summary:hover { background: rgba(59, 130, 246, .1); color: var(--text); text-decoration: none; }
.nav a[aria-current="page"] { color: #dbeafe; background: rgba(59, 130, 246, .14); box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .2); }
.dropdown { position: relative; }
.dropdown-panel { position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px; background: #0d1a30; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 8px; display: grid; gap: 2px; z-index: 60; }
.dropdown-panel a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; color: var(--text); border-radius: 8px; }
.dropdown-panel a:hover { background: rgba(59, 130, 246, .12); }
.header-search { flex: 1; max-width: 330px; margin-left: auto; position: relative; }
.header-search input { width: 100%; height: 42px; padding: 0 54px 0 38px; border: 1px solid var(--border); border-radius: 11px; background: rgba(17, 30, 52, .75); font: inherit; font-size: .89rem; color: var(--text); transition: border-color .15s, box-shadow .15s, background .15s; }
.header-search input::placeholder { color: #64748b; }
.header-search input:focus { outline: none; border-color: var(--blue); background: var(--card); box-shadow: 0 0 0 3px rgba(59, 130, 246, .18); }
.header-search svg { position: absolute; left: 12px; top: 13px; width: 16px; height: 16px; color: var(--muted); }
.search-kbd { position: absolute; right: 8px; top: 10px; font-size: .64rem; font-weight: 600; color: #94a3b8; background: rgba(7, 13, 27, .7); border: 1px solid var(--border); border-radius: 6px; padding: 2px 5px; pointer-events: none; }
.header-actions { display: flex; gap: 8px; align-items: center; flex: none; }
.icon-badge { display: inline-flex; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue-strong); color: #fff; font-size: .68rem; font-weight: 650; align-items: center; justify-content: center; margin-left: 6px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { list-style: none; cursor: pointer; padding: 8px; border-radius: 9px; color: var(--text); }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary:hover { background: rgba(59, 130, 246, .12); }
.mobile-menu .panel { position: absolute; right: 0; top: calc(100% + 14px); width: min(92vw, 340px); background: #0d1a30; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 12px; display: grid; gap: 2px; }
.mobile-menu .panel a { padding: 10px 12px; color: var(--text); font-weight: 500; border-radius: 8px; }
.mobile-menu .panel a:hover { background: rgba(59, 130, 246, .12); text-decoration: none; }
.mobile-menu .header-search { max-width: none; margin: 0 0 8px; }

/* ---------- Buttons ---------- */
.btn { --b: var(--blue); display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font: inherit; font-weight: 600; font-size: .92rem; line-height: 1; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background .16s var(--ease), border-color .16s, box-shadow .16s, transform .06s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(180deg, #3b82f6, #2563eb); color: #fff; border-color: rgba(96, 165, 250, .45); box-shadow: 0 8px 24px -10px rgba(37, 99, 235, .9), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn-primary:hover { background: linear-gradient(180deg, #60a5fa, #3b82f6); box-shadow: 0 10px 30px -8px rgba(59, 130, 246, .85); }
.btn-dark { background: #0c1830; color: var(--text); border-color: var(--border); }
.btn-dark:hover { background: var(--card); }
.btn-secondary { background: rgba(17, 30, 52, .8); color: var(--text); border-color: var(--border); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--border-strong); background: var(--card-2); }
.btn-ghost { background: transparent; color: var(--muted-strong); }
.btn-ghost:hover { background: rgba(59, 130, 246, .1); color: var(--text); }
.btn-danger { background: rgba(239, 68, 68, .08); color: #fca5a5; border-color: var(--danger-bd); }
.btn-danger:hover { background: var(--danger-bg); }
.btn-success { background: linear-gradient(180deg, #22c55e, #16a34a); color: #04220f; border-color: rgba(134, 239, 172, .35); }
.btn-success:hover { background: linear-gradient(180deg, #4ade80, #22c55e); }
.btn-sm { height: 34px; padding: 0 12px; font-size: .83rem; border-radius: 8px; }
.btn-lg { height: 52px; padding: 0 25px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue-hover); font: inherit; cursor: pointer; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field + .field { margin-top: 16px; }
.label { font-weight: 550; font-size: .9rem; color: var(--text); }
.hint { font-size: .82rem; color: var(--muted); }
.error-text { font-size: .82rem; color: #fca5a5; }
.input, .select, .textarea { width: 100%; min-height: 42px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; background: rgba(7, 13, 27, .6); font: inherit; font-size: .94rem; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: #64748b; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #94a3b8 50%), linear-gradient(135deg, #94a3b8 50%, transparent 50%); background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, .18); background-color: var(--card); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; color: var(--muted-strong); }
.checkbox input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.form-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-grid .field + .field { margin-top: 0; }
.form-grid .span-2 { grid-column: span 2; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; font-weight: 600; color: var(--text); margin-bottom: 10px; }

/* ---------- Cards & surfaces ---------- */
.card { background: linear-gradient(180deg, rgba(23, 39, 66, .55), rgba(17, 30, 52, .92)); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.card-pad { padding: 24px; }
.card-pad-sm { padding: 16px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.card-head h2, .card-head h3 { margin: 0; font-size: 1rem; }
.card-body { padding: 20px; }
.card-foot { padding: 14px 20px; border-top: 1px solid var(--border); background: rgba(7, 13, 27, .35); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.panel-muted { background: rgba(7, 13, 27, .5); border: 1px solid rgba(36, 54, 83, .7); border-radius: var(--radius); padding: 16px; }
.divider-list > * + * { border-top: 1px solid var(--border); }
.kv { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 10px 16px; margin: 0; }
.kv dt { color: var(--muted); font-size: .88rem; }
.kv dd { margin: 0; font-weight: 500; word-break: break-word; }

/* ---------- Badges & chips ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .01em; border: 1px solid var(--border); background: rgba(148, 163, 184, .1); color: var(--muted-strong); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.badge.plain::before { display: none; }
.badge-success { background: var(--success-bg); color: #86efac; border-color: var(--success-bd); }
.badge-warning { background: var(--warning-bg); color: #fcd34d; border-color: var(--warning-bd); }
.badge-danger { background: var(--danger-bg); color: #fca5a5; border-color: var(--danger-bd); }
.badge-info { background: var(--info-bg); color: #93c5fd; border-color: var(--info-bd); }
.chip { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; background: rgba(59, 130, 246, .1); color: #bfdbfe; border: 1px solid rgba(59, 130, 246, .16); font-size: .77rem; font-weight: 500; }

/* ---------- Alerts ---------- */
.alert { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); font-size: .92rem; color: var(--muted-strong); }
.alert strong { display: block; color: var(--text); }
.alert-info { background: var(--info-bg); border-color: var(--info-bd); color: #bfdbfe; }
.alert-info strong { color: #dbeafe; }
.alert-success { background: var(--success-bg); border-color: var(--success-bd); color: #bbf7d0; }
.alert-warning { background: var(--warning-bg); border-color: var(--warning-bd); color: #fde68a; }
.alert-error { background: var(--danger-bg); border-color: var(--danger-bd); color: #fecaca; }
.flash { margin: 16px 0 0; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 20px 0 22px; border-bottom: 1px solid rgba(36, 54, 83, .3); background:
  radial-gradient(920px 470px at 78% 18%, rgba(37, 99, 235, .25), transparent 64%),
  radial-gradient(560px 420px at 98% 58%, rgba(124, 58, 237, .13), transparent 68%),
  radial-gradient(720px 400px at 8% 104%, rgba(124, 58, 237, .11), transparent 64%),
  linear-gradient(180deg, #081121 0%, #070d1b 100%); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(59, 130, 246, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(59, 130, 246, .035) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(820px 520px at 76% 40%, #000 12%, transparent 72%); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 38px; align-items: center; position: relative; }
.hero-copy { position: relative; z-index: 2; padding: 6px 0; min-width: 0; }
.hero h1 { max-width: none; margin: 10px 0 10px; font-size: clamp(2.05rem, 1.45rem + 1.28vw, 2.62rem); line-height: 1.09; letter-spacing: -.046em; }
.hero .lead { font-size: clamp(.96rem, .9rem + .18vw, 1.03rem); line-height: 1.6; color: #b6c4d8; max-width: 54ch; margin: 0 0 16px; }
.hero-search { display: flex; gap: 8px; padding: 6px; background: rgba(17, 30, 52, .85); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); max-width: 590px; }
.hero-search input { flex: 1; border: 0; padding: 0 12px; font: inherit; font-size: 1rem; min-width: 0; background: transparent; color: var(--text); }
.hero-search input::placeholder { color: #64748b; }
.hero-search input:focus { outline: none; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.hero-actions .btn-lg { height: 48px; padding: 0 20px; font-size: .95rem; border-radius: 11px; }
.hero-actions .btn svg { width: 17px; height: 17px; }
.hero-benefits { display: flex; align-items: center; flex-wrap: wrap; margin-top: 18px; color: #c7d4e6; font-size: .82rem; }
.hero-benefits span { display: inline-flex; gap: 7px; align-items: center; padding: 0 15px; border-left: 1px solid rgba(148, 163, 184, .2); }
.hero-benefits span:first-child { padding-left: 0; border-left: 0; }
.hero-benefits svg { width: 16px; height: 16px; color: #4ade80; }
.hero-benefits strong { font-weight: 550; color: #d5e0ef; }

/* Hero artwork — one restrained, self-contained SVG asset. */
.hero-visual { position: relative; min-width: 0; display: flex; align-items: center; justify-content: center; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; z-index: -1; inset: 4% -7% -3% -5%; border-radius: 50%; background: radial-gradient(52% 52% at 62% 46%, rgba(37, 99, 235, .44), transparent 72%); filter: blur(32px); pointer-events: none; }
.hero-visual::after { content: ""; position: absolute; z-index: -1; right: 1%; top: 2%; width: 62%; height: 68%; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(124, 58, 237, .3), transparent 72%); filter: blur(34px); pointer-events: none; }
.hero-art-frame { position: relative; width: 100%; max-width: 500px; aspect-ratio: 1160 / 790; }
.hero-art-img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 44px rgba(2, 7, 18, .5)) drop-shadow(0 0 26px rgba(37, 99, 235, .26)); }

/* ---------- Homepage sections ---------- */
.home-categories { position: relative; padding: 10px 0 0; }
.home-featured { padding-top: 30px; }
.featured-head { align-items: end; margin-bottom: 20px; }
.featured-head h2 { font-size: clamp(1.55rem, 1.15rem + .9vw, 2.08rem); letter-spacing: -.035em; margin-bottom: 4px; }
.featured-head p { font-size: .9rem; }
.featured-head .btn { flex: none; }
.home-how { border-top: 1px solid rgba(36, 54, 83, .55); border-bottom: 1px solid rgba(36, 54, 83, .55); background: linear-gradient(180deg, rgba(17, 30, 52, .42), rgba(11, 20, 38, .52)); }
.home-how.section-sm { padding: 40px 0; }
.home-how .section-head { margin-bottom: 20px; }
.home-faq { padding: 42px 0 20px; }
.home-faq .section-head { margin-bottom: 18px; }

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.cat-card { --cat-a: #2563eb; --cat-b: #0c2a6b; display: flex; align-items: center; gap: 10px; padding: 12px 12px; min-height: 74px; height: 100%; background: linear-gradient(135deg, color-mix(in srgb, var(--cat-a) 86%, #0b1426), color-mix(in srgb, var(--cat-b) 86%, #070d1b)); border: 1px solid color-mix(in srgb, var(--cat-a) 54%, transparent); border-radius: 13px; color: #fff; position: relative; overflow: hidden; transition: border-color .18s, box-shadow .22s var(--ease), transform .22s var(--ease); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.cat-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .13), transparent 46%), radial-gradient(circle at 15% 0%, rgba(255, 255, 255, .16), transparent 42%); pointer-events: none; }
.cat-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -56px; top: -64px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .045); pointer-events: none; }
.cat-card:hover { text-decoration: none; transform: translateY(-2px); border-color: color-mix(in srgb, var(--cat-a) 78%, white 12%); box-shadow: 0 16px 32px -22px #000, 0 0 30px -18px var(--cat-a); }
.cat-music { --cat-a: #0e9f6e; --cat-b: #053d2b; }
.cat-streaming { --cat-a: #dc2626; --cat-b: #4c0a0a; }
.cat-ai-tools { --cat-a: #7c3aed; --cat-b: #2e1065; }
.cat-software { --cat-a: #2563eb; --cat-b: #0c2a6b; }
.cat-education { --cat-a: #d97706; --cat-b: #451a03; }
.cat-gaming-vpn { --cat-a: #6366f1; --cat-b: #1e1b4b; }
.cat-icon { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .12)); color: #fff; border: 1px solid rgba(255, 255, 255, .28); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 8px 18px -12px #000; }
.cat-icon svg { width: 18px; height: 18px; }
.cat-copy { display: grid; gap: 1px; min-width: 0; flex: 1; }
.cat-card strong { font-size: .81rem; font-weight: 700; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.18; letter-spacing: -.01em; }
.cat-card span { font-size: .61rem; color: rgba(255, 255, 255, .74); }
.cat-copy > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-arrow { flex: none; color: rgba(255, 255, 255, .82) !important; font-size: .92rem !important; transition: transform .18s; }
.cat-card:hover .cat-arrow { transform: translateX(3px); color: #fff !important; }

/* Brand logos — authentic locally stored marks, recoloured only for dark surfaces. */
.brand-logo { display: block; width: auto; max-width: 100%; object-fit: contain; }
.brand-logo-sm { height: 24px; }
.brand-logo-text { color: #fff; font-weight: 800; font-size: 1.55rem; letter-spacing: -.04em; line-height: 1; text-shadow: 0 2px 14px rgba(0, 0, 0, .4); white-space: nowrap; }
.brand-logo-text-sm { font-size: 1.05rem; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.product-grid-home { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.product-card { display: flex; flex-direction: column; background: linear-gradient(180deg, #0f1c32 0%, #0b1628 100%); border: 1px solid #22344f; border-radius: 15px; padding: 0; overflow: hidden; transition: border-color .18s, box-shadow .24s var(--ease), transform .24s var(--ease); position: relative; min-height: 100%; box-shadow: 0 14px 30px -26px rgba(0, 0, 0, .9); }
.product-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .055); }
.product-card:hover { border-color: color-mix(in srgb, var(--tint, var(--blue)) 58%, #334155); box-shadow: 0 24px 50px -28px #000, 0 0 30px -18px var(--tint, var(--blue)); transform: translateY(-3px); }
.pc-media { position: relative; overflow: hidden; background: #0b1426; isolation: isolate; }
.pc-media-brand { aspect-ratio: 2.15 / 1; min-height: 96px; max-height: 132px; border-bottom: 1px solid rgba(255, 255, 255, .08); background:
  radial-gradient(115% 150% at 92% -12%, color-mix(in srgb, var(--tint) 80%, white 7%), transparent 54%),
  radial-gradient(90% 120% at 6% 120%, color-mix(in srgb, var(--tint) 44%, #070d1b), transparent 64%),
  linear-gradient(135deg, color-mix(in srgb, var(--tint) 44%, #081222), #091324 72%); }
.pc-media-brand::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(118deg, transparent 34%, rgba(255, 255, 255, .14) 44%, transparent 52%), radial-gradient(circle at 104% -10%, rgba(255, 255, 255, .18), transparent 42%); pointer-events: none; }
.pc-media-brand::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7, 13, 27, 0) 40%, rgba(11, 22, 40, .72) 100%); pointer-events: none; }
.pc-orb { position: absolute; z-index: 0; width: 150px; height: 150px; right: -52px; top: -68px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .035); pointer-events: none; }
.pc-orb-b { width: 240px; height: 240px; right: -96px; top: -118px; border-color: rgba(255, 255, 255, .07); background: transparent; }
.pc-cat { position: absolute; left: 11px; top: 11px; z-index: 3; font-size: .58rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(7, 13, 27, .52); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 4px 8px; backdrop-filter: blur(6px); }
.pc-status { position: absolute; right: 10px; top: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 5px; font-size: .57rem; font-weight: 650; color: #fde68a; background: rgba(7, 13, 27, .58); border: 1px solid rgba(251, 191, 36, .32); border-radius: 999px; padding: 4px 8px; backdrop-filter: blur(6px); }
.pc-status i { width: 5px; height: 5px; border-radius: 50%; background: #fbbf24; box-shadow: 0 0 0 3px rgba(251, 191, 36, .16); }
.pc-status.ok { color: #dcfce7; border-color: rgba(134, 239, 172, .45); }
.pc-status.ok i { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .2); }
.pc-logo { position: absolute; left: 15px; top: 50%; right: 12px; z-index: 2; display: flex; align-items: center; transform: translateY(-50%); }
.pc-logo .brand-logo { height: 42px; max-width: 88%; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .32)); }
.pc-logo .brand-logo-spotify { height: 45px; }
.pc-logo .brand-logo-youtube { height: 42px; }
.pc-logo .brand-logo-netflix { height: 39px; }
.pc-logo .brand-logo-chatgpt { height: 37px; }
.pc-logo .brand-logo-disney { height: 62px; }
.pc-logo .brand-logo-claude { height: 44px; }
.pc-logo .brand-logo-adobe { height: 41px; }
.pc-logo .brand-logo-capcut { height: 35px; }
.pc-logo .brand-logo-discord { height: 37px; }
.pc-logo .brand-logo-microsoft { height: 39px; }
.pc-logo .brand-logo-text { font-size: 1.55rem; }
.pc-media-foot { position: absolute; left: 14px; bottom: 11px; z-index: 2; font-size: .62rem; color: rgba(255, 255, 255, .76); letter-spacing: .01em; }
.pc-body { display: flex; flex-direction: column; flex: 1; padding: 12px 13px 13px; }
.product-card h3 { margin: 0 0 3px; font-size: .97rem; font-weight: 650; letter-spacing: -.025em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card h3 a { color: var(--text); }
.product-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 4; }
.product-card .card-desc { margin: 0 0 8px; color: #9fb0c8; font-size: .76rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.15em; }
.product-card .types { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 9px; min-height: 20px; }
.product-card .types .chip { font-size: .6rem; height: 20px; padding: 0 7px; background: rgba(255, 255, 255, .055); border-color: rgba(255, 255, 255, .09); color: #cbd5e1; }
.product-card .foot { display: flex; align-items: end; justify-content: space-between; gap: 7px; padding-top: 9px; margin-top: auto; border-top: 1px solid rgba(36, 54, 83, .72); }
.pc-price { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 2px; }
.price-from { grid-column: 1 / -1; font-size: .59rem; color: var(--muted); display: block; line-height: 1.15; }
.price { font-weight: 750; font-size: 1.22rem; letter-spacing: -.04em; color: var(--text); font-variant-numeric: tabular-nums; line-height: 1.1; }
.pc-price .price-note { font-size: .62rem; color: var(--muted); }
.pc-btn { display: inline-flex; align-items: center; gap: 3px; height: 30px; padding: 0 9px; border-radius: 7px; background: linear-gradient(180deg, #3b82f6, #2563eb); border: 1px solid rgba(96, 165, 250, .45); color: #fff; font-size: .67rem; font-weight: 650; white-space: nowrap; box-shadow: 0 8px 20px -12px rgba(37, 99, 235, .9); }
.product-card:hover .pc-btn { background: linear-gradient(180deg, #60a5fa, #3b82f6); }
.product-art { display: grid; place-items: center; width: 100%; height: 168px; overflow: hidden; background: #0b1426; border-bottom: 1px solid var(--border); }
.product-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-art .monogram { width: 72px; height: 72px; border-radius: 20px; font-size: 1.5rem; }
.product-art-lg { width: 260px; height: 195px; border-radius: var(--radius-lg); border: 1px solid var(--border); flex: none; box-shadow: 0 24px 60px -30px #000; }
.product-hero .product-art-lg { width: 300px; height: 225px; position: relative; overflow: hidden; }
.product-hero .product-art-lg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 38%, rgba(13, 25, 48, .42) 62%, rgba(13, 25, 48, .9) 84%, #0d1930 100%); pointer-events: none; }
.product-art-card { border: 0; }
.product-art-brand { position: relative; isolation: isolate; padding: 18px; background:
  radial-gradient(110% 140% at 84% 2%, color-mix(in srgb, var(--tint) 78%, white 6%), transparent 58%),
  linear-gradient(135deg, color-mix(in srgb, var(--tint) 42%, #081222), #0a1426 74%); }
.product-art-brand .pa-glow { position: absolute; inset: auto -20% -40% -10%; height: 80%; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--tint) 55%, transparent), transparent 72%); filter: blur(20px); }
.product-art-brand .brand-logo { position: relative; z-index: 1; height: 52px; max-width: 100%; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .35)); }
.product-art-brand .brand-logo-spotify { height: 58px; }
.product-art-brand .brand-logo-netflix { height: 56px; }
.product-art-brand .brand-logo-youtube { height: 48px; }
.product-art-brand .brand-logo-chatgpt { height: 42px; }
.product-art-brand .brand-logo-claude { height: 46px; }
.product-art-brand .brand-logo-adobe { height: 54px; }
.product-art-brand .brand-logo-capcut { height: 40px; }
.product-art-brand .brand-logo-discord { height: 42px; }
.product-art-brand .brand-logo-microsoft { height: 46px; }
.product-art-brand .brand-logo-disney { height: 76px; }
.price-note { font-size: .7rem; color: var(--muted); }
.monogram { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-weight: 700; font-size: 1.05rem; letter-spacing: -.03em; color: var(--text); background: color-mix(in srgb, var(--tint, var(--blue)) 24%, #0b1426); border: 1px solid color-mix(in srgb, var(--tint, var(--blue)) 45%, transparent); }
.monogram-lg { width: 64px; height: 64px; border-radius: 18px; font-size: 1.4rem; }
.monogram img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* ---------- Generic content blocks ---------- */
.browse-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.browse-cta h3 { margin: 0 0 4px; }
.browse-cta p { margin: 0; }
.plan-grid, .journey-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan-card, .journey-card { background: linear-gradient(180deg, rgba(23, 39, 66, .6), rgba(17, 30, 52, .92)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; }
.plan-card h3, .journey-card h3 { margin-bottom: 6px; }
.plan-kicker { display: inline-block; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: #7db2ff; font-weight: 700; margin-bottom: 8px; }
.plan-card p, .journey-card p { color: var(--muted); font-size: .89rem; margin: 0; }
.duration-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.duration-card { display: flex; gap: 14px; align-items: flex-start; background: linear-gradient(180deg, rgba(23, 39, 66, .6), rgba(17, 30, 52, .92)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 18px; }
.duration-num { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(180deg, #3b82f6, #1d4ed8); color: #fff; font-weight: 700; font-size: 1.05rem; box-shadow: 0 8px 20px -10px rgba(37, 99, 235, .9); }
.duration-card h3 { margin: 0 0 3px; font-size: .98rem; }
.duration-card p { margin: 0; color: var(--muted); font-size: .84rem; }
.journey-card .cat-icon { margin-bottom: 14px; }
.journey-card a { display: inline-block; margin-top: 12px; font-weight: 600; }

/* Steps / trust */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: step; }
.step-card { background: linear-gradient(180deg, rgba(23, 39, 66, .6), rgba(17, 30, 52, .92)); border: 1px solid var(--border); border-radius: 14px; padding: 18px; position: relative; }
.step-card::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(59, 130, 246, .15); border: 1px solid rgba(59, 130, 246, .28); color: #bfdbfe; font-weight: 700; font-size: .82rem; margin-bottom: 11px; }
.step-card h3 { margin-bottom: 5px; font-size: .95rem; }
.step-card p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trust-item { display: flex; gap: 14px; padding: 20px; background: linear-gradient(180deg, rgba(23, 39, 66, .55), rgba(17, 30, 52, .9)); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.trust-item svg { flex: none; width: 22px; height: 22px; color: #60a5fa; margin-top: 2px; }
.trust-item h3 { margin-bottom: 4px; font-size: .98rem; }
.trust-item p { margin: 0; color: var(--muted); font-size: .89rem; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: rgba(17, 30, 52, .78); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 18px; }
.faq details[open] { border-color: rgba(96, 165, 250, .35); background: var(--card-2); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.3rem; line-height: 1; color: var(--muted); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted-strong); padding-bottom: 16px; margin: 0; }

/* Footer */
.site-footer { background: linear-gradient(180deg, #081121, #060b16); color: #94a3b8; padding: 60px 0 30px; margin-top: 70px; border-top: 1px solid rgba(36, 54, 83, .8); }
.site-footer a { color: #cbd5e1; }
.site-footer a:hover { color: #fff; }
.site-footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 34px; }
.footer-grid h4 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 15px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .91rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(36, 54, 83, .8); margin-top: 42px; padding-top: 21px; font-size: .8rem; color: #64748b; }

/* Breadcrumbs, page header */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 16px; padding: 0; font-size: .83rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: #475569; }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--blue-hover); }
.page-head { padding: 44px 0 30px; border-bottom: 1px solid rgba(36, 54, 83, .65); background: linear-gradient(180deg, rgba(17, 30, 52, .55), transparent); }
.page-head p { color: var(--muted-strong); max-width: 76ch; margin: 0; }

/* Product page */
.product-hero { display: flex; gap: 30px; align-items: center; margin-bottom: 30px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-xl); background:
  radial-gradient(600px 260px at 14% 30%, rgba(37, 99, 235, .16), transparent 65%),
  linear-gradient(180deg, rgba(23, 39, 66, .65), rgba(13, 25, 48, .9)); }
.product-hero-copy { min-width: 0; }
.product-hero h1 { margin: 8px 0 6px; }
.lead-sm { color: var(--muted-strong); font-size: 1rem; margin: 0; }
.product-hero-meta { display: flex; gap: 30px; flex-wrap: wrap; margin: 16px 0 12px; }
.product-hero-meta div { display: grid; gap: 1px; }
.product-hero-meta strong { font-size: 1.05rem; letter-spacing: -.02em; }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 402px; gap: 42px; align-items: start; }
.buy-product { font-weight: 650; text-transform: uppercase; letter-spacing: .06em; }
.buy-box { position: sticky; top: 92px; }
.buy-review { border-color: rgba(96, 165, 250, .35); box-shadow: 0 24px 60px -34px #000, 0 0 40px -24px rgba(37, 99, 235, .7); }
.variant-group + .variant-group { margin-top: 18px; }
.variant-group h3 { font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 8px; }
.variant-option { display: block; position: relative; cursor: pointer; }
.variant-option + .variant-option { margin-top: 8px; }
.variant-option input { position: absolute; opacity: 0; }
.variant-option .box { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 12px; background: rgba(7, 13, 27, .45); transition: border-color .15s, background .15s, box-shadow .15s; }
.variant-option:hover .box { border-color: var(--border-strong); }
.variant-option input:checked + .box { border-color: var(--blue); background: rgba(37, 99, 235, .14); box-shadow: 0 0 0 3px rgba(59, 130, 246, .16); }
.variant-option input:focus-visible + .box { outline: 2px solid var(--blue-hover); outline-offset: 2px; }
.variant-option .t { font-weight: 650; color: var(--text); }
.variant-option .s { font-size: .79rem; color: var(--muted); }
.access-note { font-size: .84rem; color: var(--muted-strong); background: rgba(7, 13, 27, .45); border: 1px solid rgba(36, 54, 83, .7); border-radius: 10px; padding: 10px 12px; }
.list-check { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.list-check li { display: flex; gap: 10px; }
.list-check li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: rgba(59, 130, 246, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2360A5FA'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-7.5 7.5a1 1 0 01-1.4 0L3.3 9.7a1 1 0 111.4-1.4l3.8 3.8 6.8-6.8a1 1 0 011.4 0z'/%3E%3C/svg%3E") center/12px no-repeat; }
.list-dot { padding-left: 18px; margin: 0; display: grid; gap: 6px; }
.row-review td { opacity: .78; }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .89rem; }
.table th { text-align: left; font-weight: 600; font-size: .71rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 11px 14px; border-bottom: 1px solid var(--border); background: rgba(7, 13, 27, .42); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid rgba(36, 54, 83, .65); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: rgba(59, 130, 246, .055); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.row-link { color: var(--text); font-weight: 650; }
.row-link:hover { color: var(--blue-hover); }

/* Account & admin shells */
.shell { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; padding: 30px 0 52px; align-items: start; }
.side-nav { position: sticky; top: 92px; display: grid; gap: 2px; }
.side-nav a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 9px; color: var(--muted-strong); font-weight: 500; font-size: .91rem; }
.side-nav a:hover { background: rgba(59, 130, 246, .09); color: var(--text); text-decoration: none; }
.side-nav a[aria-current="page"] { background: rgba(59, 130, 246, .14); color: #dbeafe; border: 1px solid rgba(59, 130, 246, .22); }
.side-nav .group { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin: 14px 12px 4px; font-weight: 650; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.stat { background: linear-gradient(180deg, rgba(23, 39, 66, .7), rgba(17, 30, 52, .92)); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 16px 18px; color: var(--text); display: block; transition: border-color .15s, box-shadow .18s, transform .18s; }
a.stat:hover { border-color: rgba(96, 165, 250, .45); box-shadow: 0 14px 34px -22px #000; text-decoration: none; transform: translateY(-2px); }
.stat .k { font-size: .77rem; color: var(--muted); font-weight: 500; }
.stat .v { font-size: 1.65rem; font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; margin-top: 2px; }
.stat.attention { border-color: var(--warning-bd); background: linear-gradient(180deg, rgba(245, 158, 11, .1), rgba(17, 30, 52, .92)); }

.admin-body { background: var(--bg); }
.admin-shell { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; }
.admin-side { background: #081121; color: var(--muted-strong); padding: 18px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; border-right: 1px solid var(--border); }
.admin-side .logo { color: #fff; padding: 4px 10px 18px; }
.admin-side a { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 8px; color: var(--muted-strong); font-size: .89rem; font-weight: 500; }
.admin-side a:hover { background: rgba(59, 130, 246, .1); color: #fff; text-decoration: none; }
.admin-side a[aria-current="page"] { background: rgba(59, 130, 246, .16); color: #fff; box-shadow: inset 2px 0 0 var(--blue); }
.admin-side .group { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: #64748b; margin: 16px 12px 6px; font-weight: 650; }
.admin-side .icon-badge { margin-left: auto; }
.admin-main { padding: 26px 32px 60px; min-width: 0; }
.admin-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.admin-top h1 { font-size: 1.55rem; margin: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.filters .input, .filters .select { width: auto; min-height: 36px; padding: 6px 10px; font-size: .87rem; }
.pagination { display: flex; gap: 6px; justify-content: flex-end; align-items: center; margin-top: 14px; font-size: .87rem; }
.mobile-list { display: none; gap: 10px; }
.mobile-item { display: block; color: inherit; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow-sm); }
.mobile-item:hover { text-decoration: none; border-color: var(--border-strong); }
@media (max-width: 900px) {
  .desktop-table { display: none; }
  .mobile-list { display: grid; }
}
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 20px; align-items: start; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 18px; overflow-x: auto; }
.tabs a { padding: 10px 14px; color: var(--muted-strong); font-weight: 500; font-size: .89rem; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs a[aria-current="page"] { color: var(--text); border-bottom-color: var(--blue); }
.tabs a:hover { text-decoration: none; color: var(--text); }

/* Settings tools */
.settings-tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-bottom: 20px; }
.settings-tool { display: grid; gap: 3px; padding: 13px 15px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, rgba(23, 39, 66, .55), rgba(17, 30, 52, .9)); color: var(--text); transition: border-color .15s, background .15s, transform .15s; }
.settings-tool:hover { border-color: rgba(96, 165, 250, .4); background: var(--card-2); text-decoration: none; transform: translateY(-1px); }
.settings-tool strong { font-size: .86rem; font-weight: 650; }
.settings-tool span { font-size: .73rem; color: var(--muted); line-height: 1.4; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline li { position: relative; padding: 0 0 16px 24px; font-size: .88rem; }
.timeline li::before { content: ""; position: absolute; left: 5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: #475569; box-shadow: 0 0 0 3px var(--bg); }
.timeline li::after { content: ""; position: absolute; left: 9px; top: 16px; bottom: -2px; width: 1px; background: var(--border); }
.timeline li:last-child::after { display: none; }
.timeline li.done::before { background: var(--success); }
.timeline li.current::before { background: var(--blue); box-shadow: 0 0 0 3px rgba(59, 130, 246, .22); }
.timeline .when { color: var(--muted); font-size: .8rem; }

/* Payment instructions */
.pay-box { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); }
.pay-box .amount { font-size: 2rem; font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.copy-field { display: flex; align-items: stretch; border: 1px solid var(--border-strong); border-radius: 10px; overflow: hidden; background: rgba(7, 13, 27, .55); }
.copy-field code, .copy-field .val { flex: 1; padding: 10px 12px; font-family: var(--mono); font-size: .87rem; word-break: break-all; white-space: pre-wrap; }
.copy-field button { border: 0; border-left: 1px solid var(--border-strong); background: var(--card-2); padding: 0 14px; font: inherit; font-weight: 600; font-size: .81rem; color: var(--text); cursor: pointer; }
.copy-field button:hover { background: var(--border); }
.countdown { font-variant-numeric: tabular-nums; font-weight: 600; }

/* Chat */
.chat { display: flex; flex-direction: column; height: 620px; max-height: 78vh; }
.chat-log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, rgba(7, 13, 27, .55), rgba(11, 20, 38, .55)); scroll-behavior: smooth; }
.chat-log > * { flex-shrink: 0; }
.msg { max-width: 78%; display: flex; flex-direction: column; gap: 4px; }
.msg .bubble { padding: 10px 14px; border-radius: 14px; font-size: .91rem; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; }
.msg .meta { font-size: .71rem; color: var(--muted); padding: 0 4px; }
.msg.mine { align-self: flex-end; align-items: flex-end; }
.msg.mine .bubble { background: linear-gradient(180deg, #3b82f6, #2563eb); color: #fff; border-bottom-right-radius: 4px; }
.msg.theirs .bubble { background: var(--card-2); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg.system { align-self: center; max-width: 92%; align-items: center; text-align: center; }
.msg.system .bubble { background: rgba(148, 163, 184, .1); color: var(--muted-strong); font-size: .83rem; border-radius: 10px; }
.msg.payment .bubble { background: var(--warning-bg); color: #fde68a; border: 1px solid var(--warning-bd); }
.msg .attachment { display: inline-flex; gap: 8px; align-items: center; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); color: var(--text); font-size: .84rem; }
.delivery-card { align-self: stretch; max-width: 100%; border: 1px solid var(--success-bd); background: var(--success-bg); border-radius: 14px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.delivery-card .t { font-weight: 600; color: #bbf7d0; }
.chat-compose { border-top: 1px solid var(--border); padding: 12px; background: var(--card); border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.chat-compose form { display: flex; gap: 8px; align-items: flex-end; }
.chat-compose textarea { flex: 1; min-height: 44px; max-height: 160px; resize: none; }
.chat-compose .file-btn { position: relative; overflow: hidden; }
.chat-compose .file-btn input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chat-file-name { font-size: .79rem; color: var(--muted); margin-top: 6px; }
.unread-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }

/* Secure delivery */
.secret-box { background: #050a14; color: #dbeafe; border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; font-family: var(--mono); font-size: .89rem; white-space: pre-wrap; word-break: break-all; }
.delivery-item { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: var(--card); }
.delivery-item.superseded { opacity: .62; background: var(--bg-2); }

/* Checklist */
.checklist { display: grid; gap: 8px; }
.checklist label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: rgba(7, 13, 27, .45); font-size: .89rem; cursor: pointer; color: var(--muted-strong); }
.checklist input { width: 18px; height: 18px; accent-color: var(--success); }
.gate-list { margin: 0; padding-left: 18px; font-size: .85rem; color: #fca5a5; display: grid; gap: 4px; }

/* Empty, skeleton */
.empty { text-align: center; padding: 50px 24px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); background: rgba(17, 30, 52, .5); }
.empty .ico { width: 50px; height: 50px; margin: 0 auto 14px; border-radius: 14px; display: grid; place-items: center; background: rgba(59, 130, 246, .14); color: #93c5fd; }
.empty .ico svg { width: 22px; height: 22px; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--muted); max-width: 46ch; margin: 0 auto 16px; }
.skeleton { background: linear-gradient(90deg, #111e34 25%, #1a2c4a 37%, #111e34 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 8px; min-height: 14px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* Auth */
.auth-wrap { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 52px 20px; background: radial-gradient(800px 420px at 50% 0%, rgba(37, 99, 235, .14), transparent 65%); }
.auth-card { width: 100%; max-width: 430px; background: linear-gradient(180deg, rgba(23, 39, 66, .8), rgba(17, 30, 52, .96)); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 1.65rem; margin-bottom: 6px; }
.auth-card .card { background: transparent; border: 0; box-shadow: none; }

/* Prose */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.8em; font-size: 1.3rem; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 4px; }
.prose a { color: var(--blue-hover); }

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

/* Responsive */
@media (max-width: 1150px) {
  .product-grid-home { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .product-grid-home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; }
  .two-col { grid-template-columns: minmax(0, 1fr); }
  .admin-shell { grid-template-columns: 208px minmax(0, 1fr); }
  .admin-main { padding: 20px; }
  .plan-grid, .journey-grid, .duration-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { gap: 28px; }
  .hero h1 { font-size: clamp(1.95rem, 1.5rem + .9vw, 2.25rem); }
}
@media (max-width: 1024px) {
  .header-search { display: none; }
  .header-actions { margin-left: 0; }
  .header-actions .header-orders { display: none; }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
}
@media (max-width: 980px) {
  .product-grid-home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero { padding: 30px 0 34px; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { max-width: 620px; }
  .hero h1 { font-size: clamp(2.1rem, 1.5rem + 1.35vw, 2.5rem); }
  .hero-visual { width: 100%;}
  .hero-art-frame { max-width: 500px; margin: 0 auto; }
  .product-layout { grid-template-columns: minmax(0, 1fr); }
  .product-layout > .buy-box { order: -1; }
  .buy-box { position: static; }
  .product-hero { flex-direction: column; text-align: left; align-items: flex-start; gap: 20px; padding: 20px; }
  .plan-grid, .journey-grid, .duration-grid { grid-template-columns: 1fr; }
  .trust, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shell { grid-template-columns: 1fr; gap: 16px; padding-top: 18px; }
  .side-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding-bottom: 4px; }
  .side-nav a { white-space: nowrap; }
  .side-nav .group { display: none; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; min-height: 0; display: flex; flex-wrap: nowrap; align-items: center; overflow-x: auto; gap: 4px; padding: 10px; border-right: 0; border-bottom: 1px solid var(--border); }
  .admin-side .logo { padding: 6px 10px; }
  .admin-side .group { display: none; }
  .admin-side a { white-space: nowrap; }
  .section { padding: 54px 0; }
  .section-sm { padding: 38px 0; }
}
@media (max-width: 760px) {
  .product-grid, .product-grid-home { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-how.section-sm { padding: 34px 0; }
}
@media (max-width: 620px) {
  body { font-size: 15px; }
  .container { padding: 0 16px; }
  .site-header .bar { height: 62px; gap: 10px; }
  .header-actions .btn-ghost { display: none; }
  .hero { padding: 24px 0 30px; }
  .hero h1 { font-size: clamp(1.95rem, 1.55rem + 2.2vw, 2.35rem); line-height: 1.11; }
  .hero .lead { font-size: .94rem; line-height: 1.55; margin-bottom: 18px; }
  .hero-actions { gap: 8px; }
  .hero-actions .btn-lg { height: 46px; padding: 0 14px; font-size: .88rem; flex: 1 1 auto; }
  .hero-benefits { margin-top: 18px; font-size: .75rem; row-gap: 8px; }
  .hero-benefits span { padding: 0 10px; }
  .hero-art-frame { max-width: 470px; }
  .product-grid, .product-grid-home { gap: 10px; }
  .pc-media-brand { aspect-ratio: 2.05 / 1; min-height: 88px; max-height: 108px; }
  .pc-cat { display: none; }
  .pc-status { top: 7px; right: 7px; font-size: .53rem; padding: 3px 6px; }
  .pc-status i { width: 4px; height: 4px; }
  .pc-logo { left: 11px; right: 8px; }
  .pc-logo .brand-logo { height: 33px; max-width: 92%; }
  .pc-logo .brand-logo-spotify { height: 35px; }
  .pc-logo .brand-logo-youtube { height: 33px; }
  .pc-logo .brand-logo-netflix { height: 31px; }
  .pc-logo .brand-logo-chatgpt { height: 29px; }
  .pc-logo .brand-logo-disney { height: 52px; }
  .pc-logo .brand-logo-claude { height: 34px; }
  .pc-logo .brand-logo-adobe { height: 32px; }
  .pc-logo .brand-logo-capcut { height: 28px; }
  .pc-logo .brand-logo-discord { height: 29px; }
  .pc-logo .brand-logo-microsoft { height: 31px; }
  .pc-body { padding: 10px 10px 11px; }
  .product-card h3 { font-size: .86rem; margin-bottom: 2px; }
  .product-card .card-desc { font-size: .69rem; margin-bottom: 6px; min-height: 2.05em; line-height: 1.35; }
  .product-card .types { margin-bottom: 7px; min-height: 18px; }
  .product-card .types .chip { font-size: .55rem; height: 18px; padding: 0 6px; }
  .product-card .types .chip:nth-child(n+2) { display: none; }
  .product-card .foot { padding-top: 7px; }
  .price { font-size: 1.02rem; }
  .price-from { font-size: .55rem; }
  .price-note { font-size: .55rem; }
  .pc-btn { height: 27px; font-size: .6rem; padding: 0 7px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .cat-card { min-height: 66px; padding: 10px; gap: 8px; }
  .cat-icon { width: 30px; height: 30px; border-radius: 8px; }
  .cat-icon svg { width: 15px; height: 15px; }
  .cat-card strong { font-size: .76rem; }
  .cat-card span { font-size: .59rem; }
  .cat-arrow { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .step-card { padding: 14px; }
  .step-card p { font-size: .78rem; }
  .grid-2, .grid-4, .plan-grid, .journey-grid, .duration-grid, .trust { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .span-2 { grid-column: auto; }
  .hero-search { flex-direction: column; }
  .hero-search .btn { width: 100%; }
  .hero-badge { display: none; }
  .msg { max-width: 90%; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dd { margin-bottom: 10px; }
  .card-pad { padding: 18px; }
  .chat { height: 70vh; }
  .product-layout .table { font-size: .77rem; }
  .product-layout .table th, .product-layout .table td { padding: 8px 8px; }
  .product-layout .table th:nth-child(7), .product-layout .table td:nth-child(7) { display: none; }
  .admin-main { padding: 12px; }
  .admin-top { align-items: flex-start; }
  .filters .input, .filters .select { width: 100%; }
  .product-art-lg { width: 100%; height: 210px; }
  .featured-head .btn { width: 100%; }
  .home-featured { padding-top: 28px; }
  .home-faq { padding-top: 34px; }
}
@media (max-width: 380px) {
  .cat-grid { grid-template-columns: 1fr; }
  .product-grid, .product-grid-home { grid-template-columns: 1fr; }
  .pc-media-brand { aspect-ratio: 2.2 / 1; min-height: 104px; }
  .steps { grid-template-columns: 1fr; }
}

/* Icon sizing inside components */
.btn svg { width: 17px; height: 17px; flex: none; }
.card-head h2 { display: flex; align-items: center; gap: 8px; }
.card-head h2 svg, h1 svg { width: 18px; height: 18px; color: var(--muted); display: inline-block; vertical-align: -2px; }
.attachment svg { width: 15px; height: 15px; }
.mobile-menu summary svg { width: 22px; height: 22px; }
.alert > div > strong { margin-bottom: 2px; }
p svg, .panel-muted svg, .delivery-item svg, .small svg { width: 15px; height: 15px; display: inline-block; vertical-align: -3px; }
.admin-side .logo { justify-content: flex-start; }

/* ---------- Clean Premium Navy product page ---------- */
[hidden] { display: none !important; }
.product-page { position: relative; isolation: isolate; padding: 16px 0 30px; background: var(--clean-background); }
.product-page .breadcrumbs { margin-bottom: 16px; }
body:has(.product-page) .site-footer { margin-top: 30px; }
.product-page::before { display: none; }

.ps-main { display: flex; gap: 24px; align-items: flex-start; }
.ps-left { flex: 1 1 auto; min-width: 0; }
.ps-config { flex: 0 0 410px; width: 410px; min-width: 0; }

/* Brand showcase */
.ps-showcase { position: relative; isolation: isolate; overflow: hidden; min-height: 340px; padding: 30px 32px; border-radius: 20px; display: flex; align-items: center; border: 1px solid var(--clean-border); background:
  linear-gradient(160deg, color-mix(in srgb, var(--tint) 7%, var(--clean-card)) 0%, var(--clean-card) 38%, var(--clean-card-dark) 100%);
  box-shadow: inset 0 2px 0 color-mix(in srgb, var(--tint) 50%, transparent), 0 18px 40px -30px rgba(0, 0, 0, .8); }
.ps-showcase::before, .ps-showcase::after { display: none; }
.ps-showcase-glow, .ps-showcase-sweep { display: none; }
.ps-showcase-copy { position: relative; z-index: 2; width: 60%; min-width: 0; }
.ps-category { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; background: var(--clean-card-dark); border: 1px solid var(--clean-border); color: var(--clean-muted); font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.ps-category svg { width: 12px; height: 12px; color: var(--clean-primary); }
.ps-category:hover { border-color: var(--clean-primary); color: var(--clean-text); text-decoration: none; }
.ps-brand { margin: 14px 0 8px; display: flex; align-items: center; }
.ps-brand .brand-logo { height: 46px; width: auto; max-width: min(100%, 300px); object-fit: contain; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, .3)); }
.ps-brand .brand-logo-disney { height: 58px; }
.ps-brand .brand-logo-text { font-size: 2rem; }
.ps-showcase h1 { color: var(--clean-text); font-size: clamp(2.1rem, 1.6rem + 1.3vw, 2.9rem); line-height: 1.04; letter-spacing: -.045em; margin: 0 0 7px; max-width: 100%; text-wrap: balance; overflow-wrap: anywhere; }
.ps-tagline { margin: 0; color: var(--clean-muted); font-size: 1rem; line-height: 1.45; max-width: 46ch; }
.ps-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.ps-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--clean-card-dark); border: 1px solid var(--clean-border); color: var(--clean-muted); font-size: .78rem; font-weight: 500; line-height: 1.2; }
.ps-chip svg { width: 13px; height: 13px; color: var(--clean-primary); flex: none; }

/* Product-specific floating artwork */
.ps-showcase-art { position: absolute; z-index: 1; inset: 0 0 0 50%; pointer-events: none; }
.ps-art-tile { position: absolute; right: 5%; top: 50%; width: 64%; max-width: 260px; aspect-ratio: 1; transform: translateY(-50%) rotate(-8deg); border-radius: 26px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--clean-border); border-top-color: color-mix(in srgb, var(--tint) 50%, var(--clean-border)); background:
  linear-gradient(145deg, color-mix(in srgb, var(--tint) 6%, var(--clean-card)), var(--clean-card-dark));
  box-shadow: 16px 18px 0 -4px rgba(0, 0, 0, .18), 0 20px 38px -24px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .07); }
.ps-art-tile::before { content: ""; position: absolute; inset: 8px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .05); }
.ps-art-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 30%); pointer-events: none; }
.ps-art-tile .brand-mark { position: relative; z-index: 2; width: 70%; height: 70%; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .28)); }
.ps-art-tile .brand-logo { position: relative; z-index: 2; width: 84%; height: 56%; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .28)); }
.ps-art-tile .brand-logo-disney { height: 62%; }
.ps-art-tile .brand-logo-text { position: relative; z-index: 2; font-size: 2.4rem; }
.ps-art-chip { position: absolute; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--clean-card-dark); border: 1px solid var(--clean-border); box-shadow: 0 12px 24px -18px rgba(0, 0, 0, .8); }
.ps-art-chip svg { width: 23px; height: 23px; color: var(--clean-primary); }
.ps-art-chip-a { top: 7%; right: 13%; transform: rotate(8deg); }
.ps-art-chip-b { bottom: 7%; right: 2%; transform: rotate(-7deg); }

/* Detail column */
.ps-details { min-width: 0; }
.ps-about { margin-top: 26px; }
.ps-about h2 { font-size: 1.7rem; margin: 0 0 7px; letter-spacing: -.035em; color: var(--clean-text); }
.ps-about p { margin: 0; color: var(--clean-muted); font-size: 1rem; line-height: 1.6; max-width: 70ch; }
.ps-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.ps-feature { display: flex; gap: 10px; align-items: flex-start; min-height: 84px; padding: 12px; border: 1px solid var(--clean-border); border-radius: 12px; background: var(--clean-card); transition: border-color .16s, transform .16s; }
.ps-feature:hover { border-color: var(--clean-primary); transform: translateY(-1px); }
.ps-feature-icon { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--clean-selected); border: 1px solid var(--clean-border); color: var(--clean-primary); }
.ps-feature-icon svg { width: 18px; height: 18px; }
.ps-feature strong { display: block; color: var(--clean-text); font-size: .84rem; font-weight: 650; line-height: 1.25; }
.ps-feature span:not(.ps-feature-icon) { display: block; color: var(--clean-muted); font-size: .72rem; line-height: 1.35; margin-top: 2px; }
.ps-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 18px; border: 1px solid var(--clean-border); border-radius: 14px; background: var(--clean-card-dark); overflow: hidden; }
.ps-trust-item { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; }
.ps-trust-item + .ps-trust-item { border-left: 1px solid var(--clean-border); }
.ps-trust-icon { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--clean-selected); border: 1px solid var(--clean-border); color: var(--clean-primary); }
.ps-trust-icon svg { width: 16px; height: 16px; }
.ps-trust-item strong { display: block; color: var(--clean-text); font-size: .8rem; font-weight: 650; }
.ps-trust-item span:not(.ps-trust-icon) { display: block; color: var(--clean-muted); font-size: .71rem; line-height: 1.35; margin-top: 2px; }

/* Purchase configurator: clean navy for every product */
.buy-panel { position: relative; padding: 22px; border-radius: 20px; overflow: hidden; border: 1px solid var(--clean-border); background: var(--clean-card); box-shadow: 0 22px 50px -34px rgba(0, 0, 0, .9); }
.buy-panel::before, .buy-panel::after { display: none; }
.buy-kicker { position: relative; z-index: 1; display: block; color: var(--clean-primary); font-size: .7rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-panel h2 { position: relative; z-index: 1; color: var(--clean-text); font-size: 1.85rem; line-height: 1.1; letter-spacing: -.035em; margin: 4px 0 0; }
.plan-field { margin-top: 18px; }
.plan-field-label { display: block; color: var(--clean-muted); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
.plan-options { display: grid; gap: 8px; }
.plan-options-access { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan-options-plan { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
.plan-options-duration { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plan-opt { position: relative; display: flex; align-items: center; gap: 8px; min-height: 50px; padding: 8px 11px; border: 1.5px solid var(--clean-border); border-radius: 10px; background: var(--clean-card-dark); color: var(--clean-muted); font-size: .84rem; font-weight: 600; line-height: 1.2; text-align: left; text-decoration: none; transition: border-color .16s, background .16s, transform .16s; }
.plan-opt:hover { border-color: var(--clean-primary); background: var(--clean-selected); color: var(--clean-text); text-decoration: none; }
.plan-opt:active { transform: translateY(1px); }
.plan-opt.is-selected, .plan-opt[aria-current="true"] { border-color: var(--clean-primary); background: var(--clean-selected); color: var(--clean-text); box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .08); }
.plan-opt.is-selected::after { content: ""; position: absolute; top: 7px; right: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--clean-primary); }
.plan-opt-icon { flex: none; width: 18px; height: 18px; display: grid; place-items: center; color: var(--clean-muted); }
.plan-opt-icon svg { width: 16px; height: 16px; }
.plan-opt.is-selected .plan-opt-icon, .plan-opt[aria-current="true"] .plan-opt-icon { color: var(--clean-primary); }
.plan-opt > span:last-child { min-width: 0; }
.plan-plan { justify-content: center; text-align: center; }
.plan-duration { flex-direction: column; gap: 0; justify-content: center; min-height: 72px; padding: 8px 6px; text-align: center; }
.plan-duration strong { font-size: 1.15rem; font-weight: 750; line-height: 1.05; letter-spacing: -.02em; }
.plan-duration span { font-size: .6rem; color: var(--clean-muted); margin-top: 1px; }
.plan-duration small { font-size: .67rem; color: var(--clean-muted); margin-top: 5px; font-weight: 600; font-variant-numeric: tabular-nums; }
.plan-duration.is-selected strong, .plan-duration.is-selected span { color: var(--clean-text); }
.plan-duration.is-selected small { color: var(--clean-primary); }
.plan-duration.is-selected::after { display: none; }
.plan-static { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 50px; padding: 8px 11px; border: 1.5px solid var(--clean-border); border-radius: 10px; background: var(--clean-card-dark); color: var(--clean-text); font-size: .84rem; font-weight: 600; }
.plan-static-label { display: flex; align-items: center; gap: 8px; }
.plan-static-label > span { display: grid; place-items: center; color: var(--clean-primary); }
.plan-static-label svg { width: 16px; height: 16px; }
.plan-static > svg { width: 15px; height: 15px; color: var(--clean-primary); }
.plan-explain { margin: 8px 0 0; color: var(--clean-muted); font-size: .73rem; line-height: 1.45; }
.buy-price-block { margin-top: 16px; padding: 14px; border: 1px solid var(--clean-border); border-radius: 12px; background: var(--clean-card-dark); }
.buy-price-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.buy-summary-label { color: var(--clean-muted); font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.buy-status { display: inline-flex; align-items: center; gap: 5px; height: 23px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--clean-border); background: var(--clean-card); color: var(--clean-muted); font-size: .61rem; font-weight: 650; white-space: nowrap; }
.buy-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.buy-status.is-available { color: var(--clean-positive); border-color: rgba(16, 185, 129, .38); background: rgba(16, 185, 129, .1); }
.buy-status.is-limited { color: var(--clean-primary); border-color: rgba(59, 130, 246, .38); background: rgba(59, 130, 246, .1); }
.buy-status.is-review, .buy-status.is-pending, .buy-status.is-paused { color: var(--clean-muted); border-color: var(--clean-border); background: var(--clean-card); }
.buy-price-line { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.buy-price { color: var(--clean-text); font-size: 2.75rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.buy-currency { color: var(--clean-muted); font-size: .7rem; font-weight: 650; letter-spacing: .05em; }
.buy-price-note { margin-top: 4px; color: var(--clean-muted); font-size: .72rem; }
.buy-selection { margin-top: 8px; color: var(--clean-muted); font-size: .76rem; }
.buy-cta { margin-top: 18px; height: 56px; border-radius: 12px; font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; background: var(--clean-primary); border-color: var(--clean-primary); color: #fff; box-shadow: 0 10px 24px -16px rgba(0, 0, 0, .8); }
.buy-cta::after { content: "→"; font-weight: 500; transition: transform .18s var(--ease); }
.buy-cta:hover { background: #2563EB; border-color: #2563EB; }
.buy-cta:hover::after { transform: translateX(2px); }
.buy-cta[disabled] { background: var(--clean-card-dark); border-color: var(--clean-border); color: var(--clean-muted); box-shadow: none; opacity: 1; cursor: not-allowed; }
.buy-cta[disabled]::after { content: none; }
.buy-cta.is-loading::after { content: none; }
.buy-ask-link { display: flex; align-items: center; justify-content: center; gap: 5px; margin-top: 12px; color: var(--clean-primary); font-size: .78rem; font-weight: 600; }
.buy-ask-link svg { width: 14px; height: 14px; }
.buy-ask-link:hover { color: #60A5FA; }
.buy-review-note { margin: 8px 0 0; color: var(--clean-muted); font-size: .69rem; line-height: 1.4; text-align: center; }
.buy-trust-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--clean-border); color: var(--clean-muted); font-size: .62rem; font-weight: 550; }
.buy-trust-row span { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.buy-trust-row svg { width: 13px; height: 13px; color: var(--clean-primary); flex: none; }
.buy-panel-empty h2 { margin: 4px 0 8px; }
.buy-empty-copy { color: var(--clean-muted); font-size: .86rem; line-height: 1.5; margin: 0 0 14px; }

/* More information */
.ps-more { margin-top: 24px; border: 1px solid var(--clean-border); border-radius: 14px; background: var(--clean-card); overflow: hidden; }
.ps-more > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; font-weight: 650; font-size: 1rem; color: var(--clean-text); }
.ps-more > summary::-webkit-details-marker { display: none; }
.ps-more-title { display: flex; align-items: center; gap: 10px; }
.ps-more-title > svg { width: 20px; height: 20px; color: var(--clean-primary); }
.ps-more > summary::after { content: ""; width: 9px; height: 9px; border-right: 2px solid var(--clean-primary); border-bottom: 2px solid var(--clean-primary); transform: rotate(45deg); margin-right: 4px; transition: transform .2s var(--ease); }
.ps-more[open] > summary::after { transform: rotate(-135deg); }
.ps-more-body { border-top: 1px solid var(--clean-border); padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 36px; }
.ps-more-section h3 { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--clean-primary); margin: 0 0 7px; font-weight: 700; }
.ps-more-section p { margin: 0 0 7px; color: var(--clean-muted); font-size: .85rem; line-height: 1.6; }
.ps-more-section .small { font-size: .8rem; }
.ps-terms p { margin: 0 0 7px; font-size: .84rem; color: var(--clean-muted); line-height: 1.5; }
.ps-terms strong { color: var(--clean-text); }
.ps-faq-section { grid-column: 1 / -1; }

@media (max-width: 1180px) {
  .ps-main { gap: 20px; }
  .ps-config { flex-basis: 370px; width: 370px; }
  .ps-showcase { min-height: 300px; padding: 26px; }
  .ps-showcase-copy { width: 60%; }
  .ps-showcase h1 { font-size: 2.1rem; }
  .ps-brand .brand-logo { height: 38px; }
  .ps-brand .brand-logo-disney { height: 48px; }
  .ps-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-opt { font-size: .76rem; padding: 8px 9px; }
  .ps-art-tile { width: 64%; }
  .ps-art-chip { width: 44px; height: 44px; border-radius: 13px; }
  .ps-art-chip svg { width: 19px; height: 19px; }
  .ps-art-chip-a { right: 10%; }
  .ps-art-chip-b { right: 0; }
}
@media (max-width: 980px) {
  .ps-main { flex-direction: column; gap: 16px; }
  .ps-left { display: contents; }
  .ps-showcase { order: 1; width: 100%; }
  .ps-config { order: 2; width: 100%; max-width: 560px; align-self: center; }
  .ps-details { order: 3; width: 100%; }
  .ps-showcase-copy { width: 58%; }
  .ps-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ps-more-body { grid-template-columns: 1fr; gap: 18px; }
  .ps-faq-section { grid-column: auto; }
}
@media (max-width: 620px) {
  .product-page { padding: 10px 0 24px; }
  .ps-showcase { min-height: 232px; padding: 16px; border-radius: 16px; }
  .ps-showcase-copy { width: 100%; max-width: none; }
  .ps-category { font-size: .56rem; padding: 4px 7px; }
  .ps-category svg { width: 11px; height: 11px; }
  .ps-brand { margin: 10px 0 6px; }
  .ps-brand .brand-logo { height: 32px; max-width: 200px; }
  .ps-brand .brand-logo-disney { height: 42px; }
  .ps-brand .brand-logo-text { font-size: 1.6rem; }
  .ps-showcase h1 { font-size: 1.85rem; }
  .ps-tagline { font-size: .85rem; }
  .ps-chips { margin-top: 12px; gap: 5px; }
  .ps-chip { font-size: .66rem; padding: 5px 8px; }
  .ps-showcase-art { display: none; }
  .ps-about { margin-top: 18px; }
  .ps-about h2 { font-size: 1.35rem; }
  .ps-about p { font-size: .88rem; }
  .ps-features { gap: 8px; margin-top: 12px; }
  .ps-feature { padding: 10px; min-height: 74px; gap: 8px; }
  .ps-feature-icon { width: 32px; height: 32px; border-radius: 9px; }
  .ps-feature-icon svg { width: 15px; height: 15px; }
  .ps-feature strong { font-size: .74rem; }
  .ps-feature span:not(.ps-feature-icon) { font-size: .64rem; }
  .ps-config { max-width: none; }
  .buy-panel { padding: 14px; border-radius: 16px; }
  .buy-panel h2 { font-size: 1.45rem; }
  .buy-kicker { font-size: .62rem; }
  .plan-field { margin-top: 12px; }
  .plan-opt { min-height: 46px; font-size: .76rem; }
  .plan-duration { min-height: 60px; }
  .plan-duration strong { font-size: 1rem; }
  .plan-duration small { font-size: .6rem; margin-top: 3px; }
  .buy-price-block { margin-top: 12px; padding: 10px 12px; }
  .buy-price { font-size: 2.2rem; }
  .buy-cta { height: 50px; font-size: .95rem; margin-top: 12px; }
  .buy-trust-row { font-size: .58rem; gap: 4px 8px; }
  .buy-selection { display: none; }
  .ps-trust { margin-top: 14px; grid-template-columns: 1fr; }
  .ps-trust-item { padding: 12px; }
  .ps-trust-item + .ps-trust-item { border-left: 0; border-top: 1px solid var(--clean-border); }
  .ps-more { margin-top: 18px; }
  .ps-more > summary { padding: 15px; }
  .ps-more-body { padding: 16px; }
}
@media (max-width: 380px) {
  .plan-options-access { grid-template-columns: 1fr; }
  .ps-features { grid-template-columns: 1fr; }
}

/* ---------- Manual-payment checkout ---------- */
.checkout-page { background: var(--clean-background); padding: 30px 0 46px; }
.checkout-shell { max-width: 1240px; }
.checkout-back { display: inline-flex; color: var(--clean-muted); margin-bottom: 14px; font-size: .82rem; }
.checkout-back:hover { color: var(--clean-text); }
.checkout-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
.checkout-head-copy { max-width: 70ch; }
.checkout-head h1 { margin: 4px 0 8px; color: var(--clean-text); font-size: clamp(2.1rem, 1.7rem + 1vw, 2.75rem); letter-spacing: -.045em; line-height: 1.02; }
.checkout-head p { margin: 0; color: var(--clean-muted); font-size: .95rem; line-height: 1.55; }
.checkout-progress { display: flex; align-items: center; gap: 10px; flex: none; padding-bottom: 6px; }
.checkout-progress span { display: inline-flex; align-items: center; gap: 7px; color: var(--clean-muted); font-size: .75rem; font-weight: 650; white-space: nowrap; }
.checkout-progress span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--clean-border); }
.checkout-progress span.done::before, .checkout-progress span.current::before { background: var(--clean-primary); }
.checkout-progress span.done { color: var(--clean-positive); }
.checkout-progress span.current { color: var(--clean-text); }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.78fr) minmax(320px, 1fr); gap: 24px; align-items: stretch; }
.checkout-card { background: var(--clean-card); border: 1px solid var(--clean-border); border-radius: 16px; box-shadow: 0 22px 50px -38px rgba(0, 0, 0, .9); overflow: hidden; }
.checkout-card-body { padding: 26px 28px; }
.checkout-payment { display: flex; }
.checkout-payment .checkout-card-body { flex: 1; display: flex; flex-direction: column; }
.checkout-payment .checkout-payment-note { margin-top: auto; }
.checkout-section-head h2 { margin: 0 0 6px; color: var(--clean-text); font-size: 1.3rem; letter-spacing: -.025em; }
.checkout-section-head p { margin: 0; color: var(--clean-muted); font-size: .88rem; line-height: 1.55; max-width: 60ch; }
.checkout-payment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.checkout-payment-grid .pay-method:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pay-method { position: relative; display: flex; align-items: center; gap: 12px; min-height: 86px; padding: 14px 16px; border: 1.5px solid var(--clean-border); background: var(--tile-bg, #101D33); border-radius: 14px; cursor: pointer; transition: border-color .16s, background .16s, transform .16s; }
.pay-method:hover, .pay-method:focus-within { border-color: var(--clean-primary); }
.pay-method:focus-within { outline: 2px solid rgba(59, 130, 246, .32); outline-offset: 2px; }
.pay-method:has(input:checked), .pay-method.is-selected { border-color: var(--clean-primary); background: var(--clean-selected); }
.payment-logo { flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: #fff; border: 1px solid rgba(255, 255, 255, .12); padding: 5px; overflow: hidden; }
.payment-logo img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.payment-logo-icon { background: var(--clean-selected); border-color: var(--clean-border); color: var(--clean-primary); padding: 9px; }
.payment-logo-icon svg { width: 22px; height: 22px; }
.pay-method > input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; pointer-events: none; }
.pay-method-logo { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #fff; padding: 6px; overflow: hidden; }
.pay-method-logo .payment-logo { width: 100%; height: 100%; border: 0; background: transparent; padding: 0; border-radius: 0; }
.pay-method-logo .payment-logo-icon { color: #2563EB; padding: 8px; }
.pay-method-copy { display: grid; gap: 3px; min-width: 0; flex: 1; }
.pay-method-copy strong { color: var(--clean-text); font-size: .93rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.pay-method-copy > span { color: var(--clean-muted); font-size: .73rem; line-height: 1.35; }
.pay-method-check { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--clean-border); display: grid; place-items: center; color: transparent; background: transparent; }
.pay-method-check svg { width: 12px; height: 12px; }
.pay-method:has(input:checked) .pay-method-check, .pay-method.is-selected .pay-method-check { background: var(--clean-primary); border-color: var(--clean-primary); color: #fff; }
.checkout-payment-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; padding: 11px 12px; border: 1px solid var(--clean-border); border-radius: 10px; background: var(--clean-card-dark); color: var(--clean-muted); font-size: .76rem; line-height: 1.5; }
.checkout-payment-note svg { width: 15px; height: 15px; flex: none; color: var(--clean-primary); margin-top: 1px; }
.checkout-summary { position: sticky; top: 92px; }
.checkout-summary-head h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; color: var(--clean-text); font-size: 1.05rem; letter-spacing: -.02em; }
.checkout-summary-head h2 svg { width: 17px; height: 17px; color: var(--clean-primary); }
.checkout-product { display: flex; align-items: center; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid var(--clean-border); }
.checkout-product-logo { flex: none; width: 56px; height: 56px; border-radius: 13px; display: grid; place-items: center; background: var(--clean-card-dark); border: 1px solid var(--clean-border); padding: 7px; overflow: hidden; }
.checkout-product-logo .brand-logo { height: 28px; max-width: 100%; }
.checkout-product-logo .brand-logo-sm { height: 24px; }
.checkout-product-logo .brand-logo-text { font-size: .78rem; line-height: 1.1; text-align: center; white-space: normal; }
.checkout-product > div:last-child { display: grid; gap: 3px; min-width: 0; }
.checkout-product strong { color: var(--clean-text); font-size: 1rem; line-height: 1.25; letter-spacing: -.01em; }
.checkout-product span { color: var(--clean-muted); font-size: .74rem; line-height: 1.4; }
.checkout-summary-lines { display: grid; gap: 0; margin: 14px 0 0; }
.checkout-summary-lines > div { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid rgba(41, 67, 99, .35); }
.checkout-summary-lines > div:last-child { border-bottom: 0; }
.checkout-summary-lines dt { color: var(--clean-muted); font-size: .75rem; }
.checkout-summary-lines dd { color: var(--clean-text); font-size: .8rem; font-weight: 600; text-align: right; margin: 0; }
.checkout-total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 14px; border-top: 1px solid var(--clean-border); }
.checkout-total > span { color: var(--clean-muted); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.checkout-total strong { color: var(--clean-text); font-size: 1.9rem; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.checkout-total small { color: var(--clean-muted); font-size: .68rem; font-weight: 650; letter-spacing: .06em; }
.checkout-verify { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; padding: 10px 12px; border: 1px solid var(--clean-border); border-radius: 10px; background: var(--clean-card-dark); color: var(--clean-muted); font-size: .74rem; line-height: 1.45; }
.checkout-verify svg { width: 15px; height: 15px; flex: none; color: var(--clean-primary); margin-top: 1px; }
.checkout-verify .link-btn { color: var(--clean-primary); }
.checkout-terms { align-items: flex-start; margin: 14px 0 16px; color: var(--clean-muted); font-size: .72rem; line-height: 1.5; }
.checkout-terms a { color: var(--clean-primary); }
.checkout-submit { height: 54px; background: var(--clean-primary); border-color: var(--clean-primary); color: #fff; box-shadow: 0 14px 28px -20px rgba(0, 0, 0, .9); gap: 8px; transition: none; font-weight: 700; }
.checkout-submit:hover { background: #2563EB; border-color: #2563EB; }
.checkout-submit[disabled] { background: var(--clean-card-dark); border-color: var(--clean-border); color: var(--clean-muted); opacity: 1; box-shadow: none; }
.checkout-submit svg { width: 17px; height: 17px; }
.checkout-submit-help { margin: 10px 0 0; color: var(--clean-muted); font-size: .7rem; line-height: 1.45; text-align: center; }
.checkout-trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 24px; background: var(--clean-card); border: 1px solid var(--clean-border); border-radius: 16px; overflow: hidden; }
.checkout-trust-item { display: flex; align-items: center; gap: 12px; padding: 16px 20px; }
.checkout-trust-item + .checkout-trust-item { border-left: 1px solid var(--clean-border); }
.checkout-trust-item > svg { flex: none; width: 20px; height: 20px; color: var(--clean-primary); }
.checkout-trust-item > span { display: grid; gap: 2px; }
.checkout-trust-item strong { color: var(--clean-text); font-size: .82rem; font-weight: 650; }
.checkout-trust-item small { color: var(--clean-muted); font-size: .72rem; line-height: 1.35; }
@media (max-width: 1020px) {
  .checkout-grid { grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 18px; }
  .checkout-card-body { padding: 22px; }
}
@media (max-width: 920px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .checkout-trust { grid-template-columns: 1fr; }
  .checkout-trust-item + .checkout-trust-item { border-left: 0; border-top: 1px solid var(--clean-border); }
}
@media (max-width: 640px) {
  .checkout-page { padding: 18px 0 30px; }
  .checkout-head { display: block; }
  .checkout-head h1 { font-size: 2rem; }
  .checkout-progress { margin-top: 12px; gap: 8px; }
  .checkout-progress span { font-size: .66rem; }
  .checkout-card { border-radius: 14px; }
  .checkout-card-body { padding: 18px; }
  .checkout-payment-grid { grid-template-columns: 1fr; margin-top: 16px; }
  .pay-method { min-height: 74px; padding: 12px 14px; }
  .checkout-summary-lines > div { padding: 7px 0; }
  .checkout-total strong { font-size: 1.6rem; }
  .checkout-trust-item { padding: 14px 16px; }
}

/* ---------- Inline auth validation ---------- */
.field-error { margin: 4px 0 0; color: #fca5a5; font-size: .76rem; line-height: 1.35; }
.field-error[hidden] { display: none !important; }
.input[aria-invalid="true"] { border-color: rgba(248, 113, 113, .62); box-shadow: 0 0 0 3px rgba(248, 113, 113, .09); }
.input[aria-invalid="true"]:focus { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248, 113, 113, .13); }
.checkbox input[aria-invalid="true"] { outline: 2px solid rgba(248, 113, 113, .5); outline-offset: 2px; }
.form-notice { margin: 0 0 4px; color: #fca5a5; font-size: .78rem; line-height: 1.4; }

/* ---------- Instant search suggestions ---------- */
.search-suggest { position: absolute; z-index: 80; top: calc(100% + 8px); left: 0; right: 0; max-height: min(430px, 70vh); overflow-y: auto; background: var(--clean-card, #14243E); border: 1px solid var(--clean-border, #294363); border-radius: 12px; box-shadow: 0 20px 44px -24px rgba(0, 0, 0, .9); }
.search-suggest[hidden] { display: none !important; }
.search-suggestion { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: var(--clean-text, #F4F7FC); text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--clean-border, #294363) 72%, transparent); }
.search-suggestion:last-child { border-bottom: 0; }
.search-suggestion:hover, .search-suggestion.is-active { background: var(--clean-selected, #1A3050); color: var(--clean-text, #F4F7FC); text-decoration: none; }
.search-suggestion-logo { flex: none; width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; overflow: hidden; background: var(--clean-selected, #1A3050); border: 1px solid var(--clean-border, #294363); color: var(--clean-text, #F4F7FC); font-size: .72rem; font-weight: 750; }
.search-suggestion-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; background: #fff; }
.search-suggestion-copy { min-width: 0; flex: 1; display: grid; gap: 2px; }
.search-suggestion-copy strong { color: var(--clean-text, #F4F7FC); font-size: .84rem; font-weight: 650; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestion-copy span { color: var(--clean-muted, #A9BDD7); font-size: .67rem; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-suggestion-price { flex: none; color: var(--clean-primary, #3B82F6); font-size: .72rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.search-empty { padding: 14px 12px; color: var(--clean-muted, #A9BDD7); font-size: .76rem; }
@media (max-width: 900px) {
  .mobile-menu .search-suggest { max-height: min(50vh, 360px); }
}

/* ---------- Header profile menu ---------- */
.profile-menu { position: relative; }
.profile-menu > summary { list-style: none; display: flex; align-items: center; gap: 7px; height: 38px; padding: 3px 9px 3px 4px; border: 1px solid var(--border); border-radius: 999px; background: rgba(17, 30, 52, .72); color: var(--text); cursor: pointer; }
.profile-menu > summary::-webkit-details-marker { display: none; }
.profile-menu > summary:hover, .profile-menu[open] > summary { border-color: var(--clean-primary); background: var(--clean-selected); }
.profile-menu > summary:focus-visible { outline: 2px solid rgba(59, 130, 246, .4); outline-offset: 2px; }
.profile-avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--clean-primary); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .02em; }
.profile-avatar-lg { width: 38px; height: 38px; font-size: .75rem; }
.profile-name { max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; font-weight: 600; }
.profile-chevron { font-size: .75rem; color: var(--muted); transition: transform .15s; }
.profile-menu[open] .profile-chevron { transform: rotate(180deg); }
.profile-dropdown { position: absolute; z-index: 120; top: calc(100% + 9px); right: 0; width: 258px; padding: 6px; background: var(--clean-card); border: 1px solid var(--clean-border); border-radius: 12px; box-shadow: 0 22px 45px -26px rgba(0, 0, 0, .9); }
.profile-dropdown-meta { display: flex; align-items: center; gap: 10px; padding: 10px 10px 11px; border-bottom: 1px solid var(--clean-border); margin-bottom: 4px; }
.profile-dropdown-copy { min-width: 0; display: grid; gap: 2px; }
.profile-dropdown-copy strong { color: var(--clean-text); font-size: .83rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-dropdown-copy small { color: var(--clean-muted); font-size: .69rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-menu-item { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--clean-text); font: inherit; font-size: .81rem; text-align: left; text-decoration: none; cursor: pointer; }
.profile-menu-item:hover, .profile-menu-item:focus-visible { background: var(--clean-selected); color: var(--clean-text); text-decoration: none; outline: none; }
.profile-menu-item svg { width: 16px; height: 16px; flex: none; color: var(--clean-primary); }
.profile-menu-separator { height: 1px; margin: 5px 8px; background: var(--clean-border); }
.profile-menu-form { margin: 0; }
.profile-menu .icon-badge { margin-left: 0; }
@media (max-width: 620px) {
  .profile-name, .profile-chevron { display: none; }
  .profile-menu > summary { padding: 3px; border-radius: 50%; }
  .profile-dropdown { position: fixed; top: 62px; left: 10px; right: auto; width: min(320px, calc(100vw - 20px)); }
}

/* ---------- WhatsApp-style live chat ---------- */
.chat { overflow: hidden; background: var(--clean-card); border: 1px solid var(--clean-border); box-shadow: 0 18px 40px -32px rgba(0, 0, 0, .85); }
.chat .chat-head { align-items: center; gap: 12px; }
.chat .chat-head h2 { display: inline-flex; align-items: center; gap: 7px; }
.chat-subtitle { margin: 3px 0 0; color: var(--clean-muted); font-size: .74rem; }
.chat-live { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid var(--clean-border); border-radius: 999px; background: var(--clean-card-dark); color: var(--clean-muted); font-size: .67rem; font-weight: 600; white-space: nowrap; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .12); }
.live-dot.is-off { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, .12); }
.chat .chat-log { gap: 10px; padding: 20px 18px; background: radial-gradient(500px 280px at 50% 0%, rgba(59, 130, 246, .07), transparent 70%), linear-gradient(180deg, var(--clean-background), #0b1528); scroll-behavior: auto; }
.chat-date { align-self: center; display: flex; align-items: center; gap: 10px; width: 100%; margin: 4px 0; color: var(--clean-muted); font-size: .68rem; }
.chat-date::before, .chat-date::after { content: ""; height: 1px; flex: 1; background: var(--clean-border); }
.chat-date span { padding: 3px 10px; border-radius: 999px; background: var(--clean-card); border: 1px solid var(--clean-border); }
.chat .msg { max-width: min(78%, 640px); }
.chat .msg .bubble { padding: 10px 13px; border-radius: 16px; font-size: .91rem; line-height: 1.48; box-shadow: 0 3px 10px -8px rgba(0, 0, 0, .6); }
.chat .msg.mine .bubble { background: linear-gradient(180deg, #3b82f6, #2563eb); color: #fff; border: 1px solid rgba(147, 197, 253, .22); border-bottom-right-radius: 5px; }
.chat .msg.theirs .bubble { background: #14243e; border: 1px solid #294363; color: #f4f7fc; border-bottom-left-radius: 5px; }
.chat .msg.system .bubble { background: rgba(169, 189, 215, .08); border: 1px solid var(--clean-border); color: var(--clean-muted); font-size: .78rem; border-radius: 10px; }
.chat .msg.payment .bubble { background: rgba(180, 83, 9, .18); border-color: rgba(245, 158, 11, .35); color: #fde68a; }
.chat .msg .meta { padding: 1px 4px 0; color: var(--clean-muted); font-size: .67rem; }
.chat .msg.pending .bubble { opacity: .68; }
.chat .msg.pending .meta { font-style: italic; color: #93c5fd; }
.chat .msg.failed .bubble { border: 1px solid rgba(248, 113, 113, .55); opacity: .85; }
.chat .msg.failed .meta { color: #fca5a5; }
.pending-actions { margin: 2px 4px 0; }
.pending-actions .link-btn { font-size: .72rem; color: #93c5fd; text-decoration: underline; }
.chat .msg .attachment { background: #14243e; border-color: #294363; color: #f4f7fc; }
.chat-empty { margin: auto; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; padding: 36px 18px; color: var(--clean-muted); }
.chat-empty-icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(59, 130, 246, .12); color: #93c5fd; margin-bottom: 4px; }
.chat-empty-icon svg { width: 22px; height: 22px; }
.chat-empty strong { color: var(--clean-text); font-size: .92rem; }
.chat-empty p { margin: 0; font-size: .78rem; max-width: 36ch; }
.chat .chat-compose { padding: 10px 12px 11px; background: var(--clean-card); border-top: 1px solid var(--clean-border); border-radius: 0; }
.chat .chat-compose form { display: block; }
.chat-input-row { display: flex; align-items: flex-end; gap: 8px; }
.chat-input-row .textarea { flex: 1; min-height: 44px; max-height: 150px; resize: none; border-radius: 12px; background: var(--clean-background); border-color: var(--clean-border); color: var(--clean-text); padding: 11px 12px; }
.chat-input-row .textarea:focus { border-color: var(--clean-primary); outline: none; box-shadow: 0 0 0 3px rgba(59, 130, 246, .14); }
.chat-send { height: 44px; padding: 0 15px; border-radius: 12px; display: inline-flex; gap: 7px; align-items: center; white-space: nowrap; }
.chat-send svg { width: 16px; height: 16px; }
.chat-compose-foot { display: flex; align-items: center; gap: 8px; min-height: 30px; padding-top: 6px; flex-wrap: wrap; }
.chat-compose-foot .file-btn { height: 28px; padding: 0 9px; font-size: .7rem; gap: 5px; border-radius: 8px; }
.chat-compose-foot .file-btn svg { width: 13px; height: 13px; }
.chat-file-name { font-size: .7rem; color: var(--clean-muted); max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-typing { font-size: .7rem; color: #93c5fd; font-style: italic; }
.chat-privacy { margin-left: auto; font-size: .65rem; color: var(--clean-muted); display: inline-flex; align-items: center; gap: 4px; }
.chat-privacy svg { width: 12px; height: 12px; }
.chat .chat-error { margin-top: 4px; font-size: .72rem; }
@media (max-width: 700px) {
  .chat { height: 66vh; min-height: 420px; max-height: 640px; }
  .chat .chat-log { padding: 14px 12px; }
  .chat .msg { max-width: 88%; }
  .chat .msg .bubble { font-size: .88rem; }
  .chat-compose-foot { gap: 6px; }
  .chat-privacy { display: none; }
  .chat-send { padding: 0 12px; }
  .chat-send span { display: none; }
}
.inbox-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; color: inherit; text-decoration: none; }
.inbox-row:hover { background: var(--clean-selected); }
.checkout-submit-error { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 10px 12px; border: 1px solid var(--warning-bd); border-radius: 10px; background: var(--warning-bg); color: #fde68a; font-size: .78rem; line-height: 1.45; }
.checkout-submit-error svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }

/* Checkout terms inline validation */
.checkout-terms.is-invalid { border-color: rgba(248, 113, 113, .65); background: rgba(127, 29, 29, .12); }
.checkout-terms.is-invalid input { outline: 2px solid rgba(248, 113, 113, .55); outline-offset: 2px; }
.checkout-terms-error { margin: 6px 0 0; color: #fca5a5; font-size: .78rem; line-height: 1.4; }

/* Compact structured order request in chat */
.order-request-card { align-self: stretch; max-width: 100%; border: 1px solid var(--clean-border); border-radius: 12px; background: var(--clean-card-dark); overflow: hidden; }
.order-request-head { display: flex; align-items: center; gap: 7px; padding: 9px 12px; border-bottom: 1px solid var(--clean-border); color: var(--clean-text); font-size: .8rem; }
.order-request-head svg { width: 15px; height: 15px; color: var(--clean-primary); }
.order-request-time { margin-left: auto; color: var(--clean-muted); font-size: .66rem; font-weight: 400; }
.order-request-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
.order-request-grid > div { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 7px 12px; border-bottom: 1px solid rgba(41, 67, 99, .55); font-size: .75rem; }
.order-request-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
.order-request-grid span { color: var(--clean-muted); }
.order-request-grid strong { color: var(--clean-text); text-align: right; font-weight: 600; }
.order-request-grid .total { background: rgba(59, 130, 246, .07); }
.order-request-grid .total strong { color: #bfdbfe; }
@media (max-width: 620px) { .order-request-grid { grid-template-columns: 1fr; } .order-request-grid > div:nth-last-child(-n+2) { border-bottom: 1px solid rgba(41, 67, 99, .55); } .order-request-grid > div:last-child { border-bottom: 0; } }

/* ---------- Clean Premium Navy Admin Dashboard ---------- */
.admin-body { background: var(--clean-background); color: var(--clean-text); }
.admin-shell { grid-template-columns: 232px minmax(0, 1fr); }
.admin-side { background: var(--clean-card-dark); border-right: 1px solid var(--clean-border); padding: 16px 10px; }
.admin-side .logo { padding: 2px 10px 16px; }
.admin-side a { color: var(--clean-muted); border-radius: 8px; font-size: .86rem; padding: 8px 10px; }
.admin-side a:hover { background: var(--clean-selected); color: var(--clean-text); }
.admin-side a[aria-current="page"] { background: var(--clean-selected); color: var(--clean-text); box-shadow: inset 2px 0 0 var(--clean-primary); }
.admin-side .group { color: #6f86a5; }
.admin-side .icon-badge { background: var(--clean-primary); box-shadow: none; min-width: 18px; height: 18px; font-size: .64rem; }
.admin-main { padding: 24px 28px 48px; }
.admin-top h1 { font-size: 1.45rem; letter-spacing: -.025em; }
.admin-top p { color: var(--clean-muted); }
.admin-body .card { background: var(--clean-card); border-color: var(--clean-border); box-shadow: 0 14px 34px -32px rgba(0,0,0,.8); }
.admin-body .card-head { border-bottom-color: var(--clean-border); }
.admin-body .card-head h2 { color: var(--clean-text); }
.admin-body .muted { color: var(--clean-muted); }
.admin-body .small { color: var(--clean-muted); }
.admin-body .input, .admin-body .select, .admin-body .textarea { background: var(--clean-background); border-color: var(--clean-border); color: var(--clean-text); }
.admin-body .input:focus, .admin-body .select:focus, .admin-body .textarea:focus { border-color: var(--clean-primary); box-shadow: 0 0 0 3px rgba(59,130,246,.13); }
.admin-body .btn-secondary { background: var(--clean-card-dark); border-color: var(--clean-border); color: var(--clean-text); }
.admin-body .btn-secondary:hover { background: var(--clean-selected); border-color: #3b5680; }
.admin-body .btn-ghost { color: var(--clean-muted); }
.admin-body .btn-ghost:hover { background: var(--clean-selected); color: var(--clean-text); }
.admin-body .alert { border-color: var(--clean-border); }

/* Dashboard */
.dash-top { margin-bottom: 18px; }
.dash-top .row { gap: 8px; }
.dash-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.dash-kpi { display: flex; gap: 10px; min-width: 0; padding: 13px 13px 12px; background: var(--clean-card); border: 1px solid var(--clean-border); border-radius: 12px; color: var(--clean-text); transition: border-color .15s, background .15s, transform .15s; }
.dash-kpi:hover { border-color: #3b5d8e; background: var(--clean-selected); text-decoration: none; transform: translateY(-1px); }
.dash-kpi.attention { border-color: #6b5428; background: linear-gradient(180deg, rgba(245,158,11,.08), var(--clean-card)); }
.dash-kpi-icon { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgba(59,130,246,.13); color: #93c5fd; }
.dash-kpi-icon svg { width: 15px; height: 15px; }
.dash-kpi-copy { display: grid; gap: 1px; min-width: 0; }
.dash-kpi-label { color: var(--clean-muted); font-size: .68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-kpi-value { font-size: 1.2rem; line-height: 1.2; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.dash-kpi-hint { color: #6f86a5; font-size: .62rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-catalogue { margin-top: 14px; padding: 15px 16px; }
.dash-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.dash-section-head h2 { margin: 0; font-size: 1rem; }
.dash-section-head p { margin: 3px 0 0; color: var(--clean-muted); font-size: .75rem; }
.catalogue-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.catalogue-metrics a { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 9px 11px; border: 1px solid var(--clean-border); border-radius: 9px; background: var(--clean-card-dark); color: var(--clean-text); }
.catalogue-metrics a:hover { border-color: #3b5d8e; text-decoration: none; }
.catalogue-metrics span { color: var(--clean-muted); font-size: .7rem; }
.catalogue-metrics strong { font-size: .95rem; font-variant-numeric: tabular-nums; }
.catalogue-metrics a.attention { border-color: #6b5428; }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(300px, .88fr); gap: 14px; align-items: start; margin-top: 14px; }
.dash-activity .card-head { align-items: flex-start; }
.dash-activity .card-head h2 { font-size: 1rem; }
.activity-list { display: grid; }
.activity-row { display: flex; align-items: center; gap: 11px; padding: 12px 16px; border-bottom: 1px solid var(--clean-border); color: var(--clean-text); }
.activity-row:last-child { border-bottom: 0; }
.activity-row:hover { background: var(--clean-selected); text-decoration: none; }
.activity-icon { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--clean-card-dark); border: 1px solid var(--clean-border); color: #93c5fd; }
.activity-icon svg { width: 15px; height: 15px; }
.activity-copy { display: grid; gap: 1px; min-width: 0; }
.activity-copy strong { font-size: .82rem; }
.activity-copy span { color: var(--clean-muted); font-size: .7rem; }
.activity-count { margin-left: auto; min-width: 26px; text-align: right; font-size: 1rem; font-weight: 700; font-variant-numeric: tabular-nums; color: #bfdbfe; }
.activity-arrow { color: #6f86a5; font-size: .85rem; }
.dash-queue .card-head { align-items: flex-start; }
.dash-queue .card-head h2 { font-size: .95rem; }
.dash-queue-body { display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 2px 9px; padding: 14px 16px 15px; }
.dash-queue-number { font-size: 1.7rem; line-height: 1; letter-spacing: -.04em; color: var(--clean-text); }
.dash-queue-label { font-size: .78rem; color: var(--clean-muted); }
.dash-queue-body > .small { grid-column: 1 / -1; }
.dash-queue .stack { gap: 12px; }

/* Admin order workspace */
.admin-order-page > .small { display: inline-block; margin-bottom: 9px; color: var(--clean-muted); }
.order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.order-head h1 { margin: 0; font-size: 1.4rem; letter-spacing: -.025em; }
.order-head p { margin: 4px 0 0; color: var(--clean-muted); font-size: .8rem; }
.order-head-badges { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.admin-order-grid { display: grid; grid-template-columns: minmax(0, 1.78fr) minmax(290px, .92fr); gap: 14px; align-items: start; }
.admin-order-main, .admin-order-side { display: grid; gap: 14px; min-width: 0; align-content: start; }
.admin-order-side .card { overflow: hidden; }
.admin-order-side .card-head { padding: 12px 14px; }
.admin-order-side .card-head h2 { font-size: .92rem; }
.admin-order-side .card-body { padding: 13px 14px; }
.admin-order-page .chat { height: 540px; max-height: 66vh; }
.compact-stack { display: grid; gap: 3px; }
.compact-kv { display: grid; grid-template-columns: minmax(90px, .8fr) 1.2fr; gap: 5px 10px; margin: 0; font-size: .77rem; }
.compact-kv dt { color: var(--clean-muted); }
.compact-kv dd { margin: 0; text-align: right; color: var(--clean-text); }
.compact-note { margin: 2px 0 0; line-height: 1.45; }
.compact-payment { display: grid; gap: 9px; }
.payment-method-row { display: flex; align-items: center; gap: 9px; }
.payment-method-logo { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--clean-card-dark); border: 1px solid var(--clean-border); overflow: hidden; }
.payment-method-logo img { width: 25px; height: 25px; object-fit: contain; }
.payment-method-row > span:last-child { display: grid; gap: 1px; min-width: 0; }
.payment-method-row strong { font-size: .83rem; }
.payment-method-row small { color: var(--clean-muted); font-size: .68rem; }
.payment-total-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 9px 0; border-top: 1px solid var(--clean-border); border-bottom: 1px solid var(--clean-border); }
.payment-total-row span { color: var(--clean-muted); font-size: .73rem; }
.payment-total-row strong { font-size: 1.08rem; letter-spacing: -.02em; }
.payment-total-row small { color: var(--clean-muted); font-size: .64rem; font-weight: 500; }
.payment-evidence { display: grid; gap: 2px; padding: 7px 9px; border: 1px solid var(--clean-border); border-radius: 8px; background: var(--clean-card-dark); color: var(--clean-muted); font-size: .68rem; }
.payment-evidence span { display: flex; align-items: center; gap: 5px; }
.payment-evidence .mono { color: var(--clean-text); overflow-wrap: anywhere; }
.payment-evidence a { font-size: .68rem; }
.payment-actions { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; padding-top: 2px; }
.payment-actions .btn { flex: 1 1 auto; }
.btn-danger-outline { background: transparent; border-color: rgba(248,113,113,.45); color: #fca5a5; }
.btn-danger-outline:hover { background: rgba(127,29,29,.22); border-color: rgba(248,113,113,.75); color: #fecaca; }
.compact-details > summary, .tools-section > summary { cursor: pointer; color: var(--clean-muted); font-size: .74rem; list-style: none; }
.compact-details > summary::-webkit-details-marker, .tools-section > summary::-webkit-details-marker { display: none; }
.compact-details > summary::before, .tools-section > summary::before { content: "＋"; display: inline-block; width: 14px; color: #93c5fd; }
.compact-details[open] > summary::before, .tools-section[open] > summary::before { content: "−"; }
.compact-details > summary:hover, .tools-section > summary:hover { color: var(--clean-text); }
.admin-tools > summary { cursor: pointer; padding: 13px 15px; color: var(--clean-muted); font-size: .8rem; font-weight: 600; list-style: none; }
.admin-tools > summary::-webkit-details-marker { display: none; }
.admin-tools > summary::before { content: "＋"; margin-right: 7px; color: #93c5fd; }
.admin-tools[open] > summary::before { content: "−"; }
.admin-tools-body { padding: 0 14px 12px; display: grid; gap: 8px; }
.tools-section { border-top: 1px solid var(--clean-border); padding-top: 9px; }
.tools-section > summary { padding: 2px 0; font-weight: 600; }
.tools-section > div { margin-top: 8px; }
.compact-timeline li { padding-bottom: 11px; font-size: .75rem; }
.compact-timeline .when { font-size: .66rem; }
.admin-dialog { width: min(520px, calc(100vw - 24px)); max-height: calc(100vh - 40px); overflow-y: auto; padding: 0; border: 1px solid var(--clean-border); border-radius: 14px; background: var(--clean-card); color: var(--clean-text); box-shadow: 0 30px 80px -30px #000; }
.admin-dialog::backdrop { background: rgba(3, 9, 20, .74); backdrop-filter: blur(3px); }
.admin-dialog-head { display: flex; align-items: flex-start; gap: 14px; padding: 16px 18px 13px; border-bottom: 1px solid var(--clean-border); }
.admin-dialog-head h2 { margin: 0; font-size: 1rem; }
.admin-dialog-head p { margin: 4px 0 0; color: var(--clean-muted); font-size: .75rem; line-height: 1.45; }
.dialog-close { margin-left: auto; border: 0; background: transparent; color: var(--clean-muted); font-size: 1.35rem; line-height: 1; cursor: pointer; padding: 0 2px; }
.dialog-close:hover { color: var(--clean-text); }
.admin-dialog form { padding: 14px 18px 16px; }
.dialog-warning { display: flex; gap: 8px; align-items: flex-start; padding: 9px 10px; border: 1px solid #6b5428; border-radius: 8px; background: rgba(245,158,11,.08); color: #fde68a; font-size: .72rem; line-height: 1.45; }
.dialog-warning svg { width: 15px; height: 15px; flex: none; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 2px; }
.dialog-secondary { border-top: 1px solid var(--clean-border); padding: 12px 18px 15px; }
.dialog-secondary > summary { cursor: pointer; color: var(--clean-muted); font-size: .74rem; }
.dialog-secondary > summary:hover { color: var(--clean-text); }
.dialog-secondary form { padding: 10px 0 0; }

@media (max-width: 1240px) {
  .dash-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .catalogue-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .admin-order-grid { grid-template-columns: minmax(0, 1.55fr) minmax(270px, .9fr); }
  .admin-order-page .chat { height: 480px; }
}
@media (max-width: 900px) {
  .admin-side { overflow-x: auto; }
  .admin-side .logo { padding: 4px 8px; }
  .dash-grid { grid-template-columns: 1fr; }
  .admin-order-grid { grid-template-columns: 1fr; }
  .admin-order-page .chat { height: 56vh; min-height: 390px; max-height: 620px; }
}
@media (max-width: 620px) {
  .admin-main { padding: 12px; }
  .dash-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .dash-kpi { padding: 10px; gap: 7px; }
  .dash-kpi-value { font-size: 1.05rem; }
  .dash-kpi-hint { display: none; }
  .catalogue-metrics { grid-template-columns: 1fr 1fr; }
  .dash-section-head { flex-direction: column; align-items: stretch; }
  .dash-section-head .btn { align-self: flex-start; }
  .activity-row { padding: 10px 12px; gap: 8px; }
  .activity-copy span { display: none; }
  .activity-count { font-size: .9rem; }
  .order-head h1 { font-size: 1.18rem; }
  .payment-actions .btn { flex: 1 1 100%; }
  .admin-dialog { width: calc(100vw - 16px); }
  .admin-dialog form { padding: 12px 13px 14px; }
  .admin-dialog-head { padding: 13px 13px 11px; }
  .dialog-secondary { padding: 10px 13px 13px; }
  .compact-kv { grid-template-columns: 1fr auto; }
}
.dash-kpi-label, .dash-kpi-hint { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.25; }
.dash-kpi { min-height: 70px; }
@media (max-width: 900px) {
  .admin-shell { grid-template-columns: minmax(0, 1fr); }
  .admin-side { width: 100%; min-width: 0; }
  .admin-main { width: 100%; min-width: 0; }
}

/* ---------- Admin top bar & profile dropdown ---------- */
.admin-shell { grid-template-columns: 232px minmax(0, 1fr); }
.admin-col { display: flex; flex-direction: column; min-width: 0; min-height: 100vh; }
.admin-topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 56px; padding: 0 22px; background: rgba(8, 18, 37, .92); border-bottom: 1px solid var(--clean-border); backdrop-filter: saturate(160%) blur(12px); }
.admin-crumb { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--clean-muted); min-width: 0; }
.admin-crumb-current { color: var(--clean-text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-crumb-sep { opacity: .55; }
.admin-profile { position: relative; flex: none; }
.admin-profile > summary { list-style: none; display: flex; align-items: center; gap: 8px; height: 38px; padding: 3px 9px 3px 4px; border: 1px solid var(--clean-border); border-radius: 999px; background: var(--clean-card); color: var(--clean-text); cursor: pointer; }
.admin-profile > summary::-webkit-details-marker { display: none; }
.admin-profile > summary:hover, .admin-profile[open] > summary { border-color: var(--clean-primary); background: var(--clean-selected); }
.admin-profile > summary:focus-visible { outline: 2px solid rgba(59,130,246,.45); outline-offset: 2px; }
.admin-avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--clean-primary); color: #fff; font-size: .66rem; font-weight: 800; letter-spacing: .02em; }
.admin-avatar-lg { width: 38px; height: 38px; font-size: .75rem; }
.admin-profile-name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .8rem; font-weight: 600; }
.admin-profile-chevron { font-size: .7rem; color: var(--clean-muted); transition: transform .15s; }
.admin-profile[open] .admin-profile-chevron { transform: rotate(180deg); }
.admin-profile-dropdown { position: absolute; z-index: 120; top: calc(100% + 8px); right: 0; width: 250px; padding: 6px; background: var(--clean-card); border: 1px solid var(--clean-border); border-radius: 12px; box-shadow: 0 24px 48px -26px rgba(0,0,0,.9); }
.admin-profile-head { display: flex; align-items: center; gap: 10px; padding: 9px 10px 11px; border-bottom: 1px solid var(--clean-border); margin-bottom: 4px; }
.admin-profile-head-copy { min-width: 0; display: grid; gap: 2px; }
.admin-profile-head-copy strong { color: var(--clean-text); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-profile-head-copy small { color: var(--clean-muted); font-size: .68rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-profile-item { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--clean-text); font: inherit; font-size: .8rem; text-align: left; text-decoration: none; cursor: pointer; }
.admin-profile-item:hover, .admin-profile-item:focus-visible { background: var(--clean-selected); text-decoration: none; outline: none; }
.admin-profile-item svg { width: 16px; height: 16px; flex: none; color: var(--clean-primary); }
.admin-profile-item .icon-badge { margin-left: auto; }
.admin-profile-sep { height: 1px; margin: 5px 8px; background: var(--clean-border); }
.admin-profile-form { margin: 0; }
.admin-side a[href="/"] { border-top: 1px solid var(--clean-border); margin-top: 16px; padding-top: 12px; }
.admin-side a[href="/"]::before { content: "↗"; margin-right: 7px; color: var(--clean-muted); }

@media (max-width: 900px) {
  .admin-topbar { padding: 0 12px; }
  .admin-crumb { display: none; }
  .admin-profile-name { max-width: 120px; }
}
@media (max-width: 620px) {
  .admin-profile-name { display: none; }
  .admin-profile > summary { padding: 3px; border-radius: 50%; }
  .admin-profile-chevron { display: none; }
  .admin-profile-dropdown { position: fixed; top: 56px; right: 10px; left: auto; width: min(300px, calc(100vw - 20px)); }
}

/* ---------- Admin Products & Listings ---------- */
.products-filters { margin-bottom: 14px; }
.products-table-card { overflow: hidden; }
.products-table th, .products-table td { vertical-align: middle; padding: 11px 12px; }
.products-table thead th { font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; color: var(--clean-muted); border-bottom: 1px solid var(--clean-border); }
.products-table tbody tr + tr { border-top: 1px solid rgba(41, 67, 99, .5); }
.products-table tbody tr:hover { background: rgba(26, 48, 80, .4); }
.products-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.admin-product-logo { width: 36px; height: 36px; flex: none; display: grid; place-items: center; padding: 5px; background: var(--clean-card-dark); border: 1px solid var(--clean-border); border-radius: 9px; overflow: hidden; }
.admin-product-logo .brand-logo { height: 22px; max-width: 100%; object-fit: contain; }
.admin-product-logo .brand-logo-text-sm { font-size: .68rem; white-space: nowrap; color: var(--clean-text); line-height: 1; }
.products-table .actions-col { width: 1%; white-space: nowrap; text-align: right; }
.products-table .badge { white-space: nowrap; }
@media (max-width: 760px) {
  .products-table th, .products-table td { padding: 10px; }
  .admin-product-logo { width: 32px; height: 32px; }
  .admin-product-logo .brand-logo { height: 19px; }
}
.products-table { table-layout: fixed; }
.products-table th { white-space: normal; }

/* Customer quick-access header buttons */
.header-quick-actions { display: flex; align-items: center; gap: 6px; }
.header-quick { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 1px solid var(--clean-border); border-radius: 10px; background: var(--clean-card); color: var(--clean-text); }
.header-quick:hover { background: var(--clean-selected); border-color: var(--clean-primary); color: var(--clean-text); text-decoration: none; }
.header-quick:focus-visible { outline: 2px solid rgba(59,130,246,.45); outline-offset: 2px; }
.header-quick svg { width: 18px; height: 18px; }
.header-quick-badge { position: absolute; top: -5px; right: -5px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--clean-primary); color: #fff; font-size: .62rem; font-weight: 700; line-height: 17px; text-align: center; box-shadow: 0 0 0 2px var(--clean-background); }
@media (max-width: 620px) {
  .header-quick-actions { gap: 4px; }
  .header-quick { width: 34px; height: 34px; border-radius: 9px; }
  .header-quick svg { width: 16px; height: 16px; }
  .header-quick-badge { top: -4px; right: -4px; }
}

/* Admin Customers */
.customers-review-bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.customers-review-bar strong { font-size: .85rem; }
.customers-table tbody tr.is-new-customer { background: rgba(59, 130, 246, .06); }
.customers-table tbody tr.is-new-customer:hover { background: rgba(59, 130, 246, .11); }
.customers-table td, .customers-table th { vertical-align: middle; }
.customers-table .actions-col { width: 1%; white-space: nowrap; text-align: right; }
.customers-table .row-link { font-weight: 650; }
@media (max-width: 620px) {
  .customers-review-bar { align-items: flex-start; }
}
.customers-table { table-layout: fixed; }
.customers-table th { white-space: normal; }

/* Buyer order workspace */
.payment-proof-card { overflow: hidden; }
.payment-proof-card .card-head { padding: 14px 16px; }
.payment-proof-card .card-body { padding: 14px 16px 16px; }
.payment-proof-form { display: grid; gap: 10px; }
.payment-support-line { display: flex; gap: 7px; align-items: flex-start; margin: 0; color: var(--clean-muted); font-size: .74rem; line-height: 1.45; }
.payment-support-line svg { width: 14px; height: 14px; flex: none; margin-top: 1px; color: #93c5fd; }
.proof-upload { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 116px; padding: 16px; text-align: center; border: 1px dashed var(--clean-border); border-radius: 12px; background: var(--clean-card-dark); color: var(--clean-text); cursor: pointer; transition: border-color .15s, background .15s; }
.proof-upload:hover, .proof-upload:focus-within { border-color: var(--clean-primary); background: var(--clean-selected); }
.proof-upload.is-invalid { border-color: rgba(248,113,113,.7); background: rgba(127,29,29,.1); }
.proof-upload-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgba(59,130,246,.13); color: #93c5fd; margin-bottom: 3px; }
.proof-upload-icon svg { width: 16px; height: 16px; }
.proof-upload strong { font-size: .84rem; }
.proof-upload .small { color: var(--clean-muted); }
.proof-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.proof-preview { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--clean-border); border-radius: 10px; background: var(--clean-card-dark); }
.proof-preview img { width: 46px; height: 46px; object-fit: cover; border-radius: 7px; border: 1px solid var(--clean-border); }
.proof-preview-copy { display: grid; gap: 1px; min-width: 0; }
.proof-preview-copy strong { font-size: .77rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 220px; }
.proof-preview .link-btn { margin-left: auto; }
.proof-error { margin: 0; color: #fca5a5; font-size: .75rem; }
.payment-proof-note { margin: 0; line-height: 1.45; }
/* Customer Support chat */
.account-shell {
  --account-card: #0c1a30;
  --account-border: #223752;
  grid-template-columns: clamp(166px, 15vw, 204px) minmax(0, 1fr);
  gap: clamp(18px, 2vw, 28px);
  padding: 30px 24px 44px;
}
.account-shell .card { background: var(--account-card); border: 1px solid var(--account-border); border-radius: 16px; box-shadow: none; }
.account-shell .side-nav { gap: 4px; }
.account-shell .side-nav a { min-height: 44px; padding: 8px 12px; border: 1px solid transparent; }
.account-shell .side-nav a[aria-current="page"] { background: #102a4d; border-color: #25518a; color: var(--clean-text); }
.account-nav-label { display: inline-flex; align-items: center; gap: 9px; }
.account-nav-label svg { width: 18px; height: 18px; color: #c3d2e8; flex: none; }
.account-shell main { min-width: 0; }
@media (max-width: 900px) {
  .account-shell { grid-template-columns: minmax(0, 1fr); gap: 13px; padding: 15px 18px 30px; }
  .account-shell .side-nav { position: static; display: flex; overflow-x: auto; padding-bottom: 4px; }
  .account-shell .side-nav a { flex: none; white-space: nowrap; }
}
@media (max-width: 600px) {
  .account-shell { padding-inline: 12px; }
  .account-shell .side-nav a { min-height: 40px; padding-inline: 9px; font-size: .8rem; }
  .account-nav-label { gap: 6px; }
  .account-nav-label svg { width: 15px; height: 15px; }
}

.support-workspace {
  --support-height: clamp(520px, calc(100svh - 145px), 700px);
  --support-surface: var(--account-card);
  --support-divider: var(--account-border);
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(265px, 1fr);
  gap: clamp(14px, 1.45vw, 24px);
  align-items: start;
  color: var(--clean-text);
}
.support-workspace > .card { min-width: 0; }
.support-workspace .support-thread { height: var(--support-height); max-height: none; overflow: visible; }
.support-thread .chat-head,
.support-welcome > header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  padding: clamp(14px, 1.4vw, 23px);
  border-block-end: 1px solid var(--support-divider);
}
.support-chat-icon, .support-detail-icon, .support-welcome-icon {
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 12px;
  background: #172f4e;
  color: #e5efff;
}
.support-chat-icon { width: 48px; height: 48px; }
.support-chat-icon svg { width: 28px; height: 28px; }
.support-detail-icon { width: 36px; height: 36px; border-radius: 9px; }
.support-detail-icon svg { width: 20px; height: 20px; }
.support-thread .chat-heading { min-width: 0; flex: 1; }
.support-thread h1, .support-welcome h1 { margin: 0; font-size: clamp(1.25rem, 2vw, 1.72rem); line-height: 1.15; letter-spacing: -.03em; }
.support-thread .chat-subtitle { margin: 5px 0 0; font-size: .86rem; overflow-wrap: anywhere; }
.support-thread .chat-head-actions { display: flex; align-items: center; gap: 8px; }
.support-thread .chat-live {
  padding: 6px 9px;
  border-color: #115342;
  color: #6ee7b7;
  background: #10352f;
}
.support-thread .chat-live:has(.is-off) { background: var(--clean-card-dark); border-color: var(--clean-border); color: var(--clean-muted); }
.support-thread .live-dot { box-shadow: none; }
.support-switcher { position: relative; min-width: 0; }
.support-switcher summary, .support-details summary {
  list-style: none;
  cursor: pointer;
}
.support-switcher summary::-webkit-details-marker, .support-details summary::-webkit-details-marker { display: none; }
.support-switcher summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #10233c;
  border: 1px solid var(--clean-border);
  border-radius: 9px;
  padding: 7px 9px;
  font-size: .76rem;
  white-space: nowrap;
}
.support-switcher summary svg { width: 16px; height: 16px; }
.support-switcher summary::after, .support-details summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin: -3px 2px 0 3px;
  flex: none;
}
.support-switcher[open] summary::after, .support-details[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.support-switcher nav {
  position: absolute;
  z-index: 8;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  width: min(335px, calc(100vw - 44px));
  max-height: min(390px, 58svh);
  overflow: auto;
  padding: 5px;
  border: 1px solid var(--clean-border);
  border-radius: 12px;
  background: var(--clean-card-dark);
  box-shadow: 0 16px 36px #030914b3;
}
.support-switcher a { display: grid; gap: 3px; color: var(--clean-text); border-radius: 8px; padding: 9px 10px; line-height: 1.35; }
.support-switcher a:hover, .support-switcher a[aria-current] { text-decoration: none; background: var(--clean-selected); }
.support-option-main, .support-option-preview { display: flex; justify-content: space-between; align-items: center; gap: 7px; min-width: 0; }
.support-option-main strong, .support-option-preview > span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.support-option-main strong { font-size: .82rem; }
.support-option-main time, .support-option-meta { font-size: .68rem; color: var(--clean-muted); }
.support-option-main time { flex: none; }
.support-option-preview { font-size: .75rem; color: var(--clean-muted); }
.support-option-preview .icon-badge { flex: none; }
.support-thread .chat-log { min-height: 0; gap: 16px; padding: clamp(13px, 1.55vw, 24px); background: var(--clean-background); overscroll-behavior: contain; }
.support-thread .chat-log > * { flex-shrink: 0; }
.support-thread .chat-date { width: min(73%, 440px); }
.support-thread .chat-date span { border: 0; background: transparent; padding: 1px 3px; font-size: .76rem; }
.support-thread .msg:not(.system) { display: flex; flex-direction: row; align-items: flex-start; max-width: min(87%, 500px); gap: 10px; }
.support-thread .msg.mine { flex-direction: row-reverse; }
.support-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #3b82f6;
  background: #1265d8;
  color: #fff;
  font-size: .83rem;
  font-weight: 700;
}
.support-thread .msg:not(.system) > .bubble { min-width: 0; padding: 10px 13px 7px; border-radius: 13px; white-space: normal; font-size: .94rem; }
.support-thread .msg.mine > .bubble { background: #10356a; border-color: #265ea8; }
.support-thread .msg.theirs > .bubble { background: #192944; border-color: #253b58; }
.support-thread .msg.payment > .bubble { background: #2c261b; border-color: #614a26; }
.support-thread .msg .meta { display: block; text-align: right; margin-top: 3px; padding: 0; font-size: .69rem; }
.support-sender { display: block; font-size: .79rem; margin-bottom: 3px; }
.support-message-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.support-thread .msg .attachment { max-width: 100%; margin-top: 5px; font-size: .78rem; overflow-wrap: anywhere; }
.support-thread .msg .attachment svg { width: 15px; height: 15px; flex: none; }
.support-original { max-width: 92%; align-self: center; overflow-wrap: anywhere; padding: 10px 14px; border: 1px solid var(--support-divider); border-radius: 10px; font-size: .83rem; color: var(--clean-muted); }
.support-original p { margin: 3px 0 0; }
.support-thread .chat-compose { padding: 13px clamp(11px, 1.4vw, 22px); background: var(--support-surface); border-color: var(--support-divider); border-radius: 0 0 16px 16px; }
.support-thread .chat-input-row .textarea { min-width: 0; background: #0e2037; border-color: #304966; font-size: .94rem; }
.support-thread .file-btn { width: 44px; height: 44px; padding: 0; flex: none; border-radius: 10px; }
.support-thread .file-btn:focus-within { outline: 2px solid var(--clean-primary); outline-offset: 2px; }
.support-thread .file-btn svg { width: 19px; height: 19px; }
.support-thread .chat-send { background: #0869e9; border-color: #297ef2; box-shadow: none; }
.support-thread .chat-send:hover { background: #1878f7; }
.support-thread .chat-compose-foot { min-height: 0; padding: 0; }
.support-thread .chat-compose-foot:has(.chat-file-name:not(:empty), .chat-typing:not(:empty)) { padding-top: 6px; }
.support-thread .chat-error:empty { display: none; }
.support-thread .chat-disabled { margin: 0; }
.support-aside { padding: clamp(14px, 1.5vw, 23px); }
.support-details > summary { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.support-details > summary span:first-child { flex: 1; min-width: 0; }
.support-details > summary strong { display: block; font-size: clamp(1.02rem, 1.6vw, 1.34rem); line-height: 1.2; letter-spacing: -.025em; }
.support-details > summary small { display: block; margin-top: 5px; color: var(--clean-muted); font-size: .84rem; }
.support-details .badge { max-width: 100%; white-space: normal; text-align: center; }
.support-details-content { margin-top: 16px; border-top: 1px solid var(--support-divider); }
.support-product { display: flex; align-items: center; gap: 11px; padding: 13px 0; }
.support-product h3 { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
.support-product p { margin: 2px 0 0; color: var(--clean-muted); font-size: .84rem; }
.support-facts { margin: 0; font-size: .82rem; }
.support-facts > div { display: flex; justify-content: space-between; align-items: center; gap: 9px; padding: 8px 0; min-height: 39px; border-top: 1px solid var(--support-divider); }
.support-facts dt { display: flex; align-items: center; gap: 9px; flex: none; color: #dbe6f6; }
.support-facts dt svg { width: 17px; height: 17px; color: var(--clean-muted); }
.support-facts dd { min-width: 0; margin: 0; text-align: right; overflow-wrap: anywhere; }
.support-linked-case { display: flex; align-items: center; gap: 6px; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--support-divider); font-size: .83rem; overflow-wrap: anywhere; }
.support-linked-case small, .support-case-action small { display: block; color: var(--clean-muted); font-size: .78rem; margin-top: 3px; }
.support-case-resolution { padding: 9px 10px; border-radius: 7px; background: var(--clean-card-dark); color: var(--clean-muted); font-size: .84rem; overflow-wrap: anywhere; }
.support-order-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; font-size: .79rem; }
.support-order-link svg { width: 15px; height: 15px; }
.support-case-action { border-top: 1px solid var(--support-divider); margin-top: 16px; padding-top: 16px; }
.support-case-action:first-child { border: 0; margin: 0; padding: 0; }
.support-case-action > div { display: flex; align-items: flex-start; gap: 10px; line-height: 1.35; }
.support-case-action strong { display: block; font-size: .94rem; }
.support-case-action .btn { width: 100%; min-height: 43px; margin-top: 12px; text-align: center; background: #172e4e; border-color: #34577f; }
.support-case-action .btn:hover { background: #1d3a60; }
.support-welcome { min-height: min(510px, var(--support-height)); display: flex; flex-direction: column; }
.support-welcome-content { flex: 1; display: grid; justify-items: center; align-content: center; gap: 15px; padding: 28px 12px; text-align: center; }
.support-welcome-icon { width: 53px; height: 53px; }
.support-welcome-icon svg { width: 27px; height: 27px; }
.support-welcome h2 { margin: 0; font-size: 1.3rem; }
.support-dialog { position: fixed; inset: 50% auto auto 50%; transform: translate(-50%, -50%); margin: 0; width: min(480px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); overflow: auto; padding: 0; border: 1px solid var(--clean-border); border-radius: 15px; background: var(--clean-card-dark); color: var(--clean-text); box-shadow: 0 25px 65px #020710a6; }
.support-dialog::backdrop { background: #030a17b8; }
.support-dialog > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--clean-border); }
.support-dialog h2 { margin: 3px 0 0; font-size: 1.22rem; }
.support-dialog header p { margin: 4px 0 0; font-size: .82rem; color: var(--clean-muted); }
.support-dialog-close { height: 38px; min-width: 38px; padding: 0; font-size: 1.36rem; }
.support-dialog form { padding: 16px 18px 18px; }
.support-dialog .field { margin-bottom: 12px; }
.support-dialog .form-actions { justify-content: flex-end; }
.support-dialog .form-actions .btn { min-height: 42px; }
.support-case-file { font-size: .84rem; }
.support-form-error { margin: 0 0 9px; font-size: .85rem; }

@media (min-width: 980px) and (max-width: 1150px) {
  .support-switcher summary > span:not(.sr-only) { display: none; }
  .support-thread .chat-head { gap: 9px; }
  .support-thread .chat-head-actions { gap: 5px; }
}
@media (max-width: 979px) {
  .support-workspace { --support-height: clamp(405px, calc(100svh - 194px), 620px); grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .support-welcome { min-height: 330px; }
}
@media (max-width: 600px) {
  .support-thread .chat-head { padding: 12px; gap: 8px; }
  .support-chat-icon { width: 36px; height: 36px; border-radius: 8px; }
  .support-chat-icon svg { width: 22px; height: 22px; }
  .support-thread .chat-subtitle { font-size: .72rem; }
  .support-thread .chat-head-actions { gap: 5px; }
  .support-thread .chat-live { padding: 5px 7px; font-size: .61rem; }
  .support-switcher summary { min-width: 38px; min-height: 38px; padding: 5px; }
  .support-switcher summary > span:not(.sr-only) { display: none; }
  .support-switcher nav { right: -45px; }
  .support-thread .chat-log { padding: 12px 10px; gap: 12px; }
  .support-thread .msg:not(.system) { max-width: 94%; gap: 6px; }
  .support-thread .msg:not(.system) > .bubble { font-size: .86rem; }
  .support-avatar { width: 26px; height: 26px; font-size: .68rem; }
  .support-thread .chat-send span { display: inline; }
  .support-thread .chat-send { padding-inline: 10px; }
  .support-thread .chat-send svg { width: 14px; height: 14px; }
  .support-dialog .field .input, .support-dialog .field .select, .support-dialog .field .textarea { font-size: 16px; }
}

/* My orders and order tracking */
.account-order-heading h1 { margin: 0; font-size: clamp(1.42rem, 2.35vw, 1.88rem); letter-spacing: -.035em; }
.account-order-heading p { margin: 5px 0 0; font-size: .9rem; color: var(--clean-muted); }
.account-order-tabs { display: flex; gap: clamp(5px, 2vw, 23px); border-bottom: 1px solid var(--account-border); overflow-x: auto; }
.account-order-tabs a { display: inline-flex; align-items: center; flex: none; min-height: 43px; padding: 5px 10px; color: var(--clean-muted); font-size: .86rem; border-bottom: 2px solid transparent; white-space: nowrap; }
.account-order-tabs a:hover { color: var(--clean-text); text-decoration: none; }
.account-order-tabs a:focus-visible { outline-offset: -3px; }
.account-order-tabs a[aria-current] { color: var(--clean-text); font-weight: 650; border-color: var(--clean-primary); }
.order-list { display: grid; gap: 12px; }
.order-list-card { display: grid; grid-template-columns: minmax(205px, 1.02fr) minmax(0, 1.65fr) 174px; gap: 14px; align-items: center; padding: 15px; }
.order-list-product, .tracking-product { display: flex; align-items: center; gap: 11px; min-width: 0; }
.order-product-mark { display: grid; place-items: center; flex: none; width: 51px; height: 51px; padding: 7px; background: #10243a; border: 1px solid var(--account-border); border-radius: 11px; overflow: hidden; }
.order-product-mark img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.order-product-mark .brand-logo-text { max-width: 100%; font-size: .59rem; overflow-wrap: anywhere; white-space: normal; line-height: 1.05; }
.order-list-identity { display: grid; gap: 2px; min-width: 0; color: var(--clean-muted); font-size: .75rem; overflow-wrap: anywhere; }
.order-list-identity strong { color: var(--clean-text); }
.order-product-link { color: var(--clean-text); text-decoration: underline; text-decoration-color: #6585ad; text-underline-offset: 3px; font-size: .98rem; font-weight: 650; width: fit-content; }
.order-reference-link { color: #9ccaff; text-decoration: underline; text-underline-offset: 3px; width: fit-content; }
.order-list-states { display: grid; grid-template-columns: 1.08fr .95fr 1fr; margin: 0; }
.order-list-states > div { border-left: 1px solid var(--account-border); padding: 4px clamp(6px, 1.2vw, 14px); min-width: 0; }
.order-list-states dt { margin-bottom: 6px; color: var(--clean-muted); font-size: .75rem; }
.order-list-states dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; font-size: .79rem; overflow-wrap: anywhere; }
.account-shell .badge { max-width: 100%; min-height: 24px; height: auto; padding-block: 3px; line-height: 1.25; white-space: normal; text-align: center; }
.account-shell .badge::before { flex: none; }
.order-payment-mark { display: inline-flex; gap: 7px; align-items: center; max-width: 100%; overflow-wrap: anywhere; }
.order-payment-mark .payment-logo { width: 24px; height: 24px; flex: none; }
.order-payment-mark .payment-logo img { width: 100%; height: 100%; object-fit: contain; }
.account-chat-button { min-height: 44px; justify-content: center; padding: 8px 13px; border-radius: 10px; font-size: .85rem; white-space: nowrap; }
.account-chat-button svg { width: 19px; height: 19px; flex: none; }
.account-chat-button.btn-primary { background: #0869e9; border-color: #297ef2; box-shadow: none; }
.account-chat-button.btn-primary:hover { background: #1878f7; }
.account-chat-button .icon-badge { background: #153f81; }

.order-tracking-heading { display: flex; align-items: end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.order-tracking-heading h1 { margin-top: 7px; }
.order-tracking-heading h1 { overflow-wrap: anywhere; }
.order-tracking-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tracking-progress { padding: 17px 12px; }
.tracking-progress ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; }
.tracking-progress li { display: flex; flex-direction: column; align-items: center; gap: 7px; position: relative; min-width: 0; padding: 0 4px; text-align: center; color: var(--clean-muted); }
.tracking-progress li + li::before { content: ""; position: absolute; right: 50%; width: 100%; top: 12px; height: 2px; background: #33516e; }
.tracking-progress li.is-connected::before { background: var(--clean-primary); }
.tracking-node { position: relative; z-index: 1; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; border: 2px solid #526f91; background: #172d47; color: #fff; }
.tracking-node svg { width: 16px; height: 16px; }
.tracking-progress .is-done, .tracking-progress .is-current { color: var(--clean-text); }
.is-done .tracking-node { border-color: #3b82f6; background: #185caa; }
.is-current .tracking-node { outline: 2px solid var(--clean-primary); outline-offset: 2px; border-color: #76b5ff; background: #1678e8; }
.is-current:not(.is-done) .tracking-node::after { content: ""; display: block; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.tracking-step-copy { font-size: .81rem; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.tracking-step-copy small { display: block; margin-top: 4px; color: var(--clean-muted); font-size: .72rem; }
.tracking-note { display: flex; gap: 6px; align-items: center; margin: 14px 5px 0; padding-top: 10px; border-top: 1px solid var(--account-border); color: var(--clean-muted); font-size: .79rem; }
.tracking-note svg { width: 16px; height: 16px; flex: none; }
.order-tracking-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(250px, 1fr); gap: 14px; align-items: start; }
.tracking-card { padding: 17px; min-width: 0; align-self: stretch; }
.tracking-card h2, .tracking-section-title { margin: 0; font-size: 1.13rem; }
.tracking-card h2 { margin-bottom: 10px; }
.tracking-facts { margin: 0; font-size: .84rem; }
.tracking-facts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); align-items: center; gap: 10px; min-height: 42px; padding: 9px 0; border-top: 1px solid var(--account-border); }
.tracking-facts dt { display: flex; align-items: center; gap: 8px; color: var(--clean-muted); min-width: 0; }
.tracking-facts dt svg { width: 17px; height: 17px; flex: none; }
.tracking-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.tracking-facts .tracking-total { min-height: 57px; }
.tracking-total strong { font-size: 1.28rem; }
.tracking-total small { font-size: .75rem; color: var(--clean-muted); }
.tracking-card[data-order-region="summary"] dd { text-align: right; }
.tracking-ref { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 9px; }
.tracking-ref button { min-height: 33px; }
.order-detail-disclosure { margin-top: 6px; font-size: .82rem; color: var(--clean-muted); }
.order-detail-disclosure summary { cursor: pointer; }
.order-detail-disclosure p { margin: 7px 0 0; }
.order-detail-disclosure ul { margin: 6px 0 0; padding-left: 18px; }
.order-tracking-lower { min-width: 0; }
.order-tracking-lower:empty { display: none; }
.order-request-compact { width: min(100%, 350px); align-self: center; }
.order-request-lines { padding: 9px 12px 11px; display: grid; gap: 2px; color: var(--clean-muted); font-size: .77rem; }
.order-request-lines p { margin: 0; overflow-wrap: anywhere; }
.order-request-lines p:first-child { font-weight: 650; color: var(--clean-text); }

@media (max-width: 1120px) {
  .order-list-card { grid-template-columns: minmax(0, 1fr) auto; }
  .order-list-states { grid-column: 1 / -1; grid-row: 2; }
  .order-list-states > div:first-child { border-left: 0; padding-left: 0; }
  .order-list-card .account-chat-button { grid-column: 2; grid-row: 1; }
}
@media (max-width: 690px) {
  .account-order-tabs { gap: 4px; }
  .account-order-tabs a { font-size: .77rem; padding-inline: 7px; }
  .order-tracking-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .order-list-card { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; }
  .order-list-states { grid-column: auto; grid-row: auto; }
  .order-list-card .account-chat-button { grid-column: auto; grid-row: auto; }
  .order-list-states > div { padding-inline: 6px; }
  .order-list-states dt { font-size: .68rem; }
  .order-list-states dd { font-size: .74rem; }
  .order-list-states .badge { font-size: .65rem; padding-inline: 6px; gap: 4px; }
  .tracking-progress { padding: 14px; }
  .tracking-progress ol { grid-template-columns: minmax(0, 1fr); }
  .tracking-progress li { display: grid; grid-template-columns: 25px minmax(0, 1fr); min-height: 44px; gap: 10px; padding: 0 1px; text-align: left; align-items: start; }
  .tracking-progress li:last-child { min-height: 30px; }
  .tracking-progress li + li::before { right: auto; top: -32px; left: 12px; width: 2px; height: 44px; }
  .tracking-step-copy { align-self: start; padding-top: 3px; }
  .tracking-step-copy small { margin-top: 2px; }
  .order-tracking-actions { width: 100%; justify-content: space-between; }
  .tracking-card { padding: 13px; }
}

/* Unified premium admin orders and messaging workspace. */
.admin-status-tabs { display:flex; gap:10px; overflow-x:auto; padding:4px 0 18px; margin:12px 0 8px; }
.admin-status-tabs a { display:flex; align-items:center; gap:10px; white-space:nowrap; padding:10px 15px; border:1px solid var(--clean-border); border-radius:10px; color:var(--clean-text); background:var(--clean-card-dark); font-size:.85rem; }
.admin-status-tabs a span { border-radius:14px; background:var(--clean-selected); padding:2px 8px; font-size:.75rem; }
.admin-status-tabs a[aria-current] { background:var(--clean-primary); border-color:var(--clean-primary); }
.admin-order-filters { display:flex; flex-wrap:wrap; align-items:end; gap:10px; margin-bottom:22px; }
.admin-order-filters > .input { flex:2 1 220px; }
.admin-order-filters > .select { flex:1 1 150px; width:150px; }
.admin-order-filters label { font-size:.7rem; color:var(--clean-muted); width:135px; }
.admin-order-filters label .input { margin-top:4px; }
.admin-orders-table .table { font-size:.78rem; }
.admin-orders-table .table th { font-size:.67rem; padding:14px 12px; }
.admin-orders-table .table td { padding:18px 12px; }
.admin-orders-table small, .admin-product small { display:block; color:var(--clean-muted); font-size:.72rem; margin-top:4px; overflow-wrap:anywhere; }
.admin-product { display:flex; gap:12px; align-items:center; min-width:145px; }
.admin-product .order-product-mark { flex:0 0 36px; width:36px; height:36px; border:0; background:transparent; }
.admin-product .order-product-mark svg, .admin-product .order-product-mark img { width:32px; height:32px; }
.admin-orders-table .badge { font-size:.68rem; white-space:nowrap; }
.admin-orders-table .btn { white-space:nowrap; font-size:.72rem; padding:8px 10px; }
.admin-main:has(.admin-inbox-workspace) { padding:0; }
.admin-inbox-workspace { display:grid; grid-template-columns:280px minmax(0,1fr) 280px; height:calc(100dvh - 65px); min-height:540px; background:var(--clean-background); }
.admin-inbox-workspace:not(.has-conversation) { grid-template-columns:320px minmax(0,1fr); }
.conversation-list { min-width:0; display:flex; flex-direction:column; border-right:1px solid var(--clean-border); }
.conversation-list header { padding:20px 16px 10px; }
.conversation-list h1 { font-size:1.4rem; margin:0; }
.conversation-list header p { margin:4px 0 20px; }
.inbox-search { display:flex; gap:6px; }
.inbox-search .input { min-width:0; font-size:.8rem; }
.inbox-tabs { display:flex; gap:6px; overflow-x:auto; margin:12px 0; }
.inbox-tabs a { font-size:.75rem; border:1px solid var(--clean-border); padding:7px 12px; border-radius:18px; color:var(--clean-text); white-space:nowrap; }
.inbox-tabs a[aria-current] { background:var(--clean-primary); border-color:var(--clean-primary); }
.conversation-scroll { overflow-y:auto; flex:1; padding:0 8px 12px; }
.conversation-row { display:flex; align-items:center; gap:10px; padding:15px 10px; color:var(--clean-text); border-bottom:1px solid var(--clean-border); min-width:0; border-radius:8px; position:relative; }
.conversation-row:hover,.conversation-row.selected { background:var(--clean-selected); }
.conversation-row.selected { box-shadow:inset 2px 0 var(--clean-primary); }
.conversation-avatar { width:36px; height:36px; flex:0 0 36px; display:grid; place-items:center; border-radius:50%; background:#16477a; color:white; font-size:.8rem; font-weight:700; }
.conversation-copy { min-width:0; flex:1; }
.conversation-copy strong { font-size:.8rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.conversation-copy time { font-size:.6rem; color:var(--clean-muted); white-space:nowrap; }
.conversation-copy small { display:block; font-size:.65rem; color:var(--clean-muted); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; margin:4px 0; }
.conversation-preview { display:block; font-size:.76rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.conversation-status { display:block; margin-top:6px; }
.conversation-status .badge { font-size:.58rem; padding:2px 7px; }
.conversation-row > .icon-badge { position:absolute; right:8px; bottom:12px; font-size:.6rem; min-width:16px; height:16px; }
.conversation-row:has(.icon-badge:not([hidden])) .conversation-preview { padding-right:20px; }
.inbox-center { min-width:0; min-height:0; padding:12px; display:flex; flex-direction:column; }
.inbox-center .chat { flex:1; display:flex; flex-direction:column; min-height:0; border:0; background:transparent; margin:0; }
.inbox-center .chat-head { padding:14px 12px; background:var(--clean-card-dark); border:1px solid var(--clean-border); border-radius:12px; gap:8px; flex-wrap:wrap; }
.inbox-center .chat-head h2 { font-size:1rem; }
.inbox-center .chat-head-actions { margin-left:auto; }
.inbox-center .chat-head-actions .btn { font-size:.7rem; padding:6px 8px; }
.inbox-center .chat-subtitle { font-size:.7rem; }
.inbox-center .chat-log { flex:1; height:auto; min-height:0; max-height:none; padding:20px 8px; }
.inbox-center .chat-compose { background:var(--clean-card-dark); border:1px solid var(--clean-border); border-radius:12px; padding:10px; }
.inbox-center .msg .bubble { font-size:.83rem; }
.inbox-center .msg.mine .bubble { background:var(--clean-primary); border-color:var(--clean-primary); }
.inbox-center .order-request-grid { grid-template-columns:1fr 1fr; }
.inbox-center .order-request-card { padding:12px; max-width:350px; }
.inbox-center .order-request-grid > div { font-size:.72rem; }
.inbox-center .order-request-grid > div:nth-child(n+5) { display:none; }
.inbox-back { display:none; padding:6px 2px 12px; }
.inbox-welcome { margin:auto; text-align:center; padding:24px; }
.inbox-welcome > svg { width:40px; height:40px; color:var(--clean-primary); }
.customer-orders-panel { min-width:0; border-left:1px solid var(--clean-border); display:flex; flex-direction:column; background:var(--clean-card-dark); overflow:hidden; }
.customer-orders-panel header { padding:20px 16px 16px; border-bottom:1px solid var(--clean-border); }
.customer-orders-panel h2 { font-size:1.05rem; margin:0 0 10px; }
.customer-orders-panel header p { overflow-wrap:anywhere; margin:5px 0 10px; }
.customer-orders-scroll { padding:16px; overflow-y:auto; }
.customer-order-mini { padding:14px; margin-bottom:14px; }
.customer-order-mini .admin-product { gap:10px; font-size:.8rem; }
.customer-order-mini .btn { width:100%; margin-top:12px; }
.customer-order-mini .mini-states { gap:5px; margin-top:10px; }
.customer-order-mini .badge { font-size:.62rem; }
.admin-inbox-workspace.orders-hidden { grid-template-columns:280px minmax(0,1fr); }
.orders-hidden .customer-orders-panel { display:none; }
.dispute-summary { scroll-margin-top:20px; }
.dispute-summary:target { outline:2px solid var(--clean-primary); }
.dispute-description { white-space:pre-wrap; overflow-wrap:anywhere; font-size:.85rem; }
.dispute-actions { margin-top:18px; }
.admin-order-side .card-head h2 { font-size:1rem; }
@media(min-width:769px) { .admin-side { display:flex; flex-direction:column; } .admin-side > a[href="/"]:not(.logo) { margin-top:auto; } }
@media(max-width:1250px) {
  .admin-inbox-workspace,.admin-inbox-workspace.orders-hidden { grid-template-columns:270px minmax(0,1fr); }
  .customer-orders-panel { display:none; }
  .admin-inbox-workspace.orders-open .customer-orders-panel { display:flex; position:fixed; top:66px; right:0; bottom:0; width:340px; z-index:80; box-shadow:-20px 0 60px #0008; }
}
@media(max-width:768px) {
  .admin-inbox-workspace,.admin-inbox-workspace.orders-hidden,.admin-inbox-workspace:not(.has-conversation) { grid-template-columns:240px minmax(0,1fr); height:calc(100dvh - 135px); }
  .conversation-list header { padding:12px 10px; }
  .inbox-center { padding:8px; }
  .admin-orders-table .table,.admin-orders-table tbody,.admin-orders-table tr,.admin-orders-table td { display:block; width:100%; }
  .admin-orders-table thead { display:none; }
  .admin-orders-table tr { padding:16px; border-bottom:1px solid var(--clean-border); }
  .admin-orders-table .table td { display:flex; justify-content:space-between; gap:14px; padding:6px 0; border:0; white-space:normal; }
  .admin-orders-table td::before { content:attr(data-label); flex:0 0 65px; font-size:.7rem; color:var(--clean-muted); }
  .admin-orders-table td[data-label="Customer"] { flex-wrap:wrap; justify-content:flex-start; }
  .admin-orders-table td[data-label="Customer"] small { flex-basis:100%; margin-left:79px; }
  .admin-orders-table .table-wrap { overflow:visible; }
  .admin-orders-table .table { min-width:0; }
  .admin-orders-table .admin-product { justify-content:end; }
}
@media(max-width:600px) {
  .admin-inbox-workspace,.admin-inbox-workspace.orders-hidden,.admin-inbox-workspace:not(.has-conversation) { display:flex; height:calc(100dvh - 140px); min-height:460px; }
  .conversation-list { width:100%; }
  .inbox-center { display:none; }
  .has-conversation .conversation-list { display:none; }
  .has-conversation .inbox-center { display:flex; width:100%; }
  .inbox-back { display:block; }
  .admin-inbox-workspace.orders-open .customer-orders-panel { top:0; width:min(100%,390px); }
  .inbox-center .chat-head { padding:10px; }
  .inbox-center .chat-heading { flex-basis:100%; }
  .inbox-center .chat-head-actions { margin-left:0; width:100%; justify-content:space-between; }
  .admin-order-filters > .input { flex-basis:100%; }
  .admin-order-filters label { flex:1; }
}
.admin-side a.logo { border-top:0; margin-top:0; }
.admin-side a.logo::before { content:none; }
.admin-side > a:not(.logo) { display:flex; align-items:center; gap:12px; }
.admin-side > a:not(.logo) > svg { width:19px; height:19px; flex:none; }
.admin-side > a:not(.logo) > .icon-badge { margin-left:auto; }
.admin-side > a[href="/"]:not(.logo)::before { content:none; }
.admin-inbox-workspace { height:calc(100dvh - 56px); }
.inbox-center .btn-primary { background:var(--clean-primary); box-shadow:none; }
.inbox-center .chat-compose .chat-input-row { display:flex; align-items:center; gap:8px; }
.inbox-center .chat-compose .file-btn { width:36px; flex:0 0 36px; padding:8px; }
.inbox-center .chat-compose .file-btn span { display:none; }
.inbox-center .chat-compose-foot { min-height:14px; }
@media(max-width:900px) {
  .admin-shell { grid-template-columns:minmax(0,1fr); }
  .admin-side { position:static; height:auto; min-height:0; display:flex; flex-direction:row; overflow-x:auto; align-items:center; padding:8px; }
  .admin-side > a { flex:none; margin:0; }
  .admin-side > a[href="/"]:not(.logo) { margin-top:0; padding-top:8px; border:0; }
  .admin-side > a.logo { padding:6px; }
  .admin-col { min-height:0; }
  .admin-topbar { flex:none; }
  .admin-inbox-workspace { height:calc(100dvh - 116px); }
}

.admin-order-page { max-width:1100px; margin-inline:auto; display:grid; gap:16px; }
.admin-order-page .order-head { margin:0; }
.admin-order-progress { list-style:none; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); padding:18px 12px; margin:0; text-align:center; }
.admin-order-progress li { position:relative; display:grid; justify-items:center; gap:8px; color:var(--clean-muted); font-size:.82rem; }
.admin-order-progress li + li::before { content:""; position:absolute; width:100%; height:2px; top:11px; right:50%; background:var(--clean-border); }
.admin-order-progress li span { z-index:1; width:24px; height:24px; border-radius:50%; border:2px solid var(--clean-border); background:var(--clean-card-dark); }
.admin-order-progress .done span,.admin-order-progress .current span { border-color:var(--clean-primary); }
.admin-order-progress .done span,.admin-order-progress .done::before,.admin-order-progress .current::before { background:var(--clean-primary); color:white; }
.admin-order-progress .current { color:var(--clean-text); font-weight:700; }
.admin-order-progress .current:nth-child(2) span { border-color:#fbbf24; }
.admin-order-facts { grid-template-columns:minmax(100px,38%) minmax(0,1fr); }
.admin-order-facts > * { padding:5px 0; border-bottom:1px solid var(--clean-border); overflow-wrap:anywhere; }
.admin-order-facts dd { text-align:left; }
.receipt-row + .receipt-row { margin-top:10px; }
.conversation-row .row-between { gap:6px; }
@media(max-width:600px) { .admin-order-progress li { font-size:.65rem; } .admin-order-page .card-body { padding:12px; } }

.receipt-row > div > svg { width:20px; height:20px; vertical-align:middle; }
.admin-order-page .receipt-row { gap:12px; margin-bottom:12px; }
.chat-context-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.chat-context-row .label { margin: 0; white-space: nowrap; }
.chat-context-row .select { min-height: 34px; max-width: 100%; flex: 1; font-size: .77rem; }
.customer-unified-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(270px, .75fr); gap: 16px; align-items: start; }
.unified-order-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; color: var(--clean-text); }
.unified-order-row:hover { text-decoration: none; }
.unified-order-row > div { display: grid; gap: 2px; min-width: 0; }
.unified-order-row strong { font-size: .82rem; }
@media (max-width: 1080px) { .customer-unified-layout { grid-template-columns: 1fr; } }
.msg-context { padding: 0 4px; color: #7f9bc0; font-size: .64rem; }
.support-thread .msg-context { padding: 0 2px; }

/* Products & Listings */
.products-top h1 { font-size:clamp(1.45rem, 2.3vw, 1.85rem); }
.products-top .btn-primary, .products-bulk .btn-primary { background:#087af5; box-shadow:none; }
.products-filters { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:20px 0; }
.products-filters .input { flex:2 1 265px; width:auto; }
.products-filters .select { flex:0 1 150px; width:auto; }
.products-bulk[hidden] { display:none; }
.products-bulk { display:flex; flex-wrap:wrap; gap:12px; align-items:center; background:#0b284a; border:1px solid #235584; border-radius:12px; padding:11px 15px; margin-bottom:14px; }
.products-bulk strong { padding-right:16px; border-right:1px solid #345473; font-size:.85rem; }
.products-table { min-width:930px; table-layout:auto; }
.products-table-card { background:#0b192e; }
.products-table thead { background:#0d1e35; }
.products-table .product-check { width:42px; text-align:center; }
.products-table input[type=checkbox] { width:17px; height:17px; accent-color:#087af5; vertical-align:middle; cursor:pointer; }
.products-table tbody tr.is-selected { background:#112e50; }
.products-table tbody tr.is-selected:hover { background:#17395f; }
.products-table .products-cell { min-width:215px; }
.products-table .products-cell .mono { font-family:inherit; }
.products-table .actions-col { width:80px; text-align:center; }
.products-table .product-menu-trigger { padding:4px 9px; letter-spacing:1px; }
.admin-product-logo img, .admin-product-logo svg { max-width:100%; width:26px; height:26px; object-fit:contain; }
.product-row-menu { width:min(300px,calc(100vw - 24px)); white-space:normal; text-align:left; }
.product-menu-items { display:grid; gap:9px; padding:14px 18px; }
.product-menu-items a { padding:5px 0; }
.product-menu-items form { padding:0; }
@media(max-width:620px) {
  .products-filters .input { flex-basis:100%; }
  .products-filters .select { flex:1 1 125px; min-width:0; }
  .products-bulk strong { flex-basis:100%; border:0; }
}
.products-filters .product-search { display:flex; align-items:center; position:relative; flex:2 1 265px; min-width:0; }
.product-search svg { width:18px; height:18px; position:absolute; left:13px; color:var(--clean-muted); pointer-events:none; }
.products-filters .product-search .input { width:100%; padding-left:39px; }
@media(max-width:620px) { .products-filters .product-search { flex-basis:100%; } }
