/* Arista — page-specific styles */

#site-header { display: contents; }

/* ========== LOGO ========== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.logo-mark {
  width: 28px;
  height: 28px;
  background: var(--arista-blue);
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 4px;
  gap: 2px;
}
.logo-mark::before,
.logo-mark::after,
.logo-mark span {
  content: '';
  display: block;
  width: 4px;
  background: white;
  border-radius: 1px;
}
.logo-mark::before { height: 6px; }
.logo-mark span { height: 12px; }
.logo-mark::after { height: 18px; }

/* ========== TOP BAR ========== */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,0.72);
  font-size: var(--t-xs);
  letter-spacing: 0.04em;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 36px;
}
.topbar a { color: rgba(255,255,255,0.72); }
.topbar a:hover { color: white; }
.topbar-left { display: flex; gap: 22px; align-items: center; }
.topbar-right { display: flex; gap: 18px; align-items: center; }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); display: inline-block; margin-right: 7px; box-shadow: 0 0 0 3px rgba(120, 200, 150, 0.15); }

.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: hidden;
}
.lang-toggle a {
  display: inline-block;
  color: rgba(255,255,255,0.6);
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
}
.lang-toggle a:hover { color: white; }
.lang-toggle a.active {
  background: rgba(255,255,255,0.12);
  color: white;
}

/* ========== HEADER ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: all 0.25s ease;
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}
.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav a {
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-2);
  padding: 8px 0;
  position: relative;
  transition: color 0.15s ease;
}
.nav a:hover, .nav a.active { color: var(--arista-blue); }
.nav a.active::after {
  content: '';
  position: absolute;
  bottom: -25px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--arista-blue);
}
.header-right { display: flex; gap: 14px; align-items: center; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: white;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  width: 16px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--paper) 0%, var(--arista-blue-tint) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--rule);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .auth-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 3px rgba(230, 180, 90, 0.2);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 6.5vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 500;
  margin: 0 0 28px;
  color: var(--ink);
}
.hero h1 em {
  font-style: normal;
  color: var(--arista-blue);
  font-weight: 500;
}
.hero-sub {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-3);
  max-width: 520px;
  margin: 0 0 40px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
.stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--mute);
  margin-top: 8px;
}

/* Hero visual */
.hero-visual {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #001a4d;
  min-height: 200px;
}
@media (max-width: 960px) {
  .hero-visual { max-height: 400px; }
  .hero-visual img { object-fit: contain; max-height: 400px; }
}
.hero-visual-inner {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(120, 180, 255, 0.25), transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(230, 180, 90, 0.1), transparent 55%);
}
.voltage-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-viz-center {
  position: absolute;
  inset: 20%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
}
.batt-stack {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}
.batt {
  width: 42px;
  background: linear-gradient(180deg, #f4f4f4, #c8c8c8);
  border-radius: 6px 6px 3px 3px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4), inset 0 2px 0 rgba(255,255,255,0.6);
  border: 1px solid rgba(0,0,0,0.1);
}
.batt::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px; height: 4px;
  background: #999;
  border-radius: 2px 2px 0 0;
}
.batt-label {
  position: absolute;
  top: 20%;
  left: 0; right: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--arista-blue-deep);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.batt-brand {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 14px;
  background: var(--arista-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 7px;
  color: white;
  letter-spacing: 0.05em;
}
.hero-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 16px;
}
.ticker {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}
.ticker .pulse {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--amber);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(230, 180, 90, 0.6); }
  50% { opacity: 0.6; box-shadow: 0 0 0 10px rgba(230, 180, 90, 0); }
}

/* ========== TRUSTED BAR ========== */
.trustbar {
  border-bottom: 1px solid var(--rule);
  padding: 28px 0;
  background: white;
}
.trustbar-inner {
  display: flex;
  align-items: center;
  gap: 48px;
  overflow: hidden;
}
.trustbar-label {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mute);
  text-transform: uppercase;
  flex-shrink: 0;
  max-width: 180px;
  line-height: 1.5;
  font-weight: 500;
}
.trust-badges {
  display: flex;
  gap: 24px;
  align-items: center;
  flex: 1;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  white-space: nowrap;
}
.trust-badge svg {
  color: var(--arista-blue);
  flex-shrink: 0;
}
.trust-sep {
  width: 1px;
  height: 16px;
  background: var(--rule);
  flex-shrink: 0;
}

/* ========== SECTION HEAD ========== */
.section {
  padding: 110px 0;
  position: relative;
}
.section-dark { background: var(--ink); color: rgba(255,255,255,0.9); }
.section-tint { background: var(--paper-2); }
.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 64px;
  align-items: end;
}
.section-head-meta { display: flex; flex-direction: column; gap: 16px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  font-weight: 500;
  margin: 0;
  color: inherit;
}
.section-head p {
  color: var(--ink-3);
  font-size: 17px;
  line-height: 1.6;
  max-width: 560px;
  margin: 0;
}
.section-dark .section-head p { color: rgba(255,255,255,0.65); }
.section-dark .section-num { color: rgba(255,255,255,0.5); }

/* ========== PRODUCT CATEGORIES (homepage) ========== */
.cat-tabs {
  display: flex;
  gap: 2px;
  margin-bottom: 32px;
  padding: 4px;
  background: var(--paper-2);
  border-radius: var(--r-sm);
  width: fit-content;
  border: 1px solid var(--rule);
}
.cat-tab {
  background: transparent;
  border: 0;
  padding: 10px 18px;
  font-size: var(--t-sm);
  font-weight: 500;
  color: var(--ink-3);
  border-radius: 3px;
  transition: all 0.15s ease;
}
.cat-tab.active {
  background: white;
  color: var(--arista-blue);
  box-shadow: var(--shadow-sm);
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--arista-blue-tint-2);
}
.cat-card-img {
  aspect-ratio: 4/3;
  background: var(--arista-blue-tint);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.cat-card-body {
  padding: 22px;
}
.cat-card .cat-type {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 8px;
  font-weight: 500;
}
.cat-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.015em;
}
.cat-card .cat-desc {
  font-size: var(--t-sm);
  color: var(--ink-3);
  line-height: 1.5;
  margin-bottom: 18px;
}
.cat-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  font-size: var(--t-sm);
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  color: var(--ink-3);
}

/* Battery visual in card */
.batt-viz {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(135deg, transparent 0 20px, rgba(37,71,145,0.04) 20px 21px);
}
.batt-aa { width: 32px; height: 90px; }
.batt-aaa { width: 26px; height: 70px; }
.batt-c { width: 44px; height: 80px; }
.batt-d { width: 52px; height: 100px; }
.batt-coin { width: 74px; height: 74px; border-radius: 50%; }
.batt-9v { width: 48px; height: 72px; border-radius: 3px; }

/* ========== VALUE PROP STRIP ========== */
.value-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.value-item {
  padding: 44px 32px;
  border-right: 1px solid var(--rule);
  position: relative;
}
.value-item:last-child { border-right: 0; }
.value-item .vi-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--arista-blue);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.value-item h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.15;
}
.value-item p {
  font-size: var(--t-sm);
  color: var(--ink-3);
  margin: 0;
  line-height: 1.55;
}

/* ========== AUTHORIZED BADGE BAND ========== */
.auth-band {
  background: var(--ink);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.auth-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(60, 120, 220, 0.15), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(230, 180, 90, 0.08), transparent 40%);
}
.auth-band-inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.auth-band h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 16px;
}
.auth-band p { color: rgba(255,255,255,0.65); font-size: 16px; max-width: 540px; margin: 0; }
.auth-seal {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--r-md);
  padding: 28px;
  text-align: center;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.03);
}
.auth-seal .seal-ring {
  width: 88px;
  height: 88px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: var(--amber);
  letter-spacing: -0.02em;
}
.auth-seal .seal-label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  margin-bottom: 4px;
  font-weight: 500;
}
.auth-seal .seal-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.auth-seal .seal-co-brand {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255,255,255,0.15);
  font-family: var(--font-display);
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}

/* ========== NEWS ========== */
.news-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
}
#latest-news { scroll-margin-top: 120px; }
.news-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--arista-blue-tint-2);
}
.news-img {
  aspect-ratio: 16/10;
  background: var(--arista-blue-tint);
  position: relative;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-card.lead .news-img { aspect-ratio: 4/3; }
.news-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.news-meta {
  display: flex;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 14px;
  font-weight: 500;
}
.news-meta .tag {
  color: var(--arista-blue);
}
.news-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.018em;
  margin: 0 0 10px;
  flex: 1;
}
.news-card.lead h3 { font-size: 24px; }
.news-card p {
  font-size: var(--t-sm);
  color: var(--ink-3);
  line-height: 1.55;
  margin: 0;
}

/* ========== CTA BAND ========== */
.cta-band {
  background: var(--arista-blue);
  color: white;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 60%, rgba(255,255,255,0.04) 60% 61%, transparent 61%),
    radial-gradient(circle at 90% 50%, rgba(255,255,255,0.08), transparent 50%);
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
  margin: 0 0 8px;
  line-height: 1.1;
}
.cta-inner p { color: rgba(255,255,255,0.75); margin: 0; font-size: 15px; }
.btn-on-blue { background: white; color: var(--arista-blue); }
.btn-on-blue:hover { background: var(--paper); }
.btn-on-blue-ghost { background: transparent; border-color: rgba(255,255,255,0.3); color: white; }
.btn-on-blue-ghost:hover { border-color: white; }

/* ========== REVEAL ANIMATION ========== */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.revealed {
  opacity: 1;
  transform: none;
}
/* Fallback: if JS hasn't revealed elements within 3s, show them */
@keyframes revealFallback { to { opacity: 1; transform: none; } }
.reveal { animation: revealFallback 0s 3s forwards; }
.revealed { animation: none; }

/* ========== FOOTER ========== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin: 0 0 18px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { color: rgba(255,255,255,0.75); font-size: var(--t-sm); }
.footer a:hover { color: white; }
.footer-brand .logo { color: white; margin-bottom: 20px; }
.footer-addr {
  font-size: var(--t-sm);
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 32px;
  font-size: var(--t-xs);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.45);
}

/* ========== PAGE HEADER (inner pages) ========== */
.page-header {
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  padding: 64px 0 48px;
}
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--mute);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.breadcrumb .sep { margin: 0 8px; }
.breadcrumb a:hover { color: var(--arista-blue); }
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.8vw, 60px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  line-height: 1.02;
}
.page-header .lede {
  font-size: 18px;
  color: var(--ink-3);
  max-width: 640px;
  line-height: 1.55;
  margin: 0;
}

/* ========== PRODUCTS PAGE ========== */
.products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  padding: 56px 0 100px;
}
.filters { position: sticky; top: 110px; align-self: start; }
.filter-group {
  padding: 24px 0;
  border-bottom: 1px solid var(--rule);
}
.filter-group:first-child { padding-top: 0; }
.filter-group h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.filter-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.filter-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 0;
  font-size: var(--t-sm);
  color: var(--ink-2);
  cursor: pointer;
  transition: color 0.15s;
}
.filter-item:hover { color: var(--arista-blue); }
.filter-item.active { color: var(--arista-blue); font-weight: 500; }
.filter-item .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mute);
}
.filter-item input[type="checkbox"] {
  accent-color: var(--arista-blue);
  margin-right: 10px;
}
.filter-item label { flex: 1; cursor: pointer; display: flex; align-items: center; }

.products-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
}
.products-count { font-family: var(--font-display); font-size: 13px; letter-spacing: 0.02em; color: var(--ink-3); }
.products-count strong { color: var(--ink); font-weight: 600; }
.sort-select {
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  background: white;
  font-family: var(--font-sans);
  font-size: var(--t-sm);
  color: var(--ink-2);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.product-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--arista-blue-tint-2);
}
.product-card .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 3px;
  z-index: 2;
}
.badge-new { background: var(--arista-blue); color: white; }
.badge-bulk { background: var(--amber); color: var(--ink); }
.badge-industrial { background: var(--ink); color: white; }

.product-card-img {
  aspect-ratio: 1/1;
  background: var(--paper-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.product-card-body { padding: 20px; }
.product-card .product-code {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.product-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.product-card .product-spec {
  font-size: var(--t-sm);
  color: var(--ink-3);
  margin: 0 0 14px;
}
.product-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}
.pack-size {
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}
.moq-btn {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--arista-blue);
  background: transparent;
  border: 0;
  padding: 0;
  font-weight: 500;
}

/* ========== ABOUT PAGE ========== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 90px 0;
  align-items: center;
}
.about-intro p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 20px;
}
.about-intro p:first-of-type {
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-weight: 400;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 32px 0;
}
.timeline-item {
  padding: 28px 24px 28px 0;
  border-left: 2px solid var(--rule);
  padding-left: 24px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -7px;
  top: 32px;
  width: 12px; height: 12px;
  background: var(--arista-blue);
  border-radius: 50%;
  border: 3px solid var(--paper);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--arista-blue);
  margin-bottom: 10px;
}
.timeline-item h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.timeline-item p {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.5;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.value-card {
  padding: 40px;
  border: 1px solid var(--rule);
  margin-right: -1px;
  margin-bottom: -1px;
  background: white;
}
.value-card .v-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--arista-blue);
  letter-spacing: 0.1em;
  margin-bottom: 28px;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.value-card p {
  font-size: var(--t-sm);
  color: var(--ink-3);
  line-height: 1.6;
  margin: 0;
}

/* ========== DEALER LOCATOR ========== */
.locator-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  min-height: 640px;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  background: white;
  margin-bottom: 100px;
}
.locator-sidebar {
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
}
.locator-search {
  padding: 20px;
  border-bottom: 1px solid var(--rule);
}
.locator-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  font-size: var(--t-sm);
  font-family: inherit;
  margin-bottom: 10px;
}
.locator-input:focus { outline: none; border-color: var(--arista-blue); }
.region-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 5px 10px;
  border: 1px solid var(--rule);
  border-radius: 100px;
  background: white;
  color: var(--ink-3);
  transition: all 0.15s;
  font-weight: 500;
}
.chip:hover, .chip.active { background: var(--arista-blue); color: white; border-color: var(--arista-blue); }
.dealer-list { flex: 1; overflow-y: auto; max-height: 540px; }
.dealer-item {
  padding: 18px 20px;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: background 0.12s;
}
.dealer-item:hover, .dealer-item.active { background: var(--arista-blue-tint); }
.dealer-item.active { border-left: 3px solid var(--arista-blue); padding-left: 17px; }
.dealer-region {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--arista-blue);
  margin-bottom: 6px;
  font-weight: 500;
  text-transform: uppercase;
}
.dealer-item h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.dealer-item p { font-size: 13px; color: var(--ink-3); margin: 0; line-height: 1.4; }
.dealer-item .d-meta {
  margin-top: 10px;
  display: flex;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.02em;
}

.locator-map {
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, var(--arista-blue-tint) 0%, var(--paper-2) 80%),
    var(--paper-2);
  position: relative;
  overflow: hidden;
}
.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--rule-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-2) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.6;
}
.map-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.thailand-outline {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 45%;
  opacity: 0.15;
}
.map-pin {
  position: absolute;
  width: 14px; height: 14px;
  background: var(--arista-blue);
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 8px rgba(37, 71, 145, 0.4);
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: all 0.15s;
}
.map-pin.active {
  background: var(--amber);
  width: 18px; height: 18px;
  z-index: 2;
}
.map-pin::after {
  content: '';
  position: absolute;
  inset: -6px;
  border: 1px solid var(--arista-blue);
  border-radius: 50%;
  opacity: 0;
  animation: pin-pulse 2s infinite;
}
.map-pin.active::after { border-color: var(--amber); opacity: 1; }
@keyframes pin-pulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2); opacity: 0; }
}
.map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: white;
  padding: 14px 18px;
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm);
  font-size: var(--t-sm);
  border: 1px solid var(--rule);
}
.map-overlay strong { color: var(--arista-blue); font-family: var(--font-display); font-size: 22px; display: block; }
.map-overlay .l { font-family: var(--font-display); font-size: 12px; color: var(--mute); letter-spacing: 0.04em; text-transform: uppercase; font-weight: 500; }

.region-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  background: white;
  margin-bottom: 60px;
}
.rstat {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
}
.rstat:last-child { border-right: 0; }
.rstat .r-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.rstat .r-label {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--mute);
  text-transform: uppercase;
  font-weight: 500;
}

/* ========== CONTACT / QUOTE PAGE ========== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  padding: 72px 0 120px;
}
.contact-info .info-block {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
}
.contact-info .info-block:last-child { border-bottom: 1px solid var(--rule); }
.info-block h4 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--arista-blue);
  margin: 0 0 14px;
  font-weight: 600;
}
.info-block .addr {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}
.info-block .addr .th { font-family: var(--font-thai); }
.info-block .info-line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: var(--t-sm);
}
.info-line .l { color: var(--ink-3); font-family: var(--font-display); font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; font-weight: 500; }
.info-line .v { color: var(--ink); font-weight: 500; }
/* ========== LEGAL PAGES ========== */
.legal-content {
  max-width: 780px;
  padding: 64px 0 120px;
}

/* Shared section style (privacy, cookies) */
.legal-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.legal-section:first-child { padding-top: 0; }
.legal-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--arista-blue);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.legal-section h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.legal-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 12px;
}
.legal-section ul {
  padding-left: 20px;
  margin: 12px 0;
}
.legal-section li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  margin-bottom: 6px;
}
.legal-section a { color: var(--arista-blue); text-decoration: underline; }
.legal-section code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--paper-2);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid var(--rule);
}

/* Article-based legal format (terms page) */
.legal-preamble {
  padding: 0 0 40px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 8px;
}
.legal-preamble p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0;
}
.legal-preamble strong {
  color: var(--ink);
  font-weight: 600;
}
.legal-article {
  padding: 40px 0;
  border-bottom: 1px solid var(--rule);
}
.legal-article h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  line-height: 1.2;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}
.article-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--arista-blue);
  white-space: nowrap;
}
.legal-article > p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.legal-clauses {
  list-style: none;
  counter-reset: clause;
  padding: 0;
  margin: 0;
}
.legal-clauses > li {
  counter-increment: clause;
  position: relative;
  padding-left: 36px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  margin-bottom: 20px;
}
.legal-clauses > li:last-child { margin-bottom: 0; }
.legal-clauses > li::before {
  content: counter(clause) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--arista-blue);
  letter-spacing: 0.02em;
}
.legal-clauses > li strong {
  color: var(--ink);
  font-weight: 600;
}
.legal-clauses > li a {
  color: var(--arista-blue);
  text-decoration: underline;
}

.legal-updated {
  padding-top: 36px;
}
.legal-effective {
  margin-bottom: 24px;
}
.legal-entity {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
  padding: 24px;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
}
.legal-entity strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}
.cookie-table {
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: 16px;
}
.cookie-row {
  display: grid;
  grid-template-columns: 140px 1fr 100px 100px;
  gap: 16px;
  padding: 14px 20px;
  font-size: 13px;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule);
  align-items: center;
}
.cookie-row:last-child { border-bottom: 0; }
.cookie-header {
  background: var(--paper-2);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 600;
}
@media (max-width: 640px) {
  .cookie-row { grid-template-columns: 1fr; gap: 4px; }
  .cookie-header { display: none; }
}

.map-link-card {
  margin-top: 32px;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 20px;
  background: var(--paper-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quote-form {
  background: white;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 40px;
}
.form-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.form-head h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
}
.form-head .required-note { font-family: var(--font-display); font-size: 11px; color: var(--mute); letter-spacing: 0.04em; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 600;
}
.form-field label .req { color: var(--danger); margin-left: 3px; }
.form-field input,
.form-field select,
.form-field textarea {
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  font-family: inherit;
  font-size: var(--t-sm);
  background: white;
  transition: border-color 0.15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--arista-blue);
  box-shadow: 0 0 0 3px rgba(37, 71, 145, 0.08);
}
.form-field.error input,
.form-field.error select,
.form-field.error textarea { border-color: var(--danger); }
.form-field .err-msg {
  font-size: 11px;
  color: var(--danger);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}
.form-field .hint { font-size: 12px; color: var(--mute); font-family: var(--font-display); letter-spacing: 0.02em; }
.form-field textarea { min-height: 110px; resize: vertical; }

.form-submit {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.form-submit .consent { font-size: 11px; color: var(--mute); max-width: 320px; line-height: 1.5; }

.form-success {
  padding: 40px;
  text-align: center;
  background: var(--arista-blue-tint);
  border-radius: var(--r-md);
  border: 1px solid var(--arista-blue-tint-2);
}
.form-success h3 { font-family: var(--font-display); font-size: 22px; margin: 0 0 8px; color: var(--arista-blue-deep); }
.form-success p { margin: 0; color: var(--ink-2); }
.form-success .check {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--success);
  color: white;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 22px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 960px) {
  .hero-grid, .section-head, .about-intro, .contact-layout,
  .auth-band-inner { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cat-grid, .products-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .value-strip, .region-stats, .timeline, .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-item, .rstat { border-bottom: 1px solid var(--rule); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .products-layout, .locator-layout { grid-template-columns: 1fr; }
  .topbar-left { display: none; }
  .topbar-inner { justify-content: flex-end; }
  .header-inner { height: 64px; position: relative; }
  .header-right { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 0;
  }
  .menu-open .nav { display: flex; }
  .nav a {
    width: 100%;
    padding: 12px var(--gutter);
  }
  .nav a.active::after { display: none; }
  .menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .filters { position: static; }
  .products-layout { gap: 24px; }
  .section, .pd-section { padding: 72px 0; }
}

@media (max-width: 640px) {
  .hero { padding: 56px 0 72px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-stats, .cat-grid, .products-grid, .news-grid,
  .value-strip, .region-stats, .timeline, .values-grid,
  .footer-top, .pd-related-grid, .pd-trust-inner {
    grid-template-columns: 1fr;
  }
  .section-head { gap: 22px; margin-bottom: 36px; }
  .section-head p, .page-header .lede, .hero-sub { font-size: 16px; }
  .cat-tabs { width: 100%; overflow-x: auto; }
  .contact-layout { gap: 28px; padding: 44px 0 80px; }
  .quote-form, .pd-quote-form-card { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; gap: 14px; }
  .form-submit { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ========== PRODUCT DETAIL ========== */

/* Sticky action bar — replaces .pd-back and CTAs in hero */
.pd-actionbar {
  position: sticky;
  top: 72px; /* below main header */
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.pd-actionbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 56px;
}
.pd-actionbar-left {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 1;
}
.pd-actionbar .pd-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
  padding-right: 18px;
  border-right: 1px solid var(--rule);
  font-weight: 500;
}
.pd-actionbar .pd-back:hover { color: var(--arista-blue); }
.pd-actionbar .pd-title-inline {
  display: flex; align-items: baseline; gap: 12px;
  min-width: 0;
  overflow: hidden;
}
.pd-actionbar .pd-sku {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--arista-blue-deep);
  font-weight: 500;
  white-space: nowrap;
}
.pd-actionbar .pd-name-inline {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.01em;
}
.pd-actionbar-right { display: flex; gap: 10px; flex-shrink: 0; }
.pd-actionbar .btn {
  padding: 9px 16px;
  font-size: 12px;
}

/* ========== HERO ========== */
.pd-hero-wrap {
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  padding: 56px 0 72px;
}
.pd-hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: start;
}

/* Left: product stage */
.pd-stage {
  background: white;
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  position: relative;
  aspect-ratio: 5/4;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.pd-stage-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--rule-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-2) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: center center;
  opacity: 0.55;
}
.pd-stage-cross {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 0; height: 0;
}
.pd-stage-cross::before,
.pd-stage-cross::after {
  content: '';
  position: absolute;
  background: var(--arista-blue);
  opacity: 0.25;
}
.pd-stage-cross::before { width: 16px; height: 1px; left: -8px; }
.pd-stage-cross::after  { width: 1px; height: 16px; top: -8px; }

.pd-stage-corner {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--mute);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}
.pd-stage-corner.tl { top: 18px; left: 20px; }
.pd-stage-corner.tr { top: 18px; right: 20px; }
.pd-stage-corner.bl { bottom: 18px; left: 20px; }
.pd-stage-corner.br { bottom: 18px; right: 20px; }
.pd-stage-corner .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--arista-blue);
}

.pd-stage-product {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Override outer transform that was bleeding earlier */
.pd-stage-product .batt,
.pd-stage-product .batt-coin {
  transform: none !important;
}
.pd-stage-product .batt-aa    { width: 90px; height: 260px; }
.pd-stage-product .batt-aaa   { width: 70px; height: 200px; }
.pd-stage-product .batt-c     { width: 120px; height: 220px; }
.pd-stage-product .batt-d     { width: 150px; height: 270px; }
.pd-stage-product .batt-9v    { width: 120px; height: 180px; border-radius: 8px; }
.pd-stage-product .batt-coin  { width: 200px; height: 200px; }
.pd-stage-product .batt-label {
  font-size: 14px;
  top: 18%;
}
.pd-stage-product .batt-brand {
  height: 26px;
  font-size: 11px;
  top: 42%;
}
.pd-stage-product .batt-coin .batt-label {
  font-size: 22px;
  top: 42%;
}

/* Dimension callouts */
.pd-dim {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--arista-blue-deep);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
  background: white;
  padding: 4px 8px;
  border: 1px solid var(--rule);
  border-radius: 3px;
  box-shadow: var(--shadow-sm);
}
.pd-dim.height {
  right: 20%;
  top: 50%;
  transform: translateY(-50%);
}
.pd-dim.width {
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
}

/* Right: info */
.pd-info { padding-top: 4px; }
.pd-info .pd-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--arista-blue);
  text-transform: uppercase;
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.pd-info .pd-eyebrow .sku-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--arista-blue-deep);
  background: white;
  border: 1px solid var(--arista-blue-tint-2);
  padding: 3px 9px;
  border-radius: 3px;
  letter-spacing: 0.08em;
}
.pd-name {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 500;
  letter-spacing: -0.028em;
  margin: 0 0 14px;
  line-height: 1.02;
  color: var(--ink);
}
.pd-sub {
  font-size: 17px;
  color: var(--ink-3);
  margin: 0 0 32px;
  max-width: 44ch;
  line-height: 1.5;
}

/* Metadata list — clean rows instead of keystats grid */
.pd-meta {
  border-top: 1px solid var(--rule);
  margin-bottom: 28px;
}
.pd-meta-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  gap: 16px;
}
.pd-meta-k {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--mute);
  font-weight: 500;
}
.pd-meta-v {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.pd-meta-v .mono {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--arista-blue-deep);
  letter-spacing: 0.04em;
}

/* Stock line */
.pd-stock {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: oklch(0.97 0.05 155 / 0.5);
  border: 1px solid oklch(0.82 0.1 155 / 0.5);
  border-radius: var(--r-sm);
  margin-bottom: 20px;
  font-size: 13px;
  color: oklch(0.32 0.09 155);
}
.pd-stock .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 3px oklch(0.82 0.1 155 / 0.3);
  flex-shrink: 0;
}
.pd-stock strong { font-weight: 600; }
.pd-stock .sep { color: var(--mute); margin: 0 2px; }

/* Order info line — replaces MOQ cell grid */
.pd-order {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 0 24px;
  font-size: 13px;
  color: var(--ink-3);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 24px;
}
.pd-order .k {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 2px;
  display: block;
  font-weight: 500;
}
.pd-order .v {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.pd-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pd-cta-row .btn { padding: 13px 20px; }

/* ========== TRUST STRIP ========== */
.pd-trust {
  border-bottom: 1px solid var(--rule);
  background: white;
}
.pd-trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.pd-trust-item {
  padding: 22px 28px;
  display: flex; align-items: center; gap: 14px;
}
.pd-trust-item + .pd-trust-item { border-left: 1px solid var(--rule); }
.pd-trust-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--arista-blue);
  letter-spacing: 0.12em;
  font-weight: 500;
}
.pd-trust-label {
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  line-height: 1.3;
}

/* ========== SECTION NAV ========== */
.pd-secnav {
  position: sticky;
  top: 128px; /* under header (72px) + action bar (56px) */
  z-index: 40;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  margin-top: 0;
}
.pd-secnav-inner {
  display: flex;
  gap: 2px;
}
.pd-secnav a {
  padding: 18px 24px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
  font-weight: 500;
}
.pd-secnav a:hover { color: var(--arista-blue); }
.pd-secnav a.active { color: var(--arista-blue); border-bottom-color: var(--arista-blue); }
.pd-secnav .count {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--mute);
  margin-left: 6px;
}

/* ========== SECTIONS ========== */
.pd-section {
  padding: 88px 0;
  border-bottom: 1px solid var(--rule);
  scroll-margin-top: 190px;
}
.pd-section:last-of-type { border-bottom: 0; }
.pd-section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  margin-bottom: 44px;
  align-items: end;
}
.pd-section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--arista-blue);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.pd-section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
}
.pd-section-desc {
  font-size: 16px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 56ch;
  margin: 0;
}

/* ========== SPECS (grouped cards) ========== */
.pd-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pd-specs-card {
  background: white;
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  overflow: hidden;
}
.pd-specs-card-head {
  padding: 16px 20px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pd-specs-card-head .group-num {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--arista-blue);
}
.pd-specs-card-head .group-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.pd-specs-card dl {
  margin: 0;
  padding: 8px 0;
}
.pd-specs-card .row {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 11px 20px;
  gap: 16px;
  align-items: baseline;
  border-bottom: 1px solid var(--rule-2);
}
.pd-specs-card .row:last-child { border-bottom: 0; }
.pd-specs-card dt {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  font-weight: 500;
}
.pd-specs-card dd {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}
.pd-specs-card dd .mono {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--arista-blue-deep);
  letter-spacing: 0.04em;
}
.pd-spec-yes, .pd-spec-no {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-weight: 500;
}
.pd-spec-yes { color: var(--success); }
.pd-spec-yes::before { content: '✓'; font-size: 12px; }
.pd-spec-no { color: var(--mute); }
.pd-spec-no::before { content: '—'; font-size: 12px; }

/* ========== COMPAT (device glyphs) ========== */
.pd-compat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.pd-compat-card {
  background: white;
  border: 1px solid var(--rule);
  padding: 20px;
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  transition: border-color 0.15s, transform 0.15s;
  min-height: 120px;
}
.pd-compat-card:hover {
  border-color: var(--arista-blue-tint-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.pd-compat-icon {
  width: 40px; height: 40px;
  background: var(--arista-blue-tint);
  border: 1px solid var(--arista-blue-tint-2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--arista-blue-deep);
  flex-shrink: 0;
}
.pd-compat-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.pd-compat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}

/* ========== RELATED ========== */
.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ========== QUOTE ========== */
.pd-quote-section {
  background: var(--paper-2);
  padding: 88px 0;
}
.pd-quote-summary {
  background: var(--ink);
  color: white;
  border-radius: var(--r-md) var(--r-md) 0 0;
  padding: 22px 32px;
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 28px;
  align-items: center;
}
.pd-quote-summary .qs-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
  padding: 5px 10px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255,255,255,0.1);
}
.pd-quote-summary .qs-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: white;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pd-quote-summary .qs-stat .k {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 3px;
  font-weight: 500;
}
.pd-quote-summary .qs-stat .v {
  font-family: var(--font-display);
  font-size: 14px;
  color: white;
  font-weight: 500;
}
.pd-quote-summary .qs-stat .v .mono {
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}

.pd-quote-form-card {
  background: white;
  border: 1px solid var(--rule);
  border-top: 0;
  border-radius: 0 0 var(--r-md) var(--r-md);
  padding: 40px;
}
.pd-quote-form-card .form-head {
  margin-bottom: 24px;
  padding-bottom: 20px;
}
.pd-quote-form-card .form-head h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.018em;
  margin: 0;
  display: flex; align-items: baseline; gap: 10px;
  flex-wrap: wrap;
}
.pd-quote-form-card .form-head h3 .mono-sku {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--arista-blue-deep);
  letter-spacing: 0.06em;
  background: var(--arista-blue-tint);
  padding: 3px 8px;
  border-radius: 3px;
  border: 1px solid var(--arista-blue-tint-2);
}

/* ========== NOT FOUND ========== */
.pd-notfound {
  padding: 120px 0;
  text-align: center;
}
.pd-notfound h1 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  margin: 0 0 12px;
  letter-spacing: -0.025em;
}
.pd-notfound p {
  color: var(--ink-3);
  max-width: 48ch;
  margin: 0 auto 28px;
}

/* ========== RESPONSIVE (PD) ========== */
@media (max-width: 960px) {
  .pd-hero { grid-template-columns: 1fr; gap: 40px; }
  .pd-stage { aspect-ratio: 16/12; }
  .pd-section-head { grid-template-columns: 1fr; gap: 20px; }
  .pd-specs-grid { grid-template-columns: 1fr; }
  .pd-related-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-trust-inner { grid-template-columns: repeat(2, 1fr); }
  .pd-trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .pd-trust-item:nth-child(odd) { border-left: 0 !important; }
  .pd-quote-summary { grid-template-columns: 1fr; text-align: left; gap: 12px; padding: 18px; }
  .pd-actionbar { top: 64px; }
  .pd-actionbar-inner { height: auto; min-height: 48px; padding: 8px 0; flex-wrap: wrap; gap: 8px 12px; }
  .pd-actionbar-left { flex: 1 1 100%; gap: 10px; }
  .pd-actionbar .pd-back { padding-right: 10px; font-size: 11px; white-space: nowrap; }
  .pd-actionbar .pd-name-inline { display: none; }
  .pd-actionbar-right { flex: 1 1 100%; justify-content: stretch; }
  .pd-actionbar-right .btn { flex: 1; text-align: center; font-size: 11px; padding: 8px 10px; }
  .pd-secnav { top: 150px; }
  .pd-secnav-inner { overflow-x: auto; }
  .pd-secnav a { white-space: nowrap; padding: 14px 16px; }
}
