/* everloft — demo storefront ("the price moves" aesthetic, shared with PVSN landing/dashboard) */
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap");

:root {
  --paper:        #fdfcf9;   /* warm cream page */
  --paper-2:      #faf8f2;   /* card bg */
  --paper-3:      #f3f0e6;   /* sunken */
  --ink:          #111114;   /* near-black text */
  --ink-2:        #3f3f3a;   /* secondary text */
  --ink-3:        #6c6c66;   /* tertiary text */
  --line:         rgba(17,17,20,0.10);
  --line-soft:    rgba(17,17,20,0.06);
  --up:           #00b873;   /* phosphor green */
  --down:         #e51a52;   /* signal red */
  --accent-gold:  #d4af37;

  /* legacy aliases — older selectors below this block still reference these */
  --bg:           var(--paper);
  --fg:           var(--ink);
  --muted:        var(--ink-3);
  --border:       var(--line);
  --accent:       var(--ink);
  --accent-hover: #000;
  --success:      var(--up);
  --card-bg:      var(--paper-2);
  --surface:      var(--paper);
  --radius-sm:    4px;
  --radius:       6px;
  --radius-lg:    10px;
  --shadow:       0 0 0 1px var(--line-soft);
  --shadow-hover: 0 0 0 1px var(--line), 0 8px 16px -8px rgba(17,17,20,0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  font-size: 15px;
  font-feature-settings: 'cv11' 1, 'ss01' 1;
}

/* type ladder — Fraunces for editorial headlines, JetBrains Mono for prices */
h1, h2, h3, .display, .brand {
  font-family: 'Fraunces', 'PP Editorial New', ui-serif, Georgia, Cambria, serif;
  font-feature-settings: 'ss01' 1, 'ss02' 1, 'ss03' 1;
  font-optical-sizing: auto;
  letter-spacing: -0.02em;
}
.mono, .price, .cart-count, [data-tabular="true"], code {
  font-family: 'JetBrains Mono', 'Berkeley Mono', 'SF Mono', Menlo, Monaco, Consolas, monospace;
  font-feature-settings: 'tnum' 1, 'cv01' 1;
  letter-spacing: -0.01em;
}
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Header — hairline trading-floor strip */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 12px 24px;
  min-height: 58px;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 22px;
  font-weight: 500;
}
.brand .logo {
  font-size: 18px;
  color: var(--ink);
  transform: translateY(2px);
}
.site-header nav {
  display: flex;
  gap: 22px;
  flex: 1;
  justify-content: center;
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
}
.site-header nav a {
  font-size: 11px;
  color: var(--ink-3);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}
.site-header nav a.active {
  color: var(--ink);
}
.site-header nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--ink);
}
.site-header nav a:hover { color: var(--ink); text-decoration: none; }
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-family: 'Inter', system-ui, sans-serif;
}
.persona {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--ink-3);
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.persona label { font-weight: 500; }
.persona select {
  padding: 0 10px;
  height: 30px;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: var(--paper);
  font-family: 'Inter', system-ui, sans-serif;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  color: var(--ink);
  cursor: pointer;
}
.persona select:focus { outline: none; border-color: var(--ink); }
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 34px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 4px;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}
.cart-btn:hover { background: #000; text-decoration: none; }
.cart-count {
  background: rgba(245,245,240,0.18);
  padding: 1px 7px;
  border-radius: 3px;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

/* Hero — editorial headline on dot-grid paper */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(rgba(17,17,20,0.10) 1px, transparent 1px) 0 0 / 22px 22px,
    var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, var(--paper) 0%, transparent 30%, transparent 70%, var(--paper) 100%);
}
.hero-inner { position: relative; text-align: left; max-width: 880px; margin: 0 auto; padding: 0 24px; }
.hero h1 {
  font-size: clamp(38px, 6.4vw, 76px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: 20px;
}
.hero p {
  font-size: 15.5px;
  color: var(--ink-2);
  max-width: 560px;
  margin: 0 0 24px;
  line-height: 1.55;
}
.hero p a { border-bottom: 1px solid var(--ink); padding-bottom: 1px; }
.hero p a:hover { text-decoration: none; }
.pvsn-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border-radius: 3px;
}
.pvsn-status.error { color: var(--down); border-color: rgba(229,26,82,0.20); }
.pvsn-status .dot {
  width: 6px; height: 6px;
  background: var(--up);
  border-radius: 999px;
  position: relative;
}
.pvsn-status .dot::after {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 999px;
  border: 1px solid rgba(0,184,115,0.5);
  animation: pulse-ring 1.6s ease-out infinite;
}
.pvsn-status.error .dot { background: var(--down); }
.pvsn-status.error .dot::after { border-color: rgba(229,26,82,0.5); }
@keyframes pulse-ring {
  0%   { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Catalog header */
.catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 48px 0 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}
.catalog-header h2 {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.025em;
}
.filters {
  display: flex;
  gap: 8px;
}
.filters input, .filters select {
  padding: 0 12px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
  font-family: inherit;
  font-size: 12.5px;
  color: var(--ink);
  transition: border-color 0.12s;
}
.filters input { min-width: 220px; }
.filters input:focus, .filters select:focus {
  outline: none;
  border-color: var(--ink);
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  padding-bottom: 80px;
}
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.12s, transform 0.12s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--ink);
  transform: translateY(-1px);
}
.card .image {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(rgba(17,17,20,0.08) 1px, transparent 1px) 0 0 / 14px 14px,
    var(--paper-3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.card .image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.card:hover .image img { transform: scale(1.03); }
.card .emoji-fallback { font-size: 48px; }
.card .badge {
  position: absolute;
  top: 10px; right: 10px;
  background: var(--paper);
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.card .badge.badge-up {
  background: var(--down);
  border-color: var(--down);
  color: var(--paper);
}
.card .badge.badge-down {
  background: var(--up);
  border-color: var(--up);
  color: var(--paper);
}
.card .badge.pvsn-badge {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.card .body {
  padding: 14px 14px 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.card .cat {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.card .name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
  min-height: 36px;
  letter-spacing: -0.005em;
}
.card .price {
  margin-top: auto;
  padding-top: 10px;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.card .price .strike {
  color: var(--ink-3);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 6px;
  font-size: 12px;
}

/* "Updated Nm ago · top reason" — live dynamic-pricing foot on each card.
   Compact, quiet by default; tinted by direction so up/down is glanceable. */
.card .price-live {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  line-height: 1.3;
  min-height: 16px;
}
.card .price-live .pl-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: #94a3b8;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(148,163,184,0.15);
  animation: pl-pulse 2.4s ease-in-out infinite;
}
.card .price-live[data-dir="up"]   .pl-dot { background: var(--down); box-shadow: 0 0 0 2px rgba(229,26,82,0.18); }
.card .price-live[data-dir="down"] .pl-dot { background: var(--up);   box-shadow: 0 0 0 2px rgba(0,184,115,0.18); }
.card .price-live[data-dir="up"]   .pl-reason { color: var(--down); font-weight: 600; }
.card .price-live[data-dir="down"] .pl-reason { color: var(--up);   font-weight: 600; }
.card .price-live .pl-time   { white-space: nowrap; }
.card .price-live .pl-sep    { opacity: 0.5; }
.card .price-live .pl-reason {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
@keyframes pl-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.45; }
}

/* Skeleton */
.card.skeleton {
  pointer-events: none;
}
.card.skeleton .image, .card.skeleton::after {
  background: linear-gradient(90deg, #f0ede5 25%, #e8e3d5 50%, #f0ede5 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}
.card.skeleton::after {
  content: '';
  height: 86px;
  display: block;
}
@keyframes shimmer { 0% {background-position: 200% 0;} 100% {background-position: -200% 0;} }

/* Product page */
.product-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 24px 80px;
}
@media (max-width: 720px) {
  .product-page { grid-template-columns: 1fr; gap: 24px; }
}
.product-image {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #f5f2ec, #e8e2d5);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 120px;
}
.product-info h1 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 8px 0 4px;
}
.product-info .cat {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 500;
}
.product-info .price {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 500;
  margin: 16px 0 8px;
}
.product-info .stock {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  color: var(--success);
  font-weight: 500;
  margin-bottom: 20px;
}
.product-info .description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
  margin-bottom: 24px;
  font-family: 'Inter', system-ui, sans-serif;
}
.product-info .meta {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  color: var(--muted);
  padding-top: 20px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
.product-info .meta div { padding: 2px 0; }

/* Primary button — sharp ink fill, mono caps */
.primary, button.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  background: var(--ink);
  color: var(--paper);
  border: none;
  border-radius: 4px;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
  width: 100%;
  transition: background 0.12s;
}
.primary:hover { background: #000; }
.primary:active { transform: scale(0.99); }
.primary:disabled { opacity: 0.4; cursor: not-allowed; }

.secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 12px 22px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  cursor: pointer;
}
.secondary:hover { border-color: var(--ink); }

.qty-picker {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px;
  font-family: 'Inter', system-ui, sans-serif;
  width: fit-content;
  margin-bottom: 16px;
}
.qty-picker button {
  background: none;
  border: none;
  width: 36px; height: 36px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 16px;
}
.qty-picker button:hover { background: var(--bg); }
.qty-picker .qty { width: 36px; text-align: center; font-size: 14px; font-weight: 500; }

/* Cart */
.cart-page { padding: 40px 24px 80px; }
.cart-page h1 { font-size: 32px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 24px; }
.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item .thumb {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, #f5f2ec, #e8e2d5);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.cart-item .info { font-family: 'Inter', system-ui, sans-serif; }
.cart-item .info .name { font-size: 14px; font-weight: 500; }
.cart-item .info .detail { font-size: 12px; color: var(--muted); }
.cart-item .line-total { font-family: 'Inter', system-ui, sans-serif; font-weight: 500; }
.cart-item .remove {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  padding: 6px;
}
.cart-item .remove:hover { color: #dc2626; }
.cart-summary {
  max-width: 420px;
  margin-left: auto;
  margin-top: 32px;
  font-family: 'Inter', system-ui, sans-serif;
}
.cart-summary .line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}
.cart-summary .line.total {
  font-size: 17px;
  font-weight: 600;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: 8px;
}
.cart-summary button { margin-top: 20px; }
.cart-summary .sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
}

.empty-cart {
  text-align: center;
  padding: 64px 20px;
  color: var(--muted);
  font-family: 'Inter', system-ui, sans-serif;
}
.empty-cart a {
  color: var(--accent);
  text-decoration: underline;
  font-weight: 500;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-3);
  background: var(--paper);
}
.site-footer a { color: var(--fg); text-decoration: underline; }
.site-footer .sub { font-size: 11px; margin-top: 8px; }
.site-footer code {
  font-family: 'SF Mono', Consolas, monospace;
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(200%);
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  z-index: 200;
  opacity: 0;
  transition: transform 0.25s, opacity 0.25s;
  pointer-events: none;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.loading { padding: 64px; text-align: center; color: var(--muted); }

/* -----------------------------------------------------------------------
   PVSN feature integrations — insights, offers, cross-sell, HUD
----------------------------------------------------------------------- */

/* Insights banner */
.insights-banner {
  margin: 24px auto 0;
  max-width: 1180px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  padding: 22px 28px;
  background: linear-gradient(135deg, #eef4ff 0%, #f5eeff 100%);
  border-radius: var(--radius);
  border: 1px solid #dbeafe;
  font-family: 'Inter', system-ui, sans-serif;
  align-items: center;
}
.ib-left h3 {
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin-bottom: 6px;
}
.ib-chip {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #fff;
  color: #4338ca;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.ib-sub {
  font-size: 12px;
  color: var(--muted);
}
.ib-intervention {
  margin-top: 10px;
  padding: 8px 12px;
  background: rgba(16, 185, 129, 0.08);
  color: #065f46;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
}
.ib-best {
  text-decoration: none !important;
  background: #fff;
  padding: 14px 18px;
  border-radius: 14px;
  text-align: center;
  min-width: 180px;
  border: 1px solid rgba(79, 70, 229, 0.15);
  transition: transform 0.15s, box-shadow 0.15s;
  color: inherit;
}
.ib-best:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.15);
}
.ib-best-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6366f1;
  margin-bottom: 4px;
}
.ib-best-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.ib-best-was {
  font-size: 11px;
  color: var(--muted);
  margin: 2px 0 6px;
}
.ib-best-cta {
  font-size: 12px;
  font-weight: 600;
  color: #4338ca;
}

@media (max-width: 640px) {
  .insights-banner { grid-template-columns: 1fr; }
  .ib-best { margin-top: 8px; }
}

/* Card PVSN badge (offer on home grid) */
.badge.pvsn-badge {
  background: #4338ca;
  color: #fff;
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.35);
}
.card .price-now {
  color: #4338ca;
  font-weight: 700;
}
.card .price-was {
  color: var(--muted);
  text-decoration: line-through;
  font-weight: 400;
  margin-left: 4px;
  font-size: 12px;
}

/* Product detail PVSN offer card */
.pvsn-offer-card {
  background: linear-gradient(135deg, #eef4ff 0%, #f5eeff 100%);
  border: 1px solid rgba(79, 70, 229, 0.2);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 16px 0 20px;
  font-family: 'Inter', system-ui, sans-serif;
}
.offer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.pvsn-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #4338ca;
  text-transform: uppercase;
  background: #fff;
  padding: 3px 8px;
  border-radius: 999px;
}
.offer-discount {
  font-size: 14px;
  font-weight: 700;
  color: #059669;
  background: rgba(5, 150, 105, 0.12);
  padding: 3px 10px;
  border-radius: 999px;
}
.offer-surcharge {
  font-size: 14px;
  font-weight: 700;
  color: #b91c1c;
  background: rgba(220, 38, 38, 0.12);
  padding: 3px 10px;
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
}

/* UP variant: rose/amber gradient + adjusted accent colors */
.pvsn-offer-card--up {
  background: linear-gradient(135deg, #fff1f2 0%, #fff7ed 100%);
  border-color: rgba(220, 38, 38, 0.22);
}
.pvsn-offer-card--up .pvsn-tag { color: #b91c1c; }
.pvsn-offer-card--up .price-now-big { color: #b91c1c; }
.pvsn-offer-card--up .pricing-story {
  border-left-color: #e11d48;
}
.price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 10px;
}
.price-now-big {
  font-size: 30px;
  font-weight: 700;
  color: #4338ca;
  letter-spacing: -0.01em;
}
.price-was-big {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
}
.pricing-story {
  background: rgba(255, 255, 255, 0.6);
  border-left: 3px solid #6366f1;
  border-radius: 8px;
  padding: 10px 12px 10px 14px;
  margin: 12px 0;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: 'Inter', system-ui, sans-serif;
}
.ps-icon { font-size: 16px; line-height: 1.4; flex-shrink: 0; }
.ps-text {
  font-size: 13px;
  line-height: 1.55;
  color: #1f2937;
  font-weight: 500;
}

.offer-why {
  font-size: 12px;
  color: #4338ca;
  cursor: pointer;
}
.offer-why summary { font-weight: 600; }
.offer-why ul {
  margin-top: 8px;
  padding-left: 16px;
  color: #374151;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
  line-height: 1.55;
  list-style: disc;
}
.offer-why li { margin: 2px 0; }

.price.price-big { font-size: 28px; font-weight: 600; margin: 12px 0; }
.product-image.large img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.product-image img {
  border-radius: var(--radius-lg);
  max-width: 100%;
}

/* Product meta note */
.meta-note {
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(79, 70, 229, 0.06);
  color: #4338ca;
  border-radius: 8px;
  font-size: 11px;
  line-height: 1.5;
}

/* Cross-sell section */
.cross-sell-section {
  grid-column: 1 / -1;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.cross-sell-section h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.cross-sell-section .sub {
  color: var(--muted);
  font-size: 13px;
  font-family: 'Inter', system-ui, sans-serif;
  margin-bottom: 24px;
}
.cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.cs-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.15s, box-shadow 0.15s;
  display: block;
  color: inherit;
  text-decoration: none !important;
}
.cs-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.cs-img {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #f5f2ec, #e8e2d5);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; font-size: 32px;
}
.cs-img img { width: 100%; height: 100%; object-fit: cover; }
.cs-body { padding: 12px; font-family: 'Inter', system-ui, sans-serif; }
.cs-name { font-size: 13px; font-weight: 500; color: var(--fg); margin-bottom: 3px; line-height: 1.3; }
.cs-price { font-size: 13px; font-weight: 600; }
.cs-bought {
  font-size: 10px;
  color: #6366f1;
  margin-top: 4px;
  font-weight: 500;
}

.pvsn-inline {
  color: #4338ca;
  font-weight: 600;
}

/* HUD — small "ticker tape" terminal pinned bottom-right */
#pvsn-hud {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 340px;
  max-width: calc(100vw - 40px);
  background: #06060a;
  color: #cbcbc6;
  border: 1px solid rgba(245,245,240,0.10);
  border-radius: 6px;
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 11px;
  z-index: 500;
  overflow: hidden;
  transition: height 0.2s;
}
.hud-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  background: transparent;
  border-bottom: 1px solid rgba(245,245,240,0.08);
}
.hud-title {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  color: #00d68f;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.hud-title::before {
  content: '';
  width: 6px; height: 6px; border-radius: 999px;
  background: #00d68f;
  box-shadow: 0 0 0 2px rgba(0,214,143,0.25);
}
.hud-toggle {
  background: none;
  border: none;
  color: #6c6c66;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  padding: 0 4px;
}
.hud-toggle:hover { color: #f5f5f0; }
.hud-body {
  padding: 8px 12px;
  max-height: 260px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.hud-row {
  padding: 4px 0;
  border-bottom: 1px solid rgba(245,245,240,0.05);
  line-height: 1.5;
  color: #cbcbc6;
  word-break: break-all;
}
.hud-row:last-child { border-bottom: none; }
.hud-ts {
  color: #6c6c66;
  margin-right: 8px;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.hud-note {
  color: #9b9b94;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
}
#pvsn-hud.collapsed .hud-body { display: none; }

/* Cart item image */
.cart-item .thumb {
  overflow: hidden;
}
.cart-item .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Home: place insights-host correctly */
#insights-host:empty { display: none; }


/* -----------------------------------------------------------------------
   PVSN view nav
----------------------------------------------------------------------- */
.nav-pvsn {
  color: #4338ca !important;
  font-weight: 600;
}
.nav-pvsn:hover { color: #3730a3 !important; }
.nav-dash {
  color: #111827 !important;
  font-weight: 600;
  background: #fff;
  border: 1px solid #d1d5db;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
}
.nav-dash:hover { background: #f3f4f6; border-color: #9ca3af; }

/* -----------------------------------------------------------------------
   Dynamic pricing — factor chips + sparkline
----------------------------------------------------------------------- */
.factor-panel {
  margin: 14px 0 18px;
  padding: 14px 16px;
  background: #fafaf8;
  border: 1px solid #e8e2d5;
  border-radius: 14px;
  font-family: 'Inter', system-ui, sans-serif;
}
.fp-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6b7280;
  margin-bottom: 10px;
}
.factor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.factor-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--border);
}
.fc-icon { font-size: 13px; margin-right: 2px; }
.chip-up { color: #b45309; background: #fef3c7; border-color: #fde68a; }
.chip-down { color: #047857; background: #d1fae5; border-color: #a7f3d0; }
.chip-neutral { color: #4338ca; background: #eef2ff; border-color: #c7d2fe; }
.fp-meta { margin-top: 8px; font-size: 11px; color: var(--muted); }

.sparkline-panel {
  margin: 0 0 18px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #fff, #fafaf8);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-family: 'Inter', system-ui, sans-serif;
}
.sp-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}
.sp-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.sp-trend { font-size: 13px; font-weight: 700; color: var(--muted); }
.sp-trend.up { color: #b45309; }
.sp-trend.down { color: #047857; }
.sp-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}

/* -----------------------------------------------------------------------
   PVSN tab (/pvsn.html)
----------------------------------------------------------------------- */
.pvsn-tab-hero {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  padding: 40px 0 24px;
  align-items: start;
}
@media (max-width: 820px) { .pvsn-tab-hero { grid-template-columns: 1fr; } }
.pth-left { font-family: 'Inter', system-ui, sans-serif; }
.pth-chip {
  display: inline-block;
  padding: 4px 10px;
  background: #eef2ff;
  color: #4338ca;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.pth-left h1 {
  font-family: 'Fraunces', serif;
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.pth-email { color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.pth-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 14px;
}
.pth-stat-v {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.pth-stat-l {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}
.pth-box {
  background: linear-gradient(135deg, #eef4ff, #f5eeff);
  border-radius: 16px;
  padding: 20px 22px;
  border: 1px solid #dbeafe;
  font-family: 'Inter', system-ui, sans-serif;
}
.pth-box-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4338ca;
  margin-bottom: 10px;
}
.pth-box ul {
  list-style: disc;
  padding-left: 20px;
  font-size: 13px;
  color: #374151;
  line-height: 1.6;
}

.pvsn-section { padding: 28px 0; font-family: 'Inter', system-ui, sans-serif; }
.ps-head { margin-bottom: 18px; }
.ps-head h2 {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}
.ps-head p { color: var(--muted); font-size: 13px; }

/* Offer grid on PVSN tab */
.pvsn-offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.po-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.15s, box-shadow 0.15s;
  text-decoration: none !important;
  color: inherit;
}
.po-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.po-img {
  aspect-ratio: 5 / 4;
  background: linear-gradient(135deg, #f5f2ec, #e8e2d5);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; font-size: 32px;
}
.po-img img { width: 100%; height: 100%; object-fit: cover; }
.po-body { padding: 12px 14px; }
.po-cat {
  font-size: 10px; font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.po-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  margin: 3px 0 8px;
  line-height: 1.3;
}
.po-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 6px;
}
.po-dyn { font-size: 16px; font-weight: 700; color: #4338ca; }
.po-base { font-size: 12px; color: var(--muted); text-decoration: line-through; }
.po-disc {
  font-size: 11px;
  font-weight: 600;
  color: #059669;
  background: rgba(5,150,105,0.1);
  padding: 1px 7px;
  border-radius: 999px;
  margin-left: auto;
}
.po-why {
  margin-top: 6px;
  font-size: 11px;
  color: #4338ca;
}
.po-why summary { font-weight: 500; cursor: pointer; }
.po-why ul { padding-left: 16px; margin-top: 4px; color: #374151; list-style: disc; }
.po-why li { margin: 1px 0; line-height: 1.5; font-size: 11px; }

/* Recommendation grid */
.pvsn-rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.pr-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  align-items: stretch;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.15s;
}
.pr-card:hover { transform: translateY(-1px); }
.pr-img {
  flex-basis: 80px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f5f2ec, #e8e2d5);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  font-size: 24px;
}
.pr-img img { width: 100%; height: 100%; object-fit: cover; }
.pr-body { flex: 1; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; }
.pr-name { font-size: 13px; font-weight: 500; margin-bottom: 3px; line-height: 1.25; }
.pr-meta {
  display: flex;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  align-items: center;
}
.pr-reason {
  background: #eef2ff;
  color: #4338ca;
  padding: 1px 6px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: capitalize;
  font-size: 10px;
}

/* Live event feed */
.pvsn-event-feed {
  background: #111827;
  color: #e5e7eb;
  border-radius: 14px;
  padding: 16px 18px;
  font-family: 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  max-height: 320px;
  overflow-y: auto;
}
.pef-row {
  padding: 4px 0;
  border-bottom: 1px solid #1f2937;
  line-height: 1.5;
}
.pef-row:last-child { border-bottom: none; }
.pef-row .hud-ts { color: #60a5fa; margin-right: 8px; font-size: 11px; }
.pef-note {
  color: #9ca3af;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 12px;
}
.pef-note a { color: #60a5fa; }

/* Factor explainer */
.pvsn-factor-explainer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}
.pfe-item {
  background: #fff;
  padding: 18px 20px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-family: 'Inter', system-ui, sans-serif;
}
.pfe-icon { font-size: 28px; display: block; margin-bottom: 8px; }
.pfe-item h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--fg);
  font-family: inherit;
}
.pfe-item p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* Factor leaderboard — which factors are driving prices the most */
.factor-leaderboard {
  background: #fff;
  padding: 20px 22px;
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-family: 'Inter', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fl-row {
  display: grid;
  grid-template-columns: 1fr 160px 40px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  padding: 4px 0;
}
.fl-label {
  color: var(--fg);
  font-weight: 500;
  text-transform: capitalize;
}
.fl-bar-wrap {
  background: #f1f5f9;
  height: 8px;
  border-radius: 99px;
  overflow: hidden;
}
.fl-bar {
  height: 100%;
  background: linear-gradient(90deg, #6366f1 0%, #3b82f6 100%);
  border-radius: 99px;
  transition: width 350ms ease;
}
.fl-count {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
  .fl-row {
    grid-template-columns: 1fr 80px 34px;
    gap: 8px;
    font-size: 12px;
  }
}

/* Empty state */
.empty-state {
  background: #fafaf8;
  border: 1px dashed var(--border);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  color: var(--muted);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
}
.empty-state a { color: var(--accent); font-weight: 500; text-decoration: underline; }


/* -----------------------------------------------------------------------
   Simulation knobs
----------------------------------------------------------------------- */
.sim-panel {
  margin: 16px 0 18px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #fff, #f5f2ec);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-family: 'Inter', system-ui, sans-serif;
}
.sim-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 10px;
}
.sim-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #4338ca;
}
.sim-hint { font-size: 11px; color: var(--muted); }

.sim-row {
  display: grid;
  grid-template-columns: 100px 1fr 80px;
  align-items: center;
  gap: 10px;
  margin: 8px 0;
  font-size: 12px;
}
.sim-row label { color: var(--muted); font-weight: 500; }
.sim-row input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: #e5e7eb;
  border-radius: 999px;
  outline: none;
}
.sim-row input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px; height: 16px;
  background: #4338ca;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.sim-row input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px;
  background: #4338ca;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid #fff;
}
.sim-val {
  text-align: right;
  font-weight: 600;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.sim-result {
  margin-top: 12px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.sim-result-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.sim-result-price {
  font-size: 22px;
  font-weight: 700;
  color: #4338ca;
  margin-top: 2px;
}
.sim-factors {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 360px;
  justify-content: flex-end;
}
.sim-no-factors {
  font-size: 11px;
  color: var(--muted);
  font-style: italic;
}

/* -----------------------------------------------------------------------
   Subscription upsell
----------------------------------------------------------------------- */
.subscription-upsell {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  border: 1px solid #a7f3d0;
  border-radius: 14px;
  margin-bottom: 18px;
  font-family: 'Inter', system-ui, sans-serif;
}
.sub-icon { font-size: 28px; flex-shrink: 0; }
.sub-body { flex: 1; min-width: 0; }
.sub-head {
  font-size: 14px;
  font-weight: 600;
  color: #047857;
  margin-bottom: 2px;
}
.sub-sub {
  font-size: 12px;
  color: #065f46;
  opacity: 0.85;
  line-height: 1.4;
}
.sub-btn {
  flex-shrink: 0;
  padding: 8px 16px;
  background: #059669;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.sub-btn:hover { background: #047857; }

/* -----------------------------------------------------------------------
   Loyalty points / rewards
----------------------------------------------------------------------- */
.loyalty-banner {
  margin: 18px 0 10px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  border: 1px solid #fed7aa;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Inter', system-ui, sans-serif;
}
.loy-icon { font-size: 26px; }
.loy-body { flex: 1; }
.loy-head {
  font-size: 14px;
  font-weight: 600;
  color: #9a3412;
}
.loy-sub {
  font-size: 12px;
  color: #c2410c;
  margin-top: 2px;
}
.loy-progress-wrap {
  background: rgba(255,255,255,0.5);
  border-radius: 999px;
  height: 6px;
  margin-top: 8px;
  overflow: hidden;
}
.loy-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  border-radius: 999px;
  transition: width 0.35s;
}


/* -----------------------------------------------------------------------
   PVSN tab: subscription grid
----------------------------------------------------------------------- */
.pvsn-sub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}
.sub-card {
  display: block;
  background: linear-gradient(135deg, #fff, #ecfdf5);
  border: 1px solid #a7f3d0;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.15s;
}
.sub-card:hover { transform: translateY(-2px); }
.sub-card-img {
  aspect-ratio: 3 / 2;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 28px;
}
.sub-card-img img { width: 100%; height: 100%; object-fit: cover; }
.sub-card-body { padding: 10px 12px; font-family: 'Inter', system-ui, sans-serif; }
.sub-card-name {
  font-size: 12px;
  font-weight: 500;
  color: var(--fg);
  margin-bottom: 4px;
  line-height: 1.3;
  min-height: 32px;
}
.sub-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.sub-card-cycle {
  color: #047857;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.sub-card-price { font-weight: 700; color: #059669; }

/* -----------------------------------------------------------------------
   PVSN tab: persona compare
----------------------------------------------------------------------- */
.persona-compare-controls {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  font-family: 'Inter', system-ui, sans-serif;
}
.persona-compare-controls select {
  flex: 1;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 13px;
}
.pc-head {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  font-family: 'Inter', system-ui, sans-serif;
}
.pc-product {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pc-product img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: linear-gradient(135deg, #f5f2ec, #e8e2d5);
}
.pc-name { font-size: 15px; font-weight: 600; color: var(--fg); }
.pc-base { font-size: 12px; color: var(--muted); margin-top: 2px; }
.pc-range {
  text-align: right;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}
.pc-range-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.pc-range-value { font-size: 18px; font-weight: 700; color: #4338ca; margin: 2px 0; }
.pc-range-delta { font-size: 11px; color: var(--muted); }

.pc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.pc-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: 'Inter', system-ui, sans-serif;
}
.pc-card.pc-has-offer {
  border-color: #c7d2fe;
  background: linear-gradient(135deg, #fff, #eef2ff);
}
.pc-chip {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4338ca;
  margin-bottom: 6px;
}
.pc-price { font-size: 22px; font-weight: 700; color: var(--fg); letter-spacing: -0.01em; }
.pc-discount {
  font-size: 11px;
  font-weight: 600;
  color: #059669;
  margin-top: 2px;
}
.pc-discount.pc-none { color: var(--muted); font-weight: 500; }
.pc-customer {
  font-size: 11px;
  color: var(--muted);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #f3f4f6;
}
.pc-reason { font-size: 10px; color: #6b7280; margin-top: 2px; line-height: 1.4; }


/* -----------------------------------------------------------------------
   Mobile responsive fixes
----------------------------------------------------------------------- */
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }

  /* Header: stack + wrap, reduce sizes */
  .header-inner {
    padding: 10px 16px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .brand { font-size: 17px; }
  .brand .logo { font-size: 18px; }
  .site-header nav {
    order: 3;
    flex-basis: 100%;
    gap: 16px;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .site-header nav::-webkit-scrollbar { display: none; }
  .site-header nav a { white-space: nowrap; font-size: 12px; }
  .header-actions { gap: 8px; flex-wrap: nowrap; }
  .persona { flex-direction: column; gap: 2px; align-items: flex-end; }
  .persona label { font-size: 10px; }
  .persona select {
    font-size: 11px;
    padding: 4px 8px;
    max-width: 150px;
    text-overflow: ellipsis;
  }
  .cart-btn { padding: 6px 12px; font-size: 12px; }

  /* Hero */
  .hero { padding: 36px 0 28px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 14px; }

  /* Insights banner */
  .insights-banner {
    grid-template-columns: 1fr;
    padding: 16px 18px;
    gap: 14px;
    margin-top: 16px;
  }
  .ib-left h3 { font-size: 15px; }
  .ib-sub { font-size: 11px; }
  .ib-best { min-width: 0; padding: 12px 14px; }
  .ib-best-price { font-size: 20px; }

  /* Catalog header */
  .catalog-header { padding: 28px 0 16px; flex-direction: column; align-items: flex-start; }
  .catalog-header h2 { font-size: 22px; }
  .filters { flex-direction: column; width: 100%; gap: 8px; }
  .filters input, .filters select { width: 100%; min-width: 0; }

  /* Grid */
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card .body { padding: 10px 12px; }
  .card .name { font-size: 13px; min-height: 34px; }
  .card .price { font-size: 13px; padding-top: 6px; }
  .card .badge { padding: 3px 7px; font-size: 10px; top: 6px; right: 6px; }

  /* Product detail */
  .product-page { padding: 24px 16px 56px; gap: 20px; }
  .product-info h1 { font-size: 26px; }
  .product-info .description { font-size: 13px; }
  .pvsn-offer-card { padding: 14px; margin: 12px 0 16px; }
  .price-now-big { font-size: 24px; }
  .factor-panel, .sim-panel, .sparkline-panel { padding: 12px 14px; }
  .sim-row { grid-template-columns: 70px 1fr 60px; gap: 8px; font-size: 11px; }
  .subscription-upsell { flex-direction: column; align-items: flex-start; padding: 14px; }
  .sub-btn { align-self: stretch; text-align: center; }

  /* Cross-sell */
  .cross-sell-section { margin-top: 40px; padding-top: 28px; }
  .cs-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cs-body { padding: 8px 10px; }

  /* Cart */
  .cart-page { padding: 24px 16px 56px; }
  .cart-page h1 { font-size: 24px; }
  .cart-item {
    grid-template-columns: 56px 1fr auto;
    gap: 10px;
    padding: 12px 0;
  }
  .cart-item .thumb { width: 56px; height: 56px; }
  .cart-item .remove { grid-column: 3; }
  .cart-item .line-total { grid-column: 2 / 4; grid-row: 2; margin-top: 4px; font-size: 13px; }
  .cart-summary { margin-top: 20px; }

  /* PVSN tab */
  .pvsn-tab-hero { padding: 24px 0 16px; gap: 18px; }
  .pth-left h1 { font-size: 28px; }
  .pth-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pth-stat-v { font-size: 20px; }
  .pth-box { padding: 14px 16px; }
  .pvsn-section { padding: 20px 0; }
  .ps-head h2 { font-size: 18px; }
  .ps-head p { font-size: 12px; }
  .pvsn-offer-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pvsn-rec-grid { grid-template-columns: 1fr; }
  .pvsn-sub-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pc-head { flex-direction: column; padding: 12px 14px; }
  .pc-range { border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 10px; text-align: left; width: 100%; }
  .pc-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .pc-card { padding: 10px 12px; }
  .pc-price { font-size: 18px; }
  .persona-compare-controls { flex-direction: column; }
  .persona-compare-controls select { width: 100%; }

  /* HUD */
  #pvsn-hud {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-width: 320px;
    font-size: 10px;
  }
  #pvsn-hud .hud-body { max-height: 180px; }

  /* Footer */
  .site-footer { padding: 28px 0; font-size: 12px; }
}

/* Ultra-narrow phones */
@media (max-width: 380px) {
  .grid { grid-template-columns: 1fr; }
  .pth-stats { grid-template-columns: 1fr 1fr; }
}

/* Focus-visible rings (a11y) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #4338ca;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .pvsn-status .dot { animation: none; }
}


/* -----------------------------------------------------------------------
   Skip link (a11y)
----------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  padding: 8px 16px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  z-index: 1000;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* -----------------------------------------------------------------------
   Tour banner
----------------------------------------------------------------------- */
.tour-banner {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 300;
  max-width: 640px;
  width: calc(100vw - 24px);
  background: var(--paper-2);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px -16px rgba(17,17,20,0.20);
  border-radius: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  animation: tourIn 0.4s ease-out;
}
@keyframes tourIn {
  from { opacity: 0; transform: translate(-50%, -20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.tour-banner.tour-hidden {
  animation: tourOut 0.3s ease-in forwards;
}
@keyframes tourOut {
  to { opacity: 0; transform: translate(-50%, -20px); }
}
.tour-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
}
.tour-icon { font-size: 28px; }
.tour-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 2px;
}
.tour-sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.tour-sub strong {
  color: var(--ink);
  font-weight: 600;
}
.tour-actions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: stretch;
}
.tour-btn {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 8px 14px;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  text-decoration: none !important;
}
.tour-primary {
  background: var(--ink);
  color: var(--paper);
  transition: background 0.15s;
}
.tour-primary:hover { background: #000; }
.tour-secondary {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  font-family: inherit;
  transition: border-color 0.15s, color 0.15s;
}
.tour-secondary:hover { border-color: var(--fg); color: var(--fg); }

@media (max-width: 640px) {
  .tour-content { grid-template-columns: auto 1fr; padding: 12px 14px; gap: 10px; }
  .tour-icon { font-size: 22px; grid-row: 1; }
  .tour-body { grid-row: 1; }
  .tour-actions { grid-column: 1 / -1; grid-row: 2; flex-direction: row; }
  .tour-btn { flex: 1; }
}


/* -----------------------------------------------------------------------
   Predictions grid
----------------------------------------------------------------------- */
.predictions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.pred-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none !important;
  color: inherit;
  transition: transform 0.15s;
  border-left: 3px solid transparent;
}
.pred-card:hover { transform: translateY(-1px); }
.pred-soon { border-left-color: #dc2626; }
.pred-within-month { border-left-color: #f59e0b; }
.pred-later { border-left-color: #10b981; }
.pred-img {
  flex-basis: 70px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #f5f2ec, #e8e2d5);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  font-size: 24px;
}
.pred-img img { width: 100%; height: 100%; object-fit: cover; }
.pred-body { flex: 1; padding: 10px 12px; display: flex; flex-direction: column; justify-content: center; font-family: 'Inter', system-ui, sans-serif; }
.pred-name { font-size: 13px; font-weight: 500; line-height: 1.3; margin-bottom: 4px; }
.pred-meta { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.pred-days {
  font-weight: 700;
  color: var(--fg);
}
.pred-soon .pred-days { color: #dc2626; }
.pred-within-month .pred-days { color: #d97706; }
.pred-later .pred-days { color: #059669; }
.pred-conf {
  color: var(--muted);
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 500;
}


/* ======================================================================== */
/* 3-mode view switch + built-in PVSN engine view                           */
/* ======================================================================== */

/* Hero kicker (coffee brand line) */
.hero-kicker {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

/* --- Segmented mode bar --- */
.viewmode-bar {
  position: sticky;
  top: 58px;
  z-index: 90;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line-soft);
}
.viewmode-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 24px;
  flex-wrap: wrap;
}
.vm-seg {
  display: inline-flex;
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.vm-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .14s ease, color .14s ease;
}
.vm-btn .vm-ic { font-size: 13px; }
.vm-btn:hover { color: var(--ink); }
.vm-btn.active {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 2px rgba(0,0,0,0.18);
}
.vm-hint {
  font-size: 12.5px;
  color: var(--ink-3);
  flex: 1;
  min-width: 220px;
}

/* --- View shell layout --- */
.view-shell { width: 100%; }
.view-shell[data-mode="customer"] .engine-pane { display: none; }

/* split: two panes side by side, each independently scrollable */
.view-shell[data-mode="split"] {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 0;
  align-items: start;
}
.view-shell[data-mode="split"] .store-pane {
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  border-right: 1px solid var(--line);
  padding-bottom: 40px;
  scroll-behavior: smooth;
}
.view-shell[data-mode="split"] .engine-pane {
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
/* split view: tighten the product grid so two-pane fits nicely */
.view-shell[data-mode="split"] .grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* engine: hide the storefront pane, engine full width */
.view-shell[data-mode="engine"] .store-pane { display: none; }
.view-shell[data-mode="engine"] .engine-pane { display: block; }
.view-shell[data-mode="engine"] .engine-inner { max-width: 1180px; margin: 0 auto; }

/* --- Engine pane --- */
.engine-pane {
  background:
    radial-gradient(1200px 400px at 80% -10%, rgba(0,184,115,0.05), transparent 60%),
    var(--paper);
}
.engine-inner { padding: 22px 24px 48px; }

.eng-head { margin-bottom: 16px; }
.eng-title-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap; margin-bottom: 8px;
}
.eng-live {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--up);
}
.eng-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--up); box-shadow: 0 0 0 0 rgba(0,184,115,0.5);
  animation: engPulse 2s infinite;
}
@keyframes engPulse {
  0% { box-shadow: 0 0 0 0 rgba(0,184,115,0.45); }
  70% { box-shadow: 0 0 0 7px rgba(0,184,115,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,184,115,0); }
}
.eng-lens {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 11px; color: var(--ink-3);
}
.eng-lens strong { color: var(--ink); }
.eng-lens em {
  font-style: normal; font-size: 9.5px; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--ink-2);
  background: var(--paper-3); border: 1px solid var(--line);
  border-radius: 999px; padding: 1px 7px; margin-left: 4px;
}
.eng-h2 { font-size: 26px; line-height: 1.1; margin-bottom: 4px; }
.eng-sub { color: var(--ink-3); font-size: 13px; max-width: 60ch; margin-bottom: 14px; }

.eng-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.eng-stat {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
  text-align: center;
}
.es-v {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
}
.es-l { font-size: 9.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }
.eng-stat-up .es-v { color: var(--up); }
.eng-stat-down .es-v { color: var(--down); }

.eng-mixbar {
  display: flex; height: 6px; border-radius: 999px; overflow: hidden;
  background: var(--paper-3); margin-bottom: 18px;
}
.emx-up { background: var(--up); }
.emx-down { background: var(--down); }
.emx-flat { background: var(--ink-3); opacity: 0.4; }

/* board rows */
.eng-board { display: flex; flex-direction: column; gap: 8px; }
.eng-row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 14px;
  cursor: pointer;
  transition: box-shadow .14s ease, transform .08s ease;
}
.eng-row:hover { box-shadow: var(--shadow-hover); transform: translateY(-1px); }
.eng-row.eng-up { border-left-color: var(--down); }     /* price up = red (costs more) */
.eng-row.eng-down { border-left-color: var(--up); }      /* price down = green (saves) */
.eng-row.eng-flat { border-left-color: var(--ink-3); }
.er-emoji {
  width: 44px; height: 44px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; background: var(--paper-3); border: 1px solid var(--line-soft);
}
.er-main { min-width: 0; }
.er-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.er-name { font-weight: 600; font-size: 14px; }
.er-cat {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
.er-signals { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.esig {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 10.5px; font-weight: 500;
  padding: 2px 7px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-3);
  color: var(--ink-2);
}
.esig-ic { font-size: 11px; }
.esig-up { color: var(--down); border-color: rgba(229,26,82,0.3); background: rgba(229,26,82,0.06); }
.esig-down { color: var(--up); border-color: rgba(0,184,115,0.3); background: rgba(0,184,115,0.07); }
.esig-guard { color: var(--ink-3); }
.er-price { text-align: right; min-width: 92px; }
.er-now {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em;
}
.er-base {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 10px; color: var(--ink-3); text-decoration: line-through; opacity: 0.8;
}
.er-delta {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 11px; font-weight: 600; margin-top: 2px;
}
.er-delta.er-up { color: var(--down); }
.er-delta.er-down { color: var(--up); }
.er-delta.er-flat { color: var(--ink-3); }
.er-conf { font-size: 9px; color: var(--ink-3); margin-top: 1px; letter-spacing: 0.04em; }

/* live feed */
.eng-feed-card {
  margin-top: 20px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.eng-feed-head {
  display: flex; align-items: center; gap: 7px;
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--ink-2);
  padding: 10px 14px; border-bottom: 1px solid var(--line-soft);
}
.eng-feed { padding: 8px 14px 12px; max-height: 220px; overflow-y: auto; }
.ef-row {
  display: flex; gap: 10px; align-items: baseline;
  padding: 4px 0; font-size: 12.5px; border-bottom: 1px solid var(--line-soft);
}
.ef-row:last-child { border-bottom: 0; }
.ef-note { color: var(--ink-3); font-style: italic; }
.ef-ts {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 10px; color: var(--ink-3); min-width: 56px;
}
.ef-purchase .ef-body { color: var(--up); }
.ef-add_to_cart .ef-body { color: var(--ink); }

.eng-foot {
  margin-top: 18px; font-size: 11.5px; color: var(--ink-3);
  line-height: 1.5; border-top: 1px solid var(--line-soft); padding-top: 12px;
}

/* --- responsive: split collapses to stacked on narrow screens --- */
@media (max-width: 900px) {
  .view-shell[data-mode="split"] { grid-template-columns: 1fr; }
  .view-shell[data-mode="split"] .store-pane {
    max-height: none; overflow: visible; border-right: 0; border-bottom: 1px solid var(--line);
  }
  .view-shell[data-mode="split"] .engine-pane {
    position: static; max-height: none;
  }
  .view-shell[data-mode="split"] .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eng-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .eng-stats { grid-template-columns: repeat(2, 1fr); }
  .eng-row { grid-template-columns: 38px 1fr; }
  .er-price { grid-column: 2; text-align: left; margin-top: 6px; }
}
.er-persona {
  font-family: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  font-size: 10.5px; font-weight: 600; color: #4338ca; margin-top: 2px;
}
.er-persona-inline { color: #4338ca; font-weight: 700; }
