/* ==========================================================================
   Vytal Research — premium visual system
   Inspired by apple.com: large confident type, generous whitespace,
   hairline dividers, glassy sticky nav, subtle scroll reveals.
   ========================================================================== */

:root {
  --bg: #1a1a1a;
  --bg-elevated: #202020;
  --bg-card: #202020;
  --fg: #ffffff;
  --muted: #9a9a9a;
  --muted-2: #6e6f71;
  --accent: #00a693;
  --accent-bright: #00c9a7;
  --hairline: rgba(255, 255, 255, 0.1);
  --hairline-strong: rgba(255, 255, 255, 0.16);
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, sans-serif;
  --sidebar-w: 264px;
}

* { box-sizing: border-box; }
::selection { background: var(--accent); color: #04231d; }

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--fg);
  text-decoration: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
a:hover { color: var(--accent); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--accent);
  color: #04231d;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 1000;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 16px; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
}

h1, h2, h3 { text-wrap: balance; font-family: var(--font-display); }
p { text-wrap: pretty; }

/* ---------------------------------- Logo mark ---------------------------------- */
.logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--fg);
  margin-bottom: 40px;
}
.logo-lockup:hover { color: var(--fg); }
.logo-lockup .logo-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--accent);
}
.logo-lockup .logo-mark svg { width: 100%; height: 100%; display: block; }
.logo-lockup .logo-word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-transform: uppercase;
}
.logo-lockup.compact { margin-bottom: 0; }
.logo-lockup.compact .logo-mark { width: 26px; height: 26px; }
.logo-lockup.compact .logo-word { display: flex; }

/* ---------------------------------- Sidebar ---------------------------------- */
.mobile-bar { display: none; }

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 190;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.sidebar-backdrop.open { display: block; opacity: 1; }

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  padding: 40px 24px 32px;
  border-right: 1px solid var(--hairline);
  background: var(--bg);
  overflow-y: auto;
  z-index: 200;
  display: flex;
  flex-direction: column;
}
.nav-group { margin-bottom: 30px; }
.nav-group .group-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
  padding: 0 10px;
}
.nav-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.nav-group a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}
.nav-group a:hover { background: rgba(255, 255, 255, 0.05); color: var(--fg); }
.nav-group a[aria-current="page"] {
  background: rgba(0, 166, 147, 0.14);
  color: var(--accent-bright);
}
.sidebar-footer { margin-top: auto; padding-top: 20px; }
.ruo-chip {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted-2);
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 6px 12px;
}

.content-area { min-height: 100vh; }

@media (min-width: 901px) {
  .content-area { margin-left: var(--sidebar-w); }
}

@media (max-width: 900px) {
  .mobile-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    height: 64px;
    padding: 0 20px;
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid var(--hairline);
    z-index: 150;
  }
  .nav-toggle {
    background: none;
    border: 1px solid var(--hairline-strong);
    color: var(--fg);
    border-radius: 10px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .sidebar {
    top: 0;
    padding-top: 84px;
    width: 84vw;
    max-width: 320px;
    transform: translateX(-100%);
    box-shadow: 24px 0 48px rgba(0, 0, 0, 0.45);
    transition: transform 0.3s var(--ease);
    overscroll-behavior: contain;
  }
  .sidebar.open { transform: translateX(0); }
  .sidebar .logo-lockup:not(.compact) { display: none; }
  .content-area { margin-left: 0; }
}

/* ---------------------------------- Buttons ---------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--fg);
  color: #0d0d0d;
  border: 1px solid var(--fg);
  padding: 13px 26px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border-radius: 999px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), opacity 0.2s var(--ease);
}
.button:hover { background: var(--accent); border-color: var(--accent); color: #04231d; transform: translateY(-1px); }
.button:active { transform: translateY(0); }
.button.ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--hairline-strong);
}
.button.ghost:hover { background: rgba(255,255,255,0.06); border-color: var(--fg); color: var(--fg); }
.button[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}
.link-arrow {
  color: var(--accent);
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.link-arrow:hover { gap: 8px; }
.link-arrow svg, .link-arrow .arrow { transition: transform 0.2s var(--ease); }

/* ---------------------------------- Hero ---------------------------------- */
.hero {
  padding: 120px 0 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
@media (max-width: 900px) {
  .hero { padding: 80px 0 72px; }
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background: radial-gradient(ellipse at center, rgba(0, 201, 167, 0.16), transparent 70%);
  pointer-events: none;
}
.eyebrow {
  font-family: var(--font-display);
  display: inline-block;
  color: var(--accent-bright);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 24px;
}
.hero p.lede {
  max-width: 620px;
  margin: 0 auto 40px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.5;
}
.hero .cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---------------------------------- Sections / reveal ---------------------------------- */
section.band {
  padding: 96px 0;
  border-top: 1px solid var(--hairline);
}
.section-header {
  margin-bottom: 48px;
  max-width: 640px;
}
.section-header .eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.section-header h2 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.section-header p {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0;
}
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: transform, opacity;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------------------------------- Feature grid (trust badges) ---------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 780px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.feature-grid .feature {
  background: var(--bg-elevated);
  padding: 40px 32px;
}
.feature .feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 201, 167, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.1rem;
  font-weight: 700;
}
.feature h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  letter-spacing: -0.01em;
}
.feature p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------------------------------- Product grid ---------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr; }
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 20px 20px 24px;
  display: block;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--hairline-strong);
}
.product-card .thumb {
  border-radius: calc(var(--radius) - 8px);
  overflow: hidden;
  background: #101010;
  margin-bottom: 18px;
  aspect-ratio: 1 / 1;
}
.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--fg);
}
.product-card .price {
  color: var(--muted);
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.product-card:hover h3 { color: var(--accent); }

/* ---------------------------------- Collection / static pages ---------------------------------- */
.page-hero {
  padding: 88px 0 56px;
  border-bottom: 1px solid var(--hairline);
}
.page-hero .eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 14px;
}
.page-hero h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  max-width: 760px;
}
.page-hero .rte {
  max-width: 640px;
  font-size: 1.05rem;
}

.collection-products { padding-top: 64px; padding-bottom: 96px; }
.empty {
  color: var(--muted);
  font-style: italic;
  padding: 48px 0;
  border: 1px dashed var(--hairline-strong);
  border-radius: var(--radius);
  text-align: center;
}

.static-page { padding-top: 88px; padding-bottom: 96px; }
.static-page h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  max-width: 760px;
}

.rte { color: var(--muted); max-width: 720px; font-size: 1.02rem; }
.rte h2, .rte h3 {
  color: var(--fg);
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.rte h2 { font-size: 1.5rem; }
.rte h3 { font-size: 1.2rem; }
.rte a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.rte hr { border: none; border-top: 1px solid var(--hairline); margin: 32px 0; }

/* ---------------------------------- Product page ---------------------------------- */
.product-page { padding-top: 88px; padding-bottom: 96px; }
.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) {
  .product-layout { grid-template-columns: 1fr; gap: 40px; }
}
.product-gallery {
  position: sticky;
  top: 32px;
}
.product-gallery.single {
  max-width: 100%;
}
.product-gallery .frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  aspect-ratio: 1 / 1;
}
.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 860px) {
  .product-gallery { position: static; max-width: 420px; }
}

.product-details .eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}
.product-details h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.badge {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent-bright);
  background: rgba(0, 166, 147, 0.12);
  border: 1px solid rgba(0, 166, 147, 0.3);
  border-radius: 999px;
  padding: 5px 12px;
}
.product-details .price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.product-details .price {
  font-size: 1.5rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.product-details .variant { color: var(--muted); font-size: 0.95rem; }
.variant-selector { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.variant-option {
  border: 1px solid var(--hairline-strong);
  background: var(--bg-card);
  color: var(--fg);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.variant-option:hover { border-color: var(--accent-bright); }
.variant-option.selected {
  border-color: var(--accent-bright);
  background: var(--accent-bright);
  color: #06110f;
}
.stock-status {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.stock-in { background: rgba(0, 166, 147, 0.15); color: var(--accent-bright); }
.stock-out { background: rgba(220, 80, 80, 0.15); color: #e08080; }
.product-details .sku {
  color: var(--muted-2);
  font-size: 0.82rem;
  margin-bottom: 28px;
  font-variant-numeric: tabular-nums;
}
.product-details .button { width: 100%; justify-content: center; margin-bottom: 12px; }
.product-details .button.button-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.product-details .checkout-note {
  color: var(--muted-2);
  font-size: 0.82rem;
  margin-bottom: 36px;
}
.fda-disclaimer {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
  padding: 12px 16px;
  margin: -20px 0 36px;
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
}

.spec-list {
  list-style: none;
  margin: 0 0 36px;
  padding: 0;
  border-top: 1px solid var(--hairline);
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.92rem;
}
.spec-list .label { color: var(--muted); }
.spec-list .value { text-align: right; font-variant-numeric: tabular-nums; }

details.rte-details {
  border-top: 1px solid var(--hairline);
  padding: 18px 0;
}
details.rte-details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  touch-action: manipulation;
}
details.rte-details summary::-webkit-details-marker { display: none; }
details.rte-details summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--muted);
  transition: transform 0.25s var(--ease);
  font-weight: 400;
}
details.rte-details[open] summary::after { transform: rotate(45deg); }
details.rte-details .rte { margin-top: 16px; max-width: none; }

/* ---------------------------------- Footer ---------------------------------- */
.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 56px 0 64px;
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.ruo-disclaimer {
  font-style: italic;
  margin: 0 0 8px;
  color: var(--muted-2);
  max-width: 480px;
}
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.footer-legal-links { margin-top: 8px; font-size: 0.8rem; }

/* ---------------------------------- Order form ---------------------------------- */
.order-page { padding-top: 88px; padding-bottom: 96px; max-width: 640px; }
.order-page h1 {
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.order-page > .rte { margin-bottom: 40px; }

.order-form { display: flex; flex-direction: column; gap: 20px; }
.form-section-label {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--fg);
  margin: 20px 0 -4px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.field .label-like { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.admin-collection-checks { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.admin-collection-checks label { display: flex; align-items: center; gap: 6px; font-size: 0.88rem; color: var(--fg); font-weight: 400; }
.admin-collection-checks input { width: auto; }
.field input,
.field select,
.field textarea {
  background: var(--bg-card);
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--fg);
  font-family: inherit;
  font-size: 0.95rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row.three { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 560px) {
  .field-row, .field-row.three { grid-template-columns: 1fr; }
}
.total-breakdown {
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 14px 16px;
  gap: 8px;
}
.total-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.92rem;
  color: var(--muted);
}
.total-row span:last-child { font-variant-numeric: tabular-nums; }
.total-row-final {
  color: var(--fg);
  font-weight: 600;
  font-size: 1.05rem;
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}
.tax-disclaimer { color: var(--muted-2); font-size: 0.78rem; margin: -8px 0 0; }

.payment-options { display: flex; gap: 12px; flex-wrap: wrap; }
.payment-option {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 0.9rem;
}
.payment-option:has(input:checked) { border-color: var(--accent); color: var(--accent-bright); }
.payment-detail { color: var(--muted); font-size: 0.88rem; min-height: 1.2em; }
.payment-note {
  color: var(--accent-bright);
  background: rgba(0, 166, 147, 0.1);
  border: 1px solid rgba(0, 166, 147, 0.3);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.85rem;
  margin: 0;
}
.payment-note span { font-weight: 600; }
.order-status { font-size: 0.92rem; min-height: 1.2em; }

/* ---------------------------------- Account / admin ---------------------------------- */
.account-page, .admin-page { padding-top: 88px; padding-bottom: 96px; max-width: 760px; }
.form-section-label.no-rule { border-top: none; padding-top: 0; margin-top: 0; }

.auth-form { max-width: 420px; }
.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
}
.consent-checkbox input { margin-top: 3px; flex-shrink: 0; }
.consent-checkbox a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.consent-checkbox a:hover { color: var(--accent); }
.auth-switch { color: var(--muted); font-size: 0.9rem; margin-top: 16px; }
.auth-switch a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.account-welcome { color: var(--muted); margin-bottom: 24px; }

.account-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.verify-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  background: rgba(255, 200, 80, 0.1);
  border: 1px solid rgba(255, 200, 80, 0.3);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--fg);
}
.link-button {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
  font: inherit;
  cursor: pointer;
}

.points-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 20px 24px;
}
.points-card .label { display: block; color: var(--muted); font-size: 0.82rem; margin-bottom: 4px; }
.points-value { font-family: var(--font-display); font-size: 2rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.redeem-form { display: flex; gap: 8px; }
.redeem-form input {
  background: var(--bg);
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--fg);
  font-family: inherit;
  width: 140px;
}

.orders-table-wrap { overflow-x: auto; margin: 20px 0 12px; }
.orders-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.orders-table th {
  text-align: left;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0 12px 10px;
  border-bottom: 1px solid var(--hairline-strong);
}
.orders-table td { padding: 12px; border-bottom: 1px solid var(--hairline); vertical-align: middle; }
.orders-table td.empty { color: var(--muted); font-style: italic; text-align: center; }
.muted-small { color: var(--muted-2); font-size: 0.78rem; }

.status-pill {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.78rem;
  font-weight: 600;
}
.status-pending { background: rgba(255, 255, 255, 0.08); color: var(--muted); }
.status-shipped { background: rgba(0, 166, 147, 0.15); color: var(--accent-bright); }
.status-cancelled { background: rgba(220, 80, 80, 0.15); color: #e08080; }

.cart-table-wrap { overflow-x: auto; margin: 20px 0 32px; }
.cart-table .cart-qty {
  width: 64px;
  background: var(--bg);
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  padding: 6px 8px;
  color: var(--fg);
  font-family: inherit;
  font-size: 0.85rem;
}

.add-to-cart-row { display: flex; gap: 10px; margin-bottom: 12px; }
.add-to-cart-row input {
  width: 72px;
  background: var(--bg);
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--fg);
  font-family: inherit;
}
.add-to-cart-row .button { flex: 1; }

.admin-orders-table input, .admin-orders-table select,
.admin-redemptions-table input, .admin-redemptions-table select {
  background: var(--bg);
  border: 1px solid var(--hairline-strong);
  border-radius: 8px;
  padding: 6px 8px;
  color: var(--fg);
  font-family: inherit;
  font-size: 0.85rem;
  width: 100%;
}

.admin-orders-table td:first-child, .admin-orders-table th:first-child { width: 1%; padding-right: 0; }
.admin-orders-table input[type="checkbox"] { width: auto; }

.admin-bulk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
}
.admin-bulk-bar #admin-bulk-batch {
  background: var(--bg);
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  padding: 8px 12px;
  color: var(--fg);
  font-family: inherit;
  width: 140px;
}
.admin-bulk-bar .button:disabled { opacity: 0.4; cursor: not-allowed; }
.admin-bulk-danger { border-color: rgba(220, 80, 80, 0.4); color: #e08080; }
.admin-bulk-danger:hover:not(:disabled) { background: rgba(220, 80, 80, 0.12); border-color: #e08080; color: #e08080; }
