/* =========================================================
   AgedYt — V2 premium dark/red theme
   Hardcoded for the AgedYt shop. Don't touch built.css.
   ========================================================= */

:root {
  --agedyt-red: #DC2626;
  --agedyt-red-light: #EF4444;
  --agedyt-red-deep: #7F1D1D;
  --agedyt-red-glow: 0 0 40px -10px rgba(220, 38, 38, 0.45);
  --agedyt-red-glow-strong: 0 12px 40px -8px rgba(220, 38, 38, 0.55);
  --agedyt-border: rgba(255, 255, 255, 0.06);
  --agedyt-border-hover: rgba(255, 255, 255, 0.12);
  --agedyt-border-accent: rgba(220, 38, 38, 0.35);
  --agedyt-bg: #0A0A0A;
  --agedyt-card: #161616;
  --agedyt-card-2: #1C1C1C;
  --agedyt-text: #FAFAFA;
  --agedyt-radius: 16px;
  --agedyt-radius-lg: 24px;
  --agedyt-pill: 999px;
  --agedyt-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --agedyt-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset / base typography ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.agedyt-body {
  font-family: 'Space Grotesk', sans-serif;
  font-feature-settings: "ss01", "ss02", "cv11";
  background-color: var(--agedyt-bg);
  background-image:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(220, 38, 38, 0.025) 0%, transparent 70%),
    radial-gradient(ellipse 60% 35% at 90% 50%, rgba(127, 29, 29, 0.02) 0%, transparent 70%),
    radial-gradient(ellipse 60% 35% at 10% 80%, rgba(220, 38, 38, 0.018) 0%, transparent 70%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--agedyt-text);
}

h1, h2, h3, h4 { letter-spacing: -0.02em; font-weight: 700; }
h1 { letter-spacing: -0.04em; line-height: 1; }
h2 { letter-spacing: -0.035em; line-height: 1.05; }
h3 { letter-spacing: -0.025em; line-height: 1.15; }

/* ---------- Selection + focus ---------- */

::selection { background: var(--agedyt-red); color: #fff; }
::-moz-selection { background: var(--agedyt-red); color: #fff; }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--agedyt-red) !important;
  outline-offset: 3px !important;
}

/* ---------- Scrollbar ---------- */

* { scrollbar-width: thin; scrollbar-color: rgba(220, 38, 38, 0.4) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--agedyt-bg); }
::-webkit-scrollbar-thumb {
  background: rgba(220, 38, 38, 0.35);
  border: 2px solid var(--agedyt-bg);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(220, 38, 38, 0.65); }

/* =========================================================
   Layered ambient background
   ========================================================= */

/* Ambient layers — used both as the legacy global stack (.agedyt-bg-stack)
   and now scoped inside the hero (.agedyt-hero-bg). */
.agedyt-bg-stack,
.agedyt-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.agedyt-bg-stack { position: fixed; }
.agedyt-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 80%);
  opacity: 0.7;
}
.agedyt-bg-spotlight {
  position: absolute;
  top: -10%;
  left: 0;
  right: 0;
  width: 100%;
  height: 80vh;
  transform: none;
  background: radial-gradient(ellipse 70% 80% at 50% 0%, rgba(239, 68, 68, 0.18) 0%, rgba(127, 29, 29, 0.10) 35%, transparent 75%);
  filter: blur(40px);
}
.agedyt-bg-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  will-change: transform;
}
.agedyt-bg-blob--a {
  top: -15vh; left: -10vw;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.35) 0%, rgba(220, 38, 38, 0) 70%);
  animation: agedyt-float-a 22s ease-in-out infinite alternate;
}
.agedyt-bg-blob--b {
  top: 0vh; right: -15vw;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(127, 29, 29, 0.40) 0%, rgba(127, 29, 29, 0) 70%);
  animation: agedyt-float-b 28s ease-in-out infinite alternate;
}
.agedyt-bg-blob--c {
  bottom: -20vh; left: 20vw;
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(153, 27, 27, 0.25) 0%, rgba(153, 27, 27, 0) 70%);
  animation: agedyt-float-c 34s ease-in-out infinite alternate;
  opacity: 0.4;
}
@keyframes agedyt-float-a {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(4vw, 3vh, 0) scale(1.1); }
  100% { transform: translate3d(-2vw, 6vh, 0) scale(0.95); }
}
@keyframes agedyt-float-b {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  50%  { transform: translate3d(-4vw, 4vh, 0) scale(1.08); }
  100% { transform: translate3d(3vw, -3vh, 0) scale(0.94); }
}
@keyframes agedyt-float-c {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-3vw, -4vh, 0) scale(1.1); }
}
.agedyt-bg-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* =========================================================
   Scroll progress
   ========================================================= */

#agedyt-scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, #EF4444 0%, #DC2626 50%, #7F1D1D 100%);
  box-shadow: 0 0 14px rgba(220, 38, 38, 0.7);
  z-index: 100;
  pointer-events: none;
  transition: width 80ms linear;
}

/* =========================================================
   Buttons — pill, gradient, glow, shine
   ========================================================= */

.btn-agedyt {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.85rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
  border-radius: var(--agedyt-pill);
  border: 1px solid transparent;
  color: #fff;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 50%, #B91C1C 100%);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.18) inset,
    0 0 0 1px rgba(220, 38, 38, 0.5),
    0 8px 24px -8px rgba(220, 38, 38, 0.55);
  transition: transform 220ms var(--agedyt-ease-out), box-shadow 220ms ease, filter 220ms ease;
  will-change: transform;
}
.btn-agedyt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.35) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 700ms var(--agedyt-ease-out);
  pointer-events: none;
  z-index: 0;
}
.btn-agedyt > * { position: relative; z-index: 1; }
.btn-agedyt:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.25) inset,
    0 0 0 1px rgba(239, 68, 68, 0.7),
    0 16px 36px -10px rgba(220, 38, 38, 0.7);
  filter: brightness(1.08);
}
.btn-agedyt:hover::before { transform: translateX(100%); }
.btn-agedyt:active { transform: translateY(0) scale(1); }

.btn-agedyt-outline {
  background: rgba(255, 255, 255, 0.02);
  color: var(--agedyt-text);
  box-shadow:
    inset 0 0 0 1.5px rgba(220, 38, 38, 0.55),
    0 4px 16px -8px rgba(220, 38, 38, 0.25);
}
.btn-agedyt-outline::before { display: none; }
.btn-agedyt-outline:hover {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 50%, #B91C1C 100%);
  color: #fff;
  filter: none;
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.18) inset,
    0 0 0 1.5px rgba(239, 68, 68, 0.7),
    0 14px 30px -10px rgba(220, 38, 38, 0.55);
}

/* =========================================================
   Eyebrow pill (used in hero + sections)
   ========================================================= */

.agedyt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--agedyt-pill);
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid var(--agedyt-border);
  color: rgba(250, 250, 250, 0.78);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.agedyt-eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.7);
  animation: agedyt-pulse 2.4s ease-in-out infinite;
}
.agedyt-eyebrow .sparkle {
  width: 12px; height: 12px;
  color: var(--agedyt-red-light);
  display: inline-block;
}
@keyframes agedyt-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* =========================================================
   Hero section
   ========================================================= */

.agedyt-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* Break out of parent max-w-[85rem] so the ambient bg covers full viewport width */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}
.agedyt-hero > .relative {
  position: relative;
  z-index: 2;
}
.agedyt-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 12vh;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.6) 60%, #0A0A0A 100%);
  pointer-events: none;
  z-index: 0;
}

.agedyt-hero h1 {
  font-size: clamp(2.85rem, 7.5vw, 5.75rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.agedyt-hero h1 .text-accent-500,
.agedyt-hero h1 .agedyt-grad {
  display: inline;
  background: linear-gradient(135deg, #FCA5A5 0%, #EF4444 35%, #DC2626 65%, #7F1D1D 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.agedyt-hero p.agedyt-hero-subtitle {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: rgba(250, 250, 250, 0.68);
  line-height: 1.55;
  max-width: 38rem;
}

/* Social proof row */
.agedyt-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 1.15rem;
  padding: 0.55rem 1.1rem 0.55rem 0.55rem;
  border-radius: var(--agedyt-pill);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--agedyt-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.agedyt-avatars {
  display: inline-flex;
  align-items: center;
}
.agedyt-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 600;
  color: #fff;
  border: 2px solid #0A0A0A;
  margin-left: -8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  letter-spacing: 0;
  font-family: inherit;
}
.agedyt-avatar:first-child { margin-left: 0; }
.agedyt-avatar--red    { background: linear-gradient(135deg, #EF4444, #B91C1C); }
.agedyt-avatar--violet { background: linear-gradient(135deg, #A78BFA, #6D28D9); }
.agedyt-avatar--blue   { background: linear-gradient(135deg, #60A5FA, #1D4ED8); }
.agedyt-avatar--orange { background: linear-gradient(135deg, #FB923C, #C2410C); }
.agedyt-avatar--green  { background: linear-gradient(135deg, #4ADE80, #15803D); }

.agedyt-stars {
  display: inline-flex;
  gap: 1px;
  color: #FBBF24;
}
.agedyt-stars svg { width: 14px; height: 14px; }

.agedyt-proof-text {
  font-size: 0.82rem;
  color: rgba(250, 250, 250, 0.7);
  font-weight: 500;
}
.agedyt-proof-text strong { color: #fff; font-weight: 600; }

/* Trust strip (icon+text under proof) */
.agedyt-trust {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
}
.agedyt-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(250, 250, 250, 0.55);
}
.agedyt-trust-item i,
.agedyt-trust-item svg { color: #EF4444; }

/* =========================================================
   Hero money shot — stylized product card with metrics
   ========================================================= */


.agedyt-money-badge.live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 8px #4ADE80;
}
.agedyt-money-meta .title {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fafafa;
}
.agedyt-money-meta .price {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--agedyt-red-light);
}
.agedyt-money-meta .price .currency {
  font-size: 0.85rem;
  vertical-align: 0.35em;
  margin-right: 0.05em;
  font-weight: 500;
  color: rgba(239, 68, 68, 0.7);
}
.agedyt-money-stat .k {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.45);
}
.agedyt-money-stat .v {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fafafa;
}

/* Floating chip below money shot */
.agedyt-money-chip i { color: var(--agedyt-red-light); font-size: 0.85rem; }

/* =========================================================
   Section header
   ========================================================= */

.agedyt-section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.85rem;
  margin-bottom: 3rem;
}
.agedyt-section-head h2 {
  font-size: clamp(1.95rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #fafafa;
  margin: 0;
}
.agedyt-section-head h2 .agedyt-grad {
  background: linear-gradient(135deg, #FCA5A5 0%, #EF4444 50%, #B91C1C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.agedyt-section-head .lede {
  color: rgba(250, 250, 250, 0.6);
  font-size: 1.05rem;
  max-width: 38rem;
  line-height: 1.55;
}

/* Section vertical rhythm */
section.component { position: relative; padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 768px) {
  section.component { padding-top: 5rem; padding-bottom: 5rem; }
}

/* =========================================================
   Tabs (products)
   ========================================================= */

.agedyt-tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.35rem;
  border-radius: var(--agedyt-pill);
  border: 1px solid var(--agedyt-border);
  background: rgba(22, 22, 22, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.agedyt-tabs button {
  padding: 0.55rem 1.15rem;
  border-radius: var(--agedyt-pill);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(250, 250, 250, 0.65);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.agedyt-tabs button:hover { color: #fafafa; }
.agedyt-tabs button.is-active {
  background: linear-gradient(135deg, #EF4444, #B91C1C);
  color: #fff;
  box-shadow:
    0 1px 0 0 rgba(255,255,255,0.18) inset,
    0 6px 20px -8px rgba(220, 38, 38, 0.6);
}

/* =========================================================
   Product card
   ========================================================= */

.agedyt-product-card {
  display: block;
  position: relative;
  border-radius: var(--agedyt-radius);
  background: linear-gradient(180deg, rgba(28, 28, 28, 0.85) 0%, rgba(15, 15, 15, 0.85) 100%);
  border: 1px solid var(--agedyt-border);
  color: var(--agedyt-text);
  text-decoration: none;
  transition: transform 280ms var(--agedyt-ease-out), border-color 280ms ease, box-shadow 280ms ease;
  overflow: hidden;
  isolation: isolate;
  will-change: transform;
}
.agedyt-product-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 90% 50% at 50% 0%, rgba(220, 38, 38, 0.15) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
  z-index: 0;
}
.agedyt-product-card > * { position: relative; z-index: 1; }
.agedyt-product-card:hover {
  transform: translateY(-6px);
  border-color: var(--agedyt-border-accent);
  box-shadow:
    0 24px 50px -22px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(220, 38, 38, 0.18),
    0 0 60px -22px rgba(220, 38, 38, 0.5);
}
.agedyt-product-card:hover::before { opacity: 1; }

.agedyt-card-image-wrap {
  position: relative;
  overflow: hidden;
  background: #0d0d0d;
}
.agedyt-card-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.45));
  pointer-events: none;
}
.agedyt-card-image-wrap img {
  transition: transform 700ms var(--agedyt-ease-out), filter 400ms ease;
  display: block;
}
.agedyt-product-card:hover .agedyt-card-image-wrap img {
  transform: scale(1.07);
  filter: brightness(1.05);
}

/* Shimmer sweep over image on hover */
.agedyt-card-image-wrap .shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  transform: translateX(-110%);
  transition: transform 900ms var(--agedyt-ease-out);
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: 2;
}
.agedyt-product-card:hover .shimmer { transform: translateX(110%); }

.agedyt-stock-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(15, 15, 15, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.agedyt-stock-badge.in-stock::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 8px #4ADE80;
}
.agedyt-stock-badge.out-of-stock { color: #FCA5A5; }
.agedyt-stock-badge.out-of-stock::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #F87171;
}

.agedyt-card-body {
  padding: 1.1rem 1.2rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.agedyt-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fafafa;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.agedyt-card-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
}
.agedyt-card-price {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--agedyt-red-light);
  line-height: 1;
}
.agedyt-card-price .currency {
  font-size: 0.85rem;
  vertical-align: 0.4em;
  margin-right: 0.05em;
  font-weight: 500;
  color: rgba(239, 68, 68, 0.7);
}
.agedyt-card-price .slash {
  display: inline-block;
  margin-left: 0.45rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(250, 250, 250, 0.4);
  text-decoration: line-through;
  vertical-align: 0.2em;
}
.agedyt-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: var(--agedyt-red-light);
  transition: all 220ms ease;
}
.agedyt-product-card:hover .agedyt-card-cta {
  background: linear-gradient(135deg, #EF4444, #B91C1C);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 20px -8px rgba(220, 38, 38, 0.5);
}

/* =========================================================
   V16 — Homepage catalog up-scale (scoped: only .agedyt-catalog-grid).
   The /catalog page, group modals and product-page upsells reuse the
   same product-card snippet but aren't inside this grid, so they keep
   the original card sizing.
   ========================================================= */

.agedyt-catalog-shell {
  max-width: 80rem; /* ≈ 1280px (max-w-7xl) */
  margin-left: auto;
  margin-right: auto;
}

.agedyt-catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .agedyt-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .agedyt-catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}
.agedyt-catalog-grid-item { min-width: 0; }

/* Up-scale the cards living inside this grid only */
.agedyt-catalog-grid .agedyt-product-card {
  display: flex;
  flex-direction: column;
}
.agedyt-catalog-grid .agedyt-card-body {
  padding: 1.4rem 1.5rem 1.5rem;
  gap: 1rem;
  flex: 1 1 auto;
}
.agedyt-catalog-grid .agedyt-card-title {
  font-size: 1.2rem;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow-wrap: anywhere;
  word-break: break-word;
}
@media (min-width: 1024px) {
  .agedyt-catalog-grid .agedyt-card-title { font-size: 1.25rem; }
}
.agedyt-catalog-grid .agedyt-card-row {
  margin-top: auto;
}
.agedyt-catalog-grid .agedyt-card-price {
  font-size: 1.75rem;
}
@media (min-width: 1024px) {
  .agedyt-catalog-grid .agedyt-card-price { font-size: 1.85rem; }
}
.agedyt-catalog-grid .agedyt-card-cta {
  padding: 0.7rem 1.15rem;
  font-size: 0.85rem;
}
.agedyt-catalog-grid .agedyt-stock-badge {
  top: 0.95rem;
  right: 0.95rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
}

/* =========================================================
   V17 — Coming Soon placeholder (Pre-Monetized tab, empty state)
   ========================================================= */

.agedyt-coming-soon {
  max-width: 80rem;
  margin: 0 auto;
  padding: 5rem 1rem;
  display: flex;
  justify-content: center;
}
@media (min-width: 1024px) {
  .agedyt-coming-soon { padding: 6rem 1rem; }
}
.agedyt-coming-soon-card {
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 36rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .agedyt-coming-soon-card { padding: 3rem; }
}
.agedyt-coming-soon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.10);
  border: 1px solid rgba(220, 38, 38, 0.30);
  color: #FCA5A5;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.agedyt-coming-soon-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #DC2626;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
  animation: agedyt-coming-pulse 2s ease-in-out infinite;
}
@keyframes agedyt-coming-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.6);
  }
  50% {
    opacity: 0.45;
    box-shadow: 0 0 0 8px rgba(220, 38, 38, 0);
  }
}
.agedyt-coming-soon-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #FAFAFA;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
@media (min-width: 1024px) {
  .agedyt-coming-soon-title { font-size: 2rem; }
}
.agedyt-coming-soon-subtitle {
  font-size: 1rem;
  color: #A1A1AA;
  line-height: 1.55;
  max-width: 500px;
  margin: 0;
}
.agedyt-coming-soon-cta {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid #DC2626;
  border-radius: 999px;
  background: transparent;
  color: #FAFAFA;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}
.agedyt-coming-soon-cta:hover {
  background: rgba(220, 38, 38, 0.10);
  border-color: #EF4444;
}
.agedyt-coming-soon-cta:focus-visible {
  outline: 2px solid rgba(220, 38, 38, 0.6);
  outline-offset: 3px;
}

/* =========================================================
   Premium Features (6-card grid)
   ========================================================= */

.agedyt-features-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
}
@media (min-width: 640px)  { .agedyt-features-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .agedyt-features-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; } }

.agedyt-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 2rem 2rem;
  border-radius: var(--agedyt-radius);
  background:
    linear-gradient(180deg, rgba(28,28,28,0.65) 0%, rgba(15,15,15,0.65) 100%);
  border: 1px solid var(--agedyt-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 320ms var(--agedyt-ease-out), border-color 320ms ease, box-shadow 320ms ease;
  isolation: isolate;
  overflow: hidden;
}
.agedyt-feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 100% 50% at 50% 0%, rgba(220, 38, 38, 0.10) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
  z-index: -1;
}
.agedyt-feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--agedyt-border-accent);
  box-shadow:
    0 24px 50px -22px rgba(0, 0, 0, 0.7),
    0 0 60px -22px rgba(220, 38, 38, 0.45);
}
.agedyt-feature-card:hover::before { opacity: 1; }

.agedyt-feature-icon {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(220, 38, 38, 0.16) 0%, rgba(127, 29, 29, 0.05) 100%);
  border: 1px solid rgba(220, 38, 38, 0.3);
  margin-bottom: 1.5rem;
  isolation: isolate;
}
.agedyt-feature-icon::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.45) 0%, transparent 70%);
  filter: blur(18px);
  z-index: -1;
  opacity: 0.85;
  transition: opacity 320ms ease;
}
.agedyt-feature-card:hover .agedyt-feature-icon::before { opacity: 1; }
.agedyt-feature-icon i {
  font-size: 1.5rem;
  color: var(--agedyt-red-light);
  text-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
}

.agedyt-feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fafafa;
  margin: 0 0 0.6rem;
}
.agedyt-feature-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(250, 250, 250, 0.62);
  margin: 0;
  max-width: 28ch;
}

/* =========================================================
   Testimonials
   ========================================================= */

.agedyt-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
}
@media (min-width: 640px)  { .agedyt-testimonials-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .agedyt-testimonials-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }

.agedyt-testimonial {
  position: relative;
  padding: 1.5rem;
  border-radius: var(--agedyt-radius);
  background:
    linear-gradient(180deg, rgba(28,28,28,0.65) 0%, rgba(15,15,15,0.65) 100%);
  border: 1px solid var(--agedyt-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 320ms var(--agedyt-ease-out), border-color 320ms ease, box-shadow 320ms ease;
  isolation: isolate;
}
.agedyt-testimonial::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(220, 38, 38, 0.10) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
  z-index: -1;
}
.agedyt-testimonial:hover {
  transform: translateY(-4px);
  border-color: var(--agedyt-border-accent);
  box-shadow:
    0 18px 40px -22px rgba(0, 0, 0, 0.7),
    0 0 50px -20px rgba(220, 38, 38, 0.4);
}
.agedyt-testimonial:hover::before { opacity: 1; }

.agedyt-testimonial-head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.agedyt-testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.agedyt-testimonial-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fafafa;
  line-height: 1.2;
}
.agedyt-testimonial-handle {
  font-size: 0.78rem;
  color: rgba(250, 250, 250, 0.5);
  margin-top: 0.15rem;
}
.agedyt-testimonial-quote {
  font-size: 1.0rem;
  line-height: 1.55;
  color: rgba(250, 250, 250, 0.8);
  flex: 1;
}
.agedyt-testimonial-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.agedyt-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #4ADE80;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

/* =========================================================
   FAQ — modern with numbers
   ========================================================= */

.agedyt-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.agedyt-faq-item {
  border-radius: var(--agedyt-radius);
  background: rgba(22, 22, 22, 0.55);
  border: 1px solid var(--agedyt-border);
  overflow: hidden;
  transition: border-color 280ms ease, background 280ms ease, box-shadow 280ms ease;
}
.agedyt-faq-item:hover { border-color: var(--agedyt-border-hover); }
.agedyt-faq-item.is-open {
  border-color: var(--agedyt-border-accent);
  background: rgba(28, 28, 28, 0.7);
  box-shadow: 0 18px 40px -22px rgba(220, 38, 38, 0.35);
}
.agedyt-faq-button {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}
.agedyt-faq-num {
  display: inline-flex;
  flex-shrink: 0;
  width: 2.4rem;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: rgba(220, 38, 38, 0.55);
  font-variant-numeric: tabular-nums;
  transition: color 280ms ease;
}
.agedyt-faq-item.is-open .agedyt-faq-num { color: var(--agedyt-red-light); }
.agedyt-faq-q {
  flex: 1;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #fafafa;
  line-height: 1.35;
}
.agedyt-faq-chevron {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(250, 250, 250, 0.45);
  transition: transform 280ms var(--agedyt-ease-spring), color 280ms ease;
}
.agedyt-faq-item.is-open .agedyt-faq-chevron {
  transform: rotate(180deg) scale(1.1);
  color: var(--agedyt-red-light);
}
.agedyt-faq-body {
  overflow: hidden;
  transition: max-height 320ms var(--agedyt-ease-out);
  max-height: 0;
}
.agedyt-faq-a {
  padding: 0 1.5rem 1.4rem calc(1.5rem + 2.4rem + 1rem);
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(250, 250, 250, 0.75);
}

/* =========================================================
   How to Pay (page)
   ========================================================= */

.agedyt-pay-page {
  position: relative;
  padding: 3rem 0 5rem;
}
.agedyt-pay-hero {
  text-align: center;
  padding: 4rem 0 3rem;
}
.agedyt-pay-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 1rem 0 0;
}
.agedyt-pay-hero p {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(250, 250, 250, 0.65);
  max-width: 38rem;
  margin: 1.25rem auto 0;
}
.agedyt-pay-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  max-width: 70rem;
  margin: 3rem auto 0;
}
@media (min-width: 768px)  { .agedyt-pay-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .agedyt-pay-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.agedyt-pay-step {
  position: relative;
  padding: 2rem 1.5rem 1.75rem;
  border-radius: var(--agedyt-radius);
  background: linear-gradient(180deg, rgba(28,28,28,0.7), rgba(15,15,15,0.7));
  border: 1px solid var(--agedyt-border);
  transition: transform 280ms var(--agedyt-ease-out), border-color 280ms ease, box-shadow 280ms ease;
  overflow: hidden;
  isolation: isolate;
}
.agedyt-pay-step::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(220, 38, 38, 0.12) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 280ms ease;
  pointer-events: none;
  z-index: -1;
}
.agedyt-pay-step:hover {
  transform: translateY(-5px);
  border-color: var(--agedyt-border-accent);
  box-shadow: 0 24px 50px -22px rgba(220, 38, 38, 0.35);
}
.agedyt-pay-step:hover::before { opacity: 1; }
.agedyt-pay-num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--agedyt-red-light);
  margin-bottom: 1rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.25);
}
.agedyt-pay-title {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fafafa;
  margin-bottom: 0.55rem;
}
.agedyt-pay-desc {
  font-size: 0.95rem;
  color: rgba(250, 250, 250, 0.65);
  line-height: 1.55;
}

/* Help page — stacked tutorial sections */
.agedyt-help-section + .agedyt-help-section { border-top: 1px solid var(--agedyt-border); }

.agedyt-help-footer-note p {
  margin: 0;
  font-size: 1.05rem;
  color: rgba(250, 250, 250, 0.78);
}
.agedyt-help-footer-note p strong { color: #fff; font-weight: 600; }

/* =========================================================
   Footer — multi-col
   ========================================================= */

footer.agedyt-footer {
  margin-top: 5rem;
  padding: 0;
  border-radius: var(--agedyt-radius-lg);
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.7) 0%, rgba(10, 10, 10, 0.9) 100%);
  border: 1px solid var(--agedyt-border);
  overflow: hidden;
  position: relative;
}
footer.agedyt-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(220, 38, 38, 0.5) 50%, transparent 100%);
}
.agedyt-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 2rem 2rem;
}
@media (min-width: 768px) {
  .agedyt-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
  }
}
.agedyt-footer-brand h3 {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 0.5rem;
}
.agedyt-footer-brand p {
  font-size: 0.9rem;
  color: rgba(250, 250, 250, 0.55);
  max-width: 28rem;
  line-height: 1.55;
}
.agedyt-footer-socials {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.agedyt-footer-socials a {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--agedyt-border);
  color: rgba(250, 250, 250, 0.65);
  transition: all 220ms ease;
}
.agedyt-footer-socials a:hover {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.4);
  color: var(--agedyt-red-light);
  transform: translateY(-2px);
}
.agedyt-footer-col h4 {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.45);
  margin: 0 0 1rem;
}
.agedyt-footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.6rem; }
.agedyt-footer-col a {
  color: rgba(250, 250, 250, 0.75);
  font-size: 0.9rem;
  text-decoration: none;
  position: relative;
  transition: color 200ms ease;
  width: fit-content;
}
.agedyt-footer-col a:hover { color: var(--agedyt-red-light); }
.agedyt-footer-col a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 280ms var(--agedyt-ease-out);
}
.agedyt-footer-col a:hover::after { transform: scaleX(1); }
.agedyt-footer-bottom {
  border-top: 1px solid var(--agedyt-border);
  padding: 1.25rem 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.25);
}
.agedyt-footer-bottom p {
  font-size: 0.8rem;
  color: rgba(250, 250, 250, 0.5);
  margin: 0;
}
.agedyt-footer-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: rgba(250, 250, 250, 0.65);
}
.agedyt-footer-status::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 10px rgba(74, 222, 128, 0.7);
  animation: agedyt-pulse 2.4s ease-in-out infinite;
}

/* =========================================================
   Animate-in (scroll reveal) — bigger amplitude than V1
   ========================================================= */

.animate-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 900ms var(--agedyt-ease-out), transform 900ms var(--agedyt-ease-out);
  will-change: opacity, transform;
}
.animate-in.is-visible { opacity: 1; transform: translateY(0); }
.animate-in.delay-1 { transition-delay: 80ms; }
.animate-in.delay-2 { transition-delay: 160ms; }
.animate-in.delay-3 { transition-delay: 240ms; }
.animate-in.delay-4 { transition-delay: 320ms; }
.animate-in.delay-5 { transition-delay: 400ms; }
.animate-in.delay-6 { transition-delay: 480ms; }

@media (prefers-reduced-motion: reduce) {
  .animate-in { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .agedyt-bg-blob { animation: none; }
}

/* =========================================================
   Card tilt on hover (set by JS)
   ========================================================= */

.agedyt-tilt {
  transform-style: preserve-3d;
  transform: perspective(1200px) rotateX(0deg) rotateY(0deg);
  transition: transform 380ms var(--agedyt-ease-out);
}

/* =========================================================
   Misc / overrides for default theme classes
   ========================================================= */

a { text-underline-offset: 3px; }
.bg-card\/75, .bg-card\/90, .bg-card\/50, .bg-card\/25, .bg-card {
  border-color: var(--agedyt-border) !important;
}
/* Navbar — full-width, semi-transparent, blurred. Inner content stays constrained. */
nav.component {
  position: relative;
  z-index: 30;
  background: rgba(10, 10, 10, 0.55) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 0 !important;
  /* Break out of parent max-w-[85rem] so the bar spans full viewport width */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
}
nav.component > * {
  background: transparent !important;
  border: 0 !important;
  /* Constrain inner content to a readable width, centered */
  max-width: 85rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media (min-width: 768px) {
  nav.component > * { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  nav.component > * { padding-left: 2rem; padding-right: 2rem; }
}

/* === Compact navbar height (~56-60px) === */
nav.component .flex.items-center.p-4 { padding-top: 0.4rem !important; padding-bottom: 0.4rem !important; }
@media (min-width: 1024px) {
  nav.component .lg\:p-6 { padding-top: 0.4rem !important; padding-bottom: 0.4rem !important; }
}
nav.component .flex.flex-col.gap-2.p-2 { padding-top: 0.4rem !important; padding-bottom: 0.4rem !important; }
@media (min-width: 1024px) {
  nav.component .lg\:p-6.flex { padding-top: 0.4rem !important; padding-bottom: 0.4rem !important; }
}

/* Brand cluster — bigger logo + tighter text */
.agedyt-navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.agedyt-navbar-logo,
nav img[alt*="AgedYt" i],
nav img[alt*="YTVault" i] {
  width: 40px !important;
  height: 40px !important;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
  display: block;
}
.agedyt-navbar-brand h1 {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  line-height: 1.1;
  margin: 0;
  color: #FAFAFA;
  letter-spacing: -0.01em;
}

/* === Currency switcher — minimalist V11 ===
   IMPORTANT: do NOT set display here. The navbar ships two variants
   (mobile: .lg\:hidden, desktop: .hidden.lg\:block). Tailwind handles
   visibility — overriding display would force both to render together. */
nav.component .currency-selector {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0.4rem 0.6rem !important;
  border-radius: 8px !important;
  color: rgba(250, 250, 250, 0.7) !important;
  font-size: 0.9rem !important;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
  align-items: center;
}
nav.component .currency-selector:hover {
  background: rgba(255, 255, 255, 0.04) !important;
  color: rgba(250, 250, 250, 1) !important;
}
nav.component .currency-selector select {
  background: transparent !important;
  border: none !important;
  color: inherit !important;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 1.1rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='rgba(250,250,250,0.45)' stroke-width='1.5'><polyline points='3,5 6,8 9,5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.1rem center;
  background-size: 12px 12px;
}
/* No red bubble around the currency symbol — plain text only. */
nav.component .currency-selector .symbol {
  background: transparent !important;
  color: inherit !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-right: 0.25rem !important;
  width: auto !important;
}

/* === Cart icon — gradient red pill ===
   Same caveat as currency-selector: never set display here, otherwise the
   mobile (.lg\:hidden) and desktop (.hidden.lg\:inline-flex) variants both
   render simultaneously. */
nav.component a[href*="/cart"] {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%) !important;
  border: 0 !important;
  border-radius: 999px !important;
  color: #FFFFFF !important;
  padding: 0.625rem 0.75rem !important;
  min-width: 2.5rem;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.30), 0 1px 0 0 rgba(255, 255, 255, 0.18) inset;
  transition: transform 200ms var(--agedyt-ease-out, ease-out), box-shadow 200ms ease, filter 200ms ease;
}
nav.component a[href*="/cart"]:hover {
  transform: scale(1.05);
  box-shadow: 0 0 28px rgba(220, 38, 38, 0.45), 0 1px 0 0 rgba(255, 255, 255, 0.25) inset;
  filter: brightness(1.08);
}
nav.component a[href*="/cart"] i { color: #FFFFFF; }
/* Cart badge — small white circle with red number */
nav.component a[href*="/cart"] .absolute {
  background: #FFFFFF !important;
  color: #DC2626 !important;
  border: 2px solid #161616 !important;
  width: 1rem !important;
  height: 1rem !important;
  font-weight: 700 !important;
  font-size: 0.625rem !important;
  top: -0.4rem !important;
  right: -0.4rem !important;
}

/* === V18 — Mobile navbar shell + drawer === */

.agedyt-navbar-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  min-height: 60px;
}
@media (min-width: 1024px) {
  .agedyt-navbar-shell {
    padding: 1rem 1.5rem;
    min-height: 72px;
  }
}

/* Generic icon button — burger + drawer close. The mobile cart <a> matches
   the existing `nav.component a[href*="/cart"]` rule and keeps its red
   gradient pill (intended). */
.agedyt-navbar-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  position: relative;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #FAFAFA;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.agedyt-navbar-icon-btn:hover,
.agedyt-navbar-icon-btn:focus-visible {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.4);
  color: #EF4444;
  outline: none;
}

/* Cart badge on the mobile icon-btn variant (white circle, red number).
   Desktop cart still uses `nav.component a[href*="/cart"] .absolute`. */
.agedyt-navbar-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #FFFFFF;
  color: #DC2626;
  border: 2px solid #161616;
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 50%;
  line-height: 1;
}

/* Portal wrapper sits at body level (Alpine x-teleport target).
   No layout responsibility — children handle their own positioning. */
.agedyt-mobile-drawer-portal { position: static; }

/* Drawer overlay — dim background, click-to-close.
   Lives outside nav.component (teleported), so the `nav.component > *`
   { background: transparent !important; ... } cascade no longer applies. */
.agedyt-mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Drawer panel — slides in from the right */
.agedyt-mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  height: 100vh;
  height: 100dvh;
  width: 80%;
  max-width: 320px;
  background: #0A0A0A;
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -16px 0 40px -8px rgba(0, 0, 0, 0.6);
}
.agedyt-mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.agedyt-mobile-drawer-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 250, 250, 0.55);
}
.agedyt-mobile-drawer-links {
  display: flex;
  flex-direction: column;
  padding: 0.5rem 0;
}
.agedyt-mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 1rem 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.075rem;
  font-weight: 500;
  color: #FAFAFA;
  text-decoration: none;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  text-align: left;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.agedyt-mobile-drawer-link i {
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}
.agedyt-mobile-drawer-link:hover,
.agedyt-mobile-drawer-link:focus-visible {
  background: rgba(220, 38, 38, 0.08);
  color: #EF4444;
  outline: none;
}
.agedyt-mobile-drawer-link:last-child { border-bottom: 0; }

/* === Login / My Account button === */
nav.component .agedyt-login-pill {
  display: inline-flex !important;
  align-items: center;
  border: 1px solid rgba(220, 38, 38, 0.30) !important;
  background: transparent !important;
  color: #DC2626 !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
  white-space: nowrap;
  text-decoration: none;
}
nav.component .agedyt-login-pill:hover {
  background: rgba(220, 38, 38, 0.08) !important;
  color: #EF4444 !important;
  border-color: rgba(220, 38, 38, 0.50) !important;
}

/* =========================================================
   Utility class fallbacks (in case built.css doesn't regen)
   ========================================================= */
.tracking-tight { letter-spacing: -0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-1\.5 { gap: 0.375rem; }
.gap-3\.5 { gap: 0.875rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-2 { row-gap: 0.5rem; }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.backdrop-blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.p-5 { padding: 1.25rem; }
.pb-5 { padding-bottom: 1.25rem; }
.pt-4 { padding-top: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.shrink-0 { flex-shrink: 0; }
.text-\[0\.65rem\] { font-size: 0.65rem; }
.text-\[0\.75rem\] { font-size: 0.75rem; }
.text-t-primary\/55 { color: rgba(var(--cl-t-primary), 0.55); }
.text-t-primary\/65 { color: rgba(var(--cl-t-primary), 0.65); }
.aspect-video { aspect-ratio: 16/9; }
.placeholder\:text-t-primary\/40::placeholder { color: rgba(var(--cl-t-primary), 0.4); }
.z-10 { z-index: 10; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }
.isolate { isolation: isolate; }
@media (min-width: 768px) {
  .md\:p-5 { padding: 1.25rem; }
  .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\:pb-6 { padding-bottom: 1.5rem; }
  .md\:gap-3\.5 { gap: 0.875rem; }
  .md\:mt-20 { margin-top: 5rem; }
}
/* V18 — pre-baked built.css ships only `.lg\:inline-flex`, `.lg\:flex-row`,
   `.lg\:flex-1` etc. but not the bare `.lg\:flex` (display:flex). The new
   navbar uses `hidden lg:flex` for the desktop section. Without this fallback
   the desktop section stays display:none past the breakpoint. */
@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
}

/* =========================================================
   Navbar brand (logo + name)
   ========================================================= */

.agedyt-navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.agedyt-navbar-logo {
  height: 32px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* =========================================================
   /2fa page — TOTP generator
   ========================================================= */

.agedyt-2fa-page {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
  isolation: isolate;
}
.agedyt-2fa-page .agedyt-bg-stack {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.agedyt-2fa-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  background: #161616;
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 0 0 40px rgba(220, 38, 38, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.agedyt-2fa-card [hidden] { display: none !important; }
.agedyt-2fa-active {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}
.agedyt-2fa-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #FAFAFA;
  margin: 0;
  line-height: 1.2;
}
.agedyt-2fa-code {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 5.5rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #FAFAFA;
  line-height: 1;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transition: transform 200ms var(--agedyt-ease-out, ease-out);
  will-change: transform;
}
.agedyt-2fa-code.is-pulse {
  animation: agedyt2faPulse 200ms ease-out;
}
@keyframes agedyt2faPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.02); }
  100% { transform: scale(1); }
}
.agedyt-2fa-timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.agedyt-2fa-ring {
  width: 60px;
  height: 60px;
  transform: rotate(-90deg);
}
.agedyt-2fa-ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 4;
}
.agedyt-2fa-ring-fg {
  fill: none;
  stroke: #DC2626;
  stroke-width: 4;
  stroke-linecap: round;
  transition: stroke-dashoffset 1s linear;
}
.agedyt-2fa-refresh {
  font-size: 0.875rem;
  color: #A1A1AA;
}
.agedyt-2fa-copy {
  width: 100%;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 240ms ease, color 240ms ease, filter 220ms ease, transform 220ms var(--agedyt-ease-out, ease-out);
}
.agedyt-2fa-copy.is-copied {
  background: rgba(34, 197, 94, 0.85) !important;
  filter: none !important;
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.5), 0 8px 24px -8px rgba(34, 197, 94, 0.5) !important;
}
.agedyt-2fa-copy svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.agedyt-2fa-hint {
  font-size: 0.875rem;
  color: #71717A;
  margin: 0;
}
.agedyt-2fa-input-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}
.agedyt-2fa-input-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #A1A1AA;
}
.agedyt-2fa-input {
  width: 100%;
  background: #0A0A0A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.875rem 1rem;
  color: #FAFAFA;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.agedyt-2fa-input:focus {
  outline: none;
  border-color: rgba(220, 38, 38, 0.5);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}
.agedyt-2fa-error {
  width: 100%;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  color: #F87171;
  font-size: 0.875rem;
}
.agedyt-2fa-footer {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #71717A;
}
.agedyt-2fa-footer a {
  color: #A1A1AA;
  text-decoration: none;
  transition: color 200ms ease;
}
.agedyt-2fa-footer a:hover {
  color: #EF4444;
}

@media (max-width: 640px) {
  .agedyt-2fa-card {
    padding: 2rem 1.5rem;
    border-radius: 20px;
  }
  .agedyt-2fa-code {
    font-size: 3.5rem;
  }
  .agedyt-2fa-title {
    font-size: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .agedyt-2fa-code,
  .agedyt-2fa-code.is-pulse,
  .agedyt-2fa-copy,
  .agedyt-2fa-ring-fg {
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   Customer dashboard (sidebar + dashboard + invoices/orders)
   ========================================================= */

/* Subtle ambient bg — blobs only, no grid, no spotlight */
.agedyt-customer-shell {
  position: relative;
  isolation: isolate;
}
.agedyt-customer-shell::before,
.agedyt-customer-shell::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  opacity: 0.30;
  filter: blur(110px);
  will-change: transform;
}
.agedyt-customer-shell::before {
  top: -20vh; left: -15vw;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.40) 0%, rgba(220, 38, 38, 0) 70%);
  animation: agedyt-float-a 26s ease-in-out infinite alternate;
}
.agedyt-customer-shell::after {
  bottom: -25vh; right: -15vw;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(127, 29, 29, 0.45) 0%, rgba(127, 29, 29, 0) 70%);
  animation: agedyt-float-b 32s ease-in-out infinite alternate;
}

/* Section heading */
.agedyt-customer-section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.agedyt-customer-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #FAFAFA;
  margin: 0;
  letter-spacing: -0.03em;
}
.agedyt-customer-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #FAFAFA;
  margin: 0;
  letter-spacing: -0.02em;
}

/* Layout */
.agedyt-customer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .agedyt-customer-grid {
    grid-template-columns: 280px 1fr;
    gap: 2rem;
  }
}
.agedyt-customer-aside { min-width: 0; }
.agedyt-customer-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Sidebar */
.agedyt-customer-sidebar {
  background: #161616;
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 1.5rem;
}
.agedyt-customer-sidebar-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.agedyt-customer-sidebar-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FAFAFA;
  margin: 0.5rem 0 0.75rem;
  letter-spacing: -0.02em;
}
.agedyt-customer-sidebar-meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #71717A;
  margin: 0;
}
.agedyt-customer-sidebar-email {
  font-size: 0.95rem;
  font-weight: 500;
  color: #FAFAFA;
  margin: 0.25rem 0 0;
  word-break: break-all;
  line-height: 1.4;
}

.agedyt-customer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.agedyt-customer-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  color: #A1A1AA;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, box-shadow 220ms ease;
  text-align: left;
  width: 100%;
  font-family: inherit;
}
.agedyt-customer-nav-link i {
  width: 1.1rem;
  font-size: 0.95rem;
  text-align: center;
  flex-shrink: 0;
  opacity: 0.85;
}
.agedyt-customer-nav-link:hover {
  background: rgba(220, 38, 38, 0.08);
  color: #FAFAFA;
}
.agedyt-customer-nav-link.is-active {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: #FFFFFF;
  font-weight: 600;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.30);
}
.agedyt-customer-nav-link.is-active i { opacity: 1; }
.agedyt-customer-nav-link--btn { width: 100%; }
.agedyt-customer-nav-meta {
  margin-left: auto;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.agedyt-customer-nav-link.is-active .agedyt-customer-nav-meta { color: rgba(255, 255, 255, 0.85); }

/* KPI cards */
.agedyt-customer-kpi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .agedyt-customer-kpi-grid { grid-template-columns: repeat(3, 1fr); }
  .agedyt-customer-kpi-grid--2up { grid-template-columns: 2fr 1fr; }
}
.agedyt-customer-kpi {
  background: #161616;
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 220ms ease, transform 220ms var(--agedyt-ease-out, ease-out);
}
.agedyt-customer-kpi:hover {
  border-color: rgba(220, 38, 38, 0.30);
  transform: translateY(-2px);
}
.agedyt-customer-kpi-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #71717A;
}
.agedyt-customer-kpi-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #FAFAFA;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.agedyt-customer-kpi-value--sm { font-size: 1.25rem; }

/* Generic card */
.agedyt-customer-card {
  background: #161616;
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.agedyt-customer-card--padded { padding: 2rem; }
.agedyt-customer-card--span2 { /* 2fr column in 2up grid */ }

.agedyt-customer-card-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.agedyt-customer-latest-product {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #FAFAFA;
  margin: 0.5rem 0 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.agedyt-customer-latest-variant { color: #A1A1AA; font-weight: 500; }
.agedyt-customer-latest-more { color: #71717A; font-weight: 500; font-size: 1rem; }
.agedyt-customer-latest-meta {
  font-size: 0.875rem;
  color: #A1A1AA;
  margin: 0.25rem 0 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.agedyt-customer-latest-dot { color: #52525B; }
.agedyt-customer-balance-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #FAFAFA;
  margin: 0.5rem 0 0.25rem;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.agedyt-customer-link {
  color: #DC2626;
  text-decoration: none;
  font-weight: 500;
  transition: color 200ms ease;
}
.agedyt-customer-link:hover { color: #EF4444; }
.agedyt-customer-link--mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.agedyt-customer-link--inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
}

/* Action buttons (logout other / delete account) */
.agedyt-customer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-top: 0.5rem;
}
.agedyt-customer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.25rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 220ms ease, transform 200ms var(--agedyt-ease-out, ease-out);
}
.agedyt-customer-btn--ghost {
  background: rgba(255, 255, 255, 0.02);
  color: #A1A1AA;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.agedyt-customer-btn--ghost:hover {
  color: #FAFAFA;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
}
.agedyt-customer-btn--danger {
  background: rgba(220, 38, 38, 0.08);
  color: #F87171;
  border: 1px solid rgba(220, 38, 38, 0.30);
}
.agedyt-customer-btn--danger:hover {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: #FFFFFF;
  border-color: rgba(220, 38, 38, 0.7);
  box-shadow: 0 8px 24px -8px rgba(220, 38, 38, 0.5);
}
.agedyt-customer-btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* Modal (delete account) */
.agedyt-customer-modal {
  display: inline-block;
  width: 100%;
  max-width: 28rem;
  margin: 2rem 0;
  padding: 1.75rem;
  text-align: left;
  background: #161616;
  border: 1px solid rgba(220, 38, 38, 0.20);
  border-radius: 20px;
  color: #FAFAFA;
}

/* Order History table */
.agedyt-customer-table-wrap {
  overflow-x: auto;
  margin: 0 -0.5rem;
  padding: 0 0.5rem;
}
.agedyt-customer-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}
.agedyt-customer-table thead th {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #71717A;
  padding: 0 1rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
}
.agedyt-customer-table tbody tr {
  transition: background 150ms ease;
}
.agedyt-customer-table tbody tr:hover {
  background: rgba(220, 38, 38, 0.04);
}
.agedyt-customer-table tbody td {
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: #D4D4D8;
  vertical-align: top;
}
.agedyt-customer-table tbody tr:last-child td { border-bottom: 0; }

.agedyt-customer-id {
  color: #DC2626;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 150ms ease;
}
.agedyt-customer-id:hover { color: #EF4444; text-decoration: underline; }

.agedyt-customer-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text, #A1A1AA);
}
.agedyt-customer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, #A1A1AA);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--dot, #A1A1AA);
}
.agedyt-customer-cell-meta {
  display: block;
  font-size: 0.7rem;
  color: #71717A;
  margin-top: 0.25rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.agedyt-customer-products {
  display: inline-block;
  max-width: 22ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #FAFAFA;
  font-weight: 500;
}
.agedyt-customer-price {
  color: #FAFAFA;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.agedyt-customer-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.agedyt-customer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(220, 38, 38, 0.30);
  color: #DC2626;
  cursor: pointer;
  font-family: inherit;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease;
}
.agedyt-customer-pill:hover {
  background: rgba(220, 38, 38, 0.10);
  color: #EF4444;
  border-color: rgba(220, 38, 38, 0.5);
}
.agedyt-customer-pill--muted {
  border-color: rgba(255, 255, 255, 0.08);
  color: #A1A1AA;
}
.agedyt-customer-pill--muted:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #FAFAFA;
  border-color: rgba(255, 255, 255, 0.18);
}

.agedyt-customer-empty {
  padding: 3rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 1023px) {
  .agedyt-customer-sidebar { position: static; }
}
@media (max-width: 640px) {
  .agedyt-customer-h1 { font-size: 1.75rem; }
  .agedyt-customer-h2 { font-size: 1.25rem; }
  .agedyt-customer-card--padded { padding: 1.25rem; }
  .agedyt-customer-kpi-value { font-size: 1.5rem; }
  .agedyt-customer-balance-value { font-size: 1.5rem; }
}

/* =========================================================
   /help — longform article sections
   ========================================================= */

.agedyt-help-articles {
  max-width: 64rem;
  margin: 3.5rem auto 0;
  padding: 0 1rem;
}

.agedyt-help-article {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 2rem;
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.agedyt-help-article:last-child { border-bottom: 0; }
.agedyt-help-article:first-child { padding-top: 2rem; }

.agedyt-help-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #DC2626;
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 24px rgba(220, 38, 38, 0.25);
}

.agedyt-help-content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

.agedyt-eyebrow.agedyt-eyebrow--alert {
  border-color: rgba(220, 38, 38, 0.45);
  background: linear-gradient(180deg, rgba(220, 38, 38, 0.10), rgba(220, 38, 38, 0.04));
  color: #FCA5A5;
}
.agedyt-eyebrow.agedyt-eyebrow--alert .dot { background: #DC2626; }

.agedyt-help-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #FAFAFA;
  margin: 0.25rem 0 0.5rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.agedyt-help-body {
  color: #D4D4D8;
  line-height: 1.7;
  font-size: 1rem;
}
.agedyt-help-body p { margin: 0 0 1rem; }
.agedyt-help-body p:last-child { margin-bottom: 0; }
.agedyt-help-body strong { color: #FAFAFA; font-weight: 600; }
.agedyt-help-body a {
  color: #DC2626;
  text-decoration: none;
  border-bottom: 1px solid rgba(220, 38, 38, 0.4);
  transition: color 150ms ease, border-color 150ms ease;
}
.agedyt-help-body a:hover {
  color: #EF4444;
  border-color: #EF4444;
}

.agedyt-help-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #FAFAFA;
  margin: 1.75rem 0 0.5rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.agedyt-help-sub:first-child { margin-top: 0; }

.agedyt-help-list {
  margin: 0 0 1rem;
  padding-left: 1.5rem;
  color: #D4D4D8;
}
.agedyt-help-list li { margin-bottom: 0.5rem; line-height: 1.7; }
.agedyt-help-list li::marker { color: rgba(220, 38, 38, 0.6); }
.agedyt-help-list--meta li::marker { color: rgba(255, 255, 255, 0.3); }

.agedyt-help-warn-list {
  list-style: none;
  padding-left: 0;
  margin: 0 0 1rem;
}
.agedyt-help-warn-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.4rem 0;
  color: #D4D4D8;
  line-height: 1.5;
}
.agedyt-help-warn-list li::before {
  content: "⚠";
  color: #F59E0B;
  font-size: 0.95rem;
  line-height: 1.5;
  flex-shrink: 0;
}

.agedyt-help-callout {
  margin: 0.5rem 0 1rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.06);
  border-left: 3px solid #DC2626;
  color: #FAFAFA;
}
.agedyt-help-callout p { margin: 0; line-height: 1.55; color: #FAFAFA; }

.agedyt-help-defs dt {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: #FAFAFA;
  margin-top: 0.5rem;
}
.agedyt-help-defs dt:first-child { margin-top: 0; }
.agedyt-help-defs dd {
  margin: 0.15rem 0 0;
  padding-left: 0.85rem;
  border-left: 2px solid rgba(220, 38, 38, 0.18);
  color: #D4D4D8;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .agedyt-help-article {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 2.75rem 0;
  }
  .agedyt-help-num {
    font-size: 3rem;
  }
  .agedyt-help-title { font-size: 1.45rem; }
}

/* =========================================================
   Catalog page (/products) — V9
   ========================================================= */

.agedyt-catalog-page {
  position: relative;
  isolation: isolate;
}
.agedyt-catalog-page::before,
.agedyt-catalog-page::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  opacity: 0.30;
  filter: blur(110px);
  will-change: transform;
}
.agedyt-catalog-page::before {
  top: -20vh; left: -15vw;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.40) 0%, rgba(220, 38, 38, 0) 70%);
  animation: agedyt-float-a 26s ease-in-out infinite alternate;
}
.agedyt-catalog-page::after {
  bottom: -25vh; right: -15vw;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(127, 29, 29, 0.45) 0%, rgba(127, 29, 29, 0) 70%);
  animation: agedyt-float-b 32s ease-in-out infinite alternate;
}
.agedyt-catalog-shell {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.agedyt-catalog-shell .agedyt-section-head h1,
.agedyt-catalog-shell .agedyt-section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: #FAFAFA;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

/* Section head — left-aligned variant (used on product page sections) */
.agedyt-section-head--left {
  align-items: flex-start;
  text-align: left;
}
.agedyt-section-head--left h2 { text-align: left; }

/* =========================================================
   Product page — V9
   ========================================================= */

.agedyt-product-page {
  position: relative;
  isolation: isolate;
}
.agedyt-product-page::before,
.agedyt-product-page::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  opacity: 0.25;
  filter: blur(110px);
  will-change: transform;
}
.agedyt-product-page::before {
  top: -20vh; left: -15vw;
  width: 45vw; height: 45vw;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.40) 0%, rgba(220, 38, 38, 0) 70%);
  animation: agedyt-float-a 28s ease-in-out infinite alternate;
}
.agedyt-product-page::after {
  bottom: -25vh; right: -15vw;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(127, 29, 29, 0.45) 0%, rgba(127, 29, 29, 0) 70%);
  animation: agedyt-float-b 34s ease-in-out infinite alternate;
}
.agedyt-product-shell {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

/* Product DETAIL page card — distinct from `.agedyt-product-card` (catalog
   grid card) which has hover translate-Y. Reusing that class on the detail
   page caused the V10 "two entities overlap on scroll" bug. */
.agedyt-product-detail-card {
  background: #161616;
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 16px;
  overflow: hidden;
  position: static;       /* defensively kill any inherited sticky */
  transform: none;        /* defensively kill any inherited transform */
  will-change: auto;
}
.agedyt-product-detail-card--side { display: flex; flex-direction: column; }

@media (min-width: 640px) {
  }
@media (min-width: 1024px) {
  }

/* Image — no gray frame */
/* Image wrapper — every conceivable border zeroed defensively to kill the
   "fine ligne grise sous l'image" reported in V11. */
.agedyt-product-image-wrap {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 0 !important;
  border-top: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0;
  overflow: hidden;
  display: block;
  font-size: 0; /* kill descender gap under inline img */
  line-height: 0;
}
.agedyt-product-image-wrap img,
.agedyt-product-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0;
  margin: 0 !important;
  vertical-align: top;
}
.agedyt-product-image-wrap .splide,
.agedyt-product-image-wrap .splide__track,
.agedyt-product-image-wrap .splide__list,
.agedyt-product-image-wrap .splide__slide {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* And the body that follows — no top border that would read as a line under
   the image. Restore normal text rhythm (font-size was zeroed above). */
.agedyt-product-image-wrap + .agedyt-product-body {
  border-top: 0 !important;
  margin-top: 0 !important;
}
.agedyt-product-tab.is-active {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.30);
}
.agedyt-product-prose {
  color: #D4D4D8;
  line-height: 1.65;
  font-size: 0.95rem;
}
.agedyt-product-prose p { margin: 0 0 0.75rem; }
.agedyt-product-prose strong { color: #FAFAFA; font-weight: 600; }
.agedyt-product-prose a { color: #DC2626; text-decoration: none; border-bottom: 1px solid rgba(220, 38, 38, 0.4); }
.agedyt-product-prose a:hover { color: #EF4444; }

/* Side card — price block */
.agedyt-product-price-row {
  padding: 1.5rem;
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.agedyt-product-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #FAFAFA;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.agedyt-product-price-each {
  font-size: 0.875rem;
  color: #71717A;
  margin-bottom: 0.25rem;
}
.agedyt-product-stock {
  padding: 0.875rem 1.5rem;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.agedyt-product-stock--in {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #4ADE80;
  font-weight: 600;
}
.agedyt-product-stock--in .agedyt-product-stock-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E; box-shadow: 0 0 8px #22C55E;
  display: inline-block;
}
.agedyt-product-stock--out {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #F87171;
  font-weight: 600;
}
.agedyt-product-stock--out .agedyt-product-stock-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #EF4444; box-shadow: 0 0 8px #EF4444;
  display: inline-block;
}


.agedyt-product-livestat i { color: #EF4444; margin-top: 0.2rem; }
.agedyt-product-livestat strong { color: #FAFAFA; font-weight: 600; }

/* Override the gray "bg-card/75" wrappers SellAuth injects inside the form */
.agedyt-product-detail-card form > .bg-card\/75,
.agedyt-product-detail-card form > div[class*="bg-card"] {
  background: transparent !important;
  border: 0 !important;
  padding: 1.5rem !important;
}

/* CTA buttons (Add to Cart / Buy Now) — equal size, gap 1rem, gradient */
.agedyt-product-cta {
  padding: 0.95rem 1.5rem !important;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  min-height: 3rem;
  justify-content: center;
}

/* === V14/V15 — Top h1 above the 2 columns (V15: left-aligned to match grid) === */
.agedyt-product-title-top {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #FAFAFA;
  margin: 0 0 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: left;
}
@media (max-width: 640px) {
  .agedyt-product-title-top { font-size: 1.5rem; margin-bottom: 1.5rem; }
}

/* === V15 — Image card sticky on lg+ === */
@media (min-width: 1024px) {
  .agedyt-product-card-sticky {
    position: sticky;
    top: 80px;
    /* Cap so a tall portrait image never overflows the viewport */
    max-height: calc(100vh - 100px);
    overflow: hidden;
    /* Hint to the browser for smooth sticky tracking */
    will-change: transform;
  }
}

/* === V15 — Right column vertical stack === */
.agedyt-product-right-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* === V15.1 — Description accordion wrapped in a card === */
.agedyt-desc-accordion {
  background: #161616;
  border: 0;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}
.agedyt-desc-accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  color: #FAFAFA;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
}
.agedyt-desc-accordion-head:focus-visible {
  outline: 2px solid rgba(220, 38, 38, 0.6);
  outline-offset: 4px;
  border-radius: 4px;
}
.agedyt-desc-accordion-label {
  flex: 1;
  min-width: 0;
}
.agedyt-desc-accordion-chev {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(250, 250, 250, 0.6);
  transition: transform 220ms ease, color 150ms ease;
}
.agedyt-desc-accordion-head:hover .agedyt-desc-accordion-chev {
  color: #DC2626;
}
.agedyt-desc-accordion.is-open .agedyt-desc-accordion-chev {
  transform: rotate(180deg);
  color: #DC2626;
}
/* Panel: closed → 0; open → Alpine inline style with exact scrollHeight.
   The `is-open` CSS fallback (2000px) handles the brief moment before Alpine
   takes over so the open state is visible at initial paint. The transition is
   gated on `.is-ready` (set after $nextTick) so the initial Alpine refinement
   from 2000px → scrollHeight is instantaneous (no load-time shrink animation). */
.agedyt-desc-accordion-panel {
  max-height: 0;
  overflow: hidden;
}
.agedyt-desc-accordion.is-open .agedyt-desc-accordion-panel {
  max-height: 2000px;
}
.agedyt-desc-accordion.is-ready .agedyt-desc-accordion-panel {
  transition: max-height 280ms ease-out;
}
.agedyt-desc-accordion-inner {
  padding-top: 1rem;
  padding-bottom: 0;
}

/* === V15 — Important / extra block(s) below the description accordion === */
.agedyt-product-extra-block {
  background: #161616;
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
}
.agedyt-product-extra-eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.12);
  color: #FCA5A5;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* V14 — Important tab content (h3 4-step headers) */
.agedyt-product-prose h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #FAFAFA;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 1.25rem 0 0.5rem;
}
.agedyt-product-prose h3:first-child { margin-top: 0; }

/* === V13 — Compact warning under Add to Cart / Buy Now === */
.product-warning-mini {
  margin-top: 0.85rem;
  padding: 0.65rem 0.85rem;
  background: rgba(220, 38, 38, 0.06);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  line-height: 1.4;
}
.product-warning-mini-icon {
  font-size: 0.9rem;
  flex-shrink: 0;
}
.product-warning-mini-text {
  color: rgba(250, 250, 250, 0.75);
}
.product-warning-mini-text a {
  color: #EF4444;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
.product-warning-mini-text a:hover {
  color: #DC2626;
}

/* Sales notification pill — restyle */
.agedyt-sales-pop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  border: 1px solid rgba(220, 38, 38, 0.20);
  background: #161616;
  border-radius: 12px;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
  max-width: 22rem;
}
.agedyt-sales-pop-img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; }
.agedyt-sales-pop-meta { font-size: 0.7rem; color: rgba(250, 250, 250, 0.55); margin: 0; }
.agedyt-sales-pop-name { font-size: 0.85rem; color: #FAFAFA; font-weight: 600; margin: 0.1rem 0; }

/* =========================================================
   Shopping cart page — V10
   ========================================================= */

.agedyt-cart-page {
  position: relative;
  isolation: isolate;
}
.agedyt-cart-page::before,
.agedyt-cart-page::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  border-radius: 50%;
  opacity: 0.25;
  filter: blur(110px);
  will-change: transform;
}
.agedyt-cart-page::before {
  top: -20vh; left: -15vw;
  width: 45vw; height: 45vw;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.40) 0%, rgba(220, 38, 38, 0) 70%);
  animation: agedyt-float-a 28s ease-in-out infinite alternate;
}
.agedyt-cart-page::after {
  bottom: -25vh; right: -15vw;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(127, 29, 29, 0.45) 0%, rgba(127, 29, 29, 0) 70%);
  animation: agedyt-float-b 34s ease-in-out infinite alternate;
}
.agedyt-cart-shell {
  padding-top: 3rem;
  padding-bottom: 4rem;
}
/* V11: replaced the eyebrow + underlined title with a clean centered h1.
   The eyebrow CART pill, the red underline and the SUMMARY pill were all
   asked to be removed in V11D. */
.agedyt-cart-head {
  text-align: center;
  margin-bottom: 2.5rem;
}
.agedyt-cart-head h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #FAFAFA;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.agedyt-cart-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 1024px) {
  .agedyt-cart-grid {
    grid-template-columns: 1fr 22rem;
    gap: 2rem;
  }
}
.agedyt-cart-items-col,
.agedyt-cart-summary-col { min-width: 0; }

/* Item card */
.agedyt-cart-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  background: #161616;
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 16px;
  padding: 1.25rem;
  align-items: center;
  transition: border-color 220ms ease;
}
.agedyt-cart-item:hover { border-color: rgba(220, 38, 38, 0.30); }
@media (min-width: 640px) {
  .agedyt-cart-item {
    grid-template-columns: 96px 1fr auto;
    padding: 1.5rem;
  }
}
.agedyt-cart-item-image {
  width: 96px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.agedyt-cart-item-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.agedyt-cart-item-placeholder {
  color: rgba(220, 38, 38, 0.45);
}
.agedyt-cart-item-info { min-width: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.agedyt-cart-item-name {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #FAFAFA;
  text-decoration: none;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.agedyt-cart-item-name:hover { color: #EF4444; }
.agedyt-cart-item-variant {
  font-size: 0.85rem;
  color: #A1A1AA;
  margin: 0;
}
.agedyt-cart-item-discount {
  font-size: 0.75rem;
  color: #FCA5A5;
  margin: 0.25rem 0 0;
}
.agedyt-cart-item-addons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}
.agedyt-cart-item-addon {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #A1A1AA;
  font-size: 0.7rem;
}

/* Quantity / price / remove cluster */
.agedyt-cart-item-controls {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
@media (min-width: 640px) {
  .agedyt-cart-item-controls {
    grid-column: auto;
    border-top: 0;
    padding-top: 0;
    gap: 1.5rem;
    justify-content: flex-end;
  }
}
.agedyt-cart-qty {
  display: inline-flex;
  align-items: stretch;
  background: #1F1F1F;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  overflow: hidden;
}
.agedyt-cart-qty-btn {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: #FAFAFA;
  cursor: pointer;
  font-size: 0.75rem;
  transition: background 150ms ease, color 150ms ease;
}
.agedyt-cart-qty-btn:hover:not(:disabled) {
  background: rgba(220, 38, 38, 0.08);
  color: #EF4444;
}
.agedyt-cart-qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.agedyt-cart-qty-input {
  width: 2.5rem;
  background: transparent;
  border: 0;
  color: #FAFAFA;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.agedyt-cart-qty-input:focus { outline: none; }
.agedyt-cart-qty-input::-webkit-inner-spin-button,
.agedyt-cart-qty-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.agedyt-cart-item-price {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #FAFAFA;
  margin: 0;
  font-variant-numeric: tabular-nums;
  min-width: 4rem;
  text-align: right;
}
.agedyt-cart-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: #EF4444;
  cursor: pointer;
  transition: background 150ms ease;
}
.agedyt-cart-remove:hover { background: rgba(220, 38, 38, 0.10); }

/* Empty state */
.agedyt-cart-empty {
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 3rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Summary card (Your Order) */
.agedyt-cart-summary {
  background: #161616;
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 16px;
  padding: 1.5rem;
  position: sticky;
  top: 1.5rem;
}
@media (max-width: 1023px) {
  .agedyt-cart-summary { position: static; }
}
.agedyt-cart-summary-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.agedyt-cart-summary-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FAFAFA;
  margin: 0;
  letter-spacing: -0.02em;
}
.agedyt-cart-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}
.agedyt-cart-summary-row:last-child { margin-bottom: 0; }
.agedyt-cart-summary-label {
  font-size: 0.85rem;
  color: #A1A1AA;
}
.agedyt-cart-summary-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #FAFAFA;
  font-variant-numeric: tabular-nums;
}
.agedyt-cart-checkout {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem !important;
  font-size: 1rem;
  font-weight: 600;
  justify-content: center;
}
.agedyt-cart-error {
  background: rgba(220, 38, 38, 0.10);
  border: 1px solid rgba(220, 38, 38, 0.30);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: #FCA5A5;
  font-size: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.agedyt-cart-error i { margin-top: 0.15rem; flex-shrink: 0; color: #EF4444; }

/* =========================================================
   Delivery accounts (snippets/delivery-accounts.njk) — V12
   Per-account accordion shown on the order/delivery page.
   ========================================================= */

.agedyt-delivery {
  max-width: 800px;
  margin-inline: auto;
  padding: 1rem 0;
}

.agedyt-delivery-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.5rem 1rem;
  color: rgba(255, 255, 255, 0.65);
  gap: 0.75rem;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
}
.agedyt-delivery-empty i { color: rgba(220, 38, 38, 0.7); font-size: 1.4rem; }
.agedyt-delivery-empty p { margin: 0; }

.agedyt-delivery-card {
  background: #161616;
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 16px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color 200ms ease;
}
.agedyt-delivery-card:hover { border-color: rgba(220, 38, 38, 0.30); }
.agedyt-delivery-card.is-fallback { border-color: rgba(245, 158, 11, 0.30); }

/* Accordion header */
.agedyt-delivery-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  background: transparent;
  border: 0;
  color: #FAFAFA;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms ease;
  text-align: left;
  letter-spacing: -0.01em;
}
.agedyt-delivery-head:hover { background: rgba(255, 255, 255, 0.02); }
.agedyt-delivery-head:focus-visible { outline: 2px solid rgba(220, 38, 38, 0.6); outline-offset: -2px; }

.agedyt-delivery-head-left {
  display: inline-flex;
  align-items: baseline;
  gap: 0.85rem;
  min-width: 0;
}
.agedyt-delivery-head-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #DC2626;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.agedyt-delivery-head-email {
  font-family: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;
  font-size: 0.95rem;
  font-weight: 500;
  color: #FAFAFA;
  word-break: break-all;
  min-width: 0;
}

.agedyt-delivery-chevron {
  width: 18px;
  height: 18px;
  color: rgba(220, 38, 38, 0.7);
  transition: transform 220ms var(--agedyt-ease-out, ease-out);
  flex-shrink: 0;
  margin-left: 1rem;
}
.agedyt-delivery-chevron.is-rotated { transform: rotate(180deg); }

/* Accordion body */
.agedyt-delivery-body {
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.agedyt-field-row {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.agedyt-field-row:last-child { border-bottom: 0; }

.agedyt-field-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(220, 38, 38, 0.85);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.agedyt-field-value-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.agedyt-field-value {
  flex: 1 1 14rem;
  font-family: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;
  color: #FAFAFA;
  font-size: 0.9rem;
  word-break: break-all;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.55rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-width: 0;
}

.agedyt-copy-btn,
.agedyt-show-btn,
.agedyt-open-btn {
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(220, 38, 38, 0.30);
  background: rgba(220, 38, 38, 0.08);
  color: #EF4444;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease, border-color 150ms ease, transform 150ms ease;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
  line-height: 1;
}
.agedyt-copy-btn:hover,
.agedyt-show-btn:hover,
.agedyt-open-btn:hover {
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.50);
  color: #FCA5A5;
}
.agedyt-copy-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.agedyt-copy-btn.is-copied {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.40);
  color: #4ADE80;
}

.agedyt-delivery-extlink {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.6rem;
  color: rgba(220, 38, 38, 0.85);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 150ms ease;
}
.agedyt-delivery-extlink:hover { color: #EF4444; text-decoration: underline; }

/* TOTP block */
.agedyt-totp-row {
  background: rgba(220, 38, 38, 0.05);
  border: 1px solid rgba(220, 38, 38, 0.15) !important;
  border-radius: 12px;
  padding: 1.1rem !important;
  margin: 0.5rem 0;
}
.agedyt-totp-row .agedyt-field-label { margin-bottom: 0.85rem; }
.agedyt-totp-display {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}
.agedyt-totp-code {
  font-family: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.3rem;
  background: linear-gradient(135deg, #EF4444, #DC2626);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.agedyt-totp-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 2px;
  overflow: hidden;
}
.agedyt-totp-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #EF4444, #DC2626);
  transition: width 1s linear;
}
.agedyt-totp-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.75rem;
}
.agedyt-totp-remaining {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Fallback (invalid serial) */
.agedyt-delivery-fallback {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.agedyt-delivery-fallback-head {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #FBBF24;
  font-weight: 600;
  font-size: 0.9rem;
}
.agedyt-delivery-fallback-raw {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin: 0;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  white-space: pre-wrap;
  word-break: break-all;
}
.agedyt-delivery-fallback-help { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); margin: 0; }
.agedyt-delivery-fallback-help a { color: #EF4444; text-decoration: underline; }

/* Warm-up warning */
.agedyt-delivery-warning {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.25);
  border-radius: 12px;
  padding: 1.15rem 1.25rem;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  line-height: 1.55;
}
.agedyt-delivery-warning > i {
  color: #EF4444;
  font-size: 1rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.agedyt-delivery-warning p { margin: 0; }
.agedyt-delivery-warning strong { color: #FAFAFA; font-weight: 700; }
.agedyt-delivery-warning a {
  color: #FCA5A5;
  text-decoration: none;
  border-bottom: 1px solid rgba(220, 38, 38, 0.45);
  font-weight: 600;
}
.agedyt-delivery-warning a:hover { color: #EF4444; border-color: #EF4444; }

/* Page header (used by templates that wrap delivery) */
.agedyt-delivery-page-header {
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.agedyt-delivery-page-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: #FAFAFA;
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.agedyt-delivery-page-header p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 640px) {
  .agedyt-delivery-head { padding: 1rem 1.25rem; }
  .agedyt-delivery-body { padding: 0 1.25rem 1.25rem; }
  .agedyt-field-value-row { flex-direction: column; align-items: stretch; }
  .agedyt-copy-btn,
  .agedyt-show-btn,
  .agedyt-open-btn { width: 100%; justify-content: center; }
  .agedyt-totp-code { font-size: 1.6rem; letter-spacing: 0.2rem; }
}

/* =========================================================
   V18 — Tickets dashboard (list + detail + create modal)
   ========================================================= */

/* Subtle variant of the help callout — used on tickets list */
.agedyt-help-callout--subtle {
  background: #161616;
  border-left: 3px solid rgba(255, 255, 255, 0.06);
  color: #A1A1AA;
}
.agedyt-help-callout--subtle p { color: #A1A1AA; }
.agedyt-help-callout--subtle a {
  color: #FAFAFA;
  text-decoration: underline;
  text-decoration-color: rgba(220, 38, 38, 0.4);
  text-underline-offset: 3px;
}
.agedyt-help-callout--subtle a:hover { color: #FCA5A5; }

/* Tickets list table */
.agedyt-tickets-table-wrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.agedyt-tickets-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
}
.agedyt-tickets-table thead th {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #A1A1AA;
  background: #0F0F0F;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.agedyt-tickets-row {
  cursor: pointer;
  transition: background 150ms ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.agedyt-tickets-row:last-child { border-bottom: 0; }
.agedyt-tickets-row:hover { background: #1F1F1F; }
.agedyt-tickets-row td {
  padding: 1rem 1.25rem;
  font-size: 0.92rem;
  color: #FAFAFA;
  vertical-align: middle;
}
.agedyt-tickets-subject a {
  color: #FAFAFA;
  font-weight: 600;
  text-decoration: none;
}
.agedyt-tickets-subject a:hover { color: #FCA5A5; }
.agedyt-tickets-date {
  color: #A1A1AA;
  font-size: 0.85rem;
  white-space: nowrap;
}

/* Status pills */
.agedyt-ticket-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.agedyt-ticket-pill--awaiting {
  background: rgba(220, 38, 38, 0.10);
  border-color: rgba(220, 38, 38, 0.30);
  color: #FCA5A5;
}
.agedyt-ticket-pill--replied {
  background: rgba(34, 197, 94, 0.10);
  border-color: rgba(34, 197, 94, 0.30);
  color: #86EFAC;
}
.agedyt-ticket-pill--closed {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.10);
  color: #A1A1AA;
}
.agedyt-ticket-pill--neutral {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #D4D4D8;
}
.agedyt-ticket-pill--link {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
  color: #FAFAFA;
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease;
}
.agedyt-ticket-pill--link:hover {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.30);
  color: #FCA5A5;
}

/* Tickets empty state */
.agedyt-tickets-empty {
  text-align: center;
  padding: 3.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.agedyt-tickets-empty i {
  font-size: 2.5rem;
  color: rgba(250, 250, 250, 0.20);
  margin-bottom: 0.25rem;
}
.agedyt-tickets-empty p {
  color: #A1A1AA;
  font-size: 0.95rem;
  margin: 0;
}
.agedyt-tickets-empty-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.6rem 1.25rem;
  border: 1px solid #DC2626;
  border-radius: 999px;
  background: transparent;
  color: #FAFAFA;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease;
}
.agedyt-tickets-empty-cta:hover {
  background: rgba(220, 38, 38, 0.10);
  border-color: #EF4444;
  color: #FAFAFA;
}

/* Ticket detail — header card */
.agedyt-ticket-header {
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .agedyt-ticket-header { padding: 1.5rem 1.75rem; }
}
.agedyt-ticket-subject {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #FAFAFA;
  letter-spacing: -0.01em;
  margin: 0;
  word-break: break-word;
}
@media (min-width: 768px) {
  .agedyt-ticket-subject { font-size: 1.5rem; }
}
.agedyt-ticket-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

/* Chat container */
.agedyt-ticket-chat {
  background: #0A0A0A;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.agedyt-ticket-messages {
  height: calc(100vh - 460px);
  min-height: 360px;
  overflow-y: auto;
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 768px) {
  .agedyt-ticket-messages { padding: 2rem 1.75rem 1.5rem; }
}
.agedyt-ticket-messages::-webkit-scrollbar { width: 6px; }
.agedyt-ticket-messages::-webkit-scrollbar-track { background: transparent; }
.agedyt-ticket-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}

/* Chat bubbles */
.agedyt-ticket-message {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 100%;
}
.agedyt-ticket-message--support {
  flex-direction: row;
  justify-content: flex-start;
}
.agedyt-ticket-message--user {
  flex-direction: row-reverse;
  justify-content: flex-start;
}
.agedyt-ticket-avatar {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
}
.agedyt-ticket-avatar img,
.agedyt-ticket-avatar-fallback {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  object-fit: cover;
}
.agedyt-ticket-avatar img {
  background: rgba(220, 38, 38, 0.10);
  padding: 4px;
}
.agedyt-ticket-avatar-fallback--support {
  background: rgba(220, 38, 38, 0.10);
  color: #DC2626;
}
.agedyt-ticket-avatar-fallback--user {
  background: #DC2626;
  color: #FFFFFF;
}
.agedyt-ticket-bubble-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-width: 70%;
  min-width: 0;
}
.agedyt-ticket-message--user .agedyt-ticket-bubble-wrap {
  align-items: flex-end;
}
.agedyt-ticket-bubble-head {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  font-family: 'Space Grotesk', sans-serif;
}
.agedyt-ticket-message--user .agedyt-ticket-bubble-head { flex-direction: row-reverse; }
.agedyt-ticket-bubble-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: #FAFAFA;
}
.agedyt-ticket-message--user .agedyt-ticket-bubble-name { color: #EF4444; }
.agedyt-ticket-bubble-time {
  font-size: 0.7rem;
  color: #71717A;
}
.agedyt-ticket-bubble {
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  color: #E4E4E7;
  font-size: 0.95rem;
  line-height: 1.5;
  word-break: break-word;
  overflow-wrap: anywhere;
}
@media (min-width: 768px) {
  .agedyt-ticket-bubble { padding: 0.95rem 1.15rem; font-size: 1rem; }
}
.agedyt-ticket-message--user .agedyt-ticket-bubble {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.20);
  color: #FAFAFA;
}

/* Reply bar */
.agedyt-ticket-reply {
  background: #0A0A0A;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1rem 1.25rem;
}
@media (min-width: 768px) {
  .agedyt-ticket-reply { padding: 1.1rem 1.5rem; }
}
.agedyt-ticket-reply-form {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  position: relative;
}
.agedyt-ticket-reply-input {
  flex: 1 1 auto;
  min-width: 0;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 0.7rem 1rem;
  color: #FAFAFA;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  resize: none;
  field-sizing: content;
  max-height: 6rem;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.agedyt-ticket-reply-input:focus {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}
.agedyt-ticket-reply-input::placeholder { color: #71717A; }
.agedyt-ticket-reply-input:disabled { opacity: 0.5; cursor: not-allowed; }
.agedyt-ticket-reply-send {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.1rem;
  background: #DC2626;
  border: 0;
  border-radius: 10px;
  color: #FFFFFF;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease;
}
.agedyt-ticket-reply-send:hover:not(:disabled) { background: #B91C1C; }
.agedyt-ticket-reply-send:disabled { opacity: 0.5; cursor: not-allowed; }
.agedyt-ticket-reply-send i { font-size: 0.9rem; }
.agedyt-ticket-reply-error {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: #F87171;
}
.agedyt-ticket-reply-closed {
  text-align: center;
  font-size: 0.9rem;
  color: #A1A1AA;
  margin: 0.25rem 0;
}

/* Create-ticket modal */
.agedyt-ticket-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  overflow-y: auto;
}
.agedyt-ticket-modal-overlay-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 1rem;
}
.agedyt-ticket-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  transition: opacity 200ms ease;
}
.agedyt-ticket-modal-card {
  position: relative;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  max-width: 500px;
  text-align: left;
  z-index: 1;
}
.agedyt-ticket-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.agedyt-ticket-modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.375rem;
  font-weight: 600;
  color: #FAFAFA;
  margin: 0;
  letter-spacing: -0.01em;
}
.agedyt-ticket-modal-close {
  background: transparent;
  border: 0;
  color: rgba(250, 250, 250, 0.55);
  cursor: pointer;
  padding: 0.25rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: color 150ms ease, background 150ms ease;
}
.agedyt-ticket-modal-close:hover {
  color: #FCA5A5;
  background: rgba(220, 38, 38, 0.08);
}
.agedyt-ticket-modal-close svg { width: 1.5rem; height: 1.5rem; }
.agedyt-ticket-modal-form { display: flex; flex-direction: column; gap: 1rem; }
.agedyt-ticket-field { display: flex; flex-direction: column; gap: 0.4rem; }
.agedyt-ticket-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #A1A1AA;
}
.agedyt-ticket-input {
  background: #0A0A0A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  color: #FAFAFA;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  width: 100%;
}
.agedyt-ticket-input::placeholder { color: #52525B; }
.agedyt-ticket-input:focus {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}
.agedyt-ticket-input--readonly {
  background: rgba(255, 255, 255, 0.03);
  color: #A1A1AA;
  cursor: not-allowed;
  pointer-events: none;
}
.agedyt-ticket-input--textarea {
  resize: vertical;
  min-height: 120px;
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.5;
}
.agedyt-ticket-modal-error {
  font-size: 0.85rem;
  color: #F87171;
  margin: 0;
}
.agedyt-ticket-modal-submit {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #DC2626;
  border: 0;
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  color: #FFFFFF;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 150ms ease;
}
.agedyt-ticket-modal-submit:hover:not(:disabled) { background: #B91C1C; }
.agedyt-ticket-modal-submit:disabled { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 640px) {
  .agedyt-ticket-bubble-wrap { max-width: 80%; }
  .agedyt-ticket-messages { height: calc(100vh - 500px); min-height: 300px; }
  .agedyt-ticket-modal-card { padding: 1.5rem; }
  .agedyt-ticket-modal-title { font-size: 1.2rem; }
  .agedyt-tickets-table thead th { padding: 0.7rem 0.85rem; font-size: 0.65rem; }
  .agedyt-tickets-row td { padding: 0.85rem; font-size: 0.85rem; }
  .agedyt-ticket-reply-form { gap: 0.5rem; }
  .agedyt-ticket-reply-send { padding: 0.65rem 0.9rem; }
  .agedyt-ticket-reply-send span { display: none; }
}

/* Help page screenshots */
.help-screenshot {
  margin: 24px 0;
  padding: 16px;
  background: #161616;
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 12px;
}

.help-screenshot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.help-screenshot-wide {
  max-width: 720px;
}

.help-screenshot-narrow {
  max-width: 360px;
}

.help-screenshot figcaption {
  margin-top: 12px;
  font-size: 13px;
  color: #A1A1AA;
  font-style: italic;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .help-screenshot-narrow {
    max-width: 100%;
  }
}

/* Help list with dashes */
.list-with-dashes {
  list-style: none;
  padding-left: 0;
  margin: 12px 0;
}

.list-with-dashes li {
  position: relative;
  padding-left: 20px;
  margin: 8px 0;
  color: rgb(var(--cl-t-primary) / 0.85);
  line-height: 1.6;
}

.list-with-dashes li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: rgb(var(--cl-accent));
}

/* =========================================================
   Login modal — YtVault DA
   ========================================================= */

.agedyt-login-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 200ms ease;
}

.agedyt-login-modal-card {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 480px;
  margin: 2rem 0;
  padding: 32px;
  text-align: left;
  vertical-align: middle;
  background: #161616;
  border: 1px solid rgba(220, 38, 38, 0.15);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(220, 38, 38, 0.08);
  color: #FAFAFA;
}

.agedyt-login-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 24px;
}

.agedyt-login-modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #FAFAFA;
  line-height: 1.3;
  margin: 0 0 8px 0;
}

@media (max-width: 480px) {
  .agedyt-login-modal-card { padding: 24px; }
  .agedyt-login-modal-title { font-size: 20px; }
}

.agedyt-login-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: #A1A1AA;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.agedyt-login-modal-close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #FAFAFA;
}

.agedyt-login-modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agedyt-login-modal-field {
  display: flex;
  flex-direction: column;
}

.agedyt-login-modal-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #A1A1AA;
  margin-bottom: 8px;
}

.agedyt-login-modal-sub {
  font-size: 13px;
  color: #A1A1AA;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.agedyt-login-modal-input {
  width: 100%;
  padding: 12px 14px;
  background: #0A0A0A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #FAFAFA;
  font-size: 15px;
  font-family: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.agedyt-login-modal-input::placeholder {
  color: #6B7280;
}

.agedyt-login-modal-input:focus {
  outline: none;
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

.agedyt-login-modal-altcha {
  margin-top: 4px;
}

.agedyt-login-modal-error {
  margin: 0;
  font-size: 13px;
  color: #F87171;
  line-height: 1.5;
}

.agedyt-login-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  margin-top: 8px;
  background: #DC2626;
  border: none;
  border-radius: 10px;
  color: #FFFFFF;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}

.agedyt-login-modal-cta:hover:not(:disabled) {
  background: #B91C1C;
  box-shadow: 0 8px 24px -8px rgba(220, 38, 38, 0.5);
}

.agedyt-login-modal-cta:active:not(:disabled) {
  transform: translateY(1px);
}

.agedyt-login-modal-cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.agedyt-login-modal-otp-grid {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.agedyt-login-modal-otp-input {
  flex: 1 1 0;
  min-width: 0;
  height: 52px;
  padding: 0;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  font-family: inherit;
  background: #0A0A0A;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #FAFAFA;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.agedyt-login-modal-otp-input:focus {
  outline: none;
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

