/*
 * A2TDEV Production Design Foundation — 2026
 *
 * Canonical shared visual language for every template extending main_base.html.
 * The homepage remains the visual reference; this layer translates that system
 * to operational pages without changing Django markup, forms, URLs or behavior.
 */

:root {
  /* Homepage primitives */
  --a2t-ink: #0b0f12;
  --a2t-ink-2: #12181c;
  --a2t-panel: #111817;
  --a2t-panel-raised: #151d1b;
  --a2t-panel-soft: #0e1413;
  --a2t-paper: #f2f1eb;
  --a2t-warm: #e7e3d8;
  --a2t-white: #f4f5f0;
  --a2t-silver: #d9e0dc;
  --a2t-copy: #9ca6a1;
  --a2t-copy-soft: #77827d;
  --a2t-accent: #c8f34f;
  --a2t-accent-hover: #ddff7d;
  --a2t-green: #1f5545;
  --a2t-green-deep: #173d34;
  --a2t-danger: #ff6f66;
  --a2t-warning: #f3c45a;
  --a2t-success: #a9d86d;

  /* Semantic compatibility aliases for legacy pages */
  --a2t-bg: var(--a2t-ink);
  --a2t-text: var(--a2t-silver);
  --a2t-muted: var(--a2t-copy);
  --a2t-black: var(--a2t-ink);
  --a2t-blue: var(--a2t-green);
  --a2t-blue-hover: #2b6d5a;
  --a2t-primary: var(--a2t-green);
  --a2t-line: rgba(255, 255, 255, .14);
  --a2t-line-soft: rgba(255, 255, 255, .085);
  --a2t-line-strong: rgba(255, 255, 255, .25);
  --a2t-control-line: #45504c;

  /* Layout */
  --a2t-container: 1240px; /* exact homepage prototype shell width */
  --a2t-gutter: 40px;
  --a2t-header-height: 82px;
  --a2t-header-compact-height: 70px;
  --a2t-page-nav-list-height: 62px;
  --a2t-page-nav-detail-height: 42px;
  --a2t-page-nav-media-gap: 14px;
  --a2t-hero-aside-drop: clamp(34px, 4.5vh, 52px);
  --a2t-hero-rail-center-screen: 68vh;
  --a2t-content-top: clamp(42px, 5vw, 72px);
  --a2t-content-bottom: clamp(76px, 9vw, 132px);

  /* Typography */
  --a2t-sans: "Manrope", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --a2t-mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --a2t-page-title: clamp(38px, 4.25vw, 62px);
  --a2t-section-title: clamp(28px, 3.2vw, 46px);

  /* Shape & motion */
  --a2t-radius-xs: 0px;
  --a2t-radius-sm: 0px;
  --a2t-radius-md: 0px;
  --a2t-radius-lg: 0px;
  --a2t-focus-ring: 0 0 0 3px rgba(200, 243, 79, .20);
  --a2t-shadow-soft: 0 16px 44px rgba(0, 0, 0, .13);
  --a2t-transition: 180ms ease;
}

/* --------------------------------------------------------------------------
   Document + accessibility
   -------------------------------------------------------------------------- */

html {
  background: var(--a2t-ink);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body.a2t-production-shell {
  min-height: 100vh;
  margin: 0;
  background: var(--a2t-ink) !important;
  color: var(--a2t-silver) !important;
  font: 400 15px/1.6 var(--a2t-sans) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.a2t-production-shell *,
body.a2t-production-shell *::before,
body.a2t-production-shell *::after {
  box-sizing: border-box;
}

body.a2t-production-shell a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.a2t-production-shell button,
body.a2t-production-shell input,
body.a2t-production-shell textarea,
body.a2t-production-shell select {
  font: inherit;
}

body.a2t-production-shell :is(a, button, input, textarea, select, [tabindex]):focus-visible {
  outline: 1px solid var(--a2t-accent) !important;
  outline-offset: 2px !important;
  box-shadow: var(--a2t-focus-ring) !important;
}

body.a2t-production-shell ::selection {
  background: var(--a2t-accent);
  color: var(--a2t-ink);
}

.a2t-skip-link {
  position: fixed !important;
  z-index: 10000 !important;
  top: 12px !important;
  left: 12px !important;
  transform: translateY(-150%);
  padding: 10px 14px !important;
  border: 1px solid var(--a2t-accent) !important;
  border-radius: 0 !important;
  background: var(--a2t-accent) !important;
  color: var(--a2t-ink) !important;
  font: 500 9px/1 var(--a2t-mono) !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform var(--a2t-transition);
}

.a2t-skip-link:focus { transform: none; }

/* --------------------------------------------------------------------------
   Shared shell
   -------------------------------------------------------------------------- */

body.a2t-production-shell .x-content {
  position: relative;
  min-height: calc(100svh - var(--a2t-header-height));
  overflow: clip;
  padding-top: 0;
  background:
    radial-gradient(circle at 78% -8%, rgba(200, 243, 79, .032), transparent 30%),
    var(--a2t-ink) !important;
  color: var(--a2t-silver);
}

body.a2t-production-shell .x-content::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(200, 243, 79, .24), transparent);
  opacity: .45;
}

body.a2t-production-shell :is(
  .a2t-global-breadcrumb-shell,
  .a2t-page-shell,
  .a2t-trust-page,
  .a2t-account-page,
  .a2t-auth-page,
  .a2t-cart-shell,
  .a2t-checkout-shell,
  .a2t-portal-shell,
  .a2t-payment-shell,
  .a2t-payment-status-page,
  .a2t-status-page,
  .a2t-legal-page,
  .a2t-activity-page,
  .a2t-activity-dashboard,
  .a2t-blog-search-page,
  .a2t-blog-categories-page,
  .a2t-mfa-page,
  .a2t-subscription-page,
  .a2t-error-page,
  .a2t-pr-page,
  .store-compact-page,
  .search-container,
  .blog-page-shell,
  .pm-layout,
  .pm-standards-shell,
  .pd-v6-shell
) {
  width: min(var(--a2t-container), calc(100% - (var(--a2t-gutter) * 2))) !important;
  max-width: var(--a2t-container) !important;
  margin-inline: auto !important;
}

/* Utility surfaces for page-specific migration phases.
   Surface text is contextual: headings inherit the surface foreground and
   general copy uses the surface-local --a2t-copy value. */
.a2t-surface-dark {
  --a2t-copy: #9ca6a1;
  --a2t-copy-soft: #77827d;
  color: var(--a2t-white);
  background: var(--a2t-ink);
  color-scheme: dark;
}
.a2t-surface-paper {
  --a2t-copy: #59635e;
  --a2t-copy-soft: #68726d;
  color: #111619;
  background: var(--a2t-paper);
  color-scheme: light;
}
.a2t-surface-warm {
  --a2t-copy: #59635e;
  --a2t-copy-soft: #68726d;
  color: #111619;
  background: var(--a2t-warm);
  color-scheme: light;
}
.a2t-surface-accent {
  --a2t-copy: #314334;
  --a2t-copy-soft: #45604e;
  color: var(--a2t-ink);
  background: var(--a2t-accent);
  color-scheme: light;
}

/* --------------------------------------------------------------------------
   Header — direct translation of the homepage navigation
   -------------------------------------------------------------------------- */

body.a2t-production-shell .a2t-site-header {
  position: sticky !important;
  z-index: 3000 !important;
  top: 0 !important;
  width: 100% !important;
  height: var(--a2t-header-height) !important;
  min-height: var(--a2t-header-height) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--a2t-line) !important;
  background: rgba(11, 15, 18, .90) !important;
  color: var(--a2t-white) !important;
  box-shadow: none !important;
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  transform: translateY(0);
  transition: height .25s ease, min-height .25s ease, background .25s ease, transform .25s ease !important;
}

body.a2t-production-shell .a2t-site-header.is-scrolled {
  height: var(--a2t-header-compact-height) !important;
  min-height: var(--a2t-header-compact-height) !important;
  background: rgba(11, 15, 18, .96) !important;
}

/* Page-level sticky navigation can take over the top edge on PC. Pages opt in
   by toggling .a2t-page-nav-stuck; mobile keeps the main header visible. */
@media (min-width: 1024px) {
  body.a2t-production-shell.a2t-page-nav-stuck:not(.a2t-nav-open) .a2t-site-header:not(.is-menu-open) {
    transform: translateY(-100%) !important;
    pointer-events: none;
  }

  html.a2t-notification-open body.a2t-production-shell.a2t-page-nav-stuck .a2t-site-header {
    transform: translateY(0) !important;
    pointer-events: auto;
  }
}

body.a2t-production-shell .a2t-nav-shell {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 var(--a2t-gutter) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: clamp(18px, 2vw, 32px) !important;
}

body.a2t-production-shell .a2t-brand,
body.a2t-production-shell .a2t-footer-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex: 0 0 auto;
  margin: 0 !important;
  color: var(--a2t-white) !important;
  font: 700 21px/1 var(--a2t-sans) !important;
  letter-spacing: -.06em !important;
  text-decoration: none !important;
  white-space: nowrap;
}

body.a2t-production-shell .a2t-brand-word,
body.a2t-production-shell .a2t-brand-word > span {
  line-height: 1;
}

body.a2t-production-shell .a2t-brand-word { color: var(--a2t-white) !important; }
body.a2t-production-shell .a2t-brand-word > span { color: var(--a2t-accent) !important; }

body.a2t-production-shell .a2t-nav-links {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(20px, 2.6vw, 34px) !important;
  margin: 0 auto !important;
  font-weight: 400 !important;
}

body.a2t-production-shell .a2t-nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: 0 !important;
  padding: 0 !important;
  color: #aeb5b3 !important;
  font: 500 12px/1 var(--a2t-sans) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  opacity: 1 !important;
  transition: color var(--a2t-transition) !important;
}

body.a2t-production-shell .a2t-nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--a2t-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--a2t-transition);
}

body.a2t-production-shell .a2t-nav-links a:hover,
body.a2t-production-shell .a2t-nav-links a.active,
body.a2t-production-shell .a2t-nav-links a[aria-current="page"] {
  color: var(--a2t-white) !important;
}

body.a2t-production-shell .a2t-nav-links a:hover::after,
body.a2t-production-shell .a2t-nav-links a.active::after,
body.a2t-production-shell .a2t-nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

body.a2t-production-shell .a2t-nav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto;
}

body.a2t-production-shell :is(.a2t-desktop-profile-icon, .a2t-desktop-utility-icon, .a2t-theme-toggle) {
  position: relative;
  width: 38px !important;
  min-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  display: inline-grid !important;
  place-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #45504c !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #aeb8b3 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transition: color var(--a2t-transition), border-color var(--a2t-transition), background var(--a2t-transition) !important;
}

body.a2t-production-shell :is(.a2t-desktop-profile-icon, .a2t-desktop-utility-icon, .a2t-theme-toggle):hover {
  border-color: #7b8781 !important;
  background: rgba(255, 255, 255, .03) !important;
  color: var(--a2t-white) !important;
  transform: none !important;
}

body.a2t-production-shell :is(.a2t-desktop-profile-icon, .a2t-desktop-utility-icon).active,
body.a2t-production-shell :is(.a2t-desktop-profile-icon, .a2t-desktop-utility-icon)[aria-current="page"] {
  border-color: var(--a2t-accent) !important;
  background: rgba(200, 243, 79, .045) !important;
  color: var(--a2t-white) !important;
  box-shadow: inset 0 -2px 0 var(--a2t-accent) !important;
}

body.a2t-production-shell .a2t-desktop-profile-icon > span {
  font: 600 10px/1 var(--a2t-mono) !important;
  letter-spacing: .04em;
}

body.a2t-production-shell .a2t-desktop-utility-icon > span {
  position: absolute !important;
  top: -6px !important;
  right: -6px !important;
  min-width: 17px !important;
  height: 17px !important;
  padding: 0 4px !important;
  display: grid !important;
  place-items: center !important;
  border: 2px solid var(--a2t-ink) !important;
  border-radius: 999px !important;
  background: var(--a2t-accent) !important;
  color: var(--a2t-ink) !important;
  font: 600 7px/1 var(--a2t-mono) !important;
  box-shadow: none !important;
}

body.a2t-production-shell .a2t-nav-cta {
  min-width: 0 !important;
  min-height: 40px !important;
  height: 40px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px;
  border: 1px solid #68716f !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--a2t-white) !important;
  font: 500 9px/1 var(--a2t-mono) !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: none !important;
  white-space: nowrap;
  transition: color var(--a2t-transition), background var(--a2t-transition), border-color var(--a2t-transition) !important;
}

body.a2t-production-shell .a2t-nav-cta:hover {
  border-color: var(--a2t-accent) !important;
  background: var(--a2t-accent) !important;
  color: var(--a2t-ink) !important;
  transform: none !important;
  box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   Breadcrumbs + page hierarchy
   -------------------------------------------------------------------------- */

body.a2t-production-shell .a2t-global-breadcrumb {
  min-height: 46px !important;
  display: flex;
  align-items: center;
  border: 0 !important;
  border-bottom: 1px solid var(--a2t-line-soft) !important;
  background: #0a0e10 !important;
  color: var(--a2t-copy-soft) !important;
}

body.a2t-production-shell .a2t-global-breadcrumb-shell {
  width: 100%;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: hidden;
  background: #0a0e10;
}

/* Upgrade 111: reset the actual ordered list on every viewport. Previously
   this only existed inside the phone media query, allowing Bootstrap/browser
   list numbering and block flow to leak into desktop internal pages. */
body.a2t-production-shell .a2t-global-breadcrumb ol {
  /* The breadcrumb shell is already constrained by --a2t-container. Keep the
     list full-width inside that shell so its first item aligns with every
     other page's left content edge. */
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  list-style: none !important;
}

body.a2t-production-shell .a2t-global-breadcrumb li {
  min-width: 0;
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap;
}

body.a2t-production-shell .a2t-global-breadcrumb li::marker {
  content: none;
}

body.a2t-production-shell .a2t-global-breadcrumb li + li::before {
  content: "/";
  flex: 0 0 auto;
  margin: 0 9px;
  color: #46514c;
}

body.a2t-production-shell .a2t-global-breadcrumb a,
body.a2t-production-shell .a2t-global-breadcrumb span {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
}

body.a2t-production-shell .a2t-global-breadcrumb a:focus-visible {
  outline: 1px solid var(--a2t-accent);
  outline-offset: 3px;
  color: var(--a2t-accent) !important;
}

body.a2t-production-shell .a2t-global-breadcrumb [aria-current="page"] {
  color: #c7cfcb !important;
}

body.a2t-production-shell :is(.a2t-global-breadcrumb, .breadcrumb, .pm-breadcrumb) {
  font: 500 8px/1.4 var(--a2t-mono) !important;
  letter-spacing: .105em !important;
  text-transform: uppercase !important;
}

body.a2t-production-shell :is(.a2t-global-breadcrumb, .breadcrumb, .pm-breadcrumb) a {
  color: #8e9994 !important;
  text-decoration: none !important;
}

body.a2t-production-shell :is(.a2t-global-breadcrumb, .breadcrumb, .pm-breadcrumb) a:hover {
  color: var(--a2t-accent) !important;
}

body.a2t-production-shell :is(.a2t-global-breadcrumb, .breadcrumb, .pm-breadcrumb) span {
  color: #65716b !important;
}

body.a2t-production-shell :is(h1, h2, h3, h4, h5, h6) {
  color: inherit;
  font-family: var(--a2t-sans) !important;
  text-wrap: balance;
}

body.a2t-production-shell :is(.a2t-page-title, .a2t-account-hero h1, .a2t-dashboard-hero h1, .blog-intro h1) {
  margin-bottom: 18px !important;
  color: inherit !important;
  font-size: var(--a2t-page-title) !important;
  font-weight: 600 !important;
  line-height: .99 !important;
  letter-spacing: -.055em !important;
}

body.a2t-production-shell :is(.a2t-section-heading, .a2t-account-card h2, .a2t-portal-panel h2) {
  color: inherit !important;
  font-size: var(--a2t-section-title);
  font-weight: 600 !important;
  line-height: 1.04;
  letter-spacing: -.045em !important;
}

body.a2t-production-shell :is(.a2t-page-kicker, .eyebrow, .pm-product-category, .pm-standards-kicker, .a2t-auth-kicker, .a2t-mini-pill) {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--a2t-accent) !important;
  font: 500 8px/1.35 var(--a2t-mono) !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

body.a2t-production-shell p {
  color: var(--a2t-copy);
}

body.a2t-production-shell :is(.a2t-muted, .a2t-page-lead, .text-muted) {
  color: var(--a2t-copy) !important;
}

body.a2t-production-shell .a2t-page-lead {
  max-width: 700px;
  font-size: clamp(15px, 1.3vw, 18px) !important;
  line-height: 1.7 !important;
}

/* --------------------------------------------------------------------------
   Shared surfaces + cards
   -------------------------------------------------------------------------- */

body.a2t-production-shell :is(
  .card,
  .a2t-account-card,
  .a2t-account-stats article,
  .a2t-portal-panel,
  .a2t-dashboard-stats article,
  .a2t-case-card,
  .a2t-testimonial-card,
  .a2t-notification-card,
  .a2t-section-block,
  .pm-controls,
  .pm-product,
  .pm-sidebar,
  .pm-standard-card,
  .a2t-cart-item,
  .a2t-cart-summary,
  .a2t-checkout-panel,
  .a2t-auth-card,
  .a2t-auth-brand-panel,
  .a2t-status-card,
  .a2t-payment-card,
  .a2t-legal-card,
  .a2t-pr-card
) {
  border: 1px solid var(--a2t-line) !important;
  border-radius: var(--a2t-radius-md) !important;
  background: var(--a2t-panel) !important;
  color: var(--a2t-silver) !important;
  box-shadow: none !important;
}

body.a2t-production-shell :is(.a2t-case-card, .pm-product, .pm-standard-card, .a2t-account-card, .a2t-testimonial-card) {
  transition: border-color var(--a2t-transition), background var(--a2t-transition), transform var(--a2t-transition) !important;
}

body.a2t-production-shell :is(.a2t-case-card, .pm-product, .pm-standard-card, .a2t-account-card, .a2t-testimonial-card):hover {
  border-color: var(--a2t-line-strong) !important;
  background: var(--a2t-panel-raised) !important;
  transform: translateY(-2px);
}

body.a2t-production-shell :is(.list-group-item, .accordion-item, .accordion-button, .offcanvas, .popover) {
  border-color: var(--a2t-line) !important;
  background: var(--a2t-panel) !important;
  color: var(--a2t-silver) !important;
  box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   Buttons + links
   -------------------------------------------------------------------------- */

body.a2t-production-shell :is(.btn, .a2t-btn, .a2t-btn-dark, .pm-card-action, .pm-standards-cta, .a2t-case-link, .project-action, button[type="submit"]) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 0 !important;
  vertical-align: middle;
  box-shadow: none !important;
  font: 500 9px/1 var(--a2t-mono) !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  transition: color var(--a2t-transition), background var(--a2t-transition), border-color var(--a2t-transition), transform var(--a2t-transition) !important;
}

body.a2t-production-shell :is(.btn-primary, .a2t-primary-btn, .a2t-btn-dark, .pm-card-action.primary, button[type="submit"]) {
  border-color: var(--a2t-accent) !important;
  background: var(--a2t-accent) !important;
  color: var(--a2t-ink) !important;
}

body.a2t-production-shell :is(.btn-primary, .a2t-primary-btn, .a2t-btn-dark, .pm-card-action.primary, button[type="submit"]):hover {
  border-color: var(--a2t-accent-hover) !important;
  background: var(--a2t-accent-hover) !important;
  color: var(--a2t-ink) !important;
  transform: none;
}

body.a2t-production-shell :is(.btn-secondary, .btn-outline-primary, .btn-outline-secondary, .a2t-btn) {
  border-color: var(--a2t-control-line) !important;
  background: transparent !important;
  color: var(--a2t-silver) !important;
}

body.a2t-production-shell :is(.btn-secondary, .btn-outline-primary, .btn-outline-secondary, .a2t-btn):hover {
  border-color: #6b7771 !important;
  background: rgba(255, 255, 255, .035) !important;
  color: var(--a2t-white) !important;
  transform: none;
}


/* Upgrade 72 — production buttons keep their geometry fixed. Motion belongs to
   explicit direction icons, never to the control container itself. */
body.a2t-production-shell :is(.btn, .a2t-btn, .a2t-btn-dark, .a2t-primary-btn, .a2t-editorial-button, .a2t-store-button, .pm-card-action, .pm-standards-cta, .a2t-case-link, .project-action, button[type="submit"]),
body.a2t-production-shell :is(.btn, .a2t-btn, .a2t-btn-dark, .a2t-primary-btn, .a2t-editorial-button, .a2t-store-button, .pm-card-action, .pm-standards-cta, .a2t-case-link, .project-action, button[type="submit"]):hover,
body.a2t-production-shell :is(.btn, .a2t-btn, .a2t-btn-dark, .a2t-primary-btn, .a2t-editorial-button, .a2t-store-button, .pm-card-action, .pm-standards-cta, .a2t-case-link, .project-action, button[type="submit"]):focus-visible,
body.a2t-production-shell :is(.btn, .a2t-btn, .a2t-btn-dark, .a2t-primary-btn, .a2t-editorial-button, .a2t-store-button, .pm-card-action, .pm-standards-cta, .a2t-case-link, .project-action, button[type="submit"]):active {
  transform: none !important;
}

body.a2t-production-shell a:not([class]) { color: var(--a2t-silver); }
body.a2t-production-shell a:not([class]):hover { color: var(--a2t-accent); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

body.a2t-production-shell :is(
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]),
  textarea,
  select,
  .form-control,
  .form-select,
  .input-group-text
) {
  min-height: 44px;
  border: 1px solid var(--a2t-control-line) !important;
  border-radius: var(--a2t-radius-xs) !important;
  background: #0f1514 !important;
  color: var(--a2t-white) !important;
  box-shadow: none !important;
}

body.a2t-production-shell textarea,
body.a2t-production-shell textarea.form-control {
  min-height: 118px;
  padding-top: 12px;
  resize: vertical;
}

body.a2t-production-shell :is(input, textarea)::placeholder {
  color: #64706a !important;
  opacity: 1 !important;
}

body.a2t-production-shell :is(input, textarea, select, .form-control, .form-select):hover {
  border-color: #59655f !important;
}

body.a2t-production-shell :is(input, textarea, select, .form-control, .form-select):focus {
  border-color: var(--a2t-accent) !important;
  background: #121a18 !important;
}

body.a2t-production-shell label,
body.a2t-production-shell .form-label {
  color: #b4beb9 !important;
  font-weight: 500;
}

body.a2t-production-shell .form-text,
body.a2t-production-shell .helptext,
body.a2t-production-shell .help-block {
  color: #707b75 !important;
  font-size: 12px;
}

body.a2t-production-shell :is(input[type="checkbox"], input[type="radio"], .form-check-input) {
  accent-color: var(--a2t-accent);
}

body.a2t-production-shell .form-check-input {
  border-color: #69756f !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

body.a2t-production-shell .form-check-input:checked {
  border-color: var(--a2t-accent) !important;
  background-color: var(--a2t-accent) !important;
}

/* --------------------------------------------------------------------------
   Dropdowns + modals
   -------------------------------------------------------------------------- */

body.a2t-production-shell :is(.dropdown-menu, .modal-content) {
  border: 1px solid var(--a2t-line) !important;
  border-radius: var(--a2t-radius-sm) !important;
  background: #0d1312 !important;
  color: var(--a2t-silver) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .35) !important;
}

body.a2t-production-shell .dropdown-menu {
  padding: 6px !important;
}

body.a2t-production-shell :is(.dropdown-item, .dropdown-menu a) {
  min-height: 38px;
  border-radius: var(--a2t-radius-xs) !important;
  color: #b5bfba !important;
}

body.a2t-production-shell :is(.dropdown-item:hover, .dropdown-item:focus, .dropdown-item.active, .dropdown-menu a:hover) {
  background: rgba(200, 243, 79, .07) !important;
  color: var(--a2t-accent) !important;
}

body.a2t-production-shell .modal-backdrop.show { opacity: .72 !important; }
body.a2t-production-shell :is(.modal-header, .modal-footer) { border-color: var(--a2t-line) !important; }
body.a2t-production-shell .btn-close { filter: invert(1) grayscale(1); opacity: .72; }

/* --------------------------------------------------------------------------
   Tables + dense data
   -------------------------------------------------------------------------- */

body.a2t-production-shell :is(.table, table) {
  --bs-table-bg: transparent;
  --bs-table-color: var(--a2t-silver);
  --bs-table-border-color: var(--a2t-line-soft);
  --bs-table-striped-bg: rgba(255, 255, 255, .018);
  --bs-table-hover-bg: rgba(200, 243, 79, .025);
  color: var(--a2t-silver) !important;
  border-color: var(--a2t-line-soft) !important;
}

body.a2t-production-shell :is(.table, table) th {
  color: #7d8983 !important;
  font: 500 8px/1.35 var(--a2t-mono) !important;
  letter-spacing: .10em !important;
  text-transform: uppercase !important;
  vertical-align: middle;
}

body.a2t-production-shell :is(.table, table) td {
  color: #c4ccc8;
  vertical-align: middle;
}

body.a2t-production-shell :is(.table, table) > :not(caption) > * > * {
  border-bottom-color: var(--a2t-line-soft) !important;
}

body.a2t-production-shell .table-hover > tbody > tr:hover > * {
  --bs-table-accent-bg: rgba(200, 243, 79, .025);
  color: var(--a2t-white) !important;
}

/* --------------------------------------------------------------------------
   Status, pagination, alerts
   -------------------------------------------------------------------------- */

body.a2t-production-shell :is(.badge, .status-badge, .project-status, .a2t-mini-pill) {
  border: 1px solid #3f4a45 !important;
  border-radius: var(--a2t-radius-xs) !important;
  background: transparent !important;
  color: #aab4af !important;
  font: 500 8px/1.3 var(--a2t-mono) !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
}

body.a2t-production-shell :is(.badge-success, .text-bg-success, .status-success, .is-success) { color: var(--a2t-success) !important; border-color: rgba(169, 216, 109, .42) !important; }
body.a2t-production-shell :is(.badge-warning, .text-bg-warning, .status-warning) { color: var(--a2t-warning) !important; border-color: rgba(243, 196, 90, .42) !important; }
body.a2t-production-shell :is(.badge-danger, .text-bg-danger, .status-danger, .is-danger) { color: var(--a2t-danger) !important; border-color: rgba(255, 111, 102, .42) !important; }

body.a2t-production-shell :is(.pagination, .pager) {
  gap: 4px;
}

body.a2t-production-shell .page-link {
  min-width: 38px;
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--a2t-control-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #aeb8b3 !important;
  box-shadow: none !important;
  font: 500 9px/1 var(--a2t-mono) !important;
}

body.a2t-production-shell .page-link:hover,
body.a2t-production-shell .page-item.active .page-link {
  border-color: var(--a2t-accent) !important;
  background: var(--a2t-accent) !important;
  color: var(--a2t-ink) !important;
}

body.a2t-production-shell :is(.alert, .toast) {
  border: 1px solid var(--a2t-line) !important;
  border-radius: var(--a2t-radius-sm) !important;
  background: var(--a2t-panel) !important;
  color: var(--a2t-silver) !important;
  box-shadow: none !important;
}

/* --------------------------------------------------------------------------
   Notifications
   -------------------------------------------------------------------------- */

body.a2t-production-shell .a2t-notification-modal {
  position: fixed !important;
  z-index: 4000 !important;
  inset: 0 !important;
  display: grid !important;
  place-items: start end !important;
  padding: calc(var(--a2t-header-height) + 16px) 18px 18px !important;
  overflow: auto !important;
  background: rgba(4, 7, 8, .78) !important;
  backdrop-filter: blur(10px);
}

body.a2t-production-shell .a2t-notification-modal[hidden] {
  display: none !important;
}

body.a2t-production-shell .a2t-notification-dialog {
  width: min(440px, calc(100vw - 36px)) !important;
  max-height: min(720px, calc(100dvh - var(--a2t-header-height) - 34px)) !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border: 1px solid var(--a2t-line) !important;
  border-radius: var(--a2t-radius-sm) !important;
  background: #0d1312 !important;
  color: var(--a2t-silver) !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .48) !important;
}

body.a2t-production-shell .a2t-notification-head {
  min-height: 88px !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  padding: 18px !important;
  border-bottom: 1px solid var(--a2t-line) !important;
  background: #0d1312 !important;
  box-shadow: none !important;
}

body.a2t-production-shell .a2t-notification-head h2 {
  margin: 4px 0 3px !important;
  color: var(--a2t-white) !important;
  font: 600 22px/1.15 var(--a2t-sans) !important;
  letter-spacing: -.04em;
}

body.a2t-production-shell .a2t-notification-head p {
  margin: 0 !important;
  color: var(--a2t-copy) !important;
  font-size: 12px !important;
}

body.a2t-production-shell .a2t-notification-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex: 0 0 auto !important;
}

body.a2t-production-shell .a2t-notification-actions > strong {
  min-width: 24px !important;
  height: 24px !important;
  padding: 0 7px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px !important;
  background: var(--a2t-accent) !important;
  color: var(--a2t-ink) !important;
  font: 600 8px/1 var(--a2t-mono) !important;
}

body.a2t-production-shell .a2t-notification-list {
  min-height: 0 !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
}


body.a2t-production-shell .a2t-notification-item {
  min-height: 92px !important;
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) auto !important;
  align-items: start !important;
  gap: 12px !important;
  padding: 15px 18px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--a2t-line-soft) !important;
  background: transparent !important;
  color: var(--a2t-silver) !important;
  text-decoration: none !important;
}

body.a2t-production-shell .a2t-notification-icon {
  width: 38px !important;
  height: 38px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid rgba(200, 243, 79, .16) !important;
  background: rgba(200, 243, 79, .07) !important;
  color: var(--a2t-accent) !important;
}

body.a2t-production-shell .a2t-notification-copy {
  min-width: 0 !important;
  display: grid !important;
  gap: 4px !important;
}

body.a2t-production-shell .a2t-notification-copy :is(strong, span, em, small) {
  display: block !important;
}

body.a2t-production-shell .a2t-notification-copy strong {
  color: var(--a2t-white) !important;
  font-size: 13px !important;
}

body.a2t-production-shell .a2t-notification-copy span {
  color: var(--a2t-copy) !important;
  font-size: 12px !important;
}

body.a2t-production-shell .a2t-notification-empty {
  min-height: 220px !important;
  display: grid !important;
  place-content: center !important;
  gap: 8px !important;
  padding: 30px !important;
  text-align: center !important;
}

body.a2t-production-shell .a2t-notification-empty strong {
  color: var(--a2t-white) !important;
}

body.a2t-production-shell .a2t-notification-empty span {
  max-width: 310px !important;
  color: var(--a2t-copy) !important;
  font-size: 12px !important;
}

body.a2t-production-shell .a2t-notification-item:hover {
  border-color: rgba(200, 243, 79, .28) !important;
  background: rgba(200, 243, 79, .035) !important;
}

body.a2t-production-shell .a2t-notification-item.is-viewed { opacity: .58; }
body.a2t-production-shell .a2t-notification-copy small { color: #74807a !important; font-family: var(--a2t-mono) !important; }
body.a2t-production-shell .a2t-notification-copy em { color: var(--a2t-accent) !important; }
body.a2t-production-shell .a2t-icon-btn { border-radius: 0 !important; border-color: var(--a2t-control-line) !important; background: transparent !important; color: #b5bfba !important; }

/* --------------------------------------------------------------------------
   Loader + snackbar
   -------------------------------------------------------------------------- */

#loader-overlay {
  position: fixed !important;
  z-index: 99999 !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center !important;
  background: var(--a2t-ink) !important;
  color: var(--a2t-white) !important;
}

#loader-overlay.is-complete,
#loader-overlay[hidden] { display: none !important; }

#loader-overlay .loader-circle {
  width: min(300px, calc(100vw - 64px)) !important;
  height: auto !important;
  display: grid !important;
  gap: 14px !important;
  padding: 18px 0 !important;
  border: 0 !important;
  border-top: 1px solid rgba(200, 243, 79, .46) !important;
  border-bottom: 1px solid var(--a2t-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

#loader-overlay :is(.loader-line-mask, .loader-line, .loader) { display: none !important; }

#loader-overlay .loader-content {
  position: static !important;
  margin: 0 !important;
  color: #8e9994 !important;
  font: 500 8px/1 var(--a2t-mono) !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}

#loader-overlay .loader-content::after {
  content: "  /  A2TDEV";
  color: var(--a2t-accent);
}

#snackbar {
  position: fixed !important;
  z-index: 5000 !important;
  right: 22px !important;
  bottom: 22px !important;
  width: min(390px, calc(100vw - 44px)) !important;
  min-height: 48px !important;
  padding: 13px 16px !important;
  border: 1px solid var(--a2t-line) !important;
  border-radius: var(--a2t-radius-sm) !important;
  background: #0d1312 !important;
  color: var(--a2t-white) !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .32) !important;
  font: 500 11px/1.5 var(--a2t-sans) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(12px) !important;
  pointer-events: none !important;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease !important;
}
#snackbar.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}
#snackbar[data-kind="success"] { border-color: rgba(169,216,109,.38) !important; }
#snackbar[data-kind="warning"] { border-color: rgba(243,196,90,.42) !important; }
#snackbar[data-kind="error"],
#snackbar[data-kind="danger"] { border-color: rgba(255,111,102,.42) !important; }

/* --------------------------------------------------------------------------
   Footer — same cadence as homepage, retaining CMS-driven columns
   -------------------------------------------------------------------------- */

body.a2t-production-shell .a2t-footer {
  padding: 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--a2t-line) !important;
  background: #070a0c !important;
  color: var(--a2t-silver) !important;
}

body.a2t-production-shell .a2t-footer-shell {
  width: min(var(--a2t-container), calc(100% - (var(--a2t-gutter) * 2))) !important;
  max-width: var(--a2t-container) !important;
  margin-inline: auto !important;
}

body.a2t-production-shell .a2t-footer-top {
  display: grid !important;
  grid-template-columns: minmax(240px, 1.25fr) minmax(0, 2fr) !important;
  gap: clamp(54px, 8vw, 110px) !important;
  padding: 72px 0 56px !important;
}

body.a2t-production-shell .a2t-footer-brand-block p {
  max-width: 320px !important;
  margin: 18px 0 0 !important;
  color: #7e8984 !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}

body.a2t-production-shell .a2t-footer-grid {
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(24px, 4vw, 60px) !important;
}

body.a2t-production-shell .a2t-footer-column h4 {
  margin: 0 0 18px !important;
  color: #65716b !important;
  font: 500 8px/1.3 var(--a2t-mono) !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
}

body.a2t-production-shell .a2t-footer-column a {
  display: block !important;
  width: fit-content;
  margin: 0 0 10px !important;
  color: #a6b0ab !important;
  font: 500 11px/1.45 var(--a2t-sans) !important;
  text-decoration: none !important;
}

body.a2t-production-shell .a2t-footer-column a:hover { color: var(--a2t-accent) !important; }

body.a2t-production-shell .a2t-footer-bottom {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 24px 0 30px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  border-top: 1px solid var(--a2t-line) !important;
  color: #65716b !important;
  font: 500 8px/1.5 var(--a2t-mono) !important;
  letter-spacing: .06em !important;
}

body.a2t-production-shell .a2t-footer-bottom nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

body.a2t-production-shell .a2t-footer-bottom a {
  margin: 0 !important;
  color: #7d8883 !important;
  text-decoration: none !important;
}

body.a2t-production-shell .a2t-footer-bottom a:hover { color: var(--a2t-accent) !important; }

/* --------------------------------------------------------------------------
   Mobile navigation
   -------------------------------------------------------------------------- */

body.a2t-production-shell .a2t-mobile-menu-btn { display: none; }

/* The mobile drawer lives in the DOM on every page. Keep it fully out of the
   desktop layout so its fallback links can never leak below the header. */
body.a2t-production-shell .a2t-mobile-menu {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 900px) {
  :root { --a2t-gutter: 24px; }

  body.a2t-production-shell .a2t-nav-links { display: none !important; }

  body.a2t-production-shell .a2t-footer-top {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
}

@media (max-width: 760px) {
  :root {
    --a2t-gutter: 16px;
    --a2t-header-height: 64px;
  }

  body.a2t-production-shell {
    padding-top: var(--a2t-header-height) !important;
    font-size: 14px !important;
  }

  body.a2t-production-shell .a2t-site-header,
  body.a2t-production-shell .a2t-site-header.is-scrolled {
    position: fixed !important;
    height: var(--a2t-header-height) !important;
    min-height: var(--a2t-header-height) !important;
    background: rgba(11, 15, 18, .98) !important;
  }

  body.a2t-production-shell .a2t-site-header.is-hidden:not(.is-menu-open) {
    transform: translateY(-100%) !important;
  }

  body.a2t-production-shell .a2t-site-header.is-menu-open,
  html.a2t-nav-open body.a2t-production-shell .a2t-site-header,
  html.a2t-notification-open body.a2t-production-shell .a2t-site-header {
    transform: translateY(0) !important;
  }

  body.a2t-production-shell .a2t-nav-shell { padding: 0 var(--a2t-gutter) !important; }
  body.a2t-production-shell .a2t-brand { font-size: 20px !important; }

  body.a2t-production-shell :is(.a2t-desktop-profile-icon, .a2t-desktop-utility-icon, .a2t-theme-toggle, .a2t-nav-cta) {
    display: none !important;
  }

  body.a2t-production-shell .a2t-mobile-menu-btn {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    display: grid !important;
    place-items: center !important;
    gap: 4px !important;
    margin: 0 !important;
    padding: 10px !important;
    border: 1px solid #45504c !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--a2t-white) !important;
    box-shadow: none !important;
  }

  body.a2t-production-shell .a2t-mobile-menu-btn span {
    display: block !important;
    width: 18px !important;
    height: 1px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: currentColor !important;
  }

  body.a2t-production-shell .a2t-mobile-menu {
    position: fixed !important;
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 2999 !important;
    inset: var(--a2t-header-height) 0 auto !important;
    width: 100% !important;
    height: 0 !important;
    max-height: none !important;
    display: block !important;
    overflow: hidden !important;
    border: 0 !important;
    border-bottom: 0 solid var(--a2t-line) !important;
    background: var(--a2t-ink) !important;
    color: var(--a2t-white) !important;
    box-shadow: none !important;
    transition: height .28s ease, border-color .2s ease !important;
  }

  body.a2t-production-shell .a2t-mobile-menu.is-open {
    height: calc(100dvh - var(--a2t-header-height)) !important;
    border-bottom-width: 1px !important;
  }

  body.a2t-production-shell .a2t-mobile-menu-inner {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 18px var(--a2t-gutter) 30px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.a2t-production-shell .a2t-mobile-nav-quick {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 56px !important;
    gap: 8px !important;
    margin: 0 0 8px !important;
  }

  body.a2t-production-shell :is(.a2t-mobile-cart-link, .a2t-mobile-profile-link, .a2t-mobile-links a, .a2t-mobile-cta, .a2t-mobile-nav-notification) {
    border: 1px solid var(--a2t-line) !important;
    border-radius: 0 !important;
    background: var(--a2t-panel) !important;
    color: var(--a2t-white) !important;
    box-shadow: none !important;
  }

  body.a2t-production-shell .a2t-mobile-nav-quick > .a2t-mobile-cart-link,
  body.a2t-production-shell .a2t-mobile-nav-quick > .a2t-mobile-nav-notification.a2t-mobile-nav-notification-icon {
    min-height: 58px !important;
    height: 58px !important;
    margin: 0 !important;
  }

  body.a2t-production-shell .a2t-mobile-nav-quick > .a2t-mobile-nav-notification.a2t-mobile-nav-notification-icon {
    position: relative !important;
    width: 100% !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 !important;
  }

  body.a2t-production-shell .a2t-mobile-nav-quick > .a2t-mobile-nav-notification.a2t-mobile-nav-notification-icon i {
    width: auto !important;
    height: auto !important;
    display: inline !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #aeb8b3 !important;
    font-size: 15px !important;
  }

  body.a2t-production-shell .a2t-mobile-nav-quick > .a2t-mobile-nav-notification.a2t-mobile-nav-notification-icon > strong {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    min-width: 16px !important;
    height: 16px !important;
    padding: 0 4px !important;
    display: grid !important;
    place-items: center !important;
    border: 1px solid var(--a2t-ink) !important;
    border-radius: 999px !important;
    background: var(--a2t-accent) !important;
    color: var(--a2t-ink) !important;
    font: 600 7px/1 var(--a2t-mono) !important;
    box-shadow: none !important;
  }

  body.a2t-production-shell .a2t-mobile-profile-link {
    min-height: 66px !important;
    margin: 0 0 8px !important;
  }

  body.a2t-production-shell .a2t-mobile-profile-avatar {
    border-radius: 50% !important;
    background: rgba(200, 243, 79, .08) !important;
    color: var(--a2t-accent) !important;
  }

  body.a2t-production-shell .a2t-mobile-links {
    display: grid !important;
    gap: 0 !important;
    border-top: 1px solid var(--a2t-line) !important;
  }

  body.a2t-production-shell .a2t-mobile-links a {
    min-height: 52px !important;
    display: flex !important;
    align-items: center !important;
    margin-top: -1px !important;
    padding: 0 14px !important;
    border-right: 0 !important;
    border-left: 0 !important;
    font: 500 12px/1 var(--a2t-sans) !important;
    text-decoration: none !important;
  }

  body.a2t-production-shell .a2t-mobile-links a::after { color: #66736d !important; }

  body.a2t-production-shell .a2t-mobile-links a.active,
  body.a2t-production-shell .a2t-mobile-links a[aria-current="page"] {
    border-color: rgba(200, 243, 79, .30) !important;
    background: rgba(200, 243, 79, .04) !important;
    color: var(--a2t-accent) !important;
  }

  body.a2t-production-shell .a2t-mobile-cta {
    min-height: 48px !important;
    margin-top: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-color: var(--a2t-accent) !important;
    background: var(--a2t-accent) !important;
    color: var(--a2t-ink) !important;
    font: 500 9px/1 var(--a2t-mono) !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
  }

  body.a2t-production-shell .a2t-notification-modal {
    inset: var(--a2t-header-height) 0 0 !important;
    height: calc(100dvh - var(--a2t-header-height)) !important;
  }

  body.a2t-production-shell .a2t-notification-dialog {
    height: 100% !important;
    border-width: 0 !important;
    border-radius: 0 !important;
  }

  body.a2t-production-shell .a2t-notification-head {
    position: sticky !important;
    top: 0 !important;
    z-index: 20 !important;
    border-bottom: 1px solid var(--a2t-line) !important;
    background: #0d1312 !important;
  }

  body.a2t-production-shell :is(
    .a2t-global-breadcrumb-shell,
    .a2t-page-shell,
    .a2t-trust-page,
    .a2t-account-page,
    .a2t-auth-page,
    .a2t-cart-shell,
    .a2t-checkout-shell,
    .a2t-portal-shell,
    .a2t-payment-shell,
    .a2t-payment-status-page,
    .a2t-status-page,
    .a2t-legal-page,
    .a2t-activity-page,
    .a2t-activity-dashboard,
    .a2t-blog-search-page,
    .a2t-blog-categories-page,
    .a2t-mfa-page,
    .a2t-subscription-page,
    .a2t-error-page,
    .a2t-pr-page,
    .store-compact-page,
    .search-container,
    .blog-page-shell,
    .pm-layout,
    .pm-standards-shell,
    .pd-v6-shell,
    .a2t-footer-shell
  ) {
    width: calc(100% - (var(--a2t-gutter) * 2)) !important;
  }

  body.a2t-production-shell .a2t-global-breadcrumb { min-height: 40px !important; }
  body.a2t-production-shell :is(.a2t-page-title, .a2t-account-hero h1, .a2t-dashboard-hero h1, .blog-intro h1) { font-size: clamp(36px, 11vw, 50px) !important; }

  body.a2t-production-shell .a2t-footer-shell { width: calc(100% - (var(--a2t-gutter) * 2)) !important; }
  body.a2t-production-shell .a2t-footer-top { padding: 50px 0 42px !important; }
  body.a2t-production-shell .a2t-footer-grid { grid-template-columns: 1fr 1fr !important; gap: 32px 22px !important; }
  body.a2t-production-shell .a2t-footer-bottom { flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; }
  body.a2t-production-shell .a2t-footer-bottom nav { flex-wrap: wrap; gap: 10px 16px; }
}

@media (max-width: 430px) {
  body.a2t-production-shell .a2t-footer-grid { grid-template-columns: 1fr !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.a2t-production-shell *,
  body.a2t-production-shell *::before,
  body.a2t-production-shell *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* --------------------------------------------------------------------------
   Upgrade 09 — canonical empty state
   -------------------------------------------------------------------------- */

body.a2t-production-shell :is(.a2t-empty-state, .empty-state) {
  position: relative;
  width: 100%;
  margin: 0;
  padding: clamp(36px, 5vw, 58px) clamp(22px, 4vw, 42px) !important;
  border: 0 !important;
  border-top: 1px solid var(--a2t-accent) !important;
  border-bottom: 1px solid var(--a2t-line) !important;
  border-radius: 0 !important;
  background: rgba(17, 24, 23, .34) !important;
  color: var(--a2t-copy) !important;
  text-align: left !important;
}

body.a2t-production-shell :is(.a2t-empty-state, .empty-state)::before {
  content: "EMPTY / STATE";
  display: block;
  margin-bottom: 22px;
  color: var(--a2t-accent);
  font: 500 8px/1.35 var(--a2t-mono);
  letter-spacing: .11em;
}

body.a2t-production-shell :is(.a2t-empty-state, .empty-state) h3 {
  margin: 0 0 9px !important;
  color: var(--a2t-white) !important;
  font: 600 clamp(22px, 2.5vw, 31px)/1.08 var(--a2t-sans) !important;
  letter-spacing: -.04em !important;
}

body.a2t-production-shell :is(.a2t-empty-state, .empty-state) p {
  max-width: 610px;
  margin: 0 0 23px !important;
  color: var(--a2t-copy) !important;
  font-style: normal !important;
  line-height: 1.7 !important;
}

body.a2t-production-shell :is(.a2t-empty-state, .empty-state) :is(.a2t-btn, .a2t-btn-dark, .btn) {
  margin-top: 3px;
}

/* --------------------------------------------------------------------------
   Upgrade 16 — global contextual cart drawer
   -------------------------------------------------------------------------- */

html.a2t-cart-open,
html.a2t-cart-open body {
  overflow: hidden !important;
}

body.a2t-production-shell .a2t-cart-drawer-layer {
  position: fixed;
  inset: 0;
  z-index: 12040;
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(480px, 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 190ms ease, visibility 190ms ease;
}

body.a2t-production-shell .a2t-cart-drawer-layer[hidden] {
  display: none !important;
}

body.a2t-production-shell .a2t-cart-drawer-layer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.a2t-production-shell .a2t-cart-drawer-backdrop {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(4, 8, 9, .76) !important;
  cursor: default;
  opacity: 0;
  transition: opacity 190ms ease;
}

body.a2t-production-shell .a2t-cart-drawer-layer.is-open .a2t-cart-drawer-backdrop {
  opacity: 1;
}

body.a2t-production-shell .a2t-cart-drawer {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  border: 0 !important;
  border-left: 1px solid var(--a2t-line-strong) !important;
  border-radius: 0 !important;
  background: #0e1413 !important;
  color: var(--a2t-silver) !important;
  box-shadow: -28px 0 70px rgba(0, 0, 0, .24);
  transform: translate3d(100%, 0, 0);
  transition: transform 260ms cubic-bezier(.22, .8, .2, 1);
}

body.a2t-production-shell .a2t-cart-drawer-layer.is-open .a2t-cart-drawer {
  transform: translate3d(0, 0, 0);
}

body.a2t-production-shell .a2t-cart-drawer-loading {
  display: grid;
  align-content: center;
  min-height: 100%;
  gap: 9px;
  padding: 36px;
  color: var(--a2t-copy);
}

body.a2t-production-shell .a2t-cart-drawer-loading[hidden] { display: none !important; }
body.a2t-production-shell .a2t-cart-drawer-loading span,
body.a2t-production-shell .a2t-cart-drawer-head span,
body.a2t-production-shell .a2t-cart-drawer-empty > span {
  color: var(--a2t-accent);
  font: 500 9px/1.4 var(--a2t-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
}
body.a2t-production-shell .a2t-cart-drawer-loading strong {
  color: var(--a2t-white);
  font: 600 24px/1.1 var(--a2t-sans);
  letter-spacing: -.035em;
}

body.a2t-production-shell .a2t-cart-drawer-content {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  height: 100dvh;
  min-height: 0;
}

body.a2t-production-shell .a2t-cart-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px 24px;
  border-bottom: 1px solid var(--a2t-line);
}
body.a2t-production-shell .a2t-cart-drawer-head > div { min-width: 0; }
body.a2t-production-shell .a2t-cart-drawer-head h2 {
  margin: 7px 0 0 !important;
  color: var(--a2t-white) !important;
  font: 600 32px/1 var(--a2t-sans) !important;
  letter-spacing: -.05em !important;
}
body.a2t-production-shell .a2t-cart-drawer-close {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--a2t-line-strong) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--a2t-silver) !important;
  transition: border-color var(--a2t-transition), color var(--a2t-transition), background var(--a2t-transition);
}
body.a2t-production-shell .a2t-cart-drawer-close:hover {
  border-color: var(--a2t-accent) !important;
  background: var(--a2t-accent) !important;
  color: var(--a2t-ink) !important;
}

body.a2t-production-shell .a2t-cart-drawer-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 46px;
  padding: 0 30px;
  border-bottom: 1px solid var(--a2t-line);
  color: var(--a2t-copy);
  font: 500 9px/1.3 var(--a2t-mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
body.a2t-production-shell .a2t-cart-drawer-summary-line strong {
  color: var(--a2t-white);
  font-size: 11px;
}

body.a2t-production-shell .a2t-cart-drawer-list {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--a2t-control-line) transparent;
}
body.a2t-production-shell .a2t-cart-drawer-item {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 30px;
  border-bottom: 1px solid var(--a2t-line);
  background: transparent;
}
body.a2t-production-shell .a2t-cart-drawer-item.is-locked { background: rgba(255,255,255,.018); }
body.a2t-production-shell .a2t-cart-drawer-media {
  position: relative;
  display: grid;
  place-items: center;
  align-self: start;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border: 1px solid var(--a2t-line) !important;
  border-radius: 0 !important;
  background: #111817;
  color: var(--a2t-accent) !important;
  text-decoration: none !important;
  font: 600 15px/1 var(--a2t-mono);
}
body.a2t-production-shell .a2t-cart-drawer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.a2t-production-shell .a2t-cart-drawer-item-copy { min-width: 0; }
body.a2t-production-shell .a2t-cart-drawer-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
body.a2t-production-shell .a2t-cart-drawer-item-top > a {
  min-width: 0;
  color: var(--a2t-white) !important;
  text-decoration: none !important;
  font: 600 14px/1.35 var(--a2t-sans);
  letter-spacing: -.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.a2t-production-shell .a2t-cart-drawer-lock {
  flex: 0 0 auto;
  padding: 4px 6px;
  border: 1px solid var(--a2t-line) !important;
  border-radius: 0 !important;
  color: var(--a2t-copy);
  font: 500 7px/1 var(--a2t-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.a2t-production-shell .a2t-cart-drawer-item-copy > p {
  margin: 8px 0 0;
  color: var(--a2t-copy-soft);
  font-size: 11px;
  line-height: 1.55;
}
body.a2t-production-shell .a2t-cart-drawer-item-form {
  margin-top: 14px;
}
body.a2t-production-shell .a2t-cart-drawer-qty {
  display: grid;
  grid-template-columns: 30px 46px 30px;
  width: max-content;
  border: 1px solid var(--a2t-line-strong);
}
body.a2t-production-shell .a2t-cart-drawer-qty button,
body.a2t-production-shell .a2t-cart-drawer-qty input {
  width: 100%;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--a2t-silver) !important;
  text-align: center;
  font: 500 10px/1 var(--a2t-mono);
}
body.a2t-production-shell .a2t-cart-drawer-qty button:first-child { border-right: 1px solid var(--a2t-line) !important; }
body.a2t-production-shell .a2t-cart-drawer-qty button:last-child { border-left: 1px solid var(--a2t-line) !important; }
body.a2t-production-shell .a2t-cart-drawer-qty button:hover { color: var(--a2t-accent) !important; }
body.a2t-production-shell .a2t-cart-drawer-qty input::-webkit-inner-spin-button,
body.a2t-production-shell .a2t-cart-drawer-qty input::-webkit-outer-spin-button { appearance: none; margin: 0; }
body.a2t-production-shell .a2t-cart-drawer-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
}
body.a2t-production-shell .a2t-cart-drawer-item-foot > span,
body.a2t-production-shell .a2t-cart-drawer-item-foot > strong,
body.a2t-production-shell .a2t-cart-drawer-remove {
  color: var(--a2t-copy);
  font: 500 8px/1.3 var(--a2t-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
body.a2t-production-shell .a2t-cart-drawer-item-foot > strong { color: var(--a2t-white); font-size: 10px; }
body.a2t-production-shell .a2t-cart-drawer-remove {
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-bottom: 1px solid transparent !important;
  border-radius: 0 !important;
  background: transparent !important;
}
body.a2t-production-shell .a2t-cart-drawer-remove:hover { color: var(--a2t-danger); border-bottom-color: currentColor !important; }

body.a2t-production-shell .a2t-cart-drawer-foot {
  padding: 22px 30px 26px;
  border-top: 1px solid var(--a2t-line-strong);
  background: #0b100f;
}
body.a2t-production-shell .a2t-cart-drawer-checkout { margin: 0; }
body.a2t-production-shell .a2t-cart-drawer-checkout > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 64px;
  padding: 12px 16px;
  border: 1px solid var(--a2t-accent) !important;
  border-radius: 0 !important;
  background: var(--a2t-accent) !important;
  color: var(--a2t-ink) !important;
  text-align: left;
}
body.a2t-production-shell .a2t-cart-drawer-checkout > button > span,
body.a2t-production-shell .a2t-cart-drawer-checkout > button > b {
  display: grid;
  gap: 3px;
}
body.a2t-production-shell .a2t-cart-drawer-checkout small {
  font: 500 7px/1.2 var(--a2t-mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .72;
}
body.a2t-production-shell .a2t-cart-drawer-checkout strong {
  font: 700 15px/1 var(--a2t-sans);
  letter-spacing: -.025em;
}
body.a2t-production-shell .a2t-cart-drawer-checkout b {
  font: 600 10px/1.2 var(--a2t-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
body.a2t-production-shell .a2t-cart-drawer-checkout i { font-style: normal; transition: transform var(--a2t-transition); }
body.a2t-production-shell .a2t-cart-drawer-checkout > button:hover i { transform: translateX(4px); }
body.a2t-production-shell .a2t-cart-drawer-review {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 12px;
  color: var(--a2t-copy) !important;
  text-decoration: none !important;
  font: 500 9px/1.4 var(--a2t-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
body.a2t-production-shell .a2t-cart-drawer-review:hover { color: var(--a2t-white) !important; }
body.a2t-production-shell .a2t-cart-drawer-no-checkout {
  display: grid;
  gap: 5px;
  padding: 14px 0;
  border-top: 1px solid var(--a2t-line);
  border-bottom: 1px solid var(--a2t-line);
}
body.a2t-production-shell .a2t-cart-drawer-no-checkout span { color: var(--a2t-silver); font-size: 12px; }
body.a2t-production-shell .a2t-cart-drawer-no-checkout small { color: var(--a2t-copy-soft); font-size: 10px; }

body.a2t-production-shell .a2t-cart-drawer-empty {
  display: grid;
  align-content: center;
  min-height: 0;
  height: 100%;
  padding: 34px 30px 54px;
}
body.a2t-production-shell .a2t-cart-drawer-empty h3 {
  max-width: 330px;
  margin: 16px 0 10px;
  color: var(--a2t-white);
  font: 600 36px/1 var(--a2t-sans);
  letter-spacing: -.055em;
}
body.a2t-production-shell .a2t-cart-drawer-empty p {
  max-width: 330px;
  margin: 0;
  color: var(--a2t-copy);
  font-size: 13px;
  line-height: 1.7;
}
body.a2t-production-shell .a2t-cart-drawer-empty a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 330px);
  margin-top: 28px;
  padding: 15px 16px;
  border: 1px solid var(--a2t-line-strong);
  color: var(--a2t-white) !important;
  text-decoration: none !important;
  font: 500 9px/1.2 var(--a2t-mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}
body.a2t-production-shell .a2t-cart-drawer-empty a:hover { border-color: var(--a2t-accent); color: var(--a2t-accent) !important; }
body.a2t-production-shell .a2t-cart-drawer-empty i { font-style: normal; }

body.a2t-production-shell .a2t-desktop-utility-icon[data-cart-drawer-open].is-cart-updated {
  border-color: var(--a2t-accent) !important;
  color: var(--a2t-accent) !important;
}

/* Upgrade 94: obsolete <=600px cart drawer override removed.
   Upgrade 93 owns the canonical <=760px/<=430px drawer composition. */

@media (prefers-reduced-motion: reduce) {
  body.a2t-production-shell .a2t-cart-drawer-layer,
  body.a2t-production-shell .a2t-cart-drawer,
  body.a2t-production-shell .a2t-cart-drawer-backdrop { transition: none !important; }
}

/* Upgrade 16 drawer loading/empty-state layout hardening. */
body.a2t-production-shell .a2t-cart-drawer > [data-cart-drawer-body] {
  height: 100%;
  min-height: 0;
}

body.a2t-production-shell .a2t-cart-drawer-loading {
  position: absolute;
  inset: 0;
  z-index: 4;
  min-height: 0;
  background: #0e1413;
}

body.a2t-production-shell .a2t-cart-drawer-content.is-empty .a2t-cart-drawer-empty {
  grid-row: 2 / -1;
}

body.a2t-production-shell .a2t-cart-drawer-media-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--a2t-accent);
  font: 600 15px/1 var(--a2t-mono);
  letter-spacing: .08em;
}
body.a2t-production-shell .a2t-cart-drawer-media img {
  position: relative;
  z-index: 1;
}

/* ========================================================================== 
   Upgrade 65 — canonical public header + legacy mobile navigation language
   The desktop header is shared by homepage and production pages. Small devices
   intentionally return to the original simple full-screen list navigation,
   translated into the current square / lime production visual system.
   ========================================================================== */
@media (max-width: 900px) {
  body.a2t-production-shell :is(.a2t-desktop-profile-icon, .a2t-desktop-utility-icon, .a2t-theme-toggle, .a2t-nav-cta) {
    display: none !important;
  }

  body.a2t-production-shell .a2t-mobile-menu-btn {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    display: grid !important;
    place-items: center !important;
    align-content: center !important;
    gap: 6px !important;
    margin: 0 !important;
    padding: 10px !important;
    border: 1px solid #45504c !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: var(--a2t-white) !important;
    box-shadow: none !important;
  }

  body.a2t-production-shell .a2t-mobile-menu-btn span {
    display: block !important;
    width: 19px !important;
    height: 1px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: currentColor !important;
    transform-origin: center;
    transition: transform .2s ease, opacity .2s ease !important;
  }

  body.a2t-production-shell .a2t-mobile-menu-btn.is-open span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  body.a2t-production-shell .a2t-mobile-menu-btn.is-open span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  body.a2t-production-shell .a2t-mobile-menu-legacy {
    position: fixed !important;
    z-index: 2999 !important;
    top: var(--a2t-header-height) !important;
    right: 0 !important;
    bottom: auto !important;
    left: 0 !important;
    width: 100% !important;
    height: 0 !important;
    display: block !important;
    visibility: visible !important;
    overflow: hidden !important;
    pointer-events: none !important;
    border: 0 !important;
    border-bottom: 0 solid var(--a2t-line) !important;
    background: rgba(11, 15, 18, .995) !important;
    color: var(--a2t-white) !important;
    opacity: 1 !important;
    transition: height .28s cubic-bezier(.2,.72,.18,1), border-color .2s ease !important;
  }

  body.a2t-production-shell .a2t-mobile-menu-legacy.is-open {
    height: calc(100dvh - var(--a2t-header-height)) !important;
    pointer-events: auto !important;
    border-bottom-width: 1px !important;
  }

  body.a2t-production-shell .a2t-mobile-menu-legacy .a2t-mobile-menu-inner {
    width: min(100%, 760px) !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 auto !important;
    padding: 22px var(--a2t-gutter) 34px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.a2t-production-shell .a2t-mobile-links-legacy {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border-top: 1px solid var(--a2t-line) !important;
  }

  body.a2t-production-shell .a2t-mobile-links-legacy > a {
    position: relative !important;
    min-height: 66px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 22px !important;
    margin: 0 !important;
    padding: 0 2px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--a2t-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #dce1de !important;
    box-shadow: none !important;
    font: 500 clamp(20px, 4vw, 26px)/1.15 var(--a2t-sans) !important;
    letter-spacing: -.035em !important;
    text-decoration: none !important;
    transition: color .18s ease, padding .18s ease, background .18s ease !important;
  }

  body.a2t-production-shell .a2t-mobile-links-legacy > a > i {
    flex: 0 0 auto !important;
    color: #66726d !important;
    font: 500 8px/1 var(--a2t-mono) !important;
    font-style: normal !important;
    letter-spacing: .08em !important;
  }

  body.a2t-production-shell .a2t-mobile-links-legacy > a:hover,
  body.a2t-production-shell .a2t-mobile-links-legacy > a:focus-visible,
  body.a2t-production-shell .a2t-mobile-links-legacy > a.active,
  body.a2t-production-shell .a2t-mobile-links-legacy > a[aria-current="page"] {
    padding-left: 10px !important;
    background: linear-gradient(90deg, rgba(200,243,79,.055), transparent 58%) !important;
    color: var(--a2t-white) !important;
  }

  body.a2t-production-shell .a2t-mobile-links-legacy > a.active::before,
  body.a2t-production-shell .a2t-mobile-links-legacy > a[aria-current="page"]::before {
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 0;
    width: 1px;
    content: "";
    background: var(--a2t-accent);
  }

  body.a2t-production-shell .a2t-mobile-links-legacy > .a2t-mobile-legacy-cta {
    min-height: 58px !important;
    margin-top: 18px !important;
    padding: 0 16px !important;
    border: 1px solid var(--a2t-accent) !important;
    background: var(--a2t-accent) !important;
    color: var(--a2t-ink) !important;
    font: 600 10px/1 var(--a2t-mono) !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
  }

  body.a2t-production-shell .a2t-mobile-links-legacy > .a2t-mobile-legacy-cta > i {
    color: var(--a2t-ink) !important;
    font-size: 12px !important;
  }

  body.a2t-production-shell .a2t-mobile-legacy-count {
    min-width: 18px !important;
    height: 18px !important;
    display: inline-grid !important;
    place-items: center !important;
    margin-left: 8px !important;
    padding: 0 5px !important;
    border-radius: 999px !important;
    background: var(--a2t-accent) !important;
    color: var(--a2t-ink) !important;
    font: 600 8px/1 var(--a2t-mono) !important;
    vertical-align: middle;
  }

  html.a2t-nav-open,
  body.a2t-production-shell.a2t-nav-open {
    overflow: hidden !important;
  }
}

/* Upgrade 74 — shared optical hero rail offset. The primary statement owns the
   true vertical center; technical/supporting rails sit deliberately lower. */
@media (min-width: 1024px) and (max-height: 820px) {
  :root { --a2t-hero-aside-drop: clamp(22px, 3vh, 32px); }
}

@media (max-width: 1023px) {
  :root { --a2t-hero-aside-drop: 0px; }
}

/* Upgrade 77 — shared hero rail center follows the approved Home composition. */
@supports (height: 100svh) {
  :root { --a2t-hero-rail-center-screen: 68svh; }
}

/* ========================================================================== 
   Upgrade 87 — shared small-device production foundation
   Desktop composition remains canonical. These rules only establish the
   common mobile viewport, safe-area, touch, breadcrumb and overlay contract.
   ========================================================================== */
:root {
  --a2t-safe-top: env(safe-area-inset-top, 0px);
  --a2t-safe-right: env(safe-area-inset-right, 0px);
  --a2t-safe-bottom: env(safe-area-inset-bottom, 0px);
  --a2t-safe-left: env(safe-area-inset-left, 0px);
  --a2t-mobile-viewport-height: 100dvh;
  --a2t-touch-target: 44px;
  --a2t-mobile-gutter: 16px;
}

@supports not (height: 100dvh) {
  :root { --a2t-mobile-viewport-height: 100vh; }
}

@media (max-width: 900px) {
  :root {
    --a2t-gutter: 24px;
  }

  html,
  body.a2t-production-shell {
    max-width: 100%;
    overflow-x: hidden;
  }

  @supports (overflow: clip) {
    html,
    body.a2t-production-shell { overflow-x: clip; }
  }

  body.a2t-production-shell :is(img, video, canvas, iframe) {
    max-width: 100%;
  }

  body.a2t-production-shell .a2t-mobile-menu-legacy {
    top: var(--a2t-header-height) !important;
  }

  body.a2t-production-shell .a2t-mobile-menu-legacy.is-open {
    height: calc(var(--a2t-mobile-viewport-height) - var(--a2t-header-height)) !important;
  }

  body.a2t-production-shell .a2t-mobile-menu-legacy .a2t-mobile-menu-inner {
    padding-right: max(var(--a2t-gutter), var(--a2t-safe-right)) !important;
    padding-bottom: max(34px, calc(18px + var(--a2t-safe-bottom))) !important;
    padding-left: max(var(--a2t-gutter), var(--a2t-safe-left)) !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(200, 243, 79, .28) transparent;
  }

  body.a2t-production-shell .a2t-mobile-menu-legacy .a2t-mobile-menu-inner::-webkit-scrollbar {
    width: 3px;
  }

  body.a2t-production-shell .a2t-mobile-menu-legacy .a2t-mobile-menu-inner::-webkit-scrollbar-thumb {
    background: rgba(200, 243, 79, .28);
  }

  body.a2t-production-shell .a2t-mobile-menu-btn {
    width: var(--a2t-touch-target) !important;
    min-width: var(--a2t-touch-target) !important;
    height: var(--a2t-touch-target) !important;
    min-height: var(--a2t-touch-target) !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  body.a2t-production-shell .a2t-mobile-links-legacy > a {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  body.a2t-production-shell .a2t-notification-modal {
    height: calc(var(--a2t-mobile-viewport-height) - var(--a2t-header-height)) !important;
  }

  body.a2t-production-shell .a2t-notification-dialog,
  body.a2t-production-shell .a2t-cart-drawer {
    padding-bottom: var(--a2t-safe-bottom);
  }

  html.a2t-nav-open,
  html.a2t-notification-open,
  html.a2t-cart-open,
  body.a2t-production-shell.a2t-nav-open,
  body.a2t-production-shell.a2t-notification-open,
  body.a2t-production-shell.a2t-cart-open {
    overscroll-behavior: none;
  }
}

@media (max-width: 760px) {
  :root {
    --a2t-gutter: var(--a2t-mobile-gutter);
    --a2t-header-height: calc(64px + var(--a2t-safe-top));
  }

  body.a2t-production-shell .a2t-site-header,
  body.a2t-production-shell .a2t-site-header.is-scrolled {
    padding-top: var(--a2t-safe-top) !important;
  }

  body.a2t-production-shell .a2t-nav-shell {
    padding-right: max(var(--a2t-gutter), var(--a2t-safe-right)) !important;
    padding-left: max(var(--a2t-gutter), var(--a2t-safe-left)) !important;
  }

  /* Breadcrumbs are a one-line navigation strip on phones. Long paths scroll
     locally rather than increasing the page width or wrapping into tall bars. */
  body.a2t-production-shell .a2t-global-breadcrumb-shell {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  body.a2t-production-shell .a2t-global-breadcrumb {
    width: 100% !important;
    min-height: 40px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  body.a2t-production-shell .a2t-global-breadcrumb::-webkit-scrollbar { display: none; }

  body.a2t-production-shell .a2t-global-breadcrumb ol {
    width: max-content;
    max-width: none;
    min-width: 100%;
    margin: 0 !important;
    padding: 0 max(var(--a2t-gutter), var(--a2t-safe-right)) 0 max(var(--a2t-gutter), var(--a2t-safe-left)) !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 0 !important;
    list-style: none !important;
  }

  body.a2t-production-shell .a2t-global-breadcrumb li {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 auto !important;
    white-space: nowrap !important;
  }

  body.a2t-production-shell .a2t-global-breadcrumb li + li::before {
    margin: 0 8px;
    color: #4f5a55;
    content: "/";
  }

  body.a2t-production-shell .a2t-global-breadcrumb a,
  body.a2t-production-shell .a2t-global-breadcrumb span {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
  }

  /* Shared phone controls: keep production geometry square while ensuring a
     practical finger target. Tiny checkboxes/radios remain native-sized. */
  body.a2t-production-shell :is(
    .btn,
    .a2t-btn,
    .a2t-btn-dark,
    .a2t-primary-btn,
    .a2t-editorial-button,
    .a2t-store-button,
    .a2t-icon-btn,
    button[type="submit"],
    button[type="button"]
  ) {
    min-height: var(--a2t-touch-target);
  }

  body.a2t-production-shell :is(
    input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
    select
  ) {
    min-height: var(--a2t-touch-target);
  }

  body.a2t-production-shell textarea { min-height: 96px; }

  body.a2t-production-shell :is(input, select, textarea) {
    max-width: 100%;
  }

  body.a2t-production-shell .a2t-footer-top {
    padding-top: 48px !important;
    padding-bottom: 34px !important;
  }

  body.a2t-production-shell .a2t-footer-column h4 {
    margin-bottom: 10px !important;
  }

  body.a2t-production-shell .a2t-footer-column a {
    min-height: var(--a2t-touch-target);
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  body.a2t-production-shell .a2t-footer-bottom {
    padding-bottom: max(30px, calc(18px + var(--a2t-safe-bottom))) !important;
  }

  body.a2t-production-shell .a2t-footer-bottom nav a {
    min-height: var(--a2t-touch-target);
    display: inline-flex;
    align-items: center;
  }
}

@media (max-width: 430px) {
  :root { --a2t-gutter: 16px; }

  body.a2t-production-shell .a2t-mobile-menu-legacy .a2t-mobile-menu-inner {
    padding-top: 14px !important;
  }

  body.a2t-production-shell .a2t-mobile-links-legacy > a {
    min-height: 60px !important;
    gap: 14px !important;
    font-size: clamp(18px, 5.6vw, 22px) !important;
  }

  body.a2t-production-shell .a2t-mobile-links-legacy > a.active::before,
  body.a2t-production-shell .a2t-mobile-links-legacy > a[aria-current="page"]::before {
    top: 18px;
    bottom: 18px;
  }

  body.a2t-production-shell .a2t-mobile-links-legacy > .a2t-mobile-legacy-cta {
    min-height: 56px !important;
    margin-top: 14px !important;
  }
}

@media (max-width: 350px) {
  :root { --a2t-gutter: 14px; }

  body.a2t-production-shell .a2t-brand-word { font-size: 18px !important; }
  body.a2t-production-shell .a2t-mobile-links-legacy > a { font-size: 18px !important; }
}

@media (hover: none) and (pointer: coarse) {
  body.a2t-production-shell a,
  body.a2t-production-shell button {
    -webkit-tap-highlight-color: transparent;
  }
}

/* iOS/Safari scroll-lock completion: the existing runtime stores the current
   scroll offset in body.style.top; fixed positioning makes that contract real. */
@media (max-width: 900px) {
  body.a2t-production-shell.a2t-nav-open,
  body.a2t-production-shell.a2t-notification-open {
    position: fixed !important;
    right: 0;
    left: 0;
    width: 100%;
  }
}

/* ========================================================================== 
   Upgrade 93 — shared utility small-device details
   Notifications, cart drawer, breadcrumbs, footer, snackbar and empty states.
   ========================================================================== */

@media (max-width: 760px) {
  /* Notification surface uses the actual visible phone viewport and keeps the
     close control/header reachable while only the activity list scrolls. */
  body.a2t-production-shell .a2t-notification-modal {
    inset: var(--a2t-header-height) 0 0 !important;
    width: 100% !important;
    height: calc(var(--a2t-mobile-viewport-height) - var(--a2t-header-height)) !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #0d1312 !important;
    backdrop-filter: none;
  }

  body.a2t-production-shell .a2t-notification-dialog {
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    max-height: none !important;
    padding-bottom: var(--a2t-safe-bottom) !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body.a2t-production-shell .a2t-notification-head {
    flex: 0 0 auto;
    min-height: 0 !important;
    padding: 16px max(var(--a2t-gutter), var(--a2t-safe-right)) 15px max(var(--a2t-gutter), var(--a2t-safe-left)) !important;
  }

  body.a2t-production-shell .a2t-notification-head h2 {
    font-size: 25px !important;
  }

  body.a2t-production-shell .a2t-notification-head p {
    max-width: 42ch;
    font-size: 11px !important;
    line-height: 1.55 !important;
  }

  body.a2t-production-shell .a2t-notification-actions .a2t-icon-btn {
    width: var(--a2t-touch-target) !important;
    min-width: var(--a2t-touch-target) !important;
    height: var(--a2t-touch-target) !important;
  }

  body.a2t-production-shell .a2t-notification-list {
    flex: 1 1 auto;
    padding-bottom: max(14px, var(--a2t-safe-bottom));
    -webkit-overflow-scrolling: touch;
  }

  body.a2t-production-shell .a2t-notification-item {
    grid-template-columns: 36px minmax(0, 1fr) auto !important;
    min-height: 88px !important;
    gap: 11px !important;
    padding: 15px max(var(--a2t-gutter), var(--a2t-safe-right)) 15px max(var(--a2t-gutter), var(--a2t-safe-left)) !important;
  }

  body.a2t-production-shell .a2t-notification-icon {
    width: 36px !important;
    height: 36px !important;
  }

  body.a2t-production-shell .a2t-notification-copy :is(strong, span, em, small) {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  body.a2t-production-shell .a2t-notification-copy strong {
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  body.a2t-production-shell .a2t-notification-copy span {
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  body.a2t-production-shell .a2t-notification-item.is-viewed {
    opacity: .7;
  }

  body.a2t-production-shell .a2t-notification-empty {
    flex: 1 1 auto;
    min-height: 0 !important;
    padding: 32px max(var(--a2t-gutter), var(--a2t-safe-right)) max(40px, calc(22px + var(--a2t-safe-bottom))) max(var(--a2t-gutter), var(--a2t-safe-left)) !important;
  }

  body.a2t-production-shell .a2t-notification-empty span {
    font-size: 13px !important;
    line-height: 1.65 !important;
  }

  /* Cart becomes a true phone sheet. The runtime supplies the visible viewport
     height, so browser chrome/keyboard changes cannot strand footer actions. */
  body.a2t-production-shell .a2t-cart-drawer-layer {
    grid-template-columns: 1fr !important;
    height: var(--a2t-mobile-viewport-height) !important;
    max-height: var(--a2t-mobile-viewport-height) !important;
  }

  body.a2t-production-shell .a2t-cart-drawer {
    grid-column: 1 !important;
    width: 100% !important;
    height: var(--a2t-mobile-viewport-height) !important;
    border-left: 0 !important;
  }

  body.a2t-production-shell .a2t-cart-drawer-content {
    height: var(--a2t-mobile-viewport-height) !important;
  }

  body.a2t-production-shell .a2t-cart-drawer-loading {
    padding: max(30px, calc(18px + var(--a2t-safe-top))) max(var(--a2t-gutter), var(--a2t-safe-right)) max(36px, calc(18px + var(--a2t-safe-bottom))) max(var(--a2t-gutter), var(--a2t-safe-left)) !important;
  }

  body.a2t-production-shell .a2t-cart-drawer-head {
    padding: max(18px, calc(12px + var(--a2t-safe-top))) max(var(--a2t-gutter), var(--a2t-safe-right)) 16px max(var(--a2t-gutter), var(--a2t-safe-left)) !important;
  }

  body.a2t-production-shell .a2t-cart-drawer-head h2 {
    font-size: 28px !important;
  }

  body.a2t-production-shell .a2t-cart-drawer-close {
    flex-basis: var(--a2t-touch-target);
    width: var(--a2t-touch-target);
    height: var(--a2t-touch-target);
  }

  body.a2t-production-shell .a2t-cart-drawer-summary-line {
    min-height: 44px;
    padding-inline: max(var(--a2t-gutter), var(--a2t-safe-right)) max(var(--a2t-gutter), var(--a2t-safe-left)) !important;
  }

  body.a2t-production-shell .a2t-cart-drawer-list {
    -webkit-overflow-scrolling: touch;
  }

  body.a2t-production-shell .a2t-cart-drawer-item {
    grid-template-columns: 82px minmax(0, 1fr) !important;
    gap: 13px !important;
    padding: 17px max(var(--a2t-gutter), var(--a2t-safe-right)) 17px max(var(--a2t-gutter), var(--a2t-safe-left)) !important;
  }

  body.a2t-production-shell .a2t-cart-drawer-item-top > a,
  body.a2t-production-shell .a2t-cart-drawer-item-copy > p,
  body.a2t-production-shell .a2t-cart-drawer-item-foot > * {
    overflow-wrap: anywhere;
  }

  body.a2t-production-shell .a2t-cart-drawer-qty {
    grid-template-columns: 44px 52px 44px !important;
  }

  body.a2t-production-shell .a2t-cart-drawer-qty button,
  body.a2t-production-shell .a2t-cart-drawer-qty input {
    height: 44px !important;
    min-height: 44px !important;
  }

  body.a2t-production-shell .a2t-cart-drawer-qty input {
    font-size: 16px !important;
  }

  body.a2t-production-shell .a2t-cart-drawer-remove {
    min-height: 44px !important;
    display: inline-flex;
    align-items: center;
  }

  body.a2t-production-shell .a2t-cart-drawer-foot {
    padding: 16px max(var(--a2t-gutter), var(--a2t-safe-right)) max(20px, calc(12px + var(--a2t-safe-bottom))) max(var(--a2t-gutter), var(--a2t-safe-left)) !important;
  }

  body.a2t-production-shell .a2t-cart-drawer-review {
    min-height: var(--a2t-touch-target);
    align-items: center;
  }

  body.a2t-production-shell .a2t-cart-drawer-empty {
    padding: 30px max(var(--a2t-gutter), var(--a2t-safe-right)) max(48px, calc(28px + var(--a2t-safe-bottom))) max(var(--a2t-gutter), var(--a2t-safe-left)) !important;
  }

  body.a2t-production-shell .a2t-cart-drawer-empty h3 {
    font-size: clamp(30px, 9vw, 38px);
  }

  body.a2t-production-shell .a2t-cart-drawer-empty a {
    min-height: var(--a2t-touch-target);
    align-items: center;
  }

  /* Shared feedback/empty surfaces follow the same phone rhythm. */
  #snackbar {
    right: max(var(--a2t-gutter), var(--a2t-safe-right)) !important;
    bottom: max(16px, calc(10px + var(--a2t-safe-bottom))) !important;
    left: max(var(--a2t-gutter), var(--a2t-safe-left)) !important;
    width: auto !important;
    min-height: 52px !important;
    padding: 14px 15px !important;
    font-size: 12px !important;
  }

  #loader-overlay .loader-circle {
    width: min(280px, calc(100vw - (var(--a2t-gutter) * 2))) !important;
  }

  body.a2t-production-shell :is(.a2t-empty-state, .empty-state) {
    width: 100% !important;
    min-width: 0 !important;
    padding: 28px max(var(--a2t-gutter), var(--a2t-safe-right)) 30px max(var(--a2t-gutter), var(--a2t-safe-left)) !important;
  }

  body.a2t-production-shell :is(.a2t-empty-state, .empty-state) h3 {
    font-size: clamp(26px, 8vw, 36px) !important;
    overflow-wrap: anywhere;
  }

  body.a2t-production-shell :is(.a2t-empty-state, .empty-state) p {
    max-width: 38rem;
    font-size: 14px !important;
    line-height: 1.65 !important;
    overflow-wrap: anywhere;
  }

  body.a2t-production-shell :is(.a2t-empty-state, .empty-state) :is(.a2t-btn, .a2t-btn-dark, .btn) {
    min-height: var(--a2t-touch-target);
  }

  /* Breadcrumb strip gets scroll padding so programmatic/finger scrolling does
     not pin the first/last crumb underneath a safe-area edge. */
  body.a2t-production-shell .a2t-global-breadcrumb {
    scroll-padding-inline: max(var(--a2t-gutter), var(--a2t-safe-left));
    touch-action: pan-x;
  }

  /* Footer is deliberately less dense while retaining the existing CMS-driven
     structure. */
  body.a2t-production-shell .a2t-footer-brand-block p {
    max-width: 34rem;
    font-size: 13px !important;
    line-height: 1.7 !important;
  }

  body.a2t-production-shell .a2t-footer-grid {
    row-gap: 26px !important;
  }

  body.a2t-production-shell .a2t-footer-column a {
    font-size: 10px !important;
  }

  body.a2t-production-shell .a2t-footer-bottom > span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 430px) {
  body.a2t-production-shell .a2t-notification-head p {
    display: none;
  }

  body.a2t-production-shell .a2t-notification-item {
    grid-template-columns: 32px minmax(0, 1fr) auto !important;
    padding-block: 14px !important;
  }

  body.a2t-production-shell .a2t-notification-icon {
    width: 32px !important;
    height: 32px !important;
  }

  body.a2t-production-shell .a2t-cart-drawer-item {
    grid-template-columns: 72px minmax(0, 1fr) !important;
  }

  body.a2t-production-shell .a2t-cart-drawer-item-foot {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  body.a2t-production-shell .a2t-cart-drawer-remove {
    margin-top: 2px;
  }

  body.a2t-production-shell .a2t-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  body.a2t-production-shell .a2t-footer-bottom nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px !important;
  }

  body.a2t-production-shell .a2t-footer-bottom nav a {
    min-width: 0;
  }
}

@media (max-width: 350px) {
  body.a2t-production-shell .a2t-cart-drawer-item {
    grid-template-columns: 64px minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  body.a2t-production-shell .a2t-cart-drawer-lock {
    display: none;
  }

  body.a2t-production-shell .a2t-footer-bottom nav {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) and (pointer: coarse) {
  body.a2t-production-shell .a2t-notification-item:hover,
  body.a2t-production-shell .a2t-cart-drawer-close:hover,
  body.a2t-production-shell .a2t-cart-drawer-empty a:hover {
    transform: none !important;
  }
}

@media (max-width: 900px) {
  body.a2t-production-shell.a2t-cart-open {
    position: fixed !important;
    right: 0;
    left: 0;
    width: 100%;
  }
}
