/* ==========================================================================
   Venture Vise — Staging Apple-Inspired Corporate Design System
   Typography: Manrope (Headings) + Inter (Body)
   Palette: #10294F | #245B9E | #55A9E8 | #FFFFFF | #F4F8FC | #111827 | #64748B
   ========================================================================== */

:root {
  --navy: #10294f;
  --blue: #245b9e;
  --accent-blue: #55a9e8;

  --bg: #ffffff;
  --bg-alt: #f4f8fc;
  --surface: #ffffff;
  --surface-muted: #eaf2fa;
  --border: #dce6f2;
  --border-strong: #c5d6ea;

  --text: #111827;
  --text-secondary: #64748b;
  --text-muted: #64748b;

  --accent: #10294f;
  --accent-hover: #245b9e;
  --accent-soft: #eef5fc;
  --accent-sky: #245b9e;
  --accent-sky-soft: #eaf4fd;
  --whatsapp: #16a34a;
  --whatsapp-hover: #15803d;
  --status-green: #16a34a;

  --font-display: "Manrope", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 6px rgba(16, 41, 79, 0.04);
  --shadow-md: 0 12px 32px rgba(16, 41, 79, 0.08);
  --shadow-lg: 0 24px 56px rgba(16, 41, 79, 0.14);

  --max-width: 1120px;
}

@view-transition {
  navigation: auto;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  animation: pageEnter 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

h1,
h2,
h3,
h4,
p,
dl,
dd,
ul {
  margin: 0;
}

h1,
h2,
h3,
h4,
.display-headline,
.display-subheadline,
.store-price-main,
.admin-stat-card strong {
  font-family: var(--font-display);
}

ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

[hidden] {
  display: none !important;
}

.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;
}

:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #ffffff;
  padding: 0.625rem 1rem;
  z-index: 140;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* Animations */
@keyframes pageEnter {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes orbDrift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(18px, -14px, 0) scale(1.06); }
}

@keyframes pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.45); }
  70% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

@keyframes dashFlow {
  to { stroke-dashoffset: -24; }
}

@keyframes barPulse {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.72); }
}

.flow-line {
  animation: dashFlow 1.8s linear infinite;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 120;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 50%, var(--accent-blue) 100%);
  transform-origin: left center;
  transform: scaleX(0);
  pointer-events: none;
}

.hero-enter {
  animation: heroRise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-enter-1 { animation-delay: 0.04s; }
.hero-enter-2 { animation-delay: 0.12s; }
.hero-enter-3 { animation-delay: 0.2s; }
.hero-enter-4 { animation-delay: 0.28s; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale {
  transform: translateY(24px) scale(0.97);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.stagger-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.stagger-grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.stagger-grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.stagger-grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.stagger-grid .reveal:nth-child(6) { transition-delay: 0.3s; }

/* Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 24px rgba(16, 41, 79, 0.07);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem;
  color: var(--navy);
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-size: 0.91rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  position: relative;
  transition: color 0.18s ease;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--accent-blue));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--navy);
}

.site-nav a:not(.nav-cta):hover::after,
.site-nav a:not(.nav-cta).active::after {
  transform: scaleX(1);
}

.site-nav a.nav-cta {
  padding: 0.54rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(16, 41, 79, 0.2);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.site-nav a.nav-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  color: #ffffff;
}

/* Sticky Product Sub-Nav */
.product-subnav {
  position: sticky;
  top: 72px;
  z-index: 50;
  background: rgba(16, 41, 79, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.subnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  gap: 1rem;
}

.subnav-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.subnav-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent-blue);
}

.subnav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: #dbeafe;
}

.subnav-links a:hover {
  color: #ffffff;
}

.subnav-cta {
  padding: 0.34rem 0.85rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Homepage Hero + 2 Showcase Boxes */
.home-hero {
  position: relative;
  overflow: clip;
  padding-block: 0 4.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8fc 52%, #e9f3fd 100%);
  background-size: 160% 160%;
  animation: gradientShift 16s ease infinite;
  border-bottom: 1px solid var(--border);
}

.home-hero-container {
  padding-top: 3.35rem;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(16, 41, 79, 0.08) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 85%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: orbDrift 12s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  top: -130px;
  right: 5%;
  background: rgba(85, 169, 232, 0.18);
}

.hero-orb-2 {
  width: 340px;
  height: 340px;
  bottom: -110px;
  left: 4%;
  background: rgba(36, 91, 158, 0.11);
  animation-delay: -5s;
}

.home-hero-split {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 2.85rem;
}

.home-hero-head {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 620px;
}

.home-hero-visual {
  display: flex;
  justify-content: center;
}

.toon-hero-card {
  width: min(440px, 100%);
  border-radius: 26px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(16, 41, 79, 0.08);
  box-shadow: 0 22px 48px rgba(16, 41, 79, 0.11), 0 4px 14px rgba(36, 91, 158, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.toon-hero-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 58px rgba(16, 41, 79, 0.14), 0 8px 20px rgba(36, 91, 158, 0.12);
}

.toon-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.toon-about-frame {
  margin-top: 1.5rem;
  max-width: 440px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.toon-support-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.toon-support-avatar,
.toon-cta-thumb {
  border-radius: 16px;
  object-fit: cover;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.dealer-cta-lead {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.store-trust-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.95rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.25rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status-green);
  animation: pulseRing 2.2s infinite;
}

.home-hero-head h1 {
  font-size: clamp(2.25rem, 4.6vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin-bottom: 1.1rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 52%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home-hero-lead {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.68;
  max-width: 54ch;
  margin-bottom: 1.85rem;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.78rem 1.45rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #ffffff;
  border: 1px solid var(--navy);
  box-shadow: 0 6px 16px rgba(16, 41, 79, 0.2);
}

.btn-primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 24px rgba(36, 91, 158, 0.28);
}

.btn-primary-hero {
  background: #ffffff;
  color: var(--navy);
  border: 1px solid #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.btn-primary-hero:hover { background: #eaf4fd; }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #ffffff;
  border: 1px solid var(--whatsapp);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.26);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  box-shadow: 0 10px 24px rgba(22, 163, 74, 0.32);
}

.btn-secondary {
  background: var(--surface);
  color: var(--navy);
  border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  border-color: var(--blue);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.btn-glass:hover { background: rgba(255, 255, 255, 0.2); }

.btn-full { width: 100%; }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.84rem; }

/* Portal Showcase Cards */
.portal-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.portal-card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.portal-card:hover { transform: translateY(-5px); }

.portal-card-tally {
  background: linear-gradient(155deg, #0b1d39 0%, var(--navy) 48%, #1d4a84 100%);
  border: 1px solid #29568f;
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.portal-card-tally:hover {
  box-shadow: 0 28px 62px rgba(16, 41, 79, 0.3);
}

.portal-card-busy {
  background: linear-gradient(155deg, var(--bg-alt) 0%, #ffffff 65%, #e6f2fc 100%);
  border: 1px solid #c6dcf2;
  color: var(--text);
  box-shadow: var(--shadow-md);
}

.portal-card-busy:hover {
  border-color: var(--accent-blue);
  box-shadow: 0 24px 52px rgba(36, 91, 158, 0.16);
}

.portal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.portal-partner-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

.portal-card-tally .portal-partner-tag {
  background: rgba(85, 169, 232, 0.18);
  color: #bae6fd;
  border: 1px solid rgba(85, 169, 232, 0.35);
}

.portal-card-busy .portal-partner-tag {
  background: var(--accent-sky-soft);
  color: var(--blue);
  border: 1px solid #c6e0f7;
}

.portal-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.portal-card-tally .portal-arrow { background: rgba(255, 255, 255, 0.12); color: #ffffff; }
.portal-card-busy .portal-arrow { background: var(--accent-sky-soft); color: var(--blue); }
.portal-card:hover .portal-arrow { transform: translateX(4px); }

.portal-brand-row {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.portal-emblem-card {
  width: 56px;
  height: 56px;
  border-radius: 13px;
  background: #ffffff;
  padding: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

.portal-emblem-card-light {
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(36, 91, 158, 0.1);
}

.portal-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.portal-brand-row h2 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.portal-tagline {
  font-size: 0.92rem;
  opacity: 0.84;
  margin-top: 0.2rem;
}

.portal-svg { width: 100%; height: auto; display: block; }

.portal-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.portal-chips span {
  font-size: 0.77rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.portal-chips-light span {
  background: #ffffff;
  color: var(--blue);
  border: 1px solid #cde1f5;
}

.portal-cta-bar {
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  font-weight: 600;
}

.portal-cta-bar-light { border-top-color: var(--border); }

.portal-cta-btn {
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.portal-cta-btn-sky {
  background: linear-gradient(135deg, var(--blue) 0%, var(--accent-blue) 100%);
  color: #ffffff;
}

/* Highlights Strip */
.highlights {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.highlight-item dt {
  display: flex;
  align-items: center;
  gap: 0.38rem;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.22rem;
}

.highlight-item dt svg { color: var(--blue); flex-shrink: 0; }
.highlight-item dd { font-size: 0.95rem; font-weight: 600; color: var(--text); }

/* Product Pages Hero & Console */
.showcase-hero {
  position: relative;
  overflow: hidden;
  padding-block: 4rem 4.5rem;
  color: #ffffff;
}

.showcase-hero-tally { background: linear-gradient(180deg, #081831 0%, var(--navy) 65%, #19427c 100%); }
.showcase-hero-busy { background: linear-gradient(180deg, #091d38 0%, #123666 65%, var(--blue) 100%); }

.showcase-hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 780px;
  height: 420px;
  background: radial-gradient(circle, rgba(85, 169, 232, 0.28), transparent 70%);
  pointer-events: none;
}

.showcase-hero-top {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.product-emblem-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.42rem 1.15rem 0.42rem 0.42rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 1.5rem;
}

.emblem-badge-frame {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  padding: 5px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.emblem-badge-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.emblem-label { font-size: 0.86rem; font-weight: 600; color: #e2e8f0; }

.display-headline {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 0.5rem;
}

.display-subheadline {
  font-size: clamp(1.3rem, 2.8vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, #ffffff 0%, #bae6fd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.15rem;
}

.display-copy {
  font-size: 1.05rem;
  color: #dbeafe;
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: 1.9rem;
}

.showcase-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.device-frame {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 1.15rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  will-change: transform;
}

.device-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.device-dots { display: flex; gap: 6px; }
.device-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, 0.28); }

.device-search {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: #e2e8f0;
}

.device-key {
  background: var(--blue);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.device-key-sky { background: var(--accent-blue); color: var(--navy); }

.device-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: #86efac;
  background: rgba(22, 163, 74, 0.22);
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.device-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.device-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.device-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #93c5fd;
}

.device-panel strong { font-size: 1rem; color: #ffffff; }
.device-panel p { font-size: 0.85rem; color: #cbd5e1; line-height: 1.5; }

.animated-bars {
  margin-top: auto;
  padding-top: 0.65rem;
  height: 62px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
}

.animated-bars span {
  flex: 1;
  border-radius: 5px 5px 2px 2px;
  background: linear-gradient(180deg, var(--accent-blue) 0%, var(--blue) 100%);
  transform-origin: bottom;
  animation: barPulse 3s ease-in-out infinite;
}

.animated-bars span:nth-child(2) { animation-delay: 0.3s; }
.animated-bars span:nth-child(3) { animation-delay: 0.6s; }
.animated-bars span:nth-child(4) { animation-delay: 0.9s; }
.animated-bars span:nth-child(5) { animation-delay: 1.2s; }

.device-checklist {
  margin-top: 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: #e2e8f0;
}

.device-checklist li { display: flex; align-items: center; gap: 0.5rem; }
.check-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; flex-shrink: 0; }

.device-flow {
  margin-top: auto;
  padding-top: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #e2e8f0;
}

.device-flow-line {
  flex: 1;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent-blue) 0 6px, transparent 6px 11px);
}

/* Sections */
section[id] { scroll-margin-top: 86px; }
.product-page section[id] { scroll-margin-top: 138px; }

.section { padding-block: 4.75rem; }

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--blue);
  margin-bottom: 0.45rem;
}

.section h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-blue);
}

.bento-wide { grid-column: span 2; }

.bento-featured {
  background: linear-gradient(145deg, var(--navy) 0%, var(--blue) 100%);
  border-color: var(--blue);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}

.bento-featured-sky {
  background: linear-gradient(145deg, #0d2b55 0%, var(--blue) 60%, #2f72bf 100%);
  border-color: var(--accent-blue);
}

.bento-featured p { color: #dbeafe; }
.bento-featured .bento-icon { background: rgba(255, 255, 255, 0.14); color: #bae6fd; }

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent-sky-soft) 100%);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bento-card h3 { font-size: 1.14rem; font-weight: 700; }
.bento-card p { font-size: 0.94rem; color: var(--text-secondary); }

/* Side-Scroll Carousels */
.tab-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.tab-pill {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.56rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-secondary);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.tab-pill:hover { border-color: var(--blue); color: var(--navy); }
.tab-pill.is-active { background: var(--navy); border-color: var(--navy); color: #ffffff; }

.carousel-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.carousel-bar .tab-pills {
  margin-bottom: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.carousel-bar .tab-pills::-webkit-scrollbar { display: none; }
.carousel-bar .tab-pill { flex-shrink: 0; }

.carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.carousel-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.carousel-arrow:hover:not(:disabled) {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
  transform: scale(1.05);
}

.carousel-arrow:disabled { opacity: 0.35; cursor: not-allowed; }

.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.35rem 0.25rem 1rem;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar { display: none; }

.carousel-slide {
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  opacity: 0.72;
  transform: scale(0.985);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: pointer;
}

.carousel-slide.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
  cursor: default;
}

.carousel-slide-wide { flex: 0 0 min(86%, 880px); }
.carousel-slide-edition { flex: 0 0 min(82%, 440px); display: flex; flex-direction: column; }

.carousel-slide-edition h3,
.tab-panel-grid h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.carousel-slide-edition p,
.tab-panel-grid p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.carousel-slide-edition .card-list { margin-top: auto; }

.tab-panel-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
}

.tab-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin-bottom: 0.45rem;
}

.tab-svg { width: 100%; height: auto; display: block; }

/* Services Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.card:hover {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent-sky-soft) 100%);
  border: 1px solid var(--border);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.15rem;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.card:hover .card-icon {
  transform: scale(1.07);
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #ffffff;
  border-color: transparent;
}

.card h3 { font-size: 1.08rem; font-weight: 700; color: var(--navy); }
.card p { font-size: 0.93rem; color: var(--text-secondary); }

.card-list {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.card-list li {
  position: relative;
  padding-left: 1.05rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-blue);
}

/* About Venture Vise */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.about-copy p + p { margin-top: 1rem; }

.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pillar-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pillar-card:hover {
  border-color: var(--accent-blue);
  transform: translateX(4px);
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--navy);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  min-width: 38px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy); margin-bottom: 0.22rem; }
.pillar-card p { font-size: 0.9rem; color: var(--text-secondary); }

/* Implementation Process Grid */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  position: relative;
}

.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.process-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-blue);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #ffffff;
  margin-bottom: 0.25rem;
}

.process-step h3 { font-size: 1.04rem; font-weight: 700; color: var(--navy); }
.process-step p { font-size: 0.9rem; color: var(--text-secondary); }

/* Industries Grid */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.industry-card {
  display: flex;
  align-items: flex-start;
  gap: 0.95rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.industry-card:hover {
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.industry-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent-sky-soft) 100%);
  border: 1px solid var(--border);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.industry-card h3 { font-size: 0.98rem; font-weight: 700; color: var(--navy); margin-bottom: 0.22rem; }
.industry-card p { font-size: 0.88rem; color: var(--text-secondary); }

.dealer-cta-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.dealer-cta-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Contact & Hours */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.info-card-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.info-icon { margin-bottom: 0; width: 42px; height: 42px; }
.info-card h3 { font-size: 1.14rem; font-weight: 700; color: var(--navy); }

.contact-list { display: flex; flex-direction: column; gap: 1.1rem; }

.contact-item dt {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

.contact-item dd { font-size: 0.98rem; color: var(--text); font-weight: 600; }
.contact-item a:hover { color: var(--blue); text-decoration: underline; }

.contact-value-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.copy-btn {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.28rem 0.7rem;
  cursor: pointer;
}

.copy-btn:hover { background: var(--surface-muted); }
.copy-btn.copied { background: #dcfce7; border-color: #bbf7d0; color: #166534; }

.contact-cta-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border);
}

.hours-list { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.hours-row dt { color: var(--text-secondary); }
.hours-row dd { font-weight: 600; color: var(--text); }

.support-box {
  margin-top: auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1.05rem 1.2rem;
}

.support-box h4 {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

/* Spotlight Hover */
.portal-card,
.bento-card,
.card,
.process-step,
.store-card {
  position: relative;
  overflow: hidden;
}

.portal-card::after,
.bento-card::after,
.card::after,
.process-step::after,
.store-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 50%),
    rgba(85, 169, 232, 0.12),
    transparent 60%
  );
}

.portal-card-tally::after {
  background: radial-gradient(
    360px circle at var(--mx, 50%) var(--my, 50%),
    rgba(85, 169, 232, 0.2),
    transparent 60%
  );
}

.portal-card:hover::after,
.bento-card:hover::after,
.card:hover::after,
.process-step:hover::after,
.store-card:hover::after {
  opacity: 1;
}

/* Footer */
.site-footer {
  padding-block: 2.5rem;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { font-size: 0.875rem; color: var(--navy); font-weight: 600; }
.footer-trademark { font-size: 0.76rem; color: var(--text-secondary); margin-top: 0.25rem; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.footer-links a:hover { color: var(--navy); }

/* Storefront, Cart Drawer & Admin Console */
.nav-cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.46rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
}

.nav-cart-btn:hover { border-color: var(--blue); background: var(--bg-alt); }

.cart-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding-inline: 6px;
  border-radius: 999px;
  background: var(--navy);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
}

.store-hero {
  padding-block: 3.25rem 2.25rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--bg-alt) 100%);
  border-bottom: 1px solid var(--border);
}

.store-hero-row {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.store-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.store-hero-sub { color: var(--text-secondary); font-size: 1rem; max-width: 58ch; }

.store-trust-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow-sm);
}

.store-trust-box strong { display: block; font-size: 0.95rem; color: var(--navy); margin-bottom: 0.35rem; }
.store-trust-box p { font-size: 0.87rem; color: var(--text-secondary); line-height: 1.55; }

.store-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.store-toolbar .tab-pills { margin-bottom: 0; }

.store-gateway-status {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.store-gateway-status.is-ready { background: #dcfce7; color: #166534; border-color: #bbf7d0; }

.store-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.store-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.store-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--accent-blue); }
.store-card-top { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; }
.store-brand-pill { font-size: 0.74rem; font-weight: 700; padding: 0.2rem 0.65rem; border-radius: 999px; }
.store-brand-navy { background: var(--accent-soft); color: var(--navy); }
.store-brand-sky { background: var(--accent-sky-soft); color: var(--blue); }
.store-badge { font-size: 0.74rem; font-weight: 600; color: var(--text-secondary); }
.store-card h3 { font-size: 1.16rem; font-weight: 700; color: var(--navy); }
.store-edition { font-size: 0.84rem; font-weight: 600; color: var(--blue); }
.store-summary { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.55; }

.store-price-box {
  margin-top: auto;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.store-price-main { font-size: 1.38rem; font-weight: 800; color: var(--navy); }
.store-price-main span { font-size: 0.8rem; font-weight: 600; color: var(--text-secondary); }
.store-price-incl { font-size: 0.83rem; color: var(--text-secondary); margin-top: 0.2rem; }
.store-delivery { font-size: 0.78rem; color: var(--text-secondary); }

.cart-backdrop { position: fixed; inset: 0; background: rgba(16, 41, 79, 0.45); z-index: 90; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  width: min(460px, 100%);
  background: var(--surface);
  z-index: 100;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(16, 41, 79, 0.2);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.4rem;
  border-bottom: 1px solid var(--border);
}

.cart-header h2 { font-size: 1.2rem; font-weight: 800; color: var(--navy); }
.cart-subtitle { font-size: 0.8rem; color: var(--text-secondary); }

.cart-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-empty { text-align: center; padding: 2.5rem 1rem; color: var(--text-secondary); }
.cart-empty p { font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--border);
}

.cart-item-info strong { display: block; font-size: 0.94rem; }
.cart-item-info span { font-size: 0.8rem; color: var(--text-secondary); }
.cart-item-actions { display: flex; align-items: center; gap: 0.75rem; }

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  overflow: hidden;
}

.qty-control button { border: none; background: var(--bg-alt); padding: 0.25rem 0.6rem; font-weight: 700; cursor: pointer; }
.qty-control span { padding-inline: 0.55rem; font-size: 0.86rem; font-weight: 700; }
.cart-line-price { min-width: 72px; text-align: right; font-size: 0.92rem; }

.cart-totals {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.totals-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--text-secondary); }
.totals-grand { margin-top: 0.35rem; padding-top: 0.55rem; border-top: 1px solid var(--border); font-size: 1.05rem; color: var(--navy); }

.checkout-form { display: flex; flex-direction: column; gap: 0.85rem; }
.checkout-form h3 { font-size: 1rem; font-weight: 700; color: var(--navy); }
.form-field { display: flex; flex-direction: column; gap: 0.3rem; }
.form-field label { font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); }

.form-field input,
.admin-login-form input,
.admin-notes-input {
  font-family: var(--font-body);
  font-size: 0.92rem;
  padding: 0.62rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: #ffffff;
}

.form-row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }

.checkout-error {
  font-size: 0.86rem;
  font-weight: 600;
  color: #b91c1c;
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.8rem;
}

.checkout-note { font-size: 0.78rem; color: var(--text-secondary); text-align: center; }

.order-receipt {
  text-align: center;
  padding: 1.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.receipt-badge {
  align-self: center;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
}

.receipt-actions { display: flex; flex-direction: column; gap: 0.6rem; }

.admin-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #f4f8fc 100%);
}

.admin-main {
  position: relative;
  flex: 1;
  padding-block: 3.5rem 4.5rem;
}

.admin-main > .container {
  position: relative;
  z-index: 1;
}

.admin-login-shell {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 0.75rem;
}

.admin-login-card {
  width: 100%;
  max-width: 450px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.admin-lock-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.admin-lock-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(16, 41, 79, 0.18);
}

.admin-restricted-pill {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--blue);
}

.admin-login-card h1 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--navy);
  line-height: 1.2;
}

.admin-login-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.admin-pass-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.admin-pass-wrap input {
  width: 100%;
  padding: 0.76rem 4.25rem 0.76rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-pass-wrap input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(85, 169, 232, 0.18);
}

.pass-toggle-btn {
  position: absolute;
  right: 0.55rem;
  padding: 0.3rem 0.65rem;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.pass-toggle-btn:hover {
  background: #e5eff9;
  border-color: var(--border-strong);
}

.admin-submit-btn {
  width: 100%;
}

.admin-visitor-box {
  margin-top: 0.45rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.admin-visitor-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
}

.admin-visitor-copy {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.admin-visitor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.2rem;
}

.admin-top-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.admin-top-actions { display: flex; gap: 0.65rem; }

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.admin-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-search-input {
  width: min(320px, 100%);
  font-family: var(--font-body);
  font-size: 0.88rem;
  padding: 0.56rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text);
}

.admin-search-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(85, 169, 232, 0.16);
}

.google-btn-slot {
  display: flex;
  justify-content: center;
  min-height: 44px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.85rem 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.admin-nonadmin-box {
  padding: 0.95rem 1.05rem;
  border-radius: var(--radius-md);
  background: #fffbeb;
  border: 1px solid #fde68a;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.admin-nonadmin-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #92400e;
}

.admin-nonadmin-copy {
  font-size: 0.81rem;
  color: #78350f;
  line-height: 1.5;
}

.admin-session-badge {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--navy);
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.admin-stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-sm);
}

.admin-stat-card span { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 0.25rem; }
.admin-stat-card strong { font-size: 1.45rem; font-weight: 800; color: var(--navy); }
.admin-orders-list { display: flex; flex-direction: column; gap: 1rem; }

.admin-order-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}

.admin-date { display: block; font-size: 0.78rem; color: var(--text-secondary); }
.admin-badges { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.status-tag { font-size: 0.72rem; font-weight: 700; padding: 0.22rem 0.6rem; border-radius: 999px; background: var(--bg-alt); color: var(--text-secondary); }
.status-paid, .status-delivered { background: #dcfce7; color: #166534; }
.status-pending_manual, .status-pending, .status-pending_inquiry { background: #fef3c7; color: #92400e; }
.status-failed { background: #fee2e2; color: #991b1b; }

.admin-order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.admin-order-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.admin-notes-input { flex: 1; min-width: 220px; }

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body, .hero-enter, .home-hero, .hero-orb, .status-dot, .flow-line, .animated-bars span { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-progress { display: none; }
}

.brand-disclaimer {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.brands-heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  text-align: center;
}

/* Continuous Bidirectional Client Brand Ribbon */
.hero-brand-ribbon {
  position: relative;
  z-index: 2;
  margin-bottom: 2.35rem;
  padding-block: 0.35rem;
}

.brand-marquee {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  width: 100%;
  padding-block: 8px;
  scroll-behavior: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-x pan-y;
  mask-image: linear-gradient(90deg, transparent 0%, #000 3.5%, #000 96.5%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3.5%, #000 96.5%, transparent 100%);
}

.brand-marquee::-webkit-scrollbar {
  display: none;
}

.brand-marquee:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: -2px;
}

.brand-marquee.is-dragging {
  cursor: grabbing;
}

.brand-marquee-track {
  display: flex;
  width: max-content;
}

.brand-marquee-group {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-right: 0.9rem;
}

.brand-tile {
  flex: 0 0 150px;
  height: 66px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.65rem 1.05rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.brand-tile:hover {
  transform: translateY(-2px);
  border-color: var(--accent-blue);
  box-shadow: var(--shadow-md);
}

.brand-tile img {
  max-width: 112px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

@media (max-width: 720px) {
  .home-hero-container {
    padding-top: 2.25rem;
  }

  .hero-brand-ribbon {
    margin-bottom: 1.75rem;
    padding-block: 0.2rem;
  }

  .brand-tile {
    flex: 0 0 128px;
    height: 58px;
    padding: 0.5rem 0.8rem;
  }

  .brand-tile img {
    max-width: 96px;
    max-height: 36px;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .home-hero-split,
  .portal-grid,
  .device-grid,
  .tab-panel-grid,
  .about-grid,
  .contact-grid,
  .store-hero-row {
    grid-template-columns: 1fr;
  }

  .home-hero-head {
    text-align: center;
    margin-inline: auto;
  }

  .home-hero-lead {
    margin-inline: auto;
  }

  .home-hero-actions {
    justify-content: center;
  }

  .toon-about-frame {
    margin-inline: auto;
  }

  .bento-grid,
  .cards-grid,
  .industries-grid,
  .process-grid,
  .store-grid,
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bento-wide { grid-column: span 2; }
}

@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }

  .site-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem 1.35rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  }

  .site-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }

  .site-nav a.nav-cta { width: 100%; text-align: center; }

  .site-nav.admin-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
    width: auto;
    gap: 0.65rem;
    font-size: 0.84rem;
    flex-shrink: 0;
  }

  .site-nav.admin-nav a.nav-cta {
    width: auto;
    padding: 0.42rem 0.88rem;
  }

  .admin-page .brand-logo {
    max-width: 136px;
    height: auto;
  }

  .admin-login-card { padding: 1.5rem; }

  .subnav-links { gap: 0.85rem; font-size: 0.8rem; }
  .subnav-links a:not(.subnav-cta) { display: none; }
  .carousel-controls { display: none; }
  .carousel-slide { padding: 1.4rem; }
  .carousel-slide-wide, .carousel-slide-edition { flex: 0 0 88%; }

  .highlights,
  .bento-grid,
  .cards-grid,
  .industries-grid,
  .process-grid,
  .store-grid,
  .form-row-2,
  .admin-stats,
  .admin-order-grid,
  .contact-cta-row {
    grid-template-columns: 1fr;
  }

  .bento-wide { grid-column: span 1; }

  .home-hero-actions .btn,
  .showcase-hero-actions .btn,
  .dealer-cta-actions .btn {
    width: 100%;
  }

  .admin-login-form { flex-direction: column; }
  .toon-support-row,
  .dealer-cta-lead,
  .store-trust-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .section { padding-block: 3.35rem; }
}

/* Customer Login & Tabbed Account Portal */
.site-nav a.nav-login-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.92rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #f8fafc;
  color: var(--navy);
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-nav a.nav-login-link:hover,
.site-nav a.nav-login-link.active {
  background: #eff6ff;
  border-color: var(--accent-blue);
  color: var(--blue);
}

.site-nav a.nav-login-link.is-signed-in {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
  font-weight: 700;
}

.site-nav a.nav-login-link.is-signed-in::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
  flex-shrink: 0;
}

.filter-pill {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #ffffff;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--accent-blue);
  color: var(--navy);
}

.filter-pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.customer-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.78rem;
  border-radius: 999px;
  background: #e9f3fd;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.customer-perks-grid {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.customer-perk-item {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: #f8fbff;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.customer-perk-item strong {
  font-size: 0.86rem;
  color: var(--navy);
}

.customer-perk-item span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.customer-identity-row {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.customer-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--border);
  object-fit: cover;
  flex-shrink: 0;
}

/* Account Portal Navigation Tabs */
.account-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  margin-bottom: 1.5rem;
}

.account-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 0.58rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.account-tab:hover {
  background: #f1f5f9;
  color: var(--navy);
}

.account-tab.active {
  background: var(--navy);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 0.4rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  background: rgba(16, 41, 79, 0.08);
  color: var(--navy);
}

.account-tab.active .tab-count {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.tab-count-due.has-due {
  background: #fef3c7;
  color: #b45309;
}

.overview-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.overview-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.overview-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.overview-card-head h3 {
  font-size: 1.05rem;
  color: var(--navy);
}

.overview-dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin: 0;
}

.overview-dl dt {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.overview-dl dd {
  margin: 0.15rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
}

.overview-empty-copy {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.overview-latest-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.overview-latest-meta {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.overview-latest-items {
  font-size: 0.86rem;
  color: var(--navy);
  font-weight: 500;
}

.due-summary-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: #fffbeb;
  border: 1px solid #fde68a;
  margin-bottom: 1.25rem;
  color: #92400e;
}

.due-summary-banner span {
  display: block;
  font-size: 0.88rem;
  margin-top: 0.15rem;
}

.order-tax-breakdown {
  margin: 0.55rem 0 0.35rem;
  padding-top: 0.45rem;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.order-tax-breakdown div {
  display: flex;
  justify-content: space-between;
}

.customer-profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.customer-profile-card-wide {
  max-width: 820px;
}

.profile-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.customer-profile-card h2 {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.customer-profile-sub {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.55;
  max-width: 560px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.field-hint-inline {
  font-weight: 500;
  font-size: 0.74rem;
  color: var(--blue);
  margin-left: 0.25rem;
}

.input-with-btn {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.input-with-btn input {
  flex: 1;
  min-width: 0;
}

.lookup-status-hint {
  margin: -0.25rem 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  padding: 0.48rem 0.72rem;
  border-radius: var(--radius-sm);
}

.lookup-status-hint.is-error {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}

.customer-profile-card textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.92rem;
  color: var(--text);
  background: var(--bg);
  resize: vertical;
}

.customer-profile-card textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.profile-form-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 0.25rem;
}

.customer-profile-success {
  font-size: 0.85rem;
  font-weight: 600;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
}

.stat-tile-due strong {
  color: #b45309;
}

.customer-order-due {
  border-left: 3px solid #f59e0b;
}

.customer-license-note {
  margin-top: 0.9rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  background: #f0f7ff;
  border: 1px solid #bfdbfe;
  font-size: 0.86rem;
  color: var(--navy);
}

.customer-order-actions {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.checkout-account-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  background: #f4f8fc;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.checkout-account-banner a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}

.checkout-account-banner.is-signed-in {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

@media (max-width: 960px) {
  .overview-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .form-row-3,
  .overview-dl {
    grid-template-columns: 1fr;
  }

  .account-tab {
    font-size: 0.84rem;
    padding: 0.48rem 0.82rem;
  }
}
