:root {
  --bg: #0b1021;
  --bg-panel: #11172e;
  --card: #151c36;
  --accent: #7cf0ff;
  --accent-2: #b892ff;
  --text: #e7ecf5;
  --muted: #9aa5c4;
  --border: rgba(255, 255, 255, 0.06);
  --radius: 14px;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  --gradient: linear-gradient(135deg, #1d2b5c 0%, #0b8ec7 45%, #7cf0ff 100%);
  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-body: "Manrope", system-ui, -apple-system, sans-serif;
  --font-coach-display: "Cormorant Garamond", serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(circle at 20% 20%, rgba(124, 240, 255, 0.08), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(184, 146, 255, 0.1), transparent 25%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
}

.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 60px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.brand-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 12px;
  padding: 0;
  border: none;
  background: transparent;
}

.logo-dot {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient);
  box-shadow: 0 12px 30px rgba(124, 240, 255, 0.35);
}

.brand-name {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.3px;
}

.brand-sub {
  color: var(--muted);
  font-size: 13px;
}

.top-nav {
  display: flex;
  gap: 16px;
  align-items: center;
}

.top-nav a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 42px);
  margin: 8px 0 10px;
}

.hero-text p {
  color: var(--muted);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 16px 0;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.hero-card {
  position: relative;
  padding: 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(15, 23, 52, 0.9), rgba(17, 28, 74, 0.7));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(124, 240, 255, 0.25), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(184, 146, 255, 0.25), transparent 45%);
  filter: blur(20px);
  opacity: 0.8;
}

.hero-card-content {
  position: relative;
}

.logo-card {
  display: grid;
  place-items: center;
}

.logo-card img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.35));
}

.badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(124, 240, 255, 0.1);
  color: var(--accent);
  border: 1px solid rgba(124, 240, 255, 0.4);
  font-size: 13px;
  margin-bottom: 12px;
}

.hero-stat {
  margin-bottom: 16px;
}

.hero-stat strong {
  display: block;
  font-size: 20px;
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 6px;
}

.panel {
  background: rgba(17, 23, 46, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.card {
  padding: 14px;
  border-radius: 12px;
  background: var(--card);
  border: 1px solid var(--border);
}

.card-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.muted {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 10px 14px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
  font-weight: 600;
}

.button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.button.primary {
  background: var(--gradient);
  color: #02060f;
  border: none;
  box-shadow: 0 14px 34px rgba(124, 240, 255, 0.35);
}

.button.ghost {
  background: transparent;
  border: 1px solid var(--border);
}

.button.small {
  padding: 8px 12px;
  font-size: 14px;
}

.button.full {
  width: 100%;
}

.toolbar {
  display: flex;
  gap: 14px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.collection-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.collection-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  user-select: none;
  transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.collection-check input {
  margin: 0;
}

.collection-check:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.collection-check.selected {
  background: linear-gradient(135deg, #7cf0ff 0%, #0b8ec7 50%, #7cf0ff 100%);
  color: #0b1021;
  border-color: rgba(124, 240, 255, 0.8);
  box-shadow: 0 12px 28px rgba(124, 240, 255, 0.35);
}

.input-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 220px;
}

.label-text {
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 6px;
}

input,
select {
  background: #f4f6fb;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
  color: #0b1021;
  font-family: inherit;
}

select option {
  color: #0b1021;
}

.toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--card);
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow);
}

.product-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill-ok {
  background: rgba(124, 240, 255, 0.15);
  color: var(--accent);
  border: 1px solid rgba(124, 240, 255, 0.35);
}

.pill-warn {
  background: rgba(255, 184, 79, 0.12);
  color: #f7c66b;
  border: 1px solid rgba(247, 198, 107, 0.4);
}

.pill-muted {
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  border: 1px solid var(--border);
}

.pill.tag-pinch {
  background: rgba(102, 221, 156, 0.16);
  color: #8df0be;
  border: 1px solid rgba(102, 221, 156, 0.45);
}

.pill.tag-screw-on,
.pill.tag-screw-in {
  background: rgba(255, 197, 95, 0.16);
  color: #f7c66b;
  border: 1px solid rgba(255, 197, 95, 0.45);
}

.pill.tag-sale {
  background: rgba(255, 104, 104, 0.18);
  color: #ff9a9a;
  border: 1px solid rgba(255, 104, 104, 0.55);
}

.pill.tag-bolts {
  background: rgba(124, 196, 255, 0.14);
  color: #9dd6ff;
  border: 1px solid rgba(124, 196, 255, 0.45);
}

.pill.tag-full-texture {
  background: rgba(184, 146, 255, 0.16);
  color: #d6c1ff;
  border: 1px solid rgba(184, 146, 255, 0.45);
}

.pill.tag-auto {
  background: var(--pill-bg, rgba(255, 255, 255, 0.08));
  color: var(--pill-text, #f5f5f5);
  border: 1px solid var(--pill-border, rgba(255, 255, 255, 0.25));
}

.footer {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.cart-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 10px 12px;
  border-radius: 12px;
}

.cart-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  height: 100vh;
  background: #0c1124;
  border-left: 1px solid var(--border);
  box-shadow: -12px 0 34px rgba(0, 0, 0, 0.4);
  padding: 18px;
  transition: right 180ms ease;
  z-index: 20;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  z-index: 15;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.icon-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 18px;
  cursor: pointer;
}

.cart-lines {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 4px;
}

.cart-line {
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.cart-line header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.cart-line small {
  color: var(--muted);
}

.line-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px 10px;
}

.qty button {
  background: none;
  border: none;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
}

.cart-footer {
  border-top: 1px solid var(--border);
  padding-top: 12px;
}

.cart-totals {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.stat {
  font-weight: 700;
}

.error-banner {
  background: rgba(255, 104, 104, 0.12);
  border: 1px solid rgba(255, 104, 104, 0.4);
  color: #ffb3b3;
  padding: 10px 12px;
  border-radius: 12px;
  margin: 8px 0;
}

.floating-cart {
  position: fixed;
  right: 18px;
  bottom: 18px;
  background: var(--gradient);
  color: #0b1021;
  border: none;
  border-radius: 14px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  z-index: 18;
  font-weight: 700;
}

.floating-cart span:first-child {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #0b1021;
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 13px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 40;
  padding: 20px;
}

.lightbox.open {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
}

.desc-modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 25, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 45;
  padding: 20px;
  backdrop-filter: blur(6px);
}

.desc-modal.open {
  display: flex;
}

.desc-card {
  position: relative;
  width: min(720px, 92vw);
  background: linear-gradient(160deg, rgba(21, 28, 54, 0.98), rgba(10, 14, 28, 0.98));
  border: 1px solid rgba(124, 240, 255, 0.18);
  border-radius: 18px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  animation: desc-pop 180ms ease;
}

.desc-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--gradient);
}

.desc-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 1;
}

.desc-hero {
  height: 190px;
  background: radial-gradient(circle at 20% 20%, rgba(124, 240, 255, 0.3), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(184, 146, 255, 0.28), transparent 55%),
    #10162b;
  position: relative;
}

.desc-hero.no-image {
  height: 120px;
}

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

.desc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 12, 26, 0.2), rgba(8, 12, 26, 0.75));
}

.desc-content {
  position: relative;
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.desc-content h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
}

.desc-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11px;
  color: var(--muted);
}

.desc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.desc-text {
  color: var(--text);
  line-height: 1.6;
  white-space: pre-line;
}

@keyframes desc-pop {
  from {
    transform: translateY(10px) scale(0.98);
    opacity: 0;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.auth-card {
  max-width: 480px;
  margin: 40px auto;
}

.auth-inner {
  background: rgba(17, 23, 46, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.auth-form label {
  color: var(--muted);
  font-weight: 600;
}

.input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.availability {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

body.home-page {
  background: radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.06), transparent 36%),
    radial-gradient(circle at 85% 0%, rgba(255, 255, 255, 0.04), transparent 32%),
    #151515;
  color: #f4f1ec;
}

body.home-page .page-shell {
  max-width: none;
  padding: 0;
}

body.home-page main {
  margin: 0;
}

body.home-page .topbar,
body.home-page .footer {
  display: none;
}

.landing-shell {
  min-height: 100vh;
  max-width: 1200px;
  margin: 0 auto;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.landing-topbar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  animation: landing-fade 420ms ease both;
}

.landing-top-item {
  padding: 18px 22px;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-display);
  color: #f2f2f2;
  text-decoration: none;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.landing-top-item:focus-visible {
  outline: 1px solid rgba(255, 255, 255, 0.6);
  outline-offset: -2px;
}

.landing-top-item:last-child {
  border-right: none;
  justify-content: flex-end;
}

.landing-brand {
  justify-content: center;
  letter-spacing: 0.34em;
  font-weight: 600;
}

.landing-hero {
  padding: 72px 24px 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  text-align: center;
  animation: landing-fade 480ms ease both;
  animation-delay: 60ms;
}

.landing-hero h1 {
  margin: 0 auto;
  max-width: 900px;
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 70px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #f1ede7;
}

.landing-hero span {
  display: block;
}

.landing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-card {
  padding: 28px 26px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 360px;
  animation: landing-rise 520ms ease both;
}

.landing-card:nth-child(2n) {
  border-right: none;
}

.landing-card:nth-child(2) {
  animation-delay: 90ms;
}

.landing-card:nth-child(3) {
  animation-delay: 140ms;
}

.landing-card:nth-child(4) {
  animation-delay: 190ms;
}

.landing-media {
  background: var(--media-bg, #d8b26a);
  border-radius: 18px;
  padding: 26px;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.landing-media img {
  width: 100%;
  height: 100%;
  max-height: 260px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

.landing-card:hover .landing-media {
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
}

.landing-card-meta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-display);
}

.landing-card-title {
  color: #f2f2f2;
  letter-spacing: 0.12em;
}

.landing-card-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.landing-card-link:hover {
  color: #ffffff;
}

@keyframes landing-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes landing-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .landing-shell {
    border-left: none;
    border-right: none;
  }

  .landing-grid {
    grid-template-columns: 1fr;
  }

  .landing-card {
    border-right: none;
  }
}

@media (max-width: 720px) {
  .landing-topbar {
    grid-template-columns: 1fr;
  }

  .landing-top-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    justify-content: flex-start;
  }

  .landing-top-item:last-child {
    border-bottom: none;
  }

  .landing-hero {
    padding: 58px 18px 40px;
  }

  .landing-media {
    min-height: 200px;
  }

  .landing-card-meta {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .landing-card-link {
    justify-self: start;
  }
}

body.catalog-page {
  --catalog-bg: #0c0c0c;
  --catalog-panel: #171717;
  --catalog-panel-soft: #1c1c1c;
  --catalog-border: rgba(255, 255, 255, 0.08);
  --catalog-muted: rgba(255, 255, 255, 0.6);
  --catalog-accent: #45d48a;
  background: radial-gradient(circle at 15% 10%, rgba(69, 212, 138, 0.18), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.05), transparent 30%),
    #0c0c0c;
  color: #f5f5f5;
}

body.catalog-page .page-shell {
  max-width: none;
  padding: 0;
}

body.catalog-page main {
  margin: 0;
}

body.catalog-page .topbar,
body.catalog-page .footer {
  display: none;
}

body.catalog-page .muted {
  color: var(--catalog-muted);
}

.catalog-shell {
  min-height: 100vh;
}

.catalog-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 32px;
  border-bottom: 1px solid var(--catalog-border);
  background: rgba(12, 12, 12, 0.95);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.catalog-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.catalog-brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  padding: 4px;
  border: 1px solid var(--catalog-border);
  background: #0b0b0b;
}

.catalog-brand-name {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 12px;
}

.catalog-brand-sub {
  color: var(--catalog-muted);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.catalog-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}

.catalog-nav a {
  color: var(--catalog-muted);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 10px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.catalog-nav a.active {
  color: #f5f5f5;
  border-bottom-color: var(--catalog-accent);
}

.catalog-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.catalog-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--catalog-border);
  background: rgba(255, 255, 255, 0.04);
  color: #f5f5f5;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
  cursor: pointer;
}

.catalog-action.cart-action {
  text-transform: none;
  letter-spacing: 0.18em;
  font-size: 10px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.cart-action .cart-label {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
}

.cart-action .cart-meta {
  display: grid;
  gap: 2px;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--catalog-muted);
}

.catalog-body {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 32px 48px;
}

.catalog-sidebar {
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid var(--catalog-border);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  gap: 18px;
  position: sticky;
  top: 90px;
  height: fit-content;
  animation: catalog-fade 420ms ease both;
}

.sidebar-header {
  display: grid;
  gap: 4px;
}

.sidebar-title {
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 12px;
}

.sidebar-sub {
  color: var(--catalog-muted);
  font-size: 12px;
}

.sidebar-section {
  display: grid;
  gap: 10px;
}

.sidebar-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--catalog-muted);
}

body.catalog-page input,
body.catalog-page select {
  background: #101010;
  border: 1px solid var(--catalog-border);
  border-radius: 12px;
  color: #f5f5f5;
  padding: 10px 12px;
  font-family: inherit;
}

body.catalog-page select option {
  color: #f5f5f5;
  background: #101010;
}

body.catalog-page .collection-filters {
  display: grid;
  gap: 8px;
}

body.catalog-page .collection-check {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border: none;
  background: transparent;
  color: var(--catalog-muted);
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 13px;
}

body.catalog-page .collection-check::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

body.catalog-page .collection-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

body.catalog-page .collection-check.selected {
  color: #f5f5f5;
}

body.catalog-page .collection-check.selected::before {
  background: var(--catalog-accent);
}

body.catalog-page .price-range {
  display: grid;
  gap: 8px;
}

body.catalog-page .price-track {
  position: relative;
  height: 24px;
  --range-start: 0%;
  --range-end: 100%;
}

body.catalog-page .price-track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  transform: translateY(-50%);
}

body.catalog-page .price-track::after {
  content: "";
  position: absolute;
  left: var(--range-start);
  right: calc(100% - var(--range-end));
  top: 50%;
  height: 4px;
  background: var(--catalog-accent);
  border-radius: 999px;
  transform: translateY(-50%);
}

body.catalog-page .price-track input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 24px;
  background: transparent;
  margin: 0;
  pointer-events: none;
}

body.catalog-page .price-track input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}

body.catalog-page .price-track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f5f5f5;
  border: 2px solid #0b0b0b;
  box-shadow: 0 0 0 2px rgba(69, 212, 138, 0.35);
  margin-top: -5px;
  pointer-events: auto;
  cursor: pointer;
}

body.catalog-page .price-track input[type="range"]::-moz-range-track {
  height: 4px;
  background: transparent;
}

body.catalog-page .price-track input[type="range"]::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f5f5f5;
  border: 2px solid #0b0b0b;
  box-shadow: 0 0 0 2px rgba(69, 212, 138, 0.35);
  pointer-events: auto;
  cursor: pointer;
}

body.catalog-page .price-track .range-min {
  z-index: 2;
}

body.catalog-page .price-track .range-max {
  z-index: 3;
}

body.catalog-page .price-values {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--catalog-muted);
}

body.catalog-page .chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.catalog-page .chip-button {
  border: 1px solid var(--catalog-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--catalog-muted);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

body.catalog-page .chip-button.active {
  background: var(--catalog-accent);
  color: #0b0b0b;
  border-color: var(--catalog-accent);
  box-shadow: 0 10px 20px rgba(69, 212, 138, 0.25);
}

.catalog-content {
  display: grid;
  gap: 16px;
  animation: catalog-fade 420ms ease both;
  animation-delay: 60ms;
}

.catalog-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.catalog-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 10px;
  color: var(--catalog-muted);
}

.catalog-header h1 {
  font-family: var(--font-display);
  margin: 6px 0 8px;
  font-size: clamp(28px, 3vw, 40px);
}

.catalog-header p {
  margin: 0;
  color: var(--catalog-muted);
  max-width: 520px;
}

.catalog-controls .input-wrap {
  min-width: 220px;
}

.catalog-controls .input-wrap label {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
  color: var(--catalog-muted);
}

.catalog-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--catalog-border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--catalog-muted);
}

.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

body.catalog-page .product-card {
  background: linear-gradient(160deg, rgba(30, 30, 30, 0.95), rgba(15, 15, 15, 0.95));
  border: 1px solid var(--catalog-border);
  border-radius: 18px;
  padding: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

body.catalog-page .product-card.product-card-placeholder {
  min-height: 360px;
  visibility: hidden;
  pointer-events: none;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

body.catalog-page .product-card.is-flash-sale {
  border-color: rgba(255, 107, 107, 0.55);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 107, 107, 0.25),
    0 0 32px rgba(255, 107, 107, 0.2);
}

body.catalog-page .product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(69, 212, 138, 0.12), transparent 45%);
  opacity: 0.7;
  pointer-events: none;
}

body.catalog-page .product-card>* {
  position: relative;
  z-index: 1;
}

body.catalog-page .flash-sale-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.95), rgba(255, 178, 107, 0.95));
  color: #0b0b0b;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.35);
  pointer-events: none;
  z-index: 2;
}

body.catalog-page .product-media {
  background: #101010;
  border-radius: 16px;
  padding: 16px;
  display: grid;
  place-items: center;
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

body.catalog-page .product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.catalog-page .product-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

body.catalog-page .wishlist-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--catalog-border);
  background: rgba(0, 0, 0, 0.45);
  color: #f5f5f5;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
}

body.catalog-page .wishlist-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

body.catalog-page .product-info {
  display: grid;
  gap: 6px;
}

body.catalog-page .product-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

body.catalog-page .product-info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

body.catalog-page .product-price {
  font-size: 13px;
  color: #f5f5f5;
}

body.catalog-page .product-desc {
  margin: 0;
  color: var(--catalog-muted);
  font-size: 12px;
  line-height: 1.5;
}

body.catalog-page .product-actions {
  margin-top: 0;
  display: grid;
  gap: 10px;
}

body.catalog-page .product-actions .availability {
  font-size: 11px;
  color: var(--catalog-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.catalog-page .product-actions .pill {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

body.catalog-page .product-actions .availability .pill {
  border-radius: 999px;
  border: 1px solid var(--catalog-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--catalog-muted);
}

body.catalog-page .product-actions .availability .pill-ok {
  background: rgba(69, 212, 138, 0.18);
  color: #7ff0b2;
  border-color: rgba(69, 212, 138, 0.45);
}

body.catalog-page .product-actions .availability .pill-warn {
  background: rgba(247, 198, 107, 0.18);
  color: #f7c66b;
  border-color: rgba(247, 198, 107, 0.45);
}

body.catalog-page .product-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body.catalog-page .product-actions .button {
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  padding: 9px 12px;
  box-shadow: none;
}

body.catalog-page .product-actions .button.primary {
  background: var(--catalog-accent);
  color: #0b0b0b;
  border: none;
  box-shadow: 0 12px 24px rgba(69, 212, 138, 0.3);
}

body.catalog-page .product-actions .button.ghost {
  background: transparent;
  color: #f5f5f5;
  border: 1px solid var(--catalog-border);
}

body.catalog-page .product-actions .button:hover {
  transform: none;
}

body.catalog-page .floating-cart {
  background: var(--catalog-accent);
  color: #0b0b0b;
  border: none;
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
}

body.catalog-page .floating-cart span:first-child {
  background: #0b0b0b;
  color: var(--catalog-accent);
  border-radius: 50%;
}

body.catalog-page .cart-drawer {
  background: #0f0f0f;
  border-left: 1px solid var(--catalog-border);
}

body.catalog-page .cart-line {
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes catalog-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .catalog-body {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body.catalog-page .floating-cart {
    display: inline-flex;
  }
}

@media (min-width: 721px) {
  body.catalog-page .floating-cart {
    display: none;
  }
}

@media (max-width: 640px) {
  .catalog-topbar {
    padding: 16px 20px;
    flex-wrap: wrap;
  }

  .catalog-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .catalog-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .catalog-body {
    padding: 18px 20px 36px;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    padding: 16px;
  }
}

@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cart-drawer {
    width: 100%;
  }
}

body.coach-ai-page {
  --coach-bg: #0b0b0b;
  --coach-panel: rgba(22, 22, 24, 0.72);
  --coach-panel-strong: rgba(15, 15, 16, 0.92);
  --coach-border: rgba(255, 255, 255, 0.16);
  --coach-muted: rgba(255, 255, 255, 0.62);
  --coach-accent: #f5f1e8;
  --coach-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.12), transparent 50%),
    radial-gradient(circle at 50% 60%, rgba(255, 255, 255, 0.06), transparent 65%),
    linear-gradient(180deg, #141414 0%, #0b0b0b 100%);
  color: var(--coach-accent);
}

body.coach-ai-page a {
  color: var(--coach-accent);
}

body.coach-ai-page .page-shell {
  max-width: none;
  padding: 0;
}

body.coach-ai-page main {
  margin: 0;
}

body.coach-ai-page .topbar,
body.coach-ai-page .footer {
  display: none;
}

.coach-ai-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 22px 36px 80px;
}

.coach-ai-shell::before {
  content: "";
  position: absolute;
  width: min(1150px, 130vw);
  height: min(1150px, 130vw);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 65%);
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.12), 0 0 70px rgba(0, 0, 0, 0.6);
  opacity: 0.9;
  z-index: 0;
}

.coach-ai-shell::after {
  content: "";
  position: absolute;
  width: min(1200px, 110vw);
  height: 240px;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.16) 35%, transparent 70%);
  filter: blur(8px);
  opacity: 0.65;
  z-index: 0;
}

.coach-ai-shell>* {
  position: relative;
  z-index: 1;
}

.coach-ai-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  animation: coach-fade 420ms ease both;
}

.coach-ai-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.coach-ai-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--coach-border);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.12) 60%, transparent 70%);
  font-size: 13px;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
  color: var(--coach-accent);
}

.coach-ai-brand-text {
  display: grid;
  gap: 2px;
}

.coach-ai-brand-name {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 11px;
}

.coach-ai-brand-sub {
  color: var(--coach-muted);
  font-size: 11px;
}

.coach-ai-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 10px;
  font-family: var(--font-display);
}

.coach-ai-links a {
  color: var(--coach-muted);
  padding: 4px 0;
}

.coach-ai-links a.active {
  color: var(--coach-accent);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.coach-ai-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.coach-ai-link {
  color: var(--coach-muted);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
}

.coach-ai-button {
  border: 1px solid var(--coach-border);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--coach-accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.coach-ai-button:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.coach-ai-hero {
  text-align: center;
  padding: 64px 24px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: coach-rise 480ms ease both;
  animation-delay: 80ms;
}

.coach-ai-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 10px;
  color: var(--coach-muted);
  font-family: var(--font-display);
}

.coach-ai-eyebrow-line {
  display: inline-block;
  width: 46px;
  height: 1px;
  background: rgba(255, 255, 255, 0.35);
}

.coach-ai-title {
  margin: 0;
  font-family: var(--font-coach-display);
  font-size: clamp(40px, 6vw, 78px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.coach-ai-subtitle {
  margin: 0;
  max-width: 620px;
  color: var(--coach-muted);
  font-size: 16px;
  line-height: 1.6;
}

.coach-ai-console {
  width: min(760px, 92vw);
  margin-top: 28px;
  background: var(--coach-panel);
  border: 1px solid var(--coach-border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--coach-shadow);
  backdrop-filter: blur(14px);
  display: grid;
  gap: 14px;
  animation: coach-rise 520ms ease both;
  animation-delay: 140ms;
}

.coach-ai-form {
  display: grid;
  gap: 12px;
}

.coach-ai-input-card {
  background: var(--coach-panel-strong);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px;
  display: grid;
  gap: 10px;
}

.coach-ai-input-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--coach-muted);
  font-family: var(--font-display);
}

.coach-ai-input-title {
  color: var(--coach-accent);
}

.coach-ai-input-card textarea {
  width: 100%;
  min-height: 86px;
  background: rgba(8, 8, 8, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px;
  color: var(--coach-accent);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
}

.coach-ai-input-card textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.coach-ai-input-card textarea:focus {
  outline: 1px solid rgba(255, 255, 255, 0.35);
  border-color: rgba(255, 255, 255, 0.35);
}

.coach-ai-input-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.coach-ai-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--coach-muted);
  background: rgba(255, 255, 255, 0.05);
}

.coach-ai-demo {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--coach-accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  cursor: pointer;
  transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;
}

.coach-ai-demo:hover {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32);
  transform: translateY(-1px);
}

.coach-ai-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 10, 0.6);
  padding: 10px 12px;
}

.coach-ai-footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--coach-muted);
  font-size: 12px;
}

.coach-ai-inbox {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 10px;
  color: var(--coach-accent);
}

.coach-ai-status {
  font-size: 12px;
  color: var(--coach-muted);
}

.coach-ai-run {
  border: none;
  border-radius: 10px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.92);
  color: #0b0b0b;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
  transition: box-shadow 120ms ease, transform 120ms ease;
}

.coach-ai-run:hover {
  box-shadow: 0 16px 34px rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
}

.coach-ai-response {
  display: none;
  border: 1px solid var(--coach-border);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(13, 13, 14, 0.8);
  color: var(--coach-accent);
}

.coach-ai-response.is-visible {
  display: grid;
  gap: 6px;
  animation: coach-rise 180ms ease;
}

.coach-ai-response.is-error {
  border-color: rgba(255, 120, 120, 0.4);
  color: #ffd1d1;
}

.coach-ai-response-title {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: var(--coach-muted);
}

.coach-ai-response-text {
  font-size: 14px;
  line-height: 1.6;
}

.coach-ai-demo-text {
  margin-top: 24px;
  color: var(--coach-muted);
  font-size: 14px;
}

.coach-ai-demo-text strong {
  color: var(--coach-accent);
  font-weight: 600;
}

@keyframes coach-fade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes coach-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .coach-ai-topbar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .coach-ai-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 16px;
  }

  .coach-ai-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .coach-ai-shell {
    padding: 18px 20px 60px;
  }

  .coach-ai-hero {
    padding: 50px 0 60px;
  }

  .coach-ai-title {
    font-size: clamp(34px, 9vw, 54px);
  }

  .coach-ai-input-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .coach-ai-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .coach-ai-run {
    width: 100%;
    text-align: center;
  }
}